@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/fesm2015/eui-core.mjs
CHANGED
|
@@ -26,6 +26,8 @@ import { By } from '@angular/platform-browser';
|
|
|
26
26
|
import { FormGroup, FormArray } from '@angular/forms';
|
|
27
27
|
import { DomPortalOutlet, ComponentPortal, PortalInjector } from '@angular/cdk/portal';
|
|
28
28
|
import * as lf from 'localforage';
|
|
29
|
+
import localeFr from '@angular/common/locales/fr';
|
|
30
|
+
import localeEl from '@angular/common/locales/el';
|
|
29
31
|
|
|
30
32
|
/** default log configuration */
|
|
31
33
|
const DEFAULT_LOG_CONFIG = {
|
|
@@ -178,9 +180,9 @@ class LogService extends Logger {
|
|
|
178
180
|
return logger;
|
|
179
181
|
}
|
|
180
182
|
}
|
|
181
|
-
/** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
182
|
-
/** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
183
|
+
/** @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 });
|
|
184
|
+
/** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService });
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogService, decorators: [{
|
|
184
186
|
type: Injectable
|
|
185
187
|
}], ctorParameters: function () {
|
|
186
188
|
return [{ type: undefined, decorators: [{
|
|
@@ -354,10 +356,10 @@ class LogModule {
|
|
|
354
356
|
};
|
|
355
357
|
}
|
|
356
358
|
}
|
|
357
|
-
/** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
358
|
-
/** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0
|
|
359
|
-
/** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
359
|
+
/** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
360
|
+
/** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
|
|
361
|
+
/** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule });
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LogModule, decorators: [{
|
|
361
363
|
type: NgModule
|
|
362
364
|
}] });
|
|
363
365
|
|
|
@@ -449,9 +451,9 @@ class StoreService {
|
|
|
449
451
|
}
|
|
450
452
|
}
|
|
451
453
|
}
|
|
452
|
-
/** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
453
|
-
/** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
454
|
+
/** @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 });
|
|
455
|
+
/** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
|
|
456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreService, decorators: [{
|
|
455
457
|
type: Injectable,
|
|
456
458
|
args: [{
|
|
457
459
|
providedIn: 'root',
|
|
@@ -806,9 +808,9 @@ class I18nLoader {
|
|
|
806
808
|
return undefined;
|
|
807
809
|
}
|
|
808
810
|
}
|
|
809
|
-
/** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
810
|
-
/** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
811
|
+
/** @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 });
|
|
812
|
+
/** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader });
|
|
813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nLoader, decorators: [{
|
|
812
814
|
type: Injectable
|
|
813
815
|
}], ctorParameters: function () {
|
|
814
816
|
return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
@@ -1022,9 +1024,9 @@ class I18nService extends EuiLazyService {
|
|
|
1022
1024
|
this.document.documentElement.lang = lang;
|
|
1023
1025
|
}
|
|
1024
1026
|
}
|
|
1025
|
-
/** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1026
|
-
/** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1027
|
+
/** @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 });
|
|
1028
|
+
/** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
|
|
1029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nService, decorators: [{
|
|
1028
1030
|
type: Injectable,
|
|
1029
1031
|
args: [{
|
|
1030
1032
|
providedIn: 'root',
|
|
@@ -1069,9 +1071,9 @@ class I18nServiceMock extends I18nService {
|
|
|
1069
1071
|
return of({ success: true });
|
|
1070
1072
|
}
|
|
1071
1073
|
}
|
|
1072
|
-
/** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1073
|
-
/** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1074
|
+
/** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1075
|
+
/** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock });
|
|
1076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
|
|
1075
1077
|
type: Injectable
|
|
1076
1078
|
}], ctorParameters: function () { return []; } });
|
|
1077
1079
|
|
|
@@ -1090,7 +1092,7 @@ const initialState = {
|
|
|
1090
1092
|
isSidebarExpandOnHover: true,
|
|
1091
1093
|
hasSidebar: false,
|
|
1092
1094
|
hasHeader: false,
|
|
1093
|
-
|
|
1095
|
+
hasBreadcrumb: false,
|
|
1094
1096
|
hasHeaderLogo: false,
|
|
1095
1097
|
hasHeaderEnvironment: false,
|
|
1096
1098
|
hasToolbar: false,
|
|
@@ -1320,9 +1322,9 @@ class UxAppShellService {
|
|
|
1320
1322
|
this.setState(Object.assign(Object.assign({}, this.state), { hasHeader: true }));
|
|
1321
1323
|
this.activateHeaderCssVars();
|
|
1322
1324
|
}
|
|
1323
|
-
|
|
1324
|
-
this.setState(Object.assign(Object.assign({}, this.state), {
|
|
1325
|
-
this.
|
|
1325
|
+
activateBreadcrumb() {
|
|
1326
|
+
this.setState(Object.assign(Object.assign({}, this.state), { hasBreadcrumb: true }));
|
|
1327
|
+
this.activateBreadcrumbCssVars();
|
|
1326
1328
|
}
|
|
1327
1329
|
activateTopMessage(height) {
|
|
1328
1330
|
this.setState(Object.assign(Object.assign({}, this.state), { hasTopMessage: true }));
|
|
@@ -1340,8 +1342,8 @@ class UxAppShellService {
|
|
|
1340
1342
|
'--eui-app-header-height-default',
|
|
1341
1343
|
'--eui-app-header-height-active',
|
|
1342
1344
|
'--eui-app-header-height-shrink',
|
|
1343
|
-
'--eui-app-
|
|
1344
|
-
'--eui-app-
|
|
1345
|
+
'--eui-app-breadcrumb-height-default',
|
|
1346
|
+
'--eui-app-breadcrumb-height-active',
|
|
1345
1347
|
'--eui-app-top-message-height-default',
|
|
1346
1348
|
'--eui-app-top-message-height-active',
|
|
1347
1349
|
'--eui-app-top-message-height-shrink',
|
|
@@ -1362,7 +1364,7 @@ class UxAppShellService {
|
|
|
1362
1364
|
}
|
|
1363
1365
|
initCssVars() {
|
|
1364
1366
|
this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
|
|
1365
|
-
this.setCssVar('--eui-app-
|
|
1367
|
+
this.setCssVar('--eui-app-breadcrumb-height-default', '--eui-app-breadcrumb-height');
|
|
1366
1368
|
this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
|
|
1367
1369
|
this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
|
|
1368
1370
|
this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
|
|
@@ -1373,8 +1375,8 @@ class UxAppShellService {
|
|
|
1373
1375
|
activateHeaderCssVars() {
|
|
1374
1376
|
this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
|
|
1375
1377
|
}
|
|
1376
|
-
|
|
1377
|
-
this.setCssVar('--eui-app-
|
|
1378
|
+
activateBreadcrumbCssVars() {
|
|
1379
|
+
this.setCssVar('--eui-app-breadcrumb-height-active', '--eui-app-breadcrumb-height');
|
|
1378
1380
|
}
|
|
1379
1381
|
activateTopMessageCssVars(height) {
|
|
1380
1382
|
this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
|
|
@@ -1666,9 +1668,9 @@ class UxAppShellService {
|
|
|
1666
1668
|
});
|
|
1667
1669
|
}
|
|
1668
1670
|
}
|
|
1669
|
-
/** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1670
|
-
/** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1671
|
+
/** @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 });
|
|
1672
|
+
/** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
|
|
1673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
|
|
1672
1674
|
type: Injectable,
|
|
1673
1675
|
args: [{
|
|
1674
1676
|
providedIn: 'root',
|
|
@@ -1728,9 +1730,9 @@ class CoreAppEffects {
|
|
|
1728
1730
|
})), { dispatch: false });
|
|
1729
1731
|
}
|
|
1730
1732
|
}
|
|
1731
|
-
/** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1732
|
-
/** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1733
|
+
/** @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 });
|
|
1734
|
+
/** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects });
|
|
1735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
|
|
1734
1736
|
type: Injectable
|
|
1735
1737
|
}], ctorParameters: function () {
|
|
1736
1738
|
return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
@@ -1982,9 +1984,9 @@ class StoreServiceMock extends StoreService {
|
|
|
1982
1984
|
return of({});
|
|
1983
1985
|
}
|
|
1984
1986
|
}
|
|
1985
|
-
/** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
1986
|
-
/** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
1987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
1987
|
+
/** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1988
|
+
/** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock });
|
|
1989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
1988
1990
|
type: Injectable
|
|
1989
1991
|
}], ctorParameters: function () { return []; } });
|
|
1990
1992
|
|
|
@@ -2029,10 +2031,10 @@ class CoreModule {
|
|
|
2029
2031
|
};
|
|
2030
2032
|
}
|
|
2031
2033
|
}
|
|
2032
|
-
/** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2033
|
-
/** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0
|
|
2034
|
-
/** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0
|
|
2035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2034
|
+
/** @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 });
|
|
2035
|
+
/** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
|
|
2036
|
+
/** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule });
|
|
2037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CoreModule, decorators: [{
|
|
2036
2038
|
type: NgModule,
|
|
2037
2039
|
args: [{
|
|
2038
2040
|
imports: [
|
|
@@ -2161,9 +2163,9 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2161
2163
|
super.handleError(error);
|
|
2162
2164
|
}
|
|
2163
2165
|
}
|
|
2164
|
-
/** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2165
|
-
/** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2166
|
+
/** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2167
|
+
/** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
|
|
2168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
2167
2169
|
type: Injectable,
|
|
2168
2170
|
args: [{
|
|
2169
2171
|
providedIn: 'root',
|
|
@@ -2211,9 +2213,9 @@ class HttpErrorHandlerInterceptor {
|
|
|
2211
2213
|
return routes.length > 0 ? routes[0] : null;
|
|
2212
2214
|
}
|
|
2213
2215
|
}
|
|
2214
|
-
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2215
|
-
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2216
|
+
/** @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 });
|
|
2217
|
+
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
|
|
2218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
2217
2219
|
type: Injectable
|
|
2218
2220
|
}], ctorParameters: function () {
|
|
2219
2221
|
return [{ type: undefined, decorators: [{
|
|
@@ -2362,9 +2364,9 @@ class ApiQueueService {
|
|
|
2362
2364
|
.pipe(tap(() => this.removeQueueItem(id)));
|
|
2363
2365
|
}
|
|
2364
2366
|
}
|
|
2365
|
-
/** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2366
|
-
/** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2367
|
+
/** @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 });
|
|
2368
|
+
/** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
|
|
2369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
2368
2370
|
type: Injectable,
|
|
2369
2371
|
args: [{
|
|
2370
2372
|
providedIn: 'root',
|
|
@@ -2717,9 +2719,9 @@ class EuiPermissionService extends EuiService {
|
|
|
2717
2719
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2718
2720
|
}
|
|
2719
2721
|
}
|
|
2720
|
-
/** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2721
|
-
/** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2722
|
+
/** @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 });
|
|
2723
|
+
/** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
|
|
2724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2723
2725
|
type: Injectable,
|
|
2724
2726
|
args: [{
|
|
2725
2727
|
providedIn: 'root',
|
|
@@ -2782,9 +2784,9 @@ class UxDynamicMenuService {
|
|
|
2782
2784
|
});
|
|
2783
2785
|
}
|
|
2784
2786
|
}
|
|
2785
|
-
/** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2786
|
-
/** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2787
|
+
/** @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 });
|
|
2788
|
+
/** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
|
|
2789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
|
|
2788
2790
|
type: Injectable,
|
|
2789
2791
|
args: [{
|
|
2790
2792
|
providedIn: 'root',
|
|
@@ -2852,9 +2854,9 @@ class UxErrorFeedbackService {
|
|
|
2852
2854
|
return new UxErrorManager(this, true);
|
|
2853
2855
|
}
|
|
2854
2856
|
}
|
|
2855
|
-
/** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2856
|
-
/** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2857
|
+
/** @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 });
|
|
2858
|
+
/** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
|
|
2859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
|
|
2858
2860
|
type: Injectable,
|
|
2859
2861
|
args: [{
|
|
2860
2862
|
providedIn: 'root'
|
|
@@ -2950,9 +2952,9 @@ class UxDynamicComponentService {
|
|
|
2950
2952
|
return new PortalInjector(this.injector, injectorTokens);
|
|
2951
2953
|
}
|
|
2952
2954
|
}
|
|
2953
|
-
/** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
2954
|
-
/** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
2955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
2955
|
+
/** @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 });
|
|
2956
|
+
/** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
|
|
2957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
|
|
2956
2958
|
type: Injectable,
|
|
2957
2959
|
args: [{ providedIn: 'root' }]
|
|
2958
2960
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3667,9 +3669,9 @@ class UxTimezoneService {
|
|
|
3667
3669
|
});
|
|
3668
3670
|
}
|
|
3669
3671
|
}
|
|
3670
|
-
/** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3671
|
-
/** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3672
|
+
/** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3673
|
+
/** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService });
|
|
3674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
|
|
3673
3675
|
type: Injectable
|
|
3674
3676
|
}] });
|
|
3675
3677
|
|
|
@@ -3795,9 +3797,9 @@ class LocalStorageService extends StorageService {
|
|
|
3795
3797
|
}
|
|
3796
3798
|
}
|
|
3797
3799
|
LocalStorageService.NAME = 'LocalStorageService';
|
|
3798
|
-
/** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3799
|
-
/** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3800
|
+
/** @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 });
|
|
3801
|
+
/** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService });
|
|
3802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
3801
3803
|
type: Injectable
|
|
3802
3804
|
}], ctorParameters: function () {
|
|
3803
3805
|
return [{ type: LogService, decorators: [{
|
|
@@ -3868,9 +3870,9 @@ class SessionStorageService extends StorageService {
|
|
|
3868
3870
|
}
|
|
3869
3871
|
}
|
|
3870
3872
|
SessionStorageService.NAME = 'SessionStorageService';
|
|
3871
|
-
/** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3872
|
-
/** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3873
|
+
/** @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 });
|
|
3874
|
+
/** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService });
|
|
3875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
3874
3876
|
type: Injectable
|
|
3875
3877
|
}], ctorParameters: function () {
|
|
3876
3878
|
return [{ type: LogService, decorators: [{
|
|
@@ -3959,9 +3961,9 @@ class LocalForageService extends AsyncStorageService {
|
|
|
3959
3961
|
}
|
|
3960
3962
|
}
|
|
3961
3963
|
LocalForageService.NAME = 'LocalForageService';
|
|
3962
|
-
/** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
3963
|
-
/** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
3964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
3964
|
+
/** @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 });
|
|
3965
|
+
/** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService });
|
|
3966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocalForageService, decorators: [{
|
|
3965
3967
|
type: Injectable
|
|
3966
3968
|
}], ctorParameters: function () {
|
|
3967
3969
|
return [{ type: undefined, decorators: [{
|
|
@@ -4066,23 +4068,31 @@ class LocaleService extends EuiService {
|
|
|
4066
4068
|
* @param locale array of locale to load
|
|
4067
4069
|
*/
|
|
4068
4070
|
loadLocale(locale) {
|
|
4069
|
-
locale = Array.isArray(locale) ? locale : [locale];
|
|
4070
|
-
const localeImports
|
|
4071
|
-
//
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
return
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
})
|
|
4071
|
+
// locale = Array.isArray(locale) ? locale : [locale];
|
|
4072
|
+
// const localeImports: Observable<{ data: any, localeId: string, extraData: any }>[]
|
|
4073
|
+
// = this.filterRegisteredLocales(locale).map(this.importDataAndExtraLocale.bind(this));
|
|
4074
|
+
//
|
|
4075
|
+
// // in case localeImports array is empty because locale exists, Observable still needs to complete
|
|
4076
|
+
// if (localeImports.length < 1) {
|
|
4077
|
+
// return of({ success: true });
|
|
4078
|
+
// }
|
|
4079
|
+
//
|
|
4080
|
+
// return forkJoin(...localeImports).pipe(
|
|
4081
|
+
// takeUntil(this.subNotifier),
|
|
4082
|
+
// map(localeData => {
|
|
4083
|
+
// // filter out null results and registerLocaleData including extra
|
|
4084
|
+
// localeData.filter(({ data }) => data)
|
|
4085
|
+
// .forEach(({ data, localeId, extraData }) => registerLocaleData(data, localeId, extraData));
|
|
4086
|
+
// return { success: true };
|
|
4087
|
+
// }),
|
|
4088
|
+
// catchError(error => {
|
|
4089
|
+
// if (this.log) {
|
|
4090
|
+
// this.logger.debug(`Locale load error: ${error.message}`, error);
|
|
4091
|
+
// }
|
|
4092
|
+
// return of({ success: false, error: error });
|
|
4093
|
+
// })
|
|
4094
|
+
// );
|
|
4095
|
+
return of({ success: true });
|
|
4086
4096
|
}
|
|
4087
4097
|
/**
|
|
4088
4098
|
* listen for language changes and dynamically set locale accordingly. In case of non registered locale register it
|
|
@@ -4153,61 +4163,10 @@ class LocaleService extends EuiService {
|
|
|
4153
4163
|
}
|
|
4154
4164
|
});
|
|
4155
4165
|
}
|
|
4156
|
-
/**
|
|
4157
|
-
* returns an Observable which loads the locale based on provided ID
|
|
4158
|
-
*
|
|
4159
|
-
* @param id the locale id e.g. en, el-CY
|
|
4160
|
-
* @private
|
|
4161
|
-
*/
|
|
4162
|
-
importLocale(id) {
|
|
4163
|
-
// in case of an error, catch it and return null
|
|
4164
|
-
return import(
|
|
4165
|
-
/* webpackExclude: /\.d\.ts$/ */
|
|
4166
|
-
/* webpackMode: "lazy-once" */
|
|
4167
|
-
/* webpackChunkName: "i18n-base" */
|
|
4168
|
-
`@/../node_modules/@angular/common/locales/${id}`)
|
|
4169
|
-
.then(m => m.default)
|
|
4170
|
-
.catch(error => {
|
|
4171
|
-
if (this.log) {
|
|
4172
|
-
this.logger.debug(`Locale with ID: "${id}" failed to load. Error: ${error.message}`, error);
|
|
4173
|
-
}
|
|
4174
|
-
return null;
|
|
4175
|
-
});
|
|
4176
|
-
}
|
|
4177
|
-
/**
|
|
4178
|
-
* returns a Promise which loads the locale based on provided ID
|
|
4179
|
-
*
|
|
4180
|
-
* @param id the locale id e.g. en, el-CY
|
|
4181
|
-
* @private
|
|
4182
|
-
*/
|
|
4183
|
-
importExtraLocale(id) {
|
|
4184
|
-
// in case of an error, catch it and return null
|
|
4185
|
-
return import(
|
|
4186
|
-
/* webpackExclude: /\.d\.ts$/ */
|
|
4187
|
-
/* webpackMode: "lazy-once" */
|
|
4188
|
-
/* webpackChunkName: "i18n-extra" */
|
|
4189
|
-
`@/../node_modules/@angular/common/locales/extra/${id}`)
|
|
4190
|
-
.then(m => m.default)
|
|
4191
|
-
.catch(error => {
|
|
4192
|
-
if (this.log) {
|
|
4193
|
-
this.logger.debug(`Extra Locale with ID: "${id}" failed to load. Error: ${error.message}`, error);
|
|
4194
|
-
}
|
|
4195
|
-
return null;
|
|
4196
|
-
});
|
|
4197
|
-
}
|
|
4198
|
-
/**
|
|
4199
|
-
* Imports Locale and then Extra. It returns the Object which registerLocale(...) function needs.
|
|
4200
|
-
*
|
|
4201
|
-
* @param localeId The id of the locale
|
|
4202
|
-
* @private
|
|
4203
|
-
*/
|
|
4204
|
-
importDataAndExtraLocale(localeId) {
|
|
4205
|
-
return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4206
|
-
}
|
|
4207
4166
|
}
|
|
4208
|
-
/** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4209
|
-
/** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4167
|
+
/** @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 });
|
|
4168
|
+
/** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
|
|
4169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleService, decorators: [{
|
|
4211
4170
|
type: Injectable,
|
|
4212
4171
|
args: [{
|
|
4213
4172
|
providedIn: 'root'
|
|
@@ -4236,21 +4195,29 @@ class LocaleServiceMock extends LocaleService {
|
|
|
4236
4195
|
super(null, { locale: { id: 'en', available: [] } }, locale_id, null, null, null);
|
|
4237
4196
|
this.locale_id = locale_id;
|
|
4238
4197
|
this.DEFAULT_LOCALE = 'en';
|
|
4198
|
+
this.stateSubject = new BehaviorSubject({ id: this.DEFAULT_LOCALE });
|
|
4239
4199
|
}
|
|
4240
4200
|
getState() {
|
|
4241
|
-
return
|
|
4201
|
+
return this.stateSubject.asObservable();
|
|
4242
4202
|
}
|
|
4243
4203
|
updateState(state) {
|
|
4244
4204
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4205
|
+
if (state.id === 'fr') {
|
|
4206
|
+
registerLocaleData(localeFr, 'fr');
|
|
4207
|
+
}
|
|
4208
|
+
else if (state.id === 'el') {
|
|
4209
|
+
registerLocaleData(localeEl, 'fr');
|
|
4210
|
+
}
|
|
4211
|
+
this.stateSubject.next(state);
|
|
4245
4212
|
}
|
|
4246
4213
|
init(state) {
|
|
4247
4214
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4248
4215
|
return of({ success: true });
|
|
4249
4216
|
}
|
|
4250
4217
|
}
|
|
4251
|
-
/** @nocollapse */ LocaleServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4252
|
-
/** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4218
|
+
/** @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 });
|
|
4219
|
+
/** @nocollapse */ LocaleServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock });
|
|
4220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LocaleServiceMock, decorators: [{
|
|
4254
4221
|
type: Injectable
|
|
4255
4222
|
}], ctorParameters: function () {
|
|
4256
4223
|
return [{ type: undefined, decorators: [{
|
|
@@ -4294,9 +4261,9 @@ class UserService extends EuiService {
|
|
|
4294
4261
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4295
4262
|
}
|
|
4296
4263
|
}
|
|
4297
|
-
/** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4298
|
-
/** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4264
|
+
/** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4265
|
+
/** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
4266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserService, decorators: [{
|
|
4300
4267
|
type: Injectable,
|
|
4301
4268
|
args: [{
|
|
4302
4269
|
providedIn: 'root',
|
|
@@ -4327,9 +4294,9 @@ class UserServiceMock extends UserService {
|
|
|
4327
4294
|
return of('anonymous');
|
|
4328
4295
|
}
|
|
4329
4296
|
}
|
|
4330
|
-
/** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4331
|
-
/** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4297
|
+
/** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4298
|
+
/** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock });
|
|
4299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
4333
4300
|
type: Injectable
|
|
4334
4301
|
}], ctorParameters: function () { return []; } });
|
|
4335
4302
|
|
|
@@ -4359,9 +4326,9 @@ class AddLangParamInterceptor {
|
|
|
4359
4326
|
}));
|
|
4360
4327
|
}
|
|
4361
4328
|
}
|
|
4362
|
-
/** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4363
|
-
/** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4329
|
+
/** @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 });
|
|
4330
|
+
/** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor });
|
|
4331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
4365
4332
|
type: Injectable
|
|
4366
4333
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4367
4334
|
|
|
@@ -4378,9 +4345,9 @@ class CachePreventionInterceptor {
|
|
|
4378
4345
|
}));
|
|
4379
4346
|
}
|
|
4380
4347
|
}
|
|
4381
|
-
/** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4382
|
-
/** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4348
|
+
/** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4349
|
+
/** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor });
|
|
4350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
4384
4351
|
type: Injectable
|
|
4385
4352
|
}] });
|
|
4386
4353
|
|
|
@@ -4391,9 +4358,9 @@ class CorsSecurityInterceptor {
|
|
|
4391
4358
|
}));
|
|
4392
4359
|
}
|
|
4393
4360
|
}
|
|
4394
|
-
/** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4395
|
-
/** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4361
|
+
/** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4362
|
+
/** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor });
|
|
4363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
4397
4364
|
type: Injectable
|
|
4398
4365
|
}] });
|
|
4399
4366
|
|
|
@@ -4404,9 +4371,9 @@ class CsrfPreventionInterceptor {
|
|
|
4404
4371
|
}));
|
|
4405
4372
|
}
|
|
4406
4373
|
}
|
|
4407
|
-
/** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4408
|
-
/** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4374
|
+
/** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4375
|
+
/** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
|
|
4376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
4410
4377
|
type: Injectable
|
|
4411
4378
|
}] });
|
|
4412
4379
|
|
|
@@ -4466,9 +4433,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4466
4433
|
document.location.reload();
|
|
4467
4434
|
}
|
|
4468
4435
|
}
|
|
4469
|
-
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4470
|
-
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4436
|
+
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4437
|
+
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
|
|
4438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
4472
4439
|
type: Injectable
|
|
4473
4440
|
}] });
|
|
4474
4441
|
|
|
@@ -4489,9 +4456,9 @@ class UxRequestErrorModelInterceptor {
|
|
|
4489
4456
|
}));
|
|
4490
4457
|
}
|
|
4491
4458
|
}
|
|
4492
|
-
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4493
|
-
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4459
|
+
/** @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 });
|
|
4460
|
+
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
|
|
4461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
4495
4462
|
type: Injectable
|
|
4496
4463
|
}], ctorParameters: function () {
|
|
4497
4464
|
return [{ type: undefined, decorators: [{
|
|
@@ -4638,9 +4605,9 @@ class OpenIdConnectInterceptor {
|
|
|
4638
4605
|
}
|
|
4639
4606
|
}
|
|
4640
4607
|
}
|
|
4641
|
-
/** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4642
|
-
/** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4608
|
+
/** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4609
|
+
/** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
|
|
4610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
|
|
4644
4611
|
type: Injectable
|
|
4645
4612
|
}], ctorParameters: function () { return []; } });
|
|
4646
4613
|
|
|
@@ -4683,9 +4650,9 @@ class OpenIdConnectService {
|
|
|
4683
4650
|
return this.userDetails;
|
|
4684
4651
|
}
|
|
4685
4652
|
}
|
|
4686
|
-
/** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0
|
|
4687
|
-
/** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0
|
|
4688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0
|
|
4653
|
+
/** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4654
|
+
/** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
|
|
4655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
|
|
4689
4656
|
type: Injectable,
|
|
4690
4657
|
args: [{
|
|
4691
4658
|
providedIn: 'root'
|