@procore/bim-webviewer-sdk 16.6.0-rc.9 → 17.0.0-4d-scheduling-hackathon.0
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 +19 -4
- package/dist/Procore.Bim.Webviewer.d.ts +157 -2318
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/Webviewer.d.ts +4 -3
- package/dist/types/src/api/analytic_events/analyticKeys.d.ts +1 -0
- package/dist/types/src/api/analytic_events/index.d.ts +1 -1
- package/dist/types/src/components/ToolBarComponent/ToolBarComponent.d.ts +1 -0
- package/dist/types/src/components/ToolBarComponent/ToolbarButton/SplitButton.d.ts +7 -5
- package/dist/types/src/controllers/CacheController.d.ts +1 -0
- package/dist/types/src/controllers/DatabaseController.d.ts +1 -0
- package/dist/types/src/controllers/PubSubController.d.ts +2 -0
- package/dist/types/src/controllers/RenderController.d.ts +2 -1
- package/dist/types/src/controllers/RenderControllerProxy.d.ts +2 -0
- package/dist/types/src/controllers/RenderControllerWorker.d.ts +1 -0
- package/dist/types/src/controllers/__tests__/fixtures.d.ts +4 -1
- package/dist/types/src/measuring/DistanceLabel.d.ts +1 -0
- package/dist/types/src/measuring/MeasurementManager.d.ts +5 -4
- package/dist/types/src/measuring/PointToPointController.d.ts +6 -0
- package/dist/types/src/measuring/PointToPointManager.d.ts +14 -1
- package/dist/types/src/measuring/__tests__/PointToPointFixtures.d.ts +5 -4
- package/dist/types/src/measuring/createPointToPointLineDrawingDebugGui.d.ts +0 -5
- package/dist/types/src/navigation/DefaultControl.d.ts +0 -11
- package/dist/types/src/navigation/__tests__/FixedOrbitControl.test.d.ts +1 -0
- package/dist/types/src/navigation/__tests__/ZoomControl.test.d.ts +1 -0
- package/dist/types/src/procoregl/Models/Models.d.ts +3 -1
- package/dist/types/src/pwfreader/PWF.d.ts +1 -0
- package/dist/types/src/pwfreader/PWFProxy.d.ts +4 -1
- package/dist/types/src/pwfreader/v1/PWFV1.d.ts +6 -1
- package/dist/types/src/pwfreader/v1/standard/MeshServices.d.ts +1 -0
- package/dist/types/src/pwfreader/v1/streaming/MeshData.d.ts +1 -0
- package/dist/types/src/pwfreader/v1/streaming/OPFSFile/MainThreadSyncAccessHandleFallback.d.ts +14 -0
- package/dist/types/src/pwfreader/v1/streaming/OPFSFile/OPFSFile.d.ts +12 -0
- package/dist/types/src/pwfreader/v1/streaming/OPFSFile/index.d.ts +1 -0
- package/dist/types/src/pwfreader/v1/streaming/PartitionProxy.d.ts +7 -2
- package/dist/types/src/pwfreader/v1/streaming/StreamedMeshServices.d.ts +18 -2
- package/dist/types/src/pwfreader/v2/PWFV2.d.ts +1 -0
- package/dist/types/src/pwfreader/v2/standard/MeshServices.d.ts +1 -0
- package/dist/types/src/pwfreader/v2/streaming/StreamedMeshServices.d.ts +1 -0
- package/dist/types/src/sdk.d.ts +1 -0
- package/dist/types/src/types/Palette.d.ts +1 -1
- package/dist/types/src/types/WebviewerOptions.d.ts +8 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,19 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- ([#1417](https://github.com/procore/bim-webviewer/pull/1417)) The distance labels no longer impede the user's ability to zoom in and out and or rotate around the measurement midpoint.
|
|
13
|
+
|
|
14
|
+
## [17.0.0] 2024-12-03
|
|
15
|
+
|
|
10
16
|
### Added
|
|
11
17
|
|
|
12
|
-
- ([#1393](https://github.com/procore/bim-webviewer/pull/1393)) [Internal][QA Ignore] Add `project.3d_models.webviewer.environment` analytics event that gathers information from `navigator.userAgent` and `navigator.storage` before bootstrapping.
|
|
13
18
|
- ([#1394](https://github.com/procore/bim-webviewer/pull/1394)) Automatic conversion of angle properties from radian to degrees (°) and correct formatting for angles in degrees.
|
|
19
|
+
- ([#1398](https://github.com/procore/bim-webviewer/pull/1398)) Add `featureFlags.enableMeshDataOnOPFS` to `Webviewer(options)`, defaulting to `false`.
|
|
20
|
+
- This option enables writing mesh data to disk using OPFS for partitioned models, which allows users to use features that use mesh data, notably Point to Point Measurement.
|
|
21
|
+
- To use Point to Point Measurement on a partitioned model, this flag and `enablePointToPoint` must both be `true`.
|
|
14
22
|
|
|
15
23
|
### Changed
|
|
16
24
|
|
|
17
|
-
- ([#866](https://github.com/procore/bim-webviewer/pull/1377)) [Internal][QA Ignore]Change fetchArray buffer to fetchData and add README file in pwfreader
|
|
18
25
|
- ([#1386](https://github.com/procore/bim-webviewer/pull/1386)) The Shortest Distance Measurement tool's cursor tooltip now displays "Select first object" then "Select second object" rather than just "Select two objects". This is to match behavior with the new Point to Point Measurement tool.
|
|
19
|
-
- ([#1382](https://github.com/procore/bim-webviewer/pull/1382)) [Breaking Change]Refactoring global offset to a type of vector3 and SDK method name change from `getGlobalOffset` to `getGlobalOffsetDoNotUse` to avoid 3rd party use.
|
|
26
|
+
- ([#1382](https://github.com/procore/bim-webviewer/pull/1382)) [Breaking Change] Refactoring global offset to a type of vector3 and SDK method name change from `getGlobalOffset` to `getGlobalOffsetDoNotUse` to avoid 3rd party use.
|
|
20
27
|
- ([#1388](https://github.com/procore/bim-webviewer/pull/1388)) Escape key, when pressed, will now reset measurements that are either in progress or have been completed. If the measurement is enabled and in the initial state, pressing escape will disable the measurement tool.
|
|
21
28
|
- ([#1379](https://github.com/procore/bim-webviewer/pull/1379)) Fix the point to point crosshair size to 40px and align in the center.
|
|
22
|
-
- ([#
|
|
29
|
+
- ([#1400](https://github.com/procore/bim-webviewer/pull/1400)) Cursor tooltip for Measurement tool now uses clientX and clientY to position the tooltip. This is to prevent the tooltip from being positioned incorrectly when users mouse is over a child element of the bim main container.
|
|
30
|
+
- ([#1405](https://github.com/procore/bim-webviewer/pull/1405)) Updated SDK method `setMeasurement` to allow for setting the measurement tool to a specific mode, in addition to enabling or disabling it.
|
|
31
|
+
- ([#1408](https://github.com/procore/bim-webviewer/pull/1408)) Fix the jerk in the camera for point to point and shortest distance measurement tool when a measurement is active.
|
|
32
|
+
- ([#1412](https://github.com/procore/bim-webviewer/pull/1412)) Fixed the bug that was causing the outline of normal meshes to not clear when a complex mesh is hovered in point to point measurement tool, leading to confusion.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- ([#1399](https://github.com/procore/bim-webviewer/pull/1399)) When zooming in and/or out while the point to point measurement tool is active, the mouse cursor and intersection snap results now automatically update and the temporary distance label stays in the midpoint of the measuring line.
|
|
37
|
+
- ([#1419](https://github.com/procore/bim-webviewer/pull/1419)) Fixed erroneous test mock data that was causing the whole test suite to fail.
|
|
23
38
|
|
|
24
39
|
## [16.5.0] 2024-11-08
|
|
25
40
|
|