'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
var classNames = require('../../_util/classNames.js');
var useMenuContext = require('./hooks/useMenuContext.js');

const InternalSubMenuList = (_props, {
  slots,
  attrs
}) => {
  var _a;
  const {
    prefixCls,
    mode
  } = useMenuContext.useInjectMenu();
  return vue.createVNode("ul", vue.mergeProps(attrs, {
    "class": classNames.default(prefixCls.value, `${prefixCls.value}-sub`, `${prefixCls.value}-${mode.value === "inline" ? "inline" : "vertical"}`),
    "data-menu-list": true
  }), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
};
InternalSubMenuList.displayName = "SubMenuList";

exports.default = InternalSubMenuList;
//# sourceMappingURL=SubMenuList.js.map
