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