@ibiz-template/vue3-components 0.7.41-alpha.17 → 0.7.41-alpha.19

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 (247) hide show
  1. package/dist/chart-q7pMKjYo.js +1 -0
  2. package/dist/ibiz-markdown-editor-e33m6ees.js +1 -0
  3. package/dist/index-BoV5htv9.js +11 -0
  4. package/dist/{index-swminiXb.js → index-Bt6TkADL.js} +1 -1
  5. package/dist/{index-AOFxMmyX.js → index-K6B-Odyq.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-exnzt_I1.js +1 -0
  10. package/dist/{xlsx-util-jYyM8alm.js → xlsx-util-fuTLwrKA.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/util/index.mjs +1 -1
  34. package/es/control/calendar/components/util/util.d.ts +30 -2
  35. package/es/control/calendar/components/util/util.mjs +32 -2
  36. package/es/control/chart/chart.mjs +1 -0
  37. package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.css +1 -1
  38. package/es/control/data-view/data-view.d.ts +1 -1
  39. package/es/control/data-view/index.d.ts +1 -1
  40. package/es/control/drtab/drtab-control.util.mjs +1 -1
  41. package/es/control/drtab/drtab.controller.d.ts +5 -0
  42. package/es/control/drtab/drtab.controller.mjs +19 -0
  43. package/es/control/drtab/flow-drtab.css +1 -1
  44. package/es/control/drtab/flow-drtab.mjs +18 -5
  45. package/es/control/exp-bar/render-util.mjs +1 -12
  46. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +8 -4
  47. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  48. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +2 -1
  49. package/es/control/gantt/gantt.css +1 -1
  50. package/es/control/gantt/gantt.d.ts +4 -2
  51. package/es/control/gantt/gantt.mjs +130 -5
  52. package/es/control/gantt/index.d.ts +4 -2
  53. package/es/control/grid/grid/grid.d.ts +1 -1
  54. package/es/control/grid/grid/index.d.ts +1 -1
  55. package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.mjs +11 -2
  56. package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.d.ts +1 -1
  57. package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.mjs +39 -24
  58. package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
  59. package/es/control/grid/virtualized-table/index.d.ts +1 -1
  60. package/es/control/grid/virtualized-table/virtualized-table.d.ts +1 -1
  61. package/es/control/kanban/index.d.ts +1 -1
  62. package/es/control/kanban/kanban.d.ts +1 -1
  63. package/es/control/list/index.d.ts +1 -1
  64. package/es/control/list/list.d.ts +1 -1
  65. package/es/control/list/list.mjs +1 -1
  66. package/es/control/map/map.mjs +1 -1
  67. package/es/control/tree/index.d.ts +1 -1
  68. package/es/control/tree/tree.d.ts +5 -5
  69. package/es/control/tree/tree.mjs +5 -13
  70. package/es/control/tree-grid/index.d.ts +7 -1
  71. package/es/control/tree-grid/tree-grid.d.ts +7 -1
  72. package/es/control/tree-grid/tree-grid.mjs +62 -55
  73. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/all-edit.mjs +3 -1
  74. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.css +1 -1
  75. package/es/control/tree-grid-ex/tree-grid-ex.css +1 -1
  76. package/es/control/tree-grid-ex/tree-grid-ex.mjs +32 -28
  77. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +2 -75
  78. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.mjs +24 -12
  79. package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +17 -1
  80. package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +4 -2
  81. package/es/editor/html/wang-editor/wang-editor.mjs +29 -7
  82. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +3 -0
  83. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +36 -5
  84. package/es/editor/upload/use/use-iview-upload.d.ts +0 -1
  85. package/es/editor/upload/use/use-iview-upload.mjs +50 -25
  86. package/es/index.mjs +1 -0
  87. package/es/locale/en/index.d.ts +9 -0
  88. package/es/locale/en/index.mjs +4 -0
  89. package/es/locale/zh-CN/index.d.ts +9 -0
  90. package/es/locale/zh-CN/index.mjs +4 -0
  91. package/es/panel-component/app-extend-menu/bottom-side-menu/bottom-side-menu.d.ts +1 -1
  92. package/es/panel-component/app-extend-menu/left-side-menu/left-side-menu.d.ts +1 -1
  93. package/es/panel-component/app-extend-menu/right-side-menu/right-side-menu.d.ts +1 -1
  94. package/es/panel-component/app-extend-menu/top-side-menu/top-side-menu.d.ts +1 -1
  95. package/es/panel-component/app-switch/app-switch.controller.mjs +4 -1
  96. package/es/panel-component/app-switch/app-switch.d.ts +1 -1
  97. package/es/panel-component/auth-userinfo/auth-userinfo.controller.d.ts +31 -0
  98. package/es/panel-component/auth-userinfo/auth-userinfo.controller.mjs +51 -0
  99. package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  100. package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +7 -4
  101. package/es/panel-component/auth-userinfo/auth-userinfo.mjs +20 -5
  102. package/es/panel-component/auth-userinfo/auth-userinfo.provider.d.ts +2 -1
  103. package/es/panel-component/auth-userinfo/auth-userinfo.provider.mjs +2 -2
  104. package/es/panel-component/auth-userinfo/index.d.ts +4 -3
  105. package/es/panel-component/global-search/global-search.controller.d.ts +10 -3
  106. package/es/panel-component/global-search/global-search.controller.mjs +39 -18
  107. package/es/panel-component/global-search/global-search.d.ts +3 -1
  108. package/es/panel-component/global-search/global-search.mjs +8 -1
  109. package/es/panel-component/global-search/index.d.ts +1 -0
  110. package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.mjs +0 -2
  111. package/es/panel-component/nav-breadcrumb/index.d.ts +1 -0
  112. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.d.ts +8 -1
  113. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +64 -18
  114. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.css +1 -1
  115. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.d.ts +3 -1
  116. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.mjs +14 -3
  117. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.d.ts +1 -1
  118. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.mjs +5 -6
  119. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.d.ts +8 -0
  120. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.mjs +6 -0
  121. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.util.d.ts +26 -1
  122. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.util.mjs +50 -6
  123. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +5 -2
  124. package/es/panel-component/panel-app-title/panel-app-title.d.ts +1 -0
  125. package/es/panel-component/panel-app-title/panel-app-title.mjs +6 -0
  126. package/es/panel-component/panel-index-view-search/index.d.ts +4 -3
  127. package/es/panel-component/panel-index-view-search/panel-index-view-search.controller.d.ts +31 -0
  128. package/es/panel-component/panel-index-view-search/panel-index-view-search.controller.mjs +51 -0
  129. package/es/panel-component/panel-index-view-search/panel-index-view-search.d.ts +8 -5
  130. package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +17 -3
  131. package/es/panel-component/panel-index-view-search/panel-index-view-search.provider.d.ts +2 -1
  132. package/es/panel-component/panel-index-view-search/panel-index-view-search.provider.mjs +2 -2
  133. package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +2 -2
  134. package/es/panel-component/user-action/user-action.d.ts +1 -1
  135. package/es/panel-component/user-message/async-action/async-data-export/async-data-export.d.ts +1 -0
  136. package/es/panel-component/user-message/async-action/async-data-export/async-data-export.mjs +3 -1
  137. package/es/panel-component/view-msg-pos/view-msg-pos.d.ts +2 -1
  138. package/es/util/app-modal/app-modal-component.css +1 -1
  139. package/es/util/app-modal/app-modal-component.d.ts +6 -1
  140. package/es/util/app-modal/app-modal-component.mjs +45 -4
  141. package/es/util/fullscreen/fullscreen-util.mjs +1 -1
  142. package/es/util/icon/icon.d.ts +3 -0
  143. package/es/util/icon/icon.mjs +25 -0
  144. package/es/util/index.d.ts +1 -0
  145. package/es/util/index.mjs +1 -0
  146. package/es/view-engine/calendar-exp-view.engine.d.ts +6 -7
  147. package/es/view-engine/calendar-exp-view.engine.mjs +6 -24
  148. package/es/view-engine/edit-view.engine.d.ts +11 -0
  149. package/es/view-engine/edit-view.engine.mjs +12 -0
  150. package/es/view-engine/login-view.engine.d.ts +11 -1
  151. package/es/view-engine/login-view.engine.mjs +9 -5
  152. package/es/view-engine/mpickup-view-engine.d.ts +8 -1
  153. package/es/view-engine/mpickup-view-engine.mjs +14 -8
  154. package/es/view-engine/pickup-view.engine.d.ts +8 -1
  155. package/es/view-engine/pickup-view.engine.mjs +15 -0
  156. package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +3 -1
  157. package/lib/common/control-navigation/provider/index.cjs +1 -1
  158. package/lib/common/control-navigation/provider/map-navigation.provider.cjs +20 -1
  159. package/lib/common/map-chart-user/map-chart-user.cjs +81 -5
  160. package/lib/common/map-chart-user/map-chart-user.css +1 -1
  161. package/lib/common/map-chart-user/map-chart-user.util.cjs +54 -3
  162. package/lib/common/map-chart-user/map-user-manager.cjs +46 -10
  163. package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +29 -42
  164. package/lib/control/calendar/components/calendar-daily/calendar-daily.css +1 -1
  165. package/lib/control/calendar/components/calendar-daily/use-calendar-daily.cjs +35 -2
  166. package/lib/control/calendar/components/calendar-user/calendar-user.cjs +1 -0
  167. package/lib/control/calendar/components/calendar-user/calendar-user.css +1 -1
  168. package/lib/control/calendar/components/calendar-week/calendar-week.cjs +29 -44
  169. package/lib/control/calendar/components/calendar-week/calendar-week.css +1 -1
  170. package/lib/control/calendar/components/calendar-week/use-calendar-week.cjs +35 -2
  171. package/lib/control/calendar/components/custom-calendar/custom-calendar.css +1 -1
  172. package/lib/control/calendar/components/util/index.cjs +4 -0
  173. package/lib/control/calendar/components/util/util.cjs +34 -0
  174. package/lib/control/chart/chart.cjs +1 -0
  175. package/lib/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.css +1 -1
  176. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  177. package/lib/control/drtab/drtab.controller.cjs +19 -0
  178. package/lib/control/drtab/flow-drtab.cjs +17 -4
  179. package/lib/control/drtab/flow-drtab.css +1 -1
  180. package/lib/control/exp-bar/render-util.cjs +1 -12
  181. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +7 -3
  182. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +2 -1
  183. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  184. package/lib/control/gantt/gantt.cjs +129 -4
  185. package/lib/control/gantt/gantt.css +1 -1
  186. package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.cjs +11 -2
  187. package/lib/control/grid/grid-column/grid-field-column/attachment-column/file-util.cjs +39 -24
  188. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
  189. package/lib/control/list/list.cjs +1 -1
  190. package/lib/control/map/map.cjs +1 -1
  191. package/lib/control/tree/tree.cjs +5 -13
  192. package/lib/control/tree-grid/tree-grid.cjs +62 -55
  193. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/all-edit.cjs +3 -1
  194. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.css +1 -1
  195. package/lib/control/tree-grid-ex/tree-grid-ex.cjs +32 -28
  196. package/lib/control/tree-grid-ex/tree-grid-ex.css +1 -1
  197. package/lib/editor/carousel/ibiz-carousel/ibiz-carousel.cjs +24 -12
  198. package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +17 -1
  199. package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +4 -2
  200. package/lib/editor/html/wang-editor/wang-editor.cjs +29 -7
  201. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +36 -5
  202. package/lib/editor/upload/use/use-iview-upload.cjs +50 -25
  203. package/lib/index.cjs +3 -0
  204. package/lib/locale/en/index.cjs +4 -0
  205. package/lib/locale/zh-CN/index.cjs +4 -0
  206. package/lib/panel-component/app-switch/app-switch.controller.cjs +4 -1
  207. package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +20 -5
  208. package/lib/panel-component/auth-userinfo/auth-userinfo.controller.cjs +53 -0
  209. package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  210. package/lib/panel-component/auth-userinfo/auth-userinfo.provider.cjs +2 -2
  211. package/lib/panel-component/global-search/global-search.cjs +8 -1
  212. package/lib/panel-component/global-search/global-search.controller.cjs +39 -18
  213. package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.controller.cjs +0 -2
  214. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.cjs +14 -3
  215. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +63 -17
  216. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.css +1 -1
  217. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.service.cjs +4 -5
  218. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.state.cjs +6 -0
  219. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.util.cjs +52 -5
  220. package/lib/panel-component/panel-app-title/panel-app-title.cjs +6 -0
  221. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +5 -2
  222. package/lib/panel-component/panel-index-view-search/panel-index-view-search.cjs +16 -2
  223. package/lib/panel-component/panel-index-view-search/panel-index-view-search.controller.cjs +53 -0
  224. package/lib/panel-component/panel-index-view-search/panel-index-view-search.provider.cjs +2 -2
  225. package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +2 -2
  226. package/lib/panel-component/user-message/async-action/async-data-export/async-data-export.cjs +3 -1
  227. package/lib/util/app-modal/app-modal-component.cjs +43 -2
  228. package/lib/util/app-modal/app-modal-component.css +1 -1
  229. package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
  230. package/lib/util/icon/icon.cjs +28 -0
  231. package/lib/util/index.cjs +3 -0
  232. package/lib/view-engine/calendar-exp-view.engine.cjs +6 -24
  233. package/lib/view-engine/edit-view.engine.cjs +12 -0
  234. package/lib/view-engine/login-view.engine.cjs +9 -5
  235. package/lib/view-engine/mpickup-view-engine.cjs +14 -8
  236. package/lib/view-engine/pickup-view.engine.cjs +15 -0
  237. package/package.json +6 -6
  238. package/dist/chart-8QfxarWf.js +0 -1
  239. package/dist/ibiz-markdown-editor-0VHzFa2l.js +0 -1
  240. package/dist/index-t1aZ8OJE.js +0 -11
  241. package/dist/map-chart-user-xOSZGbF2.js +0 -1
  242. package/dist/wang-editor-Y8puaTx2.js +0 -1
  243. package/es/editor/upload/use/use-ibiz-upload.d.ts +0 -95
  244. package/es/editor/upload/use/use-ibiz-upload.mjs +0 -170
  245. package/lib/editor/upload/use/use-ibiz-upload.cjs +0 -175
  246. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.17_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
  247. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.17_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
@@ -2,12 +2,23 @@ import { route2routePath } from '@ibiz-template/vue3-util';
2
2
  import { RouteConst } from '@ibiz-template/runtime';
3
3
 
4
4
  "use strict";
5
+ function getAppIndexViewName(context) {
6
+ const targetAppModel = ibiz.hub.getAppSourceModel(context.srfappid);
7
+ if (targetAppModel.getDefaultPSAppIndexView) {
8
+ const view = targetAppModel.getDefaultPSAppIndexView;
9
+ const name = view.path.split("/").pop().replace(".json", "");
10
+ return name;
11
+ }
12
+ return ibiz.hub.defaultAppIndexViewName;
13
+ }
5
14
  function getIndexBreadcrumb(context) {
6
15
  const app = ibiz.hub.getApp(context.srfappid);
7
16
  const caption = app.model.caption;
17
+ const indexViewName = getAppIndexViewName(context);
8
18
  return {
9
- viewName: ibiz.hub.defaultAppIndexViewName,
19
+ viewName: indexViewName,
10
20
  fullPath: "/",
21
+ type: "default",
11
22
  caption
12
23
  };
13
24
  }
@@ -48,7 +59,7 @@ function getCurViewName(router) {
48
59
  const routePath = route2routePath(currentRoute.value);
49
60
  return ((_a = routePath.pathNodes.pop()) == null ? void 0 : _a.viewName) || "";
50
61
  }
51
- function getViewInfoByViewStack(viewName) {
62
+ function getViewInfoByViewStack(viewName, context) {
52
63
  if (viewName === RouteConst.ROUTE_MODAL_TAG) {
53
64
  return {
54
65
  viewName,
@@ -56,18 +67,51 @@ function getViewInfoByViewStack(viewName) {
56
67
  isModal: true
57
68
  };
58
69
  }
59
- const view = ibiz.util.viewStack.getViewByCodeName(viewName);
70
+ const view = ibiz.appUtil.viewCacheCenter.get(viewName);
71
+ const indexViewName = getAppIndexViewName(context);
60
72
  if (view) {
61
73
  let isEmbed = false;
62
- if (view.parentView && view.parentView.model.codeName !== ibiz.hub.defaultAppIndexViewName) {
74
+ if (view.parentView && view.parentView.model.codeName !== indexViewName) {
63
75
  isEmbed = true;
64
76
  }
65
- return {
77
+ const data = view.state.srfactiveviewdata;
78
+ const result = {
66
79
  viewName: view.model.codeName,
67
80
  caption: view.model.caption,
68
81
  isEmbed
69
82
  };
83
+ if (data && data.srfkey) {
84
+ Object.assign(result, { dataInfo: data.srfmajortext || "" });
85
+ }
86
+ return result;
87
+ }
88
+ }
89
+ function getMenuTag(pathNodes) {
90
+ var _a;
91
+ if (pathNodes.length > 1) {
92
+ return ((_a = pathNodes[1].params) == null ? void 0 : _a.srfmenuitem) || "";
93
+ }
94
+ return "";
95
+ }
96
+ async function getMenuItemByTag(tag, appMenu, context) {
97
+ var _a;
98
+ if (!tag) {
99
+ return;
100
+ }
101
+ const menuItem = appMenu.allAppMenuItems.find((x) => x.id === tag);
102
+ if (menuItem) {
103
+ const app = ibiz.hub.getApp(context.srfappid);
104
+ const appFunc = app.getAppFunc(menuItem.appFuncId);
105
+ const viewName = ((_a = appFunc.appViewId) == null ? void 0 : _a.split(".").pop()) || "";
106
+ const viewConfig = await ibiz.hub.config.view.get(viewName);
107
+ return {
108
+ tag,
109
+ viewName,
110
+ viewConfig,
111
+ appFunc,
112
+ menuItem
113
+ };
70
114
  }
71
115
  }
72
116
 
73
- export { getAppFuncByViewName, getCurViewName, getIndexBreadcrumb, getMenuItemsByAppFunc, getViewInfoByViewStack };
117
+ export { getAppFuncByViewName, getAppIndexViewName, getCurViewName, getIndexBreadcrumb, getMenuItemByTag, getMenuItemsByAppFunc, getMenuTag, getViewInfoByViewStack };
@@ -72,8 +72,11 @@ class PanelAppTitleController extends PanelItemController {
72
72
  if (this.state.icon.endsWith(".svg") || this.state.icon2.endsWith(".svg")) {
73
73
  this.state.isSvg = true;
74
74
  }
75
- if (ibiz.env.AppTitle)
76
- this.state.caption = ibiz.env.AppTitle;
75
+ const defaultApp = ibiz.hub.getApp();
76
+ if (defaultApp.model.appId === indexViewModel.appId) {
77
+ if (ibiz.env.AppTitle)
78
+ this.state.caption = ibiz.env.AppTitle;
79
+ }
77
80
  }
78
81
  /**
79
82
  * 处理自定义补充参数 [{key:'name',value:'data'}] => {name:'data'}
@@ -5,6 +5,7 @@ import './panel-app-title.scss';
5
5
  /**
6
6
  * 应用标题
7
7
  * @description 用于绘制应用logo和应用标题,提供点击标题跳转首页的能力。
8
+ * @panelitemparams {name:strictly,parameterType:boolean,defaultvalue:false,description:是否取消与首页菜单的关联,即菜单收缩时不会跟随改变,当应用标题未配置在首页左侧时应启用}
8
9
  * @primary
9
10
  */
10
11
  export declare const PanelAppTitle: import("vue").DefineComponent<{
@@ -58,6 +58,12 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
58
58
  return false;
59
59
  });
60
60
  const isCollapse = computed(() => {
61
+ const {
62
+ strictly
63
+ } = c.rawItemParams;
64
+ if (strictly && strictly === "true") {
65
+ return false;
66
+ }
61
67
  return c.panel.view.state.isCollapse;
62
68
  });
63
69
  const showIcon = computed(() => {
@@ -4,16 +4,17 @@ export declare const IBizPanelIndexViewSearch: import("@ibiz-template/vue3-util"
4
4
  required: true;
5
5
  };
6
6
  controller: {
7
- type: typeof import("@ibiz-template/runtime").PanelItemController;
7
+ type: typeof import("./panel-index-view-search.controller").PanelIndexViewSearchController;
8
8
  required: true;
9
9
  };
10
10
  }, {
11
11
  ns: import("@ibiz-template/core").Namespace;
12
12
  classArr: import("vue").ComputedRef<(string | false)[]>;
13
13
  isCollapse: import("vue").ComputedRef<any>;
14
+ curPlaceholder: import("vue").ComputedRef<any>;
14
15
  onInput: (value: string) => void;
15
16
  onSearch: () => Promise<void>;
16
- c: import("@ibiz-template/runtime").PanelItemController<import("@ibiz/model-core").IPanelItem>;
17
+ c: import("./panel-index-view-search.controller").PanelIndexViewSearchController;
17
18
  query: import("vue").Ref<string>;
18
19
  menuAlign: import("vue").ComputedRef<string>;
19
20
  onEnter: (event: KeyboardEvent) => void;
@@ -23,7 +24,7 @@ export declare const IBizPanelIndexViewSearch: import("@ibiz-template/vue3-util"
23
24
  required: true;
24
25
  };
25
26
  controller: {
26
- type: typeof import("@ibiz-template/runtime").PanelItemController;
27
+ type: typeof import("./panel-index-view-search.controller").PanelIndexViewSearchController;
27
28
  required: true;
28
29
  };
29
30
  }>>, {}, {}>>;
@@ -0,0 +1,31 @@
1
+ import { PanelItemController } from '@ibiz-template/runtime';
2
+ import { IPanelRawItem } from '@ibiz/model-core';
3
+ /**
4
+ * 面板首页搜索控制器
5
+ *
6
+ * @export
7
+ * @class PanelIndexViewSearchController
8
+ * @extends {PanelItemController<IPanelRawItem>}
9
+ */
10
+ export declare class PanelIndexViewSearchController extends PanelItemController<IPanelRawItem> {
11
+ /**
12
+ * @description 自定义补充参数
13
+ * @exposedoc
14
+ * @type {IData}
15
+ * @memberof PanelIndexViewSearchController
16
+ */
17
+ rawItemParams: IData;
18
+ /**
19
+ * 初始化
20
+ *
21
+ * @return {*} {Promise<void>}
22
+ * @memberof PanelIndexViewSearchController
23
+ */
24
+ onInit(): Promise<void>;
25
+ /**
26
+ * @description 处理自定义补充参数 [{key:'name',value:'data'}] => {name:'data'}
27
+ * @protected
28
+ * @memberof PanelIndexViewSearchController
29
+ */
30
+ protected handleRawItemParams(): void;
31
+ }
@@ -0,0 +1,51 @@
1
+ import { PanelItemController } from '@ibiz-template/runtime';
2
+
3
+ "use strict";
4
+ var __defProp = Object.defineProperty;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __publicField = (obj, key, value) => {
7
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
8
+ return value;
9
+ };
10
+ class PanelIndexViewSearchController extends PanelItemController {
11
+ constructor() {
12
+ super(...arguments);
13
+ /**
14
+ * @description 自定义补充参数
15
+ * @exposedoc
16
+ * @type {IData}
17
+ * @memberof PanelIndexViewSearchController
18
+ */
19
+ __publicField(this, "rawItemParams", {});
20
+ }
21
+ /**
22
+ * 初始化
23
+ *
24
+ * @return {*} {Promise<void>}
25
+ * @memberof PanelIndexViewSearchController
26
+ */
27
+ async onInit() {
28
+ await super.onInit();
29
+ this.handleRawItemParams();
30
+ }
31
+ /**
32
+ * @description 处理自定义补充参数 [{key:'name',value:'data'}] => {name:'data'}
33
+ * @protected
34
+ * @memberof PanelIndexViewSearchController
35
+ */
36
+ handleRawItemParams() {
37
+ var _a;
38
+ const rawItemParams = (_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams;
39
+ if (Array.isArray(rawItemParams)) {
40
+ rawItemParams.forEach((item) => {
41
+ const key = item.key;
42
+ const value = item.value;
43
+ if (key && value) {
44
+ this.rawItemParams[key.toLowerCase()] = value;
45
+ }
46
+ });
47
+ }
48
+ }
49
+ }
50
+
51
+ export { PanelIndexViewSearchController };
@@ -1,11 +1,13 @@
1
1
  import { IPanelRawItem } from '@ibiz/model-core';
2
2
  import { PropType } from 'vue';
3
- import { PanelItemController } from '@ibiz-template/runtime';
3
+ import { PanelIndexViewSearchController } from './panel-index-view-search.controller';
4
4
  import './panel-index-view-search.scss';
5
5
  /**
6
6
  * 首页搜索
7
7
  * @primary
8
- * @description 输入搜索词点击搜索后,会执行绑定的菜单项应用功能,打开全局搜索界面。
8
+ * @description 用于快速查找应用数据,需在菜单上配置标识与本面板项一样的标识,默认标识为index_view_search,输入搜索词点击搜索后,会执行绑定的菜单项应用功能,打开对应的全局搜索界面。
9
+ * @panelitemparams {name:strictly,parameterType:boolean,defaultvalue:false,description:是否取消与首页菜单的关联,即菜单收缩时不会跟随改变,当首页搜索未配置在首页左侧时应启用}
10
+ * @panelitemparams {name:placeholder,parameterType:string,description:搜索框提示信息}
9
11
  */
10
12
  export declare const PanelIndexViewSearch: import("vue").DefineComponent<{
11
13
  /**
@@ -19,16 +21,17 @@ export declare const PanelIndexViewSearch: import("vue").DefineComponent<{
19
21
  * @description 首页搜索控件控制器
20
22
  */
21
23
  controller: {
22
- type: typeof PanelItemController;
24
+ type: typeof PanelIndexViewSearchController;
23
25
  required: true;
24
26
  };
25
27
  }, {
26
28
  ns: import("@ibiz-template/core").Namespace;
27
29
  classArr: import("vue").ComputedRef<(string | false)[]>;
28
30
  isCollapse: import("vue").ComputedRef<any>;
31
+ curPlaceholder: import("vue").ComputedRef<any>;
29
32
  onInput: (value: string) => void;
30
33
  onSearch: () => Promise<void>;
31
- c: PanelItemController<import("@ibiz/model-core").IPanelItem>;
34
+ c: PanelIndexViewSearchController;
32
35
  query: import("vue").Ref<string>;
33
36
  menuAlign: import("vue").ComputedRef<string>;
34
37
  onEnter: (event: KeyboardEvent) => void;
@@ -44,7 +47,7 @@ export declare const PanelIndexViewSearch: import("vue").DefineComponent<{
44
47
  * @description 首页搜索控件控制器
45
48
  */
46
49
  controller: {
47
- type: typeof PanelItemController;
50
+ type: typeof PanelIndexViewSearchController;
48
51
  required: true;
49
52
  };
50
53
  }>>, {}, {}>;
@@ -1,7 +1,8 @@
1
1
  import { ref, inject, computed, resolveComponent, createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
- import { PanelItemController, AppFuncCommand } from '@ibiz-template/runtime';
3
+ import { AppFuncCommand } from '@ibiz-template/runtime';
4
4
  import { debounce } from 'lodash-es';
5
+ import { PanelIndexViewSearchController } from './panel-index-view-search.controller.mjs';
5
6
  import './panel-index-view-search.css';
6
7
 
7
8
  "use strict";
@@ -19,7 +20,7 @@ const PanelIndexViewSearch = /* @__PURE__ */ defineComponent({
19
20
  * @description 首页搜索控件控制器
20
21
  */
21
22
  controller: {
22
- type: PanelItemController,
23
+ type: PanelIndexViewSearchController,
23
24
  required: true
24
25
  }
25
26
  },
@@ -41,8 +42,20 @@ const PanelIndexViewSearch = /* @__PURE__ */ defineComponent({
41
42
  return "LEFT";
42
43
  });
43
44
  const isCollapse = computed(() => {
45
+ const {
46
+ strictly
47
+ } = c.rawItemParams;
48
+ if (strictly && strictly === "true") {
49
+ return false;
50
+ }
44
51
  return c.panel.view.state.isCollapse;
45
52
  });
53
+ const curPlaceholder = computed(() => {
54
+ const {
55
+ placeholder
56
+ } = c.rawItemParams;
57
+ return placeholder || ibiz.i18n.t("component.indexSearch.placeholder");
58
+ });
46
59
  const classArr = computed(() => {
47
60
  const {
48
61
  id
@@ -78,6 +91,7 @@ const PanelIndexViewSearch = /* @__PURE__ */ defineComponent({
78
91
  ns,
79
92
  classArr,
80
93
  isCollapse,
94
+ curPlaceholder,
81
95
  onInput,
82
96
  onSearch,
83
97
  c,
@@ -95,7 +109,7 @@ const PanelIndexViewSearch = /* @__PURE__ */ defineComponent({
95
109
  }, [this.menuAlign === "LEFT" && !this.isCollapse && createVNode(resolveComponent("el-input"), {
96
110
  "model-value": this.query,
97
111
  "class": this.ns.b("search"),
98
- "placeholder": ibiz.i18n.t("component.indexSearch.placeholder"),
112
+ "placeholder": this.curPlaceholder,
99
113
  "onInput": this.onInput,
100
114
  "onKeyup": this.onEnter
101
115
  }, {
@@ -1,5 +1,6 @@
1
1
  import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
2
2
  import { IPanelItem } from '@ibiz/model-core';
3
+ import { PanelIndexViewSearchController } from './panel-index-view-search.controller';
3
4
  /**
4
5
  * 面板首页搜索适配器
5
6
  *
@@ -9,5 +10,5 @@ import { IPanelItem } from '@ibiz/model-core';
9
10
  */
10
11
  export declare class PanelIndexViewSearchProvider implements IPanelItemProvider {
11
12
  component: string;
12
- createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelItemController>;
13
+ createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelIndexViewSearchController>;
13
14
  }
@@ -1,4 +1,4 @@
1
- import { PanelItemController } from '@ibiz-template/runtime';
1
+ import { PanelIndexViewSearchController } from './panel-index-view-search.controller.mjs';
2
2
 
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -12,7 +12,7 @@ class PanelIndexViewSearchProvider {
12
12
  __publicField(this, "component", "IBizPanelIndexViewSearch");
13
13
  }
14
14
  async createController(panelItem, panel, parent) {
15
- const c = new PanelItemController(panelItem, panel, parent);
15
+ const c = new PanelIndexViewSearchController(panelItem, panel, parent);
16
16
  await c.init();
17
17
  return c;
18
18
  }
@@ -73,8 +73,8 @@ const PanelTabPanel = /* @__PURE__ */ defineComponent({
73
73
  "label": c.model.caption,
74
74
  "name": c.model.id,
75
75
  "lazy": true
76
- }, _isSlot(slot) ? slot : {
77
- default: () => [slot]
76
+ }, {
77
+ default: () => [this.state.activeTab === c.model.id && slot]
78
78
  });
79
79
  })) ? _slot : {
80
80
  default: () => [_slot]
@@ -5,7 +5,7 @@ import './user-action.scss';
5
5
  /**
6
6
  * 用户操作
7
7
  * @primary
8
- * @description 首页中用户操作行为按钮,点击后执行对应的应用功能。存在三种类型,分别为设置(Setting)、帮助(Helper)、自定义(Custom)。
8
+ * @description 首页中用户操作行为按钮,需在菜单上配置标识为设置(setting)、帮助(helper)、自定义(custom)的三种隐藏菜单项,点击按钮将会执行对应的菜单项应用功能。
9
9
  * @panelitemparams {name:noprivmode,parameterType:PARENT|SELF,defaultvalue:PARENT,description:无权限模式,为PARENT时会通过父容器进行显示隐藏}
10
10
  * @export
11
11
  * @class UserAction
@@ -18,6 +18,7 @@ export declare const AsyncDataExport: import("vue").DefineComponent<{
18
18
  beginTime: string;
19
19
  endTime: string;
20
20
  fileUrl: string;
21
+ fileName: string;
21
22
  isFinish: boolean;
22
23
  };
23
24
  onClose: () => void;
@@ -29,6 +29,7 @@ const AsyncDataExport = /* @__PURE__ */ defineComponent({
29
29
  beginTime: "",
30
30
  endTime: "",
31
31
  fileUrl: "",
32
+ fileName: "",
32
33
  isFinish: false
33
34
  });
34
35
  info.title = ibiz.i18n.t("panelComponent.userMessage.asyncDataExport.exportDetailPrompt", {
@@ -39,6 +40,7 @@ const AsyncDataExport = /* @__PURE__ */ defineComponent({
39
40
  if (props.asyncAction.asyncresultdownloadurl) {
40
41
  const asyncResultDownloadObj = JSON.parse(props.asyncAction.asyncresultdownloadurl);
41
42
  info.fileUrl = "".concat(ibiz.env.baseUrl, "/").concat(ibiz.env.appId).concat(ibiz.env.downloadFileUrl, "/").concat(asyncResultDownloadObj.folder, "/").concat(asyncResultDownloadObj.fileid).replace("/{cat}", "");
43
+ info.fileName = asyncResultDownloadObj.filename;
42
44
  }
43
45
  if (!finishedStates.includes(props.asyncAction.actionstate)) {
44
46
  info.isFinish = false;
@@ -46,7 +48,7 @@ const AsyncDataExport = /* @__PURE__ */ defineComponent({
46
48
  info.isFinish = true;
47
49
  }
48
50
  const onDownLoad = () => {
49
- ibiz.util.file.fileDownload(info.fileUrl);
51
+ ibiz.util.file.fileDownload(info.fileUrl, info.fileName);
50
52
  };
51
53
  return {
52
54
  ns,
@@ -5,7 +5,8 @@ import { ViewMsgPosController } from './view-msg-pos.controller';
5
5
  * 视图消息占位
6
6
  * @primary
7
7
  * @description 使用el-alert组件,读取视图状态的viewMessages数据,用于在界面布局中给视图消息提供一个显示位置。
8
- * @panelitemparams {name:scroll,parameterType:boolean,defaultvalue:false,description:是否滚动显示}
8
+ * @panelitemparams {name:scroll,parameterType:boolean,defaultvalue:false,description:是否滚动展示}
9
+ * @panelitemparams {name:position,parameterType:TOP | BOTTOM | BODY,defaultvalue:BODY,description:指定展示哪个位置的视图消息,TOP代表视图上方,BOTTOM代表视图下方,BODY代表视图内容区}
9
10
  */
10
11
  export declare const ViewMsgPos: import("vue").DefineComponent<{
11
12
  /**
@@ -1 +1 @@
1
- @charset "UTF-8";.ibiz-modal{--ibiz-modal-z-index:var(--ibiz-z-index-modal);--ibiz-modal-background-color:var(--ibiz-color-bg-1)}.ibiz-modal.el-dialog{overflow:visible}.ibiz-modal .el-dialog__header{position:relative;padding:0}.ibiz-modal .el-dialog__body{height:100%;padding:0;background-color:var(--ibiz-modal-background-color)}.ibiz-modal .el-dialog__headerbtn{top:-40px;right:-60px;border:var(--ibiz-spacing-super-tight) solid var(--ibiz-color-primary-text);border-radius:var(--ibiz-border-radius-circle);display:flex;align-items:center;justify-content:center}.ibiz-modal .el-dialog__headerbtn .el-dialog__close{font-size:var(--ibiz-font-size-header-4);color:var(--ibiz-color-primary-text)}
1
+ @charset "UTF-8";.ibiz-modal{--ibiz-modal-z-index:var(--ibiz-z-index-modal);--ibiz-modal-background-color:var(--ibiz-color-bg-1)}.ibiz-modal__record--prev{position:absolute;top:50%;left:-6px;transform:translate(-100%,-50%)}.ibiz-modal__record--next{position:absolute;top:50%;right:-6px;font-size:var(--ibiz-font-size-regular);transform:translate(100%,-50%)}.ibiz-modal__record .el-button{height:auto;padding:var(--ibiz-spacing-loose) var(--ibiz-spacing-tight);margin:0;--el-button-bg-color:var(--ibiz-color-bg-0);--el-button-text-color:var(--ibiz-color-text-2);--el-button-hover-bg-color:var(--ibiz-color-bg-1);--el-button-hover-text-color:var(--ibiz-color-text-3);--el-button-active-bg-color:var(--ibiz-color-bg-0);--el-button-active-text-color:var(--ibiz-color-text-2)}.ibiz-modal.el-dialog{overflow:visible}.ibiz-modal .el-dialog__header{position:relative;padding:0}.ibiz-modal .el-dialog__body{height:100%;padding:0;background-color:var(--ibiz-modal-background-color)}.ibiz-modal .el-dialog__headerbtn{top:-40px;right:-60px;border:var(--ibiz-spacing-super-tight) solid var(--ibiz-color-primary-text);border-radius:var(--ibiz-border-radius-circle);display:flex;align-items:center;justify-content:center}.ibiz-modal .el-dialog__headerbtn .el-dialog__close{font-size:var(--ibiz-font-size-header-4);color:var(--ibiz-color-primary-text)}
@@ -1,5 +1,5 @@
1
1
  import { PropType, VNode } from 'vue';
2
- import { IModalData, IModalOptions, IOverlayContainer, Modal } from '@ibiz-template/runtime';
2
+ import { EventBase, IModalData, IModalOptions, IOverlayContainer, Modal, ViewShellHooks } from '@ibiz-template/runtime';
3
3
  import './app-modal-component.scss';
4
4
  export declare const AppModalComponent: import("vue").DefineComponent<{
5
5
  opts: {
@@ -16,13 +16,18 @@ export declare const AppModalComponent: import("vue").DefineComponent<{
16
16
  placement?: "center" | undefined;
17
17
  modalClass?: string | undefined;
18
18
  isRouteModal?: boolean | undefined;
19
+ openIndicator?: boolean | undefined;
19
20
  }>;
20
21
  modalZIndex: number;
21
22
  customStyle: import("@ibiz-template/core").IApiData;
22
23
  modal: Modal;
24
+ viewShellHooks: ViewShellHooks;
23
25
  present: () => void;
24
26
  dismiss: (_data?: IModalData) => void;
25
27
  onBeforeClose: (done: () => void) => Promise<void>;
28
+ prevRecord: () => void;
29
+ nextRecord: () => void;
30
+ handleViewCreated: (event: EventBase) => void;
26
31
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
32
  opts: {
28
33
  type: PropType<IModalOptions>;
@@ -1,11 +1,15 @@
1
- import { ref, reactive, resolveComponent, h, defineComponent } from 'vue';
1
+ import { isVNode, ref, reactive, resolveComponent, createVNode, h, defineComponent } from 'vue';
2
2
  import { useNamespace, useUIStore, OverlayContainer } from '@ibiz-template/vue3-util';
3
3
  import { isNumber } from 'lodash-es';
4
- import { ViewMode, Modal } from '@ibiz-template/runtime';
4
+ import { ViewMode, Modal, ViewShellHooks, SysUIActionTag } from '@ibiz-template/runtime';
5
5
  import './app-modal-component.css';
6
6
  import { calcOpenModeStyle } from '@ibiz-template/core';
7
+ import { ArrowLeftBold, ArrowRightBold } from '../icon/icon.mjs';
7
8
 
8
9
  "use strict";
10
+ function _isSlot(s) {
11
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
12
+ }
9
13
  const AppModalComponent = /* @__PURE__ */ defineComponent({
10
14
  props: {
11
15
  opts: {
@@ -20,6 +24,7 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
20
24
  zIndex
21
25
  } = useUIStore();
22
26
  const modalZIndex = zIndex.increment();
27
+ let modalView;
23
28
  const customStyle = reactive({});
24
29
  const {
25
30
  width,
@@ -55,6 +60,13 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
55
60
  ctx.emit("dismiss", data);
56
61
  }
57
62
  });
63
+ const viewShellHooks = new ViewShellHooks();
64
+ viewShellHooks.hooks.viewCreated.tapPromise(async (_event) => {
65
+ modalView = _event.view;
66
+ });
67
+ const handleViewCreated = (event) => {
68
+ modalView = event.view;
69
+ };
58
70
  const onBeforeClose = async (done) => {
59
71
  const isClose = await modal.dismiss();
60
72
  if (isClose) {
@@ -67,6 +79,12 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
67
79
  const present = () => {
68
80
  isShow.value = true;
69
81
  };
82
+ const prevRecord = () => {
83
+ modalView == null ? void 0 : modalView.call(SysUIActionTag.PREV_RECORD);
84
+ };
85
+ const nextRecord = () => {
86
+ modalView == null ? void 0 : modalView.call(SysUIActionTag.NEXT_RECORD);
87
+ };
70
88
  return {
71
89
  ns,
72
90
  isShow,
@@ -74,13 +92,18 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
74
92
  modalZIndex,
75
93
  customStyle,
76
94
  modal,
95
+ viewShellHooks,
77
96
  present,
78
97
  dismiss,
79
- onBeforeClose
98
+ onBeforeClose,
99
+ prevRecord,
100
+ nextRecord,
101
+ handleViewCreated
80
102
  };
81
103
  },
82
104
  render() {
83
105
  var _a, _b;
106
+ let _slot, _slot2;
84
107
  return h(resolveComponent("el-dialog"), {
85
108
  modelValue: this.isShow,
86
109
  alignCenter: true,
@@ -89,7 +112,25 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
89
112
  zIndex: this.modalZIndex,
90
113
  beforeClose: this.onBeforeClose,
91
114
  ...this.options
92
- }, (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, this.modal));
115
+ }, [
116
+ // eslint-disable-next-line vue/no-multiple-slot-args
117
+ (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, this.modal, this.viewShellHooks),
118
+ this.options.openIndicator && createVNode("div", {
119
+ "class": this.ns.e("record")
120
+ }, [createVNode(resolveComponent("el-button"), {
121
+ "class": this.ns.em("record", "prev"),
122
+ "title": ibiz.i18n.t("util.appModal.prev"),
123
+ "onClick": this.prevRecord
124
+ }, _isSlot(_slot = ArrowLeftBold()) ? _slot : {
125
+ default: () => [_slot]
126
+ }), createVNode(resolveComponent("el-button"), {
127
+ "class": this.ns.em("record", "next"),
128
+ "title": ibiz.i18n.t("util.appModal.next"),
129
+ "onClick": this.nextRecord
130
+ }, _isSlot(_slot2 = ArrowRightBold()) ? _slot2 : {
131
+ default: () => [_slot2]
132
+ })])
133
+ ]);
93
134
  }
94
135
  });
95
136
  function createModal(render, opts) {
@@ -1,6 +1,6 @@
1
1
  import { createApp } from 'vue';
2
2
  import ElementPlus from 'element-plus';
3
- import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.17_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';
3
+ import { defaultNamespace } from '../../node_modules/.pnpm/@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';
4
4
  import { IBizFullscreenToolbar } from '../../common/fullscreen-toolbar/fullscreen-toolbar.mjs';
5
5
 
6
6
  "use strict";
@@ -0,0 +1,3 @@
1
+ declare const ArrowLeftBold: () => JSX.Element;
2
+ declare const ArrowRightBold: () => JSX.Element;
3
+ export { ArrowLeftBold, ArrowRightBold };
@@ -0,0 +1,25 @@
1
+ import { createVNode } from 'vue';
2
+
3
+ "use strict";
4
+ const ArrowLeftBold = () => createVNode("svg", {
5
+ "data-v-9a20e128": "",
6
+ "xmlns": "http://www.w3.org/2000/svg",
7
+ "viewBox": "0 0 1024 1024",
8
+ "width": "1em",
9
+ "height": "1em"
10
+ }, [createVNode("path", {
11
+ "fill": "currentColor",
12
+ "d": "M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"
13
+ }, null)]);
14
+ const ArrowRightBold = () => createVNode("svg", {
15
+ "data-v-9a20e128": "",
16
+ "xmlns": "http://www.w3.org/2000/svg",
17
+ "viewBox": "0 0 1024 1024",
18
+ "width": "1em",
19
+ "height": "1em"
20
+ }, [createVNode("path", {
21
+ "fill": "currentColor",
22
+ "d": "M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"
23
+ }, null)]);
24
+
25
+ export { ArrowLeftBold, ArrowRightBold };
@@ -14,3 +14,4 @@ export * from './wang-editor-util/wang-editor-util';
14
14
  export { useFocusByEnter } from './keydown-util/keydown-util';
15
15
  export { calcAiToolbarItemsByAc } from './ai-util/ai-util';
16
16
  export { convertBtnType } from './button-util/button-util';
17
+ export * from './icon/icon';
package/es/util/index.mjs CHANGED
@@ -14,5 +14,6 @@ export { parseHtml } from './wang-editor-util/wang-editor-util.mjs';
14
14
  export { useFocusByEnter } from './keydown-util/keydown-util.mjs';
15
15
  export { calcAiToolbarItemsByAc } from './ai-util/ai-util.mjs';
16
16
  export { convertBtnType } from './button-util/button-util.mjs';
17
+ export { ArrowLeftBold, ArrowRightBold } from './icon/icon.mjs';
17
18
 
18
19
  "use strict";
@@ -1,6 +1,7 @@
1
- import { ViewController, ViewEngineBase, ICalendarExpBarController, ICalendarExpViewEvent, ICalendarExpViewState } from '@ibiz-template/runtime';
1
+ import { ViewController, ICalendarExpViewEvent, ICalendarExpViewState } from '@ibiz-template/runtime';
2
2
  import { IAppDECalendarExplorerView } from '@ibiz/model-core';
3
- export declare class CalendarExpViewEngine extends ViewEngineBase {
3
+ import { ExpViewEngine } from './exp-view.engine';
4
+ export declare class CalendarExpViewEngine extends ExpViewEngine {
4
5
  /**
5
6
  * 日历导航视图控制器
6
7
  *
@@ -14,12 +15,10 @@ export declare class CalendarExpViewEngine extends ViewEngineBase {
14
15
  */
15
16
  protected view: ViewController<IAppDECalendarExplorerView, ICalendarExpViewState, ICalendarExpViewEvent>;
16
17
  /**
17
- * 树导航栏
18
- *
18
+ * @description 导航栏部件名称
19
19
  * @readonly
20
+ * @type {string}
20
21
  * @memberof CalendarExpViewEngine
21
22
  */
22
- get calendarExpBar(): ICalendarExpBarController;
23
- onCreated(): Promise<void>;
24
- onMounted(): Promise<void>;
23
+ get expBarName(): string;
25
24
  }