vim-web 0.5.0-dev.20 → 0.5.0-dev.22

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.
@@ -61575,80 +61575,72 @@ Averrage Date/Second ${avgDataRatePS} kb
61575
61575
  Ultra: index$7,
61576
61576
  Webgl: index$8
61577
61577
  }, Symbol.toStringTag, { value: "Module" }));
61578
- const sectionSelection = "controlBar.sectionSelection";
61579
- const sectionCamera = "controlBar.sectionCamera";
61580
- const sectionInputs = "controlBar.sectionInputs";
61581
- const sectionActions = "controlBar.sectionActions";
61582
- const sectionTools = "controlBar.sectionTools";
61583
- const sectionSettings = "controlBar.sectionSettings";
61584
- const sectionMeasure = "controlBar.sectionMeasure";
61585
- const sectionSectionBox = "controlBar.sectionSectionBox";
61586
- const buttonCameraFrameSelection = "controlBar.camera.frameSelection";
61587
- const buttonCameraFrameScene = "controlBar.camera.frameScene";
61588
- const buttonCameraAuto = "controlBar.camera.auto";
61589
- const buttonCameraOrbit = "controlBar.camera.orbit";
61590
- const buttonCameraLook = "controlBarcamera.look";
61591
- const buttonCameraPan = "controlBar.camera.pan";
61592
- const buttonCameraZoom = "controlBar.camera.zoom";
61593
- const buttonCameraZoomWindow = "controlBar.camera.zoomWindow";
61594
- const buttonProjectInspector = "controlBar.projectInspector";
61595
- const buttonSettings = "controlBar.settings";
61596
- const buttonHelp = "controlBar.help";
61597
- const buttonMaximize = "controlBar.maximize";
61598
- const buttonClearSelection = "controlBar.action.clearSelection";
61599
- const buttonShowAll = "controlBar.selection.showAll";
61600
- const buttonIsolateSelection = "controlBar.selection.isolate";
61601
- const buttonHideSelection = "controlBar.selection.hide";
61602
- const buttonShowSelection = "controlBar.selection.show";
61603
- const buttonAutoIsolate = "controlBar.selection.autoIsolate";
61604
- const buttonIsolationSettings = "controlBar.selection.isolationSettings";
61605
- const buttonRenderSettings = "controlBar.action.renderSettings";
61606
- const buttonSectionBox = "controlBar.sectionBox";
61607
- const buttonMeasure = "controlBar.measure";
61608
- const buttonSectionBoxEnable = "controlBar.sectionBox.enable";
61609
- const buttonSectionBoxVisible = "controlBar.sectionBox.visible";
61610
- const buttonSectionBoxToSelection = "controlBar.sectionBox.sectionSelection";
61611
- const buttonSectionBoxToScene = "controlBar.sectionBox.sectionScene";
61612
- const buttonSectionBoxAuto = "controlBar.sectionBox.auto";
61613
- const buttonSectionBoxSettings = "controlBar.sectionBox.settings";
61578
+ const cameraSpan = "controlBar.cameraSpan";
61579
+ const cameraFrameSelection = "controlBar.cameraFrameSelection";
61580
+ const cameraFrameScene = "controlBar.cameraFrameScene";
61581
+ const cameraAuto = "controlBar.cameraAuto";
61582
+ const cursorSpan = "controlBar.cursorSpan";
61583
+ const cursorOrbit = "controlBar.cursorOrbit";
61584
+ const cursorLook = "controlBar.cursorLook";
61585
+ const cursorPan = "controlBar.cursorPan";
61586
+ const cursorZoom = "controlBar.cursorZoom";
61587
+ const cursorZoomWindow = "controlBar.cursorZoomWindow";
61588
+ const visibilitySpan = "controlBar.visibilitySpan";
61589
+ const visibilityClearSelection = "controlBar.visibilityClearSelection";
61590
+ const visibilityShowAll = "controlBar.visibilityShowAll";
61591
+ const visibilityIsolateSelection = "controlBar.visibilityIsolateSelection";
61592
+ const visibilityHideSelection = "controlBar.visibilityHideSelection";
61593
+ const visibilityShowSelection = "controlBar.visibilityShowSelection";
61594
+ const visibilityAutoIsolate = "controlBar.visibilityAutoIsolate";
61595
+ const visibilitySettings = "controlBar.visibilitySettings";
61596
+ const sectioningSpan = "controlBar.sectioningSpan";
61597
+ const sectioningEnable = "controlBar.sectioningEnable";
61598
+ const sectioningVisible = "controlBar.sectioningVisible";
61599
+ const sectioningFitSelection = "controlBar.sectioningFitSelection";
61600
+ const sectioningFitScene = "controlBar.sectioningFitScene";
61601
+ const sectioningAuto = "controlBar.sectioningAuto";
61602
+ const sectioningSettings = "controlBar.sectioningSettings";
61603
+ const measureSpan = "controlBar.measureSpan";
61604
+ const measureEnable = "controlBar.measureEnable";
61605
+ const miscSpan = "controlBar.miscSpan";
61606
+ const miscInspector = "controlBar.miscInspector";
61607
+ const miscSettings = "controlBar.miscSettings";
61608
+ const miscHelp = "controlBar.miscHelp";
61609
+ const miscMaximize = "controlBar.miscMaximize";
61614
61610
  const controlBarIds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61615
61611
  __proto__: null,
61616
- buttonAutoIsolate,
61617
- buttonCameraAuto,
61618
- buttonCameraFrameScene,
61619
- buttonCameraFrameSelection,
61620
- buttonCameraLook,
61621
- buttonCameraOrbit,
61622
- buttonCameraPan,
61623
- buttonCameraZoom,
61624
- buttonCameraZoomWindow,
61625
- buttonClearSelection,
61626
- buttonHelp,
61627
- buttonHideSelection,
61628
- buttonIsolateSelection,
61629
- buttonIsolationSettings,
61630
- buttonMaximize,
61631
- buttonMeasure,
61632
- buttonProjectInspector,
61633
- buttonRenderSettings,
61634
- buttonSectionBox,
61635
- buttonSectionBoxAuto,
61636
- buttonSectionBoxEnable,
61637
- buttonSectionBoxSettings,
61638
- buttonSectionBoxToScene,
61639
- buttonSectionBoxToSelection,
61640
- buttonSectionBoxVisible,
61641
- buttonSettings,
61642
- buttonShowAll,
61643
- buttonShowSelection,
61644
- sectionActions,
61645
- sectionCamera,
61646
- sectionInputs,
61647
- sectionMeasure,
61648
- sectionSectionBox,
61649
- sectionSelection,
61650
- sectionSettings,
61651
- sectionTools
61612
+ cameraAuto,
61613
+ cameraFrameScene,
61614
+ cameraFrameSelection,
61615
+ cameraSpan,
61616
+ cursorLook,
61617
+ cursorOrbit,
61618
+ cursorPan,
61619
+ cursorSpan,
61620
+ cursorZoom,
61621
+ cursorZoomWindow,
61622
+ measureEnable,
61623
+ measureSpan,
61624
+ miscHelp,
61625
+ miscInspector,
61626
+ miscMaximize,
61627
+ miscSettings,
61628
+ miscSpan,
61629
+ sectioningAuto,
61630
+ sectioningEnable,
61631
+ sectioningFitScene,
61632
+ sectioningFitSelection,
61633
+ sectioningSettings,
61634
+ sectioningSpan,
61635
+ sectioningVisible,
61636
+ visibilityAutoIsolate,
61637
+ visibilityClearSelection,
61638
+ visibilityHideSelection,
61639
+ visibilityIsolateSelection,
61640
+ visibilitySettings,
61641
+ visibilityShowAll,
61642
+ visibilityShowSelection,
61643
+ visibilitySpan
61652
61644
  }, Symbol.toStringTag, { value: "Module" }));
61653
61645
  const baseSectionStyle = "vc-flex vc-items-center vc-rounded-full vc-mb-2 vc-shadow-md";
61654
61646
  const sectionDefaultStyle = baseSectionStyle + " vc-bg-white";
@@ -67330,7 +67322,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67330
67322
  return value.some(isTrue) ? element : null;
67331
67323
  }
67332
67324
  function anyUiAxesButton(settings2) {
67333
- return settings2.ui.orthographic || settings2.ui.resetCamera;
67325
+ return settings2.ui.axesOrthographic || settings2.ui.axesHome;
67334
67326
  }
67335
67327
  const AxesPanelMemo = React2.memo(AxesPanel);
67336
67328
  function AxesPanel(props) {
@@ -67390,15 +67382,15 @@ Averrage Date/Second ${avgDataRatePS} kb
67390
67382
  children: ortho ? /* @__PURE__ */ jsxRuntimeExports.jsx(orthographic, { height: 20, width: 20, fill: "currentColor" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(perspective, { height: 20, width: 20, fill: "currentColor" })
67391
67383
  }
67392
67384
  );
67393
- const hidden2 = isTrue(props.settings.value.ui.axesPanel) ? "" : " vc-hidden";
67385
+ const hidden2 = isTrue(props.settings.value.ui.panelAxes) ? "" : " vc-hidden";
67394
67386
  const empty2 = !anyUiAxesButton(props.settings.value);
67395
67387
  const createBar = () => {
67396
67388
  if (empty2) return null;
67397
67389
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "vim-axes-panel-bar vc-absolute vc-top-[75%] vc-bottom-0 vc-right-0 vc-left-0", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "vim-axes-panel-buttons vc-absolute vc-inset-0 vc-pointer-events-auto vc-order-2 vc-flex vc-items-center vc-justify-evenly vc-bg-white", children: [
67398
67390
  whenAllTrue([
67399
- props.settings.value.ui.orthographic
67391
+ props.settings.value.ui.axesOrthographic
67400
67392
  ], btnOrtho),
67401
- whenTrue(props.settings.value.ui.resetCamera, btnHome)
67393
+ whenTrue(props.settings.value.ui.axesHome, btnHome)
67402
67394
  ] }) });
67403
67395
  };
67404
67396
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -67628,12 +67620,12 @@ Averrage Date/Second ${avgDataRatePS} kb
67628
67620
  const Ids$2 = controlBarIds;
67629
67621
  function controlBarSectionBox(section, hasSelection, settings2) {
67630
67622
  return {
67631
- id: Ids$2.sectionSectionBox,
67623
+ id: Ids$2.sectioningSpan,
67632
67624
  style: section.enable.get() ? Style.sectionNoPadStyle : Style.sectionDefaultStyle,
67633
67625
  //enable: () => section.getEnable(),
67634
67626
  buttons: [
67635
67627
  {
67636
- id: Ids$2.buttonSectionBoxEnable,
67628
+ id: Ids$2.sectioningEnable,
67637
67629
  enabled: () => isTrue(settings2.sectioningEnable),
67638
67630
  tip: "Enable Section Box",
67639
67631
  isOn: () => section.enable.get(),
@@ -67642,7 +67634,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67642
67634
  icon: sectionBox
67643
67635
  },
67644
67636
  {
67645
- id: Ids$2.buttonSectionBoxToSelection,
67637
+ id: Ids$2.sectioningFitSelection,
67646
67638
  tip: "Fit Section",
67647
67639
  enabled: () => section.enable.get() && isTrue(settings2.sectioningFitToSelection),
67648
67640
  isOn: () => hasSelection,
@@ -67651,7 +67643,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67651
67643
  icon: sectionBoxShrink
67652
67644
  },
67653
67645
  {
67654
- id: Ids$2.buttonSectionBoxToScene,
67646
+ id: Ids$2.sectioningFitScene,
67655
67647
  tip: "Reset Section",
67656
67648
  enabled: () => section.enable.get() && isTrue(settings2.sectioningReset),
67657
67649
  style: (on) => Style.buttonDefaultStyle(on),
@@ -67659,7 +67651,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67659
67651
  icon: sectionBoxReset
67660
67652
  },
67661
67653
  {
67662
- id: Ids$2.buttonSectionBoxVisible,
67654
+ id: Ids$2.sectioningVisible,
67663
67655
  tip: "Show Section Box",
67664
67656
  enabled: () => section.enable.get() && isTrue(settings2.sectioningShow),
67665
67657
  isOn: () => section.visible.get(),
@@ -67668,7 +67660,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67668
67660
  icon: visible
67669
67661
  },
67670
67662
  {
67671
- id: Ids$2.buttonSectionBoxAuto,
67663
+ id: Ids$2.sectioningAuto,
67672
67664
  tip: "Auto Section",
67673
67665
  enabled: () => section.enable.get() && isTrue(settings2.sectioningAuto),
67674
67666
  isOn: () => section.auto.get(),
@@ -67677,7 +67669,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67677
67669
  icon: sectionBoxAuto
67678
67670
  },
67679
67671
  {
67680
- id: Ids$2.buttonSectionBoxSettings,
67672
+ id: Ids$2.sectioningSettings,
67681
67673
  tip: "Section Settings",
67682
67674
  enabled: () => section.enable.get() && isTrue(settings2.sectioningSettings),
67683
67675
  isOn: () => section.showOffsetPanel.get(),
@@ -67691,12 +67683,12 @@ Averrage Date/Second ${avgDataRatePS} kb
67691
67683
  function controlBarPointer(viewer, camera2, settings2, section) {
67692
67684
  const pointer2 = getPointerState(viewer);
67693
67685
  return {
67694
- id: Ids$2.sectionInputs,
67686
+ id: Ids$2.cursorSpan,
67695
67687
  enable: () => anyUiCursorButton(settings2),
67696
67688
  style: Style.sectionDefaultStyle,
67697
67689
  buttons: [
67698
67690
  {
67699
- id: Ids$2.buttonCameraOrbit,
67691
+ id: Ids$2.cursorOrbit,
67700
67692
  enabled: () => isTrue(settings2.cursorOrbit),
67701
67693
  tip: "Orbit",
67702
67694
  action: () => pointer2.onButton(PointerMode$1.ORBIT),
@@ -67705,7 +67697,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67705
67697
  style: Style.buttonDefaultStyle
67706
67698
  },
67707
67699
  {
67708
- id: Ids$2.buttonCameraLook,
67700
+ id: Ids$2.cursorLook,
67709
67701
  enabled: () => isTrue(settings2.cursorLookAround),
67710
67702
  tip: "Look Around",
67711
67703
  action: () => pointer2.onButton(PointerMode$1.LOOK),
@@ -67714,7 +67706,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67714
67706
  style: Style.buttonDefaultStyle
67715
67707
  },
67716
67708
  {
67717
- id: Ids$2.buttonCameraPan,
67709
+ id: Ids$2.cursorPan,
67718
67710
  enabled: () => isTrue(settings2.cursorPan),
67719
67711
  tip: "Pan",
67720
67712
  action: () => pointer2.onButton(PointerMode$1.PAN),
@@ -67723,7 +67715,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67723
67715
  style: Style.buttonDefaultStyle
67724
67716
  },
67725
67717
  {
67726
- id: Ids$2.buttonCameraZoom,
67718
+ id: Ids$2.cursorZoom,
67727
67719
  enabled: () => isTrue(settings2.cursorZoom),
67728
67720
  tip: "Zoom",
67729
67721
  action: () => pointer2.onButton(PointerMode$1.ZOOM),
@@ -67736,12 +67728,12 @@ Averrage Date/Second ${avgDataRatePS} kb
67736
67728
  }
67737
67729
  function controlBarMeasure(measure$1, settings2) {
67738
67730
  return {
67739
- id: Ids$2.sectionActions,
67731
+ id: Ids$2.measureSpan,
67740
67732
  enable: () => true,
67741
67733
  style: Style.sectionDefaultStyle,
67742
67734
  buttons: [
67743
67735
  {
67744
- id: Ids$2.buttonMeasure,
67736
+ id: Ids$2.measureEnable,
67745
67737
  enabled: () => isTrue(settings2.measureEnable),
67746
67738
  isOn: () => measure$1.active,
67747
67739
  tip: "Measuring Mode",
@@ -67752,40 +67744,48 @@ Averrage Date/Second ${avgDataRatePS} kb
67752
67744
  ]
67753
67745
  };
67754
67746
  }
67755
- function controlBarSettingsUltra(side, settings$1) {
67747
+ function controlBarMiscUltra(side, settings$1) {
67756
67748
  return {
67757
- id: Ids$2.sectionSettings,
67758
- enable: () => isTrue(settings$1.ui.settings),
67749
+ id: Ids$2.miscSpan,
67750
+ enable: () => isTrue(settings$1.ui.miscSettings),
67759
67751
  style: Style.sectionDefaultStyle,
67760
67752
  buttons: [
67761
67753
  {
67762
- id: Ids$2.buttonSettings,
67763
- enabled: () => isTrue(settings$1.ui.settings),
67754
+ id: Ids$2.miscSettings,
67755
+ enabled: () => isTrue(settings$1.ui.miscSettings),
67764
67756
  tip: "Settings",
67765
67757
  action: () => side.toggleContent("settings"),
67766
67758
  icon: settings,
67767
67759
  style: Style.buttonDefaultStyle
67760
+ },
67761
+ {
67762
+ id: Ids$2.miscHelp,
67763
+ enabled: () => isTrue(settings$1.ui.miscHelp),
67764
+ tip: "Help",
67765
+ action: () => side.toggleContent("settings"),
67766
+ icon: settings,
67767
+ style: Style.buttonDefaultStyle
67768
67768
  }
67769
67769
  ]
67770
67770
  };
67771
67771
  }
67772
- function controlBarSettings(modal, side, settings$1) {
67772
+ function controlBarMisc(modal, side, settings$1) {
67773
67773
  const fullScreen = getFullScreenState();
67774
67774
  return {
67775
- id: Ids$2.sectionSettings,
67775
+ id: Ids$2.miscSpan,
67776
67776
  enable: () => anyUiSettingButton(settings$1),
67777
67777
  style: Style.sectionDefaultStyle,
67778
67778
  buttons: [
67779
67779
  {
67780
- id: Ids$2.buttonProjectInspector,
67781
- enabled: () => isTrue(settings$1.ui.miscProjectInspector) && (isTrue(settings$1.ui.bimTreePanel) || isTrue(settings$1.ui.bimInfoPanel)),
67780
+ id: Ids$2.miscInspector,
67781
+ enabled: () => isTrue(settings$1.ui.miscProjectInspector) && (isTrue(settings$1.ui.panelBimTree) || isTrue(settings$1.ui.panelBimInfo)),
67782
67782
  tip: "Project Inspector",
67783
67783
  action: () => side.toggleContent("bim"),
67784
67784
  icon: treeView,
67785
67785
  style: Style.buttonDefaultStyle
67786
67786
  },
67787
67787
  {
67788
- id: Ids$2.buttonSettings,
67788
+ id: Ids$2.miscSettings,
67789
67789
  enabled: () => isTrue(settings$1.ui.miscSettings),
67790
67790
  tip: "Settings",
67791
67791
  action: () => side.toggleContent("settings"),
@@ -67793,7 +67793,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67793
67793
  style: Style.buttonDefaultStyle
67794
67794
  },
67795
67795
  {
67796
- id: Ids$2.buttonHelp,
67796
+ id: Ids$2.miscHelp,
67797
67797
  enabled: () => isTrue(settings$1.ui.miscHelp),
67798
67798
  tip: "Help",
67799
67799
  action: () => modal.help(true),
@@ -67801,7 +67801,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67801
67801
  style: Style.buttonDefaultStyle
67802
67802
  },
67803
67803
  {
67804
- id: Ids$2.buttonMaximize,
67804
+ id: Ids$2.miscMaximize,
67805
67805
  enabled: () => isTrue(settings$1.ui.miscMaximise) && settings$1.capacity.canGoFullScreen,
67806
67806
  tip: fullScreen.get() ? "Minimize" : "Fullscreen",
67807
67807
  action: () => fullScreen.toggle(),
@@ -67813,12 +67813,12 @@ Averrage Date/Second ${avgDataRatePS} kb
67813
67813
  }
67814
67814
  function controlBarCamera(camera2, settings2) {
67815
67815
  return {
67816
- id: Ids$2.sectionCamera,
67816
+ id: Ids$2.cameraSpan,
67817
67817
  enable: () => true,
67818
67818
  style: Style.sectionDefaultStyle,
67819
67819
  buttons: [
67820
67820
  {
67821
- id: Ids$2.buttonCameraAuto,
67821
+ id: Ids$2.cameraAuto,
67822
67822
  enabled: () => isTrue(settings2.cameraAuto),
67823
67823
  tip: "Auto Camera",
67824
67824
  isOn: () => camera2.autoCamera.get(),
@@ -67827,7 +67827,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67827
67827
  style: Style.buttonDefaultStyle
67828
67828
  },
67829
67829
  {
67830
- id: Ids$2.buttonCameraFrameSelection,
67830
+ id: Ids$2.cameraFrameSelection,
67831
67831
  enabled: () => isTrue(settings2.cameraFrameSelection),
67832
67832
  tip: "Frame Selection",
67833
67833
  action: () => camera2.frameSelection.call(),
@@ -67836,7 +67836,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67836
67836
  style: Style.buttonDefaultStyle
67837
67837
  },
67838
67838
  {
67839
- id: Ids$2.buttonCameraFrameScene,
67839
+ id: Ids$2.cameraFrameScene,
67840
67840
  enabled: () => isTrue(settings2.cameraFrameScene),
67841
67841
  tip: "Frame All",
67842
67842
  action: () => camera2.frameScene.call(),
@@ -67851,12 +67851,12 @@ Averrage Date/Second ${avgDataRatePS} kb
67851
67851
  const adapter = isolation.adapter.current;
67852
67852
  const someVisible = adapter.hasVisibleSelection() || !adapter.hasHiddenSelection();
67853
67853
  return {
67854
- id: Ids$2.sectionSelection,
67854
+ id: Ids$2.visibilitySpan,
67855
67855
  enable: () => true,
67856
67856
  style: `${Style.sectionDefaultStyle}`,
67857
67857
  buttons: [
67858
67858
  {
67859
- id: Ids$2.buttonClearSelection,
67859
+ id: Ids$2.visibilityClearSelection,
67860
67860
  enabled: () => isTrue(settings2.visibilityClearSelection),
67861
67861
  tip: "Clear Selection",
67862
67862
  action: () => adapter.clearSelection(),
@@ -67865,7 +67865,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67865
67865
  style: Style.buttonDisableDefaultStyle
67866
67866
  },
67867
67867
  {
67868
- id: Ids$2.buttonShowAll,
67868
+ id: Ids$2.visibilityShowAll,
67869
67869
  tip: "Show All",
67870
67870
  enabled: () => isTrue(settings2.visibilityShowAll),
67871
67871
  action: () => adapter.showAll(),
@@ -67874,7 +67874,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67874
67874
  style: Style.buttonDisableStyle
67875
67875
  },
67876
67876
  {
67877
- id: Ids$2.buttonHideSelection,
67877
+ id: Ids$2.visibilityHideSelection,
67878
67878
  enabled: () => someVisible && isTrue(settings2.visibilityToggle),
67879
67879
  tip: "Hide Selection",
67880
67880
  action: () => adapter.hideSelection(),
@@ -67883,7 +67883,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67883
67883
  style: Style.buttonDisableStyle
67884
67884
  },
67885
67885
  {
67886
- id: Ids$2.buttonShowSelection,
67886
+ id: Ids$2.visibilityShowSelection,
67887
67887
  enabled: () => !someVisible && isTrue(settings2.visibilityToggle),
67888
67888
  tip: "Show Selection",
67889
67889
  action: () => adapter.showSelection(),
@@ -67892,7 +67892,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67892
67892
  style: Style.buttonDisableStyle
67893
67893
  },
67894
67894
  {
67895
- id: Ids$2.buttonIsolateSelection,
67895
+ id: Ids$2.visibilityIsolateSelection,
67896
67896
  enabled: () => isTrue(settings2.visibilityIsolate),
67897
67897
  tip: "Isolate Selection",
67898
67898
  action: () => adapter.isolateSelection(),
@@ -67901,7 +67901,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67901
67901
  style: Style.buttonDisableStyle
67902
67902
  },
67903
67903
  {
67904
- id: Ids$2.buttonAutoIsolate,
67904
+ id: Ids$2.visibilityAutoIsolate,
67905
67905
  enabled: () => isTrue(settings2.visibilityAutoIsolate),
67906
67906
  tip: "Auto Isolate",
67907
67907
  action: () => isolation.autoIsolate.set(!isolation.autoIsolate.get()),
@@ -67909,7 +67909,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67909
67909
  icon: autoIsolate
67910
67910
  },
67911
67911
  {
67912
- id: Ids$2.buttonIsolationSettings,
67912
+ id: Ids$2.visibilitySettings,
67913
67913
  enabled: () => isTrue(settings2.visibilitySettings),
67914
67914
  tip: "Isolation Settings",
67915
67915
  action: () => isolation.showPanel.set(!isolation.showPanel.get()),
@@ -67927,7 +67927,7 @@ Averrage Date/Second ${avgDataRatePS} kb
67927
67927
  controlBarVisibility(isolationRef, settings2.ui),
67928
67928
  controlBarMeasure(measure2, settings2.ui),
67929
67929
  controlBarSectionBox(section, viewer.selection.any(), settings2.ui),
67930
- controlBarSettings(modal, side, settings2)
67930
+ controlBarMisc(modal, side, settings2)
67931
67931
  ];
67932
67932
  controlBarSections = (customization == null ? void 0 : customization(controlBarSections)) ?? controlBarSections;
67933
67933
  return controlBarSections;
@@ -73042,8 +73042,8 @@ Averrage Date/Second ${avgDataRatePS} kb
73042
73042
  function OptionalBimPanel(props) {
73043
73043
  return whenSomeTrue(
73044
73044
  [
73045
- props.settings.ui.bimTreePanel,
73046
- props.settings.ui.bimInfoPanel
73045
+ props.settings.ui.panelBimTree,
73046
+ props.settings.ui.panelBimInfo
73047
73047
  ],
73048
73048
  React2.createElement(BimPanel, props)
73049
73049
  );
@@ -73056,11 +73056,11 @@ Averrage Date/Second ${avgDataRatePS} kb
73056
73056
  }, [props.viewerState.vim.get(), props.viewerState.elements.get()]);
73057
73057
  const selection = props.viewerState.selection.get();
73058
73058
  const last = selection[selection.length - 1];
73059
- const fullTree = isFalse(props.settings.ui.bimInfoPanel);
73060
- const fullInfo = isFalse(props.settings.ui.bimTreePanel);
73059
+ const fullTree = isFalse(props.settings.ui.panelBimInfo);
73060
+ const fullInfo = isFalse(props.settings.ui.panelBimTree);
73061
73061
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `vim-bim-panel vc-inset-0 vc-absolute vc-h-full vc-w-full ${fullTree ? "full-tree" : ""} ${props.visible ? "" : "vc-hidden"}`, children: [
73062
73062
  whenTrue(
73063
- props.settings.ui.bimTreePanel,
73063
+ props.settings.ui.panelBimTree,
73064
73064
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `vim-bim-upper vc-flex vc-flex-col vc-absolute vc-w-full ${fullTree ? "vc-h-full" : "vc-h-[49%]"} `, children: [
73065
73065
  /* @__PURE__ */ jsxRuntimeExports.jsx(
73066
73066
  "h2",
@@ -73094,21 +73094,21 @@ Averrage Date/Second ${avgDataRatePS} kb
73094
73094
  // Divider if needed.
73095
73095
  whenAllTrue(
73096
73096
  [
73097
- props.settings.ui.bimTreePanel,
73098
- props.settings.ui.bimInfoPanel,
73097
+ props.settings.ui.panelBimTree,
73098
+ props.settings.ui.panelBimInfo,
73099
73099
  ((_b2 = props.viewerState.elements.get()) == null ? void 0 : _b2.length) > 0
73100
73100
  ],
73101
73101
  divider$1()
73102
73102
  ),
73103
73103
  whenTrue(
73104
- props.settings.ui.bimInfoPanel,
73104
+ props.settings.ui.panelBimInfo,
73105
73105
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `vim-bim-lower-container vc-absolute ${fullInfo ? "vc-top-0" : "vc-top-[50%]"} vc-bottom-0 vc-bottom vc-left-0 vc-right-0`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
73106
73106
  BimInfoPanel,
73107
73107
  {
73108
73108
  object: last,
73109
73109
  vim: props.viewerState.vim.get(),
73110
73110
  elements: props.viewerState.elements.get(),
73111
- full: isFalse(props.settings.ui.bimTreePanel),
73111
+ full: isFalse(props.settings.ui.panelBimTree),
73112
73112
  bimInfoRef: props.bimInfoRef
73113
73113
  }
73114
73114
  ) })
@@ -75597,7 +75597,7 @@ Averrage Date/Second ${avgDataRatePS} kb
75597
75597
  adapter.setVisible(false);
75598
75598
  adapter.setClip(false);
75599
75599
  return adapter.onSelectionChanged.sub(() => {
75600
- if (auto.get() && enable.get()) sectionSelection2.call();
75600
+ if (auto.get() && enable.get()) sectionSelection.call();
75601
75601
  });
75602
75602
  }, []);
75603
75603
  enable.useOnChange((v) => {
@@ -75605,7 +75605,7 @@ Averrage Date/Second ${avgDataRatePS} kb
75605
75605
  visible2.set(v);
75606
75606
  showOffsetPanel.set(false);
75607
75607
  if (v && auto.get()) {
75608
- sectionSelection2.call();
75608
+ sectionSelection.call();
75609
75609
  } else {
75610
75610
  sectionScene.call();
75611
75611
  }
@@ -75616,7 +75616,7 @@ Averrage Date/Second ${avgDataRatePS} kb
75616
75616
  sideOffset.useOnChange((v) => sectionBox2.call(boxRef.current));
75617
75617
  bottomOffset.useOnChange((v) => sectionBox2.call(boxRef.current));
75618
75618
  auto.useOnChange((v) => {
75619
- if (v) sectionSelection2.call();
75619
+ if (v) sectionSelection.call();
75620
75620
  });
75621
75621
  visible2.useOnChange((v) => adapter.setVisible(v));
75622
75622
  const sectionBox2 = useArgActionRef((box) => {
@@ -75626,7 +75626,7 @@ Averrage Date/Second ${avgDataRatePS} kb
75626
75626
  const newBox = addBox(box, offsetsToBox3_(topOffset.get(), sideOffset.get(), bottomOffset.get()));
75627
75627
  adapter.setBox(newBox);
75628
75628
  });
75629
- const sectionSelection2 = useFuncRef(async () => {
75629
+ const sectionSelection = useFuncRef(async () => {
75630
75630
  const id2 = requestId.current;
75631
75631
  const box = await getSelectionBox.call() ?? await getSceneBox.call();
75632
75632
  if (requestId.current !== id2) return;
@@ -75646,7 +75646,7 @@ Averrage Date/Second ${avgDataRatePS} kb
75646
75646
  topOffset,
75647
75647
  sideOffset,
75648
75648
  bottomOffset,
75649
- sectionSelection: sectionSelection2,
75649
+ sectionSelection,
75650
75650
  sectionScene,
75651
75651
  sectionBox: sectionBox2,
75652
75652
  getBox: () => adapter.getBox(),
@@ -75967,16 +75967,14 @@ Averrage Date/Second ${avgDataRatePS} kb
75967
75967
  canReadLocalStorage: true
75968
75968
  },
75969
75969
  ui: {
75970
- logo: true,
75971
- performance: false,
75972
- bimTreePanel: true,
75973
- bimInfoPanel: true,
75974
- // axesPanel
75975
- axesPanel: true,
75976
- orthographic: true,
75977
- resetCamera: true,
75978
- // Control bar
75979
- controlBar: true,
75970
+ panelLogo: true,
75971
+ panelPerformance: false,
75972
+ panelBimTree: true,
75973
+ panelBimInfo: true,
75974
+ panelAxes: true,
75975
+ panelControlBar: true,
75976
+ axesOrthographic: true,
75977
+ axesHome: true,
75980
75978
  // Control bar - cursors
75981
75979
  cursorOrbit: true,
75982
75980
  cursorLookAround: true,
@@ -76182,11 +76180,11 @@ Averrage Date/Second ${avgDataRatePS} kb
76182
76180
  __publicField(SettingsPanelKeys, "ControlBarVisibilityAutoIsolate", "controlBar.visibility.autoIsolate");
76183
76181
  __publicField(SettingsPanelKeys, "ControlBarVisibilitySettings", "controlBar.visibility.settings");
76184
76182
  // --- Control Bar - Settings ---
76185
- __publicField(SettingsPanelKeys, "ControlBarSettingsSubtitle", "controlBarSettings");
76186
- __publicField(SettingsPanelKeys, "ControlBarSettingsShowProjectInspectorButtonToggle", "projectInspector");
76187
- __publicField(SettingsPanelKeys, "ControlBarSettingsShowSettingsButtonToggle", "settingsButton");
76188
- __publicField(SettingsPanelKeys, "ControlBarSettingsShowHelpButtonToggle", "help");
76189
- __publicField(SettingsPanelKeys, "ControlBarSettingsShowMaximiseButtonToggle", "maximise");
76183
+ __publicField(SettingsPanelKeys, "ControlBarMiscSubtitle", "controlBarSettings");
76184
+ __publicField(SettingsPanelKeys, "ControlBarMiscShowProjectInspectorButtonToggle", "projectInspector");
76185
+ __publicField(SettingsPanelKeys, "ControlBarMiscShowSettingsButtonToggle", "settingsButton");
76186
+ __publicField(SettingsPanelKeys, "ControlBarMiscShowHelpButtonToggle", "help");
76187
+ __publicField(SettingsPanelKeys, "ControlBarMiscShowMaximiseButtonToggle", "maximise");
76190
76188
  function getControlBarCursorSettings() {
76191
76189
  return [
76192
76190
  {
@@ -76360,33 +76358,33 @@ Averrage Date/Second ${avgDataRatePS} kb
76360
76358
  return [
76361
76359
  {
76362
76360
  type: "subtitle",
76363
- key: SettingsPanelKeys.ControlBarSettingsSubtitle,
76361
+ key: SettingsPanelKeys.ControlBarMiscSubtitle,
76364
76362
  title: "Control Bar - Settings"
76365
76363
  },
76366
76364
  {
76367
76365
  type: "toggle",
76368
- key: SettingsPanelKeys.ControlBarSettingsShowProjectInspectorButtonToggle,
76366
+ key: SettingsPanelKeys.ControlBarMiscShowProjectInspectorButtonToggle,
76369
76367
  label: "Project Inspector",
76370
76368
  getter: (s) => s.ui.miscProjectInspector,
76371
76369
  setter: (s, v) => s.ui.miscProjectInspector = v
76372
76370
  },
76373
76371
  {
76374
76372
  type: "toggle",
76375
- key: SettingsPanelKeys.ControlBarSettingsShowSettingsButtonToggle,
76373
+ key: SettingsPanelKeys.ControlBarMiscShowSettingsButtonToggle,
76376
76374
  label: "Settings",
76377
76375
  getter: (s) => s.ui.miscSettings,
76378
76376
  setter: (s, v) => s.ui.miscSettings = v
76379
76377
  },
76380
76378
  {
76381
76379
  type: "toggle",
76382
- key: SettingsPanelKeys.ControlBarSettingsShowHelpButtonToggle,
76380
+ key: SettingsPanelKeys.ControlBarMiscShowHelpButtonToggle,
76383
76381
  label: "Help",
76384
76382
  getter: (s) => s.ui.miscHelp,
76385
76383
  setter: (s, v) => s.ui.miscHelp = v
76386
76384
  },
76387
76385
  {
76388
76386
  type: "toggle",
76389
- key: SettingsPanelKeys.ControlBarSettingsShowMaximiseButtonToggle,
76387
+ key: SettingsPanelKeys.ControlBarMiscShowMaximiseButtonToggle,
76390
76388
  label: "Maximise",
76391
76389
  getter: (s) => s.ui.miscMaximise,
76392
76390
  setter: (s, v) => s.ui.miscMaximise = v
@@ -76404,43 +76402,43 @@ Averrage Date/Second ${avgDataRatePS} kb
76404
76402
  type: "toggle",
76405
76403
  key: SettingsPanelKeys.PanelsShowLogoToggle,
76406
76404
  label: "Logo",
76407
- getter: (s) => s.ui.logo,
76408
- setter: (s, v) => s.ui.logo = v
76405
+ getter: (s) => s.ui.panelLogo,
76406
+ setter: (s, v) => s.ui.panelLogo = v
76409
76407
  },
76410
76408
  {
76411
76409
  type: "toggle",
76412
76410
  key: SettingsPanelKeys.PanelsShowBimTreeToggle,
76413
76411
  label: "Bim Tree",
76414
- getter: (s) => s.ui.bimTreePanel,
76415
- setter: (s, v) => s.ui.bimTreePanel = v
76412
+ getter: (s) => s.ui.panelBimTree,
76413
+ setter: (s, v) => s.ui.panelBimTree = v
76416
76414
  },
76417
76415
  {
76418
76416
  type: "toggle",
76419
76417
  key: SettingsPanelKeys.PanelsShowBimInfoToggle,
76420
76418
  label: "Bim Info",
76421
- getter: (s) => s.ui.bimInfoPanel,
76422
- setter: (s, v) => s.ui.bimInfoPanel = v
76419
+ getter: (s) => s.ui.panelBimInfo,
76420
+ setter: (s, v) => s.ui.panelBimInfo = v
76423
76421
  },
76424
76422
  {
76425
76423
  type: "toggle",
76426
76424
  key: SettingsPanelKeys.PanelsShowAxesPanelToggle,
76427
76425
  label: "Axes",
76428
- getter: (s) => s.ui.axesPanel,
76429
- setter: (s, v) => s.ui.axesPanel = v
76426
+ getter: (s) => s.ui.panelAxes,
76427
+ setter: (s, v) => s.ui.panelAxes = v
76430
76428
  },
76431
76429
  {
76432
76430
  type: "toggle",
76433
76431
  key: SettingsPanelKeys.PanelsShowPerformancePanelToggle,
76434
76432
  label: "Performance",
76435
- getter: (s) => s.ui.performance,
76436
- setter: (s, v) => s.ui.performance = v
76433
+ getter: (s) => s.ui.panelPerformance,
76434
+ setter: (s, v) => s.ui.panelPerformance = v
76437
76435
  },
76438
76436
  {
76439
76437
  type: "toggle",
76440
76438
  key: SettingsPanelKeys.ControlBarShowControlBarToggle,
76441
76439
  label: "Control Bar",
76442
- getter: (s) => s.ui.controlBar,
76443
- setter: (s, v) => s.ui.controlBar = v
76440
+ getter: (s) => s.ui.panelControlBar,
76441
+ setter: (s, v) => s.ui.panelControlBar = v
76444
76442
  }
76445
76443
  ];
76446
76444
  }
@@ -76475,15 +76473,15 @@ Averrage Date/Second ${avgDataRatePS} kb
76475
76473
  type: "toggle",
76476
76474
  key: SettingsPanelKeys.AxesShowOrthographicButtonToggle,
76477
76475
  label: "Orthographic Camera",
76478
- getter: (s) => s.ui.orthographic,
76479
- setter: (s, v) => s.ui.orthographic = v
76476
+ getter: (s) => s.ui.axesOrthographic,
76477
+ setter: (s, v) => s.ui.axesOrthographic = v
76480
76478
  },
76481
76479
  {
76482
76480
  type: "toggle",
76483
76481
  key: SettingsPanelKeys.AxesShowResetCameraButtonToggle,
76484
76482
  label: "Reset Camera",
76485
- getter: (s) => s.ui.resetCamera,
76486
- setter: (s, v) => s.ui.resetCamera = v
76483
+ getter: (s) => s.ui.axesHome,
76484
+ setter: (s, v) => s.ui.axesHome = v
76487
76485
  }
76488
76486
  ];
76489
76487
  }
@@ -76519,7 +76517,7 @@ Averrage Date/Second ${avgDataRatePS} kb
76519
76517
  function applyWebglSettings(settings2) {
76520
76518
  const performance2 = document.getElementsByClassName("vim-performance-div")[0];
76521
76519
  if (performance2) {
76522
- if (isTrue(settings2.ui.performance)) {
76520
+ if (isTrue(settings2.ui.panelPerformance)) {
76523
76521
  performance2.classList.remove("vc-hidden");
76524
76522
  } else {
76525
76523
  performance2.classList.add("vc-hidden");
@@ -76566,7 +76564,7 @@ Averrage Date/Second ${avgDataRatePS} kb
76566
76564
  const loader = React2.useRef(new ComponentLoader(props.viewer, modal, settings2.value));
76567
76565
  useViewerInput(props.viewer.inputs, camera2);
76568
76566
  const side = useSideState(
76569
- isTrue(settings2.value.ui.bimTreePanel) || isTrue(settings2.value.ui.bimInfoPanel),
76567
+ isTrue(settings2.value.ui.panelBimTree) || isTrue(settings2.value.ui.panelBimInfo),
76570
76568
  Math.min(props.container.root.clientWidth * 0.25, 340)
76571
76569
  );
76572
76570
  const [contextMenu2, setcontextMenu] = React2.useState();
@@ -76675,12 +76673,12 @@ Averrage Date/Second ${avgDataRatePS} kb
76675
76673
  /* @__PURE__ */ jsxRuntimeExports.jsx(RestOfScreen, { side, content: () => {
76676
76674
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
76677
76675
  /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { canvas: props.viewer.viewport.canvas }),
76678
- whenTrue(settings2.value.ui.logo, /* @__PURE__ */ jsxRuntimeExports.jsx(LogoMemo, {})),
76676
+ whenTrue(settings2.value.ui.panelLogo, /* @__PURE__ */ jsxRuntimeExports.jsx(LogoMemo, {})),
76679
76677
  /* @__PURE__ */ jsxRuntimeExports.jsx(
76680
76678
  ControlBar,
76681
76679
  {
76682
76680
  content: controlBar,
76683
- show: isTrue(settings2.value.ui.controlBar)
76681
+ show: isTrue(settings2.value.ui.panelControlBar)
76684
76682
  }
76685
76683
  ),
76686
76684
  /* @__PURE__ */ jsxRuntimeExports.jsx(SectionBoxPanel$1, { ref: sectionBoxPanelHandle, state: sectionBoxRef }),
@@ -76795,7 +76793,7 @@ Averrage Date/Second ${avgDataRatePS} kb
76795
76793
  controlBarCamera(camera2, settings2.ui),
76796
76794
  controlBarVisibility(isolation, settings2.ui),
76797
76795
  controlBarSectionBox(section, viewer.selection.any(), settings2.ui),
76798
- controlBarSettingsUltra(side, settings2)
76796
+ controlBarMiscUltra(side, settings2)
76799
76797
  ];
76800
76798
  bar = (customization == null ? void 0 : customization(bar)) ?? bar;
76801
76799
  return bar;
@@ -76947,6 +76945,9 @@ Averrage Date/Second ${avgDataRatePS} kb
76947
76945
  function getDefaultUltraSettings() {
76948
76946
  return {
76949
76947
  ui: {
76948
+ // panels
76949
+ panelLogo: true,
76950
+ panelControlBar: true,
76950
76951
  // Control bar - cursors
76951
76952
  cursorOrbit: true,
76952
76953
  cursorLookAround: true,
@@ -76970,7 +76971,9 @@ Averrage Date/Second ${avgDataRatePS} kb
76970
76971
  visibilityIsolate: true,
76971
76972
  visibilityAutoIsolate: true,
76972
76973
  visibilitySettings: true,
76973
- settings: true
76974
+ // Control bar - misc
76975
+ miscSettings: true,
76976
+ miscHelp: true
76974
76977
  }
76975
76978
  };
76976
76979
  }
@@ -76978,15 +76981,22 @@ Averrage Date/Second ${avgDataRatePS} kb
76978
76981
  return [
76979
76982
  {
76980
76983
  type: "subtitle",
76981
- key: SettingsPanelKeys.ControlBarSettingsSubtitle,
76984
+ key: SettingsPanelKeys.ControlBarMiscSubtitle,
76982
76985
  title: "Control Bar - Settings"
76983
76986
  },
76984
76987
  {
76985
76988
  type: "toggle",
76986
- key: SettingsPanelKeys.ControlBarSettingsShowSettingsButtonToggle,
76989
+ key: SettingsPanelKeys.ControlBarMiscShowSettingsButtonToggle,
76987
76990
  label: "Settings",
76988
- getter: (s) => s.ui.settings,
76989
- setter: (s, v) => s.ui.settings = v
76991
+ getter: (s) => s.ui.miscSettings,
76992
+ setter: (s, v) => s.ui.miscSettings = v
76993
+ },
76994
+ {
76995
+ type: "toggle",
76996
+ key: SettingsPanelKeys.ControlBarMiscShowHelpButtonToggle,
76997
+ label: "Help",
76998
+ getter: (s) => s.ui.miscHelp,
76999
+ setter: (s, v) => s.ui.miscHelp = v
76990
77000
  }
76991
77001
  ];
76992
77002
  }
@@ -77107,13 +77117,13 @@ Averrage Date/Second ${avgDataRatePS} kb
77107
77117
  ),
77108
77118
  /* @__PURE__ */ jsxRuntimeExports.jsx(RestOfScreen, { side, content: () => {
77109
77119
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
77110
- whenTrue(true, /* @__PURE__ */ jsxRuntimeExports.jsx(LogoMemo, {})),
77120
+ whenTrue(settings2.value.ui.panelLogo, /* @__PURE__ */ jsxRuntimeExports.jsx(LogoMemo, {})),
77111
77121
  /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { canvas: props.core.viewport.canvas }),
77112
77122
  /* @__PURE__ */ jsxRuntimeExports.jsx(
77113
77123
  ControlBar,
77114
77124
  {
77115
77125
  content: controlBarCustom(controlBar),
77116
- show: true
77126
+ show: isTrue(settings2.value.ui.panelControlBar)
77117
77127
  }
77118
77128
  ),
77119
77129
  /* @__PURE__ */ jsxRuntimeExports.jsx(SectionBoxPanel$1, { ref: sectionBoxPanelHandle, state: sectionBoxRef }),