import{d as f,g as i,e as _,i as o,c as s,j as n,k as w,o as t,l as C,m as a,bN as k,x as b,bO as v,bP as x,z as y,a as g}from"./index-Cq5Q7kWk.js";import{u as h}from"./usePageTitle-NgGMZFeo.js";const O=f({__name:"Flows",setup(F){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),m=()=>{e.refresh()};return h("Flows"),(B,N)=>{const d=w("p-layout-default");return t(),s(d,{class:"flows"},{header:n(()=>[C(a(k))]),default:n(()=>[p.value?(t(),b(y,{key:0},[u.value?(t(),s(a(v),{key:0})):(t(),s(a(x),{key:1,selectable:"",onDelete:m}))],64)):g("",!0)]),_:1})}}});export{O as default};
//# sourceMappingURL=Flows-PkekJA0e.js.map
