1"use strict";(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[7470],{7470:(oe,b,l)=>{l.r(b),l.d(b,{NzDemoTimelineModule:()=>Te});var u=l(4190),C=l(6242),p=l(227),e=l(9212),q=l(7328),N=l(8645),z=l(6814),T=l(2755),_=l(9773),v=l(9388),x=l(2831);const R=["template"];function D(n,c){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const t=e.oxw(3);e.xp6(1),e.Oqu(t.nzLabel)}}function y(n,c){if(1&n&&(e.TgZ(0,"div",7),e.YNc(1,D,2,1,"ng-container",5),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",t.nzLabel)}}function O(n,c){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t.nzDot)}}function E(n,c){if(1&n&&(e.TgZ(0,"li",1),e.YNc(1,y,2,1,"div",2),e._UZ(2,"div",3),e.TgZ(3,"div",4),e.YNc(4,O,2,1,"ng-container",5),e.qZA(),e.TgZ(5,"div",6),e.Hsn(6),e.qZA()()),2&n){const t=e.oxw();e.ekj("ant-timeline-item-right","right"===(t.nzPosition||t.position))("ant-timeline-item-left","left"===(t.nzPosition||t.position))("ant-timeline-item-last",t.isLast),e.xp6(1),e.Q6J("ngIf",t.nzLabel),e.xp6(2),e.Udp("border-color",t.borderColor),e.ekj("ant-timeline-item-head-red","red"===t.nzColor)("ant-timeline-item-head-blue","blue"===t.nzColor)("ant-timeline-item-head-green","green"===t.nzColor)("ant-timeline-item-head-gray","gray"===t.nzColor)("ant-timeline-item-head-custom",!!t.nzDot),e.xp6(1),e.Q6J("nzStringTemplateOutlet",t.nzDot)}}const f=["*"];function S(n,c){if(1&n&&e.GkF(0,4),2&n){e.oxw();const t=e.MAs(5);e.Q6J("ngTemplateOutlet",t)}}function H(n,c){}function M(n,c){if(1&n&&(e.ynx(0),e.YNc(1,H,0,0,"ng-template",4),e.BQk()),2&n){const t=c.$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",t.template)}}function r(n,c){if(1&n&&e.GkF(0,4),2&n){e.oxw();const t=e.MAs(5);e.Q6J("ngTemplateOutlet",t)}}function se(n,c){1&n&&e._UZ(0,"span",12)}function o(n,c){if(1&n&&(e.ynx(0),e._uU(1),e.YNc(2,se,1,0,"span",11),e.BQk()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.nzPendingDot," "),e.xp6(1),e.Q6J("ngIf",!t.nzPendingDot)}}function d(n,c){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.isPendingBoolean?"":t.nzPending," ")}}function s(n,c){if(1&n&&(e.TgZ(0,"li",6),e._UZ(1,"div",7),e.TgZ(2,"div",8),e.YNc(3,o,3,2,"ng-container",9),e.qZA(),e.TgZ(4,"div",10),e.YNc(5,d,2,1,"ng-container",9),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(3),e.Q6J("nzStringTemplateOutlet",t.nzPendingDot),e.xp6(2),e.Q6J("nzStringTemplateOutlet",t.nzPending)}}function A(n,c){if(1&n&&e.YNc(0,s,6,2,"li",5),2&n){const t=e.oxw();e.Q6J("ngIf",t.nzPending)}}const w=["red","blue","green","grey","gray"];let F=(()=>{class n{constructor(){this.check$=new q.t(1)}markForCheck(){this.check$.next()}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac})}return n})(),g=(()=>{class n{constructor(t,i){this.cdr=t,this.timelineService=i,this.nzColor="blue",this.isLast=!1,this.borderColor=null}ngOnChanges(t){this.timelineService.markForCheck(),t.nzColor&&this.updateCustomColor()}detectChanges(){this.cdr.detectChanges()}updateCustomColor(){this.borderColor=function ue(n){return-1!==w.findIndex(c=>c===n)}(this.nzColor)?null:this.nzColor}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.sBO),e.Y36(F))};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-timeline-item"],["","nz-timeline-item",""]],viewQuery:function(i,a){if(1&i&&e.Gf(R,5),2&i){let m;e.iGM(m=e.CRH())&&(a.template=m.first)}},inputs:{nzPosition:"nzPosition",nzColor:"nzColor",nzDot:"nzDot",nzLabel:"nzLabel"},exportAs:["nzTimelineItem"],features:[e.TTD],ngContentSelectors:f,decls:2,vars:0,consts:[["template",""],[1,"ant-timeline-item"],["class","ant-timeline-item-label",4,"ngIf"],[1,"ant-timeline-item-tail"],[1,"ant-timeline-item-head"],[4,"nzStringTemplateOutlet"],[1,"ant-timeline-item-content"],[1,"ant-timeline-item-label"]],template:function(i,a){1&i&&(e.F$t(),e.YNc(0,E,7,20,"ng-template",null,0,e.W1O))},dependencies:[z.O5,T.f],encapsulation:2,changeDetection:0})}return n})(),Z=(()=>{class n{constructor(t,i,a){this.cdr=t,this.timelineService=i,this.directionality=a,this.nzMode="left",this.nzReverse=!1,this.isPendingBoolean=!1,this.timelineItems=[],this.dir="ltr",this.hasLabelItem=!1,this.destroy$=new N.x}ngOnChanges(t){const{nzMode:i,nzReverse:a,nzPending:m}=t;(J(i)||J(a))&&this.updateChildren(),m&&(this.isPendingBoolean=!0===m.currentValue)}ngOnInit(){this.timelineService.check$.pipe((0,_.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.updateChildren(),this.listOfItems.changes.pipe((0,_.R)(this.destroy$)).subscribe(()=>{this.updateChildren()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateChildren(){if(this.listOfItems&&this.listOfItems.length){const t=this.listOfItems.length;let i=!1;
1this.listOfItems.forEach((a,m)=>{a.isLast=this.nzReverse?0===m:m===t-1,a.position=function ae(n,c){return"custom"===c?void 0:"left"===c?"left":"right"===c?"right":"alternate"===c&&n%2==0?"left":"right"}(m,this.nzMode),!i&&a.nzLabel&&(i=!0),a.detectChanges()}),this.timelineItems=this.nzReverse?this.listOfItems.toArray().reverse():this.listOfItems.toArray(),this.hasLabelItem=i}else this.timelineItems=[],this.hasLabelItem=!1;this.cdr.markForCheck()}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.sBO),e.Y36(F),e.Y36(v.Is,8))};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-timeline"]],contentQueries:function(i,a,m){if(1&i&&e.Suo(m,g,4),2&i){let h;e.iGM(h=e.CRH())&&(a.listOfItems=h)}},inputs:{nzMode:"nzMode",nzPending:"nzPending",nzPendingDot:"nzPendingDot",nzReverse:"nzReverse"},exportAs:["nzTimeline"],features:[e._Bn([F]),e.TTD],ngContentSelectors:f,decls:7,vars:15,consts:[[1,"ant-timeline"],[3,"ngTemplateOutlet",4,"ngIf"],[4,"ngFor","ngForOf"],["pendingTemplate",""],[3,"ngTemplateOutlet"],["class","ant-timeline-item ant-timeline-item-pending",4,"ngIf"],[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"],["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(i,a){1&i&&(e.F$t(),e.TgZ(0,"ul",0),e.YNc(1,S,1,1,"ng-container",1)(2,M,2,1,"ng-container",2)(3,r,1,1,"ng-container",1),e.qZA(),e.YNc(4,A,1,1,"ng-template",null,3,e.W1O),e.Hsn(6)),2&i&&(e.ekj("ant-timeline-label",a.hasLabelItem)("ant-timeline-right",!a.hasLabelItem&&"right"===a.nzMode)("ant-timeline-alternate","alternate"===a.nzMode||"custom"===a.nzMode)("ant-timeline-pending",!!a.nzPending)("ant-timeline-reverse",a.nzReverse)("ant-timeline-rtl","rtl"===a.dir),e.xp6(1),e.Q6J("ngIf",a.nzReverse),e.xp6(1),e.Q6J("ngForOf",a.timelineItems),e.xp6(1),e.Q6J("ngIf",!a.nzReverse))},dependencies:[z.sg,z.O5,z.tP,p.Ls,T.f],encapsulation:2,changeDetection:0})}return n})();function J(n){return!(!n||n.previousValue===n.currentValue&&!n.isFirstChange())}let le=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275mod=e.oAB({type:n});static#t=this.\u0275inj=e.cJS({imports:[v.vT,z.ez,x.ud,p.PV,T.T]})}return n})();var G=l(4119),L=l(7225);const me=[L.aF,p.PV,le,G.sL];var B=l(379),I=l(5393),$=l(8101),k=l(3185),Y=l(8332),U=l(1687);function re(n,c){1&n&&e._UZ(0,"span",5)}let W=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-alternate"]],decls:15,vars:2,consts:[["nzMode","alternate"],["nzColor","green"],[3,"nzDot"],["nzColor","red"],["dotTemplate",""],["nz-icon","","nzType","clock-circle-o",2,"font-size","16px"]],template:function(i,a){if(1&i&&(e.TgZ(0,"nz-timeline",0)(1,"nz-timeline-item"),e._uU(2,"Create a services site 2015-09-01"),e.qZA(),e.TgZ(3,"nz-timeline-item",1),e._uU(4,"Solve initial network problems 2015-09-01"),e.qZA(),e.TgZ(5,"nz-timeline-item",2),e._uU(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. "),e.qZA(),e.TgZ(7,"nz-timeline-item",3),e._uU(8,"Network problems being solved 2015-09-01"),e.qZA(),e.TgZ(9,"nz-timeline-item"),e._uU(10,"Create a services site 2015-09-01"),e.qZA(),e.TgZ(11,"nz-timeline-item",2),e._uU(12,"Technical testing 2015-09-01"),e.qZA()(),e.YNc(13,re,1,0,"ng-template",null,4,e.W1O)),2&i){const m=e.MAs(14);e.xp6(5),e.Q6J("nzDot",m),e.xp6(6),e.Q6J("nzDot",m)}},dependencies:[p.Ls,g,Z,U.w],encapsulation:2})}return n})(),V=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-basic"]],decls:9,vars:0,template:function(i,a){1&i&&(e.TgZ(0,"nz-timeline")(1,"nz-timeline-item"),e._uU(2,"Create a services site 2015-09-01"),e.qZA(),e.TgZ(3,"nz-timeline-item"),e._uU(4,"Solve initial network problems 2015-09-01"),e.qZA(),e.TgZ(5,"nz-timeline-item"),e._uU(6,"Technical testing 2015-09-01"),e.qZA(),e.TgZ(7,"nz-timeline-item"),e._uU(8,"Network problems being solved 2015-09-01"),e.qZA()())},dependencies:[g,Z],encapsulation:2})}return n})(),X=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-color"]],decls:33,vars:0,consts:[["nzColor","green"],["nzColor","red"],["nzColor","gray"]],template:function(i,a){1&i&&(e.TgZ(0,"nz-timeline")(1,"nz-timeline-item",0),e._uU(2,"Create a services site 2015-09-01"),e.qZA(),e.TgZ(3,"nz-timeline-item",0),e._uU(4,"Solve initial network problems 2015-09-01"),e.qZA(),e.TgZ(5,"nz-timeline-item",1)(6,"p"),e._uU(7,"Solve initial network problems 1"),e.qZA(),e.TgZ(8,"p"),e._uU(9,"Solve initial network problems 2"),e.qZA(),e.TgZ(10,"p"),e._uU(11,"Solve initial network problems 3 2015-09-01"),e.qZA()(),e.TgZ(12,"
1nz-timeline-item")(13,"p"),e._uU(14,"Technical testing 1"),e.qZA(),e.TgZ(15,"p"),e._uU(16,"Technical testing 2"),e.qZA(),e.TgZ(17,"p"),e._uU(18,"Technical testing 3 2015-09-01"),e.qZA()(),e.TgZ(19,"nz-timeline-item",2)(20,"p"),e._uU(21,"Technical testing 1"),e.qZA(),e.TgZ(22,"p"),e._uU(23,"Technical testing 2"),e.qZA(),e.TgZ(24,"p"),e._uU(25,"Technical testing 3 2015-09-01"),e.qZA()(),e.TgZ(26,"nz-timeline-item",2)(27,"p"),e._uU(28,"Technical testing 1"),e.qZA(),e.TgZ(29,"p"),e._uU(30,"Technical testing 2"),e.qZA(),e.TgZ(31,"p"),e._uU(32,"Technical testing 3 2015-09-01"),e.qZA()()())},dependencies:[g,Z],encapsulation:2})}return n})();function de(n,c){1&n&&e._UZ(0,"span",2)}let j=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-custom"]],decls:11,vars:1,consts:[["nzColor","red",3,"nzDot"],["dotTemplate",""],["nz-icon","","nzType","clock-circle-o",2,"font-size","16px"]],template:function(i,a){if(1&i&&(e.TgZ(0,"nz-timeline")(1,"nz-timeline-item"),e._uU(2,"Create a services site 2015-09-01"),e.qZA(),e.TgZ(3,"nz-timeline-item"),e._uU(4,"Solve initial network problems 2015-09-01"),e.qZA(),e.TgZ(5,"nz-timeline-item",0),e._uU(6,"Technical testing 2015-09-01"),e.qZA(),e.TgZ(7,"nz-timeline-item"),e._uU(8,"Network problems being solved 2015-09-01"),e.qZA()(),e.YNc(9,de,1,0,"ng-template",null,1,e.W1O)),2&i){const m=e.MAs(10);e.xp6(5),e.Q6J("nzDot",m)}},dependencies:[p.Ls,g,Z,U.w],encapsulation:2})}return n})();var K=l(6223);const ce=()=>({"margin-bottom":"20px"});let ee=(()=>{class n{constructor(){this.mode="left"}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-label"]],decls:16,vars:4,consts:[[3,"ngModel","ngStyle","ngModelChange"],["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){1&i&&(e.TgZ(0,"nz-radio-group",0),e.NdJ("ngModelChange",function(h){return a.mode=h}),e.TgZ(1,"label",1),e._uU(2,"Left"),e.qZA(),e.TgZ(3,"label",2),e._uU(4,"Right"),e.qZA(),e.TgZ(5,"label",3),e._uU(6,"Alternative"),e.qZA()(),e.TgZ(7,"nz-timeline",4)(8,"nz-timeline-item",5),e._uU(9,"Create a services"),e.qZA(),e.TgZ(10,"nz-timeline-item",6),e._uU(11,"Solve initial network problems"),e.qZA(),e.TgZ(12,"nz-timeline-item"),e._uU(13,"Technical testing"),e.qZA(),e.TgZ(14,"nz-timeline-item",6),e._uU(15,"Network problems being solved"),e.qZA()()),2&i&&(e.Q6J("ngModel",a.mode)("ngStyle",e.DdM(3,ce)),e.xp6(7),e.Q6J("nzMode",a.mode))},dependencies:[z.PC,K.JJ,K.On,L.Of,L.Dg,g,Z],encapsulation:2})}return n})();var ze=l(2987);let ne=(()=>{class n{constructor(){this.reverse=!1}toggleReverse(){this.reverse=!this.reverse}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-pending"]],decls:9,vars:2,consts:[[3,"nzPending","nzReverse"],["nz-button","","nzType","primary",2,"margin-top","16px",3,"click"]],template:function(i,a){1&i&&(e.TgZ(0,"nz-timeline",0)(1,"nz-timeline-item"),e._uU(2,"Create a services site 2015-09-01"),e.qZA(),e.TgZ(3,"nz-timeline-item"),e._uU(4,"Solve initial network problems 2015-09-01"),e.qZA(),e.TgZ(5,"nz-timeline-item"),e._uU(6,"Technical testing 2015-09-01"),e.qZA()(),e.TgZ(7,"button",1),e.NdJ("click",function(){return a.toggleReverse()}),e._uU(8,"Toggle Reverse"),e.qZA()),2&i&&e.Q6J("nzPending","Recording...")("nzReverse",a.reverse)},dependencies:[g,Z,G.ix,U.w,ze.dQ],encapsulation:2})}return n})();function pe(n,c){1&n&&e._uU(0,"\u26bd")}let te=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-position"]],decls:11,vars:4,consts:[["nzMode","custom"],["nzPosition","left",3,"nzDot"],["nzPosition","right","nzColor","red",3,"nzDot"],["soccerTemplate",""]],template:function(i,a){if(1&i&&(e.TgZ(0,"nz-timeline",0)(1,"nz-timeline-item",1),e._uU(2,"Alice 20'"),e.qZA(),e.TgZ(3,"nz-timeline-item",1),e._uU(4,"Susan 28'"),e.qZA(),e.TgZ(5,"nz-timeline-item",2),e._uU(6,"Tim 45'"),e.qZA(),e.TgZ(7,"nz-timeline-item",1),e._uU(8,"Bob 79'"),e.qZA()(),e.YNc(9,pe,1,0,"ng-template",null,3,e.W1O)),2&i){const m=e.MAs(10);e.xp6(1),e.Q6J("nzDot",m),e.xp6(2),e.Q6J("nzDot",m),e.xp6(2),e.Q6J("nzDot",m),e.xp6(2),e.Q6J("nzDot",m)}},dependencies:[g,Z],encapsulation:2})}return n})();function ge(n,c){1&n&&e._UZ(0,"span",3)}let ie=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline-right"]],decls:11,vars:1,consts:[["nzMode","right"],["nzColor","red",3,"nzDot"],["dotTemplate",""],["nz-icon","","nzType","clock-circle-o",2,"font-size","16px"]],template:function(i,a){if(1&i&&(e.TgZ(0,"nz-timeline",0)(1,"nz-timeline-item"),e._uU(2,"Create a services site 2015-09-01"),e.qZA(),e.TgZ(3,"nz-timeline-item"),e._uU(4,"Solve initial network problems 2015-09-01"),e.qZA(),e.TgZ(5,"nz-timeline-item",1),e._uU(6,"Technical testing 2015-09-01"),e.qZA(),e.TgZ(7,"nz-timeline-item"),e._uU(8,"Network problems being solved 2015-09-01"),e.qZA()(),e.YNc(9,ge,1,0,"ng-template",null,2,e.W1O)),2&i){const m=e.MAs(10);e.xp6(5),e.Q6J("nzDot",m)}},dependencies:[p.Ls,g,Z,U.w],encapsulation:2})}return n})(),Ze=(()=>{class n{constructor(){this.expanded=!1}goLink(t){window&&(window.location.hash=t)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
1h(t=>{t.nzExpanded=this.expanded,t.expandCode(this.expanded),t.check()})}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline"]],viewQuery:function(i,a){if(1&i&&e.Gf(B.G,5),2&i){let m;e.iGM(m=e.CRH())&&(a.codeBoxes=m)}},decls:347,vars:39,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["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"],["nz-icon","","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"],["nz-icon","","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","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","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","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","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","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","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","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","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){1&i&&(e.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.NdJ("nzClick",function(h){return a.goLink(h)}),e._UZ(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),e.qZA()(),e.TgZ(12,"section",11)(13,"h1"),e._uU(14,"Timeline"),e.TgZ(15,"span",12),e._uU(16,"\u65f6\u95f4\u8f74"),e.qZA(),e._UZ(17,"span",13),e.TgZ(18,"a",14),e._UZ(19,"span",15),e.qZA()(),e.TgZ(20,"section",11),e.IAx(),e.TgZ(21,"p"),e._uU(22,"\u5782\u76f4\u5c55\u793a\u7684\u65f6\u95f4\u6d41\u4fe1\u606f\u3002"),e.qZA(),e.TgZ(23,"h2",16)(24,"span"),e._uU(25,"\u4f55\u65f6\u4f7f\u7528"),e.qZA(),e.TgZ(26,"a",17),e._uU(27,"#"),e.qZA()(),e.TgZ(28,"ul")(29,"li"),e._uU(30,"\u5f53\u6709\u4e00\u7cfb\u5217\u4fe1\u606f\u9700\u6309\u
165f6\u95f4\u6392\u5217\u65f6\uff0c\u53ef\u6b63\u5e8f\u548c\u5012\u5e8f\u3002"),e.qZA(),e.TgZ(31,"li"),e._uU(32,"\u9700\u8981\u6709\u4e00\u6761\u65f6\u95f4\u8f74\u8fdb\u884c\u89c6\u89c9\u4e0a\u7684\u4e32\u8054\u65f6\u3002"),e.qZA()(),e.TgZ(33,"pre",18)(34,"code")(35,"span",19),e._uU(36,"import"),e.qZA(),e._uU(37," "),e.TgZ(38,"span",20),e._uU(39,"{"),e.qZA(),e._uU(40," NzTimelineModule "),e.TgZ(41,"span",20),e._uU(42,"}"),e.qZA(),e._uU(43," "),e.TgZ(44,"span",19),e._uU(45,"from"),e.qZA(),e._uU(46," "),e.TgZ(47,"span",21),e._uU(48,"'ng-zorro-antd/timeline'"),e.qZA(),e.TgZ(49,"span",20),e._uU(50,";"),e.qZA()()(),e.fQ9(),e.qZA(),e.TgZ(51,"h2")(52,"span"),e._uU(53,"\u4ee3\u7801\u6f14\u793a"),e.qZA(),e.TgZ(54,"span",22),e.NdJ("click",function(){return a.expandAllCode()}),e.qZA()()(),e.TgZ(55,"div",23)(56,"div",24)(57,"nz-code-box",25),e._UZ(58,"nz-demo-timeline-basic",26),e.TgZ(59,"div",27),e.IAx(),e.TgZ(60,"p"),e._uU(61,"\u57fa\u672c\u7684\u65f6\u95f4\u8f74\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(62,"nz-code-box",28),e._UZ(63,"nz-demo-timeline-pending",26),e.TgZ(64,"div",27),e.IAx(),e.TgZ(65,"p"),e._uU(66,"\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 "),e.TgZ(67,"code"),e._uU(68,"nzPending"),e.qZA(),e._uU(69," \u4e3a\u771f\u503c\u65f6\u5c55\u793a\u5e7d\u7075\u8282\u70b9\uff0c\u5982\u679c "),e.TgZ(70,"code"),e._uU(71,"nzPending"),e.qZA(),e._uU(72," \u662f Template \u53ef\u7528\u4e8e\u5b9a\u5236\u8be5\u8282\u70b9\u5185\u5bb9\uff0c\u540c\u65f6 "),e.TgZ(73,"code"),e._uU(74,"nzPendingDot"),e.qZA(),e._uU(75," \u5c06\u53ef\u4ee5\u7528\u4e8e\u5b9a\u5236\u5176\u8f74\u70b9\u3002"),e.TgZ(76,"code"),e._uU(77,"nzReverse"),e.qZA(),e._uU(78," \u5c5e\u6027\u7528\u4e8e\u63a7\u5236\u8282\u70b9\u6392\u5e8f\uff0c\u4e3a "),e.TgZ(79,"code"),e._uU(80,"false"),e.qZA(),e._uU(81," \u65f6\u6309\u6b63\u5e8f\u6392\u5217\uff0c\u4e3a "),e.TgZ(82,"code"),e._uU(83,"true"),e.qZA(),e._uU(84," \u65f6\u6309\u5012\u5e8f\u6392\u5217\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(85,"nz-code-box",29),e._UZ(86,"nz-demo-timeline-custom",26),e.TgZ(87,"div",27),e.IAx(),e.TgZ(88,"p"),e._uU(89,"\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u56fe\u6807\u6216\u5176\u4ed6\u81ea\u5b9a\u4e49\u5143\u7d20\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(90,"nz-code-box",30),e._UZ(91,"nz-demo-timeline-position",26),e.TgZ(92,"div",27),e.IAx(),e.TgZ(93,"p"),e._uU(94,"\u53ef\u4ee5\u4e3a\u6bcf\u4e00\u9879\u6307\u5b9a\u4f4d\u7f6e\u3002"),e.qZA(),e.fQ9(),e.qZA()()(),e.TgZ(95,"div",24)(96,"nz-code-box",31),e._UZ(97,"nz-demo-timeline-color",26),e.TgZ(98,"div",27),e.IAx(),e.TgZ(99,"p"),e._uU(100,"\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"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(101,"nz-code-box",32),e._UZ(102,"nz-demo-timeline-alternate",26),e.TgZ(103,"div",27),e.IAx(),e.TgZ(104,"p"),e._uU(105,"\u5185\u5bb9\u5728\u65f6\u95f4\u8f74\u4e24\u4fa7\u4ea4\u66ff\u51fa\u73b0\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(106,"nz-code-box",33),e._UZ(107,"nz-demo-timeline-right",26),e.TgZ(108,"div",27),e.IAx(),e.TgZ(109,"p"),e._uU(110,"\u65f6\u95f4\u8f74\u53ef\u4ee5\u5728\u5185\u5bb9\u7684\u53f3\u8fb9\u3002"),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(111,"nz-code-box",34),e._UZ(112,"nz-demo-timeline-label",26),e.TgZ(113,"div",27),e.IAx(),e.TgZ(114,"p"),e._uU(115,"\u4f7f\u7528 "),e.TgZ(116,"code"),e._uU(117,"nzLabel"),e.qZA(),e._uU(118," \u6807\u7b7e\u5355\u72ec\u5c55\u793a\u65f6\u95f4\u3002"),e.qZA(),e.fQ9(),e.qZA()()()(),e.TgZ(119,"section",35),e.IAx(),e.TgZ(120,"h2",36)(121,"span"),e._uU(122,"API"),e.qZA(),e.TgZ(123,"a",37),e._uU(124,"#"),e.qZA()(),e.TgZ(125,"pre",38)(126,"code")(127,"span",39)(128,"span",39)(129,"span",20),e._uU(130,"<"),e.qZA(),e._uU(131,"nz-timeline"),e.qZA(),e.TgZ(132,"span",20),e._uU(133,">"),e.qZA()(),e._uU(134,"\n "),e.TgZ(135,"span",39)(136,"span",39)(137,"span",20),e._uU(138,"<"),e.qZA(),e._uU(139,"nz-timeline-item"),e.qZA(),e.TgZ(140,"span",20),e._uU(141,">"),e.qZA()(),e._uU(142,"\u521b\u5efa\u670d\u52a1\u73b0\u573a 2015-09-01"),e.TgZ(143,"span",39)(144,"span",39)(145,"span",20),e._uU(146,"</"),e.qZA(),e._uU(147,"nz-timeline-item"),e.qZA(),e.TgZ(148,"span",20),e._uU(149,">"),e.qZA()(),e._uU(150,"\n "),e.TgZ(151,"span",39)(152,"span",39)(153,"span",20),e._uU(154,"<"),e.qZA(),e._uU(155,"nz-timeline-item"),e.qZA(),e.TgZ(156,"span",20),e._uU(157,">"),e.qZA()(),e._uU(158,"\u521d\u6b65\u6392\u9664\u7f51\u7edc\u5f02\u5e38 2015-09-01"),e.TgZ(159,"span",39)(160,"span",39)(161,"span",20),e._uU(162,"</"),e.qZA(),e._uU(163,"nz-timeline-item"),e.qZA(),e.TgZ(164,"span",20),e._uU(165,">"),e.qZA()(),e._uU(166,"\n "),e.TgZ(167,"span",39)(168,"span",39)(169,"span",20),e._uU(170,"<"),e.qZA(),e._uU(171,"nz-timeline-item"),e.qZA(),e.TgZ(172,"span",20),e._uU(173,">"),e.qZA()(),e._uU(174,"\u6280\u672f\u6d4b\u8bd5\u5f02\u5e38 2015-09-01"),e.TgZ(175,"span",39)(176,"span",39)(177,"span",20),e._uU(178,"</"),e.qZA(),e._uU(179,"nz-timeline-item"),e.qZA(),e.TgZ(180,"span",20),e._uU(181,">"),e.qZA()(),e._uU(182,"\n "),e.TgZ(183,"span",39)(184,"span",39)(185,"span",20),e._uU(186,"<"),e.qZA(),e._uU(187,"nz-timeline-item"),e.qZA(),e.TgZ(188,"span",20),e._uU(189,">"),e.qZA()(),e._uU(190,"\u7f51\u7edc\u5f02\u5e38\u6b63\u5728\u4fee\u590d 2015-09-01"),e.TgZ(191,"span",39)(192,"span",39)(193,"span",20),e._uU(194,"</"),e.qZA(),e._uU(195,"nz-timeline-item"),e.qZA(),e.TgZ(196,"span",20),e._uU(197,">"),e.qZA()(),e._uU(198,"\n"),e.TgZ(199,"span",39)(200,"span",39)(201,"span",20),e._uU(202,"</"),e.qZA(),e._uU(203,"nz-timeline"),e.qZA(),e.TgZ(204,"span",20),e._uU(205,">"),e.qZA()()()(),e.TgZ(206,"h3",40)(207,"span"),e._uU(208,"nz-timeline"),e.qZA(),e.TgZ(209,"label",41),e._uU(210,"component"),e.qZA(),e.TgZ(211,"a",42),e._uU(212,"#"),e.qZA()(),e.TgZ(213,"p"),e._uU(214,"\u65f6\u95f4\u8f74\u3002"),e.qZA(),e.TgZ(215,"table")(216,"thead")(217,"tr")(218,"th"),e._uU(219,"\u53c2\u6570"),e.qZA(),e.TgZ(220,"th"),e._uU(221,"\u8bf4\u660e"),e.qZA(),e.TgZ(222,"th"),e._uU(223,"\u7c7b\u578b"),e.qZA(),e.TgZ(224,"th"),e._uU(225,"\u9ed8\u8ba4\u503c"),e.qZA()()(),e.TgZ(226,"tbody")(227,"tr")(228,"td")(229,"code"),e._uU(230,"[nzPending]"),e.qZA()(),e.TgZ(231,"td"),e._uU(232,"\u6307\u5b9a\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u662f\u5426\u5b58\u5728\u6216\u5185\u5bb9"),e.qZA(),e.TgZ(233,"td")(234,"code"),e._uU(235,"string | boolean | TemplateRef<void>"),e.qZA()(),e.TgZ(236,"td")(237,"code"),e._uU(238,"false"),e.qZA()()(),e.TgZ(239,"tr")(240,"td")(241,"code"),e._uU(242,"[nzPendingDot]"),e.qZA()(),e.TgZ(243,"td"),e._uU(244,"\u5f53\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u5b58\u5728\u6642\uff0c\u6307\u5b9a\u5176\u65f6\u95f4\u56fe\u70b9"),e.qZA(),e.TgZ(245,"td")(246,"code"),e._uU(247,"string | TemplateRef<void>"),e.qZA()(),e.TgZ(248,"td")(249,"code"),e._uU(250,'<span nz-icon nzType="loading"></span>'),e.qZA()()(),e.TgZ(251,"tr")(252,"td")(253,"code"),e._uU(254,"[nzReverse]"),e.qZA()(),e.TgZ(255,"td"),e._uU(256,"\u8282\u70b9\u6392\u5e8f"),e.qZA(),e.TgZ(257,"td")(258,"code"),e._uU(259,"boolean"),e.qZA()(),e.TgZ(260,"td")(261,"code"),e._uU(262,"false"),e.qZA()()(),e.TgZ(263,"tr")(264,"td")(265,"code"),e._uU(266,"[nzMode]"),e.qZA()(),e.TgZ(267,"td"),e._uU(268,"\u53ef\u4ee5\u6539\u53d8\u65f6\u95f4\u8f74\u548c\u5185\u5bb9\u7684\u76f8\u5bf9\u4f4d\u7f6e"),e.qZA(),e.TgZ(269,"td")(270,"code"),e._uU(271,"'left' | 'alternate' | 'right' | 'custom'"),e.qZA()(),e.TgZ(272,"td"),e._uU(273,"-"),e.qZA()()()(),e.TgZ(274,"h3",43)(275,"span"),e._uU(276,"nz-timeline-item"),e.qZA(),e.TgZ(277,"label",41),e._uU(278,"component"),e.qZA(),e.TgZ(279,"a",44),e._uU(280,"#"),e.qZA()(),e.TgZ(281,"p"),e._uU(282,"\u65f6\u95f4\u8f74\u7684\u6bcf\u4e00\u4e2a\u8282\u70b9\u3002"),e.qZA(),e.TgZ(283,"table")(284,"thead")(285,"tr")(286,"th"),e._uU(287,"\u53c2\u6570"),e.qZA(),e.TgZ(288,"th"),e._uU(289,"\u8bf4\u660e"),e.qZA(),e.TgZ(290,"th"),e._uU(291,"\u7c7b\u578b"),e.qZA(),e.TgZ(292,"th"),e._uU(293,"\u9ed8\u8ba4\u503c"),e.qZA()()(),e.TgZ(294,"tbody")(295,"tr")(296,"td")(297,"code"),e._uU(298,"[nzColor]"),e.qZA()(),e.TgZ(299,"td"),e._uU(300,"\u6307\u5b9a\u5706\u5708\u989c\u8272 "),e.TgZ(301,"code"),e._uU(302,"'blue' | 'red' | 'green' | 'gray'"),e.qZA()(),e.TgZ(303,"td")(304,"code"),e._uU(305,"string"),e.qZA()(),e.TgZ(306,"td"),e._uU(307,"blue"),e.qZA()(),e.TgZ(308,"tr")(309,"td")(310,"code"),e._uU(311,"[nzDot]"),e.qZA()(),e.TgZ(312,"td"),e._uU(313,"\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9"),e.qZA(),e.TgZ(314,"td")(315,"code"),e._uU(316,"string | TemplateRef<void>"),e.qZA()(),e.TgZ(317,"td"),e._uU(318,"-"),e.qZA()(),e.TgZ(319,"tr")(320,"td")(321,"code"),e._uU(322,"[nzPosition]"),e.qZA()(),e.TgZ(323,"td"),e._uU(324,"\u81ea\u5b9a\u4e49\u8282\u70b9\u4f4d\u7f6e\uff0c\u4ec5\u5f53 "),e.TgZ(325,"code"),e._uU(326,"nzMode"),e.qZA(),e._uU(327," \u4e3a "),e.TgZ(328,"code"),e._uU(329,"custom"),e.qZA(),e._uU(330," \u65f6\u6709\u6548"),e.qZA(),e.TgZ(331,"td")(332,"code"),e._uU(333,"'left' | 'right'"),e.qZA()(),e.TgZ(334,"td"),e._uU(335,"-"),e.qZA()(),e.TgZ(336,"tr")(337,"td")(338,"code"),e._uU(339,"[nzLabel]"),e.qZA()(),e.TgZ(340,"td"),e._uU(341,"\u8bbe\u7f6e\u6807\u7b7e"),e.qZA(),e.TgZ(342,"td")(343,"code"),e._uU(344,"string | TemplateRef<void>"),e.qZA()(),e.TgZ(345,"td"),e._uU(346,"-"),e.qZA()()()(),e.fQ9(),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("nzOffsetTop",16),e.xp6(1),e.Q6J("nzAffix",!1),e.xp6(
153),e.Q6J("nzGutter",16),e.xp6(1),e.Q6J("nzXl",12)("nzSpan",24),e.xp6(1),e.Q6J("nzId","components-timeline-demo-basic")("nzLink","components-timeline-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/basic.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-pending")("nzLink","components-timeline-demo-pending")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/pending.md"),e.xp6(23),e.Q6J("nzId","components-timeline-demo-custom")("nzLink","components-timeline-demo-custom")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/custom.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-position")("nzLink","components-timeline-demo-position")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/position.md"),e.xp6(5),e.Q6J("nzXl",12)("nzSpan",24),e.xp6(1),e.Q6J("nzId","components-timeline-demo-color")("nzLink","components-timeline-demo-color")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/color.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-alternate")("nzLink","components-timeline-demo-alternate")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/alternate.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-right")("nzLink","components-timeline-demo-right")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/right.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-label")("nzLink","components-timeline-demo-label")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/label.md"))},dependencies:[B.G,I.IT,I.Fp,$.$,k.t3,k.SK,Y.SY,p.Ls,U.w,W,V,X,j,ee,ne,te,ie],encapsulation:2})}return n})(),he=(()=>{class n{constructor(){this.expanded=!1}goLink(t){window&&(window.location.hash=t)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(t=>{t.nzExpanded=this.expanded,t.expandCode(this.expanded),t.check()})}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.Xpm({type:n,selectors:[["nz-demo-timeline"]],viewQuery:function(i,a){if(1&i&&e.Gf(B.G,5),2&i){let m;e.iGM(m=e.CRH())&&(a.codeBoxes=m)}},decls:349,vars:39,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["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"],["nz-icon","","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"],["nz-icon","","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","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","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","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","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","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","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","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","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){1&i&&(e.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.NdJ("nzClick",function(h){return a.goLink(h)}),e._UZ(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),e.qZA()(),e.TgZ(12,"section",11)(13,"h1"),e._uU(14,"Timeline"),e._UZ(15,"span",12)(16,"span",13),e.TgZ(17,"a",14),e._UZ(18,"span",15),e.qZA()(),e.TgZ(19,"section",11),e.IAx(),e.TgZ(20,"p"),e._uU(21,"Vertical display timeline."),e.qZA(),e.TgZ(22,"h2",16)(23,"span"),e._uU(24,"When To Use"),e.qZA(),e.TgZ(25,"a",17),e._uU(26,"#"),e.qZA()(),e.TgZ(27,"ul")(28,"li"),e._uU(29,"When a series of information needs to be ordered by time (ascend or descend)."),e.qZA(),e.TgZ(30,"li"),e._uU(31,"When you need a timeline to make a visual connection."),e.qZA()(),e.TgZ(32,"pre",18)(33,"code")(34,"span",19),e._uU(35,"import"),e.qZA(),e._uU(36," "),e.TgZ(37,"span",20),e._uU(38,"{"),e.qZA(),e._uU(39," NzTimelineModule "),e.TgZ(40,"span",20),e._uU(41,"}"),e.qZA(),e._uU(42," "),e.TgZ(43,"span",19),e._uU(44,"from"),e.qZA(),e._uU(45," "),e.TgZ(46,"span",21),e._uU(47,"'
1ng-zorro-antd/timeline'"),e.qZA(),e.TgZ(48,"span",20),e._uU(49,";"),e.qZA()()(),e.fQ9(),e.qZA(),e.TgZ(50,"h2")(51,"span"),e._uU(52,"Examples"),e.qZA(),e.TgZ(53,"span",22),e.NdJ("click",function(){return a.expandAllCode()}),e.qZA()()(),e.TgZ(54,"div",23)(55,"div",24)(56,"nz-code-box",25),e._UZ(57,"nz-demo-timeline-basic",26),e.TgZ(58,"div",27),e.IAx(),e.TgZ(59,"p"),e._uU(60,"Basic timeline."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(61,"nz-code-box",28),e._UZ(62,"nz-demo-timeline-pending",26),e.TgZ(63,"div",27),e.IAx(),e.TgZ(64,"p"),e._uU(65,"When the timeline is incomplete and ongoing, put a ghost node at last. set "),e.TgZ(66,"code"),e._uU(67,'[nzPending]="true"'),e.qZA(),e._uU(68," or "),e.TgZ(69,"code"),e._uU(70,'[nzPending]="a TemplateRef"'),e.qZA(),e._uU(71,". Used in ascend chronological order."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(72,"nz-code-box",29),e._UZ(73,"nz-demo-timeline-custom",26),e.TgZ(74,"div",27),e.IAx(),e.TgZ(75,"p"),e._uU(76,"Set a node as an icon or other custom element."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(77,"nz-code-box",30),e._UZ(78,"nz-demo-timeline-position",26),e.TgZ(79,"div",27),e.IAx(),e.TgZ(80,"p"),e._uU(81,"You can assign different positions to timeline items."),e.qZA(),e.fQ9(),e.qZA()()(),e.TgZ(82,"div",24)(83,"nz-code-box",31),e._UZ(84,"nz-demo-timeline-color",26),e.TgZ(85,"div",27),e.IAx(),e.TgZ(86,"p"),e._uU(87,"Set the color of circles. "),e.TgZ(88,"code"),e._uU(89,"green"),e.qZA(),e._uU(90," means completed or success status, "),e.TgZ(91,"code"),e._uU(92,"red"),e.qZA(),e._uU(93," means warning or error, and "),e.TgZ(94,"code"),e._uU(95,"blue"),e.qZA(),e._uU(96," means ongoing or other default status, "),e.TgZ(97,"code"),e._uU(98,"gray"),e.qZA(),e._uU(99," for unfinished or disabled status."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(100,"nz-code-box",32),e._UZ(101,"nz-demo-timeline-alternate",26),e.TgZ(102,"div",27),e.IAx(),e.TgZ(103,"p"),e._uU(104,"Alternate timeline."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(105,"nz-code-box",33),e._UZ(106,"nz-demo-timeline-right",26),e.TgZ(107,"div",27),e.IAx(),e.TgZ(108,"p"),e._uU(109,"Right alternate timeline."),e.qZA(),e.fQ9(),e.qZA()(),e.TgZ(110,"nz-code-box",34),e._UZ(111,"nz-demo-timeline-label",26),e.TgZ(112,"div",27),e.IAx(),e.TgZ(113,"p"),e._uU(114,"Use "),e.TgZ(115,"code"),e._uU(116,"nzLabel"),e.qZA(),e._uU(117," show time alone."),e.qZA(),e.fQ9(),e.qZA()()()(),e.TgZ(118,"section",35),e.IAx(),e.TgZ(119,"h2",36)(120,"span"),e._uU(121,"API"),e.qZA(),e.TgZ(122,"a",37),e._uU(123,"#"),e.qZA()(),e.TgZ(124,"pre",38)(125,"code")(126,"span",39)(127,"span",39)(128,"span",20),e._uU(129,"<"),e.qZA(),e._uU(130,"nz-timeline"),e.qZA(),e.TgZ(131,"span",20),e._uU(132,">"),e.qZA()(),e._uU(133,"\n "),e.TgZ(134,"span",39)(135,"span",39)(136,"span",20),e._uU(137,"<"),e.qZA(),e._uU(138,"nz-timeline-item"),e.qZA(),e.TgZ(139,"span",20),e._uU(140,">"),e.qZA()(),e._uU(141,"step1 2015-09-01"),e.TgZ(142,"span",39)(143,"span",39)(144,"span",20),e._uU(145,"</"),e.qZA(),e._uU(146,"nz-timeline-item"),e.qZA(),e.TgZ(147,"span",20),e._uU(148,">"),e.qZA()(),e._uU(149,"\n "),e.TgZ(150,"span",39)(151,"span",39)(152,"span",20),e._uU(153,"<"),e.qZA(),e._uU(154,"nz-timeline-item"),e.qZA(),e.TgZ(155,"span",20),e._uU(156,">"),e.qZA()(),e._uU(157,"step2 2015-09-01"),e.TgZ(158,"span",39)(159,"span",39)(160,"span",20),e._uU(161,"</"),e.qZA(),e._uU(162,"nz-timeline-item"),e.qZA(),e.TgZ(163,"span",20),e._uU(164,">"),e.qZA()(),e._uU(165,"\n "),e.TgZ(166,"span",39)(167,"span",39)(168,"span",20),e._uU(169,"<"),e.qZA(),e._uU(170,"nz-timeline-item"),e.qZA(),e.TgZ(171,"span",20),e._uU(172,">"),e.qZA()(),e._uU(173,"step3 2015-09-01"),e.TgZ(174,"span",39)(175,"span",39)(176,"span",20),e._uU(177,"</"),e.qZA(),e._uU(178,"nz-timeline-item"),e.qZA(),e.TgZ(179,"span",20),e._uU(180,">"),e.qZA()(),e._uU(181,"\n "),e.TgZ(182,"span",39)(183,"span",39)(184,"span",20),e._uU(185,"<"),e.qZA(),e._uU(186,"nz-timeline-item"),e.qZA(),e.TgZ(187,"span",20),e._uU(188,">"),e.qZA()(),e._uU(189,"step4 2015-09-01"),e.TgZ(190,"span",39)(191,"span",39)(192,"span",20),e._uU(193,"</"),e.qZA(),e._uU(194,"nz-timeline-item"),e.qZA(),e.TgZ(195,"span",20),e._uU(196,">"),e.qZA()(),e._uU(197,"\n"),e.TgZ(198,"span",39)(199,"span",39)(200,"span",20),e._uU(201,"</"),e.qZA(),e._uU(202,"nz-timeline"),e.qZA(),e.TgZ(203,"span",20),e._uU(204,">"),e.qZA()()()(),e.TgZ(205,"h3",40)(206,"span"),e._uU(207,"nz-timeline"),e.qZA(),e.TgZ(208,"label",41),e._uU(209,"component"),e.qZA(),e.TgZ(210,"a",42),e._uU(211,"#"),e.qZA()(),e.TgZ(212,"p"),e._uU(213,"Timeline"),e.qZA(),e.TgZ(214,"table")(215,"thead")(216,"tr")(217,"th"),e._uU(218,"Property"),e.qZA(),e.TgZ(219,"th"),e._uU(220,"Description"),e.qZA(),e.TgZ(221,"th"),e._uU(222,"Type"),e.qZA(),e.TgZ(223,"th"),e._uU(224,"Default"),e.qZA()()(),e.TgZ(225,"tbody")(226,"tr")(227,"td")(228,"code"),e._uU(229,"[nzPending]"),e.qZA()(),e.TgZ(230,"td"),e._uU(231,"Set the last ghost node's existence or its content"),e.qZA(),e.TgZ(232,"td")(233,"code"),e._uU(234,"string|boolean|TemplateRef<void>"),e.qZA()(),e.TgZ(235,"td")(236,"code"),e._uU(237,"false"),e.qZA()()(),e.TgZ(238,"tr")(239,"td")(240,"code"),e._uU(241,"[nzPendingDot]"),e.qZA()(),e.TgZ(242,"td"),e._uU(243,"Set the dot of the last ghost node when pending is true"),e.qZA(),e.TgZ(244,"td")(245,"code"),e._uU(246,"string|TemplateRef<void>"),e.qZA()(),e.TgZ(247,"td")(248,"code"),e._uU(249,'<span nz-icon nzType="loading"></span>'),e.qZA()()(),e.TgZ(250,"tr")(251,"td")(252,"code"),e._uU(253,"[nzReverse]"),e.qZA()(),e.TgZ(254,"td"),e._uU(255,"Reverse nodes or not"),e.qZA(),e.TgZ(256,"td")(257,"code"),e._uU(258,"boolean"),e.qZA()(),e.TgZ(259,"td")(260,"code"),e._uU(261,"false"),e.qZA()()(),e.TgZ(262,"tr")(263,"td")(264,"code"),e._uU(265,"[nzMode]"),e.qZA()(),e.TgZ(266,"td"),e._uU(267,"By sending "),e.TgZ(268,"code"),e._uU(269,"alternate"),e.qZA(),e._uU(270," the timeline will distribute the nodes to the left and right"),e.qZA(),e.TgZ(271,"td")(272,"code"),e._uU(273,"'left' | 'alternate' | 'right' | 'custom'"),e.qZA()(),e.TgZ(274,"td"),e._uU(275,"-"),e.qZA()()()(),e.TgZ(276,"h3",43)(277,"span"),e._uU(278,"nz-timeline-item"),e.qZA(),e.TgZ(279,"label",41),e._uU(280,"component"),e.qZA(),e.TgZ(281,"a",44),e._uU(282,"#"),e.qZA()(),e.TgZ(283,"p"),e._uU(284,"Node of timeline"),e.qZA(),e.TgZ(285,"table")(286,"thead")(287,"tr")(288,"th"),e._uU(289,"Property"),e.qZA(),e.TgZ(290,"th"),e._uU(291,"Description"),e.qZA(),e.TgZ(292,"th"),e._uU(293,"Type"),e.qZA(),e.TgZ(294,"th"),e._uU(295,"Default"),e.qZA()()(),e.TgZ(296,"tbody")(297,"tr")(298,"td")(299,"code"),e._uU(300,"[nzColor]"),e.qZA()(),e.TgZ(301,"td"),e._uU(302,"Set the circle's color to "),e.TgZ(303,"code"),e._uU(304,"'blue' | 'red' | 'green' | 'gray'"),e.qZA()(),e.TgZ(305,"td")(306,"code"),e._uU(307,"string"),e.qZA()(),e.TgZ(308,"td")(309,"code"),e._uU(310,"blue"),e.qZA()()(),e.TgZ(311,"tr")(312,"td")(313,"code"),e._uU(314,"[nzDot]"),e.qZA()(),e.TgZ(315,"td"),e._uU(316,"Customize timeline dot"),e.qZA(),e.TgZ(317,"td")(318,"code"),e._uU(319,"string | TemplateRef<void>"),e.qZA()(),e.TgZ(320,"td"),e._uU(321,"-"),e.qZA()(),e.TgZ(322,"tr")(323,"td")(324,"code"),e._uU(325,"[nzPosition]"),e.qZA()(),e.TgZ(326,"td"),e._uU(327,"Customize position, only works when "),e.TgZ(328,"code"),e._uU(329,"nzMode"),e.qZA(),e._uU(330," is "),e.TgZ(331,"code"),e._uU(332,"custom"),e.qZA()(),e.TgZ(333,"td")(334,"code"),e._uU(335,"'left' | 'right'"),e.qZA()(),e.TgZ(336,"td"),e._uU(337,"-"),e.qZA()(),e.TgZ(338,"tr")(339,"td")(340,"code"),e._uU(341,"[nzLabel]"),e.qZA()(),e.TgZ(342,"td"),e._uU(343,"Set the label"),e.qZA(),e.TgZ(344,"td")(345,"code"),e._uU(346,"string | TemplateRef<void>"),e.qZA()(),e.TgZ(347,"td"),e._uU(348,"-"),e.qZA()()()(),e.fQ9(),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("nzOffsetTop",16),e.xp6(1),e.Q6J("nzAffix",!1),e.xp6(
152),e.Q6J("nzGutter",16),e.xp6(1),e.Q6J("nzXl",12)("nzSpan",24),e.xp6(1),e.Q6J("nzId","components-timeline-demo-basic")("nzLink","components-timeline-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/basic.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-pending")("nzLink","components-timeline-demo-pending")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/pending.md"),e.xp6(11),e.Q6J("nzId","components-timeline-demo-custom")("nzLink","components-timeline-demo-custom")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/custom.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-position")("nzLink","components-timeline-demo-position")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/position.md"),e.xp6(5),e.Q6J("nzXl",12)("nzSpan",24),e.xp6(1),e.Q6J("nzId","components-timeline-demo-color")("nzLink","components-timeline-demo-color")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/color.md"),e.xp6(17),e.Q6J("nzId","components-timeline-demo-alternate")("nzLink","components-timeline-demo-alternate")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/alternate.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-right")("nzLink","components-timeline-demo-right")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/right.md"),e.xp6(5),e.Q6J("nzId","components-timeline-demo-label")("nzLink","components-timeline-demo-label")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/timeline/demo/label.md"))},dependencies:[B.G,I.IT,I.Fp,$.$,k.t3,k.SK,Y.SY,p.Ls,U.w,W,V,X,j,ee,ne,te,ie],encapsulation:2})}return n})(),Te=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275mod=e.oAB({type:n});static#t=this.\u0275inj=e.cJS({imports:[C.G,me,u.Bz.forChild([{path:"en",component:he},{path:"zh",component:Ze}])]})}return n})()},7225:(oe,b,l)=>{l.d(b,{Bq:()=>E,Dg:()=>S,Of:()=>H,aF:()=>M});var u=l(9212),C=l(7582),p=l(6223),e=l(7328),q=l(8645),N=l(2438),z=l(9773),T=l(6700),_=l(9388),v=l(4300),x=l(8188),R=l(6814);const D=["*"],y=["inputElement"],O=["nz-radio",""];let E=(()=>{class r{static#e=this.\u0275fac=function(d){return new(d||r)};static#n=this.\u0275dir=u.lG2({type:r,selectors:[["","nz-radio-button",""]]})}return r})(),f=(()=>{class r{constructor(){this.selected$=new e.t(1),this.touched$=new q.x,this.disabled$=new e.t(1),this.name$=new e.t(1)}touch(){this.touched$.next()}select(o){this.selected$.next(o)}setDisabled(o){this.disabled$.next(o)}setName(o){this.name$.next(o)}static#e=this.\u0275fac=function(d){return new(d||r)};static#n=this.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac})}return r})(),S=(()=>{class r{constructor(o,d,s){this.cdr=o,this.nzRadioService=d,this.directionality=s,this.value=null,this.destroy$=new q.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,z.R)(this.destroy$)).subscribe(o=>{this.value!==o&&(this.value=o,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,z.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,z.R)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(o){const{nzDisabled:d,nzName:s}=o;d&&this.nzRadioService.setDisabled(this.nzDisabled),s&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}writeValue(o){this.value=o,this.nzRadioService.select(o),this.cdr.markForCheck()}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||o,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static#e=this.\u0275fac=function(d){return new(d||r)(u.Y36(u.sBO),u.Y36(f),u.Y36(_.Is,8))};static#n=this.\u0275cmp=u.Xpm({type:r,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(d,s){2&d&&u.ekj("ant-radio-group-large","large"===s.nzSize)("ant-radio-group-small","small"===s.nzSize)("ant-radio-group-solid","solid"===s.nzButtonStyle)("ant-radio-group-rtl","rtl"===s.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[u._Bn([f,{provide:p.JU,useExisting:(0,u.Gpc)(()=>r),multi:!0}]),u.TTD],ngContentSelectors:D,decls:1,vars:0,template:function(d,s){1&d&&(u.F$t(),u.Hsn(0))},encapsulation:2,changeDetection:0})}return(0,C.gn)([(0,T.yF)()],r.prototype,"nzDisabled",void 0),r})(),H=(()=>{class r{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(o,d,s,A,Q,P,w,F){this.ngZone=o,this.elementRef=d,this.cdr=s,this.focusMonitor=A,this.directionality=Q,this.nzRadioService=P,this.nzRadioButtonDirective=w,this.nzFormStatusService=F,this.isNgModel=!1,this.destroy$=new q.x,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}setDisabledState(o){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||o,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(o){this.isChecked=o,this.cdr.markForCheck()}registerOnChange(o){this.isNgModel=!0,this.onChange=o}registerOnTouched(o){this.onTouched=o}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,z.R)(this.destroy$)).subscribe(o=>{this.name=o,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,z.R)(this.destroy$)).subscribe(o=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||o,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,z.R)(this.destroy$)).subscribe(o=>{const d=this.isChecked;this.isChecked=this.nzValue===o,this.isNgModel&&d!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,z.R)(this.destroy$)).subscribe(o=>{o||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,N.R)(this.elementRef.nativeElement,"click").pipe((0,z.R)(this.destroy$)).subscribe(o=>{o.stopPropagation(),o.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}static#e=this.\u0275fac=function(d){return new(d||r)(u.Y36(u.R0b),u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(v.tE),u.Y36(_.Is,8),u.Y36(f,8),u.Y36(E,8),u.Y36(x.kH,8))};static#n=this.\u0275cmp=u.Xpm({type:r,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(d,s){if(1&d&&u.Gf(y,7),2&d){let A;u.iGM(A=u.CRH())&&(s.inputElement=A.first)}},hostVars:18,hostBindings:function(d,s){2&d&&u.ekj("ant-radio-wrapper-in-form-item",!!s.nzFormStatusService)("ant-radio-wrapper",!s.isRadioButton)("ant-radio-button-wrapper",s.isRadioButton)("ant-radio-wrapper-checked",s.isChecked&&!s.isRadioButton)("ant-radio-button-wrapper-checked",s.isChecked&&s.isRadioButton)("ant-radio-wrapper-disabled",s.nzDisabled&&!s.isRadioButton)("ant-radio-button-wrapper-disabled",s.nzDisabled&&s.isRadioButton)("ant-radio-wrapper-rtl",!s.isRadioButton&&"rtl"===s.dir)("ant-radio-button-wrapper-rtl",s.isRadioButton&&"rtl"===s.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[u._Bn([{provide:p.JU,useExisting:(0,u.Gpc)(()=>r),multi:!0}])],attrs:O,ngContentSelectors:D,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["
1inputElement",""]],template:function(d,s){1&d&&(u.F$t(),u.TgZ(0,"span"),u._UZ(1,"input",0,1)(3,"span"),u.qZA(),u.TgZ(4,"span"),u.Hsn(5),u.qZA()),2&d&&(u.ekj("ant-radio",!s.isRadioButton)("ant-radio-checked",s.isChecked&&!s.isRadioButton)("ant-radio-disabled",s.nzDisabled&&!s.isRadioButton)("ant-radio-button",s.isRadioButton)("ant-radio-button-checked",s.isChecked&&s.isRadioButton)("ant-radio-button-disabled",s.nzDisabled&&s.isRadioButton),u.xp6(1),u.ekj("ant-radio-input",!s.isRadioButton)("ant-radio-button-input",s.isRadioButton),u.Q6J("disabled",s.nzDisabled)("checked",s.isChecked),u.uIk("autofocus",s.nzAutoFocus?"autofocus":null)("name",s.name),u.xp6(2),u.ekj("ant-radio-inner",!s.isRadioButton)("ant-radio-button-inner",s.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,C.gn)([(0,T.yF)()],r.prototype,"nzDisabled",void 0),(0,C.gn)([(0,T.yF)()],r.prototype,"nzAutoFocus",void 0),r})(),M=(()=>{class r{static#e=this.\u0275fac=function(d){return new(d||r)};static#n=this.\u0275mod=u.oAB({type:r});static#t=this.\u0275inj=u.cJS({imports:[_.vT,R.ez,p.u5]})}return r})()}}]);
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.