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