@eo-sdk/client 10.6.11 → 10.6.13
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/app/eo-client/inbox-state/inbox-state/inbox-state.component.d.ts.map +1 -1
- package/app/eo-framework/inbox-details/inbox-details.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts +2 -0
- package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts.map +1 -1
- package/esm2020/app/eo-client/about-state/about-state.component.mjs +3 -3
- package/esm2020/app/eo-client/inbox-state/inbox-state/inbox-state.component.mjs +18 -1
- package/esm2020/app/eo-framework/app-shell/app-bar/context-search/context-search.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/grid.component.mjs +2 -2
- package/esm2020/app/eo-framework/inbox-details/inbox-details.component.mjs +3 -1
- package/esm2020/app/eo-framework/object-form/object-form/form-element/form-element.component.mjs +3 -3
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.mjs +10 -3
- package/esm2020/app/eo-framework/ui/indexdata-summary/indexdata-summary-entry/indexdata-summary-entry.component.mjs +2 -2
- package/fesm2015/eo-sdk-client.mjs +36 -11
- package/fesm2015/eo-sdk-client.mjs.map +1 -1
- package/fesm2020/eo-sdk-client.mjs +36 -11
- package/fesm2020/eo-sdk-client.mjs.map +1 -1
- package/misc/scripts/exclude-core-ng-package.js +11 -0
- package/package.json +2 -10
- package/esm2020/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.mjs +0 -5
- package/esm2020/projects/eo-sdk/core/lib/config/core-config.mjs +0 -23
- package/esm2020/projects/eo-sdk/core/lib/config/core-init.service.mjs +0 -71
- package/esm2020/projects/eo-sdk/core/lib/config/core-init.tokens.mjs +0 -8
- package/esm2020/projects/eo-sdk/core/lib/config/initialize-module.mjs +0 -11
- package/esm2020/projects/eo-sdk/core/lib/config/missing-translation-handler.mjs +0 -15
- package/esm2020/projects/eo-sdk/core/lib/config/translate-json-loader.mjs +0 -130
- package/esm2020/projects/eo-sdk/core/lib/environment.enaio.mjs +0 -12
- package/esm2020/projects/eo-sdk/core/lib/eo-core-shared.module.mjs +0 -24
- package/esm2020/projects/eo-sdk/core/lib/eo-core.module.mjs +0 -117
- package/esm2020/projects/eo-sdk/core/lib/interface/change-password.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/event.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/http-options.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/logger.interface.mjs +0 -7
- package/esm2020/projects/eo-sdk/core/lib/interface/organization-objects.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/tree-node.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/baseparams.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/bpm.model.mjs +0 -70
- package/esm2020/projects/eo-sdk/core/lib/model/custom-action.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/dms-object-history.model.mjs +0 -30
- package/esm2020/projects/eo-sdk/core/lib/model/dms-object.model.mjs +0 -138
- package/esm2020/projects/eo-sdk/core/lib/model/eo-error.model.mjs +0 -37
- package/esm2020/projects/eo-sdk/core/lib/model/eo-user.model.mjs +0 -86
- package/esm2020/projects/eo-sdk/core/lib/model/inbox-item.model.mjs +0 -36
- package/esm2020/projects/eo-sdk/core/lib/model/object-type.model.mjs +0 -39
- package/esm2020/projects/eo-sdk/core/lib/model/org.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/prepared-item.model.mjs +0 -35
- package/esm2020/projects/eo-sdk/core/lib/model/range-value.model.mjs +0 -45
- package/esm2020/projects/eo-sdk/core/lib/model/upload-file-item.model.mjs +0 -17
- package/esm2020/projects/eo-sdk/core/lib/model/upload-target.model.mjs +0 -50
- package/esm2020/projects/eo-sdk/core/lib/model/work-item-history.model.mjs +0 -54
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth-interceptor.mjs +0 -29
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth-profile.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth.service.mjs +0 -215
- package/esm2020/projects/eo-sdk/core/lib/service/auth/gateway-info.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/backend/backend.service.mjs +0 -360
- package/esm2020/projects/eo-sdk/core/lib/service/bpm/bpm.service.mjs +0 -286
- package/esm2020/projects/eo-sdk/core/lib/service/cache/app-cache.service.mjs +0 -117
- package/esm2020/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.mjs +0 -60
- package/esm2020/projects/eo-sdk/core/lib/service/clipboard/clipboard-action.enum.mjs +0 -6
- package/esm2020/projects/eo-sdk/core/lib/service/clipboard/clipboard.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/clipboard/clipboard.service.mjs +0 -100
- package/esm2020/projects/eo-sdk/core/lib/service/config/config.enum.mjs +0 -6
- package/esm2020/projects/eo-sdk/core/lib/service/config/config.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/config/config.service.mjs +0 -135
- package/esm2020/projects/eo-sdk/core/lib/service/dms/dms.service.mjs +0 -507
- package/esm2020/projects/eo-sdk/core/lib/service/dms/dmsParams.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/events/event.service.mjs +0 -44
- package/esm2020/projects/eo-sdk/core/lib/service/events/events.mjs +0 -27
- package/esm2020/projects/eo-sdk/core/lib/service/inbox/inbox.service.mjs +0 -111
- package/esm2020/projects/eo-sdk/core/lib/service/logger/console-log.service.mjs +0 -41
- package/esm2020/projects/eo-sdk/core/lib/service/logger/logger.mjs +0 -47
- package/esm2020/projects/eo-sdk/core/lib/service/notifications/notifications.service.mjs +0 -136
- package/esm2020/projects/eo-sdk/core/lib/service/prepare/objectTypes.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/prepare/prepare.service.mjs +0 -305
- package/esm2020/projects/eo-sdk/core/lib/service/search/search-filter-type.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/search/search-query.model.mjs +0 -510
- package/esm2020/projects/eo-sdk/core/lib/service/search/search.service.mjs +0 -484
- package/esm2020/projects/eo-sdk/core/lib/service/signing/signing.service.mjs +0 -60
- package/esm2020/projects/eo-sdk/core/lib/service/storage/local-storage.service.mjs +0 -111
- package/esm2020/projects/eo-sdk/core/lib/service/stored-queries/stored-queries-subscription.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/stored-queries/stored-queries.service.mjs +0 -216
- package/esm2020/projects/eo-sdk/core/lib/service/stored-queries/stored-query.model.mjs +0 -98
- package/esm2020/projects/eo-sdk/core/lib/service/system/system.service.mjs +0 -345
- package/esm2020/projects/eo-sdk/core/lib/service/system/systemdefinition.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/system-status/system-status.service.mjs +0 -104
- package/esm2020/projects/eo-sdk/core/lib/service/system-status/system.status.enum.mjs +0 -9
- package/esm2020/projects/eo-sdk/core/lib/service/system-status/system.status.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/upload/upload.service.mjs +0 -46
- package/esm2020/projects/eo-sdk/core/lib/service/upload-registry/upload-registry.service.mjs +0 -83
- package/esm2020/projects/eo-sdk/core/lib/service/user/user.service.mjs +0 -399
- package/esm2020/projects/eo-sdk/core/lib/util/utils.mjs +0 -304
- package/esm2020/projects/eo-sdk/core/public_api.mjs +0 -85
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs +0 -6124
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs.map +0 -1
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs +0 -6139
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs.map +0 -1
- package/projects/eo-sdk/core/README.md +0 -113
- package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.d.ts.map +0 -1
- package/projects/eo-sdk/core/index.d.ts +0 -6
- package/projects/eo-sdk/core/lib/config/core-config.d.ts +0 -14
- package/projects/eo-sdk/core/lib/config/core-config.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/core-init.service.d.ts +0 -33
- package/projects/eo-sdk/core/lib/config/core-init.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/core-init.tokens.d.ts +0 -8
- package/projects/eo-sdk/core/lib/config/core-init.tokens.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/initialize-module.d.ts +0 -7
- package/projects/eo-sdk/core/lib/config/initialize-module.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/missing-translation-handler.d.ts +0 -14
- package/projects/eo-sdk/core/lib/config/missing-translation-handler.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/translate-json-loader.d.ts +0 -21
- package/projects/eo-sdk/core/lib/config/translate-json-loader.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/environment.enaio.d.ts +0 -6
- package/projects/eo-sdk/core/lib/environment.enaio.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/eo-core-shared.module.d.ts +0 -12
- package/projects/eo-sdk/core/lib/eo-core-shared.module.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/eo-core.module.d.ts +0 -46
- package/projects/eo-sdk/core/lib/eo-core.module.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/change-password.interface.d.ts +0 -8
- package/projects/eo-sdk/core/lib/interface/change-password.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/event.interface.d.ts +0 -14
- package/projects/eo-sdk/core/lib/interface/event.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/http-options.interface.d.ts +0 -17
- package/projects/eo-sdk/core/lib/interface/http-options.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/logger.interface.d.ts +0 -20
- package/projects/eo-sdk/core/lib/interface/logger.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/organization-objects.interface.d.ts +0 -20
- package/projects/eo-sdk/core/lib/interface/organization-objects.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/tree-node.interface.d.ts +0 -24
- package/projects/eo-sdk/core/lib/interface/tree-node.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/baseparams.model.d.ts +0 -58
- package/projects/eo-sdk/core/lib/model/baseparams.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/bpm.model.d.ts +0 -253
- package/projects/eo-sdk/core/lib/model/bpm.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/custom-action.model.d.ts +0 -34
- package/projects/eo-sdk/core/lib/model/custom-action.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/dms-object-history.model.d.ts +0 -59
- package/projects/eo-sdk/core/lib/model/dms-object-history.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/dms-object.model.d.ts +0 -137
- package/projects/eo-sdk/core/lib/model/dms-object.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/eo-error.model.d.ts +0 -19
- package/projects/eo-sdk/core/lib/model/eo-error.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/eo-user.model.d.ts +0 -107
- package/projects/eo-sdk/core/lib/model/eo-user.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/inbox-item.model.d.ts +0 -71
- package/projects/eo-sdk/core/lib/model/inbox-item.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/object-type.model.d.ts +0 -125
- package/projects/eo-sdk/core/lib/model/object-type.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/org.model.d.ts +0 -94
- package/projects/eo-sdk/core/lib/model/org.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/prepared-item.model.d.ts +0 -190
- package/projects/eo-sdk/core/lib/model/prepared-item.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/range-value.model.d.ts +0 -22
- package/projects/eo-sdk/core/lib/model/range-value.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/upload-file-item.model.d.ts +0 -30
- package/projects/eo-sdk/core/lib/model/upload-file-item.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/upload-target.model.d.ts +0 -60
- package/projects/eo-sdk/core/lib/model/upload-target.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/work-item-history.model.d.ts +0 -52
- package/projects/eo-sdk/core/lib/model/work-item-history.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/auth-interceptor.d.ts +0 -12
- package/projects/eo-sdk/core/lib/service/auth/auth-interceptor.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/auth-profile.interface.d.ts +0 -23
- package/projects/eo-sdk/core/lib/service/auth/auth-profile.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/auth.service.d.ts +0 -104
- package/projects/eo-sdk/core/lib/service/auth/auth.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/gateway-info.interface.d.ts +0 -18
- package/projects/eo-sdk/core/lib/service/auth/gateway-info.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts +0 -209
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/bpm/bpm.service.d.ts +0 -150
- package/projects/eo-sdk/core/lib/service/bpm/bpm.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/cache/app-cache.service.d.ts +0 -59
- package/projects/eo-sdk/core/lib/service/cache/app-cache.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.d.ts +0 -54
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.d.ts +0 -35
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard-action.enum.d.ts +0 -5
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard-action.enum.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.interface.d.ts +0 -16
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.service.d.ts +0 -49
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/config/config.enum.d.ts +0 -5
- package/projects/eo-sdk/core/lib/service/config/config.enum.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/config/config.interface.d.ts +0 -55
- package/projects/eo-sdk/core/lib/service/config/config.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/config/config.service.d.ts +0 -80
- package/projects/eo-sdk/core/lib/service/config/config.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts +0 -286
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/dms/dmsParams.interface.d.ts +0 -13
- package/projects/eo-sdk/core/lib/service/dms/dmsParams.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/events/event.service.d.ts +0 -31
- package/projects/eo-sdk/core/lib/service/events/event.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/events/events.d.ts +0 -27
- package/projects/eo-sdk/core/lib/service/events/events.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/inbox/inbox.service.d.ts +0 -66
- package/projects/eo-sdk/core/lib/service/inbox/inbox.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/logger/console-log.service.d.ts +0 -20
- package/projects/eo-sdk/core/lib/service/logger/console-log.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/logger/logger.d.ts +0 -25
- package/projects/eo-sdk/core/lib/service/logger/logger.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/notifications/notifications.service.d.ts +0 -78
- package/projects/eo-sdk/core/lib/service/notifications/notifications.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/prepare/objectTypes.interface.d.ts +0 -9
- package/projects/eo-sdk/core/lib/service/prepare/objectTypes.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/prepare/prepare.service.d.ts +0 -189
- package/projects/eo-sdk/core/lib/service/prepare/prepare.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/search/search-filter-type.interface.d.ts +0 -10
- package/projects/eo-sdk/core/lib/service/search/search-filter-type.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/search/search-query.model.d.ts +0 -327
- package/projects/eo-sdk/core/lib/service/search/search-query.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/search/search.service.d.ts +0 -173
- package/projects/eo-sdk/core/lib/service/search/search.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts +0 -52
- package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/storage/local-storage.service.d.ts +0 -53
- package/projects/eo-sdk/core/lib/service/storage/local-storage.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries-subscription.interface.d.ts +0 -15
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries-subscription.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries.service.d.ts +0 -108
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-query.model.d.ts +0 -74
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-query.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system/system.service.d.ts +0 -125
- package/projects/eo-sdk/core/lib/service/system/system.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system/systemdefinition.interface.d.ts +0 -53
- package/projects/eo-sdk/core/lib/service/system/systemdefinition.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system-status/system-status.service.d.ts +0 -26
- package/projects/eo-sdk/core/lib/service/system-status/system-status.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system-status/system.status.enum.d.ts +0 -8
- package/projects/eo-sdk/core/lib/service/system-status/system.status.enum.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system-status/system.status.interface.d.ts +0 -8
- package/projects/eo-sdk/core/lib/service/system-status/system.status.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/upload/upload.service.d.ts +0 -28
- package/projects/eo-sdk/core/lib/service/upload/upload.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/upload-registry/upload-registry.service.d.ts +0 -50
- package/projects/eo-sdk/core/lib/service/upload-registry/upload-registry.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts +0 -216
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/util/utils.d.ts +0 -148
- package/projects/eo-sdk/core/lib/util/utils.d.ts.map +0 -1
- package/projects/eo-sdk/core/public_api.d.ts +0 -82
- package/projects/eo-sdk/core/public_api.d.ts.map +0 -1
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { AuthService } from './auth.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AuthInterceptor implements HttpInterceptor {
|
|
6
|
-
auth: AuthService;
|
|
7
|
-
constructor(auth: AuthService);
|
|
8
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthInterceptor, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthInterceptor>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=auth-interceptor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-interceptor.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/eo-sdk/core/src/lib/service/auth/auth-interceptor.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAe,MAAM,sBAAsB,CAAC;AAC3H,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;;AAE3C,qBACa,eAAgB,YAAW,eAAe;IAElC,IAAI,EAAE,WAAW;gBAAjB,IAAI,EAAE,WAAW;IAGpC,SAAS,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,WAAW,GAAG,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;yCALxE,eAAe;6CAAf,eAAe;CAmB3B"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface AuthProfile {
|
|
2
|
-
/**
|
|
3
|
-
* host to connect to
|
|
4
|
-
*/
|
|
5
|
-
host: string;
|
|
6
|
-
/**
|
|
7
|
-
* username
|
|
8
|
-
*/
|
|
9
|
-
user?: string;
|
|
10
|
-
/**
|
|
11
|
-
* token to be set to the authorization header
|
|
12
|
-
*/
|
|
13
|
-
auth?: string;
|
|
14
|
-
/**
|
|
15
|
-
* flag whether or not the profile is active
|
|
16
|
-
*/
|
|
17
|
-
active?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* flag whether or not to connect via NTLM
|
|
20
|
-
*/
|
|
21
|
-
ntlm?: boolean;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=auth-profile.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-profile.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/eo-sdk/core/src/lib/service/auth/auth-profile.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { LocalStorage } from '@ngx-pwa/local-storage';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { CoreConfig } from '../../config/core-config';
|
|
5
|
-
import { EoUser } from '../../model/eo-user.model';
|
|
6
|
-
import { BackendService } from '../backend/backend.service';
|
|
7
|
-
import { BpmService } from '../bpm/bpm.service';
|
|
8
|
-
import { CapabilitiesService } from '../capabilities/capabilities.service';
|
|
9
|
-
import { Config } from '../config/config.service';
|
|
10
|
-
import { EventService } from '../events/event.service';
|
|
11
|
-
import { InboxService } from '../inbox/inbox.service';
|
|
12
|
-
import { PrepareService } from '../prepare/prepare.service';
|
|
13
|
-
import { LocalStorageService } from '../storage/local-storage.service';
|
|
14
|
-
import { SystemStatusService } from '../system-status/system-status.service';
|
|
15
|
-
import { SystemService } from '../system/system.service';
|
|
16
|
-
import { UserService } from '../user/user.service';
|
|
17
|
-
import { AuthProfile } from './auth-profile.interface';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
/**
|
|
20
|
-
* `AuthService` handles authentication against an yuuvis<sup>®</sup> RAD backend.
|
|
21
|
-
*/
|
|
22
|
-
export declare class AuthService {
|
|
23
|
-
private config;
|
|
24
|
-
coreConfig: CoreConfig;
|
|
25
|
-
private http;
|
|
26
|
-
private bpmService;
|
|
27
|
-
private capabilitiesService;
|
|
28
|
-
private inboxService;
|
|
29
|
-
private prepareService;
|
|
30
|
-
private backend;
|
|
31
|
-
private systemService;
|
|
32
|
-
private userService;
|
|
33
|
-
private eventService;
|
|
34
|
-
private systemStatusService;
|
|
35
|
-
protected storage: LocalStorage;
|
|
36
|
-
protected local: LocalStorageService;
|
|
37
|
-
private userProfileUri;
|
|
38
|
-
private authSource;
|
|
39
|
-
private loggedInCacheKey;
|
|
40
|
-
/**
|
|
41
|
-
* Observable to subscribe to for getting the state of being authenticated. Will emit true when a user logged in,
|
|
42
|
-
* false when the user logged out or the gateways session timed out.
|
|
43
|
-
*/
|
|
44
|
-
authenticated$: Observable<boolean>;
|
|
45
|
-
/**
|
|
46
|
-
* @ignore
|
|
47
|
-
*/
|
|
48
|
-
hosts: string[];
|
|
49
|
-
private gatewayInfo;
|
|
50
|
-
/**
|
|
51
|
-
* @ignore
|
|
52
|
-
*/
|
|
53
|
-
profile: AuthProfile;
|
|
54
|
-
/**
|
|
55
|
-
* @ignore
|
|
56
|
-
*/
|
|
57
|
-
constructor(config: Config, coreConfig: CoreConfig, http: HttpClient, bpmService: BpmService, capabilitiesService: CapabilitiesService, inboxService: InboxService, prepareService: PrepareService, backend: BackendService, systemService: SystemService, userService: UserService, eventService: EventService, systemStatusService: SystemStatusService, storage: LocalStorage, local: LocalStorageService);
|
|
58
|
-
/**
|
|
59
|
-
* Login a user using form based login.
|
|
60
|
-
* @param host The target host (could be null if you are running in web environment)
|
|
61
|
-
* @param username The username
|
|
62
|
-
* @param password The password
|
|
63
|
-
* @returns Resolves with the logged in user
|
|
64
|
-
*/
|
|
65
|
-
login(host: string, username: string, password: string): Observable<EoUser>;
|
|
66
|
-
/**
|
|
67
|
-
* Gets called while app init
|
|
68
|
-
* @ignore
|
|
69
|
-
*/
|
|
70
|
-
initUser(host?: string): Observable<EoUser>;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @param gatewayInfo
|
|
74
|
-
* @param host
|
|
75
|
-
* @returns Observable<EoUser>
|
|
76
|
-
*/
|
|
77
|
-
private fetchUser;
|
|
78
|
-
/**
|
|
79
|
-
* Logs out the current user.
|
|
80
|
-
* @param gatewayLogout Flag indicating whether or not to perform a gateway logout as well
|
|
81
|
-
*/
|
|
82
|
-
logout(gatewayLogout?: boolean): void;
|
|
83
|
-
/**
|
|
84
|
-
* for desktop and mobile devices we provide a list of hosts for the login
|
|
85
|
-
*
|
|
86
|
-
* @param string host
|
|
87
|
-
*/
|
|
88
|
-
private addHostConfig;
|
|
89
|
-
/**
|
|
90
|
-
* Get the current state of a user being logged in. This is kind of the synchronous version of subscribing to `authenticated$`.
|
|
91
|
-
* @returns True if there is a logged in user, false otherwise
|
|
92
|
-
*/
|
|
93
|
-
isLoggedIn(): boolean;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @param user
|
|
97
|
-
* @param boolean sso
|
|
98
|
-
* @returns Observable<EoUser>
|
|
99
|
-
*/
|
|
100
|
-
private initApp;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
102
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
103
|
-
}
|
|
104
|
-
//# sourceMappingURL=auth.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/eo-sdk/core/src/lib/service/auth/auth.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AACpD,OAAO,EACY,UAAU,EAE5B,MAAM,MAAM,CAAC;AAEd,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAC,MAAM,EAAC,MAAM,2BAA2B,CAAC;AACjD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C5B,OAAO,CAAC,WAAW,CAAc;IAEjC;;OAEG;IACI,OAAO,EAAE,WAAW,CAKzB;IAEF;;OAEG;gBACiB,MAAM,EAAE,MAAM,EACJ,UAAU,EAAE,UAAU,EAC1C,IAAI,EAAE,UAAU,EAChB,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,EACxC,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,cAAc,EACvB,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,mBAAmB,EAAE,mBAAmB,EACtC,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,mBAAmB;IAStC;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAoBlF;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM;IActB;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IA6BjB;;;OAGG;IACI,MAAM,CAAC,aAAa,CAAC,EAAE,OAAO;IAoBrC;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAOrB;;;OAGG;IACI,UAAU,IAAI,OAAO;IAI5B;;;;;OAKG;IACH,OAAO,CAAC,OAAO;yCAvLJ,WAAW;6CAAX,WAAW;CAkNvB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for the gateways capabilities
|
|
3
|
-
*/
|
|
4
|
-
export interface GatewayInfo {
|
|
5
|
-
/**
|
|
6
|
-
* Capability of authentication using NTLM
|
|
7
|
-
*/
|
|
8
|
-
ntlm: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Capability of authentication using form login
|
|
11
|
-
*/
|
|
12
|
-
form: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Capability of authentication using BASIC authentication
|
|
15
|
-
*/
|
|
16
|
-
basic: boolean;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=gateway-info.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gateway-info.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/eo-sdk/core/src/lib/service/auth/gateway-info.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { Observable, MonoTypeOperatorFunction } from 'rxjs';
|
|
2
|
-
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
3
|
-
import { Config } from '../config/config.service';
|
|
4
|
-
import { DmsObject } from '../../model/dms-object.model';
|
|
5
|
-
import { Logger } from '../logger/logger';
|
|
6
|
-
import { AuthProfile } from '../auth/auth-profile.interface';
|
|
7
|
-
import { HttpParams } from '@angular/common/http';
|
|
8
|
-
import { CoreConfig } from '../../config/core-config';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* HttpOptions for http request
|
|
12
|
-
* @param observe: 'body' | 'events' | 'response'
|
|
13
|
-
* @param responseType: 'arraybuffer' | 'blob' | 'json' | 'text'
|
|
14
|
-
*/
|
|
15
|
-
export interface HttpOptions {
|
|
16
|
-
headers?: HttpHeaders | {
|
|
17
|
-
[header: string]: string | string[];
|
|
18
|
-
};
|
|
19
|
-
observe?: any;
|
|
20
|
-
params?: HttpParams | {
|
|
21
|
-
[param: string]: string | string[];
|
|
22
|
-
};
|
|
23
|
-
reportProgress?: boolean;
|
|
24
|
-
responseType?: any;
|
|
25
|
-
withCredentials?: boolean;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* `BackendService` encapsulates the communication with the yuuvis<sup>®</sup> RAD REST endpoints.
|
|
29
|
-
*
|
|
30
|
-
* As yuuvis<sup>®</sup> RAD provides different services, this service is also capable of providing the base URIs for those services.
|
|
31
|
-
*/
|
|
32
|
-
export declare class BackendService {
|
|
33
|
-
private http;
|
|
34
|
-
coreConfig: CoreConfig;
|
|
35
|
-
private logger;
|
|
36
|
-
private config;
|
|
37
|
-
gridDataFilter: MonoTypeOperatorFunction<any>;
|
|
38
|
-
private authProfile;
|
|
39
|
-
private cache;
|
|
40
|
-
private temp;
|
|
41
|
-
private headers;
|
|
42
|
-
/**
|
|
43
|
-
* @ignore
|
|
44
|
-
*/
|
|
45
|
-
constructor(http: HttpClient, coreConfig: CoreConfig, logger: Logger, config: Config);
|
|
46
|
-
/**
|
|
47
|
-
* @ignore
|
|
48
|
-
*/
|
|
49
|
-
setAuthProfile(profile?: AuthProfile): void;
|
|
50
|
-
/**
|
|
51
|
-
* Add a new header.
|
|
52
|
-
* @param key The headers name
|
|
53
|
-
* @param value The value
|
|
54
|
-
*/
|
|
55
|
-
setHeader(key: string, value: string): void;
|
|
56
|
-
/**
|
|
57
|
-
* Retrieves the current headers
|
|
58
|
-
* @returns The `HttpHeaders` that are currently set up
|
|
59
|
-
*/
|
|
60
|
-
getHeaders(): HttpHeaders;
|
|
61
|
-
/**
|
|
62
|
-
* @ignore
|
|
63
|
-
*/
|
|
64
|
-
getHttpOptions(requestOptions?: HttpOptions): HttpOptions;
|
|
65
|
-
/**
|
|
66
|
-
* Gets the base URI for the DMS-Service endpoint
|
|
67
|
-
* @returns Base URI
|
|
68
|
-
*/
|
|
69
|
-
getServiceBase(): string;
|
|
70
|
-
/**
|
|
71
|
-
* Gets the base URI for the Search-Service endpoint
|
|
72
|
-
* @returns Base URI
|
|
73
|
-
*/
|
|
74
|
-
getSearchBase(): string;
|
|
75
|
-
/**
|
|
76
|
-
* Gets the base URI for the Context-Service endpoint
|
|
77
|
-
* @returns Base URI
|
|
78
|
-
*/
|
|
79
|
-
getContextBase(): string;
|
|
80
|
-
/**
|
|
81
|
-
* Gets the base URI for the Inbox-Service endpoint
|
|
82
|
-
* @returns Base URI
|
|
83
|
-
*/
|
|
84
|
-
getInboxBase(): string;
|
|
85
|
-
/**
|
|
86
|
-
* Gets the base URI for the BPM-Service endpoint
|
|
87
|
-
* @returns Base URI
|
|
88
|
-
*/
|
|
89
|
-
getBpmBase(): string;
|
|
90
|
-
/**
|
|
91
|
-
* Gets the base URI for the Agent-Service endpoint
|
|
92
|
-
* @returns Base URI
|
|
93
|
-
*/
|
|
94
|
-
getAgentBase(): string;
|
|
95
|
-
/**
|
|
96
|
-
* Gets the base URI for the Status-Service endpoint
|
|
97
|
-
* @returns Base URI
|
|
98
|
-
*/
|
|
99
|
-
getStatusBase(): string;
|
|
100
|
-
/**
|
|
101
|
-
* @ignore
|
|
102
|
-
*/
|
|
103
|
-
getIconBase(id?: string): string;
|
|
104
|
-
/**
|
|
105
|
-
* @ignore
|
|
106
|
-
*/
|
|
107
|
-
getHost(): string;
|
|
108
|
-
getBaseWithContext(base: string): string;
|
|
109
|
-
private getContextPath;
|
|
110
|
-
/**
|
|
111
|
-
* Wrapped HTTP GET method
|
|
112
|
-
* @param uri The REST URI to be queried
|
|
113
|
-
* @param base The Base URI (backend service) to be used
|
|
114
|
-
* @param requestOptions Additional request options
|
|
115
|
-
* @returns The data retrieved from the given endpoint
|
|
116
|
-
*/
|
|
117
|
-
get(uri: string, base?: string, requestOptions?: HttpOptions): Observable<any>;
|
|
118
|
-
/**
|
|
119
|
-
* Wrapped HTTP PUT method
|
|
120
|
-
* @param uri The target REST URI
|
|
121
|
-
* @param data Data to be 'posted'
|
|
122
|
-
* @param base The Base URI (backend service) to be used
|
|
123
|
-
* @param requestOptions Additional request options
|
|
124
|
-
* @returns The return value of the target PUT endpoint
|
|
125
|
-
*/
|
|
126
|
-
put(uri: string, data?: any, base?: string, requestOptions?: HttpOptions): Observable<any>;
|
|
127
|
-
/**
|
|
128
|
-
* @ignore
|
|
129
|
-
*/
|
|
130
|
-
getJson(uri: string, base?: string): Observable<any>;
|
|
131
|
-
/**
|
|
132
|
-
* Wrapped HTTP POST method
|
|
133
|
-
* @param uri The target REST URI
|
|
134
|
-
* @param data Data to be 'posted'
|
|
135
|
-
* @param base The Base URI (backend service) to be used
|
|
136
|
-
* @param requestOptions Additional request options
|
|
137
|
-
* @returns The return value of the target POST endpoint
|
|
138
|
-
*/
|
|
139
|
-
post(uri: string, data?: any, base?: string, requestOptions?: HttpOptions): Observable<any>;
|
|
140
|
-
/**
|
|
141
|
-
* Performs a multipart form data POST request.
|
|
142
|
-
* @param uri The target REST URI
|
|
143
|
-
* @param formData FormData to be 'posted'
|
|
144
|
-
* @param base The Base URI (backend service) to be used
|
|
145
|
-
* @param requestOptions Additional request options
|
|
146
|
-
* @returns The return value of the target POST endpoint
|
|
147
|
-
*/
|
|
148
|
-
postMultiPart(uri: string, formData: FormData, base?: string, requestOptions?: HttpOptions): Observable<any>;
|
|
149
|
-
/**
|
|
150
|
-
* Wrapped HTTP DELETE method
|
|
151
|
-
* @param uri The target REST URI
|
|
152
|
-
* @param base The Base URI (backend service) to be used
|
|
153
|
-
* @param requestOptions Additional request options
|
|
154
|
-
* @returns The return value of the target DELETE endpoint
|
|
155
|
-
*/
|
|
156
|
-
del(uri: string, base?: string, requestOptions?: HttpOptions): Observable<any>;
|
|
157
|
-
/**
|
|
158
|
-
* @ignore
|
|
159
|
-
* Soft update for lists - enables grid to handle all changes
|
|
160
|
-
* to add new - only item should be specified
|
|
161
|
-
* to remove - only id should be specified
|
|
162
|
-
* to update - both params should be specified
|
|
163
|
-
*
|
|
164
|
-
* @param any[] list Original list of items
|
|
165
|
-
* @param id?: string; item?: any data[]
|
|
166
|
-
* @returns any[]
|
|
167
|
-
*/
|
|
168
|
-
update(list: any[], data: {
|
|
169
|
-
id?: string;
|
|
170
|
-
item?: any;
|
|
171
|
-
}[]): any[];
|
|
172
|
-
/**
|
|
173
|
-
* @ignore
|
|
174
|
-
* Cache for small requests like icons and configs
|
|
175
|
-
*
|
|
176
|
-
* @param string uri
|
|
177
|
-
* @returns Observable<any>
|
|
178
|
-
*/
|
|
179
|
-
getViaCache(uri: string): Observable<any>;
|
|
180
|
-
/**
|
|
181
|
-
* @ignore
|
|
182
|
-
* Temporary Cache for multiple identical requests
|
|
183
|
-
*
|
|
184
|
-
* @param string id
|
|
185
|
-
* @param Function request
|
|
186
|
-
* @returns Observable<any>
|
|
187
|
-
*/
|
|
188
|
-
getViaTempCache(id: string, request?: Function): Observable<any>;
|
|
189
|
-
/**
|
|
190
|
-
* Download the content of dms objects.
|
|
191
|
-
*
|
|
192
|
-
* @param DmsObject[] dmsObjects Array of dms objects to be downloaded
|
|
193
|
-
* @param "PDF" | "TIFF" | "TEXT" | "JPEG" rendition The type of rendition to be downloaded. If not specified, the original content will be downloaded.
|
|
194
|
-
* Possible renditions are `PDF`, `TIFF`, `TEXT`, `JPEG`.
|
|
195
|
-
*/
|
|
196
|
-
downloadContent(dmsObjects: DmsObject[], rendition?: 'PDF' | 'TIFF' | 'TEXT' | 'JPEG', fileNameWithVersionNumber?: boolean, recyclebin?: boolean): void;
|
|
197
|
-
download(uri: string, version?: number): void;
|
|
198
|
-
downloadMulti(uri: string, version?: number, _body?: any): void;
|
|
199
|
-
private getFileNameFromHttpResponse;
|
|
200
|
-
/**
|
|
201
|
-
* Getter for the HTTP Headers
|
|
202
|
-
*
|
|
203
|
-
* @returns HttpHeaders
|
|
204
|
-
*/
|
|
205
|
-
private setDefaultHeaders;
|
|
206
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackendService, never>;
|
|
207
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BackendService>;
|
|
208
|
-
}
|
|
209
|
-
//# sourceMappingURL=backend.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backend.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/eo-sdk/core/src/lib/service/backend/backend.service.ts"],"names":[],"mappings":"AAA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M,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,GAAG,CAAC;IAQnH;;;;;;OAMG;IACI,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,GAAG,CAAC;IAIrF;;;;;;;;;;OAUG;IACI,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,GAAG,CAAA;KAAC,EAAE;IAY5D;;;;;;OAMG;IACI,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IAShD;;;;;;;OAOG;IACI,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC;IAavE;;;;;;OAMG;IACI,eAAe,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,yBAAyB,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,OAAO;IAyChJ,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IAWtC,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG;IAW/D,OAAO,CAAC,2BAA2B;IAWnC;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;yCAzWd,cAAc;6CAAd,cAAc;CAiX1B"}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { BackendService } from '../backend/backend.service';
|
|
3
|
-
import { WorkItemHistoryEntry } from '../../model/work-item-history.model';
|
|
4
|
-
import { DmsObject } from '../../model/dms-object.model';
|
|
5
|
-
import { InboxService } from '../inbox/inbox.service';
|
|
6
|
-
import { EventService } from '../events/event.service';
|
|
7
|
-
import { CapabilitiesService } from '../capabilities/capabilities.service';
|
|
8
|
-
import { ExecutableProcess, FileEntry, Process, WorkItem, WorkItemAction } from '../../model/bpm.model';
|
|
9
|
-
import { Clipboard } from '../clipboard/clipboard.interface';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* `BpmService` handles interaction related to BPM tasks.
|
|
13
|
-
*
|
|
14
|
-
* The main parts provided and used by this service are Processes and WorkItems.
|
|
15
|
-
* Processes are defined on the backend side. They describe a set of tasks that will be executed by the process.
|
|
16
|
-
* Tasks that require user interaction are referred to as WorkItems.
|
|
17
|
-
*
|
|
18
|
-
* Processes can be related to a special object type, but they don't have to. In addition to that they can refer
|
|
19
|
-
* to dms objects.
|
|
20
|
-
*/
|
|
21
|
-
export declare class BpmService {
|
|
22
|
-
private capabilities;
|
|
23
|
-
private backend;
|
|
24
|
-
private eventService;
|
|
25
|
-
private inboxService;
|
|
26
|
-
hasMainExecutableProcesses: boolean;
|
|
27
|
-
private executableProcesses;
|
|
28
|
-
private processItems;
|
|
29
|
-
private processItemsSource;
|
|
30
|
-
/**
|
|
31
|
-
* Long term observable emitting the current processes
|
|
32
|
-
*/
|
|
33
|
-
processItems$: Observable<Process[]>;
|
|
34
|
-
constructor(capabilities: CapabilitiesService, backend: BackendService, eventService: EventService, inboxService: InboxService);
|
|
35
|
-
/**
|
|
36
|
-
* Retrieve all processes of the current user.
|
|
37
|
-
*
|
|
38
|
-
* @param size Maximum number of processes to be fetched
|
|
39
|
-
* @returns List of Processes
|
|
40
|
-
*/
|
|
41
|
-
getProcesses(size?: number): Observable<Process[]>;
|
|
42
|
-
/**
|
|
43
|
-
* Getter for the executable Processes. If types are provided, you'll get
|
|
44
|
-
* only the processes that are executable for all of them
|
|
45
|
-
* @param types List of dms object types to fetch executable processes for
|
|
46
|
-
* @param useCached If the cached data should be returned rather than requesting again
|
|
47
|
-
* @param additionalData If the additional form data should be also included
|
|
48
|
-
* @param modelid The process model ID to only return the data for one process
|
|
49
|
-
* @returns List of executable processes
|
|
50
|
-
*/
|
|
51
|
-
getExecutableProcesses(types?: string[], useCached?: boolean, additionalData?: boolean, modelid?: string, global?: boolean): Observable<ExecutableProcess[]>;
|
|
52
|
-
initExecutableProcesses(): Observable<any>;
|
|
53
|
-
/**
|
|
54
|
-
* Gets executable Processes for a given set of dms object.You'll get
|
|
55
|
-
* only the processes that are executable for all of them.
|
|
56
|
-
* @param dmsObjects List of dms objects to fetch executable processes for
|
|
57
|
-
* @returns List of executable processes
|
|
58
|
-
*/
|
|
59
|
-
getExecutableProcessesForDmsObjects(dmsObjects: DmsObject[]): Observable<ExecutableProcess[]>;
|
|
60
|
-
/**
|
|
61
|
-
* Fetches executable Processes from the backend.
|
|
62
|
-
* @param types List of dms object types to fetch executable processes for
|
|
63
|
-
* @param additionalData If the additional form data should be also included
|
|
64
|
-
* @param modelid The process model ID to only return the data for one process
|
|
65
|
-
* @returns List of executable processes
|
|
66
|
-
*/
|
|
67
|
-
private fetchExecutableProcesses;
|
|
68
|
-
/**
|
|
69
|
-
* Getter for a processes file. The file of a process contains
|
|
70
|
-
* dms objects attached to the process.
|
|
71
|
-
* @param processId ID of the process to fetch attached objects for
|
|
72
|
-
*/
|
|
73
|
-
getProcessFile(processId: string): Observable<FileEntry[]>;
|
|
74
|
-
/**
|
|
75
|
-
* Retrieves a work item.
|
|
76
|
-
* @param processId ID of the parent process
|
|
77
|
-
* @param itemId ID of the work item itself
|
|
78
|
-
* @param options Options to be added to the backend call
|
|
79
|
-
* @returns a WorkItem
|
|
80
|
-
*/
|
|
81
|
-
getWorkItem(processId: string, itemId: string, options?: any): Observable<WorkItem>;
|
|
82
|
-
/**
|
|
83
|
-
* Saves a work item.
|
|
84
|
-
* @param item The work item to be saved
|
|
85
|
-
* @returns The updated WorkItem
|
|
86
|
-
*/
|
|
87
|
-
saveWorkItem(item: WorkItem): Observable<WorkItem>;
|
|
88
|
-
/**
|
|
89
|
-
* Forwards a work item. If a WorkItem provides different actions (@link WorkItemAction)
|
|
90
|
-
* you can provide the selected action too.
|
|
91
|
-
* @param item The work item to be forwarded
|
|
92
|
-
* @param action Action used for forwarding
|
|
93
|
-
*/
|
|
94
|
-
forwardWorkItem(item: WorkItem, action?: WorkItemAction): Observable<any>;
|
|
95
|
-
/**
|
|
96
|
-
* Locks a WorkItem for the current user (personalization), meaning that the
|
|
97
|
-
* current user is now in charge of fulfilling the WorkItem task.
|
|
98
|
-
* @param item The WorkItem to be locked
|
|
99
|
-
* @returns The updated WorkItem
|
|
100
|
-
*/
|
|
101
|
-
lockWorkItem(item: WorkItem): Observable<WorkItem>;
|
|
102
|
-
/**
|
|
103
|
-
* Releases the lock for a WorkItem.
|
|
104
|
-
* @param item The work item to be unlocked
|
|
105
|
-
* @returns The updated WorkItem
|
|
106
|
-
*/
|
|
107
|
-
unlockWorkItem(item: WorkItem): Observable<WorkItem>;
|
|
108
|
-
/**
|
|
109
|
-
* Starts an executable process.
|
|
110
|
-
* @param executableProcessId ID of the executable Process to be started
|
|
111
|
-
* @param data Data to be passed to the process (simple object of key/value pairs)
|
|
112
|
-
* @param contents Objects to be attached to the process (process.file).
|
|
113
|
-
*/
|
|
114
|
-
startProcess(executableProcessId: string, data: any, contents: {
|
|
115
|
-
id: string;
|
|
116
|
-
type: string;
|
|
117
|
-
}[]): Observable<any>;
|
|
118
|
-
/**
|
|
119
|
-
* Returns the history for a process. Which entries are returned depends on the
|
|
120
|
-
* permissions of the current user.
|
|
121
|
-
* @param processId The ID of the process to fetch history for
|
|
122
|
-
* @returns Observable<WorkItemHistoryEntry[]>
|
|
123
|
-
*/
|
|
124
|
-
getProcessHistory(processId: string): Observable<WorkItemHistoryEntry[]>;
|
|
125
|
-
/**
|
|
126
|
-
* Removes a content from the work items file.
|
|
127
|
-
* @param processId The ID of the process to remove the item from
|
|
128
|
-
* @param workItemId The ID of the work item containing the file element to be removed
|
|
129
|
-
* @param workItemContentId The the ID of the file element to be removed
|
|
130
|
-
*/
|
|
131
|
-
removeFileElement(processId: string, workItemId: string, workItemContentId: string): Observable<any>;
|
|
132
|
-
/**
|
|
133
|
-
* Add contents to a work items file.
|
|
134
|
-
* @param processId The ID of the process
|
|
135
|
-
* @param workItemId The ID of the activity
|
|
136
|
-
* @param elements The Elements to be added
|
|
137
|
-
* @returns The updated WorkItem
|
|
138
|
-
*/
|
|
139
|
-
addFileElements(processId: string, workItemId: string, elements: DmsObject[]): Observable<WorkItem>;
|
|
140
|
-
/**
|
|
141
|
-
* Add a objects from the clipboard to a WorkItem.
|
|
142
|
-
* @param workItem The workItem to add the objects to
|
|
143
|
-
* @param clipboard Clipboard object holding user selected objects
|
|
144
|
-
* @returns The updated WorkItem
|
|
145
|
-
*/
|
|
146
|
-
addFileElementsFromClipboard(workItem: WorkItem, clipboard: Clipboard): Observable<WorkItem>;
|
|
147
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BpmService, never>;
|
|
148
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BpmService>;
|
|
149
|
-
}
|
|
150
|
-
//# sourceMappingURL=bpm.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bpm.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/eo-sdk/core/src/lib/service/bpm/bpm.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,UAAU,EAAoD,MAAM,MAAM,CAAC;AAIvI,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAC,MAAM,yBAAyB,CA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AU;CAiStB"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { LocalStorage, StorageMap } from '@ngx-pwa/local-storage';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* The apps central caching service. It will provide the app with an easy to use cache that
|
|
6
|
-
* is aware of the platform it is running on. So it abstracts the platform-specific implementations
|
|
7
|
-
* of a cache from the application.
|
|
8
|
-
*/
|
|
9
|
-
export declare class AppCacheService {
|
|
10
|
-
protected storage: LocalStorage;
|
|
11
|
-
private storageMap;
|
|
12
|
-
/**
|
|
13
|
-
* Key for storing system definition
|
|
14
|
-
*/
|
|
15
|
-
SYSTEM_DEFINITION: string;
|
|
16
|
-
/**
|
|
17
|
-
* Key for storing system definition
|
|
18
|
-
*/
|
|
19
|
-
HOSTS: string;
|
|
20
|
-
/**
|
|
21
|
-
* Key for storing location history
|
|
22
|
-
*/
|
|
23
|
-
LOCATION_HISTORY: string;
|
|
24
|
-
private itemsMap;
|
|
25
|
-
constructor(storage: LocalStorage, storageMap: StorageMap);
|
|
26
|
-
/**
|
|
27
|
-
* Writes an item to the storage.
|
|
28
|
-
* @param key The item's key
|
|
29
|
-
* @param value The value to be stored
|
|
30
|
-
* @param debounce The debounce time (default: 500) to reduce identical storage calls
|
|
31
|
-
* @returns Resolves true if setting the item succeeded, false otherwise
|
|
32
|
-
*/
|
|
33
|
-
setItem(key: string, value: any, debounce?: number): Observable<boolean>;
|
|
34
|
-
/**
|
|
35
|
-
* Get a stored item by its key.
|
|
36
|
-
* @param key The item's key
|
|
37
|
-
* @returns The item's value if the key exists, null otherwise
|
|
38
|
-
*/
|
|
39
|
-
getItem(key: string): Observable<any>;
|
|
40
|
-
/**
|
|
41
|
-
* Removes an item from the storage.
|
|
42
|
-
* @param key The item's key
|
|
43
|
-
* @returns Resolves true if removing the item succeeded, false otherwise
|
|
44
|
-
*/
|
|
45
|
-
removeItem(key: string): Observable<boolean>;
|
|
46
|
-
/**
|
|
47
|
-
* Deletes all items from local storage
|
|
48
|
-
* @param filter optional - Delete all keys that pass through filter
|
|
49
|
-
* @returns Resolves true if clearing all items succeeded, false otherwise
|
|
50
|
-
*/
|
|
51
|
-
clear(filter?: (key: any) => boolean): Observable<boolean>;
|
|
52
|
-
getStorageKeys(): Observable<any>;
|
|
53
|
-
getStorage(): Observable<any>;
|
|
54
|
-
setStorage(options: any): Observable<any>;
|
|
55
|
-
replaceStorage(settings: any): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppCacheService, never>;
|
|
57
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppCacheService>;
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=app-cache.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-cache.service.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/eo-sdk/core/src/lib/service/cache/app-cache.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAuD,MAAM,MAAM,CAAC;AACtF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAC,MAAM,wBAAwB,CAAC;;AAIhE;;;;GAIG;AACH,qBAGa,eAAe;IAiBd,SAAS,CAAC,OAAO,EAAE,YAAY;IAAE,OAAO,CAAC,UAAU;IAf/D;;OAEG;IACI,iBAAiB,SAAyC;IACjE;;OAEG;IACI,KAAK,SAA8B;IAC1C;;OAEG;IACI,gBAAgB,SAA0C;IAEjE,OAAO,CAAC,QAAQ,CAAmC;gBAE7B,OAAO,EAAE,YAAY,EAAU,UAAU,EAAE,UAAU;IAK3E;;;;;;OAMG;IACI,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,GAAE,MAAY,GAAG,UAAU,CAAC,OAAO,CAAC;IAcpF;;;;OAIG;IACI,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IAQ5C;;;;OAIG;IACI,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAInD;;;;OAIG;IACI,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,KAAA,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IAW5D,cAAc,IAAI,UAAU,CAAC,GAAG,CAAC;IAUjC,UAAU,IAAI,UAAU,CAAC,GAAG,CAAC;IAgB7B,UAAU,CAAC,OAAO,EAAE,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAIzC,cAAc,CAAC,QAAQ,EAAE,GAAG;yCA/GjB,eAAe;6CAAf,eAAe;CAoH3B"}
|