@bos-alpha/data
Version:
数据管理
26 lines (25 loc) • 663 B
TypeScript
export declare const radioOptions: {
value: string;
label: string;
}[];
declare type FieldOption = {
label: string;
value: string;
children?: any[];
};
export interface Props {
isReset?: number;
type: 'doc' | 'edge';
buttonType?: 'primary' | 'default';
classDefined: any;
fieldOptions: FieldOption[];
onQuery: (list: any[]) => void;
}
/**
*
* @param {fieldOptions} 键值下拉选项{ label, value }[]
* @param {onQuery} 提交搜索 { field, logic, operator, value }[]
* @returns
*/
export declare const ConditionCreator: ({ isReset, type, classDefined, fieldOptions, onQuery }: Props) => JSX.Element;
export {};