@devup-ui/wasm 1.0.35 → 1.0.37
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/package.json +1 -1
- package/pkg/index.js +41 -37
- package/pkg/index_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/index.js
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
let imports = {};
|
|
3
3
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
4
4
|
let wasm;
|
|
5
|
-
const {
|
|
6
|
-
|
|
7
|
-
let WASM_VECTOR_LEN = 0;
|
|
5
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
8
6
|
|
|
9
7
|
let cachedUint8ArrayMemory0 = null;
|
|
10
8
|
|
|
@@ -15,7 +13,22 @@ function getUint8ArrayMemory0() {
|
|
|
15
13
|
return cachedUint8ArrayMemory0;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
|
-
let
|
|
16
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
17
|
+
|
|
18
|
+
cachedTextDecoder.decode();
|
|
19
|
+
|
|
20
|
+
function decodeText(ptr, len) {
|
|
21
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function getStringFromWasm0(ptr, len) {
|
|
25
|
+
ptr = ptr >>> 0;
|
|
26
|
+
return decodeText(ptr, len);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
let WASM_VECTOR_LEN = 0;
|
|
30
|
+
|
|
31
|
+
const cachedTextEncoder = new TextEncoder('utf-8');
|
|
19
32
|
|
|
20
33
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
21
34
|
? function (arg, view) {
|
|
@@ -161,15 +174,6 @@ function debugString(val) {
|
|
|
161
174
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
162
175
|
return className;
|
|
163
176
|
}
|
|
164
|
-
|
|
165
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
166
|
-
|
|
167
|
-
cachedTextDecoder.decode();
|
|
168
|
-
|
|
169
|
-
function getStringFromWasm0(ptr, len) {
|
|
170
|
-
ptr = ptr >>> 0;
|
|
171
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
172
|
-
}
|
|
173
177
|
/**
|
|
174
178
|
* @param {boolean} debug
|
|
175
179
|
*/
|
|
@@ -478,6 +482,11 @@ class Output {
|
|
|
478
482
|
}
|
|
479
483
|
module.exports.Output = Output;
|
|
480
484
|
|
|
485
|
+
module.exports.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
|
|
486
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
487
|
+
return ret;
|
|
488
|
+
};
|
|
489
|
+
|
|
481
490
|
module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
482
491
|
const ret = String(arg1);
|
|
483
492
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -486,32 +495,32 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
|
486
495
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
487
496
|
};
|
|
488
497
|
|
|
489
|
-
module.exports.
|
|
498
|
+
module.exports.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
|
490
499
|
const ret = arg0.buffer;
|
|
491
500
|
return ret;
|
|
492
501
|
};
|
|
493
502
|
|
|
494
|
-
module.exports.
|
|
503
|
+
module.exports.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
|
|
495
504
|
const ret = arg0.call(arg1);
|
|
496
505
|
return ret;
|
|
497
506
|
}, arguments) };
|
|
498
507
|
|
|
499
|
-
module.exports.
|
|
508
|
+
module.exports.__wbg_done_4d01f352bade43b7 = function(arg0) {
|
|
500
509
|
const ret = arg0.done;
|
|
501
510
|
return ret;
|
|
502
511
|
};
|
|
503
512
|
|
|
504
|
-
module.exports.
|
|
513
|
+
module.exports.__wbg_entries_41651c850143b957 = function(arg0) {
|
|
505
514
|
const ret = Object.entries(arg0);
|
|
506
515
|
return ret;
|
|
507
516
|
};
|
|
508
517
|
|
|
509
|
-
module.exports.
|
|
518
|
+
module.exports.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
|
|
510
519
|
const ret = Reflect.get(arg0, arg1);
|
|
511
520
|
return ret;
|
|
512
521
|
}, arguments) };
|
|
513
522
|
|
|
514
|
-
module.exports.
|
|
523
|
+
module.exports.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
|
|
515
524
|
const ret = arg0[arg1 >>> 0];
|
|
516
525
|
return ret;
|
|
517
526
|
};
|
|
@@ -521,7 +530,7 @@ module.exports.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
|
521
530
|
return ret;
|
|
522
531
|
};
|
|
523
532
|
|
|
524
|
-
module.exports.
|
|
533
|
+
module.exports.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
|
|
525
534
|
let result;
|
|
526
535
|
try {
|
|
527
536
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -532,7 +541,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
|
532
541
|
return ret;
|
|
533
542
|
};
|
|
534
543
|
|
|
535
|
-
module.exports.
|
|
544
|
+
module.exports.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
|
|
536
545
|
let result;
|
|
537
546
|
try {
|
|
538
547
|
result = arg0 instanceof Map;
|
|
@@ -543,7 +552,7 @@ module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
|
543
552
|
return ret;
|
|
544
553
|
};
|
|
545
554
|
|
|
546
|
-
module.exports.
|
|
555
|
+
module.exports.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
|
|
547
556
|
let result;
|
|
548
557
|
try {
|
|
549
558
|
result = arg0 instanceof Uint8Array;
|
|
@@ -554,51 +563,51 @@ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
|
554
563
|
return ret;
|
|
555
564
|
};
|
|
556
565
|
|
|
557
|
-
module.exports.
|
|
566
|
+
module.exports.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
|
|
558
567
|
const ret = Array.isArray(arg0);
|
|
559
568
|
return ret;
|
|
560
569
|
};
|
|
561
570
|
|
|
562
|
-
module.exports.
|
|
571
|
+
module.exports.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
|
|
563
572
|
const ret = Number.isSafeInteger(arg0);
|
|
564
573
|
return ret;
|
|
565
574
|
};
|
|
566
575
|
|
|
567
|
-
module.exports.
|
|
576
|
+
module.exports.__wbg_iterator_4068add5b2aef7a6 = function() {
|
|
568
577
|
const ret = Symbol.iterator;
|
|
569
578
|
return ret;
|
|
570
579
|
};
|
|
571
580
|
|
|
572
|
-
module.exports.
|
|
581
|
+
module.exports.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
|
|
573
582
|
const ret = arg0.length;
|
|
574
583
|
return ret;
|
|
575
584
|
};
|
|
576
585
|
|
|
577
|
-
module.exports.
|
|
586
|
+
module.exports.__wbg_length_f00ec12454a5d9fd = function(arg0) {
|
|
578
587
|
const ret = arg0.length;
|
|
579
588
|
return ret;
|
|
580
589
|
};
|
|
581
590
|
|
|
582
|
-
module.exports.
|
|
591
|
+
module.exports.__wbg_new_e52b3efaaa774f96 = function(arg0) {
|
|
583
592
|
const ret = new Uint8Array(arg0);
|
|
584
593
|
return ret;
|
|
585
594
|
};
|
|
586
595
|
|
|
587
|
-
module.exports.
|
|
596
|
+
module.exports.__wbg_next_8bb824d217961b5d = function(arg0) {
|
|
588
597
|
const ret = arg0.next;
|
|
589
598
|
return ret;
|
|
590
599
|
};
|
|
591
600
|
|
|
592
|
-
module.exports.
|
|
601
|
+
module.exports.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
|
|
593
602
|
const ret = arg0.next();
|
|
594
603
|
return ret;
|
|
595
604
|
}, arguments) };
|
|
596
605
|
|
|
597
|
-
module.exports.
|
|
606
|
+
module.exports.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
|
|
598
607
|
arg0.set(arg1, arg2 >>> 0);
|
|
599
608
|
};
|
|
600
609
|
|
|
601
|
-
module.exports.
|
|
610
|
+
module.exports.__wbg_value_17b896954e14f896 = function(arg0) {
|
|
602
611
|
const ret = arg0.value;
|
|
603
612
|
return ret;
|
|
604
613
|
};
|
|
@@ -639,11 +648,6 @@ module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
|
639
648
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
640
649
|
};
|
|
641
650
|
|
|
642
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
643
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
644
|
-
return ret;
|
|
645
|
-
};
|
|
646
|
-
|
|
647
651
|
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
648
652
|
const ret = arg0 in arg1;
|
|
649
653
|
return ret;
|
package/pkg/index_bg.wasm
CHANGED
|
Binary file
|