halo-fe 1.0.23 → 1.0.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. package/dist/assets/{liquidjs-C-LVcoaY.js → liquidjs-B8dqQyVv.js} +639 -632
  2. package/dist/main.js +4365 -4206
  3. package/dist/style.css +1 -1
  4. package/esm/@types/CreateFeOptions.d.ts +4 -0
  5. package/esm/coms/@types/SocketProgressProps.d.ts +23 -0
  6. package/esm/coms/@types/TabProps.d.ts +11 -0
  7. package/esm/coms/@types/TableProps.d.ts +22 -0
  8. package/esm/coms/@types/index.d.ts +4 -1
  9. package/esm/coms/Empty.vue.d.ts +11 -7
  10. package/esm/coms/Fill.vue.d.ts +11 -4
  11. package/esm/coms/Scroller.vue.d.ts +16 -15
  12. package/esm/coms/Timer.vue.d.ts +9 -4
  13. package/esm/coms/{Col.vue.d.ts → cards/Index.vue.d.ts} +8 -3
  14. package/esm/coms/cards/index.d.ts +2 -0
  15. package/esm/coms/conditions/Condition.vue.d.ts +1 -10
  16. package/esm/coms/conditions/Index.vue.d.ts +1 -10
  17. package/esm/coms/controls/Code.vue.d.ts +15 -15
  18. package/esm/coms/controls/Compare.vue.d.ts +5 -5
  19. package/esm/coms/controls/Input.vue.d.ts +2 -0
  20. package/esm/coms/controls/Option.vue.d.ts +1 -1
  21. package/esm/coms/controls/RichText.vue.d.ts +4 -15
  22. package/esm/coms/controls/Select.vue.d.ts +1 -1
  23. package/esm/coms/controls/index.d.ts +2 -1
  24. package/esm/coms/index.d.ts +1 -0
  25. package/esm/coms/layouts/Col.vue.d.ts +8 -3
  26. package/esm/coms/layouts/Container.vue.d.ts +11 -6
  27. package/esm/coms/layouts/Desc.vue.d.ts +2 -0
  28. package/esm/coms/layouts/Row.vue.d.ts +8 -13
  29. package/esm/coms/pagers/Index.vue.d.ts +2 -0
  30. package/esm/coms/pagers/index.d.ts +2 -0
  31. package/esm/coms/progresses/Index.vue.d.ts +6 -0
  32. package/esm/coms/progresses/Progress.vue.d.ts +4 -16
  33. package/esm/coms/progresses/SocketProgress.vue.d.ts +9 -13
  34. package/esm/coms/progresses/index.d.ts +1 -1
  35. package/esm/coms/tables/Index.vue.d.ts +14 -0
  36. package/esm/coms/tables/Table.vue.d.ts +1 -1
  37. package/esm/coms/tabs/Tab.vue.d.ts +2 -11
  38. package/esm/coms/tabs/TabPane.vue.d.ts +1 -1
  39. package/esm/drivers/builders/types/ProviderTable.d.ts +6 -0
  40. package/esm/drivers/builders/types/index.d.ts +2 -0
  41. package/esm/drivers/cdns/Cdn.d.ts +6 -8
  42. package/esm/drivers/cdns/ICdn.d.ts +0 -5
  43. package/esm/drivers/encoders/EncoderFactory.d.ts +1 -0
  44. package/esm/drivers/encoders/implement/UrlEncoder.d.ts +7 -0
  45. package/esm/drivers/excels/ExcelFactory.d.ts +1 -1
  46. package/esm/drivers/helpers/implements/ArrayHelper.d.ts +1 -2
  47. package/esm/drivers/helpers/implements/DomHelper.d.ts +1 -1
  48. package/esm/drivers/https/Http.d.ts +13 -2
  49. package/esm/drivers/https/IHttp.d.ts +4 -0
  50. package/esm/drivers/https/entities/HttpModel.d.ts +12 -0
  51. package/esm/drivers/https/implements/DefaultHttp.d.ts +1 -1
  52. package/esm/drivers/https/implements/HaloHttp.d.ts +1 -9
  53. package/esm/drivers/https/implements/MkHttp.d.ts +1 -2
  54. package/esm/drivers/index.d.ts +3 -1
  55. package/esm/drivers/sockets/ISocket.d.ts +35 -0
  56. package/esm/drivers/sockets/Socket.d.ts +8 -0
  57. package/esm/drivers/sockets/SocketFactory.d.ts +13 -0
  58. package/esm/drivers/sockets/implement/DefaultSocket.d.ts +39 -0
  59. package/esm/drivers/sockets/index.d.ts +2 -0
  60. package/esm/drivers/tasks/ITask.d.ts +3 -0
  61. package/esm/drivers/util/@types/JsonConfig.d.ts +10 -0
  62. package/esm/drivers/util/@types/TreeNodeProp.d.ts +9 -0
  63. package/esm/drivers/util/@types/index.d.ts +3 -0
  64. package/esm/drivers/util/IUtil.d.ts +8 -0
  65. package/esm/drivers/util/Util.d.ts +8 -0
  66. package/esm/drivers/util/UtilFactory.d.ts +32 -0
  67. package/esm/drivers/util/implements/ArrayUtil.d.ts +123 -0
  68. package/esm/drivers/util/implements/BrowserUtil.d.ts +12 -0
  69. package/esm/drivers/util/implements/ComponentUtil.d.ts +20 -0
  70. package/esm/drivers/util/implements/DictionaryUtil.d.ts +40 -0
  71. package/esm/drivers/util/implements/DomUtil.d.ts +118 -0
  72. package/esm/drivers/util/implements/EventUtil.d.ts +32 -0
  73. package/esm/drivers/util/implements/FileUtil.d.ts +24 -0
  74. package/esm/drivers/util/implements/HtmlUtil.d.ts +16 -0
  75. package/esm/drivers/util/implements/ImageUtil.d.ts +12 -0
  76. package/esm/drivers/util/implements/JsonUtil.d.ts +53 -0
  77. package/esm/drivers/util/implements/MathUtil.d.ts +52 -0
  78. package/esm/drivers/util/implements/MicroUtil.d.ts +12 -0
  79. package/esm/drivers/util/implements/MountUtil.d.ts +16 -0
  80. package/esm/drivers/util/implements/ObjectUtil.d.ts +44 -0
  81. package/esm/drivers/util/implements/ScrollUtil.d.ts +16 -0
  82. package/esm/drivers/util/implements/SignUtil.d.ts +16 -0
  83. package/esm/drivers/util/implements/StringUtil.d.ts +104 -0
  84. package/esm/drivers/util/implements/TaskUtil.d.ts +28 -0
  85. package/esm/{helpers/time-helper.d.ts → drivers/util/implements/TimeUtil.d.ts} +30 -24
  86. package/esm/drivers/util/implements/TreeUtil.d.ts +56 -0
  87. package/esm/{helpers/type-helper.d.ts → drivers/util/implements/TypeUtil.d.ts} +9 -7
  88. package/esm/{helpers/url-helper.d.ts → drivers/util/implements/UrlUtil.d.ts} +23 -29
  89. package/esm/drivers/util/index.d.ts +24 -0
  90. package/esm/drivers/utilities/@types/DragEvent.d.ts +11 -0
  91. package/esm/drivers/utilities/@types/DragOptions.d.ts +28 -0
  92. package/esm/drivers/utilities/@types/Position.d.ts +15 -0
  93. package/esm/drivers/utilities/@types/Rect.d.ts +10 -0
  94. package/esm/drivers/utilities/@types/index.d.ts +5 -0
  95. package/esm/drivers/utilities/IUtility.d.ts +4 -0
  96. package/esm/drivers/utilities/Utility.d.ts +5 -0
  97. package/esm/drivers/utilities/UtilityFactory.d.ts +43 -0
  98. package/esm/drivers/utilities/implement/AffixUtility.d.ts +11 -0
  99. package/esm/drivers/utilities/implement/DeltaUtility.d.ts +11 -0
  100. package/esm/drivers/utilities/implement/EventUtility.d.ts +73 -0
  101. package/esm/drivers/utilities/implement/KeyboardUtility.d.ts +74 -0
  102. package/esm/drivers/utilities/implement/MouseUtility.d.ts +25 -0
  103. package/esm/drivers/utilities/implement/RandomUtility.d.ts +41 -0
  104. package/esm/drivers/utilities/implement/SaveUtility.d.ts +16 -0
  105. package/esm/drivers/utilities/index.d.ts +9 -0
  106. package/esm/factorying/Factories.d.ts +13 -5
  107. package/esm/factorying/Factory.d.ts +4 -7
  108. package/esm/factorying/{Helpers.d.ts → Helps.d.ts} +2 -2
  109. package/esm/factorying/IFactory.d.ts +6 -2
  110. package/esm/factorying/Utils.d.ts +29 -0
  111. package/esm/factorying/index.d.ts +7 -2
  112. package/esm/helpers/DictionaryHelper.d.ts +6 -0
  113. package/esm/main.d.ts +1 -1
  114. package/esm/svcs/@types/Dictionary.d.ts +4 -0
  115. package/esm/svcs/implement/ConfigSvc.d.ts +1 -1
  116. package/esm/svcs/implement/DriverSvc.d.ts +4 -0
  117. package/esm/svcs/implement/I18nSvc.d.ts +1 -1
  118. package/esm/svcs/index.d.ts +2 -3
  119. package/esm/utilities/MathUtility.d.ts +35 -0
  120. package/package.json +9 -9
  121. package/esm/coms/Code.vue.d.ts +0 -41
  122. package/esm/coms/Compare.vue.d.ts +0 -40
  123. package/esm/coms/Container.vue.d.ts +0 -23
  124. package/esm/coms/RichText.vue.d.ts +0 -24
  125. package/esm/coms/Row.vue.d.ts +0 -21
  126. package/esm/coms/types/CodeEmit.d.ts +0 -23
  127. package/esm/coms/types/CodeProps.d.ts +0 -18
  128. package/esm/coms/types/RichTextOptions.d.ts +0 -14
  129. package/esm/coms/types/RichTextProps.d.ts +0 -12
  130. package/esm/coms/types/RowProps.d.ts +0 -14
  131. package/esm/drivers/IDriver.d.ts +0 -10
  132. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  133. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -15
  134. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -21
  135. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -12
  136. package/esm/drivers/factories/DriverFactory.d.ts +0 -64
  137. package/esm/drivers/factories/Factory.d.ts +0 -18
  138. package/esm/drivers/factories/IFactory.d.ts +0 -18
  139. package/esm/drivers/factories/index.d.ts +0 -42
  140. package/esm/drivers/providers/implements/StorageHelper.d.ts +0 -34
  141. package/esm/helpers/ScriptHelper.d.ts +0 -19
  142. package/esm/helpers/array-helper.d.ts +0 -97
  143. package/esm/helpers/component-helper.d.ts +0 -18
  144. package/esm/helpers/cookie-helper.d.ts +0 -6
  145. package/esm/helpers/dictionary-helper.d.ts +0 -18
  146. package/esm/helpers/dom-helper.d.ts +0 -86
  147. package/esm/helpers/event-helper.d.ts +0 -30
  148. package/esm/helpers/file-helper.d.ts +0 -22
  149. package/esm/helpers/html-helper.d.ts +0 -10
  150. package/esm/helpers/i18n-helper.d.ts +0 -14
  151. package/esm/helpers/image-helper.d.ts +0 -10
  152. package/esm/helpers/json-helper.d.ts +0 -39
  153. package/esm/helpers/math-helper.d.ts +0 -46
  154. package/esm/helpers/micro-helper.d.ts +0 -10
  155. package/esm/helpers/mount-helper.d.ts +0 -14
  156. package/esm/helpers/object-helper.d.ts +0 -38
  157. package/esm/helpers/script-helper.d.ts +0 -31
  158. package/esm/helpers/scroll-helper.d.ts +0 -14
  159. package/esm/helpers/sign-helper.d.ts +0 -14
  160. package/esm/helpers/storage-helper.d.ts +0 -34
  161. package/esm/helpers/string-helper.d.ts +0 -94
  162. package/esm/helpers/task-helper.d.ts +0 -26
  163. package/esm/helpers/tree-helper.d.ts +0 -54
  164. package/esm/plugins/HtmlTransform.d.ts +0 -6
  165. package/esm/plugins/types/IMessager.d.ts +0 -34
  166. package/esm/plugins/types/index.d.ts +0 -7
  167. package/esm/services/ConfigService.d.ts +0 -66
  168. package/esm/services/DriverService.d.ts +0 -36
  169. package/esm/services/EnvService.d.ts +0 -14
  170. package/esm/services/LogService.d.ts +0 -19
  171. package/esm/services/SettingService.d.ts +0 -42
  172. package/esm/services/SocketService.d.ts +0 -23
  173. package/esm/services/UserService.d.ts +0 -47
  174. package/esm/services/index.d.ts +0 -15
  175. package/esm/services/types/IMessage.d.ts +0 -14
  176. package/esm/services/types/IMessager.d.ts +0 -34
  177. package/esm/services/types/index.d.ts +0 -2
  178. package/esm/servs/ConfigServ.d.ts +0 -66
  179. package/esm/servs/DriverServ.d.ts +0 -36
  180. package/esm/servs/EnvServ.d.ts +0 -14
  181. package/esm/servs/IServ.d.ts +0 -6
  182. package/esm/servs/LogServ.d.ts +0 -19
  183. package/esm/servs/Serv.d.ts +0 -4
  184. package/esm/servs/ServFactory.d.ts +0 -11
  185. package/esm/servs/SettingServ.d.ts +0 -42
  186. package/esm/servs/SocketServ.d.ts +0 -38
  187. package/esm/servs/UserServ.d.ts +0 -47
  188. package/esm/servs/implement/ConfigServ.d.ts +0 -66
  189. package/esm/servs/implement/DriverServ.d.ts +0 -36
  190. package/esm/servs/implement/EnvServ.d.ts +0 -14
  191. package/esm/servs/implement/LogServ.d.ts +0 -19
  192. package/esm/servs/implement/SettingServ.d.ts +0 -42
  193. package/esm/servs/implement/SocketServ.d.ts +0 -38
  194. package/esm/servs/implement/UserServ.d.ts +0 -47
  195. package/esm/servs/index.d.ts +0 -15
  196. package/esm/stores/config.d.ts +0 -63
  197. package/esm/stores/driver.d.ts +0 -37
  198. package/esm/stores/env.d.ts +0 -12
  199. package/esm/stores/index.d.ts +0 -8
  200. package/esm/stores/log.d.ts +0 -20
  201. package/esm/stores/setting.d.ts +0 -43
  202. package/esm/stores/socket.d.ts +0 -27
  203. package/esm/stores/user.d.ts +0 -40
  204. package/esm/types/CreateOptions.d.ts +0 -18
@@ -1,8 +0,0 @@
1
- import useConfigStore from "./config";
2
- import useDriverStore from "./driver";
3
- import useEnvStore from "./env";
4
- import useSettingStore from "./setting";
5
- import useLogStore from "./log";
6
- import useUserStore from "./user";
7
- import useSocketStore from "./socket";
8
- export { useConfigStore, useSettingStore, useLogStore, useUserStore, useSocketStore, useDriverStore, useEnvStore };
@@ -1,20 +0,0 @@
1
- /**
2
- * 使用日志仓储
3
- */
4
- declare let useLogStore: import("pinia").StoreDefinition<"log", {
5
- logs: any[];
6
- }, {}, {
7
- /**
8
- * 手动添加日志
9
- */
10
- add(code: string, message: string, stack: string, elapsed?: number): void;
11
- /**
12
- * 删除日志
13
- */
14
- remove(index: number): void;
15
- /**
16
- * 清空日志
17
- */
18
- clear(): void;
19
- }>;
20
- export default useLogStore;
@@ -1,43 +0,0 @@
1
- /**
2
- * 使用设置仓储
3
- */
4
- declare let useSettingStore: import("pinia").StoreDefinition<"setting", {
5
- loaded: boolean;
6
- particles: boolean;
7
- home: string;
8
- background: any;
9
- font: string;
10
- language: string;
11
- layout: string;
12
- theme: string;
13
- themes: any[];
14
- layouts: any[];
15
- backgrounds: any[];
16
- locales: any[];
17
- fonts: any;
18
- ssos: any[];
19
- size: string;
20
- watermark: any;
21
- app: string;
22
- env: string;
23
- /**
24
- * 中心库
25
- */
26
- central: any;
27
- /**
28
- * 业务库
29
- */
30
- business: any;
31
- upload: any;
32
- version: any;
33
- }, {}, {
34
- /**
35
- * 系统初始化
36
- */
37
- init(): Promise<void>;
38
- /**
39
- * 加载设置
40
- */
41
- loadSetting(): Promise<any>;
42
- }>;
43
- export default useSettingStore;
@@ -1,27 +0,0 @@
1
- /**
2
- * 使用实时通信仓储
3
- */
4
- declare let useSocketStore: import("pinia").StoreDefinition<"socket", {
5
- socket: any;
6
- connected: any;
7
- reconnect: boolean;
8
- handler: any;
9
- }, {}, {
10
- /**
11
- * 登录后,连接Socket
12
- */
13
- connect(): Promise<void>;
14
- /**
15
- * 订阅并替换Socket事件处理程序
16
- */
17
- subscribe(handler?: (event: MessageEvent) => void): void;
18
- /**
19
- * 取消订阅Socket事件处理程序,防止内存泄漏
20
- */
21
- unsubscribe(): void;
22
- /**
23
- * 退出时断开连接
24
- */
25
- disconnect(): void;
26
- }>;
27
- export default useSocketStore;
@@ -1,40 +0,0 @@
1
- /**
2
- * 使用用户仓储
3
- */
4
- declare const useUserStore: import("pinia").StoreDefinition<"user", {
5
- user: any;
6
- menus: any;
7
- menusFlat: any;
8
- debugger: any;
9
- env: any;
10
- }, {}, {
11
- /**
12
- * 获取本地缓存中的用户信息;好处:即使手动更改storage数据,也可以里面获取到
13
- */
14
- getSso(): Promise<any>;
15
- /**
16
- * 登录后,获取用户信息
17
- */
18
- loadInfo(): Promise<any>;
19
- /**
20
- * 通过完整url和请求体,获取授权头
21
- */
22
- getAuth(url: string, body?: string): Promise<string>;
23
- /**
24
- * 未登录,获取匿名登录信息
25
- */
26
- getAnonymous(): void;
27
- /**
28
- * 根据路径获取路由
29
- */
30
- getMenuByUrl(url: string): any;
31
- /**
32
- * 加载服务端路由
33
- */
34
- loadMenus(): Promise<any>;
35
- /**
36
- * 退出登录
37
- */
38
- logout(): Promise<void>;
39
- }>;
40
- export default useUserStore;
@@ -1,18 +0,0 @@
1
- /**
2
- * 初始化选项
3
- */
4
- declare interface CreateOptions {
5
- /**
6
- * 前端环境变量
7
- */
8
- env: any;
9
- /**
10
- * 自定义路由
11
- */
12
- routes: any[];
13
- /**
14
- * 多语言配置
15
- */
16
- lang: any;
17
- }
18
- export default CreateOptions;