@dereekb/dbx-core 13.10.6 → 13.10.7

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.
@@ -2599,7 +2599,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
2599
2599
  class DbxActionValueDirective {
2600
2600
  valueOrFunction = input('', { ...(ngDevMode ? { debugName: "valueOrFunction" } : /* istanbul ignore next */ {}), alias: 'dbxActionValue' });
2601
2601
  source = inject((DbxActionContextStoreSourceInstance), { host: true });
2602
- _valueOrFunctionOverride = new BehaviorSubject(undefined);
2602
+ _valueOrFunctionOverride = completeOnDestroy(new BehaviorSubject(undefined));
2603
2603
  valueOrFunction$ = combineLatest([this._valueOrFunctionOverride, toObservable(this.valueOrFunction)]).pipe(map(([x, y]) => x ?? y), filterMaybe(), shareReplay(1));
2604
2604
  constructor() {
2605
2605
  cleanSubscriptionWithLockSet({
@@ -7668,12 +7668,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
7668
7668
  */
7669
7669
  class AbstractDbxFilterMapInstanceDirective {
7670
7670
  dbxFilterMap = inject((FilterMap));
7671
- _currentFilterMapKey = new BehaviorSubject(undefined);
7671
+ _currentFilterMapKey = completeOnDestroy(new BehaviorSubject(undefined));
7672
7672
  filterMapKey$ = this._currentFilterMapKey.pipe(maybeValueFromObservableOrValue(), filterMaybe(), distinctUntilChanged());
7673
7673
  instance$ = this.dbxFilterMap.instanceObsForKeyObs(this.filterMapKey$);
7674
- ngOnDestroy() {
7675
- this._currentFilterMapKey.complete();
7676
- }
7677
7674
  setFilterMapKey(filterMapKey) {
7678
7675
  this._currentFilterMapKey.next(filterMapKey);
7679
7676
  }