@procore/bim-webviewer-sdk 17.5.0-rc.0 → 17.5.0-rc.10
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 +15 -0
- package/dist/Procore.Bim.Webviewer.d.ts +0 -4
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/api/analytic_events/analyticKeys.d.ts +1 -0
- package/dist/types/src/components/ContextMenuComponent/ContextMenuComponent.d.ts +1 -0
- package/dist/types/src/components/ToolBarComponent/ToolBarComponent.d.ts +0 -1
- package/dist/types/src/measuring/MeasurementManager.d.ts +1 -0
- package/dist/types/src/sectioning/__tests__/fixtures.d.ts +4 -0
- package/dist/types/src/types/WebviewerOptions.d.ts +0 -4
- package/dist/types/src/utils/ApiMetaData/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -148,6 +148,7 @@ export declare const MEASUREMENT_ORIGIN: {
|
|
|
148
148
|
readonly ESC: "esc";
|
|
149
149
|
readonly HOTKEY: "hotkey";
|
|
150
150
|
readonly NAVIGATION_CHANGE: "navigation_change";
|
|
151
|
+
readonly HOME: "home";
|
|
151
152
|
};
|
|
152
153
|
export type MeasurementOrigin = (typeof MEASUREMENT_ORIGIN)[keyof typeof MEASUREMENT_ORIGIN];
|
|
153
154
|
export declare const measurements: {
|
|
@@ -25,6 +25,7 @@ export class ContextMenuComponent {
|
|
|
25
25
|
globalOffset: any;
|
|
26
26
|
objectCount: number;
|
|
27
27
|
contextMenuMeshnodeIndex: number;
|
|
28
|
+
onMeasurementToggled(payload: any): void;
|
|
28
29
|
isContextMenuBlocked(): Promise<any>;
|
|
29
30
|
OnSelectedUpdated(): void;
|
|
30
31
|
OnGetPropertyName(response: any): void;
|
|
@@ -24,6 +24,7 @@ export declare class MeasurementManager {
|
|
|
24
24
|
private onSectionBoxDisplayToggled;
|
|
25
25
|
private onSectionBoxDisplayHoverUpdated;
|
|
26
26
|
private onSelectTool;
|
|
27
|
+
private onHomeViewpointActivated;
|
|
27
28
|
setGlobalOffset(params: Vector3): void;
|
|
28
29
|
setMeasurementEnabled(params: {
|
|
29
30
|
measurementMode?: MeasureMode;
|
|
@@ -2,7 +2,11 @@ import type { SectionDataAutodeskFormat, SectionDataProcoreFormat } from '../Sec
|
|
|
2
2
|
export declare const procoreFormatUnitless: SectionDataProcoreFormat;
|
|
3
3
|
export declare const procoreFormatInInches: SectionDataProcoreFormat;
|
|
4
4
|
export declare const procoreFormatSixPlanesToBox: SectionDataProcoreFormat;
|
|
5
|
+
export declare const procoreFormatNonNormalizedPlane: SectionDataProcoreFormat;
|
|
6
|
+
export declare const procoreFormatNormalizedPlane: SectionDataProcoreFormat;
|
|
5
7
|
export declare const autodeskFormatClipPlaneUnitless: SectionDataAutodeskFormat;
|
|
6
8
|
export declare const autodeskFormatClipPlaneInInches: SectionDataAutodeskFormat;
|
|
9
|
+
export declare const autodeskFormatNonNormalizedPlane: SectionDataAutodeskFormat;
|
|
10
|
+
export declare const autodeskFormatNormalizedPlane: SectionDataAutodeskFormat;
|
|
7
11
|
export declare const autodeskFormatOrientedBoxUnitless: SectionDataAutodeskFormat;
|
|
8
12
|
export declare const autodeskFormatOrientedBoxInInches: SectionDataAutodeskFormat;
|
|
@@ -4,10 +4,6 @@ import { Model } from '../api/types/Model';
|
|
|
4
4
|
import { ModelRevision } from '../api/types/ModelRevision';
|
|
5
5
|
import type { Tool } from '../components/Tool';
|
|
6
6
|
export type FeatureFlags = {
|
|
7
|
-
/**
|
|
8
|
-
* @beta Enables the new measurement mode Point to Point, which allows users to measure the distance between two points in the model.
|
|
9
|
-
*/
|
|
10
|
-
enablePointToPoint: boolean;
|
|
11
7
|
/**
|
|
12
8
|
* @beta Enables writing mesh data to OPFS for partitioned models, which allows users to use features that use mesh data, notably Point to Point.
|
|
13
9
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiMetaData as _ApiMetaData } from './ApiMetaData';
|
|
2
2
|
import { Options } from '../../types/WebviewerOptions';
|
|
3
3
|
export { API_MODE, ApiMode } from './ApiMetaData';
|
|
4
|
+
export { ApiMetaData as ApiMetaDataInstance } from './ApiMetaData';
|
|
4
5
|
export declare namespace ApiMetaData {
|
|
5
6
|
let store: _ApiMetaData;
|
|
6
7
|
const init: (initOptions: Options) => void;
|