@scbt-ecom/ui 0.33.0 → 0.33.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/dist/ui.js CHANGED
@@ -13917,17 +13917,22 @@ class ZN {
13917
13917
  debug: () => this.options.debug
13918
13918
  }
13919
13919
  ), this.getIndexes = Ri(
13920
- () => [
13921
- this.options.rangeExtractor,
13922
- this.calculateRange(),
13923
- this.options.overscan,
13924
- this.options.count
13925
- ],
13926
- (n, r, i, o) => r === null ? [] : n({
13927
- startIndex: r.startIndex,
13928
- endIndex: r.endIndex,
13929
- overscan: i,
13930
- count: o
13920
+ () => {
13921
+ let n = null, r = null;
13922
+ const i = this.calculateRange();
13923
+ return i && (n = i.startIndex, r = i.endIndex), [
13924
+ this.options.rangeExtractor,
13925
+ this.options.overscan,
13926
+ this.options.count,
13927
+ n,
13928
+ r
13929
+ ];
13930
+ },
13931
+ (n, r, i, o, s) => o === null || s === null ? [] : n({
13932
+ startIndex: o,
13933
+ endIndex: s,
13934
+ overscan: r,
13935
+ count: i
13931
13936
  }),
13932
13937
  {
13933
13938
  key: process.env.NODE_ENV !== "production" && "getIndexes",