-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-GMM4IJY5.js
85 lines (77 loc) · 46.4 KB
/
chunk-GMM4IJY5.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import{a as j,b as S,c as x,d as c}from"./chunk-DSZ5P5VQ.js";import{d as $,e as V}from"./chunk-FPTJTSUI.js";import{c as K,e as X}from"./chunk-EXCAEERN.js";import"./chunk-HVFPNQ3B.js";import"./chunk-6AJOFIIP.js";import"./chunk-3LAVY7RV.js";import{a as z,g as w,h as A,j as R}from"./chunk-Q4ISATUO.js";import"./chunk-JXWNPNAC.js";import{Ca as b,Ea as N,Hc as k,Ic as I,Lc as v,ec as y,v as q}from"./chunk-YWVGY2C2.js";import{Aa as p,Ac as C,Bc as B,Cc as F,Gc as D,Hc as e,Ib as u,Pb as W,Qc as U,Wb as m,_c as Q,ic as t,jc as n,kc as l,rb as r,rc as h,za as d}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";var H=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb-auto"]],decls:2,vars:1,consts:[[3,"nzAutoGenerate"]],template:function(i,s){i&1&&(t(0,"nz-breadcrumb",0),e(1," Please refer to StackBlitz demo at https://stackblitz.com/edit/ng-zorro-breadcrumb-auto "),n()),i&2&&m("nzAutoGenerate",!0)},dependencies:[c,x],encapsulation:2})}}return a})();var T=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb-basic"]],decls:8,vars:0,template:function(i,s){i&1&&(t(0,"nz-breadcrumb")(1,"nz-breadcrumb-item"),e(2,"Home"),n(),t(3,"nz-breadcrumb-item")(4,"a"),e(5,"Application List"),n()(),t(6,"nz-breadcrumb-item"),e(7,"An Application"),n()())},dependencies:[c,x,S],encapsulation:2})}}return a})();var L=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb-dropdown"]],decls:20,vars:1,consts:[["menu","nzDropdownMenu"],[3,"nzOverlay"],["href",""],["nz-menu","","nzSelectable",""],["nz-menu-item",""]],template:function(i,s){if(i&1&&(t(0,"nz-breadcrumb")(1,"nz-breadcrumb-item"),e(2,"Ant Design"),n(),t(3,"nz-breadcrumb-item")(4,"a"),e(5,"Component"),n()(),t(6,"nz-breadcrumb-item",1)(7,"a",2),e(8,"An Application"),n()(),t(9,"nz-breadcrumb-item"),e(10,"Button"),n()(),t(11,"nz-dropdown-menu",null,0)(13,"ul",3)(14,"li",4),e(15,"General"),n(),t(16,"li",4),e(17,"Layout"),n(),t(18,"li",4),e(19,"Navigation"),n()()()),i&2){let E=D(12);r(6),m("nzOverlay",E)}},dependencies:[c,x,S,V,X,K,$],encapsulation:2})}}return a})();var ee=()=>["../../"],G=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb-router"]],decls:6,vars:2,consts:[[3,"routerLink"]],template:function(i,s){i&1&&(t(0,"nz-breadcrumb")(1,"nz-breadcrumb-item")(2,"a",0),e(3,"Home"),n()(),t(4,"nz-breadcrumb-item"),e(5,"Breadcrumb"),n()()),i&2&&(r(2),m("routerLink",U(1,ee)))},dependencies:[q,c,x,S],encapsulation:2})}}return a})();var O=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb-separator-independent"]],decls:16,vars:1,consts:[[3,"nzSeparator"]],template:function(i,s){i&1&&(t(0,"nz-breadcrumb",0)(1,"nz-breadcrumb-item"),e(2,"Location"),n(),t(3,"nz-breadcrumb-separator"),e(4,":"),n(),t(5,"nz-breadcrumb-item")(6,"a"),e(7,"Application Center"),n()(),t(8,"nz-breadcrumb-separator"),e(9,"/"),n(),t(10,"nz-breadcrumb-item"),e(11,"Application List"),n(),t(12,"nz-breadcrumb-separator"),e(13,"/"),n(),t(14,"nz-breadcrumb-item"),e(15,"An Application"),n()()),i&2&&m("nzSeparator",null)},dependencies:[c,x,S,j],encapsulation:2})}}return a})();function te(a,oe){a&1&&l(0,"nz-icon",3)}var M=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb-separator"]],decls:23,vars:1,consts:[["iconTemplate",""],["nzSeparator",">"],[3,"nzSeparator"],["nzType","arrow-right"]],template:function(i,s){if(i&1&&(t(0,"h4"),e(1,"String"),n(),t(2,"nz-breadcrumb",1)(3,"nz-breadcrumb-item"),e(4,"Home"),n(),t(5,"nz-breadcrumb-item")(6,"a"),e(7,"Application List"),n()(),t(8,"nz-breadcrumb-item"),e(9,"An Application"),n()(),l(10,"br"),t(11,"h4"),e(12,"TemplateRef"),n(),t(13,"nz-breadcrumb",2)(14,"nz-breadcrumb-item"),e(15,"Home"),n(),t(16,"nz-breadcrumb-item")(17,"a"),e(18,"Application List"),n()(),t(19,"nz-breadcrumb-item"),e(20,"An Application"),n()(),W(21,te,1,0,"ng-template",null,0,Q)),i&2){let E=D(22);r(13),m("nzSeparator",E)}},dependencies:[c,x,S,N,b],styles:["h4[_ngcontent-%COMP%]:first-child{margin-top:0}h4[_ngcontent-%COMP%]{margin:16px 0;font-size:14px;line-height:1;font-weight:400}"]})}}return a})();var _=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb-with-icon"]],decls:10,vars:0,consts:[["nzType","home"],["nzType","user"]],template:function(i,s){i&1&&(t(0,"nz-breadcrumb")(1,"nz-breadcrumb-item"),l(2,"nz-icon",0),n(),t(3,"nz-breadcrumb-item")(4,"a"),l(5,"nz-icon",1),t(6,"span"),e(7,"Application List"),n()()(),t(8,"nz-breadcrumb-item"),e(9,"Application"),n()())},dependencies:[c,x,S,N,b],encapsulation:2})}}return a})();var J=(()=>{class a{constructor(){this.expanded=!1}goLink(o){window&&(window.location.hash=o)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb"]],viewQuery:function(i,s){if(i&1&&C(z,5),i&2){let E;B(E=F())&&(s.codeBoxes=E)}},decls:786,vars:35,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-breadcrumb-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-breadcrumb-demo-with-icon","nzTitle","\u5E26\u6709\u56FE\u6807\u7684"],["nzHref","#components-breadcrumb-demo-router","nzTitle","\u8DEF\u7531"],["nzHref","#components-breadcrumb-demo-auto","nzTitle","\u81EA\u52A8\u751F\u6210"],["nzHref","#components-breadcrumb-demo-separator","nzTitle","\u5206\u9694\u7B26"],["nzHref","#components-breadcrumb-demo-dropdown","nzTitle","\u5E26\u4E0B\u62C9\u83DC\u5355\u7684\u9762\u5305\u5C51"],["nzHref","#components-breadcrumb-demo-separator-independent","nzTitle","\u72EC\u7ACB\u7684\u5206\u9694\u7B26"],["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/breadcrumb/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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","nzSelector","nz-demo-breadcrumb-basic","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-basic <name>","nzComponentName","NzDemoBreadcrumbBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u8DEF\u7531","nzSelector","nz-demo-breadcrumb-router","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-router <name>","nzComponentName","NzDemoBreadcrumbRouterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["href","https://angular.cn/api/router/RouterLink","target","_blank","rel","noopener"],["nzTitle","\u5206\u9694\u7B26","nzSelector","nz-demo-breadcrumb-separator","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-separator <name>","nzComponentName","NzDemoBreadcrumbSeparatorComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u72EC\u7ACB\u7684\u5206\u9694\u7B26","nzSelector","nz-demo-breadcrumb-separator-independent","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-separator-independent <name>","nzComponentName","NzDemoBreadcrumbSeparatorIndependentComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5E26\u6709\u56FE\u6807\u7684","nzSelector","nz-demo-breadcrumb-with-icon","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-with-icon <name>","nzComponentName","NzDemoBreadcrumbWithIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u52A8\u751F\u6210","nzSelector","nz-demo-breadcrumb-auto","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-auto <name>","nzComponentName","NzDemoBreadcrumbAutoComponent","nzIframeSource","https://stackblitz.com/edit/ng-zorro-breadcrumb-auto?embed=1&file=src/app/app.component.html&hideExplorer=1&hideNavigation=1&view=preview",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5E26\u4E0B\u62C9\u83DC\u5355\u7684\u9762\u5305\u5C51","nzSelector","nz-demo-breadcrumb-dropdown","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-dropdown <name>","nzComponentName","NzDemoBreadcrumbDropdownComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-breadcrumb"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-breadcrumb'",1,"anchor"],[1,"token","operator"],[1,"token","function"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["spellcheck","true",1,"token","comment"],[1,"token","template-string"],[1,"token","interpolation"],[1,"token","interpolation-punctuation","punctuation"]],template:function(i,s){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),h("nzClick",function(Z){return s.goLink(Z)}),l(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),n()(),t(11,"section",10)(12,"h1"),e(13,"Breadcrumb"),t(14,"span",11),e(15,"\u9762\u5305\u5C51"),n(),l(16,"span",12),t(17,"a",13),l(18,"nz-icon",14),n()(),t(19,"section",10),p(),t(20,"p"),e(21,"\u663E\u793A\u5F53\u524D\u9875\u9762\u5728\u7CFB\u7EDF\u5C42\u7EA7\u7ED3\u6784\u4E2D\u7684\u4F4D\u7F6E\uFF0C\u5E76\u80FD\u5411\u4E0A\u8FD4\u56DE\u3002"),n(),t(22,"h2",15)(23,"span"),e(24,"\u4F55\u65F6\u4F7F\u7528"),n(),t(25,"a",16),e(26,"#"),n()(),t(27,"ul")(28,"li"),e(29,"\u5F53\u7CFB\u7EDF\u62E5\u6709\u8D85\u8FC7\u4E24\u7EA7\u4EE5\u4E0A\u7684\u5C42\u7EA7\u7ED3\u6784\u65F6\uFF1B"),n(),t(30,"li"),e(31,"\u5F53\u9700\u8981\u544A\u77E5\u7528\u6237\u300E\u4F60\u5728\u54EA\u91CC\u300F\u65F6\uFF1B"),n(),t(32,"li"),e(33,"\u5F53\u9700\u8981\u5411\u4E0A\u5BFC\u822A\u7684\u529F\u80FD\u65F6\u3002"),n()(),t(34,"pre",17)(35,"code")(36,"span",18),e(37,"import"),n(),e(38," "),t(39,"span",19),e(40,"{"),n(),e(41," NzBreadCrumbModule "),t(42,"span",19),e(43,"}"),n(),e(44," "),t(45,"span",18),e(46,"from"),n(),e(47," "),t(48,"span",20),e(49,"'ng-zorro-antd/breadcrumb'"),n(),t(50,"span",19),e(51,";"),n()()(),d(),n(),t(52,"h2")(53,"span"),e(54,"\u4EE3\u7801\u6F14\u793A"),n(),t(55,"span",21),h("click",function(){return s.expandAllCode()}),n()()(),t(56,"div",22)(57,"div",23)(58,"nz-code-box",24),l(59,"nz-demo-breadcrumb-basic",25),t(60,"div",26),p(),t(61,"p"),e(62,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),n(),d(),n()(),t(63,"nz-code-box",27),l(64,"nz-demo-breadcrumb-router",25),t(65,"div",26),p(),t(66,"p"),e(67,"\u548C "),t(68,"a",28),e(69,"RouterLink"),n(),e(70," \u8FDB\u884C\u7ED3\u5408\u4F7F\u7528\u3002"),n(),d(),n()(),t(71,"nz-code-box",29),l(72,"nz-demo-breadcrumb-separator",25),t(73,"div",26),p(),t(74,"p"),e(75,"\u4F7F\u7528 "),t(76,"code"),e(77,"nzSeparator"),n(),e(78," \u53EF\u4EE5\u81EA\u5B9A\u4E49\u5206\u9694\u7B26\u3002"),n(),d(),n()(),t(79,"nz-code-box",30),l(80,"nz-demo-breadcrumb-separator-independent",25),t(81,"div",26),p(),t(82,"p"),e(83,"\u4F7F\u7528 "),t(84,"code"),e(85,"nz-breadcrumb-separator"),n(),e(86," \u53EF\u4EE5\u81EA\u5B9A\u4E49\u5206\u9694\u7B26\u3002"),n(),d(),n()()(),t(87,"div",23)(88,"nz-code-box",31),l(89,"nz-demo-breadcrumb-with-icon",25),t(90,"div",26),p(),t(91,"p"),e(92,"\u56FE\u6807\u653E\u5728\u6587\u5B57\u524D\u9762\u3002"),n(),d(),n()(),t(93,"nz-code-box",32),l(94,"nz-demo-breadcrumb-auto",25),t(95,"div",26),p(),t(96,"p"),e(97,"\u901A\u8FC7\u914D\u7F6E "),t(98,"code"),e(99,"router.data"),n(),e(100," \u81EA\u52A8\u751F\u6210\u9762\u5305\u5C51\u3002"),n(),d(),n()(),t(101,"nz-code-box",33),l(102,"nz-demo-breadcrumb-dropdown",25),t(103,"div",26),p(),t(104,"p"),e(105,"\u9762\u5305\u5C51\u652F\u6301\u4E0B\u62C9\u83DC\u5355\u3002"),n(),d(),n()()()(),t(106,"section",34),p(),t(107,"h2",35)(108,"span"),e(109,"API"),n(),t(110,"a",36),e(111,"#"),n()(),t(112,"h3",37)(113,"span"),e(114,"nz-breadcrumb"),n(),t(115,"label",38),e(116,"component"),n(),t(117,"a",39),e(118,"#"),n()(),t(119,"table")(120,"thead")(121,"tr")(122,"th"),e(123,"\u53C2\u6570"),n(),t(124,"th"),e(125,"\u8BF4\u660E"),n(),t(126,"th"),e(127,"\u7C7B\u578B"),n(),t(128,"th"),e(129,"\u9ED8\u8BA4\u503C"),n()()(),t(130,"tbody")(131,"tr")(132,"td")(133,"code"),e(134,"[nzSeparator]"),n()(),t(135,"td"),e(136,"\u5206\u9694\u7B26\u81EA\u5B9A\u4E49"),n(),t(137,"td")(138,"code"),e(139,"string | TemplateRef<void> | null"),n()(),t(140,"td")(141,"code"),e(142,"'/'"),n()()(),t(143,"tr")(144,"td")(145,"code"),e(146,"[nzAutoGenerate]"),n()(),t(147,"td"),e(148,"\u81EA\u52A8\u751F\u6210 Breadcrumb"),n(),t(149,"td")(150,"code"),e(151,"boolean"),n()(),t(152,"td")(153,"code"),e(154,"false"),n()()(),t(155,"tr")(156,"td")(157,"code"),e(158,"[nzRouteLabel]"),n()(),t(159,"td"),e(160,"\u81EA\u5B9A\u4E49 route data \u5C5E\u6027\u540D\u79F0\uFF0C"),t(161,"code"),e(162,"nzAutoGenerate"),n(),e(163," \u4E3A "),t(164,"code"),e(165,"true"),n(),e(166," \u65F6\u624D\u751F\u6548"),n(),t(167,"td")(168,"code"),e(169,"string"),n()(),t(170,"td")(171,"code"),e(172,"'breadcrumb'"),n()()(),t(173,"tr")(174,"td")(175,"code"),e(176,"[nzRouteLabelFn]"),n()(),t(177,"td"),e(178,"\u683C\u5F0F\u5316\u9762\u5305\u5C51\u5BFC\u822A\u9879\u7684\u663E\u793A\u6587\u5B57\uFF0C\u901A\u5E38\u7528\u4E8E\u5728\u56FD\u9645\u5316\u5E94\u7528\u4E2D\u7FFB\u8BD1\u952E\u503C\uFF0C "),t(179,"code"),e(180,"nzAutoGenerate"),n(),e(181," \u4E3A "),t(182,"code"),e(183,"true"),n(),e(184," \u65F6\u624D\u751F\u6548"),n(),t(185,"td")(186,"code"),e(187,"(label:string) => string"),n()(),t(188,"td")(189,"code"),e(190,"label => label"),n()()(),t(191,"tr")(192,"td")(193,"code"),e(194,"[nzRouteFn]"),n()(),t(195,"td"),e(196,"\u683C\u5F0F\u5316\u9762\u5305\u5C51\u8DEF\u7531\u683C\u5F0F\uFF0C\u53EF\u7528\u4E8E\u4E3A URL \u6DFB\u52A0 query params\uFF0C"),t(197,"code"),e(198,"nzAutoGenerate"),n(),e(199," \u4E3A "),t(200,"code"),e(201,"true"),n(),e(202," \u65F6\u624D\u751F\u6548"),n(),t(203,"td")(204,"code"),e(205,"(route:string) => route"),n()(),t(206,"td")(207,"code"),e(208,"route => route"),n()()()()(),t(209,"p"),e(210,"\u4F7F\u7528 "),t(211,"code"),e(212,"[nzAutoGenerate]"),n(),e(213," \u65F6\uFF0C\u9700\u8981\u5728\u8DEF\u7531\u7C7B\u4E2D\u5B9A\u4E49 "),t(214,"code"),e(215,"data"),n(),e(216,":"),n(),t(217,"pre",17)(218,"code")(219,"span",19),e(220,"{"),n(),e(221,`
path`),t(222,"span",19),e(223,":"),n(),e(224," "),t(225,"span",20),e(226,"'path'"),n(),t(227,"span",19),e(228,","),n(),e(229,`
component`),t(230,"span",19),e(231,":"),n(),e(232," SomeComponent"),t(233,"span",19),e(234,","),n(),e(235,`
data`),t(236,"span",19),e(237,":"),n(),e(238," "),t(239,"span",19),e(240,"{"),n(),e(241,`
breadcrumb`),t(242,"span",19),e(243,":"),n(),e(244," "),t(245,"span",20),e(246,"'Display Name'"),n(),e(247,`
`),t(248,"span",19),e(249,"}"),n(),e(250,`
`),t(251,"span",19),e(252,"}"),n()()(),t(253,"p"),e(254,"\u5BF9\u4E8E\u61D2\u52A0\u8F7D\u8DEF\u7531\uFF0C\u5E94\u8BE5\u5728\u7236\u5C42\u8DEF\u7531\u5199 "),t(255,"code"),e(256,"data"),n(),e(257,"\uFF1A"),n(),t(258,"pre",17)(259,"code")(260,"span",19),e(261,"{"),n(),e(262,`
path`),t(263,"span",19),e(264,":"),n(),e(265," "),t(266,"span",20),e(267,"'first'"),n(),t(268,"span",19),e(269,","),n(),e(270,`
loadChildren`),t(271,"span",19),e(272,":"),n(),e(273," "),t(274,"span",19),e(275,"("),n(),t(276,"span",19),e(277,")"),n(),e(278," "),t(279,"span",40),e(280,"="),n(),t(281,"span",40),e(282,">"),n(),e(283," "),t(284,"span",18),e(285,"import"),n(),t(286,"span",19),e(287,"("),n(),t(288,"span",20),e(289,"'./first/first.module'"),n(),t(290,"span",19),e(291,")"),n(),t(292,"span",19),e(293,"."),n(),t(294,"span",41),e(295,"then"),n(),t(296,"span",19),e(297,"("),n(),e(298,"m "),t(299,"span",40),e(300,"="),n(),t(301,"span",40),e(302,">"),n(),e(303," m"),t(304,"span",19),e(305,"."),n(),e(306,"FirstModule"),t(307,"span",19),e(308,")"),n(),t(309,"span",19),e(310,","),n(),e(311,`
data`),t(312,"span",19),e(313,":"),n(),e(314," "),t(315,"span",19),e(316,"{"),n(),e(317,`
breadcrumb`),t(318,"span",19),e(319,":"),n(),e(320," "),t(321,"span",20),e(322,"'First'"),n(),e(323,`
`),t(324,"span",19),e(325,"}"),n(),t(326,"span",19),e(327,","),n(),e(328,`
`),t(329,"span",19),e(330,"}"),n()()(),t(331,"p"),e(332,"\u4F7F\u7528 "),t(333,"code"),e(334,"nzRouteLabel"),n(),e(335," \u81EA\u5B9A\u4E49\u8DEF\u7531\u5C5E\u6027\u540D\u79F0:"),n(),t(336,"pre",42)(337,"code")(338,"span",43)(339,"span",43)(340,"span",19),e(341,"<"),n(),e(342,"nz-breadcrumb"),n(),e(343," "),t(344,"span",44),e(345,"[nzAutoGenerate]"),n(),t(346,"span",45)(347,"span",19),e(348,"="),n(),t(349,"span",19),e(350,'"'),n(),e(351,"true"),t(352,"span",19),e(353,'"'),n()(),e(354," "),t(355,"span",44),e(356,"[nzRouteLabel]"),n(),t(357,"span",45)(358,"span",19),e(359,"="),n(),t(360,"span",19),e(361,'"'),n(),t(362,"span",19),e(363,"'"),n(),e(364,"customBreadcrumb"),t(365,"span",19),e(366,"'"),n(),t(367,"span",19),e(368,'"'),n()(),t(369,"span",19),e(370,">"),n()(),t(371,"span",43)(372,"span",43)(373,"span",19),e(374,"</"),n(),e(375,"nz-breadcrumb"),n(),t(376,"span",19),e(377,">"),n()()()(),t(378,"pre",17)(379,"code")(380,"span",19),e(381,"{"),n(),e(382,`
path`),t(383,"span",19),e(384,":"),n(),e(385," "),t(386,"span",20),e(387,"'path'"),n(),t(388,"span",19),e(389,","),n(),e(390,`
component`),t(391,"span",19),e(392,":"),n(),e(393," SomeComponent"),t(394,"span",19),e(395,","),n(),e(396,`
data`),t(397,"span",19),e(398,":"),n(),e(399," "),t(400,"span",19),e(401,"{"),n(),e(402,`
customBreadcrumb`),t(403,"span",19),e(404,":"),n(),e(405," "),t(406,"span",20),e(407,"'Display Name'"),n(),e(408,`
`),t(409,"span",19),e(410,"}"),n(),e(411,`
`),t(412,"span",19),e(413,"}"),n()()(),t(414,"p"),e(415,"\u4F7F\u7528 "),t(416,"code"),e(417,"nzRouteLabelFn"),n(),e(418," \u5728\u56FD\u9645\u5316\u5E94\u7528\u4E2D\u683C\u5F0F\u5316\u9762\u5305\u5C51\u5BFC\u822A\u9879\u7684\u6587\u672C:"),n(),t(419,"pre",42)(420,"code")(421,"span",43)(422,"span",43)(423,"span",19),e(424,"<"),n(),e(425,"nz-breadcrumb"),n(),e(426," "),t(427,"span",44),e(428,"[nzAutoGenerate]"),n(),t(429,"span",45)(430,"span",19),e(431,"="),n(),t(432,"span",19),e(433,'"'),n(),e(434,"true"),t(435,"span",19),e(436,'"'),n()(),e(437," "),t(438,"span",44),e(439,"[nzRouteLabel]"),n(),t(440,"span",45)(441,"span",19),e(442,"="),n(),t(443,"span",19),e(444,'"'),n(),t(445,"span",19),e(446,"'"),n(),e(447,"breadcrumbI18nKey"),t(448,"span",19),e(449,"'"),n(),t(450,"span",19),e(451,'"'),n()(),e(452," "),t(453,"span",44),e(454,"[nzRouteLabelFn]"),n(),t(455,"span",45)(456,"span",19),e(457,"="),n(),t(458,"span",19),e(459,'"'),n(),e(460,"translateFn"),t(461,"span",19),e(462,'"'),n()(),t(463,"span",19),e(464,">"),n()(),t(465,"span",43)(466,"span",43)(467,"span",19),e(468,"</"),n(),e(469,"nz-breadcrumb"),n(),t(470,"span",19),e(471,">"),n()()()(),t(472,"pre",17)(473,"code")(474,"span",46),e(475,"// In Route"),n(),e(476,`
`),t(477,"span",19),e(478,"{"),n(),e(479,`
path`),t(480,"span",19),e(481,":"),n(),e(482," "),t(483,"span",20),e(484,"'path'"),n(),t(485,"span",19),e(486,","),n(),e(487,`
component`),t(488,"span",19),e(489,":"),n(),e(490," SomeComponent"),t(491,"span",19),e(492,","),n(),e(493,`
data`),t(494,"span",19),e(495,":"),n(),e(496," "),t(497,"span",19),e(498,"{"),n(),e(499,`
breadcrumbI18nKey`),t(500,"span",19),e(501,":"),n(),e(502," "),t(503,"span",20),e(504,"'i18n.aaa.bbbb'"),n(),e(505,`
`),t(506,"span",19),e(507,"}"),n(),e(508,`
`),t(509,"span",19),e(510,"}"),n(),e(511,`
`),t(512,"span",46),e(513,"// In component"),n(),e(514,`
translateFn `),t(515,"span",40),e(516,"="),n(),e(517," "),t(518,"span",19),e(519,"("),n(),e(520,"key"),t(521,"span",19),e(522,":"),n(),e(523," "),t(524,"span",18),e(525,"string"),n(),t(526,"span",19),e(527,")"),n(),e(528," "),t(529,"span",40),e(530,"="),n(),t(531,"span",40),e(532,">"),n(),e(533," "),t(534,"span",18),e(535,"this"),n(),t(536,"span",19),e(537,"."),n(),e(538,"yourI18nService"),t(539,"span",19),e(540,"."),n(),t(541,"span",41),e(542,"translate"),n(),t(543,"span",19),e(544,"("),n(),e(545,"key"),t(546,"span",19),e(547,")"),n(),t(548,"span",19),e(549,";"),n()()(),t(550,"p"),e(551,"\u4F7F\u7528 "),t(552,"code"),e(553,"nzRouteFn"),n(),e(554," \u6765\u4F7F\u7528\u683C\u5F0F\u5316 URL \u6216\u6DFB\u52A0 query params\uFF1A"),n(),t(555,"pre",42)(556,"code")(557,"span",43)(558,"span",43)(559,"span",19),e(560,"<"),n(),e(561,"nz-breadcrumb"),n(),e(562," "),t(563,"span",44),e(564,"[nzAutoGenerate]"),n(),t(565,"span",45)(566,"span",19),e(567,"="),n(),t(568,"span",19),e(569,'"'),n(),e(570,"true"),t(571,"span",19),e(572,'"'),n()(),e(573," "),t(574,"span",44),e(575,"[nzRouteLabel]"),n(),t(576,"span",45)(577,"span",19),e(578,"="),n(),t(579,"span",19),e(580,'"'),n(),t(581,"span",19),e(582,"'"),n(),e(583,"breadcrumbI18nKey"),t(584,"span",19),e(585,"'"),n(),t(586,"span",19),e(587,'"'),n()(),e(588," "),t(589,"span",44),e(590,"[nzRouteLabelFn]"),n(),t(591,"span",45)(592,"span",19),e(593,"="),n(),t(594,"span",19),e(595,'"'),n(),e(596,"translateFn"),t(597,"span",19),e(598,'"'),n()(),e(599," "),t(600,"span",44),e(601,"[nzRouteFn]"),n(),t(602,"span",45)(603,"span",19),e(604,"="),n(),t(605,"span",19),e(606,'"'),n(),e(607,"customRoute"),t(608,"span",19),e(609,'"'),n()(),t(610,"span",19),e(611,">"),n()(),t(612,"span",43)(613,"span",43)(614,"span",19),e(615,"</"),n(),e(616,"nz-breadcrumb"),n(),t(617,"span",19),e(618,">"),n()()()(),t(619,"pre",17)(620,"code")(621,"span",46),e(622,"// In component"),n(),e(623,`
`),t(624,"span",41),e(625,"bindCurrentParams"),n(),t(626,"span",19),e(627,"("),n(),e(628,"params"),t(629,"span",19),e(630,","),n(),e(631," route"),t(632,"span",19),e(633,")"),n(),e(634," "),t(635,"span",19),e(636,"{"),n(),e(637,`
`),t(638,"span",18),e(639,"let"),n(),e(640," newRoute "),t(641,"span",40),e(642,"="),n(),e(643," route"),t(644,"span",19),e(645,";"),n(),e(646,`
`),t(647,"span",18),e(648,"for"),n(),e(649," "),t(650,"span",19),e(651,"("),n(),t(652,"span",18),e(653,"const"),n(),e(654," key "),t(655,"span",18),e(656,"in"),n(),e(657," params"),t(658,"span",19),e(659,")"),n(),e(660," "),t(661,"span",19),e(662,"{"),n(),e(663,`
`),t(664,"span",18),e(665,"if"),n(),e(666," "),t(667,"span",19),e(668,"("),n(),e(669,"params"),t(670,"span",19),e(671,"."),n(),t(672,"span",41),e(673,"hasOwnProperty"),n(),t(674,"span",19),e(675,"("),n(),e(676,"key"),t(677,"span",19),e(678,")"),n(),t(679,"span",19),e(680,")"),n(),e(681," "),t(682,"span",19),e(683,"{"),n(),e(684,`
newRoute `),t(685,"span",40),e(686,"+"),n(),t(687,"span",40),e(688,"="),n(),e(689," "),t(690,"span",47)(691,"span",20),e(692,"`;"),n(),t(693,"span",48)(694,"span",49),e(695,"${"),n(),e(696,"key"),t(697,"span",49),e(698,"}"),n()(),t(699,"span",20),e(700,"="),n(),t(701,"span",48)(702,"span",49),e(703,"${"),n(),e(704,"params"),t(705,"span",19),e(706,"["),n(),e(707,"key"),t(708,"span",19),e(709,"]"),n(),t(710,"span",49),e(711,"}"),n()(),t(712,"span",20),e(713,"`"),n()(),t(714,"span",19),e(715,";"),n(),e(716,`
`),t(717,"span",19),e(718,"}"),n(),e(719,`
`),t(720,"span",19),e(721,"}"),n(),e(722,`
`),t(723,"span",18),e(724,"return"),n(),e(725," newRoute"),t(726,"span",19),e(727,";"),n(),e(728,`
`),t(729,"span",19),e(730,"}"),n(),e(731,`
`),t(732,"span",18),e(733,"const"),n(),e(734," params "),t(735,"span",40),e(736,"="),n(),e(737," "),t(738,"span",18),e(739,"this"),n(),t(740,"span",19),e(741,"."),n(),e(742,"activatedRoute"),t(743,"span",19),e(744,"."),n(),e(745,"snapshot"),t(746,"span",19),e(747,"."),n(),e(748,"params"),t(749,"span",19),e(750,";"),n(),e(751,`
customRoute `),t(752,"span",40),e(753,"="),n(),e(754," "),t(755,"span",19),e(756,"("),n(),e(757,"route"),t(758,"span",19),e(759,":"),n(),t(760,"span",18),e(761,"string"),n(),t(762,"span",19),e(763,")"),n(),e(764," "),t(765,"span",40),e(766,"="),n(),t(767,"span",40),e(768,">"),n(),e(769," "),t(770,"span",18),e(771,"this"),n(),t(772,"span",19),e(773,"."),n(),t(774,"span",41),e(775,"bindCurrentParams"),n(),t(776,"span",19),e(777,"("),n(),e(778,"params"),t(779,"span",19),e(780,","),n(),e(781,"route"),t(782,"span",19),e(783,")"),n(),t(784,"span",19),e(785,";"),n()()(),d(),n()()),i&2&&(r(),m("nzOffsetTop",16),r(),m("nzAffix",!1),r(54),m("nzGutter",16),r(),m("nzXl",12)("nzSpan",24),r(),m("nzId","components-breadcrumb-demo-basic")("nzLink","components-breadcrumb-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/basic.md"),r(5),m("nzId","components-breadcrumb-demo-router")("nzLink","components-breadcrumb-demo-router")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/router.md"),r(8),m("nzId","components-breadcrumb-demo-separator")("nzLink","components-breadcrumb-demo-separator")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/separator.md"),r(8),m("nzId","components-breadcrumb-demo-separator-independent")("nzLink","components-breadcrumb-demo-separator-independent")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/separator-independent.md"),r(8),m("nzXl",12)("nzSpan",24),r(),m("nzId","components-breadcrumb-demo-with-icon")("nzLink","components-breadcrumb-demo-with-icon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/with-icon.md"),r(5),m("nzId","components-breadcrumb-demo-auto")("nzLink","components-breadcrumb-demo-auto")("nzIframeHeight",460)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/auto.md"),r(8),m("nzId","components-breadcrumb-demo-dropdown")("nzLink","components-breadcrumb-demo-dropdown")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/dropdown.md"))},dependencies:[R,z,w,A,v,I,k,y,b,H,T,L,G,O,M,_],encapsulation:2})}}return a})();var Y=(()=>{class a{constructor(){this.expanded=!1}goLink(o){window&&(window.location.hash=o)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=u({type:a,selectors:[["nz-demo-breadcrumb"]],viewQuery:function(i,s){if(i&1&&C(z,5),i&2){let E;B(E=F())&&(s.codeBoxes=E)}},decls:785,vars:35,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-breadcrumb-demo-basic","nzTitle","Basic Usage"],["nzHref","#components-breadcrumb-demo-with-icon","nzTitle","With an Icon"],["nzHref","#components-breadcrumb-demo-router","nzTitle","RouterLink"],["nzHref","#components-breadcrumb-demo-auto","nzTitle","Auto generated breadcrumbs"],["nzHref","#components-breadcrumb-demo-separator","nzTitle","Configuring the Separator"],["nzHref","#components-breadcrumb-demo-dropdown","nzTitle","Bread crumbs with drop down menu"],["nzHref","#components-breadcrumb-demo-separator-independent","nzTitle","Configuring the Separator Independently"],["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/breadcrumb/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","when-to-use"],["onclick","window.location.hash = 'when-to-use'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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 Usage","nzSelector","nz-demo-breadcrumb-basic","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-basic <name>","nzComponentName","NzDemoBreadcrumbBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","RouterLink","nzSelector","nz-demo-breadcrumb-router","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-router <name>","nzComponentName","NzDemoBreadcrumbRouterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["href","https://angular.dev/api/router/RouterLink","target","_blank","rel","noopener"],["nzTitle","Configuring the Separator","nzSelector","nz-demo-breadcrumb-separator","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-separator <name>","nzComponentName","NzDemoBreadcrumbSeparatorComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Configuring the Separator Independently","nzSelector","nz-demo-breadcrumb-separator-independent","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-separator-independent <name>","nzComponentName","NzDemoBreadcrumbSeparatorIndependentComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","With an Icon","nzSelector","nz-demo-breadcrumb-with-icon","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-with-icon <name>","nzComponentName","NzDemoBreadcrumbWithIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Auto generated breadcrumbs","nzSelector","nz-demo-breadcrumb-auto","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-auto <name>","nzComponentName","NzDemoBreadcrumbAutoComponent","nzIframeSource","https://stackblitz.com/edit/ng-zorro-breadcrumb-auto?embed=1&file=src/app/app.component.html&hideExplorer=1&hideNavigation=1&view=preview",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Bread crumbs with drop down menu","nzSelector","nz-demo-breadcrumb-dropdown","nzGenerateCommand","ng g ng-zorro-antd:breadcrumb-dropdown <name>","nzComponentName","NzDemoBreadcrumbDropdownComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-breadcrumb"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-breadcrumb'",1,"anchor"],[1,"token","operator"],[1,"token","function"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["spellcheck","true",1,"token","comment"],[1,"token","template-string"],[1,"token","interpolation"],[1,"token","interpolation-punctuation","punctuation"]],template:function(i,s){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),h("nzClick",function(Z){return s.goLink(Z)}),l(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),n()(),t(11,"section",10)(12,"h1"),e(13,"Breadcrumb"),l(14,"span",11)(15,"span",12),t(16,"a",13),l(17,"nz-icon",14),n()(),t(18,"section",10),p(),t(19,"p"),e(20,"A breadcrumb displays the current location within a hierarchy. It allows going back to states higher up in the hierarchy."),n(),t(21,"h2",15)(22,"span"),e(23,"When To Use"),n(),t(24,"a",16),e(25,"#"),n()(),t(26,"ul")(27,"li"),e(28,"When the system has more than two layers in a hierarchy."),n(),t(29,"li"),e(30,"When you need to inform the user of where they are."),n(),t(31,"li"),e(32,"When the user may need to navigate back to a higher level."),n(),t(33,"li"),e(34,"When the application has multi-layer architecture."),n()(),t(35,"pre",17)(36,"code")(37,"span",18),e(38,"import"),n(),e(39," "),t(40,"span",19),e(41,"{"),n(),e(42," NzBreadCrumbModule "),t(43,"span",19),e(44,"}"),n(),e(45," "),t(46,"span",18),e(47,"from"),n(),e(48," "),t(49,"span",20),e(50,"'ng-zorro-antd/breadcrumb'"),n(),t(51,"span",19),e(52,";"),n()()(),d(),n(),t(53,"h2")(54,"span"),e(55,"Examples"),n(),t(56,"span",21),h("click",function(){return s.expandAllCode()}),n()()(),t(57,"div",22)(58,"div",23)(59,"nz-code-box",24),l(60,"nz-demo-breadcrumb-basic",25),t(61,"div",26),p(),t(62,"p"),e(63,"The simplest use"),n(),d(),n()(),t(64,"nz-code-box",27),l(65,"nz-demo-breadcrumb-router",25),t(66,"div",26),p(),t(67,"p"),e(68,"Used together with "),t(69,"a",28),e(70,"RouterLink"),n(),e(71,"."),n(),d(),n()(),t(72,"nz-code-box",29),l(73,"nz-demo-breadcrumb-separator",25),t(74,"div",26),p(),t(75,"p"),e(76,"The separator can be customized by setting the separator property: "),t(77,"code"),e(78,"nzSeparator"),n()(),d(),n()(),t(79,"nz-code-box",30),l(80,"nz-demo-breadcrumb-separator-independent",25),t(81,"div",26),p(),t(82,"p"),e(83,"The separator can be customized by using the component "),t(84,"code"),e(85,"nz-breadcrumb-separator"),n(),e(86,"."),n(),d(),n()()(),t(87,"div",23)(88,"nz-code-box",31),l(89,"nz-demo-breadcrumb-with-icon",25),t(90,"div",26),p(),t(91,"p"),e(92,"The icon should be placed in front of the text."),n(),d(),n()(),t(93,"nz-code-box",32),l(94,"nz-demo-breadcrumb-auto",25),t(95,"div",26),p(),t(96,"p"),e(97,"Auto generate breadcrumbs using "),t(98,"code"),e(99,"router.data"),n(),e(100,"."),n(),d(),n()(),t(101,"nz-code-box",33),l(102,"nz-demo-breadcrumb-dropdown",25),t(103,"div",26),p(),t(104,"p"),e(105,"Breadcrumbs support drop down menu."),n(),d(),n()()()(),t(106,"section",34),p(),t(107,"h2",35)(108,"span"),e(109,"API"),n(),t(110,"a",36),e(111,"#"),n()(),t(112,"h3",37)(113,"span"),e(114,"nz-breadcrumb"),n(),t(115,"label",38),e(116,"component"),n(),t(117,"a",39),e(118,"#"),n()(),t(119,"table")(120,"thead")(121,"tr")(122,"th"),e(123,"Property"),n(),t(124,"th"),e(125,"Description"),n(),t(126,"th"),e(127,"Type"),n(),t(128,"th"),e(129,"Default"),n()()(),t(130,"tbody")(131,"tr")(132,"td")(133,"code"),e(134,"[nzSeparator]"),n()(),t(135,"td"),e(136,"Custom separator"),n(),t(137,"td")(138,"code"),e(139,"string | TemplateRef<void> | null"),n()(),t(140,"td")(141,"code"),e(142,"'/'"),n()()(),t(143,"tr")(144,"td")(145,"code"),e(146,"[nzAutoGenerate]"),n()(),t(147,"td"),e(148,"Auto generate breadcrumb"),n(),t(149,"td")(150,"code"),e(151,"boolean"),n()(),t(152,"td")(153,"code"),e(154,"false"),n()()(),t(155,"tr")(156,"td")(157,"code"),e(158,"[nzRouteLabel]"),n()(),t(159,"td"),e(160,"Name of property that determines displayed text in routing config. It should be used when "),t(161,"code"),e(162,"nzAutoGenerate"),n(),e(163," is "),t(164,"code"),e(165,"true"),n()(),t(166,"td")(167,"code"),e(168,"string"),n()(),t(169,"td")(170,"code"),e(171,"'breadcrumb'"),n()()(),t(172,"tr")(173,"td")(174,"code"),e(175,"[nzRouteLabelFn]"),n()(),t(176,"td"),e(177,"Format breadcrumb item label text, normally used in international app to translate i18n key. It should be used when "),t(178,"code"),e(179,"nzAutoGenerate"),n(),e(180," is "),t(181,"code"),e(182,"true"),n()(),t(183,"td")(184,"code"),e(185,"(label:string) => string"),n()(),t(186,"td")(187,"code"),e(188,"label => label"),n()()(),t(189,"tr")(190,"td")(191,"code"),e(192,"[nzRouteFn]"),n()(),t(193,"td"),e(194,"Format breadcrumb item route, normally used in international app to bind current params or query strings to avoid losing them while navigate using breadcrumb. It should be used when "),t(195,"code"),e(196,"nzAutoGenerate"),n(),e(197," is "),t(198,"code"),e(199,"true"),n()(),t(200,"td")(201,"code"),e(202,"(route:string) => route"),n()(),t(203,"td")(204,"code"),e(205,"route => route"),n()()()()(),t(206,"p"),e(207,"Using "),t(208,"code"),e(209,"[nzAutoGenerate]"),n(),e(210," by configuring "),t(211,"code"),e(212,"data"),n(),e(213," like this:"),n(),t(214,"pre",17)(215,"code")(216,"span",19),e(217,"{"),n(),e(218,`
path`),t(219,"span",19),e(220,":"),n(),e(221," "),t(222,"span",20),e(223,"'/path'"),n(),t(224,"span",19),e(225,","),n(),e(226,`
component`),t(227,"span",19),e(228,":"),n(),e(229," SomeComponent"),t(230,"span",19),e(231,","),n(),e(232,`
data`),t(233,"span",19),e(234,":"),n(),e(235," "),t(236,"span",19),e(237,"{"),n(),e(238,`
breadcrumb`),t(239,"span",19),e(240,":"),n(),e(241," "),t(242,"span",20),e(243,"'Display Name'"),n(),e(244,`
`),t(245,"span",19),e(246,"}"),n(),e(247,`
`),t(248,"span",19),e(249,"}"),n()()(),t(250,"p"),e(251,"For lazy loading modules, you should write "),t(252,"code"),e(253,"data"),n(),e(254," in parent module like this:"),n(),t(255,"pre",17)(256,"code")(257,"span",19),e(258,"{"),n(),e(259,`
path`),t(260,"span",19),e(261,":"),n(),e(262," "),t(263,"span",20),e(264,"'first'"),n(),t(265,"span",19),e(266,","),n(),e(267,`
loadChildren`),t(268,"span",19),e(269,":"),n(),e(270," "),t(271,"span",19),e(272,"("),n(),t(273,"span",19),e(274,")"),n(),e(275," "),t(276,"span",40),e(277,"="),n(),t(278,"span",40),e(279,">"),n(),e(280," "),t(281,"span",18),e(282,"import"),n(),t(283,"span",19),e(284,"("),n(),t(285,"span",20),e(286,"'./first/first.module'"),n(),t(287,"span",19),e(288,")"),n(),t(289,"span",19),e(290,"."),n(),t(291,"span",41),e(292,"then"),n(),t(293,"span",19),e(294,"("),n(),e(295,"m "),t(296,"span",40),e(297,"="),n(),t(298,"span",40),e(299,">"),n(),e(300," m"),t(301,"span",19),e(302,"."),n(),e(303,"FirstModule"),t(304,"span",19),e(305,")"),n(),t(306,"span",19),e(307,","),n(),e(308,`
data`),t(309,"span",19),e(310,":"),n(),e(311," "),t(312,"span",19),e(313,"{"),n(),e(314,`
breadcrumb`),t(315,"span",19),e(316,":"),n(),e(317," "),t(318,"span",20),e(319,"'First'"),n(),e(320,`
`),t(321,"span",19),e(322,"}"),n(),t(323,"span",19),e(324,","),n(),e(325,`
`),t(326,"span",19),e(327,"}"),n()()(),t(328,"p"),e(329,"Use "),t(330,"code"),e(331,"nzRouteLabel"),n(),e(332," to custom "),t(333,"code"),e(334,"data"),n(),e(335," breadcrumb label:"),n(),t(336,"pre",42)(337,"code")(338,"span",43)(339,"span",43)(340,"span",19),e(341,"<"),n(),e(342,"nz-breadcrumb"),n(),e(343," "),t(344,"span",44),e(345,"[nzAutoGenerate]"),n(),t(346,"span",45)(347,"span",19),e(348,"="),n(),t(349,"span",19),e(350,'"'),n(),e(351,"true"),t(352,"span",19),e(353,'"'),n()(),e(354," "),t(355,"span",44),e(356,"[nzRouteLabel]"),n(),t(357,"span",45)(358,"span",19),e(359,"="),n(),t(360,"span",19),e(361,'"'),n(),t(362,"span",19),e(363,"'"),n(),e(364,"customBreadcrumb"),t(365,"span",19),e(366,"'"),n(),t(367,"span",19),e(368,'"'),n()(),t(369,"span",19),e(370,">"),n()(),t(371,"span",43)(372,"span",43)(373,"span",19),e(374,"</"),n(),e(375,"nz-breadcrumb"),n(),t(376,"span",19),e(377,">"),n()()()(),t(378,"pre",17)(379,"code")(380,"span",19),e(381,"{"),n(),e(382,`
path`),t(383,"span",19),e(384,":"),n(),e(385," "),t(386,"span",20),e(387,"'path'"),n(),t(388,"span",19),e(389,","),n(),e(390,`
component`),t(391,"span",19),e(392,":"),n(),e(393," SomeComponent"),t(394,"span",19),e(395,","),n(),e(396,`
data`),t(397,"span",19),e(398,":"),n(),e(399," "),t(400,"span",19),e(401,"{"),n(),e(402,`
customBreadcrumb`),t(403,"span",19),e(404,":"),n(),e(405," "),t(406,"span",20),e(407,"'Display Name'"),n(),e(408,`
`),t(409,"span",19),e(410,"}"),n(),e(411,`
`),t(412,"span",19),e(413,"}"),n()()(),t(414,"p"),e(415,"Use "),t(416,"code"),e(417,"nzRouteLabelFn"),n(),e(418," to format breadcrumb label in international application:"),n(),t(419,"pre",42)(420,"code")(421,"span",43)(422,"span",43)(423,"span",19),e(424,"<"),n(),e(425,"nz-breadcrumb"),n(),e(426," "),t(427,"span",44),e(428,"[nzAutoGenerate]"),n(),t(429,"span",45)(430,"span",19),e(431,"="),n(),t(432,"span",19),e(433,'"'),n(),e(434,"true"),t(435,"span",19),e(436,'"'),n()(),e(437," "),t(438,"span",44),e(439,"[nzRouteLabel]"),n(),t(440,"span",45)(441,"span",19),e(442,"="),n(),t(443,"span",19),e(444,'"'),n(),t(445,"span",19),e(446,"'"),n(),e(447,"breadcrumbI18nKey"),t(448,"span",19),e(449,"'"),n(),t(450,"span",19),e(451,'"'),n()(),e(452," "),t(453,"span",44),e(454,"[nzRouteLabelFn]"),n(),t(455,"span",45)(456,"span",19),e(457,"="),n(),t(458,"span",19),e(459,'"'),n(),e(460,"translateFn"),t(461,"span",19),e(462,'"'),n()(),t(463,"span",19),e(464,">"),n()(),t(465,"span",43)(466,"span",43)(467,"span",19),e(468,"</"),n(),e(469,"nz-breadcrumb"),n(),t(470,"span",19),e(471,">"),n()()()(),t(472,"pre",17)(473,"code")(474,"span",46),e(475,"// In Route"),n(),e(476,`
`),t(477,"span",19),e(478,"{"),n(),e(479,`
path`),t(480,"span",19),e(481,":"),n(),e(482," "),t(483,"span",20),e(484,"'path'"),n(),t(485,"span",19),e(486,","),n(),e(487,`
component`),t(488,"span",19),e(489,":"),n(),e(490," SomeComponent"),t(491,"span",19),e(492,","),n(),e(493,`
data`),t(494,"span",19),e(495,":"),n(),e(496," "),t(497,"span",19),e(498,"{"),n(),e(499,`
breadcrumbI18nKey`),t(500,"span",19),e(501,":"),n(),e(502," "),t(503,"span",20),e(504,"'i18n.aaa.bbbb'"),n(),e(505,`
`),t(506,"span",19),e(507,"}"),n(),e(508,`
`),t(509,"span",19),e(510,"}"),n(),e(511,`
`),t(512,"span",46),e(513,"// In component"),n(),e(514,`
translateFn `),t(515,"span",40),e(516,"="),n(),e(517," "),t(518,"span",19),e(519,"("),n(),e(520,"key"),t(521,"span",19),e(522,":"),n(),t(523,"span",18),e(524,"string"),n(),t(525,"span",19),e(526,")"),n(),e(527," "),t(528,"span",40),e(529,"="),n(),t(530,"span",40),e(531,">"),n(),e(532," "),t(533,"span",18),e(534,"this"),n(),t(535,"span",19),e(536,"."),n(),e(537,"yourI18nService"),t(538,"span",19),e(539,"."),n(),t(540,"span",41),e(541,"translate"),n(),t(542,"span",19),e(543,"("),n(),e(544,"key"),t(545,"span",19),e(546,")"),n(),t(547,"span",19),e(548,";"),n()()(),t(549,"p"),e(550,"Use "),t(551,"code"),e(552,"nzRouteFn"),n(),e(553," to format or bind params and query strings to the route it self in international application:"),n(),t(554,"pre",42)(555,"code")(556,"span",43)(557,"span",43)(558,"span",19),e(559,"<"),n(),e(560,"nz-breadcrumb"),n(),e(561," "),t(562,"span",44),e(563,"[nzAutoGenerate]"),n(),t(564,"span",45)(565,"span",19),e(566,"="),n(),t(567,"span",19),e(568,'"'),n(),e(569,"true"),t(570,"span",19),e(571,'"'),n()(),e(572," "),t(573,"span",44),e(574,"[nzRouteLabel]"),n(),t(575,"span",45)(576,"span",19),e(577,"="),n(),t(578,"span",19),e(579,'"'),n(),t(580,"span",19),e(581,"'"),n(),e(582,"breadcrumbI18nKey"),t(583,"span",19),e(584,"'"),n(),t(585,"span",19),e(586,'"'),n()(),e(587," "),t(588,"span",44),e(589,"[nzRouteLabelFn]"),n(),t(590,"span",45)(591,"span",19),e(592,"="),n(),t(593,"span",19),e(594,'"'),n(),e(595,"translateFn"),t(596,"span",19),e(597,'"'),n()(),e(598," "),t(599,"span",44),e(600,"[nzRouteFn]"),n(),t(601,"span",45)(602,"span",19),e(603,"="),n(),t(604,"span",19),e(605,'"'),n(),e(606,"customRoute"),t(607,"span",19),e(608,'"'),n()(),t(609,"span",19),e(610,">"),n()(),t(611,"span",43)(612,"span",43)(613,"span",19),e(614,"</"),n(),e(615,"nz-breadcrumb"),n(),t(616,"span",19),e(617,">"),n()()()(),t(618,"pre",17)(619,"code")(620,"span",46),e(621,"// In component"),n(),e(622,`
`),t(623,"span",41),e(624,"bindCurrentParams"),n(),t(625,"span",19),e(626,"("),n(),e(627,"params"),t(628,"span",19),e(629,","),n(),e(630," route"),t(631,"span",19),e(632,")"),n(),e(633," "),t(634,"span",19),e(635,"{"),n(),e(636,`
`),t(637,"span",18),e(638,"let"),n(),e(639," newRoute "),t(640,"span",40),e(641,"="),n(),e(642," route"),t(643,"span",19),e(644,";"),n(),e(645,`
`),t(646,"span",18),e(647,"for"),n(),e(648," "),t(649,"span",19),e(650,"("),n(),t(651,"span",18),e(652,"const"),n(),e(653," key "),t(654,"span",18),e(655,"in"),n(),e(656," params"),t(657,"span",19),e(658,")"),n(),e(659," "),t(660,"span",19),e(661,"{"),n(),e(662,`
`),t(663,"span",18),e(664,"if"),n(),e(665," "),t(666,"span",19),e(667,"("),n(),e(668,"params"),t(669,"span",19),e(670,"."),n(),t(671,"span",41),e(672,"hasOwnProperty"),n(),t(673,"span",19),e(674,"("),n(),e(675,"key"),t(676,"span",19),e(677,")"),n(),t(678,"span",19),e(679,")"),n(),e(680," "),t(681,"span",19),e(682,"{"),n(),e(683,`
newRoute `),t(684,"span",40),e(685,"+"),n(),t(686,"span",40),e(687,"="),n(),e(688," "),t(689,"span",47)(690,"span",20),e(691,"`;"),n(),t(692,"span",48)(693,"span",49),e(694,"${"),n(),e(695,"key"),t(696,"span",49),e(697,"}"),n()(),t(698,"span",20),e(699,"="),n(),t(700,"span",48)(701,"span",49),e(702,"${"),n(),e(703,"params"),t(704,"span",19),e(705,"["),n(),e(706,"key"),t(707,"span",19),e(708,"]"),n(),t(709,"span",49),e(710,"}"),n()(),t(711,"span",20),e(712,"`"),n()(),t(713,"span",19),e(714,";"),n(),e(715,`
`),t(716,"span",19),e(717,"}"),n(),e(718,`
`),t(719,"span",19),e(720,"}"),n(),e(721,`
`),t(722,"span",18),e(723,"return"),n(),e(724," newRoute"),t(725,"span",19),e(726,";"),n(),e(727,`
`),t(728,"span",19),e(729,"}"),n(),e(730,`
`),t(731,"span",18),e(732,"const"),n(),e(733," params "),t(734,"span",40),e(735,"="),n(),e(736," "),t(737,"span",18),e(738,"this"),n(),t(739,"span",19),e(740,"."),n(),e(741,"activatedRoute"),t(742,"span",19),e(743,"."),n(),e(744,"snapshot"),t(745,"span",19),e(746,"."),n(),e(747,"params"),t(748,"span",19),e(749,";"),n(),e(750,`
customRoute `),t(751,"span",40),e(752,"="),n(),e(753," "),t(754,"span",19),e(755,"("),n(),e(756,"route"),t(757,"span",19),e(758,":"),n(),t(759,"span",18),e(760,"string"),n(),t(761,"span",19),e(762,")"),n(),e(763," "),t(764,"span",40),e(765,"="),n(),t(766,"span",40),e(767,">"),n(),e(768," "),t(769,"span",18),e(770,"this"),n(),t(771,"span",19),e(772,"."),n(),t(773,"span",41),e(774,"bindCurrentParams"),n(),t(775,"span",19),e(776,"("),n(),e(777,"params"),t(778,"span",19),e(779,","),n(),e(780,"route"),t(781,"span",19),e(782,")"),n(),t(783,"span",19),e(784,";"),n()()(),d(),n()()),i&2&&(r(),m("nzOffsetTop",16),r(),m("nzAffix",!1),r(55),m("nzGutter",16),r(),m("nzXl",12)("nzSpan",24),r(),m("nzId","components-breadcrumb-demo-basic")("nzLink","components-breadcrumb-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/basic.md"),r(5),m("nzId","components-breadcrumb-demo-router")("nzLink","components-breadcrumb-demo-router")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/router.md"),r(8),m("nzId","components-breadcrumb-demo-separator")("nzLink","components-breadcrumb-demo-separator")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/separator.md"),r(7),m("nzId","components-breadcrumb-demo-separator-independent")("nzLink","components-breadcrumb-demo-separator-independent")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/separator-independent.md"),r(8),m("nzXl",12)("nzSpan",24),r(),m("nzId","components-breadcrumb-demo-with-icon")("nzLink","components-breadcrumb-demo-with-icon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/with-icon.md"),r(5),m("nzId","components-breadcrumb-demo-auto")("nzLink","components-breadcrumb-demo-auto")("nzIframeHeight",460)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/auto.md"),r(8),m("nzId","components-breadcrumb-demo-dropdown")("nzLink","components-breadcrumb-demo-dropdown")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/breadcrumb/demo/dropdown.md"))},dependencies:[R,z,w,A,v,I,k,y,b,H,T,L,G,O,M,_],encapsulation:2})}}return a})();var le=[{path:"en",component:Y},{path:"zh",component:J}],je=le;export{je as default};