@smartbit4all/ng-client 1.1.42 → 1.1.44
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 +165 -165
- 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 +46 -46
- 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 +225 -225
- package/esm2020/lib/session/smart-timer/smart-session-timer.component.mjs +35 -35
- package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +52 -52
- package/esm2020/lib/smart-client/api/api/api.mjs +4 -4
- package/esm2020/lib/smart-client/api/api/default.service.mjs +133 -133
- package/esm2020/lib/smart-client/api/api.module.mjs +40 -40
- package/esm2020/lib/smart-client/api/configuration.mjs +91 -91
- package/esm2020/lib/smart-client/api/encoder.mjs +19 -19
- package/esm2020/lib/smart-client/api/index.mjs +7 -7
- package/esm2020/lib/smart-client/api/model/componentType.mjs +17 -17
- package/esm2020/lib/smart-client/api/model/componentWidgetType.mjs +17 -15
- package/esm2020/lib/smart-client/api/model/layoutDirection.mjs +16 -16
- package/esm2020/lib/smart-client/api/model/models.mjs +6 -6
- package/esm2020/lib/smart-client/api/model/smartComponentLayoutDefinition.mjs +2 -2
- package/esm2020/lib/smart-client/api/model/smartComponentWidgetDefinition.mjs +2 -2
- package/esm2020/lib/smart-client/api/param.mjs +2 -2
- package/esm2020/lib/smart-client/api/variables.mjs +9 -9
- package/esm2020/lib/smart-client/projects.mjs +5 -5
- package/esm2020/lib/smart-client/smart-authentication.service.mjs +21 -21
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +403 -378
- package/esm2020/lib/smart-client/smart-component-layout/smart-component-layout.component.mjs +126 -104
- package/esm2020/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +50 -50
- package/esm2020/lib/smart-client/smart.component.mjs +30 -30
- package/esm2020/lib/smart-client/smart.service.mjs +30 -30
- package/esm2020/lib/smart-ng-client.module.mjs +62 -58
- 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 +859 -859
- 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 +40 -40
- 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/uiActionConstraint.mjs +13 -13
- 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 +20 -20
- package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uploadedFile.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 +48 -48
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +68 -68
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +53 -53
- 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 +52 -52
- 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 +119 -119
- 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 +182 -182
- 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 +87 -87
- package/esm2020/lib/view-context/smart-view-context.service.mjs +536 -536
- 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 +12 -12
- package/esm2020/smartbit4all-ng-client.mjs +4 -4
- package/fesm2015/smartbit4all-ng-client.mjs +5295 -5242
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +5259 -5207
- 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 +57 -57
- 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 +54 -54
- 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/api/api/api.d.ts +3 -3
- package/lib/smart-client/api/api/default.service.d.ts +33 -33
- package/lib/smart-client/api/api.module.d.ts +11 -11
- package/lib/smart-client/api/configuration.d.ts +104 -104
- package/lib/smart-client/api/encoder.d.ts +11 -11
- package/lib/smart-client/api/index.d.ts +6 -6
- package/lib/smart-client/api/model/componentType.d.ts +17 -17
- package/lib/smart-client/api/model/componentWidgetType.d.ts +17 -15
- package/lib/smart-client/api/model/layoutDirection.d.ts +16 -16
- package/lib/smart-client/api/model/models.d.ts +5 -5
- package/lib/smart-client/api/model/smartComponentLayoutDefinition.d.ts +29 -29
- package/lib/smart-client/api/model/smartComponentWidgetDefinition.d.ts +20 -18
- package/lib/smart-client/api/param.d.ts +37 -37
- package/lib/smart-client/api/variables.d.ts +8 -8
- package/lib/smart-client/projects.d.ts +4 -4
- package/lib/smart-client/smart-authentication.service.d.ts +15 -15
- package/lib/smart-client/smart-component-api-client.d.ts +93 -92
- package/lib/smart-client/smart-component-layout/smart-component-layout.component.d.ts +32 -27
- package/lib/smart-client/smart-file-uploader/smart-file-uploader.component.d.ts +18 -18
- package/lib/smart-client/smart.component.d.ts +11 -11
- package/lib/smart-client/smart.service.d.ts +11 -11
- package/lib/smart-ng-client.module.d.ts +16 -15
- 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 +313 -313
- 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 +35 -35
- 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 +39 -39
- 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/uiActionConstraint.d.ts +22 -22
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +36 -36
- 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 +20 -20
- package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
- package/lib/view-context/api/model/uiActionUploadDescriptor.d.ts +23 -23
- package/lib/view-context/api/model/uploadedFile.d.ts +19 -19
- 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-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +30 -30
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +22 -22
- 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 +37 -37
- 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 +21 -21
- package/lib/view-context/smart-view-context.service.d.ts +106 -106
- 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 +2 -1
- package/projects.d.ts +8 -8
- 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.44.tgz +0 -0
- package/smartbit4all-ng-client.d.ts +5 -5
- package/src/lib/session/api/README.md +226 -226
- package/src/lib/smart-client/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.42.tgz +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { SmartDevToolDialogService } from '../smart-dev-tool-dialog/smart-dev-tool-dialog.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SmartDevToolFloatingButtonComponent implements OnDestroy {
|
|
5
|
-
private service;
|
|
6
|
-
private _destroy$;
|
|
7
|
-
adminKeyName: string;
|
|
8
|
-
isShown: boolean;
|
|
9
|
-
errorsCount: string;
|
|
10
|
-
constructor(service: SmartDevToolDialogService);
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
openDevToolDialog(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolFloatingButtonComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartDevToolFloatingButtonComponent, "smart-session-dev-tool", never, {}, {}, never, never>;
|
|
15
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { SmartDevToolDialogService } from '../smart-dev-tool-dialog/smart-dev-tool-dialog.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SmartDevToolFloatingButtonComponent implements OnDestroy {
|
|
5
|
+
private service;
|
|
6
|
+
private _destroy$;
|
|
7
|
+
adminKeyName: string;
|
|
8
|
+
isShown: boolean;
|
|
9
|
+
errorsCount: string;
|
|
10
|
+
constructor(service: SmartDevToolDialogService);
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
openDevToolDialog(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolFloatingButtonComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartDevToolFloatingButtonComponent, "smart-session-dev-tool", never, {}, {}, never, never>;
|
|
15
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { SmartDevToolService } from "./smart-dev-tool.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartDevToolInterceptor implements HttpInterceptor {
|
|
6
|
-
private service;
|
|
7
|
-
constructor(service: SmartDevToolService);
|
|
8
|
-
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolInterceptor, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolInterceptor>;
|
|
11
|
-
}
|
|
12
|
-
export declare class SmartDevToolErrorInterceptor implements HttpInterceptor {
|
|
13
|
-
private service;
|
|
14
|
-
constructor(service: SmartDevToolService);
|
|
15
|
-
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolErrorInterceptor, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolErrorInterceptor>;
|
|
18
|
-
}
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { SmartDevToolService } from "./smart-dev-tool.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartDevToolInterceptor implements HttpInterceptor {
|
|
6
|
+
private service;
|
|
7
|
+
constructor(service: SmartDevToolService);
|
|
8
|
+
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolInterceptor, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolInterceptor>;
|
|
11
|
+
}
|
|
12
|
+
export declare class SmartDevToolErrorInterceptor implements HttpInterceptor {
|
|
13
|
+
private service;
|
|
14
|
+
constructor(service: SmartDevToolService);
|
|
15
|
+
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolErrorInterceptor, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolErrorInterceptor>;
|
|
18
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { DatePipe } from '@angular/common';
|
|
2
|
-
import { HttpErrorResponse, HttpRequest, HttpResponse } from '@angular/common/http';
|
|
3
|
-
import { OnDestroy, PipeTransform } from '@angular/core';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { SmartCookieService } from '../cookie-service/smart-cookie.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SmartDevToolService implements OnDestroy {
|
|
8
|
-
private cookieService;
|
|
9
|
-
descriptor?: SmartDevToolDescriptor;
|
|
10
|
-
smartDevToolName: string;
|
|
11
|
-
isSmartDevToolActiveName: string;
|
|
12
|
-
isActive: boolean;
|
|
13
|
-
smartDevToolHoursName: string;
|
|
14
|
-
smartDevToolMaxName: string;
|
|
15
|
-
hoursToSave: number;
|
|
16
|
-
maxNumOfSavedCalls: number;
|
|
17
|
-
private _destroy$;
|
|
18
|
-
descriptorChanged: Subject<void>;
|
|
19
|
-
newErrorsCount: number;
|
|
20
|
-
newErrorsCountChanged: Subject<void>;
|
|
21
|
-
constructor(cookieService: SmartCookieService);
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
private setUpLocalStorage;
|
|
24
|
-
writeResponse(request: HttpRequest<any>, response: HttpResponse<any> | HttpErrorResponse, requestDate: Date, responseDate: Date): void;
|
|
25
|
-
clearErrors(): void;
|
|
26
|
-
createObject(keys: string[], mapWithValues: any, useGetItem: boolean): any;
|
|
27
|
-
sanitizeByTime(): void;
|
|
28
|
-
sanitizeByLength(): void;
|
|
29
|
-
save(): void;
|
|
30
|
-
clear(): void;
|
|
31
|
-
getPureString(): string;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolService>;
|
|
34
|
-
}
|
|
35
|
-
export interface SmartDevToolDescriptor {
|
|
36
|
-
apiCalls: SmartDevToolApiCallDescriptor[];
|
|
37
|
-
}
|
|
38
|
-
export interface SmartDevToolApiCallDescriptor {
|
|
39
|
-
url: string | null;
|
|
40
|
-
responseBody: any;
|
|
41
|
-
responseHeader: any;
|
|
42
|
-
responseStatus: number;
|
|
43
|
-
responseStatusText: string;
|
|
44
|
-
responseDate: Date;
|
|
45
|
-
requestHeader: any;
|
|
46
|
-
requestBody: any;
|
|
47
|
-
requestDate: Date;
|
|
48
|
-
requestMethod: string;
|
|
49
|
-
localStorage: any;
|
|
50
|
-
sessionStorage: any;
|
|
51
|
-
cookies: any;
|
|
52
|
-
}
|
|
53
|
-
export declare class SmartDevToolDatePipe extends DatePipe implements PipeTransform {
|
|
54
|
-
transform(value: any, format?: string): any;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolDatePipe, never>;
|
|
56
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SmartDevToolDatePipe, "smartDevToolDatePipe">;
|
|
57
|
-
}
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { HttpErrorResponse, HttpRequest, HttpResponse } from '@angular/common/http';
|
|
3
|
+
import { OnDestroy, PipeTransform } from '@angular/core';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { SmartCookieService } from '../cookie-service/smart-cookie.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SmartDevToolService implements OnDestroy {
|
|
8
|
+
private cookieService;
|
|
9
|
+
descriptor?: SmartDevToolDescriptor;
|
|
10
|
+
smartDevToolName: string;
|
|
11
|
+
isSmartDevToolActiveName: string;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
smartDevToolHoursName: string;
|
|
14
|
+
smartDevToolMaxName: string;
|
|
15
|
+
hoursToSave: number;
|
|
16
|
+
maxNumOfSavedCalls: number;
|
|
17
|
+
private _destroy$;
|
|
18
|
+
descriptorChanged: Subject<void>;
|
|
19
|
+
newErrorsCount: number;
|
|
20
|
+
newErrorsCountChanged: Subject<void>;
|
|
21
|
+
constructor(cookieService: SmartCookieService);
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
private setUpLocalStorage;
|
|
24
|
+
writeResponse(request: HttpRequest<any>, response: HttpResponse<any> | HttpErrorResponse, requestDate: Date, responseDate: Date): void;
|
|
25
|
+
clearErrors(): void;
|
|
26
|
+
createObject(keys: string[], mapWithValues: any, useGetItem: boolean): any;
|
|
27
|
+
sanitizeByTime(): void;
|
|
28
|
+
sanitizeByLength(): void;
|
|
29
|
+
save(): void;
|
|
30
|
+
clear(): void;
|
|
31
|
+
getPureString(): string;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolService>;
|
|
34
|
+
}
|
|
35
|
+
export interface SmartDevToolDescriptor {
|
|
36
|
+
apiCalls: SmartDevToolApiCallDescriptor[];
|
|
37
|
+
}
|
|
38
|
+
export interface SmartDevToolApiCallDescriptor {
|
|
39
|
+
url: string | null;
|
|
40
|
+
responseBody: any;
|
|
41
|
+
responseHeader: any;
|
|
42
|
+
responseStatus: number;
|
|
43
|
+
responseStatusText: string;
|
|
44
|
+
responseDate: Date;
|
|
45
|
+
requestHeader: any;
|
|
46
|
+
requestBody: any;
|
|
47
|
+
requestDate: Date;
|
|
48
|
+
requestMethod: string;
|
|
49
|
+
localStorage: any;
|
|
50
|
+
sessionStorage: any;
|
|
51
|
+
cookies: any;
|
|
52
|
+
}
|
|
53
|
+
export declare class SmartDevToolDatePipe extends DatePipe implements PipeTransform {
|
|
54
|
+
transform(value: any, format?: string): any;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolDatePipe, never>;
|
|
56
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SmartDevToolDatePipe, "smartDevToolDatePipe">;
|
|
57
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./smart-session.service";
|
|
2
|
-
export * from "./api/index";
|
|
3
|
-
export * from "./smart-session.module";
|
|
4
|
-
export * from "./dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component";
|
|
5
|
-
export * from "./dev-tool/smart-dev-tool.service";
|
|
6
|
-
export * from "./smart-session-handler.service";
|
|
7
|
-
export * from "./smart-timer/smart-session-timer.component";
|
|
8
|
-
export * from "./smart-timer/smart-session-timer.service";
|
|
1
|
+
export * from "./smart-session.service";
|
|
2
|
+
export * from "./api/index";
|
|
3
|
+
export * from "./smart-session.module";
|
|
4
|
+
export * from "./dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component";
|
|
5
|
+
export * from "./dev-tool/smart-dev-tool.service";
|
|
6
|
+
export * from "./smart-session-handler.service";
|
|
7
|
+
export * from "./smart-timer/smart-session-timer.component";
|
|
8
|
+
export * from "./smart-timer/smart-session-timer.service";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { SessionError, SmartSessionService } from "./projects";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartErrorCatchingInterceptor implements HttpInterceptor {
|
|
6
|
-
private session;
|
|
7
|
-
sessionErrorCodes: SessionError[];
|
|
8
|
-
constructor(session: SmartSessionService);
|
|
9
|
-
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
10
|
-
resolveError(sessionError: SessionError): Observable<any>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartErrorCatchingInterceptor, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartErrorCatchingInterceptor>;
|
|
13
|
-
}
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { SessionError, SmartSessionService } from "./projects";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartErrorCatchingInterceptor implements HttpInterceptor {
|
|
6
|
+
private session;
|
|
7
|
+
sessionErrorCodes: SessionError[];
|
|
8
|
+
constructor(session: SmartSessionService);
|
|
9
|
+
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
10
|
+
resolveError(sessionError: SessionError): Observable<any>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartErrorCatchingInterceptor, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartErrorCatchingInterceptor>;
|
|
13
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { SmartSessionService } from './smart-session.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartHeaderMaintainerInterceptor implements HttpInterceptor {
|
|
6
|
-
private session;
|
|
7
|
-
constructor(session: SmartSessionService);
|
|
8
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartHeaderMaintainerInterceptor, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartHeaderMaintainerInterceptor>;
|
|
11
|
-
}
|
|
1
|
+
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SmartSessionService } from './smart-session.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartHeaderMaintainerInterceptor implements HttpInterceptor {
|
|
6
|
+
private session;
|
|
7
|
+
constructor(session: SmartSessionService);
|
|
8
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartHeaderMaintainerInterceptor, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartHeaderMaintainerInterceptor>;
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface SmartSessionHandlerService {
|
|
2
|
-
handleSessionError(sessionError: SessionError): Promise<void>;
|
|
3
|
-
}
|
|
4
|
-
export interface SessionError {
|
|
5
|
-
code: string;
|
|
6
|
-
behaviour: SessionErrorBehaviour;
|
|
7
|
-
}
|
|
8
|
-
export declare enum SessionErrorBehaviour {
|
|
9
|
-
REFRESH = 0,
|
|
10
|
-
RESTART = 1
|
|
11
|
-
}
|
|
1
|
+
export interface SmartSessionHandlerService {
|
|
2
|
+
handleSessionError(sessionError: SessionError): Promise<void>;
|
|
3
|
+
}
|
|
4
|
+
export interface SessionError {
|
|
5
|
+
code: string;
|
|
6
|
+
behaviour: SessionErrorBehaviour;
|
|
7
|
+
}
|
|
8
|
+
export declare enum SessionErrorBehaviour {
|
|
9
|
+
REFRESH = 0,
|
|
10
|
+
RESTART = 1
|
|
11
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component";
|
|
3
|
-
import * as i2 from "./dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component";
|
|
4
|
-
import * as i3 from "./dev-tool/smart-dev-tool.service";
|
|
5
|
-
import * as i4 from "./smart-timer/smart-session-timer.component";
|
|
6
|
-
import * as i5 from "@angular/platform-browser";
|
|
7
|
-
import * as i6 from "@angular/material/core";
|
|
8
|
-
import * as i7 from "@angular/material/expansion";
|
|
9
|
-
import * as i8 from "@angular/material/button";
|
|
10
|
-
import * as i9 from "@smartbit4all/icon";
|
|
11
|
-
export declare class SmartSessionModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartSessionModule, [typeof i1.SmartDevToolDialogComponent, typeof i2.SmartDevToolFloatingButtonComponent, typeof i3.SmartDevToolDatePipe, typeof i4.SmartSessionTimerComponent], [typeof i5.BrowserModule, typeof i6.MatCommonModule, typeof i7.MatExpansionModule, typeof i8.MatButtonModule, typeof i9.SmartIconModule], [typeof i2.SmartDevToolFloatingButtonComponent, typeof i4.SmartSessionTimerComponent]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SmartSessionModule>;
|
|
15
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component";
|
|
3
|
+
import * as i2 from "./dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component";
|
|
4
|
+
import * as i3 from "./dev-tool/smart-dev-tool.service";
|
|
5
|
+
import * as i4 from "./smart-timer/smart-session-timer.component";
|
|
6
|
+
import * as i5 from "@angular/platform-browser";
|
|
7
|
+
import * as i6 from "@angular/material/core";
|
|
8
|
+
import * as i7 from "@angular/material/expansion";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@smartbit4all/icon";
|
|
11
|
+
export declare class SmartSessionModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartSessionModule, [typeof i1.SmartDevToolDialogComponent, typeof i2.SmartDevToolFloatingButtonComponent, typeof i3.SmartDevToolDatePipe, typeof i4.SmartSessionTimerComponent], [typeof i5.BrowserModule, typeof i6.MatCommonModule, typeof i7.MatExpansionModule, typeof i8.MatButtonModule, typeof i9.SmartIconModule], [typeof i2.SmartDevToolFloatingButtonComponent, typeof i4.SmartSessionTimerComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartSessionModule>;
|
|
15
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { AuthenticationProviderData, SessionInfoData, SessionService } from './api';
|
|
4
|
-
import { SmartCookieService } from './cookie-service/smart-cookie.service';
|
|
5
|
-
import { SessionError, SmartSessionHandlerService } from './smart-session-handler.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface HeaderParam {
|
|
8
|
-
headerName: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class SmartSessionService implements OnDestroy {
|
|
12
|
-
private apiService;
|
|
13
|
-
private cookieService;
|
|
14
|
-
private basePath?;
|
|
15
|
-
private token?;
|
|
16
|
-
private _sessionInfoData?;
|
|
17
|
-
private _destroy$;
|
|
18
|
-
get sessionInfoData(): SessionInfoData | undefined;
|
|
19
|
-
private set sessionInfoData(value);
|
|
20
|
-
private providers?;
|
|
21
|
-
private cookieName?;
|
|
22
|
-
isAuthenticated: boolean;
|
|
23
|
-
authenticationStateChanged: Subject<boolean>;
|
|
24
|
-
headerParams: Array<HeaderParam>;
|
|
25
|
-
headersUpdated: Subject<void>;
|
|
26
|
-
private localStorageLocaleName;
|
|
27
|
-
localeChanged: Subject<void>;
|
|
28
|
-
private initializeRunning;
|
|
29
|
-
sessionExpiracyChanged: Subject<void>;
|
|
30
|
-
private sessionHandlerService?;
|
|
31
|
-
constructor(apiService: SessionService, cookieService: SmartCookieService);
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
setSessionHandlerService(smartSessionHandlerService: SmartSessionHandlerService): void;
|
|
34
|
-
handleSessionError(sessionError: SessionError): Promise<void>;
|
|
35
|
-
addHeaderParam(headerParam: HeaderParam): void;
|
|
36
|
-
private setUpTokenForSessionService;
|
|
37
|
-
setUrl(url: string): void;
|
|
38
|
-
getBasePath(): string;
|
|
39
|
-
setCookieName(name: string): void;
|
|
40
|
-
private saveTokenToLocalStorage;
|
|
41
|
-
private setAuthenticationStatus;
|
|
42
|
-
private checkStatements;
|
|
43
|
-
initialize(): Promise<void>;
|
|
44
|
-
private startSession;
|
|
45
|
-
getSession(): Promise<SessionInfoData>;
|
|
46
|
-
refreshSession(): Promise<SessionInfoData>;
|
|
47
|
-
getAuthenticationProviders(): Promise<Array<AuthenticationProviderData>>;
|
|
48
|
-
getIsAuthenticated(): Promise<boolean>;
|
|
49
|
-
clearAndStartNewSession(): Promise<void>;
|
|
50
|
-
getLocale(): string;
|
|
51
|
-
changeLocale(locale: string): Promise<void>;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionService, never>;
|
|
53
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartSessionService>;
|
|
54
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { AuthenticationProviderData, SessionInfoData, SessionService } from './api';
|
|
4
|
+
import { SmartCookieService } from './cookie-service/smart-cookie.service';
|
|
5
|
+
import { SessionError, SmartSessionHandlerService } from './smart-session-handler.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface HeaderParam {
|
|
8
|
+
headerName: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class SmartSessionService implements OnDestroy {
|
|
12
|
+
private apiService;
|
|
13
|
+
private cookieService;
|
|
14
|
+
private basePath?;
|
|
15
|
+
private token?;
|
|
16
|
+
private _sessionInfoData?;
|
|
17
|
+
private _destroy$;
|
|
18
|
+
get sessionInfoData(): SessionInfoData | undefined;
|
|
19
|
+
private set sessionInfoData(value);
|
|
20
|
+
private providers?;
|
|
21
|
+
private cookieName?;
|
|
22
|
+
isAuthenticated: boolean;
|
|
23
|
+
authenticationStateChanged: Subject<boolean>;
|
|
24
|
+
headerParams: Array<HeaderParam>;
|
|
25
|
+
headersUpdated: Subject<void>;
|
|
26
|
+
private localStorageLocaleName;
|
|
27
|
+
localeChanged: Subject<void>;
|
|
28
|
+
private initializeRunning;
|
|
29
|
+
sessionExpiracyChanged: Subject<void>;
|
|
30
|
+
private sessionHandlerService?;
|
|
31
|
+
constructor(apiService: SessionService, cookieService: SmartCookieService);
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
setSessionHandlerService(smartSessionHandlerService: SmartSessionHandlerService): void;
|
|
34
|
+
handleSessionError(sessionError: SessionError): Promise<void>;
|
|
35
|
+
addHeaderParam(headerParam: HeaderParam): void;
|
|
36
|
+
private setUpTokenForSessionService;
|
|
37
|
+
setUrl(url: string): void;
|
|
38
|
+
getBasePath(): string;
|
|
39
|
+
setCookieName(name: string): void;
|
|
40
|
+
private saveTokenToLocalStorage;
|
|
41
|
+
private setAuthenticationStatus;
|
|
42
|
+
private checkStatements;
|
|
43
|
+
initialize(): Promise<void>;
|
|
44
|
+
private startSession;
|
|
45
|
+
getSession(): Promise<SessionInfoData>;
|
|
46
|
+
refreshSession(): Promise<SessionInfoData>;
|
|
47
|
+
getAuthenticationProviders(): Promise<Array<AuthenticationProviderData>>;
|
|
48
|
+
getIsAuthenticated(): Promise<boolean>;
|
|
49
|
+
clearAndStartNewSession(): Promise<void>;
|
|
50
|
+
getLocale(): string;
|
|
51
|
+
changeLocale(locale: string): Promise<void>;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionService, never>;
|
|
53
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartSessionService>;
|
|
54
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SmartSessionTimerService } from './smart-session-timer.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SmartSessionTimerComponent implements OnInit, OnDestroy {
|
|
5
|
-
service: SmartSessionTimerService;
|
|
6
|
-
private _destroy$;
|
|
7
|
-
timeInSeconds?: number;
|
|
8
|
-
constructor(service: SmartSessionTimerService);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
formatTime(seconds: number): string;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionTimerComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartSessionTimerComponent, "smart-session-timer", never, {}, {}, never, never>;
|
|
14
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SmartSessionTimerService } from './smart-session-timer.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SmartSessionTimerComponent implements OnInit, OnDestroy {
|
|
5
|
+
service: SmartSessionTimerService;
|
|
6
|
+
private _destroy$;
|
|
7
|
+
timeInSeconds?: number;
|
|
8
|
+
constructor(service: SmartSessionTimerService);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
formatTime(seconds: number): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionTimerComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartSessionTimerComponent, "smart-session-timer", never, {}, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { SmartSessionService } from '../smart-session.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartSessionTimerService implements OnDestroy {
|
|
6
|
-
private session;
|
|
7
|
-
private _destroy$;
|
|
8
|
-
totalTimeInMinutes: number;
|
|
9
|
-
timeLeftInSeconds?: number;
|
|
10
|
-
readonly sessionExpiration: string;
|
|
11
|
-
timeChanged: Subject<void>;
|
|
12
|
-
onTimerExpired: Subject<void>;
|
|
13
|
-
timer: any;
|
|
14
|
-
constructor(session: SmartSessionService);
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
startTimer(): void;
|
|
17
|
-
restart(): void;
|
|
18
|
-
timeout(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionTimerService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartSessionTimerService>;
|
|
21
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { SmartSessionService } from '../smart-session.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartSessionTimerService implements OnDestroy {
|
|
6
|
+
private session;
|
|
7
|
+
private _destroy$;
|
|
8
|
+
totalTimeInMinutes: number;
|
|
9
|
+
timeLeftInSeconds?: number;
|
|
10
|
+
readonly sessionExpiration: string;
|
|
11
|
+
timeChanged: Subject<void>;
|
|
12
|
+
onTimerExpired: Subject<void>;
|
|
13
|
+
timer: any;
|
|
14
|
+
constructor(session: SmartSessionService);
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
startTimer(): void;
|
|
17
|
+
restart(): void;
|
|
18
|
+
timeout(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionTimerService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartSessionTimerService>;
|
|
21
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './default.service';
|
|
2
|
-
import { DefaultService } from './default.service';
|
|
3
|
-
export declare const APIS: (typeof DefaultService)[];
|
|
1
|
+
export * from './default.service';
|
|
2
|
+
import { DefaultService } from './default.service';
|
|
3
|
+
export declare const APIS: (typeof DefaultService)[];
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Configuration } from '../configuration';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DefaultService {
|
|
6
|
-
protected httpClient: HttpClient;
|
|
7
|
-
protected basePath: string;
|
|
8
|
-
defaultHeaders: HttpHeaders;
|
|
9
|
-
configuration: Configuration;
|
|
10
|
-
encoder: HttpParameterCodec;
|
|
11
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
12
|
-
private addToHttpParams;
|
|
13
|
-
private addToHttpParamsRecursive;
|
|
14
|
-
/**
|
|
15
|
-
* Placeholder for generation
|
|
16
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
17
|
-
* @param reportProgress flag to report request and response progress.
|
|
18
|
-
*/
|
|
19
|
-
nopePost(observe?: 'body', reportProgress?: boolean, options?: {
|
|
20
|
-
httpHeaderAccept?: undefined;
|
|
21
|
-
context?: HttpContext;
|
|
22
|
-
}): Observable<any>;
|
|
23
|
-
nopePost(observe?: 'response', reportProgress?: boolean, options?: {
|
|
24
|
-
httpHeaderAccept?: undefined;
|
|
25
|
-
context?: HttpContext;
|
|
26
|
-
}): Observable<HttpResponse<any>>;
|
|
27
|
-
nopePost(observe?: 'events', reportProgress?: boolean, options?: {
|
|
28
|
-
httpHeaderAccept?: undefined;
|
|
29
|
-
context?: HttpContext;
|
|
30
|
-
}): Observable<HttpEvent<any>>;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultService, [null, { optional: true; }, { optional: true; }]>;
|
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultService>;
|
|
33
|
-
}
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Configuration } from '../configuration';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DefaultService {
|
|
6
|
+
protected httpClient: HttpClient;
|
|
7
|
+
protected basePath: string;
|
|
8
|
+
defaultHeaders: HttpHeaders;
|
|
9
|
+
configuration: Configuration;
|
|
10
|
+
encoder: HttpParameterCodec;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
12
|
+
private addToHttpParams;
|
|
13
|
+
private addToHttpParamsRecursive;
|
|
14
|
+
/**
|
|
15
|
+
* Placeholder for generation
|
|
16
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
17
|
+
* @param reportProgress flag to report request and response progress.
|
|
18
|
+
*/
|
|
19
|
+
nopePost(observe?: 'body', reportProgress?: boolean, options?: {
|
|
20
|
+
httpHeaderAccept?: undefined;
|
|
21
|
+
context?: HttpContext;
|
|
22
|
+
}): Observable<any>;
|
|
23
|
+
nopePost(observe?: 'response', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: undefined;
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
}): Observable<HttpResponse<any>>;
|
|
27
|
+
nopePost(observe?: 'events', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: undefined;
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
}): Observable<HttpEvent<any>>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultService, [null, { optional: true; }, { optional: true; }]>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultService>;
|
|
33
|
+
}
|
|
@@ -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
|
+
}
|