@vc-shell/framework 1.2.4-beta.3 → 1.2.4-beta.4

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 (473) hide show
  1. package/core/plugins/modularity/loader.ts +121 -57
  2. package/dist/core/composables/index.d.ts +24 -24
  3. package/dist/core/composables/useAppBarMobileButtons/index.d.ts +1 -1
  4. package/dist/core/composables/useAppBarWidget/index.d.ts +1 -1
  5. package/dist/core/composables/useAssets/index.d.ts +1 -1
  6. package/dist/core/composables/useAsync/index.d.ts +1 -1
  7. package/dist/core/composables/useBlade/index.d.ts +2 -2
  8. package/dist/core/composables/useBladeRegistry/index.d.ts +1 -1
  9. package/dist/core/composables/useBreadcrumbs/index.d.ts +1 -1
  10. package/dist/core/composables/useDashboard/index.d.ts +1 -1
  11. package/dist/core/composables/useErrorHandler/index.d.ts +1 -1
  12. package/dist/core/composables/useFunctions/index.d.ts +4 -4
  13. package/dist/core/composables/useGlobalSearch/index.d.ts +1 -1
  14. package/dist/core/composables/useLanguages/index.d.ts +1 -1
  15. package/dist/core/composables/useMenuService/index.d.ts +1 -1
  16. package/dist/core/composables/useNotifications/index.d.ts +1 -1
  17. package/dist/core/composables/useSettingsMenu/index.d.ts +1 -1
  18. package/dist/core/composables/useToolbar/index.d.ts +2 -2
  19. package/dist/core/composables/useUser/index.d.ts +2 -2
  20. package/dist/core/composables/useUserManagement/index.d.ts +2 -2
  21. package/dist/core/composables/useWidgets/index.d.ts +1 -1
  22. package/dist/core/constants/index.d.ts +3 -3
  23. package/dist/core/directives/index.d.ts +2 -2
  24. package/dist/core/plugins/ai-agent/components/index.d.ts +1 -1
  25. package/dist/core/plugins/ai-agent/composables/index.d.ts +3 -3
  26. package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts +2 -2
  27. package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts +1 -1
  28. package/dist/core/plugins/ai-agent/constants.d.ts +1 -1
  29. package/dist/core/plugins/ai-agent/index.d.ts +9 -9
  30. package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts +1 -1
  31. package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts +1 -1
  32. package/dist/core/plugins/extension-points/defineExtensionPoint.d.ts +1 -1
  33. package/dist/core/plugins/extension-points/index.d.ts +4 -4
  34. package/dist/core/plugins/extension-points/store.d.ts +1 -1
  35. package/dist/core/plugins/extension-points/useExtensionPoint.d.ts +1 -1
  36. package/dist/core/plugins/index.d.ts +7 -7
  37. package/dist/core/plugins/modularity/index.d.ts +2 -2
  38. package/dist/core/plugins/modularity/loader.d.ts +1 -0
  39. package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
  40. package/dist/core/plugins/moment/index.d.ts +1 -1
  41. package/dist/core/plugins/validation/index.d.ts +1 -1
  42. package/dist/core/services/_internal/index.d.ts +3 -3
  43. package/dist/core/services/app-bar-menu-service.d.ts +1 -1
  44. package/dist/core/services/dashboard-service.d.ts +1 -1
  45. package/dist/core/services/index.d.ts +9 -9
  46. package/dist/core/services/menu-service.d.ts +2 -2
  47. package/dist/core/services/settings-menu-service.d.ts +1 -1
  48. package/dist/core/services/toolbar-service.d.ts +2 -2
  49. package/dist/core/services/widget-service.d.ts +2 -2
  50. package/dist/core/types/index.d.ts +3 -3
  51. package/dist/core/utilities/index.d.ts +6 -6
  52. package/dist/framework.js +13076 -12647
  53. package/dist/index.css +1 -1
  54. package/dist/index.d.ts +13 -13
  55. package/dist/injection-keys.d.ts +6 -6
  56. package/dist/locales/de.json +4 -4
  57. package/dist/locales/en.json +5 -5
  58. package/dist/shared/components/app-switcher/components/index.d.ts +1 -1
  59. package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +1 -1
  60. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +1 -1
  61. package/dist/shared/components/app-switcher/composables/index.d.ts +1 -1
  62. package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts +1 -1
  63. package/dist/shared/components/app-switcher/index.d.ts +2 -2
  64. package/dist/shared/components/blade-navigation/components/index.d.ts +2 -2
  65. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +1 -1
  66. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +2 -2
  67. package/dist/shared/components/blade-navigation/components/vc-blade-slot/index.d.ts +1 -1
  68. package/dist/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts +2 -2
  69. package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +3 -3
  70. package/dist/shared/components/blade-navigation/composables/index.d.ts +5 -5
  71. package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts +1 -1
  72. package/dist/shared/components/blade-navigation/composables/useBladeNavigationAdapter.d.ts +1 -1
  73. package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts +2 -2
  74. package/dist/shared/components/blade-navigation/index.d.ts +4 -4
  75. package/dist/shared/components/blade-navigation/plugin-v2.d.ts +4 -4
  76. package/dist/shared/components/blade-navigation/types/index.d.ts +4 -4
  77. package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts +2 -2
  78. package/dist/shared/components/blade-navigation/utils/urlSync.d.ts +1 -1
  79. package/dist/shared/components/change-password/index.d.ts +1 -1
  80. package/dist/shared/components/change-password-button/index.d.ts +1 -1
  81. package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts +16 -0
  82. package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts.map +1 -0
  83. package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts +7 -0
  84. package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts.map +1 -0
  85. package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts +12 -0
  86. package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts.map +1 -0
  87. package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts +34 -0
  88. package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts.map +1 -0
  89. package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts +28 -0
  90. package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts.map +1 -0
  91. package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts +34 -0
  92. package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts.map +1 -0
  93. package/dist/shared/components/dashboard-charts/chart-utils.d.ts +29 -0
  94. package/dist/shared/components/dashboard-charts/chart-utils.d.ts.map +1 -0
  95. package/dist/shared/components/dashboard-charts/index.d.ts +8 -0
  96. package/dist/shared/components/dashboard-charts/index.d.ts.map +1 -0
  97. package/dist/shared/components/dashboard-charts/types.d.ts +7 -0
  98. package/dist/shared/components/dashboard-charts/types.d.ts.map +1 -0
  99. package/dist/shared/components/dashboard-widget-card/index.d.ts +4 -4
  100. package/dist/shared/components/draggable-dashboard/composables/useGridstack.d.ts +1 -1
  101. package/dist/shared/components/draggable-dashboard/composables/useGridstackAdapter.d.ts +1 -1
  102. package/dist/shared/components/draggable-dashboard/index.d.ts +5 -5
  103. package/dist/shared/components/error-interceptor/index.d.ts +2 -2
  104. package/dist/shared/components/index.d.ts +19 -18
  105. package/dist/shared/components/index.d.ts.map +1 -1
  106. package/dist/shared/components/language-selector/index.d.ts +1 -1
  107. package/dist/shared/components/logout-button/index.d.ts +1 -1
  108. package/dist/shared/components/multilanguage-selector/index.d.ts +1 -1
  109. package/dist/shared/components/notification-dropdown/_internal/notification/index.d.ts +1 -1
  110. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +2 -2
  111. package/dist/shared/components/notification-dropdown/index.d.ts +1 -1
  112. package/dist/shared/components/notification-template/index.d.ts +1 -1
  113. package/dist/shared/components/notification-template/notification-template.vue.d.ts +1 -1
  114. package/dist/shared/components/notifications/components/index.d.ts +1 -1
  115. package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
  116. package/dist/shared/components/notifications/composables/index.d.ts +2 -2
  117. package/dist/shared/components/notifications/composables/useContainer/index.d.ts +1 -1
  118. package/dist/shared/components/notifications/composables/useInstance/index.d.ts +1 -1
  119. package/dist/shared/components/notifications/core/index.d.ts +1 -1
  120. package/dist/shared/components/notifications/core/notification.d.ts +2 -2
  121. package/dist/shared/components/notifications/index.d.ts +4 -4
  122. package/dist/shared/components/popup-handler/components/index.d.ts +1 -1
  123. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +1 -1
  124. package/dist/shared/components/popup-handler/composables/index.d.ts +1 -1
  125. package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +3 -3
  126. package/dist/shared/components/popup-handler/index.d.ts +7 -7
  127. package/dist/shared/components/popup-handler/keys.d.ts +1 -1
  128. package/dist/shared/components/popup-handler/plugin.d.ts +1 -1
  129. package/dist/shared/components/popup-handler/types/index.d.ts +1 -1
  130. package/dist/shared/components/settings-menu/index.d.ts +1 -1
  131. package/dist/shared/components/settings-menu-item/index.d.ts +1 -1
  132. package/dist/shared/components/sidebar/index.d.ts +3 -3
  133. package/dist/shared/components/sign-in/external-providers.vue.d.ts +1 -1
  134. package/dist/shared/components/sign-in/external-providers.vue.d.ts.map +1 -1
  135. package/dist/shared/components/sign-in/index.d.ts +1 -1
  136. package/dist/shared/components/sign-in/useExternalProvider.d.ts +1 -1
  137. package/dist/shared/components/theme-selector/index.d.ts +1 -1
  138. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +1 -1
  139. package/dist/shared/components/user-dropdown-button/index.d.ts +1 -1
  140. package/dist/shared/composables/index.d.ts +5 -5
  141. package/dist/shared/index.d.ts +5 -5
  142. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +1 -1
  143. package/dist/shared/modules/assets/components/assets-details/index.d.ts +1 -1
  144. package/dist/shared/modules/assets/components/index.d.ts +1 -1
  145. package/dist/shared/modules/assets/index.d.ts +1 -1
  146. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
  147. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +1 -1
  148. package/dist/shared/modules/assets-manager/components/index.d.ts +1 -1
  149. package/dist/shared/modules/assets-manager/index.d.ts +2 -2
  150. package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts +1 -1
  151. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +16 -16
  152. package/dist/shared/modules/dynamic/components/factories.d.ts +1 -1
  153. package/dist/shared/modules/dynamic/components/fields/Button.d.ts +4 -4
  154. package/dist/shared/modules/dynamic/components/fields/Card.d.ts +4 -4
  155. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +4 -4
  156. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +4 -4
  157. package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +4 -4
  158. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +6 -6
  159. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +6 -6
  160. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +4 -4
  161. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +4 -4
  162. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +4 -4
  163. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +4 -4
  164. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +2 -2
  165. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +4 -4
  166. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +4 -4
  167. package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +4 -4
  168. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +4 -4
  169. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +4 -4
  170. package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +4 -4
  171. package/dist/shared/modules/dynamic/components/fields/Table.d.ts +4 -4
  172. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +4 -4
  173. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +4 -4
  174. package/dist/shared/modules/dynamic/components/fields/props.d.ts +3 -3
  175. package/dist/shared/modules/dynamic/components/index.d.ts +2 -2
  176. package/dist/shared/modules/dynamic/composables/index.d.ts +4 -4
  177. package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts +1 -1
  178. package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts +2 -2
  179. package/dist/shared/modules/dynamic/composables/useTableTemplates/index.d.ts +1 -1
  180. package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts +3 -3
  181. package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts +1 -1
  182. package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts +1 -1
  183. package/dist/shared/modules/dynamic/factories/index.d.ts +3 -3
  184. package/dist/shared/modules/dynamic/factories/types/index.d.ts +6 -6
  185. package/dist/shared/modules/dynamic/helpers/methodHandler.d.ts +1 -1
  186. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts +2 -2
  187. package/dist/shared/modules/dynamic/helpers/override.d.ts +1 -1
  188. package/dist/shared/modules/dynamic/index.d.ts +5 -5
  189. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +10 -10
  190. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +15 -15
  191. package/dist/shared/modules/dynamic/pages/index.d.ts +2 -2
  192. package/dist/shared/modules/dynamic/types/index.d.ts +3 -3
  193. package/dist/shared/modules/dynamic/types/models.d.ts +1 -1
  194. package/dist/shared/modules/index.d.ts +3 -3
  195. package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts +1 -1
  196. package/dist/shared/pages/ChangePasswordPage/components/index.d.ts +1 -1
  197. package/dist/shared/pages/ChangePasswordPage/index.d.ts +1 -1
  198. package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/index.d.ts +1 -1
  199. package/dist/shared/pages/ForgotPasswordPage/components/index.d.ts +1 -1
  200. package/dist/shared/pages/ForgotPasswordPage/index.d.ts +1 -1
  201. package/dist/shared/pages/InvitePage/components/index.d.ts +1 -1
  202. package/dist/shared/pages/InvitePage/components/invite/index.d.ts +1 -1
  203. package/dist/shared/pages/InvitePage/index.d.ts +1 -1
  204. package/dist/shared/pages/LoginPage/components/index.d.ts +1 -1
  205. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  206. package/dist/shared/pages/LoginPage/components/login/index.d.ts +1 -1
  207. package/dist/shared/pages/LoginPage/index.d.ts +1 -1
  208. package/dist/shared/pages/ResetPasswordPage/components/index.d.ts +1 -1
  209. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +1 -1
  210. package/dist/shared/pages/ResetPasswordPage/index.d.ts +1 -1
  211. package/dist/shared/pages/index.d.ts +5 -5
  212. package/dist/shared/pages/plugin.d.ts +5 -5
  213. package/dist/shared/utilities/index.d.ts +4 -4
  214. package/dist/tsconfig.tsbuildinfo +1 -1
  215. package/dist/ui/components/atoms/index.d.ts +21 -21
  216. package/dist/ui/components/atoms/vc-badge/index.d.ts +1 -1
  217. package/dist/ui/components/atoms/vc-banner/index.d.ts +1 -1
  218. package/dist/ui/components/atoms/vc-button/index.d.ts +3 -3
  219. package/dist/ui/components/atoms/vc-button/vc-button-group.vue.d.ts +1 -1
  220. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +2 -2
  221. package/dist/ui/components/atoms/vc-card/index.d.ts +1 -1
  222. package/dist/ui/components/atoms/vc-col/index.d.ts +1 -1
  223. package/dist/ui/components/atoms/vc-container/index.d.ts +1 -1
  224. package/dist/ui/components/atoms/vc-hint/index.d.ts +1 -1
  225. package/dist/ui/components/atoms/vc-icon/composables/index.d.ts +2 -2
  226. package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts +1 -1
  227. package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts +1 -1
  228. package/dist/ui/components/atoms/vc-icon/icons/index.d.ts +1 -1
  229. package/dist/ui/components/atoms/vc-icon/index.d.ts +3 -3
  230. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +1 -1
  231. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +1 -1
  232. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +1 -1
  233. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
  234. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts +1 -1
  235. package/dist/ui/components/atoms/vc-image/index.d.ts +1 -1
  236. package/dist/ui/components/atoms/vc-label/index.d.ts +1 -1
  237. package/dist/ui/components/atoms/vc-link/index.d.ts +1 -1
  238. package/dist/ui/components/atoms/vc-loading/index.d.ts +1 -1
  239. package/dist/ui/components/atoms/vc-progress/index.d.ts +1 -1
  240. package/dist/ui/components/atoms/vc-row/index.d.ts +1 -1
  241. package/dist/ui/components/atoms/vc-scrollable-container/index.d.ts +1 -1
  242. package/dist/ui/components/atoms/vc-skeleton/index.d.ts +1 -1
  243. package/dist/ui/components/atoms/vc-status/index.d.ts +1 -1
  244. package/dist/ui/components/atoms/vc-status-icon/index.d.ts +1 -1
  245. package/dist/ui/components/atoms/vc-tooltip/index.d.ts +1 -1
  246. package/dist/ui/components/atoms/vc-video/index.d.ts +1 -1
  247. package/dist/ui/components/atoms/vc-widget/index.d.ts +1 -1
  248. package/dist/ui/components/index.d.ts +3 -3
  249. package/dist/ui/components/molecules/index.d.ts +27 -27
  250. package/dist/ui/components/molecules/vc-accordion/index.d.ts +4 -4
  251. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +1 -1
  252. package/dist/ui/components/molecules/vc-checkbox/index.d.ts +1 -1
  253. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +1 -1
  254. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  255. package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts +2 -2
  256. package/dist/ui/components/molecules/vc-color-input/index.d.ts +1 -1
  257. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +1 -1
  258. package/dist/ui/components/molecules/vc-date-picker/index.d.ts +1 -1
  259. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +1 -1
  260. package/dist/ui/components/molecules/vc-dropdown/index.d.ts +2 -2
  261. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +1 -1
  262. package/dist/ui/components/molecules/vc-dropdown-panel/index.d.ts +1 -1
  263. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts +1 -1
  264. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts +1 -1
  265. package/dist/ui/components/molecules/vc-editor/index.d.ts +2 -2
  266. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
  267. package/dist/ui/components/molecules/vc-field/index.d.ts +1 -1
  268. package/dist/ui/components/molecules/vc-file-upload/index.d.ts +1 -1
  269. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +1 -1
  270. package/dist/ui/components/molecules/vc-form/index.d.ts +1 -1
  271. package/dist/ui/components/molecules/vc-input/index.d.ts +1 -1
  272. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +1 -1
  273. package/dist/ui/components/molecules/vc-input-currency/index.d.ts +1 -1
  274. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +1 -1
  275. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +1 -1
  276. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +1 -1
  277. package/dist/ui/components/molecules/vc-input-group/index.d.ts +2 -2
  278. package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts +6 -6
  279. package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueDropdown.d.ts +1 -1
  280. package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueInput.d.ts +1 -1
  281. package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueValues.d.ts +1 -1
  282. package/dist/ui/components/molecules/vc-multivalue/index.d.ts +1 -1
  283. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
  284. package/dist/ui/components/molecules/vc-pagination/index.d.ts +1 -1
  285. package/dist/ui/components/molecules/vc-paginator/index.d.ts +1 -1
  286. package/dist/ui/components/molecules/vc-radio-button/index.d.ts +1 -1
  287. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +1 -1
  288. package/dist/ui/components/molecules/vc-radio-group/index.d.ts +2 -2
  289. package/dist/ui/components/molecules/vc-rating/index.d.ts +1 -1
  290. package/dist/ui/components/molecules/vc-select/composables/index.d.ts +7 -7
  291. package/dist/ui/components/molecules/vc-select/composables/useSelectDropdown.d.ts +1 -1
  292. package/dist/ui/components/molecules/vc-select/index.d.ts +2 -2
  293. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +2 -2
  294. package/dist/ui/components/molecules/vc-slider/index.d.ts +1 -1
  295. package/dist/ui/components/molecules/vc-switch/index.d.ts +1 -1
  296. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts +1 -1
  297. package/dist/ui/components/molecules/vc-textarea/index.d.ts +1 -1
  298. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
  299. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  300. package/dist/ui/components/molecules/vc-toast/index.d.ts +1 -1
  301. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +1 -1
  302. package/dist/ui/components/organisms/index.d.ts +8 -8
  303. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts +1 -4
  304. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts.map +1 -1
  305. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts +1 -1
  306. package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.d.ts +2 -8
  307. package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.d.ts.map +1 -1
  308. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts +2 -2
  309. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  310. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts +2 -2
  311. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts +1 -1
  312. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue.d.ts +1 -1
  313. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue.d.ts +1 -1
  314. package/dist/ui/components/organisms/vc-app/_internal/menu/composables/useBadge.d.ts +1 -1
  315. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts +1 -1
  316. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +2 -0
  317. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
  318. package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts +2 -2
  319. package/dist/ui/components/organisms/vc-app/composables/useShellNavigation.d.ts +1 -1
  320. package/dist/ui/components/organisms/vc-app/composition/app-bar/index.d.ts +6 -6
  321. package/dist/ui/components/organisms/vc-app/composition/index.d.ts +6 -6
  322. package/dist/ui/components/organisms/vc-app/composition/layouts/index.d.ts +2 -2
  323. package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts +5 -5
  324. package/dist/ui/components/organisms/vc-app/composition/shell/index.d.ts +3 -3
  325. package/dist/ui/components/organisms/vc-app/composition/sidebar/index.d.ts +3 -3
  326. package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts +4 -4
  327. package/dist/ui/components/organisms/vc-app/index.d.ts +2 -2
  328. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +3 -3
  329. package/dist/ui/components/organisms/vc-auth-layout/index.d.ts +1 -1
  330. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +1 -1
  331. package/dist/ui/components/organisms/vc-blade/_internal/composables/useBladeError.d.ts +1 -1
  332. package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts +2 -2
  333. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +1 -1
  334. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue.d.ts +1 -1
  335. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts +1 -1
  336. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts +1 -1
  337. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts +1 -1
  338. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts +1 -1
  339. package/dist/ui/components/organisms/vc-blade/constants.d.ts +1 -1
  340. package/dist/ui/components/organisms/vc-blade/index.d.ts +1 -1
  341. package/dist/ui/components/organisms/vc-blade/utils.d.ts +1 -1
  342. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  343. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +1 -1
  344. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
  345. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  346. package/dist/ui/components/organisms/vc-gallery/index.d.ts +1 -1
  347. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +1 -1
  348. package/dist/ui/components/organisms/vc-popup/index.d.ts +1 -1
  349. package/dist/ui/components/organisms/vc-sidebar/index.d.ts +1 -1
  350. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +1 -1
  351. package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts +2 -2
  352. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +2 -2
  353. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +2 -2
  354. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +1 -1
  355. package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts +1 -1
  356. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts +1 -1
  357. package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts +3 -3
  358. package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts +1 -1
  359. package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts +2 -2
  360. package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts +2 -2
  361. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts +1 -1
  362. package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts +1 -1
  363. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts +1 -1
  364. package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +1 -1
  365. package/dist/ui/components/organisms/vc-table/components/cells/index.d.ts +11 -11
  366. package/dist/ui/components/organisms/vc-table/components/index.d.ts +26 -26
  367. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts +1 -1
  368. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts +1 -1
  369. package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts +1 -1
  370. package/dist/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue.d.ts +1 -1
  371. package/dist/ui/components/organisms/vc-table/components/mobile/index.d.ts +5 -5
  372. package/dist/ui/components/organisms/vc-table/composables/index.d.ts +30 -30
  373. package/dist/ui/components/organisms/vc-table/composables/useColumnFilter.d.ts +1 -1
  374. package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts +1 -1
  375. package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts +4 -4
  376. package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.d.ts +2 -2
  377. package/dist/ui/components/organisms/vc-table/composables/useTableColumns.d.ts +2 -2
  378. package/dist/ui/components/organisms/vc-table/composables/useTableFilter.d.ts +1 -1
  379. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +1 -1
  380. package/dist/ui/components/organisms/vc-table/composables/useTableSort.d.ts +1 -1
  381. package/dist/ui/components/organisms/vc-table/index.d.ts +9 -9
  382. package/dist/ui/components/organisms/vc-table/keys.d.ts +2 -2
  383. package/dist/ui/components/organisms/vc-table/types.d.ts +3 -3
  384. package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts +1 -1
  385. package/dist/ui/components/organisms/vc-table/utils/index.d.ts +3 -3
  386. package/dist/ui/composables/index.d.ts +5 -5
  387. package/dist/ui/composables/useFormField.d.ts +2 -2
  388. package/dist/ui/types/index.d.ts +1 -1
  389. package/dist/vendor-d3-array-9cpTrqlO.js +149 -0
  390. package/dist/vendor-d3-axis-D1_DbKLz.js +74 -0
  391. package/dist/vendor-d3-brush-CcKeJp9e.js +1 -0
  392. package/dist/vendor-d3-chord-l0sNRNKZ.js +1 -0
  393. package/dist/vendor-d3-color-BOYE6h_9.js +306 -0
  394. package/dist/vendor-d3-dispatch-fx-WMg0D.js +64 -0
  395. package/dist/vendor-d3-drag-l0sNRNKZ.js +1 -0
  396. package/dist/vendor-d3-ease-Cr34gv04.js +8 -0
  397. package/dist/vendor-d3-force-l0sNRNKZ.js +1 -0
  398. package/dist/vendor-d3-format-DaIwZvFc.js +182 -0
  399. package/dist/vendor-d3-geo-l0sNRNKZ.js +1 -0
  400. package/dist/vendor-d3-geo-projection-l0sNRNKZ.js +1 -0
  401. package/dist/vendor-d3-hierarchy-l0sNRNKZ.js +1 -0
  402. package/dist/vendor-d3-interpolate-BYG2gvO4.js +177 -0
  403. package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +299 -0
  404. package/dist/vendor-d3-path-DJOTitNW.js +64 -0
  405. package/dist/vendor-d3-quadtree-l0sNRNKZ.js +1 -0
  406. package/dist/vendor-d3-sankey-l0sNRNKZ.js +1 -0
  407. package/dist/vendor-d3-scale-CC5rtdt5.js +561 -0
  408. package/dist/vendor-d3-selection-CNMxsYiL.js +603 -0
  409. package/dist/vendor-d3-shape-DBhCDMiV.js +925 -0
  410. package/dist/vendor-d3-time-DAPP210_.js +212 -0
  411. package/dist/vendor-d3-time-format-hD7iE2WG.js +491 -0
  412. package/dist/vendor-d3-timer-C1cUWKPz.js +67 -0
  413. package/dist/vendor-d3-transition-BbNQT7qF.js +524 -0
  414. package/dist/vendor-d3-zoom-CcKeJp9e.js +1 -0
  415. package/dist/vendor-elkjs-l0sNRNKZ.js +1 -0
  416. package/dist/vendor-emotion-cache-eEZT5l-Q.js +274 -0
  417. package/dist/vendor-emotion-hash-DImMRhyK.js +22 -0
  418. package/dist/vendor-emotion-memoize-BcEUCz8q.js +9 -0
  419. package/dist/vendor-emotion-serialize-BSDW8NwU.js +123 -0
  420. package/dist/vendor-emotion-sheet-CS8ZBl9s.js +44 -0
  421. package/dist/vendor-emotion-unitless-B7u1PU6w.js +53 -0
  422. package/dist/vendor-emotion-utils-D7refZTM.js +28 -0
  423. package/dist/vendor-emotion-weak-memoize-l0sNRNKZ.js +1 -0
  424. package/dist/vendor-internmap-Q5729_cS.js +35 -0
  425. package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +286 -0
  426. package/dist/vendor-kdbush-l0sNRNKZ.js +1 -0
  427. package/dist/vendor-leaflet-l0sNRNKZ.js +1 -0
  428. package/dist/vendor-lodash-l0sNRNKZ.js +1 -0
  429. package/dist/vendor-maplibre-gl-l0sNRNKZ.js +1 -0
  430. package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +1 -1
  431. package/dist/vendor-striptags-BrHtQQiF.js +120 -0
  432. package/dist/vendor-stylis-ClfDrgKE.js +334 -0
  433. package/dist/vendor-supercluster-l0sNRNKZ.js +1 -0
  434. package/dist/vendor-three-l0sNRNKZ.js +1 -0
  435. package/dist/vendor-throttle-debounce-CX0imT7m.js +28 -0
  436. package/dist/vendor-topojson-client-l0sNRNKZ.js +1 -0
  437. package/dist/vendor-tslib-l0sNRNKZ.js +1 -0
  438. package/dist/vendor-unovis-dagre-layout-l0sNRNKZ.js +1 -0
  439. package/dist/vendor-unovis-graphlibrary-l0sNRNKZ.js +1 -0
  440. package/dist/vendor-unovis-ts-Bue71Kwt.js +2382 -0
  441. package/dist/vendor-unovis-vue-C_K1g5KH.js +446 -0
  442. package/package.json +6 -4
  443. package/shared/components/dashboard-charts/ChartContainer.vue +54 -0
  444. package/shared/components/dashboard-charts/ChartLegend.vue +40 -0
  445. package/shared/components/dashboard-charts/ChartTooltip.vue +43 -0
  446. package/shared/components/dashboard-charts/DashboardBarChart.vue +165 -0
  447. package/shared/components/dashboard-charts/DashboardDonutChart.vue +137 -0
  448. package/shared/components/dashboard-charts/DashboardLineChart.vue +170 -0
  449. package/shared/components/dashboard-charts/chart-theme.scss +19 -0
  450. package/shared/components/dashboard-charts/chart-tooltip.scss +48 -0
  451. package/shared/components/dashboard-charts/chart-utils.ts +189 -0
  452. package/shared/components/dashboard-charts/dashboard-charts.stories.ts +393 -0
  453. package/shared/components/dashboard-charts/index.ts +7 -0
  454. package/shared/components/dashboard-charts/types.ts +7 -0
  455. package/shared/components/index.ts +1 -0
  456. package/shared/components/sign-in/external-providers.vue +1 -1
  457. package/shared/pages/LoginPage/components/login/Login.vue +29 -31
  458. package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +2 -4
  459. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +3 -3
  460. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +1 -1
  461. package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +2 -2
  462. package/ui/components/molecules/vc-select/vc-select.vue +1 -1
  463. package/ui/components/molecules/vc-slider/vc-slider.vue +1 -1
  464. package/ui/components/molecules/vc-switch/vc-switch.vue +2 -2
  465. package/ui/components/molecules/vc-textarea/vc-textarea.vue +8 -2
  466. package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.ts +2 -23
  467. package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue +135 -194
  468. package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue +1 -1
  469. package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.ts +0 -44
  470. package/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue +1 -0
  471. package/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue +181 -164
  472. package/ui/components/organisms/vc-app/composables/useShellBootstrap.ts +114 -106
  473. package/ui/components/organisms/vc-app/vc-app-shell.stories.ts +96 -37
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <div
3
- ref="hubContentRef"
4
3
  class="app-hub-content"
5
4
  :class="{ 'app-hub-content--mobile': mobile }"
6
5
  >
@@ -32,30 +31,6 @@
32
31
  <span class="app-hub-content__section-title">
33
32
  {{ $t("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.APPLICATIONS") }}
34
33
  </span>
35
-
36
- <VcButtonGroup
37
- v-if="showApplicationsViewToggle"
38
- attached
39
- size="sm"
40
- class="app-hub-content__view-mode"
41
- >
42
- <VcButton
43
- data-test-id="app-hub-view-list"
44
- icon="lucide-list"
45
- variant="secondary"
46
- :selected="applicationsViewMode === 'list'"
47
- :aria-label="$t('COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.LIST_VIEW')"
48
- @click="setApplicationsViewMode('list')"
49
- />
50
- <VcButton
51
- data-test-id="app-hub-view-tiles"
52
- icon="lucide-layout-grid"
53
- variant="secondary"
54
- :selected="applicationsViewMode === 'tiles'"
55
- :aria-label="$t('COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.TILE_VIEW')"
56
- @click="setApplicationsViewMode('tiles')"
57
- />
58
- </VcButtonGroup>
59
34
  </header>
60
35
 
61
36
  <VcScrollableContainer
@@ -66,60 +41,39 @@
66
41
  name="applications"
67
42
  :apps-list="filteredApps"
68
43
  :switch-app="handleSwitchApp"
69
- :view-mode="applicationsViewMode"
70
- :set-view-mode="setApplicationsViewMode"
71
44
  >
72
45
  <div
73
46
  v-if="filteredApps.length"
74
- class="app-hub-content__apps-list"
75
- :class="{ 'app-hub-content__apps-list--tiles': isApplicationsTilesView }"
47
+ class="app-hub-content__apps-list app-hub-content__apps-list--tiles"
76
48
  >
77
49
  <button
78
50
  v-for="app in visibleApps"
79
51
  :key="app.id || app.title"
80
52
  type="button"
81
53
  :data-test-id="getAppTestId(app)"
82
- class="app-hub-content__item app-hub-content__item--app"
83
- :class="{
84
- 'app-hub-content__item--active': isAppActive(app),
85
- 'app-hub-content__item--app-tile': isApplicationsTilesView,
86
- }"
54
+ class="app-hub-content__item app-hub-content__item--app app-hub-content__item--app-tile"
55
+ :class="{ 'app-hub-content__item--active': isAppActive(app) }"
87
56
  @click="handleSwitchApp(app)"
88
57
  >
89
58
  <img
90
59
  v-if="app.iconUrl"
91
60
  :src="app.iconUrl"
92
61
  :alt="app.title || app.id || 'app icon'"
93
- class="app-hub-content__item-icon"
94
- :class="{ 'app-hub-content__item-icon--tile': isApplicationsTilesView }"
62
+ class="app-hub-content__item-icon app-hub-content__item-icon--tile"
95
63
  />
96
64
  <VcIcon
97
65
  v-else
98
66
  icon="lucide-grid-2x2"
99
- :size="isApplicationsTilesView ? 'm' : 's'"
100
- class="app-hub-content__item-icon app-hub-content__item-icon--fallback"
101
- :class="{ 'app-hub-content__item-icon--tile': isApplicationsTilesView }"
67
+ size="m"
68
+ class="app-hub-content__item-icon app-hub-content__item-icon--fallback app-hub-content__item-icon--tile"
102
69
  />
103
70
 
104
- <div
105
- class="app-hub-content__item-content"
106
- :class="{ 'app-hub-content__item-content--center': isApplicationsTilesView }"
107
- >
71
+ <div class="app-hub-content__item-content app-hub-content__item-content--center">
108
72
  <div
109
- class="app-hub-content__item-title"
110
- :class="{
111
- 'app-hub-content__item-title--app': true,
112
- 'app-hub-content__item-title--center': isApplicationsTilesView,
113
- }"
73
+ class="app-hub-content__item-title app-hub-content__item-title--app app-hub-content__item-title--center"
114
74
  >
115
75
  {{ app.title || app.id }}
116
76
  </div>
117
- <div
118
- v-if="!isApplicationsTilesView && app.description"
119
- class="app-hub-content__item-subtitle"
120
- >
121
- {{ app.description }}
122
- </div>
123
77
  </div>
124
78
  </button>
125
79
  </div>
@@ -134,82 +88,83 @@
134
88
  </section>
135
89
 
136
90
  <section class="app-hub-content__section app-hub-content__section--widgets">
137
- <header class="app-hub-content__section-header">
138
- <span class="app-hub-content__section-title">
139
- {{ $t("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.WIDGETS") }}
140
- </span>
141
- </header>
142
-
143
- <VcScrollableContainer
144
- ref="widgetsScrollContainerRef"
145
- class="app-hub-content__scroll"
146
- >
147
- <div
148
- v-if="filteredWidgets.length"
149
- class="app-hub-content__list"
150
- >
151
- <button
152
- v-for="widget in visibleWidgets"
153
- :key="widget.id"
154
- type="button"
155
- :data-widget-id="widget.id"
156
- class="app-hub-content__item app-hub-content__item--widget"
157
- :class="{ 'app-hub-content__item--active': isWidgetActive(widget.id) }"
158
- @click="handleWidgetClick(widget, $event)"
159
- >
160
- <div class="app-hub-content__widget-icon-wrap">
91
+ <div class="app-hub-content__widgets-inner">
92
+ <!-- Active widget content (inline) -->
93
+ <template v-if="!mobile && isAnyWidgetVisible && currentWidget?.component">
94
+ <header class="app-hub-content__section-header app-hub-content__section-header--back">
95
+ <button
96
+ class="app-hub-content__back-button"
97
+ @click="hideAllWidgets"
98
+ >
161
99
  <VcIcon
162
- :icon="widget.icon || 'lucide-layout-grid'"
163
- size="s"
164
- class="app-hub-content__item-icon app-hub-content__item-icon--fallback"
100
+ icon="lucide-arrow-left"
101
+ size="xs"
165
102
  />
166
- <span
167
- v-if="isBadgeActive(widget)"
168
- class="app-hub-content__widget-badge"
169
- />
170
- </div>
103
+ <span class="app-hub-content__back-title">{{ getWidgetTitle(currentWidget) }}</span>
104
+ </button>
105
+ </header>
106
+ <VcScrollableContainer class="app-hub-content__widget-inline-body">
107
+ <AppBarWidgetContent />
108
+ </VcScrollableContainer>
109
+ </template>
110
+
111
+ <!-- Widget list (default) -->
112
+ <template v-else>
113
+ <header class="app-hub-content__section-header">
114
+ <span class="app-hub-content__section-title">
115
+ {{ $t("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.WIDGETS") }}
116
+ </span>
117
+ </header>
118
+
119
+ <VcScrollableContainer
120
+ ref="widgetsScrollContainerRef"
121
+ class="app-hub-content__scroll"
122
+ >
123
+ <div
124
+ v-if="filteredWidgets.length"
125
+ class="app-hub-content__list"
126
+ >
127
+ <button
128
+ v-for="widget in visibleWidgets"
129
+ :key="widget.id"
130
+ type="button"
131
+ :data-widget-id="widget.id"
132
+ class="app-hub-content__item app-hub-content__item--widget"
133
+ :class="{ 'app-hub-content__item--active': isWidgetActive(widget.id) }"
134
+ @click="handleWidgetClick(widget)"
135
+ >
136
+ <div class="app-hub-content__widget-icon-wrap">
137
+ <VcIcon
138
+ :icon="widget.icon || 'lucide-layout-grid'"
139
+ size="s"
140
+ class="app-hub-content__item-icon app-hub-content__item-icon--fallback"
141
+ />
142
+ <span
143
+ v-if="isBadgeActive(widget)"
144
+ class="app-hub-content__widget-badge"
145
+ />
146
+ </div>
171
147
 
172
- <div class="app-hub-content__item-content">
173
- <div class="app-hub-content__item-title">
174
- {{ getWidgetTitle(widget) }}
175
- </div>
148
+ <div class="app-hub-content__item-content">
149
+ <div class="app-hub-content__item-title">
150
+ {{ getWidgetTitle(widget) }}
151
+ </div>
152
+ </div>
153
+ </button>
176
154
  </div>
177
- </button>
178
- </div>
179
155
 
180
- <div
181
- v-else
182
- class="app-hub-content__empty"
183
- >
184
- {{ $t("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.NO_WIDGETS") }}
185
- </div>
186
- </VcScrollableContainer>
156
+ <div
157
+ v-else
158
+ class="app-hub-content__empty"
159
+ >
160
+ {{ $t("COMPONENTS.ORGANISMS.VC_APP.INTERNAL.APP_HUB.NO_WIDGETS") }}
161
+ </div>
162
+ </VcScrollableContainer>
163
+ </template>
164
+ </div>
187
165
  </section>
188
166
  </div>
189
167
 
190
- <VcDropdownPanel
191
- v-if="!mobile && currentWidget?.component"
192
- v-model:show="isDesktopWidgetFlyoutVisible"
193
- :anchor-ref="desktopWidgetAnchorRef"
194
- placement="right-start"
195
- width="320px"
196
- max-width="min(320px, calc(100vw - 24px))"
197
- :max-height="520"
198
- :content-scrollable="false"
199
- >
200
- <div class="app-hub-content__flyout-header">
201
- <span class="app-hub-content__flyout-title">{{ getWidgetTitle(currentWidget) }}</span>
202
- <VcButton
203
- icon="material-close"
204
- text
205
- @click="hideAllWidgets"
206
- />
207
- </div>
208
- <div class="app-hub-content__flyout-body">
209
- <AppBarWidgetContent />
210
- </div>
211
- </VcDropdownPanel>
212
-
213
168
  <Transition name="app-hub-content-flyout">
214
169
  <div
215
170
  v-if="mobile && isAnyWidgetVisible && currentWidget?.component"
@@ -232,12 +187,13 @@
232
187
  </template>
233
188
 
234
189
  <script lang="ts" setup>
235
- import { computed, nextTick, onBeforeUnmount, ref, toRef, useSlots, watch } from "vue";
190
+ import { computed, nextTick, onBeforeUnmount, onMounted, ref, toRef, useSlots, watch } from "vue";
236
191
  import type { AppDescriptor } from "@core/api/platform";
237
192
  import type { AppBarWidget } from "@core/services";
238
193
  import { useAppBarWidget } from "@core/composables";
239
- import { VcButton, VcButtonGroup, VcDropdownPanel, VcIcon, VcInput, VcScrollableContainer } from "@ui/components";
240
- import { useAppHub, type ApplicationsViewMode } from "@ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub";
194
+ import { hasUnreadNotifications } from "@core/composables/useNotifications";
195
+ import { VcButton, VcIcon, VcInput, VcScrollableContainer } from "@ui/components";
196
+ import { useAppHub } from "@ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub";
241
197
  import { useAppBarWidgets } from "@ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarWidgets";
242
198
  import AppBarWidgetContent from "@ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetContent.vue";
243
199
 
@@ -257,44 +213,27 @@ const emit = defineEmits<{
257
213
  }>();
258
214
 
259
215
  defineSlots<{
260
- applications?: (props: {
261
- appsList: AppDescriptor[];
262
- switchApp: (app: AppDescriptor) => void;
263
- viewMode: ApplicationsViewMode;
264
- setViewMode: (mode: ApplicationsViewMode) => void;
265
- }) => unknown;
216
+ applications?: (props: { appsList: AppDescriptor[]; switchApp: (app: AppDescriptor) => void }) => unknown;
266
217
  }>();
267
218
 
268
219
  const slots = useSlots();
269
220
  const hasCustomApplicationsSlot = computed(() => typeof slots.applications === "function");
270
- const hubContentRef = ref<HTMLElement | null>(null);
271
- const desktopWidgetAnchorRef = ref<HTMLElement | null>(null);
272
221
  const appsScrollContainerRef = ref<InstanceType<typeof VcScrollableContainer> | null>(null);
273
222
  const widgetsScrollContainerRef = ref<InstanceType<typeof VcScrollableContainer> | null>(null);
274
223
 
275
224
  const { items } = useAppBarWidget();
276
- const { currentWidget, hideAllWidgets, isAnyWidgetVisible, toggleWidget } = useAppBarWidgets();
225
+ const { currentWidget, hideAllWidgets, isAnyWidgetVisible, toggleWidget, showWidget } = useAppBarWidgets();
277
226
 
278
227
  const PROGRESSIVE_RENDER_THRESHOLD = 120;
279
228
  const INITIAL_RENDER_BATCH_SIZE = 120;
280
229
  const RENDER_BATCH_SIZE = 80;
281
230
  const LOAD_MORE_TRIGGER_OFFSET = 120;
282
231
 
283
- const {
284
- searchQuery,
285
- filteredApps,
286
- filteredWidgets,
287
- applicationsViewMode,
288
- isApplicationsTilesView,
289
- showApplicationsViewToggle,
290
- setApplicationsViewMode,
291
- getWidgetTitle,
292
- } = useAppHub({
232
+ const { searchQuery, filteredApps, filteredWidgets, getWidgetTitle } = useAppHub({
293
233
  appsList: toRef(props, "appsList"),
294
234
  widgets: items,
295
235
  showApplications: toRef(props, "showApplications"),
296
236
  mobile: toRef(props, "mobile"),
297
- hasCustomApplicationsSlot,
298
237
  });
299
238
 
300
239
  const appsRenderLimit = ref(INITIAL_RENDER_BATCH_SIZE);
@@ -324,17 +263,6 @@ const visibleWidgets = computed(() => {
324
263
  return filteredWidgets.value.slice(0, widgetsRenderLimit.value);
325
264
  });
326
265
 
327
- const isDesktopWidgetFlyoutVisible = computed({
328
- get: () => {
329
- return !props.mobile && isAnyWidgetVisible.value && !!currentWidget.value?.component && !!desktopWidgetAnchorRef.value;
330
- },
331
- set: (value: boolean) => {
332
- if (!value) {
333
- hideAllWidgets();
334
- }
335
- },
336
- });
337
-
338
266
  watch(
339
267
  () => items.value.map((item) => item.id),
340
268
  () => {
@@ -380,25 +308,11 @@ watch(
380
308
  { immediate: true },
381
309
  );
382
310
 
383
- watch(
384
- [() => currentWidget.value?.id, () => filteredWidgets.value.map((widget) => widget.id).join("|"), () => props.mobile],
385
- ([activeWidgetId]) => {
386
- if (props.mobile || !activeWidgetId) {
387
- desktopWidgetAnchorRef.value = null;
388
- return;
389
- }
390
-
391
- const anchor = resolveWidgetAnchor(activeWidgetId);
392
- if (anchor) {
393
- desktopWidgetAnchorRef.value = anchor;
394
- return;
395
- }
396
-
397
- if (isAnyWidgetVisible.value) {
398
- hideAllWidgets();
399
- }
400
- },
401
- );
311
+ onMounted(() => {
312
+ if (!props.mobile && hasUnreadNotifications.value) {
313
+ showWidget("notifications");
314
+ }
315
+ });
402
316
 
403
317
  onBeforeUnmount(() => {
404
318
  resolveScrollViewport(appsScrollContainerRef.value)?.removeEventListener("scroll", handleAppsScroll);
@@ -468,11 +382,7 @@ function handleWidgetsScroll(): void {
468
382
  });
469
383
  }
470
384
 
471
- function handleWidgetClick(widget: AppBarWidget, event: Event): void {
472
- if (!props.mobile && event.currentTarget instanceof HTMLElement) {
473
- desktopWidgetAnchorRef.value = event.currentTarget;
474
- }
475
-
385
+ function handleWidgetClick(widget: AppBarWidget): void {
476
386
  if (widget.component) {
477
387
  toggleWidget(widget.id);
478
388
  }
@@ -480,15 +390,6 @@ function handleWidgetClick(widget: AppBarWidget, event: Event): void {
480
390
  widget.onClick?.();
481
391
  }
482
392
 
483
- function resolveWidgetAnchor(widgetId: string): HTMLElement | null {
484
- if (!hubContentRef.value) {
485
- return null;
486
- }
487
-
488
- const escapedId = widgetId.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
489
- return hubContentRef.value.querySelector<HTMLElement>(`[data-widget-id="${escapedId}"]`);
490
- }
491
-
492
393
  function maybeExtendRenderLimit(params: {
493
394
  container: InstanceType<typeof VcScrollableContainer> | null;
494
395
  totalItems: number;
@@ -555,7 +456,6 @@ function isBadgeActive(widget: AppBarWidget): boolean {
555
456
  <style lang="scss">
556
457
  :root {
557
458
  --app-hub-panel-width: 580px;
558
- --app-hub-panel-max-height: min(50vh, 400px);
559
459
  --app-hub-search-padding: 12px;
560
460
  --app-hub-divider-color: var(--neutrals-200);
561
461
  --app-hub-item-bg-hover: var(--secondary-100);
@@ -566,11 +466,23 @@ function isBadgeActive(widget: AppBarWidget): boolean {
566
466
  --app-hub-item-icon-active: var(--primary-500);
567
467
  }
568
468
 
469
+ // The parent .vc-dropdown-panel__content is flex:1 + overflow:hidden but NOT
470
+ // a flex container, so percentage/flex heights inside it don't resolve.
471
+ // Make it a flex container so .app-hub-content can use flex:1 + min-height:0
472
+ // to receive the bounded height from floating-ui's maxHeight.
473
+ .vc-dropdown-panel__content:has(> .app-hub-content) {
474
+ display: flex;
475
+ flex-direction: column;
476
+ }
477
+
569
478
  .app-hub-content {
570
- @apply tw-relative tw-flex tw-flex-col;
479
+ @apply tw-relative tw-flex tw-flex-col tw-overflow-hidden;
571
480
  width: var(--app-hub-panel-width);
572
- height: var(--app-hub-panel-max-height);
573
481
  max-width: calc(100vw - 32px);
482
+ // 0 1 auto = content-sized (panel shrinks to fit apps), but can shrink
483
+ // below content when viewport is short (enables scroll via min-height:0).
484
+ flex: 0 1 auto;
485
+ min-height: 0;
574
486
 
575
487
  &--mobile {
576
488
  @apply tw-w-full tw-max-w-full tw-h-auto;
@@ -582,7 +494,8 @@ function isBadgeActive(widget: AppBarWidget): boolean {
582
494
  }
583
495
 
584
496
  &__sections {
585
- @apply tw-grid tw-gap-0 tw-min-h-0 tw-flex-1;
497
+ @apply tw-grid tw-gap-0 tw-min-h-0;
498
+ flex: 0 1 auto;
586
499
  grid-template-columns: minmax(0, 1fr) 220px;
587
500
 
588
501
  &--single {
@@ -616,12 +529,23 @@ function isBadgeActive(widget: AppBarWidget): boolean {
616
529
  }
617
530
 
618
531
  &--widgets {
619
- @apply tw-bg-[var(--app-bar-background)];
532
+ @apply tw-bg-[var(--app-bar-background)] tw-relative;
620
533
  }
621
534
  }
622
535
 
536
+ // Absolutely positioned inner wrapper — removes the widgets column
537
+ // from the grid row's intrinsic height calculation so only the apps
538
+ // column drives the panel height. Content scrolls within.
539
+ &__widgets-inner {
540
+ @apply tw-absolute tw-inset-0 tw-flex tw-flex-col tw-overflow-hidden;
541
+ }
542
+
623
543
  &__section-header {
624
544
  @apply tw-flex tw-items-center tw-justify-between tw-gap-2 tw-px-3 tw-pt-3 tw-pb-2;
545
+
546
+ &--back {
547
+ @apply tw-px-2 tw-pt-2 tw-pb-1;
548
+ }
625
549
  }
626
550
 
627
551
  &__section-title {
@@ -739,6 +663,23 @@ function isBadgeActive(widget: AppBarWidget): boolean {
739
663
  background-color: var(--danger-500);
740
664
  }
741
665
 
666
+ &__back-button {
667
+ @apply tw-flex tw-items-center tw-gap-1.5 tw-px-1.5 tw-py-1 tw-rounded-md tw-text-xs tw-font-medium tw-cursor-pointer tw-transition-colors tw-duration-150;
668
+ color: var(--app-hub-item-title);
669
+
670
+ &:hover {
671
+ background: var(--app-hub-item-bg-hover);
672
+ }
673
+ }
674
+
675
+ &__back-title {
676
+ @apply tw-truncate;
677
+ }
678
+
679
+ &__widget-inline-body {
680
+ @apply tw-flex tw-flex-col tw-flex-1 tw-min-h-0 tw-overflow-hidden;
681
+ }
682
+
742
683
  &__flyout {
743
684
  @apply tw-mx-2 tw-mb-2 tw-w-auto tw-max-h-none tw-flex tw-flex-col tw-rounded-md tw-border tw-border-solid tw-bg-[var(--app-bar-background)] tw-shadow-md;
744
685
  border-color: var(--app-hub-divider-color);
@@ -5,7 +5,7 @@
5
5
  placement="right-start"
6
6
  width="560px"
7
7
  max-width="calc(100vw - 24px)"
8
- :max-height="560"
8
+ :max-height="9999"
9
9
  :content-scrollable="false"
10
10
  >
11
11
  <AppHubContent
@@ -1,56 +1,20 @@
1
1
  import { computed, ref, type Ref } from "vue";
2
- import { useLocalStorage } from "@vueuse/core";
3
2
  import type { AppDescriptor } from "@core/api/platform";
4
3
  import type { AppBarWidget } from "@core/services";
5
4
 
6
- export type ApplicationsViewMode = "list" | "tiles";
7
- type ApplicationsViewPreference = ApplicationsViewMode | "auto";
8
-
9
- const APP_HUB_VIEW_MODE_STORAGE_KEY = "vc_app_hub_applications_view_mode";
10
- const AUTO_TILES_THRESHOLD = 12;
11
-
12
5
  export interface UseAppHubOptions {
13
6
  appsList: Ref<AppDescriptor[]>;
14
7
  widgets: Ref<AppBarWidget[]>;
15
8
  showApplications: Ref<boolean>;
16
9
  mobile: Ref<boolean>;
17
- hasCustomApplicationsSlot: Ref<boolean>;
18
10
  }
19
11
 
20
12
  export function useAppHub(options: UseAppHubOptions) {
21
13
  const searchQuery = ref<string | null>("");
22
- const applicationsViewPreference = useLocalStorage<ApplicationsViewPreference>(APP_HUB_VIEW_MODE_STORAGE_KEY, "auto");
23
14
 
24
15
  const normalizedQuery = computed(() => (searchQuery.value ?? "").trim().toLowerCase());
25
16
  const hasQuery = computed(() => normalizedQuery.value.length > 0);
26
17
 
27
- const autoApplicationsViewMode = computed<ApplicationsViewMode>(() => {
28
- return options.appsList.value.length > AUTO_TILES_THRESHOLD ? "tiles" : "list";
29
- });
30
-
31
- const applicationsViewMode = computed<ApplicationsViewMode>(() => {
32
- if (options.mobile.value) {
33
- return "list";
34
- }
35
-
36
- if (applicationsViewPreference.value === "list" || applicationsViewPreference.value === "tiles") {
37
- return applicationsViewPreference.value;
38
- }
39
-
40
- return autoApplicationsViewMode.value;
41
- });
42
-
43
- const isApplicationsTilesView = computed(() => applicationsViewMode.value === "tiles");
44
-
45
- const showApplicationsViewToggle = computed(() => {
46
- return (
47
- options.showApplications.value &&
48
- !options.mobile.value &&
49
- !options.hasCustomApplicationsSlot.value &&
50
- options.appsList.value.length > 0
51
- );
52
- });
53
-
54
18
  const filteredApps = computed(() => {
55
19
  if (!options.showApplications.value) {
56
20
  return [];
@@ -77,10 +41,6 @@ export function useAppHub(options: UseAppHubOptions) {
77
41
  });
78
42
  });
79
43
 
80
- function setApplicationsViewMode(mode: ApplicationsViewMode): void {
81
- applicationsViewPreference.value = mode;
82
- }
83
-
84
44
  function getWidgetTitle(widget: AppBarWidget): string {
85
45
  return widget.title || humanizeWidgetId(widget.id);
86
46
  }
@@ -89,10 +49,6 @@ export function useAppHub(options: UseAppHubOptions) {
89
49
  searchQuery,
90
50
  filteredApps,
91
51
  filteredWidgets,
92
- applicationsViewMode,
93
- isApplicationsTilesView,
94
- showApplicationsViewToggle,
95
- setApplicationsViewMode,
96
52
  getWidgetTitle,
97
53
  };
98
54
  }
@@ -45,6 +45,7 @@
45
45
  :logo="logo"
46
46
  :expanded="sidebar.isExpanded.value"
47
47
  :show-burger="sidebar.isExpanded.value"
48
+ :is-menu-open="sidebar.isMenuOpen.value"
48
49
  class="desktop-layout__header"
49
50
  @logo:click="$emit('logo:click')"
50
51
  @toggle-menu="handleToggleMenu"