import{P as e,Q as t,T as n,U as r,et as i}from"./dom-CdSnbvZ6.js";import{l as a,u as o}from"./private.use-form-BL2f1xto.js";import{E as s,F as c,T as l}from"./settings-BF7JcItU.js";var u=n({name:`QInnerLoading`,props:{...s,...o,showing:Boolean,color:String,size:{type:[String,Number],default:`42px`},label:String,labelClass:String,labelStyle:[String,Array,Object]},setup(n,{slots:o}){let s=l(n,t().proxy.$q),{transitionProps:u,transitionStyle:d}=a(n),f=r(()=>`q-inner-loading q--avoid-card-border absolute-full column flex-center`+(s.value===!0?` q-inner-loading--dark`:``)),p=r(()=>`q-inner-loading__label`+(n.labelClass===void 0?``:` ${n.labelClass}`));function m(){let e=[i(c,{size:n.size,color:n.color})];return n.label!==void 0&&e.push(i(`div`,{class:p.value,style:n.labelStyle},[n.label])),e}function h(){return n.showing===!0?i(`div`,{class:f.value,style:d.value},o.default===void 0?m():o.default()):null}return()=>i(e,u.value,h)}});export{u as t};