@eo-sdk/client 10.6.0-rc.2 → 10.6.0-rc.3
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/dashboard/dashboard.component.d.ts +5 -3
- package/app/eo-client/dashboard/dashboard.component.d.ts.map +1 -1
- package/app/eo-client/login/login.component.d.ts +2 -4
- package/app/eo-client/login/login.component.d.ts.map +1 -1
- package/app/eo-client/settings/settings.component.d.ts +2 -4
- package/app/eo-client/settings/settings.component.d.ts.map +1 -1
- package/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.d.ts +1 -0
- package/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.d.ts.map +1 -1
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts +10 -5
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/date/date.component.d.ts +2 -1
- package/app/eo-framework/form-elements/date/date.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/id-reference/id-reference.component.d.ts +1 -0
- package/app/eo-framework/form-elements/id-reference/id-reference.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/organization/organization.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/string/string.component.d.ts +2 -3
- package/app/eo-framework/form-elements/string/string.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts +1 -1
- package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts.map +1 -1
- package/assets/_default/i18n/de.json +2 -4
- package/assets/_default/i18n/en.json +8 -10
- package/esm2020/app/eo-client/about-state/about-state.component.mjs +3 -3
- package/esm2020/app/eo-client/dashboard/dashboard.component.mjs +17 -7
- package/esm2020/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.component.mjs +3 -3
- package/esm2020/app/eo-client/login/login.component.mjs +7 -11
- package/esm2020/app/eo-client/settings/settings.component.mjs +6 -10
- package/esm2020/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.mjs +10 -4
- package/esm2020/app/eo-framework/app-shell/app-bar/app-bar.component.mjs +44 -19
- package/esm2020/app/eo-framework/form-elements/date/date.component.mjs +7 -4
- package/esm2020/app/eo-framework/form-elements/datetime-range/datetime-range.component.mjs +1 -1
- package/esm2020/app/eo-framework/form-elements/id-reference/id-reference.component.mjs +10 -3
- package/esm2020/app/eo-framework/form-elements/organization/organization.component.mjs +2 -1
- package/esm2020/app/eo-framework/form-elements/string/string.component.mjs +4 -5
- package/esm2020/app/eo-framework/grid/filters/datetime-filter.component.mjs +3 -3
- package/esm2020/app/eo-framework/object-form/object-form/form-element/form-element.component.mjs +1 -1
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.mjs +11 -21
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth.service.mjs +21 -169
- package/esm2020/projects/eo-sdk/core/lib/service/user/user.service.mjs +4 -4
- package/esm2020/projects/eo-sdk/core/public_api.mjs +1 -3
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs +19 -191
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2015/eo-sdk-client.mjs +104 -72
- package/fesm2015/eo-sdk-client.mjs.map +1 -1
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs +19 -191
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2020/eo-sdk-client.mjs +104 -72
- package/fesm2020/eo-sdk-client.mjs.map +1 -1
- package/package.json +4 -4
- package/projects/eo-sdk/core/lib/service/auth/auth.service.d.ts +1 -23
- package/projects/eo-sdk/core/lib/service/auth/auth.service.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts.map +1 -1
- package/projects/eo-sdk/core/public_api.d.ts +0 -2
- package/projects/eo-sdk/core/public_api.d.ts.map +1 -1
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth.cloud.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/environment/environment.service.mjs +0 -28
- package/projects/eo-sdk/core/lib/service/auth/auth.cloud.interface.d.ts +0 -12
- package/projects/eo-sdk/core/lib/service/auth/auth.cloud.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/environment/environment.service.d.ts +0 -14
- package/projects/eo-sdk/core/lib/service/environment/environment.service.d.ts.map +0 -1
|
@@ -31,7 +31,6 @@ export * from './lib/service/system/systemdefinition.interface';
|
|
|
31
31
|
export * from './lib/service/upload/upload.service';
|
|
32
32
|
export * from './lib/service/upload-registry/upload-registry.service';
|
|
33
33
|
export * from './lib/service/user/user.service';
|
|
34
|
-
export * from './lib/service/environment/environment.service';
|
|
35
34
|
export * from './lib/service/signing/signing.service';
|
|
36
35
|
/**
|
|
37
36
|
* Models
|
|
@@ -58,7 +57,6 @@ export * from './lib/service/stored-queries/stored-query.model';
|
|
|
58
57
|
/**
|
|
59
58
|
* Interfaces
|
|
60
59
|
*/
|
|
61
|
-
export * from './lib/service/auth/auth.cloud.interface';
|
|
62
60
|
export * from './lib/service/dms/dmsParams.interface';
|
|
63
61
|
export * from './lib/service/clipboard/clipboard.interface';
|
|
64
62
|
export * from './lib/service/system-status/system.status.interface';
|
|
@@ -84,4 +82,4 @@ export * from './lib/service/clipboard/clipboard-action.enum';
|
|
|
84
82
|
export * from './lib/service/system-status/system.status.enum';
|
|
85
83
|
export * from './lib/service/config/config.enum';
|
|
86
84
|
export * from './lib/util/utils';
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VvLXNkay9jb3JlL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzI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9ydCAqIGZyb20gJy4vbGliL2ludGVyZmFjZS90cmVlLW5vZGUuaW50ZXJmYWNlJztcblxuLyoqXG4gKiBDb25maWdcbiAqL1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uZmlnL2NvcmUtY29uZmlnJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbmZpZy9jb3JlLWluaXQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25maWcvY29yZS1pbml0LnRva2Vucyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25maWcvaW5pdGlhbGl6ZS1tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uZmlnL21pc3NpbmctdHJhbnNsYXRpb24taGFuZGxlcic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25maWcvdHJhbnNsYXRlLWpzb24tbG9hZGVyJztcblxuLyoqXG4gKiBNaXNjZWxsYW5lb3VzXG4gKi9cbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2UvY2xpcGJvYXJkL2NsaXBib2FyZC1hY3Rpb24uZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlL3N5c3RlbS1zdGF0dXMvc3lzdGVtLnN0YXR1cy5lbnVtJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2UvY29uZmlnL2NvbmZpZy5lbnVtJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3V0aWwvdXRpbHMnO1xuIl19
|
|
@@ -8,7 +8,7 @@ import { InjectionToken, Inject, Injectable, NgModule, APP_INITIALIZER, Optional
|
|
|
8
8
|
import * as i1$3 from 'ngx-toastr';
|
|
9
9
|
import { ToastrModule } from 'ngx-toastr';
|
|
10
10
|
import { __decorate, __param } from 'tslib';
|
|
11
|
-
import { EMPTY, throwError, Subject, of, forkJoin, Observable, ReplaySubject, BehaviorSubject, timer
|
|
11
|
+
import { EMPTY, throwError, Subject, of, forkJoin, Observable, ReplaySubject, BehaviorSubject, timer } from 'rxjs';
|
|
12
12
|
import { filter, map, tap, finalize, shareReplay, debounceTime, switchMap, first, catchError, expand, skipWhile, mergeMap, takeUntil } from 'rxjs/operators';
|
|
13
13
|
import { DatePipe, registerLocaleData } from '@angular/common';
|
|
14
14
|
import moment from 'moment';
|
|
@@ -1224,18 +1224,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
1224
1224
|
}]
|
|
1225
1225
|
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: EventService }]; } });
|
|
1226
1226
|
|
|
1227
|
-
class EnvironmentEnaio {
|
|
1228
|
-
static isWebEnvironment() {
|
|
1229
|
-
return !EnvironmentEnaio.isDesktopEnvironment() && !EnvironmentEnaio.isMobileEnvironment();
|
|
1230
|
-
}
|
|
1231
|
-
static isMobileEnvironment() {
|
|
1232
|
-
return window.hasOwnProperty('cordova');
|
|
1233
|
-
}
|
|
1234
|
-
static isDesktopEnvironment() {
|
|
1235
|
-
return window.hasOwnProperty('process') && window['process'].versions.hasOwnProperty('electron');
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
1227
|
class EoUser {
|
|
1240
1228
|
/**
|
|
1241
1229
|
* Creates a new instance
|
|
@@ -1322,32 +1310,6 @@ class EoUser {
|
|
|
1322
1310
|
}
|
|
1323
1311
|
}
|
|
1324
1312
|
|
|
1325
|
-
/**
|
|
1326
|
-
* Wrapper for Cloud Services through Auth Service
|
|
1327
|
-
*/
|
|
1328
|
-
class EnvironmentService {
|
|
1329
|
-
constructor() {
|
|
1330
|
-
this._cloudEnvironment = false;
|
|
1331
|
-
}
|
|
1332
|
-
set cloudEnvironment(env) {
|
|
1333
|
-
this._cloudEnvironment = env;
|
|
1334
|
-
}
|
|
1335
|
-
get cloudEnvironment() {
|
|
1336
|
-
return this._cloudEnvironment;
|
|
1337
|
-
}
|
|
1338
|
-
isCloud() {
|
|
1339
|
-
return this.cloudEnvironment;
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
|
-
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1343
|
-
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
|
|
1344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
1345
|
-
type: Injectable,
|
|
1346
|
-
args: [{
|
|
1347
|
-
providedIn: 'root'
|
|
1348
|
-
}]
|
|
1349
|
-
}], ctorParameters: function () { return []; } });
|
|
1350
|
-
|
|
1351
1313
|
/**
|
|
1352
1314
|
* History entry of a work item.
|
|
1353
1315
|
*/
|
|
@@ -3241,7 +3203,7 @@ class UserService {
|
|
|
3241
3203
|
* @returns The saved settings
|
|
3242
3204
|
*/
|
|
3243
3205
|
loadLocalSettings() {
|
|
3244
|
-
return this.backend.get('/user/config/localSettings');
|
|
3206
|
+
return this.backend.get('/user/config/localSettings').pipe(catchError(() => EMPTY));
|
|
3245
3207
|
}
|
|
3246
3208
|
}
|
|
3247
3209
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UserService, deps: [{ token: BackendService }, { token: i1.TranslateService }, { token: Logger }, { token: EventService }, { token: SystemService }, { token: i1$1.HttpClient }, { token: Config }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -3808,13 +3770,11 @@ class AuthService {
|
|
|
3808
3770
|
/**
|
|
3809
3771
|
* @ignore
|
|
3810
3772
|
*/
|
|
3811
|
-
constructor(config, coreConfig,
|
|
3773
|
+
constructor(config, coreConfig, http, bpmService, capabilitiesService, inboxService, prepareService, backend, systemService, userService, eventService, systemStatusService, storage, local) {
|
|
3812
3774
|
this.config = config;
|
|
3813
3775
|
this.coreConfig = coreConfig;
|
|
3814
|
-
this.envService = envService;
|
|
3815
3776
|
this.http = http;
|
|
3816
3777
|
this.bpmService = bpmService;
|
|
3817
|
-
this.ngZone = ngZone;
|
|
3818
3778
|
this.capabilitiesService = capabilitiesService;
|
|
3819
3779
|
this.inboxService = inboxService;
|
|
3820
3780
|
this.prepareService = prepareService;
|
|
@@ -3825,7 +3785,6 @@ class AuthService {
|
|
|
3825
3785
|
this.systemStatusService = systemStatusService;
|
|
3826
3786
|
this.storage = storage;
|
|
3827
3787
|
this.local = local;
|
|
3828
|
-
this.TOKEN_STORAGE_KEY = 'eo.auth.cloud.credentials';
|
|
3829
3788
|
this.userProfileUri = this.userService.USER_FETCH_URI;
|
|
3830
3789
|
this.authSource = new BehaviorSubject(false);
|
|
3831
3790
|
this.loggedInCacheKey = 'eo.user.loggedIn';
|
|
@@ -3875,124 +3834,6 @@ class AuthService {
|
|
|
3875
3834
|
withCredentials: this.coreConfig.withCredentials
|
|
3876
3835
|
}).pipe(switchMap(() => this.initUser(host)));
|
|
3877
3836
|
}
|
|
3878
|
-
/**
|
|
3879
|
-
* Log in to a cloud backend using device flow.
|
|
3880
|
-
* @param host The target host (could be null if you are running in web environment)
|
|
3881
|
-
* @param tenant The tenant
|
|
3882
|
-
* @returns Resolves with the logged in user
|
|
3883
|
-
*/
|
|
3884
|
-
cloudLogin(host, tenant) {
|
|
3885
|
-
return Observable.create(o => {
|
|
3886
|
-
const stopTrigger$ = new Subject();
|
|
3887
|
-
//const targetHost = this.location.pathname.substring(0, this.location.pathname.indexOf('/enter')); // host || '';
|
|
3888
|
-
const targetHost = host || '';
|
|
3889
|
-
// start auth flow
|
|
3890
|
-
this.http.get(`${targetHost}/tenant/${tenant}/loginDevice`).subscribe((res) => {
|
|
3891
|
-
// open new window for the authentication process ...
|
|
3892
|
-
const targetUri = `${targetHost}/oauth/${tenant}?user_code=${res.user_code}`;
|
|
3893
|
-
const win = window.open(targetUri, 'auth');
|
|
3894
|
-
if (win) {
|
|
3895
|
-
// @see: http://atashbahar.com/post/2010-04-27-detect-when-a-javascript-popup-window-gets-closed
|
|
3896
|
-
this.ngZone.runOutsideAngular(() => {
|
|
3897
|
-
const winTimer = setInterval(() => {
|
|
3898
|
-
if (win.closed) {
|
|
3899
|
-
clearInterval(winTimer);
|
|
3900
|
-
this.ngZone.run(() => {
|
|
3901
|
-
stopTrigger$.next();
|
|
3902
|
-
stopTrigger$.complete();
|
|
3903
|
-
});
|
|
3904
|
-
}
|
|
3905
|
-
}, 1000);
|
|
3906
|
-
});
|
|
3907
|
-
}
|
|
3908
|
-
// ... and start polling for authentication results
|
|
3909
|
-
this.cloudLoginPollForResult(`${targetHost}/auth/info/state?device_code=${res.device_code}`, 1000, stopTrigger$)
|
|
3910
|
-
.pipe(tap((accessToken) => {
|
|
3911
|
-
if (accessToken) {
|
|
3912
|
-
this.cloudLoginSetHeaders(accessToken, tenant);
|
|
3913
|
-
const storeToken = {
|
|
3914
|
-
tenant: tenant,
|
|
3915
|
-
accessToken: accessToken
|
|
3916
|
-
};
|
|
3917
|
-
this.storage.setItem(this.TOKEN_STORAGE_KEY, storeToken).subscribe();
|
|
3918
|
-
}
|
|
3919
|
-
}), switchMap((authRes) => {
|
|
3920
|
-
if (authRes) {
|
|
3921
|
-
return this.initUser(targetHost);
|
|
3922
|
-
}
|
|
3923
|
-
else {
|
|
3924
|
-
throwError('not authenticated');
|
|
3925
|
-
}
|
|
3926
|
-
})).subscribe((user) => {
|
|
3927
|
-
win.close();
|
|
3928
|
-
o.next(user);
|
|
3929
|
-
o.complete();
|
|
3930
|
-
}, err => {
|
|
3931
|
-
win.close();
|
|
3932
|
-
o.error(err);
|
|
3933
|
-
o.complete();
|
|
3934
|
-
});
|
|
3935
|
-
}, err => {
|
|
3936
|
-
o.error('unable to call device flow endpoint', err);
|
|
3937
|
-
o.complete();
|
|
3938
|
-
});
|
|
3939
|
-
});
|
|
3940
|
-
}
|
|
3941
|
-
/**
|
|
3942
|
-
* Starts polling for login results in case of logging in to a cloud backend.
|
|
3943
|
-
* @param uri URI to poll
|
|
3944
|
-
* @param pollingInterval Polling intervall in milliseconds
|
|
3945
|
-
* @param stopTrigger Subject acting as stop trigger
|
|
3946
|
-
* @returns Access Token if logged in successfully or NULL otherwise
|
|
3947
|
-
*/
|
|
3948
|
-
cloudLoginPollForResult(uri, pollingInterval, stopTrigger = new Subject()) {
|
|
3949
|
-
return Observable.create(o => {
|
|
3950
|
-
let accessGranted = false;
|
|
3951
|
-
let accessDenied = false;
|
|
3952
|
-
this.ngZone.runOutsideAngular(() => {
|
|
3953
|
-
interval(pollingInterval).pipe(takeUntil(stopTrigger), switchMap(() => this.http.get(uri).pipe(catchError((err) => {
|
|
3954
|
-
// OAuth standard we are using is returning with a status of 400 while logging in (no idea why???)
|
|
3955
|
-
// so we got to fetch that to not break the parent pipe
|
|
3956
|
-
if (err.status === 400) {
|
|
3957
|
-
return of(err.error);
|
|
3958
|
-
}
|
|
3959
|
-
else {
|
|
3960
|
-
throwError(err);
|
|
3961
|
-
}
|
|
3962
|
-
})))).subscribe((res) => {
|
|
3963
|
-
this.ngZone.run(() => {
|
|
3964
|
-
accessGranted = !!res.access_token;
|
|
3965
|
-
accessDenied = res.error === 'access_denied';
|
|
3966
|
-
if (accessGranted || accessDenied) {
|
|
3967
|
-
// logged in
|
|
3968
|
-
stopTrigger.next();
|
|
3969
|
-
stopTrigger.complete();
|
|
3970
|
-
o.next(accessGranted ? res.access_token : null);
|
|
3971
|
-
o.complete();
|
|
3972
|
-
}
|
|
3973
|
-
else if (res.error === 'expired_token') {
|
|
3974
|
-
// expired so skip polling
|
|
3975
|
-
throwError('Token expired');
|
|
3976
|
-
}
|
|
3977
|
-
});
|
|
3978
|
-
}, err => {
|
|
3979
|
-
this.ngZone.run(() => {
|
|
3980
|
-
o.error(err);
|
|
3981
|
-
o.complete();
|
|
3982
|
-
});
|
|
3983
|
-
}, () => {
|
|
3984
|
-
this.ngZone.run(() => {
|
|
3985
|
-
o.next(accessGranted);
|
|
3986
|
-
o.complete();
|
|
3987
|
-
});
|
|
3988
|
-
});
|
|
3989
|
-
});
|
|
3990
|
-
});
|
|
3991
|
-
}
|
|
3992
|
-
cloudLoginSetHeaders(accessToken, tenant) {
|
|
3993
|
-
this.backend.setHeader('Authorization', 'bearer ' + accessToken);
|
|
3994
|
-
this.backend.setHeader('X-ID-TENANT-NAME', tenant);
|
|
3995
|
-
}
|
|
3996
3837
|
/**
|
|
3997
3838
|
* Gets called while app init
|
|
3998
3839
|
* @ignore
|
|
@@ -4005,20 +3846,7 @@ class AuthService {
|
|
|
4005
3846
|
.get(`${host || ''}${this.config.getContextPath()}/auth/info`, { headers, withCredentials: this.coreConfig.withCredentials })
|
|
4006
3847
|
.pipe(switchMap((info) => {
|
|
4007
3848
|
this.gatewayInfo = info;
|
|
4008
|
-
this.
|
|
4009
|
-
if (this.isCloudEnvironment()) {
|
|
4010
|
-
// in case of running against cloud backend, we try to fetch
|
|
4011
|
-
// access token and tenant from local storage
|
|
4012
|
-
return this.storage.getItem(this.TOKEN_STORAGE_KEY).pipe(switchMap((res) => {
|
|
4013
|
-
if (res) {
|
|
4014
|
-
this.cloudLoginSetHeaders(res.accessToken, res.tenant);
|
|
4015
|
-
}
|
|
4016
|
-
return this.fetchUser(info, host);
|
|
4017
|
-
}));
|
|
4018
|
-
}
|
|
4019
|
-
else {
|
|
4020
|
-
return this.fetchUser(info, host);
|
|
4021
|
-
}
|
|
3849
|
+
return this.fetchUser(info, host);
|
|
4022
3850
|
}));
|
|
4023
3851
|
}
|
|
4024
3852
|
/**
|
|
@@ -4065,14 +3893,6 @@ class AuthService {
|
|
|
4065
3893
|
auth: null,
|
|
4066
3894
|
active: false
|
|
4067
3895
|
};
|
|
4068
|
-
if (this.isCloudEnvironment()) {
|
|
4069
|
-
// remove stored access data
|
|
4070
|
-
this.storage.removeItem(this.TOKEN_STORAGE_KEY).subscribe();
|
|
4071
|
-
if (this.coreConfig.environment.production && EnvironmentEnaio.isWebEnvironment()) {
|
|
4072
|
-
window.location.href = this.config.getContextPath() + '/logout';
|
|
4073
|
-
return;
|
|
4074
|
-
}
|
|
4075
|
-
}
|
|
4076
3896
|
if (gatewayLogout) {
|
|
4077
3897
|
// by default we are just resetting internal state to 'logged out' and in
|
|
4078
3898
|
// some cases call gateways logout endpoint to do logout stuff there silently
|
|
@@ -4081,10 +3901,6 @@ class AuthService {
|
|
|
4081
3901
|
this.backend.setAuthProfile(this.profile);
|
|
4082
3902
|
this.eventService.trigger(EnaioEvent.LOGOUT);
|
|
4083
3903
|
}
|
|
4084
|
-
isCloudEnvironment() {
|
|
4085
|
-
// oauth2 indicates that we are running in a cloud environment
|
|
4086
|
-
return this.gatewayInfo && this.gatewayInfo.oauth2;
|
|
4087
|
-
}
|
|
4088
3904
|
/**
|
|
4089
3905
|
* for desktop and mobile devices we provide a list of hosts for the login
|
|
4090
3906
|
*
|
|
@@ -4129,7 +3945,7 @@ class AuthService {
|
|
|
4129
3945
|
return forkJoin(todo).pipe(map(() => currUser));
|
|
4130
3946
|
}
|
|
4131
3947
|
}
|
|
4132
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AuthService, deps: [{ token: Config }, { token: CORE_CONFIG }, { token:
|
|
3948
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AuthService, deps: [{ token: Config }, { token: CORE_CONFIG }, { token: i1$1.HttpClient }, { token: BpmService }, { token: CapabilitiesService }, { token: InboxService }, { token: PrepareService }, { token: BackendService }, { token: SystemService }, { token: UserService }, { token: EventService }, { token: SystemStatusService }, { token: i1$2.LocalStorage }, { token: LocalStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4133
3949
|
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
4134
3950
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AuthService, decorators: [{
|
|
4135
3951
|
type: Injectable,
|
|
@@ -4140,7 +3956,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
4140
3956
|
return [{ type: Config }, { type: CoreConfig, decorators: [{
|
|
4141
3957
|
type: Inject,
|
|
4142
3958
|
args: [CORE_CONFIG]
|
|
4143
|
-
}] }, { type:
|
|
3959
|
+
}] }, { type: i1$1.HttpClient }, { type: BpmService }, { type: CapabilitiesService }, { type: InboxService }, { type: PrepareService }, { type: BackendService }, { type: SystemService }, { type: UserService }, { type: EventService }, { type: SystemStatusService }, { type: i1$2.LocalStorage }, { type: LocalStorageService }];
|
|
4144
3960
|
} });
|
|
4145
3961
|
|
|
4146
3962
|
/**
|
|
@@ -4477,6 +4293,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
4477
4293
|
}] }];
|
|
4478
4294
|
} });
|
|
4479
4295
|
|
|
4296
|
+
class EnvironmentEnaio {
|
|
4297
|
+
static isWebEnvironment() {
|
|
4298
|
+
return !EnvironmentEnaio.isDesktopEnvironment() && !EnvironmentEnaio.isMobileEnvironment();
|
|
4299
|
+
}
|
|
4300
|
+
static isMobileEnvironment() {
|
|
4301
|
+
return window.hasOwnProperty('cordova');
|
|
4302
|
+
}
|
|
4303
|
+
static isDesktopEnvironment() {
|
|
4304
|
+
return window.hasOwnProperty('process') && window['process'].versions.hasOwnProperty('electron');
|
|
4305
|
+
}
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4480
4308
|
/**
|
|
4481
4309
|
* Collection of all Clipboard Services
|
|
4482
4310
|
*/
|
|
@@ -6285,5 +6113,5 @@ class UploadFileItem {
|
|
|
6285
6113
|
* Generated bundle index. Do not edit.
|
|
6286
6114
|
*/
|
|
6287
6115
|
|
|
6288
|
-
export { AppCacheService, AuthService, BackendService, BpmService, CORE_CONFIG, CUSTOM_CONFIG, CapabilitiesService, ClipboardAction, ClipboardService, Config, CoreConfig, CoreInit, Direction, DmsObject, DmsObjectAttachment, DmsObjectHistoryEntry, DmsService, EnaioEvent, EnvironmentEnaio,
|
|
6116
|
+
export { AppCacheService, AuthService, BackendService, BpmService, CORE_CONFIG, CUSTOM_CONFIG, CapabilitiesService, ClipboardAction, ClipboardService, Config, CoreConfig, CoreInit, Direction, DmsObject, DmsObjectAttachment, DmsObjectHistoryEntry, DmsService, EnaioEvent, EnvironmentEnaio, EoCoreModule, EoError, EoSharedModule, EoUser, EoxMissingTranslationHandler, EoxTranslateJsonLoader, EventService, FieldDefinition, InboxItem, InboxService, LocalStorageService, Logger, NotificationsService, ObjectType, PrepareService, PreparedItem, Process, QueryScope, RangeValue, SearchFilter, SearchQuery, SearchResult, SearchService, SearchState, SigningService, SortOption, StoredQueriesService, StoredQuery, SubscriptionMode, SystemService, SystemStatusEnum, UploadFileItem, UploadRegistryService, UploadService, UploadTarget, UserService, Utils, WorkItem, WorkItemHistoryEntry, init_module };
|
|
6289
6117
|
//# sourceMappingURL=eo-sdk-client-projects-eo-sdk-core.mjs.map
|