import{a5 as b,r,o as v,y as w,q as a,v as h,p as o,P as g,x as V,n as c,s as k,cp as x,cq as y,l as C,bv as $}from"./index.8d733f79.js";const B={class:"dialog-footer"},D=b({name:"DomainIndicator"}),N=Object.assign(D,{setup(E,{expose:u}){const l=r(!1),t=r([]);function d(e){t.value=e||[],l.value=!0}function s(){t.value=[],l.value=!1}return u({showModal:d}),(e,i)=>{const n=x,p=y,f=C,m=$;return v(),w(m,{title:e.$t("timeDomainMetric"),modelValue:c(l),"onUpdate:modelValue":i[0]||(i[0]=_=>k(l)?l.value=_:null),width:"640px","align-center":!0,onClose:s},{footer:a(()=>[h("div",B,[o(f,{onClick:s},{default:a(()=>[g(V(e.$t("cancel")),1)]),_:1})])]),default:a(()=>[o(p,{ref:"peakTableRef",data:c(t),"row-key":"x","highlight-current-row":"",style:{"z-index":"999"}},{default:a(()=>[o(n,{label:e.$t("index"),width:"64",type:"index"},null,8,["label"]),o(n,{label:e.$t("metricName"),prop:"name","show-overflow-tooltip":""},null,8,["label"]),o(n,{label:e.$t("metricVal"),prop:"value","show-overflow-tooltip":""},null,8,["label"])]),_:1},8,["data"])]),_:1},8,["title","modelValue"])}}});export{N as default};
