@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';
@@ -26,6 +26,8 @@ import { By } from '@angular/platform-browser';
26
26
  import { FormGroup, FormArray } from '@angular/forms';
27
27
  import { DomPortalOutlet, ComponentPortal, PortalInjector } from '@angular/cdk/portal';
28
28
  import * as lf from 'localforage';
29
+ import localeFr from '@angular/common/locales/fr';
30
+ import localeEl from '@angular/common/locales/el';
29
31
 
30
32
  /** default log configuration */
31
33
  const DEFAULT_LOG_CONFIG = {
@@ -178,9 +180,9 @@ class LogService extends Logger {
178
180
  return logger;
179
181
  }
180
182
  }
181
- /** @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 });
182
- /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogService });
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogService, decorators: [{
183
+ /** @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 });
184
+ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService });
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService, decorators: [{
184
186
  type: Injectable
185
187
  }], ctorParameters: function () {
186
188
  return [{ type: undefined, decorators: [{
@@ -354,10 +356,10 @@ class LogModule {
354
356
  };
355
357
  }
356
358
  }
357
- /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
358
- /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule });
359
- /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule });
360
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LogModule, decorators: [{
359
+ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
360
+ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
361
+ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, decorators: [{
361
363
  type: NgModule
362
364
  }] });
363
365
 
@@ -449,9 +451,9 @@ class StoreService {
449
451
  }
450
452
  }
451
453
  }
452
- /** @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 });
453
- /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreService, providedIn: 'root' });
454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreService, decorators: [{
454
+ /** @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 });
455
+ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, decorators: [{
455
457
  type: Injectable,
456
458
  args: [{
457
459
  providedIn: 'root',
@@ -806,9 +808,9 @@ class I18nLoader {
806
808
  return undefined;
807
809
  }
808
810
  }
809
- /** @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 });
810
- /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nLoader });
811
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nLoader, decorators: [{
811
+ /** @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 });
812
+ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader });
813
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader, decorators: [{
812
814
  type: Injectable
813
815
  }], ctorParameters: function () {
814
816
  return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
@@ -1022,9 +1024,9 @@ class I18nService extends EuiLazyService {
1022
1024
  this.document.documentElement.lang = lang;
1023
1025
  }
1024
1026
  }
1025
- /** @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 });
1026
- /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nService, providedIn: 'root' });
1027
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nService, decorators: [{
1027
+ /** @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 });
1028
+ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
1029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, decorators: [{
1028
1030
  type: Injectable,
1029
1031
  args: [{
1030
1032
  providedIn: 'root',
@@ -1069,9 +1071,9 @@ class I18nServiceMock extends I18nService {
1069
1071
  return of({ success: true });
1070
1072
  }
1071
1073
  }
1072
- /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1073
- /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nServiceMock });
1074
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nServiceMock, decorators: [{
1074
+ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1075
+ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock });
1076
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1075
1077
  type: Injectable
1076
1078
  }], ctorParameters: function () { return []; } });
1077
1079
 
@@ -1090,7 +1092,7 @@ const initialState = {
1090
1092
  isSidebarExpandOnHover: true,
1091
1093
  hasSidebar: false,
1092
1094
  hasHeader: false,
1093
- hasBreadcrumbs: false,
1095
+ hasBreadcrumb: false,
1094
1096
  hasHeaderLogo: false,
1095
1097
  hasHeaderEnvironment: false,
1096
1098
  hasToolbar: false,
@@ -1320,9 +1322,9 @@ class UxAppShellService {
1320
1322
  this.setState(Object.assign(Object.assign({}, this.state), { hasHeader: true }));
1321
1323
  this.activateHeaderCssVars();
1322
1324
  }
1323
- activateBreadcrumbs() {
1324
- this.setState(Object.assign(Object.assign({}, this.state), { hasBreadcrumbs: true }));
1325
- this.activateBreadcrumbsCssVars();
1325
+ activateBreadcrumb() {
1326
+ this.setState(Object.assign(Object.assign({}, this.state), { hasBreadcrumb: true }));
1327
+ this.activateBreadcrumbCssVars();
1326
1328
  }
1327
1329
  activateTopMessage(height) {
1328
1330
  this.setState(Object.assign(Object.assign({}, this.state), { hasTopMessage: true }));
@@ -1340,8 +1342,8 @@ class UxAppShellService {
1340
1342
  '--eui-app-header-height-default',
1341
1343
  '--eui-app-header-height-active',
1342
1344
  '--eui-app-header-height-shrink',
1343
- '--eui-app-breadcrumbs-height-default',
1344
- '--eui-app-breadcrumbs-height-active',
1345
+ '--eui-app-breadcrumb-height-default',
1346
+ '--eui-app-breadcrumb-height-active',
1345
1347
  '--eui-app-top-message-height-default',
1346
1348
  '--eui-app-top-message-height-active',
1347
1349
  '--eui-app-top-message-height-shrink',
@@ -1362,7 +1364,7 @@ class UxAppShellService {
1362
1364
  }
1363
1365
  initCssVars() {
1364
1366
  this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
1365
- this.setCssVar('--eui-app-breadcrumbs-height-default', '--eui-app-breadcrumbs-height');
1367
+ this.setCssVar('--eui-app-breadcrumb-height-default', '--eui-app-breadcrumb-height');
1366
1368
  this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
1367
1369
  this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
1368
1370
  this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
@@ -1373,8 +1375,8 @@ class UxAppShellService {
1373
1375
  activateHeaderCssVars() {
1374
1376
  this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
1375
1377
  }
1376
- activateBreadcrumbsCssVars() {
1377
- this.setCssVar('--eui-app-breadcrumbs-height-active', '--eui-app-breadcrumbs-height');
1378
+ activateBreadcrumbCssVars() {
1379
+ this.setCssVar('--eui-app-breadcrumb-height-active', '--eui-app-breadcrumb-height');
1378
1380
  }
1379
1381
  activateTopMessageCssVars(height) {
1380
1382
  this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
@@ -1666,9 +1668,9 @@ class UxAppShellService {
1666
1668
  });
1667
1669
  }
1668
1670
  }
1669
- /** @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 });
1670
- /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1671
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxAppShellService, decorators: [{
1671
+ /** @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 });
1672
+ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
1672
1674
  type: Injectable,
1673
1675
  args: [{
1674
1676
  providedIn: 'root',
@@ -1728,9 +1730,9 @@ class CoreAppEffects {
1728
1730
  })), { dispatch: false });
1729
1731
  }
1730
1732
  }
1731
- /** @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 });
1732
- /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreAppEffects });
1733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreAppEffects, decorators: [{
1733
+ /** @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 });
1734
+ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects });
1735
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1734
1736
  type: Injectable
1735
1737
  }], ctorParameters: function () {
1736
1738
  return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
@@ -1982,9 +1984,9 @@ class StoreServiceMock extends StoreService {
1982
1984
  return of({});
1983
1985
  }
1984
1986
  }
1985
- /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1986
- /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreServiceMock });
1987
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: StoreServiceMock, decorators: [{
1987
+ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1988
+ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock });
1989
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
1988
1990
  type: Injectable
1989
1991
  }], ctorParameters: function () { return []; } });
1990
1992
 
@@ -2029,10 +2031,10 @@ class CoreModule {
2029
2031
  };
2030
2032
  }
2031
2033
  }
2032
- /** @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 });
2033
- /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreModule });
2034
- /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreModule });
2035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CoreModule, decorators: [{
2034
+ /** @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 });
2035
+ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
2036
+ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
2037
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule, decorators: [{
2036
2038
  type: NgModule,
2037
2039
  args: [{
2038
2040
  imports: [
@@ -2161,9 +2163,9 @@ class GlobalErrorHandler extends ErrorHandler {
2161
2163
  super.handleError(error);
2162
2164
  }
2163
2165
  }
2164
- /** @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 });
2165
- /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2166
+ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2167
+ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2167
2169
  type: Injectable,
2168
2170
  args: [{
2169
2171
  providedIn: 'root',
@@ -2211,9 +2213,9 @@ class HttpErrorHandlerInterceptor {
2211
2213
  return routes.length > 0 ? routes[0] : null;
2212
2214
  }
2213
2215
  }
2214
- /** @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 });
2215
- /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor });
2216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2216
+ /** @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 });
2217
+ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2217
2219
  type: Injectable
2218
2220
  }], ctorParameters: function () {
2219
2221
  return [{ type: undefined, decorators: [{
@@ -2362,9 +2364,9 @@ class ApiQueueService {
2362
2364
  .pipe(tap(() => this.removeQueueItem(id)));
2363
2365
  }
2364
2366
  }
2365
- /** @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 });
2366
- /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: ApiQueueService, decorators: [{
2367
+ /** @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 });
2368
+ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2369
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
2368
2370
  type: Injectable,
2369
2371
  args: [{
2370
2372
  providedIn: 'root',
@@ -2717,9 +2719,9 @@ class EuiPermissionService extends EuiService {
2717
2719
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2718
2720
  }
2719
2721
  }
2720
- /** @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 });
2721
- /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2722
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuiPermissionService, decorators: [{
2722
+ /** @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 });
2723
+ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2723
2725
  type: Injectable,
2724
2726
  args: [{
2725
2727
  providedIn: 'root',
@@ -2782,9 +2784,9 @@ class UxDynamicMenuService {
2782
2784
  });
2783
2785
  }
2784
2786
  }
2785
- /** @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 });
2786
- /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2787
+ /** @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 });
2788
+ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2789
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2788
2790
  type: Injectable,
2789
2791
  args: [{
2790
2792
  providedIn: 'root',
@@ -2852,9 +2854,9 @@ class UxErrorFeedbackService {
2852
2854
  return new UxErrorManager(this, true);
2853
2855
  }
2854
2856
  }
2855
- /** @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 });
2856
- /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2857
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2857
+ /** @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 });
2858
+ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2859
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2858
2860
  type: Injectable,
2859
2861
  args: [{
2860
2862
  providedIn: 'root'
@@ -2950,11 +2952,10 @@ class UxDynamicComponentService {
2950
2952
  return new PortalInjector(this.injector, injectorTokens);
2951
2953
  }
2952
2954
  }
2953
- /** @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 });
2954
- /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2955
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2956
- type: Injectable,
2957
- args: [{ providedIn: 'root' }]
2955
+ /** @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 });
2956
+ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService });
2957
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2958
+ type: Injectable
2958
2959
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
2959
2960
 
2960
2961
  const UX_COUNTRIES = {
@@ -3667,9 +3668,9 @@ class UxTimezoneService {
3667
3668
  });
3668
3669
  }
3669
3670
  }
3670
- /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3671
- /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxTimezoneService });
3672
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxTimezoneService, decorators: [{
3671
+ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3672
+ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService });
3673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3673
3674
  type: Injectable
3674
3675
  }] });
3675
3676
 
@@ -3795,9 +3796,9 @@ class LocalStorageService extends StorageService {
3795
3796
  }
3796
3797
  }
3797
3798
  LocalStorageService.NAME = 'LocalStorageService';
3798
- /** @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 });
3799
- /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalStorageService });
3800
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalStorageService, decorators: [{
3799
+ /** @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 });
3800
+ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService });
3801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
3801
3802
  type: Injectable
3802
3803
  }], ctorParameters: function () {
3803
3804
  return [{ type: LogService, decorators: [{
@@ -3868,9 +3869,9 @@ class SessionStorageService extends StorageService {
3868
3869
  }
3869
3870
  }
3870
3871
  SessionStorageService.NAME = 'SessionStorageService';
3871
- /** @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 });
3872
- /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SessionStorageService });
3873
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SessionStorageService, decorators: [{
3872
+ /** @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 });
3873
+ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService });
3874
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
3874
3875
  type: Injectable
3875
3876
  }], ctorParameters: function () {
3876
3877
  return [{ type: LogService, decorators: [{
@@ -3959,9 +3960,9 @@ class LocalForageService extends AsyncStorageService {
3959
3960
  }
3960
3961
  }
3961
3962
  LocalForageService.NAME = 'LocalForageService';
3962
- /** @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 });
3963
- /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalForageService });
3964
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocalForageService, decorators: [{
3963
+ /** @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 });
3964
+ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService });
3965
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService, decorators: [{
3965
3966
  type: Injectable
3966
3967
  }], ctorParameters: function () {
3967
3968
  return [{ type: undefined, decorators: [{
@@ -4033,7 +4034,7 @@ class LocaleService extends EuiService {
4033
4034
  */
4034
4035
  updateState(state) {
4035
4036
  try {
4036
- const id = getLocaleId(state.id);
4037
+ const id = this.localeMapper(state.id);
4037
4038
  this.store.dispatch(new UpdateLocaleStateAction(Object.assign(Object.assign({}, state), { id })));
4038
4039
  // update global TOKEN ID based on configuration
4039
4040
  if (this.config.affectGlobalLocale) {
@@ -4162,9 +4163,9 @@ class LocaleService extends EuiService {
4162
4163
  });
4163
4164
  }
4164
4165
  }
4165
- /** @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 });
4166
- /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleService, providedIn: 'root' });
4167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleService, decorators: [{
4166
+ /** @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 });
4167
+ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, decorators: [{
4168
4169
  type: Injectable,
4169
4170
  args: [{
4170
4171
  providedIn: 'root'
@@ -4193,21 +4194,29 @@ class LocaleServiceMock extends LocaleService {
4193
4194
  super(null, { locale: { id: 'en', available: [] } }, locale_id, null, null, null);
4194
4195
  this.locale_id = locale_id;
4195
4196
  this.DEFAULT_LOCALE = 'en';
4197
+ this.stateSubject = new BehaviorSubject({ id: this.DEFAULT_LOCALE });
4196
4198
  }
4197
4199
  getState() {
4198
- return of({ id: this.DEFAULT_LOCALE });
4200
+ return this.stateSubject.asObservable();
4199
4201
  }
4200
4202
  updateState(state) {
4201
4203
  this.DEFAULT_LOCALE = state.id || 'en';
4204
+ if (state.id === 'fr') {
4205
+ registerLocaleData(localeFr, 'fr');
4206
+ }
4207
+ else if (state.id === 'el') {
4208
+ registerLocaleData(localeEl, 'fr');
4209
+ }
4210
+ this.stateSubject.next(state);
4202
4211
  }
4203
4212
  init(state) {
4204
4213
  this.DEFAULT_LOCALE = state.id || 'en';
4205
4214
  return of({ success: true });
4206
4215
  }
4207
4216
  }
4208
- /** @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 });
4209
- /** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleServiceMock });
4210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocaleServiceMock, decorators: [{
4217
+ /** @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 });
4218
+ /** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock });
4219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock, decorators: [{
4211
4220
  type: Injectable
4212
4221
  }], ctorParameters: function () {
4213
4222
  return [{ type: undefined, decorators: [{
@@ -4251,9 +4260,9 @@ class UserService extends EuiService {
4251
4260
  this.store.dispatch(new UpdateUserStateAction(userState));
4252
4261
  }
4253
4262
  }
4254
- /** @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 });
4255
- /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserService, providedIn: 'root' });
4256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserService, decorators: [{
4263
+ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4264
+ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
4265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, decorators: [{
4257
4266
  type: Injectable,
4258
4267
  args: [{
4259
4268
  providedIn: 'root',
@@ -4284,9 +4293,9 @@ class UserServiceMock extends UserService {
4284
4293
  return of('anonymous');
4285
4294
  }
4286
4295
  }
4287
- /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4288
- /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserServiceMock });
4289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UserServiceMock, decorators: [{
4296
+ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4297
+ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock });
4298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
4290
4299
  type: Injectable
4291
4300
  }], ctorParameters: function () { return []; } });
4292
4301
 
@@ -4316,9 +4325,9 @@ class AddLangParamInterceptor {
4316
4325
  }));
4317
4326
  }
4318
4327
  }
4319
- /** @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 });
4320
- /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor });
4321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4328
+ /** @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 });
4329
+ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor });
4330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4322
4331
  type: Injectable
4323
4332
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4324
4333
 
@@ -4335,9 +4344,9 @@ class CachePreventionInterceptor {
4335
4344
  }));
4336
4345
  }
4337
4346
  }
4338
- /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4339
- /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor });
4340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4347
+ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4348
+ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor });
4349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4341
4350
  type: Injectable
4342
4351
  }] });
4343
4352
 
@@ -4348,9 +4357,9 @@ class CorsSecurityInterceptor {
4348
4357
  }));
4349
4358
  }
4350
4359
  }
4351
- /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4352
- /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor });
4353
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4360
+ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4361
+ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor });
4362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4354
4363
  type: Injectable
4355
4364
  }] });
4356
4365
 
@@ -4361,9 +4370,9 @@ class CsrfPreventionInterceptor {
4361
4370
  }));
4362
4371
  }
4363
4372
  }
4364
- /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4365
- /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor });
4366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4373
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4374
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
4375
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4367
4376
  type: Injectable
4368
4377
  }] });
4369
4378
 
@@ -4423,9 +4432,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4423
4432
  document.location.reload();
4424
4433
  }
4425
4434
  }
4426
- /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4427
- /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4435
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4436
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4437
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4429
4438
  type: Injectable
4430
4439
  }] });
4431
4440
 
@@ -4446,9 +4455,9 @@ class UxRequestErrorModelInterceptor {
4446
4455
  }));
4447
4456
  }
4448
4457
  }
4449
- /** @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 });
4450
- /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor });
4451
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4458
+ /** @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 });
4459
+ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4452
4461
  type: Injectable
4453
4462
  }], ctorParameters: function () {
4454
4463
  return [{ type: undefined, decorators: [{
@@ -4595,9 +4604,9 @@ class OpenIdConnectInterceptor {
4595
4604
  }
4596
4605
  }
4597
4606
  }
4598
- /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4599
- /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor });
4600
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4607
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4608
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
4609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4601
4610
  type: Injectable
4602
4611
  }], ctorParameters: function () { return []; } });
4603
4612
 
@@ -4640,9 +4649,9 @@ class OpenIdConnectService {
4640
4649
  return this.userDetails;
4641
4650
  }
4642
4651
  }
4643
- /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4644
- /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: OpenIdConnectService, decorators: [{
4652
+ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4653
+ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4654
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4646
4655
  type: Injectable,
4647
4656
  args: [{
4648
4657
  providedIn: 'root'