import React from "react"; import { FormInstance } from "antd"; import { DtmplData, FieldGroupConfig } from "../../tmpl/interface"; import { ButtonType } from "antd/es/button"; import { LocaleContext } from "../../locale/LocaleProvider"; interface RowEditCardProps { serverKey?: string; height?: any; onCancel?: () => void; onOk: (value: DtmplData, hidden: boolean) => void; fieldGroupConfig: FieldGroupConfig; dtmplData?: DtmplData; okButtonType?: ButtonType; okDanger?: boolean; needConfirm?: boolean; } interface RowEditCardState { isAdded?: boolean; } export default class PopoverEditCard extends React.PureComponent { formRef: React.RefObject>; static defaultProps: { forceRender: boolean; style: { maxWidth: string; maxHeight: string; }; needConfirm: boolean; okButtonType: string; okDanger: boolean; }; state: { isAdded: boolean; }; static contextType: React.Context<{ locale: import("../../locale/langMp").LocaleType; langPkg: any; availableLang: string[]; changeLocale: (locale: import("../../locale/langMp").LocaleType) => void; siderCollapsed: boolean; changeSiderCollapsed: () => void; t: (...strs: string[]) => string; translate: (...strs: string[]) => string; getServiceLangStr?: () => string; compactTheme?: boolean; changeCompactTheme?: () => void; screenfull?: boolean; changeScreenfull?: () => void; }>; context: React.ContextType; componentDidMount(): Promise; componentDidUpdate(): Promise; reset: () => void; onOk: () => void; add: () => void; getTitle: () => string; render(): React.JSX.Element; } export {}; //# sourceMappingURL=popover-edit-card.d.ts.map