@vc-shell/framework 1.0.128 → 1.0.130
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 +38 -0
- package/core/api/platform.ts +514 -92
- package/core/composables/index.ts +2 -1
- package/core/composables/useApiClient/index.ts +1 -7
- package/core/composables/useAssets/index.ts +0 -6
- package/core/composables/useBeforeUnload/index.ts +20 -0
- package/core/composables/useMenuService/index.ts +96 -0
- package/core/composables/useNotifications/index.ts +29 -40
- package/core/composables/useSettings/index.ts +23 -29
- package/core/composables/useUser/index.ts +61 -132
- package/core/directives/loading/styles.css +5 -5
- package/core/interceptors/index.ts +75 -0
- package/core/plugins/i18n/index.ts +1 -0
- package/core/plugins/modularity/index.ts +63 -20
- package/core/plugins/moment/moment.ts +2 -2
- package/core/plugins/signalR/index.ts +23 -3
- package/core/types/index.ts +18 -35
- package/core/utilities/kebabToCamel.ts +1 -1
- package/dist/core/api/platform.d.ts +125 -87
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/composables/index.d.ts +2 -1
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useApiClient/index.d.ts.map +1 -1
- package/dist/core/composables/useAssets/index.d.ts.map +1 -1
- package/dist/core/composables/useBeforeUnload/index.d.ts +5 -0
- package/dist/core/composables/useBeforeUnload/index.d.ts.map +1 -0
- package/dist/core/composables/useMenuService/index.d.ts +16 -0
- package/dist/core/composables/useMenuService/index.d.ts.map +1 -0
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts +2 -2
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +8 -6
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts +3 -0
- package/dist/core/interceptors/index.d.ts.map +1 -0
- package/dist/core/plugins/i18n/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/moment/moment.d.ts.map +1 -1
- package/dist/core/plugins/signalR/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +16 -29
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/{framework.mjs → framework.js} +32147 -32235
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts +1 -19
- package/dist/shared/components/app-switcher/components/vc-app-switcher/index.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +3 -0
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +1 -70
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +1 -82
- 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/components/vc-blade-view/vc-blade-view.d.ts +28 -0
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +11 -27
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/injectionKeys.d.ts +4 -0
- package/dist/shared/components/blade-navigation/injectionKeys.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/plugin.d.ts +4 -1
- package/dist/shared/components/blade-navigation/plugin.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +48 -35
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/error-interceptor/index.d.ts +33 -67
- package/dist/shared/components/error-interceptor/index.d.ts.map +1 -1
- package/dist/shared/components/index.d.ts +2 -0
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/components/language-selector/index.d.ts +1 -49
- package/dist/shared/components/language-selector/index.d.ts.map +1 -1
- package/dist/shared/components/language-selector/language-selector.vue.d.ts +1 -40
- package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -1
- package/dist/{ui/components/organisms/vc-notification-dropdown → shared/components/notification-dropdown}/_internal/notification/notification.vue.d.ts +2 -2
- package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -0
- package/dist/shared/components/notification-dropdown/index.d.ts +7 -0
- package/dist/shared/components/notification-dropdown/index.d.ts.map +1 -0
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts +3 -0
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -0
- package/dist/shared/components/notification-template/index.d.ts +91 -0
- package/dist/shared/components/notification-template/index.d.ts.map +1 -0
- package/dist/{ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts → shared/components/notification-template/notification-template.vue.d.ts} +2 -2
- package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -0
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/index.d.ts +10 -16
- package/dist/shared/components/user-dropdown-button/index.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +7 -4
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/index.d.ts +4 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +3 -0
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +3 -0
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts +3 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/index.d.ts +1 -3
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +12 -10
- 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 +5 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +16 -1
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.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.map +1 -1
- package/dist/shared/utilities/vueUtils.d.ts.map +1 -1
- package/dist/tailwind.config.d.ts +56 -0
- package/dist/tailwind.config.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/index.d.ts +32 -67
- package/dist/ui/components/atoms/vc-badge/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +6 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/index.d.ts +66 -102
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +7 -0
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +7 -1
- package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +91 -129
- 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 +7 -1
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +6 -1
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/index.d.ts +36 -71
- package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/index.d.ts +8 -38
- package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +3 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +3 -0
- package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-info-row/vc-info-row.vue.d.ts +3 -0
- package/dist/ui/components/atoms/vc-info-row/vc-info-row.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/index.d.ts +42 -74
- package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +7 -1
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/index.d.ts +32 -66
- package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts +30 -63
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +3 -0
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +3 -1
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +6 -1
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +3 -0
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +3 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-code-editor/index.d.ts +59 -98
- 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 +1 -0
- 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 +4 -1
- 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.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +3 -0
- 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 +67 -105
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +3 -0
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-form/index.d.ts +8 -38
- package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +56 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts +159 -214
- 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 +3 -0
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +27 -9
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +3 -0
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/index.d.ts +59 -96
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +3 -0
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +257 -8
- 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 +55 -91
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +3 -0
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +6 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/index.d.ts +0 -2
- package/dist/ui/components/organisms/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +2 -4
- 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 +10 -7
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +10 -18
- 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 +16 -16
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/index.d.ts +1 -292
- 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 +17 -56
- 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.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +3 -0
- 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 +3 -0
- 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 +89 -131
- package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +21 -18
- 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 +4 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +4 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -0
- 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 +32 -66
- package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +3 -0
- 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/vc-table.vue.d.ts +57 -6
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/dist/ui/types/index.d.ts +5 -45
- package/dist/ui/types/index.d.ts.map +1 -1
- package/package.json +26 -30
- package/shared/components/app-switcher/components/vc-app-switcher/index.ts +1 -3
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +2 -2
- package/shared/components/blade-navigation/components/vc-blade-navigation/index.ts +1 -3
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +46 -157
- package/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.ts +81 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +323 -261
- package/shared/components/blade-navigation/injectionKeys.ts +4 -0
- package/shared/components/blade-navigation/plugin.ts +8 -10
- package/shared/components/blade-navigation/types/index.ts +53 -44
- package/shared/components/index.ts +2 -0
- package/shared/components/language-selector/language-selector.vue +12 -12
- package/{ui/components/organisms/vc-notification-dropdown → shared/components/notification-dropdown}/_internal/notification/notification.vue +6 -5
- package/shared/components/notification-dropdown/index.ts +10 -0
- package/{ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue → shared/components/notification-dropdown/notification-dropdown.vue} +21 -17
- package/shared/components/notification-template/index.ts +10 -0
- package/{ui/components/organisms/vc-notification-template/vc-notification-template.vue → shared/components/notification-template/notification-template.vue} +2 -2
- package/shared/components/popup-handler/composables/usePopup/index.ts +29 -9
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +58 -17
- package/shared/index.ts +3 -2
- package/shared/locales/en.json +7 -0
- package/shared/modules/assets/components/assets-details/assets-details.vue +5 -0
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +8 -5
- package/shared/modules/dynamic/components/fields/GalleryField.ts +7 -7
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +2 -1
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +42 -36
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +5 -3
- package/shared/modules/dynamic/factories/types/index.ts +6 -2
- package/shared/modules/dynamic/helpers/override.ts +38 -32
- package/shared/modules/dynamic/helpers/safeIn.ts +1 -1
- package/shared/modules/dynamic/index.ts +12 -12
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +96 -57
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +133 -118
- package/shared/modules/dynamic/types/index.ts +16 -1
- package/shared/pages/InvitePage/components/invite/Invite.vue +2 -2
- package/shared/pages/LoginPage/components/login/Login.vue +23 -16
- package/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue +3 -3
- package/shared/utilities/vueUtils.ts +7 -7
- package/tailwind.config.ts +50 -0
- package/ui/components/atoms/vc-button/vc-button.vue +1 -1
- package/ui/components/atoms/vc-card/vc-card.stories.ts +25 -0
- package/ui/components/atoms/vc-card/vc-card.vue +1 -1
- package/ui/components/atoms/vc-container/vc-container.vue +1 -1
- package/ui/components/atoms/vc-icon/vc-icon.vue +1 -1
- package/ui/components/molecules/vc-editor/vc-editor.vue +2 -7
- package/ui/components/molecules/vc-notification/vc-notification.vue +2 -2
- package/ui/components/molecules/vc-select/vc-select.vue +13 -13
- package/ui/components/organisms/index.ts +0 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +25 -42
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +123 -25
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +11 -103
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +34 -52
- package/ui/components/organisms/vc-app/index.ts +1 -12
- package/ui/components/organisms/vc-app/vc-app.stories.ts +36 -36
- package/ui/components/organisms/vc-app/vc-app.vue +122 -61
- package/ui/components/organisms/vc-blade/vc-blade.vue +5 -13
- package/ui/components/organisms/vc-table/vc-table.vue +9 -9
- package/ui/locales/en.json +2 -4
- package/ui/types/index.ts +7 -51
- package/core/composables/useMenuComposer/index.ts +0 -25
- package/dist/core/composables/useMenuComposer/index.d.ts +0 -12
- package/dist/core/composables/useMenuComposer/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/_internal/notification/notification.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/index.d.ts +0 -38
- package/dist/ui/components/organisms/vc-notification-dropdown/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts +0 -21
- package/dist/ui/components/organisms/vc-notification-dropdown/vc-notification-dropdown.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-notification-template/index.d.ts +0 -2
- package/dist/ui/components/organisms/vc-notification-template/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-notification-template/vc-notification-template.vue.d.ts.map +0 -1
- package/dist/utils/isInDemoMode.d.ts +0 -2
- package/dist/utils/isInDemoMode.d.ts.map +0 -1
- package/dist/vite.config.d.ts +0 -3
- package/dist/vite.config.d.ts.map +0 -1
- package/tailwind.config.js +0 -50
- package/ui/components/organisms/vc-notification-dropdown/index.ts +0 -3
- package/ui/components/organisms/vc-notification-template/index.ts +0 -1
package/core/api/platform.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v13.
|
|
3
|
+
// Generated using the NSwag toolchain v13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
|
|
@@ -304,7 +304,6 @@ export class AppsClient extends AuthApiBase {
|
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
|
-
* Gets the list of available apps, filtered by user permissions.
|
|
308
307
|
* @return Success
|
|
309
308
|
*/
|
|
310
309
|
getApps(): Promise<AppDescriptor[]> {
|
|
@@ -366,7 +365,6 @@ export class ChangeLogClient extends AuthApiBase {
|
|
|
366
365
|
}
|
|
367
366
|
|
|
368
367
|
/**
|
|
369
|
-
* Force set changes last modified date
|
|
370
368
|
* @param scope (optional)
|
|
371
369
|
* @return Success
|
|
372
370
|
*/
|
|
@@ -464,11 +462,9 @@ export class ChangeLogClient extends AuthApiBase {
|
|
|
464
462
|
}
|
|
465
463
|
|
|
466
464
|
/**
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
* @return Success
|
|
471
|
-
*/
|
|
465
|
+
* @param scope (optional)
|
|
466
|
+
* @return Success
|
|
467
|
+
*/
|
|
472
468
|
getLastModifiedDate(scope?: string | undefined): Promise<LastModifiedResponse> {
|
|
473
469
|
let url_ = this.baseUrl + "/api/changes/lastmodifieddate?";
|
|
474
470
|
if (scope === null) throw new Error("The parameter 'scope' cannot be null.");
|
|
@@ -801,7 +797,6 @@ export class DiagnosticsClient extends AuthApiBase {
|
|
|
801
797
|
}
|
|
802
798
|
|
|
803
799
|
/**
|
|
804
|
-
* Get installed modules with errors
|
|
805
800
|
* @return Success
|
|
806
801
|
*/
|
|
807
802
|
getModulesErrors(): Promise<ModuleDescriptor[]> {
|
|
@@ -863,7 +858,6 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
863
858
|
}
|
|
864
859
|
|
|
865
860
|
/**
|
|
866
|
-
* Get object types which support dynamic properties
|
|
867
861
|
* @return Success
|
|
868
862
|
*/
|
|
869
863
|
getObjectTypes(): Promise<string[]> {
|
|
@@ -921,7 +915,6 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
921
915
|
}
|
|
922
916
|
|
|
923
917
|
/**
|
|
924
|
-
* Get dynamic properties registered for object type
|
|
925
918
|
* @param body (optional)
|
|
926
919
|
* @return Success
|
|
927
920
|
*/
|
|
@@ -979,7 +972,6 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
979
972
|
}
|
|
980
973
|
|
|
981
974
|
/**
|
|
982
|
-
* Add new dynamic property
|
|
983
975
|
* @param body (optional)
|
|
984
976
|
* @return Success
|
|
985
977
|
*/
|
|
@@ -1037,7 +1029,6 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
1037
1029
|
}
|
|
1038
1030
|
|
|
1039
1031
|
/**
|
|
1040
|
-
* Update existing dynamic property
|
|
1041
1032
|
* @param body (optional)
|
|
1042
1033
|
* @return Success
|
|
1043
1034
|
*/
|
|
@@ -1091,7 +1082,6 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
1091
1082
|
}
|
|
1092
1083
|
|
|
1093
1084
|
/**
|
|
1094
|
-
* Delete dynamic property
|
|
1095
1085
|
* @param propertyIds (optional)
|
|
1096
1086
|
* @return Success
|
|
1097
1087
|
*/
|
|
@@ -1146,7 +1136,6 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
1146
1136
|
}
|
|
1147
1137
|
|
|
1148
1138
|
/**
|
|
1149
|
-
* Does nothing. Just a way to expose DynamicObjectProperty thru Swagger.
|
|
1150
1139
|
* @return Success
|
|
1151
1140
|
*/
|
|
1152
1141
|
exposeDynamicObjectProperty(): Promise<DynamicObjectProperty> {
|
|
@@ -1203,12 +1192,11 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
1203
1192
|
}
|
|
1204
1193
|
|
|
1205
1194
|
/**
|
|
1206
|
-
* Get dictionary items
|
|
1207
1195
|
* @param body (optional)
|
|
1208
1196
|
* @return Success
|
|
1209
1197
|
*/
|
|
1210
1198
|
searchDictionaryItems(
|
|
1211
|
-
body?: DynamicPropertyDictionaryItemSearchCriteria | undefined
|
|
1199
|
+
body?: DynamicPropertyDictionaryItemSearchCriteria | undefined,
|
|
1212
1200
|
): Promise<DynamicPropertyDictionaryItemSearchResult> {
|
|
1213
1201
|
let url_ = this.baseUrl + "/api/platform/dynamic/dictionaryitems/search";
|
|
1214
1202
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -1263,7 +1251,6 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
1263
1251
|
}
|
|
1264
1252
|
|
|
1265
1253
|
/**
|
|
1266
|
-
* Add or update dictionary items
|
|
1267
1254
|
* @param body (optional)
|
|
1268
1255
|
* @return Success
|
|
1269
1256
|
*/
|
|
@@ -1317,8 +1304,7 @@ export class DynamicPropertiesClient extends AuthApiBase {
|
|
|
1317
1304
|
}
|
|
1318
1305
|
|
|
1319
1306
|
/**
|
|
1320
|
-
*
|
|
1321
|
-
* @param ids (optional) IDs of dictionary items to delete.
|
|
1307
|
+
* @param ids (optional)
|
|
1322
1308
|
* @return Success
|
|
1323
1309
|
*/
|
|
1324
1310
|
deleteDictionaryItem(ids?: string[] | undefined): Promise<void> {
|
|
@@ -1384,8 +1370,6 @@ export class JobsClient extends AuthApiBase {
|
|
|
1384
1370
|
}
|
|
1385
1371
|
|
|
1386
1372
|
/**
|
|
1387
|
-
* Get background job status
|
|
1388
|
-
* @param id Job ID.
|
|
1389
1373
|
* @return Success
|
|
1390
1374
|
*/
|
|
1391
1375
|
getStatus(id: string): Promise<Job> {
|
|
@@ -1440,6 +1424,242 @@ export class JobsClient extends AuthApiBase {
|
|
|
1440
1424
|
}
|
|
1441
1425
|
}
|
|
1442
1426
|
|
|
1427
|
+
export class LocalizableSettingsClient extends AuthApiBase {
|
|
1428
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
1429
|
+
private baseUrl: string;
|
|
1430
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
|
|
1431
|
+
|
|
1432
|
+
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
1433
|
+
super();
|
|
1434
|
+
this.http = http ? http : (window as any);
|
|
1435
|
+
this.baseUrl = this.getBaseUrl("", baseUrl);
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* @return Success
|
|
1440
|
+
*/
|
|
1441
|
+
getSettingsAndLanguages(): Promise<LocalizableSettingsAndLanguages> {
|
|
1442
|
+
let url_ = this.baseUrl + "/api/platform/localizable-settings";
|
|
1443
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1444
|
+
|
|
1445
|
+
let options_: RequestInit = {
|
|
1446
|
+
method: "GET",
|
|
1447
|
+
headers: {
|
|
1448
|
+
Accept: "text/plain",
|
|
1449
|
+
},
|
|
1450
|
+
};
|
|
1451
|
+
|
|
1452
|
+
return this.transformOptions(options_)
|
|
1453
|
+
.then((transformedOptions_) => {
|
|
1454
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1455
|
+
})
|
|
1456
|
+
.then((_response: Response) => {
|
|
1457
|
+
return this.processGetSettingsAndLanguages(_response);
|
|
1458
|
+
});
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
protected processGetSettingsAndLanguages(response: Response): Promise<LocalizableSettingsAndLanguages> {
|
|
1462
|
+
const status = response.status;
|
|
1463
|
+
let _headers: any = {};
|
|
1464
|
+
if (response.headers && response.headers.forEach) {
|
|
1465
|
+
response.headers.forEach((v: any, k: any) => (_headers[k] = v));
|
|
1466
|
+
}
|
|
1467
|
+
if (status === 200) {
|
|
1468
|
+
return response.text().then((_responseText) => {
|
|
1469
|
+
let result200: any = null;
|
|
1470
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1471
|
+
result200 = LocalizableSettingsAndLanguages.fromJS(resultData200);
|
|
1472
|
+
return result200;
|
|
1473
|
+
});
|
|
1474
|
+
} else if (status === 401) {
|
|
1475
|
+
return response.text().then((_responseText) => {
|
|
1476
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1477
|
+
});
|
|
1478
|
+
} else if (status === 403) {
|
|
1479
|
+
return response.text().then((_responseText) => {
|
|
1480
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
1481
|
+
});
|
|
1482
|
+
} else if (status !== 200 && status !== 204) {
|
|
1483
|
+
return response.text().then((_responseText) => {
|
|
1484
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1485
|
+
});
|
|
1486
|
+
}
|
|
1487
|
+
return Promise.resolve<LocalizableSettingsAndLanguages>(null as any);
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* @return Success
|
|
1492
|
+
*/
|
|
1493
|
+
getDictionaryValues(name: string, language: string): Promise<KeyValue[]> {
|
|
1494
|
+
let url_ = this.baseUrl + "/api/platform/localizable-settings/{name}/dictionary-items/{language}/values";
|
|
1495
|
+
if (name === undefined || name === null) throw new Error("The parameter 'name' must be defined.");
|
|
1496
|
+
url_ = url_.replace("{name}", encodeURIComponent("" + name));
|
|
1497
|
+
if (language === undefined || language === null) throw new Error("The parameter 'language' must be defined.");
|
|
1498
|
+
url_ = url_.replace("{language}", encodeURIComponent("" + language));
|
|
1499
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1500
|
+
|
|
1501
|
+
let options_: RequestInit = {
|
|
1502
|
+
method: "GET",
|
|
1503
|
+
headers: {
|
|
1504
|
+
Accept: "text/plain",
|
|
1505
|
+
},
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
return this.transformOptions(options_)
|
|
1509
|
+
.then((transformedOptions_) => {
|
|
1510
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1511
|
+
})
|
|
1512
|
+
.then((_response: Response) => {
|
|
1513
|
+
return this.processGetDictionaryValues(_response);
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
protected processGetDictionaryValues(response: Response): Promise<KeyValue[]> {
|
|
1518
|
+
const status = response.status;
|
|
1519
|
+
let _headers: any = {};
|
|
1520
|
+
if (response.headers && response.headers.forEach) {
|
|
1521
|
+
response.headers.forEach((v: any, k: any) => (_headers[k] = v));
|
|
1522
|
+
}
|
|
1523
|
+
if (status === 200) {
|
|
1524
|
+
return response.text().then((_responseText) => {
|
|
1525
|
+
let result200: any = null;
|
|
1526
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1527
|
+
if (Array.isArray(resultData200)) {
|
|
1528
|
+
result200 = [] as any;
|
|
1529
|
+
for (let item of resultData200) result200!.push(KeyValue.fromJS(item));
|
|
1530
|
+
} else {
|
|
1531
|
+
result200 = <any>null;
|
|
1532
|
+
}
|
|
1533
|
+
return result200;
|
|
1534
|
+
});
|
|
1535
|
+
} else if (status === 401) {
|
|
1536
|
+
return response.text().then((_responseText) => {
|
|
1537
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1538
|
+
});
|
|
1539
|
+
} else if (status === 403) {
|
|
1540
|
+
return response.text().then((_responseText) => {
|
|
1541
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
1542
|
+
});
|
|
1543
|
+
} else if (status !== 200 && status !== 204) {
|
|
1544
|
+
return response.text().then((_responseText) => {
|
|
1545
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1546
|
+
});
|
|
1547
|
+
}
|
|
1548
|
+
return Promise.resolve<KeyValue[]>(null as any);
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* @param body (optional)
|
|
1553
|
+
* @return Success
|
|
1554
|
+
*/
|
|
1555
|
+
saveDictionaryItems(name: string, body?: DictionaryItem[] | undefined): Promise<void> {
|
|
1556
|
+
let url_ = this.baseUrl + "/api/platform/localizable-settings/{name}/dictionary-items";
|
|
1557
|
+
if (name === undefined || name === null) throw new Error("The parameter 'name' must be defined.");
|
|
1558
|
+
url_ = url_.replace("{name}", encodeURIComponent("" + name));
|
|
1559
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1560
|
+
|
|
1561
|
+
const content_ = JSON.stringify(body);
|
|
1562
|
+
|
|
1563
|
+
let options_: RequestInit = {
|
|
1564
|
+
body: content_,
|
|
1565
|
+
method: "POST",
|
|
1566
|
+
headers: {
|
|
1567
|
+
"Content-Type": "application/json-patch+json",
|
|
1568
|
+
},
|
|
1569
|
+
};
|
|
1570
|
+
|
|
1571
|
+
return this.transformOptions(options_)
|
|
1572
|
+
.then((transformedOptions_) => {
|
|
1573
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1574
|
+
})
|
|
1575
|
+
.then((_response: Response) => {
|
|
1576
|
+
return this.processSaveDictionaryItems(_response);
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
protected processSaveDictionaryItems(response: Response): Promise<void> {
|
|
1581
|
+
const status = response.status;
|
|
1582
|
+
let _headers: any = {};
|
|
1583
|
+
if (response.headers && response.headers.forEach) {
|
|
1584
|
+
response.headers.forEach((v: any, k: any) => (_headers[k] = v));
|
|
1585
|
+
}
|
|
1586
|
+
if (status === 204) {
|
|
1587
|
+
return response.text().then((_responseText) => {
|
|
1588
|
+
return;
|
|
1589
|
+
});
|
|
1590
|
+
} else if (status === 401) {
|
|
1591
|
+
return response.text().then((_responseText) => {
|
|
1592
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1593
|
+
});
|
|
1594
|
+
} else if (status === 403) {
|
|
1595
|
+
return response.text().then((_responseText) => {
|
|
1596
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
1597
|
+
});
|
|
1598
|
+
} else if (status !== 200 && status !== 204) {
|
|
1599
|
+
return response.text().then((_responseText) => {
|
|
1600
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
return Promise.resolve<void>(null as any);
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* @param values (optional)
|
|
1608
|
+
* @return Success
|
|
1609
|
+
*/
|
|
1610
|
+
deleteDictionaryItems(name: string, values?: string[] | undefined): Promise<void> {
|
|
1611
|
+
let url_ = this.baseUrl + "/api/platform/localizable-settings/{name}/dictionary-items?";
|
|
1612
|
+
if (name === undefined || name === null) throw new Error("The parameter 'name' must be defined.");
|
|
1613
|
+
url_ = url_.replace("{name}", encodeURIComponent("" + name));
|
|
1614
|
+
if (values === null) throw new Error("The parameter 'values' cannot be null.");
|
|
1615
|
+
else if (values !== undefined)
|
|
1616
|
+
values &&
|
|
1617
|
+
values.forEach((item) => {
|
|
1618
|
+
url_ += "values=" + encodeURIComponent("" + item) + "&";
|
|
1619
|
+
});
|
|
1620
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1621
|
+
|
|
1622
|
+
let options_: RequestInit = {
|
|
1623
|
+
method: "DELETE",
|
|
1624
|
+
headers: {},
|
|
1625
|
+
};
|
|
1626
|
+
|
|
1627
|
+
return this.transformOptions(options_)
|
|
1628
|
+
.then((transformedOptions_) => {
|
|
1629
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1630
|
+
})
|
|
1631
|
+
.then((_response: Response) => {
|
|
1632
|
+
return this.processDeleteDictionaryItems(_response);
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
protected processDeleteDictionaryItems(response: Response): Promise<void> {
|
|
1637
|
+
const status = response.status;
|
|
1638
|
+
let _headers: any = {};
|
|
1639
|
+
if (response.headers && response.headers.forEach) {
|
|
1640
|
+
response.headers.forEach((v: any, k: any) => (_headers[k] = v));
|
|
1641
|
+
}
|
|
1642
|
+
if (status === 204) {
|
|
1643
|
+
return response.text().then((_responseText) => {
|
|
1644
|
+
return;
|
|
1645
|
+
});
|
|
1646
|
+
} else if (status === 401) {
|
|
1647
|
+
return response.text().then((_responseText) => {
|
|
1648
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1649
|
+
});
|
|
1650
|
+
} else if (status === 403) {
|
|
1651
|
+
return response.text().then((_responseText) => {
|
|
1652
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
1653
|
+
});
|
|
1654
|
+
} else if (status !== 200 && status !== 204) {
|
|
1655
|
+
return response.text().then((_responseText) => {
|
|
1656
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1657
|
+
});
|
|
1658
|
+
}
|
|
1659
|
+
return Promise.resolve<void>(null as any);
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1443
1663
|
export class ModulesClient extends AuthApiBase {
|
|
1444
1664
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
1445
1665
|
private baseUrl: string;
|
|
@@ -1452,7 +1672,6 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1452
1672
|
}
|
|
1453
1673
|
|
|
1454
1674
|
/**
|
|
1455
|
-
* Reload modules
|
|
1456
1675
|
* @return Success
|
|
1457
1676
|
*/
|
|
1458
1677
|
reloadModules(): Promise<void> {
|
|
@@ -1500,7 +1719,6 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1500
1719
|
}
|
|
1501
1720
|
|
|
1502
1721
|
/**
|
|
1503
|
-
* Get installed modules
|
|
1504
1722
|
* @return Success
|
|
1505
1723
|
*/
|
|
1506
1724
|
getModules(): Promise<ModuleDescriptor[]> {
|
|
@@ -1558,8 +1776,7 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1558
1776
|
}
|
|
1559
1777
|
|
|
1560
1778
|
/**
|
|
1561
|
-
*
|
|
1562
|
-
* @param body (optional) modules descriptors
|
|
1779
|
+
* @param body (optional)
|
|
1563
1780
|
* @return Success
|
|
1564
1781
|
*/
|
|
1565
1782
|
getDependingModules(body?: ModuleDescriptor[] | undefined): Promise<ModuleDescriptor[]> {
|
|
@@ -1621,8 +1838,7 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1621
1838
|
}
|
|
1622
1839
|
|
|
1623
1840
|
/**
|
|
1624
|
-
*
|
|
1625
|
-
* @param body (optional) modules descriptors
|
|
1841
|
+
* @param body (optional)
|
|
1626
1842
|
* @return Success
|
|
1627
1843
|
*/
|
|
1628
1844
|
getMissingDependencies(body?: ModuleDescriptor[] | undefined): Promise<ModuleDescriptor[]> {
|
|
@@ -1684,7 +1900,6 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1684
1900
|
}
|
|
1685
1901
|
|
|
1686
1902
|
/**
|
|
1687
|
-
* Upload module package for installation or update
|
|
1688
1903
|
* @return Success
|
|
1689
1904
|
*/
|
|
1690
1905
|
uploadModuleArchive(): Promise<ModuleDescriptor> {
|
|
@@ -1737,8 +1952,7 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1737
1952
|
}
|
|
1738
1953
|
|
|
1739
1954
|
/**
|
|
1740
|
-
*
|
|
1741
|
-
* @param body (optional) modules for install
|
|
1955
|
+
* @param body (optional)
|
|
1742
1956
|
* @return Success
|
|
1743
1957
|
*/
|
|
1744
1958
|
installModules(body?: ModuleDescriptor[] | undefined): Promise<ModulePushNotification> {
|
|
@@ -1795,8 +2009,7 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1795
2009
|
}
|
|
1796
2010
|
|
|
1797
2011
|
/**
|
|
1798
|
-
*
|
|
1799
|
-
* @param body (optional) modules
|
|
2012
|
+
* @param body (optional)
|
|
1800
2013
|
* @return Success
|
|
1801
2014
|
*/
|
|
1802
2015
|
uninstallModule(body?: ModuleDescriptor[] | undefined): Promise<ModulePushNotification> {
|
|
@@ -1853,7 +2066,6 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1853
2066
|
}
|
|
1854
2067
|
|
|
1855
2068
|
/**
|
|
1856
|
-
* Restart web application
|
|
1857
2069
|
* @return Success
|
|
1858
2070
|
*/
|
|
1859
2071
|
restart(): Promise<void> {
|
|
@@ -1901,7 +2113,6 @@ export class ModulesClient extends AuthApiBase {
|
|
|
1901
2113
|
}
|
|
1902
2114
|
|
|
1903
2115
|
/**
|
|
1904
|
-
* Auto-install modules with specified groups
|
|
1905
2116
|
* @return Success
|
|
1906
2117
|
*/
|
|
1907
2118
|
tryToAutoInstallModules(): Promise<ModuleAutoInstallPushNotification> {
|
|
@@ -2198,8 +2409,7 @@ export class PushNotificationClient extends AuthApiBase {
|
|
|
2198
2409
|
}
|
|
2199
2410
|
|
|
2200
2411
|
/**
|
|
2201
|
-
*
|
|
2202
|
-
* @param body (optional) SearchAsync parameters.
|
|
2412
|
+
* @param body (optional)
|
|
2203
2413
|
* @return Success
|
|
2204
2414
|
*/
|
|
2205
2415
|
searchPushNotification(body?: PushNotificationSearchCriteria | undefined): Promise<PushNotificationSearchResult> {
|
|
@@ -2256,7 +2466,6 @@ export class PushNotificationClient extends AuthApiBase {
|
|
|
2256
2466
|
}
|
|
2257
2467
|
|
|
2258
2468
|
/**
|
|
2259
|
-
* Mark all notifications as read
|
|
2260
2469
|
* @return Success
|
|
2261
2470
|
*/
|
|
2262
2471
|
markAllAsRead(): Promise<PushNotificationSearchResult> {
|
|
@@ -2321,8 +2530,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2321
2530
|
}
|
|
2322
2531
|
|
|
2323
2532
|
/**
|
|
2324
|
-
*
|
|
2325
|
-
* @param body (optional) Login request.
|
|
2533
|
+
* @param body (optional)
|
|
2326
2534
|
* @return Success
|
|
2327
2535
|
*/
|
|
2328
2536
|
login(body?: LoginRequest | undefined): Promise<SignInResult> {
|
|
@@ -2371,7 +2579,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2371
2579
|
}
|
|
2372
2580
|
|
|
2373
2581
|
/**
|
|
2374
|
-
* Sign out
|
|
2375
2582
|
* @return Success
|
|
2376
2583
|
*/
|
|
2377
2584
|
logout(): Promise<void> {
|
|
@@ -2419,7 +2626,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2419
2626
|
}
|
|
2420
2627
|
|
|
2421
2628
|
/**
|
|
2422
|
-
* Get current user details
|
|
2423
2629
|
* @return Success
|
|
2424
2630
|
*/
|
|
2425
2631
|
getCurrentUser(): Promise<UserDetail> {
|
|
@@ -2529,7 +2735,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2529
2735
|
}
|
|
2530
2736
|
|
|
2531
2737
|
/**
|
|
2532
|
-
* Get all registered permissions
|
|
2533
2738
|
* @return Success
|
|
2534
2739
|
*/
|
|
2535
2740
|
getAllRegisteredPermissions(): Promise<Permission[]> {
|
|
@@ -2587,8 +2792,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2587
2792
|
}
|
|
2588
2793
|
|
|
2589
2794
|
/**
|
|
2590
|
-
*
|
|
2591
|
-
* @param body (optional) SearchAsync parameters.
|
|
2795
|
+
* @param body (optional)
|
|
2592
2796
|
* @return Success
|
|
2593
2797
|
*/
|
|
2594
2798
|
searchRoles(body?: RoleSearchCriteria | undefined): Promise<RoleSearchResult> {
|
|
@@ -2645,7 +2849,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2645
2849
|
}
|
|
2646
2850
|
|
|
2647
2851
|
/**
|
|
2648
|
-
* Get role by ID
|
|
2649
2852
|
* @return Success
|
|
2650
2853
|
*/
|
|
2651
2854
|
getRole(roleName: string): Promise<Role> {
|
|
@@ -2700,8 +2903,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2700
2903
|
}
|
|
2701
2904
|
|
|
2702
2905
|
/**
|
|
2703
|
-
*
|
|
2704
|
-
* @param ids (optional) An array of role IDs.
|
|
2906
|
+
* @param ids (optional)
|
|
2705
2907
|
* @return Success
|
|
2706
2908
|
*/
|
|
2707
2909
|
deleteRoles(ids?: string[] | undefined): Promise<void> {
|
|
@@ -2755,7 +2957,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2755
2957
|
}
|
|
2756
2958
|
|
|
2757
2959
|
/**
|
|
2758
|
-
* Update an existing role or create new
|
|
2759
2960
|
* @param body (optional)
|
|
2760
2961
|
* @return Success
|
|
2761
2962
|
*/
|
|
@@ -2813,8 +3014,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2813
3014
|
}
|
|
2814
3015
|
|
|
2815
3016
|
/**
|
|
2816
|
-
*
|
|
2817
|
-
* @param body (optional) Search criteria.
|
|
3017
|
+
* @param body (optional)
|
|
2818
3018
|
* @return Success
|
|
2819
3019
|
*/
|
|
2820
3020
|
searchUsers(body?: UserSearchCriteria | undefined): Promise<UserSearchResult> {
|
|
@@ -2871,7 +3071,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2871
3071
|
}
|
|
2872
3072
|
|
|
2873
3073
|
/**
|
|
2874
|
-
* Get user details by user name
|
|
2875
3074
|
* @return Success
|
|
2876
3075
|
*/
|
|
2877
3076
|
getUserByName(userName: string): Promise<ApplicationUser> {
|
|
@@ -2926,7 +3125,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2926
3125
|
}
|
|
2927
3126
|
|
|
2928
3127
|
/**
|
|
2929
|
-
* Get user details by user ID
|
|
2930
3128
|
* @return Success
|
|
2931
3129
|
*/
|
|
2932
3130
|
getUserById(id: string): Promise<ApplicationUser> {
|
|
@@ -2981,7 +3179,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
2981
3179
|
}
|
|
2982
3180
|
|
|
2983
3181
|
/**
|
|
2984
|
-
* Get user details by user email
|
|
2985
3182
|
* @return Success
|
|
2986
3183
|
*/
|
|
2987
3184
|
getUserByEmail(email: string): Promise<ApplicationUser> {
|
|
@@ -3036,7 +3233,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3036
3233
|
}
|
|
3037
3234
|
|
|
3038
3235
|
/**
|
|
3039
|
-
* Get user details by external login provider
|
|
3040
3236
|
* @return Success
|
|
3041
3237
|
*/
|
|
3042
3238
|
getUserByLogin(loginProvider: string, providerKey: string): Promise<ApplicationUser> {
|
|
@@ -3095,7 +3291,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3095
3291
|
}
|
|
3096
3292
|
|
|
3097
3293
|
/**
|
|
3098
|
-
* Create new user
|
|
3099
3294
|
* @param body (optional)
|
|
3100
3295
|
* @return Success
|
|
3101
3296
|
*/
|
|
@@ -3153,8 +3348,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3153
3348
|
}
|
|
3154
3349
|
|
|
3155
3350
|
/**
|
|
3156
|
-
*
|
|
3157
|
-
* @param body (optional) Old and new passwords.
|
|
3351
|
+
* @param body (optional)
|
|
3158
3352
|
* @return Success
|
|
3159
3353
|
*/
|
|
3160
3354
|
changeCurrentUserPassword(body?: ChangePasswordRequest | undefined): Promise<SecurityResult> {
|
|
@@ -3215,9 +3409,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3215
3409
|
}
|
|
3216
3410
|
|
|
3217
3411
|
/**
|
|
3218
|
-
*
|
|
3219
|
-
* @param userName user name
|
|
3220
|
-
* @param body (optional) Old and new passwords.
|
|
3412
|
+
* @param body (optional)
|
|
3221
3413
|
* @return Success
|
|
3222
3414
|
*/
|
|
3223
3415
|
changePassword(userName: string, body?: ChangePasswordRequest | undefined): Promise<SecurityResult> {
|
|
@@ -3280,8 +3472,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3280
3472
|
}
|
|
3281
3473
|
|
|
3282
3474
|
/**
|
|
3283
|
-
*
|
|
3284
|
-
* @param body (optional) Password reset information containing new password.
|
|
3475
|
+
* @param body (optional)
|
|
3285
3476
|
* @return Success
|
|
3286
3477
|
*/
|
|
3287
3478
|
resetPassword(userName: string, body?: ResetPasswordConfirmRequest | undefined): Promise<SecurityResult> {
|
|
@@ -3340,8 +3531,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3340
3531
|
}
|
|
3341
3532
|
|
|
3342
3533
|
/**
|
|
3343
|
-
*
|
|
3344
|
-
* @param body (optional) New password.
|
|
3534
|
+
* @param body (optional)
|
|
3345
3535
|
* @return Success
|
|
3346
3536
|
*/
|
|
3347
3537
|
resetPasswordByToken(userId: string, body?: ResetPasswordConfirmRequest | undefined): Promise<SecurityResult> {
|
|
@@ -3392,7 +3582,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3392
3582
|
}
|
|
3393
3583
|
|
|
3394
3584
|
/**
|
|
3395
|
-
* Validate password reset token
|
|
3396
3585
|
* @param body (optional)
|
|
3397
3586
|
* @return Success
|
|
3398
3587
|
*/
|
|
@@ -3445,7 +3634,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3445
3634
|
}
|
|
3446
3635
|
|
|
3447
3636
|
/**
|
|
3448
|
-
* Send email with instructions on how to reset user password.
|
|
3449
3637
|
* @return Success
|
|
3450
3638
|
*/
|
|
3451
3639
|
requestPasswordReset(loginOrEmail: string): Promise<void> {
|
|
@@ -3594,8 +3782,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3594
3782
|
}
|
|
3595
3783
|
|
|
3596
3784
|
/**
|
|
3597
|
-
*
|
|
3598
|
-
* @param body (optional) User details.
|
|
3785
|
+
* @param body (optional)
|
|
3599
3786
|
* @return Success
|
|
3600
3787
|
*/
|
|
3601
3788
|
update(body?: ApplicationUser | undefined): Promise<SecurityResult> {
|
|
@@ -3652,8 +3839,7 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3652
3839
|
}
|
|
3653
3840
|
|
|
3654
3841
|
/**
|
|
3655
|
-
*
|
|
3656
|
-
* @param names (optional) An array of user names.
|
|
3842
|
+
* @param names (optional)
|
|
3657
3843
|
* @return Success
|
|
3658
3844
|
*/
|
|
3659
3845
|
delete(names?: string[] | undefined): Promise<void> {
|
|
@@ -3707,8 +3893,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3707
3893
|
}
|
|
3708
3894
|
|
|
3709
3895
|
/**
|
|
3710
|
-
* Checks if user locked
|
|
3711
|
-
* @param id User id
|
|
3712
3896
|
* @return Success
|
|
3713
3897
|
*/
|
|
3714
3898
|
isUserLocked(id: string): Promise<UserLockedResult> {
|
|
@@ -3763,7 +3947,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3763
3947
|
}
|
|
3764
3948
|
|
|
3765
3949
|
/**
|
|
3766
|
-
* Checks if manual password change is enabled
|
|
3767
3950
|
* @return Success
|
|
3768
3951
|
*/
|
|
3769
3952
|
passwordChangeEnabled(): Promise<UserLockedResult> {
|
|
@@ -3816,8 +3999,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3816
3999
|
}
|
|
3817
4000
|
|
|
3818
4001
|
/**
|
|
3819
|
-
* Lock user
|
|
3820
|
-
* @param id >User id
|
|
3821
4002
|
* @return Success
|
|
3822
4003
|
*/
|
|
3823
4004
|
lockUser(id: string): Promise<SecurityResult> {
|
|
@@ -3872,8 +4053,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
3872
4053
|
}
|
|
3873
4054
|
|
|
3874
4055
|
/**
|
|
3875
|
-
* Unlock user
|
|
3876
|
-
* @param id >User id
|
|
3877
4056
|
* @return Success
|
|
3878
4057
|
*/
|
|
3879
4058
|
unlockUser(id: string): Promise<SecurityResult> {
|
|
@@ -4175,7 +4354,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
4175
4354
|
}
|
|
4176
4355
|
|
|
4177
4356
|
/**
|
|
4178
|
-
* Get allowed login types
|
|
4179
4357
|
* @return Success
|
|
4180
4358
|
*/
|
|
4181
4359
|
getLoginTypes(): Promise<LoginType[]> {
|
|
@@ -4225,7 +4403,6 @@ export class SecurityClient extends AuthApiBase {
|
|
|
4225
4403
|
}
|
|
4226
4404
|
|
|
4227
4405
|
/**
|
|
4228
|
-
* Verify user email
|
|
4229
4406
|
* @return Success
|
|
4230
4407
|
*/
|
|
4231
4408
|
sendVerificationEmail(userId: string): Promise<void> {
|
|
@@ -4635,10 +4812,9 @@ export class SettingClient extends AuthApiBase {
|
|
|
4635
4812
|
}
|
|
4636
4813
|
|
|
4637
4814
|
/**
|
|
4638
|
-
* Get all settings
|
|
4639
4815
|
* @return Success
|
|
4640
4816
|
*/
|
|
4641
|
-
getAllGlobalSettings(): Promise<ObjectSettingEntry> {
|
|
4817
|
+
getAllGlobalSettings(): Promise<ObjectSettingEntry[]> {
|
|
4642
4818
|
let url_ = this.baseUrl + "/api/platform/settings";
|
|
4643
4819
|
url_ = url_.replace(/[?&]$/, "");
|
|
4644
4820
|
|
|
@@ -4658,7 +4834,7 @@ export class SettingClient extends AuthApiBase {
|
|
|
4658
4834
|
});
|
|
4659
4835
|
}
|
|
4660
4836
|
|
|
4661
|
-
protected processGetAllGlobalSettings(response: Response): Promise<ObjectSettingEntry> {
|
|
4837
|
+
protected processGetAllGlobalSettings(response: Response): Promise<ObjectSettingEntry[]> {
|
|
4662
4838
|
const status = response.status;
|
|
4663
4839
|
let _headers: any = {};
|
|
4664
4840
|
if (response.headers && response.headers.forEach) {
|
|
@@ -4668,7 +4844,12 @@ export class SettingClient extends AuthApiBase {
|
|
|
4668
4844
|
return response.text().then((_responseText) => {
|
|
4669
4845
|
let result200: any = null;
|
|
4670
4846
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4671
|
-
|
|
4847
|
+
if (Array.isArray(resultData200)) {
|
|
4848
|
+
result200 = [] as any;
|
|
4849
|
+
for (let item of resultData200) result200!.push(ObjectSettingEntry.fromJS(item));
|
|
4850
|
+
} else {
|
|
4851
|
+
result200 = <any>null;
|
|
4852
|
+
}
|
|
4672
4853
|
return result200;
|
|
4673
4854
|
});
|
|
4674
4855
|
} else if (status === 401) {
|
|
@@ -4684,11 +4865,10 @@ export class SettingClient extends AuthApiBase {
|
|
|
4684
4865
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4685
4866
|
});
|
|
4686
4867
|
}
|
|
4687
|
-
return Promise.resolve<ObjectSettingEntry>(null as any);
|
|
4868
|
+
return Promise.resolve<ObjectSettingEntry[]>(null as any);
|
|
4688
4869
|
}
|
|
4689
4870
|
|
|
4690
4871
|
/**
|
|
4691
|
-
* Update settings values
|
|
4692
4872
|
* @param body (optional)
|
|
4693
4873
|
* @return Success
|
|
4694
4874
|
*/
|
|
@@ -4742,8 +4922,6 @@ export class SettingClient extends AuthApiBase {
|
|
|
4742
4922
|
}
|
|
4743
4923
|
|
|
4744
4924
|
/**
|
|
4745
|
-
* Get settings registered by specific module
|
|
4746
|
-
* @param id Module ID.
|
|
4747
4925
|
* @return Success
|
|
4748
4926
|
*/
|
|
4749
4927
|
getGlobalModuleSettings(id: string): Promise<ObjectSettingEntry[]> {
|
|
@@ -4803,8 +4981,6 @@ export class SettingClient extends AuthApiBase {
|
|
|
4803
4981
|
}
|
|
4804
4982
|
|
|
4805
4983
|
/**
|
|
4806
|
-
* Get setting details by name
|
|
4807
|
-
* @param name Setting system name.
|
|
4808
4984
|
* @return Success
|
|
4809
4985
|
*/
|
|
4810
4986
|
getGlobalSetting(name: string): Promise<ObjectSettingEntry> {
|
|
@@ -4859,7 +5035,6 @@ export class SettingClient extends AuthApiBase {
|
|
|
4859
5035
|
}
|
|
4860
5036
|
|
|
4861
5037
|
/**
|
|
4862
|
-
* Get UI customization setting
|
|
4863
5038
|
* @return Success
|
|
4864
5039
|
*/
|
|
4865
5040
|
getUICustomizationSetting(): Promise<ObjectSettingEntry> {
|
|
@@ -5704,6 +5879,51 @@ export interface IConfirmEmailRequest {
|
|
|
5704
5879
|
token?: string | undefined;
|
|
5705
5880
|
}
|
|
5706
5881
|
|
|
5882
|
+
export class DictionaryItem implements IDictionaryItem {
|
|
5883
|
+
alias?: string | undefined;
|
|
5884
|
+
localizedValues?: LocalizedValue[] | undefined;
|
|
5885
|
+
|
|
5886
|
+
constructor(data?: IDictionaryItem) {
|
|
5887
|
+
if (data) {
|
|
5888
|
+
for (var property in data) {
|
|
5889
|
+
if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
|
|
5890
|
+
}
|
|
5891
|
+
}
|
|
5892
|
+
}
|
|
5893
|
+
|
|
5894
|
+
init(_data?: any) {
|
|
5895
|
+
if (_data) {
|
|
5896
|
+
this.alias = _data["alias"];
|
|
5897
|
+
if (Array.isArray(_data["localizedValues"])) {
|
|
5898
|
+
this.localizedValues = [] as any;
|
|
5899
|
+
for (let item of _data["localizedValues"]) this.localizedValues!.push(LocalizedValue.fromJS(item));
|
|
5900
|
+
}
|
|
5901
|
+
}
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5904
|
+
static fromJS(data: any): DictionaryItem {
|
|
5905
|
+
data = typeof data === "object" ? data : {};
|
|
5906
|
+
let result = new DictionaryItem();
|
|
5907
|
+
result.init(data);
|
|
5908
|
+
return result;
|
|
5909
|
+
}
|
|
5910
|
+
|
|
5911
|
+
toJSON(data?: any) {
|
|
5912
|
+
data = typeof data === "object" ? data : {};
|
|
5913
|
+
data["alias"] = this.alias;
|
|
5914
|
+
if (Array.isArray(this.localizedValues)) {
|
|
5915
|
+
data["localizedValues"] = [];
|
|
5916
|
+
for (let item of this.localizedValues) data["localizedValues"].push(item.toJSON());
|
|
5917
|
+
}
|
|
5918
|
+
return data;
|
|
5919
|
+
}
|
|
5920
|
+
}
|
|
5921
|
+
|
|
5922
|
+
export interface IDictionaryItem {
|
|
5923
|
+
alias?: string | undefined;
|
|
5924
|
+
localizedValues?: LocalizedValue[] | undefined;
|
|
5925
|
+
}
|
|
5926
|
+
|
|
5707
5927
|
export class DynamicObjectProperty implements IDynamicObjectProperty {
|
|
5708
5928
|
objectId?: string | undefined;
|
|
5709
5929
|
values?: DynamicPropertyObjectValue[] | undefined;
|
|
@@ -6429,6 +6649,7 @@ export enum EntryState {
|
|
|
6429
6649
|
export class ExternalSignInProviderInfo implements IExternalSignInProviderInfo {
|
|
6430
6650
|
authenticationType?: string | undefined;
|
|
6431
6651
|
displayName?: string | undefined;
|
|
6652
|
+
logoUrl?: string | undefined;
|
|
6432
6653
|
|
|
6433
6654
|
constructor(data?: IExternalSignInProviderInfo) {
|
|
6434
6655
|
if (data) {
|
|
@@ -6442,6 +6663,7 @@ export class ExternalSignInProviderInfo implements IExternalSignInProviderInfo {
|
|
|
6442
6663
|
if (_data) {
|
|
6443
6664
|
this.authenticationType = _data["authenticationType"];
|
|
6444
6665
|
this.displayName = _data["displayName"];
|
|
6666
|
+
this.logoUrl = _data["logoUrl"];
|
|
6445
6667
|
}
|
|
6446
6668
|
}
|
|
6447
6669
|
|
|
@@ -6456,6 +6678,7 @@ export class ExternalSignInProviderInfo implements IExternalSignInProviderInfo {
|
|
|
6456
6678
|
data = typeof data === "object" ? data : {};
|
|
6457
6679
|
data["authenticationType"] = this.authenticationType;
|
|
6458
6680
|
data["displayName"] = this.displayName;
|
|
6681
|
+
data["logoUrl"] = this.logoUrl;
|
|
6459
6682
|
return data;
|
|
6460
6683
|
}
|
|
6461
6684
|
}
|
|
@@ -6463,6 +6686,7 @@ export class ExternalSignInProviderInfo implements IExternalSignInProviderInfo {
|
|
|
6463
6686
|
export interface IExternalSignInProviderInfo {
|
|
6464
6687
|
authenticationType?: string | undefined;
|
|
6465
6688
|
displayName?: string | undefined;
|
|
6689
|
+
logoUrl?: string | undefined;
|
|
6466
6690
|
}
|
|
6467
6691
|
|
|
6468
6692
|
export class IdentityError implements IIdentityError {
|
|
@@ -6638,6 +6862,45 @@ export enum JsonValueKind {
|
|
|
6638
6862
|
Null = "Null",
|
|
6639
6863
|
}
|
|
6640
6864
|
|
|
6865
|
+
export class KeyValue implements IKeyValue {
|
|
6866
|
+
key?: string | undefined;
|
|
6867
|
+
value?: string | undefined;
|
|
6868
|
+
|
|
6869
|
+
constructor(data?: IKeyValue) {
|
|
6870
|
+
if (data) {
|
|
6871
|
+
for (var property in data) {
|
|
6872
|
+
if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
|
|
6873
|
+
}
|
|
6874
|
+
}
|
|
6875
|
+
}
|
|
6876
|
+
|
|
6877
|
+
init(_data?: any) {
|
|
6878
|
+
if (_data) {
|
|
6879
|
+
this.key = _data["key"];
|
|
6880
|
+
this.value = _data["value"];
|
|
6881
|
+
}
|
|
6882
|
+
}
|
|
6883
|
+
|
|
6884
|
+
static fromJS(data: any): KeyValue {
|
|
6885
|
+
data = typeof data === "object" ? data : {};
|
|
6886
|
+
let result = new KeyValue();
|
|
6887
|
+
result.init(data);
|
|
6888
|
+
return result;
|
|
6889
|
+
}
|
|
6890
|
+
|
|
6891
|
+
toJSON(data?: any) {
|
|
6892
|
+
data = typeof data === "object" ? data : {};
|
|
6893
|
+
data["key"] = this.key;
|
|
6894
|
+
data["value"] = this.value;
|
|
6895
|
+
return data;
|
|
6896
|
+
}
|
|
6897
|
+
}
|
|
6898
|
+
|
|
6899
|
+
export interface IKeyValue {
|
|
6900
|
+
key?: string | undefined;
|
|
6901
|
+
value?: string | undefined;
|
|
6902
|
+
}
|
|
6903
|
+
|
|
6641
6904
|
export class LastModifiedResponse implements ILastModifiedResponse {
|
|
6642
6905
|
scope?: string | undefined;
|
|
6643
6906
|
lastModifiedDate?: Date;
|
|
@@ -6730,6 +6993,141 @@ export interface ILicense {
|
|
|
6730
6993
|
rawLicense?: string | undefined;
|
|
6731
6994
|
}
|
|
6732
6995
|
|
|
6996
|
+
export class LocalizableSetting implements ILocalizableSetting {
|
|
6997
|
+
name?: string | undefined;
|
|
6998
|
+
items?: DictionaryItem[] | undefined;
|
|
6999
|
+
|
|
7000
|
+
constructor(data?: ILocalizableSetting) {
|
|
7001
|
+
if (data) {
|
|
7002
|
+
for (var property in data) {
|
|
7003
|
+
if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
|
|
7004
|
+
}
|
|
7005
|
+
}
|
|
7006
|
+
}
|
|
7007
|
+
|
|
7008
|
+
init(_data?: any) {
|
|
7009
|
+
if (_data) {
|
|
7010
|
+
this.name = _data["name"];
|
|
7011
|
+
if (Array.isArray(_data["items"])) {
|
|
7012
|
+
this.items = [] as any;
|
|
7013
|
+
for (let item of _data["items"]) this.items!.push(DictionaryItem.fromJS(item));
|
|
7014
|
+
}
|
|
7015
|
+
}
|
|
7016
|
+
}
|
|
7017
|
+
|
|
7018
|
+
static fromJS(data: any): LocalizableSetting {
|
|
7019
|
+
data = typeof data === "object" ? data : {};
|
|
7020
|
+
let result = new LocalizableSetting();
|
|
7021
|
+
result.init(data);
|
|
7022
|
+
return result;
|
|
7023
|
+
}
|
|
7024
|
+
|
|
7025
|
+
toJSON(data?: any) {
|
|
7026
|
+
data = typeof data === "object" ? data : {};
|
|
7027
|
+
data["name"] = this.name;
|
|
7028
|
+
if (Array.isArray(this.items)) {
|
|
7029
|
+
data["items"] = [];
|
|
7030
|
+
for (let item of this.items) data["items"].push(item.toJSON());
|
|
7031
|
+
}
|
|
7032
|
+
return data;
|
|
7033
|
+
}
|
|
7034
|
+
}
|
|
7035
|
+
|
|
7036
|
+
export interface ILocalizableSetting {
|
|
7037
|
+
name?: string | undefined;
|
|
7038
|
+
items?: DictionaryItem[] | undefined;
|
|
7039
|
+
}
|
|
7040
|
+
|
|
7041
|
+
export class LocalizableSettingsAndLanguages implements ILocalizableSettingsAndLanguages {
|
|
7042
|
+
settings?: LocalizableSetting[] | undefined;
|
|
7043
|
+
languages?: string[] | undefined;
|
|
7044
|
+
|
|
7045
|
+
constructor(data?: ILocalizableSettingsAndLanguages) {
|
|
7046
|
+
if (data) {
|
|
7047
|
+
for (var property in data) {
|
|
7048
|
+
if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
|
|
7049
|
+
}
|
|
7050
|
+
}
|
|
7051
|
+
}
|
|
7052
|
+
|
|
7053
|
+
init(_data?: any) {
|
|
7054
|
+
if (_data) {
|
|
7055
|
+
if (Array.isArray(_data["settings"])) {
|
|
7056
|
+
this.settings = [] as any;
|
|
7057
|
+
for (let item of _data["settings"]) this.settings!.push(LocalizableSetting.fromJS(item));
|
|
7058
|
+
}
|
|
7059
|
+
if (Array.isArray(_data["languages"])) {
|
|
7060
|
+
this.languages = [] as any;
|
|
7061
|
+
for (let item of _data["languages"]) this.languages!.push(item);
|
|
7062
|
+
}
|
|
7063
|
+
}
|
|
7064
|
+
}
|
|
7065
|
+
|
|
7066
|
+
static fromJS(data: any): LocalizableSettingsAndLanguages {
|
|
7067
|
+
data = typeof data === "object" ? data : {};
|
|
7068
|
+
let result = new LocalizableSettingsAndLanguages();
|
|
7069
|
+
result.init(data);
|
|
7070
|
+
return result;
|
|
7071
|
+
}
|
|
7072
|
+
|
|
7073
|
+
toJSON(data?: any) {
|
|
7074
|
+
data = typeof data === "object" ? data : {};
|
|
7075
|
+
if (Array.isArray(this.settings)) {
|
|
7076
|
+
data["settings"] = [];
|
|
7077
|
+
for (let item of this.settings) data["settings"].push(item.toJSON());
|
|
7078
|
+
}
|
|
7079
|
+
if (Array.isArray(this.languages)) {
|
|
7080
|
+
data["languages"] = [];
|
|
7081
|
+
for (let item of this.languages) data["languages"].push(item);
|
|
7082
|
+
}
|
|
7083
|
+
return data;
|
|
7084
|
+
}
|
|
7085
|
+
}
|
|
7086
|
+
|
|
7087
|
+
export interface ILocalizableSettingsAndLanguages {
|
|
7088
|
+
settings?: LocalizableSetting[] | undefined;
|
|
7089
|
+
languages?: string[] | undefined;
|
|
7090
|
+
}
|
|
7091
|
+
|
|
7092
|
+
export class LocalizedValue implements ILocalizedValue {
|
|
7093
|
+
languageCode?: string | undefined;
|
|
7094
|
+
value?: string | undefined;
|
|
7095
|
+
|
|
7096
|
+
constructor(data?: ILocalizedValue) {
|
|
7097
|
+
if (data) {
|
|
7098
|
+
for (var property in data) {
|
|
7099
|
+
if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
|
|
7100
|
+
}
|
|
7101
|
+
}
|
|
7102
|
+
}
|
|
7103
|
+
|
|
7104
|
+
init(_data?: any) {
|
|
7105
|
+
if (_data) {
|
|
7106
|
+
this.languageCode = _data["languageCode"];
|
|
7107
|
+
this.value = _data["value"];
|
|
7108
|
+
}
|
|
7109
|
+
}
|
|
7110
|
+
|
|
7111
|
+
static fromJS(data: any): LocalizedValue {
|
|
7112
|
+
data = typeof data === "object" ? data : {};
|
|
7113
|
+
let result = new LocalizedValue();
|
|
7114
|
+
result.init(data);
|
|
7115
|
+
return result;
|
|
7116
|
+
}
|
|
7117
|
+
|
|
7118
|
+
toJSON(data?: any) {
|
|
7119
|
+
data = typeof data === "object" ? data : {};
|
|
7120
|
+
data["languageCode"] = this.languageCode;
|
|
7121
|
+
data["value"] = this.value;
|
|
7122
|
+
return data;
|
|
7123
|
+
}
|
|
7124
|
+
}
|
|
7125
|
+
|
|
7126
|
+
export interface ILocalizedValue {
|
|
7127
|
+
languageCode?: string | undefined;
|
|
7128
|
+
value?: string | undefined;
|
|
7129
|
+
}
|
|
7130
|
+
|
|
6733
7131
|
export class LoginRequest implements ILoginRequest {
|
|
6734
7132
|
userName?: string | undefined;
|
|
6735
7133
|
password?: string | undefined;
|
|
@@ -7336,6 +7734,7 @@ export class ObjectSettingEntry implements IObjectSettingEntry {
|
|
|
7336
7734
|
allowedValues?: any[] | undefined;
|
|
7337
7735
|
defaultValue?: any | undefined;
|
|
7338
7736
|
isDictionary?: boolean;
|
|
7737
|
+
isLocalizable?: boolean;
|
|
7339
7738
|
|
|
7340
7739
|
constructor(data?: IObjectSettingEntry) {
|
|
7341
7740
|
if (data) {
|
|
@@ -7367,6 +7766,7 @@ export class ObjectSettingEntry implements IObjectSettingEntry {
|
|
|
7367
7766
|
}
|
|
7368
7767
|
this.defaultValue = _data["defaultValue"];
|
|
7369
7768
|
this.isDictionary = _data["isDictionary"];
|
|
7769
|
+
this.isLocalizable = _data["isLocalizable"];
|
|
7370
7770
|
}
|
|
7371
7771
|
}
|
|
7372
7772
|
|
|
@@ -7399,6 +7799,7 @@ export class ObjectSettingEntry implements IObjectSettingEntry {
|
|
|
7399
7799
|
}
|
|
7400
7800
|
data["defaultValue"] = this.defaultValue;
|
|
7401
7801
|
data["isDictionary"] = this.isDictionary;
|
|
7802
|
+
data["isLocalizable"] = this.isLocalizable;
|
|
7402
7803
|
return data;
|
|
7403
7804
|
}
|
|
7404
7805
|
}
|
|
@@ -7421,6 +7822,7 @@ export interface IObjectSettingEntry {
|
|
|
7421
7822
|
allowedValues?: any[] | undefined;
|
|
7422
7823
|
defaultValue?: any | undefined;
|
|
7423
7824
|
isDictionary?: boolean;
|
|
7825
|
+
isLocalizable?: boolean;
|
|
7424
7826
|
}
|
|
7425
7827
|
|
|
7426
7828
|
export class OpenIddictApplicationDescriptor implements IOpenIddictApplicationDescriptor {
|
|
@@ -8582,6 +8984,7 @@ export class SystemInfo implements ISystemInfo {
|
|
|
8582
8984
|
is64BitOperatingSystem?: boolean;
|
|
8583
8985
|
is64BitProcess?: boolean;
|
|
8584
8986
|
databaseProvider?: string | undefined;
|
|
8987
|
+
environmentName?: string | undefined;
|
|
8585
8988
|
|
|
8586
8989
|
constructor(data?: ISystemInfo) {
|
|
8587
8990
|
if (data) {
|
|
@@ -8603,6 +9006,7 @@ export class SystemInfo implements ISystemInfo {
|
|
|
8603
9006
|
this.is64BitOperatingSystem = _data["is64BitOperatingSystem"];
|
|
8604
9007
|
this.is64BitProcess = _data["is64BitProcess"];
|
|
8605
9008
|
this.databaseProvider = _data["databaseProvider"];
|
|
9009
|
+
this.environmentName = _data["environmentName"];
|
|
8606
9010
|
}
|
|
8607
9011
|
}
|
|
8608
9012
|
|
|
@@ -8625,6 +9029,7 @@ export class SystemInfo implements ISystemInfo {
|
|
|
8625
9029
|
data["is64BitOperatingSystem"] = this.is64BitOperatingSystem;
|
|
8626
9030
|
data["is64BitProcess"] = this.is64BitProcess;
|
|
8627
9031
|
data["databaseProvider"] = this.databaseProvider;
|
|
9032
|
+
data["environmentName"] = this.environmentName;
|
|
8628
9033
|
return data;
|
|
8629
9034
|
}
|
|
8630
9035
|
}
|
|
@@ -8637,6 +9042,7 @@ export interface ISystemInfo {
|
|
|
8637
9042
|
is64BitOperatingSystem?: boolean;
|
|
8638
9043
|
is64BitProcess?: boolean;
|
|
8639
9044
|
databaseProvider?: string | undefined;
|
|
9045
|
+
environmentName?: string | undefined;
|
|
8640
9046
|
}
|
|
8641
9047
|
|
|
8642
9048
|
export class UserApiKey implements IUserApiKey {
|
|
@@ -8712,6 +9118,8 @@ export class UserDetail implements IUserDetail {
|
|
|
8712
9118
|
isAdministrator?: boolean;
|
|
8713
9119
|
passwordExpired?: boolean;
|
|
8714
9120
|
daysTillPasswordExpiry?: number;
|
|
9121
|
+
authenticationMethod?: string | undefined;
|
|
9122
|
+
isSsoAuthenticationMethod?: boolean;
|
|
8715
9123
|
id?: string | undefined;
|
|
8716
9124
|
|
|
8717
9125
|
constructor(data?: IUserDetail) {
|
|
@@ -8732,6 +9140,8 @@ export class UserDetail implements IUserDetail {
|
|
|
8732
9140
|
this.isAdministrator = _data["isAdministrator"];
|
|
8733
9141
|
this.passwordExpired = _data["passwordExpired"];
|
|
8734
9142
|
this.daysTillPasswordExpiry = _data["daysTillPasswordExpiry"];
|
|
9143
|
+
this.authenticationMethod = _data["authenticationMethod"];
|
|
9144
|
+
this.isSsoAuthenticationMethod = _data["isSsoAuthenticationMethod"];
|
|
8735
9145
|
this.id = _data["id"];
|
|
8736
9146
|
}
|
|
8737
9147
|
}
|
|
@@ -8753,6 +9163,8 @@ export class UserDetail implements IUserDetail {
|
|
|
8753
9163
|
data["isAdministrator"] = this.isAdministrator;
|
|
8754
9164
|
data["passwordExpired"] = this.passwordExpired;
|
|
8755
9165
|
data["daysTillPasswordExpiry"] = this.daysTillPasswordExpiry;
|
|
9166
|
+
data["authenticationMethod"] = this.authenticationMethod;
|
|
9167
|
+
data["isSsoAuthenticationMethod"] = this.isSsoAuthenticationMethod;
|
|
8756
9168
|
data["id"] = this.id;
|
|
8757
9169
|
return data;
|
|
8758
9170
|
}
|
|
@@ -8764,6 +9176,8 @@ export interface IUserDetail {
|
|
|
8764
9176
|
isAdministrator?: boolean;
|
|
8765
9177
|
passwordExpired?: boolean;
|
|
8766
9178
|
daysTillPasswordExpiry?: number;
|
|
9179
|
+
authenticationMethod?: string | undefined;
|
|
9180
|
+
isSsoAuthenticationMethod?: boolean;
|
|
8767
9181
|
id?: string | undefined;
|
|
8768
9182
|
}
|
|
8769
9183
|
|
|
@@ -8807,6 +9221,8 @@ export class UserSearchCriteria implements IUserSearchCriteria {
|
|
|
8807
9221
|
memberIds?: string[] | undefined;
|
|
8808
9222
|
modifiedSinceDate?: Date | undefined;
|
|
8809
9223
|
roles?: string[] | undefined;
|
|
9224
|
+
lasLoginDate?: Date | undefined;
|
|
9225
|
+
onlyUnlocked?: boolean;
|
|
8810
9226
|
responseGroup?: string | undefined;
|
|
8811
9227
|
objectType?: string | undefined;
|
|
8812
9228
|
objectTypes?: string[] | undefined;
|
|
@@ -8841,6 +9257,8 @@ export class UserSearchCriteria implements IUserSearchCriteria {
|
|
|
8841
9257
|
this.roles = [] as any;
|
|
8842
9258
|
for (let item of _data["roles"]) this.roles!.push(item);
|
|
8843
9259
|
}
|
|
9260
|
+
this.lasLoginDate = _data["lasLoginDate"] ? new Date(_data["lasLoginDate"].toString()) : <any>undefined;
|
|
9261
|
+
this.onlyUnlocked = _data["onlyUnlocked"];
|
|
8844
9262
|
this.responseGroup = _data["responseGroup"];
|
|
8845
9263
|
this.objectType = _data["objectType"];
|
|
8846
9264
|
if (Array.isArray(_data["objectTypes"])) {
|
|
@@ -8883,6 +9301,8 @@ export class UserSearchCriteria implements IUserSearchCriteria {
|
|
|
8883
9301
|
data["roles"] = [];
|
|
8884
9302
|
for (let item of this.roles) data["roles"].push(item);
|
|
8885
9303
|
}
|
|
9304
|
+
data["lasLoginDate"] = this.lasLoginDate ? this.lasLoginDate.toISOString() : <any>undefined;
|
|
9305
|
+
data["onlyUnlocked"] = this.onlyUnlocked;
|
|
8886
9306
|
data["responseGroup"] = this.responseGroup;
|
|
8887
9307
|
data["objectType"] = this.objectType;
|
|
8888
9308
|
if (Array.isArray(this.objectTypes)) {
|
|
@@ -8912,6 +9332,8 @@ export interface IUserSearchCriteria {
|
|
|
8912
9332
|
memberIds?: string[] | undefined;
|
|
8913
9333
|
modifiedSinceDate?: Date | undefined;
|
|
8914
9334
|
roles?: string[] | undefined;
|
|
9335
|
+
lasLoginDate?: Date | undefined;
|
|
9336
|
+
onlyUnlocked?: boolean;
|
|
8915
9337
|
responseGroup?: string | undefined;
|
|
8916
9338
|
objectType?: string | undefined;
|
|
8917
9339
|
objectTypes?: string[] | undefined;
|
|
@@ -9229,7 +9651,7 @@ function throwException(
|
|
|
9229
9651
|
status: number,
|
|
9230
9652
|
response: string,
|
|
9231
9653
|
headers: { [key: string]: any },
|
|
9232
|
-
result?: any
|
|
9654
|
+
result?: any,
|
|
9233
9655
|
): any {
|
|
9234
9656
|
if (result !== null && result !== undefined) throw result;
|
|
9235
9657
|
else throw new ApiException(message, status, response, headers, null);
|