bruce-cesium 5.8.5 → 5.8.6
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 +7 -40
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +5 -38
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/render-managers/other/assembly-render-manager.js +3 -2
- package/dist/lib/rendering/render-managers/other/assembly-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-cad-render-manager.js +1 -0
- package/dist/lib/rendering/render-managers/tilesets/tileset-cad-render-manager.js.map +1 -1
- package/dist/lib/rendering/visuals-register.js +0 -35
- package/dist/lib/rendering/visuals-register.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/rendering/visuals-register.d.ts +2 -12
- package/package.json +1 -1
package/dist/bruce-cesium.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BruceEvent, Cartes, Entity as Entity$1, ProjectViewTile, Carto, Geometry, MathUtils, LRUCache, Api, Calculator, ClientFile, EntityTag, EntityType, ObjectUtils, Style, DelayQueue, EntityLod, Bounds, ZoomControl, EntityRelationType, ENVIRONMENT,
|
|
1
|
+
import { BruceEvent, Cartes, Entity as Entity$1, ProjectViewTile, Carto, Geometry, MathUtils, LRUCache, Api, Calculator, ClientFile, EntityTag, EntityType, ObjectUtils, Style, DelayQueue, EntityLod, Bounds, ZoomControl, EntityRelationType, ENVIRONMENT, EntityHistoricData, Tileset, EntityCoords, DataLab, EntitySource, MenuItem, EntityRelation, ProgramKey, ProjectView, ProjectViewBookmark, Camera, ProjectViewLegacyTile, EntityAttachment, EntityAttachmentType, EntityAttribute, AbstractApi, Session } from 'bruce-models';
|
|
2
2
|
import * as Cesium from 'cesium';
|
|
3
|
-
import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, Entity, DistanceDisplayCondition, ClassificationType, ArcType, CornerType, ShadowMode, ConstantProperty, ConstantPositionProperty, HorizontalOrigin, VerticalOrigin, PolygonHierarchy, PolylineGraphics, ColorMaterialProperty, ColorBlendMode, HeadingPitchRoll, Transforms, Model, SceneMode, Primitive, Cesium3DTileFeature, GeoJsonDataSource, Cesium3DTileStyle, HeadingPitchRange,
|
|
3
|
+
import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, Entity, DistanceDisplayCondition, ClassificationType, ArcType, CornerType, ShadowMode, ConstantProperty, ConstantPositionProperty, HorizontalOrigin, VerticalOrigin, PolygonHierarchy, PolylineGraphics, ColorMaterialProperty, ColorBlendMode, HeadingPitchRoll, Transforms, Model, SceneMode, Primitive, Cesium3DTileFeature, GeoJsonDataSource, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, Ion, KmlDataSource, Quaternion, Matrix3, Matrix4, SceneTransforms, OrthographicFrustum, EasingFunction, NearFarScalar, Cesium3DTileset, IonResource, EllipsoidTerrainProvider, CesiumInspector, defined, ClockRange, EllipsoidGeodesic, sampleTerrainMostDetailed, PolygonPipeline, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, BoundingSphere, GeometryInstance, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, ScreenSpaceEventHandler, ScreenSpaceEventType, CzmlDataSource, Intersect, Fullscreen } from 'cesium';
|
|
4
4
|
|
|
5
5
|
const TIME_LAG = 300;
|
|
6
6
|
const POSITION_CHECK_TIMER = 950;
|
|
@@ -12274,41 +12274,6 @@ var VisualsRegister;
|
|
|
12274
12274
|
}
|
|
12275
12275
|
return map;
|
|
12276
12276
|
}
|
|
12277
|
-
/**
|
|
12278
|
-
* Gets hierarchy information for a given entity from any render manager.
|
|
12279
|
-
* This is a utility method to get parent/child relationships.
|
|
12280
|
-
* @param entityId The entity ID to get hierarchy info for
|
|
12281
|
-
* @param menuItemId The menu item ID (optional)
|
|
12282
|
-
* @returns Hierarchy information or null if not found
|
|
12283
|
-
*/
|
|
12284
|
-
getHierarchyInfo(entityId, menuItemId) {
|
|
12285
|
-
// Try to find the render manager for this entity
|
|
12286
|
-
const rego = this.GetRego({ entityId, menuItemId });
|
|
12287
|
-
if (!rego) {
|
|
12288
|
-
return null;
|
|
12289
|
-
}
|
|
12290
|
-
// Check if it's a CAD tileset
|
|
12291
|
-
if (rego.tilesetType === "CAD") {
|
|
12292
|
-
// This would need to be implemented in the CAD render manager
|
|
12293
|
-
// For now, return basic info
|
|
12294
|
-
return {
|
|
12295
|
-
parentId: undefined,
|
|
12296
|
-
children: [],
|
|
12297
|
-
path: [entityId]
|
|
12298
|
-
};
|
|
12299
|
-
}
|
|
12300
|
-
// Check if it's an Assembly
|
|
12301
|
-
if (rego.menuItemType === MenuItem.EType.Assembly) {
|
|
12302
|
-
// This would need to be implemented in the Assembly render manager
|
|
12303
|
-
// For now, return basic info
|
|
12304
|
-
return {
|
|
12305
|
-
parentId: undefined,
|
|
12306
|
-
children: [],
|
|
12307
|
-
path: [entityId]
|
|
12308
|
-
};
|
|
12309
|
-
}
|
|
12310
|
-
return null;
|
|
12311
|
-
}
|
|
12312
12277
|
}
|
|
12313
12278
|
VisualsRegister.Register = Register;
|
|
12314
12279
|
})(VisualsRegister || (VisualsRegister = {}));
|
|
@@ -18404,6 +18369,7 @@ var TilesetCadRenderManager;
|
|
|
18404
18369
|
rego.entityId = meta.entityId;
|
|
18405
18370
|
rego.entityTypeId = meta.typeId;
|
|
18406
18371
|
rego.name = meta.name;
|
|
18372
|
+
rego.parentId = meta.parentId;
|
|
18407
18373
|
}
|
|
18408
18374
|
}
|
|
18409
18375
|
}
|
|
@@ -22366,7 +22332,7 @@ var AssemblyRenderManager;
|
|
|
22366
22332
|
this.renderPriority = 1;
|
|
22367
22333
|
}
|
|
22368
22334
|
(async () => {
|
|
22369
|
-
var _a;
|
|
22335
|
+
var _a, _b, _c;
|
|
22370
22336
|
if (this.disposed) {
|
|
22371
22337
|
return;
|
|
22372
22338
|
}
|
|
@@ -22453,7 +22419,8 @@ var AssemblyRenderManager;
|
|
|
22453
22419
|
accountId: this.getters.GetAccountId(),
|
|
22454
22420
|
entityTypeId: entity.Bruce["EntityType.ID"],
|
|
22455
22421
|
name: entity.Bruce.Name,
|
|
22456
|
-
rootId: rootId
|
|
22422
|
+
rootId: rootId,
|
|
22423
|
+
parentId: (_c = (_b = this.hierarchyNodeByEntityId) === null || _b === void 0 ? void 0 : _b[entity.Bruce.ID]) === null || _c === void 0 ? void 0 : _c.parentId
|
|
22457
22424
|
},
|
|
22458
22425
|
requestRender: false
|
|
22459
22426
|
});
|
|
@@ -32895,7 +32862,7 @@ class WidgetViewBar extends Widget.AWidget {
|
|
|
32895
32862
|
}
|
|
32896
32863
|
}
|
|
32897
32864
|
|
|
32898
|
-
const VERSION = "5.8.
|
|
32865
|
+
const VERSION = "5.8.6";
|
|
32899
32866
|
|
|
32900
32867
|
export { VERSION, CesiumViewMonitor, ViewerUtils, ViewerEventTracker, MenuItemManager, isOutlineChanged, EntityRenderEngine, EntityRenderEnginePoint, EntityRenderEnginePolyline, EntityRenderEnginePolygon, EntityRenderEngineModel3d, MenuItemCreator, VisualsRegister, RenderManager, EntitiesIdsRenderManager, DataLabRenderManager, EntitiesLoadedRenderManager, EntitiesRenderManager, EntityRenderManager, TilesetCadRenderManager, TilesetArbRenderManager, TilesetEntitiesRenderManager, TilesetOsmRenderManager, TilesetPointcloudRenderManager, TilesetGooglePhotosRenderManager, DataSourceStaticKmlManager, GoogleSearchRenderManager, AssemblyRenderManager, RelationsRenderManager, SharedGetters, CesiumParabola, EntityLabel, ViewRenderEngine, TileRenderEngine, TilesetRenderEngine, CESIUM_INSPECTOR_KEY, CESIUM_TIMELINE_KEY, CESIUM_TIMELINE_LIVE_KEY, CESIUM_TIMELINE_LIVE_PADDING_KEY, CESIUM_TIMELINE_INTERVAL_KEY, DEFAULT_LIVE_PADDING_SECONDS, 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 };
|
|
32901
32868
|
//# sourceMappingURL=bruce-cesium.es5.js.map
|