@ibiz-template/core 0.7.39 → 0.7.40-alpha.7

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 (393) hide show
  1. package/dist/index.esm.js +517 -656
  2. package/dist/index.system.min.js +1 -1
  3. package/out/command/command-register.d.ts +23 -37
  4. package/out/command/command-register.d.ts.map +1 -1
  5. package/out/command/command-register.js +22 -36
  6. package/out/command/command.d.ts +28 -34
  7. package/out/command/command.d.ts.map +1 -1
  8. package/out/command/command.js +26 -32
  9. package/out/command/index.d.ts +1 -4
  10. package/out/command/index.d.ts.map +1 -1
  11. package/out/command/index.js +2 -4
  12. package/out/command/utils/util.d.ts +23 -15
  13. package/out/command/utils/util.d.ts.map +1 -1
  14. package/out/command/utils/util.js +22 -16
  15. package/out/constant/core/core.d.ts +18 -28
  16. package/out/constant/core/core.d.ts.map +1 -1
  17. package/out/constant/core/core.js +18 -28
  18. package/out/constant/emoji/emoji.d.ts.map +1 -1
  19. package/out/constant/emoji/emoji.js +2 -0
  20. package/out/constant/http-status-message/http-status-message.d.ts +0 -3
  21. package/out/constant/http-status-message/http-status-message.d.ts.map +1 -1
  22. package/out/constant/http-status-message/http-status-message.js +1 -3
  23. package/out/constant/index.d.ts +2 -4
  24. package/out/constant/index.d.ts.map +1 -1
  25. package/out/constant/index.js +2 -4
  26. package/out/constant/util/util.d.ts +0 -3
  27. package/out/constant/util/util.d.ts.map +1 -1
  28. package/out/constant/util/util.js +1 -3
  29. package/out/context/index.d.ts +34 -51
  30. package/out/context/index.d.ts.map +1 -1
  31. package/out/context/index.js +24 -33
  32. package/out/environment/environment.d.ts +0 -3
  33. package/out/environment/environment.d.ts.map +1 -1
  34. package/out/environment/environment.js +4 -4
  35. package/out/error/http-error/entity-error.d.ts +3 -17
  36. package/out/error/http-error/entity-error.d.ts.map +1 -1
  37. package/out/error/http-error/entity-error.js +2 -5
  38. package/out/error/http-error/http-error-factory.d.ts +5 -0
  39. package/out/error/http-error/http-error-factory.d.ts.map +1 -1
  40. package/out/error/http-error/http-error-factory.js +5 -0
  41. package/out/error/http-error/http-error.d.ts +3 -10
  42. package/out/error/http-error/http-error.d.ts.map +1 -1
  43. package/out/error/http-error/http-error.js +2 -5
  44. package/out/error/model-error/model-error.d.ts +5 -9
  45. package/out/error/model-error/model-error.d.ts.map +1 -1
  46. package/out/error/model-error/model-error.js +5 -9
  47. package/out/error/notice-error/notice-error.d.ts +2 -5
  48. package/out/error/notice-error/notice-error.d.ts.map +1 -1
  49. package/out/error/notice-error/notice-error.js +2 -5
  50. package/out/error/runtime-error/runtime-error.d.ts +2 -5
  51. package/out/error/runtime-error/runtime-error.d.ts.map +1 -1
  52. package/out/error/runtime-error/runtime-error.js +2 -5
  53. package/out/error/runtime-model-error/runtime-model-error.d.ts +5 -10
  54. package/out/error/runtime-model-error/runtime-model-error.d.ts.map +1 -1
  55. package/out/error/runtime-model-error/runtime-model-error.js +5 -10
  56. package/out/ibizsys.d.ts +24 -44
  57. package/out/ibizsys.d.ts.map +1 -1
  58. package/out/ibizsys.js +15 -29
  59. package/out/index.d.ts.map +1 -1
  60. package/out/install.d.ts +1 -4
  61. package/out/install.d.ts.map +1 -1
  62. package/out/install.js +1 -4
  63. package/out/interface/api/constant/index.d.ts +3 -0
  64. package/out/interface/api/constant/index.d.ts.map +1 -0
  65. package/out/interface/api/constant/index.js +2 -0
  66. package/out/{constant → interface/api/constant}/login-mode/login-mode.d.ts +1 -4
  67. package/out/interface/api/constant/login-mode/login-mode.d.ts.map +1 -0
  68. package/out/{constant → interface/api/constant}/login-mode/login-mode.js +1 -4
  69. package/out/{constant → interface/api/constant}/menu-permission-mode/menu-permission-mode.d.ts +1 -4
  70. package/out/interface/api/constant/menu-permission-mode/menu-permission-mode.d.ts.map +1 -0
  71. package/out/{constant → interface/api/constant}/menu-permission-mode/menu-permission-mode.js +1 -4
  72. package/out/interface/api/environment/i-devtool-config.d.ts +33 -0
  73. package/out/interface/api/environment/i-devtool-config.d.ts.map +1 -0
  74. package/out/interface/api/environment/i-environment.d.ts +282 -0
  75. package/out/interface/api/environment/i-environment.d.ts.map +1 -0
  76. package/out/interface/api/environment/index.d.ts +3 -0
  77. package/out/interface/api/environment/index.d.ts.map +1 -0
  78. package/out/interface/api/global-param/i-api-context.d.ts +33 -0
  79. package/out/interface/api/global-param/i-api-context.d.ts.map +1 -0
  80. package/out/interface/api/global-param/i-global-param.d.ts +25 -0
  81. package/out/interface/api/global-param/i-global-param.d.ts.map +1 -0
  82. package/out/interface/api/global-param/index.d.ts +3 -0
  83. package/out/interface/api/global-param/index.d.ts.map +1 -0
  84. package/out/interface/api/ibizsys/i-api-ibizsys.d.ts +48 -0
  85. package/out/interface/api/ibizsys/i-api-ibizsys.d.ts.map +1 -0
  86. package/out/interface/api/ibizsys/i-org-data.d.ts +32 -0
  87. package/out/interface/api/ibizsys/i-org-data.d.ts.map +1 -0
  88. package/out/interface/api/ibizsys/index.d.ts +3 -0
  89. package/out/interface/api/ibizsys/index.d.ts.map +1 -0
  90. package/out/interface/api/index.d.ts +6 -0
  91. package/out/interface/api/index.d.ts.map +1 -0
  92. package/out/interface/api/index.js +5 -0
  93. package/out/interface/api/utils/i-api-i18n.d.ts +51 -0
  94. package/out/interface/api/utils/i-api-i18n.d.ts.map +1 -0
  95. package/out/interface/api/utils/index.d.ts +5 -0
  96. package/out/interface/api/utils/index.d.ts.map +1 -0
  97. package/out/interface/api/utils/index.js +1 -0
  98. package/out/interface/api/utils/message-center/base/i-message-all.d.ts +10 -0
  99. package/out/interface/api/utils/message-center/base/i-message-all.d.ts.map +1 -0
  100. package/out/interface/api/utils/message-center/base/i-message-base.d.ts +27 -0
  101. package/out/interface/api/utils/message-center/base/i-message-base.d.ts.map +1 -0
  102. package/out/interface/api/utils/message-center/base/index.d.ts +3 -0
  103. package/out/interface/api/utils/message-center/base/index.d.ts.map +1 -0
  104. package/out/interface/{i-add-in-changed → api/utils/message-center/command/add-in-changed}/i-add-in-changed.d.ts +4 -8
  105. package/out/interface/api/utils/message-center/command/add-in-changed/i-add-in-changed.d.ts.map +1 -0
  106. package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts +17 -0
  107. package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts.map +1 -0
  108. package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts +17 -0
  109. package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts.map +1 -0
  110. package/out/interface/api/utils/message-center/command/change/i-command-change.d.ts +10 -0
  111. package/out/interface/api/utils/message-center/command/change/i-command-change.d.ts.map +1 -0
  112. package/out/interface/api/utils/message-center/command/change/i-command-change.js +1 -0
  113. package/out/interface/api/utils/message-center/command/create/i-command-create.d.ts +18 -0
  114. package/out/interface/api/utils/message-center/command/create/i-command-create.d.ts.map +1 -0
  115. package/out/interface/api/utils/message-center/command/create/i-command-create.js +1 -0
  116. package/out/interface/api/utils/message-center/command/i-command-base.d.ts +20 -0
  117. package/out/interface/api/utils/message-center/command/i-command-base.d.ts.map +1 -0
  118. package/out/interface/api/utils/message-center/command/i-command-base.js +1 -0
  119. package/out/interface/api/utils/message-center/command/i-message-command.d.ts +82 -0
  120. package/out/interface/api/utils/message-center/command/i-message-command.d.ts.map +1 -0
  121. package/out/interface/api/utils/message-center/command/i-message-command.js +1 -0
  122. package/out/interface/api/utils/message-center/command/index.d.ts +14 -0
  123. package/out/interface/api/utils/message-center/command/index.d.ts.map +1 -0
  124. package/out/interface/api/utils/message-center/command/index.js +1 -0
  125. package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts +17 -0
  126. package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts.map +1 -0
  127. package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.js +1 -0
  128. package/out/interface/{i-internal-message → api/utils/message-center/command/internal-message}/i-internal-message.d.ts +35 -54
  129. package/out/interface/api/utils/message-center/command/internal-message/i-internal-message.d.ts.map +1 -0
  130. package/out/interface/api/utils/message-center/command/internal-message/i-internal-message.js +1 -0
  131. package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts +17 -0
  132. package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts.map +1 -0
  133. package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.js +1 -0
  134. package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.d.ts +46 -0
  135. package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.d.ts.map +1 -0
  136. package/out/interface/api/utils/message-center/command/mark-open-data/i-mark-open-data.js +1 -0
  137. package/out/interface/api/utils/message-center/command/remove/i-command-remove.d.ts +18 -0
  138. package/out/interface/api/utils/message-center/command/remove/i-command-remove.d.ts.map +1 -0
  139. package/out/interface/api/utils/message-center/command/remove/i-command-remove.js +1 -0
  140. package/out/interface/api/utils/message-center/command/update/i-command-update.d.ts +18 -0
  141. package/out/interface/api/utils/message-center/command/update/i-command-update.d.ts.map +1 -0
  142. package/out/interface/api/utils/message-center/command/update/i-command-update.js +1 -0
  143. package/out/interface/api/utils/message-center/common/i-app-data-entity.d.ts +16 -0
  144. package/out/interface/api/utils/message-center/common/i-app-data-entity.d.ts.map +1 -0
  145. package/out/interface/api/utils/message-center/common/i-app-data-entity.js +1 -0
  146. package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts +10 -0
  147. package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts.map +1 -0
  148. package/out/interface/api/utils/message-center/common/i-message-center-event.js +1 -0
  149. package/out/interface/api/utils/message-center/common/i-msg-meta-data.d.ts +14 -0
  150. package/out/interface/api/utils/message-center/common/i-msg-meta-data.d.ts.map +1 -0
  151. package/out/interface/api/utils/message-center/common/i-msg-meta-data.js +1 -0
  152. package/out/interface/api/utils/message-center/common/i-portal-async-action.d.ts +134 -0
  153. package/out/interface/api/utils/message-center/common/i-portal-async-action.d.ts.map +1 -0
  154. package/out/interface/api/utils/message-center/common/i-portal-async-action.js +1 -0
  155. package/out/interface/api/utils/message-center/common/i-portal-message.d.ts +70 -0
  156. package/out/interface/api/utils/message-center/common/i-portal-message.d.ts.map +1 -0
  157. package/out/interface/api/utils/message-center/common/i-portal-message.js +1 -0
  158. package/out/interface/api/utils/message-center/common/index.d.ts +6 -0
  159. package/out/interface/api/utils/message-center/common/index.d.ts.map +1 -0
  160. package/out/interface/api/utils/message-center/common/index.js +1 -0
  161. package/out/interface/api/utils/message-center/console/i-message-console.d.ts +17 -0
  162. package/out/interface/api/utils/message-center/console/i-message-console.d.ts.map +1 -0
  163. package/out/interface/api/utils/message-center/console/i-message-console.js +1 -0
  164. package/out/interface/api/utils/message-center/error/i-message-error.d.ts +17 -0
  165. package/out/interface/api/utils/message-center/error/i-message-error.d.ts.map +1 -0
  166. package/out/interface/api/utils/message-center/error/i-message-error.js +1 -0
  167. package/out/interface/api/utils/message-center/i-message-center.d.ts +48 -0
  168. package/out/interface/api/utils/message-center/i-message-center.d.ts.map +1 -0
  169. package/out/interface/api/utils/message-center/i-message-center.js +1 -0
  170. package/out/interface/api/utils/message-center/index.d.ts +7 -0
  171. package/out/interface/api/utils/message-center/index.d.ts.map +1 -0
  172. package/out/interface/api/utils/message-center/index.js +3 -0
  173. package/out/interface/api/utils/net/i-api-net.d.ts +65 -0
  174. package/out/interface/api/utils/net/i-api-net.d.ts.map +1 -0
  175. package/out/interface/api/utils/net/i-api-net.js +1 -0
  176. package/out/interface/api/utils/net/i-http-response.d.ts +60 -0
  177. package/out/interface/api/utils/net/i-http-response.d.ts.map +1 -0
  178. package/out/interface/api/utils/net/i-http-response.js +1 -0
  179. package/out/interface/click-outside/click-outside.d.ts +15 -36
  180. package/out/interface/click-outside/click-outside.d.ts.map +1 -1
  181. package/out/interface/command/command/i-command-option.d.ts +46 -0
  182. package/out/interface/command/command/i-command-option.d.ts.map +1 -0
  183. package/out/interface/command/command/i-command-option.js +1 -0
  184. package/out/interface/command/command/i-command.d.ts +61 -0
  185. package/out/interface/command/command/i-command.d.ts.map +1 -0
  186. package/out/interface/command/command/i-command.js +1 -0
  187. package/out/interface/command/disposable/i-disposable.d.ts +13 -0
  188. package/out/interface/command/disposable/i-disposable.d.ts.map +1 -0
  189. package/out/interface/command/disposable/i-disposable.js +1 -0
  190. package/out/interface/command/i-command-controller.d.ts +43 -0
  191. package/out/interface/command/i-command-controller.d.ts.map +1 -0
  192. package/out/interface/command/i-command-controller.js +1 -0
  193. package/out/interface/command/index.d.ts +5 -0
  194. package/out/interface/command/index.d.ts.map +1 -0
  195. package/out/interface/command/index.js +1 -0
  196. package/out/interface/context/index.d.ts +39 -0
  197. package/out/interface/context/index.d.ts.map +1 -0
  198. package/out/interface/context/index.js +1 -0
  199. package/out/interface/error/index.d.ts +12 -0
  200. package/out/interface/error/index.d.ts.map +1 -0
  201. package/out/interface/error/index.js +1 -0
  202. package/out/interface/i-chat-message/i-chat-message.d.ts +24 -37
  203. package/out/interface/i-chat-message/i-chat-message.d.ts.map +1 -1
  204. package/out/interface/ibizsys/i-ibizsys.d.ts +30 -0
  205. package/out/interface/ibizsys/i-ibizsys.d.ts.map +1 -0
  206. package/out/interface/ibizsys/i-ibizsys.js +1 -0
  207. package/out/interface/ibizsys/index.d.ts +2 -0
  208. package/out/interface/ibizsys/index.d.ts.map +1 -0
  209. package/out/interface/ibizsys/index.js +1 -0
  210. package/out/interface/index.d.ts +8 -9
  211. package/out/interface/index.d.ts.map +1 -1
  212. package/out/interface/index.js +6 -0
  213. package/out/interface/utils/i-18n.d.ts +21 -0
  214. package/out/interface/utils/i-18n.d.ts.map +1 -0
  215. package/out/interface/utils/i-18n.js +1 -0
  216. package/out/interface/utils/index.d.ts +2 -0
  217. package/out/interface/utils/index.d.ts.map +1 -0
  218. package/out/interface/utils/index.js +1 -0
  219. package/out/params/params.d.ts +20 -24
  220. package/out/params/params.d.ts.map +1 -1
  221. package/out/params/params.js +16 -18
  222. package/out/types.d.ts +5 -113
  223. package/out/types.d.ts.map +1 -1
  224. package/out/utils/bit-mask/bit-mask.d.ts +9 -32
  225. package/out/utils/bit-mask/bit-mask.d.ts.map +1 -1
  226. package/out/utils/bit-mask/bit-mask.js +10 -37
  227. package/out/utils/click-outside/click-outside.d.ts +1 -4
  228. package/out/utils/click-outside/click-outside.d.ts.map +1 -1
  229. package/out/utils/click-outside/click-outside.js +1 -4
  230. package/out/utils/clone/clone.d.ts +3 -7
  231. package/out/utils/clone/clone.d.ts.map +1 -1
  232. package/out/utils/clone/clone.js +7 -12
  233. package/out/utils/color/color.d.ts +4 -6
  234. package/out/utils/color/color.d.ts.map +1 -1
  235. package/out/utils/color/color.js +5 -8
  236. package/out/utils/cookie-util/cookie-util.d.ts +16 -27
  237. package/out/utils/cookie-util/cookie-util.d.ts.map +1 -1
  238. package/out/utils/cookie-util/cookie-util.js +126 -55
  239. package/out/utils/data-type/data-types.d.ts +13 -19
  240. package/out/utils/data-type/data-types.d.ts.map +1 -1
  241. package/out/utils/data-type/data-types.js +13 -19
  242. package/out/utils/download-file/download-file.d.ts +6 -15
  243. package/out/utils/download-file/download-file.d.ts.map +1 -1
  244. package/out/utils/download-file/download-file.js +6 -15
  245. package/out/utils/event/event.d.ts +6 -14
  246. package/out/utils/event/event.d.ts.map +1 -1
  247. package/out/utils/event/event.js +6 -14
  248. package/out/utils/history-list/history-item.d.ts +5 -10
  249. package/out/utils/history-list/history-item.d.ts.map +1 -1
  250. package/out/utils/history-list/history-item.js +5 -10
  251. package/out/utils/history-list/history-list.d.ts +31 -45
  252. package/out/utils/history-list/history-list.d.ts.map +1 -1
  253. package/out/utils/history-list/history-list.js +28 -40
  254. package/out/utils/index.d.ts +1 -2
  255. package/out/utils/index.d.ts.map +1 -1
  256. package/out/utils/interceptor/core-interceptor.d.ts +11 -9
  257. package/out/utils/interceptor/core-interceptor.d.ts.map +1 -1
  258. package/out/utils/interceptor/core-interceptor.js +11 -9
  259. package/out/utils/interceptor/interceptor.d.ts +24 -43
  260. package/out/utils/interceptor/interceptor.d.ts.map +1 -1
  261. package/out/utils/interceptor/interceptor.js +18 -31
  262. package/out/utils/message-center/base/message-all.d.ts +3 -5
  263. package/out/utils/message-center/base/message-all.d.ts.map +1 -1
  264. package/out/utils/message-center/base/message-all.js +1 -4
  265. package/out/utils/message-center/base/message-base.d.ts +23 -40
  266. package/out/utils/message-center/base/message-base.d.ts.map +1 -1
  267. package/out/utils/message-center/base/message-base.js +20 -26
  268. package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts +5 -6
  269. package/out/utils/message-center/command/add-in-changed/command-add-in-changed.d.ts.map +1 -1
  270. package/out/utils/message-center/command/add-in-changed/command-add-in-changed.js +3 -4
  271. package/out/utils/message-center/command/async-action/command-async-action.d.ts +6 -10
  272. package/out/utils/message-center/command/async-action/command-async-action.d.ts.map +1 -1
  273. package/out/utils/message-center/command/async-action/command-async-action.js +4 -8
  274. package/out/utils/message-center/command/change/command-change.d.ts +4 -5
  275. package/out/utils/message-center/command/change/command-change.d.ts.map +1 -1
  276. package/out/utils/message-center/command/change/command-change.js +2 -4
  277. package/out/utils/message-center/command/command-base/command-base.d.ts +10 -15
  278. package/out/utils/message-center/command/command-base/command-base.d.ts.map +1 -1
  279. package/out/utils/message-center/command/command-base/command-base.js +7 -12
  280. package/out/utils/message-center/command/create/command-create.d.ts +8 -12
  281. package/out/utils/message-center/command/create/command-create.d.ts.map +1 -1
  282. package/out/utils/message-center/command/create/command-create.js +6 -10
  283. package/out/utils/message-center/command/internal-message/command-internal-message.d.ts +7 -11
  284. package/out/utils/message-center/command/internal-message/command-internal-message.d.ts.map +1 -1
  285. package/out/utils/message-center/command/internal-message/command-internal-message.js +5 -9
  286. package/out/utils/message-center/command/mark-open-data/command-mark-open-data.d.ts +6 -10
  287. package/out/utils/message-center/command/mark-open-data/command-mark-open-data.d.ts.map +1 -1
  288. package/out/utils/message-center/command/mark-open-data/command-mark-open-data.js +4 -8
  289. package/out/utils/message-center/command/message-command.d.ts +31 -45
  290. package/out/utils/message-center/command/message-command.d.ts.map +1 -1
  291. package/out/utils/message-center/command/message-command.js +29 -43
  292. package/out/utils/message-center/command/remove/command-remove.d.ts +7 -11
  293. package/out/utils/message-center/command/remove/command-remove.d.ts.map +1 -1
  294. package/out/utils/message-center/command/remove/command-remove.js +5 -9
  295. package/out/utils/message-center/command/update/command-update.d.ts +7 -11
  296. package/out/utils/message-center/command/update/command-update.d.ts.map +1 -1
  297. package/out/utils/message-center/command/update/command-update.js +5 -9
  298. package/out/utils/message-center/console/message-console.d.ts +6 -9
  299. package/out/utils/message-center/console/message-console.d.ts.map +1 -1
  300. package/out/utils/message-center/console/message-console.js +4 -8
  301. package/out/utils/message-center/error/message-error.d.ts +6 -9
  302. package/out/utils/message-center/error/message-error.d.ts.map +1 -1
  303. package/out/utils/message-center/error/message-error.js +4 -8
  304. package/out/utils/message-center/index.d.ts +0 -1
  305. package/out/utils/message-center/index.d.ts.map +1 -1
  306. package/out/utils/message-center/message-center.d.ts +20 -35
  307. package/out/utils/message-center/message-center.d.ts.map +1 -1
  308. package/out/utils/message-center/message-center.js +18 -33
  309. package/out/utils/namespace/namespace.d.ts +45 -75
  310. package/out/utils/namespace/namespace.d.ts.map +1 -1
  311. package/out/utils/namespace/namespace.js +53 -81
  312. package/out/utils/net/http-response.d.ts +6 -66
  313. package/out/utils/net/http-response.d.ts.map +1 -1
  314. package/out/utils/net/http-response.js +4 -11
  315. package/out/utils/net/net.d.ts +57 -100
  316. package/out/utils/net/net.d.ts.map +1 -1
  317. package/out/utils/net/net.js +53 -94
  318. package/out/utils/recursive/find-recursive-child.d.ts +2 -10
  319. package/out/utils/recursive/find-recursive-child.d.ts.map +1 -1
  320. package/out/utils/recursive/find-recursive-child.js +4 -14
  321. package/out/utils/string-util/string-util.d.ts +6 -16
  322. package/out/utils/string-util/string-util.d.ts.map +1 -1
  323. package/out/utils/string-util/string-util.js +6 -16
  324. package/out/utils/style/remote-style.d.ts +1 -4
  325. package/out/utils/style/remote-style.d.ts.map +1 -1
  326. package/out/utils/style/remote-style.js +1 -4
  327. package/out/utils/sync/await-timeout.d.ts +1 -5
  328. package/out/utils/sync/await-timeout.d.ts.map +1 -1
  329. package/out/utils/sync/await-timeout.js +1 -5
  330. package/out/utils/sync/count-latch.d.ts +14 -30
  331. package/out/utils/sync/count-latch.d.ts.map +1 -1
  332. package/out/utils/sync/count-latch.js +14 -30
  333. package/out/utils/upload/select-file.d.ts +12 -29
  334. package/out/utils/upload/select-file.d.ts.map +1 -1
  335. package/out/utils/upload/select-file.js +3 -9
  336. package/out/utils/upload/upload-file.d.ts +6 -14
  337. package/out/utils/upload/upload-file.d.ts.map +1 -1
  338. package/out/utils/upload/upload-file.js +9 -23
  339. package/out/utils/url-helper/url-helper.d.ts +19 -30
  340. package/out/utils/url-helper/url-helper.d.ts.map +1 -1
  341. package/out/utils/url-helper/url-helper.js +19 -30
  342. package/out/utils/util/util.d.ts +6 -77
  343. package/out/utils/util/util.d.ts.map +1 -1
  344. package/out/utils/util/util.js +6 -77
  345. package/package.json +2 -3
  346. package/out/command/interface/command/command-option.d.ts +0 -23
  347. package/out/command/interface/command/command-option.d.ts.map +0 -1
  348. package/out/command/interface/command/command.d.ts +0 -74
  349. package/out/command/interface/command/command.d.ts.map +0 -1
  350. package/out/command/interface/disposable/disposable.d.ts +0 -4
  351. package/out/command/interface/disposable/disposable.d.ts.map +0 -1
  352. package/out/command/interface/index.d.ts +0 -4
  353. package/out/command/interface/index.d.ts.map +0 -1
  354. package/out/constant/login-mode/login-mode.d.ts.map +0 -1
  355. package/out/constant/menu-permission-mode/menu-permission-mode.d.ts.map +0 -1
  356. package/out/interface/i-18n/i-18n.d.ts +0 -81
  357. package/out/interface/i-18n/i-18n.d.ts.map +0 -1
  358. package/out/interface/i-add-in-changed/i-add-in-changed.d.ts.map +0 -1
  359. package/out/interface/i-devtool-config/i-devtool-config.d.ts +0 -40
  360. package/out/interface/i-devtool-config/i-devtool-config.d.ts.map +0 -1
  361. package/out/interface/i-environment/i-environment.d.ts +0 -346
  362. package/out/interface/i-environment/i-environment.d.ts.map +0 -1
  363. package/out/interface/i-internal-message/i-internal-message.d.ts.map +0 -1
  364. package/out/interface/i-mark-open-data/i-mark-open-data.d.ts +0 -43
  365. package/out/interface/i-mark-open-data/i-mark-open-data.d.ts.map +0 -1
  366. package/out/interface/i-portal-async-action/i-portal-async-action.d.ts +0 -163
  367. package/out/interface/i-portal-async-action/i-portal-async-action.d.ts.map +0 -1
  368. package/out/interface/i-portal-message/i-portal-message.d.ts +0 -89
  369. package/out/interface/i-portal-message/i-portal-message.d.ts.map +0 -1
  370. package/out/interface/org-data/org-data.d.ts +0 -43
  371. package/out/interface/org-data/org-data.d.ts.map +0 -1
  372. package/out/utils/message-center/interface/i-app-data-entity.d.ts +0 -20
  373. package/out/utils/message-center/interface/i-app-data-entity.d.ts.map +0 -1
  374. package/out/utils/message-center/interface/i-msg-meta-data.d.ts +0 -19
  375. package/out/utils/message-center/interface/i-msg-meta-data.d.ts.map +0 -1
  376. package/out/utils/message-center/interface/index.d.ts +0 -3
  377. package/out/utils/message-center/interface/index.d.ts.map +0 -1
  378. /package/out/interface/{i-devtool-config → api/environment}/i-devtool-config.js +0 -0
  379. /package/out/interface/{i-environment → api/environment}/i-environment.js +0 -0
  380. /package/out/{command/interface → interface/api/environment}/index.js +0 -0
  381. /package/out/{command/interface/command/command-option.js → interface/api/global-param/i-api-context.js} +0 -0
  382. /package/out/{command/interface/command/command.js → interface/api/global-param/i-global-param.js} +0 -0
  383. /package/out/{utils/message-center/interface → interface/api/global-param}/index.js +0 -0
  384. /package/out/{command/interface/disposable/disposable.js → interface/api/ibizsys/i-api-ibizsys.js} +0 -0
  385. /package/out/interface/{i-18n/i-18n.js → api/ibizsys/i-org-data.js} +0 -0
  386. /package/out/interface/{i-add-in-changed/i-add-in-changed.js → api/ibizsys/index.js} +0 -0
  387. /package/out/interface/{i-internal-message/i-internal-message.js → api/utils/i-api-i18n.js} +0 -0
  388. /package/out/interface/{i-mark-open-data/i-mark-open-data.js → api/utils/message-center/base/i-message-all.js} +0 -0
  389. /package/out/interface/{i-portal-async-action/i-portal-async-action.js → api/utils/message-center/base/i-message-base.js} +0 -0
  390. /package/out/interface/{i-portal-message/i-portal-message.js → api/utils/message-center/base/index.js} +0 -0
  391. /package/out/interface/{org-data/org-data.js → api/utils/message-center/command/add-in-changed/i-add-in-changed.js} +0 -0
  392. /package/out/{utils/message-center/interface/i-app-data-entity.js → interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.js} +0 -0
  393. /package/out/{utils/message-center/interface/i-msg-meta-data.js → interface/api/utils/message-center/command/async-action/i-command-async-action.js} +0 -0
@@ -0,0 +1,61 @@
1
+ import { IDisposable } from '../disposable/i-disposable';
2
+ import { ICommandHandler, ICommandOption } from './i-command-option';
3
+ /**
4
+ * @description 指令声明
5
+ * @export
6
+ * @interface ICommand
7
+ */
8
+ export interface ICommand {
9
+ id: string;
10
+ handler: ICommandHandler;
11
+ opts?: ICommandOption;
12
+ }
13
+ /**
14
+ * 指令控制器集
15
+ */
16
+ export type ICommandsMap = Map<string, ICommand>;
17
+ /**
18
+ * @description 指令注册器
19
+ * @export
20
+ * @interface ICommandRegistry
21
+ */
22
+ export interface ICommandRegistry {
23
+ /**
24
+ * @description 注册指令
25
+ * @param {string} id 指令id
26
+ * @param {ICommandHandler} command 指令处理回调
27
+ * @param {ICommandOption} opts 指令参数
28
+ * @returns {*} {IDisposable} 指令释放对象
29
+ * @memberof ICommandRegistry
30
+ */
31
+ registerCommand(id: string, command: ICommandHandler, opts: ICommandOption): IDisposable;
32
+ /**
33
+ * @description 注册指令
34
+ * @param {string} id 指令id
35
+ * @param {ICommandHandler} command 指令处理回调
36
+ * @returns {*} {IDisposable} 指令释放对象
37
+ * @memberof ICommandRegistry
38
+ */
39
+ registerCommand(id: string, command: ICommandHandler): IDisposable;
40
+ /**
41
+ * @description 注册指令
42
+ * @param {ICommand} command 指令
43
+ * @returns {*} {IDisposable} 指令释放对象
44
+ * @memberof ICommandRegistry
45
+ */
46
+ registerCommand(command: ICommand): IDisposable;
47
+ /**
48
+ * @description 获取指令
49
+ * @param {string} id 指令id
50
+ * @returns {*} {(ICommand | undefined)}
51
+ * @memberof ICommandRegistry
52
+ */
53
+ getCommand(id: string): ICommand | undefined;
54
+ /**
55
+ * @description 获取所有指令
56
+ * @returns {*} {ICommandsMap}
57
+ * @memberof ICommandRegistry
58
+ */
59
+ getCommands(): ICommandsMap;
60
+ }
61
+ //# sourceMappingURL=i-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-command.d.ts","sourceRoot":"","sources":["../../../../src/interface/command/command/i-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAErE;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,eAAe,CACb,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,eAAe,EACxB,IAAI,EAAE,cAAc,GACnB,WAAW,CAAC;IACf;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,WAAW,CAAC;IACnE;;;;;OAKG;IACH,eAAe,CAAC,OAAO,EAAE,QAAQ,GAAG,WAAW,CAAC;IAChD;;;;;OAKG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC7C;;;;OAIG;IACH,WAAW,IAAI,YAAY,CAAC;CAC7B"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @description 可释放的对象
3
+ * @export
4
+ * @interface IDisposable
5
+ */
6
+ export interface IDisposable {
7
+ /**
8
+ * @description 释放对象持有的所有资源
9
+ * @memberof IDisposable
10
+ */
11
+ dispose(): void;
12
+ }
13
+ //# sourceMappingURL=i-disposable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-disposable.d.ts","sourceRoot":"","sources":["../../../../src/interface/command/disposable/i-disposable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;CACjB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,43 @@
1
+ import { ICommandHandler, ICommandOption } from '../../command';
2
+ import { IDisposable } from './disposable/i-disposable';
3
+ /**
4
+ * @description 指令控制器接口
5
+ * @export
6
+ * @interface ICommandController
7
+ */
8
+ export interface ICommandController {
9
+ /**
10
+ * @description 注册指令
11
+ * @param {string} id 指令id
12
+ * @param {ICommandHandler} handler 指令处理回调
13
+ * @param {ICommandOption} [opts] 指令参数
14
+ * @returns {*} {IDisposable} 指令释放对象
15
+ * @memberof ICommandController
16
+ */
17
+ register(id: string, handler: ICommandHandler, opts?: ICommandOption): IDisposable;
18
+ /**
19
+ * @description 执行指令
20
+ * @template T
21
+ * @param {string} id 指令id
22
+ * @param {...unknown[]} args 指令参数
23
+ * @returns {*} {Promise<T>} 指令返回值
24
+ * @memberof ICommandController
25
+ */
26
+ execute<T = undefined>(id: string, ...args: unknown[]): Promise<T>;
27
+ /**
28
+ * @description 判断指令是否存在,没有则直接抛出异常
29
+ * @param {string} id 指令id
30
+ * @param {boolean} [err] 是否抛出异常
31
+ * @returns {*} {boolean} 是否存在
32
+ * @memberof ICommandController
33
+ */
34
+ hasCommand(id: string, err?: boolean): boolean;
35
+ /**
36
+ * @description 获取指令参数
37
+ * @param {string} id 指令id
38
+ * @returns {*} {(ICommandOption | undefined)} 指令参数
39
+ * @memberof ICommandController
40
+ */
41
+ getCommandOpts(id: string): ICommandOption | undefined;
42
+ }
43
+ //# sourceMappingURL=i-command-controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-command-controller.d.ts","sourceRoot":"","sources":["../../../src/interface/command/i-command-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;OAOG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,eAAe,EACxB,IAAI,CAAC,EAAE,cAAc,GACpB,WAAW,CAAC;IAEf;;;;;;;OAOG;IACH,OAAO,CAAC,CAAC,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAEnE;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAE/C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;CACxD"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export type { ICommand, ICommandsMap, ICommandRegistry, } from './command/i-command';
2
+ export type { ICommandOption, ICommandHandler, } from './command/i-command-option';
3
+ export type { IDisposable } from './disposable/i-disposable';
4
+ export type { ICommandController } from './i-command-controller';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/command/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,cAAc,EACd,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @description 应用上下文处理接口
3
+ * @export
4
+ * @interface IIBizContext
5
+ * @extends {IContext}
6
+ */
7
+ export interface IIBizContext extends IContext {
8
+ /**
9
+ * @description 返回自身的上下文,独有的和与父有差异的
10
+ * @returns {*} {IData}
11
+ * @memberof IIBizContext
12
+ */
13
+ getOwnContext(): IData;
14
+ /**
15
+ * @description 销毁当前上下文
16
+ * @memberof IIBizContext
17
+ */
18
+ destroy(): void;
19
+ /**
20
+ * @description 克隆当前上下文
21
+ * @returns {*} {IContext}
22
+ * @memberof IIBizContext
23
+ */
24
+ clone(): IContext;
25
+ /**
26
+ * @description 深度克隆
27
+ * @return {*} {IData}
28
+ * @memberof IIBizContext
29
+ */
30
+ deepClone(): IData;
31
+ /**
32
+ * @description 在不改变对象引用的情况下,重置上下文,等效于重新实例化,但是引用不变
33
+ * @param {IData} [context] 默认值
34
+ * @param {IContext} [parent] 父上下文
35
+ * @memberof IIBizContext
36
+ */
37
+ reset(context?: IData, parent?: IContext): void;
38
+ }
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/context/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C;;;;OAIG;IACH,aAAa,IAAI,KAAK,CAAC;IAEvB;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;IAEhB;;;;OAIG;IACH,KAAK,IAAI,QAAQ,CAAC;IAElB;;;;OAIG;IACH,SAAS,IAAI,KAAK,CAAC;IAEnB;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACjD"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import { AxiosResponse } from 'axios';
2
+ export type InputError = {
3
+ message: string;
4
+ response?: AxiosResponse;
5
+ };
6
+ export type detailMessage = {
7
+ name: string;
8
+ logicName: string;
9
+ errorType: number;
10
+ errorInfo: string;
11
+ };
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,76 +1,63 @@
1
- import { IPortalAsyncAction } from '../i-portal-async-action/i-portal-async-action';
1
+ import { IPortalAsyncAction } from '../api';
2
2
  /**
3
- * AI聊天消息
4
- *
5
- * @author chitanda
6
- * @date 2023-10-10 16:10:29
3
+ * @description AI聊天消息
7
4
  * @export
8
5
  * @interface IChatMessage
9
6
  */
10
7
  export interface IChatMessage {
11
8
  /**
12
- * 消息标识
13
- *
14
- * @author chitanda
15
- * @date 2023-09-05 15:09:43
9
+ * @description 消息标识
16
10
  * @type {string}
11
+ * @memberof IChatMessage
17
12
  */
18
13
  messageid?: string;
19
14
  /**
20
- * 消息名称
21
- *
22
- * @author chitanda
23
- * @date 2023-09-05 15:09:49
15
+ * @description 消息名称
24
16
  * @type {string}
17
+ * @memberof IChatMessage
25
18
  */
26
19
  messagename?: string;
27
20
  /**
28
- * 消息类型
29
- *
30
- * @author chitanda
31
- * @date 2023-10-10 16:10:21
21
+ * @description 消息类型
32
22
  * @type {string}
23
+ * @memberof IChatMessage
33
24
  */
34
25
  type?: string;
35
26
  /**
36
- * 消息子类型
37
- *
38
- * @author chitanda
39
- * @date 2023-10-10 16:10:00
27
+ * @description 消息子类型
40
28
  * @type {string}
29
+ * @memberof IChatMessage
41
30
  */
42
31
  subtype?: string;
43
32
  /**
44
- * 消息角色
45
- *
46
- * @author chitanda
47
- * @date 2023-10-10 16:10:32
33
+ * @description 消息角色
48
34
  * @type {('ASSISTANT' | 'USER' | 'SYSTEM')} 助手 | 用户 | 系统
35
+ * @memberof IChatMessage
49
36
  */
50
37
  role: 'ASSISTANT' | 'USER' | 'SYSTEM';
51
38
  /**
52
- * 内容摘要
53
- *
54
- * @author chitanda
55
- * @date 2023-09-05 15:09:23
39
+ * @description 内容摘要
56
40
  * @type {string}
41
+ * @memberof IChatMessage
57
42
  */
58
43
  content: string;
59
44
  /**
60
- * 消息数据
61
- *
62
- * @author chitanda
63
- * @date 2023-09-05 15:09:55
45
+ * @description 消息数据
64
46
  * @type {(IPortalAsyncAction | IData | string | unknown)}
47
+ * @memberof IChatMessage
65
48
  */
66
49
  data?: IPortalAsyncAction | IData | string | unknown;
67
50
  /**
68
- * 消息路径
69
- *
70
- * @author chitanda
71
- * @date 2023-09-05 15:09:25
51
+ * @description 消息路径
72
52
  * @type {string}
53
+ * @memberof IChatMessage
73
54
  */
74
55
  url?: string;
56
+ /**
57
+ * @description 内容(排除排除think、resources、suggesions内容)
58
+ * @type {string}
59
+ * @memberof IChatMessage
60
+ */
61
+ realcontent?: string;
75
62
  }
76
63
  //# sourceMappingURL=i-chat-message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-chat-message.d.ts","sourceRoot":"","sources":["../../../src/interface/i-chat-message/i-chat-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;IAEtC;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;IAErD;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"}
1
+ {"version":3,"file":"i-chat-message.d.ts","sourceRoot":"","sources":["../../../src/interface/i-chat-message/i-chat-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;IAEtC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;IAErD;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,30 @@
1
+ import { Logger } from 'loglevel';
2
+ import { IApiIBizsys } from '../api';
3
+ import { ICommandController } from '../command';
4
+ /**
5
+ * @description 全局对象
6
+ * @export
7
+ * @interface IIBizsys
8
+ */
9
+ export interface IIBizsys extends IApiIBizsys {
10
+ /**
11
+ * @description 日志输出工具
12
+ * @type {Logger}
13
+ * @memberof IIBizsys
14
+ */
15
+ log: Logger;
16
+ /**
17
+ * @description 指令控制器
18
+ * @type {ICommandController}
19
+ * @memberof IIBizsys
20
+ */
21
+ commands: ICommandController;
22
+ /**
23
+ * @description 注册全局扩展,用于替换预置能力
24
+ * @param {keyof IBizSys} key
25
+ * @param {*} value
26
+ * @memberof IIBizsys
27
+ */
28
+ registerExtension(key: keyof IApiIBizsys, value: any): void;
29
+ }
30
+ //# sourceMappingURL=i-ibizsys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-ibizsys.d.ts","sourceRoot":"","sources":["../../../src/interface/ibizsys/i-ibizsys.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,QAAS,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,iBAAiB,CAAC,GAAG,EAAE,MAAM,WAAW,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;CAC7D"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export type { IIBizsys } from './i-ibizsys';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/ibizsys/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,12 +1,11 @@
1
+ import { IOrgData } from './api/ibizsys/i-org-data';
2
+ export * from './api';
1
3
  export * from './click-outside/click-outside';
2
- export type { I18n } from './i-18n/i-18n';
4
+ export * from './command';
5
+ export * from './context';
6
+ export * from './error';
3
7
  export type { IChatMessage } from './i-chat-message/i-chat-message';
4
- export type { IEnvironment } from './i-environment/i-environment';
5
- export type { IPortalAsyncAction } from './i-portal-async-action/i-portal-async-action';
6
- export type { IPortalMessage } from './i-portal-message/i-portal-message';
7
- export type { OrgData } from './org-data/org-data';
8
- export type { IInternalMessage, InternalMessageContentType, InternalMessageStatus, } from './i-internal-message/i-internal-message';
9
- export type { IDevToolConfig } from './i-devtool-config/i-devtool-config';
10
- export type { IMarkOpenData } from './i-mark-open-data/i-mark-open-data';
11
- export type { IAddInChanged } from './i-add-in-changed/i-add-in-changed';
8
+ export type OrgData = IOrgData;
9
+ export * from './ibizsys';
10
+ export * from './utils';
12
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interface/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,YAAY,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,YAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACxF,YAAY,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnD,YAAY,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,yCAAyC,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interface/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,cAAc,OAAO,CAAC;AACtB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
@@ -1 +1,7 @@
1
+ export * from './api';
1
2
  export * from './click-outside/click-outside';
3
+ export * from './command';
4
+ export * from './context';
5
+ export * from './error';
6
+ export * from './ibizsys';
7
+ export * from './utils';
@@ -0,0 +1,21 @@
1
+ import { IApiI18n } from '../api';
2
+ /**
3
+ * @description 多语言工具接口
4
+ * @export
5
+ * @interface I18n
6
+ */
7
+ export interface I18n extends IApiI18n {
8
+ /**
9
+ * @description 异步初始化,加载多语言文件
10
+ * @returns {*} {Promise<void>}
11
+ * @memberof I18n
12
+ */
13
+ init(): Promise<void>;
14
+ /**
15
+ * @description 设置异步加载的多语言模块
16
+ * @param {Record<string, () => Promise<IData>>} languages
17
+ * @memberof I18n
18
+ */
19
+ setLangConfigs(languages: Record<string, () => Promise<IData>>): void;
20
+ }
21
+ //# sourceMappingURL=i-18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-18n.d.ts","sourceRoot":"","sources":["../../../src/interface/utils/i-18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC;;;;GAIG;AACH,MAAM,WAAW,IAAK,SAAQ,QAAQ;IACpC;;;;OAIG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtB;;;;OAIG;IACH,cAAc,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;CACvE"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export type { I18n } from './i-18n';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/utils/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,5 @@
1
1
  /**
2
- * 视图参数类
3
- * @author lxm
4
- * @date 2023-10-27 03:39:12
2
+ * @description 视图参数处理类
5
3
  * @export
6
4
  * @class IBizParams
7
5
  * @implements {IParams}
@@ -9,45 +7,43 @@
9
7
  export declare class IBizParams implements IParams {
10
8
  [key: string | symbol]: any;
11
9
  /**
12
- * 自身的属性
13
- * @author lxm
14
- * @date 2023-10-27 04:09:25
10
+ * @description 自身的属性
15
11
  * @protected
16
12
  * @type {IParams}
13
+ * @memberof IBizParams
17
14
  */
18
15
  protected _params: IParams;
19
16
  /**
20
- * 父视图参数
21
- * @author lxm
22
- * @date 2023-10-27 04:08:59
17
+ * @description 父视图参数
23
18
  * @protected
24
19
  * @type {IParams}
20
+ * @memberof IBizParams
25
21
  */
26
22
  protected _parent?: IParams;
23
+ /**
24
+ * Creates an instance of IBizParams.
25
+ * @param {IParams} [params] 自身的参数
26
+ * @param {IParams} [parent] 父视图参数
27
+ * @memberof IBizParams
28
+ */
27
29
  constructor(params?: IParams, parent?: IParams);
28
30
  /**
29
- * 创建代理
30
- *
31
- * @author lxm
32
- * @date 2023-10-27 03:53:14
31
+ * @description 创建代理对象
33
32
  * @protected
34
- * @return {*} {IBizParams}
33
+ * @returns {*} {IBizParams}
34
+ * @memberof IBizParams
35
35
  */
36
36
  protected createProxy(): IBizParams;
37
37
  /**
38
- * 在不改变对象引用的情况下,重置视图参数
39
- * 等效于重新实例化,但是引用不变
40
- * @author lxm
41
- * @date 2023-10-27 05:24:45
42
- * @param {IParams} [params]
43
- * @param {IParams} [parent]
38
+ * @description 在不改变对象引用的情况下,重置视图参数,等效于重新实例化,但是引用不变
39
+ * @param {IParams} [params] 视图参数
40
+ * @param {IParams} [parent] 父视图参数
41
+ * @memberof IBizParams
44
42
  */
45
43
  reset(params?: IParams, parent?: IParams): void;
46
44
  /**
47
- * 销毁上下文,避免内存泄漏
48
- *
49
- * @author lxm
50
- * @date 2023-10-27 03:57:44
45
+ * @description 销毁视图参数,避免内存泄漏
46
+ * @memberof IBizParams
51
47
  */
52
48
  destroy(): void;
53
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../src/params/params.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AACH,qBAAa,UAAW,YAAW,OAAO;IAExC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;IAE5B;;;;;;OAMG;IACH,UAAkB,OAAO,EAAE,OAAO,CAAC;IAEnC;;;;;;OAMG;IACH,UAAkB,OAAO,CAAC,EAAE,OAAO,CAAC;gBAExB,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO;IAoB9C;;;;;;;OAOG;IACH,SAAS,CAAC,WAAW,IAAI,UAAU;IAmDnC;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;IAK/C;;;;;OAKG;IACH,OAAO,IAAI,IAAI;CAIhB"}
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../src/params/params.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,qBAAa,UAAW,YAAW,OAAO;IAExC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;IAE5B;;;;;OAKG;IACH,UAAkB,OAAO,EAAE,OAAO,CAAC;IAEnC;;;;;OAKG;IACH,UAAkB,OAAO,CAAC,EAAE,OAAO,CAAC;IAEpC;;;;;OAKG;gBACS,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO;IAoB9C;;;;;OAKG;IACH,SAAS,CAAC,WAAW,IAAI,UAAU;IAmDnC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;IAK/C;;;OAGG;IACH,OAAO,IAAI,IAAI;CAIhB"}
@@ -1,13 +1,17 @@
1
1
  /* eslint-disable no-constructor-return */
2
2
  /**
3
- * 视图参数类
4
- * @author lxm
5
- * @date 2023-10-27 03:39:12
3
+ * @description 视图参数处理类
6
4
  * @export
7
5
  * @class IBizParams
8
6
  * @implements {IParams}
9
7
  */
10
8
  export class IBizParams {
9
+ /**
10
+ * Creates an instance of IBizParams.
11
+ * @param {IParams} [params] 自身的参数
12
+ * @param {IParams} [parent] 父视图参数
13
+ * @memberof IBizParams
14
+ */
11
15
  constructor(params, parent) {
12
16
  // 定义私有变量,存放父视图参数源对象
13
17
  Object.defineProperty(this, '_parent', {
@@ -26,12 +30,10 @@ export class IBizParams {
26
30
  return this.createProxy();
27
31
  }
28
32
  /**
29
- * 创建代理
30
- *
31
- * @author lxm
32
- * @date 2023-10-27 03:53:14
33
+ * @description 创建代理对象
33
34
  * @protected
34
- * @return {*} {IBizParams}
35
+ * @returns {*} {IBizParams}
36
+ * @memberof IBizParams
35
37
  */
36
38
  createProxy() {
37
39
  // 更新属性,缺的补充定义
@@ -82,22 +84,18 @@ export class IBizParams {
82
84
  });
83
85
  }
84
86
  /**
85
- * 在不改变对象引用的情况下,重置视图参数
86
- * 等效于重新实例化,但是引用不变
87
- * @author lxm
88
- * @date 2023-10-27 05:24:45
89
- * @param {IParams} [params]
90
- * @param {IParams} [parent]
87
+ * @description 在不改变对象引用的情况下,重置视图参数,等效于重新实例化,但是引用不变
88
+ * @param {IParams} [params] 视图参数
89
+ * @param {IParams} [parent] 父视图参数
90
+ * @memberof IBizParams
91
91
  */
92
92
  reset(params, parent) {
93
93
  this._params = params || {};
94
94
  this._parent = parent;
95
95
  }
96
96
  /**
97
- * 销毁上下文,避免内存泄漏
98
- *
99
- * @author lxm
100
- * @date 2023-10-27 03:57:44
97
+ * @description 销毁视图参数,避免内存泄漏
98
+ * @memberof IBizParams
101
99
  */
102
100
  destroy() {
103
101
  this._params = {};