@rerun-io/web-viewer 0.24.1 → 0.25.0-alpha.2
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 +32 -17
- package/re_viewer.js +72 -90
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +24 -9
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.2/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.2/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.2/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.2/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.2/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;
|
|
@@ -137,15 +152,15 @@ declare interface InitOutput {
|
|
|
137
152
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
138
153
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
139
154
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
155
|
+
readonly closure9_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
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__h62243419debf4837: (a: number, b: number) => void;
|
|
158
|
+
readonly closure16614_externref_shim: (a: number, b: number, c: any) => void;
|
|
159
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02aa36292c085eda_multivalue_shim: (a: number, b: number) => [number, number];
|
|
160
|
+
readonly closure17102_externref_shim: (a: number, b: number, c: any) => void;
|
|
161
|
+
readonly closure20495_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly closure21133_externref_shim: (a: number, b: number, c: any) => void;
|
|
163
|
+
readonly closure24970_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
|
@@ -266,45 +266,45 @@ export default function() {
|
|
|
266
266
|
return ptr;
|
|
267
267
|
}
|
|
268
268
|
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
269
|
-
const ret = wasm.
|
|
269
|
+
const ret = wasm.closure9_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
270
270
|
if (ret[1]) {
|
|
271
271
|
throw takeFromExternrefTable0(ret[0]);
|
|
272
272
|
}
|
|
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__h62243419debf4837(arg0, arg1);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
function __wbg_adapter_55(arg0, arg1, arg2) {
|
|
284
|
-
wasm.
|
|
284
|
+
wasm.closure16614_externref_shim(arg0, arg1, arg2);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
function
|
|
288
|
-
const ret = wasm.
|
|
287
|
+
function __wbg_adapter_60(arg0, arg1) {
|
|
288
|
+
const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02aa36292c085eda_multivalue_shim(arg0, arg1);
|
|
289
289
|
if (ret[1]) {
|
|
290
290
|
throw takeFromExternrefTable0(ret[0]);
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
295
|
-
wasm.
|
|
295
|
+
wasm.closure17102_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure20495_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_71(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure21133_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
function
|
|
307
|
-
wasm.
|
|
306
|
+
function __wbg_adapter_1783(arg0, arg1, arg2, arg3) {
|
|
307
|
+
wasm.closure24970_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_157b947d47e01503 = 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) {
|
|
@@ -1551,7 +1551,7 @@ export default function() {
|
|
|
1551
1551
|
const ret = arg0.error;
|
|
1552
1552
|
return ret;
|
|
1553
1553
|
};
|
|
1554
|
-
imports.wbg.
|
|
1554
|
+
imports.wbg.__wbg_error_ed70cbd935bb6a7f = function(arg0, arg1) {
|
|
1555
1555
|
let deferred0_0;
|
|
1556
1556
|
let deferred0_1;
|
|
1557
1557
|
try {
|
|
@@ -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;
|
|
@@ -1958,13 +1954,6 @@ export default function() {
|
|
|
1958
1954
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1959
1955
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1960
1956
|
};
|
|
1961
|
-
imports.wbg.__wbg_id_c65402eae48fb242 = function(arg0, arg1) {
|
|
1962
|
-
const ret = arg1.id;
|
|
1963
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1964
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1965
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1966
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1967
|
-
};
|
|
1968
1957
|
imports.wbg.__wbg_identifier_59e0705aef81ff93 = function(arg0) {
|
|
1969
1958
|
const ret = arg0.identifier;
|
|
1970
1959
|
return ret;
|
|
@@ -1973,7 +1962,7 @@ export default function() {
|
|
|
1973
1962
|
const ret = arg0.includes(arg1, arg2);
|
|
1974
1963
|
return ret;
|
|
1975
1964
|
};
|
|
1976
|
-
imports.wbg.
|
|
1965
|
+
imports.wbg.__wbg_info_f1bd83b590ae8cfb = function(arg0, arg1) {
|
|
1977
1966
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1978
1967
|
};
|
|
1979
1968
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2514,7 +2503,7 @@ export default function() {
|
|
|
2514
2503
|
const a = state0.a;
|
|
2515
2504
|
state0.a = 0;
|
|
2516
2505
|
try {
|
|
2517
|
-
return
|
|
2506
|
+
return __wbg_adapter_1783(a, state0.b, arg0, arg1);
|
|
2518
2507
|
} finally {
|
|
2519
2508
|
state0.a = a;
|
|
2520
2509
|
}
|
|
@@ -2525,10 +2514,6 @@ export default function() {
|
|
|
2525
2514
|
state0.a = state0.b = 0;
|
|
2526
2515
|
}
|
|
2527
2516
|
};
|
|
2528
|
-
imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
|
|
2529
|
-
const ret = new Date(arg0);
|
|
2530
|
-
return ret;
|
|
2531
|
-
};
|
|
2532
2517
|
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
2533
2518
|
const ret = new Object();
|
|
2534
2519
|
return ret;
|
|
@@ -2541,6 +2526,10 @@ export default function() {
|
|
|
2541
2526
|
const ret = new EncodedVideoChunk(arg0);
|
|
2542
2527
|
return ret;
|
|
2543
2528
|
}, arguments) };
|
|
2529
|
+
imports.wbg.__wbg_new_4f1bf264dfa8f904 = function() {
|
|
2530
|
+
const ret = new Error();
|
|
2531
|
+
return ret;
|
|
2532
|
+
};
|
|
2544
2533
|
imports.wbg.__wbg_new_59a6be6d80c4dcbb = function() { return handleError(function (arg0) {
|
|
2545
2534
|
const ret = new VideoDecoder(arg0);
|
|
2546
2535
|
return ret;
|
|
@@ -2549,10 +2538,6 @@ export default function() {
|
|
|
2549
2538
|
const ret = new ResizeObserver(arg0);
|
|
2550
2539
|
return ret;
|
|
2551
2540
|
}, arguments) };
|
|
2552
|
-
imports.wbg.__wbg_new_770da380d4989897 = function() {
|
|
2553
|
-
const ret = new Error();
|
|
2554
|
-
return ret;
|
|
2555
|
-
};
|
|
2556
2541
|
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
2557
2542
|
const ret = new Array();
|
|
2558
2543
|
return ret;
|
|
@@ -2581,14 +2566,14 @@ export default function() {
|
|
|
2581
2566
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2582
2567
|
return ret;
|
|
2583
2568
|
};
|
|
2584
|
-
imports.wbg.__wbg_new_d1ae0012c4fd8c1d = function() {
|
|
2585
|
-
const ret = new Error();
|
|
2586
|
-
return ret;
|
|
2587
|
-
};
|
|
2588
2569
|
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
2589
2570
|
const ret = new AbortController();
|
|
2590
2571
|
return ret;
|
|
2591
2572
|
}, arguments) };
|
|
2573
|
+
imports.wbg.__wbg_new_fd82893cbae09a93 = function() {
|
|
2574
|
+
const ret = new Error();
|
|
2575
|
+
return ret;
|
|
2576
|
+
};
|
|
2592
2577
|
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
2593
2578
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
2594
2579
|
return ret;
|
|
@@ -2923,9 +2908,6 @@ export default function() {
|
|
|
2923
2908
|
imports.wbg.__wbg_set_11cd83f45504cedf = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2924
2909
|
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2925
2910
|
}, arguments) };
|
|
2926
|
-
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
2927
|
-
arg0[arg1 >>> 0] = arg2;
|
|
2928
|
-
};
|
|
2929
2911
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
2930
2912
|
arg0[arg1] = arg2;
|
|
2931
2913
|
};
|
|
@@ -3610,14 +3592,14 @@ export default function() {
|
|
|
3610
3592
|
const ret = arg0.size;
|
|
3611
3593
|
return ret;
|
|
3612
3594
|
};
|
|
3613
|
-
imports.wbg.
|
|
3595
|
+
imports.wbg.__wbg_stack_2cc5adbd86d330f6 = function(arg0, arg1) {
|
|
3614
3596
|
const ret = arg1.stack;
|
|
3615
3597
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3616
3598
|
const len1 = WASM_VECTOR_LEN;
|
|
3617
3599
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3618
3600
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3619
3601
|
};
|
|
3620
|
-
imports.wbg.
|
|
3602
|
+
imports.wbg.__wbg_stack_90603aeb8e4178c3 = function(arg0, arg1) {
|
|
3621
3603
|
const ret = arg1.stack;
|
|
3622
3604
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3623
3605
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3690,7 +3672,7 @@ export default function() {
|
|
|
3690
3672
|
const ret = JSON.stringify(arg0);
|
|
3691
3673
|
return ret;
|
|
3692
3674
|
}, arguments) };
|
|
3693
|
-
imports.wbg.
|
|
3675
|
+
imports.wbg.__wbg_structuredClone_338beabad1fbfe58 = function() { return handleError(function (arg0) {
|
|
3694
3676
|
const ret = window.structuredClone(arg0);
|
|
3695
3677
|
return ret;
|
|
3696
3678
|
}, arguments) };
|
|
@@ -3812,7 +3794,7 @@ export default function() {
|
|
|
3812
3794
|
const ret = arg0.touches;
|
|
3813
3795
|
return ret;
|
|
3814
3796
|
};
|
|
3815
|
-
imports.wbg.
|
|
3797
|
+
imports.wbg.__wbg_trace_5768188d46e92876 = function(arg0, arg1) {
|
|
3816
3798
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3817
3799
|
};
|
|
3818
3800
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -4013,7 +3995,7 @@ export default function() {
|
|
|
4013
3995
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
4014
3996
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
4015
3997
|
};
|
|
4016
|
-
imports.wbg.
|
|
3998
|
+
imports.wbg.__wbg_warn_8350efbf832782c0 = function(arg0, arg1) {
|
|
4017
3999
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4018
4000
|
};
|
|
4019
4001
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4072,44 +4054,44 @@ export default function() {
|
|
|
4072
4054
|
const ret = false;
|
|
4073
4055
|
return ret;
|
|
4074
4056
|
};
|
|
4075
|
-
imports.wbg.
|
|
4076
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4057
|
+
imports.wbg.__wbindgen_closure_wrapper104081 = function(arg0, arg1, arg2) {
|
|
4058
|
+
const ret = makeMutClosure(arg0, arg1, 21134, __wbg_adapter_71);
|
|
4077
4059
|
return ret;
|
|
4078
4060
|
};
|
|
4079
|
-
imports.wbg.
|
|
4080
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4061
|
+
imports.wbg.__wbindgen_closure_wrapper1321 = function(arg0, arg1, arg2) {
|
|
4062
|
+
const ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_46);
|
|
4081
4063
|
return ret;
|
|
4082
4064
|
};
|
|
4083
|
-
imports.wbg.
|
|
4084
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4065
|
+
imports.wbg.__wbindgen_closure_wrapper70027 = function(arg0, arg1, arg2) {
|
|
4066
|
+
const ret = makeMutClosure(arg0, arg1, 15994, __wbg_adapter_52);
|
|
4085
4067
|
return ret;
|
|
4086
4068
|
};
|
|
4087
|
-
imports.wbg.
|
|
4088
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4069
|
+
imports.wbg.__wbindgen_closure_wrapper74597 = function(arg0, arg1, arg2) {
|
|
4070
|
+
const ret = makeMutClosure(arg0, arg1, 16615, __wbg_adapter_55);
|
|
4089
4071
|
return ret;
|
|
4090
4072
|
};
|
|
4091
|
-
imports.wbg.
|
|
4092
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4073
|
+
imports.wbg.__wbindgen_closure_wrapper74599 = function(arg0, arg1, arg2) {
|
|
4074
|
+
const ret = makeMutClosure(arg0, arg1, 16615, __wbg_adapter_55);
|
|
4093
4075
|
return ret;
|
|
4094
4076
|
};
|
|
4095
|
-
imports.wbg.
|
|
4096
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4077
|
+
imports.wbg.__wbindgen_closure_wrapper74601 = function(arg0, arg1, arg2) {
|
|
4078
|
+
const ret = makeMutClosure(arg0, arg1, 16615, __wbg_adapter_60);
|
|
4097
4079
|
return ret;
|
|
4098
4080
|
};
|
|
4099
|
-
imports.wbg.
|
|
4100
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4081
|
+
imports.wbg.__wbindgen_closure_wrapper7621 = function(arg0, arg1, arg2) {
|
|
4082
|
+
const ret = makeMutClosure(arg0, arg1, 1354, __wbg_adapter_49);
|
|
4101
4083
|
return ret;
|
|
4102
4084
|
};
|
|
4103
|
-
imports.wbg.
|
|
4104
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4085
|
+
imports.wbg.__wbindgen_closure_wrapper78161 = function(arg0, arg1, arg2) {
|
|
4086
|
+
const ret = makeMutClosure(arg0, arg1, 17103, __wbg_adapter_63);
|
|
4105
4087
|
return ret;
|
|
4106
4088
|
};
|
|
4107
|
-
imports.wbg.
|
|
4108
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4089
|
+
imports.wbg.__wbindgen_closure_wrapper99791 = function(arg0, arg1, arg2) {
|
|
4090
|
+
const ret = makeMutClosure(arg0, arg1, 20496, __wbg_adapter_66);
|
|
4109
4091
|
return ret;
|
|
4110
4092
|
};
|
|
4111
|
-
imports.wbg.
|
|
4112
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4093
|
+
imports.wbg.__wbindgen_closure_wrapper99793 = function(arg0, arg1, arg2) {
|
|
4094
|
+
const ret = makeMutClosure(arg0, arg1, 20496, __wbg_adapter_66);
|
|
4113
4095
|
return ret;
|
|
4114
4096
|
};
|
|
4115
4097
|
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;
|
|
@@ -47,13 +62,13 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
47
62
|
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
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
65
|
+
export const closure9_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
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__h62243419debf4837: (a: number, b: number) => void;
|
|
68
|
+
export const closure16614_externref_shim: (a: number, b: number, c: any) => void;
|
|
69
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h02aa36292c085eda_multivalue_shim: (a: number, b: number) => [number, number];
|
|
70
|
+
export const closure17102_externref_shim: (a: number, b: number, c: any) => void;
|
|
71
|
+
export const closure20495_externref_shim: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const closure21133_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure24970_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
59
74
|
export const __wbindgen_start: () => void;
|