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