@vc-shell/framework 1.0.119 → 1.0.121
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 +15 -5771
- package/core/api/platform.ts +8215 -8033
- package/core/composables/useApiClient/index.ts +2 -1
- package/core/composables/useAsync/index.ts +3 -3
- package/core/composables/useErrorHandler/index.ts +2 -2
- package/core/composables/useFunctions/debounce.ts +2 -1
- package/core/composables/useNotifications/index.ts +4 -5
- package/core/composables/usePermissions/index.ts +8 -12
- package/core/composables/useSettings/index.ts +1 -1
- package/core/composables/useUser/index.ts +21 -17
- package/core/plugins/modularity/index.ts +7 -3
- package/core/plugins/moment/humanize.ts +3 -3
- package/core/plugins/moment/moment.ts +3 -3
- package/core/plugins/validation/rules.ts +1 -1
- package/core/types/index.ts +20 -25
- package/dist/core/api/platform.d.ts +5 -5
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/composables/useApiClient/index.d.ts.map +1 -1
- package/dist/core/composables/useAsync/index.d.ts +1 -1
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useErrorHandler/index.d.ts +1 -1
- package/dist/core/composables/useErrorHandler/index.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/debounce.d.ts +1 -1
- package/dist/core/composables/useFunctions/debounce.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/usePermissions/index.d.ts +1 -1
- package/dist/core/composables/usePermissions/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +5 -5
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +8 -6
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/moment/humanize.d.ts +1 -1
- package/dist/core/plugins/moment/humanize.d.ts.map +1 -1
- package/dist/core/plugins/moment/moment.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +20 -19
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.mjs +11021 -10956
- package/dist/index.css +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +3 -3
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +3 -3
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +21 -21
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +23 -22
- 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 +10 -10
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +34 -18
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/change-password/change-password.vue.d.ts +1 -1
- package/dist/shared/components/change-password/index.d.ts +1 -1
- package/dist/shared/components/error-interceptor/index.d.ts +35 -35
- package/dist/shared/components/error-interceptor/interceptor.d.ts +4 -4
- package/dist/shared/components/error-interceptor/interceptor.d.ts.map +1 -1
- package/dist/shared/components/language-selector/index.d.ts +7 -7
- package/dist/shared/components/language-selector/language-selector.vue.d.ts +3 -3
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +9 -9
- package/dist/shared/components/notifications/composables/useContainer/index.d.ts +1 -1
- package/dist/shared/components/notifications/composables/useContainer/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/core/notification.d.ts +4 -4
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +2 -1
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/types/index.d.ts +2 -7
- package/dist/shared/components/popup-handler/types/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/utils/index.d.ts +1 -1
- package/dist/shared/components/popup-handler/utils/index.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/index.d.ts +5 -5
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +3 -3
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +3 -3
- 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 +1 -46
- package/dist/shared/modules/assets/components/assets-details/index.d.ts.map +1 -1
- package/dist/shared/modules/assets/index.d.ts +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +6 -6
- package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +12 -12
- package/dist/shared/modules/assets-manager/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts +1 -2
- package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +83 -82
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/factories.d.ts +15 -14
- package/dist/shared/modules/dynamic/components/factories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +132 -0
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +1 -0
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +39 -42
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/props.d.ts +38 -41
- package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts +2 -2
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts +3 -3
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts +10 -11
- package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts +2 -2
- package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/override.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/safeIn.d.ts +5 -0
- package/dist/shared/modules/dynamic/helpers/safeIn.d.ts.map +1 -0
- package/dist/shared/modules/dynamic/helpers/setters.d.ts +1 -0
- package/dist/shared/modules/dynamic/helpers/setters.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/toolbarReducer.d.ts +1 -1
- package/dist/shared/modules/dynamic/helpers/toolbarReducer.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/helpers/unwrapInterpolation.d.ts +1 -1
- package/dist/shared/modules/dynamic/helpers/unwrapInterpolation.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/index.d.ts +7 -7
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +30 -30
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +11 -10
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +434 -34
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/models.d.ts +7 -3
- package/dist/shared/modules/dynamic/types/models.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +15 -28
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts +13 -17
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +15 -28
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +13 -17
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts.map +1 -1
- package/dist/shared/utilities/assets.d.ts +3 -3
- package/dist/shared/utilities/assets.d.ts.map +1 -1
- package/dist/shared/utilities/vueUtils.d.ts +34 -0
- package/dist/shared/utilities/vueUtils.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/index.d.ts +30 -30
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-card/index.d.ts +37 -37
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +61 -44
- 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 +3 -2
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/index.d.ts +33 -33
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-hint/index.d.ts +22 -22
- package/dist/ui/components/atoms/vc-image/index.d.ts +10 -10
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-info-row/index.d.ts +4 -4
- package/dist/ui/components/atoms/vc-label/index.d.ts +26 -26
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-link/index.d.ts +29 -29
- package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts +43 -43
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts +1 -9
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-video/index.d.ts +1 -19
- package/dist/ui/components/atoms/vc-video/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +1 -4
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +9 -9
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +8 -8
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +4 -4
- package/dist/ui/components/molecules/vc-code-editor/index.d.ts +65 -75
- 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 +5 -16
- package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +6 -20
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts +59 -59
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-form/index.d.ts +22 -22
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +8 -8
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts +99 -99
- 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 +8 -8
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/index.d.ts +70 -70
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +70 -70
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-notification/index.d.ts +1 -51
- package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +7 -7
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/index.d.ts +25 -25
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +80 -80
- 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 +40 -40
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +1 -230
- 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 +6 -6
- 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 +4 -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 +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 +13 -13
- 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 +10 -10
- package/dist/ui/components/organisms/vc-app/index.d.ts +93 -92
- 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 +20 -21
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +9 -9
- 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 +2 -2
- 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 +70 -70
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +70 -70
- 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 +15 -15
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +30 -42
- 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 -10
- 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 +24 -24
- package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts +4 -15
- package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-notification-template/index.d.ts +1 -103
- package/dist/ui/components/organisms/vc-notification-template/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts +2 -0
- package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +2 -2
- 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 +15 -15
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +105 -105
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +5 -5
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +3 -3
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -1
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +7 -7
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +80 -80
- package/shared/components/blade-navigation/types/index.ts +50 -18
- package/shared/components/change-password/change-password.vue +32 -5
- package/shared/components/error-interceptor/interceptor.ts +4 -4
- package/shared/components/notifications/composables/useContainer/index.ts +2 -2
- package/shared/components/notifications/composables/useInstance/index.ts +2 -2
- package/shared/components/notifications/core/notification.ts +2 -2
- package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +2 -2
- package/shared/components/popup-handler/composables/usePopup/index.ts +13 -6
- package/shared/components/popup-handler/types/index.ts +1 -7
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +1 -1
- package/shared/modules/assets/components/assets-details/assets-details.vue +12 -6
- package/shared/modules/assets/components/assets-details/index.ts +1 -3
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +10 -10
- package/shared/modules/dynamic/components/FIELD_MAP.ts +4 -2
- package/shared/modules/dynamic/components/SchemaRender.ts +2 -2
- package/shared/modules/dynamic/components/factories.ts +24 -13
- package/shared/modules/dynamic/components/fields/Button.ts +3 -3
- package/shared/modules/dynamic/components/fields/Card.ts +30 -15
- package/shared/modules/dynamic/components/fields/Checkbox.ts +2 -2
- package/shared/modules/dynamic/components/fields/ContentField.ts +2 -2
- package/shared/modules/dynamic/components/fields/DynamicProperty.ts +19 -9
- package/shared/modules/dynamic/components/fields/Fieldset.ts +7 -4
- package/shared/modules/dynamic/components/fields/GalleryField.ts +42 -22
- package/shared/modules/dynamic/components/fields/ImageField.ts +2 -2
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +8 -4
- package/shared/modules/dynamic/components/fields/InputField.ts +9 -9
- package/shared/modules/dynamic/components/fields/SelectField.ts +6 -3
- package/shared/modules/dynamic/components/fields/StatusField.ts +3 -3
- package/shared/modules/dynamic/components/fields/TextareaField.ts +41 -0
- package/shared/modules/dynamic/components/fields/ValidationField.ts +9 -9
- package/shared/modules/dynamic/components/fields/VideoField.ts +2 -5
- package/shared/modules/dynamic/components/fields/props.ts +1 -2
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +18 -10
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +7 -6
- package/shared/modules/dynamic/factories/base/useListFactory.ts +4 -4
- package/shared/modules/dynamic/factories/types/index.ts +11 -9
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +97 -34
- package/shared/modules/dynamic/helpers/override.ts +14 -27
- package/shared/modules/dynamic/helpers/safeIn.ts +6 -0
- package/shared/modules/dynamic/helpers/setters.ts +11 -2
- package/shared/modules/dynamic/helpers/toolbarReducer.ts +3 -3
- package/shared/modules/dynamic/helpers/unwrapInterpolation.ts +2 -1
- package/shared/modules/dynamic/index.ts +38 -29
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +33 -31
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +45 -33
- package/shared/modules/dynamic/types/index.ts +436 -34
- package/shared/modules/dynamic/types/models.ts +11 -3
- package/shared/pages/InvitePage/components/invite/Invite.vue +17 -19
- package/shared/pages/LoginPage/components/login/Login.vue +6 -8
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +17 -19
- package/shared/utilities/assets.ts +6 -4
- package/shared/utilities/vueUtils.ts +46 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +8 -2
- package/ui/components/atoms/vc-status-icon/index.ts +1 -3
- package/ui/components/atoms/vc-video/vc-video.vue +1 -14
- package/ui/components/molecules/vc-code-editor/vc-code-editor.vue +1 -3
- package/ui/components/molecules/vc-editor/vc-editor.vue +13 -7
- package/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue +14 -5
- package/ui/components/molecules/vc-field/vc-field.vue +1 -1
- package/ui/components/molecules/vc-input/vc-input.vue +4 -4
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +11 -11
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +1 -1
- package/ui/components/molecules/vc-notification/index.ts +1 -3
- package/ui/components/molecules/vc-notification/vc-notification.vue +6 -6
- package/ui/components/molecules/vc-select/vc-select.vue +6 -4
- package/ui/components/molecules/vc-textarea/index.ts +1 -10
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +6 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +0 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +3 -3
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +7 -7
- package/ui/components/organisms/vc-app/vc-app.vue +11 -19
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +2 -2
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +2 -2
- package/ui/components/organisms/vc-blade/vc-blade.vue +1 -1
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +3 -3
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +1 -1
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +29 -26
- package/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue +3 -16
- package/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue +1 -1
- package/ui/components/organisms/vc-notification-template/index.ts +1 -3
- package/ui/components/organisms/vc-notification-template/vc-notification-template.vue +35 -17
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +6 -6
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +7 -5
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +11 -16
- package/ui/components/organisms/vc-table/vc-table.vue +45 -42
|
@@ -2,7 +2,7 @@ export declare const VcAppSwitcher: import("vue").DefineComponent<{
|
|
|
2
2
|
appsList: {
|
|
3
3
|
type: import("vue").PropType<import("../../../../..").AppDescriptor[]>;
|
|
4
4
|
required: true;
|
|
5
|
-
default:
|
|
5
|
+
default: undefined;
|
|
6
6
|
};
|
|
7
7
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
onClick: (item: import("../../../../..").AppDescriptor) => void;
|
|
@@ -10,10 +10,10 @@ export declare const VcAppSwitcher: import("vue").DefineComponent<{
|
|
|
10
10
|
appsList: {
|
|
11
11
|
type: import("vue").PropType<import("../../../../..").AppDescriptor[]>;
|
|
12
12
|
required: true;
|
|
13
|
-
default:
|
|
13
|
+
default: undefined;
|
|
14
14
|
};
|
|
15
15
|
}>> & {
|
|
16
|
-
onOnClick?: (item: import("../../../../..").AppDescriptor) => any;
|
|
16
|
+
onOnClick?: ((item: import("../../../../..").AppDescriptor) => any) | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
appsList: import("../../../../..").AppDescriptor[];
|
|
19
19
|
}, {}>;
|
package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ export interface Props {
|
|
|
3
3
|
appsList: AppDescriptor[];
|
|
4
4
|
}
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
6
|
-
appsList:
|
|
6
|
+
appsList: undefined;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
onClick: (item: AppDescriptor) => void;
|
|
9
9
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
-
appsList:
|
|
10
|
+
appsList: undefined;
|
|
11
11
|
}>>> & {
|
|
12
|
-
onOnClick?: (item: AppDescriptor) => any;
|
|
12
|
+
onOnClick?: ((item: AppDescriptor) => any) | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
appsList: AppDescriptor[];
|
|
15
15
|
}, {}>;
|
|
@@ -2,7 +2,7 @@ export declare const VcBladeNavigation: import("vue").DefineComponent<{
|
|
|
2
2
|
blades: {
|
|
3
3
|
type: import("vue").PropType<import("../..").IBladeContainer[]>;
|
|
4
4
|
required: true;
|
|
5
|
-
default: () =>
|
|
5
|
+
default: () => never[];
|
|
6
6
|
};
|
|
7
7
|
workspaceOptions: {
|
|
8
8
|
type: import("vue").PropType<Record<string, unknown>>;
|
|
@@ -15,25 +15,25 @@ export declare const VcBladeNavigation: import("vue").DefineComponent<{
|
|
|
15
15
|
bladesRefs: import("vue").Ref<{
|
|
16
16
|
exposed: {
|
|
17
17
|
[x: string]: any;
|
|
18
|
-
title?: string;
|
|
19
|
-
onBeforeClose?: () => Promise<boolean
|
|
20
|
-
reloadParent?: () => void;
|
|
21
|
-
reload?: () => void;
|
|
18
|
+
title?: string | undefined;
|
|
19
|
+
onBeforeClose?: (() => Promise<boolean>) | undefined;
|
|
20
|
+
reloadParent?: (() => void) | undefined;
|
|
21
|
+
reload?: (() => void) | undefined;
|
|
22
22
|
};
|
|
23
23
|
blade: {
|
|
24
|
-
idx?: number;
|
|
25
|
-
blade
|
|
26
|
-
options?:
|
|
27
|
-
param?: string;
|
|
28
|
-
onOpen?: () => void;
|
|
29
|
-
onClose?: () => void;
|
|
24
|
+
idx?: number | undefined;
|
|
25
|
+
blade: import("../..").BladeInstanceConstructor<import("vue").Component>;
|
|
26
|
+
options?: any;
|
|
27
|
+
param?: string | undefined;
|
|
28
|
+
onOpen?: (() => void) | undefined;
|
|
29
|
+
onClose?: (() => void) | undefined;
|
|
30
30
|
};
|
|
31
|
-
expanded?: boolean;
|
|
32
|
-
active?: boolean;
|
|
31
|
+
expanded?: boolean | undefined;
|
|
32
|
+
active?: boolean | undefined;
|
|
33
33
|
}[]>;
|
|
34
34
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
35
|
onOpen: (blade: {
|
|
36
|
-
blade: import("../..").IBladeEvent<import("vue").
|
|
36
|
+
blade: import("../..").IBladeEvent<import("vue").Component>;
|
|
37
37
|
id: number;
|
|
38
38
|
}) => void;
|
|
39
39
|
onClose: (index: number) => void;
|
|
@@ -45,7 +45,7 @@ export declare const VcBladeNavigation: import("vue").DefineComponent<{
|
|
|
45
45
|
blades: {
|
|
46
46
|
type: import("vue").PropType<import("../..").IBladeContainer[]>;
|
|
47
47
|
required: true;
|
|
48
|
-
default: () =>
|
|
48
|
+
default: () => never[];
|
|
49
49
|
};
|
|
50
50
|
workspaceOptions: {
|
|
51
51
|
type: import("vue").PropType<Record<string, unknown>>;
|
|
@@ -55,15 +55,15 @@ export declare const VcBladeNavigation: import("vue").DefineComponent<{
|
|
|
55
55
|
type: import("vue").PropType<string>;
|
|
56
56
|
};
|
|
57
57
|
}>> & {
|
|
58
|
-
onOnClose?: (index: number) => any;
|
|
59
|
-
onOnOpen?: (blade: {
|
|
60
|
-
blade: import("../..").IBladeEvent<import("vue").
|
|
58
|
+
onOnClose?: ((index: number) => any) | undefined;
|
|
59
|
+
onOnOpen?: ((blade: {
|
|
60
|
+
blade: import("../..").IBladeEvent<import("vue").Component>;
|
|
61
61
|
id: number;
|
|
62
|
-
}) => any;
|
|
63
|
-
onOnParentCall?: (args: {
|
|
62
|
+
}) => any) | undefined;
|
|
63
|
+
onOnParentCall?: ((args: {
|
|
64
64
|
id: number;
|
|
65
65
|
args: import("../..").IParentCallArgs;
|
|
66
|
-
}) => any;
|
|
66
|
+
}) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
blades: import("../..").IBladeContainer[];
|
|
69
69
|
workspaceOptions: Record<string, unknown>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
import { IBladeContainer, IBladeEvent, IParentCallArgs, BladeInstanceConstructor } from "./../../../../../shared";
|
|
2
3
|
export interface Props {
|
|
3
4
|
blades: IBladeContainer[];
|
|
4
5
|
workspaceOptions?: Record<string, unknown>;
|
|
@@ -16,31 +17,31 @@ export interface Emits {
|
|
|
16
17
|
}): void;
|
|
17
18
|
}
|
|
18
19
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
19
|
-
blades: () =>
|
|
20
|
+
blades: () => never[];
|
|
20
21
|
workspaceOptions: () => {};
|
|
21
22
|
}>, {
|
|
22
23
|
bladesRefs: import("vue").Ref<{
|
|
23
24
|
exposed: {
|
|
24
25
|
[x: string]: any;
|
|
25
|
-
title?: string;
|
|
26
|
-
onBeforeClose?: () => Promise<boolean
|
|
27
|
-
reloadParent?: () => void;
|
|
28
|
-
reload?: () => void;
|
|
26
|
+
title?: string | undefined;
|
|
27
|
+
onBeforeClose?: (() => Promise<boolean>) | undefined;
|
|
28
|
+
reloadParent?: (() => void) | undefined;
|
|
29
|
+
reload?: (() => void) | undefined;
|
|
29
30
|
};
|
|
30
31
|
blade: {
|
|
31
|
-
idx?: number;
|
|
32
|
-
blade
|
|
33
|
-
options?:
|
|
34
|
-
param?: string;
|
|
35
|
-
onOpen?: () => void;
|
|
36
|
-
onClose?: () => void;
|
|
32
|
+
idx?: number | undefined;
|
|
33
|
+
blade: BladeInstanceConstructor<Component>;
|
|
34
|
+
options?: any;
|
|
35
|
+
param?: string | undefined;
|
|
36
|
+
onOpen?: (() => void) | undefined;
|
|
37
|
+
onClose?: (() => void) | undefined;
|
|
37
38
|
};
|
|
38
|
-
expanded?: boolean;
|
|
39
|
-
active?: boolean;
|
|
39
|
+
expanded?: boolean | undefined;
|
|
40
|
+
active?: boolean | undefined;
|
|
40
41
|
}[]>;
|
|
41
42
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
43
|
onOpen: (blade: {
|
|
43
|
-
blade: IBladeEvent<
|
|
44
|
+
blade: IBladeEvent<Component>;
|
|
44
45
|
id: number;
|
|
45
46
|
}) => void;
|
|
46
47
|
onClose: (index: number) => void;
|
|
@@ -49,18 +50,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
49
50
|
args: IParentCallArgs;
|
|
50
51
|
}) => void;
|
|
51
52
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
52
|
-
blades: () =>
|
|
53
|
+
blades: () => never[];
|
|
53
54
|
workspaceOptions: () => {};
|
|
54
55
|
}>>> & {
|
|
55
|
-
onOnClose?: (index: number) => any;
|
|
56
|
-
onOnOpen?: (blade: {
|
|
57
|
-
blade: IBladeEvent<
|
|
56
|
+
onOnClose?: ((index: number) => any) | undefined;
|
|
57
|
+
onOnOpen?: ((blade: {
|
|
58
|
+
blade: IBladeEvent<Component>;
|
|
58
59
|
id: number;
|
|
59
|
-
}) => any;
|
|
60
|
-
onOnParentCall?: (args: {
|
|
60
|
+
}) => any) | undefined;
|
|
61
|
+
onOnParentCall?: ((args: {
|
|
61
62
|
id: number;
|
|
62
63
|
args: IParentCallArgs;
|
|
63
|
-
}) => any;
|
|
64
|
+
}) => any) | undefined;
|
|
64
65
|
}, {
|
|
65
66
|
blades: IBladeContainer[];
|
|
66
67
|
workspaceOptions: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-blade-navigation.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vc-blade-navigation.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EA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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ref,
|
|
1
|
+
import { Ref, Component } from "vue";
|
|
2
2
|
import { RouteLocationNormalized } from "vue-router";
|
|
3
|
-
import { IBladeContainer, IBladeRef, IBladeEvent, IParentCallArgs,
|
|
3
|
+
import { IBladeContainer, IBladeRef, IBladeEvent, IParentCallArgs, BladeInstanceConstructor } from "../../../..";
|
|
4
4
|
interface BladeData {
|
|
5
5
|
blade?: string;
|
|
6
6
|
param?: string;
|
|
@@ -8,13 +8,13 @@ interface BladeData {
|
|
|
8
8
|
}
|
|
9
9
|
interface IUseBladeNavigation {
|
|
10
10
|
readonly blades: Ref<IBladeContainer[]>;
|
|
11
|
-
readonly workspaceOptions: Ref<Record<string,
|
|
12
|
-
readonly workspaceParam: Ref<string>;
|
|
11
|
+
readonly workspaceOptions: Ref<Record<string, any>> | Ref<undefined>;
|
|
12
|
+
readonly workspaceParam: Ref<string> | Ref<undefined>;
|
|
13
13
|
readonly lastBladeData: Ref<BladeData>;
|
|
14
14
|
bladesRefs: Ref<IBladeRef[]>;
|
|
15
15
|
activeBlade: Ref<IBladeContainer>;
|
|
16
|
-
openBlade: <Blade extends
|
|
17
|
-
closeBlade: (index: number) => Promise<boolean>;
|
|
16
|
+
openBlade: <Blade extends Component>({ blade, param, options, onOpen, onClose }: IBladeEvent<Blade>, isWorkspace?: boolean) => void;
|
|
17
|
+
closeBlade: (index: number) => Promise<boolean | undefined>;
|
|
18
18
|
onParentCall: (index: number, args: IParentCallArgs) => void;
|
|
19
19
|
/**
|
|
20
20
|
* Resolves blades from vue-router's navigation guard 'to' param. Used to display blades after page reload or accessing via direct link.
|
|
@@ -22,10 +22,10 @@ interface IUseBladeNavigation {
|
|
|
22
22
|
* @param to
|
|
23
23
|
* @returns string
|
|
24
24
|
*/
|
|
25
|
-
resolveBlades: (to: RouteLocationNormalized) => string;
|
|
26
|
-
resolveLastBlade: (pages:
|
|
27
|
-
resolveUnknownRoutes: (to: RouteLocationNormalized) => string;
|
|
28
|
-
resolveBladeByName: (name: string) =>
|
|
25
|
+
resolveBlades: (to: RouteLocationNormalized) => string | unknown;
|
|
26
|
+
resolveLastBlade: (pages: BladeInstanceConstructor[]) => void;
|
|
27
|
+
resolveUnknownRoutes: (to: RouteLocationNormalized) => string | unknown;
|
|
28
|
+
resolveBladeByName: (name: string) => BladeInstanceConstructor<any>;
|
|
29
29
|
}
|
|
30
30
|
export declare function useBladeNavigation(): IUseBladeNavigation;
|
|
31
31
|
export {};
|
package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/blade-navigation/composables/useBladeNavigation/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/blade-navigation/composables/useBladeNavigation/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,GAAG,EAAuD,SAAS,EAAE,MAAM,KAAK,CAAC;AAEvH,OAAO,EAAa,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,EACL,eAAe,EACf,SAAS,EACT,WAAW,EACX,eAAe,EAIf,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAKrB,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UA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
|
|
1
|
-
import { ComponentPublicInstance, VNode, ComponentInternalInstance, VNodeTypes, Ref } from "vue";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} & {
|
|
8
|
-
$props: T["$props"] & CoreBladeComponentProps;
|
|
9
|
-
};
|
|
10
|
-
} & CoreComponentData & CoreBladeAdditionalSettings & CoreBladeNavigationData;
|
|
11
|
-
export type ComponentInstanceConstructor<T = any> = {
|
|
12
|
-
new (...args: any[]): T;
|
|
13
|
-
};
|
|
1
|
+
import { AppContext, Component, ComponentOptionsBase, ComponentOptionsMixin, ComponentPublicInstance, VNode, ComponentInternalInstance, VNodeTypes, Ref } from "vue";
|
|
2
|
+
import { ComponentPublicInstanceConstructor } from "../../../utilities/vueUtils";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use `ComponentPublicInstanceConstructor` interface instead
|
|
5
|
+
*/
|
|
6
|
+
export type ComponentInstanceConstructor<T = any> = ComponentPublicInstanceConstructor<T>;
|
|
14
7
|
export type CoreBladeComponentProps = {
|
|
15
8
|
expanded?: boolean;
|
|
16
9
|
closable?: boolean;
|
|
17
10
|
param?: string;
|
|
18
11
|
options?: Record<string, any>;
|
|
19
12
|
};
|
|
20
|
-
export type
|
|
13
|
+
export type CoreDynamicBladeComponentProps = {
|
|
14
|
+
model?: any;
|
|
15
|
+
composables?: any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated use `BladeInstanceConstructor` interface instead
|
|
19
|
+
*/
|
|
20
|
+
export type BladePageComponent = BladeInstanceConstructor;
|
|
21
21
|
export type CoreComponentData = {
|
|
22
22
|
isBladeComponent?: boolean;
|
|
23
|
-
isWorkspace?: boolean;
|
|
24
23
|
};
|
|
25
24
|
export type CoreBladeAdditionalSettings = {
|
|
26
25
|
url?: `/${string}`;
|
|
27
26
|
permissions?: string | string[];
|
|
27
|
+
isWorkspace?: boolean;
|
|
28
28
|
};
|
|
29
29
|
export type CoreBladeNavigationData = {
|
|
30
30
|
idx?: number;
|
|
@@ -48,12 +48,27 @@ export interface BladeComponentInternalInstance extends ComponentInternalInstanc
|
|
|
48
48
|
vnode: VNode & {
|
|
49
49
|
type: VNodeTypes & CoreBladeAdditionalSettings & CoreBladeNavigationData;
|
|
50
50
|
};
|
|
51
|
+
appContext: AppContext & {
|
|
52
|
+
components: Record<string, BladeInstanceConstructor>;
|
|
53
|
+
};
|
|
51
54
|
}
|
|
52
55
|
export type ExtractedBladeOptions<T, U extends keyof T> = T[U];
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated use `BladeInstanceConstructor` interface instead
|
|
58
|
+
*/
|
|
53
59
|
export type BladeConstructor<T extends ComponentPublicInstance = ComponentPublicInstance> = BladeInstanceConstructor<T>;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
60
|
+
type Extractor<T> = Extract<T, ComponentPublicInstanceConstructor>;
|
|
61
|
+
export type BladeInstanceConstructor<T extends Component = Component> = Extractor<T> & {
|
|
62
|
+
new (...args: any[]): InstanceType<Extractor<T>> & {
|
|
63
|
+
$: ComponentInternalInstance & {
|
|
64
|
+
exposed: CoreBladeExposed | InstanceType<Extractor<T>>["$"]["exposed"];
|
|
65
|
+
};
|
|
66
|
+
$props: InstanceType<Extractor<T>>["$props"] & CoreBladeComponentProps;
|
|
67
|
+
};
|
|
68
|
+
} & ComponentOptionsBase<any, any, any, any, ComponentOptionsMixin, ComponentOptionsMixin, any, any, any> & CoreComponentData & CoreBladeAdditionalSettings & CoreBladeNavigationData;
|
|
69
|
+
export interface IBladeEvent<T extends Component = Component> {
|
|
70
|
+
blade: BladeInstanceConstructor<T>;
|
|
71
|
+
options?: ExtractedBladeOptions<InstanceType<BladeInstanceConstructor<T>>["$props"], "options">;
|
|
57
72
|
param?: string;
|
|
58
73
|
onOpen?: () => void;
|
|
59
74
|
onClose?: () => void;
|
|
@@ -68,4 +83,5 @@ export interface BladeNavigationPlugin {
|
|
|
68
83
|
blades: Ref<IBladeContainer[]>;
|
|
69
84
|
bladesRefs: Ref<IBladeRef[]>;
|
|
70
85
|
}
|
|
86
|
+
export {};
|
|
71
87
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/components/blade-navigation/types/index.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/components/blade-navigation/types/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EAEvB,KAAK,EACL,yBAAyB,EACzB,UAAU,EACV,GAAG,EAEJ,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,4BAA4B,CAAC,CAAC,GAAG,GAAG,IAAI,kCAAkC,CAAC,CAAC,CAAC,CAAC;AAE1F,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,WAAW,CAAC,EAAE,GAAG,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,GAAG,CAAC,EAAE,IAAI,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,MA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CAAC,eAAe,EAAE,CAAC,CAAC;IAC/B,UAAU,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;CAC9B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
close: () => void;
|
|
3
3
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
-
onClose?: () => any;
|
|
4
|
+
onClose?: (() => any) | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=change-password.vue.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const ChangePassword: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
close: () => void;
|
|
3
3
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
-
onClose?: () => any;
|
|
4
|
+
onClose?: (() => any) | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
declare module "@vue/runtime-core" {
|
|
7
7
|
interface GlobalComponents {
|
|
@@ -7,16 +7,16 @@ export declare const ErrorInterceptor: {
|
|
|
7
7
|
capture: boolean;
|
|
8
8
|
}> & Omit<{
|
|
9
9
|
readonly capture: boolean;
|
|
10
|
-
onReset?: () => any;
|
|
11
|
-
onError?: (value: string | Error) => any;
|
|
10
|
+
onReset?: (() => any) | undefined;
|
|
11
|
+
onError?: ((value: string | Error) => any) | undefined;
|
|
12
12
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
capture: {
|
|
14
14
|
default: boolean;
|
|
15
15
|
type: BooleanConstructor;
|
|
16
16
|
};
|
|
17
17
|
}>> & {
|
|
18
|
-
onReset?: () => any;
|
|
19
|
-
onError?: (value: string | Error) => any;
|
|
18
|
+
onReset?: (() => any) | undefined;
|
|
19
|
+
onError?: ((value: string | Error) => any) | undefined;
|
|
20
20
|
}, "capture">;
|
|
21
21
|
$attrs: {
|
|
22
22
|
[x: string]: unknown;
|
|
@@ -25,10 +25,10 @@ export declare const ErrorInterceptor: {
|
|
|
25
25
|
[x: string]: unknown;
|
|
26
26
|
};
|
|
27
27
|
$slots: Readonly<{
|
|
28
|
-
[name: string]: import("vue").Slot<any
|
|
28
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
29
29
|
}>;
|
|
30
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}
|
|
31
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}
|
|
30
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
31
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
32
32
|
$emit: ((event: "reset") => void) & ((event: "error", value: string | Error) => void);
|
|
33
33
|
$el: any;
|
|
34
34
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -37,60 +37,60 @@ export declare const ErrorInterceptor: {
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
};
|
|
39
39
|
}>> & {
|
|
40
|
-
onReset?: () => any;
|
|
41
|
-
onError?: (value: string | Error) => any;
|
|
40
|
+
onReset?: (() => any) | undefined;
|
|
41
|
+
onError?: ((value: string | Error) => any) | undefined;
|
|
42
42
|
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
43
|
[key: string]: any;
|
|
44
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
+
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
45
|
error(value: string | Error): boolean;
|
|
46
46
|
reset(): boolean;
|
|
47
47
|
}, string, {
|
|
48
48
|
capture: boolean;
|
|
49
49
|
}, {}, string, {}> & {
|
|
50
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
51
|
-
created?: (() => void) | (() => void)[];
|
|
52
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
53
|
-
mounted?: (() => void) | (() => void)[];
|
|
54
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
55
|
-
updated?: (() => void) | (() => void)[];
|
|
56
|
-
activated?: (() => void) | (() => void)[];
|
|
57
|
-
deactivated?: (() => void) | (() => void)[];
|
|
58
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
59
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
60
|
-
destroyed?: (() => void) | (() => void)[];
|
|
61
|
-
unmounted?: (() => void) | (() => void)[];
|
|
62
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
63
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
64
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}
|
|
50
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
63
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
64
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
65
65
|
};
|
|
66
66
|
$forceUpdate: () => void;
|
|
67
67
|
$nextTick: typeof import("vue").nextTick;
|
|
68
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
68
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
69
69
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
70
70
|
capture: {
|
|
71
71
|
default: boolean;
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
};
|
|
74
74
|
}>> & {
|
|
75
|
-
onReset?: () => any;
|
|
76
|
-
onError?: (value: string | Error) => any;
|
|
75
|
+
onReset?: (() => any) | undefined;
|
|
76
|
+
onError?: ((value: string | Error) => any) | undefined;
|
|
77
77
|
} & import("vue").ShallowUnwrapRef<() => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
78
78
|
[key: string]: any;
|
|
79
|
-
}>[]> & {} & import("vue").ComponentCustomProperties & {};
|
|
80
|
-
__isFragment?:
|
|
81
|
-
__isTeleport?:
|
|
82
|
-
__isSuspense?:
|
|
79
|
+
}>[] | undefined> & {} & import("vue").ComponentCustomProperties & {};
|
|
80
|
+
__isFragment?: undefined;
|
|
81
|
+
__isTeleport?: undefined;
|
|
82
|
+
__isSuspense?: undefined;
|
|
83
83
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
84
84
|
capture: {
|
|
85
85
|
default: boolean;
|
|
86
86
|
type: BooleanConstructor;
|
|
87
87
|
};
|
|
88
88
|
}>> & {
|
|
89
|
-
onReset?: () => any;
|
|
90
|
-
onError?: (value: string | Error) => any;
|
|
89
|
+
onReset?: (() => any) | undefined;
|
|
90
|
+
onError?: ((value: string | Error) => any) | undefined;
|
|
91
91
|
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
92
92
|
[key: string]: any;
|
|
93
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
93
|
+
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
94
94
|
error(value: string | Error): boolean;
|
|
95
95
|
reset(): boolean;
|
|
96
96
|
}, string, {
|
|
@@ -9,7 +9,7 @@ export interface Emits {
|
|
|
9
9
|
export type Slots = {
|
|
10
10
|
slots: {
|
|
11
11
|
default: (args: {
|
|
12
|
-
error: string;
|
|
12
|
+
error: string | null;
|
|
13
13
|
reset: () => void;
|
|
14
14
|
}) => VNode[];
|
|
15
15
|
};
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
};
|
|
22
22
|
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
23
|
[key: string]: any;
|
|
24
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
error(value: Error | string): boolean;
|
|
26
26
|
reset(): boolean;
|
|
27
27
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,8 +30,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: BooleanConstructor;
|
|
31
31
|
};
|
|
32
32
|
}>> & {
|
|
33
|
-
onReset?: () => any;
|
|
34
|
-
onError?: (value: string | Error) => any;
|
|
33
|
+
onReset?: (() => any) | undefined;
|
|
34
|
+
onError?: ((value: string | Error) => any) | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
capture: boolean;
|
|
37
37
|
}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interceptor.d.ts","sourceRoot":"","sources":["../../../../shared/components/error-interceptor/interceptor.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"interceptor.d.ts","sourceRoot":"","sources":["../../../../shared/components/error-interceptor/interceptor.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,KAAK,EAAE,MAAM,KAAK,CAAC;AAE7C,MAAM,WAAW,KAAK;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE;QACL,OAAO,EAAE,CAAC,IAAI,EAAE;YAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,KAAK,EAAE,MAAM,IAAI,CAAA;SAAE,KAAK,KAAK,EAAE,CAAC;KACzE,CAAC;CACH,CAAC;;;;;;;;;iBAUe,KAAK,GAAG,MAAM;;;;;;;;;;;;;AAR/B,wBAwBG"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const LanguageSelector: import("vue").DefineComponent<{
|
|
2
|
-
|
|
2
|
+
title: {
|
|
3
3
|
type: import("vue").PropType<string>;
|
|
4
4
|
required: true;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
value: {
|
|
8
8
|
type: import("vue").PropType<string>;
|
|
9
9
|
required: true;
|
|
10
10
|
default: string;
|
|
@@ -16,15 +16,15 @@ export declare const LanguageSelector: import("vue").DefineComponent<{
|
|
|
16
16
|
clickHandler: (lang: string) => void;
|
|
17
17
|
}[]>;
|
|
18
18
|
required: true;
|
|
19
|
-
default: () =>
|
|
19
|
+
default: () => never[];
|
|
20
20
|
};
|
|
21
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
|
|
22
|
+
title: {
|
|
23
23
|
type: import("vue").PropType<string>;
|
|
24
24
|
required: true;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
value: {
|
|
28
28
|
type: import("vue").PropType<string>;
|
|
29
29
|
required: true;
|
|
30
30
|
default: string;
|
|
@@ -36,11 +36,11 @@ export declare const LanguageSelector: import("vue").DefineComponent<{
|
|
|
36
36
|
clickHandler: (lang: string) => void;
|
|
37
37
|
}[]>;
|
|
38
38
|
required: true;
|
|
39
|
-
default: () =>
|
|
39
|
+
default: () => never[];
|
|
40
40
|
};
|
|
41
41
|
}>>, {
|
|
42
|
-
value: string;
|
|
43
42
|
title: string;
|
|
43
|
+
value: string;
|
|
44
44
|
languageItems: {
|
|
45
45
|
lang: string;
|
|
46
46
|
title: string;
|
|
@@ -10,14 +10,14 @@ export interface Props {
|
|
|
10
10
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
11
|
title: string;
|
|
12
12
|
value: string;
|
|
13
|
-
languageItems: () =>
|
|
13
|
+
languageItems: () => never[];
|
|
14
14
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
15
15
|
title: string;
|
|
16
16
|
value: string;
|
|
17
|
-
languageItems: () =>
|
|
17
|
+
languageItems: () => never[];
|
|
18
18
|
}>>>, {
|
|
19
|
-
value: string;
|
|
20
19
|
title: string;
|
|
20
|
+
value: string;
|
|
21
21
|
languageItems: {
|
|
22
22
|
lang: string;
|
|
23
23
|
title: string;
|