@ninebone/grid 0.0.119 → 0.0.120

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/nine-grid.js CHANGED
@@ -27357,15 +27357,7 @@ class Hd {
27357
27357
  Y(this, yn);
27358
27358
  Y(this, vn);
27359
27359
  Y(this, wn);
27360
- it(this, "getTotalHeight", () => {
27361
- let C = 0;
27362
- const t = f(this, Ne).data.get();
27363
- trace.log(t);
27364
- for (var l = 0; l < t.length; l++)
27365
- for (var c = 0; c < t[l].__ng.height.length; c++)
27366
- trace.log(t[l].__ng.height[c]), C += t[l].__ng.height[c];
27367
- return C;
27368
- });
27360
+ it(this, "getTotalHeight", () => f(this, Ne).data.get().reduce((C, t) => C + t.__ng.height.reduce((l, c) => l + c, 0), 0));
27369
27361
  it(this, "getHeight", (C) => {
27370
27362
  const t = parseInt(C / f(this, Ne).template.length);
27371
27363
  if (t < 0 || t >= f(this, Ne).data.count()) return 32;