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