@ibiz-template/runtime 0.7.12-alpha.0 → 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 (298) 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/data-view/data-view.controller.js +2 -2
  24. package/out/controller/control/exp-bar/tree-exp-bar.controller.js +1 -1
  25. package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-md.controller.js +1 -1
  26. package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.js +1 -1
  27. package/out/controller/control/gantt/gantt.controller.js +2 -2
  28. package/out/controller/control/gantt/gantt.service.js +1 -1
  29. package/out/controller/control/grid/grid/grid.controller.js +4 -4
  30. package/out/controller/control/grid/grid-column/grid-field-column/grid-field-column.controller.js +1 -1
  31. package/out/controller/control/kanban/kanban.controller.js +2 -2
  32. package/out/controller/control/md-ctrl/md-ctrl.controller.js +2 -2
  33. package/out/controller/control/report-panel/generator/generator-factory.js +1 -1
  34. package/out/controller/control/search-bar/search-bar-filter-items.controller.js +1 -1
  35. package/out/controller/control/toolbar/toolbar.controllerr.js +1 -1
  36. package/out/controller/control/tree/tree.controller.js +2 -2
  37. package/out/controller/control/tree/tree.service.js +1 -1
  38. 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
  39. package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +2 -2
  40. package/out/controller/utils/data-file-util/data-file-util.js +1 -1
  41. package/out/controller/utils/value-default/value-default.js +2 -2
  42. package/out/controller/utils/view-msg/view-msg-controller.d.ts.map +1 -1
  43. package/out/controller/utils/view-msg/view-msg-controller.js +2 -2
  44. package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.d.ts.map +1 -1
  45. package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.js +6 -3
  46. package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.d.ts.map +1 -1
  47. package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.js +10 -4
  48. package/out/de-logic/de-logic-node/append-param-node/append-param-node.d.ts.map +1 -1
  49. package/out/de-logic/de-logic-node/append-param-node/append-param-node.js +4 -2
  50. package/out/de-logic/de-logic-node/bind-param-node/bind-param-node.d.ts.map +1 -1
  51. package/out/de-logic/de-logic-node/bind-param-node/bind-param-node.js +5 -2
  52. package/out/de-logic/de-logic-node/copy-param-node/copy-param-node.d.ts.map +1 -1
  53. package/out/de-logic/de-logic-node/copy-param-node/copy-param-node.js +5 -2
  54. package/out/de-logic/de-logic-node/data-set-node/data-set-node.d.ts.map +1 -1
  55. package/out/de-logic/de-logic-node/data-set-node/data-set-node.js +6 -1
  56. package/out/de-logic/de-logic-node/de-action-node/de-action-node.d.ts.map +1 -1
  57. package/out/de-logic/de-logic-node/de-action-node/de-action-node.js +8 -3
  58. package/out/de-logic/de-logic-node/end-node/end-node.d.ts.map +1 -1
  59. package/out/de-logic/de-logic-node/end-node/end-node.js +7 -2
  60. package/out/de-logic/de-logic-node/prepare-param-node/prepare-param-node.d.ts.map +1 -1
  61. package/out/de-logic/de-logic-node/prepare-param-node/prepare-param-node.js +8 -2
  62. package/out/de-logic/de-logic-node/renew-param-node/renew-param-node.d.ts.map +1 -1
  63. package/out/de-logic/de-logic-node/renew-param-node/renew-param-node.js +5 -2
  64. package/out/de-logic/de-logic-node/reset-param-node/reset-param-node.d.ts.map +1 -1
  65. package/out/de-logic/de-logic-node/reset-param-node/reset-param-node.js +5 -2
  66. package/out/de-logic/de-logic-node/sort-param-node/sort-param-node.d.ts.map +1 -1
  67. package/out/de-logic/de-logic-node/sort-param-node/sort-param-node.js +7 -2
  68. package/out/de-logic/de-logic-node/start-node/start-node.d.ts.map +1 -1
  69. package/out/de-logic/de-logic-node/start-node/start-node.js +3 -1
  70. package/out/de-logic/de-logic-node/throw-exception-node/throw-exception-node.d.ts.map +1 -1
  71. package/out/de-logic/de-logic-node/throw-exception-node/throw-exception-node.js +5 -1
  72. package/out/de-logic/de-logic-param/de-logic-param.d.ts.map +1 -1
  73. package/out/de-logic/de-logic-param/de-logic-param.js +10 -10
  74. package/out/de-logic/de-logic.d.ts.map +1 -1
  75. package/out/de-logic/de-logic.js +6 -4
  76. package/out/de-logic/index.d.ts.map +1 -1
  77. package/out/de-logic/index.js +12 -3
  78. package/out/de-logic/utils/handle-src-val.d.ts.map +1 -1
  79. package/out/de-logic/utils/handle-src-val.js +7 -3
  80. package/out/engine/engine-factory.d.ts.map +1 -1
  81. package/out/engine/engine-factory.js +1 -1
  82. package/out/engine/md-view.engine.d.ts.map +1 -1
  83. package/out/engine/md-view.engine.js +3 -3
  84. package/out/engine/view-base.engine.d.ts +1 -0
  85. package/out/engine/view-base.engine.d.ts.map +1 -1
  86. package/out/engine/view-base.engine.js +42 -5
  87. package/out/global/global-util/global-util.d.ts +9 -1
  88. package/out/global/global-util/global-util.d.ts.map +1 -1
  89. package/out/global/global-util/global-util.js +11 -3
  90. package/out/hub/config/app-view-config-service.js +2 -2
  91. package/out/interface/controller/state/view/i-view.state.d.ts +7 -0
  92. package/out/interface/controller/state/view/i-view.state.d.ts.map +1 -1
  93. package/out/interface/service/service/i-auth.service.d.ts +1 -1
  94. package/out/interface/service/service/i-auth.service.d.ts.map +1 -1
  95. package/out/interface/util/i-short-cut/i-short-cut.d.ts +58 -0
  96. package/out/interface/util/i-short-cut/i-short-cut.d.ts.map +1 -0
  97. package/out/interface/util/i-short-cut/i-short-cut.js +1 -0
  98. package/out/interface/util/index.d.ts +1 -0
  99. package/out/interface/util/index.d.ts.map +1 -1
  100. package/out/logic-scheduler/executor/app-de-ui-logic-executor.d.ts.map +1 -1
  101. package/out/logic-scheduler/executor/app-de-ui-logic-executor.js +1 -1
  102. package/out/logic-scheduler/executor/app-ui-action-executor.js +1 -1
  103. package/out/logic-scheduler/executor/app-ui-logic-executor.d.ts.map +1 -1
  104. package/out/logic-scheduler/executor/app-ui-logic-executor.js +24 -16
  105. package/out/logic-scheduler/executor/logic-executor-factory.d.ts.map +1 -1
  106. package/out/logic-scheduler/executor/logic-executor-factory.js +3 -1
  107. package/out/logic-scheduler/executor/logic-executor.d.ts.map +1 -1
  108. package/out/logic-scheduler/executor/logic-executor.js +1 -1
  109. package/out/logic-scheduler/trigger/item-dyna-logic-trigger.js +1 -1
  110. package/out/logic-scheduler/trigger/logic-trigger-factory.d.ts.map +1 -1
  111. package/out/logic-scheduler/trigger/logic-trigger-factory.js +3 -1
  112. package/out/logic-scheduler/trigger/logic-trigger.d.ts.map +1 -1
  113. package/out/logic-scheduler/trigger/logic-trigger.js +3 -1
  114. package/out/logic-scheduler/trigger/timer-trigger.d.ts.map +1 -1
  115. package/out/logic-scheduler/trigger/timer-trigger.js +2 -2
  116. package/out/model/utils/util.d.ts.map +1 -1
  117. package/out/model/utils/util.js +3 -3
  118. package/out/model/view/view.d.ts.map +1 -1
  119. package/out/model/view/view.js +3 -1
  120. package/out/platform/provider/platform-provider-base.d.ts.map +1 -1
  121. package/out/platform/provider/platform-provider-base.js +4 -4
  122. package/out/register/helper/app-counter-register.d.ts.map +1 -1
  123. package/out/register/helper/app-counter-register.js +7 -3
  124. package/out/register/helper/app-menu-item-register.d.ts.map +1 -1
  125. package/out/register/helper/app-menu-item-register.js +3 -1
  126. package/out/register/helper/async-action-register.d.ts.map +1 -1
  127. package/out/register/helper/async-action-register.js +3 -1
  128. package/out/register/helper/common-register.d.ts.map +1 -1
  129. package/out/register/helper/common-register.js +3 -1
  130. package/out/register/helper/control-register.d.ts.map +1 -1
  131. package/out/register/helper/control-register.js +13 -4
  132. package/out/register/helper/de-method-register.d.ts.map +1 -1
  133. package/out/register/helper/de-method-register.js +6 -2
  134. package/out/register/helper/editor-register.d.ts.map +1 -1
  135. package/out/register/helper/editor-register.js +14 -4
  136. package/out/register/helper/form-detail-register.d.ts.map +1 -1
  137. package/out/register/helper/form-detail-register.js +9 -3
  138. package/out/register/helper/grid-column-register.d.ts.map +1 -1
  139. package/out/register/helper/grid-column-register.js +9 -3
  140. package/out/register/helper/internal-message-register.d.ts.map +1 -1
  141. package/out/register/helper/internal-message-register.js +3 -1
  142. package/out/register/helper/panel-item-register.d.ts.map +1 -1
  143. package/out/register/helper/panel-item-register.js +17 -5
  144. package/out/register/helper/portlet-register.d.ts.map +1 -1
  145. package/out/register/helper/portlet-register.js +6 -2
  146. package/out/register/helper/tree-grid-ex-column-register.d.ts.map +1 -1
  147. package/out/register/helper/tree-grid-ex-column-register.js +6 -2
  148. package/out/register/helper/ui-action-register.d.ts.map +1 -1
  149. package/out/register/helper/ui-action-register.js +6 -2
  150. package/out/register/helper/ui-logic-node-register.d.ts.map +1 -1
  151. package/out/register/helper/ui-logic-node-register.js +3 -1
  152. package/out/register/helper/view-register.d.ts.map +1 -1
  153. package/out/register/helper/view-register.js +7 -2
  154. package/out/service/app-data-entity/app-data-entity.d.ts.map +1 -1
  155. package/out/service/app-data-entity/app-data-entity.js +9 -3
  156. package/out/service/de-service-util.js +1 -1
  157. package/out/service/dto/method.dto.d.ts.map +1 -1
  158. package/out/service/dto/method.dto.js +4 -2
  159. package/out/service/service/auth/v7-auth.service.d.ts +1 -1
  160. package/out/service/service/auth/v7-auth.service.d.ts.map +1 -1
  161. package/out/service/service/auth/v7-auth.service.js +5 -5
  162. package/out/service/service/authority/authority.service.js +1 -1
  163. package/out/service/service/authority/de-authority.service.d.ts.map +1 -1
  164. package/out/service/service/authority/de-authority.service.js +13 -6
  165. package/out/service/service/code-list/code-list.service.d.ts.map +1 -1
  166. package/out/service/service/code-list/code-list.service.js +2 -2
  167. package/out/service/service/counter/counter.service.d.ts.map +1 -1
  168. package/out/service/service/counter/counter.service.js +1 -1
  169. package/out/service/service/entity/de.service.d.ts.map +1 -1
  170. package/out/service/service/entity/de.service.js +12 -4
  171. package/out/service/service/entity/method/de-action.d.ts.map +1 -1
  172. package/out/service/service/entity/method/de-action.js +10 -5
  173. package/out/service/service/entity/method/fetch.d.ts.map +1 -1
  174. package/out/service/service/entity/method/fetch.js +4 -2
  175. package/out/service/service/entity/method/method.d.ts.map +1 -1
  176. package/out/service/service/entity/method/method.js +3 -3
  177. package/out/service/service/util/util.service.d.ts.map +1 -1
  178. package/out/service/service/util/util.service.js +6 -3
  179. package/out/service/service/work-flow/work-flow.service.d.ts.map +1 -1
  180. package/out/service/service/work-flow/work-flow.service.js +1 -1
  181. package/out/service/utils/app-counter/app-counter.js +1 -1
  182. package/out/service/utils/app-counter/app-de-counter.d.ts.map +1 -1
  183. package/out/service/utils/app-counter/app-de-counter.js +1 -1
  184. package/out/service/utils/de-cache/de-cache.d.ts.map +1 -1
  185. package/out/service/utils/de-cache/de-cache.js +18 -6
  186. package/out/service/utils/de-dq-cond/ps-de-dq-cond-engine.d.ts.map +1 -1
  187. package/out/service/utils/de-dq-cond/ps-de-dq-cond-engine.js +3 -3
  188. package/out/service/utils/de-dq-cond/ps-model-group-cond-base.js +1 -1
  189. package/out/service/utils/de-dq-cond-util/de-dq-cond-util.d.ts.map +1 -1
  190. package/out/service/utils/de-dq-cond-util/de-dq-cond-util.js +3 -1
  191. package/out/service/utils/dynamic-code-list/dynamic-code-list.d.ts.map +1 -1
  192. package/out/service/utils/dynamic-code-list/dynamic-code-list.js +4 -4
  193. package/out/service/utils/service-exist-util/service-exist-util.d.ts.map +1 -1
  194. package/out/service/utils/service-exist-util/service-exist-util.js +2 -2
  195. package/out/service/vo/tree-node-data/tree-data-set-node-data.d.ts.map +1 -1
  196. package/out/service/vo/tree-node-data/tree-data-set-node-data.js +1 -1
  197. package/out/service/vo/ui-map-field.d.ts.map +1 -1
  198. package/out/service/vo/ui-map-field.js +3 -1
  199. package/out/ui-action/provider/backend-ui-action-provider.d.ts.map +1 -1
  200. package/out/ui-action/provider/backend-ui-action-provider.js +1 -1
  201. package/out/ui-action/provider/front-ui-action-provider.d.ts +1 -1
  202. package/out/ui-action/provider/front-ui-action-provider.d.ts.map +1 -1
  203. package/out/ui-action/provider/front-ui-action-provider.js +20 -13
  204. package/out/ui-action/provider/loginout-ui-action-provider.js +2 -2
  205. package/out/ui-action/provider/ui-action-provider-base.d.ts.map +1 -1
  206. package/out/ui-action/provider/ui-action-provider-base.js +7 -4
  207. package/out/ui-action/provider/wf-withdraw-ui-action-provider.js +2 -2
  208. package/out/ui-action/uiaction-util.d.ts.map +1 -1
  209. package/out/ui-action/uiaction-util.js +1 -1
  210. package/out/ui-logic/index.d.ts.map +1 -1
  211. package/out/ui-logic/index.js +12 -3
  212. package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.d.ts.map +1 -1
  213. package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.js +6 -3
  214. package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.d.ts.map +1 -1
  215. package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.js +10 -4
  216. package/out/ui-logic/ui-logic-link/ui-logic-link.d.ts.map +1 -1
  217. package/out/ui-logic/ui-logic-link/ui-logic-link.js +4 -4
  218. package/out/ui-logic/ui-logic-node/append-param-node/append-param-node.js +2 -2
  219. package/out/ui-logic/ui-logic-node/bind-param-node/bind-param-node.d.ts.map +1 -1
  220. package/out/ui-logic/ui-logic-node/bind-param-node/bind-param-node.js +5 -2
  221. package/out/ui-logic/ui-logic-node/copy-param-node/copy-param-node.d.ts.map +1 -1
  222. package/out/ui-logic/ui-logic-node/copy-param-node/copy-param-node.js +5 -2
  223. package/out/ui-logic/ui-logic-node/data-set-node/data-set-node.d.ts.map +1 -1
  224. package/out/ui-logic/ui-logic-node/data-set-node/data-set-node.js +7 -2
  225. package/out/ui-logic/ui-logic-node/de-action-node/de-action-node.d.ts.map +1 -1
  226. package/out/ui-logic/ui-logic-node/de-action-node/de-action-node.js +8 -3
  227. package/out/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.d.ts.map +1 -1
  228. package/out/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.js +7 -2
  229. package/out/ui-logic/ui-logic-node/debug-param-node/debug-param-node.d.ts.map +1 -1
  230. package/out/ui-logic/ui-logic-node/debug-param-node/debug-param-node.js +2 -2
  231. package/out/ui-logic/ui-logic-node/end-node/end-node.d.ts.map +1 -1
  232. package/out/ui-logic/ui-logic-node/end-node/end-node.js +5 -2
  233. package/out/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.d.ts.map +1 -1
  234. package/out/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.js +10 -5
  235. package/out/ui-logic/ui-logic-node/msg-box-node/msg-box-node.d.ts.map +1 -1
  236. package/out/ui-logic/ui-logic-node/msg-box-node/msg-box-node.js +16 -10
  237. package/out/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.d.ts.map +1 -1
  238. package/out/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.js +4 -1
  239. package/out/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.d.ts.map +1 -1
  240. package/out/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.js +10 -4
  241. package/out/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.d.ts.map +1 -1
  242. package/out/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.js +3 -1
  243. package/out/ui-logic/ui-logic-node/renew-param-node/renew-param-node.d.ts.map +1 -1
  244. package/out/ui-logic/ui-logic-node/renew-param-node/renew-param-node.js +5 -2
  245. package/out/ui-logic/ui-logic-node/reset-param-node/reset-param-node.d.ts.map +1 -1
  246. package/out/ui-logic/ui-logic-node/reset-param-node/reset-param-node.js +5 -2
  247. package/out/ui-logic/ui-logic-node/sort-param-node/sort-param-node.d.ts.map +1 -1
  248. package/out/ui-logic/ui-logic-node/sort-param-node/sort-param-node.js +7 -2
  249. package/out/ui-logic/ui-logic-node/start-node/start-node.d.ts.map +1 -1
  250. package/out/ui-logic/ui-logic-node/start-node/start-node.js +3 -1
  251. package/out/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.d.ts.map +1 -1
  252. package/out/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.js +4 -1
  253. package/out/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.d.ts.map +1 -1
  254. package/out/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.js +12 -6
  255. package/out/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.d.ts.map +1 -1
  256. package/out/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.js +17 -7
  257. package/out/ui-logic/ui-logic-param/ui-logic-param.d.ts.map +1 -1
  258. package/out/ui-logic/ui-logic-param/ui-logic-param.js +10 -4
  259. package/out/ui-logic/ui-logic.d.ts.map +1 -1
  260. package/out/ui-logic/ui-logic.js +5 -3
  261. package/out/ui-logic/utils/handle-src-val.d.ts.map +1 -1
  262. package/out/ui-logic/utils/handle-src-val.js +6 -2
  263. package/out/utils/anime/anime-element-util.js +1 -1
  264. package/out/utils/anime/anime-util/anime-util.d.ts.map +1 -1
  265. package/out/utils/anime/anime-util/anime-util.js +2 -2
  266. package/out/utils/error-handler/default-error-handler.d.ts.map +1 -1
  267. package/out/utils/error-handler/default-error-handler.js +1 -1
  268. package/out/utils/error-handler/error-handler-center.d.ts.map +1 -1
  269. package/out/utils/error-handler/error-handler-center.js +1 -1
  270. package/out/utils/file-util/file-util.d.ts.map +1 -1
  271. package/out/utils/file-util/file-util.js +3 -3
  272. package/out/utils/handlebars/handlebars.js +1 -1
  273. package/out/utils/index.d.ts +1 -0
  274. package/out/utils/index.d.ts.map +1 -1
  275. package/out/utils/index.js +1 -0
  276. package/out/utils/modal/modal.d.ts.map +1 -1
  277. package/out/utils/modal/modal.js +2 -2
  278. package/out/utils/open-redirect-view/open-redirect-view.d.ts.map +1 -1
  279. package/out/utils/open-redirect-view/open-redirect-view.js +22 -9
  280. package/out/utils/script/script-function.d.ts.map +1 -1
  281. package/out/utils/script/script-function.js +1 -1
  282. package/out/utils/short-cut/index.d.ts +2 -0
  283. package/out/utils/short-cut/index.d.ts.map +1 -0
  284. package/out/utils/short-cut/index.js +1 -0
  285. package/out/utils/short-cut/short-cut-util.d.ts +89 -0
  286. package/out/utils/short-cut/short-cut-util.d.ts.map +1 -0
  287. package/out/utils/short-cut/short-cut-util.js +141 -0
  288. package/out/utils/ui-domain/transaction.js +2 -2
  289. package/out/utils/ui-domain-manager/ui-domain-manager.d.ts.map +1 -1
  290. package/out/utils/ui-domain-manager/ui-domain-manager.js +3 -1
  291. package/out/utils/verify/de-rule-verify.js +11 -11
  292. package/out/utils/verify/form-dynamic-logic.d.ts.map +1 -1
  293. package/out/utils/verify/form-dynamic-logic.js +4 -2
  294. package/out/utils/verify/panel-dynamic-logic.d.ts.map +1 -1
  295. package/out/utils/verify/panel-dynamic-logic.js +4 -2
  296. package/out/utils/verify/verify.d.ts.map +1 -1
  297. package/out/utils/verify/verify.js +3 -3
  298. package/package.json +1 -1
@@ -68,7 +68,7 @@ export class PSDEDQCondEngine extends PSModelCondEngineBase {
68
68
  // 逻辑项
69
69
  if (cond instanceof PSModelSingleCondBase) {
70
70
  if (isEmpty(cond.getParam())) {
71
- ibiz.log.warn('没有指定属性名称', cond);
71
+ ibiz.log.warn(ibiz.i18n.t('runtime.service.noAttributeName'), cond);
72
72
  }
73
73
  const objValue = data[cond.getParam().toLowerCase()];
74
74
  let objCondValue = null;
@@ -76,7 +76,7 @@ export class PSDEDQCondEngine extends PSModelCondEngineBase {
76
76
  const val = cond.getValue();
77
77
  if (valType != null && !isEmpty(valType)) {
78
78
  if (isEmpty(val)) {
79
- ibiz.log.warn('没有指定上下文参数名称');
79
+ ibiz.log.warn(ibiz.i18n.t('runtime.service.noContextParameterName'));
80
80
  }
81
81
  // 网页请求上下文
82
82
  if (PSDEDQCondEngine.PARAMTYPE_WEBCONTEXT === valType) {
@@ -94,7 +94,7 @@ export class PSDEDQCondEngine extends PSModelCondEngineBase {
94
94
  // 进行值判断
95
95
  return this.testSingleCond(cond.getCondOp(), objValue, objCondValue);
96
96
  }
97
- ibiz.log.warn(`无法识别的条件对象`, cond);
97
+ ibiz.log.warn(ibiz.log.warn(ibiz.i18n.t('runtime.service.conditionalObjects')), cond);
98
98
  return false;
99
99
  }
100
100
  createPSModelSingleCond() {
@@ -85,7 +85,7 @@ export class PSModelGroupCondBase extends PSModelCondBase {
85
85
  });
86
86
  }
87
87
  else {
88
- throw new RuntimeError('值必须为数组');
88
+ throw new RuntimeError(ibiz.i18n.t('runtime.service.mustArray'));
89
89
  }
90
90
  }
91
91
  }
@@ -1 +1 @@
1
- {"version":3,"file":"de-dq-cond-util.d.ts","sourceRoot":"","sources":["../../../../src/service/utils/de-dq-cond-util/de-dq-cond-util.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,cAAc,EAGf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAEtE;;;;;;;GAOG;AACH,qBAAa,YAAY;IACvB;;;;;;;;OAQG;IACH,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAC9C;IAEhB;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,aAAa,GAAG,gBAAgB,GAAG,IAAI;IAkB/D;;;;;;;;;OASG;IACH,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,OAAO,EAAE;CA0C9D"}
1
+ {"version":3,"file":"de-dq-cond-util.d.ts","sourceRoot":"","sources":["../../../../src/service/utils/de-dq-cond-util/de-dq-cond-util.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,cAAc,EAGf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAEtE;;;;;;;GAOG;AACH,qBAAa,YAAY;IACvB;;;;;;;;OAQG;IACH,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAC9C;IAEhB;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,aAAa,GAAG,gBAAgB,GAAG,IAAI;IAkB/D;;;;;;;;;OASG;IACH,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,OAAO,EAAE;CA+C9D"}
@@ -86,7 +86,9 @@ export class DEDQCondUtil {
86
86
  }
87
87
  }
88
88
  else {
89
- throw new ModelError(item, `暂未支持的查询条件类型: ${item.condType}`);
89
+ throw new ModelError(item, ibiz.i18n.t('runtime.service.unsupportedQueryTypes', {
90
+ condType: item.condType,
91
+ }));
90
92
  }
91
93
  arr.push(condArr);
92
94
  });
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-code-list.d.ts","sourceRoot":"","sources":["../../../../src/service/utils/dynamic-code-list/dynamic-code-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAEL,cAAc,EAGf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,OAAO,EAAe,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;AAK/D;;;;;;GAMG;AACH,KAAK,SAAS,GAAG;IACf;;;;;;OAMG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IAEvB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;CACnC,CAAC;AAEF;;;;;;;GAOG;AACH,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,GAAG,EAAG,WAAW,CAAC;IAE5B;;;;;;;OAOG;IACH,SAAS,CAAC,QAAQ,EAAE,YAAY,CAAC;IAEjC;;;;;;OAMG;IACH,SAAS,CAAC,KAAK,yBAAgC;IAE/C;;;;;;;OAOG;IACH,SAAS,CAAC,YAAY,EAAE,OAAO,CAAS;IAExC;;;;;;;OAOG;IACH,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAwB;IAEnD;;;;;;;OAOG;IACH,SAAS,CAAC,MAAM,EAAE,OAAO,CAAM;IAE/B;;;;;;OAMG;IACH,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC;QAAE,MAAM,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;KAAE,CAAC,CAClD;IAEhB;;;;;;OAMG;IACH,SAAS,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtC;;;;;;OAMG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,CAA2B;gBAE7C,QAAQ,EAAE,YAAY;IAYlC;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;IAS/D;;;;;;OAMG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAqB3B;;;;;;;OAOG;IACH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,GAAG,YAAY;IAwEhD,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,GAAG,YAAY;IAetD,SAAS,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE;IAS9C;;;;;;;;;OASG;cACa,IAAI,CAClB,OAAO,EAAE,QAAQ,EACjB,MAAM,GAAE,OAAY,GACnB,OAAO,CAAC,YAAY,EAAE,CAAC;IA0F1B;;;;OAIG;IACH,SAAS,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,GAAG,SAAS;IAmBrE;;;;;;;;OAQG;IACG,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAE,OAAY,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IA0C3E;;;;;;;OAOG;IACH,SAAS,CAAC,cAAc,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAenD;;;;;;OAMG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAS9B;;;;;;;OAOG;IACH,QAAQ,CACN,EAAE,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,EAClC,SAAS,GAAE,OAAc,GACxB,IAAI;IASP;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,GAAG,IAAI;IAInD;;;;;OAKG;IACH,OAAO,IAAI,IAAI;CAMhB"}
1
+ {"version":3,"file":"dynamic-code-list.d.ts","sourceRoot":"","sources":["../../../../src/service/utils/dynamic-code-list/dynamic-code-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAEL,cAAc,EAGf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,OAAO,EAAe,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;AAK/D;;;;;;GAMG;AACH,KAAK,SAAS,GAAG;IACf;;;;;;OAMG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IAEvB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;CACnC,CAAC;AAEF;;;;;;;GAOG;AACH,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,GAAG,EAAG,WAAW,CAAC;IAE5B;;;;;;;OAOG;IACH,SAAS,CAAC,QAAQ,EAAE,YAAY,CAAC;IAEjC;;;;;;OAMG;IACH,SAAS,CAAC,KAAK,yBAAgC;IAE/C;;;;;;;OAOG;IACH,SAAS,CAAC,YAAY,EAAE,OAAO,CAAS;IAExC;;;;;;;OAOG;IACH,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAwB;IAEnD;;;;;;;OAOG;IACH,SAAS,CAAC,MAAM,EAAE,OAAO,CAAM;IAE/B;;;;;;OAMG;IACH,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC;QAAE,MAAM,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;KAAE,CAAC,CAClD;IAEhB;;;;;;OAMG;IACH,SAAS,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtC;;;;;;OAMG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,CAA2B;gBAE7C,QAAQ,EAAE,YAAY;IAYlC;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;IAS/D;;;;;;OAMG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAqB3B;;;;;;;OAOG;IACH,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,GAAG,YAAY;IAsEhD,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,GAAG,YAAY;IAetD,SAAS,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE;IAS9C;;;;;;;;;OASG;cACa,IAAI,CAClB,OAAO,EAAE,QAAQ,EACjB,MAAM,GAAE,OAAY,GACnB,OAAO,CAAC,YAAY,EAAE,CAAC;IAgG1B;;;;OAIG;IACH,SAAS,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,GAAG,SAAS;IAmBrE;;;;;;;;OAQG;IACG,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAE,OAAY,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IA0C3E;;;;;;;OAOG;IACH,SAAS,CAAC,cAAc,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAenD;;;;;;OAMG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAS9B;;;;;;;OAOG;IACH,QAAQ,CACN,EAAE,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,EAClC,SAAS,GAAE,OAAc,GACxB,IAAI;IASP;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,GAAG,IAAI;IAInD;;;;;OAKG;IACH,OAAO,IAAI,IAAI;CAMhB"}
@@ -106,7 +106,7 @@ export class DynamicCodeListCache {
106
106
  if (predefinedType) {
107
107
  this.isPredefined = true;
108
108
  if (!['OPERATOR', 'RUNTIME', 'DEMAINSTATE'].includes(predefinedType)) {
109
- throw new ModelError(this.codeList, `预定义类型${predefinedType}暂不支持`);
109
+ throw new ModelError(this.codeList, ibiz.i18n.t('runtime.service.predefinedType', { predefinedType }));
110
110
  }
111
111
  return;
112
112
  }
@@ -172,7 +172,7 @@ export class DynamicCodeListCache {
172
172
  result.data = ScriptFactory.execSingleLine(data[dataAppDEFieldId]);
173
173
  }
174
174
  catch (error) {
175
- ibiz.log.error('动态代码表数据属性返回值不为对象格式的字符串,无法转换!');
175
+ ibiz.log.error(ibiz.i18n.t('runtime.service.dynamicCodeTable'));
176
176
  }
177
177
  }
178
178
  return result;
@@ -256,10 +256,10 @@ export class DynamicCodeListCache {
256
256
  }
257
257
  // *加载实体服务数据
258
258
  if (!appDataEntityId) {
259
- throw new RuntimeModelError(this.codeList, '未配置应用实体');
259
+ throw new RuntimeModelError(this.codeList, ibiz.i18n.t('runtime.controller.utils.viewMsg.unconfiguredEntities'));
260
260
  }
261
261
  if (!appDEDataSetId) {
262
- throw new RuntimeModelError(this.codeList, '未配置数据集');
262
+ throw new RuntimeModelError(this.codeList, ibiz.i18n.t('runtime.service.unconfiguredDataset'));
263
263
  }
264
264
  const res = await app.deService.exec(appDataEntityId, appDEDataSetId, context, undefined, tempParams);
265
265
  let resultItems = [];
@@ -1 +1 @@
1
- {"version":3,"file":"service-exist-util.d.ts","sourceRoot":"","sources":["../../../../src/service/utils/service-exist-util/service-exist-util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAQ5E;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,GAAG,OAAO,CAM7E"}
1
+ {"version":3,"file":"service-exist-util.d.ts","sourceRoot":"","sources":["../../../../src/service/utils/service-exist-util/service-exist-util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAU5E;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,GAAG,OAAO,CAQ7E"}
@@ -15,7 +15,7 @@ export function isExistSrfKey(funcName, entity) {
15
15
  return true;
16
16
  }
17
17
  }
18
- throw new RuntimeError(`执行「${funcName}」不存在「srfkey」无法处理`);
18
+ throw new RuntimeError(ibiz.i18n.t('runtime.service.processedWithout', { funcName }));
19
19
  }
20
20
  /**
21
21
  * 判断缓存 srfsessionid 是否存在,不存在抛异常
@@ -30,5 +30,5 @@ export function isExistSessionId(funcName, context) {
30
30
  if (!isNil(srfsessionid) && !isEmpty(srfsessionid)) {
31
31
  return true;
32
32
  }
33
- throw new RuntimeError(`执行「${funcName}」不存在「srfsessionid」无法处理`);
33
+ throw new RuntimeError(ibiz.i18n.t('runtime.service.noExistProcessed', { funcName }));
34
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tree-data-set-node-data.d.ts","sourceRoot":"","sources":["../../../../src/service/vo/tree-node-data/tree-data-set-node-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG3E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAahD;;;;;;;GAOG;AACH,qBAAa,mBAAoB,SAAQ,YAAa,YAAW,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,CAAC;IAEZ,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,KAAK,CAAC;IAEf,UAAU,EAAE,KAAK,CAAC;IAE1B;;;;OAIG;IACK,KAAK,EAAE,MAAM,mBAAmB,CAAC;gBAGvC,KAAK,EAAE,kBAAkB,EACzB,cAAc,EAAE,aAAa,GAAG,SAAS,EACzC,IAAI,EAAE;QACJ,IAAI,EAAE,KAAK,CAAC;QACZ,IAAI,EAAE,OAAO,CAAC;QACd,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB;IA+MH,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,kBAAkB,GAAG,KAAK,GAAG,SAAS;IAsBhE;;;;;;;OAOG;IACH,SAAS,CAAC,kBAAkB,CAC1B,QAAQ,EAAE,mBAAmB,GAC5B,MAAM,GAAG,SAAS;IAYrB;;;;;;;OAOG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,GAAG,SAAS;CAStE"}
1
+ {"version":3,"file":"tree-data-set-node-data.d.ts","sourceRoot":"","sources":["../../../../src/service/vo/tree-node-data/tree-data-set-node-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG3E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAahD;;;;;;;GAOG;AACH,qBAAa,mBAAoB,SAAQ,YAAa,YAAW,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,CAAC;IAEZ,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,KAAK,CAAC;IAEf,UAAU,EAAE,KAAK,CAAC;IAE1B;;;;OAIG;IACK,KAAK,EAAE,MAAM,mBAAmB,CAAC;gBAGvC,KAAK,EAAE,kBAAkB,EACzB,cAAc,EAAE,aAAa,GAAG,SAAS,EACzC,IAAI,EAAE;QACJ,IAAI,EAAE,KAAK,CAAC;QACZ,IAAI,EAAE,OAAO,CAAC;QACd,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB;IAkNH,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,kBAAkB,GAAG,KAAK,GAAG,SAAS;IAsBhE;;;;;;;OAOG;IACH,SAAS,CAAC,kBAAkB,CAC1B,QAAQ,EAAE,mBAAmB,GAC5B,MAAM,GAAG,SAAS;IAYrB;;;;;;;OAOG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,GAAG,SAAS;CAStE"}
@@ -116,7 +116,7 @@ export class TreeDataSetNodeData extends TreeNodeData {
116
116
  const columnKey = column.detreeColumnId; // 不配树表格列不会有这个模型
117
117
  const dataItemKey = column.dataItemName; // 配了就一定有数据项名称
118
118
  if (!columnKey || !dataItemKey) {
119
- ibiz.log.error('模型异常缺少detreeColumnId或者dataItemName', column);
119
+ ibiz.log.error(ibiz.i18n.t('runtime.service.missingDetreeColumnId'), column);
120
120
  }
121
121
  else {
122
122
  nodeColumnKeyMap.set(columnKey, dataItemKey);
@@ -1 +1 @@
1
- {"version":3,"file":"ui-map-field.d.ts","sourceRoot":"","sources":["../../../src/service/vo/ui-map-field.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,qBAAa,UAAU;IACrB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,aAAa,EAAE,OAAO,CAAS;IAE/B;;;;;;OAMG;IACH,aAAa,EAAE,OAAO,CAAQ;gBAG5B,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,IAAI,GAAE;QACJ,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACd;IAYR;;;;;OAKG;IACH,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAoBpC"}
1
+ {"version":3,"file":"ui-map-field.d.ts","sourceRoot":"","sources":["../../../src/service/vo/ui-map-field.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,qBAAa,UAAU;IACrB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,aAAa,EAAE,OAAO,CAAS;IAE/B;;;;;;OAMG;IACH,aAAa,EAAE,OAAO,CAAQ;gBAG5B,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,IAAI,GAAE;QACJ,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACd;IAYR;;;;;OAKG;IACH,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAwBpC"}
@@ -51,7 +51,9 @@ export class UIMapField {
51
51
  const numVal = !isNil(value) && value !== '' ? Number(value) : value;
52
52
  if (Number.isNaN(numVal)) {
53
53
  // 不能转换的给原值
54
- ibiz.log.debug(`${value}不能转换成数字`);
54
+ ibiz.log.debug(ibiz.i18n.t('runtime.service.convertedNumber', {
55
+ value,
56
+ }));
55
57
  return value;
56
58
  }
57
59
  return numVal;
@@ -1 +1 @@
1
- {"version":3,"file":"backend-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../src/ui-action/provider/backend-ui-action-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAc,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;;;GAQG;AACH,qBAAa,uBAAwB,SAAQ,oBAAoB;IACzD,UAAU,CACd,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CA+E5B"}
1
+ {"version":3,"file":"backend-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../src/ui-action/provider/backend-ui-action-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAc,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;;;GAQG;AACH,qBAAa,uBAAwB,SAAQ,oBAAoB;IACzD,UAAU,CACd,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CAkF5B"}
@@ -18,7 +18,7 @@ export class BackendUIActionProvider extends UIActionProviderBase {
18
18
  const entityName = action.appDataEntityId;
19
19
  const methodName = action.appDEMethodId;
20
20
  if (!entityName || !methodName) {
21
- throw new RuntimeModelError(action, '未配置实体或实体行为');
21
+ throw new RuntimeModelError(action, ibiz.i18n.t('runtime.uiAction.noEntityOrBehavior'));
22
22
  }
23
23
  // 处理参数
24
24
  const { resultContext, resultParams, resultData } = await this.handleParams(action, context, data, params);
@@ -21,7 +21,7 @@ export declare class FrontUIActionProvider extends UIActionProviderBase {
21
21
  * @param {IUILogicParams} args
22
22
  * @return {*}
23
23
  */
24
- protected doOther(action: IAppDEUIAction, args: IUILogicParams): IUIActionResult;
24
+ protected doOther(action: IAppDEUIAction, args: IUILogicParams): Promise<IUIActionResult>;
25
25
  /**
26
26
  * 执行打印行为
27
27
  * @protected
@@ -1 +1 @@
1
- {"version":3,"file":"front-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../src/ui-action/provider/front-ui-action-provider.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAa,MAAM,kBAAkB,CAAC;AAG7D,OAAO,EACL,cAAc,EACd,eAAe,EAIhB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,SAAQ,oBAAoB;IACvD,UAAU,CACd,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IAoE3B;;;;;;;;OAQG;IACH,SAAS,CAAC,OAAO,CACf,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,eAAe;IAalB;;;;;;OAMG;cACa,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC;IAiEhB;;;;;;OAMG;cACa,iBAAiB,CAC/B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IA4B3B;;;;;;OAMG;cACa,iBAAiB,CAC/B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC;IAoDhB;;;;;;;;OAQG;cACa,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CAsD5B"}
1
+ {"version":3,"file":"front-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../src/ui-action/provider/front-ui-action-provider.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAa,MAAM,kBAAkB,CAAC;AAG7D,OAAO,EACL,cAAc,EACd,eAAe,EAIhB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAIjE;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,SAAQ,oBAAoB;IACvD,UAAU,CACd,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IAyE3B;;;;;;;;OAQG;cACa,OAAO,CACrB,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IAoB3B;;;;;;OAMG;cACa,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC;IAiEhB;;;;;;OAMG;cACa,iBAAiB,CAC/B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IA+B3B;;;;;;OAMG;cACa,iBAAiB,CAC/B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC;IAwDhB;;;;;;;;OAQG;cACa,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CAsD5B"}
@@ -4,6 +4,7 @@ import { OpenAppViewCommand } from '../../command';
4
4
  import { ScriptFactory } from '../../utils';
5
5
  import { UIActionProviderBase } from './ui-action-provider-base';
6
6
  import { openDataImport } from '../../controller/utils';
7
+ import { SysUIActionTag } from '../../constant';
7
8
  /**
8
9
  * 前台调用界面行为适配器
9
10
  *
@@ -27,7 +28,7 @@ export class FrontUIActionProvider extends UIActionProviderBase {
27
28
  case 'WIZARD': {
28
29
  const frontPSAppView = action.frontAppViewId;
29
30
  if (!frontPSAppView) {
30
- throw new RuntimeModelError(action, '未配置打开视图');
31
+ throw new RuntimeModelError(action, ibiz.i18n.t('runtime.uiAction.noConfiguredopenView'));
31
32
  }
32
33
  // 处理参数
33
34
  const { resultContext, resultParams } = await this.handleParams(action, context, data, params);
@@ -55,13 +56,15 @@ export class FrontUIActionProvider extends UIActionProviderBase {
55
56
  await this.executeDataExport(action, args);
56
57
  break;
57
58
  case 'OTHER':
58
- actionResult = this.doOther(action, args);
59
+ actionResult = await this.doOther(action, args);
59
60
  break;
60
61
  case 'EDITFORM':
61
62
  actionResult = await this.openEditForm(action, args);
62
63
  break;
63
64
  default:
64
- throw new ModelError(action, `未支持的前台处理模式[${action.frontProcessType}]`);
65
+ throw new ModelError(action, ibiz.i18n.t('runtime.uiAction.frontProcessingModes', {
66
+ frontProcessType: action.frontProcessType,
67
+ }));
65
68
  }
66
69
  return actionResult;
67
70
  }
@@ -74,14 +77,18 @@ export class FrontUIActionProvider extends UIActionProviderBase {
74
77
  * @param {IUILogicParams} args
75
78
  * @return {*}
76
79
  */
77
- doOther(action, args) {
78
- const { scriptCode } = action;
80
+ async doOther(action, args) {
81
+ const { scriptCode, uiactionTag } = action;
79
82
  const { context, params, data, event, view } = args;
83
+ if (uiactionTag === SysUIActionTag.SHOTR_CUT) {
84
+ const result = await view.callUIAction(uiactionTag, args);
85
+ return result || {};
86
+ }
80
87
  if (scriptCode) {
81
88
  const result = ScriptFactory.execScriptFn({ context, params, data, el: event === null || event === void 0 ? void 0 : event.target, view }, scriptCode);
82
89
  return result || {};
83
90
  }
84
- throw new RuntimeModelError(action, '自定义类型缺少配置脚本代码');
91
+ throw new RuntimeModelError(action, ibiz.i18n.t('runtime.uiAction.missingConfigurationScriptCode'));
85
92
  }
86
93
  /**
87
94
  * 执行打印行为
@@ -106,7 +113,7 @@ export class FrontUIActionProvider extends UIActionProviderBase {
106
113
  requestUrl += `/${appDataEntity.deapicodeName2}/printdata/${resultContext[appDataEntity.codeName.toLowerCase()]}`;
107
114
  }
108
115
  else {
109
- throw new RuntimeError('没有找到数据主键');
116
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiAction.dataPrimaryKey'));
110
117
  }
111
118
  const res = await ibiz.net.request(requestUrl, {
112
119
  method: 'get',
@@ -136,11 +143,11 @@ export class FrontUIActionProvider extends UIActionProviderBase {
136
143
  }
137
144
  }
138
145
  else {
139
- throw new RuntimeError('打印失败');
146
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiAction.printFailure'));
140
147
  }
141
148
  }
142
149
  else {
143
- throw new RuntimeError('没有找到实体打印项');
150
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiAction.physicalPrint'));
144
151
  }
145
152
  }
146
153
  /**
@@ -155,7 +162,7 @@ export class FrontUIActionProvider extends UIActionProviderBase {
155
162
  const { resultContext, resultParams } = await this.handleParams(action, args.context, args.data, args.params);
156
163
  const { appDataEntityId, appDEDataImportId, frontAppViewId } = action;
157
164
  if (!appDataEntityId || !appDEDataImportId) {
158
- throw new RuntimeModelError(action, '没有配置导入模型!');
165
+ throw new RuntimeModelError(action, ibiz.i18n.t('runtime.controller.common.control.noImportModel'));
159
166
  }
160
167
  await openDataImport({
161
168
  appDataEntityId,
@@ -209,11 +216,11 @@ export class FrontUIActionProvider extends UIActionProviderBase {
209
216
  document.body.removeChild(elink);
210
217
  }
211
218
  else {
212
- throw new RuntimeError('导出请求失败');
219
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiAction.exportRequestFailed'));
213
220
  }
214
221
  }
215
222
  else {
216
- throw new RuntimeError('没有找到实体导出项');
223
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiAction.noEntityExportsFound'));
217
224
  }
218
225
  }
219
226
  /**
@@ -229,7 +236,7 @@ export class FrontUIActionProvider extends UIActionProviderBase {
229
236
  const actionResult = {};
230
237
  const { context, params, data, event } = args;
231
238
  if (!event) {
232
- throw new RuntimeError('缺少原生JS事件对象');
239
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiAction.lackNativeEvent'));
233
240
  }
234
241
  // 处理参数
235
242
  const { resultContext, resultParams } = await this.handleParams(action, context, data, params);
@@ -11,8 +11,8 @@ import { UIActionProviderBase } from './ui-action-provider-base';
11
11
  export class LoginOutUIActionProvider extends UIActionProviderBase {
12
12
  async execAction(_action, _params) {
13
13
  const confirm = await ibiz.confirm.info({
14
- title: '退出登录',
15
- desc: '您确定要退出登录吗?',
14
+ title: ibiz.i18n.t('app.logout'),
15
+ desc: ibiz.i18n.t('runtime.uiAction.wantLogout'),
16
16
  });
17
17
  if (confirm) {
18
18
  const bol = await ibiz.hub.controller.logout();
@@ -1 +1 @@
1
- {"version":3,"file":"ui-action-provider-base.d.ts","sourceRoot":"","sources":["../../../src/ui-action/provider/ui-action-provider-base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAgC,MAAM,kBAAkB,CAAC;AAChF,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAMzB;;;;;;;GAOG;AACH,8BAAsB,oBAAqB,YAAW,iBAAiB;IACrE;;;;;;;OAOG;IACG,IAAI,CACR,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IAqE3B;;;;;;;;OAQG;IACH,SAAS,CAAC,iBAAiB,CACzB,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,eAAe,GACtB,cAAc;IASjB;;;;;;;;OAQG;IACH,SAAS,CAAC,WAAW,CACnB,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,eAAe,GACpB,eAAe;IAQlB;;;;;;;OAOG;IACG,SAAS,CACb,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,OAAO,CAAC;IAQnB;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,UAAU,CACjB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,eAAe,CAAC;IAE3B;;;;;;;;;;;OAWG;IACG,YAAY,CAChB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAOvC;;;;;;;;;;;;;;;;OAgBG;cACa,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EAAE,EACb,MAAM,EAAE,OAAO,GACd,OAAO,CAAC;QACT,aAAa,EAAE,QAAQ,CAAC;QACxB,UAAU,EAAE,KAAK,EAAE,CAAC;QACpB,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;IAwFF;;;;;;;;;OASG;IACH,SAAS,CAAC,WAAW,CACnB,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,MAAM,GAAG,SAAS;IA4CrB;;;;;;;;OAQG;IACH,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;CAY5C"}
1
+ {"version":3,"file":"ui-action-provider-base.d.ts","sourceRoot":"","sources":["../../../src/ui-action/provider/ui-action-provider-base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAgC,MAAM,kBAAkB,CAAC;AAChF,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAMzB;;;;;;;GAOG;AACH,8BAAsB,oBAAqB,YAAW,iBAAiB;IACrE;;;;;;;OAOG;IACG,IAAI,CACR,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IA2E3B;;;;;;;;OAQG;IACH,SAAS,CAAC,iBAAiB,CACzB,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,eAAe,GACtB,cAAc;IASjB;;;;;;;;OAQG;IACH,SAAS,CAAC,WAAW,CACnB,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,eAAe,GACpB,eAAe;IAQlB;;;;;;;OAOG;IACG,SAAS,CACb,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,OAAO,CAAC;IAWnB;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,UAAU,CACjB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,eAAe,CAAC;IAE3B;;;;;;;;;;;OAWG;IACG,YAAY,CAChB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAOvC;;;;;;;;;;;;;;;;OAgBG;cACa,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EAAE,EACb,MAAM,EAAE,OAAO,GACd,OAAO,CAAC;QACT,aAAa,EAAE,QAAQ,CAAC;QACxB,UAAU,EAAE,KAAK,EAAE,CAAC;QACpB,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;IAwFF;;;;;;;;;OASG;IACH,SAAS,CAAC,WAAW,CACnB,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,MAAM,GAAG,SAAS;IA4CrB;;;;;;;;OAQG;IACH,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;CAc5C"}
@@ -34,7 +34,7 @@ export class UIActionProviderBase {
34
34
  const { appDEUILogicId, appDataEntityId, uilogicAttachMode } = action;
35
35
  if (uilogicAttachMode === 'REPLACE') {
36
36
  if (!appDEUILogicId) {
37
- throw new RuntimeModelError(action, '没有配置实体界面逻辑');
37
+ throw new RuntimeModelError(action, ibiz.i18n.t('runtime.logicScheduler.executor.noConfiguredLogic'));
38
38
  }
39
39
  await execUILogic(appDEUILogicId, appDataEntityId, args);
40
40
  return result;
@@ -53,7 +53,7 @@ export class UIActionProviderBase {
53
53
  // ** 界面行为执行之后,执行界面逻辑
54
54
  if (action.uilogicAttachMode === 'AFTER') {
55
55
  if (!appDEUILogicId) {
56
- throw new RuntimeModelError(action, '没有配置实体界面逻辑');
56
+ throw new RuntimeModelError(action, ibiz.i18n.t('runtime.logicScheduler.executor.noConfiguredLogic'));
57
57
  }
58
58
  await execUILogic(appDEUILogicId, appDataEntityId, this.mergeArgsByResult(args, result));
59
59
  }
@@ -113,7 +113,10 @@ export class UIActionProviderBase {
113
113
  async isConfirm(action, args) {
114
114
  const confirmMsg = this.calcMessage('confirm', action, args);
115
115
  if (action.enableConfirm && confirmMsg) {
116
- return ibiz.confirm.warning({ title: '操作确认', desc: confirmMsg });
116
+ return ibiz.confirm.warning({
117
+ title: ibiz.i18n.t('runtime.uiAction.operationConfirmation'),
118
+ desc: confirmMsg,
119
+ });
117
120
  }
118
121
  return true;
119
122
  }
@@ -284,7 +287,7 @@ export class UIActionProviderBase {
284
287
  return { modalOption };
285
288
  }
286
289
  catch (error) {
287
- ibiz.log.error(`视图参数modalOption 解析失败:${error}`);
290
+ ibiz.log.error(ibiz.i18n.t('runtime.uiAction.viewParameterModalOption', { error }));
288
291
  }
289
292
  }
290
293
  return {};
@@ -12,8 +12,8 @@ export class WFWithdrawUIActionProvider extends UIActionProviderBase {
12
12
  async execAction(_action, args) {
13
13
  const { view } = args;
14
14
  const isWithdraw = await ibiz.modal.confirm({
15
- title: '提示',
16
- desc: '是否确认执行撤回操作?',
15
+ title: ibiz.i18n.t('runtime.controller.control.form.prompt'),
16
+ desc: ibiz.i18n.t('runtime.uiAction.withdrawalConfirmed'),
17
17
  });
18
18
  let isCloseView = false;
19
19
  if (isWithdraw && view) {
@@ -1 +1 @@
1
- {"version":3,"file":"uiaction-util.d.ts","sourceRoot":"","sources":["../../src/ui-action/uiaction-util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/D;;;;;;;GAOG;AACH,qBAAa,YAAY;IACvB;;;;;;;;;OASG;WACU,IAAI,CACf,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,eAAe,CAAC;IAgB3B;;;;;;;OAOG;WACU,eAAe,CAC1B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,IAAI,CAAC;IA6BhB;;;;;;;;;OASG;mBACkB,iBAAiB;IAMtC;;;;;;;;;;OAUG;mBACkB,sBAAsB;CAW5C"}
1
+ {"version":3,"file":"uiaction-util.d.ts","sourceRoot":"","sources":["../../src/ui-action/uiaction-util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/D;;;;;;;GAOG;AACH,qBAAa,YAAY;IACvB;;;;;;;;;OASG;WACU,IAAI,CACf,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,eAAe,CAAC;IAkB3B;;;;;;;OAOG;WACU,eAAe,CAC1B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,IAAI,CAAC;IA6BhB;;;;;;;;;OASG;mBACkB,iBAAiB;IAMtC;;;;;;;;;;OAUG;mBACkB,sBAAsB;CAW5C"}
@@ -24,7 +24,7 @@ export class UIActionUtil {
24
24
  static async exec(actionId, params, appId) {
25
25
  const action = await getUIActionById(actionId, appId);
26
26
  if (!action) {
27
- throw new RuntimeError(`没找到${actionId}的界面行为模型`);
27
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiAction.noFoundBehaviorModel', { actionId }));
28
28
  }
29
29
  // 单项数据的界面行为执行前校验表单的数据,不通过则拦截
30
30
  if (action.actionTarget === 'SINGLEDATA') {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui-logic/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAQ9C;;;;;;;;;;;;GAYG;AACH,wBAAsB,WAAW,CAC/B,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,cAAc,GACzB,OAAO,CAAC,OAAO,CAAC,CAoBlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui-logic/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAQ9C;;;;;;;;;;;;GAYG;AACH,wBAAsB,WAAW,CAC/B,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,cAAc,GACzB,OAAO,CAAC,OAAO,CAAC,CA6BlB"}
@@ -21,14 +21,23 @@ export async function execUILogic(deUILogicId, appDataEntityId, parameters) {
21
21
  const app = ibiz.hub.getApp(parameters.context.srfappid);
22
22
  const deUILogic = await app.getDEUILogic(deUILogicId, appDataEntityId);
23
23
  if (!deUILogic) {
24
- throw new RuntimeError(`找不到实体${appDataEntityId}的界面逻辑${deUILogicId}`);
24
+ throw new RuntimeError(ibiz.i18n.t('runtime.uiLogic.interfaceLogic', {
25
+ appDataEntityId,
26
+ deUILogicId,
27
+ }));
25
28
  }
26
29
  if (!uiLogicMap.has(deUILogic)) {
27
30
  uiLogicMap.set(deUILogic, new UILogic(deUILogic));
28
31
  }
29
- ibiz.log.debug(`开始执行界面逻辑,实体:${appDataEntityId}-逻辑名称:${deUILogic.name}`);
32
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.startExecutingInterfaceLogic', {
33
+ appDataEntityId,
34
+ name: deUILogic.name,
35
+ }));
30
36
  const uiLogic = uiLogicMap.get(deUILogic);
31
37
  const result = await uiLogic.exec(parameters);
32
- ibiz.log.debug(`结束执行界面逻辑,实体:${appDataEntityId}-逻辑名称:${deUILogic.name}`);
38
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.endExecutionInterfaceLogic', {
39
+ appDataEntityId,
40
+ name: deUILogic.name,
41
+ }));
33
42
  return result;
34
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ui-logic-link-group-cond.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,uBAAuB,EACxB,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,uBAAuB;IApCjD;;;;;;;;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,uBAAuB;IAUjD;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO;CA0BnE"}
1
+ {"version":3,"file":"ui-logic-link-group-cond.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,uBAAuB,EACxB,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,uBAAuB;IApCjD;;;;;;;;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,uBAAuB;IAUjD;;;;;;;;;OASG;IACH,IAAI,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO;CAgCnE"}
@@ -56,9 +56,9 @@ export class UILogicLinkGroupCond extends UILogicLinkCond {
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.uiLogic.interfaceConnectionConditional'));
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 UILogicLinkGroupCond extends UILogicLinkCond {
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.uiLogic.connectionConditionGroup', {
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":"ui-logic-link-single-cond.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAE3E;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,SAAQ,eAAe;IAmCrC,KAAK,EAAE,sBAAsB;IAlChD;;;;;;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,IAAI,IAAI,IAAI,MAAM,GAAG,SAAS,CAE7B;IAED,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;CAuDnE"}
1
+ {"version":3,"file":"ui-logic-link-single-cond.d.ts","sourceRoot":"","sources":["../../../../src/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAE3E;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,SAAQ,eAAe;IAmCrC,KAAK,EAAE,sBAAsB;IAlChD;;;;;;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,IAAI,IAAI,IAAI,MAAM,GAAG,SAAS,CAE7B;IAED,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;CAgEnE"}
@@ -50,7 +50,7 @@ export class UILogicLinkSingleCond extends UILogicLinkCond {
50
50
  switch (this.type) {
51
51
  case 'ENTITYFIELD': {
52
52
  if (!this.value) {
53
- throw new RuntimeModelError(this.model, '当前条件值类型为[数据对象属性],缺少配置条件值');
53
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.currentConditionValue'));
54
54
  }
55
55
  // 数据对象属性
56
56
  const value = data[this.value] != null ? data[this.value] : context[this.value];
@@ -60,7 +60,7 @@ export class UILogicLinkSingleCond extends UILogicLinkCond {
60
60
  }
61
61
  case 'SRCENTITYFIELD': {
62
62
  if (!this.value) {
63
- throw new RuntimeModelError(this.model, '当前条件值类型为[源数据对象属性],缺少配置条件值');
63
+ throw new RuntimeModelError(this.model, ibiz.i18n.t('runtime.uiLogic.sourceDataObjectAttribute'));
64
64
  }
65
65
  // 源数据对象属性
66
66
  const srcVal = handleSrcVal(ctx, {
@@ -72,12 +72,18 @@ export class UILogicLinkSingleCond extends UILogicLinkCond {
72
72
  break;
73
73
  }
74
74
  case 'CURTIME': // 当前时间
75
- throw new ModelError(this.model, `暂未支持条件值类型为[当前时间]`);
75
+ throw new ModelError(this.model, ibiz.i18n.t('runtime.uiLogic.currentTime'));
76
76
  default: // 直接使用目标对象参数属性和值做对比
77
77
  compareValue = this.value;
78
78
  result = testCond(dstVal, this.op, this.value);
79
79
  }
80
- ibiz.log.debug(`界面逻辑连接条件项:${this.model.name}-条件值类型:${this.type}-源属性名称:${this.dstField}-源对象值:`, dstVal, `-对比条件:${this.op}`, `-对比值:`, compareValue, `-对比结果:`, result);
80
+ ibiz.log.debug(ibiz.i18n.t('runtime.uiLogic.interfaceConnectionConditionalTypeName', {
81
+ name: this.model.name,
82
+ type: this.type,
83
+ dstField: this.dstField,
84
+ }), dstVal, ibiz.i18n.t('runtime.deLogic.deLogicLink.comparisonCondition', {
85
+ op: this.op,
86
+ }), ibiz.i18n.t('runtime.deLogic.deLogicLink.comparisonValue'), compareValue, ibiz.i18n.t('runtime.deLogic.deLogicLink.compareResults'), result);
81
87
  return result;
82
88
  }
83
89
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ui-logic-link.d.ts","sourceRoot":"","sources":["../../../src/ui-logic/ui-logic-link/ui-logic-link.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAE3F;;;;;;;GAOG;AACH,qBAAa,WAAW;IAmCH,KAAK,EAAE,cAAc;IAlCxC;;;;;;OAMG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEnC;;;;;;OAMG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEnC;;;;;;OAMG;IACH,SAAS,EAAE,oBAAoB,GAAG,IAAI,CAAQ;IAE9C;;;;;;OAMG;gBACgB,KAAK,EAAE,cAAc;IASxC;;;;;;;;;;OAUG;IACG,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;CA2BlD"}
1
+ {"version":3,"file":"ui-logic-link.d.ts","sourceRoot":"","sources":["../../../src/ui-logic/ui-logic-link/ui-logic-link.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAE3F;;;;;;;GAOG;AACH,qBAAa,WAAW;IAmCH,KAAK,EAAE,cAAc;IAlCxC;;;;;;OAMG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEnC;;;;;;OAMG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEnC;;;;;;OAMG;IACH,SAAS,EAAE,oBAAoB,GAAG,IAAI,CAAQ;IAE9C;;;;;;OAMG;gBACgB,KAAK,EAAE,cAAc;IASxC;;;;;;;;;;OAUG;IACG,IAAI,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;CAuClD"}
@@ -74,13 +74,13 @@ export class UILogicLink {
74
74
  case 1: // 默认连接
75
75
  return true;
76
76
  case 2: // 异步结束
77
- throw new ModelError(this.model, `未支持的逻辑连接类型: 异步结束`);
77
+ throw new ModelError(this.model, ibiz.i18n.t('runtime.uiLogic.asynchronousTermination'));
78
78
  case 3: // 异步拒绝
79
- throw new ModelError(this.model, `未支持的逻辑连接类型: 异步拒绝`);
79
+ throw new ModelError(this.model, ibiz.i18n.t('runtime.uiLogic.asynchronousRejection'));
80
80
  case 9: // 异常处理
81
- throw new ModelError(this.model, `未支持的逻辑连接类型: 异常处理`);
81
+ throw new ModelError(this.model, ibiz.i18n.t('runtime.uiLogic.exceptionHandling'));
82
82
  default:
83
- throw new ModelError(this.model, `未支持的逻辑连接类型:${linkMode}`);
83
+ throw new ModelError(this.model, ibiz.i18n.t('runtime.uiLogic.logicalLinkTypes', { linkMode }));
84
84
  }
85
85
  }
86
86
  }
@@ -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"}