@devup-ui/wasm 1.0.56 → 1.0.58
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 +33 -2
- 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
|
@@ -18,7 +18,7 @@ export class Output {
|
|
|
18
18
|
readonly cssFile: string | undefined;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export function codeExtract(filename: string, code: string, _package: string, css_dir: string, single_css: boolean, import_main_css_in_code: boolean, import_main_css_in_css: boolean): Output;
|
|
21
|
+
export function codeExtract(filename: string, code: string, _package: string, css_dir: string, single_css: boolean, import_main_css_in_code: boolean, import_main_css_in_css: boolean, import_aliases: any): Output;
|
|
22
22
|
|
|
23
23
|
export function exportClassMap(): string;
|
|
24
24
|
|
package/pkg/index.js
CHANGED
|
@@ -270,9 +270,10 @@ exports.Output = Output;
|
|
|
270
270
|
* @param {boolean} single_css
|
|
271
271
|
* @param {boolean} import_main_css_in_code
|
|
272
272
|
* @param {boolean} import_main_css_in_css
|
|
273
|
+
* @param {any} import_aliases
|
|
273
274
|
* @returns {Output}
|
|
274
275
|
*/
|
|
275
|
-
function codeExtract(filename, code, _package, css_dir, single_css, import_main_css_in_code, import_main_css_in_css) {
|
|
276
|
+
function codeExtract(filename, code, _package, css_dir, single_css, import_main_css_in_code, import_main_css_in_css, import_aliases) {
|
|
276
277
|
const ptr0 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
277
278
|
const len0 = WASM_VECTOR_LEN;
|
|
278
279
|
const ptr1 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -281,7 +282,7 @@ function codeExtract(filename, code, _package, css_dir, single_css, import_main_
|
|
|
281
282
|
const len2 = WASM_VECTOR_LEN;
|
|
282
283
|
const ptr3 = passStringToWasm0(css_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
283
284
|
const len3 = WASM_VECTOR_LEN;
|
|
284
|
-
const ret = wasm.codeExtract(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, single_css, import_main_css_in_code, import_main_css_in_css);
|
|
285
|
+
const ret = wasm.codeExtract(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, single_css, import_main_css_in_code, import_main_css_in_css, import_aliases);
|
|
285
286
|
if (ret[2]) {
|
|
286
287
|
throw takeFromExternrefTable0(ret[1]);
|
|
287
288
|
}
|
|
@@ -687,6 +688,20 @@ exports.__wbg_entries_83c79938054e065f = function(arg0) {
|
|
|
687
688
|
return ret;
|
|
688
689
|
};
|
|
689
690
|
|
|
691
|
+
exports.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
692
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
693
|
+
}, arguments) };
|
|
694
|
+
|
|
695
|
+
exports.__wbg_getTime_ad1e9878a735af08 = function(arg0) {
|
|
696
|
+
const ret = arg0.getTime();
|
|
697
|
+
return ret;
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
exports.__wbg_getTimezoneOffset_45389e26d6f46823 = function(arg0) {
|
|
701
|
+
const ret = arg0.getTimezoneOffset();
|
|
702
|
+
return ret;
|
|
703
|
+
};
|
|
704
|
+
|
|
690
705
|
exports.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
|
|
691
706
|
const ret = arg0[arg1 >>> 0];
|
|
692
707
|
return ret;
|
|
@@ -760,11 +775,21 @@ exports.__wbg_length_d45040a40c570362 = function(arg0) {
|
|
|
760
775
|
return ret;
|
|
761
776
|
};
|
|
762
777
|
|
|
778
|
+
exports.__wbg_new_0_23cedd11d9b40c9d = function() {
|
|
779
|
+
const ret = new Date();
|
|
780
|
+
return ret;
|
|
781
|
+
};
|
|
782
|
+
|
|
763
783
|
exports.__wbg_new_6421f6084cc5bc5a = function(arg0) {
|
|
764
784
|
const ret = new Uint8Array(arg0);
|
|
765
785
|
return ret;
|
|
766
786
|
};
|
|
767
787
|
|
|
788
|
+
exports.__wbg_new_b2db8aa2650f793a = function(arg0) {
|
|
789
|
+
const ret = new Date(arg0);
|
|
790
|
+
return ret;
|
|
791
|
+
};
|
|
792
|
+
|
|
768
793
|
exports.__wbg_next_138a17bbf04e926c = function(arg0) {
|
|
769
794
|
const ret = arg0.next;
|
|
770
795
|
return ret;
|
|
@@ -802,6 +827,12 @@ exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
|
802
827
|
return ret;
|
|
803
828
|
};
|
|
804
829
|
|
|
830
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
831
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
832
|
+
const ret = arg0;
|
|
833
|
+
return ret;
|
|
834
|
+
};
|
|
835
|
+
|
|
805
836
|
exports.__wbindgen_init_externref_table = function() {
|
|
806
837
|
const table = wasm.__wbindgen_externrefs;
|
|
807
838
|
const offset = table.grow(4);
|
package/pkg/index_bg.wasm
CHANGED
|
Binary file
|
package/pkg/index_bg.wasm.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const __wbg_output_free: (a: number, b: number) => void;
|
|
5
|
-
export const codeExtract: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => [number, number, number];
|
|
5
|
+
export const codeExtract: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: any) => [number, number, number];
|
|
6
6
|
export const exportClassMap: () => [number, number, number, number];
|
|
7
7
|
export const exportFileMap: () => [number, number, number, number];
|
|
8
8
|
export const exportSheet: () => [number, number, number, number];
|