@smartbit4all/ng-client 1.1.43 → 1.1.45
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 -17
- 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 -403
- package/esm2020/lib/smart-client/smart-component-layout/smart-component-layout.component.mjs +126 -126
- 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 -62
- 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 +5264 -5264
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +5228 -5228
- 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 -17
- 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 -20
- 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 -93
- package/lib/smart-client/smart-component-layout/smart-component-layout.component.d.ts +32 -32
- 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 -16
- 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 +4 -3
- 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.45.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.43.tgz +0 -0
|
@@ -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 { UiAction } from '../../../api';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UiActionConfirmDialogService extends SmartdialogService {
|
|
8
|
-
_destroy$: Subject<void>;
|
|
9
|
-
action: UiAction;
|
|
10
|
-
onAction: Subject<void>;
|
|
11
|
-
shouldDoAction: boolean;
|
|
12
|
-
constructor(dialog: MatDialog, router: Router);
|
|
13
|
-
openDialog(): void;
|
|
14
|
-
doAction(): void;
|
|
15
|
-
cancel(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionConfirmDialogService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionConfirmDialogService>;
|
|
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 { UiAction } from '../../../api';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UiActionConfirmDialogService extends SmartdialogService {
|
|
8
|
+
_destroy$: Subject<void>;
|
|
9
|
+
action: UiAction;
|
|
10
|
+
onAction: Subject<void>;
|
|
11
|
+
shouldDoAction: boolean;
|
|
12
|
+
constructor(dialog: MatDialog, router: Router);
|
|
13
|
+
openDialog(): void;
|
|
14
|
+
doAction(): void;
|
|
15
|
+
cancel(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionConfirmDialogService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionConfirmDialogService>;
|
|
18
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { SmartFileUploaderI18n } from '@smartbit4all/form';
|
|
3
|
-
import { UiActionDescriptor } from '../../../api';
|
|
4
|
-
import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
|
|
5
|
-
import { UiActionFileUploadDialogService } from './ui-action-file-upload-dialog.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UiActionFileUploadDialogComponent implements OnDestroy {
|
|
8
|
-
private service;
|
|
9
|
-
private manager;
|
|
10
|
-
code: string;
|
|
11
|
-
dialogType: 'dialog' | 'inputDialog' | 'input2Dialog';
|
|
12
|
-
descriptor?: UiActionDescriptor;
|
|
13
|
-
i18n?: SmartFileUploaderI18n;
|
|
14
|
-
maxSizeMb?: number;
|
|
15
|
-
fileFormats?: string[];
|
|
16
|
-
isMultiple?: boolean;
|
|
17
|
-
constructor(service: UiActionFileUploadDialogService, manager: UiActionDescriptorService);
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
setUp(): Promise<void>;
|
|
20
|
-
getTitle(): string;
|
|
21
|
-
getText(): string;
|
|
22
|
-
getActionButtonLabel(): string;
|
|
23
|
-
getActionButtonColor(): string;
|
|
24
|
-
getCancelButtonLabel(): string;
|
|
25
|
-
getCancelButtonColor(): string;
|
|
26
|
-
upload(files: any[]): void;
|
|
27
|
-
cancel(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFileUploadDialogComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionFileUploadDialogComponent, "lib-ui-action-file-upload-dialog", never, {}, {}, never, never>;
|
|
30
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { SmartFileUploaderI18n } from '@smartbit4all/form';
|
|
3
|
+
import { UiActionDescriptor } from '../../../api';
|
|
4
|
+
import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
|
|
5
|
+
import { UiActionFileUploadDialogService } from './ui-action-file-upload-dialog.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UiActionFileUploadDialogComponent implements OnDestroy {
|
|
8
|
+
private service;
|
|
9
|
+
private manager;
|
|
10
|
+
code: string;
|
|
11
|
+
dialogType: 'dialog' | 'inputDialog' | 'input2Dialog';
|
|
12
|
+
descriptor?: UiActionDescriptor;
|
|
13
|
+
i18n?: SmartFileUploaderI18n;
|
|
14
|
+
maxSizeMb?: number;
|
|
15
|
+
fileFormats?: string[];
|
|
16
|
+
isMultiple?: boolean;
|
|
17
|
+
constructor(service: UiActionFileUploadDialogService, manager: UiActionDescriptorService);
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
setUp(): Promise<void>;
|
|
20
|
+
getTitle(): string;
|
|
21
|
+
getText(): string;
|
|
22
|
+
getActionButtonLabel(): string;
|
|
23
|
+
getActionButtonColor(): string;
|
|
24
|
+
getCancelButtonLabel(): string;
|
|
25
|
+
getCancelButtonColor(): string;
|
|
26
|
+
upload(files: any[]): void;
|
|
27
|
+
cancel(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFileUploadDialogComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionFileUploadDialogComponent, "lib-ui-action-file-upload-dialog", never, {}, {}, never, never>;
|
|
30
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
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 { UiAction } from '../../../api';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UiActionFileUploadDialogService extends SmartdialogService {
|
|
8
|
-
_destroy$: Subject<void>;
|
|
9
|
-
inputTypeName: 'inputDialog' | 'input2Dialog';
|
|
10
|
-
action: UiAction;
|
|
11
|
-
nodeName?: string;
|
|
12
|
-
onAction: Subject<void>;
|
|
13
|
-
files?: any;
|
|
14
|
-
isMultiple: boolean;
|
|
15
|
-
constructor(dialog: MatDialog, router: Router);
|
|
16
|
-
setDataAndOpenDialog(action: UiAction, nodeName?: string): void;
|
|
17
|
-
openDialog(): void;
|
|
18
|
-
onSave(files: any[]): Promise<void>;
|
|
19
|
-
cancel(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFileUploadDialogService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionFileUploadDialogService>;
|
|
22
|
-
}
|
|
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 { UiAction } from '../../../api';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UiActionFileUploadDialogService extends SmartdialogService {
|
|
8
|
+
_destroy$: Subject<void>;
|
|
9
|
+
inputTypeName: 'inputDialog' | 'input2Dialog';
|
|
10
|
+
action: UiAction;
|
|
11
|
+
nodeName?: string;
|
|
12
|
+
onAction: Subject<void>;
|
|
13
|
+
files?: any;
|
|
14
|
+
isMultiple: boolean;
|
|
15
|
+
constructor(dialog: MatDialog, router: Router);
|
|
16
|
+
setDataAndOpenDialog(action: UiAction, nodeName?: string): void;
|
|
17
|
+
openDialog(): void;
|
|
18
|
+
onSave(files: any[]): Promise<void>;
|
|
19
|
+
cancel(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFileUploadDialogService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionFileUploadDialogService>;
|
|
22
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { SmartForm, SmartformComponent } from '@smartbit4all/form';
|
|
3
|
-
import { UiActionDescriptor } from '../../../api';
|
|
4
|
-
import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
|
|
5
|
-
import { UiActionInputDialogService } from './ui-action-input-dialog.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UiActionInputDialogComponent implements OnDestroy {
|
|
8
|
-
private service;
|
|
9
|
-
private manager;
|
|
10
|
-
folderFormChild: SmartformComponent;
|
|
11
|
-
code: string;
|
|
12
|
-
folderForm: SmartForm;
|
|
13
|
-
dialogType: 'dialog' | 'inputDialog' | 'input2Dialog';
|
|
14
|
-
descriptor?: UiActionDescriptor;
|
|
15
|
-
constructor(service: UiActionInputDialogService, manager: UiActionDescriptorService);
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
setUp(): Promise<void>;
|
|
18
|
-
getTitle(): string;
|
|
19
|
-
getText(): string;
|
|
20
|
-
getActionButtonLabel(): string;
|
|
21
|
-
getActionButtonColor(): string;
|
|
22
|
-
getCancelButtonLabel(): string;
|
|
23
|
-
getCancelButtonColor(): string;
|
|
24
|
-
constructForm(): void;
|
|
25
|
-
save(): void;
|
|
26
|
-
cancel(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionInputDialogComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionInputDialogComponent, "smart-ui-action-input-dialog", never, {}, {}, never, never>;
|
|
29
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { SmartForm, SmartformComponent } from '@smartbit4all/form';
|
|
3
|
+
import { UiActionDescriptor } from '../../../api';
|
|
4
|
+
import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
|
|
5
|
+
import { UiActionInputDialogService } from './ui-action-input-dialog.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UiActionInputDialogComponent implements OnDestroy {
|
|
8
|
+
private service;
|
|
9
|
+
private manager;
|
|
10
|
+
folderFormChild: SmartformComponent;
|
|
11
|
+
code: string;
|
|
12
|
+
folderForm: SmartForm;
|
|
13
|
+
dialogType: 'dialog' | 'inputDialog' | 'input2Dialog';
|
|
14
|
+
descriptor?: UiActionDescriptor;
|
|
15
|
+
constructor(service: UiActionInputDialogService, manager: UiActionDescriptorService);
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
setUp(): Promise<void>;
|
|
18
|
+
getTitle(): string;
|
|
19
|
+
getText(): string;
|
|
20
|
+
getActionButtonLabel(): string;
|
|
21
|
+
getActionButtonColor(): string;
|
|
22
|
+
getCancelButtonLabel(): string;
|
|
23
|
+
getCancelButtonColor(): string;
|
|
24
|
+
constructForm(): void;
|
|
25
|
+
save(): void;
|
|
26
|
+
cancel(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionInputDialogComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionInputDialogComponent, "smart-ui-action-input-dialog", never, {}, {}, never, never>;
|
|
29
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
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 { UiAction, UiActionRequest } from '../../../api';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UiActionInputDialogService extends SmartdialogService {
|
|
8
|
-
_destroy$: Subject<void>;
|
|
9
|
-
inputTypeName: 'inputDialog' | 'input2Dialog';
|
|
10
|
-
action: UiAction;
|
|
11
|
-
nodeName?: string;
|
|
12
|
-
onAction: Subject<EditFolderAction>;
|
|
13
|
-
params?: any;
|
|
14
|
-
constructor(dialog: MatDialog, router: Router);
|
|
15
|
-
setDataAndOpenDialog(action: UiAction, nodeName?: string): void;
|
|
16
|
-
openDialog(): void;
|
|
17
|
-
onSave(params: any): Promise<void>;
|
|
18
|
-
cancel(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionInputDialogService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionInputDialogService>;
|
|
21
|
-
}
|
|
22
|
-
export interface EditFolderAction {
|
|
23
|
-
nodeId: string;
|
|
24
|
-
uiActionRequest: UiActionRequest;
|
|
25
|
-
}
|
|
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 { UiAction, UiActionRequest } from '../../../api';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UiActionInputDialogService extends SmartdialogService {
|
|
8
|
+
_destroy$: Subject<void>;
|
|
9
|
+
inputTypeName: 'inputDialog' | 'input2Dialog';
|
|
10
|
+
action: UiAction;
|
|
11
|
+
nodeName?: string;
|
|
12
|
+
onAction: Subject<EditFolderAction>;
|
|
13
|
+
params?: any;
|
|
14
|
+
constructor(dialog: MatDialog, router: Router);
|
|
15
|
+
setDataAndOpenDialog(action: UiAction, nodeName?: string): void;
|
|
16
|
+
openDialog(): void;
|
|
17
|
+
onSave(params: any): Promise<void>;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionInputDialogService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionInputDialogService>;
|
|
21
|
+
}
|
|
22
|
+
export interface EditFolderAction {
|
|
23
|
+
nodeId: string;
|
|
24
|
+
uiActionRequest: UiActionRequest;
|
|
25
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { UiActionButtonIconPos } from '../api';
|
|
3
|
-
import { UiActionDescriptorService } from './ui-action.descriptor.service';
|
|
4
|
-
import { UiActionModel } from './ui-action.model';
|
|
5
|
-
import { UiActionService } from './ui-action.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDestroy {
|
|
8
|
-
private service;
|
|
9
|
-
private inject;
|
|
10
|
-
private _destroy$;
|
|
11
|
-
pressedButtonActive: boolean;
|
|
12
|
-
uiActionModels: UiActionModel[];
|
|
13
|
-
uiActionDescriptorService?: UiActionDescriptorService;
|
|
14
|
-
uiActionModelsWithDescriptions?: UiActionModel[];
|
|
15
|
-
private manager;
|
|
16
|
-
private languageChangedSubscription?;
|
|
17
|
-
constructor(service: UiActionService, inject: Injector);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
|
-
private subscribeToLanguageChange;
|
|
22
|
-
setUp(): Promise<void>;
|
|
23
|
-
onActionClicked(event: any, uiActionModel: UiActionModel): Promise<void>;
|
|
24
|
-
onActionDoubleClicked(event: any, uiActionModel: UiActionModel): void;
|
|
25
|
-
getType(uiActionModel: UiActionModel): string;
|
|
26
|
-
iconPosition(): typeof UiActionButtonIconPos;
|
|
27
|
-
isOnlyIcon(uiActionModel: UiActionModel): boolean;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionToolbarComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionToolbarComponent, "smart-ui-action-toolbar", never, { "uiActionModels": "uiActionModels"; "uiActionDescriptorService": "uiActionDescriptorService"; }, {}, never, never>;
|
|
30
|
-
}
|
|
1
|
+
import { Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { UiActionButtonIconPos } from '../api';
|
|
3
|
+
import { UiActionDescriptorService } from './ui-action.descriptor.service';
|
|
4
|
+
import { UiActionModel } from './ui-action.model';
|
|
5
|
+
import { UiActionService } from './ui-action.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDestroy {
|
|
8
|
+
private service;
|
|
9
|
+
private inject;
|
|
10
|
+
private _destroy$;
|
|
11
|
+
pressedButtonActive: boolean;
|
|
12
|
+
uiActionModels: UiActionModel[];
|
|
13
|
+
uiActionDescriptorService?: UiActionDescriptorService;
|
|
14
|
+
uiActionModelsWithDescriptions?: UiActionModel[];
|
|
15
|
+
private manager;
|
|
16
|
+
private languageChangedSubscription?;
|
|
17
|
+
constructor(service: UiActionService, inject: Injector);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
private subscribeToLanguageChange;
|
|
22
|
+
setUp(): Promise<void>;
|
|
23
|
+
onActionClicked(event: any, uiActionModel: UiActionModel): Promise<void>;
|
|
24
|
+
onActionDoubleClicked(event: any, uiActionModel: UiActionModel): void;
|
|
25
|
+
getType(uiActionModel: UiActionModel): string;
|
|
26
|
+
iconPosition(): typeof UiActionButtonIconPos;
|
|
27
|
+
isOnlyIcon(uiActionModel: UiActionModel): boolean;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionToolbarComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionToolbarComponent, "smart-ui-action-toolbar", never, { "uiActionModels": "uiActionModels"; "uiActionDescriptorService": "uiActionDescriptorService"; }, {}, never, never>;
|
|
30
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { UiAction, UiActionDescriptor } from '../api';
|
|
3
|
-
import { SmartViewContextService } from '../smart-view-context.service';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UiActionDescriptorService implements OnDestroy {
|
|
7
|
-
private viewContext;
|
|
8
|
-
private _destroy$;
|
|
9
|
-
languageChanged: Subject<void>;
|
|
10
|
-
keysToTranslate: string[];
|
|
11
|
-
constructor(viewContext: SmartViewContextService);
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
private subscribeToTranslateService;
|
|
14
|
-
getActionDescriptor(uiAction: UiAction): Promise<UiActionDescriptor>;
|
|
15
|
-
private translateUiActionDescriptor;
|
|
16
|
-
private deepTranslate;
|
|
17
|
-
private setUpUnkownDialogDescriptor;
|
|
18
|
-
private basicActionDescriptors;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionDescriptorService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionDescriptorService>;
|
|
21
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { UiAction, UiActionDescriptor } from '../api';
|
|
3
|
+
import { SmartViewContextService } from '../smart-view-context.service';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UiActionDescriptorService implements OnDestroy {
|
|
7
|
+
private viewContext;
|
|
8
|
+
private _destroy$;
|
|
9
|
+
languageChanged: Subject<void>;
|
|
10
|
+
keysToTranslate: string[];
|
|
11
|
+
constructor(viewContext: SmartViewContextService);
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
private subscribeToTranslateService;
|
|
14
|
+
getActionDescriptor(uiAction: UiAction): Promise<UiActionDescriptor>;
|
|
15
|
+
private translateUiActionDescriptor;
|
|
16
|
+
private deepTranslate;
|
|
17
|
+
private setUpUnkownDialogDescriptor;
|
|
18
|
+
private basicActionDescriptors;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionDescriptorService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionDescriptorService>;
|
|
21
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { UiAction, UiActionDescriptor, UiActionRequest } from '../api';
|
|
3
|
-
export interface UiActionModel {
|
|
4
|
-
uiAction: UiAction;
|
|
5
|
-
serviceToUse: UseUiAction;
|
|
6
|
-
exception?: boolean;
|
|
7
|
-
descriptor?: UiActionDescriptor;
|
|
8
|
-
cssClass?: string;
|
|
9
|
-
widgetId?: string;
|
|
10
|
-
nodeId?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface UseUiAction {
|
|
13
|
-
submit: Subject<void>;
|
|
14
|
-
reSubscribeToChange: Subject<void>;
|
|
15
|
-
getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
|
|
16
|
-
getModel(): any;
|
|
17
|
-
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
|
|
18
|
-
handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
|
|
19
|
-
}
|
|
20
|
-
export interface UiActionSpecificDemandResponse {
|
|
21
|
-
shouldPerformAction: boolean;
|
|
22
|
-
uiActionRequest?: UiActionRequest;
|
|
23
|
-
}
|
|
24
|
-
export interface UiActionAdditionalParams {
|
|
25
|
-
forTextField?: string;
|
|
26
|
-
forTextArea?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare enum UiActionDialogType {
|
|
29
|
-
inputDialog = "inputDialog",
|
|
30
|
-
confirmDialog = "confirmDialog",
|
|
31
|
-
dialog = "dialog"
|
|
32
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { UiAction, UiActionDescriptor, UiActionRequest } from '../api';
|
|
3
|
+
export interface UiActionModel {
|
|
4
|
+
uiAction: UiAction;
|
|
5
|
+
serviceToUse: UseUiAction;
|
|
6
|
+
exception?: boolean;
|
|
7
|
+
descriptor?: UiActionDescriptor;
|
|
8
|
+
cssClass?: string;
|
|
9
|
+
widgetId?: string;
|
|
10
|
+
nodeId?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface UseUiAction {
|
|
13
|
+
submit: Subject<void>;
|
|
14
|
+
reSubscribeToChange: Subject<void>;
|
|
15
|
+
getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
|
|
16
|
+
getModel(): any;
|
|
17
|
+
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
|
|
18
|
+
handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
|
|
19
|
+
}
|
|
20
|
+
export interface UiActionSpecificDemandResponse {
|
|
21
|
+
shouldPerformAction: boolean;
|
|
22
|
+
uiActionRequest?: UiActionRequest;
|
|
23
|
+
}
|
|
24
|
+
export interface UiActionAdditionalParams {
|
|
25
|
+
forTextField?: string;
|
|
26
|
+
forTextArea?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare enum UiActionDialogType {
|
|
29
|
+
inputDialog = "inputDialog",
|
|
30
|
+
confirmDialog = "confirmDialog",
|
|
31
|
+
dialog = "dialog"
|
|
32
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
-
import { UiAction } from '../api';
|
|
4
|
-
import { UiActionConfirmDialogService } from './dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service';
|
|
5
|
-
import { UiActionInputDialogService } from './dialogs/ui-action-input-dialog/ui-action-input-dialog.service';
|
|
6
|
-
import { UiActionModel } from './ui-action.model';
|
|
7
|
-
import { UiActionFileUploadDialogService } from './dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export interface ExecuteUiActionOptions {
|
|
10
|
-
/**
|
|
11
|
-
* In case of using a grid: grid.identifier
|
|
12
|
-
*/
|
|
13
|
-
widgetId?: string;
|
|
14
|
-
/**
|
|
15
|
-
* In case of using a grid: gridRow.id
|
|
16
|
-
*/
|
|
17
|
-
nodeId?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare class UiActionService implements OnDestroy {
|
|
20
|
-
private confirmDialogService;
|
|
21
|
-
private textFieldDialogService;
|
|
22
|
-
private fileUploadDialogService;
|
|
23
|
-
private _snackBar;
|
|
24
|
-
uiActionModel: UiActionModel;
|
|
25
|
-
private _destroy$;
|
|
26
|
-
constructor(confirmDialogService: UiActionConfirmDialogService, textFieldDialogService: UiActionInputDialogService, fileUploadDialogService: UiActionFileUploadDialogService, _snackBar: MatSnackBar);
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
execute(uiAction: UiAction, options?: ExecuteUiActionOptions): Promise<void>;
|
|
29
|
-
private handleInputType;
|
|
30
|
-
private handleInputTypeTextField;
|
|
31
|
-
private handleInputTypeUpload;
|
|
32
|
-
private handleInputTypeUserSelect;
|
|
33
|
-
private performAction;
|
|
34
|
-
showSavedSnackbar(uiAction: UiAction): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionService, never>;
|
|
36
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionService>;
|
|
37
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
+
import { UiAction } from '../api';
|
|
4
|
+
import { UiActionConfirmDialogService } from './dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service';
|
|
5
|
+
import { UiActionInputDialogService } from './dialogs/ui-action-input-dialog/ui-action-input-dialog.service';
|
|
6
|
+
import { UiActionModel } from './ui-action.model';
|
|
7
|
+
import { UiActionFileUploadDialogService } from './dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface ExecuteUiActionOptions {
|
|
10
|
+
/**
|
|
11
|
+
* In case of using a grid: grid.identifier
|
|
12
|
+
*/
|
|
13
|
+
widgetId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* In case of using a grid: gridRow.id
|
|
16
|
+
*/
|
|
17
|
+
nodeId?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class UiActionService implements OnDestroy {
|
|
20
|
+
private confirmDialogService;
|
|
21
|
+
private textFieldDialogService;
|
|
22
|
+
private fileUploadDialogService;
|
|
23
|
+
private _snackBar;
|
|
24
|
+
uiActionModel: UiActionModel;
|
|
25
|
+
private _destroy$;
|
|
26
|
+
constructor(confirmDialogService: UiActionConfirmDialogService, textFieldDialogService: UiActionInputDialogService, fileUploadDialogService: UiActionFileUploadDialogService, _snackBar: MatSnackBar);
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
execute(uiAction: UiAction, options?: ExecuteUiActionOptions): Promise<void>;
|
|
29
|
+
private handleInputType;
|
|
30
|
+
private handleInputTypeTextField;
|
|
31
|
+
private handleInputTypeUpload;
|
|
32
|
+
private handleInputTypeUserSelect;
|
|
33
|
+
private performAction;
|
|
34
|
+
showSavedSnackbar(uiAction: UiAction): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionService, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionService>;
|
|
37
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { SmartViewContextApiError } from '../smart-view-context.model';
|
|
3
|
-
import { SmartViewContextErrorDialogService } from './smart-view-context-error-dialog.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartViewContextErrorDialogComponent implements OnInit {
|
|
6
|
-
private service;
|
|
7
|
-
smartViewContextApiError?: SmartViewContextApiError;
|
|
8
|
-
constructor(service: SmartViewContextErrorDialogService);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
onActionClick(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextErrorDialogComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartViewContextErrorDialogComponent, "lib-smart-view-context-error-dialog", never, {}, {}, never, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SmartViewContextApiError } from '../smart-view-context.model';
|
|
3
|
+
import { SmartViewContextErrorDialogService } from './smart-view-context-error-dialog.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartViewContextErrorDialogComponent implements OnInit {
|
|
6
|
+
private service;
|
|
7
|
+
smartViewContextApiError?: SmartViewContextApiError;
|
|
8
|
+
constructor(service: SmartViewContextErrorDialogService);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onActionClick(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextErrorDialogComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartViewContextErrorDialogComponent, "lib-smart-view-context-error-dialog", never, {}, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { SmartdialogService } from '@smartbit4all/dialog';
|
|
4
|
-
import { ViewApiError } from '../api';
|
|
5
|
-
import { SmartViewContextApiError } from '../smart-view-context.model';
|
|
6
|
-
import { SmartViewContextService } from '../smart-view-context.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartViewContextErrorDialogService extends SmartdialogService {
|
|
9
|
-
private viewContext;
|
|
10
|
-
viewApiError?: ViewApiError;
|
|
11
|
-
dialogRefs: MatDialogRef<any, any>[];
|
|
12
|
-
constructor(dialog: MatDialog, router: Router, viewContext: SmartViewContextService);
|
|
13
|
-
handleAfterClosed(result: any): void;
|
|
14
|
-
openDialog(): void;
|
|
15
|
-
closeDialog(): Promise<void>;
|
|
16
|
-
getSmartViewContextApiError(): Promise<SmartViewContextApiError>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextErrorDialogService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextErrorDialogService>;
|
|
19
|
-
}
|
|
1
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { SmartdialogService } from '@smartbit4all/dialog';
|
|
4
|
+
import { ViewApiError } from '../api';
|
|
5
|
+
import { SmartViewContextApiError } from '../smart-view-context.model';
|
|
6
|
+
import { SmartViewContextService } from '../smart-view-context.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class SmartViewContextErrorDialogService extends SmartdialogService {
|
|
9
|
+
private viewContext;
|
|
10
|
+
viewApiError?: ViewApiError;
|
|
11
|
+
dialogRefs: MatDialogRef<any, any>[];
|
|
12
|
+
constructor(dialog: MatDialog, router: Router, viewContext: SmartViewContextService);
|
|
13
|
+
handleAfterClosed(result: any): void;
|
|
14
|
+
openDialog(): void;
|
|
15
|
+
closeDialog(): Promise<void>;
|
|
16
|
+
getSmartViewContextApiError(): Promise<SmartViewContextApiError>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextErrorDialogService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextErrorDialogService>;
|
|
19
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ViewApiError } from './api';
|
|
4
|
-
import { SmartViewContextErrorDialogService } from './smart-view-context-error-dialog/smart-view-context-error-dialog.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SmartViewContextInterceptor implements HttpInterceptor {
|
|
7
|
-
private viewContextErrorDialog;
|
|
8
|
-
constructor(viewContextErrorDialog: SmartViewContextErrorDialogService);
|
|
9
|
-
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
10
|
-
openErrorDialog(viewApiError: ViewApiError): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextInterceptor, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextInterceptor>;
|
|
13
|
-
}
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ViewApiError } from './api';
|
|
4
|
+
import { SmartViewContextErrorDialogService } from './smart-view-context-error-dialog/smart-view-context-error-dialog.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SmartViewContextInterceptor implements HttpInterceptor {
|
|
7
|
+
private viewContextErrorDialog;
|
|
8
|
+
constructor(viewContextErrorDialog: SmartViewContextErrorDialogService);
|
|
9
|
+
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
10
|
+
openErrorDialog(viewApiError: ViewApiError): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextInterceptor, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextInterceptor>;
|
|
13
|
+
}
|