@ibiz-template/runtime 0.0.4-beta.3 → 0.0.4-beta.5

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 (774) hide show
  1. package/dist/index.esm.js +4995 -4861
  2. package/dist/index.system.min.js +1 -1
  3. package/out/app-hub.d.ts +2 -1
  4. package/out/app-hub.d.ts.map +1 -1
  5. package/out/app-hub.js +28 -1
  6. package/out/application.d.ts +11 -2
  7. package/out/application.d.ts.map +1 -1
  8. package/out/application.js +29 -2
  9. package/out/config/global-config.d.ts +1 -1
  10. package/out/config/global-config.d.ts.map +1 -1
  11. package/out/constant/control-type.d.ts.map +1 -0
  12. package/out/constant/index.d.ts +3 -2
  13. package/out/constant/index.d.ts.map +1 -1
  14. package/out/constant/index.js +3 -2
  15. package/out/constant/sys-uiaction-tag.d.ts +74 -0
  16. package/out/constant/sys-uiaction-tag.d.ts.map +1 -0
  17. package/out/constant/sys-uiaction-tag.js +75 -0
  18. package/out/constant/view-type.d.ts.map +1 -0
  19. package/out/controller/common/base.controller.d.ts +13 -14
  20. package/out/controller/common/base.controller.d.ts.map +1 -1
  21. package/out/controller/common/base.controller.js +15 -10
  22. package/out/controller/{control/control.d.ts → common/control/control.controller.d.ts} +9 -14
  23. package/out/controller/common/control/control.controller.d.ts.map +1 -0
  24. package/out/controller/{control/control.js → common/control/control.controller.js} +6 -12
  25. package/out/controller/common/control/index.d.ts +3 -0
  26. package/out/controller/common/control/index.d.ts.map +1 -0
  27. package/out/controller/common/control/index.js +2 -0
  28. package/out/controller/common/control/md/index.d.ts +3 -0
  29. package/out/controller/common/control/md/index.d.ts.map +1 -0
  30. package/out/controller/common/control/md/index.js +2 -0
  31. package/out/controller/{control → common/control}/md/md-item.d.ts +2 -2
  32. package/out/controller/common/control/md/md-item.d.ts.map +1 -0
  33. package/out/controller/{control/md/md.d.ts → common/control/md/md.controller.d.ts} +10 -8
  34. package/out/controller/common/control/md/md.controller.d.ts.map +1 -0
  35. package/out/controller/{control/md/md.js → common/control/md/md.controller.js} +3 -3
  36. package/out/controller/common/{editor.controller.d.ts → editor/editor.controller.d.ts} +2 -1
  37. package/out/controller/common/editor/editor.controller.d.ts.map +1 -0
  38. package/out/controller/common/{editor.controller.js → editor/editor.controller.js} +1 -1
  39. package/out/controller/common/index.d.ts +3 -2
  40. package/out/controller/common/index.d.ts.map +1 -1
  41. package/out/controller/common/index.js +3 -2
  42. package/out/controller/common/view/view.controller.d.ts +57 -0
  43. package/out/controller/common/view/view.controller.d.ts.map +1 -0
  44. package/out/controller/common/view/view.controller.js +150 -0
  45. package/out/controller/ctx/ctx.d.ts +11 -11
  46. package/out/controller/ctx/ctx.d.ts.map +1 -1
  47. package/out/controller/ctx/ctx.js +3 -3
  48. package/out/controller/index.d.ts +0 -1
  49. package/out/controller/index.d.ts.map +1 -1
  50. package/out/controller/index.js +0 -1
  51. package/out/controller/interface/common/button-state/i-button-container-state.d.ts +3 -1
  52. package/out/controller/interface/common/button-state/i-button-container-state.d.ts.map +1 -1
  53. package/out/controller/interface/common/button-state/i-button-state.d.ts +3 -33
  54. package/out/controller/interface/common/button-state/i-button-state.d.ts.map +1 -1
  55. package/out/controller/interface/common/index.d.ts +0 -2
  56. package/out/controller/interface/common/index.d.ts.map +1 -1
  57. package/out/controller/interface/common/index.js +0 -2
  58. package/out/controller/interface/controller/control/i-app-menu-controller.d.ts +12 -0
  59. package/out/controller/interface/controller/control/i-app-menu-controller.d.ts.map +1 -0
  60. package/out/controller/interface/controller/control/i-control-controller.d.ts +21 -0
  61. package/out/controller/interface/controller/control/i-control-controller.d.ts.map +1 -0
  62. package/out/controller/interface/controller/control/i-form-controller.d.ts +12 -0
  63. package/out/controller/interface/controller/control/i-form-controller.d.ts.map +1 -0
  64. package/out/controller/interface/controller/control/i-grid-controller.d.ts +12 -0
  65. package/out/controller/interface/controller/control/i-grid-controller.d.ts.map +1 -0
  66. package/out/controller/interface/controller/control/i-md-controller.d.ts +12 -0
  67. package/out/controller/interface/controller/control/i-md-controller.d.ts.map +1 -0
  68. package/out/controller/interface/controller/control/i-panel-controller.d.ts +12 -0
  69. package/out/controller/interface/controller/control/i-panel-controller.d.ts.map +1 -0
  70. package/out/controller/interface/controller/control/i-search-form-controller.d.ts +12 -0
  71. package/out/controller/interface/controller/control/i-search-form-controller.d.ts.map +1 -0
  72. package/out/controller/interface/controller/control/i-toolbar-controller.d.ts +24 -0
  73. package/out/controller/interface/controller/control/i-toolbar-controller.d.ts.map +1 -0
  74. package/out/controller/interface/controller/control/i-view-layout-panel-controller.d.ts +12 -0
  75. package/out/controller/interface/controller/control/i-view-layout-panel-controller.d.ts.map +1 -0
  76. package/out/controller/interface/controller/control/index.d.ts +10 -0
  77. package/out/controller/interface/controller/control/index.d.ts.map +1 -0
  78. package/out/controller/interface/controller/control/index.js +9 -0
  79. package/out/controller/interface/controller/editor/i-editor-controller.d.ts +10 -0
  80. package/out/controller/interface/controller/editor/i-editor-controller.d.ts.map +1 -0
  81. package/out/controller/interface/controller/i-controller.d.ts +47 -1
  82. package/out/controller/interface/controller/i-controller.d.ts.map +1 -1
  83. package/out/controller/interface/controller/index.d.ts +3 -0
  84. package/out/controller/interface/controller/index.d.ts.map +1 -1
  85. package/out/controller/interface/controller/index.js +3 -0
  86. package/out/controller/interface/controller/view/i-view-controller.d.ts +70 -0
  87. package/out/controller/interface/controller/view/i-view-controller.d.ts.map +1 -0
  88. package/out/controller/interface/event/argument/event-base.d.ts +8 -34
  89. package/out/controller/interface/event/argument/event-base.d.ts.map +1 -1
  90. package/out/controller/interface/event/argument/index.d.ts +2 -1
  91. package/out/controller/interface/event/argument/index.d.ts.map +1 -1
  92. package/out/controller/interface/event/argument/uiaction-event.d.ts +19 -0
  93. package/out/controller/interface/event/argument/uiaction-event.d.ts.map +1 -0
  94. package/out/controller/interface/event/argument/view-info-event.d.ts +18 -0
  95. package/out/controller/interface/event/argument/view-info-event.d.ts.map +1 -0
  96. package/out/controller/interface/event/control/i-app-menu-event.d.ts +17 -1
  97. package/out/controller/interface/event/control/i-app-menu-event.d.ts.map +1 -1
  98. package/out/controller/interface/event/control/i-control-event.d.ts +13 -0
  99. package/out/controller/interface/event/control/i-control-event.d.ts.map +1 -1
  100. package/out/controller/interface/event/control/i-md-control-event.d.ts +2 -2
  101. package/out/controller/interface/event/control/i-md-control-event.d.ts.map +1 -1
  102. package/out/controller/interface/event/view/i-edit-view-event.d.ts +2 -2
  103. package/out/controller/interface/event/view/i-edit-view-event.d.ts.map +1 -1
  104. package/out/controller/interface/event/view/i-md-view-event.d.ts +2 -2
  105. package/out/controller/interface/event/view/i-md-view-event.d.ts.map +1 -1
  106. package/out/controller/interface/event/view/i-view-event.d.ts +7 -9
  107. package/out/controller/interface/event/view/i-view-event.d.ts.map +1 -1
  108. package/out/controller/interface/index.d.ts +1 -1
  109. package/out/controller/interface/index.d.ts.map +1 -1
  110. package/out/controller/interface/index.js +1 -1
  111. package/out/controller/interface/state/i-base-state.d.ts +17 -0
  112. package/out/controller/interface/state/i-base-state.d.ts.map +1 -0
  113. package/out/controller/interface/state/index.d.ts +3 -0
  114. package/out/controller/interface/state/index.d.ts.map +1 -0
  115. package/out/controller/interface/state/index.js +2 -0
  116. package/out/controller/interface/state/view/i-index-view-state.d.ts +17 -0
  117. package/out/controller/interface/state/view/i-index-view-state.d.ts.map +1 -0
  118. package/out/controller/{state/view/view-state.d.ts → interface/state/view/i-view-state.d.ts} +3 -3
  119. package/out/controller/interface/state/view/i-view-state.d.ts.map +1 -0
  120. package/out/controller/interface/state/view/index.d.ts +3 -0
  121. package/out/controller/interface/state/view/index.d.ts.map +1 -0
  122. package/out/controller/interface/state/view/index.js +2 -0
  123. package/out/controller/state/index.d.ts +0 -1
  124. package/out/controller/state/index.d.ts.map +1 -1
  125. package/out/controller/state/index.js +0 -1
  126. package/out/controller/utils/button-state/button-container-state.d.ts +9 -1
  127. package/out/controller/utils/button-state/button-container-state.d.ts.map +1 -1
  128. package/out/controller/utils/button-state/button-container-state.js +12 -4
  129. package/out/controller/utils/button-state/index.d.ts +1 -1
  130. package/out/controller/utils/button-state/index.d.ts.map +1 -1
  131. package/out/controller/utils/button-state/index.js +1 -1
  132. package/out/controller/utils/button-state/ui-action-button-state.d.ts +68 -0
  133. package/out/controller/utils/button-state/ui-action-button-state.d.ts.map +1 -0
  134. package/out/controller/utils/button-state/ui-action-button-state.js +112 -0
  135. package/out/controller/utils/index.d.ts +0 -1
  136. package/out/controller/utils/index.d.ts.map +1 -1
  137. package/out/controller/utils/index.js +0 -1
  138. package/out/engine/engine-factory.d.ts +14 -43
  139. package/out/engine/engine-factory.d.ts.map +1 -1
  140. package/out/engine/engine-factory.js +14 -60
  141. package/out/engine/index.d.ts +1 -2
  142. package/out/engine/index.d.ts.map +1 -1
  143. package/out/engine/index.js +1 -2
  144. package/out/engine/interface/i-grid-view-engine.d.ts +12 -0
  145. package/out/engine/interface/i-grid-view-engine.d.ts.map +1 -0
  146. package/out/engine/interface/i-index-view-engine.d.ts +12 -0
  147. package/out/engine/interface/i-index-view-engine.d.ts.map +1 -0
  148. package/out/engine/interface/i-preset-view-engine.d.ts +23 -0
  149. package/out/engine/interface/i-preset-view-engine.d.ts.map +1 -0
  150. package/out/engine/interface/i-view-engine.d.ts +19 -0
  151. package/out/engine/interface/i-view-engine.d.ts.map +1 -0
  152. package/out/engine/interface/index.d.ts +5 -0
  153. package/out/engine/interface/index.d.ts.map +1 -0
  154. package/out/engine/interface/index.js +4 -0
  155. package/out/engine/preset-view-engine.d.ts +18 -10
  156. package/out/engine/preset-view-engine.d.ts.map +1 -1
  157. package/out/engine/preset-view-engine.js +32 -22
  158. package/out/index.d.ts +0 -1
  159. package/out/index.d.ts.map +1 -1
  160. package/out/index.js +0 -1
  161. package/out/install.js +2 -2
  162. package/out/interface/common/i-app-de-ui-service/i-app-de-ui-service.d.ts.map +1 -0
  163. package/out/interface/{i-app-hub-service → common/i-app-hub-service}/i-app-hub-service.d.ts +12 -4
  164. package/out/interface/common/i-app-hub-service/i-app-hub-service.d.ts.map +1 -0
  165. package/out/interface/{i-app-service → common/i-app-service}/i-app-service.d.ts +1 -1
  166. package/out/interface/common/i-app-service/i-app-service.d.ts.map +1 -0
  167. package/out/interface/common/i-app-ui-service/i-app-ui-service.d.ts.map +1 -0
  168. package/out/interface/common/i-drawer-options/i-drawer-options.d.ts.map +1 -0
  169. package/out/interface/common/i-global-config/i-global-config.d.ts.map +1 -0
  170. package/out/interface/common/i-modal/i-modal.d.ts +51 -0
  171. package/out/interface/common/i-modal/i-modal.d.ts.map +1 -0
  172. package/out/interface/common/i-modal-data/i-modal-data.d.ts.map +1 -0
  173. package/out/interface/common/i-modal-options/i-modal-options.d.ts.map +1 -0
  174. package/out/interface/common/i-plugin-factory/i-plugin-factory.d.ts.map +1 -0
  175. package/out/interface/common/i-plugin-item/i-plugin-item.d.ts.map +1 -0
  176. package/out/interface/common/i-popover-options/i-popover-options.d.ts.map +1 -0
  177. package/out/interface/common/i-ui-action-handler/i-ui-action-handler.d.ts.map +1 -0
  178. package/out/interface/{i-ui-action-result → common/i-ui-action-result}/i-ui-action-result.d.ts +1 -1
  179. package/out/interface/common/i-ui-action-result/i-ui-action-result.d.ts.map +1 -0
  180. package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts +46 -0
  181. package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts.map +1 -0
  182. package/out/interface/common/index.d.ts +16 -0
  183. package/out/interface/common/index.d.ts.map +1 -0
  184. package/out/interface/index.d.ts +1 -14
  185. package/out/interface/index.d.ts.map +1 -1
  186. package/out/interface/index.js +1 -0
  187. package/out/interface/provider/i-provider.d.ts +10 -0
  188. package/out/interface/provider/i-provider.d.ts.map +1 -0
  189. package/out/interface/provider/i-ui-action-provider.d.ts +8 -6
  190. package/out/interface/provider/i-ui-action-provider.d.ts.map +1 -1
  191. package/out/interface/provider/index.d.ts +1 -0
  192. package/out/interface/provider/index.d.ts.map +1 -1
  193. package/out/interface/provider/index.js +1 -0
  194. package/out/interface/register/i-control-register.d.ts +1 -1
  195. package/out/interface/register/i-control-register.d.ts.map +1 -1
  196. package/out/interface/register/i-editor-register.d.ts +1 -1
  197. package/out/interface/register/i-editor-register.d.ts.map +1 -1
  198. package/out/interface/register/i-form-detail-register.d.ts +1 -1
  199. package/out/interface/register/i-form-detail-register.d.ts.map +1 -1
  200. package/out/interface/register/i-grid-column-register.d.ts +1 -1
  201. package/out/interface/register/i-grid-column-register.d.ts.map +1 -1
  202. package/out/interface/register/i-panel-item-register.d.ts +1 -1
  203. package/out/interface/register/i-panel-item-register.d.ts.map +1 -1
  204. package/out/interface/util/i-open-view-util/i-open-view-util.d.ts +1 -1
  205. package/out/interface/util/i-open-view-util/i-open-view-util.d.ts.map +1 -1
  206. package/out/interface/util/i-overlay-controller/i-overlay-controller.d.ts +1 -3
  207. package/out/interface/util/i-overlay-controller/i-overlay-controller.d.ts.map +1 -1
  208. package/out/model/index.d.ts +2 -0
  209. package/out/model/index.d.ts.map +1 -1
  210. package/out/model/index.js +2 -0
  211. package/out/{controller/utils → model}/layout-helper/layout-helper.d.ts +2 -2
  212. package/out/model/layout-helper/layout-helper.d.ts.map +1 -0
  213. package/out/{controller/utils → model}/layout-helper/layout-helper.js +3 -3
  214. package/out/model/main-state/main-state.d.ts +22 -0
  215. package/out/model/main-state/main-state.d.ts.map +1 -0
  216. package/out/model/main-state/main-state.js +58 -0
  217. package/out/register/helper/control-register.d.ts +23 -0
  218. package/out/register/helper/control-register.d.ts.map +1 -0
  219. package/out/register/helper/control-register.js +44 -0
  220. package/out/register/helper/editor-register.d.ts +23 -0
  221. package/out/register/helper/editor-register.d.ts.map +1 -0
  222. package/out/register/helper/editor-register.js +44 -0
  223. package/out/register/helper/form-detail-register.d.ts +23 -0
  224. package/out/register/helper/form-detail-register.d.ts.map +1 -0
  225. package/out/register/helper/form-detail-register.js +36 -0
  226. package/out/register/helper/grid-column-register.d.ts +23 -0
  227. package/out/register/helper/grid-column-register.d.ts.map +1 -0
  228. package/out/register/helper/grid-column-register.js +37 -0
  229. package/out/register/helper/index.d.ts +8 -0
  230. package/out/register/helper/index.d.ts.map +1 -0
  231. package/out/register/helper/index.js +7 -0
  232. package/out/register/helper/panel-item-register.d.ts +23 -0
  233. package/out/register/helper/panel-item-register.d.ts.map +1 -0
  234. package/out/register/helper/panel-item-register.js +57 -0
  235. package/out/register/helper/ui-action-register.d.ts +23 -0
  236. package/out/register/helper/ui-action-register.d.ts.map +1 -0
  237. package/out/register/helper/ui-action-register.js +37 -0
  238. package/out/register/helper/view-register.d.ts +23 -0
  239. package/out/register/helper/view-register.d.ts.map +1 -0
  240. package/out/register/helper/view-register.js +45 -0
  241. package/out/register/index.d.ts +1 -5
  242. package/out/register/index.d.ts.map +1 -1
  243. package/out/register/index.js +1 -5
  244. package/out/register/register-center.d.ts +23 -48
  245. package/out/register/register-center.d.ts.map +1 -1
  246. package/out/register/register-center.js +38 -69
  247. package/out/service/authority/authority.service.d.ts +22 -65
  248. package/out/service/authority/authority.service.d.ts.map +1 -1
  249. package/out/service/authority/authority.service.js +65 -144
  250. package/out/utils/index.d.ts +2 -1
  251. package/out/utils/index.d.ts.map +1 -1
  252. package/out/utils/index.js +2 -1
  253. package/out/utils/modal/modal.d.ts +33 -0
  254. package/out/utils/modal/modal.d.ts.map +1 -0
  255. package/out/utils/modal/modal.js +37 -0
  256. package/out/utils/uiaction-util/index.d.ts +3 -0
  257. package/out/utils/uiaction-util/index.d.ts.map +1 -0
  258. package/out/utils/uiaction-util/index.js +2 -0
  259. package/out/utils/uiaction-util/provider/backend-ui-action-provider.d.ts +16 -0
  260. package/out/utils/uiaction-util/provider/backend-ui-action-provider.d.ts.map +1 -0
  261. package/out/utils/uiaction-util/provider/backend-ui-action-provider.js +61 -0
  262. package/out/utils/uiaction-util/provider/front-ui-action-provider.d.ts +16 -0
  263. package/out/utils/uiaction-util/provider/front-ui-action-provider.d.ts.map +1 -0
  264. package/out/utils/uiaction-util/provider/front-ui-action-provider.js +49 -0
  265. package/out/{provider/ui-action → utils/uiaction-util/provider}/index.d.ts +2 -2
  266. package/out/utils/uiaction-util/provider/index.d.ts.map +1 -0
  267. package/out/utils/uiaction-util/provider/index.js +28 -0
  268. package/out/utils/uiaction-util/provider/sys-ui-action-provider.d.ts +16 -0
  269. package/out/utils/uiaction-util/provider/sys-ui-action-provider.d.ts.map +1 -0
  270. package/out/utils/uiaction-util/provider/sys-ui-action-provider.js +27 -0
  271. package/out/utils/{app-de-ui-action-util/handler/ui-action-handler.d.ts → uiaction-util/provider/ui-action-provider-base.d.ts} +15 -7
  272. package/out/utils/uiaction-util/provider/ui-action-provider-base.d.ts.map +1 -0
  273. package/out/utils/{app-de-ui-action-util/handler/ui-action-handler.js → uiaction-util/provider/ui-action-provider-base.js} +19 -10
  274. package/out/utils/uiaction-util/provider/wf-withdraw-ui-action-provider.d.ts +16 -0
  275. package/out/utils/uiaction-util/provider/wf-withdraw-ui-action-provider.d.ts.map +1 -0
  276. package/out/utils/uiaction-util/provider/wf-withdraw-ui-action-provider.js +28 -0
  277. package/out/utils/{app-de-ui-action-util/app-de-ui-action-util.d.ts → uiaction-util/uiaction-util.d.ts} +5 -5
  278. package/out/utils/uiaction-util/uiaction-util.d.ts.map +1 -0
  279. package/out/utils/uiaction-util/uiaction-util.js +33 -0
  280. package/out/utils/view-layout-util/view-layout-util.js +1 -1
  281. package/out/view-logic/view-logic-trigger/view-logic-event-trigger.js +1 -1
  282. package/out/view-logic/view-logic.d.ts +27 -1
  283. package/out/view-logic/view-logic.d.ts.map +1 -1
  284. package/out/view-logic/view-logic.js +107 -150
  285. package/package.json +3 -3
  286. package/src/app-hub.ts +38 -2
  287. package/src/application.ts +44 -3
  288. package/src/config/global-config.ts +1 -1
  289. package/src/constant/index.ts +3 -2
  290. package/src/constant/sys-uiaction-tag.ts +74 -0
  291. package/src/controller/common/base.controller.ts +29 -15
  292. package/src/controller/{control/control.ts → common/control/control.controller.ts} +21 -16
  293. package/src/controller/common/control/index.ts +2 -0
  294. package/src/controller/common/control/md/index.ts +2 -0
  295. package/src/controller/{control → common/control}/md/md-item.ts +2 -2
  296. package/src/controller/{control/md/md.ts → common/control/md/md.controller.ts} +10 -9
  297. package/src/controller/common/{editor.controller.ts → editor/editor.controller.ts} +5 -2
  298. package/src/controller/common/index.ts +3 -2
  299. package/src/controller/common/view/view.controller.ts +186 -0
  300. package/src/controller/ctx/ctx.ts +11 -11
  301. package/src/controller/index.ts +0 -1
  302. package/src/controller/interface/common/button-state/i-button-container-state.ts +3 -1
  303. package/src/controller/interface/common/button-state/i-button-state.ts +3 -38
  304. package/src/controller/interface/common/index.ts +0 -2
  305. package/src/controller/interface/controller/control/i-app-menu-controller.ts +11 -0
  306. package/src/controller/interface/controller/control/i-control-controller.ts +22 -0
  307. package/src/controller/interface/controller/control/i-form-controller.ts +11 -0
  308. package/src/controller/interface/controller/control/i-grid-controller.ts +11 -0
  309. package/src/controller/interface/controller/control/i-md-controller.ts +11 -0
  310. package/src/controller/interface/controller/control/i-panel-controller.ts +11 -0
  311. package/src/controller/interface/controller/control/i-search-form-controller.ts +11 -0
  312. package/src/controller/interface/controller/control/i-toolbar-controller.ts +25 -0
  313. package/src/controller/interface/controller/control/i-view-layout-panel-controller.ts +11 -0
  314. package/src/controller/interface/controller/control/index.ts +9 -0
  315. package/src/controller/interface/controller/editor/i-editor-controller.ts +8 -0
  316. package/src/controller/interface/controller/i-controller.ts +56 -1
  317. package/src/controller/interface/controller/index.ts +3 -0
  318. package/src/controller/interface/controller/view/i-view-controller.ts +77 -0
  319. package/src/controller/interface/event/argument/event-base.ts +8 -53
  320. package/src/controller/interface/event/argument/index.ts +2 -1
  321. package/src/controller/interface/event/argument/uiaction-event.ts +19 -0
  322. package/src/controller/interface/event/argument/view-info-event.ts +19 -0
  323. package/src/controller/interface/event/control/i-app-menu-event.ts +14 -1
  324. package/src/controller/interface/event/control/i-control-event.ts +15 -1
  325. package/src/controller/interface/event/control/i-md-control-event.ts +2 -2
  326. package/src/controller/interface/event/view/i-edit-view-event.ts +4 -2
  327. package/src/controller/interface/event/view/i-md-view-event.ts +4 -2
  328. package/src/controller/interface/event/view/i-view-event.ts +7 -7
  329. package/src/controller/interface/index.ts +1 -1
  330. package/src/controller/interface/state/i-base-state.ts +16 -0
  331. package/src/controller/interface/state/index.ts +2 -0
  332. package/src/controller/interface/state/view/i-index-view-state.ts +17 -0
  333. package/src/controller/{state/view/view-state.ts → interface/state/view/i-view-state.ts} +4 -4
  334. package/src/controller/interface/state/view/index.ts +2 -0
  335. package/src/controller/state/index.ts +0 -1
  336. package/src/controller/utils/button-state/button-container-state.ts +14 -4
  337. package/src/controller/utils/button-state/index.ts +1 -1
  338. package/src/controller/utils/button-state/ui-action-button-state.ts +162 -0
  339. package/src/controller/utils/index.ts +0 -1
  340. package/src/engine/engine-factory.ts +26 -75
  341. package/src/engine/index.ts +1 -2
  342. package/src/engine/interface/i-grid-view-engine.ts +11 -0
  343. package/src/engine/interface/i-index-view-engine.ts +11 -0
  344. package/src/engine/interface/i-preset-view-engine.ts +24 -0
  345. package/src/engine/interface/i-view-engine.ts +21 -0
  346. package/src/engine/interface/index.ts +4 -0
  347. package/src/engine/preset-view-engine.ts +37 -34
  348. package/src/index.ts +0 -1
  349. package/src/install.ts +2 -2
  350. package/src/interface/{i-app-hub-service → common/i-app-hub-service}/i-app-hub-service.ts +18 -4
  351. package/src/interface/{i-app-service → common/i-app-service}/i-app-service.ts +1 -1
  352. package/src/interface/common/i-modal/i-modal.ts +55 -0
  353. package/src/interface/{i-ui-action-result → common/i-ui-action-result}/i-ui-action-result.ts +1 -1
  354. package/src/interface/common/i-ui-logic-params/i-ui-logic-params.ts +49 -0
  355. package/src/interface/common/index.ts +18 -0
  356. package/src/interface/index.ts +1 -18
  357. package/src/interface/provider/i-provider.ts +8 -0
  358. package/src/interface/provider/i-ui-action-provider.ts +11 -6
  359. package/src/interface/provider/index.ts +1 -0
  360. package/src/interface/register/i-control-register.ts +1 -1
  361. package/src/interface/register/i-editor-register.ts +1 -1
  362. package/src/interface/register/i-form-detail-register.ts +1 -1
  363. package/src/interface/register/i-grid-column-register.ts +1 -1
  364. package/src/interface/register/i-panel-item-register.ts +1 -1
  365. package/src/interface/util/i-open-view-util/i-open-view-util.ts +1 -1
  366. package/src/interface/util/i-overlay-controller/i-overlay-controller.ts +1 -3
  367. package/src/model/index.ts +2 -0
  368. package/src/{controller/utils → model}/layout-helper/layout-helper.ts +3 -3
  369. package/src/model/main-state/main-state.ts +67 -0
  370. package/src/register/helper/control-register.ts +64 -0
  371. package/src/register/helper/editor-register.ts +64 -0
  372. package/src/register/helper/form-detail-register.ts +51 -0
  373. package/src/register/helper/grid-column-register.ts +52 -0
  374. package/src/register/helper/index.ts +7 -0
  375. package/src/register/helper/panel-item-register.ts +75 -0
  376. package/src/register/helper/ui-action-register.ts +52 -0
  377. package/src/register/helper/view-register.ts +62 -0
  378. package/src/register/index.ts +1 -5
  379. package/src/register/register-center.ts +33 -72
  380. package/src/service/authority/authority.service.ts +86 -176
  381. package/src/utils/index.ts +2 -1
  382. package/src/utils/modal/modal.ts +70 -0
  383. package/src/utils/uiaction-util/index.ts +2 -0
  384. package/src/utils/uiaction-util/provider/backend-ui-action-provider.ts +93 -0
  385. package/src/utils/uiaction-util/provider/front-ui-action-provider.ts +75 -0
  386. package/src/utils/uiaction-util/provider/index.ts +39 -0
  387. package/src/utils/uiaction-util/provider/sys-ui-action-provider.ts +36 -0
  388. package/src/utils/{app-de-ui-action-util/handler/ui-action-handler.ts → uiaction-util/provider/ui-action-provider-base.ts} +31 -28
  389. package/src/utils/uiaction-util/provider/wf-withdraw-ui-action-provider.ts +34 -0
  390. package/src/utils/uiaction-util/uiaction-util.ts +38 -0
  391. package/src/utils/view-layout-util/view-layout-util.ts +1 -1
  392. package/src/view-logic/view-logic-trigger/view-logic-event-trigger.ts +1 -1
  393. package/src/view-logic/view-logic.ts +153 -161
  394. package/out/constant/control-type/control-type.d.ts.map +0 -1
  395. package/out/constant/view-type/view-type.d.ts.map +0 -1
  396. package/out/controller/common/editor.controller.d.ts.map +0 -1
  397. package/out/controller/common/view.controller.d.ts +0 -152
  398. package/out/controller/common/view.controller.d.ts.map +0 -1
  399. package/out/controller/common/view.controller.js +0 -237
  400. package/out/controller/control/control.d.ts.map +0 -1
  401. package/out/controller/control/index.d.ts +0 -3
  402. package/out/controller/control/index.d.ts.map +0 -1
  403. package/out/controller/control/index.js +0 -2
  404. package/out/controller/control/md/index.d.ts +0 -3
  405. package/out/controller/control/md/index.d.ts.map +0 -1
  406. package/out/controller/control/md/index.js +0 -2
  407. package/out/controller/control/md/md-item.d.ts.map +0 -1
  408. package/out/controller/control/md/md.d.ts.map +0 -1
  409. package/out/controller/interface/common/actions-state.d.ts +0 -42
  410. package/out/controller/interface/common/actions-state.d.ts.map +0 -1
  411. package/out/controller/interface/common/i-neuron-controller.d.ts +0 -12
  412. package/out/controller/interface/common/i-neuron-controller.d.ts.map +0 -1
  413. package/out/controller/interface/common/i-neuron-controller.js +0 -2
  414. package/out/controller/interface/event/argument/set-title-event.d.ts +0 -11
  415. package/out/controller/interface/event/argument/set-title-event.d.ts.map +0 -1
  416. package/out/controller/interface/invoker/control/i-app-menu-invoker.d.ts +0 -3
  417. package/out/controller/interface/invoker/control/i-app-menu-invoker.d.ts.map +0 -1
  418. package/out/controller/interface/invoker/control/i-card-invoker.d.ts +0 -21
  419. package/out/controller/interface/invoker/control/i-card-invoker.d.ts.map +0 -1
  420. package/out/controller/interface/invoker/control/i-control-invoker.d.ts +0 -17
  421. package/out/controller/interface/invoker/control/i-control-invoker.d.ts.map +0 -1
  422. package/out/controller/interface/invoker/control/i-dashboard-invoker.d.ts +0 -11
  423. package/out/controller/interface/invoker/control/i-dashboard-invoker.d.ts.map +0 -1
  424. package/out/controller/interface/invoker/control/i-data-control-invoker.d.ts +0 -20
  425. package/out/controller/interface/invoker/control/i-data-control-invoker.d.ts.map +0 -1
  426. package/out/controller/interface/invoker/control/i-edit-form-invoker.d.ts +0 -54
  427. package/out/controller/interface/invoker/control/i-edit-form-invoker.d.ts.map +0 -1
  428. package/out/controller/interface/invoker/control/i-form-invoker.d.ts +0 -21
  429. package/out/controller/interface/invoker/control/i-form-invoker.d.ts.map +0 -1
  430. package/out/controller/interface/invoker/control/i-grid-invoker.d.ts +0 -29
  431. package/out/controller/interface/invoker/control/i-grid-invoker.d.ts.map +0 -1
  432. package/out/controller/interface/invoker/control/i-kanban-invoker.d.ts +0 -12
  433. package/out/controller/interface/invoker/control/i-kanban-invoker.d.ts.map +0 -1
  434. package/out/controller/interface/invoker/control/i-list-invoker.d.ts +0 -12
  435. package/out/controller/interface/invoker/control/i-list-invoker.d.ts.map +0 -1
  436. package/out/controller/interface/invoker/control/i-md-control-invoker.d.ts +0 -74
  437. package/out/controller/interface/invoker/control/i-md-control-invoker.d.ts.map +0 -1
  438. package/out/controller/interface/invoker/control/i-panel-invoker.d.ts +0 -11
  439. package/out/controller/interface/invoker/control/i-panel-invoker.d.ts.map +0 -1
  440. package/out/controller/interface/invoker/control/i-sd-control-invoker.d.ts +0 -19
  441. package/out/controller/interface/invoker/control/i-sd-control-invoker.d.ts.map +0 -1
  442. package/out/controller/interface/invoker/control/i-search-form-invoker.d.ts +0 -11
  443. package/out/controller/interface/invoker/control/i-search-form-invoker.d.ts.map +0 -1
  444. package/out/controller/interface/invoker/control/i-toolbar-invoker.d.ts +0 -20
  445. package/out/controller/interface/invoker/control/i-toolbar-invoker.d.ts.map +0 -1
  446. package/out/controller/interface/invoker/control/i-tree-invoker.d.ts +0 -12
  447. package/out/controller/interface/invoker/control/i-tree-invoker.d.ts.map +0 -1
  448. package/out/controller/interface/invoker/control/i-view-layout-panel-invoker.d.ts +0 -11
  449. package/out/controller/interface/invoker/control/i-view-layout-panel-invoker.d.ts.map +0 -1
  450. package/out/controller/interface/invoker/control/i-wizard-panel-invoker.d.ts +0 -20
  451. package/out/controller/interface/invoker/control/i-wizard-panel-invoker.d.ts.map +0 -1
  452. package/out/controller/interface/invoker/control/index.d.ts +0 -19
  453. package/out/controller/interface/invoker/control/index.d.ts.map +0 -1
  454. package/out/controller/interface/invoker/control/index.js +0 -18
  455. package/out/controller/interface/invoker/index.d.ts +0 -4
  456. package/out/controller/interface/invoker/index.d.ts.map +0 -1
  457. package/out/controller/interface/invoker/index.js +0 -3
  458. package/out/controller/interface/invoker/invoke-args/index.d.ts +0 -2
  459. package/out/controller/interface/invoker/invoke-args/index.d.ts.map +0 -1
  460. package/out/controller/interface/invoker/invoke-args/index.js +0 -1
  461. package/out/controller/interface/invoker/invoke-args/invoke-args.d.ts +0 -31
  462. package/out/controller/interface/invoker/invoke-args/invoke-args.d.ts.map +0 -1
  463. package/out/controller/interface/invoker/view/i-app-portal-view-invoker.d.ts +0 -12
  464. package/out/controller/interface/invoker/view/i-app-portal-view-invoker.d.ts.map +0 -1
  465. package/out/controller/interface/invoker/view/i-card-view-invoker.d.ts +0 -20
  466. package/out/controller/interface/invoker/view/i-card-view-invoker.d.ts.map +0 -1
  467. package/out/controller/interface/invoker/view/i-dashboard-view-invoker.d.ts +0 -12
  468. package/out/controller/interface/invoker/view/i-dashboard-view-invoker.d.ts.map +0 -1
  469. package/out/controller/interface/invoker/view/i-dashboard-view-invoker.js +0 -1
  470. package/out/controller/interface/invoker/view/i-edit-view-invoker.d.ts +0 -58
  471. package/out/controller/interface/invoker/view/i-edit-view-invoker.d.ts.map +0 -1
  472. package/out/controller/interface/invoker/view/i-edit-view-invoker.js +0 -1
  473. package/out/controller/interface/invoker/view/i-edit-view3-invoker.d.ts +0 -11
  474. package/out/controller/interface/invoker/view/i-edit-view3-invoker.d.ts.map +0 -1
  475. package/out/controller/interface/invoker/view/i-edit-view3-invoker.js +0 -1
  476. package/out/controller/interface/invoker/view/i-grid-exp-view-invoker.d.ts +0 -27
  477. package/out/controller/interface/invoker/view/i-grid-exp-view-invoker.d.ts.map +0 -1
  478. package/out/controller/interface/invoker/view/i-grid-exp-view-invoker.js +0 -1
  479. package/out/controller/interface/invoker/view/i-grid-view-invoker.d.ts +0 -28
  480. package/out/controller/interface/invoker/view/i-grid-view-invoker.d.ts.map +0 -1
  481. package/out/controller/interface/invoker/view/i-grid-view-invoker.js +0 -1
  482. package/out/controller/interface/invoker/view/i-kanban-view-invoker.d.ts +0 -20
  483. package/out/controller/interface/invoker/view/i-kanban-view-invoker.d.ts.map +0 -1
  484. package/out/controller/interface/invoker/view/i-kanban-view-invoker.js +0 -1
  485. package/out/controller/interface/invoker/view/i-list-exp-view-invoker.d.ts +0 -20
  486. package/out/controller/interface/invoker/view/i-list-exp-view-invoker.d.ts.map +0 -1
  487. package/out/controller/interface/invoker/view/i-list-exp-view-invoker.js +0 -1
  488. package/out/controller/interface/invoker/view/i-list-view-invoker.d.ts +0 -20
  489. package/out/controller/interface/invoker/view/i-list-view-invoker.d.ts.map +0 -1
  490. package/out/controller/interface/invoker/view/i-list-view-invoker.js +0 -1
  491. package/out/controller/interface/invoker/view/i-md-view-invoker.d.ts +0 -56
  492. package/out/controller/interface/invoker/view/i-md-view-invoker.d.ts.map +0 -1
  493. package/out/controller/interface/invoker/view/i-md-view-invoker.js +0 -1
  494. package/out/controller/interface/invoker/view/i-mpickup-view-invoker.d.ts +0 -12
  495. package/out/controller/interface/invoker/view/i-mpickup-view-invoker.d.ts.map +0 -1
  496. package/out/controller/interface/invoker/view/i-mpickup-view-invoker.js +0 -1
  497. package/out/controller/interface/invoker/view/i-opt-view-invoker.d.ts +0 -11
  498. package/out/controller/interface/invoker/view/i-opt-view-invoker.d.ts.map +0 -1
  499. package/out/controller/interface/invoker/view/i-opt-view-invoker.js +0 -1
  500. package/out/controller/interface/invoker/view/i-pickup-grid-view-invoker.d.ts +0 -21
  501. package/out/controller/interface/invoker/view/i-pickup-grid-view-invoker.d.ts.map +0 -1
  502. package/out/controller/interface/invoker/view/i-pickup-grid-view-invoker.js +0 -1
  503. package/out/controller/interface/invoker/view/i-pickup-view-invoker.d.ts +0 -12
  504. package/out/controller/interface/invoker/view/i-pickup-view-invoker.d.ts.map +0 -1
  505. package/out/controller/interface/invoker/view/i-pickup-view-invoker.js +0 -1
  506. package/out/controller/interface/invoker/view/i-tab-exp-view-invoker.d.ts +0 -12
  507. package/out/controller/interface/invoker/view/i-tab-exp-view-invoker.d.ts.map +0 -1
  508. package/out/controller/interface/invoker/view/i-tab-exp-view-invoker.js +0 -1
  509. package/out/controller/interface/invoker/view/i-tree-exp-view-invoker.d.ts +0 -12
  510. package/out/controller/interface/invoker/view/i-tree-exp-view-invoker.d.ts.map +0 -1
  511. package/out/controller/interface/invoker/view/i-tree-exp-view-invoker.js +0 -1
  512. package/out/controller/interface/invoker/view/i-view-invoker.d.ts +0 -40
  513. package/out/controller/interface/invoker/view/i-view-invoker.d.ts.map +0 -1
  514. package/out/controller/interface/invoker/view/i-view-invoker.js +0 -1
  515. package/out/controller/interface/invoker/view/i-wf-dyna-action-view-invoker.d.ts +0 -13
  516. package/out/controller/interface/invoker/view/i-wf-dyna-action-view-invoker.d.ts.map +0 -1
  517. package/out/controller/interface/invoker/view/i-wf-dyna-action-view-invoker.js +0 -1
  518. package/out/controller/interface/invoker/view/i-wf-dyna-edit-view-invoker.d.ts +0 -11
  519. package/out/controller/interface/invoker/view/i-wf-dyna-edit-view-invoker.d.ts.map +0 -1
  520. package/out/controller/interface/invoker/view/i-wf-dyna-edit-view-invoker.js +0 -1
  521. package/out/controller/interface/invoker/view/i-wf-dyna-edit-view3-invoker.d.ts +0 -11
  522. package/out/controller/interface/invoker/view/i-wf-dyna-edit-view3-invoker.d.ts.map +0 -1
  523. package/out/controller/interface/invoker/view/i-wf-dyna-edit-view3-invoker.js +0 -1
  524. package/out/controller/interface/invoker/view/i-wf-dyna-start-view-invoker.d.ts +0 -11
  525. package/out/controller/interface/invoker/view/i-wf-dyna-start-view-invoker.d.ts.map +0 -1
  526. package/out/controller/interface/invoker/view/i-wf-dyna-start-view-invoker.js +0 -1
  527. package/out/controller/interface/invoker/view/i-wf-edit-view-invoker.d.ts +0 -13
  528. package/out/controller/interface/invoker/view/i-wf-edit-view-invoker.d.ts.map +0 -1
  529. package/out/controller/interface/invoker/view/i-wf-edit-view-invoker.js +0 -1
  530. package/out/controller/interface/invoker/view/i-wizard-view-invoker.d.ts +0 -12
  531. package/out/controller/interface/invoker/view/i-wizard-view-invoker.d.ts.map +0 -1
  532. package/out/controller/interface/invoker/view/i-wizard-view-invoker.js +0 -1
  533. package/out/controller/interface/invoker/view/index.d.ts +0 -25
  534. package/out/controller/interface/invoker/view/index.d.ts.map +0 -1
  535. package/out/controller/interface/invoker/view/index.js +0 -24
  536. package/out/controller/state/view/index-view-state.d.ts +0 -18
  537. package/out/controller/state/view/index-view-state.d.ts.map +0 -1
  538. package/out/controller/state/view/index-view-state.js +0 -20
  539. package/out/controller/state/view/index.d.ts +0 -2
  540. package/out/controller/state/view/index.d.ts.map +0 -1
  541. package/out/controller/state/view/index.js +0 -1
  542. package/out/controller/state/view/view-state.d.ts.map +0 -1
  543. package/out/controller/state/view/view-state.js +0 -19
  544. package/out/controller/utils/button-state/button-state.d.ts +0 -23
  545. package/out/controller/utils/button-state/button-state.d.ts.map +0 -1
  546. package/out/controller/utils/button-state/button-state.js +0 -77
  547. package/out/controller/utils/layout-helper/layout-helper.d.ts.map +0 -1
  548. package/out/engine/view-engine-base.d.ts +0 -19
  549. package/out/engine/view-engine-base.d.ts.map +0 -1
  550. package/out/engine/view-engine-base.js +0 -20
  551. package/out/engine/view-engine.d.ts +0 -11
  552. package/out/engine/view-engine.d.ts.map +0 -1
  553. package/out/engine/view-engine.js +0 -10
  554. package/out/interface/i-app-de-ui-service/i-app-de-ui-service.d.ts.map +0 -1
  555. package/out/interface/i-app-hub-service/i-app-hub-service.d.ts.map +0 -1
  556. package/out/interface/i-app-service/i-app-service.d.ts.map +0 -1
  557. package/out/interface/i-app-ui-service/i-app-ui-service.d.ts.map +0 -1
  558. package/out/interface/i-drawer-options/i-drawer-options.d.ts.map +0 -1
  559. package/out/interface/i-global-config/i-global-config.d.ts.map +0 -1
  560. package/out/interface/i-modal/i-modal.d.ts +0 -35
  561. package/out/interface/i-modal/i-modal.d.ts.map +0 -1
  562. package/out/interface/i-modal-data/i-modal-data.d.ts.map +0 -1
  563. package/out/interface/i-modal-options/i-modal-options.d.ts.map +0 -1
  564. package/out/interface/i-plugin-factory/i-plugin-factory.d.ts.map +0 -1
  565. package/out/interface/i-plugin-item/i-plugin-item.d.ts.map +0 -1
  566. package/out/interface/i-popover-options/i-popover-options.d.ts.map +0 -1
  567. package/out/interface/i-ui-action-handler/i-ui-action-handler.d.ts.map +0 -1
  568. package/out/interface/i-ui-action-result/i-ui-action-result.d.ts.map +0 -1
  569. package/out/provider/index.d.ts +0 -2
  570. package/out/provider/index.d.ts.map +0 -1
  571. package/out/provider/index.js +0 -1
  572. package/out/provider/ui-action/backend-ui-action-provider.d.ts +0 -15
  573. package/out/provider/ui-action/backend-ui-action-provider.d.ts.map +0 -1
  574. package/out/provider/ui-action/backend-ui-action-provider.js +0 -18
  575. package/out/provider/ui-action/common-sys-ui-action-provider.d.ts +0 -15
  576. package/out/provider/ui-action/common-sys-ui-action-provider.d.ts.map +0 -1
  577. package/out/provider/ui-action/common-sys-ui-action-provider.js +0 -18
  578. package/out/provider/ui-action/front-ui-action-provider.d.ts +0 -15
  579. package/out/provider/ui-action/front-ui-action-provider.d.ts.map +0 -1
  580. package/out/provider/ui-action/front-ui-action-provider.js +0 -18
  581. package/out/provider/ui-action/index.d.ts.map +0 -1
  582. package/out/provider/ui-action/index.js +0 -48
  583. package/out/provider/ui-action/wf-withdraw-ui-action-provider.d.ts +0 -15
  584. package/out/provider/ui-action/wf-withdraw-ui-action-provider.d.ts.map +0 -1
  585. package/out/provider/ui-action/wf-withdraw-ui-action-provider.js +0 -18
  586. package/out/register/control-register.d.ts +0 -17
  587. package/out/register/control-register.d.ts.map +0 -1
  588. package/out/register/control-register.js +0 -41
  589. package/out/register/editor-register.d.ts +0 -17
  590. package/out/register/editor-register.d.ts.map +0 -1
  591. package/out/register/editor-register.js +0 -42
  592. package/out/register/form-detail-register.d.ts +0 -18
  593. package/out/register/form-detail-register.d.ts.map +0 -1
  594. package/out/register/form-detail-register.js +0 -32
  595. package/out/register/grid-column-register.d.ts +0 -17
  596. package/out/register/grid-column-register.d.ts.map +0 -1
  597. package/out/register/grid-column-register.js +0 -33
  598. package/out/register/panel-item-register.d.ts +0 -17
  599. package/out/register/panel-item-register.d.ts.map +0 -1
  600. package/out/register/panel-item-register.js +0 -31
  601. package/out/register/register-base.d.ts +0 -18
  602. package/out/register/register-base.d.ts.map +0 -1
  603. package/out/register/register-base.js +0 -24
  604. package/out/register/ui-action-register.d.ts +0 -17
  605. package/out/register/ui-action-register.d.ts.map +0 -1
  606. package/out/register/ui-action-register.js +0 -43
  607. package/out/register/view-register.d.ts +0 -17
  608. package/out/register/view-register.d.ts.map +0 -1
  609. package/out/register/view-register.js +0 -44
  610. package/out/utils/app-de-ui-action-util/app-de-ui-action-util.d.ts.map +0 -1
  611. package/out/utils/app-de-ui-action-util/app-de-ui-action-util.js +0 -35
  612. package/out/utils/app-de-ui-action-util/handler/backend-ui-action-handler.d.ts +0 -27
  613. package/out/utils/app-de-ui-action-util/handler/backend-ui-action-handler.d.ts.map +0 -1
  614. package/out/utils/app-de-ui-action-util/handler/backend-ui-action-handler.js +0 -100
  615. package/out/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.d.ts +0 -16
  616. package/out/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.d.ts.map +0 -1
  617. package/out/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.js +0 -103
  618. package/out/utils/app-de-ui-action-util/handler/front-ui-action-handler.d.ts +0 -16
  619. package/out/utils/app-de-ui-action-util/handler/front-ui-action-handler.d.ts.map +0 -1
  620. package/out/utils/app-de-ui-action-util/handler/front-ui-action-handler.js +0 -61
  621. package/out/utils/app-de-ui-action-util/handler/index.d.ts +0 -6
  622. package/out/utils/app-de-ui-action-util/handler/index.d.ts.map +0 -1
  623. package/out/utils/app-de-ui-action-util/handler/index.js +0 -5
  624. package/out/utils/app-de-ui-action-util/handler/ui-action-handler.d.ts.map +0 -1
  625. package/out/utils/app-de-ui-action-util/handler/wf-withdraw-handler.d.ts +0 -16
  626. package/out/utils/app-de-ui-action-util/handler/wf-withdraw-handler.d.ts.map +0 -1
  627. package/out/utils/app-de-ui-action-util/handler/wf-withdraw-handler.js +0 -27
  628. package/out/utils/app-de-ui-action-util/index.d.ts +0 -3
  629. package/out/utils/app-de-ui-action-util/index.d.ts.map +0 -1
  630. package/out/utils/app-de-ui-action-util/index.js +0 -2
  631. package/src/controller/common/view.controller.ts +0 -314
  632. package/src/controller/control/index.ts +0 -2
  633. package/src/controller/control/md/index.ts +0 -2
  634. package/src/controller/interface/common/actions-state.ts +0 -44
  635. package/src/controller/interface/common/i-neuron-controller.ts +0 -14
  636. package/src/controller/interface/event/argument/set-title-event.ts +0 -11
  637. package/src/controller/interface/invoker/control/i-app-menu-invoker.ts +0 -3
  638. package/src/controller/interface/invoker/control/i-card-invoker.ts +0 -21
  639. package/src/controller/interface/invoker/control/i-control-invoker.ts +0 -17
  640. package/src/controller/interface/invoker/control/i-dashboard-invoker.ts +0 -11
  641. package/src/controller/interface/invoker/control/i-data-control-invoker.ts +0 -20
  642. package/src/controller/interface/invoker/control/i-edit-form-invoker.ts +0 -58
  643. package/src/controller/interface/invoker/control/i-form-invoker.ts +0 -21
  644. package/src/controller/interface/invoker/control/i-grid-invoker.ts +0 -30
  645. package/src/controller/interface/invoker/control/i-kanban-invoker.ts +0 -12
  646. package/src/controller/interface/invoker/control/i-list-invoker.ts +0 -12
  647. package/src/controller/interface/invoker/control/i-md-control-invoker.ts +0 -81
  648. package/src/controller/interface/invoker/control/i-panel-invoker.ts +0 -11
  649. package/src/controller/interface/invoker/control/i-sd-control-invoker.ts +0 -19
  650. package/src/controller/interface/invoker/control/i-search-form-invoker.ts +0 -11
  651. package/src/controller/interface/invoker/control/i-toolbar-invoker.ts +0 -20
  652. package/src/controller/interface/invoker/control/i-tree-invoker.ts +0 -12
  653. package/src/controller/interface/invoker/control/i-view-layout-panel-invoker.ts +0 -11
  654. package/src/controller/interface/invoker/control/i-wizard-panel-invoker.ts +0 -20
  655. package/src/controller/interface/invoker/control/index.ts +0 -18
  656. package/src/controller/interface/invoker/index.ts +0 -3
  657. package/src/controller/interface/invoker/invoke-args/index.ts +0 -1
  658. package/src/controller/interface/invoker/invoke-args/invoke-args.ts +0 -31
  659. package/src/controller/interface/invoker/view/i-app-portal-view-invoker.ts +0 -12
  660. package/src/controller/interface/invoker/view/i-card-view-invoker.ts +0 -20
  661. package/src/controller/interface/invoker/view/i-dashboard-view-invoker.ts +0 -12
  662. package/src/controller/interface/invoker/view/i-edit-view-invoker.ts +0 -62
  663. package/src/controller/interface/invoker/view/i-edit-view3-invoker.ts +0 -11
  664. package/src/controller/interface/invoker/view/i-grid-exp-view-invoker.ts +0 -28
  665. package/src/controller/interface/invoker/view/i-grid-view-invoker.ts +0 -29
  666. package/src/controller/interface/invoker/view/i-kanban-view-invoker.ts +0 -20
  667. package/src/controller/interface/invoker/view/i-list-exp-view-invoker.ts +0 -20
  668. package/src/controller/interface/invoker/view/i-list-view-invoker.ts +0 -20
  669. package/src/controller/interface/invoker/view/i-md-view-invoker.ts +0 -59
  670. package/src/controller/interface/invoker/view/i-mpickup-view-invoker.ts +0 -12
  671. package/src/controller/interface/invoker/view/i-opt-view-invoker.ts +0 -11
  672. package/src/controller/interface/invoker/view/i-pickup-grid-view-invoker.ts +0 -21
  673. package/src/controller/interface/invoker/view/i-pickup-view-invoker.ts +0 -12
  674. package/src/controller/interface/invoker/view/i-tab-exp-view-invoker.ts +0 -12
  675. package/src/controller/interface/invoker/view/i-tree-exp-view-invoker.ts +0 -12
  676. package/src/controller/interface/invoker/view/i-view-invoker.ts +0 -43
  677. package/src/controller/interface/invoker/view/i-wf-dyna-action-view-invoker.ts +0 -13
  678. package/src/controller/interface/invoker/view/i-wf-dyna-edit-view-invoker.ts +0 -11
  679. package/src/controller/interface/invoker/view/i-wf-dyna-edit-view3-invoker.ts +0 -11
  680. package/src/controller/interface/invoker/view/i-wf-dyna-start-view-invoker.ts +0 -11
  681. package/src/controller/interface/invoker/view/i-wf-edit-view-invoker.ts +0 -13
  682. package/src/controller/interface/invoker/view/i-wizard-view-invoker.ts +0 -12
  683. package/src/controller/interface/invoker/view/index.ts +0 -24
  684. package/src/controller/state/view/index-view-state.ts +0 -18
  685. package/src/controller/state/view/index.ts +0 -1
  686. package/src/controller/utils/button-state/button-state.ts +0 -101
  687. package/src/engine/view-engine-base.ts +0 -21
  688. package/src/engine/view-engine.ts +0 -10
  689. package/src/interface/i-modal/i-modal.ts +0 -37
  690. package/src/provider/index.ts +0 -1
  691. package/src/provider/ui-action/backend-ui-action-provider.ts +0 -22
  692. package/src/provider/ui-action/common-sys-ui-action-provider.ts +0 -22
  693. package/src/provider/ui-action/front-ui-action-provider.ts +0 -22
  694. package/src/provider/ui-action/index.ts +0 -56
  695. package/src/provider/ui-action/wf-withdraw-ui-action-provider.ts +0 -22
  696. package/src/register/control-register.ts +0 -52
  697. package/src/register/editor-register.ts +0 -54
  698. package/src/register/form-detail-register.ts +0 -39
  699. package/src/register/grid-column-register.ts +0 -39
  700. package/src/register/panel-item-register.ts +0 -38
  701. package/src/register/register-base.ts +0 -27
  702. package/src/register/ui-action-register.ts +0 -50
  703. package/src/register/view-register.ts +0 -55
  704. package/src/utils/app-de-ui-action-util/app-de-ui-action-util.ts +0 -43
  705. package/src/utils/app-de-ui-action-util/handler/backend-ui-action-handler.ts +0 -120
  706. package/src/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.ts +0 -124
  707. package/src/utils/app-de-ui-action-util/handler/front-ui-action-handler.ts +0 -73
  708. package/src/utils/app-de-ui-action-util/handler/index.ts +0 -5
  709. package/src/utils/app-de-ui-action-util/handler/wf-withdraw-handler.ts +0 -36
  710. package/src/utils/app-de-ui-action-util/index.ts +0 -2
  711. /package/out/constant/{control-type/control-type.d.ts → control-type.d.ts} +0 -0
  712. /package/out/constant/{control-type/control-type.js → control-type.js} +0 -0
  713. /package/out/constant/{view-type/view-type.d.ts → view-type.d.ts} +0 -0
  714. /package/out/constant/{view-type/view-type.js → view-type.js} +0 -0
  715. /package/out/controller/{control → common/control}/md/md-item.js +0 -0
  716. /package/out/controller/interface/{common/actions-state.js → controller/control/i-app-menu-controller.js} +0 -0
  717. /package/out/controller/interface/{event/argument/set-title-event.js → controller/control/i-control-controller.js} +0 -0
  718. /package/out/controller/interface/{invoker/control/i-app-menu-invoker.js → controller/control/i-form-controller.js} +0 -0
  719. /package/out/controller/interface/{invoker/control/i-card-invoker.js → controller/control/i-grid-controller.js} +0 -0
  720. /package/out/controller/interface/{invoker/control/i-control-invoker.js → controller/control/i-md-controller.js} +0 -0
  721. /package/out/controller/interface/{invoker/control/i-dashboard-invoker.js → controller/control/i-panel-controller.js} +0 -0
  722. /package/out/controller/interface/{invoker/control/i-data-control-invoker.js → controller/control/i-search-form-controller.js} +0 -0
  723. /package/out/controller/interface/{invoker/control/i-edit-form-invoker.js → controller/control/i-toolbar-controller.js} +0 -0
  724. /package/out/controller/interface/{invoker/control/i-form-invoker.js → controller/control/i-view-layout-panel-controller.js} +0 -0
  725. /package/out/controller/interface/{invoker/control/i-grid-invoker.js → controller/editor/i-editor-controller.js} +0 -0
  726. /package/out/controller/interface/{invoker/control/i-kanban-invoker.js → controller/view/i-view-controller.js} +0 -0
  727. /package/out/controller/interface/{invoker/control/i-list-invoker.js → event/argument/uiaction-event.js} +0 -0
  728. /package/out/controller/interface/{invoker/control/i-md-control-invoker.js → event/argument/view-info-event.js} +0 -0
  729. /package/out/controller/interface/{invoker/control/i-panel-invoker.js → state/i-base-state.js} +0 -0
  730. /package/out/controller/interface/{invoker/control/i-sd-control-invoker.js → state/view/i-index-view-state.js} +0 -0
  731. /package/out/controller/interface/{invoker/control/i-search-form-invoker.js → state/view/i-view-state.js} +0 -0
  732. /package/out/{controller/interface/invoker/control/i-toolbar-invoker.js → engine/interface/i-grid-view-engine.js} +0 -0
  733. /package/out/{controller/interface/invoker/control/i-tree-invoker.js → engine/interface/i-index-view-engine.js} +0 -0
  734. /package/out/{controller/interface/invoker/control/i-view-layout-panel-invoker.js → engine/interface/i-preset-view-engine.js} +0 -0
  735. /package/out/{controller/interface/invoker/control/i-wizard-panel-invoker.js → engine/interface/i-view-engine.js} +0 -0
  736. /package/out/interface/{i-app-de-ui-service → common/i-app-de-ui-service}/i-app-de-ui-service.d.ts +0 -0
  737. /package/out/interface/{i-app-de-ui-service → common/i-app-de-ui-service}/i-app-de-ui-service.js +0 -0
  738. /package/out/interface/{i-app-hub-service → common/i-app-hub-service}/i-app-hub-service.js +0 -0
  739. /package/out/interface/{i-app-service → common/i-app-service}/i-app-service.js +0 -0
  740. /package/out/interface/{i-app-ui-service → common/i-app-ui-service}/i-app-ui-service.d.ts +0 -0
  741. /package/out/interface/{i-app-ui-service → common/i-app-ui-service}/i-app-ui-service.js +0 -0
  742. /package/out/interface/{i-drawer-options → common/i-drawer-options}/i-drawer-options.d.ts +0 -0
  743. /package/out/interface/{i-drawer-options → common/i-drawer-options}/i-drawer-options.js +0 -0
  744. /package/out/interface/{i-global-config → common/i-global-config}/i-global-config.d.ts +0 -0
  745. /package/out/interface/{i-global-config → common/i-global-config}/i-global-config.js +0 -0
  746. /package/out/interface/{i-modal → common/i-modal}/i-modal.js +0 -0
  747. /package/out/interface/{i-modal-data → common/i-modal-data}/i-modal-data.d.ts +0 -0
  748. /package/out/interface/{i-modal-data → common/i-modal-data}/i-modal-data.js +0 -0
  749. /package/out/interface/{i-modal-options → common/i-modal-options}/i-modal-options.d.ts +0 -0
  750. /package/out/interface/{i-modal-options → common/i-modal-options}/i-modal-options.js +0 -0
  751. /package/out/interface/{i-plugin-factory → common/i-plugin-factory}/i-plugin-factory.d.ts +0 -0
  752. /package/out/interface/{i-plugin-factory → common/i-plugin-factory}/i-plugin-factory.js +0 -0
  753. /package/out/interface/{i-plugin-item → common/i-plugin-item}/i-plugin-item.d.ts +0 -0
  754. /package/out/interface/{i-plugin-item → common/i-plugin-item}/i-plugin-item.js +0 -0
  755. /package/out/interface/{i-popover-options → common/i-popover-options}/i-popover-options.d.ts +0 -0
  756. /package/out/interface/{i-popover-options → common/i-popover-options}/i-popover-options.js +0 -0
  757. /package/out/interface/{i-ui-action-handler → common/i-ui-action-handler}/i-ui-action-handler.d.ts +0 -0
  758. /package/out/interface/{i-ui-action-handler → common/i-ui-action-handler}/i-ui-action-handler.js +0 -0
  759. /package/out/interface/{i-ui-action-result → common/i-ui-action-result}/i-ui-action-result.js +0 -0
  760. /package/out/{controller/interface/invoker/invoke-args/invoke-args.js → interface/common/i-ui-logic-params/i-ui-logic-params.js} +0 -0
  761. /package/out/{controller/interface/invoker/view/i-app-portal-view-invoker.js → interface/common/index.js} +0 -0
  762. /package/out/{controller/interface/invoker/view/i-card-view-invoker.js → interface/provider/i-provider.js} +0 -0
  763. /package/src/constant/{control-type/control-type.ts → control-type.ts} +0 -0
  764. /package/src/constant/{view-type/view-type.ts → view-type.ts} +0 -0
  765. /package/src/interface/{i-app-de-ui-service → common/i-app-de-ui-service}/i-app-de-ui-service.ts +0 -0
  766. /package/src/interface/{i-app-ui-service → common/i-app-ui-service}/i-app-ui-service.ts +0 -0
  767. /package/src/interface/{i-drawer-options → common/i-drawer-options}/i-drawer-options.ts +0 -0
  768. /package/src/interface/{i-global-config → common/i-global-config}/i-global-config.ts +0 -0
  769. /package/src/interface/{i-modal-data → common/i-modal-data}/i-modal-data.ts +0 -0
  770. /package/src/interface/{i-modal-options → common/i-modal-options}/i-modal-options.ts +0 -0
  771. /package/src/interface/{i-plugin-factory → common/i-plugin-factory}/i-plugin-factory.ts +0 -0
  772. /package/src/interface/{i-plugin-item → common/i-plugin-item}/i-plugin-item.ts +0 -0
  773. /package/src/interface/{i-popover-options → common/i-popover-options}/i-popover-options.ts +0 -0
  774. /package/src/interface/{i-ui-action-handler → common/i-ui-action-handler}/i-ui-action-handler.ts +0 -0
@@ -0,0 +1,33 @@
1
+ import { ViewMode } from '../../constant';
2
+ import { IModal, IModalData } from '../../interface';
3
+ type ConstructorOpts = {
4
+ mode?: ViewMode;
5
+ routeDepth?: number;
6
+ viewUsage?: number;
7
+ /**
8
+ * 注入的模态等组件实际的关闭操作,
9
+ * @author lxm
10
+ * @date 2023-05-12 07:04:21
11
+ */
12
+ dismiss?: (data: IModalData) => void;
13
+ };
14
+ type ModalHooks = {
15
+ beforeDismiss: Array<() => Promise<boolean> | boolean>;
16
+ };
17
+ export declare class Modal implements IModal {
18
+ mode: ViewMode;
19
+ routeDepth?: number;
20
+ viewUsage: number;
21
+ /**
22
+ * 外部注入的模态等组件实际的关闭操作
23
+ * @author lxm
24
+ * @date 2023-05-12 07:06:56
25
+ */
26
+ _dismiss?: (data: IModalData) => void;
27
+ hooks: ModalHooks;
28
+ constructor(opts: ConstructorOpts);
29
+ dismiss(data?: IModalData): Promise<void>;
30
+ addBeforeDismiss(callback: () => Promise<boolean> | boolean): void;
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/utils/modal/modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAErD,KAAK,eAAe,GAAG;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,aAAa,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC;CACxD,CAAC;AAEF,qBAAa,KAAM,YAAW,MAAM;IAClC,IAAI,EAAE,QAAQ,CAAkB;IAEhC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAK;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAEtC,KAAK,EAAE,UAAU,CAAyB;gBAE9B,IAAI,EAAE,eAAe;IAa3B,OAAO,CAAC,IAAI,GAAE,UAAmC;IAevD,gBAAgB,CAAC,QAAQ,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO;CAK5D"}
@@ -0,0 +1,37 @@
1
+ /* eslint-disable no-await-in-loop */
2
+ import { ViewMode } from '../../constant';
3
+ export class Modal {
4
+ constructor(opts) {
5
+ this.mode = ViewMode.EMBED;
6
+ this.viewUsage = 1;
7
+ this.hooks = { beforeDismiss: [] };
8
+ if (opts.mode) {
9
+ this.mode = opts.mode;
10
+ }
11
+ if (opts.routeDepth) {
12
+ this.routeDepth = opts.routeDepth;
13
+ }
14
+ if (opts.viewUsage) {
15
+ this.viewUsage = opts.viewUsage;
16
+ }
17
+ this._dismiss = opts.dismiss;
18
+ }
19
+ async dismiss(data = { ok: true, data: [] }) {
20
+ let ifDismiss = true;
21
+ for (const callback of this.hooks.beforeDismiss) {
22
+ ifDismiss = await callback();
23
+ if (!ifDismiss) {
24
+ ibiz.log.debug('beforeDismiss结果为false,关闭中断。', callback);
25
+ break;
26
+ }
27
+ }
28
+ if (ifDismiss && this._dismiss) {
29
+ this._dismiss(data);
30
+ }
31
+ }
32
+ addBeforeDismiss(callback) {
33
+ if (!this.hooks.beforeDismiss.includes(callback)) {
34
+ this.hooks.beforeDismiss.push(callback);
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,3 @@
1
+ export * from './provider';
2
+ export * from './uiaction-util';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/uiaction-util/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './provider';
2
+ export * from './uiaction-util';
@@ -0,0 +1,16 @@
1
+ import { IAppDEUIAction } from '@ibiz/model-core';
2
+ import { IUILogicParams, IUIActionResult } from '../../../interface';
3
+ import { UIActionProviderBase } from './ui-action-provider-base';
4
+ /**
5
+ * 后台调用界面行为适配器
6
+ *
7
+ * @author lxm
8
+ * @date 2022-10-25 15:10:51
9
+ * @export
10
+ * @class BackendUIActionProvider
11
+ * @implements {IUIActionProvider}
12
+ */
13
+ export declare class BackendUIActionProvider extends UIActionProviderBase {
14
+ execAction(action: IAppDEUIAction, args: IUILogicParams): Promise<IUIActionResult>;
15
+ }
16
+ //# sourceMappingURL=backend-ui-action-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backend-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../../src/utils/uiaction-util/provider/backend-ui-action-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;;;GAQG;AACH,qBAAa,uBAAwB,SAAQ,oBAAoB;IACzD,UAAU,CACd,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CAoE5B"}
@@ -0,0 +1,61 @@
1
+ import { RuntimeModelError } from '@ibiz-template/core';
2
+ import { isArray } from 'qx-util';
3
+ import { OpenAppViewCommand } from '../../../command';
4
+ import { UIActionProviderBase } from './ui-action-provider-base';
5
+ /**
6
+ * 后台调用界面行为适配器
7
+ *
8
+ * @author lxm
9
+ * @date 2022-10-25 15:10:51
10
+ * @export
11
+ * @class BackendUIActionProvider
12
+ * @implements {IUIActionProvider}
13
+ */
14
+ export class BackendUIActionProvider extends UIActionProviderBase {
15
+ async execAction(action, args) {
16
+ var _a, _b;
17
+ const { context, params, data, event } = args;
18
+ const actionResult = {};
19
+ const entityName = action.appDataEntityId;
20
+ const methodName = action.appDEMethodId;
21
+ if (!entityName || !methodName) {
22
+ throw new RuntimeModelError(action, '未配置实体或实体行为');
23
+ }
24
+ // 处理参数
25
+ const { resultContext, resultParams, resultData } = await this.handleParams(action, context, data, params);
26
+ const tempParams = Object.assign(Object.assign({}, params), resultParams);
27
+ // 如果有打开视图,打开视图,并把返回的数据作为子实体数据
28
+ const frontPSAppView = action.frontAppViewId;
29
+ if (frontPSAppView) {
30
+ const res = await ibiz.commands.execute(OpenAppViewCommand.TAG, frontPSAppView, resultContext, resultParams, { event });
31
+ if (!(res === null || res === void 0 ? void 0 : res.ok)) {
32
+ actionResult.cancel = true;
33
+ return actionResult;
34
+ }
35
+ if ((res === null || res === void 0 ? void 0 : res.ok) && res.data) {
36
+ // 空数据补充一个数据
37
+ if (resultData.length === 0) {
38
+ resultData.push({});
39
+ }
40
+ resultData.forEach(item => {
41
+ item.srfactionparam = res.data;
42
+ });
43
+ }
44
+ }
45
+ const app = ibiz.hub.getApp(context === null || context === void 0 ? void 0 : context.srfappid);
46
+ const _data = resultData.length > 0
47
+ ? ((_b = (_a = resultData[0]).getRequestData) === null || _b === void 0 ? void 0 : _b.call(_a)) || resultData[0]
48
+ : {};
49
+ const res = await app.deService.exec(entityName, methodName, resultContext, _data, tempParams);
50
+ // 适配界面行为成功提示信息
51
+ if (res.ok && action.successMsg) {
52
+ ibiz.message.success(action.successMsg);
53
+ }
54
+ Object.assign(actionResult, {
55
+ data: isArray(res.data) ? res.data : [res.data],
56
+ nextContext: resultContext,
57
+ nextParams: tempParams,
58
+ });
59
+ return actionResult;
60
+ }
61
+ }
@@ -0,0 +1,16 @@
1
+ import { IAppDEUIAction } from '@ibiz/model-core';
2
+ import { IUIActionResult, IUILogicParams } from '../../../interface';
3
+ import { UIActionProviderBase } from './ui-action-provider-base';
4
+ /**
5
+ * 前台调用界面行为适配器
6
+ *
7
+ * @author lxm
8
+ * @date 2022-10-25 15:10:51
9
+ * @export
10
+ * @class FrontUIActionProvider
11
+ * @implements {IUIActionProvider}
12
+ */
13
+ export declare class FrontUIActionProvider extends UIActionProviderBase {
14
+ execAction(action: IAppDEUIAction, args: IUILogicParams): Promise<IUIActionResult>;
15
+ }
16
+ //# sourceMappingURL=front-ui-action-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"front-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../../src/utils/uiaction-util/provider/front-ui-action-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAEL,eAAe,EACf,cAAc,EACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,SAAQ,oBAAoB;IACvD,UAAU,CACd,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CAmD5B"}
@@ -0,0 +1,49 @@
1
+ import { StringUtil, RuntimeModelError, ModelError } from '@ibiz-template/core';
2
+ import { OpenAppViewCommand } from '../../../command';
3
+ import { UIActionProviderBase } from './ui-action-provider-base';
4
+ /**
5
+ * 前台调用界面行为适配器
6
+ *
7
+ * @author lxm
8
+ * @date 2022-10-25 15:10:51
9
+ * @export
10
+ * @class FrontUIActionProvider
11
+ * @implements {IUIActionProvider}
12
+ */
13
+ export class FrontUIActionProvider extends UIActionProviderBase {
14
+ async execAction(action, args) {
15
+ const { context, params, data, event } = args;
16
+ const actionResult = {};
17
+ // todo
18
+ switch (action.frontProcessType) {
19
+ case 'OPENHTMLPAGE': {
20
+ const url = StringUtil.fill(action.htmlPageUrl, context, data === null || data === void 0 ? void 0 : data[0]);
21
+ window.open(url, '_blank');
22
+ break;
23
+ }
24
+ case 'TOP':
25
+ case 'WIZARD': {
26
+ const frontPSAppView = action.frontAppViewId;
27
+ if (!frontPSAppView) {
28
+ throw new RuntimeModelError(action, '未配置打开视图');
29
+ }
30
+ // 处理参数
31
+ const { resultContext, resultParams } = await this.handleParams(action, context, data, params);
32
+ const res = await ibiz.commands.execute(OpenAppViewCommand.TAG, frontPSAppView, context, params, { event });
33
+ // 打开视图取消操作
34
+ if (!(res === null || res === void 0 ? void 0 : res.ok)) {
35
+ actionResult.cancel = true;
36
+ }
37
+ if ((res === null || res === void 0 ? void 0 : res.ok) && res.data) {
38
+ actionResult.data = res.data;
39
+ actionResult.nextContext = resultContext;
40
+ actionResult.nextParams = Object.assign(Object.assign({}, params), resultParams);
41
+ }
42
+ break;
43
+ }
44
+ default:
45
+ throw new ModelError(action, `未支持的前台处理模式[${action.frontProcessType}]`);
46
+ }
47
+ return actionResult;
48
+ }
49
+ }
@@ -1,5 +1,5 @@
1
1
  import { BackendUIActionProvider } from './backend-ui-action-provider';
2
- import { CommonSysUIActionProvider } from './common-sys-ui-action-provider';
2
+ import { SysUIActionProvider } from './sys-ui-action-provider';
3
3
  import { FrontUIActionProvider } from './front-ui-action-provider';
4
4
  import { WFWithdrawUIActionProvider } from './wf-withdraw-ui-action-provider';
5
5
  /**
@@ -10,5 +10,5 @@ import { WFWithdrawUIActionProvider } from './wf-withdraw-ui-action-provider';
10
10
  * @export
11
11
  */
12
12
  export declare function presetUIActionProvider(): void;
13
- export { FrontUIActionProvider, CommonSysUIActionProvider, BackendUIActionProvider, WFWithdrawUIActionProvider, };
13
+ export { FrontUIActionProvider, SysUIActionProvider, BackendUIActionProvider, WFWithdrawUIActionProvider, };
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/uiaction-util/provider/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E;;;;;;GAMG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAkB7C;AAED,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,GAC3B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { registerUIActionProvider } from '../../../register';
2
+ import { BackendUIActionProvider } from './backend-ui-action-provider';
3
+ import { SysUIActionProvider } from './sys-ui-action-provider';
4
+ import { FrontUIActionProvider } from './front-ui-action-provider';
5
+ import { WFWithdrawUIActionProvider } from './wf-withdraw-ui-action-provider';
6
+ /**
7
+ * 预置默认的界面行为适配器
8
+ *
9
+ * @author lxm
10
+ * @date 2022-09-19 22:09:50
11
+ * @export
12
+ */
13
+ export function presetUIActionProvider() {
14
+ // *前台调用
15
+ const frontUIActionProvider = new FrontUIActionProvider();
16
+ registerUIActionProvider('FRONT', () => frontUIActionProvider);
17
+ // *后台调用
18
+ const backendUIActionProvider = new BackendUIActionProvider();
19
+ registerUIActionProvider('BACKEND', () => backendUIActionProvider);
20
+ // *系统预置界面行为
21
+ const sysUIActionProvider = new SysUIActionProvider();
22
+ registerUIActionProvider('SYS', () => sysUIActionProvider);
23
+ // 预置插件
24
+ // 工作流撤回
25
+ const wfWithdrawUIActionProvider = new WFWithdrawUIActionProvider();
26
+ registerUIActionProvider('DEUIACTION_WFWithdraw', () => wfWithdrawUIActionProvider);
27
+ }
28
+ export { FrontUIActionProvider, SysUIActionProvider, BackendUIActionProvider, WFWithdrawUIActionProvider, };
@@ -0,0 +1,16 @@
1
+ import { IAppDEUIAction } from '@ibiz/model-core';
2
+ import { IUIActionResult, IUILogicParams } from '../../../interface';
3
+ import { UIActionProviderBase } from './ui-action-provider-base';
4
+ /**
5
+ * 系统预置界面行为适配器
6
+ *
7
+ * @author lxm
8
+ * @date 2022-10-25 15:10:51
9
+ * @export
10
+ * @class SysUIActionProvider
11
+ * @implements {IUIActionProvider}
12
+ */
13
+ export declare class SysUIActionProvider extends UIActionProviderBase {
14
+ execAction(action: IAppDEUIAction, args: IUILogicParams): Promise<IUIActionResult>;
15
+ }
16
+ //# sourceMappingURL=sys-ui-action-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sys-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../../src/utils/uiaction-util/provider/sys-ui-action-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;;;GAQG;AACH,qBAAa,mBAAoB,SAAQ,oBAAoB;IACrD,UAAU,CACd,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CAkB5B"}
@@ -0,0 +1,27 @@
1
+ import { UIActionProviderBase } from './ui-action-provider-base';
2
+ /**
3
+ * 系统预置界面行为适配器
4
+ *
5
+ * @author lxm
6
+ * @date 2022-10-25 15:10:51
7
+ * @export
8
+ * @class SysUIActionProvider
9
+ * @implements {IUIActionProvider}
10
+ */
11
+ export class SysUIActionProvider extends UIActionProviderBase {
12
+ async execAction(action, args) {
13
+ const { view } = args;
14
+ const uIActionTag = action.uiactionTag;
15
+ const result = {};
16
+ await view.call(uIActionTag, args);
17
+ // 需要关闭视图的
18
+ if (['SaveAndExit', 'Exit', 'RemoveAndExit'].indexOf(uIActionTag) !== -1) {
19
+ result.closeView = true;
20
+ }
21
+ // 需要刷新界面的
22
+ if (['Refresh', 'New', 'Edit'].indexOf(uIActionTag) !== -1) {
23
+ result.refresh = true;
24
+ }
25
+ return result;
26
+ }
27
+ }
@@ -1,15 +1,23 @@
1
1
  import { IAppDEUIAction } from '@ibiz/model-core';
2
- import { IUIActionHandler, IUIActionResult } from '../../../interface';
2
+ import { IUIActionProvider, IUIActionResult, IUILogicParams } from '../../../interface';
3
3
  /**
4
4
  * 界面行为处理器基类
5
5
  *
6
6
  * @author lxm
7
7
  * @date 2022-10-25 14:10:31
8
8
  * @export
9
- * @class UIActionHandler
9
+ * @class UIActionProviderBase
10
10
  */
11
- export declare abstract class UIActionHandler implements IUIActionHandler {
12
- exec(action: IAppDEUIAction, context: IContext, data: IDatum[], params: IParams, opts?: IData): Promise<IUIActionResult>;
11
+ export declare abstract class UIActionProviderBase implements IUIActionProvider {
12
+ /**
13
+ * 界面行为执行入口,处理公共逻辑,子类一般不要重写
14
+ * @author lxm
15
+ * @date 2023-05-08 10:02:10
16
+ * @param {IAppDEUIAction} action
17
+ * @param {IUILogicParams} params
18
+ * @return {*} {Promise<IUIActionResult>}
19
+ */
20
+ exec(action: IAppDEUIAction, args: IUILogicParams): Promise<IUIActionResult>;
13
21
  /**
14
22
  * 有错误和取消时对result做的处理
15
23
  * @author lxm
@@ -42,7 +50,7 @@ export declare abstract class UIActionHandler implements IUIActionHandler {
42
50
  * @param {(IData | undefined)} [opts]
43
51
  * @returns {*} {Promise<IUIActionResult>}
44
52
  */
45
- abstract execAction(action: IAppDEUIAction, context: IContext, data: IDatum[], params: IParams, opts?: IData | undefined): Promise<IUIActionResult>;
53
+ abstract execAction(action: IAppDEUIAction, params: IUILogicParams): Promise<IUIActionResult>;
46
54
  /**
47
55
  * 执行后续界面行为
48
56
  *
@@ -55,7 +63,7 @@ export declare abstract class UIActionHandler implements IUIActionHandler {
55
63
  * @param {(IData | undefined)} [opts]
56
64
  * @returns {*} {Promise<void>}
57
65
  */
58
- doNextAction(action: IAppDEUIAction, context: IContext, data: IDatum[], params: IParams, opts?: IData | undefined): Promise<IUIActionResult | void>;
66
+ doNextAction(action: IAppDEUIAction, params: IUILogicParams): Promise<IUIActionResult | undefined>;
59
67
  /**
60
68
  * 参数处理(根据数据目标和数据参数,导航参数)
61
69
  *
@@ -79,4 +87,4 @@ export declare abstract class UIActionHandler implements IUIActionHandler {
79
87
  resultParams: IParams;
80
88
  }>;
81
89
  }
82
- //# sourceMappingURL=ui-action-handler.d.ts.map
90
+ //# sourceMappingURL=ui-action-provider-base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-action-provider-base.d.ts","sourceRoot":"","sources":["../../../../src/utils/uiaction-util/provider/ui-action-provider-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,cAAc,EACf,MAAM,oBAAoB,CAAC;AAI5B;;;;;;;GAOG;AACH,8BAAsB,oBAAqB,YAAW,iBAAiB;IACrE;;;;;;;OAOG;IACG,IAAI,CACR,MAAM,EAAE,cAAc,EACtB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;IAwD3B;;;;;;;;OAQG;IACH,SAAS,CAAC,WAAW,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe;IAO/D;;;;;;;OAOG;IACG,SAAS,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAOzD;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,UAAU,CACjB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,eAAe,CAAC;IAE3B;;;;;;;;;;;OAWG;IACG,YAAY,CAChB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAOvC;;;;;;;;;;;;;;;;OAgBG;cACa,YAAY,CAC1B,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,MAAM,EAAE,EACd,MAAM,EAAE,OAAO,GACd,OAAO,CAAC;QACT,aAAa,EAAE,QAAQ,CAAC;QACxB,UAAU,EAAE,MAAM,EAAE,CAAC;QACrB,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CAgEH"}
@@ -1,15 +1,24 @@
1
1
  import { convertNavData } from '../../nav-params/nav-params';
2
- import { AppDEUIActionUtil } from '../app-de-ui-action-util';
2
+ import { UIActionUtil } from '../uiaction-util';
3
3
  /**
4
4
  * 界面行为处理器基类
5
5
  *
6
6
  * @author lxm
7
7
  * @date 2022-10-25 14:10:31
8
8
  * @export
9
- * @class UIActionHandler
9
+ * @class UIActionProviderBase
10
10
  */
11
- export class UIActionHandler {
12
- async exec(action, context, data, params, opts) {
11
+ export class UIActionProviderBase {
12
+ /**
13
+ * 界面行为执行入口,处理公共逻辑,子类一般不要重写
14
+ * @author lxm
15
+ * @date 2023-05-08 10:02:10
16
+ * @param {IAppDEUIAction} action
17
+ * @param {IUILogicParams} params
18
+ * @return {*} {Promise<IUIActionResult>}
19
+ */
20
+ async exec(action, args) {
21
+ const { context, params, data } = args;
13
22
  const result = {
14
23
  refresh: action.reloadData,
15
24
  closeView: action.closeEditView,
@@ -26,14 +35,14 @@ export class UIActionHandler {
26
35
  return this.returnError(result);
27
36
  }
28
37
  // ** 执行不同类型的界面行为独有逻辑,并且合并result
29
- const _result = await this.execAction(action, context, data, params, opts);
38
+ const _result = await this.execAction(action, args);
30
39
  Object.assign(result, _result);
31
40
  // 如果是取消操作则中断后续处理逻辑。
32
41
  if (result.cancel === true) {
33
42
  return this.returnError(result);
34
43
  }
35
44
  // ** 后续界面行为
36
- const nextResult = await this.doNextAction(action, result.nextContext || context, result.data || data, result.nextParams || params, opts);
45
+ const nextResult = await this.doNextAction(action, Object.assign(Object.assign({}, args), { context: result.nextContext || context, data: result.data || data, params: result.nextParams || params }));
37
46
  if (nextResult) {
38
47
  Object.assign(result, nextResult);
39
48
  if (nextResult.cancel === true) {
@@ -93,10 +102,10 @@ export class UIActionHandler {
93
102
  * @param {(IData | undefined)} [opts]
94
103
  * @returns {*} {Promise<void>}
95
104
  */
96
- async doNextAction(action, context, data, params, opts) {
97
- const nextAction = undefined;
98
- if (nextAction) {
99
- return AppDEUIActionUtil.exec(nextAction, context, data, params, opts);
105
+ async doNextAction(action, params) {
106
+ const nextActionId = action.nextId;
107
+ if (nextActionId) {
108
+ return UIActionUtil.exec(nextActionId, params);
100
109
  }
101
110
  }
102
111
  /**
@@ -0,0 +1,16 @@
1
+ import { IAppDEUIAction } from '@ibiz/model-core';
2
+ import { IUIActionResult, IUILogicParams } from '../../../interface';
3
+ import { UIActionProviderBase } from './ui-action-provider-base';
4
+ /**
5
+ * 工作流流程撤回界面行为适配器
6
+ *
7
+ * @author lxm
8
+ * @date 2022-10-25 15:10:51
9
+ * @export
10
+ * @class WFWithdrawUIActionProvider
11
+ * @implements {IUIActionProvider}
12
+ */
13
+ export declare class WFWithdrawUIActionProvider extends UIActionProviderBase {
14
+ execAction(_action: IAppDEUIAction, args: IUILogicParams): Promise<IUIActionResult>;
15
+ }
16
+ //# sourceMappingURL=wf-withdraw-ui-action-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wf-withdraw-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../../src/utils/uiaction-util/provider/wf-withdraw-ui-action-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;;;GAQG;AACH,qBAAa,0BAA2B,SAAQ,oBAAoB;IAC5D,UAAU,CACd,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,eAAe,CAAC;CAgB5B"}
@@ -0,0 +1,28 @@
1
+ import { UIActionProviderBase } from './ui-action-provider-base';
2
+ /**
3
+ * 工作流流程撤回界面行为适配器
4
+ *
5
+ * @author lxm
6
+ * @date 2022-10-25 15:10:51
7
+ * @export
8
+ * @class WFWithdrawUIActionProvider
9
+ * @implements {IUIActionProvider}
10
+ */
11
+ export class WFWithdrawUIActionProvider extends UIActionProviderBase {
12
+ async execAction(_action, args) {
13
+ const { view } = args;
14
+ const isWithdraw = await ibiz.modal.confirm({
15
+ title: '提示',
16
+ desc: '是否确认执行撤回操作?',
17
+ });
18
+ let isCloseView = false;
19
+ if (isWithdraw && view) {
20
+ await view.call('WFWithdraw', args);
21
+ isCloseView = true;
22
+ }
23
+ return {
24
+ refresh: false,
25
+ closeView: isCloseView,
26
+ };
27
+ }
28
+ }
@@ -1,13 +1,13 @@
1
- import { IUIActionResult } from '../../interface';
1
+ import { IUIActionResult, IUILogicParams } from '../../interface';
2
2
  /**
3
- * 应用实体界面行为
3
+ * 界面行为工具类
4
4
  *
5
5
  * @author chitanda
6
6
  * @date 2022-08-26 00:08:17
7
7
  * @export
8
8
  * @class AppDEUIActionUtil
9
9
  */
10
- export declare class AppDEUIActionUtil {
10
+ export declare class UIActionUtil {
11
11
  /**
12
12
  * 执行界面行为
13
13
  *
@@ -21,6 +21,6 @@ export declare class AppDEUIActionUtil {
21
21
  * @param {IData} [opts]
22
22
  * @return {*} {Promise<IUIActionResult>}
23
23
  */
24
- static exec(actionid: string, context: IContext, data: IDatum[] | null, params: IParams, opts?: IData): Promise<IUIActionResult>;
24
+ static exec(actionId: string, params: IUILogicParams): Promise<IUIActionResult>;
25
25
  }
26
- //# sourceMappingURL=app-de-ui-action-util.d.ts.map
26
+ //# sourceMappingURL=uiaction-util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uiaction-util.d.ts","sourceRoot":"","sources":["../../../src/utils/uiaction-util/uiaction-util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGlE;;;;;;;GAOG;AACH,qBAAa,YAAY;IACvB;;;;;;;;;;;;OAYG;WACU,IAAI,CACf,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,eAAe,CAAC;CAQ5B"}
@@ -0,0 +1,33 @@
1
+ import { RuntimeError } from '@ibiz-template/core';
2
+ import { getUIActionProvider } from '../../register';
3
+ /**
4
+ * 界面行为工具类
5
+ *
6
+ * @author chitanda
7
+ * @date 2022-08-26 00:08:17
8
+ * @export
9
+ * @class AppDEUIActionUtil
10
+ */
11
+ export class UIActionUtil {
12
+ /**
13
+ * 执行界面行为
14
+ *
15
+ * @author chitanda
16
+ * @date 2022-08-29 15:08:47
17
+ * @static
18
+ * @param {IAppDEUIAction} action
19
+ * @param {IContext} context
20
+ * @param {(IData | null)} data
21
+ * @param {IParams} [params]
22
+ * @param {IData} [opts]
23
+ * @return {*} {Promise<IUIActionResult>}
24
+ */
25
+ static async exec(actionId, params) {
26
+ const action = await ibiz.hub.getUIAction(actionId);
27
+ if (!action) {
28
+ throw new RuntimeError(`没找到${actionId}的界面行为模型`);
29
+ }
30
+ const provider = await getUIActionProvider(action);
31
+ return provider.exec(action, params);
32
+ }
33
+ }
@@ -32,7 +32,7 @@ export class ViewLayoutUtil {
32
32
  */
33
33
  fill(viewModel) {
34
34
  const { viewLayoutPanel } = viewModel;
35
- if (viewLayoutPanel && viewLayoutPanel.useDefaultLayout === true) {
35
+ if (!viewLayoutPanel || viewLayoutPanel.useDefaultLayout === true) {
36
36
  const { viewType, viewStyle } = viewModel;
37
37
  const tag = `${viewType}_${viewStyle}`;
38
38
  if (this.cache.has(tag)) {
@@ -94,7 +94,7 @@ export class ViewLogicEventTrigger extends ViewLogicTrigger {
94
94
  result = await Promise.all(matchLogics.map(async (viewlogic) => {
95
95
  return executeViewLogic(viewlogic, event.context || this.defaultContext, event.data || [], event.params || this.defaultParams, {
96
96
  event: event.event,
97
- ctx: event.ctx,
97
+ // ctx: event.ctx,
98
98
  });
99
99
  }));
100
100
  }
@@ -1,4 +1,4 @@
1
- import { IAppViewLogic } from '@ibiz/model-core';
1
+ import { IAppUINewDataLogic, IAppUIOpenDataLogic, IAppViewLogic } from '@ibiz/model-core';
2
2
  import { IUIActionResult } from '../interface';
3
3
  /**
4
4
  * 执行视图逻辑
@@ -13,4 +13,30 @@ import { IUIActionResult } from '../interface';
13
13
  * @param {IData} [opts] 额外参数,event是js原生事件
14
14
  */
15
15
  export declare function executeViewLogic(viewLogic: IAppViewLogic, context: IContext, data: IDatum[] | null, params: IParams, opts?: IData): Promise<IUIActionResult>;
16
+ /**
17
+ * 执行应用预置界面逻辑opendata
18
+ *
19
+ * @author lxm
20
+ * @date 2022-08-22 14:08:03
21
+ * @export
22
+ * @param {IPSAppUIOpenDataLogic} appUILogic 应用预置界面逻辑opendata模型对象
23
+ * @param {IContext} context 上下文参数
24
+ * @param {(IData | null)} data 数据集合
25
+ * @param {IParams} params 视图参数
26
+ * @param {IData} [opts] 额外参数,event是js原生事件
27
+ */
28
+ export declare function executeOpenDataAppUILogic(appUILogic: IAppUIOpenDataLogic, context: IContext, data: IDatum[] | null, params: IParams, opts?: IData): Promise<IUIActionResult>;
29
+ /**
30
+ * 执行应用预置界面逻辑newdata
31
+ *
32
+ * @author lxm
33
+ * @date 2022-08-22 14:08:03
34
+ * @export
35
+ * @param {IPSAppUINewDataLogic} appUILogic 应用预置界面逻辑newdata模型对象
36
+ * @param {IContext} context 上下文参数
37
+ * @param {(IData | null)} data 数据集合
38
+ * @param {IParams} params 视图参数
39
+ * @param {IData} [opts] 额外参数,event是js原生事件
40
+ */
41
+ export declare function executeNewDataAppUILogic(appUILogic: IAppUINewDataLogic, context: IContext, data: IDatum[] | null, params: IParams, opts?: IData): Promise<IUIActionResult>;
16
42
  //# sourceMappingURL=view-logic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-logic.d.ts","sourceRoot":"","sources":["../../src/view-logic/view-logic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/C;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EACrB,MAAM,EAAE,OAAO,EACf,IAAI,GAAE,KAAU,GACf,OAAO,CAAC,eAAe,CAAC,CA+C1B"}
1
+ {"version":3,"file":"view-logic.d.ts","sourceRoot":"","sources":["../../src/view-logic/view-logic.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAK/C;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EACrB,MAAM,EAAE,OAAO,EACf,IAAI,GAAE,KAAU,GACf,OAAO,CAAC,eAAe,CAAC,CA6C1B;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,yBAAyB,CAC7C,UAAU,EAAE,mBAAmB,EAC/B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EACrB,MAAM,EAAE,OAAO,EACf,IAAI,GAAE,KAAU,GACf,OAAO,CAAC,eAAe,CAAC,CA6C1B;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,wBAAwB,CAC5C,UAAU,EAAE,kBAAkB,EAC9B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EACrB,MAAM,EAAE,OAAO,EACf,IAAI,GAAE,KAAU,GACf,OAAO,CAAC,eAAe,CAAC,CA2C1B"}