ll-package
Version:
2 lines (1 loc) • 1.82 kB
JavaScript
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../node_modules/ant-design-vue/es/timeline/index.js");const a=require("../../../../node_modules/ant-design-vue/es/timeline/Timeline.js"),d=require("../../../../node_modules/ant-design-vue/es/timeline/TimelineItem.js"),c={key:0},u=e.defineComponent({name:"LlTimeline"}),p=e.defineComponent({...u,props:{items:{default:()=>[]},mode:{},reverse:{type:Boolean,default:!1}},setup(r){const l=r;return(n,m)=>{const s=e.resolveComponent("LoadingOutlined"),i=e.resolveComponent("ll-icon");return e.openBlock(),e.createBlock(e.unref(a.default),{mode:l.mode,reverse:l.reverse},e.createSlots({default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,(o,t)=>(e.openBlock(),e.createBlock(e.unref(d.default),{key:t,color:o.color,position:o.position},e.createSlots({default:e.withCtx(()=>[e.renderSlot(n.$slots,"content",{index:t,item:o},()=>[e.createElementVNode("span",null,e.toDisplayString(o.title),1)])]),_:2},[o.changeDot?{name:"dot",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"dot",{index:t,item:o},()=>[e.createVNode(i,{"icon-name":"icon-question"})])]),key:"0"}:void 0,o.label?{name:"label",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"label",{index:t,item:o},()=>[typeof o.label=="string"?(e.openBlock(),e.createElementBlock("span",c,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1032,["color","position"]))),128))]),_:2},[n.$slots.pending?{name:"pending",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"pending")]),key:"0"}:void 0,n.$slots.pending?{name:"pendingDot",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"pendingDot",{},()=>[e.createVNode(s)])]),key:"1"}:void 0]),1032,["mode","reverse"])}}});exports.default=p;
;