@1771technologies/lytenyte-pro 1.0.10 → 1.0.11
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.
|
@@ -376,6 +376,11 @@ export function makeLyteNyte(p) {
|
|
|
376
376
|
const yPositions = computed(() => {
|
|
377
377
|
if (!viewport())
|
|
378
378
|
return EMPTY_POSITION_ARRAY;
|
|
379
|
+
// These can change the positions
|
|
380
|
+
sortModel();
|
|
381
|
+
filterModel();
|
|
382
|
+
rowGroupModel();
|
|
383
|
+
columnPivotModel();
|
|
379
384
|
const rowCount = rowDataStore.rowCount.$();
|
|
380
385
|
const innerHeight = viewportHeightInner();
|
|
381
386
|
const detailExpansions = rowDetailExpansions();
|
|
@@ -386,12 +391,15 @@ export function makeLyteNyte(p) {
|
|
|
386
391
|
.filter((x) => x != null)
|
|
387
392
|
.map((x) => [x, api.rowByIndex(x)]));
|
|
388
393
|
const headerHeight = headerHeightTotal();
|
|
389
|
-
|
|
394
|
+
const t = performance.now();
|
|
395
|
+
const x = computeRowPositions(rowCount, rowHeight(), rowAutoHeightGuess(), internal_rowAutoHeightCache(), (i) => {
|
|
390
396
|
const row = rows[i];
|
|
391
397
|
if (!row || !api.rowDetailIsExpanded(row))
|
|
392
398
|
return 0;
|
|
393
399
|
return api.rowDetailRenderedHeight(row);
|
|
394
400
|
}, innerHeight - headerHeight);
|
|
401
|
+
console.log(performance.now() - t);
|
|
402
|
+
return x;
|
|
395
403
|
});
|
|
396
404
|
const heightTotal = computed(() => yPositions().at(-1));
|
|
397
405
|
const hasSpans = computed(() => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1771technologies/lytenyte-pro",
|
|
3
3
|
"description": "Blazingly fast headless React data grid with 100s of features.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "COMMERCIAL",
|
|
7
7
|
"files": [
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@1771technologies/atom": "^1.0.2",
|
|
52
|
-
"@1771technologies/lytenyte-
|
|
53
|
-
"@1771technologies/lytenyte-
|
|
54
|
-
"@1771technologies/lytenyte-
|
|
55
|
-
"@1771technologies/lytenyte-
|
|
56
|
-
"@1771technologies/lytenyte-
|
|
57
|
-
"@1771technologies/lytenyte-
|
|
52
|
+
"@1771technologies/lytenyte-core": "1.0.11",
|
|
53
|
+
"@1771technologies/lytenyte-shared": "1.0.11",
|
|
54
|
+
"@1771technologies/lytenyte-dom-utils": "1.0.11",
|
|
55
|
+
"@1771technologies/lytenyte-js-utils": "1.0.11",
|
|
56
|
+
"@1771technologies/lytenyte-dragon": "1.0.11",
|
|
57
|
+
"@1771technologies/lytenyte-react-hooks": "1.0.11"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"react": "^18.0.0 || ^19.0.0",
|