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