@tanstack/table-core
Advanced tools
Comparing version 8.0.0-alpha.20 to 8.0.0-alpha.21
@@ -158,2 +158,6 @@ /** | ||
}, | ||
getIsSomeRowsExpanded: function getIsSomeRowsExpanded() { | ||
var expanded = instance.getState().expanded; | ||
return expanded === true || Object.values(expanded).some(Boolean); | ||
}, | ||
getIsAllRowsExpanded: function getIsAllRowsExpanded() { | ||
@@ -160,0 +164,0 @@ var expanded = instance.getState().expanded; // If expanded is true, save some cycles and return true |
@@ -10,3 +10,3 @@ { | ||
{ | ||
"uid": "eaf8-52", | ||
"uid": "f273-52", | ||
"name": "\u0000rollupPluginBabelHelpers.js" | ||
@@ -18,3 +18,3 @@ }, | ||
{ | ||
"uid": "eaf8-54", | ||
"uid": "f273-54", | ||
"name": "utils.tsx" | ||
@@ -26,43 +26,43 @@ }, | ||
{ | ||
"uid": "eaf8-56", | ||
"uid": "f273-56", | ||
"name": "Visibility.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-60", | ||
"uid": "f273-60", | ||
"name": "Grouping.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-62", | ||
"uid": "f273-62", | ||
"name": "Ordering.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-64", | ||
"uid": "f273-64", | ||
"name": "Pinning.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-66", | ||
"uid": "f273-66", | ||
"name": "ColumnSizing.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-68", | ||
"uid": "f273-68", | ||
"name": "Headers.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-72", | ||
"uid": "f273-72", | ||
"name": "Filters.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-76", | ||
"uid": "f273-76", | ||
"name": "Sorting.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-78", | ||
"uid": "f273-78", | ||
"name": "Expanding.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-80", | ||
"uid": "f273-80", | ||
"name": "Pagination.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-82", | ||
"uid": "f273-82", | ||
"name": "RowSelection.ts" | ||
@@ -73,19 +73,19 @@ } | ||
{ | ||
"uid": "eaf8-58", | ||
"uid": "f273-58", | ||
"name": "aggregationTypes.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-70", | ||
"uid": "f273-70", | ||
"name": "filterTypes.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-74", | ||
"uid": "f273-74", | ||
"name": "sortTypes.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-84", | ||
"uid": "f273-84", | ||
"name": "core.tsx" | ||
}, | ||
{ | ||
"uid": "eaf8-86", | ||
"uid": "f273-86", | ||
"name": "createTable.tsx" | ||
@@ -97,23 +97,23 @@ }, | ||
{ | ||
"uid": "eaf8-88", | ||
"uid": "f273-88", | ||
"name": "columnFilterRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-90", | ||
"uid": "f273-90", | ||
"name": "globalFilterRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-92", | ||
"uid": "f273-92", | ||
"name": "sortRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-94", | ||
"uid": "f273-94", | ||
"name": "groupRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-96", | ||
"uid": "f273-96", | ||
"name": "expandRowsFn.ts" | ||
}, | ||
{ | ||
"uid": "eaf8-98", | ||
"uid": "f273-98", | ||
"name": "paginateRowsFn.ts" | ||
@@ -124,3 +124,3 @@ } | ||
{ | ||
"uid": "eaf8-100", | ||
"uid": "f273-100", | ||
"name": "index.tsx" | ||
@@ -136,158 +136,158 @@ } | ||
"nodeParts": { | ||
"eaf8-52": { | ||
"f273-52": { | ||
"renderedLength": 2695, | ||
"gzipLength": 1065, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-51" | ||
"mainUid": "f273-51" | ||
}, | ||
"eaf8-54": { | ||
"f273-54": { | ||
"renderedLength": 3906, | ||
"gzipLength": 1358, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-53" | ||
"mainUid": "f273-53" | ||
}, | ||
"eaf8-56": { | ||
"f273-56": { | ||
"renderedLength": 6367, | ||
"gzipLength": 1219, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-55" | ||
"mainUid": "f273-55" | ||
}, | ||
"eaf8-58": { | ||
"f273-58": { | ||
"renderedLength": 2520, | ||
"gzipLength": 755, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-57" | ||
"mainUid": "f273-57" | ||
}, | ||
"eaf8-60": { | ||
"f273-60": { | ||
"renderedLength": 8351, | ||
"gzipLength": 1807, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-59" | ||
"mainUid": "f273-59" | ||
}, | ||
"eaf8-62": { | ||
"f273-62": { | ||
"renderedLength": 2639, | ||
"gzipLength": 799, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-61" | ||
"mainUid": "f273-61" | ||
}, | ||
"eaf8-64": { | ||
"f273-64": { | ||
"renderedLength": 5479, | ||
"gzipLength": 1030, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-63" | ||
"mainUid": "f273-63" | ||
}, | ||
"eaf8-66": { | ||
"f273-66": { | ||
"renderedLength": 10919, | ||
"gzipLength": 2166, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-65" | ||
"mainUid": "f273-65" | ||
}, | ||
"eaf8-68": { | ||
"f273-68": { | ||
"renderedLength": 23655, | ||
"gzipLength": 3372, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-67" | ||
"mainUid": "f273-67" | ||
}, | ||
"eaf8-70": { | ||
"f273-70": { | ||
"renderedLength": 4437, | ||
"gzipLength": 786, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-69" | ||
"mainUid": "f273-69" | ||
}, | ||
"eaf8-72": { | ||
"f273-72": { | ||
"renderedLength": 16506, | ||
"gzipLength": 2898, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-71" | ||
"mainUid": "f273-71" | ||
}, | ||
"eaf8-74": { | ||
"f273-74": { | ||
"renderedLength": 2752, | ||
"gzipLength": 846, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-73" | ||
"mainUid": "f273-73" | ||
}, | ||
"eaf8-76": { | ||
"f273-76": { | ||
"renderedLength": 12092, | ||
"gzipLength": 2589, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-75" | ||
"mainUid": "f273-75" | ||
}, | ||
"eaf8-78": { | ||
"renderedLength": 7715, | ||
"gzipLength": 1675, | ||
"f273-78": { | ||
"renderedLength": 7924, | ||
"gzipLength": 1708, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-77" | ||
"mainUid": "f273-77" | ||
}, | ||
"eaf8-80": { | ||
"f273-80": { | ||
"renderedLength": 6378, | ||
"gzipLength": 1280, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-79" | ||
"mainUid": "f273-79" | ||
}, | ||
"eaf8-82": { | ||
"f273-82": { | ||
"renderedLength": 18164, | ||
"gzipLength": 3123, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-81" | ||
"mainUid": "f273-81" | ||
}, | ||
"eaf8-84": { | ||
"f273-84": { | ||
"renderedLength": 18020, | ||
"gzipLength": 3510, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-83" | ||
"mainUid": "f273-83" | ||
}, | ||
"eaf8-86": { | ||
"f273-86": { | ||
"renderedLength": 1444, | ||
"gzipLength": 413, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-85" | ||
"mainUid": "f273-85" | ||
}, | ||
"eaf8-88": { | ||
"f273-88": { | ||
"renderedLength": 3174, | ||
"gzipLength": 863, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-87" | ||
"mainUid": "f273-87" | ||
}, | ||
"eaf8-90": { | ||
"f273-90": { | ||
"renderedLength": 2540, | ||
"gzipLength": 721, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-89" | ||
"mainUid": "f273-89" | ||
}, | ||
"eaf8-92": { | ||
"f273-92": { | ||
"renderedLength": 2436, | ||
"gzipLength": 818, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-91" | ||
"mainUid": "f273-91" | ||
}, | ||
"eaf8-94": { | ||
"f273-94": { | ||
"renderedLength": 4814, | ||
"gzipLength": 1358, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-93" | ||
"mainUid": "f273-93" | ||
}, | ||
"eaf8-96": { | ||
"f273-96": { | ||
"renderedLength": 556, | ||
"gzipLength": 265, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-95" | ||
"mainUid": "f273-95" | ||
}, | ||
"eaf8-98": { | ||
"f273-98": { | ||
"renderedLength": 720, | ||
"gzipLength": 281, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-97" | ||
"mainUid": "f273-97" | ||
}, | ||
"eaf8-100": { | ||
"f273-100": { | ||
"renderedLength": 0, | ||
"gzipLength": 0, | ||
"brotliLength": 0, | ||
"mainUid": "eaf8-99" | ||
"mainUid": "f273-99" | ||
} | ||
}, | ||
"nodeMetas": { | ||
"eaf8-51": { | ||
"f273-51": { | ||
"id": "\u0000rollupPluginBabelHelpers.js", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-52" | ||
"index.production.js": "f273-52" | ||
}, | ||
@@ -297,41 +297,41 @@ "imported": [], | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
}, | ||
{ | ||
"uid": "eaf8-85" | ||
"uid": "f273-85" | ||
}, | ||
{ | ||
"uid": "eaf8-65" | ||
"uid": "f273-65" | ||
}, | ||
{ | ||
"uid": "eaf8-77" | ||
"uid": "f273-77" | ||
}, | ||
{ | ||
"uid": "eaf8-79" | ||
"uid": "f273-79" | ||
}, | ||
{ | ||
"uid": "eaf8-81" | ||
"uid": "f273-81" | ||
}, | ||
{ | ||
"uid": "eaf8-75" | ||
"uid": "f273-75" | ||
}, | ||
{ | ||
"uid": "eaf8-55" | ||
"uid": "f273-55" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
}, | ||
{ | ||
"uid": "eaf8-57" | ||
"uid": "f273-57" | ||
} | ||
] | ||
}, | ||
"eaf8-53": { | ||
"f273-53": { | ||
"id": "/packages/table-core/src/utils.tsx", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-54" | ||
"index.production.js": "f273-54" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
} | ||
@@ -341,56 +341,56 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
}, | ||
{ | ||
"uid": "eaf8-65" | ||
"uid": "f273-65" | ||
}, | ||
{ | ||
"uid": "eaf8-77" | ||
"uid": "f273-77" | ||
}, | ||
{ | ||
"uid": "eaf8-71" | ||
"uid": "f273-71" | ||
}, | ||
{ | ||
"uid": "eaf8-59" | ||
"uid": "f273-59" | ||
}, | ||
{ | ||
"uid": "eaf8-67" | ||
"uid": "f273-67" | ||
}, | ||
{ | ||
"uid": "eaf8-61" | ||
"uid": "f273-61" | ||
}, | ||
{ | ||
"uid": "eaf8-79" | ||
"uid": "f273-79" | ||
}, | ||
{ | ||
"uid": "eaf8-63" | ||
"uid": "f273-63" | ||
}, | ||
{ | ||
"uid": "eaf8-81" | ||
"uid": "f273-81" | ||
}, | ||
{ | ||
"uid": "eaf8-75" | ||
"uid": "f273-75" | ||
}, | ||
{ | ||
"uid": "eaf8-55" | ||
"uid": "f273-55" | ||
}, | ||
{ | ||
"uid": "eaf8-93" | ||
"uid": "f273-93" | ||
} | ||
] | ||
}, | ||
"eaf8-55": { | ||
"f273-55": { | ||
"id": "/packages/table-core/src/features/Visibility.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-56" | ||
"index.production.js": "f273-56" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -400,17 +400,17 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-57": { | ||
"f273-57": { | ||
"id": "/packages/table-core/src/aggregationTypes.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-58" | ||
"index.production.js": "f273-58" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
} | ||
@@ -420,17 +420,17 @@ ], | ||
{ | ||
"uid": "eaf8-59" | ||
"uid": "f273-59" | ||
} | ||
] | ||
}, | ||
"eaf8-59": { | ||
"f273-59": { | ||
"id": "/packages/table-core/src/features/Grouping.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-60" | ||
"index.production.js": "f273-60" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-57" | ||
"uid": "f273-57" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -440,23 +440,23 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
}, | ||
{ | ||
"uid": "eaf8-61" | ||
"uid": "f273-61" | ||
} | ||
] | ||
}, | ||
"eaf8-61": { | ||
"f273-61": { | ||
"id": "/packages/table-core/src/features/Ordering.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-62" | ||
"index.production.js": "f273-62" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
}, | ||
{ | ||
"uid": "eaf8-59" | ||
"uid": "f273-59" | ||
} | ||
@@ -466,17 +466,17 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-63": { | ||
"f273-63": { | ||
"id": "/packages/table-core/src/features/Pinning.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-64" | ||
"index.production.js": "f273-64" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -486,20 +486,20 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-65": { | ||
"f273-65": { | ||
"id": "/packages/table-core/src/features/ColumnSizing.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-66" | ||
"index.production.js": "f273-66" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -509,23 +509,23 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
}, | ||
{ | ||
"uid": "eaf8-67" | ||
"uid": "f273-67" | ||
} | ||
] | ||
}, | ||
"eaf8-67": { | ||
"f273-67": { | ||
"id": "/packages/table-core/src/features/Headers.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-68" | ||
"index.production.js": "f273-68" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
}, | ||
{ | ||
"uid": "eaf8-65" | ||
"uid": "f273-65" | ||
} | ||
@@ -535,13 +535,13 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-69": { | ||
"f273-69": { | ||
"id": "/packages/table-core/src/filterTypes.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-70" | ||
"index.production.js": "f273-70" | ||
}, | ||
@@ -551,17 +551,17 @@ "imported": [], | ||
{ | ||
"uid": "eaf8-71" | ||
"uid": "f273-71" | ||
} | ||
] | ||
}, | ||
"eaf8-71": { | ||
"f273-71": { | ||
"id": "/packages/table-core/src/features/Filters.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-72" | ||
"index.production.js": "f273-72" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-69" | ||
"uid": "f273-69" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -571,13 +571,13 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-73": { | ||
"f273-73": { | ||
"id": "/packages/table-core/src/sortTypes.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-74" | ||
"index.production.js": "f273-74" | ||
}, | ||
@@ -587,20 +587,20 @@ "imported": [], | ||
{ | ||
"uid": "eaf8-75" | ||
"uid": "f273-75" | ||
} | ||
] | ||
}, | ||
"eaf8-75": { | ||
"f273-75": { | ||
"id": "/packages/table-core/src/features/Sorting.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-76" | ||
"index.production.js": "f273-76" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
}, | ||
{ | ||
"uid": "eaf8-73" | ||
"uid": "f273-73" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -610,20 +610,20 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-77": { | ||
"f273-77": { | ||
"id": "/packages/table-core/src/features/Expanding.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-78" | ||
"index.production.js": "f273-78" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -633,20 +633,20 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-79": { | ||
"f273-79": { | ||
"id": "/packages/table-core/src/features/Pagination.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-80" | ||
"index.production.js": "f273-80" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -656,20 +656,20 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-81": { | ||
"f273-81": { | ||
"id": "/packages/table-core/src/features/RowSelection.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-82" | ||
"index.production.js": "f273-82" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -679,53 +679,53 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
} | ||
] | ||
}, | ||
"eaf8-83": { | ||
"f273-83": { | ||
"id": "/packages/table-core/src/core.tsx", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-84" | ||
"index.production.js": "f273-84" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
}, | ||
{ | ||
"uid": "eaf8-55" | ||
"uid": "f273-55" | ||
}, | ||
{ | ||
"uid": "eaf8-61" | ||
"uid": "f273-61" | ||
}, | ||
{ | ||
"uid": "eaf8-63" | ||
"uid": "f273-63" | ||
}, | ||
{ | ||
"uid": "eaf8-67" | ||
"uid": "f273-67" | ||
}, | ||
{ | ||
"uid": "eaf8-71" | ||
"uid": "f273-71" | ||
}, | ||
{ | ||
"uid": "eaf8-75" | ||
"uid": "f273-75" | ||
}, | ||
{ | ||
"uid": "eaf8-59" | ||
"uid": "f273-59" | ||
}, | ||
{ | ||
"uid": "eaf8-77" | ||
"uid": "f273-77" | ||
}, | ||
{ | ||
"uid": "eaf8-65" | ||
"uid": "f273-65" | ||
}, | ||
{ | ||
"uid": "eaf8-79" | ||
"uid": "f273-79" | ||
}, | ||
{ | ||
"uid": "eaf8-81" | ||
"uid": "f273-81" | ||
} | ||
@@ -735,14 +735,14 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
] | ||
}, | ||
"eaf8-85": { | ||
"f273-85": { | ||
"id": "/packages/table-core/src/createTable.tsx", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-86" | ||
"index.production.js": "f273-86" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-51" | ||
"uid": "f273-51" | ||
} | ||
@@ -752,10 +752,10 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
] | ||
}, | ||
"eaf8-87": { | ||
"f273-87": { | ||
"id": "/packages/table-core/src/utils/columnFilterRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-88" | ||
"index.production.js": "f273-88" | ||
}, | ||
@@ -765,10 +765,10 @@ "imported": [], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
] | ||
}, | ||
"eaf8-89": { | ||
"f273-89": { | ||
"id": "/packages/table-core/src/utils/globalFilterRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-90" | ||
"index.production.js": "f273-90" | ||
}, | ||
@@ -778,10 +778,10 @@ "imported": [], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
] | ||
}, | ||
"eaf8-91": { | ||
"f273-91": { | ||
"id": "/packages/table-core/src/utils/sortRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-92" | ||
"index.production.js": "f273-92" | ||
}, | ||
@@ -791,14 +791,14 @@ "imported": [], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
] | ||
}, | ||
"eaf8-93": { | ||
"f273-93": { | ||
"id": "/packages/table-core/src/utils/groupRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-94" | ||
"index.production.js": "f273-94" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
} | ||
@@ -808,10 +808,10 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
] | ||
}, | ||
"eaf8-95": { | ||
"f273-95": { | ||
"id": "/packages/table-core/src/utils/expandRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-96" | ||
"index.production.js": "f273-96" | ||
}, | ||
@@ -821,17 +821,17 @@ "imported": [], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
}, | ||
{ | ||
"uid": "eaf8-97" | ||
"uid": "f273-97" | ||
} | ||
] | ||
}, | ||
"eaf8-97": { | ||
"f273-97": { | ||
"id": "/packages/table-core/src/utils/paginateRowsFn.ts", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-98" | ||
"index.production.js": "f273-98" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-95" | ||
"uid": "f273-95" | ||
} | ||
@@ -841,74 +841,74 @@ ], | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
] | ||
}, | ||
"eaf8-99": { | ||
"f273-99": { | ||
"id": "/packages/table-core/src/index.tsx", | ||
"moduleParts": { | ||
"index.production.js": "eaf8-100" | ||
"index.production.js": "f273-100" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "eaf8-83" | ||
"uid": "f273-83" | ||
}, | ||
{ | ||
"uid": "eaf8-101" | ||
"uid": "f273-101" | ||
}, | ||
{ | ||
"uid": "eaf8-85" | ||
"uid": "f273-85" | ||
}, | ||
{ | ||
"uid": "eaf8-65" | ||
"uid": "f273-65" | ||
}, | ||
{ | ||
"uid": "eaf8-77" | ||
"uid": "f273-77" | ||
}, | ||
{ | ||
"uid": "eaf8-71" | ||
"uid": "f273-71" | ||
}, | ||
{ | ||
"uid": "eaf8-59" | ||
"uid": "f273-59" | ||
}, | ||
{ | ||
"uid": "eaf8-67" | ||
"uid": "f273-67" | ||
}, | ||
{ | ||
"uid": "eaf8-61" | ||
"uid": "f273-61" | ||
}, | ||
{ | ||
"uid": "eaf8-79" | ||
"uid": "f273-79" | ||
}, | ||
{ | ||
"uid": "eaf8-63" | ||
"uid": "f273-63" | ||
}, | ||
{ | ||
"uid": "eaf8-81" | ||
"uid": "f273-81" | ||
}, | ||
{ | ||
"uid": "eaf8-75" | ||
"uid": "f273-75" | ||
}, | ||
{ | ||
"uid": "eaf8-55" | ||
"uid": "f273-55" | ||
}, | ||
{ | ||
"uid": "eaf8-53" | ||
"uid": "f273-53" | ||
}, | ||
{ | ||
"uid": "eaf8-87" | ||
"uid": "f273-87" | ||
}, | ||
{ | ||
"uid": "eaf8-89" | ||
"uid": "f273-89" | ||
}, | ||
{ | ||
"uid": "eaf8-91" | ||
"uid": "f273-91" | ||
}, | ||
{ | ||
"uid": "eaf8-93" | ||
"uid": "f273-93" | ||
}, | ||
{ | ||
"uid": "eaf8-95" | ||
"uid": "f273-95" | ||
}, | ||
{ | ||
"uid": "eaf8-97" | ||
"uid": "f273-97" | ||
} | ||
@@ -919,3 +919,3 @@ ], | ||
}, | ||
"eaf8-101": { | ||
"f273-101": { | ||
"id": "/packages/table-core/src/types.ts", | ||
@@ -926,3 +926,3 @@ "moduleParts": {}, | ||
{ | ||
"uid": "eaf8-99" | ||
"uid": "f273-99" | ||
} | ||
@@ -929,0 +929,0 @@ ] |
@@ -40,2 +40,3 @@ import { MouseEvent, TouchEvent } from 'react'; | ||
getToggleAllRowsExpandedProps: <TGetter extends Getter<ToggleExpandedProps>>(userProps?: TGetter) => undefined | PropGetterValue<ToggleExpandedProps, TGetter>; | ||
getIsSomeRowsExpanded: () => boolean; | ||
getIsAllRowsExpanded: () => boolean; | ||
@@ -42,0 +43,0 @@ getExpandedDepth: () => number; |
{ | ||
"name": "@tanstack/table-core", | ||
"author": "Tanner Linsley", | ||
"version": "8.0.0-alpha.20", | ||
"version": "8.0.0-alpha.21", | ||
"description": "Hooks for building lightweight, fast and extendable datagrids for React", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -65,2 +65,3 @@ import { MouseEvent, TouchEvent } from 'react' | ||
) => undefined | PropGetterValue<ToggleExpandedProps, TGetter> | ||
getIsSomeRowsExpanded: () => boolean | ||
getIsAllRowsExpanded: () => boolean | ||
@@ -233,2 +234,6 @@ getExpandedDepth: () => number | ||
}, | ||
getIsSomeRowsExpanded: () => { | ||
const expanded = instance.getState().expanded | ||
return expanded === true || Object.values(expanded).some(Boolean) | ||
}, | ||
getIsAllRowsExpanded: () => { | ||
@@ -235,0 +240,0 @@ const expanded = instance.getState().expanded |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2232190
20848