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/vim-web.js CHANGED
@@ -67561,6 +67561,39 @@ function createSection$1(section) {
67561
67561
  if (section.enable !== void 0 && !section.enable()) return null;
67562
67562
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `vim-control-bar-section ${section.style ?? sectionDefaultStyle}`, children: section.buttons.map((b) => createButton(b)) }, section.id);
67563
67563
  }
67564
+ const elementIds = {
67565
+ // Sections
67566
+ sectionCamera: "controlBar.sectionCamera",
67567
+ sectionActions: "controlBar.sectionActions",
67568
+ sectionTools: "controlBar.sectionTools",
67569
+ sectionSettings: "controlBar.sectionSettings",
67570
+ sectionMeasure: "controlBar.sectionMeasure",
67571
+ sectionSectionBox: "controlBar.sectionSectionBox",
67572
+ // Camera buttons
67573
+ buttonCameraOrbit: "controlBar.camera.orbit",
67574
+ buttonCameraLook: "controlBarcamera.look",
67575
+ buttonCameraPan: "controlBar.camera.pan",
67576
+ buttonCameraZoom: "controlBar.camera.zoom",
67577
+ buttonCameraZoomWindow: "controlBar.camera.zoomWindow",
67578
+ // Settings buttons
67579
+ buttonProjectInspector: "controlBar.projectInspector",
67580
+ buttonSettings: "controlBar.settings",
67581
+ buttonHelp: "controlBar.help",
67582
+ buttonMaximize: "controlBar.maximize",
67583
+ // Action Buttons
67584
+ buttonToggleIsolation: "controlBar.action.toggleIsolation",
67585
+ buttonZoomToFit: "controlBar.action.zoomToFit",
67586
+ // Tools buttons
67587
+ buttonSectionBox: "controlBar.sectionBox",
67588
+ buttonMeasure: "controlBar.measure",
67589
+ // Section box buttons
67590
+ buttonSectionBoxEnable: "controlBar.sectionBox.enable",
67591
+ buttonSectionBoxVisible: "controlBar.sectionBox.visible",
67592
+ buttonSectionBoxShrinkToSelection: "controlBar.sectionBox.shrinkToSelection",
67593
+ buttonSectionBoxAuto: "controlBar.sectionBox.auto",
67594
+ buttonSectionBoxClip: "controlBar.sectionBox.clip",
67595
+ buttonSectionBoxSettings: "controlBar.sectionBox.settings"
67596
+ };
67564
67597
  function ControlBar(props) {
67565
67598
  useEffect(() => {
67566
67599
  ReactTooltip.rebuild();
@@ -67590,6 +67623,7 @@ const controlBar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
67590
67623
  buttonExpandStyle,
67591
67624
  createButton,
67592
67625
  createSection: createSection$1,
67626
+ elementIds,
67593
67627
  sectionBlueStyle,
67594
67628
  sectionDefaultStyle,
67595
67629
  sectionNoPadStyle
@@ -67775,39 +67809,6 @@ function getMeasureState(viewer, cursor) {
67775
67809
  clear
67776
67810
  };
67777
67811
  }
67778
- const elementIds = {
67779
- // Sections
67780
- sectionCamera: "controlBar.sectionCamera",
67781
- sectionActions: "controlBar.sectionActions",
67782
- sectionTools: "controlBar.sectionTools",
67783
- sectionSettings: "controlBar.sectionSettings",
67784
- sectionMeasure: "controlBar.sectionMeasure",
67785
- sectionSectionBox: "controlBar.sectionSectionBox",
67786
- // Camera buttons
67787
- buttonCameraOrbit: "controlBar.camera.orbit",
67788
- buttonCameraLook: "controlBarcamera.look",
67789
- buttonCameraPan: "controlBar.camera.pan",
67790
- buttonCameraZoom: "controlBar.camera.zoom",
67791
- buttonCameraZoomWindow: "controlBar.camera.zoomWindow",
67792
- // Settings buttons
67793
- buttonProjectInspector: "controlBar.projectInspector",
67794
- buttonSettings: "controlBar.settings",
67795
- buttonHelp: "controlBar.help",
67796
- buttonMaximize: "controlBar.maximize",
67797
- // Action Buttons
67798
- buttonToggleIsolation: "controlBar.action.toggleIsolation",
67799
- buttonZoomToFit: "controlBar.action.zoomToFit",
67800
- // Tools buttons
67801
- buttonSectionBox: "controlBar.sectionBox",
67802
- buttonMeasure: "controlBar.measure",
67803
- // Section box buttons
67804
- buttonSectionBoxEnable: "controlBar.sectionBox.enable",
67805
- buttonSectionBoxVisible: "controlBar.sectionBox.visible",
67806
- buttonSectionBoxShrinkToSelection: "controlBar.sectionBox.shrinkToSelection",
67807
- buttonSectionBoxAuto: "controlBar.sectionBox.auto",
67808
- buttonSectionBoxClip: "controlBar.sectionBox.clip",
67809
- buttonSectionBoxSettings: "controlBar.sectionBox.settings"
67810
- };
67811
67812
  function controlBarSectionBox(section, hasSelection) {
67812
67813
  return {
67813
67814
  id: elementIds.sectionSectionBox,