halo-fe 1.0.18 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. package/dist/main.js +984 -980
  2. package/esm/@types/CreateFeOptions.d.ts +25 -0
  3. package/esm/@types/index.d.ts +2 -0
  4. package/esm/coms/@types/ScrollerProps.d.ts +15 -0
  5. package/esm/coms/@types/index.d.ts +2 -0
  6. package/esm/coms/Scroller.vue.d.ts +1 -1
  7. package/esm/coms/conditions/@types/ConditionGroupProps.d.ts +11 -0
  8. package/esm/coms/conditions/@types/ConditionProps.d.ts +18 -0
  9. package/esm/coms/conditions/@types/index.d.ts +3 -0
  10. package/esm/coms/conditions/Condition.vue.d.ts +1 -1
  11. package/esm/coms/conditions/Index.vue.d.ts +1 -1
  12. package/esm/coms/{types → controls/@types}/CodeEmit.d.ts +1 -1
  13. package/esm/coms/controls/@types/CodeProps.d.ts +28 -0
  14. package/esm/coms/controls/@types/Range.d.ts +26 -0
  15. package/esm/coms/controls/@types/index.d.ts +6 -0
  16. package/esm/coms/controls/Code.vue.d.ts +1 -1
  17. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  18. package/esm/coms/controls/index.d.ts +1 -1
  19. package/esm/coms/index.d.ts +1 -1
  20. package/esm/coms/layouts/@types/index.d.ts +2 -0
  21. package/esm/coms/layouts/Row.vue.d.ts +1 -1
  22. package/esm/coms/layouts/index.d.ts +1 -1
  23. package/esm/coms/progresses/@types/SocketProgressProps.d.ts +23 -0
  24. package/esm/coms/progresses/@types/index.d.ts +2 -0
  25. package/esm/coms/progresses/SocketProgress.vue.d.ts +1 -1
  26. package/esm/coms/tabs/@types/TabProps.d.ts +7 -0
  27. package/esm/coms/tabs/@types/index.d.ts +2 -0
  28. package/esm/coms/tabs/Tab.vue.d.ts +1 -1
  29. package/esm/drivers/@types/IDispose.d.ts +10 -0
  30. package/esm/drivers/@types/IOpen.d.ts +10 -0
  31. package/esm/drivers/@types/index.d.ts +4 -0
  32. package/esm/drivers/bridges/IBridge.d.ts +1 -1
  33. package/esm/drivers/builders/IBuilder.d.ts +1 -1
  34. package/esm/drivers/builders/types/ProviderTable.d.ts +6 -0
  35. package/esm/drivers/builders/types/index.d.ts +2 -0
  36. package/esm/drivers/cdns/ICdn.d.ts +1 -1
  37. package/esm/drivers/excels/IExcel.d.ts +1 -1
  38. package/esm/drivers/explainers/IExplainer.d.ts +1 -1
  39. package/esm/drivers/features/IFeature.d.ts +1 -1
  40. package/esm/drivers/https/IHttp.d.ts +1 -1
  41. package/esm/drivers/i18ns/I18n.d.ts +38 -0
  42. package/esm/drivers/i18ns/I18nFactory.d.ts +13 -0
  43. package/esm/drivers/i18ns/II18n.d.ts +72 -0
  44. package/esm/drivers/i18ns/implements/DefaultI18n.d.ts +13 -0
  45. package/esm/drivers/i18ns/index.d.ts +3 -0
  46. package/esm/drivers/index.d.ts +2 -1
  47. package/esm/drivers/messengers/IMessenger.d.ts +1 -1
  48. package/esm/drivers/providers/IProvider.d.ts +1 -1
  49. package/esm/drivers/ssos/ISso.d.ts +1 -1
  50. package/esm/drivers/tasks/ITask.d.ts +1 -1
  51. package/esm/drivers/templates/ITemplate.d.ts +1 -1
  52. package/esm/drivers/videos/IVideo.d.ts +1 -1
  53. package/esm/drivers/voices/IVoice.d.ts +1 -1
  54. package/esm/factorying/Factories.d.ts +15 -11
  55. package/esm/factorying/Factory.d.ts +1 -1
  56. package/esm/factorying/index.d.ts +17 -5
  57. package/esm/helpers/@types/JsonConfig.d.ts +10 -0
  58. package/esm/helpers/@types/TreeNodeProp.d.ts +9 -0
  59. package/esm/helpers/@types/index.d.ts +3 -0
  60. package/esm/helpers/JsonHelper.d.ts +6 -2
  61. package/esm/main.d.ts +2 -2
  62. package/esm/repos/IRepo.d.ts +4 -0
  63. package/esm/repos/RepoFactory.d.ts +5 -0
  64. package/esm/repos/implements/SettingRepo.d.ts +15 -0
  65. package/esm/repos/index.d.ts +1 -1
  66. package/esm/svcs/@types/Dictionary.d.ts +4 -0
  67. package/esm/svcs/@types/index.d.ts +2 -0
  68. package/esm/svcs/implement/ConfigSvc.d.ts +1 -1
  69. package/esm/svcs/implement/I18nSvc.d.ts +1 -1
  70. package/esm/svcs/implement/LogSvc.d.ts +3 -0
  71. package/esm/svcs/implement/index.d.ts +1 -2
  72. package/esm/svcs/index.d.ts +2 -8
  73. package/esm/types/CreateFeOptions.d.ts +6 -5
  74. package/esm/utilities/@types/DragEvent.d.ts +11 -0
  75. package/esm/utilities/@types/DragOptions.d.ts +28 -0
  76. package/esm/utilities/@types/Position.d.ts +15 -0
  77. package/esm/utilities/@types/Rect.d.ts +10 -0
  78. package/esm/utilities/@types/index.d.ts +5 -0
  79. package/esm/utilities/EventUtility.d.ts +1 -1
  80. package/esm/utilities/SaveUtility.d.ts +15 -0
  81. package/esm/utilities/index.d.ts +3 -2
  82. package/package.json +2 -3
  83. package/dist/assets/@intlify-BISCQg1h.js +0 -2189
  84. package/dist/assets/@vue-aVYGocXp.js +0 -93
  85. package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
  86. package/esm/coms/Code.vue.d.ts +0 -41
  87. package/esm/coms/Col.vue.d.ts +0 -11
  88. package/esm/coms/Compare.vue.d.ts +0 -40
  89. package/esm/coms/Container.vue.d.ts +0 -23
  90. package/esm/coms/RichText.vue.d.ts +0 -24
  91. package/esm/coms/Row.vue.d.ts +0 -21
  92. package/esm/coms/types/CodeProps.d.ts +0 -18
  93. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  94. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -15
  95. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -21
  96. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -12
  97. package/esm/drivers/factories/DriverFactory.d.ts +0 -64
  98. package/esm/drivers/factories/Factory.d.ts +0 -18
  99. package/esm/drivers/factories/IFactory.d.ts +0 -18
  100. package/esm/drivers/factories/index.d.ts +0 -42
  101. package/esm/drivers/providers/implements/StorageHelper.d.ts +0 -34
  102. package/esm/helpers/ScriptHelper.d.ts +0 -19
  103. package/esm/helpers/array-helper.d.ts +0 -97
  104. package/esm/helpers/component-helper.d.ts +0 -18
  105. package/esm/helpers/cookie-helper.d.ts +0 -6
  106. package/esm/helpers/dictionary-helper.d.ts +0 -18
  107. package/esm/helpers/dom-helper.d.ts +0 -86
  108. package/esm/helpers/event-helper.d.ts +0 -30
  109. package/esm/helpers/file-helper.d.ts +0 -22
  110. package/esm/helpers/html-helper.d.ts +0 -10
  111. package/esm/helpers/i18n-helper.d.ts +0 -14
  112. package/esm/helpers/image-helper.d.ts +0 -10
  113. package/esm/helpers/json-helper.d.ts +0 -39
  114. package/esm/helpers/math-helper.d.ts +0 -46
  115. package/esm/helpers/micro-helper.d.ts +0 -10
  116. package/esm/helpers/mount-helper.d.ts +0 -14
  117. package/esm/helpers/object-helper.d.ts +0 -38
  118. package/esm/helpers/script-helper.d.ts +0 -31
  119. package/esm/helpers/scroll-helper.d.ts +0 -14
  120. package/esm/helpers/sign-helper.d.ts +0 -14
  121. package/esm/helpers/storage-helper.d.ts +0 -34
  122. package/esm/helpers/string-helper.d.ts +0 -94
  123. package/esm/helpers/task-helper.d.ts +0 -26
  124. package/esm/helpers/time-helper.d.ts +0 -66
  125. package/esm/helpers/tree-helper.d.ts +0 -54
  126. package/esm/helpers/type-helper.d.ts +0 -26
  127. package/esm/helpers/url-helper.d.ts +0 -96
  128. package/esm/plugins/HtmlTransform.d.ts +0 -6
  129. package/esm/plugins/types/IMessager.d.ts +0 -34
  130. package/esm/plugins/types/index.d.ts +0 -7
  131. package/esm/services/ConfigService.d.ts +0 -66
  132. package/esm/services/DriverService.d.ts +0 -36
  133. package/esm/services/EnvService.d.ts +0 -14
  134. package/esm/services/LogService.d.ts +0 -19
  135. package/esm/services/SettingService.d.ts +0 -42
  136. package/esm/services/SocketService.d.ts +0 -23
  137. package/esm/services/UserService.d.ts +0 -47
  138. package/esm/services/index.d.ts +0 -15
  139. package/esm/services/types/IMessage.d.ts +0 -14
  140. package/esm/services/types/IMessager.d.ts +0 -34
  141. package/esm/services/types/index.d.ts +0 -2
  142. package/esm/servs/ConfigServ.d.ts +0 -66
  143. package/esm/servs/DriverServ.d.ts +0 -36
  144. package/esm/servs/EnvServ.d.ts +0 -14
  145. package/esm/servs/IServ.d.ts +0 -6
  146. package/esm/servs/LogServ.d.ts +0 -19
  147. package/esm/servs/Serv.d.ts +0 -4
  148. package/esm/servs/ServFactory.d.ts +0 -11
  149. package/esm/servs/SettingServ.d.ts +0 -42
  150. package/esm/servs/SocketServ.d.ts +0 -38
  151. package/esm/servs/UserServ.d.ts +0 -47
  152. package/esm/servs/implement/ConfigServ.d.ts +0 -66
  153. package/esm/servs/implement/DriverServ.d.ts +0 -36
  154. package/esm/servs/implement/EnvServ.d.ts +0 -14
  155. package/esm/servs/implement/LogServ.d.ts +0 -19
  156. package/esm/servs/implement/SettingServ.d.ts +0 -42
  157. package/esm/servs/implement/SocketServ.d.ts +0 -38
  158. package/esm/servs/implement/UserServ.d.ts +0 -47
  159. package/esm/servs/index.d.ts +0 -15
  160. package/esm/stores/config.d.ts +0 -63
  161. package/esm/stores/driver.d.ts +0 -37
  162. package/esm/stores/env.d.ts +0 -12
  163. package/esm/stores/index.d.ts +0 -8
  164. package/esm/stores/log.d.ts +0 -20
  165. package/esm/stores/setting.d.ts +0 -43
  166. package/esm/stores/socket.d.ts +0 -27
  167. package/esm/stores/user.d.ts +0 -40
  168. package/esm/types/CreateOptions.d.ts +0 -18
  169. /package/esm/coms/{types → controls/@types}/RichTextOptions.d.ts +0 -0
  170. /package/esm/coms/{types → controls/@types}/RichTextProps.d.ts +0 -0
  171. /package/esm/coms/{types → layouts/@types}/RowProps.d.ts +0 -0
  172. /package/esm/drivers/{IDriver.d.ts → @types/IDriver.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import IFactory from "./IFactory";
2
- import IDriver from "../drivers/types/IDriver";
2
+ import { IDriver } from "../drivers/@types";
3
3
  import { Ref } from "../plugins";
4
4
  /**
5
5
  * 工厂基类
@@ -1,6 +1,6 @@
1
1
  import Factories from "./Factories";
2
- import { ICdn, IEncoder, IHasher, IHttp, IMessenger, IProvider } from "../drivers";
3
- import { CreateFeOptions } from "../types";
2
+ import { ICdn, IEncoder, IHasher, II18n, IHttp, IMessenger, ITemplate } from "../drivers";
3
+ import { CreateFeOptions } from "../@types";
4
4
  /**
5
5
  * 默认base64编码
6
6
  */
@@ -13,14 +13,18 @@ declare let cdn: ICdn;
13
13
  * 默认Http请求对象
14
14
  */
15
15
  declare let http: IHttp;
16
+ /**
17
+ * 多语言翻译对象
18
+ */
19
+ declare let i18n: II18n;
16
20
  /**
17
21
  * MD5 hash计算
18
22
  */
19
23
  declare let md5: IHasher;
20
24
  /**
21
- * 默认Storage
25
+ * 默认模板引擎
22
26
  */
23
- declare let storage: IProvider;
27
+ declare let template: ITemplate;
24
28
  /**
25
29
  * 初始化消息对象,保证后续更新能够被同步更新
26
30
  */
@@ -29,4 +33,12 @@ declare let messenger: IMessenger;
29
33
  * 初始化默认驱动实例
30
34
  */
31
35
  declare let initDriver: (options: CreateFeOptions) => Promise<void>;
32
- export { base64, cdn, http, md5, storage, messenger, initDriver, Factories };
36
+ /**
37
+ * 设置好请求器后,才可以设置多语言
38
+ */
39
+ declare let initI18n: () => Promise<void>;
40
+ /**
41
+ * 提取可导出的翻译方法,当i18n实例变化后,导出的方案会跟着变化?
42
+ */
43
+ declare let t: typeof i18n.t, t_exists: typeof i18n.t_exists, t_sys: typeof i18n.t_sys, t_enum: typeof i18n.t_enum, t_field: typeof i18n.t_field, t_field_choose_placeholder: typeof i18n.t_field_choose_placeholder, t_field_placeholder: typeof i18n.t_field_placeholder, t_table: typeof i18n.t_table, t_module: typeof i18n.t_module, t_menu: typeof i18n.t_menu;
44
+ export { base64, cdn, http, i18n, md5, template, messenger, initDriver, initI18n, Factories, t, t_exists, t_sys, t_enum, t_field, t_field_choose_placeholder, t_field_placeholder, t_table, t_module, t_menu };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Json配置
3
+ */
4
+ declare class JsonConfig {
5
+ /**
6
+ * 是否美化
7
+ */
8
+ beautify: boolean;
9
+ }
10
+ export default JsonConfig;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * 树节点属性
3
+ */
4
+ interface TreeNodeProp {
5
+ key: string;
6
+ type: string;
7
+ remark: string;
8
+ }
9
+ export default TreeNodeProp;
@@ -0,0 +1,3 @@
1
+ import JsonConfig from "./JsonConfig";
2
+ import TreeNodeProp from "./TreeNodeProp";
3
+ export { JsonConfig, type TreeNodeProp };
@@ -1,4 +1,4 @@
1
- import { JsonConfig, TreeNodeProp } from "./types";
1
+ import { JsonConfig, TreeNodeProp } from "./@types";
2
2
  /**
3
3
  * JSON帮助类
4
4
  */
@@ -18,7 +18,11 @@ declare class JsonHelper {
18
18
  /**
19
19
  * 根据props中的.自动分割得到属性值
20
20
  */
21
- static getValue(value: string, props: string): string;
21
+ static hasKey(value: any, props: string[]): boolean;
22
+ /**
23
+ * 根据props中的.自动分割得到属性值
24
+ */
25
+ static getValue(value: any, props: string[]): any;
22
26
  /**
23
27
  * 把json字符串合并到目标对象上
24
28
  */
package/esm/main.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CreateFeOptions } from "./types";
1
+ import { CreateFeOptions } from "./@types";
2
2
  import "./styles/index.scss";
3
3
  export * from "./coms";
4
4
  export * from "./drivers";
@@ -7,7 +7,7 @@ export * from "./helpers";
7
7
  export * from "./plugins";
8
8
  export * from "./repos";
9
9
  export * from "./svcs";
10
- export * from "./types";
10
+ export * from "./@types";
11
11
  export * from "./utilities";
12
12
  /**
13
13
  * 初始化前端基础框架
@@ -0,0 +1,4 @@
1
+ import { IDriver } from "../drivers";
2
+ interface IRepo extends IDriver {
3
+ }
4
+ export default IRepo;
@@ -0,0 +1,5 @@
1
+ import Factory from "../factorying/Factory";
2
+ import IRepo from "./IRepo";
3
+ declare class RepoFactory extends Factory<IRepo> {
4
+ }
5
+ export default RepoFactory;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * 前端配置仓储
3
+ */
4
+ declare class SettingRepo {
5
+ /**
6
+ * 定义支持键访问
7
+ */
8
+ [key: string]: any;
9
+ constructor();
10
+ /**
11
+ * 获取侧边栏宽度
12
+ */
13
+ getSidebarWidth: () => number;
14
+ }
15
+ export default SettingRepo;
@@ -1,3 +1,3 @@
1
- import SettingRepo from "./SettingRepo";
1
+ import SettingRepo from "./implements/SettingRepo";
2
2
  declare let settingRepo: SettingRepo;
3
3
  export { settingRepo };
@@ -0,0 +1,4 @@
1
+ interface IDictionary {
2
+ [key: string]: any;
3
+ }
4
+ export default IDictionary;
@@ -0,0 +1,2 @@
1
+ import IDictionary from "./Dictionary";
2
+ export { type IDictionary };
@@ -1,4 +1,4 @@
1
- import { IDictionary } from "../types";
1
+ import { IDictionary } from "../@types";
2
2
  import { SysConfig, UserConfig } from "../entities";
3
3
  import Svc from "../Svc";
4
4
  /**
@@ -17,7 +17,7 @@ declare class I18nSvc {
17
17
  /**
18
18
  * 翻译指定key,不存在使用默认值
19
19
  */
20
- t(key: string, params?: any): any;
20
+ t(key: string, params?: any, display?: string): any;
21
21
  /**
22
22
  * 判断指定key是否存在
23
23
  */
@@ -2,6 +2,9 @@
2
2
  * 日志服务
3
3
  */
4
4
  declare class LogSvc {
5
+ /**
6
+ * 日志集合
7
+ */
5
8
  logs: any[];
6
9
  /**
7
10
  * 手动添加日志
@@ -1,2 +1 @@
1
- import I18nSvc from "./I18nSvc";
2
- export { I18nSvc };
1
+ export {};
@@ -1,11 +1,10 @@
1
- import { I18nSvc } from "./implement";
2
1
  import ConfigSvc from "./implement/ConfigSvc";
3
2
  import EnvSvc from "./implement/EnvSvc";
4
3
  import LogSvc from "./implement/LogSvc";
5
4
  import SocketSvc from "./implement/SocketSvc";
6
5
  import UserSvc from "./implement/UserSvc";
7
6
  import SvcFactory from "./SvcFactory";
8
- import { CreateFeOptions } from "../types";
7
+ import { CreateFeOptions } from "../@types";
9
8
  /**
10
9
  * 驱动服务实例
11
10
  */
@@ -29,7 +28,6 @@ declare let driverSvc: {
29
28
  loadEnvs: (reload?: boolean) => Promise<void>;
30
29
  };
31
30
  declare let envSvc: EnvSvc;
32
- declare let i18nSvc: I18nSvc;
33
31
  declare let logSvc: LogSvc;
34
32
  declare let settingSvc: {
35
33
  loaded: boolean;
@@ -65,8 +63,4 @@ declare let userSvc: UserSvc;
65
63
  */
66
64
  declare let initSvc: (options: CreateFeOptions) => Promise<void>;
67
65
  export * from "./implement";
68
- /**
69
- * 提取可导出的翻译方法,当i18nSvc实例变化后,导出的方案会跟着变化?
70
- */
71
- declare let t: (key: string, params?: any) => any, t_exists: (key: any) => any, t_sys: (key: string) => any, t_enum: (name: string, value: string) => any, t_field: (table: string, field: string) => any, t_field_choose_placeholder: (table: string, field: string) => any, t_field_placeholder: (table: string, field: string) => any, t_table: (table: string) => any, t_module: (type: string, key: string) => string, t_menu: (key: string) => any;
72
- export { initSvc, configSvc, driverSvc, envSvc, i18nSvc, logSvc, settingSvc, socketSvc, userSvc, t, t_exists, t_sys, t_enum, t_field, t_field_choose_placeholder, t_field_placeholder, t_table, t_module, t_menu, SvcFactory };
66
+ export { initSvc, configSvc, driverSvc, envSvc, logSvc, settingSvc, socketSvc, userSvc, SvcFactory };
@@ -1,5 +1,4 @@
1
1
  import { IMessenger } from "../drivers";
2
- import I18nSvc from "../svcs/implement/I18nSvc";
3
2
  /**
4
3
  * 初始化选项
5
4
  */
@@ -8,14 +7,16 @@ declare class CreateFeOptions {
8
7
  * 消息发送对象
9
8
  */
10
9
  messenger: IMessenger;
11
- /**
12
- * 实际的多语言翻译服务实体
13
- */
14
- i18nSvc: I18nSvc;
15
10
  /**
16
11
  * 基准请求地址
17
12
  */
18
13
  baseUrl: string;
14
+ /**
15
+ * 自定义语言包
16
+ */
17
+ lang: {
18
+ [key: string]: any;
19
+ };
19
20
  /**
20
21
  * CDN类型
21
22
  */
@@ -0,0 +1,11 @@
1
+ import Position from "./Position";
2
+ /**
3
+ * 自定义拖拽事件
4
+ */
5
+ declare class DragEvent extends Position {
6
+ /**
7
+ * 吸附的方向
8
+ */
9
+ affix?: string;
10
+ }
11
+ export default DragEvent;
@@ -0,0 +1,28 @@
1
+ import Rect from "./Rect";
2
+ import DragEvent from "./DragEvent";
3
+ /**
4
+ * 拖拽选项
5
+ */
6
+ interface DragOptions {
7
+ /**
8
+ * 拖拽初始化
9
+ */
10
+ init: (event: MouseEvent) => any;
11
+ /**
12
+ * 拖拽事件
13
+ */
14
+ handler: (dragEvent: DragEvent, start: MouseEvent, data: any, first: boolean, event: MouseEvent) => void;
15
+ /**
16
+ * 拖拽结束事件
17
+ */
18
+ end?: (event: MouseEvent) => void;
19
+ /**
20
+ * 可拖拽范围
21
+ */
22
+ range?: Rect;
23
+ /**
24
+ * 吸附检测的距离,设置吸附位置必须设置拖拽范围(依赖宽度等信息)
25
+ */
26
+ affix?: number;
27
+ }
28
+ export default DragOptions;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * 位置
3
+ */
4
+ declare class Position {
5
+ /**
6
+ * 距窗口左边的距离
7
+ */
8
+ x: number;
9
+ /**
10
+ * 距窗口顶部的距离
11
+ */
12
+ y: number;
13
+ constructor(x?: number, y?: number);
14
+ }
15
+ export default Position;
@@ -0,0 +1,10 @@
1
+ import Position from "./Position";
2
+ /**
3
+ * 区域类
4
+ */
5
+ declare class Rect extends Position {
6
+ width: number;
7
+ height: number;
8
+ constructor(x: number, y: number, width: number, height: number);
9
+ }
10
+ export default Rect;
@@ -0,0 +1,5 @@
1
+ import DragOptions from "./DragOptions";
2
+ import DragEvent from "./DragEvent";
3
+ import Position from "./Position";
4
+ import Rect from "./Rect";
5
+ export { type DragOptions, DragEvent, Position, Rect };
@@ -1,4 +1,4 @@
1
- import { DragOptions } from "./types";
1
+ import { DragOptions } from "./@types";
2
2
  /**
3
3
  * 事件工具类
4
4
  */
@@ -0,0 +1,15 @@
1
+ /**
2
+ * 自动保存工具
3
+ * 函数式编程,从而可以让方法被多处使用
4
+ */
5
+ declare class SaveUtility {
6
+ /**
7
+ * 开启表单监控
8
+ */
9
+ open(form: any, store: string, id: string): Promise<void>;
10
+ /**
11
+ * 资源释放
12
+ */
13
+ dispose(): void;
14
+ }
15
+ export default SaveUtility;
@@ -2,5 +2,6 @@ import EventUtility from "./EventUtility";
2
2
  import KeyboardUtility from "./KeyboardUtility";
3
3
  import ListDelta from "./ListDelta";
4
4
  import MouseUtility from "./MouseUtility";
5
- export * from "./types";
6
- export { EventUtility, KeyboardUtility, ListDelta, MouseUtility, };
5
+ import SaveUtility from "./SaveUtility";
6
+ export * from "./@types";
7
+ export { EventUtility, KeyboardUtility, ListDelta, MouseUtility, SaveUtility };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-fe",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "Halo front end sdk",
5
5
  "scripts": {
6
6
  "halo-fe:tsc": "vue-tsc",
@@ -29,8 +29,7 @@
29
29
  "registry": "https://registry.npmjs.org"
30
30
  },
31
31
  "peerDependencies": {
32
- "vue": "3.4.37",
33
- "vue-i18n": "9.13.1"
32
+ "vue": "3.4.37"
34
33
  },
35
34
  "dependencies": {
36
35
  "clone": "2.1.2",