import{d as f,ae as m,S as d,g as t,j as _,I as v,h as b,c as o,o as s,i as l,n as h,a as k,F as y,m as r,cG as C,cH as g,k as x,cI as V}from"./index-Be5epLbh.js";import{u as S}from"./usePageTitle-C1HwtkkQ.js";const q=f({__name:"Variables",setup(B){const n=m(),e=()=>{a.value.refresh(),n.value?.refreshSubscriptions()},c=d(),a=t(()=>_(c.variables.getVariables)),u=t(()=>a.value.executed&&a.value.response?.length===0),i=t(()=>a.value.executed);return S(v.info.variables),(j,F)=>{const p=b("p-layout-default");return s(),o(p,{class:"variables"},{header:l(()=>[x(r(V),{onCreate:e})]),default:l(()=>[i.value?(s(),h(y,{key:0},[u.value?(s(),o(r(C),{key:0,onCreate:e})):(s(),o(r(g),{key:1,ref_key:"table",ref:n,onDelete:e,onUpdate:e},null,512))],64)):k("",!0)]),_:1})}}});export{q as default};
//# sourceMappingURL=Variables-CCBjlP6W.js.map
