@cognite/reveal 4.20.0 → 4.20.1-dev.20241101

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.
@@ -43,15 +43,15 @@ export declare class Image360ApiHelper<DataSourceT extends DataSourceType> {
43
43
  private tweenVisualizationAlpha;
44
44
  private tweenVisualizationZoom;
45
45
  private setStationaryCameraManager;
46
- exit360Image(): void;
47
- canDoAction(action: Image360Action): boolean;
48
- doAction(action: Image360Action): Promise<void>;
46
+ exit360Image(): boolean;
47
+ canDoImage360Action(action: Image360Action): boolean;
48
+ image360Action(action: Image360Action): Promise<void>;
49
49
  dispose(): void;
50
50
  private findRevisionIdToEnter;
51
51
  private enter360ImageOnIntersect;
52
52
  intersect360ImageIcons(offsetX: number, offsetY: number): Image360Entity<DataSourceT> | undefined;
53
53
  intersect360ImageAnnotations(offsetX: number, offsetY: number): Image360AnnotationIntersection | undefined;
54
54
  private setHoverIconOnIntersect;
55
- private exit360ImageOnEscape;
55
+ private exit360ImageByTween;
56
56
  private getImageOpacity;
57
57
  }
@@ -330,13 +330,13 @@ export declare class Cognite3DViewer<DataSourceT extends DataSourceType = Classi
330
330
  * @param action The action to check if can be done.
331
331
  * @beta
332
332
  */
333
- canDo360Action(action: Image360Action): boolean;
333
+ canDoImage360Action(action: Image360Action): boolean;
334
334
  /**
335
335
  * Do a 360 image action.
336
336
  * @param action The action to do.
337
337
  * @beta
338
338
  */
339
- do360Action(action: Image360Action): Promise<void>;
339
+ image360Action(action: Image360Action): Promise<void>;
340
340
  /**
341
341
  * Removes a model that was previously added using {@link Cognite3DViewer.addModel},
342
342
  * {@link Cognite3DViewer.addCadModel} or {@link Cognite3DViewer.addPointCloudModel}
@@ -691,7 +691,7 @@ export declare class Cognite3DViewer<DataSourceT extends DataSourceType = Classi
691
691
  */
692
692
  onClick360Images(event: PointerEvent): Promise<boolean>;
693
693
  /**
694
- * Event function to to move the mouse.
694
+ * Event function to move the mouse.
695
695
  * @param event The event type.
696
696
  * @returns True if the event was handled, false otherwise.
697
697
  * @beta
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/reveal",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-dev.20241101",
4
4
  "description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
5
5
  "homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
6
6
  "repository": {