@eui/core 15.0.0-rc.2 → 15.0.0-rc.21

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 (48) hide show
  1. package/docs/dependencies.html +35 -37
  2. package/docs/injectables/UxAppShellService.html +10 -10
  3. package/docs/interfaces/UIState.html +6 -6
  4. package/docs/js/search/search_index.js +2 -2
  5. package/docs/miscellaneous/variables.html +1 -1
  6. package/docs/properties.html +1 -1
  7. package/esm2020/lib/eui-core.module.mjs +5 -5
  8. package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -4
  9. package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +4 -4
  10. package/esm2020/lib/interceptors/cors-security.interceptor.mjs +4 -4
  11. package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +4 -4
  12. package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +4 -4
  13. package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +4 -4
  14. package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +4 -4
  15. package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +4 -4
  16. package/esm2020/lib/services/errors/global-error-handler.mjs +4 -4
  17. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +4 -4
  18. package/esm2020/lib/services/i18n/i18n.loader.mjs +4 -4
  19. package/esm2020/lib/services/i18n/i18n.service.mjs +4 -4
  20. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
  21. package/esm2020/lib/services/locale/locale.service.mjs +5 -5
  22. package/esm2020/lib/services/locale/locale.service.mock.mjs +17 -6
  23. package/esm2020/lib/services/log/log.module.mjs +5 -5
  24. package/esm2020/lib/services/log/log.service.mjs +4 -4
  25. package/esm2020/lib/services/permission/permission.service.mjs +4 -4
  26. package/esm2020/lib/services/queue/api-queue.service.mjs +4 -4
  27. package/esm2020/lib/services/storage/local-forage.service.mjs +4 -4
  28. package/esm2020/lib/services/storage/local-storage.service.mjs +4 -4
  29. package/esm2020/lib/services/storage/session-storage.service.mjs +4 -4
  30. package/esm2020/lib/services/store/effects/app.effects.mjs +4 -4
  31. package/esm2020/lib/services/store/store.service.mjs +4 -4
  32. package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
  33. package/esm2020/lib/services/user/user.service.mjs +4 -4
  34. package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
  35. package/esm2020/lib/services/ux-app-shell.service.mjs +13 -13
  36. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +5 -6
  37. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -4
  38. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -4
  39. package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
  40. package/fesm2015/eui-core.mjs +124 -115
  41. package/fesm2015/eui-core.mjs.map +1 -1
  42. package/fesm2020/eui-core.mjs +124 -115
  43. package/fesm2020/eui-core.mjs.map +1 -1
  44. package/lib/services/locale/locale.service.mock.d.ts +1 -0
  45. package/lib/services/locale/locale.service.mock.d.ts.map +1 -1
  46. package/lib/services/ux-app-shell.service.d.ts +3 -3
  47. package/lib/services/ux-app-shell.service.d.ts.map +1 -1
  48. package/package.json +1 -1
@@ -6,7 +6,7 @@ import { InjectionToken, Injectable, Inject, Injector, NgModule, Optional, APP_I
6
6
  import * as extendProxy from 'extend';
7
7
  import { DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core';
8
8
  import { MomentDateAdapter } from '@angular/material-moment-adapter';
9
- import { LOCATION_INITIALIZED, DOCUMENT, isPlatformBrowser, getLocaleId } from '@angular/common';
9
+ import { LOCATION_INITIALIZED, DOCUMENT, isPlatformBrowser, getLocaleId, registerLocaleData } from '@angular/common';
10
10
  import { throwError, forkJoin, of, BehaviorSubject, defer, merge, fromEvent, Observable, Subject, from } from 'rxjs';
11
11
  import { debounceTime, distinctUntilChanged, map, catchError, switchMap, tap, filter, take, mapTo, mergeMap, concatMap, takeUntil } from 'rxjs/operators';
12
12
  import * as i1$1 from '@ngrx/store';
@@ -25,6 +25,8 @@ import { By } from '@angular/platform-browser';
25
25
  import { FormGroup, FormArray } from '@angular/forms';
26
26
  import { DomPortalOutlet, ComponentPortal, PortalInjector } from '@angular/cdk/portal';
27
27
  import * as lf from 'localforage';
28
+ import localeFr from '@angular/common/locales/fr';
29
+ import localeEl from '@angular/common/locales/el';
28
30
 
29
31
  /** default log configuration */
30
32
  const DEFAULT_LOG_CONFIG = {
@@ -194,9 +196,9 @@ class LogService extends Logger {
194
196
  return logger;
195
197
  }
196
198
  }
197
- /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
198
- /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogService });
199
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogService, decorators: [{
199
+ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
200
+ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService });
201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService, decorators: [{
200
202
  type: Injectable
201
203
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
202
204
  type: Inject,
@@ -368,10 +370,10 @@ class LogModule {
368
370
  };
369
371
  }
370
372
  }
371
- /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
372
- /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule });
373
- /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule });
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule, decorators: [{
373
+ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
374
+ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
375
+ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, decorators: [{
375
377
  type: NgModule
376
378
  }] });
377
379
 
@@ -463,9 +465,9 @@ class StoreService {
463
465
  }
464
466
  }
465
467
  }
466
- /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
467
- /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreService, providedIn: 'root' });
468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreService, decorators: [{
468
+ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
469
+ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, decorators: [{
469
471
  type: Injectable,
470
472
  args: [{
471
473
  providedIn: 'root',
@@ -818,9 +820,9 @@ class I18nLoader {
818
820
  return undefined;
819
821
  }
820
822
  }
821
- /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
822
- /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nLoader });
823
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nLoader, decorators: [{
823
+ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
824
+ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader });
825
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader, decorators: [{
824
826
  type: Injectable
825
827
  }], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
826
828
  type: Optional
@@ -1035,9 +1037,9 @@ class I18nService extends EuiLazyService {
1035
1037
  this.document.documentElement.lang = lang;
1036
1038
  }
1037
1039
  }
1038
- /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1039
- /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nService, providedIn: 'root' });
1040
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nService, decorators: [{
1040
+ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
1041
+ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
1042
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, decorators: [{
1041
1043
  type: Injectable,
1042
1044
  args: [{
1043
1045
  providedIn: 'root',
@@ -1080,9 +1082,9 @@ class I18nServiceMock extends I18nService {
1080
1082
  return of({ success: true });
1081
1083
  }
1082
1084
  }
1083
- /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1084
- /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nServiceMock });
1085
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nServiceMock, decorators: [{
1085
+ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1086
+ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock });
1087
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1086
1088
  type: Injectable
1087
1089
  }], ctorParameters: function () { return []; } });
1088
1090
 
@@ -1101,7 +1103,7 @@ const initialState = {
1101
1103
  isSidebarExpandOnHover: true,
1102
1104
  hasSidebar: false,
1103
1105
  hasHeader: false,
1104
- hasBreadcrumbs: false,
1106
+ hasBreadcrumb: false,
1105
1107
  hasHeaderLogo: false,
1106
1108
  hasHeaderEnvironment: false,
1107
1109
  hasToolbar: false,
@@ -1374,12 +1376,12 @@ class UxAppShellService {
1374
1376
  });
1375
1377
  this.activateHeaderCssVars();
1376
1378
  }
1377
- activateBreadcrumbs() {
1379
+ activateBreadcrumb() {
1378
1380
  this.setState({
1379
1381
  ...this.state,
1380
- hasBreadcrumbs: true,
1382
+ hasBreadcrumb: true,
1381
1383
  });
1382
- this.activateBreadcrumbsCssVars();
1384
+ this.activateBreadcrumbCssVars();
1383
1385
  }
1384
1386
  activateTopMessage(height) {
1385
1387
  this.setState({
@@ -1406,8 +1408,8 @@ class UxAppShellService {
1406
1408
  '--eui-app-header-height-default',
1407
1409
  '--eui-app-header-height-active',
1408
1410
  '--eui-app-header-height-shrink',
1409
- '--eui-app-breadcrumbs-height-default',
1410
- '--eui-app-breadcrumbs-height-active',
1411
+ '--eui-app-breadcrumb-height-default',
1412
+ '--eui-app-breadcrumb-height-active',
1411
1413
  '--eui-app-top-message-height-default',
1412
1414
  '--eui-app-top-message-height-active',
1413
1415
  '--eui-app-top-message-height-shrink',
@@ -1428,7 +1430,7 @@ class UxAppShellService {
1428
1430
  }
1429
1431
  initCssVars() {
1430
1432
  this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
1431
- this.setCssVar('--eui-app-breadcrumbs-height-default', '--eui-app-breadcrumbs-height');
1433
+ this.setCssVar('--eui-app-breadcrumb-height-default', '--eui-app-breadcrumb-height');
1432
1434
  this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
1433
1435
  this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
1434
1436
  this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
@@ -1439,8 +1441,8 @@ class UxAppShellService {
1439
1441
  activateHeaderCssVars() {
1440
1442
  this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
1441
1443
  }
1442
- activateBreadcrumbsCssVars() {
1443
- this.setCssVar('--eui-app-breadcrumbs-height-active', '--eui-app-breadcrumbs-height');
1444
+ activateBreadcrumbCssVars() {
1445
+ this.setCssVar('--eui-app-breadcrumb-height-active', '--eui-app-breadcrumb-height');
1444
1446
  }
1445
1447
  activateTopMessageCssVars(height) {
1446
1448
  this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
@@ -1735,9 +1737,9 @@ class UxAppShellService {
1735
1737
  });
1736
1738
  }
1737
1739
  }
1738
- /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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 });
1739
- /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxAppShellService, decorators: [{
1740
+ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
1741
+ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
1741
1743
  type: Injectable,
1742
1744
  args: [{
1743
1745
  providedIn: 'root',
@@ -1794,9 +1796,9 @@ class CoreAppEffects {
1794
1796
  })), { dispatch: false });
1795
1797
  }
1796
1798
  }
1797
- /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
1798
- /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreAppEffects });
1799
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreAppEffects, decorators: [{
1799
+ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
1800
+ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects });
1801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1800
1802
  type: Injectable
1801
1803
  }], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
1802
1804
  type: Inject,
@@ -2059,9 +2061,9 @@ class StoreServiceMock extends StoreService {
2059
2061
  return of({});
2060
2062
  }
2061
2063
  }
2062
- /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2063
- /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreServiceMock });
2064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreServiceMock, decorators: [{
2064
+ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2065
+ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock });
2066
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
2065
2067
  type: Injectable
2066
2068
  }], ctorParameters: function () { return []; } });
2067
2069
 
@@ -2106,10 +2108,10 @@ class CoreModule {
2106
2108
  };
2107
2109
  }
2108
2110
  }
2109
- /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
2110
- /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreModule });
2111
- /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreModule });
2112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreModule, decorators: [{
2111
+ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
2112
+ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
2113
+ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
2114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule, decorators: [{
2113
2115
  type: NgModule,
2114
2116
  args: [{
2115
2117
  imports: [
@@ -2232,9 +2234,9 @@ class GlobalErrorHandler extends ErrorHandler {
2232
2234
  super.handleError(error);
2233
2235
  }
2234
2236
  }
2235
- /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2236
- /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2237
+ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2238
+ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2238
2240
  type: Injectable,
2239
2241
  args: [{
2240
2242
  providedIn: 'root',
@@ -2282,9 +2284,9 @@ class HttpErrorHandlerInterceptor {
2282
2284
  return routes.length > 0 ? routes[0] : null;
2283
2285
  }
2284
2286
  }
2285
- /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2286
- /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor });
2287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2287
+ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2288
+ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2288
2290
  type: Injectable
2289
2291
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2290
2292
  type: Inject,
@@ -2431,9 +2433,9 @@ class ApiQueueService {
2431
2433
  .pipe(tap(() => this.removeQueueItem(id)));
2432
2434
  }
2433
2435
  }
2434
- /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2435
- /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: ApiQueueService, decorators: [{
2436
+ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2437
+ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
2437
2439
  type: Injectable,
2438
2440
  args: [{
2439
2441
  providedIn: 'root',
@@ -2786,9 +2788,9 @@ class EuiPermissionService extends EuiService {
2786
2788
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2787
2789
  }
2788
2790
  }
2789
- /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2790
- /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2791
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuiPermissionService, decorators: [{
2791
+ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2792
+ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2792
2794
  type: Injectable,
2793
2795
  args: [{
2794
2796
  providedIn: 'root',
@@ -2849,9 +2851,9 @@ class UxDynamicMenuService {
2849
2851
  });
2850
2852
  }
2851
2853
  }
2852
- /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2853
- /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2854
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2854
+ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2855
+ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2856
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2855
2857
  type: Injectable,
2856
2858
  args: [{
2857
2859
  providedIn: 'root',
@@ -2919,9 +2921,9 @@ class UxErrorFeedbackService {
2919
2921
  return new UxErrorManager(this, true);
2920
2922
  }
2921
2923
  }
2922
- /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2923
- /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2924
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2924
+ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2925
+ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2926
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2925
2927
  type: Injectable,
2926
2928
  args: [{
2927
2929
  providedIn: 'root'
@@ -3017,11 +3019,10 @@ class UxDynamicComponentService {
3017
3019
  return new PortalInjector(this.injector, injectorTokens);
3018
3020
  }
3019
3021
  }
3020
- /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
3021
- /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
3022
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicComponentService, decorators: [{
3023
- type: Injectable,
3024
- args: [{ providedIn: 'root' }]
3022
+ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
3023
+ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService });
3024
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
3025
+ type: Injectable
3025
3026
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
3026
3027
 
3027
3028
  const UX_COUNTRIES = {
@@ -3734,9 +3735,9 @@ class UxTimezoneService {
3734
3735
  });
3735
3736
  }
3736
3737
  }
3737
- /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3738
- /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxTimezoneService });
3739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxTimezoneService, decorators: [{
3738
+ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3739
+ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService });
3740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3740
3741
  type: Injectable
3741
3742
  }] });
3742
3743
 
@@ -3862,9 +3863,9 @@ class LocalStorageService extends StorageService {
3862
3863
  }
3863
3864
  }
3864
3865
  LocalStorageService.NAME = 'LocalStorageService';
3865
- /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3866
- /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalStorageService });
3867
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalStorageService, decorators: [{
3866
+ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3867
+ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService });
3868
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
3868
3869
  type: Injectable
3869
3870
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3870
3871
  type: Optional
@@ -3933,9 +3934,9 @@ class SessionStorageService extends StorageService {
3933
3934
  }
3934
3935
  }
3935
3936
  SessionStorageService.NAME = 'SessionStorageService';
3936
- /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3937
- /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SessionStorageService });
3938
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SessionStorageService, decorators: [{
3937
+ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3938
+ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService });
3939
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
3939
3940
  type: Injectable
3940
3941
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3941
3942
  type: Optional
@@ -4022,9 +4023,9 @@ class LocalForageService extends AsyncStorageService {
4022
4023
  }
4023
4024
  }
4024
4025
  LocalForageService.NAME = 'LocalForageService';
4025
- /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4026
- /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalForageService });
4027
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalForageService, decorators: [{
4026
+ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4027
+ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService });
4028
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService, decorators: [{
4028
4029
  type: Injectable
4029
4030
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
4030
4031
  type: Inject,
@@ -4093,7 +4094,7 @@ class LocaleService extends EuiService {
4093
4094
  */
4094
4095
  updateState(state) {
4095
4096
  try {
4096
- const id = getLocaleId(state.id);
4097
+ const id = this.localeMapper(state.id);
4097
4098
  this.store.dispatch(new UpdateLocaleStateAction({ ...state, id }));
4098
4099
  // update global TOKEN ID based on configuration
4099
4100
  if (this.config.affectGlobalLocale) {
@@ -4220,9 +4221,9 @@ class LocaleService extends EuiService {
4220
4221
  });
4221
4222
  }
4222
4223
  }
4223
- /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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 });
4224
- /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleService, providedIn: 'root' });
4225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleService, decorators: [{
4224
+ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.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 });
4225
+ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, decorators: [{
4226
4227
  type: Injectable,
4227
4228
  args: [{
4228
4229
  providedIn: 'root'
@@ -4249,21 +4250,29 @@ class LocaleServiceMock extends LocaleService {
4249
4250
  super(null, { locale: { id: 'en', available: [] } }, locale_id, null, null, null);
4250
4251
  this.locale_id = locale_id;
4251
4252
  this.DEFAULT_LOCALE = 'en';
4253
+ this.stateSubject = new BehaviorSubject({ id: this.DEFAULT_LOCALE });
4252
4254
  }
4253
4255
  getState() {
4254
- return of({ id: this.DEFAULT_LOCALE });
4256
+ return this.stateSubject.asObservable();
4255
4257
  }
4256
4258
  updateState(state) {
4257
4259
  this.DEFAULT_LOCALE = state.id || 'en';
4260
+ if (state.id === 'fr') {
4261
+ registerLocaleData(localeFr, 'fr');
4262
+ }
4263
+ else if (state.id === 'el') {
4264
+ registerLocaleData(localeEl, 'fr');
4265
+ }
4266
+ this.stateSubject.next(state);
4258
4267
  }
4259
4268
  init(state) {
4260
4269
  this.DEFAULT_LOCALE = state.id || 'en';
4261
4270
  return of({ success: true });
4262
4271
  }
4263
4272
  }
4264
- /** @nocollapse */ LocaleServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleServiceMock, deps: [{ token: LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4265
- /** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleServiceMock });
4266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleServiceMock, decorators: [{
4273
+ /** @nocollapse */ LocaleServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock, deps: [{ token: LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4274
+ /** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock });
4275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock, decorators: [{
4267
4276
  type: Injectable
4268
4277
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
4269
4278
  type: Optional
@@ -4305,9 +4314,9 @@ class UserService extends EuiService {
4305
4314
  this.store.dispatch(new UpdateUserStateAction(userState));
4306
4315
  }
4307
4316
  }
4308
- /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4309
- /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserService, providedIn: 'root' });
4310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserService, decorators: [{
4317
+ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4318
+ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
4319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, decorators: [{
4311
4320
  type: Injectable,
4312
4321
  args: [{
4313
4322
  providedIn: 'root',
@@ -4338,9 +4347,9 @@ class UserServiceMock extends UserService {
4338
4347
  return of('anonymous');
4339
4348
  }
4340
4349
  }
4341
- /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4342
- /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserServiceMock });
4343
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserServiceMock, decorators: [{
4350
+ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4351
+ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock });
4352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
4344
4353
  type: Injectable
4345
4354
  }], ctorParameters: function () { return []; } });
4346
4355
 
@@ -4370,9 +4379,9 @@ class AddLangParamInterceptor {
4370
4379
  }));
4371
4380
  }
4372
4381
  }
4373
- /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4374
- /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor });
4375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4382
+ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4383
+ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor });
4384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4376
4385
  type: Injectable
4377
4386
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4378
4387
 
@@ -4389,9 +4398,9 @@ class CachePreventionInterceptor {
4389
4398
  }));
4390
4399
  }
4391
4400
  }
4392
- /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4393
- /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor });
4394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4401
+ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4402
+ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor });
4403
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4395
4404
  type: Injectable
4396
4405
  }] });
4397
4406
 
@@ -4402,9 +4411,9 @@ class CorsSecurityInterceptor {
4402
4411
  }));
4403
4412
  }
4404
4413
  }
4405
- /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4406
- /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor });
4407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4414
+ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4415
+ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor });
4416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4408
4417
  type: Injectable
4409
4418
  }] });
4410
4419
 
@@ -4415,9 +4424,9 @@ class CsrfPreventionInterceptor {
4415
4424
  }));
4416
4425
  }
4417
4426
  }
4418
- /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4419
- /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor });
4420
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4427
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4428
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
4429
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4421
4430
  type: Injectable
4422
4431
  }] });
4423
4432
 
@@ -4477,9 +4486,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4477
4486
  document.location.reload();
4478
4487
  }
4479
4488
  }
4480
- /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4481
- /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4489
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4490
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4483
4492
  type: Injectable
4484
4493
  }] });
4485
4494
 
@@ -4500,9 +4509,9 @@ class UxRequestErrorModelInterceptor {
4500
4509
  }));
4501
4510
  }
4502
4511
  }
4503
- /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4504
- /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor });
4505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4512
+ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4513
+ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4506
4515
  type: Injectable
4507
4516
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
4508
4517
  type: Inject,
@@ -4647,9 +4656,9 @@ class OpenIdConnectInterceptor {
4647
4656
  }
4648
4657
  }
4649
4658
  }
4650
- /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4651
- /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor });
4652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4659
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4660
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
4661
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4653
4662
  type: Injectable
4654
4663
  }], ctorParameters: function () { return []; } });
4655
4664
 
@@ -4692,9 +4701,9 @@ class OpenIdConnectService {
4692
4701
  return this.userDetails;
4693
4702
  }
4694
4703
  }
4695
- /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4696
- /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4697
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectService, decorators: [{
4704
+ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4705
+ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4706
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4698
4707
  type: Injectable,
4699
4708
  args: [{
4700
4709
  providedIn: 'root'