import{d,f as i,t as _,i as o,c as s,j as n,k as w,o as t,l as k,m as a,bQ as C,z as b,bR as y,bS as h,F as v,a as x}from"./index-CcVNxLw9.js";import{u as F}from"./usePageTitle-B0-KYjWV.js";const P=d({__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),f=()=>{e.refresh()};return F("Flows"),(B,D)=>{const m=w("p-layout-default");return t(),s(m,{class:"flows"},{header:n(()=>[k(a(C))]),default:n(()=>[p.value?(t(),b(v,{key:0},[u.value?(t(),s(a(y),{key:0})):(t(),s(a(h),{key:1,selectable:"",onDelete:f}))],64)):x("",!0)]),_:1})}}});export{P as default};
//# sourceMappingURL=Flows-BpxjC8NU.js.map
