@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.
- package/core/plugins/modularity/loader.ts +121 -57
- package/dist/core/composables/index.d.ts +24 -24
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts +1 -1
- package/dist/core/composables/useAppBarWidget/index.d.ts +1 -1
- package/dist/core/composables/useAssets/index.d.ts +1 -1
- package/dist/core/composables/useAsync/index.d.ts +1 -1
- package/dist/core/composables/useBlade/index.d.ts +2 -2
- package/dist/core/composables/useBladeRegistry/index.d.ts +1 -1
- package/dist/core/composables/useBreadcrumbs/index.d.ts +1 -1
- package/dist/core/composables/useDashboard/index.d.ts +1 -1
- package/dist/core/composables/useErrorHandler/index.d.ts +1 -1
- package/dist/core/composables/useFunctions/index.d.ts +4 -4
- package/dist/core/composables/useGlobalSearch/index.d.ts +1 -1
- package/dist/core/composables/useLanguages/index.d.ts +1 -1
- package/dist/core/composables/useMenuService/index.d.ts +1 -1
- package/dist/core/composables/useNotifications/index.d.ts +1 -1
- package/dist/core/composables/useSettingsMenu/index.d.ts +1 -1
- package/dist/core/composables/useToolbar/index.d.ts +2 -2
- package/dist/core/composables/useUser/index.d.ts +2 -2
- package/dist/core/composables/useUserManagement/index.d.ts +2 -2
- package/dist/core/composables/useWidgets/index.d.ts +1 -1
- package/dist/core/constants/index.d.ts +3 -3
- package/dist/core/directives/index.d.ts +2 -2
- package/dist/core/plugins/ai-agent/components/index.d.ts +1 -1
- package/dist/core/plugins/ai-agent/composables/index.d.ts +3 -3
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts +2 -2
- package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts +1 -1
- package/dist/core/plugins/ai-agent/constants.d.ts +1 -1
- package/dist/core/plugins/ai-agent/index.d.ts +9 -9
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts +1 -1
- package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts +1 -1
- package/dist/core/plugins/extension-points/defineExtensionPoint.d.ts +1 -1
- package/dist/core/plugins/extension-points/index.d.ts +4 -4
- package/dist/core/plugins/extension-points/store.d.ts +1 -1
- package/dist/core/plugins/extension-points/useExtensionPoint.d.ts +1 -1
- package/dist/core/plugins/index.d.ts +7 -7
- package/dist/core/plugins/modularity/index.d.ts +2 -2
- package/dist/core/plugins/modularity/loader.d.ts +1 -0
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/core/plugins/moment/index.d.ts +1 -1
- package/dist/core/plugins/validation/index.d.ts +1 -1
- package/dist/core/services/_internal/index.d.ts +3 -3
- package/dist/core/services/app-bar-menu-service.d.ts +1 -1
- package/dist/core/services/dashboard-service.d.ts +1 -1
- package/dist/core/services/index.d.ts +9 -9
- package/dist/core/services/menu-service.d.ts +2 -2
- package/dist/core/services/settings-menu-service.d.ts +1 -1
- package/dist/core/services/toolbar-service.d.ts +2 -2
- package/dist/core/services/widget-service.d.ts +2 -2
- package/dist/core/types/index.d.ts +3 -3
- package/dist/core/utilities/index.d.ts +6 -6
- package/dist/framework.js +13076 -12647
- package/dist/index.css +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/injection-keys.d.ts +6 -6
- package/dist/locales/de.json +4 -4
- package/dist/locales/en.json +5 -5
- package/dist/shared/components/app-switcher/components/index.d.ts +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +1 -1
- package/dist/shared/components/app-switcher/composables/index.d.ts +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts +1 -1
- package/dist/shared/components/app-switcher/index.d.ts +2 -2
- package/dist/shared/components/blade-navigation/components/index.d.ts +2 -2
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +2 -2
- package/dist/shared/components/blade-navigation/components/vc-blade-slot/index.d.ts +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts +2 -2
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +3 -3
- package/dist/shared/components/blade-navigation/composables/index.d.ts +5 -5
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigationAdapter.d.ts +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts +2 -2
- package/dist/shared/components/blade-navigation/index.d.ts +4 -4
- package/dist/shared/components/blade-navigation/plugin-v2.d.ts +4 -4
- package/dist/shared/components/blade-navigation/types/index.d.ts +4 -4
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts +2 -2
- package/dist/shared/components/blade-navigation/utils/urlSync.d.ts +1 -1
- package/dist/shared/components/change-password/index.d.ts +1 -1
- package/dist/shared/components/change-password-button/index.d.ts +1 -1
- package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts +16 -0
- package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts +7 -0
- package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts +12 -0
- package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts +34 -0
- package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts +28 -0
- package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts +34 -0
- package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/chart-utils.d.ts +29 -0
- package/dist/shared/components/dashboard-charts/chart-utils.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/index.d.ts +8 -0
- package/dist/shared/components/dashboard-charts/index.d.ts.map +1 -0
- package/dist/shared/components/dashboard-charts/types.d.ts +7 -0
- package/dist/shared/components/dashboard-charts/types.d.ts.map +1 -0
- package/dist/shared/components/dashboard-widget-card/index.d.ts +4 -4
- package/dist/shared/components/draggable-dashboard/composables/useGridstack.d.ts +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useGridstackAdapter.d.ts +1 -1
- package/dist/shared/components/draggable-dashboard/index.d.ts +5 -5
- package/dist/shared/components/error-interceptor/index.d.ts +2 -2
- package/dist/shared/components/index.d.ts +19 -18
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/components/language-selector/index.d.ts +1 -1
- package/dist/shared/components/logout-button/index.d.ts +1 -1
- package/dist/shared/components/multilanguage-selector/index.d.ts +1 -1
- package/dist/shared/components/notification-dropdown/_internal/notification/index.d.ts +1 -1
- package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +2 -2
- package/dist/shared/components/notification-dropdown/index.d.ts +1 -1
- package/dist/shared/components/notification-template/index.d.ts +1 -1
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +1 -1
- package/dist/shared/components/notifications/components/index.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
- package/dist/shared/components/notifications/composables/index.d.ts +2 -2
- package/dist/shared/components/notifications/composables/useContainer/index.d.ts +1 -1
- package/dist/shared/components/notifications/composables/useInstance/index.d.ts +1 -1
- package/dist/shared/components/notifications/core/index.d.ts +1 -1
- package/dist/shared/components/notifications/core/notification.d.ts +2 -2
- package/dist/shared/components/notifications/index.d.ts +4 -4
- package/dist/shared/components/popup-handler/components/index.d.ts +1 -1
- package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +1 -1
- package/dist/shared/components/popup-handler/composables/index.d.ts +1 -1
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +3 -3
- package/dist/shared/components/popup-handler/index.d.ts +7 -7
- package/dist/shared/components/popup-handler/keys.d.ts +1 -1
- package/dist/shared/components/popup-handler/plugin.d.ts +1 -1
- package/dist/shared/components/popup-handler/types/index.d.ts +1 -1
- package/dist/shared/components/settings-menu/index.d.ts +1 -1
- package/dist/shared/components/settings-menu-item/index.d.ts +1 -1
- package/dist/shared/components/sidebar/index.d.ts +3 -3
- package/dist/shared/components/sign-in/external-providers.vue.d.ts +1 -1
- package/dist/shared/components/sign-in/external-providers.vue.d.ts.map +1 -1
- package/dist/shared/components/sign-in/index.d.ts +1 -1
- package/dist/shared/components/sign-in/useExternalProvider.d.ts +1 -1
- package/dist/shared/components/theme-selector/index.d.ts +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +1 -1
- package/dist/shared/components/user-dropdown-button/index.d.ts +1 -1
- package/dist/shared/composables/index.d.ts +5 -5
- package/dist/shared/index.d.ts +5 -5
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +1 -1
- package/dist/shared/modules/assets/components/assets-details/index.d.ts +1 -1
- package/dist/shared/modules/assets/components/index.d.ts +1 -1
- package/dist/shared/modules/assets/index.d.ts +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +1 -1
- package/dist/shared/modules/assets-manager/components/index.d.ts +1 -1
- package/dist/shared/modules/assets-manager/index.d.ts +2 -2
- package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +16 -16
- package/dist/shared/modules/dynamic/components/factories.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +2 -2
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/props.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/index.d.ts +2 -2
- package/dist/shared/modules/dynamic/composables/index.d.ts +4 -4
- package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts +2 -2
- package/dist/shared/modules/dynamic/composables/useTableTemplates/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts +3 -3
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts +1 -1
- package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts +1 -1
- package/dist/shared/modules/dynamic/factories/index.d.ts +3 -3
- package/dist/shared/modules/dynamic/factories/types/index.d.ts +6 -6
- package/dist/shared/modules/dynamic/helpers/methodHandler.d.ts +1 -1
- package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts +2 -2
- package/dist/shared/modules/dynamic/helpers/override.d.ts +1 -1
- package/dist/shared/modules/dynamic/index.d.ts +5 -5
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +10 -10
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +15 -15
- package/dist/shared/modules/dynamic/pages/index.d.ts +2 -2
- package/dist/shared/modules/dynamic/types/index.d.ts +3 -3
- package/dist/shared/modules/dynamic/types/models.d.ts +1 -1
- package/dist/shared/modules/index.d.ts +3 -3
- package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts +1 -1
- package/dist/shared/pages/ChangePasswordPage/components/index.d.ts +1 -1
- package/dist/shared/pages/ChangePasswordPage/index.d.ts +1 -1
- package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/index.d.ts +1 -1
- package/dist/shared/pages/ForgotPasswordPage/components/index.d.ts +1 -1
- package/dist/shared/pages/ForgotPasswordPage/index.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/index.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts +1 -1
- package/dist/shared/pages/InvitePage/index.d.ts +1 -1
- package/dist/shared/pages/LoginPage/components/index.d.ts +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/index.d.ts +1 -1
- package/dist/shared/pages/LoginPage/index.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/index.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/index.d.ts +1 -1
- package/dist/shared/pages/index.d.ts +5 -5
- package/dist/shared/pages/plugin.d.ts +5 -5
- package/dist/shared/utilities/index.d.ts +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/index.d.ts +21 -21
- package/dist/ui/components/atoms/vc-badge/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-banner/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/index.d.ts +3 -3
- package/dist/ui/components/atoms/vc-button/vc-button-group.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-card/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-col/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-container/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-hint/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/composables/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/index.d.ts +3 -3
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-image/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-label/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-link/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-loading/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-row/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-scrollable-container/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-skeleton/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-status/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-tooltip/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-video/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +1 -1
- package/dist/ui/components/index.d.ts +3 -3
- package/dist/ui/components/molecules/index.d.ts +27 -27
- package/dist/ui/components/molecules/vc-accordion/index.d.ts +4 -4
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-checkbox/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-color-input/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-date-picker/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-field/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-form/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-group/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts +6 -6
- package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueDropdown.d.ts +1 -1
- package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueInput.d.ts +1 -1
- package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueValues.d.ts +1 -1
- package/dist/ui/components/molecules/vc-multivalue/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-paginator/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-radio-button/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-radio-group/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-rating/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-select/composables/index.d.ts +7 -7
- package/dist/ui/components/molecules/vc-select/composables/useSelectDropdown.d.ts +1 -1
- package/dist/ui/components/molecules/vc-select/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-slider/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-switch/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-toast/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +1 -1
- package/dist/ui/components/organisms/index.d.ts +8 -8
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts +1 -4
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.d.ts +2 -8
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/composables/useBadge.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +2 -0
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/composables/useShellNavigation.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/composition/app-bar/index.d.ts +6 -6
- package/dist/ui/components/organisms/vc-app/composition/index.d.ts +6 -6
- package/dist/ui/components/organisms/vc-app/composition/layouts/index.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts +5 -5
- package/dist/ui/components/organisms/vc-app/composition/shell/index.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/composition/sidebar/index.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts +4 -4
- package/dist/ui/components/organisms/vc-app/index.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-auth-layout/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useBladeError.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts +2 -2
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/constants.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/utils.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-sidebar/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/index.d.ts +11 -11
- package/dist/ui/components/organisms/vc-table/components/index.d.ts +26 -26
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/index.d.ts +5 -5
- package/dist/ui/components/organisms/vc-table/composables/index.d.ts +30 -30
- package/dist/ui/components/organisms/vc-table/composables/useColumnFilter.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts +4 -4
- package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/composables/useTableColumns.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSort.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/index.d.ts +9 -9
- package/dist/ui/components/organisms/vc-table/keys.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/types.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/utils/index.d.ts +3 -3
- package/dist/ui/composables/index.d.ts +5 -5
- package/dist/ui/composables/useFormField.d.ts +2 -2
- package/dist/ui/types/index.d.ts +1 -1
- package/dist/vendor-d3-array-9cpTrqlO.js +149 -0
- package/dist/vendor-d3-axis-D1_DbKLz.js +74 -0
- package/dist/vendor-d3-brush-CcKeJp9e.js +1 -0
- package/dist/vendor-d3-chord-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-color-BOYE6h_9.js +306 -0
- package/dist/vendor-d3-dispatch-fx-WMg0D.js +64 -0
- package/dist/vendor-d3-drag-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-ease-Cr34gv04.js +8 -0
- package/dist/vendor-d3-force-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-format-DaIwZvFc.js +182 -0
- package/dist/vendor-d3-geo-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-geo-projection-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-hierarchy-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-interpolate-BYG2gvO4.js +177 -0
- package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +299 -0
- package/dist/vendor-d3-path-DJOTitNW.js +64 -0
- package/dist/vendor-d3-quadtree-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-sankey-l0sNRNKZ.js +1 -0
- package/dist/vendor-d3-scale-CC5rtdt5.js +561 -0
- package/dist/vendor-d3-selection-CNMxsYiL.js +603 -0
- package/dist/vendor-d3-shape-DBhCDMiV.js +925 -0
- package/dist/vendor-d3-time-DAPP210_.js +212 -0
- package/dist/vendor-d3-time-format-hD7iE2WG.js +491 -0
- package/dist/vendor-d3-timer-C1cUWKPz.js +67 -0
- package/dist/vendor-d3-transition-BbNQT7qF.js +524 -0
- package/dist/vendor-d3-zoom-CcKeJp9e.js +1 -0
- package/dist/vendor-elkjs-l0sNRNKZ.js +1 -0
- package/dist/vendor-emotion-cache-eEZT5l-Q.js +274 -0
- package/dist/vendor-emotion-hash-DImMRhyK.js +22 -0
- package/dist/vendor-emotion-memoize-BcEUCz8q.js +9 -0
- package/dist/vendor-emotion-serialize-BSDW8NwU.js +123 -0
- package/dist/vendor-emotion-sheet-CS8ZBl9s.js +44 -0
- package/dist/vendor-emotion-unitless-B7u1PU6w.js +53 -0
- package/dist/vendor-emotion-utils-D7refZTM.js +28 -0
- package/dist/vendor-emotion-weak-memoize-l0sNRNKZ.js +1 -0
- package/dist/vendor-internmap-Q5729_cS.js +35 -0
- package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +286 -0
- package/dist/vendor-kdbush-l0sNRNKZ.js +1 -0
- package/dist/vendor-leaflet-l0sNRNKZ.js +1 -0
- package/dist/vendor-lodash-l0sNRNKZ.js +1 -0
- package/dist/vendor-maplibre-gl-l0sNRNKZ.js +1 -0
- package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +1 -1
- package/dist/vendor-striptags-BrHtQQiF.js +120 -0
- package/dist/vendor-stylis-ClfDrgKE.js +334 -0
- package/dist/vendor-supercluster-l0sNRNKZ.js +1 -0
- package/dist/vendor-three-l0sNRNKZ.js +1 -0
- package/dist/vendor-throttle-debounce-CX0imT7m.js +28 -0
- package/dist/vendor-topojson-client-l0sNRNKZ.js +1 -0
- package/dist/vendor-tslib-l0sNRNKZ.js +1 -0
- package/dist/vendor-unovis-dagre-layout-l0sNRNKZ.js +1 -0
- package/dist/vendor-unovis-graphlibrary-l0sNRNKZ.js +1 -0
- package/dist/vendor-unovis-ts-Bue71Kwt.js +2382 -0
- package/dist/vendor-unovis-vue-C_K1g5KH.js +446 -0
- package/package.json +6 -4
- package/shared/components/dashboard-charts/ChartContainer.vue +54 -0
- package/shared/components/dashboard-charts/ChartLegend.vue +40 -0
- package/shared/components/dashboard-charts/ChartTooltip.vue +43 -0
- package/shared/components/dashboard-charts/DashboardBarChart.vue +165 -0
- package/shared/components/dashboard-charts/DashboardDonutChart.vue +137 -0
- package/shared/components/dashboard-charts/DashboardLineChart.vue +170 -0
- package/shared/components/dashboard-charts/chart-theme.scss +19 -0
- package/shared/components/dashboard-charts/chart-tooltip.scss +48 -0
- package/shared/components/dashboard-charts/chart-utils.ts +189 -0
- package/shared/components/dashboard-charts/dashboard-charts.stories.ts +393 -0
- package/shared/components/dashboard-charts/index.ts +7 -0
- package/shared/components/dashboard-charts/types.ts +7 -0
- package/shared/components/index.ts +1 -0
- package/shared/components/sign-in/external-providers.vue +1 -1
- package/shared/pages/LoginPage/components/login/Login.vue +29 -31
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +2 -4
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +3 -3
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +1 -1
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +2 -2
- package/ui/components/molecules/vc-select/vc-select.vue +1 -1
- package/ui/components/molecules/vc-slider/vc-slider.vue +1 -1
- package/ui/components/molecules/vc-switch/vc-switch.vue +2 -2
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +8 -2
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.ts +2 -23
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue +135 -194
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.ts +0 -44
- package/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue +1 -0
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue +181 -164
- package/ui/components/organisms/vc-app/composables/useShellBootstrap.ts +114 -106
- 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
|
-
|
|
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
|
-
<
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
-
|
|
163
|
-
size="
|
|
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
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
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
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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 {
|
|
240
|
-
import {
|
|
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
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
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
|
|
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
|
|
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);
|
|
@@ -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
|
}
|