import{d,ao as f,j as s,c as a,w as n,r as i,o as t,a as _,u as e,aO as w,l as C,aP as k,aQ as y,G as h,m as x}from"./index-4d9fe32c-718dc5d9.js";import{c as F}from"./vue-compositions-55710141.js";import{u as g}from"./usePageTitle-e8e2e29d.js";const P=d({__name:"Flows",setup(v){const c=f(),l={interval:3e4},o=F(c.flows.getFlowsCount,[{}],l),r=s(()=>o.response??0),u=s(()=>o.executed&&r.value===0),p=s(()=>o.executed);return g("Flows"),(B,b)=>{const m=i("p-layout-default");return t(),a(m,{class:"flows"},{header:n(()=>[_(e(w))]),default:n(()=>[e(p)?(t(),C(h,{key:0},[e(u)?(t(),a(e(k),{key:0})):(t(),a(e(y),{key:1,onDelete:e(o).refresh},null,8,["onDelete"]))],64)):x("",!0)]),_:1})}}});export{P as default};
