@cosmol-studio/cosmol-viewer 0.6.3-rc.1 → 0.6.3-rc.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/cosmol_viewer_wasm.d.ts +68 -64
- package/cosmol_viewer_wasm.js +1184 -1208
- package/cosmol_viewer_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/cosmol_viewer_wasm.d.ts
CHANGED
|
@@ -250,8 +250,8 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
250
250
|
|
|
251
251
|
export interface InitOutput {
|
|
252
252
|
readonly memory: WebAssembly.Memory;
|
|
253
|
-
readonly __setCkTypes: (a:
|
|
254
|
-
readonly __setViewerTypes: (a:
|
|
253
|
+
readonly __setCkTypes: (a: any, b: any, c: any) => void;
|
|
254
|
+
readonly __setViewerTypes: (a: any, b: any, c: any, d: any) => void;
|
|
255
255
|
readonly __wbg_animation_free: (a: number, b: number) => void;
|
|
256
256
|
readonly __wbg_scene_free: (a: number, b: number) => void;
|
|
257
257
|
readonly __wbg_selection_free: (a: number, b: number) => void;
|
|
@@ -262,101 +262,105 @@ export interface InitOutput {
|
|
|
262
262
|
readonly __wbg_viewer_free: (a: number, b: number) => void;
|
|
263
263
|
readonly animation_addFrame: (a: number, b: number, c: number) => void;
|
|
264
264
|
readonly animation_frameCount: (a: number, b: number) => void;
|
|
265
|
-
readonly animation_new: (a: number, b:
|
|
266
|
-
readonly animation_setInterpolate: (a: number, b: number, c:
|
|
267
|
-
readonly animation_setInterval: (a: number, b: number, c:
|
|
268
|
-
readonly animation_setLoops: (a: number, b: number, c:
|
|
265
|
+
readonly animation_new: (a: number, b: any, c: any, d: any) => void;
|
|
266
|
+
readonly animation_setInterpolate: (a: number, b: number, c: any) => void;
|
|
267
|
+
readonly animation_setInterval: (a: number, b: number, c: any) => void;
|
|
268
|
+
readonly animation_setLoops: (a: number, b: number, c: any) => void;
|
|
269
269
|
readonly animation_setStaticScene: (a: number, b: number, c: number) => void;
|
|
270
270
|
readonly animation_toJson: (a: number, b: number) => void;
|
|
271
271
|
readonly bindingContractJson: (a: number) => void;
|
|
272
|
-
readonly scene_add: (a: number, b: number, c:
|
|
272
|
+
readonly scene_add: (a: number, b: number, c: any, d: number) => void;
|
|
273
273
|
readonly scene_cloneScene: (a: number, b: number) => void;
|
|
274
274
|
readonly scene_mergeShapes: (a: number, b: number, c: number) => void;
|
|
275
275
|
readonly scene_new: (a: number) => void;
|
|
276
|
-
readonly scene_recenter: (a: number, b: number, c:
|
|
277
|
-
readonly scene_recenterOn: (a: number, b: number, c:
|
|
278
|
-
readonly scene_removeShape: (a: number, b: number, c:
|
|
279
|
-
readonly scene_rotateCamera: (a: number, b: number, c:
|
|
280
|
-
readonly scene_set: (a: number, b: number, c:
|
|
281
|
-
readonly scene_setAmbientLight: (a: number, b: number, c:
|
|
282
|
-
readonly scene_setAutoRotate: (a: number, b: number, c:
|
|
283
|
-
readonly scene_setBackgroundColor: (a: number, b: number, c:
|
|
284
|
-
readonly scene_setCameraDistance: (a: number, b: number, c:
|
|
285
|
-
readonly scene_setCameraFov: (a: number, b: number, c:
|
|
286
|
-
readonly scene_setCameraTarget: (a: number, b: number, c:
|
|
287
|
-
readonly scene_setCameraView: (a: number, b: number, c:
|
|
288
|
-
readonly scene_setDepthCue: (a: number, b: number, c:
|
|
289
|
-
readonly scene_setDepthCueColor: (a: number, b: number, c:
|
|
290
|
-
readonly scene_setDepthCueRange: (a: number, b: number, c:
|
|
291
|
-
readonly scene_setLightColor: (a: number, b: number, c:
|
|
292
|
-
readonly scene_setLightIntensity: (a: number, b: number, c:
|
|
293
|
-
readonly scene_setLighting: (a: number, b: number, c:
|
|
294
|
-
readonly scene_setScale: (a: number, b: number, c:
|
|
295
|
-
readonly scene_setTransparentBackground: (a: number, b: number, c:
|
|
296
|
-
readonly scene_setZoomDisabled: (a: number, b: number, c:
|
|
276
|
+
readonly scene_recenter: (a: number, b: number, c: any) => void;
|
|
277
|
+
readonly scene_recenterOn: (a: number, b: number, c: any) => void;
|
|
278
|
+
readonly scene_removeShape: (a: number, b: number, c: any) => void;
|
|
279
|
+
readonly scene_rotateCamera: (a: number, b: number, c: any, d: any, e: any) => void;
|
|
280
|
+
readonly scene_set: (a: number, b: number, c: any, d: any, e: number) => void;
|
|
281
|
+
readonly scene_setAmbientLight: (a: number, b: number, c: any) => void;
|
|
282
|
+
readonly scene_setAutoRotate: (a: number, b: number, c: any, d: any) => void;
|
|
283
|
+
readonly scene_setBackgroundColor: (a: number, b: number, c: any) => void;
|
|
284
|
+
readonly scene_setCameraDistance: (a: number, b: number, c: any) => void;
|
|
285
|
+
readonly scene_setCameraFov: (a: number, b: number, c: any) => void;
|
|
286
|
+
readonly scene_setCameraTarget: (a: number, b: number, c: any) => void;
|
|
287
|
+
readonly scene_setCameraView: (a: number, b: number, c: any, d: any, e: any, f: any, g: any, h: any) => void;
|
|
288
|
+
readonly scene_setDepthCue: (a: number, b: number, c: any) => void;
|
|
289
|
+
readonly scene_setDepthCueColor: (a: number, b: number, c: any) => void;
|
|
290
|
+
readonly scene_setDepthCueRange: (a: number, b: number, c: any, d: any) => void;
|
|
291
|
+
readonly scene_setLightColor: (a: number, b: number, c: any) => void;
|
|
292
|
+
readonly scene_setLightIntensity: (a: number, b: number, c: any) => void;
|
|
293
|
+
readonly scene_setLighting: (a: number, b: number, c: any, d: any, e: any, f: any, g: any) => void;
|
|
294
|
+
readonly scene_setScale: (a: number, b: number, c: any) => void;
|
|
295
|
+
readonly scene_setTransparentBackground: (a: number, b: number, c: any) => void;
|
|
296
|
+
readonly scene_setZoomDisabled: (a: number, b: number, c: any) => void;
|
|
297
297
|
readonly scene_shapeCount: (a: number, b: number) => void;
|
|
298
298
|
readonly scene_toJson: (a: number, b: number) => void;
|
|
299
299
|
readonly scene_useBlackBackground: (a: number, b: number) => void;
|
|
300
|
-
readonly select: (a: number, b:
|
|
300
|
+
readonly select: (a: number, b: any) => void;
|
|
301
301
|
readonly selection_aromatic: (a: number, b: number) => void;
|
|
302
302
|
readonly selection_cloneSelection: (a: number, b: number) => void;
|
|
303
303
|
readonly selection_difference: (a: number, b: number, c: number) => void;
|
|
304
|
-
readonly selection_element: (a: number, b: number, c:
|
|
305
|
-
readonly selection_filterIds: (a: number, b: number, c:
|
|
304
|
+
readonly selection_element: (a: number, b: number, c: any) => void;
|
|
305
|
+
readonly selection_filterIds: (a: number, b: number, c: any) => void;
|
|
306
306
|
readonly selection_ids: (a: number, b: number) => void;
|
|
307
307
|
readonly selection_len: (a: number, b: number) => void;
|
|
308
|
-
readonly selection_residueIds: (a: number, b: number, c:
|
|
308
|
+
readonly selection_residueIds: (a: number, b: number, c: any) => void;
|
|
309
309
|
readonly selection_sidechain: (a: number, b: number) => void;
|
|
310
310
|
readonly selector_atoms: (a: number, b: number) => void;
|
|
311
311
|
readonly selector_bonds: (a: number, b: number) => void;
|
|
312
312
|
readonly selector_residues: (a: number, b: number) => void;
|
|
313
313
|
readonly sphere_cloneShape: (a: number, b: number) => void;
|
|
314
|
-
readonly sphere_color: (a: number, b: number, c:
|
|
315
|
-
readonly sphere_new: (a: number, b:
|
|
316
|
-
readonly sphere_opacity: (a: number, b: number, c:
|
|
314
|
+
readonly sphere_color: (a: number, b: number, c: any) => void;
|
|
315
|
+
readonly sphere_new: (a: number, b: any, c: any) => void;
|
|
316
|
+
readonly sphere_opacity: (a: number, b: number, c: any) => void;
|
|
317
317
|
readonly stick_cloneShape: (a: number, b: number) => void;
|
|
318
|
-
readonly stick_color: (a: number, b: number, c:
|
|
319
|
-
readonly stick_new: (a: number, b:
|
|
320
|
-
readonly stick_opacity: (a: number, b: number, c:
|
|
318
|
+
readonly stick_color: (a: number, b: number, c: any) => void;
|
|
319
|
+
readonly stick_new: (a: number, b: any, c: any, d: any) => void;
|
|
320
|
+
readonly stick_opacity: (a: number, b: number, c: any) => void;
|
|
321
321
|
readonly style_ballAndStick: (a: number) => void;
|
|
322
322
|
readonly style_cartoon: (a: number) => void;
|
|
323
323
|
readonly style_cloneStyle: (a: number, b: number) => void;
|
|
324
|
-
readonly style_color: (a: number, b: number, c:
|
|
325
|
-
readonly style_configureSurface: (a: number, b: number, c:
|
|
326
|
-
readonly style_conformer: (a: number, b: number, c:
|
|
324
|
+
readonly style_color: (a: number, b: number, c: any) => void;
|
|
325
|
+
readonly style_configureSurface: (a: number, b: number, c: any, d: any, e: any, f: any) => void;
|
|
326
|
+
readonly style_conformer: (a: number, b: number, c: any) => void;
|
|
327
327
|
readonly style_coordinates2d: (a: number, b: number) => void;
|
|
328
|
-
readonly style_metallic: (a: number, b: number, c:
|
|
329
|
-
readonly style_opacity: (a: number, b: number, c:
|
|
330
|
-
readonly style_outline: (a: number, b: number, c:
|
|
328
|
+
readonly style_metallic: (a: number, b: number, c: any) => void;
|
|
329
|
+
readonly style_opacity: (a: number, b: number, c: any) => void;
|
|
330
|
+
readonly style_outline: (a: number, b: number, c: any, d: any) => void;
|
|
331
331
|
readonly style_rainbowResidues: (a: number, b: number) => void;
|
|
332
|
-
readonly style_roughness: (a: number, b: number, c:
|
|
333
|
-
readonly style_scale: (a: number, b: number, c:
|
|
332
|
+
readonly style_roughness: (a: number, b: number, c: any) => void;
|
|
333
|
+
readonly style_scale: (a: number, b: number, c: any) => void;
|
|
334
334
|
readonly style_sphere: (a: number) => void;
|
|
335
335
|
readonly style_stick: (a: number) => void;
|
|
336
336
|
readonly style_surface: (a: number) => void;
|
|
337
|
-
readonly viewer_cameraParameterLogging: (a: number, b: number, c:
|
|
337
|
+
readonly viewer_cameraParameterLogging: (a: number, b: number, c: any) => void;
|
|
338
338
|
readonly viewer_close: (a: number, b: number) => void;
|
|
339
|
-
readonly viewer_dispatch: (a: number, b: number, c:
|
|
340
|
-
readonly viewer_new: (a: number, b:
|
|
341
|
-
readonly viewer_openNotebook: (a:
|
|
342
|
-
readonly viewer_play: (a: number, b: number) =>
|
|
343
|
-
readonly viewer_playNotebook: (a:
|
|
344
|
-
readonly viewer_render: (a: number, b: number) =>
|
|
345
|
-
readonly viewer_showCameraParameters: (a: number, b: number, c:
|
|
346
|
-
readonly viewer_showFps: (a: number, b: number, c:
|
|
347
|
-
readonly viewer_takeScreenshot: (a: number) =>
|
|
339
|
+
readonly viewer_dispatch: (a: number, b: number, c: any) => void;
|
|
340
|
+
readonly viewer_new: (a: number, b: any) => void;
|
|
341
|
+
readonly viewer_openNotebook: (a: any, b: any) => any;
|
|
342
|
+
readonly viewer_play: (a: number, b: number) => any;
|
|
343
|
+
readonly viewer_playNotebook: (a: any, b: any) => any;
|
|
344
|
+
readonly viewer_render: (a: number, b: number) => any;
|
|
345
|
+
readonly viewer_showCameraParameters: (a: number, b: number, c: any) => void;
|
|
346
|
+
readonly viewer_showFps: (a: number, b: number, c: any) => void;
|
|
347
|
+
readonly viewer_takeScreenshot: (a: number) => any;
|
|
348
348
|
readonly viewer_update: (a: number, b: number, c: number) => void;
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
351
|
-
readonly
|
|
352
|
-
readonly
|
|
353
|
-
readonly
|
|
349
|
+
readonly __wasm_bindgen_func_elem_8603: (a: number, b: number, c: number, d: any) => void;
|
|
350
|
+
readonly __wasm_bindgen_func_elem_8605: (a: number, b: number, c: any, d: any) => void;
|
|
351
|
+
readonly __wasm_bindgen_func_elem_3742: (a: number, b: number, c: number) => void;
|
|
352
|
+
readonly __wasm_bindgen_func_elem_3743: (a: number, b: number, c: any) => void;
|
|
353
|
+
readonly __wasm_bindgen_func_elem_3743_91: (a: number, b: number, c: any) => void;
|
|
354
354
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
355
355
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
356
|
-
readonly __wbindgen_export3: (a: number) => void;
|
|
357
|
-
readonly __wbindgen_export4: (
|
|
358
|
-
readonly
|
|
356
|
+
readonly __wbindgen_export3: (a: number, b: number, c: number) => void;
|
|
357
|
+
readonly __wbindgen_export4: () => number;
|
|
358
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
359
|
+
readonly __wbindgen_export5: (a: number) => void;
|
|
360
|
+
readonly __wbindgen_export6: (a: number, b: number) => void;
|
|
359
361
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
362
|
+
readonly __wbindgen_export7: (a: number) => void;
|
|
363
|
+
readonly __wbindgen_start: () => void;
|
|
360
364
|
}
|
|
361
365
|
|
|
362
366
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|