'use strict';

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

var vue = require('vue');
var option = require('./option.js');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "GmOption"
  },
  __name: "Option",
  props: option.optionProps,
  setup(__props) {
    const slots = vue.useSlots();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_el_option = vue.resolveComponent("el-option");
      return vue.openBlock(), vue.createElementBlock("div", null, [
        vue.createVNode(
          _component_el_option,
          vue.normalizeProps(vue.guardReactiveProps(props)),
          vue.createSlots({
            _: 2
            /* DYNAMIC */
          }, [
            vue.unref(slots).default ? {
              name: "default",
              fn: vue.withCtx((slotValue) => [
                vue.renderSlot(_ctx.$slots, "default", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
              ]),
              key: "0"
            } : void 0
          ]),
          1040
          /* FULL_PROPS, DYNAMIC_SLOTS */
        )
      ]);
    };
  }
});

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