import{d as w,bS as d,Q as C,c as y,g as n,h as u,o as M,n as l,j as o,U as r,bT as h,y as b,bU as x,bV as U,bW as g}from"./index-CPxpbp4R.js";const v=w({__name:"ConcurrencyLimits",setup(G){const{showModal:t,open:m}=d(),{showModal:e,open:p}=d(),_=[{label:"Global"},{label:"Task Run"}],c=C("tab","Global");return(R,s)=>{const i=u("p-button"),k=u("p-tabs"),f=u("p-layout-default");return M(),y(f,{class:"concurrency-limits"},{header:n(()=>[l(o(r),{crumbs:[{text:"Concurrency"}]})]),default:n(()=>[l(k,{selected:o(c),"onUpdate:selected":s[2]||(s[2]=a=>b(c)?c.value=a:null),tabs:_},{global:n(()=>[l(o(r),{size:"lg",crumbs:[{text:"Global Concurrency Limits"}]},{"after-crumbs":n(()=>[l(i,{small:"",icon:"PlusIcon",onClick:o(m)},null,8,["onClick"])]),_:1}),l(o(h),{showModal:o(t),"onUpdate:showModal":s[0]||(s[0]=a=>b(t)?t.value=a:null)},null,8,["showModal"]),l(o(x),{class:"concurrency-limits__global-table"})]),"task-run":n(()=>[l(o(r),{size:"lg",crumbs:[{text:"Task Run Concurrency Limits"}]},{"after-crumbs":n(()=>[l(i,{small:"",icon:"PlusIcon",onClick:o(p)},null,8,["onClick"])]),_:1}),l(o(U),{showModal:o(e),"onUpdate:showModal":s[1]||(s[1]=a=>b(e)?e.value=a:null)},null,8,["showModal"]),l(o(g),{class:"concurrency-limits__task-limits-table"})]),_:1},8,["selected"])]),_:1})}}});export{v as default};
//# sourceMappingURL=ConcurrencyLimits-DMaH5SBY.js.map
