You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
159 KiB
7 lines
159 KiB
{
|
|
"version": 3,
|
|
"sources": ["../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-cdk-resize-observer.mjs", "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-tabs.mjs"],
|
|
"sourcesContent": ["import * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, Directive, Output, Input, NgModule } from '@angular/core';\nimport { __decorate } from 'tslib';\nimport { InputBoolean } from 'ng-zorro-antd/core/util';\nimport { coerceElement } from '@angular/cdk/coercion';\nimport { Observable, Subject } from 'rxjs';\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 * Factory that creates a new ResizeObserver and allows us to stub it out in unit tests.\n */\nclass NzResizeObserverFactory {\n create(callback) {\n return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);\n }\n static {\n this.ɵfac = function NzResizeObserverFactory_Factory(t) {\n return new (t || NzResizeObserverFactory)();\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NzResizeObserverFactory,\n factory: NzResizeObserverFactory.ɵfac,\n providedIn: 'root'\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzResizeObserverFactory, [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], null, null);\n})();\n/** An injectable service that allows watching elements for changes to their content. */\nclass NzResizeObserver {\n constructor(nzResizeObserverFactory) {\n this.nzResizeObserverFactory = nzResizeObserverFactory;\n /** Keeps track of the existing ResizeObservers so they can be reused. */\n this.observedElements = new Map();\n }\n ngOnDestroy() {\n this.observedElements.forEach((_, element) => this.cleanupObserver(element));\n }\n observe(elementOrRef) {\n const element = coerceElement(elementOrRef);\n return new Observable(observer => {\n const stream = this.observeElement(element);\n const subscription = stream.subscribe(observer);\n return () => {\n subscription.unsubscribe();\n this.unobserveElement(element);\n };\n });\n }\n /**\n * Observes the given element by using the existing ResizeObserver if available, or creating a\n * new one if not.\n */\n observeElement(element) {\n if (!this.observedElements.has(element)) {\n const stream = new Subject();\n const observer = this.nzResizeObserverFactory.create(mutations => stream.next(mutations));\n if (observer) {\n observer.observe(element);\n }\n this.observedElements.set(element, {\n observer,\n stream,\n count: 1\n });\n } else {\n this.observedElements.get(element).count++;\n }\n return this.observedElements.get(element).stream;\n }\n /**\n * Un-observes the given element and cleans up the underlying ResizeObserver if nobody else is\n * observing this element.\n */\n unobserveElement(element) {\n if (this.observedElements.has(element)) {\n this.observedElements.get(element).count--;\n if (!this.observedElements.get(element).count) {\n this.cleanupObserver(element);\n }\n }\n }\n /** Clean up the underlying ResizeObserver for the specified element. */\n cleanupObserver(element) {\n if (this.observedElements.has(element)) {\n const {\n observer,\n stream\n } = this.observedElements.get(element);\n if (observer) {\n observer.disconnect();\n }\n stream.complete();\n this.observedElements.delete(element);\n }\n }\n static {\n this.ɵfac = function NzResizeObserver_Factory(t) {\n return new (t || NzResizeObserver)(i0.ɵɵinject(NzResizeObserverFactory));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NzResizeObserver,\n factory: NzResizeObserver.ɵfac,\n providedIn: 'root'\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzResizeObserver, [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], () => [{\n type: NzResizeObserverFactory\n }], null);\n})();\nclass NzResizeObserverDirective {\n subscribe() {\n this.unsubscribe();\n this.currentSubscription = this.nzResizeObserver.observe(this.elementRef).subscribe(this.nzResizeObserve);\n }\n unsubscribe() {\n this.currentSubscription?.unsubscribe();\n }\n constructor(nzResizeObserver, elementRef) {\n this.nzResizeObserver = nzResizeObserver;\n this.elementRef = elementRef;\n this.nzResizeObserve = new EventEmitter();\n this.nzResizeObserverDisabled = false;\n this.currentSubscription = null;\n }\n ngAfterContentInit() {\n if (!this.currentSubscription && !this.nzResizeObserverDisabled) {\n this.subscribe();\n }\n }\n ngOnDestroy() {\n this.unsubscribe();\n }\n ngOnChanges(changes) {\n const {\n nzResizeObserve\n } = changes;\n if (nzResizeObserve) {\n if (this.nzResizeObserverDisabled) {\n this.unsubscribe();\n } else {\n this.subscribe();\n }\n }\n }\n static {\n this.ɵfac = function NzResizeObserverDirective_Factory(t) {\n return new (t || NzResizeObserverDirective)(i0.ɵɵdirectiveInject(NzResizeObserver), i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n }\n static {\n this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: NzResizeObserverDirective,\n selectors: [[\"\", \"nzResizeObserver\", \"\"]],\n inputs: {\n nzResizeObserverDisabled: \"nzResizeObserverDisabled\"\n },\n outputs: {\n nzResizeObserve: \"nzResizeObserve\"\n },\n standalone: true,\n features: [i0.ɵɵProvidersFeature([NzResizeObserverFactory]), i0.ɵɵNgOnChangesFeature]\n });\n }\n}\n__decorate([InputBoolean()], NzResizeObserverDirective.prototype, \"nzResizeObserverDisabled\", void 0);\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzResizeObserverDirective, [{\n type: Directive,\n args: [{\n selector: '[nzResizeObserver]',\n standalone: true,\n providers: [NzResizeObserverFactory]\n }]\n }], () => [{\n type: NzResizeObserver\n }, {\n type: i0.ElementRef\n }], {\n nzResizeObserve: [{\n type: Output\n }],\n nzResizeObserverDisabled: [{\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 NzResizeObserverModule {\n static {\n this.ɵfac = function NzResizeObserverModule_Factory(t) {\n return new (t || NzResizeObserverModule)();\n };\n }\n static {\n this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NzResizeObserverModule,\n imports: [NzResizeObserverDirective],\n exports: [NzResizeObserverDirective]\n });\n }\n static {\n this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzResizeObserverModule, [{\n type: NgModule,\n args: [{\n imports: [NzResizeObserverDirective],\n exports: [NzResizeObserverDirective]\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 { NzResizeObserver, NzResizeObserverDirective, NzResizeObserverFactory, NzResizeObserverModule };\n", "import * as i0 from '@angular/core';\nimport { Component, Input, Directive, Optional, Inject, EventEmitter, ChangeDetectionStrategy, ViewEncapsulation, Output, ViewChild, ContentChildren, Host, Self, InjectionToken, TemplateRef, ContentChild, QueryList, NgModule } from '@angular/core';\nimport * as i1 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i2 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { reqAnimFrame } from 'ng-zorro-antd/core/polyfill';\nimport * as i4 from '@angular/cdk/a11y';\nimport { FocusKeyManager, A11yModule } from '@angular/cdk/a11y';\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\nimport { hasModifierKey, SPACE, ENTER, DOWN_ARROW, RIGHT_ARROW, UP_ARROW, LEFT_ARROW } from '@angular/cdk/keycodes';\nimport { NgIf, NgForOf, NgTemplateOutlet, NgStyle } from '@angular/common';\nimport { fromEvent, Subscription, animationFrameScheduler, asapScheduler, Subject, of, merge } from 'rxjs';\nimport { takeUntil, auditTime, startWith, first, filter, delay } from 'rxjs/operators';\nimport { NzDropdownMenuComponent, NzDropDownDirective } from 'ng-zorro-antd/dropdown';\nimport * as i3 from 'ng-zorro-antd/menu';\nimport { NzMenuModule } from 'ng-zorro-antd/menu';\nimport * as i1$1 from '@angular/cdk/overlay';\nimport * as i2$1 from 'ng-zorro-antd/cdk/resize-observer';\nimport * as i3$1 from '@angular/cdk/bidi';\nimport { __decorate } from 'tslib';\nimport { InputBoolean, wrapIntoObservable } from 'ng-zorro-antd/core/util';\nimport * as i1$2 from '@angular/router';\nimport { NavigationEnd } from '@angular/router';\nimport * as i1$3 from 'ng-zorro-antd/core/config';\nimport { WithConfig } from 'ng-zorro-antd/core/config';\nimport { PREFIX } from 'ng-zorro-antd/core/logger';\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 */\nfunction NzTabAddButtonComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"span\", 1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const icon_r1 = ctx.$implicit;\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"nzType\", icon_r1);\n }\n}\nfunction NzTabNavOperationComponent_ul_5_li_1_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 item_r5 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵadvance(1);\n i0.ɵɵtextInterpolate1(\" \", item_r5.tab.label, \" \");\n }\n}\nconst _c0 = () => ({\n visible: false\n});\nfunction NzTabNavOperationComponent_ul_5_li_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r9 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"li\", 8);\n i0.ɵɵlistener(\"click\", function NzTabNavOperationComponent_ul_5_li_1_Template_li_click_0_listener() {\n const restoredCtx = i0.ɵɵrestoreView(_r9);\n const item_r5 = restoredCtx.$implicit;\n const ctx_r8 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r8.onSelect(item_r5));\n })(\"contextmenu\", function NzTabNavOperationComponent_ul_5_li_1_Template_li_contextmenu_0_listener($event) {\n const restoredCtx = i0.ɵɵrestoreView(_r9);\n const item_r5 = restoredCtx.$implicit;\n const ctx_r10 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r10.onContextmenu(item_r5, $event));\n });\n i0.ɵɵtemplate(1, NzTabNavOperationComponent_ul_5_li_1_ng_container_1_Template, 2, 1, \"ng-container\", 9);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const item_r5 = ctx.$implicit;\n i0.ɵɵclassProp(\"ant-tabs-dropdown-menu-item-disabled\", item_r5.disabled);\n i0.ɵɵproperty(\"nzSelected\", item_r5.active)(\"nzDisabled\", item_r5.disabled);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", item_r5.tab.label)(\"nzStringTemplateOutletContext\", i0.ɵɵpureFunction0(6, _c0));\n }\n}\nfunction NzTabNavOperationComponent_ul_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"ul\", 6);\n i0.ɵɵtemplate(1, NzTabNavOperationComponent_ul_5_li_1_Template, 2, 7, \"li\", 7);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.items);\n }\n}\nfunction NzTabNavOperationComponent_button_6_Template(rf, ctx) {\n if (rf & 1) {\n const _r12 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 10);\n i0.ɵɵlistener(\"click\", function NzTabNavOperationComponent_button_6_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r12);\n const ctx_r11 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r11.addClicked.emit());\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"addIcon\", ctx_r3.addIcon);\n }\n}\nconst _c1 = () => ({\n minWidth: \"46px\"\n});\nconst _c2 = [\"navWarp\"];\nconst _c3 = [\"navList\"];\nfunction NzTabNavBarComponent_button_5_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 8);\n i0.ɵɵlistener(\"click\", function NzTabNavBarComponent_button_5_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r4 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r4.addClicked.emit());\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"addIcon\", ctx_r2.addIcon);\n i0.ɵɵattribute(\"tabindex\", -1);\n }\n}\nfunction NzTabNavBarComponent_div_8_ng_template_1_Template(rf, ctx) {}\nfunction NzTabNavBarComponent_div_8_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 9);\n i0.ɵɵtemplate(1, NzTabNavBarComponent_div_8_ng_template_1_Template, 0, 0, \"ng-template\", 10);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r3.extraTemplate);\n }\n}\nconst _c4 = [\"*\"];\nconst _c5 = [\"nz-tab-body\", \"\"];\nfunction NzTabBodyComponent_ng_container_0_ng_template_1_Template(rf, ctx) {}\nfunction NzTabBodyComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, NzTabBodyComponent_ng_container_0_ng_template_1_Template, 0, 0, \"ng-template\", 1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.content);\n }\n}\nfunction NzTabCloseButtonComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"span\", 1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const icon_r1 = ctx.$implicit;\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"nzType\", icon_r1);\n }\n}\nconst _c6 = [\"contentTemplate\"];\nfunction NzTabComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojection(0);\n }\n}\nfunction NzTabComponent_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojection(0, 1);\n }\n}\nconst _c7 = [[[\"\", \"nz-tab-link\", \"\"]], \"*\"];\nconst _c8 = [\"[nz-tab-link]\", \"*\"];\nfunction NzTabSetComponent_nz_tabs_nav_0_div_1_ng_container_2_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 tab_r3 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵadvance(1);\n i0.ɵɵtextInterpolate(tab_r3.label);\n }\n}\nfunction NzTabSetComponent_nz_tabs_nav_0_div_1_button_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r10 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 10);\n i0.ɵɵlistener(\"click\", function NzTabSetComponent_nz_tabs_nav_0_div_1_button_3_Template_button_click_0_listener($event) {\n i0.ɵɵrestoreView(_r10);\n const i_r4 = i0.ɵɵnextContext().index;\n const ctx_r8 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r8.onClose(i_r4, $event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const tab_r3 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵproperty(\"closeIcon\", tab_r3.nzCloseIcon);\n }\n}\nconst _c9 = () => ({\n visible: true\n});\nfunction NzTabSetComponent_nz_tabs_nav_0_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r13 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 6);\n i0.ɵɵlistener(\"click\", function NzTabSetComponent_nz_tabs_nav_0_div_1_Template_div_click_0_listener($event) {\n const restoredCtx = i0.ɵɵrestoreView(_r13);\n const tab_r3 = restoredCtx.$implicit;\n const i_r4 = restoredCtx.index;\n const ctx_r12 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r12.clickNavItem(tab_r3, i_r4, $event));\n })(\"contextmenu\", function NzTabSetComponent_nz_tabs_nav_0_div_1_Template_div_contextmenu_0_listener($event) {\n const restoredCtx = i0.ɵɵrestoreView(_r13);\n const tab_r3 = restoredCtx.$implicit;\n const ctx_r14 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r14.contextmenuNavItem(tab_r3, $event));\n });\n i0.ɵɵelementStart(1, \"button\", 7);\n i0.ɵɵtemplate(2, NzTabSetComponent_nz_tabs_nav_0_div_1_ng_container_2_Template, 2, 1, \"ng-container\", 8)(3, NzTabSetComponent_nz_tabs_nav_0_div_1_button_3_Template, 1, 1, \"button\", 9);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const tab_r3 = ctx.$implicit;\n const i_r4 = ctx.index;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵstyleProp(\"margin-right\", ctx_r2.position === \"horizontal\" ? ctx_r2.nzTabBarGutter : null, \"px\")(\"margin-bottom\", ctx_r2.position === \"vertical\" ? ctx_r2.nzTabBarGutter : null, \"px\");\n i0.ɵɵclassProp(\"ant-tabs-tab-active\", ctx_r2.nzSelectedIndex === i_r4)(\"ant-tabs-tab-disabled\", tab_r3.nzDisabled);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"id\", ctx_r2.getTabContentId(i_r4))(\"disabled\", tab_r3.nzDisabled)(\"tab\", tab_r3)(\"active\", ctx_r2.nzSelectedIndex === i_r4);\n i0.ɵɵattribute(\"tabIndex\", ctx_r2.getTabIndex(tab_r3, i_r4))(\"aria-disabled\", tab_r3.nzDisabled)(\"aria-selected\", ctx_r2.nzSelectedIndex === i_r4 && !ctx_r2.nzHideAll)(\"aria-controls\", ctx_r2.getTabContentId(i_r4));\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", tab_r3.label)(\"nzStringTemplateOutletContext\", i0.ɵɵpureFunction0(19, _c9));\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngIf\", tab_r3.nzClosable && ctx_r2.closable && !tab_r3.nzDisabled);\n }\n}\nfunction NzTabSetComponent_nz_tabs_nav_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r16 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"nz-tabs-nav\", 4);\n i0.ɵɵlistener(\"tabScroll\", function NzTabSetComponent_nz_tabs_nav_0_Template_nz_tabs_nav_tabScroll_0_listener($event) {\n i0.ɵɵrestoreView(_r16);\n const ctx_r15 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r15.nzTabListScroll.emit($event));\n })(\"selectFocusedIndex\", function NzTabSetComponent_nz_tabs_nav_0_Template_nz_tabs_nav_selectFocusedIndex_0_listener($event) {\n i0.ɵɵrestoreView(_r16);\n const ctx_r17 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r17.setSelectedIndex($event));\n })(\"addClicked\", function NzTabSetComponent_nz_tabs_nav_0_Template_nz_tabs_nav_addClicked_0_listener() {\n i0.ɵɵrestoreView(_r16);\n const ctx_r18 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r18.onAdd());\n });\n i0.ɵɵtemplate(1, NzTabSetComponent_nz_tabs_nav_0_div_1_Template, 4, 20, \"div\", 5);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngStyle\", ctx_r0.nzTabBarStyle)(\"selectedIndex\", ctx_r0.nzSelectedIndex || 0)(\"inkBarAnimated\", ctx_r0.inkBarAnimated)(\"addable\", ctx_r0.addable)(\"addIcon\", ctx_r0.nzAddIcon)(\"hideBar\", ctx_r0.nzHideAll)(\"position\", ctx_r0.position)(\"extraTemplate\", ctx_r0.nzTabBarExtraContent);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngForOf\", ctx_r0.tabs);\n }\n}\nfunction NzTabSetComponent_div_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 11);\n }\n if (rf & 2) {\n const tab_r19 = ctx.$implicit;\n const i_r20 = ctx.index;\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"id\", ctx_r1.getTabContentId(i_r20))(\"active\", ctx_r1.nzSelectedIndex === i_r20 && !ctx_r1.nzHideAll)(\"content\", tab_r19.content)(\"forceRender\", tab_r19.nzForceRender)(\"tabPaneAnimated\", ctx_r1.tabPaneAnimated);\n i0.ɵɵattribute(\"aria-labelledby\", ctx_r1.getTabContentId(i_r20));\n }\n}\nclass NzTabAddButtonComponent {\n constructor(elementRef) {\n this.elementRef = elementRef;\n this.addIcon = 'plus';\n this.element = this.elementRef.nativeElement;\n }\n getElementWidth() {\n return this.element?.offsetWidth || 0;\n }\n getElementHeight() {\n return this.element?.offsetHeight || 0;\n }\n static {\n this.ɵfac = function NzTabAddButtonComponent_Factory(t) {\n return new (t || NzTabAddButtonComponent)(i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzTabAddButtonComponent,\n selectors: [[\"nz-tab-add-button\"], [\"button\", \"nz-tab-add-button\", \"\"]],\n hostAttrs: [\"aria-label\", \"Add tab\", \"type\", \"button\", 1, \"ant-tabs-nav-add\"],\n inputs: {\n addIcon: \"addIcon\"\n },\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n decls: 1,\n vars: 1,\n consts: [[4, \"nzStringTemplateOutlet\"], [\"nz-icon\", \"\", \"nzTheme\", \"outline\", 3, \"nzType\"]],\n template: function NzTabAddButtonComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, NzTabAddButtonComponent_ng_container_0_Template, 2, 1, \"ng-container\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx.addIcon);\n }\n },\n dependencies: [NzOutletModule, i1.NzStringTemplateOutletDirective, NzIconModule, i2.NzIconDirective],\n encapsulation: 2\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabAddButtonComponent, [{\n type: Component,\n args: [{\n selector: 'nz-tab-add-button, button[nz-tab-add-button]',\n template: `\n <ng-container *nzStringTemplateOutlet=\"addIcon; let icon\">\n <span nz-icon [nzType]=\"icon\" nzTheme=\"outline\"></span>\n </ng-container>\n `,\n host: {\n class: 'ant-tabs-nav-add',\n 'aria-label': 'Add tab',\n type: 'button'\n },\n imports: [NzOutletModule, NzIconModule],\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }], {\n addIcon: [{\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 NzTabsInkBarDirective {\n get _animated() {\n return this.animationMode !== 'NoopAnimations' && this.animated;\n }\n constructor(elementRef, ngZone, animationMode) {\n this.elementRef = elementRef;\n this.ngZone = ngZone;\n this.animationMode = animationMode;\n this.position = 'horizontal';\n this.animated = true;\n }\n alignToElement(element) {\n this.ngZone.runOutsideAngular(() => {\n reqAnimFrame(() => this.setStyles(element));\n });\n }\n setStyles(element) {\n const inkBar = this.elementRef.nativeElement;\n if (this.position === 'horizontal') {\n inkBar.style.top = '';\n inkBar.style.height = '';\n inkBar.style.left = this.getLeftPosition(element);\n inkBar.style.width = this.getElementWidth(element);\n } else {\n inkBar.style.left = '';\n inkBar.style.width = '';\n inkBar.style.top = this.getTopPosition(element);\n inkBar.style.height = this.getElementHeight(element);\n }\n }\n getLeftPosition(element) {\n return element ? `${element.offsetLeft || 0}px` : '0';\n }\n getElementWidth(element) {\n return element ? `${element.offsetWidth || 0}px` : '0';\n }\n getTopPosition(element) {\n return element ? `${element.offsetTop || 0}px` : '0';\n }\n getElementHeight(element) {\n return element ? `${element.offsetHeight || 0}px` : '0';\n }\n static {\n this.ɵfac = function NzTabsInkBarDirective_Factory(t) {\n return new (t || NzTabsInkBarDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));\n };\n }\n static {\n this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: NzTabsInkBarDirective,\n selectors: [[\"nz-tabs-ink-bar\"], [\"\", \"nz-tabs-ink-bar\", \"\"]],\n hostAttrs: [1, \"ant-tabs-ink-bar\"],\n hostVars: 2,\n hostBindings: function NzTabsInkBarDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-tabs-ink-bar-animated\", ctx._animated);\n }\n },\n inputs: {\n position: \"position\",\n animated: \"animated\"\n },\n standalone: true\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabsInkBarDirective, [{\n type: Directive,\n args: [{\n selector: 'nz-tabs-ink-bar, [nz-tabs-ink-bar]',\n host: {\n class: 'ant-tabs-ink-bar',\n '[class.ant-tabs-ink-bar-animated]': '_animated'\n },\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.NgZone\n }, {\n type: undefined,\n decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }]\n }], {\n position: [{\n type: Input\n }],\n animated: [{\n type: Input\n }]\n });\n})();\nclass NzTabNavItemDirective {\n constructor(elementRef) {\n this.elementRef = elementRef;\n this.disabled = false;\n this.active = false;\n this.el = elementRef.nativeElement;\n this.parentElement = this.el.parentElement;\n }\n focus() {\n this.el.focus();\n }\n get width() {\n return this.parentElement.offsetWidth;\n }\n get height() {\n return this.parentElement.offsetHeight;\n }\n get left() {\n return this.parentElement.offsetLeft;\n }\n get top() {\n return this.parentElement.offsetTop;\n }\n static {\n this.ɵfac = function NzTabNavItemDirective_Factory(t) {\n return new (t || NzTabNavItemDirective)(i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n }\n static {\n this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: NzTabNavItemDirective,\n selectors: [[\"\", \"nzTabNavItem\", \"\"]],\n inputs: {\n disabled: \"disabled\",\n tab: \"tab\",\n active: \"active\"\n },\n standalone: true\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabNavItemDirective, [{\n type: Directive,\n args: [{\n selector: '[nzTabNavItem]',\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }], {\n disabled: [{\n type: Input\n }],\n tab: [{\n type: Input\n }],\n active: [{\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 NzTabNavOperationComponent {\n constructor(cdr, elementRef) {\n this.cdr = cdr;\n this.elementRef = elementRef;\n this.items = [];\n this.addable = false;\n this.addIcon = 'plus';\n this.addClicked = new EventEmitter();\n this.selected = new EventEmitter();\n this.closeAnimationWaitTimeoutId = -1;\n this.menuOpened = false;\n this.element = this.elementRef.nativeElement;\n }\n onSelect(item) {\n if (!item.disabled) {\n // ignore nzCanDeactivate\n item.tab.nzClick.emit();\n this.selected.emit(item);\n }\n }\n onContextmenu(item, e) {\n if (!item.disabled) {\n item.tab.nzContextmenu.emit(e);\n }\n }\n showItems() {\n clearTimeout(this.closeAnimationWaitTimeoutId);\n this.menuOpened = true;\n this.cdr.markForCheck();\n }\n menuVisChange(visible) {\n if (!visible) {\n this.closeAnimationWaitTimeoutId = setTimeout(() => {\n this.menuOpened = false;\n this.cdr.markForCheck();\n }, 150);\n }\n }\n getElementWidth() {\n return this.element?.offsetWidth || 0;\n }\n getElementHeight() {\n return this.element?.offsetHeight || 0;\n }\n ngOnDestroy() {\n clearTimeout(this.closeAnimationWaitTimeoutId);\n }\n static {\n this.ɵfac = function NzTabNavOperationComponent_Factory(t) {\n return new (t || NzTabNavOperationComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzTabNavOperationComponent,\n selectors: [[\"nz-tab-nav-operation\"]],\n hostAttrs: [1, \"ant-tabs-nav-operations\"],\n hostVars: 2,\n hostBindings: function NzTabNavOperationComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-tabs-nav-operations-hidden\", ctx.items.length === 0);\n }\n },\n inputs: {\n items: \"items\",\n addable: \"addable\",\n addIcon: \"addIcon\"\n },\n outputs: {\n addClicked: \"addClicked\",\n selected: \"selected\"\n },\n exportAs: [\"nzTabNavOperation\"],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n decls: 7,\n vars: 6,\n consts: [[\"nz-dropdown\", \"\", \"type\", \"button\", \"tabindex\", \"-1\", \"aria-hidden\", \"true\", \"nzOverlayClassName\", \"nz-tabs-dropdown\", 1, \"ant-tabs-nav-more\", 3, \"nzDropdownMenu\", \"nzOverlayStyle\", \"nzMatchWidthElement\", \"nzVisibleChange\", \"mouseenter\"], [\"dropdownTrigger\", \"nzDropdown\"], [\"nz-icon\", \"\", \"nzType\", \"ellipsis\"], [\"menu\", \"nzDropdownMenu\"], [\"nz-menu\", \"\", 4, \"ngIf\"], [\"nz-tab-add-button\", \"\", 3, \"addIcon\", \"click\", 4, \"ngIf\"], [\"nz-menu\", \"\"], [\"nz-menu-item\", \"\", \"class\", \"ant-tabs-dropdown-menu-item\", 3, \"ant-tabs-dropdown-menu-item-disabled\", \"nzSelected\", \"nzDisabled\", \"click\", \"contextmenu\", 4, \"ngFor\", \"ngForOf\"], [\"nz-menu-item\", \"\", 1, \"ant-tabs-dropdown-menu-item\", 3, \"nzSelected\", \"nzDisabled\", \"click\", \"contextmenu\"], [4, \"nzStringTemplateOutlet\", \"nzStringTemplateOutletContext\"], [\"nz-tab-add-button\", \"\", 3, \"addIcon\", \"click\"]],\n template: function NzTabNavOperationComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"button\", 0, 1);\n i0.ɵɵlistener(\"nzVisibleChange\", function NzTabNavOperationComponent_Template_button_nzVisibleChange_0_listener($event) {\n return ctx.menuVisChange($event);\n })(\"mouseenter\", function NzTabNavOperationComponent_Template_button_mouseenter_0_listener() {\n return ctx.showItems();\n });\n i0.ɵɵelement(2, \"span\", 2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"nz-dropdown-menu\", null, 3);\n i0.ɵɵtemplate(5, NzTabNavOperationComponent_ul_5_Template, 2, 1, \"ul\", 4);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(6, NzTabNavOperationComponent_button_6_Template, 1, 1, \"button\", 5);\n }\n if (rf & 2) {\n const _r1 = i0.ɵɵreference(4);\n i0.ɵɵproperty(\"nzDropdownMenu\", _r1)(\"nzOverlayStyle\", i0.ɵɵpureFunction0(5, _c1))(\"nzMatchWidthElement\", null);\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"ngIf\", ctx.menuOpened);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngIf\", ctx.addable);\n }\n },\n dependencies: [NzIconModule, i2.NzIconDirective, NgIf, NgForOf, NzOutletModule, i1.NzStringTemplateOutletDirective, NzTabAddButtonComponent, NzDropdownMenuComponent, NzMenuModule, i3.NzMenuDirective, i3.NzMenuItemComponent, NzDropDownDirective],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabNavOperationComponent, [{\n type: Component,\n args: [{\n selector: 'nz-tab-nav-operation',\n exportAs: 'nzTabNavOperation',\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: `\n <button\n nz-dropdown\n class=\"ant-tabs-nav-more\"\n type=\"button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n nzOverlayClassName=\"nz-tabs-dropdown\"\n #dropdownTrigger=\"nzDropdown\"\n [nzDropdownMenu]=\"menu\"\n [nzOverlayStyle]=\"{ minWidth: '46px' }\"\n [nzMatchWidthElement]=\"null\"\n (nzVisibleChange)=\"menuVisChange($event)\"\n (mouseenter)=\"showItems()\"\n >\n <span nz-icon nzType=\"ellipsis\"></span>\n </button>\n <nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu *ngIf=\"menuOpened\">\n <li\n nz-menu-item\n *ngFor=\"let item of items\"\n class=\"ant-tabs-dropdown-menu-item\"\n [class.ant-tabs-dropdown-menu-item-disabled]=\"item.disabled\"\n [nzSelected]=\"item.active\"\n [nzDisabled]=\"item.disabled\"\n (click)=\"onSelect(item)\"\n (contextmenu)=\"onContextmenu(item, $event)\"\n >\n <ng-container *nzStringTemplateOutlet=\"item.tab.label; context: { visible: false }\">\n {{ item.tab.label }}\n </ng-container>\n </li>\n </ul>\n </nz-dropdown-menu>\n <button *ngIf=\"addable\" nz-tab-add-button [addIcon]=\"addIcon\" (click)=\"addClicked.emit()\"></button>\n `,\n host: {\n class: 'ant-tabs-nav-operations',\n '[class.ant-tabs-nav-operations-hidden]': 'items.length === 0'\n },\n imports: [NzIconModule, NgIf, NgForOf, NzOutletModule, NzTabAddButtonComponent, NzDropdownMenuComponent, NzMenuModule, NzDropDownDirective],\n standalone: true\n }]\n }], () => [{\n type: i0.ChangeDetectorRef\n }, {\n type: i0.ElementRef\n }], {\n items: [{\n type: Input\n }],\n addable: [{\n type: Input\n }],\n addIcon: [{\n type: Input\n }],\n addClicked: [{\n type: Output\n }],\n selected: [{\n type: Output\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 */\nconst MIN_SWIPE_DISTANCE = 0.1;\nconst STOP_SWIPE_DISTANCE = 0.01;\nconst REFRESH_INTERVAL = 20;\nconst SPEED_OFF_MULTIPLE = 0.995 ** REFRESH_INTERVAL;\nclass NzTabScrollListDirective {\n constructor(ngZone, elementRef) {\n this.ngZone = ngZone;\n this.elementRef = elementRef;\n this.lastWheelDirection = null;\n this.lastWheelTimestamp = 0;\n this.lastTimestamp = 0;\n this.lastTimeDiff = 0;\n this.lastMixedWheel = 0;\n this.lastWheelPrevent = false;\n this.touchPosition = null;\n this.lastOffset = null;\n this.motion = -1;\n this.unsubscribe = () => void 0;\n this.offsetChange = new EventEmitter();\n this.tabScroll = new EventEmitter();\n this.onTouchEnd = e => {\n if (!this.touchPosition) {\n return;\n }\n const lastOffset = this.lastOffset;\n const lastTimeDiff = this.lastTimeDiff;\n this.lastOffset = this.touchPosition = null;\n if (lastOffset) {\n const distanceX = lastOffset.x / lastTimeDiff;\n const distanceY = lastOffset.y / lastTimeDiff;\n const absX = Math.abs(distanceX);\n const absY = Math.abs(distanceY);\n // Skip swipe if low distance\n if (Math.max(absX, absY) < MIN_SWIPE_DISTANCE) {\n return;\n }\n let currentX = distanceX;\n let currentY = distanceY;\n this.motion = window.setInterval(() => {\n if (Math.abs(currentX) < STOP_SWIPE_DISTANCE && Math.abs(currentY) < STOP_SWIPE_DISTANCE) {\n window.clearInterval(this.motion);\n return;\n }\n currentX *= SPEED_OFF_MULTIPLE;\n currentY *= SPEED_OFF_MULTIPLE;\n this.onOffset(currentX * REFRESH_INTERVAL, currentY * REFRESH_INTERVAL, e);\n }, REFRESH_INTERVAL);\n }\n };\n this.onTouchMove = e => {\n if (!this.touchPosition) {\n return;\n }\n e.preventDefault();\n const {\n screenX,\n screenY\n } = e.touches[0];\n const offsetX = screenX - this.touchPosition.x;\n const offsetY = screenY - this.touchPosition.y;\n this.onOffset(offsetX, offsetY, e);\n const now = Date.now();\n this.lastTimeDiff = now - this.lastTimestamp;\n this.lastTimestamp = now;\n this.lastOffset = {\n x: offsetX,\n y: offsetY\n };\n this.touchPosition = {\n x: screenX,\n y: screenY\n };\n };\n this.onTouchStart = e => {\n const {\n screenX,\n screenY\n } = e.touches[0];\n this.touchPosition = {\n x: screenX,\n y: screenY\n };\n window.clearInterval(this.motion);\n };\n this.onWheel = e => {\n const {\n deltaX,\n deltaY\n } = e;\n let mixed;\n const absX = Math.abs(deltaX);\n const absY = Math.abs(deltaY);\n if (absX === absY) {\n mixed = this.lastWheelDirection === 'x' ? deltaX : deltaY;\n } else if (absX > absY) {\n mixed = deltaX;\n this.lastWheelDirection = 'x';\n } else {\n mixed = deltaY;\n this.lastWheelDirection = 'y';\n }\n // Optimize mac touch scroll\n const now = Date.now();\n const absMixed = Math.abs(mixed);\n if (now - this.lastWheelTimestamp > 100 || absMixed - this.lastMixedWheel > 10) {\n this.lastWheelPrevent = false;\n }\n this.onOffset(-mixed, -mixed, e);\n if (e.defaultPrevented || this.lastWheelPrevent) {\n this.lastWheelPrevent = true;\n }\n this.lastWheelTimestamp = now;\n this.lastMixedWheel = absMixed;\n };\n }\n ngOnInit() {\n this.unsubscribe = this.ngZone.runOutsideAngular(() => {\n const el = this.elementRef.nativeElement;\n const wheel$ = fromEvent(el, 'wheel');\n const touchstart$ = fromEvent(el, 'touchstart');\n const touchmove$ = fromEvent(el, 'touchmove');\n const touchend$ = fromEvent(el, 'touchend');\n const subscription = new Subscription();\n subscription.add(this.subscribeWrap('wheel', wheel$, this.onWheel));\n subscription.add(this.subscribeWrap('touchstart', touchstart$, this.onTouchStart));\n subscription.add(this.subscribeWrap('touchmove', touchmove$, this.onTouchMove));\n subscription.add(this.subscribeWrap('touchend', touchend$, this.onTouchEnd));\n return () => {\n subscription.unsubscribe();\n };\n });\n }\n subscribeWrap(type, observable, handler) {\n return observable.subscribe(event => {\n this.tabScroll.emit({\n type,\n event\n });\n if (!event.defaultPrevented) {\n handler(event);\n }\n });\n }\n onOffset(x, y, event) {\n this.ngZone.run(() => {\n this.offsetChange.emit({\n x,\n y,\n event\n });\n });\n }\n ngOnDestroy() {\n this.unsubscribe();\n }\n static {\n this.ɵfac = function NzTabScrollListDirective_Factory(t) {\n return new (t || NzTabScrollListDirective)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n }\n static {\n this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: NzTabScrollListDirective,\n selectors: [[\"\", \"nzTabScrollList\", \"\"]],\n outputs: {\n offsetChange: \"offsetChange\",\n tabScroll: \"tabScroll\"\n },\n standalone: true\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabScrollListDirective, [{\n type: Directive,\n args: [{\n selector: '[nzTabScrollList]',\n standalone: true\n }]\n }], () => [{\n type: i0.NgZone\n }, {\n type: i0.ElementRef\n }], {\n offsetChange: [{\n type: Output\n }],\n tabScroll: [{\n type: Output\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 */\nconst RESIZE_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? animationFrameScheduler : asapScheduler;\nconst CSS_TRANSFORM_TIME = 150;\nclass NzTabNavBarComponent {\n get selectedIndex() {\n return this._selectedIndex;\n }\n set selectedIndex(value) {\n const newValue = coerceNumberProperty(value);\n if (this._selectedIndex !== newValue) {\n this._selectedIndex = value;\n this.selectedIndexChanged = true;\n if (this.keyManager) {\n this.keyManager.updateActiveItem(value);\n }\n }\n }\n /** Tracks which element has focus; used for keyboard navigation */\n get focusIndex() {\n return this.keyManager ? this.keyManager.activeItemIndex : 0;\n }\n /** When the focus index is set, we must manually send focus to the correct label */\n set focusIndex(value) {\n if (!this.isValidIndex(value) || this.focusIndex === value || !this.keyManager) {\n return;\n }\n this.keyManager.setActiveItem(value);\n }\n get showAddButton() {\n return this.hiddenItems.length === 0 && this.addable;\n }\n constructor(cdr, ngZone, viewportRuler, nzResizeObserver, dir) {\n this.cdr = cdr;\n this.ngZone = ngZone;\n this.viewportRuler = viewportRuler;\n this.nzResizeObserver = nzResizeObserver;\n this.dir = dir;\n this.indexFocused = new EventEmitter();\n this.selectFocusedIndex = new EventEmitter();\n this.addClicked = new EventEmitter();\n this.tabScroll = new EventEmitter();\n this.position = 'horizontal';\n this.addable = false;\n this.hideBar = false;\n this.addIcon = 'plus';\n this.inkBarAnimated = true;\n this.translate = null;\n this.transformX = 0;\n this.transformY = 0;\n this.pingLeft = false;\n this.pingRight = false;\n this.pingTop = false;\n this.pingBottom = false;\n this.hiddenItems = [];\n this.destroy$ = new Subject();\n this._selectedIndex = 0;\n this.wrapperWidth = 0;\n this.wrapperHeight = 0;\n this.scrollListWidth = 0;\n this.scrollListHeight = 0;\n this.operationWidth = 0;\n this.operationHeight = 0;\n this.addButtonWidth = 0;\n this.addButtonHeight = 0;\n this.selectedIndexChanged = false;\n this.lockAnimationTimeoutId = -1;\n this.cssTransformTimeWaitingId = -1;\n }\n ngAfterViewInit() {\n const dirChange = this.dir ? this.dir.change.asObservable() : of(null);\n const resize = this.viewportRuler.change(150);\n const realign = () => {\n this.updateScrollListPosition();\n this.alignInkBarToSelectedTab();\n };\n this.keyManager = new FocusKeyManager(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap();\n this.keyManager.updateActiveItem(this.selectedIndex);\n reqAnimFrame(realign);\n merge(this.nzResizeObserver.observe(this.navWarpRef), this.nzResizeObserver.observe(this.navListRef)).pipe(takeUntil(this.destroy$), auditTime(16, RESIZE_SCHEDULER)).subscribe(() => {\n realign();\n });\n merge(dirChange, resize, this.items.changes).pipe(takeUntil(this.destroy$)).subscribe(() => {\n Promise.resolve().then(realign);\n this.keyManager.withHorizontalOrientation(this.getLayoutDirection());\n });\n this.keyManager.change.pipe(takeUntil(this.destroy$)).subscribe(newFocusIndex => {\n this.indexFocused.emit(newFocusIndex);\n this.setTabFocus(newFocusIndex);\n this.scrollToTab(this.keyManager.activeItem);\n });\n }\n ngAfterContentChecked() {\n if (this.selectedIndexChanged) {\n this.updateScrollListPosition();\n this.alignInkBarToSelectedTab();\n this.selectedIndexChanged = false;\n this.cdr.markForCheck();\n }\n }\n ngOnDestroy() {\n clearTimeout(this.lockAnimationTimeoutId);\n clearTimeout(this.cssTransformTimeWaitingId);\n this.destroy$.next();\n this.destroy$.complete();\n }\n onSelectedFromMenu(tab) {\n const tabIndex = this.items.toArray().findIndex(e => e === tab);\n if (tabIndex !== -1) {\n this.keyManager.updateActiveItem(tabIndex);\n if (this.focusIndex !== this.selectedIndex) {\n this.selectFocusedIndex.emit(this.focusIndex);\n this.scrollToTab(tab);\n }\n }\n }\n onOffsetChange(e) {\n if (this.position === 'horizontal') {\n if (this.lockAnimationTimeoutId === -1) {\n if (this.transformX >= 0 && e.x > 0) {\n return;\n }\n if (this.transformX <= this.wrapperWidth - this.scrollListWidth && e.x < 0) {\n return;\n }\n }\n e.event.preventDefault();\n this.transformX = this.clampTransformX(this.transformX + e.x);\n this.setTransform(this.transformX, 0);\n } else {\n if (this.lockAnimationTimeoutId === -1) {\n if (this.transformY >= 0 && e.y > 0) {\n return;\n }\n if (this.transformY <= this.wrapperHeight - this.scrollListHeight && e.y < 0) {\n return;\n }\n }\n e.event.preventDefault();\n this.transformY = this.clampTransformY(this.transformY + e.y);\n this.setTransform(0, this.transformY);\n }\n this.lockAnimation();\n this.setVisibleRange();\n this.setPingStatus();\n }\n handleKeydown(event) {\n const inNavigationList = this.navWarpRef.nativeElement.contains(event.target);\n if (hasModifierKey(event) || !inNavigationList) {\n return;\n }\n switch (event.keyCode) {\n case LEFT_ARROW:\n case UP_ARROW:\n case RIGHT_ARROW:\n case DOWN_ARROW:\n this.lockAnimation();\n this.keyManager.onKeydown(event);\n break;\n case ENTER:\n case SPACE:\n if (this.focusIndex !== this.selectedIndex) {\n this.selectFocusedIndex.emit(this.focusIndex);\n }\n break;\n default:\n this.keyManager.onKeydown(event);\n }\n }\n isValidIndex(index) {\n if (!this.items) {\n return true;\n }\n const tab = this.items ? this.items.toArray()[index] : null;\n return !!tab && !tab.disabled;\n }\n scrollToTab(tab) {\n if (!this.items.find(e => e === tab)) {\n return;\n }\n const tabs = this.items.toArray();\n if (this.position === 'horizontal') {\n let newTransform = this.transformX;\n if (this.getLayoutDirection() === 'rtl') {\n const right = tabs[0].left + tabs[0].width - tab.left - tab.width;\n if (right < this.transformX) {\n newTransform = right;\n } else if (right + tab.width > this.transformX + this.wrapperWidth) {\n newTransform = right + tab.width - this.wrapperWidth;\n }\n } else if (tab.left < -this.transformX) {\n newTransform = -tab.left;\n } else if (tab.left + tab.width > -this.transformX + this.wrapperWidth) {\n newTransform = -(tab.left + tab.width - this.wrapperWidth);\n }\n this.transformX = newTransform;\n this.transformY = 0;\n this.setTransform(newTransform, 0);\n } else {\n let newTransform = this.transformY;\n if (tab.top < -this.transformY) {\n newTransform = -tab.top;\n } else if (tab.top + tab.height > -this.transformY + this.wrapperHeight) {\n newTransform = -(tab.top + tab.height - this.wrapperHeight);\n }\n this.transformY = newTransform;\n this.transformX = 0;\n this.setTransform(0, newTransform);\n }\n clearTimeout(this.cssTransformTimeWaitingId);\n this.cssTransformTimeWaitingId = setTimeout(() => {\n this.setVisibleRange();\n }, CSS_TRANSFORM_TIME);\n }\n lockAnimation() {\n if (this.lockAnimationTimeoutId === -1) {\n this.ngZone.runOutsideAngular(() => {\n this.navListRef.nativeElement.style.transition = 'none';\n this.lockAnimationTimeoutId = setTimeout(() => {\n this.navListRef.nativeElement.style.transition = '';\n this.lockAnimationTimeoutId = -1;\n }, CSS_TRANSFORM_TIME);\n });\n }\n }\n setTransform(x, y) {\n this.navListRef.nativeElement.style.transform = `translate(${x}px, ${y}px)`;\n }\n clampTransformX(transform) {\n const scrollWidth = this.wrapperWidth - this.scrollListWidth;\n if (this.getLayoutDirection() === 'rtl') {\n return Math.max(Math.min(scrollWidth, transform), 0);\n } else {\n return Math.min(Math.max(scrollWidth, transform), 0);\n }\n }\n clampTransformY(transform) {\n return Math.min(Math.max(this.wrapperHeight - this.scrollListHeight, transform), 0);\n }\n updateScrollListPosition() {\n this.resetSizes();\n this.transformX = this.clampTransformX(this.transformX);\n this.transformY = this.clampTransformY(this.transformY);\n this.setVisibleRange();\n this.setPingStatus();\n if (this.keyManager) {\n this.keyManager.updateActiveItem(this.keyManager.activeItemIndex);\n if (this.keyManager.activeItem) {\n this.scrollToTab(this.keyManager.activeItem);\n }\n }\n }\n resetSizes() {\n this.addButtonWidth = this.addBtnRef ? this.addBtnRef.getElementWidth() : 0;\n this.addButtonHeight = this.addBtnRef ? this.addBtnRef.getElementHeight() : 0;\n this.operationWidth = this.operationRef.getElementWidth();\n this.operationHeight = this.operationRef.getElementHeight();\n this.wrapperWidth = this.navWarpRef.nativeElement.offsetWidth || 0;\n this.wrapperHeight = this.navWarpRef.nativeElement.offsetHeight || 0;\n this.scrollListHeight = this.navListRef.nativeElement.offsetHeight || 0;\n this.scrollListWidth = this.navListRef.nativeElement.offsetWidth || 0;\n }\n alignInkBarToSelectedTab() {\n const selectedItem = this.items && this.items.length ? this.items.toArray()[this.selectedIndex] : null;\n const selectedItemElement = selectedItem ? selectedItem.elementRef.nativeElement : null;\n if (selectedItemElement) {\n /**\n * .ant-tabs-nav-list - Target offset parent element\n * └──.ant-tabs-tab\n * └──.ant-tabs-tab-btn - Currently focused element\n */\n this.inkBar.alignToElement(selectedItemElement.parentElement);\n }\n }\n setPingStatus() {\n const ping = {\n top: false,\n right: false,\n bottom: false,\n left: false\n };\n const navWarp = this.navWarpRef.nativeElement;\n if (this.position === 'horizontal') {\n if (this.getLayoutDirection() === 'rtl') {\n ping.right = this.transformX > 0;\n ping.left = this.transformX + this.wrapperWidth < this.scrollListWidth;\n } else {\n ping.left = this.transformX < 0;\n ping.right = -this.transformX + this.wrapperWidth < this.scrollListWidth;\n }\n } else {\n ping.top = this.transformY < 0;\n ping.bottom = -this.transformY + this.wrapperHeight < this.scrollListHeight;\n }\n Object.keys(ping).forEach(pos => {\n const className = `ant-tabs-nav-wrap-ping-${pos}`;\n if (ping[pos]) {\n navWarp.classList.add(className);\n } else {\n navWarp.classList.remove(className);\n }\n });\n }\n setVisibleRange() {\n let unit;\n let position;\n let transformSize;\n let basicSize;\n let tabContentSize;\n let addSize;\n const tabs = this.items.toArray();\n const DEFAULT_SIZE = {\n width: 0,\n height: 0,\n left: 0,\n top: 0,\n right: 0\n };\n const getOffset = index => {\n let offset;\n const size = tabs[index] || DEFAULT_SIZE;\n if (position === 'right') {\n offset = tabs[0].left + tabs[0].width - tabs[index].left - tabs[index].width;\n } else {\n offset = size[position];\n }\n return offset;\n };\n if (this.position === 'horizontal') {\n unit = 'width';\n basicSize = this.wrapperWidth;\n tabContentSize = this.scrollListWidth - (this.hiddenItems.length ? this.operationWidth : 0);\n addSize = this.addButtonWidth;\n transformSize = Math.abs(this.transformX);\n if (this.getLayoutDirection() === 'rtl') {\n position = 'right';\n this.pingRight = this.transformX > 0;\n this.pingLeft = this.transformX + this.wrapperWidth < this.scrollListWidth;\n } else {\n this.pingLeft = this.transformX < 0;\n this.pingRight = -this.transformX + this.wrapperWidth < this.scrollListWidth;\n position = 'left';\n }\n } else {\n unit = 'height';\n basicSize = this.wrapperHeight;\n tabContentSize = this.scrollListHeight - (this.hiddenItems.length ? this.operationHeight : 0);\n addSize = this.addButtonHeight;\n position = 'top';\n transformSize = -this.transformY;\n this.pingTop = this.transformY < 0;\n this.pingBottom = -this.transformY + this.wrapperHeight < this.scrollListHeight;\n }\n let mergedBasicSize = basicSize;\n if (tabContentSize + addSize > basicSize) {\n mergedBasicSize = basicSize - addSize;\n }\n if (!tabs.length) {\n this.hiddenItems = [];\n this.cdr.markForCheck();\n return;\n }\n const len = tabs.length;\n let endIndex = len;\n for (let i = 0; i < len; i += 1) {\n const offset = getOffset(i);\n const size = tabs[i] || DEFAULT_SIZE;\n if (offset + size[unit] > transformSize + mergedBasicSize) {\n endIndex = i - 1;\n break;\n }\n }\n let startIndex = 0;\n for (let i = len - 1; i >= 0; i -= 1) {\n const offset = getOffset(i);\n if (offset < transformSize) {\n startIndex = i + 1;\n break;\n }\n }\n const startHiddenTabs = tabs.slice(0, startIndex);\n const endHiddenTabs = tabs.slice(endIndex + 1);\n this.hiddenItems = [...startHiddenTabs, ...endHiddenTabs];\n this.cdr.markForCheck();\n }\n getLayoutDirection() {\n return this.dir && this.dir.value === 'rtl' ? 'rtl' : 'ltr';\n }\n setTabFocus(_tabIndex) {}\n ngOnChanges(changes) {\n const {\n position\n } = changes;\n // The first will be aligning in ngAfterViewInit\n if (position && !position.isFirstChange()) {\n this.alignInkBarToSelectedTab();\n this.lockAnimation();\n this.updateScrollListPosition();\n }\n }\n static {\n this.ɵfac = function NzTabNavBarComponent_Factory(t) {\n return new (t || NzTabNavBarComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ViewportRuler), i0.ɵɵdirectiveInject(i2$1.NzResizeObserver), i0.ɵɵdirectiveInject(i3$1.Directionality, 8));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzTabNavBarComponent,\n selectors: [[\"nz-tabs-nav\"]],\n contentQueries: function NzTabNavBarComponent_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, NzTabNavItemDirective, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);\n }\n },\n viewQuery: function NzTabNavBarComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c2, 7);\n i0.ɵɵviewQuery(_c3, 7);\n i0.ɵɵviewQuery(NzTabNavOperationComponent, 7);\n i0.ɵɵviewQuery(NzTabAddButtonComponent, 5);\n i0.ɵɵviewQuery(NzTabsInkBarDirective, 7);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.navWarpRef = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.navListRef = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.operationRef = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.addBtnRef = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inkBar = _t.first);\n }\n },\n hostAttrs: [1, \"ant-tabs-nav\"],\n hostBindings: function NzTabNavBarComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"keydown\", function NzTabNavBarComponent_keydown_HostBindingHandler($event) {\n return ctx.handleKeydown($event);\n });\n }\n },\n inputs: {\n position: \"position\",\n addable: \"addable\",\n hideBar: \"hideBar\",\n addIcon: \"addIcon\",\n inkBarAnimated: \"inkBarAnimated\",\n extraTemplate: \"extraTemplate\",\n selectedIndex: \"selectedIndex\"\n },\n outputs: {\n indexFocused: \"indexFocused\",\n selectFocusedIndex: \"selectFocusedIndex\",\n addClicked: \"addClicked\",\n tabScroll: \"tabScroll\"\n },\n exportAs: [\"nzTabsNav\"],\n standalone: true,\n features: [i0.ɵɵNgOnChangesFeature, i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c4,\n decls: 9,\n vars: 16,\n consts: [[1, \"ant-tabs-nav-wrap\"], [\"navWarp\", \"\"], [\"nzTabScrollList\", \"\", \"role\", \"tablist\", 1, \"ant-tabs-nav-list\", 3, \"offsetChange\", \"tabScroll\"], [\"navList\", \"\"], [\"role\", \"tab\", \"nz-tab-add-button\", \"\", 3, \"addIcon\", \"click\", 4, \"ngIf\"], [\"nz-tabs-ink-bar\", \"\", 3, \"hidden\", \"position\", \"animated\"], [3, \"addIcon\", \"addable\", \"items\", \"addClicked\", \"selected\"], [\"class\", \"ant-tabs-extra-content\", 4, \"ngIf\"], [\"role\", \"tab\", \"nz-tab-add-button\", \"\", 3, \"addIcon\", \"click\"], [1, \"ant-tabs-extra-content\"], [3, \"ngTemplateOutlet\"]],\n template: function NzTabNavBarComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵelementStart(0, \"div\", 0, 1)(2, \"div\", 2, 3);\n i0.ɵɵlistener(\"offsetChange\", function NzTabNavBarComponent_Template_div_offsetChange_2_listener($event) {\n return ctx.onOffsetChange($event);\n })(\"tabScroll\", function NzTabNavBarComponent_Template_div_tabScroll_2_listener($event) {\n return ctx.tabScroll.emit($event);\n });\n i0.ɵɵprojection(4);\n i0.ɵɵtemplate(5, NzTabNavBarComponent_button_5_Template, 1, 2, \"button\", 4);\n i0.ɵɵelement(6, \"div\", 5);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(7, \"nz-tab-nav-operation\", 6);\n i0.ɵɵlistener(\"addClicked\", function NzTabNavBarComponent_Template_nz_tab_nav_operation_addClicked_7_listener() {\n return ctx.addClicked.emit();\n })(\"selected\", function NzTabNavBarComponent_Template_nz_tab_nav_operation_selected_7_listener($event) {\n return ctx.onSelectedFromMenu($event);\n });\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(8, NzTabNavBarComponent_div_8_Template, 2, 1, \"div\", 7);\n }\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-tabs-nav-wrap-ping-left\", ctx.pingLeft)(\"ant-tabs-nav-wrap-ping-right\", ctx.pingRight)(\"ant-tabs-nav-wrap-ping-top\", ctx.pingTop)(\"ant-tabs-nav-wrap-ping-bottom\", ctx.pingBottom);\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"ngIf\", ctx.showAddButton);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"hidden\", ctx.hideBar)(\"position\", ctx.position)(\"animated\", ctx.inkBarAnimated);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"addIcon\", ctx.addIcon)(\"addable\", ctx.addable)(\"items\", ctx.hiddenItems);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngIf\", ctx.extraTemplate);\n }\n },\n dependencies: [NzTabScrollListDirective, NgIf, NzTabAddButtonComponent, NzTabsInkBarDirective, NzTabNavOperationComponent, NgTemplateOutlet],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabNavBarComponent, [{\n type: Component,\n args: [{\n selector: 'nz-tabs-nav',\n exportAs: 'nzTabsNav',\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: `\n <div\n class=\"ant-tabs-nav-wrap\"\n [class.ant-tabs-nav-wrap-ping-left]=\"pingLeft\"\n [class.ant-tabs-nav-wrap-ping-right]=\"pingRight\"\n [class.ant-tabs-nav-wrap-ping-top]=\"pingTop\"\n [class.ant-tabs-nav-wrap-ping-bottom]=\"pingBottom\"\n #navWarp\n >\n <div\n class=\"ant-tabs-nav-list\"\n #navList\n nzTabScrollList\n (offsetChange)=\"onOffsetChange($event)\"\n (tabScroll)=\"tabScroll.emit($event)\"\n role=\"tablist\"\n >\n <ng-content></ng-content>\n <button\n role=\"tab\"\n [attr.tabindex]=\"-1\"\n *ngIf=\"showAddButton\"\n nz-tab-add-button\n [addIcon]=\"addIcon\"\n (click)=\"addClicked.emit()\"\n ></button>\n <div nz-tabs-ink-bar [hidden]=\"hideBar\" [position]=\"position\" [animated]=\"inkBarAnimated\"></div>\n </div>\n </div>\n <nz-tab-nav-operation\n (addClicked)=\"addClicked.emit()\"\n (selected)=\"onSelectedFromMenu($event)\"\n [addIcon]=\"addIcon\"\n [addable]=\"addable\"\n [items]=\"hiddenItems\"\n ></nz-tab-nav-operation>\n <div class=\"ant-tabs-extra-content\" *ngIf=\"extraTemplate\">\n <ng-template [ngTemplateOutlet]=\"extraTemplate\"></ng-template>\n </div>\n `,\n host: {\n class: 'ant-tabs-nav',\n '(keydown)': 'handleKeydown($event)'\n },\n imports: [NzTabScrollListDirective, NgIf, NzTabAddButtonComponent, NzTabsInkBarDirective, NzTabNavOperationComponent, NgTemplateOutlet],\n standalone: true\n }]\n }], () => [{\n type: i0.ChangeDetectorRef\n }, {\n type: i0.NgZone\n }, {\n type: i1$1.ViewportRuler\n }, {\n type: i2$1.NzResizeObserver\n }, {\n type: i3$1.Directionality,\n decorators: [{\n type: Optional\n }]\n }], {\n indexFocused: [{\n type: Output\n }],\n selectFocusedIndex: [{\n type: Output\n }],\n addClicked: [{\n type: Output\n }],\n tabScroll: [{\n type: Output\n }],\n position: [{\n type: Input\n }],\n addable: [{\n type: Input\n }],\n hideBar: [{\n type: Input\n }],\n addIcon: [{\n type: Input\n }],\n inkBarAnimated: [{\n type: Input\n }],\n extraTemplate: [{\n type: Input\n }],\n selectedIndex: [{\n type: Input\n }],\n navWarpRef: [{\n type: ViewChild,\n args: ['navWarp', {\n static: true\n }]\n }],\n navListRef: [{\n type: ViewChild,\n args: ['navList', {\n static: true\n }]\n }],\n operationRef: [{\n type: ViewChild,\n args: [NzTabNavOperationComponent, {\n static: true\n }]\n }],\n addBtnRef: [{\n type: ViewChild,\n args: [NzTabAddButtonComponent, {\n static: false\n }]\n }],\n inkBar: [{\n type: ViewChild,\n args: [NzTabsInkBarDirective, {\n static: true\n }]\n }],\n items: [{\n type: ContentChildren,\n args: [NzTabNavItemDirective, {\n descendants: true\n }]\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 NzTabBodyComponent {\n constructor() {\n this.content = null;\n this.active = false;\n this.tabPaneAnimated = true;\n this.forceRender = false;\n }\n static {\n this.ɵfac = function NzTabBodyComponent_Factory(t) {\n return new (t || NzTabBodyComponent)();\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzTabBodyComponent,\n selectors: [[\"\", \"nz-tab-body\", \"\"]],\n hostAttrs: [1, \"ant-tabs-tabpane\"],\n hostVars: 12,\n hostBindings: function NzTabBodyComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"tabindex\", ctx.active ? 0 : -1)(\"aria-hidden\", !ctx.active);\n i0.ɵɵstyleProp(\"visibility\", ctx.tabPaneAnimated ? ctx.active ? null : \"hidden\" : null)(\"height\", ctx.tabPaneAnimated ? ctx.active ? null : 0 : null)(\"overflow-y\", ctx.tabPaneAnimated ? ctx.active ? null : \"none\" : null)(\"display\", !ctx.tabPaneAnimated ? ctx.active ? null : \"none\" : null);\n i0.ɵɵclassProp(\"ant-tabs-tabpane-active\", ctx.active);\n }\n },\n inputs: {\n content: \"content\",\n active: \"active\",\n tabPaneAnimated: \"tabPaneAnimated\",\n forceRender: \"forceRender\"\n },\n exportAs: [\"nzTabBody\"],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n attrs: _c5,\n decls: 1,\n vars: 1,\n consts: [[4, \"ngIf\"], [3, \"ngTemplateOutlet\"]],\n template: function NzTabBodyComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, NzTabBodyComponent_ng_container_0_Template, 2, 1, \"ng-container\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.active || ctx.forceRender);\n }\n },\n dependencies: [NgIf, NgTemplateOutlet],\n encapsulation: 2,\n changeDetection: 0\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabBodyComponent, [{\n type: Component,\n args: [{\n selector: '[nz-tab-body]',\n exportAs: 'nzTabBody',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <ng-container *ngIf=\"active || forceRender\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n `,\n host: {\n class: 'ant-tabs-tabpane',\n '[class.ant-tabs-tabpane-active]': 'active',\n '[attr.tabindex]': 'active ? 0 : -1',\n '[attr.aria-hidden]': '!active',\n '[style.visibility]': 'tabPaneAnimated ? active ? null : \"hidden\" : null',\n '[style.height]': 'tabPaneAnimated ? active ? null : 0 : null',\n '[style.overflow-y]': 'tabPaneAnimated ? active ? null : \"none\" : null',\n '[style.display]': '!tabPaneAnimated ? active ? null : \"none\" : null'\n },\n imports: [NgIf, NgTemplateOutlet],\n standalone: true\n }]\n }], null, {\n content: [{\n type: Input\n }],\n active: [{\n type: Input\n }],\n tabPaneAnimated: [{\n type: Input\n }],\n forceRender: [{\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 NzTabCloseButtonComponent {\n constructor() {\n this.closeIcon = 'close';\n }\n static {\n this.ɵfac = function NzTabCloseButtonComponent_Factory(t) {\n return new (t || NzTabCloseButtonComponent)();\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzTabCloseButtonComponent,\n selectors: [[\"nz-tab-close-button\"], [\"button\", \"nz-tab-close-button\", \"\"]],\n hostAttrs: [\"aria-label\", \"Close tab\", \"type\", \"button\", 1, \"ant-tabs-tab-remove\"],\n inputs: {\n closeIcon: \"closeIcon\"\n },\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n decls: 1,\n vars: 1,\n consts: [[4, \"nzStringTemplateOutlet\"], [\"nz-icon\", \"\", \"nzTheme\", \"outline\", 3, \"nzType\"]],\n template: function NzTabCloseButtonComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, NzTabCloseButtonComponent_ng_container_0_Template, 2, 1, \"ng-container\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx.closeIcon);\n }\n },\n dependencies: [NzOutletModule, i1.NzStringTemplateOutletDirective, NzIconModule, i2.NzIconDirective],\n encapsulation: 2\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabCloseButtonComponent, [{\n type: Component,\n args: [{\n selector: 'nz-tab-close-button, button[nz-tab-close-button]',\n template: `\n <ng-container *nzStringTemplateOutlet=\"closeIcon; let icon\">\n <span nz-icon [nzType]=\"icon\" nzTheme=\"outline\"></span>\n </ng-container>\n `,\n host: {\n class: 'ant-tabs-tab-remove',\n 'aria-label': 'Close tab',\n type: 'button'\n },\n imports: [NzOutletModule, NzIconModule],\n standalone: true\n }]\n }], () => [], {\n closeIcon: [{\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 */\n/**\n * Fix https://github.com/angular/angular/issues/8563\n */\nclass NzTabLinkTemplateDirective {\n constructor(templateRef) {\n this.templateRef = templateRef;\n }\n static {\n this.ɵfac = function NzTabLinkTemplateDirective_Factory(t) {\n return new (t || NzTabLinkTemplateDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef, 1));\n };\n }\n static {\n this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: NzTabLinkTemplateDirective,\n selectors: [[\"ng-template\", \"nzTabLink\", \"\"]],\n exportAs: [\"nzTabLinkTemplate\"],\n standalone: true\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabLinkTemplateDirective, [{\n type: Directive,\n args: [{\n selector: 'ng-template[nzTabLink]',\n exportAs: 'nzTabLinkTemplate',\n standalone: true\n }]\n }], () => [{\n type: i0.TemplateRef,\n decorators: [{\n type: Host\n }]\n }], null);\n})();\n/**\n * This component is for catching `routerLink` directive.\n */\nclass NzTabLinkDirective {\n constructor(elementRef, routerLink) {\n this.elementRef = elementRef;\n this.routerLink = routerLink;\n }\n static {\n this.ɵfac = function NzTabLinkDirective_Factory(t) {\n return new (t || NzTabLinkDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$2.RouterLink, 10));\n };\n }\n static {\n this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: NzTabLinkDirective,\n selectors: [[\"a\", \"nz-tab-link\", \"\"]],\n exportAs: [\"nzTabLink\"],\n standalone: true\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabLinkDirective, [{\n type: Directive,\n args: [{\n selector: 'a[nz-tab-link]',\n exportAs: 'nzTabLink',\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i1$2.RouterLink,\n decorators: [{\n type: Optional\n }, {\n type: Self\n }]\n }], 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/** Decorates the `ng-template` tags and reads out the template from it. */\nclass NzTabDirective {\n static {\n this.ɵfac = function NzTabDirective_Factory(t) {\n return new (t || NzTabDirective)();\n };\n }\n static {\n this.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: NzTabDirective,\n selectors: [[\"\", \"nz-tab\", \"\"]],\n exportAs: [\"nzTab\"],\n standalone: true\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabDirective, [{\n type: Directive,\n args: [{\n selector: '[nz-tab]',\n exportAs: 'nzTab',\n standalone: true\n }]\n }], null, null);\n})();\n\n/**\n * Used to provide a tab set to a tab without causing a circular dependency.\n */\nconst NZ_TAB_SET = new InjectionToken('NZ_TAB_SET');\nclass NzTabComponent {\n get content() {\n return this.template || this.contentTemplate;\n }\n get label() {\n return this.nzTitle || this.nzTabLinkTemplateDirective?.templateRef;\n }\n constructor(closestTabSet) {\n this.closestTabSet = closestTabSet;\n this.nzTitle = '';\n this.nzClosable = false;\n this.nzCloseIcon = 'close';\n this.nzDisabled = false;\n this.nzForceRender = false;\n this.nzSelect = new EventEmitter();\n this.nzDeselect = new EventEmitter();\n this.nzClick = new EventEmitter();\n this.nzContextmenu = new EventEmitter();\n this.template = null;\n this.isActive = false;\n this.position = null;\n this.origin = null;\n this.stateChanges = new Subject();\n }\n ngOnChanges(changes) {\n const {\n nzTitle,\n nzDisabled,\n nzForceRender\n } = changes;\n if (nzTitle || nzDisabled || nzForceRender) {\n this.stateChanges.next();\n }\n }\n ngOnDestroy() {\n this.stateChanges.complete();\n }\n static {\n this.ɵfac = function NzTabComponent_Factory(t) {\n return new (t || NzTabComponent)(i0.ɵɵdirectiveInject(NZ_TAB_SET));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzTabComponent,\n selectors: [[\"nz-tab\"]],\n contentQueries: function NzTabComponent_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, NzTabLinkTemplateDirective, 5);\n i0.ɵɵcontentQuery(dirIndex, NzTabDirective, 5, TemplateRef);\n i0.ɵɵcontentQuery(dirIndex, NzTabLinkDirective, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nzTabLinkTemplateDirective = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.linkDirective = _t.first);\n }\n },\n viewQuery: function NzTabComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c6, 7);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);\n }\n },\n inputs: {\n nzTitle: \"nzTitle\",\n nzClosable: \"nzClosable\",\n nzCloseIcon: \"nzCloseIcon\",\n nzDisabled: \"nzDisabled\",\n nzForceRender: \"nzForceRender\"\n },\n outputs: {\n nzSelect: \"nzSelect\",\n nzDeselect: \"nzDeselect\",\n nzClick: \"nzClick\",\n nzContextmenu: \"nzContextmenu\"\n },\n exportAs: [\"nzTab\"],\n standalone: true,\n features: [i0.ɵɵNgOnChangesFeature, i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c8,\n decls: 4,\n vars: 0,\n consts: [[\"tabLinkTemplate\", \"\"], [\"contentTemplate\", \"\"]],\n template: function NzTabComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c7);\n i0.ɵɵtemplate(0, NzTabComponent_ng_template_0_Template, 1, 0, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, NzTabComponent_ng_template_2_Template, 1, 0, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n }\n },\n encapsulation: 2,\n changeDetection: 0\n });\n }\n}\n__decorate([InputBoolean()], NzTabComponent.prototype, \"nzClosable\", void 0);\n__decorate([InputBoolean()], NzTabComponent.prototype, \"nzDisabled\", void 0);\n__decorate([InputBoolean()], NzTabComponent.prototype, \"nzForceRender\", void 0);\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabComponent, [{\n type: Component,\n args: [{\n selector: 'nz-tab',\n exportAs: 'nzTab',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <ng-template #tabLinkTemplate>\n <ng-content select=\"[nz-tab-link]\"></ng-content>\n </ng-template>\n <ng-template #contentTemplate><ng-content></ng-content></ng-template>\n `,\n standalone: true\n }]\n }], () => [{\n type: undefined,\n decorators: [{\n type: Inject,\n args: [NZ_TAB_SET]\n }]\n }], {\n nzTitle: [{\n type: Input\n }],\n nzClosable: [{\n type: Input\n }],\n nzCloseIcon: [{\n type: Input\n }],\n nzDisabled: [{\n type: Input\n }],\n nzForceRender: [{\n type: Input\n }],\n nzSelect: [{\n type: Output\n }],\n nzDeselect: [{\n type: Output\n }],\n nzClick: [{\n type: Output\n }],\n nzContextmenu: [{\n type: Output\n }],\n nzTabLinkTemplateDirective: [{\n type: ContentChild,\n args: [NzTabLinkTemplateDirective, {\n static: false\n }]\n }],\n template: [{\n type: ContentChild,\n args: [NzTabDirective, {\n static: false,\n read: TemplateRef\n }]\n }],\n linkDirective: [{\n type: ContentChild,\n args: [NzTabLinkDirective, {\n static: false\n }]\n }],\n contentTemplate: [{\n type: ViewChild,\n args: ['contentTemplate', {\n static: true\n }]\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 NzTabChangeEvent {}\nconst NZ_CONFIG_MODULE_NAME = 'tabs';\nlet nextId = 0;\nclass NzTabSetComponent {\n get nzSelectedIndex() {\n return this.selectedIndex;\n }\n set nzSelectedIndex(value) {\n this.indexToSelect = coerceNumberProperty(value, null);\n }\n get position() {\n return ['top', 'bottom'].indexOf(this.nzTabPosition) === -1 ? 'vertical' : 'horizontal';\n }\n get addable() {\n return this.nzType === 'editable-card' && !this.nzHideAdd;\n }\n get closable() {\n return this.nzType === 'editable-card';\n }\n get line() {\n return this.nzType === 'line';\n }\n get inkBarAnimated() {\n return this.line && (typeof this.nzAnimated === 'boolean' ? this.nzAnimated : this.nzAnimated.inkBar);\n }\n get tabPaneAnimated() {\n return this.position === 'horizontal' && this.line && (typeof this.nzAnimated === 'boolean' ? this.nzAnimated : this.nzAnimated.tabPane);\n }\n constructor(nzConfigService, ngZone, cdr, directionality, router) {\n this.nzConfigService = nzConfigService;\n this.ngZone = ngZone;\n this.cdr = cdr;\n this.directionality = directionality;\n this.router = router;\n this._nzModuleName = NZ_CONFIG_MODULE_NAME;\n this.nzTabPosition = 'top';\n this.nzCanDeactivate = null;\n this.nzAddIcon = 'plus';\n this.nzTabBarStyle = null;\n this.nzType = 'line';\n this.nzSize = 'default';\n this.nzAnimated = true;\n this.nzTabBarGutter = undefined;\n this.nzHideAdd = false;\n this.nzCentered = false;\n this.nzHideAll = false;\n this.nzLinkRouter = false;\n this.nzLinkExact = true;\n this.nzSelectChange = new EventEmitter(true);\n this.nzSelectedIndexChange = new EventEmitter();\n this.nzTabListScroll = new EventEmitter();\n this.nzClose = new EventEmitter();\n this.nzAdd = new EventEmitter();\n // Pick up only direct descendants under ivy rendering engine\n // We filter out only the tabs that belong to this tab set in `tabs`.\n this.allTabs = new QueryList();\n // All the direct tabs for this tab set\n this.tabs = new QueryList();\n this.dir = 'ltr';\n this.destroy$ = new Subject();\n this.indexToSelect = 0;\n this.selectedIndex = null;\n this.tabLabelSubscription = Subscription.EMPTY;\n this.tabsSubscription = Subscription.EMPTY;\n this.canDeactivateSubscription = Subscription.EMPTY;\n this.tabSetId = nextId++;\n }\n ngOnInit() {\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n this.cdr.detectChanges();\n });\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n this.tabs.destroy();\n this.tabLabelSubscription.unsubscribe();\n this.tabsSubscription.unsubscribe();\n this.canDeactivateSubscription.unsubscribe();\n }\n ngAfterContentInit() {\n this.ngZone.runOutsideAngular(() => {\n Promise.resolve().then(() => this.setUpRouter());\n });\n this.subscribeToTabLabels();\n this.subscribeToAllTabChanges();\n // Subscribe to changes in the amount of tabs, in order to be\n // able to re-render the content as new tabs are added or removed.\n this.tabsSubscription = this.tabs.changes.subscribe(() => {\n const indexToSelect = this.clampTabIndex(this.indexToSelect);\n // Maintain the previously-selected tab if a new tab is added or removed and there is no\n // explicit change that selects a different tab.\n if (indexToSelect === this.selectedIndex) {\n const tabs = this.tabs.toArray();\n for (let i = 0; i < tabs.length; i++) {\n if (tabs[i].isActive) {\n // Assign both to the `indexToSelect` and `selectedIndex` so we don't fire a changed\n // event, otherwise the consumer may end up in an infinite loop in some edge cases like\n // adding a tab within the `nzSelectedIndexChange` event.\n this.indexToSelect = this.selectedIndex = i;\n break;\n }\n }\n }\n this.subscribeToTabLabels();\n this.cdr.markForCheck();\n });\n }\n ngAfterContentChecked() {\n // Don't clamp the `indexToSelect` immediately in the setter because it can happen that\n // the amount of tabs changes before the actual change detection runs.\n const indexToSelect = this.indexToSelect = this.clampTabIndex(this.indexToSelect);\n // If there is a change in selected index, emit a change event. Should not trigger if\n // the selected index has not yet been initialized.\n if (this.selectedIndex !== indexToSelect) {\n const isFirstRun = this.selectedIndex == null;\n if (!isFirstRun) {\n this.nzSelectChange.emit(this.createChangeEvent(indexToSelect));\n }\n // Changing these values after change detection has run\n // since the checked content may contain references to them.\n Promise.resolve().then(() => {\n this.tabs.forEach((tab, index) => tab.isActive = index === indexToSelect);\n if (!isFirstRun) {\n this.nzSelectedIndexChange.emit(indexToSelect);\n }\n });\n }\n // Setup the position for each tab and optionally setup an origin on the next selected tab.\n this.tabs.forEach((tab, index) => {\n tab.position = index - indexToSelect;\n // If there is already a selected tab, then set up an origin for the next selected tab\n // if it doesn't have one already.\n if (this.selectedIndex != null && tab.position === 0 && !tab.origin) {\n tab.origin = indexToSelect - this.selectedIndex;\n }\n });\n if (this.selectedIndex !== indexToSelect) {\n this.selectedIndex = indexToSelect;\n this.cdr.markForCheck();\n }\n }\n onClose(index, e) {\n e.preventDefault();\n e.stopPropagation();\n this.nzClose.emit({\n index\n });\n }\n onAdd() {\n this.nzAdd.emit();\n }\n clampTabIndex(index) {\n return Math.min(this.tabs.length - 1, Math.max(index || 0, 0));\n }\n createChangeEvent(index) {\n const event = new NzTabChangeEvent();\n event.index = index;\n if (this.tabs && this.tabs.length) {\n event.tab = this.tabs.toArray()[index];\n this.tabs.forEach((tab, i) => {\n if (i !== index) {\n tab.nzDeselect.emit();\n }\n });\n event.tab.nzSelect.emit();\n }\n return event;\n }\n subscribeToTabLabels() {\n if (this.tabLabelSubscription) {\n this.tabLabelSubscription.unsubscribe();\n }\n this.tabLabelSubscription = merge(...this.tabs.map(tab => tab.stateChanges)).subscribe(() => this.cdr.markForCheck());\n }\n subscribeToAllTabChanges() {\n this.allTabs.changes.pipe(startWith(this.allTabs)).subscribe(tabs => {\n this.tabs.reset(tabs.filter(tab => tab.closestTabSet === this));\n this.tabs.notifyOnChanges();\n });\n }\n canDeactivateFun(pre, next) {\n if (typeof this.nzCanDeactivate === 'function') {\n const observable = wrapIntoObservable(this.nzCanDeactivate(pre, next));\n return observable.pipe(first(), takeUntil(this.destroy$));\n } else {\n return of(true);\n }\n }\n clickNavItem(tab, index, e) {\n if (!tab.nzDisabled) {\n // ignore nzCanDeactivate\n tab.nzClick.emit();\n if (!this.isRouterLinkClickEvent(index, e)) {\n this.setSelectedIndex(index);\n }\n }\n }\n isRouterLinkClickEvent(index, event) {\n const target = event.target;\n if (this.nzLinkRouter) {\n return !!this.tabs.toArray()[index]?.linkDirective?.elementRef.nativeElement.contains(target);\n } else {\n return false;\n }\n }\n contextmenuNavItem(tab, e) {\n if (!tab.nzDisabled) {\n // ignore nzCanDeactivate\n tab.nzContextmenu.emit(e);\n }\n }\n setSelectedIndex(index) {\n this.canDeactivateSubscription.unsubscribe();\n this.canDeactivateSubscription = this.canDeactivateFun(this.selectedIndex, index).subscribe(can => {\n if (can) {\n this.nzSelectedIndex = index;\n this.tabNavBarRef.focusIndex = index;\n this.cdr.markForCheck();\n }\n });\n }\n getTabIndex(tab, index) {\n if (tab.nzDisabled) {\n return null;\n }\n return this.selectedIndex === index ? 0 : -1;\n }\n getTabContentId(i) {\n return `nz-tabs-${this.tabSetId}-tab-${i}`;\n }\n setUpRouter() {\n if (this.nzLinkRouter) {\n if (!this.router) {\n throw new Error(`${PREFIX} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);\n }\n this.router.events.pipe(takeUntil(this.destroy$), filter(e => e instanceof NavigationEnd), startWith(true), delay(0)).subscribe(() => {\n this.updateRouterActive();\n this.cdr.markForCheck();\n });\n }\n }\n updateRouterActive() {\n if (this.router.navigated) {\n const index = this.findShouldActiveTabIndex();\n if (index !== this.selectedIndex) {\n this.setSelectedIndex(index);\n }\n this.nzHideAll = index === -1;\n }\n }\n findShouldActiveTabIndex() {\n const tabs = this.tabs.toArray();\n const isActive = this.isLinkActive(this.router);\n return tabs.findIndex(tab => {\n const c = tab.linkDirective;\n return c ? isActive(c.routerLink) : false;\n });\n }\n isLinkActive(router) {\n return link => link ? router.isActive(link.urlTree || '', {\n paths: this.nzLinkExact ? 'exact' : 'subset',\n queryParams: this.nzLinkExact ? 'exact' : 'subset',\n fragment: 'ignored',\n matrixParams: 'ignored'\n }) : false;\n }\n getTabContentMarginValue() {\n return -(this.nzSelectedIndex || 0) * 100;\n }\n getTabContentMarginLeft() {\n if (this.tabPaneAnimated) {\n if (this.dir !== 'rtl') {\n return `${this.getTabContentMarginValue()}%`;\n }\n }\n return '';\n }\n getTabContentMarginRight() {\n if (this.tabPaneAnimated) {\n if (this.dir === 'rtl') {\n return `${this.getTabContentMarginValue()}%`;\n }\n }\n return '';\n }\n static {\n this.ɵfac = function NzTabSetComponent_Factory(t) {\n return new (t || NzTabSetComponent)(i0.ɵɵdirectiveInject(i1$3.NzConfigService), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i3$1.Directionality, 8), i0.ɵɵdirectiveInject(i1$2.Router, 8));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzTabSetComponent,\n selectors: [[\"nz-tabset\"]],\n contentQueries: function NzTabSetComponent_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, NzTabComponent, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.allTabs = _t);\n }\n },\n viewQuery: function NzTabSetComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(NzTabNavBarComponent, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabNavBarRef = _t.first);\n }\n },\n hostAttrs: [1, \"ant-tabs\"],\n hostVars: 24,\n hostBindings: function NzTabSetComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-tabs-card\", ctx.nzType === \"card\" || ctx.nzType === \"editable-card\")(\"ant-tabs-editable\", ctx.nzType === \"editable-card\")(\"ant-tabs-editable-card\", ctx.nzType === \"editable-card\")(\"ant-tabs-centered\", ctx.nzCentered)(\"ant-tabs-rtl\", ctx.dir === \"rtl\")(\"ant-tabs-top\", ctx.nzTabPosition === \"top\")(\"ant-tabs-bottom\", ctx.nzTabPosition === \"bottom\")(\"ant-tabs-left\", ctx.nzTabPosition === \"left\")(\"ant-tabs-right\", ctx.nzTabPosition === \"right\")(\"ant-tabs-default\", ctx.nzSize === \"default\")(\"ant-tabs-small\", ctx.nzSize === \"small\")(\"ant-tabs-large\", ctx.nzSize === \"large\");\n }\n },\n inputs: {\n nzSelectedIndex: \"nzSelectedIndex\",\n nzTabPosition: \"nzTabPosition\",\n nzTabBarExtraContent: \"nzTabBarExtraContent\",\n nzCanDeactivate: \"nzCanDeactivate\",\n nzAddIcon: \"nzAddIcon\",\n nzTabBarStyle: \"nzTabBarStyle\",\n nzType: \"nzType\",\n nzSize: \"nzSize\",\n nzAnimated: \"nzAnimated\",\n nzTabBarGutter: \"nzTabBarGutter\",\n nzHideAdd: \"nzHideAdd\",\n nzCentered: \"nzCentered\",\n nzHideAll: \"nzHideAll\",\n nzLinkRouter: \"nzLinkRouter\",\n nzLinkExact: \"nzLinkExact\"\n },\n outputs: {\n nzSelectChange: \"nzSelectChange\",\n nzSelectedIndexChange: \"nzSelectedIndexChange\",\n nzTabListScroll: \"nzTabListScroll\",\n nzClose: \"nzClose\",\n nzAdd: \"nzAdd\"\n },\n exportAs: [\"nzTabset\"],\n standalone: true,\n features: [i0.ɵɵProvidersFeature([{\n provide: NZ_TAB_SET,\n useExisting: NzTabSetComponent\n }]), i0.ɵɵStandaloneFeature],\n decls: 4,\n vars: 16,\n consts: [[3, \"ngStyle\", \"selectedIndex\", \"inkBarAnimated\", \"addable\", \"addIcon\", \"hideBar\", \"position\", \"extraTemplate\", \"tabScroll\", \"selectFocusedIndex\", \"addClicked\", 4, \"ngIf\"], [1, \"ant-tabs-content-holder\"], [1, \"ant-tabs-content\"], [\"role\", \"tabpanel\", \"nz-tab-body\", \"\", 3, \"id\", \"active\", \"content\", \"forceRender\", \"tabPaneAnimated\", 4, \"ngFor\", \"ngForOf\"], [3, \"ngStyle\", \"selectedIndex\", \"inkBarAnimated\", \"addable\", \"addIcon\", \"hideBar\", \"position\", \"extraTemplate\", \"tabScroll\", \"selectFocusedIndex\", \"addClicked\"], [\"class\", \"ant-tabs-tab\", 3, \"margin-right\", \"margin-bottom\", \"ant-tabs-tab-active\", \"ant-tabs-tab-disabled\", \"click\", \"contextmenu\", 4, \"ngFor\", \"ngForOf\"], [1, \"ant-tabs-tab\", 3, \"click\", \"contextmenu\"], [\"role\", \"tab\", \"nzTabNavItem\", \"\", \"cdkMonitorElementFocus\", \"\", 1, \"ant-tabs-tab-btn\", 3, \"id\", \"disabled\", \"tab\", \"active\"], [4, \"nzStringTemplateOutlet\", \"nzStringTemplateOutletContext\"], [\"nz-tab-close-button\", \"\", 3, \"closeIcon\", \"click\", 4, \"ngIf\"], [\"nz-tab-close-button\", \"\", 3, \"closeIcon\", \"click\"], [\"role\", \"tabpanel\", \"nz-tab-body\", \"\", 3, \"id\", \"active\", \"content\", \"forceRender\", \"tabPaneAnimated\"]],\n template: function NzTabSetComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, NzTabSetComponent_nz_tabs_nav_0_Template, 2, 9, \"nz-tabs-nav\", 0);\n i0.ɵɵelementStart(1, \"div\", 1)(2, \"div\", 2);\n i0.ɵɵtemplate(3, NzTabSetComponent_div_3_Template, 1, 6, \"div\", 3);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.tabs.length || ctx.addable);\n i0.ɵɵadvance(2);\n i0.ɵɵstyleProp(\"margin-left\", ctx.getTabContentMarginLeft())(\"margin-right\", ctx.getTabContentMarginRight());\n i0.ɵɵclassProp(\"ant-tabs-content-top\", ctx.nzTabPosition === \"top\")(\"ant-tabs-content-bottom\", ctx.nzTabPosition === \"bottom\")(\"ant-tabs-content-left\", ctx.nzTabPosition === \"left\")(\"ant-tabs-content-right\", ctx.nzTabPosition === \"right\")(\"ant-tabs-content-animated\", ctx.tabPaneAnimated);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngForOf\", ctx.tabs);\n }\n },\n dependencies: [NzTabNavBarComponent, NgIf, NgStyle, NgForOf, NzTabNavItemDirective, A11yModule, i4.CdkMonitorFocus, NzOutletModule, i1.NzStringTemplateOutletDirective, NzTabCloseButtonComponent, NzTabBodyComponent],\n encapsulation: 2\n });\n }\n}\n__decorate([WithConfig()], NzTabSetComponent.prototype, \"nzType\", void 0);\n__decorate([WithConfig()], NzTabSetComponent.prototype, \"nzSize\", void 0);\n__decorate([WithConfig()], NzTabSetComponent.prototype, \"nzAnimated\", void 0);\n__decorate([WithConfig()], NzTabSetComponent.prototype, \"nzTabBarGutter\", void 0);\n__decorate([InputBoolean()], NzTabSetComponent.prototype, \"nzHideAdd\", void 0);\n__decorate([InputBoolean()], NzTabSetComponent.prototype, \"nzCentered\", void 0);\n__decorate([InputBoolean()], NzTabSetComponent.prototype, \"nzHideAll\", void 0);\n__decorate([InputBoolean()], NzTabSetComponent.prototype, \"nzLinkRouter\", void 0);\n__decorate([InputBoolean()], NzTabSetComponent.prototype, \"nzLinkExact\", void 0);\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabSetComponent, [{\n type: Component,\n args: [{\n selector: 'nz-tabset',\n exportAs: 'nzTabset',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n providers: [{\n provide: NZ_TAB_SET,\n useExisting: NzTabSetComponent\n }],\n template: `\n <nz-tabs-nav\n *ngIf=\"tabs.length || addable\"\n [ngStyle]=\"nzTabBarStyle\"\n [selectedIndex]=\"nzSelectedIndex || 0\"\n [inkBarAnimated]=\"inkBarAnimated\"\n [addable]=\"addable\"\n [addIcon]=\"nzAddIcon\"\n [hideBar]=\"nzHideAll\"\n [position]=\"position\"\n [extraTemplate]=\"nzTabBarExtraContent\"\n (tabScroll)=\"nzTabListScroll.emit($event)\"\n (selectFocusedIndex)=\"setSelectedIndex($event)\"\n (addClicked)=\"onAdd()\"\n >\n <div\n class=\"ant-tabs-tab\"\n [style.margin-right.px]=\"position === 'horizontal' ? nzTabBarGutter : null\"\n [style.margin-bottom.px]=\"position === 'vertical' ? nzTabBarGutter : null\"\n [class.ant-tabs-tab-active]=\"nzSelectedIndex === i\"\n [class.ant-tabs-tab-disabled]=\"tab.nzDisabled\"\n (click)=\"clickNavItem(tab, i, $event)\"\n (contextmenu)=\"contextmenuNavItem(tab, $event)\"\n *ngFor=\"let tab of tabs; let i = index\"\n >\n <button\n role=\"tab\"\n [id]=\"getTabContentId(i)\"\n [attr.tabIndex]=\"getTabIndex(tab, i)\"\n [attr.aria-disabled]=\"tab.nzDisabled\"\n [attr.aria-selected]=\"nzSelectedIndex === i && !nzHideAll\"\n [attr.aria-controls]=\"getTabContentId(i)\"\n [disabled]=\"tab.nzDisabled\"\n [tab]=\"tab\"\n [active]=\"nzSelectedIndex === i\"\n class=\"ant-tabs-tab-btn\"\n nzTabNavItem\n cdkMonitorElementFocus\n >\n <ng-container *nzStringTemplateOutlet=\"tab.label; context: { visible: true }\">{{ tab.label }}</ng-container>\n <button\n nz-tab-close-button\n *ngIf=\"tab.nzClosable && closable && !tab.nzDisabled\"\n [closeIcon]=\"tab.nzCloseIcon\"\n (click)=\"onClose(i, $event)\"\n ></button>\n </button>\n </div>\n </nz-tabs-nav>\n <div class=\"ant-tabs-content-holder\">\n <div\n class=\"ant-tabs-content\"\n [class.ant-tabs-content-top]=\"nzTabPosition === 'top'\"\n [class.ant-tabs-content-bottom]=\"nzTabPosition === 'bottom'\"\n [class.ant-tabs-content-left]=\"nzTabPosition === 'left'\"\n [class.ant-tabs-content-right]=\"nzTabPosition === 'right'\"\n [class.ant-tabs-content-animated]=\"tabPaneAnimated\"\n [style.margin-left]=\"getTabContentMarginLeft()\"\n [style.margin-right]=\"getTabContentMarginRight()\"\n >\n <div\n role=\"tabpanel\"\n [id]=\"getTabContentId(i)\"\n [attr.aria-labelledby]=\"getTabContentId(i)\"\n nz-tab-body\n *ngFor=\"let tab of tabs; let i = index\"\n [active]=\"nzSelectedIndex === i && !nzHideAll\"\n [content]=\"tab.content\"\n [forceRender]=\"tab.nzForceRender\"\n [tabPaneAnimated]=\"tabPaneAnimated\"\n ></div>\n </div>\n </div>\n `,\n host: {\n class: 'ant-tabs',\n '[class.ant-tabs-card]': `nzType === 'card' || nzType === 'editable-card'`,\n '[class.ant-tabs-editable]': `nzType === 'editable-card'`,\n '[class.ant-tabs-editable-card]': `nzType === 'editable-card'`,\n '[class.ant-tabs-centered]': `nzCentered`,\n '[class.ant-tabs-rtl]': `dir === 'rtl'`,\n '[class.ant-tabs-top]': `nzTabPosition === 'top'`,\n '[class.ant-tabs-bottom]': `nzTabPosition === 'bottom'`,\n '[class.ant-tabs-left]': `nzTabPosition === 'left'`,\n '[class.ant-tabs-right]': `nzTabPosition === 'right'`,\n '[class.ant-tabs-default]': `nzSize === 'default'`,\n '[class.ant-tabs-small]': `nzSize === 'small'`,\n '[class.ant-tabs-large]': `nzSize === 'large'`\n },\n imports: [NzTabNavBarComponent, NgIf, NgStyle, NgForOf, NzTabNavItemDirective, A11yModule, NzOutletModule, NzTabCloseButtonComponent, NzTabBodyComponent],\n standalone: true\n }]\n }], () => [{\n type: i1$3.NzConfigService\n }, {\n type: i0.NgZone\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: i3$1.Directionality,\n decorators: [{\n type: Optional\n }]\n }, {\n type: i1$2.Router,\n decorators: [{\n type: Optional\n }]\n }], {\n nzSelectedIndex: [{\n type: Input\n }],\n nzTabPosition: [{\n type: Input\n }],\n nzTabBarExtraContent: [{\n type: Input\n }],\n nzCanDeactivate: [{\n type: Input\n }],\n nzAddIcon: [{\n type: Input\n }],\n nzTabBarStyle: [{\n type: Input\n }],\n nzType: [{\n type: Input\n }],\n nzSize: [{\n type: Input\n }],\n nzAnimated: [{\n type: Input\n }],\n nzTabBarGutter: [{\n type: Input\n }],\n nzHideAdd: [{\n type: Input\n }],\n nzCentered: [{\n type: Input\n }],\n nzHideAll: [{\n type: Input\n }],\n nzLinkRouter: [{\n type: Input\n }],\n nzLinkExact: [{\n type: Input\n }],\n nzSelectChange: [{\n type: Output\n }],\n nzSelectedIndexChange: [{\n type: Output\n }],\n nzTabListScroll: [{\n type: Output\n }],\n nzClose: [{\n type: Output\n }],\n nzAdd: [{\n type: Output\n }],\n allTabs: [{\n type: ContentChildren,\n args: [NzTabComponent, {\n descendants: true\n }]\n }],\n tabNavBarRef: [{\n type: ViewChild,\n args: [NzTabNavBarComponent, {\n static: false\n }]\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 */\nconst DIRECTIVES = [NzTabSetComponent, NzTabComponent, NzTabNavBarComponent, NzTabNavItemDirective, NzTabsInkBarDirective, NzTabScrollListDirective, NzTabNavOperationComponent, NzTabAddButtonComponent, NzTabCloseButtonComponent, NzTabDirective, NzTabBodyComponent, NzTabLinkDirective, NzTabLinkTemplateDirective];\nclass NzTabsModule {\n static {\n this.ɵfac = function NzTabsModule_Factory(t) {\n return new (t || NzTabsModule)();\n };\n }\n static {\n this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NzTabsModule,\n imports: [NzTabSetComponent, NzTabComponent, NzTabNavBarComponent, NzTabNavItemDirective, NzTabsInkBarDirective, NzTabScrollListDirective, NzTabNavOperationComponent, NzTabAddButtonComponent, NzTabCloseButtonComponent, NzTabDirective, NzTabBodyComponent, NzTabLinkDirective, NzTabLinkTemplateDirective],\n exports: [NzTabSetComponent, NzTabComponent, NzTabNavBarComponent, NzTabNavItemDirective, NzTabsInkBarDirective, NzTabScrollListDirective, NzTabNavOperationComponent, NzTabAddButtonComponent, NzTabCloseButtonComponent, NzTabDirective, NzTabBodyComponent, NzTabLinkDirective, NzTabLinkTemplateDirective]\n });\n }\n static {\n this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [NzTabSetComponent, NzTabNavBarComponent, NzTabNavOperationComponent, NzTabAddButtonComponent, NzTabCloseButtonComponent]\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTabsModule, [{\n type: NgModule,\n args: [{\n imports: [DIRECTIVES],\n exports: [DIRECTIVES]\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 { NZ_TAB_SET, NzTabChangeEvent, NzTabComponent, NzTabDirective, NzTabLinkDirective, NzTabLinkTemplateDirective, NzTabSetComponent, NzTabsModule, NzTabAddButtonComponent as ɵNzTabAddButtonComponent, NzTabBodyComponent as ɵNzTabBodyComponent, NzTabCloseButtonComponent as ɵNzTabCloseButtonComponent, NzTabNavBarComponent as ɵNzTabNavBarComponent, NzTabNavItemDirective as ɵNzTabNavItemDirective, NzTabNavOperationComponent as ɵNzTabNavOperationComponent, NzTabScrollListDirective as ɵNzTabScrollListDirective, NzTabsInkBarDirective as ɵNzTabsInkBarDirective };\n"],
|
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,IAAM,2BAAN,MAAM,yBAAwB;AAAA,EAC5B,OAAO,UAAU;AACf,WAAO,OAAO,mBAAmB,cAAc,OAAO,IAAI,eAAe,QAAQ;AAAA,EACnF;AAaF;AAXI,yBAAK,OAAO,SAAS,gCAAgC,GAAG;AACtD,SAAO,KAAK,KAAK,0BAAyB;AAC5C;AAGA,yBAAK,QAA0B,mBAAmB;AAAA,EAChD,OAAO;AAAA,EACP,SAAS,yBAAwB;AAAA,EACjC,YAAY;AACd,CAAC;AAdL,IAAM,0BAAN;AAAA,CAiBC,MAAM;AACL,GAAC,OAAO,cAAc,eAAe,cAAiB,iBAAkB,yBAAyB,CAAC;AAAA,IAChG,MAAM;AAAA,IACN,MAAM,CAAC;AAAA,MACL,YAAY;AAAA,IACd,CAAC;AAAA,EACH,CAAC,GAAG,MAAM,IAAI;AAChB,GAAG;AAEH,IAAM,oBAAN,MAAM,kBAAiB;AAAA,EACrB,YAAY,yBAAyB;AACnC,SAAK,0BAA0B;AAE/B,SAAK,mBAAmB,oBAAI,IAAI;AAAA,EAClC;AAAA,EACA,cAAc;AACZ,SAAK,iBAAiB,QAAQ,CAAC,GAAG,YA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