@eui/core 17.0.0-next.4 → 17.0.0-next.5
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/esm2022/lib/eui-core.module.mjs +4 -4
- package/esm2022/lib/interceptors/add-lang-param.interceptor.mjs +3 -3
- package/esm2022/lib/interceptors/cache-prevention.interceptor.mjs +3 -3
- package/esm2022/lib/interceptors/cors-security.interceptor.mjs +3 -3
- package/esm2022/lib/interceptors/csrf-prevention.interceptor.mjs +3 -3
- package/esm2022/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +3 -3
- package/esm2022/lib/interceptors/openid/openid-connect.interceptor.mjs +3 -3
- package/esm2022/lib/interceptors/openid/openid-connect.service.mjs +3 -3
- package/esm2022/lib/interceptors/ux-request-error-model.interceptor.mjs +3 -3
- package/esm2022/lib/services/dynamic-menu/dynamic-menu.service.mjs +4 -4
- package/esm2022/lib/services/errors/eui.error.mjs +3 -1
- package/esm2022/lib/services/errors/global-error-handler.mjs +3 -3
- package/esm2022/lib/services/errors/http-error-handler.interceptor.mjs +3 -3
- package/esm2022/lib/services/eui-timezone.service.mjs +3 -3
- package/esm2022/lib/services/i18n/i18n.loader.mjs +3 -3
- package/esm2022/lib/services/i18n/i18n.service.mjs +3 -3
- package/esm2022/lib/services/i18n/i18n.service.mock.mjs +3 -3
- package/esm2022/lib/services/locale/locale.service.mjs +3 -3
- package/esm2022/lib/services/locale/locale.service.mock.mjs +3 -3
- package/esm2022/lib/services/log/log.module.mjs +4 -4
- package/esm2022/lib/services/log/log.service.mjs +3 -3
- package/esm2022/lib/services/permission/permission.service.mjs +4 -4
- package/esm2022/lib/services/queue/api-queue.service.mjs +4 -4
- package/esm2022/lib/services/storage/local-forage.service.mjs +4 -4
- package/esm2022/lib/services/storage/local-storage.service.mjs +3 -3
- package/esm2022/lib/services/storage/session-storage.service.mjs +3 -3
- package/esm2022/lib/services/store/effects/app.effects.mjs +3 -3
- package/esm2022/lib/services/store/store.service.mjs +4 -4
- package/esm2022/lib/services/store/store.service.mock.mjs +3 -3
- package/esm2022/lib/services/user/user.service.mjs +3 -3
- package/esm2022/lib/services/user/user.service.mock.mjs +3 -3
- package/esm2022/lib/services/ux-app-shell.service.mjs +25 -4
- package/esm2022/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +4 -4
- package/esm2022/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +4 -4
- package/fesm2022/eui-core.mjs +124 -101
- package/fesm2022/eui-core.mjs.map +1 -1
- package/lib/services/dynamic-menu/dynamic-menu.service.d.ts.map +1 -1
- package/lib/services/errors/eui.error.d.ts +0 -2
- package/lib/services/errors/eui.error.d.ts.map +1 -1
- package/lib/services/permission/permission.service.d.ts.map +1 -1
- package/lib/services/queue/api-queue.service.d.ts.map +1 -1
- package/lib/services/storage/local-forage.service.d.ts.map +1 -1
- package/lib/services/store/store.service.d.ts.map +1 -1
- package/lib/services/ux-app-shell.service.d.ts +9 -0
- package/lib/services/ux-app-shell.service.d.ts.map +1 -1
- package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts.map +1 -1
- package/lib/services/ux-error-feedback/ux-error-feedback.service.d.ts.map +1 -1
- package/package.json +2 -2
package/fesm2022/eui-core.mjs
CHANGED
|
@@ -197,10 +197,10 @@ class LogService extends Logger {
|
|
|
197
197
|
}
|
|
198
198
|
return logger;
|
|
199
199
|
}
|
|
200
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
201
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
200
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
201
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LogService }); }
|
|
202
202
|
}
|
|
203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LogService, decorators: [{
|
|
204
204
|
type: Injectable
|
|
205
205
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
206
206
|
type: Inject,
|
|
@@ -371,11 +371,11 @@ class LogModule {
|
|
|
371
371
|
],
|
|
372
372
|
};
|
|
373
373
|
}
|
|
374
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
375
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
376
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
374
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
375
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.4", ngImport: i0, type: LogModule }); }
|
|
376
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LogModule }); }
|
|
377
377
|
}
|
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LogModule, decorators: [{
|
|
379
379
|
type: NgModule
|
|
380
380
|
}] });
|
|
381
381
|
|
|
@@ -470,10 +470,10 @@ class StoreService {
|
|
|
470
470
|
// Ignore write errors.
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
474
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
473
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
474
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: StoreService, providedIn: 'root' }); }
|
|
475
475
|
}
|
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: StoreService, decorators: [{
|
|
477
477
|
type: Injectable,
|
|
478
478
|
args: [{
|
|
479
479
|
providedIn: 'root',
|
|
@@ -827,10 +827,10 @@ class I18nLoader {
|
|
|
827
827
|
}
|
|
828
828
|
return undefined;
|
|
829
829
|
}
|
|
830
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
831
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
830
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
831
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nLoader }); }
|
|
832
832
|
}
|
|
833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nLoader, decorators: [{
|
|
834
834
|
type: Injectable
|
|
835
835
|
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
836
836
|
type: Optional
|
|
@@ -1041,10 +1041,10 @@ class I18nService extends EuiLazyService {
|
|
|
1041
1041
|
updateHTMLDOMLang(lang) {
|
|
1042
1042
|
this.document.documentElement.lang = lang;
|
|
1043
1043
|
}
|
|
1044
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1045
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1044
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1045
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nService, providedIn: 'root' }); }
|
|
1046
1046
|
}
|
|
1047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nService, decorators: [{
|
|
1048
1048
|
type: Injectable,
|
|
1049
1049
|
args: [{
|
|
1050
1050
|
providedIn: 'root',
|
|
@@ -1086,10 +1086,10 @@ class I18nServiceMock extends I18nService {
|
|
|
1086
1086
|
lazyLoadInit() {
|
|
1087
1087
|
return of({ success: true });
|
|
1088
1088
|
}
|
|
1089
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1090
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1089
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1090
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nServiceMock }); }
|
|
1091
1091
|
}
|
|
1092
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: I18nServiceMock, decorators: [{
|
|
1093
1093
|
type: Injectable
|
|
1094
1094
|
}], ctorParameters: function () { return []; } });
|
|
1095
1095
|
|
|
@@ -1097,6 +1097,7 @@ const initialState = {
|
|
|
1097
1097
|
appName: '',
|
|
1098
1098
|
appShortName: '',
|
|
1099
1099
|
appSubTitle: '',
|
|
1100
|
+
appBaseFontSize: '',
|
|
1100
1101
|
userInfos: null,
|
|
1101
1102
|
userSubInfos: null,
|
|
1102
1103
|
impersonatedUserInfos: null,
|
|
@@ -1129,6 +1130,9 @@ const initialState = {
|
|
|
1129
1130
|
isDesktop: false,
|
|
1130
1131
|
isXL: false,
|
|
1131
1132
|
isXXL: false,
|
|
1133
|
+
isFHD: false,
|
|
1134
|
+
is2K: false,
|
|
1135
|
+
is4K: false,
|
|
1132
1136
|
},
|
|
1133
1137
|
menuLinks: [],
|
|
1134
1138
|
sidebarLinks: [],
|
|
@@ -1290,6 +1294,7 @@ class UxAppShellService {
|
|
|
1290
1294
|
breakpoint,
|
|
1291
1295
|
breakpoints,
|
|
1292
1296
|
combinedLinks,
|
|
1297
|
+
appBaseFontSize: this.getBaseFontSize(),
|
|
1293
1298
|
});
|
|
1294
1299
|
// update the Store Language
|
|
1295
1300
|
if (updateI18 && nextState.activeLanguage !== stateBeforeUpdate.activeLanguage) {
|
|
@@ -1487,6 +1492,22 @@ class UxAppShellService {
|
|
|
1487
1492
|
this._setCssVarValue('--eui-app-vh', `${vh}px`);
|
|
1488
1493
|
this._setCssVarValue('--eui-app-vw', `${vw}px`);
|
|
1489
1494
|
}
|
|
1495
|
+
/**
|
|
1496
|
+
* Returns the current value of --eui-base-font-size CSS variable
|
|
1497
|
+
*/
|
|
1498
|
+
getBaseFontSize() {
|
|
1499
|
+
return this.state.appBaseFontSize || this.getCssVarValue('--eui-base-font-size');
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* Updates the current value of --eui-base-font-size CSS variable and the UIState appBaseFontSize
|
|
1503
|
+
*/
|
|
1504
|
+
setBaseFontSize(newsize) {
|
|
1505
|
+
this.setState({
|
|
1506
|
+
...this.state,
|
|
1507
|
+
appBaseFontSize: newsize,
|
|
1508
|
+
}, false);
|
|
1509
|
+
this._setCssVarValue('--eui-base-font-size', newsize);
|
|
1510
|
+
}
|
|
1490
1511
|
// ---------------
|
|
1491
1512
|
// private getters
|
|
1492
1513
|
// ---------------
|
|
@@ -1615,10 +1636,10 @@ class UxAppShellService {
|
|
|
1615
1636
|
}
|
|
1616
1637
|
});
|
|
1617
1638
|
}
|
|
1618
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1619
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1639
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", 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 }); }
|
|
1640
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxAppShellService, providedIn: 'root' }); }
|
|
1620
1641
|
}
|
|
1621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxAppShellService, decorators: [{
|
|
1622
1643
|
type: Injectable,
|
|
1623
1644
|
args: [{
|
|
1624
1645
|
providedIn: 'root',
|
|
@@ -1680,10 +1701,10 @@ class CoreAppEffects {
|
|
|
1680
1701
|
}
|
|
1681
1702
|
})), { dispatch: false });
|
|
1682
1703
|
}
|
|
1683
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1684
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1704
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1705
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CoreAppEffects }); }
|
|
1685
1706
|
}
|
|
1686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CoreAppEffects, decorators: [{
|
|
1687
1708
|
type: Injectable
|
|
1688
1709
|
}], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
1689
1710
|
type: Inject,
|
|
@@ -1933,10 +1954,10 @@ class StoreServiceMock extends StoreService {
|
|
|
1933
1954
|
select() {
|
|
1934
1955
|
return of({});
|
|
1935
1956
|
}
|
|
1936
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1937
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1957
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1958
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: StoreServiceMock }); }
|
|
1938
1959
|
}
|
|
1939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
1940
1961
|
type: Injectable
|
|
1941
1962
|
}], ctorParameters: function () { return []; } });
|
|
1942
1963
|
|
|
@@ -1980,11 +2001,11 @@ class CoreModule {
|
|
|
1980
2001
|
storeService.dispatch(new AddAppLoadedConfigModulesAction({ moduleName, moduleConfig }));
|
|
1981
2002
|
}
|
|
1982
2003
|
}
|
|
1983
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1984
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1985
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2004
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2005
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.4", ngImport: i0, type: CoreModule }); }
|
|
2006
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CoreModule }); }
|
|
1986
2007
|
}
|
|
1987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CoreModule, decorators: [{
|
|
1988
2009
|
type: NgModule,
|
|
1989
2010
|
args: [{
|
|
1990
2011
|
imports: [
|
|
@@ -2060,6 +2081,8 @@ const errorCodes = {
|
|
|
2060
2081
|
const messages = {
|
|
2061
2082
|
ERR_GENERIC: 'An error occured',
|
|
2062
2083
|
};
|
|
2084
|
+
// Intermediate "hacky" subclass taken from
|
|
2085
|
+
// https://www.bennadel.com/blog/3226-experimenting-with-error-sub-classing-using-es5-and-typescript-2-1-5.htm
|
|
2063
2086
|
class ErrorSubClass {
|
|
2064
2087
|
constructor(code, msg, args) {
|
|
2065
2088
|
if (!msg && code && code in messages) {
|
|
@@ -2103,10 +2126,10 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2103
2126
|
// throw error;
|
|
2104
2127
|
super.handleError(error);
|
|
2105
2128
|
}
|
|
2106
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2107
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2129
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2130
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' }); }
|
|
2108
2131
|
}
|
|
2109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
2110
2133
|
type: Injectable,
|
|
2111
2134
|
args: [{
|
|
2112
2135
|
providedIn: 'root',
|
|
@@ -2151,10 +2174,10 @@ class HttpErrorHandlerInterceptor {
|
|
|
2151
2174
|
// return the first matching route, if any
|
|
2152
2175
|
return routes.length > 0 ? routes[0] : null;
|
|
2153
2176
|
}
|
|
2154
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2155
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2177
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2178
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor }); }
|
|
2156
2179
|
}
|
|
2157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
2158
2181
|
type: Injectable
|
|
2159
2182
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2160
2183
|
type: Inject,
|
|
@@ -2296,10 +2319,10 @@ class ApiQueueService {
|
|
|
2296
2319
|
buildHttpRequest(id, item) {
|
|
2297
2320
|
return this.http[item.method.toLowerCase()](item.uri, item.payload).pipe(tap(() => this.removeQueueItem(id)));
|
|
2298
2321
|
}
|
|
2299
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2300
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2322
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2323
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ApiQueueService, providedIn: 'root' }); }
|
|
2301
2324
|
}
|
|
2302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
2303
2326
|
type: Injectable,
|
|
2304
2327
|
args: [{
|
|
2305
2328
|
providedIn: 'root',
|
|
@@ -2635,10 +2658,10 @@ class EuiPermissionService extends EuiService {
|
|
|
2635
2658
|
}
|
|
2636
2659
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2637
2660
|
}
|
|
2638
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2639
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2661
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2662
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiPermissionService, providedIn: 'root' }); }
|
|
2640
2663
|
}
|
|
2641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2642
2665
|
type: Injectable,
|
|
2643
2666
|
args: [{
|
|
2644
2667
|
providedIn: 'root',
|
|
@@ -2698,10 +2721,10 @@ class EuiDynamicMenuService {
|
|
|
2698
2721
|
return true;
|
|
2699
2722
|
});
|
|
2700
2723
|
}
|
|
2701
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2702
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2724
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2725
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiDynamicMenuService, providedIn: 'root' }); }
|
|
2703
2726
|
}
|
|
2704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiDynamicMenuService, decorators: [{
|
|
2705
2728
|
type: Injectable,
|
|
2706
2729
|
args: [{
|
|
2707
2730
|
providedIn: 'root',
|
|
@@ -2778,10 +2801,10 @@ class UxErrorFeedbackService {
|
|
|
2778
2801
|
createGlobalErrorManager() {
|
|
2779
2802
|
return new UxErrorManager(this, true);
|
|
2780
2803
|
}
|
|
2781
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2782
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2804
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2805
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' }); }
|
|
2783
2806
|
}
|
|
2784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
|
|
2785
2808
|
type: Injectable,
|
|
2786
2809
|
args: [{
|
|
2787
2810
|
providedIn: 'root',
|
|
@@ -2876,10 +2899,10 @@ class UxDynamicComponentService {
|
|
|
2876
2899
|
injectorTokens.set(DYNAMIC_COMPONENT_CONFIG, data);
|
|
2877
2900
|
return new PortalInjector(this.injector, injectorTokens);
|
|
2878
2901
|
}
|
|
2879
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2880
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2902
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2903
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxDynamicComponentService }); }
|
|
2881
2904
|
}
|
|
2882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
2905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxDynamicComponentService, decorators: [{
|
|
2883
2906
|
type: Injectable
|
|
2884
2907
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
2885
2908
|
|
|
@@ -3590,10 +3613,10 @@ class EuiTimezoneService {
|
|
|
3590
3613
|
getTimezone(tz) {
|
|
3591
3614
|
return EUI_TIMEZONES.find((item) => item.name === tz);
|
|
3592
3615
|
}
|
|
3593
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3594
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3616
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3617
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiTimezoneService }); }
|
|
3595
3618
|
}
|
|
3596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiTimezoneService, decorators: [{
|
|
3597
3620
|
type: Injectable
|
|
3598
3621
|
}] });
|
|
3599
3622
|
|
|
@@ -3712,10 +3735,10 @@ class LocalStorageService extends StorageService {
|
|
|
3712
3735
|
}
|
|
3713
3736
|
}
|
|
3714
3737
|
}
|
|
3715
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3716
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3738
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3739
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocalStorageService }); }
|
|
3717
3740
|
}
|
|
3718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
3719
3742
|
type: Injectable
|
|
3720
3743
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3721
3744
|
type: Optional
|
|
@@ -3783,10 +3806,10 @@ class SessionStorageService extends StorageService {
|
|
|
3783
3806
|
}
|
|
3784
3807
|
}
|
|
3785
3808
|
}
|
|
3786
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3787
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3809
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3810
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: SessionStorageService }); }
|
|
3788
3811
|
}
|
|
3789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
3790
3813
|
type: Injectable
|
|
3791
3814
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3792
3815
|
type: Optional
|
|
@@ -3864,10 +3887,10 @@ class LocalForageService extends AsyncStorageService {
|
|
|
3864
3887
|
}
|
|
3865
3888
|
}));
|
|
3866
3889
|
}
|
|
3867
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3868
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3890
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3891
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocalForageService }); }
|
|
3869
3892
|
}
|
|
3870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
3893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocalForageService, decorators: [{
|
|
3871
3894
|
type: Injectable
|
|
3872
3895
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3873
3896
|
type: Inject,
|
|
@@ -4074,10 +4097,10 @@ class LocaleService extends EuiService {
|
|
|
4074
4097
|
}
|
|
4075
4098
|
});
|
|
4076
4099
|
}
|
|
4077
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4078
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4100
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", 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 }); }
|
|
4101
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocaleService, providedIn: 'root' }); }
|
|
4079
4102
|
}
|
|
4080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocaleService, decorators: [{
|
|
4081
4104
|
type: Injectable,
|
|
4082
4105
|
args: [{
|
|
4083
4106
|
providedIn: 'root',
|
|
@@ -4123,10 +4146,10 @@ class LocaleServiceMock extends LocaleService {
|
|
|
4123
4146
|
this.DEFAULT_LOCALE = state.id || 'en';
|
|
4124
4147
|
return of({ success: true });
|
|
4125
4148
|
}
|
|
4126
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4127
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4149
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocaleServiceMock, deps: [{ token: LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4150
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocaleServiceMock }); }
|
|
4128
4151
|
}
|
|
4129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: LocaleServiceMock, decorators: [{
|
|
4130
4153
|
type: Injectable
|
|
4131
4154
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4132
4155
|
type: Optional
|
|
@@ -4182,10 +4205,10 @@ class UserService extends EuiService {
|
|
|
4182
4205
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4183
4206
|
}
|
|
4184
4207
|
}
|
|
4185
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4186
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4208
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4209
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
4187
4210
|
}
|
|
4188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UserService, decorators: [{
|
|
4189
4212
|
type: Injectable,
|
|
4190
4213
|
args: [{
|
|
4191
4214
|
providedIn: 'root',
|
|
@@ -4213,10 +4236,10 @@ class UserServiceMock extends UserService {
|
|
|
4213
4236
|
getUserId() {
|
|
4214
4237
|
return of('anonymous');
|
|
4215
4238
|
}
|
|
4216
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4217
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4239
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4240
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UserServiceMock }); }
|
|
4218
4241
|
}
|
|
4219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
4220
4243
|
type: Injectable
|
|
4221
4244
|
}], ctorParameters: function () { return []; } });
|
|
4222
4245
|
|
|
@@ -4245,10 +4268,10 @@ class AddLangParamInterceptor {
|
|
|
4245
4268
|
params: req.params.set(langParam, langValue),
|
|
4246
4269
|
}));
|
|
4247
4270
|
}
|
|
4248
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4249
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4271
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4272
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor }); }
|
|
4250
4273
|
}
|
|
4251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
4252
4275
|
type: Injectable
|
|
4253
4276
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4254
4277
|
|
|
@@ -4264,10 +4287,10 @@ class CachePreventionInterceptor {
|
|
|
4264
4287
|
headers: req.headers.set('Cache-Control', 'No-Cache'),
|
|
4265
4288
|
}));
|
|
4266
4289
|
}
|
|
4267
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4268
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4290
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4291
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor }); }
|
|
4269
4292
|
}
|
|
4270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
4271
4294
|
type: Injectable
|
|
4272
4295
|
}] });
|
|
4273
4296
|
|
|
@@ -4277,10 +4300,10 @@ class CorsSecurityInterceptor {
|
|
|
4277
4300
|
withCredentials: true,
|
|
4278
4301
|
}));
|
|
4279
4302
|
}
|
|
4280
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4281
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4303
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4304
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor }); }
|
|
4282
4305
|
}
|
|
4283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
4284
4307
|
type: Injectable
|
|
4285
4308
|
}] });
|
|
4286
4309
|
|
|
@@ -4290,10 +4313,10 @@ class CsrfPreventionInterceptor {
|
|
|
4290
4313
|
headers: request.headers.set('X-Requested-With', 'XMLHttpRequest'),
|
|
4291
4314
|
}));
|
|
4292
4315
|
}
|
|
4293
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4294
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4316
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4317
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor }); }
|
|
4295
4318
|
}
|
|
4296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
4297
4320
|
type: Injectable
|
|
4298
4321
|
}] });
|
|
4299
4322
|
|
|
@@ -4358,10 +4381,10 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4358
4381
|
reauthenticate() {
|
|
4359
4382
|
document.location.reload();
|
|
4360
4383
|
}
|
|
4361
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4362
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4384
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4385
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor }); }
|
|
4363
4386
|
}
|
|
4364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
4365
4388
|
type: Injectable
|
|
4366
4389
|
}] });
|
|
4367
4390
|
|
|
@@ -4380,10 +4403,10 @@ class UxRequestErrorModelInterceptor {
|
|
|
4380
4403
|
return of(err);
|
|
4381
4404
|
}));
|
|
4382
4405
|
}
|
|
4383
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4384
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4406
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4407
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor }); }
|
|
4385
4408
|
}
|
|
4386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
4387
4410
|
type: Injectable
|
|
4388
4411
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4389
4412
|
type: Inject,
|
|
@@ -4532,10 +4555,10 @@ class OpenIdConnectInterceptor {
|
|
|
4532
4555
|
return this.defaultMaximumRequestRetries;
|
|
4533
4556
|
}
|
|
4534
4557
|
}
|
|
4535
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4536
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4558
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4559
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor }); }
|
|
4537
4560
|
}
|
|
4538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
|
|
4539
4562
|
type: Injectable
|
|
4540
4563
|
}], ctorParameters: function () { return []; } });
|
|
4541
4564
|
|
|
@@ -4582,10 +4605,10 @@ class OpenIdConnectService {
|
|
|
4582
4605
|
getUserDetails() {
|
|
4583
4606
|
return this.userDetails;
|
|
4584
4607
|
}
|
|
4585
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4586
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4608
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4609
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' }); }
|
|
4587
4610
|
}
|
|
4588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
4611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: OpenIdConnectService, decorators: [{
|
|
4589
4612
|
type: Injectable,
|
|
4590
4613
|
args: [{
|
|
4591
4614
|
providedIn: 'root',
|