@delon/abc 16.2.0 → 16.3.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 (187) hide show
  1. package/avatar-list/avatar-list.component.d.ts +3 -4
  2. package/cell/cell-host.directive.d.ts +13 -0
  3. package/cell/cell.component.d.ts +45 -0
  4. package/cell/cell.module.d.ts +17 -0
  5. package/cell/cell.service.d.ts +23 -0
  6. package/cell/cell.types.d.ts +238 -0
  7. package/cell/index.d.ts +5 -0
  8. package/cell/style/index.less +63 -0
  9. package/error-collect/error-collect.component.d.ts +2 -3
  10. package/esm2022/auto-focus/auto-focus.directive.mjs +3 -3
  11. package/esm2022/auto-focus/auto-focus.module.mjs +4 -4
  12. package/esm2022/avatar-list/avatar-list-item.component.mjs +5 -5
  13. package/esm2022/avatar-list/avatar-list.component.mjs +9 -12
  14. package/esm2022/avatar-list/avatar-list.module.mjs +4 -4
  15. package/esm2022/cell/cell-host.directive.mjs +34 -0
  16. package/esm2022/cell/cell.component.mjs +270 -0
  17. package/esm2022/cell/cell.mjs +5 -0
  18. package/esm2022/cell/cell.module.mjs +54 -0
  19. package/esm2022/cell/cell.service.mjs +168 -0
  20. package/esm2022/cell/cell.types.mjs +2 -0
  21. package/esm2022/cell/index.mjs +6 -0
  22. package/esm2022/count-down/count-down.component.mjs +5 -5
  23. package/esm2022/count-down/count-down.module.mjs +4 -4
  24. package/esm2022/date-picker/date-picker.module.mjs +4 -4
  25. package/esm2022/date-picker/range-shortcut.component.mjs +3 -3
  26. package/esm2022/date-picker/range.directive.mjs +3 -3
  27. package/esm2022/down-file/down-file.directive.mjs +3 -3
  28. package/esm2022/down-file/down-file.module.mjs +4 -4
  29. package/esm2022/ellipsis/ellipsis.component.mjs +5 -5
  30. package/esm2022/ellipsis/ellipsis.module.mjs +4 -4
  31. package/esm2022/error-collect/error-collect.component.mjs +11 -13
  32. package/esm2022/error-collect/error-collect.module.mjs +4 -4
  33. package/esm2022/exception/exception.component.mjs +14 -14
  34. package/esm2022/exception/exception.module.mjs +4 -4
  35. package/esm2022/footer-toolbar/footer-toolbar.component.mjs +5 -5
  36. package/esm2022/footer-toolbar/footer-toolbar.module.mjs +4 -4
  37. package/esm2022/full-content/full-content-toggle.directive.mjs +3 -3
  38. package/esm2022/full-content/full-content.component.mjs +12 -14
  39. package/esm2022/full-content/full-content.module.mjs +4 -4
  40. package/esm2022/full-content/full-content.service.mjs +3 -3
  41. package/esm2022/global-footer/global-footer-item.component.mjs +5 -5
  42. package/esm2022/global-footer/global-footer.component.mjs +12 -14
  43. package/esm2022/global-footer/global-footer.module.mjs +4 -4
  44. package/esm2022/hotkey/hotkey.directive.mjs +3 -3
  45. package/esm2022/hotkey/hotkey.module.mjs +4 -4
  46. package/esm2022/let/let.directive.mjs +3 -3
  47. package/esm2022/let/let.module.mjs +4 -4
  48. package/esm2022/loading/loading.component.mjs +5 -5
  49. package/esm2022/loading/loading.module.mjs +4 -4
  50. package/esm2022/loading/loading.service.mjs +3 -3
  51. package/esm2022/lodop/lodop.module.mjs +4 -4
  52. package/esm2022/lodop/lodop.service.mjs +3 -3
  53. package/esm2022/media/media.component.mjs +11 -13
  54. package/esm2022/media/media.module.mjs +4 -4
  55. package/esm2022/media/media.service.mjs +3 -3
  56. package/esm2022/notice-icon/notice-icon-tab.component.mjs +5 -5
  57. package/esm2022/notice-icon/notice-icon.component.mjs +5 -5
  58. package/esm2022/notice-icon/notice-icon.module.mjs +4 -4
  59. package/esm2022/observers/observer-size.mjs +10 -10
  60. package/esm2022/onboarding/onboarding.component.mjs +3 -3
  61. package/esm2022/onboarding/onboarding.module.mjs +4 -4
  62. package/esm2022/onboarding/onboarding.service.mjs +3 -3
  63. package/esm2022/page-header/page-header.component.mjs +16 -16
  64. package/esm2022/page-header/page-header.module.mjs +27 -6
  65. package/esm2022/pdf/pdf.component.mjs +14 -16
  66. package/esm2022/pdf/pdf.module.mjs +4 -4
  67. package/esm2022/pdf/pdf.types.mjs +2 -1
  68. package/esm2022/qr/qr.component.mjs +3 -3
  69. package/esm2022/qr/qr.module.mjs +4 -4
  70. package/esm2022/quick-menu/quick-menu.component.mjs +5 -5
  71. package/esm2022/quick-menu/quick-menu.module.mjs +4 -4
  72. package/esm2022/result/result.component.mjs +12 -14
  73. package/esm2022/result/result.module.mjs +4 -4
  74. package/esm2022/reuse-tab/public_api.mjs +2 -1
  75. package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +3 -3
  76. package/esm2022/reuse-tab/reuse-tab-context.component.mjs +3 -3
  77. package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +3 -3
  78. package/esm2022/reuse-tab/reuse-tab-context.service.mjs +3 -3
  79. package/esm2022/reuse-tab/reuse-tab.component.mjs +12 -16
  80. package/esm2022/reuse-tab/reuse-tab.module.mjs +4 -4
  81. package/esm2022/reuse-tab/reuse-tab.service.mjs +3 -3
  82. package/esm2022/se/se-container.component.mjs +10 -10
  83. package/esm2022/se/se.component.mjs +13 -15
  84. package/esm2022/se/se.module.mjs +4 -4
  85. package/esm2022/sg/sg-container.component.mjs +5 -5
  86. package/esm2022/sg/sg.component.mjs +5 -5
  87. package/esm2022/sg/sg.module.mjs +4 -4
  88. package/esm2022/st/st-column-source.mjs +8 -4
  89. package/esm2022/st/st-data-source.mjs +14 -7
  90. package/esm2022/st/st-export.mjs +3 -3
  91. package/esm2022/st/st-filter.component.mjs +12 -12
  92. package/esm2022/st/st-row.directive.mjs +6 -6
  93. package/esm2022/st/st-widget-host.directive.mjs +3 -3
  94. package/esm2022/st/st-widget.mjs +3 -3
  95. package/esm2022/st/st.component.mjs +83 -97
  96. package/esm2022/st/st.interfaces.mjs +1 -1
  97. package/esm2022/st/st.module.mjs +9 -5
  98. package/esm2022/st/st.types.mjs +1 -1
  99. package/esm2022/sv/sv-container.component.mjs +22 -12
  100. package/esm2022/sv/sv-value.component.mjs +6 -6
  101. package/esm2022/sv/sv.component.mjs +12 -9
  102. package/esm2022/sv/sv.module.mjs +4 -4
  103. package/esm2022/tag-select/tag-select.component.mjs +10 -14
  104. package/esm2022/tag-select/tag-select.module.mjs +4 -4
  105. package/esm2022/xlsx/xlsx.directive.mjs +3 -3
  106. package/esm2022/xlsx/xlsx.module.mjs +4 -4
  107. package/esm2022/xlsx/xlsx.service.mjs +3 -3
  108. package/esm2022/zip/zip.module.mjs +4 -4
  109. package/esm2022/zip/zip.service.mjs +3 -3
  110. package/exception/exception.component.d.ts +2 -3
  111. package/fesm2022/auto-focus.mjs +7 -7
  112. package/fesm2022/avatar-list.mjs +16 -19
  113. package/fesm2022/avatar-list.mjs.map +1 -1
  114. package/fesm2022/cell.mjs +521 -0
  115. package/fesm2022/cell.mjs.map +1 -0
  116. package/fesm2022/chart-observer-size.mjs +10 -10
  117. package/fesm2022/count-down.mjs +8 -8
  118. package/fesm2022/count-down.mjs.map +1 -1
  119. package/fesm2022/date-picker.mjs +10 -10
  120. package/fesm2022/down-file.mjs +7 -7
  121. package/fesm2022/ellipsis.mjs +8 -8
  122. package/fesm2022/ellipsis.mjs.map +1 -1
  123. package/fesm2022/error-collect.mjs +14 -16
  124. package/fesm2022/error-collect.mjs.map +1 -1
  125. package/fesm2022/exception.mjs +17 -17
  126. package/fesm2022/exception.mjs.map +1 -1
  127. package/fesm2022/footer-toolbar.mjs +8 -8
  128. package/fesm2022/footer-toolbar.mjs.map +1 -1
  129. package/fesm2022/full-content.mjs +21 -23
  130. package/fesm2022/full-content.mjs.map +1 -1
  131. package/fesm2022/global-footer.mjs +19 -21
  132. package/fesm2022/global-footer.mjs.map +1 -1
  133. package/fesm2022/hotkey.mjs +7 -7
  134. package/fesm2022/let.mjs +7 -7
  135. package/fesm2022/loading.mjs +11 -11
  136. package/fesm2022/loading.mjs.map +1 -1
  137. package/fesm2022/lodop.mjs +7 -7
  138. package/fesm2022/media.mjs +17 -19
  139. package/fesm2022/media.mjs.map +1 -1
  140. package/fesm2022/notice-icon.mjs +12 -12
  141. package/fesm2022/notice-icon.mjs.map +1 -1
  142. package/fesm2022/onboarding.mjs +10 -10
  143. package/fesm2022/page-header.mjs +41 -20
  144. package/fesm2022/page-header.mjs.map +1 -1
  145. package/fesm2022/pdf.mjs +18 -19
  146. package/fesm2022/pdf.mjs.map +1 -1
  147. package/fesm2022/qr.mjs +7 -7
  148. package/fesm2022/quick-menu.mjs +8 -8
  149. package/fesm2022/quick-menu.mjs.map +1 -1
  150. package/fesm2022/result.mjs +15 -17
  151. package/fesm2022/result.mjs.map +1 -1
  152. package/fesm2022/reuse-tab.mjs +31 -35
  153. package/fesm2022/reuse-tab.mjs.map +1 -1
  154. package/fesm2022/se.mjs +25 -27
  155. package/fesm2022/se.mjs.map +1 -1
  156. package/fesm2022/sg.mjs +12 -12
  157. package/fesm2022/sg.mjs.map +1 -1
  158. package/fesm2022/st.mjs +134 -133
  159. package/fesm2022/st.mjs.map +1 -1
  160. package/fesm2022/sv.mjs +41 -28
  161. package/fesm2022/sv.mjs.map +1 -1
  162. package/fesm2022/tag-select.mjs +13 -17
  163. package/fesm2022/tag-select.mjs.map +1 -1
  164. package/fesm2022/xlsx.mjs +10 -10
  165. package/fesm2022/zip.mjs +7 -7
  166. package/global-footer/global-footer.component.d.ts +6 -6
  167. package/index.less +1 -0
  168. package/package.json +10 -5
  169. package/page-header/page-header.component.d.ts +5 -5
  170. package/page-header/page-header.module.d.ts +2 -1
  171. package/page-header/style/index.less +1 -0
  172. package/pdf/pdf.component.d.ts +6 -5
  173. package/pdf/pdf.types.d.ts +2 -1
  174. package/result/result.component.d.ts +6 -6
  175. package/reuse-tab/public_api.d.ts +1 -0
  176. package/reuse-tab/reuse-tab.component.d.ts +2 -3
  177. package/se/se.component.d.ts +2 -3
  178. package/st/st-data-source.d.ts +1 -1
  179. package/st/st.component.d.ts +7 -7
  180. package/st/st.interfaces.d.ts +22 -2
  181. package/st/st.module.d.ts +17 -16
  182. package/st/st.types.d.ts +3 -0
  183. package/sv/style/index.less +36 -0
  184. package/sv/sv-container.component.d.ts +7 -2
  185. package/sv/sv.component.d.ts +3 -3
  186. package/tag-select/tag-select.component.d.ts +2 -3
  187. package/theme-default.less +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delon/abc",
3
- "version": "16.2.0",
3
+ "version": "16.3.0",
4
4
  "author": "cipchk<cipchk@qq.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,12 +26,11 @@
26
26
  "jszip": "^3.10.1",
27
27
  "xlsx": "^0.18.5",
28
28
  "plyr": "^3.7.8",
29
- "pdfjs-dist": "~3.6.172",
30
29
  "@github/hotkey": "^2.0.1",
31
30
  "ngx-countdown": "^16.0.0",
32
- "@delon/theme": "^16.2.0",
33
- "@delon/util": "^16.2.0",
34
- "@delon/acl": "^16.2.0",
31
+ "@delon/theme": "^16.3.0",
32
+ "@delon/util": "^16.3.0",
33
+ "@delon/acl": "^16.3.0",
35
34
  "tslib": "^2.3.0"
36
35
  },
37
36
  "module": "fesm2022/abc.mjs",
@@ -58,6 +57,12 @@
58
57
  "esm": "./esm2022/avatar-list/avatar-list.mjs",
59
58
  "default": "./fesm2022/avatar-list.mjs"
60
59
  },
60
+ "./cell": {
61
+ "types": "./cell/index.d.ts",
62
+ "esm2022": "./esm2022/cell/cell.mjs",
63
+ "esm": "./esm2022/cell/cell.mjs",
64
+ "default": "./fesm2022/cell.mjs"
65
+ },
61
66
  "./count-down": {
62
67
  "types": "./count-down/index.d.ts",
63
68
  "esm2022": "./esm2022/count-down/count-down.mjs",
@@ -1,6 +1,6 @@
1
1
  import { Direction, Directionality } from '@angular/cdk/bidi';
2
2
  import { Platform } from '@angular/cdk/platform';
3
- import { AfterViewInit, ChangeDetectorRef, OnChanges, OnDestroy, OnInit, Renderer2, TemplateRef } from '@angular/core';
3
+ import { AfterViewInit, ChangeDetectorRef, OnChanges, OnInit, Renderer2, TemplateRef } from '@angular/core';
4
4
  import { Router } from '@angular/router';
5
5
  import { ReuseTabService } from '@delon/abc/reuse-tab';
6
6
  import { AlainI18NService, MenuService, SettingsService, TitleService } from '@delon/theme';
@@ -12,7 +12,7 @@ interface PageHeaderPath {
12
12
  title?: string;
13
13
  link?: string[];
14
14
  }
15
- export declare class PageHeaderComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
15
+ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterViewInit {
16
16
  private renderer;
17
17
  private router;
18
18
  private menuSrv;
@@ -29,7 +29,7 @@ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterView
29
29
  static ngAcceptInputType_fixed: BooleanInput;
30
30
  static ngAcceptInputType_fixedOffsetTop: NumberInput;
31
31
  static ngAcceptInputType_recursiveBreadcrumb: BooleanInput;
32
- private destroy$;
32
+ private dir$;
33
33
  private conTpl;
34
34
  private affix;
35
35
  inited: boolean;
@@ -41,6 +41,7 @@ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterView
41
41
  _title: string | null;
42
42
  _titleTpl: TemplateRef<NzSafeAny> | null;
43
43
  set title(value: string | TemplateRef<void> | null);
44
+ titleSub?: string | TemplateRef<void> | null;
44
45
  loading: boolean;
45
46
  wide: boolean;
46
47
  home?: string;
@@ -66,8 +67,7 @@ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterView
66
67
  ngOnInit(): void;
67
68
  ngAfterViewInit(): void;
68
69
  ngOnChanges(): void;
69
- ngOnDestroy(): void;
70
70
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "page-header", ["pageHeader"], { "title": { "alias": "title"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; "homeI18n": { "alias": "homeI18n"; "required": false; }; "autoBreadcrumb": { "alias": "autoBreadcrumb"; "required": false; }; "autoTitle": { "alias": "autoTitle"; "required": false; }; "syncTitle": { "alias": "syncTitle"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fixedOffsetTop": { "alias": "fixedOffsetTop"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "recursiveBreadcrumb": { "alias": "recursiveBreadcrumb"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "action": { "alias": "action"; "required": false; }; "content": { "alias": "content"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; }, {}, never, ["*"], false, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "page-header", ["pageHeader"], { "title": { "alias": "title"; "required": false; }; "titleSub": { "alias": "titleSub"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; "homeI18n": { "alias": "homeI18n"; "required": false; }; "autoBreadcrumb": { "alias": "autoBreadcrumb"; "required": false; }; "autoTitle": { "alias": "autoTitle"; "required": false; }; "syncTitle": { "alias": "syncTitle"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fixedOffsetTop": { "alias": "fixedOffsetTop"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "recursiveBreadcrumb": { "alias": "recursiveBreadcrumb"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "action": { "alias": "action"; "required": false; }; "content": { "alias": "content"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; }, {}, never, ["*"], false, never>;
72
72
  }
73
73
  export {};
@@ -6,8 +6,9 @@ import * as i4 from "@angular/cdk/observers";
6
6
  import * as i5 from "ng-zorro-antd/affix";
7
7
  import * as i6 from "ng-zorro-antd/skeleton";
8
8
  import * as i7 from "ng-zorro-antd/breadcrumb";
9
+ import * as i8 from "ng-zorro-antd/core/outlet";
9
10
  export declare class PageHeaderModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.ObserversModule, typeof i5.NzAffixModule, typeof i6.NzSkeletonModule, typeof i7.NzBreadCrumbModule], [typeof i1.PageHeaderComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.ObserversModule, typeof i5.NzAffixModule, typeof i6.NzSkeletonModule, typeof i7.NzBreadCrumbModule, typeof i8.NzOutletModule], [typeof i1.PageHeaderComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
13
14
  }
@@ -51,6 +51,7 @@
51
51
 
52
52
  small {
53
53
  padding-left: @layout-gutter;
54
+ color: @page-header-title-sub-color;
54
55
  font-weight: normal;
55
56
  font-size: 14px;
56
57
  }
@@ -1,16 +1,16 @@
1
1
  import { Platform } from '@angular/cdk/platform';
2
2
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
3
- import type { PDFDocumentProxy } from 'pdfjs-dist';
4
- import type { EventBus } from 'pdfjs-dist/types/web/event_utils';
5
- import type { PDFFindController } from 'pdfjs-dist/types/web/pdf_find_controller';
6
- import type { PDFLinkService } from 'pdfjs-dist/types/web/pdf_link_service';
7
- import type { PDFViewer } from 'pdfjs-dist/types/web/pdf_viewer';
8
3
  import { AlainConfigService } from '@delon/util/config';
9
4
  import { BooleanInput, NumberInput } from '@delon/util/decorator';
10
5
  import { LazyService } from '@delon/util/other';
11
6
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
12
7
  import { PdfChangeEvent, PdfExternalLinkTarget, PdfTextLayerMode, PdfZoomScale } from './pdf.types';
13
8
  import * as i0 from "@angular/core";
9
+ type PDFDocumentProxy = NzSafeAny;
10
+ type EventBus = NzSafeAny;
11
+ type PDFFindController = NzSafeAny;
12
+ type PDFLinkService = NzSafeAny;
13
+ type PDFViewer = NzSafeAny;
14
14
  export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy {
15
15
  private ngZone;
16
16
  private lazySrv;
@@ -98,3 +98,4 @@ export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy
98
98
  static ɵfac: i0.ɵɵFactoryDeclaration<PdfComponent, [null, null, null, null, null, { optional: true; }, null]>;
99
99
  static ɵcmp: i0.ɵɵComponentDeclaration<PdfComponent, "pdf", ["pdf"], { "src": { "alias": "src"; "required": false; }; "pi": { "alias": "pi"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "renderText": { "alias": "renderText"; "required": false; }; "textLayerMode": { "alias": "textLayerMode"; "required": false; }; "showBorders": { "alias": "showBorders"; "required": false; }; "stickToPage": { "alias": "stickToPage"; "required": false; }; "originalSize": { "alias": "originalSize"; "required": false; }; "fitToPage": { "alias": "fitToPage"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "zoomScale": { "alias": "zoomScale"; "required": false; }; "rotation": { "alias": "rotation"; "required": false; }; "autoReSize": { "alias": "autoReSize"; "required": false; }; "externalLinkTarget": { "alias": "externalLinkTarget"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
100
100
  }
101
+ export {};
@@ -1,5 +1,5 @@
1
- import type { PDFDocumentProxy } from 'pdfjs-dist';
2
1
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
2
+ type PDFDocumentProxy = NzSafeAny;
3
3
  export type PdfChangeEventType = 'loaded' | 'load-progress' | 'pages-init' | 'page-rendered' | 'text-layer-rendered' | 'pi' | 'error';
4
4
  export type PdfZoomScale = 'page-height' | 'page-fit' | 'page-width';
5
5
  export interface PdfChangeEvent {
@@ -26,3 +26,4 @@ export declare enum PdfExternalLinkTarget {
26
26
  PARENT = 3,
27
27
  TOP = 4
28
28
  }
29
+ export {};
@@ -1,9 +1,10 @@
1
1
  import { Direction, Directionality } from '@angular/cdk/bidi';
2
- import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
+ import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class ResultComponent implements OnInit, OnDestroy {
4
+ export declare class ResultComponent implements OnInit {
5
5
  private directionality;
6
- private destroy$;
6
+ private cdr;
7
+ private dir$;
7
8
  _type: string;
8
9
  _icon: string;
9
10
  set type(value: string);
@@ -11,9 +12,8 @@ export declare class ResultComponent implements OnInit, OnDestroy {
11
12
  description?: string | TemplateRef<void>;
12
13
  extra?: string | TemplateRef<void>;
13
14
  dir: Direction;
14
- constructor(directionality: Directionality);
15
+ constructor(directionality: Directionality, cdr: ChangeDetectorRef);
15
16
  ngOnInit(): void;
16
- ngOnDestroy(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ResultComponent, [{ optional: true; }]>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultComponent, [{ optional: true; }, null]>;
18
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>;
19
19
  }
@@ -9,3 +9,4 @@ export { ReuseTabModule } from './reuse-tab.module';
9
9
  export * from './reuse-tab.interfaces';
10
10
  export * from './lifecycle_hooks';
11
11
  export * from './reuse-tab.state';
12
+ export { REUSE_TAB_CACHED_MANAGER, ReuseTabCachedManager } from './reuse-tab.cache';
@@ -1,6 +1,6 @@
1
1
  import { Direction, Directionality } from '@angular/cdk/bidi';
2
2
  import { Platform } from '@angular/cdk/platform';
3
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
3
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
5
5
  import { AlainI18NService } from '@delon/theme';
6
6
  import { BooleanInput, NumberInput } from '@delon/util/decorator';
@@ -9,7 +9,7 @@ import { ReuseCanClose, ReuseContextCloseEvent, ReuseContextI18n, ReuseCustomCon
9
9
  import { ReuseTabService } from './reuse-tab.service';
10
10
  import { ReuseTabStorageState } from './reuse-tab.state';
11
11
  import * as i0 from "@angular/core";
12
- export declare class ReuseTabComponent implements OnInit, OnChanges, OnDestroy {
12
+ export declare class ReuseTabComponent implements OnInit, OnChanges {
13
13
  private srv;
14
14
  private cdr;
15
15
  private router;
@@ -83,7 +83,6 @@ export declare class ReuseTabComponent implements OnInit, OnChanges, OnDestroy {
83
83
  ngOnChanges(changes: {
84
84
  [P in keyof this]?: SimpleChange;
85
85
  } & SimpleChanges): void;
86
- ngOnDestroy(): void;
87
86
  static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabComponent, [null, null, null, null, { optional: true; }, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
88
87
  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, false, never>;
89
88
  }
@@ -1,11 +1,11 @@
1
- import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
1
+ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, Renderer2, TemplateRef } from '@angular/core';
2
2
  import { ResponsiveService } from '@delon/theme';
3
3
  import { BooleanInput, NumberInput } from '@delon/util/decorator';
4
4
  import { NzFormStatusService } from 'ng-zorro-antd/core/form';
5
5
  import { SEContainerComponent } from './se-container.component';
6
6
  import { SEErrorType } from './se.types';
7
7
  import * as i0 from "@angular/core";
8
- export declare class SEComponent implements OnChanges, AfterContentInit, AfterViewInit, OnDestroy {
8
+ export declare class SEComponent implements OnChanges, AfterContentInit, AfterViewInit {
9
9
  private parent;
10
10
  private statusSrv;
11
11
  private rep;
@@ -59,7 +59,6 @@ export declare class SEComponent implements OnChanges, AfterContentInit, AfterVi
59
59
  ngAfterContentInit(): void;
60
60
  ngOnChanges(): void;
61
61
  ngAfterViewInit(): void;
62
- ngOnDestroy(): void;
63
62
  static ɵfac: i0.ɵɵFactoryDeclaration<SEComponent, [null, { optional: true; host: true; }, null, null, null, null]>;
64
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>;
65
64
  }
@@ -12,7 +12,7 @@ export interface STDataSourceOptions {
12
12
  pi: number;
13
13
  ps: number;
14
14
  paginator: boolean;
15
- data: string | STData[] | Observable<STData[]>;
15
+ data?: string | STData[] | Observable<STData[]>;
16
16
  total: number;
17
17
  req: STReq;
18
18
  res: STRes;
@@ -1,5 +1,5 @@
1
1
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
2
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChange, SimpleChanges, TemplateRef, TrackByFunction } from '@angular/core';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChange, SimpleChanges, TemplateRef, TrackByFunction } from '@angular/core';
3
3
  import { Router } from '@angular/router';
4
4
  import { Observable } from 'rxjs';
5
5
  import { AlainI18NService, DelonLocaleService, DrawerHelper, LocaleData, ModalHelper } from '@delon/theme';
@@ -15,7 +15,7 @@ import { STExport } from './st-export';
15
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
16
  import { _STColumn, _STHeader, _STTdNotify } from './st.types';
17
17
  import * as i0 from "@angular/core";
18
- export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy {
18
+ export declare class STComponent implements AfterViewInit, OnChanges {
19
19
  private cdr;
20
20
  private el;
21
21
  private exportSrv;
@@ -38,8 +38,8 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
38
38
  static ngAcceptInputType_virtualMaxBufferPx: NumberInput;
39
39
  static ngAcceptInputType_virtualMinBufferPx: NumberInput;
40
40
  private destroy$;
41
- private data$?;
42
41
  private totalTpl;
42
+ private inied;
43
43
  cog: AlainSTConfig;
44
44
  private _req;
45
45
  private _res;
@@ -67,7 +67,7 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
67
67
  set res(value: STRes);
68
68
  get page(): STPage;
69
69
  set page(value: STPage);
70
- data: string | STData[] | Observable<STData[]>;
70
+ data?: string | STData[] | Observable<STData[]>;
71
71
  columns?: STColumn[] | null;
72
72
  contextmenu?: STContextmenuFn | null;
73
73
  ps: number;
@@ -139,7 +139,7 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
139
139
  * - 本地数据:包含排序、过滤后不分页数据
140
140
  * - 远程数据:不传递 `pi`、`ps` 两个参数
141
141
  */
142
- get filteredData(): Promise<STData[]>;
142
+ get filteredData(): Observable<STData[]>;
143
143
  private updateTotalTpl;
144
144
  private setLoading;
145
145
  private loadData;
@@ -242,7 +242,8 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
242
242
  export(newData?: STData[] | true, opt?: STExportOptions): void;
243
243
  colResize({ width }: NzResizeEvent, column: _STColumn): void;
244
244
  onContextmenu(event: MouseEvent): void;
245
- get cdkVirtualScrollViewport(): CdkVirtualScrollViewport;
245
+ get cdkVirtualScrollViewport(): CdkVirtualScrollViewport | undefined;
246
+ private _resetColumns;
246
247
  resetColumns(options?: STResetColumnsOption): Promise<this>;
247
248
  private refreshColumns;
248
249
  private optimizeData;
@@ -256,7 +257,6 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
256
257
  ngOnChanges(changes: {
257
258
  [P in keyof this]?: SimpleChange;
258
259
  } & SimpleChanges): void;
259
- ngOnDestroy(): void;
260
260
  static ɵfac: i0.ɵɵFactoryDeclaration<STComponent, [{ optional: true; }, null, null, null, null, null, null, null, null, null]>;
261
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>;
262
262
  }
@@ -2,6 +2,7 @@ import { HttpHeaders, HttpParams } from '@angular/common/http';
2
2
  import { ElementRef, TemplateRef } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import type { ThemeType } from '@ant-design/icons-angular';
5
+ import type { CellOptions } from '@delon/abc/cell';
5
6
  import type { ACLCanType } from '@delon/acl';
6
7
  import type { DrawerHelperOptions, ModalHelperOptions, YNMode } from '@delon/theme';
7
8
  import type { CurrencyFormatOptions } from '@delon/util/format';
@@ -234,7 +235,7 @@ export interface STColumn<T extends STData = any> {
234
235
  title?: string | STColumnTitle;
235
236
  /**
236
237
  * 列数据在数据项中对应的 key,支持 `a.b.c` 的嵌套写法,例如:
237
- * - `id`
238
+ * - `id` (需要指定类型才能智能提示)
238
239
  * - `price.market`
239
240
  * - `[ 'price', 'market' ]`
240
241
  */
@@ -255,9 +256,16 @@ export interface STColumn<T extends STData = any> {
255
256
  * - `currency` 货币且居右(若 `className` 存在则优先)
256
257
  * - `date` 日期格式且居中(若 `className` 存在则优先),使用 `dateFormat` 自定义格式
257
258
  * - `yn` 将`boolean`类型徽章化 [document](https://ng-alain.com/docs/data-render#yn)
259
+ * - `cell` 使用 `cell` 组件渲染 [document](https://ng-alain.com/components/cell)
258
260
  * - `widget` 使用自定义小部件动态创建
259
261
  */
260
- type?: '' | 'checkbox' | 'link' | 'badge' | 'tag' | 'enum' | 'radio' | 'img' | 'currency' | 'number' | 'date' | 'yn' | 'no' | 'widget';
262
+ type?: '' | 'checkbox' | 'link' | 'badge' | 'tag' | 'enum' | 'radio' | 'img' | 'currency' | 'number' | 'date' | 'yn' | 'no' | 'cell' | 'widget';
263
+ /**
264
+ * `cell` component options
265
+ *
266
+ * `cell` 组件配置项
267
+ */
268
+ cell?: CellOptions | ((record: T, column: STColumn) => CellOptions);
261
269
  /**
262
270
  * 链接回调,若返回一个字符串表示导航URL会自动触发 `router.navigateByUrl`
263
271
  */
@@ -970,6 +978,12 @@ export interface STColumnBadgeValue {
970
978
  * 徽标颜色值
971
979
  */
972
980
  color?: 'success' | 'processing' | 'default' | 'error' | 'warning';
981
+ /**
982
+ * Text popup tip
983
+ *
984
+ * 文字提示
985
+ */
986
+ tooltip?: string;
973
987
  }
974
988
  /**
975
989
  * 标签信息
@@ -989,6 +1003,12 @@ export interface STColumnTagValue {
989
1003
  * - 色值:#f50,#ff0
990
1004
  */
991
1005
  color?: 'geekblue' | 'blue' | 'purple' | 'success' | 'red' | 'volcano' | 'orange' | 'gold' | 'lime' | 'green' | 'cyan' | string;
1006
+ /**
1007
+ * Text popup tip
1008
+ *
1009
+ * 文字提示
1010
+ */
1011
+ tooltip?: string;
992
1012
  }
993
1013
  export type STChangeType = 'loaded' | 'pi' | 'ps' | 'checkbox' | 'radio' | 'sort' | 'filter' | 'filterChange' | 'click' | 'dblClick' | 'expand' | 'resize';
994
1014
  /**
package/st/st.module.d.ts CHANGED
@@ -7,23 +7,24 @@ import * as i5 from "@angular/common";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "@delon/acl";
9
9
  import * as i8 from "@delon/abc/let";
10
- import * as i9 from "ng-zorro-antd/popconfirm";
11
- import * as i10 from "ng-zorro-antd/table";
12
- import * as i11 from "ng-zorro-antd/icon";
13
- import * as i12 from "ng-zorro-antd/badge";
14
- import * as i13 from "ng-zorro-antd/checkbox";
15
- import * as i14 from "ng-zorro-antd/divider";
16
- import * as i15 from "ng-zorro-antd/dropdown";
17
- import * as i16 from "ng-zorro-antd/menu";
18
- import * as i17 from "ng-zorro-antd/radio";
19
- import * as i18 from "ng-zorro-antd/tag";
20
- import * as i19 from "ng-zorro-antd/input";
21
- import * as i20 from "ng-zorro-antd/tooltip";
22
- import * as i21 from "ng-zorro-antd/resizable";
23
- import * as i22 from "ng-zorro-antd/input-number";
24
- import * as i23 from "ng-zorro-antd/date-picker";
10
+ import * as i9 from "@delon/abc/cell";
11
+ import * as i10 from "ng-zorro-antd/popconfirm";
12
+ import * as i11 from "ng-zorro-antd/table";
13
+ import * as i12 from "ng-zorro-antd/icon";
14
+ import * as i13 from "ng-zorro-antd/badge";
15
+ import * as i14 from "ng-zorro-antd/checkbox";
16
+ import * as i15 from "ng-zorro-antd/divider";
17
+ import * as i16 from "ng-zorro-antd/dropdown";
18
+ import * as i17 from "ng-zorro-antd/menu";
19
+ import * as i18 from "ng-zorro-antd/radio";
20
+ import * as i19 from "ng-zorro-antd/tag";
21
+ import * as i20 from "ng-zorro-antd/input";
22
+ import * as i21 from "ng-zorro-antd/tooltip";
23
+ import * as i22 from "ng-zorro-antd/resizable";
24
+ import * as i23 from "ng-zorro-antd/input-number";
25
+ import * as i24 from "ng-zorro-antd/date-picker";
25
26
  export declare class STModule {
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<STModule, never>;
27
- static ɵmod: i0.ɵɵNgModuleDeclaration<STModule, [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective, typeof i4.STFilterComponent, typeof i1.STTdComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.DelonACLModule, typeof i8.LetModule, typeof i9.NzPopconfirmModule, typeof i10.NzTableModule, typeof i11.NzIconModule, typeof i12.NzBadgeModule, typeof i13.NzCheckboxModule, typeof i14.NzDividerModule, typeof i15.NzDropDownModule, typeof i16.NzMenuModule, typeof i17.NzRadioModule, typeof i18.NzTagModule, typeof i19.NzInputModule, typeof i20.NzToolTipModule, typeof i21.NzResizableModule, typeof i22.NzInputNumberModule, typeof i23.NzDatePickerModule], [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective]>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<STModule, [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective, typeof i4.STFilterComponent, typeof i1.STTdComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.DelonACLModule, typeof i8.LetModule, typeof i9.CellModule, typeof i10.NzPopconfirmModule, typeof i11.NzTableModule, typeof i12.NzIconModule, typeof i13.NzBadgeModule, typeof i14.NzCheckboxModule, typeof i15.NzDividerModule, typeof i16.NzDropDownModule, typeof i17.NzMenuModule, typeof i18.NzRadioModule, typeof i19.NzTagModule, typeof i20.NzInputModule, typeof i21.NzToolTipModule, typeof i22.NzResizableModule, typeof i23.NzInputNumberModule, typeof i24.NzDatePickerModule], [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective]>;
28
29
  static ɵinj: i0.ɵɵInjectorDeclaration<STModule>;
29
30
  }
package/st/st.types.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { SafeHtml } from '@angular/platform-browser';
3
+ import type { CellOptions } from '@delon/abc/cell';
3
4
  import type { NgClassType } from 'ng-zorro-antd/core/types';
4
5
  import type { STColumn, STColumnButton, STColumnSafeType, STData, STIcon, STOnCellResult, STSortMap } from './st.interfaces';
5
6
  /**
@@ -71,7 +72,9 @@ export interface _STDataValue {
71
72
  _text: SafeHtml;
72
73
  org?: any;
73
74
  color?: string;
75
+ tooltip?: string;
74
76
  safeType: STColumnSafeType;
75
77
  buttons?: _STColumnButton[];
76
78
  props?: STOnCellResult | null;
79
+ cell?: CellOptions;
77
80
  }
@@ -229,4 +229,40 @@
229
229
  &__no-colon::after {
230
230
  content: ' ' !important;
231
231
  }
232
+
233
+ &__bordered {
234
+ overflow: hidden;
235
+ border-top: 1px solid @border-color-split;
236
+ border-bottom: 1px solid @border-color-split;
237
+ border-left: 1px solid @border-color-split;
238
+
239
+ @{sv-prefix}__item {
240
+ border-right: 1px solid @border-color-split;
241
+ border-bottom: 1px solid @border-color-split;
242
+ }
243
+
244
+ @{sv-prefix}__label {
245
+ background-color: @descriptions-bg;
246
+ border-right: 1px solid @border-color-split;
247
+ }
248
+
249
+ @{sv-prefix}__label,
250
+ @{sv-prefix}__detail {
251
+ padding: @descriptions-middle-padding;
252
+ }
253
+
254
+ &@{sv-prefix}__large {
255
+ @{sv-prefix}__label,
256
+ @{sv-prefix}__detail {
257
+ padding: @descriptions-default-padding;
258
+ }
259
+ }
260
+
261
+ &@{sv-prefix}__small {
262
+ @{sv-prefix}__label,
263
+ @{sv-prefix}__detail {
264
+ padding: @descriptions-small-padding;
265
+ }
266
+ }
267
+ }
232
268
  }
@@ -10,9 +10,10 @@ export declare class SVContainerComponent {
10
10
  static ngAcceptInputType_colInCon: NumberInput;
11
11
  static ngAcceptInputType_default: BooleanInput;
12
12
  static ngAcceptInputType_noColon: BooleanInput;
13
+ static ngAcceptInputType_bordered: BooleanInput;
13
14
  colInCon?: REP_TYPE;
14
15
  title?: string | TemplateRef<void>;
15
- size: 'small' | 'large';
16
+ size?: 'small' | 'large' | 'default';
16
17
  /** 列表项间距,单位为 `px` */
17
18
  gutter: number;
18
19
  layout: 'horizontal' | 'vertical';
@@ -21,9 +22,13 @@ export declare class SVContainerComponent {
21
22
  col: number;
22
23
  default: boolean;
23
24
  noColon: boolean;
25
+ bordered: boolean;
26
+ get margin(): {
27
+ [k: string]: number;
28
+ };
24
29
  constructor(configSrv: AlainConfigService);
25
30
  static ɵfac: i0.ɵɵFactoryDeclaration<SVContainerComponent, never>;
26
- 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; }; }, {}, never, ["*"], false, 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>;
27
32
  }
28
33
  export declare class SVTitleComponent implements OnInit {
29
34
  private el;
@@ -4,6 +4,7 @@ import { BooleanInput, NumberInput } from '@delon/util/decorator';
4
4
  import { SVContainerComponent } from './sv-container.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SVComponent implements AfterViewInit, OnChanges {
7
+ private el;
7
8
  parent: SVContainerComponent;
8
9
  private rep;
9
10
  private ren;
@@ -12,7 +13,6 @@ export declare class SVComponent implements AfterViewInit, OnChanges {
12
13
  static ngAcceptInputType_noColon: BooleanInput;
13
14
  static ngAcceptInputType_hideLabel: BooleanInput;
14
15
  private conEl;
15
- private el;
16
16
  private clsMap;
17
17
  _noColon: boolean;
18
18
  optional?: string | TemplateRef<void> | null;
@@ -25,9 +25,9 @@ export declare class SVComponent implements AfterViewInit, OnChanges {
25
25
  type?: 'primary' | 'success' | 'danger' | 'warning';
26
26
  noColon?: boolean | null;
27
27
  hideLabel: boolean;
28
- get paddingValue(): number;
28
+ get paddingValue(): number | null;
29
29
  get labelWidth(): number | null | undefined;
30
- constructor(el: ElementRef, parent: SVContainerComponent, rep: ResponsiveService, ren: Renderer2);
30
+ constructor(el: ElementRef<HTMLElement>, parent: SVContainerComponent, rep: ResponsiveService, ren: Renderer2);
31
31
  private setClass;
32
32
  ngAfterViewInit(): void;
33
33
  ngOnChanges(): void;
@@ -1,9 +1,9 @@
1
1
  import { Direction, Directionality } from '@angular/cdk/bidi';
2
- import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
3
3
  import { DelonLocaleService, LocaleData } from '@delon/theme';
4
4
  import { BooleanInput } from '@delon/util/decorator';
5
5
  import * as i0 from "@angular/core";
6
- export declare class TagSelectComponent implements OnInit, OnDestroy {
6
+ export declare class TagSelectComponent implements OnInit {
7
7
  private i18n;
8
8
  private directionality;
9
9
  private cdr;
@@ -18,7 +18,6 @@ export declare class TagSelectComponent implements OnInit, OnDestroy {
18
18
  constructor(i18n: DelonLocaleService, directionality: Directionality, cdr: ChangeDetectorRef);
19
19
  ngOnInit(): void;
20
20
  trigger(): void;
21
- ngOnDestroy(): void;
22
21
  static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectComponent, [null, { optional: true; }, null]>;
23
22
  static ɵcmp: i0.ɵɵComponentDeclaration<TagSelectComponent, "tag-select", ["tagSelect"], { "expandable": { "alias": "expandable"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
24
23
  }
@@ -57,6 +57,7 @@
57
57
  @page-header-bg: #fff;
58
58
  @page-header-padding: 16px 32px 0 32px;
59
59
  @page-header-wide: 1200px;
60
+ @page-header-title-sub-color: fade(@heading-color, 40%);
60
61
 
61
62
  // quick-menu
62
63
  // --
@@ -103,3 +104,13 @@
103
104
  // --
104
105
  @tag-select-margin: 16px;
105
106
  @tag-select-item-margin-right: 24px;
107
+
108
+ // cell
109
+ // --
110
+ @cell-default-color: @text-color-secondary;
111
+ @cell-large: 18px;
112
+ @cell-small: 12px;
113
+ @cell-unit-color: @text-color-secondary;
114
+ @cell-unit-font-size: 12px;
115
+ @cell-img-space: 4px;
116
+ @cell-link-disabled-color: @text-color;