@casoon/opengrid 0.20.2 → 0.21.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +154 -0
  2. package/README.md +10 -6
  3. package/collation/opengrid_collation_bg.wasm +0 -0
  4. package/engine/opengrid_wasm.d.ts +7 -0
  5. package/engine/opengrid_wasm.js +29 -2
  6. package/engine/opengrid_wasm_bg.wasm +0 -0
  7. package/engine/opengrid_wasm_bg.wasm.d.ts +1 -0
  8. package/loader.d.ts +228 -4
  9. package/loader.js +105 -2
  10. package/package.json +19 -3
  11. package/pkg/opengrid_web_components.d.ts +47 -10
  12. package/pkg/opengrid_web_components.js +185 -59
  13. package/pkg/opengrid_web_components_bg.wasm +0 -0
  14. package/pkg/opengrid_web_components_bg.wasm.d.ts +13 -10
  15. package/react/index.d.ts +6 -0
  16. package/react/index.js +10 -1
  17. package/solid/index.d.ts +149 -0
  18. package/solid/index.js +252 -0
  19. package/svelte/Opengrid.svelte +12 -0
  20. package/svelte/OpengridGrid.svelte +6 -0
  21. package/svelte/index.d.ts +13 -1
  22. package/texts/de.js +29 -0
  23. package/vue/index.d.ts +13 -1
  24. package/vue/index.js +20 -2
  25. package/worker.js +5 -0
  26. package/xlsx/opengrid_xlsx_bg.wasm +0 -0
  27. /package/pkg/snippets/{opengrid-web-components-33f835da37ee30df → opengrid-web-components-7b74e96872f41f92}/inline0.js +0 -0
  28. /package/pkg/snippets/{opengrid-web-components-33f835da37ee30df → opengrid-web-components-7b74e96872f41f92}/inline1.js +0 -0
  29. /package/pkg/snippets/{opengrid-web-core-6c69c2a1f831ba74 → opengrid-web-core-2138c846fafc77c3}/inline0.js +0 -0
  30. /package/pkg/snippets/{opengrid-web-core-6c69c2a1f831ba74 → opengrid-web-core-2138c846fafc77c3}/inline1.js +0 -0
  31. /package/pkg/snippets/{opengrid-web-core-6c69c2a1f831ba74 → opengrid-web-core-2138c846fafc77c3}/inline2.js +0 -0
@@ -133,6 +133,15 @@ export function register(): void;
133
133
  */
134
134
  export function set_actions(host: HTMLElement, actions: any): void;
135
135
 
136
+ /**
137
+ * Gives the cell menu the page's own items (issue #524): `[{ id, label, column? }]`,
138
+ * listed after the grid's entries — `column` names the one column an item is
139
+ * offered on. Choosing one fires `opengrid-cell-action` with `{ id, row,
140
+ * column, key }`; `key` is the `row-key` value. Group headers and the total
141
+ * offer none.
142
+ */
143
+ export function set_cell_actions(host: HTMLElement, actions: any): void;
144
+
136
145
  /**
137
146
  * Says what became of an edit the page saves (issue #153).
138
147
  *
@@ -206,6 +215,21 @@ export function set_detail_renderer(host: HTMLElement, renderer: any): void;
206
215
  */
207
216
  export function set_formats(host: HTMLElement, formats: any): void;
208
217
 
218
+ /**
219
+ * Gives the grid presets (issue #532): `[{ id, label, filter? }]`, named
220
+ * views the reader switches between in a segmented control in the toolbar. The
221
+ * `filter` is in the wire's notation, as the `filter` attribute's; a preset
222
+ * without one shows every row, and the first preset is the default.
223
+ *
224
+ * The chosen preset is and-ed onto the page's filter and the reader's in every
225
+ * query, it is the view's `preset`, and it is not a chip. A list that is
226
+ * refused — an entry without `id` or `label`, an id twice, a filter that is
227
+ * not one, a key that is not a preset's — is applied not at all, and said in
228
+ * the status line. `{ counts: true }` as `options` puts each preset's row
229
+ * count in its label, one query per preset. The grid only.
230
+ */
231
+ export function set_presets(host: HTMLElement, presets: any, options: any): void;
232
+
209
233
  /**
210
234
  * Attaches a data provider to a host element (points 14/16).
211
235
  *
@@ -247,6 +271,16 @@ export function set_row_state(host: HTMLElement, provisional_key: string, state:
247
271
  */
248
272
  export function set_texts(host: HTMLElement, values: any): void;
249
273
 
274
+ /**
275
+ * Gives the toolbar the page's own items (issue #531), after the grid's own
276
+ * controls: `[{ id, label }]` a button, `[{ id, label, items: [{ id, label }] }]`
277
+ * a menu button, `{ id, label, disabled: true, reason }` an item that cannot act
278
+ * and says why. Choosing one fires `opengrid-toolbar-action` with `{ id,
279
+ * selection }`. Checked like `set_columns`: a problem is said in the status
280
+ * line, and none of the call is applied. Shown with the `toolbar` attribute.
281
+ */
282
+ export function set_toolbar(host: HTMLElement, items: any): void;
283
+
250
284
  /**
251
285
  * Gives columns a validator that runs while the reader types (issue #188):
252
286
  * `{ column: (value, row) => null | { level: "warning" | "error", message } }`,
@@ -301,28 +335,31 @@ export interface InitOutput {
301
335
  readonly refresh: (a: any) => void;
302
336
  readonly register: () => [number, number];
303
337
  readonly set_actions: (a: any, b: any) => void;
338
+ readonly set_cell_actions: (a: any, b: any) => void;
304
339
  readonly set_cell_state: (a: any, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => void;
305
340
  readonly set_cell_templates: (a: any, b: any) => void;
306
341
  readonly set_choices: (a: any, b: any) => void;
307
342
  readonly set_columns: (a: any, b: any) => void;
308
343
  readonly set_detail_renderer: (a: any, b: any) => void;
309
344
  readonly set_formats: (a: any, b: any) => void;
345
+ readonly set_presets: (a: any, b: any, c: any) => void;
310
346
  readonly set_provider: (a: any, b: any) => void;
311
347
  readonly set_row_state: (a: any, b: number, c: number, d: number, e: number, f: any) => void;
312
348
  readonly set_texts: (a: any, b: any) => void;
349
+ readonly set_toolbar: (a: any, b: any) => void;
313
350
  readonly set_validators: (a: any, b: any) => void;
314
351
  readonly set_values: (a: any, b: any) => void;
315
352
  readonly set_view: (a: any, b: any, c: any) => void;
316
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___web_sys_d90b8ce3fc65d21___features__gen_HtmlElement__HtmlElement__alloc_98d089680bbbc9df___string__String__core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String___core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String_______true_: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number) => void;
317
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_f2793286032f204f___JsError___true_: (a: number, b: number, c: any) => [number, number];
318
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
319
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true_: (a: number, b: number, c: any) => void;
320
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__2: (a: number, b: number, c: any) => void;
321
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__3: (a: number, b: number, c: any) => void;
322
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__5: (a: number, b: number, c: any) => void;
323
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__6: (a: number, b: number, c: any) => void;
324
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke___u32______true_: (a: number, b: number, c: number) => void;
325
- readonly wasm_bindgen_f2793286032f204f___convert__closures_____invoke_______true_: (a: number, b: number) => void;
353
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___web_sys_d6555ae3b863ad1a___features__gen_HtmlElement__HtmlElement__alloc_e55a19737d9c830c___string__String__core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String___core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String_______true_: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number) => void;
354
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_2904f4f21cc31194___JsError___true_: (a: number, b: number, c: any) => [number, number];
355
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
356
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true_: (a: number, b: number, c: any) => void;
357
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__2: (a: number, b: number, c: any) => void;
358
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__3: (a: number, b: number, c: any) => void;
359
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__5: (a: number, b: number, c: any) => void;
360
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__6: (a: number, b: number, c: any) => void;
361
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___u32______true_: (a: number, b: number, c: number) => void;
362
+ readonly wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke_______true_: (a: number, b: number) => void;
326
363
  readonly __wbindgen_exn_store: (a: number) => void;
327
364
  readonly __externref_table_alloc: () => number;
328
365
  readonly __wbindgen_externrefs: WebAssembly.Table;
@@ -1,12 +1,12 @@
1
1
  /* @ts-self-types="./opengrid_web_components.d.ts" */
2
- import { __opengrid_numbers } from './snippets/opengrid-web-components-33f835da37ee30df/inline0.js';
3
- import { __opengrid_intl_formatter, __opengrid_page_lang } from './snippets/opengrid-web-components-33f835da37ee30df/inline1.js';
4
- import { __opengrid_define_element } from './snippets/opengrid-web-core-6c69c2a1f831ba74/inline1.js';
5
- import { __opengrid_apply_frame, __opengrid_remove_attribute, __opengrid_set_attribute, __opengrid_set_text } from './snippets/opengrid-web-core-6c69c2a1f831ba74/inline2.js';
6
- import * as import1 from "./snippets/opengrid-web-components-33f835da37ee30df/inline1.js"
7
- import * as import2 from "./snippets/opengrid-web-core-6c69c2a1f831ba74/inline0.js"
8
- import * as import3 from "./snippets/opengrid-web-core-6c69c2a1f831ba74/inline0.js"
9
- import * as import4 from "./snippets/opengrid-web-core-6c69c2a1f831ba74/inline0.js"
2
+ import { __opengrid_numbers } from './snippets/opengrid-web-components-7b74e96872f41f92/inline0.js';
3
+ import { __opengrid_intl_formatter, __opengrid_page_lang } from './snippets/opengrid-web-components-7b74e96872f41f92/inline1.js';
4
+ import { __opengrid_define_element } from './snippets/opengrid-web-core-2138c846fafc77c3/inline1.js';
5
+ import { __opengrid_apply_frame, __opengrid_remove_attribute, __opengrid_set_attribute, __opengrid_set_text } from './snippets/opengrid-web-core-2138c846fafc77c3/inline2.js';
6
+ import * as import1 from "./snippets/opengrid-web-components-7b74e96872f41f92/inline1.js"
7
+ import * as import2 from "./snippets/opengrid-web-core-2138c846fafc77c3/inline0.js"
8
+ import * as import3 from "./snippets/opengrid-web-core-2138c846fafc77c3/inline0.js"
9
+ import * as import4 from "./snippets/opengrid-web-core-2138c846fafc77c3/inline0.js"
10
10
 
11
11
 
12
12
  /**
@@ -231,6 +231,19 @@ export function set_actions(host, actions) {
231
231
  wasm.set_actions(host, actions);
232
232
  }
233
233
 
234
+ /**
235
+ * Gives the cell menu the page's own items (issue #524): `[{ id, label, column? }]`,
236
+ * listed after the grid's entries — `column` names the one column an item is
237
+ * offered on. Choosing one fires `opengrid-cell-action` with `{ id, row,
238
+ * column, key }`; `key` is the `row-key` value. Group headers and the total
239
+ * offer none.
240
+ * @param {HTMLElement} host
241
+ * @param {any} actions
242
+ */
243
+ export function set_cell_actions(host, actions) {
244
+ wasm.set_cell_actions(host, actions);
245
+ }
246
+
234
247
  /**
235
248
  * Says what became of an edit the page saves (issue #153).
236
249
  *
@@ -337,6 +350,26 @@ export function set_formats(host, formats) {
337
350
  wasm.set_formats(host, formats);
338
351
  }
339
352
 
353
+ /**
354
+ * Gives the grid presets (issue #532): `[{ id, label, filter? }]`, named
355
+ * views the reader switches between in a segmented control in the toolbar. The
356
+ * `filter` is in the wire's notation, as the `filter` attribute's; a preset
357
+ * without one shows every row, and the first preset is the default.
358
+ *
359
+ * The chosen preset is and-ed onto the page's filter and the reader's in every
360
+ * query, it is the view's `preset`, and it is not a chip. A list that is
361
+ * refused — an entry without `id` or `label`, an id twice, a filter that is
362
+ * not one, a key that is not a preset's — is applied not at all, and said in
363
+ * the status line. `{ counts: true }` as `options` puts each preset's row
364
+ * count in its label, one query per preset. The grid only.
365
+ * @param {HTMLElement} host
366
+ * @param {any} presets
367
+ * @param {any} options
368
+ */
369
+ export function set_presets(host, presets, options) {
370
+ wasm.set_presets(host, presets, options);
371
+ }
372
+
340
373
  /**
341
374
  * Attaches a data provider to a host element (points 14/16).
342
375
  *
@@ -396,6 +429,20 @@ export function set_texts(host, values) {
396
429
  wasm.set_texts(host, values);
397
430
  }
398
431
 
432
+ /**
433
+ * Gives the toolbar the page's own items (issue #531), after the grid's own
434
+ * controls: `[{ id, label }]` a button, `[{ id, label, items: [{ id, label }] }]`
435
+ * a menu button, `{ id, label, disabled: true, reason }` an item that cannot act
436
+ * and says why. Choosing one fires `opengrid-toolbar-action` with `{ id,
437
+ * selection }`. Checked like `set_columns`: a problem is said in the status
438
+ * line, and none of the call is applied. Shown with the `toolbar` attribute.
439
+ * @param {HTMLElement} host
440
+ * @param {any} items
441
+ */
442
+ export function set_toolbar(host, items) {
443
+ wasm.set_toolbar(host, items);
444
+ }
445
+
399
446
  /**
400
447
  * Gives columns a validator that runs while the reader types (issue #188):
401
448
  * `{ column: (value, row) => null | { level: "warning" | "error", message } }`,
@@ -454,34 +501,34 @@ function __wbg_get_imports() {
454
501
  const ret = Error(getStringFromWasm0(arg0, arg1));
455
502
  return ret;
456
503
  },
457
- __wbg___opengrid_apply_frame_abba6537005e7cf6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
504
+ __wbg___opengrid_apply_frame_64c266493eda82c2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
458
505
  __opengrid_apply_frame(arg0, arg1, getArrayU32FromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
459
506
  },
460
- __wbg___opengrid_define_element_125a975e8e503705: function(arg0, arg1, arg2, arg3, arg4, arg5) {
507
+ __wbg___opengrid_define_element_c642d64cf26262f6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
461
508
  __opengrid_define_element(getStringFromWasm0(arg0, arg1), arg2, arg3, arg4, arg5);
462
509
  },
463
- __wbg___opengrid_intl_formatter_5a52b046bb7f8ea7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
510
+ __wbg___opengrid_intl_formatter_4d61ddf4684e8a2b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
464
511
  const ret = __opengrid_intl_formatter(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4);
465
512
  return ret;
466
513
  }, arguments); },
467
- __wbg___opengrid_numbers_28ab5e047b4cfbbf: function(arg0, arg1) {
514
+ __wbg___opengrid_numbers_90d1bdfc7e61b225: function(arg0, arg1) {
468
515
  const ret = __opengrid_numbers(getArrayF64FromWasm0(arg0, arg1));
469
516
  return ret;
470
517
  },
471
- __wbg___opengrid_page_lang_e666ea1e0bbaa829: function(arg0, arg1) {
518
+ __wbg___opengrid_page_lang_80db720fb8cb751a: function(arg0, arg1) {
472
519
  const ret = __opengrid_page_lang(arg1);
473
520
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
474
521
  const len1 = WASM_VECTOR_LEN;
475
522
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
476
523
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
477
524
  },
478
- __wbg___opengrid_remove_attribute_7bb89f564318841a: function(arg0, arg1, arg2) {
525
+ __wbg___opengrid_remove_attribute_f38f0c174f05a3ce: function(arg0, arg1, arg2) {
479
526
  __opengrid_remove_attribute(arg0, getStringFromWasm0(arg1, arg2));
480
527
  },
481
- __wbg___opengrid_set_attribute_43e750b43e7efda1: function(arg0, arg1, arg2, arg3, arg4) {
528
+ __wbg___opengrid_set_attribute_f137aba5874232e6: function(arg0, arg1, arg2, arg3, arg4) {
482
529
  __opengrid_set_attribute(arg0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
483
530
  },
484
- __wbg___opengrid_set_text_28d472c5299f8f9b: function(arg0, arg1, arg2) {
531
+ __wbg___opengrid_set_text_2bd53b7388aad16c: function(arg0, arg1, arg2) {
485
532
  __opengrid_set_text(arg0, getStringFromWasm0(arg1, arg2));
486
533
  },
487
534
  __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
@@ -601,6 +648,9 @@ function __wbg_get_imports() {
601
648
  const ret = arg0.childElementCount;
602
649
  return ret;
603
650
  },
651
+ __wbg_clearTimeout_8f80437be2324e09: function(arg0, arg1) {
652
+ arg0.clearTimeout(arg1);
653
+ },
604
654
  __wbg_clientHeight_994541cde34d3ca0: function(arg0) {
605
655
  const ret = arg0.clientHeight;
606
656
  return ret;
@@ -609,10 +659,22 @@ function __wbg_get_imports() {
609
659
  const ret = arg0.clientLeft;
610
660
  return ret;
611
661
  },
662
+ __wbg_clientTop_e520b4852e059784: function(arg0) {
663
+ const ret = arg0.clientTop;
664
+ return ret;
665
+ },
612
666
  __wbg_clientWidth_6852617da948be39: function(arg0) {
613
667
  const ret = arg0.clientWidth;
614
668
  return ret;
615
669
  },
670
+ __wbg_clientX_a7dcb4081126cd4b: function(arg0) {
671
+ const ret = arg0.clientX;
672
+ return ret;
673
+ },
674
+ __wbg_clientY_c0560910b20ee192: function(arg0) {
675
+ const ret = arg0.clientY;
676
+ return ret;
677
+ },
616
678
  __wbg_clipboardData_b99e24e2d915217c: function(arg0) {
617
679
  const ret = arg0.clipboardData;
618
680
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -668,6 +730,10 @@ function __wbg_get_imports() {
668
730
  const ret = arg0.document;
669
731
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
670
732
  },
733
+ __wbg_elementFromPoint_49d780c87b3d05b7: function(arg0, arg1, arg2) {
734
+ const ret = arg0.elementFromPoint(arg1, arg2);
735
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
736
+ },
671
737
  __wbg_entries_015dc610cd81ede0: function(arg0) {
672
738
  const ret = Object.entries(arg0);
673
739
  return ret;
@@ -777,6 +843,10 @@ function __wbg_get_imports() {
777
843
  const ret = arg0.innerWidth;
778
844
  return ret;
779
845
  }, arguments); },
846
+ __wbg_insertAdjacentElement_e7e2cb2b228464d3: function() { return handleError(function (arg0, arg1, arg2, arg3) {
847
+ const ret = arg0.insertAdjacentElement(getStringFromWasm0(arg1, arg2), arg3);
848
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
849
+ }, arguments); },
780
850
  __wbg_insertBefore_9121f73148bc4f7c: function() { return handleError(function (arg0, arg1, arg2) {
781
851
  const ret = arg0.insertBefore(arg1, arg2);
782
852
  return ret;
@@ -921,6 +991,16 @@ function __wbg_get_imports() {
921
991
  const ret = result;
922
992
  return ret;
923
993
  },
994
+ __wbg_instanceof_PointerEvent_8ef1feb51407c0ed: function(arg0) {
995
+ let result;
996
+ try {
997
+ result = arg0 instanceof PointerEvent;
998
+ } catch (_) {
999
+ result = false;
1000
+ }
1001
+ const ret = result;
1002
+ return ret;
1003
+ },
924
1004
  __wbg_instanceof_Promise_4cb210c0b8f8c959: function(arg0) {
925
1005
  let result;
926
1006
  try {
@@ -983,6 +1063,10 @@ function __wbg_get_imports() {
983
1063
  const ret = arg0.isConnected;
984
1064
  return ret;
985
1065
  },
1066
+ __wbg_isPrimary_e59b27f91017e844: function(arg0) {
1067
+ const ret = arg0.isPrimary;
1068
+ return ret;
1069
+ },
986
1070
  __wbg_isSameNode_75a8a5f6302c6182: function(arg0, arg1) {
987
1071
  const ret = arg0.isSameNode(arg1);
988
1072
  return ret;
@@ -1069,7 +1153,7 @@ function __wbg_get_imports() {
1069
1153
  const a = state0.a;
1070
1154
  state0.a = 0;
1071
1155
  try {
1072
- return wasm_bindgen_f2793286032f204f___convert__closures_____invoke___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1156
+ return wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1073
1157
  } finally {
1074
1158
  state0.a = a;
1075
1159
  }
@@ -1107,6 +1191,22 @@ function __wbg_get_imports() {
1107
1191
  const ret = Array.of(arg0, arg1, arg2);
1108
1192
  return ret;
1109
1193
  },
1194
+ __wbg_offsetHeight_242135c11b7fdaec: function(arg0) {
1195
+ const ret = arg0.offsetHeight;
1196
+ return ret;
1197
+ },
1198
+ __wbg_offsetLeft_57573e1411874d68: function(arg0) {
1199
+ const ret = arg0.offsetLeft;
1200
+ return ret;
1201
+ },
1202
+ __wbg_offsetTop_eb7a93213506ba96: function(arg0) {
1203
+ const ret = arg0.offsetTop;
1204
+ return ret;
1205
+ },
1206
+ __wbg_offsetWidth_f7d4d93df1ead153: function(arg0) {
1207
+ const ret = arg0.offsetWidth;
1208
+ return ret;
1209
+ },
1110
1210
  __wbg_ownerDocument_5a7a5473f8709b3e: function(arg0) {
1111
1211
  const ret = arg0.ownerDocument;
1112
1212
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -1123,6 +1223,17 @@ function __wbg_get_imports() {
1123
1223
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
1124
1224
  return ret;
1125
1225
  }, arguments); },
1226
+ __wbg_pointerId_ea33d2695be12e7f: function(arg0) {
1227
+ const ret = arg0.pointerId;
1228
+ return ret;
1229
+ },
1230
+ __wbg_pointerType_d5e932608aa61bb6: function(arg0, arg1) {
1231
+ const ret = arg1.pointerType;
1232
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1233
+ const len1 = WASM_VECTOR_LEN;
1234
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1235
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1236
+ },
1126
1237
  __wbg_preventDefault_b64888c857500682: function(arg0) {
1127
1238
  arg0.preventDefault();
1128
1239
  },
@@ -1206,6 +1317,10 @@ function __wbg_get_imports() {
1206
1317
  const ret = arg0.scrollHeight;
1207
1318
  return ret;
1208
1319
  },
1320
+ __wbg_scrollHeight_ceb87081966d8961: function(arg0) {
1321
+ const ret = arg0.scrollHeight;
1322
+ return ret;
1323
+ },
1209
1324
  __wbg_scrollIntoView_5262843155744b69: function(arg0) {
1210
1325
  arg0.scrollIntoView();
1211
1326
  },
@@ -1220,6 +1335,14 @@ function __wbg_get_imports() {
1220
1335
  const ret = arg0.scrollTop;
1221
1336
  return ret;
1222
1337
  },
1338
+ __wbg_scrollTop_dc5ff575e4a53628: function(arg0) {
1339
+ const ret = arg0.scrollTop;
1340
+ return ret;
1341
+ },
1342
+ __wbg_scrollWidth_38006a7134cdfeff: function(arg0) {
1343
+ const ret = arg0.scrollWidth;
1344
+ return ret;
1345
+ },
1223
1346
  __wbg_select_439dea2335b9e472: function(arg0) {
1224
1347
  arg0.select();
1225
1348
  },
@@ -1292,6 +1415,9 @@ function __wbg_get_imports() {
1292
1415
  __wbg_set_once_51a9fb6b8af8a72b: function(arg0, arg1) {
1293
1416
  arg0.once = arg1 !== 0;
1294
1417
  },
1418
+ __wbg_set_passive_86a651d25740d760: function(arg0, arg1) {
1419
+ arg0.passive = arg1 !== 0;
1420
+ },
1295
1421
  __wbg_set_prevent_scroll_82778f333ef22ca8: function(arg0, arg1) {
1296
1422
  arg0.preventScroll = arg1 !== 0;
1297
1423
  },
@@ -1441,48 +1567,48 @@ function __wbg_get_imports() {
1441
1567
  return ret;
1442
1568
  },
1443
1569
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1444
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 18, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1445
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true_);
1570
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1571
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true_);
1446
1572
  return ret;
1447
1573
  },
1448
1574
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1449
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 278, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1450
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_f2793286032f204f___JsError___true_);
1575
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 314, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1576
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_2904f4f21cc31194___JsError___true_);
1451
1577
  return ret;
1452
1578
  },
1453
1579
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1454
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 18, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1455
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__2);
1580
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1581
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__2);
1456
1582
  return ret;
1457
1583
  },
1458
1584
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1459
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 18, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1460
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__3);
1585
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1586
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__3);
1461
1587
  return ret;
1462
1588
  },
1463
1589
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1464
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("HTMLElement"), String, Option(String), Option(String)], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1465
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___web_sys_d90b8ce3fc65d21___features__gen_HtmlElement__HtmlElement__alloc_98d089680bbbc9df___string__String__core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String___core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String_______true_);
1590
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("HTMLElement"), String, Option(String), Option(String)], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1591
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___web_sys_d6555ae3b863ad1a___features__gen_HtmlElement__HtmlElement__alloc_e55a19737d9c830c___string__String__core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String___core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String_______true_);
1466
1592
  return ret;
1467
1593
  },
1468
1594
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1469
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("HTMLElement")], shim_idx: 18, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1470
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__5);
1595
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("HTMLElement")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1596
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__5);
1471
1597
  return ret;
1472
1598
  },
1473
1599
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
1474
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 18, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1475
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__6);
1600
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1601
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__6);
1476
1602
  return ret;
1477
1603
  },
1478
1604
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
1479
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [U32], shim_idx: 264, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1480
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke___u32______true_);
1605
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [U32], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1606
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___u32______true_);
1481
1607
  return ret;
1482
1608
  },
1483
1609
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
1484
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 17, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1485
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f2793286032f204f___convert__closures_____invoke_______true_);
1610
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 18, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1611
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke_______true_);
1486
1612
  return ret;
1487
1613
  },
1488
1614
  __wbindgen_cast_000000000000000a: function(arg0) {
@@ -1508,60 +1634,60 @@ function __wbg_get_imports() {
1508
1634
  return {
1509
1635
  __proto__: null,
1510
1636
  "./opengrid_web_components_bg.js": import0,
1511
- "./snippets/opengrid-web-components-33f835da37ee30df/inline1.js": import1,
1512
- "./snippets/opengrid-web-core-6c69c2a1f831ba74/inline0.js": import2,
1513
- "./snippets/opengrid-web-core-6c69c2a1f831ba74/inline0.js": import3,
1514
- "./snippets/opengrid-web-core-6c69c2a1f831ba74/inline0.js": import4,
1637
+ "./snippets/opengrid-web-components-7b74e96872f41f92/inline1.js": import1,
1638
+ "./snippets/opengrid-web-core-2138c846fafc77c3/inline0.js": import2,
1639
+ "./snippets/opengrid-web-core-2138c846fafc77c3/inline0.js": import3,
1640
+ "./snippets/opengrid-web-core-2138c846fafc77c3/inline0.js": import4,
1515
1641
  };
1516
1642
  }
1517
1643
 
1518
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke_______true_(arg0, arg1) {
1519
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke_______true_(arg0, arg1);
1644
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke_______true_(arg0, arg1) {
1645
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke_______true_(arg0, arg1);
1520
1646
  }
1521
1647
 
1522
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true_(arg0, arg1, arg2) {
1523
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true_(arg0, arg1, arg2);
1648
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true_(arg0, arg1, arg2) {
1649
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true_(arg0, arg1, arg2);
1524
1650
  }
1525
1651
 
1526
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__2(arg0, arg1, arg2) {
1527
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__2(arg0, arg1, arg2);
1652
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__2(arg0, arg1, arg2) {
1653
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__2(arg0, arg1, arg2);
1528
1654
  }
1529
1655
 
1530
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__3(arg0, arg1, arg2) {
1531
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__3(arg0, arg1, arg2);
1656
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__3(arg0, arg1, arg2) {
1657
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__3(arg0, arg1, arg2);
1532
1658
  }
1533
1659
 
1534
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__5(arg0, arg1, arg2) {
1535
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__5(arg0, arg1, arg2);
1660
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__5(arg0, arg1, arg2) {
1661
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__5(arg0, arg1, arg2);
1536
1662
  }
1537
1663
 
1538
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__6(arg0, arg1, arg2) {
1539
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__6(arg0, arg1, arg2);
1664
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__6(arg0, arg1, arg2) {
1665
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__6(arg0, arg1, arg2);
1540
1666
  }
1541
1667
 
1542
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_f2793286032f204f___JsError___true_(arg0, arg1, arg2) {
1543
- const ret = wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_f2793286032f204f___JsError___true_(arg0, arg1, arg2);
1668
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_2904f4f21cc31194___JsError___true_(arg0, arg1, arg2) {
1669
+ const ret = wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_2904f4f21cc31194___JsError___true_(arg0, arg1, arg2);
1544
1670
  if (ret[1]) {
1545
1671
  throw takeFromExternrefTable0(ret[0]);
1546
1672
  }
1547
1673
  }
1548
1674
 
1549
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
1550
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
1675
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
1676
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
1551
1677
  }
1552
1678
 
1553
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___web_sys_d90b8ce3fc65d21___features__gen_HtmlElement__HtmlElement__alloc_98d089680bbbc9df___string__String__core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String___core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String_______true_(arg0, arg1, arg2, arg3, arg4, arg5) {
1679
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___web_sys_d6555ae3b863ad1a___features__gen_HtmlElement__HtmlElement__alloc_e55a19737d9c830c___string__String__core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String___core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String_______true_(arg0, arg1, arg2, arg3, arg4, arg5) {
1554
1680
  const ptr0 = passStringToWasm0(arg3, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1555
1681
  const len0 = WASM_VECTOR_LEN;
1556
1682
  var ptr1 = isLikeNone(arg4) ? 0 : passStringToWasm0(arg4, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1557
1683
  var len1 = WASM_VECTOR_LEN;
1558
1684
  var ptr2 = isLikeNone(arg5) ? 0 : passStringToWasm0(arg5, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1559
1685
  var len2 = WASM_VECTOR_LEN;
1560
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___web_sys_d90b8ce3fc65d21___features__gen_HtmlElement__HtmlElement__alloc_98d089680bbbc9df___string__String__core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String___core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String_______true_(arg0, arg1, arg2, ptr0, len0, ptr1, len1, ptr2, len2);
1686
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___web_sys_d6555ae3b863ad1a___features__gen_HtmlElement__HtmlElement__alloc_e55a19737d9c830c___string__String__core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String___core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String_______true_(arg0, arg1, arg2, ptr0, len0, ptr1, len1, ptr2, len2);
1561
1687
  }
1562
1688
 
1563
- function wasm_bindgen_f2793286032f204f___convert__closures_____invoke___u32______true_(arg0, arg1, arg2) {
1564
- wasm.wasm_bindgen_f2793286032f204f___convert__closures_____invoke___u32______true_(arg0, arg1, arg2);
1689
+ function wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___u32______true_(arg0, arg1, arg2) {
1690
+ wasm.wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___u32______true_(arg0, arg1, arg2);
1565
1691
  }
1566
1692
 
1567
1693
 
Binary file
@@ -12,28 +12,31 @@ export const prepare_print: (a: any) => any;
12
12
  export const refresh: (a: any) => void;
13
13
  export const register: () => [number, number];
14
14
  export const set_actions: (a: any, b: any) => void;
15
+ export const set_cell_actions: (a: any, b: any) => void;
15
16
  export const set_cell_state: (a: any, b: any, c: number, d: number, e: number, f: number, g: number, h: number) => void;
16
17
  export const set_cell_templates: (a: any, b: any) => void;
17
18
  export const set_choices: (a: any, b: any) => void;
18
19
  export const set_columns: (a: any, b: any) => void;
19
20
  export const set_detail_renderer: (a: any, b: any) => void;
20
21
  export const set_formats: (a: any, b: any) => void;
22
+ export const set_presets: (a: any, b: any, c: any) => void;
21
23
  export const set_provider: (a: any, b: any) => void;
22
24
  export const set_row_state: (a: any, b: number, c: number, d: number, e: number, f: any) => void;
23
25
  export const set_texts: (a: any, b: any) => void;
26
+ export const set_toolbar: (a: any, b: any) => void;
24
27
  export const set_validators: (a: any, b: any) => void;
25
28
  export const set_values: (a: any, b: any) => void;
26
29
  export const set_view: (a: any, b: any, c: any) => void;
27
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___web_sys_d90b8ce3fc65d21___features__gen_HtmlElement__HtmlElement__alloc_98d089680bbbc9df___string__String__core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String___core_d941ad8722425d2e___option__Option_alloc_98d089680bbbc9df___string__String_______true_: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number) => void;
28
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_f2793286032f204f___JsError___true_: (a: number, b: number, c: any) => [number, number];
29
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined___js_sys_3247ddf4d7647dab___Function_fn_wasm_bindgen_f2793286032f204f___JsValue_____wasm_bindgen_f2793286032f204f___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
30
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true_: (a: number, b: number, c: any) => void;
31
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__2: (a: number, b: number, c: any) => void;
32
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__3: (a: number, b: number, c: any) => void;
33
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__5: (a: number, b: number, c: any) => void;
34
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___wasm_bindgen_f2793286032f204f___JsValue______true__6: (a: number, b: number, c: any) => void;
35
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke___u32______true_: (a: number, b: number, c: number) => void;
36
- export const wasm_bindgen_f2793286032f204f___convert__closures_____invoke_______true_: (a: number, b: number) => void;
30
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___web_sys_d6555ae3b863ad1a___features__gen_HtmlElement__HtmlElement__alloc_e55a19737d9c830c___string__String__core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String___core_6a51abefd5362b2___option__Option_alloc_e55a19737d9c830c___string__String_______true_: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number) => void;
31
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_2904f4f21cc31194___JsError___true_: (a: number, b: number, c: any) => [number, number];
32
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined___js_sys_ea30aadaaa9c294a___Function_fn_wasm_bindgen_2904f4f21cc31194___JsValue_____wasm_bindgen_2904f4f21cc31194___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
33
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true_: (a: number, b: number, c: any) => void;
34
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__2: (a: number, b: number, c: any) => void;
35
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__3: (a: number, b: number, c: any) => void;
36
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__5: (a: number, b: number, c: any) => void;
37
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___wasm_bindgen_2904f4f21cc31194___JsValue______true__6: (a: number, b: number, c: any) => void;
38
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke___u32______true_: (a: number, b: number, c: number) => void;
39
+ export const wasm_bindgen_2904f4f21cc31194___convert__closures_____invoke_______true_: (a: number, b: number) => void;
37
40
  export const __wbindgen_exn_store: (a: number) => void;
38
41
  export const __externref_table_alloc: () => number;
39
42
  export const __wbindgen_externrefs: WebAssembly.Table;
package/react/index.d.ts CHANGED
@@ -57,6 +57,8 @@ export interface OpengridGridProps extends ConnectOptions, ElementProps {
57
57
  treeKey?: string;
58
58
  /** The field that names a record: `key` in the editing events. */
59
59
  rowKey?: string;
60
+ /** The boolean field that mutes a row: drawn in the muted ink, described with the text `rowMuted`. */
61
+ rowMuted?: string;
60
62
  /** The page's filter, as the wire's JSON; and-ed onto every query, not in the view. */
61
63
  filter?: string;
62
64
  /** The locale text columns sort by (`de`, `sr-Latn`); by code point without it. */
@@ -65,6 +67,10 @@ export interface OpengridGridProps extends ConnectOptions, ElementProps {
65
67
  addRow?: boolean;
66
68
  /** Locks editing for the whole grid; the page unlocks it at run time. */
67
69
  editLocked?: boolean;
70
+ /** An *Edit* switch in the toolbar that locks and unlocks editing (needs `toolbar`). */
71
+ editToggle?: boolean;
72
+ /** `"down"`: `Enter` that commits an editor moves the focus to the next data row (`Shift`+`Enter`: the previous one). */
73
+ enterMoves?: "down";
68
74
  search?: boolean;
69
75
  facets?: boolean;
70
76
  toolbar?: boolean;