import React__default from 'react'; interface IDynamicItem { key: string; label?: React__default.ReactNode; disabled?: boolean; checked?: boolean; children?: IDynamicItem[]; indexs?: number[]; filter?: IFilter; isDimension?: boolean; dimensionPriority?: number; /** 维度优先级分组,同组内遵循 dimensionPriority,跨组不比较 */ dimensionGroup?: string; dimensionExclusive?: string; /** 维度依赖关系配置 */ dimensionDependencies?: { /** AND关系:必须全部依赖这些字段 */ required?: string[]; /** OR关系:至少依赖其中一个 */ anyOf?: string[]; }; isDimensionSum?: boolean; [props: string]: any; } interface IFilter { input?: string; checkbox?: React__default.Key[]; } interface IDynamicSettingProps { parentDynamicKey: string; dynamicKey: string; defaultList: IDynamicItem[]; onCurrentListChange?: (currentList: IDynamicItem[]) => void; children?: JSX.Element; title?: string; hiddenOperationIcon?: boolean; isMore?: boolean; isFixed?: boolean; isDimensionDynamic?: boolean; isTemplateSetting?: boolean; /** * 模板设置的表名 */ storeName?: string; } interface IRef { getCurrentDynamicList: (list: IDynamicItem[]) => IDynamicItem[]; setList: React__default.Dispatch>; setVisible: (v: boolean) => void; updateList: (list: any) => void; resetList: () => void; } export { IDynamicItem, IDynamicSettingProps, IFilter, IRef };