'use strict';

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

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

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "GmStep"
  },
  __name: "Step",
  props: step.stepProps,
  setup(__props, { expose: __expose }) {
    const slots = vue.useSlots();
    const props = __props;
    const elRef = vue.ref();
    __expose({
      elRef
    });
    return (_ctx, _cache) => {
      const _component_el_step = vue.resolveComponent("el-step");
      return vue.openBlock(), vue.createBlock(
        _component_el_step,
        vue.mergeProps({
          ref_key: "elRef",
          ref: elRef
        }, props),
        vue.createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          vue.unref(slots).icon ? {
            name: "icon",
            fn: vue.withCtx((slotValue) => [
              vue.renderSlot(_ctx.$slots, "icon", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
            ]),
            key: "0"
          } : void 0,
          vue.unref(slots).title ? {
            name: "title",
            fn: vue.withCtx((slotValue) => [
              vue.renderSlot(_ctx.$slots, "title", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
            ]),
            key: "1"
          } : void 0,
          vue.unref(slots).description ? {
            name: "description",
            fn: vue.withCtx((slotValue) => [
              vue.renderSlot(_ctx.$slots, "description", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
            ]),
            key: "2"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

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