@tanstack/svelte-table 8.0.11 → 8.0.12
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/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":"e169-163"},{"name":"svelte-table/src","children":[{"uid":"e169-165","name":"placeholder.svelte"},{"uid":"e169-167","name":"placeholder.ts"},{"uid":"e169-169","name":"render-component.ts"},{"uid":"e169-171","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"e169-163":{"renderedLength":139119,"gzipLength":23690,"brotliLength":0,"mainUid":"e169-162"},"e169-165":{"renderedLength":927,"gzipLength":445,"brotliLength":0,"mainUid":"e169-164"},"e169-167":{"renderedLength":246,"gzipLength":184,"brotliLength":0,"mainUid":"e169-166"},"e169-169":{"renderedLength":1458,"gzipLength":539,"brotliLength":0,"mainUid":"e169-168"},"e169-171":{"renderedLength":3046,"gzipLength":993,"brotliLength":0,"mainUid":"e169-170"}},"nodeMetas":{"e169-162":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"e169-163"},"imported":[],"importedBy":[{"uid":"e169-170"}]},"e169-164":{"id":"/packages/svelte-table/src/placeholder.svelte","moduleParts":{"index.production.js":"e169-165"},"imported":[{"uid":"e169-172"}],"importedBy":[{"uid":"e169-166"}]},"e169-166":{"id":"/packages/svelte-table/src/placeholder.ts","moduleParts":{"index.production.js":"e169-167"},"imported":[{"uid":"e169-172"},{"uid":"e169-164"}],"importedBy":[{"uid":"e169-170"}]},"e169-168":{"id":"/packages/svelte-table/src/render-component.ts","moduleParts":{"index.production.js":"e169-169"},"imported":[{"uid":"e169-172"}],"importedBy":[{"uid":"e169-170"}]},"e169-170":{"id":"/packages/svelte-table/src/index.ts","moduleParts":{"index.production.js":"e169-171"},"imported":[{"uid":"e169-162"},{"uid":"e169-166"},{"uid":"e169-172"},{"uid":"e169-173"},{"uid":"e169-168"}],"importedBy":[],"isEntry":true},"e169-172":{"id":"svelte/internal","moduleParts":{},"imported":[],"importedBy":[{"uid":"e169-170"},{"uid":"e169-166"},{"uid":"e169-168"},{"uid":"e169-164"}],"isExternal":true},"e169-173":{"id":"svelte/store","moduleParts":{},"imported":[],"importedBy":[{"uid":"e169-170"}],"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;
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 2,
|
|
3
|
+
"tree": {
|
|
4
|
+
"name": "root",
|
|
5
|
+
"children": [
|
|
6
|
+
{
|
|
7
|
+
"name": "index.production.js",
|
|
8
|
+
"children": [
|
|
9
|
+
{
|
|
10
|
+
"name": "packages",
|
|
11
|
+
"children": [
|
|
12
|
+
{
|
|
13
|
+
"name": "table-core/build/esm/index.js",
|
|
14
|
+
"uid": "e169-175"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "svelte-table/src",
|
|
18
|
+
"children": [
|
|
19
|
+
{
|
|
20
|
+
"uid": "e169-177",
|
|
21
|
+
"name": "placeholder.svelte"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"uid": "e169-179",
|
|
25
|
+
"name": "placeholder.ts"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"uid": "e169-181",
|
|
29
|
+
"name": "render-component.ts"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"uid": "e169-183",
|
|
33
|
+
"name": "index.ts"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"isRoot": true
|
|
43
|
+
},
|
|
44
|
+
"nodeParts": {
|
|
45
|
+
"e169-175": {
|
|
46
|
+
"renderedLength": 139119,
|
|
47
|
+
"gzipLength": 23690,
|
|
48
|
+
"brotliLength": 0,
|
|
49
|
+
"mainUid": "e169-174"
|
|
50
|
+
},
|
|
51
|
+
"e169-177": {
|
|
52
|
+
"renderedLength": 927,
|
|
53
|
+
"gzipLength": 445,
|
|
54
|
+
"brotliLength": 0,
|
|
55
|
+
"mainUid": "e169-176"
|
|
56
|
+
},
|
|
57
|
+
"e169-179": {
|
|
58
|
+
"renderedLength": 246,
|
|
59
|
+
"gzipLength": 184,
|
|
60
|
+
"brotliLength": 0,
|
|
61
|
+
"mainUid": "e169-178"
|
|
62
|
+
},
|
|
63
|
+
"e169-181": {
|
|
64
|
+
"renderedLength": 1458,
|
|
65
|
+
"gzipLength": 539,
|
|
66
|
+
"brotliLength": 0,
|
|
67
|
+
"mainUid": "e169-180"
|
|
68
|
+
},
|
|
69
|
+
"e169-183": {
|
|
70
|
+
"renderedLength": 3046,
|
|
71
|
+
"gzipLength": 993,
|
|
72
|
+
"brotliLength": 0,
|
|
73
|
+
"mainUid": "e169-182"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"nodeMetas": {
|
|
77
|
+
"e169-174": {
|
|
78
|
+
"id": "/packages/table-core/build/esm/index.js",
|
|
79
|
+
"moduleParts": {
|
|
80
|
+
"index.production.js": "e169-175"
|
|
81
|
+
},
|
|
82
|
+
"imported": [],
|
|
83
|
+
"importedBy": [
|
|
84
|
+
{
|
|
85
|
+
"uid": "e169-182"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"e169-176": {
|
|
90
|
+
"id": "/packages/svelte-table/src/placeholder.svelte",
|
|
91
|
+
"moduleParts": {
|
|
92
|
+
"index.production.js": "e169-177"
|
|
93
|
+
},
|
|
94
|
+
"imported": [
|
|
95
|
+
{
|
|
96
|
+
"uid": "e169-184"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"importedBy": [
|
|
100
|
+
{
|
|
101
|
+
"uid": "e169-178"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"e169-178": {
|
|
106
|
+
"id": "/packages/svelte-table/src/placeholder.ts",
|
|
107
|
+
"moduleParts": {
|
|
108
|
+
"index.production.js": "e169-179"
|
|
109
|
+
},
|
|
110
|
+
"imported": [
|
|
111
|
+
{
|
|
112
|
+
"uid": "e169-184"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"uid": "e169-176"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"importedBy": [
|
|
119
|
+
{
|
|
120
|
+
"uid": "e169-182"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"e169-180": {
|
|
125
|
+
"id": "/packages/svelte-table/src/render-component.ts",
|
|
126
|
+
"moduleParts": {
|
|
127
|
+
"index.production.js": "e169-181"
|
|
128
|
+
},
|
|
129
|
+
"imported": [
|
|
130
|
+
{
|
|
131
|
+
"uid": "e169-184"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"importedBy": [
|
|
135
|
+
{
|
|
136
|
+
"uid": "e169-182"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"e169-182": {
|
|
141
|
+
"id": "/packages/svelte-table/src/index.ts",
|
|
142
|
+
"moduleParts": {
|
|
143
|
+
"index.production.js": "e169-183"
|
|
144
|
+
},
|
|
145
|
+
"imported": [
|
|
146
|
+
{
|
|
147
|
+
"uid": "e169-174"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"uid": "e169-178"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"uid": "e169-184"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"uid": "e169-185"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"uid": "e169-180"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"importedBy": [],
|
|
163
|
+
"isEntry": true
|
|
164
|
+
},
|
|
165
|
+
"e169-184": {
|
|
166
|
+
"id": "svelte/internal",
|
|
167
|
+
"moduleParts": {},
|
|
168
|
+
"imported": [],
|
|
169
|
+
"importedBy": [
|
|
170
|
+
{
|
|
171
|
+
"uid": "e169-182"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"uid": "e169-178"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"uid": "e169-180"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"uid": "e169-176"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"isExternal": true
|
|
184
|
+
},
|
|
185
|
+
"e169-185": {
|
|
186
|
+
"id": "svelte/store",
|
|
187
|
+
"moduleParts": {},
|
|
188
|
+
"imported": [],
|
|
189
|
+
"importedBy": [
|
|
190
|
+
{
|
|
191
|
+
"uid": "e169-182"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"isExternal": true
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"env": {
|
|
198
|
+
"rollup": "2.75.7"
|
|
199
|
+
},
|
|
200
|
+
"options": {
|
|
201
|
+
"gzip": true,
|
|
202
|
+
"brotli": false,
|
|
203
|
+
"sourcemap": false
|
|
204
|
+
}
|
|
205
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Table, TableGenerics, TableOptions } from '@tanstack/table-core';
|
|
2
|
+
import { Readable } from 'svelte/store';
|
|
3
|
+
export { renderComponent } from './render-component';
|
|
4
|
+
export * from '@tanstack/table-core';
|
|
5
|
+
export declare function render(component: any, props: any): any;
|
|
6
|
+
export declare const createTable: () => Table<{
|
|
7
|
+
Renderer: typeof render;
|
|
8
|
+
Rendered: any;
|
|
9
|
+
}>;
|
|
10
|
+
declare type ReadableOrVal<T> = T | Readable<T>;
|
|
11
|
+
export declare function createTableInstance<TGenerics extends TableGenerics>(table: Table<TGenerics>, options: ReadableOrVal<TableOptions<TGenerics>>): Readable<import("@tanstack/table-core").TableInstance<TGenerics>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/svelte-table",
|
|
3
3
|
"author": "Tanner Linsley",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.12",
|
|
5
5
|
"description": "Headless UI for building powerful tables & datagrids for Svelte.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/tanstack/table#readme",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"node": ">=12"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
|
-
"build",
|
|
33
|
+
"build/**",
|
|
34
34
|
"src"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tanstack/table-core": "8.0.
|
|
37
|
+
"@tanstack/table-core": "8.0.12"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"svelte": "^3.48.0"
|