@procore/bim-webviewer-sdk 16.6.0-rc.7 → 16.6.0-rc.9
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/CHANGELOG.md +2 -0
- package/dist/Procore.Bim.Webviewer.d.ts +24 -13
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/api/analytic_events/analyticKeys.d.ts +30 -30
- package/dist/types/src/api/analytic_events/payloadFactories.d.ts +8 -8
- package/dist/types/src/components/ContextMenuComponent/ContextMenuComponent.d.ts +1 -1
- package/dist/types/src/components/RootComponent.d.ts +3 -3
- package/dist/types/src/components/ShortestDistanceComponent.d.ts +7 -5
- package/dist/types/src/components/WindowModelObjectComponent/VirtualizedList.d.ts +1 -1
- package/dist/types/src/components/WindowModelObjectComponent/WindowModelObjectComponent.d.ts +3 -3
- package/dist/types/src/components/WindowTreeComponent.d.ts +0 -1
- package/dist/types/src/components/WindowTreeViewComponent.d.ts +2 -3
- package/dist/types/src/components/WindowViewPropertiesComponent/WindowViewPropertiesComponent.d.ts +3 -3
- package/dist/types/src/components/__tests__/ShortestDisanceFixtures.d.ts +21 -0
- package/dist/types/src/controllers/ApiController/ApiController.d.ts +2 -2
- package/dist/types/src/controllers/CacheController.d.ts +2 -2
- package/dist/types/src/controllers/DatabaseController.d.ts +1 -1
- package/dist/types/src/controllers/DomController/DomController.d.ts +0 -1
- package/dist/types/src/controllers/PubSubController.d.ts +1 -1
- package/dist/types/src/controllers/RenderController.d.ts +16 -16
- package/dist/types/src/controllers/RenderControllerProxy.d.ts +11 -11
- package/dist/types/src/controllers/RenderStatusType.d.ts +4 -4
- package/dist/types/src/measuring/MeasurementInterface.d.ts +8 -0
- package/dist/types/src/measuring/MeasurementManager.d.ts +2 -0
- package/dist/types/src/measuring/PointToPointManager.d.ts +4 -3
- package/dist/types/src/messages.d.ts +7 -7
- package/dist/types/src/navigation/Orbit/calcNewPosition.d.ts +0 -1
- package/dist/types/src/navigation/Orbit/getQuatToCylinderSpace.d.ts +0 -1
- package/dist/types/src/procoregl/HiddenNodeServices/HiddenNodeServices.d.ts +1 -1
- package/dist/types/src/procoregl/HiddenNodeServices/rangify.d.ts +2 -8
- package/dist/types/src/procoregl/PartitionsRenderer.d.ts +3 -3
- package/dist/types/src/procoregl/ProcoreGeometries/ProcoreArrow.d.ts +0 -1
- package/dist/types/src/procoregl/ProcoreGeometries/StubbyArrow.d.ts +0 -1
- package/dist/types/src/procoregl/SectionDisplay/getCursorDirectionFromCameraToPlane.d.ts +1 -2
- package/dist/types/src/sectioning/utils.d.ts +0 -1
- package/dist/types/src/threeShaking.d.ts +47 -47
- package/dist/types/src/unit_util.d.ts +3 -3
- package/dist/types/src/utils/Benchmark/MainThreadBenchmark.d.ts +2 -2
- package/dist/types/src/utils/DebugGui/MainThreadDebugGui.d.ts +1 -1
- package/dist/types/src/utils/DebugGui/WorkerDebugGui.d.ts +1 -1
- package/dist/types/src/utils/ZoomExtents/__tests__/computePoseToFitBoxFromPosition.test.d.ts +0 -1
- package/dist/types/src/utils/ZoomExtents/computeRefinedBbox.d.ts +2 -3
- package/dist/types/src/utils/ZoomExtents/utils.d.ts +0 -1
- package/dist/types/src/utils/i18n.d.ts +1 -1
- package/dist/types/src/validateOptions/checkTools.d.ts +1 -1
- package/package.json +1 -1
|
@@ -47,50 +47,50 @@ export namespace THREE {
|
|
|
47
47
|
export { WebGLRenderer };
|
|
48
48
|
export { WebGLRenderTarget };
|
|
49
49
|
}
|
|
50
|
-
import { AmbientLight } from
|
|
51
|
-
import { Box3 } from
|
|
52
|
-
import { BoxGeometry } from
|
|
53
|
-
import { BufferAttribute } from
|
|
54
|
-
import { BufferGeometry } from
|
|
55
|
-
import { Clock } from
|
|
56
|
-
import { Color } from
|
|
57
|
-
import { Cylindrical } from
|
|
58
|
-
import { DirectionalLight } from
|
|
59
|
-
import { DoubleSide } from
|
|
60
|
-
import { Euler } from
|
|
61
|
-
import { EdgesGeometry } from
|
|
62
|
-
import { Face3 } from
|
|
63
|
-
import { FaceColors } from
|
|
64
|
-
import { Frustum } from
|
|
65
|
-
import { Geometry } from
|
|
66
|
-
import { LessDepth } from
|
|
67
|
-
import { Line3 } from
|
|
68
|
-
import { LinearFilter } from
|
|
69
|
-
import { LineBasicMaterial } from
|
|
70
|
-
import { LineSegments } from
|
|
71
|
-
import { _Math } from
|
|
72
|
-
import { Matrix3 } from
|
|
73
|
-
import { Matrix4 } from
|
|
74
|
-
import { Mesh } from
|
|
75
|
-
import { MeshBasicMaterial } from
|
|
76
|
-
import { MeshLambertMaterial } from
|
|
77
|
-
import { MOUSE } from
|
|
78
|
-
import { Object3D } from
|
|
79
|
-
import { OrthographicCamera } from
|
|
80
|
-
import { PerspectiveCamera } from
|
|
81
|
-
import { Plane } from
|
|
82
|
-
import { PlaneGeometry } from
|
|
83
|
-
import { Quaternion } from
|
|
84
|
-
import { RawShaderMaterial } from
|
|
85
|
-
import { Ray } from
|
|
86
|
-
import { Raycaster } from
|
|
87
|
-
import { RGBAFormat } from
|
|
88
|
-
import { Scene } from
|
|
89
|
-
import { ShaderMaterial } from
|
|
90
|
-
import { Spherical } from
|
|
91
|
-
import { Triangle } from
|
|
92
|
-
import { Vector2 } from
|
|
93
|
-
import { Vector3 } from
|
|
94
|
-
import { VertexColors } from
|
|
95
|
-
import { WebGLRenderer } from
|
|
96
|
-
import { WebGLRenderTarget } from
|
|
50
|
+
import { AmbientLight } from 'three/src/lights/AmbientLight';
|
|
51
|
+
import { Box3 } from 'three/src/math/Box3';
|
|
52
|
+
import { BoxGeometry } from 'three/src/geometries/BoxGeometry';
|
|
53
|
+
import { BufferAttribute } from 'three/src/core/BufferAttribute';
|
|
54
|
+
import { BufferGeometry } from 'three/src/core/BufferGeometry';
|
|
55
|
+
import { Clock } from 'three/src/core/Clock';
|
|
56
|
+
import { Color } from 'three/src/math/Color';
|
|
57
|
+
import { Cylindrical } from 'three/src/math/Cylindrical';
|
|
58
|
+
import { DirectionalLight } from 'three/src/lights/DirectionalLight';
|
|
59
|
+
import { DoubleSide } from 'three/src/constants';
|
|
60
|
+
import { Euler } from 'three/src/math/Euler';
|
|
61
|
+
import { EdgesGeometry } from 'three/src/geometries/EdgesGeometry';
|
|
62
|
+
import { Face3 } from 'three/src/core/Face3';
|
|
63
|
+
import { FaceColors } from 'three/src/constants';
|
|
64
|
+
import { Frustum } from 'three/src/math/Frustum';
|
|
65
|
+
import { Geometry } from 'three/src/core/Geometry';
|
|
66
|
+
import { LessDepth } from 'three/src/constants';
|
|
67
|
+
import { Line3 } from 'three/src/math/Line3';
|
|
68
|
+
import { LinearFilter } from 'three/src/constants';
|
|
69
|
+
import { LineBasicMaterial } from 'three/src/materials/LineBasicMaterial';
|
|
70
|
+
import { LineSegments } from 'three/src/objects/LineSegments';
|
|
71
|
+
import { _Math } from 'three/src/math/Math';
|
|
72
|
+
import { Matrix3 } from 'three/src/math/Matrix3';
|
|
73
|
+
import { Matrix4 } from 'three/src/math/Matrix4';
|
|
74
|
+
import { Mesh } from 'three/src/objects/Mesh';
|
|
75
|
+
import { MeshBasicMaterial } from 'three/src/materials/MeshBasicMaterial';
|
|
76
|
+
import { MeshLambertMaterial } from 'three/src/materials/MeshLambertMaterial';
|
|
77
|
+
import { MOUSE } from 'three/src/constants';
|
|
78
|
+
import { Object3D } from 'three/src/core/Object3D';
|
|
79
|
+
import { OrthographicCamera } from 'three/src/cameras/OrthographicCamera';
|
|
80
|
+
import { PerspectiveCamera } from 'three/src/cameras/PerspectiveCamera';
|
|
81
|
+
import { Plane } from 'three/src/math/Plane';
|
|
82
|
+
import { PlaneGeometry } from 'three/src/geometries/PlaneGeometry';
|
|
83
|
+
import { Quaternion } from 'three/src/math/Quaternion';
|
|
84
|
+
import { RawShaderMaterial } from 'three/src/materials/RawShaderMaterial';
|
|
85
|
+
import { Ray } from 'three/src/math/Ray';
|
|
86
|
+
import { Raycaster } from 'three/src/core/Raycaster';
|
|
87
|
+
import { RGBAFormat } from 'three/src/constants';
|
|
88
|
+
import { Scene } from 'three/src/scenes/Scene';
|
|
89
|
+
import { ShaderMaterial } from 'three/src/materials/ShaderMaterial';
|
|
90
|
+
import { Spherical } from 'three/src/math/Spherical';
|
|
91
|
+
import { Triangle } from 'three/src/math/Triangle';
|
|
92
|
+
import { Vector2 } from 'three/src/math/Vector2';
|
|
93
|
+
import { Vector3 } from 'three/src/math/Vector3';
|
|
94
|
+
import { VertexColors } from 'three/src/constants';
|
|
95
|
+
import { WebGLRenderer } from 'three/src/renderers/WebGLRenderer';
|
|
96
|
+
import { WebGLRenderTarget } from 'three/src/renderers/WebGLRenderTarget';
|
|
@@ -89,9 +89,9 @@ export declare const UnitUtil: {
|
|
|
89
89
|
getEquivalentUnitForDisplayUnit: (fromUnit: Uom, displayUnit: DisplayUnit) => Uom;
|
|
90
90
|
convertUnit: (value: number, fromUnit: Uom, toUnit: Uom) => number;
|
|
91
91
|
formatUnit: (value: number, unit: Uom, options?: {
|
|
92
|
-
fixed?: number
|
|
93
|
-
precision?: number
|
|
94
|
-
locale?: string
|
|
92
|
+
fixed?: number;
|
|
93
|
+
precision?: number;
|
|
94
|
+
locale?: string;
|
|
95
95
|
}) => string;
|
|
96
96
|
};
|
|
97
97
|
export {};
|
|
@@ -4,8 +4,8 @@ type OnLogCallback = (result: number) => void;
|
|
|
4
4
|
export declare namespace MainThreadBenchmark {
|
|
5
5
|
const engage: (params: {
|
|
6
6
|
metricId: MetricId;
|
|
7
|
-
onEnd?: OnEndCallback
|
|
8
|
-
onLog?: OnLogCallback
|
|
7
|
+
onEnd?: OnEndCallback;
|
|
8
|
+
onLog?: OnLogCallback;
|
|
9
9
|
}) => void;
|
|
10
10
|
const isRunning: (metricId: MetricId) => boolean;
|
|
11
11
|
const hasStarted: (metricId: MetricId) => boolean;
|
|
@@ -3,7 +3,7 @@ type Target = {
|
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
};
|
|
5
5
|
export declare namespace MainThreadDebugGui {
|
|
6
|
-
const add: <T extends Target>(obj: T, configureStore?: (
|
|
6
|
+
const add: <T extends Target>(obj: T, configureStore?: (store: GuiStore<T>) => void, onChange?: (...args: any[]) => void) => T;
|
|
7
7
|
const destroy: () => void;
|
|
8
8
|
}
|
|
9
9
|
export {};
|
|
@@ -4,7 +4,7 @@ type Target = {
|
|
|
4
4
|
[key: string]: any;
|
|
5
5
|
};
|
|
6
6
|
export declare namespace WorkerDebugGui {
|
|
7
|
-
export const add: <T extends Target>(obj: T, configureStore?: (
|
|
7
|
+
export const add: <T extends Target>(obj: T, configureStore?: (store: GuiStore<T>) => void, onChange?: (...args: any[]) => void) => T;
|
|
8
8
|
type UpdateParams = {
|
|
9
9
|
id: ProxyId;
|
|
10
10
|
keyPath: string[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { THREE } from '../../threeShaking';
|
|
2
1
|
import type { Meshnode } from '../../pwfreader/PWFTypes';
|
|
3
2
|
export declare const computeRefinedBbox: (params: {
|
|
4
3
|
bbox: THREE.Box3;
|
|
@@ -7,9 +6,9 @@ export declare const computeRefinedBbox: (params: {
|
|
|
7
6
|
}) => THREE.Box3;
|
|
8
7
|
declare const _default: {
|
|
9
8
|
computeRefinedBbox: (params: {
|
|
10
|
-
bbox:
|
|
9
|
+
bbox: THREE.Box3;
|
|
11
10
|
meshnodes: Meshnode[];
|
|
12
11
|
spaceJunkEliminationThreshold: number;
|
|
13
|
-
}) =>
|
|
12
|
+
}) => THREE.Box3;
|
|
14
13
|
};
|
|
15
14
|
export default _default;
|
|
@@ -2,6 +2,6 @@ import { Options } from '../types/WebviewerOptions';
|
|
|
2
2
|
type AllTools = 0;
|
|
3
3
|
type Tools = Required<Options['tools'][]>;
|
|
4
4
|
type CheckToolsParam = Tools | AllTools | undefined;
|
|
5
|
-
export declare const isAllTools: (tools: CheckToolsParam) => tools is
|
|
5
|
+
export declare const isAllTools: (tools: CheckToolsParam) => tools is AllTools;
|
|
6
6
|
export declare const checkTools: (tools: CheckToolsParam) => void;
|
|
7
7
|
export {};
|