@tanstack/table-core 8.13.0 → 8.13.2
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/lib/features/Visibility.js +3 -2
- package/build/lib/features/Visibility.js.map +1 -1
- package/build/lib/index.esm.js +3 -2
- package/build/lib/index.esm.js.map +1 -1
- package/build/lib/index.mjs +3 -2
- package/build/lib/index.mjs.map +1 -1
- package/build/lib/utils.d.ts +1 -1
- package/build/lib/utils.js.map +1 -1
- package/build/umd/index.development.js +3 -2
- 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 +1 -1
- package/src/features/Visibility.ts +6 -1
- package/src/utils.ts +9 -11
package/build/lib/index.mjs
CHANGED
|
@@ -2483,8 +2483,9 @@ const Visibility = {
|
|
|
2483
2483
|
}
|
|
2484
2484
|
};
|
|
2485
2485
|
column.getIsVisible = () => {
|
|
2486
|
-
var
|
|
2487
|
-
|
|
2486
|
+
var _ref, _table$getState$colum;
|
|
2487
|
+
const childColumns = column.columns;
|
|
2488
|
+
return (_ref = childColumns.length ? childColumns.some(c => c.getIsVisible()) : (_table$getState$colum = table.getState().columnVisibility) == null ? void 0 : _table$getState$colum[column.id]) != null ? _ref : true;
|
|
2488
2489
|
};
|
|
2489
2490
|
column.getCanHide = () => {
|
|
2490
2491
|
var _column$columnDef$ena, _table$options$enable;
|