import React, { RefObject } from "react"; import { FieldConfig, EditStatus } from "../tmpl/interface"; import { FormInstance } from "antd/lib/form/hooks/useForm"; import { LocaleContext } from "../locale/LocaleProvider"; export interface FieldGroupProps { serverKey?: string; fields: FieldConfig[]; nameAttr?: string; valueMap: object; width?: number; maxColsOnRow?: number; mainCode?: string; formRef?: RefObject; dataCode?: string; layout?: "horizontal" | "vertical"; valueFieldMap?: { [key: string]: any; }; editStatus?: EditStatus; audit?: { dataCode: string; isAudit: boolean; auditMap?: object; changeFields?: string[]; }; } interface FieldGroupState { fileList?: any; } export default class FormItemGroup extends React.PureComponent { static defaultProps: { nameAttr: string; maxColsOnRow: number; audit: { isAudit: 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; constructor(props: any); isPromise: (obj: any) => boolean; getMainCode: (item: FieldConfig, mainCode: any) => any; getFieldConfig: (item: FieldConfig) => FieldConfig; initFormItem: (fieldConfig: FieldConfig, fieldValue: any) => React.JSX.Element; initFormList: () => React.JSX.Element; render(): React.JSX.Element; } export {}; //# sourceMappingURL=form-Item-group.d.ts.map