1import{a as Pe,b as Me,c as Oe}from"./chunk-QMYPDRLJ.js";import"./chunk-AI2HZ3GM.js";import{a as _e,b as Ae,d as Re}from"./chunk-WI2WI3WN.js";import{a as ke}from"./chunk-MJV6CJPB.js";import"./chunk-TZ6B2ZEH.js";import{a as D,g as Y,h as J,j as K}from"./chunk-MIF4MP26.js";import"./chunk-MF2V2VKV.js";import"./chunk-U42X5M5H.js";import{Ba as C,Da as F,Ea as Be,Ec as Le,Fb as de,Gb as se,Gc as W,Hc as X,Kc as U,dc as q,nc as we,rc as He}from"./chunk-ZNDNIMMX.js";import{Ac as be,Bc as A,Cc as y,Dc as B,Hc as h,Ic as e,Jb as p,Jc as le,Kb as Ee,Kc as ae,Ld as ye,Nc as Ne,Oc as ve,Pb as xe,Pc as Fe,Qb as z,Tc as De,Xb as r,Yb as Ce,Zb as $,aa as V,cd as T,ec as k,f as ce,gc as Se,h as ze,ha as fe,hc as he,ia as ge,ic as Te,id as re,jc as n,kc as t,lc as s,mc as Z,md as Ie,nc as Q,oc as ie,sc as v,tb as o,ub as _,uc as S,vc as me,wc as oe,xa as ne,ya as u,za as c}from"./chunk-X4UZFQOI.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(),le(i.nzLabel)}}
1function Ve(m,l){if(m&1&&(n(0,"div",2),z(1,je,2,1,"ng-container",5),t()),m&2){let i=S(2);o(),r("nzStringTemplateOutlet",i.nzLabel)}}function $e(m,l){if(m&1&&(Z(0),e(1),Q()),m&2){let i=S(2);o(),le(i.nzDot)}}function qe(m,l){if(m&1&&(n(0,"li",1),z(1,Ve,2,1,"div",2),s(2,"div",3),n(3,"div",4),z(4,$e,2,1,"ng-container",5),t(),n(5,"div",6),oe(6),t()()),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&&ie(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&&ie(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(),ae(" ",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(),ae(" ",i.isPendingBoolean?"":i.nzPending," ")}}function tt(m,l){if(m&1&&(n(0,"li",3),s(1,"div",4),n(2,"div",5),z(3,Ke,3,2,"ng-container",6),t(),n(4,"div",7),z(5,et,2,1,"ng-container",6),t()()),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"],pe=(()=>{class m{check$=new ze(1);markForCheck(){this.check$.next()}static \u0275fac=function(a){return new(a||m)};static \u0275prov=fe({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)(_(re),_(pe))};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;y(f=B())&&(d.template=f.first)}},inputs:{nzPosition:"nzPosition",nzColor:"nzColor",nzDot:"nzDot",nzLabel:"nzLabel"},exportAs:["nzTimelineItem"],features:[ne],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&&(me(),z(0,qe,7,20,"ng-template",null,0,T))},dependencies:[se,de],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 ce;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)(_(re),_(pe),_(Be))};static \u0275cmp=p({type:m,selectors:[["nz-timeline"]],contentQueries:function(a,d,f){if(a&1&&be(f,g,4),a&2){let ue;y(ue=B())&&(d.listOfItems=ue)}},inputs:{nzMode:"nzMode",nzPending:"nzPending",nzPendingDot:"nzPendingDot",nzReverse:[2,"nzReverse","nzReverse",Ie]},exportAs:["nzTimeline"],features:[De([pe]),xe,ne],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&&(me(),n(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),t(),z(5,nt,1,1,"ng-template",null,0,T),oe(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:[ye,se,de,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=Ee({type:m});static \u0275inj=ge({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&&(n(0,"nz-timeline",1)(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),t(),n(3,"nz-timeline-item",2),e(4,"Solve initial network problems 2015-09-01"),t(),n(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. "),t(),n(7,"nz-timeline-item",4),e(8,"Network problems being solved 2015-09-01"),t(),n(9,"nz-timeline-item"),e(10,"Create a services site 2015-09-01"),t(),n(11,"nz-timeline-item",3),e(12,"Technical testing 2015-09-01"),t()(),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&&(n(0,"nz-timeline")(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),t(),n(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),t(),n(5,"nz-timeline-item"),e(6,"Technical testing 2015-09-01"),t(),n(7,"nz-timeline-item"),e(8,"Network problems being solved 2015-09-01"),t()())},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&&(n(0,"nz-timeline")(1,"nz-timeline-item",0),e(2,"Create a services site 2015-09-01"),t(),n(3,"nz-timeline-item",0),e(4,"Solve initial network problems 2015-09-01"),t(),n(5,"nz-timeline-item",1)(6,"p"),e(7,"Solve initial network problems 1"),t(),n(8,"p"),e(9,"Solve initial network problems 2"),t(),n(10,"p"),e(11,"Solve initial network problems 3 2015-09-01"),t()(),n(12,"nz-timeline-item")(13,"p"),e(14,"Technical testing 1"),t(),n(15,"p"),e(16,"Technical testing 2"),t(),n(17,"p"),e(18,"Technical testing 3 2015-09-01"),t()(),n(19,"nz-timeline-item",2)(20,"p"),e(21,"Technical testing 1"),t(),n(22,"p"),e(23,"Technical testing 2"),t(),n(24,"p"),e(25,"Technical testing 3 2015-09-01"),t()(),n(26,"nz-timeline-item",2)(27,"p"),e(28,"Technical testing 1"),t(),n(29,"p"),e(30,"Technical testing 2"),t(),n(31,"p"),e(32,"Technical testing 3 2015-09-01"),t()()())},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&&(n(0,"nz-timeline")(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),t(),n(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),t(),n(5,"nz-timeline-item",1),e(6,"Technical testing 2015-09-01"),t(),n(7,"nz-timeline-item"),e(8,"Network problems being solved 2015-09-01"),t()(),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&&(n(0,"nz-radio-group",0),Fe("ngModelChange",function(f){return ve(
1a.mode,f)||(a.mode=f),f}),n(1,"label",1),e(2,"Left"),t(),n(3,"label",2),e(4,"Right"),t(),n(5,"label",3),e(6,"Alternative"),t()(),s(7,"br")(8,"br"),n(9,"nz-timeline",4)(10,"nz-timeline-item",5),e(11,"Create a services"),t(),n(12,"nz-timeline-item",6),e(13,"Solve initial network problems"),t(),n(14,"nz-timeline-item"),e(15,"Technical testing"),t(),n(16,"nz-timeline-item",6),e(17,"Network problems being solved"),t()()),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&&(n(0,"nz-timeline",0)(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),t(),n(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),t(),n(5,"nz-timeline-item"),e(6,"Technical testing 2015-09-01"),t()(),s(7,"br")(8,"br"),n(9,"button",1),v("click",function(){return a.toggleReverse()}),e(10,"Toggle Reverse"),t()),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&&(n(0,"nz-timeline",1)(1,"nz-timeline-item",2),e(2,"Alice 20'"),t(),n(3,"nz-timeline-item",2),e(4,"Susan 28'"),t(),n(5,"nz-timeline-item",3),e(6,"Tim 45'"),t(),n(7,"nz-timeline-item",2),e(8,"Bob 79'"),t()(),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&&(n(0,"nz-timeline",1)(1,"nz-timeline-item"),e(2,"Create a services site 2015-09-01"),t(),n(3,"nz-timeline-item"),e(4,"Solve initial network problems 2015-09-01"),t(),n(5,"nz-timeline-item",2),e(6,"Technical testing 2015-09-01"),t(),n(7,"nz-timeline-item"),e(8,"Network problems being solved 2015-09-01"),t()(),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 ee=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;y(d=B())&&(a.codeBoxes=d)}},decls:350,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"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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"],["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&&(n(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),t()(),n(12,"section",11)(13,"h1"),e(14,"Timeline"),n(15,"span",12),e(16,"\u65F6\u95F4\u8F74"),t(),s(17,"span",13),n(18,"a",14),s(19,"nz-icon",15),t()(),n(20,"section",11),c(),n(21,"p"),e(22,"\u5782\u76F4\u5C55\u793A\u7684\u65F6\u95F4\u6D41\u4FE1\u606F\u3002"),t(),n(23,"h2",16)(24,"span"),e(25,"\u4F55\u65F6\u4F7F\u7528"),t(),n(26,"a",17),e(27,"#"),t()(),n(28,"ul")(29,"li"),e(30,"\u5F53\u6709\u4E00\u7CFB\u5217\u4FE1\u606F\u9700\u6309\u
165F6\u95F4\u6392\u5217\u65F6\uFF0C\u53EF\u6B63\u5E8F\u548C\u5012\u5E8F\u3002"),t(),n(31,"li"),e(32,"\u9700\u8981\u6709\u4E00\u6761\u65F6\u95F4\u8F74\u8FDB\u884C\u89C6\u89C9\u4E0A\u7684\u4E32\u8054\u65F6\u3002"),t()(),n(33,"pre")(34,"code",18)(35,"span",19),e(36,"import"),t(),e(37," "),n(38,"span",20),e(39,"{"),t(),e(40," NzTimelineModule "),n(41,"span",20),e(42,"}"),t(),e(43," "),n(44,"span",19),e(45,"from"),t(),e(46," "),n(47,"span",21),e(48,"'ng-zorro-antd/timeline'"),t(),n(49,"span",20),e(50,";"),t(),e(51,` 2`),t()(),u(),t(),n(52,"h2")(53,"span"),e(54,"\u4EE3\u7801\u6F14\u793A"),t(),n(55,"nz-icon",22),v("click",function(){return a.expandAllCode()}),t()()(),n(56,"div",23)(57,"div",24)(58,"nz-code-box",25),s(59,"nz-demo-timeline-basic",26),n(60,"div",27),c(),n(61,"p"),e(62,"\u57FA\u672C\u7684\u65F6\u95F4\u8F74\u3002"),t(),u(),t()(),n(63,"nz-code-box",28),s(64,"nz-demo-timeline-pending",26),n(65,"div",27),c(),n(66,"p"),e(67,"\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 "),n(68,"code"),e(69,"nzPending"),t(),e(70," \u4E3A\u771F\u503C\u65F6\u5C55\u793A\u5E7D\u7075\u8282\u70B9\uFF0C\u5982\u679C "),n(71,"code"),e(72,"nzPending"),t(),e(73," \u662F Template \u53EF\u7528\u4E8E\u5B9A\u5236\u8BE5\u8282\u70B9\u5185\u5BB9\uFF0C\u540C\u65F6 "),n(74,"code"),e(75,"nzPendingDot"),t(),e(76," \u5C06\u53EF\u4EE5\u7528\u4E8E\u5B9A\u5236\u5176\u8F74\u70B9\u3002"),n(77,"code"),e(78,"nzReverse"),t(),e(79," \u5C5E\u6027\u7528\u4E8E\u63A7\u5236\u8282\u70B9\u6392\u5E8F\uFF0C\u4E3A "),n(80,"code"),e(81,"false"),t(),e(82," \u65F6\u6309\u6B63\u5E8F\u6392\u5217\uFF0C\u4E3A "),n(83,"code"),e(84,"true"),t(),e(85," \u65F6\u6309\u5012\u5E8F\u6392\u5217\u3002"),t(),u(),t()(),n(86,"nz-code-box",29),s(87,"nz-demo-timeline-custom",26),n(88,"div",27),c(),n(89,"p"),e(90,"\u53EF\u4EE5\u8BBE\u7F6E\u4E3A\u56FE\u6807\u6216\u5176\u4ED6\u81EA\u5B9A\u4E49\u5143\u7D20\u3002"),t(),u(),t()(),n(91,"nz-code-box",30),s(92,"nz-demo-timeline-position",26),n(93,"div",27),c(),n(94,"p"),e(95,"\u53EF\u4EE5\u4E3A\u6BCF\u4E00\u9879\u6307\u5B9A\u4F4D\u7F6E\u3002"),t(),u(),t()()(),n(96,"div",24)(97,"nz-code-box",31),s(98,"nz-demo-timeline-color",26),n(99,"div",27),c(),n(100,"p"),e(101,"\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"),t(),u(),t()(),n(102,"nz-code-box",32),s(103,"nz-demo-timeline-alternate",26),n(104,"div",27),c(),n(105,"p"),e(106,"\u5185\u5BB9\u5728\u65F6\u95F4\u8F74\u4E24\u4FA7\u4EA4\u66FF\u51FA\u73B0\u3002"),t(),u(),t()(),n(107,"nz-code-box",33),s(108,"nz-demo-timeline-right",26),n(109,"div",27),c(),n(110,"p"),e(111,"\u65F6\u95F4\u8F74\u53EF\u4EE5\u5728\u5185\u5BB9\u7684\u53F3\u8FB9\u3002"),t(),u(),t()(),n(112,"nz-code-box",34),s(113,"nz-demo-timeline-label",26),n(114,"div",27),c(),n(115,"p"),e(116,"\u4F7F\u7528 "),n(117,"code"),e(118,"nzLabel"),t(),e(119," \u6807\u7B7E\u5355\u72EC\u5C55\u793A\u65F6\u95F4\u3002"),t(),u(),t()()()(),n(120,"section",35),c(),n(121,"h2",36)(122,"span"),e(123,"API"),t(),n(124,"a",37),e(125,"#"),t()(),n(126,"pre")(127,"code",38)(128,"span",39)(129,"span",39)(130,"span",20),e(131,"<"),t(),e(132,"nz-timeline"),t(),n(133,"span",20),e(134,">"),t()(),e(135,` 3 `),n(136,"span",39)(137,"span",39)(138,"span",20),e(139,"<"),t(),e(140,"nz-timeline-item"),t(),n(141,"span",20),e(142,">"),t()(),e(143,"\u521B\u5EFA\u670D\u52A1\u73B0\u573A 2015-09-01"),n(144,"span",39)(145,"span",39)(146,"span",20),e(147,"</"),t(),e(148,"nz-timeline-item"),t(),n(149,"span",20),e(150,">"),t()(),e(151,` 4 `),n(152,"span",39)(153,"span",39)(154,"span",20),e(155,"<"),t(),e(156,"nz-timeline-item"),t(),n(157,"span",20),e(158,">"),t()(),e(159,"\u521D\u6B65\u6392\u9664\u7F51\u7EDC\u5F02\u5E38 2015-09-01"),n(160,"span",39)(161,"span",39)(162,"span",20),e(163,"</"),t(),e(164,"nz-timeline-item"),t(),n(165,"span",20),e(166,">"),t()(),e(167,` 5 `),n(168,"span",39)(169,"span",39)(170,"span",20),e(171,"<"),t(),e(172,"nz-timeline-item"),t(),n(173,"span",20),e(174,">"),t()(),e(175,"\u6280\u672F\u6D4B\u8BD5\u5F02\u5E38 2015-09-01"),n(176,"span",39)(177,"span",39)(178,"span",20),e(179,"</"),t(),e(180,"nz-timeline-item"),t(),n(181,"span",20),e(182,">"),t()(),e(183,` 6 `),n(184,"span",39)(185,"span",39)(186,"span",20),e(187,"<"),t(),e(188,"nz-timeline-item"),t(),n(189,"span",20),e(190,">"),t()(),e(191,"\u7F51\u7EDC\u5F02\u5E38\u6B63\u5728\u4FEE\u590D 2015-09-01"),n(192,"span",39)(193,"span",39)(194,"span",20),e(195,"</"),t(),e(196,"nz-timeline-item"),t(),n(197,"span",20),e(198,">"),t()(),e(199,` 7`),n(200,"span",39)(201,"span",39)(202,"span",20),e(203,"</"),t(),e(204,"nz-timeline"),t(),n(205,"span",20),e(206,">"),t()(),e(207,` 8`),t()(),n(208,"h3",40)(209,"span"),e(210,"nz-timeline"),t(),n(211,"label",41),e(212,"component"),t(),n(213,"a",42),e(214,"#"),t()(),n(215,"p"),e(216,"\u65F6\u95F4\u8F74\u3002"),t(),n(217,"table")(218,"thead")(219,"tr")(220,"th"),e(221,"\u53C2\u6570"),t(),n(222,"th"),e(223,"\u8BF4\u660E"),t(),n(224,"th"),e(225,"\u7C7B\u578B"),t(),n(226,"th"),e(227,"\u9ED8\u8BA4\u503C"),t()()(),n(228,"tbody")(229,"tr")(230,"td")(231,"code"),e(232,"[nzPending]"),t()(),n(233,"td"),e(234,"\u6307\u5B9A\u6700\u540E\u4E00\u4E2A\u5E7D\u7075\u8282\u70B9\u662F\u5426\u5B58\u5728\u6216\u5185\u5BB9"),t(),n(235,"td")(236,"code"),e(237,"string | boolean | TemplateRef<void>"),t()(),n(238,"td")(239,"code"),e(240,"false"),t()()(),n(241,"tr")(242,"td")(243,"code"),e(244,"[nzPendingDot]"),t()(),n(245,"td"),e(246,"\u5F53\u6700\u540E\u4E00\u4E2A\u5E7D\u7075\u8282\u70B9\u5B58\u5728\u6642\uFF0C\u6307\u5B9A\u5176\u65F6\u95F4\u56FE\u70B9"),t(),n(247,"td")(248,"code"),e(249,"
8string | TemplateRef<void>"),t()(),n(250,"td")(251,"code"),e(252,'<nz-icon nzType="loading" />'),t()()(),n(253,"tr")(254,"td")(255,"code"),e(256,"[nzReverse]"),t()(),n(257,"td"),e(258,"\u8282\u70B9\u6392\u5E8F"),t(),n(259,"td")(260,"code"),e(261,"boolean"),t()(),n(262,"td")(263,"code"),e(264,"false"),t()()(),n(265,"tr")(266,"td")(267,"code"),e(268,"[nzMode]"),t()(),n(269,"td"),e(270,"\u53EF\u4EE5\u6539\u53D8\u65F6\u95F4\u8F74\u548C\u5185\u5BB9\u7684\u76F8\u5BF9\u4F4D\u7F6E"),t(),n(271,"td")(272,"code"),e(273,"'left' | 'alternate' | 'right' | 'custom'"),t()(),n(274,"td"),e(275,"-"),t()()()(),n(276,"h3",43)(277,"span"),e(278,"nz-timeline-item"),t(),n(279,"label",41),e(280,"component"),t(),n(281,"a",44),e(282,"#"),t()(),n(283,"p"),e(284,"\u65F6\u95F4\u8F74\u7684\u6BCF\u4E00\u4E2A\u8282\u70B9\u3002"),t(),n(285,"table")(286,"thead")(287,"tr")(288,"th"),e(289,"\u53C2\u6570"),t(),n(290,"th"),e(291,"\u8BF4\u660E"),t(),n(292,"th"),e(293,"\u7C7B\u578B"),t(),n(294,"th"),e(295,"\u9ED8\u8BA4\u503C"),t()()(),n(296,"tbody")(297,"tr")(298,"td")(299,"code"),e(300,"[nzColor]"),t()(),n(301,"td"),e(302,"\u6307\u5B9A\u5706\u5708\u989C\u8272 "),n(303,"code"),e(304,"'blue' | 'red' | 'green' | 'gray'"),t(),e(305," \u6216\u81EA\u5B9A\u4E49\u7684\u8272\u503C"),t(),n(306,"td")(307,"code"),e(308,"string"),t()(),n(309,"td"),e(310,"blue"),t()(),n(311,"tr")(312,"td")(313,"code"),e(314,"[nzDot]"),t()(),n(315,"td"),e(316,"\u81EA\u5B9A\u4E49\u65F6\u95F4\u8F74\u70B9"),t(),n(317,"td")(318,"code"),e(319,"string | TemplateRef<void>"),t()(),n(320,"td"),e(321,"-"),t()(),n(322,"tr")(323,"td")(324,"code"),e(325,"[nzPosition]"),t()(),n(326,"td"),e(327,"\u81EA\u5B9A\u4E49\u8282\u70B9\u4F4D\u7F6E\uFF0C\u4EC5\u5F53 "),n(328,"code"),e(329,"nzMode"),t(),e(330," \u4E3A "),n(331,"code"),e(332,"custom"),t(),e(333," \u65F6\u6709\u6548"),t(),n(334,"td")(335,"code"),e(336,"'left' | 'right'"),t()(),n(337,"td"),e(338,"-"),t()(),n(339,"tr")(340,"td")(341,"code"),e(342,"[nzLabel]"),t()(),n(343,"td"),e(344,"\u8BBE\u7F6E\u6807\u7B7E"),t(),n(345,"td")(346,"code"),e(347,"string | TemplateRef<void>"),t()(),n(348,"td"),e(349,"-"),t()()()(),u(),t()()),i&2&&(o(),r("nzOffsetTop",16),o(),r("nzAffix",!1),o(54),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:[K,D,Y,J,U,X,W,q,C,R,w,H,L,P,M,O,G],encapsulation:2})};var te=class m{expanded=!1;codeBoxes;goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
8h(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;y(d=B())&&(a.codeBoxes=d)}},decls:352,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"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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"],["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&&(n(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),t()(),n(12,"section",11)(13,"h1"),e(14,"Timeline"),s(15,"span",12)(16,"span",13),n(17,"a",14),s(18,"nz-icon",15),t()(),n(19,"section",11),c(),n(20,"p"),e(21,"Vertical display timeline."),t(),n(22,"h2",16)(23,"span"),e(24,"When To Use"),t(),n(25,"a",17),e(26,"#"),t()(),n(27,"ul")(28,"li"),e(29,"When a series of information needs to be ordered by time (ascend or descend)."),t(),n(30,"li"),e(31,"When you need a timeline to make a visual connection."),t()(),n(32,"pre")(33,"code",18)(34,"span",19),e(35,"import"),t(),e(36," "),n(37,"span",20),e(38,"{"),t(),e(39," NzTimelineModule "),n(40,"span",20),e(41,"}"),t(),e(42," "),n(43,"span",19),e(44,"from"),t(),e(45," "),n(46,"span",21),e(47,"'ng-zorro-antd/timeline'"),t(),n(48,"span",20),e(49,";"),t(),e(50,` 9`),t()(),u(),t(),n(51,"h2")(52,"span"),e(53,"Examples"),t(),n(54,"nz-icon",22),v("click",function(){return a.expandAllCode()}),t()()(),n(55,"div",23)(56,"div",24)(57,"nz-code-box",25),s(58,"nz-demo-timeline-basic",26),n(59,"div",27),c(),n(60,"p"),e(61,"Basic timeline."),t(),u(),t()(),n(62,"nz-code-box",28),s(63,"nz-demo-timeline-pending",26),n(64,"div",27),c(),n(65,"p"),e(66,"When the timeline is incomplete and ongoing, put a ghost node at last. set "),n(67,"code"),e(68,'[nzPending]="true"'),t(),e(69," or "),n(70,"code"),e(71,'[nzPending]="a TemplateRef"'),t(),e(72,". Used in ascend chronological order."),t(),u(),t()(),n(73,"nz-code-box",29),s(74,"nz-demo-timeline-custom",26),n(75,"div",27),c(),n(76,"p"),e(77,"Set a node as an icon or other custom element."),t(),u(),t()(),n(78,"nz-code-box",30),s(79,"nz-demo-timeline-position",26),n(80,"div",27),c(),n(81,"p"),e(82,"You can assign different positions to timeline items."),t(),u(),t()()(),n(83,"div",24)(84,"nz-code-box",31),s(85,"nz-demo-timeline-color",26),n(86,"div",27),c(),n(87,"p"),e(88,"Set the color of circles. "),n(89,"code"),e(90,"green"),t(),e(91," means completed or success status, "),n(92,"code"),e(93,"red"),t(),e(94," means warning or error, and "),n(95,"code"),e(96,"blue"),t(),e(97," means ongoing or other default status, "),n(98,"code"),e(99,"gray"),t(),e(100," for unfinished or disabled status."),t(),u(),t()(),n(101,"nz-code-box",32),s(102,"nz-demo-timeline-alternate",26),n(103,"div",27),c(),n(104,"p"),e(105,"Alternate timeline."),t(),u(),t()(),n(106,"nz-code-box",33),s(107,"nz-demo-timeline-right",26),n(108,"div",27),c(),n(109,"p"),e(110,"Right alternate timeline."),t(),u(),t()(),n(111,"nz-code-box",34),s(112,"nz-demo-timeline-label",26),n(113,"div",27),c(),n(114,"p"),e(115,"Use "),n(116,"code"),e(117,"nzLabel"),t(),e(118," show time alone."),t(),u(),t()()()(),n(119,"section",35),c(),n(120,"h2",36)(121,"span"),e(122,"API"),t(),n(123,"a",37),e(124,"#"),t()(),n(125,"pre")(126,"code",38)(127,"span",39)(128,"span",39)(129,"span",20),e(130,"<"),t(),e(131,"nz-timeline"),t(),n(132,"span",20),e(133,">"),t()(),e(134,` 10 `),n(135,"span",39)(136,"span",39)(137,"span",20),e(138,"<"),t(),e(139,"nz-timeline-item"),t(),n(140,"span",20),e(141,">
10"),t()(),e(142,"step1 2015-09-01"),n(143,"span",39)(144,"span",39)(145,"span",20),e(146,"</"),t(),e(147,"nz-timeline-item"),t(),n(148,"span",20),e(149,">"),t()(),e(150,` 11 `),n(151,"span",39)(152,"span",39)(153,"span",20),e(154,"<"),t(),e(155,"nz-timeline-item"),t(),n(156,"span",20),e(157,">"),t()(),e(158,"step2 2015-09-01"),n(159,"span",39)(160,"span",39)(161,"span",20),e(162,"</"),t(),e(163,"nz-timeline-item"),t(),n(164,"span",20),e(165,">"),t()(),e(166,` 12 `),n(167,"span",39)(168,"span",39)(169,"span",20),e(170,"<"),t(),e(171,"nz-timeline-item"),t(),n(172,"span",20),e(173,">"),t()(),e(174,"step3 2015-09-01"),n(175,"span",39)(176,"span",39)(177,"span",20),e(178,"</"),t(),e(179,"nz-timeline-item"),t(),n(180,"span",20),e(181,">"),t()(),e(182,` 13 `),n(183,"span",39)(184,"span",39)(185,"span",20),e(186,"<"),t(),e(187,"nz-timeline-item"),t(),n(188,"span",20),e(189,">"),t()(),e(190,"step4 2015-09-01"),n(191,"span",39)(192,"span",39)(193,"span",20),e(194,"</"),t(),e(195,"nz-timeline-item"),t(),n(196,"span",20),e(197,">"),t()(),e(198,` 14`),n(199,"span",39)(200,"span",39)(201,"span",20),e(202,"</"),t(),e(203,"nz-timeline"),t(),n(204,"span",20),e(205,">"),t()(),e(206,` 15`),t()(),n(207,"h3",40)(208,"span"),e(209,"nz-timeline"),t(),n(210,"label",41),e(211,"component"),t(),n(212,"a",42),e(213,"#"),t()(),n(214,"p"),e(215,"Timeline"),t(),n(216,"table")(217,"thead")(218,"tr")(219,"th"),e(220,"Property"),t(),n(221,"th"),e(222,"Description"),t(),n(223,"th"),e(224,"Type"),t(),n(225,"th"),e(226,"Default"),t()()(),n(227,"tbody")(228,"tr")(229,"td")(230,"code"),e(231,"[nzPending]"),t()(),n(232,"td"),e(233,"Set the last ghost node's existence or its content"),t(),n(234,"td")(235,"code"),e(236,"string|boolean|TemplateRef<void>"),t()(),n(237,"td")(238,"code"),e(239,"false"),t()()(),n(240,"tr")(241,"td")(242,"code"),e(243,"[nzPendingDot]"),t()(),n(244,"td"),e(245,"Set the dot of the last ghost node when pending is true"),t(),n(246,"td")(247,"code"),e(248,"string|TemplateRef<void>"),t()(),n(249,"td")(250,"code"),e(251,'<nz-icon nzType="loading" />'),t()()(),n(252,"tr")(253,"td")(254,"code"),e(255,"[nzReverse]"),t()(),n(256,"td"),e(257,"Reverse nodes or not"),t(),n(258,"td")(259,"code"),e(260,"boolean"),t()(),n(261,"td")(262,"code"),e(263,"false"),t()()(),n(264,"tr")(265,"td")(266,"code"),e(267,"[nzMode]"),t()(),n(268,"td"),e(269,"By sending "),n(270,"code"),e(271,"alternate"),t(),e(272," the timeline will distribute the nodes to the left and right"),t(),n(273,"td")(274,"code"),e(275,"'left' | 'alternate' | 'right' | 'custom'"),t()(),n(276,"td"),e(277,"-"),t()()()(),n(278,"h3",43)(279,"span"),e(280,"nz-timeline-item"),t(),n(281,"label",41),e(282,"component"),t(),n(283,"a",44),e(284,"#"),t()(),n(285,"p"),e(286,"Node of timeline"),t(),n(287,"table")(288,"thead")(289,"tr")(290,"th"),e(291,"Property"),t(),n(292,"th"),e(293,"Description"),t(),n(294,"th"),e(295,"Type"),t(),n(296,"th"),e(297,"Default"),t()()(),n(298,"tbody")(299,"tr")(300,"td")(301,"code"),e(302,"[nzColor]"),t()(),n(303,"td"),e(304,"Set the circle's color to "),n(305,"code"),e(306,"'blue' | 'red' | 'green' | 'gray'"),t(),e(307," or other custom colors"),t(),n(308,"td")(309,"code"),e(310,"string"),t()(),n(311,"td")(312,"code"),e(313,"blue"),t()()(),n(314,"tr")(315,"td")(316,"code"),e(317,"[nzDot]"),t()(),n(318,"td"),e(319,"Customize timeline dot"),t(),n(320,"td")(321,"code"),e(322,"string | TemplateRef<void>"),t()(),n(323,"td"),e(324,"-"),t()(),n(325,"tr")(326,"td")(327,"code"),e(328,"[nzPosition]"),t()(),n(329,"td"),e(330,"Customize position, only works when "),n(331,"code"),e(332,"nzMode"),t(),e(333," is "),n(334,"code"),e(335,"custom"),t()(),n(336,"td")(337,"code"),e(338,"'left' | 'right'"),t()(),n(339,"td"),e(340,"-"),t()(),n(341,"tr")(342,"td")(343,"code"),e(344,"[nzLabel]"),t()(),n(345,"td"),e(346,"Set the label"),t(),n(347,"td")(348,"code"),e(349,"string | TemplateRef<void>"),t()(),n(350,"td"),e(351,"-"),t()()()(),u(),t()()),i&2&&(o(),r("nzOffsetTop",16),o(),r("nzAffix",!1),o(53),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:[K,D,Y,J,U,X,W,q,C,R,w,H,L,P,M,O,G],encapsulation:2})};var ft=[{path:"en",component:te},{path:"zh",component:ee}],_n=ft;export{_n 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.