import { ChartTypes } from '@zgfe/business-lib/es/chart/types'; import { ResponseDataProps } from '../../types'; import { EventProps } from '../../modules/home/types'; export declare namespace eventChartProps { interface ChartTypesProps extends ChartTypes.Value { xAxis: string[]; delEventName?: string[]; } interface Props { /** * 图表数据 */ dataSource?: ChartTypesProps; /** * 表格显示的额外数据(信贷场景特殊情况) */ eventExtraData?: ResponseDataProps; /** * 查询条件 */ params?: { filterCardConditions: { dimension: { label: string; id: number; }; id: number; name: string; }[]; filterConditions: { dimension: { label: string; id: number; }; id: number; name: string; }[]; time: { unit: string; }; appId: number; platform: number; userGroup: (number | string[])[]; showList: string[]; showChart: [string, string]; }; /** * 展示图标类型,不从查询条件中取 */ type?: string; /** * 展示列表 */ showList?: string[]; /** * 图标颜色 */ showColors?: string[]; /** * 改变显示内容 */ onChangeShow?: (data: string[]) => void; /** * 表格点击人数单元格触发的回调事件, * type: 事件类型 saveUserGroups-保存用户群, viewUserGroups-查看用户群 * item: 数据 * time: 时间 */ onClickItemBtn?: (type: string, item: EventProps.ColumnsDataType, time: string) => void; /** * 下载 */ onDownload?: () => void; getUserNumberParams?: any; /** * 是否隐藏删除提示 */ isHideDel?: boolean; } }