@procore/bim-webviewer-sdk 16.6.0-rc.8 → 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.
Files changed (42) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/Procore.Bim.Webviewer.d.ts +11 -11
  3. package/dist/Procore.Bim.Webviewer.js +1 -1
  4. package/dist/types/src/api/analytic_events/analyticKeys.d.ts +30 -30
  5. package/dist/types/src/api/analytic_events/payloadFactories.d.ts +8 -8
  6. package/dist/types/src/components/ContextMenuComponent/ContextMenuComponent.d.ts +1 -1
  7. package/dist/types/src/components/RootComponent.d.ts +3 -3
  8. package/dist/types/src/components/ShortestDistanceComponent.d.ts +1 -1
  9. package/dist/types/src/components/WindowModelObjectComponent/VirtualizedList.d.ts +1 -1
  10. package/dist/types/src/components/WindowModelObjectComponent/WindowModelObjectComponent.d.ts +3 -3
  11. package/dist/types/src/components/WindowTreeComponent.d.ts +0 -1
  12. package/dist/types/src/components/WindowTreeViewComponent.d.ts +2 -3
  13. package/dist/types/src/components/WindowViewPropertiesComponent/WindowViewPropertiesComponent.d.ts +3 -3
  14. package/dist/types/src/controllers/ApiController/ApiController.d.ts +2 -2
  15. package/dist/types/src/controllers/CacheController.d.ts +2 -2
  16. package/dist/types/src/controllers/DatabaseController.d.ts +1 -1
  17. package/dist/types/src/controllers/DomController/DomController.d.ts +0 -1
  18. package/dist/types/src/controllers/PubSubController.d.ts +1 -1
  19. package/dist/types/src/controllers/RenderController.d.ts +16 -16
  20. package/dist/types/src/controllers/RenderControllerProxy.d.ts +11 -11
  21. package/dist/types/src/controllers/RenderStatusType.d.ts +4 -4
  22. package/dist/types/src/messages.d.ts +7 -7
  23. package/dist/types/src/navigation/Orbit/calcNewPosition.d.ts +0 -1
  24. package/dist/types/src/navigation/Orbit/getQuatToCylinderSpace.d.ts +0 -1
  25. package/dist/types/src/procoregl/HiddenNodeServices/HiddenNodeServices.d.ts +1 -1
  26. package/dist/types/src/procoregl/HiddenNodeServices/rangify.d.ts +2 -8
  27. package/dist/types/src/procoregl/PartitionsRenderer.d.ts +3 -3
  28. package/dist/types/src/procoregl/ProcoreGeometries/ProcoreArrow.d.ts +0 -1
  29. package/dist/types/src/procoregl/ProcoreGeometries/StubbyArrow.d.ts +0 -1
  30. package/dist/types/src/procoregl/SectionDisplay/getCursorDirectionFromCameraToPlane.d.ts +1 -2
  31. package/dist/types/src/sectioning/utils.d.ts +0 -1
  32. package/dist/types/src/threeShaking.d.ts +47 -47
  33. package/dist/types/src/unit_util.d.ts +3 -3
  34. package/dist/types/src/utils/Benchmark/MainThreadBenchmark.d.ts +2 -2
  35. package/dist/types/src/utils/DebugGui/MainThreadDebugGui.d.ts +1 -1
  36. package/dist/types/src/utils/DebugGui/WorkerDebugGui.d.ts +1 -1
  37. package/dist/types/src/utils/ZoomExtents/__tests__/computePoseToFitBoxFromPosition.test.d.ts +0 -1
  38. package/dist/types/src/utils/ZoomExtents/computeRefinedBbox.d.ts +2 -3
  39. package/dist/types/src/utils/ZoomExtents/utils.d.ts +0 -1
  40. package/dist/types/src/utils/i18n.d.ts +1 -1
  41. package/dist/types/src/validateOptions/checkTools.d.ts +1 -1
  42. package/package.json +1 -1
@@ -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: import("three").Box3;
9
+ bbox: THREE.Box3;
11
10
  meshnodes: Meshnode[];
12
11
  spaceJunkEliminationThreshold: number;
13
- }) => import("three").Box3;
12
+ }) => THREE.Box3;
14
13
  };
15
14
  export default _default;
@@ -1,4 +1,3 @@
1
- import { THREE } from '../../threeShaking';
2
1
  import { BoundingBox } from '../../types/Math';
3
2
  export declare const bboxToBox3: (bbox: BoundingBox) => THREE.Box3;
4
3
  type ComputeOptimalCameraDistanceFromBboxCenterParams = {
@@ -1,5 +1,5 @@
1
1
  export namespace i18n {
2
- const localCache: {};
2
+ let localCache: {};
3
3
  function __(locale: any, phrase: any): any;
4
4
  function fallbackLanguage(locale: any, phrase: any): any;
5
5
  }
@@ -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 0;
5
+ export declare const isAllTools: (tools: CheckToolsParam) => tools is AllTools;
6
6
  export declare const checkTools: (tools: CheckToolsParam) => void;
7
7
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/bim-webviewer-sdk",
3
- "version": "16.6.0-rc.8",
3
+ "version": "16.6.0-rc.9",
4
4
  "description": "Procore BIM Webviewer SDK",
5
5
  "main": "dist/Procore.Bim.Webviewer.js",
6
6
  "types": "dist/Procore.Bim.Webviewer.d.ts",