import{r as d,o as _,c as u,v as o,x as v,O as h,n as t,p as r,aH as m,aI as p,D as y}from"./index.8d733f79.js";import{t as g}from"./index.26573f78.js";import C from"./pointTabContent.13f5462f.js";import x from"./factoryContent.fed6473d.js";import{u as D}from"./useResizable.daebc0f4.js";import"./el-text.54dc8292.js";import"./deviceTree.170dfbd9.js";import"./searchStore.0c98fb50.js";import"./el-tab-pane.27bff4fc.js";import"./absAlarm.3bfe390c.js";import"./el-input-number.60463ef8.js";import"./index.28f6da25.js";import"./setValue.1d09ba51.js";import"./el-date-picker-panel.089dbe6d.js";import"./panel-time-pick.b2dd8e75.js";import"./dialogContent.8cf6deaf.js";import"./chartTrend.c3888dfe.js";import"./deviceAnalysis.ce7ce4e7.js";import"./applyModal.ed6f4c23.js";import"./changeRateAlarm.729a754f.js";import"./chartChangeRateOrTrend.099c4326.js";import"./trendAlarm.907145a1.js";import"./divideBandAlarm.cf9023a4.js";import"./spectrumChart.b3e35fb1.js";import"./tiltAngleAlarm.3572ab3d.js";import"./setInterval.4e5cd350.js";import"./importModal.a0ec44fd.js";import"./el-progress.ee3fa77d.js";import"./exportModal.3b4c72e0.js";import"./changeLog.1356ed9b.js";import"./index.e4159d81.js";import"./el-time-picker.51cf6389.js";const w={class:"page-content"},R={class:"page-title"},S={class:"alarm-main"},b={class:"right"},nt={__name:"index",setup(k){const{width:l,startDrag:s}=D(),{proxy:n}=y(),i=d(),c=e=>{i.value=e.level,e.level===3&&setTimeout(()=>{n.$refs.pointTabContentRef.initData(e)},0),e.level===0&&setTimeout(()=>{n.$refs.factoryContentRef.initData(e)},0)};return(e,a)=>(_(),u("div",w,[o("div",R,v(e.$t("alarmSet")),1),o("div",S,[o("div",{class:"left",style:h({width:t(l)+"px"})},[o("div",{class:"drag-handle",onMousedown:a[0]||(a[0]=(...f)=>t(s)&&t(s)(...f))},null,32),r(t(g),{onClickNode:c})],4),o("div",b,[m(r(t(C),{ref:"pointTabContentRef"},null,512),[[p,t(i)===3]]),m(r(t(x),{ref:"factoryContentRef"},null,512),[[p,t(i)===0]])])])]))}};export{nt as default};
