@cognite/reveal 4.10.3 → 4.10.5
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/dist/index.js +106 -90
- package/dist/index.js.map +1 -1
- package/dist/packages/api/src/public/migration/Cognite3DViewer.d.ts +1 -1
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraManager.d.ts +6 -4
- package/dist/packages/camera-manager/src/Flexible/FlexibleControls.d.ts +12 -2
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsOptions.d.ts +4 -2
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsRotationHelper.d.ts +15 -0
- package/dist/packages/camera-manager/src/Flexible/IFlexibleCameraManager.d.ts +24 -0
- package/dist/packages/camera-manager/src/Keyboard.d.ts +6 -4
- package/dist/packages/tools/index.d.ts +4 -1
- package/dist/packages/tools/src/AxisGizmo/AxisGizmoOptions.d.ts +36 -0
- package/dist/packages/tools/src/AxisGizmo/AxisGizmoTool.d.ts +55 -0
- package/dist/packages/tools/src/AxisGizmo/OneGizmoAxis.d.ts +26 -0
- package/dist/packages/tools/src/AxisView/AxisViewTool.d.ts +0 -1
- package/dist/packages/tools/src/AxisView/types.d.ts +1 -9
- package/dist/packages/tools/src/utilities/Corner.d.ts +12 -0
- package/dist/packages/tools/src/utilities/moveCameraTo.d.ts +6 -0
- package/package.json +7 -7
|
@@ -75,7 +75,7 @@ export declare class Cognite3DViewer {
|
|
|
75
75
|
/**
|
|
76
76
|
* Reusable buffers used by functions in Cognite3dViewer to avoid allocations.
|
|
77
77
|
*/
|
|
78
|
-
private readonly
|
|
78
|
+
private readonly _boundingBoxes;
|
|
79
79
|
/**
|
|
80
80
|
* Gets the current budget for downloading geometry for CAD models. Note that this
|
|
81
81
|
* budget is shared between all added CAD models and not a per-model budget.
|
|
@@ -25,8 +25,8 @@ export declare class FlexibleCameraManager implements IFlexibleCameraManager {
|
|
|
25
25
|
private readonly _markers?;
|
|
26
26
|
private readonly _currentBoundingBox;
|
|
27
27
|
private _isDisposed;
|
|
28
|
+
private _isEnableClickAndDoubleClick;
|
|
28
29
|
private _nearAndFarNeedsUpdate;
|
|
29
|
-
private _isEnabled;
|
|
30
30
|
private _prevTime;
|
|
31
31
|
private readonly _prevCoords;
|
|
32
32
|
private readonly _raycastCallback;
|
|
@@ -45,23 +45,25 @@ export declare class FlexibleCameraManager implements IFlexibleCameraManager {
|
|
|
45
45
|
on(event: CameraManagerEventType, callback: CameraEventDelegate): void;
|
|
46
46
|
off(event: CameraManagerEventType, callback: CameraEventDelegate): void;
|
|
47
47
|
fitCameraToBoundingBox(boundingBox: Box3, duration?: number, radiusFactor?: number): void;
|
|
48
|
-
update(deltaTime: number,
|
|
48
|
+
update(deltaTime: number, nearFarBoundingBox: Box3): void;
|
|
49
49
|
dispose(): void;
|
|
50
50
|
get controlsType(): FlexibleControlsType;
|
|
51
51
|
set controlsType(value: FlexibleControlsType);
|
|
52
|
+
rotateCameraTo(direction: Vector3, animationDuration: number): void;
|
|
52
53
|
addControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
53
54
|
removeControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
55
|
+
updateModelBoundingBox(modelBoundingBox: Box3): void;
|
|
54
56
|
get options(): FlexibleControlsOptions;
|
|
55
57
|
get controls(): FlexibleControls;
|
|
56
58
|
get camera(): PerspectiveCamera;
|
|
57
59
|
get domElement(): HTMLElement;
|
|
58
60
|
get isEnabled(): boolean;
|
|
61
|
+
get isEnableClickAndDoubleClick(): boolean;
|
|
59
62
|
get isDisposed(): boolean;
|
|
60
63
|
private set isEnabled(value);
|
|
64
|
+
set isEnableClickAndDoubleClick(value: boolean);
|
|
61
65
|
private getPosition;
|
|
62
66
|
private getTarget;
|
|
63
|
-
getBoundingBoxDiagonal(): number;
|
|
64
|
-
getHorizontalDiagonal(): number;
|
|
65
67
|
setPositionAndTarget(position: Vector3, target: Vector3): void;
|
|
66
68
|
private readonly getPickedPointByPixelCoordinates;
|
|
67
69
|
private getTargetByBoundingBox;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { EventDispatcher, OrthographicCamera, PerspectiveCamera, Quaternion, Vector2, Vector3 } from 'three';
|
|
4
|
+
import { EventDispatcher, OrthographicCamera, PerspectiveCamera, Quaternion, Spherical, Vector2, Vector3 } from 'three';
|
|
5
5
|
import { FlexibleControlsType } from './FlexibleControlsType';
|
|
6
6
|
import { FlexibleControlsOptions } from './FlexibleControlsOptions';
|
|
7
7
|
import { DampedVector3 } from './DampedVector3';
|
|
@@ -27,11 +27,15 @@ export declare class FlexibleControls extends EventDispatcher<FlexibleControlsEv
|
|
|
27
27
|
private readonly _keyboard;
|
|
28
28
|
private readonly _pointEventCache;
|
|
29
29
|
private _getPickedPointByPixelCoordinates;
|
|
30
|
+
private _rawCameraRotation;
|
|
30
31
|
private readonly _reusableVector3s;
|
|
32
|
+
private readonly _rotationHelper;
|
|
33
|
+
private _mouseDragInfo;
|
|
31
34
|
constructor(camera: PerspectiveCamera | OrthographicCamera, domElement: HTMLElement, options: FlexibleControlsOptions);
|
|
32
35
|
dispose(): void;
|
|
33
36
|
get options(): FlexibleControlsOptions;
|
|
34
37
|
get camera(): PerspectiveCamera | OrthographicCamera;
|
|
38
|
+
get target(): DampedVector3;
|
|
35
39
|
get cameraVector(): DampedSpherical;
|
|
36
40
|
get cameraPosition(): DampedVector3;
|
|
37
41
|
get isEnabled(): boolean;
|
|
@@ -63,9 +67,10 @@ export declare class FlexibleControls extends EventDispatcher<FlexibleControlsEv
|
|
|
63
67
|
update(deltaTimeS: number, forceUpdate?: boolean): boolean;
|
|
64
68
|
triggerCameraChangeEvent(): void;
|
|
65
69
|
triggerControlsTypeChangeEvent(): void;
|
|
70
|
+
rotateCameraTo(startDirection: Spherical, endDirection: Spherical, factor: number): void;
|
|
66
71
|
private readonly onPointerDown;
|
|
67
72
|
private readonly onMouseDown;
|
|
68
|
-
private
|
|
73
|
+
private readonly onPointerMove;
|
|
69
74
|
private readonly onPointerUp;
|
|
70
75
|
private readonly onMouseWheel;
|
|
71
76
|
private readonly onTouchStart;
|
|
@@ -73,6 +78,8 @@ export declare class FlexibleControls extends EventDispatcher<FlexibleControlsEv
|
|
|
73
78
|
private readonly onContextMenu;
|
|
74
79
|
addEventListeners(): void;
|
|
75
80
|
private removeEventListeners;
|
|
81
|
+
updateCameraAndTriggerCameraChangeEvent(): void;
|
|
82
|
+
updateCamera(deltaTimeS: number, forceUpdate?: boolean, useDampening?: boolean): boolean;
|
|
76
83
|
private startTouchRotation;
|
|
77
84
|
private rotate;
|
|
78
85
|
getAzimuthCompensationFactor(): number;
|
|
@@ -91,3 +98,6 @@ export declare class FlexibleControls extends EventDispatcher<FlexibleControlsEv
|
|
|
91
98
|
private handleRotationFromKeyboard;
|
|
92
99
|
private handleMoveFromKeyboard;
|
|
93
100
|
}
|
|
101
|
+
export declare function isMouse(event: PointerEvent): boolean;
|
|
102
|
+
export declare function isTouch(event: PointerEvent): boolean;
|
|
103
|
+
export declare function isPressed(event: PointerEvent): boolean;
|
|
@@ -9,7 +9,6 @@ import { FlexibleWheelZoomType } from './FlexibleWheelZoomType';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class FlexibleControlsOptions {
|
|
11
11
|
controlsType: FlexibleControlsType;
|
|
12
|
-
showTarget: boolean;
|
|
13
12
|
mouseWheelAction: FlexibleWheelZoomType;
|
|
14
13
|
mouseClickType: FlexibleMouseActionType;
|
|
15
14
|
mouseDoubleClickType: FlexibleMouseActionType;
|
|
@@ -46,8 +45,11 @@ export declare class FlexibleControlsOptions {
|
|
|
46
45
|
keyboardFastMoveFactor: number;
|
|
47
46
|
pinchEpsilon: number;
|
|
48
47
|
pinchPanSpeed: number;
|
|
49
|
-
EPSILON: number;
|
|
50
48
|
orthographicCameraDollyFactor: number;
|
|
49
|
+
showTarget: boolean;
|
|
50
|
+
relativeMarkerSize: number;
|
|
51
|
+
outerMarkerColor: string;
|
|
52
|
+
innerMarkerColor: string;
|
|
51
53
|
get realMouseWheelAction(): FlexibleWheelZoomType;
|
|
52
54
|
get shouldPick(): boolean;
|
|
53
55
|
getLegalAzimuthAngle(azimuthAngle: number): number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2024 Cognite AS
|
|
3
|
+
*/
|
|
4
|
+
import { FlexibleControls } from './FlexibleControls';
|
|
5
|
+
/**
|
|
6
|
+
* Helper class for rotating the camera. Call begin() before rotation,
|
|
7
|
+
* and end() after so the camera position updates correcly
|
|
8
|
+
* @beta
|
|
9
|
+
*/
|
|
10
|
+
export declare class FlexibleControlsRotationHelper {
|
|
11
|
+
private readonly oldOffset;
|
|
12
|
+
private readonly oldCameraVectorEnd;
|
|
13
|
+
begin(controls: FlexibleControls): void;
|
|
14
|
+
end(controls: FlexibleControls): void;
|
|
15
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { CameraManager } from '../CameraManager';
|
|
5
5
|
import { FlexibleControlsType } from './FlexibleControlsType';
|
|
6
|
+
import { Vector3 } from 'three';
|
|
6
7
|
/**
|
|
7
8
|
* @beta
|
|
8
9
|
*/
|
|
@@ -10,11 +11,34 @@ export type FlexibleControlsTypeChangeDelegate = (controlsType: FlexibleControls
|
|
|
10
11
|
/**
|
|
11
12
|
* Flexible implementation of {@link CameraManager}. The user can switch between Orbit, FirstPersion or OrbitInCenter
|
|
12
13
|
* Supports automatic update of camera near and far planes and animated change of camera position and target.
|
|
14
|
+
* It provides additional functionality for controlling camera behavior and rotation.
|
|
13
15
|
* @beta
|
|
14
16
|
*/
|
|
15
17
|
export interface IFlexibleCameraManager extends CameraManager {
|
|
18
|
+
/**
|
|
19
|
+
* Get curent FlexibleControlsType type
|
|
20
|
+
*/
|
|
16
21
|
get controlsType(): FlexibleControlsType;
|
|
22
|
+
/**
|
|
23
|
+
* Set curent FlexibleControlsType type
|
|
24
|
+
*/
|
|
17
25
|
set controlsType(value: FlexibleControlsType);
|
|
26
|
+
/**
|
|
27
|
+
* Rotates the camera to look in the specified direction.
|
|
28
|
+
* Supports automatic update of camera near and far planes and animated change of camera position and target.
|
|
29
|
+
* @beta
|
|
30
|
+
* @param direction - The direction to rotate the camera towards.
|
|
31
|
+
* @param animationDuration - The duration of the rotation animation in milliseconds.
|
|
32
|
+
*/
|
|
33
|
+
rotateCameraTo(direction: Vector3, animationDuration: number): void;
|
|
34
|
+
/**
|
|
35
|
+
* Adds a listener for changes in the controls type of the camera manager.
|
|
36
|
+
* @param callback - The callback function to be invoked when the controls type changes.
|
|
37
|
+
*/
|
|
18
38
|
addControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
39
|
+
/**
|
|
40
|
+
* Removes a listener for changes in the controls type of the camera manager.
|
|
41
|
+
* @param callback - The callback function to be removed from the controls type change listeners.
|
|
42
|
+
*/
|
|
19
43
|
removeControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
20
44
|
}
|
|
@@ -5,14 +5,16 @@ declare const EVENT_CODES: readonly ["MetaLeft", "MetaRight", "ShiftLeft", "Shif
|
|
|
5
5
|
type EventCode = (typeof EVENT_CODES)[number];
|
|
6
6
|
export default class Keyboard {
|
|
7
7
|
private readonly _keys;
|
|
8
|
-
private
|
|
8
|
+
private _isEnabled;
|
|
9
9
|
private readonly _domElement;
|
|
10
|
-
get
|
|
11
|
-
set
|
|
10
|
+
get isEnabled(): boolean;
|
|
11
|
+
set isEnabled(value: boolean);
|
|
12
12
|
constructor(domElement: HTMLElement);
|
|
13
13
|
isPressed(key: EventCode): boolean;
|
|
14
14
|
isShiftPressed(): boolean;
|
|
15
|
+
isShiftPressedOnly(): boolean;
|
|
15
16
|
isCtrlPressed(): boolean;
|
|
17
|
+
isCtrlPressedOnly(): boolean;
|
|
16
18
|
isAltPressed(): boolean;
|
|
17
19
|
isMetaPressed(): boolean;
|
|
18
20
|
dispose(): void;
|
|
@@ -29,6 +31,6 @@ export default class Keyboard {
|
|
|
29
31
|
private readonly removeEventListeners;
|
|
30
32
|
private readonly onKeyDown;
|
|
31
33
|
private readonly onKeyUp;
|
|
32
|
-
|
|
34
|
+
readonly clearPressedKeys: () => void;
|
|
33
35
|
}
|
|
34
36
|
export {};
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
export { HtmlOverlayTool, HtmlOverlayOptions, HtmlOverlayToolOptions, HtmlOverlayToolClusteringOptions, HtmlOverlayPositionUpdatedDelegate, HtmlOverlayCreateClusterDelegate } from './src/HtmlOverlay/HtmlOverlayTool';
|
|
5
5
|
export { DebugCameraTool } from './src/DebugCameraTool';
|
|
6
6
|
export { AxisViewTool } from './src/AxisView/AxisViewTool';
|
|
7
|
-
export {
|
|
7
|
+
export { AxisGizmoTool } from './src/AxisGizmo/AxisGizmoTool';
|
|
8
|
+
export { AxisGizmoOptions } from './src/AxisGizmo/AxisGizmoOptions';
|
|
9
|
+
export { AxisBoxConfig, AxisBoxCompassConfig, AxisBoxFaceConfig, AbsolutePosition, RelativePosition } from './src/AxisView/types';
|
|
10
|
+
export { Corner } from './src/utilities/Corner';
|
|
8
11
|
export { Overlay3DTool, Overlay3DToolParameters, OverlayEventHandler, OverlayToolEvent, OverlayCollectionOptions } from './src/Overlay3D/Overlay3DTool';
|
|
9
12
|
export { TimelineTool } from './src/Timeline/TimelineTool';
|
|
10
13
|
export { Keyframe } from './src/Timeline/Keyframe';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Corner } from '../utilities/Corner';
|
|
2
|
+
/**
|
|
3
|
+
* Options for styling the AxisGizmoTool
|
|
4
|
+
* @beta
|
|
5
|
+
*/
|
|
6
|
+
export declare class AxisGizmoOptions {
|
|
7
|
+
size: number;
|
|
8
|
+
corner: Corner;
|
|
9
|
+
xMargin: number;
|
|
10
|
+
yMargin: number;
|
|
11
|
+
bubbleRadius: number;
|
|
12
|
+
insideMargin: number;
|
|
13
|
+
primaryLineWidth: number;
|
|
14
|
+
secondaryLineWidth: number;
|
|
15
|
+
bobbleLineWidth: number;
|
|
16
|
+
useGeoLabels: boolean;
|
|
17
|
+
yUp: boolean;
|
|
18
|
+
fontSize: string;
|
|
19
|
+
fontFamily: string;
|
|
20
|
+
fontWeight: string;
|
|
21
|
+
normalTextColor: string;
|
|
22
|
+
selectedTextColor: string;
|
|
23
|
+
focusCircleColor: string;
|
|
24
|
+
focusCircleAlpha: number;
|
|
25
|
+
fontYAdjust: number;
|
|
26
|
+
lightColors: number[];
|
|
27
|
+
darkColors: number[];
|
|
28
|
+
animationDuration: number;
|
|
29
|
+
private _font;
|
|
30
|
+
get radius(): number;
|
|
31
|
+
/**
|
|
32
|
+
* Get the font style.
|
|
33
|
+
* @returns The font style.
|
|
34
|
+
*/
|
|
35
|
+
getFont(): string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AxisGizmoOptions } from './AxisGizmoOptions';
|
|
2
|
+
import { Cognite3DViewer } from '../../../api';
|
|
3
|
+
import { Cognite3DViewerToolBase } from '../Cognite3DViewerToolBase';
|
|
4
|
+
/**
|
|
5
|
+
* Class for axis gizmo like the one in Blender
|
|
6
|
+
* @beta
|
|
7
|
+
*/
|
|
8
|
+
export declare class AxisGizmoTool extends Cognite3DViewerToolBase {
|
|
9
|
+
private readonly _options;
|
|
10
|
+
private readonly _axes;
|
|
11
|
+
private readonly _center;
|
|
12
|
+
private _mousePosition;
|
|
13
|
+
private _selectedAxis;
|
|
14
|
+
private _isMouseOver;
|
|
15
|
+
private _inDragging;
|
|
16
|
+
private _viewer;
|
|
17
|
+
private _element;
|
|
18
|
+
private _canvas;
|
|
19
|
+
private _context;
|
|
20
|
+
private readonly _onPointerDown;
|
|
21
|
+
private readonly _onPointerUp;
|
|
22
|
+
private readonly _onPointerMove;
|
|
23
|
+
private readonly _onPointerOut;
|
|
24
|
+
private readonly _onMouseClick;
|
|
25
|
+
private readonly _onMouseDoubleClick;
|
|
26
|
+
constructor(option?: AxisGizmoOptions);
|
|
27
|
+
dispose(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Connects the AxisGizmoTool to a Cognite3DViewer instance.
|
|
30
|
+
* @param viewer The Cognite3DViewer instance to connect to.
|
|
31
|
+
* Note: After it is connected to the viewer the tool can not be moved or
|
|
32
|
+
* changed size by changing the fields: size, corner, yMargin and yMargin
|
|
33
|
+
* in the AxisGizmoOptions
|
|
34
|
+
*/
|
|
35
|
+
connect(viewer: Cognite3DViewer): void;
|
|
36
|
+
get options(): AxisGizmoOptions;
|
|
37
|
+
private onPointerDown;
|
|
38
|
+
private onPointerUp;
|
|
39
|
+
private onPointerMove;
|
|
40
|
+
private onPointerOut;
|
|
41
|
+
private onMouseClick;
|
|
42
|
+
private onMouseDoubleClick;
|
|
43
|
+
private readonly onCameraChange;
|
|
44
|
+
private getTextColor;
|
|
45
|
+
private isMouseOver;
|
|
46
|
+
private getAxisToUse;
|
|
47
|
+
private getSelectedAxis;
|
|
48
|
+
private updateSelectedAxis;
|
|
49
|
+
private updateAndRender;
|
|
50
|
+
private updateAxisPosition;
|
|
51
|
+
private addEventListeners;
|
|
52
|
+
private removeEventListeners;
|
|
53
|
+
private createElement;
|
|
54
|
+
private render;
|
|
55
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
import { AxisGizmoOptions } from './AxisGizmoOptions';
|
|
3
|
+
/**
|
|
4
|
+
* This class is used internally in AxisGizmoTool
|
|
5
|
+
* @beta
|
|
6
|
+
*/
|
|
7
|
+
export declare class OneGizmoAxis {
|
|
8
|
+
readonly axis: number;
|
|
9
|
+
readonly isPrimary: boolean;
|
|
10
|
+
readonly direction: Vector3;
|
|
11
|
+
readonly upAxis: Vector3;
|
|
12
|
+
readonly bubblePosition: Vector3;
|
|
13
|
+
readonly label: string;
|
|
14
|
+
private readonly _lightColor;
|
|
15
|
+
private readonly _darkColor;
|
|
16
|
+
private constructor();
|
|
17
|
+
getLightColorInHex(): string;
|
|
18
|
+
getDarkColorInHex(): string;
|
|
19
|
+
getColorFraction(): number;
|
|
20
|
+
private createGeoLabel;
|
|
21
|
+
private createMathLabel;
|
|
22
|
+
private getMathAxisName;
|
|
23
|
+
private createUpAxis;
|
|
24
|
+
private createDirection;
|
|
25
|
+
static createAllAxes(options: AxisGizmoOptions): OneGizmoAxis[];
|
|
26
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
4
|
import * as THREE from 'three';
|
|
5
|
+
import { Corner } from '../utilities/Corner';
|
|
5
6
|
/**
|
|
6
7
|
* Configuration of {@link AxisViewTool}.
|
|
7
8
|
*/
|
|
@@ -84,15 +85,6 @@ export type AxisBoxCompassConfig = {
|
|
|
84
85
|
fontColor?: THREE.Color;
|
|
85
86
|
tickColor?: THREE.Color;
|
|
86
87
|
};
|
|
87
|
-
/**
|
|
88
|
-
* A corner of the viewer.
|
|
89
|
-
*/
|
|
90
|
-
export declare enum Corner {
|
|
91
|
-
TopRight = 0,
|
|
92
|
-
TopLeft = 1,
|
|
93
|
-
BottomLeft = 2,
|
|
94
|
-
BottomRight = 3
|
|
95
|
-
}
|
|
96
88
|
export declare const defaultAxisBoxCompassConfig: AxisBoxCompassConfig;
|
|
97
89
|
export declare const defaultFaceConfig: AxisBoxFaceConfig;
|
|
98
90
|
export declare const defaultAxisBoxConfig: Required<AxisBoxConfig>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 Cognite AS
|
|
3
|
+
*/
|
|
4
|
+
import { CameraManager } from '../../../camera-manager';
|
|
5
|
+
import { Vector3 } from 'three';
|
|
6
|
+
export declare function moveCameraTo(cameraManager: CameraManager, targetAxis: Vector3, targetUpAxis: Vector3, duration: number): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.5",
|
|
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": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@azure/msal-browser": "2.38.3",
|
|
83
83
|
"@cognite/sdk": "8.3.0",
|
|
84
|
-
"@microsoft/api-extractor": "7.
|
|
84
|
+
"@microsoft/api-extractor": "7.41.0",
|
|
85
85
|
"@types/dat.gui": "0.7.12",
|
|
86
86
|
"@types/gl": "^6.0.2",
|
|
87
87
|
"@types/glob": "8.1.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@types/jsdom": "21.1.6",
|
|
92
92
|
"@types/lodash": "4.14.202",
|
|
93
93
|
"@types/mixpanel-browser": "2.49.0",
|
|
94
|
-
"@types/node": "18.19.
|
|
94
|
+
"@types/node": "18.19.21",
|
|
95
95
|
"@types/random-seed": "0.3.5",
|
|
96
96
|
"@types/skmeans": "0.11.7",
|
|
97
97
|
"@types/stats": "0.16.30",
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
"concurrently": "8.2.2",
|
|
103
103
|
"cross-env": "7.0.3",
|
|
104
104
|
"dat.gui": "0.7.9",
|
|
105
|
-
"eslint": "8.
|
|
105
|
+
"eslint": "8.57.0",
|
|
106
106
|
"eslint-config-prettier": "9.1.0",
|
|
107
107
|
"eslint-plugin-header": "3.1.1",
|
|
108
|
-
"eslint-plugin-jsdoc": "
|
|
108
|
+
"eslint-plugin-jsdoc": "48.2.0",
|
|
109
109
|
"eslint-plugin-lodash": "7.4.0",
|
|
110
110
|
"eslint-plugin-prettier": "5.1.3",
|
|
111
111
|
"eslint-plugin-unused-imports": "3.1.0",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"jest-puppeteer": "9.0.2",
|
|
123
123
|
"jsdom": "23.2.0",
|
|
124
124
|
"moq.ts": "10.0.8",
|
|
125
|
-
"nock": "13.5.
|
|
125
|
+
"nock": "13.5.4",
|
|
126
126
|
"prettier": "3.2.5",
|
|
127
127
|
"process": "0.11.10",
|
|
128
128
|
"puppeteer": "21.11.0",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"tsc-alias": "1.8.8",
|
|
139
139
|
"typescript": "5.3.3",
|
|
140
140
|
"wasm-pack": "0.12.1",
|
|
141
|
-
"webpack": "5.90.
|
|
141
|
+
"webpack": "5.90.3",
|
|
142
142
|
"webpack-cli": "5.1.4",
|
|
143
143
|
"webpack-dev-server": "4.15.1",
|
|
144
144
|
"webpack-node-externals": "3.0.0",
|