vscroll 1.8.2 → 1.8.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * vscroll (https://github.com/dhilt/vscroll) UMD
3
- * Version: 1.8.2 (2026-02-08T22:44:37.049Z)
3
+ * Version: 1.8.3 (2026-02-15T20:53:43.691Z)
4
4
  * Author: Denis Hilt
5
5
  * License: MIT
6
6
  */
@@ -99,7 +99,7 @@
99
99
 
100
100
  /**
101
101
  * vscroll (https://github.com/dhilt/vscroll) FESM5
102
- * Version: 1.8.2 (2026-02-08T22:44:31.613Z)
102
+ * Version: 1.8.3 (2026-02-15T20:53:37.540Z)
103
103
  * Author: Denis Hilt
104
104
  * License: MIT
105
105
  */
@@ -475,7 +475,7 @@
475
475
 
476
476
  var core = {
477
477
  name: 'vscroll',
478
- version: '1.8.2'
478
+ version: '1.8.3'
479
479
  };
480
480
 
481
481
  var getBox = function (id) {
@@ -1788,6 +1788,7 @@
1788
1788
  var Item = /** @class */ (function () {
1789
1789
  function Item($index, data, routines) {
1790
1790
  this.container = {
1791
+ uid: Item.nextUid++,
1791
1792
  $index: $index,
1792
1793
  data: data
1793
1794
  };
@@ -1797,6 +1798,16 @@
1797
1798
  this.toRemove = false;
1798
1799
  this.toInsert = false;
1799
1800
  }
1801
+ Object.defineProperty(Item.prototype, "uid", {
1802
+ get: function () {
1803
+ return this.container.uid;
1804
+ },
1805
+ set: function (value) {
1806
+ this.container.uid = value;
1807
+ },
1808
+ enumerable: false,
1809
+ configurable: true
1810
+ });
1800
1811
  Object.defineProperty(Item.prototype, "$index", {
1801
1812
  get: function () {
1802
1813
  return this.container.$index;
@@ -1858,6 +1869,7 @@
1858
1869
  Item.prototype.get = function () {
1859
1870
  return this.container;
1860
1871
  };
1872
+ Item.nextUid = 1;
1861
1873
  return Item;
1862
1874
  }());
1863
1875