@vc-shell/framework 1.2.4-beta.8 → 2.0.0-alpha.0
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/dist/assets/0d67e9e056b4c500.woff +0 -0
- package/dist/assets/131b34336aedaf47.woff +0 -0
- package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
- package/dist/assets/2010ada3e82156ed.woff +0 -0
- package/dist/assets/3fc09a6113184f16.woff +0 -0
- package/dist/assets/477e1881a0394cc5.woff +0 -0
- package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
- package/dist/assets/c5195215cb712e9c.woff2 +0 -0
- package/dist/assets/c97328b91ac5cc66.woff +0 -0
- package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
- package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
- package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
- package/dist/core/composables/useApiClient/index.d.ts +4 -3
- package/dist/core/composables/useApiClient/index.d.ts.map +1 -1
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts +2 -1
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts.map +1 -1
- package/dist/core/composables/useAppBarWidget/index.d.ts +2 -1
- package/dist/core/composables/useAppBarWidget/index.d.ts.map +1 -1
- package/dist/core/composables/useAppInsights/index.d.ts +4 -2
- package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
- package/dist/core/composables/useAssets/index.d.ts +4 -2
- package/dist/core/composables/useAssets/index.d.ts.map +1 -1
- package/dist/core/composables/useAsync/index.d.ts +4 -2
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useBeforeUnload/index.d.ts +4 -3
- package/dist/core/composables/useBeforeUnload/index.d.ts.map +1 -1
- package/dist/core/composables/useBlade/index.d.ts +23 -18
- package/dist/core/composables/useBlade/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts +6 -3
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
- package/dist/core/composables/useBreadcrumbs/index.d.ts +4 -2
- package/dist/core/composables/useBreadcrumbs/index.d.ts.map +1 -1
- package/dist/core/composables/useConnectionStatus/index.d.ts +4 -2
- package/dist/core/composables/useConnectionStatus/index.d.ts.map +1 -1
- package/dist/core/composables/useDashboard/index.d.ts +2 -1
- package/dist/core/composables/useDashboard/index.d.ts.map +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts +4 -2
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useErrorHandler/index.d.ts +4 -3
- package/dist/core/composables/useErrorHandler/index.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/index.d.ts +4 -3
- package/dist/core/composables/useFunctions/index.d.ts.map +1 -1
- package/dist/core/composables/useGlobalSearch/index.d.ts +2 -1
- package/dist/core/composables/useGlobalSearch/index.d.ts.map +1 -1
- package/dist/core/composables/useKeyboardNavigation/index.d.ts +9 -9
- package/dist/core/composables/useKeyboardNavigation/index.d.ts.map +1 -1
- package/dist/core/composables/useLanguages/index.d.ts +4 -2
- package/dist/core/composables/useLanguages/index.d.ts.map +1 -1
- package/dist/core/composables/useLoading/index.d.ts +2 -1
- package/dist/core/composables/useLoading/index.d.ts.map +1 -1
- package/dist/core/composables/useMenuService/index.d.ts +1 -0
- package/dist/core/composables/useMenuService/index.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts +4 -3
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/usePermissions/index.d.ts +4 -3
- package/dist/core/composables/usePermissions/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts +4 -2
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useSettingsMenu/index.d.ts +2 -1
- package/dist/core/composables/useSettingsMenu/index.d.ts.map +1 -1
- package/dist/core/composables/useSidebarState/index.d.ts +5 -3
- package/dist/core/composables/useSidebarState/index.d.ts.map +1 -1
- package/dist/core/composables/useTheme/index.d.ts +4 -2
- package/dist/core/composables/useTheme/index.d.ts.map +1 -1
- package/dist/core/composables/useToolbar/index.d.ts +10 -9
- package/dist/core/composables/useToolbar/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +4 -2
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts +4 -2
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/composables/useWebVitals/index.d.ts +1 -0
- package/dist/core/composables/useWebVitals/index.d.ts.map +1 -1
- package/dist/core/composables/useWidgets/index.d.ts +2 -1
- package/dist/core/composables/useWidgets/index.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts +1 -0
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/constants.d.ts +16 -0
- package/dist/core/plugins/ai-agent/constants.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts +2 -0
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/types.d.ts +19 -0
- package/dist/core/plugins/ai-agent/types.d.ts.map +1 -1
- package/dist/core/plugins/extension-points/defineExtensionPoint.d.ts +26 -4
- package/dist/core/plugins/extension-points/defineExtensionPoint.d.ts.map +1 -1
- package/dist/core/plugins/extension-points/index.d.ts +14 -0
- package/dist/core/plugins/extension-points/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +2 -6
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/loader-mf.d.ts +17 -0
- package/dist/core/plugins/modularity/loader-mf.d.ts.map +1 -0
- package/dist/framework.css +9 -0
- package/dist/framework.js +25999 -24595
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +39 -2
- package/dist/injection-keys.d.ts.map +1 -1
- package/dist/locales/de.json +5 -1
- package/dist/locales/en.json +5 -1
- package/dist/shared/components/app-switcher/index.d.ts +3 -1
- package/dist/shared/components/app-switcher/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts +2 -0
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts +3 -1
- package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/plugin-v2.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +1 -0
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/utils/navigateToMainRoute.d.ts +9 -0
- package/dist/shared/components/blade-navigation/utils/navigateToMainRoute.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts +4 -1
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts.map +1 -1
- package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +3 -3
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/composables/useExternalWidgets.d.ts +3 -2
- package/dist/shared/composables/useExternalWidgets.d.ts.map +1 -1
- package/dist/shared/composables/useMenuExpanded.d.ts +6 -4
- package/dist/shared/composables/useMenuExpanded.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/index.d.ts +11 -5
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/pages/ChangePasswordPage/plugin.d.ts +3 -1
- package/dist/shared/pages/ChangePasswordPage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts +3 -1
- package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/plugin.d.ts +3 -1
- package/dist/shared/pages/InvitePage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/plugin.d.ts +3 -1
- package/dist/shared/pages/LoginPage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/plugin.d.ts +3 -1
- package/dist/shared/pages/ResetPasswordPage/plugin.d.ts.map +1 -1
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/test-helpers.d.ts +227 -0
- package/dist/test-helpers.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/types.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/types.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +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-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +2 -1
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/index.d.ts +5 -1
- package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +9 -9
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts +11 -17
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-dropdown/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +7 -10
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-field/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +8 -7
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +10 -60
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/constants.d.ts +3 -0
- package/dist/ui/components/molecules/vc-menu/constants.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/index.d.ts +9 -0
- package/dist/ui/components/molecules/vc-menu/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/types.d.ts +28 -0
- package/dist/ui/components/molecules/vc-menu/types.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts +32 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts +34 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts +19 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-radio-button/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-radio-button/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +11 -10
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-group/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-radio-group/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts +10 -16
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +4 -5
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +3 -2
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +5 -1
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +1 -1
- 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 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellNavigation.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +2 -0
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts +2 -14
- package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts +4 -2
- package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts +276 -0
- package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts.map +1 -0
- package/dist/{vendor-dompurify-BGaRrCfO.js → vendor-dompurify-M2Bspgo5.js} +115 -115
- package/dist/{vendor-lodash-es-B5DE282z.js → vendor-lodash-es-BtnfG6xF.js} +15 -12
- package/dist/{vendor-lucide-vue-next-DadL7o0S.js → vendor-lucide-vue-next-CPgeDcFj.js} +16164 -12841
- package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +22 -0
- package/dist/vendor-module-federation-error-codes-DdVwX11j.js +55 -0
- package/dist/vendor-module-federation-runtime-CVH_lWgu.js +91 -0
- package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +2202 -0
- package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +18 -0
- package/dist/vendor-module-federation-sdk-DM4AJRa7.js +683 -0
- package/dist/{vendor-vue-i18n-D0F0w-9Q.js → vendor-vue-i18n-BguHiJqH.js} +7 -4
- package/dist/vendor-vue-router-R3V0tq8_.js +6 -0
- package/dist/{vendor-vueuse-components-jqShV_Fz.js → vendor-vueuse-components-Be490f6P.js} +30 -30
- package/dist/{vendor-vueuse-core-D-DKRsy5.js → vendor-vueuse-core-BW8bO6-j.js} +17 -14
- package/dist/{vendor-vueuse-shared-Ch7WD-uK.js → vendor-vueuse-shared-bmkWEEYZ.js} +14 -14
- package/package.json +28 -19
- package/tailwind.config.ts +1 -0
- package/core/README.md +0 -365
- package/core/api/platform.ts +0 -9883
- package/core/composables/index.ts +0 -29
- package/core/composables/useApiClient/index.ts +0 -22
- package/core/composables/useAppBarMobileButtons/index.ts +0 -33
- package/core/composables/useAppBarWidget/index.test.ts +0 -86
- package/core/composables/useAppBarWidget/index.ts +0 -31
- package/core/composables/useAppInsights/index.ts +0 -56
- package/core/composables/useAssets/index.ts +0 -144
- package/core/composables/useAsync/index.test.ts +0 -137
- package/core/composables/useAsync/index.ts +0 -89
- package/core/composables/useBeforeUnload/index.ts +0 -25
- package/core/composables/useBlade/index.ts +0 -149
- package/core/composables/useBladeRegistry/index.test.ts +0 -192
- package/core/composables/useBladeRegistry/index.ts +0 -231
- package/core/composables/useBreadcrumbs/index.test.ts +0 -139
- package/core/composables/useBreadcrumbs/index.ts +0 -66
- package/core/composables/useConnectionStatus/index.ts +0 -48
- package/core/composables/useDashboard/index.test.ts +0 -86
- package/core/composables/useDashboard/index.ts +0 -51
- package/core/composables/useDynamicProperties/index.ts +0 -573
- package/core/composables/useErrorHandler/index.ts +0 -75
- package/core/composables/useFunctions/debounce.ts +0 -15
- package/core/composables/useFunctions/delay.ts +0 -3
- package/core/composables/useFunctions/index.ts +0 -20
- package/core/composables/useFunctions/once.ts +0 -11
- package/core/composables/useFunctions/sleep.ts +0 -3
- package/core/composables/useFunctions/throttle.ts +0 -13
- package/core/composables/useGlobalSearch/index.ts +0 -36
- package/core/composables/useGlobalSearch/useGlobalSearch.md +0 -263
- package/core/composables/useKeyboardNavigation/index.ts +0 -246
- package/core/composables/useLanguages/index.ts +0 -48
- package/core/composables/useLoading/index.ts +0 -9
- package/core/composables/useMenuService/index.test.ts +0 -86
- package/core/composables/useMenuService/index.ts +0 -43
- package/core/composables/useNotifications/index.ts +0 -200
- package/core/composables/usePermissions/index.ts +0 -30
- package/core/composables/useSettings/index.ts +0 -64
- package/core/composables/useSettingsMenu/index.test.ts +0 -86
- package/core/composables/useSettingsMenu/index.ts +0 -31
- package/core/composables/useSidebarState/index.ts +0 -90
- package/core/composables/useTheme/index.ts +0 -115
- package/core/composables/useToolbar/index.ts +0 -117
- package/core/composables/useUser/index.ts +0 -406
- package/core/composables/useUser/useUser.test.ts +0 -155
- package/core/composables/useUserManagement/index.ts +0 -45
- package/core/composables/useWebVitals/index.ts +0 -40
- package/core/composables/useWidgets/index.test.ts +0 -86
- package/core/composables/useWidgets/index.ts +0 -39
- package/core/constants/defaults.ts +0 -76
- package/core/constants/index.ts +0 -5
- package/core/constants/locale.ts +0 -78
- package/core/constants/ui.ts +0 -68
- package/core/directives/autofocus/index.ts +0 -9
- package/core/directives/index.ts +0 -2
- package/core/directives/loading/index.ts +0 -42
- package/core/directives/loading/styles.css +0 -71
- package/core/interceptors/index.ts +0 -142
- package/core/plugins/ai-agent/README.md +0 -336
- package/core/plugins/ai-agent/components/VcAiAgentPanel.vue +0 -125
- package/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue +0 -102
- package/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue +0 -107
- package/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue +0 -72
- package/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue +0 -136
- package/core/plugins/ai-agent/components/index.ts +0 -1
- package/core/plugins/ai-agent/composables/index.ts +0 -4
- package/core/plugins/ai-agent/composables/useAiAgent.ts +0 -231
- package/core/plugins/ai-agent/composables/useAiAgentContext.ts +0 -285
- package/core/plugins/ai-agent/constants.ts +0 -89
- package/core/plugins/ai-agent/index.ts +0 -91
- package/core/plugins/ai-agent/services/ai-agent-service.ts +0 -592
- package/core/plugins/ai-agent/types.ts +0 -303
- package/core/plugins/extension-points/ExtensionPoint.vue +0 -95
- package/core/plugins/extension-points/defineExtensionPoint.ts +0 -29
- package/core/plugins/extension-points/index.ts +0 -11
- package/core/plugins/extension-points/store.ts +0 -54
- package/core/plugins/extension-points/types.ts +0 -28
- package/core/plugins/extension-points/useExtensionPoint.ts +0 -42
- package/core/plugins/global-error-handler/index.ts +0 -81
- package/core/plugins/i18n/index.ts +0 -11
- package/core/plugins/index.ts +0 -6
- package/core/plugins/modularity/README.md +0 -482
- package/core/plugins/modularity/index.ts +0 -208
- package/core/plugins/modularity/loader.ts +0 -631
- package/core/plugins/permissions/index.ts +0 -10
- package/core/plugins/signalR/index.ts +0 -126
- package/core/plugins/validation/index.ts +0 -1
- package/core/plugins/validation/rules.ts +0 -145
- package/core/services/_internal/createBladeScopedRegistry.test.ts +0 -130
- package/core/services/_internal/createBladeScopedRegistry.ts +0 -127
- package/core/services/_internal/createPreregistrationBus.test.ts +0 -227
- package/core/services/_internal/createPreregistrationBus.ts +0 -106
- package/core/services/_internal/createSimpleMapRegistry.test.ts +0 -82
- package/core/services/_internal/createSimpleMapRegistry.ts +0 -41
- package/core/services/_internal/index.ts +0 -3
- package/core/services/app-bar-menu-service.ts +0 -71
- package/core/services/app-bar-mobile-buttons-service.ts +0 -62
- package/core/services/app-bar-settings-service.test.ts +0 -153
- package/core/services/dashboard-service.ts +0 -110
- package/core/services/global-search-service/global-search-service.md +0 -28
- package/core/services/global-search-service/index.ts +0 -36
- package/core/services/index.ts +0 -11
- package/core/services/language-dashboard-service.test.ts +0 -183
- package/core/services/language-service.ts +0 -98
- package/core/services/menu-service.test.ts +0 -311
- package/core/services/menu-service.ts +0 -259
- package/core/services/settings-menu-service.ts +0 -61
- package/core/services/toolbar-service.ts +0 -111
- package/core/services/toolbar-widget-service.test.ts +0 -207
- package/core/services/widget-service.test.ts +0 -133
- package/core/services/widget-service.ts +0 -262
- package/core/types/index.ts +0 -312
- package/core/types/services.ts +0 -194
- package/core/utilities/camelToSnake.ts +0 -7
- package/core/utilities/camelize.ts +0 -5
- package/core/utilities/date/convertMomentFormat.test.ts +0 -60
- package/core/utilities/date/convertMomentFormat.ts +0 -30
- package/core/utilities/date/formatDate.test.ts +0 -60
- package/core/utilities/date/formatDate.ts +0 -31
- package/core/utilities/date/index.ts +0 -3
- package/core/utilities/date/resolveLocale.test.ts +0 -44
- package/core/utilities/date/resolveLocale.ts +0 -41
- package/core/utilities/error.ts +0 -89
- package/core/utilities/errorTypes.ts +0 -126
- package/core/utilities/generateId.ts +0 -3
- package/core/utilities/index.ts +0 -11
- package/core/utilities/kebabToCamel.ts +0 -7
- package/core/utilities/logger.ts +0 -120
- package/core/utilities/pendingErrorNotifications.ts +0 -64
- package/dist/core/composables/useAppBarWidget/index.test.d.ts +0 -2
- package/dist/core/composables/useAppBarWidget/index.test.d.ts.map +0 -1
- package/dist/core/composables/useAsync/index.test.d.ts +0 -2
- package/dist/core/composables/useAsync/index.test.d.ts.map +0 -1
- package/dist/core/composables/useBladeRegistry/index.test.d.ts +0 -2
- package/dist/core/composables/useBladeRegistry/index.test.d.ts.map +0 -1
- package/dist/core/composables/useBreadcrumbs/index.test.d.ts +0 -2
- package/dist/core/composables/useBreadcrumbs/index.test.d.ts.map +0 -1
- package/dist/core/composables/useDashboard/index.test.d.ts +0 -2
- package/dist/core/composables/useDashboard/index.test.d.ts.map +0 -1
- package/dist/core/composables/useMenuService/index.test.d.ts +0 -2
- package/dist/core/composables/useMenuService/index.test.d.ts.map +0 -1
- package/dist/core/composables/useSettingsMenu/index.test.d.ts +0 -2
- package/dist/core/composables/useSettingsMenu/index.test.d.ts.map +0 -1
- package/dist/core/composables/useUser/useUser.test.d.ts +0 -2
- package/dist/core/composables/useUser/useUser.test.d.ts.map +0 -1
- package/dist/core/composables/useWidgets/index.test.d.ts +0 -2
- package/dist/core/composables/useWidgets/index.test.d.ts.map +0 -1
- package/dist/core/plugins/modularity/loader.d.ts +0 -19
- package/dist/core/plugins/modularity/loader.d.ts.map +0 -1
- package/dist/core/services/_internal/createBladeScopedRegistry.test.d.ts +0 -2
- package/dist/core/services/_internal/createBladeScopedRegistry.test.d.ts.map +0 -1
- package/dist/core/services/_internal/createPreregistrationBus.test.d.ts +0 -2
- package/dist/core/services/_internal/createPreregistrationBus.test.d.ts.map +0 -1
- package/dist/core/services/_internal/createSimpleMapRegistry.test.d.ts +0 -2
- package/dist/core/services/_internal/createSimpleMapRegistry.test.d.ts.map +0 -1
- package/dist/core/services/app-bar-settings-service.test.d.ts +0 -2
- package/dist/core/services/app-bar-settings-service.test.d.ts.map +0 -1
- package/dist/core/services/language-dashboard-service.test.d.ts +0 -2
- package/dist/core/services/language-dashboard-service.test.d.ts.map +0 -1
- package/dist/core/services/menu-service.test.d.ts +0 -2
- package/dist/core/services/menu-service.test.d.ts.map +0 -1
- package/dist/core/services/toolbar-widget-service.test.d.ts +0 -2
- package/dist/core/services/toolbar-widget-service.test.d.ts.map +0 -1
- package/dist/core/services/widget-service.test.d.ts +0 -2
- package/dist/core/services/widget-service.test.d.ts.map +0 -1
- package/dist/core/utilities/date/convertMomentFormat.test.d.ts +0 -2
- package/dist/core/utilities/date/convertMomentFormat.test.d.ts.map +0 -1
- package/dist/core/utilities/date/formatDate.test.d.ts +0 -2
- package/dist/core/utilities/date/formatDate.test.d.ts.map +0 -1
- package/dist/core/utilities/date/resolveLocale.test.d.ts +0 -2
- package/dist/core/utilities/date/resolveLocale.test.d.ts.map +0 -1
- package/dist/index.css +0 -9
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.test.d.ts.map +0 -1
- package/dist/shared/components/blade-navigation/composables/useBladeStack.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/composables/useBladeStack.test.d.ts.map +0 -1
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.test.d.ts.map +0 -1
- package/dist/shared/components/blade-navigation/utils/urlSync.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/utils/urlSync.test.d.ts.map +0 -1
- package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.test.d.ts +0 -2
- package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.test.d.ts.map +0 -1
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.test.d.ts +0 -2
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.test.d.ts.map +0 -1
- package/dist/shared/utilities/formatBadgeCount.test.d.ts +0 -2
- package/dist/shared/utilities/formatBadgeCount.test.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-button/vc-button.a11y.test.d.ts +0 -2
- package/dist/ui/components/atoms/vc-button/vc-button.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-button/vc-button.test.d.ts +0 -2
- package/dist/ui/components/atoms/vc-button/vc-button.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown-item.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown-item.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input/vc-input.a11y.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-input/vc-input.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input/vc-input.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-input/vc-input.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input-group/vc-input-group.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-input-group/vc-input-group.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-select/vc-select.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-select/vc-select.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue.d.ts +0 -21
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue.d.ts +0 -32
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/utils.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/utils.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.actions.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.actions.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataTableState.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-table/composables/useDataTableState.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.test.d.ts.map +0 -1
- package/shared/components/app-switcher/components/index.ts +0 -1
- package/shared/components/app-switcher/components/vc-app-switcher/index.ts +0 -1
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +0 -89
- package/shared/components/app-switcher/composables/index.ts +0 -1
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +0 -53
- package/shared/components/app-switcher/index.ts +0 -14
- package/shared/components/blade-navigation/ARCHITECTURE.md +0 -420
- package/shared/components/blade-navigation/MIGRATION.md +0 -224
- package/shared/components/blade-navigation/components/index.ts +0 -2
- package/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue +0 -78
- package/shared/components/blade-navigation/components/vc-blade-navigation/index.ts +0 -2
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue +0 -160
- package/shared/components/blade-navigation/components/vc-blade-slot/index.ts +0 -1
- package/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue +0 -143
- package/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.ts +0 -188
- package/shared/components/blade-navigation/composables/index.ts +0 -5
- package/shared/components/blade-navigation/composables/useBladeMessaging.test.ts +0 -189
- package/shared/components/blade-navigation/composables/useBladeMessaging.ts +0 -81
- package/shared/components/blade-navigation/composables/useBladeNavigationAdapter.ts +0 -513
- package/shared/components/blade-navigation/composables/useBladeStack.test.ts +0 -420
- package/shared/components/blade-navigation/composables/useBladeStack.ts +0 -335
- package/shared/components/blade-navigation/index.ts +0 -4
- package/shared/components/blade-navigation/plugin-v2.ts +0 -144
- package/shared/components/blade-navigation/types/index.ts +0 -247
- package/shared/components/blade-navigation/utils/restoreFromUrl.test.ts +0 -247
- package/shared/components/blade-navigation/utils/restoreFromUrl.ts +0 -84
- package/shared/components/blade-navigation/utils/urlSync.test.ts +0 -181
- package/shared/components/blade-navigation/utils/urlSync.ts +0 -151
- package/shared/components/change-password/change-password.vue +0 -231
- package/shared/components/change-password/index.ts +0 -10
- package/shared/components/change-password-button/change-password-button.stories.ts +0 -63
- package/shared/components/change-password-button/change-password-button.vue +0 -23
- package/shared/components/change-password-button/index.ts +0 -1
- package/shared/components/common/popup/vc-popup-base.vue +0 -133
- package/shared/components/common/popup/vc-popup-error.vue +0 -38
- package/shared/components/common/popup/vc-popup-info.vue +0 -38
- package/shared/components/common/popup/vc-popup-warning.vue +0 -42
- package/shared/components/dashboard-charts/ChartContainer.vue +0 -54
- package/shared/components/dashboard-charts/ChartLegend.vue +0 -40
- package/shared/components/dashboard-charts/ChartTooltip.vue +0 -43
- package/shared/components/dashboard-charts/DashboardBarChart.vue +0 -165
- package/shared/components/dashboard-charts/DashboardDonutChart.vue +0 -137
- package/shared/components/dashboard-charts/DashboardLineChart.vue +0 -170
- package/shared/components/dashboard-charts/chart-theme.scss +0 -19
- package/shared/components/dashboard-charts/chart-tooltip.scss +0 -48
- package/shared/components/dashboard-charts/chart-utils.ts +0 -189
- package/shared/components/dashboard-charts/dashboard-charts.stories.ts +0 -393
- package/shared/components/dashboard-charts/index.ts +0 -7
- package/shared/components/dashboard-charts/types.ts +0 -7
- package/shared/components/dashboard-widget-card/dashboard-feed-list.vue +0 -12
- package/shared/components/dashboard-widget-card/dashboard-feed-row.vue +0 -28
- package/shared/components/dashboard-widget-card/dashboard-stat-item.test.ts +0 -38
- package/shared/components/dashboard-widget-card/dashboard-stat-item.vue +0 -55
- package/shared/components/dashboard-widget-card/dashboard-widget-card.stories.ts +0 -202
- package/shared/components/dashboard-widget-card/dashboard-widget-card.test.ts +0 -72
- package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +0 -163
- package/shared/components/dashboard-widget-card/index.ts +0 -4
- package/shared/components/draggable-dashboard/DraggableDashboard.vue +0 -70
- package/shared/components/draggable-dashboard/GridstackDashboard.vue +0 -315
- package/shared/components/draggable-dashboard/composables/useGridstack.ts +0 -380
- package/shared/components/draggable-dashboard/composables/useGridstackAdapter.ts +0 -245
- package/shared/components/draggable-dashboard/draggable-dashboard.stories.ts +0 -175
- package/shared/components/draggable-dashboard/index.ts +0 -34
- package/shared/components/draggable-dashboard/types.ts +0 -96
- package/shared/components/error-interceptor/index.ts +0 -18
- package/shared/components/error-interceptor/interceptor.ts +0 -66
- package/shared/components/generic-dropdown/generic-dropdown.vue +0 -122
- package/shared/components/generic-dropdown/index.ts +0 -7
- package/shared/components/index.ts +0 -27
- package/shared/components/language-selector/index.ts +0 -10
- package/shared/components/language-selector/language-selector.stories.ts +0 -44
- package/shared/components/language-selector/language-selector.vue +0 -72
- package/shared/components/logout-button/index.ts +0 -1
- package/shared/components/logout-button/logout-button.stories.ts +0 -61
- package/shared/components/logout-button/logout-button.vue +0 -30
- package/shared/components/multilanguage-selector/index.ts +0 -1
- package/shared/components/multilanguage-selector/multilanguage-selector.stories.ts +0 -90
- package/shared/components/multilanguage-selector/multilanguage-selector.vue +0 -191
- package/shared/components/notification-dropdown/_internal/notification/index.ts +0 -1
- package/shared/components/notification-dropdown/_internal/notification/notification.vue +0 -78
- package/shared/components/notification-dropdown/index.ts +0 -10
- package/shared/components/notification-dropdown/notification-dropdown.stories.ts +0 -99
- package/shared/components/notification-dropdown/notification-dropdown.vue +0 -40
- package/shared/components/notification-template/index.ts +0 -10
- package/shared/components/notification-template/notification-template.stories.ts +0 -95
- package/shared/components/notification-template/notification-template.vue +0 -131
- package/shared/components/notifications/components/index.ts +0 -1
- package/shared/components/notifications/components/notification-container/index.ts +0 -153
- package/shared/components/notifications/composables/index.ts +0 -2
- package/shared/components/notifications/composables/useContainer/index.ts +0 -292
- package/shared/components/notifications/composables/useInstance/index.ts +0 -79
- package/shared/components/notifications/core/index.ts +0 -1
- package/shared/components/notifications/core/notification.ts +0 -202
- package/shared/components/notifications/index.ts +0 -6
- package/shared/components/notifications/styles/index.scss +0 -133
- package/shared/components/notifications/types/index.ts +0 -33
- package/shared/components/popup-handler/components/index.ts +0 -1
- package/shared/components/popup-handler/components/vc-popup-container/index.ts +0 -3
- package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +0 -49
- package/shared/components/popup-handler/composables/index.ts +0 -1
- package/shared/components/popup-handler/composables/usePopup/index.ts +0 -209
- package/shared/components/popup-handler/index.ts +0 -19
- package/shared/components/popup-handler/keys.ts +0 -4
- package/shared/components/popup-handler/plugin.ts +0 -25
- package/shared/components/popup-handler/types/index.ts +0 -25
- package/shared/components/popup-handler/utils/index.ts +0 -9
- package/shared/components/settings-menu/index.ts +0 -1
- package/shared/components/settings-menu/settings-menu.stories.ts +0 -104
- package/shared/components/settings-menu/settings-menu.vue +0 -59
- package/shared/components/settings-menu-item/index.ts +0 -1
- package/shared/components/settings-menu-item/settings-menu-item.stories.ts +0 -194
- package/shared/components/settings-menu-item/settings-menu-item.vue +0 -168
- package/shared/components/sidebar/index.ts +0 -7
- package/shared/components/sidebar/sidebar.vue +0 -80
- package/shared/components/sign-in/external-provider.vue +0 -49
- package/shared/components/sign-in/external-providers.vue +0 -26
- package/shared/components/sign-in/index.ts +0 -1
- package/shared/components/sign-in/useExternalProvider.ts +0 -103
- package/shared/components/theme-selector/index.ts +0 -1
- package/shared/components/theme-selector/theme-selector.stories.ts +0 -56
- package/shared/components/theme-selector/theme-selector.vue +0 -51
- package/shared/components/user-dropdown-button/_internal/user-info.vue +0 -114
- package/shared/components/user-dropdown-button/_internal/user-sidebar.vue +0 -50
- package/shared/components/user-dropdown-button/index.ts +0 -10
- package/shared/components/user-dropdown-button/user-dropdown-button.stories.ts +0 -153
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +0 -142
- package/shared/composables/index.ts +0 -5
- package/shared/composables/useExternalWidgets.ts +0 -107
- package/shared/composables/useMenuExpanded.ts +0 -64
- package/shared/composables/useModificationTracker/index.ts +0 -116
- package/shared/composables/useTableSelection.ts +0 -151
- package/shared/composables/useTableSort.ts +0 -107
- package/shared/index.ts +0 -24
- package/shared/modules/assets/components/assets-details/assets-details.vue +0 -238
- package/shared/modules/assets/components/assets-details/index.ts +0 -3
- package/shared/modules/assets/components/index.ts +0 -1
- package/shared/modules/assets/index.ts +0 -12
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +0 -442
- package/shared/modules/assets-manager/components/assets-manager/index.ts +0 -3
- package/shared/modules/assets-manager/components/index.ts +0 -1
- package/shared/modules/assets-manager/index.ts +0 -13
- package/shared/modules/dynamic/components/FIELD_MAP.ts +0 -53
- package/shared/modules/dynamic/components/SchemaRender.ts +0 -102
- package/shared/modules/dynamic/components/factories.ts +0 -242
- package/shared/modules/dynamic/components/fields/Button.ts +0 -44
- package/shared/modules/dynamic/components/fields/Card.ts +0 -119
- package/shared/modules/dynamic/components/fields/Checkbox.ts +0 -53
- package/shared/modules/dynamic/components/fields/ContentField.ts +0 -33
- package/shared/modules/dynamic/components/fields/CustomComponent.ts +0 -29
- package/shared/modules/dynamic/components/fields/DynamicProperty.ts +0 -154
- package/shared/modules/dynamic/components/fields/EditorField.ts +0 -46
- package/shared/modules/dynamic/components/fields/Fieldset.ts +0 -66
- package/shared/modules/dynamic/components/fields/GalleryField.ts +0 -162
- package/shared/modules/dynamic/components/fields/ImageField.ts +0 -35
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +0 -79
- package/shared/modules/dynamic/components/fields/InputField.ts +0 -81
- package/shared/modules/dynamic/components/fields/MultivalueField.ts +0 -68
- package/shared/modules/dynamic/components/fields/RadioButtonGroup.ts +0 -83
- package/shared/modules/dynamic/components/fields/RatingField.ts +0 -28
- package/shared/modules/dynamic/components/fields/SelectField.ts +0 -72
- package/shared/modules/dynamic/components/fields/StatusField.ts +0 -110
- package/shared/modules/dynamic/components/fields/SwitchField.ts +0 -29
- package/shared/modules/dynamic/components/fields/Table.ts +0 -194
- package/shared/modules/dynamic/components/fields/TextareaField.ts +0 -46
- package/shared/modules/dynamic/components/fields/ValidationField.ts +0 -54
- package/shared/modules/dynamic/components/fields/VideoField.ts +0 -30
- package/shared/modules/dynamic/components/fields/props.ts +0 -39
- package/shared/modules/dynamic/components/index.ts +0 -4
- package/shared/modules/dynamic/composables/index.ts +0 -4
- package/shared/modules/dynamic/composables/useDynamicViewsUtils/index.ts +0 -46
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +0 -441
- package/shared/modules/dynamic/composables/useTableTemplates/index.ts +0 -67
- package/shared/modules/dynamic/composables/useToolbarReducer/index.ts +0 -70
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +0 -145
- package/shared/modules/dynamic/factories/base/useListFactory.ts +0 -69
- package/shared/modules/dynamic/factories/index.ts +0 -4
- package/shared/modules/dynamic/factories/types/index.ts +0 -220
- package/shared/modules/dynamic/helpers/getters.ts +0 -12
- package/shared/modules/dynamic/helpers/methodHandler.ts +0 -22
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +0 -242
- package/shared/modules/dynamic/helpers/override.ts +0 -153
- package/shared/modules/dynamic/helpers/safeIn.ts +0 -6
- package/shared/modules/dynamic/helpers/setters.ts +0 -24
- package/shared/modules/dynamic/helpers/unrefNested.ts +0 -14
- package/shared/modules/dynamic/helpers/unwrapInterpolation.ts +0 -16
- package/shared/modules/dynamic/index.ts +0 -314
- package/shared/modules/dynamic/keys.ts +0 -3
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +0 -575
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +0 -755
- package/shared/modules/dynamic/pages/index.ts +0 -4
- package/shared/modules/dynamic/types/index.ts +0 -1220
- package/shared/modules/dynamic/types/models.ts +0 -186
- package/shared/modules/index.ts +0 -3
- package/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue +0 -209
- package/shared/pages/ChangePasswordPage/components/change-password/change-password.stories.ts +0 -44
- package/shared/pages/ChangePasswordPage/components/change-password/index.ts +0 -3
- package/shared/pages/ChangePasswordPage/components/index.ts +0 -1
- package/shared/pages/ChangePasswordPage/index.ts +0 -1
- package/shared/pages/ChangePasswordPage/plugin.ts +0 -4
- package/shared/pages/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue +0 -155
- package/shared/pages/ForgotPasswordPage/components/forgot-password/forgot-password.stories.ts +0 -38
- package/shared/pages/ForgotPasswordPage/components/forgot-password/index.ts +0 -3
- package/shared/pages/ForgotPasswordPage/components/index.ts +0 -1
- package/shared/pages/ForgotPasswordPage/index.ts +0 -1
- package/shared/pages/ForgotPasswordPage/plugin.ts +0 -4
- package/shared/pages/InvitePage/components/index.ts +0 -1
- package/shared/pages/InvitePage/components/invite/Invite.vue +0 -182
- package/shared/pages/InvitePage/components/invite/index.ts +0 -3
- package/shared/pages/InvitePage/components/invite/invite.stories.ts +0 -64
- package/shared/pages/InvitePage/index.ts +0 -1
- package/shared/pages/InvitePage/plugin.ts +0 -4
- package/shared/pages/LoginPage/components/index.ts +0 -1
- package/shared/pages/LoginPage/components/login/Login.vue +0 -226
- package/shared/pages/LoginPage/components/login/README.md +0 -52
- package/shared/pages/LoginPage/components/login/index.ts +0 -3
- package/shared/pages/LoginPage/components/login/login.stories.ts +0 -52
- package/shared/pages/LoginPage/index.ts +0 -1
- package/shared/pages/LoginPage/plugin.ts +0 -4
- package/shared/pages/ResetPasswordPage/components/index.ts +0 -1
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +0 -176
- package/shared/pages/ResetPasswordPage/components/reset-password/index.ts +0 -3
- package/shared/pages/ResetPasswordPage/components/reset-password/reset-password.stories.ts +0 -64
- package/shared/pages/ResetPasswordPage/index.ts +0 -1
- package/shared/pages/ResetPasswordPage/plugin.ts +0 -4
- package/shared/pages/_storybook-helpers.ts +0 -71
- package/shared/pages/index.ts +0 -5
- package/shared/pages/plugin.ts +0 -5
- package/shared/utilities/assets.ts +0 -43
- package/shared/utilities/colorUtils.ts +0 -64
- package/shared/utilities/formatBadgeCount.test.ts +0 -25
- package/shared/utilities/formatBadgeCount.ts +0 -15
- package/shared/utilities/index.ts +0 -4
- package/shared/utilities/vueUtils.ts +0 -50
- package/ui/components/atoms/index.ts +0 -21
- package/ui/components/atoms/vc-badge/index.ts +0 -1
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +0 -522
- package/ui/components/atoms/vc-badge/vc-badge.vue +0 -353
- package/ui/components/atoms/vc-banner/index.ts +0 -1
- package/ui/components/atoms/vc-banner/vc-banner.stories.ts +0 -259
- package/ui/components/atoms/vc-banner/vc-banner.vue +0 -225
- package/ui/components/atoms/vc-button/index.ts +0 -3
- package/ui/components/atoms/vc-button/types.ts +0 -28
- package/ui/components/atoms/vc-button/vc-button-group.stories.ts +0 -172
- package/ui/components/atoms/vc-button/vc-button-group.vue +0 -101
- package/ui/components/atoms/vc-button/vc-button.a11y.test.ts +0 -46
- package/ui/components/atoms/vc-button/vc-button.stories.ts +0 -431
- package/ui/components/atoms/vc-button/vc-button.test.ts +0 -75
- package/ui/components/atoms/vc-button/vc-button.vue +0 -355
- package/ui/components/atoms/vc-card/index.ts +0 -3
- package/ui/components/atoms/vc-card/vc-card.stories.ts +0 -342
- package/ui/components/atoms/vc-card/vc-card.vue +0 -217
- package/ui/components/atoms/vc-col/index.ts +0 -1
- package/ui/components/atoms/vc-col/vc-col.stories.ts +0 -164
- package/ui/components/atoms/vc-col/vc-col.vue +0 -34
- package/ui/components/atoms/vc-container/index.ts +0 -10
- package/ui/components/atoms/vc-container/vc-container.stories.ts +0 -219
- package/ui/components/atoms/vc-container/vc-container.vue +0 -96
- package/ui/components/atoms/vc-hint/index.ts +0 -10
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +0 -144
- package/ui/components/atoms/vc-hint/vc-hint.vue +0 -42
- package/ui/components/atoms/vc-icon/README.md +0 -273
- package/ui/components/atoms/vc-icon/composables/index.ts +0 -2
- package/ui/components/atoms/vc-icon/composables/use-icon-type.ts +0 -83
- package/ui/components/atoms/vc-icon/composables/use-icon.ts +0 -129
- package/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue +0 -24
- package/ui/components/atoms/vc-icon/icons/index.ts +0 -1
- package/ui/components/atoms/vc-icon/index.ts +0 -3
- package/ui/components/atoms/vc-icon/types.ts +0 -36
- package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +0 -124
- package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +0 -143
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +0 -818
- package/ui/components/atoms/vc-icon/vc-icon.vue +0 -609
- package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +0 -199
- package/ui/components/atoms/vc-icon/vc-material-icon.vue +0 -128
- package/ui/components/atoms/vc-icon/vc-svg-icon.vue +0 -168
- package/ui/components/atoms/vc-image/index.ts +0 -1
- package/ui/components/atoms/vc-image/vc-image.stories.ts +0 -309
- package/ui/components/atoms/vc-image/vc-image.vue +0 -173
- package/ui/components/atoms/vc-label/index.ts +0 -1
- package/ui/components/atoms/vc-label/vc-label.stories.ts +0 -137
- package/ui/components/atoms/vc-label/vc-label.vue +0 -132
- package/ui/components/atoms/vc-link/index.ts +0 -10
- package/ui/components/atoms/vc-link/vc-link.stories.ts +0 -154
- package/ui/components/atoms/vc-link/vc-link.vue +0 -61
- package/ui/components/atoms/vc-loading/index.ts +0 -3
- package/ui/components/atoms/vc-loading/vc-loading.vue +0 -71
- package/ui/components/atoms/vc-progress/index.ts +0 -10
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +0 -182
- package/ui/components/atoms/vc-progress/vc-progress.vue +0 -74
- package/ui/components/atoms/vc-row/index.ts +0 -1
- package/ui/components/atoms/vc-row/vc-row.stories.ts +0 -143
- package/ui/components/atoms/vc-row/vc-row.vue +0 -27
- package/ui/components/atoms/vc-scrollable-container/index.ts +0 -1
- package/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue +0 -119
- package/ui/components/atoms/vc-skeleton/index.ts +0 -1
- package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +0 -246
- package/ui/components/atoms/vc-skeleton/vc-skeleton.vue +0 -115
- package/ui/components/atoms/vc-status/index.ts +0 -1
- package/ui/components/atoms/vc-status/vc-status.stories.ts +0 -235
- package/ui/components/atoms/vc-status/vc-status.vue +0 -131
- package/ui/components/atoms/vc-status-icon/index.ts +0 -1
- package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +0 -129
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +0 -48
- package/ui/components/atoms/vc-tooltip/index.ts +0 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +0 -409
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +0 -301
- package/ui/components/atoms/vc-video/index.ts +0 -1
- package/ui/components/atoms/vc-video/vc-video.stories.ts +0 -150
- package/ui/components/atoms/vc-video/vc-video.vue +0 -88
- package/ui/components/atoms/vc-widget/index.ts +0 -3
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +0 -285
- package/ui/components/atoms/vc-widget/vc-widget.vue +0 -174
- package/ui/components/index.ts +0 -8
- package/ui/components/molecules/index.ts +0 -26
- package/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue +0 -216
- package/ui/components/molecules/vc-accordion/index.ts +0 -11
- package/ui/components/molecules/vc-accordion/vc-accordion.stories.ts +0 -526
- package/ui/components/molecules/vc-accordion/vc-accordion.vue +0 -176
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +0 -98
- package/ui/components/molecules/vc-breadcrumbs/index.ts +0 -1
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +0 -509
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +0 -176
- package/ui/components/molecules/vc-checkbox/index.ts +0 -3
- package/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.ts +0 -39
- package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +0 -356
- package/ui/components/molecules/vc-checkbox/vc-checkbox.test.ts +0 -75
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +0 -355
- package/ui/components/molecules/vc-checkbox-group/index.ts +0 -2
- package/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.stories.ts +0 -258
- package/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.test.ts +0 -40
- package/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue +0 -103
- package/ui/components/molecules/vc-color-input/index.ts +0 -1
- package/ui/components/molecules/vc-color-input/vc-color-input.stories.ts +0 -152
- package/ui/components/molecules/vc-color-input/vc-color-input.vue +0 -398
- package/ui/components/molecules/vc-date-picker/index.ts +0 -1
- package/ui/components/molecules/vc-date-picker/vc-date-picker.stories.ts +0 -168
- package/ui/components/molecules/vc-date-picker/vc-date-picker.vue +0 -427
- package/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue +0 -78
- package/ui/components/molecules/vc-dropdown/index.ts +0 -2
- package/ui/components/molecules/vc-dropdown/vc-dropdown-item.test.ts +0 -59
- package/ui/components/molecules/vc-dropdown/vc-dropdown.stories.ts +0 -394
- package/ui/components/molecules/vc-dropdown/vc-dropdown.test.ts +0 -54
- package/ui/components/molecules/vc-dropdown/vc-dropdown.vue +0 -546
- package/ui/components/molecules/vc-dropdown-panel/index.ts +0 -1
- package/ui/components/molecules/vc-dropdown-panel/panel-anchor-registry.ts +0 -5
- package/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue +0 -326
- package/ui/components/molecules/vc-editor/_internal/extensions/font-size.ts +0 -59
- package/ui/components/molecules/vc-editor/_internal/toolbar-types.ts +0 -57
- package/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue +0 -103
- package/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue +0 -79
- package/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue +0 -215
- package/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue +0 -316
- package/ui/components/molecules/vc-editor/index.ts +0 -6
- package/ui/components/molecules/vc-editor/vc-editor.stories.ts +0 -417
- package/ui/components/molecules/vc-editor/vc-editor.vue +0 -833
- package/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue +0 -96
- package/ui/components/molecules/vc-field/index.ts +0 -1
- package/ui/components/molecules/vc-field/vc-field.stories.ts +0 -179
- package/ui/components/molecules/vc-field/vc-field.vue +0 -119
- package/ui/components/molecules/vc-file-upload/index.ts +0 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +0 -472
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +0 -271
- package/ui/components/molecules/vc-form/index.ts +0 -10
- package/ui/components/molecules/vc-form/vc-form.stories.ts +0 -168
- package/ui/components/molecules/vc-form/vc-form.vue +0 -38
- package/ui/components/molecules/vc-input/index.ts +0 -1
- package/ui/components/molecules/vc-input/vc-input.a11y.test.ts +0 -57
- package/ui/components/molecules/vc-input/vc-input.stories.ts +0 -1004
- package/ui/components/molecules/vc-input/vc-input.test.ts +0 -114
- package/ui/components/molecules/vc-input/vc-input.vue +0 -731
- package/ui/components/molecules/vc-input-currency/index.ts +0 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +0 -532
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +0 -199
- package/ui/components/molecules/vc-input-dropdown/index.ts +0 -3
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +0 -761
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +0 -305
- package/ui/components/molecules/vc-input-group/context.ts +0 -10
- package/ui/components/molecules/vc-input-group/index.ts +0 -2
- package/ui/components/molecules/vc-input-group/vc-input-group.stories.ts +0 -355
- package/ui/components/molecules/vc-input-group/vc-input-group.test.ts +0 -39
- package/ui/components/molecules/vc-input-group/vc-input-group.vue +0 -173
- package/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue +0 -216
- package/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue +0 -207
- package/ui/components/molecules/vc-multivalue/composables/index.ts +0 -6
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueColor.ts +0 -50
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueDropdown.ts +0 -126
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueInput.ts +0 -64
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueMode.ts +0 -32
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueOptions.ts +0 -27
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueValues.ts +0 -50
- package/ui/components/molecules/vc-multivalue/index.ts +0 -1
- package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +0 -561
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +0 -547
- package/ui/components/molecules/vc-pagination/index.ts +0 -3
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +0 -259
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +0 -244
- package/ui/components/molecules/vc-radio-button/index.ts +0 -1
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +0 -283
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +0 -195
- package/ui/components/molecules/vc-radio-group/index.ts +0 -2
- package/ui/components/molecules/vc-radio-group/vc-radio-group.stories.ts +0 -248
- package/ui/components/molecules/vc-radio-group/vc-radio-group.test.ts +0 -51
- package/ui/components/molecules/vc-radio-group/vc-radio-group.vue +0 -92
- package/ui/components/molecules/vc-rating/index.ts +0 -1
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +0 -363
- package/ui/components/molecules/vc-rating/vc-rating.vue +0 -128
- package/ui/components/molecules/vc-select/_internal/SelectDropdown.vue +0 -200
- package/ui/components/molecules/vc-select/_internal/SelectTrigger.vue +0 -301
- package/ui/components/molecules/vc-select/composables/index.ts +0 -7
- package/ui/components/molecules/vc-select/composables/useSelectDefaultValue.ts +0 -106
- package/ui/components/molecules/vc-select/composables/useSelectDropdown.ts +0 -88
- package/ui/components/molecules/vc-select/composables/useSelectOptions.ts +0 -125
- package/ui/components/molecules/vc-select/composables/useSelectSearch.ts +0 -83
- package/ui/components/molecules/vc-select/composables/useSelectSelection.ts +0 -170
- package/ui/components/molecules/vc-select/composables/useSelectValueMapping.ts +0 -57
- package/ui/components/molecules/vc-select/composables/useSelectVisibility.ts +0 -60
- package/ui/components/molecules/vc-select/index.ts +0 -2
- package/ui/components/molecules/vc-select/vc-select.stories.ts +0 -1730
- package/ui/components/molecules/vc-select/vc-select.test.ts +0 -89
- package/ui/components/molecules/vc-select/vc-select.vue +0 -862
- package/ui/components/molecules/vc-slider/index.ts +0 -13
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +0 -224
- package/ui/components/molecules/vc-slider/vc-slider.vue +0 -148
- package/ui/components/molecules/vc-switch/index.ts +0 -1
- package/ui/components/molecules/vc-switch/vc-switch.stories.ts +0 -324
- package/ui/components/molecules/vc-switch/vc-switch.vue +0 -237
- package/ui/components/molecules/vc-textarea/index.ts +0 -1
- package/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.ts +0 -44
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +0 -326
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +0 -229
- package/ui/components/molecules/vc-toast/index.ts +0 -1
- package/ui/components/molecules/vc-toast/vc-toast.stories.ts +0 -559
- package/ui/components/molecules/vc-toast/vc-toast.vue +0 -649
- package/ui/components/organisms/blade-navigation-v2.stories.ts +0 -611
- package/ui/components/organisms/index.ts +0 -9
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue +0 -128
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue +0 -91
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetContent.vue +0 -40
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue +0 -154
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetsMenu.vue +0 -110
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.ts +0 -174
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue +0 -730
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue +0 -79
- package/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue +0 -196
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarMobileActions.ts +0 -50
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarState.ts +0 -35
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarWidgets.ts +0 -25
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.ts +0 -70
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.ts +0 -67
- package/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue +0 -365
- package/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.ts +0 -151
- package/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue +0 -587
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.ts +0 -43
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue +0 -158
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue +0 -160
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue +0 -216
- package/ui/components/organisms/vc-app/_internal/menu/composables/useBadge.ts +0 -82
- package/ui/components/organisms/vc-app/_internal/menu/composables/useMenuActiveState.ts +0 -41
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue +0 -47
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue +0 -123
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue +0 -242
- package/ui/components/organisms/vc-app/composables/useShellBootstrap.test.ts +0 -222
- package/ui/components/organisms/vc-app/composables/useShellBootstrap.ts +0 -101
- package/ui/components/organisms/vc-app/composables/useShellLifecycle.ts +0 -39
- package/ui/components/organisms/vc-app/composables/useShellNavigation.ts +0 -57
- package/ui/components/organisms/vc-app/composition/README.md +0 -78
- package/ui/components/organisms/vc-app/composition/app-bar/index.ts +0 -6
- package/ui/components/organisms/vc-app/composition/index.ts +0 -6
- package/ui/components/organisms/vc-app/composition/layouts/index.ts +0 -2
- package/ui/components/organisms/vc-app/composition/menu/index.ts +0 -6
- package/ui/components/organisms/vc-app/composition/shell/index.ts +0 -3
- package/ui/components/organisms/vc-app/composition/sidebar/index.ts +0 -3
- package/ui/components/organisms/vc-app/composition/state/index.ts +0 -6
- package/ui/components/organisms/vc-app/index.ts +0 -2
- package/ui/components/organisms/vc-app/vc-app-shell.stories.ts +0 -762
- package/ui/components/organisms/vc-app/vc-app.vue +0 -252
- package/ui/components/organisms/vc-auth-layout/index.ts +0 -1
- package/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue +0 -193
- package/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue +0 -113
- package/ui/components/organisms/vc-blade/_internal/BladeHeader.vue +0 -263
- package/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue +0 -52
- package/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue +0 -195
- package/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue +0 -73
- package/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue +0 -34
- package/ui/components/organisms/vc-blade/_internal/composables/useBladeError.ts +0 -44
- package/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.ts +0 -116
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.test.ts +0 -79
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue +0 -135
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue +0 -101
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue +0 -125
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue +0 -417
- package/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.ts +0 -14
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue +0 -38
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue +0 -125
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue +0 -114
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.test.ts +0 -56
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.vue +0 -91
- package/ui/components/organisms/vc-blade/constants.ts +0 -19
- package/ui/components/organisms/vc-blade/index.ts +0 -1
- package/ui/components/organisms/vc-blade/utils.test.ts +0 -82
- package/ui/components/organisms/vc-blade/utils.ts +0 -48
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +0 -502
- package/ui/components/organisms/vc-blade/vc-blade.vue +0 -312
- package/ui/components/organisms/vc-dynamic-property/index.ts +0 -1
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +0 -618
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.ts +0 -48
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +0 -244
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +0 -351
- package/ui/components/organisms/vc-gallery/composables/index.ts +0 -4
- package/ui/components/organisms/vc-gallery/composables/useGalleryPreview.ts +0 -26
- package/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.ts +0 -73
- package/ui/components/organisms/vc-gallery/composables/useGalleryReorder.ts +0 -183
- package/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.ts +0 -89
- package/ui/components/organisms/vc-gallery/composables/useGalleryUpload.ts +0 -43
- package/ui/components/organisms/vc-gallery/composables/useImageLoad.test.ts +0 -34
- package/ui/components/organisms/vc-gallery/composables/useImageLoad.ts +0 -26
- package/ui/components/organisms/vc-gallery/index.ts +0 -3
- package/ui/components/organisms/vc-gallery/vc-gallery.actions.test.ts +0 -76
- package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +0 -99
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +0 -424
- package/ui/components/organisms/vc-image-upload/index.ts +0 -1
- package/ui/components/organisms/vc-image-upload/vc-image-upload.stories.ts +0 -47
- package/ui/components/organisms/vc-image-upload/vc-image-upload.vue +0 -251
- package/ui/components/organisms/vc-popup/index.ts +0 -3
- package/ui/components/organisms/vc-popup/vc-popup.stories.ts +0 -504
- package/ui/components/organisms/vc-popup/vc-popup.vue +0 -405
- package/ui/components/organisms/vc-sidebar/index.ts +0 -1
- package/ui/components/organisms/vc-sidebar/vc-sidebar.stories.ts +0 -251
- package/ui/components/organisms/vc-sidebar/vc-sidebar.test.ts +0 -125
- package/ui/components/organisms/vc-sidebar/vc-sidebar.vue +0 -787
- package/ui/components/organisms/vc-table/VcDataTable.vue +0 -1856
- package/ui/components/organisms/vc-table/VcTableAdapter.vue +0 -574
- package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue +0 -134
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +0 -451
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +0 -123
- package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +0 -38
- package/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue +0 -88
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +0 -238
- package/ui/components/organisms/vc-table/base/BaseVcDataTable.ts +0 -541
- package/ui/components/organisms/vc-table/components/ColumnFilter.vue +0 -459
- package/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue +0 -43
- package/ui/components/organisms/vc-table/components/DataTableBody.vue +0 -363
- package/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue +0 -396
- package/ui/components/organisms/vc-table/components/DataTableHeader.vue +0 -373
- package/ui/components/organisms/vc-table/components/DataTableRow.vue +0 -370
- package/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue +0 -58
- package/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue +0 -440
- package/ui/components/organisms/vc-table/components/Table.vue +0 -101
- package/ui/components/organisms/vc-table/components/TableActions.vue +0 -125
- package/ui/components/organisms/vc-table/components/TableAddRowButton.vue +0 -55
- package/ui/components/organisms/vc-table/components/TableBody.vue +0 -79
- package/ui/components/organisms/vc-table/components/TableCell.vue +0 -160
- package/ui/components/organisms/vc-table/components/TableCheckbox.vue +0 -78
- package/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue +0 -150
- package/ui/components/organisms/vc-table/components/TableEmpty.vue +0 -69
- package/ui/components/organisms/vc-table/components/TableFooter.vue +0 -13
- package/ui/components/organisms/vc-table/components/TableGroupRow.vue +0 -130
- package/ui/components/organisms/vc-table/components/TableHead.vue +0 -311
- package/ui/components/organisms/vc-table/components/TableHeader.vue +0 -13
- package/ui/components/organisms/vc-table/components/TableResizeHandle.vue +0 -125
- package/ui/components/organisms/vc-table/components/TableRow.vue +0 -283
- package/ui/components/organisms/vc-table/components/TableRowActions.vue +0 -495
- package/ui/components/organisms/vc-table/components/TableSearchHeader.vue +0 -233
- package/ui/components/organisms/vc-table/components/TableSelectAllBar.vue +0 -135
- package/ui/components/organisms/vc-table/components/VcColumn.vue +0 -255
- package/ui/components/organisms/vc-table/components/_internal/SlotProxy.ts +0 -20
- package/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue +0 -110
- package/ui/components/organisms/vc-table/components/cells/CellDate.vue +0 -52
- package/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue +0 -48
- package/ui/components/organisms/vc-table/components/cells/CellDefault.vue +0 -90
- package/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue +0 -47
- package/ui/components/organisms/vc-table/components/cells/CellHtml.vue +0 -62
- package/ui/components/organisms/vc-table/components/cells/CellImage.vue +0 -28
- package/ui/components/organisms/vc-table/components/cells/CellLink.vue +0 -18
- package/ui/components/organisms/vc-table/components/cells/CellMoney.vue +0 -120
- package/ui/components/organisms/vc-table/components/cells/CellNumber.vue +0 -113
- package/ui/components/organisms/vc-table/components/cells/CellStatus.vue +0 -18
- package/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue +0 -20
- package/ui/components/organisms/vc-table/components/cells/DynamicCellRenderer.vue +0 -164
- package/ui/components/organisms/vc-table/components/cells/index.ts +0 -11
- package/ui/components/organisms/vc-table/components/index.ts +0 -39
- package/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue +0 -672
- package/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue +0 -251
- package/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue +0 -163
- package/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue +0 -68
- package/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue +0 -353
- package/ui/components/organisms/vc-table/components/mobile/index.ts +0 -6
- package/ui/components/organisms/vc-table/composables/index.ts +0 -49
- package/ui/components/organisms/vc-table/composables/useCellBase.ts +0 -114
- package/ui/components/organisms/vc-table/composables/useCellRegistry.ts +0 -130
- package/ui/components/organisms/vc-table/composables/useColumnFilter.ts +0 -158
- package/ui/components/organisms/vc-table/composables/useDataProcessing.ts +0 -239
- package/ui/components/organisms/vc-table/composables/useDataTableState.test.ts +0 -78
- package/ui/components/organisms/vc-table/composables/useDataTableState.ts +0 -343
- package/ui/components/organisms/vc-table/composables/useMobileCardLayout.test.ts +0 -81
- package/ui/components/organisms/vc-table/composables/useMobileCardLayout.ts +0 -345
- package/ui/components/organisms/vc-table/composables/useTableColumns.ts +0 -276
- package/ui/components/organisms/vc-table/composables/useTableColumnsReorder.ts +0 -175
- package/ui/components/organisms/vc-table/composables/useTableColumnsResize.ts +0 -311
- package/ui/components/organisms/vc-table/composables/useTableContext.ts +0 -16
- package/ui/components/organisms/vc-table/composables/useTableEditing.ts +0 -385
- package/ui/components/organisms/vc-table/composables/useTableExpansion.ts +0 -159
- package/ui/components/organisms/vc-table/composables/useTableFilter.test.ts +0 -43
- package/ui/components/organisms/vc-table/composables/useTableFilter.ts +0 -131
- package/ui/components/organisms/vc-table/composables/useTableInlineEdit.ts +0 -306
- package/ui/components/organisms/vc-table/composables/useTableRowGrouping.ts +0 -310
- package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +0 -227
- package/ui/components/organisms/vc-table/composables/useTableSelectionV2.ts +0 -388
- package/ui/components/organisms/vc-table/composables/useTableSort.ts +0 -221
- package/ui/components/organisms/vc-table/composables/useTableSwipe.ts +0 -32
- package/ui/components/organisms/vc-table/composables/useVirtualScroll.ts +0 -286
- package/ui/components/organisms/vc-table/index.ts +0 -68
- package/ui/components/organisms/vc-table/keys.ts +0 -20
- package/ui/components/organisms/vc-table/types.ts +0 -856
- package/ui/components/organisms/vc-table/utils/ColumnCollector.ts +0 -137
- package/ui/components/organisms/vc-table/utils/deepClone.ts +0 -46
- package/ui/components/organisms/vc-table/utils/index.ts +0 -19
- package/ui/components/organisms/vc-table/vc-data-table.stories.ts +0 -5178
- package/ui/composables/README.md +0 -160
- package/ui/composables/index.ts +0 -6
- package/ui/composables/useAdaptiveItems.ts +0 -347
- package/ui/composables/useCollapsible.ts +0 -73
- package/ui/composables/useFloatingPosition.ts +0 -94
- package/ui/composables/useFormField.ts +0 -57
- package/ui/composables/useScrollArrows.ts +0 -64
- package/ui/composables/useTeleportTarget.ts +0 -37
- package/ui/types/form-field.ts +0 -44
- package/ui/types/index.ts +0 -21
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from "vitest";
|
|
2
|
-
import { buildUrlFromStack, parseBladeUrl, buildQueryString } from "@shared/components/blade-navigation/utils/urlSync";
|
|
3
|
-
import type { BladeDescriptor } from "@shared/components/blade-navigation/types";
|
|
4
|
-
|
|
5
|
-
// ── Helper ──────────────────────────────────────────────────────────────────────
|
|
6
|
-
|
|
7
|
-
function makeDescriptor(overrides: Partial<BladeDescriptor> = {}): BladeDescriptor {
|
|
8
|
-
return {
|
|
9
|
-
id: "blade_1",
|
|
10
|
-
name: "TestBlade",
|
|
11
|
-
visible: true,
|
|
12
|
-
...overrides,
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// ── buildUrlFromStack ───────────────────────────────────────────────────────────
|
|
17
|
-
|
|
18
|
-
describe("buildUrlFromStack", () => {
|
|
19
|
-
it("returns root path for empty stack", () => {
|
|
20
|
-
const result = buildUrlFromStack("", []);
|
|
21
|
-
expect(result.path).toBe("/");
|
|
22
|
-
expect(result.query).toEqual({});
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it("returns tenant root for empty stack with tenant prefix", () => {
|
|
26
|
-
const result = buildUrlFromStack("tenant-abc", []);
|
|
27
|
-
expect(result.path).toBe("/tenant-abc");
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
it("builds workspace-only URL", () => {
|
|
31
|
-
const stack = [makeDescriptor({ name: "Orders", url: "/orders" })];
|
|
32
|
-
const result = buildUrlFromStack("", stack);
|
|
33
|
-
expect(result.path).toBe("/orders");
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
it("builds workspace-only URL with tenant", () => {
|
|
37
|
-
const stack = [makeDescriptor({ name: "Orders", url: "/orders" })];
|
|
38
|
-
const result = buildUrlFromStack("seller-123", stack);
|
|
39
|
-
expect(result.path).toBe("/seller-123/orders");
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
it("builds workspace + child blade URL", () => {
|
|
43
|
-
const stack = [
|
|
44
|
-
makeDescriptor({ id: "ws", name: "Orders", url: "/orders" }),
|
|
45
|
-
makeDescriptor({ id: "child", name: "OrderDetails", url: "/order", param: "uuid-1", parentId: "ws" }),
|
|
46
|
-
];
|
|
47
|
-
const result = buildUrlFromStack("", stack);
|
|
48
|
-
expect(result.path).toBe("/orders/order/uuid-1");
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
it("builds workspace + child blade URL with tenant", () => {
|
|
52
|
-
const stack = [
|
|
53
|
-
makeDescriptor({ id: "ws", name: "Orders", url: "/orders" }),
|
|
54
|
-
makeDescriptor({ id: "child", name: "OrderDetails", url: "/order", param: "abc-123", parentId: "ws" }),
|
|
55
|
-
];
|
|
56
|
-
const result = buildUrlFromStack("seller-1", stack);
|
|
57
|
-
expect(result.path).toBe("/seller-1/orders/order/abc-123");
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
it("skips invisible child blades", () => {
|
|
61
|
-
const stack = [
|
|
62
|
-
makeDescriptor({ id: "ws", name: "Orders", url: "/orders" }),
|
|
63
|
-
makeDescriptor({ id: "child", name: "OrderDetails", url: "/order", param: "x", visible: false }),
|
|
64
|
-
];
|
|
65
|
-
const result = buildUrlFromStack("", stack);
|
|
66
|
-
expect(result.path).toBe("/orders");
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
it("uses last visible child blade", () => {
|
|
70
|
-
const stack = [
|
|
71
|
-
makeDescriptor({ id: "ws", name: "Orders", url: "/orders" }),
|
|
72
|
-
makeDescriptor({ id: "c1", name: "OldBlade", url: "/old", param: "old-id", visible: false }),
|
|
73
|
-
makeDescriptor({ id: "c2", name: "NewBlade", url: "/new", param: "new-id" }),
|
|
74
|
-
];
|
|
75
|
-
const result = buildUrlFromStack("", stack);
|
|
76
|
-
expect(result.path).toBe("/orders/new/new-id");
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
it("normalizes URLs with leading/trailing slashes", () => {
|
|
80
|
-
const stack = [makeDescriptor({ name: "Orders", url: "//orders/" })];
|
|
81
|
-
const result = buildUrlFromStack("", stack);
|
|
82
|
-
expect(result.path).toBe("/orders");
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
it("merges query params from visible blades", () => {
|
|
86
|
-
const stack = [
|
|
87
|
-
makeDescriptor({ name: "Orders", url: "/orders", query: { page: "1" } }),
|
|
88
|
-
makeDescriptor({ name: "Details", url: "/order", query: { tab: "info" }, parentId: "ws" }),
|
|
89
|
-
];
|
|
90
|
-
const result = buildUrlFromStack("", stack);
|
|
91
|
-
expect(result.query).toEqual({ page: "1", tab: "info" });
|
|
92
|
-
});
|
|
93
|
-
|
|
94
|
-
it("ignores query from invisible blades", () => {
|
|
95
|
-
const stack = [
|
|
96
|
-
makeDescriptor({ name: "Orders", url: "/orders", query: { page: "1" } }),
|
|
97
|
-
makeDescriptor({ name: "Details", url: "/order", query: { tab: "info" }, visible: false }),
|
|
98
|
-
];
|
|
99
|
-
const result = buildUrlFromStack("", stack);
|
|
100
|
-
expect(result.query).toEqual({ page: "1" });
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
// ── parseBladeUrl ───────────────────────────────────────────────────────────────
|
|
105
|
-
|
|
106
|
-
describe("parseBladeUrl", () => {
|
|
107
|
-
it("returns empty for root path", () => {
|
|
108
|
-
expect(parseBladeUrl("/")).toEqual({});
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
it("returns empty for empty string", () => {
|
|
112
|
-
expect(parseBladeUrl("")).toEqual({});
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
it("parses workspace-only path", () => {
|
|
116
|
-
expect(parseBladeUrl("/orders")).toEqual({ workspaceUrl: "orders" });
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
it("parses workspace + blade path", () => {
|
|
120
|
-
expect(parseBladeUrl("/orders/order")).toEqual({
|
|
121
|
-
workspaceUrl: "orders",
|
|
122
|
-
bladeUrl: "order",
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
it("parses workspace + blade + param path", () => {
|
|
127
|
-
expect(parseBladeUrl("/orders/order/uuid-123")).toEqual({
|
|
128
|
-
workspaceUrl: "orders",
|
|
129
|
-
bladeUrl: "order",
|
|
130
|
-
param: "uuid-123",
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
it("strips tenant prefix", () => {
|
|
135
|
-
expect(parseBladeUrl("/seller-1/orders/order/id-1", "seller-1")).toEqual({
|
|
136
|
-
workspaceUrl: "orders",
|
|
137
|
-
bladeUrl: "order",
|
|
138
|
-
param: "id-1",
|
|
139
|
-
});
|
|
140
|
-
});
|
|
141
|
-
|
|
142
|
-
it("handles missing tenant prefix gracefully", () => {
|
|
143
|
-
expect(parseBladeUrl("/orders", "non-existent-tenant")).toEqual({
|
|
144
|
-
workspaceUrl: "orders",
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
|
|
148
|
-
it("handles path without leading slash", () => {
|
|
149
|
-
expect(parseBladeUrl("orders/order")).toEqual({
|
|
150
|
-
workspaceUrl: "orders",
|
|
151
|
-
bladeUrl: "order",
|
|
152
|
-
});
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
// ── buildQueryString ────────────────────────────────────────────────────────────
|
|
157
|
-
|
|
158
|
-
describe("buildQueryString", () => {
|
|
159
|
-
it("returns empty string for empty object", () => {
|
|
160
|
-
expect(buildQueryString({})).toBe("");
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
it("builds single-param string", () => {
|
|
164
|
-
expect(buildQueryString({ page: "1" })).toBe("?page=1");
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
it("builds multi-param string", () => {
|
|
168
|
-
const result = buildQueryString({ page: "1", sort: "name" });
|
|
169
|
-
expect(result).toContain("page=1");
|
|
170
|
-
expect(result).toContain("sort=name");
|
|
171
|
-
expect(result.startsWith("?")).toBe(true);
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
it("encodes special characters", () => {
|
|
175
|
-
expect(buildQueryString({ q: "hello world" })).toBe("?q=hello%20world");
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
it("skips empty string values", () => {
|
|
179
|
-
expect(buildQueryString({ page: "1", empty: "" })).toBe("?page=1");
|
|
180
|
-
});
|
|
181
|
-
});
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import type { Router } from "vue-router";
|
|
2
|
-
import type { BladeDescriptor, IBladeStack, ParsedBladeUrl } from "@shared/components/blade-navigation/types";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Build a URL path from the current blade stack.
|
|
6
|
-
*
|
|
7
|
-
* URL format: /<tenantPrefix>/<workspaceUrl>/<bladeUrl>/<param>
|
|
8
|
-
* - tenantPrefix: optional seller/tenant ID
|
|
9
|
-
* - workspaceUrl: from workspace blade's `url` (e.g. "/orders" → "orders")
|
|
10
|
-
* - bladeUrl: from active child blade's `url` (e.g. "/order" → "order")
|
|
11
|
-
* - param: entity ID
|
|
12
|
-
*
|
|
13
|
-
* @param tenantPrefix - Tenant/seller ID segment (empty string if none)
|
|
14
|
-
* @param stack - Current blade stack
|
|
15
|
-
* @returns path string and merged query params
|
|
16
|
-
*/
|
|
17
|
-
export function buildUrlFromStack(
|
|
18
|
-
tenantPrefix: string,
|
|
19
|
-
stack: readonly BladeDescriptor[],
|
|
20
|
-
): { path: string; query: Record<string, string> } {
|
|
21
|
-
if (stack.length === 0) {
|
|
22
|
-
return { path: tenantPrefix ? `/${tenantPrefix}` : "/", query: {} };
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const workspace = stack[0];
|
|
26
|
-
const wsUrl = normalizeSegment(workspace.url);
|
|
27
|
-
|
|
28
|
-
// Find the last visible child blade (not the workspace)
|
|
29
|
-
let activeBlade: BladeDescriptor | undefined;
|
|
30
|
-
for (let i = stack.length - 1; i >= 1; i--) {
|
|
31
|
-
if (stack[i].visible) {
|
|
32
|
-
activeBlade = stack[i];
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// Build path: /tenant/workspace or /tenant/workspace/blade/param
|
|
38
|
-
let path = tenantPrefix ? `/${tenantPrefix}` : "";
|
|
39
|
-
|
|
40
|
-
if (wsUrl) {
|
|
41
|
-
path += `/${wsUrl}`;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
if (activeBlade) {
|
|
45
|
-
const bladeUrl = normalizeSegment(activeBlade.url);
|
|
46
|
-
if (bladeUrl) {
|
|
47
|
-
path += `/${bladeUrl}`;
|
|
48
|
-
}
|
|
49
|
-
if (activeBlade.param) {
|
|
50
|
-
path += `/${activeBlade.param}`;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Merge query params from all visible blades
|
|
55
|
-
const query: Record<string, string> = {};
|
|
56
|
-
for (const blade of stack) {
|
|
57
|
-
if (blade.visible && blade.query) {
|
|
58
|
-
Object.assign(query, blade.query);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
return { path: path || "/", query };
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Parse a URL path into workspace, blade, and param segments.
|
|
67
|
-
*
|
|
68
|
-
* Handles both with and without tenant prefix:
|
|
69
|
-
* /orders → { workspaceUrl: "orders" }
|
|
70
|
-
* /orders/order/uuid → { workspaceUrl: "orders", bladeUrl: "order", param: "uuid" }
|
|
71
|
-
* /tenant-id/orders → { workspaceUrl: "orders" } (after stripping tenant)
|
|
72
|
-
* /tenant-id/orders/order/id → { workspaceUrl: "orders", bladeUrl: "order", param: "id" }
|
|
73
|
-
*
|
|
74
|
-
* @param hashPath - The path portion after the hash (e.g. "/orders/order/uuid")
|
|
75
|
-
* @param tenantPrefix - Optional tenant/seller ID to strip from the beginning
|
|
76
|
-
*/
|
|
77
|
-
export function parseBladeUrl(hashPath: string, tenantPrefix?: string): ParsedBladeUrl {
|
|
78
|
-
let segments = hashPath.split("/").filter(Boolean);
|
|
79
|
-
|
|
80
|
-
// Strip tenant prefix if present
|
|
81
|
-
if (tenantPrefix && segments.length > 0 && segments[0] === tenantPrefix) {
|
|
82
|
-
segments = segments.slice(1);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
if (segments.length === 0) {
|
|
86
|
-
return {};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return {
|
|
90
|
-
workspaceUrl: segments[0],
|
|
91
|
-
bladeUrl: segments[1],
|
|
92
|
-
param: segments[2],
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Build query string from a record of key-value pairs.
|
|
98
|
-
* Returns empty string if no params.
|
|
99
|
-
*/
|
|
100
|
-
export function buildQueryString(query: Record<string, string>): string {
|
|
101
|
-
const entries = Object.entries(query).filter(([, v]) => v !== undefined && v !== "");
|
|
102
|
-
if (entries.length === 0) return "";
|
|
103
|
-
return "?" + entries.map(([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`).join("&");
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Normalize a URL segment by removing leading/trailing slashes.
|
|
108
|
-
* "/orders/" → "orders", "orders" → "orders", undefined → undefined
|
|
109
|
-
*/
|
|
110
|
-
function normalizeSegment(url: string | undefined): string | undefined {
|
|
111
|
-
if (!url) return undefined;
|
|
112
|
-
return url.replace(/^\/+|\/+$/g, "") || undefined;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// ── Centralized URL sync helpers ──────────────────────────────────────────────
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Extract the tenant prefix from the current route params.
|
|
119
|
-
* Convention: first string param value (e.g. sellerId segment).
|
|
120
|
-
*/
|
|
121
|
-
export function getTenantPrefix(router: Router): string {
|
|
122
|
-
const params = router.currentRoute.value.params;
|
|
123
|
-
return (Object.values(params).find((v) => typeof v === "string" && v) as string) || "";
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Creates URL sync helpers bound to a specific router and blade stack.
|
|
128
|
-
* Eliminates duplication between VcBladeNavigation and useBladeNavigationAdapter.
|
|
129
|
-
*
|
|
130
|
-
* @param router - Vue Router instance
|
|
131
|
-
* @param bladeStack - BladeStack state machine
|
|
132
|
-
*/
|
|
133
|
-
export function createUrlSync(router: Router, bladeStack: IBladeStack) {
|
|
134
|
-
/**
|
|
135
|
-
* Push URL to create a browser history entry (for blade open).
|
|
136
|
-
*/
|
|
137
|
-
function syncUrlPush(): void {
|
|
138
|
-
const { path, query } = buildUrlFromStack(getTenantPrefix(router), bladeStack.blades.value);
|
|
139
|
-
router.push({ path, query });
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* Replace URL without creating a history entry (for blade close, cleanup).
|
|
144
|
-
*/
|
|
145
|
-
function syncUrlReplace(): void {
|
|
146
|
-
const { path, query } = buildUrlFromStack(getTenantPrefix(router), bladeStack.blades.value);
|
|
147
|
-
router.replace({ path, query });
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
return { syncUrlPush, syncUrlReplace };
|
|
151
|
-
}
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<VcPopup
|
|
3
|
-
:title="t('COMPONENTS.CHANGE_PASSWORD.TITLE')"
|
|
4
|
-
is-mobile-fullscreen
|
|
5
|
-
@close="cancelChange"
|
|
6
|
-
>
|
|
7
|
-
<template #content>
|
|
8
|
-
<!-- <div class="change-password tw-p-3 tw-overflow-scroll"> -->
|
|
9
|
-
<VcForm class="tw-flex tw-flex-col tw-flex-auto">
|
|
10
|
-
<div
|
|
11
|
-
v-if="forced"
|
|
12
|
-
class="tw-mb-4"
|
|
13
|
-
>
|
|
14
|
-
<vc-status
|
|
15
|
-
extend
|
|
16
|
-
:outline="false"
|
|
17
|
-
variant="info-dark"
|
|
18
|
-
>
|
|
19
|
-
<div class="tw-flex tw-flex-row tw-items-center tw-text-[color:var(--change-password-text-color)]">
|
|
20
|
-
<VcIcon
|
|
21
|
-
icon="material-lightbulb"
|
|
22
|
-
size="l"
|
|
23
|
-
class="tw-mr-3"
|
|
24
|
-
/>
|
|
25
|
-
<div>
|
|
26
|
-
<p>{{ t("COMPONENTS.CHANGE_PASSWORD.FORCED.LABEL") }}</p>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</vc-status>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<Field
|
|
33
|
-
v-slot="{ field, errorMessage, errors }"
|
|
34
|
-
:label="t('COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL')"
|
|
35
|
-
name="current"
|
|
36
|
-
rules="required|min:6"
|
|
37
|
-
:model-value="form.currentPassword"
|
|
38
|
-
>
|
|
39
|
-
<VcInput
|
|
40
|
-
v-bind="field"
|
|
41
|
-
ref="passwordField"
|
|
42
|
-
v-model="form.currentPassword"
|
|
43
|
-
class="tw-mb-4 tw-mt-1 tw-shrink-0"
|
|
44
|
-
:label="t('COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL')"
|
|
45
|
-
:placeholder="t('COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.PLACEHOLDER')"
|
|
46
|
-
type="password"
|
|
47
|
-
required
|
|
48
|
-
:error="!!errors.length"
|
|
49
|
-
:error-message="errorMessage"
|
|
50
|
-
@update:model-value="validate"
|
|
51
|
-
></VcInput>
|
|
52
|
-
</Field>
|
|
53
|
-
<Field
|
|
54
|
-
v-slot="{ field, errorMessage, errors }"
|
|
55
|
-
:label="t('COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL')"
|
|
56
|
-
name="new_pass"
|
|
57
|
-
rules="required|min:6"
|
|
58
|
-
:model-value="form.password"
|
|
59
|
-
>
|
|
60
|
-
<VcInput
|
|
61
|
-
v-bind="field"
|
|
62
|
-
ref="newPasswordField"
|
|
63
|
-
v-model="form.password"
|
|
64
|
-
class="tw-mb-4 tw-mt-1 tw-shrink-0"
|
|
65
|
-
:label="t('COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL')"
|
|
66
|
-
:placeholder="t('COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.PLACEHOLDER')"
|
|
67
|
-
type="password"
|
|
68
|
-
required
|
|
69
|
-
:error="!!errors.length"
|
|
70
|
-
:error-message="errorMessage"
|
|
71
|
-
@update:model-value="validate"
|
|
72
|
-
></VcInput>
|
|
73
|
-
</Field>
|
|
74
|
-
<Field
|
|
75
|
-
v-slot="{ field, errorMessage, errors }"
|
|
76
|
-
:label="t('COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL')"
|
|
77
|
-
name="confirm_pass"
|
|
78
|
-
rules="required|min:6"
|
|
79
|
-
:model-value="form.confirmPassword"
|
|
80
|
-
>
|
|
81
|
-
<VcInput
|
|
82
|
-
v-bind="field"
|
|
83
|
-
ref="confirmPasswordField"
|
|
84
|
-
v-model="form.confirmPassword"
|
|
85
|
-
class="tw-mb-4 tw-shrink-0"
|
|
86
|
-
:label="t('COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL')"
|
|
87
|
-
:placeholder="t('COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.PLACEHOLDER')"
|
|
88
|
-
type="password"
|
|
89
|
-
required
|
|
90
|
-
:error="!!errors.length"
|
|
91
|
-
:error-message="errorMessage"
|
|
92
|
-
@update:model-value="validate"
|
|
93
|
-
></VcInput>
|
|
94
|
-
</Field>
|
|
95
|
-
</VcForm>
|
|
96
|
-
</template>
|
|
97
|
-
<template #footer>
|
|
98
|
-
<div class="tw-flex tw-flex-col tw-flex-auto">
|
|
99
|
-
<div class="tw-flex tw-justify-between tw-flex-auto">
|
|
100
|
-
<!-- <span
|
|
101
|
-
v-if="$isDesktop.value"
|
|
102
|
-
class="tw-grow tw-basis-0"
|
|
103
|
-
></span> -->
|
|
104
|
-
<VcButton
|
|
105
|
-
variant="secondary"
|
|
106
|
-
class="tw-mr-3"
|
|
107
|
-
@click="cancelChange"
|
|
108
|
-
>
|
|
109
|
-
{{ t("COMPONENTS.CHANGE_PASSWORD.CANCEL") }}
|
|
110
|
-
</VcButton>
|
|
111
|
-
<VcButton
|
|
112
|
-
:disabled="loading || !form.isValid || isDisabled"
|
|
113
|
-
@click="changePassword"
|
|
114
|
-
>
|
|
115
|
-
{{ t("COMPONENTS.CHANGE_PASSWORD.SAVE") }}
|
|
116
|
-
</VcButton>
|
|
117
|
-
</div>
|
|
118
|
-
<VcHint
|
|
119
|
-
v-for="(err, i) in form.errors"
|
|
120
|
-
:key="i"
|
|
121
|
-
class="tw-mt-3 !tw-text-[color:var(--change-password-error-color)]"
|
|
122
|
-
>
|
|
123
|
-
<!-- TODO: stylizing-->
|
|
124
|
-
{{
|
|
125
|
-
(err as IIdentityError).code ? t(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${(err as IIdentityError).code}`) : err
|
|
126
|
-
}}
|
|
127
|
-
</VcHint>
|
|
128
|
-
</div>
|
|
129
|
-
</template>
|
|
130
|
-
|
|
131
|
-
<!-- </div> -->
|
|
132
|
-
</VcPopup>
|
|
133
|
-
</template>
|
|
134
|
-
|
|
135
|
-
<script lang="ts" setup>
|
|
136
|
-
import { nextTick, reactive, computed } from "vue";
|
|
137
|
-
import { useIsFormValid, Field, useIsFormDirty, useForm } from "vee-validate";
|
|
138
|
-
import { VcInput } from "@ui/components/molecules/vc-input";
|
|
139
|
-
import { VcHint } from "@ui/components/atoms/vc-hint";
|
|
140
|
-
import { VcButton } from "@ui/components/atoms/vc-button";
|
|
141
|
-
import { VcPopup } from "@ui/components/organisms/vc-popup";
|
|
142
|
-
import { VcForm } from "@ui/components/molecules/vc-form";
|
|
143
|
-
import { IIdentityError } from "@core/api/platform";
|
|
144
|
-
import { useUserManagement } from "@core/composables/useUserManagement";
|
|
145
|
-
import { useI18n } from "vue-i18n";
|
|
146
|
-
import { useRouter } from "vue-router";
|
|
147
|
-
|
|
148
|
-
interface IChangePassForm {
|
|
149
|
-
isValid: boolean;
|
|
150
|
-
errors: IIdentityError[] | string[];
|
|
151
|
-
currentPassword: string;
|
|
152
|
-
password: string;
|
|
153
|
-
confirmPassword: string;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export interface Props {
|
|
157
|
-
forced?: boolean;
|
|
158
|
-
login?: string;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
const props = defineProps<Props>();
|
|
162
|
-
|
|
163
|
-
interface Emits {
|
|
164
|
-
(event: "close"): void;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
const emit = defineEmits<Emits>();
|
|
168
|
-
const { t } = useI18n({ useScope: "global" });
|
|
169
|
-
const { changeUserPassword, loading, validatePassword, signOut } = useUserManagement();
|
|
170
|
-
useForm({ validateOnMount: false });
|
|
171
|
-
const isValid = useIsFormValid();
|
|
172
|
-
const isDirty = useIsFormDirty();
|
|
173
|
-
const router = useRouter();
|
|
174
|
-
|
|
175
|
-
const form = reactive<IChangePassForm>({
|
|
176
|
-
isValid: false,
|
|
177
|
-
errors: [],
|
|
178
|
-
currentPassword: "",
|
|
179
|
-
password: "",
|
|
180
|
-
confirmPassword: "",
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
const isDisabled = computed(() => {
|
|
184
|
-
return !isDirty.value || !isValid.value;
|
|
185
|
-
});
|
|
186
|
-
|
|
187
|
-
async function cancelChange() {
|
|
188
|
-
if (props.forced) {
|
|
189
|
-
await signOut();
|
|
190
|
-
await router.push("/login");
|
|
191
|
-
} else {
|
|
192
|
-
emit("close");
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
async function changePassword() {
|
|
197
|
-
const result = await changeUserPassword(form.currentPassword, form.password);
|
|
198
|
-
if (result?.succeeded) {
|
|
199
|
-
if (props.forced) {
|
|
200
|
-
await router.push("/");
|
|
201
|
-
} else {
|
|
202
|
-
emit("close");
|
|
203
|
-
}
|
|
204
|
-
} else if (result?.errors) {
|
|
205
|
-
form.errors = result?.errors;
|
|
206
|
-
form.isValid = form.errors.length == 0;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
function validate() {
|
|
211
|
-
nextTick(async () => {
|
|
212
|
-
if (form.password || form.confirmPassword) {
|
|
213
|
-
form.errors = (await validatePassword(form.password)).errors ?? [];
|
|
214
|
-
if (form.confirmPassword !== form.password) {
|
|
215
|
-
(form.errors as IIdentityError[]).push({ code: "Repeat-password" });
|
|
216
|
-
}
|
|
217
|
-
if (form.confirmPassword === form.currentPassword && form.password === form.currentPassword) {
|
|
218
|
-
(form.errors as IIdentityError[]).push({ code: "Equal-passwords" });
|
|
219
|
-
}
|
|
220
|
-
form.isValid = form.errors.length == 0;
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
</script>
|
|
225
|
-
|
|
226
|
-
<style lang="scss">
|
|
227
|
-
:root {
|
|
228
|
-
--change-password-error-color: var(--danger-500);
|
|
229
|
-
--change-password-text-color: var(--additional-950);
|
|
230
|
-
}
|
|
231
|
-
</style>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import _ChangePassword from "@shared/components/change-password/change-password.vue";
|
|
2
|
-
|
|
3
|
-
export const ChangePassword = _ChangePassword as typeof _ChangePassword;
|
|
4
|
-
|
|
5
|
-
// Declare globally
|
|
6
|
-
declare module "@vue/runtime-core" {
|
|
7
|
-
export interface GlobalComponents {
|
|
8
|
-
ChangePassword: typeof ChangePassword;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { onUnmounted, provide } from "vue";
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
3
|
-
import ChangePasswordButton from "@shared/components/change-password-button/change-password-button.vue";
|
|
4
|
-
import { VcPopupContainer } from "@shared/components/popup-handler";
|
|
5
|
-
import { CloseSettingsMenuKey } from "@framework/injection-keys";
|
|
6
|
-
import { useUserManagement } from "@core/composables/useUserManagement";
|
|
7
|
-
import { IdentityResult, SecurityResult } from "@core/api/platform";
|
|
8
|
-
|
|
9
|
-
function patchUserManagement() {
|
|
10
|
-
const userManagement = useUserManagement();
|
|
11
|
-
const originalValidatePassword = userManagement.validatePassword;
|
|
12
|
-
const originalChangeUserPassword = userManagement.changeUserPassword;
|
|
13
|
-
|
|
14
|
-
userManagement.validatePassword = async () =>
|
|
15
|
-
new IdentityResult({
|
|
16
|
-
succeeded: true,
|
|
17
|
-
errors: [],
|
|
18
|
-
});
|
|
19
|
-
userManagement.changeUserPassword = async () =>
|
|
20
|
-
new SecurityResult({
|
|
21
|
-
succeeded: true,
|
|
22
|
-
errors: [],
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
onUnmounted(() => {
|
|
26
|
-
userManagement.validatePassword = originalValidatePassword;
|
|
27
|
-
userManagement.changeUserPassword = originalChangeUserPassword;
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
const meta = {
|
|
32
|
-
title: "Shared/ChangePasswordButton",
|
|
33
|
-
component: ChangePasswordButton,
|
|
34
|
-
tags: ["autodocs"],
|
|
35
|
-
decorators: [
|
|
36
|
-
() => ({
|
|
37
|
-
components: { VcPopupContainer },
|
|
38
|
-
setup() {
|
|
39
|
-
patchUserManagement();
|
|
40
|
-
provide(CloseSettingsMenuKey, () => {});
|
|
41
|
-
},
|
|
42
|
-
template: `
|
|
43
|
-
<div class="tw-w-[300px] tw-rounded-lg tw-border tw-border-solid tw-border-neutrals-200 tw-bg-additional-50 tw-p-1">
|
|
44
|
-
<story />
|
|
45
|
-
<VcPopupContainer />
|
|
46
|
-
</div>
|
|
47
|
-
`,
|
|
48
|
-
}),
|
|
49
|
-
],
|
|
50
|
-
parameters: {
|
|
51
|
-
docs: {
|
|
52
|
-
description: {
|
|
53
|
-
component:
|
|
54
|
-
"Settings menu action that opens change-password popup through popup-handler. Story includes popup container and safe user-management mocks for interactive preview.",
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
} satisfies Meta<typeof ChangePasswordButton>;
|
|
59
|
-
|
|
60
|
-
export default meta;
|
|
61
|
-
type Story = StoryObj<typeof meta>;
|
|
62
|
-
|
|
63
|
-
export const Default: Story = {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<SettingsMenuItem
|
|
3
|
-
icon="lucide-key"
|
|
4
|
-
:title="$t('SHELL.ACCOUNT.CHANGE_PASSWORD')"
|
|
5
|
-
@trigger:click="handleClick"
|
|
6
|
-
/>
|
|
7
|
-
</template>
|
|
8
|
-
|
|
9
|
-
<script lang="ts" setup>
|
|
10
|
-
import { inject } from "vue";
|
|
11
|
-
import { CloseSettingsMenuKey } from "@framework/injection-keys";
|
|
12
|
-
import { SettingsMenuItem } from "@shared/components/settings-menu-item";
|
|
13
|
-
import { usePopup } from "@shared/components/popup-handler/composables/usePopup";
|
|
14
|
-
import { ChangePassword } from "@shared/components/change-password";
|
|
15
|
-
|
|
16
|
-
const { open } = usePopup({ component: ChangePassword });
|
|
17
|
-
const closeSettingsMenu = inject(CloseSettingsMenuKey, undefined);
|
|
18
|
-
|
|
19
|
-
const handleClick = () => {
|
|
20
|
-
closeSettingsMenu?.();
|
|
21
|
-
open();
|
|
22
|
-
};
|
|
23
|
-
</script>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ChangePasswordButton } from "@shared/components/change-password-button/change-password-button.vue";
|