@vc-shell/framework 1.0.120 → 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 +9 -0
- 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 +7866 -7825
- 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 +1 -1
- 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 +321 -17
- 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 +49 -45
- 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 +2 -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 +67 -67
- 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 +24 -36
- 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 +1 -1
- 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-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 +53 -27
- 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 +323 -17
- 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 +2 -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/vc-gallery.vue +6 -7
- package/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue +1 -12
- 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/vc-table.vue +12 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VcField, VcIcon, VcImage, VcInput, VcStatus, VcVideo } from "./../../../../ui/components";
|
|
1
|
+
import { VcField, VcGallery, VcIcon, VcImage, VcInput, VcStatus, VcVideo } from "./../../../../ui/components";
|
|
2
2
|
import { ITableColumns, IValidationRules } from "../../../../core/types";
|
|
3
3
|
import type { ComponentProps } from "vue-component-type-helpers";
|
|
4
4
|
export type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
@@ -34,27 +34,27 @@ export interface SettingsDetails extends SettingsBase {
|
|
|
34
34
|
}
|
|
35
35
|
export interface SettingsBase {
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Blade url
|
|
38
38
|
*/
|
|
39
39
|
url?: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Locale key for VueI18n locale files
|
|
42
42
|
*/
|
|
43
43
|
localizationPrefix: string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Required component id
|
|
46
46
|
*/
|
|
47
47
|
id: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Blade default header title
|
|
50
50
|
*/
|
|
51
51
|
titleTemplate: string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Composable to use at {@link SettingsBase.model } blade component view
|
|
54
54
|
*/
|
|
55
55
|
composable: string;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Toolbar items array
|
|
58
58
|
* @default 'save', 'delete' in {@link SettingsDetails}
|
|
59
59
|
* @default 'refresh', 'add' in {@link SettingsWorkspace}
|
|
60
60
|
*/
|
|
@@ -65,11 +65,11 @@ export interface SettingsBase {
|
|
|
65
65
|
method: string;
|
|
66
66
|
}[];
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Blade component
|
|
69
69
|
*/
|
|
70
70
|
component: string;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Blade permissions
|
|
73
73
|
*/
|
|
74
74
|
permissions?: string | string[];
|
|
75
75
|
pushNotificationType?: string | string[];
|
|
@@ -116,6 +116,8 @@ export interface SchemaBase {
|
|
|
116
116
|
*/
|
|
117
117
|
id: string;
|
|
118
118
|
/** Control label.
|
|
119
|
+
* To show label based on some bound property - use interpolation {} syntax.
|
|
120
|
+
* @example {someProperty}
|
|
119
121
|
* @type {string}
|
|
120
122
|
*/
|
|
121
123
|
label?: string;
|
|
@@ -165,79 +167,350 @@ export interface SchemaBase {
|
|
|
165
167
|
method: string;
|
|
166
168
|
};
|
|
167
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* Select schema interface.
|
|
172
|
+
* @interface
|
|
173
|
+
*/
|
|
168
174
|
export interface SelectSchema extends SchemaBase {
|
|
175
|
+
/**
|
|
176
|
+
* Component type for select.
|
|
177
|
+
* @type {"vc-select"}
|
|
178
|
+
*/
|
|
169
179
|
component: "vc-select";
|
|
180
|
+
/**
|
|
181
|
+
* Property of optionProperty which holds the `value`
|
|
182
|
+
* @default id
|
|
183
|
+
* @type {string}
|
|
184
|
+
*/
|
|
170
185
|
optionValue: string;
|
|
186
|
+
/**
|
|
187
|
+
* Property of optionProperty which holds the `label`
|
|
188
|
+
* @default title
|
|
189
|
+
* @type {string}
|
|
190
|
+
*/
|
|
171
191
|
optionLabel: string;
|
|
192
|
+
/**
|
|
193
|
+
* Method that is used to get select options.
|
|
194
|
+
* @description Method should be defined in the blade `scope`.
|
|
195
|
+
* @type {string}
|
|
196
|
+
*/
|
|
172
197
|
optionsMethod: string;
|
|
198
|
+
/**
|
|
199
|
+
* Name of custom template to display data in select.
|
|
200
|
+
* Component should be registered globally.
|
|
201
|
+
* @type {{component: string}}
|
|
202
|
+
*/
|
|
173
203
|
customTemplate?: {
|
|
174
204
|
component: string;
|
|
175
205
|
};
|
|
206
|
+
/**
|
|
207
|
+
* Whether the select is clearable or not.
|
|
208
|
+
* @type {boolean}
|
|
209
|
+
*/
|
|
176
210
|
clearable?: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* Update model with the value of the selected option instead of the whole option
|
|
213
|
+
* @default true
|
|
214
|
+
* @example true
|
|
215
|
+
* only value will be emitted
|
|
216
|
+
* @example false
|
|
217
|
+
* whole option will be emitted
|
|
218
|
+
* {
|
|
219
|
+
* value: "someValue",
|
|
220
|
+
* label: "someLabel"
|
|
221
|
+
* }
|
|
222
|
+
*/
|
|
177
223
|
emitValue?: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* Whether the select is searchable or not.
|
|
226
|
+
* @type {boolean}
|
|
227
|
+
*/
|
|
178
228
|
searchable?: boolean;
|
|
179
229
|
}
|
|
230
|
+
export interface TextareaSchema extends SchemaBase {
|
|
231
|
+
/**
|
|
232
|
+
* Component type for textarea.
|
|
233
|
+
* @type {"vc-textarea"}
|
|
234
|
+
*/
|
|
235
|
+
component: "vc-textarea";
|
|
236
|
+
/**
|
|
237
|
+
* Whether the textarea is clearable or not.
|
|
238
|
+
* @type {boolean}
|
|
239
|
+
*/
|
|
240
|
+
clearable?: boolean;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Input schema interface.
|
|
244
|
+
* @interface
|
|
245
|
+
*/
|
|
180
246
|
export interface InputSchema extends SchemaBase {
|
|
247
|
+
/**
|
|
248
|
+
* Component type for input.
|
|
249
|
+
* @type {"vc-input"}
|
|
250
|
+
*/
|
|
181
251
|
component: "vc-input";
|
|
252
|
+
/**
|
|
253
|
+
* Input type.
|
|
254
|
+
* @type {"number" | "text" | "password" | "email" | "tel" | "url" | "time" | "date" | "datetime-local"}
|
|
255
|
+
*/
|
|
182
256
|
variant?: ComponentProps<typeof VcInput>["type"];
|
|
257
|
+
/**
|
|
258
|
+
* Whether the input is clearable or not.
|
|
259
|
+
* @type {boolean}
|
|
260
|
+
*/
|
|
183
261
|
clearable?: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* Schema of component to be displayed before the input.
|
|
264
|
+
* @type {ControlSchema}
|
|
265
|
+
*/
|
|
184
266
|
prepend?: ControlSchema;
|
|
267
|
+
/**
|
|
268
|
+
* Schema of component to be displayed after the input
|
|
269
|
+
* @type {ControlSchema}
|
|
270
|
+
*/
|
|
185
271
|
append?: ControlSchema;
|
|
272
|
+
/**
|
|
273
|
+
* Schema of component to be displayed inside the input after the value.
|
|
274
|
+
* @type {ControlSchema}
|
|
275
|
+
*/
|
|
186
276
|
appendInner?: ControlSchema;
|
|
277
|
+
/**
|
|
278
|
+
* Schema of component to be displayed inside the input before the value.
|
|
279
|
+
* @type {ControlSchema}
|
|
280
|
+
*/
|
|
187
281
|
prependInner?: ControlSchema;
|
|
188
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* Video schema interface.
|
|
285
|
+
* @interface
|
|
286
|
+
*/
|
|
189
287
|
export interface VideoSchema extends Pick<SchemaBase, "id" | "property" | "label" | "visibility" | "tooltip" | "update"> {
|
|
288
|
+
/**
|
|
289
|
+
* Component type for video.
|
|
290
|
+
* @type {"vc-video"}
|
|
291
|
+
*/
|
|
190
292
|
component: "vc-video";
|
|
293
|
+
/**
|
|
294
|
+
* Video size.
|
|
295
|
+
* @type {"auto" | "xs" | "s" | "m" | "l" | "xl" | "xxl"}
|
|
296
|
+
*/
|
|
191
297
|
size?: ComponentProps<typeof VcVideo>["size"];
|
|
192
|
-
rounded?: boolean;
|
|
193
|
-
bordered?: boolean;
|
|
194
|
-
clickable?: boolean;
|
|
195
298
|
}
|
|
299
|
+
/**
|
|
300
|
+
* Data field schema interface.
|
|
301
|
+
* @interface
|
|
302
|
+
*/
|
|
196
303
|
export interface FieldSchema extends Pick<SchemaBase, "id" | "property" | "label" | "visibility" | "tooltip"> {
|
|
304
|
+
/**
|
|
305
|
+
* Component type for field.
|
|
306
|
+
* @type {"vc-field"}
|
|
307
|
+
*/
|
|
197
308
|
component: "vc-field";
|
|
309
|
+
/**
|
|
310
|
+
* Field variant.
|
|
311
|
+
* @type {"text" | "normal" | "date" | "date-ago" | "link"}
|
|
312
|
+
*/
|
|
198
313
|
variant?: ComponentProps<typeof VcField>["type"];
|
|
314
|
+
/**
|
|
315
|
+
* Whether the field is copyable or not.
|
|
316
|
+
* @type {boolean}
|
|
317
|
+
*/
|
|
199
318
|
copyable?: boolean;
|
|
200
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
* Image schema interface.
|
|
322
|
+
* @interface
|
|
323
|
+
*/
|
|
201
324
|
export interface ImageSchema extends Pick<SchemaBase, "id" | "property" | "visibility" | "update"> {
|
|
325
|
+
/**
|
|
326
|
+
* Component type for image.
|
|
327
|
+
* @type {"vc-image"}
|
|
328
|
+
*/
|
|
202
329
|
component: "vc-image";
|
|
330
|
+
/**
|
|
331
|
+
* Image aspect ratio.
|
|
332
|
+
* @type {"1x1" | "16x9" | "4x3" | "3x2"}
|
|
333
|
+
*/
|
|
203
334
|
aspect?: ComponentProps<typeof VcImage>["aspect"];
|
|
335
|
+
/**
|
|
336
|
+
* Image size.
|
|
337
|
+
* @type {"auto" | "xs" | "s" | "m" | "l" | "xl" | "xxl"}
|
|
338
|
+
*/
|
|
204
339
|
size?: ComponentProps<typeof VcImage>["size"];
|
|
340
|
+
/**
|
|
341
|
+
* Size of the element's background image. Accepts auto, cover, contain CSS background-size value.
|
|
342
|
+
* @type {"auto" | "contain" | "cover"}
|
|
343
|
+
*/
|
|
205
344
|
background?: ComponentProps<typeof VcImage>["background"];
|
|
345
|
+
/**
|
|
346
|
+
* Whether the image is rounded or not.
|
|
347
|
+
* @type {boolean}
|
|
348
|
+
*/
|
|
206
349
|
rounded?: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Whether the image is bordered or not.
|
|
352
|
+
* @type {boolean}
|
|
353
|
+
*/
|
|
207
354
|
bordered?: boolean;
|
|
355
|
+
/**
|
|
356
|
+
* Whether the image has preview on click or not.
|
|
357
|
+
* @type {boolean}
|
|
358
|
+
*/
|
|
208
359
|
clickable?: boolean;
|
|
209
360
|
}
|
|
361
|
+
/**
|
|
362
|
+
* Status schema interface.
|
|
363
|
+
* @interface
|
|
364
|
+
*/
|
|
210
365
|
export interface StatusSchema extends Pick<SchemaBase, "id" | "visibility"> {
|
|
366
|
+
/**
|
|
367
|
+
* Component type for status.
|
|
368
|
+
* @type {"vc-status"}
|
|
369
|
+
*/
|
|
211
370
|
component: "vc-status";
|
|
371
|
+
/**
|
|
372
|
+
* Whether the status is outlined or not.
|
|
373
|
+
* @type {boolean}
|
|
374
|
+
*/
|
|
212
375
|
outline?: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Whether the status is extendable or not.
|
|
378
|
+
* @type {boolean}
|
|
379
|
+
*/
|
|
213
380
|
extend?: boolean;
|
|
381
|
+
/**
|
|
382
|
+
* Status variant.
|
|
383
|
+
* @type {"info" | "warning" | "danger" | "success" | "light-danger"}
|
|
384
|
+
*/
|
|
214
385
|
variant?: ComponentProps<typeof VcStatus>["variant"];
|
|
386
|
+
/**
|
|
387
|
+
* Status icon.
|
|
388
|
+
* @type {string}
|
|
389
|
+
*/
|
|
215
390
|
icon?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Status icon size.
|
|
393
|
+
* @type {"xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl"}
|
|
394
|
+
*/
|
|
216
395
|
iconSize?: ComponentProps<typeof VcIcon>["size"];
|
|
396
|
+
/**
|
|
397
|
+
* Status icon variant.
|
|
398
|
+
* @type {"warning" | "danger" | "success"}
|
|
399
|
+
*/
|
|
217
400
|
iconVariant?: ComponentProps<typeof VcIcon>["variant"];
|
|
401
|
+
/**
|
|
402
|
+
* Status title.
|
|
403
|
+
* @type {string}
|
|
404
|
+
*/
|
|
218
405
|
title?: string;
|
|
406
|
+
/**
|
|
407
|
+
* Method to call to get status content.
|
|
408
|
+
* @description Method should be defined in the blade `scope`.
|
|
409
|
+
* @type {{ method: string }}
|
|
410
|
+
*/
|
|
219
411
|
content: {
|
|
220
412
|
method: string;
|
|
221
413
|
};
|
|
222
414
|
}
|
|
415
|
+
/**
|
|
416
|
+
* Input-currency schema interface.
|
|
417
|
+
* @interface
|
|
418
|
+
*/
|
|
223
419
|
export interface InputCurrencySchema extends Omit<SchemaBase, "multilanguage"> {
|
|
420
|
+
/**
|
|
421
|
+
* Component type for input-currency.
|
|
422
|
+
* @type {"vc-input-currency"}
|
|
423
|
+
*/
|
|
224
424
|
component: "vc-input-currency";
|
|
425
|
+
/**
|
|
426
|
+
* Property that holds available currency options.
|
|
427
|
+
* @type {string}
|
|
428
|
+
*/
|
|
225
429
|
optionProperty: string;
|
|
430
|
+
/**
|
|
431
|
+
* Property of optionProperty which holds the `value`
|
|
432
|
+
* @default id
|
|
433
|
+
* @type {string}
|
|
434
|
+
*/
|
|
226
435
|
optionValue?: string;
|
|
436
|
+
/**
|
|
437
|
+
* Property of optionProperty which holds the `label`
|
|
438
|
+
* @default title
|
|
439
|
+
* @type {string}
|
|
440
|
+
*/
|
|
227
441
|
optionLabel?: string;
|
|
442
|
+
/**
|
|
443
|
+
* Whether the input-currency is clearable or not.
|
|
444
|
+
* @type {boolean}
|
|
445
|
+
*/
|
|
228
446
|
clearable?: boolean;
|
|
229
447
|
}
|
|
448
|
+
/**
|
|
449
|
+
* Editor schema interface.
|
|
450
|
+
* @interface
|
|
451
|
+
*/
|
|
230
452
|
export interface EditorSchema extends SchemaBase {
|
|
453
|
+
/**
|
|
454
|
+
* Component type for editor.
|
|
455
|
+
* @type {"vc-editor"}
|
|
456
|
+
*/
|
|
231
457
|
component: "vc-editor";
|
|
232
458
|
}
|
|
233
|
-
|
|
459
|
+
/**
|
|
460
|
+
* Interface for dynamic properties schema.
|
|
461
|
+
* @interface
|
|
462
|
+
*/
|
|
463
|
+
export interface DynamicPropertiesSchema extends Pick<SchemaBase, "id" | "disabled" | "property" | "visibility"> {
|
|
464
|
+
/**
|
|
465
|
+
* The component type for dynamic properties.
|
|
466
|
+
* @type {"vc-dynamic-properties"}
|
|
467
|
+
*/
|
|
234
468
|
component: "vc-dynamic-properties";
|
|
469
|
+
/**
|
|
470
|
+
* An array of property names to exclude from the dynamic properties schema.
|
|
471
|
+
* @type {string[]}
|
|
472
|
+
*/
|
|
235
473
|
exclude?: string[];
|
|
474
|
+
/**
|
|
475
|
+
* An array of property names to include in the dynamic properties schema.
|
|
476
|
+
* @type {string[]}
|
|
477
|
+
*/
|
|
236
478
|
include?: string[];
|
|
237
479
|
}
|
|
480
|
+
/**
|
|
481
|
+
* Gallery schema interface.
|
|
482
|
+
* @interface
|
|
483
|
+
*/
|
|
238
484
|
export interface GallerySchema extends Omit<SchemaBase, "placeholder" | "multilanguage"> {
|
|
485
|
+
/**
|
|
486
|
+
* Component type for the gallery.
|
|
487
|
+
* @type {"vc-gallery"}
|
|
488
|
+
*/
|
|
239
489
|
component: "vc-gallery";
|
|
490
|
+
/**
|
|
491
|
+
* Folder name for files upload.
|
|
492
|
+
* @type {string}
|
|
493
|
+
*/
|
|
240
494
|
uploadFolder: string;
|
|
495
|
+
/**
|
|
496
|
+
* Gallery type
|
|
497
|
+
* @type {"gallery" | "file-upload"}
|
|
498
|
+
*/
|
|
499
|
+
variant?: ComponentProps<typeof VcGallery>["variant"];
|
|
500
|
+
/**
|
|
501
|
+
* Whether the gallery has multiple files upload or not.
|
|
502
|
+
* @type {boolean}
|
|
503
|
+
*/
|
|
504
|
+
multiple?: boolean;
|
|
505
|
+
/**
|
|
506
|
+
* Gallery item button actions on hover.
|
|
507
|
+
* @type {{
|
|
508
|
+
preview: boolean;
|
|
509
|
+
edit: boolean;
|
|
510
|
+
remove: boolean;
|
|
511
|
+
}}
|
|
512
|
+
*/
|
|
513
|
+
actions?: ComponentProps<typeof VcGallery>["itemActions"];
|
|
241
514
|
}
|
|
242
515
|
/**
|
|
243
516
|
* Interface for a card schema.
|
|
@@ -271,17 +544,48 @@ export interface WidgetsSchema extends Pick<SchemaBase, "id"> {
|
|
|
271
544
|
component: "vc-widgets";
|
|
272
545
|
children: string[];
|
|
273
546
|
}
|
|
274
|
-
export interface CheckboxSchema extends Omit<SchemaBase, "multilanguage"> {
|
|
547
|
+
export interface CheckboxSchema extends Omit<SchemaBase, "multilanguage" | "placeholder"> {
|
|
275
548
|
component: "vc-checkbox";
|
|
276
549
|
content: string;
|
|
277
550
|
trueValue?: boolean;
|
|
278
551
|
falseValue?: boolean;
|
|
279
552
|
}
|
|
553
|
+
/**
|
|
554
|
+
* Fieldset schema interface.
|
|
555
|
+
* @interface
|
|
556
|
+
*/
|
|
280
557
|
export interface FieldsetSchema extends PartialBy<Pick<SchemaBase, "id" | "property" | "visibility">, "property"> {
|
|
558
|
+
/**
|
|
559
|
+
* Component type for the fieldset.
|
|
560
|
+
* @type {"vc-fieldset"}
|
|
561
|
+
*/
|
|
281
562
|
component: "vc-fieldset";
|
|
563
|
+
/**
|
|
564
|
+
* Number of columns to display the fields in.
|
|
565
|
+
* @type {number}
|
|
566
|
+
*/
|
|
282
567
|
columns?: number;
|
|
568
|
+
/**
|
|
569
|
+
* Array of numbers that define the aspect ratio of each column.
|
|
570
|
+
* @example Set to [1, 1] to make all columns equal width.
|
|
571
|
+
* @description Uses CSS flex-grow property.
|
|
572
|
+
* @type {number[]}
|
|
573
|
+
*/
|
|
283
574
|
aspectRatio?: number[];
|
|
284
|
-
|
|
575
|
+
/**
|
|
576
|
+
* Array of control schemas to be displayed in the fieldset.
|
|
577
|
+
* @type {ControlSchema[]}
|
|
578
|
+
*/
|
|
579
|
+
fields: ControlSchema[];
|
|
580
|
+
/**
|
|
581
|
+
* Method to call to remove field from the fieldset. When set - activates remove button.
|
|
582
|
+
*
|
|
583
|
+
* Used for property-based fieldsets.
|
|
584
|
+
*
|
|
585
|
+
* Allows to remove selected fieldset.
|
|
586
|
+
* @description Method should be defined in the blade `scope`.
|
|
587
|
+
* @type {{ method: string }}
|
|
588
|
+
*/
|
|
285
589
|
remove?: {
|
|
286
590
|
method: string;
|
|
287
591
|
};
|
|
@@ -325,9 +629,9 @@ export interface ButtonSchema extends Pick<SchemaBase, "id" | "disabled" | "visi
|
|
|
325
629
|
* @description Method should be defined in the blade `scope`.
|
|
326
630
|
* @type {string}
|
|
327
631
|
*/
|
|
328
|
-
method
|
|
632
|
+
method: string;
|
|
329
633
|
}
|
|
330
|
-
export type ControlSchema = SelectSchema | InputSchema | EditorSchema | DynamicPropertiesSchema | GallerySchema | CardSchema | WidgetsSchema | CheckboxSchema | FieldsetSchema | ButtonSchema | InputCurrencySchema | StatusSchema | FieldSchema | VideoSchema | ImageSchema;
|
|
634
|
+
export type ControlSchema = SelectSchema | InputSchema | EditorSchema | DynamicPropertiesSchema | GallerySchema | CardSchema | WidgetsSchema | CheckboxSchema | FieldsetSchema | ButtonSchema | InputCurrencySchema | StatusSchema | FieldSchema | VideoSchema | ImageSchema | TextareaSchema;
|
|
331
635
|
export interface FilterBase {
|
|
332
636
|
columns: {
|
|
333
637
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACxH,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAiC,MAAM,4BAA4B,CAAC;AAEhG,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AAE3D,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AACrE,KAAK,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACxE,KAAK,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CA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ency, VcSelect, VcStatus, VcVideo } from "../../../../ui/components";
|
|
2
|
+
import { VcButton, VcCard, VcCheckbox, VcDynamicProperty, VcEditor, VcField, VcGallery, VcImage, VcInput, VcInputCurrency, VcSelect, VcStatus, VcVideo, VcTextarea } from "../../../../ui/components";
|
|
3
3
|
import type { ComponentProps, ComponentEmit, ComponentSlots } from "vue-component-type-helpers";
|
|
4
4
|
type FromGenericEventsToProps<T extends Record<string, any>> = T extends Record<string, any> ? {
|
|
5
5
|
[K in string & `on${Capitalize<string & keyof T>}`]?: K extends `on${infer C}` ? (...args: T[Uncapitalize<C>]) => any : never;
|
|
@@ -13,7 +13,7 @@ export type ComponentType<T> = Raw<T>;
|
|
|
13
13
|
export type FormFields = {
|
|
14
14
|
[key: string]: ControlType & IFieldset;
|
|
15
15
|
};
|
|
16
|
-
export type ControlType = ISelectField | IInputField | ICardCollection | IEditorField | IGallery | IDynamicProperties | ICheckbox | IButton | IInputCurrency | IStatusField | IContentField | IImageField;
|
|
16
|
+
export type ControlType = ISelectField | IInputField | ICardCollection | IEditorField | IGallery | IDynamicProperties | ICheckbox | IButton | IInputCurrency | IStatusField | IContentField | IImageField | ITextareaField | IVideoField;
|
|
17
17
|
export type ControlTypeWithSlots = Extract<ControlType, ISelectField | ICardCollection | ICheckbox | IButton | IStatusField>;
|
|
18
18
|
export type ControlTypeCtr = Extract<ControlType, ISelectField | IInputField | IInputCurrency | IEditorField>;
|
|
19
19
|
export interface IControlBaseProps {
|
|
@@ -34,7 +34,7 @@ export type WithRequiredProperty<Type, Key extends keyof Type> = Type & {
|
|
|
34
34
|
[Property in Key]-?: Type[Property];
|
|
35
35
|
};
|
|
36
36
|
export interface IControlBaseOptions {
|
|
37
|
-
visibility?: ComputedRef<boolean>;
|
|
37
|
+
visibility?: ComputedRef<boolean | undefined>;
|
|
38
38
|
}
|
|
39
39
|
export type ISelectField = {
|
|
40
40
|
props: ComponentProps<typeof VcSelect> | IControlBaseProps;
|
|
@@ -104,5 +104,9 @@ export type IFieldset = {
|
|
|
104
104
|
};
|
|
105
105
|
fields?: ControlType[];
|
|
106
106
|
};
|
|
107
|
+
export type ITextareaField = {
|
|
108
|
+
props: ComponentProps<typeof VcTextarea> | IControlBaseProps;
|
|
109
|
+
options: IControlBaseOptions;
|
|
110
|
+
} & FieldOpts<typeof VcTextarea>;
|
|
107
111
|
export {};
|
|
108
112
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/types/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/types/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAElD,OAAO,EACL,QAAQ,EACR,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,OAAO,EACP,SAAS,EACT,OAAO,EACP,OAAO,EACP,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,UAAU,EACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEhG,KAAK,wBAAwB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACxF;KACG,CAAC,IAAI,MAAM,GAAG,KAAK,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,SAAS,KAAK,MAAM,CAAC,EAAE,GAC1E,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,GACpC,KAAK;CACV,GACD,KAAK,CAAC;AA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AS,CAAC,CAAC,CAAC;CACnE,GAAG,SAAS,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/B,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG,iBAAiB,CAAC;IAC7D,OAAO,EAAE,mBAAmB,CAAC;CAC9B,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -1,33 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
userId:
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: any;
|
|
5
|
-
};
|
|
6
|
-
userName: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: any;
|
|
9
|
-
};
|
|
10
|
-
token: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: any;
|
|
13
|
-
};
|
|
14
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
userId: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: any;
|
|
18
|
-
};
|
|
19
|
-
userName: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: any;
|
|
22
|
-
};
|
|
23
|
-
token: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: any;
|
|
26
|
-
};
|
|
27
|
-
}>>, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
userId: string;
|
|
28
3
|
userName: string;
|
|
29
4
|
token: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
6
|
userId: string;
|
|
31
|
-
|
|
7
|
+
userName: string;
|
|
8
|
+
token: string;
|
|
9
|
+
}>>>, {}, {}>;
|
|
32
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
33
20
|
//# sourceMappingURL=Invite.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invite.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/pages/InvitePage/components/invite/Invite.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Invite.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/pages/InvitePage/components/invite/Invite.vue.ts"],"names":[],"mappings":";YAoUU,MAAM;cACJ,MAAM;WACT,MAAM;;YAFL,MAAM;cACJ,MAAM;WACT,MAAM;;AAJf,wBAUG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|