import{_ as e}from"./index.vue_vue_type_style_index_0_lang.js?v=1761009159";import{M as s,_ as o}from"./utils-lib.js?v=1761009159";import{c as t,aA as a,r,v as l,x as i,e as _,y as m}from"./base-lib.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";import"./__commonjsHelpers__.js?v=1761009159";const n={class:"flex flex-col lib-box"},p=o(t({__name:"pull-mirror-dialog",props:{compData:{default:()=>({})}},setup(o){const t=a("popupClose"),p=o;let c={model_index:"btdocker",mod_name:"compose",def_name:"get_pull_log",ws_callback:111};p.compData.isOther&&(c.mod_name="backup");const u=()=>{t()},d=r(),f=e=>{var o;p.compData.isOther&&(-1!==e.indexOf("bt_successful")&&(s.success("成功"),null==(o=d.value)||o.disposeTerminal(),u()),-1!==e.indexOf("bt_failed")&&s.error("失败"))};return(s,o)=>{const t=e;return l(),i("div",n,[_(t,{id:"dockerBackLogTerminal",ref_key:"terminal",ref:d,url:"/ws_model",active:"","host-info":m(c),onClose:u,"fit-cols-rows":!1,"request-token":!0,checkMsgFn:f},null,8,["host-info"])])}}}),[["__scopeId","data-v-08f41a05"]]);export{p as default};
