@casoon/opengrid 0.14.0 → 0.16.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 (33) hide show
  1. package/CHANGELOG.md +621 -19
  2. package/README.md +19 -2
  3. package/engine/opengrid_wasm_bg.wasm +0 -0
  4. package/loader.d.ts +451 -24
  5. package/loader.js +584 -132
  6. package/package.json +13 -6
  7. package/pkg/opengrid_web_components.d.ts +94 -23
  8. package/pkg/opengrid_web_components.js +451 -59
  9. package/pkg/opengrid_web_components_bg.wasm +0 -0
  10. package/pkg/opengrid_web_components_bg.wasm.d.ts +15 -6
  11. package/pkg/snippets/opengrid-web-components-35ed06b453a9b215/inline0.js +8 -0
  12. package/pkg/snippets/opengrid-web-components-35ed06b453a9b215/inline1.js +58 -0
  13. package/pkg/snippets/opengrid-web-core-b41714d4e7311909/inline2.js +89 -0
  14. package/react/index.d.ts +20 -2
  15. package/react/index.js +32 -6
  16. package/svelte/Opengrid.svelte +46 -11
  17. package/svelte/OpengridGrid.svelte +20 -1
  18. package/svelte/OpengridPivot.svelte +3 -3
  19. package/svelte/OpengridTable.svelte +1 -1
  20. package/svelte/index.d.ts +57 -18
  21. package/svelte/index.js +1 -1
  22. package/texts/de.d.ts +5 -0
  23. package/texts/de.js +245 -0
  24. package/vue/index.d.ts +49 -7
  25. package/vue/index.js +41 -11
  26. package/worker.js +6 -3
  27. package/xlsx/opengrid_xlsx.d.ts +69 -0
  28. package/xlsx/opengrid_xlsx.js +375 -0
  29. package/xlsx/opengrid_xlsx_bg.wasm +0 -0
  30. package/xlsx/opengrid_xlsx_bg.wasm.d.ts +16 -0
  31. package/pkg/snippets/opengrid-web-components-56667a20e9158a6a/inline0.js +0 -17
  32. /package/pkg/snippets/{opengrid-web-core-a3505e32fee0c1ed → opengrid-web-core-b41714d4e7311909}/inline0.js +0 -0
  33. /package/pkg/snippets/{opengrid-web-core-a3505e32fee0c1ed → opengrid-web-core-b41714d4e7311909}/inline1.js +0 -0
@@ -1,9 +1,12 @@
1
1
  /* @ts-self-types="./opengrid_web_components.d.ts" */
2
- import { __opengrid_intl_formatter } from './snippets/opengrid-web-components-56667a20e9158a6a/inline0.js';
3
- import { __opengrid_define_element } from './snippets/opengrid-web-core-a3505e32fee0c1ed/inline1.js';
4
- import * as import1 from "./snippets/opengrid-web-core-a3505e32fee0c1ed/inline0.js"
5
- import * as import2 from "./snippets/opengrid-web-core-a3505e32fee0c1ed/inline0.js"
6
- import * as import3 from "./snippets/opengrid-web-core-a3505e32fee0c1ed/inline0.js"
2
+ import { __opengrid_numbers } from './snippets/opengrid-web-components-35ed06b453a9b215/inline0.js';
3
+ import { __opengrid_intl_formatter, __opengrid_page_lang } from './snippets/opengrid-web-components-35ed06b453a9b215/inline1.js';
4
+ import { __opengrid_define_element } from './snippets/opengrid-web-core-b41714d4e7311909/inline1.js';
5
+ import { __opengrid_apply_frame, __opengrid_remove_attribute, __opengrid_set_attribute, __opengrid_set_text } from './snippets/opengrid-web-core-b41714d4e7311909/inline2.js';
6
+ import * as import1 from "./snippets/opengrid-web-components-35ed06b453a9b215/inline1.js"
7
+ import * as import2 from "./snippets/opengrid-web-core-b41714d4e7311909/inline0.js"
8
+ import * as import3 from "./snippets/opengrid-web-core-b41714d4e7311909/inline0.js"
9
+ import * as import4 from "./snippets/opengrid-web-core-b41714d4e7311909/inline0.js"
7
10
 
8
11
 
9
12
  /**
@@ -13,13 +16,14 @@ import * as import3 from "./snippets/opengrid-web-core-a3505e32fee0c1ed/inline0.
13
16
  * @param {any} answer
14
17
  * @param {any} options
15
18
  * @param {boolean} header
19
+ * @param {any} headers
16
20
  * @returns {string}
17
21
  */
18
- export function export_csv(answer, options, header) {
22
+ export function export_csv(answer, options, header, headers) {
19
23
  let deferred2_0;
20
24
  let deferred2_1;
21
25
  try {
22
- const ret = wasm.export_csv(answer, options, header);
26
+ const ret = wasm.export_csv(answer, options, header, headers);
23
27
  var ptr1 = ret[0];
24
28
  var len1 = ret[1];
25
29
  if (ret[3]) {
@@ -61,6 +65,19 @@ export function export_json(answer, first) {
61
65
  }
62
66
  }
63
67
 
68
+ /**
69
+ * The header texts of the banded columns shown, `{ column: "Band · Title" }`
70
+ * (issue #353): pass it to `exportRows` as `headers` and a file names the band
71
+ * of a banded column. Columns without a band are not in it and keep their
72
+ * field name.
73
+ * @param {HTMLElement} host
74
+ * @returns {any}
75
+ */
76
+ export function get_export_headers(host) {
77
+ const ret = wasm.get_export_headers(host);
78
+ return ret;
79
+ }
80
+
64
81
  /**
65
82
  * The pivot as it is shown, as CSV (issue #3).
66
83
  *
@@ -136,6 +153,57 @@ export function get_view(host) {
136
153
  return ret;
137
154
  }
138
155
 
156
+ /**
157
+ * The words a pivot's export has no data for, as `host` has them now: the
158
+ * texts for a NULL and for an empty dimension value, for the grand total and
159
+ * for a subtotal (with its `{value}`), then what a calculated measure is
160
+ * shown as — a share of the row, the column, the total, a running total
161
+ * (issue #329) — in that order.
162
+ *
163
+ * For `exportPivot` in `loader.js` (issue #331), which hands them to the
164
+ * server that writes the workbook; in the order of `PIVOT_TEXTS` there. Like
165
+ * [`export_csv`], exported for the loader and not part of the documented API.
166
+ * @param {HTMLElement} host
167
+ * @returns {string[]}
168
+ */
169
+ export function pivot_words(host) {
170
+ const ret = wasm.pivot_words(host);
171
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
172
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
173
+ return v1;
174
+ }
175
+
176
+ /**
177
+ * Every match of the grid's view as a plain table for paper (issue #334).
178
+ *
179
+ * A virtualized grid holds a window of rows, so a stylesheet alone cannot
180
+ * print it, and `beforeprint` cannot wait for a query. The page calls this,
181
+ * awaits it and then prints: the grid asks for every match of its view — the
182
+ * query of `get_query` — and builds a native table that only `@media print`
183
+ * shows, in place of the grid. `afterprint` removes it.
184
+ *
185
+ * Resolves with the number of rows in the table; with `null` where
186
+ * `get_query` answers `null`, and for the table and the pivot, which print
187
+ * whole as they are. Rejects with the provider's error, and with the code
188
+ * `too_many_rows` for more than 10 000 matches.
189
+ * @param {HTMLElement} host
190
+ * @returns {Promise<any>}
191
+ */
192
+ export function prepare_print(host) {
193
+ const ret = wasm.prepare_print(host);
194
+ return ret;
195
+ }
196
+
197
+ /**
198
+ * Runs the grid's query again over a source that changed (issue #328), keeping
199
+ * the view, the focus by record, the selection by key and the history. What the
200
+ * "Refresh" button does; a page that took `opengrid-source-changed` over calls it.
201
+ * @param {HTMLElement} host
202
+ */
203
+ export function refresh(host) {
204
+ wasm.refresh(host);
205
+ }
206
+
139
207
  /**
140
208
  * Registers `<opengrid-table>` and `<opengrid-grid>`; safe to call more than
141
209
  * once.
@@ -188,6 +256,17 @@ export function set_cell_state(host, key, column, state, message) {
188
256
  wasm.set_cell_state(host, key, ptr0, len0, ptr1, len1, ptr2, len2);
189
257
  }
190
258
 
259
+ /**
260
+ * Gives columns a template (issue #317): `{ column: ({ value, text, row, key }) => Node }`,
261
+ * the DOM node a cell shows instead of its text. Never an HTML string; the
262
+ * source's value stays what search, export and the events read.
263
+ * @param {HTMLElement} host
264
+ * @param {any} templates
265
+ */
266
+ export function set_cell_templates(host, templates) {
267
+ wasm.set_cell_templates(host, templates);
268
+ }
269
+
191
270
  /**
192
271
  * Sets the choices a column's editor offers (plan point 37).
193
272
  *
@@ -230,22 +309,16 @@ export function set_columns(host, columns) {
230
309
  }
231
310
 
232
311
  /**
233
- * Overrides the texts a component writes itself (point 48).
234
- *
235
- * `texts` is a plain JS object with any subset of the keys `lang`, `loading`,
236
- * `matchesOne`, `matchesOther`, `empty`, `error`, `errorUnknown`,
237
- * `filterGroup`, `operatorLabel`, `valueLabel`, `clear` and `operators`; every
238
- * key left out keeps its English default. `{count}`, `{column}` and `{cause}`
239
- * are the placeholders. A `lang` is written onto the elements that carry these
240
- * texts — the grid's filter row and status line, the table's error paragraph —
241
- * so they are announced in the language they are written in. Never onto the
242
- * data: the cells are the page's, in the page's language.
243
- *
244
- * Exported as `set_texts` beside `set_provider`, and like it, it takes effect
245
- * immediately: the grid rebuilds, because its labels are part of the one-time
246
- * skeleton (the filter row, the scroll offset and the focus are carried
247
- * across). Call it **before** wiring the provider and the component renders the
248
- * right words from its first paint.
312
+ * The function that builds the panel under an open row (issue #318): `(record,
313
+ * key) => Node`. The grid only.
314
+ * @param {HTMLElement} host
315
+ * @param {any} renderer
316
+ */
317
+ export function set_detail_renderer(host, renderer) {
318
+ wasm.set_detail_renderer(host, renderer);
319
+ }
320
+
321
+ /**
249
322
  * Sets the per-column display formats (plan point 42).
250
323
  *
251
324
  * `formats` is a plain JS object keyed by column name. A value is either a
@@ -297,6 +370,25 @@ export function set_row_state(host, provisional_key, state, detail) {
297
370
  }
298
371
 
299
372
  /**
373
+ * Overrides the texts a component writes itself (point 48).
374
+ *
375
+ * `texts` is a plain JS object with any subset of the keys `lang`, `loading`,
376
+ * `matchesOne`, `matchesOther`, `empty`, `error`, `errorUnknown`,
377
+ * `filterGroup`, `operatorLabel`, `valueLabel`, `clear` and `operators`; every
378
+ * key left out keeps its English default. `{count}`, `{column}` and `{cause}`
379
+ * are the placeholders. A `lang` is written onto the elements that carry these
380
+ * texts — the grid's filter row and status line, the table's error paragraph —
381
+ * so they are announced in the language they are written in. Never onto the
382
+ * data: the cells are the page's, in the page's language.
383
+ *
384
+ * A call adds to the texts an earlier one set; a key left out keeps what it was.
385
+ * `set_texts(host, null)` takes them all back to the English defaults.
386
+ *
387
+ * Exported as `set_texts` beside `set_provider`, and like it, it takes effect
388
+ * immediately: the grid rebuilds, because its labels are part of the one-time
389
+ * skeleton (the filter row, the scroll offset and the focus are carried
390
+ * across). Call it **before** wiring the provider and the component renders the
391
+ * right words from its first paint.
300
392
  * @param {HTMLElement} host
301
393
  * @param {any} values
302
394
  */
@@ -362,13 +454,36 @@ function __wbg_get_imports() {
362
454
  const ret = Error(getStringFromWasm0(arg0, arg1));
363
455
  return ret;
364
456
  },
365
- __wbg___opengrid_define_element_8f22e1bc45c60af7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
457
+ __wbg___opengrid_apply_frame_5f2ac2be6ba3e8b2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
458
+ __opengrid_apply_frame(arg0, arg1, getArrayU32FromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
459
+ },
460
+ __wbg___opengrid_define_element_ebb46b217d03dd15: function(arg0, arg1, arg2, arg3, arg4, arg5) {
366
461
  __opengrid_define_element(getStringFromWasm0(arg0, arg1), arg2, arg3, arg4, arg5);
367
462
  },
368
- __wbg___opengrid_intl_formatter_c545f3d8646ebd4b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
463
+ __wbg___opengrid_intl_formatter_88843d244c885ace: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
369
464
  const ret = __opengrid_intl_formatter(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4);
370
465
  return ret;
371
466
  }, arguments); },
467
+ __wbg___opengrid_numbers_c883c82cb1b54a7e: function(arg0, arg1) {
468
+ const ret = __opengrid_numbers(getArrayF64FromWasm0(arg0, arg1));
469
+ return ret;
470
+ },
471
+ __wbg___opengrid_page_lang_57301dc357997aac: function(arg0, arg1) {
472
+ const ret = __opengrid_page_lang(arg1);
473
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
474
+ const len1 = WASM_VECTOR_LEN;
475
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
476
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
477
+ },
478
+ __wbg___opengrid_remove_attribute_09aa827ac61b5b1a: function(arg0, arg1, arg2) {
479
+ __opengrid_remove_attribute(arg0, getStringFromWasm0(arg1, arg2));
480
+ },
481
+ __wbg___opengrid_set_attribute_b284900a44e99ab5: function(arg0, arg1, arg2, arg3, arg4) {
482
+ __opengrid_set_attribute(arg0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
483
+ },
484
+ __wbg___opengrid_set_text_588172b8708114fd: function(arg0, arg1, arg2) {
485
+ __opengrid_set_text(arg0, getStringFromWasm0(arg1, arg2));
486
+ },
372
487
  __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
373
488
  const v = arg0;
374
489
  const ret = typeof(v) === 'boolean' ? v : undefined;
@@ -425,6 +540,9 @@ function __wbg_get_imports() {
425
540
  __wbg_addEventListener_109ae44e5cc4d506: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
426
541
  arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4 !== 0);
427
542
  }, arguments); },
543
+ __wbg_addEventListener_520e749bbae24529: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
544
+ arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4);
545
+ }, arguments); },
428
546
  __wbg_addEventListener_d85450ee1320c989: function() { return handleError(function (arg0, arg1, arg2, arg3) {
429
547
  arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
430
548
  }, arguments); },
@@ -444,10 +562,21 @@ function __wbg_get_imports() {
444
562
  const ret = arg0.attachShadow(arg1);
445
563
  return ret;
446
564
  }, arguments); },
565
+ __wbg_before_d0b01e57cd8d2b88: function() { return handleError(function (arg0, arg1) {
566
+ arg0.before(arg1);
567
+ }, arguments); },
447
568
  __wbg_bottom_e6ed49b80d965dae: function(arg0) {
448
569
  const ret = arg0.bottom;
449
570
  return ret;
450
571
  },
572
+ __wbg_button_f6a9a7b725f1838e: function(arg0) {
573
+ const ret = arg0.button;
574
+ return ret;
575
+ },
576
+ __wbg_buttons_d8acd46cf8f40ae9: function(arg0) {
577
+ const ret = arg0.buttons;
578
+ return ret;
579
+ },
451
580
  __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
452
581
  const ret = arg0.call(arg1);
453
582
  return ret;
@@ -464,6 +593,10 @@ function __wbg_get_imports() {
464
593
  const ret = arg0.checked;
465
594
  return ret;
466
595
  },
596
+ __wbg_childElementCount_02cdc7dd82dc3bf9: function(arg0) {
597
+ const ret = arg0.childElementCount;
598
+ return ret;
599
+ },
467
600
  __wbg_childElementCount_e7b55fd263a23895: function(arg0) {
468
601
  const ret = arg0.childElementCount;
469
602
  return ret;
@@ -476,14 +609,29 @@ function __wbg_get_imports() {
476
609
  const ret = arg0.clientLeft;
477
610
  return ret;
478
611
  },
612
+ __wbg_clientWidth_6852617da948be39: function(arg0) {
613
+ const ret = arg0.clientWidth;
614
+ return ret;
615
+ },
479
616
  __wbg_clipboardData_b99e24e2d915217c: function(arg0) {
480
617
  const ret = arg0.clipboardData;
481
618
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
482
619
  },
620
+ __wbg_close_b97b6a6385cfff98: function(arg0) {
621
+ arg0.close();
622
+ },
483
623
  __wbg_closest_d889c758da4bb13b: function() { return handleError(function (arg0, arg1, arg2) {
484
624
  const ret = arg0.closest(getStringFromWasm0(arg1, arg2));
485
625
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
486
626
  }, arguments); },
627
+ __wbg_contains_7189b09a477442a6: function(arg0, arg1) {
628
+ const ret = arg0.contains(arg1);
629
+ return ret;
630
+ },
631
+ __wbg_createDocumentFragment_ce446e0179ac5610: function(arg0) {
632
+ const ret = arg0.createDocumentFragment();
633
+ return ret;
634
+ },
487
635
  __wbg_createElement_fcbc0805de826d62: function() { return handleError(function (arg0, arg1, arg2) {
488
636
  const ret = arg0.createElement(getStringFromWasm0(arg1, arg2));
489
637
  return ret;
@@ -500,6 +648,10 @@ function __wbg_get_imports() {
500
648
  const ret = arg0.customElements;
501
649
  return ret;
502
650
  },
651
+ __wbg_defaultPrevented_996f88f12d6fe393: function(arg0) {
652
+ const ret = arg0.defaultPrevented;
653
+ return ret;
654
+ },
503
655
  __wbg_disabled_03c1f71b366d407a: function(arg0) {
504
656
  const ret = arg0.disabled;
505
657
  return ret;
@@ -516,17 +668,32 @@ function __wbg_get_imports() {
516
668
  const ret = arg0.document;
517
669
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
518
670
  },
671
+ __wbg_entries_015dc610cd81ede0: function(arg0) {
672
+ const ret = Object.entries(arg0);
673
+ return ret;
674
+ },
519
675
  __wbg_firstChild_984b883406cc95b8: function(arg0) {
520
676
  const ret = arg0.firstChild;
521
677
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
522
678
  },
679
+ __wbg_firstElementChild_09d2c7dc8dd1cfd9: function(arg0) {
680
+ const ret = arg0.firstElementChild;
681
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
682
+ },
523
683
  __wbg_focus_2f77051f98540625: function() { return handleError(function (arg0) {
524
684
  arg0.focus();
525
685
  }, arguments); },
686
+ __wbg_focus_5ecef5db03850e25: function() { return handleError(function (arg0, arg1) {
687
+ arg0.focus(arg1);
688
+ }, arguments); },
526
689
  __wbg_for_e542e480b076809a: function(arg0, arg1) {
527
690
  const ret = Symbol.for(getStringFromWasm0(arg0, arg1));
528
691
  return ret;
529
692
  },
693
+ __wbg_from_13e323c65fc8f464: function(arg0) {
694
+ const ret = Array.from(arg0);
695
+ return ret;
696
+ },
530
697
  __wbg_getAttribute_5a601ba4718b922a: function(arg0, arg1, arg2, arg3) {
531
698
  const ret = arg1.getAttribute(getStringFromWasm0(arg2, arg3));
532
699
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -560,6 +727,10 @@ function __wbg_get_imports() {
560
727
  const ret = arg0.getRootNode();
561
728
  return ret;
562
729
  },
730
+ __wbg_getSelection_5d3a5a6e5b6a1ddd: function() { return handleError(function (arg0) {
731
+ const ret = arg0.getSelection();
732
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
733
+ }, arguments); },
563
734
  __wbg_get_507a50627bffa49b: function(arg0, arg1) {
564
735
  const ret = arg0[arg1 >>> 0];
565
736
  return ret;
@@ -650,6 +821,26 @@ function __wbg_get_imports() {
650
821
  const ret = result;
651
822
  return ret;
652
823
  },
824
+ __wbg_instanceof_FocusEvent_cadb56dad3dfd4ac: function(arg0) {
825
+ let result;
826
+ try {
827
+ result = arg0 instanceof FocusEvent;
828
+ } catch (_) {
829
+ result = false;
830
+ }
831
+ const ret = result;
832
+ return ret;
833
+ },
834
+ __wbg_instanceof_HtmlDialogElement_6e2866d7ca6d56d9: function(arg0) {
835
+ let result;
836
+ try {
837
+ result = arg0 instanceof HTMLDialogElement;
838
+ } catch (_) {
839
+ result = false;
840
+ }
841
+ const ret = result;
842
+ return ret;
843
+ },
653
844
  __wbg_instanceof_HtmlElement_4493a09212d3586f: function(arg0) {
654
845
  let result;
655
846
  try {
@@ -690,6 +881,36 @@ function __wbg_get_imports() {
690
881
  const ret = result;
691
882
  return ret;
692
883
  },
884
+ __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
885
+ let result;
886
+ try {
887
+ result = arg0 instanceof Map;
888
+ } catch (_) {
889
+ result = false;
890
+ }
891
+ const ret = result;
892
+ return ret;
893
+ },
894
+ __wbg_instanceof_MouseEvent_89eddfc6203c1749: function(arg0) {
895
+ let result;
896
+ try {
897
+ result = arg0 instanceof MouseEvent;
898
+ } catch (_) {
899
+ result = false;
900
+ }
901
+ const ret = result;
902
+ return ret;
903
+ },
904
+ __wbg_instanceof_Node_d29e7ded486fd76a: function(arg0) {
905
+ let result;
906
+ try {
907
+ result = arg0 instanceof Node;
908
+ } catch (_) {
909
+ result = false;
910
+ }
911
+ const ret = result;
912
+ return ret;
913
+ },
693
914
  __wbg_instanceof_Object_33f20e6f12439f3e: function(arg0) {
694
915
  let result;
695
916
  try {
@@ -710,6 +931,16 @@ function __wbg_get_imports() {
710
931
  const ret = result;
711
932
  return ret;
712
933
  },
934
+ __wbg_instanceof_ResizeObserver_e05b8510cb207cdf: function(arg0) {
935
+ let result;
936
+ try {
937
+ result = arg0 instanceof ResizeObserver;
938
+ } catch (_) {
939
+ result = false;
940
+ }
941
+ const ret = result;
942
+ return ret;
943
+ },
713
944
  __wbg_instanceof_ShadowRoot_8ab3038bc5e14d84: function(arg0) {
714
945
  let result;
715
946
  try {
@@ -775,6 +1006,10 @@ function __wbg_get_imports() {
775
1006
  const ret = Object.keys(arg0);
776
1007
  return ret;
777
1008
  },
1009
+ __wbg_lastChild_40cbea243f82ab94: function(arg0) {
1010
+ const ret = arg0.lastChild;
1011
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1012
+ },
778
1013
  __wbg_left_7e76a74d0db1754f: function(arg0) {
779
1014
  const ret = arg0.left;
780
1015
  return ret;
@@ -811,6 +1046,10 @@ function __wbg_get_imports() {
811
1046
  const ret = new ResizeObserver(arg0);
812
1047
  return ret;
813
1048
  }, arguments); },
1049
+ __wbg_new_b667d279fd5aa943: function(arg0, arg1) {
1050
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
1051
+ return ret;
1052
+ },
814
1053
  __wbg_new_cd45aabdf6073e84: function(arg0) {
815
1054
  const ret = new Uint8Array(arg0);
816
1055
  return ret;
@@ -823,10 +1062,36 @@ function __wbg_get_imports() {
823
1062
  const ret = new CSSStyleSheet();
824
1063
  return ret;
825
1064
  }, arguments); },
1065
+ __wbg_new_typed_1824d93f294193e5: function(arg0, arg1) {
1066
+ try {
1067
+ var state0 = {a: arg0, b: arg1};
1068
+ var cb0 = (arg0, arg1) => {
1069
+ const a = state0.a;
1070
+ state0.a = 0;
1071
+ try {
1072
+ return wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Function_fn_wasm_bindgen_4cfd459b66780f67___JsValue_____wasm_bindgen_4cfd459b66780f67___sys__Undefined___js_sys_167d7a02263935a1___Function_fn_wasm_bindgen_4cfd459b66780f67___JsValue_____wasm_bindgen_4cfd459b66780f67___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1073
+ } finally {
1074
+ state0.a = a;
1075
+ }
1076
+ };
1077
+ const ret = new Promise(cb0);
1078
+ return ret;
1079
+ } finally {
1080
+ state0.a = 0;
1081
+ }
1082
+ },
826
1083
  __wbg_new_with_event_init_dict_b7d5fa264299bcfa: function() { return handleError(function (arg0, arg1, arg2) {
827
1084
  const ret = new CustomEvent(getStringFromWasm0(arg0, arg1), arg2);
828
1085
  return ret;
829
1086
  }, arguments); },
1087
+ __wbg_nextElementSibling_2c75764f70deca9d: function(arg0) {
1088
+ const ret = arg0.nextElementSibling;
1089
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1090
+ },
1091
+ __wbg_nextSibling_0e94ccfa3c22fa3c: function(arg0) {
1092
+ const ret = arg0.nextSibling;
1093
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1094
+ },
830
1095
  __wbg_now_86c0d4ba3fa605b8: function() {
831
1096
  const ret = Date.now();
832
1097
  return ret;
@@ -834,14 +1099,14 @@ function __wbg_get_imports() {
834
1099
  __wbg_observe_f27242eadc2ebd47: function(arg0, arg1) {
835
1100
  arg0.observe(arg1);
836
1101
  },
837
- __wbg_of_5f1b88183ddb5d94: function(arg0, arg1) {
838
- const ret = Array.of(arg0, arg1);
839
- return ret;
840
- },
841
1102
  __wbg_of_85f52f8b6491a7ca: function(arg0) {
842
1103
  const ret = Array.of(arg0);
843
1104
  return ret;
844
1105
  },
1106
+ __wbg_of_b0cd2e09b31a9684: function(arg0, arg1, arg2) {
1107
+ const ret = Array.of(arg0, arg1, arg2);
1108
+ return ret;
1109
+ },
845
1110
  __wbg_ownerDocument_5a7a5473f8709b3e: function(arg0) {
846
1111
  const ret = arg0.ownerDocument;
847
1112
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -850,6 +1115,10 @@ function __wbg_get_imports() {
850
1115
  const ret = arg0.parentElement;
851
1116
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
852
1117
  },
1118
+ __wbg_parentNode_fecbbdea2a930547: function(arg0) {
1119
+ const ret = arg0.parentNode;
1120
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1121
+ },
853
1122
  __wbg_parse_1c0d8a8656d7e016: function() { return handleError(function (arg0, arg1) {
854
1123
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
855
1124
  return ret;
@@ -891,6 +1160,13 @@ function __wbg_get_imports() {
891
1160
  const ret = Promise.reject(arg0);
892
1161
  return ret;
893
1162
  },
1163
+ __wbg_relatedTarget_7931777b8bd7975a: function(arg0) {
1164
+ const ret = arg0.relatedTarget;
1165
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1166
+ },
1167
+ __wbg_removeAllRanges_a09036f9adab2656: function() { return handleError(function (arg0) {
1168
+ arg0.removeAllRanges();
1169
+ }, arguments); },
894
1170
  __wbg_removeAttribute_1e7d2c409776d836: function() { return handleError(function (arg0, arg1, arg2) {
895
1171
  arg0.removeAttribute(getStringFromWasm0(arg1, arg2));
896
1172
  }, arguments); },
@@ -898,12 +1174,22 @@ function __wbg_get_imports() {
898
1174
  const ret = arg0.removeChild(arg1);
899
1175
  return ret;
900
1176
  }, arguments); },
1177
+ __wbg_removeProperty_70da952bc1b493fa: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1178
+ const ret = arg1.removeProperty(getStringFromWasm0(arg2, arg3));
1179
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1180
+ const len1 = WASM_VECTOR_LEN;
1181
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1182
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1183
+ }, arguments); },
901
1184
  __wbg_remove_ce1b54059317fe8a: function(arg0) {
902
1185
  arg0.remove();
903
1186
  },
904
1187
  __wbg_replaceSync_4449064c4c827515: function() { return handleError(function (arg0, arg1, arg2) {
905
1188
  arg0.replaceSync(getStringFromWasm0(arg1, arg2));
906
1189
  }, arguments); },
1190
+ __wbg_replaceWith_3ca6fe57f57a2bcf: function() { return handleError(function (arg0, arg1) {
1191
+ arg0.replaceWith(arg1);
1192
+ }, arguments); },
907
1193
  __wbg_requestAnimationFrame_1a85deeab66448c2: function() { return handleError(function (arg0, arg1) {
908
1194
  const ret = arg0.requestAnimationFrame(arg1);
909
1195
  return ret;
@@ -916,6 +1202,10 @@ function __wbg_get_imports() {
916
1202
  const ret = arg0.right;
917
1203
  return ret;
918
1204
  },
1205
+ __wbg_scrollHeight_8cf19eb16ebc9b9b: function(arg0) {
1206
+ const ret = arg0.scrollHeight;
1207
+ return ret;
1208
+ },
919
1209
  __wbg_scrollIntoView_5262843155744b69: function(arg0) {
920
1210
  arg0.scrollIntoView();
921
1211
  },
@@ -940,13 +1230,23 @@ function __wbg_get_imports() {
940
1230
  __wbg_setAttribute_71039043be82d098: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
941
1231
  arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
942
1232
  }, arguments); },
1233
+ __wbg_setData_19a2f9f5b313cbd6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1234
+ arg0.setData(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1235
+ }, arguments); },
943
1236
  __wbg_setProperty_e4e51b1b1d681d15: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
944
1237
  arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
945
1238
  }, arguments); },
1239
+ __wbg_setTimeout_cfa2cf195c3738db: function() { return handleError(function (arg0, arg1, arg2) {
1240
+ const ret = arg0.setTimeout(arg1, arg2);
1241
+ return ret;
1242
+ }, arguments); },
946
1243
  __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
947
1244
  const ret = Reflect.set(arg0, arg1, arg2);
948
1245
  return ret;
949
1246
  }, arguments); },
1247
+ __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
1248
+ arg0[arg1 >>> 0] = arg2;
1249
+ },
950
1250
  __wbg_set_adoptedStyleSheets_5f0e5fd87d2f8755: function(arg0, arg1) {
951
1251
  arg0.adoptedStyleSheets = arg1;
952
1252
  },
@@ -977,6 +1277,9 @@ function __wbg_get_imports() {
977
1277
  __wbg_set_disabled_cad2c12b3643aa52: function(arg0, arg1) {
978
1278
  arg0.disabled = arg1 !== 0;
979
1279
  },
1280
+ __wbg_set_id_4beae8b813c092d8: function(arg0, arg1, arg2) {
1281
+ arg0.id = getStringFromWasm0(arg1, arg2);
1282
+ },
980
1283
  __wbg_set_inline_77b0fb4f96d76814: function(arg0, arg1) {
981
1284
  arg0.inline = __wbindgen_enum_ScrollLogicalPosition[arg1];
982
1285
  },
@@ -986,6 +1289,12 @@ function __wbg_get_imports() {
986
1289
  __wbg_set_mode_17bd6a9f8e12d5a5: function(arg0, arg1) {
987
1290
  arg0.mode = __wbindgen_enum_ShadowRootMode[arg1];
988
1291
  },
1292
+ __wbg_set_once_51a9fb6b8af8a72b: function(arg0, arg1) {
1293
+ arg0.once = arg1 !== 0;
1294
+ },
1295
+ __wbg_set_prevent_scroll_82778f333ef22ca8: function(arg0, arg1) {
1296
+ arg0.preventScroll = arg1 !== 0;
1297
+ },
989
1298
  __wbg_set_scrollLeft_075e81a16fc93cca: function(arg0, arg1) {
990
1299
  arg0.scrollLeft = arg1;
991
1300
  },
@@ -1015,9 +1324,20 @@ function __wbg_get_imports() {
1015
1324
  const ret = arg0.shiftKey;
1016
1325
  return ret;
1017
1326
  },
1327
+ __wbg_shiftKey_9f797da486b2ade8: function(arg0) {
1328
+ const ret = arg0.shiftKey;
1329
+ return ret;
1330
+ },
1331
+ __wbg_showModal_a752a06ee3bb248f: function() { return handleError(function (arg0) {
1332
+ arg0.showModal();
1333
+ }, arguments); },
1018
1334
  __wbg_showPopover_946be83fc4879638: function() { return handleError(function (arg0) {
1019
1335
  arg0.showPopover();
1020
1336
  }, arguments); },
1337
+ __wbg_slice_d08ac263a5ef05e0: function(arg0, arg1, arg2) {
1338
+ const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
1339
+ return ret;
1340
+ },
1021
1341
  __wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
1022
1342
  const ret = typeof global === 'undefined' ? null : global;
1023
1343
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -1068,14 +1388,29 @@ function __wbg_get_imports() {
1068
1388
  const ret = arg0.then(arg1);
1069
1389
  return ret;
1070
1390
  },
1391
+ __wbg_then_e0960b859f3ff223: function(arg0, arg1) {
1392
+ const ret = arg0.then(arg1);
1393
+ return ret;
1394
+ },
1071
1395
  __wbg_toLocaleString_09a867f646b9e754: function(arg0, arg1, arg2) {
1072
1396
  const ret = arg0.toLocaleString(getStringFromWasm0(arg1, arg2));
1073
1397
  return ret;
1074
1398
  },
1399
+ __wbg_toggleAttribute_6b04726726e713ac: function() { return handleError(function (arg0, arg1, arg2) {
1400
+ const ret = arg0.toggleAttribute(getStringFromWasm0(arg1, arg2));
1401
+ return ret;
1402
+ }, arguments); },
1075
1403
  __wbg_top_fe120acfa924a430: function(arg0) {
1076
1404
  const ret = arg0.top;
1077
1405
  return ret;
1078
1406
  },
1407
+ __wbg_type_9d13c17ea2611dd0: function(arg0, arg1) {
1408
+ const ret = arg1.type;
1409
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1410
+ const len1 = WASM_VECTOR_LEN;
1411
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1412
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1413
+ },
1079
1414
  __wbg_type_c1987e7fbaf7340e: function(arg0, arg1) {
1080
1415
  const ret = arg1.type;
1081
1416
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1097,56 +1432,65 @@ function __wbg_get_imports() {
1097
1432
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1098
1433
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1099
1434
  },
1435
+ __wbg_values_3151680f2b3c0a44: function(arg0) {
1436
+ const ret = Object.values(arg0);
1437
+ return ret;
1438
+ },
1100
1439
  __wbg_width_219185400361db86: function(arg0) {
1101
1440
  const ret = arg0.width;
1102
1441
  return ret;
1103
1442
  },
1104
1443
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1105
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 227, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1106
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4cfd459b66780f67___JsError___true_);
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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true_);
1107
1446
  return ret;
1108
1447
  },
1109
1448
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1110
- // 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`.
1111
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true_);
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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4cfd459b66780f67___JsError___true_);
1112
1451
  return ret;
1113
1452
  },
1114
1453
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1115
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1116
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__2);
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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__2);
1117
1456
  return ret;
1118
1457
  },
1119
1458
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1120
- // 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`.
1121
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___web_sys_b5c30633085262f3___features__gen_HtmlElement__HtmlElement__alloc_42d2b33bd937efdb___string__String__core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String___core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String_______true_);
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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__3);
1122
1461
  return ret;
1123
1462
  },
1124
1463
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1125
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("HTMLElement")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1126
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__4);
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_4cfd459b66780f67___convert__closures_____invoke___web_sys_a82a67fb9e0c1518___features__gen_HtmlElement__HtmlElement__alloc_42d2b33bd937efdb___string__String__core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String___core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String_______true_);
1127
1466
  return ret;
1128
1467
  },
1129
1468
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1130
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1131
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__5);
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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__5);
1132
1471
  return ret;
1133
1472
  },
1134
1473
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
1135
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [U32], shim_idx: 213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1136
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___u32______true_);
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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__6);
1137
1476
  return ret;
1138
1477
  },
1139
1478
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
1140
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 18, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
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_4cfd459b66780f67___convert__closures_____invoke___u32______true_);
1481
+ return ret;
1482
+ },
1483
+ __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`.
1141
1485
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke_______true_);
1142
1486
  return ret;
1143
1487
  },
1144
- __wbindgen_cast_0000000000000009: function(arg0) {
1488
+ __wbindgen_cast_000000000000000a: function(arg0) {
1145
1489
  // Cast intrinsic for `F64 -> Externref`.
1146
1490
  const ret = arg0;
1147
1491
  return ret;
1148
1492
  },
1149
- __wbindgen_cast_000000000000000a: function(arg0, arg1) {
1493
+ __wbindgen_cast_000000000000000b: function(arg0, arg1) {
1150
1494
  // Cast intrinsic for `Ref(String) -> Externref`.
1151
1495
  const ret = getStringFromWasm0(arg0, arg1);
1152
1496
  return ret;
@@ -1164,9 +1508,10 @@ function __wbg_get_imports() {
1164
1508
  return {
1165
1509
  __proto__: null,
1166
1510
  "./opengrid_web_components_bg.js": import0,
1167
- "./snippets/opengrid-web-core-a3505e32fee0c1ed/inline0.js": import1,
1168
- "./snippets/opengrid-web-core-a3505e32fee0c1ed/inline0.js": import2,
1169
- "./snippets/opengrid-web-core-a3505e32fee0c1ed/inline0.js": import3,
1511
+ "./snippets/opengrid-web-components-35ed06b453a9b215/inline1.js": import1,
1512
+ "./snippets/opengrid-web-core-b41714d4e7311909/inline0.js": import2,
1513
+ "./snippets/opengrid-web-core-b41714d4e7311909/inline0.js": import3,
1514
+ "./snippets/opengrid-web-core-b41714d4e7311909/inline0.js": import4,
1170
1515
  };
1171
1516
  }
1172
1517
 
@@ -1174,20 +1519,24 @@ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke_______true
1174
1519
  wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke_______true_(arg0, arg1);
1175
1520
  }
1176
1521
 
1177
- function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true_(arg0, arg1, arg2) {
1178
- wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true_(arg0, arg1, arg2);
1522
+ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true_(arg0, arg1, arg2) {
1523
+ wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true_(arg0, arg1, arg2);
1524
+ }
1525
+
1526
+ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__2(arg0, arg1, arg2) {
1527
+ wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__2(arg0, arg1, arg2);
1179
1528
  }
1180
1529
 
1181
- function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__2(arg0, arg1, arg2) {
1182
- wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__2(arg0, arg1, arg2);
1530
+ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__3(arg0, arg1, arg2) {
1531
+ wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__3(arg0, arg1, arg2);
1183
1532
  }
1184
1533
 
1185
- function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__4(arg0, arg1, arg2) {
1186
- wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__4(arg0, arg1, arg2);
1534
+ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__5(arg0, arg1, arg2) {
1535
+ wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__5(arg0, arg1, arg2);
1187
1536
  }
1188
1537
 
1189
- function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__5(arg0, arg1, arg2) {
1190
- wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Array______true__5(arg0, arg1, arg2);
1538
+ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__6(arg0, arg1, arg2) {
1539
+ wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__6(arg0, arg1, arg2);
1191
1540
  }
1192
1541
 
1193
1542
  function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4cfd459b66780f67___JsError___true_(arg0, arg1, arg2) {
@@ -1197,14 +1546,18 @@ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bin
1197
1546
  }
1198
1547
  }
1199
1548
 
1200
- function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___web_sys_b5c30633085262f3___features__gen_HtmlElement__HtmlElement__alloc_42d2b33bd937efdb___string__String__core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String___core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String_______true_(arg0, arg1, arg2, arg3, arg4, arg5) {
1549
+ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Function_fn_wasm_bindgen_4cfd459b66780f67___JsValue_____wasm_bindgen_4cfd459b66780f67___sys__Undefined___js_sys_167d7a02263935a1___Function_fn_wasm_bindgen_4cfd459b66780f67___JsValue_____wasm_bindgen_4cfd459b66780f67___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
1550
+ wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___js_sys_167d7a02263935a1___Function_fn_wasm_bindgen_4cfd459b66780f67___JsValue_____wasm_bindgen_4cfd459b66780f67___sys__Undefined___js_sys_167d7a02263935a1___Function_fn_wasm_bindgen_4cfd459b66780f67___JsValue_____wasm_bindgen_4cfd459b66780f67___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
1551
+ }
1552
+
1553
+ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___web_sys_a82a67fb9e0c1518___features__gen_HtmlElement__HtmlElement__alloc_42d2b33bd937efdb___string__String__core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String___core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String_______true_(arg0, arg1, arg2, arg3, arg4, arg5) {
1201
1554
  const ptr0 = passStringToWasm0(arg3, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1202
1555
  const len0 = WASM_VECTOR_LEN;
1203
1556
  var ptr1 = isLikeNone(arg4) ? 0 : passStringToWasm0(arg4, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1204
1557
  var len1 = WASM_VECTOR_LEN;
1205
1558
  var ptr2 = isLikeNone(arg5) ? 0 : passStringToWasm0(arg5, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1206
1559
  var len2 = WASM_VECTOR_LEN;
1207
- wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___web_sys_b5c30633085262f3___features__gen_HtmlElement__HtmlElement__alloc_42d2b33bd937efdb___string__String__core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String___core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String_______true_(arg0, arg1, arg2, ptr0, len0, ptr1, len1, ptr2, len2);
1560
+ wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___web_sys_a82a67fb9e0c1518___features__gen_HtmlElement__HtmlElement__alloc_42d2b33bd937efdb___string__String__core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String___core_37ee0ce0c4cd57d5___option__Option_alloc_42d2b33bd937efdb___string__String_______true_(arg0, arg1, arg2, ptr0, len0, ptr1, len1, ptr2, len2);
1208
1561
  }
1209
1562
 
1210
1563
  function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___u32______true_(arg0, arg1, arg2) {
@@ -1292,6 +1645,27 @@ function debugString(val) {
1292
1645
  return className;
1293
1646
  }
1294
1647
 
1648
+ function getArrayF64FromWasm0(ptr, len) {
1649
+ ptr = ptr >>> 0;
1650
+ return getFloat64ArrayMemory0().subarray(ptr / 8, ptr / 8 + len);
1651
+ }
1652
+
1653
+ function getArrayJsValueFromWasm0(ptr, len) {
1654
+ ptr = ptr >>> 0;
1655
+ const mem = getDataViewMemory0();
1656
+ const result = [];
1657
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
1658
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
1659
+ }
1660
+ wasm.__externref_drop_slice(ptr, len);
1661
+ return result;
1662
+ }
1663
+
1664
+ function getArrayU32FromWasm0(ptr, len) {
1665
+ ptr = ptr >>> 0;
1666
+ return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
1667
+ }
1668
+
1295
1669
  function getArrayU8FromWasm0(ptr, len) {
1296
1670
  ptr = ptr >>> 0;
1297
1671
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
@@ -1305,10 +1679,26 @@ function getDataViewMemory0() {
1305
1679
  return cachedDataViewMemory0;
1306
1680
  }
1307
1681
 
1682
+ let cachedFloat64ArrayMemory0 = null;
1683
+ function getFloat64ArrayMemory0() {
1684
+ if (cachedFloat64ArrayMemory0 === null || cachedFloat64ArrayMemory0.byteLength === 0) {
1685
+ cachedFloat64ArrayMemory0 = new Float64Array(wasm.memory.buffer);
1686
+ }
1687
+ return cachedFloat64ArrayMemory0;
1688
+ }
1689
+
1308
1690
  function getStringFromWasm0(ptr, len) {
1309
1691
  return decodeText(ptr >>> 0, len);
1310
1692
  }
1311
1693
 
1694
+ let cachedUint32ArrayMemory0 = null;
1695
+ function getUint32ArrayMemory0() {
1696
+ if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
1697
+ cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
1698
+ }
1699
+ return cachedUint32ArrayMemory0;
1700
+ }
1701
+
1312
1702
  let cachedUint8ArrayMemory0 = null;
1313
1703
  function getUint8ArrayMemory0() {
1314
1704
  if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
@@ -1436,6 +1826,8 @@ function __wbg_finalize_init(instance, module) {
1436
1826
  wasm = instance.exports;
1437
1827
  wasmModule = module;
1438
1828
  cachedDataViewMemory0 = null;
1829
+ cachedFloat64ArrayMemory0 = null;
1830
+ cachedUint32ArrayMemory0 = null;
1439
1831
  cachedUint8ArrayMemory0 = null;
1440
1832
  wasm.__wbindgen_start();
1441
1833
  return wasm;