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