@tanstack/react-table 8.1.4 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/react-table/src/index.js.map +1 -1
- package/build/cjs/table-core/build/esm/index.js +3 -5
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +3 -5
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +18 -18
- package/build/umd/index.development.js +3 -5
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/index.tsx +10 -6
package/build/stats-html.html
CHANGED
|
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
|
|
|
2669
2669
|
</script>
|
|
2670
2670
|
<script>
|
|
2671
2671
|
/*<!--*/
|
|
2672
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"06ee-123"},{"name":"react-table/src/index.tsx","uid":"06ee-125"}]}]}],"isRoot":true},"nodeParts":{"06ee-123":{"renderedLength":134386,"gzipLength":23082,"brotliLength":0,"mainUid":"06ee-122"},"06ee-125":{"renderedLength":1900,"gzipLength":752,"brotliLength":0,"mainUid":"06ee-124"}},"nodeMetas":{"06ee-122":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"06ee-123"},"imported":[],"importedBy":[{"uid":"06ee-124"}]},"06ee-124":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"06ee-125"},"imported":[{"uid":"06ee-126"},{"uid":"06ee-122"}],"importedBy":[],"isEntry":true},"06ee-126":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"06ee-124"}],"isExternal":true}},"env":{"rollup":"2.76.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|
package/build/stats-react.json
CHANGED
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"children": [
|
|
12
12
|
{
|
|
13
13
|
"name": "table-core/build/esm/index.js",
|
|
14
|
-
"uid": "
|
|
14
|
+
"uid": "06ee-128"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "react-table/src/index.tsx",
|
|
18
|
-
"uid": "
|
|
18
|
+
"uid": "06ee-130"
|
|
19
19
|
}
|
|
20
20
|
]
|
|
21
21
|
}
|
|
@@ -25,62 +25,62 @@
|
|
|
25
25
|
"isRoot": true
|
|
26
26
|
},
|
|
27
27
|
"nodeParts": {
|
|
28
|
-
"
|
|
29
|
-
"renderedLength":
|
|
30
|
-
"gzipLength":
|
|
28
|
+
"06ee-128": {
|
|
29
|
+
"renderedLength": 134386,
|
|
30
|
+
"gzipLength": 23082,
|
|
31
31
|
"brotliLength": 0,
|
|
32
|
-
"mainUid": "
|
|
32
|
+
"mainUid": "06ee-127"
|
|
33
33
|
},
|
|
34
|
-
"
|
|
34
|
+
"06ee-130": {
|
|
35
35
|
"renderedLength": 1900,
|
|
36
36
|
"gzipLength": 752,
|
|
37
37
|
"brotliLength": 0,
|
|
38
|
-
"mainUid": "
|
|
38
|
+
"mainUid": "06ee-129"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"nodeMetas": {
|
|
42
|
-
"
|
|
42
|
+
"06ee-127": {
|
|
43
43
|
"id": "/packages/table-core/build/esm/index.js",
|
|
44
44
|
"moduleParts": {
|
|
45
|
-
"index.production.js": "
|
|
45
|
+
"index.production.js": "06ee-128"
|
|
46
46
|
},
|
|
47
47
|
"imported": [],
|
|
48
48
|
"importedBy": [
|
|
49
49
|
{
|
|
50
|
-
"uid": "
|
|
50
|
+
"uid": "06ee-129"
|
|
51
51
|
}
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
|
-
"
|
|
54
|
+
"06ee-129": {
|
|
55
55
|
"id": "/packages/react-table/src/index.tsx",
|
|
56
56
|
"moduleParts": {
|
|
57
|
-
"index.production.js": "
|
|
57
|
+
"index.production.js": "06ee-130"
|
|
58
58
|
},
|
|
59
59
|
"imported": [
|
|
60
60
|
{
|
|
61
|
-
"uid": "
|
|
61
|
+
"uid": "06ee-131"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
"uid": "
|
|
64
|
+
"uid": "06ee-127"
|
|
65
65
|
}
|
|
66
66
|
],
|
|
67
67
|
"importedBy": [],
|
|
68
68
|
"isEntry": true
|
|
69
69
|
},
|
|
70
|
-
"
|
|
70
|
+
"06ee-131": {
|
|
71
71
|
"id": "react",
|
|
72
72
|
"moduleParts": {},
|
|
73
73
|
"imported": [],
|
|
74
74
|
"importedBy": [
|
|
75
75
|
{
|
|
76
|
-
"uid": "
|
|
76
|
+
"uid": "06ee-129"
|
|
77
77
|
}
|
|
78
78
|
],
|
|
79
79
|
"isExternal": true
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"env": {
|
|
83
|
-
"rollup": "2.
|
|
83
|
+
"rollup": "2.76.0"
|
|
84
84
|
},
|
|
85
85
|
"options": {
|
|
86
86
|
"gzip": true,
|
|
@@ -2911,9 +2911,9 @@
|
|
|
2911
2911
|
header: props => props.header.column.id,
|
|
2912
2912
|
footer: props => props.header.column.id,
|
|
2913
2913
|
cell: props => {
|
|
2914
|
-
var
|
|
2914
|
+
var _props$renderValue$to, _props$renderValue;
|
|
2915
2915
|
|
|
2916
|
-
return (
|
|
2916
|
+
return (_props$renderValue$to = (_props$renderValue = props.renderValue()) == null ? void 0 : _props$renderValue.toString == null ? void 0 : _props$renderValue.toString()) != null ? _props$renderValue$to : null;
|
|
2917
2917
|
},
|
|
2918
2918
|
...table._features.reduce((obj, feature) => {
|
|
2919
2919
|
return Object.assign(obj, feature.getDefaultColumnDef == null ? void 0 : feature.getDefaultColumnDef());
|
|
@@ -3443,9 +3443,7 @@
|
|
|
3443
3443
|
let facetedMinMaxValues = [firstValue, firstValue];
|
|
3444
3444
|
|
|
3445
3445
|
for (let i = 0; i < facetedRowModel.flatRows.length; i++) {
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
const value = (_facetedRowModel$flat2 = facetedRowModel.flatRows[i]) == null ? void 0 : _facetedRowModel$flat2.getValue(columnId);
|
|
3446
|
+
const value = facetedRowModel.flatRows[i].getValue(columnId);
|
|
3449
3447
|
|
|
3450
3448
|
if (value < facetedMinMaxValues[0]) {
|
|
3451
3449
|
facetedMinMaxValues[0] = value;
|