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