import{_ as a}from"./plugin-vue_export-helper.21dcd24c.js";import{h as e,o as s,e as n,Y as o,Z as t,$ as l,a0 as i,a1 as p}from"./index.3938ccd1.js";const d={class:"simple-loading"},c={class:"loading-content"},m={class:"loading-text"},r={key:0,class:"component-info"},g={class:"loading-time"};var v=a({__name:"SimpleLoadingComponent",props:{message:{type:String,default:"Loading..."},componentName:{type:String,default:""}},setup(a){const v=e(0);let u=null;return s((()=>{u=setInterval((()=>{v.value+=.1}),100)})),n((()=>{u&&clearInterval(u)})),(e,s)=>(o(),t("div",d,[l("div",c,[s[0]||(s[0]=l("div",{class:"loading-spinner"},[l("div",{class:"spinner"})],-1)),l("div",m,[l("p",null,i(a.message),1),a.componentName?(o(),t("p",r,"Loading: "+i(a.componentName),1)):p("",!0),l("p",g,i(v.value)+"s",1)])])]))}},[["__scopeId","data-v-2aaf6ce3"]]);export{v as default};
