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