import { defineComponent, useSlots, provide, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from 'vue';
import { useNamespace, TIMELINE_INJECTION_KEY } from 'element-plus';
import { timelineProps } from './timeline.mjs';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "GmTimeline"
  },
  __name: "Timeline",
  props: timelineProps,
  setup(__props) {
    const props = __props;
    const slots = useSlots();
    const ns = useNamespace("timeline");
    provide(TIMELINE_INJECTION_KEY, { props, slots });
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock(
        "ul",
        {
          class: normalizeClass([unref(ns).b(), unref(ns).is(props.mode)])
        },
        [
          renderSlot(_ctx.$slots, "default")
        ],
        2
        /* CLASS */
      );
    };
  }
});

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