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