@ibiz-template/runtime 0.7.11 → 0.7.12

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 (300) hide show
  1. package/dist/index.esm.js +1467 -415
  2. package/dist/index.system.min.js +1 -1
  3. package/out/app-hub.d.ts.map +1 -1
  4. package/out/app-hub.js +4 -4
  5. package/out/command/app/app-func/app-func.js +3 -3
  6. package/out/command/app/open-app-view/open-app-view.d.ts.map +1 -1
  7. package/out/command/app/open-app-view/open-app-view.js +6 -4
  8. package/out/constant/sys-uiaction-tag.d.ts +5 -1
  9. package/out/constant/sys-uiaction-tag.d.ts.map +1 -1
  10. package/out/constant/sys-uiaction-tag.js +4 -0
  11. package/out/controller/common/editor/code-list-editor.controller.js +1 -1
  12. package/out/controller/common/view/view.controller.d.ts +7 -0
  13. package/out/controller/common/view/view.controller.d.ts.map +1 -1
  14. package/out/controller/common/view/view.controller.js +18 -1
  15. package/out/controller/control/app-menu/app-menu.controller.js +1 -1
  16. package/out/controller/control/app-menu-icon-view/app-menu-icon-view.controller.js +1 -1
  17. package/out/controller/control/calendar/calendar.service.js +2 -2
  18. package/out/controller/control/chart/chart.controller.js +2 -2
  19. package/out/controller/control/chart/generator/bar-series-generator.js +2 -2
  20. package/out/controller/control/chart/generator/chart-options-generator.js +2 -2
  21. package/out/controller/control/chart/generator/line-series-generator.js +2 -2
  22. package/out/controller/control/chart/generator/scatter-series-generator.js +2 -2
  23. package/out/controller/control/dashboard/custom-dashboard.controller.d.ts +2 -2
  24. package/out/controller/control/dashboard/custom-dashboard.controller.d.ts.map +1 -1
  25. package/out/controller/control/data-view/data-view.controller.js +2 -2
  26. package/out/controller/control/exp-bar/tree-exp-bar.controller.js +1 -1
  27. package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-md.controller.js +1 -1
  28. package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.js +1 -1
  29. package/out/controller/control/gantt/gantt.controller.js +2 -2
  30. package/out/controller/control/gantt/gantt.service.js +1 -1
  31. package/out/controller/control/grid/grid/grid.controller.js +4 -4
  32. package/out/controller/control/grid/grid-column/grid-field-column/grid-field-column.controller.js +1 -1
  33. package/out/controller/control/kanban/kanban.controller.js +2 -2
  34. package/out/controller/control/md-ctrl/md-ctrl.controller.js +2 -2
  35. package/out/controller/control/report-panel/generator/generator-factory.js +1 -1
  36. package/out/controller/control/search-bar/search-bar-filter-items.controller.js +1 -1
  37. package/out/controller/control/toolbar/toolbar.controllerr.js +1 -1
  38. package/out/controller/control/tree/tree.controller.js +2 -2
  39. package/out/controller/control/tree/tree.service.js +1 -1
  40. package/out/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.js +2 -2
  41. package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +2 -2
  42. package/out/controller/utils/data-file-util/data-file-util.js +1 -1
  43. package/out/controller/utils/value-default/value-default.js +2 -2
  44. package/out/controller/utils/view-msg/view-msg-controller.d.ts.map +1 -1
  45. package/out/controller/utils/view-msg/view-msg-controller.js +2 -2
  46. package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.d.ts.map +1 -1
  47. package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.js +6 -3
  48. package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.d.ts.map +1 -1
  49. package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.js +10 -4
  50. package/out/de-logic/de-logic-node/append-param-node/append-param-node.d.ts.map +1 -1
  51. package/out/de-logic/de-logic-node/append-param-node/append-param-node.js +4 -2
  52. package/out/de-logic/de-logic-node/bind-param-node/bind-param-node.d.ts.map +1 -1
  53. package/out/de-logic/de-logic-node/bind-param-node/bind-param-node.js +5 -2
  54. package/out/de-logic/de-logic-node/copy-param-node/copy-param-node.d.ts.map +1 -1
  55. package/out/de-logic/de-logic-node/copy-param-node/copy-param-node.js +5 -2
  56. package/out/de-logic/de-logic-node/data-set-node/data-set-node.d.ts.map +1 -1
  57. package/out/de-logic/de-logic-node/data-set-node/data-set-node.js +6 -1
  58. package/out/de-logic/de-logic-node/de-action-node/de-action-node.d.ts.map +1 -1
  59. package/out/de-logic/de-logic-node/de-action-node/de-action-node.js +8 -3
  60. package/out/de-logic/de-logic-node/end-node/end-node.d.ts.map +1 -1
  61. package/out/de-logic/de-logic-node/end-node/end-node.js +7 -2
  62. package/out/de-logic/de-logic-node/prepare-param-node/prepare-param-node.d.ts.map +1 -1
  63. package/out/de-logic/de-logic-node/prepare-param-node/prepare-param-node.js +8 -2
  64. package/out/de-logic/de-logic-node/renew-param-node/renew-param-node.d.ts.map +1 -1
  65. package/out/de-logic/de-logic-node/renew-param-node/renew-param-node.js +5 -2
  66. package/out/de-logic/de-logic-node/reset-param-node/reset-param-node.d.ts.map +1 -1
  67. package/out/de-logic/de-logic-node/reset-param-node/reset-param-node.js +5 -2
  68. package/out/de-logic/de-logic-node/sort-param-node/sort-param-node.d.ts.map +1 -1
  69. package/out/de-logic/de-logic-node/sort-param-node/sort-param-node.js +7 -2
  70. package/out/de-logic/de-logic-node/start-node/start-node.d.ts.map +1 -1
  71. package/out/de-logic/de-logic-node/start-node/start-node.js +3 -1
  72. package/out/de-logic/de-logic-node/throw-exception-node/throw-exception-node.d.ts.map +1 -1
  73. package/out/de-logic/de-logic-node/throw-exception-node/throw-exception-node.js +5 -1
  74. package/out/de-logic/de-logic-param/de-logic-param.d.ts.map +1 -1
  75. package/out/de-logic/de-logic-param/de-logic-param.js +10 -10
  76. package/out/de-logic/de-logic.d.ts.map +1 -1
  77. package/out/de-logic/de-logic.js +6 -4
  78. package/out/de-logic/index.d.ts.map +1 -1
  79. package/out/de-logic/index.js +12 -3
  80. package/out/de-logic/utils/handle-src-val.d.ts.map +1 -1
  81. package/out/de-logic/utils/handle-src-val.js +7 -3
  82. package/out/engine/engine-factory.d.ts.map +1 -1
  83. package/out/engine/engine-factory.js +1 -1
  84. package/out/engine/md-view.engine.d.ts.map +1 -1
  85. package/out/engine/md-view.engine.js +3 -3
  86. package/out/engine/view-base.engine.d.ts +1 -0
  87. package/out/engine/view-base.engine.d.ts.map +1 -1
  88. package/out/engine/view-base.engine.js +42 -5
  89. package/out/global/global-util/global-util.d.ts +9 -1
  90. package/out/global/global-util/global-util.d.ts.map +1 -1
  91. package/out/global/global-util/global-util.js +11 -3
  92. package/out/hub/config/app-view-config-service.js +2 -2
  93. package/out/interface/controller/state/view/i-view.state.d.ts +7 -0
  94. package/out/interface/controller/state/view/i-view.state.d.ts.map +1 -1
  95. package/out/interface/service/service/i-auth.service.d.ts +1 -1
  96. package/out/interface/service/service/i-auth.service.d.ts.map +1 -1
  97. package/out/interface/util/i-short-cut/i-short-cut.d.ts +58 -0
  98. package/out/interface/util/i-short-cut/i-short-cut.d.ts.map +1 -0
  99. package/out/interface/util/i-short-cut/i-short-cut.js +1 -0
  100. package/out/interface/util/index.d.ts +1 -0
  101. package/out/interface/util/index.d.ts.map +1 -1
  102. package/out/logic-scheduler/executor/app-de-ui-logic-executor.d.ts.map +1 -1
  103. package/out/logic-scheduler/executor/app-de-ui-logic-executor.js +1 -1
  104. package/out/logic-scheduler/executor/app-ui-action-executor.js +1 -1
  105. package/out/logic-scheduler/executor/app-ui-logic-executor.d.ts.map +1 -1
  106. package/out/logic-scheduler/executor/app-ui-logic-executor.js +24 -16
  107. package/out/logic-scheduler/executor/logic-executor-factory.d.ts.map +1 -1
  108. package/out/logic-scheduler/executor/logic-executor-factory.js +3 -1
  109. package/out/logic-scheduler/executor/logic-executor.d.ts.map +1 -1
  110. package/out/logic-scheduler/executor/logic-executor.js +1 -1
  111. package/out/logic-scheduler/trigger/item-dyna-logic-trigger.js +1 -1
  112. package/out/logic-scheduler/trigger/logic-trigger-factory.d.ts.map +1 -1
  113. package/out/logic-scheduler/trigger/logic-trigger-factory.js +3 -1
  114. package/out/logic-scheduler/trigger/logic-trigger.d.ts.map +1 -1
  115. package/out/logic-scheduler/trigger/logic-trigger.js +3 -1
  116. package/out/logic-scheduler/trigger/timer-trigger.d.ts.map +1 -1
  117. package/out/logic-scheduler/trigger/timer-trigger.js +2 -2
  118. package/out/model/utils/util.d.ts.map +1 -1
  119. package/out/model/utils/util.js +3 -3
  120. package/out/model/view/view.d.ts.map +1 -1
  121. package/out/model/view/view.js +3 -1
  122. package/out/platform/provider/platform-provider-base.d.ts.map +1 -1
  123. package/out/platform/provider/platform-provider-base.js +4 -4
  124. package/out/register/helper/app-counter-register.d.ts.map +1 -1
  125. package/out/register/helper/app-counter-register.js +7 -3
  126. package/out/register/helper/app-menu-item-register.d.ts.map +1 -1
  127. package/out/register/helper/app-menu-item-register.js +3 -1
  128. package/out/register/helper/async-action-register.d.ts.map +1 -1
  129. package/out/register/helper/async-action-register.js +3 -1
  130. package/out/register/helper/common-register.d.ts.map +1 -1
  131. package/out/register/helper/common-register.js +3 -1
  132. package/out/register/helper/control-register.d.ts.map +1 -1
  133. package/out/register/helper/control-register.js +13 -4
  134. package/out/register/helper/de-method-register.d.ts.map +1 -1
  135. package/out/register/helper/de-method-register.js +6 -2
  136. package/out/register/helper/editor-register.d.ts.map +1 -1
  137. package/out/register/helper/editor-register.js +14 -4
  138. package/out/register/helper/form-detail-register.d.ts.map +1 -1
  139. package/out/register/helper/form-detail-register.js +9 -3
  140. package/out/register/helper/grid-column-register.d.ts.map +1 -1
  141. package/out/register/helper/grid-column-register.js +9 -3
  142. package/out/register/helper/internal-message-register.d.ts.map +1 -1
  143. package/out/register/helper/internal-message-register.js +3 -1
  144. package/out/register/helper/panel-item-register.d.ts.map +1 -1
  145. package/out/register/helper/panel-item-register.js +17 -5
  146. package/out/register/helper/portlet-register.d.ts.map +1 -1
  147. package/out/register/helper/portlet-register.js +6 -2
  148. package/out/register/helper/tree-grid-ex-column-register.d.ts.map +1 -1
  149. package/out/register/helper/tree-grid-ex-column-register.js +6 -2
  150. package/out/register/helper/ui-action-register.d.ts.map +1 -1
  151. package/out/register/helper/ui-action-register.js +6 -2
  152. package/out/register/helper/ui-logic-node-register.d.ts.map +1 -1
  153. package/out/register/helper/ui-logic-node-register.js +3 -1
  154. package/out/register/helper/view-register.d.ts.map +1 -1
  155. package/out/register/helper/view-register.js +7 -2
  156. package/out/service/app-data-entity/app-data-entity.d.ts.map +1 -1
  157. package/out/service/app-data-entity/app-data-entity.js +9 -3
  158. package/out/service/de-service-util.js +1 -1
  159. package/out/service/dto/method.dto.d.ts.map +1 -1
  160. package/out/service/dto/method.dto.js +4 -2
  161. package/out/service/service/auth/v7-auth.service.d.ts +1 -1
  162. package/out/service/service/auth/v7-auth.service.d.ts.map +1 -1
  163. package/out/service/service/auth/v7-auth.service.js +5 -5
  164. package/out/service/service/authority/authority.service.js +1 -1
  165. package/out/service/service/authority/de-authority.service.d.ts.map +1 -1
  166. package/out/service/service/authority/de-authority.service.js +13 -6
  167. package/out/service/service/code-list/code-list.service.d.ts.map +1 -1
  168. package/out/service/service/code-list/code-list.service.js +2 -2
  169. package/out/service/service/counter/counter.service.d.ts.map +1 -1
  170. package/out/service/service/counter/counter.service.js +1 -1
  171. package/out/service/service/entity/de.service.d.ts.map +1 -1
  172. package/out/service/service/entity/de.service.js +12 -4
  173. package/out/service/service/entity/method/de-action.d.ts.map +1 -1
  174. package/out/service/service/entity/method/de-action.js +10 -5
  175. package/out/service/service/entity/method/fetch.d.ts.map +1 -1
  176. package/out/service/service/entity/method/fetch.js +4 -2
  177. package/out/service/service/entity/method/method.d.ts.map +1 -1
  178. package/out/service/service/entity/method/method.js +3 -3
  179. package/out/service/service/util/util.service.d.ts.map +1 -1
  180. package/out/service/service/util/util.service.js +6 -3
  181. package/out/service/service/work-flow/work-flow.service.d.ts.map +1 -1
  182. package/out/service/service/work-flow/work-flow.service.js +1 -1
  183. package/out/service/utils/app-counter/app-counter.js +1 -1
  184. package/out/service/utils/app-counter/app-de-counter.d.ts.map +1 -1
  185. package/out/service/utils/app-counter/app-de-counter.js +1 -1
  186. package/out/service/utils/de-cache/de-cache.d.ts.map +1 -1
  187. package/out/service/utils/de-cache/de-cache.js +18 -6
  188. package/out/service/utils/de-dq-cond/ps-de-dq-cond-engine.d.ts.map +1 -1
  189. package/out/service/utils/de-dq-cond/ps-de-dq-cond-engine.js +3 -3
  190. package/out/service/utils/de-dq-cond/ps-model-group-cond-base.js +1 -1
  191. package/out/service/utils/de-dq-cond-util/de-dq-cond-util.d.ts.map +1 -1
  192. package/out/service/utils/de-dq-cond-util/de-dq-cond-util.js +3 -1
  193. package/out/service/utils/dynamic-code-list/dynamic-code-list.d.ts.map +1 -1
  194. package/out/service/utils/dynamic-code-list/dynamic-code-list.js +4 -4
  195. package/out/service/utils/service-exist-util/service-exist-util.d.ts.map +1 -1
  196. package/out/service/utils/service-exist-util/service-exist-util.js +2 -2
  197. package/out/service/vo/tree-node-data/tree-data-set-node-data.d.ts.map +1 -1
  198. package/out/service/vo/tree-node-data/tree-data-set-node-data.js +1 -1
  199. package/out/service/vo/ui-map-field.d.ts.map +1 -1
  200. package/out/service/vo/ui-map-field.js +3 -1
  201. package/out/ui-action/provider/backend-ui-action-provider.d.ts.map +1 -1
  202. package/out/ui-action/provider/backend-ui-action-provider.js +1 -1
  203. package/out/ui-action/provider/front-ui-action-provider.d.ts +1 -1
  204. package/out/ui-action/provider/front-ui-action-provider.d.ts.map +1 -1
  205. package/out/ui-action/provider/front-ui-action-provider.js +20 -13
  206. package/out/ui-action/provider/loginout-ui-action-provider.js +2 -2
  207. package/out/ui-action/provider/ui-action-provider-base.d.ts.map +1 -1
  208. package/out/ui-action/provider/ui-action-provider-base.js +7 -4
  209. package/out/ui-action/provider/wf-withdraw-ui-action-provider.js +2 -2
  210. package/out/ui-action/uiaction-util.d.ts.map +1 -1
  211. package/out/ui-action/uiaction-util.js +1 -1
  212. package/out/ui-logic/index.d.ts.map +1 -1
  213. package/out/ui-logic/index.js +12 -3
  214. package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.d.ts.map +1 -1
  215. package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.js +6 -3
  216. package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.d.ts.map +1 -1
  217. package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.js +10 -4
  218. package/out/ui-logic/ui-logic-link/ui-logic-link.d.ts.map +1 -1
  219. package/out/ui-logic/ui-logic-link/ui-logic-link.js +4 -4
  220. package/out/ui-logic/ui-logic-node/append-param-node/append-param-node.js +2 -2
  221. package/out/ui-logic/ui-logic-node/bind-param-node/bind-param-node.d.ts.map +1 -1
  222. package/out/ui-logic/ui-logic-node/bind-param-node/bind-param-node.js +5 -2
  223. package/out/ui-logic/ui-logic-node/copy-param-node/copy-param-node.d.ts.map +1 -1
  224. package/out/ui-logic/ui-logic-node/copy-param-node/copy-param-node.js +5 -2
  225. package/out/ui-logic/ui-logic-node/data-set-node/data-set-node.d.ts.map +1 -1
  226. package/out/ui-logic/ui-logic-node/data-set-node/data-set-node.js +7 -2
  227. package/out/ui-logic/ui-logic-node/de-action-node/de-action-node.d.ts.map +1 -1
  228. package/out/ui-logic/ui-logic-node/de-action-node/de-action-node.js +8 -3
  229. package/out/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.d.ts.map +1 -1
  230. package/out/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.js +7 -2
  231. package/out/ui-logic/ui-logic-node/debug-param-node/debug-param-node.d.ts.map +1 -1
  232. package/out/ui-logic/ui-logic-node/debug-param-node/debug-param-node.js +2 -2
  233. package/out/ui-logic/ui-logic-node/end-node/end-node.d.ts.map +1 -1
  234. package/out/ui-logic/ui-logic-node/end-node/end-node.js +5 -2
  235. package/out/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.d.ts.map +1 -1
  236. package/out/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.js +10 -5
  237. package/out/ui-logic/ui-logic-node/msg-box-node/msg-box-node.d.ts.map +1 -1
  238. package/out/ui-logic/ui-logic-node/msg-box-node/msg-box-node.js +16 -10
  239. package/out/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.d.ts.map +1 -1
  240. package/out/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.js +4 -1
  241. package/out/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.d.ts.map +1 -1
  242. package/out/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.js +10 -4
  243. package/out/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.d.ts.map +1 -1
  244. package/out/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.js +3 -1
  245. package/out/ui-logic/ui-logic-node/renew-param-node/renew-param-node.d.ts.map +1 -1
  246. package/out/ui-logic/ui-logic-node/renew-param-node/renew-param-node.js +5 -2
  247. package/out/ui-logic/ui-logic-node/reset-param-node/reset-param-node.d.ts.map +1 -1
  248. package/out/ui-logic/ui-logic-node/reset-param-node/reset-param-node.js +5 -2
  249. package/out/ui-logic/ui-logic-node/sort-param-node/sort-param-node.d.ts.map +1 -1
  250. package/out/ui-logic/ui-logic-node/sort-param-node/sort-param-node.js +7 -2
  251. package/out/ui-logic/ui-logic-node/start-node/start-node.d.ts.map +1 -1
  252. package/out/ui-logic/ui-logic-node/start-node/start-node.js +3 -1
  253. package/out/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.d.ts.map +1 -1
  254. package/out/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.js +4 -1
  255. package/out/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.d.ts.map +1 -1
  256. package/out/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.js +12 -6
  257. package/out/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.d.ts.map +1 -1
  258. package/out/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.js +17 -7
  259. package/out/ui-logic/ui-logic-param/ui-logic-param.d.ts.map +1 -1
  260. package/out/ui-logic/ui-logic-param/ui-logic-param.js +10 -4
  261. package/out/ui-logic/ui-logic.d.ts.map +1 -1
  262. package/out/ui-logic/ui-logic.js +5 -3
  263. package/out/ui-logic/utils/handle-src-val.d.ts.map +1 -1
  264. package/out/ui-logic/utils/handle-src-val.js +6 -2
  265. package/out/utils/anime/anime-element-util.js +1 -1
  266. package/out/utils/anime/anime-util/anime-util.d.ts.map +1 -1
  267. package/out/utils/anime/anime-util/anime-util.js +2 -2
  268. package/out/utils/error-handler/default-error-handler.d.ts.map +1 -1
  269. package/out/utils/error-handler/default-error-handler.js +1 -1
  270. package/out/utils/error-handler/error-handler-center.d.ts.map +1 -1
  271. package/out/utils/error-handler/error-handler-center.js +1 -1
  272. package/out/utils/file-util/file-util.d.ts.map +1 -1
  273. package/out/utils/file-util/file-util.js +3 -3
  274. package/out/utils/handlebars/handlebars.js +1 -1
  275. package/out/utils/index.d.ts +1 -0
  276. package/out/utils/index.d.ts.map +1 -1
  277. package/out/utils/index.js +1 -0
  278. package/out/utils/modal/modal.d.ts.map +1 -1
  279. package/out/utils/modal/modal.js +2 -2
  280. package/out/utils/open-redirect-view/open-redirect-view.d.ts.map +1 -1
  281. package/out/utils/open-redirect-view/open-redirect-view.js +22 -9
  282. package/out/utils/script/script-function.d.ts.map +1 -1
  283. package/out/utils/script/script-function.js +1 -1
  284. package/out/utils/short-cut/index.d.ts +2 -0
  285. package/out/utils/short-cut/index.d.ts.map +1 -0
  286. package/out/utils/short-cut/index.js +1 -0
  287. package/out/utils/short-cut/short-cut-util.d.ts +89 -0
  288. package/out/utils/short-cut/short-cut-util.d.ts.map +1 -0
  289. package/out/utils/short-cut/short-cut-util.js +141 -0
  290. package/out/utils/ui-domain/transaction.js +2 -2
  291. package/out/utils/ui-domain-manager/ui-domain-manager.d.ts.map +1 -1
  292. package/out/utils/ui-domain-manager/ui-domain-manager.js +3 -1
  293. package/out/utils/verify/de-rule-verify.js +11 -11
  294. package/out/utils/verify/form-dynamic-logic.d.ts.map +1 -1
  295. package/out/utils/verify/form-dynamic-logic.js +4 -2
  296. package/out/utils/verify/panel-dynamic-logic.d.ts.map +1 -1
  297. package/out/utils/verify/panel-dynamic-logic.js +4 -2
  298. package/out/utils/verify/verify.d.ts.map +1 -1
  299. package/out/utils/verify/verify.js +3 -3
  300. package/package.json +1 -1
@@ -243,7 +243,7 @@ export class TreeGridExController extends TreeController {
243
243
  throw new RuntimeError(ibiz.i18n.t('runtime.controller.control.gantt.rowData'));
244
244
  }
245
245
  if (!rowState.modified) {
246
- ibiz.log.debug(ibiz.i18n.t('runtime.controller.control.gantt.notChange'));
246
+ ibiz.log.debug(ibiz.i18n.t('runtime.controller.control.gantt.noChange'));
247
247
  return;
248
248
  }
249
249
  // const isValid = await this.validate(rowState);
@@ -259,7 +259,7 @@ export class TreeGridExController extends TreeController {
259
259
  const { appDataEntityId, updateAppDEActionId } = nodeModel;
260
260
  const isCreate = nodeData._deData.srfuf === Srfuf.CREATE;
261
261
  if (isCreate) {
262
- throw new RuntimeError(ibiz.i18n.t('runtime.controller.control.treeGridEx.notSupportCreation'));
262
+ throw new RuntimeError(ibiz.i18n.t('runtime.controller.control.treeGridEx.noSupportCreation'));
263
263
  }
264
264
  if (!updateAppDEActionId) {
265
265
  throw new RuntimeModelError(nodeModel, ibiz.i18n.t('runtime.controller.control.treeGridEx.updateBehavior'));
@@ -149,7 +149,7 @@ export async function importData2(opts) {
149
149
  */
150
150
  export async function exportData(header, data, fileName) {
151
151
  if (!ibiz.util.getExcelUtil) {
152
- throw new RuntimeError(ibiz.i18n.t('runtime.controller.utils.dataFileUtil.notExist'));
152
+ throw new RuntimeError(ibiz.i18n.t('runtime.controller.utils.dataFileUtil.noExist'));
153
153
  }
154
154
  const exportExcel = await ibiz.util.getExcelUtil();
155
155
  if (!exportExcel) {
@@ -49,7 +49,7 @@ export function getDefaultValue(opts, origins) {
49
49
  case 'APPLICATION': // 系统全局对象
50
50
  // 取appData里的上下文
51
51
  if (!((_a = ibiz.appData) === null || _a === void 0 ? void 0 : _a.context)) {
52
- throw new RuntimeError(ibiz.i18n.t('runtime.controller.utils.valueDefault.notExist'));
52
+ throw new RuntimeError(ibiz.i18n.t('runtime.controller.utils.valueDefault.noExist'));
53
53
  }
54
54
  return ibiz.appData.context[defaultValue];
55
55
  // 网页请求用视图参数
@@ -60,7 +60,7 @@ export function getDefaultValue(opts, origins) {
60
60
  return createUUID();
61
61
  default:
62
62
  // 未支持类型
63
- throw new ModelError({}, ibiz.i18n.t('runtime.controller.utils.valueDefault.notsupported', {
63
+ throw new ModelError({}, ibiz.i18n.t('runtime.controller.utils.valueDefault.nosupported', {
64
64
  valueType,
65
65
  }));
66
66
  }
@@ -1 +1 @@
1
- {"version":3,"file":"view-msg-controller.d.ts","sourceRoot":"","sources":["../../../../src/controller/utils/view-msg/view-msg-controller.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKlD,aAAa;AACb,eAAO,MAAM,eAAe,aAAa,CAAC;AAE1C,qBAAa,iBAAiB;IAyB1B,SAAS,CAAC,UAAU,EAAE,MAAM;IAxB9B;;;;;OAKG;IACH,QAAQ,EAAG,gBAAgB,CAAC;IAE5B;;;;OAIG;IACH,UAAU,2BAAkC;IAE5C;;;;;OAKG;IACH,SAAS,CAAC,GAAG,SAAM;gBAGP,UAAU,EAAE,MAAM,EAC5B,GAAG,GAAE,MAAW;IAKlB;;;;;;OAMG;IACG,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAiC5C;;;;;;;;OAQG;IACH,cAAc,CACZ,aAAa,EAAE,cAAc,EAC7B,OAAO,CAAC,EAAE,MAAM,GACf,MAAM,GAAG,SAAS;IAOrB;;;;;;;;;OASG;WACU,YAAY,CACvB,QAAQ,EAAE,oBAAoB,EAC9B,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,KAAK,EAAE,CAAC;IAiBnB;;;;;;;OAOG;IACH,uBAAuB,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,GAAG,IAAI;IAO1D;;;;;;;OAOG;IACH,uBAAuB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAOjD;;;;;;;;;;OAUG;IACG,kBAAkB,CACtB,KAAK,EAAE,WAAW,EAClB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,OAAO,CAAC;IAyDnB;;;;;;;OAOG;IACG,gBAAgB,CACpB,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,YAAY,EAAE,CAAC;IAwC1B;;;;;;;OAOG;IACH,SAAS,CAAC,aAAa,CAAC,MAAM,EAAE,sBAAsB,GAAG,YAAY;IAyCrE;;;;;;;;;OASG;cACa,YAAY,CAC1B,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,YAAY,EAAE,CAAC;CAkF3B"}
1
+ {"version":3,"file":"view-msg-controller.d.ts","sourceRoot":"","sources":["../../../../src/controller/utils/view-msg/view-msg-controller.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKlD,aAAa;AACb,eAAO,MAAM,eAAe,aAAa,CAAC;AAE1C,qBAAa,iBAAiB;IAyB1B,SAAS,CAAC,UAAU,EAAE,MAAM;IAxB9B;;;;;OAKG;IACH,QAAQ,EAAG,gBAAgB,CAAC;IAE5B;;;;OAIG;IACH,UAAU,2BAAkC;IAE5C;;;;;OAKG;IACH,SAAS,CAAC,GAAG,SAAM;gBAGP,UAAU,EAAE,MAAM,EAC5B,GAAG,GAAE,MAAW;IAKlB;;;;;;OAMG;IACG,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAiC5C;;;;;;;;OAQG;IACH,cAAc,CACZ,aAAa,EAAE,cAAc,EAC7B,OAAO,CAAC,EAAE,MAAM,GACf,MAAM,GAAG,SAAS;IAOrB;;;;;;;;;OASG;WACU,YAAY,CACvB,QAAQ,EAAE,oBAAoB,EAC9B,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,KAAK,EAAE,CAAC;IAoBnB;;;;;;;OAOG;IACH,uBAAuB,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,GAAG,IAAI;IAO1D;;;;;;;OAOG;IACH,uBAAuB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAOjD;;;;;;;;;;OAUG;IACG,kBAAkB,CACtB,KAAK,EAAE,WAAW,EAClB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,OAAO,CAAC;IAyDnB;;;;;;;OAOG;IACG,gBAAgB,CACpB,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,YAAY,EAAE,CAAC;IAwC1B;;;;;;;OAOG;IACH,SAAS,CAAC,aAAa,CAAC,MAAM,EAAE,sBAAsB,GAAG,YAAY;IAyCrE;;;;;;;;;OASG;cACa,YAAY,CAC1B,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,YAAY,EAAE,CAAC;CAqF3B"}
@@ -83,7 +83,7 @@ export class ViewMsgController {
83
83
  static async fetchDataSet(msgModel, context, params) {
84
84
  const { appDataEntityId, appDEDataSetId } = msgModel;
85
85
  if (!appDEDataSetId) {
86
- throw new RuntimeModelError(msgModel, '未配置实体数据集');
86
+ throw new RuntimeModelError(msgModel, ibiz.i18n.t('runtime.controller.utils.viewMsg.unconfigured'));
87
87
  }
88
88
  // 查询数据
89
89
  const res = await ibiz.hub
@@ -251,7 +251,7 @@ export class ViewMsgController {
251
251
  const msgModel = this.viewMsgMap.get(detail.appViewMsgId);
252
252
  const { appDataEntityId, orderValueAppDEFieldId, titleAppDEFieldId, removeFlagAppDEFieldId, msgTypeAppDEFieldId, contentAppDEFieldId, msgPosAppDEFieldId, layoutPanel, } = msgModel;
253
253
  if (!appDataEntityId) {
254
- throw new RuntimeModelError(msgModel, '未配置应用实体');
254
+ throw new RuntimeModelError(msgModel, ibiz.i18n.t('runtime.controller.utils.viewMsg.unconfiguredEntities'));
255
255
  }
256
256
  const entity = await ibiz.hub.getAppDataEntity(appDataEntityId, context.srfappid);
257
257
  // 排序属性
@@ -1 +1 @@
1
- {"version":3,"file":"de-logic-link-group-cond.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EAEtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAE/F;;;;;;;;GAQG;AACH,qBAAa,oBAAqB,SAAQ,eAAe;IAqCpC,KAAK,EAAE,qBAAqB;IApC/C;;;;;;;;OAQG;IACH,SAAS,KAAK,EAAE,IAAI,KAAK,GAAG,IAAI,CAE/B;IAED;;;;;;;;OAQG;IACH,SAAS,KAAK,OAAO,IAAI,OAAO,CAE/B;IAED;;;;;;;OAOG;IACH,SAAS,CAAC,KAAK,EAAE,CAAC,qBAAqB,GAAG,oBAAoB,CAAC,EAAE,CAAC;gBAE/C,KAAK,EAAE,qBAAqB;IAU/C;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO;CA0BnE"}
1
+ {"version":3,"file":"de-logic-link-group-cond.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EAEtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAE/F;;;;;;;;GAQG;AACH,qBAAa,oBAAqB,SAAQ,eAAe;IAqCpC,KAAK,EAAE,qBAAqB;IApC/C;;;;;;;;OAQG;IACH,SAAS,KAAK,EAAE,IAAI,KAAK,GAAG,IAAI,CAE/B;IAED;;;;;;;;OAQG;IACH,SAAS,KAAK,OAAO,IAAI,OAAO,CAE/B;IAED;;;;;;;OAOG;IACH,SAAS,CAAC,KAAK,EAAE,CAAC,qBAAqB,GAAG,oBAAoB,CAAC,EAAE,CAAC;gBAE/C,KAAK,EAAE,qBAAqB;IAU/C;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO;CAgCnE"}
@@ -56,9 +56,9 @@ export class DELogicLinkGroupCond extends DELogicLinkCond {
56
56
  * @return {*} {boolean}
57
57
  */
58
58
  test(ctx, context, data) {
59
- let bol = true;
59
+ let bol = this.op !== 'OR';
60
60
  if (this.conds.length === 0) {
61
- throw new RuntimeModelError(this.model, `界面连接条件逻辑组未配置逻辑项`);
61
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicLink.connectionConditional'));
62
62
  }
63
63
  for (let i = 0; i < this.conds.length; i++) {
64
64
  const cond = this.conds[i];
@@ -75,7 +75,10 @@ export class DELogicLinkGroupCond extends DELogicLinkCond {
75
75
  }
76
76
  }
77
77
  const result = this.notMode ? !bol : bol;
78
- ibiz.log.debug(`实体逻辑连接条件组名称:${this.model.name}-条件组标识:${this.model.id}-运行结果:`, result);
78
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicLink.entityConnectionConditional', {
79
+ name: this.model.name,
80
+ id: this.model.id,
81
+ }), result);
79
82
  return result;
80
83
  }
81
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"de-logic-link-single-cond.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAE3E;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,SAAQ,eAAe;IA+CrC,KAAK,EAAE,sBAAsB;IA9ChD;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,EAAE,IAAI,MAAM,CAEf;IAED;;;;;OAKG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,SAAS,CAE7B;IAED;;;;;OAKG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;gBAEkB,KAAK,EAAE,sBAAsB;IAMhD;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO;CAiDnE"}
1
+ {"version":3,"file":"de-logic-link-single-cond.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAE3E;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,SAAQ,eAAe;IA+CrC,KAAK,EAAE,sBAAsB;IA9ChD;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,EAAE,IAAI,MAAM,CAEf;IAED;;;;;OAKG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,SAAS,CAE7B;IAED;;;;;OAKG;IACH,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;gBAEkB,KAAK,EAAE,sBAAsB;IAMhD;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO;CA4DnE"}
@@ -58,7 +58,7 @@ export class DELogicLinkSingleCond extends DELogicLinkCond {
58
58
  switch (this.type) {
59
59
  case 'ENTITYFIELD': {
60
60
  if (!this.value) {
61
- throw new RuntimeModelError(this.model, '当前条件值类型为[数据对象属性],缺少配置条件值');
61
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicLink.missingConditionValue'));
62
62
  }
63
63
  // 数据对象属性
64
64
  const value = data[this.value] != null ? data[this.value] : context[this.value];
@@ -68,7 +68,7 @@ export class DELogicLinkSingleCond extends DELogicLinkCond {
68
68
  }
69
69
  case 'SRCENTITYFIELD': {
70
70
  if (!this.value) {
71
- throw new RuntimeModelError(this.model, '当前条件值类型为[源数据对象属性],缺少配置条件值');
71
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicLink.sourceDataMissingConditionValue'));
72
72
  }
73
73
  // 源数据对象属性
74
74
  const src = ctx.params[this.srcParam];
@@ -77,12 +77,18 @@ export class DELogicLinkSingleCond extends DELogicLinkCond {
77
77
  break;
78
78
  }
79
79
  case 'CURTIME': // 当前时间
80
- throw new ModelError(this.model, `暂未支持条件值类型为[当前时间]`);
80
+ throw new ModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicLink.noSupportedTime'));
81
81
  default: // 直接使用目标对象参数属性和值做对比
82
82
  compareValue = this.value;
83
83
  result = testCond(dst[this.dstField], this.op, this.value);
84
84
  }
85
- ibiz.log.debug(`实体逻辑连接条件项:${this.model.name}-条件值类型:${this.type}-源属性名称:${this.dstField}-源对象值:`, dst[this.dstField], `-对比条件:${this.op}`, `-对比值`, compareValue, `-对比结果:`, result);
85
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicLink.entityLogicalConnection', {
86
+ name: this.model.name,
87
+ type: this.type,
88
+ dstField: this.dstField,
89
+ }), dst[this.dstField], ibiz.i18n.t('runtime.deLogic.deLogicLink.comparisonCondition', {
90
+ op: this.op,
91
+ }), ibiz.i18n.t('runtime.deLogic.deLogicLink.comparisonValue'), compareValue, ibiz.i18n.t('runtime.deLogic.deLogicLink.compareResults'), result);
86
92
  return result;
87
93
  }
88
94
  }
@@ -1 +1 @@
1
- {"version":3,"file":"append-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/append-param-node/append-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IACtC,KAAK,EAAE,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA+B/C"}
1
+ {"version":3,"file":"append-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/append-param-node/append-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IACtC,KAAK,EAAE,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAiC/C"}
@@ -14,13 +14,15 @@ export class AppendParamNode extends DELogicNode {
14
14
  async exec(ctx) {
15
15
  const { dstDELogicParamId, srcDELogicParamId, dstIndex, srcIndex, srcSize, } = this.model;
16
16
  if (!dstDELogicParamId || !srcDELogicParamId) {
17
- throw new RuntimeModelError(this.model, '缺少目标参数对象或者源参数对象配置');
17
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.missingTargetParameter'));
18
18
  }
19
19
  const srcVal = handleSrcVal(ctx, this.model);
20
20
  const insertIndex = dstIndex || 0;
21
21
  const _srcIndex = srcIndex || 0;
22
22
  const _srcSize = srcSize || srcVal.length;
23
23
  ctx.params[dstDELogicParamId].splice(insertIndex, 0, ...srcVal.slice(_srcIndex, _srcSize));
24
- ibiz.log.debug(`实体逻辑节点(附加到数组):${this.model.id}-附加参数:`, ctx.params, `-附加值:`, srcVal.slice(_srcIndex, _srcSize));
24
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.additionalParameter', {
25
+ id: this.model.id,
26
+ }), ctx.params, ibiz.i18n.t('runtime.deLogic.deLogicNode.addedValue'), srcVal.slice(_srcIndex, _srcSize));
25
27
  }
26
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bind-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/bind-param-node/bind-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAe/C"}
1
+ {"version":3,"file":"bind-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/bind-param-node/bind-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB/C"}
@@ -14,10 +14,13 @@ export class BindParamNode extends DELogicNode {
14
14
  async exec(ctx) {
15
15
  const { dstDELogicParamId, srcDELogicParamId } = this.model;
16
16
  if (!dstDELogicParamId || !srcDELogicParamId) {
17
- throw new RuntimeModelError(this.model, '缺少目标参数对象或者源参数对象配置');
17
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.missingTargetParameter'));
18
18
  }
19
19
  const srcVal = handleSrcVal(ctx, this.model);
20
20
  ctx.params[dstDELogicParamId] = srcVal;
21
- ibiz.log.debug(`实体逻辑节点(绑定参数):${this.model.id}-参数名称:${dstDELogicParamId}-值:`, srcVal);
21
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.logicNodeParameterName', {
22
+ id: this.model.id,
23
+ dstDELogicParamId,
24
+ }), srcVal);
22
25
  }
23
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"copy-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/copy-param-node/copy-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAe/C"}
1
+ {"version":3,"file":"copy-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/copy-param-node/copy-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB/C"}
@@ -15,10 +15,13 @@ export class CopyParamNode extends DELogicNode {
15
15
  async exec(ctx) {
16
16
  const { dstDELogicParamId, srcDELogicParamId } = this.model;
17
17
  if (!dstDELogicParamId || !srcDELogicParamId) {
18
- throw new RuntimeModelError(this.model, '缺少目标参数对象或者源参数对象配置');
18
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.missingTargetParameter'));
19
19
  }
20
20
  const srcVal = handleSrcVal(ctx, this.model);
21
21
  ctx.params[dstDELogicParamId] = clone(srcVal);
22
- ibiz.log.debug(`实体逻辑节点(拷贝参数):${this.model.id}-参数名称:${dstDELogicParamId}-值:`, srcVal);
22
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.copyParameter', {
23
+ id: this.model.id,
24
+ dstDELogicParamId,
25
+ }), srcVal);
23
26
  }
24
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"data-set-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/data-set-node/data-set-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAClC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAuB/C"}
1
+ {"version":3,"file":"data-set-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/data-set-node/data-set-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAClC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA4B/C"}
@@ -17,6 +17,11 @@ export class DataSetNode extends DELogicNode {
17
17
  if (res.ok) {
18
18
  ctx.params[retDELogicParamId] = res.data;
19
19
  }
20
- ibiz.log.debug(`实体逻辑节点(数据集合):${this.model.id}-数据集实体标识:${dstAppDataEntityId}-数据集标识:${dstAppDEDataSetId}-参数名称:${retDELogicParamId}-值:`, ctx.params[retDELogicParamId]);
20
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.dataSet', {
21
+ id: this.model.id,
22
+ dstAppDataEntityId,
23
+ dstAppDEDataSetId,
24
+ retDELogicParamId,
25
+ }), ctx.params[retDELogicParamId]);
21
26
  }
22
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"de-action-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/de-action-node/de-action-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,YAAa,SAAQ,WAAW;IACnC,KAAK,EAAE,gBAAgB,CAAC;IAE1B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA8B/C"}
1
+ {"version":3,"file":"de-action-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/de-action-node/de-action-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,YAAa,SAAQ,WAAW;IACnC,KAAK,EAAE,gBAAgB,CAAC;IAE1B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAyC/C"}
@@ -13,10 +13,10 @@ export class DEActionNode extends DELogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstAppDataEntityId, dstAppDEActionId, dstDELogicParamId, retDELogicParamId, } = this.model;
15
15
  if (!dstAppDataEntityId) {
16
- throw new RuntimeModelError(this.model, `未指定应用实体`);
16
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.unspecifiedEntity'));
17
17
  }
18
18
  if (!dstAppDEActionId) {
19
- throw new RuntimeModelError(this.model, `未指定实体行为`);
19
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.unspecifiedBehavior'));
20
20
  }
21
21
  const requestData = ctx.params[dstDELogicParamId];
22
22
  const app = ibiz.hub.getApp(ctx.context.srfappid);
@@ -24,6 +24,11 @@ export class DEActionNode extends DELogicNode {
24
24
  if (res.ok) {
25
25
  ctx.params[retDELogicParamId] = res.data;
26
26
  }
27
- ibiz.log.debug(`实体逻辑节点(实体行为):${this.model.id}-界面行为所属实体:${dstAppDataEntityId}-实体行为标识:${dstAppDEActionId}-参数名称:${retDELogicParamId}-值:`, ctx.params[retDELogicParamId]);
27
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.entityActions', {
28
+ id: this.model.id,
29
+ dstAppDataEntityId,
30
+ dstAppDEActionId,
31
+ retDELogicParamId,
32
+ }), ctx.params[retDELogicParamId]);
28
33
  }
29
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"end-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/end-node/end-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IAC9B,KAAK,EAAE,WAAW,CAAC;IAErB,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAoC/C"}
1
+ {"version":3,"file":"end-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/end-node/end-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IAC9B,KAAK,EAAE,WAAW,CAAC;IAErB,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAyC/C"}
@@ -33,8 +33,13 @@ export class EndNode extends DELogicNode {
33
33
  case 'LOGICPARAMFIELD': // 逻辑参数属性
34
34
  case 'BREAK': // 跳出循环(BREAK)
35
35
  default:
36
- throw new ModelError(this.model, `暂未支持的结束节点返回值类型: ${returnType}`);
36
+ throw new ModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.unsupportedReturnType', {
37
+ returnType,
38
+ }));
37
39
  }
38
- ibiz.log.debug(`实体逻辑节点(结束节点):${this.model.id}-返回值类型:${returnType}-返回值:`, ctx.result);
40
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.endNode', {
41
+ id: this.model.id,
42
+ returnType,
43
+ }), ctx.result);
39
44
  }
40
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"prepare-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/prepare-param-node/prepare-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IACzC,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IA0D9C;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,iBAAiB,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI;IAM5E;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,iBAAiB,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI;IAK5E;;;;;;;OAOG;IACH,SAAS,CAAC,aAAa,CACrB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAmBP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,WAAW,CACnB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAaP;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,iBAAiB,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI;CAQ7E"}
1
+ {"version":3,"file":"prepare-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/prepare-param-node/prepare-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IACzC,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAgE9C;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,iBAAiB,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI;IAM5E;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,iBAAiB,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI;IAK5E;;;;;;;OAOG;IACH,SAAS,CAAC,aAAa,CACrB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAmBP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,WAAW,CACnB,SAAS,EAAE,iBAAiB,EAC5B,GAAG,EAAE,cAAc,GAClB,IAAI;IAaP;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,iBAAiB,EAAE,GAAG,EAAE,cAAc,GAAG,IAAI;CAQ7E"}
@@ -52,9 +52,15 @@ export class PrepareParamNode extends DELogicNode {
52
52
  result = this.sortParam(nodeParam, ctx);
53
53
  break;
54
54
  default:
55
- throw new ModelError(nodeParam, `暂未支持逻辑处理参数操作${nodeParam.paramAction}`);
55
+ throw new ModelError(nodeParam, ibiz.i18n.t('runtime.deLogic.deLogicNode.noSupportedLogic', {
56
+ paramAction: nodeParam.paramAction,
57
+ }));
56
58
  }
57
- ibiz.log.debug(`实体逻辑节点(准备参数):${this.model.id}-参数处理操作:${nodeParam.paramAction}-目标逻辑参数:${nodeParam.dstDELogicParamId}-源参数(值):`, originValue, `-目标参数(值):`, ctx.params[nodeParam.dstDELogicParamId]);
59
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.preparationParameter', {
60
+ id: this.model.id,
61
+ paramAction: nodeParam.paramAction,
62
+ dstDELogicParamId: nodeParam.dstDELogicParamId,
63
+ }), originValue, ibiz.i18n.t('runtime.deLogic.deLogicNode.targetParameter'), ctx.params[nodeParam.dstDELogicParamId]);
58
64
  return result;
59
65
  }));
60
66
  }
@@ -1 +1 @@
1
- {"version":3,"file":"renew-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/renew-param-node/renew-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,WAAW;IACrC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAU/C"}
1
+ {"version":3,"file":"renew-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/renew-param-node/renew-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,WAAW;IACrC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAgB/C"}
@@ -13,9 +13,12 @@ export class RenewParamNode extends DELogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstDELogicParamId } = this.model;
15
15
  if (!dstDELogicParamId) {
16
- throw new RuntimeModelError(this.model, '缺少目标参数对象配置');
16
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.missingConfiguration'));
17
17
  }
18
18
  ctx.renewParam(dstDELogicParamId);
19
- ibiz.log.debug(`实体逻辑节点(重新建立参数):${this.model.id}-重建参数:${dstDELogicParamId}`);
19
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.rebuildParameter', {
20
+ id: this.model.id,
21
+ dstDELogicParamId,
22
+ }));
20
23
  }
21
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"reset-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/reset-param-node/reset-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,WAAW;IACrC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAU/C"}
1
+ {"version":3,"file":"reset-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/reset-param-node/reset-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,WAAW;IACrC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAgB/C"}
@@ -13,9 +13,12 @@ export class ResetParamNode extends DELogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstDELogicParamId } = this.model;
15
15
  if (!dstDELogicParamId) {
16
- throw new RuntimeModelError(this.model, '缺少目标参数对象配置');
16
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.missingConfiguration'));
17
17
  }
18
18
  ctx.resetParam(dstDELogicParamId);
19
- ibiz.log.debug(`实体逻辑节点(重置参数):${this.model.id}-重置参数:${dstDELogicParamId}`);
19
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.resetParameter', {
20
+ id: this.model.id,
21
+ dstDELogicParamId,
22
+ }));
20
23
  }
21
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sort-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/sort-param-node/sort-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAe/C"}
1
+ {"version":3,"file":"sort-param-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/sort-param-node/sort-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAuB/C"}
@@ -13,13 +13,18 @@ export class SortParamNode extends DELogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstDELogicParamId, dstSortDir, dstFieldName } = this.model;
15
15
  if (!dstDELogicParamId || !dstFieldName) {
16
- throw new RuntimeModelError(this.model, '缺少目标参数对象或目标属性配置');
16
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.missingParameterProperty'));
17
17
  }
18
18
  const key = dstFieldName.toLowerCase();
19
19
  const arr = ctx.params[dstDELogicParamId];
20
20
  arr.sort((a, b) => {
21
21
  return dstSortDir === 'ASC' ? a[key] - b[key] : b[key] - a[key];
22
22
  });
23
- ibiz.log.debug(`实体逻辑节点(排序数组参数):${this.model.id}-排序属性:${dstFieldName}-排序模式:${dstSortDir}-参数名称:${dstDELogicParamId}-排序后数组:`, arr);
23
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.sortedArrayParameters', {
24
+ id: this.model.id,
25
+ dstFieldName,
26
+ dstSortDir,
27
+ dstDELogicParamId,
28
+ }), arr);
24
29
  }
25
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"start-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/start-node/start-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,SAAU,SAAQ,WAAW;IAClC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAIhD"}
1
+ {"version":3,"file":"start-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/start-node/start-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,SAAU,SAAQ,WAAW;IAClC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAQhD"}
@@ -11,6 +11,8 @@ import { DELogicNode } from '../de-logic-node';
11
11
  export class StartNode extends DELogicNode {
12
12
  async exec(_ctx) {
13
13
  // 启动节点,无任何操作
14
- ibiz.log.debug(`实体逻辑节点(启动节点):${this.model.id}`);
14
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.startupNode', {
15
+ id: this.model.id,
16
+ }));
15
17
  }
16
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"throw-exception-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/throw-exception-node/throw-exception-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACzC,KAAK,EAAE,sBAAsB,CAAC;IAEhC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAchD"}
1
+ {"version":3,"file":"throw-exception-node.d.ts","sourceRoot":"","sources":["../../../../src/de-logic/de-logic-node/throw-exception-node/throw-exception-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACzC,KAAK,EAAE,sBAAsB,CAAC;IAEhC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkBhD"}
@@ -12,7 +12,11 @@ import { DELogicNode } from '../de-logic-node';
12
12
  export class ThrowExceptionNode extends DELogicNode {
13
13
  async exec(_ctx) {
14
14
  const { errorCode, errorInfo } = this.model;
15
- ibiz.log.debug(`实体逻辑节点(抛出异常):${this.model.id}-错误代码:${errorCode}-错误信息:${errorInfo}`);
15
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.throwsException', {
16
+ id: this.model.id,
17
+ errorCode,
18
+ errorInfo,
19
+ }));
16
20
  throw new HttpError({
17
21
  response: {
18
22
  status: errorCode,
@@ -1 +1 @@
1
- {"version":3,"file":"de-logic-param.d.ts","sourceRoot":"","sources":["../../../src/de-logic/de-logic-param/de-logic-param.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;;;;GAOG;AACH,qBAAa,YAAY;IAQJ,KAAK,EAAE,aAAa;IAPvC;;;;;;OAMG;gBACgB,KAAK,EAAE,aAAa;IAEvC;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAuD/B;;;;;OAKG;IACH,KAAK,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;CAiBjC"}
1
+ {"version":3,"file":"de-logic-param.d.ts","sourceRoot":"","sources":["../../../src/de-logic/de-logic-param/de-logic-param.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;;;;GAOG;AACH,qBAAa,YAAY;IAQJ,KAAK,EAAE,aAAa;IAPvC;;;;;;OAMG;gBACgB,KAAK,EAAE,aAAa;IAEvC;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAgF/B;;;;;OAKG;IACH,KAAK,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;CAoBjC"}
@@ -77,27 +77,27 @@ export class DELogicParam {
77
77
  ctx.params[tag] = clone(ctx.data || {});
78
78
  }
79
79
  else if (m.envParam) {
80
- throw new ModelError(m, `未支持的逻辑参数类型: 系统环境变量`);
80
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.environmentVariables'));
81
81
  }
82
82
  else if (m.fileListParam) {
83
- throw new ModelError(m, `未支持的逻辑参数类型: 文件对象列表变量`);
83
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.fileObjectListVariable'));
84
84
  }
85
85
  else if (m.fileParam) {
86
- throw new ModelError(m, `未支持的逻辑参数类型: 文件对象变量`);
86
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.fileObjectVariables'));
87
87
  }
88
88
  else if (m.filterParam) {
89
- throw new ModelError(m, `未支持的逻辑参数类型: 过滤器对象变量`);
89
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.filterObjectVariables'));
90
90
  }
91
91
  else if (m.lastParam) {
92
- throw new ModelError(m, `未支持的逻辑参数类型: 最后数据变量`);
92
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.finalDataVariables'));
93
93
  }
94
94
  else if (m.originEntity) {
95
- throw new ModelError(m, `未支持的逻辑参数类型: 原始数据对象`);
95
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.rawDataObjects'));
96
96
  }
97
97
  else if (m.sessionParam) {
98
- throw new ModelError(m, `未支持的逻辑参数类型: 操作会话变量`);
98
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.operationSessionVariables'));
99
99
  }
100
- ibiz.log.debug(`计算实体逻辑参数,标识:${tag}`, `-值:`, ctx.params[tag]);
100
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.calculateEntity', { tag }), ibiz.i18n.t('runtime.deLogic.deLogicNode.value'), ctx.params[tag]);
101
101
  }
102
102
  /**
103
103
  * 重新建立变量
@@ -115,8 +115,8 @@ export class DELogicParam {
115
115
  ctx.params[tag] = {};
116
116
  }
117
117
  else {
118
- throw new ModelError(m, `未支持的逻辑参数类型重新建立变量`);
118
+ throw new ModelError(m, ibiz.i18n.t('runtime.deLogic.deLogicNode.recreatingVariables'));
119
119
  }
120
- ibiz.log.debug(`重新建立实体逻辑参数,标识:${tag}`, `-值:`, ctx.params[tag]);
120
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.reEstablish', { tag }), ibiz.i18n.t('runtime.deLogic.deLogicNode.value'), ctx.params[tag]);
121
121
  }
122
122
  }
@@ -1 +1 @@
1
- {"version":3,"file":"de-logic.d.ts","sourceRoot":"","sources":["../../src/de-logic/de-logic.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAiB,cAAc,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAML,WAAW,EAOZ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D;;;;;;;GAOG;AACH,qBAAa,OAAO;IAoCN,SAAS,CAAC,KAAK,EAAE,WAAW;IAnCxC;;;;;;;OAOG;IACH,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAa;IAEtD;;;;;;;OAOG;IACH,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAa;IAExD;;;;;;OAMG;IACH,SAAS,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAEpC;;;;;OAKG;gBACmB,KAAK,EAAE,WAAW;IA0ExC;;;;;;;;;;OAUG;IACH,SAAS,CAAC,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IASpD;;;;;;;;;OASG;IACG,IAAI,CACR,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,GAAG,KAAK,EAAE,EACrB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,OAAO,CAAC;IAsBnB;;;;;;;;;OASG;cACa,QAAQ,CACtB,IAAI,EAAE,WAAW,EACjB,GAAG,EAAE,cAAc,GAClB,OAAO,CAAC,IAAI,CAAC;CAiBjB"}
1
+ {"version":3,"file":"de-logic.d.ts","sourceRoot":"","sources":["../../src/de-logic/de-logic.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAiB,cAAc,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAML,WAAW,EAOZ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D;;;;;;;GAOG;AACH,qBAAa,OAAO;IAoCN,SAAS,CAAC,KAAK,EAAE,WAAW;IAnCxC;;;;;;;OAOG;IACH,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAa;IAEtD;;;;;;;OAOG;IACH,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAa;IAExD;;;;;;OAMG;IACH,SAAS,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAEpC;;;;;OAKG;gBACmB,KAAK,EAAE,WAAW;IAqFxC;;;;;;;;;;OAUG;IACH,SAAS,CAAC,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IASpD;;;;;;;;;OASG;IACG,IAAI,CACR,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,GAAG,KAAK,EAAE,EACrB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,OAAO,CAAC;IAyBnB;;;;;;;;;OASG;cACa,QAAQ,CACtB,IAAI,EAAE,WAAW,EACjB,GAAG,EAAE,cAAc,GAClB,OAAO,CAAC,IAAI,CAAC;CAiBjB"}
@@ -44,7 +44,7 @@ export class DELogic {
44
44
  // 脚本代码模式
45
45
  if (model.customCode) {
46
46
  if (!model.scriptCode) {
47
- throw new RuntimeModelError(model, '脚本代码模式没有配置脚本代码');
47
+ throw new RuntimeModelError(model, ibiz.i18n.t('runtime.deLogic.deLogicNode.noScriptCode'));
48
48
  }
49
49
  this.scriptFn = ScriptFactory.createScriptFn([], model.scriptCode, {
50
50
  isAsync: true,
@@ -52,7 +52,7 @@ export class DELogic {
52
52
  return;
53
53
  }
54
54
  if (!((_a = model.delogicNodes) === null || _a === void 0 ? void 0 : _a.length)) {
55
- throw new RuntimeModelError(model, '实体逻辑没有配置逻辑节点');
55
+ throw new RuntimeModelError(model, ibiz.i18n.t('runtime.deLogic.deLogicNode.noConfigurationLogicNode'));
56
56
  }
57
57
  model.delogicNodes.forEach(node => {
58
58
  const { logicNodeType } = node;
@@ -95,7 +95,9 @@ export class DELogic {
95
95
  logicNode = new SortParamNode(node);
96
96
  break;
97
97
  default:
98
- throw new ModelError(node, `未支持的逻辑节点类型: ${logicNodeType}`);
98
+ throw new ModelError(node, ibiz.i18n.t('runtime.deLogic.deLogicNode.unsupportedLogical', {
99
+ logicNodeType,
100
+ }));
99
101
  }
100
102
  this.nodes.set(node.id, logicNode);
101
103
  });
@@ -153,7 +155,7 @@ export class DELogic {
153
155
  await this.deepExec(start, ctx);
154
156
  }
155
157
  else {
156
- throw new RuntimeModelError(this.model, `未设置起始节点`);
158
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.noSetStartNode'));
157
159
  }
158
160
  if (ctx.isEndNode) {
159
161
  return ctx.result;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/de-logic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAgB,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA6B/D;;;;;;;;;;;;GAYG;AACH,wBAAsB,WAAW,CAC/B,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,GAAE,KAAK,GAAG,KAAK,EAAO,EAC1B,MAAM,GAAE,OAAY,GACnB,OAAO,CAAC,OAAO,CAAC,CAalB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,eAAe,CACnC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,OAAO,CAAC,CAUlB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,iBAAiB,CACrC,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,CAAC,EAAE,KAAK,GAAG,KAAK,EAAE,EACtB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAc9B;AAkCD;;;;;;;;;;;GAWG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,EACtC,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,GAAG,KAAK,EAAE,EACrB,MAAM,GAAE,OAAY,GACnB,OAAO,CAAC,IAAI,CAAC,CAcf"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/de-logic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAgB,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA6B/D;;;;;;;;;;;;GAYG;AACH,wBAAsB,WAAW,CAC/B,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,GAAE,KAAK,GAAG,KAAK,EAAO,EAC1B,MAAM,GAAE,OAAY,GACnB,OAAO,CAAC,OAAO,CAAC,CAmBlB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,eAAe,CACnC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,OAAO,CAAC,CAelB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,iBAAiB,CACrC,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,CAAC,EAAE,KAAK,GAAG,KAAK,EAAE,EACtB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAc9B;AAkCD;;;;;;;;;;;GAWG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,EACtC,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,GAAG,KAAK,EAAE,EACrB,MAAM,GAAE,OAAY,GACnB,OAAO,CAAC,IAAI,CAAC,CAcf"}
@@ -37,10 +37,16 @@ export async function execDELogic(deDELogic, context, data = {}, params = {}) {
37
37
  if (!deLogicMap.has(deDELogic)) {
38
38
  deLogicMap.set(deDELogic, new DELogic(deDELogic));
39
39
  }
40
- ibiz.log.debug(`开始执行实体逻辑,逻辑标识:${deDELogic.id}-逻辑名称:${deDELogic.name}`);
40
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.startExecuting', {
41
+ id: deDELogic.id,
42
+ name: deDELogic.name,
43
+ }));
41
44
  const deLogic = deLogicMap.get(deDELogic);
42
45
  const result = await deLogic.exec(context, data, params);
43
- ibiz.log.debug(`结束执行实体逻辑,逻辑标识:${deDELogic.id}-逻辑名称:${deDELogic.name}`);
46
+ ibiz.log.debug(ibiz.i18n.t('runtime.deLogic.deLogicNode.endExecution', {
47
+ id: deDELogic.id,
48
+ name: deDELogic.name,
49
+ }));
44
50
  return result;
45
51
  }
46
52
  /**
@@ -58,7 +64,10 @@ export async function execDELogic(deDELogic, context, data = {}, params = {}) {
58
64
  export async function execDELogicById(deDELogicId, dataEntityId, context, data, params) {
59
65
  const deLogic = await findDeLogic(deDELogicId, dataEntityId, context.srfappid);
60
66
  if (!deLogic) {
61
- throw new RuntimeError(`${dataEntityId}找不到实体逻辑${deDELogicId}`);
67
+ throw new RuntimeError(ibiz.i18n.t('runtime.deLogic.deLogicNode.noFoundEntityLogic', {
68
+ dataEntityId,
69
+ deDELogicId,
70
+ }));
62
71
  }
63
72
  return execDELogic(deLogic, context, data, params);
64
73
  }
@@ -1 +1 @@
1
- {"version":3,"file":"handle-src-val.d.ts","sourceRoot":"","sources":["../../../src/de-logic/utils/handle-src-val.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,KAAK,YAAY,GAAG;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,cAAc,EACnB,YAAY,EAAE,YAAY,GACzB,OAAO,CA2ET"}
1
+ {"version":3,"file":"handle-src-val.d.ts","sourceRoot":"","sources":["../../../src/de-logic/utils/handle-src-val.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,KAAK,YAAY,GAAG;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,cAAc,EACnB,YAAY,EAAE,YAAY,GACzB,OAAO,CAwFT"}