/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 built by swimly
 * @license MIT
 */

'use strict';

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

var VueCompositionAPI = require('@vue/composition-api');
var modules_menu_index = require('../menu/index.js');
var utils_renderNode = require('../../utils/render-node.js');
var modules_aside_props = require('./props.js');
require('../../utils/withInstall.js');
require('vue');
require('lodash/capitalize');
require('../../config.js');
require('../menu/menu.js');
require('../../components/menu/index.js');
require('../../utils/map-props.js');
require('../../components/menu/menu.js');
require('../../hooks/useConfig.js');
require('../../components/config-provider/useConfig.js');
require('../../components/config-provider/context.js');
require('lodash/merge');
require('lodash/mergeWith');
require('../../chunks/zh_CN.js');
require('../../components/menu/props.js');
require('../../components/menu/v-menu.js');
require('@babel/runtime/helpers/defineProperty');
require('lodash');
require('../../components/menu/head-menu.js');
require('../../components/tabs/index.js');
require('../../components/tabs/tabs.js');
require('../../chunks/helper.js');
require('lodash/kebabCase');
require('../../utils/event.js');
require('../../utils/helper.js');
require('lodash/camelCase');
require('../../components/config-provider/config-receiver.js');
require('../../utils/mixins.js');
require('../../components/tabs/props.js');
require('../../components/tabs/tab-panel.js');
require('../../hooks/useDestroyOnClose.js');
require('../../components/tabs/tab-nav.js');
require('lodash/debounce');
require('@ldesign/icons-vue');
require('../../components/tabs/tab-nav-item.js');
require('../../utils/ripple.js');
require('../../chunks/set-style.js');
require('../../components/menu/sub-menu.js');
require('../../components/common/fake-arrow.js');
require('../../components/menu/menu-item.js');
require('../../components/menu/menu-group.js');
require('../menu/props.js');
require('../menu/menu-item.js');
require('../menu/utils.js');

var _LdesignAside = VueCompositionAPI.defineComponent({
  name: "LdesignAside",
  props: {
    ...modules_aside_props["default"]
  },
  render() {
    const h = arguments[0];
    const prefixContent = utils_renderNode.renderLNodeJSX(this, "prefix");
    const suffixContent = utils_renderNode.renderLNodeJSX(this, "suffix");
    return h("div", {
      "class": {
        "ldesign-aside": true,
        [`ldesign-aside-${this.layout}`]: true
      }
    }, [prefixContent && h("div", {
      "class": "ldesign-aside__head"
    }, [prefixContent]), h("div", {
      "class": "ldesign-aside__content"
    }, [utils_renderNode.renderLNodeJSXDefault(this, "default", h(modules_menu_index.LdesignMenu, {
      "attrs": {
        "allowRouter": true,
        "list": this.list,
        "active": this.active,
        "expand": this.expand,
        "layout": this.layout,
        "expandType": this.expandType,
        "collapsed": this.collapsed,
        "iconUrl": this.iconUrl,
        "mode": this.mode
      }
    }))]), suffixContent && h("div", {
      "class": "ldesign-aside__footer"
    }, [suffixContent])]);
  }
});

exports["default"] = _LdesignAside;
//# sourceMappingURL=aside.js.map
