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