1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
| import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, createTextVNode, toDisplayString, renderSlot } from 'vue';
| import '../../../hooks/index.mjs';
| import { menuItemGroupProps } from './menu-item-group.mjs';
| import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
| import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
| const COMPONENT_NAME = "ElMenuItemGroup";
| const _sfc_main = defineComponent({
| name: COMPONENT_NAME,
| props: menuItemGroupProps,
| setup() {
| const ns = useNamespace("menu-item-group");
| return {
| ns
| };
| }
| });
| function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
| return openBlock(), createElementBlock("li", {
| class: normalizeClass(_ctx.ns.b())
| }, [
| createElementVNode("div", {
| class: normalizeClass(_ctx.ns.e("title"))
| }, [
| !_ctx.$slots.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
| createTextVNode(toDisplayString(_ctx.title), 1)
| ], 64)) : renderSlot(_ctx.$slots, "title", { key: 1 })
| ], 2),
| createElementVNode("ul", null, [
| renderSlot(_ctx.$slots, "default")
| ])
| ], 2);
| }
| var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);
|
| export { MenuItemGroup as default };
| //# sourceMappingURL=menu-item-group2.mjs.map
|
|