System.register(["./page_layout-legacy.js?v=1764233927359","./index-legacy.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1764233927359","./public-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./vue-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1764233927359"],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,T,b,C,U,R,P;return{setters:[e=>{a=e.bU,l=e.gr,n=e.gh,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,h=e.d,u=e.h},e=>{_=e.aC,g=e.dS},e=>{w=e.k,y=e.P,x=e.e,k=e.W,f=e.w,j=e.a2,v=e.V,D=e.a3,T=e.U,b=e.ak,C=e.j,U=e.a4,R=e._,P=e.R},null,null,null],execute:function(){const W=w({__name:"index",setup(e){const w=R(()=>o(()=>t.import("./index-legacy264.js?v=1764233927359"),void 0)),P=R(()=>o(()=>t.import("./index-legacy266.js?v=1764233927359"),void 0)),W=R(()=>o(()=>t.import("./index-legacy267.js?v=1764233927359"),void 0)),{t:B}=y(),S=a(),L=c(B("Docker.Template.index_13"),{onRefresh:()=>{N()}}),z=()=>{L.show=!0},A=x({page:1,pageSize:10}),{keys:E,columns:H,table:V}=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:()=>{F(e)}},{label:B("Docker.Template.index_8"),onClick:()=>{I(e)}},{label:B("Public.Btn.Del"),onClick:()=>{J(e)}}]})]),q=c(B("Docker.Template.index_14"),{onRefresh:()=>{N()}}),F=e=>{q.data.row=e,q.title=B("Docker.Template.index_15",[e.name]),q.show=!0},G=c(B("Docker.Template.index_16")),I=e=>{G.data.row=e,G.title=B("Docker.Template.index_17",[e.name]),G.show=!0},J=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}),N()}})},{loading:K,setLoading:M}=h(),N=async()=>{try{M(!0);const{message:e}=await n();V.data=i(e)?e:[],V.total=V.data.length}finally{E.value=[],M(!1)}};return f(()=>S.isRefresh,e=>{e&&(S.setRefresh(!1),N())}),N(),(e,t)=>{const a=_,l=u,n=d,i=s,o=g;return v(),j(o,{class:"p-16px"},{default:D(()=>[k(n,null,{toolsLeft:D(()=>[k(a,{type:"primary",onClick:z},{default:D(()=>[C(U(T(B)("Public.Btn.Add")),1)]),_:1})]),table:D(()=>[k(l,{page:T(A),"onUpdate:page":t[0]||(t[0]=e=>b(A)?A.value=e:null),"is-page":!0,loading:T(K),columns:T(H),data:T(V).data},null,8,["page","loading","columns","data"])]),_:1}),k(i,{show:T(L).show,"onUpdate:show":t[1]||(t[1]=e=>T(L).show=e),title:T(L).title,data:T(L).data,width:650,"min-height":484,footer:!0,component:T(w)},null,8,["show","title","data","component"]),k(i,{show:T(q).show,"onUpdate:show":t[2]||(t[2]=e=>T(q).show=e),title:T(q).title,data:T(q).data,width:650,"min-height":436,footer:!0,component:T(P)},null,8,["show","title","data","component"]),k(i,{show:T(G).show,"onUpdate:show":t[3]||(t[3]=e=>T(G).show=e),title:T(G).title,data:T(G).data,width:640,"min-height":400,component:T(W)},null,8,["show","title","data","component"])]),_:1})}}});e("default",w({__name:"index",setup:e=>(e,t)=>(v(),P("div",null,[k(W)]))}))}}});
