@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,43 +1,26 @@
1
1
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
2
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChange, SimpleChanges, TemplateRef, TrackByFunction } from '@angular/core';
3
- import { Router } from '@angular/router';
2
+ import { AfterViewInit, EventEmitter, OnChanges, SimpleChange, SimpleChanges, TemplateRef, TrackByFunction } from '@angular/core';
4
3
  import { Observable } from 'rxjs';
5
- import { AlainI18NService, DelonLocaleService, DrawerHelper, LocaleData, ModalHelper } from '@delon/theme';
4
+ import { LocaleData } from '@delon/theme';
6
5
  import { AlainConfigService, AlainSTConfig } from '@delon/util/config';
7
- import { BooleanInput, NumberInput } from '@delon/util/decorator';
8
6
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
9
- import { NzContextMenuService, NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown';
7
+ import { NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown';
10
8
  import { NzResizeEvent } from 'ng-zorro-antd/resizable';
11
9
  import { NzTableComponent } from 'ng-zorro-antd/table';
12
- import { STColumnSource } from './st-column-source';
13
- import { STDataSource } from './st-data-source';
14
- import { STExport } from './st-export';
15
- import { STChange, STClickRowClassName, STColumn, STColumnButton, STColumnSelection, STContextmenuFn, STContextmenuItem, STCustomRequestOptions, STData, STError, STExportOptions, STLoadOptions, STPage, STReq, STRes, STResetColumnsOption, STResizable, STRowClassName, STSingleSort, STStatisticalResults, STWidthMode } from './st.interfaces';
16
- import { _STColumn, _STHeader, _STTdNotify } from './st.types';
10
+ import type { STChange, STClickRowClassName, STColumn, STColumnButton, STColumnSelection, STContextmenuFn, STContextmenuItem, STCustomRequestOptions, STData, STError, STExportOptions, STLoadOptions, STPage, STReq, STRes, STResetColumnsOption, STResizable, STRowClassName, STSingleSort, STStatisticalResults, STWidthMode } from './st.interfaces';
11
+ import type { _STColumn, _STHeader, _STTdNotify } from './st.types';
17
12
  import * as i0 from "@angular/core";
18
13
  export declare class STComponent implements AfterViewInit, OnChanges {
19
- private cdr;
20
- private el;
21
- private exportSrv;
22
- private doc;
23
- private columnSource;
24
- private dataSource;
25
- private delonI18n;
26
- private cms;
27
- static ngAcceptInputType_ps: NumberInput;
28
- static ngAcceptInputType_pi: NumberInput;
29
- static ngAcceptInputType_total: NumberInput;
30
- static ngAcceptInputType_loadingDelay: NumberInput;
31
- static ngAcceptInputType_bordered: BooleanInput;
32
- static ngAcceptInputType_expandRowByClick: BooleanInput;
33
- static ngAcceptInputType_expandAccordion: BooleanInput;
34
- static ngAcceptInputType_responsive: BooleanInput;
35
- static ngAcceptInputType_responsiveHideHeaderFooter: BooleanInput;
36
- static ngAcceptInputType_virtualScroll: BooleanInput;
37
- static ngAcceptInputType_virtualItemSize: NumberInput;
38
- static ngAcceptInputType_virtualMaxBufferPx: NumberInput;
39
- static ngAcceptInputType_virtualMinBufferPx: NumberInput;
40
- private destroy$;
14
+ private readonly i18nSrv;
15
+ private readonly el;
16
+ private readonly cdr;
17
+ private readonly doc;
18
+ private readonly exportSrv;
19
+ private readonly columnSource;
20
+ private readonly dataSource;
21
+ private readonly delonI18n;
22
+ private readonly cms;
23
+ private readonly destroy$;
41
24
  private totalTpl;
42
25
  private inied;
43
26
  cog: AlainSTConfig;
@@ -119,6 +102,7 @@ export declare class STComponent implements AfterViewInit, OnChanges {
119
102
  virtualMinBufferPx: number;
120
103
  customRequest?: (options: STCustomRequestOptions) => Observable<NzSafeAny>;
121
104
  virtualForTrackBy: TrackByFunction<STData>;
105
+ trackBy: TrackByFunction<STData>;
122
106
  /**
123
107
  * Get the number of the current page
124
108
  */
@@ -128,7 +112,7 @@ export declare class STComponent implements AfterViewInit, OnChanges {
128
112
  */
129
113
  get list(): STData[];
130
114
  get noColumns(): boolean;
131
- constructor(i18nSrv: AlainI18NService, cdr: ChangeDetectorRef, el: ElementRef, exportSrv: STExport, doc: NzSafeAny, columnSource: STColumnSource, dataSource: STDataSource, delonI18n: DelonLocaleService, configSrv: AlainConfigService, cms: NzContextMenuService);
115
+ constructor(configSrv: AlainConfigService);
132
116
  private setCog;
133
117
  cd(): this;
134
118
  private refreshData;
@@ -257,14 +241,28 @@ export declare class STComponent implements AfterViewInit, OnChanges {
257
241
  ngOnChanges(changes: {
258
242
  [P in keyof this]?: SimpleChange;
259
243
  } & SimpleChanges): void;
260
- static ɵfac: i0.ɵɵFactoryDeclaration<STComponent, [{ optional: true; }, null, null, null, null, null, null, null, null, null]>;
261
- static ɵcmp: i0.ɵɵComponentDeclaration<STComponent, "st", ["st"], { "req": { "alias": "req"; "required": false; }; "res": { "alias": "res"; "required": false; }; "page": { "alias": "page"; "required": false; }; "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "contextmenu": { "alias": "contextmenu"; "required": false; }; "ps": { "alias": "ps"; "required": false; }; "pi": { "alias": "pi"; "required": false; }; "total": { "alias": "total"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "size": { "alias": "size"; "required": false; }; "scroll": { "alias": "scroll"; "required": false; }; "singleSort": { "alias": "singleSort"; "required": false; }; "multiSort": { "alias": "multiSort"; "required": false; }; "rowClassName": { "alias": "rowClassName"; "required": false; }; "clickRowClassName": { "alias": "clickRowClassName"; "required": false; }; "widthMode": { "alias": "widthMode"; "required": false; }; "widthConfig": { "alias": "widthConfig"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "header": { "alias": "header"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "bodyHeader": { "alias": "bodyHeader"; "required": false; }; "body": { "alias": "body"; "required": false; }; "expandRowByClick": { "alias": "expandRowByClick"; "required": false; }; "expandAccordion": { "alias": "expandAccordion"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "noResult": { "alias": "noResult"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "responsiveHideHeaderFooter": { "alias": "responsiveHideHeaderFooter"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualItemSize": { "alias": "virtualItemSize"; "required": false; }; "virtualMaxBufferPx": { "alias": "virtualMaxBufferPx"; "required": false; }; "virtualMinBufferPx": { "alias": "virtualMinBufferPx"; "required": false; }; "customRequest": { "alias": "customRequest"; "required": false; }; "virtualForTrackBy": { "alias": "virtualForTrackBy"; "required": false; }; }, { "error": "error"; "change": "change"; }, never, never, false, never>;
244
+ static ɵfac: i0.ɵɵFactoryDeclaration<STComponent, never>;
245
+ static ɵcmp: i0.ɵɵComponentDeclaration<STComponent, "st", ["st"], { "req": { "alias": "req"; "required": false; }; "res": { "alias": "res"; "required": false; }; "page": { "alias": "page"; "required": false; }; "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "contextmenu": { "alias": "contextmenu"; "required": false; }; "ps": { "alias": "ps"; "required": false; }; "pi": { "alias": "pi"; "required": false; }; "total": { "alias": "total"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "size": { "alias": "size"; "required": false; }; "scroll": { "alias": "scroll"; "required": false; }; "singleSort": { "alias": "singleSort"; "required": false; }; "multiSort": { "alias": "multiSort"; "required": false; }; "rowClassName": { "alias": "rowClassName"; "required": false; }; "clickRowClassName": { "alias": "clickRowClassName"; "required": false; }; "widthMode": { "alias": "widthMode"; "required": false; }; "widthConfig": { "alias": "widthConfig"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "header": { "alias": "header"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "bodyHeader": { "alias": "bodyHeader"; "required": false; }; "body": { "alias": "body"; "required": false; }; "expandRowByClick": { "alias": "expandRowByClick"; "required": false; }; "expandAccordion": { "alias": "expandAccordion"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "noResult": { "alias": "noResult"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "responsiveHideHeaderFooter": { "alias": "responsiveHideHeaderFooter"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualItemSize": { "alias": "virtualItemSize"; "required": false; }; "virtualMaxBufferPx": { "alias": "virtualMaxBufferPx"; "required": false; }; "virtualMinBufferPx": { "alias": "virtualMinBufferPx"; "required": false; }; "customRequest": { "alias": "customRequest"; "required": false; }; "virtualForTrackBy": { "alias": "virtualForTrackBy"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, { "error": "error"; "change": "change"; }, never, never, false, never>;
246
+ static ngAcceptInputType_ps: unknown;
247
+ static ngAcceptInputType_pi: unknown;
248
+ static ngAcceptInputType_total: unknown;
249
+ static ngAcceptInputType_loadingDelay: unknown;
250
+ static ngAcceptInputType_bordered: unknown;
251
+ static ngAcceptInputType_showHeader: unknown;
252
+ static ngAcceptInputType_expandRowByClick: unknown;
253
+ static ngAcceptInputType_expandAccordion: unknown;
254
+ static ngAcceptInputType_responsive: unknown;
255
+ static ngAcceptInputType_responsiveHideHeaderFooter: unknown;
256
+ static ngAcceptInputType_virtualScroll: unknown;
257
+ static ngAcceptInputType_virtualItemSize: unknown;
258
+ static ngAcceptInputType_virtualMaxBufferPx: unknown;
259
+ static ngAcceptInputType_virtualMinBufferPx: unknown;
262
260
  }
263
261
  export declare class STTdComponent {
264
- private stComp;
265
- private router;
266
- private modalHelper;
267
- private drawerHelper;
262
+ private readonly stComp;
263
+ private readonly router;
264
+ private readonly modalHelper;
265
+ private readonly drawerHelper;
268
266
  c: _STColumn;
269
267
  cIdx: number;
270
268
  data: STData[];
@@ -272,7 +270,6 @@ export declare class STTdComponent {
272
270
  index: number;
273
271
  readonly n: EventEmitter<_STTdNotify>;
274
272
  private get routerState();
275
- constructor(stComp: STComponent, router: Router, modalHelper: ModalHelper, drawerHelper: DrawerHelper);
276
273
  private report;
277
274
  _checkbox(value: boolean): void;
278
275
  _radio(): void;
@@ -280,6 +277,6 @@ export declare class STTdComponent {
280
277
  _stopPropagation(ev: Event): void;
281
278
  _btn(btn: STColumnButton, ev?: Event): void;
282
279
  private btnCallback;
283
- static ɵfac: i0.ɵɵFactoryDeclaration<STTdComponent, [{ host: true; }, null, null, null]>;
280
+ static ɵfac: i0.ɵɵFactoryDeclaration<STTdComponent, never>;
284
281
  static ɵcmp: i0.ɵɵComponentDeclaration<STTdComponent, "st-td", never, { "c": { "alias": "c"; "required": false; }; "cIdx": { "alias": "cIdx"; "required": false; }; "data": { "alias": "data"; "required": false; }; "i": { "alias": "i"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, { "n": "n"; }, never, never, false, never>;
285
282
  }
@@ -1,16 +1,18 @@
1
- import { ElementRef, OnInit, Renderer2, TemplateRef } from '@angular/core';
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
2
  import type { REP_TYPE } from '@delon/theme';
3
3
  import { AlainConfigService } from '@delon/util/config';
4
- import { BooleanInput, NumberInput } from '@delon/util/decorator';
5
4
  import * as i0 from "@angular/core";
5
+ export declare class SVTitleComponent implements OnInit {
6
+ private readonly el;
7
+ private readonly parentComp;
8
+ private readonly ren;
9
+ constructor();
10
+ private setClass;
11
+ ngOnInit(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SVTitleComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SVTitleComponent, "sv-title, [sv-title]", ["svTitle"], {}, {}, never, ["*"], true, never>;
14
+ }
6
15
  export declare class SVContainerComponent {
7
- static ngAcceptInputType_gutter: NumberInput;
8
- static ngAcceptInputType_labelWidth: NumberInput;
9
- static ngAcceptInputType_col: NumberInput;
10
- static ngAcceptInputType_colInCon: NumberInput;
11
- static ngAcceptInputType_default: BooleanInput;
12
- static ngAcceptInputType_noColon: BooleanInput;
13
- static ngAcceptInputType_bordered: BooleanInput;
14
16
  colInCon?: REP_TYPE;
15
17
  title?: string | TemplateRef<void>;
16
18
  size?: 'small' | 'large' | 'default';
@@ -28,15 +30,12 @@ export declare class SVContainerComponent {
28
30
  };
29
31
  constructor(configSrv: AlainConfigService);
30
32
  static ɵfac: i0.ɵɵFactoryDeclaration<SVContainerComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<SVContainerComponent, "sv-container, [sv-container]", ["svContainer"], { "colInCon": { "alias": "sv-container"; "required": false; }; "title": { "alias": "title"; "required": false; }; "size": { "alias": "size"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "col": { "alias": "col"; "required": false; }; "default": { "alias": "default"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; }, {}, never, ["*"], false, never>;
32
- }
33
- export declare class SVTitleComponent implements OnInit {
34
- private el;
35
- private parent;
36
- private ren;
37
- constructor(el: ElementRef<HTMLElement>, parent: SVContainerComponent, ren: Renderer2);
38
- private setClass;
39
- ngOnInit(): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<SVTitleComponent, [null, { optional: true; host: true; }, null]>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<SVTitleComponent, "sv-title, [sv-title]", ["svTitle"], {}, {}, never, ["*"], false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<SVContainerComponent, "sv-container, [sv-container]", ["svContainer"], { "colInCon": { "alias": "sv-container"; "required": false; }; "title": { "alias": "title"; "required": false; }; "size": { "alias": "size"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "col": { "alias": "col"; "required": false; }; "default": { "alias": "default"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; }, {}, never, ["*"], true, never>;
34
+ static ngAcceptInputType_colInCon: unknown;
35
+ static ngAcceptInputType_gutter: unknown;
36
+ static ngAcceptInputType_labelWidth: unknown;
37
+ static ngAcceptInputType_col: unknown;
38
+ static ngAcceptInputType_default: unknown;
39
+ static ngAcceptInputType_noColon: unknown;
40
+ static ngAcceptInputType_bordered: unknown;
42
41
  }
@@ -6,5 +6,5 @@ export declare class SVValueComponent {
6
6
  tooltip?: NzTSType | null;
7
7
  size: 'large' | 'small' | 'default';
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SVValueComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SVValueComponent, "sv-value, [sv-value]", ["svValue"], { "prefix": { "alias": "prefix"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SVValueComponent, "sv-value, [sv-value]", ["svValue"], { "prefix": { "alias": "prefix"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
10
10
  }
@@ -1,18 +1,11 @@
1
- import { AfterViewInit, ElementRef, OnChanges, Renderer2, TemplateRef } from '@angular/core';
2
- import { ResponsiveService } from '@delon/theme';
3
- import { BooleanInput, NumberInput } from '@delon/util/decorator';
4
- import { SVContainerComponent } from './sv-container.component';
1
+ import { AfterViewInit, OnChanges, TemplateRef } from '@angular/core';
5
2
  import * as i0 from "@angular/core";
6
3
  export declare class SVComponent implements AfterViewInit, OnChanges {
7
- private el;
8
- parent: SVContainerComponent;
9
- private rep;
10
- private ren;
11
- static ngAcceptInputType_col: NumberInput;
12
- static ngAcceptInputType_default: BooleanInput;
13
- static ngAcceptInputType_noColon: BooleanInput;
14
- static ngAcceptInputType_hideLabel: BooleanInput;
15
- private conEl;
4
+ private readonly el;
5
+ private readonly parentComp;
6
+ private readonly rep;
7
+ private readonly ren;
8
+ private readonly conEl;
16
9
  private clsMap;
17
10
  _noColon: boolean;
18
11
  optional?: string | TemplateRef<void> | null;
@@ -27,11 +20,15 @@ export declare class SVComponent implements AfterViewInit, OnChanges {
27
20
  hideLabel: boolean;
28
21
  get paddingValue(): number | null;
29
22
  get labelWidth(): number | null | undefined;
30
- constructor(el: ElementRef<HTMLElement>, parent: SVContainerComponent, rep: ResponsiveService, ren: Renderer2);
23
+ constructor();
31
24
  private setClass;
32
25
  ngAfterViewInit(): void;
33
26
  ngOnChanges(): void;
34
27
  checkContent(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<SVComponent, [null, { optional: true; host: true; }, null, null]>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<SVComponent, "sv, [sv]", ["sv"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "col": { "alias": "col"; "required": false; }; "default": { "alias": "default"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; }, {}, never, ["*"], false, never>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<SVComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<SVComponent, "sv, [sv]", ["sv"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "col": { "alias": "col"; "required": false; }; "default": { "alias": "default"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; }, {}, never, ["*"], true, never>;
30
+ static ngAcceptInputType_col: unknown;
31
+ static ngAcceptInputType_default: unknown;
32
+ static ngAcceptInputType_noColon: unknown;
33
+ static ngAcceptInputType_hideLabel: unknown;
37
34
  }
package/sv/sv.module.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./sv-container.component";
3
- import * as i2 from "./sv.component";
4
- import * as i3 from "./sv-value.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/cdk/observers";
7
- import * as i6 from "ng-zorro-antd/tooltip";
8
- import * as i7 from "ng-zorro-antd/icon";
9
- import * as i8 from "ng-zorro-antd/core/outlet";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/cdk/observers";
4
+ import * as i3 from "ng-zorro-antd/tooltip";
5
+ import * as i4 from "ng-zorro-antd/icon";
6
+ import * as i5 from "ng-zorro-antd/core/outlet";
7
+ import * as i6 from "./sv-container.component";
8
+ import * as i7 from "./sv.component";
9
+ import * as i8 from "./sv-value.component";
10
10
  export declare class SVModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SVModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<SVModule, [typeof i1.SVContainerComponent, typeof i2.SVComponent, typeof i1.SVTitleComponent, typeof i3.SVValueComponent], [typeof i4.CommonModule, typeof i5.ObserversModule, typeof i6.NzToolTipModule, typeof i7.NzIconModule, typeof i8.NzOutletModule], [typeof i1.SVContainerComponent, typeof i2.SVComponent, typeof i1.SVTitleComponent, typeof i3.SVValueComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SVModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.NzToolTipModule, typeof i4.NzIconModule, typeof i5.NzOutletModule, typeof i6.SVContainerComponent, typeof i7.SVComponent, typeof i6.SVTitleComponent, typeof i8.SVValueComponent], [typeof i6.SVContainerComponent, typeof i7.SVComponent, typeof i6.SVTitleComponent, typeof i8.SVValueComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SVModule>;
14
14
  }
@@ -1,23 +1,21 @@
1
- import { Direction, Directionality } from '@angular/cdk/bidi';
2
- import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
3
- import { DelonLocaleService, LocaleData } from '@delon/theme';
4
- import { BooleanInput } from '@delon/util/decorator';
1
+ import { Direction } from '@angular/cdk/bidi';
2
+ import { EventEmitter, OnInit } from '@angular/core';
3
+ import { LocaleData } from '@delon/theme';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class TagSelectComponent implements OnInit {
7
- private i18n;
8
- private directionality;
9
- private cdr;
10
- static ngAcceptInputType_expandable: BooleanInput;
11
- private destroy$;
6
+ private readonly i18n;
7
+ private readonly directionality;
8
+ private readonly cdr;
9
+ private readonly destroy$;
12
10
  locale: LocaleData;
13
11
  expand: boolean;
14
- dir: Direction;
12
+ dir?: Direction;
15
13
  /** 是否启用 `展开与收进` */
16
14
  expandable: boolean;
17
15
  readonly change: EventEmitter<boolean>;
18
- constructor(i18n: DelonLocaleService, directionality: Directionality, cdr: ChangeDetectorRef);
19
16
  ngOnInit(): void;
20
17
  trigger(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectComponent, [null, { optional: true; }, null]>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<TagSelectComponent, "tag-select", ["tagSelect"], { "expandable": { "alias": "expandable"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagSelectComponent, "tag-select", ["tagSelect"], { "expandable": { "alias": "expandable"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
20
+ static ngAcceptInputType_expandable: unknown;
23
21
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./tag-select.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "ng-zorro-antd/icon";
5
- import * as i4 from "@delon/theme";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "ng-zorro-antd/icon";
4
+ import * as i3 from "@delon/theme";
5
+ import * as i4 from "./tag-select.component";
6
6
  export declare class TagSelectModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TagSelectModule, [typeof i1.TagSelectComponent], [typeof i2.CommonModule, typeof i3.NzIconModule, typeof i4.DelonLocaleModule], [typeof i1.TagSelectComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TagSelectModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.DelonLocaleModule, typeof i4.TagSelectComponent], [typeof i4.TagSelectComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<TagSelectModule>;
10
10
  }
@@ -1,10 +1,8 @@
1
- import { XlsxService } from './xlsx.service';
2
1
  import { XlsxExportOptions } from './xlsx.types';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class XlsxDirective {
5
- private srv;
4
+ private readonly srv;
6
5
  data: XlsxExportOptions;
7
- constructor(srv: XlsxService);
8
6
  _click(): void;
9
7
  static ɵfac: i0.ɵɵFactoryDeclaration<XlsxDirective, never>;
10
8
  static ɵdir: i0.ɵɵDirectiveDeclaration<XlsxDirective, "[xlsx]", ["xlsx"], { "data": { "alias": "xlsx"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,16 +1,13 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { NgZone } from '@angular/core';
3
1
  import { AlainConfigService } from '@delon/util/config';
4
- import { LazyService } from '@delon/util/other';
5
2
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
6
3
  import { XlsxExportOptions, XlsxExportResult } from './xlsx.types';
7
4
  import * as i0 from "@angular/core";
8
5
  export declare class XlsxService {
9
- private http;
10
- private lazy;
11
- private ngZone;
12
- constructor(http: HttpClient, lazy: LazyService, configSrv: AlainConfigService, ngZone: NgZone);
6
+ private readonly http;
7
+ private readonly lazy;
8
+ private readonly ngZone;
13
9
  private cog;
10
+ constructor(configSrv: AlainConfigService);
14
11
  private init;
15
12
  private read;
16
13
  /**
@@ -1,16 +1,13 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { NgZone } from '@angular/core';
3
1
  import type jsZipType from 'jszip';
4
2
  import { AlainConfigService } from '@delon/util/config';
5
- import { LazyService } from '@delon/util/other';
6
3
  import { ZipSaveOptions } from './zip.types';
7
4
  import * as i0 from "@angular/core";
8
5
  export declare class ZipService {
9
- private http;
10
- private lazy;
11
- private ngZone;
6
+ private readonly http;
7
+ private readonly lazy;
8
+ private readonly ngZone;
12
9
  private cog;
13
- constructor(http: HttpClient, lazy: LazyService, configSrv: AlainConfigService, ngZone: NgZone);
10
+ constructor(configSrv: AlainConfigService);
14
11
  private init;
15
12
  private check;
16
13
  /** 解压 */