import{d as h,r as w,z as i,J as v,w as t,j as s,n as V,f as p,g as l,t as n,h as r,s as c,q as B,aB as I,x as N,S as y}from"./index-a0da86f0.js";import{_ as x}from"./_plugin-vue_export-helper-c27b6911.js";const C={class:"progress-content"},M=h({__name:"InstallProgressModal",props:{modelValue:{type:Boolean},progress:{},message:{},status:{},installing:{type:Boolean},title:{}},emits:["update:modelValue"],setup(u,{emit:g}){const o=u,_=g,a=w(o.modelValue);i(()=>o.modelValue,e=>{a.value=e}),i(a,e=>{_("update:modelValue",e)});function m(){o.installing||(a.value=!1)}return(e,d)=>(V(),v(s(y),{show:a.value,"onUpdate:show":d[0]||(d[0]=f=>a.value=f),preset:"card",style:{width:"500px"}},{header:t(()=>[p("h3",null,l(e.title||s(n)("Installing App")),1)]),action:t(()=>[r(s(B),{onClick:m,disabled:e.installing},{default:t(()=>[c(l(e.installing?s(n)("Installing..."):s(n)("Close")),1)]),_:1},8,["disabled"])]),default:t(()=>[p("div",C,[r(s(I),{percentage:e.progress,"show-indicator":!0,color:"#10b981"},null,8,["percentage"]),r(s(N),{class:"progress-text"},{default:t(()=>[c(l(e.message),1)]),_:1})])]),_:1},8,["show"]))}});const k=x(M,[["__scopeId","data-v-fee9acec"]]);export{k as I};
