import{d as f,M as i,Y as _,e as o,c as s,i as n,j as w,o as t,m as C,u as a,aF as k,l as y,aG as F,aH as h,F as v,a as x}from"./index-bD6G21oH.js";import{u as b}from"./usePageTitle-27XdpEbQ.js";const V=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),m=()=>{e.refresh()};return b("Flows"),(B,D)=>{const d=w("p-layout-default");return t(),s(d,{class:"flows"},{header:n(()=>[C(a(k))]),default:n(()=>[p.value?(t(),y(v,{key:0},[u.value?(t(),s(a(F),{key:0})):(t(),s(a(h),{key:1,selectable:"",onDelete:m}))],64)):x("",!0)]),_:1})}}});export{V as default};
