@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
@@ -185,9 +185,9 @@ class LogService extends Logger {
185
185
  return logger;
186
186
  }
187
187
  }
188
- /** @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 });
189
- /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService });
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService, decorators: [{
188
+ /** @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 });
189
+ /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogService });
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogService, decorators: [{
191
191
  type: Injectable
192
192
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
193
193
  type: Inject,
@@ -201,12 +201,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ng
201
201
  }] }]; } });
202
202
 
203
203
  const LOG_INSTANCES = {};
204
+ /* tslint:disable */
204
205
  /**
205
206
  * Helper function to check if the log config is defined.
206
207
  * Does not check only for empty object, because the config can have other (non-log) parameters
207
208
  * @params config log configuration
208
209
  * @returns true/false
209
210
  */
211
+ /* tslint:enable */
210
212
  function isLogConfigDefined(config) {
211
213
  return config && ('baseLoggerName' in config || 'logLevel' in config || 'logAppenders' in config);
212
214
  }
@@ -357,10 +359,10 @@ class LogModule {
357
359
  };
358
360
  }
359
361
  }
360
- /** @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 });
361
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule });
362
- /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule });
363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogModule, decorators: [{
362
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
363
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogModule });
364
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogModule });
365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LogModule, decorators: [{
364
366
  type: NgModule
365
367
  }] });
366
368
 
@@ -423,7 +425,7 @@ class StoreService {
423
425
  */
424
426
  select(key) {
425
427
  if (!this.store) {
426
- return throwError(new Error('NGRX Store not configured'));
428
+ return throwError(() => new Error('NGRX Store not configured'));
427
429
  }
428
430
  return this.store.select(key);
429
431
  }
@@ -452,9 +454,9 @@ class StoreService {
452
454
  }
453
455
  }
454
456
  }
455
- /** @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 });
456
- /** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, providedIn: 'root' });
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreService, decorators: [{
457
+ /** @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 });
458
+ /** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreService, providedIn: 'root' });
459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreService, decorators: [{
458
460
  type: Injectable,
459
461
  args: [{
460
462
  providedIn: 'root',
@@ -637,6 +639,7 @@ class I18nLoader {
637
639
  this.logService = logService;
638
640
  this.euiAppConfig = euiAppConfig;
639
641
  this.resources = [];
642
+ this.failedResources = [];
640
643
  // create the resources from the config object
641
644
  const i18nConfig = this.euiAppConfig.global && this.euiAppConfig.global.i18n;
642
645
  const i18nLoaderConfig = i18nConfig && i18nConfig.i18nLoader;
@@ -649,6 +652,7 @@ class I18nLoader {
649
652
  */
650
653
  getTranslation(lang) {
651
654
  return this.loadResources(this.resources, lang).pipe(map((loadedResources) => {
655
+ this.failedResources = loadedResources.hasError ? loadedResources.errors : [];
652
656
  return loadedResources.translations;
653
657
  }));
654
658
  }
@@ -709,6 +713,12 @@ class I18nLoader {
709
713
  return of({ hasError: false, translations: {} });
710
714
  }
711
715
  }
716
+ /**
717
+ * Returns resources that failed
718
+ */
719
+ getFailedResources() {
720
+ return this.failedResources;
721
+ }
712
722
  /**
713
723
  * Create resources from a config file
714
724
  * @param config loader configuration
@@ -762,6 +772,8 @@ class I18nLoader {
762
772
  // return the translations
763
773
  return translations;
764
774
  }), catchError((err) => {
775
+ // remove failed resource from loaded resource array
776
+ this.removeResources([resource]);
765
777
  // resource not loaded properly, send a warning message
766
778
  if (this.logService) {
767
779
  this.logService.warn(`I18n resource NOT loaded from path ${path}`, err);
@@ -778,9 +790,9 @@ class I18nLoader {
778
790
  return undefined;
779
791
  }
780
792
  }
781
- /** @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 });
782
- /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader });
783
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nLoader, decorators: [{
793
+ /** @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 });
794
+ /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nLoader });
795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nLoader, decorators: [{
784
796
  type: Injectable
785
797
  }], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
786
798
  type: Optional
@@ -870,9 +882,6 @@ class I18nService extends EuiLazyService {
870
882
  .pipe(take(1), tap((loadedResources) => {
871
883
  // add the new set of translations to the current language
872
884
  this.translateService.setTranslation(this.translateService.currentLang, loadedResources.translations, true);
873
- if (loadedResources.hasError) {
874
- i18nLoader.removeResources(loadedResources.errors.map(err => err.resource));
875
- }
876
885
  })));
877
886
  // if the current language is different than the DEFAULT language
878
887
  if (this.translateService.currentLang !== this.translateService.defaultLang) {
@@ -880,9 +889,6 @@ class I18nService extends EuiLazyService {
880
889
  langSubscription.push(i18nLoader.loadResources(resources, this.translateService.defaultLang)
881
890
  .pipe(take(1), tap((loadedResources) => {
882
891
  this.translateService.setTranslation(this.translateService.defaultLang, loadedResources.translations, true);
883
- if (loadedResources.hasError) {
884
- i18nLoader.removeResources(loadedResources.errors.map(err => err.resource));
885
- }
886
892
  })));
887
893
  }
888
894
  return forkJoin(langSubscription).pipe(map((loadedResourcesArr) => {
@@ -937,6 +943,12 @@ class I18nService extends EuiLazyService {
937
943
  this.setDefaultLanguage(this.config.defaultLanguage);
938
944
  }
939
945
  }), map(() => {
946
+ if (this.translateService.currentLoader instanceof I18nLoader) {
947
+ const failedResources = this.translateService.currentLoader.getFailedResources();
948
+ if (failedResources.length > 0) {
949
+ return { success: false, error: failedResources };
950
+ }
951
+ }
940
952
  return { success: true };
941
953
  }), catchError((error) => {
942
954
  return of({ success: false, error: error });
@@ -984,9 +996,9 @@ class I18nService extends EuiLazyService {
984
996
  this.document.documentElement.lang = lang;
985
997
  }
986
998
  }
987
- /** @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 });
988
- /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nService, providedIn: 'root' });
989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nService, decorators: [{
999
+ /** @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 });
1000
+ /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nService, providedIn: 'root' });
1001
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nService, decorators: [{
990
1002
  type: Injectable,
991
1003
  args: [{
992
1004
  providedIn: 'root',
@@ -1029,9 +1041,9 @@ class I18nServiceMock extends I18nService {
1029
1041
  return of({ success: true });
1030
1042
  }
1031
1043
  }
1032
- /** @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 });
1033
- /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock });
1034
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: I18nServiceMock, decorators: [{
1044
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1045
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nServiceMock });
1046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: I18nServiceMock, decorators: [{
1035
1047
  type: Injectable
1036
1048
  }], ctorParameters: function () { return []; } });
1037
1049
 
@@ -1047,13 +1059,16 @@ const initialState = {
1047
1059
  isSidebarActive: false,
1048
1060
  isSidebarInnerActive: false,
1049
1061
  isSidebarStateCloseWithIcons: false,
1062
+ isSidebarExpandOnHover: true,
1050
1063
  hasSidebar: false,
1051
1064
  hasHeader: false,
1052
1065
  hasHeaderLogo: false,
1053
1066
  hasHeaderEnvironment: false,
1067
+ hasToolbar: false,
1068
+ hasToolbarMenu: false,
1054
1069
  environmentValue: '',
1055
1070
  isSidebarHidden: false,
1056
- hasToolbar: false,
1071
+ hasTopMessage: false,
1057
1072
  windowWidth: 0,
1058
1073
  windowHeight: 0,
1059
1074
  mainContentHeight: 0,
@@ -1079,7 +1094,7 @@ const initialState = {
1079
1094
  hasModalActive: false,
1080
1095
  isDimmerActive: false,
1081
1096
  };
1082
- // export class UxAppShellService extends UxRootInjectorGuard {
1097
+ // TODO: this service needs to be transferred in the respective component
1083
1098
  class UxAppShellService {
1084
1099
  constructor(config, http, platformId, router, storeService, i18nService) {
1085
1100
  this.config = config;
@@ -1096,8 +1111,6 @@ class UxAppShellService {
1096
1111
  this.activeModals = [];
1097
1112
  this.openModalId = new BehaviorSubject('');
1098
1113
  this.cssVars = [];
1099
- // super(UxAppShellService);
1100
- console.log('UxAppShellService initialized');
1101
1114
  let stateWithConfig = initialState;
1102
1115
  const languages = config?.i18n?.i18nService?.languages || initialState.languages;
1103
1116
  const defaultLanguage = config?.i18n?.i18nService?.defaultLanguage || initialState.activeLanguage;
@@ -1155,10 +1168,12 @@ class UxAppShellService {
1155
1168
  });
1156
1169
  }
1157
1170
  set isSidebarHover(isHover) {
1158
- this.setState({
1159
- ...this.state,
1160
- isSidebarHover: isHover,
1161
- });
1171
+ if (this.state.isSidebarExpandOnHover) {
1172
+ this.setState({
1173
+ ...this.state,
1174
+ isSidebarHover: isHover,
1175
+ });
1176
+ }
1162
1177
  }
1163
1178
  get isSidebarHover() {
1164
1179
  return this.state.isSidebarHover;
@@ -1314,6 +1329,13 @@ class UxAppShellService {
1314
1329
  });
1315
1330
  this.activateHeaderCssVars();
1316
1331
  }
1332
+ activateTopMessage(height) {
1333
+ this.setState({
1334
+ ...this.state,
1335
+ hasTopMessage: true,
1336
+ });
1337
+ this.activateTopMessageCssVars(height);
1338
+ }
1317
1339
  activateToolbar() {
1318
1340
  this.setState({
1319
1341
  ...this.state,
@@ -1321,11 +1343,20 @@ class UxAppShellService {
1321
1343
  });
1322
1344
  this.activateToolbarCssVars();
1323
1345
  }
1346
+ activateToolbarMenu() {
1347
+ this.setState({
1348
+ ...this.state,
1349
+ hasToolbarMenu: true,
1350
+ });
1351
+ }
1324
1352
  fetchCssVars() {
1325
1353
  const cssVarNames = [
1326
1354
  '--eui-app-header-height-default',
1327
1355
  '--eui-app-header-height-active',
1328
1356
  '--eui-app-header-height-shrink',
1357
+ '--eui-app-top-message-height-default',
1358
+ '--eui-app-top-message-height-active',
1359
+ '--eui-app-top-message-height-shrink',
1329
1360
  '--eui-app-toolbar-height-default',
1330
1361
  '--eui-app-toolbar-height-active',
1331
1362
  '--eui-app-sidebar-width-default',
@@ -1343,6 +1374,7 @@ class UxAppShellService {
1343
1374
  }
1344
1375
  initCssVars() {
1345
1376
  this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
1377
+ this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
1346
1378
  this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
1347
1379
  this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
1348
1380
  this.setCssVar('--eui-app-sidebar-width-close-default', '--eui-app-sidebar-width-close');
@@ -1352,6 +1384,9 @@ class UxAppShellService {
1352
1384
  activateHeaderCssVars() {
1353
1385
  this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
1354
1386
  }
1387
+ activateTopMessageCssVars(height) {
1388
+ this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
1389
+ }
1355
1390
  activateToolbarCssVars() {
1356
1391
  this.setCssVar('--eui-app-toolbar-height-active', '--eui-app-toolbar-height');
1357
1392
  }
@@ -1634,9 +1669,9 @@ class UxAppShellService {
1634
1669
  });
1635
1670
  }
1636
1671
  }
1637
- /** @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 });
1638
- /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxAppShellService, decorators: [{
1672
+ /** @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 });
1673
+ /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxAppShellService, decorators: [{
1640
1675
  type: Injectable,
1641
1676
  args: [{
1642
1677
  providedIn: 'root',
@@ -1686,8 +1721,8 @@ class CoreAppEffects {
1686
1721
  }));
1687
1722
  }
1688
1723
  }
1689
- /** @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 });
1690
- /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects });
1724
+ /** @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 });
1725
+ /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CoreAppEffects });
1691
1726
  __decorate([
1692
1727
  Effect()
1693
1728
  ], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
@@ -1697,7 +1732,7 @@ __decorate([
1697
1732
  __decorate([
1698
1733
  Effect({ dispatch: false })
1699
1734
  ], CoreAppEffects.prototype, "updateAppConnection", void 0);
1700
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1735
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CoreAppEffects, decorators: [{
1701
1736
  type: Injectable
1702
1737
  }], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
1703
1738
  type: Inject,
@@ -1856,10 +1891,12 @@ const coreReducers = Object.assign({}, {
1856
1891
  });
1857
1892
 
1858
1893
  const extend = extendProxy.default || extendProxy;
1894
+ /* tslint:disable */
1859
1895
  /**
1860
1896
  * Utility meta-reducer to load the state from the local storage
1861
1897
  * @param reducer the action reducer
1862
1898
  */
1899
+ /* tslint:enable */
1863
1900
  function localStorageSync(reducer) {
1864
1901
  return cb(reducer, localStorage);
1865
1902
  }
@@ -1872,10 +1909,12 @@ function sessionStorageSync(reducer) {
1872
1909
  }
1873
1910
  // Keys that are allowed to be synced with NgRx state from BrowserStorage
1874
1911
  const disallowedKeys = ['loadedConfigModules', 'connect', 'currentModule', 'status', 'apiQueue'];
1912
+ /* tslint:disable */
1875
1913
  /**
1876
1914
  * filters the AppState by removing those keys from the state and return a new state Object
1877
1915
  * @param app the AppState
1878
1916
  */
1917
+ /* tslint:enable */
1879
1918
  const filterAppState = (app) => {
1880
1919
  // in case app is undefined or null it should return empty object
1881
1920
  if (!app) {
@@ -1890,11 +1929,13 @@ const filterAppState = (app) => {
1890
1929
  return obj;
1891
1930
  }, {});
1892
1931
  };
1932
+ /* tslint:disable */
1893
1933
  /**
1894
1934
  *
1895
1935
  * @param storageType
1896
1936
  */
1897
1937
  const loadState = (storage = localStorage) => {
1938
+ /* tslint:enable */
1898
1939
  try {
1899
1940
  // by default falls back to localStorage
1900
1941
  const serializedState = storage.getItem('state');
@@ -1911,7 +1952,9 @@ const loadState = (storage = localStorage) => {
1911
1952
  return undefined;
1912
1953
  }
1913
1954
  };
1955
+ /* tslint:disable */
1914
1956
  const cb = (reducer, storage) => {
1957
+ /* tslint:enable */
1915
1958
  return function (state, action) {
1916
1959
  if (action.type === CoreAppActionTypes.INIT_STORE) {
1917
1960
  // This action must be dispatched from an app initializer
@@ -1960,9 +2003,9 @@ class StoreServiceMock extends StoreService {
1960
2003
  return of({});
1961
2004
  }
1962
2005
  }
1963
- /** @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 });
1964
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock });
1965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock, decorators: [{
2006
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2007
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceMock });
2008
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceMock, decorators: [{
1966
2009
  type: Injectable
1967
2010
  }], ctorParameters: function () { return []; } });
1968
2011
 
@@ -2007,12 +2050,12 @@ class CoreModule {
2007
2050
  };
2008
2051
  }
2009
2052
  }
2010
- /** @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 });
2011
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
2012
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [[
2053
+ /** @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 });
2054
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
2055
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CoreModule, imports: [[
2013
2056
  HttpClientModule,
2014
2057
  ]] });
2015
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, decorators: [{
2058
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CoreModule, decorators: [{
2016
2059
  type: NgModule,
2017
2060
  args: [{
2018
2061
  imports: [
@@ -2043,12 +2086,14 @@ function euiCoreRootGuardClass() {
2043
2086
  return new EuiCoreRootGuardClass();
2044
2087
  }
2045
2088
 
2089
+ /* tslint:disable */
2046
2090
  /**
2047
2091
  * Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations.
2048
2092
  * It needs to be added in your application main.ts file.
2049
2093
  * @param envConfig the current environment configuration
2050
2094
  * @returns the updated environment configuration, as a promise
2051
2095
  */
2096
+ /* tslint:enable */
2052
2097
  async function preInitApp(envConfig) {
2053
2098
  const envDynamicConfig = envConfig && envConfig.envDynamicConfig;
2054
2099
  if (envDynamicConfig) {
@@ -2134,9 +2179,9 @@ class GlobalErrorHandler extends ErrorHandler {
2134
2179
  super.handleError(error);
2135
2180
  }
2136
2181
  }
2137
- /** @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 });
2138
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2139
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2182
+ /** @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 });
2183
+ /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2140
2185
  type: Injectable,
2141
2186
  args: [{
2142
2187
  providedIn: 'root',
@@ -2183,9 +2228,9 @@ class HttpErrorHandlerInterceptor {
2183
2228
  return routes.length > 0 ? routes[0] : null;
2184
2229
  }
2185
2230
  }
2186
- /** @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 });
2187
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2231
+ /** @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 });
2232
+ /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HttpErrorHandlerInterceptor });
2233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2189
2234
  type: Injectable
2190
2235
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2191
2236
  type: Inject,
@@ -2278,7 +2323,6 @@ class ApiQueueService {
2278
2323
  .pipe(take(1), switchMap((queue) => {
2279
2324
  if (!queue) {
2280
2325
  this.logService.warn(`Queue item with id "${id}" does not exist`);
2281
- // tslint:disable-next-line:deprecation
2282
2326
  return of(null);
2283
2327
  }
2284
2328
  return this.buildHttpRequest(id, queue);
@@ -2297,7 +2341,6 @@ class ApiQueueService {
2297
2341
  if (!continueOnError) {
2298
2342
  throw error;
2299
2343
  }
2300
- // tslint:disable-next-line:deprecation
2301
2344
  return of(error);
2302
2345
  })))), switchMap((obsQueue) => forkJoin(Array.from(obsQueue))));
2303
2346
  }
@@ -2334,9 +2377,9 @@ class ApiQueueService {
2334
2377
  .pipe(tap(() => this.removeQueueItem(id)));
2335
2378
  }
2336
2379
  }
2337
- /** @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 });
2338
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, decorators: [{
2380
+ /** @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 });
2381
+ /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ApiQueueService, decorators: [{
2340
2383
  type: Injectable,
2341
2384
  args: [{
2342
2385
  providedIn: 'root',
@@ -2348,22 +2391,18 @@ class ApiQueueServiceMock extends ApiQueueService {
2348
2391
  super(null, null, null);
2349
2392
  }
2350
2393
  getQueue() {
2351
- // tslint:disable-next-line:deprecation
2352
2394
  return of([]);
2353
2395
  }
2354
2396
  getQueueItem(id) {
2355
- // tslint:disable-next-line:deprecation
2356
2397
  return of(null);
2357
2398
  }
2358
2399
  removeAllQueueItem() { }
2359
2400
  processAllQueueItems() {
2360
- // tslint:disable-next-line:deprecation
2361
2401
  return of({});
2362
2402
  }
2363
2403
  addQueueItem() { }
2364
2404
  removeQueueItem() { }
2365
2405
  processQueueItem() {
2366
- // tslint:disable-next-line:deprecation
2367
2406
  return of({});
2368
2407
  }
2369
2408
  }
@@ -2427,10 +2466,12 @@ const getStyle = (nativeEl, cssProp) => {
2427
2466
  const isStaticPositioned = (nativeEl) => {
2428
2467
  return (getStyle(nativeEl, 'position') || 'static') === 'static';
2429
2468
  };
2469
+ /* tslint:disable */
2430
2470
  /**
2431
2471
  * returns the closest, non-statically positioned parentOffset of a given element
2432
2472
  * @param nativeEl
2433
2473
  */
2474
+ /* tslint:enable */
2434
2475
  const parentOffsetEl = (nativeEl) => {
2435
2476
  let offsetParent = nativeEl.offsetParent || document;
2436
2477
  while (offsetParent && offsetParent !== document &&
@@ -2519,6 +2560,7 @@ const validateEmail = (c) => {
2519
2560
  const uniqueId = () => {
2520
2561
  return Math.random().toString(36).substr(2, 9);
2521
2562
  };
2563
+ /* tslint:disable */
2522
2564
  /**
2523
2565
  * Its job is to parse number and format it based on given input.
2524
2566
  * @param value can be a number or a string number
@@ -2526,6 +2568,7 @@ const uniqueId = () => {
2526
2568
  * @param inDecimalSeparator separator for decimal part of the number default is ','
2527
2569
  * @param inThousandSeparator separator for the whole part of the number default is ''
2528
2570
  */
2571
+ /* tslint:enable */
2529
2572
  const formatNumber = (value, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = '') => {
2530
2573
  if (inDecimalSeparator || inThousandSeparator) {
2531
2574
  console.warn('The inDecimalSeparator and inThousandSeparator are deprecated. They will be a ' +
@@ -2693,9 +2736,9 @@ class EuiPermissionService extends EuiService {
2693
2736
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2694
2737
  }
2695
2738
  }
2696
- /** @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 });
2697
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2698
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2739
+ /** @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 });
2740
+ /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuiPermissionService, decorators: [{
2699
2742
  type: Injectable,
2700
2743
  args: [{
2701
2744
  providedIn: 'root',
@@ -2756,9 +2799,9 @@ class UxDynamicMenuService {
2756
2799
  });
2757
2800
  }
2758
2801
  }
2759
- /** @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 });
2760
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2761
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2802
+ /** @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 });
2803
+ /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2804
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2762
2805
  type: Injectable,
2763
2806
  args: [{
2764
2807
  providedIn: 'root',
@@ -2826,9 +2869,9 @@ class UxErrorFeedbackService {
2826
2869
  return new UxErrorManager(this, true);
2827
2870
  }
2828
2871
  }
2829
- /** @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 });
2830
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2831
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2872
+ /** @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 });
2873
+ /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2874
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2832
2875
  type: Injectable,
2833
2876
  args: [{
2834
2877
  providedIn: 'root'
@@ -2923,9 +2966,9 @@ class UxDynamicComponentService {
2923
2966
  return new PortalInjector(this.injector, injectorTokens);
2924
2967
  }
2925
2968
  }
2926
- /** @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 });
2927
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2928
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2969
+ /** @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 });
2970
+ /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2971
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2929
2972
  type: Injectable,
2930
2973
  args: [{ providedIn: 'root' }]
2931
2974
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
@@ -3640,9 +3683,9 @@ class UxTimezoneService {
3640
3683
  });
3641
3684
  }
3642
3685
  }
3643
- /** @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 });
3644
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService });
3645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3686
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3687
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxTimezoneService });
3688
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxTimezoneService, decorators: [{
3646
3689
  type: Injectable
3647
3690
  }] });
3648
3691
 
@@ -3685,22 +3728,18 @@ class AsyncStorageService extends StorageService {
3685
3728
 
3686
3729
  class AsyncStorageServiceMock extends AsyncStorageService {
3687
3730
  ready() {
3688
- // tslint:disable-next-line:deprecation
3689
3731
  return of({});
3690
3732
  }
3691
3733
  name() {
3692
3734
  return null;
3693
3735
  }
3694
3736
  get() {
3695
- // tslint:disable-next-line:deprecation
3696
3737
  return of({});
3697
3738
  }
3698
3739
  set() {
3699
- // tslint:disable-next-line:deprecation
3700
3740
  return of({});
3701
3741
  }
3702
3742
  remove() {
3703
- // tslint:disable-next-line:deprecation
3704
3743
  return of({});
3705
3744
  }
3706
3745
  setAsync() {
@@ -3772,9 +3811,9 @@ class LocalStorageService extends StorageService {
3772
3811
  }
3773
3812
  }
3774
3813
  LocalStorageService.NAME = 'LocalStorageService';
3775
- /** @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 });
3776
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService });
3777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService, decorators: [{
3814
+ /** @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 });
3815
+ /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocalStorageService });
3816
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocalStorageService, decorators: [{
3778
3817
  type: Injectable
3779
3818
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3780
3819
  type: Optional
@@ -3843,15 +3882,17 @@ class SessionStorageService extends StorageService {
3843
3882
  }
3844
3883
  }
3845
3884
  SessionStorageService.NAME = 'SessionStorageService';
3846
- /** @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 });
3847
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService });
3848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService, decorators: [{
3885
+ /** @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 });
3886
+ /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SessionStorageService });
3887
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SessionStorageService, decorators: [{
3849
3888
  type: Injectable
3850
3889
  }], ctorParameters: function () { return [{ type: LogService, decorators: [{
3851
3890
  type: Optional
3852
3891
  }] }]; } });
3853
3892
 
3893
+ /* tslint:disable */
3854
3894
  /** @internal */
3895
+ /* tslint:enable */
3855
3896
  const localForage = 'defineDriver' in lf ? lf : lf['default'];
3856
3897
  const LOCAL_FORAGE_SERVICE_CONFIG_TOKEN = new InjectionToken('LOCAL_FORAGE_SERVICE_CONFIG');
3857
3898
  /**
@@ -3932,9 +3973,9 @@ class LocalForageService extends AsyncStorageService {
3932
3973
  }
3933
3974
  }
3934
3975
  LocalForageService.NAME = 'LocalForageService';
3935
- /** @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 });
3936
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService });
3937
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService, decorators: [{
3976
+ /** @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 });
3977
+ /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocalForageService });
3978
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocalForageService, decorators: [{
3938
3979
  type: Injectable
3939
3980
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3940
3981
  type: Inject,
@@ -4022,8 +4063,11 @@ class LocaleService extends EuiService {
4022
4063
  addLocale(id) {
4023
4064
  return this.loadLocale(id);
4024
4065
  }
4066
+ get previousLocale() {
4067
+ return this.prevStateInstance?.id || this.currentLocale;
4068
+ }
4025
4069
  get currentLocale() {
4026
- return this.stateInstance.id;
4070
+ return this.stateInstance?.id;
4027
4071
  }
4028
4072
  /**
4029
4073
  * load and register locale data dynamically
@@ -4055,9 +4099,11 @@ class LocaleService extends EuiService {
4055
4099
  bindTranslateServiceLangChangeToState() {
4056
4100
  if (this.i18n) {
4057
4101
  this.i18n.onStateChange.pipe(takeUntil(this.subNotifier),
4102
+ // filter out null values
4103
+ filter(state => state.activeLang !== null),
4058
4104
  // BEWARE: filter is based on convention that locale id sliced(2) will match activeLang e.g. en-US => en
4059
4105
  // Also, if activeLang is 'en' and locale is 'en-GB' it will not trigger locale change
4060
- filter(state => state?.activeLang?.toLowerCase() !== this.stateInstance?.id.slice(0, 2).toLowerCase()),
4106
+ filter(state => state.activeLang.toLowerCase() !== this.stateInstance?.id.slice(0, 2).toLowerCase()),
4061
4107
  // to check if registration of locale otherwise register it
4062
4108
  switchMap(value => of(value).pipe(
4063
4109
  // getLocaleId may throw Error(`Missing locale data for the locale "${locale}".`);
@@ -4071,7 +4117,7 @@ class LocaleService extends EuiService {
4071
4117
  if (this.log) {
4072
4118
  this.logger.debug(error);
4073
4119
  }
4074
- return this.loadLocale(value.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value.activeLang)), catchError(e => {
4120
+ return this.loadLocale(value?.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value?.activeLang)), catchError(e => {
4075
4121
  if (this.log) {
4076
4122
  this.logger.debug('Something went terribly really wrong during locale loading', e.err.message);
4077
4123
  }
@@ -4121,8 +4167,10 @@ class LocaleService extends EuiService {
4121
4167
  importLocale(id) {
4122
4168
  // in case of an error, catch it and return null
4123
4169
  return import(
4124
- /* webpackIgnore: true */
4125
- `@angular/common/locales/${id}`)
4170
+ /* webpackExclude: /\.d\.ts$/ */
4171
+ /* webpackMode: "lazy-once" */
4172
+ /* webpackChunkName: "i18n-base" */
4173
+ `@/../node_modules/@angular/common/locales/${id}`)
4126
4174
  .then(m => m.default)
4127
4175
  .catch(error => {
4128
4176
  if (this.log) {
@@ -4139,8 +4187,10 @@ class LocaleService extends EuiService {
4139
4187
  importExtraLocale(id) {
4140
4188
  // in case of an error, catch it and return null
4141
4189
  return import(
4142
- /* webpackIgnore: true */
4143
- `@angular/common/locales/extra/${id}`)
4190
+ /* webpackExclude: /\.d\.ts$/ */
4191
+ /* webpackMode: "lazy-once" */
4192
+ /* webpackChunkName: "i18n-extra" */
4193
+ `@/../node_modules/@angular/common/locales/extra/${id}`)
4144
4194
  .then(m => m.default)
4145
4195
  .catch(error => {
4146
4196
  if (this.log) {
@@ -4155,12 +4205,12 @@ class LocaleService extends EuiService {
4155
4205
  * @private
4156
4206
  */
4157
4207
  importDataAndExtraLocale(localeId) {
4158
- return from(this.importLocale(localeId)).pipe(mergeMap(() => from(this.importExtraLocale(localeId)).pipe(map((data, extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4208
+ return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4159
4209
  }
4160
4210
  }
4161
- /** @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 });
4162
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, decorators: [{
4211
+ /** @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 });
4212
+ /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocaleService, providedIn: 'root' });
4213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: LocaleService, decorators: [{
4164
4214
  type: Injectable,
4165
4215
  args: [{
4166
4216
  providedIn: 'root'
@@ -4215,9 +4265,9 @@ class UserService extends EuiService {
4215
4265
  this.store.dispatch(new UpdateUserStateAction(userState));
4216
4266
  }
4217
4267
  }
4218
- /** @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 });
4219
- /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, providedIn: 'root' });
4220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, decorators: [{
4268
+ /** @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 });
4269
+ /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserService, providedIn: 'root' });
4270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserService, decorators: [{
4221
4271
  type: Injectable,
4222
4272
  args: [{
4223
4273
  providedIn: 'root',
@@ -4248,9 +4298,9 @@ class UserServiceMock extends UserService {
4248
4298
  return of('anonymous');
4249
4299
  }
4250
4300
  }
4251
- /** @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 });
4252
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock });
4253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock, decorators: [{
4301
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4302
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserServiceMock });
4303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserServiceMock, decorators: [{
4254
4304
  type: Injectable
4255
4305
  }], ctorParameters: function () { return []; } });
4256
4306
 
@@ -4280,9 +4330,9 @@ class AddLangParamInterceptor {
4280
4330
  }));
4281
4331
  }
4282
4332
  }
4283
- /** @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 });
4284
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor });
4285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4333
+ /** @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 });
4334
+ /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddLangParamInterceptor });
4335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4286
4336
  type: Injectable
4287
4337
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4288
4338
 
@@ -4299,9 +4349,9 @@ class CachePreventionInterceptor {
4299
4349
  }));
4300
4350
  }
4301
4351
  }
4302
- /** @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 });
4303
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor });
4304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4352
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4353
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CachePreventionInterceptor });
4354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4305
4355
  type: Injectable
4306
4356
  }] });
4307
4357
 
@@ -4312,9 +4362,9 @@ class CorsSecurityInterceptor {
4312
4362
  }));
4313
4363
  }
4314
4364
  }
4315
- /** @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 });
4316
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor });
4317
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4365
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4366
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CorsSecurityInterceptor });
4367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4318
4368
  type: Injectable
4319
4369
  }] });
4320
4370
 
@@ -4325,9 +4375,9 @@ class CsrfPreventionInterceptor {
4325
4375
  }));
4326
4376
  }
4327
4377
  }
4328
- /** @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 });
4329
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor });
4330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4378
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4379
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CsrfPreventionInterceptor });
4380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4331
4381
  type: Injectable
4332
4382
  }] });
4333
4383
 
@@ -4378,13 +4428,12 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4378
4428
  }
4379
4429
  }
4380
4430
  reauthenticate(request, response) {
4381
- // tslint:disable-next-line:deprecation
4382
4431
  document.location.reload();
4383
4432
  }
4384
4433
  }
4385
- /** @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 });
4386
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4434
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4435
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4388
4437
  type: Injectable
4389
4438
  }] });
4390
4439
 
@@ -4405,9 +4454,9 @@ class UxRequestErrorModelInterceptor {
4405
4454
  }));
4406
4455
  }
4407
4456
  }
4408
- /** @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 });
4409
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4457
+ /** @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 });
4458
+ /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxRequestErrorModelInterceptor });
4459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4411
4460
  type: Injectable
4412
4461
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
4413
4462
  type: Inject,
@@ -4549,9 +4598,9 @@ class OpenIdConnectInterceptor {
4549
4598
  }
4550
4599
  }
4551
4600
  }
4552
- /** @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 });
4553
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor });
4554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4601
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4602
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectInterceptor });
4603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4555
4604
  type: Injectable
4556
4605
  }], ctorParameters: function () { return []; } });
4557
4606
 
@@ -4581,9 +4630,9 @@ class OpenIdConnectService {
4581
4630
  return this.userDetails;
4582
4631
  }
4583
4632
  }
4584
- /** @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 });
4585
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4586
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4633
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4634
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4635
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OpenIdConnectService, decorators: [{
4587
4636
  type: Injectable,
4588
4637
  args: [{
4589
4638
  providedIn: 'root'