@casoon/opengrid 0.15.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.
- package/CHANGELOG.md +247 -1
- package/README.md +6 -4
- package/engine/opengrid_wasm_bg.wasm +0 -0
- package/loader.d.ts +390 -18
- package/loader.js +473 -90
- package/package.json +8 -1
- package/pkg/opengrid_web_components.d.ts +73 -7
- package/pkg/opengrid_web_components.js +339 -53
- package/pkg/opengrid_web_components_bg.wasm +0 -0
- package/pkg/opengrid_web_components_bg.wasm.d.ts +15 -6
- package/react/index.d.ts +8 -2
- package/react/index.js +9 -3
- package/svelte/Opengrid.svelte +7 -1
- package/svelte/OpengridGrid.svelte +5 -1
- package/svelte/OpengridPivot.svelte +3 -3
- package/svelte/OpengridTable.svelte +1 -1
- package/svelte/index.d.ts +12 -2
- package/svelte/index.js +1 -1
- package/texts/de.d.ts +5 -0
- package/texts/de.js +245 -0
- package/vue/index.d.ts +12 -2
- package/vue/index.js +10 -6
- package/worker.js +1 -2
- package/xlsx/opengrid_xlsx.d.ts +69 -0
- package/xlsx/opengrid_xlsx.js +375 -0
- package/xlsx/opengrid_xlsx_bg.wasm +0 -0
- package/xlsx/opengrid_xlsx_bg.wasm.d.ts +16 -0
- /package/pkg/snippets/{opengrid-web-components-ef3def04de0cb619 → opengrid-web-components-35ed06b453a9b215}/inline0.js +0 -0
- /package/pkg/snippets/{opengrid-web-components-ef3def04de0cb619 → opengrid-web-components-35ed06b453a9b215}/inline1.js +0 -0
- /package/pkg/snippets/{opengrid-web-core-78fdded9b8a374ed → opengrid-web-core-b41714d4e7311909}/inline0.js +0 -0
- /package/pkg/snippets/{opengrid-web-core-78fdded9b8a374ed → opengrid-web-core-b41714d4e7311909}/inline1.js +0 -0
- /package/pkg/snippets/{opengrid-web-core-78fdded9b8a374ed → opengrid-web-core-b41714d4e7311909}/inline2.js +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* @ts-self-types="./opengrid_web_components.d.ts" */
|
|
2
|
-
import { __opengrid_numbers } from './snippets/opengrid-web-components-
|
|
3
|
-
import { __opengrid_intl_formatter, __opengrid_page_lang } from './snippets/opengrid-web-components-
|
|
4
|
-
import { __opengrid_define_element } from './snippets/opengrid-web-core-
|
|
5
|
-
import { __opengrid_apply_frame, __opengrid_remove_attribute, __opengrid_set_attribute, __opengrid_set_text } from './snippets/opengrid-web-core-
|
|
6
|
-
import * as import1 from "./snippets/opengrid-web-components-
|
|
7
|
-
import * as import2 from "./snippets/opengrid-web-core-
|
|
8
|
-
import * as import3 from "./snippets/opengrid-web-core-
|
|
9
|
-
import * as import4 from "./snippets/opengrid-web-core-
|
|
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"
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -16,13 +16,14 @@ import * as import4 from "./snippets/opengrid-web-core-78fdded9b8a374ed/inline0.
|
|
|
16
16
|
* @param {any} answer
|
|
17
17
|
* @param {any} options
|
|
18
18
|
* @param {boolean} header
|
|
19
|
+
* @param {any} headers
|
|
19
20
|
* @returns {string}
|
|
20
21
|
*/
|
|
21
|
-
export function export_csv(answer, options, header) {
|
|
22
|
+
export function export_csv(answer, options, header, headers) {
|
|
22
23
|
let deferred2_0;
|
|
23
24
|
let deferred2_1;
|
|
24
25
|
try {
|
|
25
|
-
const ret = wasm.export_csv(answer, options, header);
|
|
26
|
+
const ret = wasm.export_csv(answer, options, header, headers);
|
|
26
27
|
var ptr1 = ret[0];
|
|
27
28
|
var len1 = ret[1];
|
|
28
29
|
if (ret[3]) {
|
|
@@ -64,6 +65,19 @@ export function export_json(answer, first) {
|
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
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
|
+
|
|
67
81
|
/**
|
|
68
82
|
* The pivot as it is shown, as CSV (issue #3).
|
|
69
83
|
*
|
|
@@ -139,6 +153,57 @@ export function get_view(host) {
|
|
|
139
153
|
return ret;
|
|
140
154
|
}
|
|
141
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
|
+
|
|
142
207
|
/**
|
|
143
208
|
* Registers `<opengrid-table>` and `<opengrid-grid>`; safe to call more than
|
|
144
209
|
* once.
|
|
@@ -191,6 +256,17 @@ export function set_cell_state(host, key, column, state, message) {
|
|
|
191
256
|
wasm.set_cell_state(host, key, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
192
257
|
}
|
|
193
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
|
+
|
|
194
270
|
/**
|
|
195
271
|
* Sets the choices a column's editor offers (plan point 37).
|
|
196
272
|
*
|
|
@@ -232,6 +308,16 @@ export function set_columns(host, columns) {
|
|
|
232
308
|
wasm.set_columns(host, columns);
|
|
233
309
|
}
|
|
234
310
|
|
|
311
|
+
/**
|
|
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
|
+
|
|
235
321
|
/**
|
|
236
322
|
* Sets the per-column display formats (plan point 42).
|
|
237
323
|
*
|
|
@@ -368,34 +454,34 @@ function __wbg_get_imports() {
|
|
|
368
454
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
369
455
|
return ret;
|
|
370
456
|
},
|
|
371
|
-
|
|
457
|
+
__wbg___opengrid_apply_frame_5f2ac2be6ba3e8b2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
372
458
|
__opengrid_apply_frame(arg0, arg1, getArrayU32FromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
373
459
|
},
|
|
374
|
-
|
|
460
|
+
__wbg___opengrid_define_element_ebb46b217d03dd15: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
375
461
|
__opengrid_define_element(getStringFromWasm0(arg0, arg1), arg2, arg3, arg4, arg5);
|
|
376
462
|
},
|
|
377
|
-
|
|
463
|
+
__wbg___opengrid_intl_formatter_88843d244c885ace: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
378
464
|
const ret = __opengrid_intl_formatter(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4);
|
|
379
465
|
return ret;
|
|
380
466
|
}, arguments); },
|
|
381
|
-
|
|
467
|
+
__wbg___opengrid_numbers_c883c82cb1b54a7e: function(arg0, arg1) {
|
|
382
468
|
const ret = __opengrid_numbers(getArrayF64FromWasm0(arg0, arg1));
|
|
383
469
|
return ret;
|
|
384
470
|
},
|
|
385
|
-
|
|
471
|
+
__wbg___opengrid_page_lang_57301dc357997aac: function(arg0, arg1) {
|
|
386
472
|
const ret = __opengrid_page_lang(arg1);
|
|
387
473
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
388
474
|
const len1 = WASM_VECTOR_LEN;
|
|
389
475
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
390
476
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
391
477
|
},
|
|
392
|
-
|
|
478
|
+
__wbg___opengrid_remove_attribute_09aa827ac61b5b1a: function(arg0, arg1, arg2) {
|
|
393
479
|
__opengrid_remove_attribute(arg0, getStringFromWasm0(arg1, arg2));
|
|
394
480
|
},
|
|
395
|
-
|
|
481
|
+
__wbg___opengrid_set_attribute_b284900a44e99ab5: function(arg0, arg1, arg2, arg3, arg4) {
|
|
396
482
|
__opengrid_set_attribute(arg0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
397
483
|
},
|
|
398
|
-
|
|
484
|
+
__wbg___opengrid_set_text_588172b8708114fd: function(arg0, arg1, arg2) {
|
|
399
485
|
__opengrid_set_text(arg0, getStringFromWasm0(arg1, arg2));
|
|
400
486
|
},
|
|
401
487
|
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
@@ -454,6 +540,9 @@ function __wbg_get_imports() {
|
|
|
454
540
|
__wbg_addEventListener_109ae44e5cc4d506: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
455
541
|
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4 !== 0);
|
|
456
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); },
|
|
457
546
|
__wbg_addEventListener_d85450ee1320c989: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
458
547
|
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
459
548
|
}, arguments); },
|
|
@@ -473,10 +562,21 @@ function __wbg_get_imports() {
|
|
|
473
562
|
const ret = arg0.attachShadow(arg1);
|
|
474
563
|
return ret;
|
|
475
564
|
}, arguments); },
|
|
565
|
+
__wbg_before_d0b01e57cd8d2b88: function() { return handleError(function (arg0, arg1) {
|
|
566
|
+
arg0.before(arg1);
|
|
567
|
+
}, arguments); },
|
|
476
568
|
__wbg_bottom_e6ed49b80d965dae: function(arg0) {
|
|
477
569
|
const ret = arg0.bottom;
|
|
478
570
|
return ret;
|
|
479
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
|
+
},
|
|
480
580
|
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
481
581
|
const ret = arg0.call(arg1);
|
|
482
582
|
return ret;
|
|
@@ -493,6 +593,10 @@ function __wbg_get_imports() {
|
|
|
493
593
|
const ret = arg0.checked;
|
|
494
594
|
return ret;
|
|
495
595
|
},
|
|
596
|
+
__wbg_childElementCount_02cdc7dd82dc3bf9: function(arg0) {
|
|
597
|
+
const ret = arg0.childElementCount;
|
|
598
|
+
return ret;
|
|
599
|
+
},
|
|
496
600
|
__wbg_childElementCount_e7b55fd263a23895: function(arg0) {
|
|
497
601
|
const ret = arg0.childElementCount;
|
|
498
602
|
return ret;
|
|
@@ -505,10 +609,17 @@ function __wbg_get_imports() {
|
|
|
505
609
|
const ret = arg0.clientLeft;
|
|
506
610
|
return ret;
|
|
507
611
|
},
|
|
612
|
+
__wbg_clientWidth_6852617da948be39: function(arg0) {
|
|
613
|
+
const ret = arg0.clientWidth;
|
|
614
|
+
return ret;
|
|
615
|
+
},
|
|
508
616
|
__wbg_clipboardData_b99e24e2d915217c: function(arg0) {
|
|
509
617
|
const ret = arg0.clipboardData;
|
|
510
618
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
511
619
|
},
|
|
620
|
+
__wbg_close_b97b6a6385cfff98: function(arg0) {
|
|
621
|
+
arg0.close();
|
|
622
|
+
},
|
|
512
623
|
__wbg_closest_d889c758da4bb13b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
513
624
|
const ret = arg0.closest(getStringFromWasm0(arg1, arg2));
|
|
514
625
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -537,6 +648,10 @@ function __wbg_get_imports() {
|
|
|
537
648
|
const ret = arg0.customElements;
|
|
538
649
|
return ret;
|
|
539
650
|
},
|
|
651
|
+
__wbg_defaultPrevented_996f88f12d6fe393: function(arg0) {
|
|
652
|
+
const ret = arg0.defaultPrevented;
|
|
653
|
+
return ret;
|
|
654
|
+
},
|
|
540
655
|
__wbg_disabled_03c1f71b366d407a: function(arg0) {
|
|
541
656
|
const ret = arg0.disabled;
|
|
542
657
|
return ret;
|
|
@@ -553,6 +668,10 @@ function __wbg_get_imports() {
|
|
|
553
668
|
const ret = arg0.document;
|
|
554
669
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
555
670
|
},
|
|
671
|
+
__wbg_entries_015dc610cd81ede0: function(arg0) {
|
|
672
|
+
const ret = Object.entries(arg0);
|
|
673
|
+
return ret;
|
|
674
|
+
},
|
|
556
675
|
__wbg_firstChild_984b883406cc95b8: function(arg0) {
|
|
557
676
|
const ret = arg0.firstChild;
|
|
558
677
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -564,10 +683,17 @@ function __wbg_get_imports() {
|
|
|
564
683
|
__wbg_focus_2f77051f98540625: function() { return handleError(function (arg0) {
|
|
565
684
|
arg0.focus();
|
|
566
685
|
}, arguments); },
|
|
686
|
+
__wbg_focus_5ecef5db03850e25: function() { return handleError(function (arg0, arg1) {
|
|
687
|
+
arg0.focus(arg1);
|
|
688
|
+
}, arguments); },
|
|
567
689
|
__wbg_for_e542e480b076809a: function(arg0, arg1) {
|
|
568
690
|
const ret = Symbol.for(getStringFromWasm0(arg0, arg1));
|
|
569
691
|
return ret;
|
|
570
692
|
},
|
|
693
|
+
__wbg_from_13e323c65fc8f464: function(arg0) {
|
|
694
|
+
const ret = Array.from(arg0);
|
|
695
|
+
return ret;
|
|
696
|
+
},
|
|
571
697
|
__wbg_getAttribute_5a601ba4718b922a: function(arg0, arg1, arg2, arg3) {
|
|
572
698
|
const ret = arg1.getAttribute(getStringFromWasm0(arg2, arg3));
|
|
573
699
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -601,6 +727,10 @@ function __wbg_get_imports() {
|
|
|
601
727
|
const ret = arg0.getRootNode();
|
|
602
728
|
return ret;
|
|
603
729
|
},
|
|
730
|
+
__wbg_getSelection_5d3a5a6e5b6a1ddd: function() { return handleError(function (arg0) {
|
|
731
|
+
const ret = arg0.getSelection();
|
|
732
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
733
|
+
}, arguments); },
|
|
604
734
|
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
605
735
|
const ret = arg0[arg1 >>> 0];
|
|
606
736
|
return ret;
|
|
@@ -691,6 +821,26 @@ function __wbg_get_imports() {
|
|
|
691
821
|
const ret = result;
|
|
692
822
|
return ret;
|
|
693
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
|
+
},
|
|
694
844
|
__wbg_instanceof_HtmlElement_4493a09212d3586f: function(arg0) {
|
|
695
845
|
let result;
|
|
696
846
|
try {
|
|
@@ -731,6 +881,26 @@ function __wbg_get_imports() {
|
|
|
731
881
|
const ret = result;
|
|
732
882
|
return ret;
|
|
733
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
|
+
},
|
|
734
904
|
__wbg_instanceof_Node_d29e7ded486fd76a: function(arg0) {
|
|
735
905
|
let result;
|
|
736
906
|
try {
|
|
@@ -761,6 +931,16 @@ function __wbg_get_imports() {
|
|
|
761
931
|
const ret = result;
|
|
762
932
|
return ret;
|
|
763
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
|
+
},
|
|
764
944
|
__wbg_instanceof_ShadowRoot_8ab3038bc5e14d84: function(arg0) {
|
|
765
945
|
let result;
|
|
766
946
|
try {
|
|
@@ -866,6 +1046,10 @@ function __wbg_get_imports() {
|
|
|
866
1046
|
const ret = new ResizeObserver(arg0);
|
|
867
1047
|
return ret;
|
|
868
1048
|
}, arguments); },
|
|
1049
|
+
__wbg_new_b667d279fd5aa943: function(arg0, arg1) {
|
|
1050
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1051
|
+
return ret;
|
|
1052
|
+
},
|
|
869
1053
|
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
870
1054
|
const ret = new Uint8Array(arg0);
|
|
871
1055
|
return ret;
|
|
@@ -878,6 +1062,24 @@ function __wbg_get_imports() {
|
|
|
878
1062
|
const ret = new CSSStyleSheet();
|
|
879
1063
|
return ret;
|
|
880
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
|
+
},
|
|
881
1083
|
__wbg_new_with_event_init_dict_b7d5fa264299bcfa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
882
1084
|
const ret = new CustomEvent(getStringFromWasm0(arg0, arg1), arg2);
|
|
883
1085
|
return ret;
|
|
@@ -897,14 +1099,14 @@ function __wbg_get_imports() {
|
|
|
897
1099
|
__wbg_observe_f27242eadc2ebd47: function(arg0, arg1) {
|
|
898
1100
|
arg0.observe(arg1);
|
|
899
1101
|
},
|
|
900
|
-
__wbg_of_5f1b88183ddb5d94: function(arg0, arg1) {
|
|
901
|
-
const ret = Array.of(arg0, arg1);
|
|
902
|
-
return ret;
|
|
903
|
-
},
|
|
904
1102
|
__wbg_of_85f52f8b6491a7ca: function(arg0) {
|
|
905
1103
|
const ret = Array.of(arg0);
|
|
906
1104
|
return ret;
|
|
907
1105
|
},
|
|
1106
|
+
__wbg_of_b0cd2e09b31a9684: function(arg0, arg1, arg2) {
|
|
1107
|
+
const ret = Array.of(arg0, arg1, arg2);
|
|
1108
|
+
return ret;
|
|
1109
|
+
},
|
|
908
1110
|
__wbg_ownerDocument_5a7a5473f8709b3e: function(arg0) {
|
|
909
1111
|
const ret = arg0.ownerDocument;
|
|
910
1112
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -913,6 +1115,10 @@ function __wbg_get_imports() {
|
|
|
913
1115
|
const ret = arg0.parentElement;
|
|
914
1116
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
915
1117
|
},
|
|
1118
|
+
__wbg_parentNode_fecbbdea2a930547: function(arg0) {
|
|
1119
|
+
const ret = arg0.parentNode;
|
|
1120
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1121
|
+
},
|
|
916
1122
|
__wbg_parse_1c0d8a8656d7e016: function() { return handleError(function (arg0, arg1) {
|
|
917
1123
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
918
1124
|
return ret;
|
|
@@ -954,6 +1160,13 @@ function __wbg_get_imports() {
|
|
|
954
1160
|
const ret = Promise.reject(arg0);
|
|
955
1161
|
return ret;
|
|
956
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); },
|
|
957
1170
|
__wbg_removeAttribute_1e7d2c409776d836: function() { return handleError(function (arg0, arg1, arg2) {
|
|
958
1171
|
arg0.removeAttribute(getStringFromWasm0(arg1, arg2));
|
|
959
1172
|
}, arguments); },
|
|
@@ -961,12 +1174,22 @@ function __wbg_get_imports() {
|
|
|
961
1174
|
const ret = arg0.removeChild(arg1);
|
|
962
1175
|
return ret;
|
|
963
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); },
|
|
964
1184
|
__wbg_remove_ce1b54059317fe8a: function(arg0) {
|
|
965
1185
|
arg0.remove();
|
|
966
1186
|
},
|
|
967
1187
|
__wbg_replaceSync_4449064c4c827515: function() { return handleError(function (arg0, arg1, arg2) {
|
|
968
1188
|
arg0.replaceSync(getStringFromWasm0(arg1, arg2));
|
|
969
1189
|
}, arguments); },
|
|
1190
|
+
__wbg_replaceWith_3ca6fe57f57a2bcf: function() { return handleError(function (arg0, arg1) {
|
|
1191
|
+
arg0.replaceWith(arg1);
|
|
1192
|
+
}, arguments); },
|
|
970
1193
|
__wbg_requestAnimationFrame_1a85deeab66448c2: function() { return handleError(function (arg0, arg1) {
|
|
971
1194
|
const ret = arg0.requestAnimationFrame(arg1);
|
|
972
1195
|
return ret;
|
|
@@ -1007,9 +1230,16 @@ function __wbg_get_imports() {
|
|
|
1007
1230
|
__wbg_setAttribute_71039043be82d098: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1008
1231
|
arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1009
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); },
|
|
1010
1236
|
__wbg_setProperty_e4e51b1b1d681d15: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1011
1237
|
arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1012
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); },
|
|
1013
1243
|
__wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1014
1244
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1015
1245
|
return ret;
|
|
@@ -1059,6 +1289,12 @@ function __wbg_get_imports() {
|
|
|
1059
1289
|
__wbg_set_mode_17bd6a9f8e12d5a5: function(arg0, arg1) {
|
|
1060
1290
|
arg0.mode = __wbindgen_enum_ShadowRootMode[arg1];
|
|
1061
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
|
+
},
|
|
1062
1298
|
__wbg_set_scrollLeft_075e81a16fc93cca: function(arg0, arg1) {
|
|
1063
1299
|
arg0.scrollLeft = arg1;
|
|
1064
1300
|
},
|
|
@@ -1088,9 +1324,20 @@ function __wbg_get_imports() {
|
|
|
1088
1324
|
const ret = arg0.shiftKey;
|
|
1089
1325
|
return ret;
|
|
1090
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); },
|
|
1091
1334
|
__wbg_showPopover_946be83fc4879638: function() { return handleError(function (arg0) {
|
|
1092
1335
|
arg0.showPopover();
|
|
1093
1336
|
}, arguments); },
|
|
1337
|
+
__wbg_slice_d08ac263a5ef05e0: function(arg0, arg1, arg2) {
|
|
1338
|
+
const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
|
|
1339
|
+
return ret;
|
|
1340
|
+
},
|
|
1094
1341
|
__wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
|
|
1095
1342
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1096
1343
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1141,14 +1388,29 @@ function __wbg_get_imports() {
|
|
|
1141
1388
|
const ret = arg0.then(arg1);
|
|
1142
1389
|
return ret;
|
|
1143
1390
|
},
|
|
1391
|
+
__wbg_then_e0960b859f3ff223: function(arg0, arg1) {
|
|
1392
|
+
const ret = arg0.then(arg1);
|
|
1393
|
+
return ret;
|
|
1394
|
+
},
|
|
1144
1395
|
__wbg_toLocaleString_09a867f646b9e754: function(arg0, arg1, arg2) {
|
|
1145
1396
|
const ret = arg0.toLocaleString(getStringFromWasm0(arg1, arg2));
|
|
1146
1397
|
return ret;
|
|
1147
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); },
|
|
1148
1403
|
__wbg_top_fe120acfa924a430: function(arg0) {
|
|
1149
1404
|
const ret = arg0.top;
|
|
1150
1405
|
return ret;
|
|
1151
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
|
+
},
|
|
1152
1414
|
__wbg_type_c1987e7fbaf7340e: function(arg0, arg1) {
|
|
1153
1415
|
const ret = arg1.type;
|
|
1154
1416
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1179,51 +1441,56 @@ function __wbg_get_imports() {
|
|
|
1179
1441
|
return ret;
|
|
1180
1442
|
},
|
|
1181
1443
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1182
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1183
|
-
const ret = makeMutClosure(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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true_);
|
|
1184
1446
|
return ret;
|
|
1185
1447
|
},
|
|
1186
1448
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1187
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [
|
|
1188
|
-
const ret = makeMutClosure(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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4cfd459b66780f67___JsError___true_);
|
|
1189
1451
|
return ret;
|
|
1190
1452
|
},
|
|
1191
1453
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1192
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
1193
|
-
const ret = makeMutClosure(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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__2);
|
|
1194
1456
|
return ret;
|
|
1195
1457
|
},
|
|
1196
1458
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1197
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
1198
|
-
const ret = makeMutClosure(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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__3);
|
|
1199
1461
|
return ret;
|
|
1200
1462
|
},
|
|
1201
1463
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1202
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("HTMLElement")], shim_idx: 19, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1203
|
-
const ret = makeMutClosure(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_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_);
|
|
1204
1466
|
return ret;
|
|
1205
1467
|
},
|
|
1206
1468
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1207
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
1208
|
-
const ret = makeMutClosure(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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__5);
|
|
1209
1471
|
return ret;
|
|
1210
1472
|
},
|
|
1211
1473
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
1212
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [
|
|
1213
|
-
const ret = makeMutClosure(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_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue______true__6);
|
|
1214
1476
|
return ret;
|
|
1215
1477
|
},
|
|
1216
1478
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1217
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
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`.
|
|
1218
1485
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke_______true_);
|
|
1219
1486
|
return ret;
|
|
1220
1487
|
},
|
|
1221
|
-
|
|
1488
|
+
__wbindgen_cast_000000000000000a: function(arg0) {
|
|
1222
1489
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1223
1490
|
const ret = arg0;
|
|
1224
1491
|
return ret;
|
|
1225
1492
|
},
|
|
1226
|
-
|
|
1493
|
+
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
1227
1494
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1228
1495
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1229
1496
|
return ret;
|
|
@@ -1241,10 +1508,10 @@ function __wbg_get_imports() {
|
|
|
1241
1508
|
return {
|
|
1242
1509
|
__proto__: null,
|
|
1243
1510
|
"./opengrid_web_components_bg.js": import0,
|
|
1244
|
-
"./snippets/opengrid-web-components-
|
|
1245
|
-
"./snippets/opengrid-web-core-
|
|
1246
|
-
"./snippets/opengrid-web-core-
|
|
1247
|
-
"./snippets/opengrid-web-core-
|
|
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,
|
|
1248
1515
|
};
|
|
1249
1516
|
}
|
|
1250
1517
|
|
|
@@ -1252,20 +1519,24 @@ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke_______true
|
|
|
1252
1519
|
wasm.wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1253
1520
|
}
|
|
1254
1521
|
|
|
1255
|
-
function
|
|
1256
|
-
wasm.
|
|
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);
|
|
1257
1528
|
}
|
|
1258
1529
|
|
|
1259
|
-
function
|
|
1260
|
-
wasm.
|
|
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);
|
|
1261
1532
|
}
|
|
1262
1533
|
|
|
1263
|
-
function
|
|
1264
|
-
wasm.
|
|
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);
|
|
1265
1536
|
}
|
|
1266
1537
|
|
|
1267
|
-
function
|
|
1268
|
-
wasm.
|
|
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);
|
|
1269
1540
|
}
|
|
1270
1541
|
|
|
1271
1542
|
function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bindgen_4cfd459b66780f67___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_4cfd459b66780f67___JsError___true_(arg0, arg1, arg2) {
|
|
@@ -1275,14 +1546,18 @@ function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___wasm_bin
|
|
|
1275
1546
|
}
|
|
1276
1547
|
}
|
|
1277
1548
|
|
|
1278
|
-
function
|
|
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) {
|
|
1279
1554
|
const ptr0 = passStringToWasm0(arg3, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1280
1555
|
const len0 = WASM_VECTOR_LEN;
|
|
1281
1556
|
var ptr1 = isLikeNone(arg4) ? 0 : passStringToWasm0(arg4, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1282
1557
|
var len1 = WASM_VECTOR_LEN;
|
|
1283
1558
|
var ptr2 = isLikeNone(arg5) ? 0 : passStringToWasm0(arg5, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1284
1559
|
var len2 = WASM_VECTOR_LEN;
|
|
1285
|
-
wasm.
|
|
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);
|
|
1286
1561
|
}
|
|
1287
1562
|
|
|
1288
1563
|
function wasm_bindgen_4cfd459b66780f67___convert__closures_____invoke___u32______true_(arg0, arg1, arg2) {
|
|
@@ -1375,6 +1650,17 @@ function getArrayF64FromWasm0(ptr, len) {
|
|
|
1375
1650
|
return getFloat64ArrayMemory0().subarray(ptr / 8, ptr / 8 + len);
|
|
1376
1651
|
}
|
|
1377
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
|
+
|
|
1378
1664
|
function getArrayU32FromWasm0(ptr, len) {
|
|
1379
1665
|
ptr = ptr >>> 0;
|
|
1380
1666
|
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|