@rerun-io/web-viewer 0.24.1 → 0.25.0-alpha.1
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/README.md +2 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/re_viewer.d.ts +31 -16
- package/re_viewer.js +67 -75
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +23 -8
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ This means that:
|
|
|
28
28
|
|
|
29
29
|
## Usage
|
|
30
30
|
|
|
31
|
-
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.25.0-alpha.1/web-viewer/classes/WebViewer.html) class.
|
|
32
32
|
The web viewer is an object which manages a canvas element:
|
|
33
33
|
|
|
34
34
|
```js
|
|
@@ -44,7 +44,7 @@ viewer.stop();
|
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
The `rrd` in the snippet above should be a URL pointing to either:
|
|
47
|
-
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.25.0-alpha.1/examples/dna.rrd>
|
|
48
48
|
- A gRPC connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk/operating-modes#serve) API
|
|
49
49
|
|
|
50
50
|
If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.
|
package/index.d.ts
CHANGED
|
@@ -190,7 +190,7 @@ export type EventsWithoutValue = {
|
|
|
190
190
|
* ```
|
|
191
191
|
*
|
|
192
192
|
* Data may be provided to the Viewer as:
|
|
193
|
-
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.
|
|
193
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0-alpha.1/examples/dna.rrd")`
|
|
194
194
|
* - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
|
|
195
195
|
* - A stream of log messages, via {@link WebViewer.open_channel}.
|
|
196
196
|
*
|
package/index.js
CHANGED
|
@@ -53,7 +53,7 @@ function delay(ms) {
|
|
|
53
53
|
* ```
|
|
54
54
|
*
|
|
55
55
|
* Data may be provided to the Viewer as:
|
|
56
|
-
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0-alpha.1/examples/dna.rrd")`
|
|
57
57
|
* - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
|
|
58
58
|
* - A stream of log messages, via {@link WebViewer.open_channel}.
|
|
59
59
|
*
|
package/index.ts
CHANGED
|
@@ -305,7 +305,7 @@ function delay(ms: number) {
|
|
|
305
305
|
* ```
|
|
306
306
|
*
|
|
307
307
|
* Data may be provided to the Viewer as:
|
|
308
|
-
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.
|
|
308
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0-alpha.1/examples/dna.rrd")`
|
|
309
309
|
* - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
|
|
310
310
|
* - A stream of log messages, via {@link WebViewer.open_channel}.
|
|
311
311
|
*
|
package/package.json
CHANGED
package/re_viewer.d.ts
CHANGED
|
@@ -70,19 +70,19 @@ declare namespace wasm_bindgen {
|
|
|
70
70
|
send_rrd_to_channel(id: string, data: Uint8Array): void;
|
|
71
71
|
send_table_to_channel(id: string, data: Uint8Array): void;
|
|
72
72
|
get_active_recording_id(): string | undefined;
|
|
73
|
-
set_active_recording_id(
|
|
74
|
-
get_active_timeline(
|
|
73
|
+
set_active_recording_id(recording_id: string): void;
|
|
74
|
+
get_active_timeline(recording_id: string): string | undefined;
|
|
75
75
|
/**
|
|
76
76
|
* Set the active timeline.
|
|
77
77
|
*
|
|
78
78
|
* This does nothing if the timeline can't be found.
|
|
79
79
|
*/
|
|
80
|
-
set_active_timeline(
|
|
81
|
-
get_time_for_timeline(
|
|
82
|
-
set_time_for_timeline(
|
|
83
|
-
get_timeline_time_range(
|
|
84
|
-
get_playing(
|
|
85
|
-
set_playing(
|
|
80
|
+
set_active_timeline(recording_id: string, timeline_name: string): void;
|
|
81
|
+
get_time_for_timeline(recording_id: string, timeline_name: string): number | undefined;
|
|
82
|
+
set_time_for_timeline(recording_id: string, timeline_name: string, time: number): void;
|
|
83
|
+
get_timeline_time_range(recording_id: string, timeline_name: string): any;
|
|
84
|
+
get_playing(recording_id: string): boolean | undefined;
|
|
85
|
+
set_playing(recording_id: string, value: boolean): void;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
}
|
|
@@ -115,6 +115,21 @@ declare interface InitOutput {
|
|
|
115
115
|
readonly webhandle_get_timeline_time_range: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
116
116
|
readonly webhandle_get_playing: (a: number, b: number, c: number) => number;
|
|
117
117
|
readonly webhandle_set_playing: (a: number, b: number, c: number, d: number) => void;
|
|
118
|
+
readonly rust_lz4_wasm_shim_malloc: (a: number) => number;
|
|
119
|
+
readonly rust_lz4_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
120
|
+
readonly rust_lz4_wasm_shim_calloc: (a: number, b: number) => number;
|
|
121
|
+
readonly rust_lz4_wasm_shim_free: (a: number) => void;
|
|
122
|
+
readonly rust_lz4_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
123
|
+
readonly rust_lz4_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
124
|
+
readonly rust_lz4_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
125
|
+
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
126
|
+
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
127
|
+
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
128
|
+
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
129
|
+
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
130
|
+
readonly rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
131
|
+
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
132
|
+
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
118
133
|
readonly ring_core_0_17_14__bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
119
134
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
120
135
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
@@ -138,14 +153,14 @@ declare interface InitOutput {
|
|
|
138
153
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
139
154
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
140
155
|
readonly closure7_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
156
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4045029159763268: (a: number, b: number) => void;
|
|
157
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h09a2d013c65d3ec8: (a: number, b: number) => void;
|
|
158
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd12a251d74c75b8c_multivalue_shim: (a: number, b: number) => [number, number];
|
|
159
|
+
readonly closure16579_externref_shim: (a: number, b: number, c: any) => void;
|
|
160
|
+
readonly closure17085_externref_shim: (a: number, b: number, c: any) => void;
|
|
161
|
+
readonly closure20409_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly closure21018_externref_shim: (a: number, b: number, c: any) => void;
|
|
163
|
+
readonly closure24867_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
149
164
|
readonly __wbindgen_start: () => void;
|
|
150
165
|
}
|
|
151
166
|
|
package/re_viewer.js
CHANGED
|
@@ -273,38 +273,38 @@ export default function() {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
function __wbg_adapter_49(arg0, arg1) {
|
|
276
|
-
wasm.
|
|
276
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4045029159763268(arg0, arg1);
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
function __wbg_adapter_52(arg0, arg1) {
|
|
280
|
-
wasm.
|
|
280
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h09a2d013c65d3ec8(arg0, arg1);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
function __wbg_adapter_55(arg0, arg1
|
|
284
|
-
wasm.
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
function __wbg_adapter_58(arg0, arg1) {
|
|
288
|
-
const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d7fbb5555ca41d4_multivalue_shim(arg0, arg1);
|
|
283
|
+
function __wbg_adapter_55(arg0, arg1) {
|
|
284
|
+
const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd12a251d74c75b8c_multivalue_shim(arg0, arg1);
|
|
289
285
|
if (ret[1]) {
|
|
290
286
|
throw takeFromExternrefTable0(ret[0]);
|
|
291
287
|
}
|
|
292
288
|
}
|
|
293
289
|
|
|
290
|
+
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
291
|
+
wasm.closure16579_externref_shim(arg0, arg1, arg2);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
294
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
295
|
-
wasm.
|
|
295
|
+
wasm.closure17085_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure20409_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_71(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure21018_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
function
|
|
307
|
-
wasm.
|
|
306
|
+
function __wbg_adapter_1787(arg0, arg1, arg2, arg3) {
|
|
307
|
+
wasm.closure24867_externref_shim(arg0, arg1, arg2, arg3);
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
const __wbindgen_enum_EncodedVideoChunkType = ["key", "delta"];
|
|
@@ -683,19 +683,19 @@ export default function() {
|
|
|
683
683
|
return v1;
|
|
684
684
|
}
|
|
685
685
|
/**
|
|
686
|
-
* @param {string}
|
|
686
|
+
* @param {string} recording_id
|
|
687
687
|
*/
|
|
688
|
-
set_active_recording_id(
|
|
689
|
-
const ptr0 = passStringToWasm0(
|
|
688
|
+
set_active_recording_id(recording_id) {
|
|
689
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
690
690
|
const len0 = WASM_VECTOR_LEN;
|
|
691
691
|
wasm.webhandle_set_active_recording_id(this.__wbg_ptr, ptr0, len0);
|
|
692
692
|
}
|
|
693
693
|
/**
|
|
694
|
-
* @param {string}
|
|
694
|
+
* @param {string} recording_id
|
|
695
695
|
* @returns {string | undefined}
|
|
696
696
|
*/
|
|
697
|
-
get_active_timeline(
|
|
698
|
-
const ptr0 = passStringToWasm0(
|
|
697
|
+
get_active_timeline(recording_id) {
|
|
698
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
699
699
|
const len0 = WASM_VECTOR_LEN;
|
|
700
700
|
const ret = wasm.webhandle_get_active_timeline(this.__wbg_ptr, ptr0, len0);
|
|
701
701
|
let v2;
|
|
@@ -709,23 +709,23 @@ export default function() {
|
|
|
709
709
|
* Set the active timeline.
|
|
710
710
|
*
|
|
711
711
|
* This does nothing if the timeline can't be found.
|
|
712
|
-
* @param {string}
|
|
712
|
+
* @param {string} recording_id
|
|
713
713
|
* @param {string} timeline_name
|
|
714
714
|
*/
|
|
715
|
-
set_active_timeline(
|
|
716
|
-
const ptr0 = passStringToWasm0(
|
|
715
|
+
set_active_timeline(recording_id, timeline_name) {
|
|
716
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
717
717
|
const len0 = WASM_VECTOR_LEN;
|
|
718
718
|
const ptr1 = passStringToWasm0(timeline_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
719
719
|
const len1 = WASM_VECTOR_LEN;
|
|
720
720
|
wasm.webhandle_set_active_timeline(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
721
721
|
}
|
|
722
722
|
/**
|
|
723
|
-
* @param {string}
|
|
723
|
+
* @param {string} recording_id
|
|
724
724
|
* @param {string} timeline_name
|
|
725
725
|
* @returns {number | undefined}
|
|
726
726
|
*/
|
|
727
|
-
get_time_for_timeline(
|
|
728
|
-
const ptr0 = passStringToWasm0(
|
|
727
|
+
get_time_for_timeline(recording_id, timeline_name) {
|
|
728
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
729
729
|
const len0 = WASM_VECTOR_LEN;
|
|
730
730
|
const ptr1 = passStringToWasm0(timeline_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
731
731
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -733,24 +733,24 @@ export default function() {
|
|
|
733
733
|
return ret[0] === 0 ? undefined : ret[1];
|
|
734
734
|
}
|
|
735
735
|
/**
|
|
736
|
-
* @param {string}
|
|
736
|
+
* @param {string} recording_id
|
|
737
737
|
* @param {string} timeline_name
|
|
738
738
|
* @param {number} time
|
|
739
739
|
*/
|
|
740
|
-
set_time_for_timeline(
|
|
741
|
-
const ptr0 = passStringToWasm0(
|
|
740
|
+
set_time_for_timeline(recording_id, timeline_name, time) {
|
|
741
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
742
742
|
const len0 = WASM_VECTOR_LEN;
|
|
743
743
|
const ptr1 = passStringToWasm0(timeline_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
744
744
|
const len1 = WASM_VECTOR_LEN;
|
|
745
745
|
wasm.webhandle_set_time_for_timeline(this.__wbg_ptr, ptr0, len0, ptr1, len1, time);
|
|
746
746
|
}
|
|
747
747
|
/**
|
|
748
|
-
* @param {string}
|
|
748
|
+
* @param {string} recording_id
|
|
749
749
|
* @param {string} timeline_name
|
|
750
750
|
* @returns {any}
|
|
751
751
|
*/
|
|
752
|
-
get_timeline_time_range(
|
|
753
|
-
const ptr0 = passStringToWasm0(
|
|
752
|
+
get_timeline_time_range(recording_id, timeline_name) {
|
|
753
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
754
754
|
const len0 = WASM_VECTOR_LEN;
|
|
755
755
|
const ptr1 = passStringToWasm0(timeline_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
756
756
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -758,21 +758,21 @@ export default function() {
|
|
|
758
758
|
return ret;
|
|
759
759
|
}
|
|
760
760
|
/**
|
|
761
|
-
* @param {string}
|
|
761
|
+
* @param {string} recording_id
|
|
762
762
|
* @returns {boolean | undefined}
|
|
763
763
|
*/
|
|
764
|
-
get_playing(
|
|
765
|
-
const ptr0 = passStringToWasm0(
|
|
764
|
+
get_playing(recording_id) {
|
|
765
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
766
766
|
const len0 = WASM_VECTOR_LEN;
|
|
767
767
|
const ret = wasm.webhandle_get_playing(this.__wbg_ptr, ptr0, len0);
|
|
768
768
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
769
769
|
}
|
|
770
770
|
/**
|
|
771
|
-
* @param {string}
|
|
771
|
+
* @param {string} recording_id
|
|
772
772
|
* @param {boolean} value
|
|
773
773
|
*/
|
|
774
|
-
set_playing(
|
|
775
|
-
const ptr0 = passStringToWasm0(
|
|
774
|
+
set_playing(recording_id, value) {
|
|
775
|
+
const ptr0 = passStringToWasm0(recording_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
776
776
|
const len0 = WASM_VECTOR_LEN;
|
|
777
777
|
wasm.webhandle_set_playing(this.__wbg_ptr, ptr0, len0, value);
|
|
778
778
|
}
|
|
@@ -1346,7 +1346,7 @@ export default function() {
|
|
|
1346
1346
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1347
1347
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1348
1348
|
};
|
|
1349
|
-
imports.wbg.
|
|
1349
|
+
imports.wbg.__wbg_debug_4a104afe17b85458 = function(arg0, arg1) {
|
|
1350
1350
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
1351
1351
|
};
|
|
1352
1352
|
imports.wbg.__wbg_decode_6c36f113295ffd87 = function() { return handleError(function (arg0, arg1) {
|
|
@@ -1815,10 +1815,6 @@ export default function() {
|
|
|
1815
1815
|
const ret = arg0.getTime();
|
|
1816
1816
|
return ret;
|
|
1817
1817
|
};
|
|
1818
|
-
imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
|
|
1819
|
-
const ret = arg0.getTimezoneOffset();
|
|
1820
|
-
return ret;
|
|
1821
|
-
};
|
|
1822
1818
|
imports.wbg.__wbg_getUniformBlockIndex_288fdc31528171ca = function(arg0, arg1, arg2, arg3) {
|
|
1823
1819
|
const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
|
|
1824
1820
|
return ret;
|
|
@@ -1973,7 +1969,7 @@ export default function() {
|
|
|
1973
1969
|
const ret = arg0.includes(arg1, arg2);
|
|
1974
1970
|
return ret;
|
|
1975
1971
|
};
|
|
1976
|
-
imports.wbg.
|
|
1972
|
+
imports.wbg.__wbg_info_579a2d2f74017039 = function(arg0, arg1) {
|
|
1977
1973
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1978
1974
|
};
|
|
1979
1975
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2514,7 +2510,7 @@ export default function() {
|
|
|
2514
2510
|
const a = state0.a;
|
|
2515
2511
|
state0.a = 0;
|
|
2516
2512
|
try {
|
|
2517
|
-
return
|
|
2513
|
+
return __wbg_adapter_1787(a, state0.b, arg0, arg1);
|
|
2518
2514
|
} finally {
|
|
2519
2515
|
state0.a = a;
|
|
2520
2516
|
}
|
|
@@ -2525,10 +2521,6 @@ export default function() {
|
|
|
2525
2521
|
state0.a = state0.b = 0;
|
|
2526
2522
|
}
|
|
2527
2523
|
};
|
|
2528
|
-
imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
|
|
2529
|
-
const ret = new Date(arg0);
|
|
2530
|
-
return ret;
|
|
2531
|
-
};
|
|
2532
2524
|
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
2533
2525
|
const ret = new Object();
|
|
2534
2526
|
return ret;
|
|
@@ -2549,6 +2541,10 @@ export default function() {
|
|
|
2549
2541
|
const ret = new ResizeObserver(arg0);
|
|
2550
2542
|
return ret;
|
|
2551
2543
|
}, arguments) };
|
|
2544
|
+
imports.wbg.__wbg_new_643552d6a06f3726 = function() {
|
|
2545
|
+
const ret = new Error();
|
|
2546
|
+
return ret;
|
|
2547
|
+
};
|
|
2552
2548
|
imports.wbg.__wbg_new_770da380d4989897 = function() {
|
|
2553
2549
|
const ret = new Error();
|
|
2554
2550
|
return ret;
|
|
@@ -2581,10 +2577,6 @@ export default function() {
|
|
|
2581
2577
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2582
2578
|
return ret;
|
|
2583
2579
|
};
|
|
2584
|
-
imports.wbg.__wbg_new_d1ae0012c4fd8c1d = function() {
|
|
2585
|
-
const ret = new Error();
|
|
2586
|
-
return ret;
|
|
2587
|
-
};
|
|
2588
2580
|
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
2589
2581
|
const ret = new AbortController();
|
|
2590
2582
|
return ret;
|
|
@@ -3610,7 +3602,7 @@ export default function() {
|
|
|
3610
3602
|
const ret = arg0.size;
|
|
3611
3603
|
return ret;
|
|
3612
3604
|
};
|
|
3613
|
-
imports.wbg.
|
|
3605
|
+
imports.wbg.__wbg_stack_0f12ac27db11aafd = function(arg0, arg1) {
|
|
3614
3606
|
const ret = arg1.stack;
|
|
3615
3607
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3616
3608
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3690,7 +3682,7 @@ export default function() {
|
|
|
3690
3682
|
const ret = JSON.stringify(arg0);
|
|
3691
3683
|
return ret;
|
|
3692
3684
|
}, arguments) };
|
|
3693
|
-
imports.wbg.
|
|
3685
|
+
imports.wbg.__wbg_structuredClone_b44aeee5f6c21625 = function() { return handleError(function (arg0) {
|
|
3694
3686
|
const ret = window.structuredClone(arg0);
|
|
3695
3687
|
return ret;
|
|
3696
3688
|
}, arguments) };
|
|
@@ -3812,7 +3804,7 @@ export default function() {
|
|
|
3812
3804
|
const ret = arg0.touches;
|
|
3813
3805
|
return ret;
|
|
3814
3806
|
};
|
|
3815
|
-
imports.wbg.
|
|
3807
|
+
imports.wbg.__wbg_trace_9907e2efb8bd3dba = function(arg0, arg1) {
|
|
3816
3808
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3817
3809
|
};
|
|
3818
3810
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -4013,7 +4005,7 @@ export default function() {
|
|
|
4013
4005
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
4014
4006
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
4015
4007
|
};
|
|
4016
|
-
imports.wbg.
|
|
4008
|
+
imports.wbg.__wbg_warn_6b4c1fa34249f510 = function(arg0, arg1) {
|
|
4017
4009
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4018
4010
|
};
|
|
4019
4011
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4072,44 +4064,44 @@ export default function() {
|
|
|
4072
4064
|
const ret = false;
|
|
4073
4065
|
return ret;
|
|
4074
4066
|
};
|
|
4075
|
-
imports.wbg.
|
|
4076
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4067
|
+
imports.wbg.__wbindgen_closure_wrapper103349 = function(arg0, arg1, arg2) {
|
|
4068
|
+
const ret = makeMutClosure(arg0, arg1, 21019, __wbg_adapter_71);
|
|
4077
4069
|
return ret;
|
|
4078
4070
|
};
|
|
4079
|
-
imports.wbg.
|
|
4071
|
+
imports.wbg.__wbindgen_closure_wrapper1331 = function(arg0, arg1, arg2) {
|
|
4080
4072
|
const ret = makeMutClosure(arg0, arg1, 8, __wbg_adapter_46);
|
|
4081
4073
|
return ret;
|
|
4082
4074
|
};
|
|
4083
|
-
imports.wbg.
|
|
4084
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4075
|
+
imports.wbg.__wbindgen_closure_wrapper69782 = function(arg0, arg1, arg2) {
|
|
4076
|
+
const ret = makeMutClosure(arg0, arg1, 15956, __wbg_adapter_52);
|
|
4085
4077
|
return ret;
|
|
4086
4078
|
};
|
|
4087
|
-
imports.wbg.
|
|
4088
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4079
|
+
imports.wbg.__wbindgen_closure_wrapper74369 = function(arg0, arg1, arg2) {
|
|
4080
|
+
const ret = makeMutClosure(arg0, arg1, 16580, __wbg_adapter_55);
|
|
4089
4081
|
return ret;
|
|
4090
4082
|
};
|
|
4091
|
-
imports.wbg.
|
|
4092
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4083
|
+
imports.wbg.__wbindgen_closure_wrapper74371 = function(arg0, arg1, arg2) {
|
|
4084
|
+
const ret = makeMutClosure(arg0, arg1, 16580, __wbg_adapter_58);
|
|
4093
4085
|
return ret;
|
|
4094
4086
|
};
|
|
4095
|
-
imports.wbg.
|
|
4096
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4087
|
+
imports.wbg.__wbindgen_closure_wrapper74373 = function(arg0, arg1, arg2) {
|
|
4088
|
+
const ret = makeMutClosure(arg0, arg1, 16580, __wbg_adapter_58);
|
|
4097
4089
|
return ret;
|
|
4098
4090
|
};
|
|
4099
|
-
imports.wbg.
|
|
4100
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4091
|
+
imports.wbg.__wbindgen_closure_wrapper7720 = function(arg0, arg1, arg2) {
|
|
4092
|
+
const ret = makeMutClosure(arg0, arg1, 1341, __wbg_adapter_49);
|
|
4101
4093
|
return ret;
|
|
4102
4094
|
};
|
|
4103
|
-
imports.wbg.
|
|
4104
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4095
|
+
imports.wbg.__wbindgen_closure_wrapper77916 = function(arg0, arg1, arg2) {
|
|
4096
|
+
const ret = makeMutClosure(arg0, arg1, 17086, __wbg_adapter_63);
|
|
4105
4097
|
return ret;
|
|
4106
4098
|
};
|
|
4107
|
-
imports.wbg.
|
|
4108
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4099
|
+
imports.wbg.__wbindgen_closure_wrapper99288 = function(arg0, arg1, arg2) {
|
|
4100
|
+
const ret = makeMutClosure(arg0, arg1, 20410, __wbg_adapter_66);
|
|
4109
4101
|
return ret;
|
|
4110
4102
|
};
|
|
4111
|
-
imports.wbg.
|
|
4112
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4103
|
+
imports.wbg.__wbindgen_closure_wrapper99290 = function(arg0, arg1, arg2) {
|
|
4104
|
+
const ret = makeMutClosure(arg0, arg1, 20410, __wbg_adapter_66);
|
|
4113
4105
|
return ret;
|
|
4114
4106
|
};
|
|
4115
4107
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/re_viewer_bg.wasm
CHANGED
|
Binary file
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -25,6 +25,21 @@ export const webhandle_set_time_for_timeline: (a: number, b: number, c: number,
|
|
|
25
25
|
export const webhandle_get_timeline_time_range: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
26
26
|
export const webhandle_get_playing: (a: number, b: number, c: number) => number;
|
|
27
27
|
export const webhandle_set_playing: (a: number, b: number, c: number, d: number) => void;
|
|
28
|
+
export const rust_lz4_wasm_shim_malloc: (a: number) => number;
|
|
29
|
+
export const rust_lz4_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
30
|
+
export const rust_lz4_wasm_shim_calloc: (a: number, b: number) => number;
|
|
31
|
+
export const rust_lz4_wasm_shim_free: (a: number) => void;
|
|
32
|
+
export const rust_lz4_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
33
|
+
export const rust_lz4_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
34
|
+
export const rust_lz4_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
35
|
+
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
36
|
+
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
37
|
+
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
38
|
+
export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
39
|
+
export const rust_zstd_wasm_shim_free: (a: number) => void;
|
|
40
|
+
export const rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
41
|
+
export const rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
42
|
+
export const rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
28
43
|
export const ring_core_0_17_14__bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
29
44
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
30
45
|
export const intounderlyingbytesource_type: (a: number) => number;
|
|
@@ -48,12 +63,12 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
48
63
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
49
64
|
export const __externref_table_dealloc: (a: number) => void;
|
|
50
65
|
export const closure7_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
66
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4045029159763268: (a: number, b: number) => void;
|
|
67
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h09a2d013c65d3ec8: (a: number, b: number) => void;
|
|
68
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd12a251d74c75b8c_multivalue_shim: (a: number, b: number) => [number, number];
|
|
69
|
+
export const closure16579_externref_shim: (a: number, b: number, c: any) => void;
|
|
70
|
+
export const closure17085_externref_shim: (a: number, b: number, c: any) => void;
|
|
71
|
+
export const closure20409_externref_shim: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const closure21018_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure24867_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
59
74
|
export const __wbindgen_start: () => void;
|