System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785"],(function(e,t){"use strict";var a,l,n,i,o,s,d,c,p,u,r,_,m,g,h,y,w,x,j,k,v,f,D,T,b,C,R,P,B;return{setters:[e=>{a=e.bm,l=e.v,n=e.ar,i=e.h5,o=e.gX,s=e.n,d=e.x,c=e.P},e=>{p=e._},e=>{u=e._},e=>{r=e.u},e=>{_=e.u},e=>{m=e.u},e=>{g=e.B,h=e.a2},e=>{y=e.k,w=e.R,x=e.e,j=e.a0,k=e.w,v=e.$,f=e.a8,D=e.a9,T=e.S,b=e.X,C=e.j,R=e.aa,P=e.a3,B=e.Z},null,null,null,null,null,null,null,null],execute:function(){const S=y({__name:"index",setup(e){const y=P((()=>c((()=>t.import("./index-legacy-BmPjsSKu.js?v=1773287522785")),void 0))),B=P((()=>c((()=>t.import("./index-legacy-D_rHK37A.js?v=1773287522785")),void 0))),S=P((()=>c((()=>t.import("./index-legacy-D6ZFG4rN.js?v=1773287522785")),void 0))),{t:U}=w(),L=a(),W=l(U("Docker.Template.index_13"),{onRefresh:()=>{K()}}),X=()=>{W.show=!0},z=x({page:1,pageSize:10}),{keys:A,columns:E,table:Z}=_([{key:"name",title:U("Docker.Template.index_4"),width:"20%",minWidth:120,ellipsis:{tooltip:!0}},{key:"path",title:U("Docker.Template.index_5"),width:"40%",minWidth:160,ellipsis:{tooltip:!0}},{key:"remark",title:U("Docker.Template.index_6"),minWidth:140,ellipsis:{tooltip:!0}},m({width:200,options:e=>[{label:U("Public.Btn.Edit"),onClick:()=>{q(e)}},{label:U("Docker.Template.index_8"),onClick:()=>{G(e)}},{label:U("Public.Btn.Del"),onClick:()=>{H(e)}}]})]),$=l(U("Docker.Template.index_14"),{onRefresh:()=>{K()}}),q=e=>{$.data.row=e,$.title=U("Docker.Template.index_15",[e.name]),$.show=!0},F=l(U("Docker.Template.index_16")),G=e=>{F.data.row=e,F.title=U("Docker.Template.index_17",[e.name]),F.show=!0},H=e=>{n({title:U("Docker.Template.index_18",[e.name]),content:()=>j("span",{class:"text-error"},[U("Docker.Template.index_12",[e.name])]),onConfirm:async()=>{await i({template_id:e.id}),K()}})},{loading:I,setLoading:J}=r(),K=async()=>{try{J(!0);const{message:e}=await o();Z.data=s(e)?e:[],Z.total=Z.data.length}finally{A.value=[],J(!1)}};return k((()=>L.isRefresh),(e=>{e&&(L.setRefresh(!1),K())})),K(),(e,t)=>{const a=g,l=u,n=p,i=d,o=h;return v(),f(o,{class:"p-16px"},{default:D((()=>[j(n,null,{toolsLeft:D((()=>[j(a,{type:"primary",onClick:X},{default:D((()=>[C(R(T(U)("Public.Btn.Add")),1)])),_:1})])),table:D((()=>[j(l,{page:T(z),"onUpdate:page":t[0]||(t[0]=e=>b(z)?z.value=e:null),"is-page":!0,loading:T(I),columns:T(E),data:T(Z).data},null,8,["page","loading","columns","data"])])),_:1}),j(i,{show:T(W).show,"onUpdate:show":t[1]||(t[1]=e=>T(W).show=e),title:T(W).title,data:T(W).data,width:650,"min-height":484,footer:!0,component:T(y)},null,8,["show","title","data","component"]),j(i,{show:T($).show,"onUpdate:show":t[2]||(t[2]=e=>T($).show=e),title:T($).title,data:T($).data,width:650,"min-height":436,footer:!0,component:T(B)},null,8,["show","title","data","component"]),j(i,{show:T(F).show,"onUpdate:show":t[3]||(t[3]=e=>T(F).show=e),title:T(F).title,data:T(F).data,width:640,"min-height":400,component:T(S)},null,8,["show","title","data","component"])])),_:1})}}});e("default",y({__name:"index",setup:e=>(e,t)=>(v(),B("div",null,[j(S)]))}))}}}));
