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