'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: "LlTimelineItem" },
  __name: "timeline-item",
  props: timeline.timelineItemProps,
  setup(__props) {
    const attrs = vue.useAttrs();
    const bem = createNamespace.createNamespace("timeline-item");
    return (_ctx, _cache) => {
      const _component_ll_icon = vue.resolveComponent("ll-icon");
      const _component_a_timeline_item = vue.resolveComponent("a-timeline-item");
      return vue.openBlock(), vue.createBlock(_component_a_timeline_item, vue.mergeProps(vue.unref(attrs), {
        class: vue.unref(bem).b()
      }), vue.createSlots({
        _: 2
        /* DYNAMIC */
      }, [
        vue.renderList(Object.keys(_ctx.$slots).filter((slot) => slot !== "dot"), (item) => {
          return {
            name: item,
            fn: vue.withCtx((data) => [
              vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
            ])
          };
        }),
        _ctx.dotIcon || _ctx.$slots.dot ? {
          name: "dot",
          fn: vue.withCtx(() => [
            _ctx.$slots.dot ? vue.renderSlot(_ctx.$slots, "dot", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_ll_icon, {
              key: 1,
              "icon-name": _ctx.dotIcon,
              color: "inherit"
            }, null, 8, ["icon-name"]))
          ]),
          key: "0"
        } : void 0
      ]), 1040, ["class"]);
    };
  }
});

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