@vc-shell/framework 1.2.4-beta.8 → 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/0d67e9e056b4c500.woff +0 -0
- package/dist/assets/131b34336aedaf47.woff +0 -0
- package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
- package/dist/assets/2010ada3e82156ed.woff +0 -0
- package/dist/assets/3fc09a6113184f16.woff +0 -0
- package/dist/assets/477e1881a0394cc5.woff +0 -0
- package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
- package/dist/assets/c5195215cb712e9c.woff2 +0 -0
- package/dist/assets/c97328b91ac5cc66.woff +0 -0
- package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
- package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
- package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
- package/dist/core/composables/useApiClient/index.d.ts +4 -3
- package/dist/core/composables/useApiClient/index.d.ts.map +1 -1
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts +2 -1
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts.map +1 -1
- package/dist/core/composables/useAppBarWidget/index.d.ts +2 -1
- package/dist/core/composables/useAppBarWidget/index.d.ts.map +1 -1
- package/dist/core/composables/useAppInsights/index.d.ts +4 -2
- package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
- package/dist/core/composables/useAssets/index.d.ts +4 -2
- package/dist/core/composables/useAssets/index.d.ts.map +1 -1
- package/dist/core/composables/useAsync/index.d.ts +4 -2
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useBeforeUnload/index.d.ts +4 -3
- package/dist/core/composables/useBeforeUnload/index.d.ts.map +1 -1
- package/dist/core/composables/useBlade/index.d.ts +23 -18
- package/dist/core/composables/useBlade/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts +6 -3
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
- package/dist/core/composables/useBreadcrumbs/index.d.ts +4 -2
- package/dist/core/composables/useBreadcrumbs/index.d.ts.map +1 -1
- package/dist/core/composables/useConnectionStatus/index.d.ts +4 -2
- package/dist/core/composables/useConnectionStatus/index.d.ts.map +1 -1
- package/dist/core/composables/useDashboard/index.d.ts +2 -1
- package/dist/core/composables/useDashboard/index.d.ts.map +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts +4 -2
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useErrorHandler/index.d.ts +4 -3
- package/dist/core/composables/useErrorHandler/index.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/index.d.ts +4 -3
- package/dist/core/composables/useFunctions/index.d.ts.map +1 -1
- package/dist/core/composables/useGlobalSearch/index.d.ts +2 -1
- package/dist/core/composables/useGlobalSearch/index.d.ts.map +1 -1
- package/dist/core/composables/useKeyboardNavigation/index.d.ts +9 -9
- package/dist/core/composables/useKeyboardNavigation/index.d.ts.map +1 -1
- package/dist/core/composables/useLanguages/index.d.ts +4 -2
- package/dist/core/composables/useLanguages/index.d.ts.map +1 -1
- package/dist/core/composables/useLoading/index.d.ts +2 -1
- package/dist/core/composables/useLoading/index.d.ts.map +1 -1
- package/dist/core/composables/useMenuService/index.d.ts +1 -0
- package/dist/core/composables/useMenuService/index.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts +4 -3
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/usePermissions/index.d.ts +4 -3
- package/dist/core/composables/usePermissions/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts +4 -2
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useSettingsMenu/index.d.ts +2 -1
- package/dist/core/composables/useSettingsMenu/index.d.ts.map +1 -1
- package/dist/core/composables/useSidebarState/index.d.ts +5 -3
- package/dist/core/composables/useSidebarState/index.d.ts.map +1 -1
- package/dist/core/composables/useTheme/index.d.ts +4 -2
- package/dist/core/composables/useTheme/index.d.ts.map +1 -1
- package/dist/core/composables/useToolbar/index.d.ts +10 -9
- package/dist/core/composables/useToolbar/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +4 -2
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts +4 -2
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/composables/useWebVitals/index.d.ts +1 -0
- package/dist/core/composables/useWebVitals/index.d.ts.map +1 -1
- package/dist/core/composables/useWidgets/index.d.ts +2 -1
- package/dist/core/composables/useWidgets/index.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts +1 -0
- package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/constants.d.ts +16 -0
- package/dist/core/plugins/ai-agent/constants.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts +2 -0
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/types.d.ts +19 -0
- package/dist/core/plugins/ai-agent/types.d.ts.map +1 -1
- package/dist/core/plugins/extension-points/defineExtensionPoint.d.ts +26 -4
- package/dist/core/plugins/extension-points/defineExtensionPoint.d.ts.map +1 -1
- package/dist/core/plugins/extension-points/index.d.ts +14 -0
- package/dist/core/plugins/extension-points/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +2 -6
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/loader-mf.d.ts +17 -0
- package/dist/core/plugins/modularity/loader-mf.d.ts.map +1 -0
- package/dist/framework.css +9 -0
- package/dist/framework.js +25999 -24595
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +39 -2
- package/dist/injection-keys.d.ts.map +1 -1
- package/dist/locales/de.json +5 -1
- package/dist/locales/en.json +5 -1
- package/dist/shared/components/app-switcher/index.d.ts +3 -1
- package/dist/shared/components/app-switcher/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts +2 -0
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts +3 -1
- package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/plugin-v2.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +1 -0
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/utils/navigateToMainRoute.d.ts +9 -0
- package/dist/shared/components/blade-navigation/utils/navigateToMainRoute.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts +4 -1
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.d.ts.map +1 -1
- package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +3 -3
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/composables/useExternalWidgets.d.ts +3 -2
- package/dist/shared/composables/useExternalWidgets.d.ts.map +1 -1
- package/dist/shared/composables/useMenuExpanded.d.ts +6 -4
- package/dist/shared/composables/useMenuExpanded.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/index.d.ts +11 -5
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/pages/ChangePasswordPage/plugin.d.ts +3 -1
- package/dist/shared/pages/ChangePasswordPage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts +3 -1
- package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/plugin.d.ts +3 -1
- package/dist/shared/pages/InvitePage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/plugin.d.ts +3 -1
- package/dist/shared/pages/LoginPage/plugin.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/plugin.d.ts +3 -1
- package/dist/shared/pages/ResetPasswordPage/plugin.d.ts.map +1 -1
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/test-helpers.d.ts +227 -0
- package/dist/test-helpers.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/types.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/types.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +2 -1
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/index.d.ts +5 -1
- package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +9 -9
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts +11 -17
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-dropdown/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +7 -10
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-field/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +8 -7
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +10 -60
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/constants.d.ts +3 -0
- package/dist/ui/components/molecules/vc-menu/constants.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/index.d.ts +9 -0
- package/dist/ui/components/molecules/vc-menu/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/types.d.ts +28 -0
- package/dist/ui/components/molecules/vc-menu/types.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts +32 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts +34 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts +19 -0
- package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-radio-button/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-radio-button/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +11 -10
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-group/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-radio-group/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts +10 -16
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/index.d.ts +1 -0
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +4 -5
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +3 -2
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +5 -1
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts +2 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellNavigation.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +2 -0
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts +2 -14
- package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts +4 -2
- package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts +276 -0
- package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts.map +1 -0
- package/dist/{vendor-dompurify-BGaRrCfO.js → vendor-dompurify-M2Bspgo5.js} +115 -115
- package/dist/{vendor-lodash-es-B5DE282z.js → vendor-lodash-es-BtnfG6xF.js} +15 -12
- package/dist/{vendor-lucide-vue-next-DadL7o0S.js → vendor-lucide-vue-next-CPgeDcFj.js} +16164 -12841
- package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +22 -0
- package/dist/vendor-module-federation-error-codes-DdVwX11j.js +55 -0
- package/dist/vendor-module-federation-runtime-CVH_lWgu.js +91 -0
- package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +2202 -0
- package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +18 -0
- package/dist/vendor-module-federation-sdk-DM4AJRa7.js +683 -0
- package/dist/{vendor-vue-i18n-D0F0w-9Q.js → vendor-vue-i18n-BguHiJqH.js} +7 -4
- package/dist/vendor-vue-router-R3V0tq8_.js +6 -0
- package/dist/{vendor-vueuse-components-jqShV_Fz.js → vendor-vueuse-components-Be490f6P.js} +30 -30
- package/dist/{vendor-vueuse-core-D-DKRsy5.js → vendor-vueuse-core-BW8bO6-j.js} +17 -14
- package/dist/{vendor-vueuse-shared-Ch7WD-uK.js → vendor-vueuse-shared-bmkWEEYZ.js} +14 -14
- package/package.json +28 -19
- package/tailwind.config.ts +1 -0
- package/core/README.md +0 -365
- package/core/api/platform.ts +0 -9883
- package/core/composables/index.ts +0 -29
- package/core/composables/useApiClient/index.ts +0 -22
- package/core/composables/useAppBarMobileButtons/index.ts +0 -33
- package/core/composables/useAppBarWidget/index.test.ts +0 -86
- package/core/composables/useAppBarWidget/index.ts +0 -31
- package/core/composables/useAppInsights/index.ts +0 -56
- package/core/composables/useAssets/index.ts +0 -144
- package/core/composables/useAsync/index.test.ts +0 -137
- package/core/composables/useAsync/index.ts +0 -89
- package/core/composables/useBeforeUnload/index.ts +0 -25
- package/core/composables/useBlade/index.ts +0 -149
- package/core/composables/useBladeRegistry/index.test.ts +0 -192
- package/core/composables/useBladeRegistry/index.ts +0 -231
- package/core/composables/useBreadcrumbs/index.test.ts +0 -139
- package/core/composables/useBreadcrumbs/index.ts +0 -66
- package/core/composables/useConnectionStatus/index.ts +0 -48
- package/core/composables/useDashboard/index.test.ts +0 -86
- package/core/composables/useDashboard/index.ts +0 -51
- package/core/composables/useDynamicProperties/index.ts +0 -573
- package/core/composables/useErrorHandler/index.ts +0 -75
- package/core/composables/useFunctions/debounce.ts +0 -15
- package/core/composables/useFunctions/delay.ts +0 -3
- package/core/composables/useFunctions/index.ts +0 -20
- package/core/composables/useFunctions/once.ts +0 -11
- package/core/composables/useFunctions/sleep.ts +0 -3
- package/core/composables/useFunctions/throttle.ts +0 -13
- package/core/composables/useGlobalSearch/index.ts +0 -36
- package/core/composables/useGlobalSearch/useGlobalSearch.md +0 -263
- package/core/composables/useKeyboardNavigation/index.ts +0 -246
- package/core/composables/useLanguages/index.ts +0 -48
- package/core/composables/useLoading/index.ts +0 -9
- package/core/composables/useMenuService/index.test.ts +0 -86
- package/core/composables/useMenuService/index.ts +0 -43
- package/core/composables/useNotifications/index.ts +0 -200
- package/core/composables/usePermissions/index.ts +0 -30
- package/core/composables/useSettings/index.ts +0 -64
- package/core/composables/useSettingsMenu/index.test.ts +0 -86
- package/core/composables/useSettingsMenu/index.ts +0 -31
- package/core/composables/useSidebarState/index.ts +0 -90
- package/core/composables/useTheme/index.ts +0 -115
- package/core/composables/useToolbar/index.ts +0 -117
- package/core/composables/useUser/index.ts +0 -406
- package/core/composables/useUser/useUser.test.ts +0 -155
- package/core/composables/useUserManagement/index.ts +0 -45
- package/core/composables/useWebVitals/index.ts +0 -40
- package/core/composables/useWidgets/index.test.ts +0 -86
- package/core/composables/useWidgets/index.ts +0 -39
- package/core/constants/defaults.ts +0 -76
- package/core/constants/index.ts +0 -5
- package/core/constants/locale.ts +0 -78
- package/core/constants/ui.ts +0 -68
- package/core/directives/autofocus/index.ts +0 -9
- package/core/directives/index.ts +0 -2
- package/core/directives/loading/index.ts +0 -42
- package/core/directives/loading/styles.css +0 -71
- package/core/interceptors/index.ts +0 -142
- package/core/plugins/ai-agent/README.md +0 -336
- package/core/plugins/ai-agent/components/VcAiAgentPanel.vue +0 -125
- package/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue +0 -102
- package/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue +0 -107
- package/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue +0 -72
- package/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue +0 -136
- package/core/plugins/ai-agent/components/index.ts +0 -1
- package/core/plugins/ai-agent/composables/index.ts +0 -4
- package/core/plugins/ai-agent/composables/useAiAgent.ts +0 -231
- package/core/plugins/ai-agent/composables/useAiAgentContext.ts +0 -285
- package/core/plugins/ai-agent/constants.ts +0 -89
- package/core/plugins/ai-agent/index.ts +0 -91
- package/core/plugins/ai-agent/services/ai-agent-service.ts +0 -592
- package/core/plugins/ai-agent/types.ts +0 -303
- package/core/plugins/extension-points/ExtensionPoint.vue +0 -95
- package/core/plugins/extension-points/defineExtensionPoint.ts +0 -29
- package/core/plugins/extension-points/index.ts +0 -11
- package/core/plugins/extension-points/store.ts +0 -54
- package/core/plugins/extension-points/types.ts +0 -28
- package/core/plugins/extension-points/useExtensionPoint.ts +0 -42
- package/core/plugins/global-error-handler/index.ts +0 -81
- package/core/plugins/i18n/index.ts +0 -11
- package/core/plugins/index.ts +0 -6
- package/core/plugins/modularity/README.md +0 -482
- package/core/plugins/modularity/index.ts +0 -208
- package/core/plugins/modularity/loader.ts +0 -631
- package/core/plugins/permissions/index.ts +0 -10
- package/core/plugins/signalR/index.ts +0 -126
- package/core/plugins/validation/index.ts +0 -1
- package/core/plugins/validation/rules.ts +0 -145
- package/core/services/_internal/createBladeScopedRegistry.test.ts +0 -130
- package/core/services/_internal/createBladeScopedRegistry.ts +0 -127
- package/core/services/_internal/createPreregistrationBus.test.ts +0 -227
- package/core/services/_internal/createPreregistrationBus.ts +0 -106
- package/core/services/_internal/createSimpleMapRegistry.test.ts +0 -82
- package/core/services/_internal/createSimpleMapRegistry.ts +0 -41
- package/core/services/_internal/index.ts +0 -3
- package/core/services/app-bar-menu-service.ts +0 -71
- package/core/services/app-bar-mobile-buttons-service.ts +0 -62
- package/core/services/app-bar-settings-service.test.ts +0 -153
- package/core/services/dashboard-service.ts +0 -110
- package/core/services/global-search-service/global-search-service.md +0 -28
- package/core/services/global-search-service/index.ts +0 -36
- package/core/services/index.ts +0 -11
- package/core/services/language-dashboard-service.test.ts +0 -183
- package/core/services/language-service.ts +0 -98
- package/core/services/menu-service.test.ts +0 -311
- package/core/services/menu-service.ts +0 -259
- package/core/services/settings-menu-service.ts +0 -61
- package/core/services/toolbar-service.ts +0 -111
- package/core/services/toolbar-widget-service.test.ts +0 -207
- package/core/services/widget-service.test.ts +0 -133
- package/core/services/widget-service.ts +0 -262
- package/core/types/index.ts +0 -312
- package/core/types/services.ts +0 -194
- package/core/utilities/camelToSnake.ts +0 -7
- package/core/utilities/camelize.ts +0 -5
- package/core/utilities/date/convertMomentFormat.test.ts +0 -60
- package/core/utilities/date/convertMomentFormat.ts +0 -30
- package/core/utilities/date/formatDate.test.ts +0 -60
- package/core/utilities/date/formatDate.ts +0 -31
- package/core/utilities/date/index.ts +0 -3
- package/core/utilities/date/resolveLocale.test.ts +0 -44
- package/core/utilities/date/resolveLocale.ts +0 -41
- package/core/utilities/error.ts +0 -89
- package/core/utilities/errorTypes.ts +0 -126
- package/core/utilities/generateId.ts +0 -3
- package/core/utilities/index.ts +0 -11
- package/core/utilities/kebabToCamel.ts +0 -7
- package/core/utilities/logger.ts +0 -120
- package/core/utilities/pendingErrorNotifications.ts +0 -64
- package/dist/core/composables/useAppBarWidget/index.test.d.ts +0 -2
- package/dist/core/composables/useAppBarWidget/index.test.d.ts.map +0 -1
- package/dist/core/composables/useAsync/index.test.d.ts +0 -2
- package/dist/core/composables/useAsync/index.test.d.ts.map +0 -1
- package/dist/core/composables/useBladeRegistry/index.test.d.ts +0 -2
- package/dist/core/composables/useBladeRegistry/index.test.d.ts.map +0 -1
- package/dist/core/composables/useBreadcrumbs/index.test.d.ts +0 -2
- package/dist/core/composables/useBreadcrumbs/index.test.d.ts.map +0 -1
- package/dist/core/composables/useDashboard/index.test.d.ts +0 -2
- package/dist/core/composables/useDashboard/index.test.d.ts.map +0 -1
- package/dist/core/composables/useMenuService/index.test.d.ts +0 -2
- package/dist/core/composables/useMenuService/index.test.d.ts.map +0 -1
- package/dist/core/composables/useSettingsMenu/index.test.d.ts +0 -2
- package/dist/core/composables/useSettingsMenu/index.test.d.ts.map +0 -1
- package/dist/core/composables/useUser/useUser.test.d.ts +0 -2
- package/dist/core/composables/useUser/useUser.test.d.ts.map +0 -1
- package/dist/core/composables/useWidgets/index.test.d.ts +0 -2
- package/dist/core/composables/useWidgets/index.test.d.ts.map +0 -1
- package/dist/core/plugins/modularity/loader.d.ts +0 -19
- package/dist/core/plugins/modularity/loader.d.ts.map +0 -1
- package/dist/core/services/_internal/createBladeScopedRegistry.test.d.ts +0 -2
- package/dist/core/services/_internal/createBladeScopedRegistry.test.d.ts.map +0 -1
- package/dist/core/services/_internal/createPreregistrationBus.test.d.ts +0 -2
- package/dist/core/services/_internal/createPreregistrationBus.test.d.ts.map +0 -1
- package/dist/core/services/_internal/createSimpleMapRegistry.test.d.ts +0 -2
- package/dist/core/services/_internal/createSimpleMapRegistry.test.d.ts.map +0 -1
- package/dist/core/services/app-bar-settings-service.test.d.ts +0 -2
- package/dist/core/services/app-bar-settings-service.test.d.ts.map +0 -1
- package/dist/core/services/language-dashboard-service.test.d.ts +0 -2
- package/dist/core/services/language-dashboard-service.test.d.ts.map +0 -1
- package/dist/core/services/menu-service.test.d.ts +0 -2
- package/dist/core/services/menu-service.test.d.ts.map +0 -1
- package/dist/core/services/toolbar-widget-service.test.d.ts +0 -2
- package/dist/core/services/toolbar-widget-service.test.d.ts.map +0 -1
- package/dist/core/services/widget-service.test.d.ts +0 -2
- package/dist/core/services/widget-service.test.d.ts.map +0 -1
- package/dist/core/utilities/date/convertMomentFormat.test.d.ts +0 -2
- package/dist/core/utilities/date/convertMomentFormat.test.d.ts.map +0 -1
- package/dist/core/utilities/date/formatDate.test.d.ts +0 -2
- package/dist/core/utilities/date/formatDate.test.d.ts.map +0 -1
- package/dist/core/utilities/date/resolveLocale.test.d.ts +0 -2
- package/dist/core/utilities/date/resolveLocale.test.d.ts.map +0 -1
- package/dist/index.css +0 -9
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/composables/useBladeMessaging.test.d.ts.map +0 -1
- package/dist/shared/components/blade-navigation/composables/useBladeStack.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/composables/useBladeStack.test.d.ts.map +0 -1
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/utils/restoreFromUrl.test.d.ts.map +0 -1
- package/dist/shared/components/blade-navigation/utils/urlSync.test.d.ts +0 -2
- package/dist/shared/components/blade-navigation/utils/urlSync.test.d.ts.map +0 -1
- package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.test.d.ts +0 -2
- package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.test.d.ts.map +0 -1
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.test.d.ts +0 -2
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.test.d.ts.map +0 -1
- package/dist/shared/utilities/formatBadgeCount.test.d.ts +0 -2
- package/dist/shared/utilities/formatBadgeCount.test.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-button/vc-button.a11y.test.d.ts +0 -2
- package/dist/ui/components/atoms/vc-button/vc-button.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-button/vc-button.test.d.ts +0 -2
- package/dist/ui/components/atoms/vc-button/vc-button.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown-item.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown-item.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input/vc-input.a11y.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-input/vc-input.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input/vc-input.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-input/vc-input.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input-group/vc-input-group.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-input-group/vc-input-group.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-select/vc-select.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-select/vc-select.test.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.d.ts +0 -2
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue.d.ts +0 -21
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue.d.ts +0 -32
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/utils.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/utils.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.actions.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.actions.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataTableState.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-table/composables/useDataTableState.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.test.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.test.d.ts +0 -2
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.test.d.ts.map +0 -1
- package/shared/components/app-switcher/components/index.ts +0 -1
- package/shared/components/app-switcher/components/vc-app-switcher/index.ts +0 -1
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +0 -89
- package/shared/components/app-switcher/composables/index.ts +0 -1
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +0 -53
- package/shared/components/app-switcher/index.ts +0 -14
- package/shared/components/blade-navigation/ARCHITECTURE.md +0 -420
- package/shared/components/blade-navigation/MIGRATION.md +0 -224
- package/shared/components/blade-navigation/components/index.ts +0 -2
- package/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue +0 -78
- package/shared/components/blade-navigation/components/vc-blade-navigation/index.ts +0 -2
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue +0 -160
- package/shared/components/blade-navigation/components/vc-blade-slot/index.ts +0 -1
- package/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue +0 -143
- package/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.ts +0 -188
- package/shared/components/blade-navigation/composables/index.ts +0 -5
- package/shared/components/blade-navigation/composables/useBladeMessaging.test.ts +0 -189
- package/shared/components/blade-navigation/composables/useBladeMessaging.ts +0 -81
- package/shared/components/blade-navigation/composables/useBladeNavigationAdapter.ts +0 -513
- package/shared/components/blade-navigation/composables/useBladeStack.test.ts +0 -420
- package/shared/components/blade-navigation/composables/useBladeStack.ts +0 -335
- package/shared/components/blade-navigation/index.ts +0 -4
- package/shared/components/blade-navigation/plugin-v2.ts +0 -144
- package/shared/components/blade-navigation/types/index.ts +0 -247
- package/shared/components/blade-navigation/utils/restoreFromUrl.test.ts +0 -247
- package/shared/components/blade-navigation/utils/restoreFromUrl.ts +0 -84
- package/shared/components/blade-navigation/utils/urlSync.test.ts +0 -181
- package/shared/components/blade-navigation/utils/urlSync.ts +0 -151
- package/shared/components/change-password/change-password.vue +0 -231
- package/shared/components/change-password/index.ts +0 -10
- package/shared/components/change-password-button/change-password-button.stories.ts +0 -63
- package/shared/components/change-password-button/change-password-button.vue +0 -23
- package/shared/components/change-password-button/index.ts +0 -1
- package/shared/components/common/popup/vc-popup-base.vue +0 -133
- package/shared/components/common/popup/vc-popup-error.vue +0 -38
- package/shared/components/common/popup/vc-popup-info.vue +0 -38
- package/shared/components/common/popup/vc-popup-warning.vue +0 -42
- package/shared/components/dashboard-charts/ChartContainer.vue +0 -54
- package/shared/components/dashboard-charts/ChartLegend.vue +0 -40
- package/shared/components/dashboard-charts/ChartTooltip.vue +0 -43
- package/shared/components/dashboard-charts/DashboardBarChart.vue +0 -165
- package/shared/components/dashboard-charts/DashboardDonutChart.vue +0 -137
- package/shared/components/dashboard-charts/DashboardLineChart.vue +0 -170
- package/shared/components/dashboard-charts/chart-theme.scss +0 -19
- package/shared/components/dashboard-charts/chart-tooltip.scss +0 -48
- package/shared/components/dashboard-charts/chart-utils.ts +0 -189
- package/shared/components/dashboard-charts/dashboard-charts.stories.ts +0 -393
- package/shared/components/dashboard-charts/index.ts +0 -7
- package/shared/components/dashboard-charts/types.ts +0 -7
- package/shared/components/dashboard-widget-card/dashboard-feed-list.vue +0 -12
- package/shared/components/dashboard-widget-card/dashboard-feed-row.vue +0 -28
- package/shared/components/dashboard-widget-card/dashboard-stat-item.test.ts +0 -38
- package/shared/components/dashboard-widget-card/dashboard-stat-item.vue +0 -55
- package/shared/components/dashboard-widget-card/dashboard-widget-card.stories.ts +0 -202
- package/shared/components/dashboard-widget-card/dashboard-widget-card.test.ts +0 -72
- package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +0 -163
- package/shared/components/dashboard-widget-card/index.ts +0 -4
- package/shared/components/draggable-dashboard/DraggableDashboard.vue +0 -70
- package/shared/components/draggable-dashboard/GridstackDashboard.vue +0 -315
- package/shared/components/draggable-dashboard/composables/useGridstack.ts +0 -380
- package/shared/components/draggable-dashboard/composables/useGridstackAdapter.ts +0 -245
- package/shared/components/draggable-dashboard/draggable-dashboard.stories.ts +0 -175
- package/shared/components/draggable-dashboard/index.ts +0 -34
- package/shared/components/draggable-dashboard/types.ts +0 -96
- package/shared/components/error-interceptor/index.ts +0 -18
- package/shared/components/error-interceptor/interceptor.ts +0 -66
- package/shared/components/generic-dropdown/generic-dropdown.vue +0 -122
- package/shared/components/generic-dropdown/index.ts +0 -7
- package/shared/components/index.ts +0 -27
- package/shared/components/language-selector/index.ts +0 -10
- package/shared/components/language-selector/language-selector.stories.ts +0 -44
- package/shared/components/language-selector/language-selector.vue +0 -72
- package/shared/components/logout-button/index.ts +0 -1
- package/shared/components/logout-button/logout-button.stories.ts +0 -61
- package/shared/components/logout-button/logout-button.vue +0 -30
- package/shared/components/multilanguage-selector/index.ts +0 -1
- package/shared/components/multilanguage-selector/multilanguage-selector.stories.ts +0 -90
- package/shared/components/multilanguage-selector/multilanguage-selector.vue +0 -191
- package/shared/components/notification-dropdown/_internal/notification/index.ts +0 -1
- package/shared/components/notification-dropdown/_internal/notification/notification.vue +0 -78
- package/shared/components/notification-dropdown/index.ts +0 -10
- package/shared/components/notification-dropdown/notification-dropdown.stories.ts +0 -99
- package/shared/components/notification-dropdown/notification-dropdown.vue +0 -40
- package/shared/components/notification-template/index.ts +0 -10
- package/shared/components/notification-template/notification-template.stories.ts +0 -95
- package/shared/components/notification-template/notification-template.vue +0 -131
- package/shared/components/notifications/components/index.ts +0 -1
- package/shared/components/notifications/components/notification-container/index.ts +0 -153
- package/shared/components/notifications/composables/index.ts +0 -2
- package/shared/components/notifications/composables/useContainer/index.ts +0 -292
- package/shared/components/notifications/composables/useInstance/index.ts +0 -79
- package/shared/components/notifications/core/index.ts +0 -1
- package/shared/components/notifications/core/notification.ts +0 -202
- package/shared/components/notifications/index.ts +0 -6
- package/shared/components/notifications/styles/index.scss +0 -133
- package/shared/components/notifications/types/index.ts +0 -33
- package/shared/components/popup-handler/components/index.ts +0 -1
- package/shared/components/popup-handler/components/vc-popup-container/index.ts +0 -3
- package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +0 -49
- package/shared/components/popup-handler/composables/index.ts +0 -1
- package/shared/components/popup-handler/composables/usePopup/index.ts +0 -209
- package/shared/components/popup-handler/index.ts +0 -19
- package/shared/components/popup-handler/keys.ts +0 -4
- package/shared/components/popup-handler/plugin.ts +0 -25
- package/shared/components/popup-handler/types/index.ts +0 -25
- package/shared/components/popup-handler/utils/index.ts +0 -9
- package/shared/components/settings-menu/index.ts +0 -1
- package/shared/components/settings-menu/settings-menu.stories.ts +0 -104
- package/shared/components/settings-menu/settings-menu.vue +0 -59
- package/shared/components/settings-menu-item/index.ts +0 -1
- package/shared/components/settings-menu-item/settings-menu-item.stories.ts +0 -194
- package/shared/components/settings-menu-item/settings-menu-item.vue +0 -168
- package/shared/components/sidebar/index.ts +0 -7
- package/shared/components/sidebar/sidebar.vue +0 -80
- package/shared/components/sign-in/external-provider.vue +0 -49
- package/shared/components/sign-in/external-providers.vue +0 -26
- package/shared/components/sign-in/index.ts +0 -1
- package/shared/components/sign-in/useExternalProvider.ts +0 -103
- package/shared/components/theme-selector/index.ts +0 -1
- package/shared/components/theme-selector/theme-selector.stories.ts +0 -56
- package/shared/components/theme-selector/theme-selector.vue +0 -51
- package/shared/components/user-dropdown-button/_internal/user-info.vue +0 -114
- package/shared/components/user-dropdown-button/_internal/user-sidebar.vue +0 -50
- package/shared/components/user-dropdown-button/index.ts +0 -10
- package/shared/components/user-dropdown-button/user-dropdown-button.stories.ts +0 -153
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +0 -142
- package/shared/composables/index.ts +0 -5
- package/shared/composables/useExternalWidgets.ts +0 -107
- package/shared/composables/useMenuExpanded.ts +0 -64
- package/shared/composables/useModificationTracker/index.ts +0 -116
- package/shared/composables/useTableSelection.ts +0 -151
- package/shared/composables/useTableSort.ts +0 -107
- package/shared/index.ts +0 -24
- package/shared/modules/assets/components/assets-details/assets-details.vue +0 -238
- package/shared/modules/assets/components/assets-details/index.ts +0 -3
- package/shared/modules/assets/components/index.ts +0 -1
- package/shared/modules/assets/index.ts +0 -12
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +0 -442
- package/shared/modules/assets-manager/components/assets-manager/index.ts +0 -3
- package/shared/modules/assets-manager/components/index.ts +0 -1
- package/shared/modules/assets-manager/index.ts +0 -13
- package/shared/modules/dynamic/components/FIELD_MAP.ts +0 -53
- package/shared/modules/dynamic/components/SchemaRender.ts +0 -102
- package/shared/modules/dynamic/components/factories.ts +0 -242
- package/shared/modules/dynamic/components/fields/Button.ts +0 -44
- package/shared/modules/dynamic/components/fields/Card.ts +0 -119
- package/shared/modules/dynamic/components/fields/Checkbox.ts +0 -53
- package/shared/modules/dynamic/components/fields/ContentField.ts +0 -33
- package/shared/modules/dynamic/components/fields/CustomComponent.ts +0 -29
- package/shared/modules/dynamic/components/fields/DynamicProperty.ts +0 -154
- package/shared/modules/dynamic/components/fields/EditorField.ts +0 -46
- package/shared/modules/dynamic/components/fields/Fieldset.ts +0 -66
- package/shared/modules/dynamic/components/fields/GalleryField.ts +0 -162
- package/shared/modules/dynamic/components/fields/ImageField.ts +0 -35
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +0 -79
- package/shared/modules/dynamic/components/fields/InputField.ts +0 -81
- package/shared/modules/dynamic/components/fields/MultivalueField.ts +0 -68
- package/shared/modules/dynamic/components/fields/RadioButtonGroup.ts +0 -83
- package/shared/modules/dynamic/components/fields/RatingField.ts +0 -28
- package/shared/modules/dynamic/components/fields/SelectField.ts +0 -72
- package/shared/modules/dynamic/components/fields/StatusField.ts +0 -110
- package/shared/modules/dynamic/components/fields/SwitchField.ts +0 -29
- package/shared/modules/dynamic/components/fields/Table.ts +0 -194
- package/shared/modules/dynamic/components/fields/TextareaField.ts +0 -46
- package/shared/modules/dynamic/components/fields/ValidationField.ts +0 -54
- package/shared/modules/dynamic/components/fields/VideoField.ts +0 -30
- package/shared/modules/dynamic/components/fields/props.ts +0 -39
- package/shared/modules/dynamic/components/index.ts +0 -4
- package/shared/modules/dynamic/composables/index.ts +0 -4
- package/shared/modules/dynamic/composables/useDynamicViewsUtils/index.ts +0 -46
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +0 -441
- package/shared/modules/dynamic/composables/useTableTemplates/index.ts +0 -67
- package/shared/modules/dynamic/composables/useToolbarReducer/index.ts +0 -70
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +0 -145
- package/shared/modules/dynamic/factories/base/useListFactory.ts +0 -69
- package/shared/modules/dynamic/factories/index.ts +0 -4
- package/shared/modules/dynamic/factories/types/index.ts +0 -220
- package/shared/modules/dynamic/helpers/getters.ts +0 -12
- package/shared/modules/dynamic/helpers/methodHandler.ts +0 -22
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +0 -242
- package/shared/modules/dynamic/helpers/override.ts +0 -153
- package/shared/modules/dynamic/helpers/safeIn.ts +0 -6
- package/shared/modules/dynamic/helpers/setters.ts +0 -24
- package/shared/modules/dynamic/helpers/unrefNested.ts +0 -14
- package/shared/modules/dynamic/helpers/unwrapInterpolation.ts +0 -16
- package/shared/modules/dynamic/index.ts +0 -314
- package/shared/modules/dynamic/keys.ts +0 -3
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +0 -575
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +0 -755
- package/shared/modules/dynamic/pages/index.ts +0 -4
- package/shared/modules/dynamic/types/index.ts +0 -1220
- package/shared/modules/dynamic/types/models.ts +0 -186
- package/shared/modules/index.ts +0 -3
- package/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue +0 -209
- package/shared/pages/ChangePasswordPage/components/change-password/change-password.stories.ts +0 -44
- package/shared/pages/ChangePasswordPage/components/change-password/index.ts +0 -3
- package/shared/pages/ChangePasswordPage/components/index.ts +0 -1
- package/shared/pages/ChangePasswordPage/index.ts +0 -1
- package/shared/pages/ChangePasswordPage/plugin.ts +0 -4
- package/shared/pages/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue +0 -155
- package/shared/pages/ForgotPasswordPage/components/forgot-password/forgot-password.stories.ts +0 -38
- package/shared/pages/ForgotPasswordPage/components/forgot-password/index.ts +0 -3
- package/shared/pages/ForgotPasswordPage/components/index.ts +0 -1
- package/shared/pages/ForgotPasswordPage/index.ts +0 -1
- package/shared/pages/ForgotPasswordPage/plugin.ts +0 -4
- package/shared/pages/InvitePage/components/index.ts +0 -1
- package/shared/pages/InvitePage/components/invite/Invite.vue +0 -182
- package/shared/pages/InvitePage/components/invite/index.ts +0 -3
- package/shared/pages/InvitePage/components/invite/invite.stories.ts +0 -64
- package/shared/pages/InvitePage/index.ts +0 -1
- package/shared/pages/InvitePage/plugin.ts +0 -4
- package/shared/pages/LoginPage/components/index.ts +0 -1
- package/shared/pages/LoginPage/components/login/Login.vue +0 -226
- package/shared/pages/LoginPage/components/login/README.md +0 -52
- package/shared/pages/LoginPage/components/login/index.ts +0 -3
- package/shared/pages/LoginPage/components/login/login.stories.ts +0 -52
- package/shared/pages/LoginPage/index.ts +0 -1
- package/shared/pages/LoginPage/plugin.ts +0 -4
- package/shared/pages/ResetPasswordPage/components/index.ts +0 -1
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +0 -176
- package/shared/pages/ResetPasswordPage/components/reset-password/index.ts +0 -3
- package/shared/pages/ResetPasswordPage/components/reset-password/reset-password.stories.ts +0 -64
- package/shared/pages/ResetPasswordPage/index.ts +0 -1
- package/shared/pages/ResetPasswordPage/plugin.ts +0 -4
- package/shared/pages/_storybook-helpers.ts +0 -71
- package/shared/pages/index.ts +0 -5
- package/shared/pages/plugin.ts +0 -5
- package/shared/utilities/assets.ts +0 -43
- package/shared/utilities/colorUtils.ts +0 -64
- package/shared/utilities/formatBadgeCount.test.ts +0 -25
- package/shared/utilities/formatBadgeCount.ts +0 -15
- package/shared/utilities/index.ts +0 -4
- package/shared/utilities/vueUtils.ts +0 -50
- package/ui/components/atoms/index.ts +0 -21
- package/ui/components/atoms/vc-badge/index.ts +0 -1
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +0 -522
- package/ui/components/atoms/vc-badge/vc-badge.vue +0 -353
- package/ui/components/atoms/vc-banner/index.ts +0 -1
- package/ui/components/atoms/vc-banner/vc-banner.stories.ts +0 -259
- package/ui/components/atoms/vc-banner/vc-banner.vue +0 -225
- package/ui/components/atoms/vc-button/index.ts +0 -3
- package/ui/components/atoms/vc-button/types.ts +0 -28
- package/ui/components/atoms/vc-button/vc-button-group.stories.ts +0 -172
- package/ui/components/atoms/vc-button/vc-button-group.vue +0 -101
- package/ui/components/atoms/vc-button/vc-button.a11y.test.ts +0 -46
- package/ui/components/atoms/vc-button/vc-button.stories.ts +0 -431
- package/ui/components/atoms/vc-button/vc-button.test.ts +0 -75
- package/ui/components/atoms/vc-button/vc-button.vue +0 -355
- package/ui/components/atoms/vc-card/index.ts +0 -3
- package/ui/components/atoms/vc-card/vc-card.stories.ts +0 -342
- package/ui/components/atoms/vc-card/vc-card.vue +0 -217
- package/ui/components/atoms/vc-col/index.ts +0 -1
- package/ui/components/atoms/vc-col/vc-col.stories.ts +0 -164
- package/ui/components/atoms/vc-col/vc-col.vue +0 -34
- package/ui/components/atoms/vc-container/index.ts +0 -10
- package/ui/components/atoms/vc-container/vc-container.stories.ts +0 -219
- package/ui/components/atoms/vc-container/vc-container.vue +0 -96
- package/ui/components/atoms/vc-hint/index.ts +0 -10
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +0 -144
- package/ui/components/atoms/vc-hint/vc-hint.vue +0 -42
- package/ui/components/atoms/vc-icon/README.md +0 -273
- package/ui/components/atoms/vc-icon/composables/index.ts +0 -2
- package/ui/components/atoms/vc-icon/composables/use-icon-type.ts +0 -83
- package/ui/components/atoms/vc-icon/composables/use-icon.ts +0 -129
- package/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue +0 -24
- package/ui/components/atoms/vc-icon/icons/index.ts +0 -1
- package/ui/components/atoms/vc-icon/index.ts +0 -3
- package/ui/components/atoms/vc-icon/types.ts +0 -36
- package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +0 -124
- package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +0 -143
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +0 -818
- package/ui/components/atoms/vc-icon/vc-icon.vue +0 -609
- package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +0 -199
- package/ui/components/atoms/vc-icon/vc-material-icon.vue +0 -128
- package/ui/components/atoms/vc-icon/vc-svg-icon.vue +0 -168
- package/ui/components/atoms/vc-image/index.ts +0 -1
- package/ui/components/atoms/vc-image/vc-image.stories.ts +0 -309
- package/ui/components/atoms/vc-image/vc-image.vue +0 -173
- package/ui/components/atoms/vc-label/index.ts +0 -1
- package/ui/components/atoms/vc-label/vc-label.stories.ts +0 -137
- package/ui/components/atoms/vc-label/vc-label.vue +0 -132
- package/ui/components/atoms/vc-link/index.ts +0 -10
- package/ui/components/atoms/vc-link/vc-link.stories.ts +0 -154
- package/ui/components/atoms/vc-link/vc-link.vue +0 -61
- package/ui/components/atoms/vc-loading/index.ts +0 -3
- package/ui/components/atoms/vc-loading/vc-loading.vue +0 -71
- package/ui/components/atoms/vc-progress/index.ts +0 -10
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +0 -182
- package/ui/components/atoms/vc-progress/vc-progress.vue +0 -74
- package/ui/components/atoms/vc-row/index.ts +0 -1
- package/ui/components/atoms/vc-row/vc-row.stories.ts +0 -143
- package/ui/components/atoms/vc-row/vc-row.vue +0 -27
- package/ui/components/atoms/vc-scrollable-container/index.ts +0 -1
- package/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue +0 -119
- package/ui/components/atoms/vc-skeleton/index.ts +0 -1
- package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +0 -246
- package/ui/components/atoms/vc-skeleton/vc-skeleton.vue +0 -115
- package/ui/components/atoms/vc-status/index.ts +0 -1
- package/ui/components/atoms/vc-status/vc-status.stories.ts +0 -235
- package/ui/components/atoms/vc-status/vc-status.vue +0 -131
- package/ui/components/atoms/vc-status-icon/index.ts +0 -1
- package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +0 -129
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +0 -48
- package/ui/components/atoms/vc-tooltip/index.ts +0 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +0 -409
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +0 -301
- package/ui/components/atoms/vc-video/index.ts +0 -1
- package/ui/components/atoms/vc-video/vc-video.stories.ts +0 -150
- package/ui/components/atoms/vc-video/vc-video.vue +0 -88
- package/ui/components/atoms/vc-widget/index.ts +0 -3
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +0 -285
- package/ui/components/atoms/vc-widget/vc-widget.vue +0 -174
- package/ui/components/index.ts +0 -8
- package/ui/components/molecules/index.ts +0 -26
- package/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue +0 -216
- package/ui/components/molecules/vc-accordion/index.ts +0 -11
- package/ui/components/molecules/vc-accordion/vc-accordion.stories.ts +0 -526
- package/ui/components/molecules/vc-accordion/vc-accordion.vue +0 -176
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +0 -98
- package/ui/components/molecules/vc-breadcrumbs/index.ts +0 -1
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +0 -509
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +0 -176
- package/ui/components/molecules/vc-checkbox/index.ts +0 -3
- package/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.ts +0 -39
- package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +0 -356
- package/ui/components/molecules/vc-checkbox/vc-checkbox.test.ts +0 -75
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +0 -355
- package/ui/components/molecules/vc-checkbox-group/index.ts +0 -2
- package/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.stories.ts +0 -258
- package/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.test.ts +0 -40
- package/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue +0 -103
- package/ui/components/molecules/vc-color-input/index.ts +0 -1
- package/ui/components/molecules/vc-color-input/vc-color-input.stories.ts +0 -152
- package/ui/components/molecules/vc-color-input/vc-color-input.vue +0 -398
- package/ui/components/molecules/vc-date-picker/index.ts +0 -1
- package/ui/components/molecules/vc-date-picker/vc-date-picker.stories.ts +0 -168
- package/ui/components/molecules/vc-date-picker/vc-date-picker.vue +0 -427
- package/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue +0 -78
- package/ui/components/molecules/vc-dropdown/index.ts +0 -2
- package/ui/components/molecules/vc-dropdown/vc-dropdown-item.test.ts +0 -59
- package/ui/components/molecules/vc-dropdown/vc-dropdown.stories.ts +0 -394
- package/ui/components/molecules/vc-dropdown/vc-dropdown.test.ts +0 -54
- package/ui/components/molecules/vc-dropdown/vc-dropdown.vue +0 -546
- package/ui/components/molecules/vc-dropdown-panel/index.ts +0 -1
- package/ui/components/molecules/vc-dropdown-panel/panel-anchor-registry.ts +0 -5
- package/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue +0 -326
- package/ui/components/molecules/vc-editor/_internal/extensions/font-size.ts +0 -59
- package/ui/components/molecules/vc-editor/_internal/toolbar-types.ts +0 -57
- package/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue +0 -103
- package/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue +0 -79
- package/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue +0 -215
- package/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue +0 -316
- package/ui/components/molecules/vc-editor/index.ts +0 -6
- package/ui/components/molecules/vc-editor/vc-editor.stories.ts +0 -417
- package/ui/components/molecules/vc-editor/vc-editor.vue +0 -833
- package/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue +0 -96
- package/ui/components/molecules/vc-field/index.ts +0 -1
- package/ui/components/molecules/vc-field/vc-field.stories.ts +0 -179
- package/ui/components/molecules/vc-field/vc-field.vue +0 -119
- package/ui/components/molecules/vc-file-upload/index.ts +0 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +0 -472
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +0 -271
- package/ui/components/molecules/vc-form/index.ts +0 -10
- package/ui/components/molecules/vc-form/vc-form.stories.ts +0 -168
- package/ui/components/molecules/vc-form/vc-form.vue +0 -38
- package/ui/components/molecules/vc-input/index.ts +0 -1
- package/ui/components/molecules/vc-input/vc-input.a11y.test.ts +0 -57
- package/ui/components/molecules/vc-input/vc-input.stories.ts +0 -1004
- package/ui/components/molecules/vc-input/vc-input.test.ts +0 -114
- package/ui/components/molecules/vc-input/vc-input.vue +0 -731
- package/ui/components/molecules/vc-input-currency/index.ts +0 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +0 -532
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +0 -199
- package/ui/components/molecules/vc-input-dropdown/index.ts +0 -3
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +0 -761
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +0 -305
- package/ui/components/molecules/vc-input-group/context.ts +0 -10
- package/ui/components/molecules/vc-input-group/index.ts +0 -2
- package/ui/components/molecules/vc-input-group/vc-input-group.stories.ts +0 -355
- package/ui/components/molecules/vc-input-group/vc-input-group.test.ts +0 -39
- package/ui/components/molecules/vc-input-group/vc-input-group.vue +0 -173
- package/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue +0 -216
- package/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue +0 -207
- package/ui/components/molecules/vc-multivalue/composables/index.ts +0 -6
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueColor.ts +0 -50
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueDropdown.ts +0 -126
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueInput.ts +0 -64
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueMode.ts +0 -32
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueOptions.ts +0 -27
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueValues.ts +0 -50
- package/ui/components/molecules/vc-multivalue/index.ts +0 -1
- package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +0 -561
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +0 -547
- package/ui/components/molecules/vc-pagination/index.ts +0 -3
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +0 -259
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +0 -244
- package/ui/components/molecules/vc-radio-button/index.ts +0 -1
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +0 -283
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +0 -195
- package/ui/components/molecules/vc-radio-group/index.ts +0 -2
- package/ui/components/molecules/vc-radio-group/vc-radio-group.stories.ts +0 -248
- package/ui/components/molecules/vc-radio-group/vc-radio-group.test.ts +0 -51
- package/ui/components/molecules/vc-radio-group/vc-radio-group.vue +0 -92
- package/ui/components/molecules/vc-rating/index.ts +0 -1
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +0 -363
- package/ui/components/molecules/vc-rating/vc-rating.vue +0 -128
- package/ui/components/molecules/vc-select/_internal/SelectDropdown.vue +0 -200
- package/ui/components/molecules/vc-select/_internal/SelectTrigger.vue +0 -301
- package/ui/components/molecules/vc-select/composables/index.ts +0 -7
- package/ui/components/molecules/vc-select/composables/useSelectDefaultValue.ts +0 -106
- package/ui/components/molecules/vc-select/composables/useSelectDropdown.ts +0 -88
- package/ui/components/molecules/vc-select/composables/useSelectOptions.ts +0 -125
- package/ui/components/molecules/vc-select/composables/useSelectSearch.ts +0 -83
- package/ui/components/molecules/vc-select/composables/useSelectSelection.ts +0 -170
- package/ui/components/molecules/vc-select/composables/useSelectValueMapping.ts +0 -57
- package/ui/components/molecules/vc-select/composables/useSelectVisibility.ts +0 -60
- package/ui/components/molecules/vc-select/index.ts +0 -2
- package/ui/components/molecules/vc-select/vc-select.stories.ts +0 -1730
- package/ui/components/molecules/vc-select/vc-select.test.ts +0 -89
- package/ui/components/molecules/vc-select/vc-select.vue +0 -862
- package/ui/components/molecules/vc-slider/index.ts +0 -13
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +0 -224
- package/ui/components/molecules/vc-slider/vc-slider.vue +0 -148
- package/ui/components/molecules/vc-switch/index.ts +0 -1
- package/ui/components/molecules/vc-switch/vc-switch.stories.ts +0 -324
- package/ui/components/molecules/vc-switch/vc-switch.vue +0 -237
- package/ui/components/molecules/vc-textarea/index.ts +0 -1
- package/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.ts +0 -44
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +0 -326
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +0 -229
- package/ui/components/molecules/vc-toast/index.ts +0 -1
- package/ui/components/molecules/vc-toast/vc-toast.stories.ts +0 -559
- package/ui/components/molecules/vc-toast/vc-toast.vue +0 -649
- package/ui/components/organisms/blade-navigation-v2.stories.ts +0 -611
- package/ui/components/organisms/index.ts +0 -9
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue +0 -128
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue +0 -91
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetContent.vue +0 -40
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue +0 -154
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetsMenu.vue +0 -110
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.test.ts +0 -174
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue +0 -730
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue +0 -79
- package/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue +0 -196
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarMobileActions.ts +0 -50
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarState.ts +0 -35
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarWidgets.ts +0 -25
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.ts +0 -70
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.ts +0 -67
- package/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue +0 -365
- package/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.ts +0 -151
- package/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue +0 -587
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.ts +0 -43
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue +0 -158
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue +0 -160
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue +0 -216
- package/ui/components/organisms/vc-app/_internal/menu/composables/useBadge.ts +0 -82
- package/ui/components/organisms/vc-app/_internal/menu/composables/useMenuActiveState.ts +0 -41
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue +0 -47
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue +0 -123
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue +0 -242
- package/ui/components/organisms/vc-app/composables/useShellBootstrap.test.ts +0 -222
- package/ui/components/organisms/vc-app/composables/useShellBootstrap.ts +0 -101
- package/ui/components/organisms/vc-app/composables/useShellLifecycle.ts +0 -39
- package/ui/components/organisms/vc-app/composables/useShellNavigation.ts +0 -57
- package/ui/components/organisms/vc-app/composition/README.md +0 -78
- package/ui/components/organisms/vc-app/composition/app-bar/index.ts +0 -6
- package/ui/components/organisms/vc-app/composition/index.ts +0 -6
- package/ui/components/organisms/vc-app/composition/layouts/index.ts +0 -2
- package/ui/components/organisms/vc-app/composition/menu/index.ts +0 -6
- package/ui/components/organisms/vc-app/composition/shell/index.ts +0 -3
- package/ui/components/organisms/vc-app/composition/sidebar/index.ts +0 -3
- package/ui/components/organisms/vc-app/composition/state/index.ts +0 -6
- package/ui/components/organisms/vc-app/index.ts +0 -2
- package/ui/components/organisms/vc-app/vc-app-shell.stories.ts +0 -762
- package/ui/components/organisms/vc-app/vc-app.vue +0 -252
- package/ui/components/organisms/vc-auth-layout/index.ts +0 -1
- package/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue +0 -193
- package/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue +0 -113
- package/ui/components/organisms/vc-blade/_internal/BladeHeader.vue +0 -263
- package/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue +0 -52
- package/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue +0 -195
- package/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue +0 -73
- package/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue +0 -34
- package/ui/components/organisms/vc-blade/_internal/composables/useBladeError.ts +0 -44
- package/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.ts +0 -116
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.test.ts +0 -79
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue +0 -135
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue +0 -101
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue +0 -125
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue +0 -417
- package/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.ts +0 -14
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue +0 -38
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue +0 -125
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue +0 -114
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.test.ts +0 -56
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.vue +0 -91
- package/ui/components/organisms/vc-blade/constants.ts +0 -19
- package/ui/components/organisms/vc-blade/index.ts +0 -1
- package/ui/components/organisms/vc-blade/utils.test.ts +0 -82
- package/ui/components/organisms/vc-blade/utils.ts +0 -48
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +0 -502
- package/ui/components/organisms/vc-blade/vc-blade.vue +0 -312
- package/ui/components/organisms/vc-dynamic-property/index.ts +0 -1
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +0 -618
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.ts +0 -48
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +0 -244
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +0 -351
- package/ui/components/organisms/vc-gallery/composables/index.ts +0 -4
- package/ui/components/organisms/vc-gallery/composables/useGalleryPreview.ts +0 -26
- package/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.ts +0 -73
- package/ui/components/organisms/vc-gallery/composables/useGalleryReorder.ts +0 -183
- package/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.ts +0 -89
- package/ui/components/organisms/vc-gallery/composables/useGalleryUpload.ts +0 -43
- package/ui/components/organisms/vc-gallery/composables/useImageLoad.test.ts +0 -34
- package/ui/components/organisms/vc-gallery/composables/useImageLoad.ts +0 -26
- package/ui/components/organisms/vc-gallery/index.ts +0 -3
- package/ui/components/organisms/vc-gallery/vc-gallery.actions.test.ts +0 -76
- package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +0 -99
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +0 -424
- package/ui/components/organisms/vc-image-upload/index.ts +0 -1
- package/ui/components/organisms/vc-image-upload/vc-image-upload.stories.ts +0 -47
- package/ui/components/organisms/vc-image-upload/vc-image-upload.vue +0 -251
- package/ui/components/organisms/vc-popup/index.ts +0 -3
- package/ui/components/organisms/vc-popup/vc-popup.stories.ts +0 -504
- package/ui/components/organisms/vc-popup/vc-popup.vue +0 -405
- package/ui/components/organisms/vc-sidebar/index.ts +0 -1
- package/ui/components/organisms/vc-sidebar/vc-sidebar.stories.ts +0 -251
- package/ui/components/organisms/vc-sidebar/vc-sidebar.test.ts +0 -125
- package/ui/components/organisms/vc-sidebar/vc-sidebar.vue +0 -787
- package/ui/components/organisms/vc-table/VcDataTable.vue +0 -1856
- package/ui/components/organisms/vc-table/VcTableAdapter.vue +0 -574
- package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue +0 -134
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +0 -451
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +0 -123
- package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +0 -38
- package/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue +0 -88
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +0 -238
- package/ui/components/organisms/vc-table/base/BaseVcDataTable.ts +0 -541
- package/ui/components/organisms/vc-table/components/ColumnFilter.vue +0 -459
- package/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue +0 -43
- package/ui/components/organisms/vc-table/components/DataTableBody.vue +0 -363
- package/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue +0 -396
- package/ui/components/organisms/vc-table/components/DataTableHeader.vue +0 -373
- package/ui/components/organisms/vc-table/components/DataTableRow.vue +0 -370
- package/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue +0 -58
- package/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue +0 -440
- package/ui/components/organisms/vc-table/components/Table.vue +0 -101
- package/ui/components/organisms/vc-table/components/TableActions.vue +0 -125
- package/ui/components/organisms/vc-table/components/TableAddRowButton.vue +0 -55
- package/ui/components/organisms/vc-table/components/TableBody.vue +0 -79
- package/ui/components/organisms/vc-table/components/TableCell.vue +0 -160
- package/ui/components/organisms/vc-table/components/TableCheckbox.vue +0 -78
- package/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue +0 -150
- package/ui/components/organisms/vc-table/components/TableEmpty.vue +0 -69
- package/ui/components/organisms/vc-table/components/TableFooter.vue +0 -13
- package/ui/components/organisms/vc-table/components/TableGroupRow.vue +0 -130
- package/ui/components/organisms/vc-table/components/TableHead.vue +0 -311
- package/ui/components/organisms/vc-table/components/TableHeader.vue +0 -13
- package/ui/components/organisms/vc-table/components/TableResizeHandle.vue +0 -125
- package/ui/components/organisms/vc-table/components/TableRow.vue +0 -283
- package/ui/components/organisms/vc-table/components/TableRowActions.vue +0 -495
- package/ui/components/organisms/vc-table/components/TableSearchHeader.vue +0 -233
- package/ui/components/organisms/vc-table/components/TableSelectAllBar.vue +0 -135
- package/ui/components/organisms/vc-table/components/VcColumn.vue +0 -255
- package/ui/components/organisms/vc-table/components/_internal/SlotProxy.ts +0 -20
- package/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue +0 -110
- package/ui/components/organisms/vc-table/components/cells/CellDate.vue +0 -52
- package/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue +0 -48
- package/ui/components/organisms/vc-table/components/cells/CellDefault.vue +0 -90
- package/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue +0 -47
- package/ui/components/organisms/vc-table/components/cells/CellHtml.vue +0 -62
- package/ui/components/organisms/vc-table/components/cells/CellImage.vue +0 -28
- package/ui/components/organisms/vc-table/components/cells/CellLink.vue +0 -18
- package/ui/components/organisms/vc-table/components/cells/CellMoney.vue +0 -120
- package/ui/components/organisms/vc-table/components/cells/CellNumber.vue +0 -113
- package/ui/components/organisms/vc-table/components/cells/CellStatus.vue +0 -18
- package/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue +0 -20
- package/ui/components/organisms/vc-table/components/cells/DynamicCellRenderer.vue +0 -164
- package/ui/components/organisms/vc-table/components/cells/index.ts +0 -11
- package/ui/components/organisms/vc-table/components/index.ts +0 -39
- package/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue +0 -672
- package/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue +0 -251
- package/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue +0 -163
- package/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue +0 -68
- package/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue +0 -353
- package/ui/components/organisms/vc-table/components/mobile/index.ts +0 -6
- package/ui/components/organisms/vc-table/composables/index.ts +0 -49
- package/ui/components/organisms/vc-table/composables/useCellBase.ts +0 -114
- package/ui/components/organisms/vc-table/composables/useCellRegistry.ts +0 -130
- package/ui/components/organisms/vc-table/composables/useColumnFilter.ts +0 -158
- package/ui/components/organisms/vc-table/composables/useDataProcessing.ts +0 -239
- package/ui/components/organisms/vc-table/composables/useDataTableState.test.ts +0 -78
- package/ui/components/organisms/vc-table/composables/useDataTableState.ts +0 -343
- package/ui/components/organisms/vc-table/composables/useMobileCardLayout.test.ts +0 -81
- package/ui/components/organisms/vc-table/composables/useMobileCardLayout.ts +0 -345
- package/ui/components/organisms/vc-table/composables/useTableColumns.ts +0 -276
- package/ui/components/organisms/vc-table/composables/useTableColumnsReorder.ts +0 -175
- package/ui/components/organisms/vc-table/composables/useTableColumnsResize.ts +0 -311
- package/ui/components/organisms/vc-table/composables/useTableContext.ts +0 -16
- package/ui/components/organisms/vc-table/composables/useTableEditing.ts +0 -385
- package/ui/components/organisms/vc-table/composables/useTableExpansion.ts +0 -159
- package/ui/components/organisms/vc-table/composables/useTableFilter.test.ts +0 -43
- package/ui/components/organisms/vc-table/composables/useTableFilter.ts +0 -131
- package/ui/components/organisms/vc-table/composables/useTableInlineEdit.ts +0 -306
- package/ui/components/organisms/vc-table/composables/useTableRowGrouping.ts +0 -310
- package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +0 -227
- package/ui/components/organisms/vc-table/composables/useTableSelectionV2.ts +0 -388
- package/ui/components/organisms/vc-table/composables/useTableSort.ts +0 -221
- package/ui/components/organisms/vc-table/composables/useTableSwipe.ts +0 -32
- package/ui/components/organisms/vc-table/composables/useVirtualScroll.ts +0 -286
- package/ui/components/organisms/vc-table/index.ts +0 -68
- package/ui/components/organisms/vc-table/keys.ts +0 -20
- package/ui/components/organisms/vc-table/types.ts +0 -856
- package/ui/components/organisms/vc-table/utils/ColumnCollector.ts +0 -137
- package/ui/components/organisms/vc-table/utils/deepClone.ts +0 -46
- package/ui/components/organisms/vc-table/utils/index.ts +0 -19
- package/ui/components/organisms/vc-table/vc-data-table.stories.ts +0 -5178
- package/ui/composables/README.md +0 -160
- package/ui/composables/index.ts +0 -6
- package/ui/composables/useAdaptiveItems.ts +0 -347
- package/ui/composables/useCollapsible.ts +0 -73
- package/ui/composables/useFloatingPosition.ts +0 -94
- package/ui/composables/useFormField.ts +0 -57
- package/ui/composables/useScrollArrows.ts +0 -64
- package/ui/composables/useTeleportTarget.ts +0 -37
- package/ui/types/form-field.ts +0 -44
- package/ui/types/index.ts +0 -21
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="vc-data-table__skeleton">
|
|
3
|
-
<!-- Column-aware skeleton when columns are available -->
|
|
4
|
-
<template v-if="columns.length > 0">
|
|
5
|
-
<TableRow
|
|
6
|
-
v-for="rowIndex in rows"
|
|
7
|
-
:key="rowIndex"
|
|
8
|
-
>
|
|
9
|
-
<TableCell
|
|
10
|
-
v-if="showSelectionCell"
|
|
11
|
-
:style="{ textAlign: 'center', justifyContent: 'center', minWidth: '40px', maxWidth: '40px' }"
|
|
12
|
-
width="40px"
|
|
13
|
-
:line-clamp="0"
|
|
14
|
-
>
|
|
15
|
-
<VcSkeleton variant="circle" width="18px" height="18px" />
|
|
16
|
-
</TableCell>
|
|
17
|
-
<TableCell
|
|
18
|
-
v-for="col in columns"
|
|
19
|
-
:key="col.props.id"
|
|
20
|
-
:width="getColumnWidth(col.props)"
|
|
21
|
-
:style="getCellStyle(col.props)"
|
|
22
|
-
:line-clamp="0"
|
|
23
|
-
>
|
|
24
|
-
<VcSkeleton
|
|
25
|
-
v-bind="getSkeletonProps(col.props, rowIndex)"
|
|
26
|
-
/>
|
|
27
|
-
</TableCell>
|
|
28
|
-
</TableRow>
|
|
29
|
-
</template>
|
|
30
|
-
|
|
31
|
-
<!-- Fallback: simple full-width skeleton rows when columns aren't parsed yet -->
|
|
32
|
-
<div
|
|
33
|
-
v-else
|
|
34
|
-
v-for="rowIndex in rows"
|
|
35
|
-
:key="`fallback-${rowIndex}`"
|
|
36
|
-
class="vc-data-table__skeleton-fallback-row"
|
|
37
|
-
>
|
|
38
|
-
<VcSkeleton
|
|
39
|
-
variant="block"
|
|
40
|
-
:width="ROW_WIDTHS[(rowIndex - 1) % ROW_WIDTHS.length]"
|
|
41
|
-
height="16px"
|
|
42
|
-
/>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</template>
|
|
46
|
-
|
|
47
|
-
<script setup lang="ts">
|
|
48
|
-
/**
|
|
49
|
-
* TableSkeletonRows — renders skeleton placeholder rows matching
|
|
50
|
-
* the real column layout. Each cell gets a VcSkeleton shaped by
|
|
51
|
-
* column type (image → square, status → badge, text → line, etc.).
|
|
52
|
-
*/
|
|
53
|
-
import type { ColumnInstance } from "@ui/components/organisms/vc-table/utils/ColumnCollector";
|
|
54
|
-
import type { VcColumnProps } from "@ui/components/organisms/vc-table/types";
|
|
55
|
-
import TableRow from "@ui/components/organisms/vc-table/components/TableRow.vue";
|
|
56
|
-
import TableCell from "@ui/components/organisms/vc-table/components/TableCell.vue";
|
|
57
|
-
import VcSkeleton from "@ui/components/atoms/vc-skeleton/vc-skeleton.vue";
|
|
58
|
-
|
|
59
|
-
defineProps<{
|
|
60
|
-
/** Visible columns to render skeleton cells for */
|
|
61
|
-
columns: ColumnInstance[];
|
|
62
|
-
/** Number of skeleton rows */
|
|
63
|
-
rows: number;
|
|
64
|
-
/** Column width resolver (same as used by real rows) */
|
|
65
|
-
getColumnWidth: (col: VcColumnProps) => string | undefined;
|
|
66
|
-
/** Cell style resolver (handles special columns: selection, expander, etc.) */
|
|
67
|
-
getCellStyle: (col: VcColumnProps) => object | undefined;
|
|
68
|
-
/** Whether to show a selection cell (checkbox/radio) before data cells */
|
|
69
|
-
showSelectionCell?: boolean;
|
|
70
|
-
}>();
|
|
71
|
-
|
|
72
|
-
// Pseudo-random width per row index to avoid uniform look
|
|
73
|
-
const ROW_WIDTHS = ["95%", "80%", "88%", "72%", "90%"];
|
|
74
|
-
|
|
75
|
-
function getSkeletonProps(
|
|
76
|
-
col: VcColumnProps,
|
|
77
|
-
rowIndex: number,
|
|
78
|
-
): { variant: "block" | "circle"; width?: string; height?: string } {
|
|
79
|
-
const type = col.type || "text";
|
|
80
|
-
|
|
81
|
-
// Special columns: selection checkbox, expander, row reorder
|
|
82
|
-
if (col.selectionMode) {
|
|
83
|
-
return { variant: "circle", width: "18px", height: "18px" };
|
|
84
|
-
}
|
|
85
|
-
if (col.expander || col.rowReorder || col.rowEditor) {
|
|
86
|
-
return { variant: "block", width: "20px", height: "20px" };
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Cell handles column width via getColumnWidth — skeleton fills the cell
|
|
90
|
-
switch (type) {
|
|
91
|
-
case "image":
|
|
92
|
-
return { variant: "block", width: "36px", height: "36px" };
|
|
93
|
-
case "status":
|
|
94
|
-
case "status-icon":
|
|
95
|
-
return { variant: "block", width: "100%", height: "22px" };
|
|
96
|
-
default:
|
|
97
|
-
return { variant: "block", width: "100%", height: "16px" };
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
</script>
|
|
101
|
-
|
|
102
|
-
<style lang="scss">
|
|
103
|
-
.vc-data-table__skeleton {
|
|
104
|
-
@apply tw-flex tw-flex-col tw-flex-auto tw-overflow-hidden;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.vc-data-table__skeleton-fallback-row {
|
|
108
|
-
@apply tw-px-4 tw-py-[10px];
|
|
109
|
-
}
|
|
110
|
-
</style>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<span v-if="value" class="vc-table-cell-date">{{ formatted }}</span>
|
|
3
|
-
<span v-else class="vc-table-cell-date vc-table-cell-date--not-set">
|
|
4
|
-
{{ t("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET") }}
|
|
5
|
-
</span>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script setup lang="ts">
|
|
9
|
-
import { computed } from "vue";
|
|
10
|
-
import { useI18n } from "vue-i18n";
|
|
11
|
-
import { formatDateWithPattern } from "@core/utilities/date";
|
|
12
|
-
|
|
13
|
-
const props = defineProps<{
|
|
14
|
-
/** The date value to display (Date, string, or number) */
|
|
15
|
-
value?: unknown;
|
|
16
|
-
/** Format variant: 'date', 'time', or 'date-time' */
|
|
17
|
-
variant?: "date" | "time" | "date-time";
|
|
18
|
-
/** Custom date format string (moment.js tokens auto-converted) */
|
|
19
|
-
format?: string;
|
|
20
|
-
}>();
|
|
21
|
-
|
|
22
|
-
const { t } = useI18n({ useScope: "global" });
|
|
23
|
-
const locale = window.navigator.language;
|
|
24
|
-
|
|
25
|
-
const formatted = computed(() => {
|
|
26
|
-
if (!props.value) return "";
|
|
27
|
-
|
|
28
|
-
// Custom date format
|
|
29
|
-
if (props.format) {
|
|
30
|
-
return formatDateWithPattern(props.value as string | number | Date, props.format, locale);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Native locale formatting
|
|
34
|
-
const d = props.value instanceof Date ? props.value : new Date(props.value as string | number);
|
|
35
|
-
const variant = props.variant || "date";
|
|
36
|
-
|
|
37
|
-
if (variant === "time") return d.toLocaleTimeString(locale);
|
|
38
|
-
if (variant === "date-time") return d.toLocaleString(locale);
|
|
39
|
-
return d.toLocaleDateString(locale);
|
|
40
|
-
});
|
|
41
|
-
</script>
|
|
42
|
-
|
|
43
|
-
<style lang="scss">
|
|
44
|
-
.vc-table-cell-date {
|
|
45
|
-
@apply tw-truncate;
|
|
46
|
-
color: var(--neutrals-400);
|
|
47
|
-
|
|
48
|
-
&--not-set {
|
|
49
|
-
color: var(--neutrals-400);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
</style>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<span
|
|
3
|
-
v-if="value"
|
|
4
|
-
class="vc-table-cell-date-ago"
|
|
5
|
-
:title="titleText"
|
|
6
|
-
>
|
|
7
|
-
{{ agoText }}
|
|
8
|
-
</span>
|
|
9
|
-
<span v-else class="vc-table-cell-date-ago vc-table-cell-date-ago--not-set">
|
|
10
|
-
{{ t("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET") }}
|
|
11
|
-
</span>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script setup lang="ts">
|
|
15
|
-
import { computed } from "vue";
|
|
16
|
-
import { useI18n } from "vue-i18n";
|
|
17
|
-
import { formatDateRelative } from "@core/utilities/date";
|
|
18
|
-
|
|
19
|
-
const props = defineProps<{
|
|
20
|
-
/** The date value to display as relative time (e.g., '2 hours ago') */
|
|
21
|
-
value?: unknown;
|
|
22
|
-
}>();
|
|
23
|
-
|
|
24
|
-
const { t } = useI18n({ useScope: "global" });
|
|
25
|
-
const locale = window.navigator.language;
|
|
26
|
-
|
|
27
|
-
const titleText = computed(() => {
|
|
28
|
-
if (!props.value) return "";
|
|
29
|
-
const d = props.value instanceof Date ? props.value : new Date(props.value as string | number);
|
|
30
|
-
return d.toLocaleString(locale);
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const agoText = computed(() => {
|
|
34
|
-
if (!props.value) return "";
|
|
35
|
-
return formatDateRelative(props.value as string | number | Date);
|
|
36
|
-
});
|
|
37
|
-
</script>
|
|
38
|
-
|
|
39
|
-
<style lang="scss">
|
|
40
|
-
.vc-table-cell-date-ago {
|
|
41
|
-
@apply tw-truncate;
|
|
42
|
-
color: var(--neutrals-400);
|
|
43
|
-
|
|
44
|
-
&--not-set {
|
|
45
|
-
color: var(--neutrals-400);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
</style>
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- Editable mode -->
|
|
3
|
-
<CellEditableWrapper
|
|
4
|
-
v-if="editable"
|
|
5
|
-
:label="label || ''"
|
|
6
|
-
:field-name="fieldName || ''"
|
|
7
|
-
:model-value="value"
|
|
8
|
-
:rules="rules"
|
|
9
|
-
>
|
|
10
|
-
<template #default="{ errors, errorMessage }">
|
|
11
|
-
<VcInput
|
|
12
|
-
:model-value="value"
|
|
13
|
-
class="vc-table-cell-default__input"
|
|
14
|
-
:error="errors.length > 0"
|
|
15
|
-
:error-message="isMobile ? errorMessage : undefined"
|
|
16
|
-
@update:model-value="$emit('update', { field: fieldId || '', value: $event })"
|
|
17
|
-
@blur="onBlur(errors)"
|
|
18
|
-
>
|
|
19
|
-
<template
|
|
20
|
-
v-if="isDesktop && errors.length > 0"
|
|
21
|
-
#append-inner
|
|
22
|
-
>
|
|
23
|
-
<VcIcon
|
|
24
|
-
icon="material-error"
|
|
25
|
-
class="vc-table-cell-default__error-icon"
|
|
26
|
-
/>
|
|
27
|
-
</template>
|
|
28
|
-
</VcInput>
|
|
29
|
-
</template>
|
|
30
|
-
</CellEditableWrapper>
|
|
31
|
-
|
|
32
|
-
<!-- Display mode -->
|
|
33
|
-
<span v-else class="vc-table-cell-default">{{ value }}</span>
|
|
34
|
-
</template>
|
|
35
|
-
|
|
36
|
-
<script setup lang="ts">
|
|
37
|
-
import { computed, inject, Ref, ref } from "vue";
|
|
38
|
-
import VcInput from "@ui/components/molecules/vc-input/vc-input.vue";
|
|
39
|
-
import { VcIcon } from "@ui/components/atoms";
|
|
40
|
-
import { IsMobileKey, IsDesktopKey } from "@framework/injection-keys";
|
|
41
|
-
import CellEditableWrapper from "@ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue";
|
|
42
|
-
|
|
43
|
-
const props = defineProps<{
|
|
44
|
-
/** The cell value to display or edit */
|
|
45
|
-
value?: unknown;
|
|
46
|
-
/** Whether the cell is in editable mode */
|
|
47
|
-
editable?: boolean;
|
|
48
|
-
/** Label for the editable field (used for validation) */
|
|
49
|
-
label?: string;
|
|
50
|
-
/** Field name for validation */
|
|
51
|
-
fieldName?: string;
|
|
52
|
-
/** Field identifier for update/blur events */
|
|
53
|
-
fieldId?: string;
|
|
54
|
-
/** Validation rules for the editable field */
|
|
55
|
-
rules?: Record<string, unknown>;
|
|
56
|
-
/** Row index for blur event payload */
|
|
57
|
-
rowIndex?: number;
|
|
58
|
-
}>();
|
|
59
|
-
|
|
60
|
-
const emit = defineEmits<{
|
|
61
|
-
/** Emitted when cell value is updated */
|
|
62
|
-
(e: "update", payload: { field: string; value: unknown }): void;
|
|
63
|
-
/** Emitted when editable cell loses focus (only if no validation errors) */
|
|
64
|
-
(e: "blur", payload: { row: number | undefined; field: string }): void;
|
|
65
|
-
}>();
|
|
66
|
-
|
|
67
|
-
const isMobileRef = inject(IsMobileKey, ref(false));
|
|
68
|
-
const isDesktopRef = inject(IsDesktopKey, ref(true));
|
|
69
|
-
const isMobile = computed(() => isMobileRef.value);
|
|
70
|
-
const isDesktop = computed(() => isDesktopRef.value);
|
|
71
|
-
|
|
72
|
-
const onBlur = (errors: string[]) => {
|
|
73
|
-
if (errors && errors.length > 0) return;
|
|
74
|
-
emit("blur", { row: props.rowIndex, field: props.fieldId || "" });
|
|
75
|
-
};
|
|
76
|
-
</script>
|
|
77
|
-
|
|
78
|
-
<style lang="scss">
|
|
79
|
-
.vc-table-cell-default {
|
|
80
|
-
@apply tw-truncate;
|
|
81
|
-
|
|
82
|
-
&__input {
|
|
83
|
-
@apply tw-w-full;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&__error-icon {
|
|
87
|
-
@apply tw-text-danger-500;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
</style>
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Field
|
|
3
|
-
v-slot="{ errors, errorMessage }"
|
|
4
|
-
:label="label"
|
|
5
|
-
:name="fieldName"
|
|
6
|
-
:model-value="modelValue"
|
|
7
|
-
:rules="rules"
|
|
8
|
-
>
|
|
9
|
-
<VcTooltip placement="bottom">
|
|
10
|
-
<template #default>
|
|
11
|
-
<slot :errors="errors" :error-message="errorMessage" />
|
|
12
|
-
</template>
|
|
13
|
-
<template
|
|
14
|
-
v-if="errorMessage"
|
|
15
|
-
#tooltip
|
|
16
|
-
>
|
|
17
|
-
<div class="vc-table-cell-editable__error-tooltip">
|
|
18
|
-
{{ errorMessage }}
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
</VcTooltip>
|
|
22
|
-
</Field>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import { Field } from "vee-validate";
|
|
27
|
-
import VcTooltip from "@ui/components/atoms/vc-tooltip/vc-tooltip.vue";
|
|
28
|
-
|
|
29
|
-
defineProps<{
|
|
30
|
-
/** Label for the editable field (used for validation) */
|
|
31
|
-
label: string;
|
|
32
|
-
/** Field name for validation */
|
|
33
|
-
fieldName: string;
|
|
34
|
-
/** Current value of the field */
|
|
35
|
-
modelValue?: unknown;
|
|
36
|
-
/** Validation rules for the field */
|
|
37
|
-
rules?: Record<string, unknown>;
|
|
38
|
-
}>();
|
|
39
|
-
</script>
|
|
40
|
-
|
|
41
|
-
<style lang="scss">
|
|
42
|
-
.vc-table-cell-editable {
|
|
43
|
-
&__error-tooltip {
|
|
44
|
-
@apply tw-text-danger-500;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
</style>
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="vc-table-cell-html" v-html="truncatedHtml" />
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
|
-
<script setup lang="ts">
|
|
6
|
-
import { computed } from "vue";
|
|
7
|
-
import htmlTruncate from "truncate-html";
|
|
8
|
-
import * as DOMPurify from "dompurify";
|
|
9
|
-
|
|
10
|
-
const props = defineProps<{
|
|
11
|
-
/** The HTML content to sanitize and display */
|
|
12
|
-
value?: unknown;
|
|
13
|
-
/** Maximum character length before truncation (default: 30) */
|
|
14
|
-
maxLength?: number;
|
|
15
|
-
}>();
|
|
16
|
-
|
|
17
|
-
// Cache for sanitized HTML to avoid repeated DOMPurify calls
|
|
18
|
-
const sanitizedHtmlCache = new Map<string, string>();
|
|
19
|
-
const MAX_CACHE_SIZE = 500;
|
|
20
|
-
|
|
21
|
-
function getSanitizedHtml(html: string): string {
|
|
22
|
-
if (sanitizedHtmlCache.has(html)) {
|
|
23
|
-
return sanitizedHtmlCache.get(html)!;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const sanitized = DOMPurify.default.sanitize(html, {
|
|
27
|
-
ALLOWED_TAGS: [
|
|
28
|
-
"p", "br", "strong", "em", "u", "s", "h1", "h2", "h3", "h4", "h5", "h6",
|
|
29
|
-
"ul", "ol", "li", "blockquote", "pre", "code", "a", "img", "table",
|
|
30
|
-
"thead", "tbody", "tr", "th", "td", "hr", "div", "span",
|
|
31
|
-
],
|
|
32
|
-
ALLOWED_ATTR: ["href", "src", "alt", "title", "class", "id", "colspan", "rowspan", "align", "valign"],
|
|
33
|
-
FORBID_TAGS: ["script", "object", "embed", "form", "input"],
|
|
34
|
-
FORBID_ATTR: ["onerror", "onload", "onclick", "onmouseover", "onfocus", "onblur", "style"],
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
if (sanitizedHtmlCache.size >= MAX_CACHE_SIZE) {
|
|
38
|
-
const firstKey = sanitizedHtmlCache.keys().next().value;
|
|
39
|
-
if (firstKey !== undefined) {
|
|
40
|
-
sanitizedHtmlCache.delete(firstKey);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
sanitizedHtmlCache.set(html, sanitized);
|
|
45
|
-
return sanitized;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
const sanitizedHtml = computed(() => {
|
|
49
|
-
if (!props.value) return "";
|
|
50
|
-
return getSanitizedHtml(String(props.value));
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
const truncatedHtml = computed(() =>
|
|
54
|
-
htmlTruncate(sanitizedHtml.value, props.maxLength || 30),
|
|
55
|
-
);
|
|
56
|
-
</script>
|
|
57
|
-
|
|
58
|
-
<style lang="scss">
|
|
59
|
-
.vc-table-cell-html {
|
|
60
|
-
@apply tw-p-1 tw-truncate;
|
|
61
|
-
}
|
|
62
|
-
</style>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<VcImage
|
|
3
|
-
class="vc-table-cell-image"
|
|
4
|
-
:bordered="true"
|
|
5
|
-
size="s"
|
|
6
|
-
aspect="1x1"
|
|
7
|
-
:src="(value as string)"
|
|
8
|
-
:empty-icon="emptyIcon"
|
|
9
|
-
background="contain"
|
|
10
|
-
/>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script setup lang="ts">
|
|
14
|
-
import { VcImage } from "@ui/components/atoms";
|
|
15
|
-
|
|
16
|
-
defineProps<{
|
|
17
|
-
/** The image URL to display */
|
|
18
|
-
value?: unknown;
|
|
19
|
-
/** Icon to display when image is empty or missing */
|
|
20
|
-
emptyIcon?: string;
|
|
21
|
-
}>();
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
<style lang="scss">
|
|
25
|
-
.vc-table-cell-image {
|
|
26
|
-
@apply tw-flex-shrink-0;
|
|
27
|
-
}
|
|
28
|
-
</style>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<VcLink class="vc-table-cell-link">{{ value }}</VcLink>
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
|
-
<script setup lang="ts">
|
|
6
|
-
import { VcLink } from "@ui/components/atoms";
|
|
7
|
-
|
|
8
|
-
defineProps<{
|
|
9
|
-
/** The link text to display */
|
|
10
|
-
value?: unknown;
|
|
11
|
-
}>();
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<style lang="scss">
|
|
15
|
-
.vc-table-cell-link {
|
|
16
|
-
@apply tw-truncate;
|
|
17
|
-
}
|
|
18
|
-
</style>
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- Editable mode -->
|
|
3
|
-
<CellEditableWrapper
|
|
4
|
-
v-if="editable"
|
|
5
|
-
:label="label || ''"
|
|
6
|
-
:field-name="fieldName || ''"
|
|
7
|
-
:model-value="value"
|
|
8
|
-
:rules="rules"
|
|
9
|
-
>
|
|
10
|
-
<template #default="{ errors, errorMessage }">
|
|
11
|
-
<VcInputCurrency
|
|
12
|
-
:model-value="(value as number | null | undefined)"
|
|
13
|
-
:options="[]"
|
|
14
|
-
:option="currency || 'USD'"
|
|
15
|
-
currency-display="symbol"
|
|
16
|
-
class="vc-table-cell-money__input"
|
|
17
|
-
:error="errors.length > 0"
|
|
18
|
-
:error-message="isMobile ? errorMessage : undefined"
|
|
19
|
-
@update:model-value="$emit('update', { field: fieldId || '', value: $event })"
|
|
20
|
-
@blur="onBlur(errors)"
|
|
21
|
-
>
|
|
22
|
-
<template
|
|
23
|
-
v-if="isDesktop && errors.length > 0"
|
|
24
|
-
#append-inner
|
|
25
|
-
>
|
|
26
|
-
<VcIcon
|
|
27
|
-
icon="material-error"
|
|
28
|
-
class="vc-table-cell-money__error-icon"
|
|
29
|
-
/>
|
|
30
|
-
</template>
|
|
31
|
-
</VcInputCurrency>
|
|
32
|
-
</template>
|
|
33
|
-
</CellEditableWrapper>
|
|
34
|
-
|
|
35
|
-
<!-- Display mode -->
|
|
36
|
-
<span v-else-if="!isEmpty" class="vc-table-cell-money">{{ formatted }}</span>
|
|
37
|
-
<span v-else class="vc-table-cell-money vc-table-cell-money--not-set">
|
|
38
|
-
{{ t("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET") }}
|
|
39
|
-
</span>
|
|
40
|
-
</template>
|
|
41
|
-
|
|
42
|
-
<script setup lang="ts">
|
|
43
|
-
import { computed, inject, Ref, ref } from "vue";
|
|
44
|
-
import { useI18n } from "vue-i18n";
|
|
45
|
-
import VcInputCurrency from "@ui/components/molecules/vc-input-currency/vc-input-currency.vue";
|
|
46
|
-
import { VcIcon } from "@ui/components/atoms";
|
|
47
|
-
import { IsMobileKey, IsDesktopKey } from "@framework/injection-keys";
|
|
48
|
-
import CellEditableWrapper from "@ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue";
|
|
49
|
-
|
|
50
|
-
const props = defineProps<{
|
|
51
|
-
/** The monetary value to display or edit */
|
|
52
|
-
value?: unknown;
|
|
53
|
-
/** Currency code (e.g., 'USD', 'EUR') for formatting */
|
|
54
|
-
currency?: string;
|
|
55
|
-
/** Whether the cell is in editable mode */
|
|
56
|
-
editable?: boolean;
|
|
57
|
-
/** Label for the editable field (used for validation) */
|
|
58
|
-
label?: string;
|
|
59
|
-
/** Field name for validation */
|
|
60
|
-
fieldName?: string;
|
|
61
|
-
/** Field identifier for update/blur events */
|
|
62
|
-
fieldId?: string;
|
|
63
|
-
/** Validation rules for the editable field */
|
|
64
|
-
rules?: Record<string, unknown>;
|
|
65
|
-
/** Row index for blur event payload */
|
|
66
|
-
rowIndex?: number;
|
|
67
|
-
}>();
|
|
68
|
-
|
|
69
|
-
const emit = defineEmits<{
|
|
70
|
-
/** Emitted when cell value is updated */
|
|
71
|
-
(e: "update", payload: { field: string; value: unknown }): void;
|
|
72
|
-
/** Emitted when editable cell loses focus (only if no validation errors) */
|
|
73
|
-
(e: "blur", payload: { row: number | undefined; field: string }): void;
|
|
74
|
-
}>();
|
|
75
|
-
|
|
76
|
-
const { t } = useI18n({ useScope: "global" });
|
|
77
|
-
const locale = window.navigator.language;
|
|
78
|
-
|
|
79
|
-
const isMobileRef = inject(IsMobileKey, ref(false));
|
|
80
|
-
const isDesktopRef = inject(IsDesktopKey, ref(true));
|
|
81
|
-
const isMobile = computed(() => isMobileRef.value);
|
|
82
|
-
const isDesktop = computed(() => isDesktopRef.value);
|
|
83
|
-
|
|
84
|
-
const isEmpty = computed(
|
|
85
|
-
() => typeof props.value === "undefined" || props.value === null || Number(props.value) === 0,
|
|
86
|
-
);
|
|
87
|
-
|
|
88
|
-
const formatted = computed(() => {
|
|
89
|
-
const num = Number(props.value);
|
|
90
|
-
if (isNaN(num)) return String(props.value);
|
|
91
|
-
return new Intl.NumberFormat(locale, {
|
|
92
|
-
style: "currency",
|
|
93
|
-
currency: props.currency || "USD",
|
|
94
|
-
}).format(num);
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
const onBlur = (errors: string[]) => {
|
|
98
|
-
if (errors && errors.length > 0) return;
|
|
99
|
-
emit("blur", { row: props.rowIndex, field: props.fieldId || "" });
|
|
100
|
-
};
|
|
101
|
-
</script>
|
|
102
|
-
|
|
103
|
-
<style lang="scss">
|
|
104
|
-
.vc-table-cell-money {
|
|
105
|
-
@apply tw-truncate tw-font-medium tw-tabular-nums;
|
|
106
|
-
|
|
107
|
-
&--not-set {
|
|
108
|
-
@apply tw-font-normal;
|
|
109
|
-
color: var(--neutrals-400);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&__input {
|
|
113
|
-
@apply tw-w-full;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&__error-icon {
|
|
117
|
-
@apply tw-text-danger-500;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
</style>
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- Editable mode -->
|
|
3
|
-
<CellEditableWrapper
|
|
4
|
-
v-if="editable"
|
|
5
|
-
:label="label || ''"
|
|
6
|
-
:field-name="fieldName || ''"
|
|
7
|
-
:model-value="value"
|
|
8
|
-
:rules="rules"
|
|
9
|
-
>
|
|
10
|
-
<template #default="{ errors, errorMessage }">
|
|
11
|
-
<VcInput
|
|
12
|
-
:model-value="value"
|
|
13
|
-
class="vc-table-cell-number__input"
|
|
14
|
-
type="number"
|
|
15
|
-
:error="errors.length > 0"
|
|
16
|
-
:error-message="isMobile ? errorMessage : undefined"
|
|
17
|
-
@update:model-value="$emit('update', { field: fieldId || '', value: $event })"
|
|
18
|
-
@blur="onBlur(errors)"
|
|
19
|
-
>
|
|
20
|
-
<template
|
|
21
|
-
v-if="isDesktop && errors.length > 0"
|
|
22
|
-
#append-inner
|
|
23
|
-
>
|
|
24
|
-
<VcIcon
|
|
25
|
-
icon="material-error"
|
|
26
|
-
class="vc-table-cell-number__error-icon"
|
|
27
|
-
/>
|
|
28
|
-
</template>
|
|
29
|
-
</VcInput>
|
|
30
|
-
</template>
|
|
31
|
-
</CellEditableWrapper>
|
|
32
|
-
|
|
33
|
-
<!-- Display mode -->
|
|
34
|
-
<span v-else-if="!isEmpty" class="vc-table-cell-number">{{ formatted }}</span>
|
|
35
|
-
<span v-else class="vc-table-cell-number vc-table-cell-number--not-set">
|
|
36
|
-
{{ t("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET") }}
|
|
37
|
-
</span>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script setup lang="ts">
|
|
41
|
-
import { computed, inject, Ref, ref } from "vue";
|
|
42
|
-
import { useI18n } from "vue-i18n";
|
|
43
|
-
import VcInput from "@ui/components/molecules/vc-input/vc-input.vue";
|
|
44
|
-
import { VcIcon } from "@ui/components/atoms";
|
|
45
|
-
import { IsMobileKey, IsDesktopKey } from "@framework/injection-keys";
|
|
46
|
-
import CellEditableWrapper from "@ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue";
|
|
47
|
-
|
|
48
|
-
const props = defineProps<{
|
|
49
|
-
/** The numeric value to display or edit */
|
|
50
|
-
value?: unknown;
|
|
51
|
-
/** Whether the cell is in editable mode */
|
|
52
|
-
editable?: boolean;
|
|
53
|
-
/** Label for the editable field (used for validation) */
|
|
54
|
-
label?: string;
|
|
55
|
-
/** Field name for validation */
|
|
56
|
-
fieldName?: string;
|
|
57
|
-
/** Field identifier for update/blur events */
|
|
58
|
-
fieldId?: string;
|
|
59
|
-
/** Validation rules for the editable field */
|
|
60
|
-
rules?: Record<string, unknown>;
|
|
61
|
-
/** Row index for blur event payload */
|
|
62
|
-
rowIndex?: number;
|
|
63
|
-
}>();
|
|
64
|
-
|
|
65
|
-
const emit = defineEmits<{
|
|
66
|
-
/** Emitted when cell value is updated */
|
|
67
|
-
(e: "update", payload: { field: string; value: unknown }): void;
|
|
68
|
-
/** Emitted when editable cell loses focus (only if no validation errors) */
|
|
69
|
-
(e: "blur", payload: { row: number | undefined; field: string }): void;
|
|
70
|
-
}>();
|
|
71
|
-
|
|
72
|
-
const { t } = useI18n({ useScope: "global" });
|
|
73
|
-
|
|
74
|
-
const isMobileRef = inject(IsMobileKey, ref(false));
|
|
75
|
-
const isDesktopRef = inject(IsDesktopKey, ref(true));
|
|
76
|
-
const isMobile = computed(() => isMobileRef.value);
|
|
77
|
-
const isDesktop = computed(() => isDesktopRef.value);
|
|
78
|
-
|
|
79
|
-
const isEmpty = computed(() => {
|
|
80
|
-
if (props.value === null || props.value === undefined) return true;
|
|
81
|
-
const num = Number(props.value);
|
|
82
|
-
return isNaN(num) || num < 0;
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
const formatted = computed(() => {
|
|
86
|
-
const num = Number(props.value);
|
|
87
|
-
return isNaN(num) ? String(props.value) : num.toFixed(0);
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
const onBlur = (errors: string[]) => {
|
|
91
|
-
if (errors && errors.length > 0) return;
|
|
92
|
-
emit("blur", { row: props.rowIndex, field: props.fieldId || "" });
|
|
93
|
-
};
|
|
94
|
-
</script>
|
|
95
|
-
|
|
96
|
-
<style lang="scss">
|
|
97
|
-
.vc-table-cell-number {
|
|
98
|
-
@apply tw-truncate tw-tabular-nums;
|
|
99
|
-
|
|
100
|
-
&--not-set {
|
|
101
|
-
@apply tw-font-normal;
|
|
102
|
-
color: var(--neutrals-400);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__input {
|
|
106
|
-
@apply tw-w-full;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&__error-icon {
|
|
110
|
-
@apply tw-text-danger-500;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
</style>
|