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