@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,74 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { AlainConfigService, AlainLodopConfig } from '@delon/util/config';
4
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
5
- import { LodopPrintResult, LodopResult } from './lodop.types';
6
- import * as i0 from "@angular/core";
7
- export declare class LodopService implements OnDestroy {
8
- private readonly scriptSrv;
9
- private defaultConfig;
10
- private _cog;
11
- private pending;
12
- private _lodop;
13
- private _init;
14
- private _events;
15
- private printBuffer;
16
- constructor(configSrv: AlainConfigService);
17
- /**
18
- * Get or set configuration, **Note:** Resetting will invert and reload script resources
19
- *
20
- * 获取或重新设置配置,**注:**重新设置会倒置重新加载脚本资源
21
- */
22
- get cog(): AlainLodopConfig;
23
- set cog(value: AlainLodopConfig);
24
- /**
25
- * Event change notification
26
- *
27
- * 事件变更通知
28
- */
29
- get events(): Observable<LodopPrintResult>;
30
- /**
31
- * Get lodop object
32
- *
33
- * 获取 lodop 对象
34
- */
35
- get lodop(): Observable<LodopResult>;
36
- /**
37
- * Get printer list
38
- *
39
- * 获取打印机列表
40
- */
41
- get printer(): string[];
42
- private check;
43
- private request;
44
- /**
45
- * Reset lodop object
46
- *
47
- * 重置 lodop 对象
48
- */
49
- reset(): void;
50
- /**
51
- * Attach code to the `lodop` object, the string class supports dynamic parameters of `{{key}}`,
52
- * **Note:** The code refers to the string data generated by the print design
53
- *
54
- * 附加代码至 `lodop` 对象上,字符串类支持 `{{key}}` 的动态参数,**注:** 代码是指打印设计所产生字符串数据
55
- */
56
- attachCode(code: string, contextObj?: NzSafeAny, parser?: RegExp): void;
57
- /**
58
- * The code is automatically returned after opening the print design and closing,
59
- * **Note:** Automatically listen for the `On_Return` event, and it will be removed after running
60
- *
61
- * 打开打印设计关闭后自动返回代码,**注:** 自动监听 `On_Return` 事件,运行后会移除
62
- */
63
- design(): Promise<string>;
64
- private printDo;
65
- /**
66
- * Print immediately, generally used for batch printing
67
- *
68
- * 立即打印,一般用于批量套打
69
- */
70
- print(code: string, contextObj: NzSafeAny, parser?: RegExp): void;
71
- ngOnDestroy(): void;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<LodopService, never>;
73
- static ɵprov: i0.ɵɵInjectableDeclaration<LodopService>;
74
- }
@@ -1,193 +0,0 @@
1
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
2
- export interface CLodop {
3
- /**
4
- * 判断是否支持https协议的属性
5
- *
6
- * - 0 不支持
7
- * - 1 支持
8
- * - 2 支持且已启动(https服务需单独启动)
9
- */
10
- readonly HTTPS_STATUS: number;
11
- /** 结果回调函数保留 */
12
- On_Return_Remain: boolean;
13
- /** 结果回调函数 */
14
- On_Return: ((taskID: string, value: boolean | string) => void) | null;
15
- /** 建立打印机名单 */
16
- Create_Printer_List(el: Element): void;
17
- /** 建立纸张类型名单 */
18
- Create_PageSize_List(el: Element, iPrintIndex: number): void;
19
- }
20
- export interface Lodop extends CLodop {
21
- [key: string]: NzSafeAny;
22
- /** 获得软件版本号 */
23
- VERSION: string;
24
- /**
25
- * 打印初始化。初始化运行环境,清理异常打印遗留的系统资源,设定打印任务名。
26
- *
27
- * **建议或要求:**该函数与PRINT_INITA都有初始化功能,每个打印事务至少初始化一次,建议打印程序首先调用该函数。任务名要尽量区别于其它打印任务,譬如用“XX单位_XX管理信息系统_XX子系统_XX模块_XX打印作业”字样。
28
- * 不希望最终用户更改打印布局时,则设strTaskName空。
29
- *
30
- * @param strTaskName 打印任务名
31
- * @returns 返回逻辑真表示初始化成功,逻辑假表示初始化失败,失败原因有:前一个打印事务没有完成;操作系统没有添加打印机(驱动)等
32
- */
33
- PRINT_INIT(strTaskName: string): boolean;
34
- /** 设定纸张大小 */
35
- SET_PRINT_PAGESIZE(intOrient: number, PageWidth: number | string, PageHeight: number | string, strPageName: string): void;
36
- /** 增加超文本打印项(普通模式) */
37
- ADD_PRINT_HTM(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strHtmlContent: string): void;
38
- /**
39
- * 增加表格打印项(超文本模式)
40
- */
41
- ADD_PRINT_TABLE(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strHtml: string): void;
42
- /**
43
- * 增加表格打印项(超文本模式)
44
- */
45
- ADD_PRINT_TABLE(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strHtml: string): void;
46
- /**
47
- * 增加超文本打印项(URL模式)
48
- */
49
- ADD_PRINT_URL(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strURL: string): void;
50
- /** 增加纯文本打印项 */
51
- ADD_PRINT_TEXT(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strContent: string): void;
52
- /** 增加图片打印项 */
53
- ADD_PRINT_IMAGE(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strHtmlContent: string): void;
54
- /** 增加矩形线 */
55
- ADD_PRINT_RECT(Top: number | string, Left: number | string, Width: number | string, Height: number | string, intLineStyle: number, intLineWidth: number): void;
56
- /** 增加椭圆线 */
57
- ADD_PRINT_ELLIPSE(Top: number | string, Left: number | string, Width: number | string, Height: number | string, intLineStyle: number, intLineWidth: number): void;
58
- /** 增加直线 */
59
- ADD_PRINT_LINE(Top1: number | string, Left1: number | string, Top2: number | string, Left2: number | string, intLineStyle: number, intLineWidth: number): void;
60
- /** 增加条形码 */
61
- ADD_PRINT_BARCODE(Top: number | string, Left: number | string, Width: number | string, Height: number | string, CodeType: string, CodeValue: string): void;
62
- /** 增加图表 */
63
- ADD_PRINT_CHART(Top: number | string, Left: number | string, Width: number | string, Height: number | string, ChartType: number, strHtml: string): void;
64
- /** 增加PDF */
65
- ADD_PRINT_PDF(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strContent: string): void;
66
- /** 增加PDF */
67
- ADD_PRINT_PDF(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strContent: string): void;
68
- /** 装载文档式模板 */
69
- ADD_PRINT_DATA(strDataStyle: string, varDataValue: NzSafeAny): void;
70
- /** 设置打印项风格 */
71
- SET_PRINT_STYLE(strStyleName: LodopStyleValue, varStyleValue: number | string): void;
72
- /** 打印预览 */
73
- PREVIEW(): number;
74
- /** 直接打印 */
75
- PRINT(): string;
76
- /** 打印维护 */
77
- PRINT_SETUP(): string;
78
- /** 打印设计 */
79
- PRINT_DESIGN(): string;
80
- /** 强制分页 */
81
- NEWPAGE(): boolean;
82
- /** 获得打印设备个数 */
83
- GET_PRINTER_COUNT(): number;
84
- /** 获得打印设备名称 */
85
- GET_PRINTER_NAME(strPrinterIDandType: number | string): string;
86
- /** 指定打印设备 */
87
- SET_PRINTER_INDEX(oIndexOrName: number | string): boolean;
88
- /** 【CLodop】指定打印机 */
89
- SET_PRINTER_INDEX(DriverIndex: number | string, PrinterIDandName: number | string, SubDevIndex: number | string): boolean;
90
- /** 选择打印设备 */
91
- SELECT_PRINTER(): number;
92
- /** 设置显示模式 */
93
- SET_SHOW_MODE(strModeType: string, varModeValue: number | string): boolean;
94
- /** 设置打印模式 */
95
- SET_PRINT_MODE(strModeType: string, varModeValue: number | string): boolean | string;
96
- /** 设置打印份数 */
97
- SET_PRINT_COPIES(intCopies: number): boolean;
98
- /** 设置预览窗口 */
99
- SET_PREVIEW_WINDOW(intDispMode: number, intToolMode: number, blDirectPrint: number, inWidth: number, intHeight: number, strTitleButtonCaptoin: string): void;
100
- /** 指定背景图 */
101
- ADD_PRINT_SETUP_BKIMG(strImgHtml: string): void;
102
- /** 发送原始数据 */
103
- SEND_PRINT_RAWDATA(strRawData: string): boolean;
104
- /** 写端口数据 */
105
- WRITE_PORT_DATA(strPortName: string, strData: string): boolean;
106
- /** 读端口数据 */
107
- READ_PORT_DATA(strPortName: string): string;
108
- /** 获得配置文件名 */
109
- GET_PRINT_INIFFNAME(strPrintTask: string): string;
110
- /** 获得纸张类型名清单 */
111
- GET_PAGESIZES_LIST(oPrinterName: number | string, strSplit: string): string;
112
- /** 写本地文件内容 */
113
- WRITE_FILE_TEXT(intWriteMode: number | string, strFileName: string, strText: string): string;
114
- /** 读本地文件内容 */
115
- GET_FILE_TEXT(strFileName: string): string | null;
116
- /** 读本地文件时间 */
117
- GET_FILE_TIME(strFileName: string): string | null;
118
- /** 判断本地文件是否存在 */
119
- IS_FILE_EXIST(strFileName: string): boolean;
120
- /** 获得系统信息 */
121
- GET_SYSTEM_INFO(strInfoType: string): boolean;
122
- /** 获得数据值 */
123
- GET_VALUE(ValueType: string, ValueIndex: number | string): NzSafeAny;
124
- /** 数据格式转换 */
125
- FORMAT(oType: string, oValue: NzSafeAny): NzSafeAny;
126
- /** 获得对话框结果值 */
127
- GET_DIALOG_VALUE(oType: string, oPreValue: string): string;
128
- /** (增强型)打印初始化 */
129
- PRINT_INITA(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strPrintName: string): boolean;
130
- /** (增强型)增加超文本打印项(图形模式) */
131
- ADD_PRINT_HTML(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strHtmlContent: string): void;
132
- /** (增强型)增加表格打印项(URL模式) */
133
- ADD_PRINT_TBURL(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strURL: string): void;
134
- /** (增强型)增加纯文本打印项 */
135
- ADD_PRINT_TEXTA(Top: number | string, Left: number | string, Width: number | string, Height: number | string, strContent: string): void;
136
- /** (增强型)设置打印项风格A, 继承 `SET_PRINT_STYLE` 的所有属性 */
137
- SET_PRINT_STYLEA(varItemNameID: number | string, strStyleName: string, varStyleValue: number | string): void;
138
- /** (增强型)导出数据到文件 */
139
- SAVE_TO_FILE(strFileName: string): boolean;
140
- /** (增强型)设置保存模式 */
141
- SET_SAVE_MODE(varModeName: string, varModeValue: number | string): boolean;
142
- /** (增强型)增加图形 */
143
- ADD_PRINT_SHAPE(intShapeType: number, Top: number | string, Left: number | string, Width: number | string, Height: number | string, intLineStyle: number, intLineWidth: number, varColor: number | string): void;
144
- /** (增强型)指定打印设备 */
145
- SET_PRINTER_INDEXA(oIndexOrName: number | string): boolean;
146
- /** (增强型)强制分页 */
147
- NEWPAGEA(): boolean;
148
- /** (增强型)打印预览A */
149
- PREVIEWA(): number;
150
- /** (增强型)打印预览B */
151
- PREVIEWB(): number;
152
- /** 直接打印A */
153
- PRINTA(): boolean;
154
- /** 直接打印B */
155
- PRINTB(): boolean;
156
- /** 显示图表 */
157
- SHOW_CHART(): void;
158
- /** 控制界面动作 */
159
- DO_ACTION(ActName: string, ActValue: number | string): void;
160
- /**
161
- * 设置软件产品注册信息
162
- *
163
- * @param strCompanyName 注册单位名称,用途与控件参数CompanyName一样。
164
- * @param strLicense 主注册号,用途与控件参数License一样。
165
- * @param strLicenseA 附加注册号A,用途与控件参数LicenseA一样。
166
- * @param strLicenseB 附加注册号B,用途与控件参数LicenseB一样。
167
- */
168
- SET_LICENSES(strCompanyName: string, strLicense: string, strLicenseA?: string, strLicenseB?: string): void;
169
- webskt: WebSocket;
170
- }
171
- export type LodopStyleValue = 'FontName' | 'FontSize' | 'FontColor' | 'Bold' | 'Italic' | 'Underline' | 'Alignment' | 'Angle' | 'ItemType' | 'HOrient' | 'VOrient' | 'PenWidth' | 'PenStyle' | 'Stretch' | 'PreviewOnly' | 'ReadOnly';
172
- export interface LodopResult {
173
- /** 是否成功 */
174
- ok: boolean;
175
- /** 错误码 */
176
- status?: string;
177
- /** 成功时携带 LODOP 对象 */
178
- lodop?: Lodop;
179
- /** 错误信息 */
180
- error?: NzSafeAny;
181
- }
182
- export interface LodopPrintResult {
183
- /** 是否成功 */
184
- ok: boolean;
185
- /** 错误信息 */
186
- error?: string;
187
- /** 代码 */
188
- code: string;
189
- /** 动态参数上下文对象 */
190
- item: NzSafeAny;
191
- /** 代码解析表达式 */
192
- parser?: RegExp;
193
- }
@@ -1,3 +0,0 @@
1
- export * from './lodop.types';
2
- export { LodopService } from './lodop.service';
3
- export { LodopModule } from './lodop.module';
@@ -1,33 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
2
- import type Plyr from 'plyr';
3
- import * as i0 from "@angular/core";
4
- export type MediaType = 'html5' | 'youtube' | 'video' | 'audio';
5
- export declare class MediaComponent implements OnChanges, AfterViewInit, OnDestroy {
6
- private readonly destroy$;
7
- private readonly el;
8
- private readonly renderer;
9
- private readonly ngZone;
10
- private readonly srv;
11
- private readonly platform;
12
- private _p?;
13
- private videoEl?;
14
- type: MediaType;
15
- source?: string | Plyr.SourceInfo;
16
- options?: Plyr.Options;
17
- delay: number;
18
- readonly ready: EventEmitter<Plyr>;
19
- get player(): Plyr | undefined | null;
20
- private initDelay;
21
- private init;
22
- private ensureElement;
23
- private destroy;
24
- private uploadSource;
25
- ngAfterViewInit(): void;
26
- ngOnChanges(changes: {
27
- [p in keyof MediaComponent]?: SimpleChange;
28
- }): void;
29
- ngOnDestroy(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<MediaComponent, never>;
31
- 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>;
32
- static ngAcceptInputType_delay: unknown;
33
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./media.component";
4
- export declare class MediaModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MediaModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<MediaModule, never, [typeof i1.CommonModule, typeof i2.MediaComponent], [typeof i2.MediaComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<MediaModule>;
8
- }
@@ -1,17 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { AlainMediaConfig } from '@delon/util/config';
3
- import * as i0 from "@angular/core";
4
- export declare class MediaService {
5
- private readonly cogSrv;
6
- private readonly lazySrv;
7
- private _cog;
8
- private loading;
9
- private loaded;
10
- private notify$;
11
- get cog(): AlainMediaConfig;
12
- set cog(val: AlainMediaConfig);
13
- load(): this;
14
- notify(): Observable<void>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MediaService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<MediaService>;
17
- }
@@ -1,3 +0,0 @@
1
- export * from './media.component';
2
- export * from './media.service';
3
- export * from './media.module';
@@ -1,13 +0,0 @@
1
- import { LocaleData } from '@delon/theme';
2
- import { NoticeIconSelect, NoticeItem } from './notice-icon.types';
3
- import * as i0 from "@angular/core";
4
- export declare class NoticeIconTabComponent {
5
- locale: import("@angular/core").InputSignal<LocaleData>;
6
- item: import("@angular/core").InputSignal<NoticeItem>;
7
- readonly select: import("@angular/core").OutputEmitterRef<NoticeIconSelect>;
8
- readonly clear: import("@angular/core").OutputEmitterRef<string>;
9
- onClick(item: NoticeItem): void;
10
- onClear(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NoticeIconTabComponent, never>;
12
- static ɵcmp: i0.ɵɵ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>;
13
- }
@@ -1,25 +0,0 @@
1
- import { LocaleData } from '@delon/theme';
2
- import type { NgClassType } from 'ng-zorro-antd/core/types';
3
- import { NoticeIconSelect, NoticeItem } from './notice-icon.types';
4
- import * as i0 from "@angular/core";
5
- export declare class NoticeIconComponent {
6
- locale: import("@angular/core").Signal<LocaleData>;
7
- data: import("@angular/core").InputSignal<NoticeItem[]>;
8
- count: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
9
- loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
10
- popoverVisible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
11
- btnClass: import("@angular/core").InputSignal<NgClassType | undefined>;
12
- btnIconClass: import("@angular/core").InputSignal<NgClassType | undefined>;
13
- centered: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
14
- readonly select: import("@angular/core").OutputEmitterRef<NoticeIconSelect>;
15
- readonly clear: import("@angular/core").OutputEmitterRef<string>;
16
- readonly popoverVisibleChange: import("@angular/core").OutputEmitterRef<boolean>;
17
- overlayCls: import("@angular/core").WritableSignal<string>;
18
- constructor();
19
- delayShow: import("@angular/core").WritableSignal<boolean>;
20
- onVisibleChange(result: boolean): void;
21
- onSelect(i: NoticeIconSelect): void;
22
- onClear(title: string): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<NoticeIconComponent, never>;
24
- static ɵcmp: i0.ɵɵ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>;
25
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "@delon/theme";
4
- import * as i3 from "ng-zorro-antd/badge";
5
- import * as i4 from "ng-zorro-antd/dropdown";
6
- import * as i5 from "ng-zorro-antd/icon";
7
- import * as i6 from "ng-zorro-antd/list";
8
- import * as i7 from "ng-zorro-antd/spin";
9
- import * as i8 from "ng-zorro-antd/tabs";
10
- import * as i9 from "ng-zorro-antd/tag";
11
- import * as i10 from "ng-zorro-antd/core/outlet";
12
- import * as i11 from "./notice-icon.component";
13
- import * as i12 from "./notice-icon-tab.component";
14
- export declare class NoticeIconModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<NoticeIconModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<NoticeIconModule, never, [typeof i1.CommonModule, typeof i2.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 i11.NoticeIconComponent, typeof i12.NoticeIconTabComponent], [typeof i11.NoticeIconComponent]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<NoticeIconModule>;
18
- }
@@ -1,36 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
3
- export interface NoticeItem {
4
- [key: string]: NzSafeAny;
5
- title: string;
6
- list: NoticeIconList[];
7
- /** 空列表文本,默认:`无通知` */
8
- emptyText?: string | TemplateRef<void>;
9
- /** 空列表图像 */
10
- emptyImage?: string;
11
- /** 清空文本,默认:`清空` */
12
- clearText?: string;
13
- }
14
- export interface NoticeIconList {
15
- [key: string]: NzSafeAny;
16
- /** 头像图片链接 */
17
- avatar?: string;
18
- /** 标题 */
19
- title?: string | TemplateRef<{
20
- $implicit: NoticeIconList;
21
- }>;
22
- /** 描述信息 */
23
- description?: string | TemplateRef<{
24
- $implicit: NoticeIconList;
25
- }>;
26
- /** 时间戳 */
27
- datetime?: string | Date | number;
28
- /** 额外信息,在列表项右上角 */
29
- extra?: string;
30
- /** 是否已读状态 */
31
- read?: boolean;
32
- }
33
- export interface NoticeIconSelect {
34
- title: string;
35
- item: NoticeItem;
36
- }
@@ -1,4 +0,0 @@
1
- export * from './notice-icon.types';
2
- export { NoticeIconTabComponent } from './notice-icon-tab.component';
3
- export { NoticeIconComponent } from './notice-icon.component';
4
- export { NoticeIconModule } from './notice-icon.module';
@@ -1,31 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class SizeObserver implements OnDestroy {
5
- private _observedElements;
6
- ngOnDestroy(): void;
7
- observe(element: Element): Observable<MutationRecord[]>;
8
- private _observeElement;
9
- private _unobserveElement;
10
- private _cleanupObserver;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SizeObserver, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<SizeObserver>;
13
- }
14
- export declare class ObserverSize implements AfterViewInit, OnDestroy {
15
- private readonly _obs;
16
- private readonly el;
17
- private readonly ngZone;
18
- private _sub$;
19
- readonly event: EventEmitter<MutationRecord[]>;
20
- ngAfterViewInit(): void;
21
- private _sub;
22
- private _unsub;
23
- ngOnDestroy(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<ObserverSize, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<ObserverSize, "[observeSize]", ["observeSize"], {}, { "event": "observeSize"; }, never, never, true, never>;
26
- }
27
- export declare class ObserversModule {
28
- static ɵfac: i0.ɵɵFactoryDeclaration<ObserversModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<ObserversModule, never, [typeof ObserverSize], [typeof ObserverSize]>;
30
- static ɵinj: i0.ɵɵInjectorDeclaration<ObserversModule>;
31
- }
@@ -1 +0,0 @@
1
- export * from './observer-size';
@@ -1,35 +0,0 @@
1
- import { Direction } from '@angular/cdk/bidi';
2
- import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
3
- import { OnboardingConfig, OnboardingItem, OnboardingOpType } from './onboarding.types';
4
- import * as i0 from "@angular/core";
5
- export declare class OnboardingComponent implements OnDestroy, AfterViewInit {
6
- private readonly el;
7
- private readonly platform;
8
- private readonly cdr;
9
- private readonly doc;
10
- private time;
11
- private prevSelectorEl?;
12
- config: OnboardingConfig;
13
- item: OnboardingItem;
14
- active: number;
15
- max: number;
16
- readonly op: EventEmitter<OnboardingOpType>;
17
- running: boolean;
18
- dir: Direction;
19
- private popover;
20
- get first(): boolean;
21
- get last(): boolean;
22
- private _getDoc;
23
- private _getWin;
24
- private getLightData;
25
- ngAfterViewInit(): void;
26
- private scroll;
27
- updateRunning(status: boolean): void;
28
- private updatePosition;
29
- private updatePrevElStatus;
30
- to(type: OnboardingOpType): void;
31
- handleMask(): void;
32
- ngOnDestroy(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<OnboardingComponent, "onboarding", never, {}, {}, never, never, true, never>;
35
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "@delon/theme";
4
- import * as i3 from "ng-zorro-antd/popover";
5
- import * as i4 from "ng-zorro-antd/core/outlet";
6
- import * as i5 from "ng-zorro-antd/button";
7
- import * as i6 from "ng-zorro-antd/core/no-animation";
8
- import * as i7 from "./onboarding.component";
9
- export declare class OnboardingModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingModule, never>;
11
- 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 i7.OnboardingComponent], [typeof i7.OnboardingComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<OnboardingModule>;
13
- }
@@ -1,58 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { OnboardingConfig } from './onboarding.types';
3
- import * as i0 from "@angular/core";
4
- export declare class OnboardingService implements OnDestroy {
5
- private readonly i18n;
6
- private readonly appRef;
7
- private readonly router;
8
- private readonly doc;
9
- private readonly configSrv;
10
- private readonly keyStoreSrv;
11
- private readonly directionality;
12
- private compRef;
13
- private op$;
14
- private config?;
15
- private active;
16
- private running$;
17
- private _running;
18
- private type;
19
- private _getDoc;
20
- /**
21
- * Get whether it is booting
22
- *
23
- * 获取是否正在引导中
24
- */
25
- get running(): boolean;
26
- private attach;
27
- private cancelRunning;
28
- private updateRunning;
29
- private destroy;
30
- private showItem;
31
- /**
32
- * Start a new user guidance
33
- *
34
- * 开启新的用户引导流程
35
- */
36
- start(config: OnboardingConfig): void;
37
- /**
38
- * Next
39
- *
40
- * 下一步
41
- */
42
- next(): void;
43
- /**
44
- * Prev
45
- *
46
- * 上一步
47
- */
48
- prev(): void;
49
- /**
50
- * Done
51
- *
52
- * 完成
53
- */
54
- done(): void;
55
- ngOnDestroy(): void;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingService, never>;
57
- static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingService>;
58
- }
@@ -1,11 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface OnBoardingKeyStore {
3
- get(key: string): unknown;
4
- set(key: string, version: unknown): void;
5
- }
6
- export declare const ONBOARDING_STORE_TOKEN: InjectionToken<OnBoardingKeyStore>;
7
- export declare function ONBOARDING_STORE_TOKEN_FACTORY(): OnBoardingKeyStore;
8
- export declare class LocalStorageStore implements OnBoardingKeyStore {
9
- get(key: string): unknown;
10
- set(key: string, version: unknown): void;
11
- }