@ibiz-template/runtime 0.7.11 → 0.7.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/index.esm.js +1467 -415
  2. package/dist/index.system.min.js +1 -1
  3. package/out/app-hub.d.ts.map +1 -1
  4. package/out/app-hub.js +4 -4
  5. package/out/command/app/app-func/app-func.js +3 -3
  6. package/out/command/app/open-app-view/open-app-view.d.ts.map +1 -1
  7. package/out/command/app/open-app-view/open-app-view.js +6 -4
  8. package/out/constant/sys-uiaction-tag.d.ts +5 -1
  9. package/out/constant/sys-uiaction-tag.d.ts.map +1 -1
  10. package/out/constant/sys-uiaction-tag.js +4 -0
  11. package/out/controller/common/editor/code-list-editor.controller.js +1 -1
  12. package/out/controller/common/view/view.controller.d.ts +7 -0
  13. package/out/controller/common/view/view.controller.d.ts.map +1 -1
  14. package/out/controller/common/view/view.controller.js +18 -1
  15. package/out/controller/control/app-menu/app-menu.controller.js +1 -1
  16. package/out/controller/control/app-menu-icon-view/app-menu-icon-view.controller.js +1 -1
  17. package/out/controller/control/calendar/calendar.service.js +2 -2
  18. package/out/controller/control/chart/chart.controller.js +2 -2
  19. package/out/controller/control/chart/generator/bar-series-generator.js +2 -2
  20. package/out/controller/control/chart/generator/chart-options-generator.js +2 -2
  21. package/out/controller/control/chart/generator/line-series-generator.js +2 -2
  22. package/out/controller/control/chart/generator/scatter-series-generator.js +2 -2
  23. package/out/controller/control/dashboard/custom-dashboard.controller.d.ts +2 -2
  24. package/out/controller/control/dashboard/custom-dashboard.controller.d.ts.map +1 -1
  25. package/out/controller/control/data-view/data-view.controller.js +2 -2
  26. package/out/controller/control/exp-bar/tree-exp-bar.controller.js +1 -1
  27. package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-md.controller.js +1 -1
  28. package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.js +1 -1
  29. package/out/controller/control/gantt/gantt.controller.js +2 -2
  30. package/out/controller/control/gantt/gantt.service.js +1 -1
  31. package/out/controller/control/grid/grid/grid.controller.js +4 -4
  32. package/out/controller/control/grid/grid-column/grid-field-column/grid-field-column.controller.js +1 -1
  33. package/out/controller/control/kanban/kanban.controller.js +2 -2
  34. package/out/controller/control/md-ctrl/md-ctrl.controller.js +2 -2
  35. package/out/controller/control/report-panel/generator/generator-factory.js +1 -1
  36. package/out/controller/control/search-bar/search-bar-filter-items.controller.js +1 -1
  37. package/out/controller/control/toolbar/toolbar.controllerr.js +1 -1
  38. package/out/controller/control/tree/tree.controller.js +2 -2
  39. package/out/controller/control/tree/tree.service.js +1 -1
  40. package/out/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.js +2 -2
  41. package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +2 -2
  42. package/out/controller/utils/data-file-util/data-file-util.js +1 -1
  43. package/out/controller/utils/value-default/value-default.js +2 -2
  44. package/out/controller/utils/view-msg/view-msg-controller.d.ts.map +1 -1
  45. package/out/controller/utils/view-msg/view-msg-controller.js +2 -2
  46. package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.d.ts.map +1 -1
  47. package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.js +6 -3
  48. package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.d.ts.map +1 -1
  49. package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.js +10 -4
  50. package/out/de-logic/de-logic-node/append-param-node/append-param-node.d.ts.map +1 -1
  51. package/out/de-logic/de-logic-node/append-param-node/append-param-node.js +4 -2
  52. package/out/de-logic/de-logic-node/bind-param-node/bind-param-node.d.ts.map +1 -1
  53. package/out/de-logic/de-logic-node/bind-param-node/bind-param-node.js +5 -2
  54. package/out/de-logic/de-logic-node/copy-param-node/copy-param-node.d.ts.map +1 -1
  55. package/out/de-logic/de-logic-node/copy-param-node/copy-param-node.js +5 -2
  56. package/out/de-logic/de-logic-node/data-set-node/data-set-node.d.ts.map +1 -1
  57. package/out/de-logic/de-logic-node/data-set-node/data-set-node.js +6 -1
  58. package/out/de-logic/de-logic-node/de-action-node/de-action-node.d.ts.map +1 -1
  59. package/out/de-logic/de-logic-node/de-action-node/de-action-node.js +8 -3
  60. package/out/de-logic/de-logic-node/end-node/end-node.d.ts.map +1 -1
  61. package/out/de-logic/de-logic-node/end-node/end-node.js +7 -2
  62. package/out/de-logic/de-logic-node/prepare-param-node/prepare-param-node.d.ts.map +1 -1
  63. package/out/de-logic/de-logic-node/prepare-param-node/prepare-param-node.js +8 -2
  64. package/out/de-logic/de-logic-node/renew-param-node/renew-param-node.d.ts.map +1 -1
  65. package/out/de-logic/de-logic-node/renew-param-node/renew-param-node.js +5 -2
  66. package/out/de-logic/de-logic-node/reset-param-node/reset-param-node.d.ts.map +1 -1
  67. package/out/de-logic/de-logic-node/reset-param-node/reset-param-node.js +5 -2
  68. package/out/de-logic/de-logic-node/sort-param-node/sort-param-node.d.ts.map +1 -1
  69. package/out/de-logic/de-logic-node/sort-param-node/sort-param-node.js +7 -2
  70. package/out/de-logic/de-logic-node/start-node/start-node.d.ts.map +1 -1
  71. package/out/de-logic/de-logic-node/start-node/start-node.js +3 -1
  72. package/out/de-logic/de-logic-node/throw-exception-node/throw-exception-node.d.ts.map +1 -1
  73. package/out/de-logic/de-logic-node/throw-exception-node/throw-exception-node.js +5 -1
  74. package/out/de-logic/de-logic-param/de-logic-param.d.ts.map +1 -1
  75. package/out/de-logic/de-logic-param/de-logic-param.js +10 -10
  76. package/out/de-logic/de-logic.d.ts.map +1 -1
  77. package/out/de-logic/de-logic.js +6 -4
  78. package/out/de-logic/index.d.ts.map +1 -1
  79. package/out/de-logic/index.js +12 -3
  80. package/out/de-logic/utils/handle-src-val.d.ts.map +1 -1
  81. package/out/de-logic/utils/handle-src-val.js +7 -3
  82. package/out/engine/engine-factory.d.ts.map +1 -1
  83. package/out/engine/engine-factory.js +1 -1
  84. package/out/engine/md-view.engine.d.ts.map +1 -1
  85. package/out/engine/md-view.engine.js +3 -3
  86. package/out/engine/view-base.engine.d.ts +1 -0
  87. package/out/engine/view-base.engine.d.ts.map +1 -1
  88. package/out/engine/view-base.engine.js +42 -5
  89. package/out/global/global-util/global-util.d.ts +9 -1
  90. package/out/global/global-util/global-util.d.ts.map +1 -1
  91. package/out/global/global-util/global-util.js +11 -3
  92. package/out/hub/config/app-view-config-service.js +2 -2
  93. package/out/interface/controller/state/view/i-view.state.d.ts +7 -0
  94. package/out/interface/controller/state/view/i-view.state.d.ts.map +1 -1
  95. package/out/interface/service/service/i-auth.service.d.ts +1 -1
  96. package/out/interface/service/service/i-auth.service.d.ts.map +1 -1
  97. package/out/interface/util/i-short-cut/i-short-cut.d.ts +58 -0
  98. package/out/interface/util/i-short-cut/i-short-cut.d.ts.map +1 -0
  99. package/out/interface/util/i-short-cut/i-short-cut.js +1 -0
  100. package/out/interface/util/index.d.ts +1 -0
  101. package/out/interface/util/index.d.ts.map +1 -1
  102. package/out/logic-scheduler/executor/app-de-ui-logic-executor.d.ts.map +1 -1
  103. package/out/logic-scheduler/executor/app-de-ui-logic-executor.js +1 -1
  104. package/out/logic-scheduler/executor/app-ui-action-executor.js +1 -1
  105. package/out/logic-scheduler/executor/app-ui-logic-executor.d.ts.map +1 -1
  106. package/out/logic-scheduler/executor/app-ui-logic-executor.js +24 -16
  107. package/out/logic-scheduler/executor/logic-executor-factory.d.ts.map +1 -1
  108. package/out/logic-scheduler/executor/logic-executor-factory.js +3 -1
  109. package/out/logic-scheduler/executor/logic-executor.d.ts.map +1 -1
  110. package/out/logic-scheduler/executor/logic-executor.js +1 -1
  111. package/out/logic-scheduler/trigger/item-dyna-logic-trigger.js +1 -1
  112. package/out/logic-scheduler/trigger/logic-trigger-factory.d.ts.map +1 -1
  113. package/out/logic-scheduler/trigger/logic-trigger-factory.js +3 -1
  114. package/out/logic-scheduler/trigger/logic-trigger.d.ts.map +1 -1
  115. package/out/logic-scheduler/trigger/logic-trigger.js +3 -1
  116. package/out/logic-scheduler/trigger/timer-trigger.d.ts.map +1 -1
  117. package/out/logic-scheduler/trigger/timer-trigger.js +2 -2
  118. package/out/model/utils/util.d.ts.map +1 -1
  119. package/out/model/utils/util.js +3 -3
  120. package/out/model/view/view.d.ts.map +1 -1
  121. package/out/model/view/view.js +3 -1
  122. package/out/platform/provider/platform-provider-base.d.ts.map +1 -1
  123. package/out/platform/provider/platform-provider-base.js +4 -4
  124. package/out/register/helper/app-counter-register.d.ts.map +1 -1
  125. package/out/register/helper/app-counter-register.js +7 -3
  126. package/out/register/helper/app-menu-item-register.d.ts.map +1 -1
  127. package/out/register/helper/app-menu-item-register.js +3 -1
  128. package/out/register/helper/async-action-register.d.ts.map +1 -1
  129. package/out/register/helper/async-action-register.js +3 -1
  130. package/out/register/helper/common-register.d.ts.map +1 -1
  131. package/out/register/helper/common-register.js +3 -1
  132. package/out/register/helper/control-register.d.ts.map +1 -1
  133. package/out/register/helper/control-register.js +13 -4
  134. package/out/register/helper/de-method-register.d.ts.map +1 -1
  135. package/out/register/helper/de-method-register.js +6 -2
  136. package/out/register/helper/editor-register.d.ts.map +1 -1
  137. package/out/register/helper/editor-register.js +14 -4
  138. package/out/register/helper/form-detail-register.d.ts.map +1 -1
  139. package/out/register/helper/form-detail-register.js +9 -3
  140. package/out/register/helper/grid-column-register.d.ts.map +1 -1
  141. package/out/register/helper/grid-column-register.js +9 -3
  142. package/out/register/helper/internal-message-register.d.ts.map +1 -1
  143. package/out/register/helper/internal-message-register.js +3 -1
  144. package/out/register/helper/panel-item-register.d.ts.map +1 -1
  145. package/out/register/helper/panel-item-register.js +17 -5
  146. package/out/register/helper/portlet-register.d.ts.map +1 -1
  147. package/out/register/helper/portlet-register.js +6 -2
  148. package/out/register/helper/tree-grid-ex-column-register.d.ts.map +1 -1
  149. package/out/register/helper/tree-grid-ex-column-register.js +6 -2
  150. package/out/register/helper/ui-action-register.d.ts.map +1 -1
  151. package/out/register/helper/ui-action-register.js +6 -2
  152. package/out/register/helper/ui-logic-node-register.d.ts.map +1 -1
  153. package/out/register/helper/ui-logic-node-register.js +3 -1
  154. package/out/register/helper/view-register.d.ts.map +1 -1
  155. package/out/register/helper/view-register.js +7 -2
  156. package/out/service/app-data-entity/app-data-entity.d.ts.map +1 -1
  157. package/out/service/app-data-entity/app-data-entity.js +9 -3
  158. package/out/service/de-service-util.js +1 -1
  159. package/out/service/dto/method.dto.d.ts.map +1 -1
  160. package/out/service/dto/method.dto.js +4 -2
  161. package/out/service/service/auth/v7-auth.service.d.ts +1 -1
  162. package/out/service/service/auth/v7-auth.service.d.ts.map +1 -1
  163. package/out/service/service/auth/v7-auth.service.js +5 -5
  164. package/out/service/service/authority/authority.service.js +1 -1
  165. package/out/service/service/authority/de-authority.service.d.ts.map +1 -1
  166. package/out/service/service/authority/de-authority.service.js +13 -6
  167. package/out/service/service/code-list/code-list.service.d.ts.map +1 -1
  168. package/out/service/service/code-list/code-list.service.js +2 -2
  169. package/out/service/service/counter/counter.service.d.ts.map +1 -1
  170. package/out/service/service/counter/counter.service.js +1 -1
  171. package/out/service/service/entity/de.service.d.ts.map +1 -1
  172. package/out/service/service/entity/de.service.js +12 -4
  173. package/out/service/service/entity/method/de-action.d.ts.map +1 -1
  174. package/out/service/service/entity/method/de-action.js +10 -5
  175. package/out/service/service/entity/method/fetch.d.ts.map +1 -1
  176. package/out/service/service/entity/method/fetch.js +4 -2
  177. package/out/service/service/entity/method/method.d.ts.map +1 -1
  178. package/out/service/service/entity/method/method.js +3 -3
  179. package/out/service/service/util/util.service.d.ts.map +1 -1
  180. package/out/service/service/util/util.service.js +6 -3
  181. package/out/service/service/work-flow/work-flow.service.d.ts.map +1 -1
  182. package/out/service/service/work-flow/work-flow.service.js +1 -1
  183. package/out/service/utils/app-counter/app-counter.js +1 -1
  184. package/out/service/utils/app-counter/app-de-counter.d.ts.map +1 -1
  185. package/out/service/utils/app-counter/app-de-counter.js +1 -1
  186. package/out/service/utils/de-cache/de-cache.d.ts.map +1 -1
  187. package/out/service/utils/de-cache/de-cache.js +18 -6
  188. package/out/service/utils/de-dq-cond/ps-de-dq-cond-engine.d.ts.map +1 -1
  189. package/out/service/utils/de-dq-cond/ps-de-dq-cond-engine.js +3 -3
  190. package/out/service/utils/de-dq-cond/ps-model-group-cond-base.js +1 -1
  191. package/out/service/utils/de-dq-cond-util/de-dq-cond-util.d.ts.map +1 -1
  192. package/out/service/utils/de-dq-cond-util/de-dq-cond-util.js +3 -1
  193. package/out/service/utils/dynamic-code-list/dynamic-code-list.d.ts.map +1 -1
  194. package/out/service/utils/dynamic-code-list/dynamic-code-list.js +4 -4
  195. package/out/service/utils/service-exist-util/service-exist-util.d.ts.map +1 -1
  196. package/out/service/utils/service-exist-util/service-exist-util.js +2 -2
  197. package/out/service/vo/tree-node-data/tree-data-set-node-data.d.ts.map +1 -1
  198. package/out/service/vo/tree-node-data/tree-data-set-node-data.js +1 -1
  199. package/out/service/vo/ui-map-field.d.ts.map +1 -1
  200. package/out/service/vo/ui-map-field.js +3 -1
  201. package/out/ui-action/provider/backend-ui-action-provider.d.ts.map +1 -1
  202. package/out/ui-action/provider/backend-ui-action-provider.js +1 -1
  203. package/out/ui-action/provider/front-ui-action-provider.d.ts +1 -1
  204. package/out/ui-action/provider/front-ui-action-provider.d.ts.map +1 -1
  205. package/out/ui-action/provider/front-ui-action-provider.js +20 -13
  206. package/out/ui-action/provider/loginout-ui-action-provider.js +2 -2
  207. package/out/ui-action/provider/ui-action-provider-base.d.ts.map +1 -1
  208. package/out/ui-action/provider/ui-action-provider-base.js +7 -4
  209. package/out/ui-action/provider/wf-withdraw-ui-action-provider.js +2 -2
  210. package/out/ui-action/uiaction-util.d.ts.map +1 -1
  211. package/out/ui-action/uiaction-util.js +1 -1
  212. package/out/ui-logic/index.d.ts.map +1 -1
  213. package/out/ui-logic/index.js +12 -3
  214. package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.d.ts.map +1 -1
  215. package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.js +6 -3
  216. package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.d.ts.map +1 -1
  217. package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.js +10 -4
  218. package/out/ui-logic/ui-logic-link/ui-logic-link.d.ts.map +1 -1
  219. package/out/ui-logic/ui-logic-link/ui-logic-link.js +4 -4
  220. package/out/ui-logic/ui-logic-node/append-param-node/append-param-node.js +2 -2
  221. package/out/ui-logic/ui-logic-node/bind-param-node/bind-param-node.d.ts.map +1 -1
  222. package/out/ui-logic/ui-logic-node/bind-param-node/bind-param-node.js +5 -2
  223. package/out/ui-logic/ui-logic-node/copy-param-node/copy-param-node.d.ts.map +1 -1
  224. package/out/ui-logic/ui-logic-node/copy-param-node/copy-param-node.js +5 -2
  225. package/out/ui-logic/ui-logic-node/data-set-node/data-set-node.d.ts.map +1 -1
  226. package/out/ui-logic/ui-logic-node/data-set-node/data-set-node.js +7 -2
  227. package/out/ui-logic/ui-logic-node/de-action-node/de-action-node.d.ts.map +1 -1
  228. package/out/ui-logic/ui-logic-node/de-action-node/de-action-node.js +8 -3
  229. package/out/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.d.ts.map +1 -1
  230. package/out/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.js +7 -2
  231. package/out/ui-logic/ui-logic-node/debug-param-node/debug-param-node.d.ts.map +1 -1
  232. package/out/ui-logic/ui-logic-node/debug-param-node/debug-param-node.js +2 -2
  233. package/out/ui-logic/ui-logic-node/end-node/end-node.d.ts.map +1 -1
  234. package/out/ui-logic/ui-logic-node/end-node/end-node.js +5 -2
  235. package/out/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.d.ts.map +1 -1
  236. package/out/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.js +10 -5
  237. package/out/ui-logic/ui-logic-node/msg-box-node/msg-box-node.d.ts.map +1 -1
  238. package/out/ui-logic/ui-logic-node/msg-box-node/msg-box-node.js +16 -10
  239. package/out/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.d.ts.map +1 -1
  240. package/out/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.js +4 -1
  241. package/out/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.d.ts.map +1 -1
  242. package/out/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.js +10 -4
  243. package/out/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.d.ts.map +1 -1
  244. package/out/ui-logic/ui-logic-node/raw-js-code-node/raw-js-code-node.js +3 -1
  245. package/out/ui-logic/ui-logic-node/renew-param-node/renew-param-node.d.ts.map +1 -1
  246. package/out/ui-logic/ui-logic-node/renew-param-node/renew-param-node.js +5 -2
  247. package/out/ui-logic/ui-logic-node/reset-param-node/reset-param-node.d.ts.map +1 -1
  248. package/out/ui-logic/ui-logic-node/reset-param-node/reset-param-node.js +5 -2
  249. package/out/ui-logic/ui-logic-node/sort-param-node/sort-param-node.d.ts.map +1 -1
  250. package/out/ui-logic/ui-logic-node/sort-param-node/sort-param-node.js +7 -2
  251. package/out/ui-logic/ui-logic-node/start-node/start-node.d.ts.map +1 -1
  252. package/out/ui-logic/ui-logic-node/start-node/start-node.js +3 -1
  253. package/out/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.d.ts.map +1 -1
  254. package/out/ui-logic/ui-logic-node/throw-exception-node/throw-exception-node.js +4 -1
  255. package/out/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.d.ts.map +1 -1
  256. package/out/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.js +12 -6
  257. package/out/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.d.ts.map +1 -1
  258. package/out/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.js +17 -7
  259. package/out/ui-logic/ui-logic-param/ui-logic-param.d.ts.map +1 -1
  260. package/out/ui-logic/ui-logic-param/ui-logic-param.js +10 -4
  261. package/out/ui-logic/ui-logic.d.ts.map +1 -1
  262. package/out/ui-logic/ui-logic.js +5 -3
  263. package/out/ui-logic/utils/handle-src-val.d.ts.map +1 -1
  264. package/out/ui-logic/utils/handle-src-val.js +6 -2
  265. package/out/utils/anime/anime-element-util.js +1 -1
  266. package/out/utils/anime/anime-util/anime-util.d.ts.map +1 -1
  267. package/out/utils/anime/anime-util/anime-util.js +2 -2
  268. package/out/utils/error-handler/default-error-handler.d.ts.map +1 -1
  269. package/out/utils/error-handler/default-error-handler.js +1 -1
  270. package/out/utils/error-handler/error-handler-center.d.ts.map +1 -1
  271. package/out/utils/error-handler/error-handler-center.js +1 -1
  272. package/out/utils/file-util/file-util.d.ts.map +1 -1
  273. package/out/utils/file-util/file-util.js +3 -3
  274. package/out/utils/handlebars/handlebars.js +1 -1
  275. package/out/utils/index.d.ts +1 -0
  276. package/out/utils/index.d.ts.map +1 -1
  277. package/out/utils/index.js +1 -0
  278. package/out/utils/modal/modal.d.ts.map +1 -1
  279. package/out/utils/modal/modal.js +2 -2
  280. package/out/utils/open-redirect-view/open-redirect-view.d.ts.map +1 -1
  281. package/out/utils/open-redirect-view/open-redirect-view.js +22 -9
  282. package/out/utils/script/script-function.d.ts.map +1 -1
  283. package/out/utils/script/script-function.js +1 -1
  284. package/out/utils/short-cut/index.d.ts +2 -0
  285. package/out/utils/short-cut/index.d.ts.map +1 -0
  286. package/out/utils/short-cut/index.js +1 -0
  287. package/out/utils/short-cut/short-cut-util.d.ts +89 -0
  288. package/out/utils/short-cut/short-cut-util.d.ts.map +1 -0
  289. package/out/utils/short-cut/short-cut-util.js +141 -0
  290. package/out/utils/ui-domain/transaction.js +2 -2
  291. package/out/utils/ui-domain-manager/ui-domain-manager.d.ts.map +1 -1
  292. package/out/utils/ui-domain-manager/ui-domain-manager.js +3 -1
  293. package/out/utils/verify/de-rule-verify.js +11 -11
  294. package/out/utils/verify/form-dynamic-logic.d.ts.map +1 -1
  295. package/out/utils/verify/form-dynamic-logic.js +4 -2
  296. package/out/utils/verify/panel-dynamic-logic.d.ts.map +1 -1
  297. package/out/utils/verify/panel-dynamic-logic.js +4 -2
  298. package/out/utils/verify/verify.d.ts.map +1 -1
  299. package/out/utils/verify/verify.js +3 -3
  300. package/package.json +1 -1
@@ -44,7 +44,9 @@ export class UIDomainManager {
44
44
  if (this.domainMap.has(id)) {
45
45
  return this.domainMap.get(id);
46
46
  }
47
- throw new Error(`无效的界面域标识[${id}]`);
47
+ throw new Error(ibiz.i18n.t('runtime.utils.uiDomainManager.invalidInterfaceDomain', {
48
+ id,
49
+ }));
48
50
  }
49
51
  /**
50
52
  * 销毁域
@@ -147,7 +147,7 @@ function checkFieldSimpleRule(value, op, value2, errorInfo, paramType, form, pri
147
147
  value2 = _value2Field;
148
148
  }
149
149
  if (isNil(errorInfo) || isEmpty(errorInfo)) {
150
- errorInfo = '内容必须符合值规则';
150
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.contentConform');
151
151
  }
152
152
  const result = testCond(value, op, value2);
153
153
  if (!result) {
@@ -173,14 +173,14 @@ function checkFieldSimpleRule(value, op, value2, errorInfo, paramType, form, pri
173
173
  */
174
174
  function checkFieldStringLengthRule(viewValue, minLength, indexOfMin, maxLength, indexOfMax, errorInfo, primaryModel) {
175
175
  if (isNilOrEmpty(errorInfo)) {
176
- errorInfo = '内容长度必须符合范围规则';
176
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.scopeRules');
177
177
  }
178
178
  const judge = isNilOrEmpty(viewValue);
179
179
  if (judge) {
180
180
  if (primaryModel) {
181
- throw new RuntimeError('值为空');
181
+ throw new RuntimeError(ibiz.i18n.t('runtime.utils.verify.valueNull'));
182
182
  }
183
- errorInfo = '值为空';
183
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.valueNull');
184
184
  return true;
185
185
  }
186
186
  const viewValueLength = viewValue.length;
@@ -234,14 +234,14 @@ function checkFieldStringLengthRule(viewValue, minLength, indexOfMin, maxLength,
234
234
  */
235
235
  function checkFieldRegExRule(viewValue, strReg, errorInfo, primaryModel) {
236
236
  if (isNilOrEmpty(errorInfo)) {
237
- errorInfo = '值必须符合正则规则';
237
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.regularRules');
238
238
  }
239
239
  const judge = isNilOrEmpty(viewValue);
240
240
  if (judge) {
241
241
  if (primaryModel) {
242
- throw new RuntimeError('值为空');
242
+ throw new RuntimeError(ibiz.i18n.t('runtime.utils.verify.valueNull'));
243
243
  }
244
- errorInfo = '值为空';
244
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.valueNull');
245
245
  return true;
246
246
  }
247
247
  const regExp = new RegExp(strReg);
@@ -270,14 +270,14 @@ function checkFieldRegExRule(viewValue, strReg, errorInfo, primaryModel) {
270
270
  */
271
271
  function checkFieldValueRangeRule(viewValue, minNumber, indexOfMin, maxNumber, indexOfMax, errorInfo, primaryModel) {
272
272
  if (isNilOrEmpty(errorInfo)) {
273
- errorInfo = '值必须符合值范围规则';
273
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.rangeRules');
274
274
  }
275
275
  const isEmptyVal = isNilOrEmpty(viewValue);
276
276
  if (isEmptyVal) {
277
277
  if (primaryModel) {
278
- throw new RuntimeError('值为空');
278
+ throw new RuntimeError(ibiz.i18n.t('runtime.utils.verify.valueNull'));
279
279
  }
280
- errorInfo = '值为空';
280
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.valueNull');
281
281
  return true;
282
282
  }
283
283
  const valueFormat = checkFieldRegExRule(viewValue, /^-?\d*\.?\d+$/, '', primaryModel);
@@ -336,7 +336,7 @@ function checkFieldValueRangeRule(viewValue, minNumber, indexOfMin, maxNumber, i
336
336
  */
337
337
  function checkFieldScriptRule(value, data, scriptCode, errorInfo, primaryModel) {
338
338
  if (isNilOrEmpty(errorInfo)) {
339
- errorInfo = '值必须符合脚本规则';
339
+ errorInfo = ibiz.i18n.t('runtime.utils.verify.scriptRules');
340
340
  }
341
341
  // 脚本准备参数
342
342
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -1 +1 @@
1
- {"version":3,"file":"form-dynamic-logic.d.ts","sourceRoot":"","sources":["../../../src/utils/verify/form-dynamic-logic.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEX,MAAM,kBAAkB,CAAC;AAW1B;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAwC5E"}
1
+ {"version":3,"file":"form-dynamic-logic.d.ts","sourceRoot":"","sources":["../../../src/utils/verify/form-dynamic-logic.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEX,MAAM,kBAAkB,CAAC;AAW1B;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAgD5E"}
@@ -21,7 +21,7 @@ export function verifyFormGroupLogic(data, logic) {
21
21
  // 检查是否有逻辑项
22
22
  const children = logic.defdlogics;
23
23
  if (!children || children.length === 0) {
24
- throw new RuntimeModelError(logic, '发现空逻辑组,逻辑无法正常执行!');
24
+ throw new RuntimeModelError(logic, ibiz.i18n.t('runtime.utils.verify.emptyLogicGroups'));
25
25
  }
26
26
  let result = true;
27
27
  if (logic.groupOP === 'AND') {
@@ -45,5 +45,7 @@ export function verifyFormGroupLogic(data, logic) {
45
45
  if (isSingleLogic(logic)) {
46
46
  return testCond(data[logic.defdname.toLowerCase()], logic.condOP, logic.value);
47
47
  }
48
- throw new ModelError(logic, `未支持的逻辑类型${logic.logicType}`);
48
+ throw new ModelError(logic, ibiz.i18n.t('runtime.utils.verify.unsupportedLogicTypes', {
49
+ logicType: logic.logicType,
50
+ }));
49
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"panel-dynamic-logic.d.ts","sourceRoot":"","sources":["../../../src/utils/verify/panel-dynamic-logic.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAGhB,MAAM,kBAAkB,CAAC;AAW1B;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,eAAe,GACrB,OAAO,CAwCT"}
1
+ {"version":3,"file":"panel-dynamic-logic.d.ts","sourceRoot":"","sources":["../../../src/utils/verify/panel-dynamic-logic.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAGhB,MAAM,kBAAkB,CAAC;AAW1B;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,eAAe,GACrB,OAAO,CAgDT"}
@@ -21,7 +21,7 @@ export function verifyPanelGroupLogic(data, logic) {
21
21
  // 检查是否有逻辑项
22
22
  const children = logic.panelItemLogics;
23
23
  if (!children || children.length === 0) {
24
- throw new RuntimeModelError(logic, '发现空逻辑组,逻辑无法正常执行!');
24
+ throw new RuntimeModelError(logic, ibiz.i18n.t('runtime.utils.verify.emptyLogicGroupsProperly'));
25
25
  }
26
26
  let result = true;
27
27
  if (logic.groupOP === 'AND') {
@@ -45,5 +45,7 @@ export function verifyPanelGroupLogic(data, logic) {
45
45
  if (isSingleLogic(logic)) {
46
46
  return testCond(data[logic.dstModelField.toLowerCase()], logic.condOp, logic.value);
47
47
  }
48
- throw new ModelError(logic, `未支持的逻辑类型${logic.logicType}`);
48
+ throw new ModelError(logic, ibiz.i18n.t('runtime.utils.verify.unsupportedLogicTypes', {
49
+ logicType: logic.logicType,
50
+ }));
49
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"verify.d.ts","sourceRoot":"","sources":["../../../src/utils/verify/verify.ts"],"names":[],"mappings":"AAIA,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;AAErE;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,SAAS,EAChB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,SAAS,GAChB,OAAO,CAkET;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,MAAM,CAgBnE;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAcnE;AAED;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAUrE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,SAAS,EACjB,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,GACrB,OAAO,CAoBT"}
1
+ {"version":3,"file":"verify.d.ts","sourceRoot":"","sources":["../../../src/utils/verify/verify.ts"],"names":[],"mappings":"AAIA,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;AAErE;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,SAAS,EAChB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,SAAS,GAChB,OAAO,CAoET;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,MAAM,CAkBnE;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAcnE;AAED;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAYrE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,SAAS,EACjB,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,GACrB,OAAO,CAoBT"}
@@ -71,7 +71,7 @@ export function testCond(value, op, value2) {
71
71
  return strContain(value, value2, 'end');
72
72
  default:
73
73
  // todo 自定义包含,位与操作,子数据(递归)
74
- throw new RuntimeError(`值操作:${op},暂未支持`);
74
+ throw new RuntimeError(ibiz.i18n.t('runtime.utils.verify.valueOperations', { op }));
75
75
  }
76
76
  }
77
77
  /**
@@ -99,7 +99,7 @@ export function compare(value, value2) {
99
99
  if (!Number.isNaN(date1) && !Number.isNaN(date2)) {
100
100
  return compareNumber(date1, date2);
101
101
  }
102
- throw new RuntimeError(`${value} ${value2} 无法比较大小`);
102
+ throw new RuntimeError(ibiz.i18n.t('runtime.utils.verify.noCompared', { value, value2 }));
103
103
  }
104
104
  /**
105
105
  * 数值比较
@@ -136,7 +136,7 @@ export function compareNumber(value, value2) {
136
136
  */
137
137
  export function contains(value, value2) {
138
138
  if (!value2 || typeof value2 !== 'string') {
139
- throw new RuntimeError('范围比较的条件值不存或者不是字符串');
139
+ throw new RuntimeError(ibiz.i18n.t('runtime.utils.verify.conditionalValues'));
140
140
  }
141
141
  if (value) {
142
142
  // 定义一数组
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/runtime",
3
- "version": "0.7.11",
3
+ "version": "0.7.12",
4
4
  "description": "控制器包",
5
5
  "type": "module",
6
6
  "main": "out/index.js",