@vc-shell/framework 1.1.0-alpha.8 → 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 +5 -8
- 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 +5 -2
- 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-0a5sSUk-.js +0 -299
- package/dist/index-2uMWKqeX.js +0 -607
- package/dist/index-BYSRrP1t.js +0 -98
- package/dist/index-BjuXtCZD.js +0 -308
- package/dist/index-CE39_ef_.js +0 -93
- package/dist/index-CH6q9SbZ.js +0 -134
- package/dist/index-CHqWKNbd.js +0 -114759
- package/dist/index-C_UCSxbP.js +0 -135
- package/dist/index-Cb_-2iIT.js +0 -75
- package/dist/index-CqQMjKrC.js +0 -71
- package/dist/index-D-7-uSkR.js +0 -58
- package/dist/index-DT87PGr4.js +0 -341
- package/dist/index-DUpaX9qF.js +0 -288
- package/dist/index-Do08qm6v.js +0 -156
- package/dist/index-DrXDpBca.js +0 -265
- package/dist/index-GWfUyLcy.js +0 -243
- package/dist/index-mukpig4Q.js +0 -538
- 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,40 +1,185 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
:class="[
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
<div
|
|
3
|
+
v-if="useContainer"
|
|
4
|
+
:class="['vc-icon-container', `vc-icon-container_${size}`]"
|
|
5
|
+
>
|
|
6
|
+
<DefineTemplate>
|
|
7
|
+
<component
|
|
8
|
+
:is="renderComponent"
|
|
9
|
+
:class="[
|
|
10
|
+
'vc-icon',
|
|
11
|
+
`vc-icon_${size}`,
|
|
12
|
+
variant ? `vc-icon_${variant}` : '',
|
|
13
|
+
!isCustomIcon && !isMaterialIcon && !isLucideIcon && !isBootstrapIcon && !isFontAwesomeIcon
|
|
14
|
+
? (icon as string).toLowerCase()
|
|
15
|
+
: '',
|
|
16
|
+
]"
|
|
17
|
+
v-bind="componentProps"
|
|
18
|
+
/>
|
|
19
|
+
</DefineTemplate>
|
|
20
|
+
<ReuseTemplate v-bind="$attrs" />
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<ReuseTemplate
|
|
24
|
+
v-else
|
|
25
|
+
v-bind="$attrs"
|
|
11
26
|
/>
|
|
12
27
|
</template>
|
|
13
28
|
|
|
14
29
|
<script lang="ts" setup>
|
|
15
30
|
import { computed, markRaw, resolveComponent } from "vue";
|
|
16
31
|
import type { Component } from "vue";
|
|
32
|
+
import VcMaterialIcon from "./vc-material-icon.vue";
|
|
33
|
+
import VcBootstrapIcon from "./vc-bootstrap-icon.vue";
|
|
34
|
+
import VcLucideIcon from "./vc-lucide-icon.vue";
|
|
35
|
+
import VcFontawesomeIcon from "./vc-fontawesome-icon.vue";
|
|
36
|
+
import { createReusableTemplate } from "@vueuse/core";
|
|
37
|
+
|
|
38
|
+
export type IconType = "fontawesome" | "material" | "bootstrap" | "lucide" | "custom";
|
|
39
|
+
export type IconSize = "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
40
|
+
export type IconVariant = "warning" | "danger" | "success";
|
|
17
41
|
|
|
18
42
|
export interface Props {
|
|
43
|
+
/**
|
|
44
|
+
* The icon to display. Can be a string identifier or a component instance.
|
|
45
|
+
* For string identifiers, use the following format:
|
|
46
|
+
* - "fa-*" or "fas fa-*" for Font Awesome icons (e.g. "fas fa-home")
|
|
47
|
+
* - "bi-*" for Bootstrap icons (e.g. "bi-house")
|
|
48
|
+
* - "material-*" for Material icons (e.g. "material-home")
|
|
49
|
+
* - "lucide-*" for Lucide icons (e.g. "lucide-home")
|
|
50
|
+
* All icons must use the appropriate prefix to identify their type.
|
|
51
|
+
*/
|
|
19
52
|
icon?: string | Component;
|
|
20
|
-
|
|
21
|
-
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Size of the icon. The component provides predefined sizes from xs to xxxl.
|
|
56
|
+
* Each size corresponds to a specific pixel size as defined in the CSS variables.
|
|
57
|
+
* You can also use external CSS to set font-size for more flexibility.
|
|
58
|
+
*/
|
|
59
|
+
size?: IconSize;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Color variant for the icon. Applies predefined colors from the design system.
|
|
63
|
+
* Available variants include warning (yellow), danger (red), and success (green).
|
|
64
|
+
*/
|
|
65
|
+
variant?: IconVariant;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Whether to wrap the icon in a fixed-size container.
|
|
69
|
+
* The container is slightly larger than the icon to provide proper spacing.
|
|
70
|
+
*/
|
|
71
|
+
useContainer?: boolean;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Custom size in pixels. If provided, this will override the size prop.
|
|
75
|
+
* This is useful when you need a specific size that's not in the predefined sizes.
|
|
76
|
+
*/
|
|
77
|
+
customSize?: number;
|
|
22
78
|
}
|
|
23
79
|
|
|
24
80
|
const props = withDefaults(defineProps<Props>(), {
|
|
25
81
|
icon: "fas fa-square-full",
|
|
26
82
|
size: "m",
|
|
83
|
+
useContainer: true,
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
87
|
+
|
|
88
|
+
// Function to detect icon type if not explicitly specified
|
|
89
|
+
const detectIconType = computed((): IconType => {
|
|
90
|
+
if (typeof props.icon !== "string") {
|
|
91
|
+
return "custom";
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Icon package prefixes
|
|
95
|
+
if (props.icon.startsWith("fa-") || props.icon.includes("fa-")) {
|
|
96
|
+
return "fontawesome";
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (props.icon.startsWith("bi-")) {
|
|
100
|
+
return "bootstrap";
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (props.icon.startsWith("lucide-")) {
|
|
104
|
+
return "lucide";
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (props.icon.startsWith("material-")) {
|
|
108
|
+
return "material";
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// For backward compatibility with Lucide icons ending with Icon
|
|
112
|
+
if (props.icon.endsWith("Icon")) {
|
|
113
|
+
return "lucide";
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return "custom";
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
// Get the normalized icon name without prefix
|
|
120
|
+
const normalizedIconName = computed(() => {
|
|
121
|
+
if (typeof props.icon !== "string") {
|
|
122
|
+
return props.icon;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
if (detectIconType.value === "material" && props.icon.startsWith("material-")) {
|
|
126
|
+
return props.icon.replace(/^material-/, "");
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (detectIconType.value === "lucide" && props.icon.startsWith("lucide-")) {
|
|
130
|
+
const baseName = props.icon.replace(/^lucide-/, "");
|
|
131
|
+
return baseName.endsWith("Icon") ? baseName : `${baseName}Icon`;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return props.icon;
|
|
27
135
|
});
|
|
28
136
|
|
|
137
|
+
// Check if icon is a Material Design symbol
|
|
138
|
+
const isMaterialIcon = computed(() => detectIconType.value === "material");
|
|
139
|
+
|
|
140
|
+
// Check if icon is a Bootstrap Icon
|
|
141
|
+
const isBootstrapIcon = computed(() => detectIconType.value === "bootstrap");
|
|
142
|
+
|
|
143
|
+
// Check if icon is a Lucide Icon
|
|
144
|
+
const isLucideIcon = computed(() => detectIconType.value === "lucide");
|
|
145
|
+
|
|
146
|
+
// Check if icon is a Font Awesome Icon
|
|
147
|
+
const isFontAwesomeIcon = computed(() => detectIconType.value === "fontawesome");
|
|
148
|
+
|
|
29
149
|
// Check if the icon is a component or can be resolved as a component
|
|
30
150
|
const isCustomIcon = computed(() => {
|
|
31
151
|
if (typeof props.icon !== "string") {
|
|
32
152
|
return true; // Component instance passed directly
|
|
33
153
|
}
|
|
34
154
|
|
|
155
|
+
// Skip for known icon libraries with prefixes
|
|
156
|
+
if (
|
|
157
|
+
["fontawesome", "bootstrap"].includes(detectIconType.value) ||
|
|
158
|
+
(detectIconType.value === "material" && props.icon.startsWith("material-")) ||
|
|
159
|
+
(detectIconType.value === "lucide" && props.icon.startsWith("lucide-"))
|
|
160
|
+
) {
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Check for Lucide icons - they could be resolved as components
|
|
165
|
+
if (isLucideIcon.value) {
|
|
166
|
+
try {
|
|
167
|
+
const iconName =
|
|
168
|
+
typeof normalizedIconName.value === "string" ? normalizedIconName.value : String(normalizedIconName.value);
|
|
169
|
+
const resolved = resolveComponent(iconName);
|
|
170
|
+
return resolved !== iconName;
|
|
171
|
+
} catch (e) {
|
|
172
|
+
return false;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
35
176
|
// Check if string is a component name that can be resolved
|
|
36
|
-
|
|
37
|
-
|
|
177
|
+
try {
|
|
178
|
+
const resolved = resolveComponent(props.icon);
|
|
179
|
+
return resolved !== props.icon; // If resolved is different from original string, it's a component name
|
|
180
|
+
} catch (e) {
|
|
181
|
+
return false;
|
|
182
|
+
}
|
|
38
183
|
});
|
|
39
184
|
|
|
40
185
|
// Get the component instance for rendering
|
|
@@ -43,9 +188,109 @@ const safeIcon = computed(() => {
|
|
|
43
188
|
return markRaw(props.icon); // Use markRaw for direct component instances
|
|
44
189
|
}
|
|
45
190
|
|
|
46
|
-
//
|
|
47
|
-
|
|
48
|
-
|
|
191
|
+
// Skip resolveComponent for known icon types, they are handled by specialized components
|
|
192
|
+
if (["fontawesome", "bootstrap", "material"].includes(detectIconType.value)) {
|
|
193
|
+
return "i";
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// Try to resolve component by name (mostly for Lucide icons)
|
|
197
|
+
try {
|
|
198
|
+
const iconName =
|
|
199
|
+
typeof normalizedIconName.value === "string" ? normalizedIconName.value : String(normalizedIconName.value);
|
|
200
|
+
const resolved = resolveComponent(iconName);
|
|
201
|
+
return resolved !== iconName ? resolved : "i"; // Return resolved component or fallback to 'i'
|
|
202
|
+
} catch (e) {
|
|
203
|
+
return "i";
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
// Determine which component to render
|
|
208
|
+
const renderComponent = computed(() => {
|
|
209
|
+
if (isMaterialIcon.value) {
|
|
210
|
+
return VcMaterialIcon;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if (isBootstrapIcon.value) {
|
|
214
|
+
return VcBootstrapIcon;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (isLucideIcon.value) {
|
|
218
|
+
return VcLucideIcon;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
if (isFontAwesomeIcon.value) {
|
|
222
|
+
return VcFontawesomeIcon;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
return isCustomIcon.value ? safeIcon.value : "i";
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
// Prepare props for the rendered component
|
|
229
|
+
const componentProps = computed(() => {
|
|
230
|
+
if (isMaterialIcon.value) {
|
|
231
|
+
// Clean the name from possible suffixes of the icon type
|
|
232
|
+
const cleanIconName =
|
|
233
|
+
typeof normalizedIconName.value === "string"
|
|
234
|
+
? normalizedIconName.value.replace(/-outlined$|-rounded$|-sharp$/, "")
|
|
235
|
+
: normalizedIconName.value;
|
|
236
|
+
|
|
237
|
+
return {
|
|
238
|
+
icon: cleanIconName,
|
|
239
|
+
size: props.size,
|
|
240
|
+
variant: props.variant,
|
|
241
|
+
type: "outlined",
|
|
242
|
+
fill: 0,
|
|
243
|
+
weight: 300,
|
|
244
|
+
grade: 0,
|
|
245
|
+
customSize: props.customSize,
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if (isBootstrapIcon.value) {
|
|
250
|
+
// For Bootstrap icons
|
|
251
|
+
const iconName = typeof props.icon === "string" ? props.icon : "";
|
|
252
|
+
|
|
253
|
+
return {
|
|
254
|
+
icon: iconName,
|
|
255
|
+
size: props.size,
|
|
256
|
+
variant: props.variant,
|
|
257
|
+
customSize: props.customSize,
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
if (isLucideIcon.value) {
|
|
262
|
+
// For Lucide icons
|
|
263
|
+
const iconName =
|
|
264
|
+
typeof normalizedIconName.value === "string" ? normalizedIconName.value : String(normalizedIconName.value);
|
|
265
|
+
|
|
266
|
+
return {
|
|
267
|
+
icon: iconName,
|
|
268
|
+
size: props.size,
|
|
269
|
+
variant: props.variant,
|
|
270
|
+
strokeWidth: 1.25,
|
|
271
|
+
customSize: props.customSize,
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
if (isFontAwesomeIcon.value) {
|
|
276
|
+
// For Font Awesome icons
|
|
277
|
+
return {
|
|
278
|
+
icon: typeof props.icon === "string" ? props.icon : "",
|
|
279
|
+
size: props.size,
|
|
280
|
+
variant: props.variant,
|
|
281
|
+
customSize: props.customSize,
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
if (isCustomIcon.value) {
|
|
286
|
+
return {
|
|
287
|
+
width: props.customSize || iconSize.value,
|
|
288
|
+
height: props.customSize || iconSize.value,
|
|
289
|
+
color: props.variant ? `var(--icon-color-${props.variant})` : "currentColor",
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
return {};
|
|
49
294
|
});
|
|
50
295
|
|
|
51
296
|
const sizeMap = {
|
|
@@ -58,11 +303,13 @@ const sizeMap = {
|
|
|
58
303
|
xxxl: 64,
|
|
59
304
|
} as const;
|
|
60
305
|
|
|
61
|
-
|
|
306
|
+
// Calculate icon size based on props
|
|
307
|
+
const iconSize = computed(() => props.customSize || sizeMap[props.size]);
|
|
62
308
|
</script>
|
|
63
309
|
|
|
64
310
|
<style lang="scss">
|
|
65
|
-
|
|
311
|
+
/* Base sizes */
|
|
312
|
+
:deep(.vc-icon) {
|
|
66
313
|
--icon-size-xs: 12px;
|
|
67
314
|
--icon-size-s: 14px;
|
|
68
315
|
--icon-size-m: 18px;
|
|
@@ -71,31 +318,210 @@ const iconSize = computed(() => sizeMap[props.size]);
|
|
|
71
318
|
--icon-size-xxl: 30px;
|
|
72
319
|
--icon-size-xxxl: 64px;
|
|
73
320
|
|
|
321
|
+
/* Container sizes (10% larger than icon) */
|
|
322
|
+
--icon-container-xs: calc(var(--icon-size-xs) * 1.1);
|
|
323
|
+
--icon-container-s: calc(var(--icon-size-s) * 1.1);
|
|
324
|
+
--icon-container-m: calc(var(--icon-size-m) * 1.1);
|
|
325
|
+
--icon-container-l: calc(var(--icon-size-l) * 1.1);
|
|
326
|
+
--icon-container-xl: calc(var(--icon-size-xl) * 1.1);
|
|
327
|
+
--icon-container-xxl: calc(var(--icon-size-xxl) * 1.1);
|
|
328
|
+
--icon-container-xxxl: calc(var(--icon-size-xxxl) * 1.1);
|
|
329
|
+
|
|
330
|
+
/* Optical adjustments for different icon libraries */
|
|
331
|
+
--material-icons-scale: 1.2; /* Material icons need to be larger */
|
|
332
|
+
--fontawesome-icons-scale: 0.9; /* FontAwesome icons need to be smaller */
|
|
333
|
+
--bootstrap-icons-scale: 1; /* Bootstrap icons are our baseline */
|
|
334
|
+
--lucide-icons-scale: 1; /* Lucide icons match bootstrap */
|
|
335
|
+
|
|
336
|
+
/* Colors for variants */
|
|
74
337
|
--icon-color-success: var(--success-500);
|
|
75
338
|
--icon-color-danger: var(--danger-500);
|
|
76
339
|
--icon-color-warning: var(--warning-500);
|
|
340
|
+
|
|
341
|
+
display: inline-flex;
|
|
342
|
+
align-items: center;
|
|
343
|
+
justify-content: center;
|
|
344
|
+
transition: color 0.2s ease-in-out;
|
|
345
|
+
|
|
346
|
+
/* Allow font-size to control icon size by default */
|
|
347
|
+
width: 1em;
|
|
348
|
+
height: 1em;
|
|
349
|
+
font-size: inherit;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* Size classes - these can be overridden by external CSS */
|
|
353
|
+
:deep(.vc-icon_xs) {
|
|
354
|
+
font-size: var(--icon-size-xs);
|
|
77
355
|
}
|
|
78
356
|
|
|
79
|
-
|
|
80
|
-
|
|
357
|
+
:deep(.vc-icon_s) {
|
|
358
|
+
font-size: var(--icon-size-s);
|
|
359
|
+
}
|
|
81
360
|
|
|
82
|
-
.vc-
|
|
83
|
-
|
|
361
|
+
:deep(.vc-icon_m) {
|
|
362
|
+
font-size: var(--icon-size-m);
|
|
84
363
|
}
|
|
85
364
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
365
|
+
:deep(.vc-icon_l) {
|
|
366
|
+
font-size: var(--icon-size-l);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
:deep(.vc-icon_xl) {
|
|
370
|
+
font-size: var(--icon-size-xl);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
:deep(.vc-icon_xxl) {
|
|
374
|
+
font-size: var(--icon-size-xxl);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
:deep(.vc-icon_xxxl) {
|
|
378
|
+
font-size: var(--icon-size-xxxl);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.vc-icon {
|
|
382
|
+
&-container {
|
|
383
|
+
display: flex;
|
|
384
|
+
align-items: center;
|
|
385
|
+
justify-content: center;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
&-container_xs {
|
|
389
|
+
width: var(--icon-container-xs);
|
|
390
|
+
height: var(--icon-container-xs);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
&-container_s {
|
|
394
|
+
width: var(--icon-container-s);
|
|
395
|
+
height: var(--icon-container-s);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
&-container_m {
|
|
399
|
+
width: var(--icon-container-m);
|
|
400
|
+
height: var(--icon-container-m);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
&-container_l {
|
|
404
|
+
width: var(--icon-container-l);
|
|
405
|
+
height: var(--icon-container-l);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
&-container_xl {
|
|
409
|
+
width: var(--icon-container-xl);
|
|
410
|
+
height: var(--icon-container-xl);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
&-container_xxl {
|
|
414
|
+
width: var(--icon-container-xxl);
|
|
415
|
+
height: var(--icon-container-xxl);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
&-container_xxxl {
|
|
419
|
+
width: var(--icon-container-xxxl);
|
|
420
|
+
height: var(--icon-container-xxxl);
|
|
89
421
|
}
|
|
90
422
|
}
|
|
91
423
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
424
|
+
/* Variants */
|
|
425
|
+
:deep(.vc-icon_warning) {
|
|
426
|
+
color: var(--icon-color-warning);
|
|
427
|
+
}
|
|
95
428
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
429
|
+
:deep(.vc-icon_danger) {
|
|
430
|
+
color: var(--icon-color-danger);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
:deep(.vc-icon_success) {
|
|
434
|
+
color: var(--icon-color-success);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/* Material Icons specific styles */
|
|
438
|
+
:deep(.material-symbols-outlined),
|
|
439
|
+
:deep(.material-symbols-rounded),
|
|
440
|
+
:deep(.material-symbols-sharp) {
|
|
441
|
+
font-family: "Material Symbols Outlined", "Material Symbols Rounded", "Material Symbols Sharp";
|
|
442
|
+
font-weight: normal;
|
|
443
|
+
font-style: normal;
|
|
444
|
+
line-height: 1;
|
|
445
|
+
letter-spacing: normal;
|
|
446
|
+
text-transform: none;
|
|
447
|
+
white-space: nowrap;
|
|
448
|
+
word-wrap: normal;
|
|
449
|
+
direction: ltr;
|
|
450
|
+
font-feature-settings: "liga";
|
|
451
|
+
-webkit-font-feature-settings: "liga";
|
|
452
|
+
-webkit-font-smoothing: antialiased;
|
|
453
|
+
transform: scale(var(--material-icons-scale)); /* Optical adjustment */
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/* Bootstrap Icons specific styles */
|
|
457
|
+
:deep([class^="bi-"]),
|
|
458
|
+
:deep([class*=" bi-"]) {
|
|
459
|
+
font-family: bootstrap-icons !important;
|
|
460
|
+
font-style: normal;
|
|
461
|
+
font-weight: normal !important;
|
|
462
|
+
font-variant: normal;
|
|
463
|
+
text-transform: none;
|
|
464
|
+
line-height: 1;
|
|
465
|
+
-webkit-font-smoothing: antialiased;
|
|
466
|
+
-moz-osx-font-smoothing: grayscale;
|
|
467
|
+
transform: scale(var(--bootstrap-icons-scale)); /* Optical adjustment */
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/* Font Awesome Icons */
|
|
471
|
+
:deep([class^="fa-"]),
|
|
472
|
+
:deep([class*=" fa-"]),
|
|
473
|
+
:deep([class^="fas"]),
|
|
474
|
+
:deep([class*=" fas"]),
|
|
475
|
+
:deep([class^="far"]),
|
|
476
|
+
:deep([class*=" far"]),
|
|
477
|
+
:deep([class^="fal"]),
|
|
478
|
+
:deep([class*=" fal"]),
|
|
479
|
+
:deep([class^="fab"]),
|
|
480
|
+
:deep([class*=" fab"]),
|
|
481
|
+
:deep([class^="fad"]),
|
|
482
|
+
:deep([class*=" fad"]) {
|
|
483
|
+
font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Duotone", "Font Awesome 6 Pro";
|
|
484
|
+
font-style: normal;
|
|
485
|
+
font-weight: normal;
|
|
486
|
+
font-variant: normal;
|
|
487
|
+
text-transform: none;
|
|
488
|
+
line-height: 1;
|
|
489
|
+
-webkit-font-smoothing: antialiased;
|
|
490
|
+
-moz-osx-font-smoothing: grayscale;
|
|
491
|
+
transform: scale(var(--fontawesome-icons-scale)); /* Optical adjustment */
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/* Font weight adjustments for Font Awesome */
|
|
495
|
+
:deep(.fas),
|
|
496
|
+
:deep(.fa-solid) {
|
|
497
|
+
font-weight: 900;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
:deep(.far),
|
|
501
|
+
:deep(.fa-regular) {
|
|
502
|
+
font-weight: 400;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
:deep(.fal),
|
|
506
|
+
:deep(.fa-light) {
|
|
507
|
+
font-weight: 300;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
:deep(.fab),
|
|
511
|
+
:deep(.fa-brands) {
|
|
512
|
+
font-family: "Font Awesome 6 Brands";
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/* Lucide Icons specific styles */
|
|
516
|
+
:deep(svg.vc-icon) {
|
|
517
|
+
transform: scale(var(--lucide-icons-scale)); /* Optical adjustment */
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.vc-icon {
|
|
521
|
+
&-container {
|
|
522
|
+
display: flex;
|
|
523
|
+
align-items: center;
|
|
524
|
+
justify-content: center;
|
|
99
525
|
}
|
|
100
526
|
}
|
|
101
527
|
</style>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<component
|
|
3
|
+
:is="resolvedIcon"
|
|
4
|
+
:class="['vc-icon', `vc-icon_${size}`, variant ? `vc-icon_${variant}` : '']"
|
|
5
|
+
:stroke-width="strokeWidth"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script lang="ts" setup>
|
|
10
|
+
import { computed, resolveComponent } from "vue";
|
|
11
|
+
|
|
12
|
+
export interface Props {
|
|
13
|
+
icon: string;
|
|
14
|
+
size?: "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
15
|
+
variant?: "warning" | "danger" | "success";
|
|
16
|
+
strokeWidth?: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
20
|
+
size: "m",
|
|
21
|
+
strokeWidth: 2,
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
// Normalize icon name to extract the base name without prefixes
|
|
25
|
+
const normalizedIconName = computed(() => {
|
|
26
|
+
if (!props.icon) return "";
|
|
27
|
+
|
|
28
|
+
// Remove lucide- prefix if present
|
|
29
|
+
let baseName = props.icon;
|
|
30
|
+
if (baseName.startsWith("lucide-")) {
|
|
31
|
+
baseName = baseName.substring(7); // length of "lucide-"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Convert to PascalCase and add Icon suffix if needed
|
|
35
|
+
// For example, convert "alert-triangle" to "AlertTriangle"
|
|
36
|
+
if (baseName.includes("-")) {
|
|
37
|
+
baseName = baseName
|
|
38
|
+
.split("-")
|
|
39
|
+
.map((part) => part.charAt(0).toUpperCase() + part.slice(1))
|
|
40
|
+
.join("");
|
|
41
|
+
} else {
|
|
42
|
+
baseName = baseName.charAt(0).toUpperCase() + baseName.slice(1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Add Icon suffix if not already present
|
|
46
|
+
if (!baseName.endsWith("Icon")) {
|
|
47
|
+
baseName += "Icon";
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
return baseName;
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
// Try to resolve the icon component
|
|
54
|
+
const resolvedIcon = computed(() => {
|
|
55
|
+
if (!props.icon) return null;
|
|
56
|
+
|
|
57
|
+
try {
|
|
58
|
+
const iconName = normalizedIconName.value;
|
|
59
|
+
const resolved = resolveComponent(iconName);
|
|
60
|
+
return resolved !== iconName ? resolved : null;
|
|
61
|
+
} catch (e) {
|
|
62
|
+
console.error(`Failed to resolve Lucide icon: ${props.icon} (normalized: ${normalizedIconName.value})`, e);
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
</script>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<span
|
|
3
|
+
:class="[iconClass, variant ? `vc-icon_${variant}` : '']"
|
|
4
|
+
:style="computedStyle"
|
|
5
|
+
>{{ normalizedIcon }}</span
|
|
6
|
+
>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script lang="ts" setup>
|
|
10
|
+
import { computed } from "vue";
|
|
11
|
+
|
|
12
|
+
export interface Props {
|
|
13
|
+
icon: string;
|
|
14
|
+
size?: "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
15
|
+
variant?: "warning" | "danger" | "success";
|
|
16
|
+
type?: "outlined" | "rounded" | "sharp";
|
|
17
|
+
fill?: number;
|
|
18
|
+
weight?: number;
|
|
19
|
+
grade?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
23
|
+
size: "m",
|
|
24
|
+
type: "outlined",
|
|
25
|
+
fill: 0,
|
|
26
|
+
weight: 200,
|
|
27
|
+
grade: 0,
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// Font variation settings
|
|
31
|
+
const computedStyle = computed(() => {
|
|
32
|
+
return {
|
|
33
|
+
fontVariationSettings: `'FILL' ${props.fill}, 'wght' ${props.weight}, 'GRAD' ${props.grade}`,
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
// Normalize icon name to remove any type suffixes that might have been missed
|
|
38
|
+
const normalizedIcon = computed(() => {
|
|
39
|
+
if (!props.icon) return "";
|
|
40
|
+
|
|
41
|
+
// Remove material- prefix if present
|
|
42
|
+
let iconName = props.icon;
|
|
43
|
+
if (iconName.startsWith("material-")) {
|
|
44
|
+
iconName = iconName.substring(9); // length of "material-"
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Remove possible type suffixes if they still exist
|
|
48
|
+
return iconName.replace(/-outlined$|-rounded$|-sharp$/, "");
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
// Material Symbols class based on type
|
|
52
|
+
const iconClass = computed(() => {
|
|
53
|
+
const typeClass = {
|
|
54
|
+
outlined: "material-symbols-outlined",
|
|
55
|
+
rounded: "material-symbols-rounded",
|
|
56
|
+
sharp: "material-symbols-sharp",
|
|
57
|
+
}[props.type];
|
|
58
|
+
|
|
59
|
+
return [`vc-icon`, `vc-icon_${props.size}`, typeClass];
|
|
60
|
+
});
|
|
61
|
+
</script>
|