import{_ as e}from"./index.vue_vue_type_style_index_0_lang.js?v=1761009159";import{c as s,r as t,q as o,n as a,v as r,x as n,e as l}from"./base-lib.js?v=1761009159";import"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./add-host.vue_vue_type_script_setup_true_lang.js?v=1761009159";import"./form-item.js?v=1761009159";import"./index106.js?v=1761009159";import"./useController2.js?v=1761009159";const i={class:"relative bg-black h-full p-1rem"},p=s({__name:"index",props:{compData:{default:()=>{}}},setup(s){const p=s,c=t();return o(()=>{a(()=>(()=>{var e;if(null==(e=c.value)?void 0:e.socketInfo){const e=c.value.socketInfo();e.send("\r\nclear\r"),e.send("cd ".concat(p.compData.row.path,"\r")),e.send("".concat(p.compData.cmd,"\r"))}})())}),(s,t)=>{const o=e;return r(),n("div",i,[l(o,{ref_key:"terminalRef",ref:c,class:"h-full","host-info":p.compData.hostInfo,url:"/pyenv_webssh",id:"pythonTerminal",active:""},null,8,["host-info"])])}}});export{p as default};
