'use strict';

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

var vue = require('vue');
require('../../../../utils/index.js');
var splitter = require('./splitter.js');
var exports$1 = require('../../../../utils/src/elementPlus/exports.js');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "GmSplitter"
  },
  __name: "Splitter",
  props: splitter.splitterProps,
  setup(__props, { expose: __expose }) {
    const slots = vue.useSlots();
    const props = __props;
    const elRef = vue.ref();
    const exposeNames = [];
    const { exposeFns } = exports$1.getGmExports(elRef, exposeNames);
    __expose({
      ...exposeFns
    });
    return (_ctx, _cache) => {
      const _component_el_splitter = vue.resolveComponent("el-splitter");
      return vue.openBlock(), vue.createBlock(
        _component_el_splitter,
        vue.mergeProps({
          ref_key: "elRef",
          ref: elRef
        }, props),
        vue.createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          vue.unref(slots).default ? {
            name: "default",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "default")
            ]),
            key: "0"
          } : void 0,
          vue.unref(slots)["start-collapsible"] ? {
            name: "start-collapsible",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "start-collapsible")
            ]),
            key: "1"
          } : void 0,
          vue.unref(slots)["end-collapsible"] ? {
            name: "end-collapsible",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "end-collapsible")
            ]),
            key: "2"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

exports.default = _sfc_main;
//# sourceMappingURL=Splitter.vue2.js.map
