@revolist/svelte-datagrid 4.32.0 → 4.32.4

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.
@@ -71,6 +71,7 @@ function RevoGrid($$anchor, $$props) {
71
71
  const clearSorting = (...args) => $.get(__ref).clearSorting(...args);
72
72
  const getColumns = (...args) => $.get(__ref).getColumns(...args);
73
73
  const clearFocus = (...args) => $.get(__ref).clearFocus(...args);
74
+ const isGridReady = (...args) => $.get(__ref).isGridReady(...args);
74
75
  const getPlugins = (...args) => $.get(__ref).getPlugins(...args);
75
76
  const getFocused = (...args) => $.get(__ref).getFocused(...args);
76
77
  const getContentSize = (...args) => $.get(__ref).getContentSize(...args);
@@ -159,6 +160,7 @@ function RevoGrid($$anchor, $$props) {
159
160
  clearSorting,
160
161
  getColumns,
161
162
  clearFocus,
163
+ isGridReady,
162
164
  getPlugins,
163
165
  getFocused,
164
166
  getContentSize,
@@ -260,6 +262,7 @@ function RevoGrid($$anchor, $$props) {
260
262
  $.bind_prop($$props, "clearSorting", clearSorting);
261
263
  $.bind_prop($$props, "getColumns", getColumns);
262
264
  $.bind_prop($$props, "clearFocus", clearFocus);
265
+ $.bind_prop($$props, "isGridReady", isGridReady);
263
266
  $.bind_prop($$props, "getPlugins", getPlugins);
264
267
  $.bind_prop($$props, "getFocused", getFocused);
265
268
  $.bind_prop($$props, "getContentSize", getContentSize);
@@ -17,12 +17,14 @@
17
17
  var __getProtoOf = Object.getPrototypeOf;
18
18
  var __hasOwnProp = Object.prototype.hasOwnProperty;
19
19
  var __copyProps = (to, from, except, desc) => {
20
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
21
- key = keys[i];
22
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
23
- get: ((k) => from[k]).bind(null, key),
24
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
25
- });
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) {
22
+ desc = __getOwnPropDesc(from, key);
23
+ __defProp(to, key, {
24
+ get: desc && desc.get && !desc.configurable ? desc.get : () => from[key],
25
+ enumerable: !desc || desc.enumerable
26
+ });
27
+ }
26
28
  }
27
29
  return to;
28
30
  };
@@ -98,6 +100,7 @@
98
100
  const clearSorting = (...args) => svelte_internal_client.get(__ref).clearSorting(...args);
99
101
  const getColumns = (...args) => svelte_internal_client.get(__ref).getColumns(...args);
100
102
  const clearFocus = (...args) => svelte_internal_client.get(__ref).clearFocus(...args);
103
+ const isGridReady = (...args) => svelte_internal_client.get(__ref).isGridReady(...args);
101
104
  const getPlugins = (...args) => svelte_internal_client.get(__ref).getPlugins(...args);
102
105
  const getFocused = (...args) => svelte_internal_client.get(__ref).getFocused(...args);
103
106
  const getContentSize = (...args) => svelte_internal_client.get(__ref).getContentSize(...args);
@@ -186,6 +189,7 @@
186
189
  clearSorting,
187
190
  getColumns,
188
191
  clearFocus,
192
+ isGridReady,
189
193
  getPlugins,
190
194
  getFocused,
191
195
  getContentSize,
@@ -287,6 +291,7 @@
287
291
  svelte_internal_client.bind_prop($$props, "clearSorting", clearSorting);
288
292
  svelte_internal_client.bind_prop($$props, "getColumns", getColumns);
289
293
  svelte_internal_client.bind_prop($$props, "clearFocus", clearFocus);
294
+ svelte_internal_client.bind_prop($$props, "isGridReady", isGridReady);
290
295
  svelte_internal_client.bind_prop($$props, "getPlugins", getPlugins);
291
296
  svelte_internal_client.bind_prop($$props, "getFocused", getFocused);
292
297
  svelte_internal_client.bind_prop($$props, "getContentSize", getContentSize);
@@ -437,6 +437,7 @@ export default function RevoGrid($$anchor, $$props) {
437
437
  const clearSorting = (...args) => $.get(__ref).clearSorting(...args);
438
438
  const getColumns = (...args) => $.get(__ref).getColumns(...args);
439
439
  const clearFocus = (...args) => $.get(__ref).clearFocus(...args);
440
+ const isGridReady = (...args) => $.get(__ref).isGridReady(...args);
440
441
  const getPlugins = (...args) => $.get(__ref).getPlugins(...args);
441
442
  const getFocused = (...args) => $.get(__ref).getFocused(...args);
442
443
  const getContentSize = (...args) => $.get(__ref).getContentSize(...args);
@@ -547,6 +548,7 @@ export default function RevoGrid($$anchor, $$props) {
547
548
  clearSorting,
548
549
  getColumns,
549
550
  clearFocus,
551
+ isGridReady,
550
552
  getPlugins,
551
553
  getFocused,
552
554
  getContentSize,
@@ -653,6 +655,7 @@ export default function RevoGrid($$anchor, $$props) {
653
655
  $.bind_prop($$props, 'clearSorting', clearSorting);
654
656
  $.bind_prop($$props, 'getColumns', getColumns);
655
657
  $.bind_prop($$props, 'clearFocus', clearFocus);
658
+ $.bind_prop($$props, 'isGridReady', isGridReady);
656
659
  $.bind_prop($$props, 'getPlugins', getPlugins);
657
660
  $.bind_prop($$props, 'getFocused', getFocused);
658
661
  $.bind_prop($$props, 'getContentSize', getContentSize);
@@ -68,6 +68,7 @@ export const updateColumnSorting = (...args) => __ref.updateColumnSorting(...arg
68
68
  export const clearSorting = (...args) => __ref.clearSorting(...args);
69
69
  export const getColumns = (...args) => __ref.getColumns(...args);
70
70
  export const clearFocus = (...args) => __ref.clearFocus(...args);
71
+ export const isGridReady = (...args) => __ref.isGridReady(...args);
71
72
  export const getPlugins = (...args) => __ref.getPlugins(...args);
72
73
  export const getFocused = (...args) => __ref.getFocused(...args);
73
74
  export const getContentSize = (...args) => __ref.getContentSize(...args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolist/svelte-datagrid",
3
- "version": "4.32.0",
3
+ "version": "4.32.4",
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",
@@ -74,7 +74,7 @@
74
74
  "vite-plugin-dts": "^5.0.1"
75
75
  },
76
76
  "dependencies": {
77
- "@revolist/revogrid": "4.32.0"
77
+ "@revolist/revogrid": "4.32.4"
78
78
  },
79
79
  "publishConfig": {
80
80
  "access": "public"