@vc-shell/framework 1.1.0-alpha.9 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/core/README.md +365 -0
- package/core/composables/index.ts +3 -0
- package/core/composables/useAppBarMobileButtons/index.ts +17 -0
- package/core/composables/useAppBarWidget/index.ts +19 -0
- package/core/composables/useGlobalSearch/index.ts +4 -27
- package/core/composables/useKeyboardNavigation/index.ts +211 -0
- package/core/composables/useSettingsMenu/index.ts +23 -0
- package/core/composables/useTheme/index.ts +64 -62
- package/core/composables/useToolbar.ts +88 -0
- package/core/services/app-bar-menu-service.ts +87 -0
- package/core/services/app-bar-mobile-buttons-service.ts +57 -0
- package/core/services/global-search-service.ts +36 -0
- package/core/services/index.ts +8 -0
- package/core/services/settings-menu-service.ts +75 -0
- package/core/services/toolbar-service.ts +141 -0
- package/core/services/widget-service.ts +15 -3
- package/core/types/index.ts +3 -6
- package/dist/core/composables/index.d.ts +3 -0
- 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/useAppInsights/index.d.ts.map +1 -1
- package/dist/core/composables/useBeforeUnload/index.d.ts.map +1 -1
- package/dist/core/composables/useGlobalSearch/index.d.ts +2 -8
- package/dist/core/composables/useGlobalSearch/index.d.ts.map +1 -1
- 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/useLanguages/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/useToolbar.d.ts +15 -0
- package/dist/core/composables/useToolbar.d.ts.map +1 -0
- package/dist/core/directives/autofocus/index.d.ts.map +1 -1
- package/dist/core/directives/loading/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts +1 -1
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/extensions-helper.d.ts.map +1 -1
- package/dist/core/plugins/validation/rules.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/global-search-service.d.ts +10 -0
- package/dist/core/services/global-search-service.d.ts.map +1 -0
- package/dist/core/services/index.d.ts +9 -0
- package/dist/core/services/index.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/toolbar-service.d.ts +29 -0
- package/dist/core/services/toolbar-service.d.ts.map +1 -0
- package/dist/core/services/widget-service.d.ts +7 -1
- package/dist/core/services/widget-service.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +3 -6
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/utilities/kebabToCamel.d.ts.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +6 -28
- package/dist/injection-keys.d.ts.map +1 -1
- package/dist/locales/de.json +3 -0
- package/dist/locales/en.json +3 -0
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +4 -25
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/index.d.ts +2 -2
- package/dist/shared/components/app-switcher/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +3 -14
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/shared/components/change-password/change-password.vue.d.ts +4 -13
- package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -1
- package/dist/shared/components/change-password/index.d.ts +2 -19
- package/dist/shared/components/change-password/index.d.ts.map +1 -1
- package/dist/shared/components/change-password-button/change-password-button.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +9 -19
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +9 -19
- package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +11 -21
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +9 -15
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/_internal/DashboardWidget.vue.d.ts +4 -13
- package/dist/shared/components/draggable-dashboard/_internal/DashboardWidget.vue.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useCollisionDetection.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +36 -38
- package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useDashboardGrid.d.ts +2 -2
- package/dist/shared/components/draggable-dashboard/composables/useEventCoordinates.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useGridPosition.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useGridSystem.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useLayoutPersistence.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useWidgetLayout.d.ts.map +1 -1
- package/dist/shared/components/error-interceptor/index.d.ts +9 -60
- package/dist/shared/components/error-interceptor/index.d.ts.map +1 -1
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts +27 -101
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/language-selector/index.d.ts +2 -1
- package/dist/shared/components/language-selector/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/logout-button.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +4 -13
- package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-dropdown/index.d.ts +2 -13
- package/dist/shared/components/notification-dropdown/index.d.ts.map +1 -1
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts +1 -27
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-template/index.d.ts +2 -62
- package/dist/shared/components/notification-template/index.d.ts.map +1 -1
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +7 -13
- 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 +18 -18
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/composables/useContainer/index.d.ts +8 -3
- package/dist/shared/components/notifications/composables/useContainer/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/composables/useInstance/index.d.ts +4 -2
- package/dist/shared/components/notifications/composables/useInstance/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/core/notification.d.ts +9 -2
- package/dist/shared/components/notifications/core/notification.d.ts.map +1 -1
- package/dist/shared/components/notifications/types/index.d.ts +3 -3
- package/dist/shared/components/notifications/types/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +2 -1
- package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -1
- package/dist/shared/components/settings-menu/settings-menu.vue.d.ts.map +1 -1
- package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts +20 -36
- package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
- package/dist/shared/components/sidebar/sidebar.vue.d.ts +19 -38
- package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -1
- package/dist/shared/components/sign-in/external-provider.vue.d.ts +4 -13
- package/dist/shared/components/sign-in/external-provider.vue.d.ts.map +1 -1
- package/dist/shared/components/sign-in/external-providers.vue.d.ts +1 -10
- package/dist/shared/components/sign-in/external-providers.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 +1 -10
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +7 -17
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/index.d.ts +2 -27
- 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 -10
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/composables/index.d.ts +2 -0
- package/dist/shared/composables/index.d.ts.map +1 -0
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +6 -29
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets/components/assets-details/index.d.ts +2 -1
- package/dist/shared/modules/assets/components/assets-details/index.d.ts.map +1 -1
- package/dist/shared/modules/assets/index.d.ts +3 -3
- 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 +9 -34
- 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 +2 -56
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/index.d.ts +2 -2
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +18 -18
- package/dist/shared/modules/dynamic/components/factories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +7 -76
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +4 -73
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +6 -76
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +4 -73
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +6 -75
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/props.d.ts +5 -74
- package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +12 -142
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceHighlighter.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/utils/sourceTransform.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useTableTemplates/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts +2 -2
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts +1 -1
- package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/getters.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/methodHandler.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/override.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/unrefNested.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +27 -50
- 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 +23 -47
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +10 -9
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts +2 -23
- package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
- package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts +2 -15
- package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts.map +1 -1
- package/dist/shared/pages/ChangePasswordPage/plugin.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +4 -32
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts +2 -50
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/plugin.d.ts +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +1 -10
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/index.d.ts +2 -41
- package/dist/shared/pages/LoginPage/components/login/index.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/plugin.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +4 -32
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +2 -50
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/plugin.d.ts +1 -1
- package/dist/shared/utilities/assets.d.ts.map +1 -1
- package/dist/shared/utilities/index.d.ts +3 -0
- package/dist/shared/utilities/index.d.ts.map +1 -0
- package/dist/tailwind.config.d.ts +3 -1
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/index.d.ts +1 -0
- package/dist/ui/components/atoms/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +21 -35
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +11 -36
- 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 -104
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +13 -36
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +7 -28
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/index.d.ts +6 -73
- package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +12 -18
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/index.d.ts +7 -20
- package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +7 -4
- package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ChevronDownIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ChevronLeftIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ChevronRightIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ChevronUpIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowLeftIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/DoubleArrowRightIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/FulfillmentCentersIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/GridDotsIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/OffersIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/OrdersIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/PeopleIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ProductsIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ProfileIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/SearchIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/ShoppingCardIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue.d.ts +7 -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 +5 -16
- package/dist/ui/components/atoms/vc-icon/icons/VertDotsIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +10 -0
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +11 -0
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts +3 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts +3 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +37 -28
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +12 -0
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +6 -33
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +24 -30
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/index.d.ts +6 -59
- package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +10 -16
- package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/index.d.ts +2 -9
- package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +1 -10
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts +6 -51
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +2 -25
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +5 -5
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-skeleton/index.d.ts +2 -0
- package/dist/ui/components/atoms/vc-skeleton/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +6 -31
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +8 -33
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts +1 -10
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +4 -27
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +10 -42
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +4 -13
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +2 -43
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +4 -13
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +1 -1
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +4 -13
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +11 -43
- 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 +2 -163
- package/dist/ui/components/molecules/vc-checkbox/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +13 -38
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +42 -51
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +13 -17
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +3 -28
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +10 -37
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-form/index.d.ts +7 -20
- package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +7 -4
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +19 -106
- 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.vue.d.ts +19 -68
- 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.vue.d.ts +10 -139
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +2 -41
- package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +5 -30
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +10 -28
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +8 -35
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +76 -495
- 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 +12 -98
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +16 -36
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +11 -33
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-toast/index.d.ts +2 -0
- package/dist/ui/components/molecules/vc-toast/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +18 -0
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.d.ts +8 -14
- package/dist/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts +13 -18
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts +16 -27
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue.d.ts +8 -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 +14 -21
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +34 -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 +15 -29
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
- 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 +8 -17
- 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 +4 -25
- 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 +5 -30
- 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 +5 -30
- 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/index.d.ts +0 -1
- package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +9 -20
- 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 +11 -16
- 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 +4 -31
- 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 -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-button.vue.d.ts +5 -40
- 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 -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-circle-button.vue.d.ts +2 -29
- 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 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue.d.ts +3 -14
- 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 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue.d.ts +3 -13
- 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 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/vc-blade-toolbar-buttons.vue.d.ts +3 -14
- 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 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +9 -27
- 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 +2 -2
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts +2 -11
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts +2 -11
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue.d.ts +1 -10
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +18 -77
- 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 +32 -109
- 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 +3 -40
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +5 -28
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +8 -45
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +7 -28
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +13 -42
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue.d.ts +4 -13
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +12 -18
- 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 +10 -18
- 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 +6 -23
- 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-counter/vc-table-counter.vue.d.ts +2 -25
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +27 -186
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts +26 -90
- 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 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +28 -202
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts.map +1 -1
- 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 +9 -21
- 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 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +37 -266
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +5 -15
- 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 +10 -32
- 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 +7 -34
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts +19 -53
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +15 -45
- 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 +58 -192
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue.d.ts +11 -27
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts +21 -39
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts +2 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +41 -252
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/dist/ui/composables/useAdaptiveItems.d.ts +16 -0
- package/dist/ui/composables/useAdaptiveItems.d.ts.map +1 -0
- package/package.json +18 -13
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
- package/shared/components/app-switcher/index.ts +1 -1
- package/shared/components/change-password/change-password.vue +3 -3
- package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +37 -3
- package/shared/components/draggable-dashboard/composables/useGridSystem.ts +1 -1
- package/shared/components/draggable-dashboard/composables/useWidgetLayout.ts +1 -1
- package/shared/components/generic-dropdown/generic-dropdown.vue +69 -49
- package/shared/components/language-selector/language-selector.vue +2 -2
- package/shared/components/notification-dropdown/_internal/notification/notification.vue +2 -2
- package/shared/components/notification-dropdown/notification-dropdown.vue +14 -53
- package/shared/components/notification-template/notification-template.vue +0 -1
- package/shared/components/notifications/components/notification-container/index.ts +26 -14
- package/shared/components/notifications/composables/useContainer/index.ts +267 -55
- package/shared/components/notifications/composables/useInstance/index.ts +47 -17
- package/shared/components/notifications/core/notification.ts +175 -20
- package/shared/components/notifications/styles/index.scss +171 -10
- package/shared/components/notifications/types/index.ts +12 -3
- package/shared/components/settings-menu/settings-menu.vue +3 -2
- package/shared/components/settings-menu-item/settings-menu-item.vue +1 -1
- package/shared/components/sidebar/sidebar.vue +1 -1
- package/shared/components/theme-selector/theme-selector.vue +2 -2
- package/shared/components/user-dropdown-button/_internal/user-info.vue +4 -4
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +2 -2
- package/shared/composables/index.ts +1 -0
- package/shared/modules/assets/components/assets-details/assets-details.vue +4 -4
- package/shared/modules/assets/components/assets-details/index.ts +3 -1
- package/shared/modules/assets/index.ts +1 -1
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +5 -4
- package/shared/modules/dynamic/components/fields/storybook/Button.stories.ts +2 -2
- package/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.ts +361 -361
- 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/utils/sourceTransform.ts +1 -1
- package/shared/modules/dynamic/composables/index.ts +4 -4
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +1 -1
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +242 -242
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +60 -63
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +1 -1
- package/shared/modules/dynamic/types/index.ts +5 -9
- package/shared/pages/LoginPage/components/login/Login.vue +1 -1
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +218 -218
- package/shared/utilities/assets.ts +43 -42
- package/shared/utilities/index.ts +2 -0
- package/ui/components/atoms/index.ts +1 -0
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +522 -53
- package/ui/components/atoms/vc-badge/vc-badge.vue +120 -27
- package/ui/components/atoms/vc-button/vc-button.stories.ts +278 -74
- package/ui/components/atoms/vc-button/vc-button.vue +12 -9
- package/ui/components/atoms/vc-card/vc-card.stories.ts +297 -59
- package/ui/components/atoms/vc-card/vc-card.vue +9 -5
- package/ui/components/atoms/vc-col/vc-col.stories.ts +164 -22
- package/ui/components/atoms/vc-container/vc-container.stories.ts +277 -29
- package/ui/components/atoms/vc-container/vc-container.vue +1 -1
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +144 -23
- package/ui/components/atoms/vc-hint/vc-hint.vue +17 -17
- package/ui/components/atoms/vc-icon/README.md +295 -0
- package/ui/components/atoms/vc-icon/icons/VendorSwitchIcon.vue +26 -0
- package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +28 -0
- package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +41 -0
- package/ui/components/atoms/vc-icon/vc-icon-examples.vue +183 -0
- package/ui/components/atoms/vc-icon/vc-icon-test.vue +226 -0
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +376 -48
- package/ui/components/atoms/vc-icon/vc-icon.vue +457 -31
- package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +66 -0
- package/ui/components/atoms/vc-icon/vc-material-icon.vue +61 -0
- package/ui/components/atoms/vc-image/vc-image.stories.ts +309 -85
- package/ui/components/atoms/vc-image/vc-image.vue +2 -2
- package/ui/components/atoms/vc-label/vc-label.stories.ts +137 -31
- package/ui/components/atoms/vc-label/vc-label.vue +118 -92
- package/ui/components/atoms/vc-link/vc-link.stories.ts +154 -37
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +182 -30
- package/ui/components/atoms/vc-progress/vc-progress.vue +68 -68
- package/ui/components/atoms/vc-row/vc-row.stories.ts +143 -20
- package/ui/components/atoms/vc-skeleton/index.ts +1 -0
- package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +165 -0
- package/ui/components/atoms/vc-status/vc-status.stories.ts +235 -85
- package/ui/components/atoms/vc-status/vc-status.vue +2 -1
- package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +108 -2
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +2 -2
- package/ui/components/atoms/vc-switch/vc-switch.stories.ts +314 -14
- package/ui/components/atoms/vc-switch/vc-switch.vue +5 -7
- package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +287 -0
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +3 -3
- package/ui/components/atoms/vc-video/vc-video.stories.ts +150 -19
- package/ui/components/atoms/vc-video/vc-video.vue +1 -1
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +272 -20
- package/ui/components/atoms/vc-widget/vc-widget.vue +51 -66
- package/ui/components/molecules/index.ts +16 -16
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +89 -89
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +509 -43
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +32 -80
- package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +356 -84
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +185 -119
- package/ui/components/molecules/vc-editor/vc-editor.stories.ts +251 -29
- package/ui/components/molecules/vc-editor/vc-editor.vue +48 -10
- package/ui/components/molecules/vc-field/vc-field.stories.ts +179 -114
- package/ui/components/molecules/vc-field/vc-field.vue +1 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +424 -39
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +4 -4
- package/ui/components/molecules/vc-form/vc-form.stories.ts +168 -25
- package/ui/components/molecules/vc-input/vc-input.stories.ts +909 -165
- package/ui/components/molecules/vc-input/vc-input.vue +71 -19
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +532 -83
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +20 -0
- package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +508 -120
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +80 -24
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +259 -24
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +283 -97
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +197 -192
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +363 -59
- package/ui/components/molecules/vc-rating/vc-rating.vue +54 -26
- package/ui/components/molecules/vc-select/vc-select.stories.ts +1582 -685
- package/ui/components/molecules/vc-select/vc-select.vue +122 -59
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +223 -61
- package/ui/components/molecules/vc-slider/vc-slider.vue +118 -118
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +326 -53
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +180 -151
- package/ui/components/molecules/vc-toast/index.ts +1 -0
- package/ui/components/molecules/vc-toast/vc-toast.stories.ts +559 -0
- package/ui/components/molecules/vc-toast/vc-toast.vue +350 -0
- package/ui/components/organisms/vc-app/_internal/composables/useAppMenuState.ts +61 -24
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue +3 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +43 -77
- 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 +5 -3
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/{components/app-bar-button/app-bar-button.vue → _internal/AppBarWidgetItem.vue} +32 -89
- 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 +9 -8
- 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 +34 -50
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +4 -4
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +2 -2
- package/ui/components/organisms/vc-app/index.ts +0 -1
- package/ui/components/organisms/vc-app/vc-app.vue +33 -35
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +7 -7
- 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 +30 -37
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +2 -2
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue +20 -68
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue +1 -1
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +84 -7
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/index.ts +2 -2
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue +8 -3
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue +27 -79
- package/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue +24 -13
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +83 -83
- package/ui/components/organisms/vc-blade/vc-blade.vue +4 -4
- 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 +166 -166
- 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-popup/vc-popup.vue +7 -7
- 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 +3 -3
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +7 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +45 -91
- package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue +1 -2
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue +10 -7
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue +3 -3
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue +4 -5
- package/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue +1 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +2 -2
- package/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue +3 -11
- package/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue +49 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +293 -129
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue +94 -46
- package/ui/components/organisms/vc-table/composables/useTableActions.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableColumnReorder.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableColumnResize.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableSelection.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableState.ts +2 -1
- package/ui/components/organisms/vc-table/vc-table.vue +28 -62
- package/ui/composables/README.md +160 -0
- package/ui/composables/useAdaptiveItems.ts +210 -0
- package/core/types/widget.ts +0 -15
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-BUuHEmgZ.js +0 -620
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/core/types/widget.d.ts +0 -12
- package/dist/core/types/widget.d.ts.map +0 -1
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/css-bIlmDBTK.js +0 -1560
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-Bo-KZxHS.js +0 -194
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/ebnf-Xa2PN7SI.js +0 -77
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/factor-Bny6SIz6.js +0 -65
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/framework.js +0 -279
- package/dist/gas-BdfkXJT_.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/index-0w9zBoWq.js +0 -538
- package/dist/index-BBlIMdBJ.js +0 -75
- package/dist/index-BTJzbPbh.js +0 -156
- package/dist/index-Box9LvQb.js +0 -58
- package/dist/index-C7K2NPkM.js +0 -114762
- package/dist/index-CU_xM02H.js +0 -607
- package/dist/index-DCEgSQGq.js +0 -98
- package/dist/index-DL0yYr6i.js +0 -265
- package/dist/index-DLSrNER4.js +0 -134
- package/dist/index-DONWtLck.js +0 -71
- package/dist/index-DRQTVkJw.js +0 -308
- package/dist/index-DUfNgNp3.js +0 -299
- package/dist/index-DamkPpiV.js +0 -288
- package/dist/index-Ddo2E7x3.js +0 -135
- package/dist/index-DhmwfxeF.js +0 -243
- package/dist/index-DxoeM4zp.js +0 -93
- package/dist/index-dJf1vUOL.js +0 -341
- package/dist/index.css +0 -1
- package/dist/javascript-WMWNx-Vj.js +0 -690
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nsis-BEzMtmb7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/pug-BqUR2bBq.js +0 -248
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/python-B5QdSKoL.js +0 -313
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-Bz1d3XP0.js +0 -104
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shared/composables/useSettingsMenu.d.ts +0 -180
- package/dist/shared/composables/useSettingsMenu.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts +0 -376
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts +0 -367
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts +0 -398
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts +0 -392
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts +0 -407
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts +0 -360
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts +0 -391
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts +0 -372
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts +0 -448
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts +0 -469
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts +0 -468
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +0 -359
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts +0 -359
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts +0 -516
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts +0 -392
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/SwitchField.stories.d.ts +0 -14
- package/dist/shared/modules/dynamic/components/fields/storybook/SwitchField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts +0 -407
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts +0 -322
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts.map +0 -1
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/simple-mode-BqqHn0g6.js +0 -88
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/sql-mMre1Bo3.js +0 -282
- package/dist/stex-92raWT1r.js +0 -129
- package/dist/stylus-DRcbY16X.js +0 -250
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiki-D9z-T0ea.js +0 -178
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts +0 -465
- package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +0 -1277
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +0 -994
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-col/vc-col.stories.d.ts +0 -48
- package/dist/ui/components/atoms/vc-col/vc-col.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-container/vc-container.stories.d.ts +0 -7
- package/dist/ui/components/atoms/vc-container/vc-container.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts +0 -39
- package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts +0 -64
- package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts +0 -114
- package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts +0 -89
- package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts +0 -93
- package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.stories.d.ts +0 -20
- package/dist/ui/components/atoms/vc-loading/vc-loading.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts +0 -78
- package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-row/vc-row.stories.d.ts +0 -27
- package/dist/ui/components/atoms/vc-row/vc-row.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts +0 -121
- package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.stories.d.ts +0 -7
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts +0 -74
- package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-video/vc-video.stories.d.ts +0 -37
- package/dist/ui/components/atoms/vc-video/vc-video.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts +0 -56
- package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +0 -109
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts +0 -1680
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts +0 -7275
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-field/vc-field.stories.d.ts +0 -105
- package/dist/ui/components/molecules/vc-field/vc-field.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.stories.d.ts +0 -170
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts +0 -31
- package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +0 -362
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +0 -325
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +0 -1120
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-notification/index.d.ts +0 -2
- package/dist/ui/components/molecules/vc-notification/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts +0 -23
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts +0 -94
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts +0 -555
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts +0 -412
- package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +0 -2843
- package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts +0 -139
- package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts +0 -1075
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/components/app-bar-button/app-bar-button.vue.d.ts +0 -61
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/components/app-bar-button/app-bar-button.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarOverlay.d.ts +0 -19
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarOverlay.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts +0 -132
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +0 -181
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.stories.d.ts +0 -168
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.stories.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/types.d.ts +0 -19
- package/dist/ui/components/organisms/vc-table/types.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts +0 -1460
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +0 -1
- package/dist/ui/composables/useVisibleElements.d.ts +0 -19
- package/dist/ui/composables/useVisibleElements.d.ts.map +0 -1
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vbscript-Dz1TtKsy.js +0 -324
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-C4VGD9n1.js +0 -263
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/z80-C8rPtw-0.js +0 -61
- package/shared/composables/useSettingsMenu.ts +0 -44
- package/ui/components/atoms/vc-loading/vc-loading.stories.ts +0 -18
- package/ui/components/molecules/vc-notification/index.ts +0 -1
- package/ui/components/molecules/vc-notification/vc-notification.vue +0 -170
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/composables/useAppBarOverlay.ts +0 -78
- package/ui/components/organisms/vc-table/types.ts +0 -25
- package/ui/components/organisms/vc-table/vc-table.stories.ts +0 -214
- package/ui/composables/useVisibleElements.ts +0 -148
|
@@ -1,53 +1,522 @@
|
|
|
1
|
-
import type { Meta,
|
|
2
|
-
import VcBadge from "./vc-badge.vue";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/vue3";
|
|
2
|
+
import VcBadge from "./vc-badge.vue";
|
|
3
|
+
import { ref } from "vue";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* `VcBadge` is a UI component used to display a small numerical or textual notification,
|
|
7
|
+
* typically positioned relative to its container.
|
|
8
|
+
* It's commonly used to show:
|
|
9
|
+
*
|
|
10
|
+
* - Unread notification counts
|
|
11
|
+
* - Item counts in categories
|
|
12
|
+
* - Status indicators (new, pending, completed)
|
|
13
|
+
* - Alert indicators
|
|
14
|
+
* - User activity status
|
|
15
|
+
*
|
|
16
|
+
* The component supports multiple variants, sizes, and states, making it adaptable to various use cases
|
|
17
|
+
*/
|
|
18
|
+
const meta = {
|
|
19
|
+
title: "Atoms/VcBadge",
|
|
20
|
+
component: VcBadge,
|
|
21
|
+
tags: ["autodocs"],
|
|
22
|
+
argTypes: {
|
|
23
|
+
content: {
|
|
24
|
+
description: "Text or numeric content to display inside the badge",
|
|
25
|
+
control: "text",
|
|
26
|
+
table: {
|
|
27
|
+
type: { summary: "string | number" },
|
|
28
|
+
defaultValue: { summary: "undefined" },
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
active: {
|
|
32
|
+
description: "Determines if the badge is in active state",
|
|
33
|
+
control: "boolean",
|
|
34
|
+
table: {
|
|
35
|
+
type: { summary: "boolean" },
|
|
36
|
+
defaultValue: { summary: "false" },
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
disabled: {
|
|
40
|
+
description: "Disables the badge, making it non-interactive",
|
|
41
|
+
control: "boolean",
|
|
42
|
+
table: {
|
|
43
|
+
type: { summary: "boolean" },
|
|
44
|
+
defaultValue: { summary: "false" },
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
clickable: {
|
|
48
|
+
description: "Makes the badge respond to click events",
|
|
49
|
+
control: "boolean",
|
|
50
|
+
table: {
|
|
51
|
+
type: { summary: "boolean" },
|
|
52
|
+
defaultValue: { summary: "false" },
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
size: {
|
|
56
|
+
description: "Controls the size of the badge",
|
|
57
|
+
control: "select",
|
|
58
|
+
options: ["s", "m"],
|
|
59
|
+
table: {
|
|
60
|
+
type: { summary: "'s' | 'm'" },
|
|
61
|
+
defaultValue: { summary: "'m'" },
|
|
62
|
+
category: "Appearance",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
isDot: {
|
|
66
|
+
description: "Displays the badge as a small dot without text content",
|
|
67
|
+
control: "boolean",
|
|
68
|
+
table: {
|
|
69
|
+
type: { summary: "boolean" },
|
|
70
|
+
defaultValue: { summary: "false" },
|
|
71
|
+
category: "Appearance",
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
variant: {
|
|
75
|
+
description: "Specifies the color variant of the badge",
|
|
76
|
+
control: "select",
|
|
77
|
+
options: ["primary", "success", "warning", "danger", "info", "secondary"],
|
|
78
|
+
table: {
|
|
79
|
+
type: { summary: "'primary' | 'success' | 'warning' | 'danger' | 'info' | 'secondary'" },
|
|
80
|
+
defaultValue: { summary: "'primary'" },
|
|
81
|
+
category: "Appearance",
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
customPosition: {
|
|
85
|
+
description: "Allows custom positioning of the badge using top and right props",
|
|
86
|
+
control: "boolean",
|
|
87
|
+
table: {
|
|
88
|
+
type: { summary: "boolean" },
|
|
89
|
+
defaultValue: { summary: "false" },
|
|
90
|
+
category: "Layout",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
top: {
|
|
94
|
+
description: "Custom top position when customPosition is true",
|
|
95
|
+
control: "text",
|
|
96
|
+
table: {
|
|
97
|
+
type: { summary: "string" },
|
|
98
|
+
defaultValue: { summary: "undefined" },
|
|
99
|
+
category: "Layout",
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
right: {
|
|
103
|
+
description: "Custom right position when customPosition is true",
|
|
104
|
+
control: "text",
|
|
105
|
+
table: {
|
|
106
|
+
type: { summary: "string" },
|
|
107
|
+
defaultValue: { summary: "undefined" },
|
|
108
|
+
category: "Layout",
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
onClick: {
|
|
112
|
+
action: "click",
|
|
113
|
+
description: "Event emitted when clicking on a clickable badge",
|
|
114
|
+
table: { category: "Events" },
|
|
115
|
+
},
|
|
116
|
+
default: {
|
|
117
|
+
description: "Slot for content the badge will be attached to",
|
|
118
|
+
table: { category: "Slots" },
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
args: {
|
|
122
|
+
content: "5",
|
|
123
|
+
size: "m",
|
|
124
|
+
variant: "primary",
|
|
125
|
+
},
|
|
126
|
+
parameters: {
|
|
127
|
+
docs: {
|
|
128
|
+
description: {
|
|
129
|
+
component: `
|
|
130
|
+
A versatile badge component for displaying counters, indicators, and notifications.
|
|
131
|
+
|
|
132
|
+
This component features multiple customization options through props, including:
|
|
133
|
+
- Different color variants to convey meaning (primary, success, warning, danger, info, secondary)
|
|
134
|
+
- Two size options (small and medium)
|
|
135
|
+
- State management (active, disabled, clickable)
|
|
136
|
+
- Display as either a counter with text/number or as a simple dot
|
|
137
|
+
- Custom positioning capabilities
|
|
138
|
+
|
|
139
|
+
## Usage
|
|
140
|
+
|
|
141
|
+
\`\`\`vue
|
|
142
|
+
<VcBadge content="5">
|
|
143
|
+
<button>Notifications</button>
|
|
144
|
+
</VcBadge>
|
|
145
|
+
\`\`\`
|
|
146
|
+
`,
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
} satisfies Meta<typeof VcBadge>;
|
|
151
|
+
|
|
152
|
+
export default meta;
|
|
153
|
+
type Story = StoryObj<typeof meta>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Basic usage of the VcBadge component, typically used to indicate a number of items in a cart or notifications.
|
|
157
|
+
*/
|
|
158
|
+
export const Default: Story = {
|
|
159
|
+
render: (args) => ({
|
|
160
|
+
components: { VcBadge },
|
|
161
|
+
setup: () => ({ args }),
|
|
162
|
+
template: `
|
|
163
|
+
<div class="tw-flex tw-gap-4">
|
|
164
|
+
<VcBadge v-bind="args">
|
|
165
|
+
<div class="tw-w-10 tw-h-10 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
166
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-5 tw-w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
167
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z" />
|
|
168
|
+
</svg>
|
|
169
|
+
</div>
|
|
170
|
+
</VcBadge>
|
|
171
|
+
</div>
|
|
172
|
+
`,
|
|
173
|
+
}),
|
|
174
|
+
parameters: {
|
|
175
|
+
docs: {
|
|
176
|
+
description: {
|
|
177
|
+
story:
|
|
178
|
+
"The default badge displays a count indicator. In e-commerce, this is commonly used for shopping carts, wishlists, and notifications.",
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Various color variants of the badge for different use cases.
|
|
186
|
+
*/
|
|
187
|
+
export const Variants: Story = {
|
|
188
|
+
render: (args) => ({
|
|
189
|
+
components: { VcBadge },
|
|
190
|
+
setup: () => {
|
|
191
|
+
const variants = [
|
|
192
|
+
{ name: "primary", label: "Primary" },
|
|
193
|
+
{ name: "success", label: "Success" },
|
|
194
|
+
{ name: "warning", label: "Warning" },
|
|
195
|
+
{ name: "danger", label: "Danger" },
|
|
196
|
+
{ name: "info", label: "Info" },
|
|
197
|
+
{ name: "secondary", label: "Secondary" },
|
|
198
|
+
];
|
|
199
|
+
return { variants, args };
|
|
200
|
+
},
|
|
201
|
+
template: `
|
|
202
|
+
<div class="tw-flex tw-flex-col tw-gap-6">
|
|
203
|
+
<div class="tw-flex tw-flex-wrap tw-gap-4">
|
|
204
|
+
<div v-for="variant in variants" :key="variant.name" class="tw-flex tw-flex-col tw-items-center tw-gap-2">
|
|
205
|
+
<VcBadge
|
|
206
|
+
:content="args.content"
|
|
207
|
+
:variant="variant.name"
|
|
208
|
+
:size="args.size"
|
|
209
|
+
>
|
|
210
|
+
<div class="tw-w-10 tw-h-10 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
211
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-5 tw-w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
212
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" />
|
|
213
|
+
</svg>
|
|
214
|
+
</div>
|
|
215
|
+
</VcBadge>
|
|
216
|
+
<span class="tw-text-xs">{{ variant.label }}</span>
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
220
|
+
`,
|
|
221
|
+
}),
|
|
222
|
+
parameters: {
|
|
223
|
+
docs: {
|
|
224
|
+
description: {
|
|
225
|
+
story:
|
|
226
|
+
"Different color variants can be used to communicate different states: error for issues, warning for attention, success for completed actions, etc.",
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Badge as a dot indicator, often used to signify status or new content.
|
|
234
|
+
*/
|
|
235
|
+
export const DotIndicator: Story = {
|
|
236
|
+
args: {
|
|
237
|
+
isDot: true,
|
|
238
|
+
content: undefined,
|
|
239
|
+
variant: "primary",
|
|
240
|
+
},
|
|
241
|
+
render: (args) => ({
|
|
242
|
+
components: { VcBadge },
|
|
243
|
+
setup: () => {
|
|
244
|
+
const variants = ["primary", "success", "warning", "error", "info", "secondary"];
|
|
245
|
+
return { variants, args };
|
|
246
|
+
},
|
|
247
|
+
template: `
|
|
248
|
+
<div class="tw-flex tw-flex-col tw-gap-4">
|
|
249
|
+
<div class="tw-flex tw-gap-4">
|
|
250
|
+
<div v-for="variant in variants" :key="variant" class="tw-flex tw-flex-col tw-items-center tw-gap-2">
|
|
251
|
+
<VcBadge :isDot="true" :variant="variant">
|
|
252
|
+
<div class="tw-w-10 tw-h-10 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
253
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-5 tw-w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
254
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z" />
|
|
255
|
+
</svg>
|
|
256
|
+
</div>
|
|
257
|
+
</VcBadge>
|
|
258
|
+
<span class="tw-text-xs">{{ variant }}</span>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
`,
|
|
263
|
+
}),
|
|
264
|
+
parameters: {
|
|
265
|
+
docs: {
|
|
266
|
+
description: {
|
|
267
|
+
story:
|
|
268
|
+
"Dot indicators are useful for showing status information without a specific count. They're perfect for indicating new messages, activity status, or online presence.",
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Showcasing both size variants of the badge.
|
|
276
|
+
*/
|
|
277
|
+
export const Sizes: Story = {
|
|
278
|
+
render: (args) => ({
|
|
279
|
+
components: { VcBadge },
|
|
280
|
+
setup: () => {
|
|
281
|
+
const sizes = [
|
|
282
|
+
{ size: "s", label: "Small" },
|
|
283
|
+
{ size: "m", label: "Medium" },
|
|
284
|
+
];
|
|
285
|
+
return { sizes, args };
|
|
286
|
+
},
|
|
287
|
+
template: `
|
|
288
|
+
<div class="tw-flex tw-flex-col tw-gap-4">
|
|
289
|
+
<div class="tw-flex tw-gap-8">
|
|
290
|
+
<div v-for="size in sizes" :key="size.size" class="tw-flex tw-flex-col tw-items-center tw-gap-2">
|
|
291
|
+
<VcBadge
|
|
292
|
+
:content="args.content"
|
|
293
|
+
:size="size.size"
|
|
294
|
+
:variant="args.variant"
|
|
295
|
+
>
|
|
296
|
+
<div class="tw-w-10 tw-h-10 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
297
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-5 tw-w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
298
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z" />
|
|
299
|
+
</svg>
|
|
300
|
+
</div>
|
|
301
|
+
</VcBadge>
|
|
302
|
+
<span class="tw-text-xs">{{ size.label }}</span>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
`,
|
|
307
|
+
}),
|
|
308
|
+
parameters: {
|
|
309
|
+
docs: {
|
|
310
|
+
description: {
|
|
311
|
+
story:
|
|
312
|
+
"Choose the appropriate badge size based on the UI element it's attached to and the amount of information displayed.",
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Interactive badge demo with a clickable badge.
|
|
320
|
+
*/
|
|
321
|
+
export const Clickable: Story = {
|
|
322
|
+
args: {
|
|
323
|
+
clickable: true,
|
|
324
|
+
content: "8",
|
|
325
|
+
variant: "primary",
|
|
326
|
+
},
|
|
327
|
+
render: (args) => ({
|
|
328
|
+
components: { VcBadge },
|
|
329
|
+
setup: () => {
|
|
330
|
+
const count = ref(Number(args.content) || 0);
|
|
331
|
+
|
|
332
|
+
const handleClick = () => {
|
|
333
|
+
count.value = Math.max(0, count.value - 1);
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
return { args, count, handleClick };
|
|
337
|
+
},
|
|
338
|
+
template: `
|
|
339
|
+
<div class="tw-flex tw-flex-col tw-gap-4">
|
|
340
|
+
<div class="tw-flex tw-gap-4 tw-items-center">
|
|
341
|
+
<VcBadge
|
|
342
|
+
:content="count"
|
|
343
|
+
:clickable="args.clickable"
|
|
344
|
+
:variant="args.variant"
|
|
345
|
+
@click="handleClick"
|
|
346
|
+
>
|
|
347
|
+
<div class="tw-w-10 tw-h-10 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
348
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-5 tw-w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
349
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" />
|
|
350
|
+
</svg>
|
|
351
|
+
</div>
|
|
352
|
+
</VcBadge>
|
|
353
|
+
<p class="tw-text-sm">Click the badge to dismiss notifications</p>
|
|
354
|
+
</div>
|
|
355
|
+
</div>
|
|
356
|
+
`,
|
|
357
|
+
}),
|
|
358
|
+
parameters: {
|
|
359
|
+
docs: {
|
|
360
|
+
description: {
|
|
361
|
+
story:
|
|
362
|
+
"Clickable badges allow users to interact with them, such as dismissing notifications or accessing related features. In this example, clicking the badge decrements the count.",
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Demonstration of badges with varying content lengths.
|
|
370
|
+
*/
|
|
371
|
+
export const ContentVariations: Story = {
|
|
372
|
+
render: (args) => ({
|
|
373
|
+
components: { VcBadge },
|
|
374
|
+
setup: () => {
|
|
375
|
+
const examples = [
|
|
376
|
+
{ content: "1", label: "Single digit" },
|
|
377
|
+
{ content: "42", label: "Double digits" },
|
|
378
|
+
{ content: "99+", label: "Overflow" },
|
|
379
|
+
{ content: "New", label: "Text" },
|
|
380
|
+
{ content: "Sale!", label: "Long text" },
|
|
381
|
+
];
|
|
382
|
+
return { examples, args };
|
|
383
|
+
},
|
|
384
|
+
template: `
|
|
385
|
+
<div class="tw-flex tw-flex-col tw-gap-4">
|
|
386
|
+
<div class="tw-flex tw-flex-wrap tw-gap-6">
|
|
387
|
+
<div v-for="example in examples" :key="example.label" class="tw-flex tw-flex-col tw-items-center tw-gap-2">
|
|
388
|
+
<VcBadge
|
|
389
|
+
:content="example.content"
|
|
390
|
+
:variant="args.variant"
|
|
391
|
+
:size="args.size"
|
|
392
|
+
>
|
|
393
|
+
<div class="tw-w-10 tw-h-10 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
394
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-5 tw-w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
395
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4" />
|
|
396
|
+
</svg>
|
|
397
|
+
</div>
|
|
398
|
+
</VcBadge>
|
|
399
|
+
<span class="tw-text-xs">{{ example.label }}</span>
|
|
400
|
+
</div>
|
|
401
|
+
</div>
|
|
402
|
+
</div>
|
|
403
|
+
`,
|
|
404
|
+
}),
|
|
405
|
+
parameters: {
|
|
406
|
+
docs: {
|
|
407
|
+
description: {
|
|
408
|
+
story:
|
|
409
|
+
"Badges can display various types of content from single digits to text. The badge will automatically adjust its size to accommodate the content.",
|
|
410
|
+
},
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* E-commerce specific use cases for badges.
|
|
417
|
+
*/
|
|
418
|
+
export const UseCases: Story = {
|
|
419
|
+
render: (args) => ({
|
|
420
|
+
components: { VcBadge },
|
|
421
|
+
setup: () => {
|
|
422
|
+
const examples = [
|
|
423
|
+
{ icon: "M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z", content: "3", label: "Cart items", variant: "primary" },
|
|
424
|
+
{
|
|
425
|
+
icon: "M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z",
|
|
426
|
+
content: "5",
|
|
427
|
+
label: "Wishlist",
|
|
428
|
+
variant: "error",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
icon: "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9",
|
|
432
|
+
content: "12",
|
|
433
|
+
label: "Notifications",
|
|
434
|
+
variant: "info",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
icon: "M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z",
|
|
438
|
+
content: "4",
|
|
439
|
+
label: "Messages",
|
|
440
|
+
variant: "primary",
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
icon: "M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z",
|
|
444
|
+
isDot: true,
|
|
445
|
+
variant: "warning",
|
|
446
|
+
label: "New item",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
icon: "M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
450
|
+
content: "Sale",
|
|
451
|
+
label: "Discount",
|
|
452
|
+
variant: "secondary",
|
|
453
|
+
},
|
|
454
|
+
];
|
|
455
|
+
return { examples, args };
|
|
456
|
+
},
|
|
457
|
+
template: `
|
|
458
|
+
<div class="tw-flex tw-flex-col tw-gap-4">
|
|
459
|
+
<div class="tw-grid tw-grid-cols-3 tw-gap-6">
|
|
460
|
+
<div v-for="example in examples" :key="example.label" class="tw-flex tw-flex-col tw-items-center tw-gap-2">
|
|
461
|
+
<VcBadge
|
|
462
|
+
:content="example.content"
|
|
463
|
+
:variant="example.variant"
|
|
464
|
+
:isDot="example.isDot"
|
|
465
|
+
>
|
|
466
|
+
<div class="tw-w-12 tw-h-12 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
467
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="tw-h-6 tw-w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
468
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" :d="example.icon" />
|
|
469
|
+
</svg>
|
|
470
|
+
</div>
|
|
471
|
+
</VcBadge>
|
|
472
|
+
<span class="tw-text-xs">{{ example.label }}</span>
|
|
473
|
+
</div>
|
|
474
|
+
</div>
|
|
475
|
+
</div>
|
|
476
|
+
`,
|
|
477
|
+
}),
|
|
478
|
+
parameters: {
|
|
479
|
+
docs: {
|
|
480
|
+
description: {
|
|
481
|
+
story:
|
|
482
|
+
"Badges have many applications in e-commerce interfaces. This example showcases common use cases like cart item counts, notification indicators, and status badges for products.",
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
},
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Example of custom positioning for badges.
|
|
490
|
+
*/
|
|
491
|
+
export const CustomPositioning: Story = {
|
|
492
|
+
args: {
|
|
493
|
+
customPosition: true,
|
|
494
|
+
top: "-5px",
|
|
495
|
+
right: "-5px",
|
|
496
|
+
content: "New",
|
|
497
|
+
variant: "success",
|
|
498
|
+
},
|
|
499
|
+
render: (args) => ({
|
|
500
|
+
components: { VcBadge },
|
|
501
|
+
setup: () => ({ args }),
|
|
502
|
+
template: `
|
|
503
|
+
<div class="tw-flex tw-flex-col tw-gap-4">
|
|
504
|
+
<div class="tw-flex tw-gap-4">
|
|
505
|
+
<VcBadge v-bind="args">
|
|
506
|
+
<div class="tw-relative tw-w-24 tw-h-24 tw-bg-gray-200 tw-rounded tw-flex tw-items-center tw-justify-center">
|
|
507
|
+
<span class="tw-text-xs">Product</span>
|
|
508
|
+
</div>
|
|
509
|
+
</VcBadge>
|
|
510
|
+
</div>
|
|
511
|
+
</div>
|
|
512
|
+
`,
|
|
513
|
+
}),
|
|
514
|
+
parameters: {
|
|
515
|
+
docs: {
|
|
516
|
+
description: {
|
|
517
|
+
story:
|
|
518
|
+
"Custom positioning allows you to place the badge exactly where you need it on the target element. This is useful for product cards with special indicators like 'New', 'Sale', or 'Featured'.",
|
|
519
|
+
},
|
|
520
|
+
},
|
|
521
|
+
},
|
|
522
|
+
};
|