@tanstack/table-core
Advanced tools
Comparing version 8.0.0-alpha.45 to 8.0.0-alpha.46
@@ -32,4 +32,4 @@ /** | ||
enableSubRowSelection: true // enableGroupingRowSelection: false, | ||
// isAdditiveSelectEvent: (e: MouseEvent | TouchEvent) => !!e.metaKey, | ||
// isInclusiveSelectEvent: (e: MouseEvent | TouchEvent) => !!e.shiftKey, | ||
// isAdditiveSelectEvent: (e: unknown) => !!e.metaKey, | ||
// isInclusiveSelectEvent: (e: unknown) => !!e.shiftKey, | ||
@@ -36,0 +36,0 @@ }; |
@@ -10,3 +10,3 @@ { | ||
{ | ||
"uid": "b54f-58", | ||
"uid": "7fa0-58", | ||
"name": "\u0000rollupPluginBabelHelpers.js" | ||
@@ -18,3 +18,3 @@ }, | ||
{ | ||
"uid": "b54f-60", | ||
"uid": "7fa0-60", | ||
"name": "utils.ts" | ||
@@ -26,43 +26,43 @@ }, | ||
{ | ||
"uid": "b54f-62", | ||
"uid": "7fa0-62", | ||
"name": "ColumnSizing.ts" | ||
}, | ||
{ | ||
"uid": "b54f-64", | ||
"uid": "7fa0-64", | ||
"name": "Expanding.ts" | ||
}, | ||
{ | ||
"uid": "b54f-68", | ||
"uid": "7fa0-68", | ||
"name": "Filters.ts" | ||
}, | ||
{ | ||
"uid": "b54f-72", | ||
"uid": "7fa0-72", | ||
"name": "Grouping.ts" | ||
}, | ||
{ | ||
"uid": "b54f-74", | ||
"uid": "7fa0-74", | ||
"name": "Ordering.ts" | ||
}, | ||
{ | ||
"uid": "b54f-76", | ||
"uid": "7fa0-76", | ||
"name": "Pagination.ts" | ||
}, | ||
{ | ||
"uid": "b54f-78", | ||
"uid": "7fa0-78", | ||
"name": "Pinning.ts" | ||
}, | ||
{ | ||
"uid": "b54f-80", | ||
"uid": "7fa0-80", | ||
"name": "RowSelection.ts" | ||
}, | ||
{ | ||
"uid": "b54f-84", | ||
"uid": "7fa0-84", | ||
"name": "Sorting.ts" | ||
}, | ||
{ | ||
"uid": "b54f-86", | ||
"uid": "7fa0-86", | ||
"name": "Visibility.ts" | ||
}, | ||
{ | ||
"uid": "b54f-88", | ||
"uid": "7fa0-88", | ||
"name": "Headers.ts" | ||
@@ -73,19 +73,19 @@ } | ||
{ | ||
"uid": "b54f-66", | ||
"uid": "7fa0-66", | ||
"name": "filterFns.ts" | ||
}, | ||
{ | ||
"uid": "b54f-70", | ||
"uid": "7fa0-70", | ||
"name": "aggregationFns.ts" | ||
}, | ||
{ | ||
"uid": "b54f-82", | ||
"uid": "7fa0-82", | ||
"name": "sortingFns.ts" | ||
}, | ||
{ | ||
"uid": "b54f-90", | ||
"uid": "7fa0-90", | ||
"name": "core.ts" | ||
}, | ||
{ | ||
"uid": "b54f-92", | ||
"uid": "7fa0-92", | ||
"name": "createTable.ts" | ||
@@ -97,35 +97,35 @@ }, | ||
{ | ||
"uid": "b54f-94", | ||
"uid": "7fa0-94", | ||
"name": "getCoreRowModelSync.ts" | ||
}, | ||
{ | ||
"uid": "b54f-96", | ||
"uid": "7fa0-96", | ||
"name": "getCoreRowModelAsync.ts" | ||
}, | ||
{ | ||
"uid": "b54f-98", | ||
"uid": "7fa0-98", | ||
"name": "filterRowsUtils.ts" | ||
}, | ||
{ | ||
"uid": "b54f-100", | ||
"uid": "7fa0-100", | ||
"name": "getColumnFilteredRowModelSync.ts" | ||
}, | ||
{ | ||
"uid": "b54f-102", | ||
"uid": "7fa0-102", | ||
"name": "getGlobalFilteredRowModelSync.ts" | ||
}, | ||
{ | ||
"uid": "b54f-104", | ||
"uid": "7fa0-104", | ||
"name": "getSortedRowModelSync.ts" | ||
}, | ||
{ | ||
"uid": "b54f-106", | ||
"uid": "7fa0-106", | ||
"name": "getGroupedRowModel.ts" | ||
}, | ||
{ | ||
"uid": "b54f-108", | ||
"uid": "7fa0-108", | ||
"name": "getExpandedRowModel.ts" | ||
}, | ||
{ | ||
"uid": "b54f-110", | ||
"uid": "7fa0-110", | ||
"name": "getPaginationRowModel.ts" | ||
@@ -136,3 +136,3 @@ } | ||
{ | ||
"uid": "b54f-112", | ||
"uid": "7fa0-112", | ||
"name": "index.ts" | ||
@@ -148,176 +148,176 @@ } | ||
"nodeParts": { | ||
"b54f-58": { | ||
"7fa0-58": { | ||
"renderedLength": 2695, | ||
"gzipLength": 1065, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-57" | ||
"mainUid": "7fa0-57" | ||
}, | ||
"b54f-60": { | ||
"7fa0-60": { | ||
"renderedLength": 7936, | ||
"gzipLength": 2087, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-59" | ||
"mainUid": "7fa0-59" | ||
}, | ||
"b54f-62": { | ||
"7fa0-62": { | ||
"renderedLength": 11667, | ||
"gzipLength": 2272, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-61" | ||
"mainUid": "7fa0-61" | ||
}, | ||
"b54f-64": { | ||
"7fa0-64": { | ||
"renderedLength": 7611, | ||
"gzipLength": 1612, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-63" | ||
"mainUid": "7fa0-63" | ||
}, | ||
"b54f-66": { | ||
"7fa0-66": { | ||
"renderedLength": 4435, | ||
"gzipLength": 783, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-65" | ||
"mainUid": "7fa0-65" | ||
}, | ||
"b54f-68": { | ||
"7fa0-68": { | ||
"renderedLength": 14129, | ||
"gzipLength": 2529, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-67" | ||
"mainUid": "7fa0-67" | ||
}, | ||
"b54f-70": { | ||
"7fa0-70": { | ||
"renderedLength": 2672, | ||
"gzipLength": 771, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-69" | ||
"mainUid": "7fa0-69" | ||
}, | ||
"b54f-72": { | ||
"7fa0-72": { | ||
"renderedLength": 8051, | ||
"gzipLength": 1715, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-71" | ||
"mainUid": "7fa0-71" | ||
}, | ||
"b54f-74": { | ||
"7fa0-74": { | ||
"renderedLength": 2639, | ||
"gzipLength": 799, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-73" | ||
"mainUid": "7fa0-73" | ||
}, | ||
"b54f-76": { | ||
"7fa0-76": { | ||
"renderedLength": 5978, | ||
"gzipLength": 1232, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-75" | ||
"mainUid": "7fa0-75" | ||
}, | ||
"b54f-78": { | ||
"7fa0-78": { | ||
"renderedLength": 5842, | ||
"gzipLength": 1084, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-77" | ||
"mainUid": "7fa0-77" | ||
}, | ||
"b54f-80": { | ||
"renderedLength": 18226, | ||
"gzipLength": 3066, | ||
"7fa0-80": { | ||
"renderedLength": 18194, | ||
"gzipLength": 3061, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-79" | ||
"mainUid": "7fa0-79" | ||
}, | ||
"b54f-82": { | ||
"7fa0-82": { | ||
"renderedLength": 2753, | ||
"gzipLength": 846, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-81" | ||
"mainUid": "7fa0-81" | ||
}, | ||
"b54f-84": { | ||
"7fa0-84": { | ||
"renderedLength": 11837, | ||
"gzipLength": 2494, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-83" | ||
"mainUid": "7fa0-83" | ||
}, | ||
"b54f-86": { | ||
"7fa0-86": { | ||
"renderedLength": 6367, | ||
"gzipLength": 1219, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-85" | ||
"mainUid": "7fa0-85" | ||
}, | ||
"b54f-88": { | ||
"7fa0-88": { | ||
"renderedLength": 23655, | ||
"gzipLength": 3372, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-87" | ||
"mainUid": "7fa0-87" | ||
}, | ||
"b54f-90": { | ||
"7fa0-90": { | ||
"renderedLength": 16750, | ||
"gzipLength": 3189, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-89" | ||
"mainUid": "7fa0-89" | ||
}, | ||
"b54f-92": { | ||
"7fa0-92": { | ||
"renderedLength": 1895, | ||
"gzipLength": 565, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-91" | ||
"mainUid": "7fa0-91" | ||
}, | ||
"b54f-94": { | ||
"7fa0-94": { | ||
"renderedLength": 2467, | ||
"gzipLength": 805, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-93" | ||
"mainUid": "7fa0-93" | ||
}, | ||
"b54f-96": { | ||
"7fa0-96": { | ||
"renderedLength": 3564, | ||
"gzipLength": 1020, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-95" | ||
"mainUid": "7fa0-95" | ||
}, | ||
"b54f-98": { | ||
"7fa0-98": { | ||
"renderedLength": 2457, | ||
"gzipLength": 568, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-97" | ||
"mainUid": "7fa0-97" | ||
}, | ||
"b54f-100": { | ||
"7fa0-100": { | ||
"renderedLength": 3132, | ||
"gzipLength": 897, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-99" | ||
"mainUid": "7fa0-99" | ||
}, | ||
"b54f-102": { | ||
"7fa0-102": { | ||
"renderedLength": 2471, | ||
"gzipLength": 698, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-101" | ||
"mainUid": "7fa0-101" | ||
}, | ||
"b54f-104": { | ||
"7fa0-104": { | ||
"renderedLength": 3439, | ||
"gzipLength": 1025, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-103" | ||
"mainUid": "7fa0-103" | ||
}, | ||
"b54f-106": { | ||
"7fa0-106": { | ||
"renderedLength": 5784, | ||
"gzipLength": 1530, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-105" | ||
"mainUid": "7fa0-105" | ||
}, | ||
"b54f-108": { | ||
"7fa0-108": { | ||
"renderedLength": 1385, | ||
"gzipLength": 494, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-107" | ||
"mainUid": "7fa0-107" | ||
}, | ||
"b54f-110": { | ||
"7fa0-110": { | ||
"renderedLength": 1254, | ||
"gzipLength": 407, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-109" | ||
"mainUid": "7fa0-109" | ||
}, | ||
"b54f-112": { | ||
"7fa0-112": { | ||
"renderedLength": 0, | ||
"gzipLength": 0, | ||
"brotliLength": 0, | ||
"mainUid": "b54f-111" | ||
"mainUid": "7fa0-111" | ||
} | ||
}, | ||
"nodeMetas": { | ||
"b54f-57": { | ||
"7fa0-57": { | ||
"id": "\u0000rollupPluginBabelHelpers.js", | ||
"moduleParts": { | ||
"index.production.js": "b54f-58" | ||
"index.production.js": "7fa0-58" | ||
}, | ||
@@ -327,44 +327,44 @@ "imported": [], | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
}, | ||
{ | ||
"uid": "b54f-91" | ||
"uid": "7fa0-91" | ||
}, | ||
{ | ||
"uid": "b54f-61" | ||
"uid": "7fa0-61" | ||
}, | ||
{ | ||
"uid": "b54f-63" | ||
"uid": "7fa0-63" | ||
}, | ||
{ | ||
"uid": "b54f-75" | ||
"uid": "7fa0-75" | ||
}, | ||
{ | ||
"uid": "b54f-79" | ||
"uid": "7fa0-79" | ||
}, | ||
{ | ||
"uid": "b54f-83" | ||
"uid": "7fa0-83" | ||
}, | ||
{ | ||
"uid": "b54f-85" | ||
"uid": "7fa0-85" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-95" | ||
"uid": "7fa0-95" | ||
}, | ||
{ | ||
"uid": "b54f-69" | ||
"uid": "7fa0-69" | ||
} | ||
] | ||
}, | ||
"b54f-59": { | ||
"7fa0-59": { | ||
"id": "/packages/table-core/src/utils.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-60" | ||
"index.production.js": "7fa0-60" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
} | ||
@@ -374,77 +374,77 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
}, | ||
{ | ||
"uid": "b54f-61" | ||
"uid": "7fa0-61" | ||
}, | ||
{ | ||
"uid": "b54f-63" | ||
"uid": "7fa0-63" | ||
}, | ||
{ | ||
"uid": "b54f-67" | ||
"uid": "7fa0-67" | ||
}, | ||
{ | ||
"uid": "b54f-71" | ||
"uid": "7fa0-71" | ||
}, | ||
{ | ||
"uid": "b54f-87" | ||
"uid": "7fa0-87" | ||
}, | ||
{ | ||
"uid": "b54f-73" | ||
"uid": "7fa0-73" | ||
}, | ||
{ | ||
"uid": "b54f-75" | ||
"uid": "7fa0-75" | ||
}, | ||
{ | ||
"uid": "b54f-77" | ||
"uid": "7fa0-77" | ||
}, | ||
{ | ||
"uid": "b54f-79" | ||
"uid": "7fa0-79" | ||
}, | ||
{ | ||
"uid": "b54f-83" | ||
"uid": "7fa0-83" | ||
}, | ||
{ | ||
"uid": "b54f-85" | ||
"uid": "7fa0-85" | ||
}, | ||
{ | ||
"uid": "b54f-93" | ||
"uid": "7fa0-93" | ||
}, | ||
{ | ||
"uid": "b54f-95" | ||
"uid": "7fa0-95" | ||
}, | ||
{ | ||
"uid": "b54f-99" | ||
"uid": "7fa0-99" | ||
}, | ||
{ | ||
"uid": "b54f-101" | ||
"uid": "7fa0-101" | ||
}, | ||
{ | ||
"uid": "b54f-103" | ||
"uid": "7fa0-103" | ||
}, | ||
{ | ||
"uid": "b54f-105" | ||
"uid": "7fa0-105" | ||
}, | ||
{ | ||
"uid": "b54f-107" | ||
"uid": "7fa0-107" | ||
}, | ||
{ | ||
"uid": "b54f-109" | ||
"uid": "7fa0-109" | ||
} | ||
] | ||
}, | ||
"b54f-61": { | ||
"7fa0-61": { | ||
"id": "/packages/table-core/src/features/ColumnSizing.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-62" | ||
"index.production.js": "7fa0-62" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -454,23 +454,23 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
}, | ||
{ | ||
"uid": "b54f-87" | ||
"uid": "7fa0-87" | ||
} | ||
] | ||
}, | ||
"b54f-63": { | ||
"7fa0-63": { | ||
"id": "/packages/table-core/src/features/Expanding.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-64" | ||
"index.production.js": "7fa0-64" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -480,13 +480,13 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-65": { | ||
"7fa0-65": { | ||
"id": "/packages/table-core/src/filterFns.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-66" | ||
"index.production.js": "7fa0-66" | ||
}, | ||
@@ -496,17 +496,17 @@ "imported": [], | ||
{ | ||
"uid": "b54f-67" | ||
"uid": "7fa0-67" | ||
} | ||
] | ||
}, | ||
"b54f-67": { | ||
"7fa0-67": { | ||
"id": "/packages/table-core/src/features/Filters.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-68" | ||
"index.production.js": "7fa0-68" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-65" | ||
"uid": "7fa0-65" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -516,17 +516,17 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-69": { | ||
"7fa0-69": { | ||
"id": "/packages/table-core/src/aggregationFns.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-70" | ||
"index.production.js": "7fa0-70" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
} | ||
@@ -536,20 +536,20 @@ ], | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
}, | ||
{ | ||
"uid": "b54f-71" | ||
"uid": "7fa0-71" | ||
} | ||
] | ||
}, | ||
"b54f-71": { | ||
"7fa0-71": { | ||
"id": "/packages/table-core/src/features/Grouping.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-72" | ||
"index.production.js": "7fa0-72" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-69" | ||
"uid": "7fa0-69" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -559,23 +559,23 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
}, | ||
{ | ||
"uid": "b54f-73" | ||
"uid": "7fa0-73" | ||
} | ||
] | ||
}, | ||
"b54f-73": { | ||
"7fa0-73": { | ||
"id": "/packages/table-core/src/features/Ordering.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-74" | ||
"index.production.js": "7fa0-74" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-71" | ||
"uid": "7fa0-71" | ||
} | ||
@@ -585,20 +585,20 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-75": { | ||
"7fa0-75": { | ||
"id": "/packages/table-core/src/features/Pagination.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-76" | ||
"index.production.js": "7fa0-76" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -608,17 +608,17 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-77": { | ||
"7fa0-77": { | ||
"id": "/packages/table-core/src/features/Pinning.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-78" | ||
"index.production.js": "7fa0-78" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -628,20 +628,20 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-79": { | ||
"7fa0-79": { | ||
"id": "/packages/table-core/src/features/RowSelection.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-80" | ||
"index.production.js": "7fa0-80" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -651,13 +651,13 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-81": { | ||
"7fa0-81": { | ||
"id": "/packages/table-core/src/sortingFns.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-82" | ||
"index.production.js": "7fa0-82" | ||
}, | ||
@@ -667,20 +667,20 @@ "imported": [], | ||
{ | ||
"uid": "b54f-83" | ||
"uid": "7fa0-83" | ||
} | ||
] | ||
}, | ||
"b54f-83": { | ||
"7fa0-83": { | ||
"id": "/packages/table-core/src/features/Sorting.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-84" | ||
"index.production.js": "7fa0-84" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-81" | ||
"uid": "7fa0-81" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -690,20 +690,20 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-85": { | ||
"7fa0-85": { | ||
"id": "/packages/table-core/src/features/Visibility.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-86" | ||
"index.production.js": "7fa0-86" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -713,20 +713,20 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-87": { | ||
"7fa0-87": { | ||
"id": "/packages/table-core/src/features/Headers.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-88" | ||
"index.production.js": "7fa0-88" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-61" | ||
"uid": "7fa0-61" | ||
} | ||
@@ -736,56 +736,56 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
} | ||
] | ||
}, | ||
"b54f-89": { | ||
"7fa0-89": { | ||
"id": "/packages/table-core/src/core.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-90" | ||
"index.production.js": "7fa0-90" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-61" | ||
"uid": "7fa0-61" | ||
}, | ||
{ | ||
"uid": "b54f-63" | ||
"uid": "7fa0-63" | ||
}, | ||
{ | ||
"uid": "b54f-67" | ||
"uid": "7fa0-67" | ||
}, | ||
{ | ||
"uid": "b54f-71" | ||
"uid": "7fa0-71" | ||
}, | ||
{ | ||
"uid": "b54f-73" | ||
"uid": "7fa0-73" | ||
}, | ||
{ | ||
"uid": "b54f-75" | ||
"uid": "7fa0-75" | ||
}, | ||
{ | ||
"uid": "b54f-77" | ||
"uid": "7fa0-77" | ||
}, | ||
{ | ||
"uid": "b54f-79" | ||
"uid": "7fa0-79" | ||
}, | ||
{ | ||
"uid": "b54f-83" | ||
"uid": "7fa0-83" | ||
}, | ||
{ | ||
"uid": "b54f-85" | ||
"uid": "7fa0-85" | ||
}, | ||
{ | ||
"uid": "b54f-87" | ||
"uid": "7fa0-87" | ||
}, | ||
{ | ||
"uid": "b54f-69" | ||
"uid": "7fa0-69" | ||
} | ||
@@ -795,14 +795,14 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-91": { | ||
"7fa0-91": { | ||
"id": "/packages/table-core/src/createTable.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-92" | ||
"index.production.js": "7fa0-92" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
} | ||
@@ -812,14 +812,14 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-93": { | ||
"7fa0-93": { | ||
"id": "/packages/table-core/src/utils/getCoreRowModelSync.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-94" | ||
"index.production.js": "7fa0-94" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -829,17 +829,17 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-95": { | ||
"7fa0-95": { | ||
"id": "/packages/table-core/src/utils/getCoreRowModelAsync.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-96" | ||
"index.production.js": "7fa0-96" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-57" | ||
"uid": "7fa0-57" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -849,10 +849,10 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-97": { | ||
"7fa0-97": { | ||
"id": "/packages/table-core/src/utils/filterRowsUtils.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-98" | ||
"index.production.js": "7fa0-98" | ||
}, | ||
@@ -862,20 +862,20 @@ "imported": [], | ||
{ | ||
"uid": "b54f-99" | ||
"uid": "7fa0-99" | ||
}, | ||
{ | ||
"uid": "b54f-101" | ||
"uid": "7fa0-101" | ||
} | ||
] | ||
}, | ||
"b54f-99": { | ||
"7fa0-99": { | ||
"id": "/packages/table-core/src/utils/getColumnFilteredRowModelSync.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-100" | ||
"index.production.js": "7fa0-100" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-97" | ||
"uid": "7fa0-97" | ||
} | ||
@@ -885,17 +885,17 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-101": { | ||
"7fa0-101": { | ||
"id": "/packages/table-core/src/utils/getGlobalFilteredRowModelSync.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-102" | ||
"index.production.js": "7fa0-102" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-97" | ||
"uid": "7fa0-97" | ||
} | ||
@@ -905,14 +905,14 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-103": { | ||
"7fa0-103": { | ||
"id": "/packages/table-core/src/utils/getSortedRowModelSync.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-104" | ||
"index.production.js": "7fa0-104" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -922,14 +922,14 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-105": { | ||
"7fa0-105": { | ||
"id": "/packages/table-core/src/utils/getGroupedRowModel.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-106" | ||
"index.production.js": "7fa0-106" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -939,14 +939,14 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-107": { | ||
"7fa0-107": { | ||
"id": "/packages/table-core/src/utils/getExpandedRowModel.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-108" | ||
"index.production.js": "7fa0-108" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
} | ||
@@ -956,20 +956,20 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
}, | ||
{ | ||
"uid": "b54f-109" | ||
"uid": "7fa0-109" | ||
} | ||
] | ||
}, | ||
"b54f-109": { | ||
"7fa0-109": { | ||
"id": "/packages/table-core/src/utils/getPaginationRowModel.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-110" | ||
"index.production.js": "7fa0-110" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-107" | ||
"uid": "7fa0-107" | ||
} | ||
@@ -979,80 +979,80 @@ ], | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
] | ||
}, | ||
"b54f-111": { | ||
"7fa0-111": { | ||
"id": "/packages/table-core/src/index.ts", | ||
"moduleParts": { | ||
"index.production.js": "b54f-112" | ||
"index.production.js": "7fa0-112" | ||
}, | ||
"imported": [ | ||
{ | ||
"uid": "b54f-89" | ||
"uid": "7fa0-89" | ||
}, | ||
{ | ||
"uid": "b54f-113" | ||
"uid": "7fa0-113" | ||
}, | ||
{ | ||
"uid": "b54f-91" | ||
"uid": "7fa0-91" | ||
}, | ||
{ | ||
"uid": "b54f-61" | ||
"uid": "7fa0-61" | ||
}, | ||
{ | ||
"uid": "b54f-63" | ||
"uid": "7fa0-63" | ||
}, | ||
{ | ||
"uid": "b54f-67" | ||
"uid": "7fa0-67" | ||
}, | ||
{ | ||
"uid": "b54f-71" | ||
"uid": "7fa0-71" | ||
}, | ||
{ | ||
"uid": "b54f-87" | ||
"uid": "7fa0-87" | ||
}, | ||
{ | ||
"uid": "b54f-73" | ||
"uid": "7fa0-73" | ||
}, | ||
{ | ||
"uid": "b54f-75" | ||
"uid": "7fa0-75" | ||
}, | ||
{ | ||
"uid": "b54f-77" | ||
"uid": "7fa0-77" | ||
}, | ||
{ | ||
"uid": "b54f-79" | ||
"uid": "7fa0-79" | ||
}, | ||
{ | ||
"uid": "b54f-83" | ||
"uid": "7fa0-83" | ||
}, | ||
{ | ||
"uid": "b54f-85" | ||
"uid": "7fa0-85" | ||
}, | ||
{ | ||
"uid": "b54f-59" | ||
"uid": "7fa0-59" | ||
}, | ||
{ | ||
"uid": "b54f-93" | ||
"uid": "7fa0-93" | ||
}, | ||
{ | ||
"uid": "b54f-95" | ||
"uid": "7fa0-95" | ||
}, | ||
{ | ||
"uid": "b54f-99" | ||
"uid": "7fa0-99" | ||
}, | ||
{ | ||
"uid": "b54f-101" | ||
"uid": "7fa0-101" | ||
}, | ||
{ | ||
"uid": "b54f-103" | ||
"uid": "7fa0-103" | ||
}, | ||
{ | ||
"uid": "b54f-105" | ||
"uid": "7fa0-105" | ||
}, | ||
{ | ||
"uid": "b54f-107" | ||
"uid": "7fa0-107" | ||
}, | ||
{ | ||
"uid": "b54f-109" | ||
"uid": "7fa0-109" | ||
} | ||
@@ -1063,3 +1063,3 @@ ], | ||
}, | ||
"b54f-113": { | ||
"7fa0-113": { | ||
"id": "/packages/table-core/src/types.ts", | ||
@@ -1070,3 +1070,3 @@ "moduleParts": {}, | ||
{ | ||
"uid": "b54f-111" | ||
"uid": "7fa0-111" | ||
} | ||
@@ -1073,0 +1073,0 @@ ] |
@@ -27,3 +27,3 @@ import { RowModel } from '..'; | ||
title?: string; | ||
onClick?: (event: MouseEvent | TouchEvent) => void; | ||
onClick?: (event: unknown) => void; | ||
}; | ||
@@ -30,0 +30,0 @@ export declare type ExpandedInstance<TGenerics extends AnyGenerics> = { |
@@ -65,3 +65,3 @@ import { RowModel } from '..'; | ||
title?: string; | ||
onClick?: (event: MouseEvent | TouchEvent) => void; | ||
onClick?: (event: unknown) => void; | ||
}; | ||
@@ -68,0 +68,0 @@ export declare type GroupingInstance<TGenerics extends AnyGenerics> = { |
@@ -14,3 +14,3 @@ import { Getter, OnChangeFn, AnyGenerics, PropGetterValue, TableInstance, Row, RowModel, Updater } from '../types'; | ||
declare type ToggleRowSelectedProps = { | ||
onChange?: (e: MouseEvent | TouchEvent) => void; | ||
onChange?: (e: unknown) => void; | ||
checked?: boolean; | ||
@@ -17,0 +17,0 @@ title?: string; |
@@ -53,7 +53,7 @@ import { RowModel } from '..'; | ||
maxMultiSortColCount?: number; | ||
isMultiSortEvent?: (e: MouseEvent | TouchEvent) => boolean; | ||
isMultiSortEvent?: (e: unknown) => boolean; | ||
}; | ||
export declare type ToggleSortingProps = { | ||
title?: string; | ||
onClick?: (event: MouseEvent | TouchEvent) => void; | ||
onClick?: (event: unknown) => void; | ||
}; | ||
@@ -60,0 +60,0 @@ export declare type SortingInstance<TGenerics extends AnyGenerics> = { |
{ | ||
"name": "@tanstack/table-core", | ||
"author": "Tanner Linsley", | ||
"version": "8.0.0-alpha.45", | ||
"version": "8.0.0-alpha.46", | ||
"description": "Hooks for building lightweight, fast and extendable datagrids for React", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -231,3 +231,3 @@ import { | ||
const onResizeStart = (e: MouseEvent | TouchEvent) => { | ||
const onResizeStart = (e: unknown) => { | ||
if (isTouchStartEvent(e)) { | ||
@@ -250,3 +250,3 @@ // lets not respond to multiple touches (e.g. 2 or 3 fingers) | ||
? Math.round(e.touches[0].clientX) | ||
: e.clientX | ||
: (e as MouseEvent).clientX | ||
@@ -451,4 +451,4 @@ const updateOffset = ( | ||
function isTouchStartEvent(e: TouchEvent | MouseEvent): e is TouchEvent { | ||
return e.type === 'touchstart' | ||
function isTouchStartEvent(e: unknown): e is TouchEvent { | ||
return (e as TouchEvent).type === 'touchstart' | ||
} |
@@ -45,3 +45,3 @@ import { RowModel } from '..' | ||
title?: string | ||
onClick?: (event: MouseEvent | TouchEvent) => void | ||
onClick?: (event: unknown) => void | ||
} | ||
@@ -221,3 +221,3 @@ | ||
onClick: canExpand | ||
? (e: MouseEvent | TouchEvent) => { | ||
? (e: unknown) => { | ||
;(e as any).persist?.() | ||
@@ -234,3 +234,3 @@ instance.toggleRowExpanded(rowId) | ||
title: 'Toggle All Expanded', | ||
onClick: (e: MouseEvent | TouchEvent) => { | ||
onClick: (e: unknown) => { | ||
;(e as any).persist?.() | ||
@@ -237,0 +237,0 @@ instance.toggleAllRowsExpanded() |
@@ -113,3 +113,3 @@ import { RowModel } from '..' | ||
title?: string | ||
onClick?: (event: MouseEvent | TouchEvent) => void | ||
onClick?: (event: unknown) => void | ||
} | ||
@@ -294,3 +294,3 @@ | ||
onClick: canGroup | ||
? (e: MouseEvent | TouchEvent) => { | ||
? (e: unknown) => { | ||
column.toggleGrouping?.() | ||
@@ -297,0 +297,0 @@ } |
@@ -31,4 +31,4 @@ import { | ||
// ) => boolean) | ||
// isAdditiveSelectEvent?: (e: MouseEvent | TouchEvent) => boolean | ||
// isInclusiveSelectEvent?: (e: MouseEvent | TouchEvent) => boolean | ||
// isAdditiveSelectEvent?: (e: unknown) => boolean | ||
// isInclusiveSelectEvent?: (e: unknown) => boolean | ||
// selectRowsFn?: ( | ||
@@ -47,3 +47,3 @@ // instance: TableInstance< | ||
type ToggleRowSelectedProps = { | ||
onChange?: (e: MouseEvent | TouchEvent) => void | ||
onChange?: (e: unknown) => void | ||
checked?: boolean | ||
@@ -121,4 +121,4 @@ title?: string | ||
// enableGroupingRowSelection: false, | ||
// isAdditiveSelectEvent: (e: MouseEvent | TouchEvent) => !!e.metaKey, | ||
// isInclusiveSelectEvent: (e: MouseEvent | TouchEvent) => !!e.shiftKey, | ||
// isAdditiveSelectEvent: (e: unknown) => !!e.metaKey, | ||
// isInclusiveSelectEvent: (e: unknown) => !!e.shiftKey, | ||
} | ||
@@ -479,4 +479,6 @@ }, | ||
onChange: canSelect | ||
? (e: MouseEvent | TouchEvent) => { | ||
row.toggleSelected((e.target as HTMLInputElement).checked) | ||
? (e: unknown) => { | ||
row.toggleSelected( | ||
((e as MouseEvent).target as HTMLInputElement).checked | ||
) | ||
} | ||
@@ -511,5 +513,5 @@ : undefined, | ||
const initialProps: ToggleRowSelectedProps = { | ||
onChange: (e: MouseEvent | TouchEvent) => { | ||
onChange: (e: unknown) => { | ||
instance.toggleAllRowsSelected( | ||
(e.target as HTMLInputElement).checked | ||
((e as MouseEvent).target as HTMLInputElement).checked | ||
) | ||
@@ -530,5 +532,5 @@ }, | ||
const initialProps: ToggleRowSelectedProps = { | ||
onChange: (e: MouseEvent | TouchEvent) => { | ||
onChange: (e: unknown) => { | ||
instance.toggleAllPageRowsSelected( | ||
(e.target as HTMLInputElement).checked | ||
((e as MouseEvent).target as HTMLInputElement).checked | ||
) | ||
@@ -535,0 +537,0 @@ }, |
@@ -90,3 +90,3 @@ import { RowModel } from '..' | ||
maxMultiSortColCount?: number | ||
isMultiSortEvent?: (e: MouseEvent | TouchEvent) => boolean | ||
isMultiSortEvent?: (e: unknown) => boolean | ||
} | ||
@@ -96,3 +96,3 @@ | ||
title?: string | ||
onClick?: (event: MouseEvent | TouchEvent) => void | ||
onClick?: (event: unknown) => void | ||
} | ||
@@ -150,4 +150,4 @@ | ||
autoResetSorting: true, | ||
isMultiSortEvent: (e: MouseEvent | TouchEvent) => { | ||
return e.shiftKey | ||
isMultiSortEvent: (e: unknown) => { | ||
return (e as MouseEvent).shiftKey | ||
}, | ||
@@ -434,3 +434,3 @@ } | ||
onClick: canSort | ||
? (e: MouseEvent | TouchEvent) => { | ||
? (e: unknown) => { | ||
;(e as any).persist?.() | ||
@@ -437,0 +437,0 @@ column.toggleSorting?.( |
@@ -105,4 +105,6 @@ import { | ||
title: 'Toggle Column Visibility', | ||
onChange: (e: MouseEvent | TouchEvent) => { | ||
column.toggleVisibility?.((e.target as HTMLInputElement).checked) | ||
onChange: (e: unknown) => { | ||
column.toggleVisibility?.( | ||
((e as MouseEvent).target as HTMLInputElement).checked | ||
) | ||
}, | ||
@@ -109,0 +111,0 @@ } |
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 not supported yet
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 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 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
22956
2554946