vim-web 0.3.44-dev.3 → 0.3.44-dev.4
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 +1 -0
- package/dist/types/react-viewers/controlbar/controlBarIds.d.ts +27 -0
- package/dist/types/react-viewers/state/controlBarState.d.ts +0 -27
- package/dist/vim-web.iife.js +34 -33
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +34 -33
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { IControlBarSection } from './controlBarSection';
|
|
|
5
5
|
export * from './controlBarSection';
|
|
6
6
|
export * from './controlBarButton';
|
|
7
7
|
export * from './controlBarSection';
|
|
8
|
+
export * from './controlBarIds';
|
|
8
9
|
/**
|
|
9
10
|
* A map function that changes the context menu.
|
|
10
11
|
*/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const elementIds: {
|
|
2
|
+
sectionCamera: string;
|
|
3
|
+
sectionActions: string;
|
|
4
|
+
sectionTools: string;
|
|
5
|
+
sectionSettings: string;
|
|
6
|
+
sectionMeasure: string;
|
|
7
|
+
sectionSectionBox: string;
|
|
8
|
+
buttonCameraOrbit: string;
|
|
9
|
+
buttonCameraLook: string;
|
|
10
|
+
buttonCameraPan: string;
|
|
11
|
+
buttonCameraZoom: string;
|
|
12
|
+
buttonCameraZoomWindow: string;
|
|
13
|
+
buttonProjectInspector: string;
|
|
14
|
+
buttonSettings: string;
|
|
15
|
+
buttonHelp: string;
|
|
16
|
+
buttonMaximize: string;
|
|
17
|
+
buttonToggleIsolation: string;
|
|
18
|
+
buttonZoomToFit: string;
|
|
19
|
+
buttonSectionBox: string;
|
|
20
|
+
buttonMeasure: string;
|
|
21
|
+
buttonSectionBoxEnable: string;
|
|
22
|
+
buttonSectionBoxVisible: string;
|
|
23
|
+
buttonSectionBoxShrinkToSelection: string;
|
|
24
|
+
buttonSectionBoxAuto: string;
|
|
25
|
+
buttonSectionBoxClip: string;
|
|
26
|
+
buttonSectionBoxSettings: string;
|
|
27
|
+
};
|
|
@@ -8,33 +8,6 @@ import * as Icons from '../panels/icons';
|
|
|
8
8
|
import { SectionBoxRef } from './sectionBoxState';
|
|
9
9
|
import { ModalRef } from '../panels/modal';
|
|
10
10
|
import * as ControlBar from '../controlbar/controlBar';
|
|
11
|
-
export declare const elementIds: {
|
|
12
|
-
sectionCamera: string;
|
|
13
|
-
sectionActions: string;
|
|
14
|
-
sectionTools: string;
|
|
15
|
-
sectionSettings: string;
|
|
16
|
-
sectionMeasure: string;
|
|
17
|
-
sectionSectionBox: string;
|
|
18
|
-
buttonCameraOrbit: string;
|
|
19
|
-
buttonCameraLook: string;
|
|
20
|
-
buttonCameraPan: string;
|
|
21
|
-
buttonCameraZoom: string;
|
|
22
|
-
buttonCameraZoomWindow: string;
|
|
23
|
-
buttonProjectInspector: string;
|
|
24
|
-
buttonSettings: string;
|
|
25
|
-
buttonHelp: string;
|
|
26
|
-
buttonMaximize: string;
|
|
27
|
-
buttonToggleIsolation: string;
|
|
28
|
-
buttonZoomToFit: string;
|
|
29
|
-
buttonSectionBox: string;
|
|
30
|
-
buttonMeasure: string;
|
|
31
|
-
buttonSectionBoxEnable: string;
|
|
32
|
-
buttonSectionBoxVisible: string;
|
|
33
|
-
buttonSectionBoxShrinkToSelection: string;
|
|
34
|
-
buttonSectionBoxAuto: string;
|
|
35
|
-
buttonSectionBoxClip: string;
|
|
36
|
-
buttonSectionBoxSettings: string;
|
|
37
|
-
};
|
|
38
11
|
/**
|
|
39
12
|
* Returns a control bar section for the section box.
|
|
40
13
|
*/
|
package/dist/vim-web.iife.js
CHANGED
|
@@ -67577,6 +67577,39 @@ Averrage Date/Second ${avgDataRatePS} kb
|
|
|
67577
67577
|
if (section.enable !== void 0 && !section.enable()) return null;
|
|
67578
67578
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `vim-control-bar-section ${section.style ?? sectionDefaultStyle}`, children: section.buttons.map((b) => createButton(b)) }, section.id);
|
|
67579
67579
|
}
|
|
67580
|
+
const elementIds = {
|
|
67581
|
+
// Sections
|
|
67582
|
+
sectionCamera: "controlBar.sectionCamera",
|
|
67583
|
+
sectionActions: "controlBar.sectionActions",
|
|
67584
|
+
sectionTools: "controlBar.sectionTools",
|
|
67585
|
+
sectionSettings: "controlBar.sectionSettings",
|
|
67586
|
+
sectionMeasure: "controlBar.sectionMeasure",
|
|
67587
|
+
sectionSectionBox: "controlBar.sectionSectionBox",
|
|
67588
|
+
// Camera buttons
|
|
67589
|
+
buttonCameraOrbit: "controlBar.camera.orbit",
|
|
67590
|
+
buttonCameraLook: "controlBarcamera.look",
|
|
67591
|
+
buttonCameraPan: "controlBar.camera.pan",
|
|
67592
|
+
buttonCameraZoom: "controlBar.camera.zoom",
|
|
67593
|
+
buttonCameraZoomWindow: "controlBar.camera.zoomWindow",
|
|
67594
|
+
// Settings buttons
|
|
67595
|
+
buttonProjectInspector: "controlBar.projectInspector",
|
|
67596
|
+
buttonSettings: "controlBar.settings",
|
|
67597
|
+
buttonHelp: "controlBar.help",
|
|
67598
|
+
buttonMaximize: "controlBar.maximize",
|
|
67599
|
+
// Action Buttons
|
|
67600
|
+
buttonToggleIsolation: "controlBar.action.toggleIsolation",
|
|
67601
|
+
buttonZoomToFit: "controlBar.action.zoomToFit",
|
|
67602
|
+
// Tools buttons
|
|
67603
|
+
buttonSectionBox: "controlBar.sectionBox",
|
|
67604
|
+
buttonMeasure: "controlBar.measure",
|
|
67605
|
+
// Section box buttons
|
|
67606
|
+
buttonSectionBoxEnable: "controlBar.sectionBox.enable",
|
|
67607
|
+
buttonSectionBoxVisible: "controlBar.sectionBox.visible",
|
|
67608
|
+
buttonSectionBoxShrinkToSelection: "controlBar.sectionBox.shrinkToSelection",
|
|
67609
|
+
buttonSectionBoxAuto: "controlBar.sectionBox.auto",
|
|
67610
|
+
buttonSectionBoxClip: "controlBar.sectionBox.clip",
|
|
67611
|
+
buttonSectionBoxSettings: "controlBar.sectionBox.settings"
|
|
67612
|
+
};
|
|
67580
67613
|
function ControlBar(props) {
|
|
67581
67614
|
React2.useEffect(() => {
|
|
67582
67615
|
ReactTooltip.rebuild();
|
|
@@ -67606,6 +67639,7 @@ Averrage Date/Second ${avgDataRatePS} kb
|
|
|
67606
67639
|
buttonExpandStyle,
|
|
67607
67640
|
createButton,
|
|
67608
67641
|
createSection: createSection$1,
|
|
67642
|
+
elementIds,
|
|
67609
67643
|
sectionBlueStyle,
|
|
67610
67644
|
sectionDefaultStyle,
|
|
67611
67645
|
sectionNoPadStyle
|
|
@@ -67791,39 +67825,6 @@ Averrage Date/Second ${avgDataRatePS} kb
|
|
|
67791
67825
|
clear
|
|
67792
67826
|
};
|
|
67793
67827
|
}
|
|
67794
|
-
const elementIds = {
|
|
67795
|
-
// Sections
|
|
67796
|
-
sectionCamera: "controlBar.sectionCamera",
|
|
67797
|
-
sectionActions: "controlBar.sectionActions",
|
|
67798
|
-
sectionTools: "controlBar.sectionTools",
|
|
67799
|
-
sectionSettings: "controlBar.sectionSettings",
|
|
67800
|
-
sectionMeasure: "controlBar.sectionMeasure",
|
|
67801
|
-
sectionSectionBox: "controlBar.sectionSectionBox",
|
|
67802
|
-
// Camera buttons
|
|
67803
|
-
buttonCameraOrbit: "controlBar.camera.orbit",
|
|
67804
|
-
buttonCameraLook: "controlBarcamera.look",
|
|
67805
|
-
buttonCameraPan: "controlBar.camera.pan",
|
|
67806
|
-
buttonCameraZoom: "controlBar.camera.zoom",
|
|
67807
|
-
buttonCameraZoomWindow: "controlBar.camera.zoomWindow",
|
|
67808
|
-
// Settings buttons
|
|
67809
|
-
buttonProjectInspector: "controlBar.projectInspector",
|
|
67810
|
-
buttonSettings: "controlBar.settings",
|
|
67811
|
-
buttonHelp: "controlBar.help",
|
|
67812
|
-
buttonMaximize: "controlBar.maximize",
|
|
67813
|
-
// Action Buttons
|
|
67814
|
-
buttonToggleIsolation: "controlBar.action.toggleIsolation",
|
|
67815
|
-
buttonZoomToFit: "controlBar.action.zoomToFit",
|
|
67816
|
-
// Tools buttons
|
|
67817
|
-
buttonSectionBox: "controlBar.sectionBox",
|
|
67818
|
-
buttonMeasure: "controlBar.measure",
|
|
67819
|
-
// Section box buttons
|
|
67820
|
-
buttonSectionBoxEnable: "controlBar.sectionBox.enable",
|
|
67821
|
-
buttonSectionBoxVisible: "controlBar.sectionBox.visible",
|
|
67822
|
-
buttonSectionBoxShrinkToSelection: "controlBar.sectionBox.shrinkToSelection",
|
|
67823
|
-
buttonSectionBoxAuto: "controlBar.sectionBox.auto",
|
|
67824
|
-
buttonSectionBoxClip: "controlBar.sectionBox.clip",
|
|
67825
|
-
buttonSectionBoxSettings: "controlBar.sectionBox.settings"
|
|
67826
|
-
};
|
|
67827
67828
|
function controlBarSectionBox(section, hasSelection) {
|
|
67828
67829
|
return {
|
|
67829
67830
|
id: elementIds.sectionSectionBox,
|