@tanstack/svelte-table 8.0.0-alpha.85 → 8.0.0-alpha.86
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/table-core/build/esm/index.js +3 -9
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +3 -9
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +38 -38
- package/build/umd/index.development.js +3 -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
|
@@ -828,7 +828,6 @@ const Expanding = {
|
|
|
828
828
|
return {
|
|
829
829
|
onExpandedChange: makeStateUpdater('expanded', instance),
|
|
830
830
|
autoResetExpanded: true,
|
|
831
|
-
expandSubRows: true,
|
|
832
831
|
paginateExpandedRows: true
|
|
833
832
|
};
|
|
834
833
|
},
|
|
@@ -2670,11 +2669,6 @@ const Visibility = {
|
|
|
2670
2669
|
onColumnVisibilityChange: makeStateUpdater('columnVisibility', instance)
|
|
2671
2670
|
};
|
|
2672
2671
|
},
|
|
2673
|
-
getDefaultColumnDef: () => {
|
|
2674
|
-
return {
|
|
2675
|
-
defaultIsVisible: true
|
|
2676
|
-
};
|
|
2677
|
-
},
|
|
2678
2672
|
createColumn: (column, instance) => {
|
|
2679
2673
|
return {
|
|
2680
2674
|
toggleVisibility: value => {
|
|
@@ -3750,7 +3744,7 @@ function getExpandedRowModel() {
|
|
|
3750
3744
|
return rowModel;
|
|
3751
3745
|
}
|
|
3752
3746
|
|
|
3753
|
-
return expandRows(rowModel
|
|
3747
|
+
return expandRows(rowModel);
|
|
3754
3748
|
}, {
|
|
3755
3749
|
key: process.env.NODE_ENV === 'development' && 'getExpandedRowModel',
|
|
3756
3750
|
debug: () => {
|
|
@@ -3768,7 +3762,7 @@ function expandRows(rowModel, instance) {
|
|
|
3768
3762
|
|
|
3769
3763
|
expandedRows.push(row);
|
|
3770
3764
|
|
|
3771
|
-
if (
|
|
3765
|
+
if ((_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
|
|
3772
3766
|
row.subRows.forEach(handleRow);
|
|
3773
3767
|
}
|
|
3774
3768
|
};
|
|
@@ -3805,7 +3799,7 @@ function getPaginationRowModel(opts) {
|
|
|
3805
3799
|
rows,
|
|
3806
3800
|
flatRows,
|
|
3807
3801
|
rowsById
|
|
3808
|
-
}
|
|
3802
|
+
});
|
|
3809
3803
|
}
|
|
3810
3804
|
|
|
3811
3805
|
return {
|