import{_ as a}from"./plugin-vue_export-helper.21dcd24c.js";import{h as e,o as s,e as n,X as o,Y as t,Z as l,$ as i,a0 as p}from"./index.9313841a.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-3558e118"]]);export{v as default};
