@eui/core 21.0.0-alpha.2 → 21.0.0-alpha.21
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 +248 -5298
- package/docs/changelog.html +328 -7824
- package/docs/classes/ActivatedRouteAction.html +18 -0
- package/docs/classes/AddApiQueueItemAction.html +18 -0
- package/docs/classes/AddAppLoadedConfigModulesAction.html +18 -0
- package/docs/classes/ApiQueueServiceMock.html +18 -0
- package/docs/classes/AsyncStorageService.html +18 -0
- package/docs/classes/AsyncStorageServiceMock.html +18 -0
- package/docs/classes/CssUtils.html +45 -0
- package/docs/classes/EmptyApiQueueAction.html +18 -0
- package/docs/classes/ErrorSubClass.html +18 -0
- package/docs/classes/EuiCoreRootGuardClass.html +18 -0
- package/docs/classes/EuiError.html +18 -0
- package/docs/classes/I18nResourceImpl.html +18 -0
- package/docs/classes/InitStoreAction.html +18 -0
- package/docs/classes/LogServiceMock.html +18 -0
- package/docs/classes/RemoveApiQueueItemAction.html +18 -0
- package/docs/classes/StorageService.html +18 -0
- package/docs/classes/StorageServiceMock.html +18 -0
- package/docs/classes/TranslateServiceMock.html +18 -0
- package/docs/classes/UpdateAppConnectionAction.html +18 -0
- package/docs/classes/UpdateAppStatusAction.html +18 -0
- package/docs/classes/UpdateAppVersionAction.html +18 -0
- package/docs/classes/UpdateCurrentModuleAction.html +18 -0
- package/docs/classes/UpdateI18nStateAction.html +18 -0
- package/docs/classes/UpdateLocaleStateAction.html +18 -0
- package/docs/classes/UpdateNotificationsListAction.html +18 -0
- package/docs/classes/UpdateUserDashboardAction.html +18 -0
- package/docs/classes/UpdateUserDetailsAction.html +18 -0
- package/docs/classes/UpdateUserPreferencesAction.html +18 -0
- package/docs/classes/UpdateUserRightsAction.html +18 -0
- package/docs/classes/UpdateUserStateAction.html +18 -0
- package/docs/dependencies.html +18 -0
- package/docs/directives/TranslateMockDirective.html +18 -0
- package/docs/index.html +20 -2
- package/docs/injectables/ApiQueueService.html +18 -0
- package/docs/injectables/EuiAppShellService.html +55 -0
- package/docs/injectables/EuiDynamicComponentService.html +18 -0
- package/docs/injectables/EuiDynamicMenuService.html +18 -0
- package/docs/injectables/EuiGrowlService.html +18 -0
- package/docs/injectables/EuiLoaderService.html +18 -0
- package/docs/injectables/EuiPermissionService.html +18 -0
- package/docs/injectables/EuiThemeService.html +18 -0
- package/docs/injectables/EuiTimezoneService.html +18 -0
- package/docs/injectables/GlobalErrorHandler.html +18 -0
- package/docs/injectables/I18nLoader.html +18 -0
- package/docs/injectables/I18nService.html +18 -0
- package/docs/injectables/I18nServiceMock.html +18 -0
- package/docs/injectables/LocalForageService.html +18 -0
- package/docs/injectables/LocalStorageService.html +18 -0
- package/docs/injectables/LocaleService.html +18 -0
- package/docs/injectables/LocaleServiceMock.html +18 -0
- package/docs/injectables/LogService.html +18 -0
- package/docs/injectables/SessionStorageService.html +18 -0
- package/docs/injectables/StoreService.html +18 -0
- package/docs/injectables/StoreServiceMock.html +18 -0
- package/docs/injectables/UserService.html +18 -0
- package/docs/injectables/UserServiceMock.html +18 -0
- package/docs/interceptors/AddLangParamInterceptor.html +18 -0
- package/docs/interceptors/CachePreventionInterceptor.html +18 -0
- package/docs/interceptors/CorsSecurityInterceptor.html +18 -0
- package/docs/interceptors/CsrfPreventionInterceptor.html +18 -0
- package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +18 -0
- package/docs/interceptors/HttpErrorHandlerInterceptor.html +18 -0
- package/docs/interceptors/UxRequestErrorModelInterceptor.html +18 -0
- package/docs/interfaces/Action.html +18 -0
- package/docs/interfaces/ActionReducer.html +18 -0
- package/docs/interfaces/Dependency.html +18 -0
- package/docs/interfaces/EuiTimeZone.html +18 -0
- package/docs/interfaces/IEuiTheme.html +18 -0
- package/docs/interfaces/Library.html +18 -0
- package/docs/interfaces/LoadedResources.html +18 -0
- package/docs/interfaces/LoadedResourcesError.html +18 -0
- package/docs/interfaces/MemoizedSelector.html +18 -0
- package/docs/interfaces/MemoizedSelectorWithProps.html +18 -0
- package/docs/interfaces/ModuleLoadEvent.html +18 -0
- package/docs/interfaces/Policy.html +18 -0
- package/docs/interfaces/ResourceError.html +18 -0
- package/docs/interfaces/ThemeState.html +18 -0
- package/docs/interfaces/TranslationKeys.html +18 -0
- package/docs/interfaces/UIState.html +108 -0
- package/docs/interfaces/body.html +18 -0
- package/docs/js/libs/bootstrap-native.js +1 -1
- package/docs/js/libs/jszip.min.js +13 -0
- package/docs/js/libs/svg-pan-zoom.min.js +3 -3
- package/docs/js/libs/tablesort.min.js +3 -3
- package/docs/js/libs/tablesort.number.min.js +3 -3
- package/docs/js/menu-wc.js +16 -20
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/routes/routes_index.js +1 -0
- package/docs/js/routes.js +15 -8
- package/docs/js/search/search_index.js +2 -2
- package/docs/license.html +20 -2
- package/docs/miscellaneous/enumerations.html +18 -0
- package/docs/miscellaneous/functions.html +18 -0
- package/docs/miscellaneous/typealiases.html +18 -0
- package/docs/miscellaneous/variables.html +22 -53
- package/docs/modules/CoreModule.html +18 -0
- package/docs/modules/I18nModule.html +18 -0
- package/docs/modules/LogModule.html +18 -0
- package/docs/modules/TranslateMockModule.html +18 -0
- package/docs/modules.html +18 -0
- package/docs/overview.html +28 -0
- package/docs/pipes/TranslateMockPipe.html +18 -0
- package/docs/properties.html +19 -1
- package/docs/routes.html +204 -0
- package/docs/template-playground/default-templates.json +192 -0
- package/docs/template-playground/hbs-render.service.ts +212 -0
- package/docs/template-playground/main.ts +9 -0
- package/docs/template-playground/template-editor.service.ts +173 -0
- package/docs/template-playground/template-playground.component.ts +614 -0
- package/docs/template-playground/template-playground.module.ts +29 -0
- package/docs/template-playground/zip-export.service.ts +86 -0
- package/docs/template-playground-app/app.js +1389 -0
- package/docs/template-playground-app/index.html +462 -0
- package/fesm2022/eui-core.mjs +117 -108
- package/fesm2022/eui-core.mjs.map +1 -1
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -1
- package/package.json +45 -45
package/fesm2022/eui-core.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { ConsoleAppender, LogLevel, initialAppState, initialUserState, initialNo
|
|
|
2
2
|
export * from '@eui/base';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, inject, PLATFORM_ID, Injectable, Injector, NgModule, Optional, SkipSelf, provideAppInitializer, ErrorHandler, ApplicationRef, LOCALE_ID } from '@angular/core';
|
|
5
|
-
import
|
|
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';
|
|
8
8
|
import { filter, debounceTime, distinctUntilChanged, map, tap, take, switchMap, catchError, concatMap, takeUntil } from 'rxjs/operators';
|
|
@@ -85,7 +85,6 @@ const DEFAULT_EUI_CONFIG = {
|
|
|
85
85
|
},
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
const extend$1 = extendProxy.default || extendProxy;
|
|
89
88
|
const EUI_CONFIG_TOKEN = new InjectionToken('EuiConfig');
|
|
90
89
|
const MODULE_NAME_TOKEN = new InjectionToken('moduleName');
|
|
91
90
|
const MODULE_CONFIG_TOKEN = new InjectionToken('moduleConfig');
|
|
@@ -138,7 +137,8 @@ function mergeAppJsonConfigToAppConfig(euiAppConfig, envAppJsonConfig, merge, is
|
|
|
138
137
|
typeof euiAppConfig[key] === 'object') {
|
|
139
138
|
if (isDeepMerge) {
|
|
140
139
|
deepMerged[key] = {};
|
|
141
|
-
|
|
140
|
+
deepMerged[key] = deepmerge(euiAppConfig[key], envAppJsonConfig[key]);
|
|
141
|
+
// extend(true, deepMerged[key], euiAppConfig[key], envAppJsonConfig[key]);
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
144
144
|
envAppJsonConfig[key] = {
|
|
@@ -532,7 +532,6 @@ const coreReducers = Object.assign({}, {
|
|
|
532
532
|
locale: coreLocaleReducers,
|
|
533
533
|
});
|
|
534
534
|
|
|
535
|
-
const extend = extendProxy.default || extendProxy;
|
|
536
535
|
// eslint-disable-next-line
|
|
537
536
|
function localStorageSync(reducer, platformId) {
|
|
538
537
|
if (platformId) {
|
|
@@ -623,7 +622,8 @@ const cb = (reducer, storage) => (state, action) => {
|
|
|
623
622
|
// const isUserIdOK = (localUserId === payloadUserId);
|
|
624
623
|
// update the entire state with deep merge of states, if the version and user are the same
|
|
625
624
|
if (isVersionOK) {
|
|
626
|
-
state =
|
|
625
|
+
state = { ...state, ...localState };
|
|
626
|
+
// state = extend(true, {}, state, localState);
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
// update the app version, if defined
|
|
@@ -669,10 +669,10 @@ class LogService extends Logger {
|
|
|
669
669
|
}
|
|
670
670
|
return logger;
|
|
671
671
|
}
|
|
672
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
673
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
673
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LogService }); }
|
|
674
674
|
}
|
|
675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LogService, decorators: [{
|
|
676
676
|
type: Injectable
|
|
677
677
|
}], ctorParameters: () => [] });
|
|
678
678
|
|
|
@@ -770,11 +770,11 @@ class LogModule {
|
|
|
770
770
|
],
|
|
771
771
|
};
|
|
772
772
|
}
|
|
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: "
|
|
773
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
774
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.3", ngImport: i0, type: LogModule }); }
|
|
775
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LogModule }); }
|
|
776
776
|
}
|
|
777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LogModule, decorators: [{
|
|
778
778
|
type: NgModule
|
|
779
779
|
}] });
|
|
780
780
|
|
|
@@ -926,10 +926,10 @@ class StoreService {
|
|
|
926
926
|
isObject(item) {
|
|
927
927
|
return item && typeof item === 'object' && !Array.isArray(item);
|
|
928
928
|
}
|
|
929
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
930
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: StoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
930
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: StoreService, providedIn: 'root' }); }
|
|
931
931
|
}
|
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: StoreService, decorators: [{
|
|
933
933
|
type: Injectable,
|
|
934
934
|
args: [{
|
|
935
935
|
providedIn: 'root',
|
|
@@ -948,10 +948,10 @@ class StoreServiceMock extends StoreService {
|
|
|
948
948
|
select() {
|
|
949
949
|
return of({});
|
|
950
950
|
}
|
|
951
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
952
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
951
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
952
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: StoreServiceMock }); }
|
|
953
953
|
}
|
|
954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
955
955
|
type: Injectable
|
|
956
956
|
}], ctorParameters: () => [] });
|
|
957
957
|
|
|
@@ -1044,11 +1044,11 @@ class CoreModule {
|
|
|
1044
1044
|
storeService.updateState({ moduleName, moduleConfig }, AddAppLoadedConfigModules);
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1048
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1049
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1047
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1048
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.3", ngImport: i0, type: CoreModule }); }
|
|
1049
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CoreModule }); }
|
|
1050
1050
|
}
|
|
1051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CoreModule, decorators: [{
|
|
1052
1052
|
type: NgModule
|
|
1053
1053
|
}], ctorParameters: () => [] });
|
|
1054
1054
|
const createEuiCoreRootGuard = (core) => {
|
|
@@ -1224,10 +1224,10 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
1224
1224
|
// throw error;
|
|
1225
1225
|
super.handleError(error);
|
|
1226
1226
|
}
|
|
1227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1228
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: GlobalErrorHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1228
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' }); }
|
|
1229
1229
|
}
|
|
1230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
1231
1231
|
type: Injectable,
|
|
1232
1232
|
args: [{
|
|
1233
1233
|
providedIn: 'root',
|
|
@@ -1279,10 +1279,10 @@ class HttpErrorHandlerInterceptor {
|
|
|
1279
1279
|
// return the first matching route, if any
|
|
1280
1280
|
return routes.length > 0 ? routes[0] : null;
|
|
1281
1281
|
}
|
|
1282
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1283
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1282
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1283
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: HttpErrorHandlerInterceptor }); }
|
|
1284
1284
|
}
|
|
1285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
1286
1286
|
type: Injectable
|
|
1287
1287
|
}] });
|
|
1288
1288
|
|
|
@@ -1353,10 +1353,10 @@ class EuiGrowlService {
|
|
|
1353
1353
|
growlInfo(msg, position) {
|
|
1354
1354
|
this.growl({ severity: 'info', summary: 'INFO', detail: msg }, false, false, undefined, position);
|
|
1355
1355
|
}
|
|
1356
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1357
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiGrowlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1357
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiGrowlService, providedIn: 'root' }); }
|
|
1358
1358
|
}
|
|
1359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiGrowlService, decorators: [{
|
|
1360
1360
|
type: Injectable,
|
|
1361
1361
|
args: [{
|
|
1362
1362
|
providedIn: 'root',
|
|
@@ -1716,10 +1716,10 @@ class ApiQueueService {
|
|
|
1716
1716
|
buildHttpRequest(id, item) {
|
|
1717
1717
|
return this.http[item.method.toLowerCase()](item.uri, item.payload).pipe(tap(() => this.removeQueueItem(id)));
|
|
1718
1718
|
}
|
|
1719
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1720
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1719
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: ApiQueueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1720
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: ApiQueueService, providedIn: 'root' }); }
|
|
1721
1721
|
}
|
|
1722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
1723
1723
|
type: Injectable,
|
|
1724
1724
|
args: [{
|
|
1725
1725
|
providedIn: 'root',
|
|
@@ -1959,10 +1959,10 @@ class I18nLoader {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
return undefined;
|
|
1961
1961
|
}
|
|
1962
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1963
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: I18nLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1963
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: I18nLoader }); }
|
|
1964
1964
|
}
|
|
1965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: I18nLoader, decorators: [{
|
|
1966
1966
|
type: Injectable
|
|
1967
1967
|
}], ctorParameters: () => [] });
|
|
1968
1968
|
const translateConfig = {
|
|
@@ -2201,10 +2201,10 @@ class I18nService extends EuiLazyService {
|
|
|
2201
2201
|
updateHTMLDOMLang(lang) {
|
|
2202
2202
|
this.document.documentElement.lang = lang;
|
|
2203
2203
|
}
|
|
2204
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2205
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2204
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2205
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: I18nService, providedIn: 'root' }); }
|
|
2206
2206
|
}
|
|
2207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: I18nService, decorators: [{
|
|
2208
2208
|
type: Injectable,
|
|
2209
2209
|
args: [{
|
|
2210
2210
|
providedIn: 'root',
|
|
@@ -2475,6 +2475,7 @@ class CssUtils {
|
|
|
2475
2475
|
this.setCssVar('--eui-app-breadcrumb-height-default', '--eui-app-breadcrumb-height', document, platform);
|
|
2476
2476
|
this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height', document, platform);
|
|
2477
2477
|
this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height', document, platform);
|
|
2478
|
+
this.setCssVar('--eui-app-toolbar-mega-menu-height-default', '--eui-app-toolbar-mega-menu-height', document, platform);
|
|
2478
2479
|
this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width', document, platform);
|
|
2479
2480
|
this.setCssVar('--eui-app-sidebar-width-close-default', '--eui-app-sidebar-width-close', document, platform);
|
|
2480
2481
|
this.setCssVar('--eui-app-sidebar-header-height-default', '--eui-app-sidebar-header-height', document, platform);
|
|
@@ -2527,6 +2528,9 @@ class CssUtils {
|
|
|
2527
2528
|
static { this.activateToolbarCssVars = (document, platform) => {
|
|
2528
2529
|
this.setCssVar('--eui-app-toolbar-height-active', '--eui-app-toolbar-height', document, platform);
|
|
2529
2530
|
}; }
|
|
2531
|
+
static { this.activateToolbarMegaMenuCssVars = (document, platform) => {
|
|
2532
|
+
this.setCssVar('--eui-app-toolbar-mega-menu-height-active', '--eui-app-toolbar-mega-menu-height', document, platform);
|
|
2533
|
+
}; }
|
|
2530
2534
|
static { this.activateFooterCssVars = (document, platform) => {
|
|
2531
2535
|
this.setCssVar('--eui-app-footer-height-active', '--eui-app-footer-height', document, platform);
|
|
2532
2536
|
}; }
|
|
@@ -2822,10 +2826,10 @@ class EuiPermissionService extends EuiService {
|
|
|
2822
2826
|
}
|
|
2823
2827
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2824
2828
|
}
|
|
2825
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2826
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2829
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiPermissionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2830
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiPermissionService, providedIn: 'root' }); }
|
|
2827
2831
|
}
|
|
2828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2829
2833
|
type: Injectable,
|
|
2830
2834
|
args: [{
|
|
2831
2835
|
providedIn: 'root',
|
|
@@ -2883,10 +2887,10 @@ class EuiDynamicMenuService {
|
|
|
2883
2887
|
return true;
|
|
2884
2888
|
});
|
|
2885
2889
|
}
|
|
2886
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2887
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiDynamicMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2891
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiDynamicMenuService, providedIn: 'root' }); }
|
|
2888
2892
|
}
|
|
2889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiDynamicMenuService, decorators: [{
|
|
2890
2894
|
type: Injectable,
|
|
2891
2895
|
args: [{
|
|
2892
2896
|
providedIn: 'root',
|
|
@@ -2951,10 +2955,10 @@ class EuiDynamicComponentService {
|
|
|
2951
2955
|
parent: this.injector,
|
|
2952
2956
|
});
|
|
2953
2957
|
}
|
|
2954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2955
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiDynamicComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2959
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiDynamicComponentService }); }
|
|
2956
2960
|
}
|
|
2957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiDynamicComponentService, decorators: [{
|
|
2958
2962
|
type: Injectable
|
|
2959
2963
|
}] });
|
|
2960
2964
|
|
|
@@ -2971,9 +2975,11 @@ const initialState$1 = {
|
|
|
2971
2975
|
hasHeaderLogo: false,
|
|
2972
2976
|
hasHeaderEnvironment: false,
|
|
2973
2977
|
hasToolbar: false,
|
|
2978
|
+
hasToolbarMegaMenu: false,
|
|
2974
2979
|
hasToolbarMenu: false,
|
|
2975
2980
|
environmentValue: '',
|
|
2976
2981
|
isSidebarHidden: false,
|
|
2982
|
+
isSidebarFocused: false,
|
|
2977
2983
|
hasSidebarCollapsedVariant: false,
|
|
2978
2984
|
hasTopMessage: false,
|
|
2979
2985
|
windowWidth: 0,
|
|
@@ -3233,6 +3239,13 @@ class EuiAppShellService {
|
|
|
3233
3239
|
});
|
|
3234
3240
|
CssUtils.activateToolbarCssVars(this.document, this.platformId);
|
|
3235
3241
|
}
|
|
3242
|
+
activateToolbarMegaMenu() {
|
|
3243
|
+
this.setState({
|
|
3244
|
+
...this.state,
|
|
3245
|
+
hasToolbarMegaMenu: true,
|
|
3246
|
+
});
|
|
3247
|
+
CssUtils.activateToolbarMegaMenuCssVars(this.document, this.platformId);
|
|
3248
|
+
}
|
|
3236
3249
|
activateToolbarMenu() {
|
|
3237
3250
|
this.setState({
|
|
3238
3251
|
...this.state,
|
|
@@ -3338,10 +3351,10 @@ class EuiAppShellService {
|
|
|
3338
3351
|
}
|
|
3339
3352
|
});
|
|
3340
3353
|
}
|
|
3341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3342
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiAppShellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3355
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiAppShellService, providedIn: 'root' }); }
|
|
3343
3356
|
}
|
|
3344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiAppShellService, decorators: [{
|
|
3345
3358
|
type: Injectable,
|
|
3346
3359
|
args: [{
|
|
3347
3360
|
providedIn: 'root',
|
|
@@ -4055,10 +4068,10 @@ class EuiTimezoneService {
|
|
|
4055
4068
|
getTimezone(tz) {
|
|
4056
4069
|
return EUI_TIMEZONES.find((item) => item.name === tz);
|
|
4057
4070
|
}
|
|
4058
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4059
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4072
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiTimezoneService }); }
|
|
4060
4073
|
}
|
|
4061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiTimezoneService, decorators: [{
|
|
4062
4075
|
type: Injectable
|
|
4063
4076
|
}] });
|
|
4064
4077
|
|
|
@@ -4084,11 +4097,8 @@ const initialState = {
|
|
|
4084
4097
|
{ name: EuiTheme.ECL_EC_RTL, isActive: false, styleSheet: 'eui-ecl-ec-rtl.css', cssClass: null },
|
|
4085
4098
|
{ name: EuiTheme.ECL_EU, isActive: false, styleSheet: 'eui-ecl-eu.css', cssClass: null },
|
|
4086
4099
|
{ name: EuiTheme.ECL_EU_RTL, isActive: false, styleSheet: 'eui-ecl-eu-rtl.css', cssClass: null },
|
|
4087
|
-
{ name: EuiTheme.EUI_LEGACY, isActive: false, styleSheet: null, cssClass: 'eui-t-eui-legacy' },
|
|
4088
|
-
{ name: EuiTheme.EUI_LEGACY_HC, isActive: false, styleSheet: null, cssClass: 'eui-t-high-contrast' },
|
|
4089
4100
|
{ name: EuiTheme.DARK, isActive: false, styleSheet: null, cssClass: 'eui-t-dark' },
|
|
4090
4101
|
{ name: EuiTheme.COMPACT, isActive: false, styleSheet: null, cssClass: 'eui-t-compact' },
|
|
4091
|
-
{ name: EuiTheme.DS2025, isActive: false, styleSheet: null, cssClass: 'eui-t-ds2025' },
|
|
4092
4102
|
],
|
|
4093
4103
|
theme: {
|
|
4094
4104
|
isDefault: false,
|
|
@@ -4096,11 +4106,8 @@ const initialState = {
|
|
|
4096
4106
|
isEclEcRtl: false,
|
|
4097
4107
|
isEclEu: false,
|
|
4098
4108
|
isEclEuRtl: false,
|
|
4099
|
-
isEuiLegacy: false,
|
|
4100
|
-
isEuiLegacyHc: false,
|
|
4101
4109
|
isDark: false,
|
|
4102
4110
|
isCompact: false,
|
|
4103
|
-
isDs2025: false,
|
|
4104
4111
|
},
|
|
4105
4112
|
};
|
|
4106
4113
|
class EuiThemeService {
|
|
@@ -4223,12 +4230,13 @@ class EuiThemeService {
|
|
|
4223
4230
|
this._renderThemeCss(themeFound, isActive, rtlLink);
|
|
4224
4231
|
}
|
|
4225
4232
|
else {
|
|
4226
|
-
|
|
4227
|
-
this._renderThemeCss(themeFound, isActive, themeLink);
|
|
4233
|
+
this._renderThemeCss(themeFound, isActive, null);
|
|
4228
4234
|
}
|
|
4229
4235
|
}
|
|
4230
4236
|
_renderThemeCss(themeFound, isActive, link) {
|
|
4231
4237
|
const head = this.document.getElementsByTagName('head')[0];
|
|
4238
|
+
console.log(link);
|
|
4239
|
+
console.log(themeFound);
|
|
4232
4240
|
if (isActive) {
|
|
4233
4241
|
if (themeFound.cssClass) {
|
|
4234
4242
|
document.querySelector('html').classList.add(themeFound.cssClass);
|
|
@@ -4242,6 +4250,7 @@ class EuiThemeService {
|
|
|
4242
4250
|
style.id = 'eui-theme';
|
|
4243
4251
|
style.rel = 'stylesheet';
|
|
4244
4252
|
style.href = `assets/${themeFound.styleSheet}`;
|
|
4253
|
+
console.log(style);
|
|
4245
4254
|
head.appendChild(style);
|
|
4246
4255
|
}
|
|
4247
4256
|
}
|
|
@@ -4257,10 +4266,10 @@ class EuiThemeService {
|
|
|
4257
4266
|
}
|
|
4258
4267
|
}
|
|
4259
4268
|
}
|
|
4260
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4261
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4270
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiThemeService, providedIn: 'root' }); }
|
|
4262
4271
|
}
|
|
4263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiThemeService, decorators: [{
|
|
4264
4273
|
type: Injectable,
|
|
4265
4274
|
args: [{
|
|
4266
4275
|
providedIn: 'root',
|
|
@@ -4401,10 +4410,10 @@ class LocalStorageService extends StorageService {
|
|
|
4401
4410
|
}
|
|
4402
4411
|
}
|
|
4403
4412
|
}
|
|
4404
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4405
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4413
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocalStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4414
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocalStorageService }); }
|
|
4406
4415
|
}
|
|
4407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
4408
4417
|
type: Injectable
|
|
4409
4418
|
}] });
|
|
4410
4419
|
|
|
@@ -4474,10 +4483,10 @@ class SessionStorageService extends StorageService {
|
|
|
4474
4483
|
}
|
|
4475
4484
|
}
|
|
4476
4485
|
}
|
|
4477
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4478
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: SessionStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4487
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: SessionStorageService }); }
|
|
4479
4488
|
}
|
|
4480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
4481
4490
|
type: Injectable
|
|
4482
4491
|
}] });
|
|
4483
4492
|
|
|
@@ -4580,10 +4589,10 @@ class LocalForageService extends AsyncStorageService {
|
|
|
4580
4589
|
},
|
|
4581
4590
|
}));
|
|
4582
4591
|
}
|
|
4583
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4584
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4592
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocalForageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4593
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocalForageService }); }
|
|
4585
4594
|
}
|
|
4586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocalForageService, decorators: [{
|
|
4587
4596
|
type: Injectable
|
|
4588
4597
|
}], ctorParameters: () => [] });
|
|
4589
4598
|
|
|
@@ -4760,10 +4769,10 @@ class LocaleService extends EuiService {
|
|
|
4760
4769
|
});
|
|
4761
4770
|
}
|
|
4762
4771
|
}
|
|
4763
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4764
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4772
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4773
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocaleService, providedIn: 'root' }); }
|
|
4765
4774
|
}
|
|
4766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocaleService, decorators: [{
|
|
4767
4776
|
type: Injectable,
|
|
4768
4777
|
args: [{
|
|
4769
4778
|
providedIn: 'root',
|
|
@@ -4794,10 +4803,10 @@ class LocaleServiceMock extends LocaleService {
|
|
|
4794
4803
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4795
4804
|
return of({ success: true });
|
|
4796
4805
|
}
|
|
4797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4798
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocaleServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4807
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocaleServiceMock }); }
|
|
4799
4808
|
}
|
|
4800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: LocaleServiceMock, decorators: [{
|
|
4801
4810
|
type: Injectable
|
|
4802
4811
|
}], ctorParameters: () => [] });
|
|
4803
4812
|
|
|
@@ -5089,10 +5098,10 @@ class EuiLoaderService {
|
|
|
5089
5098
|
this.loadStyle(dependency);
|
|
5090
5099
|
}
|
|
5091
5100
|
}
|
|
5092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5093
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5102
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiLoaderService, providedIn: 'root' }); }
|
|
5094
5103
|
}
|
|
5095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiLoaderService, decorators: [{
|
|
5096
5105
|
type: Injectable,
|
|
5097
5106
|
args: [{
|
|
5098
5107
|
providedIn: 'root',
|
|
@@ -5154,10 +5163,10 @@ class UserService extends EuiService {
|
|
|
5154
5163
|
getSignal() {
|
|
5155
5164
|
return this.state;
|
|
5156
5165
|
}
|
|
5157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5158
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5167
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
5159
5168
|
}
|
|
5160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UserService, decorators: [{
|
|
5161
5170
|
type: Injectable,
|
|
5162
5171
|
args: [{
|
|
5163
5172
|
providedIn: 'root',
|
|
@@ -5177,10 +5186,10 @@ class UserServiceMock extends UserService {
|
|
|
5177
5186
|
updateState(userState, reducer) {
|
|
5178
5187
|
/* empty */
|
|
5179
5188
|
}
|
|
5180
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5181
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5190
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UserServiceMock }); }
|
|
5182
5191
|
}
|
|
5183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
5184
5193
|
type: Injectable
|
|
5185
5194
|
}], ctorParameters: () => [] });
|
|
5186
5195
|
|
|
@@ -5209,10 +5218,10 @@ class AddLangParamInterceptor {
|
|
|
5209
5218
|
params: req.params.set(langParam, langValue),
|
|
5210
5219
|
}));
|
|
5211
5220
|
}
|
|
5212
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5213
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5221
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: AddLangParamInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5222
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: AddLangParamInterceptor }); }
|
|
5214
5223
|
}
|
|
5215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
5216
5225
|
type: Injectable
|
|
5217
5226
|
}] });
|
|
5218
5227
|
|
|
@@ -5228,10 +5237,10 @@ class CachePreventionInterceptor {
|
|
|
5228
5237
|
headers: req.headers.set('Cache-Control', 'No-Cache'),
|
|
5229
5238
|
}));
|
|
5230
5239
|
}
|
|
5231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5232
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5241
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CachePreventionInterceptor }); }
|
|
5233
5242
|
}
|
|
5234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
5235
5244
|
type: Injectable
|
|
5236
5245
|
}] });
|
|
5237
5246
|
|
|
@@ -5241,10 +5250,10 @@ class CorsSecurityInterceptor {
|
|
|
5241
5250
|
withCredentials: true,
|
|
5242
5251
|
}));
|
|
5243
5252
|
}
|
|
5244
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5245
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5253
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5254
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CorsSecurityInterceptor }); }
|
|
5246
5255
|
}
|
|
5247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
5248
5257
|
type: Injectable
|
|
5249
5258
|
}] });
|
|
5250
5259
|
|
|
@@ -5254,10 +5263,10 @@ class CsrfPreventionInterceptor {
|
|
|
5254
5263
|
headers: request.headers.set('X-Requested-With', 'XMLHttpRequest'),
|
|
5255
5264
|
}));
|
|
5256
5265
|
}
|
|
5257
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5258
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5267
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CsrfPreventionInterceptor }); }
|
|
5259
5268
|
}
|
|
5260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
5261
5270
|
type: Injectable
|
|
5262
5271
|
}] });
|
|
5263
5272
|
|
|
@@ -5324,10 +5333,10 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
5324
5333
|
reauthenticate() {
|
|
5325
5334
|
document.location.reload();
|
|
5326
5335
|
}
|
|
5327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5337
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor }); }
|
|
5329
5338
|
}
|
|
5330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
5331
5340
|
type: Injectable
|
|
5332
5341
|
}] });
|
|
5333
5342
|
|
|
@@ -5351,10 +5360,10 @@ class UxRequestErrorModelInterceptor {
|
|
|
5351
5360
|
return of(err);
|
|
5352
5361
|
}));
|
|
5353
5362
|
}
|
|
5354
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5355
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5364
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UxRequestErrorModelInterceptor }); }
|
|
5356
5365
|
}
|
|
5357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
5358
5367
|
type: Injectable
|
|
5359
5368
|
}] });
|
|
5360
5369
|
|