"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv"),i=require("lodash-unified");require("../config-provider/index.js");const c=require("./context.js"),s=require("./style/group.js"),d=require("../config-provider/hooks/use-namespace.js"),f=e.defineComponent({name:"ApTextGroup",__name:"group",props:{colon:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},labelStyle:{default:void 0},prefixCls:{},size:{default:()=>[8,0]},direction:{default:"vertical"},align:{default:"baseline"},wrap:{type:Boolean,default:!1}},setup(o){const t=o,{b:l,m:r}=d.useNamespace("ap-text-group"),a=s.default("ap-text-group");return c.useProvideApTextGroup({colon:e.toRef(t.colon),vertical:e.toRef(t.vertical),labelStyle:e.toRef(t.labelStyle)}),(n,p)=>(e.openBlock(),e.createBlock(e.unref(u.Space),e.mergeProps({class:[e.unref(l)(),o.direction==="horizontal"?e.unref(r)("horizontal"):null,e.unref(a)]},e.unref(i.omit)(t,["colon","vertical","labelStyle"])),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}});exports.default=f;
