import type { DataSourceInfo, FieldData } from '@/types'; export interface Rule { max?: number; type?: string; } export interface SelectedCompProps { dataSourceInfo?: DataSourceInfo; [key: string]: any; } export interface DataFieldFillProps { name: string; selectedComp: { type: string; props: SelectedCompProps; }; boxName: string; tip?: string; multiple?: boolean; rules?: Rule[]; value: FieldData[]; onChange?: (data: FieldData[]) => void; isSetAggregateType?: boolean; dataFieldType?: 'dimension' | 'indicators'; isSetDataField?: boolean; showCondition?: { conditionPropsName: string; clearPropsName: string; length: number; }; dataTypeWhiteList?: { list: string[]; errorTip: string; }; comTypeWhiteList?: { list: string[]; errorTip: string; }; comTypeBlacklist?: { list: string[]; errorTip: string; }; DSLCore?: any; } export interface DataFieldPropSetModalProps { visible: boolean; onOk: (data: FieldData) => void; onCancel: () => void; fieldData: FieldData; dataFieldType?: 'dimension' | 'indicators'; isSetAggregateType?: boolean; isOrderType?: boolean; }