const e=require("../_util/classNames.js"),t=require("../config-provider/hooks/useConfigInject.js"),n=require("../form/FormItemContext.js"),r=require("./style/index.js");let i=require("vue");var a=(0,i.defineComponent)({compatConfig:{MODE:3},name:`AInputGroup`,inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(a,{slots:o,attrs:s}){let{prefixCls:c,direction:l,getPrefixCls:u}=t.default(`input-group`,a),d=n.FormItemInputContext.useInject();n.FormItemInputContext.useProvide(d,{isFormItemInput:!1});let[f,p]=r.default((0,i.computed)(()=>u(`input`))),m=(0,i.computed)(()=>{let e=c.value;return{[`${e}`]:!0,[p.value]:!0,[`${e}-lg`]:a.size===`large`,[`${e}-sm`]:a.size===`small`,[`${e}-compact`]:a.compact,[`${e}-rtl`]:l.value===`rtl`}});return()=>f((0,i.createVNode)(`span`,{...s,class:e.default(m.value,s.class)},[o.default?.()]))}});exports.default=a;