import { FieldConfigs } from '../'; import { GroupFieldConfig, IGroupField } from '.'; import { Display, DisplayProps } from '../common'; import { IFormItem } from '../../../steps/form'; interface IGroupFieldState { didMount: boolean; } export default class GroupField extends Display { getALLComponents: (type: any) => typeof Display; formFields: Array | null>; formFieldsMounted: Array; constructor(props: DisplayProps); didMount: () => Promise; get: () => Promise; handleMount: (formFieldIndex: number) => Promise; handleValueSet: (formFieldIndex: number, path: string, value: any, options?: { noPathCombination?: boolean; }) => Promise; handleValueUnset: (formFieldIndex: number, path: string, options?: { noPathCombination?: boolean; }) => Promise; handleValueListAppend: (formFieldIndex: number, path: string, value: any, options?: { noPathCombination?: boolean; }) => Promise; handleValueListSplice: (formFieldIndex: number, path: string, index: number, count: number, options?: { noPathCombination?: boolean; }) => Promise; renderComponent: (props: IGroupField) => JSX.Element; /** * 表单项组件 - UI渲染方法 * 各UI库需重写该方法 * @param props */ renderItemComponent: (props: IFormItem) => JSX.Element; render: () => JSX.Element; } export {};