import{a5 as b,b as _,r,o as f,y as h,q as d,p as l,n as u,s as v,cp as g,cq as I,bv as N}from"./index.8d733f79.js";import{F as T}from"./deviceAnalysis.ce7ce4e7.js";const w=b({name:"PositionMapModal"}),V=Object.assign(w,{setup(M,{expose:m}){_();const a=r(!1),p=r([]);function c(e){const{pointId:o,time:t,deviceId:n}=e;a.value=!0;const s={deviceId:Number(n),pointId:Number(o),samplingTime:t};T(s).then(i=>{p.value=i.data})}return m({showModal:c}),(e,o)=>{const t=g,n=I,s=N;return f(),h(s,{title:e.$t("otherPointRotate"),modelValue:u(a),"onUpdate:modelValue":o[0]||(o[0]=i=>v(a)?a.value=i:null),width:"700px","align-center":!0},{default:d(()=>[l(n,{ref:"tableRef",data:u(p)},{default:d(()=>[l(t,{label:e.$t("pointName"),prop:"pointName"},null,8,["label"]),l(t,{label:e.$t("rotateUnit"),prop:"rotateSpeed"},null,8,["label"]),l(t,{label:e.$t("rotateTime"),prop:"rotateSpeedTime"},null,8,["label"])]),_:1},8,["data"])]),_:1},8,["title","modelValue"])}}});export{V as default};
