@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
package/dist/index.esm.js CHANGED
@@ -358,22 +358,19 @@ function throttle(fn, wait) {
358
358
  var CommandsRegistry = class {
359
359
  constructor() {
360
360
  /**
361
- * 已经注册的所有指令
362
- *
363
- * @author chitanda
364
- * @date 2022-07-21 15:07:47
361
+ * @description 已经注册的所有指令
365
362
  * @private
363
+ * @memberof CommandsRegistry
366
364
  */
367
365
  this.commands = /* @__PURE__ */ new Map();
368
366
  }
369
367
  /**
370
- * 注册指令
371
- *
372
- * @author chitanda
373
- * @date 2022-06-27 13:06:31
374
- * @param {(string | ICommand)} idOrCommand
375
- * @param {ICommandHandler} [handler]
376
- * @return {*} {IDisposable}
368
+ * @description 注册指令
369
+ * @param {(string | ICommand)} idOrCommand 指令id或者指令对象
370
+ * @param {ICommandHandler} [handler] 指令处理器
371
+ * @param {ICommandOption} [opts] 指令配置参数
372
+ * @returns {*} {IDisposable} 返回一个可销毁对象,用于取消注册该指令
373
+ * @memberof CommandsRegistry
377
374
  */
378
375
  registerCommand(idOrCommand, handler, opts) {
379
376
  if (!idOrCommand) {
@@ -402,23 +399,19 @@ var CommandsRegistry = class {
402
399
  return ret;
403
400
  }
404
401
  /**
405
- * 指令是否已经注册
406
- *
407
- * @author chitanda
408
- * @date 2022-07-21 15:07:58
402
+ * @description 指令是否已经注册
409
403
  * @param {string} id
410
- * @return {*} {boolean}
404
+ * @returns {*} {boolean}
405
+ * @memberof CommandsRegistry
411
406
  */
412
407
  hasCommand(id) {
413
408
  return this.commands.has(id);
414
409
  }
415
410
  /**
416
- * 查找指令
417
- *
418
- * @author chitanda
419
- * @date 2022-07-21 16:07:12
411
+ * @description 查找指令
420
412
  * @param {string} id
421
- * @return {*} {(ICommand | undefined)}
413
+ * @returns {*} {(ICommand | undefined)}
414
+ * @memberof CommandsRegistry
422
415
  */
423
416
  getCommand(id) {
424
417
  const list = this.commands.get(id);
@@ -428,11 +421,9 @@ var CommandsRegistry = class {
428
421
  return list[Symbol.iterator]().next().value;
429
422
  }
430
423
  /**
431
- * 获取所有指令
432
- *
433
- * @author chitanda
434
- * @date 2022-07-21 16:07:20
435
- * @return {*} {ICommandsMap}
424
+ * @description 获取所有指令
425
+ * @returns {*} {ICommandsMap}
426
+ * @memberof CommandsRegistry
436
427
  */
437
428
  getCommands() {
438
429
  const result = /* @__PURE__ */ new Map();
@@ -446,12 +437,10 @@ var CommandsRegistry = class {
446
437
  return result;
447
438
  }
448
439
  /**
449
- * 获取指令配置参数
450
- *
451
- * @author chitanda
452
- * @date 2022-07-21 16:07:27
440
+ * @description 获取指令配置参数
453
441
  * @param {string} id
454
- * @return {*} {(ICommandOption | undefined)}
442
+ * @returns {*} {(ICommandOption | undefined)}
443
+ * @memberof CommandsRegistry
455
444
  */
456
445
  getCommandOpt(id) {
457
446
  const cmd = this.getCommand(id);
@@ -462,30 +451,31 @@ var CommandsRegistry = class {
462
451
  // src/command/command.ts
463
452
  var CommandController = class {
464
453
  constructor() {
454
+ /**
455
+ * @description 指令注册器
456
+ * @private
457
+ * @memberof CommandController
458
+ */
465
459
  this.commandRegister = new CommandsRegistry();
466
460
  }
467
461
  /**
468
- * 注册指令
469
- *
470
- * @author chitanda
471
- * @date 2022-06-28 19:06:45
472
- * @param {string} id
473
- * @param {ICommandHandler} handler
474
- * @param {ICommandOption} [opts]
475
- * @return {*} {IDisposable}
462
+ * @description 注册指令
463
+ * @param {string} id 指令id
464
+ * @param {ICommandHandler} handler 指令处理回调
465
+ * @param {ICommandOption} [opts] 指令参数
466
+ * @returns {*} {IDisposable} 指令释放对象
467
+ * @memberof CommandController
476
468
  */
477
469
  register(id, handler, opts) {
478
470
  return this.commandRegister.registerCommand(id, handler, opts);
479
471
  }
480
472
  /**
481
- * 执行指令
482
- *
483
- * @author chitanda
484
- * @date 2022-06-28 19:06:38
473
+ * @description 执行指令
485
474
  * @template T
486
- * @param {string} id
487
- * @param {...unknown[]} args
488
- * @return {*} {Promise<T>}
475
+ * @param {string} id 指令id
476
+ * @param {...unknown[]} args 指令参数
477
+ * @returns {*} {Promise<T>} 指令返回值
478
+ * @memberof CommandController
489
479
  */
490
480
  async execute(id, ...args) {
491
481
  const command = this.commandRegister.getCommand(id);
@@ -495,13 +485,11 @@ var CommandController = class {
495
485
  throw new Error(ibiz.i18n.t("core.command.unregisteredCommand", { id }));
496
486
  }
497
487
  /**
498
- * 判断指令是否存在,可直接抛出异常
499
- *
500
- * @author chitanda
501
- * @date 2022-06-28 19:06:11
502
- * @param {string} id
503
- * @param {boolean} [err]
504
- * @return {*} {boolean}
488
+ * @description 判断指令是否存在,没有则直接抛出异常
489
+ * @param {string} id 指令id
490
+ * @param {boolean} [err] 是否抛出异常
491
+ * @returns {*} {boolean} 是否存在
492
+ * @memberof CommandController
505
493
  */
506
494
  hasCommand(id, err) {
507
495
  const bol = !!this.commandRegister.hasCommand(id);
@@ -511,12 +499,10 @@ var CommandController = class {
511
499
  return bol;
512
500
  }
513
501
  /**
514
- * 获取指令配置参数
515
- *
516
- * @author chitanda
517
- * @date 2022-07-21 17:07:11
518
- * @param {string} id
519
- * @return {*} {(ICommandOption | undefined)}
502
+ * @description 获取指令参数
503
+ * @param {string} id 指令id
504
+ * @returns {*} {(ICommandOption | undefined)} 指令参数
505
+ * @memberof CommandController
520
506
  */
521
507
  getCommandOpts(id) {
522
508
  return this.commandRegister.getCommandOpt(id);
@@ -530,53 +516,46 @@ var commands = new CommandController();
530
516
  var CoreConst = class {
531
517
  };
532
518
  /**
533
- * 默认模型服务标识
534
- *
535
- * @author chitanda
536
- * @date 2024-01-18 16:01:25
519
+ * @description 默认模型服务标识
537
520
  * @static
521
+ * @memberof CoreConst
538
522
  */
539
523
  CoreConst.DEFAULT_MODEL_SERVICE_TAG = "default";
540
524
  /**
541
- * 访问令牌标识
542
- *
543
- * @author chitanda
544
- * @date 2022-07-20 15:07:28
525
+ * @description 访问令牌标识
545
526
  * @static
527
+ * @memberof CoreConst
546
528
  */
547
529
  CoreConst.TOKEN = "ibzuaa-token";
548
530
  /**
549
- * 刷新令牌标识
550
- *
551
- * @author chitanda
552
- * @date 2024-01-18 16:01:54
531
+ * @description 刷新令牌标识
553
532
  * @static
533
+ * @memberof CoreConst
554
534
  */
555
535
  CoreConst.REFRESH_TOKEN = "ibzuaa-refresh-token";
556
536
  /**
557
- * 访问令牌标识过期时间
558
- *
559
- * @author lxm
560
- * @date 2023-02-13 07:11:33
537
+ * @description 访问令牌标识过期时间
561
538
  * @static
562
539
  * @memberof CoreConst
563
540
  */
564
541
  CoreConst.TOKEN_EXPIRES = "ibzuaa-token-expires";
565
542
  /**
566
- * 认证信息是走记住我模式的 cookie 标识
567
- *
568
- * @author chitanda
569
- * @date 2023-12-13 15:12:28
543
+ * @description 认证信息是走记住我模式的 cookie 标识
570
544
  * @static
545
+ * @memberof CoreConst
571
546
  */
572
547
  CoreConst.TOKEN_REMEMBER = "ibizuaa-token-remember";
573
548
  /**
574
- * 是否是匿名用户登录的 cookie 标识
575
- * @author lxm
576
- * @date 2024-01-03 05:35:40
549
+ * @description 是否是匿名用户登录的 cookie 标识
577
550
  * @static
551
+ * @memberof CoreConst
578
552
  */
579
553
  CoreConst.IS_ANONYMOUS = "ibizuaa-is-anonymous";
554
+ /**
555
+ * @description 存储访问相关数据键的集合名称
556
+ * @static
557
+ */
558
+ CoreConst.ACCESS_STORE_AREA_KEYS = "ibizuaa-access-store-area-keys";
580
559
 
581
560
  // src/constant/util/util.ts
582
561
  var NOOP = () => {
@@ -3530,35 +3509,15 @@ var HttpStatusMessageConst = {
3530
3509
  504: "\u7F51\u5173\u8D85\u65F6\u3002"
3531
3510
  };
3532
3511
 
3533
- // src/constant/login-mode/login-mode.ts
3534
- var LoginMode = /* @__PURE__ */ ((LoginMode2) => {
3535
- LoginMode2["DEFAULT"] = "DEFAULT";
3536
- LoginMode2["CUSTOM"] = "CUSTOM";
3537
- LoginMode2["CAS"] = "CAS";
3538
- LoginMode2["OAUTH"] = "OAUTH";
3539
- return LoginMode2;
3540
- })(LoginMode || {});
3541
-
3542
- // src/constant/menu-permission-mode/menu-permission-mode.ts
3543
- var MenuPermissionMode = /* @__PURE__ */ ((MenuPermissionMode2) => {
3544
- MenuPermissionMode2["MIXIN"] = "MIXIN";
3545
- MenuPermissionMode2["RESOURCE"] = "RESOURCE";
3546
- MenuPermissionMode2["RT"] = "RT";
3547
- return MenuPermissionMode2;
3548
- })(MenuPermissionMode || {});
3549
-
3550
3512
  // src/context/index.ts
3551
3513
  import { clone } from "ramda";
3552
3514
  var IBizContext = class _IBizContext {
3553
3515
  /**
3554
3516
  * Creates an instance of IBizContext.
3555
- *
3556
- * @author chitanda
3557
- * @date 2022-07-14 10:07:15
3558
3517
  * @param {IData} [context={}] 自身的上下文
3559
- * @param {IContext} [parent]
3518
+ * @param {IContext} [parent] 父的上下文源对象
3519
+ * @memberof IBizContext
3560
3520
  */
3561
- // eslint-disable-next-line default-param-last
3562
3521
  constructor(context = {}, parent) {
3563
3522
  Object.defineProperty(this, "_associationContext", {
3564
3523
  enumerable: false,
@@ -3570,6 +3529,12 @@ var IBizContext = class _IBizContext {
3570
3529
  }
3571
3530
  Object.assign(this, context);
3572
3531
  }
3532
+ /**
3533
+ * @description 初始化上下文,并关联父上下文
3534
+ * @private
3535
+ * @param {IContext} parent
3536
+ * @memberof IBizContext
3537
+ */
3573
3538
  initWithParent(parent) {
3574
3539
  const self = this;
3575
3540
  Object.defineProperty(this, "_parent", {
@@ -3612,11 +3577,9 @@ var IBizContext = class _IBizContext {
3612
3577
  Object.defineProperties(this, properties);
3613
3578
  }
3614
3579
  /**
3615
- * 返回自身的上下文,独有的和与父有差异的。
3616
- *
3617
- * @author lxm
3618
- * @date 2022-12-08 17:12:26
3580
+ * @description 返回自身独有的上下文,和父有差异的
3619
3581
  * @returns {*} {IData}
3582
+ * @memberof IBizContext
3620
3583
  */
3621
3584
  getOwnContext() {
3622
3585
  const result = {};
@@ -3628,10 +3591,8 @@ var IBizContext = class _IBizContext {
3628
3591
  return result;
3629
3592
  }
3630
3593
  /**
3631
- * 销毁当前上下文对象
3632
- *
3633
- * @author chitanda
3634
- * @date 2023-03-13 15:03:04
3594
+ * @description 销毁当前上下文对象
3595
+ * @memberof IBizContext
3635
3596
  */
3636
3597
  destroy() {
3637
3598
  this._parent = void 0;
@@ -3641,11 +3602,9 @@ var IBizContext = class _IBizContext {
3641
3602
  });
3642
3603
  }
3643
3604
  /**
3644
- * 在非视图中,需要断开视图上下文联系时。只能使用 clone 创建新的局部上下文
3645
- *
3646
- * @author chitanda
3647
- * @date 2023-03-13 16:03:13
3648
- * @return {*} {IBizContext}
3605
+ * @description 在非视图中,需要断开视图上下文联系时。只能使用 clone 创建新的局部上下文
3606
+ * @returns {*} {IBizContext}
3607
+ * @memberof IBizContext
3649
3608
  */
3650
3609
  clone() {
3651
3610
  const newContext = new _IBizContext(
@@ -3657,7 +3616,7 @@ var IBizContext = class _IBizContext {
3657
3616
  }
3658
3617
  /**
3659
3618
  * @description 深度克隆,只返回现有数据
3660
- * @return {*} {IData}
3619
+ * @returns {*} {IData}
3661
3620
  * @memberof IBizContext
3662
3621
  */
3663
3622
  deepClone() {
@@ -3668,14 +3627,11 @@ var IBizContext = class _IBizContext {
3668
3627
  return result;
3669
3628
  }
3670
3629
  /**
3671
- * 在不改变对象引用的情况下,重置上下文
3672
- * 等效于重新实例化,但是引用不变
3673
- * @author lxm
3674
- * @date 2023-05-24 10:30:40
3630
+ * @description 在不改变对象引用的情况下,重置上下文,等效于重新实例化,但是引用不变
3675
3631
  * @param {IData} [context={}]
3676
3632
  * @param {IContext} [parent]
3633
+ * @memberof IBizContext
3677
3634
  */
3678
- // eslint-disable-next-line default-param-last
3679
3635
  reset(context = {}, parent) {
3680
3636
  this._associationContext.forEach((item) => {
3681
3637
  item.destroy();
@@ -3696,14 +3652,12 @@ var IBizContext = class _IBizContext {
3696
3652
  Object.assign(this, context);
3697
3653
  }
3698
3654
  /**
3699
- * 上下文只有在视图初始化时,调用 create 方法
3700
- *
3701
- * @author chitanda
3702
- * @date 2023-03-13 16:03:32
3655
+ * @description 上下文只有在视图初始化时,调用 create 方法
3703
3656
  * @static
3704
3657
  * @param {IData} [context]
3705
3658
  * @param {IContext} [parent]
3706
- * @return {*} {IContext}
3659
+ * @returns {*} {IBizContext}
3660
+ * @memberof IBizContext
3707
3661
  */
3708
3662
  static create(context, parent) {
3709
3663
  return new _IBizContext(context, parent);
@@ -3712,6 +3666,12 @@ var IBizContext = class _IBizContext {
3712
3666
 
3713
3667
  // src/params/params.ts
3714
3668
  var IBizParams = class {
3669
+ /**
3670
+ * Creates an instance of IBizParams.
3671
+ * @param {IParams} [params] 自身的参数
3672
+ * @param {IParams} [parent] 父视图参数
3673
+ * @memberof IBizParams
3674
+ */
3715
3675
  constructor(params, parent) {
3716
3676
  Object.defineProperty(this, "_parent", {
3717
3677
  enumerable: false,
@@ -3728,12 +3688,10 @@ var IBizParams = class {
3728
3688
  return this.createProxy();
3729
3689
  }
3730
3690
  /**
3731
- * 创建代理
3732
- *
3733
- * @author lxm
3734
- * @date 2023-10-27 03:53:14
3691
+ * @description 创建代理对象
3735
3692
  * @protected
3736
- * @return {*} {IBizParams}
3693
+ * @returns {*} {IBizParams}
3694
+ * @memberof IBizParams
3737
3695
  */
3738
3696
  createProxy() {
3739
3697
  function updateKeyDefine2(target, keys) {
@@ -3781,22 +3739,18 @@ var IBizParams = class {
3781
3739
  });
3782
3740
  }
3783
3741
  /**
3784
- * 在不改变对象引用的情况下,重置视图参数
3785
- * 等效于重新实例化,但是引用不变
3786
- * @author lxm
3787
- * @date 2023-10-27 05:24:45
3788
- * @param {IParams} [params]
3789
- * @param {IParams} [parent]
3742
+ * @description 在不改变对象引用的情况下,重置视图参数,等效于重新实例化,但是引用不变
3743
+ * @param {IParams} [params] 视图参数
3744
+ * @param {IParams} [parent] 父视图参数
3745
+ * @memberof IBizParams
3790
3746
  */
3791
3747
  reset(params, parent) {
3792
3748
  this._params = params || {};
3793
3749
  this._parent = parent;
3794
3750
  }
3795
3751
  /**
3796
- * 销毁上下文,避免内存泄漏
3797
- *
3798
- * @author lxm
3799
- * @date 2023-10-27 03:57:44
3752
+ * @description 销毁视图参数,避免内存泄漏
3753
+ * @memberof IBizParams
3800
3754
  */
3801
3755
  destroy() {
3802
3756
  this._params = {};
@@ -3804,6 +3758,23 @@ var IBizParams = class {
3804
3758
  }
3805
3759
  };
3806
3760
 
3761
+ // src/interface/api/constant/login-mode/login-mode.ts
3762
+ var LoginMode = /* @__PURE__ */ ((LoginMode2) => {
3763
+ LoginMode2["DEFAULT"] = "DEFAULT";
3764
+ LoginMode2["CUSTOM"] = "CUSTOM";
3765
+ LoginMode2["CAS"] = "CAS";
3766
+ LoginMode2["OAUTH"] = "OAUTH";
3767
+ return LoginMode2;
3768
+ })(LoginMode || {});
3769
+
3770
+ // src/interface/api/constant/menu-permission-mode/menu-permission-mode.ts
3771
+ var MenuPermissionMode = /* @__PURE__ */ ((MenuPermissionMode2) => {
3772
+ MenuPermissionMode2["MIXIN"] = "MIXIN";
3773
+ MenuPermissionMode2["RESOURCE"] = "RESOURCE";
3774
+ MenuPermissionMode2["RT"] = "RT";
3775
+ return MenuPermissionMode2;
3776
+ })(MenuPermissionMode || {});
3777
+
3807
3778
  // src/environment/environment.ts
3808
3779
  var Environment = {
3809
3780
  dev: false,
@@ -3814,6 +3785,7 @@ var Environment = {
3814
3785
  anonymousUser: "",
3815
3786
  anonymousPwd: "",
3816
3787
  enableAnonymous: false,
3788
+ accessStoreArea: "COOKIE",
3817
3789
  logLevel: "ERROR",
3818
3790
  baseUrl: "/api",
3819
3791
  appId: "",
@@ -3848,6 +3820,7 @@ var Environment = {
3848
3820
  appLoadingTheme: "DEFAULT",
3849
3821
  environmentTag: "development",
3850
3822
  mobMenuShowMode: "DEFAULT",
3823
+ appVersion: "",
3851
3824
  devtoolConfig: {
3852
3825
  studioBaseUrl: "https://open.ibizlab.cn/modeldesign/#/",
3853
3826
  v9Mode: false
@@ -3894,11 +3867,9 @@ var HttpError = class extends Error {
3894
3867
  var ModelError = class extends Error {
3895
3868
  /**
3896
3869
  * Creates an instance of ModelError.
3897
- *
3898
- * @author chitanda
3899
- * @date 2022-08-30 16:08:38
3900
- * @param {IModelObject} model 模板未支持的模型
3901
- * @param {string} [msg]
3870
+ * @param {IData} model 模板未支持的模型
3871
+ * @param {string} [msg] 错误信息
3872
+ * @memberof ModelError
3902
3873
  */
3903
3874
  constructor(model, msg) {
3904
3875
  super(
@@ -3924,12 +3895,10 @@ var RuntimeError = class extends Error {
3924
3895
  // src/error/runtime-model-error/runtime-model-error.ts
3925
3896
  var RuntimeModelError = class extends Error {
3926
3897
  /**
3927
- * Creates an instance of DefectModelError.
3928
- *
3929
- * @author chitanda
3930
- * @date 2022-08-30 16:08:58
3931
- * @param {IModelObject} model 丢失配置的模型
3898
+ * Creates an instance of RuntimeModelError.
3899
+ * @param {IData} model 丢失配置的模型
3932
3900
  * @param {string} [msg] 缺失配置描述
3901
+ * @memberof RuntimeModelError
3933
3902
  */
3934
3903
  constructor(model, msg) {
3935
3904
  super(
@@ -3995,27 +3964,74 @@ import { debounce as debounce2 } from "lodash-es";
3995
3964
  import { isNotNil, isNil } from "ramda";
3996
3965
 
3997
3966
  // src/utils/cookie-util/cookie-util.ts
3967
+ function getAccessStoreAreakeys() {
3968
+ try {
3969
+ const key = CoreConst.ACCESS_STORE_AREA_KEYS;
3970
+ let cookieAlls;
3971
+ switch (ibiz.env.accessStoreArea) {
3972
+ case "LOCALSTORAGE":
3973
+ cookieAlls = localStorage.getItem(key);
3974
+ break;
3975
+ case "SESSIONSTORAGE":
3976
+ cookieAlls = sessionStorage.getItem(key);
3977
+ break;
3978
+ default:
3979
+ break;
3980
+ }
3981
+ return JSON.parse(cookieAlls || "[]");
3982
+ } catch (error) {
3983
+ ibiz.log.error(error);
3984
+ return [];
3985
+ }
3986
+ }
3987
+ function setAccessStoreAreakeys(name) {
3988
+ try {
3989
+ const cookieAlls = [
3990
+ ...new Set(getAccessStoreAreakeys().concat([name]))
3991
+ ];
3992
+ const key = CoreConst.ACCESS_STORE_AREA_KEYS;
3993
+ switch (ibiz.env.accessStoreArea) {
3994
+ case "LOCALSTORAGE":
3995
+ return localStorage.setItem(key, JSON.stringify(cookieAlls));
3996
+ case "SESSIONSTORAGE":
3997
+ return sessionStorage.setItem(key, JSON.stringify(cookieAlls));
3998
+ default:
3999
+ break;
4000
+ }
4001
+ } catch (error) {
4002
+ ibiz.log.error(error);
4003
+ }
4004
+ }
3998
4005
  function setCookie(name, value, day = 0, isDomain = false, path = "/", childDoMain = "") {
3999
4006
  let domain = "";
4000
- if (isDomain) {
4001
- const regExpr = /^(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)$/;
4002
- if (!regExpr.test(window.location.hostname)) {
4003
- const host = window.location.hostname;
4004
- if (host.indexOf(".") !== host.lastIndexOf(".")) {
4005
- domain = ";domain=".concat(host.substring(host.indexOf("."), host.length));
4007
+ setAccessStoreAreakeys(name);
4008
+ switch (ibiz.env.accessStoreArea) {
4009
+ case "LOCALSTORAGE":
4010
+ return localStorage.setItem(name, value);
4011
+ case "SESSIONSTORAGE":
4012
+ return sessionStorage.setItem(name, value);
4013
+ default:
4014
+ if (isDomain) {
4015
+ const regExpr = /^(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)$/;
4016
+ if (!regExpr.test(window.location.hostname)) {
4017
+ const host = window.location.hostname;
4018
+ if (host.indexOf(".") !== host.lastIndexOf(".")) {
4019
+ domain = ";domain=".concat(host.substring(host.indexOf("."), host.length));
4020
+ }
4021
+ }
4022
+ } else if (childDoMain) {
4023
+ domain = ";domain=".concat(childDoMain);
4006
4024
  }
4007
- }
4008
- } else if (childDoMain) {
4009
- domain = ";domain=".concat(childDoMain);
4010
- }
4011
- if (day !== 0) {
4012
- const expires = day * 24 * 60 * 60 * 1e3;
4013
- const date = new Date((/* @__PURE__ */ new Date()).getTime() + expires);
4014
- document.cookie = "".concat(name, "=").concat(escape(
4015
- value
4016
- ), ";path=").concat(path, ";expires=").concat(date.toUTCString()).concat(domain);
4017
- } else {
4018
- document.cookie = "".concat(name, "=").concat(escape(value), ";path=").concat(path).concat(domain);
4025
+ if (day !== 0) {
4026
+ const expires = day * 24 * 60 * 60 * 1e3;
4027
+ const date = new Date((/* @__PURE__ */ new Date()).getTime() + expires);
4028
+ document.cookie = "".concat(name, "=").concat(escape(
4029
+ value
4030
+ ), ";path=").concat(path, ";expires=").concat(date.toUTCString()).concat(domain);
4031
+ } else {
4032
+ document.cookie = "".concat(name, "=").concat(escape(value), ";path=").concat(path).concat(domain);
4033
+ }
4034
+ break;
4019
4035
  }
4020
4036
  }
4021
4037
  function setAppCookie(name, value, day = 0) {
@@ -4035,16 +4051,40 @@ function clearAppCookie(cookieName) {
4035
4051
  function getAppCookie(name) {
4036
4052
  const reg = new RegExp("(^| )".concat(name, "=([^;]*)(;|$)"));
4037
4053
  const arr = document.cookie.match(reg);
4038
- if (arr && arr.length > 1) {
4039
- return unescape(arr[2]);
4054
+ switch (ibiz.env.accessStoreArea) {
4055
+ case "LOCALSTORAGE":
4056
+ return localStorage.getItem(name);
4057
+ case "SESSIONSTORAGE":
4058
+ return sessionStorage.getItem(name);
4059
+ default:
4060
+ if (arr && arr.length > 1) {
4061
+ return unescape(arr[2]);
4062
+ }
4063
+ return null;
4040
4064
  }
4041
- return null;
4042
4065
  }
4043
4066
  function resetAppCookie() {
4044
4067
  const cookies = document.cookie.split(";");
4045
- for (const cookie of cookies) {
4046
- const [cookieName, cookieValue] = cookie.split("=");
4047
- document.cookie = "".concat(cookieName, "=").concat(cookieValue, ";expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;domain=").concat(window.location.host);
4068
+ const cookieAlls = getAccessStoreAreakeys().concat([
4069
+ CoreConst.ACCESS_STORE_AREA_KEYS
4070
+ ]);
4071
+ switch (ibiz.env.accessStoreArea) {
4072
+ case "LOCALSTORAGE":
4073
+ for (const name of cookieAlls) {
4074
+ localStorage.removeItem(name);
4075
+ }
4076
+ break;
4077
+ case "SESSIONSTORAGE":
4078
+ for (const name of cookieAlls) {
4079
+ sessionStorage.removeItem(name);
4080
+ }
4081
+ break;
4082
+ default:
4083
+ for (const cookie of cookies) {
4084
+ const [cookieName, cookieValue] = cookie.split("=");
4085
+ document.cookie = "".concat(cookieName, "=").concat(cookieValue, ";expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;domain=").concat(window.location.host);
4086
+ }
4087
+ break;
4048
4088
  }
4049
4089
  }
4050
4090
 
@@ -4261,57 +4301,49 @@ function getRandomInt(min = 0, max = 1e3) {
4261
4301
  // src/utils/interceptor/interceptor.ts
4262
4302
  var Interceptor = class {
4263
4303
  /**
4264
- * 请求之前处理
4265
- *
4266
- * @author lxm
4267
- * @date 2022-10-27 17:10:41
4304
+ * @description 请求之前处理
4268
4305
  * @protected
4269
4306
  * @param {InternalAxiosRequestConfig} config
4270
4307
  * @returns {*} {Promise<InternalAxiosRequestConfig>}
4308
+ * @memberof Interceptor
4271
4309
  */
4272
4310
  async onBeforeRequest(config) {
4273
4311
  return config;
4274
4312
  }
4275
4313
  /**
4276
- * 请求失败之后处理
4277
- *
4278
- * @author lxm
4279
- * @date 2022-10-27 17:10:40
4314
+ * @description 请求失败之后处理
4280
4315
  * @protected
4281
- * @param {*} error
4316
+ * @param {Error} error
4317
+ * @returns {*} {Promise<never>}
4318
+ * @memberof Interceptor
4282
4319
  */
4283
4320
  onRequestError(error) {
4284
4321
  return Promise.reject(error);
4285
4322
  }
4286
4323
  /**
4287
- * 响应成功之后处理
4288
- *
4289
- * @author lxm
4290
- * @date 2022-10-27 17:10:38
4324
+ * @description 响应成功之后处理
4291
4325
  * @protected
4292
4326
  * @param {AxiosResponse} config
4293
- * @returns {*} {Promise<AxiosRequestConfig>}
4327
+ * @returns {*} {Promise<AxiosResponse>}
4328
+ * @memberof Interceptor
4294
4329
  */
4295
4330
  async onResponseSuccess(config) {
4296
4331
  return config;
4297
4332
  }
4298
4333
  /**
4299
- * 响应失败之后处理
4300
- *
4301
- * @author lxm
4302
- * @date 2022-10-27 17:10:37
4334
+ * @description 响应失败之后处理
4303
4335
  * @protected
4304
- * @param {*} _error
4336
+ * @param {Error} error
4337
+ * @returns {*} {Promise<never>}
4338
+ * @memberof Interceptor
4305
4339
  */
4306
4340
  onResponseError(error) {
4307
4341
  return Promise.reject(error);
4308
4342
  }
4309
4343
  /**
4310
- * 使用拦截器
4311
- *
4312
- * @author lxm
4313
- * @date 2022-10-27 17:10:28
4344
+ * @description 使用拦截器
4314
4345
  * @param {AxiosInstance} instance
4346
+ * @memberof Interceptor
4315
4347
  */
4316
4348
  use(instance) {
4317
4349
  this.instance = instance;
@@ -4329,11 +4361,9 @@ var Interceptor = class {
4329
4361
  );
4330
4362
  }
4331
4363
  /**
4332
- * 移出拦截器
4333
- *
4334
- * @author lxm
4335
- * @date 2022-10-27 17:10:27
4364
+ * @description 移出拦截器
4336
4365
  * @param {AxiosInstance} instance
4366
+ * @memberof Interceptor
4337
4367
  */
4338
4368
  eject(instance) {
4339
4369
  if (this.requestTag) {
@@ -4347,6 +4377,13 @@ var Interceptor = class {
4347
4377
 
4348
4378
  // src/utils/interceptor/core-interceptor.ts
4349
4379
  var CoreInterceptor = class extends Interceptor {
4380
+ /**
4381
+ * @description 请求之前处理
4382
+ * @protected
4383
+ * @param {InternalAxiosRequestConfig} config
4384
+ * @returns {*} {Promise<InternalAxiosRequestConfig>}
4385
+ * @memberof CoreInterceptor
4386
+ */
4350
4387
  async onBeforeRequest(config) {
4351
4388
  config = await super.onBeforeRequest(config);
4352
4389
  const { headers } = config;
@@ -4371,13 +4408,11 @@ var CoreInterceptor = class extends Interceptor {
4371
4408
  return config;
4372
4409
  }
4373
4410
  /**
4374
- * 响应失败之后处理
4375
- *
4376
- * @author tony001
4377
- * @date 2025-03-24 14:03:23
4411
+ * @description 响应失败之后处理
4378
4412
  * @protected
4379
4413
  * @param {Error} error
4380
- * @return {*} {Promise<never>}
4414
+ * @returns {*} {Promise<never>}
4415
+ * @memberof CoreInterceptor
4381
4416
  */
4382
4417
  async onResponseError(error) {
4383
4418
  const { config, response } = error;
@@ -4421,24 +4456,25 @@ var CoreInterceptor = class extends Interceptor {
4421
4456
  // src/utils/message-center/base/message-base.ts
4422
4457
  import { QXEvent } from "qx-util";
4423
4458
  var MessageBase = class {
4459
+ /**
4460
+ * Creates an instance of MessageBase.
4461
+ * @param {MessageBase} [parent]
4462
+ * @memberof MessageBase
4463
+ */
4424
4464
  constructor(parent) {
4425
4465
  this.parent = parent;
4426
4466
  /**
4427
- * 事件
4428
- *
4429
- * @author chitanda
4430
- * @date 2023-09-05 16:09:58
4467
+ * @description 事件对象
4431
4468
  * @protected
4432
- * @type {QXEvent<MessageCenterEvent>}
4469
+ * @type {QXEvent<IMessageCenterEvent>}
4470
+ * @memberof MessageBase
4433
4471
  */
4434
4472
  this.evt = new QXEvent(1e3);
4435
4473
  }
4436
4474
  /**
4437
- * 推送标准结构消息
4438
- *
4439
- * @author chitanda
4440
- * @date 2023-09-05 16:09:40
4475
+ * @description 推送标准结构消息
4441
4476
  * @param {IPortalMessage} msg
4477
+ * @memberof MessageBase
4442
4478
  */
4443
4479
  next(msg) {
4444
4480
  this.evt.emit("all", msg);
@@ -4447,12 +4483,10 @@ var MessageBase = class {
4447
4483
  }
4448
4484
  }
4449
4485
  /**
4450
- * 私有方法,专门向父级推送消息
4451
- *
4452
- * @author chitanda
4453
- * @date 2023-09-05 17:09:08
4486
+ * @description 向父级推送消息(私有方法)
4454
4487
  * @protected
4455
4488
  * @param {IPortalMessage} msg
4489
+ * @memberof MessageBase
4456
4490
  */
4457
4491
  nextParent(msg) {
4458
4492
  if (this.parent) {
@@ -4461,21 +4495,17 @@ var MessageBase = class {
4461
4495
  }
4462
4496
  }
4463
4497
  /**
4464
- * 订阅消息
4465
- *
4466
- * @author chitanda
4467
- * @date 2023-09-05 15:09:21
4468
- * @param {(msg: IPortalMessage) => void} evt
4498
+ * @description 订阅消息
4499
+ * @param {(msg: IPortalMessage) => void} cb
4500
+ * @memberof MessageBase
4469
4501
  */
4470
4502
  on(cb) {
4471
4503
  this.evt.on("all", cb);
4472
4504
  }
4473
4505
  /**
4474
- * 取消订阅
4475
- *
4476
- * @author chitanda
4477
- * @date 2023-09-05 15:09:50
4506
+ * @description 取消订阅消息
4478
4507
  * @param {(msg: IPortalMessage) => void} cb
4508
+ * @memberof MessageBase
4479
4509
  */
4480
4510
  off(cb) {
4481
4511
  this.evt.off("all", cb);
@@ -4493,14 +4523,11 @@ import { createUUID as createUUID2 } from "qx-util";
4493
4523
  import { createUUID } from "qx-util";
4494
4524
  var CommandBase = class extends MessageBase {
4495
4525
  /**
4496
- * 发送指令消息
4497
- *
4498
- * @author tony001
4499
- * @date 2024-03-26 20:03:38
4500
- * @protected
4501
- * @param {IData} data 数据
4502
- * @param {IPortalMessage['subtype']} subtype 子类型 数据更新 | 数据删除 | 数据创建
4503
- * @param {string} [triggerKey] 触发源
4526
+ * @description 发送指令消息
4527
+ * @param {IData} data
4528
+ * @param {IPortalMessage['subtype']} subtype
4529
+ * @param {string} [triggerKey]
4530
+ * @memberof CommandBase
4504
4531
  */
4505
4532
  sendCommand(data, subtype, triggerKey) {
4506
4533
  const msg = {
@@ -4518,12 +4545,10 @@ var CommandBase = class extends MessageBase {
4518
4545
  // src/utils/message-center/command/create/command-create.ts
4519
4546
  var CommandCreate = class extends CommandBase {
4520
4547
  /**
4521
- * 发送新建数据
4522
- *
4523
- * @author tony001
4524
- * @date 2024-03-26 20:03:30
4525
- * @param {IAppDataEntity} data 实体数据
4526
- * @param {IMsgMetaData} meta 元数据
4548
+ * @description 发送消息
4549
+ * @param {IAppDataEntity} data
4550
+ * @param {IMsgMetaData} [meta]
4551
+ * @memberof CommandCreate
4527
4552
  */
4528
4553
  send(data, meta) {
4529
4554
  this.sendCommand(data, "OBJECTCREATED", meta == null ? void 0 : meta.triggerKey);
@@ -4533,12 +4558,10 @@ var CommandCreate = class extends CommandBase {
4533
4558
  // src/utils/message-center/command/update/command-update.ts
4534
4559
  var CommandUpdate = class extends CommandBase {
4535
4560
  /**
4536
- * 发送更新的数据
4537
- *
4538
- * @author tony001
4539
- * @date 2024-03-26 20:03:28
4561
+ * @description 发送消息
4540
4562
  * @param {IAppDataEntity} data 实体数据
4541
- * @param {IMsgMetaData} meta 元数据
4563
+ * @param {IMsgMetaData} [meta] 元数据
4564
+ * @memberof CommandUpdate
4542
4565
  */
4543
4566
  send(data, meta) {
4544
4567
  this.sendCommand(data, "OBJECTUPDATED", meta == null ? void 0 : meta.triggerKey);
@@ -4548,12 +4571,10 @@ var CommandUpdate = class extends CommandBase {
4548
4571
  // src/utils/message-center/command/remove/command-remove.ts
4549
4572
  var CommandRemove = class extends CommandBase {
4550
4573
  /**
4551
- * 发送删除的数据
4552
- *
4553
- * @author tony001
4554
- * @date 2024-03-26 20:03:05
4574
+ * @description 发送消息
4555
4575
  * @param {IAppDataEntity} data 实体数据
4556
- * @param {IMsgMetaData} meta 元数据
4576
+ * @param {IMsgMetaData} [meta] 元数据
4577
+ * @memberof CommandRemove
4557
4578
  */
4558
4579
  send(data, meta) {
4559
4580
  this.sendCommand(data, "OBJECTREMOVED", meta == null ? void 0 : meta.triggerKey);
@@ -4567,11 +4588,9 @@ var CommandChange = class extends CommandBase {
4567
4588
  // src/utils/message-center/command/async-action/command-async-action.ts
4568
4589
  var CommandAsyncAction = class extends CommandBase {
4569
4590
  /**
4570
- * 发送 异步作业 指令消息
4571
- *
4572
- * @author chitanda
4573
- * @date 2023-10-23 17:10:46
4591
+ * @description 发送消息
4574
4592
  * @param {IPortalAsyncAction} data
4593
+ * @memberof CommandAsyncAction
4575
4594
  */
4576
4595
  send(data) {
4577
4596
  this.sendCommand(data, "ASYNCACTION");
@@ -4581,11 +4600,9 @@ var CommandAsyncAction = class extends CommandBase {
4581
4600
  // src/utils/message-center/command/internal-message/command-internal-message.ts
4582
4601
  var CommandInternalMessage = class extends CommandBase {
4583
4602
  /**
4584
- * 发送 站内信 指令消息
4585
- *
4586
- * @author chitanda
4587
- * @date 2023-10-23 17:10:46
4588
- * @param {IPortalInternalMessage} data
4603
+ * @description 发送消息
4604
+ * @param {IInternalMessage} data
4605
+ * @memberof CommandInternalMessage
4589
4606
  */
4590
4607
  send(data) {
4591
4608
  this.sendCommand(data, "INTERNALMESSAGE");
@@ -4595,11 +4612,9 @@ var CommandInternalMessage = class extends CommandBase {
4595
4612
  // src/utils/message-center/command/mark-open-data/command-mark-open-data.ts
4596
4613
  var CommandMarkOpenData = class extends CommandBase {
4597
4614
  /**
4598
- * 发送 站内信 指令消息
4599
- *
4600
- * @author lxm
4601
- * @date 2024-02-01 03:42:40
4615
+ * @description 发送消息
4602
4616
  * @param {IMarkOpenData} data
4617
+ * @memberof CommandMarkOpenData
4603
4618
  */
4604
4619
  send(data) {
4605
4620
  this.sendCommand(data, "MARKOPENDATA");
@@ -4609,8 +4624,7 @@ var CommandMarkOpenData = class extends CommandBase {
4609
4624
  // src/utils/message-center/command/add-in-changed/command-add-in-changed.ts
4610
4625
  var CommandAddInChanged = class extends CommandBase {
4611
4626
  /**
4612
- * 发送 添加变更 指令消息
4613
- *
4627
+ * @description 发送消息
4614
4628
  * @param {IAddInChanged} data
4615
4629
  * @memberof CommandAddInChanged
4616
4630
  */
@@ -4624,76 +4638,60 @@ var MessageCommand = class extends MessageBase {
4624
4638
  constructor() {
4625
4639
  super(...arguments);
4626
4640
  /**
4627
- * 数据变更指令消息
4628
- *
4629
- * @author chitanda
4630
- * @date 2023-09-05 17:09:15
4641
+ * @description 数据变更指令消息控制器
4631
4642
  * @type {CommandChange}
4643
+ * @memberof MessageCommand
4632
4644
  */
4633
4645
  this.change = new CommandChange();
4634
4646
  /**
4635
- * 新建消息
4636
- *
4637
- * @author chitanda
4638
- * @date 2023-09-05 17:09:55
4647
+ * @description 新建数据指令消息控制器
4639
4648
  * @type {CommandCreate}
4649
+ * @memberof MessageCommand
4640
4650
  */
4641
4651
  this.create = new CommandCreate(this);
4642
4652
  /**
4643
- * 更新消息
4644
- *
4645
- * @author chitanda
4646
- * @date 2023-09-05 17:09:01
4653
+ * @description 更新数据指令消息控制器
4647
4654
  * @type {CommandUpdate}
4655
+ * @memberof MessageCommand
4648
4656
  */
4649
4657
  this.update = new CommandUpdate(this);
4650
4658
  /**
4651
- * 删除消息
4652
- *
4653
- * @author chitanda
4654
- * @date 2023-09-05 17:09:05
4659
+ * @description 删除数据指令消息控制器
4655
4660
  * @type {CommandRemove}
4661
+ * @memberof MessageCommand
4656
4662
  */
4657
4663
  this.remove = new CommandRemove(this);
4658
4664
  /**
4659
- * 异步作业指令消息
4660
- *
4661
- * @author chitanda
4662
- * @date 2023-10-23 17:10:56
4665
+ * @description 异步指令消息控制器
4663
4666
  * @type {CommandAsyncAction}
4667
+ * @memberof MessageCommand
4664
4668
  */
4665
4669
  this.asyncAction = new CommandAsyncAction(this);
4666
4670
  /**
4667
- * 站内信 指令消息
4668
- *
4669
- * @author chitanda
4670
- * @date 2023-10-23 17:10:56
4671
+ * @description 站内信消息指令消息控制器
4671
4672
  * @type {CommandInternalMessage}
4673
+ * @memberof MessageCommand
4672
4674
  */
4673
4675
  this.internalMessage = new CommandInternalMessage(
4674
4676
  this
4675
4677
  );
4676
4678
  /**
4677
- * 标记数据指令消息
4678
- *
4679
+ * @description 协同指令消息控制器
4679
4680
  * @type {CommandMarkOpenData}
4680
4681
  * @memberof MessageCommand
4681
4682
  */
4682
4683
  this.markOpenData = new CommandMarkOpenData(this);
4683
4684
  /**
4684
- * 添加变更指令消息
4685
- *
4685
+ * @description 添加变更指令消息控制器
4686
4686
  * @type {CommandAddInChanged}
4687
4687
  * @memberof MessageCommand
4688
4688
  */
4689
4689
  this.addInChanged = new CommandAddInChanged(this);
4690
4690
  }
4691
4691
  /**
4692
- * 推送指令消息
4693
- *
4694
- * @author chitanda
4695
- * @date 2023-09-05 17:09:50
4692
+ * @description 推送指令消息
4696
4693
  * @param {IPortalMessage} msg
4694
+ * @memberof MessageCommand
4697
4695
  */
4698
4696
  next(msg) {
4699
4697
  switch (msg.subtype) {
@@ -4725,6 +4723,12 @@ var MessageCommand = class extends MessageBase {
4725
4723
  super.next(msg);
4726
4724
  }
4727
4725
  }
4726
+ /**
4727
+ * @description 发送消息给父级
4728
+ * @protected
4729
+ * @param {IPortalMessage} msg
4730
+ * @memberof MessageCommand
4731
+ */
4728
4732
  nextParent(msg) {
4729
4733
  switch (msg.subtype) {
4730
4734
  case "OBJECTCREATED":
@@ -4741,13 +4745,11 @@ var MessageCommand = class extends MessageBase {
4741
4745
  super.nextParent(msg);
4742
4746
  }
4743
4747
  /**
4744
- * 发送指令消息
4745
- *
4746
- * @author tony001
4747
- * @date 2024-03-26 20:03:53
4748
- * @param {IData} data 数据
4749
- * @param {IPortalMessage['subtype']} subtype 子类型
4750
- * @param {string} [triggerKey] 触发源
4748
+ * @description 发送指令消息
4749
+ * @param {IData} data
4750
+ * @param {IPortalMessage['subtype']} subtype
4751
+ * @param {string} [triggerKey]
4752
+ * @memberof MessageCommand
4751
4753
  */
4752
4754
  send(data, subtype, triggerKey) {
4753
4755
  const msg = {
@@ -4766,11 +4768,9 @@ var MessageCommand = class extends MessageBase {
4766
4768
  import { createUUID as createUUID3 } from "qx-util";
4767
4769
  var MessageConsole = class extends MessageBase {
4768
4770
  /**
4769
- * 发送日志消息
4770
- *
4771
- * @author chitanda
4772
- * @date 2023-09-05 16:09:25
4771
+ * @description 发送消息
4773
4772
  * @param {(IData | string)} data
4773
+ * @memberof MessageConsole
4774
4774
  */
4775
4775
  send(data) {
4776
4776
  const msg = {
@@ -4787,11 +4787,9 @@ var MessageConsole = class extends MessageBase {
4787
4787
  import { createUUID as createUUID4 } from "qx-util";
4788
4788
  var MessageError = class extends MessageBase {
4789
4789
  /**
4790
- * 发送错误消息
4791
- *
4792
- * @author tony001
4793
- * @date 2024-04-28 10:04:16
4790
+ * @description 发送消息
4794
4791
  * @param {(IData | string)} data
4792
+ * @memberof MessageError
4795
4793
  */
4796
4794
  send(data) {
4797
4795
  const msg = {
@@ -4808,44 +4806,35 @@ var MessageError = class extends MessageBase {
4808
4806
  var MessageCenter = class {
4809
4807
  constructor() {
4810
4808
  /**
4811
- * 所有消息
4812
- *
4813
- * @author chitanda
4814
- * @date 2023-09-05 16:09:12
4809
+ * @description 所有消息
4810
+ * @protected
4815
4811
  * @type {MessageAll}
4812
+ * @memberof MessageCenter
4816
4813
  */
4817
4814
  this.all = new MessageAll();
4818
4815
  /**
4819
- * 指令消息
4820
- *
4821
- * @author chitanda
4822
- * @date 2023-09-05 16:09:28
4816
+ * @description 指令消息
4823
4817
  * @type {MessageCommand}
4818
+ * @memberof MessageCenter
4824
4819
  */
4825
4820
  this.command = new MessageCommand(this.all);
4826
4821
  /**
4827
- * 日志消息
4828
- *
4829
- * @author chitanda
4830
- * @date 2023-09-05 16:09:48
4822
+ * @description 日志消息
4831
4823
  * @type {MessageConsole}
4824
+ * @memberof MessageCenter
4832
4825
  */
4833
4826
  this.console = new MessageConsole(this.all);
4834
4827
  /**
4835
- * 错误消息
4836
- *
4837
- * @author tony001
4838
- * @date 2024-04-28 10:04:25
4828
+ * @description 错误消息
4839
4829
  * @type {MessageError}
4830
+ * @memberof MessageCenter
4840
4831
  */
4841
4832
  this.error = new MessageError(this.all);
4842
4833
  }
4843
4834
  /**
4844
- * 发送消息
4845
- *
4846
- * @author chitanda
4847
- * @date 2023-09-05 15:09:49
4848
- * @param {IPortalMessage} msg
4835
+ * @description 发送消息
4836
+ * @param {IPortalMessage} msg 消息
4837
+ * @memberof MessageCenter
4849
4838
  */
4850
4839
  next(msg) {
4851
4840
  if (msg.type === "COMMAND") {
@@ -4857,21 +4846,17 @@ var MessageCenter = class {
4857
4846
  }
4858
4847
  }
4859
4848
  /**
4860
- * 订阅消息
4861
- *
4862
- * @author chitanda
4863
- * @date 2023-09-05 17:09:32
4849
+ * @description 订阅消息
4864
4850
  * @param {(msg: IPortalMessage) => void} callback
4851
+ * @memberof MessageCenter
4865
4852
  */
4866
4853
  on(callback) {
4867
4854
  this.all.on(callback);
4868
4855
  }
4869
4856
  /**
4870
- * 取消订阅
4871
- *
4872
- * @author chitanda
4873
- * @date 2023-09-05 17:09:38
4857
+ * @description 取消订阅
4874
4858
  * @param {(msg: IPortalMessage) => void} callback
4859
+ * @memberof MessageCenter
4875
4860
  */
4876
4861
  off(callback) {
4877
4862
  this.all.off(callback);
@@ -4897,121 +4882,102 @@ function _bem(namespace, block, blockSuffix, element, modifier) {
4897
4882
  var Namespace = class {
4898
4883
  /**
4899
4884
  * Creates an instance of Namespace.
4900
- *
4901
- * @author chitanda
4902
- * @date 2022-09-06 12:09:12
4903
4885
  * @param {string} block 当前命名空间的根模块,例如组件的名称
4904
4886
  * @param {string} [namespace] 指定命名空间,未指定使用默认值 ibiz
4887
+ * @memberof Namespace
4905
4888
  */
4906
4889
  constructor(block, namespace) {
4907
4890
  this.block = block;
4908
4891
  this.namespace = namespace || defaultNamespace;
4909
4892
  }
4910
4893
  /**
4911
- * namespace-block
4912
- * namespace-block-blockSuffix
4913
- *
4914
- * @author chitanda
4915
- * @date 2022-09-06 12:09:08
4894
+ * @description namespace-block、namespace-block-blockSuffix
4916
4895
  * @param {string} [blockSuffix='']
4917
- * @return {*} {string}
4896
+ * @returns {*} {string}
4897
+ * @memberof Namespace
4918
4898
  */
4919
4899
  b(blockSuffix = "") {
4920
4900
  return _bem(this.namespace, this.block, blockSuffix, "", "");
4921
4901
  }
4922
4902
  /**
4923
- * namespace-block__element
4924
- *
4925
- * @author chitanda
4926
- * @date 2022-09-06 12:09:48
4903
+ * @description namespace-block__element
4927
4904
  * @param {string} [element]
4928
- * @return {*} {string}
4905
+ * @returns {*} {string}
4906
+ * @memberof Namespace
4929
4907
  */
4930
4908
  e(element) {
4931
4909
  return element ? _bem(this.namespace, this.block, "", element, "") : "";
4932
4910
  }
4933
4911
  /**
4934
- * namespace-block--modifier
4935
- *
4936
- * @author chitanda
4937
- * @date 2022-09-06 12:09:37
4912
+ * @description namespace-block--modifier
4938
4913
  * @param {string} [modifier]
4939
- * @return {*} {string}
4914
+ * @returns {*} {string}
4915
+ * @memberof Namespace
4940
4916
  */
4941
4917
  m(modifier) {
4942
4918
  return modifier ? _bem(this.namespace, this.block, "", "", modifier) : "";
4943
4919
  }
4944
4920
  /**
4945
- * namespace-block-blockSuffix__element
4946
- *
4947
- * @author chitanda
4948
- * @date 2022-09-06 12:09:52
4921
+ * @description namespace-block-blockSuffix__element
4949
4922
  * @param {string} [blockSuffix]
4950
4923
  * @param {string} [element]
4951
- * @return {*} {string}
4924
+ * @returns {*} {string}
4925
+ * @memberof Namespace
4952
4926
  */
4953
4927
  be(blockSuffix, element) {
4954
4928
  return blockSuffix && element ? _bem(this.namespace, this.block, blockSuffix, element, "") : "";
4955
4929
  }
4956
4930
  /**
4957
- * namespace-block__element--modifier
4958
- *
4959
- * @author chitanda
4960
- * @date 2022-09-06 12:09:19
4931
+ * @description namespace-block__element--modifier
4961
4932
  * @param {string} [element]
4962
4933
  * @param {string} [modifier]
4963
- * @return {*} {string}
4934
+ * @returns {*} {string}
4935
+ * @memberof Namespace
4964
4936
  */
4965
4937
  em(element, modifier) {
4966
4938
  return element && modifier ? _bem(this.namespace, this.block, "", element, modifier) : "";
4967
4939
  }
4968
4940
  /**
4969
- * namespace-block-blockSuffix--modifier
4970
- *
4971
- * @author chitanda
4972
- * @date 2022-09-06 12:09:59
4941
+ * @description namespace-block-blockSuffix--modifier
4973
4942
  * @param {string} [blockSuffix]
4974
4943
  * @param {string} [modifier]
4975
- * @return {*} {string}
4944
+ * @returns {*} {string}
4945
+ * @memberof Namespace
4976
4946
  */
4977
4947
  bm(blockSuffix, modifier) {
4978
4948
  return blockSuffix && modifier ? _bem(this.namespace, this.block, blockSuffix, "", modifier) : "";
4979
4949
  }
4980
4950
  /**
4981
- * namespace-block-blockSuffix__element--modifier
4982
- *
4983
- * @author chitanda
4984
- * @date 2022-09-06 12:09:37
4951
+ * @description namespace-block-blockSuffix__element--modifier
4985
4952
  * @param {string} [blockSuffix]
4986
4953
  * @param {string} [element]
4987
4954
  * @param {string} [modifier]
4988
- * @return {*} {string}
4955
+ * @returns {*} {string}
4956
+ * @memberof Namespace
4989
4957
  */
4990
4958
  bem(blockSuffix, element, modifier) {
4991
4959
  return blockSuffix && element && modifier ? _bem(this.namespace, this.block, blockSuffix, element, modifier) : "";
4992
4960
  }
4993
4961
  /**
4994
- * 返回状态 class
4995
- *
4996
- * is('loading', false) => '';
4997
- * is('loading', true) => 'is-loading';
4998
- *
4999
- * @author chitanda
5000
- * @date 2022-09-06 12:09:57
4962
+ * @description 返回状态类
5001
4963
  * @param {string} name
5002
4964
  * @param {boolean} [state]
5003
- * @return {*} {string}
4965
+ * @example
4966
+ * ```typescript
4967
+ * is('loading', false) => '';
4968
+ * is('loading', true) => 'is-loading';
4969
+ * ```
4970
+ * @returns {*} {string}
4971
+ * @memberof Namespace
5004
4972
  */
5005
4973
  is(name, state) {
5006
4974
  return name && state ? "".concat(statePrefix).concat(name) : "";
5007
4975
  }
5008
4976
  /**
5009
- * 生成使用到的 css 变量 style 对象
5010
- *
5011
- * @author chitanda
5012
- * @date 2022-09-06 15:09:41
4977
+ * @description 生成使用到的 css 变量 style 对象
5013
4978
  * @param {Record<string, string>} object
5014
- * @return {*} {Record<string, string>}
4979
+ * @returns {*} {Record<string, string>}
4980
+ * @memberof Namespace
5015
4981
  */
5016
4982
  cssVar(object) {
5017
4983
  const styles = {};
@@ -5023,12 +4989,10 @@ var Namespace = class {
5023
4989
  return styles;
5024
4990
  }
5025
4991
  /**
5026
- * 生成使用到的 css block 变量 style 对象
5027
- *
5028
- * @author chitanda
5029
- * @date 2022-09-06 15:09:03
4992
+ * @description 生成使用到的 css block 变量 style 对象
5030
4993
  * @param {Record<string, string>} object
5031
- * @return {*} {Record<string, string>}
4994
+ * @returns {*} {Record<string, string>}
4995
+ * @memberof Namespace
5032
4996
  */
5033
4997
  cssVarBlock(object) {
5034
4998
  const styles = {};
@@ -5040,23 +5004,19 @@ var Namespace = class {
5040
5004
  return styles;
5041
5005
  }
5042
5006
  /**
5043
- * 生成 css var 变量名称
5044
- *
5045
- * @author chitanda
5046
- * @date 2022-09-06 15:09:21
5007
+ * @description 生成 css var 变量名称
5047
5008
  * @param {string} name
5048
- * @return {*} {string}
5009
+ * @returns {*} {string}
5010
+ * @memberof Namespace
5049
5011
  */
5050
5012
  cssVarName(name) {
5051
5013
  return "--".concat(this.namespace, "-").concat(name);
5052
5014
  }
5053
5015
  /**
5054
- * 生成块 css var 变量名称
5055
- *
5056
- * @author chitanda
5057
- * @date 2022-09-06 15:09:35
5016
+ * @description 生成块 css var 变量名称
5058
5017
  * @param {string} name
5059
- * @return {*} {string}
5018
+ * @returns {*} {string}
5019
+ * @memberof Namespace
5060
5020
  */
5061
5021
  cssVarBlockName(name) {
5062
5022
  return "--".concat(this.namespace, "-").concat(this.block, "-").concat(name);
@@ -5068,19 +5028,15 @@ import axios from "axios";
5068
5028
  var HttpResponse = class {
5069
5029
  /**
5070
5030
  * Creates an instance of HttpResponse.
5071
- *
5072
- * @author chitanda
5073
- * @date 2022-08-18 15:08:11
5074
5031
  * @param {unknown} [data] 返回的数据
5075
5032
  * @param {number} [status] 状态码 (默认为 200)
5076
5033
  * @param {string} [statusText] 状态描述 (默认为空字符)
5034
+ * @memberof HttpResponse
5077
5035
  */
5078
5036
  constructor(data, status, statusText) {
5079
5037
  /**
5080
- * 本地仿造响应
5081
- *
5082
- * @author chitanda
5083
- * @date 2022-08-18 15:08:06
5038
+ * @description 本地仿造响应
5039
+ * @memberof HttpResponse
5084
5040
  */
5085
5041
  this.local = true;
5086
5042
  this.ok = false;
@@ -5106,35 +5062,26 @@ import { mergeDeepRight } from "ramda";
5106
5062
  var Net = class {
5107
5063
  /**
5108
5064
  * Creates an instance of Net.
5109
- * @author lxm
5110
- * @date 2022-10-27 16:10:05
5111
5065
  * @param {CreateAxiosDefaults} [config] 创建实例用的默认配置
5066
+ * @memberof Net
5112
5067
  */
5113
5068
  constructor(config) {
5114
5069
  /**
5115
- * 是否为 http || https 开头
5116
- *
5117
- * @author chitanda
5118
- * @date 2022-11-07 14:11:28
5070
+ * @description 是否为 http || https 开头
5119
5071
  * @protected
5072
+ * @memberof Net
5120
5073
  */
5121
5074
  this.urlReg = /^http[s]?:\/\/[^\s]*/;
5122
5075
  /**
5123
- * 请求等待队列,防止重复请求。当有完全相同请求参数的请求时,会等待上一个请求完成后把结果返回给当前请求,不会重复请求
5124
- * key: 由请求的 config 生成的字符串,用于唯一标识请求
5125
- * value: 当前正在请求的 Promise
5126
- *
5127
- * @author chitanda
5128
- * @date 2023-06-07 14:06:19
5076
+ * @description 请求等待队列,防止重复请求。当有完全相同请求参数的请求时,会等待上一个请求完成后把结果返回给当前请求,不会重复请求(key: 由请求的 config 生成的字符串,用于唯一标识请求,value: 当前正在请求的 Promise)
5129
5077
  * @protected
5078
+ * @memberof Net
5130
5079
  */
5131
5080
  this.waitRequest = /* @__PURE__ */ new Map();
5132
5081
  /**
5133
- * 注册的拦截器
5134
- *
5135
- * @author lxm
5136
- * @date 2022-10-27 17:10:18
5082
+ * @description 注册的拦截器
5137
5083
  * @type {Map<string, Interceptor>}
5084
+ * @memberof Net
5138
5085
  */
5139
5086
  this.interceptors = /* @__PURE__ */ new Map();
5140
5087
  this.instance = axios2.create(config);
@@ -5144,23 +5091,19 @@ var Net = class {
5144
5091
  return this.instance.defaults.baseURL || "".concat(ibiz.env.baseUrl, "/").concat(ibiz.env.appId);
5145
5092
  }
5146
5093
  /**
5147
- * 添加拦截器
5148
- *
5149
- * @author lxm
5150
- * @date 2022-10-27 17:10:42
5094
+ * @description 添加拦截器
5151
5095
  * @param {string} name 唯一标识
5152
5096
  * @param {Interceptor} interceptor 拦截器
5097
+ * @memberof Net
5153
5098
  */
5154
5099
  addInterceptor(name, interceptor) {
5155
5100
  interceptor.use(this.instance);
5156
5101
  this.interceptors.set(name, interceptor);
5157
5102
  }
5158
5103
  /**
5159
- * 删除拦截器
5160
- *
5161
- * @author lxm
5162
- * @date 2022-10-27 17:10:27
5104
+ * @description 删除拦截器
5163
5105
  * @param {string} name 唯一标识
5106
+ * @memberof Net
5164
5107
  */
5165
5108
  removeInterceptor(name) {
5166
5109
  const interceptor = this.interceptors.get(name);
@@ -5170,13 +5113,11 @@ var Net = class {
5170
5113
  }
5171
5114
  }
5172
5115
  /**
5173
- * 预置config,绑定动态的配置
5174
- *
5175
- * @author lxm
5176
- * @date 2022-10-27 16:10:48
5116
+ * @description 预置config,绑定动态的配置
5177
5117
  * @readonly
5178
5118
  * @protected
5179
5119
  * @type {AxiosRequestConfig}
5120
+ * @memberof Net
5180
5121
  */
5181
5122
  get presetConfig() {
5182
5123
  return {
@@ -5189,13 +5130,11 @@ var Net = class {
5189
5130
  };
5190
5131
  }
5191
5132
  /**
5192
- * 从左到右递归合并配置参数(内置第一个合并的预置参数)
5193
- *
5194
- * @author lxm
5195
- * @date 2022-10-27 16:10:09
5133
+ * @description 从左到右递归合并配置参数(内置第一个合并的预置参数)
5196
5134
  * @protected
5197
5135
  * @param {...AxiosRequestConfig[]} configs
5198
- * @returns {*}
5136
+ * @returns {*} {AxiosRequestConfig}
5137
+ * @memberof Net
5199
5138
  */
5200
5139
  mergeConfig(...configs) {
5201
5140
  const config = this.presetConfig;
@@ -5209,15 +5148,13 @@ var Net = class {
5209
5148
  return merge(config, ...configs);
5210
5149
  }
5211
5150
  /**
5212
- * Post 请求
5213
- *
5214
- * @author chitanda
5215
- * @date 2022-10-19 11:10:30
5151
+ * @description Post 请求
5216
5152
  * @param {string} url
5217
5153
  * @param {IData} data
5218
5154
  * @param {IParams} [params={}]
5219
5155
  * @param {RawAxiosRequestHeaders} [headers={}]
5220
- * @return {*} {Promise<IHttpResponse>}
5156
+ * @returns {*} {Promise<IHttpResponse>}
5157
+ * @memberof Net
5221
5158
  */
5222
5159
  async post(url, data, params = {}, headers = {}) {
5223
5160
  url = this.handleAppPresetParam(url, params, data);
@@ -5233,15 +5170,13 @@ var Net = class {
5233
5170
  }
5234
5171
  }
5235
5172
  /**
5236
- * Get 请求
5237
- *
5238
- * @author chitanda
5239
- * @date 2022-10-19 11:10:24
5173
+ * @description Get 请求
5240
5174
  * @param {string} url
5241
5175
  * @param {IParams} [params={}]
5242
5176
  * @param {RawAxiosRequestHeaders} [headers={}]
5243
- * @param {IParams} [option={}]
5244
- * @return {*} {Promise<IHttpResponse>}
5177
+ * @param {AxiosRequestConfig} [option={}]
5178
+ * @returns {*} {Promise<IHttpResponse>}
5179
+ * @memberof Net
5245
5180
  */
5246
5181
  async get(url, params = {}, headers = {}, option = {}) {
5247
5182
  url = this.attachUrlParam(url, params);
@@ -5256,14 +5191,12 @@ var Net = class {
5256
5191
  }
5257
5192
  }
5258
5193
  /**
5259
- * Delete 请求
5260
- *
5261
- * @author chitanda
5262
- * @date 2022-10-19 11:10:17
5194
+ * @description Delete 请求
5263
5195
  * @param {string} url
5264
- * @param {IParams} [params]
5196
+ * @param {IParams} [params={}]
5265
5197
  * @param {RawAxiosRequestHeaders} [headers={}]
5266
- * @return {*} {Promise<IHttpResponse>}
5198
+ * @returns {*} {Promise<IHttpResponse>}
5199
+ * @memberof Net
5267
5200
  */
5268
5201
  async delete(url, params = {}, headers = {}) {
5269
5202
  url = this.handleAppPresetParam(url, params);
@@ -5275,15 +5208,13 @@ var Net = class {
5275
5208
  }
5276
5209
  }
5277
5210
  /**
5278
- * Put 请求
5279
- *
5280
- * @author chitanda
5281
- * @date 2022-10-19 11:10:11
5211
+ * @description Put 请求
5282
5212
  * @param {string} url
5283
5213
  * @param {IData} data
5284
5214
  * @param {IParams} [params={}]
5285
5215
  * @param {RawAxiosRequestHeaders} [headers={}]
5286
- * @return {*} {Promise<IHttpResponse>}
5216
+ * @returns {*} {Promise<IHttpResponse>}
5217
+ * @memberof Net
5287
5218
  */
5288
5219
  async put(url, data, params = {}, headers = {}) {
5289
5220
  url = this.handleAppPresetParam(url, params);
@@ -5299,13 +5230,11 @@ var Net = class {
5299
5230
  }
5300
5231
  }
5301
5232
  /**
5302
- * 获取模型数据
5303
- *
5304
- * @author chitanda
5305
- * @date 2022-07-14 15:07:15
5233
+ * @description 获取模型数据
5306
5234
  * @param {string} url
5307
5235
  * @param {RawAxiosRequestHeaders} [headers={}]
5308
- * @return {*} {Promise<IHttpResponse>}
5236
+ * @returns {*} {Promise<IHttpResponse>}
5237
+ * @memberof Net
5309
5238
  */
5310
5239
  async getModel(url, headers = {}) {
5311
5240
  try {
@@ -5318,13 +5247,11 @@ var Net = class {
5318
5247
  }
5319
5248
  }
5320
5249
  /**
5321
- * 基础请求方法,会合并预置配置
5322
- *
5323
- * @author lxm
5324
- * @date 2022-10-27 14:10:06
5250
+ * @description 基础请求方法,会合并预置配置
5325
5251
  * @param {string} url
5326
5252
  * @param {AxiosRequestConfig} [config={}]
5327
5253
  * @returns {*} {Promise<IHttpResponse>}
5254
+ * @memberof Net
5328
5255
  */
5329
5256
  async request(url, config = {}) {
5330
5257
  const cfg = this.mergeConfig({ url }, config);
@@ -5350,25 +5277,21 @@ var Net = class {
5350
5277
  }
5351
5278
  }
5352
5279
  /**
5353
- * 创建标准 axios 请求
5354
- *
5355
- * @author chitanda
5356
- * @date 2023-01-30 15:01:27
5280
+ * @description 创建标准 axios 请求
5357
5281
  * @param {AxiosRequestConfig<IData>} config
5358
- * @return {*}
5282
+ * @returns {*} {Promise<AxiosResponse>}
5283
+ * @memberof Net
5359
5284
  */
5360
5285
  axios(config) {
5361
5286
  return axios2(config);
5362
5287
  }
5363
5288
  /**
5364
- * 触发 sse 请求
5365
- *
5366
- * @author chitanda
5367
- * @date 2023-10-10 16:10:08
5289
+ * @description 触发 sse 请求
5368
5290
  * @param {string} url
5369
5291
  * @param {IParams} params
5370
5292
  * @param {FetchEventSourceInit} [options={}]
5371
- * @return {*} {Promise<void>}
5293
+ * @returns {*} {Promise<void>}
5294
+ * @memberof Net
5372
5295
  */
5373
5296
  async sse(url, params, options = {}) {
5374
5297
  url = this.attachUrlParam(this.baseUrl + url, params);
@@ -5403,13 +5326,11 @@ var Net = class {
5403
5326
  await fetchEventSource(url, config);
5404
5327
  }
5405
5328
  /**
5406
- * 统一处理请求返回
5407
- *
5408
- * @author chitanda
5409
- * @date 2022-07-14 16:07:23
5329
+ * @description 统一处理请求返回
5410
5330
  * @private
5411
5331
  * @param {AxiosResponse} response
5412
- * @return {*} {IHttpResponse}
5332
+ * @returns {*} {IHttpResponse}
5333
+ * @memberof Net
5413
5334
  */
5414
5335
  doResponseResult(response) {
5415
5336
  const res = response;
@@ -5423,15 +5344,13 @@ var Net = class {
5423
5344
  return res;
5424
5345
  }
5425
5346
  /**
5426
- * 处理平台预定义参数
5427
- *
5428
- * @author tony001
5429
- * @date 2024-04-18 10:04:52
5347
+ * @description 处理平台预定义参数
5430
5348
  * @private
5431
5349
  * @param {string} url
5350
+ * @param {IParams} params
5432
5351
  * @param {IData} [data={}]
5433
- * @param {IParams} [params]
5434
- * @return {*} {string}
5352
+ * @returns {*} {string}
5353
+ * @memberof Net
5435
5354
  */
5436
5355
  handleAppPresetParam(url, params, data = {}) {
5437
5356
  if (data && Object.prototype.hasOwnProperty.call(data, "srfversionid")) {
@@ -5446,14 +5365,12 @@ var Net = class {
5446
5365
  return url;
5447
5366
  }
5448
5367
  /**
5449
- * url 附加请求参数,并处理路径的字符转换 encode
5450
- *
5451
- * @author chitanda
5452
- * @date 2022-07-14 15:07:34
5368
+ * @description url 附加请求参数,并处理路径的字符转换 encode
5453
5369
  * @private
5454
5370
  * @param {string} url
5455
5371
  * @param {IParams} params
5456
- * @return {*} {string}
5372
+ * @returns {*} {string}
5373
+ * @memberof Net
5457
5374
  */
5458
5375
  attachUrlParam(url, params) {
5459
5376
  if (params && Object.prototype.hasOwnProperty.call(params, "srfdefdata")) {
@@ -5484,8 +5401,6 @@ var Net = class {
5484
5401
  import { notNilEmpty as notNilEmpty2 } from "qx-util";
5485
5402
  var StringUtil = class {
5486
5403
  /**
5487
- * 填充字符串中的数据
5488
- *
5489
5404
  * @description 填充字符串中的数据 用法:传入需要替换的字符串和对象 返回值是string类型
5490
5405
  * @example
5491
5406
  * ```
@@ -5530,24 +5445,19 @@ var StringUtil = class {
5530
5445
  }
5531
5446
  };
5532
5447
  /**
5533
- * 上下文替换正则
5534
- *
5535
- * @author chitanda
5536
- * @date 2021-04-23 20:04:01
5448
+ * @description 上下文替换正则
5537
5449
  * @static
5450
+ * @memberof StringUtil
5538
5451
  */
5539
5452
  StringUtil.contextReg = /\$\{context.[a-zA-Z_$][a-zA-Z0-9_$]{1,}\}/g;
5540
5453
  /**
5541
- * 数据替换正则
5542
- *
5543
- * @author chitanda
5544
- * @date 2021-04-23 20:04:09
5454
+ * @description 数据替换正则
5545
5455
  * @static
5456
+ * @memberof StringUtil
5546
5457
  */
5547
5458
  StringUtil.dataReg = /\$\{data.[a-zA-Z_$][a-zA-Z0-9_$]{1,}\}/g;
5548
5459
  /**
5549
- * 参数替换正则
5550
- *
5460
+ * @description 参数替换正则
5551
5461
  * @static
5552
5462
  * @memberof StringUtil
5553
5463
  */
@@ -5556,51 +5466,43 @@ StringUtil.paramsReg = /\$\{params.[a-zA-Z_$][a-zA-Z0-9_$]{1,}\}/g;
5556
5466
  // src/utils/url-helper/url-helper.ts
5557
5467
  var UrlHelper = class {
5558
5468
  /**
5559
- * 路由路径前面的基础路径
5560
- * 如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123
5561
- * 返回:http://172.16.103.120:30061/portalwebapp/#
5562
- *
5563
- * @author lxm
5564
- * @date 2022-10-11 20:10:29
5565
- * @returns {*}
5469
+ * @description 路由路径前面的基础路径。如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123,返回:http://172.16.103.120:30061/portalwebapp/#
5470
+ * @readonly
5471
+ * @static
5472
+ * @type {string}
5473
+ * @memberof UrlHelper
5566
5474
  */
5567
5475
  static get routeBase() {
5568
5476
  const hashIndex = window.location.href.lastIndexOf("#/");
5569
5477
  return window.location.href.slice(0, hashIndex + 1);
5570
5478
  }
5571
5479
  /**
5572
- * 应用的的基础路径
5573
- * 如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123
5574
- * 返回:http://172.16.103.120:30061/portalwebapp
5575
- *
5576
- * @author lxm
5577
- * @date 2022-10-11 20:10:29
5578
- * @returns {*}
5480
+ * @description 应用的的基础路径。如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123,返回:http://172.16.103.120:30061/portalwebapp
5481
+ * @readonly
5482
+ * @static
5483
+ * @type {string}
5484
+ * @memberof UrlHelper
5579
5485
  */
5580
5486
  static get appBase() {
5581
5487
  const { origin, pathname } = window.location;
5582
5488
  return "".concat(origin).concat(pathname).replace(/\/$/, "");
5583
5489
  }
5584
5490
  /**
5585
- * #开始到末尾,即路由地址
5586
- * 如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123
5587
- * 返回:/index/appportalview?params=123
5588
- *
5589
- * @author lxm
5590
- * @date 2022-10-11 16:10:40
5591
- * @returns {*}
5491
+ * @description #开始到末尾,即路由地址。如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123,返回:/index/appportalview?params=123
5492
+ * @readonly
5493
+ * @static
5494
+ * @type {string}
5495
+ * @memberof UrlHelper
5592
5496
  */
5593
5497
  static get routePath() {
5594
5498
  return window.location.hash.replace("#", "");
5595
5499
  }
5596
5500
  /**
5597
- * 当前地址的全路径,包含域名和参数
5598
- * 如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123
5599
- *
5600
- * @author lxm
5601
- * @date 2022-10-11 21:10:39
5501
+ * @description 当前地址的全路径,包含域名和参数。如:http://172.16.103.120:30061/portalwebapp/#/index/appportalview?params=123
5602
5502
  * @readonly
5603
5503
  * @static
5504
+ * @type {string}
5505
+ * @memberof UrlHelper
5604
5506
  */
5605
5507
  static get fullPath() {
5606
5508
  return window.location.href;
@@ -5640,11 +5542,9 @@ var _HistoryItem = class _HistoryItem {
5640
5542
  this._next = _HistoryItem.Undefined;
5641
5543
  }
5642
5544
  /**
5643
- * 克隆整个历史链
5644
- *
5645
- * @author chitanda
5646
- * @date 2023-12-28 23:12:56
5647
- * @return {*} {HistoryItem<E>}
5545
+ * @description 克隆整个历史链
5546
+ * @returns {*} {HistoryItem<E>}
5547
+ * @memberof HistoryItem
5648
5548
  */
5649
5549
  clone() {
5650
5550
  throw new RuntimeError(ibiz.i18n.t("core.utils.unrealized"));
@@ -5658,24 +5558,26 @@ var HistoryItem = _HistoryItem;
5658
5558
  import { clone as clone2 } from "ramda";
5659
5559
  var HistoryList = class _HistoryList {
5660
5560
  /**
5661
- * 当前的数据
5662
- *
5663
- * @author chitanda
5664
- * @date 2023-12-28 18:12:27
5561
+ * @description 当前的数据
5562
+ * @readonly
5665
5563
  * @type {E}
5564
+ * @memberof HistoryList
5666
5565
  */
5667
5566
  get data() {
5668
5567
  return this._cur.data;
5669
5568
  }
5569
+ /**
5570
+ * Creates an instance of HistoryList.
5571
+ * @param {E} data
5572
+ * @memberof HistoryList
5573
+ */
5670
5574
  constructor(data) {
5671
5575
  this._cur = new HistoryItem(data);
5672
5576
  }
5673
5577
  /**
5674
- * 先创建一次历史记录,再赋值
5675
- *
5676
- * @author chitanda
5677
- * @date 2023-12-28 17:12:05
5578
+ * @description 先创建一次历史记录,再赋值
5678
5579
  * @param {IData} data
5580
+ * @memberof HistoryList
5679
5581
  */
5680
5582
  assign(data) {
5681
5583
  if (data) {
@@ -5684,10 +5586,8 @@ var HistoryList = class _HistoryList {
5684
5586
  }
5685
5587
  }
5686
5588
  /**
5687
- * 创建一次历史记录
5688
- *
5689
- * @author chitanda
5690
- * @date 2023-12-28 20:12:13
5589
+ * @description 创建一次历史记录
5590
+ * @memberof HistoryList
5691
5591
  */
5692
5592
  save() {
5693
5593
  const oldCur = this._cur;
@@ -5700,11 +5600,9 @@ var HistoryList = class _HistoryList {
5700
5600
  this._cur = history;
5701
5601
  }
5702
5602
  /**
5703
- * 上一步
5704
- *
5705
- * @author chitanda
5706
- * @date 2023-12-28 16:12:28
5707
- * @return {*} {boolean}
5603
+ * @description 上一步
5604
+ * @returns {*} {boolean}
5605
+ * @memberof HistoryList
5708
5606
  */
5709
5607
  prev() {
5710
5608
  if (this._cur._prev && this._cur._prev !== HistoryItem.Undefined) {
@@ -5714,11 +5612,9 @@ var HistoryList = class _HistoryList {
5714
5612
  return false;
5715
5613
  }
5716
5614
  /**
5717
- * 下一步
5718
- *
5719
- * @author chitanda
5720
- * @date 2023-12-28 16:12:20
5721
- * @return {*} {boolean}
5615
+ * @description 下一步
5616
+ * @returns {*} {boolean}
5617
+ * @memberof HistoryList
5722
5618
  */
5723
5619
  next() {
5724
5620
  if (this._cur._next && this._cur._next !== HistoryItem.Undefined) {
@@ -5728,12 +5624,10 @@ var HistoryList = class _HistoryList {
5728
5624
  return false;
5729
5625
  }
5730
5626
  /**
5731
- * 清空引用,避免内存泄漏
5732
- *
5733
- * @author chitanda
5734
- * @date 2023-12-28 22:12:43
5627
+ * @description 清空引用,避免内存泄漏
5735
5628
  * @protected
5736
5629
  * @param {HistoryItem<E>} h
5630
+ * @memberof HistoryList
5737
5631
  */
5738
5632
  _clear(h) {
5739
5633
  if (h._prev && h._prev !== HistoryItem.Undefined) {
@@ -5749,12 +5643,10 @@ var HistoryList = class _HistoryList {
5749
5643
  h.data = {};
5750
5644
  }
5751
5645
  /**
5752
- * 禁止克隆,直接返回当前实例
5753
- *
5754
- * @author chitanda
5755
- * @date 2023-12-28 22:12:49
5756
- * @private
5757
- * @return {*} {HistoryList<E>}
5646
+ * @description 禁止克隆,直接返回当前实例
5647
+ * @protected
5648
+ * @returns {*} {HistoryList<E>}
5649
+ * @memberof HistoryList
5758
5650
  */
5759
5651
  clone() {
5760
5652
  const history = new _HistoryList({});
@@ -5762,10 +5654,8 @@ var HistoryList = class _HistoryList {
5762
5654
  return this;
5763
5655
  }
5764
5656
  /**
5765
- * 销毁
5766
- *
5767
- * @author chitanda
5768
- * @date 2023-12-28 21:12:34
5657
+ * @description 销毁
5658
+ * @memberof HistoryList
5769
5659
  */
5770
5660
  destroy() {
5771
5661
  this._clear(this._cur);
@@ -6130,20 +6020,16 @@ var CountLatch = class {
6130
6020
  this.promise = null;
6131
6021
  this.resolve = null;
6132
6022
  /**
6133
- * 计数,当前等待的异步逻辑个数
6134
- *
6135
- * @author lxm
6136
- * @date 2022-11-24 19:11:59
6023
+ * @description 计数,当前等待的异步逻辑个数
6137
6024
  * @type {number}
6025
+ * @memberof CountLatch
6138
6026
  */
6139
6027
  this.count = 0;
6140
6028
  }
6141
6029
  /**
6142
- * 开启promise
6143
- *
6144
- * @author lxm
6145
- * @date 2022-11-24 19:11:32
6030
+ * @description 开启promise
6146
6031
  * @private
6032
+ * @memberof CountLatch
6147
6033
  */
6148
6034
  startPromise() {
6149
6035
  this.promise = new Promise((resolve) => {
@@ -6151,11 +6037,9 @@ var CountLatch = class {
6151
6037
  });
6152
6038
  }
6153
6039
  /**
6154
- * 结束promise
6155
- *
6156
- * @author lxm
6157
- * @date 2022-11-24 19:11:44
6040
+ * @description 结束promise
6158
6041
  * @private
6042
+ * @memberof CountLatch
6159
6043
  */
6160
6044
  endPromise() {
6161
6045
  if (this.resolve) {
@@ -6165,11 +6049,8 @@ var CountLatch = class {
6165
6049
  }
6166
6050
  }
6167
6051
  /**
6168
- * 上锁,计数加一
6169
- * 第一次计数,开启异步
6170
- *
6171
- * @author lxm
6172
- * @date 2022-11-24 19:11:27
6052
+ * @description 上锁,计数加一,第一次计数,开启异步
6053
+ * @memberof CountLatch
6173
6054
  */
6174
6055
  lock() {
6175
6056
  this.count += 1;
@@ -6178,11 +6059,8 @@ var CountLatch = class {
6178
6059
  }
6179
6060
  }
6180
6061
  /**
6181
- * 解锁,计数减一
6182
- * 归零时结束异步
6183
- *
6184
- * @author lxm
6185
- * @date 2022-11-24 19:11:47
6062
+ * @description 解锁,计数减一,归零时结束异步
6063
+ * @memberof CountLatch
6186
6064
  */
6187
6065
  unlock() {
6188
6066
  if (this.count < 1) {
@@ -6194,10 +6072,9 @@ var CountLatch = class {
6194
6072
  }
6195
6073
  }
6196
6074
  /**
6197
- * 等待,计数归零异步结束
6198
- *
6199
- * @author lxm
6200
- * @date 2022-11-24 19:11:20
6075
+ * @description 等待,计数归零异步结束
6076
+ * @returns {*} {Promise<void>}
6077
+ * @memberof CountLatch
6201
6078
  */
6202
6079
  async await() {
6203
6080
  if (this.promise) {
@@ -6286,12 +6163,11 @@ function findRecursiveChild(parent, key, opts) {
6286
6163
  // src/utils/data-type/data-types.ts
6287
6164
  var DataTypes = class {
6288
6165
  /**
6289
- * 是否是数值类型
6290
- * @author lxm
6291
- * @date 2023-08-25 04:53:30
6166
+ * @description 是否是数值类型
6292
6167
  * @static
6293
- * @param {number} dataType 数据类型(数值)
6294
- * @return {*} {boolean}
6168
+ * @param {number} dataType
6169
+ * @returns {*} {boolean}
6170
+ * @memberof DataTypes
6295
6171
  */
6296
6172
  static isNumber(dataType) {
6297
6173
  const numberTypes = [
@@ -6311,11 +6187,10 @@ var DataTypes = class {
6311
6187
  return numberTypes.includes(this.toString(dataType));
6312
6188
  }
6313
6189
  /**
6314
- * 是否是日期类型数据
6315
- *
6190
+ * @description 是否是日期类型数据
6316
6191
  * @static
6317
6192
  * @param {number} dataType
6318
- * @return {*}
6193
+ * @returns {*} {boolean}
6319
6194
  * @memberof DataTypes
6320
6195
  */
6321
6196
  static isDate(dataType) {
@@ -6323,23 +6198,21 @@ var DataTypes = class {
6323
6198
  return dateTypes.includes(this.toString(dataType));
6324
6199
  }
6325
6200
  /**
6326
- * 获取字符串数据类型
6327
- * @author lxm
6328
- * @date 2023-08-25 04:53:58
6201
+ * @description 获取字符串数据类型
6329
6202
  * @static
6330
- * @param {number} dataType 数据类型(数值)
6331
- * @return {*} {string}
6203
+ * @param {number} dataType
6204
+ * @returns {*} {string}
6205
+ * @memberof DataTypes
6332
6206
  */
6333
6207
  static toString(dataType) {
6334
6208
  return this.typeMap[dataType];
6335
6209
  }
6336
6210
  };
6337
6211
  /**
6338
- * 数字类型映射字符串类型
6339
- * @author lxm
6340
- * @date 2023-08-25 04:49:52
6212
+ * @description 数字类型映射字符串类型
6341
6213
  * @static
6342
6214
  * @type {{ [p: number]: string }}
6215
+ * @memberof DataTypes
6343
6216
  */
6344
6217
  DataTypes.typeMap = {
6345
6218
  0: "UNKNOWN",
@@ -6515,52 +6388,40 @@ prefix.apply(logger);
6515
6388
  var IBizSys = class {
6516
6389
  constructor() {
6517
6390
  /**
6518
- * 环境变量
6519
- *
6520
- * @author chitanda
6521
- * @date 2022-07-19 18:07:04
6391
+ * @description 环境变量
6392
+ * @memberof IBizSys
6522
6393
  */
6523
6394
  this.env = Environment;
6524
6395
  /**
6525
- * 日志输出工具类
6526
- *
6527
- * @author chitanda
6528
- * @date 2023-07-10 18:07:05
6396
+ * @description 日志输出工具类
6529
6397
  * @type {Logger}
6398
+ * @memberof IBizSys
6530
6399
  */
6531
6400
  this.log = logger;
6532
6401
  /**
6533
- * 网络请求工具类(发送默认请求)
6534
- *
6535
- * @author chitanda
6536
- * @date 2022-07-19 17:07:56
6402
+ * @description 网络请求工具类(发送默认请求)
6537
6403
  * @type {Net}
6404
+ * @memberof IBizSys
6538
6405
  */
6539
6406
  this.net = new Net();
6540
6407
  /**
6541
- * 指令集
6542
- *
6543
- * @author chitanda
6544
- * @date 2022-07-20 10:07:33
6545
- * @type {AuthService}
6408
+ * @description 指令工具类
6409
+ * @type {CommandController}
6410
+ * @memberof IBizSys
6546
6411
  */
6547
6412
  this.commands = new CommandController();
6548
6413
  /**
6549
- * 界面消息中心
6550
- *
6551
- * @author chitanda
6552
- * @date 2023-09-05 17:09:38
6414
+ * @description 消息中心
6553
6415
  * @type {MessageCenter}
6416
+ * @memberof IBizSys
6554
6417
  */
6555
6418
  this.mc = new MessageCenter();
6556
6419
  }
6557
6420
  /**
6558
- * 注册全局扩展,用于替换预置能力
6559
- *
6560
- * @author tony001
6561
- * @date 2025-01-24 15:01:33
6421
+ * @description 注册全局扩展,用于替换预置能力
6562
6422
  * @param {keyof IBizSys} key
6563
6423
  * @param {*} value
6424
+ * @memberof IBizSys
6564
6425
  */
6565
6426
  registerExtension(key, value) {
6566
6427
  const self = this;