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