@tanstack/vue-table 8.0.12 → 8.0.13

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.
@@ -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":"e169-149"},{"name":"vue-table/src","children":[{"uid":"e169-151","name":"merge-proxy.ts"},{"uid":"e169-153","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"e169-149":{"renderedLength":139117,"gzipLength":23688,"brotliLength":0,"mainUid":"e169-148"},"e169-151":{"renderedLength":1622,"gzipLength":660,"brotliLength":0,"mainUid":"e169-150"},"e169-153":{"renderedLength":1807,"gzipLength":709,"brotliLength":0,"mainUid":"e169-152"}},"nodeMetas":{"e169-148":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"e169-149"},"imported":[],"importedBy":[{"uid":"e169-152"}]},"e169-150":{"id":"/packages/vue-table/src/merge-proxy.ts","moduleParts":{"index.production.js":"e169-151"},"imported":[],"importedBy":[{"uid":"e169-152"}]},"e169-152":{"id":"/packages/vue-table/src/index.ts","moduleParts":{"index.production.js":"e169-153"},"imported":[{"uid":"e169-148"},{"uid":"e169-154"},{"uid":"e169-150"}],"importedBy":[],"isEntry":true},"e169-154":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"e169-152"}],"isExternal":true}},"env":{"rollup":"2.75.7"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
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":"75ae-149"},{"name":"vue-table/src","children":[{"uid":"75ae-151","name":"merge-proxy.ts"},{"uid":"75ae-153","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"75ae-149":{"renderedLength":139117,"gzipLength":23688,"brotliLength":0,"mainUid":"75ae-148"},"75ae-151":{"renderedLength":1622,"gzipLength":660,"brotliLength":0,"mainUid":"75ae-150"},"75ae-153":{"renderedLength":1807,"gzipLength":709,"brotliLength":0,"mainUid":"75ae-152"}},"nodeMetas":{"75ae-148":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"75ae-149"},"imported":[],"importedBy":[{"uid":"75ae-152"}]},"75ae-150":{"id":"/packages/vue-table/src/merge-proxy.ts","moduleParts":{"index.production.js":"75ae-151"},"imported":[],"importedBy":[{"uid":"75ae-152"}]},"75ae-152":{"id":"/packages/vue-table/src/index.ts","moduleParts":{"index.production.js":"75ae-153"},"imported":[{"uid":"75ae-148"},{"uid":"75ae-154"},{"uid":"75ae-150"}],"importedBy":[],"isEntry":true},"75ae-154":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"75ae-152"}],"isExternal":true}},"env":{"rollup":"2.75.7"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
2673
2673
 
2674
2674
  const run = () => {
2675
2675
  const width = window.innerWidth;
@@ -11,17 +11,17 @@
11
11
  "children": [
12
12
  {
13
13
  "name": "table-core/build/esm/index.js",
14
- "uid": "e169-156"
14
+ "uid": "75ae-156"
15
15
  },
16
16
  {
17
17
  "name": "vue-table/src",
18
18
  "children": [
19
19
  {
20
- "uid": "e169-158",
20
+ "uid": "75ae-158",
21
21
  "name": "merge-proxy.ts"
22
22
  },
23
23
  {
24
- "uid": "e169-160",
24
+ "uid": "75ae-160",
25
25
  "name": "index.ts"
26
26
  }
27
27
  ]
@@ -34,76 +34,76 @@
34
34
  "isRoot": true
35
35
  },
36
36
  "nodeParts": {
37
- "e169-156": {
37
+ "75ae-156": {
38
38
  "renderedLength": 139117,
39
39
  "gzipLength": 23688,
40
40
  "brotliLength": 0,
41
- "mainUid": "e169-155"
41
+ "mainUid": "75ae-155"
42
42
  },
43
- "e169-158": {
43
+ "75ae-158": {
44
44
  "renderedLength": 1622,
45
45
  "gzipLength": 660,
46
46
  "brotliLength": 0,
47
- "mainUid": "e169-157"
47
+ "mainUid": "75ae-157"
48
48
  },
49
- "e169-160": {
49
+ "75ae-160": {
50
50
  "renderedLength": 1807,
51
51
  "gzipLength": 709,
52
52
  "brotliLength": 0,
53
- "mainUid": "e169-159"
53
+ "mainUid": "75ae-159"
54
54
  }
55
55
  },
56
56
  "nodeMetas": {
57
- "e169-155": {
57
+ "75ae-155": {
58
58
  "id": "/packages/table-core/build/esm/index.js",
59
59
  "moduleParts": {
60
- "index.production.js": "e169-156"
60
+ "index.production.js": "75ae-156"
61
61
  },
62
62
  "imported": [],
63
63
  "importedBy": [
64
64
  {
65
- "uid": "e169-159"
65
+ "uid": "75ae-159"
66
66
  }
67
67
  ]
68
68
  },
69
- "e169-157": {
69
+ "75ae-157": {
70
70
  "id": "/packages/vue-table/src/merge-proxy.ts",
71
71
  "moduleParts": {
72
- "index.production.js": "e169-158"
72
+ "index.production.js": "75ae-158"
73
73
  },
74
74
  "imported": [],
75
75
  "importedBy": [
76
76
  {
77
- "uid": "e169-159"
77
+ "uid": "75ae-159"
78
78
  }
79
79
  ]
80
80
  },
81
- "e169-159": {
81
+ "75ae-159": {
82
82
  "id": "/packages/vue-table/src/index.ts",
83
83
  "moduleParts": {
84
- "index.production.js": "e169-160"
84
+ "index.production.js": "75ae-160"
85
85
  },
86
86
  "imported": [
87
87
  {
88
- "uid": "e169-155"
88
+ "uid": "75ae-155"
89
89
  },
90
90
  {
91
- "uid": "e169-161"
91
+ "uid": "75ae-161"
92
92
  },
93
93
  {
94
- "uid": "e169-157"
94
+ "uid": "75ae-157"
95
95
  }
96
96
  ],
97
97
  "importedBy": [],
98
98
  "isEntry": true
99
99
  },
100
- "e169-161": {
100
+ "75ae-161": {
101
101
  "id": "vue",
102
102
  "moduleParts": {},
103
103
  "imported": [],
104
104
  "importedBy": [
105
105
  {
106
- "uid": "e169-159"
106
+ "uid": "75ae-159"
107
107
  }
108
108
  ],
109
109
  "isExternal": true
@@ -1,11 +1,26 @@
1
- import { TableGenerics, TableOptions, Table } from '@tanstack/table-core';
2
- import { VNode } from 'vue';
1
+ /**
2
+ * vue-table
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ import * as _tanstack_table_core from '@tanstack/table-core';
12
+ import { Table, TableGenerics, TableOptions } from '@tanstack/table-core';
3
13
  export * from '@tanstack/table-core';
14
+ import * as vue from 'vue';
15
+ import { VNode } from 'vue';
16
+
4
17
  declare function render<TProps extends {}>(Comp: any, props: TProps): VNode | string | number | boolean | null;
5
- export declare const createTable: () => Table<{
18
+ declare const createTable: () => Table<{
6
19
  Renderer: typeof render;
7
- Rendered: string | number | boolean | VNode<import("vue").RendererNode, import("vue").RendererElement, {
20
+ Rendered: string | number | boolean | VNode<vue.RendererNode, vue.RendererElement, {
8
21
  [key: string]: any;
9
22
  }> | null;
10
23
  }>;
11
- export declare function useTableInstance<TGenerics extends TableGenerics>(table: Table<TGenerics>, options: TableOptions<TGenerics>): import("@tanstack/table-core").TableInstance<TGenerics>;
24
+ declare function useTableInstance<TGenerics extends TableGenerics>(table: Table<TGenerics>, options: TableOptions<TGenerics>): _tanstack_table_core.TableInstance<TGenerics>;
25
+
26
+ export { createTable, useTableInstance };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/vue-table",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.0.12",
4
+ "version": "8.0.13",
5
5
  "description": "Headless UI for building powerful tables & datagrids for Vue.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/table#readme",
@@ -35,7 +35,7 @@
35
35
  "src"
36
36
  ],
37
37
  "dependencies": {
38
- "@tanstack/table-core": "8.0.12"
38
+ "@tanstack/table-core": "8.0.13"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "vue": "^3.2.33"
@@ -1,12 +0,0 @@
1
- export declare const $PROXY: unique symbol;
2
- declare type UnboxLazy<T> = T extends () => infer U ? U : T;
3
- declare type BoxedTupleTypes<T extends any[]> = {
4
- [P in keyof T]: [UnboxLazy<T[P]>];
5
- }[Exclude<keyof T, keyof any[]>];
6
- declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
7
- declare type UnboxIntersection<T> = T extends {
8
- 0: infer U;
9
- } ? U : never;
10
- declare type MergeProxy<T extends any[]> = UnboxIntersection<UnionToIntersection<BoxedTupleTypes<T>>>;
11
- export declare function mergeProxy<T extends any[]>(...sources: T): MergeProxy<T>;
12
- export {};