@tanstack/svelte-table 8.5.9 → 8.5.12
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 +4 -3
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +4 -3
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +17 -17
- package/build/stats-react.json +48 -48
- package/build/umd/index.development.js +4 -3
- 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
|
@@ -3064,13 +3064,16 @@ function createCell(table, row, column, columnId) {
|
|
|
3064
3064
|
column,
|
|
3065
3065
|
getValue: () => row.getValue(columnId),
|
|
3066
3066
|
renderValue: getRenderValue,
|
|
3067
|
-
getContext: () => ({
|
|
3067
|
+
getContext: memo(() => [table, column, row, cell], (table, column, row, cell) => ({
|
|
3068
3068
|
table,
|
|
3069
3069
|
column,
|
|
3070
3070
|
row,
|
|
3071
3071
|
cell: cell,
|
|
3072
3072
|
getValue: cell.getValue,
|
|
3073
3073
|
renderValue: cell.renderValue
|
|
3074
|
+
}), {
|
|
3075
|
+
key: process.env.NODE_ENV === 'development' && 'cell.getContext',
|
|
3076
|
+
debug: () => table.options.debugAll
|
|
3074
3077
|
})
|
|
3075
3078
|
};
|
|
3076
3079
|
|
|
@@ -3802,7 +3805,6 @@ function getExpandedRowModel() {
|
|
|
3802
3805
|
|
|
3803
3806
|
if (!paginateExpandedRows) {
|
|
3804
3807
|
// Only expand rows at this point if they are being paginated
|
|
3805
|
-
console.log(rowModel.rows);
|
|
3806
3808
|
return rowModel;
|
|
3807
3809
|
}
|
|
3808
3810
|
|
|
@@ -3871,7 +3873,6 @@ function getPaginationRowModel(opts) {
|
|
|
3871
3873
|
};
|
|
3872
3874
|
}
|
|
3873
3875
|
|
|
3874
|
-
console.log(paginatedRowModel.rows);
|
|
3875
3876
|
paginatedRowModel.flatRows = [];
|
|
3876
3877
|
|
|
3877
3878
|
const handleRow = row => {
|