commonDialog-9adf7239.js 1.6 KB

1
  1. import{s as o}from"./store-5ff6cbac.js";import f from"./installConflict-4c56531b.js";import g from"./commonDone-8e26d3b4.js";import C from"./uploadInstall-8482d260.js";import k from"./confirmFileConflict-f55d2a2b.js";import{h as y,p as t,l as a,q as i,N as c,k as e,a6 as v,a4 as l,M as m,t as s,a7 as x}from"./vue-a39e6937.js";import{_ as D}from"./index-ba596ae9.js";import"./index-0ec044bf.js";import"./index-f0d8af94.js";import"./index-434d719f.js";import"./controllerUrls-941681c3.js";import"./index-7e56a0fa.js";const h=["element-loading-text"],I=y({__name:"commonDialog",setup(V){return(r,n)=>{const d=s("el-scrollbar"),p=s("el-dialog"),_=x("loading");return t(),a("div",null,[i(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]=u=>e(o).dialog.common=u),class:"common-dialog"},{default:c(()=>[i(d,{height:500},{default:c(()=>[e(o).common.type=="loading"?v((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,h)),[[_,!0]]):l("",!0),e(o).common.type=="InstallConflict"?(t(),m(f,{key:1})):l("",!0),e(o).common.type=="disableConfirmConflict"?(t(),m(k,{key:2})):l("",!0),e(o).common.type=="done"?(t(),m(g,{key:3})):l("",!0),e(o).common.type=="uploadInstall"?(t(),m(C,{key:4})):l("",!0)]),_:1})]),_:1},8,["close-on-press-escape","title","close-on-click-modal","modelValue"])])}}});const j=D(I,[["__scopeId","data-v-e271020e"]]);export{j as default};