Socket
Socket
Sign inDemoInstall

@tanstack/table-core

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/table-core - npm Package Compare versions

Comparing version 8.0.0-alpha.49 to 8.0.0-alpha.51

4

build/cjs/features/ColumnSizing.js

@@ -63,6 +63,6 @@ /**

setColumnSizing: function setColumnSizing(updater) {
return instance.options.onColumnSizingChange == null ? void 0 : instance.options.onColumnSizingChange(updater, utils.functionalUpdate(updater, instance.getState().columnSizing));
return instance.options.onColumnSizingChange == null ? void 0 : instance.options.onColumnSizingChange(updater);
},
setColumnSizingInfo: function setColumnSizingInfo(updater) {
return instance.options.onColumnSizingInfoChange == null ? void 0 : instance.options.onColumnSizingInfoChange(updater, utils.functionalUpdate(updater, instance.getState().columnSizingInfo));
return instance.options.onColumnSizingInfoChange == null ? void 0 : instance.options.onColumnSizingInfoChange(updater);
},

@@ -69,0 +69,0 @@ resetColumnSizing: function resetColumnSizing() {

@@ -36,4 +36,4 @@ /**

return {
_notifyExpandedReset: function _notifyExpandedReset() {
instance._notifyPageIndexReset();
queueResetExpanded: function queueResetExpanded() {
instance.queueResetPageIndex();

@@ -54,3 +54,3 @@ if (!registered) {

setExpanded: function setExpanded(updater) {
return instance.options.onExpandedChange == null ? void 0 : instance.options.onExpandedChange(updater, utils.functionalUpdate(updater, instance.getState().expanded));
return instance.options.onExpandedChange == null ? void 0 : instance.options.onExpandedChange(updater);
},

@@ -57,0 +57,0 @@ toggleRowExpanded: function toggleRowExpanded(rowId, expanded) {

@@ -105,3 +105,3 @@ /**

},
getIsColumnFiltered: function getIsColumnFiltered() {
getColumnIsFiltered: function getColumnIsFiltered() {
return instance.getColumnIsFiltered(column.id);

@@ -129,4 +129,4 @@ },

return {
_notifyFiltersReset: function _notifyFiltersReset() {
instance._notifySortingReset();
queueResetFilters: function queueResetFilters() {
instance.queueResetSorting();

@@ -218,6 +218,6 @@ if (!registered) {

instance.options.onColumnFiltersChange == null ? void 0 : instance.options.onColumnFiltersChange(updateFn, updateFn(instance.getState().columnFilters));
instance.options.onColumnFiltersChange == null ? void 0 : instance.options.onColumnFiltersChange(updateFn);
},
setGlobalFilter: function setGlobalFilter(updater) {
instance.options.onGlobalFilterChange == null ? void 0 : instance.options.onGlobalFilterChange(updater, utils.functionalUpdate(updater, instance.getState().globalFilter));
instance.options.onGlobalFilterChange == null ? void 0 : instance.options.onGlobalFilterChange(updater);
},

@@ -322,5 +322,2 @@ resetGlobalFilter: function resetGlobalFilter() {

},
getPreFilteredRowModel: function getPreFilteredRowModel() {
return instance.getCoreRowModel();
},
getPreColumnFilteredRowModel: function getPreColumnFilteredRowModel() {

@@ -327,0 +324,0 @@ return instance.getCoreRowModel();

@@ -60,4 +60,4 @@ /**

return {
_notifyGroupingReset: function _notifyGroupingReset() {
instance._notifyExpandedReset();
queueResetGrouping: function queueResetGrouping() {
instance.queueResetExpanded();

@@ -104,3 +104,3 @@ if (!registered) {

setGrouping: function setGrouping(updater) {
return instance.options.onGroupingChange == null ? void 0 : instance.options.onGroupingChange(updater, utils.functionalUpdate(updater, instance.getState().grouping));
return instance.options.onGroupingChange == null ? void 0 : instance.options.onGroupingChange(updater);
},

@@ -107,0 +107,0 @@ toggleColumnGrouping: function toggleColumnGrouping(columnId) {

@@ -33,3 +33,3 @@ /**

setColumnOrder: function setColumnOrder(updater) {
return instance.options.onColumnOrderChange == null ? void 0 : instance.options.onColumnOrderChange(updater, utils.functionalUpdate(updater, instance.getState().columnOrder));
return instance.options.onColumnOrderChange == null ? void 0 : instance.options.onColumnOrderChange(updater);
},

@@ -36,0 +36,0 @@ resetColumnOrder: function resetColumnOrder() {

@@ -38,3 +38,3 @@ /**

return {
_notifyPageIndexReset: function _notifyPageIndexReset() {
queueResetPageIndex: function queueResetPageIndex() {
if (!registered) {

@@ -59,3 +59,3 @@ registered = true;

return instance.options.onPaginationChange == null ? void 0 : instance.options.onPaginationChange(safeUpdater, utils.functionalUpdate(safeUpdater, instance.getState().pagination));
return instance.options.onPaginationChange == null ? void 0 : instance.options.onPaginationChange(safeUpdater);
},

@@ -62,0 +62,0 @@ resetPagination: function resetPagination() {

@@ -51,3 +51,3 @@ /**

setColumnPinning: function setColumnPinning(updater) {
return instance.options.onColumnPinningChange == null ? void 0 : instance.options.onColumnPinningChange(updater, utils.functionalUpdate(updater, instance.getState().columnPinning));
return instance.options.onColumnPinningChange == null ? void 0 : instance.options.onColumnPinningChange(updater);
},

@@ -54,0 +54,0 @@ resetColumnPinning: function resetColumnPinning() {

@@ -41,3 +41,3 @@ /**

return {
_notifyRowSelectionReset: function _notifyRowSelectionReset() {
queueResetRowSelection: function queueResetRowSelection() {
if (!registered) {

@@ -57,3 +57,3 @@ registered = true;

setRowSelection: function setRowSelection(updater) {
return instance.options.onRowSelectionChange == null ? void 0 : instance.options.onRowSelectionChange(updater, utils.functionalUpdate(updater, instance.getState().rowSelection));
return instance.options.onRowSelectionChange == null ? void 0 : instance.options.onRowSelectionChange(updater);
},

@@ -189,3 +189,3 @@ resetRowSelection: function resetRowSelection() {

instance.queue(function () {
return instance._notifyExpandedReset();
return instance.queueResetExpanded();
});

@@ -215,3 +215,3 @@ }

return instance.queue(function () {
return instance._notifyExpandedReset();
return instance.queueResetExpanded();
});

@@ -241,3 +241,3 @@ }

return instance.queue(function () {
return instance._notifyExpandedReset();
return instance.queueResetExpanded();
});

@@ -244,0 +244,0 @@ }

@@ -69,4 +69,4 @@ /**

return {
_notifySortingReset: function _notifySortingReset() {
instance._notifyGroupingReset();
queueResetSorting: function queueResetSorting() {
instance.queueResetGrouping();

@@ -136,3 +136,3 @@ if (!registered) {

setSorting: function setSorting(updater) {
return instance.options.onSortingChange == null ? void 0 : instance.options.onSortingChange(updater, utils.functionalUpdate(updater, instance.getState().sorting));
return instance.options.onSortingChange == null ? void 0 : instance.options.onSortingChange(updater);
},

@@ -139,0 +139,0 @@ toggleColumnSorting: function toggleColumnSorting(columnId, desc, multi) {

@@ -98,3 +98,3 @@ /**

setColumnVisibility: function setColumnVisibility(updater) {
return instance.options.onColumnVisibilityChange == null ? void 0 : instance.options.onColumnVisibilityChange(updater, utils.functionalUpdate(updater, instance.getState().columnVisibility));
return instance.options.onColumnVisibilityChange == null ? void 0 : instance.options.onColumnVisibilityChange(updater);
},

@@ -101,0 +101,0 @@ toggleColumnVisibility: function toggleColumnVisibility(columnId, value) {

@@ -107,3 +107,3 @@ /**

instance.queue(function () {
instance._notifySortingReset();
instance.queueResetSorting();
});

@@ -110,0 +110,0 @@ }

@@ -117,5 +117,4 @@ /**

instance.queue(function () {
instance._notifyFiltersReset();
instance._notifyRowSelectionReset();
instance.queueResetFilters();
instance.queueResetRowSelection();
});

@@ -122,0 +121,0 @@ }

@@ -94,5 +94,4 @@ /**

instance.queue(function () {
instance._notifyFiltersReset();
instance._notifyRowSelectionReset();
instance.queueResetFilters();
instance.queueResetRowSelection();
});

@@ -99,0 +98,0 @@ }

@@ -83,3 +83,3 @@ /**

instance.queue(function () {
instance._notifySortingReset();
instance.queueResetSorting();
});

@@ -86,0 +86,0 @@ }

@@ -152,3 +152,3 @@ /**

instance.queue(function () {
instance._notifyExpandedReset();
instance.queueResetExpanded();
});

@@ -155,0 +155,0 @@ }

@@ -110,3 +110,3 @@ /**

instance.queue(function () {
instance._notifyGroupingReset();
instance.queueResetGrouping();
});

@@ -113,0 +113,0 @@ }

@@ -10,3 +10,3 @@ {

{
"uid": "1354-58",
"uid": "f55f-58",
"name": "\u0000rollupPluginBabelHelpers.js"

@@ -18,3 +18,3 @@ },

{
"uid": "1354-60",
"uid": "f55f-60",
"name": "utils.ts"

@@ -26,43 +26,43 @@ },

{
"uid": "1354-62",
"uid": "f55f-62",
"name": "ColumnSizing.ts"
},
{
"uid": "1354-64",
"uid": "f55f-64",
"name": "Expanding.ts"
},
{
"uid": "1354-68",
"uid": "f55f-68",
"name": "Filters.ts"
},
{
"uid": "1354-72",
"uid": "f55f-72",
"name": "Grouping.ts"
},
{
"uid": "1354-74",
"uid": "f55f-74",
"name": "Ordering.ts"
},
{
"uid": "1354-76",
"uid": "f55f-76",
"name": "Pagination.ts"
},
{
"uid": "1354-78",
"uid": "f55f-78",
"name": "Pinning.ts"
},
{
"uid": "1354-80",
"uid": "f55f-80",
"name": "RowSelection.ts"
},
{
"uid": "1354-84",
"uid": "f55f-84",
"name": "Sorting.ts"
},
{
"uid": "1354-86",
"uid": "f55f-86",
"name": "Visibility.ts"
},
{
"uid": "1354-88",
"uid": "f55f-88",
"name": "Headers.ts"

@@ -73,19 +73,19 @@ }

{
"uid": "1354-66",
"uid": "f55f-66",
"name": "filterFns.ts"
},
{
"uid": "1354-70",
"uid": "f55f-70",
"name": "aggregationFns.ts"
},
{
"uid": "1354-82",
"uid": "f55f-82",
"name": "sortingFns.ts"
},
{
"uid": "1354-90",
"uid": "f55f-90",
"name": "core.ts"
},
{
"uid": "1354-92",
"uid": "f55f-92",
"name": "createTable.ts"

@@ -97,35 +97,35 @@ },

{
"uid": "1354-94",
"uid": "f55f-94",
"name": "getCoreRowModelSync.ts"
},
{
"uid": "1354-96",
"uid": "f55f-96",
"name": "getCoreRowModelAsync.ts"
},
{
"uid": "1354-98",
"uid": "f55f-98",
"name": "filterRowsUtils.ts"
},
{
"uid": "1354-100",
"uid": "f55f-100",
"name": "getColumnFilteredRowModelSync.ts"
},
{
"uid": "1354-102",
"uid": "f55f-102",
"name": "getGlobalFilteredRowModelSync.ts"
},
{
"uid": "1354-104",
"uid": "f55f-104",
"name": "getSortedRowModelSync.ts"
},
{
"uid": "1354-106",
"uid": "f55f-106",
"name": "getGroupedRowModel.ts"
},
{
"uid": "1354-108",
"uid": "f55f-108",
"name": "getExpandedRowModel.ts"
},
{
"uid": "1354-110",
"uid": "f55f-110",
"name": "getPaginationRowModel.ts"

@@ -136,3 +136,3 @@ }

{
"uid": "1354-112",
"uid": "f55f-112",
"name": "index.ts"

@@ -148,176 +148,176 @@ }

"nodeParts": {
"1354-58": {
"f55f-58": {
"renderedLength": 2695,
"gzipLength": 1065,
"brotliLength": 0,
"mainUid": "1354-57"
"mainUid": "f55f-57"
},
"1354-60": {
"f55f-60": {
"renderedLength": 7936,
"gzipLength": 2087,
"brotliLength": 0,
"mainUid": "1354-59"
"mainUid": "f55f-59"
},
"1354-62": {
"renderedLength": 11667,
"gzipLength": 2272,
"f55f-62": {
"renderedLength": 11541,
"gzipLength": 2257,
"brotliLength": 0,
"mainUid": "1354-61"
"mainUid": "f55f-61"
},
"1354-64": {
"renderedLength": 7611,
"gzipLength": 1612,
"f55f-64": {
"renderedLength": 7548,
"gzipLength": 1589,
"brotliLength": 0,
"mainUid": "1354-63"
"mainUid": "f55f-63"
},
"1354-66": {
"f55f-66": {
"renderedLength": 4435,
"gzipLength": 783,
"brotliLength": 0,
"mainUid": "1354-65"
"mainUid": "f55f-65"
},
"1354-68": {
"renderedLength": 14101,
"gzipLength": 2523,
"f55f-68": {
"renderedLength": 13865,
"gzipLength": 2490,
"brotliLength": 0,
"mainUid": "1354-67"
"mainUid": "f55f-67"
},
"1354-70": {
"f55f-70": {
"renderedLength": 2672,
"gzipLength": 771,
"brotliLength": 0,
"mainUid": "1354-69"
"mainUid": "f55f-69"
},
"1354-72": {
"renderedLength": 8045,
"gzipLength": 1712,
"f55f-72": {
"renderedLength": 7982,
"gzipLength": 1693,
"brotliLength": 0,
"mainUid": "1354-71"
"mainUid": "f55f-71"
},
"1354-74": {
"renderedLength": 2639,
"gzipLength": 799,
"f55f-74": {
"renderedLength": 2579,
"gzipLength": 790,
"brotliLength": 0,
"mainUid": "1354-73"
"mainUid": "f55f-73"
},
"1354-76": {
"renderedLength": 5978,
"gzipLength": 1232,
"f55f-76": {
"renderedLength": 5911,
"gzipLength": 1220,
"brotliLength": 0,
"mainUid": "1354-75"
"mainUid": "f55f-75"
},
"1354-78": {
"renderedLength": 5842,
"gzipLength": 1084,
"f55f-78": {
"renderedLength": 5780,
"gzipLength": 1073,
"brotliLength": 0,
"mainUid": "1354-77"
"mainUid": "f55f-77"
},
"1354-80": {
"renderedLength": 18194,
"gzipLength": 3061,
"f55f-80": {
"renderedLength": 18123,
"gzipLength": 3035,
"brotliLength": 0,
"mainUid": "1354-79"
"mainUid": "f55f-79"
},
"1354-82": {
"f55f-82": {
"renderedLength": 2753,
"gzipLength": 846,
"brotliLength": 0,
"mainUid": "1354-81"
"mainUid": "f55f-81"
},
"1354-84": {
"renderedLength": 11837,
"gzipLength": 2491,
"f55f-84": {
"renderedLength": 11775,
"gzipLength": 2476,
"brotliLength": 0,
"mainUid": "1354-83"
"mainUid": "f55f-83"
},
"1354-86": {
"renderedLength": 6367,
"gzipLength": 1219,
"f55f-86": {
"renderedLength": 6302,
"gzipLength": 1207,
"brotliLength": 0,
"mainUid": "1354-85"
"mainUid": "f55f-85"
},
"1354-88": {
"f55f-88": {
"renderedLength": 23655,
"gzipLength": 3372,
"brotliLength": 0,
"mainUid": "1354-87"
"mainUid": "f55f-87"
},
"1354-90": {
"f55f-90": {
"renderedLength": 16750,
"gzipLength": 3189,
"brotliLength": 0,
"mainUid": "1354-89"
"mainUid": "f55f-89"
},
"1354-92": {
"f55f-92": {
"renderedLength": 1895,
"gzipLength": 565,
"brotliLength": 0,
"mainUid": "1354-91"
"mainUid": "f55f-91"
},
"1354-94": {
"renderedLength": 2467,
"gzipLength": 805,
"f55f-94": {
"renderedLength": 2462,
"gzipLength": 797,
"brotliLength": 0,
"mainUid": "1354-93"
"mainUid": "f55f-93"
},
"1354-96": {
"renderedLength": 3564,
"gzipLength": 1020,
"f55f-96": {
"renderedLength": 3559,
"gzipLength": 1014,
"brotliLength": 0,
"mainUid": "1354-95"
"mainUid": "f55f-95"
},
"1354-98": {
"f55f-98": {
"renderedLength": 2457,
"gzipLength": 568,
"brotliLength": 0,
"mainUid": "1354-97"
"mainUid": "f55f-97"
},
"1354-100": {
"renderedLength": 3132,
"gzipLength": 897,
"f55f-100": {
"renderedLength": 3130,
"gzipLength": 892,
"brotliLength": 0,
"mainUid": "1354-99"
"mainUid": "f55f-99"
},
"1354-102": {
"renderedLength": 2471,
"gzipLength": 698,
"f55f-102": {
"renderedLength": 2469,
"gzipLength": 693,
"brotliLength": 0,
"mainUid": "1354-101"
"mainUid": "f55f-101"
},
"1354-104": {
"renderedLength": 3439,
"gzipLength": 1025,
"f55f-104": {
"renderedLength": 3437,
"gzipLength": 1020,
"brotliLength": 0,
"mainUid": "1354-103"
"mainUid": "f55f-103"
},
"1354-106": {
"renderedLength": 5784,
"gzipLength": 1530,
"f55f-106": {
"renderedLength": 5782,
"gzipLength": 1525,
"brotliLength": 0,
"mainUid": "1354-105"
"mainUid": "f55f-105"
},
"1354-108": {
"f55f-108": {
"renderedLength": 1385,
"gzipLength": 494,
"brotliLength": 0,
"mainUid": "1354-107"
"mainUid": "f55f-107"
},
"1354-110": {
"f55f-110": {
"renderedLength": 1254,
"gzipLength": 407,
"brotliLength": 0,
"mainUid": "1354-109"
"mainUid": "f55f-109"
},
"1354-112": {
"f55f-112": {
"renderedLength": 0,
"gzipLength": 0,
"brotliLength": 0,
"mainUid": "1354-111"
"mainUid": "f55f-111"
}
},
"nodeMetas": {
"1354-57": {
"f55f-57": {
"id": "\u0000rollupPluginBabelHelpers.js",
"moduleParts": {
"index.production.js": "1354-58"
"index.production.js": "f55f-58"
},

@@ -327,44 +327,44 @@ "imported": [],

{
"uid": "1354-89"
"uid": "f55f-89"
},
{
"uid": "1354-91"
"uid": "f55f-91"
},
{
"uid": "1354-61"
"uid": "f55f-61"
},
{
"uid": "1354-63"
"uid": "f55f-63"
},
{
"uid": "1354-75"
"uid": "f55f-75"
},
{
"uid": "1354-79"
"uid": "f55f-79"
},
{
"uid": "1354-83"
"uid": "f55f-83"
},
{
"uid": "1354-85"
"uid": "f55f-85"
},
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-95"
"uid": "f55f-95"
},
{
"uid": "1354-69"
"uid": "f55f-69"
}
]
},
"1354-59": {
"f55f-59": {
"id": "/packages/table-core/src/utils.ts",
"moduleParts": {
"index.production.js": "1354-60"
"index.production.js": "f55f-60"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
}

@@ -374,77 +374,77 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
},
{
"uid": "1354-61"
"uid": "f55f-61"
},
{
"uid": "1354-63"
"uid": "f55f-63"
},
{
"uid": "1354-67"
"uid": "f55f-67"
},
{
"uid": "1354-71"
"uid": "f55f-71"
},
{
"uid": "1354-87"
"uid": "f55f-87"
},
{
"uid": "1354-73"
"uid": "f55f-73"
},
{
"uid": "1354-75"
"uid": "f55f-75"
},
{
"uid": "1354-77"
"uid": "f55f-77"
},
{
"uid": "1354-79"
"uid": "f55f-79"
},
{
"uid": "1354-83"
"uid": "f55f-83"
},
{
"uid": "1354-85"
"uid": "f55f-85"
},
{
"uid": "1354-93"
"uid": "f55f-93"
},
{
"uid": "1354-95"
"uid": "f55f-95"
},
{
"uid": "1354-99"
"uid": "f55f-99"
},
{
"uid": "1354-101"
"uid": "f55f-101"
},
{
"uid": "1354-103"
"uid": "f55f-103"
},
{
"uid": "1354-105"
"uid": "f55f-105"
},
{
"uid": "1354-107"
"uid": "f55f-107"
},
{
"uid": "1354-109"
"uid": "f55f-109"
}
]
},
"1354-61": {
"f55f-61": {
"id": "/packages/table-core/src/features/ColumnSizing.ts",
"moduleParts": {
"index.production.js": "1354-62"
"index.production.js": "f55f-62"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -454,23 +454,23 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
},
{
"uid": "1354-87"
"uid": "f55f-87"
}
]
},
"1354-63": {
"f55f-63": {
"id": "/packages/table-core/src/features/Expanding.ts",
"moduleParts": {
"index.production.js": "1354-64"
"index.production.js": "f55f-64"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -480,13 +480,13 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-65": {
"f55f-65": {
"id": "/packages/table-core/src/filterFns.ts",
"moduleParts": {
"index.production.js": "1354-66"
"index.production.js": "f55f-66"
},

@@ -496,17 +496,17 @@ "imported": [],

{
"uid": "1354-67"
"uid": "f55f-67"
}
]
},
"1354-67": {
"f55f-67": {
"id": "/packages/table-core/src/features/Filters.ts",
"moduleParts": {
"index.production.js": "1354-68"
"index.production.js": "f55f-68"
},
"imported": [
{
"uid": "1354-65"
"uid": "f55f-65"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -516,17 +516,17 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-69": {
"f55f-69": {
"id": "/packages/table-core/src/aggregationFns.ts",
"moduleParts": {
"index.production.js": "1354-70"
"index.production.js": "f55f-70"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
}

@@ -536,20 +536,20 @@ ],

{
"uid": "1354-89"
"uid": "f55f-89"
},
{
"uid": "1354-71"
"uid": "f55f-71"
}
]
},
"1354-71": {
"f55f-71": {
"id": "/packages/table-core/src/features/Grouping.ts",
"moduleParts": {
"index.production.js": "1354-72"
"index.production.js": "f55f-72"
},
"imported": [
{
"uid": "1354-69"
"uid": "f55f-69"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -559,23 +559,23 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
},
{
"uid": "1354-73"
"uid": "f55f-73"
}
]
},
"1354-73": {
"f55f-73": {
"id": "/packages/table-core/src/features/Ordering.ts",
"moduleParts": {
"index.production.js": "1354-74"
"index.production.js": "f55f-74"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-71"
"uid": "f55f-71"
}

@@ -585,20 +585,20 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-75": {
"f55f-75": {
"id": "/packages/table-core/src/features/Pagination.ts",
"moduleParts": {
"index.production.js": "1354-76"
"index.production.js": "f55f-76"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -608,17 +608,17 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-77": {
"f55f-77": {
"id": "/packages/table-core/src/features/Pinning.ts",
"moduleParts": {
"index.production.js": "1354-78"
"index.production.js": "f55f-78"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -628,20 +628,20 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-79": {
"f55f-79": {
"id": "/packages/table-core/src/features/RowSelection.ts",
"moduleParts": {
"index.production.js": "1354-80"
"index.production.js": "f55f-80"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -651,13 +651,13 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-81": {
"f55f-81": {
"id": "/packages/table-core/src/sortingFns.ts",
"moduleParts": {
"index.production.js": "1354-82"
"index.production.js": "f55f-82"
},

@@ -667,20 +667,20 @@ "imported": [],

{
"uid": "1354-83"
"uid": "f55f-83"
}
]
},
"1354-83": {
"f55f-83": {
"id": "/packages/table-core/src/features/Sorting.ts",
"moduleParts": {
"index.production.js": "1354-84"
"index.production.js": "f55f-84"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-81"
"uid": "f55f-81"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -690,20 +690,20 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-85": {
"f55f-85": {
"id": "/packages/table-core/src/features/Visibility.ts",
"moduleParts": {
"index.production.js": "1354-86"
"index.production.js": "f55f-86"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -713,20 +713,20 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-87": {
"f55f-87": {
"id": "/packages/table-core/src/features/Headers.ts",
"moduleParts": {
"index.production.js": "1354-88"
"index.production.js": "f55f-88"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-61"
"uid": "f55f-61"
}

@@ -736,56 +736,56 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-89"
"uid": "f55f-89"
}
]
},
"1354-89": {
"f55f-89": {
"id": "/packages/table-core/src/core.ts",
"moduleParts": {
"index.production.js": "1354-90"
"index.production.js": "f55f-90"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-61"
"uid": "f55f-61"
},
{
"uid": "1354-63"
"uid": "f55f-63"
},
{
"uid": "1354-67"
"uid": "f55f-67"
},
{
"uid": "1354-71"
"uid": "f55f-71"
},
{
"uid": "1354-73"
"uid": "f55f-73"
},
{
"uid": "1354-75"
"uid": "f55f-75"
},
{
"uid": "1354-77"
"uid": "f55f-77"
},
{
"uid": "1354-79"
"uid": "f55f-79"
},
{
"uid": "1354-83"
"uid": "f55f-83"
},
{
"uid": "1354-85"
"uid": "f55f-85"
},
{
"uid": "1354-87"
"uid": "f55f-87"
},
{
"uid": "1354-69"
"uid": "f55f-69"
}

@@ -795,14 +795,14 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-91": {
"f55f-91": {
"id": "/packages/table-core/src/createTable.ts",
"moduleParts": {
"index.production.js": "1354-92"
"index.production.js": "f55f-92"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
}

@@ -812,14 +812,14 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-93": {
"f55f-93": {
"id": "/packages/table-core/src/utils/getCoreRowModelSync.ts",
"moduleParts": {
"index.production.js": "1354-94"
"index.production.js": "f55f-94"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -829,17 +829,17 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-95": {
"f55f-95": {
"id": "/packages/table-core/src/utils/getCoreRowModelAsync.ts",
"moduleParts": {
"index.production.js": "1354-96"
"index.production.js": "f55f-96"
},
"imported": [
{
"uid": "1354-57"
"uid": "f55f-57"
},
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -849,10 +849,10 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-97": {
"f55f-97": {
"id": "/packages/table-core/src/utils/filterRowsUtils.ts",
"moduleParts": {
"index.production.js": "1354-98"
"index.production.js": "f55f-98"
},

@@ -862,20 +862,20 @@ "imported": [],

{
"uid": "1354-99"
"uid": "f55f-99"
},
{
"uid": "1354-101"
"uid": "f55f-101"
}
]
},
"1354-99": {
"f55f-99": {
"id": "/packages/table-core/src/utils/getColumnFilteredRowModelSync.ts",
"moduleParts": {
"index.production.js": "1354-100"
"index.production.js": "f55f-100"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-97"
"uid": "f55f-97"
}

@@ -885,17 +885,17 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-101": {
"f55f-101": {
"id": "/packages/table-core/src/utils/getGlobalFilteredRowModelSync.ts",
"moduleParts": {
"index.production.js": "1354-102"
"index.production.js": "f55f-102"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-97"
"uid": "f55f-97"
}

@@ -905,14 +905,14 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-103": {
"f55f-103": {
"id": "/packages/table-core/src/utils/getSortedRowModelSync.ts",
"moduleParts": {
"index.production.js": "1354-104"
"index.production.js": "f55f-104"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -922,14 +922,14 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-105": {
"f55f-105": {
"id": "/packages/table-core/src/utils/getGroupedRowModel.ts",
"moduleParts": {
"index.production.js": "1354-106"
"index.production.js": "f55f-106"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -939,14 +939,14 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-107": {
"f55f-107": {
"id": "/packages/table-core/src/utils/getExpandedRowModel.ts",
"moduleParts": {
"index.production.js": "1354-108"
"index.production.js": "f55f-108"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
}

@@ -956,20 +956,20 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
},
{
"uid": "1354-109"
"uid": "f55f-109"
}
]
},
"1354-109": {
"f55f-109": {
"id": "/packages/table-core/src/utils/getPaginationRowModel.ts",
"moduleParts": {
"index.production.js": "1354-110"
"index.production.js": "f55f-110"
},
"imported": [
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-107"
"uid": "f55f-107"
}

@@ -979,80 +979,80 @@ ],

{
"uid": "1354-111"
"uid": "f55f-111"
}
]
},
"1354-111": {
"f55f-111": {
"id": "/packages/table-core/src/index.ts",
"moduleParts": {
"index.production.js": "1354-112"
"index.production.js": "f55f-112"
},
"imported": [
{
"uid": "1354-89"
"uid": "f55f-89"
},
{
"uid": "1354-113"
"uid": "f55f-113"
},
{
"uid": "1354-91"
"uid": "f55f-91"
},
{
"uid": "1354-61"
"uid": "f55f-61"
},
{
"uid": "1354-63"
"uid": "f55f-63"
},
{
"uid": "1354-67"
"uid": "f55f-67"
},
{
"uid": "1354-71"
"uid": "f55f-71"
},
{
"uid": "1354-87"
"uid": "f55f-87"
},
{
"uid": "1354-73"
"uid": "f55f-73"
},
{
"uid": "1354-75"
"uid": "f55f-75"
},
{
"uid": "1354-77"
"uid": "f55f-77"
},
{
"uid": "1354-79"
"uid": "f55f-79"
},
{
"uid": "1354-83"
"uid": "f55f-83"
},
{
"uid": "1354-85"
"uid": "f55f-85"
},
{
"uid": "1354-59"
"uid": "f55f-59"
},
{
"uid": "1354-93"
"uid": "f55f-93"
},
{
"uid": "1354-95"
"uid": "f55f-95"
},
{
"uid": "1354-99"
"uid": "f55f-99"
},
{
"uid": "1354-101"
"uid": "f55f-101"
},
{
"uid": "1354-103"
"uid": "f55f-103"
},
{
"uid": "1354-105"
"uid": "f55f-105"
},
{
"uid": "1354-107"
"uid": "f55f-107"
},
{
"uid": "1354-109"
"uid": "f55f-109"
}

@@ -1063,3 +1063,3 @@ ],

},
"1354-113": {
"f55f-113": {
"id": "/packages/table-core/src/types.ts",

@@ -1070,3 +1070,3 @@ "moduleParts": {},

{
"uid": "1354-111"
"uid": "f55f-111"
}

@@ -1073,0 +1073,0 @@ ]

@@ -30,3 +30,3 @@ import { RowModel } from '..';

export declare type ExpandedInstance<TGenerics extends AnyGenerics> = {
_notifyExpandedReset: () => void;
queueResetExpanded: () => void;
setExpanded: (updater: Updater<ExpandedState>) => void;

@@ -33,0 +33,0 @@ toggleRowExpanded: (rowId: string, expanded?: boolean) => void;

@@ -41,5 +41,5 @@ import { RowModel } from '..';

getColumnFilterIndex: () => number;
getIsColumnFiltered: () => boolean;
getColumnIsFiltered: () => boolean;
getColumnFilterValue: () => unknown;
setColumnFilterValue: (value: any) => void;
setColumnFilterValue: (updater: Updater<any>) => void;
getPreFilteredRows: () => Row<TGenerics>[] | undefined;

@@ -65,14 +65,12 @@ getPreFilteredUniqueValues: () => Map<any, number>;

export declare type FiltersInstance<TGenerics extends AnyGenerics> = {
_notifyFiltersReset: () => void;
queueResetFilters: () => void;
getColumnAutoFilterFn: (columnId: string) => FilterFn<TGenerics> | undefined;
getColumnFilterFn: (columnId: string) => FilterFn<TGenerics> | undefined;
setColumnFilters: (updater: Updater<ColumnFiltersState>) => void;
setColumnFilterValue: (columnId: string, value: any) => void;
setColumnFilterValue: (columnId: string, updater: Updater<any>) => void;
resetColumnFilters: () => void;
getColumnCanColumnFilter: (columnId: string) => boolean;
getColumnCanGlobalFilterFn?: (column: Column<TGenerics>) => boolean;
getColumnIsFiltered: (columnId: string) => boolean;
getColumnFilterValue: (columnId: string) => unknown;
getColumnFilterIndex: (columnId: string) => number;
getPreFilteredRowModel: () => RowModel<TGenerics>;
getPreColumnFilteredRowModel: () => RowModel<TGenerics>;

@@ -79,0 +77,0 @@ getColumnFilteredRowModel: () => RowModel<TGenerics>;

@@ -68,3 +68,3 @@ import { RowModel } from '..';

export declare type GroupingInstance<TGenerics extends AnyGenerics> = {
_notifyGroupingReset: () => void;
queueResetGrouping: () => void;
getColumnAutoAggregationFn: (columnId: string) => AggregationFn<TGenerics> | undefined;

@@ -71,0 +71,0 @@ getColumnAggregationFn: (columnId: string) => AggregationFn<TGenerics> | undefined;

@@ -20,3 +20,3 @@ import { OnChangeFn, AnyGenerics, TableInstance, RowModel, Updater } from '../types';

export declare type PaginationInstance<TGenerics extends AnyGenerics> = {
_notifyPageIndexReset: () => void;
queueResetPageIndex: () => void;
setPagination: (updater: Updater<PaginationState>) => void;

@@ -23,0 +23,0 @@ resetPagination: () => void;

@@ -28,3 +28,3 @@ import { Getter, OnChangeFn, AnyGenerics, PropGetterValue, TableInstance, Row, RowModel, Updater } from '../types';

export declare type RowSelectionInstance<TGenerics extends AnyGenerics> = {
_notifyRowSelectionReset: () => void;
queueResetRowSelection: () => void;
getToggleRowSelectedProps: <TGetter extends Getter<ToggleRowSelectedProps>>(rowId: string, userProps?: TGetter) => undefined | PropGetterValue<ToggleRowSelectedProps, TGetter>;

@@ -31,0 +31,0 @@ getToggleAllRowsSelectedProps: <TGetter extends Getter<ToggleRowSelectedProps>>(userProps?: TGetter) => undefined | PropGetterValue<ToggleRowSelectedProps, TGetter>;

@@ -60,3 +60,3 @@ import { RowModel } from '..';

export declare type SortingInstance<TGenerics extends AnyGenerics> = {
_notifySortingReset: () => void;
queueResetSorting: () => void;
getColumnAutoSortingFn: (columnId: string) => SortingFn<TGenerics> | undefined;

@@ -63,0 +63,0 @@ getColumnAutoSortDir: (columnId: string) => SortDirection;

@@ -42,3 +42,3 @@ import { CoreColumn, CoreColumnDef, CoreOptions, CoreRow, CoreTableState, TableCore } from './core';

export declare type Updater<T> = T | ((old: T) => T);
export declare type OnChangeFn<T> = (updaterOrValue: Updater<T>, value: T) => void;
export declare type OnChangeFn<T> = (updaterOrValue: Updater<T>) => void;
export declare type TableState = CoreTableState & VisibilityTableState & ColumnOrderTableState & ColumnPinningTableState & FiltersTableState & SortingTableState & ExpandedTableState & GroupingTableState & ColumnSizingTableState & PaginationTableState & RowSelectionTableState;

@@ -45,0 +45,0 @@ export declare type Row<TGenerics extends AnyGenerics> = CoreRow<TGenerics> & VisibilityRow<TGenerics> & HeadersRow<TGenerics> & GroupingRow & RowSelectionRow & ExpandedRow;

{
"name": "@tanstack/table-core",
"author": "Tanner Linsley",
"version": "8.0.0-alpha.49",
"version": "8.0.0-alpha.51",
"description": "Hooks for building lightweight, fast and extendable datagrids for React",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -154,11 +154,5 @@ import {

setColumnSizing: updater =>
instance.options.onColumnSizingChange?.(
updater,
functionalUpdate(updater, instance.getState().columnSizing)
),
instance.options.onColumnSizingChange?.(updater),
setColumnSizingInfo: updater =>
instance.options.onColumnSizingInfoChange?.(
updater,
functionalUpdate(updater, instance.getState().columnSizingInfo)
),
instance.options.onColumnSizingInfoChange?.(updater),
resetColumnSizing: () => {

@@ -165,0 +159,0 @@ instance.setColumnSizing(instance.initialState.columnSizing ?? {})

@@ -49,3 +49,3 @@ import { RowModel } from '..'

export type ExpandedInstance<TGenerics extends AnyGenerics> = {
_notifyExpandedReset: () => void
queueResetExpanded: () => void
setExpanded: (updater: Updater<ExpandedState>) => void

@@ -99,4 +99,4 @@ toggleRowExpanded: (rowId: string, expanded?: boolean) => void

return {
_notifyExpandedReset: () => {
instance._notifyPageIndexReset()
queueResetExpanded: () => {
instance.queueResetPageIndex()

@@ -119,7 +119,3 @@ if (!registered) {

},
setExpanded: updater =>
instance.options.onExpandedChange?.(
updater,
functionalUpdate(updater, instance.getState().expanded)
),
setExpanded: updater => instance.options.onExpandedChange?.(updater),
toggleRowExpanded: (rowId, expanded) => {

@@ -126,0 +122,0 @@ if (!rowId) return

@@ -74,5 +74,5 @@ import { RowModel } from '..'

getColumnFilterIndex: () => number
getIsColumnFiltered: () => boolean
getColumnIsFiltered: () => boolean
getColumnFilterValue: () => unknown
setColumnFilterValue: (value: any) => void
setColumnFilterValue: (updater: Updater<any>) => void
getPreFilteredRows: () => Row<TGenerics>[] | undefined

@@ -106,3 +106,3 @@ getPreFilteredUniqueValues: () => Map<any, number>

export type FiltersInstance<TGenerics extends AnyGenerics> = {
_notifyFiltersReset: () => void
queueResetFilters: () => void
getColumnAutoFilterFn: (columnId: string) => FilterFn<TGenerics> | undefined

@@ -113,6 +113,5 @@

setColumnFilters: (updater: Updater<ColumnFiltersState>) => void
setColumnFilterValue: (columnId: string, value: any) => void
setColumnFilterValue: (columnId: string, updater: Updater<any>) => void
resetColumnFilters: () => void
getColumnCanColumnFilter: (columnId: string) => boolean
getColumnCanGlobalFilterFn?: (column: Column<TGenerics>) => boolean

@@ -123,5 +122,2 @@ getColumnIsFiltered: (columnId: string) => boolean

// All
getPreFilteredRowModel: () => RowModel<TGenerics>
// Column Filters

@@ -232,3 +228,3 @@ getPreColumnFilteredRowModel: () => RowModel<TGenerics>

getColumnFilterIndex: () => instance.getColumnFilterIndex(column.id),
getIsColumnFiltered: () => instance.getColumnIsFiltered(column.id),
getColumnIsFiltered: () => instance.getColumnIsFiltered(column.id),
getColumnFilterValue: () => instance.getColumnFilterValue(column.id),

@@ -249,4 +245,4 @@ setColumnFilterValue: val =>

return {
_notifyFiltersReset: () => {
instance._notifySortingReset()
queueResetFilters: () => {
instance.queueResetSorting()

@@ -357,13 +353,7 @@ if (!registered) {

instance.options.onColumnFiltersChange?.(
updateFn,
updateFn(instance.getState().columnFilters)
)
instance.options.onColumnFiltersChange?.(updateFn)
},
setGlobalFilter: updater => {
instance.options.onGlobalFilterChange?.(
updater,
functionalUpdate(updater, instance.getState().globalFilter)
)
instance.options.onGlobalFilterChange?.(updater)
},

@@ -482,3 +472,2 @@

getPreFilteredRowModel: () => instance.getCoreRowModel(),
getPreColumnFilteredRowModel: () => instance.getCoreRowModel(),

@@ -485,0 +474,0 @@ getColumnFilteredRowModel: () => {

@@ -117,3 +117,3 @@ import { RowModel } from '..'

export type GroupingInstance<TGenerics extends AnyGenerics> = {
_notifyGroupingReset: () => void
queueResetGrouping: () => void
getColumnAutoAggregationFn: (

@@ -189,4 +189,4 @@ columnId: string

return {
_notifyGroupingReset: () => {
instance._notifyExpandedReset()
queueResetGrouping: () => {
instance.queueResetExpanded()

@@ -244,7 +244,3 @@ if (!registered) {

setGrouping: updater =>
instance.options.onGroupingChange?.(
updater,
functionalUpdate(updater, instance.getState().grouping)
),
setGrouping: updater => instance.options.onGroupingChange?.(updater),

@@ -251,0 +247,0 @@ toggleColumnGrouping: columnId => {

@@ -56,6 +56,3 @@ import { functionalUpdate, makeStateUpdater, memo } from '../utils'

setColumnOrder: updater =>
instance.options.onColumnOrderChange?.(
updater,
functionalUpdate(updater, instance.getState().columnOrder)
),
instance.options.onColumnOrderChange?.(updater),
resetColumnOrder: () => {

@@ -62,0 +59,0 @@ instance.setColumnOrder(instance.initialState.columnOrder ?? [])

@@ -35,3 +35,3 @@ import {

export type PaginationInstance<TGenerics extends AnyGenerics> = {
_notifyPageIndexReset: () => void
queueResetPageIndex: () => void
setPagination: (updater: Updater<PaginationState>) => void

@@ -82,3 +82,3 @@ resetPagination: () => void

return {
_notifyPageIndexReset: () => {
queueResetPageIndex: () => {
if (!registered) {

@@ -107,6 +107,3 @@ registered = true

return instance.options.onPaginationChange?.(
safeUpdater,
functionalUpdate(safeUpdater, instance.getState().pagination)
)
return instance.options.onPaginationChange?.(safeUpdater)
},

@@ -113,0 +110,0 @@ resetPagination: () => {

@@ -90,6 +90,3 @@ import {

setColumnPinning: updater =>
instance.options.onColumnPinningChange?.(
updater,
functionalUpdate(updater, instance.getState().columnPinning)
),
instance.options.onColumnPinningChange?.(updater),

@@ -96,0 +93,0 @@ resetColumnPinning: () =>

@@ -64,3 +64,3 @@ import {

export type RowSelectionInstance<TGenerics extends AnyGenerics> = {
_notifyRowSelectionReset: () => void
queueResetRowSelection: () => void
getToggleRowSelectedProps: <TGetter extends Getter<ToggleRowSelectedProps>>(

@@ -133,3 +133,3 @@ rowId: string,

return {
_notifyRowSelectionReset: () => {
queueResetRowSelection: () => {
if (!registered) {

@@ -152,6 +152,3 @@ registered = true

setRowSelection: updater =>
instance.options.onRowSelectionChange?.(
updater,
functionalUpdate(updater, instance.getState().rowSelection)
),
instance.options.onRowSelectionChange?.(updater),
resetRowSelection: () =>

@@ -294,3 +291,3 @@ instance.setRowSelection(instance.initialState.rowSelection ?? {}),

onChange: () => {
instance.queue(() => instance._notifyExpandedReset())
instance.queue(() => instance.queueResetExpanded())
},

@@ -319,3 +316,3 @@ }

debug: () => instance.options.debugAll ?? instance.options.debugTable,
onChange: () => instance.queue(() => instance._notifyExpandedReset()),
onChange: () => instance.queue(() => instance.queueResetExpanded()),
}

@@ -340,3 +337,3 @@ ),

debug: () => instance.options.debugAll ?? instance.options.debugTable,
onChange: () => instance.queue(() => instance._notifyExpandedReset()),
onChange: () => instance.queue(() => instance.queueResetExpanded()),
}

@@ -343,0 +340,0 @@ ),

@@ -103,3 +103,3 @@ import { RowModel } from '..'

export type SortingInstance<TGenerics extends AnyGenerics> = {
_notifySortingReset: () => void
queueResetSorting: () => void
getColumnAutoSortingFn: (columnId: string) => SortingFn<TGenerics> | undefined

@@ -183,4 +183,4 @@ getColumnAutoSortDir: (columnId: string) => SortDirection

return {
_notifySortingReset: () => {
instance._notifyGroupingReset()
queueResetSorting: () => {
instance.queueResetGrouping()

@@ -263,7 +263,3 @@ if (!registered) {

setSorting: updater =>
instance.options.onSortingChange?.(
updater,
functionalUpdate(updater, instance.getState().sorting)
),
setSorting: updater => instance.options.onSortingChange?.(updater),

@@ -270,0 +266,0 @@ toggleColumnSorting: (columnId, desc, multi) => {

@@ -160,6 +160,3 @@ import {

setColumnVisibility: updater =>
instance.options.onColumnVisibilityChange?.(
updater,
functionalUpdate(updater, instance.getState().columnVisibility)
),
instance.options.onColumnVisibilityChange?.(updater),

@@ -166,0 +163,0 @@ toggleColumnVisibility: (columnId, value) => {

@@ -141,3 +141,3 @@ import {

export type Updater<T> = T | ((old: T) => T)
export type OnChangeFn<T> = (updaterOrValue: Updater<T>, value: T) => void
export type OnChangeFn<T> = (updaterOrValue: Updater<T>) => void

@@ -144,0 +144,0 @@ export type TableState = CoreTableState &

@@ -117,3 +117,3 @@ import { TableInstance, RowModel, AnyGenerics, Row } from '../types'

instance.queue(() => {
instance._notifySortingReset()
instance.queueResetSorting()
})

@@ -120,0 +120,0 @@ },

@@ -97,3 +97,3 @@ import { TableInstance, RowModel, AnyGenerics, Row } from '../types'

instance.queue(() => {
instance._notifySortingReset()
instance.queueResetSorting()
})

@@ -100,0 +100,0 @@ },

@@ -99,4 +99,4 @@ import { TableInstance, Row, RowModel, AnyGenerics } from '../types'

instance.queue(() => {
instance._notifyFiltersReset()
instance._notifyRowSelectionReset()
instance.queueResetFilters()
instance.queueResetRowSelection()
})

@@ -103,0 +103,0 @@ },

@@ -101,4 +101,4 @@ import { TableInstance, Row, RowModel, AnyGenerics } from '../types'

instance.queue(() => {
instance._notifyFiltersReset()
instance._notifyRowSelectionReset()
instance.queueResetFilters()
instance.queueResetRowSelection()
})

@@ -105,0 +105,0 @@ },

@@ -95,3 +95,3 @@ import { TableInstance, RowModel, AnyGenerics, Row } from '../types'

instance.queue(() => {
instance._notifySortingReset()
instance.queueResetSorting()
})

@@ -98,0 +98,0 @@ },

@@ -74,3 +74,3 @@ import { TableInstance, RowModel, AnyGenerics, Row } from '../types'

instance.queue(() => {
instance._notifySortingReset()
instance.queueResetSorting()
})

@@ -77,0 +77,0 @@ },

@@ -168,3 +168,3 @@ import { TableInstance, Row, RowModel, AnyGenerics } from '../types'

instance.queue(() => {
instance._notifyExpandedReset()
instance.queueResetExpanded()
})

@@ -171,0 +171,0 @@ },

@@ -87,3 +87,3 @@ import { TableInstance, Row, RowModel, AnyGenerics } from '../types'

instance.queue(() => {
instance._notifyGroupingReset()
instance.queueResetGrouping()
})

@@ -90,0 +90,0 @@ },

@@ -113,3 +113,3 @@ import { TableInstance, Row, RowModel, AnyGenerics } from '../types'

instance.queue(() => {
instance._notifyGroupingReset()
instance.queueResetGrouping()
})

@@ -116,0 +116,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 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 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 too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc