@eui/core 23.0.0-alpha.1 → 23.0.0-alpha.11
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 +654 -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 +1023 -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 +149 -70
- 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-3.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-21.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 +1757 -1639
- 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 +158 -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 +42548 -13054
- package/docs/license.html +26 -2
- package/docs/llms.txt +2319 -0
- package/docs/miscellaneous/enumerations.html +38 -34
- package/docs/miscellaneous/functions.html +19810 -769
- package/docs/miscellaneous/typealiases.html +59 -27
- package/docs/miscellaneous/variables.html +4038 -1034
- 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 +321 -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 +123 -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 +31 -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-eui-tooltip/index.d.ts +7 -0
- package/schematics/migrate-eui-tooltip/index.js +263 -0
- package/schematics/migrate-eui-tooltip/index.js.map +1 -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 +77 -18
- 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
|
|
|
@@ -2995,6 +3074,7 @@ const initialState$1 = {
|
|
|
2995
3074
|
hasSidebar: false,
|
|
2996
3075
|
hasSideContainer: false,
|
|
2997
3076
|
hasHeader: false,
|
|
3077
|
+
isShrinkHeaderActive: false,
|
|
2998
3078
|
hasBreadcrumb: false,
|
|
2999
3079
|
hasHeaderLogo: false,
|
|
3000
3080
|
hasHeaderEnvironment: false,
|
|
@@ -3136,6 +3216,7 @@ class EuiAppShellService {
|
|
|
3136
3216
|
this._breakpoints$ = new BehaviorSubject({});
|
|
3137
3217
|
this.bindActiveLanguageToAppShellState();
|
|
3138
3218
|
}
|
|
3219
|
+
//eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3139
3220
|
setState(nextState, updateI18 = true) {
|
|
3140
3221
|
let breakpoint, breakpoints;
|
|
3141
3222
|
let combinedLinks;
|
|
@@ -3389,10 +3470,10 @@ class EuiAppShellService {
|
|
|
3389
3470
|
}
|
|
3390
3471
|
});
|
|
3391
3472
|
}
|
|
3392
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3393
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3474
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, providedIn: 'root' }); }
|
|
3394
3475
|
}
|
|
3395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, decorators: [{
|
|
3396
3477
|
type: Injectable,
|
|
3397
3478
|
args: [{
|
|
3398
3479
|
providedIn: 'root',
|
|
@@ -4106,10 +4187,10 @@ class EuiTimezoneService {
|
|
|
4106
4187
|
getTimezone(tz) {
|
|
4107
4188
|
return EUI_TIMEZONES.find((item) => item.name === tz);
|
|
4108
4189
|
}
|
|
4109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4110
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4191
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService }); }
|
|
4111
4192
|
}
|
|
4112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService, decorators: [{
|
|
4113
4194
|
type: Injectable
|
|
4114
4195
|
}] });
|
|
4115
4196
|
|
|
@@ -4120,11 +4201,9 @@ var EuiTheme;
|
|
|
4120
4201
|
EuiTheme["ECL_EC_RTL"] = "ecl-ec-rtl";
|
|
4121
4202
|
EuiTheme["ECL_EU"] = "ecl-eu";
|
|
4122
4203
|
EuiTheme["ECL_EU_RTL"] = "ecl-eu-rtl";
|
|
4123
|
-
EuiTheme["EUI_LEGACY"] = "eui-legacy";
|
|
4124
|
-
EuiTheme["EUI_LEGACY_HC"] = "eui-legacy-high-contrast";
|
|
4125
4204
|
EuiTheme["DARK"] = "dark";
|
|
4205
|
+
EuiTheme["HIGH_CONTRAST"] = "high-contrast";
|
|
4126
4206
|
EuiTheme["COMPACT"] = "compact";
|
|
4127
|
-
EuiTheme["DS2025"] = "ds2025";
|
|
4128
4207
|
})(EuiTheme || (EuiTheme = {}));
|
|
4129
4208
|
;
|
|
4130
4209
|
;
|
|
@@ -4136,6 +4215,7 @@ const initialState = {
|
|
|
4136
4215
|
{ name: EuiTheme.ECL_EU, isActive: false, styleSheet: 'eui-ecl-eu.css', cssClass: null },
|
|
4137
4216
|
{ name: EuiTheme.ECL_EU_RTL, isActive: false, styleSheet: 'eui-ecl-eu.css', cssClass: null },
|
|
4138
4217
|
{ name: EuiTheme.DARK, isActive: false, styleSheet: null, cssClass: 'eui-t-dark' },
|
|
4218
|
+
{ name: EuiTheme.HIGH_CONTRAST, isActive: false, styleSheet: null, cssClass: 'eui-t-high-contrast' },
|
|
4139
4219
|
{ name: EuiTheme.COMPACT, isActive: false, styleSheet: null, cssClass: 'eui-t-compact' },
|
|
4140
4220
|
],
|
|
4141
4221
|
theme: {
|
|
@@ -4145,6 +4225,7 @@ const initialState = {
|
|
|
4145
4225
|
isEclEu: false,
|
|
4146
4226
|
isEclEuRtl: false,
|
|
4147
4227
|
isDark: false,
|
|
4228
|
+
isHighContrast: false,
|
|
4148
4229
|
isCompact: false,
|
|
4149
4230
|
},
|
|
4150
4231
|
};
|
|
@@ -4178,21 +4259,15 @@ class EuiThemeService {
|
|
|
4178
4259
|
isEclEuRtl() {
|
|
4179
4260
|
return this.state.theme.isEclEuRtl;
|
|
4180
4261
|
}
|
|
4181
|
-
isEuiLegacy() {
|
|
4182
|
-
return this.state.theme.isEuiLegacy;
|
|
4183
|
-
}
|
|
4184
|
-
isEuiLegacyHc() {
|
|
4185
|
-
return this.state.theme.isEuiLegacyHc;
|
|
4186
|
-
}
|
|
4187
4262
|
isDark() {
|
|
4188
4263
|
return this.state.theme.isDark;
|
|
4189
4264
|
}
|
|
4265
|
+
isHighContrast() {
|
|
4266
|
+
return this.state.theme.isHighContrast;
|
|
4267
|
+
}
|
|
4190
4268
|
isCompact() {
|
|
4191
4269
|
return this.state.theme.isCompact;
|
|
4192
4270
|
}
|
|
4193
|
-
isDs2025() {
|
|
4194
|
-
return this.state.theme.isDs2025;
|
|
4195
|
-
}
|
|
4196
4271
|
setActiveTheme(theme, isActive) {
|
|
4197
4272
|
const themes = this.state.themes;
|
|
4198
4273
|
const themeIdx = themes.findIndex(t => t.name === theme);
|
|
@@ -4228,20 +4303,12 @@ class EuiThemeService {
|
|
|
4228
4303
|
status.isDark = isActive;
|
|
4229
4304
|
break;
|
|
4230
4305
|
}
|
|
4231
|
-
case EuiTheme.
|
|
4232
|
-
status.
|
|
4306
|
+
case EuiTheme.HIGH_CONTRAST: {
|
|
4307
|
+
status.isHighContrast = isActive;
|
|
4233
4308
|
break;
|
|
4234
4309
|
}
|
|
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;
|
|
4310
|
+
case EuiTheme.COMPACT: {
|
|
4311
|
+
status.isCompact = isActive;
|
|
4245
4312
|
break;
|
|
4246
4313
|
}
|
|
4247
4314
|
}
|
|
@@ -4304,10 +4371,10 @@ class EuiThemeService {
|
|
|
4304
4371
|
}
|
|
4305
4372
|
}
|
|
4306
4373
|
}
|
|
4307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4308
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4375
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, providedIn: 'root' }); }
|
|
4309
4376
|
}
|
|
4310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, decorators: [{
|
|
4311
4378
|
type: Injectable,
|
|
4312
4379
|
args: [{
|
|
4313
4380
|
providedIn: 'root',
|
|
@@ -4448,10 +4515,10 @@ class LocalStorageService extends StorageService {
|
|
|
4448
4515
|
}
|
|
4449
4516
|
}
|
|
4450
4517
|
}
|
|
4451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4452
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4519
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService }); }
|
|
4453
4520
|
}
|
|
4454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
4455
4522
|
type: Injectable
|
|
4456
4523
|
}] });
|
|
4457
4524
|
|
|
@@ -4521,10 +4588,10 @@ class SessionStorageService extends StorageService {
|
|
|
4521
4588
|
}
|
|
4522
4589
|
}
|
|
4523
4590
|
}
|
|
4524
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4525
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4591
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4592
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService }); }
|
|
4526
4593
|
}
|
|
4527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
4528
4595
|
type: Injectable
|
|
4529
4596
|
}] });
|
|
4530
4597
|
|
|
@@ -4627,10 +4694,10 @@ class LocalForageService extends AsyncStorageService {
|
|
|
4627
4694
|
},
|
|
4628
4695
|
}));
|
|
4629
4696
|
}
|
|
4630
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4631
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4697
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4698
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService }); }
|
|
4632
4699
|
}
|
|
4633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService, decorators: [{
|
|
4634
4701
|
type: Injectable
|
|
4635
4702
|
}], ctorParameters: () => [] });
|
|
4636
4703
|
|
|
@@ -4835,10 +4902,10 @@ class LocaleService extends EuiService {
|
|
|
4835
4902
|
return false;
|
|
4836
4903
|
}
|
|
4837
4904
|
}
|
|
4838
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4839
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4906
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, providedIn: 'root' }); }
|
|
4840
4907
|
}
|
|
4841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, decorators: [{
|
|
4842
4909
|
type: Injectable,
|
|
4843
4910
|
args: [{
|
|
4844
4911
|
providedIn: 'root',
|
|
@@ -4869,10 +4936,10 @@ class LocaleServiceMock extends LocaleService {
|
|
|
4869
4936
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4870
4937
|
return of({ success: true });
|
|
4871
4938
|
}
|
|
4872
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4873
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4939
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4940
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock }); }
|
|
4874
4941
|
}
|
|
4875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock, decorators: [{
|
|
4876
4943
|
type: Injectable
|
|
4877
4944
|
}], ctorParameters: () => [] });
|
|
4878
4945
|
|
|
@@ -5163,10 +5230,10 @@ class EuiLoaderService {
|
|
|
5163
5230
|
this.loadStyle(dependency);
|
|
5164
5231
|
}
|
|
5165
5232
|
}
|
|
5166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5167
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, providedIn: 'root' }); }
|
|
5168
5235
|
}
|
|
5169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, decorators: [{
|
|
5170
5237
|
type: Injectable,
|
|
5171
5238
|
args: [{
|
|
5172
5239
|
providedIn: 'root',
|
|
@@ -5228,10 +5295,10 @@ class UserService extends EuiService {
|
|
|
5228
5295
|
getSignal() {
|
|
5229
5296
|
return this.state;
|
|
5230
5297
|
}
|
|
5231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5232
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5298
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5299
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
5233
5300
|
}
|
|
5234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, decorators: [{
|
|
5235
5302
|
type: Injectable,
|
|
5236
5303
|
args: [{
|
|
5237
5304
|
providedIn: 'root',
|
|
@@ -5251,10 +5318,10 @@ class UserServiceMock extends UserService {
|
|
|
5251
5318
|
updateState(userState, reducer) {
|
|
5252
5319
|
/* empty */
|
|
5253
5320
|
}
|
|
5254
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5255
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5321
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5322
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock }); }
|
|
5256
5323
|
}
|
|
5257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
5258
5325
|
type: Injectable
|
|
5259
5326
|
}], ctorParameters: () => [] });
|
|
5260
5327
|
|
|
@@ -5275,7 +5342,7 @@ class AddLangParamInterceptor {
|
|
|
5275
5342
|
return next.handle(req);
|
|
5276
5343
|
}
|
|
5277
5344
|
// take the current language from the translate service
|
|
5278
|
-
const langValue = this.translateService.currentLang;
|
|
5345
|
+
const langValue = this.translateService.currentLang();
|
|
5279
5346
|
return next.handle(req.clone({
|
|
5280
5347
|
// remove the lang param header from headers
|
|
5281
5348
|
headers: req.headers.delete(LANG_PARAM_KEY),
|
|
@@ -5283,10 +5350,10 @@ class AddLangParamInterceptor {
|
|
|
5283
5350
|
params: req.params.set(langParam, langValue),
|
|
5284
5351
|
}));
|
|
5285
5352
|
}
|
|
5286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5354
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor }); }
|
|
5288
5355
|
}
|
|
5289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
5290
5357
|
type: Injectable
|
|
5291
5358
|
}] });
|
|
5292
5359
|
|
|
@@ -5302,10 +5369,10 @@ class CachePreventionInterceptor {
|
|
|
5302
5369
|
headers: req.headers.set('Cache-Control', 'No-Cache'),
|
|
5303
5370
|
}));
|
|
5304
5371
|
}
|
|
5305
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5306
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5373
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor }); }
|
|
5307
5374
|
}
|
|
5308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
5309
5376
|
type: Injectable
|
|
5310
5377
|
}] });
|
|
5311
5378
|
|
|
@@ -5315,10 +5382,10 @@ class CorsSecurityInterceptor {
|
|
|
5315
5382
|
withCredentials: true,
|
|
5316
5383
|
}));
|
|
5317
5384
|
}
|
|
5318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5319
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5385
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5386
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor }); }
|
|
5320
5387
|
}
|
|
5321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
5322
5389
|
type: Injectable
|
|
5323
5390
|
}] });
|
|
5324
5391
|
|
|
@@ -5328,10 +5395,10 @@ class CsrfPreventionInterceptor {
|
|
|
5328
5395
|
headers: request.headers.set('X-Requested-With', 'XMLHttpRequest'),
|
|
5329
5396
|
}));
|
|
5330
5397
|
}
|
|
5331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5332
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5399
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor }); }
|
|
5333
5400
|
}
|
|
5334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
5335
5402
|
type: Injectable
|
|
5336
5403
|
}] });
|
|
5337
5404
|
|
|
@@ -5398,10 +5465,10 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
5398
5465
|
reauthenticate() {
|
|
5399
5466
|
document.location.reload();
|
|
5400
5467
|
}
|
|
5401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5402
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5468
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5469
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor }); }
|
|
5403
5470
|
}
|
|
5404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
5405
5472
|
type: Injectable
|
|
5406
5473
|
}] });
|
|
5407
5474
|
|
|
@@ -5425,18 +5492,127 @@ class UxRequestErrorModelInterceptor {
|
|
|
5425
5492
|
return of(err);
|
|
5426
5493
|
}));
|
|
5427
5494
|
}
|
|
5428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5495
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5496
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor }); }
|
|
5430
5497
|
}
|
|
5431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
5432
5499
|
type: Injectable
|
|
5433
5500
|
}] });
|
|
5434
5501
|
|
|
5502
|
+
/* istanbul ignore file */
|
|
5503
|
+
const TRANSLATED_STRING = 'i18n';
|
|
5504
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
5505
|
+
class TranslateServiceMock {
|
|
5506
|
+
constructor() {
|
|
5507
|
+
this.onLangChangeSubject = new Subject();
|
|
5508
|
+
this.onTranslationChangeSubject = new Subject();
|
|
5509
|
+
this.onFallbackLangChangeSubject = new Subject();
|
|
5510
|
+
this.isLoadedSubject = new BehaviorSubject(true);
|
|
5511
|
+
this.onLangChange = this.onLangChangeSubject.asObservable();
|
|
5512
|
+
this.onTranslationChange = this.onTranslationChangeSubject.asObservable();
|
|
5513
|
+
this.onFallbackLangChange = this.onFallbackLangChangeSubject.asObservable();
|
|
5514
|
+
this.isLoaded = this.isLoadedSubject.asObservable();
|
|
5515
|
+
this.currentLang = signal(null, /* @ts-ignore */
|
|
5516
|
+
...(ngDevMode ? [{ debugName: "currentLang" }] : /* istanbul ignore next */ []));
|
|
5517
|
+
this.languages = [DEFAULT_LANGUAGE];
|
|
5518
|
+
}
|
|
5519
|
+
get(content) {
|
|
5520
|
+
return of(TRANSLATED_STRING + content);
|
|
5521
|
+
}
|
|
5522
|
+
use(lang) {
|
|
5523
|
+
this.currentLang.set(lang);
|
|
5524
|
+
this.onLangChangeSubject.next({ lang });
|
|
5525
|
+
}
|
|
5526
|
+
addLangs(langs) {
|
|
5527
|
+
this.languages = [...this.languages, ...langs];
|
|
5528
|
+
}
|
|
5529
|
+
getBrowserLang() {
|
|
5530
|
+
return DEFAULT_LANGUAGE;
|
|
5531
|
+
}
|
|
5532
|
+
getLangs() {
|
|
5533
|
+
return this.languages;
|
|
5534
|
+
}
|
|
5535
|
+
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
|
5536
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5537
|
+
getTranslation() {
|
|
5538
|
+
return of({});
|
|
5539
|
+
}
|
|
5540
|
+
instant(key) {
|
|
5541
|
+
return TRANSLATED_STRING + key.toString();
|
|
5542
|
+
}
|
|
5543
|
+
setFallbackLang(lang) {
|
|
5544
|
+
this.onFallbackLangChangeSubject.next(lang);
|
|
5545
|
+
}
|
|
5546
|
+
}
|
|
5547
|
+
class TranslateMockPipe {
|
|
5548
|
+
transform(text) {
|
|
5549
|
+
return !text ? TRANSLATED_STRING : `${text}-${TRANSLATED_STRING}`;
|
|
5550
|
+
}
|
|
5551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5552
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, isStandalone: true, name: "translate" }); }
|
|
5553
|
+
}
|
|
5554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, decorators: [{
|
|
5555
|
+
type: Pipe,
|
|
5556
|
+
args: [{ name: 'translate' }]
|
|
5557
|
+
}] });
|
|
5558
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5559
|
+
class TranslateMockDirective {
|
|
5560
|
+
constructor() {
|
|
5561
|
+
this._element = inject(ElementRef);
|
|
5562
|
+
}
|
|
5563
|
+
ngAfterViewChecked() {
|
|
5564
|
+
this._element.nativeElement.innerText += TRANSLATED_STRING;
|
|
5565
|
+
}
|
|
5566
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5567
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: TranslateMockDirective, isStandalone: true, selector: "[translate]", inputs: { translateParams: "translateParams" }, ngImport: i0 }); }
|
|
5568
|
+
}
|
|
5569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockDirective, decorators: [{
|
|
5570
|
+
type: Directive,
|
|
5571
|
+
args: [{
|
|
5572
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
5573
|
+
selector: '[translate]',
|
|
5574
|
+
}]
|
|
5575
|
+
}], propDecorators: { translateParams: [{
|
|
5576
|
+
type: Input
|
|
5577
|
+
}] } });
|
|
5578
|
+
class TranslateMockModule {
|
|
5579
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5580
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, imports: [TranslateMockPipe, TranslateMockDirective], exports: [TranslateMockPipe, TranslateMockDirective] }); }
|
|
5581
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, providers: [{ provide: TranslateService, useClass: TranslateServiceMock }] }); }
|
|
5582
|
+
}
|
|
5583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, decorators: [{
|
|
5584
|
+
type: NgModule,
|
|
5585
|
+
args: [{
|
|
5586
|
+
imports: [TranslateMockPipe, TranslateMockDirective],
|
|
5587
|
+
exports: [TranslateMockPipe, TranslateMockDirective],
|
|
5588
|
+
providers: [{ provide: TranslateService, useClass: TranslateServiceMock }],
|
|
5589
|
+
}]
|
|
5590
|
+
}] });
|
|
5591
|
+
|
|
5592
|
+
class EuiAppShellServiceMock {
|
|
5593
|
+
constructor() {
|
|
5594
|
+
this.breakpointSubject = new BehaviorSubject('');
|
|
5595
|
+
this.breakpoints$ = this.breakpointSubject.asObservable();
|
|
5596
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5597
|
+
this.state$ = of({});
|
|
5598
|
+
this.appRouter = {
|
|
5599
|
+
navigate: (url) => url,
|
|
5600
|
+
};
|
|
5601
|
+
}
|
|
5602
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5603
|
+
getState() {
|
|
5604
|
+
return of({});
|
|
5605
|
+
}
|
|
5606
|
+
consumeEvent() {
|
|
5607
|
+
/* empty */
|
|
5608
|
+
}
|
|
5609
|
+
}
|
|
5610
|
+
|
|
5435
5611
|
/* BASE PACKAGE */
|
|
5436
5612
|
|
|
5437
5613
|
/**
|
|
5438
5614
|
* Generated bundle index. Do not edit.
|
|
5439
5615
|
*/
|
|
5440
5616
|
|
|
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 };
|
|
5617
|
+
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
5618
|
//# sourceMappingURL=eui-core.mjs.map
|