@vc-shell/framework 1.0.69 → 1.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +72 -0
- package/core/api/platform.ts +2762 -2225
- package/core/composables/index.ts +1 -0
- package/core/composables/useMenuComposer/index.ts +25 -0
- package/core/composables/useNotifications/index.ts +25 -31
- package/core/composables/useUser/index.ts +176 -10
- package/core/directives/index.ts +0 -1
- package/core/plugins/index.ts +1 -1
- package/core/plugins/modularity/index.ts +8 -1
- package/core/plugins/signalR/index.ts +32 -0
- package/core/types/index.ts +56 -17
- package/dist/core/api/platform.d.ts +1005 -931
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/composables/index.d.ts +1 -0
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useMenuComposer/index.d.ts +12 -0
- package/dist/core/composables/useMenuComposer/index.d.ts.map +1 -0
- package/dist/core/composables/useNotifications/index.d.ts +4 -6
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +18 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/directives/autofocus/index.d.ts +1 -1
- package/dist/core/directives/autofocus/index.d.ts.map +1 -1
- package/dist/core/directives/index.d.ts +0 -1
- package/dist/core/directives/index.d.ts.map +1 -1
- package/dist/core/directives/loading/index.d.ts +1 -1
- package/dist/core/directives/loading/index.d.ts.map +1 -1
- package/dist/core/directives/permissions/index.d.ts +1 -1
- package/dist/core/directives/permissions/index.d.ts.map +1 -1
- package/dist/core/plugins/index.d.ts +1 -1
- package/dist/core/plugins/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/signalR/index.d.ts +4 -0
- package/dist/core/plugins/signalR/index.d.ts.map +1 -0
- package/dist/core/types/index.d.ts +46 -20
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.mjs +31824 -29372
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/injectionSymbols.d.ts +6 -0
- package/dist/injectionSymbols.d.ts.map +1 -0
- package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +1 -3
- package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +6 -3
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +13 -456
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +19 -454
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +3 -4
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/index.d.ts +1 -9
- package/dist/shared/components/blade-navigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/plugin.d.ts +13 -0
- package/dist/shared/components/blade-navigation/plugin.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/types/index.d.ts +53 -26
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/change-password/change-password.vue.d.ts +7 -0
- package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -0
- package/dist/shared/components/change-password/index.d.ts +11 -0
- package/dist/shared/components/change-password/index.d.ts.map +1 -0
- package/dist/{core/plugins → shared/components}/error-interceptor/index.d.ts +53 -15
- package/dist/shared/components/error-interceptor/index.d.ts.map +1 -0
- package/dist/{core/plugins → shared/components}/error-interceptor/interceptor.d.ts +1 -1
- package/dist/shared/components/error-interceptor/interceptor.d.ts.map +1 -0
- package/dist/shared/components/index.d.ts +9 -0
- package/dist/shared/components/index.d.ts.map +1 -0
- package/dist/shared/components/language-selector/index.d.ts +55 -0
- package/dist/shared/components/language-selector/index.d.ts.map +1 -0
- package/dist/shared/components/language-selector/language-selector.vue.d.ts +45 -0
- package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -0
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +13 -13
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/core/notification.d.ts.map +1 -1
- package/dist/shared/components/notifications/index.d.ts +0 -9
- package/dist/shared/components/notifications/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/types/index.d.ts +3 -1
- package/dist/shared/components/notifications/types/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/components/index.d.ts +2 -0
- package/dist/shared/components/popup-handler/components/index.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +2 -0
- package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts +3 -0
- package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/composables/index.d.ts +2 -0
- package/dist/shared/components/popup-handler/composables/index.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +12 -0
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/index.d.ts +16 -0
- package/dist/shared/components/popup-handler/index.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/plugin.d.ts +6 -0
- package/dist/shared/components/popup-handler/plugin.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/types/index.d.ts +26 -0
- package/dist/shared/components/popup-handler/types/index.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/utils/index.d.ts +3 -0
- package/dist/shared/components/popup-handler/utils/index.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/index.d.ts +43 -0
- package/dist/shared/components/user-dropdown-button/index.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +33 -0
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -0
- package/dist/shared/index.d.ts +3 -5
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/locales/index.d.ts +3 -0
- package/dist/shared/locales/index.d.ts.map +1 -0
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +13 -11
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets/components/assets-details/index.d.ts +25 -123
- package/dist/shared/modules/assets/components/assets-details/index.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +15 -18
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +30 -150
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts.map +1 -1
- package/dist/shared/modules/index.d.ts +3 -0
- package/dist/shared/modules/index.d.ts.map +1 -0
- package/dist/shared/pages/InvitePage/components/index.d.ts +2 -0
- package/dist/shared/pages/InvitePage/components/index.d.ts.map +1 -0
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +33 -0
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -0
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts +32 -0
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts.map +1 -0
- package/dist/shared/pages/InvitePage/index.d.ts +5 -0
- package/dist/shared/pages/InvitePage/index.d.ts.map +1 -0
- package/dist/shared/pages/InvitePage/locales/index.d.ts +3 -0
- package/dist/shared/pages/InvitePage/locales/index.d.ts.map +1 -0
- package/dist/shared/pages/LoginPage/components/index.d.ts +2 -0
- package/dist/shared/pages/LoginPage/components/index.d.ts.map +1 -0
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +17 -0
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -0
- package/dist/shared/pages/LoginPage/components/login/index.d.ts +28 -0
- package/dist/shared/pages/LoginPage/components/login/index.d.ts.map +1 -0
- package/dist/shared/pages/LoginPage/index.d.ts +3 -0
- package/dist/shared/pages/LoginPage/index.d.ts.map +1 -0
- package/dist/shared/pages/LoginPage/locales/index.d.ts +3 -0
- package/dist/shared/pages/LoginPage/locales/index.d.ts.map +1 -0
- package/dist/shared/pages/LoginPage/plugin.d.ts +6 -0
- package/dist/shared/pages/LoginPage/plugin.d.ts.map +1 -0
- package/dist/shared/pages/ResetPasswordPage/components/index.d.ts +2 -0
- package/dist/shared/pages/ResetPasswordPage/components/index.d.ts.map +1 -0
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +33 -0
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -0
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +32 -0
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts.map +1 -0
- package/dist/shared/pages/ResetPasswordPage/index.d.ts +5 -0
- package/dist/shared/pages/ResetPasswordPage/index.d.ts.map +1 -0
- package/dist/shared/pages/ResetPasswordPage/locales/index.d.ts +3 -0
- package/dist/shared/pages/ResetPasswordPage/locales/index.d.ts.map +1 -0
- package/dist/shared/pages/index.d.ts +10 -0
- package/dist/shared/pages/index.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typings/index.d.ts +8 -0
- package/dist/typings/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-badge/index.d.ts +56 -19
- package/dist/ui/components/atoms/vc-badge/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/index.d.ts +103 -49
- package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +17 -11
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/index.d.ts +66 -44
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +8 -6
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +74 -48
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts +8 -5
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-col/index.d.ts +54 -19
- package/dist/ui/components/atoms/vc-col/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +7 -4
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/index.d.ts +56 -19
- package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/index.d.ts +53 -8
- package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/index.d.ts +4 -8
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +7 -4
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/index.d.ts +17 -23
- package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +8 -5
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-info-row/index.d.ts +10 -12
- 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.vue.d.ts +7 -4
- package/dist/ui/components/atoms/vc-info-row/vc-info-row.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/index.d.ts +56 -23
- package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +8 -5
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/index.d.ts +56 -20
- package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts +54 -27
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +6 -3
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-row/index.d.ts +53 -8
- package/dist/ui/components/atoms/vc-row/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/index.d.ts +61 -36
- package/dist/ui/components/atoms/vc-status/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +8 -5
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts +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.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-switch/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/index.d.ts +2 -0
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +1 -3
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +6 -3
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-code-editor/index.d.ts +79 -65
- package/dist/ui/components/molecules/vc-code-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts +7 -4
- package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +80 -69
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +7 -4
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts +77 -65
- 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.vue.d.ts +7 -4
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-form/index.d.ts +53 -8
- package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/index.d.ts +116 -128
- package/dist/ui/components/molecules/vc-input/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +17 -13
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts +125 -137
- 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.vue.d.ts +9 -8
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-notification/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +7 -11
- package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +6 -3
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/index.d.ts +73 -55
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +8 -5
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/index.d.ts +188 -584
- package/dist/ui/components/molecules/vc-select/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +643 -119
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts +70 -55
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +10 -7
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +80 -68
- package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +7 -4
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +21 -7
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +8 -17
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +20 -37
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +20 -13
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/index.d.ts +138 -160
- package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +23 -24
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +8 -5
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +7 -4
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/index.d.ts +90 -129
- package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +11 -15
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +3 -5
- 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.vue.d.ts +6 -3
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +7 -4
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +18 -7
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +37 -52
- package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +8 -8
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/index.d.ts +62 -31
- 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.vue.d.ts +7 -4
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts +32 -0
- package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-notification-dropdown/index.d.ts +44 -0
- package/dist/ui/components/organisms/vc-notification-dropdown/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts +22 -0
- package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-notification-template/index.d.ts +135 -0
- package/dist/ui/components/organisms/vc-notification-template/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts +24 -0
- package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts +17 -0
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts +20 -0
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/index.d.ts +87 -42
- package/dist/ui/components/organisms/vc-popup/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +16 -6
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +6 -3
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +6 -3
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +10 -6
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +48 -47
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/index.d.ts +205 -661
- package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +186 -135
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/dist/ui/types/index.d.ts +2 -0
- package/dist/ui/types/index.d.ts.map +1 -1
- package/package.json +25 -22
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +3 -2
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +5 -3
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +26 -34
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +104 -69
- package/shared/components/blade-navigation/index.ts +1 -12
- package/shared/components/blade-navigation/plugin.ts +33 -0
- package/shared/components/blade-navigation/types/index.ts +59 -36
- package/shared/components/change-password/change-password.vue +167 -0
- package/shared/components/change-password/index.ts +10 -0
- package/{core/plugins → shared/components}/error-interceptor/interceptor.ts +1 -1
- package/shared/components/index.ts +8 -0
- package/shared/components/language-selector/index.ts +10 -0
- package/shared/components/language-selector/language-selector.vue +60 -0
- package/shared/components/notifications/composables/useContainer/index.ts +2 -2
- package/shared/components/notifications/core/notification.ts +3 -3
- package/shared/components/notifications/index.ts +0 -11
- package/shared/components/notifications/types/index.ts +4 -1
- package/shared/components/popup-handler/components/index.ts +1 -0
- package/shared/components/popup-handler/components/vc-popup-container/index.ts +3 -0
- package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +25 -0
- package/shared/components/popup-handler/composables/index.ts +1 -0
- package/shared/components/popup-handler/composables/usePopup/index.ts +129 -0
- package/shared/components/popup-handler/index.ts +19 -0
- package/shared/components/popup-handler/plugin.ts +24 -0
- package/shared/components/popup-handler/types/index.ts +28 -0
- package/shared/components/popup-handler/utils/index.ts +9 -0
- package/shared/components/user-dropdown-button/index.ts +10 -0
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +124 -0
- package/shared/index.ts +14 -8
- package/shared/locales/en.json +35 -0
- package/shared/locales/index.ts +2 -0
- package/shared/modules/assets/components/assets-details/assets-details.vue +12 -16
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +32 -35
- package/shared/modules/index.ts +2 -0
- package/shared/pages/InvitePage/components/index.ts +1 -0
- package/shared/pages/InvitePage/components/invite/Invite.vue +172 -0
- package/shared/pages/InvitePage/components/invite/index.ts +3 -0
- package/shared/pages/InvitePage/index.ts +7 -0
- package/shared/pages/InvitePage/locales/en.json +31 -0
- package/shared/pages/InvitePage/locales/index.ts +2 -0
- package/shared/pages/LoginPage/components/index.ts +1 -0
- package/shared/pages/LoginPage/components/login/Login.vue +283 -0
- package/shared/pages/LoginPage/components/login/index.ts +3 -0
- package/shared/pages/LoginPage/index.ts +2 -0
- package/shared/pages/LoginPage/locales/en.json +36 -0
- package/shared/pages/LoginPage/locales/index.ts +2 -0
- package/shared/pages/LoginPage/plugin.ts +17 -0
- package/shared/pages/ResetPasswordPage/components/index.ts +1 -0
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +166 -0
- package/shared/pages/ResetPasswordPage/components/reset-password/index.ts +3 -0
- package/shared/pages/ResetPasswordPage/index.ts +7 -0
- package/shared/pages/ResetPasswordPage/locales/en.json +28 -0
- package/shared/pages/ResetPasswordPage/locales/index.ts +2 -0
- package/shared/pages/index.ts +12 -0
- package/ui/components/atoms/vc-button/vc-button.vue +110 -144
- package/ui/components/atoms/vc-card/vc-card.vue +2 -2
- package/ui/components/atoms/vc-info-row/vc-info-row.vue +2 -2
- package/ui/components/atoms/vc-label/vc-label.vue +1 -1
- package/ui/components/atoms/vc-loading/vc-loading.vue +1 -1
- package/ui/components/atoms/vc-switch/vc-switch.vue +1 -1
- package/ui/components/index.ts +2 -0
- package/ui/components/molecules/vc-code-editor/vc-code-editor.vue +3 -3
- package/ui/components/molecules/vc-editor/vc-editor.vue +3 -3
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
- package/ui/components/molecules/vc-input/vc-input.vue +17 -17
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +8 -8
- package/ui/components/molecules/vc-notification/vc-notification.vue +1 -1
- package/ui/components/molecules/vc-rating/vc-rating.vue +1 -1
- package/ui/components/molecules/vc-select/index.ts +1 -86
- package/ui/components/molecules/vc-select/vc-select.stories.ts +1 -1
- package/ui/components/molecules/vc-select/vc-select.vue +276 -198
- package/ui/components/molecules/vc-slider/vc-slider.vue +3 -3
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +21 -16
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +5 -9
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +21 -31
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +22 -16
- package/ui/components/organisms/vc-app/vc-app.vue +24 -24
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +10 -13
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +4 -4
- package/ui/components/organisms/vc-blade/vc-blade.vue +32 -47
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +84 -84
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +3 -3
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +9 -3
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +27 -23
- package/ui/components/organisms/vc-login-form/vc-login-form.stories.ts +1 -1
- package/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue +63 -0
- package/ui/components/organisms/vc-notification-dropdown/index.ts +3 -0
- package/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue +125 -0
- package/ui/components/organisms/vc-notification-template/index.ts +3 -0
- package/ui/components/organisms/vc-notification-template/vc-notification-template.vue +33 -0
- package/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue +28 -0
- package/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue +33 -0
- package/ui/components/organisms/vc-popup/vc-popup.vue +62 -7
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +6 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +10 -13
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +27 -24
- package/ui/components/organisms/vc-table/index.ts +1 -17
- package/ui/components/organisms/vc-table/vc-table.stories.ts +1 -1
- package/ui/components/organisms/vc-table/vc-table.vue +163 -148
- package/ui/locales/en.json +21 -10
- package/ui/types/index.ts +2 -0
- package/core/directives/click-outside/index.ts +0 -21
- package/dist/core/directives/click-outside/index.d.ts +0 -3
- package/dist/core/directives/click-outside/index.d.ts.map +0 -1
- package/dist/core/plugins/error-interceptor/index.d.ts.map +0 -1
- package/dist/core/plugins/error-interceptor/interceptor.d.ts.map +0 -1
- /package/{core/plugins → shared/components}/error-interceptor/index.ts +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
export type OptionProp = ((option:
|
|
2
|
-
|
|
1
|
+
export type OptionProp<T> = ((option: T) => string) | string | undefined;
|
|
2
|
+
declare const _default: <T extends Record<string, any>, P extends {
|
|
3
|
+
results?: T[];
|
|
4
|
+
totalCount?: number;
|
|
5
|
+
}>(__VLS_props: {
|
|
3
6
|
/**
|
|
4
7
|
* Name of select
|
|
5
8
|
*/
|
|
@@ -58,24 +61,21 @@ export interface Props {
|
|
|
58
61
|
* Available options that the user can select from.
|
|
59
62
|
* Default value: []
|
|
60
63
|
*/
|
|
61
|
-
options?: ((keyword?: string, skip?: number, ids?: string[]) => Promise<
|
|
62
|
-
results?: object[];
|
|
63
|
-
totalCount?: number;
|
|
64
|
-
}>) | unknown[];
|
|
64
|
+
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
65
65
|
/**
|
|
66
66
|
* Property of option which holds the 'value'
|
|
67
67
|
* Default value: id
|
|
68
68
|
* @param option The current option being processed
|
|
69
69
|
* @returns Value of the current option
|
|
70
70
|
*/
|
|
71
|
-
optionValue?: OptionProp
|
|
71
|
+
optionValue?: OptionProp<T | P["results"][number]>;
|
|
72
72
|
/**
|
|
73
73
|
* Property of option which holds the 'label'
|
|
74
74
|
* Default value: title
|
|
75
75
|
* @param option The current option being processed
|
|
76
76
|
* @returns Label of the current option
|
|
77
77
|
*/
|
|
78
|
-
optionLabel?: OptionProp
|
|
78
|
+
optionLabel?: OptionProp<T | P["results"][number]>;
|
|
79
79
|
/**
|
|
80
80
|
* @requires optionValue
|
|
81
81
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
@@ -85,7 +85,7 @@ export interface Props {
|
|
|
85
85
|
* @param option The current option being processed
|
|
86
86
|
* @returns Value of the current option
|
|
87
87
|
*/
|
|
88
|
-
displayValue?: OptionProp
|
|
88
|
+
displayValue?: OptionProp<T | P["results"][number]>;
|
|
89
89
|
/**
|
|
90
90
|
* @requires optionLabel
|
|
91
91
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
@@ -95,7 +95,7 @@ export interface Props {
|
|
|
95
95
|
* @param option The current option being processed
|
|
96
96
|
* @returns Label of the current option
|
|
97
97
|
*/
|
|
98
|
-
displayLabel?: OptionProp
|
|
98
|
+
displayLabel?: OptionProp<T | P["results"][number]>;
|
|
99
99
|
/**
|
|
100
100
|
* Update model with the value of the selected option instead of the whole option
|
|
101
101
|
*/
|
|
@@ -121,116 +121,640 @@ export interface Props {
|
|
|
121
121
|
* Input search activation
|
|
122
122
|
*/
|
|
123
123
|
searchable?: boolean;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
124
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
125
|
+
props: {
|
|
126
|
+
/**
|
|
127
|
+
* Name of select
|
|
128
|
+
*/
|
|
129
|
+
name?: string;
|
|
130
|
+
/**
|
|
131
|
+
* 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
|
|
132
|
+
*/
|
|
133
|
+
modelValue?: any;
|
|
134
|
+
/**
|
|
135
|
+
* 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;
|
|
136
|
+
* Default value: true
|
|
137
|
+
*/
|
|
138
|
+
mapOptions?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Does field have validation errors?
|
|
141
|
+
*/
|
|
142
|
+
error?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
145
|
+
*/
|
|
146
|
+
errorMessage?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Select label
|
|
149
|
+
*/
|
|
150
|
+
label?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Select description (hint) text below input component
|
|
153
|
+
*/
|
|
154
|
+
hint?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Prefix
|
|
157
|
+
*/
|
|
158
|
+
prefix?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Suffix
|
|
161
|
+
*/
|
|
162
|
+
suffix?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Signals the user a process is in progress by displaying a spinner
|
|
165
|
+
*/
|
|
166
|
+
loading?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Appends clearable icon when a value is set;
|
|
169
|
+
* When clicked, model becomes null
|
|
170
|
+
*/
|
|
171
|
+
clearable?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Put component in disabled mode
|
|
174
|
+
*/
|
|
175
|
+
disabled?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Allow multiple selection; Model must be Array
|
|
178
|
+
*/
|
|
179
|
+
multiple?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Available options that the user can select from.
|
|
182
|
+
* Default value: []
|
|
183
|
+
*/
|
|
184
|
+
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
185
|
+
/**
|
|
186
|
+
* Property of option which holds the 'value'
|
|
187
|
+
* Default value: id
|
|
188
|
+
* @param option The current option being processed
|
|
189
|
+
* @returns Value of the current option
|
|
190
|
+
*/
|
|
191
|
+
optionValue?: OptionProp<T | P["results"][number]>;
|
|
192
|
+
/**
|
|
193
|
+
* Property of option which holds the 'label'
|
|
194
|
+
* Default value: title
|
|
195
|
+
* @param option The current option being processed
|
|
196
|
+
* @returns Label of the current option
|
|
197
|
+
*/
|
|
198
|
+
optionLabel?: OptionProp<T | P["results"][number]>;
|
|
199
|
+
/**
|
|
200
|
+
* @requires optionValue
|
|
201
|
+
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
202
|
+
*
|
|
203
|
+
* Property of option which holds the 'value'
|
|
204
|
+
* Default value: id
|
|
205
|
+
* @param option The current option being processed
|
|
206
|
+
* @returns Value of the current option
|
|
207
|
+
*/
|
|
208
|
+
displayValue?: OptionProp<T | P["results"][number]>;
|
|
209
|
+
/**
|
|
210
|
+
* @requires optionLabel
|
|
211
|
+
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
212
|
+
*
|
|
213
|
+
* Property of option which holds the 'label'
|
|
214
|
+
* Default value: title
|
|
215
|
+
* @param option The current option being processed
|
|
216
|
+
* @returns Label of the current option
|
|
217
|
+
*/
|
|
218
|
+
displayLabel?: OptionProp<T | P["results"][number]>;
|
|
219
|
+
/**
|
|
220
|
+
* Update model with the value of the selected option instead of the whole option
|
|
221
|
+
*/
|
|
222
|
+
emitValue?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* Debounce the search input update with an amount of milliseconds
|
|
225
|
+
* Default value: 500
|
|
226
|
+
*/
|
|
227
|
+
debounce?: number | string;
|
|
228
|
+
/**
|
|
229
|
+
* Input placeholder text
|
|
230
|
+
*/
|
|
231
|
+
placeholder?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Input tooltip information
|
|
234
|
+
*/
|
|
235
|
+
tooltip?: string;
|
|
236
|
+
/**
|
|
237
|
+
* Input required state
|
|
238
|
+
*/
|
|
239
|
+
required?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Input search activation
|
|
242
|
+
*/
|
|
243
|
+
searchable?: boolean;
|
|
224
244
|
};
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
245
|
+
expose(exposed: {}): void;
|
|
246
|
+
attrs: any;
|
|
247
|
+
slots: {
|
|
248
|
+
/**
|
|
249
|
+
* Custom select control
|
|
250
|
+
*/
|
|
251
|
+
control: (scope: {
|
|
252
|
+
toggleHandler: () => void;
|
|
253
|
+
}) => any;
|
|
254
|
+
/**
|
|
255
|
+
* Prepend inner field
|
|
256
|
+
*/
|
|
257
|
+
"prepend-inner": (props: any) => any;
|
|
258
|
+
/**
|
|
259
|
+
* Append to inner field
|
|
260
|
+
*/
|
|
261
|
+
"append-inner": (props: any) => any;
|
|
262
|
+
/**
|
|
263
|
+
* Prepend outer field
|
|
264
|
+
*/
|
|
265
|
+
prepend: (props: any) => any;
|
|
266
|
+
/**
|
|
267
|
+
* Append outer field
|
|
268
|
+
*/
|
|
269
|
+
append: (props: any) => any;
|
|
270
|
+
/**
|
|
271
|
+
* What should the menu display after filtering options and none are left to be displayed
|
|
272
|
+
* @param scope
|
|
273
|
+
*/
|
|
274
|
+
"no-option": (props: any) => any;
|
|
275
|
+
/**
|
|
276
|
+
* Slot for errors
|
|
277
|
+
*/
|
|
278
|
+
error: (props: any) => any;
|
|
279
|
+
/**
|
|
280
|
+
* Slot for hint text
|
|
281
|
+
*/
|
|
282
|
+
hint: (props: any) => any;
|
|
283
|
+
/**
|
|
284
|
+
* Override default selection slot
|
|
285
|
+
* @param scope
|
|
286
|
+
*/
|
|
287
|
+
"selected-item": (scope: {
|
|
288
|
+
/**
|
|
289
|
+
* Selection index
|
|
290
|
+
*/
|
|
291
|
+
index: number;
|
|
292
|
+
/**
|
|
293
|
+
* Selected option -- its value is taken from model
|
|
294
|
+
*/
|
|
295
|
+
opt: T | P["results"][number];
|
|
296
|
+
/**
|
|
297
|
+
* Always true -- passed as prop
|
|
298
|
+
*/
|
|
299
|
+
selected: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* Remove selected option located at specific index
|
|
302
|
+
* @param index Index at which to remove selection
|
|
303
|
+
*/
|
|
304
|
+
removeAtIndex: (index: number) => void;
|
|
305
|
+
}) => any;
|
|
306
|
+
/**
|
|
307
|
+
* Override default selection slot;
|
|
308
|
+
*/
|
|
309
|
+
option: (scope: {
|
|
310
|
+
/**
|
|
311
|
+
* Option index
|
|
312
|
+
*/
|
|
313
|
+
index: number;
|
|
314
|
+
/**
|
|
315
|
+
* Option -- its value is taken from 'options' prop
|
|
316
|
+
*/
|
|
317
|
+
opt: T | P["results"][number];
|
|
318
|
+
/**
|
|
319
|
+
* Is option selected
|
|
320
|
+
*/
|
|
321
|
+
selected: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Add/remove option from model
|
|
324
|
+
* @param opt Option to add to model
|
|
325
|
+
*/
|
|
326
|
+
toggleOption: (opt: any) => void;
|
|
327
|
+
}) => any;
|
|
328
|
+
};
|
|
329
|
+
emit: {
|
|
330
|
+
(event: "update:modelValue", inputValue: string | (T | P["results"][number]) | (string | (T | P["results"][number]))[]): void;
|
|
331
|
+
(event: "search", inputValue: string): void;
|
|
332
|
+
(event: "close"): void;
|
|
333
|
+
};
|
|
334
|
+
}, "slots" | "attrs" | "emit">, __VLS_setup?: {
|
|
335
|
+
props: {
|
|
336
|
+
/**
|
|
337
|
+
* Name of select
|
|
338
|
+
*/
|
|
339
|
+
name?: string;
|
|
340
|
+
/**
|
|
341
|
+
* 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
|
|
342
|
+
*/
|
|
343
|
+
modelValue?: any;
|
|
344
|
+
/**
|
|
345
|
+
* 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;
|
|
346
|
+
* Default value: true
|
|
347
|
+
*/
|
|
348
|
+
mapOptions?: boolean;
|
|
349
|
+
/**
|
|
350
|
+
* Does field have validation errors?
|
|
351
|
+
*/
|
|
352
|
+
error?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
355
|
+
*/
|
|
356
|
+
errorMessage?: string;
|
|
357
|
+
/**
|
|
358
|
+
* Select label
|
|
359
|
+
*/
|
|
360
|
+
label?: string;
|
|
361
|
+
/**
|
|
362
|
+
* Select description (hint) text below input component
|
|
363
|
+
*/
|
|
364
|
+
hint?: string;
|
|
365
|
+
/**
|
|
366
|
+
* Prefix
|
|
367
|
+
*/
|
|
368
|
+
prefix?: string;
|
|
369
|
+
/**
|
|
370
|
+
* Suffix
|
|
371
|
+
*/
|
|
372
|
+
suffix?: string;
|
|
373
|
+
/**
|
|
374
|
+
* Signals the user a process is in progress by displaying a spinner
|
|
375
|
+
*/
|
|
376
|
+
loading?: boolean;
|
|
377
|
+
/**
|
|
378
|
+
* Appends clearable icon when a value is set;
|
|
379
|
+
* When clicked, model becomes null
|
|
380
|
+
*/
|
|
381
|
+
clearable?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Put component in disabled mode
|
|
384
|
+
*/
|
|
385
|
+
disabled?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Allow multiple selection; Model must be Array
|
|
388
|
+
*/
|
|
389
|
+
multiple?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Available options that the user can select from.
|
|
392
|
+
* Default value: []
|
|
393
|
+
*/
|
|
394
|
+
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
395
|
+
/**
|
|
396
|
+
* Property of option which holds the 'value'
|
|
397
|
+
* Default value: id
|
|
398
|
+
* @param option The current option being processed
|
|
399
|
+
* @returns Value of the current option
|
|
400
|
+
*/
|
|
401
|
+
optionValue?: OptionProp<T | P["results"][number]>;
|
|
402
|
+
/**
|
|
403
|
+
* Property of option which holds the 'label'
|
|
404
|
+
* Default value: title
|
|
405
|
+
* @param option The current option being processed
|
|
406
|
+
* @returns Label of the current option
|
|
407
|
+
*/
|
|
408
|
+
optionLabel?: OptionProp<T | P["results"][number]>;
|
|
409
|
+
/**
|
|
410
|
+
* @requires optionValue
|
|
411
|
+
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
412
|
+
*
|
|
413
|
+
* Property of option which holds the 'value'
|
|
414
|
+
* Default value: id
|
|
415
|
+
* @param option The current option being processed
|
|
416
|
+
* @returns Value of the current option
|
|
417
|
+
*/
|
|
418
|
+
displayValue?: OptionProp<T | P["results"][number]>;
|
|
419
|
+
/**
|
|
420
|
+
* @requires optionLabel
|
|
421
|
+
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
422
|
+
*
|
|
423
|
+
* Property of option which holds the 'label'
|
|
424
|
+
* Default value: title
|
|
425
|
+
* @param option The current option being processed
|
|
426
|
+
* @returns Label of the current option
|
|
427
|
+
*/
|
|
428
|
+
displayLabel?: OptionProp<T | P["results"][number]>;
|
|
429
|
+
/**
|
|
430
|
+
* Update model with the value of the selected option instead of the whole option
|
|
431
|
+
*/
|
|
432
|
+
emitValue?: boolean;
|
|
433
|
+
/**
|
|
434
|
+
* Debounce the search input update with an amount of milliseconds
|
|
435
|
+
* Default value: 500
|
|
436
|
+
*/
|
|
437
|
+
debounce?: number | string;
|
|
438
|
+
/**
|
|
439
|
+
* Input placeholder text
|
|
440
|
+
*/
|
|
441
|
+
placeholder?: string;
|
|
442
|
+
/**
|
|
443
|
+
* Input tooltip information
|
|
444
|
+
*/
|
|
445
|
+
tooltip?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Input required state
|
|
448
|
+
*/
|
|
449
|
+
required?: boolean;
|
|
450
|
+
/**
|
|
451
|
+
* Input search activation
|
|
452
|
+
*/
|
|
453
|
+
searchable?: boolean;
|
|
454
|
+
};
|
|
455
|
+
expose(exposed: {}): void;
|
|
456
|
+
attrs: any;
|
|
457
|
+
slots: {
|
|
458
|
+
/**
|
|
459
|
+
* Custom select control
|
|
460
|
+
*/
|
|
461
|
+
control: (scope: {
|
|
462
|
+
toggleHandler: () => void;
|
|
463
|
+
}) => any;
|
|
464
|
+
/**
|
|
465
|
+
* Prepend inner field
|
|
466
|
+
*/
|
|
467
|
+
"prepend-inner": (props: any) => any;
|
|
468
|
+
/**
|
|
469
|
+
* Append to inner field
|
|
470
|
+
*/
|
|
471
|
+
"append-inner": (props: any) => any;
|
|
472
|
+
/**
|
|
473
|
+
* Prepend outer field
|
|
474
|
+
*/
|
|
475
|
+
prepend: (props: any) => any;
|
|
476
|
+
/**
|
|
477
|
+
* Append outer field
|
|
478
|
+
*/
|
|
479
|
+
append: (props: any) => any;
|
|
480
|
+
/**
|
|
481
|
+
* What should the menu display after filtering options and none are left to be displayed
|
|
482
|
+
* @param scope
|
|
483
|
+
*/
|
|
484
|
+
"no-option": (props: any) => any;
|
|
485
|
+
/**
|
|
486
|
+
* Slot for errors
|
|
487
|
+
*/
|
|
488
|
+
error: (props: any) => any;
|
|
489
|
+
/**
|
|
490
|
+
* Slot for hint text
|
|
491
|
+
*/
|
|
492
|
+
hint: (props: any) => any;
|
|
493
|
+
/**
|
|
494
|
+
* Override default selection slot
|
|
495
|
+
* @param scope
|
|
496
|
+
*/
|
|
497
|
+
"selected-item": (scope: {
|
|
498
|
+
/**
|
|
499
|
+
* Selection index
|
|
500
|
+
*/
|
|
501
|
+
index: number;
|
|
502
|
+
/**
|
|
503
|
+
* Selected option -- its value is taken from model
|
|
504
|
+
*/
|
|
505
|
+
opt: T | P["results"][number];
|
|
506
|
+
/**
|
|
507
|
+
* Always true -- passed as prop
|
|
508
|
+
*/
|
|
509
|
+
selected: boolean;
|
|
510
|
+
/**
|
|
511
|
+
* Remove selected option located at specific index
|
|
512
|
+
* @param index Index at which to remove selection
|
|
513
|
+
*/
|
|
514
|
+
removeAtIndex: (index: number) => void;
|
|
515
|
+
}) => any;
|
|
516
|
+
/**
|
|
517
|
+
* Override default selection slot;
|
|
518
|
+
*/
|
|
519
|
+
option: (scope: {
|
|
520
|
+
/**
|
|
521
|
+
* Option index
|
|
522
|
+
*/
|
|
523
|
+
index: number;
|
|
524
|
+
/**
|
|
525
|
+
* Option -- its value is taken from 'options' prop
|
|
526
|
+
*/
|
|
527
|
+
opt: T | P["results"][number];
|
|
528
|
+
/**
|
|
529
|
+
* Is option selected
|
|
530
|
+
*/
|
|
531
|
+
selected: boolean;
|
|
532
|
+
/**
|
|
533
|
+
* Add/remove option from model
|
|
534
|
+
* @param opt Option to add to model
|
|
535
|
+
*/
|
|
536
|
+
toggleOption: (opt: any) => void;
|
|
537
|
+
}) => any;
|
|
538
|
+
};
|
|
539
|
+
emit: {
|
|
540
|
+
(event: "update:modelValue", inputValue: string | (T | P["results"][number]) | (string | (T | P["results"][number]))[]): void;
|
|
541
|
+
(event: "search", inputValue: string): void;
|
|
542
|
+
(event: "close"): void;
|
|
543
|
+
};
|
|
544
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
545
|
+
[key: string]: any;
|
|
546
|
+
}> & {
|
|
547
|
+
__ctx?: {
|
|
548
|
+
props: {
|
|
549
|
+
/**
|
|
550
|
+
* Name of select
|
|
551
|
+
*/
|
|
552
|
+
name?: string;
|
|
553
|
+
/**
|
|
554
|
+
* 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
|
|
555
|
+
*/
|
|
556
|
+
modelValue?: any;
|
|
557
|
+
/**
|
|
558
|
+
* 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;
|
|
559
|
+
* Default value: true
|
|
560
|
+
*/
|
|
561
|
+
mapOptions?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* Does field have validation errors?
|
|
564
|
+
*/
|
|
565
|
+
error?: boolean;
|
|
566
|
+
/**
|
|
567
|
+
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
568
|
+
*/
|
|
569
|
+
errorMessage?: string;
|
|
570
|
+
/**
|
|
571
|
+
* Select label
|
|
572
|
+
*/
|
|
573
|
+
label?: string;
|
|
574
|
+
/**
|
|
575
|
+
* Select description (hint) text below input component
|
|
576
|
+
*/
|
|
577
|
+
hint?: string;
|
|
578
|
+
/**
|
|
579
|
+
* Prefix
|
|
580
|
+
*/
|
|
581
|
+
prefix?: string;
|
|
582
|
+
/**
|
|
583
|
+
* Suffix
|
|
584
|
+
*/
|
|
585
|
+
suffix?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Signals the user a process is in progress by displaying a spinner
|
|
588
|
+
*/
|
|
589
|
+
loading?: boolean;
|
|
590
|
+
/**
|
|
591
|
+
* Appends clearable icon when a value is set;
|
|
592
|
+
* When clicked, model becomes null
|
|
593
|
+
*/
|
|
594
|
+
clearable?: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* Put component in disabled mode
|
|
597
|
+
*/
|
|
598
|
+
disabled?: boolean;
|
|
599
|
+
/**
|
|
600
|
+
* Allow multiple selection; Model must be Array
|
|
601
|
+
*/
|
|
602
|
+
multiple?: boolean;
|
|
603
|
+
/**
|
|
604
|
+
* Available options that the user can select from.
|
|
605
|
+
* Default value: []
|
|
606
|
+
*/
|
|
607
|
+
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
608
|
+
/**
|
|
609
|
+
* Property of option which holds the 'value'
|
|
610
|
+
* Default value: id
|
|
611
|
+
* @param option The current option being processed
|
|
612
|
+
* @returns Value of the current option
|
|
613
|
+
*/
|
|
614
|
+
optionValue?: OptionProp<T | P["results"][number]>;
|
|
615
|
+
/**
|
|
616
|
+
* Property of option which holds the 'label'
|
|
617
|
+
* Default value: title
|
|
618
|
+
* @param option The current option being processed
|
|
619
|
+
* @returns Label of the current option
|
|
620
|
+
*/
|
|
621
|
+
optionLabel?: OptionProp<T | P["results"][number]>;
|
|
622
|
+
/**
|
|
623
|
+
* @requires optionValue
|
|
624
|
+
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
625
|
+
*
|
|
626
|
+
* Property of option which holds the 'value'
|
|
627
|
+
* Default value: id
|
|
628
|
+
* @param option The current option being processed
|
|
629
|
+
* @returns Value of the current option
|
|
630
|
+
*/
|
|
631
|
+
displayValue?: OptionProp<T | P["results"][number]>;
|
|
632
|
+
/**
|
|
633
|
+
* @requires optionLabel
|
|
634
|
+
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
635
|
+
*
|
|
636
|
+
* Property of option which holds the 'label'
|
|
637
|
+
* Default value: title
|
|
638
|
+
* @param option The current option being processed
|
|
639
|
+
* @returns Label of the current option
|
|
640
|
+
*/
|
|
641
|
+
displayLabel?: OptionProp<T | P["results"][number]>;
|
|
642
|
+
/**
|
|
643
|
+
* Update model with the value of the selected option instead of the whole option
|
|
644
|
+
*/
|
|
645
|
+
emitValue?: boolean;
|
|
646
|
+
/**
|
|
647
|
+
* Debounce the search input update with an amount of milliseconds
|
|
648
|
+
* Default value: 500
|
|
649
|
+
*/
|
|
650
|
+
debounce?: number | string;
|
|
651
|
+
/**
|
|
652
|
+
* Input placeholder text
|
|
653
|
+
*/
|
|
654
|
+
placeholder?: string;
|
|
655
|
+
/**
|
|
656
|
+
* Input tooltip information
|
|
657
|
+
*/
|
|
658
|
+
tooltip?: string;
|
|
659
|
+
/**
|
|
660
|
+
* Input required state
|
|
661
|
+
*/
|
|
662
|
+
required?: boolean;
|
|
663
|
+
/**
|
|
664
|
+
* Input search activation
|
|
665
|
+
*/
|
|
666
|
+
searchable?: boolean;
|
|
667
|
+
};
|
|
668
|
+
expose(exposed: {}): void;
|
|
669
|
+
attrs: any;
|
|
670
|
+
slots: {
|
|
671
|
+
/**
|
|
672
|
+
* Custom select control
|
|
673
|
+
*/
|
|
674
|
+
control: (scope: {
|
|
675
|
+
toggleHandler: () => void;
|
|
676
|
+
}) => any;
|
|
677
|
+
/**
|
|
678
|
+
* Prepend inner field
|
|
679
|
+
*/
|
|
680
|
+
"prepend-inner": (props: any) => any;
|
|
681
|
+
/**
|
|
682
|
+
* Append to inner field
|
|
683
|
+
*/
|
|
684
|
+
"append-inner": (props: any) => any;
|
|
685
|
+
/**
|
|
686
|
+
* Prepend outer field
|
|
687
|
+
*/
|
|
688
|
+
prepend: (props: any) => any;
|
|
689
|
+
/**
|
|
690
|
+
* Append outer field
|
|
691
|
+
*/
|
|
692
|
+
append: (props: any) => any;
|
|
693
|
+
/**
|
|
694
|
+
* What should the menu display after filtering options and none are left to be displayed
|
|
695
|
+
* @param scope
|
|
696
|
+
*/
|
|
697
|
+
"no-option": (props: any) => any;
|
|
698
|
+
/**
|
|
699
|
+
* Slot for errors
|
|
700
|
+
*/
|
|
701
|
+
error: (props: any) => any;
|
|
702
|
+
/**
|
|
703
|
+
* Slot for hint text
|
|
704
|
+
*/
|
|
705
|
+
hint: (props: any) => any;
|
|
706
|
+
/**
|
|
707
|
+
* Override default selection slot
|
|
708
|
+
* @param scope
|
|
709
|
+
*/
|
|
710
|
+
"selected-item": (scope: {
|
|
711
|
+
/**
|
|
712
|
+
* Selection index
|
|
713
|
+
*/
|
|
714
|
+
index: number;
|
|
715
|
+
/**
|
|
716
|
+
* Selected option -- its value is taken from model
|
|
717
|
+
*/
|
|
718
|
+
opt: T | P["results"][number];
|
|
719
|
+
/**
|
|
720
|
+
* Always true -- passed as prop
|
|
721
|
+
*/
|
|
722
|
+
selected: boolean;
|
|
723
|
+
/**
|
|
724
|
+
* Remove selected option located at specific index
|
|
725
|
+
* @param index Index at which to remove selection
|
|
726
|
+
*/
|
|
727
|
+
removeAtIndex: (index: number) => void;
|
|
728
|
+
}) => any;
|
|
729
|
+
/**
|
|
730
|
+
* Override default selection slot;
|
|
731
|
+
*/
|
|
732
|
+
option: (scope: {
|
|
733
|
+
/**
|
|
734
|
+
* Option index
|
|
735
|
+
*/
|
|
736
|
+
index: number;
|
|
737
|
+
/**
|
|
738
|
+
* Option -- its value is taken from 'options' prop
|
|
739
|
+
*/
|
|
740
|
+
opt: T | P["results"][number];
|
|
741
|
+
/**
|
|
742
|
+
* Is option selected
|
|
743
|
+
*/
|
|
744
|
+
selected: boolean;
|
|
745
|
+
/**
|
|
746
|
+
* Add/remove option from model
|
|
747
|
+
* @param opt Option to add to model
|
|
748
|
+
*/
|
|
749
|
+
toggleOption: (opt: any) => void;
|
|
750
|
+
}) => any;
|
|
751
|
+
};
|
|
752
|
+
emit: {
|
|
753
|
+
(event: "update:modelValue", inputValue: string | (T | P["results"][number]) | (string | (T | P["results"][number]))[]): void;
|
|
754
|
+
(event: "search", inputValue: string): void;
|
|
755
|
+
(event: "close"): void;
|
|
756
|
+
};
|
|
234
757
|
};
|
|
235
758
|
};
|
|
759
|
+
export default _default;
|
|
236
760
|
//# sourceMappingURL=vc-select.vue.d.ts.map
|