vim-web 0.5.0-dev.21 → 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";
@@ -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,32 +67744,40 @@ 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,
67780
+ id: Ids$2.miscInspector,
67781
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"),
@@ -67785,7 +67785,7 @@ Averrage Date/Second ${avgDataRatePS} kb
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;
@@ -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(),
@@ -76180,11 +76180,11 @@ Averrage Date/Second ${avgDataRatePS} kb
76180
76180
  __publicField(SettingsPanelKeys, "ControlBarVisibilityAutoIsolate", "controlBar.visibility.autoIsolate");
76181
76181
  __publicField(SettingsPanelKeys, "ControlBarVisibilitySettings", "controlBar.visibility.settings");
76182
76182
  // --- Control Bar - Settings ---
76183
- __publicField(SettingsPanelKeys, "ControlBarSettingsSubtitle", "controlBarSettings");
76184
- __publicField(SettingsPanelKeys, "ControlBarSettingsShowProjectInspectorButtonToggle", "projectInspector");
76185
- __publicField(SettingsPanelKeys, "ControlBarSettingsShowSettingsButtonToggle", "settingsButton");
76186
- __publicField(SettingsPanelKeys, "ControlBarSettingsShowHelpButtonToggle", "help");
76187
- __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");
76188
76188
  function getControlBarCursorSettings() {
76189
76189
  return [
76190
76190
  {
@@ -76358,33 +76358,33 @@ Averrage Date/Second ${avgDataRatePS} kb
76358
76358
  return [
76359
76359
  {
76360
76360
  type: "subtitle",
76361
- key: SettingsPanelKeys.ControlBarSettingsSubtitle,
76361
+ key: SettingsPanelKeys.ControlBarMiscSubtitle,
76362
76362
  title: "Control Bar - Settings"
76363
76363
  },
76364
76364
  {
76365
76365
  type: "toggle",
76366
- key: SettingsPanelKeys.ControlBarSettingsShowProjectInspectorButtonToggle,
76366
+ key: SettingsPanelKeys.ControlBarMiscShowProjectInspectorButtonToggle,
76367
76367
  label: "Project Inspector",
76368
76368
  getter: (s) => s.ui.miscProjectInspector,
76369
76369
  setter: (s, v) => s.ui.miscProjectInspector = v
76370
76370
  },
76371
76371
  {
76372
76372
  type: "toggle",
76373
- key: SettingsPanelKeys.ControlBarSettingsShowSettingsButtonToggle,
76373
+ key: SettingsPanelKeys.ControlBarMiscShowSettingsButtonToggle,
76374
76374
  label: "Settings",
76375
76375
  getter: (s) => s.ui.miscSettings,
76376
76376
  setter: (s, v) => s.ui.miscSettings = v
76377
76377
  },
76378
76378
  {
76379
76379
  type: "toggle",
76380
- key: SettingsPanelKeys.ControlBarSettingsShowHelpButtonToggle,
76380
+ key: SettingsPanelKeys.ControlBarMiscShowHelpButtonToggle,
76381
76381
  label: "Help",
76382
76382
  getter: (s) => s.ui.miscHelp,
76383
76383
  setter: (s, v) => s.ui.miscHelp = v
76384
76384
  },
76385
76385
  {
76386
76386
  type: "toggle",
76387
- key: SettingsPanelKeys.ControlBarSettingsShowMaximiseButtonToggle,
76387
+ key: SettingsPanelKeys.ControlBarMiscShowMaximiseButtonToggle,
76388
76388
  label: "Maximise",
76389
76389
  getter: (s) => s.ui.miscMaximise,
76390
76390
  setter: (s, v) => s.ui.miscMaximise = v
@@ -76793,7 +76793,7 @@ Averrage Date/Second ${avgDataRatePS} kb
76793
76793
  controlBarCamera(camera2, settings2.ui),
76794
76794
  controlBarVisibility(isolation, settings2.ui),
76795
76795
  controlBarSectionBox(section, viewer.selection.any(), settings2.ui),
76796
- controlBarSettingsUltra(side, settings2)
76796
+ controlBarMiscUltra(side, settings2)
76797
76797
  ];
76798
76798
  bar = (customization == null ? void 0 : customization(bar)) ?? bar;
76799
76799
  return bar;
@@ -76945,6 +76945,9 @@ Averrage Date/Second ${avgDataRatePS} kb
76945
76945
  function getDefaultUltraSettings() {
76946
76946
  return {
76947
76947
  ui: {
76948
+ // panels
76949
+ panelLogo: true,
76950
+ panelControlBar: true,
76948
76951
  // Control bar - cursors
76949
76952
  cursorOrbit: true,
76950
76953
  cursorLookAround: true,
@@ -76968,7 +76971,9 @@ Averrage Date/Second ${avgDataRatePS} kb
76968
76971
  visibilityIsolate: true,
76969
76972
  visibilityAutoIsolate: true,
76970
76973
  visibilitySettings: true,
76971
- settings: true
76974
+ // Control bar - misc
76975
+ miscSettings: true,
76976
+ miscHelp: true
76972
76977
  }
76973
76978
  };
76974
76979
  }
@@ -76976,15 +76981,22 @@ Averrage Date/Second ${avgDataRatePS} kb
76976
76981
  return [
76977
76982
  {
76978
76983
  type: "subtitle",
76979
- key: SettingsPanelKeys.ControlBarSettingsSubtitle,
76984
+ key: SettingsPanelKeys.ControlBarMiscSubtitle,
76980
76985
  title: "Control Bar - Settings"
76981
76986
  },
76982
76987
  {
76983
76988
  type: "toggle",
76984
- key: SettingsPanelKeys.ControlBarSettingsShowSettingsButtonToggle,
76989
+ key: SettingsPanelKeys.ControlBarMiscShowSettingsButtonToggle,
76985
76990
  label: "Settings",
76986
- getter: (s) => s.ui.settings,
76987
- 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
76988
77000
  }
76989
77001
  ];
76990
77002
  }
@@ -77105,13 +77117,13 @@ Averrage Date/Second ${avgDataRatePS} kb
77105
77117
  ),
77106
77118
  /* @__PURE__ */ jsxRuntimeExports.jsx(RestOfScreen, { side, content: () => {
77107
77119
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
77108
- whenTrue(true, /* @__PURE__ */ jsxRuntimeExports.jsx(LogoMemo, {})),
77120
+ whenTrue(settings2.value.ui.panelLogo, /* @__PURE__ */ jsxRuntimeExports.jsx(LogoMemo, {})),
77109
77121
  /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { canvas: props.core.viewport.canvas }),
77110
77122
  /* @__PURE__ */ jsxRuntimeExports.jsx(
77111
77123
  ControlBar,
77112
77124
  {
77113
77125
  content: controlBarCustom(controlBar),
77114
- show: true
77126
+ show: isTrue(settings2.value.ui.panelControlBar)
77115
77127
  }
77116
77128
  ),
77117
77129
  /* @__PURE__ */ jsxRuntimeExports.jsx(SectionBoxPanel$1, { ref: sectionBoxPanelHandle, state: sectionBoxRef }),