vim-web 0.3.44-dev.57 → 0.3.44-dev.58
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/dist/types/react-viewers/controlbar/controlBar.d.ts +10 -0
- package/dist/types/react-viewers/panels/contextMenu.d.ts +10 -0
- package/dist/types/react-viewers/ultra/viewerRef.d.ts +1 -1
- package/dist/types/react-viewers/webgl/viewerRef.d.ts +2 -22
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
* @module viw-webgl-react
|
|
3
3
|
*/
|
|
4
4
|
import { IControlBarSection } from './controlBarSection';
|
|
5
|
+
/**
|
|
6
|
+
* Reference to manage control bar functionality in the viewer.
|
|
7
|
+
*/
|
|
8
|
+
export type ControlBarRef = {
|
|
9
|
+
/**
|
|
10
|
+
* Defines a callback function to dynamically customize the control bar.
|
|
11
|
+
* @param customization The configuration object specifying the customization options for the control bar.
|
|
12
|
+
*/
|
|
13
|
+
customize: (customization: ControlBarCustomization) => void;
|
|
14
|
+
};
|
|
5
15
|
/**
|
|
6
16
|
* A map function that changes the context menu.
|
|
7
17
|
*/
|
|
@@ -8,6 +8,16 @@ import { ModalRef } from './modal';
|
|
|
8
8
|
import { IsolationRef } from '../state/sharedIsolation';
|
|
9
9
|
import * as Core from '../../core-viewers';
|
|
10
10
|
type ClickCallback = React.MouseEvent<HTMLDivElement, MouseEvent>;
|
|
11
|
+
/**
|
|
12
|
+
* Reference to manage context menu functionality in the viewer.
|
|
13
|
+
*/
|
|
14
|
+
export type ContextMenuRef = {
|
|
15
|
+
/**
|
|
16
|
+
* Defines a callback function to dynamically customize the context menu.
|
|
17
|
+
* @param customization The configuration object specifying the customization options for the context menu.
|
|
18
|
+
*/
|
|
19
|
+
customize: (customization: ContextMenuCustomization) => void;
|
|
20
|
+
};
|
|
11
21
|
export declare function showContextMenu(position: {
|
|
12
22
|
x: number;
|
|
13
23
|
y: number;
|
|
@@ -3,7 +3,7 @@ import { ModalRef } from '../panels/modal';
|
|
|
3
3
|
import { CameraRef } from '../state/cameraState';
|
|
4
4
|
import { SectionBoxRef } from '../state/sectionBoxState';
|
|
5
5
|
import { IsolationRef } from '../state/sharedIsolation';
|
|
6
|
-
import { ControlBarRef } from '../
|
|
6
|
+
import { ControlBarRef } from '../controlbar';
|
|
7
7
|
export type ViewerRef = {
|
|
8
8
|
/**
|
|
9
9
|
* The Vim viewer instance associated with the viewer.
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* @module public-api
|
|
3
3
|
*/
|
|
4
4
|
import * as Core from '../../core-viewers';
|
|
5
|
-
import {
|
|
5
|
+
import { ContextMenuRef } from '../panels/contextMenu';
|
|
6
6
|
import { Settings } from '../settings/settings';
|
|
7
7
|
import { CameraRef } from '../state/cameraState';
|
|
8
8
|
import { Container } from '../container';
|
|
9
9
|
import { BimInfoPanelRef } from '../bim/bimInfoData';
|
|
10
|
-
import {
|
|
10
|
+
import { ControlBarRef } from '../controlbar';
|
|
11
11
|
import { ComponentLoader } from './loading';
|
|
12
12
|
import { ModalRef } from '../panels/modal';
|
|
13
13
|
import { SectionBoxRef } from '../state/sectionBoxState';
|
|
@@ -27,26 +27,6 @@ export type SettingsRef = {
|
|
|
27
27
|
*/
|
|
28
28
|
register: (callback: (settings: Settings) => void) => void;
|
|
29
29
|
};
|
|
30
|
-
/**
|
|
31
|
-
* Reference to manage context menu functionality in the viewer.
|
|
32
|
-
*/
|
|
33
|
-
export type ContextMenuRef = {
|
|
34
|
-
/**
|
|
35
|
-
* Defines a callback function to dynamically customize the context menu.
|
|
36
|
-
* @param customization The configuration object specifying the customization options for the context menu.
|
|
37
|
-
*/
|
|
38
|
-
customize: (customization: ContextMenuCustomization) => void;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Reference to manage control bar functionality in the viewer.
|
|
42
|
-
*/
|
|
43
|
-
export type ControlBarRef = {
|
|
44
|
-
/**
|
|
45
|
-
* Defines a callback function to dynamically customize the control bar.
|
|
46
|
-
* @param customization The configuration object specifying the customization options for the control bar.
|
|
47
|
-
*/
|
|
48
|
-
customize: (customization: ControlBarCustomization) => void;
|
|
49
|
-
};
|
|
50
30
|
/**
|
|
51
31
|
* Reference to manage help message functionality in the viewer.
|
|
52
32
|
*/
|