@eui/core 13.0.0-rc.5 → 13.0.0-rc.53

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 (75) hide show
  1. package/docs/dependencies.html +50 -50
  2. package/docs/injectables/I18nLoader.html +39 -0
  3. package/docs/injectables/LocaleService.html +20 -0
  4. package/docs/injectables/UxAppShellService.html +175 -0
  5. package/docs/interfaces/UIState.html +135 -0
  6. package/docs/js/search/search_index.js +2 -2
  7. package/docs/miscellaneous/variables.html +6 -1
  8. package/esm2020/lib/eui-core.module.mjs +6 -6
  9. package/esm2020/lib/helpers/dom-helpers.mjs +3 -1
  10. package/esm2020/lib/helpers/format-helpers.mjs +3 -1
  11. package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -5
  12. package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +4 -4
  13. package/esm2020/lib/interceptors/cors-security.interceptor.mjs +4 -4
  14. package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +4 -4
  15. package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +4 -5
  16. package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +4 -4
  17. package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +4 -4
  18. package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +4 -4
  19. package/esm2020/lib/services/app/eui-pre-init-app.mjs +3 -1
  20. package/esm2020/lib/services/app/factories/log.mjs +3 -1
  21. package/esm2020/lib/services/errors/global-error-handler.mjs +4 -5
  22. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +5 -6
  23. package/esm2020/lib/services/i18n/i18n.loader.mjs +14 -6
  24. package/esm2020/lib/services/i18n/i18n.service.mjs +10 -13
  25. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
  26. package/esm2020/lib/services/locale/locale.service.mjs +22 -15
  27. package/esm2020/lib/services/log/log.module.mjs +5 -5
  28. package/esm2020/lib/services/log/log.service.mjs +5 -5
  29. package/esm2020/lib/services/permission/permission.service.mjs +4 -6
  30. package/esm2020/lib/services/queue/api-queue.service.mjs +4 -9
  31. package/esm2020/lib/services/queue/api-queue.service.mock.mjs +1 -5
  32. package/esm2020/lib/services/storage/async-storage.service.mjs +1 -1
  33. package/esm2020/lib/services/storage/async-storage.service.mock.mjs +1 -5
  34. package/esm2020/lib/services/storage/local-forage.service.mjs +6 -5
  35. package/esm2020/lib/services/storage/local-storage.service.mjs +4 -5
  36. package/esm2020/lib/services/storage/session-storage.service.mjs +4 -5
  37. package/esm2020/lib/services/storage/storage.service.mjs +1 -1
  38. package/esm2020/lib/services/store/effects/app.effects.mjs +10 -16
  39. package/esm2020/lib/services/store/reducers/meta.reducers.mjs +9 -1
  40. package/esm2020/lib/services/store/store.service.mjs +5 -7
  41. package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
  42. package/esm2020/lib/services/user/user.service.mjs +4 -5
  43. package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
  44. package/esm2020/lib/services/ux-app-shell.service.mjs +36 -16
  45. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +5 -5
  46. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -6
  47. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -6
  48. package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
  49. package/fesm2015/eui-core.mjs +178 -136
  50. package/fesm2015/eui-core.mjs.map +1 -1
  51. package/fesm2020/eui-core.mjs +224 -178
  52. package/fesm2020/eui-core.mjs.map +1 -1
  53. package/lib/helpers/dom-helpers.d.ts.map +1 -1
  54. package/lib/helpers/format-helpers.d.ts.map +1 -1
  55. package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +1 -1
  56. package/lib/services/app/eui-pre-init-app.d.ts.map +1 -1
  57. package/lib/services/app/factories/log.d.ts.map +1 -1
  58. package/lib/services/i18n/i18n.loader.d.ts +5 -0
  59. package/lib/services/i18n/i18n.loader.d.ts.map +1 -1
  60. package/lib/services/i18n/i18n.service.d.ts.map +1 -1
  61. package/lib/services/locale/locale.service.d.ts +1 -0
  62. package/lib/services/locale/locale.service.d.ts.map +1 -1
  63. package/lib/services/queue/api-queue.service.d.ts.map +1 -1
  64. package/lib/services/queue/api-queue.service.mock.d.ts.map +1 -1
  65. package/lib/services/storage/async-storage.service.d.ts.map +1 -1
  66. package/lib/services/storage/async-storage.service.mock.d.ts.map +1 -1
  67. package/lib/services/storage/local-forage.service.d.ts.map +1 -1
  68. package/lib/services/store/effects/app.effects.d.ts.map +1 -1
  69. package/lib/services/store/reducers/meta.reducers.d.ts.map +1 -1
  70. package/lib/services/ux-app-shell.service.d.ts +7 -1
  71. package/lib/services/ux-app-shell.service.d.ts.map +1 -1
  72. package/package.json +11 -1
  73. package/esm2020/lib/services/ux-root-injector.guard.mjs +0 -11
  74. package/lib/services/ux-root-injector.guard.d.ts +0 -5
  75. package/lib/services/ux-root-injector.guard.d.ts.map +0 -1
@@ -13,7 +13,7 @@ import { throwError, forkJoin, of, BehaviorSubject, defer, merge, fromEvent, Obs
13
13
  import { debounceTime, distinctUntilChanged, map, catchError, switchMap, tap, filter, take, mapTo, mergeMap, concatMap, takeUntil } from 'rxjs/operators';
14
14
  import * as i1$1 from '@ngrx/store';
15
15
  import { createSelector } from '@ngrx/store';
16
- import { __decorate, __metadata, __awaiter } from 'tslib';
16
+ import { __decorate, __awaiter } from 'tslib';
17
17
  import * as i1$3 from '@ngrx/effects';
18
18
  import { ofType, Effect } from '@ngrx/effects';
19
19
  import * as i2 from '@ngx-translate/core';
@@ -168,9 +168,9 @@ class LogService extends Logger {
168
168
  return logger;
169
169
  }
170
170
  }
171
- /** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
172
- /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService });
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService, decorators: [{
171
+ /** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
172
+ /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService });
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService, decorators: [{
174
174
  type: Injectable
175
175
  }], ctorParameters: function () {
176
176
  return [{ type: undefined, decorators: [{
@@ -186,12 +186,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ng
186
186
  } });
187
187
 
188
188
  const LOG_INSTANCES = {};
189
+ /* tslint:disable */
189
190
  /**
190
191
  * Helper function to check if the log config is defined.
191
192
  * Does not check only for empty object, because the config can have other (non-log) parameters
192
193
  * @params config log configuration
193
194
  * @returns true/false
194
195
  */
196
+ /* tslint:enable */
195
197
  function isLogConfigDefined(config) {
196
198
  return config && ('baseLoggerName' in config || 'logLevel' in config || 'logAppenders' in config);
197
199
  }
@@ -342,10 +344,10 @@ class LogModule {
342
344
  };
343
345
  }
344
346
  }
345
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
346
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule });
347
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule });
348
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule, decorators: [{
347
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
348
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule });
349
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule });
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule, decorators: [{
349
351
  type: NgModule
350
352
  }] });
351
353
 
@@ -408,7 +410,7 @@ class StoreService {
408
410
  */
409
411
  select(key) {
410
412
  if (!this.store) {
411
- return throwError(new Error('NGRX Store not configured'));
413
+ return throwError(() => new Error('NGRX Store not configured'));
412
414
  }
413
415
  return this.store.select(key);
414
416
  }
@@ -437,9 +439,9 @@ class StoreService {
437
439
  }
438
440
  }
439
441
  }
440
- /** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
441
- /** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, providedIn: 'root' });
442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, decorators: [{
442
+ /** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
443
+ /** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, providedIn: 'root' });
444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, decorators: [{
443
445
  type: Injectable,
444
446
  args: [{
445
447
  providedIn: 'root',
@@ -624,6 +626,7 @@ class I18nLoader {
624
626
  this.logService = logService;
625
627
  this.euiAppConfig = euiAppConfig;
626
628
  this.resources = [];
629
+ this.failedResources = [];
627
630
  // create the resources from the config object
628
631
  const i18nConfig = this.euiAppConfig.global && this.euiAppConfig.global.i18n;
629
632
  const i18nLoaderConfig = i18nConfig && i18nConfig.i18nLoader;
@@ -636,6 +639,7 @@ class I18nLoader {
636
639
  */
637
640
  getTranslation(lang) {
638
641
  return this.loadResources(this.resources, lang).pipe(map((loadedResources) => {
642
+ this.failedResources = loadedResources.hasError ? loadedResources.errors : [];
639
643
  return loadedResources.translations;
640
644
  }));
641
645
  }
@@ -696,6 +700,12 @@ class I18nLoader {
696
700
  return of({ hasError: false, translations: {} });
697
701
  }
698
702
  }
703
+ /**
704
+ * Returns resources that failed
705
+ */
706
+ getFailedResources() {
707
+ return this.failedResources;
708
+ }
699
709
  /**
700
710
  * Create resources from a config file
701
711
  * @param config loader configuration
@@ -749,6 +759,8 @@ class I18nLoader {
749
759
  // return the translations
750
760
  return translations;
751
761
  }), catchError((err) => {
762
+ // remove failed resource from loaded resource array
763
+ this.removeResources([resource]);
752
764
  // resource not loaded properly, send a warning message
753
765
  if (this.logService) {
754
766
  this.logService.warn(`I18n resource NOT loaded from path ${path}`, err);
@@ -765,9 +777,9 @@ class I18nLoader {
765
777
  return undefined;
766
778
  }
767
779
  }
768
- /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
769
- /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader });
770
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader, decorators: [{
780
+ /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
781
+ /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader });
782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader, decorators: [{
771
783
  type: Injectable
772
784
  }], ctorParameters: function () {
773
785
  return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
@@ -856,9 +868,6 @@ class I18nService extends EuiLazyService {
856
868
  .pipe(take(1), tap((loadedResources) => {
857
869
  // add the new set of translations to the current language
858
870
  this.translateService.setTranslation(this.translateService.currentLang, loadedResources.translations, true);
859
- if (loadedResources.hasError) {
860
- i18nLoader.removeResources(loadedResources.errors.map(err => err.resource));
861
- }
862
871
  })));
863
872
  // if the current language is different than the DEFAULT language
864
873
  if (this.translateService.currentLang !== this.translateService.defaultLang) {
@@ -866,9 +875,6 @@ class I18nService extends EuiLazyService {
866
875
  langSubscription.push(i18nLoader.loadResources(resources, this.translateService.defaultLang)
867
876
  .pipe(take(1), tap((loadedResources) => {
868
877
  this.translateService.setTranslation(this.translateService.defaultLang, loadedResources.translations, true);
869
- if (loadedResources.hasError) {
870
- i18nLoader.removeResources(loadedResources.errors.map(err => err.resource));
871
- }
872
878
  })));
873
879
  }
874
880
  return forkJoin(langSubscription).pipe(map((loadedResourcesArr) => {
@@ -923,6 +929,12 @@ class I18nService extends EuiLazyService {
923
929
  this.setDefaultLanguage(this.config.defaultLanguage);
924
930
  }
925
931
  }), map(() => {
932
+ if (this.translateService.currentLoader instanceof I18nLoader) {
933
+ const failedResources = this.translateService.currentLoader.getFailedResources();
934
+ if (failedResources.length > 0) {
935
+ return { success: false, error: failedResources };
936
+ }
937
+ }
926
938
  return { success: true };
927
939
  }), catchError((error) => {
928
940
  return of({ success: false, error: error });
@@ -970,9 +982,9 @@ class I18nService extends EuiLazyService {
970
982
  this.document.documentElement.lang = lang;
971
983
  }
972
984
  }
973
- /** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
974
- /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nService, providedIn: 'root' });
975
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nService, decorators: [{
985
+ /** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
986
+ /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, providedIn: 'root' });
987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, decorators: [{
976
988
  type: Injectable,
977
989
  args: [{
978
990
  providedIn: 'root',
@@ -1017,9 +1029,9 @@ class I18nServiceMock extends I18nService {
1017
1029
  return of({ success: true });
1018
1030
  }
1019
1031
  }
1020
- /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1021
- /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock });
1022
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1032
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1033
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock });
1034
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock, decorators: [{
1023
1035
  type: Injectable
1024
1036
  }], ctorParameters: function () { return []; } });
1025
1037
 
@@ -1035,13 +1047,16 @@ const initialState = {
1035
1047
  isSidebarActive: false,
1036
1048
  isSidebarInnerActive: false,
1037
1049
  isSidebarStateCloseWithIcons: false,
1050
+ isSidebarExpandOnHover: true,
1038
1051
  hasSidebar: false,
1039
1052
  hasHeader: false,
1040
1053
  hasHeaderLogo: false,
1041
1054
  hasHeaderEnvironment: false,
1055
+ hasToolbar: false,
1056
+ hasToolbarMenu: false,
1042
1057
  environmentValue: '',
1043
1058
  isSidebarHidden: false,
1044
- hasToolbar: false,
1059
+ hasTopMessage: false,
1045
1060
  windowWidth: 0,
1046
1061
  windowHeight: 0,
1047
1062
  mainContentHeight: 0,
@@ -1067,7 +1082,7 @@ const initialState = {
1067
1082
  hasModalActive: false,
1068
1083
  isDimmerActive: false,
1069
1084
  };
1070
- // export class UxAppShellService extends UxRootInjectorGuard {
1085
+ // TODO: this service needs to be transferred in the respective component
1071
1086
  class UxAppShellService {
1072
1087
  constructor(config, http, platformId, router, storeService, i18nService) {
1073
1088
  var _a, _b, _c, _d;
@@ -1085,8 +1100,6 @@ class UxAppShellService {
1085
1100
  this.activeModals = [];
1086
1101
  this.openModalId = new BehaviorSubject('');
1087
1102
  this.cssVars = [];
1088
- // super(UxAppShellService);
1089
- console.log('UxAppShellService initialized');
1090
1103
  let stateWithConfig = initialState;
1091
1104
  const languages = ((_b = (_a = config === null || config === void 0 ? void 0 : config.i18n) === null || _a === void 0 ? void 0 : _a.i18nService) === null || _b === void 0 ? void 0 : _b.languages) || initialState.languages;
1092
1105
  const defaultLanguage = ((_d = (_c = config === null || config === void 0 ? void 0 : config.i18n) === null || _c === void 0 ? void 0 : _c.i18nService) === null || _d === void 0 ? void 0 : _d.defaultLanguage) || initialState.activeLanguage;
@@ -1139,7 +1152,9 @@ class UxAppShellService {
1139
1152
  this.setState(Object.assign(Object.assign({}, this.state), { isSidebarOpen: isOpen }));
1140
1153
  }
1141
1154
  set isSidebarHover(isHover) {
1142
- this.setState(Object.assign(Object.assign({}, this.state), { isSidebarHover: isHover }));
1155
+ if (this.state.isSidebarExpandOnHover) {
1156
+ this.setState(Object.assign(Object.assign({}, this.state), { isSidebarHover: isHover }));
1157
+ }
1143
1158
  }
1144
1159
  get isSidebarHover() {
1145
1160
  return this.state.isSidebarHover;
@@ -1259,15 +1274,25 @@ class UxAppShellService {
1259
1274
  this.setState(Object.assign(Object.assign({}, this.state), { hasHeader: true }));
1260
1275
  this.activateHeaderCssVars();
1261
1276
  }
1277
+ activateTopMessage(height) {
1278
+ this.setState(Object.assign(Object.assign({}, this.state), { hasTopMessage: true }));
1279
+ this.activateTopMessageCssVars(height);
1280
+ }
1262
1281
  activateToolbar() {
1263
1282
  this.setState(Object.assign(Object.assign({}, this.state), { hasToolbar: true }));
1264
1283
  this.activateToolbarCssVars();
1265
1284
  }
1285
+ activateToolbarMenu() {
1286
+ this.setState(Object.assign(Object.assign({}, this.state), { hasToolbarMenu: true }));
1287
+ }
1266
1288
  fetchCssVars() {
1267
1289
  const cssVarNames = [
1268
1290
  '--eui-app-header-height-default',
1269
1291
  '--eui-app-header-height-active',
1270
1292
  '--eui-app-header-height-shrink',
1293
+ '--eui-app-top-message-height-default',
1294
+ '--eui-app-top-message-height-active',
1295
+ '--eui-app-top-message-height-shrink',
1271
1296
  '--eui-app-toolbar-height-default',
1272
1297
  '--eui-app-toolbar-height-active',
1273
1298
  '--eui-app-sidebar-width-default',
@@ -1285,6 +1310,7 @@ class UxAppShellService {
1285
1310
  }
1286
1311
  initCssVars() {
1287
1312
  this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
1313
+ this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
1288
1314
  this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
1289
1315
  this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
1290
1316
  this.setCssVar('--eui-app-sidebar-width-close-default', '--eui-app-sidebar-width-close');
@@ -1294,6 +1320,9 @@ class UxAppShellService {
1294
1320
  activateHeaderCssVars() {
1295
1321
  this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
1296
1322
  }
1323
+ activateTopMessageCssVars(height) {
1324
+ this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
1325
+ }
1297
1326
  activateToolbarCssVars() {
1298
1327
  this.setCssVar('--eui-app-toolbar-height-active', '--eui-app-toolbar-height');
1299
1328
  }
@@ -1573,9 +1602,9 @@ class UxAppShellService {
1573
1602
  });
1574
1603
  }
1575
1604
  }
1576
- /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxAppShellService, deps: [{ token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i1$2.HttpClient }, { token: PLATFORM_ID }, { token: i2$1.Router }, { token: StoreService }, { token: I18nService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1577
- /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1578
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxAppShellService, decorators: [{
1605
+ /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", 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 });
1606
+ /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxAppShellService, decorators: [{
1579
1608
  type: Injectable,
1580
1609
  args: [{
1581
1610
  providedIn: 'root',
@@ -1627,21 +1656,18 @@ class CoreAppEffects {
1627
1656
  }));
1628
1657
  }
1629
1658
  }
1630
- /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
1631
- /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects });
1659
+ /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
1660
+ /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects });
1632
1661
  __decorate([
1633
- Effect(),
1634
- __metadata("design:type", Observable)
1662
+ Effect()
1635
1663
  ], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
1636
1664
  __decorate([
1637
- Effect(),
1638
- __metadata("design:type", Observable)
1665
+ Effect()
1639
1666
  ], CoreAppEffects.prototype, "activatedRoute", void 0);
1640
1667
  __decorate([
1641
- Effect({ dispatch: false }),
1642
- __metadata("design:type", Object)
1668
+ Effect({ dispatch: false })
1643
1669
  ], CoreAppEffects.prototype, "updateAppConnection", void 0);
1644
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects, decorators: [{
1645
1671
  type: Injectable
1646
1672
  }], ctorParameters: function () {
1647
1673
  return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
@@ -1788,10 +1814,12 @@ const coreReducers = Object.assign({}, {
1788
1814
  });
1789
1815
 
1790
1816
  const extend = extendProxy.default || extendProxy;
1817
+ /* tslint:disable */
1791
1818
  /**
1792
1819
  * Utility meta-reducer to load the state from the local storage
1793
1820
  * @param reducer the action reducer
1794
1821
  */
1822
+ /* tslint:enable */
1795
1823
  function localStorageSync(reducer) {
1796
1824
  return cb(reducer, localStorage);
1797
1825
  }
@@ -1804,10 +1832,12 @@ function sessionStorageSync(reducer) {
1804
1832
  }
1805
1833
  // Keys that are allowed to be synced with NgRx state from BrowserStorage
1806
1834
  const disallowedKeys = ['loadedConfigModules', 'connect', 'currentModule', 'status', 'apiQueue'];
1835
+ /* tslint:disable */
1807
1836
  /**
1808
1837
  * filters the AppState by removing those keys from the state and return a new state Object
1809
1838
  * @param app the AppState
1810
1839
  */
1840
+ /* tslint:enable */
1811
1841
  const filterAppState = (app) => {
1812
1842
  // in case app is undefined or null it should return empty object
1813
1843
  if (!app) {
@@ -1822,11 +1852,13 @@ const filterAppState = (app) => {
1822
1852
  return obj;
1823
1853
  }, {});
1824
1854
  };
1855
+ /* tslint:disable */
1825
1856
  /**
1826
1857
  *
1827
1858
  * @param storageType
1828
1859
  */
1829
1860
  const loadState = (storage = localStorage) => {
1861
+ /* tslint:enable */
1830
1862
  try {
1831
1863
  // by default falls back to localStorage
1832
1864
  const serializedState = storage.getItem('state');
@@ -1843,7 +1875,9 @@ const loadState = (storage = localStorage) => {
1843
1875
  return undefined;
1844
1876
  }
1845
1877
  };
1878
+ /* tslint:disable */
1846
1879
  const cb = (reducer, storage) => {
1880
+ /* tslint:enable */
1847
1881
  return function (state, action) {
1848
1882
  var _a;
1849
1883
  if (action.type === CoreAppActionTypes.INIT_STORE) {
@@ -1893,9 +1927,9 @@ class StoreServiceMock extends StoreService {
1893
1927
  return of({});
1894
1928
  }
1895
1929
  }
1896
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1897
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock });
1898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock, decorators: [{
1930
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1931
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock });
1932
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock, decorators: [{
1899
1933
  type: Injectable
1900
1934
  }], ctorParameters: function () { return []; } });
1901
1935
 
@@ -1940,12 +1974,12 @@ class CoreModule {
1940
1974
  };
1941
1975
  }
1942
1976
  }
1943
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
1944
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1945
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [[
1977
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
1978
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1979
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, imports: [[
1946
1980
  HttpClientModule,
1947
1981
  ]] });
1948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, decorators: [{
1982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, decorators: [{
1949
1983
  type: NgModule,
1950
1984
  args: [{
1951
1985
  imports: [
@@ -1978,12 +2012,14 @@ function euiCoreRootGuardClass() {
1978
2012
  return new EuiCoreRootGuardClass();
1979
2013
  }
1980
2014
 
2015
+ /* tslint:disable */
1981
2016
  /**
1982
2017
  * Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations.
1983
2018
  * It needs to be added in your application main.ts file.
1984
2019
  * @param envConfig the current environment configuration
1985
2020
  * @returns the updated environment configuration, as a promise
1986
2021
  */
2022
+ /* tslint:enable */
1987
2023
  function preInitApp(envConfig) {
1988
2024
  return __awaiter(this, void 0, void 0, function* () {
1989
2025
  const envDynamicConfig = envConfig && envConfig.envDynamicConfig;
@@ -2073,9 +2109,9 @@ class GlobalErrorHandler extends ErrorHandler {
2073
2109
  super.handleError(error);
2074
2110
  }
2075
2111
  }
2076
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2077
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2112
+ /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2113
+ /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2079
2115
  type: Injectable,
2080
2116
  args: [{
2081
2117
  providedIn: 'root',
@@ -2122,9 +2158,9 @@ class HttpErrorHandlerInterceptor {
2122
2158
  return routes.length > 0 ? routes[0] : null;
2123
2159
  }
2124
2160
  }
2125
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2126
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2161
+ /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2162
+ /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor });
2163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2128
2164
  type: Injectable
2129
2165
  }], ctorParameters: function () {
2130
2166
  return [{ type: undefined, decorators: [{
@@ -2219,7 +2255,6 @@ class ApiQueueService {
2219
2255
  .pipe(take(1), switchMap((queue) => {
2220
2256
  if (!queue) {
2221
2257
  this.logService.warn(`Queue item with id "${id}" does not exist`);
2222
- // tslint:disable-next-line:deprecation
2223
2258
  return of(null);
2224
2259
  }
2225
2260
  return this.buildHttpRequest(id, queue);
@@ -2238,7 +2273,6 @@ class ApiQueueService {
2238
2273
  if (!continueOnError) {
2239
2274
  throw error;
2240
2275
  }
2241
- // tslint:disable-next-line:deprecation
2242
2276
  return of(error);
2243
2277
  })))), switchMap((obsQueue) => forkJoin(Array.from(obsQueue))));
2244
2278
  }
@@ -2275,9 +2309,9 @@ class ApiQueueService {
2275
2309
  .pipe(tap(() => this.removeQueueItem(id)));
2276
2310
  }
2277
2311
  }
2278
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2279
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, decorators: [{
2312
+ /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2313
+ /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, decorators: [{
2281
2315
  type: Injectable,
2282
2316
  args: [{
2283
2317
  providedIn: 'root',
@@ -2289,22 +2323,18 @@ class ApiQueueServiceMock extends ApiQueueService {
2289
2323
  super(null, null, null);
2290
2324
  }
2291
2325
  getQueue() {
2292
- // tslint:disable-next-line:deprecation
2293
2326
  return of([]);
2294
2327
  }
2295
2328
  getQueueItem(id) {
2296
- // tslint:disable-next-line:deprecation
2297
2329
  return of(null);
2298
2330
  }
2299
2331
  removeAllQueueItem() { }
2300
2332
  processAllQueueItems() {
2301
- // tslint:disable-next-line:deprecation
2302
2333
  return of({});
2303
2334
  }
2304
2335
  addQueueItem() { }
2305
2336
  removeQueueItem() { }
2306
2337
  processQueueItem() {
2307
- // tslint:disable-next-line:deprecation
2308
2338
  return of({});
2309
2339
  }
2310
2340
  }
@@ -2368,10 +2398,12 @@ const getStyle = (nativeEl, cssProp) => {
2368
2398
  const isStaticPositioned = (nativeEl) => {
2369
2399
  return (getStyle(nativeEl, 'position') || 'static') === 'static';
2370
2400
  };
2401
+ /* tslint:disable */
2371
2402
  /**
2372
2403
  * returns the closest, non-statically positioned parentOffset of a given element
2373
2404
  * @param nativeEl
2374
2405
  */
2406
+ /* tslint:enable */
2375
2407
  const parentOffsetEl = (nativeEl) => {
2376
2408
  let offsetParent = nativeEl.offsetParent || document;
2377
2409
  while (offsetParent && offsetParent !== document &&
@@ -2460,6 +2492,7 @@ const validateEmail = (c) => {
2460
2492
  const uniqueId = () => {
2461
2493
  return Math.random().toString(36).substr(2, 9);
2462
2494
  };
2495
+ /* tslint:disable */
2463
2496
  /**
2464
2497
  * Its job is to parse number and format it based on given input.
2465
2498
  * @param value can be a number or a string number
@@ -2467,6 +2500,7 @@ const uniqueId = () => {
2467
2500
  * @param inDecimalSeparator separator for decimal part of the number default is ','
2468
2501
  * @param inThousandSeparator separator for the whole part of the number default is ''
2469
2502
  */
2503
+ /* tslint:enable */
2470
2504
  const formatNumber = (value, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = '') => {
2471
2505
  if (inDecimalSeparator || inThousandSeparator) {
2472
2506
  console.warn('The inDecimalSeparator and inThousandSeparator are deprecated. They will be a ' +
@@ -2634,9 +2668,9 @@ class EuiPermissionService extends EuiService {
2634
2668
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2635
2669
  }
2636
2670
  }
2637
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2638
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2671
+ /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2672
+ /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, decorators: [{
2640
2674
  type: Injectable,
2641
2675
  args: [{
2642
2676
  providedIn: 'root',
@@ -2699,9 +2733,9 @@ class UxDynamicMenuService {
2699
2733
  });
2700
2734
  }
2701
2735
  }
2702
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2703
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2704
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2736
+ /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2737
+ /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2738
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2705
2739
  type: Injectable,
2706
2740
  args: [{
2707
2741
  providedIn: 'root',
@@ -2769,9 +2803,9 @@ class UxErrorFeedbackService {
2769
2803
  return new UxErrorManager(this, true);
2770
2804
  }
2771
2805
  }
2772
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2773
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2806
+ /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2807
+ /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2775
2809
  type: Injectable,
2776
2810
  args: [{
2777
2811
  providedIn: 'root'
@@ -2866,9 +2900,9 @@ class UxDynamicComponentService {
2866
2900
  return new PortalInjector(this.injector, injectorTokens);
2867
2901
  }
2868
2902
  }
2869
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2870
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2903
+ /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2904
+ /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2872
2906
  type: Injectable,
2873
2907
  args: [{ providedIn: 'root' }]
2874
2908
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
@@ -3583,9 +3617,9 @@ class UxTimezoneService {
3583
3617
  });
3584
3618
  }
3585
3619
  }
3586
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3587
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService });
3588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3620
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3621
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService });
3622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService, decorators: [{
3589
3623
  type: Injectable
3590
3624
  }] });
3591
3625
 
@@ -3628,22 +3662,18 @@ class AsyncStorageService extends StorageService {
3628
3662
 
3629
3663
  class AsyncStorageServiceMock extends AsyncStorageService {
3630
3664
  ready() {
3631
- // tslint:disable-next-line:deprecation
3632
3665
  return of({});
3633
3666
  }
3634
3667
  name() {
3635
3668
  return null;
3636
3669
  }
3637
3670
  get() {
3638
- // tslint:disable-next-line:deprecation
3639
3671
  return of({});
3640
3672
  }
3641
3673
  set() {
3642
- // tslint:disable-next-line:deprecation
3643
3674
  return of({});
3644
3675
  }
3645
3676
  remove() {
3646
- // tslint:disable-next-line:deprecation
3647
3677
  return of({});
3648
3678
  }
3649
3679
  setAsync() {
@@ -3715,9 +3745,9 @@ class LocalStorageService extends StorageService {
3715
3745
  }
3716
3746
  }
3717
3747
  LocalStorageService.NAME = 'LocalStorageService';
3718
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3719
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService });
3720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService, decorators: [{
3748
+ /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3749
+ /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService });
3750
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService, decorators: [{
3721
3751
  type: Injectable
3722
3752
  }], ctorParameters: function () {
3723
3753
  return [{ type: LogService, decorators: [{
@@ -3788,9 +3818,9 @@ class SessionStorageService extends StorageService {
3788
3818
  }
3789
3819
  }
3790
3820
  SessionStorageService.NAME = 'SessionStorageService';
3791
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3792
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService });
3793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService, decorators: [{
3821
+ /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3822
+ /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService });
3823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService, decorators: [{
3794
3824
  type: Injectable
3795
3825
  }], ctorParameters: function () {
3796
3826
  return [{ type: LogService, decorators: [{
@@ -3798,7 +3828,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ng
3798
3828
  }] }];
3799
3829
  } });
3800
3830
 
3831
+ /* tslint:disable */
3801
3832
  /** @internal */
3833
+ /* tslint:enable */
3802
3834
  const localForage = 'defineDriver' in lf ? lf : lf['default'];
3803
3835
  const LOCAL_FORAGE_SERVICE_CONFIG_TOKEN = new InjectionToken('LOCAL_FORAGE_SERVICE_CONFIG');
3804
3836
  /**
@@ -3879,9 +3911,9 @@ class LocalForageService extends AsyncStorageService {
3879
3911
  }
3880
3912
  }
3881
3913
  LocalForageService.NAME = 'LocalForageService';
3882
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3883
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService });
3884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService, decorators: [{
3914
+ /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3915
+ /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService });
3916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService, decorators: [{
3885
3917
  type: Injectable
3886
3918
  }], ctorParameters: function () {
3887
3919
  return [{ type: undefined, decorators: [{
@@ -3972,8 +4004,13 @@ class LocaleService extends EuiService {
3972
4004
  addLocale(id) {
3973
4005
  return this.loadLocale(id);
3974
4006
  }
4007
+ get previousLocale() {
4008
+ var _a;
4009
+ return ((_a = this.prevStateInstance) === null || _a === void 0 ? void 0 : _a.id) || this.currentLocale;
4010
+ }
3975
4011
  get currentLocale() {
3976
- return this.stateInstance.id;
4012
+ var _a;
4013
+ return (_a = this.stateInstance) === null || _a === void 0 ? void 0 : _a.id;
3977
4014
  }
3978
4015
  /**
3979
4016
  * load and register locale data dynamically
@@ -4005,9 +4042,11 @@ class LocaleService extends EuiService {
4005
4042
  bindTranslateServiceLangChangeToState() {
4006
4043
  if (this.i18n) {
4007
4044
  this.i18n.onStateChange.pipe(takeUntil(this.subNotifier),
4045
+ // filter out null values
4046
+ filter(state => state.activeLang !== null),
4008
4047
  // BEWARE: filter is based on convention that locale id sliced(2) will match activeLang e.g. en-US => en
4009
4048
  // Also, if activeLang is 'en' and locale is 'en-GB' it will not trigger locale change
4010
- filter(state => { var _a, _b; return ((_a = state === null || state === void 0 ? void 0 : state.activeLang) === null || _a === void 0 ? void 0 : _a.toLowerCase()) !== ((_b = this.stateInstance) === null || _b === void 0 ? void 0 : _b.id.slice(0, 2).toLowerCase()); }),
4049
+ filter(state => { var _a; return state.activeLang.toLowerCase() !== ((_a = this.stateInstance) === null || _a === void 0 ? void 0 : _a.id.slice(0, 2).toLowerCase()); }),
4011
4050
  // to check if registration of locale otherwise register it
4012
4051
  switchMap(value => of(value).pipe(
4013
4052
  // getLocaleId may throw Error(`Missing locale data for the locale "${locale}".`);
@@ -4021,7 +4060,7 @@ class LocaleService extends EuiService {
4021
4060
  if (this.log) {
4022
4061
  this.logger.debug(error);
4023
4062
  }
4024
- return this.loadLocale(value.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value.activeLang)), catchError(e => {
4063
+ return this.loadLocale(value === null || value === void 0 ? void 0 : value.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value === null || value === void 0 ? void 0 : value.activeLang)), catchError(e => {
4025
4064
  if (this.log) {
4026
4065
  this.logger.debug('Something went terribly really wrong during locale loading', e.err.message);
4027
4066
  }
@@ -4071,8 +4110,10 @@ class LocaleService extends EuiService {
4071
4110
  importLocale(id) {
4072
4111
  // in case of an error, catch it and return null
4073
4112
  return import(
4074
- /* webpackIgnore: true */
4075
- `@angular/common/locales/${id}`)
4113
+ /* webpackExclude: /\.d\.ts$/ */
4114
+ /* webpackMode: "lazy-once" */
4115
+ /* webpackChunkName: "i18n-base" */
4116
+ `@/../node_modules/@angular/common/locales/${id}`)
4076
4117
  .then(m => m.default)
4077
4118
  .catch(error => {
4078
4119
  if (this.log) {
@@ -4089,8 +4130,10 @@ class LocaleService extends EuiService {
4089
4130
  importExtraLocale(id) {
4090
4131
  // in case of an error, catch it and return null
4091
4132
  return import(
4092
- /* webpackIgnore: true */
4093
- `@angular/common/locales/extra/${id}`)
4133
+ /* webpackExclude: /\.d\.ts$/ */
4134
+ /* webpackMode: "lazy-once" */
4135
+ /* webpackChunkName: "i18n-extra" */
4136
+ `@/../node_modules/@angular/common/locales/extra/${id}`)
4094
4137
  .then(m => m.default)
4095
4138
  .catch(error => {
4096
4139
  if (this.log) {
@@ -4105,12 +4148,12 @@ class LocaleService extends EuiService {
4105
4148
  * @private
4106
4149
  */
4107
4150
  importDataAndExtraLocale(localeId) {
4108
- return from(this.importLocale(localeId)).pipe(mergeMap(() => from(this.importExtraLocale(localeId)).pipe(map((data, extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4151
+ return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4109
4152
  }
4110
4153
  }
4111
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, deps: [{ token: StoreService }, { token: GLOBAL_CONFIG_TOKEN }, { token: LOCALE_ID }, { token: LOCALE_ID_MAPPER, optional: true }, { token: I18nService, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4112
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, decorators: [{
4154
+ /** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", 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 });
4155
+ /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocaleService, providedIn: 'root' });
4156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocaleService, decorators: [{
4114
4157
  type: Injectable,
4115
4158
  args: [{
4116
4159
  providedIn: 'root'
@@ -4167,9 +4210,9 @@ class UserService extends EuiService {
4167
4210
  this.store.dispatch(new UpdateUserStateAction(userState));
4168
4211
  }
4169
4212
  }
4170
- /** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4171
- /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, providedIn: 'root' });
4172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, decorators: [{
4213
+ /** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4214
+ /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, providedIn: 'root' });
4215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, decorators: [{
4173
4216
  type: Injectable,
4174
4217
  args: [{
4175
4218
  providedIn: 'root',
@@ -4200,9 +4243,9 @@ class UserServiceMock extends UserService {
4200
4243
  return of('anonymous');
4201
4244
  }
4202
4245
  }
4203
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4204
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock });
4205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock, decorators: [{
4246
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4247
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock });
4248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock, decorators: [{
4206
4249
  type: Injectable
4207
4250
  }], ctorParameters: function () { return []; } });
4208
4251
 
@@ -4232,9 +4275,9 @@ class AddLangParamInterceptor {
4232
4275
  }));
4233
4276
  }
4234
4277
  }
4235
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4236
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor });
4237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4278
+ /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4279
+ /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor });
4280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4238
4281
  type: Injectable
4239
4282
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4240
4283
 
@@ -4251,9 +4294,9 @@ class CachePreventionInterceptor {
4251
4294
  }));
4252
4295
  }
4253
4296
  }
4254
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4255
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor });
4256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4297
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4298
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor });
4299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4257
4300
  type: Injectable
4258
4301
  }] });
4259
4302
 
@@ -4264,9 +4307,9 @@ class CorsSecurityInterceptor {
4264
4307
  }));
4265
4308
  }
4266
4309
  }
4267
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4268
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor });
4269
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4310
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4311
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor });
4312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4270
4313
  type: Injectable
4271
4314
  }] });
4272
4315
 
@@ -4277,9 +4320,9 @@ class CsrfPreventionInterceptor {
4277
4320
  }));
4278
4321
  }
4279
4322
  }
4280
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4281
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor });
4282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4323
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4324
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor });
4325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4283
4326
  type: Injectable
4284
4327
  }] });
4285
4328
 
@@ -4330,13 +4373,12 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4330
4373
  }
4331
4374
  }
4332
4375
  reauthenticate(request, response) {
4333
- // tslint:disable-next-line:deprecation
4334
4376
  document.location.reload();
4335
4377
  }
4336
4378
  }
4337
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4338
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4379
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4380
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4340
4382
  type: Injectable
4341
4383
  }] });
4342
4384
 
@@ -4357,9 +4399,9 @@ class UxRequestErrorModelInterceptor {
4357
4399
  }));
4358
4400
  }
4359
4401
  }
4360
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4361
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4402
+ /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4403
+ /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor });
4404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4363
4405
  type: Injectable
4364
4406
  }], ctorParameters: function () {
4365
4407
  return [{ type: undefined, decorators: [{
@@ -4503,9 +4545,9 @@ class OpenIdConnectInterceptor {
4503
4545
  }
4504
4546
  }
4505
4547
  }
4506
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4507
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor });
4508
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4548
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4549
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor });
4550
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4509
4551
  type: Injectable
4510
4552
  }], ctorParameters: function () { return []; } });
4511
4553
 
@@ -4535,9 +4577,9 @@ class OpenIdConnectService {
4535
4577
  return this.userDetails;
4536
4578
  }
4537
4579
  }
4538
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4539
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4580
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4581
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, decorators: [{
4541
4583
  type: Injectable,
4542
4584
  args: [{
4543
4585
  providedIn: 'root'