ng-virtual-list 16.4.3 → 16.4.4

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.
@@ -2,6 +2,7 @@ import { ComponentRef } from "@angular/core";
2
2
  import { ScrollDirection } from "../models";
3
3
  import { Id, ISize } from "../types";
4
4
  import { BaseVirtualListItemComponent } from "../models/base-virtual-list-item-component";
5
+ import { CMap } from "./cacheMap";
5
6
  type TrackingPropertyId = string | number;
6
7
  export interface IVirtualListItemComponent<I = any> {
7
8
  getBounds(): ISize;
@@ -33,13 +34,8 @@ export declare class Tracker<C extends BaseVirtualListItemComponent = any> {
33
34
  /**
34
35
  * Dictionary displayItems propertyNameId by items propertyNameId
35
36
  */
36
- protected _trackMap: {
37
- [id: TrackingPropertyId]: number;
38
- } | null;
39
- get trackMap(): {
40
- [id: string]: number;
41
- [id: number]: number;
42
- } | null;
37
+ protected _trackMap: CMap<TrackingPropertyId, number>;
38
+ get trackMap(): CMap<TrackingPropertyId, number>;
43
39
  protected _trackingPropertyName: string;
44
40
  set trackingPropertyName(v: string);
45
41
  constructor(trackingPropertyName: string);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-virtual-list",
3
- "version": "16.4.3",
3
+ "version": "16.4.4",
4
4
  "author": {
5
5
  "name": "Evgenii Grebennikov",
6
6
  "email": "djonnyx@gmail.com"