@eui/core 23.0.0-alpha.1 → 23.0.0-alpha.10
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 +614 -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 +1013 -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-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 +1713 -1640
- 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 +43849 -14367
- package/docs/license.html +26 -2
- package/docs/llms.txt +2318 -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 +4036 -1032
- 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 +326 -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 +75 -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
|
|
|
@@ -2992,6 +3071,7 @@ const initialState$1 = {
|
|
|
2992
3071
|
appBaseFontSize: '',
|
|
2993
3072
|
isSidebarOpen: true,
|
|
2994
3073
|
isSidebarActive: false,
|
|
3074
|
+
hasFixedPosition: true,
|
|
2995
3075
|
hasSidebar: false,
|
|
2996
3076
|
hasSideContainer: false,
|
|
2997
3077
|
hasHeader: false,
|
|
@@ -3332,6 +3412,12 @@ class EuiAppShellService {
|
|
|
3332
3412
|
if (state.deviceInfo?.isChrome) {
|
|
3333
3413
|
classes.push('chrome');
|
|
3334
3414
|
}
|
|
3415
|
+
if (state.hasFixedPosition) {
|
|
3416
|
+
classes.push('fixed-position');
|
|
3417
|
+
}
|
|
3418
|
+
else {
|
|
3419
|
+
classes.push('relative-position');
|
|
3420
|
+
}
|
|
3335
3421
|
return classes.join(' ');
|
|
3336
3422
|
}
|
|
3337
3423
|
getBreakpoint(windowWidth) {
|
|
@@ -3389,10 +3475,10 @@ class EuiAppShellService {
|
|
|
3389
3475
|
}
|
|
3390
3476
|
});
|
|
3391
3477
|
}
|
|
3392
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3393
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3479
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, providedIn: 'root' }); }
|
|
3394
3480
|
}
|
|
3395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiAppShellService, decorators: [{
|
|
3396
3482
|
type: Injectable,
|
|
3397
3483
|
args: [{
|
|
3398
3484
|
providedIn: 'root',
|
|
@@ -4106,10 +4192,10 @@ class EuiTimezoneService {
|
|
|
4106
4192
|
getTimezone(tz) {
|
|
4107
4193
|
return EUI_TIMEZONES.find((item) => item.name === tz);
|
|
4108
4194
|
}
|
|
4109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4110
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4195
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4196
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService }); }
|
|
4111
4197
|
}
|
|
4112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiTimezoneService, decorators: [{
|
|
4113
4199
|
type: Injectable
|
|
4114
4200
|
}] });
|
|
4115
4201
|
|
|
@@ -4120,11 +4206,9 @@ var EuiTheme;
|
|
|
4120
4206
|
EuiTheme["ECL_EC_RTL"] = "ecl-ec-rtl";
|
|
4121
4207
|
EuiTheme["ECL_EU"] = "ecl-eu";
|
|
4122
4208
|
EuiTheme["ECL_EU_RTL"] = "ecl-eu-rtl";
|
|
4123
|
-
EuiTheme["EUI_LEGACY"] = "eui-legacy";
|
|
4124
|
-
EuiTheme["EUI_LEGACY_HC"] = "eui-legacy-high-contrast";
|
|
4125
4209
|
EuiTheme["DARK"] = "dark";
|
|
4210
|
+
EuiTheme["HIGH_CONTRAST"] = "high-contrast";
|
|
4126
4211
|
EuiTheme["COMPACT"] = "compact";
|
|
4127
|
-
EuiTheme["DS2025"] = "ds2025";
|
|
4128
4212
|
})(EuiTheme || (EuiTheme = {}));
|
|
4129
4213
|
;
|
|
4130
4214
|
;
|
|
@@ -4136,6 +4220,7 @@ const initialState = {
|
|
|
4136
4220
|
{ name: EuiTheme.ECL_EU, isActive: false, styleSheet: 'eui-ecl-eu.css', cssClass: null },
|
|
4137
4221
|
{ name: EuiTheme.ECL_EU_RTL, isActive: false, styleSheet: 'eui-ecl-eu.css', cssClass: null },
|
|
4138
4222
|
{ name: EuiTheme.DARK, isActive: false, styleSheet: null, cssClass: 'eui-t-dark' },
|
|
4223
|
+
{ name: EuiTheme.HIGH_CONTRAST, isActive: false, styleSheet: null, cssClass: 'eui-t-high-contrast' },
|
|
4139
4224
|
{ name: EuiTheme.COMPACT, isActive: false, styleSheet: null, cssClass: 'eui-t-compact' },
|
|
4140
4225
|
],
|
|
4141
4226
|
theme: {
|
|
@@ -4145,6 +4230,7 @@ const initialState = {
|
|
|
4145
4230
|
isEclEu: false,
|
|
4146
4231
|
isEclEuRtl: false,
|
|
4147
4232
|
isDark: false,
|
|
4233
|
+
isHighContrast: false,
|
|
4148
4234
|
isCompact: false,
|
|
4149
4235
|
},
|
|
4150
4236
|
};
|
|
@@ -4178,21 +4264,15 @@ class EuiThemeService {
|
|
|
4178
4264
|
isEclEuRtl() {
|
|
4179
4265
|
return this.state.theme.isEclEuRtl;
|
|
4180
4266
|
}
|
|
4181
|
-
isEuiLegacy() {
|
|
4182
|
-
return this.state.theme.isEuiLegacy;
|
|
4183
|
-
}
|
|
4184
|
-
isEuiLegacyHc() {
|
|
4185
|
-
return this.state.theme.isEuiLegacyHc;
|
|
4186
|
-
}
|
|
4187
4267
|
isDark() {
|
|
4188
4268
|
return this.state.theme.isDark;
|
|
4189
4269
|
}
|
|
4270
|
+
isHighContrast() {
|
|
4271
|
+
return this.state.theme.isHighContrast;
|
|
4272
|
+
}
|
|
4190
4273
|
isCompact() {
|
|
4191
4274
|
return this.state.theme.isCompact;
|
|
4192
4275
|
}
|
|
4193
|
-
isDs2025() {
|
|
4194
|
-
return this.state.theme.isDs2025;
|
|
4195
|
-
}
|
|
4196
4276
|
setActiveTheme(theme, isActive) {
|
|
4197
4277
|
const themes = this.state.themes;
|
|
4198
4278
|
const themeIdx = themes.findIndex(t => t.name === theme);
|
|
@@ -4228,20 +4308,12 @@ class EuiThemeService {
|
|
|
4228
4308
|
status.isDark = isActive;
|
|
4229
4309
|
break;
|
|
4230
4310
|
}
|
|
4231
|
-
case EuiTheme.
|
|
4232
|
-
status.
|
|
4233
|
-
break;
|
|
4234
|
-
}
|
|
4235
|
-
case EuiTheme.EUI_LEGACY: {
|
|
4236
|
-
status.isEuiLegacy = isActive;
|
|
4237
|
-
break;
|
|
4238
|
-
}
|
|
4239
|
-
case EuiTheme.EUI_LEGACY_HC: {
|
|
4240
|
-
status.isEuiLegacyHc = isActive;
|
|
4311
|
+
case EuiTheme.HIGH_CONTRAST: {
|
|
4312
|
+
status.isHighContrast = isActive;
|
|
4241
4313
|
break;
|
|
4242
4314
|
}
|
|
4243
|
-
case EuiTheme.
|
|
4244
|
-
status.
|
|
4315
|
+
case EuiTheme.COMPACT: {
|
|
4316
|
+
status.isCompact = isActive;
|
|
4245
4317
|
break;
|
|
4246
4318
|
}
|
|
4247
4319
|
}
|
|
@@ -4304,10 +4376,10 @@ class EuiThemeService {
|
|
|
4304
4376
|
}
|
|
4305
4377
|
}
|
|
4306
4378
|
}
|
|
4307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4308
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4380
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, providedIn: 'root' }); }
|
|
4309
4381
|
}
|
|
4310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiThemeService, decorators: [{
|
|
4311
4383
|
type: Injectable,
|
|
4312
4384
|
args: [{
|
|
4313
4385
|
providedIn: 'root',
|
|
@@ -4448,10 +4520,10 @@ class LocalStorageService extends StorageService {
|
|
|
4448
4520
|
}
|
|
4449
4521
|
}
|
|
4450
4522
|
}
|
|
4451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4452
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4524
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService }); }
|
|
4453
4525
|
}
|
|
4454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
4455
4527
|
type: Injectable
|
|
4456
4528
|
}] });
|
|
4457
4529
|
|
|
@@ -4521,10 +4593,10 @@ class SessionStorageService extends StorageService {
|
|
|
4521
4593
|
}
|
|
4522
4594
|
}
|
|
4523
4595
|
}
|
|
4524
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4525
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4596
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4597
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService }); }
|
|
4526
4598
|
}
|
|
4527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
4528
4600
|
type: Injectable
|
|
4529
4601
|
}] });
|
|
4530
4602
|
|
|
@@ -4627,10 +4699,10 @@ class LocalForageService extends AsyncStorageService {
|
|
|
4627
4699
|
},
|
|
4628
4700
|
}));
|
|
4629
4701
|
}
|
|
4630
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4631
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4702
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4703
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService }); }
|
|
4632
4704
|
}
|
|
4633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocalForageService, decorators: [{
|
|
4634
4706
|
type: Injectable
|
|
4635
4707
|
}], ctorParameters: () => [] });
|
|
4636
4708
|
|
|
@@ -4835,10 +4907,10 @@ class LocaleService extends EuiService {
|
|
|
4835
4907
|
return false;
|
|
4836
4908
|
}
|
|
4837
4909
|
}
|
|
4838
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4839
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4910
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4911
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, providedIn: 'root' }); }
|
|
4840
4912
|
}
|
|
4841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleService, decorators: [{
|
|
4842
4914
|
type: Injectable,
|
|
4843
4915
|
args: [{
|
|
4844
4916
|
providedIn: 'root',
|
|
@@ -4869,10 +4941,10 @@ class LocaleServiceMock extends LocaleService {
|
|
|
4869
4941
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4870
4942
|
return of({ success: true });
|
|
4871
4943
|
}
|
|
4872
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4873
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4944
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4945
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock }); }
|
|
4874
4946
|
}
|
|
4875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LocaleServiceMock, decorators: [{
|
|
4876
4948
|
type: Injectable
|
|
4877
4949
|
}], ctorParameters: () => [] });
|
|
4878
4950
|
|
|
@@ -5163,10 +5235,10 @@ class EuiLoaderService {
|
|
|
5163
5235
|
this.loadStyle(dependency);
|
|
5164
5236
|
}
|
|
5165
5237
|
}
|
|
5166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5167
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5239
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, providedIn: 'root' }); }
|
|
5168
5240
|
}
|
|
5169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiLoaderService, decorators: [{
|
|
5170
5242
|
type: Injectable,
|
|
5171
5243
|
args: [{
|
|
5172
5244
|
providedIn: 'root',
|
|
@@ -5228,10 +5300,10 @@ class UserService extends EuiService {
|
|
|
5228
5300
|
getSignal() {
|
|
5229
5301
|
return this.state;
|
|
5230
5302
|
}
|
|
5231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5232
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5303
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5304
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
5233
5305
|
}
|
|
5234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserService, decorators: [{
|
|
5235
5307
|
type: Injectable,
|
|
5236
5308
|
args: [{
|
|
5237
5309
|
providedIn: 'root',
|
|
@@ -5251,10 +5323,10 @@ class UserServiceMock extends UserService {
|
|
|
5251
5323
|
updateState(userState, reducer) {
|
|
5252
5324
|
/* empty */
|
|
5253
5325
|
}
|
|
5254
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5255
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5327
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock }); }
|
|
5256
5328
|
}
|
|
5257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
5258
5330
|
type: Injectable
|
|
5259
5331
|
}], ctorParameters: () => [] });
|
|
5260
5332
|
|
|
@@ -5275,7 +5347,7 @@ class AddLangParamInterceptor {
|
|
|
5275
5347
|
return next.handle(req);
|
|
5276
5348
|
}
|
|
5277
5349
|
// take the current language from the translate service
|
|
5278
|
-
const langValue = this.translateService.currentLang;
|
|
5350
|
+
const langValue = this.translateService.currentLang();
|
|
5279
5351
|
return next.handle(req.clone({
|
|
5280
5352
|
// remove the lang param header from headers
|
|
5281
5353
|
headers: req.headers.delete(LANG_PARAM_KEY),
|
|
@@ -5283,10 +5355,10 @@ class AddLangParamInterceptor {
|
|
|
5283
5355
|
params: req.params.set(langParam, langValue),
|
|
5284
5356
|
}));
|
|
5285
5357
|
}
|
|
5286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5358
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5359
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor }); }
|
|
5288
5360
|
}
|
|
5289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
5290
5362
|
type: Injectable
|
|
5291
5363
|
}] });
|
|
5292
5364
|
|
|
@@ -5302,10 +5374,10 @@ class CachePreventionInterceptor {
|
|
|
5302
5374
|
headers: req.headers.set('Cache-Control', 'No-Cache'),
|
|
5303
5375
|
}));
|
|
5304
5376
|
}
|
|
5305
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5306
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5377
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5378
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor }); }
|
|
5307
5379
|
}
|
|
5308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
5309
5381
|
type: Injectable
|
|
5310
5382
|
}] });
|
|
5311
5383
|
|
|
@@ -5315,10 +5387,10 @@ class CorsSecurityInterceptor {
|
|
|
5315
5387
|
withCredentials: true,
|
|
5316
5388
|
}));
|
|
5317
5389
|
}
|
|
5318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5319
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5391
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor }); }
|
|
5320
5392
|
}
|
|
5321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
5322
5394
|
type: Injectable
|
|
5323
5395
|
}] });
|
|
5324
5396
|
|
|
@@ -5328,10 +5400,10 @@ class CsrfPreventionInterceptor {
|
|
|
5328
5400
|
headers: request.headers.set('X-Requested-With', 'XMLHttpRequest'),
|
|
5329
5401
|
}));
|
|
5330
5402
|
}
|
|
5331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5332
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5403
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5404
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor }); }
|
|
5333
5405
|
}
|
|
5334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
5335
5407
|
type: Injectable
|
|
5336
5408
|
}] });
|
|
5337
5409
|
|
|
@@ -5398,10 +5470,10 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
5398
5470
|
reauthenticate() {
|
|
5399
5471
|
document.location.reload();
|
|
5400
5472
|
}
|
|
5401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5402
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5474
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor }); }
|
|
5403
5475
|
}
|
|
5404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
5405
5477
|
type: Injectable
|
|
5406
5478
|
}] });
|
|
5407
5479
|
|
|
@@ -5425,18 +5497,127 @@ class UxRequestErrorModelInterceptor {
|
|
|
5425
5497
|
return of(err);
|
|
5426
5498
|
}));
|
|
5427
5499
|
}
|
|
5428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5500
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5501
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor }); }
|
|
5430
5502
|
}
|
|
5431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
5432
5504
|
type: Injectable
|
|
5433
5505
|
}] });
|
|
5434
5506
|
|
|
5507
|
+
/* istanbul ignore file */
|
|
5508
|
+
const TRANSLATED_STRING = 'i18n';
|
|
5509
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
5510
|
+
class TranslateServiceMock {
|
|
5511
|
+
constructor() {
|
|
5512
|
+
this.onLangChangeSubject = new Subject();
|
|
5513
|
+
this.onTranslationChangeSubject = new Subject();
|
|
5514
|
+
this.onFallbackLangChangeSubject = new Subject();
|
|
5515
|
+
this.isLoadedSubject = new BehaviorSubject(true);
|
|
5516
|
+
this.onLangChange = this.onLangChangeSubject.asObservable();
|
|
5517
|
+
this.onTranslationChange = this.onTranslationChangeSubject.asObservable();
|
|
5518
|
+
this.onFallbackLangChange = this.onFallbackLangChangeSubject.asObservable();
|
|
5519
|
+
this.isLoaded = this.isLoadedSubject.asObservable();
|
|
5520
|
+
this.currentLang = signal(null, /* @ts-ignore */
|
|
5521
|
+
...(ngDevMode ? [{ debugName: "currentLang" }] : /* istanbul ignore next */ []));
|
|
5522
|
+
this.languages = [DEFAULT_LANGUAGE];
|
|
5523
|
+
}
|
|
5524
|
+
get(content) {
|
|
5525
|
+
return of(TRANSLATED_STRING + content);
|
|
5526
|
+
}
|
|
5527
|
+
use(lang) {
|
|
5528
|
+
this.currentLang.set(lang);
|
|
5529
|
+
this.onLangChangeSubject.next({ lang });
|
|
5530
|
+
}
|
|
5531
|
+
addLangs(langs) {
|
|
5532
|
+
this.languages = [...this.languages, ...langs];
|
|
5533
|
+
}
|
|
5534
|
+
getBrowserLang() {
|
|
5535
|
+
return DEFAULT_LANGUAGE;
|
|
5536
|
+
}
|
|
5537
|
+
getLangs() {
|
|
5538
|
+
return this.languages;
|
|
5539
|
+
}
|
|
5540
|
+
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
|
5541
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5542
|
+
getTranslation() {
|
|
5543
|
+
return of({});
|
|
5544
|
+
}
|
|
5545
|
+
instant(key) {
|
|
5546
|
+
return TRANSLATED_STRING + key.toString();
|
|
5547
|
+
}
|
|
5548
|
+
setFallbackLang(lang) {
|
|
5549
|
+
this.onFallbackLangChangeSubject.next(lang);
|
|
5550
|
+
}
|
|
5551
|
+
}
|
|
5552
|
+
class TranslateMockPipe {
|
|
5553
|
+
transform(text) {
|
|
5554
|
+
return !text ? TRANSLATED_STRING : `${text}-${TRANSLATED_STRING}`;
|
|
5555
|
+
}
|
|
5556
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5557
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, isStandalone: true, name: "translate" }); }
|
|
5558
|
+
}
|
|
5559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockPipe, decorators: [{
|
|
5560
|
+
type: Pipe,
|
|
5561
|
+
args: [{ name: 'translate' }]
|
|
5562
|
+
}] });
|
|
5563
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5564
|
+
class TranslateMockDirective {
|
|
5565
|
+
constructor() {
|
|
5566
|
+
this._element = inject(ElementRef);
|
|
5567
|
+
}
|
|
5568
|
+
ngAfterViewChecked() {
|
|
5569
|
+
this._element.nativeElement.innerText += TRANSLATED_STRING;
|
|
5570
|
+
}
|
|
5571
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5572
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: TranslateMockDirective, isStandalone: true, selector: "[translate]", inputs: { translateParams: "translateParams" }, ngImport: i0 }); }
|
|
5573
|
+
}
|
|
5574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockDirective, decorators: [{
|
|
5575
|
+
type: Directive,
|
|
5576
|
+
args: [{
|
|
5577
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
5578
|
+
selector: '[translate]',
|
|
5579
|
+
}]
|
|
5580
|
+
}], propDecorators: { translateParams: [{
|
|
5581
|
+
type: Input
|
|
5582
|
+
}] } });
|
|
5583
|
+
class TranslateMockModule {
|
|
5584
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5585
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, imports: [TranslateMockPipe, TranslateMockDirective], exports: [TranslateMockPipe, TranslateMockDirective] }); }
|
|
5586
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, providers: [{ provide: TranslateService, useClass: TranslateServiceMock }] }); }
|
|
5587
|
+
}
|
|
5588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslateMockModule, decorators: [{
|
|
5589
|
+
type: NgModule,
|
|
5590
|
+
args: [{
|
|
5591
|
+
imports: [TranslateMockPipe, TranslateMockDirective],
|
|
5592
|
+
exports: [TranslateMockPipe, TranslateMockDirective],
|
|
5593
|
+
providers: [{ provide: TranslateService, useClass: TranslateServiceMock }],
|
|
5594
|
+
}]
|
|
5595
|
+
}] });
|
|
5596
|
+
|
|
5597
|
+
class EuiAppShellServiceMock {
|
|
5598
|
+
constructor() {
|
|
5599
|
+
this.breakpointSubject = new BehaviorSubject('');
|
|
5600
|
+
this.breakpoints$ = this.breakpointSubject.asObservable();
|
|
5601
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5602
|
+
this.state$ = of({});
|
|
5603
|
+
this.appRouter = {
|
|
5604
|
+
navigate: (url) => url,
|
|
5605
|
+
};
|
|
5606
|
+
}
|
|
5607
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5608
|
+
getState() {
|
|
5609
|
+
return of({});
|
|
5610
|
+
}
|
|
5611
|
+
consumeEvent() {
|
|
5612
|
+
/* empty */
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5435
5616
|
/* BASE PACKAGE */
|
|
5436
5617
|
|
|
5437
5618
|
/**
|
|
5438
5619
|
* Generated bundle index. Do not edit.
|
|
5439
5620
|
*/
|
|
5440
5621
|
|
|
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 };
|
|
5622
|
+
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
5623
|
//# sourceMappingURL=eui-core.mjs.map
|