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