import { DomService, WebCmdService, EventEditorService } from '@farris/designer-services'; import { actions } from './interface'; export declare class EventsEditorFuncUtils { constructor(); /** 初始传入值 */ static formProperties(eventEditorService: any, formBasicService: any, domService: any, webCmdService: any, propertyData: any, viewModelId: any, eventList: any, switchEvents?: (propertyData: any, eventList: any) => {}): { propertyID: any; propertyType: string; /** 内置构件显示的命令列表 */ internalCommandList: any; /** (事件设定)可绑定事件默认列表; */ events: any; /** 已绑定的事件(拼接已有的参数值,拼接当前事件->待集成-从dom结构中取值,事件及对应的字符串) */ boundEventsList: any; /** 视图模型已有命令 */ viewModel: any; /** 目标组件对应的所有可选的组件 */ componentLists: any[]; /** 所有组件列表 */ allComponentList: any; /** 接收this.formBasicService.formMetaBasicInfo.relativePath */ relativePath: any; /** 接收this.formBasicService.envType */ envType: any; /** 初始为空,用于存储用户点击「导入新命令」的控制器值 */ newController: any[]; isAddControllerMethod: boolean; /** 开关控制类按钮的回调函数 */ getEventList: () => { internalCommandList: any[]; events: any; boundEventsList: any; }; /** 获取事件的路径 */ getEventPath: () => any; }[]; /** 事件编辑器传出值处理 */ static saveRelatedParameters(eventEditorService: EventEditorService, domService: DomService, webCmdService: WebCmdService, propertyData: any, viewModelId: string, eventList: any, parameters: any): void; /** 目标组件规则判定 */ static getcomponentLists(domService: any, viewModelId: any): any[]; /** 根据返回值整合为actions结构 */ static formActionsStructure(eventEditorService: any, data: any, parameters: any): actions; /** 增删改组件dom中事件绑定值 */ static eventsValueChanged(data: any, actions: any, eventList: any, domService: any): void; /** 更新dom中的acions节点 */ static domActionsChanged(domService: any, actions: any): any; /** 删除viewModel中冗余的命令 */ static delViewModelCommand(domService: any, parameters: any, domActions: any): void; /** 检测是否在组件声明中声明过该命令,若有声明,则不删除 */ static checkIfDelViewModelCommand(domService: any, vmCommandsItem: any): boolean; /** 更新dom中的webcmds节点 */ static domWebcmdChanged(domService: any, parameters: any): void; /** 更新函数中获取到的webcmds*/ static functionWebcmdsChanged(webCmdService: any, parameters: any): void; /** 删除事件时同时移除actions对应节点 */ static delActionItem(id: any, eventLabel: any, domService: any): void; /** 存在重复被使用的「已绑定命令」,则更新actions节点 */ static repititionCommandExist(domService: any, parameters: any, propertyData: any): void; /** 开关控制类按钮的回调函数 */ static refreshEventsAndCommandList(webCmdService: any, propertyData: any, commandList: any[], viewModelId: any, allComponentList: any, eventList: any, switchEvents?: (propertyData: any, eventList: any) => {}): { internalCommandList: any[]; events: any; boundEventsList: any; }; }