'use strict';

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

var vue = require('vue');
require('../../../../utils/index.js');
var index = require('element-plus/es/components/tour/index');
var tourStep = require('./tourStep.js');
var event = require('../../../../utils/src/elementPlus/event.js');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "GmTourStep"
  },
  __name: "TourStep",
  props: tourStep.tourStepProps,
  emits: tourStep.tourStepEmits,
  setup(__props, { emit: __emit }) {
    const slots = vue.useSlots();
    const props = __props;
    const emit = __emit;
    const elEvents = event.getGmEvent(index.tourStepEmits, emit);
    return (_ctx, _cache) => {
      const _component_el_tour_step = vue.resolveComponent("el-tour-step");
      return vue.openBlock(), vue.createBlock(
        _component_el_tour_step,
        vue.mergeProps({ ref: "elRef" }, props, vue.toHandlers(vue.unref(elEvents))),
        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).header ? {
            name: "header",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "header")
            ]),
            key: "1"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

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