export interface FTableSelfProps { } export type ValueEnumItem = string | { text: string; value?: any; disabled?: boolean; status?: "info" | "success" | "primary" | "danger" | "warning"; color?: string; }; export type ValueEnum = Record; export interface ColumnConfig { prop?: string; label?: string; width?: number | string; hidden?: boolean; editable?: boolean; formType?: string; formProps?: any; valueEnum?: ValueEnum | ((entity?: any) => ValueEnum); options?: Array<{ value: any; label: string; }>; formatter?: (row: any, column: any, value: any) => string; joinSeparator?: string; joinFormatter?: (values: string[], column: any) => string; } export type FTableProps = FTableSelfProps;