@revolist/svelte-datagrid 4.10.12 → 4.10.13

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/index.d.ts CHANGED
@@ -72,33 +72,33 @@ declare interface RevoGridEvents {
72
72
  Currently, the event responsible for applying the new content size does not provide the actual size.
73
73
  To retrieve the actual content size, you can utilize the `getContentSize` function after the event has been triggered. */
74
74
  contentsizechanged: Parameters<JSX.RevoGrid["onContentsizechanged"]>[0];
75
- /** This event is triggered before the data is edited.
75
+ /** Before the data is edited.
76
76
  To prevent the default behavior of editing data and use your own implementation, call `e.preventDefault()`.
77
77
  To override the edit result with your own value, set the `e.val` property to your desired value. */
78
78
  beforeedit: Parameters<JSX.RevoGrid["onBeforeedit"]>[0];
79
- /** This event is triggered before applying range data, specifically when a range selection occurs.
79
+ /** Before applying range data, specifically when a range selection occurs.
80
80
  To customize the data and prevent the default edit data from being set, you can call `e.preventDefault()`. */
81
81
  beforerangeedit: Parameters<JSX.RevoGrid["onBeforerangeedit"]>[0];
82
- /** Triggered after data applied or range changed. */
82
+ /** After data applied or range changed. */
83
83
  afteredit: Parameters<JSX.RevoGrid["onAfteredit"]>[0];
84
- /** This event is triggered before autofill is applied.
84
+ /** Before autofill is applied.
85
85
  To prevent the default behavior of applying the edit data, you can call `e.preventDefault()`. */
86
86
  beforeautofill: Parameters<JSX.RevoGrid["onBeforeautofill"]>[0];
87
- /** Triggered before range applied.
87
+ /** Before autofill is applied. Runs before beforeautofill event.
88
88
  Use e.preventDefault() to prevent range. */
89
89
  beforerange: Parameters<JSX.RevoGrid["onBeforerange"]>[0];
90
- /** Triggered after focus render finished.
90
+ /** After focus render finished.
91
91
  Can be used to access a focus element through `event.target`.
92
92
  This is just a duplicate of `afterfocus` from `revogr-focus.tsx`. */
93
93
  afterfocus: Parameters<JSX.RevoGrid["onAfterfocus"]>[0];
94
- /** This event is triggered before the order of `rgRow` is applied.
94
+ /** Before the order of `rgRow` is applied.
95
95
  To prevent the default behavior of changing the order of `rgRow`, you can call `e.preventDefault()`. */
96
96
  roworderchanged: Parameters<JSX.RevoGrid["onRoworderchanged"]>[0];
97
- /** Triggered by sorting.plugin.ts
97
+ /** By sorting.plugin.ts
98
98
  Before sorting apply.
99
99
  Use e.preventDefault() to prevent sorting data change. */
100
100
  beforesortingapply: Parameters<JSX.RevoGrid["onBeforesortingapply"]>[0];
101
- /** Triggered by sorting.plugin.ts
101
+ /** By sorting.plugin.ts
102
102
  Before sorting event.
103
103
  Initial sorting triggered, if this event stops no other event called.
104
104
  Use e.preventDefault() to prevent sorting. */
@@ -109,10 +109,10 @@ declare interface RevoGridEvents {
109
109
  rowdragstart: Parameters<JSX.RevoGrid["onRowdragstart"]>[0];
110
110
  /** On header click. */
111
111
  headerclick: Parameters<JSX.RevoGrid["onHeaderclick"]>[0];
112
- /** This event is triggered before the cell focus is changed.
112
+ /** Before the cell focus is changed.
113
113
  To prevent the default behavior of changing the cell focus, you can call `e.preventDefault()`. */
114
114
  beforecellfocus: Parameters<JSX.RevoGrid["onBeforecellfocus"]>[0];
115
- /** This event is triggered before the grid focus is lost.
115
+ /** Before the grid focus is lost.
116
116
  To prevent the default behavior of changing the cell focus, you can call `e.preventDefault()`. */
117
117
  beforefocuslost: Parameters<JSX.RevoGrid["onBeforefocuslost"]>[0];
118
118
  /** Before main source/rows data apply.
@@ -159,41 +159,41 @@ Currently, the event responsible for applying the new content size does not prov
159
159
  To retrieve the actual content size, you can utilize the `getContentSize` function after the event has been triggered. */
160
160
  contentsizechanged: Parameters<JSX.RevoGrid["onContentsizechanged"]>[0]
161
161
 
162
- /** This event is triggered before the data is edited.
162
+ /** Before the data is edited.
163
163
  To prevent the default behavior of editing data and use your own implementation, call `e.preventDefault()`.
164
164
  To override the edit result with your own value, set the `e.val` property to your desired value. */
165
165
  beforeedit: Parameters<JSX.RevoGrid["onBeforeedit"]>[0]
166
166
 
167
- /** This event is triggered before applying range data, specifically when a range selection occurs.
167
+ /** Before applying range data, specifically when a range selection occurs.
168
168
  To customize the data and prevent the default edit data from being set, you can call `e.preventDefault()`. */
169
169
  beforerangeedit: Parameters<JSX.RevoGrid["onBeforerangeedit"]>[0]
170
170
 
171
- /** Triggered after data applied or range changed. */
171
+ /** After data applied or range changed. */
172
172
  afteredit: Parameters<JSX.RevoGrid["onAfteredit"]>[0]
173
173
 
174
- /** This event is triggered before autofill is applied.
174
+ /** Before autofill is applied.
175
175
  To prevent the default behavior of applying the edit data, you can call `e.preventDefault()`. */
176
176
  beforeautofill: Parameters<JSX.RevoGrid["onBeforeautofill"]>[0]
177
177
 
178
- /** Triggered before range applied.
178
+ /** Before autofill is applied. Runs before beforeautofill event.
179
179
  Use e.preventDefault() to prevent range. */
180
180
  beforerange: Parameters<JSX.RevoGrid["onBeforerange"]>[0]
181
181
 
182
- /** Triggered after focus render finished.
182
+ /** After focus render finished.
183
183
  Can be used to access a focus element through `event.target`.
184
184
  This is just a duplicate of `afterfocus` from `revogr-focus.tsx`. */
185
185
  afterfocus: Parameters<JSX.RevoGrid["onAfterfocus"]>[0]
186
186
 
187
- /** This event is triggered before the order of `rgRow` is applied.
187
+ /** Before the order of `rgRow` is applied.
188
188
  To prevent the default behavior of changing the order of `rgRow`, you can call `e.preventDefault()`. */
189
189
  roworderchanged: Parameters<JSX.RevoGrid["onRoworderchanged"]>[0]
190
190
 
191
- /** Triggered by sorting.plugin.ts
191
+ /** By sorting.plugin.ts
192
192
  Before sorting apply.
193
193
  Use e.preventDefault() to prevent sorting data change. */
194
194
  beforesortingapply: Parameters<JSX.RevoGrid["onBeforesortingapply"]>[0]
195
195
 
196
- /** Triggered by sorting.plugin.ts
196
+ /** By sorting.plugin.ts
197
197
  Before sorting event.
198
198
  Initial sorting triggered, if this event stops no other event called.
199
199
  Use e.preventDefault() to prevent sorting. */
@@ -207,11 +207,11 @@ To change the item name at the start of the row order change, you can set `e.tex
207
207
  /** On header click. */
208
208
  headerclick: Parameters<JSX.RevoGrid["onHeaderclick"]>[0]
209
209
 
210
- /** This event is triggered before the cell focus is changed.
210
+ /** Before the cell focus is changed.
211
211
  To prevent the default behavior of changing the cell focus, you can call `e.preventDefault()`. */
212
212
  beforecellfocus: Parameters<JSX.RevoGrid["onBeforecellfocus"]>[0]
213
213
 
214
- /** This event is triggered before the grid focus is lost.
214
+ /** Before the grid focus is lost.
215
215
  To prevent the default behavior of changing the cell focus, you can call `e.preventDefault()`. */
216
216
  beforefocuslost: Parameters<JSX.RevoGrid["onBeforefocuslost"]>[0]
217
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolist/svelte-datagrid",
3
- "version": "4.10.12",
3
+ "version": "4.10.13",
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": "^3.9.1"
74
74
  },
75
75
  "dependencies": {
76
- "@revolist/revogrid": "4.10.12"
76
+ "@revolist/revogrid": "4.10.13"
77
77
  },
78
78
  "publishConfig": {
79
79
  "access": "public"