bruce-cesium 6.8.3 → 6.8.4

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.
@@ -1,6 +1,6 @@
1
1
  import * as Cesium from 'cesium';
2
- import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, DistanceDisplayCondition, Math as Math$1, Cartesian3, JulianDate, Quaternion, Transforms, HeadingPitchRoll, Matrix4, HeightReference, ColorBlendMode, ShadowMode, ClassificationType, Model, ArcType, CornerType, ConstantPositionProperty, PolygonHierarchy, PolylineGraphics, Cartesian2, SceneTransforms, NearFarScalar, VerticalOrigin, HorizontalOrigin, Matrix3, Rectangle, KmlDataSource, GeoJsonDataSource, SceneMode, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, Ion, IonResource, Cesium3DTileset, OrthographicFrustum, EasingFunction, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, PolygonPipeline, CesiumInspector, ClockRange, ScreenSpaceEventHandler, ScreenSpaceEventType, BoundingSphere, GeometryInstance, CzmlDataSource, Intersect, Fullscreen } from 'cesium';
3
- import { Cartes, Entity as Entity$1, ENVIRONMENT, Calculator, ClientFile, EntityLod, EntityTag, EntityType, LRUCache, ObjectUtils, Style, MenuItem, ProjectView, ProjectViewBookmark, Tileset, ZoomControl, Carto, Geometry, Bounds, BruceEvent, EntityCoords, Api, DelayQueue, EntityHistoricData, DataLab, BruceApi, ProgramKey, AccountConcept, RecordChangeFeed, EntityRelation, EntitySource, Camera, ProjectViewTile, ProjectViewLegacyTile, EntityAttachment, EntityAttachmentType, EntityAttribute, MathUtils, Session, EntityRelationType } from 'bruce-models';
2
+ import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, Math as Math$1, Cartesian3, JulianDate, Quaternion, Transforms, HeadingPitchRoll, Matrix4, DistanceDisplayCondition, HeightReference, ColorBlendMode, ShadowMode, ClassificationType, Model, HorizontalOrigin, VerticalOrigin, ConstantPositionProperty, PolygonHierarchy, PolylineGraphics, ArcType, CornerType, Cartesian2, SceneTransforms, NearFarScalar, Matrix3, Rectangle, KmlDataSource, GeoJsonDataSource, SceneMode, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, Ion, IonResource, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, Cesium3DTileset, OrthographicFrustum, EasingFunction, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, BoundingSphere, GeometryInstance, PolygonPipeline, CesiumInspector, ClockRange, ScreenSpaceEventHandler, ScreenSpaceEventType, Intersect, CzmlDataSource, Fullscreen } from 'cesium';
3
+ import { Cartes, Entity as Entity$1, ENVIRONMENT, Calculator, ClientFile, EntityLod, EntityTag, EntityType, LRUCache, ObjectUtils, Style, Api, Bounds, Geometry, Carto, MenuItem, ProjectView, ProjectViewBookmark, Tileset, ZoomControl, BruceEvent, EntityCoords, DataLab, DelayQueue, EntityHistoricData, AccountConcept, RecordChangeFeed, BruceApi, EntityRelation, ProgramKey, EntitySource, ProjectViewLegacyTile, ProjectViewTile, Camera, EntityAttachment, EntityAttachmentType, EntityAttribute, MathUtils, Session, EntityRelationType } from 'bruce-models';
4
4
 
5
5
  /**
6
6
  * Ensures a number is returned from a given value.
@@ -14552,7 +14552,7 @@ var TilesetCadRenderManager;
14552
14552
  }
14553
14553
  // Returns null (fall back to a normal Dispose()) if the tileset hasn't finished loading yet.
14554
14554
  PrepareHandoff() {
14555
- var _a, _b;
14555
+ var _a, _b, _c;
14556
14556
  if (this.disposed || !this.cTileset || this.cTileset.isDestroyed()) {
14557
14557
  return null;
14558
14558
  }
@@ -14570,8 +14570,9 @@ var TilesetCadRenderManager;
14570
14570
  }
14571
14571
  // Not transferred, the receiving manager sets up its own fresh copy if needed.
14572
14572
  this.viewerDateTimeDispose();
14573
- (_a = this.tileLoadRemoval) === null || _a === void 0 ? void 0 : _a.call(this);
14574
- (_b = this.tileUnloadRemoval) === null || _b === void 0 ? void 0 : _b.call(this);
14573
+ (_a = this.styler) === null || _a === void 0 ? void 0 : _a.Dispose();
14574
+ (_b = this.tileLoadRemoval) === null || _b === void 0 ? void 0 : _b.call(this);
14575
+ (_c = this.tileUnloadRemoval) === null || _c === void 0 ? void 0 : _c.call(this);
14575
14576
  this.tileLoadRemoval = null;
14576
14577
  this.tileUnloadRemoval = null;
14577
14578
  const payload = {
@@ -18371,7 +18372,7 @@ var TilesetEntitiesRenderManager;
18371
18372
  }
18372
18373
  // Returns null (fall back to a normal Dispose()) if the tileset hasn't finished loading yet.
18373
18374
  PrepareHandoff() {
18374
- var _a, _b;
18375
+ var _a, _b, _c;
18375
18376
  if (this.disposed || !this.cTileset || this.cTileset.isDestroyed()) {
18376
18377
  return null;
18377
18378
  }
@@ -18387,8 +18388,9 @@ var TilesetEntitiesRenderManager;
18387
18388
  clearInterval(this.handoffRestyleInterval);
18388
18389
  this.handoffRestyleInterval = null;
18389
18390
  }
18390
- (_a = this.tileLoadRemoval) === null || _a === void 0 ? void 0 : _a.call(this);
18391
- (_b = this.tileUnloadRemoval) === null || _b === void 0 ? void 0 : _b.call(this);
18391
+ (_a = this.styler) === null || _a === void 0 ? void 0 : _a.Dispose();
18392
+ (_b = this.tileLoadRemoval) === null || _b === void 0 ? void 0 : _b.call(this);
18393
+ (_c = this.tileUnloadRemoval) === null || _c === void 0 ? void 0 : _c.call(this);
18392
18394
  this.tileLoadRemoval = null;
18393
18395
  this.tileUnloadRemoval = null;
18394
18396
  const payload = {
@@ -37566,7 +37568,7 @@ var StyleUtils;
37566
37568
  StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
37567
37569
  })(StyleUtils || (StyleUtils = {}));
37568
37570
 
37569
- const VERSION = "6.8.3";
37571
+ const VERSION = "6.8.4";
37570
37572
  /**
37571
37573
  * Updates the environment instance used by bruce-cesium to one specified.
37572
37574
  * This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.