PageSourceSearch

https://preview-8429-ng-zorro-antd.surge.sh/1688.8f028943c33f51ec.js

js preview-8429-ng-zorro-antd.surge.sh collected 2026-10-03 14:57:02 UTC 55,290 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[1688],{9308:(te,F,m)=>{m.r(F),m.d(F,{NzDemoTimelineModule:()=>Ee});var f=m(9072),a=m(2928),z=m(5120),E=m(1368),e=m(4496),k=m(6256),p=m(2540),$=m(5657),I=m(3616),_=m(1900);const A=["template"];function b(n,c){if(1&n&&(e.SAx(0),e.OEk(1),e.k70()),2&n){const t=e.GaO(3);e.yG2(),e.cNF(t.nzLabel)}}function B(n,c){if(1&n&&(e.I0R(0,"div",7),e.yuY(1,b,2,1,"ng-container",5),e.C$Y()),2&n){const t=e.GaO(2);e.yG2(),e.E7m("nzStringTemplateOutlet",t.nzLabel)}}function G(n,c){if(1&n&&(e.SAx(0),e.OEk(1),e.k70()),2&n){const t=e.GaO(2);e.yG2(),e.cNF(t.nzDot)}}function Y(n,c){if(1&n&&(e.I0R(0,"li",1),e.yuY(1,B,2,1,"div",2),e.wR5(2,"div",3),e.I0R(3,"div",4),e.yuY(4,G,2,1,"ng-container",5),e.C$Y(),e.I0R(5,"div",6),e._Xx(6),e.C$Y()()),2&n){const t=e.GaO();e.eAK("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.yG2(),e.E7m("ngIf",t.nzLabel),e.yG2(2),e.m4B("border-color",t.borderColor),e.eAK("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.yG2(),e.E7m("nzStringTemplateOutlet",t.nzDot)}}const T=["*"];function N(n,c){if(1&n&&e.C_f(0,4),2&n){e.GaO();const t=e.Gew(5);e.E7m("ngTemplateOutlet",t)}}function w(n,c){}function d(n,c){if(1&n&&(e.SAx(0),e.yuY(1,w,0,0,"ng-template",4),e.k70()),2&n){const t=c.$implicit;e.yG2(),e.E7m("ngTemplateOutlet",t.template)}}function ie(n,c){if(1&n&&e.C_f(0,4),2&n){e.GaO();const t=e.Gew(5);e.E7m("ngTemplateOutlet",t)}}function o(n,c){1&n&&e.wR5(0,"span",12)}function u(n,c){if(1&n&&(e.SAx(0),e.OEk(1),e.yuY(2,o,1,0,"span",11),e.k70()),2&n){const t=e.GaO(3);e.yG2(),e.oRS(" ",t.nzPendingDot," "),e.yG2(),e.E7m("ngIf",!t.nzPendingDot)}}function s(n,c){if(1&n&&(e.SAx(0),e.OEk(1),e.k70()),2&n){const t=e.GaO(3);e.yG2(),e.oRS(" ",t.isPendingBoolean?"":t.nzPending," ")}}function R(n,c){if(1&n&&(e.I0R(0,"li",6),e.wR5(1,"div",7),e.I0R(2,"div",8),e.yuY(3,u,3,2,"ng-container",9),e.C$Y(),e.I0R(4,"div",10),e.yuY(5,s,2,1,"ng-container",9),e.C$Y()()),2&n){const t=e.GaO(2);e.yG2(3),e.E7m("nzStringTemplateOutlet",t.nzPendingDot),e.yG2(2),e.E7m("nzStringTemplateOutlet",t.nzPending)}}function S(n,c){if(1&n&&e.yuY(0,R,6,2,"li",5),2&n){const t=e.GaO();e.E7m("ngIf",t.nzPending)}}const oe=["red","blue","green","grey","gray"];let H=(()=>{class n{constructor(){this.check$=new p.o(1)}markForCheck(){this.check$.next()}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275prov=e.wxM({token:n,factory:n.\u0275fac})}return n})(),C=(()=>{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 ae(n){return-1!==oe.findIndex(c=>c===n)}(this.nzColor)?null:this.nzColor}static#e=this.\u0275fac=function(i){return new(i||n)(e.GI1(e.kD9),e.GI1(H))};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-timeline-item"],["","nz-timeline-item",""]],viewQuery:function(i,l){if(1&i&&e.CC$(A,5),2&i){let r;e.wto(r=e.Gqi())&&(l.template=r.first)}},inputs:{nzPosition:"nzPosition",nzColor:"nzColor",nzDot:"nzDot",nzLabel:"nzLabel"},exportAs:["nzTimelineItem"],standalone:!0,features:[e.SYr,e.UHJ],ngContentSelectors:T,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,l){1&i&&(e.kPM(),e.yuY(0,Y,7,20,"ng-template",null,0,e.gJz))},dependencies:[E.u_,k.u,k.C],encapsulation:2,changeDetection:0})}return n})(),g=(()=>{class n{constructor(t,i,l){this.cdr=t,this.timelineService=i,this.directionality=l,this.nzMode="left",this.nzReverse=!1,this.isPendingBoolean=!1,this.timelineItems=[],this.dir="ltr",this.hasLabelItem=!1,this.destroy$=new $.E}ngOnChanges(t){const{nzMode:i,nzReverse:l,nzPending:r}=t;(x(i)||x(l))&&this.updateChildren(),r&&(this.isPendingBoolean=!0===r.currentValue)}ngOnInit(){this.timelineService.check$.pipe((0,I.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.directionality.change?.pipe((0,I.a)(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.updateChildren(),this.listOfItems.changes.pipe((0,I.a)(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((l,r)=>{l.isLast=this.nzReverse?0===r:r===t-1,l.position=function se(n,c){return"custom"===c?void 0:"left"===c?"left":"right"===c?"right":"alternate"===c&&n%2==0?"left":"right"}(r,this.nzMode),!i&&l.nzLabel&&(i=!0),l.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.GI1(e.kD9),e.GI1(H),e.GI1(_.yG,8))};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-timeline"]],contentQueries:function(i,l,r){if(1&i&&e.szK(r,C,4),2&i){let h;e.wto(h=e.Gqi())&&(l.listOfItems=h)}},inputs:{nzMode:"nzMode",nzPending:"nzPending",nzPendingDot:"nzPendingDot",nzReverse:"nzReverse"},exportAs:["nzTimeline"],standalone:!0,features:[e.M5G([H]),e.SYr,e.UHJ],ngContentSelectors:T,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,l){1&i&&(e.kPM(),e.I0R(0,"ul",0),e.yuY(1,N,1,1,"ng-container",1)(2,d,2,1,"ng-container",2)(3,ie,1,1,"ng-container",1),e.C$Y(),e.yuY(4,S,1,1,"ng-template",null,3,e.gJz),e._Xx(6)),2&i&&(e.eAK("ant-timeline-label",l.hasLabelItem)("ant-timeline-right",!l.hasLabelItem&&"right"===l.nzMode)("ant-timeline-alternate","alternate"===l.nzMode||"custom"===l.nzMode)("ant-timeline-pending",!!l.nzPending)("ant-timeline-reverse",l.nzReverse)("ant-timeline-rtl","rtl"===l.dir),e.yG2(),e.E7m("ngIf",l.nzReverse),e.yG2(),e.E7m("ngForOf",l.timelineItems),e.yG2(),e.E7m("ngIf",!l.nzReverse))},dependencies:[E.u_,E.XV,E.ay,k.u,k.C,z.Wy,z.If],encapsulation:2,changeDetection:0})}return n})();function x(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.a4G({type:n});static#t=this.\u0275inj=e.s3X({imports:[C,g]})}return n})();var Z=m(8352),M=m(9656);const me=[M.sn,z.Wy,le,Z.EV];var D=m(6056),y=m(8700),U=m(8656),v=m(3172),K=m(9100),O=m(28);function re(n,c){1&n&&e.wR5(0,"span",5)}let W=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({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,l){if(1&i&&(e.I0R(0,"nz-timeline",0)(1,"nz-timeline-item"),e.OEk(2,"Create a services site 2015-09-01"),e.C$Y(),e.I0R(3,"nz-timeline-item",1),e.OEk(4,"Solve initial network problems 2015-09-01"),e.C$Y(),e.I0R(5,"nz-timeline-item",2),e.OEk(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.C$Y(),e.I0R(7,"nz-timeline-item",3),e.OEk(8,"Network problems being solved 2015-09-01"),e.C$Y(),e.I0R(9,"nz-timeline-item"),e.OEk(10,"Create a services site 2015-09-01"),e.C$Y(),e.I0R(11,"nz-timeline-item",2),e.OEk(12,"Technical testing 2015-09-01"),e.C$Y()(),e.yuY(13,re,1,0,"ng-template",null,4,e.gJz)),2&i){const r=e.Gew(14);e.yG2(5),e.E7m("nzDot",r),e.yG2(6),e.E7m("nzDot",r)}},dependencies:[z.If,C,g,O.k],encapsulation:2})}return n})(),V=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-timeline-basic"]],decls:9,vars:0,template:function(i,l){1&i&&(e.I0R(0,"nz-timeline")(1,"nz-timeline-item"),e.OEk(2,"Create a services site 2015-09-01"),e.C$Y(),e.I0R(3,"nz-timeline-item"),e.OEk(4,"Solve initial network problems 2015-09-01"),e.C$Y(),e.I0R(5,"nz-timeline-item"),e.OEk(6,"Technical testing 2015-09-01"),e.C$Y(),e.I0R(7,"nz-timeline-item"),e.OEk(8,"Network problems being solved 2015-09-01"),e.C$Y()())},dependencies:[C,g],encapsulation:2})}return n})(),Q=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-timeline-color"]],decls:33,vars:0,consts:[["nzColor","green"],["nzColor","red"],["nzColor","gray"]],template:function(i,l){1&i&&(e.I0R(0,"nz-timeline")(1,"nz-timeline-item",0),e.OEk(2,"Create a services site 2015-09-01"),e.C$Y(),e.I0R(3,"nz-timeline-item",0),e.OEk(4,"Solve initial network problems 2015-09-01"),e.C$Y(),e.I0R(5,"nz-timeline-item",1)(6,"p"),e.OEk(7,"Solve initial network problems 1"),e.C$Y(),e.I0R(8,"p"),e.OEk(9,"Solve initial network problems 2"),e.C$Y(),e.I0R(10,"p"),e.OEk(11,"Solve initial network problems 3 2015-09-01"),e.C$Y()(),e.I0R(12,"nz-timeline-item")(13,"p"),e.OEk(14,"Technical testing 1"),e.C$Y(),e.I0R(15,"p"),e.OEk(16,"Technical testing 2"),e.C$Y(),e.I0R(17,"p"),e.OEk(18,"Technical testing 3 2015-09-01"),e.C$Y()(),e.I0R(19,"nz-timeline-item",2)(20,"p"),e.OEk(21,"Technical testing 1"),e.C$Y(),e.I0R(22,"p"),e.OEk(23,"Technical testing 2"),e.C$Y(),e.I0R(24,"p"),e.OEk(25,"Technical testing 3 2015-09-01"),e.C$Y()(),e.I0R(26,"nz-timeline-item",2)(27,"p"),e.OEk(28,"Technical testing 1"),e.C$Y(),e.I0R(29,"p"),e.OEk(30,"Technical testing 2"),e.C$Y(),e.I0R(31,"p"),e.OEk(32,"Technical testing 3 2015-09-01"),e.C$Y()()())},dependencies:[C,g],encapsulation:2})}return n})();function ue(n,c){1&n&&e.wR5(0,"span",2)}let j=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({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,l){if(1&i&&(e.I0R(0,"nz-timeline")(1,"nz-timeline-item"),e.OEk(2,"Create a services site 2015-09-01"),e.C$Y(),e.I0R(3,"nz-timeline-item"),e.OEk(4,"Solve initial network problems 2015-09-01"),e.C$Y(),e.I0R(5,"nz-timeline-item",0),e.OEk(6,"Technical testing 2015-09-01"),e.C$Y(),e.I0R(7,"nz-timeline-item"),e.OEk(8,"Network problems being solved 2015-09-01"),e.C$Y()(),e.yuY(9,ue,1,0,"ng-template",null,1,e.gJz)),2&i){const r=e.Gew(10);e.yG2(5),e.E7m("nzDot",r)}},dependencies:[z.If,C,g,O.k],encapsulation:2})}return n})();var X=m(6504);const de=()=>({"margin-bottom":"20px"});let J=(()=>{class n{constructor(){this.mode="left"}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({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,l){1&i&&(e.I0R(0,"nz-radio-group",0),e.iHE("ngModelChange",function(h){return e.kNx(l.mode,h)||(l.mode=h),h}),e.I0R(1,"label",1),e.OEk(2,"Left"),e.C$Y(),e.I0R(3,"label",2),e.OEk(4,"Right"),e.C$Y(),e.I0R(5,"label",3),e.OEk(6,"Alternative"),e.C$Y()(),e.I0R(7,"nz-timeline",4)(8,"nz-timeline-item",5),e.OEk(9,"Create a services"),e.C$Y(),e.I0R(10,"nz-timeline-item",6),e.OEk(11,"Solve initial network problems"),e.C$Y(),e.I0R(12,"nz-timeline-item"),e.OEk(13,"Technical testing"),e.C$Y(),e.I0R(14,"nz-timeline-item",6),e.OEk(15,"Network problems being solved"),e.C$Y()()),2&i&&(e.OKB("ngModel",l.mode),e.E7m("ngStyle",e.q4q(3,de)),e.yG2(7),e.E7m("nzMode",l.mode))},dependencies:[E.Qt,X.ue,X._G,M.es,M.uw,C,g],encapsulation:2})}return n})();var ce=m(7324);let q=(()=>{class n{constructor(){this.reverse=!1}
1toggleReverse(){this.reverse=!this.reverse}static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({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,l){1&i&&(e.I0R(0,"nz-timeline",0)(1,"nz-timeline-item"),e.OEk(2,"Create a services site 2015-09-01"),e.C$Y(),e.I0R(3,"nz-timeline-item"),e.OEk(4,"Solve initial network problems 2015-09-01"),e.C$Y(),e.I0R(5,"nz-timeline-item"),e.OEk(6,"Technical testing 2015-09-01"),e.C$Y()(),e.I0R(7,"button",1),e.qCj("click",function(){return l.toggleReverse()}),e.OEk(8,"Toggle Reverse"),e.C$Y()),2&i&&e.E7m("nzPending","Recording...")("nzReverse",l.reverse)},dependencies:[C,g,Z.Ez,O.k,ce.o9],encapsulation:2})}return n})();function ze(n,c){1&n&&e.OEk(0,"\u26bd")}let ee=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({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,l){if(1&i&&(e.I0R(0,"nz-timeline",0)(1,"nz-timeline-item",1),e.OEk(2,"Alice 20'"),e.C$Y(),e.I0R(3,"nz-timeline-item",1),e.OEk(4,"Susan 28'"),e.C$Y(),e.I0R(5,"nz-timeline-item",2),e.OEk(6,"Tim 45'"),e.C$Y(),e.I0R(7,"nz-timeline-item",1),e.OEk(8,"Bob 79'"),e.C$Y()(),e.yuY(9,ze,1,0,"ng-template",null,3,e.gJz)),2&i){const r=e.Gew(10);e.yG2(),e.E7m("nzDot",r),e.yG2(2),e.E7m("nzDot",r),e.yG2(2),e.E7m("nzDot",r),e.yG2(2),e.E7m("nzDot",r)}},dependencies:[C,g],encapsulation:2})}return n})();function pe(n,c){1&n&&e.wR5(0,"span",3)}let ne=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275cmp=e.In1({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,l){if(1&i&&(e.I0R(0,"nz-timeline",0)(1,"nz-timeline-item"),e.OEk(2,"Create a services site 2015-09-01"),e.C$Y(),e.I0R(3,"nz-timeline-item"),e.OEk(4,"Solve initial network problems 2015-09-01"),e.C$Y(),e.I0R(5,"nz-timeline-item",1),e.OEk(6,"Technical testing 2015-09-01"),e.C$Y(),e.I0R(7,"nz-timeline-item"),e.OEk(8,"Network problems being solved 2015-09-01"),e.C$Y()(),e.yuY(9,pe,1,0,"ng-template",null,2,e.gJz)),2&i){const r=e.Gew(10);e.yG2(5),e.E7m("nzDot",r)}},dependencies:[z.If,C,g,O.k],encapsulation:2})}return n})(),Ce=(()=>{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.In1({type:n,selectors:[["nz-demo-timeline"]],viewQuery:function(i,l){if(1&i&&e.CC$(D.A,5),2&i){let r;e.wto(r=e.Gqi())&&(l.codeBoxes=r)}},decls:352,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:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-timeline:standalone'",1,"anchor"],["id","nz-timeline-item:standalone"],["onclick","window.location.hash = 'nz-timeline-item:standalone'",1,"anchor"]],template:function(i,l){1&i&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(h){return l.goLink(h)}),e.wR5(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.C$Y()(),e.I0R(12,"section",11)(13,"h1"),e.OEk(14,"Timeline"),e.I0R(15,"span",12),e.OEk(16,"\u65f6\u95f4\u8f74"),e.C$Y(),e.wR5(17,"span",13),e.I0R(18,"a",14),e.wR5(19,"span",15),e.C$Y()(),e.I0R(20,"section",11),e.EdD(),e.I0R(21,"p"),e.OEk(22,"\u5782\u76f4\u5c55\u793a\u7684\u65f6\u95f4\u6d41\u4fe1\u606f\u3002"),e.C$Y(),e.I0R(23,"h2",16)(24,"span"),e.OEk(25,"\u4f55\u65f6\u4f7f\u7528"),e.C$Y(),e.I0R(26,"a",17),e.OEk(27,"#"),e.C$Y()(),e.I0R(28,"ul")(29,"li"),e.OEk(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.C$Y(),e.I0R(31,"li"),e.OEk(32,"\u9700\u8981\u6709\u4e00\u6761\u65f6\u95f4\u8f74\u8fdb\u884c\u89c6\u89c9\u4e0a\u7684\u4e32\u8054\u65f6\u3002"),e.C$Y()(),e.I0R(33,"pre",18)(34,"code")(35,"span",19),e.OEk(36,"import"),e.C$Y(),e.OEk(37," "),e.I0R(38,"span",20),e.OEk(39,"{"),e.C$Y(),e.OEk(40," NzTimelineModule "),e.I0R(41,"span",20),e.OEk(42,"}"),e.C$Y(),e.OEk(43," "),e.I0R(44,"span",19),e.OEk(45,"from"),e.C$Y(),e.OEk(46," "),e.I0R(47,"span",21),e.OEk(48,"'ng-zorro-antd/timeline'"),e.C$Y(),e.I0R(49,"span",20),e.OEk(50,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(51,"h2")(52,"span"),e.OEk(53,"\u4ee3\u7801\u6f14\u793a"),e.C$Y(),e.I0R(54,"span",22),e.qCj("click",function(){return l.expandAllCode()}),e.C$Y()()(),e.I0R(55,"div",23)(56,"div",24)(57,"nz-code-box",25),e.wR5(58,"nz-demo-timeline-basic",26),e.I0R(59,"div",27),e.EdD(),e.I0R(60,"p"),e.OEk(61,"\u57fa\u672c\u7684\u65f6\u95f4\u8f74\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(62,"nz-code-box",28),e.wR5(63,"nz-demo-timeline-pending",26),e.I0R(64,"div",27),e.EdD(),e.I0R(65,"p"),e.OEk(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.I0R(67,"code"),e.OEk(68,"nzPending"),e.C$Y(),e.OEk(69," \u4e3a\u771f\u503c\u65f6\u5c55\u793a\u5e7d\u7075\u8282\u70b9\uff0c\u5982\u679c "),e.I0R(70,"code"),e.OEk(71,"nzPending"),e.C$Y(),e.OEk(72," \u662f Template \u53ef\u7528\u4e8e\u5b9a\u5236\u8be5\u8282\u70b9\u5185\u5bb9\uff0c\u540c\u65f6 "),e.I0R(73,"code"),e.OEk(74,"nzPendingDot"),e.C$Y(),e.OEk(75," \u5c06\u53ef\u4ee5\u7528\u4e8e\u5b9a\u5236\u5176\u8f74\u70b9\u3002"),e.I0R(76,"code"),e.OEk(77,"nzReverse"),e.C$Y(),e.OEk(78," \u5c5e\u6027\u7528\u4e8e\u63a7\u5236\u8282\u70b9\u6392\u5e8f\uff0c\u4e3a "),e.I0R(79,"code"),e.OEk(80,"false"),e.C$Y(),e.OEk(81," \u65f6\u6309\u6b63\u5e8f\u6392\u5217\uff0c\u4e3a "),e.I0R(82,"code"),e.OEk(83,"true"),e.C$Y(),e.OEk(84," \u65f6\u6309\u5012\u5e8f\u6392\u5217\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(85,"nz-code-box",29),e.wR5(86,"nz-demo-timeline-custom",26),e.I0R(87,"div",27),e.EdD(),e.I0R(88,"p"),e.OEk(89,"\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u56fe\u6807\u6216\u5176\u4ed6\u81ea\u5b9a\u4e49\u5143\u7d20\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(90,"nz-code-box",30),e.wR5(91,"nz-demo-timeline-position",26),e.I0R(92,"div",27),e.EdD(),e.I0R(93,"p"),e.OEk(94,"\u53ef\u4ee5\u4e3a\u6bcf\u4e00\u9879\u6307\u5b9a\u4f4d\u7f6e\u3002"),e.C$Y(),e.eAF(),e.C$Y()()(),e.I0R(95,"div",24)(96,"nz-code-box",31),e.wR5(97,"nz-demo-timeline-color",26),e.I0R(98,"div",27),e.EdD(),e.I0R(99,"p"),e.OEk(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.C$Y(),e.eAF(),e.C$Y()(),e.I0R(101,"nz-code-box",32),e.wR5(102,"nz-demo-timeline-alternate",26),e.I0R(103,"div",27),e.EdD(),e.I0R(104,"p"),e.OEk(105,"\u5185\u5bb9\u5728\u65f6\u95f4\u8f74\u4e24\u4fa7\u4ea4\u66ff\u51fa\u73b0\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(106,"nz-code-box",33),e.wR5(107,"nz-demo-timeline-right",26),e.I0R(108,"div",27),e.EdD(),e.I0R(109,"p"),e.OEk(110,"\u65f6\u95f4\u8f74\u53ef\u4ee5\u5728\u5185\u5bb9\u7684\u53f3\u8fb9\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(111,"nz-code-box",34),e.wR5(112,"nz-demo-timeline-label",26),e.I0R(113,"div",27),e.EdD(),e.I0R(114,"p"),e.OEk(115,"\u4f7f\u7528 "),e.I0R(116,"code"),e.OEk(117,"nzLabel"),e.C$Y(),e.OEk(118," \u6807\u7b7e\u5355\u72ec\u5c55\u793a\u65f6\u95f4\u3002"),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(119,"section",35),e.EdD(),e.I0R(120,"h2",36)(121,"span"),e.OEk(122,"API"),e.C$Y(),e.I0R(123,"a",37),e.OEk(124,"#"),e.C$Y()(),e.I0R(125,"pre",38)(126,"code")(127,"span",39)(128,"span",39)(129,"span",20),e.OEk(130,"<"),e.C$Y(),e.OEk(131,"nz-timeline"),e.C$Y(),e.I0R(132,"span",20),e.OEk(133,">"),e.C$Y()(),e.OEk(134,"\n  "),e.I0R(135,"span",39)(136,"span",39)(137,"span",20),e.OEk(138,"<"),e.C$Y(),e.OEk(139,"nz-timeline-item"),e.C$Y(),e.I0R(140,"span",20),e.OEk(141,">"),e.C$Y()(),e.OEk(142,"\u521b\u5efa\u670d\u52a1\u73b0\u573a 2015-09-01"),e.I0R(143,"
1span",39)(144,"span",39)(145,"span",20),e.OEk(146,"</"),e.C$Y(),e.OEk(147,"nz-timeline-item"),e.C$Y(),e.I0R(148,"span",20),e.OEk(149,">"),e.C$Y()(),e.OEk(150,"\n  "),e.I0R(151,"span",39)(152,"span",39)(153,"span",20),e.OEk(154,"<"),e.C$Y(),e.OEk(155,"nz-timeline-item"),e.C$Y(),e.I0R(156,"span",20),e.OEk(157,">"),e.C$Y()(),e.OEk(158,"\u521d\u6b65\u6392\u9664\u7f51\u7edc\u5f02\u5e38 2015-09-01"),e.I0R(159,"span",39)(160,"span",39)(161,"span",20),e.OEk(162,"</"),e.C$Y(),e.OEk(163,"nz-timeline-item"),e.C$Y(),e.I0R(164,"span",20),e.OEk(165,">"),e.C$Y()(),e.OEk(166,"\n  "),e.I0R(167,"span",39)(168,"span",39)(169,"span",20),e.OEk(170,"<"),e.C$Y(),e.OEk(171,"nz-timeline-item"),e.C$Y(),e.I0R(172,"span",20),e.OEk(173,">"),e.C$Y()(),e.OEk(174,"\u6280\u672f\u6d4b\u8bd5\u5f02\u5e38 2015-09-01"),e.I0R(175,"span",39)(176,"span",39)(177,"span",20),e.OEk(178,"</"),e.C$Y(),e.OEk(179,"nz-timeline-item"),e.C$Y(),e.I0R(180,"span",20),e.OEk(181,">"),e.C$Y()(),e.OEk(182,"\n  "),e.I0R(183,"span",39)(184,"span",39)(185,"span",20),e.OEk(186,"<"),e.C$Y(),e.OEk(187,"nz-timeline-item"),e.C$Y(),e.I0R(188,"span",20),e.OEk(189,">"),e.C$Y()(),e.OEk(190,"\u7f51\u7edc\u5f02\u5e38\u6b63\u5728\u4fee\u590d 2015-09-01"),e.I0R(191,"span",39)(192,"span",39)(193,"span",20),e.OEk(194,"</"),e.C$Y(),e.OEk(195,"nz-timeline-item"),e.C$Y(),e.I0R(196,"span",20),e.OEk(197,">"),e.C$Y()(),e.OEk(198,"\n"),e.I0R(199,"span",39)(200,"span",39)(201,"span",20),e.OEk(202,"</"),e.C$Y(),e.OEk(203,"nz-timeline"),e.C$Y(),e.I0R(204,"span",20),e.OEk(205,">"),e.C$Y()()()(),e.I0R(206,"h3",40)(207,"span"),e.OEk(208,"nz-timeline"),e.C$Y(),e.I0R(209,"label",41),e.OEk(210,"component"),e.C$Y(),e.I0R(211,"label",42),e.OEk(212,"standalone"),e.C$Y(),e.I0R(213,"a",43),e.OEk(214,"#"),e.C$Y()(),e.I0R(215,"p"),e.OEk(216,"\u65f6\u95f4\u8f74\u3002"),e.C$Y(),e.I0R(217,"table")(218,"thead")(219,"tr")(220,"th"),e.OEk(221,"\u53c2\u6570"),e.C$Y(),e.I0R(222,"th"),e.OEk(223,"\u8bf4\u660e"),e.C$Y(),e.I0R(224,"th"),e.OEk(225,"\u7c7b\u578b"),e.C$Y(),e.I0R(226,"th"),e.OEk(227,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(228,"tbody")(229,"tr")(230,"td")(231,"code"),e.OEk(232,"[nzPending]"),e.C$Y()(),e.I0R(233,"td"),e.OEk(234,"\u6307\u5b9a\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u662f\u5426\u5b58\u5728\u6216\u5185\u5bb9"),e.C$Y(),e.I0R(235,"td")(236,"code"),e.OEk(237,"string | boolean | TemplateRef<void>"),e.C$Y()(),e.I0R(238,"td")(239,"code"),e.OEk(240,"false"),e.C$Y()()(),e.I0R(241,"tr")(242,"td")(243,"code"),e.OEk(244,"[nzPendingDot]"),e.C$Y()(),e.I0R(245,"td"),e.OEk(246,"\u5f53\u6700\u540e\u4e00\u4e2a\u5e7d\u7075\u8282\u70b9\u5b58\u5728\u6642\uff0c\u6307\u5b9a\u5176\u65f6\u95f4\u56fe\u70b9"),e.C$Y(),e.I0R(247,"td")(248,"code"),e.OEk(249,"string | TemplateRef<void>"),e.C$Y()(),e.I0R(250,"td")(251,"code"),e.OEk(252,'<span nz-icon nzType="loading"></span>'),e.C$Y()()(),e.I0R(253,"tr")(254,"td")(255,"code"),e.OEk(256,"[nzReverse]"),e.C$Y()(),e.I0R(257,"td"),e.OEk(258,"\u8282\u70b9\u6392\u5e8f"),e.C$Y(),e.I0R(259,"td")(260,"code"),e.OEk(261,"boolean"),e.C$Y()(),e.I0R(262,"td")(263,"code"),e.OEk(264,"false"),e.C$Y()()(),e.I0R(265,"tr")(266,"td")(267,"code"),e.OEk(268,"[nzMode]"),e.C$Y()(),e.I0R(269,"td"),e.OEk(270,"\u53ef\u4ee5\u6539\u53d8\u65f6\u95f4\u8f74\u548c\u5185\u5bb9\u7684\u76f8\u5bf9\u4f4d\u7f6e"),e.C$Y(),e.I0R(271,"td")(272,"code"),e.OEk(273,"'left' | 'alternate' | 'right' | 'custom'"),e.C$Y()(),e.I0R(274,"td"),e.OEk(275,"-"),e.C$Y()()()(),e.I0R(276,"h3",44)(277,"span"),e.OEk(278,"nz-timeline-item"),e.C$Y(),e.I0R(279,"label",41),e.OEk(280,"component"),e.C$Y(),e.I0R(281,"label",42),e.OEk(282,"standalone"),e.C$Y(),e.I0R(283,"a",45),e.OEk(284,"#"),e.C$Y()(),e.I0R(285,"p"),e.OEk(286,"\u65f6\u95f4\u8f74\u7684\u6bcf\u4e00\u4e2a\u8282\u70b9\u3002"),e.C$Y(),e.I0R(287,"table")(288,"thead")(289,"tr")(290,"th"),e.OEk(291,"\u53c2\u6570"),e.C$Y(),e.I0R(292,"th"),e.OEk(293,"\u8bf4\u660e"),e.C$Y(),e.I0R(294,"th"),e.OEk(295,"\u7c7b\u578b"),e.C$Y(),e.I0R(296,"th"),e.OEk(297,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(298,"tbody")(299,"tr")(300,"td")(301,"code"),e.OEk(302,"[nzColor]"),e.C$Y()(),e.I0R(303,"td"),e.OEk(304,"\u6307\u5b9a\u5706\u5708\u989c\u8272 "),e.I0R(305,"code"),e.OEk(306,"'blue' | 'red' | 'green' | 'gray'"),e.C$Y(),e.OEk(307," \u6216\u81ea\u5b9a\u4e49\u7684\u8272\u503c"),e.C$Y(),e.I0R(308,"td")(309,"code"),e.OEk(310,"string"),e.C$Y()(),e.I0R(311,"td"),e.OEk(312,"blue"),e.C$Y()(),e.I0R(313,"tr")(314,"td")(315,"code"),e.OEk(316,"[nzDot]"),e.C$Y()(),e.I0R(317,"td"),e.OEk(318,"\u81ea\u5b9a\u4e49\u65f6\u95f4\u8f74\u70b9"),e.C$Y(),e.I0R(319,"td")(320,"code"),e.OEk(321,"string | TemplateRef<void>"),e.C$Y()(),e.I0R(322,"td"),e.OEk(323,"-"),e.C$Y()(),e.I0R(324,"tr")(325,"td")(326,"code"),e.OEk(327,"[nzPosition]"),e.C$Y()(),e.I0R(328,"td"),e.OEk(329,"\u81ea\u5b9a\u4e49\u8282\u70b9\u4f4d\u7f6e\uff0c\u4ec5\u5f53 "),e.I0R(330,"code"),e.OEk(331,"nzMode"),e.C$Y(),e.OEk(332," \u4e3a "),e.I0R(333,"code"),e.OEk(334,"custom"),e.C$Y(),e.OEk(335," \u65f6\u6709\u6548"),e.C$Y(),e.I0R(336,"td")(337,"code"),e.OEk(338,"'left' | 'right'"),e.C$Y()(),e.I0R(339,"td"),e.OEk(340,"-"),e.C$Y()(),e.I0R(341,"tr")(342,"td")(343,"code"),e.OEk(344,"[nzLabel]"),e.C$Y()(),e.I0R(345,"td"),e.OEk(346,"\u8bbe\u7f6e\u6807\u7b7e"),e.C$Y(),e.I0R(347,"td")(348,"code"),e.OEk(349,"string | TemplateRef<void>"),e.C$Y()(),e.I0R(350,"td"),e.OEk(351,"-"),e.C$Y()()()(),e.eAF(),e.C$Y()()),2&i&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(53),e.E7m("nzGutter",16),e.yG2(),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("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.yG2(5),e.E7m("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.yG2(23),e.E7m("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.yG2(5),e.E7m("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.yG2(5),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("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.yG2(5),e.E7m("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.yG2(5),e.E7m("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.yG2(5),e.E7m("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:[D.A,y.s9,y.mK,U.g,v.QD,v.ox,K.qG,z.If,O.k,W,V,Q,j,J,q,ee,ne],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.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.In1({type:n,selectors:[["nz-demo-timeline"]],viewQuery:function(i,l){if(1&i&&e.CC$(D.A,5),2&i){let r;e.wto(r=e.Gqi())&&(l.codeBoxes=r)}},decls:354,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:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-timeline:standalone'",1,"anchor"],["id","nz-timeline-item:standalone"],["onclick","window.location.hash = 'nz-timeline-item:standalone'",1,"anchor"]],template:function(i,l){1&i&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(h){return l.goLink(h)}),e.wR5(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.C$Y()(),e.I0R(12,"section",11)(13,"h1"),e.OEk(14,"Timeline"),e.wR5(15,"span",12)(16,"span",13),e.I0R(17,"a",14),e.wR5(18,"span",15),e.C$Y()(),e.I0R(19,"section",11),e.EdD(),e.I0R(20,"p"),e.OEk(21,"Vertical display timeline."),e.C$Y(),e.I0R(22,"h2",16)(23,"span"),e.OEk(24,"When To Use"),e.C$Y(),e.I0R(25,"a",17),e.OEk(26,"#"),e.C$Y()(),e.I0R(27,"ul")(28,"li"),e.OEk(29,"When a series of information needs to be ordered by time (ascend or descend)."),e.C$Y(),e.I0R(30,"li"),e.OEk(31,"When you need a timeline to make a visual connection."),e.C$Y()(),e.I0R(32,"pre",18)(33,"code")(34,"span",19),e.OEk(35,"import"),e.C$Y(),e.OEk(36," "),e.I0R(37,"span",20),e.OEk(38,"{"),e.C$Y(),e.OEk(39," NzTimelineModule "),e.I0R(40,"span",20),e.OEk(41,"}"),e.C$Y(),e.OEk(42," "),e.I0R(43,"span",19),e.OEk(44,"from"),e.C$Y(),e.OEk(45," "),e.I0R(46,"span",21),e.OEk(47,"'ng-zorro-antd/timeline'"),e.C$Y(),e.I0R(48,"span",20),e.OEk(49,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(50,"h2")(51,"span"),e.OEk(52,"Ex
1amples"),e.C$Y(),e.I0R(53,"span",22),e.qCj("click",function(){return l.expandAllCode()}),e.C$Y()()(),e.I0R(54,"div",23)(55,"div",24)(56,"nz-code-box",25),e.wR5(57,"nz-demo-timeline-basic",26),e.I0R(58,"div",27),e.EdD(),e.I0R(59,"p"),e.OEk(60,"Basic timeline."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(61,"nz-code-box",28),e.wR5(62,"nz-demo-timeline-pending",26),e.I0R(63,"div",27),e.EdD(),e.I0R(64,"p"),e.OEk(65,"When the timeline is incomplete and ongoing, put a ghost node at last. set "),e.I0R(66,"code"),e.OEk(67,'[nzPending]="true"'),e.C$Y(),e.OEk(68," or "),e.I0R(69,"code"),e.OEk(70,'[nzPending]="a TemplateRef"'),e.C$Y(),e.OEk(71,". Used in ascend chronological order."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(72,"nz-code-box",29),e.wR5(73,"nz-demo-timeline-custom",26),e.I0R(74,"div",27),e.EdD(),e.I0R(75,"p"),e.OEk(76,"Set a node as an icon or other custom element."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(77,"nz-code-box",30),e.wR5(78,"nz-demo-timeline-position",26),e.I0R(79,"div",27),e.EdD(),e.I0R(80,"p"),e.OEk(81,"You can assign different positions to timeline items."),e.C$Y(),e.eAF(),e.C$Y()()(),e.I0R(82,"div",24)(83,"nz-code-box",31),e.wR5(84,"nz-demo-timeline-color",26),e.I0R(85,"div",27),e.EdD(),e.I0R(86,"p"),e.OEk(87,"Set the color of circles. "),e.I0R(88,"code"),e.OEk(89,"green"),e.C$Y(),e.OEk(90," means completed or success status, "),e.I0R(91,"code"),e.OEk(92,"red"),e.C$Y(),e.OEk(93," means warning or error, and "),e.I0R(94,"code"),e.OEk(95,"blue"),e.C$Y(),e.OEk(96," means ongoing or other default status, "),e.I0R(97,"code"),e.OEk(98,"gray"),e.C$Y(),e.OEk(99," for unfinished or disabled status."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(100,"nz-code-box",32),e.wR5(101,"nz-demo-timeline-alternate",26),e.I0R(102,"div",27),e.EdD(),e.I0R(103,"p"),e.OEk(104,"Alternate timeline."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(105,"nz-code-box",33),e.wR5(106,"nz-demo-timeline-right",26),e.I0R(107,"div",27),e.EdD(),e.I0R(108,"p"),e.OEk(109,"Right alternate timeline."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(110,"nz-code-box",34),e.wR5(111,"nz-demo-timeline-label",26),e.I0R(112,"div",27),e.EdD(),e.I0R(113,"p"),e.OEk(114,"Use "),e.I0R(115,"code"),e.OEk(116,"nzLabel"),e.C$Y(),e.OEk(117," show time alone."),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(118,"section",35),e.EdD(),e.I0R(119,"h2",36)(120,"span"),e.OEk(121,"API"),e.C$Y(),e.I0R(122,"a",37),e.OEk(123,"#"),e.C$Y()(),e.I0R(124,"pre",38)(125,"code")(126,"span",39)(127,"span",39)(128,"span",20),e.OEk(129,"<"),e.C$Y(),e.OEk(130,"nz-timeline"),e.C$Y(),e.I0R(131,"span",20),e.OEk(132,">"),e.C$Y()(),e.OEk(133,"\n  "),e.I0R(134,"span",39)(135,"span",39)(136,"span",20),e.OEk(137,"<"),e.C$Y(),e.OEk(138,"nz-timeline-item"),e.C$Y(),e.I0R(139,"span",20),e.OEk(140,">"),e.C$Y()(),e.OEk(141,"step1 2015-09-01"),e.I0R(142,"span",39)(143,"span",39)(144,"span",20),e.OEk(145,"</"),e.C$Y(),e.OEk(146,"nz-timeline-item"),e.C$Y(),e.I0R(147,"span",20),e.OEk(148,">"),e.C$Y()(),e.OEk(149,"\n  "),e.I0R(150,"span",39)(151,"span",39)(152,"span",20),e.OEk(153,"<"),e.C$Y(),e.OEk(154,"nz-timeline-item"),e.C$Y(),e.I0R(155,"span",20),e.OEk(156,">"),e.C$Y()(),e.OEk(157,"step2 2015-09-01"),e.I0R(158,"span",39)(159,"span",39)(160,"span",20),e.OEk(161,"</"),e.C$Y(),e.OEk(162,"nz-timeline-item"),e.C$Y(),e.I0R(163,"span",20),e.OEk(164,">"),e.C$Y()(),e.OEk(165,"\n  "),e.I0R(166,"span",39)(167,"span",39)(168,"span",20),e.OEk(169,"<"),e.C$Y(),e.OEk(170,"nz-timeline-item"),e.C$Y(),e.I0R(171,"span",20),e.OEk(172,">"),e.C$Y()(),e.OEk(173,"step3 2015-09-01"),e.I0R(174,"span",39)(175,"span",39)(176,"span",20),e.OEk(177,"</"),e.C$Y(),e.OEk(178,"nz-timeline-item"),e.C$Y(),e.I0R(179,"span",20),e.OEk(180,">"),e.C$Y()(),e.OEk(181,"\n  "),e.I0R(182,"span",39)(183,"span",39)(184,"span",20),e.OEk(185,"<"),e.C$Y(),e.OEk(186,"nz-timeline-item"),e.C$Y(),e.I0R(187,"span",20),e.OEk(188,">"),e.C$Y()(),e.OEk(189,"step4 2015-09-01"),e.I0R(190,"span",39)(191,"span",39)(192,"span",20),e.OEk(193,"</"),e.C$Y(),e.OEk(194,"nz-timeline-item"),e.C$Y(),e.I0R(195,"span",20),e.OEk(196,">"),e.C$Y()(),e.OEk(197,"\n"),e.I0R(198,"span",39)(199,"span",39)(200,"span",20),e.OEk(201,"</"),e.C$Y(),e.OEk(202,"nz-timeline"),e.C$Y(),e.I0R(203,"span",20),e.OEk(204,">"),e.C$Y()()()(),e.I0R(205,"h3",40)(206,"span"),e.OEk(207,"nz-timeline"),e.C$Y(),e.I0R(208,"label",41),e.OEk(209,"component"),e.C$Y(),e.I0R(210,"label",42),e.OEk(211,"standalone"),e.C$Y(),e.I0R(212,"a",43),e.OEk(213,"#"),e.C$Y()(),e.I0R(214,"p"),e.OEk(215,"Timeline"),e.C$Y(),e.I0R(216,"table")(217,"thead")(218,"tr")(219,"th"),e.OEk(220,"Property"),e.C$Y(),e.I0R(221,"th"),e.OEk(222,"Description"),e.C$Y(),e.I0R(223,"th"),e.OEk(224,"Type"),e.C$Y(),e.I0R(225,"th"),e.OEk(226,"Default"),e.C$Y()()(),e.I0R(227,"tbody")(228,"tr")(229,"td")(230,"code"),e.OEk(231,"[nzPending]"),e.C$Y()(),e.I0R(232,"td"),e.OEk(233,"Set the last ghost node's existence or its content"),e.C$Y(),e.I0R(234,"td")(235,"code"),e.OEk(236,"string|boolean|TemplateRef<void>"),e.C$Y()(),e.I0R(237,"td")(238,"code"),e.OEk(239,"false"),e.C$Y()()(),e.I0R(240,"tr")(241,"td")(242,"code"),e.OEk(243,"[nzPendingDot]"),e.C$Y()(),e.I0R(244,"td"),e.OEk(245,"Set the dot of the last ghost node when pending is true"),e.C$Y(),e.I0R(246,"td")(247,"code"),e.OEk(248,"string|TemplateRef<void>"),e.C$Y()(),e.I0R(249,"td")(250,"code"),e.OEk(251,'<span nz-icon nzType="loading"></span>'),e.C$Y()()(),e.I0R(252,"tr")(253,"td")(254,"code"),e.OEk(255,"[nzReverse]"),e.C$Y()(),e.I0R(256,"td"),e.OEk(257,"Reverse nodes or not"),e.C$Y(),e.I0R(258,"td")(259,"code"),e.OEk(260,"boolean"),e.C$Y()(),e.I0R(261,"td")(262,"code"),e.OEk(263,"false"),e.C$Y()()(),e.I0R(264,"tr")(265,"td")(266,"code"),e.OEk(267,"[nzMode]"),e.C$Y()(),e.I0R(268,"td"),e.OEk(269,"By sending "),e.I0R(270,"code"),e.OEk(271,"alternate"),e.C$Y(),e.OEk(272," the timeline will distribute the nodes to the left and right"),e.C$Y(),e.I0R(273,"td")(274,"code"),e.OEk(275,"'left' | 'alternate' | 'right' | 'custom'"),e.C$Y()(),e.I0R(276,"td"),e.OEk(277,"-"),e.C$Y()()()(),e.I0R(278,"h3",44)(279,"span"),e.OEk(280,"nz-timeline-item"),e.C$Y(),e.I0R(281,"label",41),e.OEk(282,"component"),e.C$Y(),e.I0R(283,"label",42),e.OEk(284,"standalone"),e.C$Y(),e.I0R(285,"a",45),e.OEk(286,"#"),e.C$Y()(),e.I0R(287,"p"),e.OEk(288,"Node of timeline"),e.C$Y(),e.I0R(289,"table")(290,"thead")(291,"tr")(292,"th"),e.OEk(293,"Property"),e.C$Y(),e.I0R(294,"th"),e.OEk(295,"Description"),e.C$Y(),e.I0R(296,"th"),e.OEk(297,"Type"),e.C$Y(),e.I0R(298,"th"),e.OEk(299,"Default"),e.C$Y()()(),e.I0R(300,"tbody")(301,"tr")(302,"td")(303,"code"),e.OEk(304,"[nzColor]"),e.C$Y()(),e.I0R(305,"td"),e.OEk(306,"Set the circle's color to "),e.I0R(307,"code"),e.OEk(308,"'blue' | 'red' | 'green' | 'gray'"),e.C$Y(),e.OEk(309," or other custom colors"),e.C$Y(),e.I0R(310,"td")(311,"code"),e.OEk(312,"string"),e.C$Y()(),e.I0R(313,"td")(314,"code"),e.OEk(315,"blue"),e.C$Y()()(),e.I0R(316,"tr")(317,"td")(318,"code"),e.OEk(319,"[nzDot]"),e.C$Y()(),e.I0R(320,"td"),e.OEk(321,"Customize timeline dot"),e.C$Y(),e.I0R(322,"td")(323,"code"),e.OEk(324,"string | TemplateRef<void>"),e.C$Y()(),e.I0R(325,"td"),e.OEk(326,"-"),e.C$Y()(),e.I0R(327,"tr")(328,"td")(329,"code"),e.OEk(330,"[nzPosition]"),e.C$Y()(),e.I0R(331,"td"),e.OEk(332,"Customize position, only works when "),e.I0R(333,"code"),e.OEk(334,"nzMode"),e.C$Y(),e.OEk(335," is "),e.I0R(336,"code"),e.OEk(337,"custom"),e.C$Y()(),e.I0R(338,"td")(339,"code"),e.OEk(340,"'left' | 'right'"),e.C$Y()(),e.I0R(341,"td"),e.OEk(342,"-"),e.C$Y()(),e.I0R(343,"tr")(344,"td")(345,"code"),e.OEk(346,"[nzLabel]"),e.C$Y()(),e.I0R(347,"td"),e.OEk(348,"Set the label"),e.C$Y(),e.I0R(349,"td")(350,"code"),e.OEk(351,"string | TemplateRef<void>"),e.C$Y()(),e.I0R(352,"td"),e.OEk(353,"-"),e.C$Y()()()(),e.eAF(),e.C$Y()()),2&i&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(52),e.
1E7m("nzGutter",16),e.yG2(),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("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.yG2(5),e.E7m("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.yG2(11),e.E7m("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.yG2(5),e.E7m("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.yG2(5),e.E7m("nzXl",12)("nzSpan",24),e.yG2(),e.E7m("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.yG2(17),e.E7m("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.yG2(5),e.E7m("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.yG2(5),e.E7m("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:[D.A,y.s9,y.mK,U.g,v.QD,v.ox,K.qG,z.If,O.k,W,V,Q,j,J,q,ee,ne],encapsulation:2})}return n})(),Ee=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#n=this.\u0275mod=e.a4G({type:n});static#t=this.\u0275inj=e.s3X({imports:[a.K,me,f.qQ.forChild([{path:"en",component:he},{path:"zh",component:Ce}])]})}return n})()},9656:(te,F,m)=>{m.d(F,{es:()=>N,sn:()=>w,uw:()=>T});var f=m(1316),a=m(4496),z=m(6504),E=m(2540),e=m(5657),k=m(800),p=m(3616),$=m(5739),I=m(1900),_=m(916),A=m(3972);const b=["*"],B=["inputElement"],G=["nz-radio",""];let Y=(()=>{class d{constructor(){this.selected$=new E.o(1),this.touched$=new e.E,this.disabled$=new E.o(1),this.name$=new E.o(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(u){return new(u||d)};static#n=this.\u0275prov=a.wxM({token:d,factory:d.\u0275fac})}return d})(),T=(()=>{class d{constructor(o,u,s){this.cdr=o,this.nzRadioService=u,this.directionality=s,this.value=null,this.destroy$=new e.E,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,p.a)(this.destroy$)).subscribe(o=>{this.value!==o&&(this.value=o,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,p.a)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,p.a)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(o){const{nzDisabled:u,nzName:s}=o;u&&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(u){return new(u||d)(a.GI1(a.kD9),a.GI1(Y),a.GI1(I.yG,8))};static#n=this.\u0275cmp=a.In1({type:d,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(u,s){2&u&&a.eAK("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"],standalone:!0,features:[a.M5G([Y,{provide:z.Y6,useExisting:(0,a.wd)(()=>d),multi:!0}]),a.SYr,a.UHJ],ngContentSelectors:b,decls:1,vars:0,template:function(u,s){1&u&&(a.kPM(),a._Xx(0))},encapsulation:2,changeDetection:0})}return(0,f.UN)([(0,$.U7)()],d.prototype,"nzDisabled",void 0),d})(),N=(()=>{class d{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(o,u,s,R,S,P,L){this.ngZone=o,this.elementRef=u,this.cdr=s,this.focusMonitor=R,this.directionality=S,this.nzRadioService=P,this.nzFormStatusService=L,this.isNgModel=!1,this.destroy$=new e.E,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.isRadioButton=!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,p.a)(this.destroy$)).subscribe(o=>{this.name=o,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,p.a)(this.destroy$)).subscribe(o=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||o,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,p.a)(this.destroy$)).subscribe(o=>{const u=this.isChecked;this.isChecked=this.nzValue===o,this.isNgModel&&u!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,p.a)(this.destroy$)).subscribe(o=>{o||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,p.a)(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,k.w)(this.elementRef.nativeElement,"click").pipe((0,p.a)(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(u){return new(u||d)(a.GI1(a.WW2),a.GI1(a.GMv),a.GI1(a.kD9),a.GI1(_.Kk),a.GI1(I.yG,8),a.GI1(Y,8),a.GI1(A.WC,8))};static#n=this.\u0275cmp=a.In1({type:d,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(u,s){if(1&u&&a.CC$(B,7),2&u){let R;a.wto(R=a.Gqi())&&(s.inputElement=R.first)}},hostVars:18,hostBindings:function(u,s){2&u&&a.eAK("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",
1isRadioButton:[a.Wk5.HasDecoratorInputTransform,"nz-radio-button","isRadioButton",a.cZD]},exportAs:["nzRadio"],standalone:!0,features:[a.M5G([{provide:z.Y6,useExisting:(0,a.wd)(()=>d),multi:!0}]),a.QJr,a.UHJ],attrs:G,ngContentSelectors:b,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(u,s){1&u&&(a.kPM(),a.I0R(0,"span"),a.wR5(1,"input",0,1)(3,"span"),a.C$Y(),a.I0R(4,"span"),a._Xx(5),a.C$Y()),2&u&&(a.eAK("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),a.yG2(),a.eAK("ant-radio-input",!s.isRadioButton)("ant-radio-button-input",s.isRadioButton),a.E7m("disabled",s.nzDisabled)("checked",s.isChecked),a.e48("autofocus",s.nzAutoFocus?"autofocus":null)("name",s.name),a.yG2(2),a.eAK("ant-radio-inner",!s.isRadioButton)("ant-radio-button-inner",s.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,f.UN)([(0,$.U7)()],d.prototype,"nzDisabled",void 0),(0,f.UN)([(0,$.U7)()],d.prototype,"nzAutoFocus",void 0),d})(),w=(()=>{class d{static#e=this.\u0275fac=function(u){return new(u||d)};static#n=this.\u0275mod=a.a4G({type:d});static#t=this.\u0275inj=a.s3X({})}return d})()}}]);

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.