@eui/core 14.0.0-rc.1 → 14.0.0-rc.2
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/assets/i18n-eui/bg.json +1 -0
- package/assets/i18n-eui/cs.json +1 -0
- package/assets/i18n-eui/da.json +1 -0
- package/assets/i18n-eui/de.json +1 -0
- package/assets/i18n-eui/el.json +1 -0
- package/assets/i18n-eui/en.json +1 -0
- package/assets/i18n-eui/es.json +1 -0
- package/assets/i18n-eui/et.json +1 -0
- package/assets/i18n-eui/fi.json +1 -0
- package/assets/i18n-eui/fr.json +2 -1
- package/assets/i18n-eui/ga.json +1 -0
- package/assets/i18n-eui/hr.json +1 -0
- package/assets/i18n-eui/hu.json +1 -0
- package/assets/i18n-eui/it.json +1 -0
- package/assets/i18n-eui/lt.json +1 -0
- package/assets/i18n-eui/lv.json +1 -0
- package/assets/i18n-eui/mt.json +1 -0
- package/assets/i18n-eui/nl.json +1 -0
- package/assets/i18n-eui/pl.json +1 -0
- package/assets/i18n-eui/pt.json +1 -0
- package/assets/i18n-eui/ro.json +1 -0
- package/assets/i18n-eui/sk.json +1 -0
- package/assets/i18n-eui/sl.json +1 -0
- package/assets/i18n-eui/sv.json +1 -0
- package/docs/dependencies.html +20 -22
- package/docs/js/menu-wc_es5.js +3 -3
- package/docs/js/search/search_index.js +2 -2
- 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 +17 -11
- 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/app/eui-init-app.mjs +16 -4
- package/esm2020/lib/services/config/tokens.mjs +3 -3
- 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 +17 -5
- package/esm2020/lib/services/i18n/i18n.service.mock.mjs +4 -4
- package/esm2020/lib/services/locale/locale.service.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +7 -6
- 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 +141 -111
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +141 -111
- package/fesm2020/eui-core.mjs.map +1 -1
- package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +1 -1
- package/lib/services/app/eui-init-app.d.ts.map +1 -1
- package/lib/services/i18n/i18n.service.d.ts.map +1 -1
- package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts +1 -1
- package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts.map +1 -1
- package/package.json +1 -1
package/fesm2020/eui-core.mjs
CHANGED
|
@@ -144,8 +144,8 @@ function mergeAppJsonConfigToAppConfig(euiAppConfig, envAppJsonConfig, merge, is
|
|
|
144
144
|
const deepMerged = {};
|
|
145
145
|
if (merge && merge.length > 0) {
|
|
146
146
|
merge.forEach((key) => {
|
|
147
|
-
if (envAppJsonConfig[key] && typeof envAppJsonConfig[key] === 'object'
|
|
148
|
-
&& euiAppConfig[key] && typeof euiAppConfig[key] === 'object') {
|
|
147
|
+
if (envAppJsonConfig != null && envAppJsonConfig[key] && typeof envAppJsonConfig[key] === 'object' &&
|
|
148
|
+
euiAppConfig != null && euiAppConfig[key] && typeof euiAppConfig[key] === 'object') {
|
|
149
149
|
if (isDeepMerge) {
|
|
150
150
|
deepMerged[key] = {};
|
|
151
151
|
extend$1(true, deepMerged[key], euiAppConfig[key], envAppJsonConfig[key]);
|
|
@@ -193,9 +193,9 @@ class LogService extends Logger {
|
|
|
193
193
|
return logger;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
/** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
197
|
-
/** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
196
|
+
/** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
197
|
+
/** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService });
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogService, decorators: [{
|
|
199
199
|
type: Injectable
|
|
200
200
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
201
201
|
type: Inject,
|
|
@@ -367,10 +367,10 @@ class LogModule {
|
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
/** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
371
|
-
/** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0
|
|
372
|
-
/** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0
|
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
370
|
+
/** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
371
|
+
/** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: LogModule });
|
|
372
|
+
/** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule });
|
|
373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LogModule, decorators: [{
|
|
374
374
|
type: NgModule
|
|
375
375
|
}] });
|
|
376
376
|
|
|
@@ -462,9 +462,9 @@ class StoreService {
|
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
/** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
466
|
-
/** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
465
|
+
/** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
466
|
+
/** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, providedIn: 'root' });
|
|
467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreService, decorators: [{
|
|
468
468
|
type: Injectable,
|
|
469
469
|
args: [{
|
|
470
470
|
providedIn: 'root',
|
|
@@ -482,8 +482,20 @@ function euiInitApp(injector) {
|
|
|
482
482
|
locationInitialized.then(() => {
|
|
483
483
|
const appConfig = injector.get(CONFIG_TOKEN);
|
|
484
484
|
// necessary config parameters
|
|
485
|
-
|
|
486
|
-
|
|
485
|
+
let appVersion;
|
|
486
|
+
if (appConfig && appConfig.versions && appConfig.versions.app) {
|
|
487
|
+
appVersion = appConfig.versions.app;
|
|
488
|
+
}
|
|
489
|
+
else {
|
|
490
|
+
appVersion = '0.0.0';
|
|
491
|
+
}
|
|
492
|
+
let storageType;
|
|
493
|
+
if (appConfig && appConfig.saveStateStorage) {
|
|
494
|
+
storageType = appConfig.saveStateStorage;
|
|
495
|
+
}
|
|
496
|
+
else {
|
|
497
|
+
storageType = BrowserStorageType.local;
|
|
498
|
+
}
|
|
487
499
|
const storeService = injector.get(StoreService);
|
|
488
500
|
storeService.init(appVersion, storageType);
|
|
489
501
|
storeService.handleAutoSave();
|
|
@@ -798,9 +810,9 @@ class I18nLoader {
|
|
|
798
810
|
return undefined;
|
|
799
811
|
}
|
|
800
812
|
}
|
|
801
|
-
/** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
802
|
-
/** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
813
|
+
/** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
814
|
+
/** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader });
|
|
815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nLoader, decorators: [{
|
|
804
816
|
type: Injectable
|
|
805
817
|
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
806
818
|
type: Optional
|
|
@@ -827,7 +839,18 @@ class I18nService extends EuiLazyService {
|
|
|
827
839
|
this.onModuleLoad = new BehaviorSubject({ ready: false, name: null });
|
|
828
840
|
}
|
|
829
841
|
getState(keyOrMapFn) {
|
|
830
|
-
|
|
842
|
+
let selector = getI18nState;
|
|
843
|
+
if (keyOrMapFn) {
|
|
844
|
+
switch (typeof keyOrMapFn) {
|
|
845
|
+
case 'function':
|
|
846
|
+
selector = createSelector(getI18nState, keyOrMapFn);
|
|
847
|
+
break;
|
|
848
|
+
case 'string':
|
|
849
|
+
selector = createSelector(getI18nState, (state) => state[keyOrMapFn]);
|
|
850
|
+
break;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
return this.store.select(selector);
|
|
831
854
|
}
|
|
832
855
|
updateState(langState) {
|
|
833
856
|
this.updateHTMLDOMLang(langState.activeLang);
|
|
@@ -1004,9 +1027,9 @@ class I18nService extends EuiLazyService {
|
|
|
1004
1027
|
this.document.documentElement.lang = lang;
|
|
1005
1028
|
}
|
|
1006
1029
|
}
|
|
1007
|
-
/** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
1008
|
-
/** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
1009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
1030
|
+
/** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
|
|
1031
|
+
/** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nService, providedIn: 'root' });
|
|
1032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nService, decorators: [{
|
|
1010
1033
|
type: Injectable,
|
|
1011
1034
|
args: [{
|
|
1012
1035
|
providedIn: 'root',
|
|
@@ -1049,9 +1072,9 @@ class I18nServiceMock extends I18nService {
|
|
|
1049
1072
|
return of({ success: true });
|
|
1050
1073
|
}
|
|
1051
1074
|
}
|
|
1052
|
-
/** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
1053
|
-
/** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
1054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
1075
|
+
/** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1076
|
+
/** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock });
|
|
1077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: I18nServiceMock, decorators: [{
|
|
1055
1078
|
type: Injectable
|
|
1056
1079
|
}], ctorParameters: function () { return []; } });
|
|
1057
1080
|
|
|
@@ -1677,9 +1700,9 @@ class UxAppShellService {
|
|
|
1677
1700
|
});
|
|
1678
1701
|
}
|
|
1679
1702
|
}
|
|
1680
|
-
/** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
1681
|
-
/** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
1682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
1703
|
+
/** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
|
|
1704
|
+
/** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
|
|
1705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxAppShellService, decorators: [{
|
|
1683
1706
|
type: Injectable,
|
|
1684
1707
|
args: [{
|
|
1685
1708
|
providedIn: 'root',
|
|
@@ -1736,9 +1759,9 @@ class CoreAppEffects {
|
|
|
1736
1759
|
})), { dispatch: false });
|
|
1737
1760
|
}
|
|
1738
1761
|
}
|
|
1739
|
-
/** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
1740
|
-
/** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
1741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
1762
|
+
/** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
|
|
1763
|
+
/** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreAppEffects });
|
|
1764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreAppEffects, decorators: [{
|
|
1742
1765
|
type: Injectable
|
|
1743
1766
|
}], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
1744
1767
|
type: Inject,
|
|
@@ -2009,9 +2032,9 @@ class StoreServiceMock extends StoreService {
|
|
|
2009
2032
|
return of({});
|
|
2010
2033
|
}
|
|
2011
2034
|
}
|
|
2012
|
-
/** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2013
|
-
/** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2035
|
+
/** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2036
|
+
/** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock });
|
|
2037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
2015
2038
|
type: Injectable
|
|
2016
2039
|
}], ctorParameters: function () { return []; } });
|
|
2017
2040
|
|
|
@@ -2056,10 +2079,10 @@ class CoreModule {
|
|
|
2056
2079
|
};
|
|
2057
2080
|
}
|
|
2058
2081
|
}
|
|
2059
|
-
/** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2060
|
-
/** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0
|
|
2061
|
-
/** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0
|
|
2062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2082
|
+
/** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
|
|
2083
|
+
/** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
|
|
2084
|
+
/** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
|
|
2085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CoreModule, decorators: [{
|
|
2063
2086
|
type: NgModule,
|
|
2064
2087
|
args: [{
|
|
2065
2088
|
imports: [
|
|
@@ -2183,9 +2206,9 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2183
2206
|
super.handleError(error);
|
|
2184
2207
|
}
|
|
2185
2208
|
}
|
|
2186
|
-
/** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2187
|
-
/** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2209
|
+
/** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2210
|
+
/** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
|
|
2211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
2189
2212
|
type: Injectable,
|
|
2190
2213
|
args: [{
|
|
2191
2214
|
providedIn: 'root',
|
|
@@ -2232,9 +2255,9 @@ class HttpErrorHandlerInterceptor {
|
|
|
2232
2255
|
return routes.length > 0 ? routes[0] : null;
|
|
2233
2256
|
}
|
|
2234
2257
|
}
|
|
2235
|
-
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2236
|
-
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2258
|
+
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2259
|
+
/** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor });
|
|
2260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
2238
2261
|
type: Injectable
|
|
2239
2262
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2240
2263
|
type: Inject,
|
|
@@ -2381,9 +2404,9 @@ class ApiQueueService {
|
|
|
2381
2404
|
.pipe(tap(() => this.removeQueueItem(id)));
|
|
2382
2405
|
}
|
|
2383
2406
|
}
|
|
2384
|
-
/** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2385
|
-
/** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2407
|
+
/** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2408
|
+
/** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
|
|
2409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
2387
2410
|
type: Injectable,
|
|
2388
2411
|
args: [{
|
|
2389
2412
|
providedIn: 'root',
|
|
@@ -2740,9 +2763,9 @@ class EuiPermissionService extends EuiService {
|
|
|
2740
2763
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2741
2764
|
}
|
|
2742
2765
|
}
|
|
2743
|
-
/** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2744
|
-
/** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2745
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2766
|
+
/** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2767
|
+
/** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
|
|
2768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2746
2769
|
type: Injectable,
|
|
2747
2770
|
args: [{
|
|
2748
2771
|
providedIn: 'root',
|
|
@@ -2803,9 +2826,9 @@ class UxDynamicMenuService {
|
|
|
2803
2826
|
});
|
|
2804
2827
|
}
|
|
2805
2828
|
}
|
|
2806
|
-
/** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2807
|
-
/** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2829
|
+
/** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2830
|
+
/** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
|
|
2831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicMenuService, decorators: [{
|
|
2809
2832
|
type: Injectable,
|
|
2810
2833
|
args: [{
|
|
2811
2834
|
providedIn: 'root',
|
|
@@ -2873,9 +2896,9 @@ class UxErrorFeedbackService {
|
|
|
2873
2896
|
return new UxErrorManager(this, true);
|
|
2874
2897
|
}
|
|
2875
2898
|
}
|
|
2876
|
-
/** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2877
|
-
/** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2899
|
+
/** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2900
|
+
/** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
|
|
2901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
|
|
2879
2902
|
type: Injectable,
|
|
2880
2903
|
args: [{
|
|
2881
2904
|
providedIn: 'root'
|
|
@@ -2931,6 +2954,7 @@ class UxDynamicComponentService {
|
|
|
2931
2954
|
* @param config The data to be passed (config) for the DYNAMIC_COMPONENT_CONFIG token
|
|
2932
2955
|
*/
|
|
2933
2956
|
add(component, el, config) {
|
|
2957
|
+
// TODO: take a look and replace deprecated componentFactoryResolver https://github.com/angular/components/issues/24334
|
|
2934
2958
|
// Create a portalHost from a DOM element
|
|
2935
2959
|
this.portalHost = new DomPortalOutlet(el ? el.nativeElement : document.body, this.componentFactoryResolver, this.appRef, this.injector);
|
|
2936
2960
|
// Locate the component factory for the ComponentToIncludeDynamicallyComponent
|
|
@@ -2961,7 +2985,7 @@ class UxDynamicComponentService {
|
|
|
2961
2985
|
this.portalComponentInstance = null;
|
|
2962
2986
|
}
|
|
2963
2987
|
/**
|
|
2964
|
-
* creates
|
|
2988
|
+
* creates a custom injector to be used when providing custom injection tokens to components inside a portal
|
|
2965
2989
|
* @param data to be used by DYNAMIC_COMPONENT_CONFIG token
|
|
2966
2990
|
*/
|
|
2967
2991
|
createInjector(data) {
|
|
@@ -2970,9 +2994,9 @@ class UxDynamicComponentService {
|
|
|
2970
2994
|
return new PortalInjector(this.injector, injectorTokens);
|
|
2971
2995
|
}
|
|
2972
2996
|
}
|
|
2973
|
-
/** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
2974
|
-
/** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
2975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
2997
|
+
/** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2998
|
+
/** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
|
|
2999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxDynamicComponentService, decorators: [{
|
|
2976
3000
|
type: Injectable,
|
|
2977
3001
|
args: [{ providedIn: 'root' }]
|
|
2978
3002
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3687,9 +3711,9 @@ class UxTimezoneService {
|
|
|
3687
3711
|
});
|
|
3688
3712
|
}
|
|
3689
3713
|
}
|
|
3690
|
-
/** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
3691
|
-
/** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
3692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
3714
|
+
/** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3715
|
+
/** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService });
|
|
3716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxTimezoneService, decorators: [{
|
|
3693
3717
|
type: Injectable
|
|
3694
3718
|
}] });
|
|
3695
3719
|
|
|
@@ -3815,9 +3839,9 @@ class LocalStorageService extends StorageService {
|
|
|
3815
3839
|
}
|
|
3816
3840
|
}
|
|
3817
3841
|
LocalStorageService.NAME = 'LocalStorageService';
|
|
3818
|
-
/** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
3819
|
-
/** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
3820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
3842
|
+
/** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3843
|
+
/** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService });
|
|
3844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
3821
3845
|
type: Injectable
|
|
3822
3846
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3823
3847
|
type: Optional
|
|
@@ -3886,9 +3910,9 @@ class SessionStorageService extends StorageService {
|
|
|
3886
3910
|
}
|
|
3887
3911
|
}
|
|
3888
3912
|
SessionStorageService.NAME = 'SessionStorageService';
|
|
3889
|
-
/** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
3890
|
-
/** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
3891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
3913
|
+
/** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3914
|
+
/** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService });
|
|
3915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
3892
3916
|
type: Injectable
|
|
3893
3917
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3894
3918
|
type: Optional
|
|
@@ -3977,9 +4001,9 @@ class LocalForageService extends AsyncStorageService {
|
|
|
3977
4001
|
}
|
|
3978
4002
|
}
|
|
3979
4003
|
LocalForageService.NAME = 'LocalForageService';
|
|
3980
|
-
/** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
3981
|
-
/** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
3982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4004
|
+
/** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4005
|
+
/** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService });
|
|
4006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalForageService, decorators: [{
|
|
3983
4007
|
type: Injectable
|
|
3984
4008
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3985
4009
|
type: Inject,
|
|
@@ -4212,9 +4236,9 @@ class LocaleService extends EuiService {
|
|
|
4212
4236
|
return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4213
4237
|
}
|
|
4214
4238
|
}
|
|
4215
|
-
/** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4216
|
-
/** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4239
|
+
/** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
|
|
4240
|
+
/** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleService, providedIn: 'root' });
|
|
4241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocaleService, decorators: [{
|
|
4218
4242
|
type: Injectable,
|
|
4219
4243
|
args: [{
|
|
4220
4244
|
providedIn: 'root'
|
|
@@ -4269,9 +4293,9 @@ class UserService extends EuiService {
|
|
|
4269
4293
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4270
4294
|
}
|
|
4271
4295
|
}
|
|
4272
|
-
/** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4273
|
-
/** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4296
|
+
/** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4297
|
+
/** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
4298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserService, decorators: [{
|
|
4275
4299
|
type: Injectable,
|
|
4276
4300
|
args: [{
|
|
4277
4301
|
providedIn: 'root',
|
|
@@ -4302,9 +4326,9 @@ class UserServiceMock extends UserService {
|
|
|
4302
4326
|
return of('anonymous');
|
|
4303
4327
|
}
|
|
4304
4328
|
}
|
|
4305
|
-
/** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4306
|
-
/** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4329
|
+
/** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4330
|
+
/** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock });
|
|
4331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
4308
4332
|
type: Injectable
|
|
4309
4333
|
}], ctorParameters: function () { return []; } });
|
|
4310
4334
|
|
|
@@ -4334,9 +4358,9 @@ class AddLangParamInterceptor {
|
|
|
4334
4358
|
}));
|
|
4335
4359
|
}
|
|
4336
4360
|
}
|
|
4337
|
-
/** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4338
|
-
/** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4361
|
+
/** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4362
|
+
/** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor });
|
|
4363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
4340
4364
|
type: Injectable
|
|
4341
4365
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4342
4366
|
|
|
@@ -4353,9 +4377,9 @@ class CachePreventionInterceptor {
|
|
|
4353
4377
|
}));
|
|
4354
4378
|
}
|
|
4355
4379
|
}
|
|
4356
|
-
/** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4357
|
-
/** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4380
|
+
/** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4381
|
+
/** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor });
|
|
4382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
4359
4383
|
type: Injectable
|
|
4360
4384
|
}] });
|
|
4361
4385
|
|
|
@@ -4366,9 +4390,9 @@ class CorsSecurityInterceptor {
|
|
|
4366
4390
|
}));
|
|
4367
4391
|
}
|
|
4368
4392
|
}
|
|
4369
|
-
/** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4370
|
-
/** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4393
|
+
/** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4394
|
+
/** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor });
|
|
4395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
4372
4396
|
type: Injectable
|
|
4373
4397
|
}] });
|
|
4374
4398
|
|
|
@@ -4379,9 +4403,9 @@ class CsrfPreventionInterceptor {
|
|
|
4379
4403
|
}));
|
|
4380
4404
|
}
|
|
4381
4405
|
}
|
|
4382
|
-
/** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4383
|
-
/** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4406
|
+
/** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4407
|
+
/** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor });
|
|
4408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
4385
4409
|
type: Injectable
|
|
4386
4410
|
}] });
|
|
4387
4411
|
|
|
@@ -4418,13 +4442,19 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4418
4442
|
}
|
|
4419
4443
|
else {
|
|
4420
4444
|
const html = body;
|
|
4421
|
-
|
|
4422
|
-
html.indexOf('<meta name="
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4445
|
+
try {
|
|
4446
|
+
return ((html.indexOf('<meta name="Keywords" content="EU Login, ECAS, Authentication, Security" />') >= 0 &&
|
|
4447
|
+
html.indexOf('<meta name="Description" content="EU Login" />') >= 0) ||
|
|
4448
|
+
html.indexOf('<meta name="Description" content="European Commission Authentication Service" />') >= 0 ||
|
|
4449
|
+
html.indexOf('<title>Mock Login Form</title>') >= 0 ||
|
|
4450
|
+
html.indexOf('<title>Redirecting To ECAS</title>') >= 0 ||
|
|
4451
|
+
html === '{ success : false, status : "ECAS_AUTHENTICATION_REQUIRED", code : 303, message : "session expired" }' ||
|
|
4452
|
+
// tslint:disable-next-line:max-line-length
|
|
4453
|
+
JSON.stringify(JSON.parse(html)) === JSON.stringify({ success: false, status: 'ECAS_AUTHENTICATION_REQUIRED', code: 303, message: 'session expired' }));
|
|
4454
|
+
}
|
|
4455
|
+
catch (e) {
|
|
4456
|
+
return false;
|
|
4457
|
+
}
|
|
4428
4458
|
}
|
|
4429
4459
|
}
|
|
4430
4460
|
else {
|
|
@@ -4435,9 +4465,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4435
4465
|
document.location.reload();
|
|
4436
4466
|
}
|
|
4437
4467
|
}
|
|
4438
|
-
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4439
|
-
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4468
|
+
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4469
|
+
/** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
|
|
4470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
4441
4471
|
type: Injectable
|
|
4442
4472
|
}] });
|
|
4443
4473
|
|
|
@@ -4458,9 +4488,9 @@ class UxRequestErrorModelInterceptor {
|
|
|
4458
4488
|
}));
|
|
4459
4489
|
}
|
|
4460
4490
|
}
|
|
4461
|
-
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4462
|
-
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4491
|
+
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4492
|
+
/** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor });
|
|
4493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
4464
4494
|
type: Injectable
|
|
4465
4495
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4466
4496
|
type: Inject,
|
|
@@ -4602,9 +4632,9 @@ class OpenIdConnectInterceptor {
|
|
|
4602
4632
|
}
|
|
4603
4633
|
}
|
|
4604
4634
|
}
|
|
4605
|
-
/** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4606
|
-
/** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4635
|
+
/** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4636
|
+
/** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor });
|
|
4637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
|
|
4608
4638
|
type: Injectable
|
|
4609
4639
|
}], ctorParameters: function () { return []; } });
|
|
4610
4640
|
|
|
@@ -4647,9 +4677,9 @@ class OpenIdConnectService {
|
|
|
4647
4677
|
return this.userDetails;
|
|
4648
4678
|
}
|
|
4649
4679
|
}
|
|
4650
|
-
/** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0
|
|
4651
|
-
/** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0
|
|
4652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0
|
|
4680
|
+
/** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4681
|
+
/** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
|
|
4682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: OpenIdConnectService, decorators: [{
|
|
4653
4683
|
type: Injectable,
|
|
4654
4684
|
args: [{
|
|
4655
4685
|
providedIn: 'root'
|