@devup-ui/wasm 1.0.67 → 1.0.69
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.d.ts +1 -1
- package/pkg/index.js +60 -54
- package/pkg/index_bg.wasm +0 -0
- package/pkg/index_bg.wasm.d.ts +1 -1
package/package.json
CHANGED
package/pkg/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export function getDefaultTheme(): string | undefined;
|
|
|
32
32
|
|
|
33
33
|
export function getPrefix(): string | undefined;
|
|
34
34
|
|
|
35
|
-
export function getThemeInterface(package_name: string, color_interface_name: string, typography_interface_name: string, theme_interface_name: string): string;
|
|
35
|
+
export function getThemeInterface(package_name: string, color_interface_name: string, typography_interface_name: string, length_interface_name: string, shadows_interface_name: string, theme_interface_name: string): string;
|
|
36
36
|
|
|
37
37
|
export function hasDevupUI(filename: string, code: string, _package: string): boolean;
|
|
38
38
|
|
package/pkg/index.js
CHANGED
|
@@ -312,12 +312,14 @@ exports.getPrefix = getPrefix;
|
|
|
312
312
|
* @param {string} package_name
|
|
313
313
|
* @param {string} color_interface_name
|
|
314
314
|
* @param {string} typography_interface_name
|
|
315
|
+
* @param {string} length_interface_name
|
|
316
|
+
* @param {string} shadows_interface_name
|
|
315
317
|
* @param {string} theme_interface_name
|
|
316
318
|
* @returns {string}
|
|
317
319
|
*/
|
|
318
|
-
function getThemeInterface(package_name, color_interface_name, typography_interface_name, theme_interface_name) {
|
|
319
|
-
let
|
|
320
|
-
let
|
|
320
|
+
function getThemeInterface(package_name, color_interface_name, typography_interface_name, length_interface_name, shadows_interface_name, theme_interface_name) {
|
|
321
|
+
let deferred7_0;
|
|
322
|
+
let deferred7_1;
|
|
321
323
|
try {
|
|
322
324
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
323
325
|
const ptr0 = passStringToWasm0(package_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -326,17 +328,21 @@ function getThemeInterface(package_name, color_interface_name, typography_interf
|
|
|
326
328
|
const len1 = WASM_VECTOR_LEN;
|
|
327
329
|
const ptr2 = passStringToWasm0(typography_interface_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
328
330
|
const len2 = WASM_VECTOR_LEN;
|
|
329
|
-
const ptr3 = passStringToWasm0(
|
|
331
|
+
const ptr3 = passStringToWasm0(length_interface_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
330
332
|
const len3 = WASM_VECTOR_LEN;
|
|
331
|
-
|
|
333
|
+
const ptr4 = passStringToWasm0(shadows_interface_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
334
|
+
const len4 = WASM_VECTOR_LEN;
|
|
335
|
+
const ptr5 = passStringToWasm0(theme_interface_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
336
|
+
const len5 = WASM_VECTOR_LEN;
|
|
337
|
+
wasm.getThemeInterface(retptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5, len5);
|
|
332
338
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
333
339
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
334
|
-
|
|
335
|
-
|
|
340
|
+
deferred7_0 = r0;
|
|
341
|
+
deferred7_1 = r1;
|
|
336
342
|
return getStringFromWasm0(r0, r1);
|
|
337
343
|
} finally {
|
|
338
344
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
339
|
-
wasm.__wbindgen_export4(
|
|
345
|
+
wasm.__wbindgen_export4(deferred7_0, deferred7_1, 1);
|
|
340
346
|
}
|
|
341
347
|
}
|
|
342
348
|
exports.getThemeInterface = getThemeInterface;
|
|
@@ -501,11 +507,11 @@ exports.setPrefix = setPrefix;
|
|
|
501
507
|
function __wbg_get_imports() {
|
|
502
508
|
const import0 = {
|
|
503
509
|
__proto__: null,
|
|
504
|
-
|
|
510
|
+
__wbg_Error_2e59b1b37a9a34c3: function(arg0, arg1) {
|
|
505
511
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
506
512
|
return addHeapObject(ret);
|
|
507
513
|
},
|
|
508
|
-
|
|
514
|
+
__wbg_Number_e6ffdb596c888833: function(arg0) {
|
|
509
515
|
const ret = Number(getObject(arg0));
|
|
510
516
|
return ret;
|
|
511
517
|
},
|
|
@@ -516,64 +522,64 @@ function __wbg_get_imports() {
|
|
|
516
522
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
517
523
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
518
524
|
},
|
|
519
|
-
|
|
525
|
+
__wbg___wbindgen_bigint_get_as_i64_2c5082002e4826e2: function(arg0, arg1) {
|
|
520
526
|
const v = getObject(arg1);
|
|
521
527
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
522
528
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
523
529
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
524
530
|
},
|
|
525
|
-
|
|
531
|
+
__wbg___wbindgen_boolean_get_a86c216575a75c30: function(arg0) {
|
|
526
532
|
const v = getObject(arg0);
|
|
527
533
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
528
534
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
529
535
|
},
|
|
530
|
-
|
|
536
|
+
__wbg___wbindgen_debug_string_dd5d2d07ce9e6c57: function(arg0, arg1) {
|
|
531
537
|
const ret = debugString(getObject(arg1));
|
|
532
538
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
533
539
|
const len1 = WASM_VECTOR_LEN;
|
|
534
540
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
535
541
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
536
542
|
},
|
|
537
|
-
|
|
543
|
+
__wbg___wbindgen_in_4bd7a57e54337366: function(arg0, arg1) {
|
|
538
544
|
const ret = getObject(arg0) in getObject(arg1);
|
|
539
545
|
return ret;
|
|
540
546
|
},
|
|
541
|
-
|
|
547
|
+
__wbg___wbindgen_is_bigint_6c98f7e945dacdde: function(arg0) {
|
|
542
548
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
543
549
|
return ret;
|
|
544
550
|
},
|
|
545
|
-
|
|
551
|
+
__wbg___wbindgen_is_function_49868bde5eb1e745: function(arg0) {
|
|
546
552
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
547
553
|
return ret;
|
|
548
554
|
},
|
|
549
|
-
|
|
555
|
+
__wbg___wbindgen_is_object_40c5a80572e8f9d3: function(arg0) {
|
|
550
556
|
const val = getObject(arg0);
|
|
551
557
|
const ret = typeof(val) === 'object' && val !== null;
|
|
552
558
|
return ret;
|
|
553
559
|
},
|
|
554
|
-
|
|
560
|
+
__wbg___wbindgen_is_string_b29b5c5a8065ba1a: function(arg0) {
|
|
555
561
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
556
562
|
return ret;
|
|
557
563
|
},
|
|
558
|
-
|
|
564
|
+
__wbg___wbindgen_is_undefined_c0cca72b82b86f4d: function(arg0) {
|
|
559
565
|
const ret = getObject(arg0) === undefined;
|
|
560
566
|
return ret;
|
|
561
567
|
},
|
|
562
|
-
|
|
568
|
+
__wbg___wbindgen_jsval_eq_7d430e744a913d26: function(arg0, arg1) {
|
|
563
569
|
const ret = getObject(arg0) === getObject(arg1);
|
|
564
570
|
return ret;
|
|
565
571
|
},
|
|
566
|
-
|
|
572
|
+
__wbg___wbindgen_jsval_loose_eq_3a72ae764d46d944: function(arg0, arg1) {
|
|
567
573
|
const ret = getObject(arg0) == getObject(arg1);
|
|
568
574
|
return ret;
|
|
569
575
|
},
|
|
570
|
-
|
|
576
|
+
__wbg___wbindgen_number_get_7579aab02a8a620c: function(arg0, arg1) {
|
|
571
577
|
const obj = getObject(arg1);
|
|
572
578
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
573
579
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
574
580
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
575
581
|
},
|
|
576
|
-
|
|
582
|
+
__wbg___wbindgen_string_get_914df97fcfa788f2: function(arg0, arg1) {
|
|
577
583
|
const obj = getObject(arg1);
|
|
578
584
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
579
585
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -581,41 +587,41 @@ function __wbg_get_imports() {
|
|
|
581
587
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
582
588
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
583
589
|
},
|
|
584
|
-
|
|
590
|
+
__wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
|
|
585
591
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
586
592
|
},
|
|
587
|
-
|
|
593
|
+
__wbg_call_7f2987183bb62793: function() { return handleError(function (arg0, arg1) {
|
|
588
594
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
589
595
|
return addHeapObject(ret);
|
|
590
596
|
}, arguments); },
|
|
591
|
-
|
|
597
|
+
__wbg_done_547d467e97529006: function(arg0) {
|
|
592
598
|
const ret = getObject(arg0).done;
|
|
593
599
|
return ret;
|
|
594
600
|
},
|
|
595
|
-
|
|
601
|
+
__wbg_entries_616b1a459b85be0b: function(arg0) {
|
|
596
602
|
const ret = Object.entries(getObject(arg0));
|
|
597
603
|
return addHeapObject(ret);
|
|
598
604
|
},
|
|
599
605
|
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
600
606
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
601
607
|
}, arguments); },
|
|
602
|
-
|
|
608
|
+
__wbg_getTime_f6ac312467f7cf09: function(arg0) {
|
|
603
609
|
const ret = getObject(arg0).getTime();
|
|
604
610
|
return ret;
|
|
605
611
|
},
|
|
606
|
-
|
|
612
|
+
__wbg_getTimezoneOffset_ac5be603b21a5797: function(arg0) {
|
|
607
613
|
const ret = getObject(arg0).getTimezoneOffset();
|
|
608
614
|
return ret;
|
|
609
615
|
},
|
|
610
|
-
|
|
611
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
612
|
-
return addHeapObject(ret);
|
|
613
|
-
}, arguments); },
|
|
614
|
-
__wbg_get_a8ee5c45dabc1b3b: function(arg0, arg1) {
|
|
616
|
+
__wbg_get_4848e350b40afc16: function(arg0, arg1) {
|
|
615
617
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
616
618
|
return addHeapObject(ret);
|
|
617
619
|
},
|
|
618
|
-
|
|
620
|
+
__wbg_get_ed0642c4b9d31ddf: function() { return handleError(function (arg0, arg1) {
|
|
621
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
622
|
+
return addHeapObject(ret);
|
|
623
|
+
}, arguments); },
|
|
624
|
+
__wbg_get_unchecked_7d7babe32e9e6a54: function(arg0, arg1) {
|
|
619
625
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
620
626
|
return addHeapObject(ret);
|
|
621
627
|
},
|
|
@@ -623,7 +629,7 @@ function __wbg_get_imports() {
|
|
|
623
629
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
624
630
|
return addHeapObject(ret);
|
|
625
631
|
},
|
|
626
|
-
|
|
632
|
+
__wbg_instanceof_ArrayBuffer_ff7c1337a5e3b33a: function(arg0) {
|
|
627
633
|
let result;
|
|
628
634
|
try {
|
|
629
635
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -633,7 +639,7 @@ function __wbg_get_imports() {
|
|
|
633
639
|
const ret = result;
|
|
634
640
|
return ret;
|
|
635
641
|
},
|
|
636
|
-
|
|
642
|
+
__wbg_instanceof_Map_a10a2795ef4bfe97: function(arg0) {
|
|
637
643
|
let result;
|
|
638
644
|
try {
|
|
639
645
|
result = getObject(arg0) instanceof Map;
|
|
@@ -643,7 +649,7 @@ function __wbg_get_imports() {
|
|
|
643
649
|
const ret = result;
|
|
644
650
|
return ret;
|
|
645
651
|
},
|
|
646
|
-
|
|
652
|
+
__wbg_instanceof_Uint8Array_4b8da683deb25d72: function(arg0) {
|
|
647
653
|
let result;
|
|
648
654
|
try {
|
|
649
655
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -653,50 +659,50 @@ function __wbg_get_imports() {
|
|
|
653
659
|
const ret = result;
|
|
654
660
|
return ret;
|
|
655
661
|
},
|
|
656
|
-
|
|
662
|
+
__wbg_isArray_db61795ad004c139: function(arg0) {
|
|
657
663
|
const ret = Array.isArray(getObject(arg0));
|
|
658
664
|
return ret;
|
|
659
665
|
},
|
|
660
|
-
|
|
666
|
+
__wbg_isSafeInteger_ea83862ba994770c: function(arg0) {
|
|
661
667
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
662
668
|
return ret;
|
|
663
669
|
},
|
|
664
|
-
|
|
670
|
+
__wbg_iterator_de403ef31815a3e6: function() {
|
|
665
671
|
const ret = Symbol.iterator;
|
|
666
672
|
return addHeapObject(ret);
|
|
667
673
|
},
|
|
668
|
-
|
|
674
|
+
__wbg_length_0c32cb8543c8e4c8: function(arg0) {
|
|
669
675
|
const ret = getObject(arg0).length;
|
|
670
676
|
return ret;
|
|
671
677
|
},
|
|
672
|
-
|
|
678
|
+
__wbg_length_6e821edde497a532: function(arg0) {
|
|
673
679
|
const ret = getObject(arg0).length;
|
|
674
680
|
return ret;
|
|
675
681
|
},
|
|
676
|
-
|
|
682
|
+
__wbg_new_0_bfa2ef4bc447daa2: function() {
|
|
677
683
|
const ret = new Date();
|
|
678
684
|
return addHeapObject(ret);
|
|
679
685
|
},
|
|
680
|
-
|
|
686
|
+
__wbg_new_0f6d2ddfe083319b: function(arg0) {
|
|
687
|
+
const ret = new Date(getObject(arg0));
|
|
688
|
+
return addHeapObject(ret);
|
|
689
|
+
},
|
|
690
|
+
__wbg_new_a560378ea1240b14: function(arg0) {
|
|
681
691
|
const ret = new Uint8Array(getObject(arg0));
|
|
682
692
|
return addHeapObject(ret);
|
|
683
693
|
},
|
|
684
|
-
|
|
685
|
-
const ret =
|
|
694
|
+
__wbg_next_01132ed6134b8ef5: function(arg0) {
|
|
695
|
+
const ret = getObject(arg0).next;
|
|
686
696
|
return addHeapObject(ret);
|
|
687
697
|
},
|
|
688
|
-
|
|
698
|
+
__wbg_next_b3713ec761a9dbfd: function() { return handleError(function (arg0) {
|
|
689
699
|
const ret = getObject(arg0).next();
|
|
690
700
|
return addHeapObject(ret);
|
|
691
701
|
}, arguments); },
|
|
692
|
-
|
|
693
|
-
const ret = getObject(arg0).next;
|
|
694
|
-
return addHeapObject(ret);
|
|
695
|
-
},
|
|
696
|
-
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
702
|
+
__wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
|
|
697
703
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
698
704
|
},
|
|
699
|
-
|
|
705
|
+
__wbg_value_7f6052747ccf940f: function(arg0) {
|
|
700
706
|
const ret = getObject(arg0).value;
|
|
701
707
|
return addHeapObject(ret);
|
|
702
708
|
},
|
package/pkg/index_bg.wasm
CHANGED
|
Binary file
|
package/pkg/index_bg.wasm.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export const exportSheet: (a: number) => void;
|
|
|
9
9
|
export const getCss: (a: number, b: number, c: number) => void;
|
|
10
10
|
export const getDefaultTheme: (a: number) => void;
|
|
11
11
|
export const getPrefix: (a: number) => void;
|
|
12
|
-
export const getThemeInterface: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
12
|
+
export const getThemeInterface: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
|
|
13
13
|
export const hasDevupUI: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
14
14
|
export const importClassMap: (a: number, b: number) => void;
|
|
15
15
|
export const importFileMap: (a: number, b: number) => void;
|