System.register(["./page_layout-legacy.js?v=1764830988434","./index-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1764830988434","./public-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./common-legacy.js?v=1764830988434","./__commonjsHelpers__-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1764830988434"],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.bq,l=e.gj,n=e.g9,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.W,f=e.w,j=e.a2,v=e.V,D=e.a3,T=e.U,b=e.ak,C=e.j,R=e.a4,U=e._,P=e.R},null,null,null],execute:function(){const W=w({__name:"index",setup(e){const w=U(()=>o(()=>t.import("./index-legacy265.js?v=1764830988434"),void 0)),P=U(()=>o(()=>t.import("./index-legacy267.js?v=1764830988434"),void 0)),W=U(()=>o(()=>t.import("./index-legacy268.js?v=1764830988434"),void 0)),{t:B}=y(),S=a(),L=c(B("Docker.Template.index_13"),{onRefresh:()=>{N()}}),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:()=>{F(e)}},{label:B("Docker.Template.index_8"),onClick:()=>{I(e)}},{label:B("Public.Btn.Del"),onClick:()=>{J(e)}}]})]),V=c(B("Docker.Template.index_14"),{onRefresh:()=>{N()}}),F=e=>{V.data.row=e,V.title=B("Docker.Template.index_15",[e.name]),V.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}=u(),N=async()=>{try{M(!0);const{message:e}=await n();H.data=i(e)?e:[],H.total=H.data.length}finally{A.value=[],M(!1)}};return f(()=>S.isRefresh,e=>{e&&(S.setRefresh(!1),N())}),N(),(e,t)=>{const a=_,l=h,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:q},{default:D(()=>[C(R(T(B)("Public.Btn.Add")),1)]),_:1})]),table:D(()=>[k(l,{page:T(z),"onUpdate:page":t[0]||(t[0]=e=>b(z)?z.value=e:null),"is-page":!0,loading:T(K),columns:T(E),data:T(H).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(V).show,"onUpdate:show":t[2]||(t[2]=e=>T(V).show=e),title:T(V).title,data:T(V).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)]))}))}}});
