import{d as m,a_ as u,bd as w,b9 as T,aC as p,aY as S,b5 as $,Y as B,o as l,c as o,g as r,T as s,a,ao as x,x as y,w as E,aK as z,bb as C,a0 as n,t as f,a$ as I,b0 as Y,b3 as K,__tla as P}from"./index-8dc1e40a.js";let v,b,j=Promise.all([(()=>{try{return P}catch{}})()]).then(async()=>{const g=m({name:"ElTimeline",setup(d,{slots:i}){const e=u("timeline");return w("timeline",i),()=>T("ul",{class:[e.b()]},[p(i,"default")])}}),_=S({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:$},hollow:{type:Boolean,default:!1}}),h=m({name:"ElTimelineItem"});var c=I(m({...h,props:_,setup(d){const i=d,e=u("timeline-item"),k=B(()=>[e.e("node"),e.em("node",i.size||""),e.em("node",i.type||""),e.is("hollow",i.hollow)]);return(t,q)=>(l(),o("li",{class:s([a(e).b(),{[a(e).e("center")]:t.center}])},[r("div",{class:s(a(e).e("tail"))},null,2),t.$slots.dot?n("v-if",!0):(l(),o("div",{key:0,class:s(a(k)),style:x({backgroundColor:t.color})},[t.icon?(l(),y(a(C),{key:0,class:s(a(e).e("icon"))},{default:E(()=>[(l(),y(z(t.icon)))]),_:1},8,["class"])):n("v-if",!0)],6)),t.$slots.dot?(l(),o("div",{key:1,class:s(a(e).e("dot"))},[p(t.$slots,"dot")],2)):n("v-if",!0),r("div",{class:s(a(e).e("wrapper"))},[t.hideTimestamp||t.placement!=="top"?n("v-if",!0):(l(),o("div",{key:0,class:s([a(e).e("timestamp"),a(e).is("top")])},f(t.timestamp),3)),r("div",{class:s(a(e).e("content"))},[p(t.$slots,"default")],2),t.hideTimestamp||t.placement!=="bottom"?n("v-if",!0):(l(),o("div",{key:1,class:s([a(e).e("timestamp"),a(e).is("bottom")])},f(t.timestamp),3))],2)],2))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);b=Y(g,{TimelineItem:c}),v=K(c)});export{v as E,j as __tla,b as a};
