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