@gridsheet/preact-core 3.0.0-rc.5 → 3.0.0-rc.6

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/index.js CHANGED
@@ -5553,13 +5553,13 @@ class Sheet {
5553
5553
  for (let col = 1; col <= numCols; col++) {
5554
5554
  const id = (_a = this.idMatrix[0]) == null ? void 0 : _a[col];
5555
5555
  if (id != null) {
5556
- snapshot[id] = { filter: (_b = this.registry.data[id]) == null ? void 0 : _b.filter };
5556
+ snapshot[id] = { filter: ((_b = this.registry.data[id]) == null ? void 0 : _b.filter) ?? null };
5557
5557
  }
5558
5558
  }
5559
5559
  for (let y = 1; y <= numRows; y++) {
5560
5560
  const id = (_c = this.idMatrix[y]) == null ? void 0 : _c[0];
5561
5561
  if (id != null) {
5562
- snapshot[id] = { filtered: (_d = this.registry.data[id]) == null ? void 0 : _d.filtered };
5562
+ snapshot[id] = { filtered: ((_d = this.registry.data[id]) == null ? void 0 : _d.filtered) ?? false };
5563
5563
  }
5564
5564
  }
5565
5565
  return snapshot;