import{s as o}from"./index-EFlNRwTR.js";import f from"./commonDone-D38AgrRZ.js";import g from"./commonSelectVersion-CyQ36GIz.js";import C from"./confirmFileConflict-CQjiGfum.js";import k from"./installConflict-DfXx-lge.js";import y from"./uploadInstall-NaE1z4qs.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-fNs72j9w.js";import"./index-CLJRKiC0.js";import"./terminal-B3G_hUkG.js";import"./index-CgMrKa77.js";import"./index-DMA3A9_B.js";import"./index-BlEwok4a.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};
