Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.42 to 8.0.0-alpha.43

4

build/cjs/utils/getColumnFilteredRowModelSync.js

@@ -21,6 +21,6 @@ /**

return utils.memo(function () {
return [instance.getState().columnFilters, instance.getCoreRowModel()];
return [instance.getState().columnFilters, instance.getPreColumnFilteredRowModel()];
}, function (columnFilters, rowModel) {
var columnFilteredRowModel = function () {
if (!rowModel.rows.length || !columnFilters) {
if (!rowModel.rows.length || !(columnFilters != null && columnFilters.length)) {
return rowModel;

@@ -27,0 +27,0 @@ }

@@ -20,3 +20,3 @@ /**

return utils.memo(function () {
return [instance.getState().expanded, instance.getGroupedRowModel(), instance.options.paginateExpandedRows];
return [instance.getState().expanded, instance.getPreExpandedRowModel(), instance.options.paginateExpandedRows];
}, function (expanded, rowModel, paginateExpandedRows) {

@@ -23,0 +23,0 @@ if (!rowModel.rows.length || // Do not expand if rows are not included in pagination

@@ -21,3 +21,3 @@ /**

return utils.memo(function () {
return [instance.getState().globalFilter, instance.getCoreRowModel()];
return [instance.getState().globalFilter, instance.getPreGlobalFilteredRowModel()];
}, function (globalFilter, rowModel) {

@@ -24,0 +24,0 @@ var globalFilteredRowModel = function () {

@@ -20,3 +20,3 @@ /**

return utils.memo(function () {
return [instance.getState().grouping, instance.getSortedRowModel()];
return [instance.getState().grouping, instance.getPreGroupedRowModel()];
}, function (grouping, rowModel) {

@@ -23,0 +23,0 @@ if (!rowModel.rows.length || !grouping.length) {

@@ -21,3 +21,3 @@ /**

return utils.memo(function () {
return [instance.getState().pagination, instance.getExpandedRowModel()];
return [instance.getState().pagination, instance.getPrePaginationRowModel()];
}, function (pagination, rowModel) {

@@ -24,0 +24,0 @@ if (!rowModel.rows.length) {

@@ -20,3 +20,3 @@ /**

return utils.memo(function () {
return [instance.getState().sorting, instance.getGlobalFilteredRowModel()];
return [instance.getState().sorting, instance.getPreSortedRowModel()];
}, function (sorting, rowModel) {

@@ -23,0 +23,0 @@ if (!rowModel.rows.length || !(sorting != null && sorting.length)) {

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

{
"uid": "a850-58",
"uid": "9a70-58",
"name": "\u0000rollupPluginBabelHelpers.js"

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

{
"uid": "a850-60",
"uid": "9a70-60",
"name": "utils.ts"

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

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

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

{
"uid": "a850-66",
"uid": "9a70-66",
"name": "filterTypes.ts"
},
{
"uid": "a850-70",
"uid": "9a70-70",
"name": "aggregationTypes.ts"
},
{
"uid": "a850-82",
"uid": "9a70-82",
"name": "sortTypes.ts"
},
{
"uid": "a850-90",
"uid": "9a70-90",
"name": "core.ts"
},
{
"uid": "a850-92",
"uid": "9a70-92",
"name": "createTable.ts"

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

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

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

{
"uid": "a850-112",
"uid": "9a70-112",
"name": "index.ts"

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

"nodeParts": {
"a850-58": {
"9a70-58": {
"renderedLength": 2695,
"gzipLength": 1065,
"brotliLength": 0,
"mainUid": "a850-57"
"mainUid": "9a70-57"
},
"a850-60": {
"9a70-60": {
"renderedLength": 7667,
"gzipLength": 1983,
"brotliLength": 0,
"mainUid": "a850-59"
"mainUid": "9a70-59"
},
"a850-62": {
"9a70-62": {
"renderedLength": 11667,
"gzipLength": 2272,
"brotliLength": 0,
"mainUid": "a850-61"
"mainUid": "9a70-61"
},
"a850-64": {
"9a70-64": {
"renderedLength": 7611,
"gzipLength": 1612,
"brotliLength": 0,
"mainUid": "a850-63"
"mainUid": "9a70-63"
},
"a850-66": {
"9a70-66": {
"renderedLength": 4437,
"gzipLength": 786,
"brotliLength": 0,
"mainUid": "a850-65"
"mainUid": "9a70-65"
},
"a850-68": {
"9a70-68": {
"renderedLength": 14165,
"gzipLength": 2535,
"brotliLength": 0,
"mainUid": "a850-67"
"mainUid": "9a70-67"
},
"a850-70": {
"9a70-70": {
"renderedLength": 2674,
"gzipLength": 773,
"brotliLength": 0,
"mainUid": "a850-69"
"mainUid": "9a70-69"
},
"a850-72": {
"9a70-72": {
"renderedLength": 8077,
"gzipLength": 1717,
"brotliLength": 0,
"mainUid": "a850-71"
"mainUid": "9a70-71"
},
"a850-74": {
"9a70-74": {
"renderedLength": 2639,
"gzipLength": 799,
"brotliLength": 0,
"mainUid": "a850-73"
"mainUid": "9a70-73"
},
"a850-76": {
"9a70-76": {
"renderedLength": 5978,
"gzipLength": 1232,
"brotliLength": 0,
"mainUid": "a850-75"
"mainUid": "9a70-75"
},
"a850-78": {
"9a70-78": {
"renderedLength": 5842,
"gzipLength": 1084,
"brotliLength": 0,
"mainUid": "a850-77"
"mainUid": "9a70-77"
},
"a850-80": {
"9a70-80": {
"renderedLength": 18226,
"gzipLength": 3066,
"brotliLength": 0,
"mainUid": "a850-79"
"mainUid": "9a70-79"
},
"a850-82": {
"9a70-82": {
"renderedLength": 2752,
"gzipLength": 846,
"brotliLength": 0,
"mainUid": "a850-81"
"mainUid": "9a70-81"
},
"a850-84": {
"9a70-84": {
"renderedLength": 11823,
"gzipLength": 2498,
"brotliLength": 0,
"mainUid": "a850-83"
"mainUid": "9a70-83"
},
"a850-86": {
"9a70-86": {
"renderedLength": 6367,
"gzipLength": 1219,
"brotliLength": 0,
"mainUid": "a850-85"
"mainUid": "9a70-85"
},
"a850-88": {
"9a70-88": {
"renderedLength": 23655,
"gzipLength": 3372,
"brotliLength": 0,
"mainUid": "a850-87"
"mainUid": "9a70-87"
},
"a850-90": {
"9a70-90": {
"renderedLength": 16561,
"gzipLength": 3168,
"brotliLength": 0,
"mainUid": "a850-89"
"mainUid": "9a70-89"
},
"a850-92": {
"9a70-92": {
"renderedLength": 1613,
"gzipLength": 444,
"brotliLength": 0,
"mainUid": "a850-91"
"mainUid": "9a70-91"
},
"a850-94": {
"9a70-94": {
"renderedLength": 2467,
"gzipLength": 805,
"brotliLength": 0,
"mainUid": "a850-93"
"mainUid": "9a70-93"
},
"a850-96": {
"9a70-96": {
"renderedLength": 3564,
"gzipLength": 1020,
"brotliLength": 0,
"mainUid": "a850-95"
"mainUid": "9a70-95"
},
"a850-98": {
"9a70-98": {
"renderedLength": 2457,
"gzipLength": 568,
"brotliLength": 0,
"mainUid": "a850-97"
"mainUid": "9a70-97"
},
"a850-100": {
"renderedLength": 3085,
"gzipLength": 894,
"9a70-100": {
"renderedLength": 3132,
"gzipLength": 897,
"brotliLength": 0,
"mainUid": "a850-99"
"mainUid": "9a70-99"
},
"a850-102": {
"renderedLength": 2458,
"9a70-102": {
"renderedLength": 2471,
"gzipLength": 698,
"brotliLength": 0,
"mainUid": "a850-101"
"mainUid": "9a70-101"
},
"a850-104": {
"renderedLength": 3444,
"gzipLength": 1029,
"9a70-104": {
"renderedLength": 3439,
"gzipLength": 1025,
"brotliLength": 0,
"mainUid": "a850-103"
"mainUid": "9a70-103"
},
"a850-106": {
"renderedLength": 5782,
"9a70-106": {
"renderedLength": 5786,
"gzipLength": 1533,
"brotliLength": 0,
"mainUid": "a850-105"
"mainUid": "9a70-105"
},
"a850-108": {
"renderedLength": 1381,
"gzipLength": 497,
"9a70-108": {
"renderedLength": 1385,
"gzipLength": 494,
"brotliLength": 0,
"mainUid": "a850-107"
"mainUid": "9a70-107"
},
"a850-110": {
"renderedLength": 1249,
"gzipLength": 405,
"9a70-110": {
"renderedLength": 1254,
"gzipLength": 407,
"brotliLength": 0,
"mainUid": "a850-109"
"mainUid": "9a70-109"
},
"a850-112": {
"9a70-112": {
"renderedLength": 0,
"gzipLength": 0,
"brotliLength": 0,
"mainUid": "a850-111"
"mainUid": "9a70-111"
}
},
"nodeMetas": {
"a850-57": {
"9a70-57": {
"id": "\u0000rollupPluginBabelHelpers.js",
"moduleParts": {
"index.production.js": "a850-58"
"index.production.js": "9a70-58"
},

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

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

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

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

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

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

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

{
"uid": "a850-111"
"uid": "9a70-111"
},
{
"uid": "a850-89"
"uid": "9a70-89"
}
]
},
"a850-65": {
"9a70-65": {
"id": "/packages/table-core/src/filterTypes.ts",
"moduleParts": {
"index.production.js": "a850-66"
"index.production.js": "9a70-66"
},

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

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

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

{
"uid": "a850-111"
"uid": "9a70-111"
},
{
"uid": "a850-89"
"uid": "9a70-89"
}
]
},
"a850-69": {
"9a70-69": {
"id": "/packages/table-core/src/aggregationTypes.ts",
"moduleParts": {
"index.production.js": "a850-70"
"index.production.js": "9a70-70"
},
"imported": [
{
"uid": "a850-57"
"uid": "9a70-57"
}

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

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

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

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

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

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

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

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

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

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

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

{
"uid": "a850-111"
"uid": "9a70-111"
},
{
"uid": "a850-89"
"uid": "9a70-89"
}
]
},
"a850-81": {
"9a70-81": {
"id": "/packages/table-core/src/sortTypes.ts",
"moduleParts": {
"index.production.js": "a850-82"
"index.production.js": "9a70-82"
},

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

},
"a850-113": {
"9a70-113": {
"id": "/packages/table-core/src/types.ts",

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

{
"uid": "a850-111"
"uid": "9a70-111"
}

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

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

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

@@ -594,3 +594,3 @@ import {

// Filters top level and nested rows
const recurseRows = (rows: Row<TGenerics>[], depth = 0) => {
const recurseRows = (rows: Row<TGenerics>[], depth = 0): Row<TGenerics>[] => {
return rows

@@ -597,0 +597,0 @@ .map(row => {

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

incrementalMemo(
() => [instance.getState().columnFilters, instance.getCoreRowModel()],
() => [
instance.getState().columnFilters,
instance.getPreColumnFilteredRowModel(),
],
(_sorting, rowModel): RowModel<TGenerics> => {

@@ -18,0 +21,0 @@ return {

@@ -13,6 +13,9 @@ import { TableInstance, RowModel, AnyGenerics, Row } from '../types'

memo(
() => [instance.getState().columnFilters, instance.getCoreRowModel()],
() => [
instance.getState().columnFilters,
instance.getPreColumnFilteredRowModel(),
],
(columnFilters, rowModel) => {
const columnFilteredRowModel: RowModel<TGenerics> = (() => {
if (!rowModel.rows.length || !columnFilters) {
if (!rowModel.rows.length || !columnFilters?.length) {
return rowModel

@@ -19,0 +22,0 @@ }

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

instance.getState().expanded,
instance.getGroupedRowModel(),
instance.getPreExpandedRowModel(),
instance.options.paginateExpandedRows,

@@ -14,0 +14,0 @@ ],

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

incrementalMemo(
() => [instance.getState().globalFilter, instance.getCoreRowModel()],
() => [
instance.getState().globalFilter,
instance.getPreGlobalFilteredRowModel(),
],
(_globalFilter, rowModel): RowModel<TGenerics> => {

@@ -18,0 +21,0 @@ return {

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

memo(
() => [instance.getState().globalFilter, instance.getCoreRowModel()],
() => [
instance.getState().globalFilter,
instance.getPreGlobalFilteredRowModel(),
],
(globalFilter, rowModel) => {

@@ -16,0 +19,0 @@ const globalFilteredRowModel: RowModel<TGenerics> = (() => {

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

memo(
() => [instance.getState().grouping, instance.getSortedRowModel()],
() => [instance.getState().grouping, instance.getPreGroupedRowModel()],
(grouping, rowModel) => {

@@ -12,0 +12,0 @@ if (!rowModel.rows.length || !grouping.length) {

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

memo(
() => [instance.getState().pagination, instance.getExpandedRowModel()],
() => [
instance.getState().pagination,
instance.getPrePaginationRowModel(),
],
(pagination, rowModel) => {

@@ -13,0 +16,0 @@ if (!rowModel.rows.length) {

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

incrementalMemo(
() => [instance.getState().sorting, instance.getGlobalFilteredRowModel()],
() => [instance.getState().sorting, instance.getPreSortedRowModel()],
(_sorting, rowModel): RowModel<TGenerics> => {

@@ -13,0 +13,0 @@ return {

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

memo(
() => [instance.getState().sorting, instance.getGlobalFilteredRowModel()],
() => [instance.getState().sorting, instance.getPreSortedRowModel()],
(sorting, rowModel) => {

@@ -13,0 +13,0 @@ if (!rowModel.rows.length || !sorting?.length) {

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