@delon/abc 19.1.0 → 20.0.0-beta.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 (246) hide show
  1. package/auto-focus/index.d.ts +19 -2
  2. package/cell/index.d.ts +316 -6
  3. package/cell/style/index.less +1 -1
  4. package/count-down/index.d.ts +26 -5
  5. package/date-picker/index.d.ts +51 -5
  6. package/down-file/index.d.ts +34 -5
  7. package/ellipsis/index.d.ts +55 -5
  8. package/error-collect/index.d.ts +35 -5
  9. package/exception/index.d.ts +45 -5
  10. package/fesm2022/auto-focus.mjs +7 -7
  11. package/fesm2022/cell.mjs +14 -15
  12. package/fesm2022/cell.mjs.map +1 -1
  13. package/fesm2022/chart-observer-size.mjs +11 -11
  14. package/fesm2022/count-down.mjs +8 -9
  15. package/fesm2022/count-down.mjs.map +1 -1
  16. package/fesm2022/date-picker.mjs +16 -15
  17. package/fesm2022/date-picker.mjs.map +1 -1
  18. package/fesm2022/down-file.mjs +8 -8
  19. package/fesm2022/ellipsis.mjs +9 -9
  20. package/fesm2022/ellipsis.mjs.map +1 -1
  21. package/fesm2022/error-collect.mjs +15 -15
  22. package/fesm2022/error-collect.mjs.map +1 -1
  23. package/fesm2022/exception.mjs +94 -78
  24. package/fesm2022/exception.mjs.map +1 -1
  25. package/fesm2022/footer-toolbar.mjs +44 -22
  26. package/fesm2022/footer-toolbar.mjs.map +1 -1
  27. package/fesm2022/full-content.mjs +25 -38
  28. package/fesm2022/full-content.mjs.map +1 -1
  29. package/fesm2022/global-footer.mjs +79 -60
  30. package/fesm2022/global-footer.mjs.map +1 -1
  31. package/fesm2022/hotkey.mjs +8 -8
  32. package/fesm2022/loading.mjs +12 -12
  33. package/fesm2022/loading.mjs.map +1 -1
  34. package/fesm2022/lodop.mjs +12 -11
  35. package/fesm2022/lodop.mjs.map +1 -1
  36. package/fesm2022/media.mjs +12 -13
  37. package/fesm2022/media.mjs.map +1 -1
  38. package/fesm2022/notice-icon.mjs +19 -29
  39. package/fesm2022/notice-icon.mjs.map +1 -1
  40. package/fesm2022/onboarding.mjs +14 -14
  41. package/fesm2022/onboarding.mjs.map +1 -1
  42. package/fesm2022/page-header.mjs +22 -27
  43. package/fesm2022/page-header.mjs.map +1 -1
  44. package/fesm2022/pdf.mjs +13 -13
  45. package/fesm2022/pdf.mjs.map +1 -1
  46. package/fesm2022/quick-menu.mjs +9 -9
  47. package/fesm2022/quick-menu.mjs.map +1 -1
  48. package/fesm2022/reuse-tab.mjs +32 -38
  49. package/fesm2022/reuse-tab.mjs.map +1 -1
  50. package/fesm2022/se.mjs +20 -21
  51. package/fesm2022/se.mjs.map +1 -1
  52. package/fesm2022/sg.mjs +17 -18
  53. package/fesm2022/sg.mjs.map +1 -1
  54. package/fesm2022/st.mjs +84 -87
  55. package/fesm2022/st.mjs.map +1 -1
  56. package/fesm2022/sv.mjs +23 -25
  57. package/fesm2022/sv.mjs.map +1 -1
  58. package/fesm2022/tag-select.mjs +13 -29
  59. package/fesm2022/tag-select.mjs.map +1 -1
  60. package/fesm2022/xlsx.mjs +16 -15
  61. package/fesm2022/xlsx.mjs.map +1 -1
  62. package/fesm2022/zip.mjs +8 -7
  63. package/fesm2022/zip.mjs.map +1 -1
  64. package/footer-toolbar/index.d.ts +23 -5
  65. package/footer-toolbar/style/index.less +1 -1
  66. package/full-content/index.d.ts +55 -5
  67. package/global-footer/index.d.ts +44 -5
  68. package/hotkey/index.d.ts +25 -5
  69. package/index.d.ts +2 -5
  70. package/index.less +0 -2
  71. package/loading/index.d.ts +93 -5
  72. package/lodop/index.d.ts +277 -5
  73. package/media/index.d.ts +61 -5
  74. package/notice-icon/index.d.ts +90 -5
  75. package/notice-icon/style/index.less +2 -2
  76. package/observers/index.d.ts +34 -5
  77. package/onboarding/index.d.ts +212 -5
  78. package/package.json +5 -13
  79. package/page-header/index.d.ts +83 -5
  80. package/page-header/style/index.less +1 -1
  81. package/pdf/index.d.ts +142 -5
  82. package/quick-menu/index.d.ts +38 -5
  83. package/quick-menu/style/index.less +2 -2
  84. package/reuse-tab/index.d.ts +512 -3
  85. package/se/index.d.ts +129 -5
  86. package/sg/index.d.ts +44 -5
  87. package/st/index.d.ts +1708 -3
  88. package/st/style/index.less +1 -1
  89. package/sv/index.d.ts +96 -5
  90. package/sv/style/index.less +1 -1
  91. package/tag-select/index.d.ts +27 -5
  92. package/theme-dark.less +0 -4
  93. package/theme-default.less +0 -8
  94. package/xlsx/index.d.ts +71 -5
  95. package/zip/index.d.ts +65 -5
  96. package/auto-focus/auto-focus.directive.d.ts +0 -10
  97. package/auto-focus/auto-focus.module.d.ts +0 -7
  98. package/avatar-list/avatar-list-item.component.d.ts +0 -9
  99. package/avatar-list/avatar-list.component.d.ts +0 -29
  100. package/avatar-list/avatar-list.module.d.ts +0 -14
  101. package/avatar-list/index.d.ts +0 -5
  102. package/avatar-list/public_api.d.ts +0 -3
  103. package/avatar-list/style/index.less +0 -53
  104. package/avatar-list/style/rtl.less +0 -3
  105. package/cell/cell-host.directive.d.ts +0 -10
  106. package/cell/cell.component.d.ts +0 -30
  107. package/cell/cell.module.d.ts +0 -17
  108. package/cell/cell.service.d.ts +0 -19
  109. package/cell/cell.types.d.ts +0 -234
  110. package/cell/provide.d.ts +0 -10
  111. package/count-down/count-down.component.d.ts +0 -15
  112. package/count-down/count-down.module.d.ts +0 -9
  113. package/count-down/public_api.d.ts +0 -2
  114. package/date-picker/date-picker.module.d.ts +0 -11
  115. package/date-picker/public_api.d.ts +0 -3
  116. package/date-picker/range-shortcut.component.d.ts +0 -10
  117. package/date-picker/range.directive.d.ts +0 -30
  118. package/down-file/down-file.directive.d.ts +0 -23
  119. package/down-file/down-file.module.d.ts +0 -9
  120. package/down-file/public_api.d.ts +0 -2
  121. package/ellipsis/ellipsis.component.d.ts +0 -43
  122. package/ellipsis/ellipsis.module.d.ts +0 -10
  123. package/ellipsis/public_api.d.ts +0 -2
  124. package/error-collect/error-collect.component.d.ts +0 -23
  125. package/error-collect/error-collect.module.d.ts +0 -9
  126. package/error-collect/public_api.d.ts +0 -2
  127. package/exception/exception.component.d.ts +0 -36
  128. package/exception/exception.module.d.ts +0 -12
  129. package/exception/public_api.d.ts +0 -2
  130. package/fesm2022/avatar-list.mjs +0 -132
  131. package/fesm2022/avatar-list.mjs.map +0 -1
  132. package/fesm2022/result.mjs +0 -84
  133. package/fesm2022/result.mjs.map +0 -1
  134. package/footer-toolbar/footer-toolbar.component.d.ts +0 -14
  135. package/footer-toolbar/footer-toolbar.module.d.ts +0 -10
  136. package/footer-toolbar/public_api.d.ts +0 -2
  137. package/full-content/full-content-toggle.directive.d.ts +0 -7
  138. package/full-content/full-content.component.d.ts +0 -32
  139. package/full-content/full-content.module.d.ts +0 -9
  140. package/full-content/full-content.service.d.ts +0 -10
  141. package/full-content/public_api.d.ts +0 -4
  142. package/global-footer/global-footer-item.component.d.ts +0 -10
  143. package/global-footer/global-footer.component.d.ts +0 -22
  144. package/global-footer/global-footer.module.d.ts +0 -10
  145. package/global-footer/global-footer.types.d.ts +0 -7
  146. package/global-footer/public_api.d.ts +0 -4
  147. package/hotkey/hotkey.directive.d.ts +0 -16
  148. package/hotkey/hotkey.module.d.ts +0 -7
  149. package/hotkey/public_api.d.ts +0 -2
  150. package/loading/loading.component.d.ts +0 -11
  151. package/loading/loading.module.d.ts +0 -12
  152. package/loading/loading.service.d.ts +0 -34
  153. package/loading/loading.types.d.ts +0 -35
  154. package/loading/public_api.d.ts +0 -4
  155. package/lodop/lodop.module.d.ts +0 -6
  156. package/lodop/lodop.service.d.ts +0 -74
  157. package/lodop/lodop.types.d.ts +0 -193
  158. package/lodop/public_api.d.ts +0 -3
  159. package/media/media.component.d.ts +0 -33
  160. package/media/media.module.d.ts +0 -8
  161. package/media/media.service.d.ts +0 -17
  162. package/media/public_api.d.ts +0 -3
  163. package/notice-icon/notice-icon-tab.component.d.ts +0 -13
  164. package/notice-icon/notice-icon.component.d.ts +0 -25
  165. package/notice-icon/notice-icon.module.d.ts +0 -18
  166. package/notice-icon/notice-icon.types.d.ts +0 -36
  167. package/notice-icon/public_api.d.ts +0 -4
  168. package/observers/observer-size.d.ts +0 -31
  169. package/observers/public-api.d.ts +0 -1
  170. package/onboarding/onboarding.component.d.ts +0 -35
  171. package/onboarding/onboarding.module.d.ts +0 -13
  172. package/onboarding/onboarding.service.d.ts +0 -58
  173. package/onboarding/onboarding.storage.d.ts +0 -11
  174. package/onboarding/onboarding.types.d.ts +0 -95
  175. package/onboarding/public_api.d.ts +0 -5
  176. package/page-header/page-header.component.d.ts +0 -70
  177. package/page-header/page-header.module.d.ts +0 -14
  178. package/page-header/public_api.d.ts +0 -2
  179. package/pdf/pdf.component.d.ts +0 -101
  180. package/pdf/pdf.config.d.ts +0 -2
  181. package/pdf/pdf.module.d.ts +0 -9
  182. package/pdf/pdf.types.d.ts +0 -29
  183. package/pdf/public_api.d.ts +0 -4
  184. package/public_api.d.ts +0 -2
  185. package/quick-menu/public_api.d.ts +0 -2
  186. package/quick-menu/quick-menu.component.d.ts +0 -26
  187. package/quick-menu/quick-menu.module.d.ts +0 -10
  188. package/result/index.d.ts +0 -5
  189. package/result/public_api.d.ts +0 -2
  190. package/result/result.component.d.ts +0 -21
  191. package/result/result.module.d.ts +0 -13
  192. package/result/style/index.less +0 -66
  193. package/result/style/rtl.less +0 -3
  194. package/reuse-tab/lifecycle_hooks.d.ts +0 -16
  195. package/reuse-tab/provide.d.ts +0 -28
  196. package/reuse-tab/public_api.d.ts +0 -14
  197. package/reuse-tab/reuse-tab-context-menu.component.d.ts +0 -21
  198. package/reuse-tab/reuse-tab-context.component.d.ts +0 -11
  199. package/reuse-tab/reuse-tab-context.directive.d.ts +0 -10
  200. package/reuse-tab/reuse-tab-context.service.d.ts +0 -14
  201. package/reuse-tab/reuse-tab.cache.d.ts +0 -16
  202. package/reuse-tab/reuse-tab.component.d.ts +0 -79
  203. package/reuse-tab/reuse-tab.interfaces.d.ts +0 -110
  204. package/reuse-tab/reuse-tab.module.d.ts +0 -17
  205. package/reuse-tab/reuse-tab.service.d.ts +0 -192
  206. package/reuse-tab/reuse-tab.state.d.ts +0 -14
  207. package/reuse-tab/reuse-tab.strategy.d.ts +0 -10
  208. package/se/public_api.d.ts +0 -4
  209. package/se/se-container.component.d.ts +0 -49
  210. package/se/se.component.d.ts +0 -60
  211. package/se/se.module.d.ts +0 -12
  212. package/se/se.types.d.ts +0 -9
  213. package/sg/public_api.d.ts +0 -3
  214. package/sg/sg-container.component.d.ts +0 -15
  215. package/sg/sg.component.d.ts +0 -19
  216. package/sg/sg.module.d.ts +0 -9
  217. package/st/provide.d.ts +0 -10
  218. package/st/public_api.d.ts +0 -12
  219. package/st/st-column-source.d.ts +0 -47
  220. package/st/st-data-source.d.ts +0 -77
  221. package/st/st-export.d.ts +0 -11
  222. package/st/st-filter.component.d.ts +0 -23
  223. package/st/st-row.directive.d.ts +0 -20
  224. package/st/st-widget-host.directive.d.ts +0 -12
  225. package/st/st-widget.d.ts +0 -11
  226. package/st/st.component.d.ts +0 -295
  227. package/st/st.config.d.ts +0 -2
  228. package/st/st.interfaces.d.ts +0 -1193
  229. package/st/st.module.d.ts +0 -9
  230. package/st/st.types.d.ts +0 -77
  231. package/sv/public_api.d.ts +0 -4
  232. package/sv/sv-container.component.d.ts +0 -39
  233. package/sv/sv-value.component.d.ts +0 -10
  234. package/sv/sv.component.d.ts +0 -34
  235. package/sv/sv.module.d.ts +0 -14
  236. package/tag-select/public_api.d.ts +0 -2
  237. package/tag-select/tag-select.component.d.ts +0 -21
  238. package/tag-select/tag-select.module.d.ts +0 -10
  239. package/xlsx/public_api.d.ts +0 -4
  240. package/xlsx/xlsx.directive.d.ts +0 -9
  241. package/xlsx/xlsx.module.d.ts +0 -7
  242. package/xlsx/xlsx.service.d.ts +0 -27
  243. package/xlsx/xlsx.types.d.ts +0 -27
  244. package/zip/public_api.d.ts +0 -2
  245. package/zip/zip.service.d.ts +0 -34
  246. package/zip/zip.types.d.ts +0 -28
package/media/index.d.ts CHANGED
@@ -1,5 +1,61 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@delon/abc/media" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnChanges, AfterViewInit, OnDestroy, EventEmitter, SimpleChange } from '@angular/core';
3
+ import Plyr from 'plyr';
4
+ import { Observable } from 'rxjs';
5
+ import { AlainMediaConfig } from '@delon/util/config';
6
+ import * as i1 from '@angular/common';
7
+
8
+ type MediaType = 'html5' | 'youtube' | 'video' | 'audio';
9
+ declare class MediaComponent implements OnChanges, AfterViewInit, OnDestroy {
10
+ private readonly destroy$;
11
+ private readonly el;
12
+ private readonly renderer;
13
+ private readonly ngZone;
14
+ private readonly srv;
15
+ private readonly platform;
16
+ private _p?;
17
+ private videoEl?;
18
+ type: MediaType;
19
+ source?: string | Plyr.SourceInfo;
20
+ options?: Plyr.Options;
21
+ delay: number;
22
+ readonly ready: EventEmitter<Plyr>;
23
+ get player(): Plyr | undefined | null;
24
+ private initDelay;
25
+ private init;
26
+ private ensureElement;
27
+ private destroy;
28
+ private uploadSource;
29
+ ngAfterViewInit(): void;
30
+ ngOnChanges(changes: {
31
+ [p in keyof MediaComponent]?: SimpleChange;
32
+ }): void;
33
+ ngOnDestroy(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<MediaComponent, "media, [media]", ["mediaComponent"], { "type": { "alias": "type"; "required": false; }; "source": { "alias": "source"; "required": false; }; "options": { "alias": "options"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "ready": "ready"; }, never, ["*"], true, never>;
36
+ static ngAcceptInputType_delay: unknown;
37
+ }
38
+
39
+ declare class MediaService {
40
+ private readonly cogSrv;
41
+ private readonly lazySrv;
42
+ private _cog;
43
+ private loading;
44
+ private loaded;
45
+ private notify$;
46
+ get cog(): AlainMediaConfig;
47
+ set cog(val: AlainMediaConfig);
48
+ load(): this;
49
+ notify(): Observable<void>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaService, never>;
51
+ static ɵprov: i0.ɵɵInjectableDeclaration<MediaService>;
52
+ }
53
+
54
+ declare class MediaModule {
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaModule, never>;
56
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MediaModule, never, [typeof i1.CommonModule, typeof MediaComponent], [typeof MediaComponent]>;
57
+ static ɵinj: i0.ɵɵInjectorDeclaration<MediaModule>;
58
+ }
59
+
60
+ export { MediaComponent, MediaModule, MediaService };
61
+ export type { MediaType };
@@ -1,5 +1,90 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@delon/abc/notice-icon" />
5
- export * from './public_api';
1
+ import * as _angular_core from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+ import { NzSafeAny, NgClassType } from 'ng-zorro-antd/core/types';
4
+ import * as _delon_theme from '@delon/theme';
5
+ import { LocaleData } from '@delon/theme';
6
+ import * as i1 from '@angular/common';
7
+ import * as i3 from 'ng-zorro-antd/badge';
8
+ import * as i4 from 'ng-zorro-antd/dropdown';
9
+ import * as i5 from 'ng-zorro-antd/icon';
10
+ import * as i6 from 'ng-zorro-antd/list';
11
+ import * as i7 from 'ng-zorro-antd/spin';
12
+ import * as i8 from 'ng-zorro-antd/tabs';
13
+ import * as i9 from 'ng-zorro-antd/tag';
14
+ import * as i10 from 'ng-zorro-antd/core/outlet';
15
+
16
+ interface NoticeItem {
17
+ [key: string]: NzSafeAny;
18
+ title: string;
19
+ list: NoticeIconList[];
20
+ /** 空列表文本,默认:`无通知` */
21
+ emptyText?: string | TemplateRef<void>;
22
+ /** 空列表图像 */
23
+ emptyImage?: string;
24
+ /** 清空文本,默认:`清空` */
25
+ clearText?: string;
26
+ }
27
+ interface NoticeIconList {
28
+ [key: string]: NzSafeAny;
29
+ /** 头像图片链接 */
30
+ avatar?: string;
31
+ /** 标题 */
32
+ title?: string | TemplateRef<{
33
+ $implicit: NoticeIconList;
34
+ }>;
35
+ /** 描述信息 */
36
+ description?: string | TemplateRef<{
37
+ $implicit: NoticeIconList;
38
+ }>;
39
+ /** 时间戳 */
40
+ datetime?: string | Date | number;
41
+ /** 额外信息,在列表项右上角 */
42
+ extra?: string;
43
+ /** 是否已读状态 */
44
+ read?: boolean;
45
+ }
46
+ interface NoticeIconSelect {
47
+ title: string;
48
+ item: NoticeItem;
49
+ event?: Event;
50
+ }
51
+
52
+ declare class NoticeIconTabComponent {
53
+ locale: _angular_core.InputSignal<LocaleData>;
54
+ item: _angular_core.InputSignal<NoticeItem>;
55
+ readonly select: _angular_core.OutputEmitterRef<NoticeIconSelect>;
56
+ readonly clear: _angular_core.OutputEmitterRef<string>;
57
+ onClick(item: NoticeItem, event: Event): void;
58
+ onClear(): void;
59
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NoticeIconTabComponent, never>;
60
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NoticeIconTabComponent, "notice-icon-tab", ["noticeIconTab"], { "locale": { "alias": "locale"; "required": true; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; }, { "select": "select"; "clear": "clear"; }, never, never, true, never>;
61
+ }
62
+
63
+ declare class NoticeIconComponent {
64
+ locale: _angular_core.Signal<_delon_theme.NoticeIconLocaleData>;
65
+ data: _angular_core.InputSignal<NoticeItem[]>;
66
+ count: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
67
+ loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
68
+ popoverVisible: _angular_core.InputSignalWithTransform<boolean, unknown>;
69
+ btnClass: _angular_core.InputSignal<NgClassType | undefined>;
70
+ btnIconClass: _angular_core.InputSignal<NgClassType | undefined>;
71
+ centered: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
+ readonly select: _angular_core.OutputEmitterRef<NoticeIconSelect>;
73
+ readonly clear: _angular_core.OutputEmitterRef<string>;
74
+ readonly popoverVisibleChange: _angular_core.OutputEmitterRef<boolean>;
75
+ overlayCls: _angular_core.WritableSignal<string>;
76
+ constructor();
77
+ delayShow: _angular_core.WritableSignal<boolean>;
78
+ onVisibleChange(result: boolean): void;
79
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NoticeIconComponent, never>;
80
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NoticeIconComponent, "notice-icon", ["noticeIcon"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "popoverVisible": { "alias": "popoverVisible"; "required": false; "isSignal": true; }; "btnClass": { "alias": "btnClass"; "required": false; "isSignal": true; }; "btnIconClass": { "alias": "btnIconClass"; "required": false; "isSignal": true; }; "centered": { "alias": "centered"; "required": false; "isSignal": true; }; }, { "select": "select"; "clear": "clear"; "popoverVisibleChange": "popoverVisibleChange"; }, never, never, true, never>;
81
+ }
82
+
83
+ declare class NoticeIconModule {
84
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NoticeIconModule, never>;
85
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<NoticeIconModule, never, [typeof i1.CommonModule, typeof _delon_theme.DelonLocaleModule, typeof i3.NzBadgeModule, typeof i4.NzDropDownModule, typeof i5.NzIconModule, typeof i6.NzListModule, typeof i7.NzSpinModule, typeof i8.NzTabsModule, typeof i9.NzTagModule, typeof i10.NzOutletModule, typeof NoticeIconComponent, typeof NoticeIconTabComponent], [typeof NoticeIconComponent]>;
86
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<NoticeIconModule>;
87
+ }
88
+
89
+ export { NoticeIconComponent, NoticeIconModule, NoticeIconTabComponent };
90
+ export type { NoticeIconList, NoticeIconSelect, NoticeItem };
@@ -75,11 +75,11 @@
75
75
  &__clear {
76
76
  cursor: pointer;
77
77
  height: 46px;
78
+ border-top: 1px solid @border-color-split;
79
+ border-radius: 0 0 @border-radius-base @border-radius-base;
78
80
  line-height: 46px;
79
81
  color: @text-color;
80
82
  text-align: center;
81
- border-top: 1px solid @border-color-split;
82
- border-radius: 0 0 @border-radius-base @border-radius-base;
83
83
  transition: all 0.3s;
84
84
 
85
85
  &:hover {
@@ -1,5 +1,34 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@delon/abc/observers" />
5
- export * from './public-api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnDestroy, AfterViewInit, EventEmitter } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+
5
+ declare class SizeObserver implements OnDestroy {
6
+ private _observedElements;
7
+ ngOnDestroy(): void;
8
+ observe(element: Element): Observable<MutationRecord[]>;
9
+ private _observeElement;
10
+ private _unobserveElement;
11
+ private _cleanupObserver;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SizeObserver, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<SizeObserver>;
14
+ }
15
+ declare class ObserverSize implements AfterViewInit, OnDestroy {
16
+ private readonly _obs;
17
+ private readonly el;
18
+ private readonly ngZone;
19
+ private _sub$;
20
+ readonly event: EventEmitter<MutationRecord[]>;
21
+ ngAfterViewInit(): void;
22
+ private _sub;
23
+ private _unsub;
24
+ ngOnDestroy(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObserverSize, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ObserverSize, "[observeSize]", ["observeSize"], {}, { "event": "observeSize"; }, never, never, true, never>;
27
+ }
28
+ declare class ObserversModule {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObserversModule, never>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ObserversModule, never, [typeof ObserverSize], [typeof ObserverSize]>;
31
+ static ɵinj: i0.ɵɵInjectorDeclaration<ObserversModule>;
32
+ }
33
+
34
+ export { ObserverSize, ObserversModule, SizeObserver };
@@ -1,5 +1,212 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@delon/abc/onboarding" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { TemplateRef, OnDestroy, AfterViewInit, EventEmitter, InjectionToken } from '@angular/core';
3
+ import { SafeHtml } from '@angular/platform-browser';
4
+ import { Observable } from 'rxjs';
5
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
6
+ import { Direction } from '@angular/cdk/bidi';
7
+ import * as i1 from '@angular/common';
8
+ import * as i2 from '@delon/theme';
9
+ import * as i3 from 'ng-zorro-antd/popover';
10
+ import * as i4 from 'ng-zorro-antd/core/outlet';
11
+ import * as i5 from 'ng-zorro-antd/button';
12
+ import * as i6 from 'ng-zorro-antd/core/no-animation';
13
+
14
+ type OnboardingOpType = 'next' | 'prev' | 'skip' | 'done';
15
+ interface OnboardingConfig {
16
+ /**
17
+ * Storage identification Key, The default is `localStorage` local storage, allowing the use of `ONBOARDING_STORE_TOKEN` to change the storage method
18
+ */
19
+ key?: string;
20
+ /**
21
+ * Current version
22
+ */
23
+ keyVersion?: unknown;
24
+ /**
25
+ * Onboarding items
26
+ */
27
+ items?: OnboardingItem[];
28
+ /**
29
+ * Whether to show mask or not, Default: `true`
30
+ */
31
+ mask?: boolean;
32
+ /**
33
+ * Clicking on the mask (area outside the onboarding) to close the onboarding or not, Default: `true`
34
+ */
35
+ maskClosable?: boolean;
36
+ /**
37
+ * Whether to show total, Default: `true`
38
+ */
39
+ showTotal?: boolean;
40
+ }
41
+ interface OnboardingItem {
42
+ /**
43
+ * The CSS selector, which identifies the html element you want to describe
44
+ */
45
+ selectors: string;
46
+ /**
47
+ * Positioning of the selector element, relative to the contents of the children, Default: `bottomLeft`
48
+ */
49
+ position?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
50
+ /**
51
+ * Class name of the panel
52
+ */
53
+ className?: string;
54
+ /**
55
+ * Light style
56
+ */
57
+ lightStyle?: string;
58
+ /**
59
+ * Width of the panel
60
+ */
61
+ width?: number;
62
+ /**
63
+ * Title text of the panel
64
+ */
65
+ title?: string | TemplateRef<void>;
66
+ /**
67
+ * Content text of the panel
68
+ */
69
+ content?: string | SafeHtml | TemplateRef<void>;
70
+ /**
71
+ * Skip button of the panel
72
+ * - `null` Don't show
73
+ */
74
+ skip?: string | TemplateRef<void> | null;
75
+ /**
76
+ * Prev button of the panel
77
+ * - `null` Don't show
78
+ */
79
+ prev?: string | TemplateRef<void> | null;
80
+ /**
81
+ * Next button of the panel
82
+ * - `null` Don't show
83
+ */
84
+ next?: string | TemplateRef<void> | null;
85
+ /**
86
+ * Done button of the panel
87
+ * - `null` Don't show
88
+ */
89
+ done?: string | TemplateRef<void> | null;
90
+ /**
91
+ * Target router url
92
+ */
93
+ url?: string;
94
+ /**
95
+ * Callback before entering, triggered when call `next` operates
96
+ * - `number` indicate delay
97
+ */
98
+ before?: Observable<NzSafeAny> | number;
99
+ /**
100
+ * Callback after entering, triggered when call `prev` operates
101
+ * - `number` indicate delay
102
+ */
103
+ after?: Observable<NzSafeAny> | number;
104
+ }
105
+
106
+ declare class OnboardingService implements OnDestroy {
107
+ private readonly appRef;
108
+ private readonly router;
109
+ private readonly doc;
110
+ private readonly configSrv;
111
+ private readonly keyStoreSrv;
112
+ private readonly directionality;
113
+ private compRef;
114
+ private op$;
115
+ private config?;
116
+ private active;
117
+ private running$;
118
+ private _running;
119
+ private type;
120
+ private locale;
121
+ private _getDoc;
122
+ /**
123
+ * Get whether it is booting
124
+ *
125
+ * 获取是否正在引导中
126
+ */
127
+ get running(): boolean;
128
+ private attach;
129
+ private cancelRunning;
130
+ private updateRunning;
131
+ private destroy;
132
+ private showItem;
133
+ /**
134
+ * Start a new user guidance
135
+ *
136
+ * 开启新的用户引导流程
137
+ */
138
+ start(config: OnboardingConfig): void;
139
+ /**
140
+ * Next
141
+ *
142
+ * 下一步
143
+ */
144
+ next(): void;
145
+ /**
146
+ * Prev
147
+ *
148
+ * 上一步
149
+ */
150
+ prev(): void;
151
+ /**
152
+ * Done
153
+ *
154
+ * 完成
155
+ */
156
+ done(): void;
157
+ ngOnDestroy(): void;
158
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingService, never>;
159
+ static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingService>;
160
+ }
161
+
162
+ declare class OnboardingComponent implements OnDestroy, AfterViewInit {
163
+ private readonly el;
164
+ private readonly platform;
165
+ private readonly cdr;
166
+ private readonly doc;
167
+ private time;
168
+ private prevSelectorEl?;
169
+ config: OnboardingConfig;
170
+ item: OnboardingItem;
171
+ active: number;
172
+ max: number;
173
+ readonly op: EventEmitter<OnboardingOpType>;
174
+ running: boolean;
175
+ dir: Direction;
176
+ private popover;
177
+ get first(): boolean;
178
+ get last(): boolean;
179
+ private _getDoc;
180
+ private _getWin;
181
+ private getLightData;
182
+ ngAfterViewInit(): void;
183
+ private scroll;
184
+ updateRunning(status: boolean): void;
185
+ private updatePosition;
186
+ private updatePrevElStatus;
187
+ to(type: OnboardingOpType): void;
188
+ handleMask(): void;
189
+ ngOnDestroy(): void;
190
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingComponent, never>;
191
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnboardingComponent, "onboarding", never, {}, {}, never, never, true, never>;
192
+ }
193
+
194
+ interface OnBoardingKeyStore {
195
+ get(key: string): unknown;
196
+ set(key: string, version: unknown): void;
197
+ }
198
+ declare const ONBOARDING_STORE_TOKEN: InjectionToken<OnBoardingKeyStore>;
199
+ declare function ONBOARDING_STORE_TOKEN_FACTORY(): OnBoardingKeyStore;
200
+ declare class LocalStorageStore implements OnBoardingKeyStore {
201
+ get(key: string): unknown;
202
+ set(key: string, version: unknown): void;
203
+ }
204
+
205
+ declare class OnboardingModule {
206
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingModule, never>;
207
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OnboardingModule, never, [typeof i1.CommonModule, typeof i2.DelonLocaleModule, typeof i3.NzPopoverModule, typeof i4.NzOutletModule, typeof i5.NzButtonModule, typeof i6.NzNoAnimationModule, typeof OnboardingComponent], [typeof OnboardingComponent]>;
208
+ static ɵinj: i0.ɵɵInjectorDeclaration<OnboardingModule>;
209
+ }
210
+
211
+ export { LocalStorageStore, ONBOARDING_STORE_TOKEN, ONBOARDING_STORE_TOKEN_FACTORY, OnboardingComponent, OnboardingModule, OnboardingService };
212
+ export type { OnBoardingKeyStore, OnboardingConfig, OnboardingItem, OnboardingOpType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delon/abc",
3
- "version": "19.1.0",
3
+ "version": "20.0.0-beta.0",
4
4
  "author": "cipchk<cipchk@qq.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,10 +27,10 @@
27
27
  "xlsx": "^0.18.5",
28
28
  "plyr": "^3.7.8",
29
29
  "@github/hotkey": "^3.1.1",
30
- "ngx-countdown": "^19.0.0",
31
- "@delon/theme": "^19.1.0",
32
- "@delon/util": "^19.1.0",
33
- "@delon/acl": "^19.1.0",
30
+ "ngx-countdown": "^20.0.0",
31
+ "@delon/theme": "^20.0.0-beta.0",
32
+ "@delon/util": "^20.0.0-beta.0",
33
+ "@delon/acl": "^20.0.0-beta.0",
34
34
  "tslib": "^2.3.0"
35
35
  },
36
36
  "module": "fesm2022/abc.mjs",
@@ -47,10 +47,6 @@
47
47
  "types": "./auto-focus/index.d.ts",
48
48
  "default": "./fesm2022/auto-focus.mjs"
49
49
  },
50
- "./avatar-list": {
51
- "types": "./avatar-list/index.d.ts",
52
- "default": "./fesm2022/avatar-list.mjs"
53
- },
54
50
  "./cell": {
55
51
  "types": "./cell/index.d.ts",
56
52
  "default": "./fesm2022/cell.mjs"
@@ -131,10 +127,6 @@
131
127
  "types": "./quick-menu/index.d.ts",
132
128
  "default": "./fesm2022/quick-menu.mjs"
133
129
  },
134
- "./result": {
135
- "types": "./result/index.d.ts",
136
- "default": "./fesm2022/result.mjs"
137
- },
138
130
  "./reuse-tab": {
139
131
  "types": "./reuse-tab/index.d.ts",
140
132
  "default": "./fesm2022/reuse-tab.mjs"
@@ -1,5 +1,83 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@delon/abc/page-header" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnChanges, AfterViewInit, TemplateRef } from '@angular/core';
3
+ import * as _angular_cdk_bidi_module_d_IN1Vp56w from '@angular/cdk/bidi-module.d-IN1Vp56w';
4
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
5
+ import * as i1 from '@angular/common';
6
+ import * as i2 from '@angular/router';
7
+ import * as i3 from '@angular/cdk/observers';
8
+ import * as i4 from 'ng-zorro-antd/affix';
9
+ import * as i5 from 'ng-zorro-antd/skeleton';
10
+ import * as i6 from 'ng-zorro-antd/breadcrumb';
11
+ import * as i7 from 'ng-zorro-antd/core/outlet';
12
+
13
+ interface PageHeaderPath {
14
+ title?: string;
15
+ link?: string[];
16
+ }
17
+ declare class PageHeaderComponent implements OnInit, OnChanges, AfterViewInit {
18
+ private readonly renderer;
19
+ private readonly router;
20
+ private readonly cdr;
21
+ private readonly menuSrv;
22
+ private readonly i18nSrv;
23
+ private readonly titleSrv;
24
+ private readonly reuseSrv;
25
+ private readonly settings;
26
+ private readonly platform;
27
+ private readonly cogSrv;
28
+ private conTpl;
29
+ private affix;
30
+ inited: boolean;
31
+ isBrowser: boolean;
32
+ dir: i0.WritableSignal<_angular_cdk_bidi_module_d_IN1Vp56w.a>;
33
+ private get menus();
34
+ _titleVal: string | null;
35
+ paths: PageHeaderPath[];
36
+ _title: string | null;
37
+ _titleTpl: TemplateRef<NzSafeAny> | null;
38
+ set title(value: string | TemplateRef<void> | null);
39
+ titleSub?: string | TemplateRef<void> | null;
40
+ loading: boolean;
41
+ wide: boolean;
42
+ home?: string;
43
+ homeLink?: string;
44
+ homeI18n?: string;
45
+ autoBreadcrumb: boolean;
46
+ autoTitle: boolean;
47
+ syncTitle: boolean;
48
+ fixed: boolean;
49
+ fixedOffsetTop: number;
50
+ breadcrumb?: TemplateRef<NzSafeAny> | null;
51
+ recursiveBreadcrumb: boolean;
52
+ logo?: TemplateRef<void> | null;
53
+ action?: TemplateRef<void> | null;
54
+ content?: TemplateRef<void> | null;
55
+ extra?: TemplateRef<void> | null;
56
+ tab?: TemplateRef<void> | null;
57
+ constructor();
58
+ refresh(): void;
59
+ private genBreadcrumb;
60
+ private setTitle;
61
+ checkContent(): void;
62
+ ngOnInit(): void;
63
+ ngAfterViewInit(): void;
64
+ ngOnChanges(): void;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
66
+ 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, ["*"], true, never>;
67
+ static ngAcceptInputType_loading: unknown;
68
+ static ngAcceptInputType_wide: unknown;
69
+ static ngAcceptInputType_autoBreadcrumb: unknown;
70
+ static ngAcceptInputType_autoTitle: unknown;
71
+ static ngAcceptInputType_syncTitle: unknown;
72
+ static ngAcceptInputType_fixed: unknown;
73
+ static ngAcceptInputType_fixedOffsetTop: unknown;
74
+ static ngAcceptInputType_recursiveBreadcrumb: unknown;
75
+ }
76
+
77
+ declare class PageHeaderModule {
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
79
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.ObserversModule, typeof i4.NzAffixModule, typeof i5.NzSkeletonModule, typeof i6.NzBreadCrumbModule, typeof i7.NzOutletModule, typeof PageHeaderComponent], [typeof PageHeaderComponent]>;
80
+ static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
81
+ }
82
+
83
+ export { PageHeaderComponent, PageHeaderModule };
@@ -3,8 +3,8 @@
3
3
  @{page-header-prefix} {
4
4
  display: block;
5
5
  padding: @page-header-padding;
6
- background-color: @page-header-bg;
7
6
  border-bottom: @border-width-base @border-style-base @border-color-split;
7
+ background-color: @page-header-bg;
8
8
 
9
9
  &__wide {
10
10
  max-width: @page-header-wide;