@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
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="148" height="20" role="img" aria-label="duckdb: v1.1.3-dev5006"><title>duckdb: v1.1.3-dev5006</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="148" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="49" height="20" fill="#555"/><rect x="49" width="99" height="20" fill="#007ec6"/><rect width="148" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="255" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">duckdb</text><text x="255" y="140" transform="scale(.1)" fill="#fff" textLength="390">duckdb</text><text aria-hidden="true" x="975" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="890">v1.1.3-dev5006</text><text x="975" y="140" transform="scale(.1)" fill="#fff" textLength="890">v1.1.3-dev5006</text></g></svg>
|
package/dist/shell.cjs
CHANGED
|
@@ -43,7 +43,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
43
43
|
// package.json
|
|
44
44
|
var package_default = {
|
|
45
45
|
name: "@duckdb/duckdb-wasm-shell",
|
|
46
|
-
version: "1.29.1-
|
|
46
|
+
version: "1.29.1-dev51.0",
|
|
47
47
|
description: "",
|
|
48
48
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
49
49
|
license: "MIT",
|
|
@@ -67,7 +67,7 @@ var package_default = {
|
|
|
67
67
|
"csv"
|
|
68
68
|
],
|
|
69
69
|
dependencies: {
|
|
70
|
-
"@duckdb/duckdb-wasm": "^1.29.1-
|
|
70
|
+
"@duckdb/duckdb-wasm": "^1.29.1-dev51.0",
|
|
71
71
|
xterm: "^5.3.0",
|
|
72
72
|
"xterm-addon-fit": "^0.8.0",
|
|
73
73
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -313,11 +313,37 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
313
313
|
return real;
|
|
314
314
|
}
|
|
315
315
|
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
316
|
-
const ret = wasm.
|
|
316
|
+
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfe5acbd254c0f09b(arg0, arg1, addHeapObject(arg2));
|
|
317
317
|
return ret !== 0;
|
|
318
318
|
}
|
|
319
319
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
320
|
-
wasm.
|
|
320
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3a884ad021545540(arg0, arg1, addHeapObject(arg2));
|
|
321
|
+
}
|
|
322
|
+
var cachedUint32Memory0 = null;
|
|
323
|
+
function getUint32Memory0() {
|
|
324
|
+
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
325
|
+
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
326
|
+
}
|
|
327
|
+
return cachedUint32Memory0;
|
|
328
|
+
}
|
|
329
|
+
function passArray32ToWasm0(arg, malloc) {
|
|
330
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
331
|
+
getUint32Memory0().set(arg, ptr / 4);
|
|
332
|
+
WASM_VECTOR_LEN = arg.length;
|
|
333
|
+
return ptr;
|
|
334
|
+
}
|
|
335
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
336
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
337
|
+
getUint8Memory0().set(arg, ptr / 1);
|
|
338
|
+
WASM_VECTOR_LEN = arg.length;
|
|
339
|
+
return ptr;
|
|
340
|
+
}
|
|
341
|
+
function handleError(f, args) {
|
|
342
|
+
try {
|
|
343
|
+
return f.apply(this, args);
|
|
344
|
+
} catch (e) {
|
|
345
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
346
|
+
}
|
|
321
347
|
}
|
|
322
348
|
function embed(elem, runtime, options) {
|
|
323
349
|
try {
|
|
@@ -367,34 +393,8 @@ function configureDatabase(db) {
|
|
|
367
393
|
const ret = wasm.configureDatabase(addHeapObject(db));
|
|
368
394
|
return takeObject(ret);
|
|
369
395
|
}
|
|
370
|
-
function handleError(f, args) {
|
|
371
|
-
try {
|
|
372
|
-
return f.apply(this, args);
|
|
373
|
-
} catch (e) {
|
|
374
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
var cachedUint32Memory0 = null;
|
|
378
|
-
function getUint32Memory0() {
|
|
379
|
-
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
380
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
381
|
-
}
|
|
382
|
-
return cachedUint32Memory0;
|
|
383
|
-
}
|
|
384
|
-
function passArray32ToWasm0(arg, malloc) {
|
|
385
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
386
|
-
getUint32Memory0().set(arg, ptr / 4);
|
|
387
|
-
WASM_VECTOR_LEN = arg.length;
|
|
388
|
-
return ptr;
|
|
389
|
-
}
|
|
390
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
391
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
392
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
393
|
-
WASM_VECTOR_LEN = arg.length;
|
|
394
|
-
return ptr;
|
|
395
|
-
}
|
|
396
396
|
function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
|
|
397
|
-
wasm.
|
|
397
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h0119d15922301e47(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
398
398
|
}
|
|
399
399
|
var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
|
|
400
400
|
var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
|
|
@@ -572,6 +572,12 @@ function __wbg_get_imports() {
|
|
|
572
572
|
return addHeapObject(ret);
|
|
573
573
|
}, arguments);
|
|
574
574
|
};
|
|
575
|
+
imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
|
|
576
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
577
|
+
const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
578
|
+
return addHeapObject(ret);
|
|
579
|
+
}, arguments);
|
|
580
|
+
};
|
|
575
581
|
imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
|
|
576
582
|
return handleError(function(arg0, arg1) {
|
|
577
583
|
const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
|
|
@@ -598,12 +604,6 @@ function __wbg_get_imports() {
|
|
|
598
604
|
return addHeapObject(ret);
|
|
599
605
|
}, arguments);
|
|
600
606
|
};
|
|
601
|
-
imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
|
|
602
|
-
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
603
|
-
const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
604
|
-
return addHeapObject(ret);
|
|
605
|
-
}, arguments);
|
|
606
|
-
};
|
|
607
607
|
imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
|
|
608
608
|
return handleError(function(arg0, arg1, arg2) {
|
|
609
609
|
const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
|
|
@@ -654,114 +654,73 @@ function __wbg_get_imports() {
|
|
|
654
654
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
655
655
|
getObject(arg0).fit();
|
|
656
656
|
};
|
|
657
|
-
imports.wbg.
|
|
658
|
-
const
|
|
659
|
-
|
|
660
|
-
obj.a = 0;
|
|
661
|
-
return true;
|
|
662
|
-
}
|
|
663
|
-
const ret = false;
|
|
664
|
-
return ret;
|
|
665
|
-
};
|
|
666
|
-
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
667
|
-
getObject(arg0).rows = arg1 >>> 0;
|
|
668
|
-
};
|
|
669
|
-
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
670
|
-
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
671
|
-
};
|
|
672
|
-
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
673
|
-
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
674
|
-
};
|
|
675
|
-
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
676
|
-
const ret = getObject(arg1).fontFamily;
|
|
677
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
678
|
-
const len1 = WASM_VECTOR_LEN;
|
|
679
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
680
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
681
|
-
};
|
|
682
|
-
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
683
|
-
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
657
|
+
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
658
|
+
const ret = getObject(arg0).blockStats;
|
|
659
|
+
return addHeapObject(ret);
|
|
684
660
|
};
|
|
685
|
-
imports.wbg.
|
|
686
|
-
getObject(arg0).
|
|
661
|
+
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) {
|
|
662
|
+
const ret = getObject(arg0).totalFileWrites;
|
|
663
|
+
return addHeapObject(ret);
|
|
687
664
|
};
|
|
688
|
-
imports.wbg.
|
|
689
|
-
getObject(arg0).
|
|
665
|
+
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) {
|
|
666
|
+
const ret = getObject(arg0).totalFileReadsAhead;
|
|
667
|
+
return addHeapObject(ret);
|
|
690
668
|
};
|
|
691
|
-
imports.wbg.
|
|
692
|
-
getObject(arg0).
|
|
669
|
+
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) {
|
|
670
|
+
const ret = getObject(arg0).totalFileReadsCold;
|
|
671
|
+
return addHeapObject(ret);
|
|
693
672
|
};
|
|
694
|
-
imports.wbg.
|
|
695
|
-
getObject(arg0).
|
|
673
|
+
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) {
|
|
674
|
+
const ret = getObject(arg0).totalFileReadsCached;
|
|
675
|
+
return addHeapObject(ret);
|
|
696
676
|
};
|
|
697
|
-
imports.wbg.
|
|
698
|
-
getObject(arg0).
|
|
677
|
+
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) {
|
|
678
|
+
const ret = getObject(arg0).totalPageAccesses;
|
|
679
|
+
return addHeapObject(ret);
|
|
699
680
|
};
|
|
700
|
-
imports.wbg.
|
|
701
|
-
getObject(arg0).
|
|
681
|
+
imports.wbg.__wbg_totalPageLoads_1ce10deb8828d935 = function(arg0) {
|
|
682
|
+
const ret = getObject(arg0).totalPageLoads;
|
|
683
|
+
return addHeapObject(ret);
|
|
702
684
|
};
|
|
703
|
-
imports.wbg.
|
|
704
|
-
const ret = getObject(
|
|
705
|
-
|
|
706
|
-
const len1 = WASM_VECTOR_LEN;
|
|
707
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
708
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
685
|
+
imports.wbg.__wbg_blockSize_77bc4e968a2e845a = function(arg0) {
|
|
686
|
+
const ret = getObject(arg0).blockSize;
|
|
687
|
+
return addHeapObject(ret);
|
|
709
688
|
};
|
|
710
|
-
imports.wbg.
|
|
711
|
-
|
|
689
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
690
|
+
return handleError(function(arg0, arg1) {
|
|
691
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
692
|
+
return addHeapObject(ret);
|
|
693
|
+
}, arguments);
|
|
712
694
|
};
|
|
713
|
-
imports.wbg.
|
|
714
|
-
|
|
695
|
+
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
696
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
715
697
|
};
|
|
716
|
-
imports.wbg.
|
|
717
|
-
|
|
698
|
+
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
699
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
718
700
|
};
|
|
719
|
-
imports.wbg.
|
|
720
|
-
|
|
721
|
-
return addHeapObject(ret);
|
|
701
|
+
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
702
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
722
703
|
};
|
|
723
|
-
imports.wbg.
|
|
704
|
+
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
724
705
|
let result;
|
|
725
706
|
try {
|
|
726
|
-
result = getObject(arg0) instanceof
|
|
707
|
+
result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
|
|
727
708
|
} catch (e) {
|
|
728
709
|
result = false;
|
|
729
710
|
}
|
|
730
711
|
const ret = result;
|
|
731
712
|
return ret;
|
|
732
713
|
};
|
|
733
|
-
imports.wbg.
|
|
734
|
-
getObject(arg0).loadAddon(takeObject(arg1));
|
|
735
|
-
};
|
|
736
|
-
imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
|
|
737
|
-
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
738
|
-
return addHeapObject(ret);
|
|
739
|
-
};
|
|
740
|
-
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
714
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
741
715
|
let result;
|
|
742
716
|
try {
|
|
743
|
-
result = getObject(arg0) instanceof
|
|
717
|
+
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
744
718
|
} catch (e) {
|
|
745
719
|
result = false;
|
|
746
720
|
}
|
|
747
721
|
const ret = result;
|
|
748
722
|
return ret;
|
|
749
723
|
};
|
|
750
|
-
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
751
|
-
return handleError(function(arg0, arg1) {
|
|
752
|
-
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
753
|
-
return addHeapObject(ret);
|
|
754
|
-
}, arguments);
|
|
755
|
-
};
|
|
756
|
-
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
757
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
758
|
-
};
|
|
759
|
-
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
760
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
761
|
-
};
|
|
762
|
-
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
763
|
-
console.warn(getStringFromWasm0(arg0, arg1));
|
|
764
|
-
};
|
|
765
724
|
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
766
725
|
const obj = getObject(arg1);
|
|
767
726
|
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
@@ -770,13 +729,6 @@ function __wbg_get_imports() {
|
|
|
770
729
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
771
730
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
772
731
|
};
|
|
773
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
774
|
-
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
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
732
|
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
781
733
|
const ret = new import_xterm_addon_fit.FitAddon();
|
|
782
734
|
return addHeapObject(ret);
|
|
@@ -788,38 +740,86 @@ function __wbg_get_imports() {
|
|
|
788
740
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
789
741
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
790
742
|
};
|
|
791
|
-
imports.wbg.
|
|
792
|
-
const ret =
|
|
793
|
-
|
|
743
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
744
|
+
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
745
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
746
|
+
const len1 = WASM_VECTOR_LEN;
|
|
747
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
748
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
794
749
|
};
|
|
795
|
-
imports.wbg.
|
|
796
|
-
const
|
|
797
|
-
|
|
750
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
751
|
+
const obj = takeObject(arg0).original;
|
|
752
|
+
if (obj.cnt-- == 1) {
|
|
753
|
+
obj.a = 0;
|
|
754
|
+
return true;
|
|
755
|
+
}
|
|
756
|
+
const ret = false;
|
|
757
|
+
return ret;
|
|
798
758
|
};
|
|
799
|
-
imports.wbg.
|
|
800
|
-
|
|
801
|
-
return addHeapObject(ret);
|
|
759
|
+
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
760
|
+
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
802
761
|
};
|
|
803
|
-
imports.wbg.
|
|
804
|
-
|
|
805
|
-
return addHeapObject(ret);
|
|
762
|
+
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
763
|
+
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
806
764
|
};
|
|
807
|
-
imports.wbg.
|
|
808
|
-
|
|
809
|
-
return addHeapObject(ret);
|
|
765
|
+
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
766
|
+
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
810
767
|
};
|
|
811
|
-
imports.wbg.
|
|
812
|
-
|
|
813
|
-
return addHeapObject(ret);
|
|
768
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
|
|
769
|
+
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
|
|
814
770
|
};
|
|
815
|
-
imports.wbg.
|
|
816
|
-
|
|
771
|
+
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
|
|
772
|
+
getObject(arg0).fontSize = arg1 >>> 0;
|
|
773
|
+
};
|
|
774
|
+
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
775
|
+
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
776
|
+
};
|
|
777
|
+
imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
|
|
778
|
+
getObject(arg0).rightClickSelectsWord = arg1 !== 0;
|
|
779
|
+
};
|
|
780
|
+
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
781
|
+
getObject(arg0).rows = arg1 >>> 0;
|
|
782
|
+
};
|
|
783
|
+
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
|
|
784
|
+
getObject(arg0).theme = getObject(arg1);
|
|
785
|
+
};
|
|
786
|
+
imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
|
|
787
|
+
getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
|
|
788
|
+
};
|
|
789
|
+
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
|
|
790
|
+
getObject(arg0).background = getStringFromWasm0(arg1, arg2);
|
|
791
|
+
};
|
|
792
|
+
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
793
|
+
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
794
|
+
};
|
|
795
|
+
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
796
|
+
getObject(arg0).open(takeObject(arg1));
|
|
797
|
+
};
|
|
798
|
+
imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
|
|
799
|
+
getObject(arg0).loadAddon(takeObject(arg1));
|
|
800
|
+
};
|
|
801
|
+
imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
|
|
802
|
+
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
817
803
|
return addHeapObject(ret);
|
|
818
804
|
};
|
|
819
|
-
imports.wbg.
|
|
820
|
-
const ret =
|
|
805
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
806
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
821
807
|
return addHeapObject(ret);
|
|
822
808
|
};
|
|
809
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
810
|
+
const ret = getObject(arg1).fontFamily;
|
|
811
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
812
|
+
const len1 = WASM_VECTOR_LEN;
|
|
813
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
814
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
815
|
+
};
|
|
816
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
817
|
+
const ret = getObject(arg1).backgroundColor;
|
|
818
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
819
|
+
const len1 = WASM_VECTOR_LEN;
|
|
820
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
821
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
822
|
+
};
|
|
823
823
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
824
824
|
const ret = new Error();
|
|
825
825
|
return addHeapObject(ret);
|
|
@@ -871,10 +871,6 @@ function __wbg_get_imports() {
|
|
|
871
871
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
872
872
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
873
873
|
};
|
|
874
|
-
imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
|
|
875
|
-
const ret = getObject(arg0).now();
|
|
876
|
-
return ret;
|
|
877
|
-
};
|
|
878
874
|
imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
|
|
879
875
|
const ret = getObject(arg1).type;
|
|
880
876
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -882,6 +878,10 @@ function __wbg_get_imports() {
|
|
|
882
878
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
883
879
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
884
880
|
};
|
|
881
|
+
imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
|
|
882
|
+
const ret = getObject(arg0).now();
|
|
883
|
+
return ret;
|
|
884
|
+
};
|
|
885
885
|
imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
|
|
886
886
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
887
887
|
return addHeapObject(ret);
|
|
@@ -1009,12 +1009,12 @@ function __wbg_get_imports() {
|
|
|
1009
1009
|
const ret = wasm.memory;
|
|
1010
1010
|
return addHeapObject(ret);
|
|
1011
1011
|
};
|
|
1012
|
-
imports.wbg.
|
|
1013
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1012
|
+
imports.wbg.__wbindgen_closure_wrapper461 = function(arg0, arg1, arg2) {
|
|
1013
|
+
const ret = makeMutClosure(arg0, arg1, 132, __wbg_adapter_22);
|
|
1014
1014
|
return addHeapObject(ret);
|
|
1015
1015
|
};
|
|
1016
|
-
imports.wbg.
|
|
1017
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1016
|
+
imports.wbg.__wbindgen_closure_wrapper932 = function(arg0, arg1, arg2) {
|
|
1017
|
+
const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_25);
|
|
1018
1018
|
return addHeapObject(ret);
|
|
1019
1019
|
};
|
|
1020
1020
|
return imports;
|