@dereekb/dbx-core 13.17.0 → 13.18.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Injectable, makeEnvironmentProviders, DestroyRef, input, Directive, computed, signal, forwardRef, effect, TemplateRef, ViewContainerRef, Injector, runInInjectionContext, NgModule, output, model,
|
|
2
|
+
import { InjectionToken, inject, Injectable, makeEnvironmentProviders, DestroyRef, input, Directive, computed, signal, forwardRef, effect, TemplateRef, ViewContainerRef, Injector, runInInjectionContext, NgModule, output, model, Input, Pipe, LOCALE_ID, viewChild, ChangeDetectionStrategy, Component, Inject, Optional } from '@angular/core';
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import { defer, switchMap, first, distinctUntilChanged, filter, EMPTY, debounce, interval, throttle, exhaustMap, mergeMap, map, shareReplay, combineLatest, startWith, of, delay, BehaviorSubject, tap, combineLatestWith, catchError, withLatestFrom, firstValueFrom, takeUntil, Subject, Observable } from 'rxjs';
|
|
5
5
|
import { AssetLoader, SubscriptionObject, LockSet, loadingStateContext, listLoadingStateContext, filterMaybe, LoadingStateType, beginLoading, idleLoadingState, errorResult, successResult, scanCount, workFactory, asObservable, combineLatestFromMapValuesObsFn, emitDelayObs, makeIsModifiedFunctionObservable, returnIfIs, timeoutStartWith, onFalseToTrue, onTrueToFalse, setContainsAllValuesFrom, setContainsNoValueFrom, maybeValueFromObservableOrValue, distinctUntilKeysChange, maybeValueFromObservableOrValueGetter, switchMapToDefault, asObservableFromGetter, FilterSource, FilterSourceConnector, FilterSourceInstance, FilterMap, skipAllInitialMaybe, switchMapObject } from '@dereekb/rxjs';
|
|
@@ -6048,8 +6048,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
6048
6048
|
* Extends {@link AbstractTransitionDirective} by subscribing to successful transitions during construction
|
|
6049
6049
|
* and invoking the abstract `updateForSuccessfulTransition()` method for each one.
|
|
6050
6050
|
*
|
|
6051
|
-
* Also provides a `zoneUpdateForSuccessfulTransition()` method that wraps the update call in `NgZone.run()`.
|
|
6052
|
-
*
|
|
6053
6051
|
* @example
|
|
6054
6052
|
* ```ts
|
|
6055
6053
|
* @Directive({ selector: '[myRouteWatcher]' })
|
|
@@ -6063,19 +6061,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
6063
6061
|
* @see {@link AbstractTransitionDirective}
|
|
6064
6062
|
*/
|
|
6065
6063
|
class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
6066
|
-
ngZone = inject(NgZone);
|
|
6067
6064
|
constructor() {
|
|
6068
6065
|
super();
|
|
6069
6066
|
cleanSubscription(this.transitionSuccess$.subscribe(() => {
|
|
6070
6067
|
this.updateForSuccessfulTransition();
|
|
6071
6068
|
}));
|
|
6072
6069
|
}
|
|
6073
|
-
// MARK: Action
|
|
6074
|
-
zoneUpdateForSuccessfulTransition() {
|
|
6075
|
-
// TODO: NgZone Deprecation
|
|
6076
|
-
// remove this function and replace, if necessary or remove entirely with angular zoneless implementation details.
|
|
6077
|
-
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
6078
|
-
}
|
|
6079
6070
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6080
6071
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: AbstractTransitionWatcherDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
6081
6072
|
}
|