System.register(["./page_layout-legacy.js?v=1753954525509","./index-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy4.js?v=1753954525509","./public-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1753954525509"],(function(e,t){"use strict";var a,l,n,i,o,s,d,c,p,r,m,h,u,_,g,w,y,x,k,f,j,v,D,b,T,C,U,P,R;return{setters:[e=>{a=e.bg,l=e.fw,n=e.fl,i=e.w,o=e.a},e=>{s=e._},e=>{d=e._},e=>{c=e.e,p=e.b,r=e.h,m=e.q,h=e.c,u=e.f},e=>{_=e.ay,g=e.cD},e=>{w=e.k,y=e.P,x=e.e,k=e.Q,f=e.w,j=e.U,v=e.a1,D=e.a2,b=e.j,T=e.a3,C=e.X,U=e.ah,P=e._,R=e.V},null,null,null],execute:function(){const B=w({__name:"index",setup(e){const w=P((()=>o((()=>t.import("./index-legacy257.js?v=1753954525509")),void 0))),R=P((()=>o((()=>t.import("./index-legacy259.js?v=1753954525509")),void 0))),B=P((()=>o((()=>t.import("./index-legacy260.js?v=1753954525509")),void 0))),{t:W}=y(),L=a(),S=c(W("Docker.Template.index_13"),{onRefresh:()=>{K()}}),q=()=>{S.show=!0},z=x({page:1,pageSize:10}),{keys:A,columns:E,table:H}=p([{key:"name",title:W("Docker.Template.index_4"),width:"20%",minWidth:120,ellipsis:{tooltip:!0}},{key:"path",title:W("Docker.Template.index_5"),width:"40%",minWidth:160,ellipsis:{tooltip:!0}},{key:"remark",title:W("Docker.Template.index_6"),minWidth:140,ellipsis:{tooltip:!0}},r({width:200,options:e=>[{label:W("Public.Btn.Edit"),onClick:()=>{V(e)}},{label:W("Docker.Template.index_8"),onClick:()=>{F(e)}},{label:W("Public.Btn.Del"),onClick:()=>{G(e)}}]})]),Q=c(W("Docker.Template.index_14"),{onRefresh:()=>{K()}}),V=e=>{Q.data.row=e,Q.title=W("Docker.Template.index_15",[e.name]),Q.show=!0},X=c(W("Docker.Template.index_16")),F=e=>{X.data.row=e,X.title=W("Docker.Template.index_17",[e.name]),X.show=!0},G=e=>{m({title:W("Docker.Template.index_18",[e.name]),content:()=>k("span",{class:"text-error"},[W("Docker.Template.index_12",[e.name])]),onConfirm:async()=>{await l({template_id:e.id}),K()}})},{loading:I,setLoading:J}=h(),K=async()=>{try{J(!0);const{message:e}=await n();H.data=i(e)?e:[],H.total=H.data.length}finally{A.value=[],J(!1)}};return f((()=>L.isRefresh),(e=>{e&&(L.setRefresh(!1),K())})),K(),(e,t)=>{const a=_,l=u,n=d,i=s,o=g;return j(),v(o,{class:"p-16px"},{default:D((()=>[k(n,null,{toolsLeft:D((()=>[k(a,{type:"primary",onClick:q},{default:D((()=>[b(T(C(W)("Public.Btn.Add")),1)])),_:1})])),table:D((()=>[k(l,{page:C(z),"onUpdate:page":t[0]||(t[0]=e=>U(z)?z.value=e:null),"is-page":!0,loading:C(I),columns:C(E),data:C(H).data},null,8,["page","loading","columns","data"])])),_:1}),k(i,{show:C(S).show,"onUpdate:show":t[1]||(t[1]=e=>C(S).show=e),title:C(S).title,data:C(S).data,width:650,"min-height":484,footer:!0,component:C(w)},null,8,["show","title","data","component"]),k(i,{show:C(Q).show,"onUpdate:show":t[2]||(t[2]=e=>C(Q).show=e),title:C(Q).title,data:C(Q).data,width:650,"min-height":436,footer:!0,component:C(R)},null,8,["show","title","data","component"]),k(i,{show:C(X).show,"onUpdate:show":t[3]||(t[3]=e=>C(X).show=e),title:C(X).title,data:C(X).data,width:640,"min-height":400,component:C(B)},null,8,["show","title","data","component"])])),_:1})}}});e("default",w({__name:"index",setup:e=>(e,t)=>(j(),R("div",null,[k(B)]))}))}}}));
