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