'use strict';

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

var vue = require('vue');
require('../../../utils/index.js');
var timeline = require('./timeline.js');
var createNamespace = require('../../../utils/create-namespace.js');

"use strict";
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{ name: "LlTimeline" },
  __name: "timeline",
  props: timeline.timelineProps,
  setup(__props) {
    const attrs = vue.useAttrs();
    const bem = createNamespace.createNamespace("timeline");
    return (_ctx, _cache) => {
      const _component_a_timeline = vue.resolveComponent("a-timeline");
      return vue.openBlock(), vue.createBlock(_component_a_timeline, vue.mergeProps(vue.unref(attrs), {
        class: vue.unref(bem).b(),
        pending: _ctx.pending
      }), vue.createSlots({
        pending: vue.withCtx(() => [
          vue.renderSlot(_ctx.$slots, "pending")
        ]),
        _: 2
        /* DYNAMIC */
      }, [
        vue.renderList(Object.keys(_ctx.$slots).filter((slot) => slot !== "pending"), (item) => {
          return {
            name: item,
            fn: vue.withCtx((data) => [
              vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
            ])
          };
        })
      ]), 1040, ["class", "pending"]);
    };
  }
});

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