{ "version": 3, "sources": ["../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-breadcrumb.mjs"], "sourcesContent": ["import { NgIf, NgTemplateOutlet, NgFor } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Optional, NgModule } from '@angular/core';\nimport * as i4 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i2 from 'ng-zorro-antd/dropdown';\nimport { NzDropDownModule } from 'ng-zorro-antd/dropdown';\nimport * as i3 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { __decorate } from 'tslib';\nimport { Router, ActivatedRoute, NavigationEnd, PRIMARY_OUTLET } from '@angular/router';\nimport { Subject } from 'rxjs';\nimport { takeUntil, filter, startWith } from 'rxjs/operators';\nimport { PREFIX } from 'ng-zorro-antd/core/logger';\nimport { InputBoolean } from 'ng-zorro-antd/core/util';\nimport * as i1 from '@angular/cdk/bidi';\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nconst _c0 = [\"*\"];\nfunction NzBreadCrumbItemComponent_ng_container_0_ng_template_2_Template(rf, ctx) {}\nfunction NzBreadCrumbItemComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelementStart(1, \"span\", 3);\n i0.ɵɵtemplate(2, NzBreadCrumbItemComponent_ng_container_0_ng_template_2_Template, 0, 0, \"ng-template\", 4);\n i0.ɵɵelement(3, \"span\", 5);\n i0.ɵɵelementEnd();\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n const _r2 = i0.ɵɵreference(2);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"nzDropdownMenu\", ctx_r0.nzOverlay);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngTemplateOutlet\", _r2);\n }\n}\nfunction NzBreadCrumbItemComponent_ng_template_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 6);\n i0.ɵɵprojection(1);\n i0.ɵɵelementEnd();\n }\n}\nfunction NzBreadCrumbItemComponent_nz_breadcrumb_separator_3_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r5 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance(1);\n i0.ɵɵtextInterpolate1(\" \", ctx_r5.nzBreadCrumbComponent.nzSeparator, \" \");\n }\n}\nfunction NzBreadCrumbItemComponent_nz_breadcrumb_separator_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"nz-breadcrumb-separator\");\n i0.ɵɵtemplate(1, NzBreadCrumbItemComponent_nz_breadcrumb_separator_3_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx_r3.nzBreadCrumbComponent.nzSeparator);\n }\n}\nfunction NzBreadCrumbComponent_ng_container_1_nz_breadcrumb_item_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"nz-breadcrumb-item\")(1, \"a\", 2);\n i0.ɵɵlistener(\"click\", function NzBreadCrumbComponent_ng_container_1_nz_breadcrumb_item_1_Template_a_click_1_listener($event) {\n const restoredCtx = i0.ɵɵrestoreView(_r4);\n const breadcrumb_r2 = restoredCtx.$implicit;\n const ctx_r3 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r3.navigate(breadcrumb_r2.url, $event));\n });\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const breadcrumb_r2 = ctx.$implicit;\n i0.ɵɵadvance(1);\n i0.ɵɵattribute(\"href\", breadcrumb_r2.url, i0.ɵɵsanitizeUrl);\n i0.ɵɵadvance(1);\n i0.ɵɵtextInterpolate(breadcrumb_r2.label);\n }\n}\nfunction NzBreadCrumbComponent_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, NzBreadCrumbComponent_ng_container_1_nz_breadcrumb_item_1_Template, 3, 2, \"nz-breadcrumb-item\", 1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngForOf\", ctx_r0.breadcrumbs);\n }\n}\nclass NzBreadCrumbSeparatorComponent {\n static {\n this.ɵfac = function NzBreadCrumbSeparatorComponent_Factory(t) {\n return new (t || NzBreadCrumbSeparatorComponent)();\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzBreadCrumbSeparatorComponent,\n selectors: [[\"nz-breadcrumb-separator\"]],\n hostAttrs: [1, \"ant-breadcrumb-separator\"],\n exportAs: [\"nzBreadcrumbSeparator\"],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c0,\n decls: 1,\n vars: 0,\n template: function NzBreadCrumbSeparatorComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n }\n },\n encapsulation: 2\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzBreadCrumbSeparatorComponent, [{\n type: Component,\n args: [{\n selector: 'nz-breadcrumb-separator',\n exportAs: 'nzBreadcrumbSeparator',\n standalone: true,\n template: ``,\n host: {\n class: 'ant-breadcrumb-separator'\n }\n }]\n }], null, null);\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n/**\n * https://angular.io/errors/NG3003\n * An intermediate interface for {@link NzBreadCrumbComponent} & {@link NzBreadCrumbItemComponent}\n */\nclass NzBreadcrumb {}\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzBreadCrumbItemComponent {\n constructor(nzBreadCrumbComponent) {\n this.nzBreadCrumbComponent = nzBreadCrumbComponent;\n }\n static {\n this.ɵfac = function NzBreadCrumbItemComponent_Factory(t) {\n return new (t || NzBreadCrumbItemComponent)(i0.ɵɵdirectiveInject(NzBreadcrumb));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzBreadCrumbItemComponent,\n selectors: [[\"nz-breadcrumb-item\"]],\n inputs: {\n nzOverlay: \"nzOverlay\"\n },\n exportAs: [\"nzBreadcrumbItem\"],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c0,\n decls: 4,\n vars: 3,\n consts: [[4, \"ngIf\", \"ngIfElse\"], [\"noMenuTpl\", \"\"], [4, \"ngIf\"], [\"nz-dropdown\", \"\", 1, \"ant-breadcrumb-overlay-link\", 3, \"nzDropdownMenu\"], [3, \"ngTemplateOutlet\"], [\"nz-icon\", \"\", \"nzType\", \"down\"], [1, \"ant-breadcrumb-link\"], [4, \"nzStringTemplateOutlet\"]],\n template: function NzBreadCrumbItemComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, NzBreadCrumbItemComponent_ng_container_0_Template, 4, 2, \"ng-container\", 0)(1, NzBreadCrumbItemComponent_ng_template_1_Template, 2, 0, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor)(3, NzBreadCrumbItemComponent_nz_breadcrumb_separator_3_Template, 2, 1, \"nz-breadcrumb-separator\", 2);\n }\n if (rf & 2) {\n const _r2 = i0.ɵɵreference(2);\n i0.ɵɵproperty(\"ngIf\", !!ctx.nzOverlay)(\"ngIfElse\", _r2);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx.nzBreadCrumbComponent.nzSeparator);\n }\n },\n dependencies: [NgIf, NgTemplateOutlet, NzBreadCrumbSeparatorComponent, NzDropDownModule, i2.NzDropDownDirective, NzIconModule, i3.NzIconDirective, NzOutletModule, i4.NzStringTemplateOutletDirective],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzBreadCrumbItemComponent, [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-breadcrumb-item',\n exportAs: 'nzBreadcrumbItem',\n preserveWhitespaces: false,\n standalone: true,\n imports: [NgIf, NgTemplateOutlet, NzBreadCrumbSeparatorComponent, NzDropDownModule, NzIconModule, NzOutletModule],\n template: `\n \n \n \n \n \n \n\n \n \n \n \n \n\n \n \n {{ nzBreadCrumbComponent.nzSeparator }}\n \n \n `\n }]\n }], () => [{\n type: NzBreadcrumb\n }], {\n nzOverlay: [{\n type: Input\n }]\n });\n})();\nclass NzBreadCrumbComponent {\n constructor(injector, cdr, elementRef, renderer, directionality) {\n this.injector = injector;\n this.cdr = cdr;\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.directionality = directionality;\n this.nzAutoGenerate = false;\n this.nzSeparator = '/';\n this.nzRouteLabel = 'breadcrumb';\n this.nzRouteLabelFn = label => label;\n this.breadcrumbs = [];\n this.dir = 'ltr';\n this.destroy$ = new Subject();\n }\n ngOnInit() {\n if (this.nzAutoGenerate) {\n this.registerRouterChange();\n }\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n this.prepareComponentForRtl();\n this.cdr.detectChanges();\n });\n this.dir = this.directionality.value;\n this.prepareComponentForRtl();\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n navigate(url, e) {\n e.preventDefault();\n this.injector.get(Router).navigateByUrl(url);\n }\n registerRouterChange() {\n try {\n const router = this.injector.get(Router);\n const activatedRoute = this.injector.get(ActivatedRoute);\n router.events.pipe(filter(e => e instanceof NavigationEnd), takeUntil(this.destroy$), startWith(true) // trigger initial render\n ).subscribe(() => {\n this.breadcrumbs = this.getBreadcrumbs(activatedRoute.root);\n this.cdr.markForCheck();\n });\n } catch (e) {\n throw new Error(`${PREFIX} You should import RouterModule if you want to use 'NzAutoGenerate'.`);\n }\n }\n getBreadcrumbs(route, url = '', breadcrumbs = []) {\n const children = route.children;\n // If there's no sub root, then stop the recurse and returns the generated breadcrumbs.\n if (children.length === 0) {\n return breadcrumbs;\n }\n for (const child of children) {\n if (child.outlet === PRIMARY_OUTLET) {\n // Only parse components in primary router-outlet (in another word, router-outlet without a specific name).\n // Parse this layer and generate a breadcrumb item.\n const routeUrl = child.snapshot.url.map(segment => segment.path).filter(path => path).join('/');\n // Do not change nextUrl if routeUrl is falsy. This happens when it's a route lazy loading other modules.\n const nextUrl = routeUrl ? `${url}/${routeUrl}` : url;\n const breadcrumbLabel = this.nzRouteLabelFn(child.snapshot.data[this.nzRouteLabel]);\n // If have data, go to generate a breadcrumb for it.\n if (routeUrl && breadcrumbLabel) {\n const breadcrumb = {\n label: breadcrumbLabel,\n params: child.snapshot.params,\n url: nextUrl\n };\n breadcrumbs.push(breadcrumb);\n }\n return this.getBreadcrumbs(child, nextUrl, breadcrumbs);\n }\n }\n return breadcrumbs;\n }\n prepareComponentForRtl() {\n if (this.dir === 'rtl') {\n this.renderer.addClass(this.elementRef.nativeElement, 'ant-breadcrumb-rtl');\n } else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'ant-breadcrumb-rtl');\n }\n }\n static {\n this.ɵfac = function NzBreadCrumbComponent_Factory(t) {\n return new (t || NzBreadCrumbComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i1.Directionality, 8));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzBreadCrumbComponent,\n selectors: [[\"nz-breadcrumb\"]],\n hostAttrs: [1, \"ant-breadcrumb\"],\n inputs: {\n nzAutoGenerate: \"nzAutoGenerate\",\n nzSeparator: \"nzSeparator\",\n nzRouteLabel: \"nzRouteLabel\",\n nzRouteLabelFn: \"nzRouteLabelFn\"\n },\n exportAs: [\"nzBreadcrumb\"],\n standalone: true,\n features: [i0.ɵɵProvidersFeature([{\n provide: NzBreadcrumb,\n useExisting: NzBreadCrumbComponent\n }]), i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c0,\n decls: 2,\n vars: 1,\n consts: [[4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [3, \"click\"]],\n template: function NzBreadCrumbComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵprojection(0);\n i0.ɵɵtemplate(1, NzBreadCrumbComponent_ng_container_1_Template, 2, 1, \"ng-container\", 0);\n }\n if (rf & 2) {\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngIf\", ctx.nzAutoGenerate && ctx.breadcrumbs.length);\n }\n },\n dependencies: [NgFor, NgIf, NzBreadCrumbItemComponent],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n}\n__decorate([InputBoolean()], NzBreadCrumbComponent.prototype, \"nzAutoGenerate\", void 0);\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzBreadCrumbComponent, [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-breadcrumb',\n exportAs: 'nzBreadcrumb',\n preserveWhitespaces: false,\n providers: [{\n provide: NzBreadcrumb,\n useExisting: NzBreadCrumbComponent\n }],\n standalone: true,\n imports: [NgFor, NgIf, NzBreadCrumbItemComponent],\n template: `\n \n \n \n {{ breadcrumb.label }}\n \n \n `,\n host: {\n class: 'ant-breadcrumb'\n }\n }]\n }], () => [{\n type: i0.Injector\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: i1.Directionality,\n decorators: [{\n type: Optional\n }]\n }], {\n nzAutoGenerate: [{\n type: Input\n }],\n nzSeparator: [{\n type: Input\n }],\n nzRouteLabel: [{\n type: Input\n }],\n nzRouteLabelFn: [{\n type: Input\n }]\n });\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzBreadCrumbModule {\n static {\n this.ɵfac = function NzBreadCrumbModule_Factory(t) {\n return new (t || NzBreadCrumbModule)();\n };\n }\n static {\n this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NzBreadCrumbModule,\n imports: [NzBreadCrumbComponent, NzBreadCrumbItemComponent, NzBreadCrumbSeparatorComponent],\n exports: [NzBreadCrumbComponent, NzBreadCrumbItemComponent, NzBreadCrumbSeparatorComponent]\n });\n }\n static {\n this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [NzBreadCrumbComponent, NzBreadCrumbItemComponent]\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzBreadCrumbModule, [{\n type: NgModule,\n args: [{\n imports: [NzBreadCrumbComponent, NzBreadCrumbItemComponent, NzBreadCrumbSeparatorComponent],\n exports: [NzBreadCrumbComponent, NzBreadCrumbItemComponent, NzBreadCrumbSeparatorComponent]\n }]\n }], null, null);\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzBreadCrumbComponent, NzBreadCrumbItemComponent, NzBreadCrumbModule, NzBreadCrumbSeparatorComponent };\n"], "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAM,MAAM,CAAC,GAAG;AAChB,SAAS,gEAAgE,IAAI,KAAK;AAAC;AACnF,SAAS,kDAAkD,IAAI,KAAK;AAClE,MAAI,KAAK,GAAG;AACV,IAAG,wBAAwB,CAAC;AAC5B,IAAG,eAAe,GAAG,QAAQ,CAAC;AAC9B,IAAG,WAAW,GAAG,iEAAiE,GAAG,GAAG,eAAe,CAAC;AACxG,IAAG,UAAU,GAAG,QAAQ,CAAC;AACzB,IAAG,aAAa;AAChB,IAAG,sBAAsB;AAAA,EAC3B;AACA,MAAI,KAAK,GAAG;AACV,UAAM,SAAY,cAAc;AAChC,UAAM,MAAS,YAAY,CAAC;AAC5B,IAAG,UAAU,CAAC;AACd,IAAG,WAAW,kBAAkB,OAAO,SAAS;AAChD,IAAG,UAAU,CAAC;AACd,IAAG,WAAW,oBAAoB,GAAG;AAAA,EACvC;AACF;AACA,SAAS,iDAAiD,IAAI,KAAK;AACjE,MAAI,KAAK,GAAG;AACV,IAAG,eAAe,GAAG,QAAQ,CAAC;AAC9B,IAAG,aAAa,CAAC;AACjB,IAAG,aAAa;AAAA,EAClB;AACF;AACA,SAAS,4EAA4E,IAAI,KAAK;AAC5F,MAAI,KAAK,GAAG;AACV,IAAG,wBAAwB,CAAC;AAC5B,IAAG,OAAO,CAAC;AACX,IAAG,sBAAsB;AAAA,EAC3B;AACA,MAAI,KAAK,GAAG;AACV,UAAM,SAAY,cAAc,CAAC;AACjC,IAAG,UAAU,CAAC;AACd,IAAG,mBAAmB,KAAK,OAAO,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