@eui/core 13.0.0-rc.7 → 13.0.0-rc.73

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 +53 -53
  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 +5 -5
  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 -4
  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 -4
  22. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +4 -4
  23. package/esm2020/lib/services/i18n/i18n.loader.mjs +14 -4
  24. package/esm2020/lib/services/i18n/i18n.service.mjs +10 -10
  25. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
  26. package/esm2020/lib/services/locale/locale.service.mjs +21 -12
  27. package/esm2020/lib/services/log/log.module.mjs +5 -5
  28. package/esm2020/lib/services/log/log.service.mjs +4 -4
  29. package/esm2020/lib/services/permission/permission.service.mjs +4 -4
  30. package/esm2020/lib/services/queue/api-queue.service.mjs +4 -6
  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 -4
  35. package/esm2020/lib/services/storage/local-storage.service.mjs +4 -4
  36. package/esm2020/lib/services/storage/session-storage.service.mjs +4 -4
  37. package/esm2020/lib/services/storage/storage.service.mjs +1 -1
  38. package/esm2020/lib/services/store/effects/app.effects.mjs +5 -5
  39. package/esm2020/lib/services/store/reducers/meta.reducers.mjs +9 -1
  40. package/esm2020/lib/services/store/store.service.mjs +5 -5
  41. package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
  42. package/esm2020/lib/services/user/user.service.mjs +4 -4
  43. package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
  44. package/esm2020/lib/services/ux-app-shell.service.mjs +35 -12
  45. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +4 -4
  46. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -4
  47. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -4
  48. package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
  49. package/fesm2015/eui-core.mjs +174 -129
  50. package/fesm2015/eui-core.mjs.map +1 -1
  51. package/fesm2020/eui-core.mjs +181 -132
  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
@@ -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.3", 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.3", ngImport: i0, type: LogService });
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", 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.3", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
348
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogModule });
349
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogModule });
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", 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.3", 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.3", ngImport: i0, type: StoreService, providedIn: 'root' });
444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", 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.3", 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.3", ngImport: i0, type: I18nLoader });
782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", 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.3", 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.3", ngImport: i0, type: I18nService, providedIn: 'root' });
987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", 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.3", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1033
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nServiceMock });
1034
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", 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.3", 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.3", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxAppShellService, decorators: [{
1579
1608
  type: Injectable,
1580
1609
  args: [{
1581
1610
  providedIn: 'root',
@@ -1627,8 +1656,8 @@ 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.3", 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.3", ngImport: i0, type: CoreAppEffects });
1632
1661
  __decorate([
1633
1662
  Effect()
1634
1663
  ], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
@@ -1638,7 +1667,7 @@ __decorate([
1638
1667
  __decorate([
1639
1668
  Effect({ dispatch: false })
1640
1669
  ], CoreAppEffects.prototype, "updateAppConnection", void 0);
1641
- 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.3", ngImport: i0, type: CoreAppEffects, decorators: [{
1642
1671
  type: Injectable
1643
1672
  }], ctorParameters: function () {
1644
1673
  return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
@@ -1785,10 +1814,12 @@ const coreReducers = Object.assign({}, {
1785
1814
  });
1786
1815
 
1787
1816
  const extend = extendProxy.default || extendProxy;
1817
+ /* tslint:disable */
1788
1818
  /**
1789
1819
  * Utility meta-reducer to load the state from the local storage
1790
1820
  * @param reducer the action reducer
1791
1821
  */
1822
+ /* tslint:enable */
1792
1823
  function localStorageSync(reducer) {
1793
1824
  return cb(reducer, localStorage);
1794
1825
  }
@@ -1801,10 +1832,12 @@ function sessionStorageSync(reducer) {
1801
1832
  }
1802
1833
  // Keys that are allowed to be synced with NgRx state from BrowserStorage
1803
1834
  const disallowedKeys = ['loadedConfigModules', 'connect', 'currentModule', 'status', 'apiQueue'];
1835
+ /* tslint:disable */
1804
1836
  /**
1805
1837
  * filters the AppState by removing those keys from the state and return a new state Object
1806
1838
  * @param app the AppState
1807
1839
  */
1840
+ /* tslint:enable */
1808
1841
  const filterAppState = (app) => {
1809
1842
  // in case app is undefined or null it should return empty object
1810
1843
  if (!app) {
@@ -1819,11 +1852,13 @@ const filterAppState = (app) => {
1819
1852
  return obj;
1820
1853
  }, {});
1821
1854
  };
1855
+ /* tslint:disable */
1822
1856
  /**
1823
1857
  *
1824
1858
  * @param storageType
1825
1859
  */
1826
1860
  const loadState = (storage = localStorage) => {
1861
+ /* tslint:enable */
1827
1862
  try {
1828
1863
  // by default falls back to localStorage
1829
1864
  const serializedState = storage.getItem('state');
@@ -1840,7 +1875,9 @@ const loadState = (storage = localStorage) => {
1840
1875
  return undefined;
1841
1876
  }
1842
1877
  };
1878
+ /* tslint:disable */
1843
1879
  const cb = (reducer, storage) => {
1880
+ /* tslint:enable */
1844
1881
  return function (state, action) {
1845
1882
  var _a;
1846
1883
  if (action.type === CoreAppActionTypes.INIT_STORE) {
@@ -1890,9 +1927,9 @@ class StoreServiceMock extends StoreService {
1890
1927
  return of({});
1891
1928
  }
1892
1929
  }
1893
- /** @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 });
1894
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock });
1895
- 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.3", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1931
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceMock });
1932
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceMock, decorators: [{
1896
1933
  type: Injectable
1897
1934
  }], ctorParameters: function () { return []; } });
1898
1935
 
@@ -1937,12 +1974,12 @@ class CoreModule {
1937
1974
  };
1938
1975
  }
1939
1976
  }
1940
- /** @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 });
1941
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1942
- /** @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.3", 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.3", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1979
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CoreModule, imports: [[
1943
1980
  HttpClientModule,
1944
1981
  ]] });
1945
- 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.3", ngImport: i0, type: CoreModule, decorators: [{
1946
1983
  type: NgModule,
1947
1984
  args: [{
1948
1985
  imports: [
@@ -1975,12 +2012,14 @@ function euiCoreRootGuardClass() {
1975
2012
  return new EuiCoreRootGuardClass();
1976
2013
  }
1977
2014
 
2015
+ /* tslint:disable */
1978
2016
  /**
1979
2017
  * Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations.
1980
2018
  * It needs to be added in your application main.ts file.
1981
2019
  * @param envConfig the current environment configuration
1982
2020
  * @returns the updated environment configuration, as a promise
1983
2021
  */
2022
+ /* tslint:enable */
1984
2023
  function preInitApp(envConfig) {
1985
2024
  return __awaiter(this, void 0, void 0, function* () {
1986
2025
  const envDynamicConfig = envConfig && envConfig.envDynamicConfig;
@@ -2070,9 +2109,9 @@ class GlobalErrorHandler extends ErrorHandler {
2070
2109
  super.handleError(error);
2071
2110
  }
2072
2111
  }
2073
- /** @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 });
2074
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2075
- 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.3", 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.3", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2076
2115
  type: Injectable,
2077
2116
  args: [{
2078
2117
  providedIn: 'root',
@@ -2119,9 +2158,9 @@ class HttpErrorHandlerInterceptor {
2119
2158
  return routes.length > 0 ? routes[0] : null;
2120
2159
  }
2121
2160
  }
2122
- /** @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 });
2123
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2124
- 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.3", 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.3", ngImport: i0, type: HttpErrorHandlerInterceptor });
2163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2125
2164
  type: Injectable
2126
2165
  }], ctorParameters: function () {
2127
2166
  return [{ type: undefined, decorators: [{
@@ -2216,7 +2255,6 @@ class ApiQueueService {
2216
2255
  .pipe(take(1), switchMap((queue) => {
2217
2256
  if (!queue) {
2218
2257
  this.logService.warn(`Queue item with id "${id}" does not exist`);
2219
- // tslint:disable-next-line:deprecation
2220
2258
  return of(null);
2221
2259
  }
2222
2260
  return this.buildHttpRequest(id, queue);
@@ -2235,7 +2273,6 @@ class ApiQueueService {
2235
2273
  if (!continueOnError) {
2236
2274
  throw error;
2237
2275
  }
2238
- // tslint:disable-next-line:deprecation
2239
2276
  return of(error);
2240
2277
  })))), switchMap((obsQueue) => forkJoin(Array.from(obsQueue))));
2241
2278
  }
@@ -2272,9 +2309,9 @@ class ApiQueueService {
2272
2309
  .pipe(tap(() => this.removeQueueItem(id)));
2273
2310
  }
2274
2311
  }
2275
- /** @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 });
2276
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2277
- 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.3", 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.3", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ApiQueueService, decorators: [{
2278
2315
  type: Injectable,
2279
2316
  args: [{
2280
2317
  providedIn: 'root',
@@ -2286,22 +2323,18 @@ class ApiQueueServiceMock extends ApiQueueService {
2286
2323
  super(null, null, null);
2287
2324
  }
2288
2325
  getQueue() {
2289
- // tslint:disable-next-line:deprecation
2290
2326
  return of([]);
2291
2327
  }
2292
2328
  getQueueItem(id) {
2293
- // tslint:disable-next-line:deprecation
2294
2329
  return of(null);
2295
2330
  }
2296
2331
  removeAllQueueItem() { }
2297
2332
  processAllQueueItems() {
2298
- // tslint:disable-next-line:deprecation
2299
2333
  return of({});
2300
2334
  }
2301
2335
  addQueueItem() { }
2302
2336
  removeQueueItem() { }
2303
2337
  processQueueItem() {
2304
- // tslint:disable-next-line:deprecation
2305
2338
  return of({});
2306
2339
  }
2307
2340
  }
@@ -2365,10 +2398,12 @@ const getStyle = (nativeEl, cssProp) => {
2365
2398
  const isStaticPositioned = (nativeEl) => {
2366
2399
  return (getStyle(nativeEl, 'position') || 'static') === 'static';
2367
2400
  };
2401
+ /* tslint:disable */
2368
2402
  /**
2369
2403
  * returns the closest, non-statically positioned parentOffset of a given element
2370
2404
  * @param nativeEl
2371
2405
  */
2406
+ /* tslint:enable */
2372
2407
  const parentOffsetEl = (nativeEl) => {
2373
2408
  let offsetParent = nativeEl.offsetParent || document;
2374
2409
  while (offsetParent && offsetParent !== document &&
@@ -2457,6 +2492,7 @@ const validateEmail = (c) => {
2457
2492
  const uniqueId = () => {
2458
2493
  return Math.random().toString(36).substr(2, 9);
2459
2494
  };
2495
+ /* tslint:disable */
2460
2496
  /**
2461
2497
  * Its job is to parse number and format it based on given input.
2462
2498
  * @param value can be a number or a string number
@@ -2464,6 +2500,7 @@ const uniqueId = () => {
2464
2500
  * @param inDecimalSeparator separator for decimal part of the number default is ','
2465
2501
  * @param inThousandSeparator separator for the whole part of the number default is ''
2466
2502
  */
2503
+ /* tslint:enable */
2467
2504
  const formatNumber = (value, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = '') => {
2468
2505
  if (inDecimalSeparator || inThousandSeparator) {
2469
2506
  console.warn('The inDecimalSeparator and inThousandSeparator are deprecated. They will be a ' +
@@ -2631,9 +2668,9 @@ class EuiPermissionService extends EuiService {
2631
2668
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2632
2669
  }
2633
2670
  }
2634
- /** @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 });
2635
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2636
- 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.3", 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.3", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuiPermissionService, decorators: [{
2637
2674
  type: Injectable,
2638
2675
  args: [{
2639
2676
  providedIn: 'root',
@@ -2696,9 +2733,9 @@ class UxDynamicMenuService {
2696
2733
  });
2697
2734
  }
2698
2735
  }
2699
- /** @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 });
2700
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2701
- 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.3", 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.3", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2738
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2702
2739
  type: Injectable,
2703
2740
  args: [{
2704
2741
  providedIn: 'root',
@@ -2766,9 +2803,9 @@ class UxErrorFeedbackService {
2766
2803
  return new UxErrorManager(this, true);
2767
2804
  }
2768
2805
  }
2769
- /** @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 });
2770
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2771
- 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.3", 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.3", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2772
2809
  type: Injectable,
2773
2810
  args: [{
2774
2811
  providedIn: 'root'
@@ -2863,9 +2900,9 @@ class UxDynamicComponentService {
2863
2900
  return new PortalInjector(this.injector, injectorTokens);
2864
2901
  }
2865
2902
  }
2866
- /** @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 });
2867
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2868
- 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.3", 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.3", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2869
2906
  type: Injectable,
2870
2907
  args: [{ providedIn: 'root' }]
2871
2908
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
@@ -3580,9 +3617,9 @@ class UxTimezoneService {
3580
3617
  });
3581
3618
  }
3582
3619
  }
3583
- /** @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 });
3584
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService });
3585
- 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.3", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3621
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxTimezoneService });
3622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxTimezoneService, decorators: [{
3586
3623
  type: Injectable
3587
3624
  }] });
3588
3625
 
@@ -3625,22 +3662,18 @@ class AsyncStorageService extends StorageService {
3625
3662
 
3626
3663
  class AsyncStorageServiceMock extends AsyncStorageService {
3627
3664
  ready() {
3628
- // tslint:disable-next-line:deprecation
3629
3665
  return of({});
3630
3666
  }
3631
3667
  name() {
3632
3668
  return null;
3633
3669
  }
3634
3670
  get() {
3635
- // tslint:disable-next-line:deprecation
3636
3671
  return of({});
3637
3672
  }
3638
3673
  set() {
3639
- // tslint:disable-next-line:deprecation
3640
3674
  return of({});
3641
3675
  }
3642
3676
  remove() {
3643
- // tslint:disable-next-line:deprecation
3644
3677
  return of({});
3645
3678
  }
3646
3679
  setAsync() {
@@ -3712,9 +3745,9 @@ class LocalStorageService extends StorageService {
3712
3745
  }
3713
3746
  }
3714
3747
  LocalStorageService.NAME = 'LocalStorageService';
3715
- /** @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 });
3716
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService });
3717
- 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.3", 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.3", ngImport: i0, type: LocalStorageService });
3750
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocalStorageService, decorators: [{
3718
3751
  type: Injectable
3719
3752
  }], ctorParameters: function () {
3720
3753
  return [{ type: LogService, decorators: [{
@@ -3785,9 +3818,9 @@ class SessionStorageService extends StorageService {
3785
3818
  }
3786
3819
  }
3787
3820
  SessionStorageService.NAME = 'SessionStorageService';
3788
- /** @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 });
3789
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService });
3790
- 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.3", 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.3", ngImport: i0, type: SessionStorageService });
3823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SessionStorageService, decorators: [{
3791
3824
  type: Injectable
3792
3825
  }], ctorParameters: function () {
3793
3826
  return [{ type: LogService, decorators: [{
@@ -3795,7 +3828,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ng
3795
3828
  }] }];
3796
3829
  } });
3797
3830
 
3831
+ /* tslint:disable */
3798
3832
  /** @internal */
3833
+ /* tslint:enable */
3799
3834
  const localForage = 'defineDriver' in lf ? lf : lf['default'];
3800
3835
  const LOCAL_FORAGE_SERVICE_CONFIG_TOKEN = new InjectionToken('LOCAL_FORAGE_SERVICE_CONFIG');
3801
3836
  /**
@@ -3876,9 +3911,9 @@ class LocalForageService extends AsyncStorageService {
3876
3911
  }
3877
3912
  }
3878
3913
  LocalForageService.NAME = 'LocalForageService';
3879
- /** @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 });
3880
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService });
3881
- 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.3", 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.3", ngImport: i0, type: LocalForageService });
3916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocalForageService, decorators: [{
3882
3917
  type: Injectable
3883
3918
  }], ctorParameters: function () {
3884
3919
  return [{ type: undefined, decorators: [{
@@ -3969,8 +4004,13 @@ class LocaleService extends EuiService {
3969
4004
  addLocale(id) {
3970
4005
  return this.loadLocale(id);
3971
4006
  }
4007
+ get previousLocale() {
4008
+ var _a;
4009
+ return ((_a = this.prevStateInstance) === null || _a === void 0 ? void 0 : _a.id) || this.currentLocale;
4010
+ }
3972
4011
  get currentLocale() {
3973
- return this.stateInstance.id;
4012
+ var _a;
4013
+ return (_a = this.stateInstance) === null || _a === void 0 ? void 0 : _a.id;
3974
4014
  }
3975
4015
  /**
3976
4016
  * load and register locale data dynamically
@@ -4002,9 +4042,11 @@ class LocaleService extends EuiService {
4002
4042
  bindTranslateServiceLangChangeToState() {
4003
4043
  if (this.i18n) {
4004
4044
  this.i18n.onStateChange.pipe(takeUntil(this.subNotifier),
4045
+ // filter out null values
4046
+ filter(state => state.activeLang !== null),
4005
4047
  // BEWARE: filter is based on convention that locale id sliced(2) will match activeLang e.g. en-US => en
4006
4048
  // Also, if activeLang is 'en' and locale is 'en-GB' it will not trigger locale change
4007
- 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()); }),
4008
4050
  // to check if registration of locale otherwise register it
4009
4051
  switchMap(value => of(value).pipe(
4010
4052
  // getLocaleId may throw Error(`Missing locale data for the locale "${locale}".`);
@@ -4018,7 +4060,7 @@ class LocaleService extends EuiService {
4018
4060
  if (this.log) {
4019
4061
  this.logger.debug(error);
4020
4062
  }
4021
- 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 => {
4022
4064
  if (this.log) {
4023
4065
  this.logger.debug('Something went terribly really wrong during locale loading', e.err.message);
4024
4066
  }
@@ -4068,8 +4110,10 @@ class LocaleService extends EuiService {
4068
4110
  importLocale(id) {
4069
4111
  // in case of an error, catch it and return null
4070
4112
  return import(
4071
- /* webpackIgnore: true */
4072
- `@angular/common/locales/${id}`)
4113
+ /* webpackExclude: /\.d\.ts$/ */
4114
+ /* webpackMode: "lazy-once" */
4115
+ /* webpackChunkName: "i18n-base" */
4116
+ `@/../node_modules/@angular/common/locales/${id}`)
4073
4117
  .then(m => m.default)
4074
4118
  .catch(error => {
4075
4119
  if (this.log) {
@@ -4086,8 +4130,10 @@ class LocaleService extends EuiService {
4086
4130
  importExtraLocale(id) {
4087
4131
  // in case of an error, catch it and return null
4088
4132
  return import(
4089
- /* webpackIgnore: true */
4090
- `@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}`)
4091
4137
  .then(m => m.default)
4092
4138
  .catch(error => {
4093
4139
  if (this.log) {
@@ -4102,12 +4148,12 @@ class LocaleService extends EuiService {
4102
4148
  * @private
4103
4149
  */
4104
4150
  importDataAndExtraLocale(localeId) {
4105
- 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));
4106
4152
  }
4107
4153
  }
4108
- /** @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 });
4109
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4110
- 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.3", 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.3", ngImport: i0, type: LocaleService, providedIn: 'root' });
4156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocaleService, decorators: [{
4111
4157
  type: Injectable,
4112
4158
  args: [{
4113
4159
  providedIn: 'root'
@@ -4164,9 +4210,9 @@ class UserService extends EuiService {
4164
4210
  this.store.dispatch(new UpdateUserStateAction(userState));
4165
4211
  }
4166
4212
  }
4167
- /** @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 });
4168
- /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, providedIn: 'root' });
4169
- 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.3", 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.3", ngImport: i0, type: UserService, providedIn: 'root' });
4215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserService, decorators: [{
4170
4216
  type: Injectable,
4171
4217
  args: [{
4172
4218
  providedIn: 'root',
@@ -4197,9 +4243,9 @@ class UserServiceMock extends UserService {
4197
4243
  return of('anonymous');
4198
4244
  }
4199
4245
  }
4200
- /** @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 });
4201
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock });
4202
- 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.3", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4247
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserServiceMock });
4248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserServiceMock, decorators: [{
4203
4249
  type: Injectable
4204
4250
  }], ctorParameters: function () { return []; } });
4205
4251
 
@@ -4229,9 +4275,9 @@ class AddLangParamInterceptor {
4229
4275
  }));
4230
4276
  }
4231
4277
  }
4232
- /** @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 });
4233
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor });
4234
- 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.3", 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.3", ngImport: i0, type: AddLangParamInterceptor });
4280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4235
4281
  type: Injectable
4236
4282
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4237
4283
 
@@ -4248,9 +4294,9 @@ class CachePreventionInterceptor {
4248
4294
  }));
4249
4295
  }
4250
4296
  }
4251
- /** @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 });
4252
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor });
4253
- 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.3", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4298
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CachePreventionInterceptor });
4299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4254
4300
  type: Injectable
4255
4301
  }] });
4256
4302
 
@@ -4261,9 +4307,9 @@ class CorsSecurityInterceptor {
4261
4307
  }));
4262
4308
  }
4263
4309
  }
4264
- /** @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 });
4265
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor });
4266
- 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.3", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4311
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CorsSecurityInterceptor });
4312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4267
4313
  type: Injectable
4268
4314
  }] });
4269
4315
 
@@ -4274,9 +4320,9 @@ class CsrfPreventionInterceptor {
4274
4320
  }));
4275
4321
  }
4276
4322
  }
4277
- /** @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 });
4278
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor });
4279
- 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.3", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4324
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CsrfPreventionInterceptor });
4325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4280
4326
  type: Injectable
4281
4327
  }] });
4282
4328
 
@@ -4327,13 +4373,12 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4327
4373
  }
4328
4374
  }
4329
4375
  reauthenticate(request, response) {
4330
- // tslint:disable-next-line:deprecation
4331
4376
  document.location.reload();
4332
4377
  }
4333
4378
  }
4334
- /** @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 });
4335
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4336
- 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.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4380
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4337
4382
  type: Injectable
4338
4383
  }] });
4339
4384
 
@@ -4354,9 +4399,9 @@ class UxRequestErrorModelInterceptor {
4354
4399
  }));
4355
4400
  }
4356
4401
  }
4357
- /** @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 });
4358
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4359
- 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.3", 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.3", ngImport: i0, type: UxRequestErrorModelInterceptor });
4404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4360
4405
  type: Injectable
4361
4406
  }], ctorParameters: function () {
4362
4407
  return [{ type: undefined, decorators: [{
@@ -4500,9 +4545,9 @@ class OpenIdConnectInterceptor {
4500
4545
  }
4501
4546
  }
4502
4547
  }
4503
- /** @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 });
4504
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor });
4505
- 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.3", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4549
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectInterceptor });
4550
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4506
4551
  type: Injectable
4507
4552
  }], ctorParameters: function () { return []; } });
4508
4553
 
@@ -4532,9 +4577,9 @@ class OpenIdConnectService {
4532
4577
  return this.userDetails;
4533
4578
  }
4534
4579
  }
4535
- /** @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 });
4536
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4537
- 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.3", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4581
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectService, decorators: [{
4538
4583
  type: Injectable,
4539
4584
  args: [{
4540
4585
  providedIn: 'root'