@revolist/svelte-datagrid 4.14.4 → 4.14.6
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/dist/svelte-datagrid.js
CHANGED
|
@@ -153,6 +153,12 @@ function RevoGrid($$anchor, $$props) {
|
|
|
153
153
|
if ($.get(__mounted)) setProp("grouping", grouping());
|
|
154
154
|
}
|
|
155
155
|
);
|
|
156
|
+
$.legacy_pre_effect(
|
|
157
|
+
() => ($.get(__mounted), $.deep_read_state(additionalData())),
|
|
158
|
+
() => {
|
|
159
|
+
if ($.get(__mounted)) setProp("additionalData", additionalData());
|
|
160
|
+
}
|
|
161
|
+
);
|
|
156
162
|
$.legacy_pre_effect(
|
|
157
163
|
() => ($.get(__mounted), $.deep_read_state(jobsBeforeRender())),
|
|
158
164
|
() => {
|
|
@@ -190,7 +196,6 @@ function RevoGrid($$anchor, $$props) {
|
|
|
190
196
|
$.set_custom_element_data(revo_grid, "can-move-columns", canMoveColumns());
|
|
191
197
|
$.set_custom_element_data(revo_grid, "exporting", exporting());
|
|
192
198
|
$.set_custom_element_data(revo_grid, "stretch", stretch());
|
|
193
|
-
$.set_custom_element_data(revo_grid, "additional-data", additionalData());
|
|
194
199
|
$.set_custom_element_data(revo_grid, "disable-virtual-x", disableVirtualX());
|
|
195
200
|
$.set_custom_element_data(revo_grid, "disable-virtual-y", disableVirtualY());
|
|
196
201
|
$.set_custom_element_data(revo_grid, "hide-attribution", hideAttribution());
|
|
@@ -168,6 +168,12 @@
|
|
|
168
168
|
if ($__namespace.get(__mounted)) setProp("grouping", grouping());
|
|
169
169
|
}
|
|
170
170
|
);
|
|
171
|
+
$__namespace.legacy_pre_effect(
|
|
172
|
+
() => ($__namespace.get(__mounted), $__namespace.deep_read_state(additionalData())),
|
|
173
|
+
() => {
|
|
174
|
+
if ($__namespace.get(__mounted)) setProp("additionalData", additionalData());
|
|
175
|
+
}
|
|
176
|
+
);
|
|
171
177
|
$__namespace.legacy_pre_effect(
|
|
172
178
|
() => ($__namespace.get(__mounted), $__namespace.deep_read_state(jobsBeforeRender())),
|
|
173
179
|
() => {
|
|
@@ -205,7 +211,6 @@
|
|
|
205
211
|
$__namespace.set_custom_element_data(revo_grid, "can-move-columns", canMoveColumns());
|
|
206
212
|
$__namespace.set_custom_element_data(revo_grid, "exporting", exporting());
|
|
207
213
|
$__namespace.set_custom_element_data(revo_grid, "stretch", stretch());
|
|
208
|
-
$__namespace.set_custom_element_data(revo_grid, "additional-data", additionalData());
|
|
209
214
|
$__namespace.set_custom_element_data(revo_grid, "disable-virtual-x", disableVirtualX());
|
|
210
215
|
$__namespace.set_custom_element_data(revo_grid, "disable-virtual-y", disableVirtualY());
|
|
211
216
|
$__namespace.set_custom_element_data(revo_grid, "hide-attribution", hideAttribution());
|
|
@@ -539,6 +539,16 @@ export default function RevoGrid($$anchor, $$props) {
|
|
|
539
539
|
}
|
|
540
540
|
);
|
|
541
541
|
|
|
542
|
+
$.legacy_pre_effect(
|
|
543
|
+
() => (
|
|
544
|
+
$.get(__mounted),
|
|
545
|
+
$.deep_read_state(additionalData())
|
|
546
|
+
),
|
|
547
|
+
() => {
|
|
548
|
+
if ($.get(__mounted)) setProp('additionalData', additionalData());
|
|
549
|
+
}
|
|
550
|
+
);
|
|
551
|
+
|
|
542
552
|
$.legacy_pre_effect(
|
|
543
553
|
() => (
|
|
544
554
|
$.get(__mounted),
|
|
@@ -587,7 +597,6 @@ export default function RevoGrid($$anchor, $$props) {
|
|
|
587
597
|
$.set_custom_element_data(revo_grid, "can-move-columns", canMoveColumns());
|
|
588
598
|
$.set_custom_element_data(revo_grid, "exporting", exporting());
|
|
589
599
|
$.set_custom_element_data(revo_grid, "stretch", stretch());
|
|
590
|
-
$.set_custom_element_data(revo_grid, "additional-data", additionalData());
|
|
591
600
|
$.set_custom_element_data(revo_grid, "disable-virtual-x", disableVirtualX());
|
|
592
601
|
$.set_custom_element_data(revo_grid, "disable-virtual-y", disableVirtualY());
|
|
593
602
|
$.set_custom_element_data(revo_grid, "hide-attribution", hideAttribution());
|
|
@@ -87,6 +87,7 @@ $: if (__mounted) setProp('sorting', sorting);
|
|
|
87
87
|
$: if (__mounted) setProp('focusTemplate', focusTemplate);
|
|
88
88
|
$: if (__mounted) setProp('trimmedRows', trimmedRows);
|
|
89
89
|
$: if (__mounted) setProp('grouping', grouping);
|
|
90
|
+
$: if (__mounted) setProp('additionalData', additionalData);
|
|
90
91
|
$: if (__mounted) setProp('jobsBeforeRender', jobsBeforeRender);
|
|
91
92
|
$: if (__mounted) setProp('registerVNode', registerVNode);
|
|
92
93
|
|
|
@@ -114,7 +115,6 @@ const onEvent = (e) => {
|
|
|
114
115
|
can-move-columns={canMoveColumns}
|
|
115
116
|
exporting={exporting}
|
|
116
117
|
stretch={stretch}
|
|
117
|
-
additional-data={additionalData}
|
|
118
118
|
disable-virtual-x={disableVirtualX}
|
|
119
119
|
disable-virtual-y={disableVirtualY}
|
|
120
120
|
hide-attribution={hideAttribution}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolist/svelte-datagrid",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.6",
|
|
4
4
|
"description": "Svelte DataGrid Spreadsheet component with native cell render support",
|
|
5
5
|
"main": "./dist/svelte-datagrid.umd.cjs",
|
|
6
6
|
"module": "./dist/svelte-datagrid.js",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"vite-plugin-dts": "^4.3.0"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@revolist/revogrid": "4.14.
|
|
76
|
+
"@revolist/revogrid": "4.14.6"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|