@tanstack/vue-table 8.4.0 → 8.5.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/table-core/build/esm/index.js +14 -5
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +14 -5
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +24 -24
- package/build/umd/index.development.js +14 -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/build/stats-html.html
CHANGED
|
@@ -4014,7 +4014,7 @@ var drawChart = (function (exports) {
|
|
|
4014
4014
|
</script>
|
|
4015
4015
|
<script>
|
|
4016
4016
|
/*<!--*/
|
|
4017
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"
|
|
4017
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"f507-149"},{"name":"vue-table/src","children":[{"uid":"f507-151","name":"merge-proxy.ts"},{"uid":"f507-153","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"f507-149":{"renderedLength":137788,"gzipLength":23944,"brotliLength":0,"mainUid":"f507-148"},"f507-151":{"renderedLength":1622,"gzipLength":660,"brotliLength":0,"mainUid":"f507-150"},"f507-153":{"renderedLength":1683,"gzipLength":677,"brotliLength":0,"mainUid":"f507-152"}},"nodeMetas":{"f507-148":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"f507-149"},"imported":[],"importedBy":[{"uid":"f507-152"}]},"f507-150":{"id":"/packages/vue-table/src/merge-proxy.ts","moduleParts":{"index.production.js":"f507-151"},"imported":[],"importedBy":[{"uid":"f507-152"}]},"f507-152":{"id":"/packages/vue-table/src/index.ts","moduleParts":{"index.production.js":"f507-153"},"imported":[{"uid":"f507-148"},{"uid":"f507-154"},{"uid":"f507-150"}],"importedBy":[],"isEntry":true},"f507-154":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"f507-152"}],"isExternal":true}},"env":{"rollup":"2.77.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
4018
4018
|
|
|
4019
4019
|
const run = () => {
|
|
4020
4020
|
const width = window.innerWidth;
|
package/build/stats-react.json
CHANGED
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"children": [
|
|
12
12
|
{
|
|
13
13
|
"name": "table-core/build/esm/index.js",
|
|
14
|
-
"uid": "
|
|
14
|
+
"uid": "f507-156"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "vue-table/src",
|
|
18
18
|
"children": [
|
|
19
19
|
{
|
|
20
|
-
"uid": "
|
|
20
|
+
"uid": "f507-158",
|
|
21
21
|
"name": "merge-proxy.ts"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"uid": "
|
|
24
|
+
"uid": "f507-160",
|
|
25
25
|
"name": "index.ts"
|
|
26
26
|
}
|
|
27
27
|
]
|
|
@@ -34,76 +34,76 @@
|
|
|
34
34
|
"isRoot": true
|
|
35
35
|
},
|
|
36
36
|
"nodeParts": {
|
|
37
|
-
"
|
|
38
|
-
"renderedLength":
|
|
39
|
-
"gzipLength":
|
|
37
|
+
"f507-156": {
|
|
38
|
+
"renderedLength": 137788,
|
|
39
|
+
"gzipLength": 23944,
|
|
40
40
|
"brotliLength": 0,
|
|
41
|
-
"mainUid": "
|
|
41
|
+
"mainUid": "f507-155"
|
|
42
42
|
},
|
|
43
|
-
"
|
|
43
|
+
"f507-158": {
|
|
44
44
|
"renderedLength": 1622,
|
|
45
45
|
"gzipLength": 660,
|
|
46
46
|
"brotliLength": 0,
|
|
47
|
-
"mainUid": "
|
|
47
|
+
"mainUid": "f507-157"
|
|
48
48
|
},
|
|
49
|
-
"
|
|
49
|
+
"f507-160": {
|
|
50
50
|
"renderedLength": 1683,
|
|
51
51
|
"gzipLength": 677,
|
|
52
52
|
"brotliLength": 0,
|
|
53
|
-
"mainUid": "
|
|
53
|
+
"mainUid": "f507-159"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"nodeMetas": {
|
|
57
|
-
"
|
|
57
|
+
"f507-155": {
|
|
58
58
|
"id": "/packages/table-core/build/esm/index.js",
|
|
59
59
|
"moduleParts": {
|
|
60
|
-
"index.production.js": "
|
|
60
|
+
"index.production.js": "f507-156"
|
|
61
61
|
},
|
|
62
62
|
"imported": [],
|
|
63
63
|
"importedBy": [
|
|
64
64
|
{
|
|
65
|
-
"uid": "
|
|
65
|
+
"uid": "f507-159"
|
|
66
66
|
}
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"f507-157": {
|
|
70
70
|
"id": "/packages/vue-table/src/merge-proxy.ts",
|
|
71
71
|
"moduleParts": {
|
|
72
|
-
"index.production.js": "
|
|
72
|
+
"index.production.js": "f507-158"
|
|
73
73
|
},
|
|
74
74
|
"imported": [],
|
|
75
75
|
"importedBy": [
|
|
76
76
|
{
|
|
77
|
-
"uid": "
|
|
77
|
+
"uid": "f507-159"
|
|
78
78
|
}
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
|
-
"
|
|
81
|
+
"f507-159": {
|
|
82
82
|
"id": "/packages/vue-table/src/index.ts",
|
|
83
83
|
"moduleParts": {
|
|
84
|
-
"index.production.js": "
|
|
84
|
+
"index.production.js": "f507-160"
|
|
85
85
|
},
|
|
86
86
|
"imported": [
|
|
87
87
|
{
|
|
88
|
-
"uid": "
|
|
88
|
+
"uid": "f507-155"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
"uid": "
|
|
91
|
+
"uid": "f507-161"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
"uid": "
|
|
94
|
+
"uid": "f507-157"
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
97
|
"importedBy": [],
|
|
98
98
|
"isEntry": true
|
|
99
99
|
},
|
|
100
|
-
"
|
|
100
|
+
"f507-161": {
|
|
101
101
|
"id": "vue",
|
|
102
102
|
"moduleParts": {},
|
|
103
103
|
"imported": [],
|
|
104
104
|
"importedBy": [
|
|
105
105
|
{
|
|
106
|
-
"uid": "
|
|
106
|
+
"uid": "f507-159"
|
|
107
107
|
}
|
|
108
108
|
],
|
|
109
109
|
"isExternal": true
|
|
@@ -1159,7 +1159,9 @@
|
|
|
1159
1159
|
return filterFns.weakEquals;
|
|
1160
1160
|
},
|
|
1161
1161
|
getFilterFn: () => {
|
|
1162
|
-
|
|
1162
|
+
var _table$options$filter, _table$options$filter2;
|
|
1163
|
+
|
|
1164
|
+
return isFunction(column.columnDef.filterFn) ? column.columnDef.filterFn : column.columnDef.filterFn === 'auto' ? column.getAutoFilterFn() : (_table$options$filter = (_table$options$filter2 = table.options.filterFns) == null ? void 0 : _table$options$filter2[column.columnDef.filterFn]) != null ? _table$options$filter : filterFns[column.columnDef.filterFn];
|
|
1163
1165
|
},
|
|
1164
1166
|
getCanFilter: () => {
|
|
1165
1167
|
var _column$columnDef$ena, _table$options$enable, _table$options$enable2;
|
|
@@ -1258,10 +1260,12 @@
|
|
|
1258
1260
|
return filterFns.includesString;
|
|
1259
1261
|
},
|
|
1260
1262
|
getGlobalFilterFn: () => {
|
|
1263
|
+
var _table$options$filter3, _table$options$filter4;
|
|
1264
|
+
|
|
1261
1265
|
const {
|
|
1262
1266
|
globalFilterFn: globalFilterFn
|
|
1263
1267
|
} = table.options;
|
|
1264
|
-
return isFunction(globalFilterFn) ? globalFilterFn : globalFilterFn === 'auto' ? table.getGlobalAutoFilterFn() : filterFns[globalFilterFn];
|
|
1268
|
+
return isFunction(globalFilterFn) ? globalFilterFn : globalFilterFn === 'auto' ? table.getGlobalAutoFilterFn() : (_table$options$filter3 = (_table$options$filter4 = table.options.filterFns) == null ? void 0 : _table$options$filter4[globalFilterFn]) != null ? _table$options$filter3 : filterFns[globalFilterFn];
|
|
1265
1269
|
},
|
|
1266
1270
|
setColumnFilters: updater => {
|
|
1267
1271
|
const leafColumns = table.getAllLeafColumns();
|
|
@@ -1515,11 +1519,13 @@
|
|
|
1515
1519
|
}
|
|
1516
1520
|
},
|
|
1517
1521
|
getAggregationFn: () => {
|
|
1522
|
+
var _table$options$aggreg, _table$options$aggreg2;
|
|
1523
|
+
|
|
1518
1524
|
if (!column) {
|
|
1519
1525
|
throw new Error();
|
|
1520
1526
|
}
|
|
1521
1527
|
|
|
1522
|
-
return isFunction(column.columnDef.aggregationFn) ? column.columnDef.aggregationFn : column.columnDef.aggregationFn === 'auto' ? column.getAutoAggregationFn() : aggregationFns[column.columnDef.aggregationFn];
|
|
1528
|
+
return isFunction(column.columnDef.aggregationFn) ? column.columnDef.aggregationFn : column.columnDef.aggregationFn === 'auto' ? column.getAutoAggregationFn() : (_table$options$aggreg = (_table$options$aggreg2 = table.options.aggregationFns) == null ? void 0 : _table$options$aggreg2[column.columnDef.aggregationFn]) != null ? _table$options$aggreg : aggregationFns[column.columnDef.aggregationFn];
|
|
1523
1529
|
}
|
|
1524
1530
|
};
|
|
1525
1531
|
},
|
|
@@ -2536,11 +2542,13 @@
|
|
|
2536
2542
|
return 'desc';
|
|
2537
2543
|
},
|
|
2538
2544
|
getSortingFn: () => {
|
|
2545
|
+
var _table$options$sortin, _table$options$sortin2;
|
|
2546
|
+
|
|
2539
2547
|
if (!column) {
|
|
2540
2548
|
throw new Error();
|
|
2541
2549
|
}
|
|
2542
2550
|
|
|
2543
|
-
return isFunction(column.columnDef.sortingFn) ? column.columnDef.sortingFn : column.columnDef.sortingFn === 'auto' ? column.getAutoSortingFn() : sortingFns[column.columnDef.sortingFn];
|
|
2551
|
+
return isFunction(column.columnDef.sortingFn) ? column.columnDef.sortingFn : column.columnDef.sortingFn === 'auto' ? column.getAutoSortingFn() : (_table$options$sortin = (_table$options$sortin2 = table.options.sortingFns) == null ? void 0 : _table$options$sortin2[column.columnDef.sortingFn]) != null ? _table$options$sortin : sortingFns[column.columnDef.sortingFn];
|
|
2544
2552
|
},
|
|
2545
2553
|
toggleSorting: (desc, multi) => {
|
|
2546
2554
|
// if (column.columns.length) {
|
|
@@ -3162,7 +3170,8 @@
|
|
|
3162
3170
|
accessorKey: accessor
|
|
3163
3171
|
};
|
|
3164
3172
|
},
|
|
3165
|
-
display: column => column
|
|
3173
|
+
display: column => column,
|
|
3174
|
+
group: column => column
|
|
3166
3175
|
};
|
|
3167
3176
|
}
|
|
3168
3177
|
|