@delon/abc 13.4.2 → 13.5.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 (164) hide show
  1. package/esm2020/auto-focus/auto-focus.directive.mjs +3 -3
  2. package/esm2020/auto-focus/auto-focus.module.mjs +4 -4
  3. package/esm2020/avatar-list/avatar-list-item.component.mjs +3 -3
  4. package/esm2020/avatar-list/avatar-list.component.mjs +3 -3
  5. package/esm2020/avatar-list/avatar-list.module.mjs +4 -4
  6. package/esm2020/count-down/count-down.component.mjs +3 -3
  7. package/esm2020/count-down/count-down.module.mjs +4 -4
  8. package/esm2020/date-picker/date-picker.module.mjs +4 -4
  9. package/esm2020/date-picker/range-shortcut.component.mjs +3 -3
  10. package/esm2020/date-picker/range.directive.mjs +3 -3
  11. package/esm2020/down-file/down-file.directive.mjs +3 -3
  12. package/esm2020/down-file/down-file.module.mjs +4 -4
  13. package/esm2020/ellipsis/ellipsis.component.mjs +3 -3
  14. package/esm2020/ellipsis/ellipsis.module.mjs +4 -4
  15. package/esm2020/error-collect/error-collect.component.mjs +3 -3
  16. package/esm2020/error-collect/error-collect.module.mjs +4 -4
  17. package/esm2020/exception/exception.component.mjs +3 -3
  18. package/esm2020/exception/exception.module.mjs +4 -4
  19. package/esm2020/footer-toolbar/footer-toolbar.component.mjs +3 -3
  20. package/esm2020/footer-toolbar/footer-toolbar.module.mjs +4 -4
  21. package/esm2020/full-content/full-content-toggle.directive.mjs +3 -3
  22. package/esm2020/full-content/full-content.component.mjs +3 -3
  23. package/esm2020/full-content/full-content.module.mjs +4 -4
  24. package/esm2020/full-content/full-content.service.mjs +3 -3
  25. package/esm2020/global-footer/global-footer-item.component.mjs +3 -3
  26. package/esm2020/global-footer/global-footer.component.mjs +3 -3
  27. package/esm2020/global-footer/global-footer.module.mjs +4 -4
  28. package/esm2020/image/image.directive.mjs +3 -3
  29. package/esm2020/image/image.module.mjs +4 -4
  30. package/esm2020/let/let.directive.mjs +3 -3
  31. package/esm2020/let/let.module.mjs +4 -4
  32. package/esm2020/loading/loading.component.mjs +3 -3
  33. package/esm2020/loading/loading.module.mjs +4 -4
  34. package/esm2020/loading/loading.service.mjs +3 -3
  35. package/esm2020/lodop/lodop.module.mjs +4 -4
  36. package/esm2020/lodop/lodop.service.mjs +3 -3
  37. package/esm2020/media/media.component.mjs +3 -3
  38. package/esm2020/media/media.module.mjs +4 -4
  39. package/esm2020/media/media.service.mjs +3 -3
  40. package/esm2020/notice-icon/notice-icon-tab.component.mjs +3 -3
  41. package/esm2020/notice-icon/notice-icon.component.mjs +3 -3
  42. package/esm2020/notice-icon/notice-icon.module.mjs +4 -4
  43. package/esm2020/onboarding/onboarding.component.mjs +3 -3
  44. package/esm2020/onboarding/onboarding.module.mjs +4 -4
  45. package/esm2020/onboarding/onboarding.service.mjs +3 -3
  46. package/esm2020/page-header/page-header.component.mjs +3 -3
  47. package/esm2020/page-header/page-header.module.mjs +4 -4
  48. package/esm2020/pdf/pdf.component.mjs +3 -3
  49. package/esm2020/pdf/pdf.module.mjs +4 -4
  50. package/esm2020/qr/qr.component.mjs +3 -3
  51. package/esm2020/qr/qr.module.mjs +4 -4
  52. package/esm2020/quick-menu/quick-menu.component.mjs +3 -3
  53. package/esm2020/quick-menu/quick-menu.module.mjs +4 -4
  54. package/esm2020/result/result.component.mjs +3 -3
  55. package/esm2020/result/result.module.mjs +4 -4
  56. package/esm2020/reuse-tab/reuse-tab-context-menu.component.mjs +3 -3
  57. package/esm2020/reuse-tab/reuse-tab-context.component.mjs +3 -3
  58. package/esm2020/reuse-tab/reuse-tab-context.directive.mjs +3 -3
  59. package/esm2020/reuse-tab/reuse-tab-context.service.mjs +3 -3
  60. package/esm2020/reuse-tab/reuse-tab.component.mjs +23 -12
  61. package/esm2020/reuse-tab/reuse-tab.module.mjs +4 -4
  62. package/esm2020/reuse-tab/reuse-tab.service.mjs +3 -3
  63. package/esm2020/se/se-container.component.mjs +6 -6
  64. package/esm2020/se/se.component.mjs +3 -3
  65. package/esm2020/se/se.module.mjs +4 -4
  66. package/esm2020/sg/sg-container.component.mjs +3 -3
  67. package/esm2020/sg/sg.component.mjs +3 -3
  68. package/esm2020/sg/sg.module.mjs +4 -4
  69. package/esm2020/st/st-column-source.mjs +10 -13
  70. package/esm2020/st/st-data-source.mjs +26 -9
  71. package/esm2020/st/st-export.mjs +3 -3
  72. package/esm2020/st/st-filter.component.mjs +4 -4
  73. package/esm2020/st/st-row.directive.mjs +6 -6
  74. package/esm2020/st/st-widget-host.directive.mjs +3 -3
  75. package/esm2020/st/st-widget.mjs +3 -3
  76. package/esm2020/st/st.component.mjs +9 -8
  77. package/esm2020/st/st.config.mjs +5 -1
  78. package/esm2020/st/st.interfaces.mjs +1 -1
  79. package/esm2020/st/st.module.mjs +4 -4
  80. package/esm2020/st/st.types.mjs +1 -1
  81. package/esm2020/sv/sv-container.component.mjs +6 -6
  82. package/esm2020/sv/sv-value.component.mjs +3 -3
  83. package/esm2020/sv/sv.component.mjs +3 -3
  84. package/esm2020/sv/sv.module.mjs +4 -4
  85. package/esm2020/tag-select/tag-select.component.mjs +3 -3
  86. package/esm2020/tag-select/tag-select.module.mjs +4 -4
  87. package/esm2020/xlsx/xlsx.directive.mjs +3 -3
  88. package/esm2020/xlsx/xlsx.module.mjs +4 -4
  89. package/esm2020/xlsx/xlsx.service.mjs +3 -3
  90. package/esm2020/zip/zip.module.mjs +4 -4
  91. package/esm2020/zip/zip.service.mjs +3 -3
  92. package/fesm2015/auto-focus.mjs +7 -7
  93. package/fesm2015/avatar-list.mjs +10 -10
  94. package/fesm2015/count-down.mjs +7 -7
  95. package/fesm2015/date-picker.mjs +10 -10
  96. package/fesm2015/down-file.mjs +7 -7
  97. package/fesm2015/ellipsis.mjs +7 -7
  98. package/fesm2015/error-collect.mjs +7 -7
  99. package/fesm2015/exception.mjs +7 -7
  100. package/fesm2015/footer-toolbar.mjs +7 -7
  101. package/fesm2015/full-content.mjs +13 -13
  102. package/fesm2015/global-footer.mjs +10 -10
  103. package/fesm2015/image.mjs +7 -7
  104. package/fesm2015/let.mjs +7 -7
  105. package/fesm2015/loading.mjs +10 -10
  106. package/fesm2015/lodop.mjs +7 -7
  107. package/fesm2015/media.mjs +10 -10
  108. package/fesm2015/notice-icon.mjs +10 -10
  109. package/fesm2015/onboarding.mjs +10 -10
  110. package/fesm2015/page-header.mjs +7 -7
  111. package/fesm2015/pdf.mjs +7 -7
  112. package/fesm2015/qr.mjs +7 -7
  113. package/fesm2015/quick-menu.mjs +7 -7
  114. package/fesm2015/result.mjs +7 -7
  115. package/fesm2015/reuse-tab.mjs +40 -28
  116. package/fesm2015/reuse-tab.mjs.map +1 -1
  117. package/fesm2015/se.mjs +13 -13
  118. package/fesm2015/sg.mjs +10 -10
  119. package/fesm2015/st.mjs +69 -50
  120. package/fesm2015/st.mjs.map +1 -1
  121. package/fesm2015/sv.mjs +16 -16
  122. package/fesm2015/tag-select.mjs +7 -7
  123. package/fesm2015/xlsx.mjs +10 -10
  124. package/fesm2015/zip.mjs +7 -7
  125. package/fesm2020/auto-focus.mjs +7 -7
  126. package/fesm2020/avatar-list.mjs +10 -10
  127. package/fesm2020/count-down.mjs +7 -7
  128. package/fesm2020/date-picker.mjs +10 -10
  129. package/fesm2020/down-file.mjs +7 -7
  130. package/fesm2020/ellipsis.mjs +7 -7
  131. package/fesm2020/error-collect.mjs +7 -7
  132. package/fesm2020/exception.mjs +7 -7
  133. package/fesm2020/footer-toolbar.mjs +7 -7
  134. package/fesm2020/full-content.mjs +13 -13
  135. package/fesm2020/global-footer.mjs +10 -10
  136. package/fesm2020/image.mjs +7 -7
  137. package/fesm2020/let.mjs +7 -7
  138. package/fesm2020/loading.mjs +10 -10
  139. package/fesm2020/lodop.mjs +7 -7
  140. package/fesm2020/media.mjs +10 -10
  141. package/fesm2020/notice-icon.mjs +10 -10
  142. package/fesm2020/onboarding.mjs +10 -10
  143. package/fesm2020/page-header.mjs +7 -7
  144. package/fesm2020/pdf.mjs +7 -7
  145. package/fesm2020/qr.mjs +7 -7
  146. package/fesm2020/quick-menu.mjs +7 -7
  147. package/fesm2020/result.mjs +7 -7
  148. package/fesm2020/reuse-tab.mjs +39 -28
  149. package/fesm2020/reuse-tab.mjs.map +1 -1
  150. package/fesm2020/se.mjs +13 -13
  151. package/fesm2020/sg.mjs +10 -10
  152. package/fesm2020/st.mjs +69 -50
  153. package/fesm2020/st.mjs.map +1 -1
  154. package/fesm2020/sv.mjs +16 -16
  155. package/fesm2020/tag-select.mjs +7 -7
  156. package/fesm2020/xlsx.mjs +10 -10
  157. package/fesm2020/zip.mjs +7 -7
  158. package/package.json +4 -4
  159. package/reuse-tab/reuse-tab.component.d.ts +5 -2
  160. package/reuse-tab/style/index.less +2 -0
  161. package/reuse-tab/style/rtl.less +3 -0
  162. package/st/st-data-source.d.ts +4 -0
  163. package/st/st.interfaces.d.ts +18 -0
  164. package/st/st.types.d.ts +18 -0
@@ -4,7 +4,7 @@ import * as i1 from '@delon/theme';
4
4
  import { ALAIN_I18N_TOKEN, DelonLocaleModule } from '@delon/theme';
5
5
  import * as i2 from 'ng-zorro-antd/menu';
6
6
  import { NzMenuModule } from 'ng-zorro-antd/menu';
7
- import * as i6 from '@angular/common';
7
+ import * as i7 from '@angular/common';
8
8
  import { DOCUMENT, CommonModule } from '@angular/common';
9
9
  import { Subject, Subscription, BehaviorSubject, timer } from 'rxjs';
10
10
  import * as i1$1 from '@angular/cdk/overlay';
@@ -17,9 +17,10 @@ import * as i2$1 from '@angular/router';
17
17
  import { ActivatedRoute, Router, ROUTER_CONFIGURATION, NavigationStart, NavigationEnd, RouterModule } from '@angular/router';
18
18
  import { ScrollService } from '@delon/util/browser';
19
19
  import * as i3 from '@angular/cdk/platform';
20
- import * as i4 from 'ng-zorro-antd/tabs';
20
+ import * as i4 from '@angular/cdk/bidi';
21
+ import * as i5 from 'ng-zorro-antd/tabs';
21
22
  import { NzTabsModule } from 'ng-zorro-antd/tabs';
22
- import * as i8 from 'ng-zorro-antd/icon';
23
+ import * as i9 from 'ng-zorro-antd/icon';
23
24
  import { NzIconModule } from 'ng-zorro-antd/icon';
24
25
 
25
26
  class ReuseTabContextMenuComponent {
@@ -70,9 +71,9 @@ class ReuseTabContextMenuComponent {
70
71
  this.notify(null);
71
72
  }
72
73
  }
73
- ReuseTabContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextMenuComponent, deps: [{ token: i1.DelonLocaleService }], target: i0.ɵɵFactoryTarget.Component });
74
- ReuseTabContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", 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", directives: [{ type: i2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { type: i2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextMenuComponent, decorators: [{
74
+ ReuseTabContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextMenuComponent, deps: [{ token: i1.DelonLocaleService }], target: i0.ɵɵFactoryTarget.Component });
75
+ ReuseTabContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", 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", directives: [{ type: i2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { type: i2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextMenuComponent, decorators: [{
76
77
  type: Component,
77
78
  args: [{ selector: 'reuse-tab-context-menu', host: {
78
79
  '(document:click)': 'closeMenu($event)',
@@ -132,9 +133,9 @@ class ReuseTabContextService {
132
133
  comp.onDestroy(() => sub$.unsubscribe());
133
134
  }
134
135
  }
135
- ReuseTabContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextService, deps: [{ token: i1$1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
136
- ReuseTabContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextService });
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextService, decorators: [{
136
+ ReuseTabContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextService, deps: [{ token: i1$1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
137
+ ReuseTabContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextService });
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextService, decorators: [{
138
139
  type: Injectable
139
140
  }], ctorParameters: function () { return [{ type: i1$1.Overlay }]; } });
140
141
 
@@ -153,9 +154,9 @@ class ReuseTabContextComponent {
153
154
  this.sub$.unsubscribe();
154
155
  }
155
156
  }
156
- ReuseTabContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextComponent, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Component });
157
- ReuseTabContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: { i18n: "i18n" }, outputs: { change: "change" }, ngImport: i0, template: ``, isInline: true });
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextComponent, decorators: [{
157
+ ReuseTabContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextComponent, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Component });
158
+ ReuseTabContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: { i18n: "i18n" }, outputs: { change: "change" }, ngImport: i0, template: ``, isInline: true });
159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextComponent, decorators: [{
159
160
  type: Component,
160
161
  args: [{
161
162
  selector: 'reuse-tab-context',
@@ -181,9 +182,9 @@ class ReuseTabContextDirective {
181
182
  event.stopPropagation();
182
183
  }
183
184
  }
184
- ReuseTabContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextDirective, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Directive });
185
- ReuseTabContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.1", 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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabContextDirective, decorators: [{
185
+ ReuseTabContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextDirective, deps: [{ token: ReuseTabContextService }], target: i0.ɵɵFactoryTarget.Directive });
186
+ ReuseTabContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", 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 });
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabContextDirective, decorators: [{
187
188
  type: Directive,
188
189
  args: [{
189
190
  selector: '[reuse-tab-context-menu]',
@@ -752,16 +753,16 @@ class ReuseTabService {
752
753
  }
753
754
  }
754
755
  }
755
- ReuseTabService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabService, deps: [{ token: i0.Injector }, { token: i1.MenuService }], target: i0.ɵɵFactoryTarget.Injectable });
756
- ReuseTabService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabService, providedIn: 'root' });
757
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabService, decorators: [{
756
+ ReuseTabService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabService, deps: [{ token: i0.Injector }, { token: i1.MenuService }], target: i0.ɵɵFactoryTarget.Injectable });
757
+ ReuseTabService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabService, providedIn: 'root' });
758
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabService, decorators: [{
758
759
  type: Injectable,
759
760
  args: [{ providedIn: 'root' }]
760
761
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.MenuService }]; } });
761
762
 
762
763
  class ReuseTabComponent {
763
764
  // #endregion
764
- constructor(srv, cdr, router, route, i18nSrv, doc, platform) {
765
+ constructor(srv, cdr, router, route, i18nSrv, doc, platform, directionality) {
765
766
  this.srv = srv;
766
767
  this.cdr = cdr;
767
768
  this.router = router;
@@ -769,9 +770,11 @@ class ReuseTabComponent {
769
770
  this.i18nSrv = i18nSrv;
770
771
  this.doc = doc;
771
772
  this.platform = platform;
773
+ this.directionality = directionality;
772
774
  this.destroy$ = new Subject();
773
775
  this.list = [];
774
776
  this.pos = 0;
777
+ this.dir = 'ltr';
775
778
  // #region fields
776
779
  this.mode = ReuseTabMatchMode.Menu;
777
780
  this.debug = false;
@@ -933,6 +936,12 @@ class ReuseTabComponent {
933
936
  }
934
937
  // #endregion
935
938
  ngOnInit() {
939
+ var _a;
940
+ this.dir = this.directionality.value;
941
+ (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(takeUntil(this.destroy$)).subscribe((direction) => {
942
+ this.dir = direction;
943
+ this.cdr.detectChanges();
944
+ });
936
945
  if (!this.platform.isBrowser) {
937
946
  return;
938
947
  }
@@ -981,8 +990,8 @@ class ReuseTabComponent {
981
990
  destroy$.complete();
982
991
  }
983
992
  }
984
- ReuseTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", 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 }], target: i0.ɵɵFactoryTarget.Component });
985
- ReuseTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: ReuseTabComponent, selector: "reuse-tab, [reuse-tab]", inputs: { mode: "mode", i18n: "i18n", debug: "debug", max: "max", tabMaxWidth: "tabMaxWidth", excludes: "excludes", allowClose: "allowClose", keepingScroll: "keepingScroll", keepingScrollContainer: "keepingScrollContainer", customContextMenu: "customContextMenu", tabBarExtraContent: "tabBarExtraContent", tabBarGutter: "tabBarGutter", tabBarStyle: "tabBarStyle", tabType: "tabType", routeParamMatchMode: "routeParamMatchMode", disabled: "disabled", titleRender: "titleRender" }, 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" } }, 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", components: [{ type: i4.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"] }, { type: i4.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: ["i18n"], outputs: ["change"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ReuseTabContextDirective, selector: "[reuse-tab-context-menu]", inputs: ["reuse-tab-context-menu", "customContextMenu"], exportAs: ["reuseTabContextMenu"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
993
+ ReuseTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", 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 }], target: i0.ɵɵFactoryTarget.Component });
994
+ ReuseTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: ReuseTabComponent, selector: "reuse-tab, [reuse-tab]", inputs: { mode: "mode", i18n: "i18n", debug: "debug", max: "max", tabMaxWidth: "tabMaxWidth", excludes: "excludes", allowClose: "allowClose", keepingScroll: "keepingScroll", keepingScrollContainer: "keepingScrollContainer", customContextMenu: "customContextMenu", tabBarExtraContent: "tabBarExtraContent", tabBarGutter: "tabBarGutter", tabBarStyle: "tabBarStyle", tabType: "tabType", routeParamMatchMode: "routeParamMatchMode", disabled: "disabled", titleRender: "titleRender" }, 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", components: [{ 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"] }, { type: i5.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { type: ReuseTabContextComponent, selector: "reuse-tab-context", inputs: ["i18n"], outputs: ["change"] }], directives: [{ type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ReuseTabContextDirective, selector: "[reuse-tab-context-menu]", inputs: ["reuse-tab-context-menu", "customContextMenu"], exportAs: ["reuseTabContextMenu"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
986
995
  __decorate([
987
996
  InputBoolean()
988
997
  ], ReuseTabComponent.prototype, "debug", void 0);
@@ -1001,13 +1010,14 @@ __decorate([
1001
1010
  __decorate([
1002
1011
  InputBoolean()
1003
1012
  ], ReuseTabComponent.prototype, "disabled", void 0);
1004
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabComponent, decorators: [{
1013
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabComponent, decorators: [{
1005
1014
  type: Component,
1006
1015
  args: [{ selector: 'reuse-tab, [reuse-tab]', exportAs: 'reuseTab', host: {
1007
1016
  '[class.reuse-tab]': 'true',
1008
1017
  '[class.reuse-tab__line]': `tabType === 'line'`,
1009
1018
  '[class.reuse-tab__card]': `tabType === 'card'`,
1010
- '[class.reuse-tab__disabled]': `disabled`
1019
+ '[class.reuse-tab__disabled]': `disabled`,
1020
+ '[class.reuse-tab-rtl]': `dir === 'rtl'`
1011
1021
  }, providers: [ReuseTabContextService], preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, 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" }]
1012
1022
  }], ctorParameters: function () {
1013
1023
  return [{ type: ReuseTabService }, { type: i0.ChangeDetectorRef }, { type: i2$1.Router }, { type: i2$1.ActivatedRoute }, { type: undefined, decorators: [{
@@ -1018,7 +1028,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImpor
1018
1028
  }] }, { type: undefined, decorators: [{
1019
1029
  type: Inject,
1020
1030
  args: [DOCUMENT]
1021
- }] }, { type: i3.Platform }];
1031
+ }] }, { type: i3.Platform }, { type: i4.Directionality, decorators: [{
1032
+ type: Optional
1033
+ }] }];
1022
1034
  }, propDecorators: { tabset: [{
1023
1035
  type: ViewChild,
1024
1036
  args: ['tabset']
@@ -1087,10 +1099,10 @@ const COMPONENTS = [ReuseTabComponent];
1087
1099
  const NOEXPORTS = [ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective];
1088
1100
  class ReuseTabModule {
1089
1101
  }
1090
- ReuseTabModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1091
- ReuseTabModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabModule, declarations: [ReuseTabComponent, ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective], imports: [CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule], exports: [ReuseTabComponent] });
1092
- ReuseTabModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabModule, imports: [[CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule]] });
1093
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ReuseTabModule, decorators: [{
1102
+ ReuseTabModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1103
+ ReuseTabModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabModule, declarations: [ReuseTabComponent, ReuseTabContextMenuComponent, ReuseTabContextComponent, ReuseTabContextDirective], imports: [CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule], exports: [ReuseTabComponent] });
1104
+ ReuseTabModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabModule, imports: [[CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule]] });
1105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ReuseTabModule, decorators: [{
1094
1106
  type: NgModule,
1095
1107
  args: [{
1096
1108
  imports: [CommonModule, RouterModule, DelonLocaleModule, NzMenuModule, NzTabsModule, NzIconModule, OverlayModule],