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