@dereekb/dbx-core 9.3.3 → 9.4.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.
|
@@ -15,7 +15,6 @@ import { createAction, props, createReducer, on, combineReducers, createFeatureS
|
|
|
15
15
|
import * as i1$1 from '@angular/router';
|
|
16
16
|
import { NavigationStart, NavigationEnd } from '@angular/router';
|
|
17
17
|
import { isArray } from 'class-validator';
|
|
18
|
-
import { map as map$1 } from 'rxjs/operators';
|
|
19
18
|
import * as i1$2 from '@uirouter/core';
|
|
20
19
|
import { addMinutes, isValid, isPast, formatDistance, formatDistanceToNow, startOfDay, isSameDay } from 'date-fns';
|
|
21
20
|
import { toJsDate, formatToTimeString, unixTimeNumberForNow, timeHasExpired } from '@dereekb/date';
|
|
@@ -2231,7 +2230,7 @@ class DbxAngularRouterService {
|
|
|
2231
2230
|
this.router = router;
|
|
2232
2231
|
this.activatedRoute = activatedRoute;
|
|
2233
2232
|
this.params$ = this.activatedRoute.params;
|
|
2234
|
-
this.transitions$ = this.router.events.pipe(map
|
|
2233
|
+
this.transitions$ = this.router.events.pipe(map((x) => {
|
|
2235
2234
|
let event;
|
|
2236
2235
|
if (x instanceof NavigationStart) {
|
|
2237
2236
|
event = {
|
|
@@ -2265,7 +2264,7 @@ class DbxAngularRouterService {
|
|
|
2265
2264
|
});
|
|
2266
2265
|
}
|
|
2267
2266
|
updateParams(inputParams) {
|
|
2268
|
-
const segueUpdate = combineLatest([this.activatedRoute.params, asObservable(inputParams)]).pipe(map
|
|
2267
|
+
const segueUpdate = combineLatest([this.activatedRoute.params, asObservable(inputParams)]).pipe(map(([currentParams, params]) => {
|
|
2269
2268
|
const refParams = mergeObjects([currentParams, params], KeyValueTypleValueFilter.UNDEFINED);
|
|
2270
2269
|
const segueRef = {
|
|
2271
2270
|
ref: this.activatedRoute.pathFromRoot,
|