@eui/core 15.0.0-rc.1 → 15.0.0-rc.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/docs/dependencies.html +38 -38
- package/docs/injectables/UxAppShellService.html +10 -10
- package/docs/interfaces/UIState.html +6 -6
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +1 -1
- package/docs/properties.html +1 -1
- package/esm2020/lib/eui-core.module.mjs +5 -5
- package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/cors-security.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +4 -4
- package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +4 -4
- package/esm2020/lib/services/errors/global-error-handler.mjs +4 -4
- package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +4 -4
- package/esm2020/lib/services/i18n/i18n.loader.mjs +4 -4
- package/esm2020/lib/services/i18n/i18n.service.mjs +4 -4
- package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
- package/esm2020/lib/services/locale/locale.service.mjs +32 -75
- package/esm2020/lib/services/locale/locale.service.mock.mjs +17 -6
- package/esm2020/lib/services/log/log.module.mjs +5 -5
- package/esm2020/lib/services/log/log.service.mjs +4 -4
- package/esm2020/lib/services/permission/permission.service.mjs +4 -4
- package/esm2020/lib/services/queue/api-queue.service.mjs +4 -4
- package/esm2020/lib/services/storage/local-forage.service.mjs +4 -4
- package/esm2020/lib/services/storage/local-storage.service.mjs +4 -4
- package/esm2020/lib/services/storage/session-storage.service.mjs +4 -4
- package/esm2020/lib/services/store/effects/app.effects.mjs +4 -4
- package/esm2020/lib/services/store/store.service.mjs +4 -4
- package/esm2020/lib/services/store/store.service.mock.mjs +4 -4
- package/esm2020/lib/services/user/user.service.mjs +4 -4
- package/esm2020/lib/services/user/user.service.mock.mjs +4 -4
- package/esm2020/lib/services/ux-app-shell.service.mjs +13 -13
- package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +4 -4
- package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +4 -4
- package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -4
- package/esm2020/lib/services/ux-timezone.service.mjs +4 -4
- package/fesm2015/eui-core.mjs +146 -179
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +146 -179
- package/fesm2020/eui-core.mjs.map +1 -1
- package/lib/services/locale/locale.service.d.ts +0 -21
- package/lib/services/locale/locale.service.d.ts.map +1 -1
- package/lib/services/locale/locale.service.mock.d.ts +1 -0
- package/lib/services/locale/locale.service.mock.d.ts.map +1 -1
- package/lib/services/ux-app-shell.service.d.ts +3 -3
- package/lib/services/ux-app-shell.service.d.ts.map +1 -1
- package/package.json +1 -1
package/fesm2020/eui-core.mjs
CHANGED
|
@@ -25,6 +25,8 @@ import { By } from '@angular/platform-browser';
|
|
|
25
25
|
import { FormGroup, FormArray } from '@angular/forms';
|
|
26
26
|
import { DomPortalOutlet, ComponentPortal, PortalInjector } from '@angular/cdk/portal';
|
|
27
27
|
import * as lf from 'localforage';
|
|
28
|
+
import localeFr from '@angular/common/locales/fr';
|
|
29
|
+
import localeEl from '@angular/common/locales/el';
|
|
28
30
|
|
|
29
31
|
/** default log configuration */
|
|
30
32
|
const DEFAULT_LOG_CONFIG = {
|
|
@@ -194,9 +196,9 @@ class LogService extends Logger {
|
|
|
194
196
|
return logger;
|
|
195
197
|
}
|
|
196
198
|
}
|
|
197
|
-
/** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
198
|
-
/** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
199
|
+
/** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
200
|
+
/** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService });
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService, decorators: [{
|
|
200
202
|
type: Injectable
|
|
201
203
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
202
204
|
type: Inject,
|
|
@@ -368,10 +370,10 @@ class LogModule {
|
|
|
368
370
|
};
|
|
369
371
|
}
|
|
370
372
|
}
|
|
371
|
-
/** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
372
|
-
/** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0
|
|
373
|
-
/** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
373
|
+
/** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
374
|
+
/** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
|
|
375
|
+
/** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, decorators: [{
|
|
375
377
|
type: NgModule
|
|
376
378
|
}] });
|
|
377
379
|
|
|
@@ -463,9 +465,9 @@ class StoreService {
|
|
|
463
465
|
}
|
|
464
466
|
}
|
|
465
467
|
}
|
|
466
|
-
/** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
467
|
-
/** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
468
|
+
/** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
469
|
+
/** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
|
|
470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, decorators: [{
|
|
469
471
|
type: Injectable,
|
|
470
472
|
args: [{
|
|
471
473
|
providedIn: 'root',
|
|
@@ -818,9 +820,9 @@ class I18nLoader {
|
|
|
818
820
|
return undefined;
|
|
819
821
|
}
|
|
820
822
|
}
|
|
821
|
-
/** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
822
|
-
/** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
823
|
+
/** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
824
|
+
/** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader });
|
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader, decorators: [{
|
|
824
826
|
type: Injectable
|
|
825
827
|
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
826
828
|
type: Optional
|
|
@@ -1035,9 +1037,9 @@ class I18nService extends EuiLazyService {
|
|
|
1035
1037
|
this.document.documentElement.lang = lang;
|
|
1036
1038
|
}
|
|
1037
1039
|
}
|
|
1038
|
-
/** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1039
|
-
/** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1040
|
+
/** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1041
|
+
/** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
|
|
1042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, decorators: [{
|
|
1041
1043
|
type: Injectable,
|
|
1042
1044
|
args: [{
|
|
1043
1045
|
providedIn: 'root',
|
|
@@ -1080,9 +1082,9 @@ class I18nServiceMock extends I18nService {
|
|
|
1080
1082
|
return of({ success: true });
|
|
1081
1083
|
}
|
|
1082
1084
|
}
|
|
1083
|
-
/** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1084
|
-
/** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1085
|
+
/** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1086
|
+
/** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock });
|
|
1087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
|
|
1086
1088
|
type: Injectable
|
|
1087
1089
|
}], ctorParameters: function () { return []; } });
|
|
1088
1090
|
|
|
@@ -1101,7 +1103,7 @@ const initialState = {
|
|
|
1101
1103
|
isSidebarExpandOnHover: true,
|
|
1102
1104
|
hasSidebar: false,
|
|
1103
1105
|
hasHeader: false,
|
|
1104
|
-
|
|
1106
|
+
hasBreadcrumb: false,
|
|
1105
1107
|
hasHeaderLogo: false,
|
|
1106
1108
|
hasHeaderEnvironment: false,
|
|
1107
1109
|
hasToolbar: false,
|
|
@@ -1374,12 +1376,12 @@ class UxAppShellService {
|
|
|
1374
1376
|
});
|
|
1375
1377
|
this.activateHeaderCssVars();
|
|
1376
1378
|
}
|
|
1377
|
-
|
|
1379
|
+
activateBreadcrumb() {
|
|
1378
1380
|
this.setState({
|
|
1379
1381
|
...this.state,
|
|
1380
|
-
|
|
1382
|
+
hasBreadcrumb: true,
|
|
1381
1383
|
});
|
|
1382
|
-
this.
|
|
1384
|
+
this.activateBreadcrumbCssVars();
|
|
1383
1385
|
}
|
|
1384
1386
|
activateTopMessage(height) {
|
|
1385
1387
|
this.setState({
|
|
@@ -1406,8 +1408,8 @@ class UxAppShellService {
|
|
|
1406
1408
|
'--eui-app-header-height-default',
|
|
1407
1409
|
'--eui-app-header-height-active',
|
|
1408
1410
|
'--eui-app-header-height-shrink',
|
|
1409
|
-
'--eui-app-
|
|
1410
|
-
'--eui-app-
|
|
1411
|
+
'--eui-app-breadcrumb-height-default',
|
|
1412
|
+
'--eui-app-breadcrumb-height-active',
|
|
1411
1413
|
'--eui-app-top-message-height-default',
|
|
1412
1414
|
'--eui-app-top-message-height-active',
|
|
1413
1415
|
'--eui-app-top-message-height-shrink',
|
|
@@ -1428,7 +1430,7 @@ class UxAppShellService {
|
|
|
1428
1430
|
}
|
|
1429
1431
|
initCssVars() {
|
|
1430
1432
|
this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
|
|
1431
|
-
this.setCssVar('--eui-app-
|
|
1433
|
+
this.setCssVar('--eui-app-breadcrumb-height-default', '--eui-app-breadcrumb-height');
|
|
1432
1434
|
this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
|
|
1433
1435
|
this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
|
|
1434
1436
|
this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
|
|
@@ -1439,8 +1441,8 @@ class UxAppShellService {
|
|
|
1439
1441
|
activateHeaderCssVars() {
|
|
1440
1442
|
this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
|
|
1441
1443
|
}
|
|
1442
|
-
|
|
1443
|
-
this.setCssVar('--eui-app-
|
|
1444
|
+
activateBreadcrumbCssVars() {
|
|
1445
|
+
this.setCssVar('--eui-app-breadcrumb-height-active', '--eui-app-breadcrumb-height');
|
|
1444
1446
|
}
|
|
1445
1447
|
activateTopMessageCssVars(height) {
|
|
1446
1448
|
this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
|
|
@@ -1735,9 +1737,9 @@ class UxAppShellService {
|
|
|
1735
1737
|
});
|
|
1736
1738
|
}
|
|
1737
1739
|
}
|
|
1738
|
-
/** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1739
|
-
/** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1740
|
+
/** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, deps: [{ token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i1$2.HttpClient }, { token: PLATFORM_ID }, { token: i2$1.Router }, { token: StoreService }, { token: I18nService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1741
|
+
/** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
|
|
1742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
|
|
1741
1743
|
type: Injectable,
|
|
1742
1744
|
args: [{
|
|
1743
1745
|
providedIn: 'root',
|
|
@@ -1794,9 +1796,9 @@ class CoreAppEffects {
|
|
|
1794
1796
|
})), { dispatch: false });
|
|
1795
1797
|
}
|
|
1796
1798
|
}
|
|
1797
|
-
/** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1798
|
-
/** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1799
|
+
/** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1800
|
+
/** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects });
|
|
1801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
|
|
1800
1802
|
type: Injectable
|
|
1801
1803
|
}], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
1802
1804
|
type: Inject,
|
|
@@ -2059,9 +2061,9 @@ class StoreServiceMock extends StoreService {
|
|
|
2059
2061
|
return of({});
|
|
2060
2062
|
}
|
|
2061
2063
|
}
|
|
2062
|
-
/** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2063
|
-
/** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2064
|
+
/** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2065
|
+
/** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock });
|
|
2066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
2065
2067
|
type: Injectable
|
|
2066
2068
|
}], ctorParameters: function () { return []; } });
|
|
2067
2069
|
|
|
@@ -2106,10 +2108,10 @@ class CoreModule {
|
|
|
2106
2108
|
};
|
|
2107
2109
|
}
|
|
2108
2110
|
}
|
|
2109
|
-
/** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2110
|
-
/** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0
|
|
2111
|
-
/** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0
|
|
2112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2111
|
+
/** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2112
|
+
/** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
|
|
2113
|
+
/** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
|
|
2114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule, decorators: [{
|
|
2113
2115
|
type: NgModule,
|
|
2114
2116
|
args: [{
|
|
2115
2117
|
imports: [
|
|
@@ -2232,9 +2234,9 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2232
2234
|
super.handleError(error);
|
|
2233
2235
|
}
|
|
2234
2236
|
}
|
|
2235
|
-
/** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2236
|
-
/** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2237
|
+
/** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2238
|
+
/** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
|
|
2239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
2238
2240
|
type: Injectable,
|
|
2239
2241
|
args: [{
|
|
2240
2242
|
providedIn: 'root',
|
|
@@ -2282,9 +2284,9 @@ class HttpErrorHandlerInterceptor {
|
|
|
2282
2284
|
return routes.length > 0 ? routes[0] : null;
|
|
2283
2285
|
}
|
|
2284
2286
|
}
|
|
2285
|
-
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2286
|
-
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2287
|
+
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2288
|
+
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
|
|
2289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
2288
2290
|
type: Injectable
|
|
2289
2291
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2290
2292
|
type: Inject,
|
|
@@ -2431,9 +2433,9 @@ class ApiQueueService {
|
|
|
2431
2433
|
.pipe(tap(() => this.removeQueueItem(id)));
|
|
2432
2434
|
}
|
|
2433
2435
|
}
|
|
2434
|
-
/** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2435
|
-
/** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2436
|
+
/** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2437
|
+
/** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
|
|
2438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
2437
2439
|
type: Injectable,
|
|
2438
2440
|
args: [{
|
|
2439
2441
|
providedIn: 'root',
|
|
@@ -2786,9 +2788,9 @@ class EuiPermissionService extends EuiService {
|
|
|
2786
2788
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2787
2789
|
}
|
|
2788
2790
|
}
|
|
2789
|
-
/** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2790
|
-
/** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2791
|
+
/** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2792
|
+
/** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
|
|
2793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2792
2794
|
type: Injectable,
|
|
2793
2795
|
args: [{
|
|
2794
2796
|
providedIn: 'root',
|
|
@@ -2849,9 +2851,9 @@ class UxDynamicMenuService {
|
|
|
2849
2851
|
});
|
|
2850
2852
|
}
|
|
2851
2853
|
}
|
|
2852
|
-
/** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2853
|
-
/** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2854
|
+
/** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2855
|
+
/** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
|
|
2856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
|
|
2855
2857
|
type: Injectable,
|
|
2856
2858
|
args: [{
|
|
2857
2859
|
providedIn: 'root',
|
|
@@ -2919,9 +2921,9 @@ class UxErrorFeedbackService {
|
|
|
2919
2921
|
return new UxErrorManager(this, true);
|
|
2920
2922
|
}
|
|
2921
2923
|
}
|
|
2922
|
-
/** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2923
|
-
/** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2924
|
+
/** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2925
|
+
/** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
|
|
2926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
|
|
2925
2927
|
type: Injectable,
|
|
2926
2928
|
args: [{
|
|
2927
2929
|
providedIn: 'root'
|
|
@@ -3017,9 +3019,9 @@ class UxDynamicComponentService {
|
|
|
3017
3019
|
return new PortalInjector(this.injector, injectorTokens);
|
|
3018
3020
|
}
|
|
3019
3021
|
}
|
|
3020
|
-
/** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3021
|
-
/** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3022
|
+
/** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3023
|
+
/** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
|
|
3024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
|
|
3023
3025
|
type: Injectable,
|
|
3024
3026
|
args: [{ providedIn: 'root' }]
|
|
3025
3027
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3734,9 +3736,9 @@ class UxTimezoneService {
|
|
|
3734
3736
|
});
|
|
3735
3737
|
}
|
|
3736
3738
|
}
|
|
3737
|
-
/** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3738
|
-
/** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3739
|
+
/** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3740
|
+
/** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService });
|
|
3741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
|
|
3740
3742
|
type: Injectable
|
|
3741
3743
|
}] });
|
|
3742
3744
|
|
|
@@ -3862,9 +3864,9 @@ class LocalStorageService extends StorageService {
|
|
|
3862
3864
|
}
|
|
3863
3865
|
}
|
|
3864
3866
|
LocalStorageService.NAME = 'LocalStorageService';
|
|
3865
|
-
/** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3866
|
-
/** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3867
|
+
/** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3868
|
+
/** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService });
|
|
3869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
3868
3870
|
type: Injectable
|
|
3869
3871
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3870
3872
|
type: Optional
|
|
@@ -3933,9 +3935,9 @@ class SessionStorageService extends StorageService {
|
|
|
3933
3935
|
}
|
|
3934
3936
|
}
|
|
3935
3937
|
SessionStorageService.NAME = 'SessionStorageService';
|
|
3936
|
-
/** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3937
|
-
/** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3938
|
+
/** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3939
|
+
/** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService });
|
|
3940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
3939
3941
|
type: Injectable
|
|
3940
3942
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3941
3943
|
type: Optional
|
|
@@ -4022,9 +4024,9 @@ class LocalForageService extends AsyncStorageService {
|
|
|
4022
4024
|
}
|
|
4023
4025
|
}
|
|
4024
4026
|
LocalForageService.NAME = 'LocalForageService';
|
|
4025
|
-
/** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4026
|
-
/** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4027
|
+
/** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4028
|
+
/** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService });
|
|
4029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService, decorators: [{
|
|
4028
4030
|
type: Injectable
|
|
4029
4031
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4030
4032
|
type: Inject,
|
|
@@ -4124,23 +4126,31 @@ class LocaleService extends EuiService {
|
|
|
4124
4126
|
* @param locale array of locale to load
|
|
4125
4127
|
*/
|
|
4126
4128
|
loadLocale(locale) {
|
|
4127
|
-
locale = Array.isArray(locale) ? locale : [locale];
|
|
4128
|
-
const localeImports
|
|
4129
|
-
//
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
return
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
})
|
|
4129
|
+
// locale = Array.isArray(locale) ? locale : [locale];
|
|
4130
|
+
// const localeImports: Observable<{ data: any, localeId: string, extraData: any }>[]
|
|
4131
|
+
// = this.filterRegisteredLocales(locale).map(this.importDataAndExtraLocale.bind(this));
|
|
4132
|
+
//
|
|
4133
|
+
// // in case localeImports array is empty because locale exists, Observable still needs to complete
|
|
4134
|
+
// if (localeImports.length < 1) {
|
|
4135
|
+
// return of({ success: true });
|
|
4136
|
+
// }
|
|
4137
|
+
//
|
|
4138
|
+
// return forkJoin(...localeImports).pipe(
|
|
4139
|
+
// takeUntil(this.subNotifier),
|
|
4140
|
+
// map(localeData => {
|
|
4141
|
+
// // filter out null results and registerLocaleData including extra
|
|
4142
|
+
// localeData.filter(({ data }) => data)
|
|
4143
|
+
// .forEach(({ data, localeId, extraData }) => registerLocaleData(data, localeId, extraData));
|
|
4144
|
+
// return { success: true };
|
|
4145
|
+
// }),
|
|
4146
|
+
// catchError(error => {
|
|
4147
|
+
// if (this.log) {
|
|
4148
|
+
// this.logger.debug(`Locale load error: ${error.message}`, error);
|
|
4149
|
+
// }
|
|
4150
|
+
// return of({ success: false, error: error });
|
|
4151
|
+
// })
|
|
4152
|
+
// );
|
|
4153
|
+
return of({ success: true });
|
|
4144
4154
|
}
|
|
4145
4155
|
/**
|
|
4146
4156
|
* listen for language changes and dynamically set locale accordingly. In case of non registered locale register it
|
|
@@ -4211,61 +4221,10 @@ class LocaleService extends EuiService {
|
|
|
4211
4221
|
}
|
|
4212
4222
|
});
|
|
4213
4223
|
}
|
|
4214
|
-
/**
|
|
4215
|
-
* returns an Observable which loads the locale based on provided ID
|
|
4216
|
-
*
|
|
4217
|
-
* @param id the locale id e.g. en, el-CY
|
|
4218
|
-
* @private
|
|
4219
|
-
*/
|
|
4220
|
-
importLocale(id) {
|
|
4221
|
-
// in case of an error, catch it and return null
|
|
4222
|
-
return import(
|
|
4223
|
-
/* webpackExclude: /\.d\.ts$/ */
|
|
4224
|
-
/* webpackMode: "lazy-once" */
|
|
4225
|
-
/* webpackChunkName: "i18n-base" */
|
|
4226
|
-
`@/../node_modules/@angular/common/locales/${id}`)
|
|
4227
|
-
.then(m => m.default)
|
|
4228
|
-
.catch(error => {
|
|
4229
|
-
if (this.log) {
|
|
4230
|
-
this.logger.debug(`Locale with ID: "${id}" failed to load. Error: ${error.message}`, error);
|
|
4231
|
-
}
|
|
4232
|
-
return null;
|
|
4233
|
-
});
|
|
4234
|
-
}
|
|
4235
|
-
/**
|
|
4236
|
-
* returns a Promise which loads the locale based on provided ID
|
|
4237
|
-
*
|
|
4238
|
-
* @param id the locale id e.g. en, el-CY
|
|
4239
|
-
* @private
|
|
4240
|
-
*/
|
|
4241
|
-
importExtraLocale(id) {
|
|
4242
|
-
// in case of an error, catch it and return null
|
|
4243
|
-
return import(
|
|
4244
|
-
/* webpackExclude: /\.d\.ts$/ */
|
|
4245
|
-
/* webpackMode: "lazy-once" */
|
|
4246
|
-
/* webpackChunkName: "i18n-extra" */
|
|
4247
|
-
`@/../node_modules/@angular/common/locales/extra/${id}`)
|
|
4248
|
-
.then(m => m.default)
|
|
4249
|
-
.catch(error => {
|
|
4250
|
-
if (this.log) {
|
|
4251
|
-
this.logger.debug(`Extra Locale with ID: "${id}" failed to load. Error: ${error.message}`, error);
|
|
4252
|
-
}
|
|
4253
|
-
return null;
|
|
4254
|
-
});
|
|
4255
|
-
}
|
|
4256
|
-
/**
|
|
4257
|
-
* Imports Locale and then Extra. It returns the Object which registerLocale(...) function needs.
|
|
4258
|
-
*
|
|
4259
|
-
* @param localeId The id of the locale
|
|
4260
|
-
* @private
|
|
4261
|
-
*/
|
|
4262
|
-
importDataAndExtraLocale(localeId) {
|
|
4263
|
-
return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4264
|
-
}
|
|
4265
4224
|
}
|
|
4266
|
-
/** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4267
|
-
/** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4225
|
+
/** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, deps: [{ token: StoreService }, { token: GLOBAL_CONFIG_TOKEN }, { token: LOCALE_ID }, { token: LOCALE_ID_MAPPER, optional: true }, { token: I18nService, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4226
|
+
/** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
|
|
4227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, decorators: [{
|
|
4269
4228
|
type: Injectable,
|
|
4270
4229
|
args: [{
|
|
4271
4230
|
providedIn: 'root'
|
|
@@ -4292,21 +4251,29 @@ class LocaleServiceMock extends LocaleService {
|
|
|
4292
4251
|
super(null, { locale: { id: 'en', available: [] } }, locale_id, null, null, null);
|
|
4293
4252
|
this.locale_id = locale_id;
|
|
4294
4253
|
this.DEFAULT_LOCALE = 'en';
|
|
4254
|
+
this.stateSubject = new BehaviorSubject({ id: this.DEFAULT_LOCALE });
|
|
4295
4255
|
}
|
|
4296
4256
|
getState() {
|
|
4297
|
-
return
|
|
4257
|
+
return this.stateSubject.asObservable();
|
|
4298
4258
|
}
|
|
4299
4259
|
updateState(state) {
|
|
4300
4260
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4261
|
+
if (state.id === 'fr') {
|
|
4262
|
+
registerLocaleData(localeFr, 'fr');
|
|
4263
|
+
}
|
|
4264
|
+
else if (state.id === 'el') {
|
|
4265
|
+
registerLocaleData(localeEl, 'fr');
|
|
4266
|
+
}
|
|
4267
|
+
this.stateSubject.next(state);
|
|
4301
4268
|
}
|
|
4302
4269
|
init(state) {
|
|
4303
4270
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4304
4271
|
return of({ success: true });
|
|
4305
4272
|
}
|
|
4306
4273
|
}
|
|
4307
|
-
/** @nocollapse */ LocaleServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4308
|
-
/** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4274
|
+
/** @nocollapse */ LocaleServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock, deps: [{ token: LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4275
|
+
/** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock });
|
|
4276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock, decorators: [{
|
|
4310
4277
|
type: Injectable
|
|
4311
4278
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4312
4279
|
type: Optional
|
|
@@ -4348,9 +4315,9 @@ class UserService extends EuiService {
|
|
|
4348
4315
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4349
4316
|
}
|
|
4350
4317
|
}
|
|
4351
|
-
/** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4352
|
-
/** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4318
|
+
/** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4319
|
+
/** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
4320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, decorators: [{
|
|
4354
4321
|
type: Injectable,
|
|
4355
4322
|
args: [{
|
|
4356
4323
|
providedIn: 'root',
|
|
@@ -4381,9 +4348,9 @@ class UserServiceMock extends UserService {
|
|
|
4381
4348
|
return of('anonymous');
|
|
4382
4349
|
}
|
|
4383
4350
|
}
|
|
4384
|
-
/** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4385
|
-
/** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4351
|
+
/** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4352
|
+
/** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock });
|
|
4353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
4387
4354
|
type: Injectable
|
|
4388
4355
|
}], ctorParameters: function () { return []; } });
|
|
4389
4356
|
|
|
@@ -4413,9 +4380,9 @@ class AddLangParamInterceptor {
|
|
|
4413
4380
|
}));
|
|
4414
4381
|
}
|
|
4415
4382
|
}
|
|
4416
|
-
/** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4417
|
-
/** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4383
|
+
/** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4384
|
+
/** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor });
|
|
4385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
4419
4386
|
type: Injectable
|
|
4420
4387
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4421
4388
|
|
|
@@ -4432,9 +4399,9 @@ class CachePreventionInterceptor {
|
|
|
4432
4399
|
}));
|
|
4433
4400
|
}
|
|
4434
4401
|
}
|
|
4435
|
-
/** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4436
|
-
/** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4402
|
+
/** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4403
|
+
/** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor });
|
|
4404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
4438
4405
|
type: Injectable
|
|
4439
4406
|
}] });
|
|
4440
4407
|
|
|
@@ -4445,9 +4412,9 @@ class CorsSecurityInterceptor {
|
|
|
4445
4412
|
}));
|
|
4446
4413
|
}
|
|
4447
4414
|
}
|
|
4448
|
-
/** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4449
|
-
/** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4415
|
+
/** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4416
|
+
/** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor });
|
|
4417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
4451
4418
|
type: Injectable
|
|
4452
4419
|
}] });
|
|
4453
4420
|
|
|
@@ -4458,9 +4425,9 @@ class CsrfPreventionInterceptor {
|
|
|
4458
4425
|
}));
|
|
4459
4426
|
}
|
|
4460
4427
|
}
|
|
4461
|
-
/** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4462
|
-
/** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4428
|
+
/** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4429
|
+
/** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
|
|
4430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
4464
4431
|
type: Injectable
|
|
4465
4432
|
}] });
|
|
4466
4433
|
|
|
@@ -4520,9 +4487,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4520
4487
|
document.location.reload();
|
|
4521
4488
|
}
|
|
4522
4489
|
}
|
|
4523
|
-
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4524
|
-
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4490
|
+
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4491
|
+
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
|
|
4492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
4526
4493
|
type: Injectable
|
|
4527
4494
|
}] });
|
|
4528
4495
|
|
|
@@ -4543,9 +4510,9 @@ class UxRequestErrorModelInterceptor {
|
|
|
4543
4510
|
}));
|
|
4544
4511
|
}
|
|
4545
4512
|
}
|
|
4546
|
-
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4547
|
-
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4513
|
+
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4514
|
+
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
|
|
4515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
4549
4516
|
type: Injectable
|
|
4550
4517
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4551
4518
|
type: Inject,
|
|
@@ -4690,9 +4657,9 @@ class OpenIdConnectInterceptor {
|
|
|
4690
4657
|
}
|
|
4691
4658
|
}
|
|
4692
4659
|
}
|
|
4693
|
-
/** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4694
|
-
/** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4660
|
+
/** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4661
|
+
/** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
|
|
4662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
|
|
4696
4663
|
type: Injectable
|
|
4697
4664
|
}], ctorParameters: function () { return []; } });
|
|
4698
4665
|
|
|
@@ -4735,9 +4702,9 @@ class OpenIdConnectService {
|
|
|
4735
4702
|
return this.userDetails;
|
|
4736
4703
|
}
|
|
4737
4704
|
}
|
|
4738
|
-
/** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4739
|
-
/** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4705
|
+
/** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4706
|
+
/** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
|
|
4707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
|
|
4741
4708
|
type: Injectable,
|
|
4742
4709
|
args: [{
|
|
4743
4710
|
providedIn: 'root'
|