import { defineComponent, useSlots, resolveComponent, createBlock, openBlock, mergeProps, createSlots, withCtx, unref, renderSlot } from 'vue';
import { menuItemGroupProps } from './menuItemGroup.mjs';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "GmMenuItemGroup"
  },
  __name: "MenuItemGroup",
  props: menuItemGroupProps,
  setup(__props) {
    const slots = useSlots();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_el_menu_item_group = resolveComponent("el-menu-item-group");
      return openBlock(), createBlock(
        _component_el_menu_item_group,
        mergeProps({ ref: "elRef" }, props),
        createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          unref(slots).default ? {
            name: "default",
            fn: withCtx(() => [
              renderSlot(_ctx.$slots, "default")
            ]),
            key: "0"
          } : void 0,
          unref(slots).title ? {
            name: "title",
            fn: withCtx(() => [
              renderSlot(_ctx.$slots, "title")
            ]),
            key: "1"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

export { _sfc_main as default };
//# sourceMappingURL=MenuItemGroup.vue2.mjs.map
