@eui/core 13.0.0-rc.4 → 13.0.0-rc.40

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.
Files changed (61) hide show
  1. package/docs/dependencies.html +43 -47
  2. package/docs/injectables/I18nLoader.html +39 -0
  3. package/docs/injectables/LocaleService.html +20 -0
  4. package/docs/injectables/UxAppShellService.html +175 -0
  5. package/docs/interfaces/UIState.html +135 -0
  6. package/docs/js/search/search_index.js +2 -2
  7. package/docs/miscellaneous/variables.html +4 -1
  8. package/esm2020/lib/eui-core.module.mjs +6 -6
  9. package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -5
  10. package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +4 -4
  11. package/esm2020/lib/interceptors/cors-security.interceptor.mjs +4 -4
  12. package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +4 -4
  13. package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +4 -5
  14. package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +4 -4
  15. package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +4 -4
  16. package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +4 -4
  17. package/esm2020/lib/services/errors/global-error-handler.mjs +4 -5
  18. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +5 -6
  19. package/esm2020/lib/services/i18n/i18n.loader.mjs +12 -6
  20. package/esm2020/lib/services/i18n/i18n.service.mjs +10 -7
  21. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
  22. package/esm2020/lib/services/locale/locale.service.mjs +18 -13
  23. package/esm2020/lib/services/log/log.module.mjs +5 -5
  24. package/esm2020/lib/services/log/log.service.mjs +5 -5
  25. package/esm2020/lib/services/permission/permission.service.mjs +4 -6
  26. package/esm2020/lib/services/queue/api-queue.service.mjs +4 -9
  27. package/esm2020/lib/services/queue/api-queue.service.mock.mjs +1 -5
  28. package/esm2020/lib/services/storage/async-storage.service.mock.mjs +1 -5
  29. package/esm2020/lib/services/storage/local-forage.service.mjs +4 -5
  30. package/esm2020/lib/services/storage/local-storage.service.mjs +4 -5
  31. package/esm2020/lib/services/storage/session-storage.service.mjs +4 -5
  32. package/esm2020/lib/services/store/effects/app.effects.mjs +10 -16
  33. package/esm2020/lib/services/store/store.service.mjs +5 -7
  34. package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
  35. package/esm2020/lib/services/user/user.service.mjs +4 -5
  36. package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
  37. package/esm2020/lib/services/ux-app-shell.service.mjs +36 -16
  38. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +5 -5
  39. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -6
  40. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -6
  41. package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
  42. package/fesm2015/eui-core.mjs +154 -128
  43. package/fesm2015/eui-core.mjs.map +1 -1
  44. package/fesm2020/eui-core.mjs +200 -170
  45. package/fesm2020/eui-core.mjs.map +1 -1
  46. package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +1 -1
  47. package/lib/services/i18n/i18n.loader.d.ts +5 -0
  48. package/lib/services/i18n/i18n.loader.d.ts.map +1 -1
  49. package/lib/services/i18n/i18n.service.d.ts.map +1 -1
  50. package/lib/services/locale/locale.service.d.ts +1 -0
  51. package/lib/services/locale/locale.service.d.ts.map +1 -1
  52. package/lib/services/queue/api-queue.service.d.ts.map +1 -1
  53. package/lib/services/queue/api-queue.service.mock.d.ts.map +1 -1
  54. package/lib/services/storage/async-storage.service.mock.d.ts.map +1 -1
  55. package/lib/services/store/effects/app.effects.d.ts.map +1 -1
  56. package/lib/services/ux-app-shell.service.d.ts +7 -1
  57. package/lib/services/ux-app-shell.service.d.ts.map +1 -1
  58. package/package.json +11 -1
  59. package/esm2020/lib/services/ux-root-injector.guard.mjs +0 -11
  60. package/lib/services/ux-root-injector.guard.d.ts +0 -5
  61. package/lib/services/ux-root-injector.guard.d.ts.map +0 -1
@@ -9,15 +9,15 @@ import * as extendProxy from 'extend';
9
9
  import { DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core';
10
10
  import { MomentDateAdapter } from '@angular/material-moment-adapter';
11
11
  import { LOCATION_INITIALIZED, DOCUMENT, isPlatformBrowser, getLocaleId, registerLocaleData } from '@angular/common';
12
- import * as i1$1 from '@ngrx/store';
13
- import { createSelector } from '@ngrx/store';
14
12
  import { throwError, forkJoin, of, BehaviorSubject, defer, merge, fromEvent, Observable, Subject, from } from 'rxjs';
15
13
  import { debounceTime, distinctUntilChanged, map, catchError, switchMap, tap, filter, take, mapTo, mergeMap, concatMap, takeUntil } from 'rxjs/operators';
16
- import { __decorate, __metadata } from 'tslib';
17
- import * as i2 from '@ngx-translate/core';
18
- import { TranslateLoader } from '@ngx-translate/core';
14
+ import * as i1$1 from '@ngrx/store';
15
+ import { createSelector } from '@ngrx/store';
16
+ import { __decorate } from 'tslib';
19
17
  import * as i1$3 from '@ngrx/effects';
20
18
  import { ofType, Effect } from '@ngrx/effects';
19
+ import * as i2 from '@ngx-translate/core';
20
+ import { TranslateLoader } from '@ngx-translate/core';
21
21
  import * as i2$1 from '@angular/router';
22
22
  import { NavigationEnd } from '@angular/router';
23
23
  import isEqual from 'lodash-es/isEqual';
@@ -185,9 +185,9 @@ class LogService extends Logger {
185
185
  return logger;
186
186
  }
187
187
  }
188
- /** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
189
- /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService });
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService, decorators: [{
188
+ /** @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 });
189
+ /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogService });
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogService, decorators: [{
191
191
  type: Injectable
192
192
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
193
193
  type: Inject,
@@ -251,45 +251,6 @@ function euiLogServiceFactory(injector, rootBaseLoggerName, rootConfig, childBas
251
251
  return logService;
252
252
  }
253
253
 
254
- class LogServiceMock extends LoggerMock {
255
- getLogger() {
256
- return new LoggerMock();
257
- }
258
- }
259
-
260
- const LOG_MODULE_CONFIG_TOKEN = new InjectionToken('LOG_CONFIG');
261
- /**
262
- * Log Module
263
- */
264
- class LogModule {
265
- /** method called in your root module to provide the LogService */
266
- static forRoot(config = DEFAULT_LOG_CONFIG) {
267
- return {
268
- ngModule: LogModule,
269
- providers: [
270
- { provide: LOG_MODULE_CONFIG_TOKEN, useValue: config },
271
- { provide: LogService, useFactory: logServiceFactory, deps: [LOG_MODULE_CONFIG_TOKEN, Injector] },
272
- ],
273
- };
274
- }
275
- /** method called in your other (non root, lazy loaded) modules to import a different instance of LogService */
276
- static forChild(config = DEFAULT_LOG_CONFIG) {
277
- return {
278
- ngModule: LogModule,
279
- providers: [
280
- { provide: LOG_MODULE_CONFIG_TOKEN, useValue: config },
281
- { provide: LogService, useFactory: logServiceFactory, deps: [LOG_MODULE_CONFIG_TOKEN, Injector] },
282
- ],
283
- };
284
- }
285
- }
286
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
287
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule });
288
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule });
289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule, decorators: [{
290
- type: NgModule
291
- }] });
292
-
293
254
  var CoreAppActionTypes;
294
255
  (function (CoreAppActionTypes) {
295
256
  CoreAppActionTypes["INIT_STORE"] = "[App] Init store";
@@ -364,6 +325,45 @@ class EmptyApiQueueAction {
364
325
  }
365
326
  }
366
327
 
328
+ class LogServiceMock extends LoggerMock {
329
+ getLogger() {
330
+ return new LoggerMock();
331
+ }
332
+ }
333
+
334
+ const LOG_MODULE_CONFIG_TOKEN = new InjectionToken('LOG_CONFIG');
335
+ /**
336
+ * Log Module
337
+ */
338
+ class LogModule {
339
+ /** method called in your root module to provide the LogService */
340
+ static forRoot(config = DEFAULT_LOG_CONFIG) {
341
+ return {
342
+ ngModule: LogModule,
343
+ providers: [
344
+ { provide: LOG_MODULE_CONFIG_TOKEN, useValue: config },
345
+ { provide: LogService, useFactory: logServiceFactory, deps: [LOG_MODULE_CONFIG_TOKEN, Injector] },
346
+ ],
347
+ };
348
+ }
349
+ /** method called in your other (non root, lazy loaded) modules to import a different instance of LogService */
350
+ static forChild(config = DEFAULT_LOG_CONFIG) {
351
+ return {
352
+ ngModule: LogModule,
353
+ providers: [
354
+ { provide: LOG_MODULE_CONFIG_TOKEN, useValue: config },
355
+ { provide: LogService, useFactory: logServiceFactory, deps: [LOG_MODULE_CONFIG_TOKEN, Injector] },
356
+ ],
357
+ };
358
+ }
359
+ }
360
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
361
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule });
362
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule });
363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LogModule, decorators: [{
364
+ type: NgModule
365
+ }] });
366
+
367
367
  var BrowserStorageType;
368
368
  (function (BrowserStorageType) {
369
369
  BrowserStorageType[BrowserStorageType["local"] = 0] = "local";
@@ -423,7 +423,7 @@ class StoreService {
423
423
  */
424
424
  select(key) {
425
425
  if (!this.store) {
426
- return throwError(new Error('NGRX Store not configured'));
426
+ return throwError(() => new Error('NGRX Store not configured'));
427
427
  }
428
428
  return this.store.select(key);
429
429
  }
@@ -452,9 +452,9 @@ class StoreService {
452
452
  }
453
453
  }
454
454
  }
455
- /** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
456
- /** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, providedIn: 'root' });
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, decorators: [{
455
+ /** @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 });
456
+ /** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
457
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreService, decorators: [{
458
458
  type: Injectable,
459
459
  args: [{
460
460
  providedIn: 'root',
@@ -637,6 +637,7 @@ class I18nLoader {
637
637
  this.logService = logService;
638
638
  this.euiAppConfig = euiAppConfig;
639
639
  this.resources = [];
640
+ this.failedResources = [];
640
641
  // create the resources from the config object
641
642
  const i18nConfig = this.euiAppConfig.global && this.euiAppConfig.global.i18n;
642
643
  const i18nLoaderConfig = i18nConfig && i18nConfig.i18nLoader;
@@ -649,6 +650,7 @@ class I18nLoader {
649
650
  */
650
651
  getTranslation(lang) {
651
652
  return this.loadResources(this.resources, lang).pipe(map((loadedResources) => {
653
+ this.failedResources = loadedResources.hasError ? loadedResources.errors : [];
652
654
  return loadedResources.translations;
653
655
  }));
654
656
  }
@@ -709,6 +711,12 @@ class I18nLoader {
709
711
  return of({ hasError: false, translations: {} });
710
712
  }
711
713
  }
714
+ /**
715
+ * Returns resources that failed
716
+ */
717
+ getFailedResources() {
718
+ return this.failedResources;
719
+ }
712
720
  /**
713
721
  * Create resources from a config file
714
722
  * @param config loader configuration
@@ -778,9 +786,9 @@ class I18nLoader {
778
786
  return undefined;
779
787
  }
780
788
  }
781
- /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
782
- /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader });
783
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader, decorators: [{
789
+ /** @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 });
790
+ /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nLoader });
791
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nLoader, decorators: [{
784
792
  type: Injectable
785
793
  }], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
786
794
  type: Optional
@@ -937,6 +945,12 @@ class I18nService extends EuiLazyService {
937
945
  this.setDefaultLanguage(this.config.defaultLanguage);
938
946
  }
939
947
  }), map(() => {
948
+ if (this.translateService.currentLoader instanceof I18nLoader) {
949
+ const failedResources = this.translateService.currentLoader.getFailedResources();
950
+ if (failedResources.length > 0) {
951
+ return { success: false, error: failedResources };
952
+ }
953
+ }
940
954
  return { success: true };
941
955
  }), catchError((error) => {
942
956
  return of({ success: false, error: error });
@@ -984,9 +998,9 @@ class I18nService extends EuiLazyService {
984
998
  this.document.documentElement.lang = lang;
985
999
  }
986
1000
  }
987
- /** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.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 });
988
- /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nService, providedIn: 'root' });
989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nService, decorators: [{
1001
+ /** @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 });
1002
+ /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
1003
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nService, decorators: [{
990
1004
  type: Injectable,
991
1005
  args: [{
992
1006
  providedIn: 'root',
@@ -1029,9 +1043,9 @@ class I18nServiceMock extends I18nService {
1029
1043
  return of({ success: true });
1030
1044
  }
1031
1045
  }
1032
- /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1033
- /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock });
1034
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1046
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1047
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nServiceMock });
1048
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1035
1049
  type: Injectable
1036
1050
  }], ctorParameters: function () { return []; } });
1037
1051
 
@@ -1047,13 +1061,16 @@ const initialState = {
1047
1061
  isSidebarActive: false,
1048
1062
  isSidebarInnerActive: false,
1049
1063
  isSidebarStateCloseWithIcons: false,
1064
+ isSidebarExpandOnHover: true,
1050
1065
  hasSidebar: false,
1051
1066
  hasHeader: false,
1052
1067
  hasHeaderLogo: false,
1053
1068
  hasHeaderEnvironment: false,
1069
+ hasToolbar: false,
1070
+ hasToolbarMenu: false,
1054
1071
  environmentValue: '',
1055
1072
  isSidebarHidden: false,
1056
- hasToolbar: false,
1073
+ hasTopMessage: false,
1057
1074
  windowWidth: 0,
1058
1075
  windowHeight: 0,
1059
1076
  mainContentHeight: 0,
@@ -1079,7 +1096,7 @@ const initialState = {
1079
1096
  hasModalActive: false,
1080
1097
  isDimmerActive: false,
1081
1098
  };
1082
- // export class UxAppShellService extends UxRootInjectorGuard {
1099
+ // TODO: this service needs to be transferred in the respective component
1083
1100
  class UxAppShellService {
1084
1101
  constructor(config, http, platformId, router, storeService, i18nService) {
1085
1102
  this.config = config;
@@ -1096,8 +1113,6 @@ class UxAppShellService {
1096
1113
  this.activeModals = [];
1097
1114
  this.openModalId = new BehaviorSubject('');
1098
1115
  this.cssVars = [];
1099
- // super(UxAppShellService);
1100
- console.log('UxAppShellService initialized');
1101
1116
  let stateWithConfig = initialState;
1102
1117
  const languages = config?.i18n?.i18nService?.languages || initialState.languages;
1103
1118
  const defaultLanguage = config?.i18n?.i18nService?.defaultLanguage || initialState.activeLanguage;
@@ -1155,10 +1170,12 @@ class UxAppShellService {
1155
1170
  });
1156
1171
  }
1157
1172
  set isSidebarHover(isHover) {
1158
- this.setState({
1159
- ...this.state,
1160
- isSidebarHover: isHover,
1161
- });
1173
+ if (this.state.isSidebarExpandOnHover) {
1174
+ this.setState({
1175
+ ...this.state,
1176
+ isSidebarHover: isHover,
1177
+ });
1178
+ }
1162
1179
  }
1163
1180
  get isSidebarHover() {
1164
1181
  return this.state.isSidebarHover;
@@ -1314,6 +1331,13 @@ class UxAppShellService {
1314
1331
  });
1315
1332
  this.activateHeaderCssVars();
1316
1333
  }
1334
+ activateTopMessage(height) {
1335
+ this.setState({
1336
+ ...this.state,
1337
+ hasTopMessage: true,
1338
+ });
1339
+ this.activateTopMessageCssVars(height);
1340
+ }
1317
1341
  activateToolbar() {
1318
1342
  this.setState({
1319
1343
  ...this.state,
@@ -1321,11 +1345,20 @@ class UxAppShellService {
1321
1345
  });
1322
1346
  this.activateToolbarCssVars();
1323
1347
  }
1348
+ activateToolbarMenu() {
1349
+ this.setState({
1350
+ ...this.state,
1351
+ hasToolbarMenu: true,
1352
+ });
1353
+ }
1324
1354
  fetchCssVars() {
1325
1355
  const cssVarNames = [
1326
1356
  '--eui-app-header-height-default',
1327
1357
  '--eui-app-header-height-active',
1328
1358
  '--eui-app-header-height-shrink',
1359
+ '--eui-app-top-message-height-default',
1360
+ '--eui-app-top-message-height-active',
1361
+ '--eui-app-top-message-height-shrink',
1329
1362
  '--eui-app-toolbar-height-default',
1330
1363
  '--eui-app-toolbar-height-active',
1331
1364
  '--eui-app-sidebar-width-default',
@@ -1343,6 +1376,7 @@ class UxAppShellService {
1343
1376
  }
1344
1377
  initCssVars() {
1345
1378
  this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
1379
+ this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
1346
1380
  this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
1347
1381
  this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
1348
1382
  this.setCssVar('--eui-app-sidebar-width-close-default', '--eui-app-sidebar-width-close');
@@ -1352,6 +1386,9 @@ class UxAppShellService {
1352
1386
  activateHeaderCssVars() {
1353
1387
  this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
1354
1388
  }
1389
+ activateTopMessageCssVars(height) {
1390
+ this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
1391
+ }
1355
1392
  activateToolbarCssVars() {
1356
1393
  this.setCssVar('--eui-app-toolbar-height-active', '--eui-app-toolbar-height');
1357
1394
  }
@@ -1634,9 +1671,9 @@ class UxAppShellService {
1634
1671
  });
1635
1672
  }
1636
1673
  }
1637
- /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.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 });
1638
- /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxAppShellService, decorators: [{
1674
+ /** @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 });
1675
+ /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1676
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
1640
1677
  type: Injectable,
1641
1678
  args: [{
1642
1679
  providedIn: 'root',
@@ -1686,21 +1723,18 @@ class CoreAppEffects {
1686
1723
  }));
1687
1724
  }
1688
1725
  }
1689
- /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
1690
- /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects });
1726
+ /** @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 });
1727
+ /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreAppEffects });
1691
1728
  __decorate([
1692
- Effect(),
1693
- __metadata("design:type", Observable)
1729
+ Effect()
1694
1730
  ], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
1695
1731
  __decorate([
1696
- Effect(),
1697
- __metadata("design:type", Observable)
1732
+ Effect()
1698
1733
  ], CoreAppEffects.prototype, "activatedRoute", void 0);
1699
1734
  __decorate([
1700
- Effect({ dispatch: false }),
1701
- __metadata("design:type", Object)
1735
+ Effect({ dispatch: false })
1702
1736
  ], CoreAppEffects.prototype, "updateAppConnection", void 0);
1703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1704
1738
  type: Injectable
1705
1739
  }], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
1706
1740
  type: Inject,
@@ -1963,9 +1997,9 @@ class StoreServiceMock extends StoreService {
1963
1997
  return of({});
1964
1998
  }
1965
1999
  }
1966
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1967
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock });
1968
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock, decorators: [{
2000
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2001
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreServiceMock });
2002
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
1969
2003
  type: Injectable
1970
2004
  }], ctorParameters: function () { return []; } });
1971
2005
 
@@ -2010,12 +2044,12 @@ class CoreModule {
2010
2044
  };
2011
2045
  }
2012
2046
  }
2013
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.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 });
2014
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
2015
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [[
2047
+ /** @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 });
2048
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
2049
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreModule, imports: [[
2016
2050
  HttpClientModule,
2017
2051
  ]] });
2018
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, decorators: [{
2052
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CoreModule, decorators: [{
2019
2053
  type: NgModule,
2020
2054
  args: [{
2021
2055
  imports: [
@@ -2137,9 +2171,9 @@ class GlobalErrorHandler extends ErrorHandler {
2137
2171
  super.handleError(error);
2138
2172
  }
2139
2173
  }
2140
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2141
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2174
+ /** @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 });
2175
+ /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2143
2177
  type: Injectable,
2144
2178
  args: [{
2145
2179
  providedIn: 'root',
@@ -2186,9 +2220,9 @@ class HttpErrorHandlerInterceptor {
2186
2220
  return routes.length > 0 ? routes[0] : null;
2187
2221
  }
2188
2222
  }
2189
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2190
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2223
+ /** @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 });
2224
+ /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2192
2226
  type: Injectable
2193
2227
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2194
2228
  type: Inject,
@@ -2281,7 +2315,6 @@ class ApiQueueService {
2281
2315
  .pipe(take(1), switchMap((queue) => {
2282
2316
  if (!queue) {
2283
2317
  this.logService.warn(`Queue item with id "${id}" does not exist`);
2284
- // tslint:disable-next-line:deprecation
2285
2318
  return of(null);
2286
2319
  }
2287
2320
  return this.buildHttpRequest(id, queue);
@@ -2300,7 +2333,6 @@ class ApiQueueService {
2300
2333
  if (!continueOnError) {
2301
2334
  throw error;
2302
2335
  }
2303
- // tslint:disable-next-line:deprecation
2304
2336
  return of(error);
2305
2337
  })))), switchMap((obsQueue) => forkJoin(Array.from(obsQueue))));
2306
2338
  }
@@ -2337,9 +2369,9 @@ class ApiQueueService {
2337
2369
  .pipe(tap(() => this.removeQueueItem(id)));
2338
2370
  }
2339
2371
  }
2340
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2341
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2342
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, decorators: [{
2372
+ /** @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 });
2373
+ /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
2343
2375
  type: Injectable,
2344
2376
  args: [{
2345
2377
  providedIn: 'root',
@@ -2351,22 +2383,18 @@ class ApiQueueServiceMock extends ApiQueueService {
2351
2383
  super(null, null, null);
2352
2384
  }
2353
2385
  getQueue() {
2354
- // tslint:disable-next-line:deprecation
2355
2386
  return of([]);
2356
2387
  }
2357
2388
  getQueueItem(id) {
2358
- // tslint:disable-next-line:deprecation
2359
2389
  return of(null);
2360
2390
  }
2361
2391
  removeAllQueueItem() { }
2362
2392
  processAllQueueItems() {
2363
- // tslint:disable-next-line:deprecation
2364
2393
  return of({});
2365
2394
  }
2366
2395
  addQueueItem() { }
2367
2396
  removeQueueItem() { }
2368
2397
  processQueueItem() {
2369
- // tslint:disable-next-line:deprecation
2370
2398
  return of({});
2371
2399
  }
2372
2400
  }
@@ -2696,9 +2724,9 @@ class EuiPermissionService extends EuiService {
2696
2724
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2697
2725
  }
2698
2726
  }
2699
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2700
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2701
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2727
+ /** @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 });
2728
+ /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2702
2730
  type: Injectable,
2703
2731
  args: [{
2704
2732
  providedIn: 'root',
@@ -2759,9 +2787,9 @@ class UxDynamicMenuService {
2759
2787
  });
2760
2788
  }
2761
2789
  }
2762
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2763
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2764
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2790
+ /** @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 });
2791
+ /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2792
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2765
2793
  type: Injectable,
2766
2794
  args: [{
2767
2795
  providedIn: 'root',
@@ -2829,9 +2857,9 @@ class UxErrorFeedbackService {
2829
2857
  return new UxErrorManager(this, true);
2830
2858
  }
2831
2859
  }
2832
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2833
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2834
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2860
+ /** @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 });
2861
+ /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2835
2863
  type: Injectable,
2836
2864
  args: [{
2837
2865
  providedIn: 'root'
@@ -2926,9 +2954,9 @@ class UxDynamicComponentService {
2926
2954
  return new PortalInjector(this.injector, injectorTokens);
2927
2955
  }
2928
2956
  }
2929
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2930
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2931
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2957
+ /** @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 });
2958
+ /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2959
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2932
2960
  type: Injectable,
2933
2961
  args: [{ providedIn: 'root' }]
2934
2962
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
@@ -3643,9 +3671,9 @@ class UxTimezoneService {
3643
3671
  });
3644
3672
  }
3645
3673
  }
3646
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3647
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService });
3648
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3674
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3675
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxTimezoneService });
3676
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3649
3677
  type: Injectable
3650
3678
  }] });
3651
3679
 
@@ -3688,22 +3716,18 @@ class AsyncStorageService extends StorageService {
3688
3716
 
3689
3717
  class AsyncStorageServiceMock extends AsyncStorageService {
3690
3718
  ready() {
3691
- // tslint:disable-next-line:deprecation
3692
3719
  return of({});
3693
3720
  }
3694
3721
  name() {
3695
3722
  return null;
3696
3723
  }
3697
3724
  get() {
3698
- // tslint:disable-next-line:deprecation
3699
3725
  return of({});
3700
3726
  }
3701
3727
  set() {
3702
- // tslint:disable-next-line:deprecation
3703
3728
  return of({});
3704
3729
  }
3705
3730
  remove() {
3706
- // tslint:disable-next-line:deprecation
3707
3731
  return of({});
3708
3732
  }
3709
3733
  setAsync() {
@@ -3775,9 +3799,9 @@ class LocalStorageService extends StorageService {
3775
3799
  }
3776
3800
  }
3777
3801
  LocalStorageService.NAME = 'LocalStorageService';
3778
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3779
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService });
3780
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService, decorators: [{
3802
+ /** @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 });
3803
+ /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalStorageService });
3804
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
3781
3805
  type: Injectable
3782
3806
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3783
3807
  type: Optional
@@ -3846,9 +3870,9 @@ class SessionStorageService extends StorageService {
3846
3870
  }
3847
3871
  }
3848
3872
  SessionStorageService.NAME = 'SessionStorageService';
3849
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3850
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService });
3851
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService, decorators: [{
3873
+ /** @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 });
3874
+ /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SessionStorageService });
3875
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
3852
3876
  type: Injectable
3853
3877
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3854
3878
  type: Optional
@@ -3935,9 +3959,9 @@ class LocalForageService extends AsyncStorageService {
3935
3959
  }
3936
3960
  }
3937
3961
  LocalForageService.NAME = 'LocalForageService';
3938
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3939
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService });
3940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService, decorators: [{
3962
+ /** @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 });
3963
+ /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalForageService });
3964
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocalForageService, decorators: [{
3941
3965
  type: Injectable
3942
3966
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3943
3967
  type: Inject,
@@ -4025,8 +4049,11 @@ class LocaleService extends EuiService {
4025
4049
  addLocale(id) {
4026
4050
  return this.loadLocale(id);
4027
4051
  }
4052
+ get previousLocale() {
4053
+ return this.prevStateInstance?.id || this.currentLocale;
4054
+ }
4028
4055
  get currentLocale() {
4029
- return this.stateInstance.id;
4056
+ return this.stateInstance?.id;
4030
4057
  }
4031
4058
  /**
4032
4059
  * load and register locale data dynamically
@@ -4124,8 +4151,10 @@ class LocaleService extends EuiService {
4124
4151
  importLocale(id) {
4125
4152
  // in case of an error, catch it and return null
4126
4153
  return import(
4127
- /* webpackIgnore: true */
4128
- `@angular/common/locales/${id}`)
4154
+ /* webpackExclude: /\.d\.ts$/ */
4155
+ /* webpackMode: "lazy-once" */
4156
+ /* webpackChunkName: "i18n-base" */
4157
+ `@/../node_modules/@angular/common/locales/${id}`)
4129
4158
  .then(m => m.default)
4130
4159
  .catch(error => {
4131
4160
  if (this.log) {
@@ -4142,8 +4171,10 @@ class LocaleService extends EuiService {
4142
4171
  importExtraLocale(id) {
4143
4172
  // in case of an error, catch it and return null
4144
4173
  return import(
4145
- /* webpackIgnore: true */
4146
- `@angular/common/locales/extra/${id}`)
4174
+ /* webpackExclude: /\.d\.ts$/ */
4175
+ /* webpackMode: "lazy-once" */
4176
+ /* webpackChunkName: "i18n-extra" */
4177
+ `@/../node_modules/@angular/common/locales/extra/${id}`)
4147
4178
  .then(m => m.default)
4148
4179
  .catch(error => {
4149
4180
  if (this.log) {
@@ -4158,12 +4189,12 @@ class LocaleService extends EuiService {
4158
4189
  * @private
4159
4190
  */
4160
4191
  importDataAndExtraLocale(localeId) {
4161
- return from(this.importLocale(localeId)).pipe(mergeMap(() => from(this.importExtraLocale(localeId)).pipe(map((data, extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4192
+ return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4162
4193
  }
4163
4194
  }
4164
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.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 });
4165
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, decorators: [{
4195
+ /** @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 });
4196
+ /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: LocaleService, decorators: [{
4167
4198
  type: Injectable,
4168
4199
  args: [{
4169
4200
  providedIn: 'root'
@@ -4218,9 +4249,9 @@ class UserService extends EuiService {
4218
4249
  this.store.dispatch(new UpdateUserStateAction(userState));
4219
4250
  }
4220
4251
  }
4221
- /** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4222
- /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, providedIn: 'root' });
4223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, decorators: [{
4252
+ /** @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 });
4253
+ /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
4254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserService, decorators: [{
4224
4255
  type: Injectable,
4225
4256
  args: [{
4226
4257
  providedIn: 'root',
@@ -4251,9 +4282,9 @@ class UserServiceMock extends UserService {
4251
4282
  return of('anonymous');
4252
4283
  }
4253
4284
  }
4254
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4255
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock });
4256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock, decorators: [{
4285
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4286
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserServiceMock });
4287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
4257
4288
  type: Injectable
4258
4289
  }], ctorParameters: function () { return []; } });
4259
4290
 
@@ -4283,9 +4314,9 @@ class AddLangParamInterceptor {
4283
4314
  }));
4284
4315
  }
4285
4316
  }
4286
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4287
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor });
4288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4317
+ /** @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 });
4318
+ /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AddLangParamInterceptor });
4319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4289
4320
  type: Injectable
4290
4321
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4291
4322
 
@@ -4302,9 +4333,9 @@ class CachePreventionInterceptor {
4302
4333
  }));
4303
4334
  }
4304
4335
  }
4305
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4306
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor });
4307
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4336
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4337
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CachePreventionInterceptor });
4338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4308
4339
  type: Injectable
4309
4340
  }] });
4310
4341
 
@@ -4315,9 +4346,9 @@ class CorsSecurityInterceptor {
4315
4346
  }));
4316
4347
  }
4317
4348
  }
4318
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4319
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor });
4320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4349
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4350
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CorsSecurityInterceptor });
4351
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4321
4352
  type: Injectable
4322
4353
  }] });
4323
4354
 
@@ -4328,9 +4359,9 @@ class CsrfPreventionInterceptor {
4328
4359
  }));
4329
4360
  }
4330
4361
  }
4331
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4332
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor });
4333
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4362
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4363
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
4364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4334
4365
  type: Injectable
4335
4366
  }] });
4336
4367
 
@@ -4381,13 +4412,12 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4381
4412
  }
4382
4413
  }
4383
4414
  reauthenticate(request, response) {
4384
- // tslint:disable-next-line:deprecation
4385
4415
  document.location.reload();
4386
4416
  }
4387
4417
  }
4388
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4389
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4390
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4418
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4419
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4391
4421
  type: Injectable
4392
4422
  }] });
4393
4423
 
@@ -4408,9 +4438,9 @@ class UxRequestErrorModelInterceptor {
4408
4438
  }));
4409
4439
  }
4410
4440
  }
4411
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4412
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4413
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4441
+ /** @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 });
4442
+ /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4414
4444
  type: Injectable
4415
4445
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
4416
4446
  type: Inject,
@@ -4552,9 +4582,9 @@ class OpenIdConnectInterceptor {
4552
4582
  }
4553
4583
  }
4554
4584
  }
4555
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4556
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor });
4557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4585
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4586
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
4587
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4558
4588
  type: Injectable
4559
4589
  }], ctorParameters: function () { return []; } });
4560
4590
 
@@ -4584,9 +4614,9 @@ class OpenIdConnectService {
4584
4614
  return this.userDetails;
4585
4615
  }
4586
4616
  }
4587
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4588
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4589
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4617
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4618
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4590
4620
  type: Injectable,
4591
4621
  args: [{
4592
4622
  providedIn: 'root'