@eui/core 15.5.0-snapshot-1694071906021 → 15.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/classes/TranslateServiceMock.html +1 -13
- package/docs/dependencies.html +2 -2
- package/docs/injectables/UserService.html +0 -8
- package/docs/injectables/UserServiceMock.html +0 -8
- package/docs/js/menu-wc.js +6 -6
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +1 -1
- package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +3 -3
- package/esm2020/lib/services/locale/locale.service.mjs +2 -1
- package/esm2020/lib/services/queue/api-queue.service.mock.mjs +2 -2
- package/esm2020/lib/services/store/reducers/app.reducers.mjs +2 -1
- package/esm2020/lib/services/store/reducers/meta.reducers.mjs +2 -2
- package/esm2020/lib/services/user/user.service.mjs +1 -1
- package/fesm2015/eui-core.mjs +6 -4
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +6 -4
- package/fesm2020/eui-core.mjs.map +1 -1
- package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts +1 -1
- package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +1 -1
- package/lib/services/locale/locale.service.d.ts.map +1 -1
- package/lib/services/store/reducers/app.reducers.d.ts.map +1 -1
- package/lib/services/user/user.service.d.ts +1 -1
- package/lib/services/user/user.service.d.ts.map +1 -1
- package/package.json +2 -2
package/fesm2020/eui-core.mjs
CHANGED
|
@@ -1861,6 +1861,7 @@ const removeApiQueueItem = (state, action) => {
|
|
|
1861
1861
|
}, {});
|
|
1862
1862
|
return Object.assign({}, state, { apiQueue });
|
|
1863
1863
|
};
|
|
1864
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1864
1865
|
const emptyApiQueue = (state, action) =>
|
|
1865
1866
|
// remove all items in the Api Queue
|
|
1866
1867
|
Object.assign({}, state, { apiQueue: {} });
|
|
@@ -2026,7 +2027,7 @@ const loadState = (storage = localStorage) => {
|
|
|
2026
2027
|
return undefined;
|
|
2027
2028
|
}
|
|
2028
2029
|
};
|
|
2029
|
-
const cb = (reducer, storage) =>
|
|
2030
|
+
const cb = (reducer, storage) => (state, action) => {
|
|
2030
2031
|
if (action.type === CoreAppActionTypes.INIT_STORE) {
|
|
2031
2032
|
// This action must be dispatched from an app initializer
|
|
2032
2033
|
// We load the state from a storage and compare the version and userId with the provided ones.
|
|
@@ -2447,7 +2448,7 @@ class ApiQueueServiceMock extends ApiQueueService {
|
|
|
2447
2448
|
return of([]);
|
|
2448
2449
|
}
|
|
2449
2450
|
getQueueItem(id) {
|
|
2450
|
-
return of(
|
|
2451
|
+
return of({ uri: id, method: 'GET' });
|
|
2451
2452
|
}
|
|
2452
2453
|
removeAllQueueItem() { }
|
|
2453
2454
|
processAllQueueItems() {
|
|
@@ -4099,6 +4100,7 @@ class LocaleService extends EuiService {
|
|
|
4099
4100
|
*
|
|
4100
4101
|
* @param locale array of locale to load
|
|
4101
4102
|
*/
|
|
4103
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4102
4104
|
loadLocale(locale) {
|
|
4103
4105
|
// locale = Array.isArray(locale) ? locale : [locale];
|
|
4104
4106
|
// const localeImports: Observable<{ data: any, localeId: string, extraData: any }>[]
|
|
@@ -4435,7 +4437,7 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4435
4437
|
checkRequestSuccessForEULoginSessionTimeout(request, event) {
|
|
4436
4438
|
if (event instanceof HttpResponse) {
|
|
4437
4439
|
if (this.isSsoResponse(event.body)) {
|
|
4438
|
-
this.reauthenticate(
|
|
4440
|
+
this.reauthenticate();
|
|
4439
4441
|
}
|
|
4440
4442
|
}
|
|
4441
4443
|
}
|
|
@@ -4478,7 +4480,7 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4478
4480
|
return false;
|
|
4479
4481
|
}
|
|
4480
4482
|
}
|
|
4481
|
-
reauthenticate(
|
|
4483
|
+
reauthenticate() {
|
|
4482
4484
|
document.location.reload();
|
|
4483
4485
|
}
|
|
4484
4486
|
}
|