@duckdb/duckdb-wasm-shell 1.29.1-dev5.0 → 1.29.1-dev51.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/dist/img/duckdb_version_badge.svg +1 -1
- package/dist/shell.cjs +154 -154
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +154 -154
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +155 -155
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
package/dist/shell.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@duckdb/duckdb-wasm-shell",
|
|
4
|
-
version: "1.29.1-
|
|
4
|
+
version: "1.29.1-dev51.0",
|
|
5
5
|
description: "",
|
|
6
6
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
7
7
|
license: "MIT",
|
|
@@ -25,7 +25,7 @@ var package_default = {
|
|
|
25
25
|
"csv"
|
|
26
26
|
],
|
|
27
27
|
dependencies: {
|
|
28
|
-
"@duckdb/duckdb-wasm": "^1.29.1-
|
|
28
|
+
"@duckdb/duckdb-wasm": "^1.29.1-dev51.0",
|
|
29
29
|
xterm: "^5.3.0",
|
|
30
30
|
"xterm-addon-fit": "^0.8.0",
|
|
31
31
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -86,7 +86,7 @@ var PACKAGE_VERSION_PATCH = VERSION_PARTS[2];
|
|
|
86
86
|
import * as duckdb2 from "@duckdb/duckdb-wasm";
|
|
87
87
|
|
|
88
88
|
// crate/pkg/shell.js
|
|
89
|
-
import {
|
|
89
|
+
import { PACKAGE_NAME as PACKAGE_NAME2, PACKAGE_VERSION as PACKAGE_VERSION2, getPlatformFeatures } from "@duckdb/duckdb-wasm";
|
|
90
90
|
import { Terminal } from "xterm";
|
|
91
91
|
import { FitAddon } from "xterm-addon-fit";
|
|
92
92
|
import { WebLinksAddon } from "xterm-addon-web-links";
|
|
@@ -270,11 +270,37 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
270
270
|
return real;
|
|
271
271
|
}
|
|
272
272
|
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
273
|
-
const ret = wasm.
|
|
273
|
+
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfe5acbd254c0f09b(arg0, arg1, addHeapObject(arg2));
|
|
274
274
|
return ret !== 0;
|
|
275
275
|
}
|
|
276
276
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
277
|
-
wasm.
|
|
277
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3a884ad021545540(arg0, arg1, addHeapObject(arg2));
|
|
278
|
+
}
|
|
279
|
+
var cachedUint32Memory0 = null;
|
|
280
|
+
function getUint32Memory0() {
|
|
281
|
+
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
282
|
+
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
283
|
+
}
|
|
284
|
+
return cachedUint32Memory0;
|
|
285
|
+
}
|
|
286
|
+
function passArray32ToWasm0(arg, malloc) {
|
|
287
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
288
|
+
getUint32Memory0().set(arg, ptr / 4);
|
|
289
|
+
WASM_VECTOR_LEN = arg.length;
|
|
290
|
+
return ptr;
|
|
291
|
+
}
|
|
292
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
293
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
294
|
+
getUint8Memory0().set(arg, ptr / 1);
|
|
295
|
+
WASM_VECTOR_LEN = arg.length;
|
|
296
|
+
return ptr;
|
|
297
|
+
}
|
|
298
|
+
function handleError(f, args) {
|
|
299
|
+
try {
|
|
300
|
+
return f.apply(this, args);
|
|
301
|
+
} catch (e) {
|
|
302
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
303
|
+
}
|
|
278
304
|
}
|
|
279
305
|
function embed(elem, runtime, options) {
|
|
280
306
|
try {
|
|
@@ -324,34 +350,8 @@ function configureDatabase(db) {
|
|
|
324
350
|
const ret = wasm.configureDatabase(addHeapObject(db));
|
|
325
351
|
return takeObject(ret);
|
|
326
352
|
}
|
|
327
|
-
function handleError(f, args) {
|
|
328
|
-
try {
|
|
329
|
-
return f.apply(this, args);
|
|
330
|
-
} catch (e) {
|
|
331
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
var cachedUint32Memory0 = null;
|
|
335
|
-
function getUint32Memory0() {
|
|
336
|
-
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
337
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
338
|
-
}
|
|
339
|
-
return cachedUint32Memory0;
|
|
340
|
-
}
|
|
341
|
-
function passArray32ToWasm0(arg, malloc) {
|
|
342
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
343
|
-
getUint32Memory0().set(arg, ptr / 4);
|
|
344
|
-
WASM_VECTOR_LEN = arg.length;
|
|
345
|
-
return ptr;
|
|
346
|
-
}
|
|
347
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
348
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
349
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
350
|
-
WASM_VECTOR_LEN = arg.length;
|
|
351
|
-
return ptr;
|
|
352
|
-
}
|
|
353
353
|
function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
|
|
354
|
-
wasm.
|
|
354
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h0119d15922301e47(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
355
355
|
}
|
|
356
356
|
var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
|
|
357
357
|
var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
|
|
@@ -529,6 +529,12 @@ function __wbg_get_imports() {
|
|
|
529
529
|
return addHeapObject(ret);
|
|
530
530
|
}, arguments);
|
|
531
531
|
};
|
|
532
|
+
imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
|
|
533
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
534
|
+
const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
535
|
+
return addHeapObject(ret);
|
|
536
|
+
}, arguments);
|
|
537
|
+
};
|
|
532
538
|
imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
|
|
533
539
|
return handleError(function(arg0, arg1) {
|
|
534
540
|
const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
|
|
@@ -555,12 +561,6 @@ function __wbg_get_imports() {
|
|
|
555
561
|
return addHeapObject(ret);
|
|
556
562
|
}, arguments);
|
|
557
563
|
};
|
|
558
|
-
imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
|
|
559
|
-
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
560
|
-
const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
561
|
-
return addHeapObject(ret);
|
|
562
|
-
}, arguments);
|
|
563
|
-
};
|
|
564
564
|
imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
|
|
565
565
|
return handleError(function(arg0, arg1, arg2) {
|
|
566
566
|
const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
|
|
@@ -611,114 +611,73 @@ function __wbg_get_imports() {
|
|
|
611
611
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
612
612
|
getObject(arg0).fit();
|
|
613
613
|
};
|
|
614
|
-
imports.wbg.
|
|
615
|
-
const
|
|
616
|
-
|
|
617
|
-
obj.a = 0;
|
|
618
|
-
return true;
|
|
619
|
-
}
|
|
620
|
-
const ret = false;
|
|
621
|
-
return ret;
|
|
622
|
-
};
|
|
623
|
-
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
624
|
-
getObject(arg0).rows = arg1 >>> 0;
|
|
625
|
-
};
|
|
626
|
-
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
627
|
-
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
628
|
-
};
|
|
629
|
-
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
630
|
-
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
631
|
-
};
|
|
632
|
-
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
633
|
-
const ret = getObject(arg1).fontFamily;
|
|
634
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
635
|
-
const len1 = WASM_VECTOR_LEN;
|
|
636
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
637
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
638
|
-
};
|
|
639
|
-
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
640
|
-
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
614
|
+
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
615
|
+
const ret = getObject(arg0).blockStats;
|
|
616
|
+
return addHeapObject(ret);
|
|
641
617
|
};
|
|
642
|
-
imports.wbg.
|
|
643
|
-
getObject(arg0).
|
|
618
|
+
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) {
|
|
619
|
+
const ret = getObject(arg0).totalFileWrites;
|
|
620
|
+
return addHeapObject(ret);
|
|
644
621
|
};
|
|
645
|
-
imports.wbg.
|
|
646
|
-
getObject(arg0).
|
|
622
|
+
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) {
|
|
623
|
+
const ret = getObject(arg0).totalFileReadsAhead;
|
|
624
|
+
return addHeapObject(ret);
|
|
647
625
|
};
|
|
648
|
-
imports.wbg.
|
|
649
|
-
getObject(arg0).
|
|
626
|
+
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) {
|
|
627
|
+
const ret = getObject(arg0).totalFileReadsCold;
|
|
628
|
+
return addHeapObject(ret);
|
|
650
629
|
};
|
|
651
|
-
imports.wbg.
|
|
652
|
-
getObject(arg0).
|
|
630
|
+
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) {
|
|
631
|
+
const ret = getObject(arg0).totalFileReadsCached;
|
|
632
|
+
return addHeapObject(ret);
|
|
653
633
|
};
|
|
654
|
-
imports.wbg.
|
|
655
|
-
getObject(arg0).
|
|
634
|
+
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) {
|
|
635
|
+
const ret = getObject(arg0).totalPageAccesses;
|
|
636
|
+
return addHeapObject(ret);
|
|
656
637
|
};
|
|
657
|
-
imports.wbg.
|
|
658
|
-
getObject(arg0).
|
|
638
|
+
imports.wbg.__wbg_totalPageLoads_1ce10deb8828d935 = function(arg0) {
|
|
639
|
+
const ret = getObject(arg0).totalPageLoads;
|
|
640
|
+
return addHeapObject(ret);
|
|
659
641
|
};
|
|
660
|
-
imports.wbg.
|
|
661
|
-
const ret = getObject(
|
|
662
|
-
|
|
663
|
-
const len1 = WASM_VECTOR_LEN;
|
|
664
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
665
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
642
|
+
imports.wbg.__wbg_blockSize_77bc4e968a2e845a = function(arg0) {
|
|
643
|
+
const ret = getObject(arg0).blockSize;
|
|
644
|
+
return addHeapObject(ret);
|
|
666
645
|
};
|
|
667
|
-
imports.wbg.
|
|
668
|
-
|
|
646
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
647
|
+
return handleError(function(arg0, arg1) {
|
|
648
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
649
|
+
return addHeapObject(ret);
|
|
650
|
+
}, arguments);
|
|
669
651
|
};
|
|
670
|
-
imports.wbg.
|
|
671
|
-
|
|
652
|
+
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
653
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
672
654
|
};
|
|
673
|
-
imports.wbg.
|
|
674
|
-
|
|
655
|
+
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
656
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
675
657
|
};
|
|
676
|
-
imports.wbg.
|
|
677
|
-
|
|
678
|
-
return addHeapObject(ret);
|
|
658
|
+
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
659
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
679
660
|
};
|
|
680
|
-
imports.wbg.
|
|
661
|
+
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
681
662
|
let result;
|
|
682
663
|
try {
|
|
683
|
-
result = getObject(arg0) instanceof
|
|
664
|
+
result = getObject(arg0) instanceof WebLinksAddon;
|
|
684
665
|
} catch (e) {
|
|
685
666
|
result = false;
|
|
686
667
|
}
|
|
687
668
|
const ret = result;
|
|
688
669
|
return ret;
|
|
689
670
|
};
|
|
690
|
-
imports.wbg.
|
|
691
|
-
getObject(arg0).loadAddon(takeObject(arg1));
|
|
692
|
-
};
|
|
693
|
-
imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
|
|
694
|
-
const ret = new WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
695
|
-
return addHeapObject(ret);
|
|
696
|
-
};
|
|
697
|
-
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
671
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
698
672
|
let result;
|
|
699
673
|
try {
|
|
700
|
-
result = getObject(arg0) instanceof
|
|
674
|
+
result = getObject(arg0) instanceof WebglAddon;
|
|
701
675
|
} catch (e) {
|
|
702
676
|
result = false;
|
|
703
677
|
}
|
|
704
678
|
const ret = result;
|
|
705
679
|
return ret;
|
|
706
680
|
};
|
|
707
|
-
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
708
|
-
return handleError(function(arg0, arg1) {
|
|
709
|
-
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
710
|
-
return addHeapObject(ret);
|
|
711
|
-
}, arguments);
|
|
712
|
-
};
|
|
713
|
-
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
714
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
715
|
-
};
|
|
716
|
-
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
717
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
718
|
-
};
|
|
719
|
-
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
720
|
-
console.warn(getStringFromWasm0(arg0, arg1));
|
|
721
|
-
};
|
|
722
681
|
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
723
682
|
const obj = getObject(arg1);
|
|
724
683
|
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
@@ -727,13 +686,6 @@ function __wbg_get_imports() {
|
|
|
727
686
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
728
687
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
729
688
|
};
|
|
730
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
731
|
-
const ret = PACKAGE_NAME2;
|
|
732
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
733
|
-
const len1 = WASM_VECTOR_LEN;
|
|
734
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
735
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
736
|
-
};
|
|
737
689
|
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
738
690
|
const ret = new FitAddon();
|
|
739
691
|
return addHeapObject(ret);
|
|
@@ -745,38 +697,86 @@ function __wbg_get_imports() {
|
|
|
745
697
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
746
698
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
747
699
|
};
|
|
748
|
-
imports.wbg.
|
|
749
|
-
const ret =
|
|
750
|
-
|
|
700
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
701
|
+
const ret = PACKAGE_NAME2;
|
|
702
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
703
|
+
const len1 = WASM_VECTOR_LEN;
|
|
704
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
705
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
751
706
|
};
|
|
752
|
-
imports.wbg.
|
|
753
|
-
const
|
|
754
|
-
|
|
707
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
708
|
+
const obj = takeObject(arg0).original;
|
|
709
|
+
if (obj.cnt-- == 1) {
|
|
710
|
+
obj.a = 0;
|
|
711
|
+
return true;
|
|
712
|
+
}
|
|
713
|
+
const ret = false;
|
|
714
|
+
return ret;
|
|
755
715
|
};
|
|
756
|
-
imports.wbg.
|
|
757
|
-
|
|
758
|
-
return addHeapObject(ret);
|
|
716
|
+
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
717
|
+
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
759
718
|
};
|
|
760
|
-
imports.wbg.
|
|
761
|
-
|
|
762
|
-
return addHeapObject(ret);
|
|
719
|
+
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
720
|
+
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
763
721
|
};
|
|
764
|
-
imports.wbg.
|
|
765
|
-
|
|
766
|
-
return addHeapObject(ret);
|
|
722
|
+
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
723
|
+
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
767
724
|
};
|
|
768
|
-
imports.wbg.
|
|
769
|
-
|
|
770
|
-
return addHeapObject(ret);
|
|
725
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
|
|
726
|
+
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
|
|
771
727
|
};
|
|
772
|
-
imports.wbg.
|
|
773
|
-
|
|
728
|
+
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
|
|
729
|
+
getObject(arg0).fontSize = arg1 >>> 0;
|
|
730
|
+
};
|
|
731
|
+
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
732
|
+
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
733
|
+
};
|
|
734
|
+
imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
|
|
735
|
+
getObject(arg0).rightClickSelectsWord = arg1 !== 0;
|
|
736
|
+
};
|
|
737
|
+
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
738
|
+
getObject(arg0).rows = arg1 >>> 0;
|
|
739
|
+
};
|
|
740
|
+
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
|
|
741
|
+
getObject(arg0).theme = getObject(arg1);
|
|
742
|
+
};
|
|
743
|
+
imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
|
|
744
|
+
getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
|
|
745
|
+
};
|
|
746
|
+
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
|
|
747
|
+
getObject(arg0).background = getStringFromWasm0(arg1, arg2);
|
|
748
|
+
};
|
|
749
|
+
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
750
|
+
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
751
|
+
};
|
|
752
|
+
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
753
|
+
getObject(arg0).open(takeObject(arg1));
|
|
754
|
+
};
|
|
755
|
+
imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
|
|
756
|
+
getObject(arg0).loadAddon(takeObject(arg1));
|
|
757
|
+
};
|
|
758
|
+
imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
|
|
759
|
+
const ret = new WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
774
760
|
return addHeapObject(ret);
|
|
775
761
|
};
|
|
776
|
-
imports.wbg.
|
|
777
|
-
const ret =
|
|
762
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
763
|
+
const ret = new WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
778
764
|
return addHeapObject(ret);
|
|
779
765
|
};
|
|
766
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
767
|
+
const ret = getObject(arg1).fontFamily;
|
|
768
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
769
|
+
const len1 = WASM_VECTOR_LEN;
|
|
770
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
771
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
772
|
+
};
|
|
773
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
774
|
+
const ret = getObject(arg1).backgroundColor;
|
|
775
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
776
|
+
const len1 = WASM_VECTOR_LEN;
|
|
777
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
778
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
779
|
+
};
|
|
780
780
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
781
781
|
const ret = new Error();
|
|
782
782
|
return addHeapObject(ret);
|
|
@@ -828,10 +828,6 @@ function __wbg_get_imports() {
|
|
|
828
828
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
829
829
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
830
830
|
};
|
|
831
|
-
imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
|
|
832
|
-
const ret = getObject(arg0).now();
|
|
833
|
-
return ret;
|
|
834
|
-
};
|
|
835
831
|
imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
|
|
836
832
|
const ret = getObject(arg1).type;
|
|
837
833
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -839,6 +835,10 @@ function __wbg_get_imports() {
|
|
|
839
835
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
840
836
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
841
837
|
};
|
|
838
|
+
imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
|
|
839
|
+
const ret = getObject(arg0).now();
|
|
840
|
+
return ret;
|
|
841
|
+
};
|
|
842
842
|
imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
|
|
843
843
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
844
844
|
return addHeapObject(ret);
|
|
@@ -966,12 +966,12 @@ function __wbg_get_imports() {
|
|
|
966
966
|
const ret = wasm.memory;
|
|
967
967
|
return addHeapObject(ret);
|
|
968
968
|
};
|
|
969
|
-
imports.wbg.
|
|
970
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
969
|
+
imports.wbg.__wbindgen_closure_wrapper461 = function(arg0, arg1, arg2) {
|
|
970
|
+
const ret = makeMutClosure(arg0, arg1, 132, __wbg_adapter_22);
|
|
971
971
|
return addHeapObject(ret);
|
|
972
972
|
};
|
|
973
|
-
imports.wbg.
|
|
974
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
973
|
+
imports.wbg.__wbindgen_closure_wrapper932 = function(arg0, arg1, arg2) {
|
|
974
|
+
const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_25);
|
|
975
975
|
return addHeapObject(ret);
|
|
976
976
|
};
|
|
977
977
|
return imports;
|