@dereekb/dbx-core 13.0.7 → 13.1.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.
|
@@ -8,7 +8,6 @@ import { ComponentStore } from '@ngrx/component-store';
|
|
|
8
8
|
import { Actions, ofType, createEffect, provideEffects } from '@ngrx/effects';
|
|
9
9
|
import { createAction, props, createReducer, on, combineReducers, createFeatureSelector, createSelector, Store, provideState } from '@ngrx/store';
|
|
10
10
|
import { Router, ActivatedRoute, NavigationStart, NavigationEnd } from '@angular/router';
|
|
11
|
-
import { isArray } from 'class-validator';
|
|
12
11
|
import { StateService, TransitionService, UIRouterGlobals } from '@uirouter/core';
|
|
13
12
|
import { formatToDayRangeString, toJsDate, formatDateDistance, formatToTimeString, formatToDayTimeRangeString, formatToTimeRangeString, dateTimezoneUtcNormal, formatDateRangeDistance, getTimezoneAbbreviation } from '@dereekb/date';
|
|
14
13
|
import { isValid, formatDistanceToNow, addMinutes, isPast, formatDistance } from 'date-fns';
|
|
@@ -3451,7 +3450,7 @@ class DbxAngularRouterService {
|
|
|
3451
3450
|
return firstValueFrom(inputObs).then((inputSegueRef) => {
|
|
3452
3451
|
const segueRef = asSegueRef(inputSegueRef);
|
|
3453
3452
|
const ref = segueRef.ref;
|
|
3454
|
-
if (isArray(ref)) {
|
|
3453
|
+
if (Array.isArray(ref)) {
|
|
3455
3454
|
return this.router.navigate(ref, {
|
|
3456
3455
|
...segueRef.refOptions,
|
|
3457
3456
|
queryParams: segueRef.refParams
|