import e from"../_util/classNames.mjs";import t from"../_util/omit.mjs";import n from"../config-provider/hooks/useConfigInject.mjs";import r,{skeletonElementProps as i}from"./Element.mjs";import a from"./style/index.mjs";import{computed as o,createVNode as s,defineComponent as c}from"vue";var l=c({compatConfig:{MODE:3},name:`ASkeletonInput`,props:{...t(i(),[`shape`]),size:String,block:Boolean},setup(t){let{prefixCls:i}=n(`skeleton`,t),[c,l]=a(i),u=o(()=>e(i.value,`${i.value}-element`,{[`${i.value}-active`]:t.active,[`${i.value}-block`]:t.block},l.value));return()=>c(s(`div`,{class:u.value},[s(r,{...t,prefixCls:`${i.value}-input`},null)]))}});export{l as default};