@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,eAAO,MAAM,eAAe,EAAE,oBAAoB,CAEhD,uBAAuB,CAAC,oBAAoB,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,oBAAoB,CAAC,CACxE,CAAC"}
|
|
@@ -1,109 +1,117 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
1
|
+
import { PropType, VNode } from "vue";
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
2
3
|
export type OptionProp = ((option: string | Record<string, unknown>) => string) | string | undefined;
|
|
3
|
-
export
|
|
4
|
+
export declare const inputCurrencyProps: {
|
|
4
5
|
/**
|
|
5
6
|
* Model of the currency component; Use with a listener for 'update:price' event OR use v-model:price directive
|
|
6
7
|
*/
|
|
7
|
-
modelValue
|
|
8
|
+
modelValue: (StringConstructor | NumberConstructor | DateConstructor)[];
|
|
8
9
|
/**
|
|
9
10
|
* Input label text
|
|
10
11
|
*/
|
|
11
|
-
label
|
|
12
|
+
label: StringConstructor;
|
|
12
13
|
/**
|
|
13
14
|
* Input placeholder text
|
|
14
15
|
*/
|
|
15
|
-
placeholder
|
|
16
|
+
placeholder: StringConstructor;
|
|
16
17
|
/**
|
|
17
18
|
* Input description (hint) text below input component
|
|
18
19
|
*/
|
|
19
|
-
hint
|
|
20
|
+
hint: StringConstructor;
|
|
20
21
|
/**
|
|
21
22
|
* Appends clearable icon when a value is set;
|
|
22
23
|
* When clicked, model becomes null
|
|
23
24
|
*/
|
|
24
|
-
clearable
|
|
25
|
+
clearable: BooleanConstructor;
|
|
25
26
|
/**
|
|
26
27
|
* Prefix
|
|
27
28
|
*/
|
|
28
|
-
prefix
|
|
29
|
+
prefix: StringConstructor;
|
|
29
30
|
/**
|
|
30
31
|
* Suffix
|
|
31
32
|
*/
|
|
32
|
-
suffix
|
|
33
|
+
suffix: StringConstructor;
|
|
33
34
|
/**
|
|
34
35
|
* Used to specify the name of the control; If not specified, it takes the value 'Field'
|
|
35
36
|
*/
|
|
36
|
-
name
|
|
37
|
+
name: StringConstructor;
|
|
37
38
|
/**
|
|
38
39
|
* Signals the user a process is in progress by displaying a spinner
|
|
39
40
|
*/
|
|
40
|
-
loading
|
|
41
|
+
loading: BooleanConstructor;
|
|
41
42
|
/**
|
|
42
43
|
* Debounce amount (in milliseconds) for search input
|
|
43
44
|
* Default: 0
|
|
44
45
|
*/
|
|
45
|
-
debounce
|
|
46
|
+
debounce: {
|
|
47
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
46
50
|
/**
|
|
47
51
|
* Put component in disabled mode
|
|
48
52
|
*/
|
|
49
|
-
disabled
|
|
53
|
+
disabled: BooleanConstructor;
|
|
50
54
|
/**
|
|
51
55
|
* Focus field on initial component render
|
|
52
56
|
*/
|
|
53
|
-
autofocus
|
|
57
|
+
autofocus: BooleanConstructor;
|
|
54
58
|
/**
|
|
55
59
|
* Does field have validation errors?
|
|
56
60
|
*/
|
|
57
|
-
error
|
|
61
|
+
error: BooleanConstructor;
|
|
58
62
|
/**
|
|
59
63
|
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
60
64
|
*/
|
|
61
|
-
errorMessage
|
|
65
|
+
errorMessage: StringConstructor;
|
|
62
66
|
/**
|
|
63
67
|
* Specify a max length of model
|
|
64
68
|
* Default value: 1024
|
|
65
69
|
*/
|
|
66
|
-
maxlength
|
|
70
|
+
maxlength: (StringConstructor | NumberConstructor)[];
|
|
67
71
|
/**
|
|
68
72
|
* Input tooltip information
|
|
69
73
|
*/
|
|
70
|
-
tooltip
|
|
74
|
+
tooltip: StringConstructor;
|
|
71
75
|
/**
|
|
72
76
|
* Input required state
|
|
73
77
|
*/
|
|
74
|
-
required
|
|
78
|
+
required: BooleanConstructor;
|
|
75
79
|
/**
|
|
76
80
|
* Option label
|
|
77
81
|
*/
|
|
78
|
-
option
|
|
82
|
+
option: StringConstructor;
|
|
79
83
|
/**
|
|
80
84
|
* Available options that the user can select from.
|
|
81
85
|
* Default value: []
|
|
82
86
|
*/
|
|
83
|
-
options
|
|
87
|
+
options: PropType<any[]>;
|
|
84
88
|
/**
|
|
85
89
|
* Property of option which holds the 'value'
|
|
86
90
|
* Default value: id
|
|
87
91
|
* @param option The current option being processed
|
|
88
92
|
* @returns Value of the current option
|
|
89
93
|
*/
|
|
90
|
-
optionValue
|
|
94
|
+
optionValue: PropType<OptionProp>;
|
|
91
95
|
/**
|
|
92
96
|
* Property of option which holds the 'label'
|
|
93
97
|
* Default value: title
|
|
94
98
|
* @param option The current option being processed
|
|
95
99
|
* @returns Label of the current option
|
|
96
100
|
*/
|
|
97
|
-
optionLabel
|
|
101
|
+
optionLabel: PropType<OptionProp>;
|
|
102
|
+
};
|
|
103
|
+
export declare const inputCurrencyEmits: {
|
|
98
104
|
/**
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
105
|
+
* Emitted when the component needs to change the model; Is also used by v-model
|
|
106
|
+
*/
|
|
107
|
+
"update:modelValue": (value: string | number | null) => boolean;
|
|
102
108
|
/**
|
|
103
109
|
* Emitted when the component needs to change the options model; Is also used by v-model:option
|
|
104
110
|
*/
|
|
105
|
-
"
|
|
106
|
-
}
|
|
111
|
+
"update:option": (value: string | number | null) => boolean;
|
|
112
|
+
};
|
|
113
|
+
export type VcInputCurrencyProps = ExtractTypes<typeof inputCurrencyProps>;
|
|
114
|
+
export type VcInputCurrencyEmits = typeof inputCurrencyEmits;
|
|
107
115
|
export interface VcInputCurrencySlots {
|
|
108
116
|
/**
|
|
109
117
|
* Slot for custom dropdown open handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-input-currency-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/vc-input-currency-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-input-currency-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/vc-input-currency-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAG3D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS,CAAC;AAErG,eAAO,MAAM,kBAAkB;IAC7B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAGH;;;;;OAKG;;IAEH;;;;;OAKG;;CAEJ,CAAC;AAEF,eAAO,MAAM,kBAAkB;IAC7B;;OAEG;iCAC0B,MAAM,GAAG,MAAM,GAAG,IAAI;IACnD;;OAEG;6BACsB,MAAM,GAAG,MAAM,GAAG,IAAI;CAChD,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,OAAO,kBAAkB,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE;QACd;;WAEG;QACH,aAAa,EAAE,MAAM,IAAI,CAAC;KAC3B,KAAK,KAAK,EAAE,CAAC;CACf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcNotificationProps } from "./vc-notification-model";
|
|
2
|
+
import { VcNotificationEmits, VcNotificationProps } from "./vc-notification-model";
|
|
3
3
|
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
-
export declare const VcNotification: ComponentConstructor<ComponentPublicInstance<VcNotificationProps>>;
|
|
4
|
+
export declare const VcNotification: ComponentConstructor<ComponentPublicInstance<VcNotificationProps, any, any, any, any, VcNotificationEmits>>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-notification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-notification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,cAAc,EAAE,oBAAoB,CAE/C,uBAAuB,CAAC,mBAAmB,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,mBAAmB,CAAC,CACvE,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { VNode } from "vue";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
3
|
+
export declare const notificationProps: {
|
|
4
|
+
timeout: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const notificationEmits: {
|
|
10
|
+
dismiss: () => boolean;
|
|
11
|
+
expired: () => boolean;
|
|
12
|
+
};
|
|
13
|
+
export type VcNotificationProps = ExtractTypes<typeof notificationProps>;
|
|
14
|
+
export type VcNotificationEmits = typeof notificationEmits;
|
|
7
15
|
export interface VcNotificationSlots {
|
|
8
16
|
default: () => VNode[];
|
|
9
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-notification-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-notification/vc-notification-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-notification-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-notification/vc-notification-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,eAAO,MAAM,iBAAiB;;;;;CAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;CAG7B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACzE,MAAM,MAAM,mBAAmB,GAAG,OAAO,iBAAiB,CAAC;AAE3D,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcPaginationProps } from "./vc-pagination-model";
|
|
2
|
+
import { VcPaginationEmits, VcPaginationProps } from "./vc-pagination-model";
|
|
3
3
|
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
-
export declare const VcPagination: ComponentConstructor<ComponentPublicInstance<VcPaginationProps>>;
|
|
4
|
+
export declare const VcPagination: ComponentConstructor<ComponentPublicInstance<VcPaginationProps, any, any, any, any, VcPaginationEmits>>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,YAAY,EAAE,oBAAoB,CAE7C,uBAAuB,CAAC,iBAAiB,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,iBAAiB,CAAC,CACrE,CAAC"}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import { VNode } from "vue";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
3
|
+
export declare const paginationProps: {
|
|
4
|
+
expanded: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
pages: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
currentPage: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const paginationEmits: {
|
|
18
|
+
itemClick: (pages: number) => boolean;
|
|
19
|
+
};
|
|
20
|
+
export type VcPaginationProps = ExtractTypes<typeof paginationProps>;
|
|
21
|
+
export type VcPaginationEmits = typeof paginationEmits;
|
|
8
22
|
export interface VcPaginationSlots {
|
|
9
23
|
default: () => VNode[];
|
|
10
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-pagination-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-pagination/vc-pagination-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-pagination-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-pagination/vc-pagination-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAG3D,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAa3B,CAAC;AAEF,eAAO,MAAM,eAAe;uBACP,MAAM;CAC1B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,OAAO,eAAe,CAAC;AAEvD,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,QAAQ,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAU,CAAC"}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { PropType, VNode } from "vue";
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
3
|
+
export declare const ratingProps: {
|
|
4
|
+
label: StringConstructor;
|
|
5
|
+
placeholder: StringConstructor;
|
|
6
|
+
tooltip: StringConstructor;
|
|
7
|
+
rating: NumberConstructor;
|
|
8
|
+
max: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
variant: {
|
|
13
|
+
type: PropType<"text" | "stars" | "star-and-text">;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export type VcRatingProps = ExtractTypes<typeof ratingProps>;
|
|
10
18
|
export interface VcRatingSlots {
|
|
11
19
|
details: () => VNode[];
|
|
12
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-rating-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-rating/vc-rating-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-rating-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-rating/vc-rating-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcSelectProps } from "./vc-select-model";
|
|
2
|
+
import { VcSelectProps, VcSelectEmits } from "./vc-select-model";
|
|
3
3
|
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
-
export declare const VcSelect: ComponentConstructor<ComponentPublicInstance<VcSelectProps>>;
|
|
4
|
+
export declare const VcSelect: ComponentConstructor<ComponentPublicInstance<VcSelectProps, any, any, any, any, VcSelectEmits>>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAInE,eAAO,MAAM,QAAQ,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,aAAa,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,aAAa,CAAC,CAC7G,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
1
|
+
import { VNode, PropType } from "vue";
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
2
3
|
export type OptionProp = ((option: string | Record<string, unknown>) => string) | string | undefined;
|
|
3
|
-
export
|
|
4
|
+
export declare const selectProps: {
|
|
4
5
|
/**
|
|
5
6
|
* Name of select
|
|
6
7
|
*/
|
|
7
|
-
name
|
|
8
|
+
name: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
/**
|
|
9
13
|
* Model of the component; Must be Array if using 'multiple' prop; Use this property with a listener for 'update:modelValue' event OR use v-model directive
|
|
10
14
|
*/
|
|
@@ -13,108 +17,139 @@ export interface VcSelectProps {
|
|
|
13
17
|
* Try to map labels of model from 'options' Array; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value;
|
|
14
18
|
* Default value: true
|
|
15
19
|
*/
|
|
16
|
-
mapOptions
|
|
20
|
+
mapOptions: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* Does field have validation errors?
|
|
19
26
|
*/
|
|
20
|
-
error
|
|
27
|
+
error: BooleanConstructor;
|
|
21
28
|
/**
|
|
22
29
|
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
23
30
|
*/
|
|
24
|
-
errorMessage
|
|
31
|
+
errorMessage: StringConstructor;
|
|
25
32
|
/**
|
|
26
33
|
* Select label
|
|
27
34
|
*/
|
|
28
|
-
label
|
|
35
|
+
label: StringConstructor;
|
|
29
36
|
/**
|
|
30
37
|
* Select description (hint) text below input component
|
|
31
38
|
*/
|
|
32
|
-
hint
|
|
39
|
+
hint: StringConstructor;
|
|
33
40
|
/**
|
|
34
41
|
* Prefix
|
|
35
42
|
*/
|
|
36
|
-
prefix
|
|
43
|
+
prefix: StringConstructor;
|
|
37
44
|
/**
|
|
38
45
|
* Suffix
|
|
39
46
|
*/
|
|
40
|
-
suffix
|
|
47
|
+
suffix: StringConstructor;
|
|
41
48
|
/**
|
|
42
49
|
* Signals the user a process is in progress by displaying a spinner
|
|
43
50
|
*/
|
|
44
|
-
loading
|
|
51
|
+
loading: BooleanConstructor;
|
|
45
52
|
/**
|
|
46
53
|
* Appends clearable icon when a value is set;
|
|
47
54
|
* When clicked, model becomes null
|
|
48
55
|
*/
|
|
49
|
-
clearable
|
|
56
|
+
clearable: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
50
60
|
/**
|
|
51
61
|
* Put component in disabled mode
|
|
52
62
|
*/
|
|
53
|
-
disabled
|
|
63
|
+
disabled: BooleanConstructor;
|
|
54
64
|
/**
|
|
55
65
|
* Allow multiple selection; Model must be Array
|
|
56
66
|
*/
|
|
57
|
-
multiple
|
|
67
|
+
multiple: BooleanConstructor;
|
|
58
68
|
/**
|
|
59
69
|
* Available options that the user can select from.
|
|
60
70
|
* Default value: []
|
|
61
71
|
*/
|
|
62
|
-
options
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
72
|
+
options: {
|
|
73
|
+
type: PropType<any[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<{
|
|
74
|
+
results?: object[];
|
|
75
|
+
totalCount?: number;
|
|
76
|
+
}>)>;
|
|
77
|
+
default: () => any[];
|
|
78
|
+
};
|
|
66
79
|
/**
|
|
67
80
|
* Property of option which holds the 'value'
|
|
68
81
|
* Default value: id
|
|
69
82
|
* @param option The current option being processed
|
|
70
83
|
* @returns Value of the current option
|
|
71
84
|
*/
|
|
72
|
-
optionValue
|
|
85
|
+
optionValue: {
|
|
86
|
+
type: PropType<OptionProp>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
73
89
|
/**
|
|
74
90
|
* Property of option which holds the 'label'
|
|
75
91
|
* Default value: title
|
|
76
92
|
* @param option The current option being processed
|
|
77
93
|
* @returns Label of the current option
|
|
78
94
|
*/
|
|
79
|
-
optionLabel
|
|
95
|
+
optionLabel: {
|
|
96
|
+
type: PropType<OptionProp>;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
80
99
|
/**
|
|
81
100
|
* Update model with the value of the selected option instead of the whole option
|
|
82
101
|
*/
|
|
83
|
-
emitValue
|
|
102
|
+
emitValue: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
84
106
|
/**
|
|
85
107
|
* Debounce the search input update with an amount of milliseconds
|
|
86
108
|
* Default value: 500
|
|
87
109
|
*/
|
|
88
|
-
debounce
|
|
110
|
+
debounce: {
|
|
111
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
112
|
+
default: number;
|
|
113
|
+
};
|
|
89
114
|
/**
|
|
90
115
|
* Input placeholder text
|
|
91
116
|
*/
|
|
92
|
-
placeholder
|
|
117
|
+
placeholder: StringConstructor;
|
|
93
118
|
/**
|
|
94
119
|
* Input tooltip information
|
|
95
120
|
*/
|
|
96
|
-
tooltip
|
|
121
|
+
tooltip: StringConstructor;
|
|
97
122
|
/**
|
|
98
123
|
* Input required state
|
|
99
124
|
*/
|
|
100
|
-
required
|
|
125
|
+
required: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
101
129
|
/**
|
|
102
130
|
* Input search activation
|
|
103
131
|
*/
|
|
104
|
-
searchable
|
|
132
|
+
searchable: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
export declare const selectEmits: {
|
|
105
138
|
/**
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
139
|
+
* Emitted when the component needs to change the model; Is also used by v-model
|
|
140
|
+
*/
|
|
141
|
+
"update:modelValue": (inputValue: any) => boolean;
|
|
109
142
|
/**
|
|
110
143
|
* Emitted when user wants to filter a value
|
|
111
144
|
*/
|
|
112
|
-
|
|
145
|
+
search: (inputValue: string) => boolean;
|
|
113
146
|
/**
|
|
114
147
|
* Emitted when the select options list is hidden
|
|
115
148
|
*/
|
|
116
|
-
|
|
117
|
-
}
|
|
149
|
+
close: () => boolean;
|
|
150
|
+
};
|
|
151
|
+
export type VcSelectProps = ExtractTypes<typeof selectProps>;
|
|
152
|
+
export type VcSelectEmits = typeof selectEmits;
|
|
118
153
|
export interface VcSelectSlots {
|
|
119
154
|
/**
|
|
120
155
|
* Custom select control
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-select-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/vc-select-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vc-select-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/vc-select-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAG3D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS,CAAC;AAErG,eAAO,MAAM,WAAW;IACtB;;OAEG;;;;;IAKH;;OAEG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;2CAIe,MAAM,SACT,MAAM,QACP,MAAM,EAAE,KACX,QAAQ;YACX,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;;;IAKR;;;;;OAKG;;;;;IAEH;;;;;OAKG;;;;;IAEH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;;;;CAKJ,CAAC;AAEF,eAAO,MAAM,WAAW;IACtB;;OAEG;sCAC+B,GAAG;IACrC;;OAEG;yBACkB,MAAM;IAC3B;;OAEG;;CAEJ,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG,OAAO,WAAW,CAAC;AAE/C,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,KAAK,EAAE,CAAC;IAC3D;;OAEG;IACH,eAAe,EAAE,MAAM,KAAK,EAAE,CAAC;IAC/B;;OAEG;IACH,cAAc,EAAE,MAAM,KAAK,EAAE,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,MAAM,KAAK,EAAE,CAAC;IACtB;;;OAGG;IACH,WAAW,EAAE,MAAM,KAAK,EAAE,CAAC;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,KAAK,EAAE,CAAC;IACpB;;;OAGG;IACH,eAAe,EAAE,CAAC,KAAK,EAAE;QACvB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,GAAG,EAAE,GAAG,CAAC;QACT;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAClB;;;WAGG;QACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;KACxC,KAAK,KAAK,EAAE,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE;QACd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,GAAG,EAAE,GAAG,CAAC;QACT;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAClB;;;WAGG;QACH,YAAY,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;KAClC,KAAK,KAAK,EAAE,CAAC;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,QAAQ,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAU,CAAC"}
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { PropType, VNode } from "vue";
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
3
|
+
export declare const sliderProps: {
|
|
4
|
+
slides: {
|
|
5
|
+
type: PropType<any[] | Record<string, unknown>[]>;
|
|
6
|
+
default: () => any[];
|
|
7
|
+
};
|
|
8
|
+
navigation: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
overflow: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
slidesPerView: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
spaceBetweenSlides: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export type VcSliderProps = ExtractTypes<typeof sliderProps>;
|
|
9
26
|
export interface VcSliderSlots {
|
|
10
27
|
default: (args: {
|
|
11
28
|
slide: Record<string, unknown> | any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-slider-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-slider/vc-slider-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vc-slider-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-slider/vc-slider-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBvB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,GAAG,CAAA;KAAE,KAAK,KAAK,EAAE,CAAC;IACrE,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcTextareaProps } from "./vc-textarea-model";
|
|
2
|
+
import { VcTextareaEmits, VcTextareaProps } from "./vc-textarea-model";
|
|
3
3
|
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
-
export declare const VcTextarea: ComponentConstructor<ComponentPublicInstance<VcTextareaProps>>;
|
|
4
|
+
export declare const VcTextarea: ComponentConstructor<ComponentPublicInstance<VcTextareaProps, any, any, any, any, VcTextareaEmits>>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAE3C,uBAAuB,CAAC,eAAe,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,eAAe,CAAC,CACnE,CAAC"}
|