@ibiz-template/mob-vue3-components 0.0.55 → 0.7.41-alpha.10

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 (379) hide show
  1. package/dist/chart-GD7RhhzY.js.map +1 -1
  2. package/dist/ibiz-markdown-editor-KT8uap_I.js.map +1 -1
  3. package/dist/{index-O-XmMUt3.js → index-JSf84k9b.js} +2 -2
  4. package/dist/index-JSf84k9b.js.map +1 -0
  5. package/dist/{index-NP0RBfWK.js → index-OsiEgFnw.js} +2 -2
  6. package/dist/index-OsiEgFnw.js.map +1 -0
  7. package/dist/index-pP9MJGoH.js +76 -0
  8. package/dist/index-pP9MJGoH.js.map +1 -0
  9. package/dist/index.min.css +8 -8
  10. package/dist/index.system.min.js +1 -1
  11. package/dist/{quill-t_EJUjVi.js → quill-EpIYtlVK.js} +2 -2
  12. package/dist/{quill-t_EJUjVi.js.map → quill-EpIYtlVK.js.map} +1 -1
  13. package/dist/{quill-editor-ybZrwyoG.js → quill-editor-U1UE37xw.js} +2 -2
  14. package/dist/quill-editor-U1UE37xw.js.map +1 -0
  15. package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-v7UO7Unq.js} +2 -2
  16. package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-v7UO7Unq.js.map} +1 -1
  17. package/dist/tree-nburezSg.js.map +1 -1
  18. package/es/_virtual/index17.mjs +2 -2
  19. package/es/_virtual/index18.mjs +2 -2
  20. package/es/common/button-list/button-list.d.ts +1 -0
  21. package/es/common/carousel/carousel.d.ts +2 -2
  22. package/es/common/cropping/cropping.d.ts +4 -4
  23. package/es/common/date-range-picker/components/range-picker/range-picker.d.ts +1 -1
  24. package/es/common/date-range-picker/date-range-picker.d.ts +3 -3
  25. package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
  26. package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
  27. package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +8 -8
  28. package/es/common/emoji-select/emoji-select.d.ts +3 -3
  29. package/es/common/emoji-select/icons/search.d.ts +1 -0
  30. package/es/common/index.mjs +2 -1
  31. package/es/common/md-ctrl-setting/md-ctrl-setting.d.ts +3 -3
  32. package/es/common/preset-view-back/preset-view-back.d.ts +2 -2
  33. package/es/common/preset-view-header/preset-view-header.d.ts +1 -1
  34. package/es/common/preset-view-header/preset-view-header.mjs +3 -0
  35. package/es/common/rawitem/rawitem.d.ts +2 -2
  36. package/es/control/app-menu/app-menu.d.ts +31 -5
  37. package/es/control/app-menu/app-menu.mjs +13 -0
  38. package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +1 -1
  39. package/es/control/app-menu/index.d.ts +6 -6
  40. package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
  41. package/es/control/app-menu-icon-view/index.d.ts +5 -5
  42. package/es/control/app-menu-list-view/app-menu-list-view.css +1 -1
  43. package/es/control/app-menu-list-view/app-menu-list-view.d.ts +5 -5
  44. package/es/control/app-menu-list-view/app-menu-list-view.mjs +57 -32
  45. package/es/control/app-menu-list-view/index.d.ts +5 -5
  46. package/es/control/calendar/calendar.d.ts +46 -6
  47. package/es/control/calendar/calendar.mjs +20 -0
  48. package/es/control/calendar/index.d.ts +7 -7
  49. package/es/control/caption-bar/caption-bar.d.ts +31 -5
  50. package/es/control/caption-bar/caption-bar.mjs +13 -0
  51. package/es/control/caption-bar/index.d.ts +5 -5
  52. package/es/control/chart/chart.d.ts +45 -5
  53. package/es/control/chart/chart.mjs +20 -0
  54. package/es/control/dashboard/dashboard.d.ts +32 -6
  55. package/es/control/dashboard/dashboard.mjs +13 -0
  56. package/es/control/dashboard/index.d.ts +6 -6
  57. package/es/control/dashboard/portlet/portlet-part/portlet-part.state.d.ts +1 -0
  58. package/es/control/dashboard/portlet/portlet-part/portlet-part.state.mjs +1 -0
  59. package/es/control/data-view/data-view.d.ts +49 -7
  60. package/es/control/data-view/data-view.mjs +23 -3
  61. package/es/control/data-view/index.d.ts +7 -7
  62. package/es/control/drbar/drbar.controller.d.ts +1 -0
  63. package/es/control/drbar/drbar.controller.mjs +3 -0
  64. package/es/control/drbar/drbar.d.ts +45 -16
  65. package/es/control/drbar/drbar.mjs +19 -4
  66. package/es/control/drbar/index.d.ts +7 -16
  67. package/es/control/drtab/drtab.controller.d.ts +1 -0
  68. package/es/control/drtab/drtab.controller.mjs +3 -0
  69. package/es/control/drtab/drtab.d.ts +33 -7
  70. package/es/control/drtab/drtab.mjs +13 -0
  71. package/es/control/drtab/index.d.ts +7 -7
  72. package/es/control/form/edit-form/edit-form.mjs +44 -0
  73. package/es/control/form/form/form.d.ts +7 -1
  74. package/es/control/form/form/form.mjs +3 -0
  75. package/es/control/form/form/index.d.ts +1 -1
  76. package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  77. package/es/control/form/form-detail/form-item/form-item-container/form-item-container.d.ts +1 -1
  78. package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
  79. package/es/control/form/form-detail/form-item/index.d.ts +2 -2
  80. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.d.ts +1 -1
  81. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +4 -1
  82. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
  83. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +1 -0
  84. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +9 -3
  85. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +4 -0
  86. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +6 -6
  87. package/es/control/form/search-form/index.d.ts +5 -5
  88. package/es/control/form/search-form/search-form.d.ts +31 -5
  89. package/es/control/form/search-form/search-form.mjs +13 -0
  90. package/es/control/list/list/index.d.ts +7 -7
  91. package/es/control/list/list/list.d.ts +81 -7
  92. package/es/control/list/list/list.mjs +37 -0
  93. package/es/control/list/list-render-util.d.ts +1 -0
  94. package/es/control/list/md-ctrl/index.d.ts +9 -9
  95. package/es/control/list/md-ctrl/md-ctrl.d.ts +71 -9
  96. package/es/control/list/md-ctrl/md-ctrl.mjs +31 -0
  97. package/es/control/pickup-view-panel/index.d.ts +7 -7
  98. package/es/control/pickup-view-panel/pickup-view-panel.controller.d.ts +2 -0
  99. package/es/control/pickup-view-panel/pickup-view-panel.controller.mjs +3 -0
  100. package/es/control/pickup-view-panel/pickup-view-panel.d.ts +47 -7
  101. package/es/control/pickup-view-panel/pickup-view-panel.mjs +20 -0
  102. package/es/control/search-bar/filter-field-select/filter-field-select.d.ts +3 -3
  103. package/es/control/search-bar/filter-tree/filter-tree.d.ts +6 -6
  104. package/es/control/search-bar/index.d.ts +5 -5
  105. package/es/control/search-bar/search-bar.d.ts +31 -5
  106. package/es/control/search-bar/search-bar.mjs +13 -0
  107. package/es/control/tab-exp-panel/index.d.ts +5 -5
  108. package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
  109. package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
  110. package/es/control/toolbar/index.d.ts +7 -7
  111. package/es/control/toolbar/popper-toolbar/popper-toolbar.d.ts +7 -7
  112. package/es/control/toolbar/toolbar.d.ts +33 -7
  113. package/es/control/toolbar/toolbar.mjs +13 -0
  114. package/es/control/tree/tree.d.ts +48 -6
  115. package/es/control/tree/tree.mjs +21 -0
  116. package/es/control/tree-exp-bar/index.d.ts +5 -5
  117. package/es/control/tree-exp-bar/tree-exp-bar.d.ts +49 -5
  118. package/es/control/tree-exp-bar/tree-exp-bar.mjs +22 -0
  119. package/es/control/wizard-panel/index.d.ts +5 -5
  120. package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
  121. package/es/control/wizard-panel/wizard-panel.mjs +13 -0
  122. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +22 -13
  123. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +17 -8
  124. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +16 -9
  125. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +15 -8
  126. package/es/editor/common/data-mpicker/ibiz-data-mpicker.d.ts +4 -4
  127. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +18 -11
  128. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +144 -26
  129. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +18 -11
  130. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +17 -9
  131. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +15 -8
  132. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +22 -10
  133. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +20 -13
  134. package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +17 -10
  135. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +16 -8
  136. package/es/editor/html/quill-editor/quill-editor.d.ts +15 -0
  137. package/es/editor/index.mjs +7 -1
  138. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
  139. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +23 -9
  140. package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.d.ts +15 -8
  141. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +16 -9
  142. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +16 -8
  143. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +17 -8
  144. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +23 -8
  145. package/es/editor/span/span/span.d.ts +15 -3
  146. package/es/editor/span/span-link/span-link.d.ts +16 -8
  147. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
  148. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +16 -8
  149. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +17 -8
  150. package/es/editor/text-box/index.d.ts +1 -0
  151. package/es/editor/text-box/index.mjs +1 -0
  152. package/es/editor/text-box/input/input.css +1 -1
  153. package/es/editor/text-box/input/input.d.ts +18 -8
  154. package/es/editor/text-box/input/input.mjs +23 -2
  155. package/es/editor/text-box/signature/signature.css +1 -0
  156. package/es/editor/text-box/signature/signature.d.ts +104 -0
  157. package/es/editor/text-box/signature/signature.mjs +270 -0
  158. package/es/editor/text-box/text-box-editor.provider.mjs +3 -0
  159. package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +19 -8
  160. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +24 -12
  161. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +27 -13
  162. package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +18 -8
  163. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +24 -12
  164. package/es/index.mjs +1 -0
  165. package/es/locale/en/index.d.ts +47 -4
  166. package/es/locale/en/index.mjs +14 -0
  167. package/es/locale/zh-CN/index.d.ts +47 -4
  168. package/es/locale/zh-CN/index.mjs +14 -0
  169. package/es/mob-app/App.mjs +19 -2
  170. package/es/mob-app/components/router-shell/router-shell.d.ts +3 -3
  171. package/es/mob-app/guard/auth-guard/auth-guard.mjs +141 -55
  172. package/es/mob-app/main.mjs +1 -0
  173. package/es/mob-app/util/unauthorized-handler/unauthorized-handler.d.ts +13 -5
  174. package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +50 -15
  175. package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs +1 -1
  176. package/es/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.mjs +1 -1
  177. package/es/panel-component/async-action/index.d.ts +2 -2
  178. package/es/panel-component/async-action/mob-async-action.d.ts +7 -2
  179. package/es/panel-component/auth-sso/auth-sso.css +1 -1
  180. package/es/panel-component/auth-sso/auth-sso.d.ts +24 -1
  181. package/es/panel-component/auth-sso/auth-sso.mjs +84 -6
  182. package/es/panel-component/auth-sso/index.d.ts +7 -1
  183. package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +18 -0
  184. package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
  185. package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +23 -37
  186. package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +23 -37
  187. package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
  188. package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
  189. package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +8 -12
  190. package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +8 -12
  191. package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +3 -2
  192. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +1 -0
  193. package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
  194. package/es/panel-component/panel-app-title/panel-app-title.mjs +6 -0
  195. package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +14 -28
  196. package/es/panel-component/panel-app-title/panel-app-title.state.mjs +14 -28
  197. package/es/panel-component/panel-button/panel-button.controller.d.ts +4 -5
  198. package/es/panel-component/panel-button/panel-button.controller.mjs +2 -3
  199. package/es/panel-component/panel-button/panel-button.d.ts +17 -0
  200. package/es/panel-component/panel-button/panel-button.mjs +6 -0
  201. package/es/panel-component/panel-button/panel-button.state.d.ts +4 -6
  202. package/es/panel-component/panel-button/panel-button.state.mjs +4 -6
  203. package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
  204. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
  205. package/es/panel-component/panel-button-list/panel-button-list.d.ts +17 -0
  206. package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
  207. package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
  208. package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
  209. package/es/panel-component/panel-carousel/index.d.ts +2 -2
  210. package/es/panel-component/panel-carousel/panel-carousel.controller.d.ts +2 -4
  211. package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +2 -4
  212. package/es/panel-component/panel-carousel/panel-carousel.d.ts +19 -2
  213. package/es/panel-component/panel-carousel/panel-carousel.mjs +6 -0
  214. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +2 -4
  215. package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +2 -4
  216. package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
  217. package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
  218. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +2 -4
  219. package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +2 -4
  220. package/es/panel-component/panel-video-player/panel-video-player.controller.d.ts +2 -4
  221. package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -4
  222. package/es/panel-component/panel-video-player/panel-video-player.d.ts +11 -0
  223. package/es/panel-component/panel-video-player/panel-video-player.mjs +3 -0
  224. package/es/panel-component/user-message/index.d.ts +3 -3
  225. package/es/panel-component/user-message/user-message.d.ts +8 -3
  226. package/es/panel-component/view-content-panel-container/view-content-panel-container.d.ts +5 -0
  227. package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +6 -0
  228. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.d.ts +17 -0
  229. package/es/panel-component/view-footer-panel-container/view-footer-panel-container.mjs +6 -0
  230. package/es/panel-component/view-header-panel-container/index.d.ts +1 -0
  231. package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +18 -0
  232. package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +22 -1
  233. package/es/panel-component/wf-action-button/index.d.ts +1 -1
  234. package/es/panel-component/wf-action-button/wf-action-button.controller.d.ts +4 -6
  235. package/es/panel-component/wf-action-button/wf-action-button.controller.mjs +2 -4
  236. package/es/panel-component/wf-action-button/wf-action-button.d.ts +17 -0
  237. package/es/panel-component/wf-action-button/wf-action-button.mjs +6 -0
  238. package/es/panel-component/wf-action-button/wf-action-button.state.d.ts +2 -4
  239. package/es/panel-component/wf-action-button/wf-action-button.state.mjs +2 -4
  240. package/es/panel-component/wf-step-trace/index.d.ts +1 -1
  241. package/es/panel-component/wf-step-trace/wf-step-trace.controller.d.ts +2 -4
  242. package/es/panel-component/wf-step-trace/wf-step-trace.controller.mjs +2 -4
  243. package/es/panel-component/wf-step-trace/wf-step-trace.d.ts +12 -1
  244. package/es/panel-component/wf-step-trace/wf-step-trace.mjs +3 -0
  245. package/es/panel-component/wf-step-trace/wf-step-trace.state.d.ts +2 -4
  246. package/es/panel-component/wf-step-trace/wf-step-trace.state.mjs +2 -4
  247. package/es/util/app-drawer/app-drawer-component.d.ts +1 -1
  248. package/es/util/app-modal/app-modal-component.d.ts +2 -2
  249. package/es/util/app-util/app-util.d.ts +66 -1
  250. package/es/util/app-util/app-util.mjs +66 -0
  251. package/es/util/open-view-util/open-view-util.mjs +6 -6
  252. package/es/util/scan-qrcode/scan-qrcode.d.ts +3 -3
  253. package/es/view/login-view/login-view.d.ts +1 -1
  254. package/es/view/portal-view/index.d.ts +7 -7
  255. package/es/view/portal-view/portal-view.d.ts +7 -7
  256. package/es/view-engine/login-view.engine.d.ts +2 -2
  257. package/es/view-engine/login-view.engine.mjs +2 -0
  258. package/es/view-engine/mob-data-view-engine.d.ts +2 -2
  259. package/es/view-engine/mob-data-view-engine.mjs +0 -1
  260. package/es/view-engine/mob-edit-view.engine.d.ts +2 -2
  261. package/es/view-engine/mob-edit-view.engine.mjs +5 -1
  262. package/es/view-engine/mob-md-view-engine.d.ts +2 -2
  263. package/es/view-engine/mob-md-view-engine.mjs +0 -1
  264. package/es/view-engine/mob-mpickup-view-engine.d.ts +20 -14
  265. package/es/view-engine/mob-mpickup-view-engine.mjs +34 -26
  266. package/es/view-engine/mob-opt-view.engine.d.ts +2 -2
  267. package/es/view-engine/mob-pickup-md-view.engine.d.ts +2 -2
  268. package/es/view-engine/mob-pickup-md-view.engine.mjs +0 -1
  269. package/es/view-engine/mob-pickup-view.engine.d.ts +9 -2
  270. package/es/view-engine/mob-pickup-view.engine.mjs +15 -1
  271. package/es/view-engine/mob-tab-search-view.engine.d.ts +2 -2
  272. package/es/view-engine/mob-tab-search-view.engine.mjs +0 -1
  273. package/es/view-engine/mob-wf-dyna-action-view.engine.d.ts +2 -2
  274. package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +0 -1
  275. package/es/view-engine/mob-wf-dyna-edit-view.engine.d.ts +2 -2
  276. package/es/view-engine/mob-wf-dyna-edit-view.engine.mjs +0 -1
  277. package/es/view-engine/mob-wf-dyna-start-view.engine.d.ts +2 -2
  278. package/es/view-engine/mob-wf-dyna-start-view.engine.mjs +0 -1
  279. package/lib/_virtual/index17.cjs +2 -2
  280. package/lib/_virtual/index18.cjs +2 -2
  281. package/lib/common/index.cjs +1 -0
  282. package/lib/common/preset-view-header/preset-view-header.cjs +3 -0
  283. package/lib/control/app-menu/app-menu.cjs +13 -0
  284. package/lib/control/app-menu-list-view/app-menu-list-view.cjs +56 -31
  285. package/lib/control/app-menu-list-view/app-menu-list-view.css +1 -1
  286. package/lib/control/calendar/calendar.cjs +20 -0
  287. package/lib/control/caption-bar/caption-bar.cjs +13 -0
  288. package/lib/control/chart/chart.cjs +20 -0
  289. package/lib/control/dashboard/dashboard.cjs +13 -0
  290. package/lib/control/dashboard/portlet/portlet-part/portlet-part.state.cjs +1 -0
  291. package/lib/control/data-view/data-view.cjs +23 -3
  292. package/lib/control/drbar/drbar.cjs +19 -4
  293. package/lib/control/drbar/drbar.controller.cjs +3 -0
  294. package/lib/control/drtab/drtab.cjs +13 -0
  295. package/lib/control/drtab/drtab.controller.cjs +3 -0
  296. package/lib/control/form/edit-form/edit-form.cjs +44 -0
  297. package/lib/control/form/form/form.cjs +3 -0
  298. package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
  299. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +4 -1
  300. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +1 -0
  301. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.cjs +4 -0
  302. package/lib/control/form/search-form/search-form.cjs +13 -0
  303. package/lib/control/list/list/list.cjs +37 -0
  304. package/lib/control/list/md-ctrl/md-ctrl.cjs +31 -0
  305. package/lib/control/pickup-view-panel/pickup-view-panel.cjs +20 -0
  306. package/lib/control/pickup-view-panel/pickup-view-panel.controller.cjs +3 -0
  307. package/lib/control/search-bar/search-bar.cjs +13 -0
  308. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
  309. package/lib/control/toolbar/toolbar.cjs +13 -0
  310. package/lib/control/tree/tree.cjs +21 -0
  311. package/lib/control/tree-exp-bar/tree-exp-bar.cjs +22 -0
  312. package/lib/control/wizard-panel/wizard-panel.cjs +13 -0
  313. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +144 -26
  314. package/lib/editor/index.cjs +7 -0
  315. package/lib/editor/text-box/index.cjs +2 -0
  316. package/lib/editor/text-box/input/input.cjs +23 -2
  317. package/lib/editor/text-box/input/input.css +1 -1
  318. package/lib/editor/text-box/signature/signature.cjs +272 -0
  319. package/lib/editor/text-box/signature/signature.css +1 -0
  320. package/lib/editor/text-box/text-box-editor.provider.cjs +3 -0
  321. package/lib/index.cjs +2 -0
  322. package/lib/locale/en/index.cjs +14 -0
  323. package/lib/locale/zh-CN/index.cjs +14 -0
  324. package/lib/mob-app/App.cjs +17 -0
  325. package/lib/mob-app/guard/auth-guard/auth-guard.cjs +140 -54
  326. package/lib/mob-app/main.cjs +1 -0
  327. package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +50 -15
  328. package/lib/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.cjs +1 -1
  329. package/lib/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.cjs +1 -1
  330. package/lib/panel-component/auth-sso/auth-sso.cjs +83 -5
  331. package/lib/panel-component/auth-sso/auth-sso.css +1 -1
  332. package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
  333. package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
  334. package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +23 -37
  335. package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +8 -12
  336. package/lib/panel-component/panel-app-title/panel-app-title.cjs +6 -0
  337. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +1 -0
  338. package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +14 -28
  339. package/lib/panel-component/panel-button/panel-button.cjs +6 -0
  340. package/lib/panel-component/panel-button/panel-button.controller.cjs +2 -3
  341. package/lib/panel-component/panel-button/panel-button.state.cjs +4 -6
  342. package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
  343. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
  344. package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
  345. package/lib/panel-component/panel-carousel/panel-carousel.cjs +6 -0
  346. package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +2 -4
  347. package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
  348. package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +2 -4
  349. package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +2 -4
  350. package/lib/panel-component/panel-video-player/panel-video-player.cjs +3 -0
  351. package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -4
  352. package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +6 -0
  353. package/lib/panel-component/view-footer-panel-container/view-footer-panel-container.cjs +6 -0
  354. package/lib/panel-component/view-header-panel-container/view-header-panel-container.cjs +22 -1
  355. package/lib/panel-component/wf-action-button/wf-action-button.cjs +6 -0
  356. package/lib/panel-component/wf-action-button/wf-action-button.controller.cjs +2 -4
  357. package/lib/panel-component/wf-action-button/wf-action-button.state.cjs +2 -4
  358. package/lib/panel-component/wf-step-trace/wf-step-trace.cjs +3 -0
  359. package/lib/panel-component/wf-step-trace/wf-step-trace.controller.cjs +2 -4
  360. package/lib/panel-component/wf-step-trace/wf-step-trace.state.cjs +2 -4
  361. package/lib/util/app-util/app-util.cjs +66 -0
  362. package/lib/util/open-view-util/open-view-util.cjs +6 -6
  363. package/lib/view-engine/login-view.engine.cjs +2 -0
  364. package/lib/view-engine/mob-data-view-engine.cjs +0 -1
  365. package/lib/view-engine/mob-edit-view.engine.cjs +5 -1
  366. package/lib/view-engine/mob-md-view-engine.cjs +0 -1
  367. package/lib/view-engine/mob-mpickup-view-engine.cjs +34 -26
  368. package/lib/view-engine/mob-pickup-md-view.engine.cjs +0 -1
  369. package/lib/view-engine/mob-pickup-view.engine.cjs +15 -1
  370. package/lib/view-engine/mob-tab-search-view.engine.cjs +0 -1
  371. package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +0 -1
  372. package/lib/view-engine/mob-wf-dyna-edit-view.engine.cjs +0 -1
  373. package/lib/view-engine/mob-wf-dyna-start-view.engine.cjs +0 -1
  374. package/package.json +8 -8
  375. package/dist/index-NP0RBfWK.js.map +0 -1
  376. package/dist/index-O-XmMUt3.js.map +0 -1
  377. package/dist/index-TfgOIExu.js +0 -76
  378. package/dist/index-TfgOIExu.js.map +0 -1
  379. package/dist/quill-editor-ybZrwyoG.js.map +0 -1
@@ -11,10 +11,16 @@ require('./panel-carousel.css');
11
11
  const PanelCarousel = /* @__PURE__ */ vue.defineComponent({
12
12
  name: "IBizPanelCarousel",
13
13
  props: {
14
+ /**
15
+ * @description 轮播图控制器
16
+ */
14
17
  controller: {
15
18
  type: panelCarousel_controller.PanelCarouselController,
16
19
  required: true
17
20
  },
21
+ /**
22
+ * @description 轮播图属性
23
+ */
18
24
  attrs: {
19
25
  type: Object,
20
26
  required: false
@@ -13,10 +13,8 @@ class PanelCarouselController extends runtime.PanelItemController {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  /**
16
- * 图片集
17
- *
18
- * @author zk
19
- * @date 2023-12-08 01:12:38
16
+ * @description 图片集
17
+ * @exposedoc
20
18
  * @memberof PanelCarouselController
21
19
  */
22
20
  __publicField(this, "images", []);
@@ -12,10 +12,16 @@ function _isSlot(s) {
12
12
  const PanelTabPanel = /* @__PURE__ */ vue.defineComponent({
13
13
  name: "IBizPanelTabPanel",
14
14
  props: {
15
+ /**
16
+ * @description 分页部件模型数据
17
+ */
15
18
  modelData: {
16
19
  type: Object,
17
20
  required: true
18
21
  },
22
+ /**
23
+ * @description 分页部件控制器
24
+ */
19
25
  controller: {
20
26
  type: panelTabPanel_controller.PanelTabPanelController,
21
27
  required: true
@@ -30,10 +30,8 @@ class PanelTabPanelController extends runtime.PanelItemController {
30
30
  this.state.activeTab = ((_a = this.model.panelTabPages) == null ? void 0 : _a[0].id) || "";
31
31
  }
32
32
  /**
33
- * 分页点击切换处理
34
- *
35
- * @author tony001
36
- * @date 2024-05-12 14:05:11
33
+ * @description 分页点击切换处理
34
+ * @exposedoc
37
35
  * @param {string} tabId
38
36
  */
39
37
  onTabChange(tabId) {
@@ -13,10 +13,8 @@ class PanelTabPanelState extends runtime.PanelItemState {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  /**
16
- * 当前激活分页
17
- *
18
- * @author tony001
19
- * @date 2024-05-12 14:05:36
16
+ * @description 当前激活分页
17
+ * @exposedoc
20
18
  * @type {string}
21
19
  */
22
20
  __publicField(this, "activeTab", "");
@@ -12,6 +12,9 @@ require('./panel-video-player.css');
12
12
  const PanelVideoPlayer = /* @__PURE__ */ vue.defineComponent({
13
13
  name: "IBizPanelVideoPlayer",
14
14
  props: {
15
+ /**
16
+ * @description 视频控制器
17
+ */
15
18
  controller: {
16
19
  type: panelVideoPlayer_controller.PanelVideoPlayerController,
17
20
  required: true
@@ -13,10 +13,8 @@ class PanelVideoPlayerController extends runtime.PanelItemController {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  /**
16
- * 视频播放器额外参数
17
- *
18
- * @author zk
19
- * @date 2023-12-08 03:12:09
16
+ * @description 视频播放器额外参数
17
+ * @exposedoc
20
18
  * @memberof PanelVideoPlayerController
21
19
  */
22
20
  __publicField(this, "rawItemParams", {});
@@ -13,10 +13,16 @@ function _isSlot(s) {
13
13
  const ViewContentPanelContainer = /* @__PURE__ */ vue.defineComponent({
14
14
  name: "IBizViewContentPanelContainer",
15
15
  props: {
16
+ /**
17
+ * @description 容器模型数据
18
+ */
16
19
  modelData: {
17
20
  type: Object,
18
21
  required: true
19
22
  },
23
+ /**
24
+ * @description 容器控制器
25
+ */
20
26
  controller: {
21
27
  type: vue3Util.PanelContainerController,
22
28
  required: true
@@ -11,10 +11,16 @@ function _isSlot(s) {
11
11
  const ViewFooterPanelContainer = /* @__PURE__ */ vue.defineComponent({
12
12
  name: "IBizViewFooterPanelContainer",
13
13
  props: {
14
+ /**
15
+ * @description 容器模型数据
16
+ */
14
17
  modelData: {
15
18
  type: Object,
16
19
  required: true
17
20
  },
21
+ /**
22
+ * @description 容器控制器
23
+ */
18
24
  controller: {
19
25
  type: vue3Util.PanelContainerController,
20
26
  required: true
@@ -14,10 +14,16 @@ function _isSlot(s) {
14
14
  const ViewHeaderPanelContainer = /* @__PURE__ */ vue.defineComponent({
15
15
  name: "IBizViewHeaderPanelContainer",
16
16
  props: {
17
+ /**
18
+ * @description 容器模型数据
19
+ */
17
20
  modelData: {
18
21
  type: Object,
19
22
  required: true
20
23
  },
24
+ /**
25
+ * @description 容器控制器
26
+ */
21
27
  controller: {
22
28
  type: vue3Util.PanelContainerController,
23
29
  required: true
@@ -47,11 +53,21 @@ const ViewHeaderPanelContainer = /* @__PURE__ */ vue.defineComponent({
47
53
  result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
48
54
  return result;
49
55
  });
56
+ const showHeader = vue.computed(() => {
57
+ var _a;
58
+ const {
59
+ appViewParams
60
+ } = view.model;
61
+ const value = (_a = appViewParams == null ? void 0 : appViewParams.find((item) => item.id.toLowerCase() === "mobshowviewheader")) == null ? void 0 : _a.value;
62
+ const mobShowViewHeader = value ? Object.is(value, "true") : ibiz.config.view.mobShowViewHeader;
63
+ return mobShowViewHeader;
64
+ });
50
65
  return {
51
66
  ns,
52
67
  classArr,
53
68
  backButtonVisible,
54
- view
69
+ view,
70
+ showHeader
55
71
  };
56
72
  },
57
73
  render() {
@@ -60,8 +76,13 @@ const ViewHeaderPanelContainer = /* @__PURE__ */ vue.defineComponent({
60
76
  return;
61
77
  }
62
78
  const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
79
+ const style = {};
80
+ if (!this.showHeader) {
81
+ style.display = "none";
82
+ }
63
83
  return vue.createVNode(vue.resolveComponent("iBizRow"), {
64
84
  "class": this.classArr,
85
+ "style": style,
65
86
  "layout": this.modelData.layout
66
87
  }, {
67
88
  default: () => [vue.createVNode(vue.resolveComponent("iBizPresetViewBack"), {
@@ -11,10 +11,16 @@ require('./wf-action-button.css');
11
11
  const WFActionButton = /* @__PURE__ */ vue.defineComponent({
12
12
  name: "IBizWFActionButton",
13
13
  props: {
14
+ /**
15
+ * @description 工作流动态按钮模型数据
16
+ */
14
17
  modelData: {
15
18
  type: Object,
16
19
  required: true
17
20
  },
21
+ /**
22
+ * @description 工作流动态按钮控制器
23
+ */
18
24
  controller: {
19
25
  type: wfActionButton_controller.WFActionButtonController,
20
26
  required: true
@@ -10,10 +10,8 @@ class WFActionButtonController extends runtime.PanelItemController {
10
10
  return new wfActionButton_state.WFActionButtonState((_a = this.parent) == null ? void 0 : _a.state);
11
11
  }
12
12
  /**
13
- * 工作流动态按钮
14
- *
15
- * @author zk
16
- * @date 2023-11-12 06:11:28
13
+ * @description 工作流动态按钮
14
+ * @exposedoc
17
15
  * @readonly
18
16
  * @type {IData[]}
19
17
  * @memberof WFActionButtonController
@@ -13,10 +13,8 @@ class WFActionButtonState extends runtime.PanelItemState {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  /**
16
- * 工作流按钮数组
17
- *
18
- * @author zk
19
- * @date 2023-11-09 11:11:49
16
+ * @description 工作流按钮数组
17
+ * @exposedoc
20
18
  * @type {IData[]}
21
19
  * @memberof WFActionButtonState
22
20
  */
@@ -14,6 +14,9 @@ function _isSlot(s) {
14
14
  const WFStepTrace = /* @__PURE__ */ vue.defineComponent({
15
15
  name: "IBizWFStepTrace",
16
16
  props: {
17
+ /**
18
+ * @description 流程跟踪组件控制器
19
+ */
17
20
  controller: {
18
21
  type: wfStepTrace_controller.WFStepTraceController,
19
22
  required: true
@@ -72,10 +72,8 @@ class WFStepTraceController extends runtime.PanelItemController {
72
72
  return noDup;
73
73
  }
74
74
  /**
75
- * 获取数据
76
- *
77
- * @author zk
78
- * @date 2023-07-04 05:07:57
75
+ * @description 获取数据
76
+ * @exposedoc
79
77
  * @return {*}
80
78
  * @memberof WFStepTraceController
81
79
  */
@@ -13,10 +13,8 @@ class WFStepTraceState extends runtime.PanelItemState {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  /**
16
- * 流程跟踪数据
17
- *
18
- * @author zk
19
- * @date 2023-07-04 01:07:30
16
+ * @description 流程跟踪数据
17
+ * @exposedoc
20
18
  * @type {IData}
21
19
  * @memberof WFStepTraceState
22
20
  */
@@ -1,8 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  var core = require('@ibiz-template/core');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
4
5
 
5
6
  "use strict";
7
+ var __defProp = Object.defineProperty;
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __publicField = (obj, key, value) => {
10
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
11
+ return value;
12
+ };
6
13
  class AppUtil {
7
14
  /**
8
15
  * Creates an instance of AppUtil.
@@ -12,6 +19,30 @@ class AppUtil {
12
19
  */
13
20
  constructor(router) {
14
21
  this.router = router;
22
+ /**
23
+ * @description 视图缓存中心
24
+ * @type {Map<string, IApiViewController>}
25
+ * @memberof AppUtil
26
+ */
27
+ __publicField(this, "viewCacheCenter", /* @__PURE__ */ new Map());
28
+ }
29
+ /**
30
+ * @description 路由是否初始化构建完成
31
+ * @returns {*} {Promise<void>}
32
+ * @memberof AppUtil
33
+ */
34
+ async onRouteIsReady() {
35
+ return this.router.isReady();
36
+ }
37
+ /**
38
+ * 获取应用上下文
39
+ *
40
+ * @return {*} {(IParams | undefined)}
41
+ * @memberof AppUtil
42
+ */
43
+ getAppContext() {
44
+ const routePath = vue3Util.route2routePath(this.router.currentRoute.value);
45
+ return routePath.appContext;
15
46
  }
16
47
  /**
17
48
  * 登录
@@ -162,6 +193,41 @@ class AppUtil {
162
193
  async openAiChat(params) {
163
194
  throw new core.RuntimeError(ibiz.i18n.t("app.noSupport"));
164
195
  }
196
+ /**
197
+ * @description 当前路由转换成路由路径对象
198
+ * @param {boolean} [isRouteModal]
199
+ * @returns {*} {{
200
+ * appContext?: IParams;
201
+ * pathNodes: {
202
+ * viewName: string;
203
+ * context?: IParams;
204
+ * params?: IParams;
205
+ * srfnav?: string;
206
+ * }[];
207
+ * }}
208
+ * @memberof AppUtil
209
+ */
210
+ route2routeObject(isRouteModal) {
211
+ const routePath = vue3Util.route2routePath(this.router.currentRoute.value);
212
+ return routePath;
213
+ }
214
+ /**
215
+ * @description 路由路径对象转化为路由路径
216
+ * @param {{
217
+ * appContext?: IParams;
218
+ * pathNodes: {
219
+ * viewName: string;
220
+ * context?: IParams;
221
+ * params?: IParams;
222
+ * srfnav?: string;
223
+ * }[];
224
+ * }} routePath
225
+ * @returns {*} {string}
226
+ * @memberof AppUtil
227
+ */
228
+ routeObject2String(routePath) {
229
+ return vue3Util.routePath2string(routePath);
230
+ }
165
231
  }
166
232
 
167
233
  exports.AppUtil = AppUtil;
@@ -2,6 +2,7 @@
2
2
 
3
3
  var core = require('@ibiz-template/core');
4
4
  var vue3Util = require('@ibiz-template/vue3-util');
5
+ var ramda = require('ramda');
5
6
 
6
7
  "use strict";
7
8
  class OpenViewUtil {
@@ -24,12 +25,11 @@ class OpenViewUtil {
24
25
  }
25
26
  async root(appViewId, context, params, opts = {}) {
26
27
  const appView = await ibiz.hub.config.view.get(appViewId);
27
- const { path } = await vue3Util.generateRoutePath(
28
- appView,
29
- this.router.currentRoute.value,
30
- context,
31
- params
32
- );
28
+ const route = this.router.currentRoute.value;
29
+ const { path } = await vue3Util.generateRoutePath(appView, route, context, params);
30
+ if (route.meta.home && ramda.isNil(opts.replace) && ibiz.config.mob.mobHomeRouteMode === "replace") {
31
+ opts.replace = true;
32
+ }
33
33
  return vue3Util.routerCallback.open(this.router, path, opts);
34
34
  }
35
35
  /**
@@ -43,9 +43,11 @@ class LoginViewEngine extends runtime.ViewEngineBase {
43
43
  async call(key, args = {}) {
44
44
  if (key === runtime.SysUIActionTag.LOGIN) {
45
45
  await this.login(args);
46
+ return null;
46
47
  }
47
48
  if (key === runtime.SysUIActionTag.CANCEL_CHANGES) {
48
49
  await this.cancelChanges();
50
+ return null;
49
51
  }
50
52
  return super.call(key, args);
51
53
  }
@@ -15,7 +15,6 @@ class MobDataViewEngine extends runtime.MDViewEngine {
15
15
  get dataview() {
16
16
  return this.view.getController("dataview");
17
17
  }
18
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
19
18
  async call(key, args) {
20
19
  if (key === runtime.SysUIActionTag.LOAD_MORE) {
21
20
  await this.loadMore();
@@ -118,7 +118,6 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
118
118
  async refresh() {
119
119
  await this.load();
120
120
  }
121
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
122
121
  async call(key, args) {
123
122
  if (key === runtime.SysUIActionTag.SAVE) {
124
123
  await this.form.save();
@@ -134,18 +133,23 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
134
133
  }
135
134
  if (key === runtime.SysUIActionTag.SAVE_AND_NEW) {
136
135
  this.saveAndNew();
136
+ return null;
137
137
  }
138
138
  if (key === runtime.SysUIActionTag.REFRESH) {
139
139
  await this.refresh();
140
+ return null;
140
141
  }
141
142
  if (key === runtime.SysUIActionTag.SAVE_AND_START) {
142
143
  await this.wfStart();
144
+ return null;
143
145
  }
144
146
  if (key === runtime.SysUIActionTag.VIEW_WF_STEP) {
145
147
  await this.wfSubmit();
148
+ return null;
146
149
  }
147
150
  if (key === runtime.ViewCallTag.WF_WITHDRAW) {
148
151
  await this.wfWithdraw();
152
+ return null;
149
153
  }
150
154
  return super.call(key, args);
151
155
  }
@@ -7,7 +7,6 @@ class MobMDViewEngine extends runtime.MDViewEngine {
7
7
  get mdctrl() {
8
8
  return this.view.getController("mdctrl");
9
9
  }
10
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
11
10
  async call(key, args) {
12
11
  if (key === runtime.SysUIActionTag.LOAD_MORE) {
13
12
  await this.loadMore();
@@ -77,7 +77,6 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
77
77
  this.view.layoutPanel.panelItems.simplelist.state.visible = false;
78
78
  }
79
79
  }
80
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
81
80
  async call(key, args) {
82
81
  if (key === runtime.SysUIActionTag.CANCEL) {
83
82
  this.cancel();
@@ -104,28 +103,11 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
104
103
  /**
105
104
  * 选择面板激活数据
106
105
  *
107
- * @param {IData[]} data
108
- * @memberof MobMPickupViewEngine
109
- */
110
- pickupViewPanelDataActive(data) {
111
- const allData = this.simpleList.getAllData();
112
- const items = [...allData, ...data];
113
- const uniqueItems = this.handleUniqueItems(items);
114
- this.simpleList.setData(uniqueItems);
115
- }
116
- /**
117
- * 去重数组
118
- *
119
- * @protected
120
- * @param {IData[]} arr
121
- * @return {*} {IData[]}
122
106
  * @memberof MobMPickupViewEngine
123
107
  */
124
- handleUniqueItems(arr) {
125
- const res = /* @__PURE__ */ new Map();
126
- return arr.filter(
127
- (item) => !res.has(item.srfkey) && res.set(item.srfkey, 1)
128
- );
108
+ async pickupViewPanelDataActive() {
109
+ const selectedData = await this.pickupViewPanel.getSelectedData();
110
+ await this.handlePushSimpleListItems(selectedData);
129
111
  }
130
112
  /**
131
113
  * 选则面板激活数据
@@ -169,10 +151,26 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
169
151
  * @param {IData[]} data
170
152
  * @memberof MobMPickupViewEngine
171
153
  */
172
- handlePushSimpleListItems(data) {
173
- const allData = this.simpleList.getAllData();
174
- const items = this.calcDuplicateData(allData, data);
175
- this.simpleList.setData(items);
154
+ async handlePushSimpleListItems(data) {
155
+ const items = await this.pickupViewPanel.getAllData();
156
+ const selectItems = this.simpleList.getAllData().filter((selected) => !items.some((item) => item.srfkey === selected.srfkey));
157
+ selectItems.push(...data);
158
+ const uniqueItems = this.handleUniqueItems(selectItems);
159
+ this.setSelectedData(uniqueItems);
160
+ }
161
+ /**
162
+ * 去重数组
163
+ *
164
+ * @protected
165
+ * @param {IData[]} arr
166
+ * @return {*} {IData[]}
167
+ * @memberof MobMPickupViewEngine
168
+ */
169
+ handleUniqueItems(arr) {
170
+ const res = /* @__PURE__ */ new Map();
171
+ return arr.filter(
172
+ (item) => !res.has(item.srfkey) && res.set(item.srfkey, 1)
173
+ );
176
174
  }
177
175
  /**
178
176
  * 添加所有
@@ -193,7 +191,7 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
193
191
  * @memberof MobMPickupViewEngine
194
192
  */
195
193
  removeAll() {
196
- this.simpleList.setData([]);
194
+ this.setSelectedData([]);
197
195
  }
198
196
  /**
199
197
  * 添加选中
@@ -223,6 +221,16 @@ class MobMPickupViewEngine extends mobPickupView_engine.MobPickupViewEngine {
223
221
  items.splice(index, 1);
224
222
  }
225
223
  });
224
+ this.setSelectedData(items);
225
+ }
226
+ /**
227
+ * @description 设置选中数据
228
+ * @protected
229
+ * @param {IData[]} items
230
+ * @memberof MPickupViewEngine
231
+ */
232
+ setSelectedData(items) {
233
+ super.setSelectedData(items);
226
234
  this.simpleList.setData(items);
227
235
  }
228
236
  /**
@@ -37,7 +37,6 @@ class PickupMDViewEngine extends runtime.MDViewEngine {
37
37
  this.load();
38
38
  }
39
39
  }
40
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
41
40
  async call(key, args) {
42
41
  if (key === "GetAllData") {
43
42
  return this.mdctrl.state.items;
@@ -45,6 +45,10 @@ class MobPickupViewEngine extends runtime.ViewEngineBase {
45
45
  this.view.slotProps.pickupviewpanel = {};
46
46
  }
47
47
  this.view.slotProps.pickupviewpanel.singleSelect = true;
48
+ if (this.view.params.selecteddata) {
49
+ this.selectedData = JSON.parse(this.view.params.selecteddata);
50
+ delete this.view.params.selecteddata;
51
+ }
48
52
  }
49
53
  /**
50
54
  * 视图mounted生命周期执行逻辑
@@ -60,6 +64,17 @@ class MobPickupViewEngine extends runtime.ViewEngineBase {
60
64
  this.pickupViewPanel.evt.on("onDataActive", (event) => {
61
65
  this.pickupViewPanelDataActive(event.data);
62
66
  });
67
+ this.setSelectedData(this.selectedData);
68
+ }
69
+ /**
70
+ * @description 设置选中数据
71
+ * @protected
72
+ * @param {IData[]} items
73
+ * @memberof PickupViewEngine
74
+ */
75
+ setSelectedData(items) {
76
+ this.selectedData = items;
77
+ this.pickupViewPanel.setSelectedData(items);
63
78
  }
64
79
  /**
65
80
  * 选则面板激活数据
@@ -73,7 +88,6 @@ class MobPickupViewEngine extends runtime.ViewEngineBase {
73
88
  this.selectedData = data;
74
89
  this.view.closeView({ ok: true, data: this.selectedData });
75
90
  }
76
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
77
91
  async call(key, args) {
78
92
  if (key === runtime.SysUIActionTag.CANCEL) {
79
93
  this.cancel();
@@ -118,7 +118,6 @@ class MobTabSearchViewEngine extends mobTabExpView_engine.MobTabExpViewEngine {
118
118
  this.searchBar.placeHolder = caption || "";
119
119
  this.searchBar.state.quickSearchPlaceHolder = caption || "";
120
120
  }
121
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
122
121
  async call(key, args) {
123
122
  if (key === runtime.SysUIActionTag.SEARCH) {
124
123
  await this.searchForm.search();
@@ -20,7 +20,6 @@ class MobWFDynaActionViewEngine extends mobWfDynaEditView_engine.MobWFDynaEditVi
20
20
  const processForm = this.view.context.processForm ? `wfform_${this.view.context.processForm}` : "form";
21
21
  return processForm;
22
22
  }
23
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
24
23
  async call(key, args) {
25
24
  if (key === runtime.SysUIActionTag.OK) {
26
25
  this.onOkButtonClick();
@@ -247,7 +247,6 @@ class MobWFDynaEditViewEngine extends mobEditView_engine.MobEditViewEngine {
247
247
  await this.view.closeView();
248
248
  }
249
249
  }
250
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
251
250
  async call(key, args) {
252
251
  if (key === "WFAction") {
253
252
  this.onLinkClick(args.id);
@@ -20,7 +20,6 @@ class MobWFDynaStartViewEngine extends mobWfDynaEditView_engine.MobWFDynaEditVie
20
20
  const processForm = this.view.context.processForm ? `wfform_${this.view.context.processForm}` : "form";
21
21
  return processForm;
22
22
  }
23
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
24
23
  async call(key, args) {
25
24
  if (key === runtime.SysUIActionTag.OK) {
26
25
  this.onOkButtonClick();