import{aP as e,aC as a,Q as l,_ as r}from"./utils-lib.js?v=1761009159";import{c as t,r as n,_ as o,at as m,q as _,v as u,N as i,y as p,Q as s,e as c,d}from"./base-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const D=r(t({__name:"index",props:{compData:{default:()=>({})}},setup(r){const{refs:{currentConDetail:t},refreshActiveTable:D,getCurrentCon:E}=e(),b=r,y=d(()=>l(()=>import("./container-status.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),j=d(()=>l(()=>import("./container-shell.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),v=d(()=>l(()=>import("./container-detail.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),V=d(()=>l(()=>import("./container-volume.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),A=d(()=>l(()=>import("./container-net.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),I=d(()=>l(()=>import("./container-reset.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),P=d(()=>l(()=>import("./container-mirror.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),T=d(()=>l(()=>import("./container-edit.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),z=d(()=>l(()=>import("./container-upgrade.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),L=d(()=>l(()=>import("./container-rename.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),O=d(()=>l(()=>import("./container-monitor.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),R=d(()=>l(()=>import("./con-log.js?v=1761009159").then(e=>e.c),__vite__mapDeps([]),import.meta.url)),w=d(()=>l(()=>import("./index429.js?v=1761009159"),__vite__mapDeps([]),import.meta.url)),f=n("status");o("tabActive",f),o("currentConDetail",t);const g=m(b.compData,"row"),C=[{label:"容器状态",lazy:!0,name:"status",render:()=>c(y,null,null)},{label:"容器终端",name:"terminal",lazy:!0,render:()=>c(j,{compData:{row:t}},null)},{label:"容器详情",name:"detail",lazy:!0,render:()=>c(v,null,null)},{label:"数据存储卷",name:"volume",lazy:!0,render:()=>c(V,null,null)},{label:"容器网络",name:"net",lazy:!0,render:()=>c(A,null,null)},{label:"重启策略",name:"restart",lazy:!0,render:()=>c(I,null,null)},{label:"创建镜像",name:"mirror",lazy:!0,render:()=>c(P,{compData:{row:g.value}},null)},{label:"编辑容器",name:"edit",lazy:!0,render:()=>c(T,{compData:{row:g.value,type:"edit"}},null)},{label:"升级容器",name:"upgrade",lazy:!0,render:()=>c(z,{compData:{row:g.value}},null)},{label:"重命名",name:"rename",lazy:!0,render:()=>c(L,{compData:{row:g.value}},null)},{label:"实时监控",name:"monitor",lazy:!0,render:()=>c(O,{compData:{row:g.value}},null)},{label:"容器日志",name:"log",lazy:!0,render:()=>c(R,{compData:g.value},null)},{label:"反向代理",name:"proxy",lazy:!0,render:()=>c(w,{compData:{row:g.value}},null)}];return _(()=>{E(g.value.id),b.compData.type&&(D(),f.value=b.compData.type)}),(e,l)=>{const r=a;return u(),i(r,{type:"left-bg-card",modelValue:p(f),"onUpdate:modelValue":l[0]||(l[0]=e=>s(f)?f.value=e:null),options:C},null,8,["modelValue"])}}}),[["__scopeId","data-v-d86ee11c"]]);export{D as default};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = []
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
