import{d as _,a as f,c as a,r as k,o,b as u,w as c,i as w,e,Q as y,g as Q,R as g,S as v,F as x,f as $,T as b}from"./index.a93ec448.js";const B=_({__name:"WorkQueues",setup(C){const p={interval:3e4},s=f(b.getWorkQueues,[{}],p),r=a(()=>{var n;return(n=s.response)!=null?n:[]}),l=a(()=>s.executed&&r.value.length==0),i=a(()=>s.executed);return(n,t)=>{const m=k("p-layout-default");return o(),u(m,{class:"queues"},{header:c(()=>[w(e(y))]),default:c(()=>[e(i)?(o(),Q(x,{key:0},[e(l)?(o(),u(e(g),{key:0})):(o(),u(e(v),{key:1,"work-queues":e(r),onUpdate:t[0]||(t[0]=d=>e(s).refresh()),onDelete:t[1]||(t[1]=d=>e(s).refresh())},null,8,["work-queues"]))],64)):$("",!0)]),_:1})}}});export{B as default};
