vim-web 0.5.0-dev.19 → 0.5.0-dev.20
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
|
@@ -67726,7 +67726,7 @@ function controlBarMeasure(measure$1, settings2) {
|
|
|
67726
67726
|
buttons: [
|
|
67727
67727
|
{
|
|
67728
67728
|
id: Ids$2.buttonMeasure,
|
|
67729
|
-
enabled: () => isTrue(settings2.
|
|
67729
|
+
enabled: () => isTrue(settings2.measureEnable),
|
|
67730
67730
|
isOn: () => measure$1.active,
|
|
67731
67731
|
tip: "Measuring Mode",
|
|
67732
67732
|
action: () => measure$1.toggle(),
|
|
@@ -67762,7 +67762,7 @@ function controlBarSettings(modal, side, settings$1) {
|
|
|
67762
67762
|
buttons: [
|
|
67763
67763
|
{
|
|
67764
67764
|
id: Ids$2.buttonProjectInspector,
|
|
67765
|
-
enabled: () => isTrue(settings$1.ui.
|
|
67765
|
+
enabled: () => isTrue(settings$1.ui.miscProjectInspector) && (isTrue(settings$1.ui.bimTreePanel) || isTrue(settings$1.ui.bimInfoPanel)),
|
|
67766
67766
|
tip: "Project Inspector",
|
|
67767
67767
|
action: () => side.toggleContent("bim"),
|
|
67768
67768
|
icon: treeView,
|
|
@@ -67770,7 +67770,7 @@ function controlBarSettings(modal, side, settings$1) {
|
|
|
67770
67770
|
},
|
|
67771
67771
|
{
|
|
67772
67772
|
id: Ids$2.buttonSettings,
|
|
67773
|
-
enabled: () => isTrue(settings$1.ui.
|
|
67773
|
+
enabled: () => isTrue(settings$1.ui.miscSettings),
|
|
67774
67774
|
tip: "Settings",
|
|
67775
67775
|
action: () => side.toggleContent("settings"),
|
|
67776
67776
|
icon: settings,
|
|
@@ -67778,7 +67778,7 @@ function controlBarSettings(modal, side, settings$1) {
|
|
|
67778
67778
|
},
|
|
67779
67779
|
{
|
|
67780
67780
|
id: Ids$2.buttonHelp,
|
|
67781
|
-
enabled: () => isTrue(settings$1.ui.
|
|
67781
|
+
enabled: () => isTrue(settings$1.ui.miscHelp),
|
|
67782
67782
|
tip: "Help",
|
|
67783
67783
|
action: () => modal.help(true),
|
|
67784
67784
|
icon: help,
|
|
@@ -67786,7 +67786,7 @@ function controlBarSettings(modal, side, settings$1) {
|
|
|
67786
67786
|
},
|
|
67787
67787
|
{
|
|
67788
67788
|
id: Ids$2.buttonMaximize,
|
|
67789
|
-
enabled: () => isTrue(settings$1.ui.
|
|
67789
|
+
enabled: () => isTrue(settings$1.ui.miscMaximise) && settings$1.capacity.canGoFullScreen,
|
|
67790
67790
|
tip: fullScreen.get() ? "Minimize" : "Fullscreen",
|
|
67791
67791
|
action: () => fullScreen.toggle(),
|
|
67792
67792
|
icon: fullScreen.get() ? minimize : fullsScreen,
|
|
@@ -67920,7 +67920,7 @@ function anyUiCursorButton(settings2) {
|
|
|
67920
67920
|
return isTrue(settings2.cursorOrbit) || isTrue(settings2.cursorLookAround) || isTrue(settings2.cursorPan) || isTrue(settings2.cursorZoom);
|
|
67921
67921
|
}
|
|
67922
67922
|
function anyUiSettingButton(settings2) {
|
|
67923
|
-
return isTrue(settings2.ui.
|
|
67923
|
+
return isTrue(settings2.ui.miscProjectInspector) || isTrue(settings2.ui.miscSettings) || isTrue(settings2.ui.miscHelp) || isTrue(settings2.ui.miscMaximise);
|
|
67924
67924
|
}
|
|
67925
67925
|
function RestOfScreen(props) {
|
|
67926
67926
|
const [, setVersion] = useState(0);
|
|
@@ -75977,7 +75977,7 @@ function getDefaultSettings() {
|
|
|
75977
75977
|
sectioningShow: true,
|
|
75978
75978
|
sectioningAuto: true,
|
|
75979
75979
|
sectioningSettings: true,
|
|
75980
|
-
|
|
75980
|
+
measureEnable: true,
|
|
75981
75981
|
// Control bar - Visibility
|
|
75982
75982
|
visibilityClearSelection: true,
|
|
75983
75983
|
visibilityShowAll: true,
|
|
@@ -75986,10 +75986,10 @@ function getDefaultSettings() {
|
|
|
75986
75986
|
visibilityAutoIsolate: true,
|
|
75987
75987
|
visibilitySettings: true,
|
|
75988
75988
|
// Control bar - settings
|
|
75989
|
-
|
|
75990
|
-
|
|
75991
|
-
|
|
75992
|
-
|
|
75989
|
+
miscProjectInspector: true,
|
|
75990
|
+
miscSettings: true,
|
|
75991
|
+
miscHelp: true,
|
|
75992
|
+
miscMaximise: true
|
|
75993
75993
|
}
|
|
75994
75994
|
};
|
|
75995
75995
|
}
|
|
@@ -76351,29 +76351,29 @@ function getControlBarVariousSettings() {
|
|
|
76351
76351
|
type: "toggle",
|
|
76352
76352
|
key: SettingsPanelKeys.ControlBarSettingsShowProjectInspectorButtonToggle,
|
|
76353
76353
|
label: "Project Inspector",
|
|
76354
|
-
getter: (s) => s.ui.
|
|
76355
|
-
setter: (s, v) => s.ui.
|
|
76354
|
+
getter: (s) => s.ui.miscProjectInspector,
|
|
76355
|
+
setter: (s, v) => s.ui.miscProjectInspector = v
|
|
76356
76356
|
},
|
|
76357
76357
|
{
|
|
76358
76358
|
type: "toggle",
|
|
76359
76359
|
key: SettingsPanelKeys.ControlBarSettingsShowSettingsButtonToggle,
|
|
76360
76360
|
label: "Settings",
|
|
76361
|
-
getter: (s) => s.ui.
|
|
76362
|
-
setter: (s, v) => s.ui.
|
|
76361
|
+
getter: (s) => s.ui.miscSettings,
|
|
76362
|
+
setter: (s, v) => s.ui.miscSettings = v
|
|
76363
76363
|
},
|
|
76364
76364
|
{
|
|
76365
76365
|
type: "toggle",
|
|
76366
76366
|
key: SettingsPanelKeys.ControlBarSettingsShowHelpButtonToggle,
|
|
76367
76367
|
label: "Help",
|
|
76368
|
-
getter: (s) => s.ui.
|
|
76369
|
-
setter: (s, v) => s.ui.
|
|
76368
|
+
getter: (s) => s.ui.miscHelp,
|
|
76369
|
+
setter: (s, v) => s.ui.miscHelp = v
|
|
76370
76370
|
},
|
|
76371
76371
|
{
|
|
76372
76372
|
type: "toggle",
|
|
76373
76373
|
key: SettingsPanelKeys.ControlBarSettingsShowMaximiseButtonToggle,
|
|
76374
76374
|
label: "Maximise",
|
|
76375
|
-
getter: (s) => s.ui.
|
|
76376
|
-
setter: (s, v) => s.ui.
|
|
76375
|
+
getter: (s) => s.ui.miscMaximise,
|
|
76376
|
+
setter: (s, v) => s.ui.miscMaximise = v
|
|
76377
76377
|
}
|
|
76378
76378
|
];
|
|
76379
76379
|
}
|
|
@@ -76482,8 +76482,8 @@ function getControlBarMeasureSettings() {
|
|
|
76482
76482
|
type: "toggle",
|
|
76483
76483
|
key: SettingsPanelKeys.ControlBarToolsShowMeasuringModeButtonToggle,
|
|
76484
76484
|
label: "Enable",
|
|
76485
|
-
getter: (s) => s.ui.
|
|
76486
|
-
setter: (s, v) => s.ui.
|
|
76485
|
+
getter: (s) => s.ui.measureEnable,
|
|
76486
|
+
setter: (s, v) => s.ui.measureEnable = v
|
|
76487
76487
|
}
|
|
76488
76488
|
];
|
|
76489
76489
|
}
|