@windborne/grapher 1.0.15 → 1.0.16
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/0b7f5873de77fe339ee0.wasm +0 -0
- package/744.bundle.js +1 -1
- package/744.bundle.js.map +1 -1
- package/816.bundle.js +2 -0
- package/816.bundle.js.map +1 -0
- package/bundle.js +1 -1
- package/bundle.js.map +1 -1
- package/package.json +1 -1
- package/src/components/annotations.js +45 -29
- package/src/components/graph_body.js +32 -2
- package/src/grapher.js +3 -1
- package/src/grapher.scss +16 -4
- package/src/helpers/custom_prop_types.js +5 -3
- package/src/rust/pkg/index.js +67 -33
- package/src/rust/pkg/index_bg.wasm +0 -0
- package/src/state/calculate_annotations_state.js +60 -18
- package/.idea/codeStyles/Project.xml +0 -19
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/grapher.iml +0 -12
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/0.bundle.js +0 -2
- package/0.bundle.js.map +0 -1
- package/537.bundle.js +0 -2
- package/537.bundle.js.map +0 -1
- package/599.bundle.js +0 -1
- package/831.bundle.js +0 -2
- package/831.bundle.js.map +0 -1
- package/c83ea4ee006f636782a7.wasm +0 -0
- package/src/rust/pkg/index_bg.js +0 -305
package/831.bundle.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"831.bundle.js","mappings":"8jBAEA,MAAMA,EAAO,IAAIC,MAAM,IAAIC,UAAKC,GAIhC,SAASC,EAAUC,GAAO,OAAOL,EAAKK,EAAM,CAF5CL,EAAKM,UAAKH,EAAW,MAAM,GAAM,GAIjC,IAAII,EAAkB,EAElBC,EAAuB,KAC3B,SAASC,IAIL,OAH6B,OAAzBD,GAAiCA,EAAqBE,SAAWC,EAAAA,OAAYD,SAC7EF,EAAuB,IAAII,WAAWD,EAAAA,OAAYD,SAE/CF,CACX,CAIA,IAAIK,EAAo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S3B,IA/OnD,SAAoBtF,GAChB,MAAMuG,EAAMxG,EAAUC,IAP1B,SAAoBA,GACZA,EAAM,KACVL,EAAKK,GAAOwB,EACZA,EAAYxB,EAChB,EAIIkH,CAAWlH,EAEf,CA4OImH,CAAW7B,EACf,EAEa8B,EAAmB,SAAS9B,EAAMgB,GAC3C,MAAM,IAAI3C,OAxOcxB,EAwOWmD,EAxONoB,EAwOYJ,EAvOlC7E,EAAkBI,OAAOzB,IAAkByD,SAAS1B,EAAKA,EAAMuE,MAD1E,IAA4BvE,EAAKuE,CAyOjC,EAEApG,EAAAA,kB","sources":["webpack://Grapher/./src/rust/pkg/index.js"],"sourcesContent":["import * as wasm from './index_bg.wasm';\n\nconst heap = new Array(32).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nfunction getObject(idx) { return heap[idx]; }\n\nlet WASM_VECTOR_LEN = 0;\n\nlet cachegetUint8Memory0 = null;\nfunction getUint8Memory0() {\n if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachegetUint8Memory0;\n}\n\nconst lTextEncoder = typeof TextEncoder === 'undefined' ? require('util').TextEncoder : TextEncoder;\n\nlet cachedTextEncoder = new lTextEncoder('utf-8');\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length);\n getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len);\n\n const mem = getUint8Memory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3);\n const view = getUint8Memory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachegetInt32Memory0 = null;\nfunction getInt32Memory0() {\n if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {\n cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);\n }\n return cachegetInt32Memory0;\n}\n\nlet heap_next = heap.length;\n\nfunction dropObject(idx) {\n if (idx < 36) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nconst lTextDecoder = typeof TextDecoder === 'undefined' ? require('util').TextDecoder : TextDecoder;\n\nlet cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n\ncachedTextDecoder.decode();\n\nfunction getStringFromWasm0(ptr, len) {\n return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));\n}\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nlet cachegetFloat64Memory0 = null;\nfunction getFloat64Memory0() {\n if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);\n }\n return cachegetFloat64Memory0;\n}\n\nfunction passArrayF64ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 8);\n getFloat64Memory0().set(arg, ptr / 8);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nfunction passArray8ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 1);\n getUint8Memory0().set(arg, ptr / 1);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nlet stack_pointer = 32;\n\nfunction addBorrowedObject(obj) {\n if (stack_pointer == 1) throw new Error('out of js stack');\n heap[--stack_pointer] = obj;\n return stack_pointer;\n}\n/**\n* @param {number} length\n* @param {Float64Array} data\n* @param {Uint8Array} data_null_mask\n* @param {any} params\n* @param {Uint8Array} null_mask\n* @param {Float64Array} y_values\n* @param {Float64Array} min_y_values\n* @param {Float64Array} max_y_values\n*/\nexport function selected_space_to_render_space(length, data, data_null_mask, params, null_mask, y_values, min_y_values, max_y_values) {\n try {\n var ptr0 = passArrayF64ToWasm0(data, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n var ptr1 = passArray8ToWasm0(data_null_mask, wasm.__wbindgen_malloc);\n var len1 = WASM_VECTOR_LEN;\n var ptr2 = passArray8ToWasm0(null_mask, wasm.__wbindgen_malloc);\n var len2 = WASM_VECTOR_LEN;\n var ptr3 = passArrayF64ToWasm0(y_values, wasm.__wbindgen_malloc);\n var len3 = WASM_VECTOR_LEN;\n var ptr4 = passArrayF64ToWasm0(min_y_values, wasm.__wbindgen_malloc);\n var len4 = WASM_VECTOR_LEN;\n var ptr5 = passArrayF64ToWasm0(max_y_values, wasm.__wbindgen_malloc);\n var len5 = WASM_VECTOR_LEN;\n wasm.selected_space_to_render_space(length, ptr0, len0, ptr1, len1, addBorrowedObject(params), ptr2, len2, ptr3, len3, ptr4, len4, ptr5, len5);\n } finally {\n heap[stack_pointer++] = undefined;\n null_mask.set(getUint8Memory0().subarray(ptr2 / 1, ptr2 / 1 + len2));\n wasm.__wbindgen_free(ptr2, len2 * 1);\n y_values.set(getFloat64Memory0().subarray(ptr3 / 8, ptr3 / 8 + len3));\n wasm.__wbindgen_free(ptr3, len3 * 8);\n min_y_values.set(getFloat64Memory0().subarray(ptr4 / 8, ptr4 / 8 + len4));\n wasm.__wbindgen_free(ptr4, len4 * 8);\n max_y_values.set(getFloat64Memory0().subarray(ptr5 / 8, ptr5 / 8 + len5));\n wasm.__wbindgen_free(ptr5, len5 * 8);\n }\n}\n\nlet cachegetFloat32Memory0 = null;\nfunction getFloat32Memory0() {\n if (cachegetFloat32Memory0 === null || cachegetFloat32Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat32Memory0 = new Float32Array(wasm.memory.buffer);\n }\n return cachegetFloat32Memory0;\n}\n\nfunction passArrayF32ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 4);\n getFloat32Memory0().set(arg, ptr / 4);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nlet cachegetUint32Memory0 = null;\nfunction getUint32Memory0() {\n if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);\n }\n return cachegetUint32Memory0;\n}\n\nfunction passArray32ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 4);\n getUint32Memory0().set(arg, ptr / 4);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n/**\n* @param {number} dpi_increase\n* @param {Uint8Array} null_mask\n* @param {Float64Array} y_values\n* @param {Float64Array} min_y_values\n* @param {Float64Array} max_y_values\n* @param {Float32Array} positions\n* @param {Float32Array} prev_positions\n* @param {Float32Array} vertices\n* @param {Uint32Array} indices\n* @param {boolean} dashed\n* @param {number} dash0\n* @param {number} dash1\n*/\nexport function extract_vertices(dpi_increase, null_mask, y_values, min_y_values, max_y_values, positions, prev_positions, vertices, indices, dashed, dash0, dash1) {\n try {\n var ptr0 = passArray8ToWasm0(null_mask, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n var ptr1 = passArrayF64ToWasm0(y_values, wasm.__wbindgen_malloc);\n var len1 = WASM_VECTOR_LEN;\n var ptr2 = passArrayF64ToWasm0(min_y_values, wasm.__wbindgen_malloc);\n var len2 = WASM_VECTOR_LEN;\n var ptr3 = passArrayF64ToWasm0(max_y_values, wasm.__wbindgen_malloc);\n var len3 = WASM_VECTOR_LEN;\n var ptr4 = passArrayF32ToWasm0(positions, wasm.__wbindgen_malloc);\n var len4 = WASM_VECTOR_LEN;\n var ptr5 = passArrayF32ToWasm0(prev_positions, wasm.__wbindgen_malloc);\n var len5 = WASM_VECTOR_LEN;\n var ptr6 = passArrayF32ToWasm0(vertices, wasm.__wbindgen_malloc);\n var len6 = WASM_VECTOR_LEN;\n var ptr7 = passArray32ToWasm0(indices, wasm.__wbindgen_malloc);\n var len7 = WASM_VECTOR_LEN;\n wasm.extract_vertices(dpi_increase, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5, len5, ptr6, len6, ptr7, len7, dashed, dash0, dash1);\n } finally {\n positions.set(getFloat32Memory0().subarray(ptr4 / 4, ptr4 / 4 + len4));\n wasm.__wbindgen_free(ptr4, len4 * 4);\n prev_positions.set(getFloat32Memory0().subarray(ptr5 / 4, ptr5 / 4 + len5));\n wasm.__wbindgen_free(ptr5, len5 * 4);\n vertices.set(getFloat32Memory0().subarray(ptr6 / 4, ptr6 / 4 + len6));\n wasm.__wbindgen_free(ptr6, len6 * 4);\n indices.set(getUint32Memory0().subarray(ptr7 / 4, ptr7 / 4 + len7));\n wasm.__wbindgen_free(ptr7, len7 * 4);\n }\n}\n\n/**\n* @param {Uint8Array} null_mask\n* @param {Float64Array} y_values\n* @param {Float64Array} min_y_values\n* @param {Float64Array} max_y_values\n* @param {boolean} dashed\n* @param {number} dash0\n* @param {number} dash1\n* @returns {number}\n*/\nexport function get_point_number(null_mask, y_values, min_y_values, max_y_values, dashed, dash0, dash1) {\n var ptr0 = passArray8ToWasm0(null_mask, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n var ptr1 = passArrayF64ToWasm0(y_values, wasm.__wbindgen_malloc);\n var len1 = WASM_VECTOR_LEN;\n var ptr2 = passArrayF64ToWasm0(min_y_values, wasm.__wbindgen_malloc);\n var len2 = WASM_VECTOR_LEN;\n var ptr3 = passArrayF64ToWasm0(max_y_values, wasm.__wbindgen_malloc);\n var len3 = WASM_VECTOR_LEN;\n var ret = wasm.get_point_number(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, dashed, dash0, dash1);\n return ret;\n}\n\n/**\n*/\nexport function main_js() {\n wasm.main_js();\n}\n\nexport const __wbg_minx_3675eb59ca2b1c04 = function(arg0) {\n var ret = getObject(arg0).minX;\n return ret;\n};\n\nexport const __wbg_maxx_add7a3e35c2f52a9 = function(arg0) {\n var ret = getObject(arg0).maxX;\n return ret;\n};\n\nexport const __wbg_miny_9972d9159e80fde8 = function(arg0) {\n var ret = getObject(arg0).minY;\n return ret;\n};\n\nexport const __wbg_maxy_1c5b27cf1988c667 = function(arg0) {\n var ret = getObject(arg0).maxY;\n return ret;\n};\n\nexport const __wbg_renderwidth_a0b0f18a85207529 = function(arg0) {\n var ret = getObject(arg0).renderWidth;\n return ret;\n};\n\nexport const __wbg_renderheight_36b17e8bfc037fc9 = function(arg0) {\n var ret = getObject(arg0).renderHeight;\n return ret;\n};\n\nexport const __wbg_scale_5e6438f0fcc08bc0 = function(arg0) {\n var ret = getObject(arg0).scale;\n return addHeapObject(ret);\n};\n\nexport const __wbindgen_string_get = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = typeof(obj) === 'string' ? obj : undefined;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n};\n\nexport const __wbindgen_object_drop_ref = function(arg0) {\n takeObject(arg0);\n};\n\nexport const __wbindgen_throw = function(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n};\n\nwasm.__wbindgen_start();\n\n"],"names":["heap","Array","fill","undefined","getObject","idx","push","WASM_VECTOR_LEN","cachegetUint8Memory0","getUint8Memory0","buffer","wasm","Uint8Array","cachedTextEncoder","TextEncoder","require","encodeString","encodeInto","arg","view","buf","encode","set","read","length","written","cachegetInt32Memory0","getInt32Memory0","Int32Array","heap_next","cachedTextDecoder","TextDecoder","ignoreBOM","fatal","decode","cachegetFloat64Memory0","getFloat64Memory0","Float64Array","passArrayF64ToWasm0","malloc","ptr","passArray8ToWasm0","stack_pointer","selected_space_to_render_space","data","data_null_mask","params","null_mask","y_values","min_y_values","max_y_values","ptr0","len0","ptr1","len1","ptr2","len2","ptr3","len3","ptr4","len4","ptr5","len5","obj","Error","addBorrowedObject","subarray","cachegetFloat32Memory0","getFloat32Memory0","Float32Array","passArrayF32ToWasm0","cachegetUint32Memory0","getUint32Memory0","Uint32Array","extract_vertices","dpi_increase","positions","prev_positions","vertices","indices","dashed","dash0","dash1","ptr6","len6","ptr7","passArray32ToWasm0","len7","get_point_number","main_js","__wbg_minx_3675eb59ca2b1c04","arg0","minX","__wbg_maxx_add7a3e35c2f52a9","maxX","__wbg_miny_9972d9159e80fde8","minY","__wbg_maxy_1c5b27cf1988c667","maxY","__wbg_renderwidth_a0b0f18a85207529","renderWidth","__wbg_renderheight_36b17e8bfc037fc9","renderHeight","__wbg_scale_5e6438f0fcc08bc0","addHeapObject","scale","__wbindgen_string_get","arg1","ret","x","realloc","len","mem","offset","code","charCodeAt","slice","passStringToWasm0","__wbindgen_object_drop_ref","dropObject","takeObject","__wbindgen_throw"],"sourceRoot":""}
|
|
Binary file
|
package/src/rust/pkg/index_bg.js
DELETED
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
let wasm;
|
|
2
|
-
export function __wbg_set_wasm(val) {
|
|
3
|
-
wasm = val;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
let cachedUint8ArrayMemory0 = null;
|
|
8
|
-
|
|
9
|
-
function getUint8ArrayMemory0() {
|
|
10
|
-
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
11
|
-
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
12
|
-
}
|
|
13
|
-
return cachedUint8ArrayMemory0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
17
|
-
ptr = ptr >>> 0;
|
|
18
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
let WASM_VECTOR_LEN = 0;
|
|
22
|
-
|
|
23
|
-
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
|
24
|
-
|
|
25
|
-
let cachedTextEncoder = new lTextEncoder('utf-8');
|
|
26
|
-
|
|
27
|
-
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
28
|
-
? function (arg, view) {
|
|
29
|
-
return cachedTextEncoder.encodeInto(arg, view);
|
|
30
|
-
}
|
|
31
|
-
: function (arg, view) {
|
|
32
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
33
|
-
view.set(buf);
|
|
34
|
-
return {
|
|
35
|
-
read: arg.length,
|
|
36
|
-
written: buf.length
|
|
37
|
-
};
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
41
|
-
|
|
42
|
-
if (realloc === undefined) {
|
|
43
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
44
|
-
const ptr = malloc(buf.length, 1) >>> 0;
|
|
45
|
-
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
46
|
-
WASM_VECTOR_LEN = buf.length;
|
|
47
|
-
return ptr;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
let len = arg.length;
|
|
51
|
-
let ptr = malloc(len, 1) >>> 0;
|
|
52
|
-
|
|
53
|
-
const mem = getUint8ArrayMemory0();
|
|
54
|
-
|
|
55
|
-
let offset = 0;
|
|
56
|
-
|
|
57
|
-
for (; offset < len; offset++) {
|
|
58
|
-
const code = arg.charCodeAt(offset);
|
|
59
|
-
if (code > 0x7F) break;
|
|
60
|
-
mem[ptr + offset] = code;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
if (offset !== len) {
|
|
64
|
-
if (offset !== 0) {
|
|
65
|
-
arg = arg.slice(offset);
|
|
66
|
-
}
|
|
67
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
68
|
-
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
69
|
-
const ret = encodeString(arg, view);
|
|
70
|
-
|
|
71
|
-
offset += ret.written;
|
|
72
|
-
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
WASM_VECTOR_LEN = offset;
|
|
76
|
-
return ptr;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
function isLikeNone(x) {
|
|
80
|
-
return x === undefined || x === null;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
let cachedDataViewMemory0 = null;
|
|
84
|
-
|
|
85
|
-
function getDataViewMemory0() {
|
|
86
|
-
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
87
|
-
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
88
|
-
}
|
|
89
|
-
return cachedDataViewMemory0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
93
|
-
|
|
94
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
95
|
-
|
|
96
|
-
cachedTextDecoder.decode();
|
|
97
|
-
|
|
98
|
-
function getStringFromWasm0(ptr, len) {
|
|
99
|
-
ptr = ptr >>> 0;
|
|
100
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
let cachedFloat64ArrayMemory0 = null;
|
|
104
|
-
|
|
105
|
-
function getFloat64ArrayMemory0() {
|
|
106
|
-
if (cachedFloat64ArrayMemory0 === null || cachedFloat64ArrayMemory0.byteLength === 0) {
|
|
107
|
-
cachedFloat64ArrayMemory0 = new Float64Array(wasm.memory.buffer);
|
|
108
|
-
}
|
|
109
|
-
return cachedFloat64ArrayMemory0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function passArrayF64ToWasm0(arg, malloc) {
|
|
113
|
-
const ptr = malloc(arg.length * 8, 8) >>> 0;
|
|
114
|
-
getFloat64ArrayMemory0().set(arg, ptr / 8);
|
|
115
|
-
WASM_VECTOR_LEN = arg.length;
|
|
116
|
-
return ptr;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
120
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
121
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
122
|
-
WASM_VECTOR_LEN = arg.length;
|
|
123
|
-
return ptr;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* @param {number} length
|
|
127
|
-
* @param {Float64Array} data
|
|
128
|
-
* @param {Uint8Array} data_null_mask
|
|
129
|
-
* @param {any} params
|
|
130
|
-
* @param {Uint8Array} null_mask
|
|
131
|
-
* @param {Float64Array} y_values
|
|
132
|
-
* @param {Float64Array} min_y_values
|
|
133
|
-
* @param {Float64Array} max_y_values
|
|
134
|
-
*/
|
|
135
|
-
export function selected_space_to_render_space(length, data, data_null_mask, params, null_mask, y_values, min_y_values, max_y_values) {
|
|
136
|
-
const ptr0 = passArrayF64ToWasm0(data, wasm.__wbindgen_malloc);
|
|
137
|
-
const len0 = WASM_VECTOR_LEN;
|
|
138
|
-
const ptr1 = passArray8ToWasm0(data_null_mask, wasm.__wbindgen_malloc);
|
|
139
|
-
const len1 = WASM_VECTOR_LEN;
|
|
140
|
-
var ptr2 = passArray8ToWasm0(null_mask, wasm.__wbindgen_malloc);
|
|
141
|
-
var len2 = WASM_VECTOR_LEN;
|
|
142
|
-
var ptr3 = passArrayF64ToWasm0(y_values, wasm.__wbindgen_malloc);
|
|
143
|
-
var len3 = WASM_VECTOR_LEN;
|
|
144
|
-
var ptr4 = passArrayF64ToWasm0(min_y_values, wasm.__wbindgen_malloc);
|
|
145
|
-
var len4 = WASM_VECTOR_LEN;
|
|
146
|
-
var ptr5 = passArrayF64ToWasm0(max_y_values, wasm.__wbindgen_malloc);
|
|
147
|
-
var len5 = WASM_VECTOR_LEN;
|
|
148
|
-
wasm.selected_space_to_render_space(length, ptr0, len0, ptr1, len1, params, ptr2, len2, null_mask, ptr3, len3, y_values, ptr4, len4, min_y_values, ptr5, len5, max_y_values);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
let cachedFloat32ArrayMemory0 = null;
|
|
152
|
-
|
|
153
|
-
function getFloat32ArrayMemory0() {
|
|
154
|
-
if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
|
|
155
|
-
cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
|
|
156
|
-
}
|
|
157
|
-
return cachedFloat32ArrayMemory0;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
function passArrayF32ToWasm0(arg, malloc) {
|
|
161
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
162
|
-
getFloat32ArrayMemory0().set(arg, ptr / 4);
|
|
163
|
-
WASM_VECTOR_LEN = arg.length;
|
|
164
|
-
return ptr;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
let cachedUint32ArrayMemory0 = null;
|
|
168
|
-
|
|
169
|
-
function getUint32ArrayMemory0() {
|
|
170
|
-
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
171
|
-
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
172
|
-
}
|
|
173
|
-
return cachedUint32ArrayMemory0;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
function passArray32ToWasm0(arg, malloc) {
|
|
177
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
178
|
-
getUint32ArrayMemory0().set(arg, ptr / 4);
|
|
179
|
-
WASM_VECTOR_LEN = arg.length;
|
|
180
|
-
return ptr;
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* @param {number} dpi_increase
|
|
184
|
-
* @param {Uint8Array} null_mask
|
|
185
|
-
* @param {Float64Array} y_values
|
|
186
|
-
* @param {Float64Array} min_y_values
|
|
187
|
-
* @param {Float64Array} max_y_values
|
|
188
|
-
* @param {Float32Array} positions
|
|
189
|
-
* @param {Float32Array} prev_positions
|
|
190
|
-
* @param {Float32Array} vertices
|
|
191
|
-
* @param {Uint32Array} indices
|
|
192
|
-
* @param {boolean} dashed
|
|
193
|
-
* @param {number} dash0
|
|
194
|
-
* @param {number} dash1
|
|
195
|
-
*/
|
|
196
|
-
export function extract_vertices(dpi_increase, null_mask, y_values, min_y_values, max_y_values, positions, prev_positions, vertices, indices, dashed, dash0, dash1) {
|
|
197
|
-
const ptr0 = passArray8ToWasm0(null_mask, wasm.__wbindgen_malloc);
|
|
198
|
-
const len0 = WASM_VECTOR_LEN;
|
|
199
|
-
const ptr1 = passArrayF64ToWasm0(y_values, wasm.__wbindgen_malloc);
|
|
200
|
-
const len1 = WASM_VECTOR_LEN;
|
|
201
|
-
const ptr2 = passArrayF64ToWasm0(min_y_values, wasm.__wbindgen_malloc);
|
|
202
|
-
const len2 = WASM_VECTOR_LEN;
|
|
203
|
-
const ptr3 = passArrayF64ToWasm0(max_y_values, wasm.__wbindgen_malloc);
|
|
204
|
-
const len3 = WASM_VECTOR_LEN;
|
|
205
|
-
var ptr4 = passArrayF32ToWasm0(positions, wasm.__wbindgen_malloc);
|
|
206
|
-
var len4 = WASM_VECTOR_LEN;
|
|
207
|
-
var ptr5 = passArrayF32ToWasm0(prev_positions, wasm.__wbindgen_malloc);
|
|
208
|
-
var len5 = WASM_VECTOR_LEN;
|
|
209
|
-
var ptr6 = passArrayF32ToWasm0(vertices, wasm.__wbindgen_malloc);
|
|
210
|
-
var len6 = WASM_VECTOR_LEN;
|
|
211
|
-
var ptr7 = passArray32ToWasm0(indices, wasm.__wbindgen_malloc);
|
|
212
|
-
var len7 = WASM_VECTOR_LEN;
|
|
213
|
-
wasm.extract_vertices(dpi_increase, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, positions, ptr5, len5, prev_positions, ptr6, len6, vertices, ptr7, len7, indices, dashed, dash0, dash1);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* @param {Uint8Array} null_mask
|
|
218
|
-
* @param {Float64Array} y_values
|
|
219
|
-
* @param {Float64Array} min_y_values
|
|
220
|
-
* @param {Float64Array} max_y_values
|
|
221
|
-
* @param {boolean} dashed
|
|
222
|
-
* @param {number} dash0
|
|
223
|
-
* @param {number} dash1
|
|
224
|
-
* @returns {number}
|
|
225
|
-
*/
|
|
226
|
-
export function get_point_number(null_mask, y_values, min_y_values, max_y_values, dashed, dash0, dash1) {
|
|
227
|
-
const ptr0 = passArray8ToWasm0(null_mask, wasm.__wbindgen_malloc);
|
|
228
|
-
const len0 = WASM_VECTOR_LEN;
|
|
229
|
-
const ptr1 = passArrayF64ToWasm0(y_values, wasm.__wbindgen_malloc);
|
|
230
|
-
const len1 = WASM_VECTOR_LEN;
|
|
231
|
-
const ptr2 = passArrayF64ToWasm0(min_y_values, wasm.__wbindgen_malloc);
|
|
232
|
-
const len2 = WASM_VECTOR_LEN;
|
|
233
|
-
const ptr3 = passArrayF64ToWasm0(max_y_values, wasm.__wbindgen_malloc);
|
|
234
|
-
const len3 = WASM_VECTOR_LEN;
|
|
235
|
-
const ret = wasm.get_point_number(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, dashed, dash0, dash1);
|
|
236
|
-
return ret;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
export function main_js() {
|
|
240
|
-
wasm.main_js();
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
export function __wbg_maxx_a3b1e1c3299e47bf(arg0) {
|
|
244
|
-
const ret = arg0.maxX;
|
|
245
|
-
return ret;
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
export function __wbg_maxy_007b81ea99058122(arg0) {
|
|
249
|
-
const ret = arg0.maxY;
|
|
250
|
-
return ret;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
export function __wbg_minx_e03d57649d81fc8f(arg0) {
|
|
254
|
-
const ret = arg0.minX;
|
|
255
|
-
return ret;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
export function __wbg_miny_46aab5af597882a7(arg0) {
|
|
259
|
-
const ret = arg0.minY;
|
|
260
|
-
return ret;
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
export function __wbg_renderheight_d030fe5a23b4c32b(arg0) {
|
|
264
|
-
const ret = arg0.renderHeight;
|
|
265
|
-
return ret;
|
|
266
|
-
};
|
|
267
|
-
|
|
268
|
-
export function __wbg_renderwidth_8685762ee304f2a7(arg0) {
|
|
269
|
-
const ret = arg0.renderWidth;
|
|
270
|
-
return ret;
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
export function __wbg_scale_d705e0de44ed2361(arg0) {
|
|
274
|
-
const ret = arg0.scale;
|
|
275
|
-
return ret;
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
export function __wbindgen_copy_to_typed_array(arg0, arg1, arg2) {
|
|
279
|
-
new Uint8Array(arg2.buffer, arg2.byteOffset, arg2.byteLength).set(getArrayU8FromWasm0(arg0, arg1));
|
|
280
|
-
};
|
|
281
|
-
|
|
282
|
-
export function __wbindgen_init_externref_table() {
|
|
283
|
-
const table = wasm.__wbindgen_export_0;
|
|
284
|
-
const offset = table.grow(4);
|
|
285
|
-
table.set(0, undefined);
|
|
286
|
-
table.set(offset + 0, undefined);
|
|
287
|
-
table.set(offset + 1, null);
|
|
288
|
-
table.set(offset + 2, true);
|
|
289
|
-
table.set(offset + 3, false);
|
|
290
|
-
;
|
|
291
|
-
};
|
|
292
|
-
|
|
293
|
-
export function __wbindgen_string_get(arg0, arg1) {
|
|
294
|
-
const obj = arg1;
|
|
295
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
296
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
297
|
-
var len1 = WASM_VECTOR_LEN;
|
|
298
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
299
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
export function __wbindgen_throw(arg0, arg1) {
|
|
303
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
304
|
-
};
|
|
305
|
-
|