@eui/core 14.0.0-beta.2 → 14.0.0-rc.3

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 (179) hide show
  1. package/assets/i18n-eui/bg.json +114 -109
  2. package/assets/i18n-eui/cs.json +6 -1
  3. package/assets/i18n-eui/da.json +115 -110
  4. package/assets/i18n-eui/de.json +7 -2
  5. package/assets/i18n-eui/el.json +115 -110
  6. package/assets/i18n-eui/en.json +6 -1
  7. package/assets/i18n-eui/es.json +6 -1
  8. package/assets/i18n-eui/et.json +6 -1
  9. package/assets/i18n-eui/fi.json +7 -2
  10. package/assets/i18n-eui/fr.json +114 -109
  11. package/assets/i18n-eui/ga.json +7 -2
  12. package/assets/i18n-eui/hr.json +6 -1
  13. package/assets/i18n-eui/hu.json +7 -2
  14. package/assets/i18n-eui/it.json +114 -109
  15. package/assets/i18n-eui/lt.json +6 -1
  16. package/assets/i18n-eui/lv.json +6 -1
  17. package/assets/i18n-eui/mt.json +8 -3
  18. package/assets/i18n-eui/nl.json +7 -2
  19. package/assets/i18n-eui/pl.json +114 -109
  20. package/assets/i18n-eui/pt.json +9 -4
  21. package/assets/i18n-eui/ro.json +114 -109
  22. package/assets/i18n-eui/sk.json +6 -1
  23. package/assets/i18n-eui/sl.json +8 -3
  24. package/assets/i18n-eui/sv.json +8 -3
  25. package/docs/classes/ActivatedRouteAction.html +12 -1
  26. package/docs/classes/AddApiQueueItemAction.html +12 -1
  27. package/docs/classes/AddAppLoadedConfigModulesAction.html +12 -1
  28. package/docs/classes/ApiQueueServiceMock.html +12 -1
  29. package/docs/classes/AsyncStorageService.html +12 -1
  30. package/docs/classes/AsyncStorageServiceMock.html +12 -1
  31. package/docs/classes/EmptyApiQueueAction.html +12 -1
  32. package/docs/classes/EuiCoreRootGuardClass.html +12 -1
  33. package/docs/classes/EuiError.html +12 -1
  34. package/docs/classes/I18nResourceImpl.html +12 -1
  35. package/docs/classes/InitStoreAction.html +12 -1
  36. package/docs/classes/LogServiceMock.html +12 -1
  37. package/docs/classes/OpenIdConnectServiceMock.html +12 -1
  38. package/docs/classes/RemoveApiQueueItemAction.html +12 -1
  39. package/docs/classes/RouterMock.html +12 -1
  40. package/docs/classes/StorageService.html +12 -1
  41. package/docs/classes/StorageServiceMock.html +12 -1
  42. package/docs/classes/StoreMock.html +12 -1
  43. package/docs/classes/TranslateServiceMock.html +12 -1
  44. package/docs/classes/UpdateAppConnectionAction.html +12 -1
  45. package/docs/classes/UpdateAppStatusAction.html +12 -1
  46. package/docs/classes/UpdateAppVersionAction.html +12 -1
  47. package/docs/classes/UpdateCurrentModuleAction.html +12 -1
  48. package/docs/classes/UpdateI18nStateAction.html +12 -1
  49. package/docs/classes/UpdateLocaleStateAction.html +12 -1
  50. package/docs/classes/UpdateNotificationsListAction.html +12 -1
  51. package/docs/classes/UpdateUserDashboardAction.html +12 -1
  52. package/docs/classes/UpdateUserDetailsAction.html +12 -1
  53. package/docs/classes/UpdateUserPreferencesAction.html +12 -1
  54. package/docs/classes/UpdateUserRightsAction.html +12 -1
  55. package/docs/classes/UpdateUserStateAction.html +12 -1
  56. package/docs/classes/UxErrorManager.html +12 -1
  57. package/docs/classes/UxRootInjectorGuard.html +12 -1
  58. package/docs/dependencies.html +58 -49
  59. package/docs/directives/TranslateMockDirective.html +14 -2
  60. package/docs/index.html +12 -1
  61. package/docs/injectables/ApiQueueService.html +12 -1
  62. package/docs/injectables/CoreAppEffects.html +12 -1
  63. package/docs/injectables/EuiPermissionService.html +12 -1
  64. package/docs/injectables/GlobalErrorHandler.html +12 -1
  65. package/docs/injectables/I18nLoader.html +12 -1
  66. package/docs/injectables/I18nService.html +12 -1
  67. package/docs/injectables/I18nServiceMock.html +12 -1
  68. package/docs/injectables/LocalForageService.html +12 -1
  69. package/docs/injectables/LocalStorageService.html +12 -1
  70. package/docs/injectables/LocaleService.html +12 -1
  71. package/docs/injectables/LocaleServiceMock.html +43 -2
  72. package/docs/injectables/LogService.html +12 -1
  73. package/docs/injectables/OpenIdConnectService.html +12 -1
  74. package/docs/injectables/SessionStorageService.html +12 -1
  75. package/docs/injectables/StoreService.html +12 -1
  76. package/docs/injectables/StoreServiceMock.html +12 -1
  77. package/docs/injectables/UserService.html +12 -1
  78. package/docs/injectables/UserServiceMock.html +12 -1
  79. package/docs/injectables/UxAppShellService.html +12 -1
  80. package/docs/injectables/UxDynamicComponentService.html +13 -2
  81. package/docs/injectables/UxDynamicMenuService.html +13 -2
  82. package/docs/injectables/UxErrorFeedbackService.html +12 -1
  83. package/docs/injectables/UxTimezoneService.html +12 -1
  84. package/docs/interceptors/AddLangParamInterceptor.html +12 -1
  85. package/docs/interceptors/CachePreventionInterceptor.html +12 -1
  86. package/docs/interceptors/CorsSecurityInterceptor.html +12 -1
  87. package/docs/interceptors/CsrfPreventionInterceptor.html +12 -1
  88. package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +12 -1
  89. package/docs/interceptors/HttpErrorHandlerInterceptor.html +12 -1
  90. package/docs/interceptors/OpenIdConnectInterceptor.html +12 -1
  91. package/docs/interceptors/UxRequestErrorModelInterceptor.html +12 -1
  92. package/docs/interfaces/LoadedResources.html +12 -1
  93. package/docs/interfaces/LoadedResourcesError.html +12 -1
  94. package/docs/interfaces/ModuleLoadEvent.html +12 -1
  95. package/docs/interfaces/OpenIdConnectUserDetails.html +12 -1
  96. package/docs/interfaces/ResourceError.html +12 -1
  97. package/docs/interfaces/TimeZone.html +12 -1
  98. package/docs/interfaces/UIState.html +12 -1
  99. package/docs/js/menu-wc.js +11 -6
  100. package/docs/js/menu-wc_es5.js +4 -4
  101. package/docs/js/menu.js +62 -6
  102. package/docs/js/search/search_index.js +2 -2
  103. package/docs/license.html +12 -1
  104. package/docs/miscellaneous/enumerations.html +12 -1
  105. package/docs/miscellaneous/functions.html +12 -1
  106. package/docs/miscellaneous/typealiases.html +12 -1
  107. package/docs/miscellaneous/variables.html +12 -1
  108. package/docs/modules/CoreModule.html +12 -1
  109. package/docs/modules/I18nModule.html +12 -1
  110. package/docs/modules/LogModule.html +12 -1
  111. package/docs/modules/TranslateMockModule.html +12 -1
  112. package/docs/modules.html +16 -5
  113. package/docs/pipes/TranslateMockPipe.html +13 -2
  114. package/docs/properties.html +124 -0
  115. package/docs/styles/compodoc.css +79 -1
  116. package/docs/styles/dark.css +37 -33
  117. package/docs/styles/laravel.css +33 -35
  118. package/docs/styles/material.css +15 -17
  119. package/docs/styles/original.css +2 -4
  120. package/docs/styles/postmark.css +12 -14
  121. package/docs/styles/readthedocs.css +6 -8
  122. package/docs/styles/reset.css +115 -34
  123. package/docs/styles/stripe.css +33 -35
  124. package/docs/styles/vagrant.css +26 -28
  125. package/esm2020/lib/eui-core.module.mjs +6 -9
  126. package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -4
  127. package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +4 -4
  128. package/esm2020/lib/interceptors/cors-security.interceptor.mjs +4 -4
  129. package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +4 -4
  130. package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +17 -11
  131. package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +4 -4
  132. package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +36 -37
  133. package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +4 -4
  134. package/esm2020/lib/services/app/eui-init-app.mjs +16 -4
  135. package/esm2020/lib/services/config/tokens.mjs +3 -3
  136. package/esm2020/lib/services/errors/global-error-handler.mjs +4 -4
  137. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +4 -4
  138. package/esm2020/lib/services/i18n/i18n.loader.mjs +4 -4
  139. package/esm2020/lib/services/i18n/i18n.service.mjs +17 -5
  140. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
  141. package/esm2020/lib/services/locale/index.mjs +2 -1
  142. package/esm2020/lib/services/locale/locale.service.mjs +4 -4
  143. package/esm2020/lib/services/locale/locale.service.mock.mjs +32 -0
  144. package/esm2020/lib/services/log/log.module.mjs +5 -5
  145. package/esm2020/lib/services/log/log.service.mjs +4 -4
  146. package/esm2020/lib/services/permission/permission.service.mjs +4 -4
  147. package/esm2020/lib/services/queue/api-queue.service.mjs +4 -4
  148. package/esm2020/lib/services/storage/local-forage.service.mjs +4 -4
  149. package/esm2020/lib/services/storage/local-storage.service.mjs +4 -4
  150. package/esm2020/lib/services/storage/session-storage.service.mjs +4 -4
  151. package/esm2020/lib/services/store/effects/app.effects.mjs +4 -4
  152. package/esm2020/lib/services/store/store.service.mjs +4 -4
  153. package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
  154. package/esm2020/lib/services/user/user.service.mjs +4 -4
  155. package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
  156. package/esm2020/lib/services/ux-app-shell.service.mjs +4 -4
  157. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +7 -6
  158. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -4
  159. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -4
  160. package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
  161. package/fesm2015/eui-core.mjs +206 -149
  162. package/fesm2015/eui-core.mjs.map +1 -1
  163. package/fesm2020/eui-core.mjs +204 -149
  164. package/fesm2020/eui-core.mjs.map +1 -1
  165. package/lib/eui-core.module.d.ts +1 -2
  166. package/lib/eui-core.module.d.ts.map +1 -1
  167. package/lib/helpers/form-helpers.d.ts +2 -2
  168. package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +1 -1
  169. package/lib/interceptors/openid/openid-connect.service.d.ts.map +1 -1
  170. package/lib/services/app/eui-init-app.d.ts.map +1 -1
  171. package/lib/services/i18n/i18n.service.d.ts.map +1 -1
  172. package/lib/services/locale/index.d.ts +1 -0
  173. package/lib/services/locale/index.d.ts.map +1 -1
  174. package/lib/services/locale/locale.service.mock.d.ts +15 -0
  175. package/lib/services/locale/locale.service.mock.d.ts.map +1 -0
  176. package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts +1 -1
  177. package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts.map +1 -1
  178. package/package.json +4 -4
  179. package/eui-core.d.ts +0 -6
@@ -3,8 +3,6 @@ import { LogLevel, ConsoleAppender, Logger, LoggerMock, mergeAll, getI18nLoaderC
3
3
  export * from '@eui/base';
4
4
  import * as i0 from '@angular/core';
5
5
  import { InjectionToken, Injectable, Inject, Injector, NgModule, Optional, APP_INITIALIZER, EventEmitter, PLATFORM_ID, SkipSelf, ErrorHandler, LOCALE_ID } from '@angular/core';
6
- import * as i1$2 from '@angular/common/http';
7
- import { HttpClientModule, HttpErrorResponse, HttpResponse, HttpHeaders, HttpEventType } from '@angular/common/http';
8
6
  import * as extendProxy from 'extend';
9
7
  import { DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core';
10
8
  import { MomentDateAdapter } from '@angular/material-moment-adapter';
@@ -21,6 +19,8 @@ import * as i2$1 from '@angular/router';
21
19
  import { NavigationEnd } from '@angular/router';
22
20
  import isEqual from 'lodash-es/isEqual';
23
21
  import get from 'lodash-es/get';
22
+ import * as i1$2 from '@angular/common/http';
23
+ import { HttpErrorResponse, HttpResponse, HttpHeaders, HttpEventType } from '@angular/common/http';
24
24
  import { By } from '@angular/platform-browser';
25
25
  import { FormGroup, FormArray } from '@angular/forms';
26
26
  import { DomPortalOutlet, ComponentPortal, PortalInjector } from '@angular/cdk/portal';
@@ -144,8 +144,8 @@ function mergeAppJsonConfigToAppConfig(euiAppConfig, envAppJsonConfig, merge, is
144
144
  const deepMerged = {};
145
145
  if (merge && merge.length > 0) {
146
146
  merge.forEach((key) => {
147
- if (envAppJsonConfig[key] && typeof envAppJsonConfig[key] === 'object'
148
- && euiAppConfig[key] && typeof euiAppConfig[key] === 'object') {
147
+ if (envAppJsonConfig != null && envAppJsonConfig[key] && typeof envAppJsonConfig[key] === 'object' &&
148
+ euiAppConfig != null && euiAppConfig[key] && typeof euiAppConfig[key] === 'object') {
149
149
  if (isDeepMerge) {
150
150
  deepMerged[key] = {};
151
151
  extend$1(true, deepMerged[key], euiAppConfig[key], envAppJsonConfig[key]);
@@ -193,9 +193,9 @@ class LogService extends Logger {
193
193
  return logger;
194
194
  }
195
195
  }
196
- /** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
197
- /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LogService });
198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LogService, decorators: [{
196
+ /** @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 });
197
+ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService });
198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService, decorators: [{
199
199
  type: Injectable
200
200
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
201
201
  type: Inject,
@@ -367,10 +367,10 @@ class LogModule {
367
367
  };
368
368
  }
369
369
  }
370
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
371
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LogModule });
372
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LogModule });
373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LogModule, decorators: [{
370
+ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
371
+ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: LogModule });
372
+ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule });
373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule, decorators: [{
374
374
  type: NgModule
375
375
  }] });
376
376
 
@@ -462,9 +462,9 @@ class StoreService {
462
462
  }
463
463
  }
464
464
  }
465
- /** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
466
- /** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: StoreService, providedIn: 'root' });
467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: StoreService, decorators: [{
465
+ /** @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 });
466
+ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
467
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, decorators: [{
468
468
  type: Injectable,
469
469
  args: [{
470
470
  providedIn: 'root',
@@ -482,8 +482,20 @@ function euiInitApp(injector) {
482
482
  locationInitialized.then(() => {
483
483
  const appConfig = injector.get(CONFIG_TOKEN);
484
484
  // necessary config parameters
485
- const appVersion = appConfig && appConfig.versions && appConfig.versions.app;
486
- const storageType = appConfig && appConfig.saveStateStorage;
485
+ let appVersion;
486
+ if (appConfig && appConfig.versions && appConfig.versions.app) {
487
+ appVersion = appConfig.versions.app;
488
+ }
489
+ else {
490
+ appVersion = '0.0.0';
491
+ }
492
+ let storageType;
493
+ if (appConfig && appConfig.saveStateStorage) {
494
+ storageType = appConfig.saveStateStorage;
495
+ }
496
+ else {
497
+ storageType = BrowserStorageType.local;
498
+ }
487
499
  const storeService = injector.get(StoreService);
488
500
  storeService.init(appVersion, storageType);
489
501
  storeService.handleAutoSave();
@@ -798,9 +810,9 @@ class I18nLoader {
798
810
  return undefined;
799
811
  }
800
812
  }
801
- /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
802
- /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nLoader });
803
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nLoader, decorators: [{
813
+ /** @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 });
814
+ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader });
815
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader, decorators: [{
804
816
  type: Injectable
805
817
  }], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
806
818
  type: Optional
@@ -827,7 +839,18 @@ class I18nService extends EuiLazyService {
827
839
  this.onModuleLoad = new BehaviorSubject({ ready: false, name: null });
828
840
  }
829
841
  getState(keyOrMapFn) {
830
- return this.store.select(getI18nState);
842
+ let selector = getI18nState;
843
+ if (keyOrMapFn) {
844
+ switch (typeof keyOrMapFn) {
845
+ case 'function':
846
+ selector = createSelector(getI18nState, keyOrMapFn);
847
+ break;
848
+ case 'string':
849
+ selector = createSelector(getI18nState, (state) => state[keyOrMapFn]);
850
+ break;
851
+ }
852
+ }
853
+ return this.store.select(selector);
831
854
  }
832
855
  updateState(langState) {
833
856
  this.updateHTMLDOMLang(langState.activeLang);
@@ -1004,9 +1027,9 @@ class I18nService extends EuiLazyService {
1004
1027
  this.document.documentElement.lang = lang;
1005
1028
  }
1006
1029
  }
1007
- /** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1008
- /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nService, providedIn: 'root' });
1009
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nService, decorators: [{
1030
+ /** @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 });
1031
+ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
1032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nService, decorators: [{
1010
1033
  type: Injectable,
1011
1034
  args: [{
1012
1035
  providedIn: 'root',
@@ -1049,9 +1072,9 @@ class I18nServiceMock extends I18nService {
1049
1072
  return of({ success: true });
1050
1073
  }
1051
1074
  }
1052
- /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1053
- /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nServiceMock });
1054
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: I18nServiceMock, decorators: [{
1075
+ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1076
+ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock });
1077
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1055
1078
  type: Injectable
1056
1079
  }], ctorParameters: function () { return []; } });
1057
1080
 
@@ -1677,9 +1700,9 @@ class UxAppShellService {
1677
1700
  });
1678
1701
  }
1679
1702
  }
1680
- /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", 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 });
1681
- /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1682
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxAppShellService, decorators: [{
1703
+ /** @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 });
1704
+ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1705
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
1683
1706
  type: Injectable,
1684
1707
  args: [{
1685
1708
  providedIn: 'root',
@@ -1736,9 +1759,9 @@ class CoreAppEffects {
1736
1759
  })), { dispatch: false });
1737
1760
  }
1738
1761
  }
1739
- /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
1740
- /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CoreAppEffects });
1741
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CoreAppEffects, decorators: [{
1762
+ /** @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 });
1763
+ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreAppEffects });
1764
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1742
1765
  type: Injectable
1743
1766
  }], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
1744
1767
  type: Inject,
@@ -2009,9 +2032,9 @@ class StoreServiceMock extends StoreService {
2009
2032
  return of({});
2010
2033
  }
2011
2034
  }
2012
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2013
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: StoreServiceMock });
2014
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: StoreServiceMock, decorators: [{
2035
+ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2036
+ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock });
2037
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
2015
2038
  type: Injectable
2016
2039
  }], ctorParameters: function () { return []; } });
2017
2040
 
@@ -2056,16 +2079,14 @@ class CoreModule {
2056
2079
  };
2057
2080
  }
2058
2081
  }
2059
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
2060
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
2061
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CoreModule, imports: [[
2062
- HttpClientModule,
2063
- ]] });
2064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CoreModule, decorators: [{
2082
+ /** @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 });
2083
+ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: CoreModule });
2084
+ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreModule });
2085
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreModule, decorators: [{
2065
2086
  type: NgModule,
2066
2087
  args: [{
2067
2088
  imports: [
2068
- HttpClientModule,
2089
+ // HttpClientModule, no more..
2069
2090
  ],
2070
2091
  }]
2071
2092
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -2185,9 +2206,9 @@ class GlobalErrorHandler extends ErrorHandler {
2185
2206
  super.handleError(error);
2186
2207
  }
2187
2208
  }
2188
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2189
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2209
+ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2210
+ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2191
2212
  type: Injectable,
2192
2213
  args: [{
2193
2214
  providedIn: 'root',
@@ -2234,9 +2255,9 @@ class HttpErrorHandlerInterceptor {
2234
2255
  return routes.length > 0 ? routes[0] : null;
2235
2256
  }
2236
2257
  }
2237
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2238
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: HttpErrorHandlerInterceptor });
2239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2258
+ /** @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 });
2259
+ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2240
2261
  type: Injectable
2241
2262
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2242
2263
  type: Inject,
@@ -2383,9 +2404,9 @@ class ApiQueueService {
2383
2404
  .pipe(tap(() => this.removeQueueItem(id)));
2384
2405
  }
2385
2406
  }
2386
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2387
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2388
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: ApiQueueService, decorators: [{
2407
+ /** @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 });
2408
+ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2409
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
2389
2410
  type: Injectable,
2390
2411
  args: [{
2391
2412
  providedIn: 'root',
@@ -2742,9 +2763,9 @@ class EuiPermissionService extends EuiService {
2742
2763
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2743
2764
  }
2744
2765
  }
2745
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2746
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2747
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: EuiPermissionService, decorators: [{
2766
+ /** @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 });
2767
+ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2768
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2748
2769
  type: Injectable,
2749
2770
  args: [{
2750
2771
  providedIn: 'root',
@@ -2805,9 +2826,9 @@ class UxDynamicMenuService {
2805
2826
  });
2806
2827
  }
2807
2828
  }
2808
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2809
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2810
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2829
+ /** @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 });
2830
+ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2831
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2811
2832
  type: Injectable,
2812
2833
  args: [{
2813
2834
  providedIn: 'root',
@@ -2875,9 +2896,9 @@ class UxErrorFeedbackService {
2875
2896
  return new UxErrorManager(this, true);
2876
2897
  }
2877
2898
  }
2878
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2879
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2880
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2899
+ /** @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 });
2900
+ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2881
2902
  type: Injectable,
2882
2903
  args: [{
2883
2904
  providedIn: 'root'
@@ -2933,6 +2954,7 @@ class UxDynamicComponentService {
2933
2954
  * @param config The data to be passed (config) for the DYNAMIC_COMPONENT_CONFIG token
2934
2955
  */
2935
2956
  add(component, el, config) {
2957
+ // TODO: take a look and replace deprecated componentFactoryResolver https://github.com/angular/components/issues/24334
2936
2958
  // Create a portalHost from a DOM element
2937
2959
  this.portalHost = new DomPortalOutlet(el ? el.nativeElement : document.body, this.componentFactoryResolver, this.appRef, this.injector);
2938
2960
  // Locate the component factory for the ComponentToIncludeDynamicallyComponent
@@ -2963,7 +2985,7 @@ class UxDynamicComponentService {
2963
2985
  this.portalComponentInstance = null;
2964
2986
  }
2965
2987
  /**
2966
- * creates an Custom injector to be used when providing custom injection tokens to components inside a portal
2988
+ * creates a custom injector to be used when providing custom injection tokens to components inside a portal
2967
2989
  * @param data to be used by DYNAMIC_COMPONENT_CONFIG token
2968
2990
  */
2969
2991
  createInjector(data) {
@@ -2972,9 +2994,9 @@ class UxDynamicComponentService {
2972
2994
  return new PortalInjector(this.injector, injectorTokens);
2973
2995
  }
2974
2996
  }
2975
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2976
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2977
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2997
+ /** @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 });
2998
+ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2999
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2978
3000
  type: Injectable,
2979
3001
  args: [{ providedIn: 'root' }]
2980
3002
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
@@ -3689,9 +3711,9 @@ class UxTimezoneService {
3689
3711
  });
3690
3712
  }
3691
3713
  }
3692
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3693
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxTimezoneService });
3694
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxTimezoneService, decorators: [{
3714
+ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3715
+ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService });
3716
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3695
3717
  type: Injectable
3696
3718
  }] });
3697
3719
 
@@ -3817,9 +3839,9 @@ class LocalStorageService extends StorageService {
3817
3839
  }
3818
3840
  }
3819
3841
  LocalStorageService.NAME = 'LocalStorageService';
3820
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3821
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocalStorageService });
3822
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocalStorageService, decorators: [{
3842
+ /** @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 });
3843
+ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService });
3844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
3823
3845
  type: Injectable
3824
3846
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3825
3847
  type: Optional
@@ -3888,9 +3910,9 @@ class SessionStorageService extends StorageService {
3888
3910
  }
3889
3911
  }
3890
3912
  SessionStorageService.NAME = 'SessionStorageService';
3891
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3892
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SessionStorageService });
3893
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SessionStorageService, decorators: [{
3913
+ /** @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 });
3914
+ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService });
3915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
3894
3916
  type: Injectable
3895
3917
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3896
3918
  type: Optional
@@ -3979,9 +4001,9 @@ class LocalForageService extends AsyncStorageService {
3979
4001
  }
3980
4002
  }
3981
4003
  LocalForageService.NAME = 'LocalForageService';
3982
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3983
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocalForageService });
3984
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocalForageService, decorators: [{
4004
+ /** @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 });
4005
+ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService });
4006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService, decorators: [{
3985
4007
  type: Injectable
3986
4008
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3987
4009
  type: Inject,
@@ -4214,9 +4236,9 @@ class LocaleService extends EuiService {
4214
4236
  return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4215
4237
  }
4216
4238
  }
4217
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", 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 });
4218
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocaleService, providedIn: 'root' });
4219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocaleService, decorators: [{
4239
+ /** @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 });
4240
+ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleService, decorators: [{
4220
4242
  type: Injectable,
4221
4243
  args: [{
4222
4244
  providedIn: 'root'
@@ -4238,6 +4260,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6",
4238
4260
  type: Optional
4239
4261
  }] }]; } });
4240
4262
 
4263
+ class LocaleServiceMock extends LocaleService {
4264
+ constructor(locale_id) {
4265
+ super(null, { locale: { id: 'en', available: [] } }, locale_id, null, null, null);
4266
+ this.locale_id = locale_id;
4267
+ this.DEFAULT_LOCALE = 'en';
4268
+ }
4269
+ getState() {
4270
+ return of({ id: this.DEFAULT_LOCALE });
4271
+ }
4272
+ updateState(state) {
4273
+ this.DEFAULT_LOCALE = state.id || 'en';
4274
+ }
4275
+ init(state) {
4276
+ this.DEFAULT_LOCALE = state.id || 'en';
4277
+ return of({ success: true });
4278
+ }
4279
+ }
4280
+ /** @nocollapse */ LocaleServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleServiceMock, deps: [{ token: LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4281
+ /** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleServiceMock });
4282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleServiceMock, decorators: [{
4283
+ type: Injectable
4284
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
4285
+ type: Optional
4286
+ }, {
4287
+ type: Inject,
4288
+ args: [LOCALE_ID]
4289
+ }] }]; } });
4290
+
4241
4291
  // export const USER_API_CONFIG_TOKEN = new InjectionToken<UserApiConfig>('USER_API_CONFIG');
4242
4292
  // export const DEFAULT_USER_PREFERENCES_TOKEN = new InjectionToken<BaseUserPreferences>('DEFAULT_USER_PREFERENCES');
4243
4293
  class UserService extends EuiService {
@@ -4271,9 +4321,9 @@ class UserService extends EuiService {
4271
4321
  this.store.dispatch(new UpdateUserStateAction(userState));
4272
4322
  }
4273
4323
  }
4274
- /** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4275
- /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UserService, providedIn: 'root' });
4276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UserService, decorators: [{
4324
+ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4325
+ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
4326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, decorators: [{
4277
4327
  type: Injectable,
4278
4328
  args: [{
4279
4329
  providedIn: 'root',
@@ -4304,9 +4354,9 @@ class UserServiceMock extends UserService {
4304
4354
  return of('anonymous');
4305
4355
  }
4306
4356
  }
4307
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4308
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UserServiceMock });
4309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UserServiceMock, decorators: [{
4357
+ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4358
+ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock });
4359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
4310
4360
  type: Injectable
4311
4361
  }], ctorParameters: function () { return []; } });
4312
4362
 
@@ -4336,9 +4386,9 @@ class AddLangParamInterceptor {
4336
4386
  }));
4337
4387
  }
4338
4388
  }
4339
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4340
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: AddLangParamInterceptor });
4341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4389
+ /** @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 });
4390
+ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor });
4391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4342
4392
  type: Injectable
4343
4393
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4344
4394
 
@@ -4355,9 +4405,9 @@ class CachePreventionInterceptor {
4355
4405
  }));
4356
4406
  }
4357
4407
  }
4358
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4359
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CachePreventionInterceptor });
4360
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4408
+ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4409
+ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor });
4410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4361
4411
  type: Injectable
4362
4412
  }] });
4363
4413
 
@@ -4368,9 +4418,9 @@ class CorsSecurityInterceptor {
4368
4418
  }));
4369
4419
  }
4370
4420
  }
4371
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4372
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CorsSecurityInterceptor });
4373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4421
+ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4422
+ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor });
4423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4374
4424
  type: Injectable
4375
4425
  }] });
4376
4426
 
@@ -4381,9 +4431,9 @@ class CsrfPreventionInterceptor {
4381
4431
  }));
4382
4432
  }
4383
4433
  }
4384
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4385
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CsrfPreventionInterceptor });
4386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4434
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4435
+ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
4436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4387
4437
  type: Injectable
4388
4438
  }] });
4389
4439
 
@@ -4420,13 +4470,19 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4420
4470
  }
4421
4471
  else {
4422
4472
  const html = body;
4423
- return ((html.indexOf('<meta name="Keywords" content="EU Login, ECAS, Authentication, Security" />') >= 0 &&
4424
- html.indexOf('<meta name="Description" content="EU Login" />') >= 0) ||
4425
- html.indexOf('<meta name="Description" content="European Commission Authentication Service" />') >= 0 ||
4426
- html.indexOf('<title>Mock Login Form</title>') >= 0 ||
4427
- html.indexOf('<title>Redirecting To ECAS</title>') >= 0 ||
4428
- html === '{ success : false, status : "ECAS_AUTHENTICATION_REQUIRED", code : 303, message : "session expired" }' ||
4429
- html === '{ "success" : false, "status" : "ECAS_AUTHENTICATION_REQUIRED", "code" : 303, "message": "session expired" }');
4473
+ try {
4474
+ return ((html.indexOf('<meta name="Keywords" content="EU Login, ECAS, Authentication, Security" />') >= 0 &&
4475
+ html.indexOf('<meta name="Description" content="EU Login" />') >= 0) ||
4476
+ html.indexOf('<meta name="Description" content="European Commission Authentication Service" />') >= 0 ||
4477
+ html.indexOf('<title>Mock Login Form</title>') >= 0 ||
4478
+ html.indexOf('<title>Redirecting To ECAS</title>') >= 0 ||
4479
+ html === '{ success : false, status : "ECAS_AUTHENTICATION_REQUIRED", code : 303, message : "session expired" }' ||
4480
+ // tslint:disable-next-line:max-line-length
4481
+ JSON.stringify(JSON.parse(html)) === JSON.stringify({ success: false, status: 'ECAS_AUTHENTICATION_REQUIRED', code: 303, message: 'session expired' }));
4482
+ }
4483
+ catch (e) {
4484
+ return false;
4485
+ }
4430
4486
  }
4431
4487
  }
4432
4488
  else {
@@ -4437,9 +4493,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4437
4493
  document.location.reload();
4438
4494
  }
4439
4495
  }
4440
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4441
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4496
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4497
+ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4443
4499
  type: Injectable
4444
4500
  }] });
4445
4501
 
@@ -4460,9 +4516,9 @@ class UxRequestErrorModelInterceptor {
4460
4516
  }));
4461
4517
  }
4462
4518
  }
4463
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4464
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxRequestErrorModelInterceptor });
4465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4519
+ /** @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 });
4520
+ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4466
4522
  type: Injectable
4467
4523
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
4468
4524
  type: Inject,
@@ -4604,55 +4660,54 @@ class OpenIdConnectInterceptor {
4604
4660
  }
4605
4661
  }
4606
4662
  }
4607
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4608
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: OpenIdConnectInterceptor });
4609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4663
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4664
+ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
4665
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4610
4666
  type: Injectable
4611
4667
  }], ctorParameters: function () { return []; } });
4612
4668
 
4613
4669
  class OpenIdConnectService {
4614
4670
  constructor() {
4615
- this.userDetails = new Subject();
4616
- if ((typeof ApiGateway) !== 'undefined') {
4617
- const that = this;
4618
- ApiGateway.getUser((user) => {
4619
- that.userDetails.next({
4620
- domain: null,
4621
- domainUsername: user.username,
4622
- firstName: user.given_name,
4623
- lastName: user.family_name,
4624
- email: user.email,
4625
- departmentNumber: user['https://ecas.ec.europa.eu/claims/department_number'],
4671
+ this.userDetails = new Observable(observer => {
4672
+ if ((typeof ApiGateway) !== 'undefined') {
4673
+ ApiGateway.getUser((user) => {
4674
+ observer.next({
4675
+ domain: null,
4676
+ domainUsername: user.username,
4677
+ firstName: user.given_name,
4678
+ lastName: user.family_name,
4679
+ email: user.email,
4680
+ departmentNumber: user['https://ecas.ec.europa.eu/claims/department_number'],
4681
+ });
4682
+ observer.complete();
4626
4683
  });
4627
- that.userDetails.complete();
4628
- });
4629
- }
4630
- else if ((typeof OpenIdConnect) !== 'undefined') {
4631
- const that = this;
4632
- OpenIdConnect.getIdToken(() => {
4633
- const detailsString = sessionStorage.getItem(OpenIdConnect.SESSION_STORAGE_KEY_USER_DETAILS);
4634
- if (detailsString) {
4635
- that.userDetails.next(JSON.parse(detailsString));
4636
- that.userDetails.complete();
4637
- }
4638
- else {
4639
- that.userDetails.next(null);
4640
- that.userDetails.complete();
4641
- }
4642
- });
4643
- }
4644
- else {
4645
- this.userDetails.next(null);
4646
- this.userDetails.complete();
4647
- }
4684
+ }
4685
+ else if ((typeof OpenIdConnect) !== 'undefined') {
4686
+ OpenIdConnect.getIdToken(() => {
4687
+ const detailsString = sessionStorage.getItem(OpenIdConnect.SESSION_STORAGE_KEY_USER_DETAILS);
4688
+ if (detailsString) {
4689
+ observer.next(JSON.parse(detailsString));
4690
+ observer.complete();
4691
+ }
4692
+ else {
4693
+ observer.next(null);
4694
+ observer.complete();
4695
+ }
4696
+ });
4697
+ }
4698
+ else {
4699
+ observer.next(null);
4700
+ observer.complete();
4701
+ }
4702
+ });
4648
4703
  }
4649
4704
  getUserDetails() {
4650
4705
  return this.userDetails;
4651
4706
  }
4652
4707
  }
4653
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4654
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4655
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: OpenIdConnectService, decorators: [{
4708
+ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4709
+ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4656
4711
  type: Injectable,
4657
4712
  args: [{
4658
4713
  providedIn: 'root'
@@ -4671,5 +4726,5 @@ class OpenIdConnectServiceMock extends OpenIdConnectService {
4671
4726
  * Generated bundle index. Do not edit.
4672
4727
  */
4673
4728
 
4674
- export { ActivatedRouteAction, AddApiQueueItemAction, AddAppLoadedConfigModulesAction, AddLangParamInterceptor, AlertHttpErrorCallbackFn, ApiQueueService, ApiQueueServiceMock, AsyncStorageService, AsyncStorageServiceMock, BASE_LOGGER_NAME_TOKEN, BASE_NAME_TOKEN, BrowserStorageType, CONFIG_TOKEN, CORE_ROOT_GUARD, CachePreventionInterceptor, ConsoleHttpErrorCallbackFn, CoreAppActionTypes, CoreAppEffects, CoreI18nActionTypes, CoreLocaleActionTypes, CoreModule, CoreModuleEffects, CoreNotificationsActionTypes, CoreUserActionTypes, CorsSecurityInterceptor, CsrfPreventionInterceptor, DYNAMIC_COMPONENT_CONFIG, EUI_CONFIG_TOKEN, EmptyApiQueueAction, ErrorSubClass, EuLoginSessionTimeoutHandlingInterceptor, EuiCoreRootGuardClass, EuiError, EuiPermissionService, GLOBAL_CONFIG_TOKEN, GlobalErrorHandler, GrowlHttpErrorCallbackFn, HTTP_ERROR_HANDLER_CONFIG_TOKEN, HttpErrorHandlerInterceptor, I18nLoader, I18nResourceImpl, I18nService, I18nServiceMock, InitStoreAction, LANG_PARAM_KEY, LOCALE_ID_MAPPER, LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, LOG_APPENDERS_TOKEN, LOG_LEVEL_TOKEN, LocalForageService, LocalStorageService, LocaleService, LogHttpErrorCallbackFn, LogModule, LogService, LogServiceMock, MODULE_CONFIG_TOKEN, MODULE_NAME_TOKEN, OpenIdConnectInterceptor, OpenIdConnectService, OpenIdConnectServiceMock, ROOT_LOG_CONFIG_TOKEN, RemoveApiQueueItemAction, SHOW_CONNECTION_STATUS_TOKEN, SessionStorageService, StorageService, StorageServiceMock, StoreService, StoreServiceMock, UX_COUNTRIES, UX_ERROR_MAPPING_HANDLER_TOKEN, UX_TIMEZONES, UpdateAppConnectionAction, UpdateAppStatusAction, UpdateAppVersionAction, UpdateCurrentModuleAction, UpdateI18nStateAction, UpdateLocaleStateAction, UpdateNotificationsListAction, UpdateUserDashboardAction, UpdateUserDetailsAction, UpdateUserPreferencesAction, UpdateUserRightsAction, UpdateUserStateAction, UserService, UserServiceMock, UxAppShellService, UxDynamicComponentService, UxDynamicMenuService, UxErrorFeedbackService, UxErrorManager, UxRequestErrorModelInterceptor, UxTimezoneService, closestMatchingParent, consumeEvent, corI18nReducers, coreAppReducers, coreLocaleReducers, coreNotificationsReducers, coreUserReducers, createEuiCoreRootGuard, diffDays, diffDaysFromToday, errorCodes, euiCoreRootGuardClass, formatNumber, getGlobalConfig, getHttpErrorHandlingConfig, getModuleConfig, getRootLogConfig, getShowConnectionStatus, getViewElement, handleError, isDefined, loadEuiDynamicEnvironmentConfig, loadState, localForage, localStorageSync, markControlsTouched, markFormGroupTouched, mergeAppHandlerConfigToAppConfig, mergeAppJsonConfigToAppConfig, offset, position, preInitApp, prepareEuiAppConfigToken, coreReducers as reducers, sessionStorageSync, translateConfig, uniqueId, validateEmail, withUxErrorManager };
4729
+ export { ActivatedRouteAction, AddApiQueueItemAction, AddAppLoadedConfigModulesAction, AddLangParamInterceptor, AlertHttpErrorCallbackFn, ApiQueueService, ApiQueueServiceMock, AsyncStorageService, AsyncStorageServiceMock, BASE_LOGGER_NAME_TOKEN, BASE_NAME_TOKEN, BrowserStorageType, CONFIG_TOKEN, CORE_ROOT_GUARD, CachePreventionInterceptor, ConsoleHttpErrorCallbackFn, CoreAppActionTypes, CoreAppEffects, CoreI18nActionTypes, CoreLocaleActionTypes, CoreModule, CoreModuleEffects, CoreNotificationsActionTypes, CoreUserActionTypes, CorsSecurityInterceptor, CsrfPreventionInterceptor, DYNAMIC_COMPONENT_CONFIG, EUI_CONFIG_TOKEN, EmptyApiQueueAction, ErrorSubClass, EuLoginSessionTimeoutHandlingInterceptor, EuiCoreRootGuardClass, EuiError, EuiPermissionService, GLOBAL_CONFIG_TOKEN, GlobalErrorHandler, GrowlHttpErrorCallbackFn, HTTP_ERROR_HANDLER_CONFIG_TOKEN, HttpErrorHandlerInterceptor, I18nLoader, I18nResourceImpl, I18nService, I18nServiceMock, InitStoreAction, LANG_PARAM_KEY, LOCALE_ID_MAPPER, LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, LOG_APPENDERS_TOKEN, LOG_LEVEL_TOKEN, LocalForageService, LocalStorageService, LocaleService, LocaleServiceMock, LogHttpErrorCallbackFn, LogModule, LogService, LogServiceMock, MODULE_CONFIG_TOKEN, MODULE_NAME_TOKEN, OpenIdConnectInterceptor, OpenIdConnectService, OpenIdConnectServiceMock, ROOT_LOG_CONFIG_TOKEN, RemoveApiQueueItemAction, SHOW_CONNECTION_STATUS_TOKEN, SessionStorageService, StorageService, StorageServiceMock, StoreService, StoreServiceMock, UX_COUNTRIES, UX_ERROR_MAPPING_HANDLER_TOKEN, UX_TIMEZONES, UpdateAppConnectionAction, UpdateAppStatusAction, UpdateAppVersionAction, UpdateCurrentModuleAction, UpdateI18nStateAction, UpdateLocaleStateAction, UpdateNotificationsListAction, UpdateUserDashboardAction, UpdateUserDetailsAction, UpdateUserPreferencesAction, UpdateUserRightsAction, UpdateUserStateAction, UserService, UserServiceMock, UxAppShellService, UxDynamicComponentService, UxDynamicMenuService, UxErrorFeedbackService, UxErrorManager, UxRequestErrorModelInterceptor, UxTimezoneService, closestMatchingParent, consumeEvent, corI18nReducers, coreAppReducers, coreLocaleReducers, coreNotificationsReducers, coreUserReducers, createEuiCoreRootGuard, diffDays, diffDaysFromToday, errorCodes, euiCoreRootGuardClass, formatNumber, getGlobalConfig, getHttpErrorHandlingConfig, getModuleConfig, getRootLogConfig, getShowConnectionStatus, getViewElement, handleError, isDefined, loadEuiDynamicEnvironmentConfig, loadState, localForage, localStorageSync, markControlsTouched, markFormGroupTouched, mergeAppHandlerConfigToAppConfig, mergeAppJsonConfigToAppConfig, offset, position, preInitApp, prepareEuiAppConfigToken, coreReducers as reducers, sessionStorageSync, translateConfig, uniqueId, validateEmail, withUxErrorManager };
4675
4730
  //# sourceMappingURL=eui-core.mjs.map