@tanstack/svelte-table 8.6.0 → 8.7.2
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/lib/index.d.ts +7 -0
- package/build/lib/index.esm.js +201 -0
- package/build/lib/index.esm.js.map +1 -0
- package/build/{cjs/svelte-table/src → lib}/index.js +10 -49
- package/build/lib/index.js.map +1 -0
- package/build/lib/index.mjs +201 -0
- package/build/lib/index.mjs.map +1 -0
- package/build/lib/placeholder.d.ts +3 -0
- package/build/{cjs/svelte-table/src → lib}/placeholder.js +0 -0
- package/build/lib/placeholder.js.map +1 -0
- package/build/{cjs/svelte-table/src → lib}/placeholder.svelte.js +1 -1
- package/build/lib/placeholder.svelte.js.map +1 -0
- package/build/lib/render-component.d.ts +27 -0
- package/build/{cjs/svelte-table/src → lib}/render-component.js +0 -0
- package/build/lib/render-component.js.map +1 -0
- package/build/umd/index.development.js +473 -314
- 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 +15 -7
- package/build/cjs/svelte-table/src/index.js.map +0 -1
- package/build/cjs/svelte-table/src/placeholder.js.map +0 -1
- package/build/cjs/svelte-table/src/placeholder.svelte.js.map +0 -1
- package/build/cjs/svelte-table/src/render-component.js.map +0 -1
- package/build/cjs/table-core/build/esm/index.js +0 -3446
- package/build/cjs/table-core/build/esm/index.js.map +0 -1
- package/build/esm/index.js +0 -3587
- package/build/esm/index.js.map +0 -1
- package/build/stats-html.html +0 -4044
- package/build/stats-react.json +0 -205
- package/build/types/index.d.ts +0 -48
package/build/stats-react.json
DELETED
|
@@ -1,205 +0,0 @@
|
|
|
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": "7238-175"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "svelte-table/src",
|
|
18
|
-
"children": [
|
|
19
|
-
{
|
|
20
|
-
"uid": "7238-177",
|
|
21
|
-
"name": "placeholder.svelte"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"uid": "7238-179",
|
|
25
|
-
"name": "placeholder.ts"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"uid": "7238-181",
|
|
29
|
-
"name": "render-component.ts"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"uid": "7238-183",
|
|
33
|
-
"name": "index.ts"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"isRoot": true
|
|
43
|
-
},
|
|
44
|
-
"nodeParts": {
|
|
45
|
-
"7238-175": {
|
|
46
|
-
"renderedLength": 126934,
|
|
47
|
-
"gzipLength": 22466,
|
|
48
|
-
"brotliLength": 0,
|
|
49
|
-
"mainUid": "7238-174"
|
|
50
|
-
},
|
|
51
|
-
"7238-177": {
|
|
52
|
-
"renderedLength": 927,
|
|
53
|
-
"gzipLength": 445,
|
|
54
|
-
"brotliLength": 0,
|
|
55
|
-
"mainUid": "7238-176"
|
|
56
|
-
},
|
|
57
|
-
"7238-179": {
|
|
58
|
-
"renderedLength": 246,
|
|
59
|
-
"gzipLength": 186,
|
|
60
|
-
"brotliLength": 0,
|
|
61
|
-
"mainUid": "7238-178"
|
|
62
|
-
},
|
|
63
|
-
"7238-181": {
|
|
64
|
-
"renderedLength": 1447,
|
|
65
|
-
"gzipLength": 537,
|
|
66
|
-
"brotliLength": 0,
|
|
67
|
-
"mainUid": "7238-180"
|
|
68
|
-
},
|
|
69
|
-
"7238-183": {
|
|
70
|
-
"renderedLength": 2930,
|
|
71
|
-
"gzipLength": 948,
|
|
72
|
-
"brotliLength": 0,
|
|
73
|
-
"mainUid": "7238-182"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"nodeMetas": {
|
|
77
|
-
"7238-174": {
|
|
78
|
-
"id": "/packages/table-core/build/esm/index.js",
|
|
79
|
-
"moduleParts": {
|
|
80
|
-
"index.production.js": "7238-175"
|
|
81
|
-
},
|
|
82
|
-
"imported": [],
|
|
83
|
-
"importedBy": [
|
|
84
|
-
{
|
|
85
|
-
"uid": "7238-182"
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
"7238-176": {
|
|
90
|
-
"id": "/packages/svelte-table/src/placeholder.svelte",
|
|
91
|
-
"moduleParts": {
|
|
92
|
-
"index.production.js": "7238-177"
|
|
93
|
-
},
|
|
94
|
-
"imported": [
|
|
95
|
-
{
|
|
96
|
-
"uid": "7238-184"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"importedBy": [
|
|
100
|
-
{
|
|
101
|
-
"uid": "7238-178"
|
|
102
|
-
}
|
|
103
|
-
]
|
|
104
|
-
},
|
|
105
|
-
"7238-178": {
|
|
106
|
-
"id": "/packages/svelte-table/src/placeholder.ts",
|
|
107
|
-
"moduleParts": {
|
|
108
|
-
"index.production.js": "7238-179"
|
|
109
|
-
},
|
|
110
|
-
"imported": [
|
|
111
|
-
{
|
|
112
|
-
"uid": "7238-184"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"uid": "7238-176"
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"importedBy": [
|
|
119
|
-
{
|
|
120
|
-
"uid": "7238-182"
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"7238-180": {
|
|
125
|
-
"id": "/packages/svelte-table/src/render-component.ts",
|
|
126
|
-
"moduleParts": {
|
|
127
|
-
"index.production.js": "7238-181"
|
|
128
|
-
},
|
|
129
|
-
"imported": [
|
|
130
|
-
{
|
|
131
|
-
"uid": "7238-184"
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"importedBy": [
|
|
135
|
-
{
|
|
136
|
-
"uid": "7238-182"
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
|
-
"7238-182": {
|
|
141
|
-
"id": "/packages/svelte-table/src/index.ts",
|
|
142
|
-
"moduleParts": {
|
|
143
|
-
"index.production.js": "7238-183"
|
|
144
|
-
},
|
|
145
|
-
"imported": [
|
|
146
|
-
{
|
|
147
|
-
"uid": "7238-174"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"uid": "7238-178"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"uid": "7238-184"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"uid": "7238-185"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"uid": "7238-180"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"importedBy": [],
|
|
163
|
-
"isEntry": true
|
|
164
|
-
},
|
|
165
|
-
"7238-184": {
|
|
166
|
-
"id": "svelte/internal",
|
|
167
|
-
"moduleParts": {},
|
|
168
|
-
"imported": [],
|
|
169
|
-
"importedBy": [
|
|
170
|
-
{
|
|
171
|
-
"uid": "7238-182"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"uid": "7238-178"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"uid": "7238-180"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"uid": "7238-176"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"isExternal": true
|
|
184
|
-
},
|
|
185
|
-
"7238-185": {
|
|
186
|
-
"id": "svelte/store",
|
|
187
|
-
"moduleParts": {},
|
|
188
|
-
"imported": [],
|
|
189
|
-
"importedBy": [
|
|
190
|
-
{
|
|
191
|
-
"uid": "7238-182"
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"isExternal": true
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
"env": {
|
|
198
|
-
"rollup": "2.79.1"
|
|
199
|
-
},
|
|
200
|
-
"options": {
|
|
201
|
-
"gzip": true,
|
|
202
|
-
"brotli": false,
|
|
203
|
-
"sourcemap": false
|
|
204
|
-
}
|
|
205
|
-
}
|
package/build/types/index.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* svelte-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 { RowData, TableOptions } from '@tanstack/table-core';
|
|
13
|
-
export * from '@tanstack/table-core';
|
|
14
|
-
import { Readable } from 'svelte/store';
|
|
15
|
-
import * as svelte_types_runtime_internal_types from 'svelte/types/runtime/internal/types';
|
|
16
|
-
import { ComponentType, ComponentProps } from 'svelte';
|
|
17
|
-
import { noop } from 'svelte/internal';
|
|
18
|
-
|
|
19
|
-
declare function renderClient<T>(Comp: T, props: T extends ComponentType<infer C> ? ComponentProps<C> : any): {
|
|
20
|
-
new (options: any): {
|
|
21
|
-
$$: svelte_types_runtime_internal_types.T$$;
|
|
22
|
-
$$set?: (($$props: any) => void) | undefined;
|
|
23
|
-
$destroy(): void;
|
|
24
|
-
$on(type: any, callback: any): typeof noop;
|
|
25
|
-
$set($$props: any): void;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
declare function renderServer<T>(Comp: T, props: T extends ComponentType<infer C> ? ComponentProps<C> : any): {
|
|
29
|
-
render: (props?: {} | undefined, { $$slots, context }?: {
|
|
30
|
-
$$slots?: {} | undefined;
|
|
31
|
-
context?: Map<any, any> | undefined;
|
|
32
|
-
} | undefined) => {
|
|
33
|
-
html: any;
|
|
34
|
-
css: {
|
|
35
|
-
code: string;
|
|
36
|
-
map: any;
|
|
37
|
-
};
|
|
38
|
-
head: string;
|
|
39
|
-
};
|
|
40
|
-
$$render: (result: any, props: any, bindings: any, slots: any, context: any) => any;
|
|
41
|
-
};
|
|
42
|
-
declare const renderComponent: typeof renderServer | typeof renderClient;
|
|
43
|
-
|
|
44
|
-
declare function flexRender(component: any, props: any): any;
|
|
45
|
-
type ReadableOrVal<T> = T | Readable<T>;
|
|
46
|
-
declare function createSvelteTable<TData extends RowData>(options: ReadableOrVal<TableOptions<TData>>): Readable<_tanstack_table_core.Table<TData>>;
|
|
47
|
-
|
|
48
|
-
export { createSvelteTable, flexRender, renderComponent };
|