/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

import Vue from 'vue';
import { PREFIX } from '../../config.js';
import { renderLNodeJSX } from '../../utils/render-node.js';
import { AsideProps } from './props.js';
import 'lodash';

var _Aside = Vue.extend({
  name: "LAside",
  inject: {
    layout: {
      default: void 0
    }
  },
  props: {
    ...AsideProps
  },
  data() {
    return {};
  },
  mounted() {
    this.layout.hasSider = true;
  },
  unmounted() {
    this.layout.hasSider = false;
  },
  render() {
    const h = arguments[0];
    const styles = this.width ? {
      width: this.width
    } : {};
    return h("aside", {
      "class": `${PREFIX}-layout__sider`,
      "style": styles
    }, [renderLNodeJSX(this, "default")]);
  }
});

export { _Aside as default };
//# sourceMappingURL=aside.js.map
