@procore/bim-webviewer-sdk 17.4.0 → 17.5.0-BM-923-request-persistent-storage.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 +29 -0
- package/dist/Procore.Bim.Webviewer.d.ts +0 -4
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/api/analytic_events/analyticKeys.d.ts +1 -0
- package/dist/types/src/api/analytic_events/payloadFactories.d.ts +3 -1
- package/dist/types/src/components/ContextMenuComponent/ContextMenuComponent.d.ts +1 -0
- package/dist/types/src/components/LoadingComponent/LoadingComponent.d.ts +8 -6
- package/dist/types/src/components/ToolBarComponent/ToolBarComponent.d.ts +0 -1
- package/dist/types/src/controllers/PubSubController.d.ts +2 -1
- package/dist/types/src/controllers/RenderControllerProxy.d.ts +0 -2
- package/dist/types/src/measuring/MeasureToolUtils.d.ts +0 -5
- package/dist/types/src/measuring/MeasurementManager.d.ts +1 -0
- package/dist/types/src/measuring/PointToPointController.d.ts +1 -2
- package/dist/types/src/navigation/ZoomControl.d.ts +1 -0
- package/dist/types/src/procoregl/MeshTopology/Centroid.d.ts +2 -2
- package/dist/types/src/procoregl/MeshTopology/{HalfEdge.d.ts → Edge.d.ts} +12 -10
- package/dist/types/src/procoregl/MeshTopology/MeshTopology.d.ts +22 -8
- package/dist/types/src/procoregl/MeshTopology/Position.d.ts +2 -2
- package/dist/types/src/procoregl/MeshTopology/Segment.d.ts +18 -0
- package/dist/types/src/procoregl/MeshTopology/__tests__/Segment.test.d.ts +1 -0
- package/dist/types/src/procoregl/MeshTopology/index.d.ts +2 -1
- package/dist/types/src/sectioning/__tests__/fixtures.d.ts +4 -0
- package/dist/types/src/types/WebviewerOptions.d.ts +0 -4
- package/dist/types/src/utils/ApiMetaData/index.d.ts +1 -0
- package/dist/types/src/utils/MathHelper/MathHelper.d.ts +13 -0
- package/dist/types/src/utils/MathHelper/index.d.ts +1 -1
- package/dist/types/src/utils/requestPersistentStorage/__tests__/requestPersistentStorage.test.d.ts +1 -0
- package/dist/types/src/utils/requestPersistentStorage/index.d.ts +1 -0
- package/dist/types/src/utils/requestPersistentStorage/requestPersistentStorage.d.ts +1 -0
- package/package.json +2 -2
- /package/dist/types/src/procoregl/MeshTopology/__tests__/{HalfEdge.test.d.ts → Edge.test.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- ([#1492](https://github.com/procore/bim-webviewer/pull/1492)) Make a request for persistent storage (`navigator.storage.persist`) during load time.
|
|
13
|
+
- In Firefox, this will prompt the user to allow persistent storage, which, when granted, will increase the amount of disk space made available to the current origin. While this prompt is displayed, the loading screen (enabled with `tools: [Webviewer.tools.LOADING]`) will display a message directing the user to "Allow Persistent Storage".
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- ([#1468](https://github.com/procore/bim-webviewer/pull/1468)) Point to point measurement tool is now able to create the outline and snap to features for non-manifold meshes.
|
|
18
|
+
- ([#1497](https://github.com/procore/bim-webviewer/pull/1497)) [Internal][QA Ignore] `npm run benchmark:branchCompare` now pauses after switching branches but before running the benchmark so that you can restart the webpack dev server (`npm run start`) in another terminal.
|
|
19
|
+
|
|
20
|
+
## [17.5.0] 2025-02-14
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- ([#1479](https://github.com/procore/bim-webviewer/pull/1479)) `model.addSectionPlane` and `model.setSectionsData` will now normalize plane directions.
|
|
25
|
+
- Prior to this change, passing non-normalized plane directions was basically bad data and would yield surprising results.
|
|
26
|
+
- ([#1477](https://github.com/procore/bim-webviewer/pull/1477)) Subsequent calls to Cache.removeModel will no longer result in an error
|
|
27
|
+
- ([#1475](https://github.com/procore/bim-webviewer/pull/1475)) Fixed an issue where the right click context menu would remain open after the measurement tool has been enabled.
|
|
28
|
+
- ([#1481](https://github.com/procore/bim-webviewer/pull/1481)) Fixed an erroneous interaction between any active measurement mode and the home viewpoint button. Now the measurement mode gets deactivated and fixed orbit, if active, will switch to default navigation when the home viewpoint button is clicked (also works for hotkeys).
|
|
29
|
+
- ([#1490](https://github.com/procore/bim-webviewer/pull/1490)) Fixed an issue where the Properties window and gui.formatUnit displayed incorrect feet-inches values for negative inputs.
|
|
30
|
+
- ([#1491](https://github.com/procore/bim-webviewer/pull/1491)) Fixed an issue in which the cursor was not updating to the correct point-to-point or section box resizing one when zooming in/out and both point-to-point and section box were active.
|
|
31
|
+
|
|
32
|
+
### Removed
|
|
33
|
+
|
|
34
|
+
- ([#1492](https://github.com/procore/bim-webviewer/pull/1492)) [Breaking Change] Removed `launchedAnimationLoop` event. You can instead listen to `renderReady` event.
|
|
35
|
+
- ([#1480](https://github.com/procore/bim-webviewer/pull/1480)) Removed the feature flag `enablePointToPoint` as Point to Point is now a standard feature.
|
|
36
|
+
|
|
8
37
|
## [17.4.0] 2025-01-31
|
|
9
38
|
|
|
10
39
|
### Added
|
|
@@ -178,10 +178,6 @@ export declare namespace ErrorLogger {
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
export declare type FeatureFlags = {
|
|
181
|
-
/**
|
|
182
|
-
* @beta Enables the new measurement mode Point to Point, which allows users to measure the distance between two points in the model.
|
|
183
|
-
*/
|
|
184
|
-
enablePointToPoint: boolean;
|
|
185
181
|
/**
|
|
186
182
|
* @beta Enables writing mesh data to OPFS for partitioned models, which allows users to use features that use mesh data, notably Point to Point.
|
|
187
183
|
*/
|