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