@tanstack/svelte-table 8.5.22 → 8.5.24
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/build/cjs/svelte-table/src/placeholder.svelte.js +1 -1
- package/build/cjs/table-core/build/esm/index.js +19 -8
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +20 -9
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +47 -47
- package/build/umd/index.development.js +20 -9
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -2855,19 +2855,30 @@ function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
|
2855
2855
|
for (let i = 0; i < rowsToFilter.length; i++) {
|
|
2856
2856
|
var _row$subRows;
|
|
2857
2857
|
let row = rowsToFilter[i];
|
|
2858
|
+
const newRow = createRow(table, row.id, row.original, row.index, row.depth);
|
|
2859
|
+
newRow.columnFilters = row.columnFilters;
|
|
2858
2860
|
if ((_row$subRows = row.subRows) != null && _row$subRows.length) {
|
|
2859
|
-
const newRow = createRow(table, row.id, row.original, row.index, row.depth);
|
|
2860
|
-
newRow.columnFilters = row.columnFilters;
|
|
2861
2861
|
newRow.subRows = recurseFilterRows(row.subRows);
|
|
2862
|
-
|
|
2862
|
+
row = newRow;
|
|
2863
|
+
if (filterRow(row) && !newRow.subRows.length) {
|
|
2864
|
+
rows.push(row);
|
|
2865
|
+
newFilteredRowsById[row.id] = row;
|
|
2866
|
+
newFilteredRowsById[i] = row;
|
|
2867
|
+
continue;
|
|
2868
|
+
}
|
|
2869
|
+
if (filterRow(row) || newRow.subRows.length) {
|
|
2870
|
+
rows.push(row);
|
|
2871
|
+
newFilteredRowsById[row.id] = row;
|
|
2872
|
+
newFilteredRowsById[i] = row;
|
|
2863
2873
|
continue;
|
|
2864
2874
|
}
|
|
2875
|
+
} else {
|
|
2865
2876
|
row = newRow;
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2877
|
+
if (filterRow(row)) {
|
|
2878
|
+
rows.push(row);
|
|
2879
|
+
newFilteredRowsById[row.id] = row;
|
|
2880
|
+
newFilteredRowsById[i] = row;
|
|
2881
|
+
}
|
|
2871
2882
|
}
|
|
2872
2883
|
}
|
|
2873
2884
|
return rows;
|
|
@@ -3378,7 +3389,7 @@ function getPaginationRowModel(opts) {
|
|
|
3378
3389
|
});
|
|
3379
3390
|
}
|
|
3380
3391
|
|
|
3381
|
-
/* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.
|
|
3392
|
+
/* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.53.1 */
|
|
3382
3393
|
|
|
3383
3394
|
function create_fragment$1(ctx) {
|
|
3384
3395
|
let t;
|