import{d as i,aF as f,t as _,f as a,c as u,g as r,h as v,o,j as y,k as t,ch as w,x,ci as Q,cj as g,F as h,a as C}from"./index-BqDjVCF_.js";import{u as q}from"./usePageTitle-CZh_IXm2.js";const b=i({__name:"WorkQueues",setup(B){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 q("Work Queues"),(F,s)=>{const k=v("p-layout-default");return o(),u(k,{class:"queues"},{header:r(()=>[y(t(w))]),default:r(()=>[d.value?(o(),x(h,{key:0},[p.value?(o(),u(t(Q),{key:0})):(o(),u(t(g),{key:1,"work-queues":n.value,onUpdate:s[0]||(s[0]=m=>t(e).refresh()),onDelete:s[1]||(s[1]=m=>t(e).refresh())},null,8,["work-queues"]))],64)):C("",!0)]),_:1})}}});export{b as default};
//# sourceMappingURL=WorkQueues-DUNNOIWP.js.map
