@eui/core 14.0.0-rc.1 → 14.0.0-rc.2

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 (71) hide show
  1. package/assets/i18n-eui/bg.json +1 -0
  2. package/assets/i18n-eui/cs.json +1 -0
  3. package/assets/i18n-eui/da.json +1 -0
  4. package/assets/i18n-eui/de.json +1 -0
  5. package/assets/i18n-eui/el.json +1 -0
  6. package/assets/i18n-eui/en.json +1 -0
  7. package/assets/i18n-eui/es.json +1 -0
  8. package/assets/i18n-eui/et.json +1 -0
  9. package/assets/i18n-eui/fi.json +1 -0
  10. package/assets/i18n-eui/fr.json +2 -1
  11. package/assets/i18n-eui/ga.json +1 -0
  12. package/assets/i18n-eui/hr.json +1 -0
  13. package/assets/i18n-eui/hu.json +1 -0
  14. package/assets/i18n-eui/it.json +1 -0
  15. package/assets/i18n-eui/lt.json +1 -0
  16. package/assets/i18n-eui/lv.json +1 -0
  17. package/assets/i18n-eui/mt.json +1 -0
  18. package/assets/i18n-eui/nl.json +1 -0
  19. package/assets/i18n-eui/pl.json +1 -0
  20. package/assets/i18n-eui/pt.json +1 -0
  21. package/assets/i18n-eui/ro.json +1 -0
  22. package/assets/i18n-eui/sk.json +1 -0
  23. package/assets/i18n-eui/sl.json +1 -0
  24. package/assets/i18n-eui/sv.json +1 -0
  25. package/docs/dependencies.html +20 -22
  26. package/docs/js/menu-wc_es5.js +3 -3
  27. package/docs/js/search/search_index.js +2 -2
  28. package/esm2020/lib/eui-core.module.mjs +5 -5
  29. package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -4
  30. package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +4 -4
  31. package/esm2020/lib/interceptors/cors-security.interceptor.mjs +4 -4
  32. package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +4 -4
  33. package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +17 -11
  34. package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +4 -4
  35. package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +4 -4
  36. package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +4 -4
  37. package/esm2020/lib/services/app/eui-init-app.mjs +16 -4
  38. package/esm2020/lib/services/config/tokens.mjs +3 -3
  39. package/esm2020/lib/services/errors/global-error-handler.mjs +4 -4
  40. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +4 -4
  41. package/esm2020/lib/services/i18n/i18n.loader.mjs +4 -4
  42. package/esm2020/lib/services/i18n/i18n.service.mjs +17 -5
  43. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
  44. package/esm2020/lib/services/locale/locale.service.mjs +4 -4
  45. package/esm2020/lib/services/log/log.module.mjs +5 -5
  46. package/esm2020/lib/services/log/log.service.mjs +4 -4
  47. package/esm2020/lib/services/permission/permission.service.mjs +4 -4
  48. package/esm2020/lib/services/queue/api-queue.service.mjs +4 -4
  49. package/esm2020/lib/services/storage/local-forage.service.mjs +4 -4
  50. package/esm2020/lib/services/storage/local-storage.service.mjs +4 -4
  51. package/esm2020/lib/services/storage/session-storage.service.mjs +4 -4
  52. package/esm2020/lib/services/store/effects/app.effects.mjs +4 -4
  53. package/esm2020/lib/services/store/store.service.mjs +4 -4
  54. package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
  55. package/esm2020/lib/services/user/user.service.mjs +4 -4
  56. package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
  57. package/esm2020/lib/services/ux-app-shell.service.mjs +4 -4
  58. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +7 -6
  59. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -4
  60. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -4
  61. package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
  62. package/fesm2015/eui-core.mjs +141 -111
  63. package/fesm2015/eui-core.mjs.map +1 -1
  64. package/fesm2020/eui-core.mjs +141 -111
  65. package/fesm2020/eui-core.mjs.map +1 -1
  66. package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +1 -1
  67. package/lib/services/app/eui-init-app.d.ts.map +1 -1
  68. package/lib/services/i18n/i18n.service.d.ts.map +1 -1
  69. package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts +1 -1
  70. package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts.map +1 -1
  71. package/package.json +1 -1
@@ -131,8 +131,8 @@ function mergeAppJsonConfigToAppConfig(euiAppConfig, envAppJsonConfig, merge, is
131
131
  const deepMerged = {};
132
132
  if (merge && merge.length > 0) {
133
133
  merge.forEach((key) => {
134
- if (envAppJsonConfig[key] && typeof envAppJsonConfig[key] === 'object'
135
- && euiAppConfig[key] && typeof euiAppConfig[key] === 'object') {
134
+ if (envAppJsonConfig != null && envAppJsonConfig[key] && typeof envAppJsonConfig[key] === 'object' &&
135
+ euiAppConfig != null && euiAppConfig[key] && typeof euiAppConfig[key] === 'object') {
136
136
  if (isDeepMerge) {
137
137
  deepMerged[key] = {};
138
138
  extend$1(true, deepMerged[key], euiAppConfig[key], envAppJsonConfig[key]);
@@ -177,9 +177,9 @@ class LogService extends Logger {
177
177
  return logger;
178
178
  }
179
179
  }
180
- /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
181
- /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LogService });
182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LogService, decorators: [{
180
+ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
181
+ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService });
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService, decorators: [{
183
183
  type: Injectable
184
184
  }], ctorParameters: function () {
185
185
  return [{ type: undefined, decorators: [{
@@ -353,10 +353,10 @@ class LogModule {
353
353
  };
354
354
  }
355
355
  }
356
- /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
357
- /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LogModule });
358
- /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LogModule });
359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LogModule, decorators: [{
356
+ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
357
+ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: LogModule });
358
+ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule });
359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule, decorators: [{
360
360
  type: NgModule
361
361
  }] });
362
362
 
@@ -448,9 +448,9 @@ class StoreService {
448
448
  }
449
449
  }
450
450
  }
451
- /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
452
- /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: StoreService, providedIn: 'root' });
453
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: StoreService, decorators: [{
451
+ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
452
+ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, decorators: [{
454
454
  type: Injectable,
455
455
  args: [{
456
456
  providedIn: 'root',
@@ -470,8 +470,20 @@ function euiInitApp(injector) {
470
470
  locationInitialized.then(() => {
471
471
  const appConfig = injector.get(CONFIG_TOKEN);
472
472
  // necessary config parameters
473
- const appVersion = appConfig && appConfig.versions && appConfig.versions.app;
474
- const storageType = appConfig && appConfig.saveStateStorage;
473
+ let appVersion;
474
+ if (appConfig && appConfig.versions && appConfig.versions.app) {
475
+ appVersion = appConfig.versions.app;
476
+ }
477
+ else {
478
+ appVersion = '0.0.0';
479
+ }
480
+ let storageType;
481
+ if (appConfig && appConfig.saveStateStorage) {
482
+ storageType = appConfig.saveStateStorage;
483
+ }
484
+ else {
485
+ storageType = BrowserStorageType.local;
486
+ }
475
487
  const storeService = injector.get(StoreService);
476
488
  storeService.init(appVersion, storageType);
477
489
  storeService.handleAutoSave();
@@ -786,9 +798,9 @@ class I18nLoader {
786
798
  return undefined;
787
799
  }
788
800
  }
789
- /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
790
- /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nLoader });
791
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nLoader, decorators: [{
801
+ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
802
+ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader });
803
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader, decorators: [{
792
804
  type: Injectable
793
805
  }], ctorParameters: function () {
794
806
  return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
@@ -817,7 +829,18 @@ class I18nService extends EuiLazyService {
817
829
  this.onModuleLoad = new BehaviorSubject({ ready: false, name: null });
818
830
  }
819
831
  getState(keyOrMapFn) {
820
- return this.store.select(getI18nState);
832
+ let selector = getI18nState;
833
+ if (keyOrMapFn) {
834
+ switch (typeof keyOrMapFn) {
835
+ case 'function':
836
+ selector = createSelector(getI18nState, keyOrMapFn);
837
+ break;
838
+ case 'string':
839
+ selector = createSelector(getI18nState, (state) => state[keyOrMapFn]);
840
+ break;
841
+ }
842
+ }
843
+ return this.store.select(selector);
821
844
  }
822
845
  updateState(langState) {
823
846
  this.updateHTMLDOMLang(langState.activeLang);
@@ -991,9 +1014,9 @@ class I18nService extends EuiLazyService {
991
1014
  this.document.documentElement.lang = lang;
992
1015
  }
993
1016
  }
994
- /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
995
- /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nService, providedIn: 'root' });
996
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nService, decorators: [{
1017
+ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
1018
+ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
1019
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nService, decorators: [{
997
1020
  type: Injectable,
998
1021
  args: [{
999
1022
  providedIn: 'root',
@@ -1038,9 +1061,9 @@ class I18nServiceMock extends I18nService {
1038
1061
  return of({ success: true });
1039
1062
  }
1040
1063
  }
1041
- /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1042
- /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nServiceMock });
1043
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1064
+ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1065
+ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock });
1066
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1044
1067
  type: Injectable
1045
1068
  }], ctorParameters: function () { return []; } });
1046
1069
 
@@ -1611,9 +1634,9 @@ class UxAppShellService {
1611
1634
  });
1612
1635
  }
1613
1636
  }
1614
- /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxAppShellService, deps: [{ token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i1$2.HttpClient }, { token: PLATFORM_ID }, { token: i2$1.Router }, { token: StoreService }, { token: I18nService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1615
- /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1616
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxAppShellService, decorators: [{
1637
+ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
1638
+ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
1617
1640
  type: Injectable,
1618
1641
  args: [{
1619
1642
  providedIn: 'root',
@@ -1673,9 +1696,9 @@ class CoreAppEffects {
1673
1696
  })), { dispatch: false });
1674
1697
  }
1675
1698
  }
1676
- /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
1677
- /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CoreAppEffects });
1678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1699
+ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
1700
+ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreAppEffects });
1701
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1679
1702
  type: Injectable
1680
1703
  }], ctorParameters: function () {
1681
1704
  return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
@@ -1935,9 +1958,9 @@ class StoreServiceMock extends StoreService {
1935
1958
  return of({});
1936
1959
  }
1937
1960
  }
1938
- /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1939
- /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: StoreServiceMock });
1940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: StoreServiceMock, decorators: [{
1961
+ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1962
+ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock });
1963
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
1941
1964
  type: Injectable
1942
1965
  }], ctorParameters: function () { return []; } });
1943
1966
 
@@ -1982,10 +2005,10 @@ class CoreModule {
1982
2005
  };
1983
2006
  }
1984
2007
  }
1985
- /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
1986
- /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1987
- /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1988
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CoreModule, decorators: [{
2008
+ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
2009
+ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
2010
+ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
2011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreModule, decorators: [{
1989
2012
  type: NgModule,
1990
2013
  args: [{
1991
2014
  imports: [
@@ -2115,9 +2138,9 @@ class GlobalErrorHandler extends ErrorHandler {
2115
2138
  super.handleError(error);
2116
2139
  }
2117
2140
  }
2118
- /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2119
- /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2141
+ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2142
+ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2121
2144
  type: Injectable,
2122
2145
  args: [{
2123
2146
  providedIn: 'root',
@@ -2164,9 +2187,9 @@ class HttpErrorHandlerInterceptor {
2164
2187
  return routes.length > 0 ? routes[0] : null;
2165
2188
  }
2166
2189
  }
2167
- /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2168
- /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2190
+ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2191
+ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2170
2193
  type: Injectable
2171
2194
  }], ctorParameters: function () {
2172
2195
  return [{ type: undefined, decorators: [{
@@ -2315,9 +2338,9 @@ class ApiQueueService {
2315
2338
  .pipe(tap(() => this.removeQueueItem(id)));
2316
2339
  }
2317
2340
  }
2318
- /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2319
- /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: ApiQueueService, decorators: [{
2341
+ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2342
+ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
2321
2344
  type: Injectable,
2322
2345
  args: [{
2323
2346
  providedIn: 'root',
@@ -2674,9 +2697,9 @@ class EuiPermissionService extends EuiService {
2674
2697
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2675
2698
  }
2676
2699
  }
2677
- /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2678
- /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2679
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2700
+ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2701
+ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2702
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2680
2703
  type: Injectable,
2681
2704
  args: [{
2682
2705
  providedIn: 'root',
@@ -2739,9 +2762,9 @@ class UxDynamicMenuService {
2739
2762
  });
2740
2763
  }
2741
2764
  }
2742
- /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2743
- /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2744
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2765
+ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2766
+ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2767
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2745
2768
  type: Injectable,
2746
2769
  args: [{
2747
2770
  providedIn: 'root',
@@ -2809,9 +2832,9 @@ class UxErrorFeedbackService {
2809
2832
  return new UxErrorManager(this, true);
2810
2833
  }
2811
2834
  }
2812
- /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2813
- /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2814
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2835
+ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2836
+ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2815
2838
  type: Injectable,
2816
2839
  args: [{
2817
2840
  providedIn: 'root'
@@ -2867,6 +2890,7 @@ class UxDynamicComponentService {
2867
2890
  * @param config The data to be passed (config) for the DYNAMIC_COMPONENT_CONFIG token
2868
2891
  */
2869
2892
  add(component, el, config) {
2893
+ // TODO: take a look and replace deprecated componentFactoryResolver https://github.com/angular/components/issues/24334
2870
2894
  // Create a portalHost from a DOM element
2871
2895
  this.portalHost = new DomPortalOutlet(el ? el.nativeElement : document.body, this.componentFactoryResolver, this.appRef, this.injector);
2872
2896
  // Locate the component factory for the ComponentToIncludeDynamicallyComponent
@@ -2897,7 +2921,7 @@ class UxDynamicComponentService {
2897
2921
  this.portalComponentInstance = null;
2898
2922
  }
2899
2923
  /**
2900
- * creates an Custom injector to be used when providing custom injection tokens to components inside a portal
2924
+ * creates a custom injector to be used when providing custom injection tokens to components inside a portal
2901
2925
  * @param data to be used by DYNAMIC_COMPONENT_CONFIG token
2902
2926
  */
2903
2927
  createInjector(data) {
@@ -2906,9 +2930,9 @@ class UxDynamicComponentService {
2906
2930
  return new PortalInjector(this.injector, injectorTokens);
2907
2931
  }
2908
2932
  }
2909
- /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2910
- /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2933
+ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2934
+ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2912
2936
  type: Injectable,
2913
2937
  args: [{ providedIn: 'root' }]
2914
2938
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
@@ -3623,9 +3647,9 @@ class UxTimezoneService {
3623
3647
  });
3624
3648
  }
3625
3649
  }
3626
- /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3627
- /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxTimezoneService });
3628
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3650
+ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3651
+ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService });
3652
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3629
3653
  type: Injectable
3630
3654
  }] });
3631
3655
 
@@ -3751,9 +3775,9 @@ class LocalStorageService extends StorageService {
3751
3775
  }
3752
3776
  }
3753
3777
  LocalStorageService.NAME = 'LocalStorageService';
3754
- /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3755
- /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocalStorageService });
3756
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocalStorageService, decorators: [{
3778
+ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3779
+ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService });
3780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
3757
3781
  type: Injectable
3758
3782
  }], ctorParameters: function () {
3759
3783
  return [{ type: LogService, decorators: [{
@@ -3824,9 +3848,9 @@ class SessionStorageService extends StorageService {
3824
3848
  }
3825
3849
  }
3826
3850
  SessionStorageService.NAME = 'SessionStorageService';
3827
- /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3828
- /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: SessionStorageService });
3829
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: SessionStorageService, decorators: [{
3851
+ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3852
+ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService });
3853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
3830
3854
  type: Injectable
3831
3855
  }], ctorParameters: function () {
3832
3856
  return [{ type: LogService, decorators: [{
@@ -3917,9 +3941,9 @@ class LocalForageService extends AsyncStorageService {
3917
3941
  }
3918
3942
  }
3919
3943
  LocalForageService.NAME = 'LocalForageService';
3920
- /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3921
- /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocalForageService });
3922
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocalForageService, decorators: [{
3944
+ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3945
+ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService });
3946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService, decorators: [{
3923
3947
  type: Injectable
3924
3948
  }], ctorParameters: function () {
3925
3949
  return [{ type: undefined, decorators: [{
@@ -4157,9 +4181,9 @@ class LocaleService extends EuiService {
4157
4181
  return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4158
4182
  }
4159
4183
  }
4160
- /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocaleService, deps: [{ token: StoreService }, { token: GLOBAL_CONFIG_TOKEN }, { token: LOCALE_ID }, { token: LOCALE_ID_MAPPER, optional: true }, { token: I18nService, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4161
- /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: LocaleService, decorators: [{
4184
+ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
4185
+ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleService, decorators: [{
4163
4187
  type: Injectable,
4164
4188
  args: [{
4165
4189
  providedIn: 'root'
@@ -4216,9 +4240,9 @@ class UserService extends EuiService {
4216
4240
  this.store.dispatch(new UpdateUserStateAction(userState));
4217
4241
  }
4218
4242
  }
4219
- /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4220
- /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UserService, providedIn: 'root' });
4221
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UserService, decorators: [{
4243
+ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4244
+ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
4245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, decorators: [{
4222
4246
  type: Injectable,
4223
4247
  args: [{
4224
4248
  providedIn: 'root',
@@ -4249,9 +4273,9 @@ class UserServiceMock extends UserService {
4249
4273
  return of('anonymous');
4250
4274
  }
4251
4275
  }
4252
- /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4253
- /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UserServiceMock });
4254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UserServiceMock, decorators: [{
4276
+ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4277
+ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock });
4278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
4255
4279
  type: Injectable
4256
4280
  }], ctorParameters: function () { return []; } });
4257
4281
 
@@ -4281,9 +4305,9 @@ class AddLangParamInterceptor {
4281
4305
  }));
4282
4306
  }
4283
4307
  }
4284
- /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4285
- /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor });
4286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4308
+ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4309
+ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor });
4310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4287
4311
  type: Injectable
4288
4312
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4289
4313
 
@@ -4300,9 +4324,9 @@ class CachePreventionInterceptor {
4300
4324
  }));
4301
4325
  }
4302
4326
  }
4303
- /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4304
- /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor });
4305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4327
+ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4328
+ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor });
4329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4306
4330
  type: Injectable
4307
4331
  }] });
4308
4332
 
@@ -4313,9 +4337,9 @@ class CorsSecurityInterceptor {
4313
4337
  }));
4314
4338
  }
4315
4339
  }
4316
- /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4317
- /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor });
4318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4340
+ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4341
+ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor });
4342
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4319
4343
  type: Injectable
4320
4344
  }] });
4321
4345
 
@@ -4326,9 +4350,9 @@ class CsrfPreventionInterceptor {
4326
4350
  }));
4327
4351
  }
4328
4352
  }
4329
- /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4330
- /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor });
4331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4353
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4354
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
4355
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4332
4356
  type: Injectable
4333
4357
  }] });
4334
4358
 
@@ -4365,13 +4389,19 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4365
4389
  }
4366
4390
  else {
4367
4391
  const html = body;
4368
- return ((html.indexOf('<meta name="Keywords" content="EU Login, ECAS, Authentication, Security" />') >= 0 &&
4369
- html.indexOf('<meta name="Description" content="EU Login" />') >= 0) ||
4370
- html.indexOf('<meta name="Description" content="European Commission Authentication Service" />') >= 0 ||
4371
- html.indexOf('<title>Mock Login Form</title>') >= 0 ||
4372
- html.indexOf('<title>Redirecting To ECAS</title>') >= 0 ||
4373
- html === '{ success : false, status : "ECAS_AUTHENTICATION_REQUIRED", code : 303, message : "session expired" }' ||
4374
- html === '{ "success" : false, "status" : "ECAS_AUTHENTICATION_REQUIRED", "code" : 303, "message": "session expired" }');
4392
+ try {
4393
+ return ((html.indexOf('<meta name="Keywords" content="EU Login, ECAS, Authentication, Security" />') >= 0 &&
4394
+ html.indexOf('<meta name="Description" content="EU Login" />') >= 0) ||
4395
+ html.indexOf('<meta name="Description" content="European Commission Authentication Service" />') >= 0 ||
4396
+ html.indexOf('<title>Mock Login Form</title>') >= 0 ||
4397
+ html.indexOf('<title>Redirecting To ECAS</title>') >= 0 ||
4398
+ html === '{ success : false, status : "ECAS_AUTHENTICATION_REQUIRED", code : 303, message : "session expired" }' ||
4399
+ // tslint:disable-next-line:max-line-length
4400
+ JSON.stringify(JSON.parse(html)) === JSON.stringify({ success: false, status: 'ECAS_AUTHENTICATION_REQUIRED', code: 303, message: 'session expired' }));
4401
+ }
4402
+ catch (e) {
4403
+ return false;
4404
+ }
4375
4405
  }
4376
4406
  }
4377
4407
  else {
@@ -4382,9 +4412,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4382
4412
  document.location.reload();
4383
4413
  }
4384
4414
  }
4385
- /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4386
- /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4415
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4416
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4388
4418
  type: Injectable
4389
4419
  }] });
4390
4420
 
@@ -4405,9 +4435,9 @@ class UxRequestErrorModelInterceptor {
4405
4435
  }));
4406
4436
  }
4407
4437
  }
4408
- /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4409
- /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4438
+ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4439
+ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4411
4441
  type: Injectable
4412
4442
  }], ctorParameters: function () {
4413
4443
  return [{ type: undefined, decorators: [{
@@ -4551,9 +4581,9 @@ class OpenIdConnectInterceptor {
4551
4581
  }
4552
4582
  }
4553
4583
  }
4554
- /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4555
- /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor });
4556
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4584
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4585
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
4586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4557
4587
  type: Injectable
4558
4588
  }], ctorParameters: function () { return []; } });
4559
4589
 
@@ -4596,9 +4626,9 @@ class OpenIdConnectService {
4596
4626
  return this.userDetails;
4597
4627
  }
4598
4628
  }
4599
- /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4600
- /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4601
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4629
+ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4630
+ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4631
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4602
4632
  type: Injectable,
4603
4633
  args: [{
4604
4634
  providedIn: 'root'