@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
@@ -14,7 +14,7 @@ export class AppendParamNode extends UILogicNode {
14
14
  async exec(ctx) {
15
15
  const { dstDEUILogicParamId, srcDEUILogicParamId, dstIndex, srcIndex, srcSize, } = this.model;
16
16
  if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
17
- throw new RuntimeModelError(this.model, '缺少目标参数对象或者源参数对象配置');
17
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.missingTargetParameter'));
18
18
  }
19
19
  const srcVal = handleSrcVal(ctx, this.model);
20
20
  const insertIndex = dstIndex || 0;
@@ -22,6 +22,6 @@ export class AppendParamNode extends UILogicNode {
22
22
  const _srcSize = srcSize || srcVal.length;
23
23
  ctx.params[dstDEUILogicParamId].splice(insertIndex, 0, ...srcVal.slice(_srcIndex, _srcSize));
24
24
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
25
- ibiz.log.debug(`界面逻辑节点(附加到数组):${this.model.id}-附加参数:`, ctx.params, `-附加值:`, srcVal.slice(_srcIndex, _srcSize));
25
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.appendedArray', { id: this.model.id }), ctx.params, ibiz.i18n.t('runtime.deLogic.deLogicNode.addedValue'), srcVal.slice(_srcIndex, _srcSize));
26
26
  }
27
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bind-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/bind-param-node/bind-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,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB/C"}
1
+ {"version":3,"file":"bind-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/bind-param-node/bind-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,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAqB/C"}
@@ -14,11 +14,14 @@ export class BindParamNode extends UILogicNode {
14
14
  async exec(ctx) {
15
15
  const { dstDEUILogicParamId, srcDEUILogicParamId } = this.model;
16
16
  if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
17
- throw new RuntimeModelError(this.model, '缺少目标参数对象或者源参数对象配置');
17
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.missingTargetParameter'));
18
18
  }
19
19
  const srcVal = handleSrcVal(ctx, this.model);
20
20
  ctx.params[dstDEUILogicParamId] = srcVal;
21
21
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
22
- ibiz.log.debug(`界面逻辑节点(绑定参数):${this.model.id}-参数名称:${dstDEUILogicParamId}-值:`, srcVal);
22
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.bindingParameters', {
23
+ id: this.model.id,
24
+ dstDEUILogicParamId,
25
+ }), srcVal);
23
26
  }
24
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"copy-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/copy-param-node/copy-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,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,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB/C"}
1
+ {"version":3,"file":"copy-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/copy-param-node/copy-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,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,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAqB/C"}
@@ -15,11 +15,14 @@ export class CopyParamNode extends UILogicNode {
15
15
  async exec(ctx) {
16
16
  const { dstDEUILogicParamId, srcDEUILogicParamId } = this.model;
17
17
  if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
18
- throw new RuntimeModelError(this.model, '缺少目标参数对象或者源参数对象配置');
18
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.missingTargetParameter'));
19
19
  }
20
20
  const srcVal = handleSrcVal(ctx, this.model);
21
21
  ctx.params[dstDEUILogicParamId] = clone(srcVal);
22
22
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
23
- ibiz.log.debug(`界面逻辑节点(拷贝参数):${this.model.id}-参数名称:${dstDEUILogicParamId}-值:`, srcVal);
23
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.copyParameter', {
24
+ id: this.model.id,
25
+ dstDEUILogicParamId,
26
+ }), srcVal);
24
27
  }
25
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"data-set-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/data-set-node/data-set-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,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,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA2B/C"}
1
+ {"version":3,"file":"data-set-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/data-set-node/data-set-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,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,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAmC/C"}
@@ -13,7 +13,7 @@ export class DataSetNode extends UILogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstAppDEDataSetId, dstAppDataEntityId, dstDEUILogicParamId, retDEUILogicParamId, } = this.model;
15
15
  if (!dstDEUILogicParamId) {
16
- throw new RuntimeModelError(this.model, '缺少配置过滤参数');
16
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.missingfilter'));
17
17
  }
18
18
  const queryParams = ctx.params[dstDEUILogicParamId];
19
19
  const app = ibiz.hub.getApp(ctx.context.srfappid);
@@ -22,6 +22,11 @@ export class DataSetNode extends UILogicNode {
22
22
  ctx.params[retDEUILogicParamId] = res.data;
23
23
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
24
24
  }
25
- ibiz.log.debug(`界面逻辑节点(数据集合):${this.model.id}-数据集实体标识:${dstAppDataEntityId}-数据集标识:${dstAppDEDataSetId}-参数名称:${retDEUILogicParamId}-值:`, ctx.params[retDEUILogicParamId]);
25
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeDataSet', {
26
+ id: this.model.id,
27
+ dstAppDataEntityId,
28
+ dstAppDEDataSetId,
29
+ retDEUILogicParamId,
30
+ }), ctx.params[retDEUILogicParamId]);
26
31
  }
27
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"de-action-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/de-action-node/de-action-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,YAAa,SAAQ,WAAW;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA+B/C"}
1
+ {"version":3,"file":"de-action-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/de-action-node/de-action-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,YAAa,SAAQ,WAAW;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA0C/C"}
@@ -13,10 +13,10 @@ export class DEActionNode extends UILogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstAppDataEntityId, dstAppDEActionId, dstDEUILogicParamId, retDEUILogicParamId, } = 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[dstDEUILogicParamId];
22
22
  const app = ibiz.hub.getApp(ctx.context.srfappid);
@@ -25,6 +25,11 @@ export class DEActionNode extends UILogicNode {
25
25
  ctx.params[retDEUILogicParamId] = res.data;
26
26
  ctx.setLastReturn(ctx.params[retDEUILogicParamId]);
27
27
  }
28
- ibiz.log.debug(`界面逻辑节点(实体行为):${this.model.id}-界面行为所属实体:${dstAppDataEntityId}-实体行为标识:${dstAppDEActionId}-参数名称:${retDEUILogicParamId}-值:`, ctx.params[retDEUILogicParamId]);
28
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeEntityActions', {
29
+ id: this.model.id,
30
+ dstAppDataEntityId,
31
+ dstAppDEActionId,
32
+ retDEUILogicParamId,
33
+ }), ctx.params[retDEUILogicParamId]);
29
34
  }
30
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"de-ui-action-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,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,gBAAgB,CAAC;IAE1B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAgC/C"}
1
+ {"version":3,"file":"de-ui-action-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,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,gBAAgB,CAAC;IAE1B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAwC/C"}
@@ -15,7 +15,7 @@ export class DEUIActionNode extends UILogicNode {
15
15
  const { dstAppDEUIActionId, dstDEUILogicParamId, dstAppDataEntityId } = this.model;
16
16
  const { data, parameters } = ctx;
17
17
  if (!dstAppDEUIActionId) {
18
- throw new RuntimeModelError(this.model, `未配置界面行为`);
18
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noConfiguredInterfaceBehavior'));
19
19
  }
20
20
  let actionData = [data];
21
21
  if (dstDEUILogicParamId) {
@@ -27,7 +27,12 @@ export class DEUIActionNode extends UILogicNode {
27
27
  actionData = [param];
28
28
  }
29
29
  }
30
- ibiz.log.debug(`界面逻辑节点(实体界面行为):${this.model.id}-界面行为标识:${dstAppDEUIActionId}-界面行为所属实体:${dstAppDataEntityId}-目标逻辑参数对象:${dstDEUILogicParamId}`);
30
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeEntityInterfaceAction', {
31
+ id: this.model.id,
32
+ dstAppDEUIActionId,
33
+ dstAppDataEntityId,
34
+ dstDEUILogicParamId,
35
+ }));
31
36
  await UIActionUtil.execAndResolved(dstAppDEUIActionId, Object.assign(Object.assign({}, parameters), { context: ctx.context, params: ctx.viewParam, data: actionData }), this.model.appId);
32
37
  }
33
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"debug-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/debug-param-node/debug-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,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,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ/C"}
1
+ {"version":3,"file":"debug-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/debug-param-node/debug-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,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,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAc/C"}
@@ -13,9 +13,9 @@ export class DebugParamNode extends UILogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstDEUILogicParamId, name } = this.model;
15
15
  if (!dstDEUILogicParamId) {
16
- throw new RuntimeModelError(this.model, '缺少目标参数对象配置');
16
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.deLogic.deLogicNode.missingConfiguration'));
17
17
  }
18
18
  const param = ctx.params[dstDEUILogicParamId];
19
- ibiz.log.info(`逻辑节点${name}操作参数值:`, param);
19
+ ibiz.log.info(ibiz.i18n.t('runtime.uiLogic.logicalNodeOperation', { name }), param);
20
20
  }
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"end-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/end-node/end-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,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,aAAa,CAAC;IAEvB,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAoC/C"}
1
+ {"version":3,"file":"end-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/end-node/end-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,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,aAAa,CAAC;IAEvB,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAuC/C"}
@@ -33,8 +33,11 @@ export class EndNode extends UILogicNode {
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.uiLogic.unsupportedEndNode', { returnType }));
37
37
  }
38
- ibiz.log.debug(`界面逻辑节点(结束节点):${this.model.id}-返回值类型:${returnType}-返回值:`, ctx.result);
38
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeEndNode', {
39
+ id: this.model.id,
40
+ returnType,
41
+ }), ctx.result);
39
42
  }
40
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"execute-de-logic-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,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,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA2C/C"}
1
+ {"version":3,"file":"execute-de-logic-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,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,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA2D/C"}
@@ -15,17 +15,17 @@ export class ExecuteDELogicNode extends UILogicNode {
15
15
  const { dstAppDELogicId, dstAppDataEntityId, dstDEUILogicParamId, retDEUILogicParamId, } = this.model;
16
16
  // 配置报错
17
17
  if (!dstAppDataEntityId) {
18
- throw new RuntimeModelError(this.model, '没有配置实体');
18
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noEntityConfigured'));
19
19
  }
20
20
  if (!dstAppDELogicId) {
21
- throw new RuntimeModelError(this.model, '没有配置实体逻辑');
21
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noEntityLogicConfigured'));
22
22
  }
23
23
  if (!dstDEUILogicParamId) {
24
- throw new RuntimeModelError(this.model, '没有配置传入逻辑参数');
24
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noIncomingLogic'));
25
25
  }
26
26
  const dstParam = ctx.params[dstDEUILogicParamId];
27
27
  if (!dstParam) {
28
- throw new RuntimeError(`没有找到传入参数${dstDEUILogicParamId}`);
28
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.passedParameter', { dstDEUILogicParamId }));
29
29
  }
30
30
  const result = await execDELogicById(dstAppDELogicId, dstAppDataEntityId, ctx.context, dstParam, ctx.params);
31
31
  // 如果有返回值参数返回值填入。
@@ -33,6 +33,11 @@ export class ExecuteDELogicNode extends UILogicNode {
33
33
  ctx.params[retDEUILogicParamId] = result;
34
34
  ctx.setLastReturn(ctx.params[retDEUILogicParamId]);
35
35
  }
36
- ibiz.log.debug(`界面逻辑节点(执行实体逻辑):${this.model.id}-实体逻辑标识:${dstAppDELogicId}-实体逻辑所属实体:${dstAppDataEntityId}-参数名称:${retDEUILogicParamId}-值:`, result);
36
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeExecutingEntityLogic', {
37
+ id: this.model.id,
38
+ dstAppDELogicId,
39
+ dstAppDataEntityId,
40
+ retDEUILogicParamId,
41
+ }), result);
37
42
  }
38
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"msg-box-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/msg-box-node/msg-box-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACjC,KAAK,EAAE,gBAAgB,CAAC;IAEhC,SAAS,CAAC,OAAO;;;;;MAKN;IAEL,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAgE/C"}
1
+ {"version":3,"file":"msg-box-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/msg-box-node/msg-box-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACjC,KAAK,EAAE,gBAAgB,CAAC;IAEhC,SAAS,CAAC,OAAO;;;;;MAKN;IAEL,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA+E/C"}
@@ -22,10 +22,10 @@ export class MsgBoxNode extends UILogicNode {
22
22
  async exec(ctx) {
23
23
  const { msgBoxType, buttonsType, msgBoxParamId } = this.model;
24
24
  if (!msgBoxType) {
25
- throw new RuntimeModelError(this.model, '缺少消息类型的配置');
25
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.missingMessageTypeConfiguration'));
26
26
  }
27
27
  if (!buttonsType) {
28
- throw new RuntimeModelError(this.model, '缺少按钮类型的配置');
28
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.missingButtonTypeConfiguration'));
29
29
  }
30
30
  // 处理标题和内容
31
31
  let { title, message } = this.model;
@@ -42,36 +42,42 @@ export class MsgBoxNode extends UILogicNode {
42
42
  const type = this.typeMap[msgBoxType];
43
43
  const modalParams = {
44
44
  type,
45
- title: title || '消息',
45
+ title: title || ibiz.i18n.t('runtime.uiLogic.message'),
46
46
  desc: message,
47
47
  };
48
48
  let resultTags = [];
49
49
  // 处理按钮类型
50
50
  switch (buttonsType) {
51
51
  case 'YESNO':
52
- modalParams.confirmButtonText = '';
53
- modalParams.cancelButtonText = '';
52
+ modalParams.confirmButtonText = ibiz.i18n.t('runtime.uiLogic.yes');
53
+ modalParams.cancelButtonText = ibiz.i18n.t('runtime.uiLogic.no');
54
54
  modalParams.showConfirmButton = true;
55
55
  modalParams.showCancelButton = true;
56
56
  resultTags = ['yes', 'no'];
57
57
  break;
58
58
  case 'OK':
59
- modalParams.confirmButtonText = '确定';
59
+ modalParams.confirmButtonText = ibiz.i18n.t('control.common.determine');
60
60
  modalParams.showConfirmButton = true;
61
61
  modalParams.showCancelButton = false;
62
62
  resultTags = ['ok'];
63
63
  break;
64
64
  case 'OKCANCEL':
65
- modalParams.confirmButtonText = '确定';
66
- modalParams.cancelButtonText = '取消';
65
+ modalParams.confirmButtonText = ibiz.i18n.t('control.common.determine');
66
+ modalParams.cancelButtonText = ibiz.i18n.t('app.cancel');
67
67
  modalParams.showConfirmButton = true;
68
68
  modalParams.showCancelButton = true;
69
69
  resultTags = ['ok', 'cancel'];
70
70
  break;
71
71
  default:
72
- throw new ModelError(this.model, `${buttonsType}暂未支持`);
72
+ throw new ModelError(this.model, ibiz.i18n.t('control.common.noSupportItem', {
73
+ name: buttonsType,
74
+ }));
73
75
  }
74
- ibiz.log.debug(`界面逻辑节点(消息弹窗):${this.model.id}-消息类型:${type}-消息:${message}`);
76
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeMessagePopup', {
77
+ id: this.model.id,
78
+ type,
79
+ message,
80
+ }));
75
81
  const result = await ibiz.modal.confirm(modalParams);
76
82
  ctx.setLastReturn(resultTags[result ? 0 : 1]);
77
83
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pf-plugin-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C;;;;;;;;GAQG;AACH,qBAAa,YAAa,SAAQ,WAAW;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/C"}
1
+ {"version":3,"file":"pf-plugin-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C;;;;;;;;GAQG;AACH,qBAAa,YAAa,SAAQ,WAAW;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAE5B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAY/C"}
@@ -11,7 +11,10 @@ import { getUILogicNodeProvider } from '../../../register';
11
11
  */
12
12
  export class PFPluginNode extends UILogicNode {
13
13
  async exec(ctx) {
14
- ibiz.log.debug(`界面逻辑节点(前端插件):${this.model.id}-插件标识:${this.model.sysPFPluginId}`);
14
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeFrontendPlugin', {
15
+ id: this.model.id,
16
+ sysPFPluginId: this.model.sysPFPluginId,
17
+ }));
15
18
  const provider = await getUILogicNodeProvider(this.model);
16
19
  if (provider) {
17
20
  await provider.exec(this.model, ctx);
@@ -1 +1 @@
1
- {"version":3,"file":"prepare-js-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IAC3C,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAuD9C;;;;;;;OAOG;IACH,SAAS,CAAC,aAAa,CACrB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAwCP;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAMP;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,WAAW,CACnB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAaP;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;CAQR"}
1
+ {"version":3,"file":"prepare-js-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IAC3C,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IA6D9C;;;;;;;OAOG;IACH,SAAS,CAAC,aAAa,CACrB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAwCP;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAMP;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAClB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAKP;;;;;;;OAOG;IACH,SAAS,CAAC,WAAW,CACnB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;IAaP;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,cAAc,GAClB,IAAI;CAQR"}
@@ -55,9 +55,15 @@ export class PrepareJSParamNode extends UILogicNode {
55
55
  await this.sortParam(nodeParam, ctx);
56
56
  break;
57
57
  default:
58
- throw new ModelError(nodeParam, `暂未支持逻辑处理参数操作${nodeParam.paramAction}`);
58
+ throw new ModelError(nodeParam, ibiz.i18n.t('runtime.deLogic.deLogicNode.noSupportedLogic', {
59
+ paramAction: nodeParam.paramAction,
60
+ }));
59
61
  }
60
- ibiz.log.debug(`界面逻辑节点(准备参数):${this.model.id}-参数处理操作:${nodeParam.paramAction}-目标逻辑参数:${nodeParam.dstDEUILogicParamId}-源参数(值):`, originValue, `-目标参数(值):`, ctx.params[nodeParam.dstDEUILogicParamId]);
62
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodePreparationParameter', {
63
+ id: this.model.id,
64
+ paramAction: nodeParam.paramAction,
65
+ dstDEUILogicParamId: nodeParam.dstDEUILogicParamId,
66
+ }), originValue, ibiz.i18n.t('runtime.deLogic.deLogicNode.targetParameter'), ctx.params[nodeParam.dstDEUILogicParamId]);
61
67
  }
62
68
  }
63
69
  /**
@@ -71,7 +77,7 @@ export class PrepareJSParamNode extends UILogicNode {
71
77
  setParamValue(nodeParam, ctx) {
72
78
  const { dstFieldName, dstDEUILogicParamId } = nodeParam;
73
79
  if (!dstDEUILogicParamId) {
74
- throw new RuntimeError('没有目标参数对象id');
80
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.noTargetParameter'));
75
81
  }
76
82
  // 目标参数
77
83
  let dstField = dstFieldName;
@@ -90,7 +96,7 @@ export class PrepareJSParamNode extends UILogicNode {
90
96
  });
91
97
  }
92
98
  catch (error) {
93
- ibiz.log.error(`给目标参数属性${dstFieldName}赋值报错,目标参数:`, ctx.params[dstDEUILogicParamId]);
99
+ ibiz.log.error(ibiz.i18n.t('runtime.uiLogic.targetParameter', { dstFieldName }), ctx.params[dstDEUILogicParamId]);
94
100
  throw error;
95
101
  }
96
102
  }
@@ -1 +1 @@
1
- {"version":3,"file":"raw-js-code-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAgB/C"}
1
+ {"version":3,"file":"raw-js-code-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,qBAAa,aAAc,SAAQ,WAAW;IACpC,KAAK,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB/C"}
@@ -2,7 +2,9 @@ import { ScriptFactory } from '../../../utils';
2
2
  import { UILogicNode } from '../ui-logic-node';
3
3
  export class RawJSCodeNode extends UILogicNode {
4
4
  async exec(ctx) {
5
- ibiz.log.debug(`界面逻辑节点(直接代码):${this.model.id}-直接代码:`, this.model.code);
5
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeDirectCode', {
6
+ id: this.model.id,
7
+ }), this.model.code);
6
8
  ScriptFactory.execScriptFn({
7
9
  view: ctx.view,
8
10
  context: ctx.context,
@@ -1 +1 @@
1
- {"version":3,"file":"renew-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/renew-param-node/renew-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,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,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAW/C"}
1
+ {"version":3,"file":"renew-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/renew-param-node/renew-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,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,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAiB/C"}
@@ -13,10 +13,13 @@ export class RenewParamNode extends UILogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstDEUILogicParamId } = this.model;
15
15
  if (!dstDEUILogicParamId) {
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(dstDEUILogicParamId);
19
19
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
20
- ibiz.log.debug(`界面逻辑节点(重新建立参数):${this.model.id}-重建参数:${dstDEUILogicParamId}`);
20
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeRebuildParameter', {
21
+ id: this.model.id,
22
+ dstDEUILogicParamId,
23
+ }));
21
24
  }
22
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"reset-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/reset-param-node/reset-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,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,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAW/C"}
1
+ {"version":3,"file":"reset-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/reset-param-node/reset-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,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,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAiB/C"}
@@ -13,10 +13,13 @@ export class ResetParamNode extends UILogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstDEUILogicParamId } = this.model;
15
15
  if (!dstDEUILogicParamId) {
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(dstDEUILogicParamId);
19
19
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
20
- ibiz.log.debug(`界面逻辑节点(重置参数):${this.model.id}-重置参数:${dstDEUILogicParamId}`);
20
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeResetParameter', {
21
+ id: this.model.id,
22
+ dstDEUILogicParamId,
23
+ }));
21
24
  }
22
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sort-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/sort-param-node/sort-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,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,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB/C"}
1
+ {"version":3,"file":"sort-param-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/sort-param-node/sort-param-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,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,mBAAmB,CAAC;IAE7B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA0B/C"}
@@ -13,7 +13,7 @@ export class SortParamNode extends UILogicNode {
13
13
  async exec(ctx) {
14
14
  const { dstDEUILogicParamId, dstSortDir, dstFieldName } = this.model;
15
15
  if (!dstDEUILogicParamId || !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;
19
19
  const arr = ctx.params[dstDEUILogicParamId];
@@ -21,6 +21,11 @@ export class SortParamNode extends UILogicNode {
21
21
  return dstSortDir === 'ASC' ? a[key] - b[key] : b[key] - a[key];
22
22
  });
23
23
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
24
- ibiz.log.debug(`界面逻辑节点(排序数组参数):${this.model.id}-排序属性:${dstFieldName}-排序模式:${dstSortDir}-参数名称:${dstDEUILogicParamId}-排序后数组:`, arr);
24
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeSortedArrayParameters', {
25
+ id: this.model.id,
26
+ dstFieldName,
27
+ dstSortDir,
28
+ dstDEUILogicParamId,
29
+ }), arr);
25
30
  }
26
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"start-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-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/ui-logic/ui-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 { UILogicNode } from '../ui-logic-node';
11
11
  export class StartNode extends UILogicNode {
12
12
  async exec(_ctx) {
13
13
  // 启动节点,无任何操作
14
- ibiz.log.debug(`界面逻辑节点(启动节点):${this.model.id}`);
14
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeStartupNode', {
15
+ id: this.model.id,
16
+ }));
15
17
  }
16
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"throw-exception-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,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,wBAAwB,CAAC;IAElC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAOhD"}
1
+ {"version":3,"file":"throw-exception-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,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,wBAAwB,CAAC;IAElC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAUhD"}
@@ -12,7 +12,10 @@ import { UILogicNode } from '../ui-logic-node';
12
12
  export class ThrowExceptionNode extends UILogicNode {
13
13
  async exec(_ctx) {
14
14
  const { errorInfo } = this.model;
15
- ibiz.log.debug(`界面逻辑节点(抛出异常):${this.model.id}-错误信息:${errorInfo}`);
15
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeThrowingExceptions', {
16
+ id: this.model.id,
17
+ errorInfo,
18
+ }));
16
19
  throw new RuntimeError(errorInfo);
17
20
  }
18
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"view-ctrl-fire-event-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;GAOG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IAC5C,KAAK,EAAE,uBAAuB,CAAC;IAEjC,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAkC/C"}
1
+ {"version":3,"file":"view-ctrl-fire-event-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;GAOG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IAC5C,KAAK,EAAE,uBAAuB,CAAC;IAEjC,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAwD/C"}
@@ -14,23 +14,29 @@ export class ViewCtrlFireEventNode extends UILogicNode {
14
14
  const { eventName, eventParamId, fireCtrlId } = this.model;
15
15
  // 配置报错
16
16
  if (!fireCtrlId) {
17
- throw new RuntimeModelError(this.model, '没有配置触发对象');
17
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noConfiguredTriggerObject'));
18
18
  }
19
19
  if (!eventName) {
20
- throw new RuntimeModelError(this.model, '没有配置事件名称参数');
20
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noConfiguredEvent'));
21
21
  }
22
22
  if (!eventParamId) {
23
- throw new RuntimeModelError(this.model, '没有配置事件参数');
23
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noConfiguredEventParameters'));
24
24
  }
25
25
  const invokeCtrl = ctx.params[fireCtrlId];
26
26
  if (!invokeCtrl) {
27
- throw new RuntimeError(`没有找到触发对象${fireCtrlId}`);
27
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.noFoundTriggerObject', { fireCtrlId }));
28
28
  }
29
29
  const eventParam = ctx.params[eventParamId];
30
30
  if (!eventParam) {
31
- throw new RuntimeError(`没有找到事件参数对象${eventParamId}`);
31
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.noFoundEventParameterObject', {
32
+ eventParamId,
33
+ }));
32
34
  }
33
- ibiz.log.debug(`界面逻辑节点(视图部件事件触发逻辑):${this.model.id}-调用视图部件名称:${fireCtrlId}-触发事件名称:${eventName}-触发参数:`, eventParam);
35
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeViewWidgetEventTriggerLogic', {
36
+ id: this.model.id,
37
+ fireCtrlId,
38
+ eventName,
39
+ }), eventParam);
34
40
  // 触发部件事件
35
41
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
36
42
  await invokeCtrl.evt.emit(eventName, eventParam);
@@ -1 +1 @@
1
- {"version":3,"file":"view-ctrl-invoke-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;GAOG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACzC,KAAK,EAAE,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAoC/C"}
1
+ {"version":3,"file":"view-ctrl-invoke-node.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;;GAOG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACzC,KAAK,EAAE,oBAAoB,CAAC;IAE9B,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA6D/C"}
@@ -15,26 +15,36 @@ export class ViewCtrlInvokeNode extends UILogicNode {
15
15
  const { invokeMethod, invokeCtrlId, invokeParamId } = this.model;
16
16
  // 配置报错
17
17
  if (!invokeCtrlId) {
18
- throw new RuntimeModelError(this.model, '没有配置界面对象');
18
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noConfiguredInterfaceObject'));
19
19
  }
20
20
  if (!invokeParamId) {
21
- throw new RuntimeModelError(this.model, '没有配置操作参数');
21
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noConfiguredOperatingParameters'));
22
22
  }
23
23
  if (!invokeMethod) {
24
- throw new RuntimeModelError(this.model, '没有配置调用方法');
24
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.noConfiguredCallMethod'));
25
25
  }
26
26
  const invokeParam = ctx.params[invokeParamId];
27
27
  if (!invokeParam) {
28
- throw new RuntimeError(`没有找到操作参数${invokeParamId}`);
28
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.noFoundOperationParameter', {
29
+ invokeParamId,
30
+ }));
29
31
  }
30
32
  const invokeCtrl = ctx.params[invokeCtrlId];
31
33
  if (!invokeCtrl) {
32
- throw new RuntimeError(`没有找到界面对象${invokeCtrlId}`);
34
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.noFoundInterfaceObject', {
35
+ invokeCtrlId,
36
+ }));
33
37
  }
34
38
  if (!invokeCtrl[invokeMethod] || !isFunction(invokeCtrl[invokeMethod])) {
35
- throw new RuntimeError(`没有找到调用方法${invokeMethod}`);
39
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.noFoundInvokeMethod', {
40
+ invokeMethod,
41
+ }));
36
42
  }
37
- ibiz.log.debug(`界面逻辑节点(视图部件调用):${this.model.id}-调用视图部件名称:${invokeCtrlId}-调用方法名称:${invokeMethod}-触发参数:`, invokeParam);
43
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceLogicNodeViewWidgetInvocation', {
44
+ id: this.model.id,
45
+ invokeCtrlId,
46
+ invokeMethod,
47
+ }), invokeParam);
38
48
  await invokeCtrl[invokeMethod](invokeParam);
39
49
  }
40
50
  }