@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
@@ -1,95 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { SafeHtml } from '@angular/platform-browser';
3
- import { Observable } from 'rxjs';
4
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
5
- export type OnboardingOpType = 'next' | 'prev' | 'skip' | 'done';
6
- export interface OnboardingConfig {
7
- /**
8
- * Storage identification Key, The default is `localStorage` local storage, allowing the use of `ONBOARDING_STORE_TOKEN` to change the storage method
9
- */
10
- key?: string;
11
- /**
12
- * Current version
13
- */
14
- keyVersion?: unknown;
15
- /**
16
- * Onboarding items
17
- */
18
- items?: OnboardingItem[];
19
- /**
20
- * Whether to show mask or not, Default: `true`
21
- */
22
- mask?: boolean;
23
- /**
24
- * Clicking on the mask (area outside the onboarding) to close the onboarding or not, Default: `true`
25
- */
26
- maskClosable?: boolean;
27
- /**
28
- * Whether to show total, Default: `true`
29
- */
30
- showTotal?: boolean;
31
- }
32
- export interface OnboardingItem {
33
- /**
34
- * The CSS selector, which identifies the html element you want to describe
35
- */
36
- selectors: string;
37
- /**
38
- * Positioning of the selector element, relative to the contents of the children, Default: `bottomLeft`
39
- */
40
- position?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
41
- /**
42
- * Class name of the panel
43
- */
44
- className?: string;
45
- /**
46
- * Light style
47
- */
48
- lightStyle?: string;
49
- /**
50
- * Width of the panel
51
- */
52
- width?: number;
53
- /**
54
- * Title text of the panel
55
- */
56
- title?: string | TemplateRef<void>;
57
- /**
58
- * Content text of the panel
59
- */
60
- content?: string | SafeHtml | TemplateRef<void>;
61
- /**
62
- * Skip button of the panel
63
- * - `null` Don't show
64
- */
65
- skip?: string | TemplateRef<void> | null;
66
- /**
67
- * Prev button of the panel
68
- * - `null` Don't show
69
- */
70
- prev?: string | TemplateRef<void> | null;
71
- /**
72
- * Next button of the panel
73
- * - `null` Don't show
74
- */
75
- next?: string | TemplateRef<void> | null;
76
- /**
77
- * Done button of the panel
78
- * - `null` Don't show
79
- */
80
- done?: string | TemplateRef<void> | null;
81
- /**
82
- * Target router url
83
- */
84
- url?: string;
85
- /**
86
- * Callback before entering, triggered when call `next` operates
87
- * - `number` indicate delay
88
- */
89
- before?: Observable<NzSafeAny> | number;
90
- /**
91
- * Callback after entering, triggered when call `prev` operates
92
- * - `number` indicate delay
93
- */
94
- after?: Observable<NzSafeAny> | number;
95
- }
@@ -1,5 +0,0 @@
1
- export * from './onboarding.service';
2
- export * from './onboarding.types';
3
- export * from './onboarding.component';
4
- export * from './onboarding.storage';
5
- export * from './onboarding.module';
@@ -1,70 +0,0 @@
1
- import { Direction } from '@angular/cdk/bidi';
2
- import { Platform } from '@angular/cdk/platform';
3
- import { AfterViewInit, OnChanges, OnInit, TemplateRef } from '@angular/core';
4
- import { SettingsService } from '@delon/theme';
5
- import { AlainConfigService } from '@delon/util/config';
6
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
7
- import * as i0 from "@angular/core";
8
- interface PageHeaderPath {
9
- title?: string;
10
- link?: string[];
11
- }
12
- export declare class PageHeaderComponent implements OnInit, OnChanges, AfterViewInit {
13
- private readonly renderer;
14
- private readonly router;
15
- private readonly cdr;
16
- private readonly menuSrv;
17
- private readonly i18nSrv;
18
- private readonly titleSrv;
19
- private readonly reuseSrv;
20
- private readonly directionality;
21
- private readonly destroy$;
22
- private conTpl;
23
- private affix;
24
- inited: boolean;
25
- isBrowser: boolean;
26
- dir?: Direction;
27
- private get menus();
28
- _titleVal: string | null;
29
- paths: PageHeaderPath[];
30
- _title: string | null;
31
- _titleTpl: TemplateRef<NzSafeAny> | null;
32
- set title(value: string | TemplateRef<void> | null);
33
- titleSub?: string | TemplateRef<void> | null;
34
- loading: boolean;
35
- wide: boolean;
36
- home?: string;
37
- homeLink?: string;
38
- homeI18n?: string;
39
- autoBreadcrumb: boolean;
40
- autoTitle: boolean;
41
- syncTitle: boolean;
42
- fixed: boolean;
43
- fixedOffsetTop: number;
44
- breadcrumb?: TemplateRef<NzSafeAny> | null;
45
- recursiveBreadcrumb: boolean;
46
- logo?: TemplateRef<void> | null;
47
- action?: TemplateRef<void> | null;
48
- content?: TemplateRef<void> | null;
49
- extra?: TemplateRef<void> | null;
50
- tab?: TemplateRef<void> | null;
51
- constructor(settings: SettingsService, configSrv: AlainConfigService, platform: Platform);
52
- refresh(): void;
53
- private genBreadcrumb;
54
- private setTitle;
55
- checkContent(): void;
56
- ngOnInit(): void;
57
- ngAfterViewInit(): void;
58
- ngOnChanges(): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
60
- 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>;
61
- static ngAcceptInputType_loading: unknown;
62
- static ngAcceptInputType_wide: unknown;
63
- static ngAcceptInputType_autoBreadcrumb: unknown;
64
- static ngAcceptInputType_autoTitle: unknown;
65
- static ngAcceptInputType_syncTitle: unknown;
66
- static ngAcceptInputType_fixed: unknown;
67
- static ngAcceptInputType_fixedOffsetTop: unknown;
68
- static ngAcceptInputType_recursiveBreadcrumb: unknown;
69
- }
70
- export {};
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "@angular/router";
4
- import * as i3 from "@angular/cdk/observers";
5
- import * as i4 from "ng-zorro-antd/affix";
6
- import * as i5 from "ng-zorro-antd/skeleton";
7
- import * as i6 from "ng-zorro-antd/breadcrumb";
8
- import * as i7 from "ng-zorro-antd/core/outlet";
9
- import * as i8 from "./page-header.component";
10
- export declare class PageHeaderModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
12
- 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 i8.PageHeaderComponent], [typeof i8.PageHeaderComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
14
- }
@@ -1,2 +0,0 @@
1
- export { PageHeaderComponent } from './page-header.component';
2
- export { PageHeaderModule } from './page-header.module';
@@ -1,101 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
2
- import { AlainConfigService } from '@delon/util/config';
3
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
4
- import { PdfChangeEvent, PdfExternalLinkTarget, PdfTextLayerMode, PdfZoomScale } from './pdf.types';
5
- import * as i0 from "@angular/core";
6
- type PDFDocumentProxy = NzSafeAny;
7
- type EventBus = NzSafeAny;
8
- type PDFFindController = NzSafeAny;
9
- type PDFLinkService = NzSafeAny;
10
- type PDFViewer = NzSafeAny;
11
- export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy {
12
- private readonly lazySrv;
13
- private readonly platform;
14
- private readonly _el;
15
- private readonly doc;
16
- private readonly cdr;
17
- private readonly ngZone;
18
- private readonly destroy$;
19
- inited: boolean;
20
- private lib;
21
- private _pdf?;
22
- private loadingTask?;
23
- private _src;
24
- private lastSrc?;
25
- private _pi;
26
- private _total;
27
- private _showAll;
28
- private _rotation;
29
- private _zoom;
30
- private _renderText;
31
- private _loading;
32
- private multiPageViewer?;
33
- private multiPageLinkService?;
34
- private multiPageFindController?;
35
- private singlePageViewer?;
36
- private singlePageLinkService?;
37
- private singlePageFindController?;
38
- private _eventBus?;
39
- set src(dataOrBuffer: NzSafeAny);
40
- set pi(val: number);
41
- set showAll(val: boolean);
42
- set renderText(val: boolean);
43
- textLayerMode: PdfTextLayerMode;
44
- showBorders: boolean;
45
- stickToPage: boolean;
46
- originalSize: boolean;
47
- fitToPage: boolean;
48
- set zoom(val: number);
49
- zoomScale: PdfZoomScale;
50
- set rotation(val: number);
51
- autoReSize: boolean;
52
- externalLinkTarget: PdfExternalLinkTarget;
53
- delay?: number;
54
- readonly change: EventEmitter<PdfChangeEvent>;
55
- get loading(): boolean;
56
- get pdf(): PDFDocumentProxy | undefined | null;
57
- get findController(): PDFFindController | undefined;
58
- get pageViewer(): PDFViewer | undefined;
59
- get linkService(): PDFLinkService | undefined;
60
- get eventBus(): EventBus | undefined;
61
- private get _textLayerMode();
62
- private get win();
63
- private get el();
64
- constructor(configSrv: AlainConfigService);
65
- private getValidPi;
66
- private emit;
67
- private initDelay;
68
- setLoading(status: boolean): void;
69
- private load;
70
- private resetDoc;
71
- private cleanDoc;
72
- private render;
73
- private timeExec;
74
- private updateSize;
75
- private getScale;
76
- private destroy;
77
- private setupPageViewer;
78
- private createEventBus;
79
- private setupMultiPageViewer;
80
- private setupSinglePageViewer;
81
- ngAfterViewInit(): void;
82
- private initResize;
83
- ngOnChanges(changes: {
84
- [p in keyof PdfComponent]?: SimpleChange;
85
- }): void;
86
- ngOnDestroy(): void;
87
- static ɵfac: i0.ɵɵFactoryDeclaration<PdfComponent, never>;
88
- 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, true, never>;
89
- static ngAcceptInputType_pi: unknown;
90
- static ngAcceptInputType_showAll: unknown;
91
- static ngAcceptInputType_renderText: unknown;
92
- static ngAcceptInputType_showBorders: unknown;
93
- static ngAcceptInputType_stickToPage: unknown;
94
- static ngAcceptInputType_originalSize: unknown;
95
- static ngAcceptInputType_fitToPage: unknown;
96
- static ngAcceptInputType_zoom: unknown;
97
- static ngAcceptInputType_rotation: unknown;
98
- static ngAcceptInputType_autoReSize: unknown;
99
- static ngAcceptInputType_delay: unknown;
100
- }
101
- export {};
@@ -1,2 +0,0 @@
1
- import { AlainPdfConfig } from '@delon/util/config';
2
- export declare const PDF_DEFULAT_CONFIG: AlainPdfConfig;
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "ng-zorro-antd/skeleton";
4
- import * as i3 from "./pdf.component";
5
- export declare class PdfModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<PdfModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<PdfModule, never, [typeof i1.CommonModule, typeof i2.NzSkeletonModule, typeof i3.PdfComponent], [typeof i3.PdfComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<PdfModule>;
9
- }
@@ -1,29 +0,0 @@
1
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
2
- type PDFDocumentProxy = NzSafeAny;
3
- export type PdfChangeEventType = 'loaded' | 'load-progress' | 'pages-init' | 'page-rendered' | 'text-layer-rendered' | 'pi' | 'error';
4
- export type PdfZoomScale = 'page-height' | 'page-fit' | 'page-width';
5
- export interface PdfChangeEvent {
6
- type?: PdfChangeEventType;
7
- pi?: number;
8
- total?: number;
9
- pdf?: PDFDocumentProxy | null;
10
- ev?: NzSafeAny;
11
- progress?: {
12
- loaded: number;
13
- total: number;
14
- };
15
- error?: NzSafeAny;
16
- }
17
- export declare enum PdfTextLayerMode {
18
- DISABLE = 0,
19
- ENABLE = 1,
20
- ENABLE_ENHANCE = 2
21
- }
22
- export declare enum PdfExternalLinkTarget {
23
- NONE = 0,// Default value.
24
- SELF = 1,
25
- BLANK = 2,
26
- PARENT = 3,
27
- TOP = 4
28
- }
29
- export {};
@@ -1,4 +0,0 @@
1
- export { PdfComponent } from './pdf.component';
2
- export * from './pdf.config';
3
- export * from './pdf.types';
4
- export { PdfModule } from './pdf.module';
package/public_api.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const _default: undefined;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- export { QuickMenuComponent } from './quick-menu.component';
2
- export { QuickMenuModule } from './quick-menu.module';
@@ -1,26 +0,0 @@
1
- import { EventEmitter, OnChanges, OnInit, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class QuickMenuComponent implements OnInit, OnChanges {
4
- private readonly cdr;
5
- private readonly el;
6
- private readonly render;
7
- ctrlStyle: Record<string, string | undefined>;
8
- icon: string | TemplateRef<void>;
9
- top: number;
10
- width: number;
11
- bgColor?: string;
12
- borderColor?: string;
13
- expand: boolean;
14
- readonly expandChange: EventEmitter<boolean>;
15
- private show;
16
- private initFlag;
17
- _click(): void;
18
- private setStyle;
19
- ngOnInit(): void;
20
- ngOnChanges(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<QuickMenuComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<QuickMenuComponent, "quick-menu", ["quickMenu"], { "icon": { "alias": "icon"; "required": false; }; "top": { "alias": "top"; "required": false; }; "width": { "alias": "width"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, { "expandChange": "expandChange"; }, never, ["*"], true, never>;
23
- static ngAcceptInputType_top: unknown;
24
- static ngAcceptInputType_width: unknown;
25
- static ngAcceptInputType_expand: unknown;
26
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "ng-zorro-antd/icon";
4
- import * as i3 from "ng-zorro-antd/core/outlet";
5
- import * as i4 from "./quick-menu.component";
6
- export declare class QuickMenuModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<QuickMenuModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<QuickMenuModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.NzOutletModule, typeof i4.QuickMenuComponent], [typeof i4.QuickMenuComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<QuickMenuModule>;
10
- }
package/result/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@delon/abc/result" />
5
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- export { ResultComponent } from './result.component';
2
- export { ResultModule } from './result.module';
@@ -1,21 +0,0 @@
1
- import { Direction } from '@angular/cdk/bidi';
2
- import { OnInit, TemplateRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated Will be removed in v20, Please use `nz-result` instead.
6
- */
7
- export declare class ResultComponent implements OnInit {
8
- private readonly cdr;
9
- private readonly directionality;
10
- private readonly destroy$;
11
- _type: string;
12
- _icon: string;
13
- set type(value: string);
14
- title?: string | TemplateRef<void>;
15
- description?: string | TemplateRef<void>;
16
- extra?: string | TemplateRef<void>;
17
- dir?: Direction;
18
- ngOnInit(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ResultComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ResultComponent, "result", ["result"], { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; }, {}, never, ["*"], true, never>;
21
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "ng-zorro-antd/icon";
4
- import * as i3 from "ng-zorro-antd/core/outlet";
5
- import * as i4 from "./result.component";
6
- /**
7
- * @deprecated Will be removed in v20, Please use `nz-result` instead.
8
- */
9
- export declare class ResultModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ResultModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<ResultModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.NzOutletModule, typeof i4.ResultComponent], [typeof i4.ResultComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<ResultModule>;
13
- }
@@ -1,66 +0,0 @@
1
- @result-prefix: ~'.result';
2
-
3
- @{result-prefix} {
4
- display: block;
5
- width: 72%;
6
- margin: 0 auto;
7
- text-align: center;
8
-
9
- &__icon {
10
- margin-bottom: 24px;
11
- font-size: 72px;
12
- line-height: 72px;
13
-
14
- &-success {
15
- color: @success-color;
16
- }
17
-
18
- &-error {
19
- color: @error-color;
20
- }
21
- }
22
-
23
- &__title {
24
- margin-bottom: 16px;
25
- font-size: 24px;
26
- font-weight: 500;
27
- line-height: 32px;
28
- color: @heading-color;
29
- }
30
-
31
- &__desc {
32
- margin-bottom: 24px;
33
- font-size: 14px;
34
- line-height: 22px;
35
- color: @text-color-secondary;
36
- }
37
-
38
- &__extra {
39
- padding: 24px 40px;
40
- text-align: left;
41
- background: @result-extra-bg;
42
- border-radius: @border-radius-sm;
43
-
44
- @media screen and (max-width: @screen-xs) {
45
- padding: 18px 20px;
46
- }
47
- }
48
-
49
- &__actions {
50
- margin-top: 32px;
51
-
52
- button:not(:last-child) {
53
- margin-right: 8px;
54
- }
55
- }
56
- .@{ant-prefix}-steps .@{ant-prefix}-steps-head,
57
- .@{ant-prefix}-steps .@{ant-prefix}-steps-title {
58
- background: @result-extra-bg;
59
- }
60
-
61
- @media screen and (max-width: @screen-xs) {
62
- width: 100%;
63
- }
64
- }
65
-
66
- @import './rtl.less';
@@ -1,3 +0,0 @@
1
- @{result-prefix}-rtl {
2
- direction: rtl;
3
- }
@@ -1,16 +0,0 @@
1
- import { ReuseHookOnReuseInitType } from './reuse-tab.interfaces';
2
- /**
3
- * Triggered when the current route is in the reusing process, The values of `type` are:
4
- *
5
- * - `init` when routing process 当路由复用时
6
- * - `refresh` when refresh action via tab 当通过标签刷新时
7
- */
8
- export interface OnReuseInit {
9
- _onReuseInit(type?: ReuseHookOnReuseInitType): void;
10
- }
11
- /**
12
- * Triggered when the current route allows reusing and leave route.
13
- */
14
- export interface OnReuseDestroy {
15
- _onReuseDestroy(): void;
16
- }
@@ -1,28 +0,0 @@
1
- import { EnvironmentProviders, Provider } from '@angular/core';
2
- import { ReuseTabMatchMode, ReuseTabRouteParamMatchMode } from './reuse-tab.interfaces';
3
- export declare enum ReuseTabFeatureKind {
4
- CacheManager = 0,
5
- Store = 1
6
- }
7
- export interface ReuseTabFeature<KindT extends ReuseTabFeatureKind> {
8
- ɵkind: KindT;
9
- ɵproviders: Provider[];
10
- }
11
- /**
12
- * Configures reuse-tab to be available for injection.
13
- *
14
- * @see {@link withLocalStorage}
15
- * @see {@link withCacheManager}
16
- */
17
- export declare function provideReuseTabConfig(options?: {
18
- debug?: boolean;
19
- mode?: ReuseTabMatchMode;
20
- routeParamMatchMode?: ReuseTabRouteParamMatchMode;
21
- max?: number;
22
- excludes?: RegExp[];
23
- storeKey?: string;
24
- cacheManager?: ReuseTabFeature<ReuseTabFeatureKind.CacheManager>;
25
- store?: ReuseTabFeature<ReuseTabFeatureKind.Store>;
26
- }): EnvironmentProviders;
27
- export declare function withCacheManager(): ReuseTabFeature<ReuseTabFeatureKind.CacheManager>;
28
- export declare function withLocalStorage(): ReuseTabFeature<ReuseTabFeatureKind.Store>;
@@ -1,14 +0,0 @@
1
- export { ReuseTabContextMenuComponent } from './reuse-tab-context-menu.component';
2
- export { ReuseTabContextComponent } from './reuse-tab-context.component';
3
- export { ReuseTabContextDirective } from './reuse-tab-context.directive';
4
- export { ReuseTabContextService } from './reuse-tab-context.service';
5
- export { ReuseTabComponent } from './reuse-tab.component';
6
- export { ReuseTabService } from './reuse-tab.service';
7
- export { ReuseTabStrategy } from './reuse-tab.strategy';
8
- export { ReuseTabModule } from './reuse-tab.module';
9
- export * from './reuse-tab.interfaces';
10
- export * from './lifecycle_hooks';
11
- export * from './reuse-tab.state';
12
- export { REUSE_TAB_CACHED_MANAGER } from './reuse-tab.cache';
13
- export type { ReuseTabCachedManager } from './reuse-tab.cache';
14
- export * from './provide';
@@ -1,21 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { CloseType, ReuseContextCloseEvent, ReuseContextI18n, ReuseCustomContextMenu, ReuseItem } from './reuse-tab.interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class ReuseTabContextMenuComponent implements OnInit {
5
- private readonly i18nSrv;
6
- private _i18n;
7
- set i18n(value: ReuseContextI18n);
8
- get i18n(): ReuseContextI18n;
9
- item: ReuseItem;
10
- event: MouseEvent;
11
- customContextMenu: ReuseCustomContextMenu[];
12
- readonly close: EventEmitter<ReuseContextCloseEvent>;
13
- get includeNonCloseable(): boolean;
14
- private notify;
15
- ngOnInit(): void;
16
- click(e: MouseEvent, type: CloseType, custom?: ReuseCustomContextMenu): void;
17
- isDisabled(custom: ReuseCustomContextMenu): boolean;
18
- closeMenu(event: MouseEvent): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextMenuComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ReuseTabContextMenuComponent, "reuse-tab-context-menu", never, { "i18n": { "alias": "i18n"; "required": false; }; "item": { "alias": "item"; "required": false; }; "event": { "alias": "event"; "required": false; }; "customContextMenu": { "alias": "customContextMenu"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
21
- }
@@ -1,11 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ReuseContextCloseEvent, ReuseContextI18n } from './reuse-tab.interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class ReuseTabContextComponent {
5
- private readonly srv;
6
- set i18n(value: ReuseContextI18n | undefined);
7
- readonly change: EventEmitter<ReuseContextCloseEvent>;
8
- constructor();
9
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ReuseTabContextComponent, "reuse-tab-context", never, { "i18n": { "alias": "i18n"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
11
- }
@@ -1,10 +0,0 @@
1
- import { ReuseCustomContextMenu, ReuseItem } from './reuse-tab.interfaces';
2
- import * as i0 from "@angular/core";
3
- export declare class ReuseTabContextDirective {
4
- private readonly srv;
5
- item: ReuseItem;
6
- customContextMenu: ReuseCustomContextMenu[];
7
- _onContextMenu(event: MouseEvent): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<ReuseTabContextDirective, "[reuse-tab-context-menu]", ["reuseTabContextMenu"], { "item": { "alias": "reuse-tab-context-menu"; "required": false; }; "customContextMenu": { "alias": "customContextMenu"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,14 +0,0 @@
1
- import { Subject } from 'rxjs';
2
- import { ReuseContextCloseEvent, ReuseContextEvent, ReuseContextI18n } from './reuse-tab.interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class ReuseTabContextService {
5
- private readonly overlay;
6
- private ref;
7
- i18n?: ReuseContextI18n;
8
- show: Subject<ReuseContextEvent>;
9
- close: Subject<ReuseContextCloseEvent>;
10
- remove(): void;
11
- open(context: ReuseContextEvent): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<ReuseTabContextService>;
14
- }
@@ -1,16 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { ReuseTabCached, ReuseTitle } from './reuse-tab.interfaces';
3
- /**
4
- * Storage manager that can change rules by implementing `get`, `set` accessors
5
- */
6
- export declare const REUSE_TAB_CACHED_MANAGER: InjectionToken<ReuseTabCachedManager>;
7
- export interface ReuseTabCachedManager {
8
- list: ReuseTabCached[];
9
- title: Record<string, ReuseTitle>;
10
- closable: Record<string, boolean>;
11
- }
12
- export declare class ReuseTabCachedManagerFactory implements ReuseTabCachedManager {
13
- list: ReuseTabCached[];
14
- title: Record<string, ReuseTitle>;
15
- closable: Record<string, boolean>;
16
- }