import { AttrConditionTypes } from '@zgfe/business-lib'; import { bizAttributeSelectorValueProp, SearchValue } from '../../types'; import SubjectTypes from '@zgfe/business-lib/es/hooks/types/subject'; export declare enum AnalysisMode { common = "commonInterval", firstAndLast = "firstLastInterval" } export interface start { eventId?: number; id?: number; name?: string; relevancy?: boolean; filters?: AttrConditionTypes.GroupValue; } export interface FormDataProps { /** * 用户群 */ userGroup?: any[]; /** * 事件、属性、属性细分 */ start?: start; end?: start; /** * @description 关联属性开关 */ relevancy?: boolean; dimension?: bizAttributeSelectorValueProp; associatedPreAttr?: bizAttributeSelectorValueProp; associatedNextAttr?: bizAttributeSelectorValueProp; analysisSubject?: SubjectTypes.Subject; } export interface FormHandelDataProps extends start { /** * 用户群 */ userGroup?: number[]; } export interface TopPanelProps { /** * 默认值 */ defaultValue?: SearchValue; loading?: boolean; /** * 数据更新 */ onChange: (data: SearchValue, flag: boolean) => void; /** * 请求后的最新查询数据 */ finalSearchData?: SearchValue; collapseRef?: any; }