@delon/abc 16.4.3 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/avatar-list/style/index.less +3 -1
- package/cell/cell-host.directive.d.ts +1 -1
- package/cell/cell.component.d.ts +1 -1
- package/cell/cell.module.d.ts +12 -12
- package/cell/index.d.ts +1 -0
- package/cell/provide.d.ts +10 -0
- package/cell/style/index.less +1 -1
- package/down-file/style/index.less +1 -0
- package/ellipsis/style/index.less +2 -2
- package/error-collect/style/index.less +1 -1
- package/error-collect/style/rtl.less +2 -1
- package/esm2022/auto-focus/auto-focus.directive.mjs +5 -5
- package/esm2022/auto-focus/auto-focus.module.mjs +5 -5
- package/esm2022/avatar-list/avatar-list-item.component.mjs +4 -4
- package/esm2022/avatar-list/avatar-list.component.mjs +7 -7
- package/esm2022/avatar-list/avatar-list.module.mjs +5 -5
- package/esm2022/cell/cell-host.directive.mjs +7 -6
- package/esm2022/cell/cell.component.mjs +163 -126
- package/esm2022/cell/cell.module.mjs +10 -9
- package/esm2022/cell/cell.service.mjs +5 -5
- package/esm2022/cell/index.mjs +2 -1
- package/esm2022/cell/provide.mjs +18 -0
- package/esm2022/count-down/count-down.component.mjs +10 -7
- package/esm2022/count-down/count-down.module.mjs +5 -5
- package/esm2022/date-picker/date-picker.module.mjs +5 -5
- package/esm2022/date-picker/range-shortcut.component.mjs +11 -17
- package/esm2022/date-picker/range.directive.mjs +9 -7
- package/esm2022/down-file/down-file.directive.mjs +5 -5
- package/esm2022/down-file/down-file.module.mjs +5 -5
- package/esm2022/ellipsis/ellipsis.component.mjs +7 -7
- package/esm2022/ellipsis/ellipsis.module.mjs +5 -5
- package/esm2022/error-collect/error-collect.component.mjs +6 -6
- package/esm2022/error-collect/error-collect.module.mjs +5 -5
- package/esm2022/exception/exception.component.mjs +12 -13
- package/esm2022/exception/exception.module.mjs +5 -5
- package/esm2022/footer-toolbar/footer-toolbar.component.mjs +9 -10
- package/esm2022/footer-toolbar/footer-toolbar.module.mjs +5 -5
- package/esm2022/full-content/full-content-toggle.directive.mjs +5 -5
- package/esm2022/full-content/full-content.component.mjs +6 -6
- package/esm2022/full-content/full-content.module.mjs +5 -5
- package/esm2022/full-content/full-content.service.mjs +4 -4
- package/esm2022/global-footer/global-footer-item.component.mjs +4 -4
- package/esm2022/global-footer/global-footer.component.mjs +7 -7
- package/esm2022/global-footer/global-footer.module.mjs +5 -5
- package/esm2022/hotkey/hotkey.directive.mjs +6 -6
- package/esm2022/hotkey/hotkey.module.mjs +6 -6
- package/esm2022/let/let.directive.mjs +7 -7
- package/esm2022/let/let.module.mjs +6 -6
- package/esm2022/loading/loading.component.mjs +5 -5
- package/esm2022/loading/loading.module.mjs +5 -5
- package/esm2022/loading/loading.service.mjs +6 -6
- package/esm2022/lodop/lodop.module.mjs +5 -5
- package/esm2022/lodop/lodop.service.mjs +5 -5
- package/esm2022/media/media.component.mjs +5 -5
- package/esm2022/media/media.module.mjs +5 -5
- package/esm2022/media/media.service.mjs +5 -5
- package/esm2022/notice-icon/notice-icon-tab.component.mjs +5 -5
- package/esm2022/notice-icon/notice-icon.component.mjs +6 -6
- package/esm2022/notice-icon/notice-icon.module.mjs +5 -5
- package/esm2022/observers/observer-size.mjs +15 -14
- package/esm2022/onboarding/onboarding.component.mjs +12 -13
- package/esm2022/onboarding/onboarding.module.mjs +5 -5
- package/esm2022/onboarding/onboarding.service.mjs +6 -6
- package/esm2022/page-header/page-header.component.mjs +7 -7
- package/esm2022/page-header/page-header.module.mjs +5 -5
- package/esm2022/pdf/pdf.component.mjs +14 -11
- package/esm2022/pdf/pdf.module.mjs +5 -5
- package/esm2022/qr/qr.component.mjs +10 -7
- package/esm2022/qr/qr.module.mjs +5 -5
- package/esm2022/quick-menu/quick-menu.component.mjs +5 -5
- package/esm2022/quick-menu/quick-menu.module.mjs +5 -5
- package/esm2022/result/result.component.mjs +9 -10
- package/esm2022/result/result.module.mjs +5 -5
- package/esm2022/reuse-tab/provide.mjs +73 -0
- package/esm2022/reuse-tab/public_api.mjs +2 -1
- package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +8 -8
- package/esm2022/reuse-tab/reuse-tab-context.component.mjs +7 -6
- package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +7 -6
- package/esm2022/reuse-tab/reuse-tab-context.service.mjs +5 -5
- package/esm2022/reuse-tab/reuse-tab.component.mjs +22 -13
- package/esm2022/reuse-tab/reuse-tab.module.mjs +29 -8
- package/esm2022/reuse-tab/reuse-tab.service.mjs +6 -6
- package/esm2022/se/se-container.component.mjs +22 -19
- package/esm2022/se/se.component.mjs +7 -7
- package/esm2022/se/se.module.mjs +5 -5
- package/esm2022/sg/sg-container.component.mjs +5 -5
- package/esm2022/sg/sg.component.mjs +6 -6
- package/esm2022/sg/sg.module.mjs +5 -5
- package/esm2022/st/provide.mjs +18 -0
- package/esm2022/st/public_api.mjs +2 -1
- package/esm2022/st/st-column-source.mjs +6 -6
- package/esm2022/st/st-data-source.mjs +6 -6
- package/esm2022/st/st-export.mjs +6 -6
- package/esm2022/st/st-filter.component.mjs +184 -162
- package/esm2022/st/st-row.directive.mjs +9 -9
- package/esm2022/st/st-widget-host.directive.mjs +5 -5
- package/esm2022/st/st-widget.mjs +4 -4
- package/esm2022/st/st.component.mjs +13 -13
- package/esm2022/st/st.module.mjs +5 -5
- package/esm2022/sv/sv-container.component.mjs +21 -17
- package/esm2022/sv/sv-value.component.mjs +18 -11
- package/esm2022/sv/sv.component.mjs +11 -12
- package/esm2022/sv/sv.module.mjs +5 -5
- package/esm2022/tag-select/tag-select.component.mjs +8 -9
- package/esm2022/tag-select/tag-select.module.mjs +5 -5
- package/esm2022/xlsx/xlsx.directive.mjs +7 -6
- package/esm2022/xlsx/xlsx.module.mjs +6 -8
- package/esm2022/xlsx/xlsx.service.mjs +5 -5
- package/esm2022/zip/public_api.mjs +1 -2
- package/esm2022/zip/zip.service.mjs +5 -5
- package/exception/style/index.less +6 -6
- package/fesm2022/auto-focus.mjs +8 -8
- package/fesm2022/auto-focus.mjs.map +1 -1
- package/fesm2022/avatar-list.mjs +13 -13
- package/fesm2022/avatar-list.mjs.map +1 -1
- package/fesm2022/cell.mjs +201 -154
- package/fesm2022/cell.mjs.map +1 -1
- package/fesm2022/chart-observer-size.mjs +14 -13
- package/fesm2022/chart-observer-size.mjs.map +1 -1
- package/fesm2022/count-down.mjs +14 -11
- package/fesm2022/count-down.mjs.map +1 -1
- package/fesm2022/date-picker.mjs +22 -26
- package/fesm2022/date-picker.mjs.map +1 -1
- package/fesm2022/down-file.mjs +8 -8
- package/fesm2022/down-file.mjs.map +1 -1
- package/fesm2022/ellipsis.mjs +10 -10
- package/fesm2022/ellipsis.mjs.map +1 -1
- package/fesm2022/error-collect.mjs +10 -10
- package/fesm2022/error-collect.mjs.map +1 -1
- package/fesm2022/exception.mjs +17 -18
- package/fesm2022/exception.mjs.map +1 -1
- package/fesm2022/footer-toolbar.mjs +12 -13
- package/fesm2022/footer-toolbar.mjs.map +1 -1
- package/fesm2022/full-content.mjs +18 -18
- package/fesm2022/full-content.mjs.map +1 -1
- package/fesm2022/global-footer.mjs +13 -13
- package/fesm2022/global-footer.mjs.map +1 -1
- package/fesm2022/hotkey.mjs +10 -10
- package/fesm2022/hotkey.mjs.map +1 -1
- package/fesm2022/let.mjs +11 -11
- package/fesm2022/let.mjs.map +1 -1
- package/fesm2022/loading.mjs +14 -14
- package/fesm2022/loading.mjs.map +1 -1
- package/fesm2022/lodop.mjs +8 -8
- package/fesm2022/lodop.mjs.map +1 -1
- package/fesm2022/media.mjs +13 -13
- package/fesm2022/media.mjs.map +1 -1
- package/fesm2022/notice-icon.mjs +16 -16
- package/fesm2022/notice-icon.mjs.map +1 -1
- package/fesm2022/onboarding.mjs +20 -21
- package/fesm2022/onboarding.mjs.map +1 -1
- package/fesm2022/page-header.mjs +10 -10
- package/fesm2022/page-header.mjs.map +1 -1
- package/fesm2022/pdf.mjs +19 -16
- package/fesm2022/pdf.mjs.map +1 -1
- package/fesm2022/qr.mjs +13 -10
- package/fesm2022/qr.mjs.map +1 -1
- package/fesm2022/quick-menu.mjs +8 -8
- package/fesm2022/quick-menu.mjs.map +1 -1
- package/fesm2022/result.mjs +13 -14
- package/fesm2022/result.mjs.map +1 -1
- package/fesm2022/reuse-tab.mjs +148 -52
- package/fesm2022/reuse-tab.mjs.map +1 -1
- package/fesm2022/se.mjs +36 -32
- package/fesm2022/se.mjs.map +1 -1
- package/fesm2022/sg.mjs +13 -13
- package/fesm2022/sg.mjs.map +1 -1
- package/fesm2022/st.mjs +248 -210
- package/fesm2022/st.mjs.map +1 -1
- package/fesm2022/sv.mjs +50 -38
- package/fesm2022/sv.mjs.map +1 -1
- package/fesm2022/tag-select.mjs +13 -14
- package/fesm2022/tag-select.mjs.map +1 -1
- package/fesm2022/xlsx.mjs +15 -16
- package/fesm2022/xlsx.mjs.map +1 -1
- package/fesm2022/zip.mjs +6 -19
- package/fesm2022/zip.mjs.map +1 -1
- package/footer-toolbar/style/index.less +1 -1
- package/full-content/style/index.less +1 -1
- package/global-footer/style/index.less +1 -1
- package/hotkey/hotkey.directive.d.ts +1 -1
- package/hotkey/hotkey.module.d.ts +1 -1
- package/let/let.directive.d.ts +1 -1
- package/let/let.module.d.ts +1 -1
- package/loading/style/index.less +3 -3
- package/notice-icon/style/index.less +7 -7
- package/observers/observer-size.d.ts +2 -2
- package/onboarding/style/index.less +3 -3
- package/package.json +6 -6
- package/page-header/style/index.less +4 -4
- package/pdf/style/index.less +1 -1
- package/quick-menu/style/index.less +2 -2
- package/result/style/index.less +7 -7
- package/reuse-tab/provide.d.ts +28 -0
- package/reuse-tab/public_api.d.ts +1 -0
- package/reuse-tab/reuse-tab-context-menu.component.d.ts +1 -1
- package/reuse-tab/reuse-tab-context.component.d.ts +1 -1
- package/reuse-tab/reuse-tab-context.directive.d.ts +1 -1
- package/reuse-tab/reuse-tab.component.d.ts +1 -1
- package/reuse-tab/reuse-tab.module.d.ts +12 -12
- package/reuse-tab/style/index.less +4 -4
- package/se/style/index.less +5 -5
- package/st/provide.d.ts +10 -0
- package/st/public_api.d.ts +1 -0
- package/st/style/index.less +4 -4
- package/sv/style/index.less +11 -11
- package/tag-select/style/index.less +2 -2
- package/tag-select/style/rtl.less +2 -1
- package/xlsx/xlsx.directive.d.ts +1 -1
- package/xlsx/xlsx.module.d.ts +1 -2
- package/zip/public_api.d.ts +0 -1
- package/esm2022/zip/zip.module.mjs +0 -15
- package/zip/zip.module.d.ts +0 -7
package/fesm2022/reuse-tab.mjs
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, Injectable, Directive, InjectionToken, Optional, Inject,
|
|
2
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, Injectable, Directive, InjectionToken, Optional, Inject, DestroyRef, inject, ViewChild, NgModule, ENVIRONMENT_INITIALIZER, makeEnvironmentProviders } from '@angular/core';
|
|
3
|
+
import * as i2 from 'ng-zorro-antd/menu';
|
|
4
|
+
import { NzMenuModule } from 'ng-zorro-antd/menu';
|
|
3
5
|
import * as i1 from '@delon/theme';
|
|
4
6
|
import { ALAIN_I18N_TOKEN, DelonLocaleModule } from '@delon/theme';
|
|
5
|
-
import
|
|
6
|
-
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
7
|
-
import * as i3 from 'ng-zorro-antd/menu';
|
|
8
|
-
import { NzMenuModule } from 'ng-zorro-antd/menu';
|
|
9
|
-
import { Subject, Subscription, BehaviorSubject, timer, of, filter, debounceTime } from 'rxjs';
|
|
7
|
+
import { Subject, Subscription, BehaviorSubject, timer, filter, of, debounceTime } from 'rxjs';
|
|
10
8
|
import * as i1$1 from '@angular/cdk/overlay';
|
|
11
9
|
import { ConnectionPositionPair, OverlayModule } from '@angular/cdk/overlay';
|
|
12
10
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
13
11
|
import { __decorate } from 'tslib';
|
|
12
|
+
import { DOCUMENT, NgTemplateOutlet, CommonModule } from '@angular/common';
|
|
14
13
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
15
14
|
import { InputBoolean, InputNumber } from '@delon/util/decorator';
|
|
16
|
-
import * as
|
|
17
|
-
import {
|
|
15
|
+
import * as i6 from 'ng-zorro-antd/icon';
|
|
16
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
17
|
+
import * as i5 from 'ng-zorro-antd/tabs';
|
|
18
|
+
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
|
19
|
+
import * as i2$1 from '@angular/router';
|
|
20
|
+
import { ActivatedRoute, Router, ROUTER_CONFIGURATION, NavigationStart, NavigationEnd, RouterModule, RouteReuseStrategy } from '@angular/router';
|
|
18
21
|
import { ScrollService } from '@delon/util/browser';
|
|
19
|
-
import * as i3
|
|
22
|
+
import * as i3 from '@angular/cdk/platform';
|
|
20
23
|
import * as i4 from '@angular/cdk/bidi';
|
|
21
|
-
import * as i6 from 'ng-zorro-antd/tabs';
|
|
22
|
-
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
|
23
|
-
import * as i7 from 'ng-zorro-antd/icon';
|
|
24
|
-
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
25
24
|
|
|
26
25
|
class ReuseTabContextMenuComponent {
|
|
27
26
|
set i18n(value) {
|
|
@@ -73,16 +72,16 @@ class ReuseTabContextMenuComponent {
|
|
|
73
72
|
return;
|
|
74
73
|
this.notify(null);
|
|
75
74
|
}
|
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextMenuComponent, deps: [{ token: i1.DelonLocaleService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: ReuseTabContextMenuComponent, isStandalone: true, selector: "reuse-tab-context-menu", inputs: { i18n: "i18n", item: "item", event: "event", customContextMenu: "customContextMenu" }, outputs: { close: "close" }, host: { listeners: { "document:click": "closeMenu($event)", "document:contextmenu": "closeMenu($event)" } }, ngImport: i0, template: "<ul nz-menu>\n @if (item.active) {\n <li nz-menu-item (click)=\"click($event, 'refresh')\" data-type=\"refresh\" [innerHTML]=\"i18n.refresh\"></li>\n }\n <li\n nz-menu-item\n (click)=\"click($event, 'close')\"\n data-type=\"close\"\n [nzDisabled]=\"!item.closable\"\n [innerHTML]=\"i18n.close\"\n ></li>\n <li nz-menu-item (click)=\"click($event, 'closeOther')\" data-type=\"closeOther\" [innerHTML]=\"i18n.closeOther\"></li>\n <li\n nz-menu-item\n (click)=\"click($event, 'closeRight')\"\n data-type=\"closeRight\"\n [nzDisabled]=\"item.last\"\n [innerHTML]=\"i18n.closeRight\"\n ></li>\n @if (customContextMenu!.length > 0) {\n <li nz-menu-divider></li>\n @for (i of customContextMenu; track $index) {\n <li\n nz-menu-item\n [attr.data-type]=\"i.id\"\n [nzDisabled]=\"isDisabled(i)\"\n (click)=\"click($event, 'custom', i)\"\n [innerHTML]=\"i.title\"\n ></li>\n }\n }\n</ul>\n", dependencies: [{ kind: "ngmodule", type: NzMenuModule }, { kind: "directive", type: i2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
78
77
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextMenuComponent, decorators: [{
|
|
80
79
|
type: Component,
|
|
81
80
|
args: [{ selector: 'reuse-tab-context-menu', host: {
|
|
82
81
|
'(document:click)': 'closeMenu($event)',
|
|
83
82
|
'(document:contextmenu)': 'closeMenu($event)'
|
|
84
|
-
}, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ul nz-menu>\n
|
|
85
|
-
}], ctorParameters:
|
|
83
|
+
}, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [NzMenuModule], template: "<ul nz-menu>\n @if (item.active) {\n <li nz-menu-item (click)=\"click($event, 'refresh')\" data-type=\"refresh\" [innerHTML]=\"i18n.refresh\"></li>\n }\n <li\n nz-menu-item\n (click)=\"click($event, 'close')\"\n data-type=\"close\"\n [nzDisabled]=\"!item.closable\"\n [innerHTML]=\"i18n.close\"\n ></li>\n <li nz-menu-item (click)=\"click($event, 'closeOther')\" data-type=\"closeOther\" [innerHTML]=\"i18n.closeOther\"></li>\n <li\n nz-menu-item\n (click)=\"click($event, 'closeRight')\"\n data-type=\"closeRight\"\n [nzDisabled]=\"item.last\"\n [innerHTML]=\"i18n.closeRight\"\n ></li>\n @if (customContextMenu!.length > 0) {\n <li nz-menu-divider></li>\n @for (i of customContextMenu; track $index) {\n <li\n nz-menu-item\n [attr.data-type]=\"i.id\"\n [nzDisabled]=\"isDisabled(i)\"\n (click)=\"click($event, 'custom', i)\"\n [innerHTML]=\"i.title\"\n ></li>\n }\n }\n</ul>\n" }]
|
|
84
|
+
}], ctorParameters: () => [{ type: i1.DelonLocaleService }], propDecorators: { i18n: [{
|
|
86
85
|
type: Input
|
|
87
86
|
}], item: [{
|
|
88
87
|
type: Input
|
|
@@ -135,12 +134,12 @@ class ReuseTabContextService {
|
|
|
135
134
|
}));
|
|
136
135
|
comp.onDestroy(() => sub$.unsubscribe());
|
|
137
136
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
139
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextService, deps: [{ token: i1$1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
138
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextService }); }
|
|
140
139
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextService, decorators: [{
|
|
142
141
|
type: Injectable
|
|
143
|
-
}], ctorParameters:
|
|
142
|
+
}], ctorParameters: () => [{ type: i1$1.Overlay }] });
|
|
144
143
|
|
|
145
144
|
class ReuseTabContextComponent {
|
|
146
145
|
set i18n(value) {
|
|
@@ -156,16 +155,17 @@ class ReuseTabContextComponent {
|
|
|
156
155
|
ngOnDestroy() {
|
|
157
156
|
this.sub$.unsubscribe();
|
|
158
157
|
}
|
|
159
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
160
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextComponent, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
159
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ReuseTabContextComponent, isStandalone: true, selector: "reuse-tab-context", inputs: { i18n: "i18n" }, outputs: { change: "change" }, ngImport: i0, template: ``, isInline: true }); }
|
|
161
160
|
}
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextComponent, decorators: [{
|
|
163
162
|
type: Component,
|
|
164
163
|
args: [{
|
|
165
164
|
selector: 'reuse-tab-context',
|
|
166
|
-
template:
|
|
165
|
+
template: ``,
|
|
166
|
+
standalone: true
|
|
167
167
|
}]
|
|
168
|
-
}], ctorParameters:
|
|
168
|
+
}], ctorParameters: () => [{ type: ReuseTabContextService }], propDecorators: { i18n: [{
|
|
169
169
|
type: Input
|
|
170
170
|
}], change: [{
|
|
171
171
|
type: Output
|
|
@@ -184,19 +184,20 @@ class ReuseTabContextDirective {
|
|
|
184
184
|
event.preventDefault();
|
|
185
185
|
event.stopPropagation();
|
|
186
186
|
}
|
|
187
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
188
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
187
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextDirective, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
188
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: ReuseTabContextDirective, isStandalone: true, selector: "[reuse-tab-context-menu]", inputs: { item: ["reuse-tab-context-menu", "item"], customContextMenu: "customContextMenu" }, host: { listeners: { "contextmenu": "_onContextMenu($event)" } }, exportAs: ["reuseTabContextMenu"], ngImport: i0 }); }
|
|
189
189
|
}
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabContextDirective, decorators: [{
|
|
191
191
|
type: Directive,
|
|
192
192
|
args: [{
|
|
193
193
|
selector: '[reuse-tab-context-menu]',
|
|
194
194
|
exportAs: 'reuseTabContextMenu',
|
|
195
195
|
host: {
|
|
196
196
|
'(contextmenu)': '_onContextMenu($event)'
|
|
197
|
-
}
|
|
197
|
+
},
|
|
198
|
+
standalone: true
|
|
198
199
|
}]
|
|
199
|
-
}], ctorParameters:
|
|
200
|
+
}], ctorParameters: () => [{ type: ReuseTabContextService }], propDecorators: { item: [{
|
|
200
201
|
type: Input,
|
|
201
202
|
args: ['reuse-tab-context-menu']
|
|
202
203
|
}], customContextMenu: [{
|
|
@@ -796,13 +797,13 @@ class ReuseTabService {
|
|
|
796
797
|
_router$.unsubscribe();
|
|
797
798
|
}
|
|
798
799
|
}
|
|
799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
800
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabService, deps: [{ token: i0.Injector }, { token: i1.MenuService }, { token: REUSE_TAB_CACHED_MANAGER, optional: true }, { token: REUSE_TAB_STORAGE_KEY, optional: true }, { token: REUSE_TAB_STORAGE_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
801
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabService, providedIn: 'root' }); }
|
|
801
802
|
}
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabService, decorators: [{
|
|
803
804
|
type: Injectable,
|
|
804
805
|
args: [{ providedIn: 'root' }]
|
|
805
|
-
}], ctorParameters:
|
|
806
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i1.MenuService }, { type: undefined, decorators: [{
|
|
806
807
|
type: Optional
|
|
807
808
|
}, {
|
|
808
809
|
type: Inject,
|
|
@@ -817,7 +818,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
817
818
|
}, {
|
|
818
819
|
type: Inject,
|
|
819
820
|
args: [REUSE_TAB_STORAGE_STATE]
|
|
820
|
-
}] }]
|
|
821
|
+
}] }] });
|
|
821
822
|
|
|
822
823
|
class ReuseTabComponent {
|
|
823
824
|
set keepingScrollContainer(value) {
|
|
@@ -1062,8 +1063,8 @@ class ReuseTabComponent {
|
|
|
1062
1063
|
this.srv.debug = this.debug;
|
|
1063
1064
|
this.cdr.detectChanges();
|
|
1064
1065
|
}
|
|
1065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1066
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1066
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabComponent, deps: [{ token: ReuseTabService }, { token: i0.ChangeDetectorRef }, { token: i2$1.Router }, { token: i2$1.ActivatedRoute }, { token: ALAIN_I18N_TOKEN, optional: true }, { token: DOCUMENT }, { token: i3.Platform }, { token: i4.Directionality, optional: true }, { token: REUSE_TAB_STORAGE_KEY, optional: true }, { token: REUSE_TAB_STORAGE_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1067
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: ReuseTabComponent, isStandalone: true, selector: "reuse-tab, [reuse-tab]", inputs: { mode: "mode", i18n: "i18n", debug: "debug", max: "max", tabMaxWidth: "tabMaxWidth", excludes: "excludes", allowClose: "allowClose", keepingScroll: "keepingScroll", storageState: "storageState", keepingScrollContainer: "keepingScrollContainer", customContextMenu: "customContextMenu", tabBarExtraContent: "tabBarExtraContent", tabBarGutter: "tabBarGutter", tabBarStyle: "tabBarStyle", tabType: "tabType", routeParamMatchMode: "routeParamMatchMode", disabled: "disabled", titleRender: "titleRender", canClose: "canClose" }, outputs: { change: "change", close: "close" }, host: { properties: { "class.reuse-tab": "true", "class.reuse-tab__line": "tabType === 'line'", "class.reuse-tab__card": "tabType === 'card'", "class.reuse-tab__disabled": "disabled", "class.reuse-tab-rtl": "dir === 'rtl'" } }, providers: [ReuseTabContextService], viewQueries: [{ propertyName: "tabset", first: true, predicate: ["tabset"], descendants: true }], exportAs: ["reuseTab"], usesOnChanges: true, ngImport: i0, template: "<nz-tabset\n #tabset\n [nzSelectedIndex]=\"pos\"\n [nzAnimated]=\"false\"\n [nzType]=\"tabType\"\n [nzTabBarExtraContent]=\"tabBarExtraContent\"\n [nzTabBarGutter]=\"tabBarGutter\"\n [nzTabBarStyle]=\"tabBarStyle\"\n>\n @for (i of list; track $index) {\n <nz-tab [nzTitle]=\"titleTemplate\" (nzClick)=\"_to($index)\">\n <ng-template #titleTemplate>\n <div\n [reuse-tab-context-menu]=\"i\"\n [customContextMenu]=\"customContextMenu\"\n class=\"reuse-tab__name\"\n [attr.title]=\"i.title\"\n >\n <span [class.reuse-tab__name-width]=\"tabMaxWidth\" [style.max-width.px]=\"tabMaxWidth\">\n @if (titleRender) {\n <ng-template [ngTemplateOutlet]=\"titleRender\" [ngTemplateOutletContext]=\"{ $implicit: i }\" />\n } @else {\n {{ i.title }}\n }\n </span>\n </div>\n @if (i.closable) {\n <i nz-icon nzType=\"close\" class=\"reuse-tab__op\" (click)=\"_close($event, $index, false)\"></i>\n }\n </ng-template>\n </nz-tab>\n }\n</nz-tabset>\n<reuse-tab-context [i18n]=\"i18n\" (change)=\"contextMenuChange($event)\" />\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i5.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i5.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "directive", type: ReuseTabContextDirective, selector: "[reuse-tab-context-menu]", inputs: ["reuse-tab-context-menu", "customContextMenu"], exportAs: ["reuseTabContextMenu"] }, { kind: "component", type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: ["i18n"], outputs: ["change"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1067
1068
|
}
|
|
1068
1069
|
__decorate([
|
|
1069
1070
|
InputBoolean()
|
|
@@ -1086,7 +1087,7 @@ __decorate([
|
|
|
1086
1087
|
__decorate([
|
|
1087
1088
|
InputBoolean()
|
|
1088
1089
|
], ReuseTabComponent.prototype, "disabled", void 0);
|
|
1089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabComponent, decorators: [{
|
|
1090
1091
|
type: Component,
|
|
1091
1092
|
args: [{ selector: 'reuse-tab, [reuse-tab]', exportAs: 'reuseTab', host: {
|
|
1092
1093
|
'[class.reuse-tab]': 'true',
|
|
@@ -1094,8 +1095,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1094
1095
|
'[class.reuse-tab__card]': `tabType === 'card'`,
|
|
1095
1096
|
'[class.reuse-tab__disabled]': `disabled`,
|
|
1096
1097
|
'[class.reuse-tab-rtl]': `dir === 'rtl'`
|
|
1097
|
-
}, providers: [ReuseTabContextService], preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None,
|
|
1098
|
-
|
|
1098
|
+
}, providers: [ReuseTabContextService], preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [
|
|
1099
|
+
NgTemplateOutlet,
|
|
1100
|
+
NzTabsModule,
|
|
1101
|
+
ReuseTabContextMenuComponent,
|
|
1102
|
+
ReuseTabContextDirective,
|
|
1103
|
+
ReuseTabContextComponent,
|
|
1104
|
+
NzIconModule
|
|
1105
|
+
], template: "<nz-tabset\n #tabset\n [nzSelectedIndex]=\"pos\"\n [nzAnimated]=\"false\"\n [nzType]=\"tabType\"\n [nzTabBarExtraContent]=\"tabBarExtraContent\"\n [nzTabBarGutter]=\"tabBarGutter\"\n [nzTabBarStyle]=\"tabBarStyle\"\n>\n @for (i of list; track $index) {\n <nz-tab [nzTitle]=\"titleTemplate\" (nzClick)=\"_to($index)\">\n <ng-template #titleTemplate>\n <div\n [reuse-tab-context-menu]=\"i\"\n [customContextMenu]=\"customContextMenu\"\n class=\"reuse-tab__name\"\n [attr.title]=\"i.title\"\n >\n <span [class.reuse-tab__name-width]=\"tabMaxWidth\" [style.max-width.px]=\"tabMaxWidth\">\n @if (titleRender) {\n <ng-template [ngTemplateOutlet]=\"titleRender\" [ngTemplateOutletContext]=\"{ $implicit: i }\" />\n } @else {\n {{ i.title }}\n }\n </span>\n </div>\n @if (i.closable) {\n <i nz-icon nzType=\"close\" class=\"reuse-tab__op\" (click)=\"_close($event, $index, false)\"></i>\n }\n </ng-template>\n </nz-tab>\n }\n</nz-tabset>\n<reuse-tab-context [i18n]=\"i18n\" (change)=\"contextMenuChange($event)\" />\n" }]
|
|
1106
|
+
}], ctorParameters: () => [{ type: ReuseTabService }, { type: i0.ChangeDetectorRef }, { type: i2$1.Router }, { type: i2$1.ActivatedRoute }, { type: undefined, decorators: [{
|
|
1099
1107
|
type: Optional
|
|
1100
1108
|
}, {
|
|
1101
1109
|
type: Inject,
|
|
@@ -1103,7 +1111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1103
1111
|
}] }, { type: undefined, decorators: [{
|
|
1104
1112
|
type: Inject,
|
|
1105
1113
|
args: [DOCUMENT]
|
|
1106
|
-
}] }, { type: i3
|
|
1114
|
+
}] }, { type: i3.Platform }, { type: i4.Directionality, decorators: [{
|
|
1107
1115
|
type: Optional
|
|
1108
1116
|
}] }, { type: undefined, decorators: [{
|
|
1109
1117
|
type: Optional
|
|
@@ -1115,7 +1123,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1115
1123
|
}, {
|
|
1116
1124
|
type: Inject,
|
|
1117
1125
|
args: [REUSE_TAB_STORAGE_STATE]
|
|
1118
|
-
}] }]
|
|
1126
|
+
}] }], propDecorators: { tabset: [{
|
|
1119
1127
|
type: ViewChild,
|
|
1120
1128
|
args: ['tabset']
|
|
1121
1129
|
}], mode: [{
|
|
@@ -1186,9 +1194,15 @@ class ReuseTabStrategy {
|
|
|
1186
1194
|
const COMPONENTS = [ReuseTabComponent];
|
|
1187
1195
|
const NOEXPORTS = [ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective];
|
|
1188
1196
|
class ReuseTabModule {
|
|
1189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1190
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1191
|
-
|
|
1197
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1198
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabModule, imports: [CommonModule,
|
|
1199
|
+
RouterModule,
|
|
1200
|
+
DelonLocaleModule,
|
|
1201
|
+
NzMenuModule,
|
|
1202
|
+
NzTabsModule,
|
|
1203
|
+
NzIconModule,
|
|
1204
|
+
OverlayModule, ReuseTabComponent, ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective], exports: [ReuseTabComponent] }); }
|
|
1205
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabModule, providers: [
|
|
1192
1206
|
{
|
|
1193
1207
|
provide: REUSE_TAB_STORAGE_KEY,
|
|
1194
1208
|
useValue: '_reuse-tab-state'
|
|
@@ -1201,13 +1215,28 @@ class ReuseTabModule {
|
|
|
1201
1215
|
provide: REUSE_TAB_CACHED_MANAGER,
|
|
1202
1216
|
useFactory: () => new ReuseTabCachedManagerFactory()
|
|
1203
1217
|
}
|
|
1204
|
-
], imports: [CommonModule,
|
|
1218
|
+
], imports: [CommonModule,
|
|
1219
|
+
RouterModule,
|
|
1220
|
+
DelonLocaleModule,
|
|
1221
|
+
NzMenuModule,
|
|
1222
|
+
NzTabsModule,
|
|
1223
|
+
NzIconModule,
|
|
1224
|
+
OverlayModule, COMPONENTS, ReuseTabContextMenuComponent] }); }
|
|
1205
1225
|
}
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ReuseTabModule, decorators: [{
|
|
1207
1227
|
type: NgModule,
|
|
1208
1228
|
args: [{
|
|
1209
|
-
imports: [
|
|
1210
|
-
|
|
1229
|
+
imports: [
|
|
1230
|
+
CommonModule,
|
|
1231
|
+
RouterModule,
|
|
1232
|
+
DelonLocaleModule,
|
|
1233
|
+
NzMenuModule,
|
|
1234
|
+
NzTabsModule,
|
|
1235
|
+
NzIconModule,
|
|
1236
|
+
OverlayModule,
|
|
1237
|
+
...COMPONENTS,
|
|
1238
|
+
...NOEXPORTS
|
|
1239
|
+
],
|
|
1211
1240
|
providers: [
|
|
1212
1241
|
{
|
|
1213
1242
|
provide: REUSE_TAB_STORAGE_KEY,
|
|
@@ -1226,9 +1255,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1226
1255
|
}]
|
|
1227
1256
|
}] });
|
|
1228
1257
|
|
|
1258
|
+
var ReuseTabFeatureKind;
|
|
1259
|
+
(function (ReuseTabFeatureKind) {
|
|
1260
|
+
ReuseTabFeatureKind[ReuseTabFeatureKind["CacheManager"] = 0] = "CacheManager";
|
|
1261
|
+
ReuseTabFeatureKind[ReuseTabFeatureKind["Store"] = 1] = "Store";
|
|
1262
|
+
})(ReuseTabFeatureKind || (ReuseTabFeatureKind = {}));
|
|
1263
|
+
function makeFeature(kind, providers) {
|
|
1264
|
+
return {
|
|
1265
|
+
ɵkind: kind,
|
|
1266
|
+
ɵproviders: providers
|
|
1267
|
+
};
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Configures reuse-tab to be available for injection.
|
|
1271
|
+
*
|
|
1272
|
+
* @see {@link withLocalStorage}
|
|
1273
|
+
* @see {@link withCacheManager}
|
|
1274
|
+
*/
|
|
1275
|
+
function provideReuseTabConfig(options) {
|
|
1276
|
+
const providers = [
|
|
1277
|
+
{
|
|
1278
|
+
provide: REUSE_TAB_STORAGE_KEY,
|
|
1279
|
+
useValue: options?.storeKey ?? '_reuse-tab-state'
|
|
1280
|
+
},
|
|
1281
|
+
(options?.cacheManager ?? withCacheManager()).ɵproviders,
|
|
1282
|
+
(options?.store ?? withLocalStorage()).ɵproviders,
|
|
1283
|
+
{
|
|
1284
|
+
provide: RouteReuseStrategy,
|
|
1285
|
+
useClass: ReuseTabStrategy,
|
|
1286
|
+
deps: [ReuseTabService]
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
provide: ENVIRONMENT_INITIALIZER,
|
|
1290
|
+
multi: true,
|
|
1291
|
+
useValue: () => {
|
|
1292
|
+
const srv = inject(ReuseTabService);
|
|
1293
|
+
if (options?.debug)
|
|
1294
|
+
srv.debug = options.debug;
|
|
1295
|
+
if (options?.mode)
|
|
1296
|
+
srv.mode = options.mode;
|
|
1297
|
+
if (options?.routeParamMatchMode)
|
|
1298
|
+
srv.routeParamMatchMode = options.routeParamMatchMode;
|
|
1299
|
+
if (options?.max)
|
|
1300
|
+
srv.max = options.max;
|
|
1301
|
+
if (options?.excludes)
|
|
1302
|
+
srv.excludes = options.excludes;
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
];
|
|
1306
|
+
return makeEnvironmentProviders(providers);
|
|
1307
|
+
}
|
|
1308
|
+
function withCacheManager() {
|
|
1309
|
+
return makeFeature(ReuseTabFeatureKind.CacheManager, [
|
|
1310
|
+
{
|
|
1311
|
+
provide: REUSE_TAB_CACHED_MANAGER,
|
|
1312
|
+
useFactory: () => new ReuseTabCachedManagerFactory()
|
|
1313
|
+
}
|
|
1314
|
+
]);
|
|
1315
|
+
}
|
|
1316
|
+
function withLocalStorage() {
|
|
1317
|
+
return makeFeature(ReuseTabFeatureKind.Store, [
|
|
1318
|
+
{
|
|
1319
|
+
provide: REUSE_TAB_STORAGE_STATE,
|
|
1320
|
+
useFactory: () => new ReuseTabLocalStorageState()
|
|
1321
|
+
}
|
|
1322
|
+
]);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1229
1325
|
/**
|
|
1230
1326
|
* Generated bundle index. Do not edit.
|
|
1231
1327
|
*/
|
|
1232
1328
|
|
|
1233
|
-
export { REUSE_TAB_CACHED_MANAGER, REUSE_TAB_STORAGE_KEY, REUSE_TAB_STORAGE_STATE, ReuseTabComponent, ReuseTabContextComponent, ReuseTabContextDirective, ReuseTabContextMenuComponent, ReuseTabContextService, ReuseTabLocalStorageState, ReuseTabMatchMode, ReuseTabModule, ReuseTabService, ReuseTabStrategy };
|
|
1329
|
+
export { REUSE_TAB_CACHED_MANAGER, REUSE_TAB_STORAGE_KEY, REUSE_TAB_STORAGE_STATE, ReuseTabComponent, ReuseTabContextComponent, ReuseTabContextDirective, ReuseTabContextMenuComponent, ReuseTabContextService, ReuseTabFeatureKind, ReuseTabLocalStorageState, ReuseTabMatchMode, ReuseTabModule, ReuseTabService, ReuseTabStrategy, provideReuseTabConfig, withCacheManager, withLocalStorage };
|
|
1234
1330
|
//# sourceMappingURL=reuse-tab.mjs.map
|