@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,22 +1,22 @@
1
1
  export declare const model: {
2
- readonly initialization: `${string}.initialization`;
2
+ readonly initialization: "ux.web.bim_viewer.model.initialization";
3
3
  };
4
4
  export declare const bimToolbars: {
5
- readonly home_tapped: `${string}.home_tapped`;
6
- readonly settings_tapped: `${string}.settings_tapped`;
7
- readonly views_tapped: `${string}.views_tapped`;
8
- readonly objects_tapped: `${string}.objects_tapped`;
9
- readonly properties_tapped: `${string}.properties_tapped`;
10
- readonly measure_tapped: `${string}.measure_tapped`;
11
- readonly section_box_tapped: `${string}.section_box_tapped`;
12
- readonly xray_tapped: `${string}.xray_tapped`;
13
- readonly navigation_default_tapped: `${string}.navigation_default_tapped`;
14
- readonly navigation_orbit_tapped: `${string}.navigation_orbit_tapped`;
15
- readonly navigation_fly_tapped: `${string}.navigation_fly_tapped`;
5
+ readonly home_tapped: "project.3d_models.bim_toolbar.home_tapped";
6
+ readonly settings_tapped: "project.3d_models.bim_toolbar.settings_tapped";
7
+ readonly views_tapped: "project.3d_models.bim_toolbar.views_tapped";
8
+ readonly objects_tapped: "project.3d_models.bim_toolbar.objects_tapped";
9
+ readonly properties_tapped: "project.3d_models.bim_toolbar.properties_tapped";
10
+ readonly measure_tapped: "project.3d_models.bim_toolbar.measure_tapped";
11
+ readonly section_box_tapped: "project.3d_models.bim_toolbar.section_box_tapped";
12
+ readonly xray_tapped: "project.3d_models.bim_toolbar.xray_tapped";
13
+ readonly navigation_default_tapped: "project.3d_models.bim_toolbar.navigation_default_tapped";
14
+ readonly navigation_orbit_tapped: "project.3d_models.bim_toolbar.navigation_orbit_tapped";
15
+ readonly navigation_fly_tapped: "project.3d_models.bim_toolbar.navigation_fly_tapped";
16
16
  };
17
17
  export declare const clientLoadings: {
18
- readonly download_completed: `${string}.download_completed`;
19
- readonly initialization: `${string}.initialization`;
18
+ readonly download_completed: "project.3d_models.client_loading.download_completed";
19
+ readonly initialization: "project.3d_models.client_loading.initialization";
20
20
  };
21
21
  export type ModelType = 'standard' | 'partitioned' | undefined;
22
22
  export type BimModelsDownloadCompletedPayload = {
@@ -56,7 +56,7 @@ export type InitializationTrackEventPayload = ModelInitializationPayload & {
56
56
  file_extraction_id?: string;
57
57
  };
58
58
  export declare const webviewers: {
59
- readonly environment: `${string}.environment`;
59
+ readonly environment: "project.3d_models.webviewer.environment";
60
60
  };
61
61
  export type EnvironmentTrackEventPayload = {
62
62
  web_viewer_version: string;
@@ -78,13 +78,13 @@ export type EnvironmentTrackEventPayload = {
78
78
  ua_cpu_architecture?: string;
79
79
  };
80
80
  export declare const sectionBoxes: {
81
- readonly enabled: `${string}.enabled`;
82
- readonly disabled: `${string}.disabled`;
83
- readonly optionbar_open: `${string}.optionbar_open`;
84
- readonly optionbar_close: `${string}.optionbar_close`;
85
- readonly display_planes: `${string}.display_planes`;
86
- readonly reset: `${string}.reset`;
87
- readonly zoom_extents: `${string}.zoom_extents`;
81
+ readonly enabled: "project.3d_models.section_box.enabled";
82
+ readonly disabled: "project.3d_models.section_box.disabled";
83
+ readonly optionbar_open: "project.3d_models.section_box.optionbar_open";
84
+ readonly optionbar_close: "project.3d_models.section_box.optionbar_close";
85
+ readonly display_planes: "project.3d_models.section_box.display_planes";
86
+ readonly reset: "project.3d_models.section_box.reset";
87
+ readonly zoom_extents: "project.3d_models.section_box.zoom_extents";
88
88
  };
89
89
  export declare const SECTION_BOX_ORIGIN: {
90
90
  readonly OBJECT: "object";
@@ -122,11 +122,11 @@ export declare const bimProperties: {
122
122
  tab_changed: string;
123
123
  };
124
124
  export declare const modelObjectTrees: {
125
- readonly hide_all: `${string}.hide_all`;
126
- readonly select_all: `${string}.select_all`;
127
- readonly collapse_all: `${string}.collapse_all`;
128
- readonly searched: `${string}.searched`;
129
- readonly search_cleared: `${string}.search_cleared`;
125
+ readonly hide_all: "project.3d_models.bim_object_tree.hide_all";
126
+ readonly select_all: "project.3d_models.bim_object_tree.select_all";
127
+ readonly collapse_all: "project.3d_models.bim_object_tree.collapse_all";
128
+ readonly searched: "project.3d_models.bim_object_tree.searched";
129
+ readonly search_cleared: "project.3d_models.bim_object_tree.search_cleared";
130
130
  };
131
131
  export declare const renderings: {
132
132
  mode_changed: string;
@@ -149,7 +149,7 @@ export declare const MEASUREMENT_ORIGIN: {
149
149
  readonly HOTKEY: "hotkey";
150
150
  };
151
151
  export declare const measurements: {
152
- readonly enabled: `${string}.enabled`;
153
- readonly disabled: `${string}.disabled`;
154
- readonly completed: `${string}.completed`;
152
+ readonly enabled: "project.3d_models.measure.enabled";
153
+ readonly disabled: "project.3d_models.measure.disabled";
154
+ readonly completed: "project.3d_models.measure.completed";
155
155
  };
@@ -4,24 +4,24 @@ export declare const getModelMetaData: () => Promise<{
4
4
  file_name: string;
5
5
  file_type: string;
6
6
  input_file_size: number;
7
- file_extraction_id?: string | undefined;
7
+ file_extraction_id?: string;
8
8
  }>;
9
9
  export declare const getInitializationEventPayload: (params: {
10
- streaming?: boolean | undefined;
11
- pwf?: PWF | undefined;
10
+ streaming?: boolean;
11
+ pwf?: PWF;
12
12
  startTimestamp: number;
13
13
  duration: number;
14
14
  success: boolean;
15
- stepFailed?: string | undefined;
16
- errorDescription?: string | undefined;
15
+ stepFailed?: string;
16
+ errorDescription?: string;
17
17
  }) => ModelInitializationPayload;
18
18
  export declare const getInitializationTrackEventPayload: (eventPayload: ModelInitializationPayload) => Promise<InitializationTrackEventPayload>;
19
19
  export declare const getDownloadCompletedTrackEventPayload: (params: {
20
20
  timeToDownload: number;
21
21
  modelType: ModelType;
22
22
  modelCached: boolean;
23
- totalPartitionsSize?: number | undefined;
24
- totalPartitionsSizeCompressed?: number | undefined;
25
- numPartitions?: number | undefined;
23
+ totalPartitionsSize?: number;
24
+ totalPartitionsSizeCompressed?: number;
25
+ numPartitions?: number;
26
26
  }) => Promise<BimModelsDownloadCompletedPayload>;
27
27
  export declare const getEnvironmentTrackEventPayload: () => Promise<EnvironmentTrackEventPayload>;
@@ -55,4 +55,4 @@ export class ContextMenuComponent {
55
55
  removeContextMenuItems(ids: any): void;
56
56
  getSimilarObjects(): Promise<any>;
57
57
  }
58
- import { CONTEXT_MENU_ORIGIN } from "./helper";
58
+ import { CONTEXT_MENU_ORIGIN } from './helper';
@@ -22,6 +22,6 @@ export class RootComponent {
22
22
  GetWindowComponents(): any[];
23
23
  DisableComponent(component: any): void;
24
24
  }
25
- import { SectionToolDropdown } from "./DropdownComponent";
26
- import { StatsJS } from "./StatsJS";
27
- import { TooltipManager } from "./Tooltip";
25
+ import { SectionToolDropdown } from './DropdownComponent';
26
+ import { StatsJS } from './StatsJS';
27
+ import { TooltipManager } from './Tooltip';
@@ -31,4 +31,4 @@ export class ShortestDistanceComponent {
31
31
  onObjectMeasure(): Promise<void>;
32
32
  handleMeasureObjectsSelected(measureObjectMeshes: any): Promise<void>;
33
33
  }
34
- import { CursorTooltip } from "../measuring/CursorTooltip";
34
+ import { CursorTooltip } from '../measuring/CursorTooltip';
@@ -22,7 +22,7 @@ export declare class VirtualizedList {
22
22
  private cleanup;
23
23
  add: (params: {
24
24
  ids: number[];
25
- startId?: number | undefined;
25
+ startId?: number;
26
26
  }) => void;
27
27
  remove: (ids: number[]) => void;
28
28
  refreshList: () => Promise<void>;
@@ -77,6 +77,6 @@ export class WindowModelObjectComponent {
77
77
  getSelectedObjectCount(): Promise<any>;
78
78
  getObjectTreeName(): "default" | "filtered";
79
79
  }
80
- import { VirtualizedList } from "./VirtualizedList";
81
- import { SearchInput } from "../SearchInput";
82
- import { WindowAlertComponent } from "../WindowAlertComponent";
80
+ import { VirtualizedList } from './VirtualizedList';
81
+ import { SearchInput } from '../SearchInput';
82
+ import { WindowAlertComponent } from '../WindowAlertComponent';
@@ -1,7 +1,6 @@
1
1
  export function WindowTreeComponent(id: any, name: any, options: any, pubsub: any): void;
2
2
  export class WindowTreeComponent {
3
3
  constructor(id: any, name: any, options: any, pubsub: any);
4
- constructor: typeof WindowTreeComponent;
5
4
  CreateSubUnorderedList(subGroupId: any): HTMLUListElement;
6
5
  GetUnorderedList(subGroupId?: null): HTMLElement | null;
7
6
  CreateListItem(listItemId: any): HTMLLIElement;
@@ -13,7 +13,6 @@ export class WindowTreeViewComponent {
13
13
  viewpoints: any[];
14
14
  viewfolders: any[];
15
15
  viewfoldersDict: {};
16
- constructor: typeof WindowTreeViewComponent;
17
16
  CreateForFolder(folderId?: null): void;
18
17
  SetMarkupData(markupData: any, fov: any): void;
19
18
  CreateViewpointItem(revisionViewpoint: any, level?: number): any;
@@ -33,7 +32,7 @@ export class WindowTreeViewComponent {
33
32
  }
34
33
  export namespace WindowTreeViewComponent {
35
34
  namespace TypeEnum {
36
- const VIEWPOINT: number;
37
- const VIEWFOLDER: number;
35
+ let VIEWPOINT: number;
36
+ let VIEWFOLDER: number;
38
37
  }
39
38
  }
@@ -38,6 +38,6 @@ export class WindowViewPropertiesComponent {
38
38
  updateCurrentNodeProperties(nodeId: any): void;
39
39
  fetchObjectProperties(): void;
40
40
  }
41
- import { SearchInput } from "../SearchInput";
42
- import { PropertiesCardComponent } from "../PropertiesCardComponent";
43
- import { TabsComponent } from "../TabsComponent";
41
+ import { SearchInput } from '../SearchInput';
42
+ import { PropertiesCardComponent } from '../PropertiesCardComponent';
43
+ import { TabsComponent } from '../TabsComponent';
@@ -22,5 +22,5 @@ export class ApiController {
22
22
  trackEvent(key: any, properties?: {}): Promise<void>;
23
23
  }
24
24
  export const api: ApiController;
25
- import * as ModelRevisions from "../../api/bim_model_revisions";
26
- import * as FileExtractions from "../../api/bim_file_extractions";
25
+ import * as ModelRevisions from '../../api/bim_model_revisions';
26
+ import * as FileExtractions from '../../api/bim_file_extractions';
@@ -14,8 +14,8 @@ export type ModelRevisionStoreItem = {
14
14
  };
15
15
  export declare const LocalStoreItemDNE = "Local store item does not exist.";
16
16
  export declare namespace Cache {
17
- const updateAndPurgeFileVersion: (fileVersion: FileVersion, propertyFileId: PropertiesFile['id'], geometryBundle: GeometryBundle) => Promise<void>;
18
- const updateAndPurgeModelRevision: (modelId: Model['id'], modelRevisionId: ModelRevision['id'], geometryBundle: GeometryBundle) => Promise<void>;
17
+ const updateAndPurgeFileVersion: (fileVersion: FileVersion, propertyFileId: PropertiesFile["id"], geometryBundle: GeometryBundle) => Promise<void>;
18
+ const updateAndPurgeModelRevision: (modelId: Model["id"], modelRevisionId: ModelRevision["id"], geometryBundle: GeometryBundle) => Promise<void>;
19
19
  const removeModel: (options: any) => Promise<boolean>;
20
20
  const hasModel: (geometryBundle: GeometryBundle) => Promise<boolean>;
21
21
  }
@@ -11,7 +11,7 @@ export class DatabaseController {
11
11
  deleteValue(objectStoreName: any, key: any): Promise<any>;
12
12
  }
13
13
  export namespace DatabaseController {
14
- const OBJECT_STORES: Readonly<{
14
+ let OBJECT_STORES: Readonly<{
15
15
  ModelVersion: "model_version";
16
16
  Settings: "project_settings";
17
17
  BrowserSettings: "browser_settings";
@@ -20,7 +20,6 @@ export class DomController {
20
20
  currentSnapshotPromise: any;
21
21
  buildSnapshotDataUrl({ color, aspectRatio, }?: {
22
22
  color?: string | undefined;
23
- aspectRatio: any;
24
23
  }): Promise<string>;
25
24
  dispose(): void;
26
25
  }
@@ -6,7 +6,7 @@ export class PubSubController {
6
6
  clear: () => void;
7
7
  }
8
8
  export namespace PubSubController {
9
- const EVENTS: Readonly<{
9
+ let EVENTS: Readonly<{
10
10
  animate: "animate";
11
11
  appResize: "appResize";
12
12
  appStart: "appStart";
@@ -197,7 +197,7 @@ export class RenderController {
197
197
  hidden?: boolean | undefined;
198
198
  selected?: boolean | undefined;
199
199
  partiallySelected?: boolean | undefined;
200
- parentId?: number | undefined;
200
+ parentId?: number;
201
201
  }[];
202
202
  };
203
203
  onDoubleClick(evt: any): void;
@@ -391,9 +391,9 @@ export class RenderController {
391
391
  }
392
392
  export namespace RenderController {
393
393
  namespace NullSelectedSubtree {
394
- const objectId: number;
395
- const selectionContainerId: number;
396
- const ancestry: never[];
394
+ let objectId: number;
395
+ let selectionContainerId: number;
396
+ let ancestry: never[];
397
397
  }
398
398
  function createCameras(options: any): {
399
399
  default: import("three").PerspectiveCamera;
@@ -415,15 +415,15 @@ export namespace RenderController {
415
415
  };
416
416
  function sanitizeOptions(options: any): any;
417
417
  }
418
- import { StatusTrackingController } from "./StatusTrackingController";
419
- import { SectionController } from "../sectioning";
420
- import { EffectComposer } from "three/examples/jsm/postprocessing/EffectComposer";
421
- import { ProcoreRenderPass } from "../procoregl/ProcoreRenderPass";
422
- import { SectionRenderPass } from "../procoregl/SectionDisplay";
423
- import { PickingController } from "../picking/PickingController";
424
- import { PointToPointController } from "../measuring";
425
- import { NavigationModel } from "../navigation/NavigationModel";
426
- import { Models } from "../procoregl/Models";
427
- import { ShortestDistanceController } from "./ShortestDistanceController";
428
- import { ColorServices } from "../procoregl/ColorServices";
429
- import { ObjectTree } from "../procoregl/ObjectTree";
418
+ import { StatusTrackingController } from './StatusTrackingController';
419
+ import { SectionController } from '../sectioning';
420
+ import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
421
+ import { ProcoreRenderPass } from '../procoregl/ProcoreRenderPass';
422
+ import { SectionRenderPass } from '../procoregl/SectionDisplay';
423
+ import { PickingController } from '../picking/PickingController';
424
+ import { PointToPointController } from '../measuring';
425
+ import { NavigationModel } from '../navigation/NavigationModel';
426
+ import { Models } from '../procoregl/Models';
427
+ import { ShortestDistanceController } from './ShortestDistanceController';
428
+ import { ColorServices } from '../procoregl/ColorServices';
429
+ import { ObjectTree } from '../procoregl/ObjectTree';
@@ -281,16 +281,16 @@ export class RenderControllerProxy {
281
281
  }
282
282
  export namespace RenderControllerProxy {
283
283
  namespace NAVIGATION_MODE {
284
- const NONE: number;
285
- const GENERAL: number;
286
- const WALK: number;
287
- const ORBIT: number;
288
- const MEASURE: number;
284
+ let NONE: number;
285
+ let GENERAL: number;
286
+ let WALK: number;
287
+ let ORBIT: number;
288
+ let MEASURE: number;
289
289
  }
290
290
  }
291
- import { PubSubController } from "./PubSubController";
292
- import { NavigationManager } from "../navigation/NavigationManager";
293
- import { Hotkeys } from "../navigation/Hotkeys";
294
- import { RenderController } from "./RenderController";
295
- import { RenderControllerWorker } from "./RenderControllerWorker";
296
- import { PWFCache } from "../pwfreader/PWFCache";
291
+ import { PubSubController } from './PubSubController';
292
+ import { NavigationManager } from '../navigation/NavigationManager';
293
+ import { Hotkeys } from '../navigation/Hotkeys';
294
+ import { RenderController } from './RenderController';
295
+ import { RenderControllerWorker } from './RenderControllerWorker';
296
+ import { PWFCache } from '../pwfreader/PWFCache';
@@ -1,6 +1,6 @@
1
1
  export namespace RenderStatusType {
2
- const MOVE: number;
3
- const VIEW: number;
4
- const SECTION: number;
5
- const HIDE: number;
2
+ let MOVE: number;
3
+ let VIEW: number;
4
+ let SECTION: number;
5
+ let HIDE: number;
6
6
  }
@@ -1,14 +1,14 @@
1
1
  export namespace Messages {
2
2
  namespace MessageType {
3
- const Error: string;
4
- const Warning: string;
3
+ let Error: string;
4
+ let Warning: string;
5
5
  }
6
6
  namespace MessageComponent {
7
- const Downloading: string;
8
- const Engine: string;
9
- const FileReading: string;
10
- const Cache: string;
11
- const FloorPlan: string;
7
+ let Downloading: string;
8
+ let Engine: string;
9
+ let FileReading: string;
10
+ let Cache: string;
11
+ let FloorPlan: string;
12
12
  }
13
13
  function getMessage(type: any, component: any, message: any): {
14
14
  messageType: any;
@@ -1,4 +1,3 @@
1
- import { THREE } from '../../threeShaking';
2
1
  export declare const calcNewPosition: (params: {
3
2
  dragDeltaSpherical: THREE.Vector2;
4
3
  initialHorizontalRotation: number;
@@ -1,4 +1,3 @@
1
- import { THREE } from '../../threeShaking';
2
1
  export declare const getQuatToCylinderSpace: (initialTheta: number) => {
3
2
  o3d: {
4
3
  to: THREE.Quaternion;
@@ -23,7 +23,7 @@ export declare class HiddenNodeServices {
23
23
  hasMeshnodeIndices: (indexes: Array<number>, resourceId: number) => boolean;
24
24
  private nodeNeedsUpdating;
25
25
  getVisibility: (resourceId: number, options?: {
26
- defaultVisibilityAlwaysTrue?: boolean | undefined;
26
+ defaultVisibilityAlwaysTrue?: boolean;
27
27
  }) => Visibility;
28
28
  setVisibility: (visibility: Visibility, resourceId: number) => void;
29
29
  private updateNodeAndChildren;
@@ -1,14 +1,8 @@
1
1
  export declare const rangify: (numbers: number[]) => {
2
2
  numbers: number[];
3
- ranges: [
4
- number,
5
- number
6
- ][];
3
+ ranges: [number, number][];
7
4
  };
8
5
  export declare const derangify: (rangified: {
9
6
  numbers: number[];
10
- ranges: [
11
- number,
12
- number
13
- ][];
7
+ ranges: [number, number][];
14
8
  }) => number[];
@@ -91,6 +91,6 @@ export class PartitionsRenderer {
91
91
  allocTextureUnit: () => number;
92
92
  renderBufferDirect: (camera: any, fog: any, geometry: any, material: any, object: any, group: any) => void;
93
93
  }
94
- import { WebXRManager } from "three/src/renderers/webvr/WebXRManager";
95
- import { WebVRManager } from "three/src/renderers/webvr/WebVRManager";
96
- import { WebGLShadowMap } from "three/src/renderers/webgl/WebGLShadowMap";
94
+ import { WebXRManager } from 'three/src/renderers/webvr/WebXRManager';
95
+ import { WebVRManager } from 'three/src/renderers/webvr/WebVRManager';
96
+ import { WebGLShadowMap } from 'three/src/renderers/webgl/WebGLShadowMap';
@@ -1,2 +1 @@
1
- import { THREE } from '../../threeShaking';
2
1
  export declare const construct: () => THREE.Mesh[];
@@ -1,2 +1 @@
1
- import { THREE } from '../../threeShaking';
2
1
  export declare const construct: () => THREE.Mesh[];
@@ -1,2 +1 @@
1
- import { THREE } from '../../threeShaking';
2
- export declare const getCursorDirectionFromCameraToPlane: (camera: THREE.Camera, plane?: THREE.Mesh) => 'ns' | 'ew' | 'nwse' | 'nesw' | null;
1
+ export declare const getCursorDirectionFromCameraToPlane: (camera: THREE.Camera, plane?: THREE.Mesh) => "ns" | "ew" | "nwse" | "nesw" | null;
@@ -1,4 +1,3 @@
1
- import { THREE } from '../threeShaking';
2
1
  import { Vector3, BoundingBox } from '../types/Math';
3
2
  export declare const transformToThreePlane: (distance: number, normal: Vector3, rotation: Vector3 | null, center: THREE.Vector3 | undefined | null, offset: THREE.Vector3) => THREE.Plane;
4
3
  export declare const validateBoundary: (min: Vector3 | null, max: Vector3 | null) => boolean;
@@ -47,50 +47,50 @@ export namespace THREE {
47
47
  export { WebGLRenderer };
48
48
  export { WebGLRenderTarget };
49
49
  }
50
- import { AmbientLight } from "three/src/lights/AmbientLight";
51
- import { Box3 } from "three/src/math/Box3";
52
- import { BoxGeometry } from "three/src/geometries/BoxGeometry";
53
- import { BufferAttribute } from "three/src/core/BufferAttribute";
54
- import { BufferGeometry } from "three/src/core/BufferGeometry";
55
- import { Clock } from "three/src/core/Clock";
56
- import { Color } from "three/src/math/Color";
57
- import { Cylindrical } from "three/src/math/Cylindrical";
58
- import { DirectionalLight } from "three/src/lights/DirectionalLight";
59
- import { DoubleSide } from "three/src/constants";
60
- import { Euler } from "three/src/math/Euler";
61
- import { EdgesGeometry } from "three/src/geometries/EdgesGeometry";
62
- import { Face3 } from "three/src/core/Face3";
63
- import { FaceColors } from "three/src/constants";
64
- import { Frustum } from "three/src/math/Frustum";
65
- import { Geometry } from "three/src/core/Geometry";
66
- import { LessDepth } from "three/src/constants";
67
- import { Line3 } from "three/src/math/Line3";
68
- import { LinearFilter } from "three/src/constants";
69
- import { LineBasicMaterial } from "three/src/materials/LineBasicMaterial";
70
- import { LineSegments } from "three/src/objects/LineSegments";
71
- import { _Math } from "three/src/math/Math";
72
- import { Matrix3 } from "three/src/math/Matrix3";
73
- import { Matrix4 } from "three/src/math/Matrix4";
74
- import { Mesh } from "three/src/objects/Mesh";
75
- import { MeshBasicMaterial } from "three/src/materials/MeshBasicMaterial";
76
- import { MeshLambertMaterial } from "three/src/materials/MeshLambertMaterial";
77
- import { MOUSE } from "three/src/constants";
78
- import { Object3D } from "three/src/core/Object3D";
79
- import { OrthographicCamera } from "three/src/cameras/OrthographicCamera";
80
- import { PerspectiveCamera } from "three/src/cameras/PerspectiveCamera";
81
- import { Plane } from "three/src/math/Plane";
82
- import { PlaneGeometry } from "three/src/geometries/PlaneGeometry";
83
- import { Quaternion } from "three/src/math/Quaternion";
84
- import { RawShaderMaterial } from "three/src/materials/RawShaderMaterial";
85
- import { Ray } from "three/src/math/Ray";
86
- import { Raycaster } from "three/src/core/Raycaster";
87
- import { RGBAFormat } from "three/src/constants";
88
- import { Scene } from "three/src/scenes/Scene";
89
- import { ShaderMaterial } from "three/src/materials/ShaderMaterial";
90
- import { Spherical } from "three/src/math/Spherical";
91
- import { Triangle } from "three/src/math/Triangle";
92
- import { Vector2 } from "three/src/math/Vector2";
93
- import { Vector3 } from "three/src/math/Vector3";
94
- import { VertexColors } from "three/src/constants";
95
- import { WebGLRenderer } from "three/src/renderers/WebGLRenderer";
96
- import { WebGLRenderTarget } from "three/src/renderers/WebGLRenderTarget";
50
+ import { AmbientLight } from 'three/src/lights/AmbientLight';
51
+ import { Box3 } from 'three/src/math/Box3';
52
+ import { BoxGeometry } from 'three/src/geometries/BoxGeometry';
53
+ import { BufferAttribute } from 'three/src/core/BufferAttribute';
54
+ import { BufferGeometry } from 'three/src/core/BufferGeometry';
55
+ import { Clock } from 'three/src/core/Clock';
56
+ import { Color } from 'three/src/math/Color';
57
+ import { Cylindrical } from 'three/src/math/Cylindrical';
58
+ import { DirectionalLight } from 'three/src/lights/DirectionalLight';
59
+ import { DoubleSide } from 'three/src/constants';
60
+ import { Euler } from 'three/src/math/Euler';
61
+ import { EdgesGeometry } from 'three/src/geometries/EdgesGeometry';
62
+ import { Face3 } from 'three/src/core/Face3';
63
+ import { FaceColors } from 'three/src/constants';
64
+ import { Frustum } from 'three/src/math/Frustum';
65
+ import { Geometry } from 'three/src/core/Geometry';
66
+ import { LessDepth } from 'three/src/constants';
67
+ import { Line3 } from 'three/src/math/Line3';
68
+ import { LinearFilter } from 'three/src/constants';
69
+ import { LineBasicMaterial } from 'three/src/materials/LineBasicMaterial';
70
+ import { LineSegments } from 'three/src/objects/LineSegments';
71
+ import { _Math } from 'three/src/math/Math';
72
+ import { Matrix3 } from 'three/src/math/Matrix3';
73
+ import { Matrix4 } from 'three/src/math/Matrix4';
74
+ import { Mesh } from 'three/src/objects/Mesh';
75
+ import { MeshBasicMaterial } from 'three/src/materials/MeshBasicMaterial';
76
+ import { MeshLambertMaterial } from 'three/src/materials/MeshLambertMaterial';
77
+ import { MOUSE } from 'three/src/constants';
78
+ import { Object3D } from 'three/src/core/Object3D';
79
+ import { OrthographicCamera } from 'three/src/cameras/OrthographicCamera';
80
+ import { PerspectiveCamera } from 'three/src/cameras/PerspectiveCamera';
81
+ import { Plane } from 'three/src/math/Plane';
82
+ import { PlaneGeometry } from 'three/src/geometries/PlaneGeometry';
83
+ import { Quaternion } from 'three/src/math/Quaternion';
84
+ import { RawShaderMaterial } from 'three/src/materials/RawShaderMaterial';
85
+ import { Ray } from 'three/src/math/Ray';
86
+ import { Raycaster } from 'three/src/core/Raycaster';
87
+ import { RGBAFormat } from 'three/src/constants';
88
+ import { Scene } from 'three/src/scenes/Scene';
89
+ import { ShaderMaterial } from 'three/src/materials/ShaderMaterial';
90
+ import { Spherical } from 'three/src/math/Spherical';
91
+ import { Triangle } from 'three/src/math/Triangle';
92
+ import { Vector2 } from 'three/src/math/Vector2';
93
+ import { Vector3 } from 'three/src/math/Vector3';
94
+ import { VertexColors } from 'three/src/constants';
95
+ import { WebGLRenderer } from 'three/src/renderers/WebGLRenderer';
96
+ import { WebGLRenderTarget } from 'three/src/renderers/WebGLRenderTarget';
@@ -89,9 +89,9 @@ export declare const UnitUtil: {
89
89
  getEquivalentUnitForDisplayUnit: (fromUnit: Uom, displayUnit: DisplayUnit) => Uom;
90
90
  convertUnit: (value: number, fromUnit: Uom, toUnit: Uom) => number;
91
91
  formatUnit: (value: number, unit: Uom, options?: {
92
- fixed?: number | undefined;
93
- precision?: number | undefined;
94
- locale?: string | undefined;
92
+ fixed?: number;
93
+ precision?: number;
94
+ locale?: string;
95
95
  }) => string;
96
96
  };
97
97
  export {};
@@ -4,8 +4,8 @@ type OnLogCallback = (result: number) => void;
4
4
  export declare namespace MainThreadBenchmark {
5
5
  const engage: (params: {
6
6
  metricId: MetricId;
7
- onEnd?: OnEndCallback | undefined;
8
- onLog?: OnLogCallback | undefined;
7
+ onEnd?: OnEndCallback;
8
+ onLog?: OnLogCallback;
9
9
  }) => void;
10
10
  const isRunning: (metricId: MetricId) => boolean;
11
11
  const hasStarted: (metricId: MetricId) => boolean;
@@ -3,7 +3,7 @@ type Target = {
3
3
  [key: string]: any;
4
4
  };
5
5
  export declare namespace MainThreadDebugGui {
6
- const add: <T extends Target>(obj: T, configureStore?: ((store: GuiStore<T>) => void) | undefined, onChange?: ((...args: any[]) => void) | undefined) => T;
6
+ const add: <T extends Target>(obj: T, configureStore?: (store: GuiStore<T>) => void, onChange?: (...args: any[]) => void) => T;
7
7
  const destroy: () => void;
8
8
  }
9
9
  export {};
@@ -4,7 +4,7 @@ type Target = {
4
4
  [key: string]: any;
5
5
  };
6
6
  export declare namespace WorkerDebugGui {
7
- export const add: <T extends Target>(obj: T, configureStore?: ((store: GuiStore<T>) => void) | undefined, onChange?: ((...args: any[]) => void) | undefined) => T;
7
+ export const add: <T extends Target>(obj: T, configureStore?: (store: GuiStore<T>) => void, onChange?: (...args: any[]) => void) => T;
8
8
  type UpdateParams = {
9
9
  id: ProxyId;
10
10
  keyPath: string[];
@@ -1,3 +1,2 @@
1
- import { THREE } from '../../../threeShaking';
2
1
  export declare const getBboxSizeFromSphereRadius: (d: number, fov: number) => number;
3
2
  export declare const worldToModelSpace: (up: THREE.Vector3, vec: THREE.Vector3) => import("three").Vector3;