commonDialog-G0r7VLKu.js 1.6 KB

1
  1. import{s as o}from"./store-F66kEjW2.js";import f from"./installConflict-TMjGp7_8.js";import g from"./commonDone-9FXFnc3l.js";import C from"./uploadInstall-r0yNs0rd.js";import k from"./confirmFileConflict-AjhwjBKA.js";import{d as y,K as a,aq as v,e as t,f as i,j as c,L as s,u as e,am as x,C as l,y as m}from"./vue-A59npLRR.js";import{_ as D}from"./index-EwE51S_X.js";import"./index-3qA-WN0K.js";import"./index-r6iTpmP6.js";import"./index-K8IR974I.js";import"./baTable-MdxYOkAk.js";import"./index-XALue448.js";import"./echarts-cxb9vJr1.js";const I=["element-loading-text"],V=y({__name:"commonDialog",setup(h){return(r,n)=>{const d=a("el-scrollbar"),p=a("el-dialog"),u=v("loading");return t(),i("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"?x((t(),i("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=="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"])])}}}),z=D(V,[["__scopeId","data-v-e271020e"]]);export{z as default};