const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index264.js?v=1764233927359","js/index107.js?v=1764233927359","js/vue.js?v=1764233927359","js/__commonjsHelpers__.js?v=1764233927359","js/naive.js?v=1764233927359","js/common.js?v=1764233927359","js/page_layout.js?v=1764233927359","js/public.js?v=1764233927359","css/public.css?v=1764233927359","css/page_layout.css?v=1764233927359","css/index21.css?v=1764233927359","js/index.vue_vue_type_script_setup_true_lang24.js?v=1764233927359","js/index.vue_vue_type_script_setup_true_lang.js?v=1764233927359","js/index100.js?v=1764233927359","js/theme-monokai.js?v=1764233927359","js/file.js?v=1764233927359","css/index16.css?v=1764233927359","js/index.vue_vue_type_script_setup_true_lang10.js?v=1764233927359","js/index98.js?v=1764233927359","css/index13.css?v=1764233927359","js/index266.js?v=1764233927359","js/index267.js?v=1764233927359","js/index104.js?v=1764233927359","css/index19.css?v=1764233927359"])))=>i.map(i=>d[i]);
import{bU as e,gr as t,gh as a,x as o,a as i}from"./page_layout.js?v=1764233927359";import{_ as s}from"./index.js?v=1764233927359";import{_ as n}from"./index.vue_vue_type_script_setup_true_lang5.js?v=1764233927359";import{e as l,c as p,f as d,p as m,d as r,h as _}from"./public.js?v=1764233927359";import{aC as c,dS as h}from"./naive.js?v=1764233927359";import{k as u,P as w,e as x,W as k,w as g,a2 as f,V as D,a3 as j,U as T,ak as y,j as b,a4 as v,_ as R,R as E}from"./vue.js?v=1764233927359";import"./common.js?v=1764233927359";import"./__commonjsHelpers__.js?v=1764233927359";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1764233927359";const P=u({__name:"index",setup(u){const E=R(()=>i(()=>import("./index264.js?v=1764233927359"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),P=R(()=>i(()=>import("./index266.js?v=1764233927359"),__vite__mapDeps([20,11,12,2,3,4,5,6,7,8,9,13,14,15,16]))),C=R(()=>i(()=>import("./index267.js?v=1764233927359"),__vite__mapDeps([21,22,6,2,3,4,5,7,8,9,23]))),{t:U}=w(),L=e(),A=l(U("Docker.Template.index_13"),{onRefresh:()=>{K()}}),V=()=>{A.show=!0},W=x({page:1,pageSize:10}),{keys:B,columns:I,table:O}=p([{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}},d({width:200,options:e=>[{label:U("Public.Btn.Edit"),onClick:()=>{z(e)}},{label:U("Docker.Template.index_8"),onClick:()=>{q(e)}},{label:U("Public.Btn.Del"),onClick:()=>{F(e)}}]})]),S=l(U("Docker.Template.index_14"),{onRefresh:()=>{K()}}),z=e=>{S.data.row=e,S.title=U("Docker.Template.index_15",[e.name]),S.show=!0},H=l(U("Docker.Template.index_16")),q=e=>{H.data.row=e,H.title=U("Docker.Template.index_17",[e.name]),H.show=!0},F=e=>{m({title:U("Docker.Template.index_18",[e.name]),content:()=>k("span",{class:"text-error"},[U("Docker.Template.index_12",[e.name])]),onConfirm:async()=>{await t({template_id:e.id}),K()}})},{loading:G,setLoading:J}=r(),K=async()=>{try{J(!0);const{message:e}=await a();O.data=o(e)?e:[],O.total=O.data.length}finally{B.value=[],J(!1)}};return g(()=>L.isRefresh,e=>{e&&(L.setRefresh(!1),K())}),K(),(e,t)=>{const a=c,o=_,i=n,l=s,p=h;return D(),f(p,{class:"p-16px"},{default:j(()=>[k(i,null,{toolsLeft:j(()=>[k(a,{type:"primary",onClick:V},{default:j(()=>[b(v(T(U)("Public.Btn.Add")),1)]),_:1})]),table:j(()=>[k(o,{page:T(W),"onUpdate:page":t[0]||(t[0]=e=>y(W)?W.value=e:null),"is-page":!0,loading:T(G),columns:T(I),data:T(O).data},null,8,["page","loading","columns","data"])]),_:1}),k(l,{show:T(A).show,"onUpdate:show":t[1]||(t[1]=e=>T(A).show=e),title:T(A).title,data:T(A).data,width:650,"min-height":484,footer:!0,component:T(E)},null,8,["show","title","data","component"]),k(l,{show:T(S).show,"onUpdate:show":t[2]||(t[2]=e=>T(S).show=e),title:T(S).title,data:T(S).data,width:650,"min-height":436,footer:!0,component:T(P)},null,8,["show","title","data","component"]),k(l,{show:T(H).show,"onUpdate:show":t[3]||(t[3]=e=>T(H).show=e),title:T(H).title,data:T(H).data,width:640,"min-height":400,component:T(C)},null,8,["show","title","data","component"])]),_:1})}}}),C=u({__name:"index",setup:e=>(e,t)=>(D(),E("div",null,[k(P)]))});export{C as default};
