@smartbit4all/ng-client 1.1.25 → 1.1.26
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/README.md +386 -386
- package/esm2020/lib/session/api/api/api.mjs +4 -4
- package/esm2020/lib/session/api/api/session.service.mjs +306 -306
- package/esm2020/lib/session/api/configuration.mjs +91 -91
- package/esm2020/lib/session/api/encoder.mjs +19 -19
- package/esm2020/lib/session/api/index.mjs +3 -3
- package/esm2020/lib/session/api/model/accountInfo.mjs +13 -13
- package/esm2020/lib/session/api/model/apiError.mjs +13 -13
- package/esm2020/lib/session/api/model/authenticationProviderData.mjs +13 -13
- package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +2 -2
- package/esm2020/lib/session/api/model/models.mjs +9 -9
- package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +13 -13
- package/esm2020/lib/session/api/model/session.mjs +2 -2
- package/esm2020/lib/session/api/model/sessionInfoData.mjs +2 -2
- package/esm2020/lib/session/api/model/userActivityLog.mjs +13 -13
- package/esm2020/lib/session/api/param.mjs +2 -2
- package/esm2020/lib/session/api/variables.mjs +9 -9
- package/esm2020/lib/session/cookie-service/smart-cookie.service.mjs +225 -225
- package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +90 -90
- package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +43 -43
- package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +40 -40
- package/esm2020/lib/session/dev-tool/smart-dev-tool.interceptor.mjs +52 -52
- package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +161 -161
- package/esm2020/lib/session/projects.mjs +12 -12
- package/esm2020/lib/session/smart-error-catching.interceptor.mjs +71 -71
- package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +36 -36
- package/esm2020/lib/session/smart-session-handler.service.mjs +6 -6
- package/esm2020/lib/session/smart-session.module.mjs +74 -74
- package/esm2020/lib/session/smart-session.service.mjs +219 -205
- package/esm2020/lib/session/smart-timer/smart-session-timer.component.mjs +35 -35
- package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +51 -51
- package/esm2020/lib/smart-client/projects.mjs +6 -6
- package/esm2020/lib/smart-client/smart-authentication.service.mjs +15 -15
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +316 -316
- package/esm2020/lib/smart-client/smart.component.mjs +30 -30
- package/esm2020/lib/smart-client/smart.service.mjs +30 -30
- package/esm2020/lib/smart-client/smart.subject.mjs +21 -21
- package/esm2020/lib/smart-ng-client.module.mjs +20 -20
- package/esm2020/lib/smart-ng-client.service.mjs +19 -19
- package/esm2020/lib/view-context/api/api/api.mjs +4 -4
- package/esm2020/lib/view-context/api/api/view.service.mjs +701 -701
- package/esm2020/lib/view-context/api/api.module.mjs +40 -40
- package/esm2020/lib/view-context/api/configuration.mjs +91 -91
- package/esm2020/lib/view-context/api/encoder.mjs +19 -19
- package/esm2020/lib/view-context/api/index.mjs +7 -7
- package/esm2020/lib/view-context/api/model/closeResult.mjs +17 -17
- package/esm2020/lib/view-context/api/model/componentConstraint.mjs +2 -2
- package/esm2020/lib/view-context/api/model/componentModel.mjs +2 -2
- package/esm2020/lib/view-context/api/model/componentModelChange.mjs +13 -13
- package/esm2020/lib/view-context/api/model/dataChange.mjs +2 -2
- package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +2 -2
- package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +17 -17
- package/esm2020/lib/view-context/api/model/messageData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/messageOption.mjs +2 -2
- package/esm2020/lib/view-context/api/model/messageOptionType.mjs +17 -17
- package/esm2020/lib/view-context/api/model/messageResult.mjs +2 -2
- package/esm2020/lib/view-context/api/model/messageType.mjs +18 -18
- package/esm2020/lib/view-context/api/model/models.mjs +37 -37
- package/esm2020/lib/view-context/api/model/openPendingData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/smartLinkData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiAction.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +16 -16
- package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +21 -21
- package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +16 -16
- package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +18 -18
- package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -13
- package/esm2020/lib/view-context/api/model/valueSet.mjs +2 -2
- package/esm2020/lib/view-context/api/model/view.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewApiError.mjs +13 -13
- package/esm2020/lib/view-context/api/model/viewConstraint.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContext.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContextChange.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContextData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +20 -20
- package/esm2020/lib/view-context/api/model/viewState.mjs +21 -21
- package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewType.mjs +17 -17
- package/esm2020/lib/view-context/api/param.mjs +2 -2
- package/esm2020/lib/view-context/api/variables.mjs +9 -9
- package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +63 -63
- package/esm2020/lib/view-context/projects.mjs +17 -17
- package/esm2020/lib/view-context/property-definition-data.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +30 -30
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +53 -53
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +47 -47
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +119 -119
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +51 -51
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +109 -109
- package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +118 -118
- package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +7 -7
- package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +149 -149
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +29 -29
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +69 -69
- package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +39 -39
- package/esm2020/lib/view-context/smart-view-context.model.mjs +2 -2
- package/esm2020/lib/view-context/smart-view-context.module.mjs +84 -84
- package/esm2020/lib/view-context/smart-view-context.service.mjs +503 -495
- package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +33 -33
- package/esm2020/lib/view-context/value-api/api/api.mjs +4 -4
- package/esm2020/lib/view-context/value-api/api/value.service.mjs +138 -138
- package/esm2020/lib/view-context/value-api/api.module.mjs +40 -40
- package/esm2020/lib/view-context/value-api/configuration.mjs +91 -91
- package/esm2020/lib/view-context/value-api/encoder.mjs +19 -19
- package/esm2020/lib/view-context/value-api/index.mjs +7 -7
- package/esm2020/lib/view-context/value-api/model/models.mjs +9 -9
- package/esm2020/lib/view-context/value-api/model/value.mjs +13 -13
- package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +13 -13
- package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +23 -23
- package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +18 -18
- package/esm2020/lib/view-context/value-api/param.mjs +2 -2
- package/esm2020/lib/view-context/value-api/variables.mjs +9 -9
- package/esm2020/projects.mjs +9 -9
- package/esm2020/smartbit4all-ng-client.mjs +4 -4
- package/fesm2015/smartbit4all-ng-client.mjs +4322 -4300
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +4277 -4255
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/session/api/api/api.d.ts +3 -3
- package/lib/session/api/api/session.service.d.ts +107 -107
- package/lib/session/api/configuration.d.ts +104 -104
- package/lib/session/api/encoder.d.ts +11 -11
- package/lib/session/api/index.d.ts +2 -2
- package/lib/session/api/model/accountInfo.d.ts +22 -22
- package/lib/session/api/model/apiError.d.ts +15 -15
- package/lib/session/api/model/authenticationProviderData.d.ts +17 -17
- package/lib/session/api/model/getAuthenticationProvidersResponse.d.ts +15 -15
- package/lib/session/api/model/models.d.ts +8 -8
- package/lib/session/api/model/refreshSessionRequest.d.ts +14 -14
- package/lib/session/api/model/session.d.ts +32 -32
- package/lib/session/api/model/sessionInfoData.d.ts +22 -22
- package/lib/session/api/model/userActivityLog.d.ts +33 -33
- package/lib/session/api/param.d.ts +37 -37
- package/lib/session/api/variables.d.ts +8 -8
- package/lib/session/cookie-service/smart-cookie.service.d.ts +129 -129
- package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.d.ts +28 -28
- package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +18 -18
- package/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.d.ts +15 -15
- package/lib/session/dev-tool/smart-dev-tool.interceptor.d.ts +18 -18
- package/lib/session/dev-tool/smart-dev-tool.service.d.ts +55 -55
- package/lib/session/projects.d.ts +8 -8
- package/lib/session/smart-error-catching.interceptor.d.ts +13 -13
- package/lib/session/smart-header-maintainer.interceptor.d.ts +11 -11
- package/lib/session/smart-session-handler.service.d.ts +11 -11
- package/lib/session/smart-session.module.d.ts +15 -15
- package/lib/session/smart-session.service.d.ts +51 -50
- package/lib/session/smart-timer/smart-session-timer.component.d.ts +14 -14
- package/lib/session/smart-timer/smart-session-timer.service.d.ts +21 -21
- package/lib/smart-client/projects.d.ts +5 -5
- package/lib/smart-client/smart-authentication.service.d.ts +12 -12
- package/lib/smart-client/smart-component-api-client.d.ts +71 -71
- package/lib/smart-client/smart.component.d.ts +11 -11
- package/lib/smart-client/smart.service.d.ts +11 -11
- package/lib/smart-client/smart.subject.d.ts +6 -6
- package/lib/smart-ng-client.module.d.ts +8 -8
- package/lib/smart-ng-client.service.d.ts +10 -10
- package/lib/view-context/api/api/api.d.ts +3 -3
- package/lib/view-context/api/api/view.service.d.ts +266 -266
- package/lib/view-context/api/api.module.d.ts +11 -11
- package/lib/view-context/api/configuration.d.ts +104 -104
- package/lib/view-context/api/encoder.d.ts +11 -11
- package/lib/view-context/api/index.d.ts +6 -6
- package/lib/view-context/api/model/closeResult.d.ts +17 -17
- package/lib/view-context/api/model/componentConstraint.d.ts +25 -25
- package/lib/view-context/api/model/componentModel.d.ts +31 -31
- package/lib/view-context/api/model/componentModelChange.d.ts +29 -29
- package/lib/view-context/api/model/dataChange.d.ts +27 -27
- package/lib/view-context/api/model/dataChangeEvent.d.ts +33 -33
- package/lib/view-context/api/model/dataChangeKind.d.ts +20 -20
- package/lib/view-context/api/model/messageData.d.ts +29 -29
- package/lib/view-context/api/model/messageOption.d.ts +20 -20
- package/lib/view-context/api/model/messageOptionType.d.ts +17 -17
- package/lib/view-context/api/model/messageResult.d.ts +16 -16
- package/lib/view-context/api/model/messageType.d.ts +18 -18
- package/lib/view-context/api/model/models.d.ts +36 -36
- package/lib/view-context/api/model/openPendingData.d.ts +22 -22
- package/lib/view-context/api/model/smartLinkData.d.ts +21 -21
- package/lib/view-context/api/model/uiAction.d.ts +29 -29
- package/lib/view-context/api/model/uiActionButtonDescriptor.d.ts +18 -18
- package/lib/view-context/api/model/uiActionButtonIconPos.d.ts +19 -19
- package/lib/view-context/api/model/uiActionButtonType.d.ts +24 -24
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +34 -34
- package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +23 -23
- package/lib/view-context/api/model/uiActionFeedbackType.d.ts +19 -19
- package/lib/view-context/api/model/uiActionInputType.d.ts +18 -18
- package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
- package/lib/view-context/api/model/valueSet.d.ts +20 -20
- package/lib/view-context/api/model/view.d.ts +68 -68
- package/lib/view-context/api/model/viewApiError.d.ts +18 -18
- package/lib/view-context/api/model/viewConstraint.d.ts +18 -18
- package/lib/view-context/api/model/viewContext.d.ts +22 -22
- package/lib/view-context/api/model/viewContextChange.d.ts +20 -20
- package/lib/view-context/api/model/viewContextData.d.ts +19 -19
- package/lib/view-context/api/model/viewContextUpdate.d.ts +22 -22
- package/lib/view-context/api/model/viewData.d.ts +27 -27
- package/lib/view-context/api/model/viewEventHandler.d.ts +30 -30
- package/lib/view-context/api/model/viewState.d.ts +21 -21
- package/lib/view-context/api/model/viewStateUpdate.d.ts +24 -24
- package/lib/view-context/api/model/viewType.d.ts +17 -17
- package/lib/view-context/api/param.d.ts +37 -37
- package/lib/view-context/api/variables.d.ts +8 -8
- package/lib/view-context/message-dialog/message-dialog.component.d.ts +17 -17
- package/lib/view-context/projects.d.ts +13 -13
- package/lib/view-context/property-definition-data.d.ts +5 -5
- package/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.d.ts +13 -13
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +25 -25
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +18 -18
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +29 -29
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +25 -25
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +30 -30
- package/lib/view-context/smart-ui-action/ui-action.descriptor.service.d.ts +21 -21
- package/lib/view-context/smart-ui-action/ui-action.model.d.ts +32 -32
- package/lib/view-context/smart-ui-action/ui-action.service.d.ts +31 -31
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +13 -13
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +19 -19
- package/lib/view-context/smart-view-context.interceptor.d.ts +13 -13
- package/lib/view-context/smart-view-context.model.d.ts +30 -30
- package/lib/view-context/smart-view-context.module.d.ts +20 -20
- package/lib/view-context/smart-view-context.service.d.ts +100 -99
- package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +14 -14
- package/lib/view-context/value-api/api/api.d.ts +3 -3
- package/lib/view-context/value-api/api/value.service.d.ts +35 -35
- package/lib/view-context/value-api/api.module.d.ts +11 -11
- package/lib/view-context/value-api/configuration.d.ts +104 -104
- package/lib/view-context/value-api/encoder.d.ts +11 -11
- package/lib/view-context/value-api/index.d.ts +6 -6
- package/lib/view-context/value-api/model/models.d.ts +8 -8
- package/lib/view-context/value-api/model/value.d.ts +29 -29
- package/lib/view-context/value-api/model/valueSetData.d.ts +41 -41
- package/lib/view-context/value-api/model/valueSetDefinition.d.ts +16 -16
- package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +55 -55
- package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +23 -23
- package/lib/view-context/value-api/model/valueSetExpression.d.ts +20 -20
- package/lib/view-context/value-api/model/valueSetOperand.d.ts +25 -25
- package/lib/view-context/value-api/model/valueSetOperation.d.ts +18 -18
- package/lib/view-context/value-api/param.d.ts +37 -37
- package/lib/view-context/value-api/variables.d.ts +8 -8
- package/package.json +1 -1
- package/projects.d.ts +5 -5
- package/schematics/collection.json +11 -11
- package/schematics/smart-component/index.ts +26 -26
- package/schematics/smart-component/schema.json +20 -20
- package/schematics/smart-component/smart-component.schema.ts +4 -4
- package/schematics/smart-component/templates/__name@dasherize__.component.html.template +2 -2
- package/schematics/smart-component/templates/__name@dasherize__.component.ts.template +26 -26
- package/smartbit4all-ng-client-1.1.26.tgz +0 -0
- package/smartbit4all-ng-client.d.ts +5 -5
- package/src/lib/session/api/README.md +226 -226
- package/src/lib/view-context/api/README.md +226 -226
- package/src/lib/view-context/value-api/README.md +226 -226
- package/smartbit4all-ng-client-1.1.25.tgz +0 -0
|
@@ -1,99 +1,100 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { SmartdialogService } from '@smartbit4all/dialog';
|
|
3
|
-
import { SmartNavigationService } from '@smartbit4all/navigation';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { SmartSessionService } from '../session/smart-session.service';
|
|
6
|
-
import { SmartSubject } from '../smart-client/smart.subject';
|
|
7
|
-
import { ComponentModel, DataChange, MessageData, MessageResult, UiActionDescriptor, UiActionRequest, ViewConstraint, ViewContextChange, ViewContextData, ViewContextUpdate, ViewData, ViewService } from './api';
|
|
8
|
-
import { SmartTranslateService, SmartViewContextApiError, SmartViewContextApiErrors, SmartViewHandlerModel } from './smart-view-context.model';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare const SmartViewContextErrorDialogButtonLabel = "SmartViewContextErrorDialogButtonLabel";
|
|
11
|
-
export declare const SmartViewContextErrorDialogTitle = "SmartViewContextErrorDialogTitle";
|
|
12
|
-
export declare const SmartViewContextErrorDialogMessage = "SmartViewContextErrorDialogMessage";
|
|
13
|
-
export declare class SmartViewContextService {
|
|
14
|
-
private view;
|
|
15
|
-
private session;
|
|
16
|
-
private navigation;
|
|
17
|
-
private dialog;
|
|
18
|
-
private apiQueueService;
|
|
19
|
-
private tabIdName;
|
|
20
|
-
private tabIdhttpHeaderName;
|
|
21
|
-
messageDialogname: string | undefined;
|
|
22
|
-
private url?;
|
|
23
|
-
private viewContext?;
|
|
24
|
-
private viewHandlers;
|
|
25
|
-
private openedViewUuids;
|
|
26
|
-
private openedViewData;
|
|
27
|
-
uuidOfPageHasBeenChanged: Subject<string>;
|
|
28
|
-
viewContextHasBeenSynced: Subject<void>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
private
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
private
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
private
|
|
74
|
-
private
|
|
75
|
-
private
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
static
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
config: any
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
private
|
|
91
|
-
private
|
|
92
|
-
private
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
static
|
|
99
|
-
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { SmartdialogService } from '@smartbit4all/dialog';
|
|
3
|
+
import { SmartNavigationService } from '@smartbit4all/navigation';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { SmartSessionService } from '../session/smart-session.service';
|
|
6
|
+
import { SmartSubject } from '../smart-client/smart.subject';
|
|
7
|
+
import { ComponentModel, DataChange, MessageData, MessageResult, UiActionDescriptor, UiActionRequest, ViewConstraint, ViewContextChange, ViewContextData, ViewContextUpdate, ViewData, ViewService } from './api';
|
|
8
|
+
import { SmartTranslateService, SmartViewContextApiError, SmartViewContextApiErrors, SmartViewHandlerModel } from './smart-view-context.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare const SmartViewContextErrorDialogButtonLabel = "SmartViewContextErrorDialogButtonLabel";
|
|
11
|
+
export declare const SmartViewContextErrorDialogTitle = "SmartViewContextErrorDialogTitle";
|
|
12
|
+
export declare const SmartViewContextErrorDialogMessage = "SmartViewContextErrorDialogMessage";
|
|
13
|
+
export declare class SmartViewContextService {
|
|
14
|
+
private view;
|
|
15
|
+
private session;
|
|
16
|
+
private navigation;
|
|
17
|
+
private dialog;
|
|
18
|
+
private apiQueueService;
|
|
19
|
+
private tabIdName;
|
|
20
|
+
private tabIdhttpHeaderName;
|
|
21
|
+
messageDialogname: string | undefined;
|
|
22
|
+
private url?;
|
|
23
|
+
private viewContext?;
|
|
24
|
+
private viewHandlers;
|
|
25
|
+
private openedViewUuids;
|
|
26
|
+
private openedViewData;
|
|
27
|
+
uuidOfPageHasBeenChanged: Subject<string>;
|
|
28
|
+
viewContextHasBeenSynced: Subject<void>;
|
|
29
|
+
private initializeRunning;
|
|
30
|
+
smartViewContextApiErrors?: SmartViewContextApiErrors;
|
|
31
|
+
openSmartLink: Subject<void>;
|
|
32
|
+
isOpeningSmartLink: boolean;
|
|
33
|
+
private dialogRefs;
|
|
34
|
+
private actionDescriptors?;
|
|
35
|
+
commonFeedbackText?: string;
|
|
36
|
+
smartApiClients: Map<string, SmartSubject<any>>;
|
|
37
|
+
set translateService(translateService: SmartTranslateService | undefined);
|
|
38
|
+
get translateService(): SmartTranslateService | undefined;
|
|
39
|
+
private _translateService?;
|
|
40
|
+
translateServiceChanged: Subject<void>;
|
|
41
|
+
constructor(view: ViewService, session: SmartSessionService, navigation: SmartNavigationService, dialog: SmartdialogService, apiQueueService: ApiQueueService);
|
|
42
|
+
follow(uuid: string, detectChange: SmartSubject<any>): void;
|
|
43
|
+
unfollow(uuid: string): void;
|
|
44
|
+
setActionDescriptors(actionDescriptors: Map<string, UiActionDescriptor>): void;
|
|
45
|
+
getActionDescriptors(): Map<string, UiActionDescriptor> | undefined;
|
|
46
|
+
setViewHandlers(viewHandlers: Array<SmartViewHandlerModel>): void;
|
|
47
|
+
setViewApiErrors(viewApiErrors: SmartViewContextApiErrors): void;
|
|
48
|
+
setMessageDialogName(messageDialogName: string): void;
|
|
49
|
+
private setUpUrlForViewService;
|
|
50
|
+
setUrl(url: string): void;
|
|
51
|
+
getAndSyncViewContext(uuid?: string): Promise<void>;
|
|
52
|
+
getViewContext(uuid: string): Promise<ViewContextData>;
|
|
53
|
+
getViewContextDataByPageName(pageName: string): Promise<ViewData>;
|
|
54
|
+
updateViewContext(viewContextUpdate: ViewContextUpdate): Promise<ViewContextData | undefined>;
|
|
55
|
+
private clearSessionStorage;
|
|
56
|
+
private setTabId;
|
|
57
|
+
startViewContext(): Promise<ViewContextData>;
|
|
58
|
+
initialize(uuid?: string): Promise<ViewContextData | undefined>;
|
|
59
|
+
openView(view: ViewData): void;
|
|
60
|
+
closeView(view: ViewData): void;
|
|
61
|
+
restoreViews(uuid: string): Promise<void>;
|
|
62
|
+
syncView(): void;
|
|
63
|
+
getUuidOfPage(pageName: string): string;
|
|
64
|
+
message(messageData: MessageData, messageResult: MessageResult): Promise<void>;
|
|
65
|
+
getSmartViewContextApiErrorByCode(code: string): Promise<SmartViewContextApiError>;
|
|
66
|
+
getViewConstraint(uuid: string): Promise<ViewConstraint>;
|
|
67
|
+
showPublishedView(channel: string, uuid: string): Promise<void>;
|
|
68
|
+
downloadResource(uuid: string, item: string): Promise<any>;
|
|
69
|
+
performAction(uuid: string, uiActionRequest: UiActionRequest): Promise<void>;
|
|
70
|
+
performWidgetAction(uuid: string, widgetId: string, nodeId: string, uiActionRequest: UiActionRequest): Promise<void>;
|
|
71
|
+
performWidgetMainAction(uuid: string, widgetId: string, uiActionRequest: UiActionRequest): Promise<void>;
|
|
72
|
+
dataChanged(uuid: string, dataChange: DataChange): Promise<void>;
|
|
73
|
+
private _performAction;
|
|
74
|
+
private _performWidgetAction;
|
|
75
|
+
private _performWidgetMainAction;
|
|
76
|
+
private _dataChanged;
|
|
77
|
+
handlePerformActionResponse(viewContextChange: ViewContextChange | undefined): Promise<void>;
|
|
78
|
+
private handleChanges;
|
|
79
|
+
load(uuid: string): Promise<ComponentModel | undefined>;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextService, never>;
|
|
81
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextService>;
|
|
82
|
+
}
|
|
83
|
+
export declare const IS_ASYNC_PARAM_NAME = "isAsync";
|
|
84
|
+
export interface ApiQueueCall {
|
|
85
|
+
callback: (config: any) => Promise<any>;
|
|
86
|
+
config: any;
|
|
87
|
+
isCompleted: Subject<void>;
|
|
88
|
+
}
|
|
89
|
+
export declare class ApiQueueService implements OnDestroy {
|
|
90
|
+
private _destroy$;
|
|
91
|
+
private queue;
|
|
92
|
+
private isProcessing;
|
|
93
|
+
private queueSubject;
|
|
94
|
+
constructor();
|
|
95
|
+
ngOnDestroy(): void;
|
|
96
|
+
addToQueue(call: ApiQueueCall, priority?: boolean): void;
|
|
97
|
+
processQueue(): Promise<void>;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiQueueService, never>;
|
|
99
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiQueueService>;
|
|
100
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ActivatedRoute } from "@angular/router";
|
|
2
|
-
import { SmartNavigationService } from "@smartbit4all/navigation";
|
|
3
|
-
import { SmartViewContextService } from "../smart-view-context.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartViewRedirect {
|
|
6
|
-
private service;
|
|
7
|
-
private navigation;
|
|
8
|
-
private route;
|
|
9
|
-
constructor(service: SmartViewContextService, navigation: SmartNavigationService, route: ActivatedRoute);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewRedirect, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartViewRedirect, "app-redirect", never, {}, {}, never, never>;
|
|
12
|
-
}
|
|
13
|
-
export declare const SmartLinkChannelVariableInPath: string;
|
|
14
|
-
export declare const SmartLinkUuidVariableInPath: string;
|
|
1
|
+
import { ActivatedRoute } from "@angular/router";
|
|
2
|
+
import { SmartNavigationService } from "@smartbit4all/navigation";
|
|
3
|
+
import { SmartViewContextService } from "../smart-view-context.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartViewRedirect {
|
|
6
|
+
private service;
|
|
7
|
+
private navigation;
|
|
8
|
+
private route;
|
|
9
|
+
constructor(service: SmartViewContextService, navigation: SmartNavigationService, route: ActivatedRoute);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewRedirect, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartViewRedirect, "app-redirect", never, {}, {}, never, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare const SmartLinkChannelVariableInPath: string;
|
|
14
|
+
export declare const SmartLinkUuidVariableInPath: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './value.service';
|
|
2
|
-
import { ValueService } from './value.service';
|
|
3
|
-
export declare const APIS: (typeof ValueService)[];
|
|
1
|
+
export * from './value.service';
|
|
2
|
+
import { ValueService } from './value.service';
|
|
3
|
+
export declare const APIS: (typeof ValueService)[];
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Value } from '../model/value';
|
|
4
|
-
import { Configuration } from '../configuration';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ValueService {
|
|
7
|
-
protected httpClient: HttpClient;
|
|
8
|
-
protected basePath: string;
|
|
9
|
-
defaultHeaders: HttpHeaders;
|
|
10
|
-
configuration: Configuration;
|
|
11
|
-
encoder: HttpParameterCodec;
|
|
12
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
-
private addToHttpParams;
|
|
14
|
-
private addToHttpParamsRecursive;
|
|
15
|
-
/**
|
|
16
|
-
* Returns the possible value set for the given URI
|
|
17
|
-
* @param objectUri The URI of the field the possible values are requested for
|
|
18
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
19
|
-
* @param reportProgress flag to report request and response progress.
|
|
20
|
-
*/
|
|
21
|
-
possibleValues(objectUri: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
22
|
-
httpHeaderAccept?: 'application/json';
|
|
23
|
-
context?: HttpContext;
|
|
24
|
-
}): Observable<Array<Value>>;
|
|
25
|
-
possibleValues(objectUri: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
26
|
-
httpHeaderAccept?: 'application/json';
|
|
27
|
-
context?: HttpContext;
|
|
28
|
-
}): Observable<HttpResponse<Array<Value>>>;
|
|
29
|
-
possibleValues(objectUri: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
30
|
-
httpHeaderAccept?: 'application/json';
|
|
31
|
-
context?: HttpContext;
|
|
32
|
-
}): Observable<HttpEvent<Array<Value>>>;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValueService, [null, { optional: true; }, { optional: true; }]>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ValueService>;
|
|
35
|
-
}
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Value } from '../model/value';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ValueService {
|
|
7
|
+
protected httpClient: HttpClient;
|
|
8
|
+
protected basePath: string;
|
|
9
|
+
defaultHeaders: HttpHeaders;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
encoder: HttpParameterCodec;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
+
private addToHttpParams;
|
|
14
|
+
private addToHttpParamsRecursive;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the possible value set for the given URI
|
|
17
|
+
* @param objectUri The URI of the field the possible values are requested for
|
|
18
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
19
|
+
* @param reportProgress flag to report request and response progress.
|
|
20
|
+
*/
|
|
21
|
+
possibleValues(objectUri: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
22
|
+
httpHeaderAccept?: 'application/json';
|
|
23
|
+
context?: HttpContext;
|
|
24
|
+
}): Observable<Array<Value>>;
|
|
25
|
+
possibleValues(objectUri: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
}): Observable<HttpResponse<Array<Value>>>;
|
|
29
|
+
possibleValues(objectUri: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: 'application/json';
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
}): Observable<HttpEvent<Array<Value>>>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueService, [null, { optional: true; }, { optional: true; }]>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ValueService>;
|
|
35
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { Configuration } from './configuration';
|
|
3
|
-
import { HttpClient } from '@angular/common/http';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ApiModule {
|
|
6
|
-
static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
|
|
7
|
-
constructor(parentModule: ApiModule, http: HttpClient);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
|
|
11
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Configuration } from './configuration';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ApiModule {
|
|
6
|
+
static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
|
|
7
|
+
constructor(parentModule: ApiModule, http: HttpClient);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
|
|
11
|
+
}
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
-
import { Param } from './param';
|
|
3
|
-
export interface ConfigurationParameters {
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
6
|
-
*/
|
|
7
|
-
apiKeys?: {
|
|
8
|
-
[key: string]: string;
|
|
9
|
-
};
|
|
10
|
-
username?: string;
|
|
11
|
-
password?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
14
|
-
*/
|
|
15
|
-
accessToken?: string | (() => string);
|
|
16
|
-
basePath?: string;
|
|
17
|
-
withCredentials?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Takes care of encoding query- and form-parameters.
|
|
20
|
-
*/
|
|
21
|
-
encoder?: HttpParameterCodec;
|
|
22
|
-
/**
|
|
23
|
-
* Override the default method for encoding path parameters in various
|
|
24
|
-
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
25
|
-
* <p>
|
|
26
|
-
* See {@link README.md} for more details
|
|
27
|
-
* </p>
|
|
28
|
-
*/
|
|
29
|
-
encodeParam?: (param: Param) => string;
|
|
30
|
-
/**
|
|
31
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
32
|
-
* document. They should map to the value used for authentication
|
|
33
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
34
|
-
*/
|
|
35
|
-
credentials?: {
|
|
36
|
-
[key: string]: string | (() => string | undefined);
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export declare class Configuration {
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
42
|
-
*/
|
|
43
|
-
apiKeys?: {
|
|
44
|
-
[key: string]: string;
|
|
45
|
-
};
|
|
46
|
-
username?: string;
|
|
47
|
-
password?: string;
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
50
|
-
*/
|
|
51
|
-
accessToken?: string | (() => string);
|
|
52
|
-
basePath?: string;
|
|
53
|
-
withCredentials?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Takes care of encoding query- and form-parameters.
|
|
56
|
-
*/
|
|
57
|
-
encoder?: HttpParameterCodec;
|
|
58
|
-
/**
|
|
59
|
-
* Encoding of various path parameter
|
|
60
|
-
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
61
|
-
* <p>
|
|
62
|
-
* See {@link README.md} for more details
|
|
63
|
-
* </p>
|
|
64
|
-
*/
|
|
65
|
-
encodeParam: (param: Param) => string;
|
|
66
|
-
/**
|
|
67
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
68
|
-
* document. They should map to the value used for authentication
|
|
69
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
70
|
-
*/
|
|
71
|
-
credentials: {
|
|
72
|
-
[key: string]: string | (() => string | undefined);
|
|
73
|
-
};
|
|
74
|
-
constructor(configurationParameters?: ConfigurationParameters);
|
|
75
|
-
/**
|
|
76
|
-
* Select the correct content-type to use for a request.
|
|
77
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
78
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
79
|
-
* @param contentTypes - the array of content types that are available for selection
|
|
80
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
81
|
-
*/
|
|
82
|
-
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Select the correct accept content-type to use for a request.
|
|
85
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
86
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
87
|
-
* @param accepts - the array of content types that are available for selection.
|
|
88
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
89
|
-
*/
|
|
90
|
-
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* Check if the given MIME is a JSON MIME.
|
|
93
|
-
* JSON MIME examples:
|
|
94
|
-
* application/json
|
|
95
|
-
* application/json; charset=UTF8
|
|
96
|
-
* APPLICATION/JSON
|
|
97
|
-
* application/vnd.company+json
|
|
98
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
99
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
100
|
-
*/
|
|
101
|
-
isJsonMime(mime: string): boolean;
|
|
102
|
-
lookupCredential(key: string): string | undefined;
|
|
103
|
-
private defaultEncodeParam;
|
|
104
|
-
}
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
import { Param } from './param';
|
|
3
|
+
export interface ConfigurationParameters {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
6
|
+
*/
|
|
7
|
+
apiKeys?: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
username?: string;
|
|
11
|
+
password?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
14
|
+
*/
|
|
15
|
+
accessToken?: string | (() => string);
|
|
16
|
+
basePath?: string;
|
|
17
|
+
withCredentials?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Takes care of encoding query- and form-parameters.
|
|
20
|
+
*/
|
|
21
|
+
encoder?: HttpParameterCodec;
|
|
22
|
+
/**
|
|
23
|
+
* Override the default method for encoding path parameters in various
|
|
24
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
25
|
+
* <p>
|
|
26
|
+
* See {@link README.md} for more details
|
|
27
|
+
* </p>
|
|
28
|
+
*/
|
|
29
|
+
encodeParam?: (param: Param) => string;
|
|
30
|
+
/**
|
|
31
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
32
|
+
* document. They should map to the value used for authentication
|
|
33
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
34
|
+
*/
|
|
35
|
+
credentials?: {
|
|
36
|
+
[key: string]: string | (() => string | undefined);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export declare class Configuration {
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
42
|
+
*/
|
|
43
|
+
apiKeys?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
username?: string;
|
|
47
|
+
password?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
50
|
+
*/
|
|
51
|
+
accessToken?: string | (() => string);
|
|
52
|
+
basePath?: string;
|
|
53
|
+
withCredentials?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Takes care of encoding query- and form-parameters.
|
|
56
|
+
*/
|
|
57
|
+
encoder?: HttpParameterCodec;
|
|
58
|
+
/**
|
|
59
|
+
* Encoding of various path parameter
|
|
60
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
61
|
+
* <p>
|
|
62
|
+
* See {@link README.md} for more details
|
|
63
|
+
* </p>
|
|
64
|
+
*/
|
|
65
|
+
encodeParam: (param: Param) => string;
|
|
66
|
+
/**
|
|
67
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
68
|
+
* document. They should map to the value used for authentication
|
|
69
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
70
|
+
*/
|
|
71
|
+
credentials: {
|
|
72
|
+
[key: string]: string | (() => string | undefined);
|
|
73
|
+
};
|
|
74
|
+
constructor(configurationParameters?: ConfigurationParameters);
|
|
75
|
+
/**
|
|
76
|
+
* Select the correct content-type to use for a request.
|
|
77
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
78
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
79
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
80
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
81
|
+
*/
|
|
82
|
+
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Select the correct accept content-type to use for a request.
|
|
85
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
86
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
87
|
+
* @param accepts - the array of content types that are available for selection.
|
|
88
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
89
|
+
*/
|
|
90
|
+
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Check if the given MIME is a JSON MIME.
|
|
93
|
+
* JSON MIME examples:
|
|
94
|
+
* application/json
|
|
95
|
+
* application/json; charset=UTF8
|
|
96
|
+
* APPLICATION/JSON
|
|
97
|
+
* application/vnd.company+json
|
|
98
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
99
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
100
|
+
*/
|
|
101
|
+
isJsonMime(mime: string): boolean;
|
|
102
|
+
lookupCredential(key: string): string | undefined;
|
|
103
|
+
private defaultEncodeParam;
|
|
104
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
-
/**
|
|
3
|
-
* Custom HttpParameterCodec
|
|
4
|
-
* Workaround for https://github.com/angular/angular/issues/18261
|
|
5
|
-
*/
|
|
6
|
-
export declare class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
7
|
-
encodeKey(k: string): string;
|
|
8
|
-
encodeValue(v: string): string;
|
|
9
|
-
decodeKey(k: string): string;
|
|
10
|
-
decodeValue(v: string): string;
|
|
11
|
-
}
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
/**
|
|
3
|
+
* Custom HttpParameterCodec
|
|
4
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
5
|
+
*/
|
|
6
|
+
export declare class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
7
|
+
encodeKey(k: string): string;
|
|
8
|
+
encodeValue(v: string): string;
|
|
9
|
+
decodeKey(k: string): string;
|
|
10
|
+
decodeValue(v: string): string;
|
|
11
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './api/api';
|
|
2
|
-
export * from './model/models';
|
|
3
|
-
export * from './variables';
|
|
4
|
-
export * from './configuration';
|
|
5
|
-
export * from './api.module';
|
|
6
|
-
export * from './param';
|
|
1
|
+
export * from './api/api';
|
|
2
|
+
export * from './model/models';
|
|
3
|
+
export * from './variables';
|
|
4
|
+
export * from './configuration';
|
|
5
|
+
export * from './api.module';
|
|
6
|
+
export * from './param';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './value';
|
|
2
|
-
export * from './valueSetData';
|
|
3
|
-
export * from './valueSetDefinition';
|
|
4
|
-
export * from './valueSetDefinitionData';
|
|
5
|
-
export * from './valueSetDefinitionKind';
|
|
6
|
-
export * from './valueSetExpression';
|
|
7
|
-
export * from './valueSetOperand';
|
|
8
|
-
export * from './valueSetOperation';
|
|
1
|
+
export * from './value';
|
|
2
|
+
export * from './valueSetData';
|
|
3
|
+
export * from './valueSetDefinition';
|
|
4
|
+
export * from './valueSetDefinitionData';
|
|
5
|
+
export * from './valueSetDefinitionKind';
|
|
6
|
+
export * from './valueSetExpression';
|
|
7
|
+
export * from './valueSetOperand';
|
|
8
|
+
export * from './valueSetOperation';
|