ng-virtual-list 16.0.2 → 16.0.3
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/README.md +5 -5
- package/esm2022/lib/components/ng-virtual-list-item.component.mjs +2 -2
- package/esm2022/lib/enums/direction.mjs +1 -1
- package/esm2022/lib/enums/directions.mjs +2 -2
- package/esm2022/lib/models/collection.model.mjs +1 -1
- package/esm2022/lib/models/item.model.mjs +1 -1
- package/esm2022/lib/models/render-collection.model.mjs +1 -1
- package/esm2022/lib/models/render-item-config.model.mjs +1 -1
- package/esm2022/lib/models/render-item.model.mjs +1 -1
- package/esm2022/lib/models/sticky-map.model.mjs +1 -1
- package/esm2022/lib/ng-virtual-list.component.mjs +2 -2
- package/esm2022/lib/types/id.mjs +1 -1
- package/esm2022/lib/types/rect.mjs +1 -1
- package/esm2022/lib/types/size.mjs +1 -1
- package/esm2022/lib/utils/cacheMap.mjs +2 -2
- package/esm2022/lib/utils/debounce.mjs +2 -2
- package/esm2022/lib/utils/eventEmitter.mjs +2 -2
- package/esm2022/lib/utils/isDirection.mjs +2 -2
- package/esm2022/lib/utils/toggleClassName.mjs +2 -2
- package/esm2022/lib/utils/trackBox.mjs +10 -6
- package/esm2022/lib/utils/tracker.mjs +2 -2
- package/fesm2022/ng-virtual-list.mjs +18 -14
- package/fesm2022/ng-virtual-list.mjs.map +1 -1
- package/lib/components/ng-virtual-list-item.component.d.ts +1 -1
- package/lib/enums/direction.d.ts +1 -1
- package/lib/enums/directions.d.ts +1 -1
- package/lib/models/collection.model.d.ts +1 -1
- package/lib/models/item.model.d.ts +1 -1
- package/lib/models/render-collection.model.d.ts +1 -1
- package/lib/models/render-item-config.model.d.ts +1 -1
- package/lib/models/render-item.model.d.ts +1 -1
- package/lib/models/sticky-map.model.d.ts +1 -1
- package/lib/ng-virtual-list.component.d.ts +1 -1
- package/lib/types/id.d.ts +1 -1
- package/lib/types/rect.d.ts +1 -1
- package/lib/types/size.d.ts +1 -1
- package/lib/utils/cacheMap.d.ts +1 -1
- package/lib/utils/debounce.d.ts +1 -1
- package/lib/utils/eventEmitter.d.ts +1 -1
- package/lib/utils/isDirection.d.ts +1 -1
- package/lib/utils/toggleClassName.d.ts +1 -1
- package/lib/utils/trackBox.d.ts +1 -1
- package/lib/utils/tracker.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IRenderVirtualListItem } from "./render-item.model";
|
|
2
2
|
/**
|
|
3
3
|
* Virtual list screen elements collection interface
|
|
4
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
4
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/models/render-collection.model.ts
|
|
5
5
|
* @author Evgenii Grebennikov
|
|
6
6
|
* @email djonnyx@gmail.com
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Object with configuration parameters for IRenderVirtualListItem
|
|
3
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
3
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/models/render-item-config.model.ts
|
|
4
4
|
* @author Evgenii Grebennikov
|
|
5
5
|
* @email djonnyx@gmail.com
|
|
6
6
|
*
|
|
@@ -4,7 +4,7 @@ import { IVirtualListItem } from "./item.model";
|
|
|
4
4
|
import { IRenderVirtualListItemConfig } from "./render-item-config.model";
|
|
5
5
|
/**
|
|
6
6
|
* List screen element model
|
|
7
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
7
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/models/render-item.model.ts
|
|
8
8
|
* @author Evgenii Grebennikov
|
|
9
9
|
* @email djonnyx@gmail.com
|
|
10
10
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Dictionary zIndex by id of the list element. If the value is not set or equal to 0, then a simple element is displayed, if the value is greater than 0, then the sticky position mode is enabled for the element.
|
|
3
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
3
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/models/sticky-map.model.ts
|
|
4
4
|
* @author Evgenii Grebennikov
|
|
5
5
|
* @email djonnyx@gmail.com
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* Virtual list component.
|
|
10
10
|
* Maximum performance for extremely large lists.
|
|
11
11
|
* It is based on algorithms for virtualization of screen objects.
|
|
12
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
12
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/ng-virtual-list.component.ts
|
|
13
13
|
* @author Evgenii Grebennikov
|
|
14
14
|
* @email djonnyx@gmail.com
|
|
15
15
|
*/
|
package/lib/types/id.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Identifier type
|
|
3
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
3
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/types/id.ts
|
|
4
4
|
* @author Evgenii Grebennikov
|
|
5
5
|
* @email djonnyx@gmail.com
|
|
6
6
|
*/
|
package/lib/types/rect.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ISize } from "./size";
|
|
2
2
|
/**
|
|
3
3
|
* Rectangular area interface
|
|
4
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
4
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/types/rect.ts
|
|
5
5
|
* @author Evgenii Grebennikov
|
|
6
6
|
* @email djonnyx@gmail.com
|
|
7
7
|
*/
|
package/lib/types/size.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Area area Interface
|
|
3
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
3
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/types/size.ts
|
|
4
4
|
* @author Evgenii Grebennikov
|
|
5
5
|
* @email djonnyx@gmail.com
|
|
6
6
|
*/
|
package/lib/utils/cacheMap.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ type CacheMapListeners = OnChangeEventListener;
|
|
|
11
11
|
/**
|
|
12
12
|
* Cache map.
|
|
13
13
|
* Emits a change event on each mutation.
|
|
14
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
14
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/utils/cacheMap.ts
|
|
15
15
|
* @author Evgenii Grebennikov
|
|
16
16
|
* @email djonnyx@gmail.com
|
|
17
17
|
*/
|
package/lib/utils/debounce.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Simple debounce function.
|
|
3
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
3
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/utils/debounce.ts
|
|
4
4
|
* @author Evgenii Grebennikov
|
|
5
5
|
* @email djonnyx@gmail.com
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type TEventHandler = (...args: Array<any>) => void;
|
|
2
2
|
/**
|
|
3
3
|
* Simple event emitter
|
|
4
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
4
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/utils/eventEmitter.ts
|
|
5
5
|
* @author Evgenii Grebennikov
|
|
6
6
|
* @email djonnyx@gmail.com
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Direction } from "../enums";
|
|
2
2
|
/**
|
|
3
3
|
* Determines the axis membership of a virtual list
|
|
4
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
4
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/utils/isDirection.ts
|
|
5
5
|
* @author Evgenii Grebennikov
|
|
6
6
|
* @email djonnyx@gmail.com
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Switch css classes
|
|
3
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
3
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/utils/toggleClassName.ts
|
|
4
4
|
* @author Evgenii Grebennikov
|
|
5
5
|
* @email djonnyx@gmail.com
|
|
6
6
|
*/
|
package/lib/utils/trackBox.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ type OnChangeEventListener = (version: number) => void;
|
|
|
60
60
|
type CacheMapListeners = OnChangeEventListener;
|
|
61
61
|
/**
|
|
62
62
|
* An object that performs tracking, calculations and caching.
|
|
63
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
63
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/utils/trackBox.ts
|
|
64
64
|
* @author Evgenii Grebennikov
|
|
65
65
|
* @email djonnyx@gmail.com
|
|
66
66
|
*/
|
package/lib/utils/tracker.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentRef } from "@angular/core";
|
|
2
2
|
/**
|
|
3
3
|
* Tracks display items by property
|
|
4
|
-
* @link https://github.com/DjonnyX/ng-virtual-list/blob/
|
|
4
|
+
* @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/utils/tracker.ts
|
|
5
5
|
* @author Evgenii Grebennikov
|
|
6
6
|
* @email djonnyx@gmail.com
|
|
7
7
|
*/
|