import{_ as e}from"./index.vue_vue_type_style_index_0_lang.js?v=1761009159";import{c as a,r as l,q as s,n,v as r,x as o,e as t}from"./base-lib.js?v=1761009159";const c={class:"p-[1rem] bg-[#000] h-full"},u=a({__name:"container-terminal-dialog",props:{compData:{default:()=>({})}},setup(a,{expose:u}){const i=a,d=l(),m=l(i.compData.cmd);let v=l(null);return s(()=>{n(()=>{v.value=d.value.socketInfo(),v.value.send("cd /www/wwwroot\r\n"),v.value.send("clear && ".concat(m.value,"\r\n")),v.value.send("clear\r")})}),u({onCancel:()=>{v.value.close()}}),(a,l)=>{const s=e;return r(),o("div",c,[t(s,{id:"dockerTerminal",class:"h-full",active:"",ref_key:"terminal",ref:d,url:"/webssh","host-info":{}},null,512)])}}});export{u as _};
