System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764233927359","./page_layout-legacy.js?v=1764233927359","./public-legacy.js?v=1764233927359","./index.vue_vue_type_style_index_0_lang-legacy.js?v=1764233927359","./vue-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359","./xterm-addon-canvas-legacy.js?v=1764233927359","./xterm-legacy.js?v=1764233927359"],function(e,l){"use strict";var a,s,n,t,c,u,d,o,r,_,i,m,p,g,h,v,y,x,b,w;return{setters:[e=>{a=e._},e=>{s=e.g0,n=e.d},e=>{t=e.u},e=>{c=e._},e=>{u=e.k,d=e.t,o=e.R,r=e.V,_=e.W,i=e.P,m=e.e,p=e.a3,g=e.S,h=e.U,v=e.j,y=e.a4},e=>{x=e.dR,b=e.dV,w=e._},null,null,null,null],execute:function(){const l={class:"w-full h-full"},f=u({__name:"terminal",props:{command:{default:""}},setup(e){const a=[{model_index:"btdocker",mod_name:"compose",def_name:"get_pull_log",ws_callback:111},"\r","cd /www/wwwroot\r\n",`clear && ${d(e,"command").value}\r\n`,"clear\r"];return(e,s)=>(r(),o("div",l,[_(c,{url:"/webssh",data:a})]))}}),j={class:"p-20px"},k={class:"w-200px mb-16px"};e("default",u({__name:"index",props:{id:{}},setup(e,{expose:l}){const c=e,{t:u}=i(),C=d(c,"id"),D=m({shell:"bash",sudo:!1}),U=[{label:"bash",value:"bash"},{label:"sh",value:"sh"}];return l({onConfirm:async()=>{const{message:e}=await s({id:C.value,shell:D.shell,sudo_i:D.sudo?1:0});n(e)&&t({title:u("Docker.Container.terminal.index_2"),width:800,height:500,data:{command:e.result},component:f})}}),(e,l)=>{const s=b,n=w,t=x,c=a;return r(),o("div",j,[_(c,null,{default:p(()=>[_(t,{label:e.$t("Docker.Container.terminal.index_1"),"show-feedback":!1},{default:p(()=>[g("div",null,[g("div",k,[_(s,{value:h(D).shell,"onUpdate:value":l[0]||(l[0]=e=>h(D).shell=e),options:U},null,8,["value"])]),_(n,{checked:h(D).sudo,"onUpdate:checked":l[1]||(l[1]=e=>h(D).sudo=e)},{default:p(()=>[v(y(e.$t("Docker.Container.terminal.index_4")),1)]),_:1},8,["checked"])])]),_:1},8,["label"])]),_:1})])}}}))}}});
