import{d as m,e as i,f as _,g as o,c as s,h as n,i as w,o as t,j as C,k as a,bN as b,v as k,bO as v,bP as h,F as y,a as x}from"./index-B5elPXvm.js";import{u as F}from"./usePageTitle-c6xxeh_y.js";const P=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(()=>[C(a(b))]),default:n(()=>[p.value?(t(),k(y,{key:0},[u.value?(t(),s(a(v),{key:0})):(t(),s(a(h),{key:1,selectable:"",onDelete:f}))],64)):x("",!0)]),_:1})}}});export{P as default};
//# sourceMappingURL=Flows-D9Gu2ciw.js.map
