@vc-shell/framework 1.0.341 → 1.1.0-alpha.10
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/CHANGELOG.md +15 -2
- package/core/api/platform.ts +9883 -9883
- package/core/composables/index.ts +11 -7
- package/core/composables/useApiClient/index.ts +22 -22
- package/core/composables/useAppBarMobileButtons/index.ts +17 -0
- package/core/composables/useAppBarWidget/index.ts +19 -0
- package/core/composables/useBeforeUnload/index.ts +25 -25
- package/core/composables/useDashboard/index.ts +19 -0
- package/core/composables/useFunctions/debounce.ts +16 -16
- package/core/composables/useFunctions/delay.ts +4 -4
- package/core/composables/useFunctions/index.ts +21 -21
- package/core/composables/useFunctions/once.ts +12 -12
- package/core/composables/useFunctions/sleep.ts +4 -4
- package/core/composables/useFunctions/throttle.ts +14 -14
- package/core/composables/useGlobalSearch/index.ts +19 -0
- package/core/composables/useKeyboardNavigation/index.ts +211 -0
- package/core/composables/useLanguages/index.ts +78 -78
- package/core/composables/useLoading/index.ts +9 -9
- package/core/composables/useMenuService/index.ts +15 -105
- package/core/composables/useSettingsMenu/index.ts +23 -0
- package/core/composables/useTheme/index.ts +62 -61
- package/core/composables/useWidgets/index.ts +20 -0
- package/core/constants/index.ts +2 -0
- package/core/directives/autofocus/index.ts +9 -9
- package/core/directives/loading/index.ts +30 -1
- package/core/directives/loading/styles.css +36 -7
- package/core/plugins/i18n/index.ts +11 -11
- package/core/plugins/modularity/index.ts +32 -30
- package/core/plugins/modularity/loader.ts +2 -1
- package/core/plugins/moment/humanize.ts +74 -74
- package/core/plugins/moment/index.ts +1 -1
- package/core/plugins/permissions/index.ts +10 -10
- package/core/plugins/validation/index.ts +1 -1
- package/core/plugins/validation/rules.ts +145 -145
- package/core/services/app-bar-menu-service.ts +87 -0
- package/core/services/app-bar-mobile-buttons-service.ts +57 -0
- package/core/services/dashboard-service.ts +121 -0
- package/core/services/global-search-service.ts +36 -0
- package/core/services/menu-service.ts +235 -0
- package/core/services/settings-menu-service.ts +75 -0
- package/core/services/widget-service.ts +147 -0
- package/core/types/index.ts +33 -18
- package/core/types/widget.ts +15 -0
- package/core/utilities/camelToSnake.ts +7 -7
- package/core/utilities/camelize.ts +5 -5
- package/core/utilities/generateId.ts +3 -3
- package/core/utilities/kebabToCamel.ts +7 -7
- package/dist/{asn1-DF4fnRHj.js → asn1-jKiBa2Ya.js} +20 -18
- package/dist/{clike-l4mx49Q1.js → clike-BUuHEmgZ.js} +0 -1
- package/dist/{cobol-CJVkMW0i.js → cobol-BlTKFDRj.js} +0 -1
- package/dist/core/composables/index.d.ts +11 -7
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts +3 -0
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts.map +1 -0
- package/dist/core/composables/useAppBarWidget/index.d.ts +5 -0
- package/dist/core/composables/useAppBarWidget/index.d.ts.map +1 -0
- package/dist/core/composables/useDashboard/index.d.ts +5 -0
- package/dist/core/composables/useDashboard/index.d.ts.map +1 -0
- package/dist/core/composables/useGlobalSearch/index.d.ts +4 -0
- package/dist/core/composables/useGlobalSearch/index.d.ts.map +1 -0
- package/dist/core/composables/useKeyboardNavigation/index.d.ts +24 -0
- package/dist/core/composables/useKeyboardNavigation/index.d.ts.map +1 -0
- package/dist/core/composables/useMenuService/index.d.ts +4 -10
- package/dist/core/composables/useMenuService/index.d.ts.map +1 -1
- package/dist/core/composables/useSettingsMenu/index.d.ts +5 -0
- package/dist/core/composables/useSettingsMenu/index.d.ts.map +1 -0
- package/dist/core/composables/useTheme/index.d.ts.map +1 -1
- package/dist/core/composables/useWidgets/index.d.ts +5 -0
- package/dist/core/composables/useWidgets/index.d.ts.map +1 -0
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/index.d.ts.map +1 -1
- package/dist/core/directives/loading/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +7 -7
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/core/services/app-bar-menu-service.d.ts +29 -0
- package/dist/core/services/app-bar-menu-service.d.ts.map +1 -0
- package/dist/core/services/app-bar-mobile-buttons-service.d.ts +24 -0
- package/dist/core/services/app-bar-mobile-buttons-service.d.ts.map +1 -0
- package/dist/core/services/dashboard-service.d.ts +33 -0
- package/dist/core/services/dashboard-service.d.ts.map +1 -0
- package/dist/core/services/global-search-service.d.ts +10 -0
- package/dist/core/services/global-search-service.d.ts.map +1 -0
- package/dist/core/services/menu-service.d.ts +17 -0
- package/dist/core/services/menu-service.d.ts.map +1 -0
- package/dist/core/services/settings-menu-service.d.ts +25 -0
- package/dist/core/services/settings-menu-service.d.ts.map +1 -0
- package/dist/core/services/widget-service.d.ts +39 -0
- package/dist/core/services/widget-service.d.ts.map +1 -0
- package/dist/core/types/index.d.ts +33 -17
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/types/widget.d.ts +12 -0
- package/dist/core/types/widget.d.ts.map +1 -0
- package/dist/{dockerfile-CFG_IPGn.js → dockerfile-DIy8NleC.js} +1 -1
- package/dist/{factor-DJHfQ4a1.js → factor-DDOC7X6P.js} +1 -1
- package/dist/framework.js +282 -224
- package/dist/{haxe-pdDS1aE8.js → haxe-70NVW1pR.js} +1 -1
- package/dist/index-Bi0kJi5Z.js +137 -0
- package/dist/{index-YvFwPxsI.js → index-C21NKea4.js} +9 -9
- package/dist/{index-CV4fOhK1.js → index-C9n6vRCl.js} +6 -6
- package/dist/{index-Dho4-wXM.js → index-CBdNNVCt.js} +8 -8
- package/dist/{index-n48DzlNW.js → index-CNEtPeAi.js} +9 -9
- package/dist/index-CPkPLIZF.js +243 -0
- package/dist/{index-CT72nbMk.js → index-CUwa-7vt.js} +10 -10
- package/dist/{index-bAD1-blW.js → index-ClEfeR5e.js} +7 -7
- package/dist/{index-BON_eF-3.js → index-CtUvgwL1.js} +9 -9
- package/dist/{index-wsG2MecP.js → index-D7TQzX3d.js} +7 -7
- package/dist/{index-Ce86fM2z.js → index-DSYfAsS3.js} +95775 -92179
- package/dist/{index-Dcdjgpoe.js → index-Dg1vmmpj.js} +5 -5
- package/dist/{index-DSefVRVC.js → index-Dzz7ZfO9.js} +19 -19
- package/dist/index-dZEaziXz.js +607 -0
- package/dist/{index-Ck9pr8TI.js → index-kg3-UkAr.js} +16 -16
- package/dist/{index-BXTIkfHT.js → index-vc0H8rq-.js} +42 -42
- package/dist/index-vegt24rG.js +308 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +46 -0
- package/dist/injection-keys.d.ts.map +1 -0
- package/dist/{javascript-CWGekh08.js → javascript-WMWNx-Vj.js} +1 -1
- package/dist/{livescript-CE_BxZmN.js → livescript-CanGTf8u.js} +25 -25
- package/dist/locales/de.json +8 -2
- package/dist/locales/en.json +6 -1
- package/dist/{mllike-1yy7Y7jE.js → mllike-BSnXJBGA.js} +0 -3
- package/dist/{nsis-BtA0qkjU.js → nsis-fePjrhq7.js} +1 -1
- package/dist/{pascal-ixanSKUz.js → pascal-De0D6mP7.js} +1 -1
- package/dist/{pug-CW1q1xhQ.js → pug-BqUR2bBq.js} +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +19 -0
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +32 -2
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +5 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +9 -0
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/change-password-button/change-password-button.vue.d.ts +3 -0
- package/dist/shared/components/change-password-button/change-password-button.vue.d.ts.map +1 -0
- package/dist/shared/components/change-password-button/index.d.ts +2 -0
- package/dist/shared/components/change-password-button/index.d.ts.map +1 -0
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +25 -0
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -0
- package/dist/shared/components/dashboard-widget-card/index.d.ts +2 -0
- package/dist/shared/components/dashboard-widget-card/index.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts +8 -0
- package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/_internal/DashboardWidget.vue.d.ts +20 -0
- package/dist/shared/components/draggable-dashboard/_internal/DashboardWidget.vue.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useCellSizeCalculator.d.ts +25 -0
- package/dist/shared/components/draggable-dashboard/composables/useCellSizeCalculator.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useCollisionDetection.d.ts +27 -0
- package/dist/shared/components/draggable-dashboard/composables/useCollisionDetection.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +376 -0
- package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useDashboardGrid.d.ts +20 -0
- package/dist/shared/components/draggable-dashboard/composables/useDashboardGrid.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useDragClone.d.ts +15 -0
- package/dist/shared/components/draggable-dashboard/composables/useDragClone.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useEventCoordinates.d.ts +33 -0
- package/dist/shared/components/draggable-dashboard/composables/useEventCoordinates.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useGridPosition.d.ts +57 -0
- package/dist/shared/components/draggable-dashboard/composables/useGridPosition.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useGridSystem.d.ts +22 -0
- package/dist/shared/components/draggable-dashboard/composables/useGridSystem.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useLayoutPersistence.d.ts +19 -0
- package/dist/shared/components/draggable-dashboard/composables/useLayoutPersistence.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useResizeObserver.d.ts +18 -0
- package/dist/shared/components/draggable-dashboard/composables/useResizeObserver.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useWidgetLayout.d.ts +14 -0
- package/dist/shared/components/draggable-dashboard/composables/useWidgetLayout.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/composables/useWidgetStyles.d.ts +21 -0
- package/dist/shared/components/draggable-dashboard/composables/useWidgetStyles.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/index.d.ts +2 -0
- package/dist/shared/components/draggable-dashboard/index.d.ts.map +1 -0
- package/dist/shared/components/draggable-dashboard/types.d.ts +84 -0
- package/dist/shared/components/draggable-dashboard/types.d.ts.map +1 -0
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts +132 -0
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -0
- package/dist/shared/components/generic-dropdown/index.d.ts +2 -0
- package/dist/shared/components/generic-dropdown/index.d.ts.map +1 -0
- package/dist/shared/components/index.d.ts +4 -1
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -1
- package/dist/shared/components/logout-button/index.d.ts +2 -0
- package/dist/shared/components/logout-button/index.d.ts.map +1 -0
- package/dist/shared/components/logout-button/logout-button.vue.d.ts +3 -0
- package/dist/shared/components/logout-button/logout-button.vue.d.ts.map +1 -0
- package/dist/shared/components/notification-dropdown/_internal/notification/index.d.ts +2 -0
- package/dist/shared/components/notification-dropdown/_internal/notification/index.d.ts.map +1 -0
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-template/index.d.ts +4 -31
- package/dist/shared/components/notification-template/index.d.ts.map +1 -1
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +4 -14
- package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/settings-menu/index.d.ts +2 -0
- package/dist/shared/components/settings-menu/index.d.ts.map +1 -0
- package/dist/shared/components/settings-menu/settings-menu.vue.d.ts +3 -0
- package/dist/shared/components/settings-menu/settings-menu.vue.d.ts.map +1 -0
- package/dist/shared/components/settings-menu-item/index.d.ts +2 -0
- package/dist/shared/components/settings-menu-item/index.d.ts.map +1 -0
- package/dist/shared/components/{app-bar-button/app-bar-button.vue.d.ts → settings-menu-item/settings-menu-item.vue.d.ts} +26 -25
- package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -0
- package/dist/shared/components/sidebar/sidebar.vue.d.ts +7 -2
- package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -1
- package/dist/shared/components/theme-selector/theme-selector.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts +18 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +23 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/index.d.ts +9 -25
- package/dist/shared/components/user-dropdown-button/index.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +1 -18
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/composables/useMenuExpanded.d.ts +7 -0
- package/dist/shared/composables/useMenuExpanded.d.ts.map +1 -0
- package/dist/shared/modules/assets/index.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +16 -16
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/props.d.ts +1 -7
- package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts +3 -62
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/common/templates.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/common/templates.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +3 -21
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -14
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +4 -41
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +5 -0
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts +10 -10
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +10 -10
- package/dist/{simple-mode-HGTvdazT.js → simple-mode-B0dvCdAA.js} +15 -14
- package/dist/{sql-uoWIYwDX.js → sql-mMre1Bo3.js} +0 -2
- package/dist/tailwind.config.d.ts +1 -81
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ttcn-DmjTzZb6.js → ttcn-Bsa4sfRm.js} +20 -22
- package/dist/{ttcn-cfg-B2U3U7dn.js → ttcn-cfg-Bac_acMi.js} +15 -17
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +266 -831
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +20 -3
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/index.d.ts +2 -0
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +36 -24
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +2 -0
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/index.d.ts +28 -0
- package/dist/ui/components/atoms/vc-icon/icons/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts +3 -3
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +3 -2
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts +9 -0
- package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +1 -0
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +35 -0
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts +15 -0
- package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +7 -0
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +4 -0
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +6 -0
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts +6 -0
- package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -3
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/index.d.ts +1 -0
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +67 -33
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +25 -11
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/index.d.ts +21 -4
- package/dist/ui/components/molecules/vc-checkbox/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts +210 -40
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +10 -4
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts +996 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +332 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.stories.d.ts +3 -3
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.stories.d.ts +12 -12
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +24 -24
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +18 -18
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +84 -84
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +12 -12
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +240 -240
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +24 -24
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts +9 -9
- package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts +9 -9
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts +63 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.d.ts +19 -0
- package/dist/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts +25 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts +32 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue.d.ts +17 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts +30 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +50 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetsMenu.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetsMenu.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts +40 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarMobileActions.d.ts +9 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarMobileActions.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarWidgets.d.ts +8 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarWidgets.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useToggleableContent.d.ts +23 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useToggleableContent.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +6 -16
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +3 -2
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +2 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +3 -12
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts +13 -199
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +5 -197
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +1 -2
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +48 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/{vc-blade-toolbar-button → vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button}/vc-blade-toolbar-button.vue.d.ts +10 -4
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +40 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue.d.ts +19 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue.d.ts +17 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/vc-blade-toolbar-buttons.vue.d.ts +19 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/vc-blade-toolbar-buttons.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +9 -2
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/index.d.ts +3 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts +16 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts +16 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue.d.ts +15 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +2 -16
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +56 -2
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.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.stories.d.ts +13 -13
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +3 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +2 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +218 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts +118 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +236 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-select-all-header/vc-table-select-all-header.vue.d.ts +24 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-select-all-header/vc-table-select-all-header.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +314 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue.d.ts +32 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts +66 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +6 -13
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts +229 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue.d.ts +38 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts +17 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts +407 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts +9 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +16 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts +23 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts +20 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableSwipe.d.ts +12 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableSwipe.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts +105 -735
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +41 -135
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/dist/ui/composables/useVisibleElements.d.ts +19 -0
- package/dist/ui/composables/useVisibleElements.d.ts.map +1 -0
- package/dist/{xquery-xQxle02u.js → xquery-BUQdORAS.js} +72 -76
- package/package.json +16 -6
- package/shared/components/app-switcher/components/vc-app-switcher/index.ts +1 -1
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +30 -135
- package/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue +77 -0
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +23 -10
- package/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.ts +30 -6
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +9 -1
- package/shared/components/blade-navigation/types/index.ts +10 -0
- package/shared/components/change-password/change-password.vue +3 -2
- package/shared/components/change-password-button/change-password-button.vue +20 -0
- package/shared/components/change-password-button/index.ts +1 -0
- package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +67 -0
- package/shared/components/dashboard-widget-card/index.ts +1 -0
- package/shared/components/draggable-dashboard/DraggableDashboard.vue +332 -0
- package/shared/components/draggable-dashboard/_internal/DashboardWidget.vue +117 -0
- package/shared/components/draggable-dashboard/composables/useCellSizeCalculator.ts +121 -0
- package/shared/components/draggable-dashboard/composables/useCollisionDetection.ts +219 -0
- package/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.ts +342 -0
- package/shared/components/draggable-dashboard/composables/useDashboardGrid.ts +104 -0
- package/shared/components/draggable-dashboard/composables/useDragClone.ts +97 -0
- package/shared/components/draggable-dashboard/composables/useEventCoordinates.ts +91 -0
- package/shared/components/draggable-dashboard/composables/useGridPosition.ts +150 -0
- package/shared/components/draggable-dashboard/composables/useGridSystem.ts +169 -0
- package/shared/components/draggable-dashboard/composables/useLayoutPersistence.ts +89 -0
- package/shared/components/draggable-dashboard/composables/useResizeObserver.ts +105 -0
- package/shared/components/draggable-dashboard/composables/useWidgetLayout.ts +264 -0
- package/shared/components/draggable-dashboard/composables/useWidgetStyles.ts +120 -0
- package/shared/components/draggable-dashboard/index.ts +1 -0
- package/shared/components/draggable-dashboard/types.ts +96 -0
- package/shared/components/error-interceptor/interceptor.ts +44 -44
- package/shared/components/generic-dropdown/generic-dropdown.vue +219 -0
- package/shared/components/generic-dropdown/index.ts +1 -0
- package/shared/components/index.ts +4 -1
- package/shared/components/language-selector/language-selector.vue +56 -65
- package/shared/components/logout-button/index.ts +1 -0
- package/shared/components/logout-button/logout-button.vue +27 -0
- package/shared/components/notification-dropdown/_internal/notification/index.ts +1 -0
- package/shared/components/notification-dropdown/notification-dropdown.vue +27 -85
- package/shared/components/notification-template/notification-template.vue +26 -61
- package/shared/components/notifications/styles/index.scss +10 -10
- package/shared/components/settings-menu/index.ts +1 -0
- package/shared/components/settings-menu/settings-menu.vue +25 -0
- package/shared/components/settings-menu-item/index.ts +1 -0
- package/shared/components/settings-menu-item/settings-menu-item.vue +136 -0
- package/shared/components/sidebar/sidebar.vue +81 -42
- package/shared/components/theme-selector/theme-selector.vue +55 -66
- package/shared/components/user-dropdown-button/_internal/user-info.vue +95 -0
- package/shared/components/user-dropdown-button/_internal/user-sidebar.vue +48 -0
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +74 -290
- package/shared/composables/useMenuExpanded.ts +40 -0
- package/shared/modules/assets/components/assets-details/assets-details.vue +2 -2
- package/shared/modules/assets/index.ts +0 -1
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +0 -1
- package/shared/modules/dynamic/components/FIELD_MAP.ts +53 -53
- package/shared/modules/dynamic/components/SchemaRender.ts +102 -102
- package/shared/modules/dynamic/components/factories.ts +244 -244
- package/shared/modules/dynamic/components/fields/Button.ts +44 -44
- package/shared/modules/dynamic/components/fields/Card.ts +119 -119
- package/shared/modules/dynamic/components/fields/Checkbox.ts +53 -53
- package/shared/modules/dynamic/components/fields/ContentField.ts +33 -33
- package/shared/modules/dynamic/components/fields/CustomComponent.ts +29 -29
- package/shared/modules/dynamic/components/fields/DynamicProperty.ts +141 -141
- package/shared/modules/dynamic/components/fields/EditorField.ts +46 -46
- package/shared/modules/dynamic/components/fields/Fieldset.ts +65 -65
- package/shared/modules/dynamic/components/fields/GalleryField.ts +161 -161
- package/shared/modules/dynamic/components/fields/ImageField.ts +35 -35
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +79 -79
- package/shared/modules/dynamic/components/fields/InputField.ts +81 -81
- package/shared/modules/dynamic/components/fields/MultivalueField.ts +68 -68
- package/shared/modules/dynamic/components/fields/RadioButtonGroup.ts +82 -82
- package/shared/modules/dynamic/components/fields/RatingField.ts +28 -28
- package/shared/modules/dynamic/components/fields/SelectField.ts +72 -72
- package/shared/modules/dynamic/components/fields/StatusField.ts +110 -110
- package/shared/modules/dynamic/components/fields/SwitchField.ts +29 -29
- package/shared/modules/dynamic/components/fields/Table.ts +1 -2
- package/shared/modules/dynamic/components/fields/TextareaField.ts +46 -46
- package/shared/modules/dynamic/components/fields/ValidationField.ts +54 -54
- package/shared/modules/dynamic/components/fields/VideoField.ts +30 -30
- package/shared/modules/dynamic/components/fields/props.ts +39 -39
- package/shared/modules/dynamic/components/fields/storybook/Button.stories.ts +2 -63
- package/shared/modules/dynamic/components/fields/storybook/Card.stories.ts +1 -2
- package/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.ts +185 -185
- package/shared/modules/dynamic/components/fields/storybook/ContentField.stories.ts +245 -245
- package/shared/modules/dynamic/components/fields/storybook/EditorField.stories.ts +192 -192
- package/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.ts +347 -347
- package/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.ts +239 -239
- package/shared/modules/dynamic/components/fields/storybook/ImageField.stories.ts +186 -186
- package/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.ts +281 -281
- package/shared/modules/dynamic/components/fields/storybook/InputField.stories.ts +312 -312
- package/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.ts +361 -361
- package/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.ts +224 -224
- package/shared/modules/dynamic/components/fields/storybook/RatingField.stories.ts +131 -131
- package/shared/modules/dynamic/components/fields/storybook/SelectField.stories.ts +666 -666
- package/shared/modules/dynamic/components/fields/storybook/StatusField.stories.ts +202 -202
- package/shared/modules/dynamic/components/fields/storybook/SwitchField.stories.ts +178 -178
- package/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.ts +203 -203
- package/shared/modules/dynamic/components/fields/storybook/VideoField.stories.ts +92 -92
- package/shared/modules/dynamic/components/fields/storybook/common/args.ts +130 -130
- package/shared/modules/dynamic/components/fields/storybook/common/templates.ts +1 -1
- package/shared/modules/dynamic/components/index.ts +4 -4
- package/shared/modules/dynamic/composables/index.ts +4 -4
- package/shared/modules/dynamic/composables/useDynamicViewsUtils/index.ts +46 -46
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +31 -22
- package/shared/modules/dynamic/composables/useTableTemplates/index.ts +67 -67
- package/shared/modules/dynamic/composables/useToolbarReducer/index.ts +70 -70
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +144 -144
- package/shared/modules/dynamic/factories/base/useListFactory.ts +68 -68
- package/shared/modules/dynamic/factories/index.ts +4 -4
- package/shared/modules/dynamic/factories/types/index.ts +229 -229
- package/shared/modules/dynamic/helpers/getters.ts +12 -12
- package/shared/modules/dynamic/helpers/methodHandler.ts +22 -22
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +1 -1
- package/shared/modules/dynamic/helpers/override.ts +153 -153
- package/shared/modules/dynamic/helpers/safeIn.ts +6 -6
- package/shared/modules/dynamic/helpers/setters.ts +24 -24
- package/shared/modules/dynamic/helpers/unrefNested.ts +14 -14
- package/shared/modules/dynamic/helpers/unwrapInterpolation.ts +16 -16
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +69 -31
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +169 -202
- package/shared/modules/dynamic/types/index.ts +5 -0
- package/shared/pages/ChangePasswordPage/components/change-password/index.ts +3 -3
- package/shared/pages/ChangePasswordPage/components/index.ts +1 -1
- package/shared/pages/ChangePasswordPage/index.ts +1 -1
- package/shared/pages/ChangePasswordPage/plugin.ts +4 -4
- package/shared/pages/InvitePage/components/index.ts +1 -1
- package/shared/pages/InvitePage/components/invite/Invite.vue +216 -216
- package/shared/pages/InvitePage/components/invite/index.ts +3 -3
- package/shared/pages/InvitePage/index.ts +1 -1
- package/shared/pages/InvitePage/plugin.ts +4 -4
- package/shared/pages/LoginPage/components/index.ts +1 -1
- package/shared/pages/LoginPage/components/login/Login.vue +1 -3
- package/shared/pages/LoginPage/components/login/index.ts +3 -3
- package/shared/pages/LoginPage/index.ts +1 -1
- package/shared/pages/LoginPage/plugin.ts +4 -4
- package/shared/pages/ResetPasswordPage/components/index.ts +1 -1
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +1 -1
- package/shared/pages/ResetPasswordPage/components/reset-password/index.ts +3 -3
- package/shared/pages/ResetPasswordPage/index.ts +1 -1
- package/shared/pages/ResetPasswordPage/plugin.ts +4 -4
- package/shared/pages/index.ts +4 -4
- package/shared/pages/plugin.ts +4 -4
- package/shared/utilities/assets.ts +42 -42
- package/shared/utilities/vueUtils.ts +50 -50
- package/tailwind.config.ts +5 -4
- package/ui/components/atoms/vc-badge/index.ts +1 -1
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +53 -53
- package/ui/components/atoms/vc-badge/vc-badge.vue +32 -15
- package/ui/components/atoms/vc-button/vc-button.stories.ts +1 -16
- package/ui/components/atoms/vc-button/vc-button.vue +80 -66
- package/ui/components/atoms/vc-card/index.ts +3 -3
- package/ui/components/atoms/vc-card/vc-card.stories.ts +1 -1
- package/ui/components/atoms/vc-card/vc-card.vue +18 -16
- package/ui/components/atoms/vc-col/index.ts +1 -1
- package/ui/components/atoms/vc-col/vc-col.stories.ts +22 -22
- package/ui/components/atoms/vc-col/vc-col.vue +29 -29
- package/ui/components/atoms/vc-container/index.ts +10 -10
- package/ui/components/atoms/vc-container/vc-container.stories.ts +29 -29
- package/ui/components/atoms/vc-hint/index.ts +10 -10
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +23 -23
- package/ui/components/atoms/vc-hint/vc-hint.vue +1 -1
- package/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue +15 -0
- package/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue +20 -0
- package/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue +13 -0
- package/ui/components/atoms/vc-icon/icons/BellIcon.vue +14 -0
- package/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue +13 -0
- package/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue +13 -0
- package/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue +13 -0
- package/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue +13 -0
- package/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue +16 -0
- package/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue +20 -0
- package/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue +14 -0
- package/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue +14 -0
- package/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue +27 -0
- package/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue +22 -0
- package/ui/components/atoms/vc-icon/icons/LogoutIcon.vue +13 -0
- package/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue +20 -0
- package/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue +14 -0
- package/ui/components/atoms/vc-icon/icons/OffersIcon.vue +23 -0
- package/ui/components/atoms/vc-icon/icons/OrdersIcon.vue +19 -0
- package/ui/components/atoms/vc-icon/icons/PeopleIcon.vue +21 -0
- package/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue +20 -0
- package/ui/components/atoms/vc-icon/icons/ProductsIcon.vue +23 -0
- package/ui/components/atoms/vc-icon/icons/ProfileIcon.vue +18 -0
- package/ui/components/atoms/vc-icon/icons/SearchIcon.vue +14 -0
- package/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue +21 -0
- package/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue +16 -0
- package/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue +26 -0
- package/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue +19 -0
- package/ui/components/atoms/vc-icon/icons/index.ts +27 -0
- package/ui/components/atoms/vc-icon/index.ts +1 -0
- package/ui/components/atoms/vc-icon/vc-icon.vue +62 -10
- package/ui/components/atoms/vc-image/index.ts +1 -1
- package/ui/components/atoms/vc-image/vc-image.stories.ts +85 -85
- package/ui/components/atoms/vc-image/vc-image.vue +1 -1
- package/ui/components/atoms/vc-label/index.ts +1 -1
- package/ui/components/atoms/vc-label/vc-label.stories.ts +31 -31
- package/ui/components/atoms/vc-label/vc-label.vue +12 -1
- package/ui/components/atoms/vc-link/index.ts +10 -10
- package/ui/components/atoms/vc-link/vc-link.stories.ts +37 -37
- package/ui/components/atoms/vc-link/vc-link.vue +54 -54
- package/ui/components/atoms/vc-loading/index.ts +3 -3
- package/ui/components/atoms/vc-loading/vc-loading.stories.ts +18 -18
- package/ui/components/atoms/vc-loading/vc-loading.vue +58 -58
- package/ui/components/atoms/vc-progress/index.ts +10 -10
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +30 -30
- package/ui/components/atoms/vc-progress/vc-progress.vue +1 -1
- package/ui/components/atoms/vc-row/index.ts +1 -1
- package/ui/components/atoms/vc-row/vc-row.stories.ts +20 -20
- package/ui/components/atoms/vc-row/vc-row.vue +22 -22
- package/ui/components/atoms/vc-skeleton/vc-skeleton.vue +51 -0
- package/ui/components/atoms/vc-status/index.ts +1 -1
- package/ui/components/atoms/vc-status/vc-status.stories.ts +85 -85
- package/ui/components/atoms/vc-status/vc-status.vue +64 -17
- package/ui/components/atoms/vc-status-icon/index.ts +1 -1
- package/ui/components/atoms/vc-switch/index.ts +1 -1
- package/ui/components/atoms/vc-switch/vc-switch.vue +5 -7
- package/ui/components/atoms/vc-tooltip/index.ts +1 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +28 -13
- package/ui/components/atoms/vc-video/index.ts +1 -1
- package/ui/components/atoms/vc-video/vc-video.stories.ts +19 -19
- package/ui/components/atoms/vc-widget/index.ts +3 -3
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +20 -20
- package/ui/components/atoms/vc-widget/vc-widget.vue +86 -59
- package/ui/components/index.ts +2 -0
- package/ui/components/molecules/index.ts +16 -16
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +89 -92
- package/ui/components/molecules/vc-breadcrumbs/index.ts +1 -1
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +43 -43
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +157 -121
- package/ui/components/molecules/vc-checkbox/index.ts +3 -3
- package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +84 -84
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +185 -119
- package/ui/components/molecules/vc-editor/index.ts +1 -1
- package/ui/components/molecules/vc-editor/vc-editor.stories.ts +29 -29
- package/ui/components/molecules/vc-editor/vc-editor.vue +33 -3
- package/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue +96 -96
- package/ui/components/molecules/vc-field/index.ts +1 -1
- package/ui/components/molecules/vc-field/vc-field.stories.ts +114 -114
- package/ui/components/molecules/vc-field/vc-field.vue +1 -1
- package/ui/components/molecules/vc-file-upload/index.ts +1 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +39 -39
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
- package/ui/components/molecules/vc-form/index.ts +10 -10
- package/ui/components/molecules/vc-form/vc-form.stories.ts +25 -25
- package/ui/components/molecules/vc-form/vc-form.vue +5 -5
- package/ui/components/molecules/vc-input/index.ts +1 -1
- package/ui/components/molecules/vc-input/vc-input.stories.ts +165 -165
- package/ui/components/molecules/vc-input/vc-input.vue +57 -13
- package/ui/components/molecules/vc-input-currency/index.ts +1 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +83 -83
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +20 -0
- package/ui/components/molecules/vc-multivalue/index.ts +1 -1
- package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +120 -120
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +69 -16
- package/ui/components/molecules/vc-notification/index.ts +1 -1
- package/ui/components/molecules/vc-notification/vc-notification.vue +1 -1
- package/ui/components/molecules/vc-pagination/index.ts +3 -3
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +24 -24
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +48 -110
- package/ui/components/molecules/vc-radio-button/index.ts +1 -1
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +97 -97
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +13 -8
- package/ui/components/molecules/vc-rating/index.ts +1 -1
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +59 -59
- package/ui/components/molecules/vc-select/index.ts +1 -1
- package/ui/components/molecules/vc-select/vc-select.stories.ts +685 -685
- package/ui/components/molecules/vc-select/vc-select.vue +81 -25
- package/ui/components/molecules/vc-slider/index.ts +13 -13
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +61 -61
- package/ui/components/molecules/vc-slider/vc-slider.vue +118 -118
- package/ui/components/molecules/vc-textarea/index.ts +1 -1
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +53 -53
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +37 -8
- package/ui/components/organisms/index.ts +7 -7
- package/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.ts +97 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue +48 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +173 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue +102 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue +90 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue +163 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetsMenu.vue +110 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +172 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarMobileActions.ts +51 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarWidgets.ts +27 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useToggleableContent.ts +66 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +373 -146
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +188 -120
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +86 -131
- package/ui/components/organisms/vc-app/vc-app.stories.ts +214 -214
- package/ui/components/organisms/vc-app/vc-app.vue +135 -97
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +139 -90
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue +136 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/{vc-blade-toolbar-button → vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button}/vc-blade-toolbar-button.vue +62 -86
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue +101 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue +182 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue +146 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/vc-blade-toolbar-buttons.vue +32 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +30 -48
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/index.ts +2 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue +96 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue +184 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue +113 -0
- package/ui/components/organisms/vc-blade/index.ts +1 -1
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +83 -83
- package/ui/components/organisms/vc-blade/vc-blade.vue +177 -117
- package/ui/components/organisms/vc-dynamic-property/index.ts +1 -1
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +163 -163
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +1 -1
- package/ui/components/organisms/vc-gallery/index.ts +1 -1
- package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +91 -91
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +348 -348
- package/ui/components/organisms/vc-login-form/index.ts +1 -1
- package/ui/components/organisms/vc-popup/index.ts +3 -3
- package/ui/components/organisms/vc-popup/vc-popup.vue +3 -3
- package/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue +63 -63
- package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue +21 -17
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +8 -7
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +4 -3
- package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +4 -3
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue +133 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue +250 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue +238 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-select-all-header/vc-table-select-all-header.vue +54 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue +214 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue +2 -7
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +84 -45
- package/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue +62 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue +160 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +47 -69
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue +386 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue +118 -0
- package/ui/components/organisms/vc-table/composables/useTableActions.ts +56 -0
- package/ui/components/organisms/vc-table/composables/useTableColumnReorder.ts +255 -0
- package/ui/components/organisms/vc-table/composables/useTableColumnResize.ts +147 -0
- package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +175 -0
- package/ui/components/organisms/vc-table/composables/useTableSelection.ts +118 -0
- package/ui/components/organisms/vc-table/composables/useTableState.ts +230 -0
- package/ui/components/organisms/vc-table/composables/useTableSwipe.ts +32 -0
- package/ui/components/organisms/vc-table/index.ts +1 -1
- package/ui/components/organisms/vc-table/vc-table.stories.ts +214 -214
- package/ui/components/organisms/vc-table/vc-table.vue +288 -1311
- package/ui/composables/useVisibleElements.ts +148 -0
- package/dist/index-DK6ijkM9.js +0 -598
- package/dist/index-DiJJUsG2.js +0 -243
- package/dist/index-PaekRinB.js +0 -312
- package/dist/index-lnO7rLKk.js +0 -135
- package/dist/shared/components/app-bar-button/app-bar-button.vue.d.ts.map +0 -1
- package/dist/shared/components/app-bar-button/index.d.ts +0 -2
- package/dist/shared/components/app-bar-button/index.d.ts.map +0 -1
- package/dist/shared/components/blade-navigation/injectionKeys.d.ts +0 -4
- package/dist/shared/components/blade-navigation/injectionKeys.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +0 -1
- package/shared/components/app-bar-button/app-bar-button.vue +0 -169
- package/shared/components/app-bar-button/index.ts +0 -1
- package/shared/components/blade-navigation/injectionKeys.ts +0 -4
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ComputedRef, ref, computed, Component, MaybeRef, Ref } from "vue";
|
|
2
|
+
|
|
3
|
+
export interface AppBarButtonContent {
|
|
4
|
+
id: string;
|
|
5
|
+
component?: Component;
|
|
6
|
+
props?: Record<string, unknown>;
|
|
7
|
+
icon?: Component;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
order?: number;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
isVisible?: MaybeRef<boolean> | ComputedRef<boolean>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface IAppBarMobileButtonsService {
|
|
15
|
+
registeredButtons: ComputedRef<AppBarButtonContent[]>;
|
|
16
|
+
register: (button: AppBarButtonContent) => void;
|
|
17
|
+
unregister: (buttonId: string) => void;
|
|
18
|
+
getButton: (buttonId: string) => AppBarButtonContent | undefined;
|
|
19
|
+
getButtons: ComputedRef<AppBarButtonContent[]>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Creates a service for managing mobile AppBar buttons
|
|
24
|
+
* Handles button registration and retrieval for mobile app bar
|
|
25
|
+
*/
|
|
26
|
+
export function createAppBarMobileButtonsService(): IAppBarMobileButtonsService {
|
|
27
|
+
const registeredButtonsState = ref<AppBarButtonContent[]>([]) as Ref<AppBarButtonContent[]>;
|
|
28
|
+
const registeredButtons = computed(() => registeredButtonsState.value);
|
|
29
|
+
|
|
30
|
+
const register = (button: AppBarButtonContent) => {
|
|
31
|
+
const existingButtonIndex = registeredButtonsState.value.findIndex((b) => b.id === button.id);
|
|
32
|
+
|
|
33
|
+
if (existingButtonIndex >= 0) {
|
|
34
|
+
registeredButtonsState.value[existingButtonIndex] = button;
|
|
35
|
+
} else {
|
|
36
|
+
registeredButtonsState.value.push(button);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const unregister = (buttonId: string) => {
|
|
41
|
+
registeredButtonsState.value = registeredButtonsState.value.filter((button) => button.id !== buttonId);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const getButton = (buttonId: string) => {
|
|
45
|
+
return registeredButtonsState.value.find((button) => button.id === buttonId);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const getButtons = computed(() => [...registeredButtonsState.value].sort((a, b) => (a.order || 0) - (b.order || 0)));
|
|
49
|
+
|
|
50
|
+
return {
|
|
51
|
+
registeredButtons,
|
|
52
|
+
register,
|
|
53
|
+
unregister,
|
|
54
|
+
getButton,
|
|
55
|
+
getButtons,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { reactive, Component } from "vue";
|
|
2
|
+
import { DashboardServiceKey } from "../../injection-keys";
|
|
3
|
+
import { usePermissions } from "../composables/usePermissions";
|
|
4
|
+
|
|
5
|
+
export interface DashboardWidgetSize {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface DashboardWidgetPosition {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface DashboardWidget {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
component: Component;
|
|
19
|
+
size: DashboardWidgetSize;
|
|
20
|
+
position?: DashboardWidgetPosition;
|
|
21
|
+
permissions?: string[];
|
|
22
|
+
props?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface IDashboardService {
|
|
26
|
+
registerWidget: (widget: DashboardWidget) => void;
|
|
27
|
+
getWidgets: () => DashboardWidget[];
|
|
28
|
+
updateWidgetPosition: (widgetId: string, position: DashboardWidgetPosition) => void;
|
|
29
|
+
getLayout: () => Map<string, DashboardWidgetPosition>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Global state for pre-registering widgets
|
|
33
|
+
const preregisteredWidgets: DashboardWidget[] = [];
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Registers a widget before the service is initialized
|
|
37
|
+
*/
|
|
38
|
+
export function registerDashboardWidget(widget: DashboardWidget): void {
|
|
39
|
+
const existingWidget = preregisteredWidgets.find((w) => w.id === widget.id);
|
|
40
|
+
if (!existingWidget) {
|
|
41
|
+
preregisteredWidgets.push(widget);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const createState = () => ({
|
|
46
|
+
widgets: reactive<Map<string, DashboardWidget>>(new Map()),
|
|
47
|
+
layout: reactive<Map<string, DashboardWidgetPosition>>(new Map()),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Creates a service for managing dashboard widgets
|
|
52
|
+
*/
|
|
53
|
+
export function createDashboardService(): IDashboardService {
|
|
54
|
+
const state = createState();
|
|
55
|
+
const { hasAccess } = usePermissions();
|
|
56
|
+
|
|
57
|
+
const registerWidget = (widget: DashboardWidget): void => {
|
|
58
|
+
if (state.widgets.has(widget.id)) {
|
|
59
|
+
throw new Error(`Widget with id ${widget.id} already registered`);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
state.widgets.set(widget.id, widget);
|
|
63
|
+
|
|
64
|
+
// If the position is not specified, add the widget to the end
|
|
65
|
+
if (!widget.position) {
|
|
66
|
+
const lastWidget = Array.from(state.layout.values()).reduce((max, pos) => {
|
|
67
|
+
return pos.y > max ? pos.y : max;
|
|
68
|
+
}, 0);
|
|
69
|
+
|
|
70
|
+
state.layout.set(widget.id, {
|
|
71
|
+
x: 0,
|
|
72
|
+
y: lastWidget + 1,
|
|
73
|
+
});
|
|
74
|
+
} else {
|
|
75
|
+
state.layout.set(widget.id, widget.position);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Returns a list of widgets with access rights
|
|
81
|
+
*/
|
|
82
|
+
const getWidgets = (): DashboardWidget[] => {
|
|
83
|
+
return Array.from(state.widgets.values()).filter((widget) => {
|
|
84
|
+
// If the widget has no permissions requirements, show it to everyone
|
|
85
|
+
if (!widget.permissions || widget.permissions.length === 0) {
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Check if the user has the necessary permissions
|
|
90
|
+
return hasAccess(widget.permissions);
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
const updateWidgetPosition = (widgetId: string, position: DashboardWidgetPosition): void => {
|
|
95
|
+
if (!state.widgets.has(widgetId)) {
|
|
96
|
+
throw new Error(`Widget with id ${widgetId} not found`);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
state.layout.set(widgetId, position);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
const getLayout = (): Map<string, DashboardWidgetPosition> => {
|
|
103
|
+
return state.layout;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
// Register pre-registered widgets
|
|
107
|
+
preregisteredWidgets.forEach((widget) => {
|
|
108
|
+
try {
|
|
109
|
+
registerWidget(widget);
|
|
110
|
+
} catch (e) {
|
|
111
|
+
console.warn(`Failed to register preregistered widget ${widget.id}:`, e);
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
return {
|
|
116
|
+
registerWidget,
|
|
117
|
+
getWidgets,
|
|
118
|
+
updateWidgetPosition,
|
|
119
|
+
getLayout,
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Ref, ref } from "vue";
|
|
2
|
+
|
|
3
|
+
export interface GlobalSearchState {
|
|
4
|
+
isSearchVisible: Ref<Record<string, boolean>>;
|
|
5
|
+
searchQuery: Ref<Record<string, string>>;
|
|
6
|
+
toggleSearch: (bladeId: string) => void;
|
|
7
|
+
setSearchQuery: (bladeId: string, query: string) => void;
|
|
8
|
+
closeSearch: (bladeId: string) => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function createGlobalSearchService() {
|
|
12
|
+
const isSearchVisible = ref<Record<string, boolean>>({});
|
|
13
|
+
const searchQuery = ref<Record<string, string>>({});
|
|
14
|
+
|
|
15
|
+
const toggleSearch = (bladeId: string) => {
|
|
16
|
+
isSearchVisible.value[bladeId] = !isSearchVisible.value[bladeId];
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const setSearchQuery = (bladeId: string, query: string) => {
|
|
20
|
+
searchQuery.value[bladeId] = query;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const closeSearch = (bladeId: string) => {
|
|
24
|
+
isSearchVisible.value[bladeId] = false;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const state: GlobalSearchState = {
|
|
28
|
+
isSearchVisible,
|
|
29
|
+
searchQuery,
|
|
30
|
+
toggleSearch,
|
|
31
|
+
setSearchQuery,
|
|
32
|
+
closeSearch,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
return state;
|
|
36
|
+
}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { Component, computed, ComputedRef, ref, watch, type Ref } from "vue";
|
|
2
|
+
import * as _ from "lodash-es";
|
|
3
|
+
import { i18n } from "./../plugins/i18n";
|
|
4
|
+
import type { MenuItem } from "../types";
|
|
5
|
+
import { createUnrefFn, useArrayFind } from "@vueuse/core";
|
|
6
|
+
|
|
7
|
+
// Global state for pre-registering menu items
|
|
8
|
+
const preregisteredMenuItems: Ref<MenuItem[]> = ref([]);
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Registers a menu item before the service is initialized
|
|
12
|
+
*/
|
|
13
|
+
export function addMenuItem(item: MenuItem): void {
|
|
14
|
+
preregisteredMenuItems.value.push(item);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface MenuService {
|
|
18
|
+
addMenuItem: (item: MenuItem) => void;
|
|
19
|
+
menuItems: Ref<MenuItem[]>;
|
|
20
|
+
removeMenuItem: (item: MenuItem) => void;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Default priority values
|
|
24
|
+
const DEFAULT_PRIORITY = Infinity;
|
|
25
|
+
const DEFAULT_GROUP_PRIORITY = Infinity;
|
|
26
|
+
|
|
27
|
+
// State
|
|
28
|
+
const menuItems: Ref<MenuItem[]> = ref([]);
|
|
29
|
+
const rawMenu: Ref<MenuItem[]> = ref([]);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Menu service implementation
|
|
33
|
+
* Handles the registration and organization of menu items
|
|
34
|
+
*/
|
|
35
|
+
export function createMenuService(): MenuService {
|
|
36
|
+
const { t } = i18n.global;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Add a new menu item to the raw menu and rebuild the menu structure
|
|
40
|
+
* @param item - The menu item to add
|
|
41
|
+
*/
|
|
42
|
+
function addMenuItem(item: MenuItem): void {
|
|
43
|
+
rawMenu.value.push(item);
|
|
44
|
+
constructMenu();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Removes a menu item from the menu
|
|
49
|
+
* @param item - The menu item to remove
|
|
50
|
+
*/
|
|
51
|
+
function removeMenuItem(item: MenuItem): void {
|
|
52
|
+
const index = menuItems.value.indexOf(item);
|
|
53
|
+
if (index !== -1) {
|
|
54
|
+
menuItems.value.splice(index, 1);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Updates an element in an array or adds it if not found
|
|
60
|
+
*/
|
|
61
|
+
const upsert = createUnrefFn(
|
|
62
|
+
(array: (MenuItem | Omit<MenuItem, "icon">)[], element: MenuItem | Omit<MenuItem, "icon">) => {
|
|
63
|
+
const index = array.findIndex((_element) => _.isEqual(_.omit(_element, "title"), _.omit(element, "title")));
|
|
64
|
+
if (index > -1) {
|
|
65
|
+
array[index] = { ...element };
|
|
66
|
+
} else {
|
|
67
|
+
array.push({ ...element });
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Sorts menu items by their priority
|
|
74
|
+
*/
|
|
75
|
+
function sortByPriority(a: MenuItem, b: MenuItem): number {
|
|
76
|
+
const getPriority = (item: MenuItem): number => item.priority ?? DEFAULT_PRIORITY;
|
|
77
|
+
return getPriority(a) - getPriority(b);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Sorts items within a group by their inGroupPriority / priority
|
|
82
|
+
*/
|
|
83
|
+
function sortByGroupPriority(a: MenuItem, b: MenuItem): number {
|
|
84
|
+
const getGroupPriority = (item: MenuItem): number =>
|
|
85
|
+
item.inGroupPriority ?? item.priority ?? DEFAULT_GROUP_PRIORITY;
|
|
86
|
+
return getGroupPriority(a) - getGroupPriority(b);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Creates a localized ID from a title
|
|
91
|
+
*/
|
|
92
|
+
function createItemId(title: string | ComputedRef<string>): string {
|
|
93
|
+
const titleValue = typeof title === "string" ? t(title) : title.value;
|
|
94
|
+
return _.snakeCase(titleValue);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Creates a localized computed title
|
|
99
|
+
*/
|
|
100
|
+
function createLocalizedTitle(title: string): ComputedRef<string> {
|
|
101
|
+
return computed(() => t(title));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Processes a menu item that belongs to a group
|
|
106
|
+
*/
|
|
107
|
+
function processGroupItem(item: MenuItem, constructedMenu: Ref<MenuItem[]>): void {
|
|
108
|
+
// Skip if no group information provided
|
|
109
|
+
if (!item.group && !item.groupConfig) return;
|
|
110
|
+
|
|
111
|
+
let groupId: string;
|
|
112
|
+
let groupTitle: string;
|
|
113
|
+
let groupIcon: string | Component | undefined;
|
|
114
|
+
let groupPriority: number | undefined;
|
|
115
|
+
let groupPermissions: string | string[] | undefined;
|
|
116
|
+
|
|
117
|
+
// Prefer groupConfig over legacy group properties
|
|
118
|
+
if (item.groupConfig) {
|
|
119
|
+
// Use the explicit group ID from groupConfig
|
|
120
|
+
groupId = item.groupConfig.id;
|
|
121
|
+
groupTitle = item.groupConfig.title || groupId;
|
|
122
|
+
groupIcon = item.groupConfig.icon;
|
|
123
|
+
groupPriority = item.groupConfig.priority;
|
|
124
|
+
groupPermissions = item.groupConfig.permissions;
|
|
125
|
+
} else {
|
|
126
|
+
// Fallback to legacy group properties
|
|
127
|
+
groupId = "group_" + createItemId(item.group as string);
|
|
128
|
+
groupTitle = item.group as string;
|
|
129
|
+
groupIcon = item.groupIcon;
|
|
130
|
+
groupPriority = item.priority; // Use item priority as group priority for legacy
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
const existingGroup = useArrayFind(constructedMenu, (m) => m.groupId === groupId);
|
|
134
|
+
|
|
135
|
+
// Create the item to be added to the group
|
|
136
|
+
const groupItem = {
|
|
137
|
+
..._.omit(item, ["group", "groupIcon", "groupPriority", "groupConfig"]),
|
|
138
|
+
title: createLocalizedTitle(item.title as string),
|
|
139
|
+
} as MenuItem;
|
|
140
|
+
|
|
141
|
+
if (existingGroup.value && existingGroup.value.children) {
|
|
142
|
+
// Add to existing group
|
|
143
|
+
upsert(existingGroup.value.children, groupItem);
|
|
144
|
+
|
|
145
|
+
// Update existing group properties if using groupConfig
|
|
146
|
+
if (item.groupConfig) {
|
|
147
|
+
if (item.groupConfig.title) {
|
|
148
|
+
existingGroup.value.title = createLocalizedTitle(item.groupConfig.title);
|
|
149
|
+
}
|
|
150
|
+
if (item.groupConfig.icon !== undefined) {
|
|
151
|
+
existingGroup.value.groupIcon = item.groupConfig.icon;
|
|
152
|
+
}
|
|
153
|
+
if (item.groupConfig.priority !== undefined) {
|
|
154
|
+
existingGroup.value.priority = item.groupConfig.priority;
|
|
155
|
+
}
|
|
156
|
+
if (item.groupConfig.permissions !== undefined) {
|
|
157
|
+
existingGroup.value.permissions = item.groupConfig.permissions;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
} else {
|
|
161
|
+
// Create a new group with this item
|
|
162
|
+
const group = {
|
|
163
|
+
groupId,
|
|
164
|
+
groupIcon: groupIcon ?? "",
|
|
165
|
+
title: createLocalizedTitle(groupTitle),
|
|
166
|
+
children: [groupItem],
|
|
167
|
+
priority: groupPriority ?? item.priority ?? DEFAULT_PRIORITY,
|
|
168
|
+
permissions: groupPermissions,
|
|
169
|
+
} as MenuItem;
|
|
170
|
+
upsert(constructedMenu.value, group);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Processes a standalone menu item (not in a group)
|
|
176
|
+
*/
|
|
177
|
+
function processStandaloneItem(item: MenuItem, constructedMenu: Ref<MenuItem[]>): void {
|
|
178
|
+
if (item.title) {
|
|
179
|
+
const standaloneItem = {
|
|
180
|
+
...item,
|
|
181
|
+
title: createLocalizedTitle(item.title as string),
|
|
182
|
+
} as MenuItem;
|
|
183
|
+
upsert(constructedMenu.value, standaloneItem);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Finalizes menu items by adding IDs and sorting children
|
|
189
|
+
*/
|
|
190
|
+
function finalizeMenuItems(items: MenuItem[]): MenuItem[] {
|
|
191
|
+
return items
|
|
192
|
+
.map(
|
|
193
|
+
(item): MenuItem => ({
|
|
194
|
+
...item,
|
|
195
|
+
title: createLocalizedTitle(item.title as string),
|
|
196
|
+
id: item.id || createItemId(item.title as ComputedRef<string>),
|
|
197
|
+
children: item.children?.sort(sortByGroupPriority),
|
|
198
|
+
}),
|
|
199
|
+
)
|
|
200
|
+
.sort(sortByPriority);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Constructs the complete menu structure from raw menu items
|
|
205
|
+
*/
|
|
206
|
+
function constructMenu(): void {
|
|
207
|
+
const constructedMenu: Ref<MenuItem[]> = ref([]);
|
|
208
|
+
|
|
209
|
+
// Process each raw menu item
|
|
210
|
+
rawMenu.value.forEach((item) => {
|
|
211
|
+
if (item.group || item.groupConfig) {
|
|
212
|
+
processGroupItem(item, constructedMenu);
|
|
213
|
+
} else {
|
|
214
|
+
processStandaloneItem(item, constructedMenu);
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
// Finalize and set the menu items
|
|
219
|
+
menuItems.value = finalizeMenuItems(constructedMenu.value);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
preregisteredMenuItems.value.forEach((item) => {
|
|
223
|
+
try {
|
|
224
|
+
addMenuItem(item);
|
|
225
|
+
} catch (e) {
|
|
226
|
+
console.warn(`Failed to register preregistered menu item ${item.id || item.title}:`, e);
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
return {
|
|
231
|
+
addMenuItem,
|
|
232
|
+
menuItems,
|
|
233
|
+
removeMenuItem,
|
|
234
|
+
};
|
|
235
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ref, computed, Component, ComputedRef } from "vue";
|
|
2
|
+
|
|
3
|
+
export interface SettingsMenuItem {
|
|
4
|
+
id: string;
|
|
5
|
+
order?: number;
|
|
6
|
+
component: Component;
|
|
7
|
+
props?: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface RegisterSettingsMenuItemOptions extends Omit<SettingsMenuItem, "id"> {
|
|
11
|
+
id?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface ISettingsMenuService {
|
|
15
|
+
register: (options: RegisterSettingsMenuItemOptions) => string;
|
|
16
|
+
unregister: (id: string) => void;
|
|
17
|
+
items: ComputedRef<SettingsMenuItem[]>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Global state for pre-registering settings menu items
|
|
21
|
+
const preregisteredSettingsMenuItems: SettingsMenuItem[] = [];
|
|
22
|
+
const settingsMenuItems = ref<Map<string, SettingsMenuItem>>(new Map());
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Registers a settings menu item before the service is initialized
|
|
26
|
+
*/
|
|
27
|
+
export function addSettingsMenuItem(item: RegisterSettingsMenuItemOptions): void {
|
|
28
|
+
const id = item.id || crypto.randomUUID();
|
|
29
|
+
preregisteredSettingsMenuItems.push({
|
|
30
|
+
id,
|
|
31
|
+
order: item.order ?? preregisteredSettingsMenuItems.length,
|
|
32
|
+
component: item.component,
|
|
33
|
+
props: item.props,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Creates a settings menu service
|
|
39
|
+
* Manages the registration and organization of settings menu items
|
|
40
|
+
*/
|
|
41
|
+
export function createSettingsMenuService(): ISettingsMenuService {
|
|
42
|
+
const register = (options: RegisterSettingsMenuItemOptions): string => {
|
|
43
|
+
const id = options.id || crypto.randomUUID();
|
|
44
|
+
settingsMenuItems.value.set(id, {
|
|
45
|
+
id,
|
|
46
|
+
order: options.order ?? settingsMenuItems.value.size,
|
|
47
|
+
component: options.component,
|
|
48
|
+
props: options.props,
|
|
49
|
+
});
|
|
50
|
+
return id;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const unregister = (id: string): void => {
|
|
54
|
+
settingsMenuItems.value.delete(id);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const items = computed<SettingsMenuItem[]>(() => {
|
|
58
|
+
return Array.from(settingsMenuItems.value.values()).sort((a, b) => (a.order ?? 0) - (b.order ?? 0));
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
// Register pre-added settings menu items
|
|
62
|
+
preregisteredSettingsMenuItems.forEach((item) => {
|
|
63
|
+
try {
|
|
64
|
+
register(item);
|
|
65
|
+
} catch (e) {
|
|
66
|
+
console.warn(`Failed to register pre-added settings menu item ${item.id}:`, e);
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
register,
|
|
72
|
+
unregister,
|
|
73
|
+
items,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { ConcreteComponent, reactive, ref, ComponentInternalInstance } from "vue";
|
|
2
|
+
|
|
3
|
+
export type WidgetEventHandler = (...args: unknown[]) => void;
|
|
4
|
+
|
|
5
|
+
export interface IWidgetEvents {
|
|
6
|
+
[key: string]: Set<WidgetEventHandler>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface IWidget {
|
|
10
|
+
id: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
component: ConcreteComponent;
|
|
13
|
+
props?: Record<string, unknown>;
|
|
14
|
+
events?: Record<string, unknown>;
|
|
15
|
+
onOpen?: (blade: { id: string }) => void;
|
|
16
|
+
onClose?: (blade: { id: string }) => void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface IWidgetRegistration {
|
|
20
|
+
bladeId: string;
|
|
21
|
+
widget: IWidget;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IWidgetService {
|
|
25
|
+
registerWidget: (widget: IWidget, bladeId: string) => void;
|
|
26
|
+
unregisterWidget: (widgetId: string, bladeId: string) => void;
|
|
27
|
+
getWidgets: (bladeId: string) => IWidget[];
|
|
28
|
+
clearBladeWidgets: (bladeId: string) => void;
|
|
29
|
+
registeredWidgets: IWidgetRegistration[];
|
|
30
|
+
isActiveWidget: (id: string) => boolean;
|
|
31
|
+
setActiveWidget: (ref: ComponentInternalInstance["exposed"]) => void;
|
|
32
|
+
updateActiveWidget: () => void;
|
|
33
|
+
isWidgetRegistered: (id: string) => boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Global state for pre-registering widgets
|
|
37
|
+
const preregisteredWidgets: IWidgetRegistration[] = [];
|
|
38
|
+
const preregisteredIds = new Set<string>();
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Registers a widget before the service is initialized
|
|
42
|
+
*/
|
|
43
|
+
export function registerWidget(widget: IWidget, bladeId: string): void {
|
|
44
|
+
preregisteredWidgets.push({ bladeId, widget });
|
|
45
|
+
preregisteredIds.add(widget.id);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function createWidgetService(): IWidgetService {
|
|
49
|
+
const widgetRegistry = reactive<Record<string, IWidget[]>>({});
|
|
50
|
+
const registeredWidgets = reactive<IWidgetRegistration[]>([]);
|
|
51
|
+
const activeWidgetRef = ref();
|
|
52
|
+
const registeredIds = reactive(new Set<string>());
|
|
53
|
+
|
|
54
|
+
const registerWidget = (widget: IWidget, bladeId: string): void => {
|
|
55
|
+
if (!widgetRegistry[bladeId]) {
|
|
56
|
+
widgetRegistry[bladeId] = [];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const existingIndex = widgetRegistry[bladeId].findIndex((w) => w.id === widget.id);
|
|
60
|
+
if (existingIndex === -1) {
|
|
61
|
+
widgetRegistry[bladeId].push(widget);
|
|
62
|
+
registeredWidgets.push({ bladeId, widget });
|
|
63
|
+
registeredIds.add(widget.id);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const unregisterWidget = (widgetId: string, bladeId: string): void => {
|
|
68
|
+
if (widgetRegistry[bladeId]) {
|
|
69
|
+
const index = widgetRegistry[bladeId].findIndex((w) => w.id === widgetId);
|
|
70
|
+
if (index !== -1) {
|
|
71
|
+
widgetRegistry[bladeId].splice(index, 1);
|
|
72
|
+
registeredIds.delete(widgetId);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const regIndex = registeredWidgets.findIndex((w) => w.bladeId === bladeId && w.widget.id === widgetId);
|
|
77
|
+
if (regIndex !== -1) {
|
|
78
|
+
registeredWidgets.splice(regIndex, 1);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const getWidgets = (bladeId: string): IWidget[] => {
|
|
83
|
+
return widgetRegistry[bladeId] || [];
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
const clearBladeWidgets = (bladeId: string): void => {
|
|
87
|
+
if (widgetRegistry[bladeId]) {
|
|
88
|
+
widgetRegistry[bladeId].forEach((widget) => {
|
|
89
|
+
registeredIds.delete(widget.id);
|
|
90
|
+
});
|
|
91
|
+
delete widgetRegistry[bladeId];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const indices = registeredWidgets
|
|
95
|
+
.map((w, i) => (w.bladeId === bladeId ? i : -1))
|
|
96
|
+
.filter((i) => i !== -1)
|
|
97
|
+
.reverse();
|
|
98
|
+
|
|
99
|
+
indices.forEach((index) => {
|
|
100
|
+
registeredWidgets.splice(index, 1);
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
const setActiveWidget = (ref: ComponentInternalInstance["exposed"]): void => {
|
|
105
|
+
activeWidgetRef.value = undefined;
|
|
106
|
+
|
|
107
|
+
activeWidgetRef.value = ref;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const updateActiveWidget = (): void => {
|
|
111
|
+
if (!activeWidgetRef.value) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
if (activeWidgetRef.value?.updateActiveWidgetCount) {
|
|
116
|
+
activeWidgetRef.value.updateActiveWidgetCount();
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const isWidgetRegistered = (id: string): boolean => {
|
|
121
|
+
return registeredIds.has(id);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const isActiveWidget = (id: string): boolean => {
|
|
125
|
+
return activeWidgetRef.value?.id === id;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
preregisteredWidgets.forEach((widget) => {
|
|
129
|
+
try {
|
|
130
|
+
registerWidget(widget.widget, widget.bladeId);
|
|
131
|
+
} catch (e) {
|
|
132
|
+
console.warn(`Failed to register preregistered widget ${widget.widget.id}:`, e);
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
return {
|
|
137
|
+
registerWidget,
|
|
138
|
+
unregisterWidget,
|
|
139
|
+
getWidgets,
|
|
140
|
+
clearBladeWidgets,
|
|
141
|
+
registeredWidgets,
|
|
142
|
+
isActiveWidget,
|
|
143
|
+
setActiveWidget,
|
|
144
|
+
updateActiveWidget,
|
|
145
|
+
isWidgetRegistered,
|
|
146
|
+
};
|
|
147
|
+
}
|