import { SearchValue, UserDrillParamsProp } from '../../types'; export declare namespace EventProps { interface Props { /** * @description 默认查询值 */ defaultValue?: Value; /** * @description 看板是否可禁用, true禁用 */ panelDisabled?: boolean; /** * @description 是否包含今天 * @default false */ includeToday?: boolean; /** * @description 添加数据报告 */ afterEditTarget?: (type: string, value?: any) => void; /** * @description 用户钻取 */ onUserDrill?: (data: UserDrillParamsProp, searchData: SearchValue) => void; /** * @description 设置流失预警 */ onLossWarning?: (id: number) => void; /** * @description 预警流失按钮,是否展示 true 展示 */ showWarning?: boolean; /** * @description 是否允许生成数据报告 */ enableGenerateReport?: boolean; /** * @description 抛出实时的查询参数 */ onChange?: (data: Value | undefined) => void; /** * 信贷事件回调, * type事件类型 */ onAction?: (type: string, data: {}) => void; } interface Value { /** * 看板id */ panelId?: number; /** * 看板操作类型 */ panelType?: 'edit' | 'add'; /** * 来源模块 */ source?: string; /** * 信贷分析看板名称 */ name?: string; /** * 信贷分析看板id */ id?: number; /** * 查询参数 */ data?: SearchValue; /** * 展示列表 */ chosen_data?: string[]; /** * 其他属性 */ [props: string]: any; } interface ColumnsDataType { color?: string; eventName?: string; id: number; dimension?: string; name: string; nameGroup: string; isExtra?: number; children?: ColumnsDataType[]; [x: string]: any; } }