@eui/core 13.0.0-rc.2 → 13.0.0-rc.20

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 (51) hide show
  1. package/docs/dependencies.html +40 -44
  2. package/docs/injectables/LocaleService.html +20 -0
  3. package/docs/injectables/UxAppShellService.html +37 -0
  4. package/docs/interfaces/UIState.html +45 -0
  5. package/docs/js/search/search_index.js +2 -2
  6. package/docs/miscellaneous/variables.html +2 -1
  7. package/esm2020/lib/eui-core.module.mjs +6 -6
  8. package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -5
  9. package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +3 -3
  10. package/esm2020/lib/interceptors/cors-security.interceptor.mjs +3 -3
  11. package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +3 -3
  12. package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +3 -3
  13. package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +3 -3
  14. package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +3 -3
  15. package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +3 -3
  16. package/esm2020/lib/services/errors/global-error-handler.mjs +4 -5
  17. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +5 -6
  18. package/esm2020/lib/services/i18n/i18n.loader.mjs +4 -6
  19. package/esm2020/lib/services/i18n/i18n.service.mjs +4 -7
  20. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +3 -3
  21. package/esm2020/lib/services/locale/locale.service.mjs +9 -8
  22. package/esm2020/lib/services/log/log.module.mjs +4 -4
  23. package/esm2020/lib/services/log/log.service.mjs +5 -5
  24. package/esm2020/lib/services/permission/permission.service.mjs +4 -6
  25. package/esm2020/lib/services/queue/api-queue.service.mjs +4 -7
  26. package/esm2020/lib/services/storage/local-forage.service.mjs +4 -5
  27. package/esm2020/lib/services/storage/local-storage.service.mjs +4 -5
  28. package/esm2020/lib/services/storage/session-storage.service.mjs +4 -5
  29. package/esm2020/lib/services/store/effects/app.effects.mjs +10 -16
  30. package/esm2020/lib/services/store/store.service.mjs +4 -6
  31. package/esm2020/lib/services/store/store.service.mock.mjs +3 -3
  32. package/esm2020/lib/services/user/user.service.mjs +4 -5
  33. package/esm2020/lib/services/user/user.service.mock.mjs +3 -3
  34. package/esm2020/lib/services/ux-app-shell.service.mjs +13 -9
  35. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +5 -5
  36. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -6
  37. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -6
  38. package/esm2020/lib/services/ux-timezone.service.mjs +3 -3
  39. package/fesm2015/eui-core.mjs +113 -107
  40. package/fesm2015/eui-core.mjs.map +1 -1
  41. package/fesm2020/eui-core.mjs +153 -146
  42. package/fesm2020/eui-core.mjs.map +1 -1
  43. package/lib/services/locale/locale.service.d.ts +1 -0
  44. package/lib/services/locale/locale.service.d.ts.map +1 -1
  45. package/lib/services/store/effects/app.effects.d.ts.map +1 -1
  46. package/lib/services/ux-app-shell.service.d.ts +3 -1
  47. package/lib/services/ux-app-shell.service.d.ts.map +1 -1
  48. package/package.json +1 -1
  49. package/esm2020/lib/services/ux-root-injector.guard.mjs +0 -11
  50. package/lib/services/ux-root-injector.guard.d.ts +0 -5
  51. package/lib/services/ux-root-injector.guard.d.ts.map +0 -1
@@ -13,7 +13,7 @@ import { throwError, forkJoin, of, BehaviorSubject, defer, merge, fromEvent, Obs
13
13
  import { debounceTime, distinctUntilChanged, map, catchError, switchMap, tap, filter, take, mapTo, mergeMap, concatMap, takeUntil } from 'rxjs/operators';
14
14
  import * as i1$1 from '@ngrx/store';
15
15
  import { createSelector } from '@ngrx/store';
16
- import { __decorate, __metadata, __awaiter } from 'tslib';
16
+ import { __decorate, __awaiter } from 'tslib';
17
17
  import * as i1$3 from '@ngrx/effects';
18
18
  import { ofType, Effect } from '@ngrx/effects';
19
19
  import * as i2 from '@ngx-translate/core';
@@ -168,9 +168,9 @@ class LogService extends Logger {
168
168
  return logger;
169
169
  }
170
170
  }
171
- /** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
172
- /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService });
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LogService, decorators: [{
171
+ /** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
172
+ /** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LogService });
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LogService, decorators: [{
174
174
  type: Injectable
175
175
  }], ctorParameters: function () {
176
176
  return [{ type: undefined, decorators: [{
@@ -342,10 +342,10 @@ class LogModule {
342
342
  };
343
343
  }
344
344
  }
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: [{
345
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", 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.2", ngImport: i0, type: LogModule });
347
+ /** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LogModule });
348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LogModule, decorators: [{
349
349
  type: NgModule
350
350
  }] });
351
351
 
@@ -437,9 +437,9 @@ class StoreService {
437
437
  }
438
438
  }
439
439
  }
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: [{
440
+ /** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", 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.2", ngImport: i0, type: StoreService, providedIn: 'root' });
442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: StoreService, decorators: [{
443
443
  type: Injectable,
444
444
  args: [{
445
445
  providedIn: 'root',
@@ -765,9 +765,9 @@ class I18nLoader {
765
765
  return undefined;
766
766
  }
767
767
  }
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: [{
768
+ /** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", 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.2", ngImport: i0, type: I18nLoader });
770
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: I18nLoader, decorators: [{
771
771
  type: Injectable
772
772
  }], ctorParameters: function () {
773
773
  return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
@@ -970,9 +970,9 @@ class I18nService extends EuiLazyService {
970
970
  this.document.documentElement.lang = lang;
971
971
  }
972
972
  }
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: [{
973
+ /** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
974
+ /** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: I18nService, providedIn: 'root' });
975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: I18nService, decorators: [{
976
976
  type: Injectable,
977
977
  args: [{
978
978
  providedIn: 'root',
@@ -1017,9 +1017,9 @@ class I18nServiceMock extends I18nService {
1017
1017
  return of({ success: true });
1018
1018
  }
1019
1019
  }
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: [{
1020
+ /** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", 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.2", ngImport: i0, type: I18nServiceMock });
1022
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: I18nServiceMock, decorators: [{
1023
1023
  type: Injectable
1024
1024
  }], ctorParameters: function () { return []; } });
1025
1025
 
@@ -1039,9 +1039,10 @@ const initialState = {
1039
1039
  hasHeader: false,
1040
1040
  hasHeaderLogo: false,
1041
1041
  hasHeaderEnvironment: false,
1042
+ hasToolbar: false,
1043
+ hasToolbarMenu: false,
1042
1044
  environmentValue: '',
1043
1045
  isSidebarHidden: false,
1044
- hasToolbar: false,
1045
1046
  windowWidth: 0,
1046
1047
  windowHeight: 0,
1047
1048
  mainContentHeight: 0,
@@ -1263,6 +1264,9 @@ class UxAppShellService {
1263
1264
  this.setState(Object.assign(Object.assign({}, this.state), { hasToolbar: true }));
1264
1265
  this.activateToolbarCssVars();
1265
1266
  }
1267
+ activateToolbarMenu() {
1268
+ this.setState(Object.assign(Object.assign({}, this.state), { hasToolbarMenu: true }));
1269
+ }
1266
1270
  fetchCssVars() {
1267
1271
  const cssVarNames = [
1268
1272
  '--eui-app-header-height-default',
@@ -1573,9 +1577,9 @@ class UxAppShellService {
1573
1577
  });
1574
1578
  }
1575
1579
  }
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: [{
1580
+ /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxAppShellService, deps: [{ token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i1$2.HttpClient }, { token: PLATFORM_ID }, { token: i2$1.Router }, { token: StoreService }, { token: I18nService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1581
+ /** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
1582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxAppShellService, decorators: [{
1579
1583
  type: Injectable,
1580
1584
  args: [{
1581
1585
  providedIn: 'root',
@@ -1627,21 +1631,18 @@ class CoreAppEffects {
1627
1631
  }));
1628
1632
  }
1629
1633
  }
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 });
1634
+ /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
1635
+ /** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CoreAppEffects });
1632
1636
  __decorate([
1633
- Effect(),
1634
- __metadata("design:type", Observable)
1637
+ Effect()
1635
1638
  ], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
1636
1639
  __decorate([
1637
- Effect(),
1638
- __metadata("design:type", Observable)
1640
+ Effect()
1639
1641
  ], CoreAppEffects.prototype, "activatedRoute", void 0);
1640
1642
  __decorate([
1641
- Effect({ dispatch: false }),
1642
- __metadata("design:type", Object)
1643
+ Effect({ dispatch: false })
1643
1644
  ], CoreAppEffects.prototype, "updateAppConnection", void 0);
1644
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreAppEffects, decorators: [{
1645
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CoreAppEffects, decorators: [{
1645
1646
  type: Injectable
1646
1647
  }], ctorParameters: function () {
1647
1648
  return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
@@ -1893,9 +1894,9 @@ class StoreServiceMock extends StoreService {
1893
1894
  return of({});
1894
1895
  }
1895
1896
  }
1896
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1897
- /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock });
1898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: StoreServiceMock, decorators: [{
1897
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1898
+ /** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: StoreServiceMock });
1899
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: StoreServiceMock, decorators: [{
1899
1900
  type: Injectable
1900
1901
  }], ctorParameters: function () { return []; } });
1901
1902
 
@@ -1940,12 +1941,12 @@ class CoreModule {
1940
1941
  };
1941
1942
  }
1942
1943
  }
1943
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
1944
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1945
- /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, imports: [[
1944
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
1945
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
1946
+ /** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CoreModule, imports: [[
1946
1947
  HttpClientModule,
1947
1948
  ]] });
1948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CoreModule, decorators: [{
1949
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CoreModule, decorators: [{
1949
1950
  type: NgModule,
1950
1951
  args: [{
1951
1952
  imports: [
@@ -2073,9 +2074,9 @@ class GlobalErrorHandler extends ErrorHandler {
2073
2074
  super.handleError(error);
2074
2075
  }
2075
2076
  }
2076
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2077
- /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2077
+ /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2078
+ /** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
2079
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: GlobalErrorHandler, decorators: [{
2079
2080
  type: Injectable,
2080
2081
  args: [{
2081
2082
  providedIn: 'root',
@@ -2122,9 +2123,9 @@ class HttpErrorHandlerInterceptor {
2122
2123
  return routes.length > 0 ? routes[0] : null;
2123
2124
  }
2124
2125
  }
2125
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2126
- /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
2127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2126
+ /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2127
+ /** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HttpErrorHandlerInterceptor });
2128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
2128
2129
  type: Injectable
2129
2130
  }], ctorParameters: function () {
2130
2131
  return [{ type: undefined, decorators: [{
@@ -2275,9 +2276,9 @@ class ApiQueueService {
2275
2276
  .pipe(tap(() => this.removeQueueItem(id)));
2276
2277
  }
2277
2278
  }
2278
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2279
- /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: ApiQueueService, decorators: [{
2279
+ /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2280
+ /** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
2281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: ApiQueueService, decorators: [{
2281
2282
  type: Injectable,
2282
2283
  args: [{
2283
2284
  providedIn: 'root',
@@ -2634,9 +2635,9 @@ class EuiPermissionService extends EuiService {
2634
2635
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2635
2636
  }
2636
2637
  }
2637
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2638
- /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuiPermissionService, decorators: [{
2638
+ /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2639
+ /** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
2640
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EuiPermissionService, decorators: [{
2640
2641
  type: Injectable,
2641
2642
  args: [{
2642
2643
  providedIn: 'root',
@@ -2699,9 +2700,9 @@ class UxDynamicMenuService {
2699
2700
  });
2700
2701
  }
2701
2702
  }
2702
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2703
- /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2704
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2703
+ /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
2704
+ /** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
2705
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxDynamicMenuService, decorators: [{
2705
2706
  type: Injectable,
2706
2707
  args: [{
2707
2708
  providedIn: 'root',
@@ -2769,9 +2770,9 @@ class UxErrorFeedbackService {
2769
2770
  return new UxErrorManager(this, true);
2770
2771
  }
2771
2772
  }
2772
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2773
- /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2773
+ /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2774
+ /** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
2775
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
2775
2776
  type: Injectable,
2776
2777
  args: [{
2777
2778
  providedIn: 'root'
@@ -2866,9 +2867,9 @@ class UxDynamicComponentService {
2866
2867
  return new PortalInjector(this.injector, injectorTokens);
2867
2868
  }
2868
2869
  }
2869
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2870
- /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2870
+ /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
2871
+ /** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
2872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxDynamicComponentService, decorators: [{
2872
2873
  type: Injectable,
2873
2874
  args: [{ providedIn: 'root' }]
2874
2875
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
@@ -3583,9 +3584,9 @@ class UxTimezoneService {
3583
3584
  });
3584
3585
  }
3585
3586
  }
3586
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3587
- /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService });
3588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxTimezoneService, decorators: [{
3587
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3588
+ /** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxTimezoneService });
3589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxTimezoneService, decorators: [{
3589
3590
  type: Injectable
3590
3591
  }] });
3591
3592
 
@@ -3715,9 +3716,9 @@ class LocalStorageService extends StorageService {
3715
3716
  }
3716
3717
  }
3717
3718
  LocalStorageService.NAME = 'LocalStorageService';
3718
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3719
- /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService });
3720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalStorageService, decorators: [{
3719
+ /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3720
+ /** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocalStorageService });
3721
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocalStorageService, decorators: [{
3721
3722
  type: Injectable
3722
3723
  }], ctorParameters: function () {
3723
3724
  return [{ type: LogService, decorators: [{
@@ -3788,9 +3789,9 @@ class SessionStorageService extends StorageService {
3788
3789
  }
3789
3790
  }
3790
3791
  SessionStorageService.NAME = 'SessionStorageService';
3791
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3792
- /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService });
3793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: SessionStorageService, decorators: [{
3792
+ /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3793
+ /** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: SessionStorageService });
3794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: SessionStorageService, decorators: [{
3794
3795
  type: Injectable
3795
3796
  }], ctorParameters: function () {
3796
3797
  return [{ type: LogService, decorators: [{
@@ -3879,9 +3880,9 @@ class LocalForageService extends AsyncStorageService {
3879
3880
  }
3880
3881
  }
3881
3882
  LocalForageService.NAME = 'LocalForageService';
3882
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3883
- /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService });
3884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocalForageService, decorators: [{
3883
+ /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3884
+ /** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocalForageService });
3885
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocalForageService, decorators: [{
3885
3886
  type: Injectable
3886
3887
  }], ctorParameters: function () {
3887
3888
  return [{ type: undefined, decorators: [{
@@ -3972,8 +3973,13 @@ class LocaleService extends EuiService {
3972
3973
  addLocale(id) {
3973
3974
  return this.loadLocale(id);
3974
3975
  }
3976
+ get previousLocale() {
3977
+ var _a;
3978
+ return ((_a = this.prevStateInstance) === null || _a === void 0 ? void 0 : _a.id) || this.currentLocale;
3979
+ }
3975
3980
  get currentLocale() {
3976
- return this.stateInstance.id;
3981
+ var _a;
3982
+ return (_a = this.stateInstance) === null || _a === void 0 ? void 0 : _a.id;
3977
3983
  }
3978
3984
  /**
3979
3985
  * load and register locale data dynamically
@@ -4108,9 +4114,9 @@ class LocaleService extends EuiService {
4108
4114
  return from(this.importLocale(localeId)).pipe(mergeMap(() => from(this.importExtraLocale(localeId)).pipe(map((data, extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
4109
4115
  }
4110
4116
  }
4111
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, deps: [{ token: StoreService }, { token: GLOBAL_CONFIG_TOKEN }, { token: LOCALE_ID }, { token: LOCALE_ID_MAPPER, optional: true }, { token: I18nService, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4112
- /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
4113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: LocaleService, decorators: [{
4117
+ /** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocaleService, deps: [{ token: StoreService }, { token: GLOBAL_CONFIG_TOKEN }, { token: LOCALE_ID }, { token: LOCALE_ID_MAPPER, optional: true }, { token: I18nService, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4118
+ /** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocaleService, providedIn: 'root' });
4119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: LocaleService, decorators: [{
4114
4120
  type: Injectable,
4115
4121
  args: [{
4116
4122
  providedIn: 'root'
@@ -4167,9 +4173,9 @@ class UserService extends EuiService {
4167
4173
  this.store.dispatch(new UpdateUserStateAction(userState));
4168
4174
  }
4169
4175
  }
4170
- /** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4171
- /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, providedIn: 'root' });
4172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserService, decorators: [{
4176
+ /** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
4177
+ /** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UserService, providedIn: 'root' });
4178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UserService, decorators: [{
4173
4179
  type: Injectable,
4174
4180
  args: [{
4175
4181
  providedIn: 'root',
@@ -4200,9 +4206,9 @@ class UserServiceMock extends UserService {
4200
4206
  return of('anonymous');
4201
4207
  }
4202
4208
  }
4203
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4204
- /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock });
4205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UserServiceMock, decorators: [{
4209
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4210
+ /** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UserServiceMock });
4211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UserServiceMock, decorators: [{
4206
4212
  type: Injectable
4207
4213
  }], ctorParameters: function () { return []; } });
4208
4214
 
@@ -4232,9 +4238,9 @@ class AddLangParamInterceptor {
4232
4238
  }));
4233
4239
  }
4234
4240
  }
4235
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4236
- /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor });
4237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4241
+ /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4242
+ /** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: AddLangParamInterceptor });
4243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
4238
4244
  type: Injectable
4239
4245
  }], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
4240
4246
 
@@ -4251,9 +4257,9 @@ class CachePreventionInterceptor {
4251
4257
  }));
4252
4258
  }
4253
4259
  }
4254
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4255
- /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor });
4256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4260
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4261
+ /** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CachePreventionInterceptor });
4262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
4257
4263
  type: Injectable
4258
4264
  }] });
4259
4265
 
@@ -4264,9 +4270,9 @@ class CorsSecurityInterceptor {
4264
4270
  }));
4265
4271
  }
4266
4272
  }
4267
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4268
- /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor });
4269
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4273
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4274
+ /** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CorsSecurityInterceptor });
4275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
4270
4276
  type: Injectable
4271
4277
  }] });
4272
4278
 
@@ -4277,9 +4283,9 @@ class CsrfPreventionInterceptor {
4277
4283
  }));
4278
4284
  }
4279
4285
  }
4280
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4281
- /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor });
4282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4286
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4287
+ /** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CsrfPreventionInterceptor });
4288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
4283
4289
  type: Injectable
4284
4290
  }] });
4285
4291
 
@@ -4334,9 +4340,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
4334
4340
  document.location.reload();
4335
4341
  }
4336
4342
  }
4337
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4338
- /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4343
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4344
+ /** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
4345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
4340
4346
  type: Injectable
4341
4347
  }] });
4342
4348
 
@@ -4357,9 +4363,9 @@ class UxRequestErrorModelInterceptor {
4357
4363
  }));
4358
4364
  }
4359
4365
  }
4360
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4361
- /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
4362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4366
+ /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
4367
+ /** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxRequestErrorModelInterceptor });
4368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
4363
4369
  type: Injectable
4364
4370
  }], ctorParameters: function () {
4365
4371
  return [{ type: undefined, decorators: [{
@@ -4503,9 +4509,9 @@ class OpenIdConnectInterceptor {
4503
4509
  }
4504
4510
  }
4505
4511
  }
4506
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4507
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor });
4508
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4512
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4513
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: OpenIdConnectInterceptor });
4514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
4509
4515
  type: Injectable
4510
4516
  }], ctorParameters: function () { return []; } });
4511
4517
 
@@ -4535,9 +4541,9 @@ class OpenIdConnectService {
4535
4541
  return this.userDetails;
4536
4542
  }
4537
4543
  }
4538
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4539
- /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
4544
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4545
+ /** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
4546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: OpenIdConnectService, decorators: [{
4541
4547
  type: Injectable,
4542
4548
  args: [{
4543
4549
  providedIn: 'root'