@vc-shell/framework 1.0.52 → 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 +9 -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 +6 -13
- package/core/composables/usePermissions/index.ts +1 -1
- package/core/composables/useSettings/index.ts +3 -4
- package/core/composables/useUser/index.ts +27 -66
- package/core/directives/permissions/index.ts +1 -1
- 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 +7 -9
- 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 +9 -3
- 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 +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 +2 -2
- 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 +5 -6
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.esm.js +42553 -0
- package/dist/framework.js +74 -72
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/app-switcher/composables/useAppSwitcher/index.d.ts +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 +2 -2
- 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/blade-navigation/types/index.d.ts +1 -1
- package/dist/shared/blade-navigation/types/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 +3 -3
- 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 -20
- 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 +3 -3
- 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 -24
- 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 +5 -0
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts +33 -0
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts +31 -0
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-col/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-col/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts +13 -0
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-container/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts +25 -0
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-hint/index.d.ts +2 -0
- package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -0
- 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 +5 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts +17 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-image/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts +38 -0
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts.map +1 -0
- 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 +5 -0
- package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts +25 -0
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-label/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts +18 -0
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-link/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts +21 -0
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-loading/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts +13 -0
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-progress/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts +17 -0
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-row/index.d.ts +2 -0
- package/dist/ui/components/atoms/vc-row/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts +5 -0
- package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-status/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts +21 -0
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts +13 -0
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-switch/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-switch/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts +30 -0
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-widget/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts +20 -0
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts.map +1 -0
- package/dist/ui/components/index.d.ts +34 -34
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts +19 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-editor/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts +33 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts +34 -0
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-form/index.d.ts +2 -0
- package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -0
- 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 +3 -3
- 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 +3 -3
- 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 +5 -0
- package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts +18 -0
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts +25 -0
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-rating/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts +21 -0
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-select/index.d.ts +3 -3
- 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 +5 -0
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts +33 -0
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts +37 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts +61 -0
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts +34 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts.map +1 -0
- 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 +5 -0
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts +43 -0
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts +74 -0
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-login-form/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts +15 -0
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-popup/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts +22 -0
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts +135 -0
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts.map +1 -0
- package/dist/ui/types/index.d.ts +76 -6
- 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 +9 -11
- package/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +3 -6
- package/shared/app-switcher/composables/useAppSwitcher/index.ts +3 -8
- package/shared/app-switcher/index.ts +3 -10
- package/shared/assets/components/assets-details/assets-details.vue +10 -31
- 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 +8 -37
- package/shared/blade-navigation/index.ts +3 -10
- package/shared/blade-navigation/types/index.ts +1 -1
- package/shared/index.ts +9 -11
- package/ui/components/atoms/vc-badge/index.ts +5 -5
- package/ui/components/atoms/vc-badge/vc-badge-model.ts +21 -20
- package/ui/components/atoms/vc-badge/vc-badge.vue +5 -11
- package/ui/components/atoms/vc-button/index.ts +5 -5
- package/ui/components/atoms/vc-button/vc-button-model.ts +31 -24
- package/ui/components/atoms/vc-button/vc-button.vue +9 -38
- package/ui/components/atoms/vc-card/index.ts +6 -0
- package/ui/components/atoms/vc-card/vc-card-model.ts +37 -0
- package/ui/components/atoms/vc-card/vc-card.vue +20 -36
- package/ui/components/atoms/vc-checkbox/index.ts +8 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox-model.ts +35 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +15 -30
- package/ui/components/atoms/vc-col/index.ts +5 -0
- package/ui/components/atoms/vc-col/vc-col-model.ts +15 -0
- package/ui/components/atoms/vc-col/vc-col.vue +2 -6
- package/ui/components/atoms/vc-container/index.ts +8 -0
- package/ui/components/atoms/vc-container/vc-container-model.ts +28 -0
- package/ui/components/atoms/vc-container/vc-container.vue +11 -26
- package/ui/components/atoms/vc-hint/index.ts +2 -0
- package/ui/components/atoms/vc-hint/vc-hint-model.ts +5 -0
- package/ui/components/atoms/vc-icon/index.ts +5 -0
- package/ui/components/atoms/vc-icon/vc-icon-model.ts +19 -0
- package/ui/components/atoms/vc-icon/vc-icon.vue +2 -8
- package/ui/components/atoms/vc-image/index.ts +7 -0
- package/ui/components/atoms/vc-image/vc-image-model.ts +41 -0
- package/ui/components/atoms/vc-image/vc-image.stories.ts +1 -2
- package/ui/components/atoms/vc-image/vc-image.vue +12 -42
- package/ui/components/atoms/vc-info-row/index.ts +5 -0
- package/ui/components/atoms/vc-info-row/vc-info-row-model.ts +27 -0
- package/ui/components/atoms/vc-info-row/vc-info-row.vue +14 -24
- package/ui/components/atoms/vc-label/index.ts +5 -0
- package/ui/components/atoms/vc-label/vc-label-model.ts +20 -0
- package/ui/components/atoms/vc-label/vc-label.vue +11 -15
- package/ui/components/atoms/vc-link/index.ts +6 -0
- package/ui/components/atoms/vc-link/vc-link-model.ts +24 -0
- package/ui/components/atoms/vc-link/vc-link.vue +4 -11
- package/ui/components/atoms/vc-loading/index.ts +5 -0
- package/ui/components/atoms/vc-loading/vc-loading-model.ts +15 -0
- package/ui/components/atoms/vc-loading/vc-loading.vue +5 -11
- package/ui/components/atoms/vc-progress/index.ts +5 -0
- package/ui/components/atoms/vc-progress/vc-progress-model.ts +19 -0
- package/ui/components/atoms/vc-progress/vc-progress.vue +5 -20
- package/ui/components/atoms/vc-row/index.ts +2 -0
- package/ui/components/atoms/vc-row/vc-row-model.ts +5 -0
- package/ui/components/atoms/vc-status/index.ts +5 -0
- package/ui/components/atoms/vc-status/vc-status-model.ts +23 -0
- package/ui/components/atoms/vc-status/vc-status.vue +3 -21
- package/ui/components/atoms/vc-status-icon/index.ts +5 -0
- package/ui/components/atoms/vc-status-icon/vc-status-icon-model.ts +15 -0
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +11 -9
- package/ui/components/atoms/vc-switch/index.ts +7 -0
- package/ui/components/atoms/vc-switch/vc-switch-model.ts +34 -0
- package/ui/components/atoms/vc-switch/vc-switch.vue +12 -28
- package/ui/components/atoms/vc-widget/index.ts +7 -0
- package/ui/components/atoms/vc-widget/vc-widget-model.ts +23 -0
- package/ui/components/atoms/vc-widget/vc-widget.vue +15 -22
- package/ui/components/index.ts +34 -34
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +1 -1
- package/ui/components/molecules/vc-breadcrumbs/index.ts +5 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.ts +23 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +6 -14
- package/ui/components/molecules/vc-editor/index.ts +7 -0
- package/ui/components/molecules/vc-editor/vc-editor-model.ts +37 -0
- package/ui/components/molecules/vc-editor/vc-editor.vue +25 -56
- package/ui/components/molecules/vc-file-upload/index.ts +8 -0
- package/ui/components/molecules/vc-file-upload/vc-file-upload-model.ts +37 -0
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +11 -36
- package/ui/components/molecules/vc-form/index.ts +2 -0
- package/ui/components/molecules/vc-form/vc-form-model.ts +5 -0
- package/ui/components/molecules/vc-input/index.ts +5 -6
- 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 +4 -3
- 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 +8 -0
- package/ui/components/molecules/vc-notification/vc-notification-model.ts +21 -0
- package/ui/components/molecules/vc-notification/vc-notification.vue +4 -13
- package/ui/components/molecules/vc-pagination/index.ts +8 -0
- package/ui/components/molecules/vc-pagination/vc-pagination-model.ts +29 -0
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +21 -23
- package/ui/components/molecules/vc-rating/index.ts +5 -0
- package/ui/components/molecules/vc-rating/vc-rating-model.ts +23 -0
- package/ui/components/molecules/vc-rating/vc-rating.vue +11 -13
- 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 +128 -173
- package/ui/components/molecules/vc-slider/index.ts +5 -0
- package/ui/components/molecules/vc-slider/vc-slider-model.ts +34 -0
- package/ui/components/molecules/vc-slider/vc-slider.vue +2 -26
- package/ui/components/molecules/vc-textarea/index.ts +8 -0
- package/ui/components/molecules/vc-textarea/vc-textarea-model.ts +41 -0
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +19 -53
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +16 -12
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +13 -4
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +18 -15
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +11 -5
- package/ui/components/organisms/vc-app/index.ts +6 -0
- package/ui/components/organisms/vc-app/vc-app-model.ts +65 -0
- package/ui/components/organisms/vc-app/vc-app.vue +10 -52
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +40 -40
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +20 -14
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +14 -12
- package/ui/components/organisms/vc-blade/index.ts +7 -0
- package/ui/components/organisms/vc-blade/vc-blade-model.ts +37 -0
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +1 -2
- package/ui/components/organisms/vc-blade/vc-blade.vue +13 -40
- package/ui/components/organisms/vc-dynamic-property/index.ts +5 -0
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts +58 -0
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +101 -125
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +41 -24
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +16 -11
- package/ui/components/organisms/vc-gallery/index.ts +8 -0
- package/ui/components/organisms/vc-gallery/vc-gallery-model.ts +78 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +11 -88
- package/ui/components/organisms/vc-login-form/index.ts +5 -0
- package/ui/components/organisms/vc-login-form/vc-login-form-model.ts +16 -0
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -15
- package/ui/components/organisms/vc-popup/index.ts +7 -0
- package/ui/components/organisms/vc-popup/vc-popup-model.ts +25 -0
- package/ui/components/organisms/vc-popup/vc-popup.vue +7 -18
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +21 -27
- 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 +9 -3
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +31 -43
- package/ui/components/organisms/vc-table/index.ts +7 -0
- package/ui/components/organisms/vc-table/vc-table-model.ts +116 -0
- package/ui/components/organisms/vc-table/vc-table.vue +108 -139
- package/ui/types/index.ts +106 -15
- 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
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ExtendedComponent, IBladeElement, IOpenBlade } from "./../../../../shared";
|
|
2
|
+
import { IBladeToolbar, IMenuItems } from "./../../../../core/types";
|
|
3
|
+
import { PropType, VNode } from "vue";
|
|
4
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
5
|
+
export declare const appProps: {
|
|
6
|
+
pages: {
|
|
7
|
+
type: PropType<ExtendedComponent[]>;
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
menuItems: {
|
|
11
|
+
type: PropType<IMenuItems[]>;
|
|
12
|
+
default: () => any[];
|
|
13
|
+
};
|
|
14
|
+
mobileMenuItems: {
|
|
15
|
+
type: PropType<IMenuItems[]>;
|
|
16
|
+
default: () => any[];
|
|
17
|
+
};
|
|
18
|
+
toolbarItems: {
|
|
19
|
+
type: PropType<IBladeToolbar[]>;
|
|
20
|
+
default: () => any[];
|
|
21
|
+
};
|
|
22
|
+
isReady: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
isAuthorized: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
logo: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
version: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
theme: {
|
|
39
|
+
type: PropType<"light" | "dark">;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
bladesRefs: {
|
|
43
|
+
type: PropType<IBladeElement[]>;
|
|
44
|
+
default: () => any[];
|
|
45
|
+
};
|
|
46
|
+
title: StringConstructor;
|
|
47
|
+
};
|
|
48
|
+
export declare const appEmits: {
|
|
49
|
+
open: (args: IOpenBlade) => boolean;
|
|
50
|
+
close: (index: number) => boolean;
|
|
51
|
+
"backlink:click": (index: number) => boolean;
|
|
52
|
+
};
|
|
53
|
+
export type VcAppProps = ExtractTypes<typeof appProps>;
|
|
54
|
+
export type VcAppEmits = typeof appEmits;
|
|
55
|
+
export interface VcAppSlots {
|
|
56
|
+
appSwitcher: () => VNode[];
|
|
57
|
+
bladeNavigation: () => VNode[];
|
|
58
|
+
notifications: () => VNode[];
|
|
59
|
+
passwordChange: () => VNode[];
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=vc-app-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-app-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-app/vc-app-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAG3D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CpB,CAAC;AAEF,eAAO,MAAM,QAAQ;iBACN,UAAU;mBACR,MAAM;8BACK,MAAM;CACjC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,OAAO,QAAQ,CAAC;AAEzC,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,MAAM,KAAK,EAAE,CAAC;IAC3B,eAAe,EAAE,MAAM,KAAK,EAAE,CAAC;IAC/B,aAAa,EAAE,MAAM,KAAK,EAAE,CAAC;IAC7B,cAAc,EAAE,MAAM,KAAK,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcBladeEmits, VcBladeProps } from "./vc-blade-model";
|
|
3
|
+
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const VcBlade: ComponentConstructor<ComponentPublicInstance<VcBladeProps, any, any, any, any, VcBladeEmits>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,eAAO,MAAM,OAAO,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,YAAY,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,CAAC,CAC3G,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IBladeToolbar } from "./../../../../core/types";
|
|
2
|
+
import { PropType, VNode } from "vue";
|
|
3
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const bladeProps: {
|
|
5
|
+
icon: StringConstructor;
|
|
6
|
+
title: StringConstructor;
|
|
7
|
+
subtitle: StringConstructor;
|
|
8
|
+
width: {
|
|
9
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
expanded: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
closable: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
toolbarItems: {
|
|
21
|
+
type: PropType<IBladeToolbar[]>;
|
|
22
|
+
default: () => any[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const bladeEmits: {
|
|
26
|
+
close: () => boolean;
|
|
27
|
+
};
|
|
28
|
+
export type VcBladeProps = ExtractTypes<typeof bladeProps>;
|
|
29
|
+
export type VcBladeEmits = typeof bladeEmits;
|
|
30
|
+
export interface VcBladeSlots {
|
|
31
|
+
actions: () => VNode[];
|
|
32
|
+
default: () => VNode[];
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=vc-blade-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-blade-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CAoBtB,CAAC;AAEF,eAAO,MAAM,UAAU;;CAEtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAC3D,MAAM,MAAM,YAAY,GAAG,OAAO,UAAU,CAAC;AAE7C,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-blade.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA,wBAOE;
|
|
1
|
+
{"version":3,"file":"vc-blade.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA,wBAOE;AAUF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcDynamicPropertyProps } from "./vc-dynamic-property-model";
|
|
3
|
+
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const VcDynamicProperty: ComponentConstructor<ComponentPublicInstance<VcDynamicPropertyProps>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,iBAAiB,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,CAAmB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
2
|
+
import { VNode, PropType } from "vue";
|
|
3
|
+
export declare const dynamicPropertyProps: {
|
|
4
|
+
property: PropType<{
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
displayNames?: {
|
|
7
|
+
languageCode: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}[];
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
dictionary?: string | undefined;
|
|
12
|
+
isDictionary?: string | undefined;
|
|
13
|
+
multivalue?: string | undefined;
|
|
14
|
+
displayName?: string | undefined;
|
|
15
|
+
defaultValue?: string | undefined;
|
|
16
|
+
valueType?: "ShortText" | "Number" | "Integer" | "DateTime" | "LongText" | "Boolean" | "Html" | undefined;
|
|
17
|
+
values?: any | undefined;
|
|
18
|
+
required?: boolean | undefined;
|
|
19
|
+
isRequired?: boolean | undefined;
|
|
20
|
+
validationRule?: {
|
|
21
|
+
charCountMin?: string;
|
|
22
|
+
charCountMax?: string;
|
|
23
|
+
regExp?: string;
|
|
24
|
+
} | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
dictionaries: PropType<Record<string, any>>;
|
|
27
|
+
getter: PropType<(property: Record<string, any>, isDictionary?: boolean) => Record<string, any> | string | number | boolean | Date | undefined>;
|
|
28
|
+
optionsGetter: PropType<(property: Record<string, any>, keyword?: string) => Promise<any[] | undefined> | any[]>;
|
|
29
|
+
setter: PropType<(property: Record<string, any>, value: Record<string, any> | string | number | boolean, dictionary?: any[]) => void | undefined>;
|
|
30
|
+
culture: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export type VcDynamicPropertyProps = ExtractTypes<typeof dynamicPropertyProps>;
|
|
40
|
+
export interface VcDynamicPropertySlots {
|
|
41
|
+
default: () => VNode[];
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=vc-dynamic-property-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-dynamic-property-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEtC,eAAO,MAAM,oBAAoB;;;uBAGd;YAAE,YAAY,EAAE,MAAM,CAAC;YAAC,MAAM,MAAM,CAAA;SAAE,EAAE;eAChD,MAAM,GAAG,SAAS;qBACZ,MAAM,GAAG,SAAS;uBAChB,MAAM,GAAG,SAAS;qBACpB,MAAM,GAAG,SAAS;sBACjB,MAAM,GAAG,SAAS;uBACjB,MAAM,GAAG,SAAS;oBACrB,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS;iBAChG,GAAG,GAAG,SAAS;mBACb,OAAO,GAAG,SAAS;qBACjB,OAAO,GAAG,SAAS;yBAE5B;YACE,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,MAAM,CAAC,EAAE,MAAM,CAAC;SACjB,GACD,SAAS;;;gCAKD,OAAO,MAAM,EAAE,GAAG,CAAC,iBACd,OAAO,KACnB,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS;uCAG5D,OAAO,MAAM,EAAE,GAAG,CAAC,YAAY,MAAM,KAAK,QAAQ,GAAG,EAAE,GAAG,SAAS,CAAC,GAAG,GAAG,EAAE;gCAI3E,OAAO,MAAM,EAAE,GAAG,CAAC,SACtB,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,eACzC,GAAG,EAAE,KACf,IAAI,GAAG,SAAS;;;;;;;;;CAUxB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE/E,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcGalleryEmits, VcGalleryProps } from "./vc-gallery-model";
|
|
3
|
+
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const VcGallery: ComponentConstructor<ComponentPublicInstance<VcGalleryProps, any, any, any, any, VcGalleryEmits>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-gallery/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,SAAS,EAAE,oBAAoB,CAE1C,uBAAuB,CAAC,cAAc,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,cAAc,CAAC,CAClE,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { IImage } from "./../../../../core/types";
|
|
2
|
+
import { PropType, VNode } from "vue";
|
|
3
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const galleryProps: {
|
|
5
|
+
images: {
|
|
6
|
+
type: PropType<IImage[]>;
|
|
7
|
+
default: () => any[];
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
required: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
label: StringConstructor;
|
|
18
|
+
tooltip: StringConstructor;
|
|
19
|
+
tooltipIcon: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
uploadIcon: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
multiple: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
variant: {
|
|
32
|
+
type: PropType<"gallery" | "file-upload">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
itemActions: {
|
|
36
|
+
type: PropType<{
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
preview: boolean | undefined;
|
|
39
|
+
edit: boolean | undefined;
|
|
40
|
+
remove: boolean | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
default: () => {
|
|
43
|
+
preview: boolean;
|
|
44
|
+
edit: boolean;
|
|
45
|
+
remove: boolean;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
disableDrag: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
hideAfterUpload: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
rules: PropType<string | Record<string, unknown>>;
|
|
57
|
+
name: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const galleryEmits: {
|
|
63
|
+
upload: (files: FileList) => boolean;
|
|
64
|
+
sort: (sorted: IImage[]) => boolean;
|
|
65
|
+
"item:edit": (image: IImage) => boolean;
|
|
66
|
+
"item:remove": (image: IImage) => boolean;
|
|
67
|
+
"item:move": (image: IImage) => boolean;
|
|
68
|
+
};
|
|
69
|
+
export type VcGalleryProps = ExtractTypes<typeof galleryProps>;
|
|
70
|
+
export type VcGalleryEmits = typeof galleryEmits;
|
|
71
|
+
export interface VcGallerySlots {
|
|
72
|
+
default: () => VNode[];
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=vc-gallery-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-gallery-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-gallery/vc-gallery-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAiCZ,MAAM,GAAG,SAAS;qBAChB,OAAO,GAAG,SAAS;kBACtB,OAAO,GAAG,SAAS;oBACjB,OAAO,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;CAqBhC,CAAC;AAEF,eAAO,MAAM,YAAY;oBACP,QAAQ;mBACT,MAAM,EAAE;yBACF,MAAM;2BACJ,MAAM;yBACR,MAAM;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,OAAO,YAAY,CAAC;AAEjD,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcLoginFormProps } from "./vc-login-form-model";
|
|
3
|
+
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const VcLoginForm: ComponentConstructor<ComponentPublicInstance<VcLoginFormProps>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-login-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,WAAW,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAa,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
3
|
+
export declare const loginFormProps: {
|
|
4
|
+
logo: StringConstructor;
|
|
5
|
+
background: StringConstructor;
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type VcLoginFormProps = ExtractTypes<typeof loginFormProps>;
|
|
12
|
+
export interface VcLoginFormSlots {
|
|
13
|
+
default: () => VNode[];
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=vc-login-form-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-login-form-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-login-form/vc-login-form-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,eAAO,MAAM,cAAc;;;;;;;CAO1B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AACnE,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcPopupEmits, VcPopupProps } from "./vc-popup-model";
|
|
3
|
+
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const VcPopup: ComponentConstructor<ComponentPublicInstance<VcPopupProps, any, any, any, any, VcPopupEmits>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,eAAO,MAAM,OAAO,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,YAAY,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,CAAC,CAC3G,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PropType, VNode } from "vue";
|
|
2
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
3
|
+
export declare const popupProps: {
|
|
4
|
+
title: StringConstructor;
|
|
5
|
+
closable: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
variant: {
|
|
10
|
+
type: PropType<"small" | "medium" | "fullscreen">;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const popupEmits: {
|
|
15
|
+
close: () => boolean;
|
|
16
|
+
};
|
|
17
|
+
export type VcPopupProps = ExtractTypes<typeof popupProps>;
|
|
18
|
+
export type VcPopupEmits = typeof popupEmits;
|
|
19
|
+
export interface VcPopupSlots {
|
|
20
|
+
default: () => VNode[];
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=vc-popup-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-popup-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-popup/vc-popup-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,UAAU;;;;;;;;;;CAUtB,CAAC;AAEF,eAAO,MAAM,UAAU;;CAEtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAC3D,MAAM,MAAM,YAAY,GAAG,OAAO,UAAU,CAAC;AAE7C,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcTableEmits, VcTableProps } from "./vc-table-model";
|
|
3
|
+
import { ComponentConstructor } from "./../../../types/ts-helpers";
|
|
4
|
+
export declare const VcTable: ComponentConstructor<ComponentPublicInstance<VcTableProps, any, any, any, any, VcTableEmits>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,eAAO,MAAM,OAAO,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,YAAY,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,CAAC,CAC3G,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { IActionBuilderResult, ITableColumns } from "./../../../../core/types";
|
|
2
|
+
import { PropType, VNode } from "vue";
|
|
3
|
+
import { ExtractTypes } from "./../../../types/ts-helpers";
|
|
4
|
+
export interface StatusImage {
|
|
5
|
+
image?: string;
|
|
6
|
+
text: string;
|
|
7
|
+
action?: string;
|
|
8
|
+
clickHandler?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const tableProps: {
|
|
11
|
+
columns: {
|
|
12
|
+
type: PropType<ITableColumns[]>;
|
|
13
|
+
default: () => any[];
|
|
14
|
+
};
|
|
15
|
+
items: {
|
|
16
|
+
type: PropType<any[] | {
|
|
17
|
+
id?: string;
|
|
18
|
+
}[]>;
|
|
19
|
+
default: () => any[];
|
|
20
|
+
};
|
|
21
|
+
itemActionBuilder: {
|
|
22
|
+
type: PropType<(item: {
|
|
23
|
+
id?: string;
|
|
24
|
+
}) => IActionBuilderResult[]>;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
sort: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: any;
|
|
30
|
+
};
|
|
31
|
+
multiselect: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
expanded: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
totalLabel: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
totalCount: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
pages: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
currentPage: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
searchPlaceholder: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
searchValue: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: any;
|
|
62
|
+
};
|
|
63
|
+
loading: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
empty: {
|
|
68
|
+
type: PropType<StatusImage>;
|
|
69
|
+
default: () => {
|
|
70
|
+
text: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
notfound: {
|
|
74
|
+
type: PropType<StatusImage>;
|
|
75
|
+
default: () => {
|
|
76
|
+
text: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
header: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
footer: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
activeFilterCount: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
selectedItemId: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: any;
|
|
94
|
+
};
|
|
95
|
+
scrolling: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export declare const tableEmits: {
|
|
101
|
+
paginationClick: (page: number) => boolean;
|
|
102
|
+
selectionChanged: (values: Record<string, boolean>) => boolean;
|
|
103
|
+
"search:change": (value: string) => boolean;
|
|
104
|
+
headerClick: (value: Record<string, unknown>) => boolean;
|
|
105
|
+
itemClick: (item: {
|
|
106
|
+
id?: string;
|
|
107
|
+
}) => boolean;
|
|
108
|
+
"scroll:ptr": () => boolean;
|
|
109
|
+
};
|
|
110
|
+
export type VcTableProps = ExtractTypes<typeof tableProps>;
|
|
111
|
+
export type VcTableEmits = typeof tableEmits;
|
|
112
|
+
export interface VcTableSlots {
|
|
113
|
+
header: () => VNode[];
|
|
114
|
+
filters: (args: {
|
|
115
|
+
closePanel: () => void;
|
|
116
|
+
}) => VNode[];
|
|
117
|
+
"mobile-item": (args: {
|
|
118
|
+
item: {
|
|
119
|
+
[x: string]: any;
|
|
120
|
+
id: string;
|
|
121
|
+
};
|
|
122
|
+
}) => VNode[];
|
|
123
|
+
[key: `header_${string}`]: () => VNode[];
|
|
124
|
+
[key: `item_${string}`]: (args: {
|
|
125
|
+
item?: {
|
|
126
|
+
[x: string]: any;
|
|
127
|
+
id: string;
|
|
128
|
+
};
|
|
129
|
+
cell?: ITableColumns;
|
|
130
|
+
}) => VNode[];
|
|
131
|
+
notfound: () => VNode[];
|
|
132
|
+
empty: () => VNode[];
|
|
133
|
+
footer: () => VNode[];
|
|
134
|
+
}
|
|
135
|
+
//# sourceMappingURL=vc-table-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-table-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACtC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AAE,IAAI,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;YAAC,EAAE,EAAE,MAAM,CAAA;SAAE,CAAC;QAAC,IAAI,CAAC,EAAE,aAAa,CAAA;KAAE,KAAK,KAAK,EAAE,CAAC;IAC9G,QAAQ,EAAE,MAAM,KAAK,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,KAAK,EAAE,CAAC;CACvB"}
|
package/dist/ui/types/index.d.ts
CHANGED
|
@@ -1,12 +1,82 @@
|
|
|
1
1
|
import { GlobalComponentConstructor } from "./ts-helpers";
|
|
2
|
-
import { VcInputProps, VcInputSlots } from "../components/molecules/vc-input/vc-input-model";
|
|
3
|
-
import { VcSelectProps, VcSelectSlots } from "../components/molecules/vc-select/vc-select-model";
|
|
4
|
-
import { VcInputCurrencyProps, VcInputCurrencySlots } from "../components/molecules/vc-input-currency/vc-input-currency-model";
|
|
2
|
+
import { VcInputProps, VcInputSlots, VcInputEmits } from "../components/molecules/vc-input/vc-input-model";
|
|
3
|
+
import { VcSelectEmits, VcSelectProps, VcSelectSlots } from "../components/molecules/vc-select/vc-select-model";
|
|
4
|
+
import { VcInputCurrencyProps, VcInputCurrencySlots, VcInputCurrencyEmits } from "../components/molecules/vc-input-currency/vc-input-currency-model";
|
|
5
|
+
import { VcBadgeEmits, VcBadgeProps, VcBadgeSlots } from "../components/atoms/vc-badge/vc-badge-model";
|
|
6
|
+
import { VcButtonProps, VcButtonSlots, VcButtonEmits } from "../components/atoms/vc-button/vc-button-model";
|
|
7
|
+
import { VcCardProps, VcCardSlots, VcCardEmits } from "../components/atoms/vc-card/vc-card-model";
|
|
8
|
+
import { VcCheckboxProps, VcCheckboxSlots, VcCheckboxEmits } from "../components/atoms/vc-checkbox/vc-checkbox-model";
|
|
9
|
+
import { VcColProps, VcColSlots } from "../components/atoms/vc-col/vc-col-model";
|
|
10
|
+
import { VcContainerProps, VcContainerSlots, VcContainerEmits } from "../components/atoms/vc-container/vc-container-model";
|
|
11
|
+
import { VcIconProps, VcIconSlots } from "../components/atoms/vc-icon/vc-icon-model";
|
|
12
|
+
import { VcImageProps, VcImageSlots, VcImageEmits } from "../components/atoms/vc-image/vc-image-model";
|
|
13
|
+
import { VcInfoRowProps, VcInfoRowSlots } from "../components/atoms/vc-info-row/vc-info-row-model";
|
|
14
|
+
import { VcLabelProps, VcLabelSlots } from "../components/atoms/vc-label/vc-label-model";
|
|
15
|
+
import { VcLinkProps, VcLinkSlots, VcLinkEmits } from "../components/atoms/vc-link/vc-link-model";
|
|
16
|
+
import { VcLoadingProps, VcLoadingSlots } from "../components/atoms/vc-loading/vc-loading-model";
|
|
17
|
+
import { VcProgressProps, VcProgressSlots } from "../components/atoms/vc-progress/vc-progress-model";
|
|
18
|
+
import { VcRowSlots } from "../components/atoms/vc-row/vc-row-model";
|
|
19
|
+
import { VcStatusProps, VcStatusSlots } from "../components/atoms/vc-status/vc-status-model";
|
|
20
|
+
import { VcStatusIconProps, VcStatusIconSlots } from "../components/atoms/vc-status-icon/vc-status-icon-model";
|
|
21
|
+
import { VcSwitchProps, VcSwitchSlots, VcSwitchEmits } from "../components/atoms/vc-switch/vc-switch-model";
|
|
22
|
+
import { VcWidgetProps, VcWidgetSlots, VcWidgetEmits } from "../components/atoms/vc-widget/vc-widget-model";
|
|
23
|
+
import { VcBreadcrumbsProps, VcBreadcrumbsSlots } from "../components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
|
|
24
|
+
import { VcEditorProps, VcEditorSlots, VcEditorEmits } from "../components/molecules/vc-editor/vc-editor-model";
|
|
25
|
+
import { VcFileUploadProps, VcFileUploadSlots, VcFileUploadEmits } from "../components/molecules/vc-file-upload/vc-file-upload-model";
|
|
26
|
+
import { VcNotificationProps, VcNotificationSlots, VcNotificationEmits } from "../components/molecules/vc-notification/vc-notification-model";
|
|
27
|
+
import { VcPaginationProps, VcPaginationSlots, VcPaginationEmits } from "../components/molecules/vc-pagination/vc-pagination-model";
|
|
28
|
+
import { VcRatingProps, VcRatingSlots } from "../components/molecules/vc-rating/vc-rating-model";
|
|
29
|
+
import { VcSliderProps, VcSliderSlots } from "../components/molecules/vc-slider/vc-slider-model";
|
|
30
|
+
import { VcTextareaProps, VcTextareaSlots, VcTextareaEmits } from "../components/molecules/vc-textarea/vc-textarea-model";
|
|
31
|
+
import { VcAppProps, VcAppSlots, VcAppEmits } from "../components/organisms/vc-app/vc-app-model";
|
|
32
|
+
import { VcBladeProps, VcBladeSlots, VcBladeEmits } from "../components/organisms/vc-blade/vc-blade-model";
|
|
33
|
+
import { VcDynamicPropertyProps, VcDynamicPropertySlots } from "../components/organisms/vc-dynamic-property/vc-dynamic-property-model";
|
|
34
|
+
import { VcGalleryProps, VcGallerySlots, VcGalleryEmits } from "../components/organisms/vc-gallery/vc-gallery-model";
|
|
35
|
+
import { VcLoginFormProps, VcLoginFormSlots } from "../components/organisms/vc-login-form/vc-login-form-model";
|
|
36
|
+
import { VcPopupProps, VcPopupSlots, VcPopupEmits } from "../components/organisms/vc-popup/vc-popup-model";
|
|
37
|
+
import { VcTableProps, VcTableSlots, VcTableEmits } from "../components/organisms/vc-table/vc-table-model";
|
|
38
|
+
import { VcHintSlots } from "./../components/atoms/vc-hint/vc-hint-model";
|
|
39
|
+
import { VcFormSlots } from "./../components/molecules/vc-form/vc-form-model";
|
|
5
40
|
declare module "@vue/runtime-core" {
|
|
6
41
|
interface GlobalComponents {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
42
|
+
VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots, VcBadgeEmits>;
|
|
43
|
+
VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots, VcButtonEmits>;
|
|
44
|
+
VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots, VcCardEmits>;
|
|
45
|
+
VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots, VcCheckboxEmits>;
|
|
46
|
+
VcCol: GlobalComponentConstructor<VcColProps, VcColSlots>;
|
|
47
|
+
VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots, VcContainerEmits>;
|
|
48
|
+
VcHint: GlobalComponentConstructor<any, VcHintSlots>;
|
|
49
|
+
VcIcon: GlobalComponentConstructor<VcIconProps, VcIconSlots>;
|
|
50
|
+
VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots, VcImageEmits>;
|
|
51
|
+
VcInfoRow: GlobalComponentConstructor<VcInfoRowProps, VcInfoRowSlots>;
|
|
52
|
+
VcLabel: GlobalComponentConstructor<VcLabelProps, VcLabelSlots>;
|
|
53
|
+
VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots, VcLinkEmits>;
|
|
54
|
+
VcLoading: GlobalComponentConstructor<VcLoadingProps, VcLoadingSlots>;
|
|
55
|
+
VcProgress: GlobalComponentConstructor<VcProgressProps, VcProgressSlots>;
|
|
56
|
+
VcRow: GlobalComponentConstructor<any, VcRowSlots>;
|
|
57
|
+
VcStatus: GlobalComponentConstructor<VcStatusProps, VcStatusSlots>;
|
|
58
|
+
VcStatusIcon: GlobalComponentConstructor<VcStatusIconProps, VcStatusIconSlots>;
|
|
59
|
+
VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots, VcSwitchEmits>;
|
|
60
|
+
VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots, VcWidgetEmits>;
|
|
61
|
+
VcBreadcrumbs: GlobalComponentConstructor<VcBreadcrumbsProps, VcBreadcrumbsSlots>;
|
|
62
|
+
VcEditor: GlobalComponentConstructor<VcEditorProps, VcEditorSlots, VcEditorEmits>;
|
|
63
|
+
VcFileUpload: GlobalComponentConstructor<VcFileUploadProps, VcFileUploadSlots, VcFileUploadEmits>;
|
|
64
|
+
VcForm: GlobalComponentConstructor<any, VcFormSlots>;
|
|
65
|
+
VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots, VcInputEmits>;
|
|
66
|
+
VcInputCurrency: GlobalComponentConstructor<VcInputCurrencyProps, VcInputCurrencySlots, VcInputCurrencyEmits>;
|
|
67
|
+
VcNotification: GlobalComponentConstructor<VcNotificationProps, VcNotificationSlots, VcNotificationEmits>;
|
|
68
|
+
VcPagination: GlobalComponentConstructor<VcPaginationProps, VcPaginationSlots, VcPaginationEmits>;
|
|
69
|
+
VcRating: GlobalComponentConstructor<VcRatingProps, VcRatingSlots>;
|
|
70
|
+
VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots, VcSelectEmits>;
|
|
71
|
+
VcSlider: GlobalComponentConstructor<VcSliderProps, VcSliderSlots>;
|
|
72
|
+
VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots, VcTextareaEmits>;
|
|
73
|
+
VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots, VcAppEmits>;
|
|
74
|
+
VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots, VcBladeEmits>;
|
|
75
|
+
VcDynamicProperty: GlobalComponentConstructor<VcDynamicPropertyProps, VcDynamicPropertySlots>;
|
|
76
|
+
VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots, VcGalleryEmits>;
|
|
77
|
+
VcLoginForm: GlobalComponentConstructor<VcLoginFormProps, VcLoginFormSlots>;
|
|
78
|
+
VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots, VcPopupEmits>;
|
|
79
|
+
VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots, VcTableEmits>;
|
|
10
80
|
}
|
|
11
81
|
}
|
|
12
82
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ui/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ui/types/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,YAA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K,EAAE,0BAA0B,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;QACtE,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;QAC9E,iBAAiB,EAAE,0BAA0B,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,CAAC;QAC9F,SAAS,EAAE,0BAA0B,CAAC,cAAc,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC;QACtF,WAAW,EAAE,0BAA0B,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;QAC5E,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;QAC9E,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;KAC/E;CACF;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
import { ComponentOptions, ComponentPublicInstance, ComputedOptions, MethodOptions, VNodeProps } from "vue";
|
|
1
|
+
import { ComponentOptions, ComponentPublicInstance, ComputedOptions, ExtractPropTypes, MethodOptions, ObjectEmitsOptions, EmitsOptions, VNodeProps } from "vue";
|
|
2
2
|
export type PublicProps = VNodeProps;
|
|
3
|
-
export type ComponentConstructor<Component extends ComponentPublicInstance<Props, RawBindings, D, C, M> = ComponentPublicInstance<any>, Props = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions> = {
|
|
3
|
+
export type ComponentConstructor<Component extends ComponentPublicInstance<Props, RawBindings, D, C, M, E> = ComponentPublicInstance<any>, Props = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, E extends EmitsOptions = EmitsOptions> = {
|
|
4
4
|
new (): Component;
|
|
5
|
-
} & ComponentOptions<Props, RawBindings, D, C, M>;
|
|
6
|
-
export type GlobalComponentConstructor<Props = {}, Slots = {}> = {
|
|
5
|
+
} & ComponentOptions<Props, RawBindings, D, C, M, E>;
|
|
6
|
+
export type GlobalComponentConstructor<Props = {}, Slots = {}, Emits = {}> = {
|
|
7
7
|
new (): {
|
|
8
8
|
$props: PublicProps & Props;
|
|
9
9
|
$slots: Slots;
|
|
10
|
+
$emit: EventToSignature<Emits>;
|
|
10
11
|
};
|
|
11
12
|
};
|
|
13
|
+
export type EmitsToProps<T extends ObjectEmitsOptions> = {
|
|
14
|
+
[K in string & `on${Capitalize<string & keyof T>}`]?: K extends `on${infer C}` ? T[Uncapitalize<C>] extends null ? (...args: any[]) => void : (...args: T[Uncapitalize<C>] extends (...args: infer P) => void ? P : never) => void : never;
|
|
15
|
+
};
|
|
16
|
+
export type ExtractTypes<T> = Partial<ExtractPropTypes<T>>;
|
|
17
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
18
|
+
export type EventToSignature<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = UnionToIntersection<{
|
|
19
|
+
[key in Event]: Options[key] extends (...args: infer Args) => any ? (event: key, ...args: Args) => void : (event: key, ...args: any[]) => void;
|
|
20
|
+
}[Event]>;
|
|
21
|
+
export {};
|
|
12
22
|
//# sourceMappingURL=ts-helpers.d.ts.map
|