halo-fe 1.0.31 → 1.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (308) hide show
  1. package/dist/main.js +4753 -4504
  2. package/dist/style.css +1 -1
  3. package/esm/@types/CreateFeOptions.d.ts +5 -2
  4. package/esm/@types/FeOptions.d.ts +32 -0
  5. package/esm/@types/index.d.ts +1 -2
  6. package/esm/apps/AppConstant.d.ts +1 -2
  7. package/esm/apps/index.d.ts +1 -2
  8. package/esm/coms/@types/ColumnEmit.d.ts +3 -0
  9. package/esm/coms/@types/ColumnProps.d.ts +5 -0
  10. package/esm/coms/@types/PagerEmit.d.ts +1 -2
  11. package/esm/coms/@types/PagerProps.d.ts +1 -2
  12. package/esm/coms/@types/ScrollerProps.d.ts +1 -2
  13. package/esm/coms/@types/SocketProgressProps.d.ts +1 -2
  14. package/esm/coms/@types/TabProps.d.ts +1 -2
  15. package/esm/coms/@types/TableEmit.d.ts +1 -2
  16. package/esm/coms/@types/TableProps.d.ts +1 -2
  17. package/esm/coms/@types/index.d.ts +9 -8
  18. package/esm/coms/Empty.vue.d.ts +3 -2
  19. package/esm/coms/Fill.vue.d.ts +3 -2
  20. package/esm/coms/Scroller.vue.d.ts +4 -3
  21. package/esm/coms/Timer.vue.d.ts +3 -2
  22. package/esm/coms/cards/Index.vue.d.ts +3 -2
  23. package/esm/coms/conditions/@types/ConditionGroupProps.d.ts +2 -3
  24. package/esm/coms/conditions/@types/ConditionProps.d.ts +1 -2
  25. package/esm/coms/conditions/@types/index.d.ts +2 -3
  26. package/esm/coms/conditions/Condition.vue.d.ts +1 -1
  27. package/esm/coms/conditions/Index.vue.d.ts +1 -1
  28. package/esm/coms/controls/@types/CodeEmit.d.ts +1 -2
  29. package/esm/coms/controls/@types/CodeIntelli.d.ts +1 -2
  30. package/esm/coms/controls/@types/CodeProps.d.ts +3 -4
  31. package/esm/coms/controls/@types/Range.d.ts +1 -2
  32. package/esm/coms/controls/@types/RichTextOptions.d.ts +0 -1
  33. package/esm/coms/controls/@types/RichTextProps.d.ts +1 -2
  34. package/esm/coms/controls/@types/index.d.ts +5 -6
  35. package/esm/coms/controls/Code.vue.d.ts +1 -1
  36. package/esm/coms/controls/Compare.vue.d.ts +1 -1
  37. package/esm/coms/controls/Input.vue.d.ts +1 -1
  38. package/esm/coms/controls/Option.vue.d.ts +1 -1
  39. package/esm/coms/controls/RichText.vue.d.ts +4 -2
  40. package/esm/coms/controls/Select.vue.d.ts +1 -1
  41. package/esm/coms/layouts/@types/RowProps.d.ts +1 -2
  42. package/esm/coms/layouts/@types/index.d.ts +1 -2
  43. package/esm/coms/layouts/Col.vue.d.ts +3 -2
  44. package/esm/coms/layouts/Container.vue.d.ts +9 -4
  45. package/esm/coms/layouts/Desc.vue.d.ts +1 -1
  46. package/esm/coms/layouts/Row.vue.d.ts +3 -2
  47. package/esm/coms/pagers/Index.vue.d.ts +1 -1
  48. package/esm/coms/progresses/Circle.vue.d.ts +1 -1
  49. package/esm/coms/progresses/Index.vue.d.ts +2 -2
  50. package/esm/coms/progresses/SocketProgress.vue.d.ts +3 -2
  51. package/esm/coms/tables/Column.vue.d.ts +22 -0
  52. package/esm/coms/tables/Index.vue.d.ts +9 -8
  53. package/esm/coms/tabs/Tab.vue.d.ts +1 -1
  54. package/esm/coms/tags/@types/TagProps.d.ts +1 -2
  55. package/esm/coms/tags/@types/index.d.ts +1 -2
  56. package/esm/coms/tags/Index.vue.d.ts +3 -2
  57. package/esm/coms/texts/@types/DanceProps.d.ts +1 -2
  58. package/esm/coms/texts/@types/index.d.ts +1 -2
  59. package/esm/coms/texts/Dance.vue.d.ts +1 -1
  60. package/esm/drivers/@types/IDispose.d.ts +1 -2
  61. package/esm/drivers/@types/IDriver.d.ts +1 -2
  62. package/esm/drivers/@types/IOpen.d.ts +1 -2
  63. package/esm/drivers/@types/index.d.ts +3 -4
  64. package/esm/drivers/bridges/IBridge.d.ts +1 -2
  65. package/esm/drivers/builders/Builder.d.ts +2 -3
  66. package/esm/drivers/builders/BuilderFactory.d.ts +3 -4
  67. package/esm/drivers/builders/IBuilder.d.ts +1 -2
  68. package/esm/drivers/builders/entities/ProviderTable.d.ts +1 -2
  69. package/esm/drivers/builders/entities/index.d.ts +1 -2
  70. package/esm/drivers/builders/implement/JsonBuilder.d.ts +2 -3
  71. package/esm/drivers/builders/implement/MongoBuilder.d.ts +2 -3
  72. package/esm/drivers/builders/implement/MySqlBuilder.d.ts +2 -3
  73. package/esm/drivers/builders/implement/SqlBuilder.d.ts +2 -3
  74. package/esm/drivers/builders/implement/index.d.ts +4 -0
  75. package/esm/drivers/builders/index.d.ts +2 -3
  76. package/esm/drivers/cdns/Cdn.d.ts +3 -7
  77. package/esm/drivers/cdns/CdnFactory.d.ts +3 -4
  78. package/esm/drivers/cdns/ICdn.d.ts +5 -2
  79. package/esm/drivers/cdns/implements/LocalCdn.d.ts +2 -3
  80. package/esm/drivers/cdns/implements/ThirdCdn.d.ts +2 -3
  81. package/esm/drivers/cdns/implements/index.d.ts +2 -0
  82. package/esm/drivers/cdns/index.d.ts +3 -4
  83. package/esm/drivers/cryptors/Cryptor.d.ts +10 -0
  84. package/esm/drivers/cryptors/CryptorFactory.d.ts +12 -0
  85. package/esm/drivers/cryptors/ICryptor.d.ts +14 -0
  86. package/esm/drivers/cryptors/implements/AesCryptor.d.ts +9 -0
  87. package/esm/drivers/cryptors/implements/PoJunCryptor.d.ts +13 -0
  88. package/esm/drivers/cryptors/implements/index.d.ts +2 -0
  89. package/esm/drivers/cryptors/index.d.ts +2 -0
  90. package/esm/drivers/encoders/Encoder.d.ts +2 -3
  91. package/esm/drivers/encoders/EncoderFactory.d.ts +3 -4
  92. package/esm/drivers/encoders/IEncoder.d.ts +1 -2
  93. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +2 -3
  94. package/esm/drivers/encoders/implement/UrlEncoder.d.ts +2 -3
  95. package/esm/drivers/encoders/implement/index.d.ts +2 -0
  96. package/esm/drivers/encoders/index.d.ts +2 -3
  97. package/esm/drivers/excels/Excel.d.ts +2 -3
  98. package/esm/drivers/excels/ExcelFactory.d.ts +3 -4
  99. package/esm/drivers/excels/IExcel.d.ts +1 -2
  100. package/esm/drivers/excels/implements/XlsxExcel.d.ts +2 -3
  101. package/esm/drivers/excels/implements/index.d.ts +1 -0
  102. package/esm/drivers/excels/index.d.ts +2 -3
  103. package/esm/drivers/explainers/Explainer.d.ts +2 -3
  104. package/esm/drivers/explainers/ExplainerFactory.d.ts +3 -4
  105. package/esm/drivers/explainers/IExplainer.d.ts +1 -2
  106. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +2 -3
  107. package/esm/drivers/explainers/implement/index.d.ts +1 -0
  108. package/esm/drivers/explainers/index.d.ts +1 -2
  109. package/esm/drivers/features/Feature.d.ts +2 -3
  110. package/esm/drivers/features/FeatureFactory.d.ts +3 -4
  111. package/esm/drivers/features/IFeature.d.ts +1 -2
  112. package/esm/drivers/features/implements/ExpressionFeature.d.ts +2 -3
  113. package/esm/drivers/features/implements/I18NFeature.d.ts +2 -3
  114. package/esm/drivers/features/implements/SortFeature.d.ts +2 -3
  115. package/esm/drivers/features/implements/index.d.ts +3 -0
  116. package/esm/drivers/features/index.d.ts +2 -3
  117. package/esm/drivers/hashers/Hasher.d.ts +2 -3
  118. package/esm/drivers/hashers/HasherFactory.d.ts +3 -4
  119. package/esm/drivers/hashers/IHasher.d.ts +1 -2
  120. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +2 -3
  121. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +2 -3
  122. package/esm/drivers/hashers/implement/index.d.ts +2 -0
  123. package/esm/drivers/hashers/index.d.ts +2 -3
  124. package/esm/drivers/https/Http.d.ts +3 -5
  125. package/esm/drivers/https/HttpFactory.d.ts +6 -6
  126. package/esm/drivers/https/IHttp.d.ts +3 -5
  127. package/esm/drivers/https/entities/HttpMessage.d.ts +3 -4
  128. package/esm/drivers/https/entities/HttpModel.d.ts +2 -3
  129. package/esm/drivers/https/entities/HttpProgress.d.ts +2 -3
  130. package/esm/drivers/https/entities/HttpRequest.d.ts +2 -3
  131. package/esm/drivers/https/entities/HttpResponse.d.ts +3 -4
  132. package/esm/drivers/https/entities/index.d.ts +4 -4
  133. package/esm/drivers/https/implements/DefaultHttp.d.ts +3 -5
  134. package/esm/drivers/https/implements/EiHttp.d.ts +13 -18
  135. package/esm/drivers/https/implements/FeiShuHttp.d.ts +2 -3
  136. package/esm/drivers/https/implements/HaloHttp.d.ts +4 -9
  137. package/esm/drivers/https/implements/MkHttp.d.ts +3 -4
  138. package/esm/drivers/https/implements/index.d.ts +5 -0
  139. package/esm/drivers/https/index.d.ts +3 -4
  140. package/esm/drivers/i18ns/I18n.d.ts +12 -13
  141. package/esm/drivers/i18ns/I18nFactory.d.ts +3 -4
  142. package/esm/drivers/i18ns/II18n.d.ts +11 -12
  143. package/esm/drivers/i18ns/implements/DefaultI18n.d.ts +3 -4
  144. package/esm/drivers/i18ns/implements/index.d.ts +1 -0
  145. package/esm/drivers/i18ns/index.d.ts +2 -3
  146. package/esm/drivers/identities/IIdentity.d.ts +15 -0
  147. package/esm/drivers/identities/Identity.d.ts +11 -0
  148. package/esm/drivers/identities/IdentityFactory.d.ts +8 -0
  149. package/esm/drivers/identities/entities/IdentityPayload.d.ts +5 -0
  150. package/esm/drivers/identities/entities/index.d.ts +1 -0
  151. package/esm/drivers/identities/implements/DefaultIdentity.d.ts +9 -0
  152. package/esm/drivers/identities/implements/EiIdentity.d.ts +15 -0
  153. package/esm/drivers/identities/implements/index.d.ts +2 -0
  154. package/esm/drivers/identities/index.d.ts +3 -0
  155. package/esm/drivers/index.d.ts +2 -51
  156. package/esm/drivers/messengers/IMessenger.d.ts +1 -2
  157. package/esm/drivers/messengers/Messenger.d.ts +2 -3
  158. package/esm/drivers/messengers/MessengerFactory.d.ts +5 -6
  159. package/esm/drivers/messengers/implement/ConsoleMessenger.d.ts +2 -3
  160. package/esm/drivers/messengers/implement/index.d.ts +1 -0
  161. package/esm/drivers/messengers/index.d.ts +3 -4
  162. package/esm/drivers/providers/IProvider.d.ts +2 -3
  163. package/esm/drivers/providers/Provider.d.ts +12 -13
  164. package/esm/drivers/providers/ProviderFactory.d.ts +6 -7
  165. package/esm/drivers/providers/helpers/SqlHelper.d.ts +1 -2
  166. package/esm/drivers/providers/helpers/index.d.ts +1 -2
  167. package/esm/drivers/providers/implements/CookieProvider.d.ts +9 -14
  168. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +12 -16
  169. package/esm/drivers/providers/implements/StorageProvider.d.ts +13 -14
  170. package/esm/drivers/providers/implements/index.d.ts +3 -0
  171. package/esm/drivers/providers/index.d.ts +2 -3
  172. package/esm/drivers/signers/ISigner.d.ts +10 -23
  173. package/esm/drivers/signers/Signer.d.ts +8 -11
  174. package/esm/drivers/signers/SignerFactory.d.ts +3 -4
  175. package/esm/drivers/signers/entities/SignerInfo.d.ts +13 -0
  176. package/esm/drivers/signers/entities/index.d.ts +1 -0
  177. package/esm/drivers/signers/implements/DefaultSigner.d.ts +11 -11
  178. package/esm/drivers/signers/implements/EiSigner.d.ts +21 -0
  179. package/esm/drivers/signers/implements/index.d.ts +2 -0
  180. package/esm/drivers/signers/index.d.ts +2 -3
  181. package/esm/drivers/sockets/@types/SubscribedWindow.d.ts +1 -2
  182. package/esm/drivers/sockets/@types/index.d.ts +1 -2
  183. package/esm/drivers/sockets/ISocket.d.ts +5 -6
  184. package/esm/drivers/sockets/Socket.d.ts +6 -7
  185. package/esm/drivers/sockets/SocketFactory.d.ts +6 -6
  186. package/esm/drivers/sockets/entities/SocketProgress.d.ts +1 -2
  187. package/esm/drivers/sockets/entities/SocketResponse.d.ts +1 -2
  188. package/esm/drivers/sockets/entities/index.d.ts +2 -3
  189. package/esm/drivers/sockets/implement/DefaultSocket.d.ts +30 -8
  190. package/esm/drivers/sockets/implement/index.d.ts +1 -0
  191. package/esm/drivers/sockets/index.d.ts +2 -3
  192. package/esm/drivers/ssos/ISso.d.ts +4 -12
  193. package/esm/drivers/ssos/Sso.d.ts +6 -10
  194. package/esm/drivers/ssos/SsoFactory.d.ts +3 -4
  195. package/esm/drivers/ssos/entities/SsoUser.d.ts +1 -2
  196. package/esm/drivers/ssos/entities/index.d.ts +1 -2
  197. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +5 -10
  198. package/esm/drivers/ssos/implements/BearerSso.d.ts +4 -9
  199. package/esm/drivers/ssos/implements/NioSso.d.ts +4 -9
  200. package/esm/drivers/ssos/implements/SecretSso.d.ts +4 -9
  201. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +3 -9
  202. package/esm/drivers/ssos/implements/index.d.ts +5 -0
  203. package/esm/drivers/ssos/index.d.ts +2 -3
  204. package/esm/drivers/tasks/ITask.d.ts +1 -2
  205. package/esm/drivers/tasks/Task.d.ts +2 -3
  206. package/esm/drivers/tasks/TaskFactory.d.ts +7 -4
  207. package/esm/drivers/tasks/implement/MemoryTask.d.ts +3 -4
  208. package/esm/drivers/tasks/implement/index.d.ts +1 -0
  209. package/esm/drivers/tasks/index.d.ts +2 -3
  210. package/esm/drivers/templates/ITemplate.d.ts +1 -2
  211. package/esm/drivers/templates/Template.d.ts +2 -3
  212. package/esm/drivers/templates/TemplateFactory.d.ts +7 -4
  213. package/esm/drivers/templates/implement/LiquidTemplate.d.ts +2 -3
  214. package/esm/drivers/templates/implement/index.d.ts +1 -0
  215. package/esm/drivers/templates/index.d.ts +2 -3
  216. package/esm/drivers/util/@types/JsonConfig.d.ts +1 -2
  217. package/esm/drivers/util/@types/TreeNodeProp.d.ts +1 -2
  218. package/esm/drivers/util/@types/index.d.ts +2 -3
  219. package/esm/drivers/util/IUtil.d.ts +1 -2
  220. package/esm/drivers/util/Util.d.ts +2 -3
  221. package/esm/drivers/util/UtilFactory.d.ts +4 -5
  222. package/esm/drivers/util/implements/ArrayUtil.d.ts +2 -3
  223. package/esm/drivers/util/implements/BrowserUtil.d.ts +2 -3
  224. package/esm/drivers/util/implements/ComponentUtil.d.ts +2 -3
  225. package/esm/drivers/util/implements/DictionaryUtil.d.ts +2 -3
  226. package/esm/drivers/util/implements/DomUtil.d.ts +2 -3
  227. package/esm/drivers/util/implements/EventUtil.d.ts +2 -3
  228. package/esm/drivers/util/implements/FileUtil.d.ts +2 -3
  229. package/esm/drivers/util/implements/HtmlUtil.d.ts +2 -3
  230. package/esm/drivers/util/implements/ImageUtil.d.ts +2 -3
  231. package/esm/drivers/util/implements/JsonUtil.d.ts +3 -4
  232. package/esm/drivers/util/implements/MathUtil.d.ts +2 -3
  233. package/esm/drivers/util/implements/MicroUtil.d.ts +2 -3
  234. package/esm/drivers/util/implements/MountUtil.d.ts +2 -3
  235. package/esm/drivers/util/implements/ObjectUtil.d.ts +2 -3
  236. package/esm/drivers/util/implements/ScrollUtil.d.ts +2 -3
  237. package/esm/drivers/util/implements/SignUtil.d.ts +2 -3
  238. package/esm/drivers/util/implements/StringUtil.d.ts +2 -3
  239. package/esm/drivers/util/implements/TaskUtil.d.ts +2 -3
  240. package/esm/drivers/util/implements/TimeUtil.d.ts +20 -21
  241. package/esm/drivers/util/implements/TreeUtil.d.ts +2 -3
  242. package/esm/drivers/util/implements/UrlUtil.d.ts +4 -5
  243. package/esm/drivers/util/implements/index.d.ts +21 -0
  244. package/esm/drivers/util/index.d.ts +2 -23
  245. package/esm/drivers/utilities/@types/DragEvent.d.ts +2 -3
  246. package/esm/drivers/utilities/@types/DragOptions.d.ts +3 -4
  247. package/esm/drivers/utilities/@types/Position.d.ts +1 -2
  248. package/esm/drivers/utilities/@types/Rect.d.ts +2 -3
  249. package/esm/drivers/utilities/@types/index.d.ts +4 -5
  250. package/esm/drivers/utilities/IUtility.d.ts +1 -2
  251. package/esm/drivers/utilities/Utility.d.ts +2 -3
  252. package/esm/drivers/utilities/UtilityFactory.d.ts +4 -11
  253. package/esm/drivers/utilities/implement/AffixUtility.d.ts +2 -3
  254. package/esm/drivers/utilities/implement/DeltaUtility.d.ts +2 -3
  255. package/esm/drivers/utilities/implement/EventUtility.d.ts +2 -3
  256. package/esm/drivers/utilities/implement/KeyboardUtility.d.ts +2 -3
  257. package/esm/drivers/utilities/implement/MouseUtility.d.ts +2 -3
  258. package/esm/drivers/utilities/implement/RandomUtility.d.ts +2 -3
  259. package/esm/drivers/utilities/implement/SaveUtility.d.ts +3 -8
  260. package/esm/drivers/utilities/implement/index.d.ts +7 -0
  261. package/esm/drivers/utilities/index.d.ts +2 -8
  262. package/esm/drivers/videos/IVideo.d.ts +1 -2
  263. package/esm/drivers/videos/VideoFactory.d.ts +3 -4
  264. package/esm/drivers/videos/index.d.ts +1 -2
  265. package/esm/drivers/voices/Voice.d.ts +1 -2
  266. package/esm/drivers/voices/VoiceFactory.d.ts +2 -3
  267. package/esm/drivers/voices/implement/DefaultVoice.d.ts +1 -2
  268. package/esm/drivers/voices/implement/TencentVoice.d.ts +1 -2
  269. package/esm/drivers/voices/implement/index.d.ts +2 -0
  270. package/esm/drivers/voices/index.d.ts +1 -2
  271. package/esm/factory/Drivers.d.ts +52 -0
  272. package/esm/factory/Factories.d.ts +8 -5
  273. package/esm/factory/Factory.d.ts +5 -6
  274. package/esm/factory/I18ns.d.ts +25 -0
  275. package/esm/factory/IFactory.d.ts +1 -2
  276. package/esm/factory/Repos.d.ts +22 -0
  277. package/esm/factory/Svcs.d.ts +85 -0
  278. package/esm/factory/Utils.d.ts +2 -3
  279. package/esm/factory/index.d.ts +7 -4
  280. package/esm/main.d.ts +3 -3
  281. package/esm/plugins/Ref.d.ts +1 -2
  282. package/esm/plugins/index.d.ts +1 -1
  283. package/esm/repos/IRepo.d.ts +1 -2
  284. package/esm/repos/Repo.d.ts +2 -3
  285. package/esm/repos/RepoFactory.d.ts +4 -7
  286. package/esm/repos/entities/KeyboardType.d.ts +1 -2
  287. package/esm/repos/entities/index.d.ts +1 -2
  288. package/esm/repos/implements/ModuleRepo.d.ts +11 -10
  289. package/esm/repos/implements/QueryRepo.d.ts +2 -3
  290. package/esm/repos/implements/SettingRepo.d.ts +1 -2
  291. package/esm/repos/implements/index.d.ts +3 -0
  292. package/esm/repos/index.d.ts +3 -12
  293. package/esm/svcs/ISvc.d.ts +1 -2
  294. package/esm/svcs/Svc.d.ts +2 -3
  295. package/esm/svcs/SvcFactory.d.ts +4 -5
  296. package/esm/svcs/entities/AppConfig.d.ts +1 -2
  297. package/esm/svcs/entities/SysConfig.d.ts +26 -5
  298. package/esm/svcs/entities/UserConfig.d.ts +1 -2
  299. package/esm/svcs/entities/index.d.ts +2 -4
  300. package/esm/svcs/implement/ConfigSvc.d.ts +5 -6
  301. package/esm/svcs/implement/DriverSvc.d.ts +2 -3
  302. package/esm/svcs/implement/EnvSvc.d.ts +1 -2
  303. package/esm/svcs/implement/LogSvc.d.ts +1 -2
  304. package/esm/svcs/implement/SettingSvc.d.ts +1 -2
  305. package/esm/svcs/implement/UserSvc.d.ts +1 -2
  306. package/esm/svcs/implement/index.d.ts +6 -1
  307. package/esm/svcs/index.d.ts +1 -51
  308. package/package.json +5 -5
@@ -0,0 +1,21 @@
1
+ export * from "./ArrayUtil";
2
+ export * from './ComponentUtil';
3
+ export * from "./DomUtil";
4
+ export * from "./DictionaryUtil";
5
+ export * from "./EventUtil";
6
+ export * from "./FileUtil";
7
+ export * from "./HtmlUtil";
8
+ export * from "./ImageUtil";
9
+ export * from "./MathUtil";
10
+ export * from "./MicroUtil";
11
+ export * from "./MountUtil";
12
+ export * from "./ObjectUtil";
13
+ export * from "./StringUtil";
14
+ export * from "./TaskUtil";
15
+ export * from "./TimeUtil";
16
+ export * from "./TreeUtil";
17
+ export * from "./ScrollUtil";
18
+ export * from "./JsonUtil";
19
+ export * from "./BrowserUtil";
20
+ export * from "./UrlUtil";
21
+ export * from "./SignUtil";
@@ -1,23 +1,2 @@
1
- import UtilFactory from "./UtilFactory";
2
- import ArrayUtil from "./implements/ArrayUtil";
3
- import ComponentUtil from './implements/ComponentUtil';
4
- import DomUtil from "./implements/DomUtil";
5
- import DictionaryUtil from "./implements/DictionaryUtil";
6
- import EventUtil from "./implements/EventUtil";
7
- import FileUtil from "./implements/FileUtil";
8
- import HtmlUtil from "./implements/HtmlUtil";
9
- import ImageUtil from "./implements/ImageUtil";
10
- import MathUtil from "./implements/MathUtil";
11
- import MicroUtil from "./implements/MicroUtil";
12
- import MountUtil from "./implements/MountUtil";
13
- import ObjectUtil from "./implements/ObjectUtil";
14
- import StringUtil from "./implements/StringUtil";
15
- import TaskUtil from "./implements/TaskUtil";
16
- import TimeUtil from "./implements/TimeUtil";
17
- import TreeUtil from "./implements/TreeUtil";
18
- import ScrollUtil from "./implements/ScrollUtil";
19
- import JsonUtil from "./implements/JsonUtil";
20
- import BrowserUtil from "./implements/BrowserUtil";
21
- import UrlUtil from "./implements/UrlUtil";
22
- import SignUtil from "./implements/SignUtil";
23
- export { UtilFactory, ArrayUtil, ComponentUtil, DomUtil, DictionaryUtil, EventUtil, FileUtil, HtmlUtil, ImageUtil, MathUtil, MountUtil, ObjectUtil, MicroUtil, StringUtil, TaskUtil, TimeUtil, TreeUtil, ScrollUtil, JsonUtil, BrowserUtil, UrlUtil, SignUtil };
1
+ export * from "./UtilFactory";
2
+ export * from "./implements";
@@ -1,11 +1,10 @@
1
- import Position from "./Position";
1
+ import { Position } from "./Position";
2
2
  /**
3
3
  * 自定义拖拽事件
4
4
  */
5
- declare class DragEvent extends Position {
5
+ export declare class DragEvent extends Position {
6
6
  /**
7
7
  * 吸附的方向
8
8
  */
9
9
  affix?: string;
10
10
  }
11
- export default DragEvent;
@@ -1,9 +1,9 @@
1
- import Rect from "./Rect";
2
- import DragEvent from "./DragEvent";
1
+ import { Rect } from "./Rect";
2
+ import { DragEvent } from "./DragEvent";
3
3
  /**
4
4
  * 拖拽选项
5
5
  */
6
- interface DragOptions {
6
+ export interface DragOptions {
7
7
  /**
8
8
  * 拖拽初始化
9
9
  */
@@ -25,4 +25,3 @@ interface DragOptions {
25
25
  */
26
26
  affix?: number;
27
27
  }
28
- export default DragOptions;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * 位置
3
3
  */
4
- declare class Position {
4
+ export declare class Position {
5
5
  /**
6
6
  * 距窗口左边的距离
7
7
  */
@@ -12,4 +12,3 @@ declare class Position {
12
12
  y: number;
13
13
  constructor(x?: number, y?: number);
14
14
  }
15
- export default Position;
@@ -1,10 +1,9 @@
1
- import Position from "./Position";
1
+ import { Position } from "./Position";
2
2
  /**
3
3
  * 区域类
4
4
  */
5
- declare class Rect extends Position {
5
+ export declare class Rect extends Position {
6
6
  width: number;
7
7
  height: number;
8
8
  constructor(x: number, y: number, width: number, height: number);
9
9
  }
10
- export default Rect;
@@ -1,5 +1,4 @@
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
+ export * from "./DragOptions";
2
+ export * from "./DragEvent";
3
+ export * from "./Position";
4
+ export * from "./Rect";
@@ -2,6 +2,5 @@ import { IDriver } from "../@types";
2
2
  /**
3
3
  * 工具类接口
4
4
  */
5
- interface IUtility extends IDriver {
5
+ export interface IUtility extends IDriver {
6
6
  }
7
- export default IUtility;
@@ -1,8 +1,7 @@
1
- import IUtility from "./IUtility";
1
+ import { IUtility } from "./IUtility";
2
2
  /**
3
3
  * 工具类基类
4
4
  */
5
- declare abstract class Utility implements IUtility {
5
+ export declare abstract class Utility implements IUtility {
6
6
  type: string;
7
7
  }
8
- export default Utility;
@@ -1,16 +1,10 @@
1
- import Factory from "../../factory/Factory";
2
- import IUtility from "./IUtility";
3
- import AffixUtility from "./implement/AffixUtility";
4
- import DeltaUtility from "./implement/DeltaUtility";
5
- import EventUtility from "./implement/EventUtility";
6
- import KeyboardUtility from "./implement/KeyboardUtility";
7
- import RandomUtility from "./implement/RandomUtility";
8
- import SaveUtility from "./implement/SaveUtility";
9
- import MouseUtility from "./implement/MouseUtility";
1
+ import { Factory } from "../../factory";
2
+ import { IUtility } from "./IUtility";
3
+ import { AffixUtility, DeltaUtility, EventUtility, KeyboardUtility, RandomUtility, SaveUtility, MouseUtility } from "./implement";
10
4
  /**
11
5
  * 工具类工厂
12
6
  */
13
- declare class UtilityFactory extends Factory<IUtility> {
7
+ export declare class UtilityFactory extends Factory<IUtility> {
14
8
  type: string;
15
9
  /**
16
10
  * 创建固定工具
@@ -41,4 +35,3 @@ declare class UtilityFactory extends Factory<IUtility> {
41
35
  */
42
36
  save(): SaveUtility;
43
37
  }
44
- export default UtilityFactory;
@@ -1,11 +1,10 @@
1
- import Utility from "../Utility";
1
+ import { Utility } from "../Utility";
2
2
  /**
3
3
  * 固定元素位置
4
4
  */
5
- declare class AffixUtility extends Utility {
5
+ export declare class AffixUtility extends Utility {
6
6
  /**
7
7
  * 初始化
8
8
  */
9
9
  constructor(ele: Element, parent: Element);
10
10
  }
11
- export default AffixUtility;
@@ -1,11 +1,10 @@
1
- import Utility from "../Utility";
1
+ import { Utility } from "../Utility";
2
2
  /**
3
3
  * 列表数据变动对比
4
4
  */
5
- declare class DeltaUtility extends Utility {
5
+ export declare class DeltaUtility extends Utility {
6
6
  /**
7
7
  * 对比数据变动
8
8
  */
9
9
  delta<T>(oldEntities: T[], newEntities: T[], keys: string[], props: []): void;
10
10
  }
11
- export default DeltaUtility;
@@ -1,10 +1,10 @@
1
1
  import { DragOptions } from "../@types";
2
2
  import { ITask } from "../../tasks";
3
- import Utility from "../Utility";
3
+ import { Utility } from "../Utility";
4
4
  /**
5
5
  * 事件工具类
6
6
  */
7
- declare class EventUtility extends Utility {
7
+ export declare class EventUtility extends Utility {
8
8
  constructor();
9
9
  resizeTask: ITask;
10
10
  resizeObserver: ResizeObserver;
@@ -67,4 +67,3 @@ declare class EventUtility extends Utility {
67
67
  */
68
68
  dispose: () => void;
69
69
  }
70
- export default EventUtility;
@@ -1,8 +1,8 @@
1
- import Utility from "../Utility";
1
+ import { Utility } from "../Utility";
2
2
  /**
3
3
  * 键盘帮助类
4
4
  */
5
- declare class KeyboardUtility extends Utility {
5
+ export declare class KeyboardUtility extends Utility {
6
6
  events: Object;
7
7
  /**
8
8
  * 注册事件
@@ -71,4 +71,3 @@ declare class KeyboardUtility extends Utility {
71
71
  touch: (element: any, cb: Function) => void;
72
72
  removeTouch: (element: any) => void;
73
73
  }
74
- export default KeyboardUtility;
@@ -1,8 +1,8 @@
1
- import Utility from "../Utility";
1
+ import { Utility } from "../Utility";
2
2
  /**
3
3
  * 鼠标工具类
4
4
  */
5
- declare class MouseUtility extends Utility {
5
+ export declare class MouseUtility extends Utility {
6
6
  container: HTMLElement;
7
7
  closeTriggers: HTMLElement[];
8
8
  /**
@@ -22,4 +22,3 @@ declare class MouseUtility extends Utility {
22
22
  */
23
23
  dispose: () => void;
24
24
  }
25
- export default MouseUtility;
@@ -1,9 +1,9 @@
1
- import Utility from "../Utility";
1
+ import { Utility } from "../Utility";
2
2
  /**
3
3
  * 随机数工具类
4
4
  * 带状态,如随机数记录了已经使用过的随机数
5
5
  */
6
- declare class RandomUtility extends Utility {
6
+ export declare class RandomUtility extends Utility {
7
7
  /**
8
8
  * 随机数总长度
9
9
  */
@@ -38,4 +38,3 @@ declare class RandomUtility extends Utility {
38
38
  */
39
39
  next(): number;
40
40
  }
41
- export default RandomUtility;
@@ -1,11 +1,11 @@
1
- import Utility from "../Utility";
1
+ import { Utility } from "../Utility";
2
2
  import { ITask } from "../../tasks";
3
3
  import { IProvider } from "../../providers";
4
4
  /**
5
5
  * 自动保存工具
6
6
  * 函数式编程,从而可以让方法被多处使用
7
7
  */
8
- declare class SaveUtility extends Utility {
8
+ export declare class SaveUtility extends Utility {
9
9
  /**
10
10
  * 已开启窗口
11
11
  * 使用静态对象记录各自工具类开启的窗口,保证同一个kind工具类,被窗口多开时,能够杜绝异步方法导致的变量不一致问题
@@ -38,17 +38,13 @@ declare class SaveUtility extends Utility {
38
38
  */
39
39
  oldKey: string;
40
40
  /**
41
- * 变动实际处理程序
41
+ * 内容变动监听程序
42
42
  */
43
43
  handler: (val: any, oldVal: any) => Promise<void>;
44
44
  /**
45
45
  * 开启表单监控
46
46
  */
47
47
  openAsync(kind: string, key: string, form: any): Promise<IProvider>;
48
- /**
49
- * 内容变动监听程序
50
- */
51
- set changeHandler<T>(value: (val: T, oldVal: T) => Promise<void>);
52
48
  /**
53
49
  * 手动保存
54
50
  */
@@ -58,4 +54,3 @@ declare class SaveUtility extends Utility {
58
54
  */
59
55
  dispose(dispose?: boolean): Promise<void>;
60
56
  }
61
- export default SaveUtility;
@@ -0,0 +1,7 @@
1
+ export * from "./AffixUtility";
2
+ export * from "./EventUtility";
3
+ export * from "./KeyboardUtility";
4
+ export * from "./DeltaUtility";
5
+ export * from "./MouseUtility";
6
+ export * from "./RandomUtility";
7
+ export * from "./SaveUtility";
@@ -1,9 +1,3 @@
1
- import EventUtility from "./implement/EventUtility";
2
- import KeyboardUtility from "./implement/KeyboardUtility";
3
- import DeltaUtility from "./implement/DeltaUtility";
4
- import MouseUtility from "./implement/MouseUtility";
5
- import RandomUtility from "./implement/RandomUtility";
6
- import SaveUtility from "./implement/SaveUtility";
7
- import UtilityFactory from "./UtilityFactory";
8
1
  export * from "./@types";
9
- export { EventUtility, KeyboardUtility, DeltaUtility, MouseUtility, RandomUtility, SaveUtility, UtilityFactory };
2
+ export * from "./implement";
3
+ export * from "./UtilityFactory";
@@ -1,4 +1,3 @@
1
1
  import { IDriver } from "../@types";
2
- interface IVideo extends IDriver {
2
+ export interface IVideo extends IDriver {
3
3
  }
4
- export default IVideo;
@@ -1,7 +1,6 @@
1
- import Factory from "../../factory/Factory";
2
- import IVideo from "./IVideo";
3
- declare class VideoFactory extends Factory<IVideo> {
1
+ import { Factory } from "../../factory";
2
+ import { IVideo } from "./IVideo";
3
+ export declare class VideoFactory extends Factory<IVideo> {
4
4
  type: string;
5
5
  open(): void;
6
6
  }
7
- export default VideoFactory;
@@ -1,2 +1 @@
1
- import VideoFactory from "./VideoFactory";
2
- export { VideoFactory };
1
+ export * from "./VideoFactory";
@@ -2,10 +2,9 @@ import { IVoice } from "./IVoice";
2
2
  /**
3
3
  * 声音处理基类
4
4
  */
5
- declare abstract class Voice implements IVoice {
5
+ export declare abstract class Voice implements IVoice {
6
6
  type: string;
7
7
  abstract startRecord(): string;
8
8
  abstract download(): void;
9
9
  abstract endRecord(): string;
10
10
  }
11
- export default Voice;
@@ -1,7 +1,6 @@
1
- import Factory from "../../factory/Factory";
1
+ import { Factory } from "../../factory";
2
2
  import { IVoice } from "./IVoice";
3
- declare class VoiceFactory extends Factory<IVoice> {
3
+ export declare class VoiceFactory extends Factory<IVoice> {
4
4
  type: string;
5
5
  open(): void;
6
6
  }
7
- export default VoiceFactory;
@@ -1,8 +1,7 @@
1
- import Voice from "../Voice";
1
+ import { Voice } from "../Voice";
2
2
  export declare class DefaultVoice extends Voice {
3
3
  type: string;
4
4
  download(): void;
5
5
  endRecord(): string;
6
6
  startRecord(): string;
7
7
  }
8
- export default DefaultVoice;
@@ -1,4 +1,4 @@
1
- import Voice from "../Voice";
1
+ import { Voice } from "../Voice";
2
2
  /**
3
3
  * 文档:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html#23
4
4
  */
@@ -8,4 +8,3 @@ export declare class TencentVoice extends Voice {
8
8
  endRecord(): string;
9
9
  startRecord(): string;
10
10
  }
11
- export default TencentVoice;
@@ -0,0 +1,2 @@
1
+ export * from "./TencentVoice";
2
+ export * from "./DefaultVoice";
@@ -1,2 +1 @@
1
- import VoiceFactory from "./VoiceFactory";
2
- export { VoiceFactory };
1
+ export * from "./VoiceFactory";
@@ -0,0 +1,52 @@
1
+ import { ICdn, IEncoder, IHasher, IHttp, II18n, IMessenger, ISocket, ITemplate, SsoUser } from "../drivers";
2
+ import { FeOptions } from "../@types";
3
+ /**
4
+ * 驱动常用实例集合,封装后方便修改引用
5
+ */
6
+ export declare class Drivers {
7
+ /**
8
+ * 默认base64编码
9
+ */
10
+ static base64: IEncoder;
11
+ /**
12
+ * CDN加载器
13
+ */
14
+ static cdn: ICdn;
15
+ /**
16
+ * 默认Http请求对象
17
+ */
18
+ static http: IHttp;
19
+ /**
20
+ * 多语言翻译对象
21
+ */
22
+ static i18n: II18n;
23
+ /**
24
+ * MD5 hash计算
25
+ */
26
+ static md5: IHasher;
27
+ /**
28
+ * Socket通信
29
+ */
30
+ static socket: ISocket;
31
+ /**
32
+ * 默认模板引擎
33
+ */
34
+ static template: ITemplate;
35
+ /**
36
+ * 初始化消息对象,保证后续更新能够被同步更新
37
+ */
38
+ static messenger: IMessenger;
39
+ }
40
+ /**
41
+ * 初始化默认配置选项
42
+ */
43
+ export declare function initOptionsAsync(options?: FeOptions): Promise<FeOptions>;
44
+ /**
45
+ * 初始化默认驱动实例
46
+ */
47
+ export declare function initDriverAsync(options: FeOptions): Promise<void>;
48
+ /**
49
+ * 重新创建通信协议
50
+ * 用于:重新登录时,开启Http和Socket工具
51
+ */
52
+ export declare function reopenProtocolAsync(user: SsoUser): Promise<void>;
@@ -1,10 +1,10 @@
1
- import { BuilderFactory, CdnFactory, EncoderFactory, EncryptorFactory, ExcelFactory, ExplainerFactory, FeatureFactory, HasherFactory, UtilFactory, I18nFactory, HttpFactory, MessengerFactory, ProviderFactory, SignerFactory, SocketFactory, SsoFactory, TaskFactory, TemplateFactory, UtilityFactory } from "../drivers";
1
+ import { BuilderFactory, CdnFactory, EncoderFactory, CryptorFactory, ExcelFactory, ExplainerFactory, FeatureFactory, HasherFactory, UtilFactory, I18nFactory, IdentityFactory, HttpFactory, MessengerFactory, ProviderFactory, SignerFactory, SocketFactory, SsoFactory, TaskFactory, TemplateFactory, UtilityFactory } from "../drivers";
2
2
  import { RepoFactory } from "../repos";
3
3
  import { SvcFactory } from "../svcs";
4
4
  /**
5
- * 驱动工厂类
5
+ * 工厂集合
6
6
  */
7
- declare class Factories {
7
+ export declare class Factories {
8
8
  /**
9
9
  * 工厂缓存
10
10
  */
@@ -26,7 +26,7 @@ declare class Factories {
26
26
  /**
27
27
  * 加解密工厂
28
28
  */
29
- static get encryptor(): EncryptorFactory;
29
+ static get cryptor(): CryptorFactory;
30
30
  /**
31
31
  * Excel工厂
32
32
  */
@@ -51,6 +51,10 @@ declare class Factories {
51
51
  * 多语言工厂
52
52
  */
53
53
  static get i18n(): I18nFactory;
54
+ /**
55
+ * 身份认证工厂
56
+ */
57
+ static get identity(): IdentityFactory;
54
58
  /**
55
59
  * 消息提示请求工厂
56
60
  */
@@ -100,4 +104,3 @@ declare class Factories {
100
104
  */
101
105
  static create<T>(type: any): T;
102
106
  }
103
- export default Factories;
@@ -1,10 +1,10 @@
1
- import IFactory from "./IFactory";
1
+ import { IFactory } from "./IFactory";
2
2
  import { IDriver } from "../drivers";
3
3
  import { Ref } from "../plugins";
4
4
  /**
5
5
  * 工厂基类
6
6
  */
7
- declare abstract class Factory<T extends IDriver> implements IFactory<T> {
7
+ export declare abstract class Factory<T extends IDriver> implements IFactory<T> {
8
8
  /**
9
9
  * 工厂类型,可用于异常提示
10
10
  */
@@ -28,11 +28,11 @@ declare abstract class Factory<T extends IDriver> implements IFactory<T> {
28
28
  * 根据主键创建并开启驱动,并返回加载后的驱动信息
29
29
  */
30
30
  createByIdAsync: (id: number, driverRef?: Ref<any>) => Promise<T>;
31
- createWithCache(type: string, name?: string, open?: (entity: T) => void): T;
31
+ createWithCache(type: string, name?: string, open?: (instance: T) => void): T;
32
32
  /**
33
33
  * 从缓存中获取指定名称的驱动,不存在则创建并执行初始化
34
34
  */
35
- createWithCacheAsync(type?: string, open?: (entity: T) => Promise<void>): Promise<T>;
35
+ createWithCacheAsync(type?: string, open?: (instance: T) => Promise<void>): Promise<T>;
36
36
  /**
37
37
  * 异步创建指定类型驱动
38
38
  */
@@ -42,8 +42,7 @@ declare abstract class Factory<T extends IDriver> implements IFactory<T> {
42
42
  */
43
43
  create(type: string): T;
44
44
  /**
45
- * 加载驱动明细
45
+ * 加载驱动详情
46
46
  */
47
47
  loadDriverAsync(id: number): Promise<any>;
48
48
  }
49
- export default Factory;
@@ -0,0 +1,25 @@
1
+ import { Drivers } from "./Drivers";
2
+ import { FeOptions } from "../@types";
3
+ /**
4
+ * 多语言翻译功能集合
5
+ */
6
+ export declare class I18ns {
7
+ /**
8
+ * 提取可导出的翻译方法,当i18n实例变化后,导出的方案会跟着变化?
9
+ */
10
+ static t: typeof Drivers.i18n.t;
11
+ static exists: typeof Drivers.i18n.exists;
12
+ static sys: typeof Drivers.i18n.sys;
13
+ static enum: typeof Drivers.i18n.enum;
14
+ static field: typeof Drivers.i18n.field;
15
+ static field_choose_placeholder: typeof Drivers.i18n.field_choose_placeholder;
16
+ static field_placeholder: typeof Drivers.i18n.field_placeholder;
17
+ static table: typeof Drivers.i18n.table;
18
+ static module: typeof Drivers.i18n.module;
19
+ static menu: typeof Drivers.i18n.menu;
20
+ static setTitle: typeof Drivers.i18n.setTitle;
21
+ }
22
+ /**
23
+ * 初始化多语言
24
+ */
25
+ export declare function initI18nsAsync(options: FeOptions): Promise<void>;
@@ -2,7 +2,7 @@ import { Ref } from "../plugins";
2
2
  /**
3
3
  * 工厂接口
4
4
  */
5
- interface IFactory<T> {
5
+ export interface IFactory<T> {
6
6
  /**
7
7
  * 工厂类型,可用于异常提示
8
8
  */
@@ -46,4 +46,3 @@ interface IFactory<T> {
46
46
  */
47
47
  create(type: string): T;
48
48
  }
49
- export default IFactory;
@@ -0,0 +1,22 @@
1
+ import { ModuleRepo, QueryRepo, SettingRepo } from "../repos";
2
+ /**
3
+ * 仓储集合
4
+ */
5
+ export declare class Repos {
6
+ /**
7
+ * 模块仓储
8
+ */
9
+ static module: ModuleRepo;
10
+ /**
11
+ * 查询仓储
12
+ */
13
+ static query: QueryRepo;
14
+ /**
15
+ * 设置仓储
16
+ */
17
+ static setting: SettingRepo;
18
+ }
19
+ /**
20
+ * 初始化全局仓储对象
21
+ */
22
+ export declare function initRepoAsync(): Promise<void>;