import { IDictionary } from "../typeDefinition"; import { LocationDescriptorObject } from "history"; export interface IEvent { /** 调用页面方法 */ page?: IEventParams; /** 调用逻辑页内部方法 */ logic?: IEventParams; /** 调用模板页内部方法 */ template?: IEventParams; /** 调用平台路由自带方法 */ history?: IEventParams; } export declare type IHistoryFn = "push" | "replace" | "go" | "goBack" | "goForward"; export declare type IHistoryParams = LocationDescriptorObject | number | undefined; export interface IEventParams { /** 函数名称 */ fn: T; /** 传递给函数的参数 */ params?: P; } /** * 表单子控件事件集合基类 */ export interface FromItemEvents { /** * 控件校验事件 */ valid?: IEvent[]; /** * 值更改事件 */ valueChange?: IEvent[]; }