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