import{s as o}from"./index-Dsm4_Q_p.js";import f from"./commonDone-DrjX2qCl.js";import g from"./commonSelectVersion-COuRwRC1.js";import C from"./confirmFileConflict-CO9LAExD.js";import k from"./installConflict-Bsb8dgSc.js";import y from"./uploadInstall-B4KOvsQ8.js";import{B as v,I as i,X as V,C as t,D as a,H as c,u as e,P as s,_ as D,W as l,O as m}from"./vue-DweYBrEc.js";import{_ as x}from"./index-r_E2mS1x.js";import"./index-HOTJnHq_.js";import"./terminal-DwjWtfuz.js";import"./index-_8CH1k-o.js";import"./index-D0FjV6Ot.js";import"./index-Ci54HhCS.js";const I=["element-loading-text"],b=v({__name:"commonDialog",setup(h){return(r,n)=>{const d=i("el-scrollbar"),p=i("el-dialog"),u=V("loading");return t(),a("div",null,[c(p,{"close-on-press-escape":e(o).common.quickClose,title:e(o).common.dialogTitle,"close-on-click-modal":e(o).common.quickClose,modelValue:e(o).dialog.common,"onUpdate:modelValue":n[0]||(n[0]=_=>e(o).dialog.common=_),class:"common-dialog"},{default:s(()=>[c(d,{height:500},{default:s(()=>[e(o).common.type=="loading"?D((t(),a("div",{"element-loading-text":e(o).common.loadingTitle?r.$t("module.stateTitle "+e(o).common.loadingTitle):"",key:e(o).common.loadingComponentKey,class:"common-loading"},null,8,I)),[[u,!0]]):l("",!0),e(o).common.type=="selectVersion"?(t(),m(g,{key:1})):l("",!0),e(o).common.type=="installConflict"?(t(),m(k,{key:2})):l("",!0),e(o).common.type=="disableConfirmConflict"?(t(),m(C,{key:3})):l("",!0),e(o).common.type=="done"?(t(),m(f,{key:4})):l("",!0),e(o).common.type=="uploadInstall"?(t(),m(y,{key:5})):l("",!0)]),_:1})]),_:1},8,["close-on-press-escape","title","close-on-click-modal","modelValue"])])}}}),W=x(b,[["__scopeId","data-v-deb1af09"]]);export{W as default};