@revolist/svelte-datagrid 4.17.1 → 4.18.0
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 +29 -28
- package/dist/svelte-datagrid.umd.cjs +29 -28
- package/lib/components/RevoGrid.ts +30 -28
- package/package.json +2 -2
package/dist/svelte-datagrid.js
CHANGED
|
@@ -4,7 +4,7 @@ import "svelte/internal/disclose-version";
|
|
|
4
4
|
import "svelte/internal/flags/legacy";
|
|
5
5
|
import * as $ from "svelte/internal/client";
|
|
6
6
|
import { createEventDispatcher, onMount } from "svelte";
|
|
7
|
-
var root = $.
|
|
7
|
+
var root = $.from_html(`<revo-grid><!></revo-grid>`, 2);
|
|
8
8
|
function RevoGrid($$anchor, $$props) {
|
|
9
9
|
$.push($$props, false);
|
|
10
10
|
let __ref = $.mutable_source();
|
|
@@ -78,6 +78,33 @@ function RevoGrid($$anchor, $$props) {
|
|
|
78
78
|
e.stopPropagation();
|
|
79
79
|
dispatch(e.type, e.detail);
|
|
80
80
|
};
|
|
81
|
+
var $$exports = {
|
|
82
|
+
refresh,
|
|
83
|
+
setDataAt,
|
|
84
|
+
scrollToRow,
|
|
85
|
+
scrollToColumnIndex,
|
|
86
|
+
scrollToColumnProp,
|
|
87
|
+
updateColumns,
|
|
88
|
+
addTrimmed,
|
|
89
|
+
scrollToCoordinate,
|
|
90
|
+
setCellEdit,
|
|
91
|
+
setCellsFocus,
|
|
92
|
+
getSource,
|
|
93
|
+
getVisibleSource,
|
|
94
|
+
getSourceStore,
|
|
95
|
+
getColumnStore,
|
|
96
|
+
updateColumnSorting,
|
|
97
|
+
clearSorting,
|
|
98
|
+
getColumns,
|
|
99
|
+
clearFocus,
|
|
100
|
+
getPlugins,
|
|
101
|
+
getFocused,
|
|
102
|
+
getContentSize,
|
|
103
|
+
getSelectedRange,
|
|
104
|
+
refreshExtraElements,
|
|
105
|
+
getProviders,
|
|
106
|
+
getWebComponent
|
|
107
|
+
};
|
|
81
108
|
$.init();
|
|
82
109
|
var revo_grid = root();
|
|
83
110
|
$.template_effect(() => $.set_custom_element_data(revo_grid, "row-headers", rowHeaders()));
|
|
@@ -188,33 +215,7 @@ function RevoGrid($$anchor, $$props) {
|
|
|
188
215
|
$.bind_prop($$props, "refreshExtraElements", refreshExtraElements);
|
|
189
216
|
$.bind_prop($$props, "getProviders", getProviders);
|
|
190
217
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
191
|
-
return $.pop(
|
|
192
|
-
refresh,
|
|
193
|
-
setDataAt,
|
|
194
|
-
scrollToRow,
|
|
195
|
-
scrollToColumnIndex,
|
|
196
|
-
scrollToColumnProp,
|
|
197
|
-
updateColumns,
|
|
198
|
-
addTrimmed,
|
|
199
|
-
scrollToCoordinate,
|
|
200
|
-
setCellEdit,
|
|
201
|
-
setCellsFocus,
|
|
202
|
-
getSource,
|
|
203
|
-
getVisibleSource,
|
|
204
|
-
getSourceStore,
|
|
205
|
-
getColumnStore,
|
|
206
|
-
updateColumnSorting,
|
|
207
|
-
clearSorting,
|
|
208
|
-
getColumns,
|
|
209
|
-
clearFocus,
|
|
210
|
-
getPlugins,
|
|
211
|
-
getFocused,
|
|
212
|
-
getContentSize,
|
|
213
|
-
getSelectedRange,
|
|
214
|
-
refreshExtraElements,
|
|
215
|
-
getProviders,
|
|
216
|
-
getWebComponent
|
|
217
|
-
});
|
|
218
|
+
return $.pop($$exports);
|
|
218
219
|
}
|
|
219
220
|
defineCustomElements();
|
|
220
221
|
export {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
return Object.freeze(n);
|
|
20
20
|
}
|
|
21
21
|
const $__namespace = /* @__PURE__ */ _interopNamespaceDefault($);
|
|
22
|
-
var root = $__namespace.
|
|
22
|
+
var root = $__namespace.from_html(`<revo-grid><!></revo-grid>`, 2);
|
|
23
23
|
function RevoGrid($$anchor, $$props) {
|
|
24
24
|
$__namespace.push($$props, false);
|
|
25
25
|
let __ref = $__namespace.mutable_source();
|
|
@@ -93,6 +93,33 @@
|
|
|
93
93
|
e.stopPropagation();
|
|
94
94
|
dispatch(e.type, e.detail);
|
|
95
95
|
};
|
|
96
|
+
var $$exports = {
|
|
97
|
+
refresh,
|
|
98
|
+
setDataAt,
|
|
99
|
+
scrollToRow,
|
|
100
|
+
scrollToColumnIndex,
|
|
101
|
+
scrollToColumnProp,
|
|
102
|
+
updateColumns,
|
|
103
|
+
addTrimmed,
|
|
104
|
+
scrollToCoordinate,
|
|
105
|
+
setCellEdit,
|
|
106
|
+
setCellsFocus,
|
|
107
|
+
getSource,
|
|
108
|
+
getVisibleSource,
|
|
109
|
+
getSourceStore,
|
|
110
|
+
getColumnStore,
|
|
111
|
+
updateColumnSorting,
|
|
112
|
+
clearSorting,
|
|
113
|
+
getColumns,
|
|
114
|
+
clearFocus,
|
|
115
|
+
getPlugins,
|
|
116
|
+
getFocused,
|
|
117
|
+
getContentSize,
|
|
118
|
+
getSelectedRange,
|
|
119
|
+
refreshExtraElements,
|
|
120
|
+
getProviders,
|
|
121
|
+
getWebComponent
|
|
122
|
+
};
|
|
96
123
|
$__namespace.init();
|
|
97
124
|
var revo_grid = root();
|
|
98
125
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(revo_grid, "row-headers", rowHeaders()));
|
|
@@ -203,33 +230,7 @@
|
|
|
203
230
|
$__namespace.bind_prop($$props, "refreshExtraElements", refreshExtraElements);
|
|
204
231
|
$__namespace.bind_prop($$props, "getProviders", getProviders);
|
|
205
232
|
$__namespace.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
206
|
-
return $__namespace.pop(
|
|
207
|
-
refresh,
|
|
208
|
-
setDataAt,
|
|
209
|
-
scrollToRow,
|
|
210
|
-
scrollToColumnIndex,
|
|
211
|
-
scrollToColumnProp,
|
|
212
|
-
updateColumns,
|
|
213
|
-
addTrimmed,
|
|
214
|
-
scrollToCoordinate,
|
|
215
|
-
setCellEdit,
|
|
216
|
-
setCellsFocus,
|
|
217
|
-
getSource,
|
|
218
|
-
getVisibleSource,
|
|
219
|
-
getSourceStore,
|
|
220
|
-
getColumnStore,
|
|
221
|
-
updateColumnSorting,
|
|
222
|
-
clearSorting,
|
|
223
|
-
getColumns,
|
|
224
|
-
clearFocus,
|
|
225
|
-
getPlugins,
|
|
226
|
-
getFocused,
|
|
227
|
-
getContentSize,
|
|
228
|
-
getSelectedRange,
|
|
229
|
-
refreshExtraElements,
|
|
230
|
-
getProviders,
|
|
231
|
-
getWebComponent
|
|
232
|
-
});
|
|
233
|
+
return $__namespace.pop($$exports);
|
|
233
234
|
}
|
|
234
235
|
loader.defineCustomElements();
|
|
235
236
|
exports2.RevoGrid = RevoGrid;
|
|
@@ -339,7 +339,7 @@ import 'svelte/internal/flags/legacy';
|
|
|
339
339
|
import * as $ from 'svelte/internal/client';
|
|
340
340
|
import { createEventDispatcher, onMount } from 'svelte';
|
|
341
341
|
|
|
342
|
-
var root = $.
|
|
342
|
+
var root = $.from_html(`<revo-grid><!></revo-grid>`, 2);
|
|
343
343
|
|
|
344
344
|
export default function RevoGrid($$anchor, $$props) {
|
|
345
345
|
$.push($$props, false);
|
|
@@ -424,6 +424,34 @@ export default function RevoGrid($$anchor, $$props) {
|
|
|
424
424
|
dispatch(e.type, e.detail);
|
|
425
425
|
};
|
|
426
426
|
|
|
427
|
+
var $$exports = {
|
|
428
|
+
refresh,
|
|
429
|
+
setDataAt,
|
|
430
|
+
scrollToRow,
|
|
431
|
+
scrollToColumnIndex,
|
|
432
|
+
scrollToColumnProp,
|
|
433
|
+
updateColumns,
|
|
434
|
+
addTrimmed,
|
|
435
|
+
scrollToCoordinate,
|
|
436
|
+
setCellEdit,
|
|
437
|
+
setCellsFocus,
|
|
438
|
+
getSource,
|
|
439
|
+
getVisibleSource,
|
|
440
|
+
getSourceStore,
|
|
441
|
+
getColumnStore,
|
|
442
|
+
updateColumnSorting,
|
|
443
|
+
clearSorting,
|
|
444
|
+
getColumns,
|
|
445
|
+
clearFocus,
|
|
446
|
+
getPlugins,
|
|
447
|
+
getFocused,
|
|
448
|
+
getContentSize,
|
|
449
|
+
getSelectedRange,
|
|
450
|
+
refreshExtraElements,
|
|
451
|
+
getProviders,
|
|
452
|
+
getWebComponent
|
|
453
|
+
};
|
|
454
|
+
|
|
427
455
|
$.init();
|
|
428
456
|
|
|
429
457
|
var revo_grid = root();
|
|
@@ -539,31 +567,5 @@ export default function RevoGrid($$anchor, $$props) {
|
|
|
539
567
|
$.bind_prop($$props, 'getProviders', getProviders);
|
|
540
568
|
$.bind_prop($$props, 'getWebComponent', getWebComponent);
|
|
541
569
|
|
|
542
|
-
return $.pop(
|
|
543
|
-
refresh,
|
|
544
|
-
setDataAt,
|
|
545
|
-
scrollToRow,
|
|
546
|
-
scrollToColumnIndex,
|
|
547
|
-
scrollToColumnProp,
|
|
548
|
-
updateColumns,
|
|
549
|
-
addTrimmed,
|
|
550
|
-
scrollToCoordinate,
|
|
551
|
-
setCellEdit,
|
|
552
|
-
setCellsFocus,
|
|
553
|
-
getSource,
|
|
554
|
-
getVisibleSource,
|
|
555
|
-
getSourceStore,
|
|
556
|
-
getColumnStore,
|
|
557
|
-
updateColumnSorting,
|
|
558
|
-
clearSorting,
|
|
559
|
-
getColumns,
|
|
560
|
-
clearFocus,
|
|
561
|
-
getPlugins,
|
|
562
|
-
getFocused,
|
|
563
|
-
getContentSize,
|
|
564
|
-
getSelectedRange,
|
|
565
|
-
refreshExtraElements,
|
|
566
|
-
getProviders,
|
|
567
|
-
getWebComponent
|
|
568
|
-
});
|
|
570
|
+
return $.pop($$exports);
|
|
569
571
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolist/svelte-datagrid",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.0",
|
|
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.
|
|
76
|
+
"@revolist/revogrid": "4.18.0"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|