@eui/core 21.4.2-snapshot-1787737932680 → 22.0.0-alpha.2

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 (169) hide show
  1. package/CHANGELOG.md +375 -0
  2. package/docs/architecture.html +223 -0
  3. package/docs/changelog.html +510 -2
  4. package/docs/classes/ActivatedRouteAction.html +70 -20
  5. package/docs/classes/AddApiQueueItemAction.html +70 -20
  6. package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
  7. package/docs/classes/ApiQueueServiceMock.html +77 -20
  8. package/docs/classes/AsyncStorageService.html +86 -20
  9. package/docs/classes/AsyncStorageServiceMock.html +73 -17
  10. package/docs/classes/CssUtils.html +74 -20
  11. package/docs/classes/EmptyApiQueueAction.html +67 -17
  12. package/docs/classes/ErrorSubClass.html +68 -16
  13. package/docs/classes/EuiAppShellServiceMock.html +58 -20
  14. package/docs/classes/EuiCoreRootGuardClass.html +39 -8
  15. package/docs/classes/EuiError.html +69 -17
  16. package/docs/classes/I18nResourceImpl.html +49 -16
  17. package/docs/classes/InitStoreAction.html +70 -20
  18. package/docs/classes/LogServiceMock.html +67 -17
  19. package/docs/classes/RemoveApiQueueItemAction.html +67 -17
  20. package/docs/classes/StorageService.html +83 -19
  21. package/docs/classes/StorageServiceMock.html +70 -17
  22. package/docs/classes/TranslateLoaderMock.html +354 -0
  23. package/docs/classes/TranslateServiceMock.html +90 -35
  24. package/docs/classes/UpdateAppConnectionAction.html +67 -17
  25. package/docs/classes/UpdateAppStatusAction.html +67 -17
  26. package/docs/classes/UpdateAppVersionAction.html +67 -17
  27. package/docs/classes/UpdateCurrentModuleAction.html +67 -17
  28. package/docs/classes/UpdateI18nStateAction.html +67 -17
  29. package/docs/classes/UpdateLocaleStateAction.html +67 -17
  30. package/docs/classes/UpdateNotificationsListAction.html +67 -17
  31. package/docs/classes/UpdateUserDashboardAction.html +67 -17
  32. package/docs/classes/UpdateUserDetailsAction.html +67 -17
  33. package/docs/classes/UpdateUserPreferencesAction.html +67 -17
  34. package/docs/classes/UpdateUserRightsAction.html +67 -17
  35. package/docs/classes/UpdateUserStateAction.html +67 -17
  36. package/docs/dependencies.html +38 -4
  37. package/docs/directives/TranslateMockDirective.html +72 -19
  38. package/docs/index.html +27 -3
  39. package/docs/injectables/ApiQueueService.html +97 -20
  40. package/docs/injectables/EuiAppShellService.html +149 -70
  41. package/docs/injectables/EuiDynamicComponentService.html +51 -18
  42. package/docs/injectables/EuiDynamicMenuService.html +67 -20
  43. package/docs/injectables/EuiGrowlService.html +85 -21
  44. package/docs/injectables/EuiLoaderService.html +65 -17
  45. package/docs/injectables/EuiPermissionService.html +95 -20
  46. package/docs/injectables/EuiThemeService.html +88 -33
  47. package/docs/injectables/EuiTimezoneService.html +51 -16
  48. package/docs/injectables/GlobalErrorHandler.html +79 -17
  49. package/docs/injectables/I18nLoader.html +53 -17
  50. package/docs/injectables/I18nService.html +100 -22
  51. package/docs/injectables/I18nServiceMock.html +96 -34
  52. package/docs/injectables/LocalForageService.html +81 -21
  53. package/docs/injectables/LocalStorageService.html +78 -21
  54. package/docs/injectables/LocaleService.html +124 -41
  55. package/docs/injectables/LocaleServiceMock.html +72 -18
  56. package/docs/injectables/LogService.html +68 -17
  57. package/docs/injectables/SessionStorageService.html +78 -21
  58. package/docs/injectables/StoreService.html +88 -19
  59. package/docs/injectables/StoreServiceMock.html +72 -17
  60. package/docs/injectables/UserService.html +96 -22
  61. package/docs/injectables/UserServiceMock.html +81 -23
  62. package/docs/interceptors/AddLangParamInterceptor.html +49 -18
  63. package/docs/interceptors/CachePreventionInterceptor.html +48 -17
  64. package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
  65. package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
  66. package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
  67. package/docs/interceptors/HttpErrorHandlerInterceptor.html +47 -16
  68. package/docs/interceptors/UxRequestErrorModelInterceptor.html +47 -16
  69. package/docs/interfaces/Action.html +158 -60
  70. package/docs/interfaces/ActionReducer.html +84 -55
  71. package/docs/interfaces/ComponentInfo.html +151 -123
  72. package/docs/interfaces/Dependency.html +278 -250
  73. package/docs/interfaces/Edit-1.html +151 -123
  74. package/docs/interfaces/Edit-2.html +151 -123
  75. package/docs/interfaces/Edit-3.html +395 -0
  76. package/docs/interfaces/Edit.html +151 -123
  77. package/docs/interfaces/EuiComponentEntry.html +230 -202
  78. package/docs/interfaces/EuiTimeZone.html +121 -93
  79. package/docs/interfaces/IEuiTheme.html +181 -153
  80. package/docs/interfaces/ImportToAdd.html +164 -136
  81. package/docs/interfaces/ImportsArrayInfo.html +121 -93
  82. package/docs/interfaces/Library.html +169 -137
  83. package/docs/interfaces/LoadedResources.html +164 -136
  84. package/docs/interfaces/LoadedResourcesError.html +121 -93
  85. package/docs/interfaces/MemoizedSelector.html +187 -138
  86. package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
  87. package/docs/interfaces/MigrateAllSchema.html +228 -200
  88. package/docs/interfaces/MigrationResult.html +151 -123
  89. package/docs/interfaces/ModuleLoadEvent.html +164 -136
  90. package/docs/interfaces/ModuleMapping.html +121 -93
  91. package/docs/interfaces/NgModuleInfo.html +151 -123
  92. package/docs/interfaces/Policy.html +164 -136
  93. package/docs/interfaces/ResourceError.html +170 -142
  94. package/docs/interfaces/Schema-1.html +140 -112
  95. package/docs/interfaces/Schema-10.html +140 -112
  96. package/docs/interfaces/Schema-11.html +140 -112
  97. package/docs/interfaces/Schema-12.html +140 -112
  98. package/docs/interfaces/Schema-13.html +140 -112
  99. package/docs/interfaces/Schema-14.html +140 -112
  100. package/docs/interfaces/Schema-15.html +140 -112
  101. package/docs/interfaces/Schema-16.html +140 -112
  102. package/docs/interfaces/Schema-17.html +140 -112
  103. package/docs/interfaces/Schema-18.html +140 -112
  104. package/docs/interfaces/Schema-19.html +140 -112
  105. package/docs/interfaces/Schema-2.html +141 -113
  106. package/docs/interfaces/Schema-20.html +140 -112
  107. package/docs/interfaces/Schema-21.html +368 -0
  108. package/docs/interfaces/Schema-3.html +180 -152
  109. package/docs/interfaces/Schema-4.html +140 -112
  110. package/docs/interfaces/Schema-5.html +140 -112
  111. package/docs/interfaces/Schema-6.html +140 -112
  112. package/docs/interfaces/Schema-7.html +140 -112
  113. package/docs/interfaces/Schema-8.html +140 -112
  114. package/docs/interfaces/Schema-9.html +140 -112
  115. package/docs/interfaces/Schema.html +184 -156
  116. package/docs/interfaces/SelectorEntry.html +230 -202
  117. package/docs/interfaces/TextChange.html +151 -123
  118. package/docs/interfaces/ThemeState.html +121 -93
  119. package/docs/interfaces/TranslationKeys.html +41 -11
  120. package/docs/interfaces/UIState.html +1757 -1684
  121. package/docs/interfaces/body.html +181 -153
  122. package/docs/js/architecture-graph.js +288 -0
  123. package/docs/js/libs/bootstrap-native.js +4 -2
  124. package/docs/js/libs/tablesort.min.js +2 -2
  125. package/docs/js/libs/tablesort.number.min.js +2 -2
  126. package/docs/js/libs/vis-network.min.js +7 -7
  127. package/docs/js/menu-wc.js +56 -14
  128. package/docs/js/routes.js +138 -37
  129. package/docs/js/search/search.js +62 -0
  130. package/docs/js/search/search_index.js +2 -2
  131. package/docs/js/tabs.js +98 -15
  132. package/docs/js/tree.js +44 -7
  133. package/docs/json/EuiPermissionService.md +1 -0
  134. package/docs/json/LocaleService.md +1 -0
  135. package/docs/json/documentation.json +6494 -1009
  136. package/docs/license.html +26 -2
  137. package/docs/llms.txt +2326 -0
  138. package/docs/miscellaneous/enumerations.html +34 -10
  139. package/docs/miscellaneous/functions.html +1189 -517
  140. package/docs/miscellaneous/typealiases.html +59 -27
  141. package/docs/miscellaneous/variables.html +257 -175
  142. package/docs/modules/CoreModule.html +34 -9
  143. package/docs/modules/I18nModule.html +34 -9
  144. package/docs/modules/LogModule.html +34 -9
  145. package/docs/modules/TranslateMockModule.html +60 -13
  146. package/docs/modules.html +26 -2
  147. package/docs/overview.html +29 -5
  148. package/docs/pipes/TranslateMockPipe.html +87 -9
  149. package/docs/properties.html +27 -3
  150. package/docs/routes.html +26 -2
  151. package/docs/styles/compodoc.css +365 -44
  152. package/docs/styles/dark.css +16 -0
  153. package/docs/template-playground/hbs-render.service.ts +6 -1
  154. package/fesm2022/eui-core.mjs +144 -135
  155. package/fesm2022/eui-core.mjs.map +1 -1
  156. package/package.json +11 -11
  157. package/schematics/collection.json +5 -0
  158. package/schematics/migrate/index.js +2 -1
  159. package/schematics/migrate/index.js.map +1 -1
  160. package/schematics/migrate/replacements/eui-modules.js +6 -2
  161. package/schematics/migrate/replacements/eui-modules.js.map +1 -1
  162. package/schematics/migrate-all/index.js +1 -0
  163. package/schematics/migrate-all/index.js.map +1 -1
  164. package/schematics/migrate-eui-tooltip/index.d.ts +7 -0
  165. package/schematics/migrate-eui-tooltip/index.js +263 -0
  166. package/schematics/migrate-eui-tooltip/index.js.map +1 -0
  167. package/types/eui-core.d.ts +15 -13
  168. package/types/eui-core.d.ts.map +1 -1
  169. package/docs/js/menu-wc_es5.js +0 -40
@@ -1,7 +1,7 @@
1
1
  import { ConsoleAppender, LogLevel, initialAppState, initialUserState, initialNotificationsState, initialI18nState, initialLocaleState, Logger, LoggerMock, initialCoreState, xhr, mergeAll, getI18nLoaderConfig, EuiLazyService, getI18nServiceConfigFromBase, getBrowserDefaultLanguage, EuiEuLanguages, EuiService, getUserState, getLocaleServiceConfigFromBase, transformToUxHttpResponse } from '@eui/base';
2
2
  export * from '@eui/base';
3
3
  import * as i0 from '@angular/core';
4
- import { InjectionToken, inject, PLATFORM_ID, Injectable, Injector, NgModule, Optional, SkipSelf, provideAppInitializer, ErrorHandler, ApplicationRef, LOCALE_ID, Pipe, ElementRef, Input, Directive } from '@angular/core';
4
+ import { InjectionToken, inject, PLATFORM_ID, Injectable, Injector, NgModule, Optional, SkipSelf, provideAppInitializer, ErrorHandler, ApplicationRef, LOCALE_ID, signal, Pipe, ElementRef, Input, Directive } from '@angular/core';
5
5
  import { deepmerge } from 'deepmerge-ts';
6
6
  import { isPlatformBrowser, LOCATION_INITIALIZED, DOCUMENT, isPlatformServer, getLocaleId, registerLocaleData } from '@angular/common';
7
7
  import { BehaviorSubject, of, forkJoin, from, Subject, defer, firstValueFrom } from 'rxjs';
@@ -12,7 +12,7 @@ import { MomentDateAdapter } from '@angular/material-moment-adapter';
12
12
  import { HttpErrorResponse, HttpClient, HttpResponse } from '@angular/common/http';
13
13
  import { Router } from '@angular/router';
14
14
  import { createSelector } from 'reselect';
15
- import { TranslateLoader, TranslateService } from '@ngx-translate/core';
15
+ import { provideTranslateLoader, TranslateService, TranslateLoader } from '@ngx-translate/core';
16
16
  import { toSignal } from '@angular/core/rxjs-interop';
17
17
  import { By } from '@angular/platform-browser';
18
18
  import { FormGroup, FormArray } from '@angular/forms';
@@ -705,10 +705,10 @@ class LogService extends Logger {
705
705
  }
706
706
  return logger;
707
707
  }
708
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
709
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LogService }); }
708
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
709
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LogService }); }
710
710
  }
711
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LogService, decorators: [{
711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LogService, decorators: [{
712
712
  type: Injectable
713
713
  }], ctorParameters: () => [] });
714
714
 
@@ -806,11 +806,11 @@ class LogModule {
806
806
  ],
807
807
  };
808
808
  }
809
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
810
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.21", ngImport: i0, type: LogModule }); }
811
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LogModule }); }
809
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
810
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: LogModule }); }
811
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LogModule }); }
812
812
  }
813
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LogModule, decorators: [{
813
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LogModule, decorators: [{
814
814
  type: NgModule
815
815
  }] });
816
816
 
@@ -965,10 +965,10 @@ class StoreService {
965
965
  isObject(item) {
966
966
  return item && typeof item === 'object' && !Array.isArray(item);
967
967
  }
968
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
969
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StoreService, providedIn: 'root' }); }
968
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: StoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
969
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: StoreService, providedIn: 'root' }); }
970
970
  }
971
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StoreService, decorators: [{
971
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: StoreService, decorators: [{
972
972
  type: Injectable,
973
973
  args: [{
974
974
  providedIn: 'root',
@@ -986,10 +986,10 @@ class StoreServiceMock extends StoreService {
986
986
  select() {
987
987
  return of({});
988
988
  }
989
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
990
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StoreServiceMock }); }
989
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
990
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: StoreServiceMock }); }
991
991
  }
992
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: StoreServiceMock, decorators: [{
992
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: StoreServiceMock, decorators: [{
993
993
  type: Injectable
994
994
  }], ctorParameters: () => [] });
995
995
 
@@ -1082,11 +1082,11 @@ class CoreModule {
1082
1082
  storeService.updateState({ moduleName, moduleConfig }, AddAppLoadedConfigModules);
1083
1083
  }
1084
1084
  }
1085
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1086
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.21", ngImport: i0, type: CoreModule }); }
1087
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CoreModule }); }
1085
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1086
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: CoreModule }); }
1087
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CoreModule }); }
1088
1088
  }
1089
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CoreModule, decorators: [{
1089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CoreModule, decorators: [{
1090
1090
  type: NgModule
1091
1091
  }], ctorParameters: () => [] });
1092
1092
  const createEuiCoreRootGuard = (core) => {
@@ -1232,10 +1232,10 @@ class GlobalErrorHandler extends ErrorHandler {
1232
1232
  // throw error;
1233
1233
  super.handleError(error);
1234
1234
  }
1235
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: GlobalErrorHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1236
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' }); }
1235
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GlobalErrorHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1236
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' }); }
1237
1237
  }
1238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: GlobalErrorHandler, decorators: [{
1238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GlobalErrorHandler, decorators: [{
1239
1239
  type: Injectable,
1240
1240
  args: [{
1241
1241
  providedIn: 'root',
@@ -1287,10 +1287,10 @@ class HttpErrorHandlerInterceptor {
1287
1287
  // return the first matching route, if any
1288
1288
  return routes.length > 0 ? routes[0] : null;
1289
1289
  }
1290
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1291
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: HttpErrorHandlerInterceptor }); }
1290
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1291
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: HttpErrorHandlerInterceptor }); }
1292
1292
  }
1293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
1293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
1294
1294
  type: Injectable
1295
1295
  }] });
1296
1296
 
@@ -1331,9 +1331,6 @@ class EuiGrowlService {
1331
1331
  throw new Error('EuiGrowlService.growl() ERROR : message severity must be either : success, warning, info, danger');
1332
1332
  }
1333
1333
  else {
1334
- if (isMultiple === undefined || !isMultiple) {
1335
- this.growlMessages.next([]);
1336
- }
1337
1334
  msg.life = life || msg.life;
1338
1335
  msg.sticky = isSticky || msg.sticky;
1339
1336
  if (life === undefined || isNaN(life)) {
@@ -1365,7 +1362,8 @@ class EuiGrowlService {
1365
1362
  if (ariaLive) {
1366
1363
  this.ariaGrowlLive.next(ariaLive);
1367
1364
  }
1368
- this.growlMessages.next([...this.growlMessages.value, msg]);
1365
+ const base = isMultiple ? this.growlMessages.value.filter(m => !m.dismissed) : [];
1366
+ this.growlMessages.next([...base, msg]);
1369
1367
  }
1370
1368
  }
1371
1369
  /**
@@ -1415,10 +1413,10 @@ class EuiGrowlService {
1415
1413
  growlInfo(msg, position) {
1416
1414
  this.growl({ severity: 'info', summary: 'INFO', detail: msg }, false, false, undefined, position);
1417
1415
  }
1418
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiGrowlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1419
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiGrowlService, providedIn: 'root' }); }
1416
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiGrowlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1417
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiGrowlService, providedIn: 'root' }); }
1420
1418
  }
1421
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiGrowlService, decorators: [{
1419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiGrowlService, decorators: [{
1422
1420
  type: Injectable,
1423
1421
  args: [{
1424
1422
  providedIn: 'root',
@@ -1778,10 +1776,10 @@ class ApiQueueService {
1778
1776
  buildHttpRequest(id, item) {
1779
1777
  return this.http[item.method.toLowerCase()](item.uri, item.payload).pipe(tap(() => this.removeQueueItem(id)));
1780
1778
  }
1781
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ApiQueueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1782
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ApiQueueService, providedIn: 'root' }); }
1779
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: ApiQueueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1780
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: ApiQueueService, providedIn: 'root' }); }
1783
1781
  }
1784
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ApiQueueService, decorators: [{
1782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: ApiQueueService, decorators: [{
1785
1783
  type: Injectable,
1786
1784
  args: [{
1787
1785
  providedIn: 'root',
@@ -2054,17 +2052,14 @@ class I18nLoader {
2054
2052
  }
2055
2053
  return undefined;
2056
2054
  }
2057
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: I18nLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2058
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: I18nLoader }); }
2055
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: I18nLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2056
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: I18nLoader }); }
2059
2057
  }
2060
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: I18nLoader, decorators: [{
2058
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: I18nLoader, decorators: [{
2061
2059
  type: Injectable
2062
2060
  }], ctorParameters: () => [] });
2063
2061
  const translateConfig = {
2064
- loader: {
2065
- provide: TranslateLoader,
2066
- useClass: I18nLoader,
2067
- },
2062
+ loader: provideTranslateLoader(I18nLoader),
2068
2063
  };
2069
2064
 
2070
2065
  const getLastAddedModule = (state) => state.app.loadedConfigModules.lastAddedModule;
@@ -2075,6 +2070,7 @@ class I18nService extends EuiLazyService {
2075
2070
  this.baseGlobalConfig = inject(GLOBAL_CONFIG_TOKEN);
2076
2071
  this.translateService = inject(TranslateService);
2077
2072
  this.logService = inject(LogService, { optional: true });
2073
+ this.translateLoader = inject(TranslateLoader);
2078
2074
  this.store = inject(StoreService);
2079
2075
  this.document = inject(DOCUMENT);
2080
2076
  this.subNotifier = new Subject();
@@ -2173,7 +2169,7 @@ class I18nService extends EuiLazyService {
2173
2169
  addResources(config, moduleName) {
2174
2170
  // emit that module is loading
2175
2171
  this.onModuleLoad.next({ ready: false, name: moduleName });
2176
- const loader = this.translateService.currentLoader;
2172
+ const loader = this.translateLoader;
2177
2173
  if (loader instanceof I18nLoader) {
2178
2174
  // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
2179
2175
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -2182,13 +2178,13 @@ class I18nService extends EuiLazyService {
2182
2178
  // add the resources to the loader
2183
2179
  const resources = i18nLoader.addResources(config);
2184
2180
  // manually load the resources for the CURRENT language and add them to the translate service
2185
- langSubscription.push(i18nLoader.loadResources(resources, this.translateService.currentLang).pipe(take(1), tap((loadedResources) => {
2181
+ langSubscription.push(i18nLoader.loadResources(resources, this.translateService.currentLang()).pipe(take(1), tap((loadedResources) => {
2186
2182
  // add the new set of translations to the current language
2187
- this.translateService.setTranslation(this.translateService.currentLang, loadedResources.translations, true);
2183
+ this.translateService.setTranslation(this.translateService.currentLang(), loadedResources.translations, true);
2188
2184
  })));
2189
2185
  // if the current language is different from the DEFAULT language
2190
- const defaultLang = this.config.defaultLanguage || this.translateService.defaultLang;
2191
- if (this.translateService.currentLang !== defaultLang) {
2186
+ const defaultLang = this.config.defaultLanguage || this.translateService.fallbackLang();
2187
+ if (this.translateService.currentLang() !== defaultLang) {
2192
2188
  // manually load the resources for the default language and add them to the translation service
2193
2189
  langSubscription.push(i18nLoader.loadResources(resources, defaultLang).pipe(take(1), tap((loadedResources) => {
2194
2190
  this.translateService.setTranslation(defaultLang, loadedResources.translations, true);
@@ -2240,8 +2236,8 @@ class I18nService extends EuiLazyService {
2240
2236
  this.setDefaultLanguage(this.config.defaultLanguage);
2241
2237
  }
2242
2238
  }), map(() => {
2243
- if (this.translateService.currentLoader instanceof I18nLoader) {
2244
- const failedResources = this.translateService.currentLoader.getFailedResources();
2239
+ if (this.translateLoader instanceof I18nLoader) {
2240
+ const failedResources = this.translateLoader.getFailedResources();
2245
2241
  if (failedResources.length > 0) {
2246
2242
  return { success: false, error: failedResources };
2247
2243
  }
@@ -2253,7 +2249,7 @@ class I18nService extends EuiLazyService {
2253
2249
  this.getState((s) => s.activeLang)
2254
2250
  .pipe(takeUntil(this.subNotifier))
2255
2251
  .subscribe((lang) => {
2256
- if (lang !== null && this.translateService.currentLang !== lang) {
2252
+ if (lang !== null && this.translateService.currentLang() !== lang) {
2257
2253
  this.use(lang);
2258
2254
  }
2259
2255
  });
@@ -2271,7 +2267,7 @@ class I18nService extends EuiLazyService {
2271
2267
  setDefaultLanguage(defaultLanguage) {
2272
2268
  // removed, current language is already calculated in init, setup function fill use it directly, not default
2273
2269
  // this.translateService.currentLang = default_language || this.config.defaultLanguage;
2274
- this.translateService.setDefaultLang(defaultLanguage);
2270
+ this.translateService.setFallbackLang(defaultLanguage);
2275
2271
  if (this.logService) {
2276
2272
  this.logService.info(`I18n default language set to ${defaultLanguage}`);
2277
2273
  }
@@ -2296,10 +2292,10 @@ class I18nService extends EuiLazyService {
2296
2292
  updateHTMLDOMLang(lang) {
2297
2293
  this.document.documentElement.lang = lang;
2298
2294
  }
2299
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2300
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: I18nService, providedIn: 'root' }); }
2295
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2296
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: I18nService, providedIn: 'root' }); }
2301
2297
  }
2302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: I18nService, decorators: [{
2298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: I18nService, decorators: [{
2303
2299
  type: Injectable,
2304
2300
  args: [{
2305
2301
  providedIn: 'root',
@@ -2932,10 +2928,10 @@ class EuiPermissionService extends EuiService {
2932
2928
  }
2933
2929
  return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
2934
2930
  }
2935
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiPermissionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2936
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiPermissionService, providedIn: 'root' }); }
2931
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiPermissionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2932
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiPermissionService, providedIn: 'root' }); }
2937
2933
  }
2938
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiPermissionService, decorators: [{
2934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiPermissionService, decorators: [{
2939
2935
  type: Injectable,
2940
2936
  args: [{
2941
2937
  providedIn: 'root',
@@ -2993,10 +2989,10 @@ class EuiDynamicMenuService {
2993
2989
  return true;
2994
2990
  });
2995
2991
  }
2996
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiDynamicMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2997
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiDynamicMenuService, providedIn: 'root' }); }
2992
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiDynamicMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2993
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiDynamicMenuService, providedIn: 'root' }); }
2998
2994
  }
2999
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiDynamicMenuService, decorators: [{
2995
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiDynamicMenuService, decorators: [{
3000
2996
  type: Injectable,
3001
2997
  args: [{
3002
2998
  providedIn: 'root',
@@ -3061,10 +3057,10 @@ class EuiDynamicComponentService {
3061
3057
  parent: this.injector,
3062
3058
  });
3063
3059
  }
3064
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiDynamicComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3065
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiDynamicComponentService }); }
3060
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiDynamicComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3061
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiDynamicComponentService }); }
3066
3062
  }
3067
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiDynamicComponentService, decorators: [{
3063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiDynamicComponentService, decorators: [{
3068
3064
  type: Injectable
3069
3065
  }] });
3070
3066
 
@@ -3220,6 +3216,7 @@ class EuiAppShellService {
3220
3216
  this._breakpoints$ = new BehaviorSubject({});
3221
3217
  this.bindActiveLanguageToAppShellState();
3222
3218
  }
3219
+ //eslint-disable-next-line @typescript-eslint/no-explicit-any
3223
3220
  setState(nextState, updateI18 = true) {
3224
3221
  let breakpoint, breakpoints;
3225
3222
  let combinedLinks;
@@ -3473,10 +3470,10 @@ class EuiAppShellService {
3473
3470
  }
3474
3471
  });
3475
3472
  }
3476
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiAppShellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3477
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiAppShellService, providedIn: 'root' }); }
3473
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiAppShellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3474
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiAppShellService, providedIn: 'root' }); }
3478
3475
  }
3479
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiAppShellService, decorators: [{
3476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiAppShellService, decorators: [{
3480
3477
  type: Injectable,
3481
3478
  args: [{
3482
3479
  providedIn: 'root',
@@ -4190,10 +4187,10 @@ class EuiTimezoneService {
4190
4187
  getTimezone(tz) {
4191
4188
  return EUI_TIMEZONES.find((item) => item.name === tz);
4192
4189
  }
4193
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4194
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiTimezoneService }); }
4190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4191
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiTimezoneService }); }
4195
4192
  }
4196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiTimezoneService, decorators: [{
4193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiTimezoneService, decorators: [{
4197
4194
  type: Injectable
4198
4195
  }] });
4199
4196
 
@@ -4374,10 +4371,10 @@ class EuiThemeService {
4374
4371
  }
4375
4372
  }
4376
4373
  }
4377
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4378
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiThemeService, providedIn: 'root' }); }
4374
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4375
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiThemeService, providedIn: 'root' }); }
4379
4376
  }
4380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiThemeService, decorators: [{
4377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiThemeService, decorators: [{
4381
4378
  type: Injectable,
4382
4379
  args: [{
4383
4380
  providedIn: 'root',
@@ -4518,10 +4515,10 @@ class LocalStorageService extends StorageService {
4518
4515
  }
4519
4516
  }
4520
4517
  }
4521
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocalStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
4522
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocalStorageService }); }
4518
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocalStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
4519
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocalStorageService }); }
4523
4520
  }
4524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocalStorageService, decorators: [{
4521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocalStorageService, decorators: [{
4525
4522
  type: Injectable
4526
4523
  }] });
4527
4524
 
@@ -4591,10 +4588,10 @@ class SessionStorageService extends StorageService {
4591
4588
  }
4592
4589
  }
4593
4590
  }
4594
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: SessionStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
4595
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: SessionStorageService }); }
4591
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: SessionStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
4592
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: SessionStorageService }); }
4596
4593
  }
4597
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: SessionStorageService, decorators: [{
4594
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: SessionStorageService, decorators: [{
4598
4595
  type: Injectable
4599
4596
  }] });
4600
4597
 
@@ -4697,10 +4694,10 @@ class LocalForageService extends AsyncStorageService {
4697
4694
  },
4698
4695
  }));
4699
4696
  }
4700
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocalForageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4701
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocalForageService }); }
4697
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocalForageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4698
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocalForageService }); }
4702
4699
  }
4703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocalForageService, decorators: [{
4700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocalForageService, decorators: [{
4704
4701
  type: Injectable
4705
4702
  }], ctorParameters: () => [] });
4706
4703
 
@@ -4905,10 +4902,10 @@ class LocaleService extends EuiService {
4905
4902
  return false;
4906
4903
  }
4907
4904
  }
4908
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4909
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocaleService, providedIn: 'root' }); }
4905
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4906
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocaleService, providedIn: 'root' }); }
4910
4907
  }
4911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocaleService, decorators: [{
4908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocaleService, decorators: [{
4912
4909
  type: Injectable,
4913
4910
  args: [{
4914
4911
  providedIn: 'root',
@@ -4939,10 +4936,10 @@ class LocaleServiceMock extends LocaleService {
4939
4936
  this.DEFAULT_LOCALE = state.id || 'en';
4940
4937
  return of({ success: true });
4941
4938
  }
4942
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocaleServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4943
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocaleServiceMock }); }
4939
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocaleServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4940
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocaleServiceMock }); }
4944
4941
  }
4945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: LocaleServiceMock, decorators: [{
4942
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: LocaleServiceMock, decorators: [{
4946
4943
  type: Injectable
4947
4944
  }], ctorParameters: () => [] });
4948
4945
 
@@ -5233,10 +5230,10 @@ class EuiLoaderService {
5233
5230
  this.loadStyle(dependency);
5234
5231
  }
5235
5232
  }
5236
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5237
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiLoaderService, providedIn: 'root' }); }
5233
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5234
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiLoaderService, providedIn: 'root' }); }
5238
5235
  }
5239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuiLoaderService, decorators: [{
5236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuiLoaderService, decorators: [{
5240
5237
  type: Injectable,
5241
5238
  args: [{
5242
5239
  providedIn: 'root',
@@ -5298,10 +5295,10 @@ class UserService extends EuiService {
5298
5295
  getSignal() {
5299
5296
  return this.state;
5300
5297
  }
5301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5302
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UserService, providedIn: 'root' }); }
5298
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5299
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserService, providedIn: 'root' }); }
5303
5300
  }
5304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UserService, decorators: [{
5301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserService, decorators: [{
5305
5302
  type: Injectable,
5306
5303
  args: [{
5307
5304
  providedIn: 'root',
@@ -5321,10 +5318,10 @@ class UserServiceMock extends UserService {
5321
5318
  updateState(userState, reducer) {
5322
5319
  /* empty */
5323
5320
  }
5324
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5325
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UserServiceMock }); }
5321
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5322
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserServiceMock }); }
5326
5323
  }
5327
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UserServiceMock, decorators: [{
5324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UserServiceMock, decorators: [{
5328
5325
  type: Injectable
5329
5326
  }], ctorParameters: () => [] });
5330
5327
 
@@ -5345,7 +5342,7 @@ class AddLangParamInterceptor {
5345
5342
  return next.handle(req);
5346
5343
  }
5347
5344
  // take the current language from the translate service
5348
- const langValue = this.translateService.currentLang;
5345
+ const langValue = this.translateService.currentLang();
5349
5346
  return next.handle(req.clone({
5350
5347
  // remove the lang param header from headers
5351
5348
  headers: req.headers.delete(LANG_PARAM_KEY),
@@ -5353,10 +5350,10 @@ class AddLangParamInterceptor {
5353
5350
  params: req.params.set(langParam, langValue),
5354
5351
  }));
5355
5352
  }
5356
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: AddLangParamInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5357
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: AddLangParamInterceptor }); }
5353
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: AddLangParamInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5354
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: AddLangParamInterceptor }); }
5358
5355
  }
5359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
5356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
5360
5357
  type: Injectable
5361
5358
  }] });
5362
5359
 
@@ -5372,10 +5369,10 @@ class CachePreventionInterceptor {
5372
5369
  headers: req.headers.set('Cache-Control', 'No-Cache'),
5373
5370
  }));
5374
5371
  }
5375
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5376
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CachePreventionInterceptor }); }
5372
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5373
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CachePreventionInterceptor }); }
5377
5374
  }
5378
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
5375
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
5379
5376
  type: Injectable
5380
5377
  }] });
5381
5378
 
@@ -5385,10 +5382,10 @@ class CorsSecurityInterceptor {
5385
5382
  withCredentials: true,
5386
5383
  }));
5387
5384
  }
5388
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5389
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CorsSecurityInterceptor }); }
5385
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5386
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CorsSecurityInterceptor }); }
5390
5387
  }
5391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
5388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
5392
5389
  type: Injectable
5393
5390
  }] });
5394
5391
 
@@ -5398,10 +5395,10 @@ class CsrfPreventionInterceptor {
5398
5395
  headers: request.headers.set('X-Requested-With', 'XMLHttpRequest'),
5399
5396
  }));
5400
5397
  }
5401
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5402
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CsrfPreventionInterceptor }); }
5398
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5399
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CsrfPreventionInterceptor }); }
5403
5400
  }
5404
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
5401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
5405
5402
  type: Injectable
5406
5403
  }] });
5407
5404
 
@@ -5468,10 +5465,10 @@ class EuLoginSessionTimeoutHandlingInterceptor {
5468
5465
  reauthenticate() {
5469
5466
  document.location.reload();
5470
5467
  }
5471
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5472
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor }); }
5468
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5469
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor }); }
5473
5470
  }
5474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
5471
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
5475
5472
  type: Injectable
5476
5473
  }] });
5477
5474
 
@@ -5495,10 +5492,10 @@ class UxRequestErrorModelInterceptor {
5495
5492
  return of(err);
5496
5493
  }));
5497
5494
  }
5498
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5499
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UxRequestErrorModelInterceptor }); }
5495
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5496
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UxRequestErrorModelInterceptor }); }
5500
5497
  }
5501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
5498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
5502
5499
  type: Injectable
5503
5500
  }] });
5504
5501
 
@@ -5509,19 +5506,21 @@ class TranslateServiceMock {
5509
5506
  constructor() {
5510
5507
  this.onLangChangeSubject = new Subject();
5511
5508
  this.onTranslationChangeSubject = new Subject();
5512
- this.onDefaultLangChangeSubject = new Subject();
5509
+ this.onFallbackLangChangeSubject = new Subject();
5513
5510
  this.isLoadedSubject = new BehaviorSubject(true);
5514
5511
  this.onLangChange = this.onLangChangeSubject.asObservable();
5515
5512
  this.onTranslationChange = this.onTranslationChangeSubject.asObservable();
5516
- this.onDefaultLangChange = this.onDefaultLangChangeSubject.asObservable();
5513
+ this.onFallbackLangChange = this.onFallbackLangChangeSubject.asObservable();
5517
5514
  this.isLoaded = this.isLoadedSubject.asObservable();
5515
+ this.currentLang = signal(null, /* @ts-ignore */
5516
+ ...(ngDevMode ? [{ debugName: "currentLang" }] : /* istanbul ignore next */ []));
5518
5517
  this.languages = [DEFAULT_LANGUAGE];
5519
5518
  }
5520
5519
  get(content) {
5521
5520
  return of(TRANSLATED_STRING + content);
5522
5521
  }
5523
5522
  use(lang) {
5524
- this.currentLang = lang;
5523
+ this.currentLang.set(lang);
5525
5524
  this.onLangChangeSubject.next({ lang });
5526
5525
  }
5527
5526
  addLangs(langs) {
@@ -5541,20 +5540,20 @@ class TranslateServiceMock {
5541
5540
  instant(key) {
5542
5541
  return TRANSLATED_STRING + key.toString();
5543
5542
  }
5544
- setDefaultLang(lang) {
5545
- this.onDefaultLangChangeSubject.next(lang);
5543
+ setFallbackLang(lang) {
5544
+ this.onFallbackLangChangeSubject.next(lang);
5546
5545
  }
5547
5546
  }
5548
5547
  class TranslateMockPipe {
5549
5548
  transform(text) {
5550
5549
  return !text ? TRANSLATED_STRING : `${text}-${TRANSLATED_STRING}`;
5551
5550
  }
5552
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5553
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockPipe, isStandalone: false, name: "translate" }); }
5551
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5552
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockPipe, isStandalone: true, name: "translate" }); }
5554
5553
  }
5555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockPipe, decorators: [{
5554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockPipe, decorators: [{
5556
5555
  type: Pipe,
5557
- args: [{ name: 'translate', standalone: false }]
5556
+ args: [{ name: 'translate' }]
5558
5557
  }] });
5559
5558
  /* eslint-disable @typescript-eslint/no-explicit-any */
5560
5559
  class TranslateMockDirective {
@@ -5564,30 +5563,40 @@ class TranslateMockDirective {
5564
5563
  ngAfterViewChecked() {
5565
5564
  this._element.nativeElement.innerText += TRANSLATED_STRING;
5566
5565
  }
5567
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5568
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: TranslateMockDirective, isStandalone: false, selector: "[translate]", inputs: { translateParams: "translateParams" }, ngImport: i0 }); }
5566
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5567
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: TranslateMockDirective, isStandalone: true, selector: "[translate]", inputs: { translateParams: "translateParams" }, ngImport: i0 }); }
5569
5568
  }
5570
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockDirective, decorators: [{
5569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockDirective, decorators: [{
5571
5570
  type: Directive,
5572
5571
  args: [{
5573
5572
  // eslint-disable-next-line @angular-eslint/directive-selector
5574
5573
  selector: '[translate]',
5575
- standalone: false,
5576
5574
  }]
5577
5575
  }], propDecorators: { translateParams: [{
5578
5576
  type: Input
5579
5577
  }] } });
5578
+ class TranslateLoaderMock {
5579
+ getTranslation() {
5580
+ return of({});
5581
+ }
5582
+ }
5580
5583
  class TranslateMockModule {
5581
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5582
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockModule, declarations: [TranslateMockPipe, TranslateMockDirective], exports: [TranslateMockPipe, TranslateMockDirective] }); }
5583
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockModule, providers: [{ provide: TranslateService, useClass: TranslateServiceMock }] }); }
5584
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5585
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockModule, imports: [TranslateMockPipe, TranslateMockDirective], exports: [TranslateMockPipe, TranslateMockDirective] }); }
5586
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockModule, providers: [
5587
+ { provide: TranslateService, useClass: TranslateServiceMock },
5588
+ { provide: TranslateLoader, useClass: TranslateLoaderMock },
5589
+ ] }); }
5584
5590
  }
5585
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: TranslateMockModule, decorators: [{
5591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TranslateMockModule, decorators: [{
5586
5592
  type: NgModule,
5587
5593
  args: [{
5588
- declarations: [TranslateMockPipe, TranslateMockDirective],
5594
+ imports: [TranslateMockPipe, TranslateMockDirective],
5589
5595
  exports: [TranslateMockPipe, TranslateMockDirective],
5590
- providers: [{ provide: TranslateService, useClass: TranslateServiceMock }],
5596
+ providers: [
5597
+ { provide: TranslateService, useClass: TranslateServiceMock },
5598
+ { provide: TranslateLoader, useClass: TranslateLoaderMock },
5599
+ ],
5591
5600
  }]
5592
5601
  }] });
5593
5602
 
@@ -5616,5 +5625,5 @@ class EuiAppShellServiceMock {
5616
5625
  * Generated bundle index. Do not edit.
5617
5626
  */
5618
5627
 
5619
- export { ActivatedRouteAction, AddApiQueueItemAction, AddAppLoadedConfigModulesAction, AddLangParamInterceptor, AlertHttpErrorCallbackFn, ApiQueueService, ApiQueueServiceMock, AsyncStorageService, AsyncStorageServiceMock, BASE_LOGGER_NAME_TOKEN, BASE_NAME_TOKEN, BrowserStorageType, CONFIG_TOKEN, CORE_ROOT_GUARD, CachePreventionInterceptor, ConsoleHttpErrorCallbackFn, CoreAppActionTypes, CoreI18nActionTypes, CoreLocaleActionTypes, CoreModule, CoreNotificationsActionTypes, CoreUserActionTypes, CorsSecurityInterceptor, CsrfPreventionInterceptor, CssUtils, DEFAULT_LANGUAGE, DYNAMIC_COMPONENT_CONFIG, EUI_CONFIG_TOKEN, EUI_COUNTRIES, EUI_TIMEZONES, EmptyApiQueueAction, ErrorSubClass, EuLoginSessionTimeoutHandlingInterceptor, EuiAppShellService, EuiAppShellServiceMock, EuiCoreRootGuardClass, EuiDynamicComponentService, EuiDynamicMenuService, EuiError, EuiGrowlService, EuiLoaderService, EuiPermissionService, EuiTheme, EuiThemeService, EuiTimezoneService, GLOBAL_CONFIG_TOKEN, GlobalErrorHandler, GrowlHttpErrorCallbackFn, HTTP_ERROR_HANDLER_CONFIG_TOKEN, HttpErrorHandlerInterceptor, I18nLoader, I18nResourceImpl, I18nService, InitStoreAction, LANG_PARAM_KEY, LOCALE_ID_MAPPER, LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, LOG_APPENDERS_TOKEN, LOG_LEVEL_TOKEN, LocalForageService, LocalStorageService, LocaleService, LocaleServiceMock, LogHttpErrorCallbackFn, LogModule, LogService, LogServiceMock, MODULE_CONFIG_TOKEN, MODULE_NAME_TOKEN, PLATFORM_BROWSER_ID, ROOT_LOG_CONFIG_TOKEN, RemoveApiQueueItemAction, SHOW_CONNECTION_STATUS_TOKEN, SessionStorageService, Status, StorageService, StorageServiceMock, StoreService, StoreServiceMock, TRANSLATED_STRING, TranslateMockDirective, TranslateMockModule, TranslateMockPipe, TranslateServiceMock, UX_ERROR_MAPPING_HANDLER_TOKEN, UpdateAppConnectionAction, UpdateAppStatusAction, UpdateAppVersionAction, UpdateCurrentModuleAction, UpdateI18nStateAction, UpdateLocaleStateAction, UpdateNotificationsListAction, UpdateUserDashboardAction, UpdateUserDetailsAction, UpdateUserPreferencesAction, UpdateUserRightsAction, UpdateUserStateAction, UserService, UserServiceMock, UxRequestErrorModelInterceptor, closestMatchingParent, consumeEvent, convertLegacyInterpolations, corI18nReducers, coreAppReducers, coreLocaleReducers, coreNotificationsReducers, coreUserReducers, createEuiCoreRootGuard, diffDays, diffDaysFromToday, errorCodes, euiCoreRootGuardClass, formatNumber, getCoreChildProviders, getCoreProviders, getDependencyProviders, getGlobalConfig, getHttpErrorHandlingConfig, getModuleConfig, getRootLogConfig, getShowConnectionStatus, getViewElement, handleError, injectOptional, isDefined, loadEuiDynamicEnvironmentConfig, loadState, localForage, localStorageSync, markControlsTouched, markFormGroupTouched, mergeAppHandlerConfigToAppConfig, mergeAppJsonConfigToAppConfig, offset, parentOffsetEl, position, preInitApp, prepareEuiAppConfigToken, provideEuiInitializer, coreReducers as reducers, sessionStorageSync, transformTranslations, translateConfig, uniqueId, validateEmail };
5628
+ export { ActivatedRouteAction, AddApiQueueItemAction, AddAppLoadedConfigModulesAction, AddLangParamInterceptor, AlertHttpErrorCallbackFn, ApiQueueService, ApiQueueServiceMock, AsyncStorageService, AsyncStorageServiceMock, BASE_LOGGER_NAME_TOKEN, BASE_NAME_TOKEN, BrowserStorageType, CONFIG_TOKEN, CORE_ROOT_GUARD, CachePreventionInterceptor, ConsoleHttpErrorCallbackFn, CoreAppActionTypes, CoreI18nActionTypes, CoreLocaleActionTypes, CoreModule, CoreNotificationsActionTypes, CoreUserActionTypes, CorsSecurityInterceptor, CsrfPreventionInterceptor, CssUtils, DEFAULT_LANGUAGE, DYNAMIC_COMPONENT_CONFIG, EUI_CONFIG_TOKEN, EUI_COUNTRIES, EUI_TIMEZONES, EmptyApiQueueAction, ErrorSubClass, EuLoginSessionTimeoutHandlingInterceptor, EuiAppShellService, EuiAppShellServiceMock, EuiCoreRootGuardClass, EuiDynamicComponentService, EuiDynamicMenuService, EuiError, EuiGrowlService, EuiLoaderService, EuiPermissionService, EuiTheme, EuiThemeService, EuiTimezoneService, GLOBAL_CONFIG_TOKEN, GlobalErrorHandler, GrowlHttpErrorCallbackFn, HTTP_ERROR_HANDLER_CONFIG_TOKEN, HttpErrorHandlerInterceptor, I18nLoader, I18nResourceImpl, I18nService, InitStoreAction, LANG_PARAM_KEY, LOCALE_ID_MAPPER, LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, LOG_APPENDERS_TOKEN, LOG_LEVEL_TOKEN, LocalForageService, LocalStorageService, LocaleService, LocaleServiceMock, LogHttpErrorCallbackFn, LogModule, LogService, LogServiceMock, MODULE_CONFIG_TOKEN, MODULE_NAME_TOKEN, PLATFORM_BROWSER_ID, ROOT_LOG_CONFIG_TOKEN, RemoveApiQueueItemAction, SHOW_CONNECTION_STATUS_TOKEN, SessionStorageService, Status, StorageService, StorageServiceMock, StoreService, StoreServiceMock, TRANSLATED_STRING, TranslateLoaderMock, TranslateMockDirective, TranslateMockModule, TranslateMockPipe, TranslateServiceMock, UX_ERROR_MAPPING_HANDLER_TOKEN, UpdateAppConnectionAction, UpdateAppStatusAction, UpdateAppVersionAction, UpdateCurrentModuleAction, UpdateI18nStateAction, UpdateLocaleStateAction, UpdateNotificationsListAction, UpdateUserDashboardAction, UpdateUserDetailsAction, UpdateUserPreferencesAction, UpdateUserRightsAction, UpdateUserStateAction, UserService, UserServiceMock, UxRequestErrorModelInterceptor, closestMatchingParent, consumeEvent, convertLegacyInterpolations, corI18nReducers, coreAppReducers, coreLocaleReducers, coreNotificationsReducers, coreUserReducers, createEuiCoreRootGuard, diffDays, diffDaysFromToday, errorCodes, euiCoreRootGuardClass, formatNumber, getCoreChildProviders, getCoreProviders, getDependencyProviders, getGlobalConfig, getHttpErrorHandlingConfig, getModuleConfig, getRootLogConfig, getShowConnectionStatus, getViewElement, handleError, injectOptional, isDefined, loadEuiDynamicEnvironmentConfig, loadState, localForage, localStorageSync, markControlsTouched, markFormGroupTouched, mergeAppHandlerConfigToAppConfig, mergeAppJsonConfigToAppConfig, offset, parentOffsetEl, position, preInitApp, prepareEuiAppConfigToken, provideEuiInitializer, coreReducers as reducers, sessionStorageSync, transformTranslations, translateConfig, uniqueId, validateEmail };
5620
5629
  //# sourceMappingURL=eui-core.mjs.map