@revolist/svelte-datagrid 4.0.47 → 4.0.49

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.
@@ -1,618 +1,864 @@
1
- var we = Object.defineProperty;
2
- var ze = (i, e, o) => e in i ? we(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o;
3
- var g = (i, e, o) => ze(i, typeof e != "symbol" ? e + "" : e, o);
4
- import { defineCustomElements as Te } from "@revolist/revogrid/loader";
5
- import { SvelteComponent as _e, init as ye, safe_not_equal as Re, create_slot as Ve, element as Fe, set_custom_element_data as n, insert as ve, listen as l, update_slot_base as De, get_all_dirty_from_scope as Be, get_slot_changes as Pe, transition_in as Ae, transition_out as Ee, detach as je, run_all as Me, binding_callbacks as Ne } from "/Users/maks/Projects/revogrid/packages/svelte/node_modules/svelte/src/runtime/internal/index.js";
6
- import "/Users/maks/Projects/revogrid/packages/svelte/node_modules/svelte/src/runtime/internal/disclose-version/index.js";
7
- import { createEventDispatcher as He, onMount as Ie } from "svelte";
8
- function Oe(i) {
9
- let e, o, c, a;
10
- const u = (
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
+ import { defineCustomElements } from "@revolist/revogrid/loader";
5
+ import "@revolist/revogrid";
6
+ import { SvelteComponent, init, safe_not_equal, create_slot, element, set_custom_element_data, insert, listen, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, detach, run_all, binding_callbacks } from "svelte/internal";
7
+ import "svelte/internal/disclose-version";
8
+ import { createEventDispatcher, onMount } from "svelte";
9
+ function create_fragment(ctx) {
10
+ let revo_grid;
11
+ let current;
12
+ let mounted;
13
+ let dispose;
14
+ const default_slot_template = (
11
15
  /*#slots*/
12
- i[61].default
13
- ), d = Ve(
14
- u,
15
- i,
16
+ ctx[61].default
17
+ );
18
+ const default_slot = create_slot(
19
+ default_slot_template,
20
+ ctx,
16
21
  /*$$scope*/
17
- i[60],
22
+ ctx[60],
18
23
  null
19
24
  );
20
25
  return {
21
26
  c() {
22
- e = Fe("revo-grid"), d && d.c(), n(
23
- e,
27
+ revo_grid = element("revo-grid");
28
+ if (default_slot) default_slot.c();
29
+ set_custom_element_data(
30
+ revo_grid,
24
31
  "row-headers",
25
32
  /*rowHeaders*/
26
- i[0]
27
- ), n(
28
- e,
33
+ ctx[0]
34
+ );
35
+ set_custom_element_data(
36
+ revo_grid,
29
37
  "frame-size",
30
38
  /*frameSize*/
31
- i[1]
32
- ), n(
33
- e,
39
+ ctx[1]
40
+ );
41
+ set_custom_element_data(
42
+ revo_grid,
34
43
  "row-size",
35
44
  /*rowSize*/
36
- i[2]
37
- ), n(
38
- e,
45
+ ctx[2]
46
+ );
47
+ set_custom_element_data(
48
+ revo_grid,
39
49
  "col-size",
40
50
  /*colSize*/
41
- i[3]
42
- ), n(
43
- e,
51
+ ctx[3]
52
+ );
53
+ set_custom_element_data(
54
+ revo_grid,
44
55
  "range",
45
56
  /*range*/
46
- i[4]
47
- ), n(
48
- e,
57
+ ctx[4]
58
+ );
59
+ set_custom_element_data(
60
+ revo_grid,
49
61
  "readonly",
50
62
  /*readonly*/
51
- i[5]
52
- ), n(
53
- e,
63
+ ctx[5]
64
+ );
65
+ set_custom_element_data(
66
+ revo_grid,
54
67
  "resize",
55
68
  /*resize*/
56
- i[6]
57
- ), n(
58
- e,
69
+ ctx[6]
70
+ );
71
+ set_custom_element_data(
72
+ revo_grid,
59
73
  "can-focus",
60
74
  /*canFocus*/
61
- i[7]
62
- ), n(
63
- e,
75
+ ctx[7]
76
+ );
77
+ set_custom_element_data(
78
+ revo_grid,
64
79
  "use-clipboard",
65
80
  /*useClipboard*/
66
- i[8]
67
- ), n(
68
- e,
81
+ ctx[8]
82
+ );
83
+ set_custom_element_data(
84
+ revo_grid,
69
85
  "apply-on-close",
70
86
  /*applyOnClose*/
71
- i[9]
72
- ), n(
73
- e,
87
+ ctx[9]
88
+ );
89
+ set_custom_element_data(
90
+ revo_grid,
74
91
  "theme",
75
92
  /*theme*/
76
- i[10]
77
- ), n(
78
- e,
93
+ ctx[10]
94
+ );
95
+ set_custom_element_data(
96
+ revo_grid,
79
97
  "row-class",
80
98
  /*rowClass*/
81
- i[11]
82
- ), n(
83
- e,
99
+ ctx[11]
100
+ );
101
+ set_custom_element_data(
102
+ revo_grid,
84
103
  "auto-size-column",
85
104
  /*autoSizeColumn*/
86
- i[12]
87
- ), n(
88
- e,
105
+ ctx[12]
106
+ );
107
+ set_custom_element_data(
108
+ revo_grid,
89
109
  "filter",
90
110
  /*filter*/
91
- i[13]
92
- ), n(
93
- e,
111
+ ctx[13]
112
+ );
113
+ set_custom_element_data(
114
+ revo_grid,
94
115
  "can-move-columns",
95
116
  /*canMoveColumns*/
96
- i[14]
97
- ), n(
98
- e,
117
+ ctx[14]
118
+ );
119
+ set_custom_element_data(
120
+ revo_grid,
99
121
  "exporting",
100
122
  /*exporting*/
101
- i[15]
102
- ), n(
103
- e,
123
+ ctx[15]
124
+ );
125
+ set_custom_element_data(
126
+ revo_grid,
104
127
  "stretch",
105
128
  /*stretch*/
106
- i[16]
107
- ), n(
108
- e,
129
+ ctx[16]
130
+ );
131
+ set_custom_element_data(
132
+ revo_grid,
109
133
  "additional-data",
110
134
  /*additionalData*/
111
- i[17]
112
- ), n(
113
- e,
135
+ ctx[17]
136
+ );
137
+ set_custom_element_data(
138
+ revo_grid,
114
139
  "disable-virtual-x",
115
140
  /*disableVirtualX*/
116
- i[18]
117
- ), n(
118
- e,
141
+ ctx[18]
142
+ );
143
+ set_custom_element_data(
144
+ revo_grid,
119
145
  "disable-virtual-y",
120
146
  /*disableVirtualY*/
121
- i[19]
122
- ), n(
123
- e,
147
+ ctx[19]
148
+ );
149
+ set_custom_element_data(
150
+ revo_grid,
124
151
  "hide-attribution",
125
152
  /*hideAttribution*/
126
- i[20]
153
+ ctx[20]
127
154
  );
128
155
  },
129
- m(r, s) {
130
- ve(r, e, s), d && d.m(e, null), i[62](e), o = !0, c || (a = [
131
- l(
132
- e,
133
- "contentsizechanged",
134
- /*onEvent*/
135
- i[22]
136
- ),
137
- l(
138
- e,
139
- "beforeedit",
140
- /*onEvent*/
141
- i[22]
142
- ),
143
- l(
144
- e,
145
- "beforerangeedit",
146
- /*onEvent*/
147
- i[22]
148
- ),
149
- l(
150
- e,
151
- "afteredit",
152
- /*onEvent*/
153
- i[22]
154
- ),
155
- l(
156
- e,
157
- "beforeautofill",
158
- /*onEvent*/
159
- i[22]
160
- ),
161
- l(
162
- e,
163
- "beforeange",
164
- /*onEvent*/
165
- i[22]
166
- ),
167
- l(
168
- e,
169
- "afterfocus",
170
- /*onEvent*/
171
- i[22]
172
- ),
173
- l(
174
- e,
175
- "roworderchanged",
176
- /*onEvent*/
177
- i[22]
178
- ),
179
- l(
180
- e,
181
- "beforesortingapply",
182
- /*onEvent*/
183
- i[22]
184
- ),
185
- l(
186
- e,
187
- "beforesorting",
188
- /*onEvent*/
189
- i[22]
190
- ),
191
- l(
192
- e,
193
- "rowdragstart",
194
- /*onEvent*/
195
- i[22]
196
- ),
197
- l(
198
- e,
199
- "headerclick",
200
- /*onEvent*/
201
- i[22]
202
- ),
203
- l(
204
- e,
205
- "beforecellfocus",
206
- /*onEvent*/
207
- i[22]
208
- ),
209
- l(
210
- e,
211
- "beforefocuslost",
212
- /*onEvent*/
213
- i[22]
214
- ),
215
- l(
216
- e,
217
- "beforesourceset",
218
- /*onEvent*/
219
- i[22]
220
- ),
221
- l(
222
- e,
223
- "beforeanysource",
224
- /*onEvent*/
225
- i[22]
226
- ),
227
- l(
228
- e,
229
- "aftersourceset",
230
- /*onEvent*/
231
- i[22]
232
- ),
233
- l(
234
- e,
235
- "afteranysource",
236
- /*onEvent*/
237
- i[22]
238
- ),
239
- l(
240
- e,
241
- "beforecolumnsset",
242
- /*onEvent*/
243
- i[22]
244
- ),
245
- l(
246
- e,
247
- "beforecolumnapplied",
248
- /*onEvent*/
249
- i[22]
250
- ),
251
- l(
252
- e,
253
- "aftercolumnsset",
254
- /*onEvent*/
255
- i[22]
256
- ),
257
- l(
258
- e,
259
- "beforefilterapply",
260
- /*onEvent*/
261
- i[22]
262
- ),
263
- l(
264
- e,
265
- "beforefiltertrimmed",
266
- /*onEvent*/
267
- i[22]
268
- ),
269
- l(
270
- e,
271
- "beforetrimmed",
272
- /*onEvent*/
273
- i[22]
274
- ),
275
- l(
276
- e,
277
- "aftertrimmed",
278
- /*onEvent*/
279
- i[22]
280
- ),
281
- l(
282
- e,
283
- "viewportscroll",
284
- /*onEvent*/
285
- i[22]
286
- ),
287
- l(
288
- e,
289
- "beforeexport",
290
- /*onEvent*/
291
- i[22]
292
- ),
293
- l(
294
- e,
295
- "beforeeditstart",
296
- /*onEvent*/
297
- i[22]
298
- ),
299
- l(
300
- e,
301
- "aftercolumnresize",
302
- /*onEvent*/
303
- i[22]
304
- ),
305
- l(
306
- e,
307
- "beforerowdefinition",
308
- /*onEvent*/
309
- i[22]
310
- ),
311
- l(
312
- e,
313
- "filterconfigchanged",
314
- /*onEvent*/
315
- i[22]
316
- ),
317
- l(
318
- e,
319
- "rowheaderschanged",
320
- /*onEvent*/
321
- i[22]
322
- ),
323
- l(
324
- e,
325
- "beforegridrender",
326
- /*onEvent*/
327
- i[22]
328
- ),
329
- l(
330
- e,
331
- "aftergridinit",
332
- /*onEvent*/
333
- i[22]
334
- )
335
- ], c = !0);
156
+ m(target, anchor) {
157
+ insert(target, revo_grid, anchor);
158
+ if (default_slot) {
159
+ default_slot.m(revo_grid, null);
160
+ }
161
+ ctx[62](revo_grid);
162
+ current = true;
163
+ if (!mounted) {
164
+ dispose = [
165
+ listen(
166
+ revo_grid,
167
+ "contentsizechanged",
168
+ /*onEvent*/
169
+ ctx[22]
170
+ ),
171
+ listen(
172
+ revo_grid,
173
+ "beforeedit",
174
+ /*onEvent*/
175
+ ctx[22]
176
+ ),
177
+ listen(
178
+ revo_grid,
179
+ "beforerangeedit",
180
+ /*onEvent*/
181
+ ctx[22]
182
+ ),
183
+ listen(
184
+ revo_grid,
185
+ "afteredit",
186
+ /*onEvent*/
187
+ ctx[22]
188
+ ),
189
+ listen(
190
+ revo_grid,
191
+ "beforeautofill",
192
+ /*onEvent*/
193
+ ctx[22]
194
+ ),
195
+ listen(
196
+ revo_grid,
197
+ "beforeange",
198
+ /*onEvent*/
199
+ ctx[22]
200
+ ),
201
+ listen(
202
+ revo_grid,
203
+ "afterfocus",
204
+ /*onEvent*/
205
+ ctx[22]
206
+ ),
207
+ listen(
208
+ revo_grid,
209
+ "roworderchanged",
210
+ /*onEvent*/
211
+ ctx[22]
212
+ ),
213
+ listen(
214
+ revo_grid,
215
+ "beforesortingapply",
216
+ /*onEvent*/
217
+ ctx[22]
218
+ ),
219
+ listen(
220
+ revo_grid,
221
+ "beforesorting",
222
+ /*onEvent*/
223
+ ctx[22]
224
+ ),
225
+ listen(
226
+ revo_grid,
227
+ "rowdragstart",
228
+ /*onEvent*/
229
+ ctx[22]
230
+ ),
231
+ listen(
232
+ revo_grid,
233
+ "headerclick",
234
+ /*onEvent*/
235
+ ctx[22]
236
+ ),
237
+ listen(
238
+ revo_grid,
239
+ "beforecellfocus",
240
+ /*onEvent*/
241
+ ctx[22]
242
+ ),
243
+ listen(
244
+ revo_grid,
245
+ "beforefocuslost",
246
+ /*onEvent*/
247
+ ctx[22]
248
+ ),
249
+ listen(
250
+ revo_grid,
251
+ "beforesourceset",
252
+ /*onEvent*/
253
+ ctx[22]
254
+ ),
255
+ listen(
256
+ revo_grid,
257
+ "beforeanysource",
258
+ /*onEvent*/
259
+ ctx[22]
260
+ ),
261
+ listen(
262
+ revo_grid,
263
+ "aftersourceset",
264
+ /*onEvent*/
265
+ ctx[22]
266
+ ),
267
+ listen(
268
+ revo_grid,
269
+ "afteranysource",
270
+ /*onEvent*/
271
+ ctx[22]
272
+ ),
273
+ listen(
274
+ revo_grid,
275
+ "beforecolumnsset",
276
+ /*onEvent*/
277
+ ctx[22]
278
+ ),
279
+ listen(
280
+ revo_grid,
281
+ "beforecolumnapplied",
282
+ /*onEvent*/
283
+ ctx[22]
284
+ ),
285
+ listen(
286
+ revo_grid,
287
+ "aftercolumnsset",
288
+ /*onEvent*/
289
+ ctx[22]
290
+ ),
291
+ listen(
292
+ revo_grid,
293
+ "beforefilterapply",
294
+ /*onEvent*/
295
+ ctx[22]
296
+ ),
297
+ listen(
298
+ revo_grid,
299
+ "beforefiltertrimmed",
300
+ /*onEvent*/
301
+ ctx[22]
302
+ ),
303
+ listen(
304
+ revo_grid,
305
+ "beforetrimmed",
306
+ /*onEvent*/
307
+ ctx[22]
308
+ ),
309
+ listen(
310
+ revo_grid,
311
+ "aftertrimmed",
312
+ /*onEvent*/
313
+ ctx[22]
314
+ ),
315
+ listen(
316
+ revo_grid,
317
+ "viewportscroll",
318
+ /*onEvent*/
319
+ ctx[22]
320
+ ),
321
+ listen(
322
+ revo_grid,
323
+ "beforeexport",
324
+ /*onEvent*/
325
+ ctx[22]
326
+ ),
327
+ listen(
328
+ revo_grid,
329
+ "beforeeditstart",
330
+ /*onEvent*/
331
+ ctx[22]
332
+ ),
333
+ listen(
334
+ revo_grid,
335
+ "aftercolumnresize",
336
+ /*onEvent*/
337
+ ctx[22]
338
+ ),
339
+ listen(
340
+ revo_grid,
341
+ "beforerowdefinition",
342
+ /*onEvent*/
343
+ ctx[22]
344
+ ),
345
+ listen(
346
+ revo_grid,
347
+ "filterconfigchanged",
348
+ /*onEvent*/
349
+ ctx[22]
350
+ ),
351
+ listen(
352
+ revo_grid,
353
+ "rowheaderschanged",
354
+ /*onEvent*/
355
+ ctx[22]
356
+ ),
357
+ listen(
358
+ revo_grid,
359
+ "beforegridrender",
360
+ /*onEvent*/
361
+ ctx[22]
362
+ ),
363
+ listen(
364
+ revo_grid,
365
+ "aftergridinit",
366
+ /*onEvent*/
367
+ ctx[22]
368
+ )
369
+ ];
370
+ mounted = true;
371
+ }
336
372
  },
337
- p(r, s) {
338
- d && d.p && (!o || s[1] & /*$$scope*/
339
- 536870912) && De(
340
- d,
341
- u,
342
- r,
343
- /*$$scope*/
344
- r[60],
345
- o ? Pe(
346
- u,
347
- /*$$scope*/
348
- r[60],
349
- s,
350
- null
351
- ) : Be(
352
- /*$$scope*/
353
- r[60]
354
- ),
355
- null
356
- ), (!o || s[0] & /*rowHeaders*/
357
- 1) && n(
358
- e,
359
- "row-headers",
360
- /*rowHeaders*/
361
- r[0]
362
- ), (!o || s[0] & /*frameSize*/
363
- 2) && n(
364
- e,
365
- "frame-size",
366
- /*frameSize*/
367
- r[1]
368
- ), (!o || s[0] & /*rowSize*/
369
- 4) && n(
370
- e,
371
- "row-size",
372
- /*rowSize*/
373
- r[2]
374
- ), (!o || s[0] & /*colSize*/
375
- 8) && n(
376
- e,
377
- "col-size",
378
- /*colSize*/
379
- r[3]
380
- ), (!o || s[0] & /*range*/
381
- 16) && n(
382
- e,
383
- "range",
384
- /*range*/
385
- r[4]
386
- ), (!o || s[0] & /*readonly*/
387
- 32) && n(
388
- e,
389
- "readonly",
390
- /*readonly*/
391
- r[5]
392
- ), (!o || s[0] & /*resize*/
393
- 64) && n(
394
- e,
395
- "resize",
396
- /*resize*/
397
- r[6]
398
- ), (!o || s[0] & /*canFocus*/
399
- 128) && n(
400
- e,
401
- "can-focus",
402
- /*canFocus*/
403
- r[7]
404
- ), (!o || s[0] & /*useClipboard*/
405
- 256) && n(
406
- e,
407
- "use-clipboard",
408
- /*useClipboard*/
409
- r[8]
410
- ), (!o || s[0] & /*applyOnClose*/
411
- 512) && n(
412
- e,
413
- "apply-on-close",
414
- /*applyOnClose*/
415
- r[9]
416
- ), (!o || s[0] & /*theme*/
417
- 1024) && n(
418
- e,
419
- "theme",
420
- /*theme*/
421
- r[10]
422
- ), (!o || s[0] & /*rowClass*/
423
- 2048) && n(
424
- e,
425
- "row-class",
426
- /*rowClass*/
427
- r[11]
428
- ), (!o || s[0] & /*autoSizeColumn*/
429
- 4096) && n(
430
- e,
431
- "auto-size-column",
432
- /*autoSizeColumn*/
433
- r[12]
434
- ), (!o || s[0] & /*filter*/
435
- 8192) && n(
436
- e,
437
- "filter",
438
- /*filter*/
439
- r[13]
440
- ), (!o || s[0] & /*canMoveColumns*/
441
- 16384) && n(
442
- e,
443
- "can-move-columns",
444
- /*canMoveColumns*/
445
- r[14]
446
- ), (!o || s[0] & /*exporting*/
447
- 32768) && n(
448
- e,
449
- "exporting",
450
- /*exporting*/
451
- r[15]
452
- ), (!o || s[0] & /*stretch*/
453
- 65536) && n(
454
- e,
455
- "stretch",
456
- /*stretch*/
457
- r[16]
458
- ), (!o || s[0] & /*additionalData*/
459
- 131072) && n(
460
- e,
461
- "additional-data",
462
- /*additionalData*/
463
- r[17]
464
- ), (!o || s[0] & /*disableVirtualX*/
465
- 262144) && n(
466
- e,
467
- "disable-virtual-x",
468
- /*disableVirtualX*/
469
- r[18]
470
- ), (!o || s[0] & /*disableVirtualY*/
471
- 524288) && n(
472
- e,
473
- "disable-virtual-y",
474
- /*disableVirtualY*/
475
- r[19]
476
- ), (!o || s[0] & /*hideAttribution*/
477
- 1048576) && n(
478
- e,
479
- "hide-attribution",
480
- /*hideAttribution*/
481
- r[20]
482
- );
373
+ p(ctx2, dirty) {
374
+ if (default_slot) {
375
+ if (default_slot.p && (!current || dirty[1] & /*$$scope*/
376
+ 536870912)) {
377
+ update_slot_base(
378
+ default_slot,
379
+ default_slot_template,
380
+ ctx2,
381
+ /*$$scope*/
382
+ ctx2[60],
383
+ !current ? get_all_dirty_from_scope(
384
+ /*$$scope*/
385
+ ctx2[60]
386
+ ) : get_slot_changes(
387
+ default_slot_template,
388
+ /*$$scope*/
389
+ ctx2[60],
390
+ dirty,
391
+ null
392
+ ),
393
+ null
394
+ );
395
+ }
396
+ }
397
+ if (!current || dirty[0] & /*rowHeaders*/
398
+ 1) {
399
+ set_custom_element_data(
400
+ revo_grid,
401
+ "row-headers",
402
+ /*rowHeaders*/
403
+ ctx2[0]
404
+ );
405
+ }
406
+ if (!current || dirty[0] & /*frameSize*/
407
+ 2) {
408
+ set_custom_element_data(
409
+ revo_grid,
410
+ "frame-size",
411
+ /*frameSize*/
412
+ ctx2[1]
413
+ );
414
+ }
415
+ if (!current || dirty[0] & /*rowSize*/
416
+ 4) {
417
+ set_custom_element_data(
418
+ revo_grid,
419
+ "row-size",
420
+ /*rowSize*/
421
+ ctx2[2]
422
+ );
423
+ }
424
+ if (!current || dirty[0] & /*colSize*/
425
+ 8) {
426
+ set_custom_element_data(
427
+ revo_grid,
428
+ "col-size",
429
+ /*colSize*/
430
+ ctx2[3]
431
+ );
432
+ }
433
+ if (!current || dirty[0] & /*range*/
434
+ 16) {
435
+ set_custom_element_data(
436
+ revo_grid,
437
+ "range",
438
+ /*range*/
439
+ ctx2[4]
440
+ );
441
+ }
442
+ if (!current || dirty[0] & /*readonly*/
443
+ 32) {
444
+ set_custom_element_data(
445
+ revo_grid,
446
+ "readonly",
447
+ /*readonly*/
448
+ ctx2[5]
449
+ );
450
+ }
451
+ if (!current || dirty[0] & /*resize*/
452
+ 64) {
453
+ set_custom_element_data(
454
+ revo_grid,
455
+ "resize",
456
+ /*resize*/
457
+ ctx2[6]
458
+ );
459
+ }
460
+ if (!current || dirty[0] & /*canFocus*/
461
+ 128) {
462
+ set_custom_element_data(
463
+ revo_grid,
464
+ "can-focus",
465
+ /*canFocus*/
466
+ ctx2[7]
467
+ );
468
+ }
469
+ if (!current || dirty[0] & /*useClipboard*/
470
+ 256) {
471
+ set_custom_element_data(
472
+ revo_grid,
473
+ "use-clipboard",
474
+ /*useClipboard*/
475
+ ctx2[8]
476
+ );
477
+ }
478
+ if (!current || dirty[0] & /*applyOnClose*/
479
+ 512) {
480
+ set_custom_element_data(
481
+ revo_grid,
482
+ "apply-on-close",
483
+ /*applyOnClose*/
484
+ ctx2[9]
485
+ );
486
+ }
487
+ if (!current || dirty[0] & /*theme*/
488
+ 1024) {
489
+ set_custom_element_data(
490
+ revo_grid,
491
+ "theme",
492
+ /*theme*/
493
+ ctx2[10]
494
+ );
495
+ }
496
+ if (!current || dirty[0] & /*rowClass*/
497
+ 2048) {
498
+ set_custom_element_data(
499
+ revo_grid,
500
+ "row-class",
501
+ /*rowClass*/
502
+ ctx2[11]
503
+ );
504
+ }
505
+ if (!current || dirty[0] & /*autoSizeColumn*/
506
+ 4096) {
507
+ set_custom_element_data(
508
+ revo_grid,
509
+ "auto-size-column",
510
+ /*autoSizeColumn*/
511
+ ctx2[12]
512
+ );
513
+ }
514
+ if (!current || dirty[0] & /*filter*/
515
+ 8192) {
516
+ set_custom_element_data(
517
+ revo_grid,
518
+ "filter",
519
+ /*filter*/
520
+ ctx2[13]
521
+ );
522
+ }
523
+ if (!current || dirty[0] & /*canMoveColumns*/
524
+ 16384) {
525
+ set_custom_element_data(
526
+ revo_grid,
527
+ "can-move-columns",
528
+ /*canMoveColumns*/
529
+ ctx2[14]
530
+ );
531
+ }
532
+ if (!current || dirty[0] & /*exporting*/
533
+ 32768) {
534
+ set_custom_element_data(
535
+ revo_grid,
536
+ "exporting",
537
+ /*exporting*/
538
+ ctx2[15]
539
+ );
540
+ }
541
+ if (!current || dirty[0] & /*stretch*/
542
+ 65536) {
543
+ set_custom_element_data(
544
+ revo_grid,
545
+ "stretch",
546
+ /*stretch*/
547
+ ctx2[16]
548
+ );
549
+ }
550
+ if (!current || dirty[0] & /*additionalData*/
551
+ 131072) {
552
+ set_custom_element_data(
553
+ revo_grid,
554
+ "additional-data",
555
+ /*additionalData*/
556
+ ctx2[17]
557
+ );
558
+ }
559
+ if (!current || dirty[0] & /*disableVirtualX*/
560
+ 262144) {
561
+ set_custom_element_data(
562
+ revo_grid,
563
+ "disable-virtual-x",
564
+ /*disableVirtualX*/
565
+ ctx2[18]
566
+ );
567
+ }
568
+ if (!current || dirty[0] & /*disableVirtualY*/
569
+ 524288) {
570
+ set_custom_element_data(
571
+ revo_grid,
572
+ "disable-virtual-y",
573
+ /*disableVirtualY*/
574
+ ctx2[19]
575
+ );
576
+ }
577
+ if (!current || dirty[0] & /*hideAttribution*/
578
+ 1048576) {
579
+ set_custom_element_data(
580
+ revo_grid,
581
+ "hide-attribution",
582
+ /*hideAttribution*/
583
+ ctx2[20]
584
+ );
585
+ }
483
586
  },
484
- i(r) {
485
- o || (Ae(d, r), o = !0);
587
+ i(local) {
588
+ if (current) return;
589
+ transition_in(default_slot, local);
590
+ current = true;
486
591
  },
487
- o(r) {
488
- Ee(d, r), o = !1;
592
+ o(local) {
593
+ transition_out(default_slot, local);
594
+ current = false;
489
595
  },
490
- d(r) {
491
- r && je(e), d && d.d(r), i[62](null), c = !1, Me(a);
596
+ d(detaching) {
597
+ if (detaching) {
598
+ detach(revo_grid);
599
+ }
600
+ if (default_slot) default_slot.d(detaching);
601
+ ctx[62](null);
602
+ mounted = false;
603
+ run_all(dispose);
492
604
  }
493
605
  };
494
606
  }
495
- function Xe(i, e, o) {
496
- let { $$slots: c = {}, $$scope: a } = e, u, d = !1;
497
- const r = He();
498
- let { rowHeaders: s = void 0 } = e, { frameSize: v = void 0 } = e, { rowSize: D = void 0 } = e, { colSize: B = void 0 } = e, { range: P = void 0 } = e, { readonly: A = void 0 } = e, { resize: E = void 0 } = e, { canFocus: j = void 0 } = e, { useClipboard: M = void 0 } = e, { columns: m = void 0 } = e, { source: C = void 0 } = e, { pinnedTopSource: S = void 0 } = e, { pinnedBottomSource: b = void 0 } = e, { rowDefinitions: h = void 0 } = e, { editors: w = void 0 } = e, { applyOnClose: N = void 0 } = e, { plugins: z = void 0 } = e, { columnTypes: T = void 0 } = e, { theme: H = void 0 } = e, { rowClass: I = void 0 } = e, { autoSizeColumn: O = void 0 } = e, { filter: X = void 0 } = e, { focusTemplate: _ = void 0 } = e, { canMoveColumns: Y = void 0 } = e, { trimmedRows: y = void 0 } = e, { exporting: W = void 0 } = e, { grouping: R = void 0 } = e, { stretch: k = void 0 } = e, { additionalData: q = void 0 } = e, { disableVirtualX: G = void 0 } = e, { disableVirtualY: J = void 0 } = e, { hideAttribution: K = void 0 } = e, { jobsBeforeRender: V = void 0 } = e, { registerVNode: F = void 0 } = e;
499
- const L = (...t) => u.refresh(...t), Q = (...t) => u.setDataAt(...t), U = (...t) => u.scrollToRow(...t), Z = (...t) => u.scrollToColumnIndex(...t), x = (...t) => u.scrollToColumnProp(...t), p = (...t) => u.updateColumns(...t), $ = (...t) => u.addTrimmed(...t), ee = (...t) => u.scrollToCoordinate(...t), te = (...t) => u.setCellEdit(...t), ie = (...t) => u.setCellsFocus(...t), oe = (...t) => u.getSource(...t), ne = (...t) => u.getVisibleSource(...t), re = (...t) => u.getSourceStore(...t), le = (...t) => u.getColumnStore(...t), ue = (...t) => u.updateColumnSorting(...t), se = (...t) => u.clearSorting(...t), de = (...t) => u.getColumns(...t), fe = (...t) => u.clearFocus(...t), ce = (...t) => u.getPlugins(...t), ae = (...t) => u.getFocused(...t), ge = (...t) => u.getContentSize(...t), me = (...t) => u.getSelectedRange(...t), Ce = () => u;
500
- Ie(() => {
501
- o(59, d = !0);
607
+ function instance($$self, $$props, $$invalidate) {
608
+ let { $$slots: slots = {}, $$scope } = $$props;
609
+ let __ref;
610
+ let __mounted = false;
611
+ const dispatch = createEventDispatcher();
612
+ let { rowHeaders = void 0 } = $$props;
613
+ let { frameSize = void 0 } = $$props;
614
+ let { rowSize = void 0 } = $$props;
615
+ let { colSize = void 0 } = $$props;
616
+ let { range = void 0 } = $$props;
617
+ let { readonly = void 0 } = $$props;
618
+ let { resize = void 0 } = $$props;
619
+ let { canFocus = void 0 } = $$props;
620
+ let { useClipboard = void 0 } = $$props;
621
+ let { columns = void 0 } = $$props;
622
+ let { source = void 0 } = $$props;
623
+ let { pinnedTopSource = void 0 } = $$props;
624
+ let { pinnedBottomSource = void 0 } = $$props;
625
+ let { rowDefinitions = void 0 } = $$props;
626
+ let { editors = void 0 } = $$props;
627
+ let { applyOnClose = void 0 } = $$props;
628
+ let { plugins = void 0 } = $$props;
629
+ let { columnTypes = void 0 } = $$props;
630
+ let { theme = void 0 } = $$props;
631
+ let { rowClass = void 0 } = $$props;
632
+ let { autoSizeColumn = void 0 } = $$props;
633
+ let { filter = void 0 } = $$props;
634
+ let { focusTemplate = void 0 } = $$props;
635
+ let { canMoveColumns = void 0 } = $$props;
636
+ let { trimmedRows = void 0 } = $$props;
637
+ let { exporting = void 0 } = $$props;
638
+ let { grouping = void 0 } = $$props;
639
+ let { stretch = void 0 } = $$props;
640
+ let { additionalData = void 0 } = $$props;
641
+ let { disableVirtualX = void 0 } = $$props;
642
+ let { disableVirtualY = void 0 } = $$props;
643
+ let { hideAttribution = void 0 } = $$props;
644
+ let { jobsBeforeRender = void 0 } = $$props;
645
+ let { registerVNode = void 0 } = $$props;
646
+ const refresh = (...args) => __ref.refresh(...args);
647
+ const setDataAt = (...args) => __ref.setDataAt(...args);
648
+ const scrollToRow = (...args) => __ref.scrollToRow(...args);
649
+ const scrollToColumnIndex = (...args) => __ref.scrollToColumnIndex(...args);
650
+ const scrollToColumnProp = (...args) => __ref.scrollToColumnProp(...args);
651
+ const updateColumns = (...args) => __ref.updateColumns(...args);
652
+ const addTrimmed = (...args) => __ref.addTrimmed(...args);
653
+ const scrollToCoordinate = (...args) => __ref.scrollToCoordinate(...args);
654
+ const setCellEdit = (...args) => __ref.setCellEdit(...args);
655
+ const setCellsFocus = (...args) => __ref.setCellsFocus(...args);
656
+ const getSource = (...args) => __ref.getSource(...args);
657
+ const getVisibleSource = (...args) => __ref.getVisibleSource(...args);
658
+ const getSourceStore = (...args) => __ref.getSourceStore(...args);
659
+ const getColumnStore = (...args) => __ref.getColumnStore(...args);
660
+ const updateColumnSorting = (...args) => __ref.updateColumnSorting(...args);
661
+ const clearSorting = (...args) => __ref.clearSorting(...args);
662
+ const getColumns = (...args) => __ref.getColumns(...args);
663
+ const clearFocus = (...args) => __ref.clearFocus(...args);
664
+ const getPlugins = (...args) => __ref.getPlugins(...args);
665
+ const getFocused = (...args) => __ref.getFocused(...args);
666
+ const getContentSize = (...args) => __ref.getContentSize(...args);
667
+ const getSelectedRange = (...args) => __ref.getSelectedRange(...args);
668
+ const getWebComponent = () => __ref;
669
+ onMount(() => {
670
+ $$invalidate(59, __mounted = true);
502
671
  });
503
- const f = (t, he) => {
504
- u && o(21, u[t] = he, u);
505
- }, Se = (t) => {
506
- t.stopPropagation(), r(t.type, t.detail);
672
+ const setProp = (prop, value) => {
673
+ if (__ref) $$invalidate(21, __ref[prop] = value, __ref);
674
+ };
675
+ const onEvent = (e) => {
676
+ e.stopPropagation();
677
+ dispatch(e.type, e.detail);
507
678
  };
508
- function be(t) {
509
- Ne[t ? "unshift" : "push"](() => {
510
- u = t, o(21, u);
679
+ function revo_grid_binding($$value) {
680
+ binding_callbacks[$$value ? "unshift" : "push"](() => {
681
+ __ref = $$value;
682
+ $$invalidate(21, __ref);
511
683
  });
512
684
  }
513
- return i.$$set = (t) => {
514
- "rowHeaders" in t && o(0, s = t.rowHeaders), "frameSize" in t && o(1, v = t.frameSize), "rowSize" in t && o(2, D = t.rowSize), "colSize" in t && o(3, B = t.colSize), "range" in t && o(4, P = t.range), "readonly" in t && o(5, A = t.readonly), "resize" in t && o(6, E = t.resize), "canFocus" in t && o(7, j = t.canFocus), "useClipboard" in t && o(8, M = t.useClipboard), "columns" in t && o(23, m = t.columns), "source" in t && o(24, C = t.source), "pinnedTopSource" in t && o(25, S = t.pinnedTopSource), "pinnedBottomSource" in t && o(26, b = t.pinnedBottomSource), "rowDefinitions" in t && o(27, h = t.rowDefinitions), "editors" in t && o(28, w = t.editors), "applyOnClose" in t && o(9, N = t.applyOnClose), "plugins" in t && o(29, z = t.plugins), "columnTypes" in t && o(30, T = t.columnTypes), "theme" in t && o(10, H = t.theme), "rowClass" in t && o(11, I = t.rowClass), "autoSizeColumn" in t && o(12, O = t.autoSizeColumn), "filter" in t && o(13, X = t.filter), "focusTemplate" in t && o(31, _ = t.focusTemplate), "canMoveColumns" in t && o(14, Y = t.canMoveColumns), "trimmedRows" in t && o(32, y = t.trimmedRows), "exporting" in t && o(15, W = t.exporting), "grouping" in t && o(33, R = t.grouping), "stretch" in t && o(16, k = t.stretch), "additionalData" in t && o(17, q = t.additionalData), "disableVirtualX" in t && o(18, G = t.disableVirtualX), "disableVirtualY" in t && o(19, J = t.disableVirtualY), "hideAttribution" in t && o(20, K = t.hideAttribution), "jobsBeforeRender" in t && o(34, V = t.jobsBeforeRender), "registerVNode" in t && o(35, F = t.registerVNode), "$$scope" in t && o(60, a = t.$$scope);
515
- }, i.$$.update = () => {
516
- i.$$.dirty[0] & /*columns*/
517
- 8388608 | i.$$.dirty[1] & /*__mounted*/
518
- 268435456 && d && f("columns", m), i.$$.dirty[0] & /*source*/
519
- 16777216 | i.$$.dirty[1] & /*__mounted*/
520
- 268435456 && d && f("source", C), i.$$.dirty[0] & /*pinnedTopSource*/
521
- 33554432 | i.$$.dirty[1] & /*__mounted*/
522
- 268435456 && d && f("pinnedTopSource", S), i.$$.dirty[0] & /*pinnedBottomSource*/
523
- 67108864 | i.$$.dirty[1] & /*__mounted*/
524
- 268435456 && d && f("pinnedBottomSource", b), i.$$.dirty[0] & /*rowDefinitions*/
525
- 134217728 | i.$$.dirty[1] & /*__mounted*/
526
- 268435456 && d && f("rowDefinitions", h), i.$$.dirty[0] & /*editors*/
527
- 268435456 | i.$$.dirty[1] & /*__mounted*/
528
- 268435456 && d && f("editors", w), i.$$.dirty[0] & /*plugins*/
529
- 536870912 | i.$$.dirty[1] & /*__mounted*/
530
- 268435456 && d && f("plugins", z), i.$$.dirty[0] & /*columnTypes*/
531
- 1073741824 | i.$$.dirty[1] & /*__mounted*/
532
- 268435456 && d && f("columnTypes", T), i.$$.dirty[1] & /*__mounted, focusTemplate*/
533
- 268435457 && d && f("focusTemplate", _), i.$$.dirty[1] & /*__mounted, trimmedRows*/
534
- 268435458 && d && f("trimmedRows", y), i.$$.dirty[1] & /*__mounted, grouping*/
535
- 268435460 && d && f("grouping", R), i.$$.dirty[1] & /*__mounted, jobsBeforeRender*/
536
- 268435464 && d && f("jobsBeforeRender", V), i.$$.dirty[1] & /*__mounted, registerVNode*/
537
- 268435472 && d && f("registerVNode", F);
538
- }, [
539
- s,
540
- v,
541
- D,
542
- B,
543
- P,
544
- A,
545
- E,
546
- j,
547
- M,
548
- N,
549
- H,
550
- I,
551
- O,
552
- X,
553
- Y,
554
- W,
555
- k,
556
- q,
557
- G,
558
- J,
559
- K,
560
- u,
561
- Se,
562
- m,
563
- C,
564
- S,
565
- b,
566
- h,
567
- w,
568
- z,
569
- T,
570
- _,
571
- y,
572
- R,
573
- V,
574
- F,
575
- L,
576
- Q,
577
- U,
578
- Z,
579
- x,
580
- p,
581
- $,
582
- ee,
583
- te,
584
- ie,
585
- oe,
586
- ne,
587
- re,
588
- le,
589
- ue,
590
- se,
591
- de,
592
- fe,
593
- ce,
594
- ae,
595
- ge,
596
- me,
597
- Ce,
598
- d,
599
- a,
600
- c,
601
- be
685
+ $$self.$$set = ($$props2) => {
686
+ if ("rowHeaders" in $$props2) $$invalidate(0, rowHeaders = $$props2.rowHeaders);
687
+ if ("frameSize" in $$props2) $$invalidate(1, frameSize = $$props2.frameSize);
688
+ if ("rowSize" in $$props2) $$invalidate(2, rowSize = $$props2.rowSize);
689
+ if ("colSize" in $$props2) $$invalidate(3, colSize = $$props2.colSize);
690
+ if ("range" in $$props2) $$invalidate(4, range = $$props2.range);
691
+ if ("readonly" in $$props2) $$invalidate(5, readonly = $$props2.readonly);
692
+ if ("resize" in $$props2) $$invalidate(6, resize = $$props2.resize);
693
+ if ("canFocus" in $$props2) $$invalidate(7, canFocus = $$props2.canFocus);
694
+ if ("useClipboard" in $$props2) $$invalidate(8, useClipboard = $$props2.useClipboard);
695
+ if ("columns" in $$props2) $$invalidate(23, columns = $$props2.columns);
696
+ if ("source" in $$props2) $$invalidate(24, source = $$props2.source);
697
+ if ("pinnedTopSource" in $$props2) $$invalidate(25, pinnedTopSource = $$props2.pinnedTopSource);
698
+ if ("pinnedBottomSource" in $$props2) $$invalidate(26, pinnedBottomSource = $$props2.pinnedBottomSource);
699
+ if ("rowDefinitions" in $$props2) $$invalidate(27, rowDefinitions = $$props2.rowDefinitions);
700
+ if ("editors" in $$props2) $$invalidate(28, editors = $$props2.editors);
701
+ if ("applyOnClose" in $$props2) $$invalidate(9, applyOnClose = $$props2.applyOnClose);
702
+ if ("plugins" in $$props2) $$invalidate(29, plugins = $$props2.plugins);
703
+ if ("columnTypes" in $$props2) $$invalidate(30, columnTypes = $$props2.columnTypes);
704
+ if ("theme" in $$props2) $$invalidate(10, theme = $$props2.theme);
705
+ if ("rowClass" in $$props2) $$invalidate(11, rowClass = $$props2.rowClass);
706
+ if ("autoSizeColumn" in $$props2) $$invalidate(12, autoSizeColumn = $$props2.autoSizeColumn);
707
+ if ("filter" in $$props2) $$invalidate(13, filter = $$props2.filter);
708
+ if ("focusTemplate" in $$props2) $$invalidate(31, focusTemplate = $$props2.focusTemplate);
709
+ if ("canMoveColumns" in $$props2) $$invalidate(14, canMoveColumns = $$props2.canMoveColumns);
710
+ if ("trimmedRows" in $$props2) $$invalidate(32, trimmedRows = $$props2.trimmedRows);
711
+ if ("exporting" in $$props2) $$invalidate(15, exporting = $$props2.exporting);
712
+ if ("grouping" in $$props2) $$invalidate(33, grouping = $$props2.grouping);
713
+ if ("stretch" in $$props2) $$invalidate(16, stretch = $$props2.stretch);
714
+ if ("additionalData" in $$props2) $$invalidate(17, additionalData = $$props2.additionalData);
715
+ if ("disableVirtualX" in $$props2) $$invalidate(18, disableVirtualX = $$props2.disableVirtualX);
716
+ if ("disableVirtualY" in $$props2) $$invalidate(19, disableVirtualY = $$props2.disableVirtualY);
717
+ if ("hideAttribution" in $$props2) $$invalidate(20, hideAttribution = $$props2.hideAttribution);
718
+ if ("jobsBeforeRender" in $$props2) $$invalidate(34, jobsBeforeRender = $$props2.jobsBeforeRender);
719
+ if ("registerVNode" in $$props2) $$invalidate(35, registerVNode = $$props2.registerVNode);
720
+ if ("$$scope" in $$props2) $$invalidate(60, $$scope = $$props2.$$scope);
721
+ };
722
+ $$self.$$.update = () => {
723
+ if ($$self.$$.dirty[0] & /*columns*/
724
+ 8388608 | $$self.$$.dirty[1] & /*__mounted*/
725
+ 268435456) {
726
+ if (__mounted) setProp("columns", columns);
727
+ }
728
+ if ($$self.$$.dirty[0] & /*source*/
729
+ 16777216 | $$self.$$.dirty[1] & /*__mounted*/
730
+ 268435456) {
731
+ if (__mounted) setProp("source", source);
732
+ }
733
+ if ($$self.$$.dirty[0] & /*pinnedTopSource*/
734
+ 33554432 | $$self.$$.dirty[1] & /*__mounted*/
735
+ 268435456) {
736
+ if (__mounted) setProp("pinnedTopSource", pinnedTopSource);
737
+ }
738
+ if ($$self.$$.dirty[0] & /*pinnedBottomSource*/
739
+ 67108864 | $$self.$$.dirty[1] & /*__mounted*/
740
+ 268435456) {
741
+ if (__mounted) setProp("pinnedBottomSource", pinnedBottomSource);
742
+ }
743
+ if ($$self.$$.dirty[0] & /*rowDefinitions*/
744
+ 134217728 | $$self.$$.dirty[1] & /*__mounted*/
745
+ 268435456) {
746
+ if (__mounted) setProp("rowDefinitions", rowDefinitions);
747
+ }
748
+ if ($$self.$$.dirty[0] & /*editors*/
749
+ 268435456 | $$self.$$.dirty[1] & /*__mounted*/
750
+ 268435456) {
751
+ if (__mounted) setProp("editors", editors);
752
+ }
753
+ if ($$self.$$.dirty[0] & /*plugins*/
754
+ 536870912 | $$self.$$.dirty[1] & /*__mounted*/
755
+ 268435456) {
756
+ if (__mounted) setProp("plugins", plugins);
757
+ }
758
+ if ($$self.$$.dirty[0] & /*columnTypes*/
759
+ 1073741824 | $$self.$$.dirty[1] & /*__mounted*/
760
+ 268435456) {
761
+ if (__mounted) setProp("columnTypes", columnTypes);
762
+ }
763
+ if ($$self.$$.dirty[1] & /*__mounted, focusTemplate*/
764
+ 268435457) {
765
+ if (__mounted) setProp("focusTemplate", focusTemplate);
766
+ }
767
+ if ($$self.$$.dirty[1] & /*__mounted, trimmedRows*/
768
+ 268435458) {
769
+ if (__mounted) setProp("trimmedRows", trimmedRows);
770
+ }
771
+ if ($$self.$$.dirty[1] & /*__mounted, grouping*/
772
+ 268435460) {
773
+ if (__mounted) setProp("grouping", grouping);
774
+ }
775
+ if ($$self.$$.dirty[1] & /*__mounted, jobsBeforeRender*/
776
+ 268435464) {
777
+ if (__mounted) setProp("jobsBeforeRender", jobsBeforeRender);
778
+ }
779
+ if ($$self.$$.dirty[1] & /*__mounted, registerVNode*/
780
+ 268435472) {
781
+ if (__mounted) setProp("registerVNode", registerVNode);
782
+ }
783
+ };
784
+ return [
785
+ rowHeaders,
786
+ frameSize,
787
+ rowSize,
788
+ colSize,
789
+ range,
790
+ readonly,
791
+ resize,
792
+ canFocus,
793
+ useClipboard,
794
+ applyOnClose,
795
+ theme,
796
+ rowClass,
797
+ autoSizeColumn,
798
+ filter,
799
+ canMoveColumns,
800
+ exporting,
801
+ stretch,
802
+ additionalData,
803
+ disableVirtualX,
804
+ disableVirtualY,
805
+ hideAttribution,
806
+ __ref,
807
+ onEvent,
808
+ columns,
809
+ source,
810
+ pinnedTopSource,
811
+ pinnedBottomSource,
812
+ rowDefinitions,
813
+ editors,
814
+ plugins,
815
+ columnTypes,
816
+ focusTemplate,
817
+ trimmedRows,
818
+ grouping,
819
+ jobsBeforeRender,
820
+ registerVNode,
821
+ refresh,
822
+ setDataAt,
823
+ scrollToRow,
824
+ scrollToColumnIndex,
825
+ scrollToColumnProp,
826
+ updateColumns,
827
+ addTrimmed,
828
+ scrollToCoordinate,
829
+ setCellEdit,
830
+ setCellsFocus,
831
+ getSource,
832
+ getVisibleSource,
833
+ getSourceStore,
834
+ getColumnStore,
835
+ updateColumnSorting,
836
+ clearSorting,
837
+ getColumns,
838
+ clearFocus,
839
+ getPlugins,
840
+ getFocused,
841
+ getContentSize,
842
+ getSelectedRange,
843
+ getWebComponent,
844
+ __mounted,
845
+ $$scope,
846
+ slots,
847
+ revo_grid_binding
602
848
  ];
603
849
  }
604
- class Je extends _e {
605
- constructor(o) {
850
+ class RevoGrid extends SvelteComponent {
851
+ constructor(options) {
606
852
  super();
607
- g(this, "$$prop_def");
608
- g(this, "$$events_def");
609
- g(this, "$$slot_def");
610
- ye(
853
+ __publicField(this, "$$prop_def");
854
+ __publicField(this, "$$events_def");
855
+ __publicField(this, "$$slot_def");
856
+ init(
611
857
  this,
612
- o,
613
- Xe,
614
- Oe,
615
- Re,
858
+ options,
859
+ instance,
860
+ create_fragment,
861
+ safe_not_equal,
616
862
  {
617
863
  rowHeaders: 0,
618
864
  frameSize: 1,
@@ -676,11 +922,11 @@ class Je extends _e {
676
922
  [-1, -1, -1]
677
923
  );
678
924
  }
679
- $on(o, c) {
680
- return super.$on(o, c);
925
+ $on(type, callback) {
926
+ return super.$on(type, callback);
681
927
  }
682
- $set(o) {
683
- super.$set(o);
928
+ $set($$props) {
929
+ super.$set($$props);
684
930
  }
685
931
  /** Refreshes data viewport.
686
932
  Can be specific part as rgRow or pinned rgRow or 'all' by default. */
@@ -781,7 +1027,7 @@ class Je extends _e {
781
1027
  return this.$$.ctx[58];
782
1028
  }
783
1029
  }
784
- Te();
1030
+ defineCustomElements();
785
1031
  export {
786
- Je as RevoGrid
1032
+ RevoGrid
787
1033
  };