@smartbit4all/ng-client 1.1.30 → 1.1.31
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/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 +330 -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-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 +859 -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 +40 -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/uiActionConstraint.mjs +13 -0
- 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 -18
- package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +13 -0
- package/esm2020/lib/view-context/api/model/uploadedFile.mjs +13 -0
- 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 -0
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +53 -0
- 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 -155
- 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 -84
- package/esm2020/lib/view-context/smart-view-context.service.mjs +536 -510
- 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 +4688 -4343
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +4668 -4298
- 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/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 +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-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 +313 -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 +35 -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 +39 -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/uiActionConstraint.d.ts +22 -0
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +36 -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 +20 -18
- package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
- package/lib/view-context/api/model/uiActionUploadDescriptor.d.ts +23 -0
- package/lib/view-context/api/model/uploadedFile.d.ts +19 -0
- 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 -0
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +22 -0
- 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 -34
- 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 -20
- package/lib/view-context/smart-view-context.service.d.ts +106 -102
- 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.31.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.30.tgz +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Session api
|
|
3
|
-
* Session api...
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: info@it4all.hu
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export interface RefreshSessionRequest {
|
|
13
|
-
refreshToken: string;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Session api
|
|
3
|
+
* Session api...
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface RefreshSessionRequest {
|
|
13
|
+
refreshToken: string;
|
|
14
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Session api
|
|
3
|
-
* Session api...
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: info@it4all.hu
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AccountInfo } from './accountInfo';
|
|
13
|
-
export interface Session {
|
|
14
|
-
uri?: string;
|
|
15
|
-
expiration?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The expiration time of the current refresh token. If this time is over then the session is definetely invalid.
|
|
18
|
-
*/
|
|
19
|
-
refreshExpiration?: string;
|
|
20
|
-
locale?: string;
|
|
21
|
-
authentications: Array<AccountInfo>;
|
|
22
|
-
user?: string;
|
|
23
|
-
parameters: {
|
|
24
|
-
[key: string]: string;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* ViewContexts in this session, URIs by UUID.
|
|
28
|
-
*/
|
|
29
|
-
viewContexts: {
|
|
30
|
-
[key: string]: string;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Session api
|
|
3
|
+
* Session api...
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AccountInfo } from './accountInfo';
|
|
13
|
+
export interface Session {
|
|
14
|
+
uri?: string;
|
|
15
|
+
expiration?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The expiration time of the current refresh token. If this time is over then the session is definetely invalid.
|
|
18
|
+
*/
|
|
19
|
+
refreshExpiration?: string;
|
|
20
|
+
locale?: string;
|
|
21
|
+
authentications: Array<AccountInfo>;
|
|
22
|
+
user?: string;
|
|
23
|
+
parameters: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* ViewContexts in this session, URIs by UUID.
|
|
28
|
+
*/
|
|
29
|
+
viewContexts: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Session api
|
|
3
|
-
* Session api...
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: info@it4all.hu
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AccountInfo } from './accountInfo';
|
|
13
|
-
export interface SessionInfoData {
|
|
14
|
-
sid: string;
|
|
15
|
-
/**
|
|
16
|
-
* The current refresh token.
|
|
17
|
-
*/
|
|
18
|
-
refreshToken?: string;
|
|
19
|
-
expiration?: string;
|
|
20
|
-
locale?: string;
|
|
21
|
-
authentications?: Array<AccountInfo>;
|
|
22
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Session api
|
|
3
|
+
* Session api...
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AccountInfo } from './accountInfo';
|
|
13
|
+
export interface SessionInfoData {
|
|
14
|
+
sid: string;
|
|
15
|
+
/**
|
|
16
|
+
* The current refresh token.
|
|
17
|
+
*/
|
|
18
|
+
refreshToken?: string;
|
|
19
|
+
expiration?: string;
|
|
20
|
+
locale?: string;
|
|
21
|
+
authentications?: Array<AccountInfo>;
|
|
22
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Session api
|
|
3
|
-
* Session api...
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: info@it4all.hu
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* When a user executes an activity this entry is created based on the current session. It contains the information we know about the user and the time of the execution. The user is not necessarily user of the system so the user uri is optional and the user is a copied value from the session.
|
|
14
|
-
*/
|
|
15
|
-
export interface UserActivityLog {
|
|
16
|
-
/**
|
|
17
|
-
* The uri reference of the user.
|
|
18
|
-
*/
|
|
19
|
-
userUri?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The login name of the user.
|
|
22
|
-
*/
|
|
23
|
-
userName?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The role of the user.
|
|
26
|
-
*/
|
|
27
|
-
role?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The natural name of the user.
|
|
30
|
-
*/
|
|
31
|
-
name?: string;
|
|
32
|
-
timestamp?: string;
|
|
33
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Session api
|
|
3
|
+
* Session api...
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* When a user executes an activity this entry is created based on the current session. It contains the information we know about the user and the time of the execution. The user is not necessarily user of the system so the user uri is optional and the user is a copied value from the session.
|
|
14
|
+
*/
|
|
15
|
+
export interface UserActivityLog {
|
|
16
|
+
/**
|
|
17
|
+
* The uri reference of the user.
|
|
18
|
+
*/
|
|
19
|
+
userUri?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The login name of the user.
|
|
22
|
+
*/
|
|
23
|
+
userName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The role of the user.
|
|
26
|
+
*/
|
|
27
|
+
role?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The natural name of the user.
|
|
30
|
+
*/
|
|
31
|
+
name?: string;
|
|
32
|
+
timestamp?: string;
|
|
33
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Standard parameter styles defined by OpenAPI spec
|
|
3
|
-
*/
|
|
4
|
-
export declare type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
5
|
-
/**
|
|
6
|
-
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
7
|
-
*/
|
|
8
|
-
export declare type ParamStyle = StandardParamStyle | string;
|
|
9
|
-
/**
|
|
10
|
-
* Standard parameter locations defined by OpenAPI spec
|
|
11
|
-
*/
|
|
12
|
-
export declare type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
13
|
-
/**
|
|
14
|
-
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
15
|
-
*/
|
|
16
|
-
export declare type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
17
|
-
/**
|
|
18
|
-
* Standard {@link DataType}s plus your own types/classes.
|
|
19
|
-
*/
|
|
20
|
-
export declare type DataType = StandardDataType | string;
|
|
21
|
-
/**
|
|
22
|
-
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
23
|
-
*/
|
|
24
|
-
export declare type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
25
|
-
export declare type DataFormat = StandardDataFormat | string;
|
|
26
|
-
/**
|
|
27
|
-
* The parameter to encode.
|
|
28
|
-
*/
|
|
29
|
-
export interface Param {
|
|
30
|
-
name: string;
|
|
31
|
-
value: unknown;
|
|
32
|
-
in: ParamLocation;
|
|
33
|
-
style: ParamStyle;
|
|
34
|
-
explode: boolean;
|
|
35
|
-
dataType: DataType;
|
|
36
|
-
dataFormat: DataFormat | undefined;
|
|
37
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Standard parameter styles defined by OpenAPI spec
|
|
3
|
+
*/
|
|
4
|
+
export declare type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
5
|
+
/**
|
|
6
|
+
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
7
|
+
*/
|
|
8
|
+
export declare type ParamStyle = StandardParamStyle | string;
|
|
9
|
+
/**
|
|
10
|
+
* Standard parameter locations defined by OpenAPI spec
|
|
11
|
+
*/
|
|
12
|
+
export declare type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
13
|
+
/**
|
|
14
|
+
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
15
|
+
*/
|
|
16
|
+
export declare type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
17
|
+
/**
|
|
18
|
+
* Standard {@link DataType}s plus your own types/classes.
|
|
19
|
+
*/
|
|
20
|
+
export declare type DataType = StandardDataType | string;
|
|
21
|
+
/**
|
|
22
|
+
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
23
|
+
*/
|
|
24
|
+
export declare type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
25
|
+
export declare type DataFormat = StandardDataFormat | string;
|
|
26
|
+
/**
|
|
27
|
+
* The parameter to encode.
|
|
28
|
+
*/
|
|
29
|
+
export interface Param {
|
|
30
|
+
name: string;
|
|
31
|
+
value: unknown;
|
|
32
|
+
in: ParamLocation;
|
|
33
|
+
style: ParamStyle;
|
|
34
|
+
explode: boolean;
|
|
35
|
+
dataType: DataType;
|
|
36
|
+
dataFormat: DataFormat | undefined;
|
|
37
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const BASE_PATH: InjectionToken<string>;
|
|
3
|
-
export declare const COLLECTION_FORMATS: {
|
|
4
|
-
csv: string;
|
|
5
|
-
tsv: string;
|
|
6
|
-
ssv: string;
|
|
7
|
-
pipes: string;
|
|
8
|
-
};
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const BASE_PATH: InjectionToken<string>;
|
|
3
|
+
export declare const COLLECTION_FORMATS: {
|
|
4
|
+
csv: string;
|
|
5
|
+
tsv: string;
|
|
6
|
+
ssv: string;
|
|
7
|
+
pipes: string;
|
|
8
|
+
};
|
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare type SameSite = "Lax" | "None" | "Strict";
|
|
3
|
-
export interface CookieOptions {
|
|
4
|
-
expires?: number | Date;
|
|
5
|
-
path?: string;
|
|
6
|
-
domain?: string;
|
|
7
|
-
secure?: boolean;
|
|
8
|
-
sameSite?: SameSite;
|
|
9
|
-
}
|
|
10
|
-
export declare class SmartCookieService {
|
|
11
|
-
private document;
|
|
12
|
-
private platformId;
|
|
13
|
-
private readonly documentIsAccessible;
|
|
14
|
-
constructor(document: Document, platformId: any);
|
|
15
|
-
/**
|
|
16
|
-
* Get cookie Regular Expression
|
|
17
|
-
*
|
|
18
|
-
* @param name Cookie name
|
|
19
|
-
* @returns property RegExp
|
|
20
|
-
*
|
|
21
|
-
* @author: Stepan Suvorov
|
|
22
|
-
* @since: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
private static getCookieRegExp;
|
|
25
|
-
/**
|
|
26
|
-
* Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).
|
|
27
|
-
*
|
|
28
|
-
* @param encodedURIComponent A value representing an encoded URI component.
|
|
29
|
-
*
|
|
30
|
-
* @returns The unencoded version of an encoded component of a Uniform Resource Identifier (URI).
|
|
31
|
-
*
|
|
32
|
-
* @author: Stepan Suvorov
|
|
33
|
-
* @since: 1.0.0
|
|
34
|
-
*/
|
|
35
|
-
private static safeDecodeURIComponent;
|
|
36
|
-
/**
|
|
37
|
-
* Return `true` if {@link Document} is accessible, otherwise return `false`
|
|
38
|
-
*
|
|
39
|
-
* @param name Cookie name
|
|
40
|
-
* @returns boolean - whether cookie with specified name exists
|
|
41
|
-
*
|
|
42
|
-
* @author: Stepan Suvorov
|
|
43
|
-
* @since: 1.0.0
|
|
44
|
-
*/
|
|
45
|
-
check(name: string): boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Get cookies by name
|
|
48
|
-
*
|
|
49
|
-
* @param name Cookie name
|
|
50
|
-
* @returns property value
|
|
51
|
-
*
|
|
52
|
-
* @author: Stepan Suvorov
|
|
53
|
-
* @since: 1.0.0
|
|
54
|
-
*/
|
|
55
|
-
get(name: string): string;
|
|
56
|
-
/**
|
|
57
|
-
* Get all cookies in JSON format
|
|
58
|
-
*
|
|
59
|
-
* @returns all the cookies in json
|
|
60
|
-
*
|
|
61
|
-
* @author: Stepan Suvorov
|
|
62
|
-
* @since: 1.0.0
|
|
63
|
-
*/
|
|
64
|
-
getAll(): {
|
|
65
|
-
[key: string]: string;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Set cookie based on provided information
|
|
69
|
-
*
|
|
70
|
-
* @param name Cookie name
|
|
71
|
-
* @param value Cookie value
|
|
72
|
-
* @param expires Number of days until the cookies expires or an actual `Date`
|
|
73
|
-
* @param path Cookie path
|
|
74
|
-
* @param domain Cookie domain
|
|
75
|
-
* @param secure Secure flag
|
|
76
|
-
* @param sameSite OWASP samesite token `Lax`, `None`, or `Strict`. Defaults to `Lax`
|
|
77
|
-
*
|
|
78
|
-
* @author: Stepan Suvorov
|
|
79
|
-
* @since: 1.0.0
|
|
80
|
-
*/
|
|
81
|
-
set(name: string, value: string, expires?: CookieOptions["expires"], path?: CookieOptions["path"], domain?: CookieOptions["domain"], secure?: CookieOptions["secure"], sameSite?: SameSite): void;
|
|
82
|
-
/**
|
|
83
|
-
* Set cookie based on provided information
|
|
84
|
-
*
|
|
85
|
-
* Cookie's parameters:
|
|
86
|
-
* <pre>
|
|
87
|
-
* expires Number of days until the cookies expires or an actual `Date`
|
|
88
|
-
* path Cookie path
|
|
89
|
-
* domain Cookie domain
|
|
90
|
-
* secure Secure flag
|
|
91
|
-
* sameSite OWASP samesite token `Lax`, `None`, or `Strict`. Defaults to `Lax`
|
|
92
|
-
* </pre>
|
|
93
|
-
*
|
|
94
|
-
* @param name Cookie name
|
|
95
|
-
* @param value Cookie value
|
|
96
|
-
* @param options Body with cookie's params
|
|
97
|
-
*
|
|
98
|
-
* @author: Stepan Suvorov
|
|
99
|
-
* @since: 1.0.0
|
|
100
|
-
*/
|
|
101
|
-
set(name: string, value: string, options?: CookieOptions): void;
|
|
102
|
-
/**
|
|
103
|
-
* Delete cookie by name
|
|
104
|
-
*
|
|
105
|
-
* @param name Cookie name
|
|
106
|
-
* @param path Cookie path
|
|
107
|
-
* @param domain Cookie domain
|
|
108
|
-
* @param secure Cookie secure flag
|
|
109
|
-
* @param sameSite Cookie sameSite flag - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
|
|
110
|
-
*
|
|
111
|
-
* @author: Stepan Suvorov
|
|
112
|
-
* @since: 1.0.0
|
|
113
|
-
*/
|
|
114
|
-
delete(name: string, path?: CookieOptions["path"], domain?: CookieOptions["domain"], secure?: CookieOptions["secure"], sameSite?: SameSite): void;
|
|
115
|
-
/**
|
|
116
|
-
* Delete all cookies
|
|
117
|
-
*
|
|
118
|
-
* @param path Cookie path
|
|
119
|
-
* @param domain Cookie domain
|
|
120
|
-
* @param secure Is the Cookie secure
|
|
121
|
-
* @param sameSite Is the cookie same site
|
|
122
|
-
*
|
|
123
|
-
* @author: Stepan Suvorov
|
|
124
|
-
* @since: 1.0.0
|
|
125
|
-
*/
|
|
126
|
-
deleteAll(path?: CookieOptions["path"], domain?: CookieOptions["domain"], secure?: CookieOptions["secure"], sameSite?: SameSite): void;
|
|
127
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCookieService, never>;
|
|
128
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartCookieService>;
|
|
129
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare type SameSite = "Lax" | "None" | "Strict";
|
|
3
|
+
export interface CookieOptions {
|
|
4
|
+
expires?: number | Date;
|
|
5
|
+
path?: string;
|
|
6
|
+
domain?: string;
|
|
7
|
+
secure?: boolean;
|
|
8
|
+
sameSite?: SameSite;
|
|
9
|
+
}
|
|
10
|
+
export declare class SmartCookieService {
|
|
11
|
+
private document;
|
|
12
|
+
private platformId;
|
|
13
|
+
private readonly documentIsAccessible;
|
|
14
|
+
constructor(document: Document, platformId: any);
|
|
15
|
+
/**
|
|
16
|
+
* Get cookie Regular Expression
|
|
17
|
+
*
|
|
18
|
+
* @param name Cookie name
|
|
19
|
+
* @returns property RegExp
|
|
20
|
+
*
|
|
21
|
+
* @author: Stepan Suvorov
|
|
22
|
+
* @since: 1.0.0
|
|
23
|
+
*/
|
|
24
|
+
private static getCookieRegExp;
|
|
25
|
+
/**
|
|
26
|
+
* Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).
|
|
27
|
+
*
|
|
28
|
+
* @param encodedURIComponent A value representing an encoded URI component.
|
|
29
|
+
*
|
|
30
|
+
* @returns The unencoded version of an encoded component of a Uniform Resource Identifier (URI).
|
|
31
|
+
*
|
|
32
|
+
* @author: Stepan Suvorov
|
|
33
|
+
* @since: 1.0.0
|
|
34
|
+
*/
|
|
35
|
+
private static safeDecodeURIComponent;
|
|
36
|
+
/**
|
|
37
|
+
* Return `true` if {@link Document} is accessible, otherwise return `false`
|
|
38
|
+
*
|
|
39
|
+
* @param name Cookie name
|
|
40
|
+
* @returns boolean - whether cookie with specified name exists
|
|
41
|
+
*
|
|
42
|
+
* @author: Stepan Suvorov
|
|
43
|
+
* @since: 1.0.0
|
|
44
|
+
*/
|
|
45
|
+
check(name: string): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Get cookies by name
|
|
48
|
+
*
|
|
49
|
+
* @param name Cookie name
|
|
50
|
+
* @returns property value
|
|
51
|
+
*
|
|
52
|
+
* @author: Stepan Suvorov
|
|
53
|
+
* @since: 1.0.0
|
|
54
|
+
*/
|
|
55
|
+
get(name: string): string;
|
|
56
|
+
/**
|
|
57
|
+
* Get all cookies in JSON format
|
|
58
|
+
*
|
|
59
|
+
* @returns all the cookies in json
|
|
60
|
+
*
|
|
61
|
+
* @author: Stepan Suvorov
|
|
62
|
+
* @since: 1.0.0
|
|
63
|
+
*/
|
|
64
|
+
getAll(): {
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Set cookie based on provided information
|
|
69
|
+
*
|
|
70
|
+
* @param name Cookie name
|
|
71
|
+
* @param value Cookie value
|
|
72
|
+
* @param expires Number of days until the cookies expires or an actual `Date`
|
|
73
|
+
* @param path Cookie path
|
|
74
|
+
* @param domain Cookie domain
|
|
75
|
+
* @param secure Secure flag
|
|
76
|
+
* @param sameSite OWASP samesite token `Lax`, `None`, or `Strict`. Defaults to `Lax`
|
|
77
|
+
*
|
|
78
|
+
* @author: Stepan Suvorov
|
|
79
|
+
* @since: 1.0.0
|
|
80
|
+
*/
|
|
81
|
+
set(name: string, value: string, expires?: CookieOptions["expires"], path?: CookieOptions["path"], domain?: CookieOptions["domain"], secure?: CookieOptions["secure"], sameSite?: SameSite): void;
|
|
82
|
+
/**
|
|
83
|
+
* Set cookie based on provided information
|
|
84
|
+
*
|
|
85
|
+
* Cookie's parameters:
|
|
86
|
+
* <pre>
|
|
87
|
+
* expires Number of days until the cookies expires or an actual `Date`
|
|
88
|
+
* path Cookie path
|
|
89
|
+
* domain Cookie domain
|
|
90
|
+
* secure Secure flag
|
|
91
|
+
* sameSite OWASP samesite token `Lax`, `None`, or `Strict`. Defaults to `Lax`
|
|
92
|
+
* </pre>
|
|
93
|
+
*
|
|
94
|
+
* @param name Cookie name
|
|
95
|
+
* @param value Cookie value
|
|
96
|
+
* @param options Body with cookie's params
|
|
97
|
+
*
|
|
98
|
+
* @author: Stepan Suvorov
|
|
99
|
+
* @since: 1.0.0
|
|
100
|
+
*/
|
|
101
|
+
set(name: string, value: string, options?: CookieOptions): void;
|
|
102
|
+
/**
|
|
103
|
+
* Delete cookie by name
|
|
104
|
+
*
|
|
105
|
+
* @param name Cookie name
|
|
106
|
+
* @param path Cookie path
|
|
107
|
+
* @param domain Cookie domain
|
|
108
|
+
* @param secure Cookie secure flag
|
|
109
|
+
* @param sameSite Cookie sameSite flag - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
|
|
110
|
+
*
|
|
111
|
+
* @author: Stepan Suvorov
|
|
112
|
+
* @since: 1.0.0
|
|
113
|
+
*/
|
|
114
|
+
delete(name: string, path?: CookieOptions["path"], domain?: CookieOptions["domain"], secure?: CookieOptions["secure"], sameSite?: SameSite): void;
|
|
115
|
+
/**
|
|
116
|
+
* Delete all cookies
|
|
117
|
+
*
|
|
118
|
+
* @param path Cookie path
|
|
119
|
+
* @param domain Cookie domain
|
|
120
|
+
* @param secure Is the Cookie secure
|
|
121
|
+
* @param sameSite Is the cookie same site
|
|
122
|
+
*
|
|
123
|
+
* @author: Stepan Suvorov
|
|
124
|
+
* @since: 1.0.0
|
|
125
|
+
*/
|
|
126
|
+
deleteAll(path?: CookieOptions["path"], domain?: CookieOptions["domain"], secure?: CookieOptions["secure"], sameSite?: SameSite): void;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCookieService, never>;
|
|
128
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartCookieService>;
|
|
129
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { SmartDevToolDescriptor } from '../smart-dev-tool.service';
|
|
3
|
-
import { SmartDevToolDialogService } from './smart-dev-tool-dialog.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartDevToolDialogComponent implements OnDestroy {
|
|
6
|
-
private service;
|
|
7
|
-
private _destroy$;
|
|
8
|
-
descriptor?: SmartDevToolDescriptor;
|
|
9
|
-
constructor(service: SmartDevToolDialogService);
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
clear(): void;
|
|
12
|
-
getBody(inp: any): any;
|
|
13
|
-
syntaxHighlight(json: any): any;
|
|
14
|
-
copy(): void;
|
|
15
|
-
close(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolDialogComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartDevToolDialogComponent, "app-smart-dev-tool-dialog", never, {}, {}, never, never>;
|
|
18
|
-
}
|
|
19
|
-
interface ICopyToClipboard {
|
|
20
|
-
/** HTML reference identifier ```<div id="foo"></div>``` */
|
|
21
|
-
target?: string;
|
|
22
|
-
/** String value */
|
|
23
|
-
value?: string;
|
|
24
|
-
/** (Optional) message to display in snackbar on success */
|
|
25
|
-
message?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare const copyToClipboard: ({ target, message, value }: ICopyToClipboard) => Promise<void>;
|
|
28
|
-
export {};
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { SmartDevToolDescriptor } from '../smart-dev-tool.service';
|
|
3
|
+
import { SmartDevToolDialogService } from './smart-dev-tool-dialog.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartDevToolDialogComponent implements OnDestroy {
|
|
6
|
+
private service;
|
|
7
|
+
private _destroy$;
|
|
8
|
+
descriptor?: SmartDevToolDescriptor;
|
|
9
|
+
constructor(service: SmartDevToolDialogService);
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
clear(): void;
|
|
12
|
+
getBody(inp: any): any;
|
|
13
|
+
syntaxHighlight(json: any): any;
|
|
14
|
+
copy(): void;
|
|
15
|
+
close(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolDialogComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartDevToolDialogComponent, "app-smart-dev-tool-dialog", never, {}, {}, never, never>;
|
|
18
|
+
}
|
|
19
|
+
interface ICopyToClipboard {
|
|
20
|
+
/** HTML reference identifier ```<div id="foo"></div>``` */
|
|
21
|
+
target?: string;
|
|
22
|
+
/** String value */
|
|
23
|
+
value?: string;
|
|
24
|
+
/** (Optional) message to display in snackbar on success */
|
|
25
|
+
message?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const copyToClipboard: ({ target, message, value }: ICopyToClipboard) => Promise<void>;
|
|
28
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { SmartdialogService } from '@smartbit4all/dialog';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { SmartDevToolDescriptor, SmartDevToolService } from '../smart-dev-tool.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SmartDevToolDialogService extends SmartdialogService {
|
|
8
|
-
service: SmartDevToolService;
|
|
9
|
-
update: Subject<void>;
|
|
10
|
-
constructor(dialog: MatDialog, router: Router, service: SmartDevToolService);
|
|
11
|
-
handleAfterClosed(result: any): void;
|
|
12
|
-
openDialog(): void;
|
|
13
|
-
getData(): SmartDevToolDescriptor;
|
|
14
|
-
getPureString(): string;
|
|
15
|
-
clear(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolDialogService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolDialogService>;
|
|
18
|
-
}
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { SmartdialogService } from '@smartbit4all/dialog';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { SmartDevToolDescriptor, SmartDevToolService } from '../smart-dev-tool.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SmartDevToolDialogService extends SmartdialogService {
|
|
8
|
+
service: SmartDevToolService;
|
|
9
|
+
update: Subject<void>;
|
|
10
|
+
constructor(dialog: MatDialog, router: Router, service: SmartDevToolService);
|
|
11
|
+
handleAfterClosed(result: any): void;
|
|
12
|
+
openDialog(): void;
|
|
13
|
+
getData(): SmartDevToolDescriptor;
|
|
14
|
+
getPureString(): string;
|
|
15
|
+
clear(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDevToolDialogService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartDevToolDialogService>;
|
|
18
|
+
}
|