@eui/core 13.0.0-rc.25 → 13.0.0-rc.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/dependencies.html +3 -3
- package/docs/js/search/search_index.js +2 -2
- package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +1 -2
- package/esm2020/lib/services/queue/api-queue.service.mjs +1 -3
- package/esm2020/lib/services/queue/api-queue.service.mock.mjs +1 -5
- package/esm2020/lib/services/storage/async-storage.service.mock.mjs +1 -5
- package/esm2020/lib/services/store/store.service.mjs +2 -2
- package/fesm2015/eui-core.mjs +1 -12
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +1 -12
- 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/queue/api-queue.service.d.ts.map +1 -1
- package/lib/services/queue/api-queue.service.mock.d.ts.map +1 -1
- package/lib/services/storage/async-storage.service.mock.d.ts.map +1 -1
- package/package.json +11 -1
package/fesm2020/eui-core.mjs
CHANGED
|
@@ -423,7 +423,7 @@ class StoreService {
|
|
|
423
423
|
*/
|
|
424
424
|
select(key) {
|
|
425
425
|
if (!this.store) {
|
|
426
|
-
return throwError(new Error('NGRX Store not configured'));
|
|
426
|
+
return throwError(() => new Error('NGRX Store not configured'));
|
|
427
427
|
}
|
|
428
428
|
return this.store.select(key);
|
|
429
429
|
}
|
|
@@ -2285,7 +2285,6 @@ class ApiQueueService {
|
|
|
2285
2285
|
.pipe(take(1), switchMap((queue) => {
|
|
2286
2286
|
if (!queue) {
|
|
2287
2287
|
this.logService.warn(`Queue item with id "${id}" does not exist`);
|
|
2288
|
-
// tslint:disable-next-line:deprecation
|
|
2289
2288
|
return of(null);
|
|
2290
2289
|
}
|
|
2291
2290
|
return this.buildHttpRequest(id, queue);
|
|
@@ -2304,7 +2303,6 @@ class ApiQueueService {
|
|
|
2304
2303
|
if (!continueOnError) {
|
|
2305
2304
|
throw error;
|
|
2306
2305
|
}
|
|
2307
|
-
// tslint:disable-next-line:deprecation
|
|
2308
2306
|
return of(error);
|
|
2309
2307
|
})))), switchMap((obsQueue) => forkJoin(Array.from(obsQueue))));
|
|
2310
2308
|
}
|
|
@@ -2355,22 +2353,18 @@ class ApiQueueServiceMock extends ApiQueueService {
|
|
|
2355
2353
|
super(null, null, null);
|
|
2356
2354
|
}
|
|
2357
2355
|
getQueue() {
|
|
2358
|
-
// tslint:disable-next-line:deprecation
|
|
2359
2356
|
return of([]);
|
|
2360
2357
|
}
|
|
2361
2358
|
getQueueItem(id) {
|
|
2362
|
-
// tslint:disable-next-line:deprecation
|
|
2363
2359
|
return of(null);
|
|
2364
2360
|
}
|
|
2365
2361
|
removeAllQueueItem() { }
|
|
2366
2362
|
processAllQueueItems() {
|
|
2367
|
-
// tslint:disable-next-line:deprecation
|
|
2368
2363
|
return of({});
|
|
2369
2364
|
}
|
|
2370
2365
|
addQueueItem() { }
|
|
2371
2366
|
removeQueueItem() { }
|
|
2372
2367
|
processQueueItem() {
|
|
2373
|
-
// tslint:disable-next-line:deprecation
|
|
2374
2368
|
return of({});
|
|
2375
2369
|
}
|
|
2376
2370
|
}
|
|
@@ -3692,22 +3686,18 @@ class AsyncStorageService extends StorageService {
|
|
|
3692
3686
|
|
|
3693
3687
|
class AsyncStorageServiceMock extends AsyncStorageService {
|
|
3694
3688
|
ready() {
|
|
3695
|
-
// tslint:disable-next-line:deprecation
|
|
3696
3689
|
return of({});
|
|
3697
3690
|
}
|
|
3698
3691
|
name() {
|
|
3699
3692
|
return null;
|
|
3700
3693
|
}
|
|
3701
3694
|
get() {
|
|
3702
|
-
// tslint:disable-next-line:deprecation
|
|
3703
3695
|
return of({});
|
|
3704
3696
|
}
|
|
3705
3697
|
set() {
|
|
3706
|
-
// tslint:disable-next-line:deprecation
|
|
3707
3698
|
return of({});
|
|
3708
3699
|
}
|
|
3709
3700
|
remove() {
|
|
3710
|
-
// tslint:disable-next-line:deprecation
|
|
3711
3701
|
return of({});
|
|
3712
3702
|
}
|
|
3713
3703
|
setAsync() {
|
|
@@ -4388,7 +4378,6 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4388
4378
|
}
|
|
4389
4379
|
}
|
|
4390
4380
|
reauthenticate(request, response) {
|
|
4391
|
-
// tslint:disable-next-line:deprecation
|
|
4392
4381
|
document.location.reload();
|
|
4393
4382
|
}
|
|
4394
4383
|
}
|