@ibiz-template/vue3-components 0.7.41-alpha.16 → 0.7.41-alpha.18

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 (262) hide show
  1. package/dist/chart-q7pMKjYo.js +1 -0
  2. package/dist/ibiz-markdown-editor-e33m6ees.js +1 -0
  3. package/dist/{index-U4v1OOOD.js → index-AOFxMmyX.js} +1 -1
  4. package/dist/index-dXwgWAM8.js +11 -0
  5. package/dist/{index-lFGFvnYE.js → index-swminiXb.js} +1 -1
  6. package/dist/index.min.css +1 -1
  7. package/dist/index.system.min.js +1 -1
  8. package/dist/map-chart-user-NYROZ-6g.js +1 -0
  9. package/dist/wang-editor-4OlaBV3P.js +1 -0
  10. package/dist/{xlsx-util-FNiwKrqm.js → xlsx-util-Rg-AbK_G.js} +1 -1
  11. package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +3 -1
  12. package/es/common/control-navigation/provider/index.mjs +1 -1
  13. package/es/common/control-navigation/provider/map-navigation.provider.d.ts +8 -2
  14. package/es/common/control-navigation/provider/map-navigation.provider.mjs +20 -1
  15. package/es/common/map-chart-user/map-chart-user.css +1 -1
  16. package/es/common/map-chart-user/map-chart-user.d.ts +11 -1
  17. package/es/common/map-chart-user/map-chart-user.mjs +82 -6
  18. package/es/common/map-chart-user/map-chart-user.util.d.ts +2 -0
  19. package/es/common/map-chart-user/map-chart-user.util.mjs +54 -3
  20. package/es/common/map-chart-user/map-user-manager.d.ts +2 -0
  21. package/es/common/map-chart-user/map-user-manager.mjs +46 -10
  22. package/es/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
  23. package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +30 -43
  24. package/es/control/calendar/components/calendar-daily/use-calendar-daily.d.ts +6 -2
  25. package/es/control/calendar/components/calendar-daily/use-calendar-daily.mjs +37 -4
  26. package/es/control/calendar/components/calendar-user/calendar-user.css +1 -1
  27. package/es/control/calendar/components/calendar-user/calendar-user.mjs +1 -0
  28. package/es/control/calendar/components/calendar-week/calendar-week.css +1 -1
  29. package/es/control/calendar/components/calendar-week/calendar-week.mjs +30 -45
  30. package/es/control/calendar/components/calendar-week/use-calendar-week.d.ts +6 -2
  31. package/es/control/calendar/components/calendar-week/use-calendar-week.mjs +37 -4
  32. package/es/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
  33. package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +25 -8
  34. package/es/control/calendar/components/custom-calendar/use-custom-calendar.d.ts +8 -0
  35. package/es/control/calendar/components/custom-calendar/use-custom-calendar.mjs +20 -1
  36. package/es/control/calendar/components/util/index.mjs +1 -1
  37. package/es/control/calendar/components/util/util.d.ts +30 -2
  38. package/es/control/calendar/components/util/util.mjs +32 -2
  39. package/es/control/chart/chart.mjs +1 -0
  40. package/es/control/data-view/data-view.css +1 -1
  41. package/es/control/data-view/data-view.d.ts +1 -1
  42. package/es/control/data-view/data-view.mjs +95 -29
  43. package/es/control/data-view/index.d.ts +1 -1
  44. package/es/control/drbar/drbar.css +1 -1
  45. package/es/control/drtab/drtab-control.util.mjs +1 -1
  46. package/es/control/drtab/drtab.controller.d.ts +29 -0
  47. package/es/control/drtab/drtab.controller.mjs +53 -0
  48. package/es/control/drtab/drtab.css +1 -1
  49. package/es/control/drtab/drtab.d.ts +2 -0
  50. package/es/control/drtab/drtab.mjs +5 -2
  51. package/es/control/drtab/flow-drtab.css +1 -1
  52. package/es/control/drtab/flow-drtab.d.ts +17 -2
  53. package/es/control/drtab/flow-drtab.mjs +194 -11
  54. package/es/control/drtab/index.d.ts +2 -0
  55. package/es/control/exp-bar/render-util.mjs +1 -12
  56. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
  57. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +59 -4
  58. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
  59. package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +11 -11
  60. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  61. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +2 -1
  62. package/es/control/gantt/gantt.css +1 -1
  63. package/es/control/gantt/gantt.d.ts +4 -2
  64. package/es/control/gantt/gantt.mjs +131 -5
  65. package/es/control/gantt/index.d.ts +4 -2
  66. package/es/control/grid/grid/grid-control.util.mjs +36 -14
  67. package/es/control/grid/grid/grid.css +1 -1
  68. package/es/control/grid/grid/grid.d.ts +1 -1
  69. package/es/control/grid/grid/grid.mjs +8 -3
  70. package/es/control/grid/grid/index.d.ts +1 -1
  71. package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.mjs +11 -2
  72. package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.d.ts +1 -1
  73. package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.mjs +39 -24
  74. package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
  75. package/es/control/grid/virtualized-table/index.d.ts +1 -1
  76. package/es/control/grid/virtualized-table/virtualized-table.d.ts +1 -1
  77. package/es/control/kanban/index.d.ts +5 -2
  78. package/es/control/kanban/kanban.css +1 -1
  79. package/es/control/kanban/kanban.d.ts +5 -2
  80. package/es/control/kanban/kanban.mjs +51 -15
  81. package/es/control/kanban/swimlane-kanban/swimlane-kanban.css +1 -1
  82. package/es/control/kanban/swimlane-kanban/swimlane-kanban.d.ts +2 -1
  83. package/es/control/kanban/swimlane-kanban/swimlane-kanban.mjs +52 -6
  84. package/es/control/list/index.d.ts +1 -1
  85. package/es/control/list/list.css +1 -1
  86. package/es/control/list/list.d.ts +2 -2
  87. package/es/control/list/list.mjs +84 -12
  88. package/es/control/map/map.mjs +1 -1
  89. package/es/control/medit-view-panel/medit-view-panel.css +1 -1
  90. package/es/control/medit-view-panel/medit-view-panel.mjs +37 -30
  91. package/es/control/tree/index.d.ts +1 -1
  92. package/es/control/tree/tree.d.ts +5 -5
  93. package/es/control/tree/tree.mjs +5 -13
  94. package/es/control/tree-grid/index.d.ts +7 -1
  95. package/es/control/tree-grid/tree-grid.d.ts +7 -1
  96. package/es/control/tree-grid/tree-grid.mjs +62 -55
  97. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/all-edit.mjs +3 -1
  98. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.css +1 -1
  99. package/es/control/tree-grid-ex/tree-grid-ex.css +1 -1
  100. package/es/control/tree-grid-ex/tree-grid-ex.mjs +32 -28
  101. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +2 -75
  102. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.mjs +24 -12
  103. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -1
  104. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +47 -8
  105. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +17 -1
  106. package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +4 -2
  107. package/es/editor/html/wang-editor/wang-editor.mjs +29 -7
  108. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +36 -5
  109. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -0
  110. package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +1 -0
  111. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -0
  112. package/es/editor/upload/upload-editor.controller.d.ts +25 -0
  113. package/es/editor/upload/upload-editor.controller.mjs +43 -1
  114. package/es/editor/upload/use/use-iview-upload.d.ts +0 -1
  115. package/es/editor/upload/use/use-iview-upload.mjs +59 -27
  116. package/es/locale/en/index.d.ts +14 -5
  117. package/es/locale/en/index.mjs +5 -2
  118. package/es/locale/zh-CN/index.d.ts +14 -5
  119. package/es/locale/zh-CN/index.mjs +5 -2
  120. package/es/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.mjs +3377 -0
  121. package/es/panel-component/app-extend-menu/bottom-side-menu/bottom-side-menu.d.ts +1 -1
  122. package/es/panel-component/app-extend-menu/left-side-menu/left-side-menu.d.ts +1 -1
  123. package/es/panel-component/app-extend-menu/right-side-menu/right-side-menu.d.ts +1 -1
  124. package/es/panel-component/app-extend-menu/top-side-menu/top-side-menu.d.ts +1 -1
  125. package/es/panel-component/nav-breadcrumb/index.d.ts +1 -0
  126. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.d.ts +8 -1
  127. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +64 -18
  128. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.css +1 -1
  129. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.d.ts +3 -1
  130. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.mjs +14 -3
  131. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.d.ts +1 -1
  132. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.mjs +5 -6
  133. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.d.ts +8 -0
  134. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.mjs +6 -0
  135. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.util.d.ts +26 -1
  136. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.util.mjs +50 -6
  137. package/es/panel-component/panel-button/panel-button.mjs +1 -0
  138. package/es/panel-component/user-message/async-action/async-data-export/async-data-export.d.ts +1 -0
  139. package/es/panel-component/user-message/async-action/async-data-export/async-data-export.mjs +3 -1
  140. package/es/util/fullscreen/fullscreen-util.mjs +1 -1
  141. package/es/view-engine/calendar-exp-view.engine.d.ts +6 -7
  142. package/es/view-engine/calendar-exp-view.engine.mjs +6 -24
  143. package/es/view-engine/calendar-view.engine.d.ts +11 -1
  144. package/es/view-engine/calendar-view.engine.mjs +10 -0
  145. package/es/view-engine/chart-exp-view.engine.d.ts +6 -6
  146. package/es/view-engine/chart-exp-view.engine.mjs +6 -15
  147. package/es/view-engine/edit-view.engine.d.ts +11 -0
  148. package/es/view-engine/edit-view.engine.mjs +12 -0
  149. package/es/view-engine/gantt-view.engine.d.ts +3 -3
  150. package/es/view-engine/gantt-view.engine.mjs +3 -46
  151. package/es/view-engine/login-view.engine.d.ts +11 -1
  152. package/es/view-engine/login-view.engine.mjs +16 -5
  153. package/es/view-engine/mpickup-view-engine.d.ts +8 -1
  154. package/es/view-engine/mpickup-view-engine.mjs +14 -8
  155. package/es/view-engine/pickup-view.engine.d.ts +8 -1
  156. package/es/view-engine/pickup-view.engine.mjs +15 -0
  157. package/es/view-engine/tab-exp-view.engine.mjs +1 -1
  158. package/es/view-engine/tab-search-view.engine.mjs +4 -2
  159. package/es/view-engine/tree-view.engine.d.ts +12 -2
  160. package/es/view-engine/tree-view.engine.mjs +39 -11
  161. package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +3 -1
  162. package/lib/common/control-navigation/provider/index.cjs +1 -1
  163. package/lib/common/control-navigation/provider/map-navigation.provider.cjs +20 -1
  164. package/lib/common/map-chart-user/map-chart-user.cjs +81 -5
  165. package/lib/common/map-chart-user/map-chart-user.css +1 -1
  166. package/lib/common/map-chart-user/map-chart-user.util.cjs +54 -3
  167. package/lib/common/map-chart-user/map-user-manager.cjs +46 -10
  168. package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +29 -42
  169. package/lib/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
  170. package/lib/control/calendar/components/calendar-daily/use-calendar-daily.cjs +35 -2
  171. package/lib/control/calendar/components/calendar-user/calendar-user.cjs +1 -0
  172. package/lib/control/calendar/components/calendar-user/calendar-user.css +1 -1
  173. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +29 -44
  174. package/lib/control/calendar/components/calendar-week/calendar-week.css +1 -1
  175. package/lib/control/calendar/components/calendar-week/use-calendar-week.cjs +35 -2
  176. package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +23 -6
  177. package/lib/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
  178. package/lib/control/calendar/components/custom-calendar/use-custom-calendar.cjs +20 -0
  179. package/lib/control/calendar/components/util/index.cjs +4 -0
  180. package/lib/control/calendar/components/util/util.cjs +34 -0
  181. package/lib/control/chart/chart.cjs +1 -0
  182. package/lib/control/data-view/data-view.cjs +95 -29
  183. package/lib/control/data-view/data-view.css +1 -1
  184. package/lib/control/drbar/drbar.css +1 -1
  185. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  186. package/lib/control/drtab/drtab.cjs +5 -2
  187. package/lib/control/drtab/drtab.controller.cjs +53 -0
  188. package/lib/control/drtab/drtab.css +1 -1
  189. package/lib/control/drtab/flow-drtab.cjs +193 -10
  190. package/lib/control/drtab/flow-drtab.css +1 -1
  191. package/lib/control/exp-bar/render-util.cjs +1 -12
  192. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +58 -3
  193. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
  194. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +11 -11
  195. package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
  196. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +2 -1
  197. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  198. package/lib/control/gantt/gantt.cjs +130 -4
  199. package/lib/control/gantt/gantt.css +1 -1
  200. package/lib/control/grid/grid/grid-control.util.cjs +36 -14
  201. package/lib/control/grid/grid/grid.cjs +8 -3
  202. package/lib/control/grid/grid/grid.css +1 -1
  203. package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.cjs +11 -2
  204. package/lib/control/grid/grid-column/grid-field-column/attachment-column/file-util.cjs +39 -24
  205. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
  206. package/lib/control/kanban/kanban.cjs +50 -14
  207. package/lib/control/kanban/kanban.css +1 -1
  208. package/lib/control/kanban/swimlane-kanban/swimlane-kanban.cjs +50 -4
  209. package/lib/control/kanban/swimlane-kanban/swimlane-kanban.css +1 -1
  210. package/lib/control/list/list.cjs +84 -12
  211. package/lib/control/list/list.css +1 -1
  212. package/lib/control/map/map.cjs +1 -1
  213. package/lib/control/medit-view-panel/medit-view-panel.cjs +36 -29
  214. package/lib/control/medit-view-panel/medit-view-panel.css +1 -1
  215. package/lib/control/tree/tree.cjs +5 -13
  216. package/lib/control/tree-grid/tree-grid.cjs +62 -55
  217. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/all-edit.cjs +3 -1
  218. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.css +1 -1
  219. package/lib/control/tree-grid-ex/tree-grid-ex.cjs +32 -28
  220. package/lib/control/tree-grid-ex/tree-grid-ex.css +1 -1
  221. package/lib/editor/carousel/ibiz-carousel/ibiz-carousel.cjs +24 -12
  222. package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +47 -8
  223. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +17 -1
  224. package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +4 -2
  225. package/lib/editor/html/wang-editor/wang-editor.cjs +29 -7
  226. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +36 -5
  227. package/lib/editor/upload/upload-editor.controller.cjs +43 -1
  228. package/lib/editor/upload/use/use-iview-upload.cjs +59 -27
  229. package/lib/locale/en/index.cjs +5 -2
  230. package/lib/locale/zh-CN/index.cjs +5 -2
  231. package/lib/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.cjs +3384 -0
  232. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.cjs +14 -3
  233. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +63 -17
  234. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.css +1 -1
  235. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.service.cjs +4 -5
  236. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.state.cjs +6 -0
  237. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.util.cjs +52 -5
  238. package/lib/panel-component/panel-button/panel-button.cjs +1 -0
  239. package/lib/panel-component/user-message/async-action/async-data-export/async-data-export.cjs +3 -1
  240. package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
  241. package/lib/view-engine/calendar-exp-view.engine.cjs +6 -24
  242. package/lib/view-engine/calendar-view.engine.cjs +10 -0
  243. package/lib/view-engine/chart-exp-view.engine.cjs +6 -15
  244. package/lib/view-engine/edit-view.engine.cjs +12 -0
  245. package/lib/view-engine/gantt-view.engine.cjs +2 -45
  246. package/lib/view-engine/login-view.engine.cjs +16 -5
  247. package/lib/view-engine/mpickup-view-engine.cjs +14 -8
  248. package/lib/view-engine/pickup-view.engine.cjs +15 -0
  249. package/lib/view-engine/tab-exp-view.engine.cjs +1 -1
  250. package/lib/view-engine/tab-search-view.engine.cjs +4 -2
  251. package/lib/view-engine/tree-view.engine.cjs +39 -11
  252. package/package.json +10 -8
  253. package/dist/chart-8QfxarWf.js +0 -1
  254. package/dist/ibiz-markdown-editor-0VHzFa2l.js +0 -1
  255. package/dist/index-m8q8r8br.js +0 -4
  256. package/dist/map-chart-user-xOSZGbF2.js +0 -1
  257. package/dist/wang-editor-_06OYPpu.js +0 -1
  258. package/es/editor/upload/use/use-ibiz-upload.d.ts +0 -95
  259. package/es/editor/upload/use/use-ibiz-upload.mjs +0 -170
  260. package/lib/editor/upload/use/use-ibiz-upload.cjs +0 -175
  261. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.14_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.41-alpha.18_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  262. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.14_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.41-alpha.18_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -1,7 +1,17 @@
1
- import { ViewController, ICalendarViewEvent, ICalendarViewState, MDViewEngine, EventBase } from '@ibiz-template/runtime';
1
+ import { ViewController, ICalendarViewEvent, ICalendarViewState, MDViewEngine, EventBase, IUIActionResult } from '@ibiz-template/runtime';
2
2
  import { IAppDECalendarView } from '@ibiz/model-core';
3
3
  export declare class CalendarViewEngine extends MDViewEngine {
4
4
  protected view: ViewController<IAppDECalendarView, ICalendarViewState, ICalendarViewEvent>;
5
5
  protected onXDataActive(event: EventBase): Promise<void>;
6
6
  onCreated(): Promise<void>;
7
+ protected openData(args: {
8
+ data: IData[];
9
+ event?: MouseEvent;
10
+ context?: IContext;
11
+ params?: IParams;
12
+ }): Promise<IUIActionResult>;
13
+ protected newData(args: {
14
+ data: IData[];
15
+ event?: MouseEvent;
16
+ }): Promise<IUIActionResult>;
7
17
  }
@@ -13,6 +13,16 @@ class CalendarViewEngine extends MDViewEngine {
13
13
  }
14
14
  this.view.slotProps.calendar.mdctrlActiveMode = model.mdctrlActiveMode;
15
15
  }
16
+ async openData(args) {
17
+ const { data, event } = args;
18
+ const result = await this.xdataControl.openData(data[0], event);
19
+ return result;
20
+ }
21
+ async newData(args) {
22
+ const { data, event } = args;
23
+ const result = await this.xdataControl.newData(data[0], event);
24
+ return result;
25
+ }
16
26
  }
17
27
 
18
28
  export { CalendarViewEngine };
@@ -1,6 +1,7 @@
1
- import { ViewController, ViewEngineBase, IChartExpBarController, IChartExpViewEvent, IChartExpViewState } from '@ibiz-template/runtime';
1
+ import { ViewController, IChartExpViewEvent, IChartExpViewState } from '@ibiz-template/runtime';
2
2
  import { IAppDEChartExplorerView } from '@ibiz/model-core';
3
- export declare class ChartExpViewEngine extends ViewEngineBase {
3
+ import { ExpViewEngine } from './exp-view.engine';
4
+ export declare class ChartExpViewEngine extends ExpViewEngine {
4
5
  /**
5
6
  * 图表导航视图控制器
6
7
  *
@@ -14,11 +15,10 @@ export declare class ChartExpViewEngine extends ViewEngineBase {
14
15
  */
15
16
  protected view: ViewController<IAppDEChartExplorerView, IChartExpViewState, IChartExpViewEvent>;
16
17
  /**
17
- * 图表导航栏
18
- *
18
+ * @description 导航栏部件名称
19
19
  * @readonly
20
+ * @type {string}
20
21
  * @memberof ChartExpViewEngine
21
22
  */
22
- get chartExpBar(): IChartExpBarController;
23
- onCreated(): Promise<void>;
23
+ get expBarName(): string;
24
24
  }
@@ -1,24 +1,15 @@
1
- import { ViewEngineBase } from '@ibiz-template/runtime';
1
+ import { ExpViewEngine } from './exp-view.engine.mjs';
2
2
 
3
3
  "use strict";
4
- class ChartExpViewEngine extends ViewEngineBase {
4
+ class ChartExpViewEngine extends ExpViewEngine {
5
5
  /**
6
- * 图表导航栏
7
- *
6
+ * @description 导航栏部件名称
8
7
  * @readonly
8
+ * @type {string}
9
9
  * @memberof ChartExpViewEngine
10
10
  */
11
- get chartExpBar() {
12
- return this.view.getController("chartexpbar");
13
- }
14
- async onCreated() {
15
- await super.onCreated();
16
- const { childNames } = this.view;
17
- childNames.push("chartexpbar");
18
- if (!this.view.slotProps.chartexpbar) {
19
- this.view.slotProps.chartexpbar = {};
20
- }
21
- this.view.slotProps.chartexpbar.srfnav = this.view.state.srfnav;
11
+ get expBarName() {
12
+ return "chartexpbar";
22
13
  }
23
14
  }
24
15
 
@@ -56,6 +56,17 @@ export declare class EditViewEngine extends DEMainViewEngine {
56
56
  * @memberof EditViewEngine
57
57
  */
58
58
  saveAndNew(): Promise<void>;
59
+ /**
60
+ * @description 取消变更
61
+ * @param {({
62
+ * targetState: 'INIT' | 'UNDO' | 'REDO';
63
+ * })} [_args={ targetState: 'INIT' }] 目标状态,初始化状态|撤销上一步操作|重做下一步操作
64
+ * @returns {*} {Promise<void>}
65
+ * @memberof EditViewEngine
66
+ */
67
+ cancelChanges(_args?: {
68
+ targetState: 'INIT' | 'UNDO' | 'REDO';
69
+ }): Promise<void>;
59
70
  /**
60
71
  * 工作流启动
61
72
  *
@@ -261,6 +261,18 @@ class EditViewEngine extends DEMainViewEngine {
261
261
  this.view.context[calcDeCodeNameById(this.view.model.appDataEntityId)] = void 0;
262
262
  await this.form.load();
263
263
  }
264
+ /**
265
+ * @description 取消变更
266
+ * @param {({
267
+ * targetState: 'INIT' | 'UNDO' | 'REDO';
268
+ * })} [_args={ targetState: 'INIT' }] 目标状态,初始化状态|撤销上一步操作|重做下一步操作
269
+ * @returns {*} {Promise<void>}
270
+ * @memberof EditViewEngine
271
+ */
272
+ async cancelChanges(_args = { targetState: "INIT" }) {
273
+ await super.cancelChanges(_args);
274
+ await this.form.cancelChanges(_args.targetState);
275
+ }
264
276
  /**
265
277
  * 工作流启动
266
278
  *
@@ -1,9 +1,9 @@
1
- import { MDViewEngine, ViewController, IGanttViewState, IGanttViewEvent, IGanttController, EventBase, IApiGanttViewCall } from '@ibiz-template/runtime';
1
+ import { ViewController, IGanttViewState, IGanttViewEvent, IGanttController, IApiGanttViewCall } from '@ibiz-template/runtime';
2
2
  import { IAppDEGanttView } from '@ibiz/model-core';
3
- export declare class GanttViewEngine extends MDViewEngine {
3
+ import { TreeGridExViewEngine } from './tree-grid-ex-view.engine';
4
+ export declare class GanttViewEngine extends TreeGridExViewEngine {
4
5
  protected view: ViewController<IAppDEGanttView, IGanttViewState, IGanttViewEvent>;
5
6
  get gantt(): IGanttController;
6
7
  call(key: keyof IApiGanttViewCall, args: any): Promise<IData | null | undefined>;
7
- protected onXDataActive(event: EventBase): Promise<void>;
8
8
  onCreated(): Promise<void>;
9
9
  }
@@ -1,8 +1,8 @@
1
- import { RuntimeError } from '@ibiz-template/core';
2
- import { MDViewEngine, SysUIActionTag } from '@ibiz-template/runtime';
1
+ import { SysUIActionTag } from '@ibiz-template/runtime';
2
+ import { TreeGridExViewEngine } from './tree-grid-ex-view.engine.mjs';
3
3
 
4
4
  "use strict";
5
- class GanttViewEngine extends MDViewEngine {
5
+ class GanttViewEngine extends TreeGridExViewEngine {
6
6
  get gantt() {
7
7
  return this.view.getController("gantt");
8
8
  }
@@ -23,51 +23,8 @@ class GanttViewEngine extends MDViewEngine {
23
23
  this.gantt.saveAll();
24
24
  return null;
25
25
  }
26
- if (key === SysUIActionTag.EXPAND) {
27
- const { srfcollapsetag } = args.params || {};
28
- let tag = srfcollapsetag || "";
29
- if (!tag) {
30
- const { selectedData } = this.gantt.state;
31
- const selectedGroup = selectedData.filter((x) => !x._leaf);
32
- if (selectedGroup.length > 0) {
33
- tag = selectedGroup[0].srfnodeid;
34
- }
35
- }
36
- if (!tag) {
37
- throw new RuntimeError(ibiz.i18n.t("viewEngine.noExpandTag"));
38
- }
39
- this.gantt.changeCollapse({ tag, expand: true });
40
- return null;
41
- }
42
- if (key === SysUIActionTag.COLLAPSE) {
43
- const { srfcollapsetag } = args.params || {};
44
- let tag = srfcollapsetag || "";
45
- if (!tag) {
46
- const { selectedData } = this.gantt.state;
47
- const selectedGroup = selectedData.filter((x) => !x._leaf);
48
- if (selectedGroup.length > 0) {
49
- tag = selectedGroup[0].srfnodeid;
50
- }
51
- }
52
- if (!tag) {
53
- throw new RuntimeError(ibiz.i18n.t("viewEngine.noCollapseTag"));
54
- }
55
- this.gantt.changeCollapse({ tag, expand: false });
56
- return null;
57
- }
58
- if (key === SysUIActionTag.EXPANDALL) {
59
- this.gantt.changeCollapse({ expand: true });
60
- return null;
61
- }
62
- if (key === SysUIActionTag.COLLAPSEALL) {
63
- this.gantt.changeCollapse({ expand: false });
64
- return null;
65
- }
66
26
  return super.call(key, args);
67
27
  }
68
- // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
69
- async onXDataActive(event) {
70
- }
71
28
  async onCreated() {
72
29
  super.onCreated();
73
30
  const { model } = this.view;
@@ -37,6 +37,16 @@ export declare class LoginViewEngine extends ViewEngineBase {
37
37
  onDestroyed(): Promise<void>;
38
38
  call(key: keyof IApiLoginViewCall, args?: IData): Promise<IData | null | undefined>;
39
39
  login(args: IData): Promise<void>;
40
- cancelChanges(): Promise<void>;
40
+ /**
41
+ * @description 取消变更
42
+ * @param {({
43
+ * targetState: 'INIT' | 'UNDO' | 'REDO';
44
+ * })} [_args={ targetState: 'INIT' }] 目标状态,初始化状态|撤销上一步操作|重做下一步操作
45
+ * @returns {*} {Promise<void>}
46
+ * @memberof LoginViewEngine
47
+ */
48
+ cancelChanges(_args?: {
49
+ targetState: 'INIT' | 'UNDO' | 'REDO';
50
+ }): Promise<void>;
41
51
  private enterKeyListener;
42
52
  }
@@ -30,6 +30,13 @@ class LoginViewEngine extends ViewEngineBase {
30
30
  }
31
31
  ]
32
32
  };
33
+ const targetID = event.target.dataset.id;
34
+ if (targetID) {
35
+ const targetPanelItem = this.view.layoutPanel.findPanelItemByName(targetID);
36
+ if (targetPanelItem) {
37
+ args.data = [targetPanelItem.data];
38
+ }
39
+ }
33
40
  await this.login(args);
34
41
  }
35
42
  });
@@ -59,10 +66,6 @@ class LoginViewEngine extends ViewEngineBase {
59
66
  await this.login(args);
60
67
  return null;
61
68
  }
62
- if (key === SysUIActionTag.CANCEL_CHANGES) {
63
- await this.cancelChanges();
64
- return null;
65
- }
66
69
  return super.call(key, args);
67
70
  }
68
71
  async login(args) {
@@ -112,7 +115,15 @@ class LoginViewEngine extends ViewEngineBase {
112
115
  }
113
116
  }
114
117
  }
115
- async cancelChanges() {
118
+ /**
119
+ * @description 取消变更
120
+ * @param {({
121
+ * targetState: 'INIT' | 'UNDO' | 'REDO';
122
+ * })} [_args={ targetState: 'INIT' }] 目标状态,初始化状态|撤销上一步操作|重做下一步操作
123
+ * @returns {*} {Promise<void>}
124
+ * @memberof LoginViewEngine
125
+ */
126
+ async cancelChanges(_args = { targetState: "INIT" }) {
116
127
  if (this.view.layoutPanel) {
117
128
  Object.keys(this.view.layoutPanel.panelItems).forEach((key) => {
118
129
  const controller = this.view.layoutPanel.panelItems[key];
@@ -1,4 +1,4 @@
1
- import { ViewController, IMPickupViewState, IMPickupViewEvent, IListController, IApiMPickupViewCall } from '@ibiz-template/runtime';
1
+ import { ViewController, IListController, IMPickupViewState, IMPickupViewEvent, IApiMPickupViewCall } from '@ibiz-template/runtime';
2
2
  import { IAppDEPickupView } from '@ibiz/model-core';
3
3
  import { PickupViewEngine } from './pickup-view.engine';
4
4
  /**
@@ -109,6 +109,13 @@ export declare class MPickupViewEngine extends PickupViewEngine {
109
109
  * @memberof MPickupViewEngine
110
110
  */
111
111
  protected removeSelection(): void;
112
+ /**
113
+ * @description 设置选中数据
114
+ * @protected
115
+ * @param {IData[]} items
116
+ * @memberof MPickupViewEngine
117
+ */
118
+ protected setSelectedData(items: IData[]): void;
112
119
  /**
113
120
  * 提交
114
121
  *
@@ -33,10 +33,6 @@ class MPickupViewEngine extends PickupViewEngine {
33
33
  }
34
34
  const { childNames } = this.view;
35
35
  childNames.push("simplelist");
36
- if (this.view.params.selecteddata) {
37
- this.selectData = JSON.parse(this.view.params.selecteddata);
38
- delete this.view.params.selecteddata;
39
- }
40
36
  if (!this.view.slotProps.simplelist) {
41
37
  this.view.slotProps.simplelist = {};
42
38
  }
@@ -61,7 +57,7 @@ class MPickupViewEngine extends PickupViewEngine {
61
57
  this.simpleList.evt.on("onActive", (event) => {
62
58
  this.simpleListActive(event.data);
63
59
  });
64
- this.simpleList.setData(this.selectData);
60
+ this.setSelectedData(this.selectData);
65
61
  }
66
62
  async call(key, args) {
67
63
  if (key === SysUIActionTag.CANCEL) {
@@ -117,7 +113,7 @@ class MPickupViewEngine extends PickupViewEngine {
117
113
  items.splice(index, 1);
118
114
  }
119
115
  });
120
- this.simpleList.setData(items);
116
+ this.setSelectedData(items);
121
117
  }
122
118
  /**
123
119
  * 添加选中
@@ -142,7 +138,7 @@ class MPickupViewEngine extends PickupViewEngine {
142
138
  const allData = this.simpleList.getAllData();
143
139
  const items = [...allData, ...data];
144
140
  const uniqueItems = this.handleUniqueItems(items);
145
- this.simpleList.setData(uniqueItems);
141
+ this.setSelectedData(uniqueItems);
146
142
  }
147
143
  /**
148
144
  * 去重数组
@@ -178,7 +174,7 @@ class MPickupViewEngine extends PickupViewEngine {
178
174
  * @memberof MPickupViewEngine
179
175
  */
180
176
  removeAll() {
181
- this.simpleList.setData([]);
177
+ this.setSelectedData([]);
182
178
  }
183
179
  /**
184
180
  * 删除选中
@@ -198,6 +194,16 @@ class MPickupViewEngine extends PickupViewEngine {
198
194
  items.splice(index, 1);
199
195
  }
200
196
  });
197
+ this.setSelectedData(items);
198
+ }
199
+ /**
200
+ * @description 设置选中数据
201
+ * @protected
202
+ * @param {IData[]} items
203
+ * @memberof MPickupViewEngine
204
+ */
205
+ setSelectedData(items) {
206
+ super.setSelectedData(items);
201
207
  this.simpleList.setData(items);
202
208
  }
203
209
  /**
@@ -1,4 +1,4 @@
1
- import { ViewEngineBase, ViewController, IPickupViewPanelController, IPickupViewState, IPickupViewEvent, IApiPickupViewCall } from '@ibiz-template/runtime';
1
+ import { ViewEngineBase, ViewController, IPickupViewState, IPickupViewEvent, IApiPickupViewCall, IPickupViewPanelController } from '@ibiz-template/runtime';
2
2
  import { IAppDEPickupView } from '@ibiz/model-core';
3
3
  export declare class PickupViewEngine extends ViewEngineBase {
4
4
  /**
@@ -37,6 +37,13 @@ export declare class PickupViewEngine extends ViewEngineBase {
37
37
  * @memberof PickupViewEngine
38
38
  */
39
39
  onMounted(): Promise<void>;
40
+ /**
41
+ * @description 设置选中数据
42
+ * @protected
43
+ * @param {IData[]} items
44
+ * @memberof PickupViewEngine
45
+ */
46
+ protected setSelectedData(items: IData[]): void;
40
47
  /**
41
48
  * 选则面板激活数据
42
49
  *
@@ -39,6 +39,10 @@ class PickupViewEngine extends ViewEngineBase {
39
39
  await super.onCreated();
40
40
  const { childNames } = this.view;
41
41
  childNames.push("pickupviewpanel");
42
+ if (this.view.params.selecteddata) {
43
+ this.selectData = JSON.parse(this.view.params.selecteddata);
44
+ delete this.view.params.selecteddata;
45
+ }
42
46
  }
43
47
  /**
44
48
  * 视图mounted生命周期执行逻辑
@@ -55,6 +59,17 @@ class PickupViewEngine extends ViewEngineBase {
55
59
  this.pickupViewPanel.evt.on("onDataActive", (event) => {
56
60
  this.pickupViewPanelDataActive(event.data);
57
61
  });
62
+ this.setSelectedData(this.selectData);
63
+ }
64
+ /**
65
+ * @description 设置选中数据
66
+ * @protected
67
+ * @param {IData[]} items
68
+ * @memberof PickupViewEngine
69
+ */
70
+ setSelectedData(items) {
71
+ this.selectData = items;
72
+ this.pickupViewPanel.setSelectedData(items);
58
73
  }
59
74
  /**
60
75
  * 选则面板激活数据
@@ -167,7 +167,7 @@ class TabExpViewEngine extends ViewEngineBase {
167
167
  calcViewHeaderVisible() {
168
168
  let showHeader = super.calcViewHeaderVisible();
169
169
  const { tabLayout } = this.view.model;
170
- if (tabLayout === void 0 || tabLayout === "TOP" && getControl(this.view.model, "tabexppanel")) {
170
+ if (tabLayout === void 0 || ["TOP", "TOP_DROPDOWNLIST"].includes(tabLayout) && getControl(this.view.model, "tabexppanel")) {
171
171
  showHeader = true;
172
172
  }
173
173
  return showHeader;
@@ -113,8 +113,10 @@ class TabSearchViewEngine extends TabExpViewEngine {
113
113
  }
114
114
  }
115
115
  }
116
- this.searchBar.placeHolder = caption || "";
117
- this.searchBar.state.quickSearchPlaceHolder = caption || "";
116
+ if (this.searchBar) {
117
+ this.searchBar.placeHolder = caption || "";
118
+ this.searchBar.state.quickSearchPlaceHolder = caption || "";
119
+ }
118
120
  }
119
121
  async call(key, args) {
120
122
  if (key === SysUIActionTag.SEARCH) {
@@ -1,8 +1,18 @@
1
- import { ViewController, ITreeViewEvent, ITreeViewState, MDViewEngine, ITreeController, IApiTreeViewCall } from '@ibiz-template/runtime';
1
+ import { ViewController, ITreeViewEvent, ITreeViewState, MDViewEngine, IApiTreeViewCall, IUIActionResult, ITreeController } from '@ibiz-template/runtime';
2
2
  import { IAppDETreeView } from '@ibiz/model-core';
3
3
  export declare class TreeViewEngine extends MDViewEngine {
4
4
  protected view: ViewController<IAppDETreeView, ITreeViewState, ITreeViewEvent>;
5
- get tree(): ITreeController;
6
5
  onCreated(): Promise<void>;
6
+ get tree(): ITreeController;
7
7
  call(key: keyof IApiTreeViewCall, args: any): Promise<IData | null | undefined>;
8
+ protected openData(args: {
9
+ data: IData[];
10
+ event?: MouseEvent;
11
+ context?: IContext;
12
+ params?: IParams;
13
+ }): Promise<IUIActionResult>;
14
+ protected newData(args: {
15
+ data: IData[];
16
+ event?: MouseEvent;
17
+ }): Promise<IUIActionResult>;
8
18
  }
@@ -3,31 +3,37 @@ import { RuntimeError } from '@ibiz-template/core';
3
3
 
4
4
  "use strict";
5
5
  class TreeViewEngine extends MDViewEngine {
6
- get tree() {
7
- return this.view.getController("tree");
8
- }
9
6
  async onCreated() {
10
7
  await super.onCreated();
11
8
  if (!this.view.slotProps.tree) {
12
9
  this.view.slotProps.tree = {};
13
10
  }
14
11
  }
12
+ get tree() {
13
+ return this.view.getController("tree");
14
+ }
15
15
  async call(key, args) {
16
16
  var _a;
17
17
  if (key === SysUIActionTag.REFRESH_ALL) {
18
- await this.tree.refresh();
18
+ await this.xdataControl.refresh();
19
19
  return null;
20
20
  }
21
21
  if (key === SysUIActionTag.REFRESH) {
22
22
  if ((_a = args == null ? void 0 : args.data) == null ? void 0 : _a[0]) {
23
- await this.tree.refreshNodeChildren(args.data[0], false);
23
+ await this.xdataControl.refreshNodeChildren(
24
+ args.data[0],
25
+ false
26
+ );
24
27
  } else {
25
- await this.tree.refresh();
28
+ await this.xdataControl.refresh();
26
29
  }
27
30
  return null;
28
31
  }
29
32
  if (key === SysUIActionTag.REFRESH_PARENT) {
30
- await this.tree.refreshNodeChildren(args.data[0], true);
33
+ await this.xdataControl.refreshNodeChildren(
34
+ args.data[0],
35
+ true
36
+ );
31
37
  return null;
32
38
  }
33
39
  if (key === SysUIActionTag.EXPAND) {
@@ -40,7 +46,10 @@ class TreeViewEngine extends MDViewEngine {
40
46
  if (!tag) {
41
47
  throw new RuntimeError(ibiz.i18n.t("viewEngine.noExpandTag"));
42
48
  }
43
- this.tree.changeCollapse({ tag, expand: true });
49
+ this.xdataControl.changeCollapse({
50
+ tag,
51
+ expand: true
52
+ });
44
53
  return null;
45
54
  }
46
55
  if (key === SysUIActionTag.COLLAPSE) {
@@ -53,19 +62,38 @@ class TreeViewEngine extends MDViewEngine {
53
62
  if (!tag) {
54
63
  throw new RuntimeError(ibiz.i18n.t("viewEngine.noCollapseTag"));
55
64
  }
56
- this.tree.changeCollapse({ tag, expand: false });
65
+ this.xdataControl.changeCollapse({
66
+ tag,
67
+ expand: false
68
+ });
57
69
  return null;
58
70
  }
59
71
  if (key === SysUIActionTag.EXPANDALL) {
60
- this.tree.changeCollapse({ expand: true });
72
+ this.xdataControl.changeCollapse({ expand: true });
61
73
  return null;
62
74
  }
63
75
  if (key === SysUIActionTag.COLLAPSEALL) {
64
- this.tree.changeCollapse({ expand: false });
76
+ this.xdataControl.changeCollapse({ expand: false });
65
77
  return null;
66
78
  }
67
79
  return super.call(key, args);
68
80
  }
81
+ async openData(args) {
82
+ const { data, event } = args;
83
+ const result = await this.xdataControl.openData(
84
+ data[0],
85
+ event
86
+ );
87
+ return result;
88
+ }
89
+ async newData(args) {
90
+ const { data, event } = args;
91
+ const result = await this.xdataControl.newData(
92
+ data[0],
93
+ event
94
+ );
95
+ return result;
96
+ }
69
97
  }
70
98
 
71
99
  export { TreeViewEngine };
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var dayjs = require('dayjs');
3
4
  var navigationBase_provider = require('./navigation-base.provider.cjs');
4
5
 
5
6
  "use strict";
@@ -19,7 +20,8 @@ class CalendarNavigationProvider extends navigationBase_provider.NavgationBasePr
19
20
  const navData = this.navStack.map((key) => items.find((item) => item.navId === key)).find((item) => item !== void 0) || items[0];
20
21
  if (navData) {
21
22
  const date = new Date(navData.beginTime);
22
- this.controller.setSelectDate(date);
23
+ if (dayjs(date).isValid())
24
+ this.controller.setSelectDate(date);
23
25
  this.controller.setNavData(navData);
24
26
  } else {
25
27
  this.navStack = [];
@@ -10,7 +10,7 @@ function getNavigationProvider(controller) {
10
10
  const { controlType } = controller.model;
11
11
  if (controlType === "CALENDAR")
12
12
  return new calendarNavigation_provider.CalendarNavigationProvider(controller);
13
- if (controlType === "TREEVIEW")
13
+ if (controlType === "TREEVIEW" || controlType === "TREEGRIDEX")
14
14
  return new treeNavigation_provider.TreeNavigationProvider(controller);
15
15
  if (controlType === "MAP")
16
16
  return new mapNavigation_provider.MapNavigationProvider(controller);
@@ -14,6 +14,19 @@ class MapNavigationProvider extends navigationBase_provider.NavgationBaseProvide
14
14
  super(...arguments);
15
15
  __publicField(this, "keyName", "id");
16
16
  }
17
+ /**
18
+ * @description 导航数据变化
19
+ * @param {IMapEvent['onNavDataChange']['event']} event
20
+ * @memberof MapNavigationProvider
21
+ */
22
+ onNavDataChange(event) {
23
+ var _a;
24
+ const { navData } = event;
25
+ if (((_a = this.navViewMsg.value) == null ? void 0 : _a.key) !== navData._id) {
26
+ this.navStack.unshift(navData[this.keyName]);
27
+ this.navViewMsg.value = this.getNavViewMsg(navData);
28
+ }
29
+ }
17
30
  onNavDataByStack() {
18
31
  const { items } = this.controller.state;
19
32
  const navData = this.navStack.map((key) => items.find((item) => item._id === key)).find((item) => item !== void 0) || items[0];
@@ -25,15 +38,21 @@ class MapNavigationProvider extends navigationBase_provider.NavgationBaseProvide
25
38
  }
26
39
  }
27
40
  getNavViewMsg(item) {
41
+ var _a;
28
42
  const { sysMapItems } = this.model;
43
+ const { areaCode, areaLevel } = item;
29
44
  const itemModel = sysMapItems == null ? void 0 : sysMapItems.find((_item) => _item.id === item._mapItemId);
30
45
  if (itemModel) {
31
46
  const { context, params } = this.prepareParams(
32
47
  itemModel,
33
- item._deData,
48
+ { ...item._deData, areaCode, areaLevel },
34
49
  this.controller.context,
35
50
  this.controller.params
36
51
  );
52
+ if ((_a = itemModel.itemStyle) == null ? void 0 : _a.startsWith("REGION")) {
53
+ params.srfareacode = areaCode;
54
+ params.srfarealevel = areaLevel;
55
+ }
37
56
  return {
38
57
  params,
39
58
  context,