import { defineComponent, useSlots, ref, resolveComponent, createBlock, openBlock, mergeProps, createSlots, withCtx, unref, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
import { stepProps } from './step.mjs';

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

export { _sfc_main as default };
//# sourceMappingURL=Step.vue2.mjs.map
