@vc-shell/framework 1.0.290 → 1.0.292
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 +13 -0
- package/core/composables/index.ts +1 -0
- package/core/composables/useTheme/index.ts +60 -0
- package/core/directives/loading/styles.css +6 -1
- package/dist/core/composables/index.d.ts +1 -0
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useTheme/index.d.ts +11 -0
- package/dist/core/composables/useTheme/index.d.ts.map +1 -0
- package/dist/framework.js +30150 -29360
- package/dist/index.css +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/en.json +6 -0
- package/dist/shared/components/app-bar-button/app-bar-button.vue.d.ts +56 -0
- package/dist/shared/components/app-bar-button/app-bar-button.vue.d.ts.map +1 -0
- package/dist/shared/components/app-bar-button/index.d.ts +2 -0
- package/dist/shared/components/app-bar-button/index.d.ts.map +1 -0
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +5 -5
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +4 -4
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/change-password/change-password.vue.d.ts +3 -3
- package/dist/shared/components/change-password/index.d.ts +4 -4
- package/dist/shared/components/change-password/index.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +3 -3
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +3 -3
- package/dist/shared/components/error-interceptor/index.d.ts +17 -17
- package/dist/shared/components/error-interceptor/interceptor.d.ts +7 -7
- package/dist/shared/components/index.d.ts +3 -0
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/components/language-selector/index.d.ts +1 -1
- package/dist/shared/components/language-selector/index.d.ts.map +1 -1
- package/dist/shared/components/language-selector/language-selector.vue.d.ts +1 -1
- package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +3 -3
- package/dist/shared/components/notification-dropdown/index.d.ts +1 -1
- package/dist/shared/components/notification-dropdown/index.d.ts.map +1 -1
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts +1 -1
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-template/index.d.ts +5 -5
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +1 -1
- 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 +6 -6
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +1 -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 +1 -1
- package/dist/shared/components/sidebar/index.d.ts +2 -0
- package/dist/shared/components/sidebar/index.d.ts.map +1 -0
- package/dist/shared/components/sidebar/sidebar.vue.d.ts +49 -0
- package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -0
- package/dist/shared/components/theme-selector/index.d.ts +2 -0
- package/dist/shared/components/theme-selector/index.d.ts.map +1 -0
- package/dist/shared/components/theme-selector/theme-selector.vue.d.ts +3 -0
- package/dist/shared/components/theme-selector/theme-selector.vue.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/index.d.ts +4 -4
- 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 +4 -4
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +5 -5
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +6 -6
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +8 -8
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +143 -172
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ValidationField.d.ts +4 -4
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts +6 -6
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +6 -6
- package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +61 -9
- 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 +31 -12
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +3 -0
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts +16 -3
- 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 +9 -9
- package/dist/shared/pages/ChangePasswordPage/components/change-password/index.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +24 -3
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts +26 -3
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +1 -1
- package/dist/shared/pages/LoginPage/components/login/index.d.ts +3 -3
- package/dist/shared/pages/LoginPage/components/login/index.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +24 -3
- 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 +26 -3
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts.map +1 -1
- package/dist/tailwind.config.d.ts +43 -15
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts +55 -55
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +5 -5
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +143 -143
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +5 -5
- package/dist/ui/components/atoms/vc-card/index.d.ts +11 -11
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +89 -89
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +5 -5
- package/dist/ui/components/atoms/vc-col/vc-col.stories.d.ts +7 -7
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +4 -4
- package/dist/ui/components/atoms/vc-container/index.d.ts +15 -15
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +5 -5
- package/dist/ui/components/atoms/vc-hint/index.d.ts +3 -3
- package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts +3 -3
- package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts +4 -4
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +4 -4
- package/dist/ui/components/atoms/vc-image/index.d.ts +5 -5
- package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts +5 -5
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +5 -5
- package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts +7 -7
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +4 -4
- package/dist/ui/components/atoms/vc-link/index.d.ts +10 -10
- package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts +10 -10
- package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +3 -3
- 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 +3 -3
- package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.stories.d.ts +3 -3
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts +7 -7
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts +7 -7
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +4 -4
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-row/vc-row.stories.d.ts +3 -3
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts +7 -7
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +4 -4
- 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 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts +5 -5
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +5 -5
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +4 -4
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-video/vc-video.stories.d.ts +4 -4
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +3 -3
- 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 +4 -4
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.stories.d.ts +4 -4
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +4 -4
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +4 -4
- 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 +11 -11
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts +110 -110
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +5 -5
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts +405 -18
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +3 -3
- 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.stories.d.ts +4 -4
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +4 -4
- 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.stories.d.ts +11 -11
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +5 -5
- 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 +3 -3
- package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts +3 -3
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +23 -23
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +5 -5
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +23 -23
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +5 -5
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +84 -84
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +12 -12
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +5 -5
- package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts +10 -10
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +5 -5
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts +92 -92
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +5 -5
- package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts +92 -92
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +4 -4
- package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +150 -150
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +15 -15
- 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 +7 -7
- package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts +7 -7
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +4 -4
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts +77 -77
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +5 -5
- 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 -5
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +7 -7
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts +27 -25
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +23 -21
- 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 +4 -4
- 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-button/vc-blade-toolbar-button.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_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/vc-blade-toolbar.vue.d.ts +4 -4
- 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/vc-blade.stories.d.ts +11 -11
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +6 -6
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +5 -5
- 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.stories.d.ts +7 -7
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +7 -7
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +6 -6
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue.d.ts +3 -3
- 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 +4 -3
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +3 -3
- 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 +3 -3
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +5 -4
- 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-mobile-item/vc-table-mobile-item.vue.d.ts +9 -9
- 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/vc-table.stories.d.ts +180 -165
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +36 -33
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/app-bar-button/app-bar-button.vue +169 -0
- package/shared/components/app-bar-button/index.ts +1 -0
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +138 -38
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +10 -1
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +55 -30
- package/shared/components/change-password/change-password.vue +7 -1
- package/shared/components/common/popup/vc-popup-error.vue +1 -1
- package/shared/components/common/popup/vc-popup-warning.vue +1 -1
- package/shared/components/index.ts +3 -0
- package/shared/components/language-selector/language-selector.vue +55 -39
- package/shared/components/notification-dropdown/_internal/notification/notification.vue +7 -1
- package/shared/components/notification-dropdown/notification-dropdown.vue +96 -83
- package/shared/components/notification-template/notification-template.vue +66 -22
- package/shared/components/notifications/styles/index.scss +1 -0
- package/shared/components/sidebar/index.ts +1 -0
- package/shared/components/sidebar/sidebar.vue +96 -0
- package/shared/components/theme-selector/index.ts +1 -0
- package/shared/components/theme-selector/theme-selector.vue +95 -0
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +139 -86
- package/shared/modules/assets/components/assets-details/assets-details.vue +9 -2
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +16 -6
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +1 -1
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +1 -1
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +6 -2
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +16 -2
- package/shared/modules/dynamic/types/index.ts +3 -0
- package/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue +14 -9
- package/shared/pages/InvitePage/components/invite/Invite.vue +59 -15
- package/shared/pages/LoginPage/components/login/Login.vue +78 -22
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +67 -15
- package/tailwind.config.ts +283 -15
- package/ui/components/atoms/vc-badge/vc-badge.vue +38 -23
- package/ui/components/atoms/vc-button/vc-button.vue +37 -34
- package/ui/components/atoms/vc-card/vc-card.vue +17 -11
- package/ui/components/atoms/vc-col/vc-col.vue +4 -6
- package/ui/components/atoms/vc-container/vc-container.vue +26 -8
- package/ui/components/atoms/vc-hint/vc-hint.vue +8 -2
- package/ui/components/atoms/vc-icon/vc-icon.vue +3 -3
- package/ui/components/atoms/vc-image/vc-image.vue +33 -9
- package/ui/components/atoms/vc-label/vc-label.vue +38 -9
- package/ui/components/atoms/vc-link/vc-link.vue +15 -8
- package/ui/components/atoms/vc-loading/vc-loading.vue +37 -8
- package/ui/components/atoms/vc-progress/vc-progress.vue +29 -21
- package/ui/components/atoms/vc-row/vc-row.vue +4 -2
- package/ui/components/atoms/vc-status/vc-status.vue +29 -20
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +20 -3
- package/ui/components/atoms/vc-switch/vc-switch.vue +41 -17
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +35 -9
- package/ui/components/atoms/vc-video/vc-video.vue +28 -6
- package/ui/components/atoms/vc-widget/vc-widget.vue +59 -28
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +29 -27
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +34 -11
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +43 -21
- package/ui/components/molecules/vc-editor/vc-editor.vue +70 -32
- package/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue +32 -16
- package/ui/components/molecules/vc-field/vc-field.vue +36 -13
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +75 -25
- package/ui/components/molecules/vc-input/vc-input.vue +279 -218
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +24 -2
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +102 -64
- package/ui/components/molecules/vc-notification/vc-notification.vue +40 -15
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +19 -15
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +18 -23
- package/ui/components/molecules/vc-rating/vc-rating.vue +9 -5
- package/ui/components/molecules/vc-select/vc-select.vue +211 -65
- package/ui/components/molecules/vc-slider/vc-slider.vue +32 -13
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +17 -12
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +68 -14
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +112 -122
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +213 -96
- package/ui/components/organisms/vc-app/vc-app.vue +41 -15
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +78 -30
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +81 -59
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +27 -13
- package/ui/components/organisms/vc-blade/vc-blade.vue +177 -46
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +40 -11
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +52 -18
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +38 -6
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +40 -14
- package/ui/components/organisms/vc-popup/vc-popup.vue +186 -44
- package/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue +25 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue +48 -12
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +130 -60
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +55 -7
- package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +17 -5
- package/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue +38 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +111 -62
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +139 -46
- package/ui/components/organisms/vc-table/vc-table.vue +370 -128
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="vc-row
|
|
2
|
+
<div class="vc-row">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
@@ -13,8 +13,10 @@ defineSlots<{
|
|
|
13
13
|
|
|
14
14
|
<style lang="scss">
|
|
15
15
|
.vc-row {
|
|
16
|
+
@apply tw-flex tw-flex-nowrap tw-items-stretch;
|
|
17
|
+
|
|
16
18
|
.vc-app_mobile & {
|
|
17
|
-
|
|
19
|
+
@apply tw-grid;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
22
|
</style>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<slot></slot>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
<script lang="ts" setup>
|
|
11
11
|
export interface Props {
|
|
12
12
|
variant?: "info" | "warning" | "danger" | "success" | "light-danger" | "info-dark" | "primary";
|
|
@@ -20,6 +20,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
defineSlots<{
|
|
23
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
23
24
|
default: (props?: any) => any;
|
|
24
25
|
}>();
|
|
25
26
|
</script>
|
|
@@ -33,45 +34,53 @@ defineSlots<{
|
|
|
33
34
|
--status-border-radius-extended: 4px;
|
|
34
35
|
--status-border-width: 1px;
|
|
35
36
|
|
|
36
|
-
--status-info-color:
|
|
37
|
-
--status-info-main-color:
|
|
37
|
+
--status-info-color: var(--neutrals-50);
|
|
38
|
+
--status-info-main-color: var(--info-300);
|
|
39
|
+
|
|
40
|
+
--status-warning-color: var(--neutrals-50);
|
|
41
|
+
--status-warning-main-color: var(--warning-500);
|
|
38
42
|
|
|
39
|
-
--status-
|
|
40
|
-
--status-
|
|
43
|
+
--status-danger-color: var(--neutrals-50);
|
|
44
|
+
--status-danger-main-color: var(--danger-500);
|
|
41
45
|
|
|
42
|
-
--status-
|
|
43
|
-
--status-
|
|
46
|
+
--status-success-color: var(--neutrals-50);
|
|
47
|
+
--status-success-main-color: var(--success-500);
|
|
44
48
|
|
|
45
|
-
--status-
|
|
46
|
-
--status-
|
|
49
|
+
--status-light-danger-color: var(--neutrals-50);
|
|
50
|
+
--status-light-danger-main-color: var(--danger-200);
|
|
47
51
|
|
|
48
|
-
--status-
|
|
49
|
-
--status-
|
|
52
|
+
--status-info-dark-color: var(--neutrals-50);
|
|
53
|
+
--status-info-dark-main-color: var(--info-600);
|
|
50
54
|
|
|
51
|
-
--status-
|
|
52
|
-
--status-
|
|
55
|
+
--status-primary-main-color: var(--primary-500);
|
|
56
|
+
--status-primary-color: var(--neutrals-50);
|
|
53
57
|
|
|
54
|
-
--status-
|
|
55
|
-
--status-primary-color: #ffffff;
|
|
58
|
+
--status-outline-bg-color: var(--additional-50);
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
$variants: info, warning, danger, success, light-danger, info-dark, primary;
|
|
59
62
|
|
|
60
63
|
.vc-status {
|
|
61
|
-
@apply tw-inline-block tw-
|
|
64
|
+
@apply tw-inline-block tw-font-normal tw-whitespace-nowrap tw-text-sm tw-truncate tw-text-center tw-border tw-border-solid tw-box-border tw-w-full;
|
|
65
|
+
|
|
66
|
+
@apply tw-py-1 tw-px-3.5 tw-rounded-[var(--status-border-radius)];
|
|
67
|
+
|
|
68
|
+
border-width: var(--status-border-width);
|
|
62
69
|
|
|
63
70
|
@each $variant in $variants {
|
|
64
|
-
|
|
65
|
-
@apply tw-text-[color:var(--status-#{$variant}-color)] tw-border
|
|
71
|
+
&.vc-status_#{$variant} {
|
|
72
|
+
@apply tw-text-[color:var(--status-#{$variant}-color)] tw-border-[color:var(--status-#{$variant}-main-color)] tw-bg-[color:var(--status-#{$variant}-main-color)];
|
|
66
73
|
|
|
67
74
|
&.vc-status_outline {
|
|
68
|
-
@apply tw-text-[color:var(--status-#{$variant}-main-color)] tw-
|
|
75
|
+
@apply tw-text-[color:var(--status-#{$variant}-main-color)] tw-bg-[color:var(--status-outline-bg-color)];
|
|
69
76
|
}
|
|
70
77
|
}
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
&.vc-status_extended {
|
|
74
|
-
@apply tw-whitespace-normal tw-
|
|
81
|
+
@apply tw-whitespace-normal tw-rounded-[var(--status-border-radius-extended)];
|
|
82
|
+
|
|
83
|
+
padding: var(--status-padding-extended);
|
|
75
84
|
}
|
|
76
85
|
}
|
|
77
86
|
</style>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="vc-status-icon">
|
|
3
3
|
<template v-if="status">
|
|
4
4
|
<VcIcon
|
|
5
5
|
icon="fas fa-check-circle"
|
|
6
|
-
class="
|
|
6
|
+
class="vc-status-icon__icon vc-status-icon__icon--success"
|
|
7
7
|
></VcIcon>
|
|
8
8
|
</template>
|
|
9
9
|
<template v-else>
|
|
10
10
|
<VcIcon
|
|
11
11
|
icon="fas fa-times-circle"
|
|
12
|
-
class="
|
|
12
|
+
class="vc-status-icon__icon vc-status-icon__icon--info"
|
|
13
13
|
></VcIcon>
|
|
14
14
|
</template>
|
|
15
15
|
</div>
|
|
@@ -23,3 +23,20 @@ export interface Props {
|
|
|
23
23
|
|
|
24
24
|
defineProps<Props>();
|
|
25
25
|
</script>
|
|
26
|
+
|
|
27
|
+
<style lang="scss">
|
|
28
|
+
:root {
|
|
29
|
+
--status-success-main-color: var(--success-400);
|
|
30
|
+
--status-info-main-color: var(--info-300);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.vc-status-icon {
|
|
34
|
+
&__icon--success {
|
|
35
|
+
@apply tw-text-[color:var(--status-success-main-color)];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__icon--info {
|
|
39
|
+
@apply tw-text-[color:var(--status-info-main-color)];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
</style>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="vc-switch">
|
|
3
3
|
<!-- Switch label -->
|
|
4
4
|
<VcLabel
|
|
5
5
|
v-if="label"
|
|
6
|
-
class="
|
|
6
|
+
class="vc-switch__label"
|
|
7
7
|
:required="required"
|
|
8
8
|
>
|
|
9
9
|
<span>{{ label }}</span>
|
|
10
10
|
</VcLabel>
|
|
11
|
-
<div class="
|
|
11
|
+
<div class="vc-switch__container">
|
|
12
12
|
<label>
|
|
13
13
|
<input
|
|
14
14
|
type="checkbox"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</label>
|
|
22
22
|
<VcHint
|
|
23
23
|
v-if="tooltip"
|
|
24
|
-
class="
|
|
24
|
+
class="vc-switch__hint"
|
|
25
25
|
>
|
|
26
26
|
{{ tooltip }}
|
|
27
27
|
</VcHint>
|
|
@@ -66,34 +66,58 @@ function onInput(e: Event) {
|
|
|
66
66
|
|
|
67
67
|
<style lang="scss">
|
|
68
68
|
:root {
|
|
69
|
-
--switch-
|
|
70
|
-
--switch-
|
|
69
|
+
--switch-width: 32px;
|
|
70
|
+
--switch-height: 18px;
|
|
71
|
+
--switch-thumb-size: 16px;
|
|
72
|
+
--switch-translate: 14px;
|
|
73
|
+
|
|
74
|
+
--switch-main-color: var(--primary-500);
|
|
75
|
+
--switch-secondary-color: var(--neutrals-300);
|
|
76
|
+
--switch-icon-background: var(--additional-50);
|
|
77
|
+
--switch-icon-color: var(--neutrals-400);
|
|
78
|
+
--switch-shadow-color: var(--additional-950);
|
|
79
|
+
--switch-shadow: inset 0px 2px 4px rgb(from var(--switch-shadow-color) r g b / 10%);
|
|
71
80
|
--switch-transition: all 0.2s ease-in-out;
|
|
72
|
-
--switch-icon-transition: opacity 0.3s ease-in-out;
|
|
73
81
|
}
|
|
74
82
|
|
|
75
83
|
.vc-switch {
|
|
76
|
-
&
|
|
77
|
-
@apply tw-
|
|
84
|
+
&__label {
|
|
85
|
+
@apply tw-mb-2;
|
|
86
|
+
}
|
|
78
87
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
&__container {
|
|
89
|
+
@apply tw-relative tw-inline-block tw-w-[var(--switch-width)] tw-h-[var(--switch-height)];
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&__hint {
|
|
93
|
+
@apply tw-mt-2 tw-w-max;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&__input {
|
|
97
|
+
@apply tw-w-0 tw-h-0 tw-opacity-0 tw-cursor-pointer;
|
|
82
98
|
|
|
83
99
|
&:checked + .vc-switch__slider {
|
|
84
|
-
@apply tw-bg-[color:var(--switch-main-color)]
|
|
100
|
+
@apply tw-bg-[color:var(--switch-main-color)];
|
|
101
|
+
|
|
102
|
+
&::before {
|
|
103
|
+
@apply [transform:translateX(var(--switch-translate))_translateY(-50%)];
|
|
104
|
+
}
|
|
85
105
|
}
|
|
86
106
|
|
|
87
107
|
&:disabled + .vc-switch__slider {
|
|
88
|
-
@apply tw-bg-[color:var(--switch-secondary-color)];
|
|
108
|
+
@apply tw-bg-[color:var(--switch-secondary-color)] tw-cursor-not-allowed;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&:disabled {
|
|
112
|
+
@apply tw-cursor-not-allowed;
|
|
89
113
|
}
|
|
90
114
|
}
|
|
91
115
|
|
|
92
116
|
&__slider {
|
|
93
|
-
@apply tw-absolute tw-
|
|
117
|
+
@apply tw-absolute tw-inset-0 tw-bg-[color:var(--switch-secondary-color)] tw-rounded-full tw-transition tw-duration-200 [box-shadow:var(--switch-shadow)] tw-cursor-pointer;
|
|
94
118
|
|
|
95
|
-
|
|
96
|
-
@apply tw-absolute tw-
|
|
119
|
+
&::before {
|
|
120
|
+
@apply tw-absolute tw-left-px tw-top-1/2 tw-transition tw-duration-200 tw-bg-[color:var(--switch-icon-background)] tw-rounded-full tw-w-[var(--switch-thumb-size)] tw-h-[var(--switch-thumb-size)] [content:''] [box-shadow:var(--switch-shadow)] [transform:translateX(0)_translateY(-50%)];
|
|
97
121
|
}
|
|
98
122
|
}
|
|
99
123
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
ref="target"
|
|
4
|
+
class="vc-tooltip"
|
|
5
|
+
>
|
|
3
6
|
<div
|
|
4
7
|
ref="tooltipCompRef"
|
|
5
|
-
class="
|
|
6
|
-
@mouseenter="tooltipVisible = true"
|
|
7
|
-
@mouseleave="tooltipVisible = false"
|
|
8
|
+
class="vc-tooltip__trigger"
|
|
8
9
|
>
|
|
9
10
|
<slot></slot>
|
|
10
11
|
</div>
|
|
@@ -14,9 +15,7 @@
|
|
|
14
15
|
v-if="tooltipVisible && $slots['tooltip']"
|
|
15
16
|
ref="tooltipRef"
|
|
16
17
|
:style="floatingStyles"
|
|
17
|
-
class="
|
|
18
|
-
@mouseenter="tooltipVisible = true"
|
|
19
|
-
@mouseleave="tooltipVisible = false"
|
|
18
|
+
class="vc-tooltip__content"
|
|
20
19
|
>
|
|
21
20
|
<slot name="tooltip"></slot>
|
|
22
21
|
</span>
|
|
@@ -26,7 +25,9 @@
|
|
|
26
25
|
|
|
27
26
|
<script lang="ts" setup>
|
|
28
27
|
import { useFloating, shift, Placement, offset as floatingOffset } from "@floating-ui/vue";
|
|
29
|
-
import { ref } from "vue";
|
|
28
|
+
import { ref, nextTick, watch } from "vue";
|
|
29
|
+
import { useMouseInElement } from "@vueuse/core";
|
|
30
|
+
|
|
30
31
|
export interface Props {
|
|
31
32
|
placement?: Placement;
|
|
32
33
|
offset?: {
|
|
@@ -51,11 +52,36 @@ defineSlots<{
|
|
|
51
52
|
const tooltipVisible = ref(false);
|
|
52
53
|
const tooltipCompRef = ref<HTMLElement | null>(null);
|
|
53
54
|
const tooltipRef = ref<HTMLElement | null>(null);
|
|
55
|
+
const target = ref(null);
|
|
54
56
|
|
|
55
57
|
const { floatingStyles } = useFloating(tooltipCompRef, tooltipRef, {
|
|
56
58
|
placement: props.placement,
|
|
57
59
|
middleware: [floatingOffset(props.offset), shift()],
|
|
58
60
|
});
|
|
61
|
+
|
|
62
|
+
const { isOutside } = useMouseInElement(target);
|
|
63
|
+
|
|
64
|
+
watch(isOutside, (outside) => {
|
|
65
|
+
tooltipVisible.value = !outside;
|
|
66
|
+
});
|
|
59
67
|
</script>
|
|
60
68
|
|
|
61
|
-
<style lang="scss"
|
|
69
|
+
<style lang="scss">
|
|
70
|
+
:root {
|
|
71
|
+
--tooltip-background-color: var(--additional-50);
|
|
72
|
+
--tooltip-border-color: var(--base-border-color, var(--neutrals-200));
|
|
73
|
+
--tooltip-shadow-color: var(--secondary-300);
|
|
74
|
+
--tooltip-shadow: 1px 1px 8px rgba(var(--tooltip-shadow-color), 0.25);
|
|
75
|
+
--tooltip-text-color: var(--neutrals-600);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.vc-tooltip {
|
|
79
|
+
&__trigger {
|
|
80
|
+
@apply tw-inline-flex tw-w-full tw-h-full;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__content {
|
|
84
|
+
@apply tw-absolute tw-z-50 tw-bg-[color:var(--tooltip-background-color)] tw-border tw-border-solid tw-border-[color:var(--tooltip-border-color)] tw-shadow-lg tw-rounded tw-text-[color:var(--tooltip-text-color)] tw-font-normal tw-py-1 tw-px-2;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
</style>
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="
|
|
2
|
+
<div class="vc-video">
|
|
3
3
|
<VcLabel
|
|
4
4
|
v-if="label"
|
|
5
|
-
class="
|
|
5
|
+
class="vc-video__label"
|
|
6
6
|
>
|
|
7
7
|
<span>{{ label }}</span>
|
|
8
8
|
<template
|
|
9
9
|
v-if="tooltip"
|
|
10
10
|
#tooltip
|
|
11
|
-
>{{ tooltip }}</template
|
|
12
11
|
>
|
|
12
|
+
{{ tooltip }}
|
|
13
|
+
</template>
|
|
13
14
|
</VcLabel>
|
|
14
15
|
|
|
15
|
-
<div class="
|
|
16
|
+
<div class="vc-video__container">
|
|
16
17
|
<div v-if="source">
|
|
17
18
|
<iframe
|
|
18
19
|
:src="`${source}`"
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
</div>
|
|
27
28
|
<div
|
|
28
29
|
v-else
|
|
29
|
-
class="
|
|
30
|
+
class="vc-video__placeholder"
|
|
30
31
|
>
|
|
31
32
|
<VcIcon
|
|
32
33
|
icon="fas fa-film"
|
|
@@ -51,6 +52,27 @@ export interface Emits {
|
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
defineProps<Props>();
|
|
54
|
-
|
|
55
55
|
defineEmits<Emits>();
|
|
56
56
|
</script>
|
|
57
|
+
|
|
58
|
+
<style lang="scss">
|
|
59
|
+
:root {
|
|
60
|
+
--video-icon-color: var(--primary-400);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.vc-video {
|
|
64
|
+
@apply tw-inline-block tw-relative;
|
|
65
|
+
|
|
66
|
+
&__label {
|
|
67
|
+
@apply tw-mb-2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&__container {
|
|
71
|
+
@apply tw-w-full tw-relative;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__placeholder {
|
|
75
|
+
@apply tw-absolute tw-w-full tw-h-full tw-flex tw-items-center tw-justify-center tw-text-[color:var(--video-icon-color)];
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
</style>
|
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
}"
|
|
8
8
|
>
|
|
9
9
|
<div
|
|
10
|
-
class="vc-widget
|
|
11
|
-
:class="
|
|
12
|
-
'
|
|
13
|
-
'vc-
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
|
|
10
|
+
class="vc-widget"
|
|
11
|
+
:class="[
|
|
12
|
+
{ 'vc-widget--expanded': isExpanded },
|
|
13
|
+
{ 'vc-widget--collapsed': !isExpanded },
|
|
14
|
+
{ 'vc-widget--mobile': $isMobile.value },
|
|
15
|
+
{ 'vc-widget--disabled': disabled },
|
|
16
|
+
]"
|
|
17
17
|
@click="onClick"
|
|
18
18
|
>
|
|
19
19
|
<VcBadge
|
|
20
20
|
:content="truncateCount"
|
|
21
21
|
:size="isExpanded ? 'm' : 's'"
|
|
22
22
|
>
|
|
23
|
-
<div class="
|
|
23
|
+
<div class="vc-widget__icon-container">
|
|
24
24
|
<VcIcon
|
|
25
25
|
v-if="icon"
|
|
26
26
|
class="vc-widget__icon"
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
></VcIcon>
|
|
30
30
|
</div>
|
|
31
31
|
</VcBadge>
|
|
32
|
-
<div class="
|
|
32
|
+
<div class="vc-widget__content">
|
|
33
33
|
<div
|
|
34
34
|
v-if="title && isExpanded"
|
|
35
|
-
class="vc-widget__title
|
|
35
|
+
class="vc-widget__title"
|
|
36
36
|
>
|
|
37
37
|
{{ title }}
|
|
38
38
|
</div>
|
|
@@ -85,39 +85,70 @@ function onClick() {
|
|
|
85
85
|
</script>
|
|
86
86
|
|
|
87
87
|
<style lang="scss">
|
|
88
|
+
:root {
|
|
89
|
+
--widget-bg-color: var(--additional-50);
|
|
90
|
+
--widget-border-color: var(--base-border-color, var(--neutrals-200));
|
|
91
|
+
--widget-bg-hover-color: var(--primary-50);
|
|
92
|
+
--widget-icon-color: var(--secondary-500);
|
|
93
|
+
--widget-icon-disabled-color: var(--neutrals-300);
|
|
94
|
+
--widget-title-color: var(--base-text-color, var(--neutrals-950));
|
|
95
|
+
--widget-title-disabled-color: var(--neutrals-300);
|
|
96
|
+
--widget-value-color: var(--primary-400);
|
|
97
|
+
--widget-value-disabled-color: var(--neutrals-300);
|
|
98
|
+
}
|
|
99
|
+
|
|
88
100
|
.vc-widget {
|
|
89
|
-
@apply tw-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
101
|
+
@apply tw-relative tw-shrink-0 tw-py-4 tw-px-2;
|
|
102
|
+
@apply tw-flex tw-overflow-hidden tw-box-border tw-flex-col tw-items-center tw-justify-center tw-border-b tw-border-solid tw-cursor-pointer;
|
|
103
|
+
@apply tw-bg-[color:var(--widget-bg-color)] tw-border-b-[color:var(--widget-border-color)];
|
|
104
|
+
|
|
105
|
+
&:hover {
|
|
106
|
+
@apply tw-bg-[color:var(--widget-bg-hover-color)];
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&--expanded {
|
|
110
|
+
@apply tw-w-32 tw-h-32;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&--collapsed {
|
|
114
|
+
@apply tw-w-12 tw-h-12;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&--mobile {
|
|
118
|
+
@apply tw-w-28;
|
|
119
|
+
@apply tw-border-none #{!important};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&__icon-container {
|
|
123
|
+
@apply tw-flex tw-flex-col tw-items-center tw-justify-center;
|
|
97
124
|
}
|
|
98
125
|
|
|
99
126
|
&__icon {
|
|
100
|
-
@apply tw-text-[
|
|
127
|
+
@apply tw-text-[color:var(--widget-icon-color)];
|
|
101
128
|
}
|
|
102
129
|
|
|
103
|
-
|
|
104
|
-
@apply tw-text-[
|
|
130
|
+
&--disabled &__icon {
|
|
131
|
+
@apply tw-text-[color:var(--widget-icon-disabled-color)];
|
|
105
132
|
}
|
|
106
133
|
|
|
107
134
|
&__title {
|
|
108
|
-
@apply tw-font-medium tw-text-sm tw-text-[
|
|
135
|
+
@apply tw-font-medium tw-text-sm tw-text-[color:var(--widget-title-color)] tw-mt-2 tw-mx-0 tw-text-center tw-line-clamp-2;
|
|
109
136
|
}
|
|
110
137
|
|
|
111
|
-
|
|
112
|
-
@apply tw-text-[
|
|
138
|
+
&--disabled &__title {
|
|
139
|
+
@apply tw-text-[color:var(--widget-title-disabled-color)];
|
|
113
140
|
}
|
|
114
141
|
|
|
115
|
-
&
|
|
116
|
-
@apply tw-
|
|
142
|
+
&__content {
|
|
143
|
+
@apply tw-w-full;
|
|
117
144
|
}
|
|
118
145
|
|
|
119
|
-
|
|
120
|
-
@apply tw-
|
|
146
|
+
&--disabled {
|
|
147
|
+
@apply tw-cursor-default tw-bg-[color:var(--widget-bg-color)];
|
|
148
|
+
|
|
149
|
+
&:hover {
|
|
150
|
+
@apply tw-bg-[color:var(--widget-bg-color)];
|
|
151
|
+
}
|
|
121
152
|
}
|
|
122
153
|
}
|
|
123
154
|
</style>
|
package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div
|
|
3
3
|
class="vc-breadcrumbs-item"
|
|
4
4
|
:class="{
|
|
5
|
-
'vc-breadcrumbs-
|
|
6
|
-
'
|
|
5
|
+
'vc-breadcrumbs-item--current': current,
|
|
6
|
+
'vc-breadcrumbs-item--light': variant === 'light',
|
|
7
7
|
}"
|
|
8
8
|
@click="onClick"
|
|
9
9
|
>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:icon="icon"
|
|
14
14
|
size="s"
|
|
15
15
|
/>
|
|
16
|
-
<div class="vc-breadcrumbs-item__title
|
|
16
|
+
<div class="vc-breadcrumbs-item__title">
|
|
17
17
|
{{ title }}
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
@@ -51,40 +51,42 @@ function onClick(): void {
|
|
|
51
51
|
:root {
|
|
52
52
|
--breadcrumbs-item-height: 28px;
|
|
53
53
|
--breadcrumbs-item-height-light: 20px;
|
|
54
|
-
--breadcrumbs-item-border-color:
|
|
55
|
-
--breadcrumbs-item-border-color-hover:
|
|
56
|
-
--breadcrumbs-item-border-color-current:
|
|
57
|
-
--breadcrumbs-item-color:
|
|
58
|
-
--breadcrumbs-item-color-current:
|
|
59
|
-
--breadcrumbs-item-icon-color:
|
|
54
|
+
--breadcrumbs-item-border-color: var(--secondary-300);
|
|
55
|
+
--breadcrumbs-item-border-color-hover: var(--secondary-400);
|
|
56
|
+
--breadcrumbs-item-border-color-current: var(--secondary-500);
|
|
57
|
+
--breadcrumbs-item-color: var(--primary-500);
|
|
58
|
+
--breadcrumbs-item-color-current: var(--primary-600);
|
|
59
|
+
--breadcrumbs-item-icon-color: var(--secondary-300);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.vc-breadcrumbs-item {
|
|
63
|
-
@apply tw-
|
|
64
|
-
tw-
|
|
65
|
-
tw-border tw-
|
|
66
|
-
tw-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
63
|
+
@apply tw-box-border tw-rounded-[3px] tw-border tw-border-solid tw-text-sm tw-cursor-pointer tw-inline-flex tw-items-center;
|
|
64
|
+
@apply tw-h-[var(--breadcrumbs-item-height)] tw-px-3 tw-whitespace-nowrap;
|
|
65
|
+
@apply tw-border-[color:var(--breadcrumbs-item-border-color)] tw-text-[color:var(--breadcrumbs-item-color)];
|
|
66
|
+
@apply tw-transition-colors tw-duration-300;
|
|
67
|
+
|
|
68
|
+
&--current {
|
|
69
|
+
@apply tw-text-[color:var(--breadcrumbs-item-color-current)] tw-border-[color:var(--breadcrumbs-item-border-color-current)] tw-cursor-default tw-mr-0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&--light {
|
|
73
|
+
@apply tw-px-1 tw-h-[var(--breadcrumbs-item-height-light)];
|
|
74
|
+
}
|
|
74
75
|
|
|
75
76
|
&__icon {
|
|
76
77
|
@apply tw-mr-2 tw-text-[color:var(--breadcrumbs-item-icon-color)];
|
|
77
78
|
}
|
|
78
79
|
|
|
79
|
-
&
|
|
80
|
-
@apply tw-
|
|
80
|
+
&__title {
|
|
81
|
+
@apply tw-max-w-[150px] tw-truncate;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&--error {
|
|
85
|
+
@apply tw-border-[color:var(--breadcrumbs-item-border-color-error)] tw-text-[color:var(--breadcrumbs-item-color-error)];
|
|
81
86
|
}
|
|
82
87
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
@apply tw-text-[color:var(--breadcrumbs-item-color-current)]
|
|
86
|
-
tw-border tw-border-solid tw-border-[color:var(--breadcrumbs-item-border-color-current)]
|
|
87
|
-
tw-cursor-default tw-mr-0;
|
|
88
|
+
&:hover {
|
|
89
|
+
@apply tw-border tw-border-solid tw-border-[color:var(--breadcrumbs-item-border-color-hover)];
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
</style>
|