@vc-shell/framework 1.0.53 → 1.0.54
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/core/composables/index.ts +0 -1
- package/core/composables/useApiClient/index.ts +1 -4
- package/core/composables/useAsync/index.ts +2 -6
- package/core/composables/useAutosave/index.ts +1 -3
- package/core/composables/useFunctions/debounce.ts +1 -4
- package/core/composables/useFunctions/delay.ts +1 -4
- package/core/composables/useFunctions/once.ts +1 -3
- package/core/composables/useFunctions/throttle.ts +1 -4
- package/core/composables/useI18n/index.ts +3 -24
- package/core/composables/useLoading/index.ts +1 -3
- package/core/composables/useNotifications/index.ts +5 -12
- package/core/composables/useSettings/index.ts +2 -3
- package/core/composables/useUser/index.ts +25 -64
- package/core/plugins/i18n/index.ts +8 -0
- package/core/plugins/index.ts +3 -1
- package/core/plugins/modularity/index.ts +32 -0
- package/core/plugins/moment/humanize.ts +1 -4
- package/core/plugins/validation/index.ts +11 -1
- package/core/plugins/validation/rules.ts +48 -170
- package/core/types/index.ts +3 -5
- package/dist/core/composables/index.d.ts +0 -1
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useApiClient/index.d.ts.map +1 -1
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useAutosave/index.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/debounce.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/delay.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/once.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/throttle.d.ts.map +1 -1
- package/dist/core/composables/useI18n/index.d.ts +2 -4
- package/dist/core/composables/useI18n/index.d.ts.map +1 -1
- package/dist/core/composables/useLoading/index.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/plugins/i18n/index.d.ts +3 -0
- package/dist/core/plugins/i18n/index.d.ts.map +1 -0
- package/dist/core/plugins/index.d.ts +3 -1
- package/dist/core/plugins/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +8 -0
- package/dist/core/plugins/modularity/index.d.ts.map +1 -0
- package/dist/core/plugins/moment/humanize.d.ts.map +1 -1
- package/dist/core/plugins/validation/index.d.ts +3 -1
- package/dist/core/plugins/validation/index.d.ts.map +1 -1
- package/dist/core/plugins/validation/rules.d.ts +32 -11
- package/dist/core/plugins/validation/rules.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +0 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.esm.js +42553 -0
- package/dist/framework.js +77 -75
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
- package/dist/shared/app-switcher/index.d.ts +2 -3
- package/dist/shared/app-switcher/index.d.ts.map +1 -1
- package/dist/shared/assets/components/index.d.ts +1 -1
- package/dist/shared/assets/components/index.d.ts.map +1 -1
- package/dist/shared/assets/index.d.ts +2 -3
- package/dist/shared/assets/index.d.ts.map +1 -1
- package/dist/shared/blade-navigation/composables/index.d.ts +1 -1
- package/dist/shared/blade-navigation/composables/index.d.ts.map +1 -1
- package/dist/shared/blade-navigation/composables/useBladeNavigation/index.d.ts +1 -1
- package/dist/shared/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/blade-navigation/index.d.ts +2 -3
- package/dist/shared/blade-navigation/index.d.ts.map +1 -1
- package/dist/shared/index.d.ts +4 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-badge/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts +20 -15
- package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts +30 -10
- package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts +28 -11
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts +25 -8
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-col/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts +8 -3
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts +20 -6
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/vc-hint-model.d.ts +5 -0
- package/dist/ui/components/atoms/vc-hint/vc-hint-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts +13 -5
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts +34 -11
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts +21 -7
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts +12 -4
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts +16 -5
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts +8 -3
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts +13 -5
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts +17 -6
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts +8 -3
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-switch/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts +25 -8
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +2 -2
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts +15 -7
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts.map +1 -1
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts +15 -10
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts +28 -11
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts +30 -10
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-form/vc-form-model.d.ts +5 -0
- package/dist/ui/components/molecules/vc-form/vc-form-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-input/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts +48 -25
- package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts +36 -28
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-notification/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts +13 -5
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts +20 -6
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts +17 -9
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-select/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts +67 -32
- package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts +25 -8
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +2 -2
- package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts +32 -12
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/index.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts +52 -17
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/index.d.ts +2 -2
- package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts +28 -11
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts +39 -10
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts +69 -27
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts +10 -5
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/index.d.ts +2 -2
- package/dist/ui/components/organisms/vc-popup/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts +18 -7
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/index.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts +103 -34
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts.map +1 -1
- package/dist/ui/types/index.d.ts +48 -46
- package/dist/ui/types/index.d.ts.map +1 -1
- package/dist/ui/types/ts-helpers.d.ts +14 -4
- package/dist/ui/types/ts-helpers.d.ts.map +1 -1
- package/dist/ui/utils/index.d.ts +2 -0
- package/dist/ui/utils/index.d.ts.map +1 -0
- package/dist/ui/utils/types.d.ts +3 -0
- package/dist/ui/utils/types.d.ts.map +1 -0
- package/dist/vite.config.d.ts +1 -1
- package/dist/vite.config.d.ts.map +1 -1
- package/package.json +8 -11
- package/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +2 -5
- package/shared/app-switcher/composables/useAppSwitcher/index.ts +2 -7
- package/shared/app-switcher/index.ts +3 -10
- package/shared/assets/components/assets-details/assets-details.vue +7 -28
- package/shared/assets/components/index.ts +1 -1
- package/shared/assets/index.ts +3 -15
- package/shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +2 -7
- package/shared/blade-navigation/composables/index.ts +1 -1
- package/shared/blade-navigation/composables/useBladeNavigation/index.ts +7 -36
- package/shared/blade-navigation/index.ts +3 -10
- package/shared/index.ts +9 -11
- package/ui/components/atoms/vc-badge/index.ts +4 -4
- package/ui/components/atoms/vc-badge/vc-badge-model.ts +22 -15
- package/ui/components/atoms/vc-badge/vc-badge.vue +5 -10
- package/ui/components/atoms/vc-button/index.ts +4 -4
- package/ui/components/atoms/vc-button/vc-button-model.ts +32 -17
- package/ui/components/atoms/vc-button/vc-button.vue +8 -13
- package/ui/components/atoms/vc-card/index.ts +3 -4
- package/ui/components/atoms/vc-card/vc-card-model.ts +31 -11
- package/ui/components/atoms/vc-card/vc-card.vue +20 -11
- package/ui/components/atoms/vc-checkbox/index.ts +3 -2
- package/ui/components/atoms/vc-checkbox/vc-checkbox-model.ts +28 -8
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +15 -11
- package/ui/components/atoms/vc-col/index.ts +1 -2
- package/ui/components/atoms/vc-col/vc-col-model.ts +9 -3
- package/ui/components/atoms/vc-col/vc-col.vue +2 -4
- package/ui/components/atoms/vc-container/index.ts +3 -2
- package/ui/components/atoms/vc-container/vc-container-model.ts +24 -8
- package/ui/components/atoms/vc-container/vc-container.vue +6 -14
- package/ui/components/atoms/vc-hint/vc-hint-model.ts +5 -0
- package/ui/components/atoms/vc-icon/index.ts +1 -3
- package/ui/components/atoms/vc-icon/vc-icon-model.ts +15 -6
- package/ui/components/atoms/vc-icon/vc-icon.vue +2 -5
- package/ui/components/atoms/vc-image/index.ts +4 -4
- package/ui/components/atoms/vc-image/vc-image-model.ts +36 -22
- package/ui/components/atoms/vc-image/vc-image.stories.ts +1 -2
- package/ui/components/atoms/vc-image/vc-image.vue +13 -17
- package/ui/components/atoms/vc-info-row/index.ts +1 -3
- package/ui/components/atoms/vc-info-row/vc-info-row-model.ts +22 -7
- package/ui/components/atoms/vc-info-row/vc-info-row.vue +13 -9
- package/ui/components/atoms/vc-label/index.ts +1 -3
- package/ui/components/atoms/vc-label/vc-label-model.ts +13 -4
- package/ui/components/atoms/vc-label/vc-label.vue +6 -6
- package/ui/components/atoms/vc-link/index.ts +3 -4
- package/ui/components/atoms/vc-link/vc-link-model.ts +18 -5
- package/ui/components/atoms/vc-link/vc-link.vue +4 -6
- package/ui/components/atoms/vc-loading/index.ts +1 -3
- package/ui/components/atoms/vc-loading/vc-loading-model.ts +9 -3
- package/ui/components/atoms/vc-loading/vc-loading.vue +4 -9
- package/ui/components/atoms/vc-progress/index.ts +1 -3
- package/ui/components/atoms/vc-progress/vc-progress-model.ts +14 -5
- package/ui/components/atoms/vc-progress/vc-progress.vue +4 -13
- package/ui/components/atoms/vc-status/index.ts +1 -3
- package/ui/components/atoms/vc-status/vc-status-model.ts +18 -12
- package/ui/components/atoms/vc-status/vc-status.vue +3 -11
- package/ui/components/atoms/vc-status-icon/index.ts +1 -3
- package/ui/components/atoms/vc-status-icon/vc-status-icon-model.ts +9 -3
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +2 -4
- package/ui/components/atoms/vc-switch/index.ts +4 -4
- package/ui/components/atoms/vc-switch/vc-switch-model.ts +28 -8
- package/ui/components/atoms/vc-switch/vc-switch.vue +12 -10
- package/ui/components/atoms/vc-widget/index.ts +4 -4
- package/ui/components/atoms/vc-widget/vc-widget-model.ts +17 -7
- package/ui/components/atoms/vc-widget/vc-widget.vue +16 -7
- package/ui/components/index.ts +1 -1
- package/ui/components/molecules/vc-breadcrumbs/index.ts +1 -3
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.ts +18 -10
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +6 -5
- package/ui/components/molecules/vc-editor/index.ts +4 -4
- package/ui/components/molecules/vc-editor/vc-editor-model.ts +31 -11
- package/ui/components/molecules/vc-editor/vc-editor.vue +17 -11
- package/ui/components/molecules/vc-file-upload/index.ts +3 -2
- package/ui/components/molecules/vc-file-upload/vc-file-upload-model.ts +33 -11
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +10 -14
- package/ui/components/molecules/vc-form/vc-form-model.ts +5 -0
- package/ui/components/molecules/vc-input/index.ts +4 -5
- package/ui/components/molecules/vc-input/vc-input-model.ts +53 -35
- package/ui/components/molecules/vc-input/vc-input.vue +41 -29
- package/ui/components/molecules/vc-input-currency/index.ts +3 -2
- package/ui/components/molecules/vc-input-currency/vc-input-currency-model.ts +42 -32
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +12 -7
- package/ui/components/molecules/vc-notification/index.ts +4 -3
- package/ui/components/molecules/vc-notification/vc-notification-model.ts +15 -5
- package/ui/components/molecules/vc-notification/vc-notification.vue +3 -5
- package/ui/components/molecules/vc-pagination/index.ts +4 -3
- package/ui/components/molecules/vc-pagination/vc-pagination-model.ts +23 -6
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +19 -11
- package/ui/components/molecules/vc-rating/index.ts +2 -4
- package/ui/components/molecules/vc-rating/vc-rating-model.ts +18 -9
- package/ui/components/molecules/vc-rating/vc-rating.vue +10 -4
- package/ui/components/molecules/vc-select/index.ts +5 -5
- package/ui/components/molecules/vc-select/vc-select-model.ts +74 -44
- package/ui/components/molecules/vc-select/vc-select.vue +126 -171
- package/ui/components/molecules/vc-slider/index.ts +2 -4
- package/ui/components/molecules/vc-slider/vc-slider-model.ts +30 -11
- package/ui/components/molecules/vc-slider/vc-slider.vue +2 -8
- package/ui/components/molecules/vc-textarea/index.ts +4 -3
- package/ui/components/molecules/vc-textarea/vc-textarea-model.ts +35 -12
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +16 -12
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +13 -9
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +12 -3
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +18 -16
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +8 -2
- package/ui/components/organisms/vc-app/index.ts +4 -4
- package/ui/components/organisms/vc-app/vc-app-model.ts +55 -17
- package/ui/components/organisms/vc-app/vc-app.vue +8 -25
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +22 -7
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +19 -13
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +13 -11
- package/ui/components/organisms/vc-blade/index.ts +5 -5
- package/ui/components/organisms/vc-blade/vc-blade-model.ts +30 -11
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +1 -2
- package/ui/components/organisms/vc-blade/vc-blade.vue +12 -14
- package/ui/components/organisms/vc-dynamic-property/index.ts +2 -4
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts +53 -20
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +41 -37
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +9 -2
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +14 -9
- package/ui/components/organisms/vc-gallery/index.ts +4 -3
- package/ui/components/organisms/vc-gallery/vc-gallery-model.ts +72 -27
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +7 -20
- package/ui/components/organisms/vc-login-form/index.ts +2 -4
- package/ui/components/organisms/vc-login-form/vc-login-form-model.ts +10 -5
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -4
- package/ui/components/organisms/vc-popup/index.ts +5 -5
- package/ui/components/organisms/vc-popup/vc-popup-model.ts +20 -7
- package/ui/components/organisms/vc-popup/vc-popup.vue +7 -7
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +19 -25
- package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +2 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +8 -2
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +27 -39
- package/ui/components/organisms/vc-table/index.ts +5 -5
- package/ui/components/organisms/vc-table/vc-table-model.ts +98 -38
- package/ui/components/organisms/vc-table/vc-table.vue +105 -103
- package/ui/types/index.ts +64 -160
- package/ui/types/ts-helpers.ts +23 -3
- package/ui/utils/index.ts +1 -0
- package/ui/utils/types.ts +2 -0
- package/core/composables/useLogger/index.ts +0 -24
- package/dist/core/composables/useLogger/index.d.ts +0 -5
- package/dist/core/composables/useLogger/index.d.ts.map +0 -1
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow tw-basis-0"
|
|
4
|
-
>
|
|
2
|
+
<div class="tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow tw-basis-0">
|
|
5
3
|
<!-- Header slot with filter and searchbar -->
|
|
6
4
|
<slot
|
|
7
5
|
name="header"
|
|
8
6
|
v-if="
|
|
9
7
|
($slots['header'] || header) &&
|
|
10
|
-
((items && items.length) ||
|
|
11
|
-
searchValue ||
|
|
12
|
-
searchValue === '' ||
|
|
13
|
-
activeFilterCount)
|
|
8
|
+
((items && items.length) || searchValue || searchValue === '' || activeFilterCount)
|
|
14
9
|
"
|
|
15
10
|
>
|
|
16
|
-
<div
|
|
17
|
-
class="tw-shrink-0 tw-flex tw-items-center tw-justify-between tw-p-4"
|
|
18
|
-
>
|
|
11
|
+
<div class="tw-shrink-0 tw-flex tw-items-center tw-justify-between tw-p-4">
|
|
19
12
|
<!-- Table filter mobile button -->
|
|
20
|
-
<div
|
|
13
|
+
<div
|
|
14
|
+
v-if="$isMobile.value && $slots['filters']"
|
|
15
|
+
class="tw-mr-3"
|
|
16
|
+
>
|
|
21
17
|
<VcTableFilter :counter="activeFilterCount">
|
|
22
18
|
<template v-slot:default="{ closePanel }">
|
|
23
|
-
<slot
|
|
19
|
+
<slot
|
|
20
|
+
name="filters"
|
|
21
|
+
:closePanel="closePanel"
|
|
22
|
+
></slot>
|
|
24
23
|
</template>
|
|
25
24
|
</VcTableFilter>
|
|
26
25
|
</div>
|
|
@@ -36,14 +35,20 @@
|
|
|
36
35
|
></VcInput>
|
|
37
36
|
|
|
38
37
|
<!-- Table filter desktop button -->
|
|
39
|
-
<div
|
|
38
|
+
<div
|
|
39
|
+
v-if="$isDesktop.value && $slots['filters']"
|
|
40
|
+
class="tw-ml-3"
|
|
41
|
+
>
|
|
40
42
|
<VcTableFilter
|
|
41
43
|
:title="$t('Filters')"
|
|
42
44
|
:counter="activeFilterCount"
|
|
43
45
|
:parentExpanded="expanded"
|
|
44
46
|
>
|
|
45
47
|
<template v-slot:default="{ closePanel }">
|
|
46
|
-
<slot
|
|
48
|
+
<slot
|
|
49
|
+
name="filters"
|
|
50
|
+
:closePanel="closePanel"
|
|
51
|
+
></slot>
|
|
47
52
|
</template>
|
|
48
53
|
</VcTableFilter>
|
|
49
54
|
</div>
|
|
@@ -75,7 +80,10 @@
|
|
|
75
80
|
@swipeStart="handleSwipe"
|
|
76
81
|
:swipingItem="mobileSwipeItem"
|
|
77
82
|
>
|
|
78
|
-
<slot
|
|
83
|
+
<slot
|
|
84
|
+
name="mobile-item"
|
|
85
|
+
:item="item"
|
|
86
|
+
></slot>
|
|
79
87
|
</VcTableMobileItem>
|
|
80
88
|
</div>
|
|
81
89
|
</template>
|
|
@@ -89,7 +97,10 @@
|
|
|
89
97
|
'vc-table_multiselect': multiselect,
|
|
90
98
|
}"
|
|
91
99
|
>
|
|
92
|
-
<thead
|
|
100
|
+
<thead
|
|
101
|
+
v-if="columns"
|
|
102
|
+
class="vc-table__header"
|
|
103
|
+
>
|
|
93
104
|
<tr class="vc-table__header-row">
|
|
94
105
|
<th
|
|
95
106
|
v-if="multiselect"
|
|
@@ -121,20 +132,27 @@
|
|
|
121
132
|
<div>
|
|
122
133
|
<slot :name="`header_${item.id}`">{{ item.title }}</slot>
|
|
123
134
|
</div>
|
|
124
|
-
<div
|
|
135
|
+
<div
|
|
136
|
+
v-if="sortField === item.id"
|
|
137
|
+
class="tw-ml-1"
|
|
138
|
+
>
|
|
125
139
|
<VcIcon
|
|
126
140
|
size="xs"
|
|
127
|
-
:icon="`fas fa-caret-${
|
|
128
|
-
sortDirection === 'DESC' ? 'down' : 'up'
|
|
129
|
-
}`"
|
|
141
|
+
:icon="`fas fa-caret-${sortDirection === 'DESC' ? 'down' : 'up'}`"
|
|
130
142
|
></VcIcon>
|
|
131
143
|
</div>
|
|
132
144
|
<div
|
|
133
145
|
class="tw-flex tw-flex-col tw-ml-1 tw-invisible group-hover:tw-visible"
|
|
134
146
|
v-else
|
|
135
147
|
>
|
|
136
|
-
<VcIcon
|
|
137
|
-
|
|
148
|
+
<VcIcon
|
|
149
|
+
size="xs"
|
|
150
|
+
icon="fas fa-caret-up"
|
|
151
|
+
></VcIcon>
|
|
152
|
+
<VcIcon
|
|
153
|
+
size="xs"
|
|
154
|
+
icon="fas fa-caret-down"
|
|
155
|
+
></VcIcon>
|
|
138
156
|
</div>
|
|
139
157
|
</div>
|
|
140
158
|
</th>
|
|
@@ -146,21 +164,26 @@
|
|
|
146
164
|
</tr>
|
|
147
165
|
</thead>
|
|
148
166
|
|
|
149
|
-
<tbody
|
|
167
|
+
<tbody
|
|
168
|
+
v-if="items"
|
|
169
|
+
class="vc-table__body"
|
|
170
|
+
>
|
|
150
171
|
<tr
|
|
151
172
|
v-for="(item, i) in items"
|
|
152
173
|
:key="item.id"
|
|
153
174
|
class="vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9] tw-cursor-pointer"
|
|
154
175
|
:class="{
|
|
155
176
|
'tw-bg-[#f8f8f8]': i % 2 === 1,
|
|
156
|
-
'!tw-bg-[#dfeef9] hover:tw-bg-[#dfeef9]':
|
|
157
|
-
item && item.id ? selectedItemId === item.id : false,
|
|
177
|
+
'!tw-bg-[#dfeef9] hover:tw-bg-[#dfeef9]': item && item.id ? selectedItemId === item.id : false,
|
|
158
178
|
}"
|
|
159
179
|
@click="$emit('itemClick', item)"
|
|
160
180
|
@mouseover="calculateActions(item)"
|
|
161
181
|
@mouseleave="closeActions"
|
|
162
182
|
>
|
|
163
|
-
<td
|
|
183
|
+
<td
|
|
184
|
+
v-if="multiselect"
|
|
185
|
+
width="50"
|
|
186
|
+
>
|
|
164
187
|
<div class="tw-flex tw-justify-center tw-items-center">
|
|
165
188
|
<VcCheckbox
|
|
166
189
|
:modelValue="checkboxes[item.id]"
|
|
@@ -176,8 +199,15 @@
|
|
|
176
199
|
:class="cell.class"
|
|
177
200
|
:width="cell.width"
|
|
178
201
|
>
|
|
179
|
-
<slot
|
|
180
|
-
|
|
202
|
+
<slot
|
|
203
|
+
:name="`item_${cell.id}`"
|
|
204
|
+
:item="item"
|
|
205
|
+
:cell="cell"
|
|
206
|
+
>
|
|
207
|
+
<VcTableCell
|
|
208
|
+
:cell="cell"
|
|
209
|
+
:item="item"
|
|
210
|
+
></VcTableCell>
|
|
181
211
|
</slot>
|
|
182
212
|
</td>
|
|
183
213
|
<td
|
|
@@ -185,9 +215,7 @@
|
|
|
185
215
|
width="44"
|
|
186
216
|
v-if="itemActionBuilder"
|
|
187
217
|
>
|
|
188
|
-
<div
|
|
189
|
-
class="vc-table__body-actions-container tw-relative !tw-hidden tw-justify-center tw-items-center"
|
|
190
|
-
>
|
|
218
|
+
<div class="vc-table__body-actions-container tw-relative !tw-hidden tw-justify-center tw-items-center">
|
|
191
219
|
<button
|
|
192
220
|
class="tw-text-[#319ed4] tw-cursor-pointer tw-border-none tw-bg-transparent disabled:tw-text-[gray]"
|
|
193
221
|
@click.stop="showActions(item, item.id)"
|
|
@@ -195,7 +223,10 @@
|
|
|
195
223
|
aria-describedby="tooltip"
|
|
196
224
|
:disabled="!(itemActions && itemActions.length)"
|
|
197
225
|
>
|
|
198
|
-
<VcIcon
|
|
226
|
+
<VcIcon
|
|
227
|
+
icon="fas fa-cog"
|
|
228
|
+
size="m"
|
|
229
|
+
/>
|
|
199
230
|
</button>
|
|
200
231
|
<div
|
|
201
232
|
class="vc-table__body-tooltip tw-bg-white tw-rounded-l-[4px] tw-p-[15px] tw-z-0 tw-absolute tw-right-0 tw-drop-shadow-[1px_3px_14px_rgba(111,122,131,0.25)]"
|
|
@@ -216,7 +247,10 @@
|
|
|
216
247
|
]"
|
|
217
248
|
@click.stop="itemAction.clickHandler(item)"
|
|
218
249
|
>
|
|
219
|
-
<VcIcon
|
|
250
|
+
<VcIcon
|
|
251
|
+
:icon="itemAction.icon"
|
|
252
|
+
size="m"
|
|
253
|
+
/>
|
|
220
254
|
<div
|
|
221
255
|
class="tw-not-italic tw-font-normal tw-text-base tw-leading-[20px] tw-text-[#3f3f3f] tw-ml-[7px]"
|
|
222
256
|
>
|
|
@@ -246,23 +280,38 @@
|
|
|
246
280
|
v-if="notfound"
|
|
247
281
|
class="tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"
|
|
248
282
|
>
|
|
249
|
-
<img
|
|
283
|
+
<img
|
|
284
|
+
v-if="notfound.image"
|
|
285
|
+
:src="notfound.image"
|
|
286
|
+
/>
|
|
250
287
|
<div class="tw-m-4 vc-table__empty-text">
|
|
251
288
|
{{ notfound.text }}
|
|
252
289
|
</div>
|
|
253
|
-
<VcButton
|
|
290
|
+
<VcButton
|
|
291
|
+
v-if="notfound.action"
|
|
292
|
+
@click="notfound.clickHandler"
|
|
293
|
+
>
|
|
254
294
|
{{ notfound.action }}
|
|
255
295
|
</VcButton>
|
|
256
296
|
</div>
|
|
257
297
|
</slot>
|
|
258
|
-
<slot
|
|
298
|
+
<slot
|
|
299
|
+
v-else
|
|
300
|
+
name="empty"
|
|
301
|
+
>
|
|
259
302
|
<div
|
|
260
303
|
v-if="empty"
|
|
261
304
|
class="tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"
|
|
262
305
|
>
|
|
263
|
-
<img
|
|
306
|
+
<img
|
|
307
|
+
v-if="empty.image"
|
|
308
|
+
:src="empty.image"
|
|
309
|
+
/>
|
|
264
310
|
<div class="tw-m-4 tw-text-xl tw-font-medium">{{ empty.text }}</div>
|
|
265
|
-
<VcButton
|
|
311
|
+
<VcButton
|
|
312
|
+
v-if="empty.action"
|
|
313
|
+
@click="empty.clickHandler"
|
|
314
|
+
>
|
|
266
315
|
{{ empty.action }}
|
|
267
316
|
</VcButton>
|
|
268
317
|
</div>
|
|
@@ -298,62 +347,23 @@
|
|
|
298
347
|
|
|
299
348
|
<script lang="ts" setup>
|
|
300
349
|
import { computed, nextTick, ref, watch, onBeforeUpdate } from "vue";
|
|
301
|
-
import {
|
|
302
|
-
VcIcon,
|
|
303
|
-
VcLoading,
|
|
304
|
-
VcCheckbox,
|
|
305
|
-
VcContainer,
|
|
306
|
-
VcInput,
|
|
307
|
-
VcPagination,
|
|
308
|
-
} from "./../../../components";
|
|
350
|
+
import { VcIcon, VcLoading, VcCheckbox, VcContainer, VcInput, VcPagination } from "./../../../components";
|
|
309
351
|
import VcTableCounter from "./_internal/vc-table-counter/vc-table-counter.vue";
|
|
310
352
|
import VcTableFilter from "./_internal/vc-table-filter/vc-table-filter.vue";
|
|
311
353
|
import VcTableMobileItem from "./_internal/vc-table-mobile-item/vc-table-mobile-item.vue";
|
|
312
354
|
import VcTableCell from "./_internal/vc-table-cell/vc-table-cell.vue";
|
|
313
355
|
import { createPopper, Instance } from "@popperjs/core";
|
|
314
356
|
import { IActionBuilderResult } from "./../../../../core/types";
|
|
315
|
-
import {
|
|
316
|
-
|
|
317
|
-
const props =
|
|
318
|
-
columns: () => [],
|
|
319
|
-
items: () => [],
|
|
320
|
-
itemActionBuilder: undefined,
|
|
321
|
-
sort: undefined,
|
|
322
|
-
multiselect: false,
|
|
323
|
-
expanded: false,
|
|
324
|
-
totalLabel: "Totals:",
|
|
325
|
-
totalCount: 0,
|
|
326
|
-
pages: 0,
|
|
327
|
-
currentPage: 0,
|
|
328
|
-
searchPlaceholder: "Search...",
|
|
329
|
-
searchValue: undefined,
|
|
330
|
-
loading: false,
|
|
331
|
-
empty: () => ({
|
|
332
|
-
text: "List is empty.",
|
|
333
|
-
}),
|
|
334
|
-
notfound: () => ({
|
|
335
|
-
text: "Nothing found.",
|
|
336
|
-
}),
|
|
337
|
-
header: true,
|
|
338
|
-
footer: true,
|
|
339
|
-
activeFilterCount: 0,
|
|
340
|
-
selectedItemId: undefined,
|
|
341
|
-
scrolling: false,
|
|
342
|
-
});
|
|
357
|
+
import { tableEmits, tableProps } from "./vc-table-model";
|
|
358
|
+
|
|
359
|
+
const props = defineProps(tableProps);
|
|
343
360
|
|
|
344
361
|
interface ITableItemRef {
|
|
345
362
|
element: Element;
|
|
346
363
|
id: string;
|
|
347
364
|
}
|
|
348
365
|
|
|
349
|
-
const emit = defineEmits(
|
|
350
|
-
"paginationClick",
|
|
351
|
-
"selectionChanged",
|
|
352
|
-
"search:change",
|
|
353
|
-
"headerClick",
|
|
354
|
-
"itemClick",
|
|
355
|
-
"scroll:ptr",
|
|
356
|
-
]);
|
|
366
|
+
const emit = defineEmits(tableEmits);
|
|
357
367
|
|
|
358
368
|
const checkboxes = ref<Record<string, boolean>>({});
|
|
359
369
|
const selectedRow = ref<string>();
|
|
@@ -388,9 +398,7 @@ const tableAlignment = {
|
|
|
388
398
|
evenly: "justify-evenly",
|
|
389
399
|
};
|
|
390
400
|
|
|
391
|
-
const headerCheckbox = computed(() =>
|
|
392
|
-
Object.values(checkboxes.value).every((value) => value)
|
|
393
|
-
);
|
|
401
|
+
const headerCheckbox = computed(() => Object.values(checkboxes.value).every((value) => value));
|
|
394
402
|
|
|
395
403
|
watch(
|
|
396
404
|
() => props.items,
|
|
@@ -421,9 +429,7 @@ function setActionToggleRefs(el: Element, id: string) {
|
|
|
421
429
|
|
|
422
430
|
function processHeaderCheckbox() {
|
|
423
431
|
const currentState = Object.values(checkboxes.value).every((value) => value);
|
|
424
|
-
Object.keys(checkboxes.value).forEach(
|
|
425
|
-
(key) => (checkboxes.value[key] = !currentState)
|
|
426
|
-
);
|
|
432
|
+
Object.keys(checkboxes.value).forEach((key) => (checkboxes.value[key] = !currentState));
|
|
427
433
|
emit("selectionChanged", checkboxes.value);
|
|
428
434
|
}
|
|
429
435
|
|
|
@@ -440,22 +446,18 @@ function showActions(item: { id?: string }, index: string) {
|
|
|
440
446
|
|
|
441
447
|
if (toggleRef && tooltipRef) {
|
|
442
448
|
nextTick(() => {
|
|
443
|
-
tooltip.value = createPopper(
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
name: "offset",
|
|
452
|
-
options: {
|
|
453
|
-
offset: [-15, 15],
|
|
454
|
-
},
|
|
449
|
+
tooltip.value = createPopper(toggleRef.element, tooltipRef.element as HTMLElement, {
|
|
450
|
+
placement: "bottom",
|
|
451
|
+
onFirstUpdate: () => tooltip.value?.update(),
|
|
452
|
+
modifiers: [
|
|
453
|
+
{
|
|
454
|
+
name: "offset",
|
|
455
|
+
options: {
|
|
456
|
+
offset: [-15, 15],
|
|
455
457
|
},
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
);
|
|
458
|
+
},
|
|
459
|
+
],
|
|
460
|
+
});
|
|
459
461
|
});
|
|
460
462
|
}
|
|
461
463
|
}
|
package/ui/types/index.ts
CHANGED
|
@@ -1,212 +1,116 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1
2
|
import { GlobalComponentConstructor } from "./ts-helpers";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
VcInputSlots,
|
|
5
|
-
} from "../components/molecules/vc-input/vc-input-model";
|
|
6
|
-
import {
|
|
7
|
-
VcSelectProps,
|
|
8
|
-
VcSelectSlots,
|
|
9
|
-
} from "../components/molecules/vc-select/vc-select-model";
|
|
3
|
+
import { VcInputProps, VcInputSlots, VcInputEmits } from "../components/molecules/vc-input/vc-input-model";
|
|
4
|
+
import { VcSelectEmits, VcSelectProps, VcSelectSlots } from "../components/molecules/vc-select/vc-select-model";
|
|
10
5
|
import {
|
|
11
6
|
VcInputCurrencyProps,
|
|
12
7
|
VcInputCurrencySlots,
|
|
8
|
+
VcInputCurrencyEmits,
|
|
13
9
|
} from "../components/molecules/vc-input-currency/vc-input-currency-model";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "../components/atoms/vc-
|
|
18
|
-
import {
|
|
19
|
-
VcButtonProps,
|
|
20
|
-
VcButtonSlots,
|
|
21
|
-
} from "../components/atoms/vc-button/vc-button-model";
|
|
22
|
-
import {
|
|
23
|
-
VcCardProps,
|
|
24
|
-
VcCardSlots,
|
|
25
|
-
} from "../components/atoms/vc-card/vc-card-model";
|
|
26
|
-
import {
|
|
27
|
-
VcCheckboxProps,
|
|
28
|
-
VcCheckboxSlots,
|
|
29
|
-
} from "../components/atoms/vc-checkbox/vc-checkbox-model";
|
|
30
|
-
import {
|
|
31
|
-
VcColProps,
|
|
32
|
-
VcColSlots,
|
|
33
|
-
} from "../components/atoms/vc-col/vc-col-model";
|
|
10
|
+
import { VcBadgeEmits, VcBadgeProps, VcBadgeSlots } from "../components/atoms/vc-badge/vc-badge-model";
|
|
11
|
+
import { VcButtonProps, VcButtonSlots, VcButtonEmits } from "../components/atoms/vc-button/vc-button-model";
|
|
12
|
+
import { VcCardProps, VcCardSlots, VcCardEmits } from "../components/atoms/vc-card/vc-card-model";
|
|
13
|
+
import { VcCheckboxProps, VcCheckboxSlots, VcCheckboxEmits } from "../components/atoms/vc-checkbox/vc-checkbox-model";
|
|
14
|
+
import { VcColProps, VcColSlots } from "../components/atoms/vc-col/vc-col-model";
|
|
34
15
|
import {
|
|
35
16
|
VcContainerProps,
|
|
36
17
|
VcContainerSlots,
|
|
18
|
+
VcContainerEmits,
|
|
37
19
|
} from "../components/atoms/vc-container/vc-container-model";
|
|
38
|
-
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "../components/atoms/vc-
|
|
42
|
-
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "../components/atoms/vc-image/vc-image-model";
|
|
46
|
-
import {
|
|
47
|
-
VcInfoRowProps,
|
|
48
|
-
VcInfoRowSlots,
|
|
49
|
-
} from "../components/atoms/vc-info-row/vc-info-row-model";
|
|
50
|
-
import {
|
|
51
|
-
VcLabelProps,
|
|
52
|
-
VcLabelSlots,
|
|
53
|
-
} from "../components/atoms/vc-label/vc-label-model";
|
|
54
|
-
import {
|
|
55
|
-
VcLinkProps,
|
|
56
|
-
VcLinkSlots,
|
|
57
|
-
} from "../components/atoms/vc-link/vc-link-model";
|
|
58
|
-
import {
|
|
59
|
-
VcLoadingProps,
|
|
60
|
-
VcLoadingSlots,
|
|
61
|
-
} from "../components/atoms/vc-loading/vc-loading-model";
|
|
62
|
-
import {
|
|
63
|
-
VcProgressProps,
|
|
64
|
-
VcProgressSlots,
|
|
65
|
-
} from "../components/atoms/vc-progress/vc-progress-model";
|
|
20
|
+
import { VcIconProps, VcIconSlots } from "../components/atoms/vc-icon/vc-icon-model";
|
|
21
|
+
import { VcImageProps, VcImageSlots, VcImageEmits } from "../components/atoms/vc-image/vc-image-model";
|
|
22
|
+
import { VcInfoRowProps, VcInfoRowSlots } from "../components/atoms/vc-info-row/vc-info-row-model";
|
|
23
|
+
import { VcLabelProps, VcLabelSlots } from "../components/atoms/vc-label/vc-label-model";
|
|
24
|
+
import { VcLinkProps, VcLinkSlots, VcLinkEmits } from "../components/atoms/vc-link/vc-link-model";
|
|
25
|
+
import { VcLoadingProps, VcLoadingSlots } from "../components/atoms/vc-loading/vc-loading-model";
|
|
26
|
+
import { VcProgressProps, VcProgressSlots } from "../components/atoms/vc-progress/vc-progress-model";
|
|
66
27
|
import { VcRowSlots } from "../components/atoms/vc-row/vc-row-model";
|
|
67
|
-
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "../components/atoms/vc-
|
|
71
|
-
import {
|
|
72
|
-
|
|
73
|
-
VcStatusIconSlots,
|
|
74
|
-
} from "../components/atoms/vc-status-icon/vc-status-icon-model";
|
|
75
|
-
import {
|
|
76
|
-
VcSwitchProps,
|
|
77
|
-
VcSwitchSlots,
|
|
78
|
-
} from "../components/atoms/vc-switch/vc-switch-model";
|
|
79
|
-
import {
|
|
80
|
-
VcWidgetProps,
|
|
81
|
-
VcWidgetSlots,
|
|
82
|
-
} from "../components/atoms/vc-widget/vc-widget-model";
|
|
83
|
-
import {
|
|
84
|
-
VcBreadcrumbsProps,
|
|
85
|
-
VcBreadcrumbsSlots,
|
|
86
|
-
} from "../components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
|
|
87
|
-
import {
|
|
88
|
-
VcEditorProps,
|
|
89
|
-
VcEditorSlots,
|
|
90
|
-
} from "../components/molecules/vc-editor/vc-editor-model";
|
|
28
|
+
import { VcStatusProps, VcStatusSlots } from "../components/atoms/vc-status/vc-status-model";
|
|
29
|
+
import { VcStatusIconProps, VcStatusIconSlots } from "../components/atoms/vc-status-icon/vc-status-icon-model";
|
|
30
|
+
import { VcSwitchProps, VcSwitchSlots, VcSwitchEmits } from "../components/atoms/vc-switch/vc-switch-model";
|
|
31
|
+
import { VcWidgetProps, VcWidgetSlots, VcWidgetEmits } from "../components/atoms/vc-widget/vc-widget-model";
|
|
32
|
+
import { VcBreadcrumbsProps, VcBreadcrumbsSlots } from "../components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
|
|
33
|
+
import { VcEditorProps, VcEditorSlots, VcEditorEmits } from "../components/molecules/vc-editor/vc-editor-model";
|
|
91
34
|
import {
|
|
92
35
|
VcFileUploadProps,
|
|
93
36
|
VcFileUploadSlots,
|
|
37
|
+
VcFileUploadEmits,
|
|
94
38
|
} from "../components/molecules/vc-file-upload/vc-file-upload-model";
|
|
95
39
|
import {
|
|
96
40
|
VcNotificationProps,
|
|
97
41
|
VcNotificationSlots,
|
|
42
|
+
VcNotificationEmits,
|
|
98
43
|
} from "../components/molecules/vc-notification/vc-notification-model";
|
|
99
44
|
import {
|
|
100
45
|
VcPaginationProps,
|
|
101
46
|
VcPaginationSlots,
|
|
47
|
+
VcPaginationEmits,
|
|
102
48
|
} from "../components/molecules/vc-pagination/vc-pagination-model";
|
|
103
|
-
import {
|
|
104
|
-
|
|
105
|
-
VcRatingSlots,
|
|
106
|
-
} from "../components/molecules/vc-rating/vc-rating-model";
|
|
107
|
-
import {
|
|
108
|
-
VcSliderProps,
|
|
109
|
-
VcSliderSlots,
|
|
110
|
-
} from "../components/molecules/vc-slider/vc-slider-model";
|
|
49
|
+
import { VcRatingProps, VcRatingSlots } from "../components/molecules/vc-rating/vc-rating-model";
|
|
50
|
+
import { VcSliderProps, VcSliderSlots } from "../components/molecules/vc-slider/vc-slider-model";
|
|
111
51
|
import {
|
|
112
52
|
VcTextareaProps,
|
|
113
53
|
VcTextareaSlots,
|
|
54
|
+
VcTextareaEmits,
|
|
114
55
|
} from "../components/molecules/vc-textarea/vc-textarea-model";
|
|
115
|
-
import {
|
|
116
|
-
|
|
117
|
-
VcAppSlots,
|
|
118
|
-
} from "../components/organisms/vc-app/vc-app-model";
|
|
119
|
-
import {
|
|
120
|
-
VcBladeProps,
|
|
121
|
-
VcBladeSlots,
|
|
122
|
-
} from "../components/organisms/vc-blade/vc-blade-model";
|
|
56
|
+
import { VcAppProps, VcAppSlots, VcAppEmits } from "../components/organisms/vc-app/vc-app-model";
|
|
57
|
+
import { VcBladeProps, VcBladeSlots, VcBladeEmits } from "../components/organisms/vc-blade/vc-blade-model";
|
|
123
58
|
import {
|
|
124
59
|
VcDynamicPropertyProps,
|
|
125
60
|
VcDynamicPropertySlots,
|
|
126
61
|
} from "../components/organisms/vc-dynamic-property/vc-dynamic-property-model";
|
|
127
|
-
import {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
} from "../components/organisms/vc-
|
|
131
|
-
import {
|
|
132
|
-
|
|
133
|
-
VcLoginFormSlots,
|
|
134
|
-
} from "../components/organisms/vc-login-form/vc-login-form-model";
|
|
135
|
-
import {
|
|
136
|
-
VcPopupProps,
|
|
137
|
-
VcPopupSlots,
|
|
138
|
-
} from "../components/organisms/vc-popup/vc-popup-model";
|
|
139
|
-
import {
|
|
140
|
-
VcTableProps,
|
|
141
|
-
VcTableSlots,
|
|
142
|
-
} from "../components/organisms/vc-table/vc-table-model";
|
|
62
|
+
import { VcGalleryProps, VcGallerySlots, VcGalleryEmits } from "../components/organisms/vc-gallery/vc-gallery-model";
|
|
63
|
+
import { VcLoginFormProps, VcLoginFormSlots } from "../components/organisms/vc-login-form/vc-login-form-model";
|
|
64
|
+
import { VcPopupProps, VcPopupSlots, VcPopupEmits } from "../components/organisms/vc-popup/vc-popup-model";
|
|
65
|
+
import { VcTableProps, VcTableSlots, VcTableEmits } from "../components/organisms/vc-table/vc-table-model";
|
|
66
|
+
import { VcHintSlots } from "./../components/atoms/vc-hint/vc-hint-model";
|
|
67
|
+
import { VcFormSlots } from "./../components/molecules/vc-form/vc-form-model";
|
|
143
68
|
|
|
144
69
|
declare module "@vue/runtime-core" {
|
|
145
70
|
interface GlobalComponents {
|
|
146
71
|
// atoms
|
|
147
|
-
VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots>;
|
|
148
|
-
VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots>;
|
|
149
|
-
VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots>;
|
|
150
|
-
VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots>;
|
|
72
|
+
VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots, VcBadgeEmits>;
|
|
73
|
+
VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots, VcButtonEmits>;
|
|
74
|
+
VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots, VcCardEmits>;
|
|
75
|
+
VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots, VcCheckboxEmits>;
|
|
151
76
|
VcCol: GlobalComponentConstructor<VcColProps, VcColSlots>;
|
|
152
|
-
VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots>;
|
|
153
|
-
VcHint: GlobalComponentConstructor
|
|
77
|
+
VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots, VcContainerEmits>;
|
|
78
|
+
VcHint: GlobalComponentConstructor<any, VcHintSlots>;
|
|
154
79
|
VcIcon: GlobalComponentConstructor<VcIconProps, VcIconSlots>;
|
|
155
|
-
VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots>;
|
|
80
|
+
VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots, VcImageEmits>;
|
|
156
81
|
VcInfoRow: GlobalComponentConstructor<VcInfoRowProps, VcInfoRowSlots>;
|
|
157
82
|
VcLabel: GlobalComponentConstructor<VcLabelProps, VcLabelSlots>;
|
|
158
|
-
VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots>;
|
|
83
|
+
VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots, VcLinkEmits>;
|
|
159
84
|
VcLoading: GlobalComponentConstructor<VcLoadingProps, VcLoadingSlots>;
|
|
160
85
|
VcProgress: GlobalComponentConstructor<VcProgressProps, VcProgressSlots>;
|
|
161
86
|
VcRow: GlobalComponentConstructor<any, VcRowSlots>;
|
|
162
87
|
VcStatus: GlobalComponentConstructor<VcStatusProps, VcStatusSlots>;
|
|
163
|
-
VcStatusIcon: GlobalComponentConstructor<
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
>;
|
|
167
|
-
VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots>;
|
|
168
|
-
VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots>;
|
|
88
|
+
VcStatusIcon: GlobalComponentConstructor<VcStatusIconProps, VcStatusIconSlots>;
|
|
89
|
+
VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots, VcSwitchEmits>;
|
|
90
|
+
VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots, VcWidgetEmits>;
|
|
169
91
|
|
|
170
92
|
// molecules
|
|
171
|
-
VcBreadcrumbs: GlobalComponentConstructor<
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
>;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
>;
|
|
180
|
-
VcForm: GlobalComponentConstructor;
|
|
181
|
-
VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots>;
|
|
182
|
-
VcInputCurrency: GlobalComponentConstructor<
|
|
183
|
-
VcInputCurrencyProps,
|
|
184
|
-
VcInputCurrencySlots
|
|
185
|
-
>;
|
|
186
|
-
VcNotification: GlobalComponentConstructor<
|
|
187
|
-
VcNotificationProps,
|
|
188
|
-
VcNotificationSlots
|
|
189
|
-
>;
|
|
190
|
-
VcPagination: GlobalComponentConstructor<
|
|
191
|
-
VcPaginationProps,
|
|
192
|
-
VcPaginationSlots
|
|
193
|
-
>;
|
|
93
|
+
VcBreadcrumbs: GlobalComponentConstructor<VcBreadcrumbsProps, VcBreadcrumbsSlots>;
|
|
94
|
+
VcEditor: GlobalComponentConstructor<VcEditorProps, VcEditorSlots, VcEditorEmits>;
|
|
95
|
+
VcFileUpload: GlobalComponentConstructor<VcFileUploadProps, VcFileUploadSlots, VcFileUploadEmits>;
|
|
96
|
+
VcForm: GlobalComponentConstructor<any, VcFormSlots>;
|
|
97
|
+
VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots, VcInputEmits>;
|
|
98
|
+
VcInputCurrency: GlobalComponentConstructor<VcInputCurrencyProps, VcInputCurrencySlots, VcInputCurrencyEmits>;
|
|
99
|
+
VcNotification: GlobalComponentConstructor<VcNotificationProps, VcNotificationSlots, VcNotificationEmits>;
|
|
100
|
+
VcPagination: GlobalComponentConstructor<VcPaginationProps, VcPaginationSlots, VcPaginationEmits>;
|
|
194
101
|
VcRating: GlobalComponentConstructor<VcRatingProps, VcRatingSlots>;
|
|
195
|
-
VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots>;
|
|
102
|
+
VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots, VcSelectEmits>;
|
|
196
103
|
VcSlider: GlobalComponentConstructor<VcSliderProps, VcSliderSlots>;
|
|
197
|
-
VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots>;
|
|
104
|
+
VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots, VcTextareaEmits>;
|
|
198
105
|
|
|
199
106
|
// organisms
|
|
200
|
-
VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots>;
|
|
201
|
-
VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots>;
|
|
202
|
-
VcDynamicProperty: GlobalComponentConstructor<
|
|
203
|
-
|
|
204
|
-
VcDynamicPropertySlots
|
|
205
|
-
>;
|
|
206
|
-
VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots>;
|
|
107
|
+
VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots, VcAppEmits>;
|
|
108
|
+
VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots, VcBladeEmits>;
|
|
109
|
+
VcDynamicProperty: GlobalComponentConstructor<VcDynamicPropertyProps, VcDynamicPropertySlots>;
|
|
110
|
+
VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots, VcGalleryEmits>;
|
|
207
111
|
VcLoginForm: GlobalComponentConstructor<VcLoginFormProps, VcLoginFormSlots>;
|
|
208
|
-
VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots>;
|
|
209
|
-
VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots>;
|
|
112
|
+
VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots, VcPopupEmits>;
|
|
113
|
+
VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots, VcTableEmits>;
|
|
210
114
|
}
|
|
211
115
|
}
|
|
212
116
|
|