@vc-shell/framework 1.2.4-beta.8 → 2.0.0-alpha.1
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/components/_internal/VcAiAgentHeader.vue.d.ts +2 -2
- 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 +219 -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 +4 -2
- 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 +3 -3
- 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 +5 -5
- 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 +7 -7
- 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/ColumnFilter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/ColumnFilter.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/TableRowActions.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +6 -6
- 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/components/mobile/PullToRefresh.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -1
- 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-intlify-core-base-BmIo1dK4.js +1141 -0
- package/dist/{vendor-intlify-message-compiler-C5QaCXcF.js → vendor-intlify-message-compiler-D9VOavkL.js} +315 -307
- package/dist/{vendor-intlify-shared-BrKs3jCC.js → vendor-intlify-shared-SCAs3ybf.js} +2 -2
- 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-prosemirror-gapcursor-BAwEBHgE.js → vendor-prosemirror-gapcursor-S3ikcYX6.js} +14 -14
- package/dist/{vendor-tiptap-core-BfrE48R3.js → vendor-tiptap-core-CDScflP1.js} +665 -628
- package/dist/{vendor-tiptap-extension-blockquote-DG5eEgV_.js → vendor-tiptap-extension-blockquote-ChRAwuus.js} +1 -1
- package/dist/{vendor-tiptap-extension-bold-CqPrSfgB.js → vendor-tiptap-extension-bold-BwoVpOFS.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-Dj9HfL9x.js → vendor-tiptap-extension-code-DOlgG3ih.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-block-YnlbQcbJ.js → vendor-tiptap-extension-code-block-CMeTs87s.js} +29 -29
- package/dist/{vendor-tiptap-extension-document-DyG2LNKD.js → vendor-tiptap-extension-document-DO8oly70.js} +1 -1
- package/dist/{vendor-tiptap-extension-hard-break-mzhqFFEq.js → vendor-tiptap-extension-hard-break-BgDl2sHf.js} +1 -1
- package/dist/{vendor-tiptap-extension-heading-DGnriW33.js → vendor-tiptap-extension-heading-DFuYlwHi.js} +1 -1
- package/dist/{vendor-tiptap-extension-horizontal-rule-pR7MlJHI.js → vendor-tiptap-extension-horizontal-rule-uyfttMp9.js} +1 -1
- package/dist/{vendor-tiptap-extension-image-BsXHNscz.js → vendor-tiptap-extension-image-DPeBaTE3.js} +1 -1
- package/dist/{vendor-tiptap-extension-italic-aoCbIXRj.js → vendor-tiptap-extension-italic-C9-3jNxO.js} +1 -1
- package/dist/{vendor-tiptap-extension-link-DiV7DqnY.js → vendor-tiptap-extension-link-B57VzStq.js} +1 -1
- package/dist/{vendor-tiptap-extension-list-BGYRWOyu.js → vendor-tiptap-extension-list-spvOF7Mz.js} +1 -1
- package/dist/{vendor-tiptap-extension-paragraph-BEBEvW1W.js → vendor-tiptap-extension-paragraph-Cj7auQB7.js} +1 -1
- package/dist/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +1 -0
- package/dist/{vendor-tiptap-extension-strike-6vob8J1A.js → vendor-tiptap-extension-strike-yj6UvnkO.js} +1 -1
- package/dist/vendor-tiptap-extension-table-cell-CQpTPSvF.js +1 -0
- package/dist/{vendor-tiptap-extension-table-CH-0UqG-.js → vendor-tiptap-extension-table-ex1kZQ-9.js} +1 -1
- package/dist/vendor-tiptap-extension-table-header-CQpTPSvF.js +1 -0
- package/dist/vendor-tiptap-extension-table-row-CQpTPSvF.js +1 -0
- package/dist/{vendor-tiptap-extension-text-CnqQVbB2.js → vendor-tiptap-extension-text-C8FG4KnI.js} +1 -1
- package/dist/{vendor-tiptap-extension-text-style-Bj4bCZI1.js → vendor-tiptap-extension-text-style-DsQDXowp.js} +1 -1
- package/dist/{vendor-tiptap-extension-underline-CVBZMhrs.js → vendor-tiptap-extension-underline-HB3fg6Dc.js} +1 -1
- package/dist/{vendor-tiptap-extensions-2ZbpCG7T.js → vendor-tiptap-extensions-CUGwjzl5.js} +2 -2
- package/dist/{vendor-tiptap-markdown-B7Wvo0s5.js → vendor-tiptap-markdown-DLzeP3KU.js} +1 -1
- package/dist/{vendor-tiptap-starter-kit-ipneJHYV.js → vendor-tiptap-starter-kit-C42PcJ7J.js} +17 -17
- package/dist/{vendor-tiptap-vue-3-IfJcIOl5.js → vendor-tiptap-vue-3-BxWCzu9Z.js} +1 -1
- package/dist/{vendor-vue-i18n-D0F0w-9Q.js → vendor-vue-i18n-DeO9Fa9I.js} +414 -405
- 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/dist/vendor-intlify-core-base-YZqJSEvl.js +0 -1130
- package/dist/vendor-tiptap-extension-placeholder-ZfoeEW0T.js +0 -1
- package/dist/vendor-tiptap-extension-table-cell-_uzaJkJG.js +0 -1
- package/dist/vendor-tiptap-extension-table-header-_uzaJkJG.js +0 -1
- package/dist/vendor-tiptap-extension-table-row-_uzaJkJG.js +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,631 +0,0 @@
|
|
|
1
|
-
import { App, Plugin, ref } from "vue";
|
|
2
|
-
import { Router } from "vue-router";
|
|
3
|
-
import { DynamicModulesKey, ModulesReadyKey, ModulesLoadErrorKey } from "@framework/injection-keys";
|
|
4
|
-
import * as semver from "semver";
|
|
5
|
-
import { notification } from "@shared/components/notifications/core";
|
|
6
|
-
import { createLogger } from "@core/utilities";
|
|
7
|
-
|
|
8
|
-
const logger = createLogger("module-loader");
|
|
9
|
-
|
|
10
|
-
interface ModuleManifest {
|
|
11
|
-
file: string;
|
|
12
|
-
name: string;
|
|
13
|
-
src: string;
|
|
14
|
-
isEntry: boolean;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface CssManifest {
|
|
18
|
-
file: string;
|
|
19
|
-
src: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface VersionManifest {
|
|
23
|
-
file: string;
|
|
24
|
-
src: string;
|
|
25
|
-
isVersionInfo: boolean;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
interface Manifest {
|
|
29
|
-
[key: string]: ModuleManifest | CssManifest | VersionManifest;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
interface VersionInfo {
|
|
33
|
-
version: string;
|
|
34
|
-
compatibleWith: {
|
|
35
|
-
framework: string;
|
|
36
|
-
modules?: Record<string, string>;
|
|
37
|
-
};
|
|
38
|
-
appCompatibility?: {
|
|
39
|
-
[appName: string]: string;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface Apps {
|
|
44
|
-
[x: string]: {
|
|
45
|
-
modules: {
|
|
46
|
-
id: string;
|
|
47
|
-
url: string;
|
|
48
|
-
version?: string;
|
|
49
|
-
hash?: string;
|
|
50
|
-
}[];
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface ModuleWithDefaultExport {
|
|
55
|
-
default: {
|
|
56
|
-
install: Plugin;
|
|
57
|
-
version?: VersionInfo;
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface ModuleWithNamedExport {
|
|
62
|
-
install: Plugin;
|
|
63
|
-
version?: VersionInfo;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
class VersionCompatibilityError extends Error {
|
|
67
|
-
moduleId: string;
|
|
68
|
-
details: {
|
|
69
|
-
required: string;
|
|
70
|
-
current: string;
|
|
71
|
-
type: "framework" | "module";
|
|
72
|
-
dependencyName?: string;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
constructor(
|
|
76
|
-
moduleId: string,
|
|
77
|
-
details: {
|
|
78
|
-
required: string;
|
|
79
|
-
current: string;
|
|
80
|
-
type: "framework" | "module";
|
|
81
|
-
dependencyName?: string;
|
|
82
|
-
},
|
|
83
|
-
) {
|
|
84
|
-
let message;
|
|
85
|
-
if (details.type === "framework") {
|
|
86
|
-
message = `Module ${moduleId} requires framework version ${details.required}, but current is ${details.current}`;
|
|
87
|
-
} else if (details.type === "module") {
|
|
88
|
-
message = `Module ${moduleId} requires ${details.dependencyName} version ${details.required}, but current is ${details.current}`;
|
|
89
|
-
} else {
|
|
90
|
-
message = `Module ${moduleId} encountered an unknown compatibility issue.`;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
super(message);
|
|
94
|
-
this.moduleId = moduleId;
|
|
95
|
-
this.details = details;
|
|
96
|
-
this.name = "VersionCompatibilityError";
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
function loadCSS(url: string): Promise<void> {
|
|
101
|
-
return new Promise((resolve, reject) => {
|
|
102
|
-
const link = document.createElement("link");
|
|
103
|
-
link.rel = "stylesheet";
|
|
104
|
-
link.href = url;
|
|
105
|
-
link.onload = () => resolve();
|
|
106
|
-
link.onerror = (e) => reject(new Error(`Failed to load CSS: ${url}, error: ${e}`));
|
|
107
|
-
document.head.appendChild(link);
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
async function loadVersionInfo(url: string, options?: RequestInit): Promise<VersionInfo | null> {
|
|
112
|
-
try {
|
|
113
|
-
const response = await fetch(url, options);
|
|
114
|
-
if (!response.ok) {
|
|
115
|
-
logger.warn(`Failed to load version info: ${response.statusText}`);
|
|
116
|
-
return null;
|
|
117
|
-
}
|
|
118
|
-
return (await response.json()) as VersionInfo;
|
|
119
|
-
} catch (error) {
|
|
120
|
-
logger.warn(`Error loading version info: ${error}`);
|
|
121
|
-
return null;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
function sanitizeFileToken(value: string): string {
|
|
126
|
-
const safeValue = value.replace(/[^a-zA-Z0-9._-]/g, "_");
|
|
127
|
-
return safeValue || "unknown";
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function appendQueryParam(url: string, key: string, value: string): string {
|
|
131
|
-
const separator = url.includes("?") ? "&" : "?";
|
|
132
|
-
return `${url}${separator}${key}=${encodeURIComponent(value)}`;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
function hashString(value: string): string {
|
|
136
|
-
// Fast deterministic hash for cache keys in browser runtime.
|
|
137
|
-
let hash = 2166136261;
|
|
138
|
-
for (let i = 0; i < value.length; i++) {
|
|
139
|
-
hash ^= value.charCodeAt(i);
|
|
140
|
-
hash = Math.imul(hash, 16777619);
|
|
141
|
-
}
|
|
142
|
-
return (hash >>> 0).toString(16);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
function normalizeModuleUrl(url: string): string {
|
|
146
|
-
return url.replace(/^([^/])/, "/$1").replace(/([^/])$/, "$1/");
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
interface ModuleConfig {
|
|
150
|
-
baseUrl: string;
|
|
151
|
-
manifestFileName: string;
|
|
152
|
-
entryPointKey: string;
|
|
153
|
-
frameworkVersion: string;
|
|
154
|
-
skipVersionCheck?: boolean;
|
|
155
|
-
forceFreshAssets?: boolean;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
const DEFAULT_CONFIG: Partial<ModuleConfig> = {
|
|
159
|
-
manifestFileName: "manifest.json",
|
|
160
|
-
entryPointKey: "isEntry",
|
|
161
|
-
skipVersionCheck: false,
|
|
162
|
-
frameworkVersion: "1.1.0",
|
|
163
|
-
forceFreshAssets: true,
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
function checkVersionCompatibility(
|
|
167
|
-
moduleId: string,
|
|
168
|
-
moduleVersion: VersionInfo | undefined,
|
|
169
|
-
frameworkVersion: string,
|
|
170
|
-
loadedModulesWithVersions: Map<string, string>,
|
|
171
|
-
): void {
|
|
172
|
-
if (!moduleVersion) return;
|
|
173
|
-
|
|
174
|
-
if (
|
|
175
|
-
moduleVersion.compatibleWith.framework &&
|
|
176
|
-
!semver.satisfies(frameworkVersion, moduleVersion.compatibleWith.framework, { includePrerelease: true })
|
|
177
|
-
) {
|
|
178
|
-
logger.error(
|
|
179
|
-
`Module ${moduleId} requires framework version ${moduleVersion.compatibleWith.framework}, but current framework version is ${frameworkVersion}.`,
|
|
180
|
-
);
|
|
181
|
-
notification.error(
|
|
182
|
-
`Module ${moduleId} requires framework version ${moduleVersion.compatibleWith.framework}, but current framework version is ${frameworkVersion}.`,
|
|
183
|
-
);
|
|
184
|
-
throw new VersionCompatibilityError(moduleId, {
|
|
185
|
-
required: moduleVersion.compatibleWith.framework,
|
|
186
|
-
current: frameworkVersion,
|
|
187
|
-
type: "framework",
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
if (moduleVersion.compatibleWith.modules) {
|
|
192
|
-
for (const [depModuleId, versionRange] of Object.entries(moduleVersion.compatibleWith.modules)) {
|
|
193
|
-
const loadedDepVersion = loadedModulesWithVersions.get(depModuleId);
|
|
194
|
-
|
|
195
|
-
if (!loadedDepVersion) {
|
|
196
|
-
logger.warn(`Module ${moduleId} depends on ${depModuleId}, but it is not loaded yet.`);
|
|
197
|
-
continue;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
if (!semver.satisfies(loadedDepVersion, versionRange, { includePrerelease: true })) {
|
|
201
|
-
logger.error(
|
|
202
|
-
`Module ${moduleId} requires ${depModuleId} version ${versionRange}, but loaded version is ${loadedDepVersion}.`,
|
|
203
|
-
);
|
|
204
|
-
notification.error(
|
|
205
|
-
`Module ${moduleId} requires ${depModuleId} version ${versionRange}, but loaded version is ${loadedDepVersion}.`,
|
|
206
|
-
);
|
|
207
|
-
throw new VersionCompatibilityError(moduleId, {
|
|
208
|
-
required: versionRange,
|
|
209
|
-
current: loadedDepVersion,
|
|
210
|
-
type: "module",
|
|
211
|
-
dependencyName: depModuleId,
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Recursively searches for a module with an 'install' function.
|
|
220
|
-
*
|
|
221
|
-
* This function is designed to handle various module export structures,
|
|
222
|
-
* including default exports, named exports, or nested objects, ensuring
|
|
223
|
-
* the installable part of a module is always found.
|
|
224
|
-
*
|
|
225
|
-
* @param module - The module object to search within.
|
|
226
|
-
* @returns The sub-module containing the 'install' function, or null if not found.
|
|
227
|
-
*/
|
|
228
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
229
|
-
function getModuleInstall(module: any): { install: Plugin } | null {
|
|
230
|
-
if (!module) {
|
|
231
|
-
return null;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
// Case 1: The module itself has an 'install' function (most common for simple modules).
|
|
235
|
-
if (typeof module.install === "function") {
|
|
236
|
-
return module;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
// Case 2: The module uses a 'default' export which may contain the 'install' function.
|
|
240
|
-
if (module.default && typeof module.default.install === "function") {
|
|
241
|
-
return module.default;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// Case 3: The module is an object containing other objects, one of which might be the installable module.
|
|
245
|
-
// This handles complex exports where the installable part is a named export.
|
|
246
|
-
if (typeof module === "object") {
|
|
247
|
-
for (const key of Object.keys(module)) {
|
|
248
|
-
const nestedModule = getModuleInstall(module[key]);
|
|
249
|
-
if (nestedModule) {
|
|
250
|
-
return nestedModule;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
return null;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
export function useDynamicModules(
|
|
259
|
-
app: App,
|
|
260
|
-
{ router, appName }: { router: Router; appName: string },
|
|
261
|
-
config: Partial<ModuleConfig> = {},
|
|
262
|
-
) {
|
|
263
|
-
const finalConfig = { ...DEFAULT_CONFIG, ...config };
|
|
264
|
-
|
|
265
|
-
if (!config.frameworkVersion && finalConfig.frameworkVersion) {
|
|
266
|
-
logger.warn(
|
|
267
|
-
`Framework version not specified in the configuration, using default ${finalConfig.frameworkVersion}. This may cause compatibility issues with modules.`,
|
|
268
|
-
);
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
const loadedModules = new Set<string>();
|
|
272
|
-
const loadedModulesWithVersions = new Map<string, string>();
|
|
273
|
-
|
|
274
|
-
// Progressive loading state — provided before mount so descendants can inject during setup
|
|
275
|
-
const modulesReady = ref(false);
|
|
276
|
-
const modulesLoadError = ref(false);
|
|
277
|
-
app.provide(ModulesReadyKey, modulesReady);
|
|
278
|
-
app.provide(ModulesLoadErrorKey, modulesLoadError);
|
|
279
|
-
|
|
280
|
-
async function load() {
|
|
281
|
-
performance.mark("vc:modules-start");
|
|
282
|
-
let loadFailed = false;
|
|
283
|
-
try {
|
|
284
|
-
const shouldForceFreshAssets = finalConfig.forceFreshAssets !== false;
|
|
285
|
-
const requestTimestamp = Date.now().toString();
|
|
286
|
-
const fetchOptions: RequestInit | undefined = shouldForceFreshAssets ? { cache: "no-store" } : undefined;
|
|
287
|
-
const withCacheBust = (url: string, cacheKey?: string) =>
|
|
288
|
-
shouldForceFreshAssets ? appendQueryParam(url, "v", cacheKey ?? requestTimestamp) : url;
|
|
289
|
-
|
|
290
|
-
const appsUrl = withCacheBust(finalConfig.baseUrl + "apps.json");
|
|
291
|
-
const modules: Apps[] = await fetch(appsUrl, fetchOptions).then((res) => res.json());
|
|
292
|
-
|
|
293
|
-
const module = modules.find((module) => module[appName]);
|
|
294
|
-
|
|
295
|
-
if (typeof module !== "undefined") {
|
|
296
|
-
const appModules = module[appName]?.modules;
|
|
297
|
-
|
|
298
|
-
if (!(appModules && appModules.length)) {
|
|
299
|
-
throw new Error("Modules not found");
|
|
300
|
-
}
|
|
301
|
-
const manifestPromises = appModules.map(async (module) => {
|
|
302
|
-
if (loadedModules.has(module.id)) {
|
|
303
|
-
return null;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
const moduleUrl = normalizeModuleUrl(module.url);
|
|
307
|
-
const manifestRequestCacheKey = module.hash || module.version || requestTimestamp;
|
|
308
|
-
const manifestCandidates = [
|
|
309
|
-
...(module.hash ? [`manifest.${sanitizeFileToken(module.hash)}.json`] : []),
|
|
310
|
-
...(module.version ? [`manifest.${sanitizeFileToken(module.version)}.json`] : []),
|
|
311
|
-
finalConfig.manifestFileName,
|
|
312
|
-
];
|
|
313
|
-
try {
|
|
314
|
-
let manifest: Manifest | null = null;
|
|
315
|
-
let moduleCacheKey = manifestRequestCacheKey;
|
|
316
|
-
|
|
317
|
-
for (const manifestFileName of manifestCandidates) {
|
|
318
|
-
const manifestUrl = withCacheBust(moduleUrl + manifestFileName, manifestRequestCacheKey);
|
|
319
|
-
const response = await fetch(manifestUrl, fetchOptions);
|
|
320
|
-
if (response.ok) {
|
|
321
|
-
const manifestText = await response.text();
|
|
322
|
-
manifest = JSON.parse(manifestText) as Manifest;
|
|
323
|
-
moduleCacheKey = module.hash || hashString(manifestText) || requestTimestamp;
|
|
324
|
-
break;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
if (response.status !== 404) {
|
|
328
|
-
logger.warn(
|
|
329
|
-
`Failed to load manifest '${manifestFileName}' for module '{ ${module.id} }': ${response.statusText}`,
|
|
330
|
-
);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
if (!manifest) {
|
|
335
|
-
throw new Error(`Failed to load manifest for module '{ ${module.id} }'`);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
return {
|
|
339
|
-
moduleId: module.id,
|
|
340
|
-
moduleUrl,
|
|
341
|
-
moduleVersion: module.version,
|
|
342
|
-
moduleCacheKey,
|
|
343
|
-
manifest,
|
|
344
|
-
};
|
|
345
|
-
} catch (error) {
|
|
346
|
-
logger.error("Error loading module manifest:", error);
|
|
347
|
-
return null;
|
|
348
|
-
}
|
|
349
|
-
});
|
|
350
|
-
|
|
351
|
-
const manifestResults = await Promise.all(manifestPromises);
|
|
352
|
-
const validManifests = manifestResults.filter(
|
|
353
|
-
(result): result is NonNullable<typeof result> => result !== null,
|
|
354
|
-
);
|
|
355
|
-
|
|
356
|
-
// Parallel loading of all modules
|
|
357
|
-
const moduleLoadPromises = validManifests.map(
|
|
358
|
-
async ({ moduleId, moduleUrl, manifest, moduleVersion, moduleCacheKey }) => {
|
|
359
|
-
try {
|
|
360
|
-
const entry = Object.values(manifest).find((file) => (file as ModuleManifest).isEntry);
|
|
361
|
-
if (!entry) {
|
|
362
|
-
throw new Error(`Entry file not found for module ${moduleId}`);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
const versionFile = Object.values(manifest).find((file) => (file as VersionManifest).isVersionInfo) as
|
|
366
|
-
| VersionManifest
|
|
367
|
-
| undefined;
|
|
368
|
-
|
|
369
|
-
// Load version info and CSS in parallel
|
|
370
|
-
const [versionInfoFromFile] = await Promise.all([
|
|
371
|
-
versionFile
|
|
372
|
-
? loadVersionInfo(withCacheBust(moduleUrl + versionFile.file, moduleCacheKey), fetchOptions)
|
|
373
|
-
: Promise.resolve(null),
|
|
374
|
-
// Load CSS files in parallel
|
|
375
|
-
Promise.all(
|
|
376
|
-
Object.values(manifest)
|
|
377
|
-
.filter((file) => file.file.endsWith(".css"))
|
|
378
|
-
.map((file) => loadCSS(withCacheBust(moduleUrl + file.file, moduleCacheKey))),
|
|
379
|
-
).catch((error) => {
|
|
380
|
-
logger.error(`Failed to load styles for module ${moduleId}:`, error);
|
|
381
|
-
}),
|
|
382
|
-
]);
|
|
383
|
-
|
|
384
|
-
if (versionInfoFromFile) {
|
|
385
|
-
logger.info(`Loaded version info for module ${moduleId}: v${versionInfoFromFile.version}`);
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
// Import module
|
|
389
|
-
await import(/* @vite-ignore */ withCacheBust(moduleUrl + entry.file, moduleCacheKey));
|
|
390
|
-
|
|
391
|
-
return {
|
|
392
|
-
moduleId,
|
|
393
|
-
moduleUrl,
|
|
394
|
-
moduleVersion,
|
|
395
|
-
versionInfoFromFile,
|
|
396
|
-
success: true,
|
|
397
|
-
};
|
|
398
|
-
} catch (error) {
|
|
399
|
-
logger.error(`Failed to load module ${moduleId}:`, error);
|
|
400
|
-
return {
|
|
401
|
-
moduleId,
|
|
402
|
-
moduleUrl,
|
|
403
|
-
moduleVersion,
|
|
404
|
-
versionInfoFromFile: null,
|
|
405
|
-
success: false,
|
|
406
|
-
error,
|
|
407
|
-
};
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
);
|
|
411
|
-
|
|
412
|
-
// Wait for all modules to be loaded
|
|
413
|
-
const moduleLoadResults = await Promise.all(moduleLoadPromises);
|
|
414
|
-
|
|
415
|
-
// Create a map for easy lookup of load results
|
|
416
|
-
const loadResultsMap = new Map(
|
|
417
|
-
moduleLoadResults.filter((result) => result.success).map((result) => [result.moduleId, result]),
|
|
418
|
-
);
|
|
419
|
-
|
|
420
|
-
logger.debug("LoadResultsMap keys:", Array.from(loadResultsMap.keys()));
|
|
421
|
-
|
|
422
|
-
// Wait for all modules to register themselves in the global scope
|
|
423
|
-
const expectedModuleIds = Array.from(loadResultsMap.keys());
|
|
424
|
-
|
|
425
|
-
const getAvailableModules = () =>
|
|
426
|
-
typeof window !== "undefined" && window.VcShellDynamicModules
|
|
427
|
-
? Object.keys(window.VcShellDynamicModules)
|
|
428
|
-
: [];
|
|
429
|
-
|
|
430
|
-
const isModuleRegistered = (moduleId: string, availableModules: string[]) =>
|
|
431
|
-
availableModules.some(
|
|
432
|
-
(registeredId) =>
|
|
433
|
-
registeredId === moduleId || registeredId.includes(moduleId) || moduleId.includes(registeredId),
|
|
434
|
-
);
|
|
435
|
-
|
|
436
|
-
const areAllModulesRegistered = () => {
|
|
437
|
-
const availableModules = getAvailableModules();
|
|
438
|
-
return (
|
|
439
|
-
expectedModuleIds.length > 0 &&
|
|
440
|
-
expectedModuleIds.every((moduleId) => isModuleRegistered(moduleId, availableModules)) &&
|
|
441
|
-
availableModules.length > 0
|
|
442
|
-
);
|
|
443
|
-
};
|
|
444
|
-
|
|
445
|
-
// Check if modules are already registered
|
|
446
|
-
if (areAllModulesRegistered()) {
|
|
447
|
-
logger.debug("All modules are already registered, proceeding with installation");
|
|
448
|
-
} else {
|
|
449
|
-
logger.debug(`Waiting for ${expectedModuleIds.length} modules to register:`, expectedModuleIds);
|
|
450
|
-
|
|
451
|
-
// Wait for module registration with timeout
|
|
452
|
-
await new Promise<void>((resolve) => {
|
|
453
|
-
let timeoutId: NodeJS.Timeout | null = null;
|
|
454
|
-
let eventListener: EventListener | null = null;
|
|
455
|
-
let attempts = 0;
|
|
456
|
-
const maxAttempts = 50; // 5 seconds max wait time
|
|
457
|
-
|
|
458
|
-
const cleanup = () => {
|
|
459
|
-
if (timeoutId) {
|
|
460
|
-
clearTimeout(timeoutId);
|
|
461
|
-
timeoutId = null;
|
|
462
|
-
}
|
|
463
|
-
if (eventListener && typeof window !== "undefined") {
|
|
464
|
-
window.removeEventListener("vc-shell-module-registered", eventListener);
|
|
465
|
-
}
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
const checkAndResolve = () => {
|
|
469
|
-
if (areAllModulesRegistered()) {
|
|
470
|
-
logger.debug("All modules are registered, proceeding with installation");
|
|
471
|
-
cleanup();
|
|
472
|
-
resolve();
|
|
473
|
-
return true;
|
|
474
|
-
}
|
|
475
|
-
return false;
|
|
476
|
-
};
|
|
477
|
-
|
|
478
|
-
// Set up event listener for immediate response
|
|
479
|
-
if (typeof window !== "undefined") {
|
|
480
|
-
eventListener = () => checkAndResolve();
|
|
481
|
-
window.addEventListener("vc-shell-module-registered", eventListener);
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
// Fallback polling with timeout
|
|
485
|
-
const poll = async () => {
|
|
486
|
-
while (attempts < maxAttempts) {
|
|
487
|
-
const availableModules = getAvailableModules();
|
|
488
|
-
logger.debug(
|
|
489
|
-
`Attempt ${attempts + 1}: Available modules:`,
|
|
490
|
-
availableModules,
|
|
491
|
-
`(${availableModules.length}/${expectedModuleIds.length})`,
|
|
492
|
-
);
|
|
493
|
-
|
|
494
|
-
if (checkAndResolve()) return;
|
|
495
|
-
|
|
496
|
-
attempts++;
|
|
497
|
-
await new Promise((r) => setTimeout(r, 100));
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
logger.warn("Timeout waiting for all modules to register, proceeding with available modules");
|
|
501
|
-
cleanup();
|
|
502
|
-
resolve();
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
poll();
|
|
506
|
-
});
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
const moduleVersions = new Map<string, VersionInfo>();
|
|
510
|
-
for (const [moduleId, result] of loadResultsMap.entries()) {
|
|
511
|
-
if (result.versionInfoFromFile) {
|
|
512
|
-
moduleVersions.set(moduleId, result.versionInfoFromFile);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
517
|
-
const modulesToProcess: [string, any][] = Object.entries(window.VcShellDynamicModules || {});
|
|
518
|
-
|
|
519
|
-
logger.debug(
|
|
520
|
-
`Found ${modulesToProcess.length} modules to process:`,
|
|
521
|
-
modulesToProcess.map(([name]) => name),
|
|
522
|
-
);
|
|
523
|
-
|
|
524
|
-
for (const [moduleName, moduleObject] of modulesToProcess) {
|
|
525
|
-
if (loadedModules.has(moduleName)) {
|
|
526
|
-
logger.debug(`Skipping already loaded module: ${moduleName}`);
|
|
527
|
-
continue;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
logger.debug(`Processing module: ${moduleName}`);
|
|
531
|
-
|
|
532
|
-
// Try to find the corresponding load result by matching module names
|
|
533
|
-
const loadResult =
|
|
534
|
-
loadResultsMap.get(moduleName) ||
|
|
535
|
-
Array.from(loadResultsMap.entries()).find(
|
|
536
|
-
([moduleId]) => moduleId.includes(moduleName) || moduleName.includes(moduleId),
|
|
537
|
-
)?.[1];
|
|
538
|
-
|
|
539
|
-
const versionFromFile =
|
|
540
|
-
moduleVersions.get(moduleName) ||
|
|
541
|
-
Array.from(moduleVersions.entries()).find(
|
|
542
|
-
([moduleId]) => moduleId.includes(moduleName) || moduleName.includes(moduleId),
|
|
543
|
-
)?.[1];
|
|
544
|
-
|
|
545
|
-
const mainModule = getModuleInstall(moduleObject);
|
|
546
|
-
|
|
547
|
-
logger.debug(`Module ${moduleName} exports:`, Object.keys(moduleObject));
|
|
548
|
-
logger.debug(`Module ${moduleName} has install function:`, !!mainModule);
|
|
549
|
-
|
|
550
|
-
if (mainModule) {
|
|
551
|
-
const moduleVersionInfo = (mainModule as ModuleWithNamedExport).version || versionFromFile;
|
|
552
|
-
|
|
553
|
-
try {
|
|
554
|
-
if (!finalConfig.skipVersionCheck) {
|
|
555
|
-
logger.debug(
|
|
556
|
-
`Checking compatibility for ${moduleName} (version: ${moduleVersionInfo?.version || "N/A"})`,
|
|
557
|
-
);
|
|
558
|
-
checkVersionCompatibility(
|
|
559
|
-
moduleName,
|
|
560
|
-
moduleVersionInfo,
|
|
561
|
-
finalConfig.frameworkVersion || "0.0.0",
|
|
562
|
-
loadedModulesWithVersions,
|
|
563
|
-
);
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
logger.debug(`Installing module: ${moduleName}`, {
|
|
567
|
-
hasLoadResult: !!loadResult,
|
|
568
|
-
versionFromFile: versionFromFile?.version,
|
|
569
|
-
moduleVersion: moduleVersionInfo?.version,
|
|
570
|
-
});
|
|
571
|
-
|
|
572
|
-
// Install the module plugin
|
|
573
|
-
app.use(mainModule.install, { router });
|
|
574
|
-
|
|
575
|
-
// Track loaded module
|
|
576
|
-
loadedModules.add(moduleName);
|
|
577
|
-
if (moduleVersionInfo?.version) {
|
|
578
|
-
loadedModulesWithVersions.set(moduleName, moduleVersionInfo.version);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
logger.info(
|
|
582
|
-
`Module ${moduleName} installed successfully (version: ${
|
|
583
|
-
moduleVersionInfo?.version || "no version info"
|
|
584
|
-
})`,
|
|
585
|
-
);
|
|
586
|
-
} catch (e) {
|
|
587
|
-
if (e instanceof VersionCompatibilityError) {
|
|
588
|
-
logger.error(`Compatibility error in module ${e.moduleId}:`, e.details);
|
|
589
|
-
} else {
|
|
590
|
-
logger.error(`Failed to install module ${moduleName}:`, e);
|
|
591
|
-
notification.error(`Failed to install module ${moduleName}`);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
} else {
|
|
595
|
-
logger.error(`Module ${moduleName} does not have an 'install' function`);
|
|
596
|
-
notification.error(
|
|
597
|
-
`Module ${moduleName} is not a valid module because it does not have an 'install' function.`,
|
|
598
|
-
);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
logger.debug("Final loadedModules set:", Array.from(loadedModules));
|
|
603
|
-
}
|
|
604
|
-
} catch (error) {
|
|
605
|
-
logger.error("Failed to load modules:", error);
|
|
606
|
-
loadFailed = true;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
app.config.globalProperties.$dynamicModules = {
|
|
610
|
-
...(app.config.globalProperties.$dynamicModules || {}),
|
|
611
|
-
...window.VcShellDynamicModules,
|
|
612
|
-
};
|
|
613
|
-
app.provide(DynamicModulesKey, app.config.globalProperties.$dynamicModules);
|
|
614
|
-
performance.mark("vc:modules-done");
|
|
615
|
-
|
|
616
|
-
// Signal completion to the component tree
|
|
617
|
-
modulesReady.value = true;
|
|
618
|
-
if (loadFailed) {
|
|
619
|
-
modulesLoadError.value = true;
|
|
620
|
-
} else {
|
|
621
|
-
// Re-resolve the current route now that module routes/blades are registered
|
|
622
|
-
router.replace(router.currentRoute.value.fullPath);
|
|
623
|
-
}
|
|
624
|
-
performance.mark("vc:modules-installed");
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
return {
|
|
628
|
-
load,
|
|
629
|
-
getLoadedModulesWithVersions: () => new Map(loadedModulesWithVersions),
|
|
630
|
-
};
|
|
631
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { usePermissions } from "@core/composables/usePermissions";
|
|
2
|
-
import { App } from "vue";
|
|
3
|
-
|
|
4
|
-
export const permissions = {
|
|
5
|
-
install(app: App) {
|
|
6
|
-
const { hasAccess } = usePermissions();
|
|
7
|
-
app.config.globalProperties.$hasAccess = hasAccess;
|
|
8
|
-
app.provide("$hasAccess", hasAccess);
|
|
9
|
-
},
|
|
10
|
-
};
|