1import{a as Pe,b as Me,c as Oe}from"./chunk-W2BSQ2AD.js";import{a as D,g as Y,h as J,m as K,n as ee}from"./chunk-XNNSOCK7.js";import"./chunk-3TLZ5TMP.js";import"./chunk-U4WAIIOU.js";import{$b as se,Dd as W,Ed as X,Hd as U,Lc as _e,Mc as ke,Oc as Ae,Qc as Re,Yc as we,_a as C,ab as F,ac as pe,ad as He,nd as Le,p as ye,zc as q}from"./chunk-BS5JWHVW.js";import{Ac as B,Bc as y,Fc as h,Gc as e,Hc as ae,Ib as p,Ic as re,Jb as xe,Kd as Be,Lc as Ne,Mc as ve,Nc as Fe,Ob as z,Rc as De,Vb as r,Wb as Ce,Xb as $,aa as V,ad as T,cc as k,ec as Se,f as ze,fc as he,gc as Te,h as fe,ha as ge,hc as t,hd as de,ia as Ee,ic as n,jc as s,kc as Z,lc as Q,ld as Ie,mc as me,qc as v,rb as o,sc as S,tc as oe,uc as le,wa as ie,xa as u,xb as _,ya as c,yc as be,zc as A}from"./chunk-NACBYLXS.js";import"./chunk-EQDQRRRY.js";var Qe=["template"],Ze=["*"];function je(m,l){if(m&1&&(Z(0),e(1),Q()),m&2){let i=S(3);o(),ae(i.nzLabel)}}function Ve(m,l){if(m&1&&(t(0,"div",2),z(1,je,2,1,"ng-container",5),n()),m&2){let i=S(2);o(),r("nzStringTemplateOutlet",i.nzLabel)}}
1function $e(m,l){if(m&1&&(Z(0),e(1),Q()),m&2){let i=S(2);o(),ae(i.nzDot)}}function qe(m,l){if(m&1&&(t(0,"li",1),z(1,Ve,2,1,"div",2),s(2,"div",3),t(3,"div",4),z(4,$e,2,1,"ng-container",5),n(),t(5,"div",6),le(6),n()()),m&2){let i=S();$("ant-timeline-item-right",(i.nzPosition||i.position)==="right")("ant-timeline-item-left",(i.nzPosition||i.position)==="left")("ant-timeline-item-last",i.isLast),o(),k(i.nzLabel?1:-1),o(2),Ce("border-color",i.borderColor),$("ant-timeline-item-head-red",i.nzColor==="red")("ant-timeline-item-head-blue",i.nzColor==="blue")("ant-timeline-item-head-green",i.nzColor==="green")("ant-timeline-item-head-gray",i.nzColor==="gray")("ant-timeline-item-head-custom",!!i.nzDot),o(),r("nzStringTemplateOutlet",i.nzDot)}}function We(m,l){if(m&1&&me(0,2),m&2){S();let i=h(6);r("ngTemplateOutlet",i)}}function Xe(m,l){}function Ue(m,l){if(m&1&&z(0,Xe,0,0,"ng-template",2),m&2){let i=l.$implicit;r("ngTemplateOutlet",i.template)}}function Ye(m,l){if(m&1&&me(0,2),m&2){S();let i=h(6);r("ngTemplateOutlet",i)}}function Je(m,l){m&1&&s(0,"nz-icon",8)}
1function Ke(m,l){if(m&1&&(Z(0),e(1),z(2,Je,1,0,"nz-icon",8),Q()),m&2){let i=S(3);o(),re(" ",i.nzPendingDot," "),o(),k(i.nzPendingDot?-1:2)}}function et(m,l){if(m&1&&(Z(0),e(1),Q()),m&2){let i=S(3);o(),re(" ",i.isPendingBoolean?"":i.nzPending," ")}}function tt(m,l){if(m&1&&(t(0,"li",3),s(1,"div",4),t(2,"div",5),z(3,Ke,3,2,"ng-container",6),n(),t(4,"div",7),z(5,et,2,1,"ng-container",6),n()()),m&2){let i=S(2);o(3),r("nzStringTemplateOutlet",i.nzPendingDot),o(2),r("nzStringTemplateOutlet",i.nzPending)}}function nt(m,l){if(m&1&&z(0,tt,6,2,"li",3),m&2){let i=S();k(i.nzPending?0:-1)}}var it=["red","blue","green","grey","gray"],ue=(()=>{class m{check$=new fe(1);markForCheck(){this.check$.next()}static \u0275fac=function(a){return new(a||m)};static \u0275prov=ge({token:m,factory:m.\u0275fac})}return m})();function mt(m){return it.findIndex(l=>l===m)!==-1}var g=(()=>{class m{cdr;timelineService;template;nzPosition;nzColor="blue";nzDot;nzLabel;isLast=!1;borderColor=null;position;constructor(i,a){this.cdr=i,this.timelineService=a}ngOnChanges(i){this.timelineService.markForCheck(),i.nzColor&&this.updateCustomColor()}detectChanges(){this.cdr.detectChanges()}updateCustomColor(){this.borderColor=mt(this.nzColor)?null:this.nzColor}static \u0275fac=function(a){return new(a||m)(_(de),_(ue))};static \u0275cmp=p({type:m,selectors:[["nz-timeline-item"],["","nz-timeline-item",""]],viewQuery:function(a,d){if(a&1&&A(Qe,5),a&2){let f;B(f=y())&&(d.template=f.first)}},inputs:{nzPosition:"nzPosition",nzColor:"nzColor",nzDot:"nzDot",nzLabel:"nzLabel"},exportAs:["nzTimelineItem"],features:[ie],ngContentSelectors:Ze,decls:2,vars:0,consts:[["template",""],[1,"ant-timeline-item"],[1,"ant-timeline-item-label"],[1,"ant-timeline-item-tail"],[1,"ant-timeline-item-head"],[4,"nzStringTemplateOutlet"],[1,"ant-timeline-item-content"]],template:function(a,d){a&1&&(oe(),z(0,qe,7,20,"ng-template",null,0,T))},dependencies:[pe,se],encapsulation:2,changeDetection:0})}return m})(),E=(()=>{class m{cdr;timelineService;directionality;listOfItems;nzMode="left";nzPending;nzPendingDot;nzReverse=!1;isPendingBoolean=!1;timelineItems=[];dir="ltr";hasLabelItem=!1;destroy$=new ze;constructor(i,a,d){this.cdr=i,this.timelineService=a,this.directionality=d}ngOnChanges(i){let{nzMode:a,nzReverse:d,nzPending:f}=i;(Ge(a)||Ge(d))&&this.updateChildren(),f&&(this.isPendingBoolean=f.currentValue===!0)}ngOnInit(){this.timelineService.check$.pipe(V(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.directionality.change?.pipe(V(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.updateChildren(),this.listOfItems.changes.pipe(V(this.destroy$)).subscribe(()=>{this.updateChildren()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateChildren(){if(this.listOfItems&&this.listOfItems.length){let i=this.listOfItems.length,a=!1;this.listOfItems.forEach((d,f)=>{d.isLast=this.nzReverse?f===0:f===i-1,d.position=ot(f,this.nzMode),!a&&d.nzLabel&&(a=!0),d.detectChanges()}),this.timelineItems=this.nzReverse?this.listOfItems.toArray().reverse():this.listOfItems.toArray(),this.hasLabelItem=a}else this.timelineItems=[],this.hasLabelItem=!1;this.cdr.markForCheck()}static \u0275fac=function(a){return new(a||m)(_(de),_(ue),_(ye))};static \u0275cmp=p({type:m,selectors:[["nz-timeline"]],contentQueries:function(a,d,f){if(a&1&&be(f,g,4),a&2){let ce;B(ce=y())&&(d.listOfItems=ce)}},inputs:{nzMode:"nzMode",nzPending:"nzPending",nzPendingDot:"nzPendingDot",nzReverse:[2,"nzReverse","nzReverse",Ie]},exportAs:["nzTimeline"],features:[De([ue]),ie],ngContentSelectors:Ze,decls:8,vars:14,consts:[["pendingTemplate",""],[1,"ant-timeline"],[3,"ngTemplateOutlet"],[1,"ant-timeline-item","ant-timeline-item-pending"],[1,"ant-timeline-item-tail"],[1,"ant-timeline-item-head","ant-timeline-item-head-custom","ant-timeline-item-head-blue"],[4,"nzStringTemplateOutlet"],[1,"ant-timeline-item-content"],["nzType","loading"]],template:function(a,d){a&1&&(oe(),t(0,"ul",1),z(1,We,1,1,"ng-container",2),he(2,Ue,1,1,null,2,Se),z(4,Ye,1,1,"ng-container",2),n(),z(5,nt,1,1,"ng-template",null,0,T),le(7)),a&2&&($("ant-timeline-label",d.hasLabelItem)("ant-timeline-right",!d.hasLabelItem&&d.nzMode==="right")("ant-timeline-alternate",d.nzMode==="alternate"||d.nzMode==="custom")("ant-timeline-pending",!!d.nzPending)("ant-timeline-reverse",d.nzReverse)("ant-timeline-rtl",d.dir==="rtl"),o(),k(d.nzReverse?1:-1),o(),Te(d.timelineItems),o(2),k(d.nzReverse?-1:4))},dependencies:[Be,pe,se,F,C],encapsulation:2,changeDetection:0})}return m})();function Ge(m){return!!(m&&(m.previousValue!==m.currentValue||m.isFirstChange()))}
1function ot(m,l){return l==="custom"?void 0:l==="left"?"left":l==="right"?"right":l==="alternate"&&m%2===0?"left":"right"}var x=(()=>{class m{static \u0275fac=function(a){return new(a||m)};static \u0275mod=xe({type:m});static \u0275inj=Ee({imports:[g,E]})}return m})();function lt(m,l){m&1&&s(0,"nz-icon",5)}var R=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-alternate"]],decls:15,vars:2,consts:[["dotTemplate",""],["nzMode","alternate"],["nzColor","green"],[3,"nzDot"],["nzColor","red"],["nzType","clock-circle-o",2,"font-size","16px"]],template:function(i,a){if(i&1&&(t(0,"nz-timeline",1)(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),n(),t(3,"nz-timeline-item",2),e(4,"Solve initial network problems 2015-09-01"),n(),t(5,"nz-timeline-item",3),e(6," Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. "),n(),t(7,"nz-timeline-item",4),e(8,"Network problems being solved 2015-09-01"),n(),t(9,"nz-timeline-item"),e(10,"Create a services site 2015-09-01"),n(),t(11,"nz-timeline-item",3),e(12,"Technical testing 2015-09-01"),n()(),z(13,lt,1,0,"ng-template",null,0,T)),i&2){let d=h(14);o(5),r("nzDot",d),o(6),r("nzDot",d)}},dependencies:[F,C,x,g,E],encapsulation:2})};var w=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-basic"]],decls:9,vars:0,template:function(i,a){i&1&&(t(0,"nz-timeline")(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),n(),t(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),n(),t(5,"nz-timeline-item"),e(6,"Technical testing 2015-09-01"),n(),t(7,"nz-timeline-item"),e(8,"Network problems being solved 2015-09-01"),n()())},dependencies:[x,g,E],encapsulation:2})};var H=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-color"]],decls:33,vars:0,consts:[["nzColor","green"],["nzColor","red"],["nzColor","gray"]],template:function(i,a){i&1&&(t(0,"nz-timeline")(1,"nz-timeline-item",0),e(2,"Create a services site 2015-09-01"),n(),t(3,"nz-timeline-item",0),e(4,"Solve initial network problems 2015-09-01"),n(),t(5,"nz-timeline-item",1)(6,"p"),e(7,"Solve initial network problems 1"),n(),t(8,"p"),e(9,"Solve initial network problems 2"),n(),t(10,"p"),e(11,"Solve initial network problems 3 2015-09-01"),n()(),t(12,"nz-timeline-item")(13,"p"),e(14,"Technical testing 1"),n(),t(15,"p"),e(16,"Technical testing 2"),n(),t(17,"p"),e(18,"Technical testing 3 2015-09-01"),n()(),t(19,"nz-timeline-item",2)(20,"p"),e(21,"Technical testing 1"),n(),t(22,"p"),e(23,"Technical testing 2"),n(),t(24,"p"),e(25,"Technical testing 3 2015-09-01"),n()(),t(26,"nz-timeline-item",2)(27,"p"),e(28,"Technical testing 1"),n(),t(29,"p"),e(30,"Technical testing 2"),n(),t(31,"p"),e(32,"Technical testing 3 2015-09-01"),n()()())},dependencies:[x,g,E],encapsulation:2})};function at(m,l){m&1&&s(0,"nz-icon",2)}var L=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-custom"]],decls:11,vars:1,consts:[["dotTemplate",""],["nzColor","red",3,"nzDot"],["nzType","clock-circle-o",2,"font-size","16px"]],template:function(i,a){if(i&1&&(t(0,"nz-timeline")(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),n(),t(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),n(),t(5,"nz-timeline-item",1),e(6,"Technical testing 2015-09-01"),n(),t(7,"nz-timeline-item"),e(8,"Network problems being solved 2015-09-01"),n()(),z(9,at,1,0,"ng-template",null,0,T)),i&2){let d=h(10);o(5),r("nzDot",d)}},dependencies:[F,C,x,g,E],encapsulation:2})};var P=class m{mode="left";static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-label"]],decls:18,vars:2,consts:[[3,"ngModelChange","ngModel"],["nz-radio","","nzValue","left"],["nz-radio","","nzValue","right"],["nz-radio","","nzValue","alternate"],[3,"nzMode"],["nzLabel","2015-09-01"],["nzLabel","2015-09-01 09:12:11"]],template:function(i,a){i&1&&(t(0,"nz-radio-group",0),Fe("ngModelChange",function(f){return ve(
1a.mode,f)||(a.mode=f),f}),t(1,"label",1),e(2,"Left"),n(),t(3,"label",2),e(4,"Right"),n(),t(5,"label",3),e(6,"Alternative"),n()(),s(7,"br")(8,"br"),t(9,"nz-timeline",4)(10,"nz-timeline-item",5),e(11,"Create a services"),n(),t(12,"nz-timeline-item",6),e(13,"Solve initial network problems"),n(),t(14,"nz-timeline-item"),e(15,"Technical testing"),n(),t(16,"nz-timeline-item",6),e(17,"Network problems being solved"),n()()),i&2&&(Ne("ngModel",a.mode),o(9),r("nzMode",a.mode))},dependencies:[Le,we,He,Oe,Me,Pe,x,g,E],encapsulation:2})};var M=class m{reverse=!1;toggleReverse(){this.reverse=!this.reverse}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-pending"]],decls:11,vars:1,consts:[["nzPending","Recording...",3,"nzReverse"],["nz-button","","nzType","primary",3,"click"]],template:function(i,a){i&1&&(t(0,"nz-timeline",0)(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),n(),t(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),n(),t(5,"nz-timeline-item"),e(6,"Technical testing 2015-09-01"),n()(),s(7,"br")(8,"br"),t(9,"button",1),v("click",function(){return a.toggleReverse()}),e(10,"Toggle Reverse"),n()),i&2&&r("nzReverse",a.reverse)},dependencies:[Re,Ae,_e,ke,x,g,E],encapsulation:2})};function rt(m,l){m&1&&e(0,"\u26BD")}var O=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-position"]],decls:11,vars:4,consts:[["soccerTemplate",""],["nzMode","custom"],["nzPosition","left",3,"nzDot"],["nzPosition","right","nzColor","red",3,"nzDot"]],template:function(i,a){if(i&1&&(t(0,"nz-timeline",1)(1,"nz-timeline-item",2),e(2,"Alice 20'"),n(),t(3,"nz-timeline-item",2),e(4,"Susan 28'"),n(),t(5,"nz-timeline-item",3),e(6,"Tim 45'"),n(),t(7,"nz-timeline-item",2),e(8,"Bob 79'"),n()(),z(9,rt,1,0,"ng-template",null,0,T)),i&2){let d=h(10);o(),r("nzDot",d),o(2),r("nzDot",d),o(2),r("nzDot",d),o(2),r("nzDot",d)}},dependencies:[x,g,E],encapsulation:2})};function dt(m,l){m&1&&s(0,"nz-icon",3)}var G=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline-right"]],decls:11,vars:1,consts:[["dotTemplate",""],["nzMode","right"],["nzColor","red",3,"nzDot"],["nzType","clock-circle-o",2,"font-size","16px"]],template:function(i,a){if(i&1&&(t(0,"nz-timeline",1)(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),n(),t(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),n(),t(5,"nz-timeline-item",2),e(6,"Technical testing 2015-09-01"),n(),t(7,"nz-timeline-item"),e(8,"Network problems being solved 2015-09-01"),n()(),z(9,dt,1,0,"ng-template",null,0,T)),i&2){let d=h(10);o(5),r("nzDot",d)}},dependencies:[F,C,x,g,E],encapsulation:2})};var te=class m{expanded=!1;codeBoxes;goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline"]],viewQuery:function(i,a){if(i&1&&A(D,5),i&2){let d;B(d=y())&&(a.codeBoxes=d)}},decls:330,vars:47,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-timeline-demo-basic","nzTitle","\u57FA\u672C\u7528\u6CD5"],["nzHref","#components-timeline-demo-color","nzTitle","\u5706\u5708\u989C\u8272"],["nzHref","#components-timeline-demo-pending","nzTitle","\u6700\u540E\u4E00\u4E2A\u53CA\u6392\u5E8F"],["nzHref","#components-timeline-demo-alternate","nzTitle","\u4EA4\u66FF\u5C55\u73B0"],["nzHref","#components-timeline-demo-custom","nzTitle","\u81EA\u5B9A\u4E49\u65F6\u95F4\u8F74\u70B9"],["nzHref","#components-timeline-demo-right","nzTitle","\u53F3\u4FA7\u65F6\u95F4\u8F74\u70B9"],["nzHref","#components-timeline-demo-position","nzTitle","\u81EA\u5B9A\u4E49\u4F4D\u7F6E"],["nzHref","#components-timeline-demo-label","nzTitle","\u6807\u7B7E"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["name","timeline","description","\u5782\u76F4\u5C55\u793A\u7684\u65F6\u95F4\u6D41\u4FE1\u606F\u3002","language","zh"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","\u57FA\u672C\u7528\u6CD5","nzSelector","nz-demo-timeline-basic","nzGenerateCommand","ng g ng-zorro-antd:timeline-basic <name>","nzComponentName","NzDemoTimelineBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u6700\u540E\u4E00\u4E2A\u53CA\u6392\u5E8F","nzSelector","nz-demo-timeline-pending","nzGenerateCommand","ng g ng-zorro-antd:timeline-pending <name>","nzComponentName","NzDemoTimelinePendingComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u65F6\u95F4\u8F74\u70B9","nzSelector","nz-demo-timeline-custom","nzGenerateCommand","ng g ng-zorro-antd:timeline-custom <name>","nzComponentName","NzDemoTimelineCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u4F4D\u7F6E","nzSelector","nz-demo-timeline-position","nzGenerateCommand","ng g ng-zorro-antd:timeline-position <name>","nzComponentName","NzDemoTimelinePositionComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5706\u5708\u989C\u8272","nzSelector","nz-demo-timeline-color","nzGenerateCommand","ng g ng-zorro-antd:timeline-color <name>","nzComponentName","NzDemoTimelineColorComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4EA4\u66FF\u5C55\u73B0","nzSelector","nz-demo-timeline-alternate","nzGenerateCommand","ng g ng-zorro-antd:timeline-alternate <name>","nzComponentName","NzDemoTimelineAlternateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u53F3\u4FA7\u65F6\u95F4\u8F74\u70B9","nzSelector","nz-demo-timeline-right","nzGenerateCommand","ng g ng-zorro-antd:timeline-right <name>","nzComponentName","NzDemoTimelineRightComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u6807\u7B7E","nzSelector","nz-demo-timeline-label","nzGenerateCommand","ng g ng-zorro-antd:timeline-label <name>","nzComponentName","NzDemoTimelineLabelComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","punctuation"],["id","nz-timeline"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-timeline'",1,"anchor"],["id","nz-timeline-item"],["onclick","window.location.hash = 'nz-timeline-item'",1,"anchor"]],template:function(i,a){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),v("nzClick",function(f){return a.goLink(f)}),s(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),n()(),t(12,"
1section",11)(13,"h1"),e(14,"Timeline"),t(15,"span",12),e(16,"\u65F6\u95F4\u8F74"),n(),s(17,"span",13),t(18,"a",14),s(19,"nz-icon",15),n()(),s(20,"component-meta",16),t(21,"section",11),c(),t(22,"h2",17)(23,"span"),e(24,"\u4F55\u65F6\u4F7F\u7528"),n(),t(25,"a",18),e(26,"#"),n()(),t(27,"ul")(28,"li"),e(29,"\u5F53\u6709\u4E00\u7CFB\u5217\u4FE1\u606F\u9700\u6309\u65F6\u95F4\u6392\u5217\u65F6\uFF0C\u53EF\u6B63\u5E8F\u548C\u5012\u5E8F\u3002"),n(),t(30,"li"),e(31,"\u9700\u8981\u6709\u4E00\u6761\u65F6\u95F4\u8F74\u8FDB\u884C\u89C6\u89C9\u4E0A\u7684\u4E32\u8054\u65F6\u3002"),n()(),u(),n(),t(32,"h2")(33,"span"),e(34,"\u4EE3\u7801\u6F14\u793A"),n(),t(35,"nz-icon",19),v("click",function(){return a.expandAllCode()}),n()()(),t(36,"div",20)(37,"div",21)(38,"nz-code-box",22),s(39,"nz-demo-timeline-basic",23),t(40,"div",24),c(),t(41,"p"),e(42,"\u57FA\u672C\u7684\u65F6\u95F4\u8F74\u3002"),n(),u(),n()(),t(43,"nz-code-box",25),s(44,"nz-demo-timeline-pending",23),t(45,"div",24),c(),t(46,"p"),e(47,"\u5F53\u4EFB\u52A1\u72B6\u6001\u6B63\u5728\u53D1\u751F\uFF0C\u8FD8\u5728\u8BB0\u5F55\u8FC7\u7A0B\u4E2D\uFF0C\u53EF\u7528\u5E7D\u7075\u8282\u70B9\u6765\u8868\u793A\u5F53\u524D\u7684\u65F6\u95F4\u8282\u70B9\uFF0C\u5F53 "),t(48,"code"),e(49,"nzPending"),n(),e(50," \u4E3A\u771F\u503C\u65F6\u5C55\u793A\u5E7D\u7075\u8282\u70B9\uFF0C\u5982\u679C "),t(51,"code"),e(52,"nzPending"),n(),e(53," \u662F Template \u53EF\u7528\u4E8E\u5B9A\u5236\u8BE5\u8282\u70B9\u5185\u5BB9\uFF0C\u540C\u65F6 "),t(54,"code"),e(55,"nzPendingDot"),n(),e(56," \u5C06\u53EF\u4EE5\u7528\u4E8E\u5B9A\u5236\u5176\u8F74\u70B9\u3002"),t(57,"code"),e(58,"nzReverse"),n(),e(59," \u5C5E\u6027\u7528\u4E8E\u63A7\u5236\u8282\u70B9\u6392\u5E8F\uFF0C\u4E3A "),t(60,"code"),e(61,"false"),n(),e(62," \u65F6\u6309\u6B63\u5E8F\u6392\u5217\uFF0C\u4E3A "),t(63,"code"),e(64,"true"),n(),e(65," \u65F6\u6309\u5012\u5E8F\u6392\u5217\u3002"),n(),u(),n()(),t(66,"nz-code-box",26),s(67,"nz-demo-timeline-custom",23),t(68,"div",24),c(),t(69,"p"),e(70,"\u53EF\u4EE5\u8BBE\u7F6E\u4E3A\u56FE\u6807\u6216\u5176\u4ED6\u81EA\u5B9A\u4E49\u5143\u7D20\u3002"),n(),u(),n()(),t(71,"nz-code-box",27),s(72,"nz-demo-timeline-position",23),t(73,"div",24),c(),t(74,"p"),e(75,"\u53EF\u4EE5\u4E3A\u6BCF\u4E00\u9879\u6307\u5B9A\u4F4D\u7F6E\u3002"),n(),u(),n()()(),t(76,"div",21)(77,"nz-code-box",28),s(78,"nz-demo-timeline-color",23),t(79,"div",24),c(),t(80,"p"),e(81,"\u5706\u5708\u989C\u8272\uFF0C\u7EFF\u8272\u7528\u4E8E\u5DF2\u5B8C\u6210\u3001\u6210\u529F\u72B6\u6001\uFF0C\u7EA2\u8272\u8868\u793A\u544A\u8B66\u6216\u9519\u8BEF\u72B6\u6001\uFF0C\u84DD\u8272\u53EF\u8868\u793A\u6B63\u5728\u8FDB\u884C\u6216\u5176\u4ED6\u9ED8\u8BA4\u72B6\u6001\uFF0C\u7070\u8272\u8868\u793A\u672A\u5B8C\u6210\u6216\u5931\u6548\u72B6\u6001\u3002"),n(),u(),n()(),t(82,"nz-code-box",29),s(83,"nz-demo-timeline-alternate",23),t(84,"div",24),c(),t(85,"p"),e(86,"\u5185\u5BB9\u5728\u65F6\u95F4\u8F74\u4E24\u4FA7\u4EA4\u66FF\u51FA\u73B0\u3002"),n(),u(),n()(),t(87,"nz-code-box",30),s(88,"nz-demo-timeline-right",23),t(89,"div",24),c(),t(90,"p"),e(91,"\u65F6\u95F4\u8F74\u53EF\u4EE5\u5728\u5185\u5BB9\u7684\u53F3\u8FB9\u3002"),n(),u(),n()(),t(92,"nz-code-box",31),s(93,"nz-demo-timeline-label",23),t(94,"div",24),c(),t(95,"p"),e(96,"\u4F7F\u7528 "),t(97,"code"),e(98,"nzLabel"),n(),e(99," \u6807\u7B7E\u5355\u72EC\u5C55\u793A\u65F6\u95F4\u3002"),n(),u(),n()()()(),t(100,"section",32),c(),t(101,"h2",33)(102,"span"),e(103,"API"),n(),t(104,"a",34),e(105,"#"),n()(),t(106,"pre")(107,"code",35)(108,"span",36)(109,"span",36)(110,"span",37),e(111,"<"),n(),e(112,"nz-timeline"),n(),t(113,"span",37),e(114,">"),n()(),e(115,` 2 `),t(116,"span",36)(117,"span",36)(118,"span",37),e(119,"<"),n(),e(120,"nz-timeline-item"),n(),t(121,"span",37),e(122,">"),n()(),e(123,"\u521B\u5EFA\u670D\u52A1\u73B0\u573A 2015-09-01"),t(124,"span",36)(125,"span",36)(126,"span",37),e(127,"</"),n(),e(128,"nz-timeline-item"),n(),t(129,"span",37),e(130,">"),n()(),e(131,` 3 `),t(132,"span",36)(133,"span",36)(134,"span",37),e(135,"<"),n(),e(136,"nz-timeline-item"),n(),t(137,"span",37),e(138,">"),n()(),e(139,"\u521D\u6B65\u6392\u9664\u7F51\u7EDC\u5F02\u5E38 2015-09-01"),t(140,"span",36)(141,"span",36)(142,"span",37),e(143,"</"),n(),e(144,"nz-timeline-item"),n(),t(145,"span",37),e(146,">"),n()(),e(147,` 4 `),t(148,"span",36)(149,"span",36)(150,"span",37),e(151,"<"),n(),e(152,"nz-timeline-item"),n(),t(153,"span",37),e(154,">"),n()(),e(155,"\u6280\u672F\u6D4B\u8BD5\u5F02\u5E38 2015-09-01"),t(156,"span",36)(157,"span",36)(158,"span",37),e(159,"</"),n(),e(160,"nz-timeline-item"),n(),t(161,"span",37),e(162,">"),n()(),e(163,` 5 `),t(164,"span",36)(165,"span",36)(166,"span",37),e(167,"<"),n(),e(168,"nz-timeline-item"),n(),t(169,"span",37),e(170,">"),n()(),e(171,"\u7F51\u7EDC\u5F02\u5E38\u6B63\u5728\u4FEE\u590D 2015-09-01"),t(172,"span",36)(173,"span",36)(174,"span",37),e(175,"</"),n(),e(176,"nz-timeline-item"),n(),t(177,"span",37),e(178,">"),n()(),e(179,` 6`),t(180,"span",36)(181,"span",36)(182,"span",37),e(183,"</"),n(),e(184,"nz-timeline"),n(),t(185,"span",37),e(186,">"),n()(),e(187,` 7`),n()(),t(188,"h3",38)(189,"span"),e(190,"nz-timeline"),n(),t(191,"label",39),e(192,"component"),n(),t(193,"a",40),e(194,"#"),n()(),t(195,"p"),e(196,"\u65F6\u95F4\u8F74\u3002"),n(),t(197,"table")(198,"thead")(199,"tr")(200,"th"),e(201,"\u53C2\u6570"),n(),t(202,"th"),e(203,"\u8BF4\u660E"),n(),t(204,"th"),e(205,"\u7C7B\u578B"),n(),t(206,"th"),e(207,"\u9ED8\u8BA4\u503C"),n()()(),t(208,"tbody")(209,"tr")(210,"td")(211,"code"),e(212,"[nzPending]"),n()(),t(213,"td"),e(214,"\u6307\u5B9A\u6700\u540E\u4E00\u4E2A\u5E7D\u7075\u8282\u70B9\u662F\u5426\u5B58\u5728\u6216\u5185\u5BB9"),n(),t(215,"td")(216,"code"),e(217,"string | boolean | TemplateRef<void>"),n()(),t(218,"td")(219,"code"),e(220,"false"),n()()(),t(221,"tr")(222,"td")(223,"code"),e(224,"[nzPendingDot]"),n()(),t(225,"td"),e(226,"\u5F53\u6700\u540E\u4E00\u4E2A\u5E7D\u7075\u8282\u70B9\u5B58\u5728\u6642\uFF0C\u6307\u5B9A\u5176\u65F6\u95F4\u56FE\u70B9"),n(),t(227,"td")(228,"code"),e(229,"string | TemplateRef<void>"),n()(),t(230,"td")(231,"code"),e(232,'<nz-icon nzType="loading" />'),n()()(),t(233,"tr")(234,"td")(235,"code"),e(236,"[nzReverse]"),n()(),t(237,"td"),e(238,"\u8282\u70B9\u6392\u5E8F"),n(),t(239,"td")(240,"code"),e(241,"boolean"),n()(),t(242,"td")(243,"code"),e(244,"false"),n()()(),t(245,"tr")(246,"td")(247,"code"),e(248,"[nzMode]"),n()(),t(249,"td"),e(250,"\u53EF\u4EE5\u6539\u53D8\u65F6\u95F4\u8F74\u548C\u5185\u5BB9\u7684\u76F8\u5BF9\u4F4D\u7F6E"),n(),t(251,"td")(252,"code"),e(253,"'left' | 'alternate' | 'right' | 'custom'"),n()(),t(254,"td"),e(255,"-"),n()()()(),t(256,"h3",41)(257,"span"),e(258,"nz-timeline-item"),n(),t(259,"label",39),e(260,"component"),n(),t(261,"a",42),e(262,"#"),n()(),t(263,"p"),e(264,"\u65F6\u95F4\u8F74\u7684\u6BCF\u4E00\u4E2A\u8282\u70B9\u3002"),n(),t(265,"table")(266,"thead")(267,"tr")(268,"th"),e(269,"\u53C2\u6570"),n(),t(270,"th"),e(271,"\u8BF4\u660E"),n(),t(272,"th"),e(273,"\u7C7B\u578B"),n(),t(274,"th"),e(275,"\u9ED8\u8BA4\u503C"),n()()(),t(276,"tbody")(277,"tr")(278,"td")(279,"code"),e(280,"[nzColor]"),n()(),t(281,"td"),e(282,"\u6307\u5B9A\u5706\u5708\u989C\u8272 "),t(283,"code"),e(284,"'blue' | 'red' | 'green' | 'gray'"),n(),e(285," \u6216\u81EA\u5B9A\u4E49\u7684\u8272\u503C"),n(),t(286,"td")(287,"code"),e(288,"string"),n()(),t(289,"td"),e(290,"blue"),n()(),t(291,"tr")(292,"td")(293,"code"),e(294,"[nzDot]"),n()(),t(295,"td"),e(296,"\u81EA\u5B9A\u4E49\u65F6\u95F4\u8F74\u70B9"),n(),t(297,"td")(298,"code"),e(299,"string | TemplateRef<void>"),n()(),t(300,"td"),e(301,"-"),n()(),t(302,"tr")(303,"td")(304,"code"),e(305,"[nzPosition]"),n()(),t(306,"td"),e(307,"\u81EA\u5B9A\u4E49\u8282\u70B9\u4F4D\u7F6E\uFF0C\u4EC5\u5F53 "),t(308,"code"),e(309,"nzMode"),n(),e(310," \u4E3A "),t(311,"code"),e(312,"custom"),n(),e(313," \u65F6\u6709\u6548"),n(),t(314,"td")(315,"code"),e(316,"'left' | 'right'"),n()(),t(317,"td"),e(318,"-"),n()(),t(319,"tr")(320,"td")(321,"code"),e(322,"[nzLabel]"),n()(),t(323,"td"),e(324,"\u8BBE\u7F6E\u6807\u7B7E"),n(),t(325,"td")(326,"code"),e(327,"string | TemplateRef<void>"),n()(),t(328,"td"),e(329,"-"),n()()()(),u(),n()()),i&2&&(o(),r("nzOffsetTop",16),o(),r("nzAffix",!1),o(34),r("nzGutter",16),o(),r("nzXl",12)("nzSpan",24),o(),r("nzId","components-timeline-demo-basic")("nzLink","components-timeline-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/basic.md"),o(5),r("nzId","components-timeline-demo-pending")("nzLink","components-timeline-demo-pending")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/pending.md"),o(23),r("nzId","components-timeline-demo-custom")("nzLink","components-timeline-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/custom.md"),o(5),r("nzId","components-timeline-demo-position")("nzLink","components-timeline-demo-position")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/position.md"),o(5),r("nzXl",12)("nzSpan",24),o(),r("nzId","components-timeline-demo-color")("nzLink","components-timeline-demo-color")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/color.md"),o(5),r("nzId","components-timeline-demo-alternate")("nzLink","components-timeline-demo-alternate")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/alternate.md"),o(5),r("nzId","components-timeline-demo-right")("nzLink","components-timeline-demo-right")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/right.md"),o(5),r("nzId","components-timeline-demo-label")("nzLink","components-timeline-demo-label")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/label.md"))},dependencies:[ee,D,K,Y,J,U,X,W,q,C,R,w,H,L,P,M,O,G],encapsulation:2})};var ne=class m{expanded=!1;codeBoxes;goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
vendor: 4,221 bytes, line 7
7h(l=>l.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||m)};static \u0275cmp=p({type:m,selectors:[["nz-demo-timeline"]],viewQuery:function(i,a){if(i&1&&A(D,5),i&2){let d;B(d=y())&&(a.codeBoxes=d)}},decls:332,vars:47,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-timeline-demo-basic","nzTitle","Basic"],["nzHref","#components-timeline-demo-color","nzTitle","Color"],["nzHref","#components-timeline-demo-pending","nzTitle","Last node"],["nzHref","#components-timeline-demo-alternate","nzTitle","Alternate"],["nzHref","#components-timeline-demo-custom","nzTitle","Custom"],["nzHref","#components-timeline-demo-right","nzTitle","Right alternate"],["nzHref","#components-timeline-demo-position","nzTitle","Custom Position"],["nzHref","#components-timeline-demo-label","nzTitle","Label"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["name","timeline","description","Vertical display timeline.","language","en"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-timeline-basic","nzGenerateCommand","ng g ng-zorro-antd:timeline-basic <name>","nzComponentName","NzDemoTimelineBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Last node","nzSelector","nz-demo-timeline-pending","nzGenerateCommand","ng g ng-zorro-antd:timeline-pending <name>","nzComponentName","NzDemoTimelinePendingComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Custom","nzSelector","nz-demo-timeline-custom","nzGenerateCommand","ng g ng-zorro-antd:timeline-custom <name>","nzComponentName","NzDemoTimelineCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Custom Position","nzSelector","nz-demo-timeline-position","nzGenerateCommand","ng g ng-zorro-antd:timeline-position <name>","nzComponentName","NzDemoTimelinePositionComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Color","nzSelector","nz-demo-timeline-color","nzGenerateCommand","ng g ng-zorro-antd:timeline-color <name>","nzComponentName","NzDemoTimelineColorComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Alternate","nzSelector","nz-demo-timeline-alternate","nzGenerateCommand","ng g ng-zorro-antd:timeline-alternate <name>","nzComponentName","NzDemoTimelineAlternateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Right alternate","nzSelector","nz-demo-timeline-right","nzGenerateCommand","ng g ng-zorro-antd:timeline-right <name>","nzComponentName","NzDemoTimelineRightComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Label","nzSelector","nz-demo-timeline-label","nzGenerateCommand","ng g ng-zorro-antd:timeline-label <name>","nzComponentName","NzDemoTimelineLabelComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","punctuation"],["id","nz-timeline"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-timeline'",1,"anchor"],["id","nz-timeline-item"],["onclick","window.location.hash = 'nz-timeline-item'",1,"anchor"]],template:function(i,a){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),v("nzClick",function(f){return a.goLink(f)}),s(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),n()(),t(12,"
7section",11)(13,"h1"),e(14,"Timeline"),s(15,"span",12)(16,"span",13),t(17,"a",14),s(18,"nz-icon",15),n()(),s(19,"component-meta",16),t(20,"section",11),c(),t(21,"h2",17)(22,"span"),e(23,"When To Use"),n(),t(24,"a",18),e(25,"#"),n()(),t(26,"ul")(27,"li"),e(28,"When a series of information needs to be ordered by time (ascend or descend)."),n(),t(29,"li"),e(30,"When you need a timeline to make a visual connection."),n()(),u(),n(),t(31,"h2")(32,"span"),e(33,"Examples"),n(),t(34,"nz-icon",19),v("click",function(){return a.expandAllCode()}),n()()(),t(35,"div",20)(36,"div",21)(37,"nz-code-box",22),s(38,"nz-demo-timeline-basic",23),t(39,"div",24),c(),t(40,"p"),e(41,"Basic timeline."),n(),u(),n()(),t(42,"nz-code-box",25),s(43,"nz-demo-timeline-pending",23),t(44,"div",24),c(),t(45,"p"),e(46,"When the timeline is incomplete and ongoing, put a ghost node at last. set "),t(47,"code"),e(48,'[nzPending]="true"'),n(),e(49," or "),t(50,"code"),e(51,'[nzPending]="a TemplateRef"'),n(),e(52,". Used in ascend chronological order."),n(),u(),n()(),t(53,"nz-code-box",26),s(54,"nz-demo-timeline-custom",23),t(55,"div",24),c(),t(56,"p"),e(57,"Set a node as an icon or other custom element."),n(),u(),n()(),t(58,"nz-code-box",27),s(59,"nz-demo-timeline-position",23),t(60,"div",24),c(),t(61,"p"),e(62,"You can assign different positions to timeline items."),n(),u(),n()()(),t(63,"div",21)(64,"nz-code-box",28),s(65,"nz-demo-timeline-color",23),t(66,"div",24),c(),t(67,"p"),e(68,"Set the color of circles. "),t(69,"code"),e(70,"green"),n(),e(71," means completed or success status, "),t(72,"code"),e(73,"red"),n(),e(74," means warning or error, and "),t(75,"code"),e(76,"blue"),n(),e(77," means ongoing or other default status, "),t(78,"code"),e(79,"gray"),n(),e(80," for unfinished or disabled status."),n(),u(),n()(),t(81,"nz-code-box",29),s(82,"nz-demo-timeline-alternate",23),t(83,"div",24),c(),t(84,"p"),e(85,"Alternate timeline."),n(),u(),n()(),t(86,"nz-code-box",30),s(87,"nz-demo-timeline-right",23),t(88,"div",24),c(),t(89,"p"),e(90,"Right alternate timeline."),n(),u(),n()(),t(91,"nz-code-box",31),s(92,"nz-demo-timeline-label",23),t(93,"div",24),c(),t(94,"p"),e(95,"Use "),t(96,"code"),e(97,"nzLabel"),n(),e(98," show time alone."),n(),u(),n()()()(),t(99,"section",32),c(),t(100,"h2",33)(101,"span"),e(102,"API"),n(),t(103,"a",34),e(104,"#"),n()(),t(105,"pre")(106,"code",35)(107,"span",36)(108,"span",36)(109,"span",37),e(110,"<"),n(),e(111,"nz-timeline"),n(),t(112,"span",37),e(113,">"),n()(),e(114,` 8 `),t(115,"span",36)(116,"span",36)(117,"span",37),e(118,"<"),n(),e(119,"nz-timeline-item"),n(),t(120,"span",37),e(121,">"),n()(),e(122,"step1 2015-09-01"),t(123,"span",36)(124,"span",36)(125,"span",37),e(126,"</"),n(),e(127,"nz-timeline-item"),n(),t(128,"span",37),e(129,">"),n()(),e(130,` 9 `),t(131,"span",36)(132,"span",36)(133,"span",37),e(134,"<"),n(),e(135,"nz-timeline-item"),n(),t(136,"span",37),e(137,">"),n()(),e(138,"step2 2015-09-01"),t(139,"span",36)(140,"span",36)(141,"span",37),e(142,"</"),n(),e(143,"nz-timeline-item"),n(),t(144,"span",37),e(145,">"),n()(),e(146,` 10 `),t(147,"span",36)(148,"span",36)(149,"span",37),e(150,"<"),n(),e(151,"nz-timeline-item"),n(),t(152,"span",37),e(153,">"),n()(),e(154,"step3 2015-09-01"),t(155,"span",36)(156,"span",36)(157,"span",37),e(158,"</"),n(),e(159,"nz-timeline-item"),n(),t(160,"span",37),e(161,">"),n()(),e(162,` 11 `),t(163,"span",36)(164,"span",36)(165,"span",37),e(166,"<"),n(),e(167,"nz-timeline-item"),n(),t(168,"span",37),e(169,">"),n()(),e(170,"step4 2015-09-01"),t(171,"span",36)(172,"span",36)(173,"span",37),e(174,"</"),n(),e(175,"nz-timeline-item"),n(),t(176,"span",37),e(177,">"),n()(),e(178,` 12`),t(179,"span",36)(180,"span",36)(181,"span",37),e(182,"</"),n(),e(183,"nz-timeline"),n(),t(184,"span",37),e(185,">"),n()(),e(186,` 13`),n()(),t(187,"h3",38)(188,"span"),e(189,"nz-timeline"),n(),t(190,"label",39),e(191,"component"),n(),t(192,"a",40),e(193,"#"),n()(),t(194,"p"),e(195,"Timeline"),n(),t(196,"table")(197,"thead")(198,"tr")(199,"th"),e(200,"Property"),n(),t(201,"th"),e(202,"Description"),n(),t(203,"th"),e(204,"Type"),n(),t(205,"th"),e(206,"Default"),n()()(),t(207,"tbody")(208,"tr")(209,"td")(210,"code"),e(211,"[nzPending]"),n()(),t(212,"td"),e(213,"Set the last ghost node's existence or its content"),n(),t(214,"td")(215,"code"),e(216,"string|boolean|TemplateRef<void>"),n()(),t(217,"td")(218,"code"),e(219,"false"),n()()(),t(220,"tr")(221,"td")(222,"code"),e(223,"[nzPendingDot]"),n()(),t(224,"td"),e(225,"Set the dot of the last ghost node when pending is true"),n(),t(226,"td")(227,"code"),e(228,"string|TemplateRef<void>"),n()(),t(229,"td")(230,"code"),e(231,'<nz-icon nzType="loading" />'),n()()(),t(232,"tr")(233,"td")(234,"code"),e(235,"[nzReverse]"),n()(),t(236,"td"),e(237,"Reverse nodes or not"),n(),t(238,"td")(239,"code"),e(240,"boolean"),n()(),t(241,"td")(242,"code"),e(243,"false"),n()()(),t(244,"tr")(245,"td")(246,"code"),e(247,"[nzMode]"),n()(),t(248,"td"),e(249,"By sending "),t(250,"code"),e(251,"alternate"),n(),e(252," the timeline will distribute the nodes to the left and right"),n(),t(253,"td")(254,"code"),e(255,"'left' | 'alternate' | 'right' | 'custom'"),n()(),t(256,"td"),e(257,"-"),n()()()(),t(258,"h3",41)(259,"span"),e(260,"nz-timeline-item"),n(),t(261,"label",39),e(262,"component"),n(),t(263,"a",42),e(264,"#"),n()(),t(265,"p"),e(266,"No
13de of timeline"),n(),t(267,"table")(268,"thead")(269,"tr")(270,"th"),e(271,"Property"),n(),t(272,"th"),e(273,"Description"),n(),t(274,"th"),e(275,"Type"),n(),t(276,"th"),e(277,"Default"),n()()(),t(278,"tbody")(279,"tr")(280,"td")(281,"code"),e(282,"[nzColor]"),n()(),t(283,"td"),e(284,"Set the circle's color to "),t(285,"code"),e(286,"'blue' | 'red' | 'green' | 'gray'"),n(),e(287," or other custom colors"),n(),t(288,"td")(289,"code"),e(290,"string"),n()(),t(291,"td")(292,"code"),e(293,"blue"),n()()(),t(294,"tr")(295,"td")(296,"code"),e(297,"[nzDot]"),n()(),t(298,"td"),e(299,"Customize timeline dot"),n(),t(300,"td")(301,"code"),e(302,"string | TemplateRef<void>"),n()(),t(303,"td"),e(304,"-"),n()(),t(305,"tr")(306,"td")(307,"code"),e(308,"[nzPosition]"),n()(),t(309,"td"),e(310,"Customize position, only works when "),t(311,"code"),e(312,"nzMode"),n(),e(313," is "),t(314,"code"),e(315,"custom"),n()(),t(316,"td")(317,"code"),e(318,"'left' | 'right'"),n()(),t(319,"td"),e(320,"-"),n()(),t(321,"tr")(322,"td")(323,"code"),e(324,"[nzLabel]"),n()(),t(325,"td"),e(326,"Set the label"),n(),t(327,"td")(328,"code"),e(329,"string | TemplateRef<void>"),n()(),t(330,"td"),e(331,"-"),n()()()(),u(),n()()),i&2&&(o(),r("nzOffsetTop",16),o(),r("nzAffix",!1),o(33),r("nzGutter",16),o(),r("nzXl",12)("nzSpan",24),o(),r("nzId","components-timeline-demo-basic")("nzLink","components-timeline-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/basic.md"),o(5),r("nzId","components-timeline-demo-pending")("nzLink","components-timeline-demo-pending")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/pending.md"),o(11),r("nzId","components-timeline-demo-custom")("nzLink","components-timeline-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/custom.md"),o(5),r("nzId","components-timeline-demo-position")("nzLink","components-timeline-demo-position")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/position.md"),o(5),r("nzXl",12)("nzSpan",24),o(),r("nzId","components-timeline-demo-color")("nzLink","components-timeline-demo-color")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/color.md"),o(17),r("nzId","components-timeline-demo-alternate")("nzLink","components-timeline-demo-alternate")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/alternate.md"),o(5),r("nzId","components-timeline-demo-right")("nzLink","components-timeline-demo-right")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/right.md"),o(5),r("nzId","components-timeline-demo-label")("nzLink","components-timeline-demo-label")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/label.md"))},dependencies:[ee,D,K,Y,J,U,X,W,q,C,R,w,H,L,P,M,O,G],encapsulation:2})};var gt=[{path:"en",component:ne},{path:"zh",component:te}],kn=gt;export{kn as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.