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