import { defineComponent, openBlock, createElementBlock, createElementVNode, renderSlot, normalizeClass, withDirectives, vShow } from "vue";
var index_vue_vue_type_style_index_0_lang = "";
const _hoisted_1 = {
  class: "container",
  "data-weiling-mobile-ui-bc-container": ""
};
const _hoisted_2 = { class: "header" };
const _hoisted_3 = { class: "aside" };
const _hoisted_4 = { class: "content" };
const _hoisted_5 = { class: "footer" };
const __default__ = {
  name: "BCContainer"
};
const _sfc_main = /* @__PURE__ */ defineComponent({
  ...__default__,
  props: {
    footerVisible: { type: Boolean, default: false },
    isCollapse: { type: Boolean, default: false }
  },
  setup(__props) {
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("div", _hoisted_1, [
        createElementVNode("div", _hoisted_2, [
          renderSlot(_ctx.$slots, "header")
        ]),
        createElementVNode("div", {
          class: normalizeClass(`main ${__props.footerVisible ? "footerVisible" : ""}`)
        }, [
          withDirectives(createElementVNode("div", _hoisted_3, [
            renderSlot(_ctx.$slots, "aside")
          ], 512), [
            [vShow, __props.isCollapse]
          ]),
          createElementVNode("div", _hoisted_4, [
            renderSlot(_ctx.$slots, "content")
          ])
        ], 2),
        createElementVNode("div", _hoisted_5, [
          renderSlot(_ctx.$slots, "footer")
        ])
      ]);
    };
  }
});
var __uno = "";
_sfc_main.install = (app) => {
  app.component(_sfc_main.name, _sfc_main);
};
export { _sfc_main as default };
