@eui/core 23.0.0-alpha.1 → 23.0.0-alpha.3
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.
- package/CHANGELOG.md +455 -0
- package/assets/i18n-eui/bg.json +7 -0
- package/assets/i18n-eui/cs.json +7 -0
- package/assets/i18n-eui/da.json +7 -0
- package/assets/i18n-eui/de.json +7 -0
- package/assets/i18n-eui/el.json +7 -0
- package/assets/i18n-eui/en.json +8 -1
- package/assets/i18n-eui/es.json +7 -0
- package/assets/i18n-eui/et.json +7 -0
- package/assets/i18n-eui/fi.json +7 -0
- package/assets/i18n-eui/fr.json +8 -1
- package/assets/i18n-eui/ga.json +7 -0
- package/assets/i18n-eui/hr.json +7 -0
- package/assets/i18n-eui/hu.json +7 -0
- package/assets/i18n-eui/it.json +7 -0
- package/assets/i18n-eui/lt.json +7 -0
- package/assets/i18n-eui/lv.json +7 -0
- package/assets/i18n-eui/mt.json +7 -0
- package/assets/i18n-eui/nl.json +7 -0
- package/assets/i18n-eui/pl.json +7 -0
- package/assets/i18n-eui/pt.json +7 -0
- package/assets/i18n-eui/ro.json +7 -0
- package/assets/i18n-eui/sk.json +7 -0
- package/assets/i18n-eui/sl.json +7 -0
- package/assets/i18n-eui/sv.json +7 -0
- package/docs/architecture.html +223 -0
- package/docs/changelog.html +773 -2
- package/docs/classes/ActivatedRouteAction.html +70 -20
- package/docs/classes/AddApiQueueItemAction.html +70 -20
- package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
- package/docs/classes/ApiQueueServiceMock.html +77 -20
- package/docs/classes/AsyncStorageService.html +86 -20
- package/docs/classes/AsyncStorageServiceMock.html +73 -17
- package/docs/classes/CssUtils.html +74 -20
- package/docs/classes/EmptyApiQueueAction.html +67 -17
- package/docs/classes/ErrorSubClass.html +68 -16
- package/docs/classes/EuiAppShellServiceMock.html +505 -0
- package/docs/classes/EuiCoreRootGuardClass.html +39 -8
- package/docs/classes/EuiError.html +69 -17
- package/docs/classes/I18nResourceImpl.html +50 -17
- package/docs/classes/InitStoreAction.html +70 -20
- package/docs/classes/LogServiceMock.html +67 -17
- package/docs/classes/RemoveApiQueueItemAction.html +67 -17
- package/docs/classes/StorageService.html +83 -19
- package/docs/classes/StorageServiceMock.html +70 -17
- package/docs/classes/TranslateServiceMock.html +90 -35
- package/docs/classes/UpdateAppConnectionAction.html +67 -17
- package/docs/classes/UpdateAppStatusAction.html +67 -17
- package/docs/classes/UpdateAppVersionAction.html +67 -17
- package/docs/classes/UpdateCurrentModuleAction.html +67 -17
- package/docs/classes/UpdateI18nStateAction.html +67 -17
- package/docs/classes/UpdateLocaleStateAction.html +67 -17
- package/docs/classes/UpdateNotificationsListAction.html +67 -17
- package/docs/classes/UpdateUserDashboardAction.html +67 -17
- package/docs/classes/UpdateUserDetailsAction.html +67 -17
- package/docs/classes/UpdateUserPreferencesAction.html +67 -17
- package/docs/classes/UpdateUserRightsAction.html +67 -17
- package/docs/classes/UpdateUserStateAction.html +67 -17
- package/docs/dependencies.html +38 -4
- package/docs/directives/TranslateMockDirective.html +72 -19
- package/docs/index.html +26 -2
- package/docs/injectables/ApiQueueService.html +97 -20
- package/docs/injectables/EuiAppShellService.html +147 -68
- package/docs/injectables/EuiDynamicComponentService.html +51 -18
- package/docs/injectables/EuiDynamicMenuService.html +67 -20
- package/docs/injectables/EuiGrowlService.html +85 -21
- package/docs/injectables/EuiLoaderService.html +65 -17
- package/docs/injectables/EuiPermissionService.html +95 -20
- package/docs/injectables/EuiThemeService.html +94 -107
- package/docs/injectables/EuiTimezoneService.html +51 -16
- package/docs/injectables/GlobalErrorHandler.html +79 -17
- package/docs/injectables/I18nLoader.html +53 -17
- package/docs/injectables/I18nService.html +101 -23
- package/docs/injectables/I18nServiceMock.html +96 -34
- package/docs/injectables/LocalForageService.html +81 -21
- package/docs/injectables/LocalStorageService.html +78 -21
- package/docs/injectables/LocaleService.html +124 -41
- package/docs/injectables/LocaleServiceMock.html +72 -18
- package/docs/injectables/LogService.html +68 -17
- package/docs/injectables/SessionStorageService.html +78 -21
- package/docs/injectables/StoreService.html +91 -22
- package/docs/injectables/StoreServiceMock.html +72 -17
- package/docs/injectables/UserService.html +97 -23
- package/docs/injectables/UserServiceMock.html +81 -23
- package/docs/interceptors/AddLangParamInterceptor.html +49 -18
- package/docs/interceptors/CachePreventionInterceptor.html +48 -17
- package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
- package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
- package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
- package/docs/interceptors/HttpErrorHandlerInterceptor.html +48 -17
- package/docs/interceptors/UxRequestErrorModelInterceptor.html +48 -17
- package/docs/interfaces/Action.html +158 -60
- package/docs/interfaces/ActionReducer.html +84 -55
- package/docs/interfaces/ComponentInfo.html +395 -0
- package/docs/interfaces/Dependency.html +278 -250
- package/docs/interfaces/Edit-1.html +395 -0
- package/docs/interfaces/Edit-2.html +395 -0
- package/docs/interfaces/Edit.html +395 -0
- package/docs/interfaces/EuiComponentEntry.html +485 -0
- package/docs/interfaces/EuiTimeZone.html +121 -93
- package/docs/interfaces/IEuiTheme.html +181 -153
- package/docs/interfaces/ImportToAdd.html +413 -0
- package/docs/interfaces/ImportsArrayInfo.html +356 -0
- package/docs/interfaces/Library.html +169 -137
- package/docs/interfaces/LoadedResources.html +164 -136
- package/docs/interfaces/LoadedResourcesError.html +121 -93
- package/docs/interfaces/MemoizedSelector.html +187 -138
- package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
- package/docs/interfaces/MigrateAllSchema.html +458 -0
- package/docs/interfaces/MigrationResult.html +395 -0
- package/docs/interfaces/ModuleLoadEvent.html +164 -136
- package/docs/interfaces/ModuleMapping.html +356 -0
- package/docs/interfaces/NgModuleInfo.html +395 -0
- package/docs/interfaces/Policy.html +164 -136
- package/docs/interfaces/ResourceError.html +170 -142
- package/docs/interfaces/Schema-1.html +368 -0
- package/docs/interfaces/Schema-10.html +368 -0
- package/docs/interfaces/Schema-11.html +368 -0
- package/docs/interfaces/Schema-12.html +368 -0
- package/docs/interfaces/Schema-13.html +368 -0
- package/docs/interfaces/Schema-14.html +368 -0
- package/docs/interfaces/Schema-15.html +368 -0
- package/docs/interfaces/Schema-16.html +368 -0
- package/docs/interfaces/Schema-17.html +368 -0
- package/docs/interfaces/Schema-18.html +368 -0
- package/docs/interfaces/Schema-19.html +368 -0
- package/docs/interfaces/Schema-2.html +380 -0
- package/docs/interfaces/Schema-20.html +368 -0
- package/docs/interfaces/Schema-3.html +431 -0
- package/docs/interfaces/Schema-4.html +368 -0
- package/docs/interfaces/Schema-5.html +368 -0
- package/docs/interfaces/Schema-6.html +368 -0
- package/docs/interfaces/Schema-7.html +368 -0
- package/docs/interfaces/Schema-8.html +368 -0
- package/docs/interfaces/Schema-9.html +368 -0
- package/docs/interfaces/Schema.html +413 -0
- package/docs/interfaces/SelectorEntry.html +511 -0
- package/docs/interfaces/TextChange.html +395 -0
- package/docs/interfaces/ThemeState.html +121 -93
- package/docs/interfaces/TranslationKeys.html +41 -11
- package/docs/interfaces/UIState.html +1669 -1641
- package/docs/interfaces/body.html +181 -153
- package/docs/js/architecture-graph.js +288 -0
- package/docs/js/libs/bootstrap-native.js +4 -2
- package/docs/js/libs/tablesort.min.js +3 -3
- package/docs/js/libs/tablesort.number.min.js +2 -2
- package/docs/js/libs/vis-network.min.js +7 -7
- package/docs/js/menu-wc.js +152 -14
- package/docs/js/routes.js +138 -37
- package/docs/js/search/search.js +62 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/js/tabs.js +98 -15
- package/docs/js/tree.js +44 -7
- package/docs/json/EuiPermissionService.md +1 -0
- package/docs/json/LocaleService.md +1 -0
- package/docs/json/documentation.json +43075 -14389
- package/docs/license.html +26 -2
- package/docs/llms.txt +2282 -0
- package/docs/miscellaneous/enumerations.html +38 -34
- package/docs/miscellaneous/functions.html +19294 -769
- package/docs/miscellaneous/typealiases.html +59 -27
- package/docs/miscellaneous/variables.html +4226 -1284
- package/docs/modules/CoreModule.html +34 -9
- package/docs/modules/I18nModule.html +34 -9
- package/docs/modules/LogModule.html +34 -9
- package/docs/modules/TranslateMockModule.html +60 -13
- package/docs/modules.html +26 -2
- package/docs/overview.html +29 -5
- package/docs/pipes/TranslateMockPipe.html +87 -9
- package/docs/properties.html +27 -3
- package/docs/routes.html +26 -2
- package/docs/styles/compodoc.css +365 -44
- package/docs/styles/dark.css +16 -0
- package/docs/template-playground/hbs-render.service.ts +6 -1
- package/fesm2022/eui-core.mjs +319 -145
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +16 -11
- package/schematics/add-eui-imports/index.d.ts +8 -0
- package/schematics/add-eui-imports/index.js +525 -0
- package/schematics/add-eui-imports/index.js.map +1 -0
- package/schematics/add-eui-imports/schema.json +24 -0
- package/schematics/add-eui-imports/selector-map.d.ts +35 -0
- package/schematics/add-eui-imports/selector-map.js +246 -0
- package/schematics/add-eui-imports/selector-map.js.map +1 -0
- package/schematics/collection.json +118 -0
- package/schematics/fix-no-multiple-empty-lines/index.d.ts +7 -0
- package/schematics/fix-no-multiple-empty-lines/index.js +90 -0
- package/schematics/fix-no-multiple-empty-lines/index.js.map +1 -0
- package/schematics/fix-no-multiple-empty-lines/schema.json +19 -0
- package/schematics/icon-migrate/index.d.ts +3 -0
- package/schematics/icon-migrate/index.js +228 -0
- package/schematics/icon-migrate/index.js.map +1 -0
- package/schematics/icon-migrate/schema.d.ts +6 -0
- package/schematics/icon-migrate/schema.js +3 -0
- package/schematics/icon-migrate/schema.js.map +1 -0
- package/schematics/icon-migrate/schema.json +20 -0
- package/schematics/migrate/index.d.ts +3 -0
- package/schematics/migrate/index.js +98 -0
- package/schematics/migrate/index.js.map +1 -0
- package/schematics/migrate/replacements/breaking-changes.d.ts +6 -0
- package/schematics/migrate/replacements/breaking-changes.js +173 -0
- package/schematics/migrate/replacements/breaking-changes.js.map +1 -0
- package/schematics/migrate/replacements/eui-modules.d.ts +29 -0
- package/schematics/migrate/replacements/eui-modules.js +231 -0
- package/schematics/migrate/replacements/eui-modules.js.map +1 -0
- package/schematics/migrate/replacements/icons.d.ts +14 -0
- package/schematics/migrate/replacements/icons.js +235 -0
- package/schematics/migrate/replacements/icons.js.map +1 -0
- package/schematics/migrate/replacements/mwp.d.ts +6 -0
- package/schematics/migrate/replacements/mwp.js +148 -0
- package/schematics/migrate/replacements/mwp.js.map +1 -0
- package/schematics/migrate/schema.d.ts +8 -0
- package/schematics/migrate/schema.js +3 -0
- package/schematics/migrate/schema.js.map +1 -0
- package/schematics/migrate/schema.json +25 -0
- package/schematics/migrate/utils.d.ts +21 -0
- package/schematics/migrate/utils.js +106 -0
- package/schematics/migrate/utils.js.map +1 -0
- package/schematics/migrate-all/index.d.ts +8 -0
- package/schematics/migrate-all/index.js +30 -0
- package/schematics/migrate-all/index.js.map +1 -0
- package/schematics/migrate-all/schema.json +30 -0
- package/schematics/migrate-eui-accent/index.d.ts +7 -0
- package/schematics/migrate-eui-accent/index.js +193 -0
- package/schematics/migrate-eui-accent/index.js.map +1 -0
- package/schematics/migrate-eui-accent/schema.json +19 -0
- package/schematics/migrate-eui-alert/index.d.ts +7 -0
- package/schematics/migrate-eui-alert/index.js +152 -0
- package/schematics/migrate-eui-alert/index.js.map +1 -0
- package/schematics/migrate-eui-alert/schema.json +19 -0
- package/schematics/migrate-eui-avatar/index.d.ts +7 -0
- package/schematics/migrate-eui-avatar/index.js +155 -0
- package/schematics/migrate-eui-avatar/index.js.map +1 -0
- package/schematics/migrate-eui-avatar/schema.json +19 -0
- package/schematics/migrate-eui-button/index.d.ts +7 -0
- package/schematics/migrate-eui-button/index.js +191 -0
- package/schematics/migrate-eui-button/index.js.map +1 -0
- package/schematics/migrate-eui-button/schema.json +19 -0
- package/schematics/migrate-eui-chip/index.d.ts +7 -0
- package/schematics/migrate-eui-chip/index.js +153 -0
- package/schematics/migrate-eui-chip/index.js.map +1 -0
- package/schematics/migrate-eui-chip/schema.json +19 -0
- package/schematics/migrate-eui-chip-list/index.d.ts +7 -0
- package/schematics/migrate-eui-chip-list/index.js +472 -0
- package/schematics/migrate-eui-chip-list/index.js.map +1 -0
- package/schematics/migrate-eui-chip-list/schema.json +19 -0
- package/schematics/migrate-eui-discussion-thread/index.d.ts +7 -0
- package/schematics/migrate-eui-discussion-thread/index.js +143 -0
- package/schematics/migrate-eui-discussion-thread/index.js.map +1 -0
- package/schematics/migrate-eui-discussion-thread/schema.json +19 -0
- package/schematics/migrate-eui-editor/index.d.ts +7 -0
- package/schematics/migrate-eui-editor/index.js +198 -0
- package/schematics/migrate-eui-editor/index.js.map +1 -0
- package/schematics/migrate-eui-editor/schema.json +19 -0
- package/schematics/migrate-eui-fieldset/index.d.ts +7 -0
- package/schematics/migrate-eui-fieldset/index.js +186 -0
- package/schematics/migrate-eui-fieldset/index.js.map +1 -0
- package/schematics/migrate-eui-fieldset/schema.json +19 -0
- package/schematics/migrate-eui-icon-svg/index.d.ts +7 -0
- package/schematics/migrate-eui-icon-svg/index.js +197 -0
- package/schematics/migrate-eui-icon-svg/index.js.map +1 -0
- package/schematics/migrate-eui-icon-svg/schema.json +19 -0
- package/schematics/migrate-eui-icon-toggle/index.d.ts +7 -0
- package/schematics/migrate-eui-icon-toggle/index.js +194 -0
- package/schematics/migrate-eui-icon-toggle/index.js.map +1 -0
- package/schematics/migrate-eui-icon-toggle/schema.json +19 -0
- package/schematics/migrate-eui-popover/index.d.ts +7 -0
- package/schematics/migrate-eui-popover/index.js +152 -0
- package/schematics/migrate-eui-popover/index.js.map +1 -0
- package/schematics/migrate-eui-popover/schema.json +19 -0
- package/schematics/migrate-eui-progress-circle/index.d.ts +7 -0
- package/schematics/migrate-eui-progress-circle/index.js +192 -0
- package/schematics/migrate-eui-progress-circle/index.js.map +1 -0
- package/schematics/migrate-eui-progress-circle/schema.json +19 -0
- package/schematics/migrate-eui-table/index.d.ts +7 -0
- package/schematics/migrate-eui-table/index.js +544 -0
- package/schematics/migrate-eui-table/index.js.map +1 -0
- package/schematics/migrate-eui-table/schema.json +19 -0
- package/schematics/migrate-eui-tabs/index.d.ts +7 -0
- package/schematics/migrate-eui-tabs/index.js +296 -0
- package/schematics/migrate-eui-tabs/index.js.map +1 -0
- package/schematics/migrate-eui-tabs/schema.json +19 -0
- package/schematics/migrate-eui-toolbar-menu/index.d.ts +7 -0
- package/schematics/migrate-eui-toolbar-menu/index.js +358 -0
- package/schematics/migrate-eui-toolbar-menu/index.js.map +1 -0
- package/schematics/migrate-eui-toolbar-menu/schema.json +19 -0
- package/schematics/migrate-to-standalone/index.d.ts +7 -0
- package/schematics/migrate-to-standalone/index.js +723 -0
- package/schematics/migrate-to-standalone/index.js.map +1 -0
- package/schematics/migrate-to-standalone/schema.json +19 -0
- package/schematics/package.json +1 -0
- package/schematics/utils/dry-run.d.ts +3 -0
- package/schematics/utils/dry-run.js +14 -0
- package/schematics/utils/dry-run.js.map +1 -0
- package/types/eui-core.d.ts +74 -17
- package/types/eui-core.d.ts.map +1 -1
- package/docs/js/menu-wc_es5.js +0 -40
package/fesm2022/eui-core.mjs
CHANGED
|
@@ -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 } 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 {
|
|
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';
|
|
@@ -536,24 +536,60 @@ const coreReducers = Object.assign({}, {
|
|
|
536
536
|
function localStorageSync(reducer, platformId) {
|
|
537
537
|
if (platformId) {
|
|
538
538
|
return (reducer) => {
|
|
539
|
-
|
|
539
|
+
let storage = null;
|
|
540
|
+
if (isPlatformBrowser(platformId)) {
|
|
541
|
+
try {
|
|
542
|
+
storage = localStorage;
|
|
543
|
+
}
|
|
544
|
+
catch (e) {
|
|
545
|
+
/* blocked */
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
return cb(reducer, storage);
|
|
540
549
|
};
|
|
541
550
|
}
|
|
542
551
|
else {
|
|
543
552
|
const platformId = inject(PLATFORM_ID, { optional: true });
|
|
544
|
-
|
|
553
|
+
let storage = null;
|
|
554
|
+
if (isPlatformBrowser(platformId)) {
|
|
555
|
+
try {
|
|
556
|
+
storage = localStorage;
|
|
557
|
+
}
|
|
558
|
+
catch (e) {
|
|
559
|
+
/* blocked */
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return cb(reducer, storage);
|
|
545
563
|
}
|
|
546
564
|
}
|
|
547
565
|
// eslint-disable-next-line
|
|
548
566
|
function sessionStorageSync(reducer, platformId) {
|
|
549
567
|
if (platformId) {
|
|
550
568
|
return (reducer) => {
|
|
551
|
-
|
|
569
|
+
let storage = null;
|
|
570
|
+
if (isPlatformBrowser(platformId)) {
|
|
571
|
+
try {
|
|
572
|
+
storage = sessionStorage;
|
|
573
|
+
}
|
|
574
|
+
catch (e) {
|
|
575
|
+
/* blocked */
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
return cb(reducer, storage);
|
|
552
579
|
};
|
|
553
580
|
}
|
|
554
581
|
else {
|
|
555
582
|
const platformId = inject(PLATFORM_ID, { optional: true });
|
|
556
|
-
|
|
583
|
+
let storage = null;
|
|
584
|
+
if (isPlatformBrowser(platformId)) {
|
|
585
|
+
try {
|
|
586
|
+
storage = sessionStorage;
|
|
587
|
+
}
|
|
588
|
+
catch (e) {
|
|
589
|
+
/* blocked */
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
return cb(reducer, storage);
|
|
557
593
|
}
|
|
558
594
|
}
|
|
559
595
|
// Keys that are allowed to be synced with NgRx state from BrowserStorage
|
|
@@ -582,7 +618,7 @@ const filterAppState = (app) => {
|
|
|
582
618
|
* @param storage Type of storage to load the state from
|
|
583
619
|
* @deprecated it will be removed in the next major version
|
|
584
620
|
*/
|
|
585
|
-
const loadState = (storage =
|
|
621
|
+
const loadState = (storage = null) => {
|
|
586
622
|
if (!storage) {
|
|
587
623
|
return undefined;
|
|
588
624
|
}
|
|
@@ -669,10 +705,10 @@ class LogService extends Logger {
|
|
|
669
705
|
}
|
|
670
706
|
return logger;
|
|
671
707
|
}
|
|
672
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
673
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
708
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
709
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LogService }); }
|
|
674
710
|
}
|
|
675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LogService, decorators: [{
|
|
676
712
|
type: Injectable
|
|
677
713
|
}], ctorParameters: () => [] });
|
|
678
714
|
|
|
@@ -770,11 +806,11 @@ class LogModule {
|
|
|
770
806
|
],
|
|
771
807
|
};
|
|
772
808
|
}
|
|
773
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
774
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
775
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
809
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
810
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: LogModule }); }
|
|
811
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LogModule }); }
|
|
776
812
|
}
|
|
777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LogModule, decorators: [{
|
|
778
814
|
type: NgModule
|
|
779
815
|
}] });
|
|
780
816
|
|
|
@@ -796,7 +832,13 @@ class StoreService {
|
|
|
796
832
|
this._autoSaveHandlers = {};
|
|
797
833
|
this.isHandlingAutoSave = false;
|
|
798
834
|
if (isPlatformBrowser(this.platformId)) {
|
|
799
|
-
|
|
835
|
+
try {
|
|
836
|
+
this._storage = localStorage;
|
|
837
|
+
}
|
|
838
|
+
catch (e) {
|
|
839
|
+
// Storage access blocked (e.g. Firefox Enhanced Tracking Protection)
|
|
840
|
+
this._storage = null;
|
|
841
|
+
}
|
|
800
842
|
}
|
|
801
843
|
const initialState = {};
|
|
802
844
|
this.state = new BehaviorSubject(initialState);
|
|
@@ -813,7 +855,13 @@ class StoreService {
|
|
|
813
855
|
// We load the state from a storage and compare the version and userId with the provided ones.
|
|
814
856
|
// If they are the same, we merge the local state into the initial state.
|
|
815
857
|
// If there is a mismatch, we don't merge the local state, but update only the initial state.
|
|
816
|
-
|
|
858
|
+
try {
|
|
859
|
+
this._storage = storageType === BrowserStorageType.session ? sessionStorage : localStorage;
|
|
860
|
+
}
|
|
861
|
+
catch (e) {
|
|
862
|
+
// Storage access blocked (e.g. Firefox Enhanced Tracking Protection)
|
|
863
|
+
this._storage = null;
|
|
864
|
+
}
|
|
817
865
|
// load the state from the localStorage
|
|
818
866
|
let localState = loadState(this._storage);
|
|
819
867
|
localState = { ...localState, app: { ...localState?.app, version } };
|
|
@@ -917,10 +965,10 @@ class StoreService {
|
|
|
917
965
|
isObject(item) {
|
|
918
966
|
return item && typeof item === 'object' && !Array.isArray(item);
|
|
919
967
|
}
|
|
920
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
921
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
968
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
969
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StoreService, providedIn: 'root' }); }
|
|
922
970
|
}
|
|
923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StoreService, decorators: [{
|
|
924
972
|
type: Injectable,
|
|
925
973
|
args: [{
|
|
926
974
|
providedIn: 'root',
|
|
@@ -938,10 +986,10 @@ class StoreServiceMock extends StoreService {
|
|
|
938
986
|
select() {
|
|
939
987
|
return of({});
|
|
940
988
|
}
|
|
941
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
942
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
989
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
990
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StoreServiceMock }); }
|
|
943
991
|
}
|
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
945
993
|
type: Injectable
|
|
946
994
|
}], ctorParameters: () => [] });
|
|
947
995
|
|
|
@@ -1034,11 +1082,11 @@ class CoreModule {
|
|
|
1034
1082
|
storeService.updateState({ moduleName, moduleConfig }, AddAppLoadedConfigModules);
|
|
1035
1083
|
}
|
|
1036
1084
|
}
|
|
1037
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1038
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1039
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1085
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1086
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: CoreModule }); }
|
|
1087
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CoreModule }); }
|
|
1040
1088
|
}
|
|
1041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CoreModule, decorators: [{
|
|
1042
1090
|
type: NgModule
|
|
1043
1091
|
}], ctorParameters: () => [] });
|
|
1044
1092
|
const createEuiCoreRootGuard = (core) => {
|
|
@@ -1184,10 +1232,10 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
1184
1232
|
// throw error;
|
|
1185
1233
|
super.handleError(error);
|
|
1186
1234
|
}
|
|
1187
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1188
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: GlobalErrorHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1236
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' }); }
|
|
1189
1237
|
}
|
|
1190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
1191
1239
|
type: Injectable,
|
|
1192
1240
|
args: [{
|
|
1193
1241
|
providedIn: 'root',
|
|
@@ -1239,10 +1287,10 @@ class HttpErrorHandlerInterceptor {
|
|
|
1239
1287
|
// return the first matching route, if any
|
|
1240
1288
|
return routes.length > 0 ? routes[0] : null;
|
|
1241
1289
|
}
|
|
1242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1243
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1290
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1291
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: HttpErrorHandlerInterceptor }); }
|
|
1244
1292
|
}
|
|
1245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
1246
1294
|
type: Injectable
|
|
1247
1295
|
}] });
|
|
1248
1296
|
|
|
@@ -1365,10 +1413,10 @@ class EuiGrowlService {
|
|
|
1365
1413
|
growlInfo(msg, position) {
|
|
1366
1414
|
this.growl({ severity: 'info', summary: 'INFO', detail: msg }, false, false, undefined, position);
|
|
1367
1415
|
}
|
|
1368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1369
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1416
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiGrowlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1417
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiGrowlService, providedIn: 'root' }); }
|
|
1370
1418
|
}
|
|
1371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiGrowlService, decorators: [{
|
|
1372
1420
|
type: Injectable,
|
|
1373
1421
|
args: [{
|
|
1374
1422
|
providedIn: 'root',
|
|
@@ -1728,10 +1776,10 @@ class ApiQueueService {
|
|
|
1728
1776
|
buildHttpRequest(id, item) {
|
|
1729
1777
|
return this.http[item.method.toLowerCase()](item.uri, item.payload).pipe(tap(() => this.removeQueueItem(id)));
|
|
1730
1778
|
}
|
|
1731
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1732
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1779
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ApiQueueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1780
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ApiQueueService, providedIn: 'root' }); }
|
|
1733
1781
|
}
|
|
1734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
1735
1783
|
type: Injectable,
|
|
1736
1784
|
args: [{
|
|
1737
1785
|
providedIn: 'root',
|
|
@@ -1759,6 +1807,36 @@ class ApiQueueServiceMock extends ApiQueueService {
|
|
|
1759
1807
|
}
|
|
1760
1808
|
}
|
|
1761
1809
|
|
|
1810
|
+
/**
|
|
1811
|
+
* Converts legacy ngx-translate interpolations ({{var}}) to ICU-compatible format ({var}).
|
|
1812
|
+
* Double braces are never valid ICU syntax, so any {{word}} is guaranteed to be legacy.
|
|
1813
|
+
*/
|
|
1814
|
+
function convertLegacyInterpolations(value) {
|
|
1815
|
+
return value.replace(/\{\{(\w+)\}\}/g, '{$1}');
|
|
1816
|
+
}
|
|
1817
|
+
/**
|
|
1818
|
+
* Recursively walks a translation object and converts all legacy {{var}} interpolations
|
|
1819
|
+
* to ICU-compatible {var} format in string leaf values.
|
|
1820
|
+
*/
|
|
1821
|
+
function transformTranslations(translations) {
|
|
1822
|
+
if (translations == null || typeof translations !== 'object') {
|
|
1823
|
+
return translations;
|
|
1824
|
+
}
|
|
1825
|
+
const result = {};
|
|
1826
|
+
for (const [key, value] of Object.entries(translations)) {
|
|
1827
|
+
if (typeof value === 'string') {
|
|
1828
|
+
result[key] = convertLegacyInterpolations(value);
|
|
1829
|
+
}
|
|
1830
|
+
else if (value != null && typeof value === 'object' && !Array.isArray(value)) {
|
|
1831
|
+
result[key] = transformTranslations(value);
|
|
1832
|
+
}
|
|
1833
|
+
else {
|
|
1834
|
+
result[key] = value;
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
return result;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1762
1840
|
class I18nResourceImpl {
|
|
1763
1841
|
/**
|
|
1764
1842
|
* Resource constructor
|
|
@@ -1817,6 +1895,8 @@ class I18nLoader {
|
|
|
1817
1895
|
const i18nConfig = this.euiAppConfig.global && this.euiAppConfig.global.i18n;
|
|
1818
1896
|
const i18nLoaderConfig = i18nConfig && i18nConfig.i18nLoader;
|
|
1819
1897
|
this.resources.push(...this.createResources(i18nLoaderConfig));
|
|
1898
|
+
// Auto-detect ICU mode from config
|
|
1899
|
+
this.icuEnabled = !!(i18nConfig && i18nConfig.icuEnabled);
|
|
1820
1900
|
}
|
|
1821
1901
|
/**
|
|
1822
1902
|
* Gets the translations from the server
|
|
@@ -1827,7 +1907,8 @@ class I18nLoader {
|
|
|
1827
1907
|
getTranslation(lang) {
|
|
1828
1908
|
return this.loadResources(this.resources, lang).pipe(map((loadedResources) => {
|
|
1829
1909
|
this.failedResources = loadedResources.hasError ? loadedResources.errors : [];
|
|
1830
|
-
|
|
1910
|
+
const translations = loadedResources.translations;
|
|
1911
|
+
return this.icuEnabled ? transformTranslations(translations) : translations;
|
|
1831
1912
|
}));
|
|
1832
1913
|
}
|
|
1833
1914
|
/**
|
|
@@ -1971,17 +2052,14 @@ class I18nLoader {
|
|
|
1971
2052
|
}
|
|
1972
2053
|
return undefined;
|
|
1973
2054
|
}
|
|
1974
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1975
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2055
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2056
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nLoader }); }
|
|
1976
2057
|
}
|
|
1977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nLoader, decorators: [{
|
|
1978
2059
|
type: Injectable
|
|
1979
2060
|
}], ctorParameters: () => [] });
|
|
1980
2061
|
const translateConfig = {
|
|
1981
|
-
loader:
|
|
1982
|
-
provide: TranslateLoader,
|
|
1983
|
-
useClass: I18nLoader,
|
|
1984
|
-
},
|
|
2062
|
+
loader: provideTranslateLoader(I18nLoader),
|
|
1985
2063
|
};
|
|
1986
2064
|
|
|
1987
2065
|
const getLastAddedModule = (state) => state.app.loadedConfigModules.lastAddedModule;
|
|
@@ -1992,6 +2070,7 @@ class I18nService extends EuiLazyService {
|
|
|
1992
2070
|
this.baseGlobalConfig = inject(GLOBAL_CONFIG_TOKEN);
|
|
1993
2071
|
this.translateService = inject(TranslateService);
|
|
1994
2072
|
this.logService = inject(LogService, { optional: true });
|
|
2073
|
+
this.translateLoader = inject(TranslateLoader);
|
|
1995
2074
|
this.store = inject(StoreService);
|
|
1996
2075
|
this.document = inject(DOCUMENT);
|
|
1997
2076
|
this.subNotifier = new Subject();
|
|
@@ -2090,7 +2169,7 @@ class I18nService extends EuiLazyService {
|
|
|
2090
2169
|
addResources(config, moduleName) {
|
|
2091
2170
|
// emit that module is loading
|
|
2092
2171
|
this.onModuleLoad.next({ ready: false, name: moduleName });
|
|
2093
|
-
const loader = this.
|
|
2172
|
+
const loader = this.translateLoader;
|
|
2094
2173
|
if (loader instanceof I18nLoader) {
|
|
2095
2174
|
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
|
2096
2175
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -2099,13 +2178,13 @@ class I18nService extends EuiLazyService {
|
|
|
2099
2178
|
// add the resources to the loader
|
|
2100
2179
|
const resources = i18nLoader.addResources(config);
|
|
2101
2180
|
// manually load the resources for the CURRENT language and add them to the translate service
|
|
2102
|
-
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) => {
|
|
2103
2182
|
// add the new set of translations to the current language
|
|
2104
|
-
this.translateService.setTranslation(this.translateService.currentLang, loadedResources.translations, true);
|
|
2183
|
+
this.translateService.setTranslation(this.translateService.currentLang(), loadedResources.translations, true);
|
|
2105
2184
|
})));
|
|
2106
2185
|
// if the current language is different from the DEFAULT language
|
|
2107
|
-
const defaultLang = this.config.defaultLanguage || this.translateService.
|
|
2108
|
-
if (this.translateService.currentLang !== defaultLang) {
|
|
2186
|
+
const defaultLang = this.config.defaultLanguage || this.translateService.fallbackLang();
|
|
2187
|
+
if (this.translateService.currentLang() !== defaultLang) {
|
|
2109
2188
|
// manually load the resources for the default language and add them to the translation service
|
|
2110
2189
|
langSubscription.push(i18nLoader.loadResources(resources, defaultLang).pipe(take(1), tap((loadedResources) => {
|
|
2111
2190
|
this.translateService.setTranslation(defaultLang, loadedResources.translations, true);
|
|
@@ -2157,8 +2236,8 @@ class I18nService extends EuiLazyService {
|
|
|
2157
2236
|
this.setDefaultLanguage(this.config.defaultLanguage);
|
|
2158
2237
|
}
|
|
2159
2238
|
}), map(() => {
|
|
2160
|
-
if (this.
|
|
2161
|
-
const failedResources = this.
|
|
2239
|
+
if (this.translateLoader instanceof I18nLoader) {
|
|
2240
|
+
const failedResources = this.translateLoader.getFailedResources();
|
|
2162
2241
|
if (failedResources.length > 0) {
|
|
2163
2242
|
return { success: false, error: failedResources };
|
|
2164
2243
|
}
|
|
@@ -2170,7 +2249,7 @@ class I18nService extends EuiLazyService {
|
|
|
2170
2249
|
this.getState((s) => s.activeLang)
|
|
2171
2250
|
.pipe(takeUntil(this.subNotifier))
|
|
2172
2251
|
.subscribe((lang) => {
|
|
2173
|
-
if (lang !== null && this.translateService.currentLang !== lang) {
|
|
2252
|
+
if (lang !== null && this.translateService.currentLang() !== lang) {
|
|
2174
2253
|
this.use(lang);
|
|
2175
2254
|
}
|
|
2176
2255
|
});
|
|
@@ -2188,7 +2267,7 @@ class I18nService extends EuiLazyService {
|
|
|
2188
2267
|
setDefaultLanguage(defaultLanguage) {
|
|
2189
2268
|
// removed, current language is already calculated in init, setup function fill use it directly, not default
|
|
2190
2269
|
// this.translateService.currentLang = default_language || this.config.defaultLanguage;
|
|
2191
|
-
this.translateService.
|
|
2270
|
+
this.translateService.setFallbackLang(defaultLanguage);
|
|
2192
2271
|
if (this.logService) {
|
|
2193
2272
|
this.logService.info(`I18n default language set to ${defaultLanguage}`);
|
|
2194
2273
|
}
|
|
@@ -2213,10 +2292,10 @@ class I18nService extends EuiLazyService {
|
|
|
2213
2292
|
updateHTMLDOMLang(lang) {
|
|
2214
2293
|
this.document.documentElement.lang = lang;
|
|
2215
2294
|
}
|
|
2216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2217
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2296
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nService, providedIn: 'root' }); }
|
|
2218
2297
|
}
|
|
2219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nService, decorators: [{
|
|
2220
2299
|
type: Injectable,
|
|
2221
2300
|
args: [{
|
|
2222
2301
|
providedIn: 'root',
|
|
@@ -2734,7 +2813,7 @@ class EuiPermissionService extends EuiService {
|
|
|
2734
2813
|
*/
|
|
2735
2814
|
getState() {
|
|
2736
2815
|
const getUserState = (state) => state.user;
|
|
2737
|
-
const getUserRights = createSelector(getUserState, (state) => state
|
|
2816
|
+
const getUserRights = createSelector(getUserState, (state) => state?.rights ?? []);
|
|
2738
2817
|
return this.store.select(getUserRights);
|
|
2739
2818
|
}
|
|
2740
2819
|
/**
|
|
@@ -2849,10 +2928,10 @@ class EuiPermissionService extends EuiService {
|
|
|
2849
2928
|
}
|
|
2850
2929
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2851
2930
|
}
|
|
2852
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2853
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2931
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiPermissionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2932
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiPermissionService, providedIn: 'root' }); }
|
|
2854
2933
|
}
|
|
2855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2856
2935
|
type: Injectable,
|
|
2857
2936
|
args: [{
|
|
2858
2937
|
providedIn: 'root',
|
|
@@ -2910,10 +2989,10 @@ class EuiDynamicMenuService {
|
|
|
2910
2989
|
return true;
|
|
2911
2990
|
});
|
|
2912
2991
|
}
|
|
2913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2914
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2992
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiDynamicMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2993
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiDynamicMenuService, providedIn: 'root' }); }
|
|
2915
2994
|
}
|
|
2916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiDynamicMenuService, decorators: [{
|
|
2917
2996
|
type: Injectable,
|
|
2918
2997
|
args: [{
|
|
2919
2998
|
providedIn: 'root',
|
|
@@ -2978,10 +3057,10 @@ class EuiDynamicComponentService {
|
|
|
2978
3057
|
parent: this.injector,
|
|
2979
3058
|
});
|
|
2980
3059
|
}
|
|
2981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2982
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3060
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiDynamicComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3061
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiDynamicComponentService }); }
|
|
2983
3062
|
}
|
|
2984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiDynamicComponentService, decorators: [{
|
|
2985
3064
|
type: Injectable
|
|
2986
3065
|
}] });
|
|
2987
3066
|
|
|
@@ -3389,10 +3468,10 @@ class EuiAppShellService {
|
|
|
3389
3468
|
}
|
|
3390
3469
|
});
|
|
3391
3470
|
}
|
|
3392
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3393
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3471
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3472
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, providedIn: 'root' }); }
|
|
3394
3473
|
}
|
|
3395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, decorators: [{
|
|
3396
3475
|
type: Injectable,
|
|
3397
3476
|
args: [{
|
|
3398
3477
|
providedIn: 'root',
|
|
@@ -4106,10 +4185,10 @@ class EuiTimezoneService {
|
|
|
4106
4185
|
getTimezone(tz) {
|
|
4107
4186
|
return EUI_TIMEZONES.find((item) => item.name === tz);
|
|
4108
4187
|
}
|
|
4109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4110
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4189
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService }); }
|
|
4111
4190
|
}
|
|
4112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService, decorators: [{
|
|
4113
4192
|
type: Injectable
|
|
4114
4193
|
}] });
|
|
4115
4194
|
|
|
@@ -4120,11 +4199,9 @@ var EuiTheme;
|
|
|
4120
4199
|
EuiTheme["ECL_EC_RTL"] = "ecl-ec-rtl";
|
|
4121
4200
|
EuiTheme["ECL_EU"] = "ecl-eu";
|
|
4122
4201
|
EuiTheme["ECL_EU_RTL"] = "ecl-eu-rtl";
|
|
4123
|
-
EuiTheme["EUI_LEGACY"] = "eui-legacy";
|
|
4124
|
-
EuiTheme["EUI_LEGACY_HC"] = "eui-legacy-high-contrast";
|
|
4125
4202
|
EuiTheme["DARK"] = "dark";
|
|
4203
|
+
EuiTheme["HIGH_CONTRAST"] = "high-contrast";
|
|
4126
4204
|
EuiTheme["COMPACT"] = "compact";
|
|
4127
|
-
EuiTheme["DS2025"] = "ds2025";
|
|
4128
4205
|
})(EuiTheme || (EuiTheme = {}));
|
|
4129
4206
|
;
|
|
4130
4207
|
;
|
|
@@ -4136,6 +4213,7 @@ const initialState = {
|
|
|
4136
4213
|
{ name: EuiTheme.ECL_EU, isActive: false, styleSheet: 'eui-ecl-eu.css', cssClass: null },
|
|
4137
4214
|
{ name: EuiTheme.ECL_EU_RTL, isActive: false, styleSheet: 'eui-ecl-eu.css', cssClass: null },
|
|
4138
4215
|
{ name: EuiTheme.DARK, isActive: false, styleSheet: null, cssClass: 'eui-t-dark' },
|
|
4216
|
+
{ name: EuiTheme.HIGH_CONTRAST, isActive: false, styleSheet: null, cssClass: 'eui-t-high-contrast' },
|
|
4139
4217
|
{ name: EuiTheme.COMPACT, isActive: false, styleSheet: null, cssClass: 'eui-t-compact' },
|
|
4140
4218
|
],
|
|
4141
4219
|
theme: {
|
|
@@ -4145,6 +4223,7 @@ const initialState = {
|
|
|
4145
4223
|
isEclEu: false,
|
|
4146
4224
|
isEclEuRtl: false,
|
|
4147
4225
|
isDark: false,
|
|
4226
|
+
isHighContrast: false,
|
|
4148
4227
|
isCompact: false,
|
|
4149
4228
|
},
|
|
4150
4229
|
};
|
|
@@ -4178,21 +4257,15 @@ class EuiThemeService {
|
|
|
4178
4257
|
isEclEuRtl() {
|
|
4179
4258
|
return this.state.theme.isEclEuRtl;
|
|
4180
4259
|
}
|
|
4181
|
-
isEuiLegacy() {
|
|
4182
|
-
return this.state.theme.isEuiLegacy;
|
|
4183
|
-
}
|
|
4184
|
-
isEuiLegacyHc() {
|
|
4185
|
-
return this.state.theme.isEuiLegacyHc;
|
|
4186
|
-
}
|
|
4187
4260
|
isDark() {
|
|
4188
4261
|
return this.state.theme.isDark;
|
|
4189
4262
|
}
|
|
4263
|
+
isHighContrast() {
|
|
4264
|
+
return this.state.theme.isHighContrast;
|
|
4265
|
+
}
|
|
4190
4266
|
isCompact() {
|
|
4191
4267
|
return this.state.theme.isCompact;
|
|
4192
4268
|
}
|
|
4193
|
-
isDs2025() {
|
|
4194
|
-
return this.state.theme.isDs2025;
|
|
4195
|
-
}
|
|
4196
4269
|
setActiveTheme(theme, isActive) {
|
|
4197
4270
|
const themes = this.state.themes;
|
|
4198
4271
|
const themeIdx = themes.findIndex(t => t.name === theme);
|
|
@@ -4228,20 +4301,12 @@ class EuiThemeService {
|
|
|
4228
4301
|
status.isDark = isActive;
|
|
4229
4302
|
break;
|
|
4230
4303
|
}
|
|
4231
|
-
case EuiTheme.
|
|
4232
|
-
status.
|
|
4304
|
+
case EuiTheme.HIGH_CONTRAST: {
|
|
4305
|
+
status.isHighContrast = isActive;
|
|
4233
4306
|
break;
|
|
4234
4307
|
}
|
|
4235
|
-
case EuiTheme.
|
|
4236
|
-
status.
|
|
4237
|
-
break;
|
|
4238
|
-
}
|
|
4239
|
-
case EuiTheme.EUI_LEGACY_HC: {
|
|
4240
|
-
status.isEuiLegacyHc = isActive;
|
|
4241
|
-
break;
|
|
4242
|
-
}
|
|
4243
|
-
case EuiTheme.DS2025: {
|
|
4244
|
-
status.isDs2025 = isActive;
|
|
4308
|
+
case EuiTheme.COMPACT: {
|
|
4309
|
+
status.isCompact = isActive;
|
|
4245
4310
|
break;
|
|
4246
4311
|
}
|
|
4247
4312
|
}
|
|
@@ -4304,10 +4369,10 @@ class EuiThemeService {
|
|
|
4304
4369
|
}
|
|
4305
4370
|
}
|
|
4306
4371
|
}
|
|
4307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4308
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4373
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, providedIn: 'root' }); }
|
|
4309
4374
|
}
|
|
4310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, decorators: [{
|
|
4311
4376
|
type: Injectable,
|
|
4312
4377
|
args: [{
|
|
4313
4378
|
providedIn: 'root',
|
|
@@ -4448,10 +4513,10 @@ class LocalStorageService extends StorageService {
|
|
|
4448
4513
|
}
|
|
4449
4514
|
}
|
|
4450
4515
|
}
|
|
4451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4452
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4517
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService }); }
|
|
4453
4518
|
}
|
|
4454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
4455
4520
|
type: Injectable
|
|
4456
4521
|
}] });
|
|
4457
4522
|
|
|
@@ -4521,10 +4586,10 @@ class SessionStorageService extends StorageService {
|
|
|
4521
4586
|
}
|
|
4522
4587
|
}
|
|
4523
4588
|
}
|
|
4524
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4525
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4590
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService }); }
|
|
4526
4591
|
}
|
|
4527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
4528
4593
|
type: Injectable
|
|
4529
4594
|
}] });
|
|
4530
4595
|
|
|
@@ -4627,10 +4692,10 @@ class LocalForageService extends AsyncStorageService {
|
|
|
4627
4692
|
},
|
|
4628
4693
|
}));
|
|
4629
4694
|
}
|
|
4630
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4631
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4695
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4696
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService }); }
|
|
4632
4697
|
}
|
|
4633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService, decorators: [{
|
|
4634
4699
|
type: Injectable
|
|
4635
4700
|
}], ctorParameters: () => [] });
|
|
4636
4701
|
|
|
@@ -4835,10 +4900,10 @@ class LocaleService extends EuiService {
|
|
|
4835
4900
|
return false;
|
|
4836
4901
|
}
|
|
4837
4902
|
}
|
|
4838
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4839
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4903
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4904
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, providedIn: 'root' }); }
|
|
4840
4905
|
}
|
|
4841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, decorators: [{
|
|
4842
4907
|
type: Injectable,
|
|
4843
4908
|
args: [{
|
|
4844
4909
|
providedIn: 'root',
|
|
@@ -4869,10 +4934,10 @@ class LocaleServiceMock extends LocaleService {
|
|
|
4869
4934
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4870
4935
|
return of({ success: true });
|
|
4871
4936
|
}
|
|
4872
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4873
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4937
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4938
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock }); }
|
|
4874
4939
|
}
|
|
4875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock, decorators: [{
|
|
4876
4941
|
type: Injectable
|
|
4877
4942
|
}], ctorParameters: () => [] });
|
|
4878
4943
|
|
|
@@ -5163,10 +5228,10 @@ class EuiLoaderService {
|
|
|
5163
5228
|
this.loadStyle(dependency);
|
|
5164
5229
|
}
|
|
5165
5230
|
}
|
|
5166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5167
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5232
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, providedIn: 'root' }); }
|
|
5168
5233
|
}
|
|
5169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, decorators: [{
|
|
5170
5235
|
type: Injectable,
|
|
5171
5236
|
args: [{
|
|
5172
5237
|
providedIn: 'root',
|
|
@@ -5228,10 +5293,10 @@ class UserService extends EuiService {
|
|
|
5228
5293
|
getSignal() {
|
|
5229
5294
|
return this.state;
|
|
5230
5295
|
}
|
|
5231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5232
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5297
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
5233
5298
|
}
|
|
5234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, decorators: [{
|
|
5235
5300
|
type: Injectable,
|
|
5236
5301
|
args: [{
|
|
5237
5302
|
providedIn: 'root',
|
|
@@ -5251,10 +5316,10 @@ class UserServiceMock extends UserService {
|
|
|
5251
5316
|
updateState(userState, reducer) {
|
|
5252
5317
|
/* empty */
|
|
5253
5318
|
}
|
|
5254
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5255
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock }); }
|
|
5256
5321
|
}
|
|
5257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
5258
5323
|
type: Injectable
|
|
5259
5324
|
}], ctorParameters: () => [] });
|
|
5260
5325
|
|
|
@@ -5275,7 +5340,7 @@ class AddLangParamInterceptor {
|
|
|
5275
5340
|
return next.handle(req);
|
|
5276
5341
|
}
|
|
5277
5342
|
// take the current language from the translate service
|
|
5278
|
-
const langValue = this.translateService.currentLang;
|
|
5343
|
+
const langValue = this.translateService.currentLang();
|
|
5279
5344
|
return next.handle(req.clone({
|
|
5280
5345
|
// remove the lang param header from headers
|
|
5281
5346
|
headers: req.headers.delete(LANG_PARAM_KEY),
|
|
@@ -5283,10 +5348,10 @@ class AddLangParamInterceptor {
|
|
|
5283
5348
|
params: req.params.set(langParam, langValue),
|
|
5284
5349
|
}));
|
|
5285
5350
|
}
|
|
5286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5351
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5352
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor }); }
|
|
5288
5353
|
}
|
|
5289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
5290
5355
|
type: Injectable
|
|
5291
5356
|
}] });
|
|
5292
5357
|
|
|
@@ -5302,10 +5367,10 @@ class CachePreventionInterceptor {
|
|
|
5302
5367
|
headers: req.headers.set('Cache-Control', 'No-Cache'),
|
|
5303
5368
|
}));
|
|
5304
5369
|
}
|
|
5305
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5306
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5371
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor }); }
|
|
5307
5372
|
}
|
|
5308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
5309
5374
|
type: Injectable
|
|
5310
5375
|
}] });
|
|
5311
5376
|
|
|
@@ -5315,10 +5380,10 @@ class CorsSecurityInterceptor {
|
|
|
5315
5380
|
withCredentials: true,
|
|
5316
5381
|
}));
|
|
5317
5382
|
}
|
|
5318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5319
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5383
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5384
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor }); }
|
|
5320
5385
|
}
|
|
5321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
5322
5387
|
type: Injectable
|
|
5323
5388
|
}] });
|
|
5324
5389
|
|
|
@@ -5328,10 +5393,10 @@ class CsrfPreventionInterceptor {
|
|
|
5328
5393
|
headers: request.headers.set('X-Requested-With', 'XMLHttpRequest'),
|
|
5329
5394
|
}));
|
|
5330
5395
|
}
|
|
5331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5332
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5396
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5397
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor }); }
|
|
5333
5398
|
}
|
|
5334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
5335
5400
|
type: Injectable
|
|
5336
5401
|
}] });
|
|
5337
5402
|
|
|
@@ -5398,10 +5463,10 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
5398
5463
|
reauthenticate() {
|
|
5399
5464
|
document.location.reload();
|
|
5400
5465
|
}
|
|
5401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5402
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5467
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor }); }
|
|
5403
5468
|
}
|
|
5404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
5405
5470
|
type: Injectable
|
|
5406
5471
|
}] });
|
|
5407
5472
|
|
|
@@ -5425,18 +5490,127 @@ class UxRequestErrorModelInterceptor {
|
|
|
5425
5490
|
return of(err);
|
|
5426
5491
|
}));
|
|
5427
5492
|
}
|
|
5428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5494
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor }); }
|
|
5430
5495
|
}
|
|
5431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
5432
5497
|
type: Injectable
|
|
5433
5498
|
}] });
|
|
5434
5499
|
|
|
5500
|
+
/* istanbul ignore file */
|
|
5501
|
+
const TRANSLATED_STRING = 'i18n';
|
|
5502
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
5503
|
+
class TranslateServiceMock {
|
|
5504
|
+
constructor() {
|
|
5505
|
+
this.onLangChangeSubject = new Subject();
|
|
5506
|
+
this.onTranslationChangeSubject = new Subject();
|
|
5507
|
+
this.onFallbackLangChangeSubject = new Subject();
|
|
5508
|
+
this.isLoadedSubject = new BehaviorSubject(true);
|
|
5509
|
+
this.onLangChange = this.onLangChangeSubject.asObservable();
|
|
5510
|
+
this.onTranslationChange = this.onTranslationChangeSubject.asObservable();
|
|
5511
|
+
this.onFallbackLangChange = this.onFallbackLangChangeSubject.asObservable();
|
|
5512
|
+
this.isLoaded = this.isLoadedSubject.asObservable();
|
|
5513
|
+
this.currentLang = signal(null, /* @ts-ignore */
|
|
5514
|
+
...(ngDevMode ? [{ debugName: "currentLang" }] : /* istanbul ignore next */ []));
|
|
5515
|
+
this.languages = [DEFAULT_LANGUAGE];
|
|
5516
|
+
}
|
|
5517
|
+
get(content) {
|
|
5518
|
+
return of(TRANSLATED_STRING + content);
|
|
5519
|
+
}
|
|
5520
|
+
use(lang) {
|
|
5521
|
+
this.currentLang.set(lang);
|
|
5522
|
+
this.onLangChangeSubject.next({ lang });
|
|
5523
|
+
}
|
|
5524
|
+
addLangs(langs) {
|
|
5525
|
+
this.languages = [...this.languages, ...langs];
|
|
5526
|
+
}
|
|
5527
|
+
getBrowserLang() {
|
|
5528
|
+
return DEFAULT_LANGUAGE;
|
|
5529
|
+
}
|
|
5530
|
+
getLangs() {
|
|
5531
|
+
return this.languages;
|
|
5532
|
+
}
|
|
5533
|
+
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
|
5534
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5535
|
+
getTranslation() {
|
|
5536
|
+
return of({});
|
|
5537
|
+
}
|
|
5538
|
+
instant(key) {
|
|
5539
|
+
return TRANSLATED_STRING + key.toString();
|
|
5540
|
+
}
|
|
5541
|
+
setFallbackLang(lang) {
|
|
5542
|
+
this.onFallbackLangChangeSubject.next(lang);
|
|
5543
|
+
}
|
|
5544
|
+
}
|
|
5545
|
+
class TranslateMockPipe {
|
|
5546
|
+
transform(text) {
|
|
5547
|
+
return !text ? TRANSLATED_STRING : `${text}-${TRANSLATED_STRING}`;
|
|
5548
|
+
}
|
|
5549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5550
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, isStandalone: true, name: "translate" }); }
|
|
5551
|
+
}
|
|
5552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, decorators: [{
|
|
5553
|
+
type: Pipe,
|
|
5554
|
+
args: [{ name: 'translate' }]
|
|
5555
|
+
}] });
|
|
5556
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5557
|
+
class TranslateMockDirective {
|
|
5558
|
+
constructor() {
|
|
5559
|
+
this._element = inject(ElementRef);
|
|
5560
|
+
}
|
|
5561
|
+
ngAfterViewChecked() {
|
|
5562
|
+
this._element.nativeElement.innerText += TRANSLATED_STRING;
|
|
5563
|
+
}
|
|
5564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5565
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: TranslateMockDirective, isStandalone: true, selector: "[translate]", inputs: { translateParams: "translateParams" }, ngImport: i0 }); }
|
|
5566
|
+
}
|
|
5567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockDirective, decorators: [{
|
|
5568
|
+
type: Directive,
|
|
5569
|
+
args: [{
|
|
5570
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
5571
|
+
selector: '[translate]',
|
|
5572
|
+
}]
|
|
5573
|
+
}], propDecorators: { translateParams: [{
|
|
5574
|
+
type: Input
|
|
5575
|
+
}] } });
|
|
5576
|
+
class TranslateMockModule {
|
|
5577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5578
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, imports: [TranslateMockPipe, TranslateMockDirective], exports: [TranslateMockPipe, TranslateMockDirective] }); }
|
|
5579
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, providers: [{ provide: TranslateService, useClass: TranslateServiceMock }] }); }
|
|
5580
|
+
}
|
|
5581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, decorators: [{
|
|
5582
|
+
type: NgModule,
|
|
5583
|
+
args: [{
|
|
5584
|
+
imports: [TranslateMockPipe, TranslateMockDirective],
|
|
5585
|
+
exports: [TranslateMockPipe, TranslateMockDirective],
|
|
5586
|
+
providers: [{ provide: TranslateService, useClass: TranslateServiceMock }],
|
|
5587
|
+
}]
|
|
5588
|
+
}] });
|
|
5589
|
+
|
|
5590
|
+
class EuiAppShellServiceMock {
|
|
5591
|
+
constructor() {
|
|
5592
|
+
this.breakpointSubject = new BehaviorSubject('');
|
|
5593
|
+
this.breakpoints$ = this.breakpointSubject.asObservable();
|
|
5594
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5595
|
+
this.state$ = of({});
|
|
5596
|
+
this.appRouter = {
|
|
5597
|
+
navigate: (url) => url,
|
|
5598
|
+
};
|
|
5599
|
+
}
|
|
5600
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5601
|
+
getState() {
|
|
5602
|
+
return of({});
|
|
5603
|
+
}
|
|
5604
|
+
consumeEvent() {
|
|
5605
|
+
/* empty */
|
|
5606
|
+
}
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5435
5609
|
/* BASE PACKAGE */
|
|
5436
5610
|
|
|
5437
5611
|
/**
|
|
5438
5612
|
* Generated bundle index. Do not edit.
|
|
5439
5613
|
*/
|
|
5440
5614
|
|
|
5441
|
-
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, DYNAMIC_COMPONENT_CONFIG, EUI_CONFIG_TOKEN, EUI_COUNTRIES, EUI_TIMEZONES, EmptyApiQueueAction, ErrorSubClass, EuLoginSessionTimeoutHandlingInterceptor, EuiAppShellService, 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, UX_ERROR_MAPPING_HANDLER_TOKEN, UpdateAppConnectionAction, UpdateAppStatusAction, UpdateAppVersionAction, UpdateCurrentModuleAction, UpdateI18nStateAction, UpdateLocaleStateAction, UpdateNotificationsListAction, UpdateUserDashboardAction, UpdateUserDetailsAction, UpdateUserPreferencesAction, UpdateUserRightsAction, UpdateUserStateAction, UserService, UserServiceMock, UxRequestErrorModelInterceptor, closestMatchingParent, consumeEvent, 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, translateConfig, uniqueId, validateEmail };
|
|
5615
|
+
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 };
|
|
5442
5616
|
//# sourceMappingURL=eui-core.mjs.map
|