import{d as f,ae as m,aF as _,f as o,G as v,c as r,g as c,h as b,t as h,o as s,j as k,k as n,c$ as y,x,d0 as C,d1 as g,F as V,a as F}from"./index-BqDjVCF_.js";import{u as B}from"./usePageTitle-CZh_IXm2.js";const j=f({__name:"Variables",setup(E){const l=m(),a=()=>{var e;t.value.refresh(),(e=l.value)==null||e.refreshSubscriptions()},u=_(),t=o(()=>h(u.variables.getVariablesV2)),p=o(()=>{var e;return t.value.executed&&((e=t.value.response)==null?void 0:e.length)===0}),i=o(()=>t.value.executed);return B(v.info.variables),(e,N)=>{const d=b("p-layout-default");return s(),r(d,{class:"variables"},{header:c(()=>[k(n(y),{onCreate:a})]),default:c(()=>[i.value?(s(),x(V,{key:0},[p.value?(s(),r(n(C),{key:0,onCreate:a})):(s(),r(n(g),{key:1,ref_key:"table",ref:l,onDelete:a,onUpdate:a},null,512))],64)):F("",!0)]),_:1})}}});export{j as default};
//# sourceMappingURL=Variables-Bz82k-JG.js.map
