import{d,m as i,R as _,c as o,a as w,f as s,w as n,o as t,n as C,g as a,am as h,j as k,an as y,ao as v,F as x,h as F}from"./index-18beffd6.js";import{u as g}from"./usePageTitle-5c97edcb.js";const V=d({__name:"Flows",setup(B){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),m=()=>{e.refresh()};return g("Flows"),(D,b)=>{const f=w("p-layout-default");return t(),s(f,{class:"flows"},{header:n(()=>[C(a(h))]),default:n(()=>[p.value?(t(),k(x,{key:0},[u.value?(t(),s(a(y),{key:0})):(t(),s(a(v),{key:1,onDelete:m}))],64)):F("",!0)]),_:1})}}});export{V as default};
