bruce-cesium 5.0.4 → 5.0.5
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/bruce-cesium.es5.js +10 -1
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +10 -1
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/widgets/widget-cursorbar.js +9 -0
- package/dist/lib/widgets/widget-cursorbar.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-cesium.es5.js
CHANGED
|
@@ -26278,6 +26278,7 @@ const KEY_WALKTHROUGH_MODE = "WidgetCursorBar.Walkthrough.Mode";
|
|
|
26278
26278
|
const KEY_WALKTHROUGH_SPEED_FLY = "WidgetCursorBar.Walkthrough.SpeedFly";
|
|
26279
26279
|
const KEY_WALKTHROUGH_SPEED_WALK = "WidgetCursorBar.Walkthrough.SpeedWalk";
|
|
26280
26280
|
const KEY_WALKTHROUGH_EXPANDED = "WidgetCursorBar.Walkthrough.Expanded";
|
|
26281
|
+
const VIEWER_WALKTHROUGH_PANEL_CSS_VAR_BOTTOM = "--viewer-walkthrough-panel-bottom";
|
|
26281
26282
|
class WidgetCursorBar extends Widget.AWidget {
|
|
26282
26283
|
constructor(params) {
|
|
26283
26284
|
super(params);
|
|
@@ -26290,6 +26291,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26290
26291
|
if (this._selectedCursor == ECursor.Select || this._selectedSecondaryCursor == ESecondaryCursor.Select) {
|
|
26291
26292
|
this._listenSelection();
|
|
26292
26293
|
}
|
|
26294
|
+
document.documentElement.style.setProperty(VIEWER_WALKTHROUGH_PANEL_CSS_VAR_BOTTOM, "0px");
|
|
26293
26295
|
}
|
|
26294
26296
|
Dispose() {
|
|
26295
26297
|
var _a, _b, _c;
|
|
@@ -26329,6 +26331,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26329
26331
|
flex-direction: column;
|
|
26330
26332
|
overflow: hidden;
|
|
26331
26333
|
pointer-events: none;
|
|
26334
|
+
color: black;
|
|
26332
26335
|
}
|
|
26333
26336
|
|
|
26334
26337
|
.NextspaceCursorBar * {
|
|
@@ -26516,6 +26519,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26516
26519
|
display: flex;
|
|
26517
26520
|
flex-direction: row;
|
|
26518
26521
|
padding: 14px 18px;
|
|
26522
|
+
box-shadow: 0px 0px 1px rgba(18, 22, 25, 0.36), 0px 18px 36px -4px rgba(18, 22, 25, 0.36);
|
|
26519
26523
|
}
|
|
26520
26524
|
|
|
26521
26525
|
.NextspaceWalkthroughBarTitle {
|
|
@@ -26956,6 +26960,8 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26956
26960
|
<path d="M15 1L1 0.999999" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
26957
26961
|
</svg>
|
|
26958
26962
|
`;
|
|
26963
|
+
const heightCollapsed = "70px";
|
|
26964
|
+
const heightExpanded = "150px";
|
|
26959
26965
|
const expand = document.createElement("div");
|
|
26960
26966
|
expand.className = "NextspaceWalkthroughButtonExpand";
|
|
26961
26967
|
expand.innerHTML = expanded ? svgMinimize : svgExpand;
|
|
@@ -26964,9 +26970,11 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26964
26970
|
expand.innerHTML = expanded ? svgMinimize : svgExpand;
|
|
26965
26971
|
element.setAttribute("expanded", expanded ? "true" : "false");
|
|
26966
26972
|
localStorage.setItem(KEY_WALKTHROUGH_EXPANDED, expanded ? "true" : "false");
|
|
26973
|
+
document.documentElement.style.setProperty(VIEWER_WALKTHROUGH_PANEL_CSS_VAR_BOTTOM, expanded ? heightExpanded : heightCollapsed);
|
|
26967
26974
|
};
|
|
26968
26975
|
content.appendChild(expand);
|
|
26969
26976
|
element.setAttribute("expanded", expanded ? "true" : "false");
|
|
26977
|
+
document.documentElement.style.setProperty(VIEWER_WALKTHROUGH_PANEL_CSS_VAR_BOTTOM, expanded ? heightExpanded : heightCollapsed);
|
|
26970
26978
|
}
|
|
26971
26979
|
content.appendChild(inputs);
|
|
26972
26980
|
const tips = document.createElement("div");
|
|
@@ -27142,6 +27150,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
27142
27150
|
this._walkthroughBar.parentElement.removeChild(this._walkthroughBar);
|
|
27143
27151
|
this._walkthroughBar = null;
|
|
27144
27152
|
}
|
|
27153
|
+
document.documentElement.style.setProperty(VIEWER_WALKTHROUGH_PANEL_CSS_VAR_BOTTOM, "0px");
|
|
27145
27154
|
}
|
|
27146
27155
|
_updateControls() {
|
|
27147
27156
|
const controls = this._primaryContent.querySelectorAll(".NextspaceCursorBarPrimControlInner");
|
|
@@ -29210,7 +29219,7 @@ class WidgetViewBar extends Widget.AWidget {
|
|
|
29210
29219
|
}
|
|
29211
29220
|
}
|
|
29212
29221
|
|
|
29213
|
-
const VERSION = "5.0.
|
|
29222
|
+
const VERSION = "5.0.5";
|
|
29214
29223
|
|
|
29215
29224
|
export { VERSION, CesiumViewMonitor, ViewerUtils, ViewerEventTracker, MenuItemManager, EntityRenderEngine, EntityRenderEnginePoint, EntityRenderEnginePolyline, EntityRenderEnginePolygon, EntityRenderEngineModel3d, MenuItemCreator, VisualsRegister, RenderManager, EntitiesIdsRenderManager, DataLabRenderManager, EntitiesLoadedRenderManager, EntitiesRenderManager, EntityRenderManager, TilesetCadRenderManager, TilesetArbRenderManager, TilesetEntitiesRenderManager, TilesetOsmRenderManager, TilesetPointcloudRenderManager, TilesetGooglePhotosRenderManager, DataSourceStaticKmlManager, GoogleSearchRenderManager, RelationsRenderManager, SharedGetters, CesiumParabola, EntityLabel, ViewRenderEngine, TileRenderEngine, TilesetRenderEngine, CESIUM_INSPECTOR_KEY, CESIUM_TIMELINE_KEY, ViewUtils, DrawingUtils, MeasureUtils, EntityUtils, CesiumEntityStyler, CesiumAnimatedProperty, CesiumAnimatedInOut, Draw3dPolygon, Draw3dPolyline, MeasureCreator, Walkthrough, Widget, VIEWER_BOOKMARKS_WIDGET_KEY, WidgetBookmarks, WidgetBranding, WidgetCursorBar, WidgetEmbeddedInfoView, WidgetInfoView, WidgetNavCompass$$1 as WidgetNavCompass, VIEWER_VIEW_BAR_WIDGET_KEY, WidgetViewBar, WidgetControlViewBar, WidgetControlViewBarSearch, VIEWER_LEFT_PANEL_WIDGET_KEY, VIEWER_LEFT_PANEL_CSS_VAR_LEFT, WidgetLeftPanel, WidgetLeftPanelTab, WidgetLeftPanelTabBookmarks };
|
|
29216
29225
|
//# sourceMappingURL=bruce-cesium.es5.js.map
|