@delon/abc 17.0.5 → 17.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 (240) hide show
  1. package/auto-focus/auto-focus.directive.d.ts +7 -12
  2. package/avatar-list/avatar-list-item.component.d.ts +1 -1
  3. package/avatar-list/avatar-list.component.d.ts +10 -12
  4. package/avatar-list/avatar-list.module.d.ts +6 -6
  5. package/cell/cell-host.directive.d.ts +3 -5
  6. package/cell/cell.component.d.ts +10 -15
  7. package/cell/cell.service.d.ts +4 -7
  8. package/count-down/count-down.component.d.ts +1 -1
  9. package/count-down/count-down.module.d.ts +4 -4
  10. package/date-picker/date-picker.module.d.ts +6 -6
  11. package/date-picker/range-shortcut.component.d.ts +2 -2
  12. package/date-picker/range.directive.d.ts +7 -9
  13. package/down-file/down-file.directive.d.ts +6 -7
  14. package/down-file/down-file.module.d.ts +4 -4
  15. package/ellipsis/ellipsis.component.d.ts +12 -15
  16. package/ellipsis/ellipsis.module.d.ts +5 -5
  17. package/error-collect/error-collect.component.d.ts +14 -14
  18. package/error-collect/error-collect.module.d.ts +4 -4
  19. package/esm2022/auto-focus/auto-focus.directive.mjs +21 -32
  20. package/esm2022/auto-focus/auto-focus.module.mjs +4 -4
  21. package/esm2022/avatar-list/avatar-list-item.component.mjs +6 -5
  22. package/esm2022/avatar-list/avatar-list.component.mjs +28 -34
  23. package/esm2022/avatar-list/avatar-list.module.mjs +6 -7
  24. package/esm2022/cell/cell-host.directive.mjs +10 -10
  25. package/esm2022/cell/cell.component.mjs +43 -59
  26. package/esm2022/cell/cell.module.mjs +4 -4
  27. package/esm2022/cell/cell.service.mjs +13 -14
  28. package/esm2022/count-down/count-down.component.mjs +9 -7
  29. package/esm2022/count-down/count-down.module.mjs +6 -7
  30. package/esm2022/date-picker/date-picker.module.mjs +6 -7
  31. package/esm2022/date-picker/range-shortcut.component.mjs +9 -9
  32. package/esm2022/date-picker/range.directive.mjs +16 -19
  33. package/esm2022/down-file/down-file.directive.mjs +17 -18
  34. package/esm2022/down-file/down-file.module.mjs +7 -8
  35. package/esm2022/ellipsis/ellipsis.component.mjs +36 -49
  36. package/esm2022/ellipsis/ellipsis.module.mjs +6 -7
  37. package/esm2022/error-collect/error-collect.component.mjs +27 -36
  38. package/esm2022/error-collect/error-collect.module.mjs +6 -7
  39. package/esm2022/exception/exception.component.mjs +21 -25
  40. package/esm2022/exception/exception.module.mjs +6 -7
  41. package/esm2022/footer-toolbar/footer-toolbar.component.mjs +18 -28
  42. package/esm2022/footer-toolbar/footer-toolbar.module.mjs +6 -7
  43. package/esm2022/full-content/full-content-toggle.directive.mjs +11 -10
  44. package/esm2022/full-content/full-content.component.mjs +26 -38
  45. package/esm2022/full-content/full-content.module.mjs +6 -7
  46. package/esm2022/full-content/full-content.service.mjs +3 -3
  47. package/esm2022/global-footer/global-footer-item.component.mjs +9 -12
  48. package/esm2022/global-footer/global-footer.component.mjs +23 -28
  49. package/esm2022/global-footer/global-footer.module.mjs +6 -7
  50. package/esm2022/hotkey/hotkey.directive.mjs +14 -14
  51. package/esm2022/hotkey/hotkey.module.mjs +4 -4
  52. package/esm2022/let/let.directive.mjs +3 -3
  53. package/esm2022/let/let.module.mjs +4 -4
  54. package/esm2022/loading/loading.component.mjs +8 -8
  55. package/esm2022/loading/loading.module.mjs +6 -7
  56. package/esm2022/loading/loading.service.mjs +15 -17
  57. package/esm2022/lodop/lodop.module.mjs +4 -4
  58. package/esm2022/lodop/lodop.service.mjs +10 -10
  59. package/esm2022/media/media.component.mjs +24 -25
  60. package/esm2022/media/media.module.mjs +6 -7
  61. package/esm2022/media/media.service.mjs +15 -15
  62. package/esm2022/notice-icon/notice-icon-tab.component.mjs +16 -9
  63. package/esm2022/notice-icon/notice-icon.component.mjs +40 -39
  64. package/esm2022/notice-icon/notice-icon.module.mjs +10 -9
  65. package/esm2022/observers/observer-size.mjs +18 -18
  66. package/esm2022/onboarding/onboarding.component.mjs +24 -30
  67. package/esm2022/onboarding/onboarding.module.mjs +25 -9
  68. package/esm2022/onboarding/onboarding.service.mjs +26 -33
  69. package/esm2022/page-header/page-header.component.mjs +61 -84
  70. package/esm2022/page-header/page-header.module.mjs +9 -9
  71. package/esm2022/pdf/pdf.component.mjs +46 -71
  72. package/esm2022/pdf/pdf.module.mjs +6 -7
  73. package/esm2022/qr/qr.component.mjs +11 -19
  74. package/esm2022/qr/qr.module.mjs +4 -4
  75. package/esm2022/quick-menu/quick-menu.component.mjs +21 -29
  76. package/esm2022/quick-menu/quick-menu.module.mjs +6 -7
  77. package/esm2022/result/result.component.mjs +20 -22
  78. package/esm2022/result/result.module.mjs +6 -7
  79. package/esm2022/reuse-tab/provide.mjs +2 -1
  80. package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +13 -14
  81. package/esm2022/reuse-tab/reuse-tab-context.component.mjs +12 -16
  82. package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +9 -9
  83. package/esm2022/reuse-tab/reuse-tab-context.service.mjs +9 -10
  84. package/esm2022/reuse-tab/reuse-tab.component.mjs +58 -93
  85. package/esm2022/reuse-tab/reuse-tab.module.mjs +4 -4
  86. package/esm2022/reuse-tab/reuse-tab.service.mjs +71 -60
  87. package/esm2022/reuse-tab/reuse-tab.strategy.mjs +5 -3
  88. package/esm2022/se/se-container.component.mjs +62 -79
  89. package/esm2022/se/se.component.mjs +42 -59
  90. package/esm2022/se/se.module.mjs +6 -7
  91. package/esm2022/sg/sg-container.component.mjs +12 -20
  92. package/esm2022/sg/sg.component.mjs +21 -27
  93. package/esm2022/sg/sg.module.mjs +6 -7
  94. package/esm2022/st/st-column-source.mjs +4 -4
  95. package/esm2022/st/st-data-source.mjs +4 -4
  96. package/esm2022/st/st-export.mjs +16 -12
  97. package/esm2022/st/st-filter.component.mjs +11 -11
  98. package/esm2022/st/st-row.directive.mjs +12 -14
  99. package/esm2022/st/st-widget-host.directive.mjs +10 -10
  100. package/esm2022/st/st-widget.mjs +3 -3
  101. package/esm2022/st/st.component.mjs +86 -125
  102. package/esm2022/st/st.module.mjs +4 -4
  103. package/esm2022/sv/sv-container.component.mjs +60 -78
  104. package/esm2022/sv/sv-value.component.mjs +9 -7
  105. package/esm2022/sv/sv.component.mjs +35 -48
  106. package/esm2022/sv/sv.module.mjs +6 -7
  107. package/esm2022/tag-select/tag-select.component.mjs +19 -24
  108. package/esm2022/tag-select/tag-select.module.mjs +6 -7
  109. package/esm2022/xlsx/xlsx.directive.mjs +9 -9
  110. package/esm2022/xlsx/xlsx.module.mjs +4 -4
  111. package/esm2022/xlsx/xlsx.service.mjs +13 -13
  112. package/esm2022/zip/zip.service.mjs +13 -13
  113. package/exception/exception.component.d.ts +13 -13
  114. package/exception/exception.module.d.ts +7 -7
  115. package/fesm2022/auto-focus.mjs +24 -35
  116. package/fesm2022/auto-focus.mjs.map +1 -1
  117. package/fesm2022/avatar-list.mjs +37 -46
  118. package/fesm2022/avatar-list.mjs.map +1 -1
  119. package/fesm2022/cell.mjs +67 -84
  120. package/fesm2022/cell.mjs.map +1 -1
  121. package/fesm2022/chart-observer-size.mjs +17 -17
  122. package/fesm2022/chart-observer-size.mjs.map +1 -1
  123. package/fesm2022/count-down.mjs +13 -13
  124. package/fesm2022/count-down.mjs.map +1 -1
  125. package/fesm2022/date-picker.mjs +28 -33
  126. package/fesm2022/date-picker.mjs.map +1 -1
  127. package/fesm2022/down-file.mjs +22 -25
  128. package/fesm2022/down-file.mjs.map +1 -1
  129. package/fesm2022/ellipsis.mjs +40 -56
  130. package/fesm2022/ellipsis.mjs.map +1 -1
  131. package/fesm2022/error-collect.mjs +31 -42
  132. package/fesm2022/error-collect.mjs.map +1 -1
  133. package/fesm2022/exception.mjs +25 -34
  134. package/fesm2022/exception.mjs.map +1 -1
  135. package/fesm2022/footer-toolbar.mjs +22 -35
  136. package/fesm2022/footer-toolbar.mjs.map +1 -1
  137. package/fesm2022/full-content.mjs +40 -52
  138. package/fesm2022/full-content.mjs.map +1 -1
  139. package/fesm2022/global-footer.mjs +34 -45
  140. package/fesm2022/global-footer.mjs.map +1 -1
  141. package/fesm2022/hotkey.mjs +17 -17
  142. package/fesm2022/hotkey.mjs.map +1 -1
  143. package/fesm2022/let.mjs +7 -7
  144. package/fesm2022/loading.mjs +26 -33
  145. package/fesm2022/loading.mjs.map +1 -1
  146. package/fesm2022/lodop.mjs +13 -13
  147. package/fesm2022/lodop.mjs.map +1 -1
  148. package/fesm2022/media.mjs +40 -42
  149. package/fesm2022/media.mjs.map +1 -1
  150. package/fesm2022/notice-icon.mjs +61 -62
  151. package/fesm2022/notice-icon.mjs.map +1 -1
  152. package/fesm2022/onboarding.mjs +71 -72
  153. package/fesm2022/onboarding.mjs.map +1 -1
  154. package/fesm2022/page-header.mjs +68 -97
  155. package/fesm2022/page-header.mjs.map +1 -1
  156. package/fesm2022/pdf.mjs +50 -77
  157. package/fesm2022/pdf.mjs.map +1 -1
  158. package/fesm2022/qr.mjs +14 -22
  159. package/fesm2022/qr.mjs.map +1 -1
  160. package/fesm2022/quick-menu.mjs +25 -37
  161. package/fesm2022/quick-menu.mjs.map +1 -1
  162. package/fesm2022/result.mjs +24 -29
  163. package/fesm2022/result.mjs.map +1 -1
  164. package/fesm2022/reuse-tab.mjs +175 -206
  165. package/fesm2022/reuse-tab.mjs.map +1 -1
  166. package/fesm2022/se.mjs +104 -141
  167. package/fesm2022/se.mjs.map +1 -1
  168. package/fesm2022/sg.mjs +34 -47
  169. package/fesm2022/sg.mjs.map +1 -1
  170. package/fesm2022/st.mjs +138 -172
  171. package/fesm2022/st.mjs.map +1 -1
  172. package/fesm2022/sv.mjs +102 -135
  173. package/fesm2022/sv.mjs.map +1 -1
  174. package/fesm2022/tag-select.mjs +23 -31
  175. package/fesm2022/tag-select.mjs.map +1 -1
  176. package/fesm2022/xlsx.mjs +22 -22
  177. package/fesm2022/xlsx.mjs.map +1 -1
  178. package/fesm2022/zip.mjs +12 -12
  179. package/fesm2022/zip.mjs.map +1 -1
  180. package/footer-toolbar/footer-toolbar.component.d.ts +6 -10
  181. package/footer-toolbar/footer-toolbar.module.d.ts +5 -5
  182. package/full-content/full-content-toggle.directive.d.ts +2 -4
  183. package/full-content/full-content.component.d.ts +11 -16
  184. package/full-content/full-content.module.d.ts +4 -4
  185. package/global-footer/global-footer-item.component.d.ts +2 -3
  186. package/global-footer/global-footer.component.d.ts +12 -16
  187. package/global-footer/global-footer.module.d.ts +5 -5
  188. package/hotkey/hotkey.directive.d.ts +4 -6
  189. package/loading/loading.component.d.ts +2 -2
  190. package/loading/loading.module.d.ts +7 -7
  191. package/loading/loading.service.d.ts +5 -8
  192. package/lodop/lodop.service.d.ts +2 -3
  193. package/media/media.component.d.ts +9 -13
  194. package/media/media.module.d.ts +3 -3
  195. package/media/media.service.d.ts +3 -5
  196. package/notice-icon/notice-icon-tab.component.d.ts +1 -1
  197. package/notice-icon/notice-icon.component.d.ts +9 -11
  198. package/notice-icon/notice-icon.module.d.ts +13 -13
  199. package/observers/observer-size.d.ts +4 -5
  200. package/onboarding/onboarding.component.d.ts +7 -10
  201. package/onboarding/onboarding.module.d.ts +8 -8
  202. package/onboarding/onboarding.service.d.ts +9 -16
  203. package/package.json +5 -5
  204. package/page-header/page-header.component.d.ts +24 -27
  205. package/page-header/page-header.module.d.ts +9 -9
  206. package/pdf/pdf.component.d.ts +22 -22
  207. package/pdf/pdf.module.d.ts +4 -4
  208. package/pdf/pdf.types.d.ts +1 -1
  209. package/qr/qr.component.d.ts +3 -4
  210. package/quick-menu/quick-menu.component.d.ts +8 -10
  211. package/quick-menu/quick-menu.module.d.ts +5 -5
  212. package/result/result.component.d.ts +8 -9
  213. package/result/result.module.d.ts +5 -5
  214. package/reuse-tab/reuse-tab-context-menu.component.d.ts +1 -3
  215. package/reuse-tab/reuse-tab-context.component.d.ts +4 -7
  216. package/reuse-tab/reuse-tab-context.directive.d.ts +1 -3
  217. package/reuse-tab/reuse-tab-context.service.d.ts +1 -3
  218. package/reuse-tab/reuse-tab.component.d.ts +21 -28
  219. package/reuse-tab/reuse-tab.service.d.ts +10 -12
  220. package/reuse-tab/reuse-tab.strategy.d.ts +1 -3
  221. package/se/se-container.component.d.ts +20 -21
  222. package/se/se.component.d.ts +17 -21
  223. package/se/se.module.d.ts +7 -7
  224. package/sg/sg-container.component.d.ts +4 -5
  225. package/sg/sg.component.d.ts +9 -12
  226. package/sg/sg.module.d.ts +4 -4
  227. package/st/st-export.d.ts +3 -4
  228. package/st/st-filter.component.d.ts +2 -3
  229. package/st/st-row.directive.d.ts +3 -4
  230. package/st/st-widget-host.directive.d.ts +3 -5
  231. package/st/st.component.d.ts +38 -41
  232. package/sv/sv-container.component.d.ts +19 -20
  233. package/sv/sv-value.component.d.ts +1 -1
  234. package/sv/sv.component.d.ts +13 -16
  235. package/sv/sv.module.d.ts +9 -9
  236. package/tag-select/tag-select.component.d.ts +11 -13
  237. package/tag-select/tag-select.module.d.ts +5 -5
  238. package/xlsx/xlsx.directive.d.ts +1 -3
  239. package/xlsx/xlsx.service.d.ts +4 -7
  240. package/zip/zip.service.d.ts +4 -7
@@ -1,19 +1,18 @@
1
- import { Direction, Directionality } from '@angular/cdk/bidi';
2
- import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
1
+ import { Direction } from '@angular/cdk/bidi';
2
+ import { OnInit, TemplateRef } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ResultComponent implements OnInit {
5
- private directionality;
6
- private cdr;
7
- private dir$;
5
+ private readonly cdr;
6
+ private readonly directionality;
7
+ private readonly destroy$;
8
8
  _type: string;
9
9
  _icon: string;
10
10
  set type(value: string);
11
11
  title?: string | TemplateRef<void>;
12
12
  description?: string | TemplateRef<void>;
13
13
  extra?: string | TemplateRef<void>;
14
- dir: Direction;
15
- constructor(directionality: Directionality, cdr: ChangeDetectorRef);
14
+ dir?: Direction;
16
15
  ngOnInit(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ResultComponent, [{ optional: true; }, null]>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<ResultComponent, "result", ["result"], { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; }, {}, never, ["*"], false, never>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultComponent, "result", ["result"], { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; }, {}, never, ["*"], true, never>;
19
18
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./result.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "ng-zorro-antd/icon";
5
- import * as i4 from "ng-zorro-antd/core/outlet";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "ng-zorro-antd/icon";
4
+ import * as i3 from "ng-zorro-antd/core/outlet";
5
+ import * as i4 from "./result.component";
6
6
  export declare class ResultModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ResultModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<ResultModule, [typeof i1.ResultComponent], [typeof i2.CommonModule, typeof i3.NzIconModule, typeof i4.NzOutletModule], [typeof i1.ResultComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResultModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.NzOutletModule, typeof i4.ResultComponent], [typeof i4.ResultComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<ResultModule>;
10
10
  }
@@ -1,9 +1,8 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { DelonLocaleService } from '@delon/theme';
3
2
  import { CloseType, ReuseContextCloseEvent, ReuseContextI18n, ReuseCustomContextMenu, ReuseItem } from './reuse-tab.interfaces';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class ReuseTabContextMenuComponent implements OnInit {
6
- private i18nSrv;
5
+ private readonly i18nSrv;
7
6
  private _i18n;
8
7
  set i18n(value: ReuseContextI18n);
9
8
  get i18n(): ReuseContextI18n;
@@ -12,7 +11,6 @@ export declare class ReuseTabContextMenuComponent implements OnInit {
12
11
  customContextMenu: ReuseCustomContextMenu[];
13
12
  readonly close: EventEmitter<ReuseContextCloseEvent>;
14
13
  get includeNonCloseable(): boolean;
15
- constructor(i18nSrv: DelonLocaleService);
16
14
  private notify;
17
15
  ngOnInit(): void;
18
16
  click(e: MouseEvent, type: CloseType, custom?: ReuseCustomContextMenu): void;
@@ -1,14 +1,11 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { ReuseTabContextService } from './reuse-tab-context.service';
1
+ import { EventEmitter } from '@angular/core';
3
2
  import { ReuseContextCloseEvent, ReuseContextI18n } from './reuse-tab.interfaces';
4
3
  import * as i0 from "@angular/core";
5
- export declare class ReuseTabContextComponent implements OnDestroy {
6
- private srv;
7
- private sub$;
4
+ export declare class ReuseTabContextComponent {
5
+ private readonly srv;
8
6
  set i18n(value: ReuseContextI18n | undefined);
9
7
  readonly change: EventEmitter<ReuseContextCloseEvent>;
10
- constructor(srv: ReuseTabContextService);
11
- ngOnDestroy(): void;
8
+ constructor();
12
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextComponent, never>;
13
10
  static ɵcmp: i0.ɵɵComponentDeclaration<ReuseTabContextComponent, "reuse-tab-context", never, { "i18n": { "alias": "i18n"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
14
11
  }
@@ -1,11 +1,9 @@
1
- import { ReuseTabContextService } from './reuse-tab-context.service';
2
1
  import { ReuseCustomContextMenu, ReuseItem } from './reuse-tab.interfaces';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class ReuseTabContextDirective {
5
- private srv;
4
+ private readonly srv;
6
5
  item: ReuseItem;
7
6
  customContextMenu: ReuseCustomContextMenu[];
8
- constructor(srv: ReuseTabContextService);
9
7
  _onContextMenu(event: MouseEvent): void;
10
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextDirective, never>;
11
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<ReuseTabContextDirective, "[reuse-tab-context-menu]", ["reuseTabContextMenu"], { "item": { "alias": "reuse-tab-context-menu"; "required": false; }; "customContextMenu": { "alias": "customContextMenu"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,14 +1,12 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
1
  import { Subject } from 'rxjs';
3
2
  import { ReuseContextCloseEvent, ReuseContextEvent, ReuseContextI18n } from './reuse-tab.interfaces';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class ReuseTabContextService {
6
- private overlay;
5
+ private readonly overlay;
7
6
  private ref;
8
7
  i18n?: ReuseContextI18n;
9
8
  show: Subject<ReuseContextEvent>;
10
9
  close: Subject<ReuseContextCloseEvent>;
11
- constructor(overlay: Overlay);
12
10
  remove(): void;
13
11
  open(context: ReuseContextEvent): void;
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextService, never>;
@@ -1,39 +1,26 @@
1
- import { Direction, Directionality } from '@angular/cdk/bidi';
2
- import { Platform } from '@angular/cdk/platform';
3
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
4
- import { ActivatedRoute, Router } from '@angular/router';
5
- import { AlainI18NService } from '@delon/theme';
6
- import { BooleanInput, NumberInput } from '@delon/util/decorator';
1
+ import { Direction } from '@angular/cdk/bidi';
2
+ import { EventEmitter, OnChanges, OnInit, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
7
3
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
8
4
  import { ReuseCanClose, ReuseContextCloseEvent, ReuseContextI18n, ReuseCustomContextMenu, ReuseItem, ReuseTabMatchMode, ReuseTabRouteParamMatchMode } from './reuse-tab.interfaces';
9
- import { ReuseTabService } from './reuse-tab.service';
10
- import { ReuseTabStorageState } from './reuse-tab.state';
11
5
  import * as i0 from "@angular/core";
12
6
  export declare class ReuseTabComponent implements OnInit, OnChanges {
13
- private srv;
14
- private cdr;
15
- private router;
16
- private route;
17
- private i18nSrv;
18
- private doc;
19
- private platform;
20
- private directionality;
21
- private stateKey;
22
- private stateSrv;
23
- static ngAcceptInputType_debug: BooleanInput;
24
- static ngAcceptInputType_max: NumberInput;
25
- static ngAcceptInputType_tabMaxWidth: NumberInput;
26
- static ngAcceptInputType_allowClose: BooleanInput;
27
- static ngAcceptInputType_keepingScroll: BooleanInput;
28
- static ngAcceptInputType_disabled: BooleanInput;
29
- static ngAcceptInputType_storageState: BooleanInput;
7
+ private readonly srv;
8
+ private readonly cdr;
9
+ private readonly router;
10
+ private readonly route;
11
+ private readonly i18nSrv;
12
+ private readonly doc;
13
+ private readonly platform;
14
+ private readonly directionality;
15
+ private readonly stateKey;
16
+ private readonly stateSrv;
30
17
  private tabset;
31
18
  private destroy$;
32
19
  private _keepingScrollContainer?;
33
20
  list: ReuseItem[];
34
21
  item?: ReuseItem;
35
22
  pos: number;
36
- dir: Direction;
23
+ dir?: Direction;
37
24
  mode: ReuseTabMatchMode;
38
25
  i18n?: ReuseContextI18n;
39
26
  debug: boolean;
@@ -59,7 +46,6 @@ export declare class ReuseTabComponent implements OnInit, OnChanges {
59
46
  canClose?: ReuseCanClose;
60
47
  readonly change: EventEmitter<ReuseItem>;
61
48
  readonly close: EventEmitter<ReuseItem | null>;
62
- constructor(srv: ReuseTabService, cdr: ChangeDetectorRef, router: Router, route: ActivatedRoute, i18nSrv: AlainI18NService, doc: NzSafeAny, platform: Platform, directionality: Directionality, stateKey: string, stateSrv: ReuseTabStorageState);
63
49
  private genTit;
64
50
  private get curUrl();
65
51
  private genCurItem;
@@ -83,6 +69,13 @@ export declare class ReuseTabComponent implements OnInit, OnChanges {
83
69
  ngOnChanges(changes: {
84
70
  [P in keyof this]?: SimpleChange;
85
71
  } & SimpleChanges): void;
86
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabComponent, [null, null, null, null, { optional: true; }, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabComponent, never>;
87
73
  static ɵcmp: i0.ɵɵComponentDeclaration<ReuseTabComponent, "reuse-tab, [reuse-tab]", ["reuseTab"], { "mode": { "alias": "mode"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "max": { "alias": "max"; "required": false; }; "tabMaxWidth": { "alias": "tabMaxWidth"; "required": false; }; "excludes": { "alias": "excludes"; "required": false; }; "allowClose": { "alias": "allowClose"; "required": false; }; "keepingScroll": { "alias": "keepingScroll"; "required": false; }; "storageState": { "alias": "storageState"; "required": false; }; "keepingScrollContainer": { "alias": "keepingScrollContainer"; "required": false; }; "customContextMenu": { "alias": "customContextMenu"; "required": false; }; "tabBarExtraContent": { "alias": "tabBarExtraContent"; "required": false; }; "tabBarGutter": { "alias": "tabBarGutter"; "required": false; }; "tabBarStyle": { "alias": "tabBarStyle"; "required": false; }; "tabType": { "alias": "tabType"; "required": false; }; "routeParamMatchMode": { "alias": "routeParamMatchMode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "titleRender": { "alias": "titleRender"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; }, { "change": "change"; "close": "close"; }, never, never, true, never>;
74
+ static ngAcceptInputType_debug: unknown;
75
+ static ngAcceptInputType_max: unknown;
76
+ static ngAcceptInputType_tabMaxWidth: unknown;
77
+ static ngAcceptInputType_allowClose: unknown;
78
+ static ngAcceptInputType_keepingScroll: unknown;
79
+ static ngAcceptInputType_storageState: unknown;
80
+ static ngAcceptInputType_disabled: unknown;
88
81
  }
@@ -1,18 +1,15 @@
1
- import { Injector, OnDestroy } from '@angular/core';
1
+ import { OnDestroy } from '@angular/core';
2
2
  import { ActivatedRouteSnapshot } from '@angular/router';
3
3
  import { Observable } from 'rxjs';
4
- import { MenuService } from '@delon/theme';
5
4
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
6
- import { ReuseTabCachedManager } from './reuse-tab.cache';
7
5
  import { ReuseComponentRef, ReuseHookOnReuseInitType, ReuseHookTypes, ReuseTabCached, ReuseTabMatchMode, ReuseTabNotify, ReuseTabRouteParamMatchMode, ReuseTitle } from './reuse-tab.interfaces';
8
- import { ReuseTabStorageState } from './reuse-tab.state';
9
6
  import * as i0 from "@angular/core";
10
7
  export declare class ReuseTabService implements OnDestroy {
11
- private injector;
12
- private menuService;
13
- private cached;
14
- private stateKey;
15
- private stateSrv;
8
+ private readonly injector;
9
+ private readonly menuService;
10
+ private readonly cached;
11
+ private readonly stateKey;
12
+ private readonly stateSrv;
16
13
  private _inited;
17
14
  private _max;
18
15
  private _keepingScroll;
@@ -46,7 +43,7 @@ export declare class ReuseTabService implements OnDestroy {
46
43
  set max(value: number);
47
44
  set keepingScroll(value: boolean);
48
45
  get keepingScroll(): boolean;
49
- keepingScrollContainer?: Element;
46
+ keepingScrollContainer?: Element | null;
50
47
  /** 获取已缓存的路由 */
51
48
  get items(): ReuseTabCached[];
52
49
  /** 获取当前缓存的路由总数 */
@@ -151,7 +148,7 @@ export declare class ReuseTabService implements OnDestroy {
151
148
  refresh(data?: NzSafeAny): void;
152
149
  private destroy;
153
150
  private di;
154
- constructor(injector: Injector, menuService: MenuService, cached: ReuseTabCachedManager, stateKey: string, stateSrv: ReuseTabStorageState);
151
+ constructor();
155
152
  init(): void;
156
153
  private loadState;
157
154
  private getMenu;
@@ -161,6 +158,7 @@ export declare class ReuseTabService implements OnDestroy {
161
158
  * 决定是否允许路由复用,若 `true` 会触发 `store`
162
159
  */
163
160
  shouldDetach(route: ActivatedRouteSnapshot): boolean;
161
+ saveCache(snapshot: ActivatedRouteSnapshot, _handle?: NzSafeAny, pos?: number): void;
164
162
  /**
165
163
  * 存储
166
164
  */
@@ -189,6 +187,6 @@ export declare class ReuseTabService implements OnDestroy {
189
187
  private get ss();
190
188
  private initScroll;
191
189
  ngOnDestroy(): void;
192
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabService, [null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
190
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabService, never>;
193
191
  static ɵprov: i0.ɵɵInjectableDeclaration<ReuseTabService>;
194
192
  }
@@ -1,9 +1,7 @@
1
1
  import { ActivatedRouteSnapshot, RouteReuseStrategy } from '@angular/router';
2
2
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
3
- import { ReuseTabService } from './reuse-tab.service';
4
3
  export declare class ReuseTabStrategy implements RouteReuseStrategy {
5
- private srv;
6
- constructor(srv: ReuseTabService);
4
+ private readonly srv;
7
5
  shouldDetach(route: ActivatedRouteSnapshot): boolean;
8
6
  store(route: ActivatedRouteSnapshot, handle: unknown): void;
9
7
  shouldAttach(route: ActivatedRouteSnapshot): boolean;
@@ -1,19 +1,20 @@
1
- import { ElementRef, OnInit, Renderer2, TemplateRef } from '@angular/core';
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import type { REP_TYPE } from '@delon/theme';
4
4
  import { AlainConfigService } from '@delon/util/config';
5
- import { BooleanInput, NumberInput } from '@delon/util/decorator';
6
5
  import { SEErrorRefresh, SELayout } from './se.types';
7
6
  import * as i0 from "@angular/core";
7
+ export declare class SETitleComponent implements OnInit {
8
+ private readonly parentComp;
9
+ private readonly el;
10
+ private readonly ren;
11
+ constructor();
12
+ private setClass;
13
+ ngOnInit(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SETitleComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SETitleComponent, "se-title, [se-title]", ["seTitle"], {}, {}, never, ["*"], true, never>;
16
+ }
8
17
  export declare class SEContainerComponent {
9
- static ngAcceptInputType_gutter: NumberInput;
10
- static ngAcceptInputType_col: NumberInput;
11
- static ngAcceptInputType_colInCon: NumberInput;
12
- static ngAcceptInputType_labelWidth: NumberInput;
13
- static ngAcceptInputType_firstVisual: BooleanInput;
14
- static ngAcceptInputType_ingoreDirty: BooleanInput;
15
- static ngAcceptInputType_line: BooleanInput;
16
- static ngAcceptInputType_noColon: BooleanInput;
17
18
  private errorNotify$;
18
19
  colInCon?: REP_TYPE;
19
20
  col: REP_TYPE;
@@ -36,15 +37,13 @@ export declare class SEContainerComponent {
36
37
  constructor(configSrv: AlainConfigService);
37
38
  setErrors(errors: SEErrorRefresh[]): void;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<SEContainerComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<SEContainerComponent, "se-container, [se-container]", ["seContainer"], { "colInCon": { "alias": "se-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "nzLayout": { "alias": "nzLayout"; "required": false; }; "size": { "alias": "size"; "required": false; }; "firstVisual": { "alias": "firstVisual"; "required": false; }; "ingoreDirty": { "alias": "ingoreDirty"; "required": false; }; "line": { "alias": "line"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"], false, never>;
40
- }
41
- export declare class SETitleComponent implements OnInit {
42
- private parent;
43
- private ren;
44
- private el;
45
- constructor(parent: SEContainerComponent, el: ElementRef, ren: Renderer2);
46
- private setClass;
47
- ngOnInit(): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<SETitleComponent, [{ optional: true; host: true; }, null, null]>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<SETitleComponent, "se-title, [se-title]", ["seTitle"], {}, {}, never, ["*"], false, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<SEContainerComponent, "se-container, [se-container]", ["seContainer"], { "colInCon": { "alias": "se-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "nzLayout": { "alias": "nzLayout"; "required": false; }; "size": { "alias": "size"; "required": false; }; "firstVisual": { "alias": "firstVisual"; "required": false; }; "ingoreDirty": { "alias": "ingoreDirty"; "required": false; }; "line": { "alias": "line"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"], true, never>;
41
+ static ngAcceptInputType_colInCon: unknown;
42
+ static ngAcceptInputType_col: unknown;
43
+ static ngAcceptInputType_labelWidth: unknown;
44
+ static ngAcceptInputType_noColon: unknown;
45
+ static ngAcceptInputType_gutter: unknown;
46
+ static ngAcceptInputType_firstVisual: unknown;
47
+ static ngAcceptInputType_ingoreDirty: unknown;
48
+ static ngAcceptInputType_line: unknown;
50
49
  }
@@ -1,24 +1,14 @@
1
- import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, Renderer2, TemplateRef } from '@angular/core';
2
- import { ResponsiveService } from '@delon/theme';
3
- import { BooleanInput, NumberInput } from '@delon/util/decorator';
4
- import { NzFormStatusService } from 'ng-zorro-antd/core/form';
5
- import { SEContainerComponent } from './se-container.component';
1
+ import { AfterContentInit, AfterViewInit, OnChanges, TemplateRef } from '@angular/core';
6
2
  import { SEErrorType } from './se.types';
7
3
  import * as i0 from "@angular/core";
8
4
  export declare class SEComponent implements OnChanges, AfterContentInit, AfterViewInit {
9
- private parent;
10
- private statusSrv;
11
- private rep;
12
- private ren;
13
- private cdr;
14
- static ngAcceptInputType_col: NumberInput;
15
- static ngAcceptInputType_required: BooleanInput;
16
- static ngAcceptInputType_line: BooleanInput;
17
- static ngAcceptInputType_labelWidth: NumberInput;
18
- static ngAcceptInputType_noColon: BooleanInput;
19
- static ngAcceptInputType_hideLabel: BooleanInput;
20
- private el;
21
- private destroy$;
5
+ private readonly parentComp;
6
+ private readonly el;
7
+ private readonly rep;
8
+ private readonly ren;
9
+ private readonly cdr;
10
+ private readonly statusSrv;
11
+ private readonly destroy$;
22
12
  private readonly ngModel?;
23
13
  private readonly formControlName?;
24
14
  private readonly contentElement;
@@ -51,7 +41,7 @@ export declare class SEComponent implements OnChanges, AfterContentInit, AfterVi
51
41
  get showErr(): boolean;
52
42
  get compact(): boolean;
53
43
  private get ngControl();
54
- constructor(el: ElementRef, parent: SEContainerComponent, statusSrv: NzFormStatusService, rep: ResponsiveService, ren: Renderer2, cdr: ChangeDetectorRef);
44
+ constructor();
55
45
  private setClass;
56
46
  private bindModel;
57
47
  private updateStatus;
@@ -59,6 +49,12 @@ export declare class SEComponent implements OnChanges, AfterContentInit, AfterVi
59
49
  ngAfterContentInit(): void;
60
50
  ngOnChanges(): void;
61
51
  ngAfterViewInit(): void;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<SEComponent, [null, { optional: true; host: true; }, null, null, null, null]>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<SEComponent, "se", ["se"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "error": { "alias": "error"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "label": { "alias": "label"; "required": false; }; "col": { "alias": "col"; "required": false; }; "required": { "alias": "required"; "required": false; }; "controlClass": { "alias": "controlClass"; "required": false; }; "line": { "alias": "line"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, ["ngModel", "formControlName"], ["*"], false, never>;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<SEComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<SEComponent, "se", ["se"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "error": { "alias": "error"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "label": { "alias": "label"; "required": false; }; "col": { "alias": "col"; "required": false; }; "required": { "alias": "required"; "required": false; }; "controlClass": { "alias": "controlClass"; "required": false; }; "line": { "alias": "line"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, ["ngModel", "formControlName"], ["*"], true, never>;
54
+ static ngAcceptInputType_col: unknown;
55
+ static ngAcceptInputType_required: unknown;
56
+ static ngAcceptInputType_line: unknown;
57
+ static ngAcceptInputType_labelWidth: unknown;
58
+ static ngAcceptInputType_noColon: unknown;
59
+ static ngAcceptInputType_hideLabel: unknown;
64
60
  }
package/se/se.module.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./se-container.component";
3
- import * as i2 from "./se.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "ng-zorro-antd/tooltip";
6
- import * as i5 from "ng-zorro-antd/icon";
7
- import * as i6 from "ng-zorro-antd/core/outlet";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "ng-zorro-antd/tooltip";
4
+ import * as i3 from "ng-zorro-antd/icon";
5
+ import * as i4 from "ng-zorro-antd/core/outlet";
6
+ import * as i5 from "./se-container.component";
7
+ import * as i6 from "./se.component";
8
8
  export declare class SEModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SEModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<SEModule, [typeof i1.SEContainerComponent, typeof i2.SEComponent, typeof i1.SETitleComponent], [typeof i3.CommonModule, typeof i4.NzToolTipModule, typeof i5.NzIconModule, typeof i6.NzOutletModule], [typeof i1.SEContainerComponent, typeof i2.SEComponent, typeof i1.SETitleComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SEModule, never, [typeof i1.CommonModule, typeof i2.NzToolTipModule, typeof i3.NzIconModule, typeof i4.NzOutletModule, typeof i5.SEContainerComponent, typeof i6.SEComponent, typeof i5.SETitleComponent], [typeof i5.SEContainerComponent, typeof i6.SEComponent, typeof i5.SETitleComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<SEModule>;
12
12
  }
@@ -1,16 +1,15 @@
1
1
  import type { REP_TYPE } from '@delon/theme';
2
2
  import { AlainConfigService } from '@delon/util/config';
3
- import { NumberInput } from '@delon/util/decorator';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class SGContainerComponent {
6
- static ngAcceptInputType_gutter: NumberInput;
7
- static ngAcceptInputType_colInCon: NumberInput;
8
- static ngAcceptInputType_col: NumberInput;
9
5
  gutter: number;
10
6
  colInCon?: REP_TYPE;
11
7
  col: REP_TYPE;
12
8
  get marginValue(): number;
13
9
  constructor(configSrv: AlainConfigService);
14
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SGContainerComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SGContainerComponent, "sg-container, [sg-container]", ["sgContainer"], { "gutter": { "alias": "gutter"; "required": false; }; "colInCon": { "alias": "sg-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SGContainerComponent, "sg-container, [sg-container]", ["sgContainer"], { "gutter": { "alias": "gutter"; "required": false; }; "colInCon": { "alias": "sg-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], true, never>;
12
+ static ngAcceptInputType_gutter: unknown;
13
+ static ngAcceptInputType_colInCon: unknown;
14
+ static ngAcceptInputType_col: unknown;
16
15
  }
@@ -1,22 +1,19 @@
1
- import { AfterViewInit, ElementRef, OnChanges, Renderer2 } from '@angular/core';
2
- import { ResponsiveService } from '@delon/theme';
3
- import { NumberInput } from '@delon/util/decorator';
4
- import { SGContainerComponent } from './sg-container.component';
1
+ import { AfterViewInit, OnChanges } from '@angular/core';
5
2
  import * as i0 from "@angular/core";
6
3
  export declare class SGComponent implements OnChanges, AfterViewInit {
7
- private ren;
8
- private parent;
9
- private rep;
10
- static ngAcceptInputType_col: NumberInput;
11
- private el;
4
+ private readonly el;
5
+ private readonly ren;
6
+ private readonly rep;
7
+ private readonly parentComp;
12
8
  private clsMap;
13
9
  private inited;
14
10
  col: number | null;
15
11
  get paddingValue(): number;
16
- constructor(el: ElementRef, ren: Renderer2, parent: SGContainerComponent, rep: ResponsiveService);
12
+ constructor();
17
13
  private setClass;
18
14
  ngOnChanges(): void;
19
15
  ngAfterViewInit(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<SGComponent, [null, null, { optional: true; host: true; }, null]>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<SGComponent, "sg", ["sg"], { "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], false, never>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SGComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SGComponent, "sg", ["sg"], { "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], true, never>;
18
+ static ngAcceptInputType_col: unknown;
22
19
  }
package/sg/sg.module.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./sg-container.component";
3
- import * as i2 from "./sg.component";
4
- import * as i3 from "@angular/common";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./sg-container.component";
4
+ import * as i3 from "./sg.component";
5
5
  export declare class SGModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SGModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SGModule, [typeof i1.SGContainerComponent, typeof i2.SGComponent], [typeof i3.CommonModule], [typeof i1.SGContainerComponent, typeof i2.SGComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SGModule, never, [typeof i1.CommonModule, typeof i2.SGContainerComponent, typeof i3.SGComponent], [typeof i2.SGContainerComponent, typeof i3.SGComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<SGModule>;
9
9
  }
package/st/st-export.d.ts CHANGED
@@ -1,12 +1,11 @@
1
- import { XlsxExportResult, XlsxService } from '@delon/abc/xlsx';
1
+ import { XlsxExportResult } from '@delon/abc/xlsx';
2
2
  import { STExportOptions } from './st.interfaces';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class STExport {
5
- private xlsxSrv;
6
- constructor(xlsxSrv: XlsxService);
5
+ private readonly xlsxSrv;
7
6
  private _stGet;
8
7
  private genSheet;
9
8
  export(opt: STExportOptions): Promise<XlsxExportResult>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<STExport, [{ optional: true; }]>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<STExport, never>;
11
10
  static ɵprov: i0.ɵɵInjectableDeclaration<STExport>;
12
11
  }
@@ -1,10 +1,10 @@
1
- import { ChangeDetectorRef, EventEmitter } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { LocaleData } from '@delon/theme';
3
3
  import { STColumnFilter, STColumnFilterMenu, STIcon } from './st.interfaces';
4
4
  import { _STColumn } from './st.types';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class STFilterComponent {
7
- private cdr;
7
+ private readonly cdr;
8
8
  visible: boolean;
9
9
  col: _STColumn;
10
10
  locale: LocaleData;
@@ -12,7 +12,6 @@ export declare class STFilterComponent {
12
12
  readonly n: EventEmitter<unknown>;
13
13
  readonly handle: EventEmitter<boolean>;
14
14
  get icon(): STIcon;
15
- constructor(cdr: ChangeDetectorRef);
16
15
  stopPropagation($event: MouseEvent): void;
17
16
  checkboxChange(): void;
18
17
  radioChange(item: STColumnFilterMenu): void;
@@ -10,12 +10,11 @@ export declare class STRowSource {
10
10
  static ɵprov: i0.ɵɵInjectableDeclaration<STRowSource>;
11
11
  }
12
12
  export declare class STRowDirective implements OnInit {
13
- private ref;
14
- private source;
13
+ private readonly source;
14
+ private readonly ref;
15
15
  id: string;
16
16
  type?: 'title';
17
- constructor(ref: TemplateRef<void>, source: STRowSource);
18
17
  ngOnInit(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<STRowDirective, [null, { host: true; }]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<STRowDirective, never>;
20
19
  static ɵdir: i0.ɵɵDirectiveDeclaration<STRowDirective, "[st-row]", never, { "id": { "alias": "st-row"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
21
20
  }
@@ -1,13 +1,11 @@
1
- import { OnInit, ViewContainerRef } from '@angular/core';
2
- import { STWidgetRegistry } from './st-widget';
1
+ import { OnInit } from '@angular/core';
3
2
  import { STColumn, STData } from './st.interfaces';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class STWidgetHostDirective implements OnInit {
6
- private stWidgetRegistry;
7
- private viewContainerRef;
5
+ private readonly stWidgetRegistry;
6
+ private readonly viewContainerRef;
8
7
  record: STData;
9
8
  column: STColumn;
10
- constructor(stWidgetRegistry: STWidgetRegistry, viewContainerRef: ViewContainerRef);
11
9
  ngOnInit(): void;
12
10
  static ɵfac: i0.ɵɵFactoryDeclaration<STWidgetHostDirective, never>;
13
11
  static ɵdir: i0.ɵɵDirectiveDeclaration<STWidgetHostDirective, "[st-widget-host]", never, { "record": { "alias": "record"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, false, never>;