@cognite/reveal 4.9.2 → 4.10.1
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/api-entry-points/core.d.ts +1 -1
- package/dist/index.js +207 -207
- package/dist/index.js.map +1 -1
- package/dist/packages/api/src/public/migration/Cognite3DViewer.d.ts +1 -1
- package/dist/packages/camera-manager/index.d.ts +1 -0
- package/dist/packages/camera-manager/src/Flexible/DampedSpherical.d.ts +3 -0
- package/dist/packages/camera-manager/src/Flexible/DampedVector3.d.ts +1 -0
- package/dist/packages/camera-manager/src/Flexible/FlexibleCameraManager.d.ts +11 -5
- package/dist/packages/camera-manager/src/Flexible/FlexibleControls.d.ts +29 -29
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsEvent.d.ts +19 -0
- package/dist/packages/camera-manager/src/Flexible/FlexibleControlsTranslator.d.ts +19 -0
- package/dist/packages/camera-manager/src/Flexible/GetPickedPointByPixelCoordinates.d.ts +5 -0
- package/dist/packages/camera-manager/src/Flexible/IFlexibleCameraManager.d.ts +9 -2
- package/dist/packages/tools/src/HtmlOverlay/BucketGrid2D.d.ts +5 -8
- package/dist/packages/utilities/index.d.ts +1 -1
- package/dist/packages/utilities/src/events/clickOrTouchEventOffset.d.ts +10 -2
- package/dist/packages/utilities/src/events/index.d.ts +1 -1
- package/package.json +9 -9
|
@@ -279,7 +279,7 @@ export declare class Cognite3DViewer {
|
|
|
279
279
|
* @param datasource The data data source which holds the references to the 360 image sets.
|
|
280
280
|
* @param dataModelIdentifier The search parameters to apply when querying Cognite Datamodels that contains the 360 images.
|
|
281
281
|
*/
|
|
282
|
-
add360ImageSet(datasource: 'datamodels', dataModelIdentifier: Image360DataModelIdentifier): Promise<Image360Collection>;
|
|
282
|
+
add360ImageSet(datasource: 'datamodels', dataModelIdentifier: Image360DataModelIdentifier, add360ImageOptions?: AddImage360Options): Promise<Image360Collection>;
|
|
283
283
|
/**
|
|
284
284
|
* Adds a set of 360 images to the scene from the /events API in Cognite Data Fusion.
|
|
285
285
|
* @param datasource The CDF data source which holds the references to the 360 image sets.
|
|
@@ -11,6 +11,7 @@ export { ComboControlsOptions } from './src/ComboControlsOptions';
|
|
|
11
11
|
export { CameraControlsOptions } from './src/CameraControlsOptions';
|
|
12
12
|
export { DebouncedCameraStopEventTrigger } from './src/utils/DebouncedCameraStopEventTrigger';
|
|
13
13
|
export { IFlexibleCameraManager } from './src/Flexible/IFlexibleCameraManager';
|
|
14
|
+
export { FlexibleControlsTypeChangeDelegate } from './src/Flexible/IFlexibleCameraManager';
|
|
14
15
|
export { FlexibleCameraManager } from './src/Flexible/FlexibleCameraManager';
|
|
15
16
|
export { FlexibleControlsOptions } from './src/Flexible/FlexibleControlsOptions';
|
|
16
17
|
export { FlexibleWheelZoomType } from './src/Flexible/FlexibleWheelZoomType';
|
|
@@ -7,14 +7,17 @@ export declare class DampedSpherical {
|
|
|
7
7
|
readonly end: Spherical;
|
|
8
8
|
private readonly _valueVector;
|
|
9
9
|
private readonly _endVector;
|
|
10
|
+
static isVertical(vector: Vector3): boolean;
|
|
10
11
|
isChanged(epsilon: number): boolean;
|
|
11
12
|
getValueVector(): Vector3;
|
|
12
13
|
getEndVector(): Vector3;
|
|
13
14
|
setValueVector(vector: Vector3): void;
|
|
14
15
|
setEndVector(vector: Vector3): void;
|
|
16
|
+
setThetaFromVector(vector: Vector3): void;
|
|
15
17
|
copy(vector: Vector3): void;
|
|
16
18
|
synchronize(): void;
|
|
17
19
|
synchronizeEnd(): void;
|
|
18
20
|
damp(dampeningFactor: number): void;
|
|
21
|
+
static correctPhi(value: Spherical): void;
|
|
19
22
|
static dampSphericalVectors(value: Spherical, end: Spherical, dampeningFactor: number): void;
|
|
20
23
|
}
|
|
@@ -14,6 +14,7 @@ export declare class DampedVector3 {
|
|
|
14
14
|
copy(value: Vector3): void;
|
|
15
15
|
add(other: DampedVector3): void;
|
|
16
16
|
synchronize(): void;
|
|
17
|
+
synchronizeEnd(): void;
|
|
17
18
|
damp(dampeningFactor: number): void;
|
|
18
19
|
/**
|
|
19
20
|
* Suppose this(DampedVector3) is the position that orbits around the center point (DampedVector3). This has to be damped as a vector
|
|
@@ -7,7 +7,8 @@ import { FlexibleControlsOptions } from './FlexibleControlsOptions';
|
|
|
7
7
|
import { InputHandler } from '../../../utilities';
|
|
8
8
|
import { CameraEventDelegate, CameraManagerCallbackData, CameraManagerEventType, CameraState } from './../types';
|
|
9
9
|
import { CameraManager } from './../CameraManager';
|
|
10
|
-
import {
|
|
10
|
+
import { FlexibleControlsType } from './FlexibleControlsType';
|
|
11
|
+
import { FlexibleControlsTypeChangeDelegate, IFlexibleCameraManager } from './IFlexibleCameraManager';
|
|
11
12
|
type RaycastCallback = (x: number, y: number, pickBoundingBox: boolean) => Promise<CameraManagerCallbackData>;
|
|
12
13
|
/**
|
|
13
14
|
* Flexible implementation of {@link CameraManager}. The user can switch between Orbit, FirstPersion or OrbitInCenter
|
|
@@ -15,7 +16,7 @@ type RaycastCallback = (x: number, y: number, pickBoundingBox: boolean) => Promi
|
|
|
15
16
|
* @beta
|
|
16
17
|
*/
|
|
17
18
|
export declare class FlexibleCameraManager implements IFlexibleCameraManager {
|
|
18
|
-
private readonly
|
|
19
|
+
private readonly _triggers;
|
|
19
20
|
private readonly _stopEventTrigger;
|
|
20
21
|
private readonly _controls;
|
|
21
22
|
private readonly _camera;
|
|
@@ -46,6 +47,10 @@ export declare class FlexibleCameraManager implements IFlexibleCameraManager {
|
|
|
46
47
|
fitCameraToBoundingBox(boundingBox: Box3, duration?: number, radiusFactor?: number): void;
|
|
47
48
|
update(deltaTime: number, boundingBox: Box3): void;
|
|
48
49
|
dispose(): void;
|
|
50
|
+
get controlsType(): FlexibleControlsType;
|
|
51
|
+
set controlsType(value: FlexibleControlsType);
|
|
52
|
+
addControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
53
|
+
removeControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
49
54
|
get options(): FlexibleControlsOptions;
|
|
50
55
|
get controls(): FlexibleControls;
|
|
51
56
|
get camera(): PerspectiveCamera;
|
|
@@ -55,12 +60,15 @@ export declare class FlexibleCameraManager implements IFlexibleCameraManager {
|
|
|
55
60
|
private set isEnabled(value);
|
|
56
61
|
private getPosition;
|
|
57
62
|
private getTarget;
|
|
63
|
+
getBoundingBoxDiagonal(): number;
|
|
64
|
+
getHorizontalDiagonal(): number;
|
|
58
65
|
setPositionAndTarget(position: Vector3, target: Vector3): void;
|
|
59
|
-
private
|
|
66
|
+
private readonly getPickedPointByPixelCoordinates;
|
|
60
67
|
private getTargetByBoundingBox;
|
|
61
68
|
private addEventListeners;
|
|
62
69
|
private removeEventListeners;
|
|
63
70
|
private readonly onCameraChange;
|
|
71
|
+
private readonly onControlsTypeChange;
|
|
64
72
|
private readonly onKeyDown;
|
|
65
73
|
private readonly onClick;
|
|
66
74
|
private readonly onDoubleClick;
|
|
@@ -69,7 +77,5 @@ export declare class FlexibleCameraManager implements IFlexibleCameraManager {
|
|
|
69
77
|
private setTargetAndCameraPosition;
|
|
70
78
|
private updateCameraNearAndFar;
|
|
71
79
|
private updateControlsSensitivity;
|
|
72
|
-
getBoundingBoxDiagonal(): number;
|
|
73
|
-
getHorizontalDiagonal(): number;
|
|
74
80
|
}
|
|
75
81
|
export {};
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { EventDispatcher, OrthographicCamera, PerspectiveCamera, Quaternion, Vector3 } from 'three';
|
|
4
|
+
import { EventDispatcher, OrthographicCamera, PerspectiveCamera, Quaternion, Vector2, Vector3 } from 'three';
|
|
5
5
|
import { FlexibleControlsType } from './FlexibleControlsType';
|
|
6
6
|
import { FlexibleControlsOptions } from './FlexibleControlsOptions';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
target: Vector3;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
7
|
+
import { DampedVector3 } from './DampedVector3';
|
|
8
|
+
import { DampedSpherical } from './DampedSpherical';
|
|
9
|
+
import { FlexibleControlsEvent } from './FlexibleControlsEvent';
|
|
10
|
+
import { GetPickedPointByPixelCoordinates } from './GetPickedPointByPixelCoordinates';
|
|
15
11
|
/**
|
|
16
12
|
* @beta
|
|
17
13
|
*/
|
|
18
14
|
export declare class FlexibleControls extends EventDispatcher<FlexibleControlsEvent> {
|
|
19
15
|
private _isEnabled;
|
|
16
|
+
private _isInitialized;
|
|
20
17
|
temporarlyDisableKeyboard: boolean;
|
|
21
18
|
private readonly _options;
|
|
22
19
|
private readonly _domElement;
|
|
@@ -27,66 +24,69 @@ export declare class FlexibleControls extends EventDispatcher<FlexibleControlsEv
|
|
|
27
24
|
private _scrollDirection;
|
|
28
25
|
private _scrollDistance;
|
|
29
26
|
private _tempTarget;
|
|
30
|
-
private readonly _rawCameraRotation;
|
|
31
|
-
private readonly _accumulatedMouseRotation;
|
|
32
27
|
private readonly _keyboard;
|
|
33
28
|
private readonly _pointEventCache;
|
|
29
|
+
private _getPickedPointByPixelCoordinates;
|
|
34
30
|
private readonly _reusableVector3s;
|
|
35
31
|
constructor(camera: PerspectiveCamera | OrthographicCamera, domElement: HTMLElement, options: FlexibleControlsOptions);
|
|
36
32
|
dispose(): void;
|
|
37
33
|
get options(): FlexibleControlsOptions;
|
|
34
|
+
get camera(): PerspectiveCamera | OrthographicCamera;
|
|
35
|
+
get cameraVector(): DampedSpherical;
|
|
36
|
+
get cameraPosition(): DampedVector3;
|
|
38
37
|
get isEnabled(): boolean;
|
|
39
|
-
set isEnabled(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* This rotation is used only when set to non-default quaternion value (not identity rotation quaternion).
|
|
43
|
-
* Externally, value is updated by `CameraManager` when `setState` method with non-zero rotation is called. Automatically
|
|
44
|
-
* resets to default value when `setState` method is called with no rotation value.
|
|
45
|
-
*/
|
|
46
|
-
get cameraRawRotation(): Quaternion;
|
|
38
|
+
set isEnabled(value: boolean);
|
|
39
|
+
get isInitialized(): boolean;
|
|
40
|
+
set isInitialized(value: boolean);
|
|
47
41
|
get controlsType(): FlexibleControlsType;
|
|
42
|
+
set getPickedPointByPixelCoordinates(getPickedPointByPixelCoordinates: GetPickedPointByPixelCoordinates | undefined);
|
|
43
|
+
get getPickedPointByPixelCoordinates(): GetPickedPointByPixelCoordinates | undefined;
|
|
48
44
|
getTarget(): Vector3;
|
|
49
45
|
setTarget(value: Vector3): void;
|
|
50
|
-
getLookAt
|
|
46
|
+
private getLookAt;
|
|
51
47
|
getState(): {
|
|
52
48
|
target: Vector3;
|
|
53
49
|
position: Vector3;
|
|
54
50
|
};
|
|
51
|
+
private getMousePosition;
|
|
52
|
+
getNormalizedPixelCoordinates(event: PointerEvent): Vector2;
|
|
55
53
|
setScrollCursor(value: Vector3 | undefined): void;
|
|
56
54
|
setTempTarget(value: Vector3 | undefined): void;
|
|
57
|
-
|
|
55
|
+
setPositionAndTarget(position: Vector3, target: Vector3): void;
|
|
56
|
+
setPositionAndDirection(position: Vector3, direction: Vector3): void;
|
|
57
|
+
setPositionAndRotation(position: Vector3, rotation: Quaternion): void;
|
|
58
58
|
setControlsType(controlsType: FlexibleControlsType): boolean;
|
|
59
59
|
private getPanFactor;
|
|
60
60
|
private getWheelSpeed;
|
|
61
61
|
private getDampingFactor;
|
|
62
62
|
private newVector3;
|
|
63
63
|
update(deltaTimeS: number, forceUpdate?: boolean): boolean;
|
|
64
|
-
triggerCameraChangeEvent
|
|
64
|
+
triggerCameraChangeEvent(): void;
|
|
65
|
+
triggerControlsTypeChangeEvent(): void;
|
|
65
66
|
private readonly onPointerDown;
|
|
66
67
|
private readonly onMouseDown;
|
|
68
|
+
private startMouse;
|
|
67
69
|
private readonly onPointerUp;
|
|
68
|
-
private readonly onMouseUp;
|
|
69
70
|
private readonly onMouseWheel;
|
|
70
71
|
private readonly onTouchStart;
|
|
71
72
|
private readonly onFocusChanged;
|
|
72
73
|
private readonly onContextMenu;
|
|
73
74
|
addEventListeners(): void;
|
|
74
75
|
private removeEventListeners;
|
|
75
|
-
private startMouseRotation;
|
|
76
76
|
private startTouchRotation;
|
|
77
77
|
private rotate;
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
getAzimuthCompensationFactor(): number;
|
|
79
|
+
rotateByAngles(deltaAzimuth: number, deltaPolar: number): void;
|
|
80
80
|
private rawRotateByAngles;
|
|
81
81
|
private startTouchPinch;
|
|
82
|
-
private startMousePan;
|
|
83
82
|
private pan;
|
|
84
|
-
|
|
83
|
+
translate(delta: Vector3): void;
|
|
85
84
|
private dollyOrthographicCamera;
|
|
86
85
|
private dollyWithWheelScroll;
|
|
87
|
-
private
|
|
86
|
+
private getTranslation;
|
|
88
87
|
private getTranslationByDirection;
|
|
89
88
|
private getTranslationByScrollCursor;
|
|
89
|
+
private getStep;
|
|
90
90
|
private handleKeyboard;
|
|
91
91
|
private handleRotationFromKeyboard;
|
|
92
92
|
private handleMoveFromKeyboard;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2024 Cognite AS
|
|
3
|
+
*/
|
|
4
|
+
import { Vector3 } from 'three';
|
|
5
|
+
import { FlexibleControlsType } from './FlexibleControlsType';
|
|
6
|
+
/**
|
|
7
|
+
* @beta
|
|
8
|
+
*/
|
|
9
|
+
export type FlexibleControlsEvent = {
|
|
10
|
+
cameraChange: {
|
|
11
|
+
content: {
|
|
12
|
+
position: Vector3;
|
|
13
|
+
target: Vector3;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
controlsTypeChange: {
|
|
17
|
+
controlsType: FlexibleControlsType;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2024 Cognite AS
|
|
3
|
+
*/
|
|
4
|
+
import { FlexibleControls } from './FlexibleControls';
|
|
5
|
+
/**
|
|
6
|
+
* @beta
|
|
7
|
+
* This class handles the translation of the camera.
|
|
8
|
+
* It tries to translate the camera so the same (x,y, z) point is below the mouse
|
|
9
|
+
*/
|
|
10
|
+
export declare class FlexibleControlsTranslator {
|
|
11
|
+
private readonly _controls;
|
|
12
|
+
private readonly _prevPickedPoint;
|
|
13
|
+
private readonly _plane;
|
|
14
|
+
private readonly _raycaster;
|
|
15
|
+
private _camera;
|
|
16
|
+
constructor(controls: FlexibleControls);
|
|
17
|
+
initialize(event: PointerEvent): Promise<boolean>;
|
|
18
|
+
translate(event: PointerEvent): boolean;
|
|
19
|
+
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2024 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
import { FlexibleControlsOptions } from './FlexibleControlsOptions';
|
|
5
4
|
import { CameraManager } from '../CameraManager';
|
|
5
|
+
import { FlexibleControlsType } from './FlexibleControlsType';
|
|
6
|
+
/**
|
|
7
|
+
* @beta
|
|
8
|
+
*/
|
|
9
|
+
export type FlexibleControlsTypeChangeDelegate = (controlsType: FlexibleControlsType) => void;
|
|
6
10
|
/**
|
|
7
11
|
* Flexible implementation of {@link CameraManager}. The user can switch between Orbit, FirstPersion or OrbitInCenter
|
|
8
12
|
* Supports automatic update of camera near and far planes and animated change of camera position and target.
|
|
9
13
|
* @beta
|
|
10
14
|
*/
|
|
11
15
|
export interface IFlexibleCameraManager extends CameraManager {
|
|
12
|
-
get
|
|
16
|
+
get controlsType(): FlexibleControlsType;
|
|
17
|
+
set controlsType(value: FlexibleControlsType);
|
|
18
|
+
addControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
19
|
+
removeControlsTypeChangeListener(callback: FlexibleControlsTypeChangeDelegate): void;
|
|
13
20
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright 2021 Cognite AS
|
|
3
|
-
*/
|
|
4
|
-
import * as THREE from 'three';
|
|
1
|
+
import { Box2 } from 'three';
|
|
5
2
|
/**
|
|
6
3
|
* Data structure that splits a 2D region into cells where each cell can contain zero to many
|
|
7
4
|
* elements. Elements can be stored in several cells. This data structure make overlap lookups
|
|
@@ -20,9 +17,9 @@ export declare class BucketGrid2D<T> {
|
|
|
20
17
|
* This is used to avoid expensive re-allocations of cells when removing elements.
|
|
21
18
|
*/
|
|
22
19
|
private readonly _removedElements;
|
|
23
|
-
constructor(bounds:
|
|
24
|
-
insert(bounds:
|
|
25
|
-
overlappingElements(bounds:
|
|
26
|
-
removeOverlappingElements(bounds:
|
|
20
|
+
constructor(bounds: Box2, dimensions: [width: number, height: number]);
|
|
21
|
+
insert(bounds: Box2, element: T): void;
|
|
22
|
+
overlappingElements(bounds: Box2): Generator<T>;
|
|
23
|
+
removeOverlappingElements(bounds: Box2): Generator<T>;
|
|
27
24
|
private cellsIntersecting;
|
|
28
25
|
}
|
|
@@ -5,7 +5,7 @@ export { traverseDepthFirst } from './src/objectTraversal';
|
|
|
5
5
|
export { transformCameraConfiguration } from './src/transformCameraConfiguration';
|
|
6
6
|
export { RandomColors } from './src/RandomColors';
|
|
7
7
|
export { CameraConfiguration } from './src/CameraConfiguration';
|
|
8
|
-
export { EventTrigger, clickOrTouchEventOffset, InputHandler, disposeOfAllEventListeners } from './src/events';
|
|
8
|
+
export { EventTrigger, clickOrTouchEventOffset, getClickOrTouchEventPoint, InputHandler, disposeOfAllEventListeners } from './src/events';
|
|
9
9
|
export { DisposedDelegate, BeforeSceneRenderedDelegate, SceneRenderedDelegate, PointerEventDelegate, PointerEventData } from './src/events/types';
|
|
10
10
|
export { assertNever } from './src/assertNever';
|
|
11
11
|
export { NumericRange } from './src/NumericRange';
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
|
+
import { Vector2 } from 'three';
|
|
4
5
|
/**
|
|
5
6
|
* Determines clicked or touched coordinate as offset
|
|
6
|
-
* @param
|
|
7
|
+
* @param event An PointerEvent or WheelEvent.
|
|
7
8
|
* @param target HTML element to find coordinates relative to.
|
|
8
9
|
* @returns A struct containing coordinates relative to the HTML element provided.
|
|
9
10
|
*/
|
|
10
|
-
export declare function clickOrTouchEventOffset(
|
|
11
|
+
export declare function clickOrTouchEventOffset(event: PointerEvent | WheelEvent, target: HTMLElement): {
|
|
11
12
|
offsetX: number;
|
|
12
13
|
offsetY: number;
|
|
13
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* Determines clicked or touched coordinate as offset
|
|
17
|
+
* @param event An PointerEvent or WheelEvent.
|
|
18
|
+
* @param target HTML element to find coordinates relative to.
|
|
19
|
+
* @returns A Vector2 containing coordinates relative to the HTML element provided.
|
|
20
|
+
*/
|
|
21
|
+
export declare function getClickOrTouchEventPoint(event: PointerEvent | WheelEvent, target: HTMLElement): Vector2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright 2021 Cognite AS
|
|
3
3
|
*/
|
|
4
|
-
export { clickOrTouchEventOffset } from './clickOrTouchEventOffset';
|
|
4
|
+
export { clickOrTouchEventOffset, getClickOrTouchEventPoint } from './clickOrTouchEventOffset';
|
|
5
5
|
export { EventTrigger } from './EventTrigger';
|
|
6
6
|
export { InputHandler, disposeOfAllEventListeners } from './InputHandler';
|
|
7
7
|
export * from './types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/reveal",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.1",
|
|
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": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"html2canvas": "^1.4.1",
|
|
72
72
|
"lodash": "4.17.21",
|
|
73
73
|
"loglevel": "1.9.1",
|
|
74
|
-
"mixpanel-browser": "2.
|
|
74
|
+
"mixpanel-browser": "2.49.0",
|
|
75
75
|
"path-browserify": "1.0.1",
|
|
76
76
|
"random-seed": "0.3.0",
|
|
77
77
|
"rxjs": "7.8.1",
|
|
@@ -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.40.1",
|
|
85
85
|
"@types/dat.gui": "0.7.12",
|
|
86
86
|
"@types/gl": "^6.0.2",
|
|
87
87
|
"@types/glob": "8.1.0",
|
|
@@ -90,15 +90,15 @@
|
|
|
90
90
|
"@types/jest-image-snapshot": "6.4.0",
|
|
91
91
|
"@types/jsdom": "21.1.6",
|
|
92
92
|
"@types/lodash": "4.14.202",
|
|
93
|
-
"@types/mixpanel-browser": "2.
|
|
94
|
-
"@types/node": "18.19.
|
|
93
|
+
"@types/mixpanel-browser": "2.49.0",
|
|
94
|
+
"@types/node": "18.19.15",
|
|
95
95
|
"@types/random-seed": "0.3.5",
|
|
96
96
|
"@types/skmeans": "0.11.7",
|
|
97
97
|
"@types/stats": "0.16.30",
|
|
98
98
|
"@types/three": "0.158.2",
|
|
99
99
|
"@types/tween.js": "18.5.1",
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
101
|
-
"@typescript-eslint/parser": "6.
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
101
|
+
"@typescript-eslint/parser": "6.21.0",
|
|
102
102
|
"concurrently": "8.2.2",
|
|
103
103
|
"cross-env": "7.0.3",
|
|
104
104
|
"dat.gui": "0.7.9",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"eslint-plugin-jsdoc": "46.10.1",
|
|
109
109
|
"eslint-plugin-lodash": "7.4.0",
|
|
110
110
|
"eslint-plugin-prettier": "5.1.3",
|
|
111
|
-
"eslint-plugin-unused-imports": "3.
|
|
111
|
+
"eslint-plugin-unused-imports": "3.1.0",
|
|
112
112
|
"file-loader": "6.2.0",
|
|
113
113
|
"gl": "6.0.2",
|
|
114
114
|
"glob": "10.3.10",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"jsdom": "23.2.0",
|
|
124
124
|
"moq.ts": "10.0.8",
|
|
125
125
|
"nock": "13.5.1",
|
|
126
|
-
"prettier": "3.2.
|
|
126
|
+
"prettier": "3.2.5",
|
|
127
127
|
"process": "0.11.10",
|
|
128
128
|
"puppeteer": "21.11.0",
|
|
129
129
|
"random-seed": "0.3.0",
|