@eui/core 13.0.0-rc.3 → 13.0.0-rc.30
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/docs/dependencies.html +43 -47
- package/docs/injectables/LocaleService.html +20 -0
- package/docs/injectables/UxAppShellService.html +111 -0
- package/docs/interfaces/UIState.html +90 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +3 -1
- package/esm2020/lib/eui-core.module.mjs +6 -6
- package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -5
- package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/cors-security.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +4 -5
- package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +4 -4
- package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +4 -4
- package/esm2020/lib/services/errors/global-error-handler.mjs +4 -5
- package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +5 -6
- package/esm2020/lib/services/i18n/i18n.loader.mjs +4 -6
- package/esm2020/lib/services/i18n/i18n.service.mjs +4 -7
- package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
- package/esm2020/lib/services/locale/locale.service.mjs +9 -8
- package/esm2020/lib/services/log/log.module.mjs +5 -5
- package/esm2020/lib/services/log/log.service.mjs +5 -5
- package/esm2020/lib/services/permission/permission.service.mjs +4 -6
- package/esm2020/lib/services/queue/api-queue.service.mjs +4 -9
- package/esm2020/lib/services/queue/api-queue.service.mock.mjs +1 -5
- package/esm2020/lib/services/storage/async-storage.service.mock.mjs +1 -5
- package/esm2020/lib/services/storage/local-forage.service.mjs +4 -5
- package/esm2020/lib/services/storage/local-storage.service.mjs +4 -5
- package/esm2020/lib/services/storage/session-storage.service.mjs +4 -5
- package/esm2020/lib/services/store/effects/app.effects.mjs +10 -16
- package/esm2020/lib/services/store/store.service.mjs +5 -7
- package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
- package/esm2020/lib/services/user/user.service.mjs +4 -5
- package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
- package/esm2020/lib/services/ux-app-shell.service.mjs +29 -12
- package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +5 -5
- package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -6
- package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -6
- package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
- package/fesm2015/eui-core.mjs +127 -122
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +170 -161
- package/fesm2020/eui-core.mjs.map +1 -1
- package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +1 -1
- package/lib/services/locale/locale.service.d.ts +1 -0
- package/lib/services/locale/locale.service.d.ts.map +1 -1
- package/lib/services/queue/api-queue.service.d.ts.map +1 -1
- package/lib/services/queue/api-queue.service.mock.d.ts.map +1 -1
- package/lib/services/storage/async-storage.service.mock.d.ts.map +1 -1
- package/lib/services/store/effects/app.effects.d.ts.map +1 -1
- package/lib/services/ux-app-shell.service.d.ts +6 -1
- package/lib/services/ux-app-shell.service.d.ts.map +1 -1
- package/package.json +11 -1
- package/esm2020/lib/services/ux-root-injector.guard.mjs +0 -11
- package/lib/services/ux-root-injector.guard.d.ts +0 -5
- package/lib/services/ux-root-injector.guard.d.ts.map +0 -1
package/fesm2015/eui-core.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { throwError, forkJoin, of, BehaviorSubject, defer, merge, fromEvent, Obs
|
|
|
13
13
|
import { debounceTime, distinctUntilChanged, map, catchError, switchMap, tap, filter, take, mapTo, mergeMap, concatMap, takeUntil } from 'rxjs/operators';
|
|
14
14
|
import * as i1$1 from '@ngrx/store';
|
|
15
15
|
import { createSelector } from '@ngrx/store';
|
|
16
|
-
import { __decorate,
|
|
16
|
+
import { __decorate, __awaiter } from 'tslib';
|
|
17
17
|
import * as i1$3 from '@ngrx/effects';
|
|
18
18
|
import { ofType, Effect } from '@ngrx/effects';
|
|
19
19
|
import * as i2 from '@ngx-translate/core';
|
|
@@ -168,9 +168,9 @@ class LogService extends Logger {
|
|
|
168
168
|
return logger;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
/** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
172
|
-
/** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
171
|
+
/** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
172
|
+
/** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogService });
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogService, decorators: [{
|
|
174
174
|
type: Injectable
|
|
175
175
|
}], ctorParameters: function () {
|
|
176
176
|
return [{ type: undefined, decorators: [{
|
|
@@ -342,10 +342,10 @@ class LogModule {
|
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
346
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0
|
|
347
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0
|
|
348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
345
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
346
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule });
|
|
347
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule });
|
|
348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule, decorators: [{
|
|
349
349
|
type: NgModule
|
|
350
350
|
}] });
|
|
351
351
|
|
|
@@ -408,7 +408,7 @@ class StoreService {
|
|
|
408
408
|
*/
|
|
409
409
|
select(key) {
|
|
410
410
|
if (!this.store) {
|
|
411
|
-
return throwError(new Error('NGRX Store not configured'));
|
|
411
|
+
return throwError(() => new Error('NGRX Store not configured'));
|
|
412
412
|
}
|
|
413
413
|
return this.store.select(key);
|
|
414
414
|
}
|
|
@@ -437,9 +437,9 @@ class StoreService {
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
/** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
441
|
-
/** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
440
|
+
/** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
441
|
+
/** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
|
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreService, decorators: [{
|
|
443
443
|
type: Injectable,
|
|
444
444
|
args: [{
|
|
445
445
|
providedIn: 'root',
|
|
@@ -765,9 +765,9 @@ class I18nLoader {
|
|
|
765
765
|
return undefined;
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
769
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
768
|
+
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
769
|
+
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nLoader });
|
|
770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nLoader, decorators: [{
|
|
771
771
|
type: Injectable
|
|
772
772
|
}], ctorParameters: function () {
|
|
773
773
|
return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
@@ -970,9 +970,9 @@ class I18nService extends EuiLazyService {
|
|
|
970
970
|
this.document.documentElement.lang = lang;
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
|
-
/** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
974
|
-
/** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
973
|
+
/** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
974
|
+
/** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nService, decorators: [{
|
|
976
976
|
type: Injectable,
|
|
977
977
|
args: [{
|
|
978
978
|
providedIn: 'root',
|
|
@@ -1017,9 +1017,9 @@ class I18nServiceMock extends I18nService {
|
|
|
1017
1017
|
return of({ success: true });
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
1021
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
1022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
1020
|
+
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1021
|
+
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nServiceMock });
|
|
1022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
|
|
1023
1023
|
type: Injectable
|
|
1024
1024
|
}], ctorParameters: function () { return []; } });
|
|
1025
1025
|
|
|
@@ -1039,9 +1039,11 @@ const initialState = {
|
|
|
1039
1039
|
hasHeader: false,
|
|
1040
1040
|
hasHeaderLogo: false,
|
|
1041
1041
|
hasHeaderEnvironment: false,
|
|
1042
|
+
hasToolbar: false,
|
|
1043
|
+
hasToolbarMenu: false,
|
|
1042
1044
|
environmentValue: '',
|
|
1043
1045
|
isSidebarHidden: false,
|
|
1044
|
-
|
|
1046
|
+
hasTopMessage: false,
|
|
1045
1047
|
windowWidth: 0,
|
|
1046
1048
|
windowHeight: 0,
|
|
1047
1049
|
mainContentHeight: 0,
|
|
@@ -1067,7 +1069,7 @@ const initialState = {
|
|
|
1067
1069
|
hasModalActive: false,
|
|
1068
1070
|
isDimmerActive: false,
|
|
1069
1071
|
};
|
|
1070
|
-
//
|
|
1072
|
+
// TODO: this service needs to be transferred in the respective component
|
|
1071
1073
|
class UxAppShellService {
|
|
1072
1074
|
constructor(config, http, platformId, router, storeService, i18nService) {
|
|
1073
1075
|
var _a, _b, _c, _d;
|
|
@@ -1085,8 +1087,6 @@ class UxAppShellService {
|
|
|
1085
1087
|
this.activeModals = [];
|
|
1086
1088
|
this.openModalId = new BehaviorSubject('');
|
|
1087
1089
|
this.cssVars = [];
|
|
1088
|
-
// super(UxAppShellService);
|
|
1089
|
-
console.log('UxAppShellService initialized');
|
|
1090
1090
|
let stateWithConfig = initialState;
|
|
1091
1091
|
const languages = ((_b = (_a = config === null || config === void 0 ? void 0 : config.i18n) === null || _a === void 0 ? void 0 : _a.i18nService) === null || _b === void 0 ? void 0 : _b.languages) || initialState.languages;
|
|
1092
1092
|
const defaultLanguage = ((_d = (_c = config === null || config === void 0 ? void 0 : config.i18n) === null || _c === void 0 ? void 0 : _c.i18nService) === null || _d === void 0 ? void 0 : _d.defaultLanguage) || initialState.activeLanguage;
|
|
@@ -1259,15 +1259,25 @@ class UxAppShellService {
|
|
|
1259
1259
|
this.setState(Object.assign(Object.assign({}, this.state), { hasHeader: true }));
|
|
1260
1260
|
this.activateHeaderCssVars();
|
|
1261
1261
|
}
|
|
1262
|
+
activateTopMessage() {
|
|
1263
|
+
this.setState(Object.assign(Object.assign({}, this.state), { hasTopMessage: true }));
|
|
1264
|
+
this.activateTopMessageCssVars();
|
|
1265
|
+
}
|
|
1262
1266
|
activateToolbar() {
|
|
1263
1267
|
this.setState(Object.assign(Object.assign({}, this.state), { hasToolbar: true }));
|
|
1264
1268
|
this.activateToolbarCssVars();
|
|
1265
1269
|
}
|
|
1270
|
+
activateToolbarMenu() {
|
|
1271
|
+
this.setState(Object.assign(Object.assign({}, this.state), { hasToolbarMenu: true }));
|
|
1272
|
+
}
|
|
1266
1273
|
fetchCssVars() {
|
|
1267
1274
|
const cssVarNames = [
|
|
1268
1275
|
'--eui-app-header-height-default',
|
|
1269
1276
|
'--eui-app-header-height-active',
|
|
1270
1277
|
'--eui-app-header-height-shrink',
|
|
1278
|
+
'--eui-app-top-message-height-default',
|
|
1279
|
+
'--eui-app-top-message-height-active',
|
|
1280
|
+
'--eui-app-top-message-height-shrink',
|
|
1271
1281
|
'--eui-app-toolbar-height-default',
|
|
1272
1282
|
'--eui-app-toolbar-height-active',
|
|
1273
1283
|
'--eui-app-sidebar-width-default',
|
|
@@ -1285,6 +1295,7 @@ class UxAppShellService {
|
|
|
1285
1295
|
}
|
|
1286
1296
|
initCssVars() {
|
|
1287
1297
|
this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
|
|
1298
|
+
this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
|
|
1288
1299
|
this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
|
|
1289
1300
|
this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
|
|
1290
1301
|
this.setCssVar('--eui-app-sidebar-width-close-default', '--eui-app-sidebar-width-close');
|
|
@@ -1294,6 +1305,9 @@ class UxAppShellService {
|
|
|
1294
1305
|
activateHeaderCssVars() {
|
|
1295
1306
|
this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
|
|
1296
1307
|
}
|
|
1308
|
+
activateTopMessageCssVars() {
|
|
1309
|
+
this.setCssVar('--eui-app-top-message-height-active', '--eui-app-top-message-height');
|
|
1310
|
+
}
|
|
1297
1311
|
activateToolbarCssVars() {
|
|
1298
1312
|
this.setCssVar('--eui-app-toolbar-height-active', '--eui-app-toolbar-height');
|
|
1299
1313
|
}
|
|
@@ -1573,9 +1587,9 @@ class UxAppShellService {
|
|
|
1573
1587
|
});
|
|
1574
1588
|
}
|
|
1575
1589
|
}
|
|
1576
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
1577
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
1578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
1590
|
+
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxAppShellService, deps: [{ token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i1$2.HttpClient }, { token: PLATFORM_ID }, { token: i2$1.Router }, { token: StoreService }, { token: I18nService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1591
|
+
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
|
|
1592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
|
|
1579
1593
|
type: Injectable,
|
|
1580
1594
|
args: [{
|
|
1581
1595
|
providedIn: 'root',
|
|
@@ -1627,21 +1641,18 @@ class CoreAppEffects {
|
|
|
1627
1641
|
}));
|
|
1628
1642
|
}
|
|
1629
1643
|
}
|
|
1630
|
-
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
1631
|
-
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
1644
|
+
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1645
|
+
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreAppEffects });
|
|
1632
1646
|
__decorate([
|
|
1633
|
-
Effect()
|
|
1634
|
-
__metadata("design:type", Observable)
|
|
1647
|
+
Effect()
|
|
1635
1648
|
], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
|
|
1636
1649
|
__decorate([
|
|
1637
|
-
Effect()
|
|
1638
|
-
__metadata("design:type", Observable)
|
|
1650
|
+
Effect()
|
|
1639
1651
|
], CoreAppEffects.prototype, "activatedRoute", void 0);
|
|
1640
1652
|
__decorate([
|
|
1641
|
-
Effect({ dispatch: false })
|
|
1642
|
-
__metadata("design:type", Object)
|
|
1653
|
+
Effect({ dispatch: false })
|
|
1643
1654
|
], CoreAppEffects.prototype, "updateAppConnection", void 0);
|
|
1644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
1655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
|
|
1645
1656
|
type: Injectable
|
|
1646
1657
|
}], ctorParameters: function () {
|
|
1647
1658
|
return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
@@ -1893,9 +1904,9 @@ class StoreServiceMock extends StoreService {
|
|
|
1893
1904
|
return of({});
|
|
1894
1905
|
}
|
|
1895
1906
|
}
|
|
1896
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
1897
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
1898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
1907
|
+
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1908
|
+
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreServiceMock });
|
|
1909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
1899
1910
|
type: Injectable
|
|
1900
1911
|
}], ctorParameters: function () { return []; } });
|
|
1901
1912
|
|
|
@@ -1940,12 +1951,12 @@ class CoreModule {
|
|
|
1940
1951
|
};
|
|
1941
1952
|
}
|
|
1942
1953
|
}
|
|
1943
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
1944
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0
|
|
1945
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0
|
|
1954
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1955
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
|
|
1956
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreModule, imports: [[
|
|
1946
1957
|
HttpClientModule,
|
|
1947
1958
|
]] });
|
|
1948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
1959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreModule, decorators: [{
|
|
1949
1960
|
type: NgModule,
|
|
1950
1961
|
args: [{
|
|
1951
1962
|
imports: [
|
|
@@ -2073,9 +2084,9 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2073
2084
|
super.handleError(error);
|
|
2074
2085
|
}
|
|
2075
2086
|
}
|
|
2076
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
2077
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
2078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
2087
|
+
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2088
|
+
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
|
|
2089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
2079
2090
|
type: Injectable,
|
|
2080
2091
|
args: [{
|
|
2081
2092
|
providedIn: 'root',
|
|
@@ -2122,9 +2133,9 @@ class HttpErrorHandlerInterceptor {
|
|
|
2122
2133
|
return routes.length > 0 ? routes[0] : null;
|
|
2123
2134
|
}
|
|
2124
2135
|
}
|
|
2125
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
2126
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
2127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
2136
|
+
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2137
|
+
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
|
|
2138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
2128
2139
|
type: Injectable
|
|
2129
2140
|
}], ctorParameters: function () {
|
|
2130
2141
|
return [{ type: undefined, decorators: [{
|
|
@@ -2219,7 +2230,6 @@ class ApiQueueService {
|
|
|
2219
2230
|
.pipe(take(1), switchMap((queue) => {
|
|
2220
2231
|
if (!queue) {
|
|
2221
2232
|
this.logService.warn(`Queue item with id "${id}" does not exist`);
|
|
2222
|
-
// tslint:disable-next-line:deprecation
|
|
2223
2233
|
return of(null);
|
|
2224
2234
|
}
|
|
2225
2235
|
return this.buildHttpRequest(id, queue);
|
|
@@ -2238,7 +2248,6 @@ class ApiQueueService {
|
|
|
2238
2248
|
if (!continueOnError) {
|
|
2239
2249
|
throw error;
|
|
2240
2250
|
}
|
|
2241
|
-
// tslint:disable-next-line:deprecation
|
|
2242
2251
|
return of(error);
|
|
2243
2252
|
})))), switchMap((obsQueue) => forkJoin(Array.from(obsQueue))));
|
|
2244
2253
|
}
|
|
@@ -2275,9 +2284,9 @@ class ApiQueueService {
|
|
|
2275
2284
|
.pipe(tap(() => this.removeQueueItem(id)));
|
|
2276
2285
|
}
|
|
2277
2286
|
}
|
|
2278
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
2279
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
2280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
2287
|
+
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2288
|
+
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
|
|
2289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
2281
2290
|
type: Injectable,
|
|
2282
2291
|
args: [{
|
|
2283
2292
|
providedIn: 'root',
|
|
@@ -2289,22 +2298,18 @@ class ApiQueueServiceMock extends ApiQueueService {
|
|
|
2289
2298
|
super(null, null, null);
|
|
2290
2299
|
}
|
|
2291
2300
|
getQueue() {
|
|
2292
|
-
// tslint:disable-next-line:deprecation
|
|
2293
2301
|
return of([]);
|
|
2294
2302
|
}
|
|
2295
2303
|
getQueueItem(id) {
|
|
2296
|
-
// tslint:disable-next-line:deprecation
|
|
2297
2304
|
return of(null);
|
|
2298
2305
|
}
|
|
2299
2306
|
removeAllQueueItem() { }
|
|
2300
2307
|
processAllQueueItems() {
|
|
2301
|
-
// tslint:disable-next-line:deprecation
|
|
2302
2308
|
return of({});
|
|
2303
2309
|
}
|
|
2304
2310
|
addQueueItem() { }
|
|
2305
2311
|
removeQueueItem() { }
|
|
2306
2312
|
processQueueItem() {
|
|
2307
|
-
// tslint:disable-next-line:deprecation
|
|
2308
2313
|
return of({});
|
|
2309
2314
|
}
|
|
2310
2315
|
}
|
|
@@ -2634,9 +2639,9 @@ class EuiPermissionService extends EuiService {
|
|
|
2634
2639
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2635
2640
|
}
|
|
2636
2641
|
}
|
|
2637
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
2638
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
2639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
2642
|
+
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2643
|
+
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
|
|
2644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2640
2645
|
type: Injectable,
|
|
2641
2646
|
args: [{
|
|
2642
2647
|
providedIn: 'root',
|
|
@@ -2699,9 +2704,9 @@ class UxDynamicMenuService {
|
|
|
2699
2704
|
});
|
|
2700
2705
|
}
|
|
2701
2706
|
}
|
|
2702
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
2703
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
2704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
2707
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2708
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
|
|
2709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
|
|
2705
2710
|
type: Injectable,
|
|
2706
2711
|
args: [{
|
|
2707
2712
|
providedIn: 'root',
|
|
@@ -2769,9 +2774,9 @@ class UxErrorFeedbackService {
|
|
|
2769
2774
|
return new UxErrorManager(this, true);
|
|
2770
2775
|
}
|
|
2771
2776
|
}
|
|
2772
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
2773
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
2774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
2777
|
+
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2778
|
+
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
|
|
2779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
|
|
2775
2780
|
type: Injectable,
|
|
2776
2781
|
args: [{
|
|
2777
2782
|
providedIn: 'root'
|
|
@@ -2866,9 +2871,9 @@ class UxDynamicComponentService {
|
|
|
2866
2871
|
return new PortalInjector(this.injector, injectorTokens);
|
|
2867
2872
|
}
|
|
2868
2873
|
}
|
|
2869
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
2870
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
2871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
2874
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2875
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
|
|
2876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
|
|
2872
2877
|
type: Injectable,
|
|
2873
2878
|
args: [{ providedIn: 'root' }]
|
|
2874
2879
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3583,9 +3588,9 @@ class UxTimezoneService {
|
|
|
3583
3588
|
});
|
|
3584
3589
|
}
|
|
3585
3590
|
}
|
|
3586
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
3587
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
3588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
3591
|
+
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3592
|
+
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxTimezoneService });
|
|
3593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
|
|
3589
3594
|
type: Injectable
|
|
3590
3595
|
}] });
|
|
3591
3596
|
|
|
@@ -3628,22 +3633,18 @@ class AsyncStorageService extends StorageService {
|
|
|
3628
3633
|
|
|
3629
3634
|
class AsyncStorageServiceMock extends AsyncStorageService {
|
|
3630
3635
|
ready() {
|
|
3631
|
-
// tslint:disable-next-line:deprecation
|
|
3632
3636
|
return of({});
|
|
3633
3637
|
}
|
|
3634
3638
|
name() {
|
|
3635
3639
|
return null;
|
|
3636
3640
|
}
|
|
3637
3641
|
get() {
|
|
3638
|
-
// tslint:disable-next-line:deprecation
|
|
3639
3642
|
return of({});
|
|
3640
3643
|
}
|
|
3641
3644
|
set() {
|
|
3642
|
-
// tslint:disable-next-line:deprecation
|
|
3643
3645
|
return of({});
|
|
3644
3646
|
}
|
|
3645
3647
|
remove() {
|
|
3646
|
-
// tslint:disable-next-line:deprecation
|
|
3647
3648
|
return of({});
|
|
3648
3649
|
}
|
|
3649
3650
|
setAsync() {
|
|
@@ -3715,9 +3716,9 @@ class LocalStorageService extends StorageService {
|
|
|
3715
3716
|
}
|
|
3716
3717
|
}
|
|
3717
3718
|
LocalStorageService.NAME = 'LocalStorageService';
|
|
3718
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
3719
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
3720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
3719
|
+
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3720
|
+
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalStorageService });
|
|
3721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
3721
3722
|
type: Injectable
|
|
3722
3723
|
}], ctorParameters: function () {
|
|
3723
3724
|
return [{ type: LogService, decorators: [{
|
|
@@ -3788,9 +3789,9 @@ class SessionStorageService extends StorageService {
|
|
|
3788
3789
|
}
|
|
3789
3790
|
}
|
|
3790
3791
|
SessionStorageService.NAME = 'SessionStorageService';
|
|
3791
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
3792
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
3793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
3792
|
+
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3793
|
+
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SessionStorageService });
|
|
3794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
3794
3795
|
type: Injectable
|
|
3795
3796
|
}], ctorParameters: function () {
|
|
3796
3797
|
return [{ type: LogService, decorators: [{
|
|
@@ -3879,9 +3880,9 @@ class LocalForageService extends AsyncStorageService {
|
|
|
3879
3880
|
}
|
|
3880
3881
|
}
|
|
3881
3882
|
LocalForageService.NAME = 'LocalForageService';
|
|
3882
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
3883
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
3884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
3883
|
+
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3884
|
+
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalForageService });
|
|
3885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalForageService, decorators: [{
|
|
3885
3886
|
type: Injectable
|
|
3886
3887
|
}], ctorParameters: function () {
|
|
3887
3888
|
return [{ type: undefined, decorators: [{
|
|
@@ -3972,8 +3973,13 @@ class LocaleService extends EuiService {
|
|
|
3972
3973
|
addLocale(id) {
|
|
3973
3974
|
return this.loadLocale(id);
|
|
3974
3975
|
}
|
|
3976
|
+
get previousLocale() {
|
|
3977
|
+
var _a;
|
|
3978
|
+
return ((_a = this.prevStateInstance) === null || _a === void 0 ? void 0 : _a.id) || this.currentLocale;
|
|
3979
|
+
}
|
|
3975
3980
|
get currentLocale() {
|
|
3976
|
-
|
|
3981
|
+
var _a;
|
|
3982
|
+
return (_a = this.stateInstance) === null || _a === void 0 ? void 0 : _a.id;
|
|
3977
3983
|
}
|
|
3978
3984
|
/**
|
|
3979
3985
|
* load and register locale data dynamically
|
|
@@ -4108,9 +4114,9 @@ class LocaleService extends EuiService {
|
|
|
4108
4114
|
return from(this.importLocale(localeId)).pipe(mergeMap(() => from(this.importExtraLocale(localeId)).pipe(map((data, extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4109
4115
|
}
|
|
4110
4116
|
}
|
|
4111
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4112
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4117
|
+
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocaleService, deps: [{ token: StoreService }, { token: GLOBAL_CONFIG_TOKEN }, { token: LOCALE_ID }, { token: LOCALE_ID_MAPPER, optional: true }, { token: I18nService, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4118
|
+
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
|
|
4119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocaleService, decorators: [{
|
|
4114
4120
|
type: Injectable,
|
|
4115
4121
|
args: [{
|
|
4116
4122
|
providedIn: 'root'
|
|
@@ -4167,9 +4173,9 @@ class UserService extends EuiService {
|
|
|
4167
4173
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4168
4174
|
}
|
|
4169
4175
|
}
|
|
4170
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4171
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4176
|
+
/** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4177
|
+
/** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
4178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserService, decorators: [{
|
|
4173
4179
|
type: Injectable,
|
|
4174
4180
|
args: [{
|
|
4175
4181
|
providedIn: 'root',
|
|
@@ -4200,9 +4206,9 @@ class UserServiceMock extends UserService {
|
|
|
4200
4206
|
return of('anonymous');
|
|
4201
4207
|
}
|
|
4202
4208
|
}
|
|
4203
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4204
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4209
|
+
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4210
|
+
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserServiceMock });
|
|
4211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
4206
4212
|
type: Injectable
|
|
4207
4213
|
}], ctorParameters: function () { return []; } });
|
|
4208
4214
|
|
|
@@ -4232,9 +4238,9 @@ class AddLangParamInterceptor {
|
|
|
4232
4238
|
}));
|
|
4233
4239
|
}
|
|
4234
4240
|
}
|
|
4235
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4236
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4241
|
+
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4242
|
+
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AddLangParamInterceptor });
|
|
4243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
4238
4244
|
type: Injectable
|
|
4239
4245
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4240
4246
|
|
|
@@ -4251,9 +4257,9 @@ class CachePreventionInterceptor {
|
|
|
4251
4257
|
}));
|
|
4252
4258
|
}
|
|
4253
4259
|
}
|
|
4254
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4255
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4260
|
+
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4261
|
+
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CachePreventionInterceptor });
|
|
4262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
4257
4263
|
type: Injectable
|
|
4258
4264
|
}] });
|
|
4259
4265
|
|
|
@@ -4264,9 +4270,9 @@ class CorsSecurityInterceptor {
|
|
|
4264
4270
|
}));
|
|
4265
4271
|
}
|
|
4266
4272
|
}
|
|
4267
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4268
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4273
|
+
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4274
|
+
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CorsSecurityInterceptor });
|
|
4275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
4270
4276
|
type: Injectable
|
|
4271
4277
|
}] });
|
|
4272
4278
|
|
|
@@ -4277,9 +4283,9 @@ class CsrfPreventionInterceptor {
|
|
|
4277
4283
|
}));
|
|
4278
4284
|
}
|
|
4279
4285
|
}
|
|
4280
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4281
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4286
|
+
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4287
|
+
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
|
|
4288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
4283
4289
|
type: Injectable
|
|
4284
4290
|
}] });
|
|
4285
4291
|
|
|
@@ -4330,13 +4336,12 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4330
4336
|
}
|
|
4331
4337
|
}
|
|
4332
4338
|
reauthenticate(request, response) {
|
|
4333
|
-
// tslint:disable-next-line:deprecation
|
|
4334
4339
|
document.location.reload();
|
|
4335
4340
|
}
|
|
4336
4341
|
}
|
|
4337
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4338
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4342
|
+
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4343
|
+
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
|
|
4344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
4340
4345
|
type: Injectable
|
|
4341
4346
|
}] });
|
|
4342
4347
|
|
|
@@ -4357,9 +4362,9 @@ class UxRequestErrorModelInterceptor {
|
|
|
4357
4362
|
}));
|
|
4358
4363
|
}
|
|
4359
4364
|
}
|
|
4360
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4361
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4365
|
+
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4366
|
+
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
|
|
4367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
4363
4368
|
type: Injectable
|
|
4364
4369
|
}], ctorParameters: function () {
|
|
4365
4370
|
return [{ type: undefined, decorators: [{
|
|
@@ -4503,9 +4508,9 @@ class OpenIdConnectInterceptor {
|
|
|
4503
4508
|
}
|
|
4504
4509
|
}
|
|
4505
4510
|
}
|
|
4506
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4507
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4511
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4512
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
|
|
4513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
|
|
4509
4514
|
type: Injectable
|
|
4510
4515
|
}], ctorParameters: function () { return []; } });
|
|
4511
4516
|
|
|
@@ -4535,9 +4540,9 @@ class OpenIdConnectService {
|
|
|
4535
4540
|
return this.userDetails;
|
|
4536
4541
|
}
|
|
4537
4542
|
}
|
|
4538
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0
|
|
4539
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0
|
|
4540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0
|
|
4543
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4544
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
|
|
4545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
|
|
4541
4546
|
type: Injectable,
|
|
4542
4547
|
args: [{
|
|
4543
4548
|
providedIn: 'root'
|