import{d as f,b as i,t as _,e as o,c as s,g as n,h as w,o as t,n as h,j as a,aK as k,l as C,aL as y,aM as v,F as x,a as F}from"./index-CPxpbp4R.js";import{u as b}from"./usePageTitle-CcH2lmI6.js";const V=f({__name:"Flows",setup(g){const l=i(),c={interval:3e4},e=_(l.flows.getFlowsCount,[{}],c),r=o(()=>e.response??0),u=o(()=>e.executed&&r.value===0),p=o(()=>e.executed),d=()=>{e.refresh()};return b("Flows"),(B,D)=>{const m=w("p-layout-default");return t(),s(m,{class:"flows"},{header:n(()=>[h(a(k))]),default:n(()=>[p.value?(t(),C(x,{key:0},[u.value?(t(),s(a(y),{key:0})):(t(),s(a(v),{key:1,selectable:"",onDelete:d}))],64)):F("",!0)]),_:1})}}});export{V as default};
//# sourceMappingURL=Flows-CQRWp9Qy.js.map
