import{a5 as m,r as s,o as f,y as b,q as r,p as o,n as i,s as h,cp as w,cq as g,bv as v}from"./index.8d733f79.js";import{T as M}from"./deviceTree.170dfbd9.js";const T=m({name:"PointDetail"}),D=Object.assign(T,{setup(V,{expose:p}){const l=s([]),e=s(!1);function d(t){e.value=!0,M({pointId:t.id}).then(a=>{l.value=a.data})}return p({showModal:d}),(t,a)=>{const n=w,u=g,c=v;return f(),b(c,{title:"\u6307\u6807\u5BF9\u5E94\u5173\u7CFB",modelValue:i(e),"onUpdate:modelValue":a[0]||(a[0]=_=>h(e)?e.value=_:null),width:"600px","align-center":!0,"append-to-body":""},{default:r(()=>[o(u,{ref:"refTable",data:i(l),"max-height":"475"},{default:r(()=>[o(n,{label:t.$t("pointMetric"),prop:"pointIndicator"},null,8,["label"]),o(n,{label:t.$t("sensorMetric"),prop:"sensorIndicator","show-overflow-tooltip":!0},null,8,["label"])]),_:1},8,["data"])]),_:1},8,["modelValue"])}}});export{D as default};
