@rerun-io/web-viewer 0.17.0-alpha.1 → 0.17.0-alpha.101

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/re_viewer_bg.js CHANGED
@@ -33,11 +33,7 @@ function addHeapObject(obj) {
33
33
  return idx;
34
34
  }
35
35
 
36
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
37
-
38
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
39
-
40
- cachedTextDecoder.decode();
36
+ let WASM_VECTOR_LEN = 0;
41
37
 
42
38
  let cachedUint8Memory0 = null;
43
39
 
@@ -48,13 +44,6 @@ function getUint8Memory0() {
48
44
  return cachedUint8Memory0;
49
45
  }
50
46
 
51
- function getStringFromWasm0(ptr, len) {
52
- ptr = ptr >>> 0;
53
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
54
- }
55
-
56
- let WASM_VECTOR_LEN = 0;
57
-
58
47
  const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
59
48
 
60
49
  let cachedTextEncoder = new lTextEncoder('utf-8');
@@ -123,6 +112,17 @@ function getInt32Memory0() {
123
112
  return cachedInt32Memory0;
124
113
  }
125
114
 
115
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
116
+
117
+ let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
118
+
119
+ cachedTextDecoder.decode();
120
+
121
+ function getStringFromWasm0(ptr, len) {
122
+ ptr = ptr >>> 0;
123
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
124
+ }
125
+
126
126
  let cachedFloat64Memory0 = null;
127
127
 
128
128
  function getFloat64Memory0() {
@@ -221,22 +221,26 @@ function makeMutClosure(arg0, arg1, dtor, f) {
221
221
 
222
222
  return real;
223
223
  }
224
- function __wbg_adapter_42(arg0, arg1) {
225
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4ad2b9ac90243863(arg0, arg1);
224
+ function __wbg_adapter_42(arg0, arg1, arg2) {
225
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf710b7771c3b692c(arg0, arg1, addHeapObject(arg2));
226
226
  }
227
227
 
228
- function __wbg_adapter_45(arg0, arg1, arg2) {
229
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h138f930daf832169(arg0, arg1, addHeapObject(arg2));
228
+ function __wbg_adapter_45(arg0, arg1) {
229
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hac6666b3979470cb(arg0, arg1);
230
230
  }
231
231
 
232
232
  function __wbg_adapter_48(arg0, arg1) {
233
233
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h27a3d25f4f9e1f6f(arg0, arg1);
234
234
  }
235
235
 
236
- function __wbg_adapter_51(arg0, arg1) {
236
+ function __wbg_adapter_51(arg0, arg1, arg2) {
237
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h627cc28e0f456519(arg0, arg1, addHeapObject(arg2));
238
+ }
239
+
240
+ function __wbg_adapter_56(arg0, arg1) {
237
241
  try {
238
242
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
239
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h70e9241ea137aceb(retptr, arg0, arg1);
243
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__h87f9a28e2674ffe3(retptr, arg0, arg1);
240
244
  var r0 = getInt32Memory0()[retptr / 4 + 0];
241
245
  var r1 = getInt32Memory0()[retptr / 4 + 1];
242
246
  if (r1) {
@@ -247,10 +251,6 @@ function __wbg_adapter_51(arg0, arg1) {
247
251
  }
248
252
  }
249
253
 
250
- function __wbg_adapter_54(arg0, arg1, arg2) {
251
- wasm.wasm_bindgen__convert__closures__invoke1_mut__hb3c72bc01d08a80c(arg0, arg1, addHeapObject(arg2));
252
- }
253
-
254
254
  function __wbg_adapter_59(arg0, arg1, arg2) {
255
255
  wasm.wasm_bindgen__convert__closures__invoke1_mut__h743de7ed621e3baa(arg0, arg1, addHeapObject(arg2));
256
256
  }
@@ -260,7 +260,7 @@ function __wbg_adapter_64(arg0, arg1, arg2) {
260
260
  }
261
261
 
262
262
  function __wbg_adapter_73(arg0, arg1, arg2) {
263
- wasm.wasm_bindgen__convert__closures__invoke1_mut__hb3e94994a0f5798b(arg0, arg1, addHeapObject(arg2));
263
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h8044e65151c21f1f(arg0, arg1, addHeapObject(arg2));
264
264
  }
265
265
 
266
266
  function __wbg_adapter_76(arg0, arg1, arg2) {
@@ -516,9 +516,10 @@ export class WebHandle {
516
516
  return takeObject(ret);
517
517
  }
518
518
  /**
519
+ * @param {boolean | undefined} [value]
519
520
  */
520
- toggle_panel_overrides() {
521
- wasm.webhandle_toggle_panel_overrides(this.__wbg_ptr);
521
+ toggle_panel_overrides(value) {
522
+ wasm.webhandle_toggle_panel_overrides(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
522
523
  }
523
524
  /**
524
525
  * @param {string} panel
@@ -664,24 +665,13 @@ export function __wbindgen_object_clone_ref(arg0) {
664
665
  return addHeapObject(ret);
665
666
  };
666
667
 
667
- export function __wbindgen_is_falsy(arg0) {
668
- const ret = !getObject(arg0);
669
- return ret;
670
- };
671
-
672
- export function __wbindgen_is_function(arg0) {
673
- const ret = typeof(getObject(arg0)) === 'function';
674
- return ret;
675
- };
676
-
677
- export function __wbindgen_cb_drop(arg0) {
678
- const obj = takeObject(arg0).original;
679
- if (obj.cnt-- == 1) {
680
- obj.a = 0;
681
- return true;
682
- }
683
- const ret = false;
684
- return ret;
668
+ export function __wbindgen_string_get(arg0, arg1) {
669
+ const obj = getObject(arg1);
670
+ const ret = typeof(obj) === 'string' ? obj : undefined;
671
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
672
+ var len1 = WASM_VECTOR_LEN;
673
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
674
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
685
675
  };
686
676
 
687
677
  export function __wbindgen_string_new(arg0, arg1) {
@@ -689,18 +679,19 @@ export function __wbindgen_string_new(arg0, arg1) {
689
679
  return addHeapObject(ret);
690
680
  };
691
681
 
682
+ export function __wbindgen_is_function(arg0) {
683
+ const ret = typeof(getObject(arg0)) === 'function';
684
+ return ret;
685
+ };
686
+
692
687
  export function __wbindgen_error_new(arg0, arg1) {
693
688
  const ret = new Error(getStringFromWasm0(arg0, arg1));
694
689
  return addHeapObject(ret);
695
690
  };
696
691
 
697
- export function __wbindgen_string_get(arg0, arg1) {
698
- const obj = getObject(arg1);
699
- const ret = typeof(obj) === 'string' ? obj : undefined;
700
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
701
- var len1 = WASM_VECTOR_LEN;
702
- getInt32Memory0()[arg0 / 4 + 1] = len1;
703
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
692
+ export function __wbindgen_is_falsy(arg0) {
693
+ const ret = !getObject(arg0);
694
+ return ret;
704
695
  };
705
696
 
706
697
  export function __wbindgen_boolean_get(arg0) {
@@ -709,6 +700,16 @@ export function __wbindgen_boolean_get(arg0) {
709
700
  return ret;
710
701
  };
711
702
 
703
+ export function __wbindgen_cb_drop(arg0) {
704
+ const obj = takeObject(arg0).original;
705
+ if (obj.cnt-- == 1) {
706
+ obj.a = 0;
707
+ return true;
708
+ }
709
+ const ret = false;
710
+ return ret;
711
+ };
712
+
712
713
  export function __wbindgen_is_string(arg0) {
713
714
  const ret = typeof(getObject(arg0)) === 'string';
714
715
  return ret;
@@ -3945,78 +3946,78 @@ export function __wbindgen_memory() {
3945
3946
  return addHeapObject(ret);
3946
3947
  };
3947
3948
 
3948
- export function __wbindgen_closure_wrapper1217(arg0, arg1, arg2) {
3949
- const ret = makeMutClosure(arg0, arg1, 92, __wbg_adapter_42);
3949
+ export function __wbindgen_closure_wrapper1747(arg0, arg1, arg2) {
3950
+ const ret = makeMutClosure(arg0, arg1, 408, __wbg_adapter_42);
3950
3951
  return addHeapObject(ret);
3951
3952
  };
3952
3953
 
3953
- export function __wbindgen_closure_wrapper1219(arg0, arg1, arg2) {
3954
- const ret = makeMutClosure(arg0, arg1, 92, __wbg_adapter_45);
3954
+ export function __wbindgen_closure_wrapper1749(arg0, arg1, arg2) {
3955
+ const ret = makeMutClosure(arg0, arg1, 408, __wbg_adapter_45);
3955
3956
  return addHeapObject(ret);
3956
3957
  };
3957
3958
 
3958
- export function __wbindgen_closure_wrapper5159(arg0, arg1, arg2) {
3959
- const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_48);
3959
+ export function __wbindgen_closure_wrapper5169(arg0, arg1, arg2) {
3960
+ const ret = makeMutClosure(arg0, arg1, 1869, __wbg_adapter_48);
3960
3961
  return addHeapObject(ret);
3961
3962
  };
3962
3963
 
3963
- export function __wbindgen_closure_wrapper11832(arg0, arg1, arg2) {
3964
- const ret = makeMutClosure(arg0, arg1, 4981, __wbg_adapter_51);
3964
+ export function __wbindgen_closure_wrapper11847(arg0, arg1, arg2) {
3965
+ const ret = makeMutClosure(arg0, arg1, 4996, __wbg_adapter_51);
3965
3966
  return addHeapObject(ret);
3966
3967
  };
3967
3968
 
3968
- export function __wbindgen_closure_wrapper11834(arg0, arg1, arg2) {
3969
- const ret = makeMutClosure(arg0, arg1, 4981, __wbg_adapter_54);
3969
+ export function __wbindgen_closure_wrapper11849(arg0, arg1, arg2) {
3970
+ const ret = makeMutClosure(arg0, arg1, 4996, __wbg_adapter_51);
3970
3971
  return addHeapObject(ret);
3971
3972
  };
3972
3973
 
3973
- export function __wbindgen_closure_wrapper11836(arg0, arg1, arg2) {
3974
- const ret = makeMutClosure(arg0, arg1, 4981, __wbg_adapter_54);
3974
+ export function __wbindgen_closure_wrapper11851(arg0, arg1, arg2) {
3975
+ const ret = makeMutClosure(arg0, arg1, 4996, __wbg_adapter_56);
3975
3976
  return addHeapObject(ret);
3976
3977
  };
3977
3978
 
3978
- export function __wbindgen_closure_wrapper21160(arg0, arg1, arg2) {
3979
- const ret = makeMutClosure(arg0, arg1, 8535, __wbg_adapter_59);
3979
+ export function __wbindgen_closure_wrapper21278(arg0, arg1, arg2) {
3980
+ const ret = makeMutClosure(arg0, arg1, 8491, __wbg_adapter_59);
3980
3981
  return addHeapObject(ret);
3981
3982
  };
3982
3983
 
3983
- export function __wbindgen_closure_wrapper21162(arg0, arg1, arg2) {
3984
- const ret = makeMutClosure(arg0, arg1, 8535, __wbg_adapter_59);
3984
+ export function __wbindgen_closure_wrapper21280(arg0, arg1, arg2) {
3985
+ const ret = makeMutClosure(arg0, arg1, 8491, __wbg_adapter_59);
3985
3986
  return addHeapObject(ret);
3986
3987
  };
3987
3988
 
3988
- export function __wbindgen_closure_wrapper27730(arg0, arg1, arg2) {
3989
- const ret = makeMutClosure(arg0, arg1, 11659, __wbg_adapter_64);
3989
+ export function __wbindgen_closure_wrapper27854(arg0, arg1, arg2) {
3990
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
3990
3991
  return addHeapObject(ret);
3991
3992
  };
3992
3993
 
3993
- export function __wbindgen_closure_wrapper27732(arg0, arg1, arg2) {
3994
- const ret = makeMutClosure(arg0, arg1, 11659, __wbg_adapter_64);
3994
+ export function __wbindgen_closure_wrapper27856(arg0, arg1, arg2) {
3995
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
3995
3996
  return addHeapObject(ret);
3996
3997
  };
3997
3998
 
3998
- export function __wbindgen_closure_wrapper27734(arg0, arg1, arg2) {
3999
- const ret = makeMutClosure(arg0, arg1, 11659, __wbg_adapter_64);
3999
+ export function __wbindgen_closure_wrapper27858(arg0, arg1, arg2) {
4000
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
4000
4001
  return addHeapObject(ret);
4001
4002
  };
4002
4003
 
4003
- export function __wbindgen_closure_wrapper27736(arg0, arg1, arg2) {
4004
- const ret = makeMutClosure(arg0, arg1, 11659, __wbg_adapter_64);
4004
+ export function __wbindgen_closure_wrapper27860(arg0, arg1, arg2) {
4005
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
4005
4006
  return addHeapObject(ret);
4006
4007
  };
4007
4008
 
4008
- export function __wbindgen_closure_wrapper33568(arg0, arg1, arg2) {
4009
- const ret = makeMutClosure(arg0, arg1, 14132, __wbg_adapter_73);
4009
+ export function __wbindgen_closure_wrapper33706(arg0, arg1, arg2) {
4010
+ const ret = makeMutClosure(arg0, arg1, 14107, __wbg_adapter_73);
4010
4011
  return addHeapObject(ret);
4011
4012
  };
4012
4013
 
4013
- export function __wbindgen_closure_wrapper34765(arg0, arg1, arg2) {
4014
- const ret = makeMutClosure(arg0, arg1, 14857, __wbg_adapter_76);
4014
+ export function __wbindgen_closure_wrapper34903(arg0, arg1, arg2) {
4015
+ const ret = makeMutClosure(arg0, arg1, 14832, __wbg_adapter_76);
4015
4016
  return addHeapObject(ret);
4016
4017
  };
4017
4018
 
4018
- export function __wbindgen_closure_wrapper34827(arg0, arg1, arg2) {
4019
- const ret = makeMutClosure(arg0, arg1, 14870, __wbg_adapter_79);
4019
+ export function __wbindgen_closure_wrapper34965(arg0, arg1, arg2) {
4020
+ const ret = makeMutClosure(arg0, arg1, 14845, __wbg_adapter_79);
4020
4021
  return addHeapObject(ret);
4021
4022
  };
4022
4023
 
package/re_viewer_bg.wasm CHANGED
Binary file
@@ -4,7 +4,7 @@ export const memory: WebAssembly.Memory;
4
4
  export function __wbg_webhandle_free(a: number): void;
5
5
  export function webhandle_new(a: number, b: number): void;
6
6
  export function webhandle_start(a: number, b: number, c: number): number;
7
- export function webhandle_toggle_panel_overrides(a: number): void;
7
+ export function webhandle_toggle_panel_overrides(a: number, b: number): void;
8
8
  export function webhandle_override_panel_state(a: number, b: number, c: number, d: number, e: number, f: number): void;
9
9
  export function webhandle_destroy(a: number): void;
10
10
  export function webhandle_has_panicked(a: number): number;
@@ -81,15 +81,15 @@ export function intounderlyingsource_cancel(a: number): void;
81
81
  export function __wbindgen_malloc(a: number, b: number): number;
82
82
  export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
83
83
  export const __wbindgen_export_2: WebAssembly.Table;
84
- export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4ad2b9ac90243863(a: number, b: number): void;
85
- export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h138f930daf832169(a: number, b: number, c: number): void;
84
+ export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf710b7771c3b692c(a: number, b: number, c: number): void;
85
+ export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hac6666b3979470cb(a: number, b: number): void;
86
86
  export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h27a3d25f4f9e1f6f(a: number, b: number): void;
87
+ export function wasm_bindgen__convert__closures__invoke1_mut__h627cc28e0f456519(a: number, b: number, c: number): void;
87
88
  export function __wbindgen_add_to_stack_pointer(a: number): number;
88
- export function wasm_bindgen__convert__closures__invoke0_mut__h70e9241ea137aceb(a: number, b: number, c: number): void;
89
- export function wasm_bindgen__convert__closures__invoke1_mut__hb3c72bc01d08a80c(a: number, b: number, c: number): void;
89
+ export function wasm_bindgen__convert__closures__invoke0_mut__h87f9a28e2674ffe3(a: number, b: number, c: number): void;
90
90
  export function wasm_bindgen__convert__closures__invoke1_mut__h743de7ed621e3baa(a: number, b: number, c: number): void;
91
91
  export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0de10aa8b026c35e(a: number, b: number, c: number): void;
92
- export function wasm_bindgen__convert__closures__invoke1_mut__hb3e94994a0f5798b(a: number, b: number, c: number): void;
92
+ export function wasm_bindgen__convert__closures__invoke1_mut__h8044e65151c21f1f(a: number, b: number, c: number): void;
93
93
  export function wasm_bindgen__convert__closures__invoke1_mut__hb203e6ea76ae43c4(a: number, b: number, c: number): void;
94
94
  export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf670f9b2e2edd2a(a: number, b: number, c: number): void;
95
95
  export function __wbindgen_free(a: number, b: number, c: number): void;
package/tsconfig.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "allowJs": true,
4
- "noEmit": true,
5
3
  "strict": true,
6
- "target": "ES2020",
7
- "module": "ES2022",
4
+ "declaration": true,
5
+ "declarationMap": true,
6
+ "sourceMap": true,
7
+ "target": "esnext",
8
+ "module": "esnext",
8
9
  "moduleResolution": "node",
10
+ "checkJs": false,
9
11
  "allowSyntheticDefaultImports": true,
10
12
  "skipLibCheck": true,
11
- },
12
- "include": [
13
- "index.js",
14
- ],
13
+ }
15
14
  }