const e=require("../../_util/type.js"),t=require("../../_util/props-util/index.js"),n=require("../../_util/vue-types/index.js"),r=require("./hooks/useMenuContext.js"),i=require("./hooks/useKeyPath.js");let a=require("vue");var o=()=>({title:n.default.any,originItemValue:e.objectType()}),s=(0,a.defineComponent)({compatConfig:{MODE:3},name:`AMenuItemGroup`,inheritAttrs:!1,props:o(),slots:Object,setup(e,{slots:n,attrs:o}){let{prefixCls:s}=r.useInjectMenu(),c=(0,a.computed)(()=>`${s.value}-item-group`),l=i.useMeasure();return()=>l?n.default?.():(0,a.createVNode)(`li`,{...o,onClick:e=>e.stopPropagation(),class:c.value},[(0,a.createVNode)(`div`,{title:typeof e.title==`string`?e.title:void 0,class:`${c.value}-title`},[t.getPropsSlot(n,e,`title`)]),(0,a.createVNode)(`ul`,{class:`${c.value}-list`},[n.default?.()])])}});exports.default=s,exports.menuItemGroupProps=o;