ng-virtual-list 22.12.0 → 22.12.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-virtual-list",
3
- "version": "22.12.0",
3
+ "version": "22.12.2",
4
4
  "author": {
5
5
  "name": "Evgenii Alexandrovich Grebennikov",
6
6
  "email": "djonnyx@gmail.com"
@@ -1151,7 +1151,7 @@ interface IRenderVirtualListCollection extends Array<IRenderVirtualListItem> {
1151
1151
  type TEventHandler = (...args: Array<any>) => void;
1152
1152
  /**
1153
1153
  * Event emitter
1154
- * @link https://github.com/DjonnyX/data-channel-router/blob/main/library/src/utils/event-emitter/event-emitter.ts
1154
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/main/library/src/utils/event-emitter/event-emitter.ts
1155
1155
  * @author Evgenii Alexandrovich Grebennikov
1156
1156
  * @email djonnyx@gmail.com
1157
1157
  */
@@ -1373,6 +1373,7 @@ interface IMetrics<I extends IItem> {
1373
1373
  * @email djonnyx@gmail.com
1374
1374
  */
1375
1375
  interface IRecalculateMetricsOptions<I extends IItem, C extends Array<I>> {
1376
+ alignment: Alignment;
1376
1377
  bounds: ISize;
1377
1378
  collection: C;
1378
1379
  isVertical: boolean;
@@ -2446,6 +2447,7 @@ declare class NgVirtualListComponent implements OnDestroy {
2446
2447
  private getIsVertical;
2447
2448
  private getIsLazy;
2448
2449
  private createDisplayComponentsIfNeed;
2450
+ private updateOffsetsByAllignment;
2449
2451
  private updateRegularRenderer;
2450
2452
  /**
2451
2453
  * Tracking by id
@@ -2531,7 +2533,7 @@ declare class NgVirtualListItemModule {
2531
2533
 
2532
2534
  /**
2533
2535
  * Easing
2534
- * @link https://github.com/DjonnyX/data-channel-router/blob/main/library/src/utils/animator/types/easing.ts
2536
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/main/library/src/utils/animator/types/easing.ts
2535
2537
  * @author Evgenii Alexandrovich Grebennikov
2536
2538
  * @email djonnyx@gmail.com
2537
2539
  */
@@ -2539,7 +2541,7 @@ type Easing = (v: number) => number;
2539
2541
 
2540
2542
  /**
2541
2543
  * IAnimatorUpdateData
2542
- * @link https://github.com/DjonnyX/data-channel-router/blob/main/library/src/utils/animator/interfaces/animator-update-data.ts
2544
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/main/library/src/utils/animator/interfaces/animator-update-data.ts
2543
2545
  * @author Evgenii Alexandrovich Grebennikov
2544
2546
  * @email djonnyx@gmail.com
2545
2547
  */
@@ -2553,7 +2555,7 @@ interface IAnimatorUpdateData {
2553
2555
 
2554
2556
  /**
2555
2557
  * IAnimatorParams
2556
- * @link https://github.com/DjonnyX/data-channel-router/blob/main/library/src/utils/animator/interfaces/animator-params.ts
2558
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/main/library/src/utils/animator/interfaces/animator-params.ts
2557
2559
  * @author Evgenii Alexandrovich Grebennikov
2558
2560
  * @email djonnyx@gmail.com
2559
2561
  */
@@ -2570,7 +2572,7 @@ interface IAnimatorParams {
2570
2572
 
2571
2573
  /**
2572
2574
  * Animator
2573
- * @link https://github.com/DjonnyX/data-channel-router/blob/main/library/src/utils/animator/animator.ts
2575
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/main/library/src/utils/animator/animator.ts
2574
2576
  * @author Evgenii Alexandrovich Grebennikov
2575
2577
  * @email djonnyx@gmail.com
2576
2578
  */