import{cF as r}from"./index.8d733f79.js";const i=r("search",{state:()=>({searchConditions:{},aiAlarmTab:"",autoAlarmTab:"",alarmTree:{textKey:"",clickNode:"",clickTab:""},chartTree:{textKey:"",clickNode:"",clickTreeNode:"",clickPointTab:"",clickDeviceTab:"",treeType:""},jumpAlarmQuery:null}),actions:{setSearchCondition(e,t){this.searchConditions[e]={...t}},getSearchCondition(e,t){return this.searchConditions[e]||{...t}},clearSearchCondition(e){this.searchConditions[e]&&delete this.searchConditions[e]},setAiAlarmTab(e){this.aiAlarmTab=e},setAutoAlarmTab(e){this.autoAlarmTab=e},setAlarmTree(e){this.alarmTree={...this.alarmTree,...e}},setChartTree(e){this.chartTree={...this.chartTree,...e}},resetChartTree(){this.chartTree.textKey="",this.chartTree.clickNode="",this.chartTree.clickTreeNode="",this.chartTree.clickPointTab="",this.chartTree.clickDeviceTab=""},setJumpAlarmQuery(e){this.jumpAlarmQuery=e}}});export{i as u};
