@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
package/dist/index.esm.js CHANGED
@@ -96,7 +96,9 @@ var DefaultErrorHandler = class {
96
96
  ibiz.message.error(error.message, 10, true);
97
97
  } else if (error instanceof HttpError) {
98
98
  if (error.status === 401) {
99
- ibiz.message.error("\u6CA1\u6709\u6CE8\u518C\u65E0\u6743\u9650\u9519\u8BEF\u5904\u7406\u5668");
99
+ ibiz.message.error(
100
+ ibiz.i18n.t("runtime.utils.errorHandler.noPermissionless")
101
+ );
100
102
  } else if (error.status === 404) {
101
103
  ibiz.mc.error.send(error);
102
104
  } else {
@@ -148,7 +150,10 @@ var ErrorHandlerCenter = class {
148
150
  return !!item.handle(error);
149
151
  });
150
152
  if (!find) {
151
- ibiz.log.error("\u6CA1\u6709\u627E\u5230\u80FD\u5904\u7406\u8BE5\u9519\u8BEF\u7684\u5904\u7406\u5668", error);
153
+ ibiz.log.error(
154
+ ibiz.i18n.t("runtime.utils.errorHandler.noProcessor"),
155
+ error
156
+ );
152
157
  }
153
158
  }
154
159
  /**
@@ -594,7 +599,7 @@ var HandlebarsUtil = class {
594
599
  */
595
600
  syncRender(template, data) {
596
601
  if (!this.hsb) {
597
- throw new Error("handlebars not init");
602
+ throw new Error(ibiz.i18n.t("runtime.utils.handlebars.noInitHandlebars"));
598
603
  }
599
604
  const tmp = this.hsb.compile(template);
600
605
  return tmp(data);
@@ -804,17 +809,23 @@ function parseUserParams(userParams) {
804
809
  function getPFPlugin(id, appId2) {
805
810
  const app = ibiz.hub.getApp(appId2);
806
811
  if (!app) {
807
- throw new RuntimeModelError2(app, "\u672A\u627E\u5230\u5E94\u7528");
812
+ throw new RuntimeModelError2(
813
+ app,
814
+ ibiz.i18n.t("runtime.model.utils.noFoundApplication")
815
+ );
808
816
  }
809
817
  const { model } = app;
810
818
  if (!model.appPFPluginRefs) {
811
- throw new RuntimeModelError2(model, "\u5E94\u7528\u672A\u914D\u7F6E\u63D2\u4EF6");
819
+ throw new RuntimeModelError2(
820
+ model,
821
+ ibiz.i18n.t("runtime.model.utils.unconfiguredPlugins")
822
+ );
812
823
  }
813
824
  const plugin = model.appPFPluginRefs.find(
814
825
  (item) => item.pluginCode.toLowerCase() === id.toLowerCase()
815
826
  );
816
827
  if (!plugin) {
817
- throw new Error("\u672A\u627E\u5230\u63D2\u4EF6".concat(id));
828
+ throw new Error(ibiz.i18n.t("runtime.model.utils.noFound", { id }));
818
829
  }
819
830
  return plugin;
820
831
  }
@@ -1145,7 +1156,11 @@ function getViewEngines(view) {
1145
1156
  return appViewEngines.filter((engine2) => {
1146
1157
  switch (engine2.engineCat) {
1147
1158
  case "CTRL":
1148
- ibiz.log.warn("\u672A\u652F\u6301\u7684\u5F15\u64CE\u5206\u7C7B\uFF1A".concat(engine2.engineType));
1159
+ ibiz.log.warn(
1160
+ ibiz.i18n.t("runtime.model.view.engineClassifications", {
1161
+ engineType: engine2.engineType
1162
+ })
1163
+ );
1149
1164
  return false;
1150
1165
  default:
1151
1166
  return true;
@@ -1216,7 +1231,13 @@ function parseViewProtocol(urlStr) {
1216
1231
  try {
1217
1232
  Object.assign(context, JSON.parse(navCtx));
1218
1233
  } catch (error) {
1219
- ibiz.log.error("\u91CD\u5B9A\u5411[".concat(urlStr, "] \u4E2D srfnavctx \u53C2\u6570\u89E3\u6790\u5931\u8D25"), error);
1234
+ ibiz.log.error(
1235
+ ibiz.i18n.t(
1236
+ "runtime.utils.openRedirectView.parseSrfnavctxParameter",
1237
+ { urlStr }
1238
+ ),
1239
+ error
1240
+ );
1220
1241
  }
1221
1242
  url.searchParams.delete("srfnavctx");
1222
1243
  }
@@ -1263,12 +1284,18 @@ async function getLocalOpenWFRedirectView(context, linkUrl, opts = {}) {
1263
1284
  const params = qs.parse(queryStr, { delimiter: ";" });
1264
1285
  const deName = params.srfdename || "";
1265
1286
  if (!deName) {
1266
- throw new RuntimeError2("\u91CD\u5B9A\u5411\u53C2\u6570\u7F3A\u5C11\u5B9E\u4F53\u540D\u79F0");
1287
+ throw new RuntimeError2(
1288
+ ibiz.i18n.t("runtime.utils.openRedirectView.missingEntityName")
1289
+ );
1267
1290
  }
1268
1291
  const app = ibiz.hub.getApp(context.srfappid);
1269
1292
  const deCodeName = app.deName2DeCodeName.get(deName.toUpperCase());
1270
1293
  if (!deCodeName) {
1271
- throw new RuntimeError2("\u672A\u627E\u5230\u6307\u5B9A\u5B9E\u4F53\u7684codeName: ".concat(deName));
1294
+ throw new RuntimeError2(
1295
+ ibiz.i18n.t("runtime.utils.openRedirectView.noFoundSpecifiedEntity", {
1296
+ deName
1297
+ })
1298
+ );
1272
1299
  }
1273
1300
  params[deCodeName.toLowerCase()] = params[deName.toLowerCase()];
1274
1301
  const deRdViewCodeName = "".concat(deCodeName).concat(ibiz.env.isMob ? "Mob" : "", "RedirectView");
@@ -1332,7 +1359,11 @@ async function getDERedirectToView(appView, context, params = {}, opts = {}) {
1332
1359
  );
1333
1360
  return { type: "view", ...toView };
1334
1361
  }
1335
- throw new RuntimeError2("\u672A\u652F\u6301\u7684linkUrl\u683C\u5F0F:".concat(linkUrl));
1362
+ throw new RuntimeError2(
1363
+ ibiz.i18n.t("runtime.utils.openRedirectView.unsupportedLinkUrl", {
1364
+ linkUrl
1365
+ })
1366
+ );
1336
1367
  }
1337
1368
  }
1338
1369
  } finally {
@@ -1375,10 +1406,15 @@ async function getDERedirectToView(appView, context, params = {}, opts = {}) {
1375
1406
  opts: { ...opts, data: [curData] }
1376
1407
  };
1377
1408
  }
1378
- throw new RuntimeModelError3(refView, "\u672A\u914D\u7F6E\u5B9E\u9645\u5F15\u7528\u89C6\u56FE");
1409
+ throw new RuntimeModelError3(
1410
+ refView,
1411
+ ibiz.i18n.t(
1412
+ "runtime.utils.openRedirectView.noConfiguredActualReference"
1413
+ )
1414
+ );
1379
1415
  } else {
1380
1416
  ibiz.log.error(
1381
- "\u91CD\u5B9A\u5411\u89C6\u56FE\u5F15\u7528\u6709\uFF1A",
1417
+ ibiz.i18n.t("runtime.utils.openRedirectView.redirectingViewReferences"),
1382
1418
  allRefViews == null ? void 0 : allRefViews.map(({ refAppViewId, name, realTitle }) => ({
1383
1419
  viewId: refAppViewId,
1384
1420
  tag: name,
@@ -1387,7 +1423,11 @@ async function getDERedirectToView(appView, context, params = {}, opts = {}) {
1387
1423
  );
1388
1424
  throw new RuntimeModelError3(
1389
1425
  appView,
1390
- "\u672A\u627E\u5230\u91CD\u5B9A\u5411\u6807\u8BC6[".concat(rdTag, "]\u6216[").concat(deRdTag, "]\u6216\u5DE5\u4F5C\u6D41[").concat(wfRdTag, "]\u5BF9\u5E94\u89C6\u56FE")
1426
+ ibiz.i18n.t("runtime.utils.openRedirectView.redirectionIdentifier", {
1427
+ rdTag,
1428
+ deRdTag,
1429
+ wfRdTag
1430
+ })
1391
1431
  );
1392
1432
  }
1393
1433
  }
@@ -1400,7 +1440,12 @@ async function getDERedirectToView(appView, context, params = {}, opts = {}) {
1400
1440
  opts: { ...opts, data: [curData] }
1401
1441
  };
1402
1442
  }
1403
- throw new RuntimeModelError3(appView, "\u6807\u8BC6[".concat(rdTag, "]\u672A\u5339\u914D\u5230\u5B9E\u9645\u5F15\u7528\u89C6\u56FE"));
1443
+ throw new RuntimeModelError3(
1444
+ appView,
1445
+ ibiz.i18n.t("runtime.utils.openRedirectView.noMatchActualReferenceView", {
1446
+ rdTag
1447
+ })
1448
+ );
1404
1449
  }
1405
1450
  async function openDERedirectView(appView, context, params = {}, opts = {}) {
1406
1451
  let toView;
@@ -1443,7 +1488,10 @@ async function calcDERdTag(entity, rdView, params, data) {
1443
1488
  return "".concat(value.toUpperCase());
1444
1489
  }
1445
1490
  ibiz.log.warn(
1446
- "\u91CD\u5B9A\u5411\u89C6\u56FE[".concat(rdView.name, "]\u81EA\u5B9A\u4E49\u7C7B\u522B\u5C5E\u6027[").concat(typeFieldId, "]\u503C\u4E3A\u7A7A"),
1491
+ ibiz.i18n.t("runtime.utils.openRedirectView.redirectionView", {
1492
+ name: rdView.name,
1493
+ typeFieldId
1494
+ }),
1447
1495
  data
1448
1496
  );
1449
1497
  }
@@ -1515,7 +1563,9 @@ function testCond(value, op, value2) {
1515
1563
  case "RIGHTLIKE":
1516
1564
  return strContain(value, value2, "end");
1517
1565
  default:
1518
- throw new RuntimeError3("\u503C\u64CD\u4F5C\uFF1A".concat(op, "\uFF0C\u6682\u672A\u652F\u6301"));
1566
+ throw new RuntimeError3(
1567
+ ibiz.i18n.t("runtime.utils.verify.valueOperations", { op })
1568
+ );
1519
1569
  }
1520
1570
  }
1521
1571
  function compare(value, value2) {
@@ -1529,7 +1579,9 @@ function compare(value, value2) {
1529
1579
  if (!Number.isNaN(date1) && !Number.isNaN(date2)) {
1530
1580
  return compareNumber(date1, date2);
1531
1581
  }
1532
- throw new RuntimeError3("".concat(value, " \u548C ").concat(value2, " \u65E0\u6CD5\u6BD4\u8F83\u5927\u5C0F"));
1582
+ throw new RuntimeError3(
1583
+ ibiz.i18n.t("runtime.utils.verify.noCompared", { value, value2 })
1584
+ );
1533
1585
  }
1534
1586
  function compareNumber(value, value2) {
1535
1587
  if (Number.isNaN(value)) {
@@ -1548,7 +1600,9 @@ function compareNumber(value, value2) {
1548
1600
  }
1549
1601
  function contains(value, value2) {
1550
1602
  if (!value2 || typeof value2 !== "string") {
1551
- throw new RuntimeError3("\u8303\u56F4\u6BD4\u8F83\u7684\u6761\u4EF6\u503C\u4E0D\u5B58\u6216\u8005\u4E0D\u662F\u5B57\u7B26\u4E32");
1603
+ throw new RuntimeError3(
1604
+ ibiz.i18n.t("runtime.utils.verify.conditionalValues")
1605
+ );
1552
1606
  }
1553
1607
  if (value) {
1554
1608
  const arr = value2.split(",");
@@ -1596,7 +1650,10 @@ var ScriptFunction = class {
1596
1650
  try {
1597
1651
  return fn.apply({}, args);
1598
1652
  } catch (error) {
1599
- ibiz.log.error("\u62A5\u9519\u811A\u672C", code);
1653
+ ibiz.log.error(
1654
+ ibiz.i18n.t("runtime.utils.script.errorReportingScript"),
1655
+ code
1656
+ );
1600
1657
  throw error;
1601
1658
  }
1602
1659
  };
@@ -1932,7 +1989,7 @@ function checkFieldSimpleRule(value, op, value2, errorInfo, paramType, form, pri
1932
1989
  value2 = _value2Field;
1933
1990
  }
1934
1991
  if (isNil4(errorInfo) || isEmpty3(errorInfo)) {
1935
- errorInfo = "\u5185\u5BB9\u5FC5\u987B\u7B26\u5408\u503C\u89C4\u5219";
1992
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.contentConform");
1936
1993
  }
1937
1994
  const result = testCond(value, op, value2);
1938
1995
  if (!result) {
@@ -1944,14 +2001,14 @@ function checkFieldSimpleRule(value, op, value2, errorInfo, paramType, form, pri
1944
2001
  }
1945
2002
  function checkFieldStringLengthRule(viewValue, minLength, indexOfMin, maxLength, indexOfMax, errorInfo, primaryModel) {
1946
2003
  if (isNilOrEmpty4(errorInfo)) {
1947
- errorInfo = "\u5185\u5BB9\u957F\u5EA6\u5FC5\u987B\u7B26\u5408\u8303\u56F4\u89C4\u5219";
2004
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.scopeRules");
1948
2005
  }
1949
2006
  const judge = isNilOrEmpty4(viewValue);
1950
2007
  if (judge) {
1951
2008
  if (primaryModel) {
1952
- throw new RuntimeError4("\u503C\u4E3A\u7A7A");
2009
+ throw new RuntimeError4(ibiz.i18n.t("runtime.utils.verify.valueNull"));
1953
2010
  }
1954
- errorInfo = "\u503C\u4E3A\u7A7A";
2011
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.valueNull");
1955
2012
  return true;
1956
2013
  }
1957
2014
  const viewValueLength = viewValue.length;
@@ -1990,14 +2047,14 @@ function checkFieldStringLengthRule(viewValue, minLength, indexOfMin, maxLength,
1990
2047
  }
1991
2048
  function checkFieldRegExRule(viewValue, strReg, errorInfo, primaryModel) {
1992
2049
  if (isNilOrEmpty4(errorInfo)) {
1993
- errorInfo = "\u503C\u5FC5\u987B\u7B26\u5408\u6B63\u5219\u89C4\u5219";
2050
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.regularRules");
1994
2051
  }
1995
2052
  const judge = isNilOrEmpty4(viewValue);
1996
2053
  if (judge) {
1997
2054
  if (primaryModel) {
1998
- throw new RuntimeError4("\u503C\u4E3A\u7A7A");
2055
+ throw new RuntimeError4(ibiz.i18n.t("runtime.utils.verify.valueNull"));
1999
2056
  }
2000
- errorInfo = "\u503C\u4E3A\u7A7A";
2057
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.valueNull");
2001
2058
  return true;
2002
2059
  }
2003
2060
  const regExp = new RegExp(strReg);
@@ -2012,14 +2069,14 @@ function checkFieldRegExRule(viewValue, strReg, errorInfo, primaryModel) {
2012
2069
  }
2013
2070
  function checkFieldValueRangeRule(viewValue, minNumber, indexOfMin, maxNumber, indexOfMax, errorInfo, primaryModel) {
2014
2071
  if (isNilOrEmpty4(errorInfo)) {
2015
- errorInfo = "\u503C\u5FC5\u987B\u7B26\u5408\u503C\u8303\u56F4\u89C4\u5219";
2072
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.rangeRules");
2016
2073
  }
2017
2074
  const isEmptyVal = isNilOrEmpty4(viewValue);
2018
2075
  if (isEmptyVal) {
2019
2076
  if (primaryModel) {
2020
- throw new RuntimeError4("\u503C\u4E3A\u7A7A");
2077
+ throw new RuntimeError4(ibiz.i18n.t("runtime.utils.verify.valueNull"));
2021
2078
  }
2022
- errorInfo = "\u503C\u4E3A\u7A7A";
2079
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.valueNull");
2023
2080
  return true;
2024
2081
  }
2025
2082
  const valueFormat = checkFieldRegExRule(
@@ -2067,7 +2124,7 @@ function checkFieldValueRangeRule(viewValue, minNumber, indexOfMin, maxNumber, i
2067
2124
  }
2068
2125
  function checkFieldScriptRule(value, data, scriptCode, errorInfo, primaryModel) {
2069
2126
  if (isNilOrEmpty4(errorInfo)) {
2070
- errorInfo = "\u503C\u5FC5\u987B\u7B26\u5408\u811A\u672C\u89C4\u5219";
2127
+ errorInfo = ibiz.i18n.t("runtime.utils.verify.scriptRules");
2071
2128
  }
2072
2129
  const source = data;
2073
2130
  let selfError = "";
@@ -2116,7 +2173,10 @@ function verifyFormGroupLogic(data, logic) {
2116
2173
  if (isGroupLogic(logic)) {
2117
2174
  const children = logic.defdlogics;
2118
2175
  if (!children || children.length === 0) {
2119
- throw new RuntimeModelError4(logic, "\u53D1\u73B0\u7A7A\u903B\u8F91\u7EC4\uFF0C\u903B\u8F91\u65E0\u6CD5\u6B63\u5E38\u6267\u884C\uFF01");
2176
+ throw new RuntimeModelError4(
2177
+ logic,
2178
+ ibiz.i18n.t("runtime.utils.verify.emptyLogicGroups")
2179
+ );
2120
2180
  }
2121
2181
  let result = true;
2122
2182
  if (logic.groupOP === "AND") {
@@ -2141,7 +2201,12 @@ function verifyFormGroupLogic(data, logic) {
2141
2201
  logic.value
2142
2202
  );
2143
2203
  }
2144
- throw new ModelError2(logic, "\u672A\u652F\u6301\u7684\u903B\u8F91\u7C7B\u578B".concat(logic.logicType));
2204
+ throw new ModelError2(
2205
+ logic,
2206
+ ibiz.i18n.t("runtime.utils.verify.unsupportedLogicTypes", {
2207
+ logicType: logic.logicType
2208
+ })
2209
+ );
2145
2210
  }
2146
2211
 
2147
2212
  // src/utils/verify/panel-dynamic-logic.ts
@@ -2156,7 +2221,10 @@ function verifyPanelGroupLogic(data, logic) {
2156
2221
  if (isGroupLogic2(logic)) {
2157
2222
  const children = logic.panelItemLogics;
2158
2223
  if (!children || children.length === 0) {
2159
- throw new RuntimeModelError5(logic, "\u53D1\u73B0\u7A7A\u903B\u8F91\u7EC4\uFF0C\u903B\u8F91\u65E0\u6CD5\u6B63\u5E38\u6267\u884C\uFF01");
2224
+ throw new RuntimeModelError5(
2225
+ logic,
2226
+ ibiz.i18n.t("runtime.utils.verify.emptyLogicGroupsProperly")
2227
+ );
2160
2228
  }
2161
2229
  let result = true;
2162
2230
  if (logic.groupOP === "AND") {
@@ -2181,7 +2249,12 @@ function verifyPanelGroupLogic(data, logic) {
2181
2249
  logic.value
2182
2250
  );
2183
2251
  }
2184
- throw new ModelError3(logic, "\u672A\u652F\u6301\u7684\u903B\u8F91\u7C7B\u578B".concat(logic.logicType));
2252
+ throw new ModelError3(
2253
+ logic,
2254
+ ibiz.i18n.t("runtime.utils.verify.unsupportedLogicTypes", {
2255
+ logicType: logic.logicType
2256
+ })
2257
+ );
2185
2258
  }
2186
2259
 
2187
2260
  // src/utils/layout-panel-util/layout-panel-util.ts
@@ -2527,6 +2600,7 @@ var SysUIActionTag = /* @__PURE__ */ ((SysUIActionTag2) => {
2527
2600
  SysUIActionTag2["PREV_RECORD"] = "PrevRecord";
2528
2601
  SysUIActionTag2["NEXT_RECORD"] = "NextRecord";
2529
2602
  SysUIActionTag2["LOAD_MORE"] = "LoadMore";
2603
+ SysUIActionTag2["SHOTR_CUT"] = "ShortCut";
2530
2604
  return SysUIActionTag2;
2531
2605
  })(SysUIActionTag || {});
2532
2606
 
@@ -2767,7 +2841,10 @@ var Modal = class {
2767
2841
  * @date 2023-05-12 07:06:56
2768
2842
  */
2769
2843
  this._dismiss = (data) => {
2770
- ibiz.log.error("\u5916\u90E8\u5173\u95ED\u80FD\u529B\u672A\u6CE8\u518C", data);
2844
+ ibiz.log.error(
2845
+ ibiz.i18n.t("runtime.utils.modal.externalClosureCapability"),
2846
+ data
2847
+ );
2771
2848
  };
2772
2849
  if (opts.mode) {
2773
2850
  this.mode = opts.mode;
@@ -2797,7 +2874,7 @@ var Modal = class {
2797
2874
  await this.hooks.shouldDismiss.call(context);
2798
2875
  }
2799
2876
  if (context.allowClose === false) {
2800
- ibiz.log.debug("shouldDismiss\u7ED3\u679C\u4E3Afalse,\u5173\u95ED\u4E2D\u65AD\u3002");
2877
+ ibiz.log.debug(ibiz.i18n.t("runtime.utils.modal.shouldDismissResult"));
2801
2878
  return false;
2802
2879
  }
2803
2880
  await this.hooks.beforeDismiss.call(data);
@@ -2996,7 +3073,7 @@ var Transaction = class {
2996
3073
  */
2997
3074
  open() {
2998
3075
  if (this.state.isOpen) {
2999
- ibiz.log.warn("\u4E8B\u52A1\u5DF2\u7ECF\u5F00\u542F, \u5355\u4E2A\u754C\u9762\u57DF\u53EA\u80FD\u5F00\u542F\u4E00\u4E2A\u4E8B\u52A1");
3076
+ ibiz.log.warn(ibiz.i18n.t("runtime.utils.uiDomain.transactionOpen"));
3000
3077
  return;
3001
3078
  }
3002
3079
  this.state.isOpen = true;
@@ -3045,7 +3122,7 @@ var Transaction = class {
3045
3122
  */
3046
3123
  close() {
3047
3124
  if (this.state.isChange) {
3048
- throw new Error("\u5F53\u524D\u4E8B\u52A1\u672A\u63D0\u4EA4\uFF0C\u4E0D\u53EF\u4EE5\u76F4\u63A5\u5173\u95ED\u4E8B\u52A1");
3125
+ throw new Error(ibiz.i18n.t("runtime.utils.uiDomain.currentTransaction"));
3049
3126
  }
3050
3127
  this.state.isOpen = false;
3051
3128
  }
@@ -3240,7 +3317,11 @@ var UIDomainManager = class {
3240
3317
  if (this.domainMap.has(id)) {
3241
3318
  return this.domainMap.get(id);
3242
3319
  }
3243
- throw new Error("\u65E0\u6548\u7684\u754C\u9762\u57DF\u6807\u8BC6[".concat(id, "]"));
3320
+ throw new Error(
3321
+ ibiz.i18n.t("runtime.utils.uiDomainManager.invalidInterfaceDomain", {
3322
+ id
3323
+ })
3324
+ );
3244
3325
  }
3245
3326
  /**
3246
3327
  * 销毁域
@@ -3385,7 +3466,7 @@ var baseStyle = {
3385
3466
  function cloneElement(clone35, teleport = document.body, isRemoveChild = true) {
3386
3467
  const element = getAnimationElement(clone35);
3387
3468
  if (element == null) {
3388
- throw new Error("Cannot clone a null or undefined element.");
3469
+ throw new Error(ibiz.i18n.t("runtime.utils.anime.noClone"));
3389
3470
  }
3390
3471
  const clonedElement = element.cloneNode(true);
3391
3472
  if (isRemoveChild) {
@@ -4910,12 +4991,14 @@ var AnimeUtil = class {
4910
4991
  async movePoint(element, tElement, options = {}) {
4911
4992
  const targetElement = getAnimationElement(tElement);
4912
4993
  if (!targetElement) {
4913
- ibiz.log.debug("\u7EC8\u70B9\u5143\u7D20\u4E0D\u5B58\u5728");
4994
+ ibiz.log.debug(ibiz.i18n.t("runtime.utils.anime.noExistEndpointElement"));
4914
4995
  return false;
4915
4996
  }
4916
4997
  const moveElement = cloneElement(element, document.body);
4917
4998
  if (!moveElement) {
4918
- ibiz.log.debug("\u52A8\u753B\u5143\u7D20\u4E0D\u5B58\u5728");
4999
+ ibiz.log.debug(
5000
+ ibiz.i18n.t("runtime.utils.anime.noExistAnimationElement")
5001
+ );
4919
5002
  return false;
4920
5003
  }
4921
5004
  const { padding, width, height } = getElementAttribute(moveElement);
@@ -5059,10 +5142,10 @@ var FileUtil = class {
5059
5142
  // 已经有baseURL了,这里无需再写
5060
5143
  });
5061
5144
  if (response.status !== 200) {
5062
- throw new RuntimeError5("\u4E0B\u8F7D\u6587\u4EF6\u5931\u8D25");
5145
+ throw new RuntimeError5(ibiz.i18n.t("runtime.platform.failedDownload"));
5063
5146
  }
5064
5147
  if (!response.data) {
5065
- throw new RuntimeError5("\u6587\u4EF6\u6D41\u6570\u636E\u4E0D\u5B58\u5728");
5148
+ throw new RuntimeError5(ibiz.i18n.t("runtime.platform.fileStreamData"));
5066
5149
  } else {
5067
5150
  const fileName = name;
5068
5151
  downloadFileFromBlob(response.data, fileName);
@@ -5089,12 +5172,150 @@ var FileUtil = class {
5089
5172
  data: formData
5090
5173
  });
5091
5174
  if (res.status !== 200) {
5092
- throw new RuntimeError5("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25");
5175
+ throw new RuntimeError5(
5176
+ ibiz.i18n.t("runtime.utils.fileUtil.fileUploadFailed")
5177
+ );
5093
5178
  }
5094
5179
  return res.data;
5095
5180
  }
5096
5181
  };
5097
5182
 
5183
+ // src/utils/short-cut/short-cut-util.ts
5184
+ var ShortCutUtil = class {
5185
+ /**
5186
+ * Creates an instance of ShortCutUtil.
5187
+ * @memberof ShortCutUtil
5188
+ */
5189
+ constructor() {
5190
+ /**
5191
+ * 快捷方式
5192
+ *
5193
+ * @private
5194
+ * @type {IShortCut[]}
5195
+ * @memberof ShortCutUtil
5196
+ */
5197
+ this.$ShortCut = [];
5198
+ this.initShortCut();
5199
+ }
5200
+ /**
5201
+ * 快捷方式数据
5202
+ *
5203
+ * @memberof ShortCutUtil
5204
+ */
5205
+ get data() {
5206
+ return this.$ShortCut;
5207
+ }
5208
+ /**
5209
+ * 初始化快捷方式数据
5210
+ *
5211
+ * @private
5212
+ * @memberof ShortCutUtil
5213
+ */
5214
+ initShortCut() {
5215
+ const shortcut = window.localStorage.getItem("IbizShortCut");
5216
+ if (shortcut) {
5217
+ this.$ShortCut = JSON.parse(shortcut);
5218
+ }
5219
+ }
5220
+ /**
5221
+ * 持久化保存快捷方式
5222
+ *
5223
+ * @memberof ShortCutUtil
5224
+ */
5225
+ saveShortCut() {
5226
+ window.localStorage.setItem("IbizShortCut", JSON.stringify(this.$ShortCut));
5227
+ }
5228
+ /**
5229
+ * 计算快捷方式key
5230
+ *
5231
+ * @param {{
5232
+ * context: IContext;
5233
+ * appViewId: string;
5234
+ * }} {
5235
+ * context,
5236
+ * appViewId,
5237
+ * }
5238
+ * @return {*} {Promise<string>}
5239
+ * @memberof ShortCutUtil
5240
+ */
5241
+ async calcShortCutKey({
5242
+ context,
5243
+ appViewId
5244
+ }) {
5245
+ const appView = await ibiz.hub.config.view.get(appViewId);
5246
+ let key = "".concat(context.srfappid, "-").concat(context.srfuserid, "-").concat(appViewId);
5247
+ if (appView.appDataEntityId) {
5248
+ const deName = calcDeCodeNameById(appView.appDataEntityId);
5249
+ key += "-".concat(deName, "-").concat(context[deName]);
5250
+ }
5251
+ return key;
5252
+ }
5253
+ /**
5254
+ * 添加快捷方式
5255
+ *
5256
+ * @param {IShortcut} shortcut
5257
+ * @memberof ShortCutUtil
5258
+ */
5259
+ addShortCut(shortCut) {
5260
+ const index = this.$ShortCut.findIndex((item) => item.key === shortCut.key);
5261
+ if (index > -1) {
5262
+ this.$ShortCut.splice(index, 1, shortCut);
5263
+ } else {
5264
+ this.$ShortCut.push(shortCut);
5265
+ }
5266
+ this.saveShortCut();
5267
+ }
5268
+ /**
5269
+ * 删除快捷方式
5270
+ *
5271
+ * @param {string} key
5272
+ * @memberof ShortcutUtil
5273
+ */
5274
+ removeShortCut(key) {
5275
+ const index = this.$ShortCut.findIndex((item) => item.key === key);
5276
+ if (index > -1) {
5277
+ this.$ShortCut.splice(index, 1);
5278
+ this.saveShortCut();
5279
+ }
5280
+ }
5281
+ /**
5282
+ * 改变顺序
5283
+ *
5284
+ * @param {number} newIndex 新位置索引
5285
+ * @param {number} oldIndex 旧位置索引
5286
+ * @memberof ShortcutUtil
5287
+ */
5288
+ changeIndex(newIndex, oldIndex) {
5289
+ const { length } = this.$ShortCut;
5290
+ if (oldIndex < 0 || oldIndex >= length || newIndex < 0 || newIndex >= length) {
5291
+ throw new Error(
5292
+ ibiz.i18n.t("runtime.utils.shortCut.invalidIndexNewIndex", {
5293
+ newIndex,
5294
+ oldIndex,
5295
+ length
5296
+ })
5297
+ );
5298
+ }
5299
+ const removedItem = this.$ShortCut.splice(oldIndex, 1)[0];
5300
+ this.$ShortCut.splice(newIndex, 0, removedItem);
5301
+ this.saveShortCut();
5302
+ }
5303
+ /**
5304
+ * 是否存在最小化
5305
+ *
5306
+ * @param {string} key
5307
+ * @return {*} {boolean}
5308
+ * @memberof ShortCutUtil
5309
+ */
5310
+ isExist(key) {
5311
+ const index = this.$ShortCut.findIndex((item) => item.key === key);
5312
+ if (index >= 0) {
5313
+ return true;
5314
+ }
5315
+ return false;
5316
+ }
5317
+ };
5318
+
5098
5319
  // src/command/app/open-app-view/open-app-view.ts
5099
5320
  import { ModelError as ModelError15, RuntimeError as RuntimeError25 } from "@ibiz-template/core";
5100
5321
  import { clone as clone18 } from "ramda";
@@ -5356,7 +5577,7 @@ var PSModelGroupCondBase = class _PSModelGroupCondBase extends PSModelCondBase {
5356
5577
  }
5357
5578
  });
5358
5579
  } else {
5359
- throw new RuntimeError6("\u503C\u5FC5\u987B\u4E3A\u6570\u7EC4");
5580
+ throw new RuntimeError6(ibiz.i18n.t("runtime.service.mustArray"));
5360
5581
  }
5361
5582
  }
5362
5583
  }
@@ -5431,7 +5652,7 @@ var _PSDEDQCondEngine = class _PSDEDQCondEngine extends PSModelCondEngineBase {
5431
5652
  }
5432
5653
  if (cond instanceof PSModelSingleCondBase) {
5433
5654
  if (isEmpty4(cond.getParam())) {
5434
- ibiz.log.warn("\u6CA1\u6709\u6307\u5B9A\u5C5E\u6027\u540D\u79F0", cond);
5655
+ ibiz.log.warn(ibiz.i18n.t("runtime.service.noAttributeName"), cond);
5435
5656
  }
5436
5657
  const objValue = data[cond.getParam().toLowerCase()];
5437
5658
  let objCondValue = null;
@@ -5439,7 +5660,7 @@ var _PSDEDQCondEngine = class _PSDEDQCondEngine extends PSModelCondEngineBase {
5439
5660
  const val = cond.getValue();
5440
5661
  if (valType != null && !isEmpty4(valType)) {
5441
5662
  if (isEmpty4(val)) {
5442
- ibiz.log.warn("\u6CA1\u6709\u6307\u5B9A\u4E0A\u4E0B\u6587\u53C2\u6570\u540D\u79F0");
5663
+ ibiz.log.warn(ibiz.i18n.t("runtime.service.noContextParameterName"));
5443
5664
  }
5444
5665
  if (_PSDEDQCondEngine.PARAMTYPE_WEBCONTEXT === valType) {
5445
5666
  objCondValue = filter.data[val.toLowerCase()];
@@ -5451,7 +5672,10 @@ var _PSDEDQCondEngine = class _PSDEDQCondEngine extends PSModelCondEngineBase {
5451
5672
  }
5452
5673
  return this.testSingleCond(cond.getCondOp(), objValue, objCondValue);
5453
5674
  }
5454
- ibiz.log.warn("\u65E0\u6CD5\u8BC6\u522B\u7684\u6761\u4EF6\u5BF9\u8C61", cond);
5675
+ ibiz.log.warn(
5676
+ ibiz.log.warn(ibiz.i18n.t("runtime.service.conditionalObjects")),
5677
+ cond
5678
+ );
5455
5679
  return false;
5456
5680
  }
5457
5681
  createPSModelSingleCond() {
@@ -5488,7 +5712,11 @@ async function getPluginRegisterKey(pluginId, appId2) {
5488
5712
  (item) => item.pluginCode.toLowerCase() === pluginId
5489
5713
  );
5490
5714
  if (!plugin) {
5491
- ibiz.log.error("\u672A\u5339\u914D\u5230\u63D2\u4EF6[".concat(pluginId, "]\u6A21\u578B"));
5715
+ ibiz.log.error(
5716
+ ibiz.i18n.t("runtime.register.helper.matchedPlugin", {
5717
+ pluginId
5718
+ })
5719
+ );
5492
5720
  return;
5493
5721
  }
5494
5722
  await ibiz.plugin.loadPlugin(plugin);
@@ -5514,7 +5742,9 @@ async function getAppCounterProvider(model) {
5514
5742
  provider = getProvider(pluginKey);
5515
5743
  }
5516
5744
  if (!provider) {
5517
- ibiz.log.error("\u627E\u4E0D\u5230\u7CFB\u7EDF\u8BA1\u6570\u5668\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5745
+ ibiz.log.error(
5746
+ ibiz.i18n.t("runtime.register.helper.adapter", { pluginKey })
5747
+ );
5518
5748
  } else {
5519
5749
  return provider;
5520
5750
  }
@@ -5522,14 +5752,22 @@ async function getAppCounterProvider(model) {
5522
5752
  if (counterType === "CUSTOM") {
5523
5753
  provider = getProvider(codeName);
5524
5754
  if (!provider) {
5525
- throw new RuntimeError7("\u627E\u4E0D\u5230\u81EA\u5B9A\u4E49\u7CFB\u7EDF\u8BA1\u6570\u5668".concat(codeName, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5755
+ throw new RuntimeError7(
5756
+ ibiz.i18n.t("runtime.register.helper.customizedSystemAdapter", {
5757
+ codeName
5758
+ })
5759
+ );
5526
5760
  } else {
5527
5761
  return provider;
5528
5762
  }
5529
5763
  }
5530
5764
  provider = getProvider(counterType);
5531
5765
  if (!provider) {
5532
- throw new RuntimeError7("\u627E\u4E0D\u7CFB\u7EDF\u8BA1\u6570\u5668\u7C7B\u578B".concat(counterType, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5766
+ throw new RuntimeError7(
5767
+ ibiz.i18n.t("runtime.register.helper.noFoundSystemCounter", {
5768
+ counterType
5769
+ })
5770
+ );
5533
5771
  } else {
5534
5772
  return provider;
5535
5773
  }
@@ -5629,7 +5867,11 @@ async function getControlProvider(model) {
5629
5867
  });
5630
5868
  provider = getProvider2(registerKey);
5631
5869
  if (!provider) {
5632
- ibiz.log.debug("\u627E\u4E0D\u5230\u81EA\u5B9A\u4E49\u6CE8\u518C\u6807\u8BC6\u4E3A[".concat(registerKey, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5870
+ ibiz.log.debug(
5871
+ ibiz.i18n.t("runtime.register.helper.customRegistration", {
5872
+ registerKey
5873
+ })
5874
+ );
5633
5875
  } else {
5634
5876
  return provider;
5635
5877
  }
@@ -5639,7 +5881,11 @@ async function getControlProvider(model) {
5639
5881
  provider = getProvider2(pluginKey);
5640
5882
  }
5641
5883
  if (!provider) {
5642
- ibiz.log.error("\u627E\u4E0D\u5230\u90E8\u4EF6\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5884
+ ibiz.log.error(
5885
+ ibiz.i18n.t("runtime.register.helper.widgetPlugin", {
5886
+ pluginKey
5887
+ })
5888
+ );
5643
5889
  } else {
5644
5890
  return provider;
5645
5891
  }
@@ -5649,7 +5895,10 @@ async function getControlProvider(model) {
5649
5895
  provider = getProvider2(key);
5650
5896
  if (!provider) {
5651
5897
  ibiz.log.error(
5652
- "\u627E\u4E0D\u5230\u90E8\u4EF6\u7C7B\u578B\uFF1A[".concat(controlType, "]\u7684\u90E8\u4EF6\u6837\u5F0F\uFF1A[").concat(controlStyle, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"),
5898
+ ibiz.i18n.t("runtime.register.helper.widgetStyleType", {
5899
+ controlType,
5900
+ controlStyle
5901
+ }),
5653
5902
  model
5654
5903
  );
5655
5904
  } else {
@@ -5662,7 +5911,11 @@ async function getControlProvider(model) {
5662
5911
  case "DATAINFOBAR":
5663
5912
  return;
5664
5913
  default:
5665
- ibiz.log.error("\u627E\u4E0D\u5230\u90E8\u4EF6\u7C7B\u578B".concat(controlType, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5914
+ ibiz.log.error(
5915
+ ibiz.i18n.t("runtime.register.helper.widgetType", {
5916
+ controlType
5917
+ })
5918
+ );
5666
5919
  }
5667
5920
  } else {
5668
5921
  return provider;
@@ -5688,7 +5941,11 @@ async function getEditorProvider(model) {
5688
5941
  provider = getProvider3(pluginKey);
5689
5942
  }
5690
5943
  if (!provider) {
5691
- ibiz.log.error("\u627E\u4E0D\u5230\u7F16\u8F91\u5668\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5944
+ ibiz.log.error(
5945
+ ibiz.i18n.t("runtime.register.helper.editorPlugin", {
5946
+ pluginKey
5947
+ })
5948
+ );
5692
5949
  } else {
5693
5950
  return provider;
5694
5951
  }
@@ -5698,7 +5955,10 @@ async function getEditorProvider(model) {
5698
5955
  provider = getProvider3(key);
5699
5956
  if (!provider) {
5700
5957
  ibiz.log.error(
5701
- "\u627E\u4E0D\u5230\u7F16\u8F91\u5668\u7C7B\u578B\uFF1A[".concat(editorType, "]\u7684\u7F16\u8F91\u5668\u6837\u5F0F\uFF1A[").concat(editorStyle, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"),
5958
+ ibiz.i18n.t("runtime.register.helper.editorStyleType", {
5959
+ editorType,
5960
+ editorStyle
5961
+ }),
5702
5962
  model
5703
5963
  );
5704
5964
  } else {
@@ -5713,7 +5973,10 @@ async function getEditorProvider(model) {
5713
5973
  provider = getProvider3(key);
5714
5974
  if (!provider) {
5715
5975
  ibiz.log.error(
5716
- "\u627E\u4E0D\u5230\u7F16\u8F91\u5668\u7C7B\u578B\uFF1A[".concat(editorType, "]\u7684\u9884\u7F6E\u7C7B\u578B\uFF1A[").concat(predefinedType, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"),
5976
+ ibiz.i18n.t("runtime.register.helper.editorTypePredefinedType", {
5977
+ editorType,
5978
+ predefinedType
5979
+ }),
5717
5980
  model
5718
5981
  );
5719
5982
  } else {
@@ -5722,7 +5985,11 @@ async function getEditorProvider(model) {
5722
5985
  }
5723
5986
  provider = getProvider3(editorType);
5724
5987
  if (!provider) {
5725
- ibiz.log.error("\u627E\u4E0D\u5230\u7F16\u8F91\u5668\u7C7B\u578B".concat(editorType, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
5988
+ ibiz.log.error(
5989
+ ibiz.i18n.t("runtime.register.helper.editorType", {
5990
+ editorType
5991
+ })
5992
+ );
5726
5993
  } else {
5727
5994
  return provider;
5728
5995
  }
@@ -5750,7 +6017,11 @@ async function getFormDetailProvider(model, formModel) {
5750
6017
  );
5751
6018
  provider = getProvider4(registerKey);
5752
6019
  if (!provider) {
5753
- ibiz.log.debug("\u627E\u4E0D\u5230\u81EA\u5B9A\u4E49\u6CE8\u518C\u6807\u8BC6\u4E3A[".concat(registerKey, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6020
+ ibiz.log.debug(
6021
+ ibiz.i18n.t("runtime.register.helper.customRegistration", {
6022
+ registerKey
6023
+ })
6024
+ );
5754
6025
  } else {
5755
6026
  return provider;
5756
6027
  }
@@ -5760,14 +6031,22 @@ async function getFormDetailProvider(model, formModel) {
5760
6031
  provider = getProvider4(pluginKey);
5761
6032
  }
5762
6033
  if (!provider) {
5763
- ibiz.log.error("\u627E\u4E0D\u5230\u8868\u5355\u6210\u5458\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6034
+ ibiz.log.error(
6035
+ ibiz.i18n.t("runtime.register.helper.formMemberPlugin", {
6036
+ pluginKey
6037
+ })
6038
+ );
5764
6039
  } else {
5765
6040
  return provider;
5766
6041
  }
5767
6042
  }
5768
6043
  provider = getProvider4(detailType);
5769
6044
  if (!provider) {
5770
- ibiz.log.error("\u627E\u4E0D\u5230\u8868\u5355\u6210\u5458\u7C7B\u578B".concat(detailType, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6045
+ ibiz.log.error(
6046
+ ibiz.i18n.t("runtime.register.helper.formMemberType", {
6047
+ detailType
6048
+ })
6049
+ );
5771
6050
  } else {
5772
6051
  return provider;
5773
6052
  }
@@ -5795,7 +6074,11 @@ async function getGridColumnProvider(model, gridModel) {
5795
6074
  );
5796
6075
  provider = getProvider5(registerKey);
5797
6076
  if (!provider) {
5798
- ibiz.log.debug("\u627E\u4E0D\u5230\u81EA\u5B9A\u4E49\u6CE8\u518C\u6807\u8BC6\u4E3A[".concat(registerKey, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6077
+ ibiz.log.debug(
6078
+ ibiz.i18n.t("runtime.register.helper.customRegistration", {
6079
+ registerKey
6080
+ })
6081
+ );
5799
6082
  } else {
5800
6083
  return provider;
5801
6084
  }
@@ -5805,7 +6088,11 @@ async function getGridColumnProvider(model, gridModel) {
5805
6088
  provider = getProvider5(pluginKey);
5806
6089
  }
5807
6090
  if (!provider) {
5808
- ibiz.log.error("\u627E\u4E0D\u5230\u8868\u683C\u5217\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6091
+ ibiz.log.error(
6092
+ ibiz.i18n.t("runtime.register.helper.tableColumnPlugin", {
6093
+ pluginKey
6094
+ })
6095
+ );
5809
6096
  } else {
5810
6097
  return provider;
5811
6098
  }
@@ -5813,7 +6100,11 @@ async function getGridColumnProvider(model, gridModel) {
5813
6100
  const key = enableRowEdit ? "".concat(columnType, "_EDIT") : columnType;
5814
6101
  provider = getProvider5(key);
5815
6102
  if (!provider) {
5816
- ibiz.log.error("\u627E\u4E0D\u5230\u8868\u683C\u5217\u7C7B\u578B".concat(key, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6103
+ ibiz.log.error(
6104
+ ibiz.i18n.t("runtime.register.helper.tableColumnType", {
6105
+ key
6106
+ })
6107
+ );
5817
6108
  } else {
5818
6109
  return provider;
5819
6110
  }
@@ -5843,7 +6134,11 @@ async function getPanelItemProvider(model, panelModel, viewModel) {
5843
6134
  });
5844
6135
  provider = getProvider6(registerKey);
5845
6136
  if (!provider) {
5846
- ibiz.log.debug("\u627E\u4E0D\u5230\u81EA\u5B9A\u4E49\u6CE8\u518C\u6807\u8BC6\u4E3A[".concat(registerKey, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6137
+ ibiz.log.debug(
6138
+ ibiz.i18n.t("runtime.register.helper.customRegistration", {
6139
+ registerKey
6140
+ })
6141
+ );
5847
6142
  } else {
5848
6143
  return provider;
5849
6144
  }
@@ -5853,7 +6148,11 @@ async function getPanelItemProvider(model, panelModel, viewModel) {
5853
6148
  provider = getProvider6(pluginKey);
5854
6149
  }
5855
6150
  if (!provider) {
5856
- ibiz.log.error("\u627E\u4E0D\u5230\u9762\u677F\u6210\u5458\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6151
+ ibiz.log.error(
6152
+ ibiz.i18n.t("runtime.register.helper.panelMemberPlugin", {
6153
+ pluginKey
6154
+ })
6155
+ );
5857
6156
  } else {
5858
6157
  return provider;
5859
6158
  }
@@ -5867,7 +6166,10 @@ async function getPanelItemProvider(model, panelModel, viewModel) {
5867
6166
  provider = getProvider6(key);
5868
6167
  if (!provider) {
5869
6168
  ibiz.log.error(
5870
- "\u627E\u4E0D\u5230\u9762\u677F\u5BB9\u5668\u9884\u7F6E\u7C7B\u578B\u4E3A".concat(predefinedType, "\u7684\u9002\u914D\u5668\uFF0C\u6CE8\u518Ckey\u4E3A").concat(key)
6169
+ ibiz.i18n.t("runtime.register.helper.panelContainerPredefined", {
6170
+ predefinedType,
6171
+ key
6172
+ })
5871
6173
  );
5872
6174
  } else {
5873
6175
  return provider;
@@ -5879,7 +6181,10 @@ async function getPanelItemProvider(model, panelModel, viewModel) {
5879
6181
  provider = getProvider6(key);
5880
6182
  if (!provider) {
5881
6183
  ibiz.log.error(
5882
- "\u627E\u4E0D\u5230\u9762\u677F\u6210\u5458\u76F4\u63A5\u5185\u5BB9\u9884\u7F6E\u7C7B\u578B\u4E3A".concat(predefinedType, "\u7684\u9002\u914D\u5668\uFF0C\u6CE8\u518Ckey\u4E3A").concat(key)
6184
+ ibiz.i18n.t("runtime.register.helper.panelMemberDirectContent", {
6185
+ predefinedType,
6186
+ key
6187
+ })
5883
6188
  );
5884
6189
  } else {
5885
6190
  return provider;
@@ -5898,7 +6203,11 @@ async function getPanelItemProvider(model, panelModel, viewModel) {
5898
6203
  provider = getProvider6(itemType);
5899
6204
  }
5900
6205
  if (!provider) {
5901
- ibiz.log.error("\u627E\u4E0D\u5230\u9762\u677F\u6210\u5458\u7C7B\u578B".concat(itemType, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6206
+ ibiz.log.error(
6207
+ ibiz.i18n.t("runtime.register.helper.panelMemberType", {
6208
+ itemType
6209
+ })
6210
+ );
5902
6211
  } else {
5903
6212
  return provider;
5904
6213
  }
@@ -5923,14 +6232,22 @@ async function getPortletProvider(model) {
5923
6232
  provider = getProvider7(pluginKey);
5924
6233
  }
5925
6234
  if (!provider) {
5926
- ibiz.log.error("\u627E\u4E0D\u5230\u95E8\u6237\u90E8\u4EF6\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6235
+ ibiz.log.error(
6236
+ ibiz.i18n.t("runtime.register.helper.portalWidgetPlugin", {
6237
+ pluginKey
6238
+ })
6239
+ );
5927
6240
  } else {
5928
6241
  return provider;
5929
6242
  }
5930
6243
  }
5931
6244
  provider = getProvider7(portletType);
5932
6245
  if (!provider) {
5933
- ibiz.log.error("\u627E\u4E0D\u5230\u95E8\u6237\u90E8\u4EF6\u6210\u5458\u7C7B\u578B".concat(portletType, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6246
+ ibiz.log.error(
6247
+ ibiz.i18n.t("runtime.register.helper.portalWidgetMemberType", {
6248
+ portletType
6249
+ })
6250
+ );
5934
6251
  } else {
5935
6252
  return provider;
5936
6253
  }
@@ -5956,7 +6273,11 @@ async function getUIActionProvider(model) {
5956
6273
  provider = getProvider8(pluginKey);
5957
6274
  }
5958
6275
  if (!provider) {
5959
- ibiz.log.error("\u627E\u4E0D\u5230\u754C\u9762\u884C\u4E3A\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6276
+ ibiz.log.error(
6277
+ ibiz.i18n.t("runtime.register.helper.interfaceBehaviorPlugin", {
6278
+ pluginKey
6279
+ })
6280
+ );
5960
6281
  } else {
5961
6282
  return provider;
5962
6283
  }
@@ -5967,7 +6288,11 @@ async function getUIActionProvider(model) {
5967
6288
  }
5968
6289
  provider = getProvider8(uiactionMode);
5969
6290
  if (!provider) {
5970
- throw new RuntimeError8("\u627E\u4E0D\u754C\u9762\u884C\u4E3A\u6A21\u5F0F".concat(uiactionMode, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6291
+ throw new RuntimeError8(
6292
+ ibiz.i18n.t("runtime.register.helper.interfaceBehaviorMode", {
6293
+ uiactionMode
6294
+ })
6295
+ );
5971
6296
  } else {
5972
6297
  return provider;
5973
6298
  }
@@ -5991,7 +6316,9 @@ async function getUILogicNodeProvider(model) {
5991
6316
  return provider;
5992
6317
  }
5993
6318
  throw new RuntimeError9(
5994
- "\u627E\u4E0D\u5230\u754C\u9762\u903B\u8F91\u524D\u7AEF\u63D2\u4EF6\u8282\u70B9\uFF0C\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668")
6319
+ ibiz.i18n.t("runtime.register.helper.frontEndPluginNode", {
6320
+ pluginKey
6321
+ })
5995
6322
  );
5996
6323
  }
5997
6324
  }
@@ -6013,7 +6340,11 @@ async function getViewProvider(model) {
6013
6340
  provider = getProvider9(pluginKey);
6014
6341
  }
6015
6342
  if (!provider) {
6016
- ibiz.log.error("\u627E\u4E0D\u5230\u89C6\u56FE\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6343
+ ibiz.log.error(
6344
+ ibiz.i18n.t("runtime.register.helper.viewPlugin", {
6345
+ pluginKey
6346
+ })
6347
+ );
6017
6348
  } else {
6018
6349
  return provider;
6019
6350
  }
@@ -6023,7 +6354,10 @@ async function getViewProvider(model) {
6023
6354
  provider = getProvider9(key);
6024
6355
  if (!provider) {
6025
6356
  ibiz.log.error(
6026
- "\u627E\u4E0D\u5230\u89C6\u56FE\u7C7B\u578B\uFF1A[".concat(viewType, "]\u7684\u89C6\u56FE\u6837\u5F0F\uFF1A[").concat(viewStyle, "]\u5BF9\u5E94\u7684\u9002\u914D\u5668"),
6357
+ ibiz.i18n.t("runtime.register.helper.correspondViewTypeStyle", {
6358
+ viewType,
6359
+ viewStyle
6360
+ }),
6027
6361
  model
6028
6362
  );
6029
6363
  } else {
@@ -6055,7 +6389,11 @@ function getAsyncActionProvider(action) {
6055
6389
  action.actiontype || "DEFAULT"
6056
6390
  );
6057
6391
  if (!provider) {
6058
- throw new RuntimeError10("\u627E\u4E0D\u5F02\u6B65\u64CD\u4F5C\u7C7B\u578B".concat(action.actiontype, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6392
+ throw new RuntimeError10(
6393
+ ibiz.i18n.t("runtime.register.helper.asynchronousAction", {
6394
+ actiontype: action.actiontype
6395
+ })
6396
+ );
6059
6397
  } else {
6060
6398
  return provider;
6061
6399
  }
@@ -6065,10 +6403,14 @@ function getAsyncActionProvider(action) {
6065
6403
  import { downloadFileFromBlob as downloadFileFromBlob2, RuntimeError as RuntimeError11 } from "@ibiz-template/core";
6066
6404
  var PlatformProviderBase = class {
6067
6405
  back() {
6068
- throw new Error("Method not implemented.");
6406
+ throw new Error(
6407
+ ibiz.i18n.t("runtime.logicScheduler.executor.noImplementedMethod")
6408
+ );
6069
6409
  }
6070
6410
  init() {
6071
- throw new Error("Method not implemented.");
6411
+ throw new Error(
6412
+ ibiz.i18n.t("runtime.logicScheduler.executor.noImplementedMethod")
6413
+ );
6072
6414
  }
6073
6415
  async login(loginName, passWord, _verificationCode) {
6074
6416
  return ibiz.auth.login(loginName, passWord);
@@ -6080,10 +6422,10 @@ var PlatformProviderBase = class {
6080
6422
  baseURL: ""
6081
6423
  });
6082
6424
  if (response.status !== 200) {
6083
- throw new RuntimeError11("\u4E0B\u8F7D\u6587\u4EF6\u5931\u8D25");
6425
+ throw new RuntimeError11(ibiz.i18n.t("runtime.platform.failedDownload"));
6084
6426
  }
6085
6427
  if (!response.data) {
6086
- throw new RuntimeError11("\u6587\u4EF6\u6D41\u6570\u636E\u4E0D\u5B58\u5728");
6428
+ throw new RuntimeError11(ibiz.i18n.t("runtime.platform.fileStreamData"));
6087
6429
  } else {
6088
6430
  const fileName = name;
6089
6431
  downloadFileFromBlob2(response.data, fileName);
@@ -6177,14 +6519,22 @@ async function getDEMethodProvider(model) {
6177
6519
  provider = getProvider12(pluginKey);
6178
6520
  }
6179
6521
  if (!provider) {
6180
- ibiz.log.error("\u627E\u4E0D\u5230\u5B9E\u4F53\u884C\u4E3A\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6522
+ ibiz.log.error(
6523
+ ibiz.i18n.t("runtime.register.helper.entityBehaviorPlugin", {
6524
+ pluginKey
6525
+ })
6526
+ );
6181
6527
  } else {
6182
6528
  return provider;
6183
6529
  }
6184
6530
  }
6185
6531
  provider = getProvider12(methodType);
6186
6532
  if (!provider) {
6187
- throw new RuntimeError12("\u627E\u4E0D\u5B9E\u4F53\u884C\u4E3A\u65B9\u6CD5\u7C7B\u578B\u4E3A".concat(methodType, "\u7684\u9002\u914D\u5668"));
6533
+ throw new RuntimeError12(
6534
+ ibiz.i18n.t("runtime.register.helper.entityBehaviorMethod", {
6535
+ methodType
6536
+ })
6537
+ );
6188
6538
  } else {
6189
6539
  return provider;
6190
6540
  }
@@ -6212,14 +6562,22 @@ async function getTreeGridExColumnProvider(model) {
6212
6562
  provider = getProvider13(pluginKey);
6213
6563
  }
6214
6564
  if (!provider) {
6215
- ibiz.log.error("\u627E\u4E0D\u5230\u6811\u8868\u683C\u5217\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6565
+ ibiz.log.error(
6566
+ ibiz.i18n.t("runtime.register.helper.treeTableColumnPlugin", {
6567
+ pluginKey
6568
+ })
6569
+ );
6216
6570
  } else {
6217
6571
  return provider;
6218
6572
  }
6219
6573
  }
6220
6574
  provider = getProvider13(columnType);
6221
6575
  if (!provider) {
6222
- ibiz.log.error("\u627E\u4E0D\u5230\u8868\u683C\u5217\u7C7B\u578B".concat(columnType, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6576
+ ibiz.log.error(
6577
+ ibiz.i18n.t("runtime.register.helper.tableColumnType", {
6578
+ key: columnType
6579
+ })
6580
+ );
6223
6581
  } else {
6224
6582
  return provider;
6225
6583
  }
@@ -6244,7 +6602,11 @@ async function getAppMenuItemProvider(model) {
6244
6602
  provider = getProvider14(pluginKey);
6245
6603
  }
6246
6604
  if (!provider) {
6247
- ibiz.log.error("\u627E\u4E0D\u5230\u5E94\u7528\u83DC\u5355\u9879\u63D2\u4EF6".concat(pluginKey, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6605
+ ibiz.log.error(
6606
+ ibiz.i18n.t("runtime.register.helper.applicationMenu", {
6607
+ pluginKey
6608
+ })
6609
+ );
6248
6610
  } else {
6249
6611
  return provider;
6250
6612
  }
@@ -6272,7 +6634,11 @@ function getInternalMessageProvider(msg) {
6272
6634
  msg.content_type || "DEFAULT"
6273
6635
  );
6274
6636
  if (!provider) {
6275
- throw new RuntimeError13("\u627E\u4E0D\u7AD9\u5185\u4FE1\u7C7B\u578B".concat(msg.content_type, "\u5BF9\u5E94\u7684\u9002\u914D\u5668"));
6637
+ throw new RuntimeError13(
6638
+ ibiz.i18n.t("runtime.register.helper.messageType", {
6639
+ content_type: msg.content_type
6640
+ })
6641
+ );
6276
6642
  } else {
6277
6643
  return provider;
6278
6644
  }
@@ -6423,7 +6789,7 @@ var AppCounter = class {
6423
6789
  * @return {*} {Promise<IData>}
6424
6790
  */
6425
6791
  async load() {
6426
- throw new RuntimeError14("\u672A\u5B9E\u73B0\u8BA1\u6570\u5668\u52A0\u8F7D\u65B9\u6CD5");
6792
+ throw new RuntimeError14(ibiz.i18n.t("runtime.service.noImplementedCounter"));
6427
6793
  }
6428
6794
  /**
6429
6795
  * 计数器刷新
@@ -6503,7 +6869,10 @@ var AppDECounter = class extends AppCounter {
6503
6869
  this.appDataEntityId = this.model.appDataEntityId;
6504
6870
  const action = this.model.getAppDEActionId;
6505
6871
  if (!action) {
6506
- throw new RuntimeModelError6(this.model, "\u672A\u627E\u5230\u83B7\u53D6\u8BA1\u6570\u5668\u884C\u4E3A!");
6872
+ throw new RuntimeModelError6(
6873
+ this.model,
6874
+ ibiz.i18n.t("runtime.service.noFoundCounterBehavior")
6875
+ );
6507
6876
  }
6508
6877
  this.action = action;
6509
6878
  await super.init(context, params);
@@ -6615,7 +6984,12 @@ var DEDQCondUtil = class {
6615
6984
  condArr.push("");
6616
6985
  }
6617
6986
  } else {
6618
- throw new ModelError4(item, "\u6682\u672A\u652F\u6301\u7684\u67E5\u8BE2\u6761\u4EF6\u7C7B\u578B: ".concat(item.condType));
6987
+ throw new ModelError4(
6988
+ item,
6989
+ ibiz.i18n.t("runtime.service.unsupportedQueryTypes", {
6990
+ condType: item.condType
6991
+ })
6992
+ );
6619
6993
  }
6620
6994
  arr.push(condArr);
6621
6995
  });
@@ -6735,7 +7109,7 @@ var DynamicCodeListCache = class {
6735
7109
  if (!["OPERATOR", "RUNTIME", "DEMAINSTATE"].includes(predefinedType)) {
6736
7110
  throw new ModelError5(
6737
7111
  this.codeList,
6738
- "\u9884\u5B9A\u4E49\u7C7B\u578B".concat(predefinedType, "\u6682\u4E0D\u652F\u6301")
7112
+ ibiz.i18n.t("runtime.service.predefinedType", { predefinedType })
6739
7113
  );
6740
7114
  }
6741
7115
  return;
@@ -6801,9 +7175,7 @@ var DynamicCodeListCache = class {
6801
7175
  data[dataAppDEFieldId]
6802
7176
  );
6803
7177
  } catch (error) {
6804
- ibiz.log.error(
6805
- "\u52A8\u6001\u4EE3\u7801\u8868\u6570\u636E\u5C5E\u6027\u8FD4\u56DE\u503C\u4E0D\u4E3A\u5BF9\u8C61\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\uFF0C\u65E0\u6CD5\u8F6C\u6362\uFF01"
6806
- );
7178
+ ibiz.log.error(ibiz.i18n.t("runtime.service.dynamicCodeTable"));
6807
7179
  }
6808
7180
  }
6809
7181
  return result;
@@ -6888,10 +7260,16 @@ var DynamicCodeListCache = class {
6888
7260
  return Object.freeze(presetresultItems);
6889
7261
  }
6890
7262
  if (!appDataEntityId) {
6891
- throw new RuntimeModelError7(this.codeList, "\u672A\u914D\u7F6E\u5E94\u7528\u5B9E\u4F53");
7263
+ throw new RuntimeModelError7(
7264
+ this.codeList,
7265
+ ibiz.i18n.t("runtime.controller.utils.viewMsg.unconfiguredEntities")
7266
+ );
6892
7267
  }
6893
7268
  if (!appDEDataSetId) {
6894
- throw new RuntimeModelError7(this.codeList, "\u672A\u914D\u7F6E\u6570\u636E\u96C6");
7269
+ throw new RuntimeModelError7(
7270
+ this.codeList,
7271
+ ibiz.i18n.t("runtime.service.unconfiguredDataset")
7272
+ );
6895
7273
  }
6896
7274
  const res = await app.deService.exec(
6897
7275
  appDataEntityId,
@@ -7061,14 +7439,18 @@ function isExistSrfKey(funcName, entity) {
7061
7439
  return true;
7062
7440
  }
7063
7441
  }
7064
- throw new RuntimeError15("\u6267\u884C\u300C".concat(funcName, "\u300D\u4E0D\u5B58\u5728\u300Csrfkey\u300D\u65E0\u6CD5\u5904\u7406"));
7442
+ throw new RuntimeError15(
7443
+ ibiz.i18n.t("runtime.service.processedWithout", { funcName })
7444
+ );
7065
7445
  }
7066
7446
  function isExistSessionId(funcName, context) {
7067
7447
  const { srfsessionid } = context;
7068
7448
  if (!isNil6(srfsessionid) && !isEmpty5(srfsessionid)) {
7069
7449
  return true;
7070
7450
  }
7071
- throw new RuntimeError15("\u6267\u884C\u300C".concat(funcName, "\u300D\u4E0D\u5B58\u5728\u300Csrfsessionid\u300D\u65E0\u6CD5\u5904\u7406"));
7451
+ throw new RuntimeError15(
7452
+ ibiz.i18n.t("runtime.service.noExistProcessed", { funcName })
7453
+ );
7072
7454
  }
7073
7455
 
7074
7456
  // src/service/utils/de-cache/de-cache.ts
@@ -7155,7 +7537,9 @@ var DECache = class {
7155
7537
  this.calcUnionKey(entity);
7156
7538
  if (this.checkData(context, entity.srfkey)) {
7157
7539
  throw new RuntimeError16(
7158
- "\u65B0\u5EFA\u8054\u5408\u4E3B\u952E\u6570\u636E\u5931\u8D25\uFF0C\u5DF2\u6709\u4E3B\u952E\u4E3A".concat(entity.srfkey, "\u7684\u6570\u636E")
7540
+ ibiz.i18n.t("runtime.service.createPrimaryKeyData", {
7541
+ srfkey: entity.srfkey
7542
+ })
7159
7543
  );
7160
7544
  }
7161
7545
  }
@@ -7216,7 +7600,9 @@ var DECache = class {
7216
7600
  this.calcUnionKey(entity);
7217
7601
  if (oldKey !== entity.srfkey && this.checkData(context, entity.srfkey)) {
7218
7602
  throw new RuntimeError16(
7219
- "\u66F4\u65B0\u8054\u5408\u4E3B\u952E\u6570\u636E\u5931\u8D25\uFF0C\u5DF2\u6709\u4E3B\u952E\u4E3A".concat(entity.srfkey, "\u7684\u6570\u636E")
7603
+ ibiz.i18n.t("runtime.service.updatePrimaryKeyData", {
7604
+ srfkey: entity.srfkey
7605
+ })
7220
7606
  );
7221
7607
  }
7222
7608
  }
@@ -7246,7 +7632,7 @@ var DECache = class {
7246
7632
  }
7247
7633
  return _data;
7248
7634
  }
7249
- throw new Error("\u6570\u636E\u4E0D\u5B58\u5728\uFF0C\u65E0\u6CD5\u66F4\u65B0!");
7635
+ throw new Error(ibiz.i18n.t("runtime.service.noExistNoUpdated"));
7250
7636
  } catch (err) {
7251
7637
  ibiz.log.error(err);
7252
7638
  return null;
@@ -7352,7 +7738,9 @@ var DECache = class {
7352
7738
  this.calcUnionKey(entity);
7353
7739
  if (oldKey !== entity.srfkey && this.checkData(context, entity.srfkey)) {
7354
7740
  throw new RuntimeError16(
7355
- "\u66F4\u65B0\u8054\u5408\u4E3B\u952E\u6570\u636E\u5931\u8D25\uFF0C\u5DF2\u6709\u4E3B\u952E\u4E3A".concat(entity.srfkey, "\u7684\u6570\u636E")
7741
+ ibiz.i18n.t("runtime.service.updatePrimaryKeyData", {
7742
+ srfkey: entity.srfkey
7743
+ })
7356
7744
  );
7357
7745
  }
7358
7746
  }
@@ -7373,7 +7761,11 @@ var DECache = class {
7373
7761
  }
7374
7762
  } else {
7375
7763
  throw new Error(
7376
- "\u6570\u636E[".concat(entity.srfdename, "-").concat(entity.srfmajortext, "(").concat(entity.srfkey, ")]\u4E0D\u5B58\u5728\uFF0C\u65E0\u6CD5\u66F4\u65B0!")
7764
+ ibiz.i18n.t("runtime.service.dataNoExistNoUpdated", {
7765
+ srfdename: entity.srfdename,
7766
+ srfmajortext: entity.srfmajortext,
7767
+ srfkey: entity.srfkey
7768
+ })
7377
7769
  );
7378
7770
  }
7379
7771
  }
@@ -7408,7 +7800,9 @@ var DECache = class {
7408
7800
  }
7409
7801
  if (notRemoveKeys.length > 0) {
7410
7802
  throw new Error(
7411
- "\u672A\u627E\u5230\u4EE5\u4E0B\u6570\u636E\u300C".concat(notRemoveKeys.join("\u3001"), "\u300D\uFF0C\u65E0\u6CD5\u5220\u9664!")
7803
+ ibiz.i18n.t("runtime.service.noDeleted", {
7804
+ notRemoveKey: notRemoveKeys.join("\u3001")
7805
+ })
7412
7806
  );
7413
7807
  }
7414
7808
  const commit = (key) => {
@@ -7874,7 +8268,9 @@ var CodeListService = class {
7874
8268
  async get(tag, context, params) {
7875
8269
  const codeList = this.allCodeLists.get(tag);
7876
8270
  if (!codeList) {
7877
- throw new RuntimeError17("\u627E\u4E0D\u5230".concat(tag, "\u4EE3\u7801\u8868"));
8271
+ throw new RuntimeError17(
8272
+ ibiz.i18n.t("runtime.service.noFindCodeList", { tag })
8273
+ );
7878
8274
  }
7879
8275
  if (codeList.codeListType === "STATIC") {
7880
8276
  return this.getStatic(codeList);
@@ -7894,7 +8290,9 @@ var CodeListService = class {
7894
8290
  let codeListInstance;
7895
8291
  const codeList = this.allCodeLists.get(tag);
7896
8292
  if (!codeList) {
7897
- throw new RuntimeError17("\u627E\u4E0D\u5230".concat(tag, "\u4EE3\u7801\u8868"));
8293
+ throw new RuntimeError17(
8294
+ ibiz.i18n.t("runtime.service.noFindCodeList", { tag })
8295
+ );
7898
8296
  }
7899
8297
  if (codeList.codeListType === "DYNAMIC") {
7900
8298
  const codeName = codeList.codeName;
@@ -8018,7 +8416,10 @@ var CounterService = class {
8018
8416
  static async getCounterByRef(model, context, params) {
8019
8417
  const { appCounter } = model;
8020
8418
  if (!appCounter) {
8021
- throw new RuntimeModelError8(model, "\u672A\u914D\u7F6E\u5E94\u7528\u8BA1\u6570\u5668!");
8419
+ throw new RuntimeModelError8(
8420
+ model,
8421
+ ibiz.i18n.t("runtime.service.noConfiguredCounters")
8422
+ );
8022
8423
  }
8023
8424
  return this.getCounter(appCounter, context, params);
8024
8425
  }
@@ -8364,7 +8765,9 @@ var WorkFlowService = class {
8364
8765
  case "sendcopy":
8365
8766
  return this.wfSendCopy(context, params, data);
8366
8767
  default: {
8367
- throw new RuntimeError18("\u300C".concat(methodName, "\u300D\u672A\u5B9E\u73B0"));
8768
+ throw new RuntimeError18(
8769
+ ibiz.i18n.t("runtime.service.noImplemented", { methodName })
8770
+ );
8368
8771
  }
8369
8772
  }
8370
8773
  }
@@ -8469,7 +8872,11 @@ var AppDataEntity = class _AppDataEntity {
8469
8872
  }
8470
8873
  });
8471
8874
  } else {
8472
- ibiz.log.warn("\u5B9E\u4F53[".concat(entity.codeName, "]\u672A\u914D\u7F6E\u4E3B\u952E\u5B57\u6BB5"));
8875
+ ibiz.log.warn(
8876
+ ibiz.i18n.t("runtime.service.noConfiguredPrimary", {
8877
+ codeName: entity.codeName
8878
+ })
8879
+ );
8473
8880
  }
8474
8881
  const majorAppField = findModelChild(
8475
8882
  entity.appDEFields || [],
@@ -8491,7 +8898,11 @@ var AppDataEntity = class _AppDataEntity {
8491
8898
  }
8492
8899
  });
8493
8900
  } else {
8494
- ibiz.log.warn("\u5B9E\u4F53[".concat(entity.codeName, "]\u672A\u914D\u7F6E\u4E3B\u6587\u672C\u5B57\u6BB5"));
8901
+ ibiz.log.warn(
8902
+ ibiz.i18n.t("runtime.service.noConfiguredField", {
8903
+ codeName: entity.codeName
8904
+ })
8905
+ );
8495
8906
  }
8496
8907
  Object.defineProperty(this, "tempsrfkey", {
8497
8908
  enumerable: false,
@@ -8593,7 +9004,11 @@ var AppDataEntity = class _AppDataEntity {
8593
9004
  if (DataTypes.isNumber(dataType)) {
8594
9005
  const numVal = !isNil9(value) && value !== "" ? Number(value) : value;
8595
9006
  if (Number.isNaN(numVal)) {
8596
- ibiz.log.debug("".concat(value, "\u4E0D\u80FD\u8F6C\u6362\u6210\u6570\u5B57"));
9007
+ ibiz.log.debug(
9008
+ ibiz.i18n.t("runtime.service.convertedNumber", {
9009
+ value
9010
+ })
9011
+ );
8597
9012
  return value;
8598
9013
  }
8599
9014
  return numVal;
@@ -8719,7 +9134,7 @@ var MethodDto = class {
8719
9134
  } else {
8720
9135
  throw new RuntimeModelError9(
8721
9136
  field,
8722
- "\u5B50\u5173\u7CFB\u672A\u914D\u7F6E\u5D4C\u5957\u5173\u7CFB\u6570\u636E\u96C6, \u4F1A\u5BFC\u81F4\u9012\u5F52\u67E5\u8BE2\u6B7B\u5FAA\u73AF\uFF0C\u8BF7\u914D\u7F6E!"
9137
+ ibiz.i18n.t("runtime.service.subRelationships")
8723
9138
  );
8724
9139
  }
8725
9140
  if (res.ok) {
@@ -8736,7 +9151,9 @@ var MethodDto = class {
8736
9151
  default:
8737
9152
  throw new ModelError6(
8738
9153
  field,
8739
- "\u672A\u652F\u6301\u7684\u5E94\u7528\u5B9E\u4F53\u65B9\u6CD5\u8F93\u5165\u5C5E\u6027\u7C7B\u578B: ".concat(field.type)
9154
+ ibiz.i18n.t("runtime.service.unsupportedMethod", {
9155
+ type: field.type
9156
+ })
8740
9157
  );
8741
9158
  }
8742
9159
  }
@@ -8926,11 +9343,19 @@ var DEService = class {
8926
9343
  }
8927
9344
  const model = findAppDEMethod(this.model, id);
8928
9345
  if (!model) {
8929
- throw new RuntimeModelError10(this.model, "\u672A\u627E\u5230\u670D\u52A1\u65B9\u6CD5: ".concat(id));
9346
+ throw new RuntimeModelError10(
9347
+ this.model,
9348
+ ibiz.i18n.t("runtime.service.noFoundServiceMethod", { id })
9349
+ );
8930
9350
  }
8931
9351
  const provider = await getDEMethodProvider(model);
8932
9352
  if (!provider) {
8933
- throw new ModelError7(model, "\u672A\u652F\u6301\u7684\u670D\u52A1\u65B9\u6CD5\u7C7B\u578B: ".concat(model.methodType));
9353
+ throw new ModelError7(
9354
+ model,
9355
+ ibiz.i18n.t("runtime.service.UnsupportedServiceMethod", {
9356
+ methodType: model.methodType
9357
+ })
9358
+ );
8934
9359
  }
8935
9360
  const method = provider.create(this, this.model, model, {
8936
9361
  acMode,
@@ -8955,7 +9380,12 @@ var DEService = class {
8955
9380
  if (method) {
8956
9381
  return method.exec(context, params, params2, header);
8957
9382
  }
8958
- throw new RuntimeError19("".concat(this.model.codeName, "\u672A\u652F\u6301\u300C").concat(id, "\u300D\u65B9\u6CD5"));
9383
+ throw new RuntimeError19(
9384
+ ibiz.i18n.t("runtime.service.noSupportedMethod", {
9385
+ codeName: this.model.codeName,
9386
+ id
9387
+ })
9388
+ );
8959
9389
  }
8960
9390
  getDraft(context, params, params2) {
8961
9391
  return this.exec("GetDraft", context, params, params2);
@@ -9009,7 +9439,12 @@ var DEService = class {
9009
9439
  if (method) {
9010
9440
  return method.exec(context, params, params2);
9011
9441
  }
9012
- throw new RuntimeError19("".concat(this.model.codeName, "\u672A\u652F\u6301\u300C").concat(id, "\u300D\u65B9\u6CD5"));
9442
+ throw new RuntimeError19(
9443
+ ibiz.i18n.t("runtime.service.noSupportedMethod", {
9444
+ codeName: this.model.codeName,
9445
+ id
9446
+ })
9447
+ );
9013
9448
  }
9014
9449
  /**
9015
9450
  * 实体级别 AI 聊天会话
@@ -9765,26 +10200,38 @@ var DeAuthorityService = class {
9765
10200
  const appDataEntity = this.entityModel;
9766
10201
  if (!appDataEntity.enableDEMainState) {
9767
10202
  ibiz.log.debug(
9768
- "".concat(appDataEntity.codeName, "\u5B9E\u4F53\u4E0D\u5B58\u5728\u6216\u8005\u4E3A\u542F\u7528\u4E3B\u72B6\u6001\uFF0C\u8FD4\u56DEtrue")
10203
+ ibiz.i18n.t("runtime.service.masterState", {
10204
+ codeName: appDataEntity.codeName
10205
+ })
9769
10206
  );
9770
10207
  return result;
9771
10208
  }
9772
10209
  ibiz.log.debug(
9773
- "\u64CD\u4F5C\u6807\u8BC6".concat(dataAccessAction, "\u4E3B\u72B6\u6001\u8BA1\u7B97\u5F00\u59CB"),
10210
+ ibiz.i18n.t("runtime.service.operationIdentifier", {
10211
+ dataAccessAction
10212
+ }),
9774
10213
  data,
9775
10214
  appDataEntity
9776
10215
  );
9777
10216
  const match = matchMainState(appDataEntity, data);
9778
10217
  if (match) {
9779
- ibiz.log.debug("\u5339\u914D\u4E3B\u72B6\u6001", match);
10218
+ ibiz.log.debug(ibiz.i18n.t("runtime.service.matchMasterState"), match);
9780
10219
  const opprivs = calcMainStateOPPrivsStrs(match, appDataEntity);
9781
- ibiz.log.debug("\u5141\u8BB8\u7684\u4E3B\u72B6\u6001\u6743\u9650\u96C6\u5408", opprivs);
10220
+ ibiz.log.debug(
10221
+ ibiz.i18n.t("runtime.service.masterStatePermissions"),
10222
+ opprivs
10223
+ );
9782
10224
  result = opprivs.includes(dataAccessAction);
9783
10225
  } else {
9784
- ibiz.log.debug("\u6CA1\u5339\u914D\u4E3B\u72B6\u6001\uFF0C\u8FD4\u56DEfalse");
10226
+ ibiz.log.debug(ibiz.i18n.t("runtime.service.noMatchedState"));
9785
10227
  result = false;
9786
10228
  }
9787
- ibiz.log.debug("\u64CD\u4F5C\u6807\u8BC6".concat(dataAccessAction, "\u6743\u9650\u8BA1\u7B97\u7ED3\u675F\uFF1A").concat(result));
10229
+ ibiz.log.debug(
10230
+ ibiz.i18n.t("runtime.service.permissionCalculation", {
10231
+ dataAccessAction,
10232
+ result
10233
+ })
10234
+ );
9788
10235
  return result;
9789
10236
  }
9790
10237
  };
@@ -9858,7 +10305,7 @@ var AuthorityService = class {
9858
10305
  this.appModel.appId
9859
10306
  );
9860
10307
  if (!entityModel) {
9861
- throw new RuntimeError21("\u672A\u627E\u5230\u5E94\u7528\u5B9E\u4F53[".concat(id, "]"));
10308
+ throw new RuntimeError21(ibiz.i18n.t("runtime.service.noFound", { id }));
9862
10309
  }
9863
10310
  const constructor = this.constructorCache.get(id);
9864
10311
  let service;
@@ -9941,7 +10388,7 @@ var V7AuthService = class {
9941
10388
  async anonymousLogin() {
9942
10389
  const { anonymousUser, anonymousPwd } = ibiz.env;
9943
10390
  if (!anonymousUser || !anonymousPwd) {
9944
- ibiz.log.error("\u672A\u627E\u5230\u533F\u540D\u767B\u5F55\u914D\u7F6E\u7528\u6237\u540D\u6216\u5BC6\u7801");
10391
+ ibiz.log.error(ibiz.i18n.t("runtime.service.noFoundUsernamePassword"));
9945
10392
  return false;
9946
10393
  }
9947
10394
  const result = await this.login(anonymousUser, anonymousPwd);
@@ -9960,13 +10407,18 @@ var V7AuthService = class {
9960
10407
  }
9961
10408
  return result;
9962
10409
  }
9963
- async login(loginName, password, remember) {
10410
+ async login(loginName, password, remember, headers) {
9964
10411
  try {
9965
- const res = await ibiz.net.post("/v7/login", {
9966
- loginname: loginName,
9967
- password,
9968
- rememberme: remember
9969
- });
10412
+ const res = await ibiz.net.post(
10413
+ "/v7/login",
10414
+ {
10415
+ loginname: loginName,
10416
+ password,
10417
+ rememberme: remember
10418
+ },
10419
+ {},
10420
+ headers
10421
+ );
9970
10422
  const { data } = res;
9971
10423
  if (data && data.token) {
9972
10424
  const cacheDay = remember ? 30 : 0;
@@ -9989,7 +10441,7 @@ var V7AuthService = class {
9989
10441
  return true;
9990
10442
  } catch (err) {
9991
10443
  ibiz.notification.error({
9992
- title: "\u767B\u5F55\u5931\u8D25",
10444
+ title: ibiz.i18n.t("runtime.service.loginFailure"),
9993
10445
  desc: err.message || ""
9994
10446
  });
9995
10447
  }
@@ -10008,7 +10460,7 @@ var V7AuthService = class {
10008
10460
  return true;
10009
10461
  } catch (err) {
10010
10462
  ibiz.notification.error({
10011
- title: "\u767B\u51FA\u5931\u8D25",
10463
+ title: ibiz.i18n.t("runtime.service.logoutFailure"),
10012
10464
  desc: err.message || ""
10013
10465
  });
10014
10466
  }
@@ -10335,15 +10787,21 @@ var Method = class {
10335
10787
  if (requestMethod) {
10336
10788
  throw new RuntimeModelError11(
10337
10789
  this.method,
10338
- "\u672A\u652F\u6301\u7684\u8BF7\u6C42\u65B9\u5F0F: ".concat(requestMethod)
10790
+ ibiz.i18n.t("runtime.service.requestMethods", { requestMethod })
10339
10791
  );
10340
10792
  } else {
10341
- throw new RuntimeModelError11(this.method, "\u672A\u914D\u7F6E\u8BF7\u6C42\u65B9\u5F0F");
10793
+ throw new RuntimeModelError11(
10794
+ this.method,
10795
+ ibiz.i18n.t("runtime.service.noConfiguredRequestMethod")
10796
+ );
10342
10797
  }
10343
10798
  }
10344
10799
  return res;
10345
10800
  }
10346
- throw new RuntimeModelError11(this.method, "\u672A\u652F\u6301\u7684\u884C\u4E3A\u7C7B\u578B[".concat(actionType, "]"));
10801
+ throw new RuntimeModelError11(
10802
+ this.method,
10803
+ ibiz.i18n.t("runtime.service.unsupportedBehaviorTypes", { actionType })
10804
+ );
10347
10805
  }
10348
10806
  /**
10349
10807
  * 合并请求路径
@@ -10581,7 +11039,7 @@ var DELogicLinkSingleCond = class extends DELogicLinkCond {
10581
11039
  if (!this.value) {
10582
11040
  throw new RuntimeModelError12(
10583
11041
  this.model,
10584
- "\u5F53\u524D\u6761\u4EF6\u503C\u7C7B\u578B\u4E3A[\u6570\u636E\u5BF9\u8C61\u5C5E\u6027],\u7F3A\u5C11\u914D\u7F6E\u6761\u4EF6\u503C"
11042
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.missingConditionValue")
10585
11043
  );
10586
11044
  }
10587
11045
  const value = data[this.value] != null ? data[this.value] : context[this.value];
@@ -10593,7 +11051,9 @@ var DELogicLinkSingleCond = class extends DELogicLinkCond {
10593
11051
  if (!this.value) {
10594
11052
  throw new RuntimeModelError12(
10595
11053
  this.model,
10596
- "\u5F53\u524D\u6761\u4EF6\u503C\u7C7B\u578B\u4E3A[\u6E90\u6570\u636E\u5BF9\u8C61\u5C5E\u6027],\u7F3A\u5C11\u914D\u7F6E\u6761\u4EF6\u503C"
11054
+ ibiz.i18n.t(
11055
+ "runtime.deLogic.deLogicLink.sourceDataMissingConditionValue"
11056
+ )
10597
11057
  );
10598
11058
  }
10599
11059
  const src = ctx.params[this.srcParam];
@@ -10602,18 +11062,27 @@ var DELogicLinkSingleCond = class extends DELogicLinkCond {
10602
11062
  break;
10603
11063
  }
10604
11064
  case "CURTIME":
10605
- throw new ModelError8(this.model, "\u6682\u672A\u652F\u6301\u6761\u4EF6\u503C\u7C7B\u578B\u4E3A[\u5F53\u524D\u65F6\u95F4]");
11065
+ throw new ModelError8(
11066
+ this.model,
11067
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.noSupportedTime")
11068
+ );
10606
11069
  default:
10607
11070
  compareValue = this.value;
10608
11071
  result = testCond(dst[this.dstField], this.op, this.value);
10609
11072
  }
10610
11073
  ibiz.log.debug(
10611
- "\u5B9E\u4F53\u903B\u8F91\u8FDE\u63A5\u6761\u4EF6\u9879\uFF1A".concat(this.model.name, "-\u6761\u4EF6\u503C\u7C7B\u578B\uFF1A").concat(this.type, "-\u6E90\u5C5E\u6027\u540D\u79F0\uFF1A").concat(this.dstField, "-\u6E90\u5BF9\u8C61\u503C\uFF1A"),
11074
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.entityLogicalConnection", {
11075
+ name: this.model.name,
11076
+ type: this.type,
11077
+ dstField: this.dstField
11078
+ }),
10612
11079
  dst[this.dstField],
10613
- "-\u5BF9\u6BD4\u6761\u4EF6\uFF1A".concat(this.op),
10614
- "-\u5BF9\u6BD4\u503C",
11080
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.comparisonCondition", {
11081
+ op: this.op
11082
+ }),
11083
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.comparisonValue"),
10615
11084
  compareValue,
10616
- "-\u5BF9\u6BD4\u7ED3\u679C\uFF1A",
11085
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.compareResults"),
10617
11086
  result
10618
11087
  );
10619
11088
  return result;
@@ -10665,9 +11134,12 @@ var DELogicLinkGroupCond = class _DELogicLinkGroupCond extends DELogicLinkCond {
10665
11134
  * @return {*} {boolean}
10666
11135
  */
10667
11136
  test(ctx, context, data) {
10668
- let bol = true;
11137
+ let bol = this.op !== "OR";
10669
11138
  if (this.conds.length === 0) {
10670
- throw new RuntimeModelError13(this.model, "\u754C\u9762\u8FDE\u63A5\u6761\u4EF6\u903B\u8F91\u7EC4\u672A\u914D\u7F6E\u903B\u8F91\u9879");
11139
+ throw new RuntimeModelError13(
11140
+ this.model,
11141
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.connectionConditional")
11142
+ );
10671
11143
  }
10672
11144
  for (let i = 0; i < this.conds.length; i++) {
10673
11145
  const cond = this.conds[i];
@@ -10683,7 +11155,10 @@ var DELogicLinkGroupCond = class _DELogicLinkGroupCond extends DELogicLinkCond {
10683
11155
  }
10684
11156
  const result = this.notMode ? !bol : bol;
10685
11157
  ibiz.log.debug(
10686
- "\u5B9E\u4F53\u903B\u8F91\u8FDE\u63A5\u6761\u4EF6\u7EC4\u540D\u79F0\uFF1A".concat(this.model.name, "-\u6761\u4EF6\u7EC4\u6807\u8BC6\uFF1A").concat(this.model.id, "-\u8FD0\u884C\u7ED3\u679C\uFF1A"),
11158
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.entityConnectionConditional", {
11159
+ name: this.model.name,
11160
+ id: this.model.id
11161
+ }),
10687
11162
  result
10688
11163
  );
10689
11164
  return result;
@@ -10775,10 +11250,16 @@ var DEActionNode = class extends DELogicNode {
10775
11250
  retDELogicParamId
10776
11251
  } = this.model;
10777
11252
  if (!dstAppDataEntityId) {
10778
- throw new RuntimeModelError14(this.model, "\u672A\u6307\u5B9A\u5E94\u7528\u5B9E\u4F53");
11253
+ throw new RuntimeModelError14(
11254
+ this.model,
11255
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.unspecifiedEntity")
11256
+ );
10779
11257
  }
10780
11258
  if (!dstAppDEActionId) {
10781
- throw new RuntimeModelError14(this.model, "\u672A\u6307\u5B9A\u5B9E\u4F53\u884C\u4E3A");
11259
+ throw new RuntimeModelError14(
11260
+ this.model,
11261
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.unspecifiedBehavior")
11262
+ );
10782
11263
  }
10783
11264
  const requestData = ctx.params[dstDELogicParamId];
10784
11265
  const app = ibiz.hub.getApp(ctx.context.srfappid);
@@ -10793,7 +11274,12 @@ var DEActionNode = class extends DELogicNode {
10793
11274
  ctx.params[retDELogicParamId] = res.data;
10794
11275
  }
10795
11276
  ibiz.log.debug(
10796
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u5B9E\u4F53\u884C\u4E3A\uFF09\uFF1A".concat(this.model.id, "-\u754C\u9762\u884C\u4E3A\u6240\u5C5E\u5B9E\u4F53\uFF1A").concat(dstAppDataEntityId, "-\u5B9E\u4F53\u884C\u4E3A\u6807\u8BC6\uFF1A").concat(dstAppDEActionId, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(retDELogicParamId, "-\u503C\uFF1A"),
11277
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.entityActions", {
11278
+ id: this.model.id,
11279
+ dstAppDataEntityId,
11280
+ dstAppDEActionId,
11281
+ retDELogicParamId
11282
+ }),
10797
11283
  ctx.params[retDELogicParamId]
10798
11284
  );
10799
11285
  }
@@ -10802,7 +11288,11 @@ var DEActionNode = class extends DELogicNode {
10802
11288
  // src/de-logic/de-logic-node/start-node/start-node.ts
10803
11289
  var StartNode = class extends DELogicNode {
10804
11290
  async exec(_ctx) {
10805
- ibiz.log.debug("\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u542F\u52A8\u8282\u70B9\uFF09\uFF1A".concat(this.model.id));
11291
+ ibiz.log.debug(
11292
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.startupNode", {
11293
+ id: this.model.id
11294
+ })
11295
+ );
10806
11296
  }
10807
11297
  };
10808
11298
 
@@ -10833,11 +11323,16 @@ var EndNode = class extends DELogicNode {
10833
11323
  default:
10834
11324
  throw new ModelError9(
10835
11325
  this.model,
10836
- "\u6682\u672A\u652F\u6301\u7684\u7ED3\u675F\u8282\u70B9\u8FD4\u56DE\u503C\u7C7B\u578B: ".concat(returnType)
11326
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.unsupportedReturnType", {
11327
+ returnType
11328
+ })
10837
11329
  );
10838
11330
  }
10839
11331
  ibiz.log.debug(
10840
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u7ED3\u675F\u8282\u70B9\uFF09\uFF1A".concat(this.model.id, "-\u8FD4\u56DE\u503C\u7C7B\u578B\uFF1A").concat(returnType, "-\u8FD4\u56DE\u503C\uFF1A"),
11332
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.endNode", {
11333
+ id: this.model.id,
11334
+ returnType
11335
+ }),
10841
11336
  ctx.result
10842
11337
  );
10843
11338
  }
@@ -10883,7 +11378,10 @@ function handleSrcVal(ctx, srcValParams) {
10883
11378
  break;
10884
11379
  case "EXPRESSION":
10885
11380
  if (!expression) {
10886
- throw new ModelError10(srcValParams, "\u8868\u8FBE\u5F0F\u4E3A\u7A7A");
11381
+ throw new ModelError10(
11382
+ srcValParams,
11383
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.expressionEmpty")
11384
+ );
10887
11385
  }
10888
11386
  value = ScriptFactory.execScriptFn(ctx, expression, {
10889
11387
  singleRowReturn: true,
@@ -10891,7 +11389,12 @@ function handleSrcVal(ctx, srcValParams) {
10891
11389
  });
10892
11390
  break;
10893
11391
  default:
10894
- throw new ModelError10(srcValParams, "\u6682\u672A\u652F\u6301\u6E90\u503C\u7C7B\u578B".concat(srcValueType));
11392
+ throw new ModelError10(
11393
+ srcValParams,
11394
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.sourceValueType", {
11395
+ srcValueType
11396
+ })
11397
+ );
10895
11398
  }
10896
11399
  if (value && srcField) {
10897
11400
  try {
@@ -10908,7 +11411,12 @@ function handleSrcVal(ctx, srcValParams) {
10908
11411
  );
10909
11412
  }
10910
11413
  } catch (error) {
10911
- ibiz.log.error("\u4ECE\u6E90\u53C2\u6570\u53D6\u5C5E\u6027".concat(srcField, "\u62A5\u9519\uFF0C\u6E90\u53C2\u6570\uFF1A"), value);
11414
+ ibiz.log.error(
11415
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.fetchingAttribute", {
11416
+ srcField
11417
+ }),
11418
+ value
11419
+ );
10912
11420
  throw error;
10913
11421
  }
10914
11422
  }
@@ -10952,13 +11460,19 @@ var PrepareParamNode = class extends DELogicNode {
10952
11460
  default:
10953
11461
  throw new ModelError11(
10954
11462
  nodeParam,
10955
- "\u6682\u672A\u652F\u6301\u903B\u8F91\u5904\u7406\u53C2\u6570\u64CD\u4F5C".concat(nodeParam.paramAction)
11463
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.noSupportedLogic", {
11464
+ paramAction: nodeParam.paramAction
11465
+ })
10956
11466
  );
10957
11467
  }
10958
11468
  ibiz.log.debug(
10959
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u51C6\u5907\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u53C2\u6570\u5904\u7406\u64CD\u4F5C\uFF1A").concat(nodeParam.paramAction, "-\u76EE\u6807\u903B\u8F91\u53C2\u6570\uFF1A").concat(nodeParam.dstDELogicParamId, "-\u6E90\u53C2\u6570\uFF08\u503C\uFF09\uFF1A"),
11469
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.preparationParameter", {
11470
+ id: this.model.id,
11471
+ paramAction: nodeParam.paramAction,
11472
+ dstDELogicParamId: nodeParam.dstDELogicParamId
11473
+ }),
10960
11474
  originValue,
10961
- "-\u76EE\u6807\u53C2\u6570\uFF08\u503C\uFF09\uFF1A",
11475
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.targetParameter"),
10962
11476
  ctx.params[nodeParam.dstDELogicParamId]
10963
11477
  );
10964
11478
  return result;
@@ -11096,7 +11610,12 @@ var DataSetNode = class extends DELogicNode {
11096
11610
  ctx.params[retDELogicParamId] = res.data;
11097
11611
  }
11098
11612
  ibiz.log.debug(
11099
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u6570\u636E\u96C6\u5408\uFF09\uFF1A".concat(this.model.id, "-\u6570\u636E\u96C6\u5B9E\u4F53\u6807\u8BC6\uFF1A").concat(dstAppDataEntityId, "-\u6570\u636E\u96C6\u6807\u8BC6\uFF1A").concat(dstAppDEDataSetId, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(retDELogicParamId, "-\u503C\uFF1A"),
11613
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.dataSet", {
11614
+ id: this.model.id,
11615
+ dstAppDataEntityId,
11616
+ dstAppDEDataSetId,
11617
+ retDELogicParamId
11618
+ }),
11100
11619
  ctx.params[retDELogicParamId]
11101
11620
  );
11102
11621
  }
@@ -11110,13 +11629,16 @@ var BindParamNode = class extends DELogicNode {
11110
11629
  if (!dstDELogicParamId || !srcDELogicParamId) {
11111
11630
  throw new RuntimeModelError15(
11112
11631
  this.model,
11113
- "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u8005\u6E90\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E"
11632
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingTargetParameter")
11114
11633
  );
11115
11634
  }
11116
11635
  const srcVal = handleSrcVal(ctx, this.model);
11117
11636
  ctx.params[dstDELogicParamId] = srcVal;
11118
11637
  ibiz.log.debug(
11119
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u7ED1\u5B9A\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(dstDELogicParamId, "-\u503C\uFF1A"),
11638
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.logicNodeParameterName", {
11639
+ id: this.model.id,
11640
+ dstDELogicParamId
11641
+ }),
11120
11642
  srcVal
11121
11643
  );
11122
11644
  }
@@ -11128,11 +11650,17 @@ var ResetParamNode = class extends DELogicNode {
11128
11650
  async exec(ctx) {
11129
11651
  const { dstDELogicParamId } = this.model;
11130
11652
  if (!dstDELogicParamId) {
11131
- throw new RuntimeModelError16(this.model, "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E");
11653
+ throw new RuntimeModelError16(
11654
+ this.model,
11655
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
11656
+ );
11132
11657
  }
11133
11658
  ctx.resetParam(dstDELogicParamId);
11134
11659
  ibiz.log.debug(
11135
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u91CD\u7F6E\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u91CD\u7F6E\u53C2\u6570\uFF1A").concat(dstDELogicParamId)
11660
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.resetParameter", {
11661
+ id: this.model.id,
11662
+ dstDELogicParamId
11663
+ })
11136
11664
  );
11137
11665
  }
11138
11666
  };
@@ -11143,11 +11671,17 @@ var RenewParamNode = class extends DELogicNode {
11143
11671
  async exec(ctx) {
11144
11672
  const { dstDELogicParamId } = this.model;
11145
11673
  if (!dstDELogicParamId) {
11146
- throw new RuntimeModelError17(this.model, "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E");
11674
+ throw new RuntimeModelError17(
11675
+ this.model,
11676
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
11677
+ );
11147
11678
  }
11148
11679
  ctx.renewParam(dstDELogicParamId);
11149
11680
  ibiz.log.debug(
11150
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u91CD\u65B0\u5EFA\u7ACB\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u91CD\u5EFA\u53C2\u6570\uFF1A").concat(dstDELogicParamId)
11681
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.rebuildParameter", {
11682
+ id: this.model.id,
11683
+ dstDELogicParamId
11684
+ })
11151
11685
  );
11152
11686
  }
11153
11687
  };
@@ -11161,13 +11695,16 @@ var CopyParamNode = class extends DELogicNode {
11161
11695
  if (!dstDELogicParamId || !srcDELogicParamId) {
11162
11696
  throw new RuntimeModelError18(
11163
11697
  this.model,
11164
- "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u8005\u6E90\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E"
11698
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingTargetParameter")
11165
11699
  );
11166
11700
  }
11167
11701
  const srcVal = handleSrcVal(ctx, this.model);
11168
11702
  ctx.params[dstDELogicParamId] = clone12(srcVal);
11169
11703
  ibiz.log.debug(
11170
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u62F7\u8D1D\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(dstDELogicParamId, "-\u503C\uFF1A"),
11704
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.copyParameter", {
11705
+ id: this.model.id,
11706
+ dstDELogicParamId
11707
+ }),
11171
11708
  srcVal
11172
11709
  );
11173
11710
  }
@@ -11179,7 +11716,10 @@ var SortParamNode = class extends DELogicNode {
11179
11716
  async exec(ctx) {
11180
11717
  const { dstDELogicParamId, dstSortDir, dstFieldName } = this.model;
11181
11718
  if (!dstDELogicParamId || !dstFieldName) {
11182
- throw new RuntimeModelError19(this.model, "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u76EE\u6807\u5C5E\u6027\u914D\u7F6E");
11719
+ throw new RuntimeModelError19(
11720
+ this.model,
11721
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingParameterProperty")
11722
+ );
11183
11723
  }
11184
11724
  const key = dstFieldName.toLowerCase();
11185
11725
  const arr = ctx.params[dstDELogicParamId];
@@ -11187,7 +11727,12 @@ var SortParamNode = class extends DELogicNode {
11187
11727
  return dstSortDir === "ASC" ? a[key] - b[key] : b[key] - a[key];
11188
11728
  });
11189
11729
  ibiz.log.debug(
11190
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u6392\u5E8F\u6570\u7EC4\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u6392\u5E8F\u5C5E\u6027\uFF1A").concat(dstFieldName, "-\u6392\u5E8F\u6A21\u5F0F\uFF1A").concat(dstSortDir, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(dstDELogicParamId, "-\u6392\u5E8F\u540E\u6570\u7EC4\uFF1A"),
11730
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.sortedArrayParameters", {
11731
+ id: this.model.id,
11732
+ dstFieldName,
11733
+ dstSortDir,
11734
+ dstDELogicParamId
11735
+ }),
11191
11736
  arr
11192
11737
  );
11193
11738
  }
@@ -11207,7 +11752,7 @@ var AppendParamNode = class extends DELogicNode {
11207
11752
  if (!dstDELogicParamId || !srcDELogicParamId) {
11208
11753
  throw new RuntimeModelError20(
11209
11754
  this.model,
11210
- "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u8005\u6E90\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E"
11755
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingTargetParameter")
11211
11756
  );
11212
11757
  }
11213
11758
  const srcVal = handleSrcVal(ctx, this.model);
@@ -11220,9 +11765,11 @@ var AppendParamNode = class extends DELogicNode {
11220
11765
  ...srcVal.slice(_srcIndex, _srcSize)
11221
11766
  );
11222
11767
  ibiz.log.debug(
11223
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u9644\u52A0\u5230\u6570\u7EC4\uFF09\uFF1A".concat(this.model.id, "-\u9644\u52A0\u53C2\u6570\uFF1A"),
11768
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.additionalParameter", {
11769
+ id: this.model.id
11770
+ }),
11224
11771
  ctx.params,
11225
- "-\u9644\u52A0\u503C\uFF1A",
11772
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.addedValue"),
11226
11773
  srcVal.slice(_srcIndex, _srcSize)
11227
11774
  );
11228
11775
  }
@@ -11234,7 +11781,11 @@ var ThrowExceptionNode = class extends DELogicNode {
11234
11781
  async exec(_ctx) {
11235
11782
  const { errorCode, errorInfo } = this.model;
11236
11783
  ibiz.log.debug(
11237
- "\u5B9E\u4F53\u903B\u8F91\u8282\u70B9\uFF08\u629B\u51FA\u5F02\u5E38\uFF09\uFF1A".concat(this.model.id, "-\u9519\u8BEF\u4EE3\u7801\uFF1A").concat(errorCode, "-\u9519\u8BEF\u4FE1\u606F\uFF1A").concat(errorInfo)
11784
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.throwsException", {
11785
+ id: this.model.id,
11786
+ errorCode,
11787
+ errorInfo
11788
+ })
11238
11789
  );
11239
11790
  throw new HttpError3({
11240
11791
  response: {
@@ -11298,21 +11849,46 @@ var DELogicParam = class {
11298
11849
  } else if (m.cloneParam) {
11299
11850
  ctx.params[tag] = clone13(ctx.data || {});
11300
11851
  } else if (m.envParam) {
11301
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u7CFB\u7EDF\u73AF\u5883\u53D8\u91CF");
11852
+ throw new ModelError12(
11853
+ m,
11854
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.environmentVariables")
11855
+ );
11302
11856
  } else if (m.fileListParam) {
11303
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u6587\u4EF6\u5BF9\u8C61\u5217\u8868\u53D8\u91CF");
11857
+ throw new ModelError12(
11858
+ m,
11859
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.fileObjectListVariable")
11860
+ );
11304
11861
  } else if (m.fileParam) {
11305
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u6587\u4EF6\u5BF9\u8C61\u53D8\u91CF");
11862
+ throw new ModelError12(
11863
+ m,
11864
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.fileObjectVariables")
11865
+ );
11306
11866
  } else if (m.filterParam) {
11307
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u8FC7\u6EE4\u5668\u5BF9\u8C61\u53D8\u91CF");
11867
+ throw new ModelError12(
11868
+ m,
11869
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.filterObjectVariables")
11870
+ );
11308
11871
  } else if (m.lastParam) {
11309
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u6700\u540E\u6570\u636E\u53D8\u91CF");
11872
+ throw new ModelError12(
11873
+ m,
11874
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.finalDataVariables")
11875
+ );
11310
11876
  } else if (m.originEntity) {
11311
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u539F\u59CB\u6570\u636E\u5BF9\u8C61");
11877
+ throw new ModelError12(
11878
+ m,
11879
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.rawDataObjects")
11880
+ );
11312
11881
  } else if (m.sessionParam) {
11313
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u64CD\u4F5C\u4F1A\u8BDD\u53D8\u91CF");
11882
+ throw new ModelError12(
11883
+ m,
11884
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.operationSessionVariables")
11885
+ );
11314
11886
  }
11315
- ibiz.log.debug("\u8BA1\u7B97\u5B9E\u4F53\u903B\u8F91\u53C2\u6570\uFF0C\u6807\u8BC6\uFF1A".concat(tag), "-\u503C\uFF1A", ctx.params[tag]);
11887
+ ibiz.log.debug(
11888
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.calculateEntity", { tag }),
11889
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.value"),
11890
+ ctx.params[tag]
11891
+ );
11316
11892
  }
11317
11893
  /**
11318
11894
  * 重新建立变量
@@ -11328,11 +11904,14 @@ var DELogicParam = class {
11328
11904
  } else if (m.simpleParam || m.entityParam) {
11329
11905
  ctx.params[tag] = {};
11330
11906
  } else {
11331
- throw new ModelError12(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B\u91CD\u65B0\u5EFA\u7ACB\u53D8\u91CF");
11907
+ throw new ModelError12(
11908
+ m,
11909
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.recreatingVariables")
11910
+ );
11332
11911
  }
11333
11912
  ibiz.log.debug(
11334
- "\u91CD\u65B0\u5EFA\u7ACB\u5B9E\u4F53\u903B\u8F91\u53C2\u6570\uFF0C\u6807\u8BC6\uFF1A".concat(tag),
11335
- "-\u503C\uFF1A",
11913
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.reEstablish", { tag }),
11914
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.value"),
11336
11915
  ctx.params[tag]
11337
11916
  );
11338
11917
  }
@@ -11369,7 +11948,10 @@ var DELogic = class {
11369
11948
  var _a, _b;
11370
11949
  if (model.customCode) {
11371
11950
  if (!model.scriptCode) {
11372
- throw new RuntimeModelError21(model, "\u811A\u672C\u4EE3\u7801\u6A21\u5F0F\u6CA1\u6709\u914D\u7F6E\u811A\u672C\u4EE3\u7801");
11951
+ throw new RuntimeModelError21(
11952
+ model,
11953
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.noScriptCode")
11954
+ );
11373
11955
  }
11374
11956
  this.scriptFn = ScriptFactory.createScriptFn([], model.scriptCode, {
11375
11957
  isAsync: true
@@ -11377,7 +11959,10 @@ var DELogic = class {
11377
11959
  return;
11378
11960
  }
11379
11961
  if (!((_a = model.delogicNodes) == null ? void 0 : _a.length)) {
11380
- throw new RuntimeModelError21(model, "\u5B9E\u4F53\u903B\u8F91\u6CA1\u6709\u914D\u7F6E\u903B\u8F91\u8282\u70B9");
11962
+ throw new RuntimeModelError21(
11963
+ model,
11964
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.noConfigurationLogicNode")
11965
+ );
11381
11966
  }
11382
11967
  model.delogicNodes.forEach((node) => {
11383
11968
  const { logicNodeType } = node;
@@ -11420,7 +12005,12 @@ var DELogic = class {
11420
12005
  logicNode = new SortParamNode(node);
11421
12006
  break;
11422
12007
  default:
11423
- throw new ModelError13(node, "\u672A\u652F\u6301\u7684\u903B\u8F91\u8282\u70B9\u7C7B\u578B: ".concat(logicNodeType));
12008
+ throw new ModelError13(
12009
+ node,
12010
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.unsupportedLogical", {
12011
+ logicNodeType
12012
+ })
12013
+ );
11424
12014
  }
11425
12015
  this.nodes.set(node.id, logicNode);
11426
12016
  });
@@ -11476,7 +12066,10 @@ var DELogic = class {
11476
12066
  const start = this.nodes.get(startDELogicNodeId);
11477
12067
  await this.deepExec(start, ctx);
11478
12068
  } else {
11479
- throw new RuntimeModelError21(this.model, "\u672A\u8BBE\u7F6E\u8D77\u59CB\u8282\u70B9");
12069
+ throw new RuntimeModelError21(
12070
+ this.model,
12071
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.noSetStartNode")
12072
+ );
11480
12073
  }
11481
12074
  if (ctx.isEndNode) {
11482
12075
  return ctx.result;
@@ -11523,12 +12116,18 @@ async function execDELogic(deDELogic, context, data = {}, params = {}) {
11523
12116
  deLogicMap.set(deDELogic, new DELogic(deDELogic));
11524
12117
  }
11525
12118
  ibiz.log.debug(
11526
- "\u5F00\u59CB\u6267\u884C\u5B9E\u4F53\u903B\u8F91\uFF0C\u903B\u8F91\u6807\u8BC6\uFF1A".concat(deDELogic.id, "-\u903B\u8F91\u540D\u79F0\uFF1A").concat(deDELogic.name)
12119
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.startExecuting", {
12120
+ id: deDELogic.id,
12121
+ name: deDELogic.name
12122
+ })
11527
12123
  );
11528
12124
  const deLogic = deLogicMap.get(deDELogic);
11529
12125
  const result = await deLogic.exec(context, data, params);
11530
12126
  ibiz.log.debug(
11531
- "\u7ED3\u675F\u6267\u884C\u5B9E\u4F53\u903B\u8F91\uFF0C\u903B\u8F91\u6807\u8BC6\uFF1A".concat(deDELogic.id, "-\u903B\u8F91\u540D\u79F0\uFF1A").concat(deDELogic.name)
12127
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.endExecution", {
12128
+ id: deDELogic.id,
12129
+ name: deDELogic.name
12130
+ })
11532
12131
  );
11533
12132
  return result;
11534
12133
  }
@@ -11539,7 +12138,12 @@ async function execDELogicById(deDELogicId, dataEntityId, context, data, params)
11539
12138
  context.srfappid
11540
12139
  );
11541
12140
  if (!deLogic) {
11542
- throw new RuntimeError22("".concat(dataEntityId, "\u627E\u4E0D\u5230\u5B9E\u4F53\u903B\u8F91").concat(deDELogicId));
12141
+ throw new RuntimeError22(
12142
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.noFoundEntityLogic", {
12143
+ dataEntityId,
12144
+ deDELogicId
12145
+ })
12146
+ );
11543
12147
  }
11544
12148
  return execDELogic(deLogic, context, data, params);
11545
12149
  }
@@ -11609,7 +12213,10 @@ var DEActionMethod = class extends Method {
11609
12213
  if (this.method.actionType === "DELOGIC") {
11610
12214
  const deLogic = findDELogic(this.method.appDELogicId, this.entity);
11611
12215
  if (!deLogic) {
11612
- throw new RuntimeModelError22(this.method, "\u7F3A\u5C11\u5B9E\u4F53\u5904\u7406\u903B\u8F91");
12216
+ throw new RuntimeModelError22(
12217
+ this.method,
12218
+ ibiz.i18n.t("runtime.service.lackEntityLogic")
12219
+ );
11613
12220
  }
11614
12221
  result = await execDELogicAction(deLogic, context, data, params);
11615
12222
  } else {
@@ -11685,7 +12292,7 @@ var DEActionMethod = class extends Method {
11685
12292
  */
11686
12293
  async create(context, data, params, header) {
11687
12294
  if (!data) {
11688
- throw new RuntimeError23("create\u884C\u4E3A\u6CA1\u6709\u4F20data");
12295
+ throw new RuntimeError23(ibiz.i18n.t("runtime.service.createBehavior"));
11689
12296
  }
11690
12297
  if (this.isLocalMode) {
11691
12298
  return this.createTemp(context, this.createEntity(data));
@@ -11728,7 +12335,7 @@ var DEActionMethod = class extends Method {
11728
12335
  */
11729
12336
  async update(context, data, params, header) {
11730
12337
  if (!data) {
11731
- throw new RuntimeError23("update\u884C\u4E3A\u6CA1\u6709\u4F20data");
12338
+ throw new RuntimeError23(ibiz.i18n.t("runtime.service.updateBehavior"));
11732
12339
  }
11733
12340
  if (this.isLocalMode) {
11734
12341
  return this.updateTemp(context, this.createEntity(data));
@@ -11907,7 +12514,7 @@ var DEActionMethod = class extends Method {
11907
12514
  if (config.rstype !== "DER1N") {
11908
12515
  throw new RuntimeModelError22(
11909
12516
  config,
11910
- "\u76EE\u524D\u53EA\u652F\u6301[DER1N]\u5173\u7CFB\u7C7B\u578B\u5173\u8054\u5220\u9664\u5220\u9664"
12517
+ ibiz.i18n.t("runtime.service.deletionDeletion")
11911
12518
  );
11912
12519
  }
11913
12520
  const {
@@ -11951,7 +12558,12 @@ var DEActionMethod = class extends Method {
11951
12558
  case 3:
11952
12559
  if (items.length > 0) {
11953
12560
  const msg = items.map((item) => item.srfmajortext).join("\u3001");
11954
- const message = "\u65E0\u6CD5\u5220\u9664[".concat(this.entity.logicName, "-").concat(data.srfmajortext, "], \u6570\u636E\u88AB[").concat(minorService.model.logicName, "-").concat(msg, "]\u5F15\u7528");
12561
+ const message = ibiz.i18n.t("runtime.service.unableDelete", {
12562
+ logicName: this.entity.logicName,
12563
+ srfmajortext: data.srfmajortext,
12564
+ modelLogicName: minorService.model.logicName,
12565
+ msg
12566
+ });
11955
12567
  throw new Error(removeRejectMsg || message);
11956
12568
  }
11957
12569
  break;
@@ -12120,7 +12732,9 @@ var FetchMethod = class extends Method {
12120
12732
  default:
12121
12733
  throw new ModelError14(
12122
12734
  this.method,
12123
- "\u6570\u636E\u6765\u6E90\u7C7B\u578B".concat(this.method.dataSetType, "\u6682\u672A\u652F\u6301")
12735
+ ibiz.i18n.t("runtime.service.noSupportedDataSource", {
12736
+ dataSetType: this.method.dataSetType
12737
+ })
12124
12738
  );
12125
12739
  }
12126
12740
  const items = res.data || [];
@@ -12194,7 +12808,10 @@ var FetchMethod = class extends Method {
12194
12808
  async fetchCodeListSet(context, params) {
12195
12809
  const { appCodeListId } = this.method;
12196
12810
  if (!appCodeListId) {
12197
- throw new RuntimeModelError23(this.method, "\u6CA1\u6709\u6307\u5B9A\u6570\u636E\u6765\u6E90\u4EE3\u7801\u8868");
12811
+ throw new RuntimeModelError23(
12812
+ this.method,
12813
+ ibiz.i18n.t("runtime.service.sourceCodeTable")
12814
+ );
12198
12815
  }
12199
12816
  const codeItems = await this.app.codeList.get(
12200
12817
  appCodeListId,
@@ -12488,10 +13105,13 @@ var UtilService = class {
12488
13105
  return appDEService;
12489
13106
  }
12490
13107
  throw new Error(
12491
- "\u5E94\u7528\u529F\u80FD[".concat(name, "]\u672A\u627E\u5230\u5B58\u50A8\u5B9E\u4F53[").concat(stoageAppDataEntityId, "]")
13108
+ ibiz.i18n.t("runtime.service.noFoundStorageEntity", {
13109
+ name,
13110
+ stoageAppDataEntityId
13111
+ })
12492
13112
  );
12493
13113
  }
12494
- throw new Error("\u5E94\u7528\u529F\u80FD[".concat(name, "]\u4E0D\u5B58\u5728"));
13114
+ throw new Error(ibiz.i18n.t("runtime.service.noExist", { name }));
12495
13115
  }
12496
13116
  /**
12497
13117
  * 加载指定数据
@@ -12559,7 +13179,9 @@ var UtilService = class {
12559
13179
  stoageAppDataEntityId
12560
13180
  } = this.appUtil;
12561
13181
  if (!this.stoageAppDataEntity) {
12562
- throw new Error("\u672A\u627E\u5230\u5B58\u50A8\u5B9E\u4F53[".concat(stoageAppDataEntityId, "]"));
13182
+ throw new Error(
13183
+ ibiz.i18n.t("runtime.service.noFoundEntity", { stoageAppDataEntityId })
13184
+ );
12563
13185
  }
12564
13186
  const tempContext = context.clone();
12565
13187
  const tempData = {};
@@ -12786,7 +13408,10 @@ var TreeDataSetNodeData = class _TreeDataSetNodeData extends TreeNodeData {
12786
13408
  const columnKey = column.detreeColumnId;
12787
13409
  const dataItemKey = column.dataItemName;
12788
13410
  if (!columnKey || !dataItemKey) {
12789
- ibiz.log.error("\u6A21\u578B\u5F02\u5E38\u7F3A\u5C11detreeColumnId\u6216\u8005dataItemName", column);
13411
+ ibiz.log.error(
13412
+ ibiz.i18n.t("runtime.service.missingDetreeColumnId"),
13413
+ column
13414
+ );
12790
13415
  } else {
12791
13416
  nodeColumnKeyMap.set(columnKey, dataItemKey);
12792
13417
  }
@@ -12994,7 +13619,11 @@ var UIMapField = class {
12994
13619
  if (DataTypes2.isNumber(this.dataType)) {
12995
13620
  const numVal = !isNil16(value) && value !== "" ? Number(value) : value;
12996
13621
  if (Number.isNaN(numVal)) {
12997
- ibiz.log.debug("".concat(value, "\u4E0D\u80FD\u8F6C\u6362\u6210\u6570\u5B57"));
13622
+ ibiz.log.debug(
13623
+ ibiz.i18n.t("runtime.service.convertedNumber", {
13624
+ value
13625
+ })
13626
+ );
12998
13627
  return value;
12999
13628
  }
13000
13629
  return numVal;
@@ -13544,7 +14173,7 @@ var _DEServiceUtil = class _DEServiceUtil {
13544
14173
  this.appModel.appId
13545
14174
  );
13546
14175
  if (!entityModel) {
13547
- throw new RuntimeError24("\u672A\u627E\u5230\u5E94\u7528\u5B9E\u4F53[".concat(id, "]"));
14176
+ throw new RuntimeError24(ibiz.i18n.t("runtime.service.noFound", { id }));
13548
14177
  }
13549
14178
  const constructor = _DEServiceUtil.constructorCache.get(id.toUpperCase());
13550
14179
  let service;
@@ -13693,7 +14322,11 @@ var _OpenAppViewCommand = class _OpenAppViewCommand {
13693
14322
  }
13694
14323
  const appView = await ibiz.hub.config.view.get(appViewId);
13695
14324
  if (!appView) {
13696
- throw new RuntimeError25("\u5E94\u7528\u89C6\u56FE[".concat(appViewId, "]\u4E0D\u5B58\u5728"));
14325
+ throw new RuntimeError25(
14326
+ ibiz.i18n.t("runtime.command.app.noFindApplicationView", {
14327
+ appViewId
14328
+ })
14329
+ );
13697
14330
  }
13698
14331
  if ((context.srfkey || params.srfuf === 0 /* CREATE */) && appView.appDataEntityId) {
13699
14332
  const deName = calcDeCodeNameById(appView.appDataEntityId);
@@ -13733,11 +14366,17 @@ var _OpenAppViewCommand = class _OpenAppViewCommand {
13733
14366
  case "INDEXVIEWTAB_POPUPMODAL":
13734
14367
  return this.openIndexViewTabByModal(appView, context, params);
13735
14368
  case "POPUP":
13736
- throw new ModelError15(appView, "\u672A\u652F\u6301\u7684\u89C6\u56FE\u6253\u5F00\u6A21\u5F0F: POPUP");
14369
+ throw new ModelError15(
14370
+ appView,
14371
+ ibiz.i18n.t("runtime.command.app.unsupportedPopup")
14372
+ );
13737
14373
  case "POPUPMODAL":
13738
14374
  return this.openModal(appView, context, params);
13739
14375
  case "POPUPAPP":
13740
- throw new ModelError15(appView, "\u672A\u652F\u6301\u7684\u89C6\u56FE\u6253\u5F00\u6A21\u5F0F: POPUPAPP");
14376
+ throw new ModelError15(
14377
+ appView,
14378
+ ibiz.i18n.t("runtime.command.app.unsupportedPopupapp")
14379
+ );
13741
14380
  case "POPOVER":
13742
14381
  return this.openPopover(appView, context, params, opts);
13743
14382
  case "DRAWER_LEFT":
@@ -13806,7 +14445,7 @@ var _OpenAppViewCommand = class _OpenAppViewCommand {
13806
14445
  async openPopover(appView, context, params = {}, opts = {}) {
13807
14446
  const { event, modalOption } = opts;
13808
14447
  if (!event) {
13809
- throw new RuntimeError25("\u6C14\u6CE1\u6253\u5F00\u7F3A\u5C11event");
14448
+ throw new RuntimeError25(ibiz.i18n.t("runtime.command.app.missingEvent"));
13810
14449
  }
13811
14450
  return ibiz.openView.popover(appView.id, event, context, params, {
13812
14451
  ...modalOption
@@ -13865,7 +14504,7 @@ var _AppFuncCommand = class _AppFuncCommand {
13865
14504
  const appFunc = app.getAppFunc(appFuncId);
13866
14505
  if (!appFunc) {
13867
14506
  throw new RuntimeError26(
13868
- ibiz.i18n.t("runtime.command.app.notFindApplicationFunction", {
14507
+ ibiz.i18n.t("runtime.command.app.noFindApplicationFunction", {
13869
14508
  appFuncId
13870
14509
  })
13871
14510
  );
@@ -13889,7 +14528,7 @@ var _AppFuncCommand = class _AppFuncCommand {
13889
14528
  default:
13890
14529
  throw new ModelError16(
13891
14530
  appFunc,
13892
- ibiz.i18n.t("runtime.command.app.notFindApplicationFunctionYype", {
14531
+ ibiz.i18n.t("runtime.command.app.noFindApplicationFunctionYype", {
13893
14532
  appFuncType
13894
14533
  })
13895
14534
  );
@@ -13909,7 +14548,7 @@ var _AppFuncCommand = class _AppFuncCommand {
13909
14548
  async openAppView(appFunc, context, params, opts) {
13910
14549
  if (!appFunc.appViewId) {
13911
14550
  throw new RuntimeError26(
13912
- ibiz.i18n.t("runtime.command.app.notFindApplicationView", {
14551
+ ibiz.i18n.t("runtime.command.app.noFindApplicationView", {
13913
14552
  appViewId: appFunc.appViewId
13914
14553
  })
13915
14554
  );
@@ -14279,7 +14918,7 @@ var AppViewConfigService = class {
14279
14918
  try {
14280
14919
  modalOption = JSON.parse(optionProperty);
14281
14920
  } catch (error) {
14282
- ibiz.log.error("\u89C6\u56FE\u53C2\u6570modalOption \u89E3\u6790\u5931\u8D25\uFF1A".concat(error));
14921
+ ibiz.log.error(ibiz.i18n.t("runtime.hub.failedParse", { error }));
14283
14922
  }
14284
14923
  }
14285
14924
  return { modalOption };
@@ -14297,7 +14936,7 @@ var AppViewConfigService = class {
14297
14936
  if (!this.viewConfigs.has(id)) {
14298
14937
  const model = await ibiz.hub.getAppView(id);
14299
14938
  if (!model) {
14300
- throw new RuntimeError27("\u89C6\u56FE[".concat(id, "]\u4E0D\u5B58\u5728"));
14939
+ throw new RuntimeError27(ibiz.i18n.t("runtime.hub.noExist", { id }));
14301
14940
  }
14302
14941
  this.set(model.id, {
14303
14942
  id: model.id,
@@ -15252,7 +15891,7 @@ function getDefaultValue(opts, origins) {
15252
15891
  case "APPLICATION":
15253
15892
  if (!((_a = ibiz.appData) == null ? void 0 : _a.context)) {
15254
15893
  throw new RuntimeError31(
15255
- ibiz.i18n.t("runtime.controller.utils.valueDefault.notExist")
15894
+ ibiz.i18n.t("runtime.controller.utils.valueDefault.noExist")
15256
15895
  );
15257
15896
  }
15258
15897
  return ibiz.appData.context[defaultValue];
@@ -15263,7 +15902,7 @@ function getDefaultValue(opts, origins) {
15263
15902
  default:
15264
15903
  throw new ModelError17(
15265
15904
  {},
15266
- ibiz.i18n.t("runtime.controller.utils.valueDefault.notsupported", {
15905
+ ibiz.i18n.t("runtime.controller.utils.valueDefault.nosupported", {
15267
15906
  valueType
15268
15907
  })
15269
15908
  );
@@ -15378,7 +16017,7 @@ async function importData2(opts) {
15378
16017
  async function exportData(header, data, fileName) {
15379
16018
  if (!ibiz.util.getExcelUtil) {
15380
16019
  throw new RuntimeError32(
15381
- ibiz.i18n.t("runtime.controller.utils.dataFileUtil.notExist")
16020
+ ibiz.i18n.t("runtime.controller.utils.dataFileUtil.noExist")
15382
16021
  );
15383
16022
  }
15384
16023
  const exportExcel = await ibiz.util.getExcelUtil();
@@ -15697,7 +16336,10 @@ var ViewMsgController = class _ViewMsgController {
15697
16336
  static async fetchDataSet(msgModel, context, params) {
15698
16337
  const { appDataEntityId, appDEDataSetId } = msgModel;
15699
16338
  if (!appDEDataSetId) {
15700
- throw new RuntimeModelError24(msgModel, "\u672A\u914D\u7F6E\u5B9E\u4F53\u6570\u636E\u96C6");
16339
+ throw new RuntimeModelError24(
16340
+ msgModel,
16341
+ ibiz.i18n.t("runtime.controller.utils.viewMsg.unconfigured")
16342
+ );
15701
16343
  }
15702
16344
  const res = await ibiz.hub.getApp(context.srfappid).deService.exec(appDataEntityId, appDEDataSetId, context, params);
15703
16345
  if (res.data.length) {
@@ -15907,7 +16549,10 @@ var ViewMsgController = class _ViewMsgController {
15907
16549
  layoutPanel
15908
16550
  } = msgModel;
15909
16551
  if (!appDataEntityId) {
15910
- throw new RuntimeModelError24(msgModel, "\u672A\u914D\u7F6E\u5E94\u7528\u5B9E\u4F53");
16552
+ throw new RuntimeModelError24(
16553
+ msgModel,
16554
+ ibiz.i18n.t("runtime.controller.utils.viewMsg.unconfiguredEntities")
16555
+ );
15911
16556
  }
15912
16557
  const entity = await ibiz.hub.getAppDataEntity(
15913
16558
  appDataEntityId,
@@ -16318,7 +16963,7 @@ var ViewController = class extends BaseController {
16318
16963
  this.engines.push(ins);
16319
16964
  } else {
16320
16965
  ibiz.log.warn(
16321
- ibiz.i18n.t("runtime.controller.common.view.notFoundViewEngine"),
16966
+ ibiz.i18n.t("runtime.controller.common.view.noFoundViewEngine"),
16322
16967
  engine2
16323
16968
  );
16324
16969
  }
@@ -16372,6 +17017,7 @@ var ViewController = class extends BaseController {
16372
17017
  this.state.viewMessages = {};
16373
17018
  this.state.isClosing = false;
16374
17019
  this.state.hasError = false;
17020
+ this.state.isShortCut = false;
16375
17021
  }
16376
17022
  async onCreated() {
16377
17023
  await super.onCreated();
@@ -16425,6 +17071,21 @@ var ViewController = class extends BaseController {
16425
17071
  await Promise.all(this.engines.map((engine2) => engine2.onMounted()));
16426
17072
  }
16427
17073
  (_a = this.scheduler) == null ? void 0 : _a.startTimerTrigger();
17074
+ await this.initShortCut();
17075
+ }
17076
+ /**
17077
+ * 初始化最小化状态
17078
+ *
17079
+ * @protected
17080
+ * @memberof ViewController
17081
+ */
17082
+ async initShortCut() {
17083
+ const { model, context } = this;
17084
+ const key = await ibiz.util.shortCut.calcShortCutKey({
17085
+ context,
17086
+ appViewId: model.id
17087
+ });
17088
+ this.state.isShortCut = ibiz.util.shortCut.isExist(key);
16428
17089
  }
16429
17090
  async onDestroyed() {
16430
17091
  const srfSessionId = this.context.srfsessionid;
@@ -16965,7 +17626,7 @@ var CodeListEditorController = class extends EditorController {
16965
17626
  }
16966
17627
  throw new RuntimeModelError25(
16967
17628
  this.model,
16968
- ibiz.i18n.t("runtime.controller.common.editor.editorNotConfigured", {
17629
+ ibiz.i18n.t("runtime.controller.common.editor.editorNoConfigured", {
16969
17630
  editorType: this.model.editorType
16970
17631
  })
16971
17632
  );
@@ -17990,7 +18651,7 @@ var AppMenuController = class extends ControlController {
17990
18651
  });
17991
18652
  if (!menuItem) {
17992
18653
  throw new RuntimeError37(
17993
- ibiz.i18n.t("runtime.controller.control.menu.notFindMenu", { id })
18654
+ ibiz.i18n.t("runtime.controller.control.menu.noFindMenu", { id })
17994
18655
  );
17995
18656
  }
17996
18657
  this.evt.emit("onClick", {
@@ -18278,7 +18939,7 @@ var AppMenuIconViewController = class extends AppMenuController {
18278
18939
  });
18279
18940
  if (!menuItem) {
18280
18941
  throw new RuntimeError38(
18281
- ibiz.i18n.t("runtime.controller.control.menu.notFindMenu", { id })
18942
+ ibiz.i18n.t("runtime.controller.control.menu.noFindMenu", { id })
18282
18943
  );
18283
18944
  }
18284
18945
  this.evt.emit("onClick", {
@@ -18368,13 +19029,13 @@ var CalendarService = class extends MDControlService {
18368
19029
  const { sysCalendarItems } = this.model;
18369
19030
  if (!sysCalendarItems) {
18370
19031
  throw new RuntimeError39(
18371
- ibiz.i18n.t("runtime.controller.control.calendar.notFoundModel")
19032
+ ibiz.i18n.t("runtime.controller.control.calendar.noFoundModel")
18372
19033
  );
18373
19034
  }
18374
19035
  const calendarItem = sysCalendarItems[index];
18375
19036
  if (!calendarItem) {
18376
19037
  throw new RuntimeError39(
18377
- ibiz.i18n.t("runtime.controller.control.calendar.notFoundModel")
19038
+ ibiz.i18n.t("runtime.controller.control.calendar.noFoundModel")
18378
19039
  );
18379
19040
  }
18380
19041
  return items.map((item) => {
@@ -19154,13 +19815,13 @@ var LineSeriesGenerator = class extends BaseSeriesGenerator {
19154
19815
  if (this.xAxisIndex === void 0) {
19155
19816
  throw new RuntimeModelError31(
19156
19817
  this.model,
19157
- ibiz.i18n.t("runtime.controller.control.chart.notConfiguredX")
19818
+ ibiz.i18n.t("runtime.controller.control.chart.noConfiguredX")
19158
19819
  );
19159
19820
  }
19160
19821
  if (this.yAxisIndex === void 0) {
19161
19822
  throw new RuntimeModelError31(
19162
19823
  this.model,
19163
- ibiz.i18n.t("runtime.controller.control.chart.notConfiguredY")
19824
+ ibiz.i18n.t("runtime.controller.control.chart.noConfiguredY")
19164
19825
  );
19165
19826
  }
19166
19827
  const options = super.calcStaticOptions();
@@ -19183,13 +19844,13 @@ var BarSeriesGenerator = class extends BaseSeriesGenerator {
19183
19844
  if (this.xAxisIndex === void 0) {
19184
19845
  throw new RuntimeModelError32(
19185
19846
  this.model,
19186
- ibiz.i18n.t("runtime.controller.control.chart.notConfiguredX")
19847
+ ibiz.i18n.t("runtime.controller.control.chart.noConfiguredX")
19187
19848
  );
19188
19849
  }
19189
19850
  if (this.yAxisIndex === void 0) {
19190
19851
  throw new RuntimeModelError32(
19191
19852
  this.model,
19192
- ibiz.i18n.t("runtime.controller.control.chart.notConfiguredY")
19853
+ ibiz.i18n.t("runtime.controller.control.chart.noConfiguredY")
19193
19854
  );
19194
19855
  }
19195
19856
  const options = super.calcStaticOptions();
@@ -19249,13 +19910,13 @@ var ScatterSeriesGenerator = class extends BaseSeriesGenerator {
19249
19910
  if (this.xAxisIndex === void 0) {
19250
19911
  throw new RuntimeModelError33(
19251
19912
  this.model,
19252
- ibiz.i18n.t("runtime.controller.control.chart.notConfiguredX")
19913
+ ibiz.i18n.t("runtime.controller.control.chart.noConfiguredX")
19253
19914
  );
19254
19915
  }
19255
19916
  if (this.yAxisIndex === void 0) {
19256
19917
  throw new RuntimeModelError33(
19257
19918
  this.model,
19258
- ibiz.i18n.t("runtime.controller.control.chart.notConfiguredY")
19919
+ ibiz.i18n.t("runtime.controller.control.chart.noConfiguredY")
19259
19920
  );
19260
19921
  }
19261
19922
  const options = super.calcStaticOptions();
@@ -19515,7 +20176,7 @@ var ChartOptionsGenerator2 = class {
19515
20176
  break;
19516
20177
  default:
19517
20178
  ibiz.log.error(
19518
- ibiz.i18n.t("runtime.controller.control.chart.notSupportSequence", {
20179
+ ibiz.i18n.t("runtime.controller.control.chart.noSupportSequence", {
19519
20180
  seriesType: series.seriesType
19520
20181
  })
19521
20182
  );
@@ -19717,7 +20378,7 @@ var ChartOptionsGenerator2 = class {
19717
20378
  const generator = this.seriesGeneratorIndexMap.get(params.seriesIndex);
19718
20379
  if (!generator) {
19719
20380
  throw new RuntimeError40(
19720
- ibiz.i18n.t("runtime.controller.control.chart.notFindSequence", {
20381
+ ibiz.i18n.t("runtime.controller.control.chart.noFindSequence", {
19721
20382
  seriesIndex: params.seriesIndex
19722
20383
  })
19723
20384
  );
@@ -20001,12 +20662,12 @@ var ChartController = class extends MDControlController {
20001
20662
  updateChart() {
20002
20663
  if (!this.chart) {
20003
20664
  throw new RuntimeError41(
20004
- ibiz.i18n.t("runtime.controller.control.chart.notInitialised")
20665
+ ibiz.i18n.t("runtime.controller.control.chart.noInitialised")
20005
20666
  );
20006
20667
  }
20007
20668
  if (!this.options) {
20008
20669
  throw new RuntimeError41(
20009
- ibiz.i18n.t("runtime.controller.control.chart.notCalculated")
20670
+ ibiz.i18n.t("runtime.controller.control.chart.noCalculated")
20010
20671
  );
20011
20672
  }
20012
20673
  this.chart.setOption(this.options, { notMerge: true });
@@ -20270,7 +20931,12 @@ function handleSrcVal2(ctx, srcValParams) {
20270
20931
  value = clone22(ibiz.env);
20271
20932
  break;
20272
20933
  default:
20273
- throw new ModelError18(srcValParams, "\u6682\u672A\u652F\u6301\u6E90\u503C\u7C7B\u578B".concat(srcValueType));
20934
+ throw new ModelError18(
20935
+ srcValParams,
20936
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.sourceValueType", {
20937
+ srcValueType
20938
+ })
20939
+ );
20274
20940
  }
20275
20941
  if (value && srcField) {
20276
20942
  try {
@@ -20287,7 +20953,12 @@ function handleSrcVal2(ctx, srcValParams) {
20287
20953
  );
20288
20954
  }
20289
20955
  } catch (error) {
20290
- ibiz.log.error("\u4ECE\u6E90\u53C2\u6570\u53D6\u5C5E\u6027".concat(srcField, "\u62A5\u9519\uFF0C\u6E90\u53C2\u6570\uFF1A"), value);
20956
+ ibiz.log.error(
20957
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.fetchingAttribute", {
20958
+ srcField
20959
+ }),
20960
+ value
20961
+ );
20291
20962
  throw error;
20292
20963
  }
20293
20964
  }
@@ -20336,7 +21007,7 @@ var UILogicLinkSingleCond = class extends UILogicLinkCond {
20336
21007
  if (!this.value) {
20337
21008
  throw new RuntimeModelError34(
20338
21009
  this.model,
20339
- "\u5F53\u524D\u6761\u4EF6\u503C\u7C7B\u578B\u4E3A[\u6570\u636E\u5BF9\u8C61\u5C5E\u6027],\u7F3A\u5C11\u914D\u7F6E\u6761\u4EF6\u503C"
21010
+ ibiz.i18n.t("runtime.uiLogic.currentConditionValue")
20340
21011
  );
20341
21012
  }
20342
21013
  const value = data[this.value] != null ? data[this.value] : context[this.value];
@@ -20348,7 +21019,7 @@ var UILogicLinkSingleCond = class extends UILogicLinkCond {
20348
21019
  if (!this.value) {
20349
21020
  throw new RuntimeModelError34(
20350
21021
  this.model,
20351
- "\u5F53\u524D\u6761\u4EF6\u503C\u7C7B\u578B\u4E3A[\u6E90\u6570\u636E\u5BF9\u8C61\u5C5E\u6027],\u7F3A\u5C11\u914D\u7F6E\u6761\u4EF6\u503C"
21022
+ ibiz.i18n.t("runtime.uiLogic.sourceDataObjectAttribute")
20352
21023
  );
20353
21024
  }
20354
21025
  const srcVal = handleSrcVal2(ctx, {
@@ -20360,18 +21031,27 @@ var UILogicLinkSingleCond = class extends UILogicLinkCond {
20360
21031
  break;
20361
21032
  }
20362
21033
  case "CURTIME":
20363
- throw new ModelError19(this.model, "\u6682\u672A\u652F\u6301\u6761\u4EF6\u503C\u7C7B\u578B\u4E3A[\u5F53\u524D\u65F6\u95F4]");
21034
+ throw new ModelError19(
21035
+ this.model,
21036
+ ibiz.i18n.t("runtime.uiLogic.currentTime")
21037
+ );
20364
21038
  default:
20365
21039
  compareValue = this.value;
20366
21040
  result = testCond(dstVal, this.op, this.value);
20367
21041
  }
20368
21042
  ibiz.log.debug(
20369
- "\u754C\u9762\u903B\u8F91\u8FDE\u63A5\u6761\u4EF6\u9879\uFF1A".concat(this.model.name, "-\u6761\u4EF6\u503C\u7C7B\u578B\uFF1A").concat(this.type, "-\u6E90\u5C5E\u6027\u540D\u79F0\uFF1A").concat(this.dstField, "-\u6E90\u5BF9\u8C61\u503C\uFF1A"),
21043
+ ibiz.i18n.t("runtime.uiLogic.interfaceConnectionConditionalTypeName", {
21044
+ name: this.model.name,
21045
+ type: this.type,
21046
+ dstField: this.dstField
21047
+ }),
20370
21048
  dstVal,
20371
- "-\u5BF9\u6BD4\u6761\u4EF6\uFF1A".concat(this.op),
20372
- "-\u5BF9\u6BD4\u503C\uFF1A",
21049
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.comparisonCondition", {
21050
+ op: this.op
21051
+ }),
21052
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.comparisonValue"),
20373
21053
  compareValue,
20374
- "-\u5BF9\u6BD4\u7ED3\u679C\uFF1A",
21054
+ ibiz.i18n.t("runtime.deLogic.deLogicLink.compareResults"),
20375
21055
  result
20376
21056
  );
20377
21057
  return result;
@@ -20423,9 +21103,12 @@ var UILogicLinkGroupCond = class _UILogicLinkGroupCond extends UILogicLinkCond {
20423
21103
  * @return {*} {boolean}
20424
21104
  */
20425
21105
  test(ctx, context, data) {
20426
- let bol = true;
21106
+ let bol = this.op !== "OR";
20427
21107
  if (this.conds.length === 0) {
20428
- throw new RuntimeModelError35(this.model, "\u754C\u9762\u8FDE\u63A5\u6761\u4EF6\u903B\u8F91\u7EC4\u672A\u914D\u7F6E\u903B\u8F91\u9879");
21108
+ throw new RuntimeModelError35(
21109
+ this.model,
21110
+ ibiz.i18n.t("runtime.uiLogic.interfaceConnectionConditional")
21111
+ );
20429
21112
  }
20430
21113
  for (let i = 0; i < this.conds.length; i++) {
20431
21114
  const cond = this.conds[i];
@@ -20441,7 +21124,10 @@ var UILogicLinkGroupCond = class _UILogicLinkGroupCond extends UILogicLinkCond {
20441
21124
  }
20442
21125
  const result = this.notMode ? !bol : bol;
20443
21126
  ibiz.log.debug(
20444
- "\u754C\u9762\u903B\u8F91\u8FDE\u63A5\u6761\u4EF6\u7EC4\u540D\u79F0\uFF1A".concat(this.model.name, "-\u6761\u4EF6\u7EC4\u6807\u8BC6\uFF1A").concat(this.model.id, "-\u8FD0\u884C\u7ED3\u679C\uFF1A"),
21127
+ ibiz.i18n.t("runtime.uiLogic.connectionConditionGroup", {
21128
+ name: this.model.name,
21129
+ id: this.model.id
21130
+ }),
20445
21131
  result
20446
21132
  );
20447
21133
  return result;
@@ -20518,13 +21204,25 @@ var UILogicLink = class {
20518
21204
  case 1:
20519
21205
  return true;
20520
21206
  case 2:
20521
- throw new ModelError20(this.model, "\u672A\u652F\u6301\u7684\u903B\u8F91\u8FDE\u63A5\u7C7B\u578B: \u5F02\u6B65\u7ED3\u675F");
21207
+ throw new ModelError20(
21208
+ this.model,
21209
+ ibiz.i18n.t("runtime.uiLogic.asynchronousTermination")
21210
+ );
20522
21211
  case 3:
20523
- throw new ModelError20(this.model, "\u672A\u652F\u6301\u7684\u903B\u8F91\u8FDE\u63A5\u7C7B\u578B: \u5F02\u6B65\u62D2\u7EDD");
21212
+ throw new ModelError20(
21213
+ this.model,
21214
+ ibiz.i18n.t("runtime.uiLogic.asynchronousRejection")
21215
+ );
20524
21216
  case 9:
20525
- throw new ModelError20(this.model, "\u672A\u652F\u6301\u7684\u903B\u8F91\u8FDE\u63A5\u7C7B\u578B: \u5F02\u5E38\u5904\u7406");
21217
+ throw new ModelError20(
21218
+ this.model,
21219
+ ibiz.i18n.t("runtime.uiLogic.exceptionHandling")
21220
+ );
20526
21221
  default:
20527
- throw new ModelError20(this.model, "\u672A\u652F\u6301\u7684\u903B\u8F91\u8FDE\u63A5\u7C7B\u578B:".concat(linkMode));
21222
+ throw new ModelError20(
21223
+ this.model,
21224
+ ibiz.i18n.t("runtime.uiLogic.logicalLinkTypes", { linkMode })
21225
+ );
20528
21226
  }
20529
21227
  }
20530
21228
  };
@@ -20556,10 +21254,16 @@ var DEActionNode2 = class extends UILogicNode {
20556
21254
  retDEUILogicParamId
20557
21255
  } = this.model;
20558
21256
  if (!dstAppDataEntityId) {
20559
- throw new RuntimeModelError36(this.model, "\u672A\u6307\u5B9A\u5E94\u7528\u5B9E\u4F53");
21257
+ throw new RuntimeModelError36(
21258
+ this.model,
21259
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.unspecifiedEntity")
21260
+ );
20560
21261
  }
20561
21262
  if (!dstAppDEActionId) {
20562
- throw new RuntimeModelError36(this.model, "\u672A\u6307\u5B9A\u5B9E\u4F53\u884C\u4E3A");
21263
+ throw new RuntimeModelError36(
21264
+ this.model,
21265
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.unspecifiedBehavior")
21266
+ );
20563
21267
  }
20564
21268
  const requestData = ctx.params[dstDEUILogicParamId];
20565
21269
  const app = ibiz.hub.getApp(ctx.context.srfappid);
@@ -20575,7 +21279,12 @@ var DEActionNode2 = class extends UILogicNode {
20575
21279
  ctx.setLastReturn(ctx.params[retDEUILogicParamId]);
20576
21280
  }
20577
21281
  ibiz.log.debug(
20578
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u5B9E\u4F53\u884C\u4E3A\uFF09\uFF1A".concat(this.model.id, "-\u754C\u9762\u884C\u4E3A\u6240\u5C5E\u5B9E\u4F53\uFF1A").concat(dstAppDataEntityId, "-\u5B9E\u4F53\u884C\u4E3A\u6807\u8BC6\uFF1A").concat(dstAppDEActionId, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(retDEUILogicParamId, "-\u503C\uFF1A"),
21282
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeEntityActions", {
21283
+ id: this.model.id,
21284
+ dstAppDataEntityId,
21285
+ dstAppDEActionId,
21286
+ retDEUILogicParamId
21287
+ }),
20579
21288
  ctx.params[retDEUILogicParamId]
20580
21289
  );
20581
21290
  }
@@ -20588,7 +21297,10 @@ var DEUIActionNode = class extends UILogicNode {
20588
21297
  const { dstAppDEUIActionId, dstDEUILogicParamId, dstAppDataEntityId } = this.model;
20589
21298
  const { data, parameters } = ctx;
20590
21299
  if (!dstAppDEUIActionId) {
20591
- throw new RuntimeModelError37(this.model, "\u672A\u914D\u7F6E\u754C\u9762\u884C\u4E3A");
21300
+ throw new RuntimeModelError37(
21301
+ this.model,
21302
+ ibiz.i18n.t("runtime.uiLogic.noConfiguredInterfaceBehavior")
21303
+ );
20592
21304
  }
20593
21305
  let actionData = [data];
20594
21306
  if (dstDEUILogicParamId) {
@@ -20600,7 +21312,12 @@ var DEUIActionNode = class extends UILogicNode {
20600
21312
  }
20601
21313
  }
20602
21314
  ibiz.log.debug(
20603
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u5B9E\u4F53\u754C\u9762\u884C\u4E3A\uFF09\uFF1A".concat(this.model.id, "-\u754C\u9762\u884C\u4E3A\u6807\u8BC6\uFF1A").concat(dstAppDEUIActionId, "-\u754C\u9762\u884C\u4E3A\u6240\u5C5E\u5B9E\u4F53\uFF1A").concat(dstAppDataEntityId, "-\u76EE\u6807\u903B\u8F91\u53C2\u6570\u5BF9\u8C61\uFF1A").concat(dstDEUILogicParamId)
21315
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeEntityInterfaceAction", {
21316
+ id: this.model.id,
21317
+ dstAppDEUIActionId,
21318
+ dstAppDataEntityId,
21319
+ dstDEUILogicParamId
21320
+ })
20604
21321
  );
20605
21322
  await UIActionUtil.execAndResolved(
20606
21323
  dstAppDEUIActionId,
@@ -20618,7 +21335,11 @@ var DEUIActionNode = class extends UILogicNode {
20618
21335
  // src/ui-logic/ui-logic-node/start-node/start-node.ts
20619
21336
  var StartNode2 = class extends UILogicNode {
20620
21337
  async exec(_ctx) {
20621
- ibiz.log.debug("\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u542F\u52A8\u8282\u70B9\uFF09\uFF1A".concat(this.model.id));
21338
+ ibiz.log.debug(
21339
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeStartupNode", {
21340
+ id: this.model.id
21341
+ })
21342
+ );
20622
21343
  }
20623
21344
  };
20624
21345
 
@@ -20649,11 +21370,14 @@ var EndNode2 = class extends UILogicNode {
20649
21370
  default:
20650
21371
  throw new ModelError21(
20651
21372
  this.model,
20652
- "\u6682\u672A\u652F\u6301\u7684\u7ED3\u675F\u8282\u70B9\u8FD4\u56DE\u503C\u7C7B\u578B: ".concat(returnType)
21373
+ ibiz.i18n.t("runtime.uiLogic.unsupportedEndNode", { returnType })
20653
21374
  );
20654
21375
  }
20655
21376
  ibiz.log.debug(
20656
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u7ED3\u675F\u8282\u70B9\uFF09\uFF1A".concat(this.model.id, "-\u8FD4\u56DE\u503C\u7C7B\u578B\uFF1A").concat(returnType, "-\u8FD4\u56DE\u503C\uFF1A"),
21377
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeEndNode", {
21378
+ id: this.model.id,
21379
+ returnType
21380
+ }),
20657
21381
  ctx.result
20658
21382
  );
20659
21383
  }
@@ -20698,13 +21422,19 @@ var PrepareJSParamNode = class extends UILogicNode {
20698
21422
  default:
20699
21423
  throw new ModelError22(
20700
21424
  nodeParam,
20701
- "\u6682\u672A\u652F\u6301\u903B\u8F91\u5904\u7406\u53C2\u6570\u64CD\u4F5C".concat(nodeParam.paramAction)
21425
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.noSupportedLogic", {
21426
+ paramAction: nodeParam.paramAction
21427
+ })
20702
21428
  );
20703
21429
  }
20704
21430
  ibiz.log.debug(
20705
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u51C6\u5907\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u53C2\u6570\u5904\u7406\u64CD\u4F5C\uFF1A").concat(nodeParam.paramAction, "-\u76EE\u6807\u903B\u8F91\u53C2\u6570\uFF1A").concat(nodeParam.dstDEUILogicParamId, "-\u6E90\u53C2\u6570\uFF08\u503C\uFF09\uFF1A"),
21431
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodePreparationParameter", {
21432
+ id: this.model.id,
21433
+ paramAction: nodeParam.paramAction,
21434
+ dstDEUILogicParamId: nodeParam.dstDEUILogicParamId
21435
+ }),
20706
21436
  originValue,
20707
- "-\u76EE\u6807\u53C2\u6570\uFF08\u503C\uFF09\uFF1A",
21437
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.targetParameter"),
20708
21438
  ctx.params[nodeParam.dstDEUILogicParamId]
20709
21439
  );
20710
21440
  }
@@ -20720,7 +21450,7 @@ var PrepareJSParamNode = class extends UILogicNode {
20720
21450
  setParamValue(nodeParam, ctx) {
20721
21451
  const { dstFieldName, dstDEUILogicParamId } = nodeParam;
20722
21452
  if (!dstDEUILogicParamId) {
20723
- throw new RuntimeError42("\u6CA1\u6709\u76EE\u6807\u53C2\u6570\u5BF9\u8C61id");
21453
+ throw new RuntimeError42(ibiz.i18n.t("runtime.uiLogic.noTargetParameter"));
20724
21454
  }
20725
21455
  let dstField = dstFieldName;
20726
21456
  if (ctx.isEntityParam(dstDEUILogicParamId)) {
@@ -20739,7 +21469,7 @@ var PrepareJSParamNode = class extends UILogicNode {
20739
21469
  );
20740
21470
  } catch (error) {
20741
21471
  ibiz.log.error(
20742
- "\u7ED9\u76EE\u6807\u53C2\u6570\u5C5E\u6027".concat(dstFieldName, "\u8D4B\u503C\u62A5\u9519\uFF0C\u76EE\u6807\u53C2\u6570\uFF1A"),
21472
+ ibiz.i18n.t("runtime.uiLogic.targetParameter", { dstFieldName }),
20743
21473
  ctx.params[dstDEUILogicParamId]
20744
21474
  );
20745
21475
  throw error;
@@ -20844,27 +21574,52 @@ var ViewCtrlInvokeNode = class extends UILogicNode {
20844
21574
  ctx.isEndNode = true;
20845
21575
  const { invokeMethod, invokeCtrlId, invokeParamId } = this.model;
20846
21576
  if (!invokeCtrlId) {
20847
- throw new RuntimeModelError38(this.model, "\u6CA1\u6709\u914D\u7F6E\u754C\u9762\u5BF9\u8C61");
21577
+ throw new RuntimeModelError38(
21578
+ this.model,
21579
+ ibiz.i18n.t("runtime.uiLogic.noConfiguredInterfaceObject")
21580
+ );
20848
21581
  }
20849
21582
  if (!invokeParamId) {
20850
- throw new RuntimeModelError38(this.model, "\u6CA1\u6709\u914D\u7F6E\u64CD\u4F5C\u53C2\u6570");
21583
+ throw new RuntimeModelError38(
21584
+ this.model,
21585
+ ibiz.i18n.t("runtime.uiLogic.noConfiguredOperatingParameters")
21586
+ );
20851
21587
  }
20852
21588
  if (!invokeMethod) {
20853
- throw new RuntimeModelError38(this.model, "\u6CA1\u6709\u914D\u7F6E\u8C03\u7528\u65B9\u6CD5");
21589
+ throw new RuntimeModelError38(
21590
+ this.model,
21591
+ ibiz.i18n.t("runtime.uiLogic.noConfiguredCallMethod")
21592
+ );
20854
21593
  }
20855
21594
  const invokeParam = ctx.params[invokeParamId];
20856
21595
  if (!invokeParam) {
20857
- throw new RuntimeError43("\u6CA1\u6709\u627E\u5230\u64CD\u4F5C\u53C2\u6570".concat(invokeParamId));
21596
+ throw new RuntimeError43(
21597
+ ibiz.i18n.t("runtime.uiLogic.noFoundOperationParameter", {
21598
+ invokeParamId
21599
+ })
21600
+ );
20858
21601
  }
20859
21602
  const invokeCtrl = ctx.params[invokeCtrlId];
20860
21603
  if (!invokeCtrl) {
20861
- throw new RuntimeError43("\u6CA1\u6709\u627E\u5230\u754C\u9762\u5BF9\u8C61".concat(invokeCtrlId));
21604
+ throw new RuntimeError43(
21605
+ ibiz.i18n.t("runtime.uiLogic.noFoundInterfaceObject", {
21606
+ invokeCtrlId
21607
+ })
21608
+ );
20862
21609
  }
20863
21610
  if (!invokeCtrl[invokeMethod] || !isFunction(invokeCtrl[invokeMethod])) {
20864
- throw new RuntimeError43("\u6CA1\u6709\u627E\u5230\u8C03\u7528\u65B9\u6CD5".concat(invokeMethod));
21611
+ throw new RuntimeError43(
21612
+ ibiz.i18n.t("runtime.uiLogic.noFoundInvokeMethod", {
21613
+ invokeMethod
21614
+ })
21615
+ );
20865
21616
  }
20866
21617
  ibiz.log.debug(
20867
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u89C6\u56FE\u90E8\u4EF6\u8C03\u7528\uFF09\uFF1A".concat(this.model.id, "-\u8C03\u7528\u89C6\u56FE\u90E8\u4EF6\u540D\u79F0\uFF1A").concat(invokeCtrlId, "-\u8C03\u7528\u65B9\u6CD5\u540D\u79F0\uFF1A").concat(invokeMethod, "-\u89E6\u53D1\u53C2\u6570\uFF1A"),
21618
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeViewWidgetInvocation", {
21619
+ id: this.model.id,
21620
+ invokeCtrlId,
21621
+ invokeMethod
21622
+ }),
20868
21623
  invokeParam
20869
21624
  );
20870
21625
  await invokeCtrl[invokeMethod](invokeParam);
@@ -20879,14 +21634,17 @@ var BindParamNode2 = class extends UILogicNode {
20879
21634
  if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
20880
21635
  throw new RuntimeModelError39(
20881
21636
  this.model,
20882
- "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u8005\u6E90\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E"
21637
+ ibiz.i18n.t("runtime.uiLogic.missingTargetParameter")
20883
21638
  );
20884
21639
  }
20885
21640
  const srcVal = handleSrcVal2(ctx, this.model);
20886
21641
  ctx.params[dstDEUILogicParamId] = srcVal;
20887
21642
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
20888
21643
  ibiz.log.debug(
20889
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u7ED1\u5B9A\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(dstDEUILogicParamId, "-\u503C\uFF1A"),
21644
+ ibiz.i18n.t("runtime.uiLogic.bindingParameters", {
21645
+ id: this.model.id,
21646
+ dstDEUILogicParamId
21647
+ }),
20890
21648
  srcVal
20891
21649
  );
20892
21650
  }
@@ -20907,10 +21665,16 @@ var MsgBoxNode = class extends UILogicNode {
20907
21665
  async exec(ctx) {
20908
21666
  const { msgBoxType, buttonsType, msgBoxParamId } = this.model;
20909
21667
  if (!msgBoxType) {
20910
- throw new RuntimeModelError40(this.model, "\u7F3A\u5C11\u6D88\u606F\u7C7B\u578B\u7684\u914D\u7F6E");
21668
+ throw new RuntimeModelError40(
21669
+ this.model,
21670
+ ibiz.i18n.t("runtime.uiLogic.missingMessageTypeConfiguration")
21671
+ );
20911
21672
  }
20912
21673
  if (!buttonsType) {
20913
- throw new RuntimeModelError40(this.model, "\u7F3A\u5C11\u6309\u94AE\u7C7B\u578B\u7684\u914D\u7F6E");
21674
+ throw new RuntimeModelError40(
21675
+ this.model,
21676
+ ibiz.i18n.t("runtime.uiLogic.missingButtonTypeConfiguration")
21677
+ );
20914
21678
  }
20915
21679
  let { title, message } = this.model;
20916
21680
  if (msgBoxParamId) {
@@ -20925,36 +21689,45 @@ var MsgBoxNode = class extends UILogicNode {
20925
21689
  const type = this.typeMap[msgBoxType];
20926
21690
  const modalParams = {
20927
21691
  type,
20928
- title: title || "\u6D88\u606F",
21692
+ title: title || ibiz.i18n.t("runtime.uiLogic.message"),
20929
21693
  desc: message
20930
21694
  };
20931
21695
  let resultTags = [];
20932
21696
  switch (buttonsType) {
20933
21697
  case "YESNO":
20934
- modalParams.confirmButtonText = "\u662F";
20935
- modalParams.cancelButtonText = "\u5426";
21698
+ modalParams.confirmButtonText = ibiz.i18n.t("runtime.uiLogic.yes");
21699
+ modalParams.cancelButtonText = ibiz.i18n.t("runtime.uiLogic.no");
20936
21700
  modalParams.showConfirmButton = true;
20937
21701
  modalParams.showCancelButton = true;
20938
21702
  resultTags = ["yes", "no"];
20939
21703
  break;
20940
21704
  case "OK":
20941
- modalParams.confirmButtonText = "\u786E\u5B9A";
21705
+ modalParams.confirmButtonText = ibiz.i18n.t("control.common.determine");
20942
21706
  modalParams.showConfirmButton = true;
20943
21707
  modalParams.showCancelButton = false;
20944
21708
  resultTags = ["ok"];
20945
21709
  break;
20946
21710
  case "OKCANCEL":
20947
- modalParams.confirmButtonText = "\u786E\u5B9A";
20948
- modalParams.cancelButtonText = "\u53D6\u6D88";
21711
+ modalParams.confirmButtonText = ibiz.i18n.t("control.common.determine");
21712
+ modalParams.cancelButtonText = ibiz.i18n.t("app.cancel");
20949
21713
  modalParams.showConfirmButton = true;
20950
21714
  modalParams.showCancelButton = true;
20951
21715
  resultTags = ["ok", "cancel"];
20952
21716
  break;
20953
21717
  default:
20954
- throw new ModelError23(this.model, "".concat(buttonsType, "\u6682\u672A\u652F\u6301"));
21718
+ throw new ModelError23(
21719
+ this.model,
21720
+ ibiz.i18n.t("control.common.noSupportItem", {
21721
+ name: buttonsType
21722
+ })
21723
+ );
20955
21724
  }
20956
21725
  ibiz.log.debug(
20957
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u6D88\u606F\u5F39\u7A97\uFF09\uFF1A".concat(this.model.id, "-\u6D88\u606F\u7C7B\u578B\uFF1A").concat(type, "-\u6D88\u606F\uFF1A").concat(message)
21726
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeMessagePopup", {
21727
+ id: this.model.id,
21728
+ type,
21729
+ message
21730
+ })
20958
21731
  );
20959
21732
  const result = await ibiz.modal.confirm(modalParams);
20960
21733
  ctx.setLastReturn(resultTags[result ? 0 : 1]);
@@ -20965,7 +21738,10 @@ var MsgBoxNode = class extends UILogicNode {
20965
21738
  var PFPluginNode = class extends UILogicNode {
20966
21739
  async exec(ctx) {
20967
21740
  ibiz.log.debug(
20968
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u524D\u7AEF\u63D2\u4EF6\uFF09\uFF1A".concat(this.model.id, "-\u63D2\u4EF6\u6807\u8BC6\uFF1A").concat(this.model.sysPFPluginId)
21741
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeFrontendPlugin", {
21742
+ id: this.model.id,
21743
+ sysPFPluginId: this.model.sysPFPluginId
21744
+ })
20969
21745
  );
20970
21746
  const provider = await getUILogicNodeProvider(this.model);
20971
21747
  if (provider) {
@@ -20980,10 +21756,16 @@ var DebugParamNode = class extends UILogicNode {
20980
21756
  async exec(ctx) {
20981
21757
  const { dstDEUILogicParamId, name } = this.model;
20982
21758
  if (!dstDEUILogicParamId) {
20983
- throw new RuntimeModelError41(this.model, "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E");
21759
+ throw new RuntimeModelError41(
21760
+ this.model,
21761
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
21762
+ );
20984
21763
  }
20985
21764
  const param = ctx.params[dstDEUILogicParamId];
20986
- ibiz.log.info("\u903B\u8F91\u8282\u70B9".concat(name, "\u64CD\u4F5C\u53C2\u6570\u503C:"), param);
21765
+ ibiz.log.info(
21766
+ ibiz.i18n.t("runtime.uiLogic.logicalNodeOperation", { name }),
21767
+ param
21768
+ );
20987
21769
  }
20988
21770
  };
20989
21771
 
@@ -20993,12 +21775,18 @@ var ResetParamNode2 = class extends UILogicNode {
20993
21775
  async exec(ctx) {
20994
21776
  const { dstDEUILogicParamId } = this.model;
20995
21777
  if (!dstDEUILogicParamId) {
20996
- throw new RuntimeModelError42(this.model, "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E");
21778
+ throw new RuntimeModelError42(
21779
+ this.model,
21780
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
21781
+ );
20997
21782
  }
20998
21783
  ctx.resetParam(dstDEUILogicParamId);
20999
21784
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
21000
21785
  ibiz.log.debug(
21001
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u91CD\u7F6E\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u91CD\u7F6E\u53C2\u6570\uFF1A").concat(dstDEUILogicParamId)
21786
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeResetParameter", {
21787
+ id: this.model.id,
21788
+ dstDEUILogicParamId
21789
+ })
21002
21790
  );
21003
21791
  }
21004
21792
  };
@@ -21012,14 +21800,17 @@ var CopyParamNode2 = class extends UILogicNode {
21012
21800
  if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
21013
21801
  throw new RuntimeModelError43(
21014
21802
  this.model,
21015
- "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u8005\u6E90\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E"
21803
+ ibiz.i18n.t("runtime.uiLogic.missingTargetParameter")
21016
21804
  );
21017
21805
  }
21018
21806
  const srcVal = handleSrcVal2(ctx, this.model);
21019
21807
  ctx.params[dstDEUILogicParamId] = clone24(srcVal);
21020
21808
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
21021
21809
  ibiz.log.debug(
21022
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u62F7\u8D1D\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(dstDEUILogicParamId, "-\u503C\uFF1A"),
21810
+ ibiz.i18n.t("runtime.uiLogic.copyParameter", {
21811
+ id: this.model.id,
21812
+ dstDEUILogicParamId
21813
+ }),
21023
21814
  srcVal
21024
21815
  );
21025
21816
  }
@@ -21039,7 +21830,7 @@ var AppendParamNode2 = class extends UILogicNode {
21039
21830
  if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
21040
21831
  throw new RuntimeModelError44(
21041
21832
  this.model,
21042
- "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u8005\u6E90\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E"
21833
+ ibiz.i18n.t("runtime.uiLogic.missingTargetParameter")
21043
21834
  );
21044
21835
  }
21045
21836
  const srcVal = handleSrcVal2(ctx, this.model);
@@ -21053,9 +21844,9 @@ var AppendParamNode2 = class extends UILogicNode {
21053
21844
  );
21054
21845
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
21055
21846
  ibiz.log.debug(
21056
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u9644\u52A0\u5230\u6570\u7EC4\uFF09\uFF1A".concat(this.model.id, "-\u9644\u52A0\u53C2\u6570\uFF1A"),
21847
+ ibiz.i18n.t("runtime.uiLogic.appendedArray", { id: this.model.id }),
21057
21848
  ctx.params,
21058
- "-\u9644\u52A0\u503C\uFF1A",
21849
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.addedValue"),
21059
21850
  srcVal.slice(_srcIndex, _srcSize)
21060
21851
  );
21061
21852
  }
@@ -21067,7 +21858,10 @@ var SortParamNode2 = class extends UILogicNode {
21067
21858
  async exec(ctx) {
21068
21859
  const { dstDEUILogicParamId, dstSortDir, dstFieldName } = this.model;
21069
21860
  if (!dstDEUILogicParamId || !dstFieldName) {
21070
- throw new RuntimeModelError45(this.model, "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u6216\u76EE\u6807\u5C5E\u6027\u914D\u7F6E");
21861
+ throw new RuntimeModelError45(
21862
+ this.model,
21863
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingParameterProperty")
21864
+ );
21071
21865
  }
21072
21866
  const key = dstFieldName;
21073
21867
  const arr = ctx.params[dstDEUILogicParamId];
@@ -21076,7 +21870,12 @@ var SortParamNode2 = class extends UILogicNode {
21076
21870
  });
21077
21871
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
21078
21872
  ibiz.log.debug(
21079
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u6392\u5E8F\u6570\u7EC4\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u6392\u5E8F\u5C5E\u6027\uFF1A").concat(dstFieldName, "-\u6392\u5E8F\u6A21\u5F0F\uFF1A").concat(dstSortDir, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(dstDEUILogicParamId, "-\u6392\u5E8F\u540E\u6570\u7EC4\uFF1A"),
21873
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeSortedArrayParameters", {
21874
+ id: this.model.id,
21875
+ dstFieldName,
21876
+ dstSortDir,
21877
+ dstDEUILogicParamId
21878
+ }),
21080
21879
  arr
21081
21880
  );
21082
21881
  }
@@ -21088,12 +21887,18 @@ var RenewParamNode2 = class extends UILogicNode {
21088
21887
  async exec(ctx) {
21089
21888
  const { dstDEUILogicParamId } = this.model;
21090
21889
  if (!dstDEUILogicParamId) {
21091
- throw new RuntimeModelError46(this.model, "\u7F3A\u5C11\u76EE\u6807\u53C2\u6570\u5BF9\u8C61\u914D\u7F6E");
21890
+ throw new RuntimeModelError46(
21891
+ this.model,
21892
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
21893
+ );
21092
21894
  }
21093
21895
  ctx.renewParam(dstDEUILogicParamId);
21094
21896
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
21095
21897
  ibiz.log.debug(
21096
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u91CD\u65B0\u5EFA\u7ACB\u53C2\u6570\uFF09\uFF1A".concat(this.model.id, "-\u91CD\u5EFA\u53C2\u6570\uFF1A").concat(dstDEUILogicParamId)
21898
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeRebuildParameter", {
21899
+ id: this.model.id,
21900
+ dstDEUILogicParamId
21901
+ })
21097
21902
  );
21098
21903
  }
21099
21904
  };
@@ -21109,7 +21914,10 @@ var DataSetNode2 = class extends UILogicNode {
21109
21914
  retDEUILogicParamId
21110
21915
  } = this.model;
21111
21916
  if (!dstDEUILogicParamId) {
21112
- throw new RuntimeModelError47(this.model, "\u7F3A\u5C11\u914D\u7F6E\u8FC7\u6EE4\u53C2\u6570");
21917
+ throw new RuntimeModelError47(
21918
+ this.model,
21919
+ ibiz.i18n.t("runtime.uiLogic.missingfilter")
21920
+ );
21113
21921
  }
21114
21922
  const queryParams = ctx.params[dstDEUILogicParamId];
21115
21923
  const app = ibiz.hub.getApp(ctx.context.srfappid);
@@ -21124,7 +21932,12 @@ var DataSetNode2 = class extends UILogicNode {
21124
21932
  ctx.setLastReturn(ctx.params[dstDEUILogicParamId]);
21125
21933
  }
21126
21934
  ibiz.log.debug(
21127
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u6570\u636E\u96C6\u5408\uFF09\uFF1A".concat(this.model.id, "-\u6570\u636E\u96C6\u5B9E\u4F53\u6807\u8BC6\uFF1A").concat(dstAppDataEntityId, "-\u6570\u636E\u96C6\u6807\u8BC6\uFF1A").concat(dstAppDEDataSetId, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(retDEUILogicParamId, "-\u503C\uFF1A"),
21935
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeDataSet", {
21936
+ id: this.model.id,
21937
+ dstAppDataEntityId,
21938
+ dstAppDEDataSetId,
21939
+ retDEUILogicParamId
21940
+ }),
21128
21941
  ctx.params[retDEUILogicParamId]
21129
21942
  );
21130
21943
  }
@@ -21136,7 +21949,10 @@ var ThrowExceptionNode2 = class extends UILogicNode {
21136
21949
  async exec(_ctx) {
21137
21950
  const { errorInfo } = this.model;
21138
21951
  ibiz.log.debug(
21139
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u629B\u51FA\u5F02\u5E38\uFF09\uFF1A".concat(this.model.id, "-\u9519\u8BEF\u4FE1\u606F\uFF1A").concat(errorInfo)
21952
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeThrowingExceptions", {
21953
+ id: this.model.id,
21954
+ errorInfo
21955
+ })
21140
21956
  );
21141
21957
  throw new RuntimeError44(errorInfo);
21142
21958
  }
@@ -21149,24 +21965,46 @@ var ViewCtrlFireEventNode = class extends UILogicNode {
21149
21965
  ctx.isEndNode = true;
21150
21966
  const { eventName, eventParamId, fireCtrlId } = this.model;
21151
21967
  if (!fireCtrlId) {
21152
- throw new RuntimeModelError48(this.model, "\u6CA1\u6709\u914D\u7F6E\u89E6\u53D1\u5BF9\u8C61");
21968
+ throw new RuntimeModelError48(
21969
+ this.model,
21970
+ ibiz.i18n.t("runtime.uiLogic.noConfiguredTriggerObject")
21971
+ );
21153
21972
  }
21154
21973
  if (!eventName) {
21155
- throw new RuntimeModelError48(this.model, "\u6CA1\u6709\u914D\u7F6E\u4E8B\u4EF6\u540D\u79F0\u53C2\u6570");
21974
+ throw new RuntimeModelError48(
21975
+ this.model,
21976
+ ibiz.i18n.t("runtime.uiLogic.noConfiguredEvent")
21977
+ );
21156
21978
  }
21157
21979
  if (!eventParamId) {
21158
- throw new RuntimeModelError48(this.model, "\u6CA1\u6709\u914D\u7F6E\u4E8B\u4EF6\u53C2\u6570");
21980
+ throw new RuntimeModelError48(
21981
+ this.model,
21982
+ ibiz.i18n.t("runtime.uiLogic.noConfiguredEventParameters")
21983
+ );
21159
21984
  }
21160
21985
  const invokeCtrl = ctx.params[fireCtrlId];
21161
21986
  if (!invokeCtrl) {
21162
- throw new RuntimeError45("\u6CA1\u6709\u627E\u5230\u89E6\u53D1\u5BF9\u8C61".concat(fireCtrlId));
21987
+ throw new RuntimeError45(
21988
+ ibiz.i18n.t("runtime.uiLogic.noFoundTriggerObject", { fireCtrlId })
21989
+ );
21163
21990
  }
21164
21991
  const eventParam = ctx.params[eventParamId];
21165
21992
  if (!eventParam) {
21166
- throw new RuntimeError45("\u6CA1\u6709\u627E\u5230\u4E8B\u4EF6\u53C2\u6570\u5BF9\u8C61".concat(eventParamId));
21993
+ throw new RuntimeError45(
21994
+ ibiz.i18n.t("runtime.uiLogic.noFoundEventParameterObject", {
21995
+ eventParamId
21996
+ })
21997
+ );
21167
21998
  }
21168
21999
  ibiz.log.debug(
21169
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u89C6\u56FE\u90E8\u4EF6\u4E8B\u4EF6\u89E6\u53D1\u903B\u8F91\uFF09\uFF1A".concat(this.model.id, "-\u8C03\u7528\u89C6\u56FE\u90E8\u4EF6\u540D\u79F0\uFF1A").concat(fireCtrlId, "-\u89E6\u53D1\u4E8B\u4EF6\u540D\u79F0\uFF1A").concat(eventName, "-\u89E6\u53D1\u53C2\u6570\uFF1A"),
22000
+ ibiz.i18n.t(
22001
+ "runtime.uiLogic.interfaceLogicNodeViewWidgetEventTriggerLogic",
22002
+ {
22003
+ id: this.model.id,
22004
+ fireCtrlId,
22005
+ eventName
22006
+ }
22007
+ ),
21170
22008
  eventParam
21171
22009
  );
21172
22010
  await invokeCtrl.evt.emit(eventName, eventParam);
@@ -21184,17 +22022,28 @@ var ExecuteDELogicNode = class extends UILogicNode {
21184
22022
  retDEUILogicParamId
21185
22023
  } = this.model;
21186
22024
  if (!dstAppDataEntityId) {
21187
- throw new RuntimeModelError49(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53");
22025
+ throw new RuntimeModelError49(
22026
+ this.model,
22027
+ ibiz.i18n.t("runtime.uiLogic.noEntityConfigured")
22028
+ );
21188
22029
  }
21189
22030
  if (!dstAppDELogicId) {
21190
- throw new RuntimeModelError49(this.model, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u903B\u8F91");
22031
+ throw new RuntimeModelError49(
22032
+ this.model,
22033
+ ibiz.i18n.t("runtime.uiLogic.noEntityLogicConfigured")
22034
+ );
21191
22035
  }
21192
22036
  if (!dstDEUILogicParamId) {
21193
- throw new RuntimeModelError49(this.model, "\u6CA1\u6709\u914D\u7F6E\u4F20\u5165\u903B\u8F91\u53C2\u6570");
22037
+ throw new RuntimeModelError49(
22038
+ this.model,
22039
+ ibiz.i18n.t("runtime.uiLogic.noIncomingLogic")
22040
+ );
21194
22041
  }
21195
22042
  const dstParam = ctx.params[dstDEUILogicParamId];
21196
22043
  if (!dstParam) {
21197
- throw new RuntimeError46("\u6CA1\u6709\u627E\u5230\u4F20\u5165\u53C2\u6570".concat(dstDEUILogicParamId));
22044
+ throw new RuntimeError46(
22045
+ ibiz.i18n.t("runtime.uiLogic.passedParameter", { dstDEUILogicParamId })
22046
+ );
21198
22047
  }
21199
22048
  const result = await execDELogicById(
21200
22049
  dstAppDELogicId,
@@ -21208,7 +22057,12 @@ var ExecuteDELogicNode = class extends UILogicNode {
21208
22057
  ctx.setLastReturn(ctx.params[retDEUILogicParamId]);
21209
22058
  }
21210
22059
  ibiz.log.debug(
21211
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u6267\u884C\u5B9E\u4F53\u903B\u8F91\uFF09\uFF1A".concat(this.model.id, "-\u5B9E\u4F53\u903B\u8F91\u6807\u8BC6\uFF1A").concat(dstAppDELogicId, "-\u5B9E\u4F53\u903B\u8F91\u6240\u5C5E\u5B9E\u4F53\uFF1A").concat(dstAppDataEntityId, "-\u53C2\u6570\u540D\u79F0\uFF1A").concat(retDEUILogicParamId, "-\u503C\uFF1A"),
22060
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeExecutingEntityLogic", {
22061
+ id: this.model.id,
22062
+ dstAppDELogicId,
22063
+ dstAppDataEntityId,
22064
+ retDEUILogicParamId
22065
+ }),
21212
22066
  result
21213
22067
  );
21214
22068
  }
@@ -21218,7 +22072,9 @@ var ExecuteDELogicNode = class extends UILogicNode {
21218
22072
  var RawJSCodeNode = class extends UILogicNode {
21219
22073
  async exec(ctx) {
21220
22074
  ibiz.log.debug(
21221
- "\u754C\u9762\u903B\u8F91\u8282\u70B9\uFF08\u76F4\u63A5\u4EE3\u7801\uFF09\uFF1A".concat(this.model.id, "-\u76F4\u63A5\u4EE3\u7801\uFF1A"),
22075
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogicNodeDirectCode", {
22076
+ id: this.model.id
22077
+ }),
21222
22078
  this.model.code
21223
22079
  );
21224
22080
  ScriptFactory.execScriptFn(
@@ -21279,7 +22135,11 @@ var UILogicParam = class {
21279
22135
  if (control) {
21280
22136
  ctx.params[tag] = control;
21281
22137
  } else {
21282
- ibiz.log.error("\u89C6\u56FE\u903B\u8F91\u521D\u59CB\u5316\u53C2\u6570\uFF0C\u672A\u627E\u5230".concat(m.codeName, "\u6307\u5B9A\u90E8\u4EF6\u5BF9\u8C61"));
22138
+ ibiz.log.error(
22139
+ ibiz.i18n.t("runtime.uiLogic.viewLogicInitializationParameter", {
22140
+ codeName: m.codeName
22141
+ })
22142
+ );
21283
22143
  }
21284
22144
  } else if (m.activeViewParam) {
21285
22145
  ctx.params[tag] = parameters.view;
@@ -21337,7 +22197,13 @@ var UILogicParam = class {
21337
22197
  } else if (m.sessionParam) {
21338
22198
  ctx.params[tag] = ctx.session;
21339
22199
  }
21340
- ibiz.log.debug("\u8BA1\u7B97\u754C\u9762\u903B\u8F91\u53C2\u6570\uFF0C\u6807\u8BC6\uFF1A".concat(tag), "-\u503C\uFF1A", ctx.params[tag]);
22200
+ ibiz.log.debug(
22201
+ ibiz.i18n.t("runtime.uiLogic.calculateInterfaceLogicParameters", {
22202
+ tag
22203
+ }),
22204
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.value"),
22205
+ ctx.params[tag]
22206
+ );
21341
22207
  }
21342
22208
  /**
21343
22209
  * 重新建立变量
@@ -21353,11 +22219,16 @@ var UILogicParam = class {
21353
22219
  } else if (m.simpleParam || m.entityParam) {
21354
22220
  ctx.params[tag] = {};
21355
22221
  } else {
21356
- throw new ModelError24(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B\u91CD\u65B0\u5EFA\u7ACB\u53D8\u91CF");
22222
+ throw new ModelError24(
22223
+ m,
22224
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.recreatingVariables")
22225
+ );
21357
22226
  }
21358
22227
  ibiz.log.debug(
21359
- "\u91CD\u65B0\u5EFA\u7ACB\u754C\u9762\u903B\u8F91\u53C2\u6570\uFF0C\u6807\u8BC6\uFF1A".concat(tag),
21360
- "-\u503C\uFF1A",
22228
+ ibiz.i18n.t("runtime.uiLogic.restablishInterfaceLogic", {
22229
+ tag
22230
+ }),
22231
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.value"),
21361
22232
  ctx.params[tag]
21362
22233
  );
21363
22234
  }
@@ -21393,7 +22264,10 @@ var UILogic = class {
21393
22264
  this.params = /* @__PURE__ */ new Map();
21394
22265
  var _a;
21395
22266
  if (!((_a = model.deuilogicNodes) == null ? void 0 : _a.length)) {
21396
- throw new RuntimeModelError50(model, "\u754C\u9762\u903B\u8F91\u6CA1\u6709\u914D\u7F6E\u903B\u8F91\u8282\u70B9");
22267
+ throw new RuntimeModelError50(
22268
+ model,
22269
+ ibiz.i18n.t("runtime.uiLogic.noLogicalNodesConfigured")
22270
+ );
21397
22271
  }
21398
22272
  model.deuilogicNodes.forEach((node) => {
21399
22273
  const { logicNodeType } = node;
@@ -21460,7 +22334,12 @@ var UILogic = class {
21460
22334
  logicNode = new RawJSCodeNode(node);
21461
22335
  break;
21462
22336
  default:
21463
- throw new ModelError25(node, "\u672A\u652F\u6301\u7684\u903B\u8F91\u8282\u70B9\u7C7B\u578B: ".concat(logicNodeType));
22337
+ throw new ModelError25(
22338
+ node,
22339
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.unsupportedLogical", {
22340
+ logicNodeType
22341
+ })
22342
+ );
21464
22343
  }
21465
22344
  this.nodes.set(node.id, logicNode);
21466
22345
  });
@@ -21513,7 +22392,10 @@ var UILogic = class {
21513
22392
  const start = this.nodes.get(startDEUILogicNodeId);
21514
22393
  await this.deepExec(start, ctx);
21515
22394
  } else {
21516
- throw new RuntimeModelError50(this.model, "\u672A\u8BBE\u7F6E\u8D77\u59CB\u8282\u70B9");
22395
+ throw new RuntimeModelError50(
22396
+ this.model,
22397
+ ibiz.i18n.t("runtime.deLogic.deLogicNode.noSetStartNode")
22398
+ );
21517
22399
  }
21518
22400
  if (ctx.isEndNode) {
21519
22401
  return ctx.result;
@@ -21560,19 +22442,28 @@ async function execUILogic(deUILogicId, appDataEntityId, parameters) {
21560
22442
  const deUILogic = await app.getDEUILogic(deUILogicId, appDataEntityId);
21561
22443
  if (!deUILogic) {
21562
22444
  throw new RuntimeError47(
21563
- "\u627E\u4E0D\u5230\u5B9E\u4F53".concat(appDataEntityId, "\u7684\u754C\u9762\u903B\u8F91").concat(deUILogicId)
22445
+ ibiz.i18n.t("runtime.uiLogic.interfaceLogic", {
22446
+ appDataEntityId,
22447
+ deUILogicId
22448
+ })
21564
22449
  );
21565
22450
  }
21566
22451
  if (!uiLogicMap.has(deUILogic)) {
21567
22452
  uiLogicMap.set(deUILogic, new UILogic(deUILogic));
21568
22453
  }
21569
22454
  ibiz.log.debug(
21570
- "\u5F00\u59CB\u6267\u884C\u754C\u9762\u903B\u8F91\uFF0C\u5B9E\u4F53\uFF1A".concat(appDataEntityId, "-\u903B\u8F91\u540D\u79F0\uFF1A").concat(deUILogic.name)
22455
+ ibiz.i18n.t("runtime.uiLogic.startExecutingInterfaceLogic", {
22456
+ appDataEntityId,
22457
+ name: deUILogic.name
22458
+ })
21571
22459
  );
21572
22460
  const uiLogic = uiLogicMap.get(deUILogic);
21573
22461
  const result = await uiLogic.exec(parameters);
21574
22462
  ibiz.log.debug(
21575
- "\u7ED3\u675F\u6267\u884C\u754C\u9762\u903B\u8F91\uFF0C\u5B9E\u4F53\uFF1A".concat(appDataEntityId, "-\u903B\u8F91\u540D\u79F0\uFF1A").concat(deUILogic.name)
22463
+ ibiz.i18n.t("runtime.uiLogic.endExecutionInterfaceLogic", {
22464
+ appDataEntityId,
22465
+ name: deUILogic.name
22466
+ })
21576
22467
  );
21577
22468
  return result;
21578
22469
  }
@@ -21593,7 +22484,9 @@ var UIActionUtil = class {
21593
22484
  static async exec(actionId, params, appId2) {
21594
22485
  const action = await getUIActionById(actionId, appId2);
21595
22486
  if (!action) {
21596
- throw new RuntimeError48("\u6CA1\u627E\u5230".concat(actionId, "\u7684\u754C\u9762\u884C\u4E3A\u6A21\u578B"));
22487
+ throw new RuntimeError48(
22488
+ ibiz.i18n.t("runtime.uiAction.noFoundBehaviorModel", { actionId })
22489
+ );
21597
22490
  }
21598
22491
  if (action.actionTarget === "SINGLEDATA") {
21599
22492
  const validateResult = await params.view.call("Validate" /* VALIDATE */);
@@ -21695,7 +22588,10 @@ var UIActionProviderBase = class {
21695
22588
  const { appDEUILogicId, appDataEntityId, uilogicAttachMode } = action;
21696
22589
  if (uilogicAttachMode === "REPLACE") {
21697
22590
  if (!appDEUILogicId) {
21698
- throw new RuntimeModelError51(action, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u754C\u9762\u903B\u8F91");
22591
+ throw new RuntimeModelError51(
22592
+ action,
22593
+ ibiz.i18n.t("runtime.logicScheduler.executor.noConfiguredLogic")
22594
+ );
21699
22595
  }
21700
22596
  await execUILogic(appDEUILogicId, appDataEntityId, args);
21701
22597
  return result;
@@ -21710,7 +22606,10 @@ var UIActionProviderBase = class {
21710
22606
  }
21711
22607
  if (action.uilogicAttachMode === "AFTER") {
21712
22608
  if (!appDEUILogicId) {
21713
- throw new RuntimeModelError51(action, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u754C\u9762\u903B\u8F91");
22609
+ throw new RuntimeModelError51(
22610
+ action,
22611
+ ibiz.i18n.t("runtime.logicScheduler.executor.noConfiguredLogic")
22612
+ );
21714
22613
  }
21715
22614
  await execUILogic(
21716
22615
  appDEUILogicId,
@@ -21780,7 +22679,10 @@ var UIActionProviderBase = class {
21780
22679
  async isConfirm(action, args) {
21781
22680
  const confirmMsg = this.calcMessage("confirm", action, args);
21782
22681
  if (action.enableConfirm && confirmMsg) {
21783
- return ibiz.confirm.warning({ title: "\u64CD\u4F5C\u786E\u8BA4", desc: confirmMsg });
22682
+ return ibiz.confirm.warning({
22683
+ title: ibiz.i18n.t("runtime.uiAction.operationConfirmation"),
22684
+ desc: confirmMsg
22685
+ });
21784
22686
  }
21785
22687
  return true;
21786
22688
  }
@@ -21942,7 +22844,9 @@ var UIActionProviderBase = class {
21942
22844
  delete param.modaloption;
21943
22845
  return { modalOption };
21944
22846
  } catch (error) {
21945
- ibiz.log.error("\u89C6\u56FE\u53C2\u6570modalOption \u89E3\u6790\u5931\u8D25\uFF1A".concat(error));
22847
+ ibiz.log.error(
22848
+ ibiz.i18n.t("runtime.uiAction.viewParameterModalOption", { error })
22849
+ );
21946
22850
  }
21947
22851
  }
21948
22852
  return {};
@@ -21957,7 +22861,10 @@ var BackendUIActionProvider = class extends UIActionProviderBase {
21957
22861
  const entityName = action.appDataEntityId;
21958
22862
  const methodName = action.appDEMethodId;
21959
22863
  if (!entityName || !methodName) {
21960
- throw new RuntimeModelError52(action, "\u672A\u914D\u7F6E\u5B9E\u4F53\u6216\u5B9E\u4F53\u884C\u4E3A");
22864
+ throw new RuntimeModelError52(
22865
+ action,
22866
+ ibiz.i18n.t("runtime.uiAction.noEntityOrBehavior")
22867
+ );
21961
22868
  }
21962
22869
  const { resultContext, resultParams, resultData } = await this.handleParams(
21963
22870
  action,
@@ -22102,7 +23009,10 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22102
23009
  case "WIZARD": {
22103
23010
  const frontPSAppView = action.frontAppViewId;
22104
23011
  if (!frontPSAppView) {
22105
- throw new RuntimeModelError53(action, "\u672A\u914D\u7F6E\u6253\u5F00\u89C6\u56FE");
23012
+ throw new RuntimeModelError53(
23013
+ action,
23014
+ ibiz.i18n.t("runtime.uiAction.noConfiguredopenView")
23015
+ );
22106
23016
  }
22107
23017
  const { resultContext, resultParams } = await this.handleParams(
22108
23018
  action,
@@ -22138,7 +23048,7 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22138
23048
  await this.executeDataExport(action, args);
22139
23049
  break;
22140
23050
  case "OTHER":
22141
- actionResult = this.doOther(action, args);
23051
+ actionResult = await this.doOther(action, args);
22142
23052
  break;
22143
23053
  case "EDITFORM":
22144
23054
  actionResult = await this.openEditForm(action, args);
@@ -22146,7 +23056,9 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22146
23056
  default:
22147
23057
  throw new ModelError26(
22148
23058
  action,
22149
- "\u672A\u652F\u6301\u7684\u524D\u53F0\u5904\u7406\u6A21\u5F0F[".concat(action.frontProcessType, "]")
23059
+ ibiz.i18n.t("runtime.uiAction.frontProcessingModes", {
23060
+ frontProcessType: action.frontProcessType
23061
+ })
22150
23062
  );
22151
23063
  }
22152
23064
  return actionResult;
@@ -22160,9 +23072,13 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22160
23072
  * @param {IUILogicParams} args
22161
23073
  * @return {*}
22162
23074
  */
22163
- doOther(action, args) {
22164
- const { scriptCode } = action;
23075
+ async doOther(action, args) {
23076
+ const { scriptCode, uiactionTag } = action;
22165
23077
  const { context, params, data, event, view } = args;
23078
+ if (uiactionTag === "ShortCut" /* SHOTR_CUT */) {
23079
+ const result = await view.callUIAction(uiactionTag, args);
23080
+ return result || {};
23081
+ }
22166
23082
  if (scriptCode) {
22167
23083
  const result = ScriptFactory.execScriptFn(
22168
23084
  { context, params, data, el: event == null ? void 0 : event.target, view },
@@ -22170,7 +23086,10 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22170
23086
  );
22171
23087
  return result || {};
22172
23088
  }
22173
- throw new RuntimeModelError53(action, "\u81EA\u5B9A\u4E49\u7C7B\u578B\u7F3A\u5C11\u914D\u7F6E\u811A\u672C\u4EE3\u7801");
23089
+ throw new RuntimeModelError53(
23090
+ action,
23091
+ ibiz.i18n.t("runtime.uiAction.missingConfigurationScriptCode")
23092
+ );
22174
23093
  }
22175
23094
  /**
22176
23095
  * 执行打印行为
@@ -22199,7 +23118,7 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22199
23118
  if (resultContext && resultContext[appDataEntity.codeName.toLowerCase()]) {
22200
23119
  requestUrl += "/".concat(appDataEntity.deapicodeName2, "/printdata/").concat(resultContext[appDataEntity.codeName.toLowerCase()]);
22201
23120
  } else {
22202
- throw new RuntimeError49("\u6CA1\u6709\u627E\u5230\u6570\u636E\u4E3B\u952E");
23121
+ throw new RuntimeError49(ibiz.i18n.t("runtime.uiAction.dataPrimaryKey"));
22203
23122
  }
22204
23123
  const res = await ibiz.net.request(requestUrl, {
22205
23124
  method: "get",
@@ -22226,10 +23145,10 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22226
23145
  window.open(link, "_blank");
22227
23146
  }
22228
23147
  } else {
22229
- throw new RuntimeError49("\u6253\u5370\u5931\u8D25");
23148
+ throw new RuntimeError49(ibiz.i18n.t("runtime.uiAction.printFailure"));
22230
23149
  }
22231
23150
  } else {
22232
- throw new RuntimeError49("\u6CA1\u6709\u627E\u5230\u5B9E\u4F53\u6253\u5370\u9879");
23151
+ throw new RuntimeError49(ibiz.i18n.t("runtime.uiAction.physicalPrint"));
22233
23152
  }
22234
23153
  }
22235
23154
  /**
@@ -22248,7 +23167,10 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22248
23167
  );
22249
23168
  const { appDataEntityId, appDEDataImportId, frontAppViewId } = action;
22250
23169
  if (!appDataEntityId || !appDEDataImportId) {
22251
- throw new RuntimeModelError53(action, "\u6CA1\u6709\u914D\u7F6E\u5BFC\u5165\u6A21\u578B\uFF01");
23170
+ throw new RuntimeModelError53(
23171
+ action,
23172
+ ibiz.i18n.t("runtime.controller.common.control.noImportModel")
23173
+ );
22252
23174
  }
22253
23175
  await openDataImport({
22254
23176
  appDataEntityId,
@@ -22311,10 +23233,14 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22311
23233
  URL.revokeObjectURL(elink.href);
22312
23234
  document.body.removeChild(elink);
22313
23235
  } else {
22314
- throw new RuntimeError49("\u5BFC\u51FA\u8BF7\u6C42\u5931\u8D25");
23236
+ throw new RuntimeError49(
23237
+ ibiz.i18n.t("runtime.uiAction.exportRequestFailed")
23238
+ );
22315
23239
  }
22316
23240
  } else {
22317
- throw new RuntimeError49("\u6CA1\u6709\u627E\u5230\u5B9E\u4F53\u5BFC\u51FA\u9879");
23241
+ throw new RuntimeError49(
23242
+ ibiz.i18n.t("runtime.uiAction.noEntityExportsFound")
23243
+ );
22318
23244
  }
22319
23245
  }
22320
23246
  /**
@@ -22330,7 +23256,7 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
22330
23256
  const actionResult = {};
22331
23257
  const { context, params, data, event } = args;
22332
23258
  if (!event) {
22333
- throw new RuntimeError49("\u7F3A\u5C11\u539F\u751FJS\u4E8B\u4EF6\u5BF9\u8C61");
23259
+ throw new RuntimeError49(ibiz.i18n.t("runtime.uiAction.lackNativeEvent"));
22334
23260
  }
22335
23261
  const { resultContext, resultParams } = await this.handleParams(
22336
23262
  action,
@@ -22376,8 +23302,8 @@ var WFWithdrawUIActionProvider = class extends UIActionProviderBase {
22376
23302
  async execAction(_action, args) {
22377
23303
  const { view } = args;
22378
23304
  const isWithdraw = await ibiz.modal.confirm({
22379
- title: "\u63D0\u793A",
22380
- desc: "\u662F\u5426\u786E\u8BA4\u6267\u884C\u64A4\u56DE\u64CD\u4F5C\uFF1F"
23305
+ title: ibiz.i18n.t("runtime.controller.control.form.prompt"),
23306
+ desc: ibiz.i18n.t("runtime.uiAction.withdrawalConfirmed")
22381
23307
  });
22382
23308
  let isCloseView = false;
22383
23309
  if (isWithdraw && view) {
@@ -22395,8 +23321,8 @@ var WFWithdrawUIActionProvider = class extends UIActionProviderBase {
22395
23321
  var LoginOutUIActionProvider = class extends UIActionProviderBase {
22396
23322
  async execAction(_action, _params) {
22397
23323
  const confirm = await ibiz.confirm.info({
22398
- title: "\u9000\u51FA\u767B\u5F55",
22399
- desc: "\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417\uFF1F"
23324
+ title: ibiz.i18n.t("app.logout"),
23325
+ desc: ibiz.i18n.t("runtime.uiAction.wantLogout")
22400
23326
  });
22401
23327
  if (confirm) {
22402
23328
  const bol = await ibiz.hub.controller.logout();
@@ -22454,7 +23380,7 @@ var ToolbarController = class extends ControlController {
22454
23380
  const uiAction = await getUIActionById(actionId, item.appId);
22455
23381
  if (!uiAction) {
22456
23382
  throw new RuntimeError50(
22457
- ibiz.i18n.t("runtime.controller.control.toolbar.notFound", {
23383
+ ibiz.i18n.t("runtime.controller.control.toolbar.noFound", {
22458
23384
  actionId
22459
23385
  })
22460
23386
  );
@@ -23609,7 +24535,7 @@ var DataViewControlController = class extends MDControlController {
23609
24535
  throw new RuntimeModelError54(
23610
24536
  this.model,
23611
24537
  ibiz.i18n.t(
23612
- "runtime.controller.control.dataView.propertiesNotConfigured"
24538
+ "runtime.controller.control.dataView.propertiesNoConfigured"
23613
24539
  )
23614
24540
  );
23615
24541
  }
@@ -23680,7 +24606,7 @@ var DataViewControlController = class extends MDControlController {
23680
24606
  if (!groupCodeListId) {
23681
24607
  throw new RuntimeModelError54(
23682
24608
  this.model,
23683
- ibiz.i18n.t("runtime.controller.control.dataView.tableNotConfigured")
24609
+ ibiz.i18n.t("runtime.controller.control.dataView.tableNoConfigured")
23684
24610
  );
23685
24611
  }
23686
24612
  const { items } = this.state;
@@ -24383,7 +25309,7 @@ var TreeExpBarController = class extends ExpBarControlController {
24383
25309
  const nodeModel = this.getNodeModel(node._nodeId);
24384
25310
  if (!nodeModel) {
24385
25311
  throw new RuntimeError52(
24386
- ibiz.i18n.t("runtime.controller.control.expBar.notFindNodeModel", {
25312
+ ibiz.i18n.t("runtime.controller.control.expBar.noFindNodeModel", {
24387
25313
  nodeId: node._nodeId
24388
25314
  })
24389
25315
  );
@@ -26684,7 +27610,7 @@ var FormMDCtrlMDController = class extends FormMDCtrlController {
26684
27610
  this.mdController.refresh();
26685
27611
  } else {
26686
27612
  ibiz.log.debug(
26687
- ibiz.i18n.t("runtime.controller.control.form.mdControllerNotExist")
27613
+ ibiz.i18n.t("runtime.controller.control.form.mdControllerNoExist")
26688
27614
  );
26689
27615
  }
26690
27616
  }
@@ -26952,7 +27878,7 @@ var FormMDCtrlRepeaterController = class extends FormMDCtrlController {
26952
27878
  default:
26953
27879
  throw new ModelError28(
26954
27880
  this.model,
26955
- ibiz.i18n.t("runtime.controller.control.form.repeaterNotSupported", {
27881
+ ibiz.i18n.t("runtime.controller.control.form.repeaterNoSupported", {
26956
27882
  detailStyle: this.model.detailStyle
26957
27883
  })
26958
27884
  );
@@ -28729,7 +29655,7 @@ var GridController = class extends MDControlController {
28729
29655
  if (!this.groupFieldColumn.model.appCodeListId) {
28730
29656
  throw new RuntimeModelError63(
28731
29657
  this.groupFieldColumn.model,
28732
- ibiz.i18n.t("runtime.controller.control.grid.notCodeTable", {
29658
+ ibiz.i18n.t("runtime.controller.control.grid.noCodeTable", {
28733
29659
  groupFieldName
28734
29660
  })
28735
29661
  );
@@ -28759,7 +29685,7 @@ var GridController = class extends MDControlController {
28759
29685
  if (this.groupFieldColumn.model.appCodeListId !== groupCodeListId) {
28760
29686
  throw new RuntimeModelError63(
28761
29687
  this.model,
28762
- ibiz.i18n.t("runtime.controller.control.grid.notMatchCodeTable", {
29688
+ ibiz.i18n.t("runtime.controller.control.grid.noMatchCodeTable", {
28763
29689
  groupFieldName
28764
29690
  })
28765
29691
  );
@@ -29016,7 +29942,7 @@ var GridController = class extends MDControlController {
29016
29942
  );
29017
29943
  }
29018
29944
  if (!rowState.modified) {
29019
- ibiz.log.debug(ibiz.i18n.t("runtime.controller.control.gantt.notChange"));
29945
+ ibiz.log.debug(ibiz.i18n.t("runtime.controller.control.gantt.noChange"));
29020
29946
  return;
29021
29947
  }
29022
29948
  if (rowState.processing) {
@@ -29252,7 +30178,7 @@ var GridController = class extends MDControlController {
29252
30178
  async toggleRowEdit() {
29253
30179
  if (!this.model.enableRowNew) {
29254
30180
  throw new RuntimeError56(
29255
- ibiz.i18n.t("runtime.controller.control.grid.notSupportRowEditing")
30181
+ ibiz.i18n.t("runtime.controller.control.grid.noSupportRowEditing")
29256
30182
  );
29257
30183
  }
29258
30184
  this.state.rowEditOpen = !this.state.rowEditOpen;
@@ -30000,7 +30926,7 @@ var GridFieldColumnController = class extends GridColumnController {
30000
30926
  default:
30001
30927
  throw new ModelError29(
30002
30928
  this.model,
30003
- ibiz.i18n.t("runtime.controller.control.grid.notSupportedMode", {
30929
+ ibiz.i18n.t("runtime.controller.control.grid.noSupportedMode", {
30004
30930
  aggMode
30005
30931
  })
30006
30932
  );
@@ -31905,7 +32831,7 @@ var SearchBarFilterItemsController = class extends SearchBarFilterController {
31905
32831
  });
31906
32832
  if (!minorDEId) {
31907
32833
  throw new RuntimeError59(
31908
- ibiz.i18n.t("runtime.controller.control.searchBar.notFoundEntity", {
32834
+ ibiz.i18n.t("runtime.controller.control.searchBar.noFoundEntity", {
31909
32835
  targetField
31910
32836
  })
31911
32837
  );
@@ -33158,7 +34084,7 @@ var TreeService = class extends MDControlService {
33158
34084
  default:
33159
34085
  throw new ModelError30(
33160
34086
  nodeModel,
33161
- ibiz.i18n.t("runtime.controller.control.gantt.notSupport", {
34087
+ ibiz.i18n.t("runtime.controller.control.gantt.noSupport", {
33162
34088
  treeNodeType: nodeModel.treeNodeType
33163
34089
  })
33164
34090
  );
@@ -33856,7 +34782,7 @@ var TreeController = class extends MDControlController {
33856
34782
  );
33857
34783
  if (!currentNode) {
33858
34784
  ibiz.log.error(
33859
- ibiz.i18n.t("runtime.controller.control.tree.notFoundTreeData"),
34785
+ ibiz.i18n.t("runtime.controller.control.tree.noFoundTreeData"),
33860
34786
  nodeData
33861
34787
  );
33862
34788
  return;
@@ -34117,7 +35043,7 @@ var TreeController = class extends MDControlController {
34117
35043
  const treeNode = this.getNodeModel(item._nodeId);
34118
35044
  if (!treeNode) {
34119
35045
  throw new RuntimeError60(
34120
- ibiz.i18n.t("runtime.controller.control.tree.notFoundTreeNode")
35046
+ ibiz.i18n.t("runtime.controller.control.tree.noFoundTreeNode")
34121
35047
  );
34122
35048
  }
34123
35049
  const nodeAppDataEntityId = treeNode.appDataEntityId;
@@ -34820,7 +35746,7 @@ var MDCtrlController = class extends MDControlController {
34820
35746
  throw new RuntimeModelError67(
34821
35747
  this.model,
34822
35748
  ibiz.i18n.t(
34823
- "runtime.controller.control.dataView.propertiesNotConfigured"
35749
+ "runtime.controller.control.dataView.propertiesNoConfigured"
34824
35750
  )
34825
35751
  );
34826
35752
  }
@@ -34891,7 +35817,7 @@ var MDCtrlController = class extends MDControlController {
34891
35817
  if (!groupCodeListId) {
34892
35818
  throw new RuntimeModelError67(
34893
35819
  this.model,
34894
- ibiz.i18n.t("runtime.controller.control.dataView.tableNotConfigured")
35820
+ ibiz.i18n.t("runtime.controller.control.dataView.tableNoConfigured")
34895
35821
  );
34896
35822
  }
34897
35823
  const { items } = this.state;
@@ -35196,7 +36122,7 @@ var KanbanController = class extends DataViewControlController {
35196
36122
  if (!groupCodeListId) {
35197
36123
  throw new RuntimeModelError68(
35198
36124
  this.model,
35199
- ibiz.i18n.t("runtime.controller.control.dataView.tableNotConfigured")
36125
+ ibiz.i18n.t("runtime.controller.control.dataView.tableNoConfigured")
35200
36126
  );
35201
36127
  }
35202
36128
  const { items } = this.state;
@@ -35251,7 +36177,7 @@ var KanbanController = class extends DataViewControlController {
35251
36177
  if (!this.enableEditOrder) {
35252
36178
  if (info.from === info.to) {
35253
36179
  ibiz.message.warning(
35254
- ibiz.i18n.t("runtime.controller.control.kanban.notAllowReorder")
36180
+ ibiz.i18n.t("runtime.controller.control.kanban.noAllowReorder")
35255
36181
  );
35256
36182
  return;
35257
36183
  }
@@ -35769,7 +36695,7 @@ var TreeGridExController = class extends TreeController {
35769
36695
  );
35770
36696
  }
35771
36697
  if (!rowState.modified) {
35772
- ibiz.log.debug(ibiz.i18n.t("runtime.controller.control.gantt.notChange"));
36698
+ ibiz.log.debug(ibiz.i18n.t("runtime.controller.control.gantt.noChange"));
35773
36699
  return;
35774
36700
  }
35775
36701
  if (rowState.processing) {
@@ -35781,7 +36707,7 @@ var TreeGridExController = class extends TreeController {
35781
36707
  const isCreate = nodeData._deData.srfuf === 0 /* CREATE */;
35782
36708
  if (isCreate) {
35783
36709
  throw new RuntimeError63(
35784
- ibiz.i18n.t("runtime.controller.control.treeGridEx.notSupportCreation")
36710
+ ibiz.i18n.t("runtime.controller.control.treeGridEx.noSupportCreation")
35785
36711
  );
35786
36712
  }
35787
36713
  if (!updateAppDEActionId) {
@@ -36094,7 +37020,7 @@ var TreeGridExNodeColumnController = class {
36094
37020
  if (!nodeColumn || !nodeDataItem) {
36095
37021
  throw new RuntimeModelError70(
36096
37022
  nodeModel,
36097
- ibiz.i18n.t("runtime.controller.control.treeGridEx.notConfigured", {
37023
+ ibiz.i18n.t("runtime.controller.control.treeGridEx.noConfigured", {
36098
37024
  name: this.fieldColumn.name
36099
37025
  })
36100
37026
  );
@@ -36266,7 +37192,7 @@ var TreeGridExNodeColumnController = class {
36266
37192
  const value = row.data[valueItem];
36267
37193
  if (value == null) {
36268
37194
  throw new RuntimeError64(
36269
- ibiz.i18n.t("runtime.controller.control.treeGridEx.notPickedUp", {
37195
+ ibiz.i18n.t("runtime.controller.control.treeGridEx.noPickedUp", {
36270
37196
  valueItem
36271
37197
  })
36272
37198
  );
@@ -37275,7 +38201,7 @@ var ReportPanelGeneratorFactory = class {
37275
38201
  return new User2ReportPanelGenerator(model);
37276
38202
  default:
37277
38203
  throw new Error(
37278
- ibiz.i18n.t("runtime.controller.control.reportPanel.notImplemented", {
38204
+ ibiz.i18n.t("runtime.controller.control.reportPanel.noImplemented", {
37279
38205
  reportType: model.appDEReport.reportType
37280
38206
  })
37281
38207
  );
@@ -37572,7 +38498,7 @@ var GanttService = class extends TreeService {
37572
38498
  default:
37573
38499
  throw new ModelError31(
37574
38500
  nodeModel,
37575
- ibiz.i18n.t("runtime.controller.control.gantt.notSupport", {
38501
+ ibiz.i18n.t("runtime.controller.control.gantt.noSupport", {
37576
38502
  treeNodeType: nodeModel.treeNodeType
37577
38503
  })
37578
38504
  );
@@ -37964,7 +38890,7 @@ var GanttController = class extends TreeGridExController {
37964
38890
  async modifyNodeTime(nodeData, { begin, end }) {
37965
38891
  if (nodeData._nodeType !== "DE") {
37966
38892
  throw new RuntimeError66(
37967
- ibiz.i18n.t("runtime.controller.control.gantt.notNode")
38893
+ ibiz.i18n.t("runtime.controller.control.gantt.noNode")
37968
38894
  );
37969
38895
  }
37970
38896
  const rowState = this.getRowState(nodeData._id);
@@ -38004,7 +38930,7 @@ var GanttController = class extends TreeGridExController {
38004
38930
  );
38005
38931
  }
38006
38932
  if (!rowState.modified) {
38007
- ibiz.log.debug(ibiz.i18n.t("runtime.controller.control.gantt.notChange"));
38933
+ ibiz.log.debug(ibiz.i18n.t("runtime.controller.control.gantt.noChange"));
38008
38934
  return;
38009
38935
  }
38010
38936
  if (rowState.processing) {
@@ -38818,7 +39744,7 @@ var AppHub = class {
38818
39744
  this.registerAppView(appView);
38819
39745
  return appView;
38820
39746
  }
38821
- throw new RuntimeError67("\u89C6\u56FE[".concat(id, "]\u4E0D\u5B58\u5728"));
39747
+ throw new RuntimeError67(ibiz.i18n.t("runtime.hub.noExist", { id }));
38822
39748
  }
38823
39749
  /**
38824
39750
  * 根据DrControl的名称和子应用标识获取模型
@@ -38857,7 +39783,9 @@ var AppHub = class {
38857
39783
  );
38858
39784
  return model;
38859
39785
  }
38860
- throw new RuntimeError67("\u89C6\u56FE[".concat(modelPath, "]\u4E0D\u5B58\u5728"));
39786
+ throw new RuntimeError67(
39787
+ ibiz.i18n.t("runtime.hub.noExist", { id: modelPath })
39788
+ );
38861
39789
  }
38862
39790
  /**
38863
39791
  * 根据应用实体代码名称查找应用视图
@@ -38888,7 +39816,7 @@ var AppHub = class {
38888
39816
  this.registerAppDataEntity(entity, appId2);
38889
39817
  return entity;
38890
39818
  }
38891
- throw new RuntimeError67("\u672A\u627E\u5230\u5E94\u7528\u5B9E\u4F53[".concat(id, "]"));
39819
+ throw new RuntimeError67(ibiz.i18n.t("runtime.service.noFound", { id }));
38892
39820
  }
38893
39821
  /**
38894
39822
  * 新建 hub 应用
@@ -38903,7 +39831,7 @@ var AppHub = class {
38903
39831
  return this.appMap.get(id);
38904
39832
  }
38905
39833
  if (!this.modelLoaderProvider) {
38906
- throw new RuntimeError67("\u8BF7\u5148\u6CE8\u518C\u6A21\u578B\u52A0\u8F7D\u9002\u914D\u5668");
39834
+ throw new RuntimeError67(ibiz.i18n.t("runtime.utils.firstregister"));
38907
39835
  }
38908
39836
  const appModel = await this.modelLoaderProvider.getApp(id);
38909
39837
  const app = new Application(appModel);
@@ -39040,12 +39968,19 @@ var EngineFactory = class {
39040
39968
  if (func) {
39041
39969
  return func(...args);
39042
39970
  }
39043
- ibiz.log.error("\u6CA1\u6709".concat(key, "\u5BF9\u5E94\u7684\u5F15\u64CE"), model);
39971
+ ibiz.log.error(
39972
+ ibiz.i18n.t("runtime.engine.correspondingEngine", { key }),
39973
+ model
39974
+ );
39044
39975
  }
39045
39976
  };
39046
39977
 
39047
39978
  // src/engine/view-base.engine.ts
39048
- import { RuntimeError as RuntimeError68, findRecursiveChild as findRecursiveChild3 } from "@ibiz-template/core";
39979
+ import {
39980
+ RuntimeError as RuntimeError68,
39981
+ findRecursiveChild as findRecursiveChild3,
39982
+ IBizContext as IBizContext7
39983
+ } from "@ibiz-template/core";
39049
39984
  var ViewEngineBase = class {
39050
39985
  /**
39051
39986
  * 构造函数在视图控制器的构造函数逻辑内部执行
@@ -39149,7 +40084,12 @@ var ViewEngineBase = class {
39149
40084
  */
39150
40085
  calcDynamicLayout() {
39151
40086
  const names = this.calcRemoveLayoutModel();
39152
- ibiz.log.debug("".concat(this.view.model.codeName, "\u5220\u9664\u6A21\u578B\uFF1A").concat(names.join(";")));
40087
+ ibiz.log.debug(
40088
+ ibiz.i18n.t("runtime.engine.deleteModel", {
40089
+ codeName: this.view.model.codeName,
40090
+ name: names.join(";")
40091
+ })
40092
+ );
39153
40093
  this.removeLayoutModel(names);
39154
40094
  }
39155
40095
  /**
@@ -39214,7 +40154,12 @@ var ViewEngineBase = class {
39214
40154
  }
39215
40155
  async onMounted() {
39216
40156
  const { model, childNames } = this.view;
39217
- ibiz.log.debug("".concat(model.id, "\u7684\u5B50\u7EC4\u4EF6\uFF1A").concat(childNames.join(";"), "\u90FD\u5DF2mounted"));
40157
+ ibiz.log.debug(
40158
+ ibiz.i18n.t("runtime.engine.childComponentsMounted", {
40159
+ id: model.id,
40160
+ childName: childNames.join(";")
40161
+ })
40162
+ );
39218
40163
  }
39219
40164
  async onDestroyed() {
39220
40165
  }
@@ -39222,8 +40167,41 @@ var ViewEngineBase = class {
39222
40167
  if (key === "GetData" /* GET_DATA */) {
39223
40168
  return this.getData();
39224
40169
  }
40170
+ if (key === "ShortCut" /* SHOTR_CUT */) {
40171
+ return this.onShortCut(_args);
40172
+ }
39225
40173
  return void 0;
39226
40174
  }
40175
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
40176
+ async onShortCut(args) {
40177
+ const { data } = args;
40178
+ const { context, model, params, modal } = this.view;
40179
+ if (!["ROUTE_MODAL", "MODAL", "DRAWER"].includes(modal.mode)) {
40180
+ throw new Error(
40181
+ ibiz.i18n.t("runtime.engine.minimization", { mode: modal.mode })
40182
+ );
40183
+ }
40184
+ const key = await ibiz.util.shortCut.calcShortCutKey({
40185
+ context,
40186
+ appViewId: model.id
40187
+ });
40188
+ const isExist = ibiz.util.shortCut.isExist(key);
40189
+ if (!isExist) {
40190
+ ibiz.util.shortCut.addShortCut({
40191
+ key,
40192
+ name: data && data[0].srfmajortext,
40193
+ appViewId: model.id,
40194
+ context: IBizContext7.create(context),
40195
+ params: { ...params },
40196
+ openMode: modal.mode
40197
+ });
40198
+ this.view.state.isShortCut = true;
40199
+ return { closeView: true };
40200
+ }
40201
+ ibiz.util.shortCut.removeShortCut(key);
40202
+ this.view.state.isShortCut = false;
40203
+ return null;
40204
+ }
39227
40205
  /**
39228
40206
  * 初始化视图state
39229
40207
  * @author lxm
@@ -39318,7 +40296,7 @@ var ViewEngineBase = class {
39318
40296
  const { appDataEntityId } = this.view.model;
39319
40297
  const { evt, context, params } = this.view;
39320
40298
  if (!appDataEntityId) {
39321
- throw new RuntimeError68("\u8BE5\u89C6\u56FE\u6CA1\u6709\u5B9E\u4F53\uFF0C\u65E0\u6CD5\u52A0\u8F7D\u5B9E\u4F53\u6570\u636E");
40299
+ throw new RuntimeError68(ibiz.i18n.t("runtime.engine.loadEntityData"));
39322
40300
  }
39323
40301
  const app = ibiz.hub.getApp(context.srfappid);
39324
40302
  const res = await app.deService.exec(
@@ -39596,7 +40574,10 @@ var MDViewEngine = class extends ViewEngineBase {
39596
40574
  view: this.view
39597
40575
  }));
39598
40576
  if (result === -1) {
39599
- throw new RuntimeModelError73(this.view.model, "\u7F3A\u5C11opendata\u7684\u89C6\u56FE\u903B\u8F91");
40577
+ throw new RuntimeModelError73(
40578
+ this.view.model,
40579
+ ibiz.i18n.t("runtime.engine.logicOpendata")
40580
+ );
39600
40581
  } else {
39601
40582
  return {
39602
40583
  cancel: !result.ok
@@ -39619,7 +40600,10 @@ var MDViewEngine = class extends ViewEngineBase {
39619
40600
  (item) => item.id === "newdata"
39620
40601
  );
39621
40602
  if (!openAppViewLogic) {
39622
- throw new RuntimeModelError73(this.view.model, "\u7F3A\u5C11newdata\u7684\u89C6\u56FE\u903B\u8F91");
40603
+ throw new RuntimeModelError73(
40604
+ this.view.model,
40605
+ ibiz.i18n.t("runtime.engine.logicNewdata")
40606
+ );
39623
40607
  }
39624
40608
  const params = clone34(this.view.params);
39625
40609
  if (copyMode) {
@@ -39633,7 +40617,10 @@ var MDViewEngine = class extends ViewEngineBase {
39633
40617
  view: this.view
39634
40618
  }));
39635
40619
  if (result === -1) {
39636
- throw new RuntimeModelError73(this.view.model, "\u7F3A\u5C11newdata\u7684\u89C6\u56FE\u903B\u8F91");
40620
+ throw new RuntimeModelError73(
40621
+ this.view.model,
40622
+ ibiz.i18n.t("runtime.engine.logicNewdata")
40623
+ );
39637
40624
  } else {
39638
40625
  return {
39639
40626
  cancel: !result.ok
@@ -39864,6 +40851,14 @@ var GlobalUtil = class {
39864
40851
  * @memberof GlobalUtil
39865
40852
  */
39866
40853
  this.anime = new AnimeUtil();
40854
+ /**
40855
+ * 最小化工具类
40856
+ *
40857
+ * @author fzh
40858
+ * @date 2024-04-22 09:01:33
40859
+ * @memberof GlobalUtil
40860
+ */
40861
+ this.shortCut = new ShortCutUtil();
39867
40862
  /**
39868
40863
  * 文件工具类
39869
40864
  *
@@ -39930,7 +40925,7 @@ var GlobalUtil = class {
39930
40925
  * @return {*} {IParams}
39931
40926
  */
39932
40927
  getGlobalParam() {
39933
- throw new RuntimeError69("\u83B7\u53D6\u5E94\u7528\u5168\u5C40\u53D8\u91CF\u6CA1\u6709\u5B9E\u73B0");
40928
+ throw new RuntimeError69(ibiz.i18n.t("runtime.global.noImplemented"));
39934
40929
  }
39935
40930
  /**
39936
40931
  * 获取视图路由参数变量,数组类型,基于路由解析出来的,每一个对象里面都有context和params
@@ -39939,7 +40934,7 @@ var GlobalUtil = class {
39939
40934
  * @return {*} {IParams}
39940
40935
  */
39941
40936
  getRouterParams() {
39942
- throw new RuntimeError69("\u83B7\u53D6\u89C6\u56FE\u8DEF\u7531\u53C2\u6570\u53D8\u91CF\u6CA1\u6709\u5B9E\u73B0");
40937
+ throw new RuntimeError69(ibiz.i18n.t("runtime.global.noImplementedRouting"));
39943
40938
  }
39944
40939
  };
39945
40940
 
@@ -39965,7 +40960,9 @@ var LogicExecutor = class {
39965
40960
  */
39966
40961
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
39967
40962
  execute(_executeParams) {
39968
- throw new RuntimeError70("Method not implemented.");
40963
+ throw new RuntimeError70(
40964
+ ibiz.i18n.t("runtime.logicScheduler.executor.noImplementedMethod")
40965
+ );
39969
40966
  }
39970
40967
  /**
39971
40968
  * 销毁方法
@@ -40007,7 +41004,12 @@ var LogicExecutorFactory = class {
40007
41004
  createExecutor(logic, scheduler) {
40008
41005
  const constructor = this.constructorMap.get(logic.logicType);
40009
41006
  if (!constructor) {
40010
- throw new ModelError32(logic, "\u903B\u8F91\u7C7B\u578B ".concat(logic.logicType, " \u6682\u672A\u652F\u6301\uFF01"));
41007
+ throw new ModelError32(
41008
+ logic,
41009
+ ibiz.i18n.t("runtime.logicScheduler.executor.logicType", {
41010
+ logicType: logic.logicType
41011
+ })
41012
+ );
40011
41013
  }
40012
41014
  return constructor(logic, scheduler);
40013
41015
  }
@@ -40062,7 +41064,10 @@ var AppDEUILogicExecutor = class extends LogicExecutor {
40062
41064
  execute(executeParams) {
40063
41065
  const { appDEUILogicId, appDataEntityId } = this.logic;
40064
41066
  if (!appDEUILogicId) {
40065
- throw new RuntimeModelError74(this.logic, "\u6CA1\u6709\u914D\u7F6E\u5B9E\u4F53\u754C\u9762\u903B\u8F91");
41067
+ throw new RuntimeModelError74(
41068
+ this.logic,
41069
+ ibiz.i18n.t("runtime.logicScheduler.executor.noConfiguredLogic")
41070
+ );
40066
41071
  }
40067
41072
  return execUILogic(appDEUILogicId, appDataEntityId, executeParams);
40068
41073
  }
@@ -40355,7 +41360,12 @@ var LogicTriggerFactory = class {
40355
41360
  createTrigger(logic, scheduler) {
40356
41361
  const constructor = this.constructorMap.get(logic.triggerType);
40357
41362
  if (!constructor) {
40358
- throw new ModelError33(logic, "\u89E6\u53D1\u5668\u7C7B\u578B ".concat(logic.triggerType, " \u6682\u672A\u652F\u6301\uFF01"));
41363
+ throw new ModelError33(
41364
+ logic,
41365
+ ibiz.i18n.t("runtime.logicScheduler.trigger.noSupportedType", {
41366
+ triggerType: logic.triggerType
41367
+ })
41368
+ );
40359
41369
  }
40360
41370
  return constructor(logic, scheduler);
40361
41371
  }
@@ -40462,7 +41472,11 @@ var LogicTrigger = class {
40462
41472
  if (this.executor) {
40463
41473
  return this.executor.execute(executeParams);
40464
41474
  }
40465
- throw new RuntimeError71("".concat(this.logic.id, "\u6CA1\u6709\u7ED1\u5B9Aexecutor"));
41475
+ throw new RuntimeError71(
41476
+ ibiz.i18n.t("runtime.logicScheduler.trigger.noExecutorBound", {
41477
+ id: this.logic.id
41478
+ })
41479
+ );
40466
41480
  }
40467
41481
  /**
40468
41482
  * 销毁方法
@@ -40485,7 +41499,7 @@ var ItemDynaLogicTrigger = class extends LogicTrigger {
40485
41499
  super.bindExecutor(executor);
40486
41500
  if (this.executor.type !== "SCRIPT") {
40487
41501
  throw new RuntimeError72(
40488
- "\u9884\u5B9A\u4E49\u903B\u8F91\u7C7B\u578B".concat(this.type, "\u7684\u89E6\u53D1\u5668\u7C7B\u578B\u53EA\u80FD\u662F\u811A\u672C")
41502
+ ibiz.i18n.t("runtime.logicScheduler.trigger.triggerType")
40489
41503
  );
40490
41504
  }
40491
41505
  }
@@ -40529,11 +41543,16 @@ var TimerTrigger = class extends LogicTrigger {
40529
41543
  }
40530
41544
  start() {
40531
41545
  if (!this.logic.timer) {
40532
- throw new RuntimeModelError75(this.logic, "\u5B9A\u65F6\u5668\u7F3A\u5C11\u5B9A\u65F6\u95F4\u9694");
41546
+ throw new RuntimeModelError75(
41547
+ this.logic,
41548
+ ibiz.i18n.t("runtime.logicScheduler.trigger.timerLacks")
41549
+ );
40533
41550
  }
40534
41551
  this.timer = setInterval(() => {
40535
41552
  if (!this.scheduler.defaultParamsCb) {
40536
- throw new RuntimeError73("\u5B9A\u65F6\u5668\u7F3A\u5C11\u9ED8\u8BA4\u53C2\u6570\u56DE\u8C03");
41553
+ throw new RuntimeError73(
41554
+ ibiz.i18n.t("runtime.logicScheduler.trigger.parameterCallback")
41555
+ );
40537
41556
  }
40538
41557
  const params = this.scheduler.defaultParamsCb();
40539
41558
  this.executor.execute(params);
@@ -40588,7 +41607,9 @@ var AppUILogicExecutor = class extends LogicExecutor {
40588
41607
  const { context, params, ...rest } = parameters;
40589
41608
  const { data } = parameters;
40590
41609
  if (!(data == null ? void 0 : data[0])) {
40591
- throw new RuntimeError74("opendata\u6CA1\u6709\u53EF\u64CD\u4F5C\u6570\u636E\uFF01");
41610
+ throw new RuntimeError74(
41611
+ ibiz.i18n.t("runtime.logicScheduler.executor.noActionableData")
41612
+ );
40592
41613
  }
40593
41614
  const openViewRefs = appUILogic.openDataAppViews;
40594
41615
  let openViewRef;
@@ -40599,7 +41620,9 @@ var AppUILogicExecutor = class extends LogicExecutor {
40599
41620
  if (!openViewRef) {
40600
41621
  throw new RuntimeModelError76(
40601
41622
  appUILogic,
40602
- "opendata\u89C6\u56FE\u903B\u8F91\u6CA1\u6709\u914D\u7F6E\u9ED8\u8BA4\u6253\u5F00\u89C6\u56FE"
41623
+ ibiz.i18n.t(
41624
+ "runtime.logicScheduler.executor.defaultOpendataViewLogic"
41625
+ )
40603
41626
  );
40604
41627
  }
40605
41628
  }
@@ -40607,7 +41630,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
40607
41630
  if (!openView) {
40608
41631
  throw new RuntimeModelError76(
40609
41632
  appUILogic,
40610
- "opendata\u89C6\u56FE\u903B\u8F91\u7684\u9ED8\u8BA4\u6253\u5F00\u89C6\u56FE\u6CA1\u6709\u5B9E\u9645\u5F15\u7528\u89C6\u56FE"
41633
+ ibiz.i18n.t("runtime.logicScheduler.executor.noActuallyReference")
40611
41634
  );
40612
41635
  }
40613
41636
  const navContexts = openViewRef.navigateContexts || [];
@@ -40637,19 +41660,26 @@ var AppUILogicExecutor = class extends LogicExecutor {
40637
41660
  if (!typeFileName) {
40638
41661
  throw new RuntimeModelError76(
40639
41662
  appUILogic,
40640
- "".concat(appDataEntity.codeName, "[\u591A\u8868\u5355\u5B9E\u4F53] or [\u7D22\u5F15\u5B9E\u4F53]\u7F3A\u5C11\u7C7B\u578B\u5C5E\u6027\u914D\u7F6E")
41663
+ ibiz.i18n.t("runtime.logicScheduler.executor.attributeConfiguration", {
41664
+ codeName: appDataEntity.codeName
41665
+ })
40641
41666
  );
40642
41667
  }
40643
41668
  const { data } = parameters;
40644
41669
  const formTypeValue = data[0][typeFileName];
40645
41670
  if (!formTypeValue) {
40646
- throw new RuntimeModelError76(appUILogic, "\u6570\u636E\u6E90\u65E0\u8868\u5355\u7C7B\u578B\u5E94\u7528\u5B9E\u4F53\u5C5E\u6027\u503C");
41671
+ throw new RuntimeModelError76(
41672
+ appUILogic,
41673
+ ibiz.i18n.t("runtime.logicScheduler.executor.entityAttributeValues")
41674
+ );
40647
41675
  }
40648
41676
  const openViewRefs = appUILogic.openDataAppViews;
40649
41677
  const findView = openViewRefs == null ? void 0 : openViewRefs.find((item) => item.refMode === formTypeValue);
40650
41678
  if (!findView) {
40651
41679
  throw new RuntimeError74(
40652
- "\u6CA1\u6709\u627E\u5230\u4E0E\u8868\u5355\u7C7B\u578B".concat(formTypeValue, "\u76F8\u5173\u7684\u5B9E\u4F53\u7684\u7F16\u8F91\u89C6\u56FE")
41680
+ ibiz.i18n.t("runtime.logicScheduler.executor.editViews", {
41681
+ formTypeValue
41682
+ })
40653
41683
  );
40654
41684
  }
40655
41685
  return findView;
@@ -40687,17 +41717,20 @@ var AppUILogicExecutor = class extends LogicExecutor {
40687
41717
  if (!newViewRef) {
40688
41718
  throw new RuntimeModelError76(
40689
41719
  appUILogic,
40690
- "\u6CA1\u6709\u627E\u5230\u6279\u6DFB\u52A0\u9700\u8981\u6253\u5F00\u7684\u9009\u62E9\u89C6\u56FE"
41720
+ ibiz.i18n.t("runtime.logicScheduler.executor.selectionView")
40691
41721
  );
40692
41722
  }
40693
41723
  } else if (batchAddOnly) {
40694
- throw new ModelError34(appUILogic, "batchAddOnly\u6682\u672A\u652F\u6301");
41724
+ throw new ModelError34(
41725
+ appUILogic,
41726
+ ibiz.i18n.t("runtime.logicScheduler.executor.noSupportedBatchAddOnly")
41727
+ );
40695
41728
  } else {
40696
41729
  newViewRef = newDataAppView;
40697
41730
  if (!newViewRef || !newViewRef.refAppViewId) {
40698
41731
  throw new RuntimeModelError76(
40699
41732
  appUILogic,
40700
- "newdata\u89C6\u56FE\u903B\u8F91\u6CA1\u6709\u914D\u7F6E\u9ED8\u8BA4\u65B0\u5EFA\u6570\u636E\u89C6\u56FE"
41733
+ ibiz.i18n.t("runtime.logicScheduler.executor.newdataViewLogic")
40701
41734
  );
40702
41735
  }
40703
41736
  }
@@ -40759,7 +41792,10 @@ var AppUILogicExecutor = class extends LogicExecutor {
40759
41792
  const { wizardAppView, newDataAppViews } = appUILogic;
40760
41793
  const { context, params, ...rest } = parameters;
40761
41794
  if (!wizardAppView || !wizardAppView.refAppViewId) {
40762
- throw new RuntimeModelError76(appUILogic, "\u7F3A\u5C11\u9ED8\u8BA4\u7D22\u5F15\u5B9E\u4F53\u9009\u62E9\u89C6\u56FE");
41795
+ throw new RuntimeModelError76(
41796
+ appUILogic,
41797
+ ibiz.i18n.t("runtime.logicScheduler.executor.indexEntity")
41798
+ );
40763
41799
  }
40764
41800
  const result = await ibiz.commands.execute(
40765
41801
  OpenAppViewCommand.TAG,
@@ -40773,7 +41809,9 @@ var AppUILogicExecutor = class extends LogicExecutor {
40773
41809
  }
40774
41810
  const selectData = (_a = result.data) == null ? void 0 : _a[0];
40775
41811
  if (!selectData) {
40776
- throw new RuntimeError74("\u8BF7\u9009\u4E2D\u4E00\u6761\u6570\u636E");
41812
+ throw new RuntimeError74(
41813
+ ibiz.i18n.t("runtime.logicScheduler.executor.checkOne")
41814
+ );
40777
41815
  }
40778
41816
  const indexType = selectData.srfkey;
40779
41817
  const findView = newDataAppViews == null ? void 0 : newDataAppViews.find(
@@ -40784,7 +41822,9 @@ var AppUILogicExecutor = class extends LogicExecutor {
40784
41822
  );
40785
41823
  if (!findView) {
40786
41824
  throw new RuntimeError74(
40787
- "\u6CA1\u6709\u627E\u5230\u4E0E\u7D22\u5F15\u7C7B\u578B".concat(indexType, "\u76F8\u5173\u7684\u5B9E\u4F53\u7684\u7F16\u8F91\u89C6\u56FE")
41825
+ ibiz.i18n.t("runtime.logicScheduler.executor.entitiesAssociated", {
41826
+ indexType
41827
+ })
40788
41828
  );
40789
41829
  }
40790
41830
  return findView;
@@ -40810,7 +41850,10 @@ var AppUILogicExecutor = class extends LogicExecutor {
40810
41850
  const minorDERs = selfDe.minorAppDERSs;
40811
41851
  const pickParentDeName = newViewRef.refMode.toLowerCase();
40812
41852
  if (!minorDERs) {
40813
- throw new RuntimeModelError76(selfDe, "\u5B9E\u4F53\u6CA1\u6709\u4ECE\u5173\u7CFB\u96C6\u5408\uFF01");
41853
+ throw new RuntimeModelError76(
41854
+ selfDe,
41855
+ ibiz.i18n.t("runtime.logicScheduler.executor.relationships")
41856
+ );
40814
41857
  }
40815
41858
  let pickParentFieldName = "";
40816
41859
  minorDERs == null ? void 0 : minorDERs.forEach((item) => {
@@ -40821,7 +41864,9 @@ var AppUILogicExecutor = class extends LogicExecutor {
40821
41864
  });
40822
41865
  if (pickParentFieldName === void 0) {
40823
41866
  throw new RuntimeError74(
40824
- "\u6CA1\u6709\u627E\u5230".concat(pickParentDeName, "\u5728\u5F53\u524D\u5B9E\u4F53\u7684\u5916\u952E\u5C5E\u6027")
41867
+ ibiz.i18n.t("runtime.logicScheduler.executor.foreignKey", {
41868
+ pickParentDeName
41869
+ })
40825
41870
  );
40826
41871
  }
40827
41872
  const keyMapping = {
@@ -40839,7 +41884,10 @@ var AppUILogicExecutor = class extends LogicExecutor {
40839
41884
  }
40840
41885
  }
40841
41886
  }
40842
- ibiz.log.debug("\u6279\u91CF\u65B0\u5EFA\u8F6C\u6362\u6620\u5C04\u5C5E\u6027", keyMapping);
41887
+ ibiz.log.debug(
41888
+ ibiz.i18n.t("runtime.logicScheduler.executor.mappingProperties"),
41889
+ keyMapping
41890
+ );
40843
41891
  const addData = selections.map((item) => {
40844
41892
  const tempData = {};
40845
41893
  Object.keys(keyMapping).forEach((key) => {
@@ -40848,7 +41896,10 @@ var AppUILogicExecutor = class extends LogicExecutor {
40848
41896
  });
40849
41897
  return tempData;
40850
41898
  });
40851
- ibiz.log.debug("\u6279\u91CF\u65B0\u5EFA\u521B\u5EFA\u6570\u636E", addData);
41899
+ ibiz.log.debug(
41900
+ ibiz.i18n.t("runtime.logicScheduler.executor.newCreationData"),
41901
+ addData
41902
+ );
40852
41903
  const service = ibiz.hub.getApp(context.srfappid).deService;
40853
41904
  await service.exec(selfDe.id, "Create", context, addData);
40854
41905
  }
@@ -40914,7 +41965,7 @@ var AppDEUIActionExecutor = class extends LogicExecutor {
40914
41965
  if (!this.logic.appDEUIActionId) {
40915
41966
  throw new RuntimeModelError77(
40916
41967
  this.logic,
40917
- "\u903B\u8F91\u4E2D\u7F3A\u5C11\u89E6\u53D1\u5E94\u7528\u5B9E\u4F53\u754C\u9762\u884C\u4E3Aid"
41968
+ ibiz.i18n.t("runtime.logicScheduler.executor.missingTrigger")
40918
41969
  );
40919
41970
  }
40920
41971
  UIActionUtil.execAndResolved(
@@ -41276,6 +42327,7 @@ export {
41276
42327
  SearchFilter,
41277
42328
  SearchFormController,
41278
42329
  SearchFormService,
42330
+ ShortCutUtil,
41279
42331
  Srfuf,
41280
42332
  StudioControlEvents,
41281
42333
  StudioPanelEvents,