@ibiz-template/vue3-components 0.7.38-alpha.12 → 0.7.38-alpha.31

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 (302) hide show
  1. package/dist/ibiz-markdown-editor-BZ8j-yda.js +1 -0
  2. package/dist/{index-B_Fo_3Rt.js → index-CnCC-cC2.js} +1 -1
  3. package/dist/index-Q4QqDXYJ.js +4 -0
  4. package/dist/{index-BvI3oZGL.js → index-X3QXftIl.js} +1 -1
  5. package/dist/index.min.css +1 -1
  6. package/dist/index.system.min.js +1 -1
  7. package/dist/wang-editor-Btv6GIhJ.js +1 -0
  8. package/dist/{xlsx-util-XDKOLzzW.js → xlsx-util-DbA3TyD9.js} +1 -1
  9. package/es/common/action-toolbar/action-toolbar.css +1 -1
  10. package/es/common/action-toolbar/action-toolbar.mjs +6 -3
  11. package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -1
  12. package/es/common/control-navigation/control-navigation.css +1 -0
  13. package/es/common/control-navigation/control-navigation.d.ts +32 -0
  14. package/es/common/control-navigation/control-navigation.mjs +116 -0
  15. package/es/common/control-navigation/provider/calendar-navigation.provider.d.ts +17 -0
  16. package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +55 -0
  17. package/es/common/control-navigation/provider/index.d.ts +10 -0
  18. package/es/common/control-navigation/provider/index.mjs +17 -0
  19. package/es/common/control-navigation/provider/navigation-base.provider.d.ts +84 -0
  20. package/es/common/control-navigation/provider/navigation-base.provider.mjs +142 -0
  21. package/es/common/control-navigation/provider/tree-navigation.provider.d.ts +30 -0
  22. package/es/common/control-navigation/provider/tree-navigation.provider.mjs +81 -0
  23. package/es/common/custom-filter-condition/custom-filter-condition.d.ts +2 -0
  24. package/es/common/custom-theme/custom-theme-model.mjs +5 -13
  25. package/es/common/data-import2/data-import2.mjs +1 -1
  26. package/es/common/gantt-setting/gantt-setting.css +1 -0
  27. package/es/common/gantt-setting/gantt-setting.d.ts +63 -0
  28. package/es/common/gantt-setting/gantt-setting.mjs +237 -0
  29. package/es/common/grid-setting/grid-setting.css +1 -1
  30. package/es/common/grid-setting/grid-setting.d.ts +3 -1
  31. package/es/common/grid-setting/grid-setting.mjs +21 -5
  32. package/es/common/index.mjs +6 -0
  33. package/es/common/nav-split/nav-split.css +1 -0
  34. package/es/common/nav-split/nav-split.d.ts +57 -0
  35. package/es/common/nav-split/nav-split.mjs +209 -0
  36. package/es/common/pql-editor/utils/index.mjs +30 -40
  37. package/es/common/split/split.css +1 -1
  38. package/es/common/view-message/view-message.d.ts +2 -0
  39. package/es/control/app-menu/app-menu.css +1 -1
  40. package/es/control/app-menu/app-menu.d.ts +3 -0
  41. package/es/control/app-menu/app-menu.mjs +62 -22
  42. package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +12 -3
  43. package/es/control/app-menu/index.d.ts +3 -0
  44. package/es/control/calendar/calendar.css +1 -1
  45. package/es/control/calendar/calendar.d.ts +12 -1
  46. package/es/control/calendar/calendar.mjs +42 -10
  47. package/es/control/calendar/index.d.ts +12 -1
  48. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +54 -0
  49. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +10 -3
  50. package/es/control/dashboard/dashboard-design/dashboard-design.mjs +2 -1
  51. package/es/control/dashboard/dashboard.mjs +13 -1
  52. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -1
  53. package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.mjs +9 -4
  54. package/es/control/data-view/data-view.css +1 -1
  55. package/es/control/data-view/data-view.d.ts +1 -0
  56. package/es/control/data-view/data-view.mjs +21 -3
  57. package/es/control/data-view/index.d.ts +1 -0
  58. package/es/control/drbar/drbar.controller.mjs +2 -2
  59. package/es/control/drtab/drtab-control.util.mjs +1 -1
  60. package/es/control/drtab/drtab.controller.d.ts +28 -8
  61. package/es/control/drtab/drtab.controller.mjs +62 -11
  62. package/es/control/drtab/drtab.css +1 -1
  63. package/es/control/drtab/drtab.d.ts +3 -1
  64. package/es/control/drtab/drtab.mjs +68 -9
  65. package/es/control/drtab/index.d.ts +3 -1
  66. package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +1 -1
  67. package/es/control/form/form-detail/form-item/form-item.d.ts +1 -0
  68. package/es/control/form/form-detail/form-item/form-item.mjs +21 -2
  69. package/es/control/form/form-detail/form-item/index.d.ts +1 -0
  70. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +104 -0
  71. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  72. package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +1 -1
  73. package/es/control/form/search-form/index.d.ts +9 -0
  74. package/es/control/form/search-form/search-form.d.ts +9 -0
  75. package/es/control/form/search-form/search-form.mjs +4 -0
  76. package/es/control/gantt/gantt.css +1 -1
  77. package/es/control/gantt/gantt.d.ts +3 -4
  78. package/es/control/gantt/gantt.mjs +158 -52
  79. package/es/control/gantt/index.d.ts +3 -4
  80. package/es/control/grid/grid/grid-control.util.d.ts +2 -0
  81. package/es/control/grid/grid/grid-control.util.mjs +40 -4
  82. package/es/control/grid/grid/grid.css +1 -1
  83. package/es/control/grid/grid/grid.mjs +86 -73
  84. package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +1 -0
  85. package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +21 -1
  86. package/es/control/grid/grid-column/grid-field-column/index.d.ts +1 -0
  87. package/es/control/list/index.d.ts +1 -0
  88. package/es/control/list/list.css +1 -1
  89. package/es/control/list/list.d.ts +1 -0
  90. package/es/control/list/list.mjs +23 -5
  91. package/es/control/map/map.d.ts +9 -0
  92. package/es/control/map/map.mjs +4 -0
  93. package/es/control/search-bar/search-groups/search-groups.mjs +2 -2
  94. package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
  95. package/es/control/toolbar/toolbar.mjs +3 -0
  96. package/es/control/tree/el-tree-util.d.ts +39 -1
  97. package/es/control/tree/el-tree-util.mjs +70 -2
  98. package/es/control/tree/index.d.ts +16 -14
  99. package/es/control/tree/tree.css +1 -1
  100. package/es/control/tree/tree.d.ts +16 -14
  101. package/es/control/tree/tree.mjs +60 -31
  102. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +17 -1
  103. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
  104. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +3 -8
  105. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.mjs +22 -23
  106. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +1 -0
  107. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +3 -1
  108. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
  109. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +8 -2
  110. package/es/editor/html/wang-editor/wang-editor.mjs +1 -1
  111. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -1
  112. package/es/editor/span/span/span.mjs +7 -1
  113. package/es/editor/span/span-editor.controller.d.ts +7 -0
  114. package/es/editor/span/span-editor.controller.mjs +10 -0
  115. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
  116. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +24 -6
  117. package/es/editor/text-box/input/input.css +1 -1
  118. package/es/editor/text-box/input/input.mjs +32 -5
  119. package/es/editor/text-box/text-box-editor.controller.d.ts +7 -0
  120. package/es/editor/text-box/text-box-editor.controller.mjs +10 -0
  121. package/es/editor/upload/use/use-iview-upload.mjs +1 -1
  122. package/es/locale/en/index.d.ts +33 -0
  123. package/es/locale/en/index.mjs +27 -2
  124. package/es/locale/zh-CN/index.d.ts +33 -0
  125. package/es/locale/zh-CN/index.mjs +27 -2
  126. package/es/panel-component/auth-sso/auth-sso.css +1 -0
  127. package/es/panel-component/auth-sso/auth-sso.d.ts +26 -0
  128. package/es/panel-component/auth-sso/auth-sso.mjs +100 -0
  129. package/es/panel-component/auth-sso/auth-sso.provider.d.ts +6 -0
  130. package/es/panel-component/auth-sso/auth-sso.provider.mjs +21 -0
  131. package/es/panel-component/auth-sso/index.d.ts +23 -0
  132. package/es/panel-component/auth-sso/index.mjs +12 -0
  133. package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  134. package/es/panel-component/coop-pos/coop-pos.controller.d.ts +46 -1
  135. package/es/panel-component/coop-pos/coop-pos.controller.mjs +92 -1
  136. package/es/panel-component/coop-pos/coop-pos.css +1 -1
  137. package/es/panel-component/coop-pos/coop-pos.d.ts +4 -1
  138. package/es/panel-component/coop-pos/coop-pos.mjs +23 -3
  139. package/es/panel-component/coop-pos/index.d.ts +3 -0
  140. package/es/panel-component/index-actions/index-actions.css +1 -1
  141. package/es/panel-component/index.mjs +4 -1
  142. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +8 -31
  143. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.d.ts +1 -1
  144. package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.mjs +1 -1
  145. package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +7 -2
  146. package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +1 -1
  147. package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +3 -3
  148. package/es/panel-component/panel-app-title/index.mjs +4 -0
  149. package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +8 -0
  150. package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
  151. package/es/panel-component/panel-app-title/panel-app-title.mjs +112 -108
  152. package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +2 -1
  153. package/es/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
  154. package/es/panel-component/searchform-buttons/searchform-buttons.mjs +1 -1
  155. package/es/util/app-popover/app-popover-component.mjs +1 -1
  156. package/es/util/fullscreen/fullscreen-util.mjs +2 -2
  157. package/es/util/notification-util/notification-util.d.ts +10 -1
  158. package/es/util/notification-util/notification-util.mjs +36 -0
  159. package/es/util/notification-util/upload-manager/file-type.d.ts +8 -0
  160. package/es/util/notification-util/upload-manager/file-type.mjs +207 -0
  161. package/es/util/notification-util/upload-manager/upload-manager.css +1 -0
  162. package/es/util/notification-util/upload-manager/upload-manager.d.ts +64 -0
  163. package/es/util/notification-util/upload-manager/upload-manager.mjs +159 -0
  164. package/es/util/pagination/use-pagination.mjs +5 -4
  165. package/es/view/login-view/login-view.mjs +18 -0
  166. package/es/view-engine/edit-view.engine.mjs +14 -0
  167. package/es/view-engine/login-view.engine.mjs +1 -0
  168. package/es/view-engine/opt-view.engine.d.ts +1 -0
  169. package/es/view-engine/opt-view.engine.mjs +41 -1
  170. package/es/view-engine/tab-exp-view.engine.d.ts +9 -0
  171. package/es/view-engine/tab-exp-view.engine.mjs +20 -1
  172. package/es/view-engine/tab-search-view.engine.d.ts +9 -1
  173. package/es/view-engine/tab-search-view.engine.mjs +52 -2
  174. package/es/web-app/attach-environment-config.mjs +5 -1
  175. package/es/web-app/guard/auth-guard/auth-guard.d.ts +21 -14
  176. package/es/web-app/guard/auth-guard/auth-guard.mjs +26 -19
  177. package/es/web-app/guard/auth-guard/dyna-auth-guard.d.ts +1 -1
  178. package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +2 -1
  179. package/es/web-app/main.mjs +3 -1
  180. package/es/web-app/router/index.d.ts +3 -2
  181. package/es/web-app/router/index.mjs +15 -4
  182. package/lib/common/action-toolbar/action-toolbar.cjs +6 -3
  183. package/lib/common/action-toolbar/action-toolbar.css +1 -1
  184. package/lib/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -1
  185. package/lib/common/control-navigation/control-navigation.cjs +118 -0
  186. package/lib/common/control-navigation/control-navigation.css +1 -0
  187. package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +57 -0
  188. package/lib/common/control-navigation/provider/index.cjs +19 -0
  189. package/lib/common/control-navigation/provider/navigation-base.provider.cjs +144 -0
  190. package/lib/common/control-navigation/provider/tree-navigation.provider.cjs +83 -0
  191. package/lib/common/custom-theme/custom-theme-model.cjs +5 -13
  192. package/lib/common/data-import2/data-import2.cjs +1 -1
  193. package/lib/common/gantt-setting/gantt-setting.cjs +239 -0
  194. package/lib/common/gantt-setting/gantt-setting.css +1 -0
  195. package/lib/common/grid-setting/grid-setting.cjs +21 -5
  196. package/lib/common/grid-setting/grid-setting.css +1 -1
  197. package/lib/common/index.cjs +6 -0
  198. package/lib/common/nav-split/nav-split.cjs +211 -0
  199. package/lib/common/nav-split/nav-split.css +1 -0
  200. package/lib/common/pql-editor/utils/index.cjs +30 -40
  201. package/lib/common/split/split.css +1 -1
  202. package/lib/control/app-menu/app-menu.cjs +60 -20
  203. package/lib/control/app-menu/app-menu.css +1 -1
  204. package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +11 -2
  205. package/lib/control/calendar/calendar.cjs +42 -10
  206. package/lib/control/calendar/calendar.css +1 -1
  207. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +10 -3
  208. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +2 -1
  209. package/lib/control/dashboard/dashboard.cjs +13 -1
  210. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.cjs +9 -4
  211. package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.css +1 -1
  212. package/lib/control/data-view/data-view.cjs +21 -3
  213. package/lib/control/data-view/data-view.css +1 -1
  214. package/lib/control/drbar/drbar.controller.cjs +2 -2
  215. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  216. package/lib/control/drtab/drtab.cjs +67 -8
  217. package/lib/control/drtab/drtab.controller.cjs +62 -11
  218. package/lib/control/drtab/drtab.css +1 -1
  219. package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +1 -1
  220. package/lib/control/form/form-detail/form-item/form-item.cjs +20 -1
  221. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +1 -1
  222. package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
  223. package/lib/control/form/search-form/search-form.cjs +4 -0
  224. package/lib/control/gantt/gantt.cjs +156 -50
  225. package/lib/control/gantt/gantt.css +1 -1
  226. package/lib/control/grid/grid/grid-control.util.cjs +39 -3
  227. package/lib/control/grid/grid/grid.cjs +86 -73
  228. package/lib/control/grid/grid/grid.css +1 -1
  229. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +21 -1
  230. package/lib/control/list/list.cjs +23 -5
  231. package/lib/control/list/list.css +1 -1
  232. package/lib/control/map/map.cjs +4 -0
  233. package/lib/control/search-bar/search-groups/search-groups.cjs +2 -2
  234. package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
  235. package/lib/control/toolbar/toolbar.cjs +3 -0
  236. package/lib/control/tree/el-tree-util.cjs +70 -0
  237. package/lib/control/tree/tree.cjs +58 -29
  238. package/lib/control/tree/tree.css +1 -1
  239. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +17 -1
  240. package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.cjs +21 -22
  241. package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
  242. package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +1 -0
  243. package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +3 -1
  244. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +8 -2
  245. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
  246. package/lib/editor/html/wang-editor/wang-editor.cjs +1 -1
  247. package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +1 -1
  248. package/lib/editor/span/span/span.cjs +7 -1
  249. package/lib/editor/span/span-editor.controller.cjs +10 -0
  250. package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +24 -6
  251. package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
  252. package/lib/editor/text-box/input/input.cjs +32 -5
  253. package/lib/editor/text-box/input/input.css +1 -1
  254. package/lib/editor/text-box/text-box-editor.controller.cjs +10 -0
  255. package/lib/editor/upload/use/use-iview-upload.cjs +1 -1
  256. package/lib/locale/en/index.cjs +27 -2
  257. package/lib/locale/zh-CN/index.cjs +27 -2
  258. package/lib/panel-component/auth-sso/auth-sso.cjs +102 -0
  259. package/lib/panel-component/auth-sso/auth-sso.css +1 -0
  260. package/lib/panel-component/auth-sso/auth-sso.provider.cjs +23 -0
  261. package/lib/panel-component/auth-sso/index.cjs +17 -0
  262. package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
  263. package/lib/panel-component/coop-pos/coop-pos.cjs +22 -2
  264. package/lib/panel-component/coop-pos/coop-pos.controller.cjs +91 -0
  265. package/lib/panel-component/coop-pos/coop-pos.css +1 -1
  266. package/lib/panel-component/index-actions/index-actions.css +1 -1
  267. package/lib/panel-component/index.cjs +39 -36
  268. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +7 -30
  269. package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.service.cjs +1 -1
  270. package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +7 -2
  271. package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +3 -3
  272. package/lib/panel-component/panel-app-title/index.cjs +4 -0
  273. package/lib/panel-component/panel-app-title/panel-app-title.cjs +112 -108
  274. package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +8 -0
  275. package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
  276. package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +2 -1
  277. package/lib/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
  278. package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +1 -1
  279. package/lib/util/app-popover/app-popover-component.cjs +1 -1
  280. package/lib/util/fullscreen/fullscreen-util.cjs +2 -2
  281. package/lib/util/notification-util/notification-util.cjs +36 -0
  282. package/lib/util/notification-util/upload-manager/file-type.cjs +209 -0
  283. package/lib/util/notification-util/upload-manager/upload-manager.cjs +161 -0
  284. package/lib/util/notification-util/upload-manager/upload-manager.css +1 -0
  285. package/lib/util/pagination/use-pagination.cjs +5 -4
  286. package/lib/view/login-view/login-view.cjs +18 -0
  287. package/lib/view-engine/edit-view.engine.cjs +14 -0
  288. package/lib/view-engine/login-view.engine.cjs +1 -0
  289. package/lib/view-engine/opt-view.engine.cjs +40 -0
  290. package/lib/view-engine/tab-exp-view.engine.cjs +19 -0
  291. package/lib/view-engine/tab-search-view.engine.cjs +52 -2
  292. package/lib/web-app/attach-environment-config.cjs +5 -1
  293. package/lib/web-app/guard/auth-guard/auth-guard.cjs +26 -19
  294. package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +2 -1
  295. package/lib/web-app/main.cjs +3 -1
  296. package/lib/web-app/router/index.cjs +15 -4
  297. package/package.json +11 -11
  298. package/dist/ibiz-markdown-editor-B4c6yGAW.js +0 -1
  299. package/dist/index-VQ3FT6ih.js +0 -4
  300. package/dist/wang-editor-BUIAd4uJ.js +0 -1
  301. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.35-alpha.1_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.32_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  302. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.35-alpha.1_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.32_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -36,40 +36,44 @@ class AuthGuard {
36
36
  }
37
37
  /**
38
38
  * 总的入口校验
39
- * @author lxm
40
- * @date 2024-02-21 10:43:55
41
- * @param {boolean} notLogin
39
+ *
40
+ * @author tony001
41
+ * @date 2024-11-12 14:11:32
42
+ * @param {IParams} context
43
+ * @param {boolean} [notLogin=true]
42
44
  * @return {*} {Promise<boolean>}
43
45
  */
44
- async verify(notLogin = true) {
46
+ async verify(context, notLogin = true) {
45
47
  if (notLogin) {
46
48
  let result = true;
47
49
  try {
48
50
  if (ibiz.env.enableAnonymous) {
49
- await this.anonymousValidate();
51
+ await this.anonymousValidate(context);
50
52
  }
51
- await this.appInit();
53
+ await this.appInit(context);
52
54
  } catch (error) {
53
55
  result = false;
54
56
  ibiz.util.error.handle(error);
55
57
  }
56
58
  return result;
57
59
  }
58
- await this.initModel(false);
60
+ await this.initModel(context, false);
59
61
  return true;
60
62
  }
61
63
  /**
62
64
  * 匿名登录相关校验逻辑,不通过会抛异常
63
- * @author lxm
64
- * @date 2024-01-03 07:29:30
65
+ *
66
+ * @author tony001
67
+ * @date 2024-11-12 14:11:27
68
+ * @param {IParams} context
65
69
  * @return {*} {Promise<void>}
66
70
  */
67
- async anonymousValidate() {
71
+ async anonymousValidate(context) {
68
72
  const authInfo = ibiz.auth.getAuthInfo();
69
73
  if (authInfo && !authInfo.isAnonymous) {
70
74
  return;
71
75
  }
72
- await this.initModel(false);
76
+ await this.initModel(context, false);
73
77
  const urlPaths = window.location.hash.split("/");
74
78
  const viewName = urlPaths[urlPaths.length - 2];
75
79
  let viewModel;
@@ -102,11 +106,12 @@ class AuthGuard {
102
106
  /**
103
107
  * 应用参数初始化
104
108
  *
105
- * @author chitanda
106
- * @date 2022-07-20 19:07:54
109
+ * @author tony001
110
+ * @date 2024-11-12 14:11:06
111
+ * @param {IParams} context
107
112
  * @return {*} {Promise<void>}
108
113
  */
109
- async appInit() {
114
+ async appInit(context) {
110
115
  try {
111
116
  if (ibiz.env.isSaaSMode === true) {
112
117
  await this.loadOrgData();
@@ -130,19 +135,21 @@ class AuthGuard {
130
135
  throw error;
131
136
  }
132
137
  }
133
- await this.initModel();
138
+ await this.initModel(context);
134
139
  await ibiz.auth.extendLogin();
135
140
  await ibiz.hub.notice.init();
136
141
  await ibiz.util.theme.initCustomTheme();
137
142
  }
138
143
  /**
139
144
  * 初始化模型
140
- * @author lxm
141
- * @date 2024-02-21 10:48:36
142
- * @param {boolean} [permission=true]
145
+ *
146
+ * @author tony001
147
+ * @date 2024-11-12 14:11:43
148
+ * @param {IParams} context
149
+ * @param {boolean} [_permission=true]
143
150
  * @return {*} {Promise<void>}
144
151
  */
145
- async initModel(_permission = true) {
152
+ async initModel(context, _permission = true) {
146
153
  }
147
154
  /**
148
155
  * 加载应用数据
@@ -18,7 +18,7 @@ class DynaAuthGuard extends authGuard.AuthGuard {
18
18
  __publicField(this, "hasModelInit", false);
19
19
  __publicField(this, "noPermissionModel", false);
20
20
  }
21
- async initModel(permission = true) {
21
+ async initModel(context, permission = true) {
22
22
  if (!this.hasModelInit || this.hasModelInit && this.noPermissionModel !== permission) {
23
23
  ibiz.hub.reset();
24
24
  const helper = new modelHelper.ModelHelper(
@@ -31,6 +31,7 @@ class DynaAuthGuard extends authGuard.AuthGuard {
31
31
  return res.data;
32
32
  },
33
33
  ibiz.env.appId,
34
+ context,
34
35
  permission
35
36
  );
36
37
  const tempApp = await helper.getAppModel();
@@ -64,7 +64,9 @@ async function runApp(plugins, opts) {
64
64
  } else {
65
65
  authGuard = new dynaAuthGuard.DynaAuthGuard();
66
66
  }
67
- index.AppRouter.setAuthGuard((notLogin) => authGuard.verify(notLogin));
67
+ index.AppRouter.setAuthGuard(
68
+ (context, notLogin) => authGuard.verify(context, notLogin)
69
+ );
68
70
  app.use(index.AppRouter.getRouter());
69
71
  ibiz.appUtil = new appUtil.AppUtil(index.AppRouter.getRouter());
70
72
  ibiz.openView = new openViewUtil.OpenViewUtil(index.AppRouter.getRouter());
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var vueRouter = require('vue-router');
4
+ var qs = require('qs');
4
5
  var vue3Util = require('@ibiz-template/vue3-util');
5
6
  var runtime = require('@ibiz-template/runtime');
6
7
  var nprogress = require('../../node_modules/.pnpm/nprogress@0.2.0/node_modules/nprogress/nprogress.cjs');
@@ -24,6 +25,16 @@ class AppRouter {
24
25
  static setAuthGuard(authGuard) {
25
26
  this.authGuard = authGuard;
26
27
  }
28
+ static getAppContext(route) {
29
+ let appContext = {};
30
+ if (route.params.appContext && route.params.appContext !== ibiz.env.routePlaceholder) {
31
+ appContext = qs.parse(route.params.appContext, {
32
+ strictNullHandling: true,
33
+ delimiter: ";"
34
+ });
35
+ }
36
+ return appContext;
37
+ }
27
38
  static getRouter() {
28
39
  const placeholder = ibiz.env.routePlaceholder;
29
40
  const paramReg = "[^/]+=[^/]+|".concat(placeholder);
@@ -41,7 +52,7 @@ class AppRouter {
41
52
  path: "/login",
42
53
  name: "loginView",
43
54
  beforeEnter: async (_to, _from, next) => {
44
- await this.authGuard(false);
55
+ await this.authGuard(this.getAppContext(_to), false);
45
56
  next();
46
57
  },
47
58
  component: loginView.LoginView
@@ -50,7 +61,7 @@ class AppRouter {
50
61
  path: "/share",
51
62
  name: "shareView",
52
63
  beforeEnter: async (_to, _from, next) => {
53
- const authority = await this.authGuard();
64
+ const authority = await this.authGuard(this.getAppContext(_to));
54
65
  if (authority) {
55
66
  next();
56
67
  } else {
@@ -68,7 +79,7 @@ class AppRouter {
68
79
  path: "/appredirectview",
69
80
  name: "appRedirectView",
70
81
  beforeEnter: async (_to, _from, next) => {
71
- const authority = await this.authGuard();
82
+ const authority = await this.authGuard(this.getAppContext(_to));
72
83
  if (authority) {
73
84
  next();
74
85
  } else {
@@ -80,7 +91,7 @@ class AppRouter {
80
91
  {
81
92
  path: "/:appContext(".concat(paramReg, ")/:view1(").concat(viewReg, ")/:params1(").concat(paramReg, ")"),
82
93
  beforeEnter: async (_to, _from, next) => {
83
- const authority = await this.authGuard();
94
+ const authority = await this.authGuard(this.getAppContext(_to));
84
95
  if (authority) {
85
96
  next();
86
97
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.38-alpha.12",
3
+ "version": "0.7.38-alpha.31",
4
4
  "description": "使用 rollup 编译 vue 组件或者 jsx",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -30,17 +30,17 @@
30
30
  "dependencies": {
31
31
  "@floating-ui/dom": "^1.5.3",
32
32
  "@ibiz-template-plugin/ai-chat": "^0.0.5",
33
- "@ibiz-template-plugin/gantt": "0.1.8-alpha.7",
34
- "@ibiz-template-plugin/bi-report": "0.0.24",
33
+ "@ibiz-template-plugin/gantt": "0.1.8-alpha.92",
34
+ "@ibiz-template-plugin/bi-report": "0.0.25",
35
35
  "@ibiz-template-plugin/data-view": "0.0.3",
36
- "@ibiz-template/core": "0.7.35-alpha.1",
37
- "@ibiz-template/devtool": "0.0.1-dev.6",
38
- "@ibiz-template/model-helper": "0.7.38-alpha.12",
39
- "@ibiz-template/runtime": "0.7.38-alpha.12",
36
+ "@ibiz-template/core": "0.7.38-alpha.32",
37
+ "@ibiz-template/devtool": "0.0.2",
38
+ "@ibiz-template/model-helper": "0.7.38-alpha.33",
39
+ "@ibiz-template/runtime": "0.7.38-alpha.33",
40
40
  "@ibiz-template/theme": "^0.7.0",
41
- "@ibiz-template/vue3-util": "0.7.38-alpha.12",
42
- "@ibiz-template/web-theme": "^1.1.21",
43
- "@ibiz/model-core": "^0.1.56",
41
+ "@ibiz-template/vue3-util": "0.7.38-alpha.33",
42
+ "@ibiz-template/web-theme": "^1.1.25",
43
+ "@ibiz/model-core": "^0.1.59",
44
44
  "@imengyu/vue3-context-menu": "^1.3.5",
45
45
  "@monaco-editor/loader": "^1.4.0",
46
46
  "@wangeditor/editor": "^5.1.23",
@@ -105,7 +105,7 @@
105
105
  "@ibiz-template/runtime": "^0.7.0",
106
106
  "@ibiz-template/theme": "^0.7.0",
107
107
  "@ibiz-template/vue3-util": "^0.7.0",
108
- "@ibiz/model-core": "^0.1.56",
108
+ "@ibiz/model-core": "^0.1.59",
109
109
  "@imengyu/vue3-context-menu": "^1.3.3",
110
110
  "@monaco-editor/loader": "^1.3.3",
111
111
  "@wangeditor/editor": "^5.1.23",
@@ -1 +0,0 @@
1
- System.register(["vue","@ibiz-template/vue3-util","qx-util","cherry-markdown","@ibiz-template/core"],(function(e){"use strict";var t,a,l,o,n,i,r,s,u,c,d,h,v,m,b;return{setters:[function(e){t=e.defineComponent,a=e.ref,l=e.watch,o=e.onMounted,n=e.onUnmounted,i=e.createVNode,r=e.nextTick},function(e){s=e.getMarkDownProps,u=e.getEditorEmits,c=e.useNamespace,d=e.useUIStore},function(e){h=e.createUUID,v=e.getCookie},function(e){m=e.default},function(e){b=e.CoreConst}],execute:function(){e("default",t({name:"IBizMarkDown",props:s(),emits:u(),setup(e,{emit:t}){const i=c("markdown"),s=e.controller,u=a(""),f=a(null),p=h(),g=a({Authorization:"Bearer ".concat(v(b.TOKEN))}),w=a(""),k=a(""),{UIStore:y}=d(),U=a(y.theme),x=a("editOnly");let C=null,z=0;const M=a({});l((()=>e.data),(e=>{if(e&&s){const t=ibiz.util.file.calcFileUpDownUrl(s.context,s.params,e,s.editorParams);w.value=t.uploadUrl,k.value=t.downloadUrl}}),{immediate:!0,deep:!0});const O=a(),B=async(e,t)=>{const a=await ibiz.util.file.fileUpload(w.value,e,g.value);t(k.value.replace("%fileId%",a.fileid))},D=()=>{var e;return null==(e=f.value)?void 0:e.getMarkdown()},I=e=>{var t;null==(t=f.value)||t.setMarkdown(e,!1)};l((()=>e.value),((e,t)=>{e!==t&&(u.value=e||"")}),{immediate:!0}),l(u,((e,t)=>{const a=D();e!==t&&a!==e&&I(e)}));const V=e=>{t("change",D())},R=(e,t)=>({[e]:t});l((()=>y.theme),(e=>{var t;U.value=e,null==(t=f.value)||t.setTheme(U.value)}));return o((()=>{e.disabled&&(x.value="previewOnly"),r((()=>{f.value=new m({id:p,value:u.value,theme:U.value,fileUpload:B,emoji:{useUnicode:!0},header:{anchorStyle:"autonumber"},editor:{height:"100%",defaultModel:x.value,codemirror:{autofocus:!1}},toolbars:{theme:U.value,toolbar:["bold","italic","underline","strikethrough","|","color","header","|","list","image",{insert:["link","hr","br","code","formula","toc","table","line-table","bar-table"]},"settings","togglePreview"],bubble:["bold","italic","underline","strikethrough","sub","sup","|","size","color"],float:["h1","h2","h3","|","checklist","quote","quickTable","code"],customMenu:[],sidebar:[]},callback:{afterChange:V,beforeImageMounted:R}})})),(()=>{if(window.ResizeObserver&&O.value){const e={width:"".concat(O.value.offsetWidth,"px")};s&&"number"==typeof s.parent.model.height&&Object.assign(e,{height:"".concat(s.parent.model.height,"px")}),M.value=i.cssVarBlock(e),C=new ResizeObserver((e=>{const t=e[0].contentRect.width;if(t!==z){const a={width:"".concat(e[0].contentRect.width,"px")};s&&"number"==typeof s.parent.model.height&&Object.assign(a,{height:"".concat(s.parent.model.height,"px")}),M.value=i.cssVarBlock(a),z=t}})),C.observe(O.value)}})()})),n((()=>{f.value=null,C&&C.disconnect()})),{ns:i,currentVal:u,id:p,editor:f,markDownBox:O,headers:g,theme:U,defaultModel:x,cssVars:M,getCherryHtml:()=>{var e;return null==(e=f.value)?void 0:e.getHtml()},getCherryContent:D,setCherryContent:I}},render(){return i("div",{ref:"markDownBox",class:[this.ns.b(),this.ns.is("disabled",this.disabled)]},[i("div",{id:this.id,style:this.cssVars,class:this.ns.b("cherry")},null)])}}))}}}));