@tanstack/vue-table 8.5.18 → 8.5.20

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.
@@ -4024,7 +4024,7 @@ var drawChart = (function (exports) {
4024
4024
  </script>
4025
4025
  <script>
4026
4026
  /*<!--*/
4027
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"0c68-149"},{"name":"vue-table/src","children":[{"uid":"0c68-151","name":"merge-proxy.ts"},{"uid":"0c68-153","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"0c68-149":{"renderedLength":126174,"gzipLength":22385,"brotliLength":0,"mainUid":"0c68-148"},"0c68-151":{"renderedLength":1607,"gzipLength":655,"brotliLength":0,"mainUid":"0c68-150"},"0c68-153":{"renderedLength":1675,"gzipLength":658,"brotliLength":0,"mainUid":"0c68-152"}},"nodeMetas":{"0c68-148":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"0c68-149"},"imported":[],"importedBy":[{"uid":"0c68-152"}]},"0c68-150":{"id":"/packages/vue-table/src/merge-proxy.ts","moduleParts":{"index.production.js":"0c68-151"},"imported":[],"importedBy":[{"uid":"0c68-152"}]},"0c68-152":{"id":"/packages/vue-table/src/index.ts","moduleParts":{"index.production.js":"0c68-153"},"imported":[{"uid":"0c68-148"},{"uid":"0c68-154"},{"uid":"0c68-150"}],"importedBy":[],"isEntry":true},"0c68-154":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"0c68-152"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4027
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"2621-149"},{"name":"vue-table/src","children":[{"uid":"2621-151","name":"merge-proxy.ts"},{"uid":"2621-153","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"2621-149":{"renderedLength":126086,"gzipLength":22349,"brotliLength":0,"mainUid":"2621-148"},"2621-151":{"renderedLength":1607,"gzipLength":655,"brotliLength":0,"mainUid":"2621-150"},"2621-153":{"renderedLength":1675,"gzipLength":658,"brotliLength":0,"mainUid":"2621-152"}},"nodeMetas":{"2621-148":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"2621-149"},"imported":[],"importedBy":[{"uid":"2621-152"}]},"2621-150":{"id":"/packages/vue-table/src/merge-proxy.ts","moduleParts":{"index.production.js":"2621-151"},"imported":[],"importedBy":[{"uid":"2621-152"}]},"2621-152":{"id":"/packages/vue-table/src/index.ts","moduleParts":{"index.production.js":"2621-153"},"imported":[{"uid":"2621-148"},{"uid":"2621-154"},{"uid":"2621-150"}],"importedBy":[],"isEntry":true},"2621-154":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"2621-152"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4028
4028
 
4029
4029
  const run = () => {
4030
4030
  const width = window.innerWidth;
@@ -11,17 +11,17 @@
11
11
  "children": [
12
12
  {
13
13
  "name": "table-core/build/esm/index.js",
14
- "uid": "0c68-156"
14
+ "uid": "2621-156"
15
15
  },
16
16
  {
17
17
  "name": "vue-table/src",
18
18
  "children": [
19
19
  {
20
- "uid": "0c68-158",
20
+ "uid": "2621-158",
21
21
  "name": "merge-proxy.ts"
22
22
  },
23
23
  {
24
- "uid": "0c68-160",
24
+ "uid": "2621-160",
25
25
  "name": "index.ts"
26
26
  }
27
27
  ]
@@ -34,76 +34,76 @@
34
34
  "isRoot": true
35
35
  },
36
36
  "nodeParts": {
37
- "0c68-156": {
38
- "renderedLength": 126174,
39
- "gzipLength": 22385,
37
+ "2621-156": {
38
+ "renderedLength": 126086,
39
+ "gzipLength": 22349,
40
40
  "brotliLength": 0,
41
- "mainUid": "0c68-155"
41
+ "mainUid": "2621-155"
42
42
  },
43
- "0c68-158": {
43
+ "2621-158": {
44
44
  "renderedLength": 1607,
45
45
  "gzipLength": 655,
46
46
  "brotliLength": 0,
47
- "mainUid": "0c68-157"
47
+ "mainUid": "2621-157"
48
48
  },
49
- "0c68-160": {
49
+ "2621-160": {
50
50
  "renderedLength": 1675,
51
51
  "gzipLength": 658,
52
52
  "brotliLength": 0,
53
- "mainUid": "0c68-159"
53
+ "mainUid": "2621-159"
54
54
  }
55
55
  },
56
56
  "nodeMetas": {
57
- "0c68-155": {
57
+ "2621-155": {
58
58
  "id": "/packages/table-core/build/esm/index.js",
59
59
  "moduleParts": {
60
- "index.production.js": "0c68-156"
60
+ "index.production.js": "2621-156"
61
61
  },
62
62
  "imported": [],
63
63
  "importedBy": [
64
64
  {
65
- "uid": "0c68-159"
65
+ "uid": "2621-159"
66
66
  }
67
67
  ]
68
68
  },
69
- "0c68-157": {
69
+ "2621-157": {
70
70
  "id": "/packages/vue-table/src/merge-proxy.ts",
71
71
  "moduleParts": {
72
- "index.production.js": "0c68-158"
72
+ "index.production.js": "2621-158"
73
73
  },
74
74
  "imported": [],
75
75
  "importedBy": [
76
76
  {
77
- "uid": "0c68-159"
77
+ "uid": "2621-159"
78
78
  }
79
79
  ]
80
80
  },
81
- "0c68-159": {
81
+ "2621-159": {
82
82
  "id": "/packages/vue-table/src/index.ts",
83
83
  "moduleParts": {
84
- "index.production.js": "0c68-160"
84
+ "index.production.js": "2621-160"
85
85
  },
86
86
  "imported": [
87
87
  {
88
- "uid": "0c68-155"
88
+ "uid": "2621-155"
89
89
  },
90
90
  {
91
- "uid": "0c68-161"
91
+ "uid": "2621-161"
92
92
  },
93
93
  {
94
- "uid": "0c68-157"
94
+ "uid": "2621-157"
95
95
  }
96
96
  ],
97
97
  "importedBy": [],
98
98
  "isEntry": true
99
99
  },
100
- "0c68-161": {
100
+ "2621-161": {
101
101
  "id": "vue",
102
102
  "moduleParts": {},
103
103
  "imported": [],
104
104
  "importedBy": [
105
105
  {
106
- "uid": "0c68-159"
106
+ "uid": "2621-159"
107
107
  }
108
108
  ],
109
109
  "isExternal": true
@@ -24,10 +24,6 @@
24
24
  *
25
25
  * @license MIT
26
26
  */
27
- // Is this type a tuple?
28
-
29
- // If this type is a tuple, what indices are allowed?
30
-
31
27
  ///
32
28
 
33
29
  function functionalUpdate(updater, input) {
@@ -3108,7 +3104,7 @@
3108
3104
  const sortData = rows => {
3109
3105
  // This will also perform a stable sorting using the row index
3110
3106
  // if needed.
3111
- const sortedData = rows.slice();
3107
+ const sortedData = [...rows];
3112
3108
  sortedData.sort((rowA, rowB) => {
3113
3109
  for (let i = 0; i < availableSorting.length; i += 1) {
3114
3110
  const sortEntry = availableSorting[i];