@procore/bim-webviewer-sdk 16.3.0 → 16.4.0-rc.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 +18 -0
- package/dist/Procore.Bim.Webviewer.d.ts +40 -20
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/Webviewer.d.ts +2 -1
- package/dist/types/src/components/RootComponent.d.ts +3 -4
- package/dist/types/src/components/ShortestDistanceComponent.d.ts +4 -12
- package/dist/types/src/components/ToolBarComponent/ToolBarComponent.d.ts +5 -2
- package/dist/types/src/components/ToolBarComponent/ToolbarButton/SplitButton.d.ts +25 -0
- package/dist/types/src/components/ToolBarComponent/ToolbarButton/__tests__/SplitButton.test.d.ts +1 -0
- package/dist/types/src/components/WindowViewPropertiesComponent/WindowViewPropertiesComponent.d.ts +4 -0
- package/dist/types/src/controllers/PubSubController.d.ts +1 -0
- package/dist/types/src/measuring/CursorTooltip/CursorToolip.d.ts +15 -0
- package/dist/types/src/measuring/CursorTooltip/__tests__/CursorToolip.test.d.ts +1 -0
- package/dist/types/src/measuring/CursorTooltip/index.d.ts +1 -0
- package/dist/types/src/measuring/DistanceLabel.d.ts +1 -0
- package/dist/types/src/measuring/FeatureTooltip/FeatureTooltip.d.ts +20 -0
- package/dist/types/src/measuring/FeatureTooltip/__tests__/FeatureTooltip.test.d.ts +1 -0
- package/dist/types/src/measuring/FeatureTooltip/index.d.ts +1 -0
- package/dist/types/src/measuring/MeasureToolUtils.d.ts +1 -1
- package/dist/types/src/measuring/MeasurementInterface.d.ts +10 -0
- package/dist/types/src/measuring/MeasurementManager.d.ts +28 -0
- package/dist/types/src/measuring/MeasurementRenderer.d.ts +1 -0
- package/dist/types/src/measuring/PointToPointController.d.ts +7 -7
- package/dist/types/src/measuring/PointToPointManager.d.ts +22 -15
- package/dist/types/src/measuring/__tests__/MeasurementManager.test.d.ts +1 -0
- package/dist/types/src/measuring/__tests__/PointToPointFixtures.d.ts +1 -1
- package/dist/types/src/measuring/__tests__/fixtures.d.ts +34 -0
- package/dist/types/src/measuring/index.d.ts +1 -0
- package/dist/types/src/validateOptions/index.d.ts +1 -1
- package/dist/types/src/validateOptions/validateOptions.d.ts +1 -0
- package/package.json +2 -2
|
@@ -20,7 +20,8 @@ export type ResourceDiscriminator = {
|
|
|
20
20
|
export declare class Webviewer {
|
|
21
21
|
options: Options;
|
|
22
22
|
pointToPointManager: PointToPointManager;
|
|
23
|
-
private measurementRenderer;
|
|
23
|
+
private readonly measurementRenderer;
|
|
24
|
+
private readonly measurementManager;
|
|
24
25
|
static readonly tools: {
|
|
25
26
|
readonly ALL: 0;
|
|
26
27
|
readonly BOTTOMTOOL: 1;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
export function RootComponent(options: any, pubsub: any, renderController: any, apiController: any, settingsController: any, sectionBoxDisplayManager: any, viewpointManager: any,
|
|
1
|
+
export function RootComponent(options: any, pubsub: any, renderController: any, apiController: any, settingsController: any, sectionBoxDisplayManager: any, viewpointManager: any, measurementManager: any): void;
|
|
2
2
|
export class RootComponent {
|
|
3
|
-
constructor(options: any, pubsub: any, renderController: any, apiController: any, settingsController: any, sectionBoxDisplayManager: any, viewpointManager: any,
|
|
3
|
+
constructor(options: any, pubsub: any, renderController: any, apiController: any, settingsController: any, sectionBoxDisplayManager: any, viewpointManager: any, measurementManager: any);
|
|
4
4
|
options: any;
|
|
5
5
|
pubsub: any;
|
|
6
6
|
render: any;
|
|
7
7
|
sectionBoxDisplayManager: any;
|
|
8
8
|
viewpointManager: any;
|
|
9
|
-
|
|
9
|
+
measurementManager: any;
|
|
10
10
|
api: any;
|
|
11
11
|
settings: any;
|
|
12
12
|
sub_components: {};
|
|
13
13
|
sectionToolDropdown: SectionToolDropdown | null;
|
|
14
|
-
component_options: {};
|
|
15
14
|
window_components: any[];
|
|
16
15
|
disabled: any[];
|
|
17
16
|
statsJS: StatsJS | undefined;
|
|
@@ -16,19 +16,11 @@ export class ShortestDistanceComponent {
|
|
|
16
16
|
showMeasurement: boolean;
|
|
17
17
|
pivot: import("three").Vector3;
|
|
18
18
|
onHideUpdated(): Promise<void>;
|
|
19
|
-
resetMeasurementCallback(): void;
|
|
20
19
|
onMouseMove(event: any): void;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
z: any;
|
|
26
|
-
}>;
|
|
27
|
-
globalOffset: {
|
|
28
|
-
x: any;
|
|
29
|
-
y: any;
|
|
30
|
-
z: any;
|
|
31
|
-
} | undefined;
|
|
20
|
+
toggle(params: any): void;
|
|
21
|
+
setGlobalOffset(params: any): void;
|
|
22
|
+
globalOffset: import("three").Vector3 | undefined;
|
|
23
|
+
getGlobalOffset(): import("three").Vector3;
|
|
32
24
|
onNavigationChanged(data: any): Promise<void>;
|
|
33
25
|
compute(modelItem1: any, modelItem2: any): Promise<void>;
|
|
34
26
|
result: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export function ToolBarComponent(options: any, pubsub: any, render: any, api: any, sectionBoxDisplayManager: any, viewpointManager: any, tooltipManager: any): void;
|
|
1
|
+
export function ToolBarComponent(options: any, pubsub: any, render: any, api: any, sectionBoxDisplayManager: any, viewpointManager: any, tooltipManager: any, measurementManager: any): void;
|
|
2
2
|
export class ToolBarComponent {
|
|
3
|
-
constructor(options: any, pubsub: any, render: any, api: any, sectionBoxDisplayManager: any, viewpointManager: any, tooltipManager: any);
|
|
3
|
+
constructor(options: any, pubsub: any, render: any, api: any, sectionBoxDisplayManager: any, viewpointManager: any, tooltipManager: any, measurementManager: any);
|
|
4
4
|
options: any;
|
|
5
5
|
pubsub: any;
|
|
6
6
|
render: any;
|
|
7
7
|
sectionBoxDisplayManager: any;
|
|
8
8
|
viewpointManager: any;
|
|
9
9
|
api: any;
|
|
10
|
+
measurementManager: any;
|
|
10
11
|
dom: any;
|
|
11
12
|
toolbarElement: HTMLDivElement | null;
|
|
12
13
|
tooltipManager: any;
|
|
@@ -59,9 +60,11 @@ export class ToolBarComponent {
|
|
|
59
60
|
createOptionalTools(toolbar: any): void;
|
|
60
61
|
onResize(): void;
|
|
61
62
|
createNavTools(toolbar: any): void;
|
|
63
|
+
onMeasurementToggled(data: any): void;
|
|
62
64
|
onSectionBoxDisplayToggled(data: any): void;
|
|
63
65
|
onRenderModeChanged(data: any): void;
|
|
64
66
|
onSelectTool(data: any): void;
|
|
67
|
+
selectMeasurementTool(data: any): void;
|
|
65
68
|
selectSectionBoxTool(): Promise<void>;
|
|
66
69
|
ResetNavSelection(): void;
|
|
67
70
|
createToolTipContent(elem: any, name: any): string | HTMLDivElement;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import './styles.css';
|
|
2
|
+
type FlyOutMenuItem = {
|
|
3
|
+
content: string;
|
|
4
|
+
onMenuItemClick: () => void;
|
|
5
|
+
cssIconClass: string;
|
|
6
|
+
};
|
|
7
|
+
export declare class SplitButton {
|
|
8
|
+
element: HTMLElement;
|
|
9
|
+
flyOutMenu: HTMLElement;
|
|
10
|
+
button: HTMLElement;
|
|
11
|
+
buttonIcon: HTMLElement;
|
|
12
|
+
flyOutClickAreaButton: HTMLElement;
|
|
13
|
+
flyOutMenuItemsElements: HTMLElement[];
|
|
14
|
+
constructor(params: {
|
|
15
|
+
mainButton: {
|
|
16
|
+
content: string;
|
|
17
|
+
onButtonClick: () => void;
|
|
18
|
+
};
|
|
19
|
+
flyOutMenuItems: FlyOutMenuItem[];
|
|
20
|
+
});
|
|
21
|
+
private createFlyOutMenuItem;
|
|
22
|
+
private setMenuItemSelected;
|
|
23
|
+
private flyOutClickZoneOnClick;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
package/dist/types/src/components/ToolBarComponent/ToolbarButton/__tests__/SplitButton.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/src/components/WindowViewPropertiesComponent/WindowViewPropertiesComponent.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export class WindowViewPropertiesComponent {
|
|
|
8
8
|
searchTerm: string;
|
|
9
9
|
searchComponent: SearchInput | null;
|
|
10
10
|
currentNodeId: number;
|
|
11
|
+
data: any[];
|
|
11
12
|
debouncedTrackSearchEvent: (...args: any[]) => void;
|
|
12
13
|
defaultPropertiesContent: HTMLDivElement;
|
|
13
14
|
propertiesCard: PropertiesCardComponent;
|
|
@@ -17,6 +18,9 @@ export class WindowViewPropertiesComponent {
|
|
|
17
18
|
allPropertiesHeaderDiv: HTMLDivElement;
|
|
18
19
|
allPropertiesBodyDiv: HTMLDivElement;
|
|
19
20
|
allPropertiesHeaderCard: PropertiesCardComponent;
|
|
21
|
+
OnUpdateProperties(pageToUpdate: any): void;
|
|
22
|
+
curatedListSetPropActions(formattedData: any): void;
|
|
23
|
+
nonCuratedListSetPropActions(formattedData: any): void;
|
|
20
24
|
OnGetProperties(response: any): void;
|
|
21
25
|
OnGetPropertyName(response: any): void;
|
|
22
26
|
OnSelectedUpdated(): void;
|
|
@@ -85,6 +85,7 @@ export namespace PubSubController {
|
|
|
85
85
|
sectionBoxDisplayHoverUpdated: "sectionBoxDisplayHoverUpdated";
|
|
86
86
|
sectionBoxDisplayResized: "sectionBoxDisplayResized";
|
|
87
87
|
sectionBoxDisplayToggled: "sectionBoxDisplayToggled";
|
|
88
|
+
measurementToggled: "measurementToggled";
|
|
88
89
|
sectionBoxRemoved: "sectionBoxRemoved";
|
|
89
90
|
sectionBoxSet: "sectionBoxSet";
|
|
90
91
|
sectionPlaneAdded: "sectionPlaneAdded";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './styles.css';
|
|
2
|
+
export declare class CursorTooltip {
|
|
3
|
+
element: HTMLElement;
|
|
4
|
+
private readonly bimMain;
|
|
5
|
+
private readonly offset;
|
|
6
|
+
constructor(params: {
|
|
7
|
+
label: string;
|
|
8
|
+
offset: number;
|
|
9
|
+
});
|
|
10
|
+
private onMouseMove;
|
|
11
|
+
updateLabel(label: string): void;
|
|
12
|
+
show(): void;
|
|
13
|
+
hide(): void;
|
|
14
|
+
dispose(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CursorTooltip } from './CursorToolip';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import './styles.css';
|
|
2
|
+
export declare class FeatureTooltip {
|
|
3
|
+
element: HTMLElement;
|
|
4
|
+
private readonly bimMain;
|
|
5
|
+
private timerId;
|
|
6
|
+
private readonly locale;
|
|
7
|
+
constructor(params: {
|
|
8
|
+
locale: string;
|
|
9
|
+
});
|
|
10
|
+
private onMouseMove;
|
|
11
|
+
private onMeasurementObjectLeave;
|
|
12
|
+
private onMeasurementObjectMove;
|
|
13
|
+
private showTooltip;
|
|
14
|
+
private getSnapTypeLabel;
|
|
15
|
+
private updateLabel;
|
|
16
|
+
private setPosition;
|
|
17
|
+
show(): void;
|
|
18
|
+
hide(): void;
|
|
19
|
+
dispose(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FeatureTooltip } from './FeatureTooltip';
|
|
@@ -31,7 +31,7 @@ export declare function getIntersectionSnapAndOutline(params: {
|
|
|
31
31
|
end: THREE.Vector3;
|
|
32
32
|
}[];
|
|
33
33
|
cursorRotation: Vector3;
|
|
34
|
-
snapScreenPosition: Vector3
|
|
34
|
+
snapScreenPosition: Vector3;
|
|
35
35
|
};
|
|
36
36
|
export declare function detectSnapFeature(intersectPoint: THREE.Vector3, line: THREE.Line3, cameraPosition: THREE.Vector3): {
|
|
37
37
|
detectedSnapType: SnapType;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MeasurementInterface } from './MeasurementInterface';
|
|
2
|
+
export declare const MEASURE_MODES: {
|
|
3
|
+
POINT_TO_POINT: string;
|
|
4
|
+
SHORTEST_DISTANCE: string;
|
|
5
|
+
};
|
|
6
|
+
type MeasureMode = (typeof MEASURE_MODES)[keyof typeof MEASURE_MODES];
|
|
7
|
+
export declare class MeasurementManager {
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
private currentMode;
|
|
10
|
+
private readonly measureModeToImplementationMap;
|
|
11
|
+
constructor(measurements: {
|
|
12
|
+
measurementMode: MeasureMode;
|
|
13
|
+
implementation: MeasurementInterface;
|
|
14
|
+
}[]);
|
|
15
|
+
setGlobalOffset(params: {
|
|
16
|
+
offsetX: number;
|
|
17
|
+
offsetY: number;
|
|
18
|
+
offsetZ: number;
|
|
19
|
+
}): void;
|
|
20
|
+
setMeasurementEnabled(params: {
|
|
21
|
+
measurementMode: MeasureMode;
|
|
22
|
+
enable: boolean;
|
|
23
|
+
}): void;
|
|
24
|
+
toggleMeasurement(measurementMode: MeasureMode): void;
|
|
25
|
+
toggleCurrentMeasurement(): void;
|
|
26
|
+
private updateMeasurementState;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -57,6 +57,7 @@ export declare class MeasurementRenderer {
|
|
|
57
57
|
private onResize;
|
|
58
58
|
private onCameraUpdated;
|
|
59
59
|
private updateDistanceLabelPosition;
|
|
60
|
+
private isDistanceLabelHidden;
|
|
60
61
|
private areRectsOverlapping;
|
|
61
62
|
private isOverlapping;
|
|
62
63
|
private stackElementsVerticallyToFirst;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PickingController } from '../picking/PickingController';
|
|
2
2
|
import type { Models } from '../procoregl/Models';
|
|
3
|
-
import { Vector3 } from '../types/Math';
|
|
4
3
|
import type { SnapType } from './MeasureToolUtils';
|
|
5
4
|
import type { ViewerRenderer } from '../procoregl/ViewerRenderer';
|
|
5
|
+
import { Vector3 } from '../types/Math';
|
|
6
6
|
export type WorldIntersectionSnapResult = {
|
|
7
7
|
intersection: Vector3;
|
|
8
8
|
snapType: SnapType;
|
|
@@ -17,20 +17,20 @@ export type WorldIntersectionSnapResult = {
|
|
|
17
17
|
}[];
|
|
18
18
|
meshnodeIndex: number;
|
|
19
19
|
cursorRotation: Vector3;
|
|
20
|
-
snapScreenPosition: Vector3
|
|
20
|
+
snapScreenPosition: Vector3;
|
|
21
21
|
};
|
|
22
22
|
export declare class PointToPointController {
|
|
23
|
-
private pickingController;
|
|
24
|
-
private models;
|
|
23
|
+
private readonly pickingController;
|
|
24
|
+
private readonly models;
|
|
25
25
|
private readonly camera;
|
|
26
26
|
private currentHoverMeshnodeIndex;
|
|
27
|
-
private meshTopologyCache;
|
|
27
|
+
private readonly meshTopologyCache;
|
|
28
28
|
private _enabled;
|
|
29
29
|
private readonly globalOffset;
|
|
30
30
|
private prevLastWorldIntersectionSnapResult;
|
|
31
31
|
private lastWorldIntersectionSnapResult;
|
|
32
|
-
private debugGui;
|
|
33
|
-
private viewerRenderer;
|
|
32
|
+
private readonly debugGui;
|
|
33
|
+
private readonly viewerRenderer;
|
|
34
34
|
constructor(params: {
|
|
35
35
|
pickingController: PickingController;
|
|
36
36
|
models: Models;
|
|
@@ -1,35 +1,40 @@
|
|
|
1
1
|
import type { SvgRenderer } from '../components/Markup/SvgRenderer';
|
|
2
|
-
import type { RenderControllerProxy } from '../controllers/RenderControllerProxy';
|
|
3
2
|
import type { MeasurementRenderer } from './MeasurementRenderer';
|
|
4
3
|
import type { SettingsController } from '../controllers/SettingsController';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private
|
|
9
|
-
private
|
|
4
|
+
import type { RenderControllerProxy } from '../controllers/RenderControllerProxy';
|
|
5
|
+
import type { MeasurementInterface } from './MeasurementInterface';
|
|
6
|
+
export declare class PointToPointManager implements MeasurementInterface {
|
|
7
|
+
private readonly svgRenderer;
|
|
8
|
+
private readonly renderControllerProxy;
|
|
9
|
+
private readonly settingsController;
|
|
10
|
+
private readonly measurementRenderer;
|
|
10
11
|
private firstMeasurePoint;
|
|
11
12
|
private secondMeasurePoint;
|
|
12
13
|
private snapPosition;
|
|
13
14
|
private static pointToPointEnabled;
|
|
14
15
|
private outlines;
|
|
15
16
|
private pivot;
|
|
16
|
-
private gui;
|
|
17
|
+
private readonly gui;
|
|
17
18
|
private globalOffset;
|
|
18
19
|
private temporaryDistanceLabel;
|
|
19
20
|
private camera;
|
|
21
|
+
private readonly locale;
|
|
22
|
+
private cursorTooltip;
|
|
23
|
+
private featureTooltip;
|
|
20
24
|
constructor(params: {
|
|
21
25
|
renderControllerProxy: RenderControllerProxy;
|
|
22
26
|
settingsController: SettingsController;
|
|
23
27
|
svgRenderer: SvgRenderer;
|
|
24
|
-
globalOffset: {
|
|
25
|
-
offsetX: number;
|
|
26
|
-
offsetY: number;
|
|
27
|
-
offsetZ: number;
|
|
28
|
-
};
|
|
29
28
|
measurementRenderer: MeasurementRenderer;
|
|
29
|
+
locale: string;
|
|
30
30
|
});
|
|
31
|
+
setGlobalOffset(params: {
|
|
32
|
+
offsetX: number;
|
|
33
|
+
offsetY: number;
|
|
34
|
+
offsetZ: number;
|
|
35
|
+
}): void;
|
|
36
|
+
getGlobalOffset(): THREE.Vector3;
|
|
31
37
|
private onCameraUpdated;
|
|
32
|
-
private onSelectTool;
|
|
33
38
|
private onNavigationChanged;
|
|
34
39
|
private onMeasurementObjectMove;
|
|
35
40
|
private updateTemporaryDistanceLabel;
|
|
@@ -37,9 +42,11 @@ export declare class PointToPointManager {
|
|
|
37
42
|
private onMeasurementObjectClick;
|
|
38
43
|
private resetMeasurement;
|
|
39
44
|
static isEnabled(): boolean;
|
|
40
|
-
|
|
45
|
+
toggle(params: {
|
|
41
46
|
enable: boolean;
|
|
42
|
-
}): void
|
|
47
|
+
}): Promise<void>;
|
|
48
|
+
private createCursors;
|
|
49
|
+
private removeCursors;
|
|
43
50
|
private setCameraAndNavigationControls;
|
|
44
51
|
private updateSvg;
|
|
45
52
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -26,7 +26,7 @@ export declare const measurementObjectClickPayloadSecondAnchor: {
|
|
|
26
26
|
z: number;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export declare const
|
|
29
|
+
export declare const measurementObjectMovePayload: WorldIntersectionSnapResult;
|
|
30
30
|
export declare const svgDataObjectOutline: {
|
|
31
31
|
lines: {
|
|
32
32
|
stroke: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const CAMERA_IN_FRONT_OF_DISTANCE_LABELS: {
|
|
2
|
+
fov: number;
|
|
3
|
+
aspect: number;
|
|
4
|
+
near: number;
|
|
5
|
+
far: number;
|
|
6
|
+
position: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
z: number;
|
|
10
|
+
};
|
|
11
|
+
quaternion: {
|
|
12
|
+
w: number;
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
z: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const CAMERA_BEHIND_OF_DISTANCE_LABELS: {
|
|
19
|
+
fov: number;
|
|
20
|
+
aspect: number;
|
|
21
|
+
near: number;
|
|
22
|
+
far: number;
|
|
23
|
+
position: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
z: number;
|
|
27
|
+
};
|
|
28
|
+
quaternion: {
|
|
29
|
+
w: number;
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
z: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -2,3 +2,4 @@ export { PointToPointManager } from './PointToPointManager';
|
|
|
2
2
|
export { PointToPointController, WorldIntersectionSnapResult, } from './PointToPointController';
|
|
3
3
|
export { MeasurementRenderer } from './MeasurementRenderer';
|
|
4
4
|
export { SNAP_TYPE } from './MeasureToolUtils';
|
|
5
|
+
export { MeasurementManager, MEASURE_MODES } from './MeasurementManager';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { validateOptions } from './validateOptions';
|
|
1
|
+
export { validateOptions, extractToolOptions } from './validateOptions';
|
|
@@ -11,5 +11,6 @@ export function checkRotation(rotation: any): {
|
|
|
11
11
|
export function checkWebWorker(options: any): any;
|
|
12
12
|
export function checkRequired(options: any): void;
|
|
13
13
|
export function validateOptions(options: any): void;
|
|
14
|
+
export function extractToolOptions(tools: any): {};
|
|
14
15
|
export const ModelViewsMissingRequirementsError: "The MODELVIEWS tool requires `bimFileId` and `modelRevisionId` to retrieve the model viewpoints but these keys is absent from options object.";
|
|
15
16
|
export const ObjectTreeMissingRequirementsError: "Context Menu Tool is required for Object Tree Tool. Expected: { tools: [ProcoreBim.Webviewer.tools.CONTEXTMENU, ProcoreBim.Webviewer.tools.OBJECTMODELTREE] }";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/bim-webviewer-sdk",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.4.0-rc.0",
|
|
4
4
|
"description": "Procore BIM Webviewer SDK",
|
|
5
5
|
"main": "dist/Procore.Bim.Webviewer.js",
|
|
6
6
|
"types": "dist/Procore.Bim.Webviewer.d.ts",
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
],
|
|
13
13
|
"author": "Procore Technologies",
|
|
14
14
|
"license": "SEE LICENSE IN LICENSE"
|
|
15
|
-
}
|
|
15
|
+
}
|