@devup-ui/wasm 1.0.42 → 1.0.44
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 +128 -128
- package/pkg/index_bg.wasm +0 -0
- package/pkg/index_bg.wasm.d.ts +1 -1
package/package.json
CHANGED
package/pkg/index.js
CHANGED
|
@@ -87,26 +87,6 @@ function getDataViewMemory0() {
|
|
|
87
87
|
return cachedDataViewMemory0;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
function addToExternrefTable0(obj) {
|
|
91
|
-
const idx = wasm.__externref_table_alloc();
|
|
92
|
-
wasm.__wbindgen_export_4.set(idx, obj);
|
|
93
|
-
return idx;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
function handleError(f, args) {
|
|
97
|
-
try {
|
|
98
|
-
return f.apply(this, args);
|
|
99
|
-
} catch (e) {
|
|
100
|
-
const idx = addToExternrefTable0(e);
|
|
101
|
-
wasm.__wbindgen_exn_store(idx);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
106
|
-
ptr = ptr >>> 0;
|
|
107
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
90
|
function isLikeNone(x) {
|
|
111
91
|
return x === undefined || x === null;
|
|
112
92
|
}
|
|
@@ -175,6 +155,26 @@ function debugString(val) {
|
|
|
175
155
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
176
156
|
return className;
|
|
177
157
|
}
|
|
158
|
+
|
|
159
|
+
function addToExternrefTable0(obj) {
|
|
160
|
+
const idx = wasm.__externref_table_alloc();
|
|
161
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
162
|
+
return idx;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function handleError(f, args) {
|
|
166
|
+
try {
|
|
167
|
+
return f.apply(this, args);
|
|
168
|
+
} catch (e) {
|
|
169
|
+
const idx = addToExternrefTable0(e);
|
|
170
|
+
wasm.__wbindgen_exn_store(idx);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
175
|
+
ptr = ptr >>> 0;
|
|
176
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
177
|
+
}
|
|
178
178
|
/**
|
|
179
179
|
* @param {boolean} debug
|
|
180
180
|
*/
|
|
@@ -191,7 +191,7 @@ exports.isDebug = function() {
|
|
|
191
191
|
};
|
|
192
192
|
|
|
193
193
|
function takeFromExternrefTable0(idx) {
|
|
194
|
-
const value = wasm.
|
|
194
|
+
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
195
195
|
wasm.__externref_table_dealloc(idx);
|
|
196
196
|
return value;
|
|
197
197
|
}
|
|
@@ -485,12 +485,12 @@ if (Symbol.dispose) Output.prototype[Symbol.dispose] = Output.prototype.free;
|
|
|
485
485
|
|
|
486
486
|
exports.Output = Output;
|
|
487
487
|
|
|
488
|
-
exports.
|
|
488
|
+
exports.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
|
|
489
489
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
490
490
|
return ret;
|
|
491
491
|
};
|
|
492
492
|
|
|
493
|
-
exports.
|
|
493
|
+
exports.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
|
|
494
494
|
const ret = Number(arg0);
|
|
495
495
|
return ret;
|
|
496
496
|
};
|
|
@@ -503,37 +503,119 @@ exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
|
503
503
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
504
504
|
};
|
|
505
505
|
|
|
506
|
-
exports.
|
|
506
|
+
exports.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
|
|
507
|
+
const v = arg1;
|
|
508
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
509
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
510
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
exports.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
|
|
514
|
+
const v = arg0;
|
|
515
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
516
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
|
|
520
|
+
const ret = debugString(arg1);
|
|
521
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
522
|
+
const len1 = WASM_VECTOR_LEN;
|
|
523
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
524
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
exports.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
|
|
528
|
+
const ret = arg0 in arg1;
|
|
529
|
+
return ret;
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
|
|
533
|
+
const ret = typeof(arg0) === 'bigint';
|
|
534
|
+
return ret;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
|
|
538
|
+
const ret = typeof(arg0) === 'function';
|
|
539
|
+
return ret;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
|
|
543
|
+
const val = arg0;
|
|
544
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
545
|
+
return ret;
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
|
|
549
|
+
const ret = typeof(arg0) === 'string';
|
|
550
|
+
return ret;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
|
|
554
|
+
const ret = arg0 === undefined;
|
|
555
|
+
return ret;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
|
|
559
|
+
const ret = arg0 === arg1;
|
|
560
|
+
return ret;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
exports.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
|
|
564
|
+
const ret = arg0 == arg1;
|
|
565
|
+
return ret;
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
exports.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
|
|
569
|
+
const obj = arg1;
|
|
570
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
571
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
572
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
|
|
576
|
+
const obj = arg1;
|
|
577
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
578
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
579
|
+
var len1 = WASM_VECTOR_LEN;
|
|
580
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
581
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
exports.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
|
|
585
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
|
|
507
589
|
const ret = arg0.call(arg1);
|
|
508
590
|
return ret;
|
|
509
591
|
}, arguments) };
|
|
510
592
|
|
|
511
|
-
exports.
|
|
593
|
+
exports.__wbg_done_2042aa2670fb1db1 = function(arg0) {
|
|
512
594
|
const ret = arg0.done;
|
|
513
595
|
return ret;
|
|
514
596
|
};
|
|
515
597
|
|
|
516
|
-
exports.
|
|
598
|
+
exports.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
|
|
517
599
|
const ret = Object.entries(arg0);
|
|
518
600
|
return ret;
|
|
519
601
|
};
|
|
520
602
|
|
|
521
|
-
exports.
|
|
603
|
+
exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
522
604
|
const ret = arg0[arg1 >>> 0];
|
|
523
605
|
return ret;
|
|
524
606
|
};
|
|
525
607
|
|
|
526
|
-
exports.
|
|
608
|
+
exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
527
609
|
const ret = Reflect.get(arg0, arg1);
|
|
528
610
|
return ret;
|
|
529
611
|
}, arguments) };
|
|
530
612
|
|
|
531
|
-
exports.
|
|
613
|
+
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
532
614
|
const ret = arg0[arg1];
|
|
533
615
|
return ret;
|
|
534
616
|
};
|
|
535
617
|
|
|
536
|
-
exports.
|
|
618
|
+
exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
|
|
537
619
|
let result;
|
|
538
620
|
try {
|
|
539
621
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -544,7 +626,7 @@ exports.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
|
|
|
544
626
|
return ret;
|
|
545
627
|
};
|
|
546
628
|
|
|
547
|
-
exports.
|
|
629
|
+
exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
|
|
548
630
|
let result;
|
|
549
631
|
try {
|
|
550
632
|
result = arg0 instanceof Map;
|
|
@@ -555,7 +637,7 @@ exports.__wbg_instanceof_Map_ebb01a5b6b5ffd0b = function(arg0) {
|
|
|
555
637
|
return ret;
|
|
556
638
|
};
|
|
557
639
|
|
|
558
|
-
exports.
|
|
640
|
+
exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
|
|
559
641
|
let result;
|
|
560
642
|
try {
|
|
561
643
|
result = arg0 instanceof Uint8Array;
|
|
@@ -566,137 +648,55 @@ exports.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
|
|
|
566
648
|
return ret;
|
|
567
649
|
};
|
|
568
650
|
|
|
569
|
-
exports.
|
|
651
|
+
exports.__wbg_isArray_96e0af9891d0945d = function(arg0) {
|
|
570
652
|
const ret = Array.isArray(arg0);
|
|
571
653
|
return ret;
|
|
572
654
|
};
|
|
573
655
|
|
|
574
|
-
exports.
|
|
656
|
+
exports.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
|
|
575
657
|
const ret = Number.isSafeInteger(arg0);
|
|
576
658
|
return ret;
|
|
577
659
|
};
|
|
578
660
|
|
|
579
|
-
exports.
|
|
661
|
+
exports.__wbg_iterator_e5822695327a3c39 = function() {
|
|
580
662
|
const ret = Symbol.iterator;
|
|
581
663
|
return ret;
|
|
582
664
|
};
|
|
583
665
|
|
|
584
|
-
exports.
|
|
666
|
+
exports.__wbg_length_69bca3cb64fc8748 = function(arg0) {
|
|
585
667
|
const ret = arg0.length;
|
|
586
668
|
return ret;
|
|
587
669
|
};
|
|
588
670
|
|
|
589
|
-
exports.
|
|
671
|
+
exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
590
672
|
const ret = arg0.length;
|
|
591
673
|
return ret;
|
|
592
674
|
};
|
|
593
675
|
|
|
594
|
-
exports.
|
|
676
|
+
exports.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
|
|
595
677
|
const ret = new Uint8Array(arg0);
|
|
596
678
|
return ret;
|
|
597
679
|
};
|
|
598
680
|
|
|
599
|
-
exports.
|
|
600
|
-
const ret = arg0.next;
|
|
601
|
-
return ret;
|
|
602
|
-
};
|
|
603
|
-
|
|
604
|
-
exports.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
|
|
681
|
+
exports.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
|
|
605
682
|
const ret = arg0.next();
|
|
606
683
|
return ret;
|
|
607
684
|
}, arguments) };
|
|
608
685
|
|
|
609
|
-
exports.
|
|
610
|
-
|
|
611
|
-
};
|
|
612
|
-
|
|
613
|
-
exports.__wbg_value_dd9372230531eade = function(arg0) {
|
|
614
|
-
const ret = arg0.value;
|
|
615
|
-
return ret;
|
|
616
|
-
};
|
|
617
|
-
|
|
618
|
-
exports.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) {
|
|
619
|
-
const v = arg1;
|
|
620
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
621
|
-
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
622
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
623
|
-
};
|
|
624
|
-
|
|
625
|
-
exports.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
|
|
626
|
-
const v = arg0;
|
|
627
|
-
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
628
|
-
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
629
|
-
};
|
|
630
|
-
|
|
631
|
-
exports.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
|
|
632
|
-
const ret = debugString(arg1);
|
|
633
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
634
|
-
const len1 = WASM_VECTOR_LEN;
|
|
635
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
636
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
637
|
-
};
|
|
638
|
-
|
|
639
|
-
exports.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
|
|
640
|
-
const ret = arg0 in arg1;
|
|
641
|
-
return ret;
|
|
642
|
-
};
|
|
643
|
-
|
|
644
|
-
exports.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) {
|
|
645
|
-
const ret = typeof(arg0) === 'bigint';
|
|
646
|
-
return ret;
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
exports.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
|
|
650
|
-
const ret = typeof(arg0) === 'function';
|
|
651
|
-
return ret;
|
|
652
|
-
};
|
|
653
|
-
|
|
654
|
-
exports.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
|
|
655
|
-
const val = arg0;
|
|
656
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
657
|
-
return ret;
|
|
658
|
-
};
|
|
659
|
-
|
|
660
|
-
exports.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
|
|
661
|
-
const ret = typeof(arg0) === 'string';
|
|
662
|
-
return ret;
|
|
663
|
-
};
|
|
664
|
-
|
|
665
|
-
exports.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
|
|
666
|
-
const ret = arg0 === undefined;
|
|
686
|
+
exports.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
|
|
687
|
+
const ret = arg0.next;
|
|
667
688
|
return ret;
|
|
668
689
|
};
|
|
669
690
|
|
|
670
|
-
exports.
|
|
671
|
-
|
|
672
|
-
return ret;
|
|
691
|
+
exports.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
|
|
692
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
673
693
|
};
|
|
674
694
|
|
|
675
|
-
exports.
|
|
676
|
-
const ret = arg0
|
|
695
|
+
exports.__wbg_value_692627309814bb8c = function(arg0) {
|
|
696
|
+
const ret = arg0.value;
|
|
677
697
|
return ret;
|
|
678
698
|
};
|
|
679
699
|
|
|
680
|
-
exports.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
|
|
681
|
-
const obj = arg1;
|
|
682
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
683
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
684
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
685
|
-
};
|
|
686
|
-
|
|
687
|
-
exports.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
|
|
688
|
-
const obj = arg1;
|
|
689
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
690
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
691
|
-
var len1 = WASM_VECTOR_LEN;
|
|
692
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
693
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
694
|
-
};
|
|
695
|
-
|
|
696
|
-
exports.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
697
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
698
|
-
};
|
|
699
|
-
|
|
700
700
|
exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
701
701
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
702
702
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
@@ -716,7 +716,7 @@ exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
|
716
716
|
};
|
|
717
717
|
|
|
718
718
|
exports.__wbindgen_init_externref_table = function() {
|
|
719
|
-
const table = wasm.
|
|
719
|
+
const table = wasm.__wbindgen_externrefs;
|
|
720
720
|
const offset = table.grow(4);
|
|
721
721
|
table.set(0, undefined);
|
|
722
722
|
table.set(offset + 0, undefined);
|
package/pkg/index_bg.wasm
CHANGED
|
Binary file
|
package/pkg/index_bg.wasm.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
|
24
24
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
25
25
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
26
26
|
export const __externref_table_alloc: () => number;
|
|
27
|
-
export const
|
|
27
|
+
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
28
28
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
29
29
|
export const __externref_table_dealloc: (a: number) => void;
|
|
30
30
|
export const __wbindgen_start: () => void;
|