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