System.register(["./utils-lib-legacy.js?v=1761009159","./index-legacy115.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./ace-legacy.js?v=1761009159"],function(e,l){"use strict";var n,t,i,a,o,s,c,r,u,d,v,f,m,p,b,g,w,h,y,_,x,k,j;return{setters:[function(e){n=e.aP,t=e.E,i=e.aC,a=e._},function(e){o=e.B},function(e){s=e.c,c=e.r,r=e.q,u=e.v,d=e.x,v=e.e,f=e.B,m=e.z,p=e.A,b=e.y,g=e.F,w=e.b0,h=e.K,y=e.N,_=e.Q,x=e.bO,k=e.bN,j=e.aC},null,null],execute:function(){var l={class:"container-dialog docker-container-detail"},C={class:"Table pl-[2rem] w-full h-[50rem] overflow-auto"},E={class:"item"},P={class:"flex-1"},N={class:"item"},O={class:"flex-1"},S={class:"item"},I={class:"flex-1"},T={class:"item"},V={class:"flex-1"},z={class:"inline-block whitespace-pre-line w-[40rem]"},B={class:"h-[54rem] overflow-auto"};e("default",a(s({__name:"container-detail",setup:function(e){var a=n().refs.currentConDetail,s={mode:"ace/mode/json",theme:t.value?"ace/theme/clouds_midnight":"ace/theme/monokai",wrap:!0,showInvisibles:!1,showFoldWidgets:!1,useSoftTabs:!0,tabSize:2,showPrintMargin:!1,readOnly:!0,fontSize:"12px"},D=c([]),F=c([]),H=c("view");return r(function(){var e,l;Object.entries((null===(e=a.value.NetworkSettings)||void 0===e?void 0:e.Ports)||{}).forEach(function(e){var l="";e[1]&&(l+="".concat(e[1][0].HostPort,"--\x3e").concat(e[0]," "),D.value.push(l))}),null===(l=a.value.Config)||void 0===l||l.Env.forEach(function(e){var l=e.split("=");F.value.push({key:l[0],value:l[1]})})}),function(e,n){var t=x,c=k,r=j,M=o,q=i;return u(),d("div",l,[v(q,{type:"card",modelValue:b(H),"onUpdate:modelValue":n[0]||(n[0]=function(e){return _(H)?H.value=e:null})},{default:f(function(){return[v(r,{label:"视图展示",name:"view"},{default:f(function(){var e,l,i;return[m("div",C,[n[6]||(n[6]=m("div",{class:"title text-extraLarge mb-[1rem]"},"容器详情",-1)),m("div",E,[n[1]||(n[1]=m("div",{class:"w-[15%]"},"镜像",-1)),m("div",P,p(b(a).Image||""),1)]),m("div",N,[n[2]||(n[2]=m("div",{class:"w-[15%]"},"端口配置",-1)),m("div",O,[(u(!0),d(g,null,w(b(D),function(e){return u(),d("div",{key:e,class:"port"},p(e),1)}),128))])]),m("div",S,[n[3]||(n[3]=m("div",{class:"w-[15%]"},"CMD",-1)),m("div",I,p((null===(e=b(a).Config)||void 0===e||null===(e=e.Cmd)||void 0===e?void 0:e.join(""))||""),1)]),m("div",T,[n[4]||(n[4]=m("div",{class:"w-[15%]"},"ENTERYPOINT",-1)),m("div",V,p(null!==(l=b(a).Config)&&void 0!==l&&l.Entrypoint?null===(i=b(a).Config)||void 0===i?void 0:i.Entrypoint[0]:""),1)]),m("div",{class:h(["item pt-[2rem]",b(F).length>8?"!items-start":""])},[n[5]||(n[5]=m("div",{class:"w-[10%] sticky left-0 top-0"},"ENV",-1)),v(c,{column:1,border:"",class:"w-full"},{default:f(function(){return[(u(!0),d(g,null,w(b(F),function(e){return u(),y(t,{key:e.key,label:e.key},{default:f(function(){return[m("span",z,p(e.value),1)]}),_:2},1032,["label"])}),128))]}),_:1})],2)])]}),_:1}),v(r,{label:"文件展示",name:"file"},{default:f(function(){return[m("div",B,[v(M,{filePath:b(a).container_info,editorOption:s},null,8,["filePath"])])]}),_:1})]}),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-8348c513"]]))}}});
