@procore/bim-webviewer-sdk 6.7.0 → 6.8.0-estimating-dev.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/CHANGELOG.md CHANGED
@@ -5,6 +5,37 @@ 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
+ - Added `model.hideAllObjects` which hides all objects.
13
+ - Added `model.setMeasurement` which takes a boolean parameter. If true, the measurement tool is enabled. If false, the measurement tool is disabled and navigation mode will be set to Default.
14
+ - Added new event `onWindowOpen` that is published when any tool that uses a Window component is opened.
15
+ - Added new event `onWindowHide` that is published when any tool that uses a Window component is hidden.
16
+ - [Internal] Added new Cypress tests covering `onWindowHide` and `onWindowOpen` events for all the windows available to publish this event
17
+
18
+ ### Changed
19
+
20
+ - [BREAKING CHANGE] The payloads of `objectSelect` and `objectSingleClick` events have changed from a meshnode index to a structure based on object ids
21
+ - [Internal] Use consistent naming for test files: `./src/**/__tests__/**/*.test.[jt]s?(x)`
22
+ - [Internal] `RenderWrapperController` now passes an object of params to `WorkerRenderController` and `RenderController` that contains only the properties those classes need.
23
+
24
+ ### Fixed
25
+
26
+ - Fixed issue where the properties window would always be empty when filtering by a search term with multiple special characters, e.g. "(("
27
+ - Toggling between Normal and X-Ray modes no longer clears the hidden set.
28
+ - Fixed bug that prevented the canvas from resizing automatically.
29
+ - [Internal] Fixed a bug that pushed the canvas up in the HTML layout during Cypress test runs.
30
+
31
+ ## [6.8.0] - 2023-02-27
32
+
33
+ ### Added
34
+
35
+ - Added `api.getNamesForObjects` which takes array of object ids as a parameter and returns the array of names with each ids.
36
+ - Added ability to select similar objects from the context menu.
37
+ - Added `model.getObjects` which takes an array of object ids as a parameter and returns an array of objects.
38
+
8
39
  ## [6.7.0] - 2022-02-13
9
40
 
10
41
  ### Added
@@ -12,7 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
43
  - Added a new `gui` namespace:
13
44
  - `gui.addContextMenuItem(...)`: Appends a new entry in the Context Menu;
14
45
  - `gui.removeContextMenuItems(...)`: Removes a set of entries from the Context Menu;
15
- - Added `this.viewer.model.getObject` to the Web Viewer SDK which takes a object id as a parameter and returns a node object.
46
+ - Added `model.getObject` which takes a object id as a parameter and returns a node object.
16
47
  - Added Hidden Objects api to the Web Viewer SDK and adds the following
17
48
  - `model.hideObjects` to hide objects by id
18
49
  - `model.unhideAllObjects` to unhide all objects