@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
|
@@ -6,57 +6,57 @@
|
|
|
6
6
|
>
|
|
7
7
|
<Dialog
|
|
8
8
|
as="div"
|
|
9
|
-
class="
|
|
9
|
+
class="vc-popup"
|
|
10
10
|
@close="closeModal"
|
|
11
11
|
>
|
|
12
12
|
<TransitionChild
|
|
13
13
|
as="template"
|
|
14
|
-
enter="
|
|
15
|
-
enter-from="
|
|
16
|
-
enter-to="
|
|
17
|
-
leave="
|
|
18
|
-
leave-from="
|
|
19
|
-
leave-to="
|
|
14
|
+
enter="vc-popup__transition-enter"
|
|
15
|
+
enter-from="vc-popup__transition-enter-from"
|
|
16
|
+
enter-to="vc-popup__transition-enter-to"
|
|
17
|
+
leave="vc-popup__transition-leave"
|
|
18
|
+
leave-from="vc-popup__transition-leave-from"
|
|
19
|
+
leave-to="vc-popup__transition-leave-to"
|
|
20
20
|
>
|
|
21
|
-
<div class="
|
|
21
|
+
<div class="vc-popup__overlay" />
|
|
22
22
|
</TransitionChild>
|
|
23
23
|
|
|
24
24
|
<div
|
|
25
|
-
class="
|
|
25
|
+
class="vc-popup__container"
|
|
26
26
|
:class="{
|
|
27
|
-
'
|
|
28
|
-
'
|
|
27
|
+
'vc-popup__container--desktop': !isMobileView,
|
|
28
|
+
'vc-popup__container--mobile': isMobileView,
|
|
29
29
|
}"
|
|
30
30
|
>
|
|
31
|
-
<div class="
|
|
31
|
+
<div class="vc-popup__center">
|
|
32
32
|
<TransitionChild
|
|
33
33
|
as="template"
|
|
34
|
-
enter="
|
|
35
|
-
enter-from="
|
|
36
|
-
enter-to="
|
|
37
|
-
leave="
|
|
38
|
-
leave-from="
|
|
39
|
-
leave-to="
|
|
34
|
+
enter="vc-popup__dialog-enter"
|
|
35
|
+
enter-from="vc-popup__dialog-enter-from"
|
|
36
|
+
enter-to="vc-popup__dialog-enter-to"
|
|
37
|
+
leave="vc-popup__dialog-leave"
|
|
38
|
+
leave-from="vc-popup__dialog-leave-from"
|
|
39
|
+
leave-to="vc-popup__dialog-leave-to"
|
|
40
40
|
>
|
|
41
41
|
<DialogPanel
|
|
42
|
-
class="
|
|
42
|
+
class="vc-popup__panel"
|
|
43
43
|
:class="[
|
|
44
44
|
{
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
45
|
+
'vc-popup__panel--desktop': !isMobileView,
|
|
46
|
+
'vc-popup__panel--mobile': isMobileView,
|
|
47
|
+
'vc-popup__panel--fullscreen': isFullscreen,
|
|
48
48
|
},
|
|
49
49
|
modalWidth,
|
|
50
50
|
]"
|
|
51
51
|
>
|
|
52
52
|
<DialogTitle
|
|
53
53
|
as="h3"
|
|
54
|
-
class="
|
|
54
|
+
class="vc-popup__title"
|
|
55
55
|
>
|
|
56
56
|
<slot name="header">{{ title }}</slot>
|
|
57
57
|
|
|
58
58
|
<button
|
|
59
|
-
class="
|
|
59
|
+
class="vc-popup__close-btn"
|
|
60
60
|
@click="closeModal"
|
|
61
61
|
>
|
|
62
62
|
<svg
|
|
@@ -75,22 +75,22 @@
|
|
|
75
75
|
</button>
|
|
76
76
|
</DialogTitle>
|
|
77
77
|
|
|
78
|
-
<div class="
|
|
78
|
+
<div class="vc-popup__content">
|
|
79
79
|
<VcIcon
|
|
80
80
|
v-if="variant !== 'default'"
|
|
81
|
-
:class="['
|
|
81
|
+
:class="['vc-popup__icon', iconStyle]"
|
|
82
82
|
:icon="icon"
|
|
83
83
|
/>
|
|
84
84
|
|
|
85
85
|
<div
|
|
86
|
-
class="
|
|
86
|
+
class="vc-popup__content-inner"
|
|
87
87
|
:class="{
|
|
88
|
-
'
|
|
88
|
+
'vc-popup__content-inner--grow': isMobileView,
|
|
89
89
|
}"
|
|
90
90
|
>
|
|
91
91
|
<div
|
|
92
|
-
class="
|
|
93
|
-
:class="{ '
|
|
92
|
+
class="vc-popup__content-wrapper"
|
|
93
|
+
:class="{ 'vc-popup__content-wrapper--full': isFullscreen }"
|
|
94
94
|
>
|
|
95
95
|
<slot name="content"></slot>
|
|
96
96
|
</div>
|
|
@@ -98,17 +98,18 @@
|
|
|
98
98
|
</div>
|
|
99
99
|
<div
|
|
100
100
|
v-if="$slots.footer"
|
|
101
|
-
class="
|
|
101
|
+
class="vc-popup__footer"
|
|
102
102
|
>
|
|
103
103
|
<slot
|
|
104
104
|
name="footer"
|
|
105
105
|
:close="closeModal"
|
|
106
106
|
>
|
|
107
107
|
<VcButton
|
|
108
|
-
class="
|
|
108
|
+
class="vc-popup__close-button"
|
|
109
109
|
@click="closeModal"
|
|
110
|
-
>{{ $t("COMPONENTS.ORGANISMS.VC_POPUP.CLOSE") }}</VcButton
|
|
111
110
|
>
|
|
111
|
+
{{ $t("COMPONENTS.ORGANISMS.VC_POPUP.CLOSE") }}
|
|
112
|
+
</VcButton>
|
|
112
113
|
</slot>
|
|
113
114
|
</div>
|
|
114
115
|
</DialogPanel>
|
|
@@ -168,11 +169,11 @@ const icon = computed(() => {
|
|
|
168
169
|
const iconStyle = computed(() => {
|
|
169
170
|
switch (props.variant) {
|
|
170
171
|
case "warning":
|
|
171
|
-
return "
|
|
172
|
+
return "vc-popup__icon--warning";
|
|
172
173
|
case "error":
|
|
173
|
-
return "
|
|
174
|
+
return "vc-popup__icon--error";
|
|
174
175
|
case "success":
|
|
175
|
-
return "
|
|
176
|
+
return "vc-popup__icon--success";
|
|
176
177
|
default:
|
|
177
178
|
return "";
|
|
178
179
|
}
|
|
@@ -187,13 +188,154 @@ function closeModal() {
|
|
|
187
188
|
|
|
188
189
|
<style lang="scss">
|
|
189
190
|
:root {
|
|
190
|
-
--close-btn-bg:
|
|
191
|
-
--close-btn-bg-hover: color-mix(in srgb, var(--close-btn-bg), #000 5%);
|
|
192
|
-
--header-color:
|
|
193
|
-
--content-text-color:
|
|
194
|
-
--warning-icon-color:
|
|
195
|
-
--error-icon-color:
|
|
196
|
-
--success-icon-color:
|
|
197
|
-
--footer-separator:
|
|
191
|
+
--popup-close-btn-bg: var(--neutrals-100);
|
|
192
|
+
--popup-close-btn-bg-hover: color-mix(in srgb, var(--popup-close-btn-bg), #000 5%);
|
|
193
|
+
--popup-header-color: var(--primary-700);
|
|
194
|
+
--popup-content-text-color: var(--primary-700);
|
|
195
|
+
--popup-warning-icon-color: var(--warning-500);
|
|
196
|
+
--popup-error-icon-color: var(--base-error-color, var(--danger-500));
|
|
197
|
+
--popup-success-icon-color: var(--success-500);
|
|
198
|
+
--popup-footer-separator: var(--base-border-color, var(--neutrals-200));
|
|
199
|
+
--popup-overlay-color: var(--additional-50);
|
|
200
|
+
--popup-overlay: rgb(from var(--popup-overlay-color) r g b / 75%);
|
|
201
|
+
--popup-bg: var(--additional-50);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.vc-popup {
|
|
205
|
+
&__overlay {
|
|
206
|
+
@apply tw-fixed tw-inset-0 tw-bg-[var(--popup-overlay)] tw-backdrop-blur-[3px];
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&__container {
|
|
210
|
+
@apply tw-fixed tw-inset-0 tw-overflow-y-auto;
|
|
211
|
+
|
|
212
|
+
&--desktop {
|
|
213
|
+
@apply tw-p-4;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&--mobile {
|
|
217
|
+
@apply tw-p-0;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&__center {
|
|
222
|
+
@apply tw-flex tw-min-h-full tw-items-center tw-justify-center tw-text-center;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&__panel {
|
|
226
|
+
@apply tw-w-full tw-transform tw-overflow-hidden tw-rounded-[5px] tw-bg-[var(--popup-bg)] tw-text-left tw-align-middle tw-shadow-xl tw-transition-all;
|
|
227
|
+
|
|
228
|
+
&--desktop {
|
|
229
|
+
@apply tw-flex tw-flex-col [max-height:calc(100vh-40px)];
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&--mobile {
|
|
233
|
+
@apply tw-max-w-full tw-h-[100dvh] tw-rounded-none tw-flex tw-flex-col;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&--fullscreen {
|
|
237
|
+
@apply tw-h-screen #{!important};
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&__title {
|
|
242
|
+
@apply tw-text-lg tw-font-semibold tw-leading-5 tw-text-[var(--popup-header-color)] tw-flex tw-px-6 tw-py-5;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&__close-btn {
|
|
246
|
+
@apply tw-h-[26px] tw-w-[26px] tw-bg-[var(--popup-close-btn-bg)] tw-rounded-[4px] tw-inline-flex tw-items-center tw-justify-center tw-ml-auto hover:tw-bg-[var(--popup-close-btn-bg-hover)] tw-outline-none;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&__content {
|
|
250
|
+
@apply tw-flex tw-w-full tw-min-h-0 tw-grow tw-gap-5 tw-px-6 tw-pb-5 tw-pt-3;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&__content-inner {
|
|
254
|
+
@apply tw-text-sm tw-font-normal tw-leading-5 tw-text-[var(--popup-content-text-color)] tw-flex tw-items-center tw-flex-auto tw-overflow-y-auto [word-break:break-word];
|
|
255
|
+
|
|
256
|
+
&--grow {
|
|
257
|
+
@apply tw-grow;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&__content-wrapper {
|
|
262
|
+
@apply tw-flex tw-flex-auto tw-self-center tw-min-h-0 tw-max-h-[-webkit-fill-available];
|
|
263
|
+
|
|
264
|
+
&--full {
|
|
265
|
+
@apply tw-h-full;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&__footer {
|
|
270
|
+
@apply tw-flex tw-items-center tw-px-6 tw-py-5 tw-border-t tw-border-t-[var(--popup-footer-separator)] tw-border-solid;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&__close-button {
|
|
274
|
+
@apply tw-ml-auto;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&__icon {
|
|
278
|
+
@apply tw-self-center tw-text-[40px];
|
|
279
|
+
|
|
280
|
+
&--warning {
|
|
281
|
+
@apply tw-text-[var(--popup-warning-icon-color)];
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&--error {
|
|
285
|
+
@apply tw-text-[var(--popup-error-icon-color)];
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
&--success {
|
|
289
|
+
@apply tw-text-[var(--popup-success-icon-color)];
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&__transition-enter {
|
|
294
|
+
@apply tw-duration-300 tw-ease-out;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&__transition-enter-from {
|
|
298
|
+
@apply tw-opacity-0;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&__transition-enter-to {
|
|
302
|
+
@apply tw-opacity-100;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&__transition-leave {
|
|
306
|
+
@apply tw-duration-200 tw-ease-in;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
&__transition-leave-from {
|
|
310
|
+
@apply tw-opacity-100;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
&__transition-leave-to {
|
|
314
|
+
@apply tw-opacity-0;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
&__dialog-enter {
|
|
318
|
+
@apply tw-duration-300 tw-ease-out;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
&__dialog-enter-from {
|
|
322
|
+
@apply tw-opacity-0 tw-scale-95;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
&__dialog-enter-to {
|
|
326
|
+
@apply tw-opacity-100 tw-scale-100;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
&__dialog-leave {
|
|
330
|
+
@apply tw-duration-200 tw-ease-in;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
&__dialog-leave-from {
|
|
334
|
+
@apply tw-opacity-100 tw-scale-100;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
&__dialog-leave-to {
|
|
338
|
+
@apply tw-opacity-0 tw-scale-95;
|
|
339
|
+
}
|
|
198
340
|
}
|
|
199
341
|
</style>
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
o
|
|
2
1
|
<template>
|
|
3
|
-
<div
|
|
4
|
-
|
|
2
|
+
<div
|
|
3
|
+
v-if="editing && addNewRowButton"
|
|
4
|
+
class="vc-table-add-new-row"
|
|
5
|
+
>
|
|
6
|
+
<div class="vc-table-add-new-row__container">
|
|
5
7
|
<VcButton
|
|
6
8
|
v-if="addNewRowButton.show"
|
|
7
9
|
text
|
|
10
|
+
class="vc-table-add-new-row__button"
|
|
8
11
|
@click="$emit('onAddNewRow')"
|
|
9
12
|
>
|
|
10
|
-
<div class="
|
|
13
|
+
<div class="vc-table-add-new-row__content">
|
|
11
14
|
<VcIcon
|
|
12
15
|
icon="fas fa-plus"
|
|
13
16
|
size="m"
|
|
14
|
-
class="
|
|
17
|
+
class="vc-table-add-new-row__icon"
|
|
15
18
|
/>
|
|
16
19
|
{{ unref(addNewRowButton.title) }}
|
|
17
20
|
</div>
|
|
@@ -41,4 +44,20 @@ defineProps<Props>();
|
|
|
41
44
|
defineEmits<Emits>();
|
|
42
45
|
</script>
|
|
43
46
|
|
|
44
|
-
<style lang="scss"
|
|
47
|
+
<style lang="scss">
|
|
48
|
+
:root {
|
|
49
|
+
--table-add-new-icon-color: var(--primary-400);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.vc-table-add-new-row {
|
|
53
|
+
@apply tw-p-3;
|
|
54
|
+
|
|
55
|
+
&__content {
|
|
56
|
+
@apply tw-flex tw-flex-row tw-gap-2 tw-items-center;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__icon {
|
|
60
|
+
@apply tw-text-[color:var(--table-add-new-icon-color)];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
</style>
|
package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="
|
|
3
|
+
class="vc-table-header"
|
|
4
4
|
:class="{
|
|
5
|
-
'
|
|
6
|
-
'
|
|
5
|
+
'vc-table-header--mobile': $isMobile.value,
|
|
6
|
+
'vc-table-header--desktop': $isDesktop.value,
|
|
7
7
|
}"
|
|
8
8
|
>
|
|
9
|
-
<!-- Table filter mobile button -->
|
|
10
9
|
<div
|
|
11
10
|
v-if="$isMobile.value && $slots['filters']"
|
|
12
|
-
class="
|
|
11
|
+
class="vc-table-header__filter-mobile"
|
|
13
12
|
>
|
|
14
|
-
<VcTableFilter
|
|
13
|
+
<VcTableFilter
|
|
14
|
+
:counter="activeFilterCount"
|
|
15
|
+
:disabled="disableFilter"
|
|
16
|
+
>
|
|
15
17
|
<template #default="{ closePanel }">
|
|
16
18
|
<slot
|
|
17
19
|
name="filters"
|
|
@@ -21,10 +23,9 @@
|
|
|
21
23
|
</VcTableFilter>
|
|
22
24
|
</div>
|
|
23
25
|
|
|
24
|
-
<!-- Table search input -->
|
|
25
26
|
<VcInput
|
|
26
27
|
ref="searchInput"
|
|
27
|
-
class="
|
|
28
|
+
class="vc-table-header__search-input"
|
|
28
29
|
:placeholder="searchPlaceholder || $t('COMPONENTS.ORGANISMS.VC_TABLE.SEARCH')"
|
|
29
30
|
clearable
|
|
30
31
|
name="table_search"
|
|
@@ -34,21 +35,21 @@
|
|
|
34
35
|
<template #prepend-inner="{ focus }">
|
|
35
36
|
<VcIcon
|
|
36
37
|
icon="fas fa-search"
|
|
37
|
-
class="
|
|
38
|
+
class="vc-table-header__search-icon"
|
|
38
39
|
@click="focus?.()"
|
|
39
40
|
></VcIcon>
|
|
40
41
|
</template>
|
|
41
42
|
</VcInput>
|
|
42
43
|
|
|
43
|
-
<!-- Table filter desktop button -->
|
|
44
44
|
<div
|
|
45
45
|
v-if="$isDesktop.value && $slots['filters']"
|
|
46
|
-
class="
|
|
46
|
+
class="vc-table-header__filter-desktop"
|
|
47
47
|
>
|
|
48
48
|
<VcTableFilter
|
|
49
49
|
:title="$t('COMPONENTS.ORGANISMS.VC_TABLE.ALL_FILTERS')"
|
|
50
50
|
:counter="activeFilterCount"
|
|
51
51
|
:parent-expanded="expanded"
|
|
52
|
+
:disabled="disableFilter"
|
|
52
53
|
>
|
|
53
54
|
<template #default="{ closePanel }">
|
|
54
55
|
<slot
|
|
@@ -69,6 +70,7 @@ export interface Props {
|
|
|
69
70
|
searchPlaceholder?: string;
|
|
70
71
|
activeFilterCount?: number;
|
|
71
72
|
expanded?: boolean;
|
|
73
|
+
disableFilter?: boolean;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
export interface Emits {
|
|
@@ -79,4 +81,38 @@ const props = defineProps<Props>();
|
|
|
79
81
|
const emit = defineEmits<Emits>();
|
|
80
82
|
</script>
|
|
81
83
|
|
|
82
|
-
<style lang="scss"
|
|
84
|
+
<style lang="scss">
|
|
85
|
+
:root {
|
|
86
|
+
--table-header-border-color: var(--base-border-color, var(--neutrals-200));
|
|
87
|
+
--table-header-input-icon-color: var(--neutrals-300);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.vc-table-header {
|
|
91
|
+
@apply tw-shrink-0 tw-flex tw-items-center tw-justify-between tw-box-border;
|
|
92
|
+
|
|
93
|
+
&--mobile {
|
|
94
|
+
@apply tw-px-4 tw-py-2 tw-border-b tw-border-solid;
|
|
95
|
+
border-color: var(--table-header-border-color);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&--desktop {
|
|
99
|
+
@apply tw-p-4;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&__filter-mobile {
|
|
103
|
+
@apply tw-mr-3;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__filter-desktop {
|
|
107
|
+
@apply tw-ml-3;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__search-input {
|
|
111
|
+
@apply tw-grow tw-basis-0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&__search-icon {
|
|
115
|
+
@apply tw-text-[color:var(--table-header-input-icon-color)];
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
</style>
|