import type { FormProps } from 'element-plus'; import type { Mutable } from 'element-plus/es/utils'; export interface FormOpts { formData: Record; rules?: Record; fieldList: Array; operatorList?: Array<{ label: string; fun: Function; bind?: Record; isHideBtn?: boolean; render?: Function; }>; listTypeInfo?: Record; labelWidth?: string; btnSlotName?: string; labelPosition?: "left" | "right" | "top"; } export interface TFormSelfProps { className?: string; formOpts: FormOpts; widthSize?: 1 | 2 | 3 | 4 | 5 | 6; labelPosition?: "left" | "right" | "top"; isTrim?: boolean; } export type TFormProps = TFormSelfProps & Partial>;