@procore/bim-webviewer-sdk 17.5.0 → 17.6.0-no-ticket-opentelemetry-spike.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/Procore.Bim.Webviewer.d.ts +3 -1
  3. package/dist/Procore.Bim.Webviewer.js +1 -1
  4. package/dist/types/src/Webviewer.d.ts +3 -1
  5. package/dist/types/src/api/analytic_events/payloadFactories.d.ts +3 -1
  6. package/dist/types/src/components/LoadingComponent/LoadingComponent.d.ts +8 -6
  7. package/dist/types/src/controllers/Bootstrapper.d.ts +14 -8
  8. package/dist/types/src/controllers/PubSubController.d.ts +2 -1
  9. package/dist/types/src/controllers/RenderControllerProxy.d.ts +0 -2
  10. package/dist/types/src/measuring/MeasureToolUtils.d.ts +0 -5
  11. package/dist/types/src/measuring/PointToPointController.d.ts +1 -2
  12. package/dist/types/src/navigation/ZoomControl.d.ts +1 -0
  13. package/dist/types/src/procoregl/MeshTopology/Centroid.d.ts +2 -2
  14. package/dist/types/src/procoregl/MeshTopology/{HalfEdge.d.ts → Edge.d.ts} +12 -10
  15. package/dist/types/src/procoregl/MeshTopology/MeshTopology.d.ts +22 -8
  16. package/dist/types/src/procoregl/MeshTopology/Position.d.ts +2 -2
  17. package/dist/types/src/procoregl/MeshTopology/Segment.d.ts +18 -0
  18. package/dist/types/src/procoregl/MeshTopology/__tests__/Segment.test.d.ts +1 -0
  19. package/dist/types/src/procoregl/MeshTopology/index.d.ts +2 -1
  20. package/dist/types/src/utils/MathHelper/MathHelper.d.ts +13 -0
  21. package/dist/types/src/utils/MathHelper/index.d.ts +1 -1
  22. package/dist/types/src/utils/requestPersistentStorage/__tests__/requestPersistentStorage.test.d.ts +1 -0
  23. package/dist/types/src/utils/requestPersistentStorage/index.d.ts +1 -0
  24. package/dist/types/src/utils/requestPersistentStorage/requestPersistentStorage.d.ts +1 -0
  25. package/package.json +2 -2
  26. /package/dist/types/src/procoregl/MeshTopology/__tests__/{HalfEdge.test.d.ts → Edge.test.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ 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
+ ### Changed
11
+
12
+ - ([#1512](https://github.com/procore/bim-webviewer/pull/1512)) [Internal][QA Ignore] Updated the @procore/eslint-config package to resolve a brownout report.
13
+
14
+ ## [17.6.0] 2025-03-17
15
+
16
+ ### Added
17
+
18
+ - ([#1492](https://github.com/procore/bim-webviewer/pull/1492)) Make a request for persistent storage (`navigator.storage.persist`) during load time.
19
+ - 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".
20
+
21
+ ### Changed
22
+
23
+ - ([#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.
24
+
25
+ ### Removed
26
+
27
+ - ([#1492](https://github.com/procore/bim-webviewer/pull/1492)) [Breaking Change] Removed `launchedAnimationLoop` event. You can instead listen to `renderReady` event.
28
+
29
+ ### Fixed
30
+
31
+ - ([#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.
32
+ - ([#1500](https://github.com/procore/bim-webviewer/pull/1500)) Fixed an issue where the cursor tooltip for the measurement tool would reappear after a measurement was completed and the section box display was toggled.
33
+
8
34
  ## [17.5.0] 2025-02-14
9
35
 
10
36
  ### Fixed
@@ -1690,6 +1690,7 @@ export declare class Webviewer {
1690
1690
  readonly ORBIT: 5;
1691
1691
  readonly STRAFE: 6;
1692
1692
  };
1693
+ private childSpan;
1693
1694
  events: {
1694
1695
  addEventListener: (eventName: string, callback: any) => void;
1695
1696
  removeEventListener: (eventName: string, callback: any) => void;
@@ -1895,13 +1896,14 @@ export declare class Webviewer {
1895
1896
  formatUnit: (value: number, unit: Uom) => string;
1896
1897
  };
1897
1898
  constructor(options: Options);
1899
+ initializeOpenTelemetry: () => Promise<void>;
1898
1900
  /**
1899
1901
  * Starts the application.
1900
1902
  * This method initializes the necessary variables and subscribes to events.
1901
1903
  * It also checks the BimPropertyService and handles different status codes.
1902
1904
  * It listens for events related to markup display, dismissal, and camera updates.
1903
1905
  */
1904
- start: () => void;
1906
+ start: () => Promise<void>;
1905
1907
  /**
1906
1908
  * Terminates the WebViewer instance and cleans up any resources.
1907
1909
  */