@delon/abc 16.1.0 → 16.2.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.
Files changed (162) hide show
  1. package/esm2022/auto-focus/auto-focus.directive.mjs +5 -6
  2. package/esm2022/auto-focus/auto-focus.module.mjs +6 -7
  3. package/esm2022/avatar-list/avatar-list-item.component.mjs +5 -6
  4. package/esm2022/avatar-list/avatar-list.component.mjs +5 -6
  5. package/esm2022/avatar-list/avatar-list.module.mjs +6 -7
  6. package/esm2022/count-down/count-down.component.mjs +5 -6
  7. package/esm2022/count-down/count-down.module.mjs +6 -7
  8. package/esm2022/date-picker/date-picker.module.mjs +6 -7
  9. package/esm2022/date-picker/range-shortcut.component.mjs +5 -6
  10. package/esm2022/date-picker/range.directive.mjs +5 -6
  11. package/esm2022/down-file/down-file.directive.mjs +5 -6
  12. package/esm2022/down-file/down-file.module.mjs +6 -7
  13. package/esm2022/ellipsis/ellipsis.component.mjs +5 -6
  14. package/esm2022/ellipsis/ellipsis.module.mjs +6 -7
  15. package/esm2022/error-collect/error-collect.component.mjs +5 -6
  16. package/esm2022/error-collect/error-collect.module.mjs +6 -7
  17. package/esm2022/exception/exception.component.mjs +5 -6
  18. package/esm2022/exception/exception.module.mjs +6 -7
  19. package/esm2022/footer-toolbar/footer-toolbar.component.mjs +5 -6
  20. package/esm2022/footer-toolbar/footer-toolbar.module.mjs +6 -7
  21. package/esm2022/full-content/full-content-toggle.directive.mjs +5 -6
  22. package/esm2022/full-content/full-content.component.mjs +5 -6
  23. package/esm2022/full-content/full-content.module.mjs +6 -7
  24. package/esm2022/full-content/full-content.service.mjs +5 -6
  25. package/esm2022/global-footer/global-footer-item.component.mjs +5 -6
  26. package/esm2022/global-footer/global-footer.component.mjs +5 -6
  27. package/esm2022/global-footer/global-footer.module.mjs +6 -7
  28. package/esm2022/hotkey/hotkey.directive.mjs +5 -6
  29. package/esm2022/hotkey/hotkey.module.mjs +6 -7
  30. package/esm2022/let/let.directive.mjs +5 -6
  31. package/esm2022/let/let.module.mjs +6 -7
  32. package/esm2022/loading/loading.component.mjs +5 -6
  33. package/esm2022/loading/loading.module.mjs +6 -7
  34. package/esm2022/loading/loading.service.mjs +5 -6
  35. package/esm2022/lodop/lodop.module.mjs +6 -7
  36. package/esm2022/lodop/lodop.service.mjs +5 -6
  37. package/esm2022/media/media.component.mjs +5 -6
  38. package/esm2022/media/media.module.mjs +6 -7
  39. package/esm2022/media/media.service.mjs +5 -6
  40. package/esm2022/notice-icon/notice-icon-tab.component.mjs +5 -6
  41. package/esm2022/notice-icon/notice-icon.component.mjs +5 -6
  42. package/esm2022/notice-icon/notice-icon.module.mjs +6 -7
  43. package/esm2022/observers/observer-size.mjs +14 -17
  44. package/esm2022/onboarding/onboarding.component.mjs +5 -6
  45. package/esm2022/onboarding/onboarding.module.mjs +6 -7
  46. package/esm2022/onboarding/onboarding.service.mjs +12 -14
  47. package/esm2022/page-header/page-header.component.mjs +5 -6
  48. package/esm2022/page-header/page-header.module.mjs +6 -7
  49. package/esm2022/pdf/pdf.component.mjs +5 -6
  50. package/esm2022/pdf/pdf.module.mjs +6 -7
  51. package/esm2022/qr/qr.component.mjs +5 -6
  52. package/esm2022/qr/qr.module.mjs +6 -7
  53. package/esm2022/quick-menu/quick-menu.component.mjs +5 -6
  54. package/esm2022/quick-menu/quick-menu.module.mjs +6 -7
  55. package/esm2022/result/result.component.mjs +5 -6
  56. package/esm2022/result/result.module.mjs +6 -7
  57. package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +5 -6
  58. package/esm2022/reuse-tab/reuse-tab-context.component.mjs +5 -6
  59. package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +5 -6
  60. package/esm2022/reuse-tab/reuse-tab-context.service.mjs +5 -6
  61. package/esm2022/reuse-tab/reuse-tab.component.mjs +5 -6
  62. package/esm2022/reuse-tab/reuse-tab.module.mjs +6 -7
  63. package/esm2022/reuse-tab/reuse-tab.service.mjs +8 -8
  64. package/esm2022/se/se-container.component.mjs +9 -11
  65. package/esm2022/se/se.component.mjs +7 -7
  66. package/esm2022/se/se.module.mjs +6 -7
  67. package/esm2022/sg/sg-container.component.mjs +5 -6
  68. package/esm2022/sg/sg.component.mjs +7 -7
  69. package/esm2022/sg/sg.module.mjs +6 -7
  70. package/esm2022/st/st-column-source.mjs +6 -7
  71. package/esm2022/st/st-data-source.mjs +19 -8
  72. package/esm2022/st/st-export.mjs +5 -6
  73. package/esm2022/st/st-filter.component.mjs +5 -6
  74. package/esm2022/st/st-row.directive.mjs +9 -11
  75. package/esm2022/st/st-widget-host.directive.mjs +5 -6
  76. package/esm2022/st/st-widget.mjs +5 -6
  77. package/esm2022/st/st.component.mjs +26 -19
  78. package/esm2022/st/st.interfaces.mjs +1 -1
  79. package/esm2022/st/st.module.mjs +6 -7
  80. package/esm2022/st/st.types.mjs +1 -1
  81. package/esm2022/sv/sv-container.component.mjs +19 -15
  82. package/esm2022/sv/sv-value.component.mjs +5 -6
  83. package/esm2022/sv/sv.component.mjs +7 -7
  84. package/esm2022/sv/sv.module.mjs +6 -7
  85. package/esm2022/tag-select/tag-select.component.mjs +5 -6
  86. package/esm2022/tag-select/tag-select.module.mjs +6 -7
  87. package/esm2022/xlsx/xlsx.directive.mjs +5 -6
  88. package/esm2022/xlsx/xlsx.module.mjs +6 -7
  89. package/esm2022/xlsx/xlsx.service.mjs +5 -6
  90. package/esm2022/zip/zip.module.mjs +6 -7
  91. package/esm2022/zip/zip.service.mjs +5 -6
  92. package/fesm2022/auto-focus.mjs +7 -7
  93. package/fesm2022/auto-focus.mjs.map +1 -1
  94. package/fesm2022/avatar-list.mjs +10 -10
  95. package/fesm2022/avatar-list.mjs.map +1 -1
  96. package/fesm2022/chart-observer-size.mjs +10 -10
  97. package/fesm2022/chart-observer-size.mjs.map +1 -1
  98. package/fesm2022/count-down.mjs +7 -7
  99. package/fesm2022/count-down.mjs.map +1 -1
  100. package/fesm2022/date-picker.mjs +10 -10
  101. package/fesm2022/date-picker.mjs.map +1 -1
  102. package/fesm2022/down-file.mjs +7 -7
  103. package/fesm2022/down-file.mjs.map +1 -1
  104. package/fesm2022/ellipsis.mjs +7 -7
  105. package/fesm2022/ellipsis.mjs.map +1 -1
  106. package/fesm2022/error-collect.mjs +7 -7
  107. package/fesm2022/error-collect.mjs.map +1 -1
  108. package/fesm2022/exception.mjs +7 -7
  109. package/fesm2022/exception.mjs.map +1 -1
  110. package/fesm2022/footer-toolbar.mjs +7 -7
  111. package/fesm2022/footer-toolbar.mjs.map +1 -1
  112. package/fesm2022/full-content.mjs +13 -13
  113. package/fesm2022/full-content.mjs.map +1 -1
  114. package/fesm2022/global-footer.mjs +10 -10
  115. package/fesm2022/global-footer.mjs.map +1 -1
  116. package/fesm2022/hotkey.mjs +7 -7
  117. package/fesm2022/hotkey.mjs.map +1 -1
  118. package/fesm2022/let.mjs +7 -7
  119. package/fesm2022/let.mjs.map +1 -1
  120. package/fesm2022/loading.mjs +10 -10
  121. package/fesm2022/loading.mjs.map +1 -1
  122. package/fesm2022/lodop.mjs +7 -7
  123. package/fesm2022/lodop.mjs.map +1 -1
  124. package/fesm2022/media.mjs +10 -10
  125. package/fesm2022/media.mjs.map +1 -1
  126. package/fesm2022/notice-icon.mjs +10 -10
  127. package/fesm2022/notice-icon.mjs.map +1 -1
  128. package/fesm2022/onboarding.mjs +17 -18
  129. package/fesm2022/onboarding.mjs.map +1 -1
  130. package/fesm2022/page-header.mjs +7 -7
  131. package/fesm2022/page-header.mjs.map +1 -1
  132. package/fesm2022/pdf.mjs +7 -7
  133. package/fesm2022/pdf.mjs.map +1 -1
  134. package/fesm2022/qr.mjs +7 -7
  135. package/fesm2022/qr.mjs.map +1 -1
  136. package/fesm2022/quick-menu.mjs +7 -7
  137. package/fesm2022/quick-menu.mjs.map +1 -1
  138. package/fesm2022/result.mjs +7 -7
  139. package/fesm2022/result.mjs.map +1 -1
  140. package/fesm2022/reuse-tab.mjs +25 -24
  141. package/fesm2022/reuse-tab.mjs.map +1 -1
  142. package/fesm2022/se.mjs +15 -14
  143. package/fesm2022/se.mjs.map +1 -1
  144. package/fesm2022/sg.mjs +12 -11
  145. package/fesm2022/sg.mjs.map +1 -1
  146. package/fesm2022/st.mjs +66 -45
  147. package/fesm2022/st.mjs.map +1 -1
  148. package/fesm2022/sv.mjs +28 -21
  149. package/fesm2022/sv.mjs.map +1 -1
  150. package/fesm2022/tag-select.mjs +7 -7
  151. package/fesm2022/tag-select.mjs.map +1 -1
  152. package/fesm2022/xlsx.mjs +10 -10
  153. package/fesm2022/xlsx.mjs.map +1 -1
  154. package/fesm2022/zip.mjs +7 -7
  155. package/fesm2022/zip.mjs.map +1 -1
  156. package/onboarding/onboarding.service.d.ts +3 -5
  157. package/package.json +5 -5
  158. package/sg/sg-container.component.d.ts +1 -1
  159. package/st/st-data-source.d.ts +2 -1
  160. package/st/st.interfaces.d.ts +11 -4
  161. package/st/st.types.d.ts +8 -1
  162. package/sv/sv-container.component.d.ts +6 -3
@@ -72,10 +72,10 @@ class ReuseTabContextMenuComponent {
72
72
  return;
73
73
  this.notify(null);
74
74
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextMenuComponent, deps: [{ token: i1.DelonLocaleService }], target: i0.ɵɵFactoryTarget.Component }); }
76
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: ReuseTabContextMenuComponent, 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 <li\n *ngIf=\"item.active\"\n nz-menu-item\n (click)=\"click($event, 'refresh')\"\n data-type=\"refresh\"\n [innerHTML]=\"i18n.refresh\"\n ></li>\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 <ng-container *ngIf=\"customContextMenu!.length > 0\">\n <li nz-menu-divider></li>\n <li\n *ngFor=\"let i of customContextMenu\"\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 </ng-container>\n</ul>\n", dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "directive", type: i3.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
75
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextMenuComponent, deps: [{ token: i1.DelonLocaleService }], target: i0.ɵɵFactoryTarget.Component }); }
76
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: ReuseTabContextMenuComponent, 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 <li\n *ngIf=\"item.active\"\n nz-menu-item\n (click)=\"click($event, 'refresh')\"\n data-type=\"refresh\"\n [innerHTML]=\"i18n.refresh\"\n ></li>\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 <ng-container *ngIf=\"customContextMenu!.length > 0\">\n <li nz-menu-divider></li>\n <li\n *ngFor=\"let i of customContextMenu\"\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 </ng-container>\n</ul>\n", dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "directive", type: i3.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextMenuComponent, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextMenuComponent, decorators: [{
79
79
  type: Component,
80
80
  args: [{ selector: 'reuse-tab-context-menu', host: {
81
81
  '(document:click)': 'closeMenu($event)',
@@ -134,10 +134,10 @@ class ReuseTabContextService {
134
134
  }));
135
135
  comp.onDestroy(() => sub$.unsubscribe());
136
136
  }
137
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextService, deps: [{ token: i1$1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable }); }
138
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextService }); }
137
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextService, deps: [{ token: i1$1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable }); }
138
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextService }); }
139
139
  }
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextService, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextService, decorators: [{
141
141
  type: Injectable
142
142
  }], ctorParameters: function () { return [{ type: i1$1.Overlay }]; } });
143
143
 
@@ -155,10 +155,10 @@ class ReuseTabContextComponent {
155
155
  ngOnDestroy() {
156
156
  this.sub$.unsubscribe();
157
157
  }
158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextComponent, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Component }); }
159
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: { i18n: "i18n" }, outputs: { change: "change" }, ngImport: i0, template: ``, isInline: true }); }
158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextComponent, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Component }); }
159
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: { i18n: "i18n" }, outputs: { change: "change" }, ngImport: i0, template: ``, isInline: true }); }
160
160
  }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextComponent, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextComponent, decorators: [{
162
162
  type: Component,
163
163
  args: [{
164
164
  selector: 'reuse-tab-context',
@@ -183,10 +183,10 @@ class ReuseTabContextDirective {
183
183
  event.preventDefault();
184
184
  event.stopPropagation();
185
185
  }
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextDirective, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Directive }); }
187
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: ReuseTabContextDirective, selector: "[reuse-tab-context-menu]", inputs: { item: ["reuse-tab-context-menu", "item"], customContextMenu: "customContextMenu" }, host: { listeners: { "contextmenu": "_onContextMenu($event)" } }, exportAs: ["reuseTabContextMenu"], ngImport: i0 }); }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextDirective, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Directive }); }
187
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.6", type: ReuseTabContextDirective, selector: "[reuse-tab-context-menu]", inputs: { item: ["reuse-tab-context-menu", "item"], customContextMenu: "customContextMenu" }, host: { listeners: { "contextmenu": "_onContextMenu($event)" } }, exportAs: ["reuseTabContextMenu"], ngImport: i0 }); }
188
188
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabContextDirective, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabContextDirective, decorators: [{
190
190
  type: Directive,
191
191
  args: [{
192
192
  selector: '[reuse-tab-context-menu]',
@@ -313,8 +313,6 @@ class ReuseTabService {
313
313
  }
314
314
  /** 自定义当前标题 */
315
315
  set title(value) {
316
- if (this.cached == null)
317
- return;
318
316
  const url = this.curUrl;
319
317
  if (typeof value === 'string')
320
318
  value = { text: value };
@@ -590,6 +588,9 @@ class ReuseTabService {
590
588
  /** 排除规则,限 `mode=URL` */
591
589
  this.excludes = [];
592
590
  this.storageState = false;
591
+ if (this.cached == null) {
592
+ this.cached = { list: [], title: {}, closable: {} };
593
+ }
593
594
  }
594
595
  init() {
595
596
  this.initScroll();
@@ -794,10 +795,10 @@ class ReuseTabService {
794
795
  _router$.unsubscribe();
795
796
  }
796
797
  }
797
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", 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 }); }
798
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabService, providedIn: 'root' }); }
798
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", 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 }); }
799
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabService, providedIn: 'root' }); }
799
800
  }
800
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabService, decorators: [{
801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabService, decorators: [{
801
802
  type: Injectable,
802
803
  args: [{ providedIn: 'root' }]
803
804
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.MenuService }, { type: undefined, decorators: [{
@@ -1065,8 +1066,8 @@ class ReuseTabComponent {
1065
1066
  destroy$.next();
1066
1067
  destroy$.complete();
1067
1068
  }
1068
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabComponent, deps: [{ token: ReuseTabService }, { token: i0.ChangeDetectorRef }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: ALAIN_I18N_TOKEN, optional: true }, { token: DOCUMENT }, { token: i3$1.Platform }, { token: i4.Directionality, optional: true }, { token: REUSE_TAB_STORAGE_KEY, optional: true }, { token: REUSE_TAB_STORAGE_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1069
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: ReuseTabComponent, 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 <nz-tab *ngFor=\"let i of list; let index = index\" [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 <ng-container\n *ngIf=\"titleRender; else defaultTitle\"\n [ngTemplateOutlet]=\"titleRender\"\n [ngTemplateOutletContext]=\"{ $implicit: i }\"\n ></ng-container>\n <ng-template #defaultTitle>{{ i.title }}</ng-template>\n </span>\n </div>\n <i *ngIf=\"i.closable\" nz-icon nzType=\"close\" class=\"reuse-tab__op\" (click)=\"_close($event, index, false)\"></i>\n </ng-template>\n </nz-tab>\n</nz-tabset>\n<reuse-tab-context [i18n]=\"i18n\" (change)=\"contextMenuChange($event)\"></reuse-tab-context>\n", dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i6.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: i6.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "directive", type: i7.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: ["i18n"], outputs: ["change"] }, { kind: "directive", type: ReuseTabContextDirective, selector: "[reuse-tab-context-menu]", inputs: ["reuse-tab-context-menu", "customContextMenu"], exportAs: ["reuseTabContextMenu"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1069
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabComponent, deps: [{ token: ReuseTabService }, { token: i0.ChangeDetectorRef }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: ALAIN_I18N_TOKEN, optional: true }, { token: DOCUMENT }, { token: i3$1.Platform }, { token: i4.Directionality, optional: true }, { token: REUSE_TAB_STORAGE_KEY, optional: true }, { token: REUSE_TAB_STORAGE_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1070
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: ReuseTabComponent, 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 <nz-tab *ngFor=\"let i of list; let index = index\" [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 <ng-container\n *ngIf=\"titleRender; else defaultTitle\"\n [ngTemplateOutlet]=\"titleRender\"\n [ngTemplateOutletContext]=\"{ $implicit: i }\"\n ></ng-container>\n <ng-template #defaultTitle>{{ i.title }}</ng-template>\n </span>\n </div>\n <i *ngIf=\"i.closable\" nz-icon nzType=\"close\" class=\"reuse-tab__op\" (click)=\"_close($event, index, false)\"></i>\n </ng-template>\n </nz-tab>\n</nz-tabset>\n<reuse-tab-context [i18n]=\"i18n\" (change)=\"contextMenuChange($event)\"></reuse-tab-context>\n", dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i6.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: i6.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "directive", type: i7.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: ["i18n"], outputs: ["change"] }, { kind: "directive", type: ReuseTabContextDirective, selector: "[reuse-tab-context-menu]", inputs: ["reuse-tab-context-menu", "customContextMenu"], exportAs: ["reuseTabContextMenu"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1070
1071
  }
1071
1072
  __decorate([
1072
1073
  InputBoolean()
@@ -1089,7 +1090,7 @@ __decorate([
1089
1090
  __decorate([
1090
1091
  InputBoolean()
1091
1092
  ], ReuseTabComponent.prototype, "disabled", void 0);
1092
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabComponent, decorators: [{
1093
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabComponent, decorators: [{
1093
1094
  type: Component,
1094
1095
  args: [{ selector: 'reuse-tab, [reuse-tab]', exportAs: 'reuseTab', host: {
1095
1096
  '[class.reuse-tab]': 'true',
@@ -1189,9 +1190,9 @@ class ReuseTabStrategy {
1189
1190
  const COMPONENTS = [ReuseTabComponent];
1190
1191
  const NOEXPORTS = [ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective];
1191
1192
  class ReuseTabModule {
1192
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1193
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabModule, declarations: [ReuseTabComponent, ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective], imports: [CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule], exports: [ReuseTabComponent] }); }
1194
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabModule, providers: [
1193
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1194
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabModule, declarations: [ReuseTabComponent, ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective], imports: [CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule], exports: [ReuseTabComponent] }); }
1195
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabModule, providers: [
1195
1196
  {
1196
1197
  provide: REUSE_TAB_STORAGE_KEY,
1197
1198
  useValue: '_reuse-tab-state'
@@ -1206,7 +1207,7 @@ class ReuseTabModule {
1206
1207
  }
1207
1208
  ], imports: [CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule] }); }
1208
1209
  }
1209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: ReuseTabModule, decorators: [{
1210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: ReuseTabModule, decorators: [{
1210
1211
  type: NgModule,
1211
1212
  args: [{
1212
1213
  imports: [CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule],