ng-virtual-list 20.10.18 → 20.10.19

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.
@@ -7,7 +7,7 @@ import * as i1 from '@angular/common';
7
7
  import { CommonModule } from '@angular/common';
8
8
  import { switchMap, takeUntil, filter, tap as tap$1 } from 'rxjs/operators';
9
9
  import * as i4 from '@angular/cdk/scrolling';
10
- import { CdkScrollable } from '@angular/cdk/scrolling';
10
+ import { CdkScrollable, CdkScrollableModule } from '@angular/cdk/scrolling';
11
11
 
12
12
  /**
13
13
  * Action modes for collection elements.
@@ -4056,7 +4056,8 @@ class NgScrollerComponent extends NgScrollView {
4056
4056
  constructor() {
4057
4057
  super();
4058
4058
  this._service.$langTextDir.pipe(tap(v => {
4059
- this.langTextDir.set(v);
4059
+ takeUntilDestroyed(this._destroyRef),
4060
+ this.langTextDir.set(v);
4060
4061
  })).subscribe();
4061
4062
  const $prepare = toObservable(this.preparedSignal);
4062
4063
  $prepare.pipe(takeUntilDestroyed(), filter$1(v => !!v), tap(() => {
@@ -6934,15 +6935,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
6934
6935
 
6935
6936
  class NgScrollerModule {
6936
6937
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: NgScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6937
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: NgScrollerModule, declarations: [NgScrollerComponent], imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollable], exports: [NgScrollerComponent] });
6938
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: NgScrollerModule, imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule] });
6938
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: NgScrollerModule, declarations: [NgScrollerComponent], imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollableModule], exports: [NgScrollerComponent] });
6939
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: NgScrollerModule, imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollableModule] });
6939
6940
  }
6940
6941
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: NgScrollerModule, decorators: [{
6941
6942
  type: NgModule,
6942
6943
  args: [{
6943
6944
  declarations: [NgScrollerComponent],
6944
6945
  exports: [NgScrollerComponent],
6945
- imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollable],
6946
+ imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollableModule],
6946
6947
  schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
6947
6948
  }]
6948
6949
  }] });