bruce-cesium 5.9.9 → 6.0.0
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 +23 -14
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +21 -12
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-loaded-render-manager.js +3 -3
- package/dist/lib/rendering/render-managers/entities/entities-loaded-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js +3 -3
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/other/relations-render-manager.js +4 -3
- package/dist/lib/rendering/render-managers/other/relations-render-manager.js.map +1 -1
- package/dist/lib/rendering/visuals-register.js +11 -2
- 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 +21 -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, EntityHistoricData, Tileset, EntityCoords, DataLab, EntitySource, MenuItem, EntityRelation, ProgramKey, ProjectView, ProjectViewBookmark,
|
|
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, ProjectViewLegacyTile, Camera, 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, PolygonHierarchy, PolylineGraphics, ColorMaterialProperty, ColorBlendMode, HeadingPitchRoll, Transforms, Model,
|
|
3
|
+
import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, Entity, DistanceDisplayCondition, ClassificationType, ArcType, CornerType, ShadowMode, ConstantProperty, ConstantPositionProperty, PolygonHierarchy, PolylineGraphics, ColorMaterialProperty, HorizontalOrigin, VerticalOrigin, ColorBlendMode, HeadingPitchRoll, Transforms, Model, Primitive, Cesium3DTileFeature, SceneMode, GeoJsonDataSource, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, Ion, KmlDataSource, Quaternion, Matrix3, Matrix4, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, IonResource, SceneTransforms, CesiumInspector, OrthographicFrustum, defined, ClockRange, EasingFunction, NearFarScalar, EllipsoidGeodesic, sampleTerrainMostDetailed, Cesium3DTileset, PolygonPipeline, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, ScreenSpaceEventHandler, ScreenSpaceEventType, BoundingSphere, GeometryInstance, CzmlDataSource, Intersect, Fullscreen } from 'cesium';
|
|
4
4
|
|
|
5
5
|
const TIME_LAG = 300;
|
|
6
6
|
const POSITION_CHECK_TIMER = 950;
|
|
@@ -10748,7 +10748,16 @@ var CesiumAnimatedInOut;
|
|
|
10748
10748
|
const UPDATE_SOURCES = {
|
|
10749
10749
|
TREE_CASCADE: "tree-cascade",
|
|
10750
10750
|
TILESET_DISPOSE: "tileset-dispose",
|
|
10751
|
-
OSM_TILESET_DISPOSE: "osm-tileset-dispose"
|
|
10751
|
+
OSM_TILESET_DISPOSE: "osm-tileset-dispose",
|
|
10752
|
+
ADD_REGO_REPLACE: "add-rego-replace",
|
|
10753
|
+
ENTITIES_LOADED_REMOVE: "entities-loaded-remove",
|
|
10754
|
+
ENTITIES_LOADED_CLEAR: "entities-loaded-clear",
|
|
10755
|
+
ENTITIES_LOADED_DISPOSE: "entities-loaded-dispose",
|
|
10756
|
+
ENTITIES_TAG_FILTER: "entities-tag-filter",
|
|
10757
|
+
ENTITIES_DISABLED: "entities-disabled",
|
|
10758
|
+
ENTITIES_DISPOSE: "entities-dispose",
|
|
10759
|
+
RELATIONS_FILTER: "relations-filter",
|
|
10760
|
+
RELATIONS_DISPOSE: "relations-dispose" // Triggered when relations render manager is disposed.
|
|
10752
10761
|
};
|
|
10753
10762
|
/**
|
|
10754
10763
|
* Returns if a given visual is alive and in the scene.
|
|
@@ -12088,7 +12097,7 @@ var VisualsRegister;
|
|
|
12088
12097
|
menuItemId: rego.menuItemId,
|
|
12089
12098
|
doUpdate: false,
|
|
12090
12099
|
requestRender: false,
|
|
12091
|
-
source:
|
|
12100
|
+
source: UPDATE_SOURCES.ADD_REGO_REPLACE
|
|
12092
12101
|
});
|
|
12093
12102
|
}
|
|
12094
12103
|
const entityId = rego.entityId;
|
|
@@ -13457,14 +13466,14 @@ var EntitiesRenderManager;
|
|
|
13457
13466
|
this.visualsManager.RemoveRegos({
|
|
13458
13467
|
menuItemId: this.item.id,
|
|
13459
13468
|
retainTagIds: tagsToRender,
|
|
13460
|
-
source:
|
|
13469
|
+
source: UPDATE_SOURCES.ENTITIES_TAG_FILTER
|
|
13461
13470
|
});
|
|
13462
13471
|
(_j = this.clustering) === null || _j === void 0 ? void 0 : _j.Dispose();
|
|
13463
13472
|
}
|
|
13464
13473
|
else {
|
|
13465
13474
|
this.visualsManager.RemoveRegos({
|
|
13466
13475
|
menuItemId: this.item.id,
|
|
13467
|
-
source:
|
|
13476
|
+
source: UPDATE_SOURCES.ENTITIES_DISABLED
|
|
13468
13477
|
});
|
|
13469
13478
|
(_k = this.clustering) === null || _k === void 0 ? void 0 : _k.Dispose();
|
|
13470
13479
|
return;
|
|
@@ -13606,7 +13615,7 @@ var EntitiesRenderManager;
|
|
|
13606
13615
|
this.disposed = true;
|
|
13607
13616
|
this.visualsManager.RemoveRegos({
|
|
13608
13617
|
menuItemId: this.item.id,
|
|
13609
|
-
source:
|
|
13618
|
+
source: UPDATE_SOURCES.ENTITIES_DISPOSE
|
|
13610
13619
|
});
|
|
13611
13620
|
(_a = this.entityCheckRemoval) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
13612
13621
|
(_b = this.viewMonitorRemoval) === null || _b === void 0 ? void 0 : _b.call(this);
|
|
@@ -14467,7 +14476,7 @@ var EntitiesLoadedRenderManager;
|
|
|
14467
14476
|
this.visualsManager.RemoveRegos({
|
|
14468
14477
|
entityId: x,
|
|
14469
14478
|
menuItemId: this.item.id,
|
|
14470
|
-
source:
|
|
14479
|
+
source: UPDATE_SOURCES.ENTITIES_LOADED_REMOVE
|
|
14471
14480
|
});
|
|
14472
14481
|
this.renderedEntities[x] = false;
|
|
14473
14482
|
});
|
|
@@ -14484,7 +14493,7 @@ var EntitiesLoadedRenderManager;
|
|
|
14484
14493
|
this.item.BruceEntity.Entities = [];
|
|
14485
14494
|
this.visualsManager.RemoveRegos({
|
|
14486
14495
|
menuItemId: this.item.id,
|
|
14487
|
-
source:
|
|
14496
|
+
source: UPDATE_SOURCES.ENTITIES_LOADED_CLEAR
|
|
14488
14497
|
});
|
|
14489
14498
|
this.renderedEntities = {};
|
|
14490
14499
|
this.recreateGetter();
|
|
@@ -14549,7 +14558,7 @@ var EntitiesLoadedRenderManager;
|
|
|
14549
14558
|
this.disposed = true;
|
|
14550
14559
|
this.visualsManager.RemoveRegos({
|
|
14551
14560
|
menuItemId: this.item.id,
|
|
14552
|
-
source:
|
|
14561
|
+
source: UPDATE_SOURCES.ENTITIES_LOADED_DISPOSE
|
|
14553
14562
|
});
|
|
14554
14563
|
for (let i = 0; i < this.sources.length; i++) {
|
|
14555
14564
|
const source = this.sources[i];
|
|
@@ -20728,7 +20737,7 @@ var RelationsRenderManager;
|
|
|
20728
20737
|
entityId: rego.entityId,
|
|
20729
20738
|
menuItemId: this.item.id,
|
|
20730
20739
|
requestRender: false,
|
|
20731
|
-
source:
|
|
20740
|
+
source: UPDATE_SOURCES.RELATIONS_FILTER
|
|
20732
20741
|
});
|
|
20733
20742
|
}
|
|
20734
20743
|
}
|
|
@@ -20776,7 +20785,7 @@ var RelationsRenderManager;
|
|
|
20776
20785
|
this.disposed = true;
|
|
20777
20786
|
this.register.RemoveRegos({
|
|
20778
20787
|
menuItemId: this.item.id,
|
|
20779
|
-
source:
|
|
20788
|
+
source: UPDATE_SOURCES.RELATIONS_DISPOSE
|
|
20780
20789
|
});
|
|
20781
20790
|
}
|
|
20782
20791
|
/**
|
|
@@ -21037,7 +21046,7 @@ var RelationsRenderManager;
|
|
|
21037
21046
|
menuItemId: this.item.id,
|
|
21038
21047
|
relation: relation,
|
|
21039
21048
|
requestRender: false,
|
|
21040
|
-
source:
|
|
21049
|
+
source: UPDATE_SOURCES.RELATIONS_FILTER
|
|
21041
21050
|
});
|
|
21042
21051
|
}
|
|
21043
21052
|
const key = RelationRenderEngine.GetRenderGroupId(relation);
|
|
@@ -33316,7 +33325,7 @@ class WidgetViewBar extends Widget.AWidget {
|
|
|
33316
33325
|
}
|
|
33317
33326
|
}
|
|
33318
33327
|
|
|
33319
|
-
const VERSION = "
|
|
33328
|
+
const VERSION = "6.0.0";
|
|
33320
33329
|
|
|
33321
33330
|
export { VERSION, CesiumViewMonitor, ViewerUtils, ViewerEventTracker, MenuItemManager, isOutlineChanged, EntityRenderEngine, EntityRenderEnginePoint, EntityRenderEnginePolyline, EntityRenderEnginePolygon, EntityRenderEngineModel3d, MenuItemCreator, UPDATE_SOURCES, 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 };
|
|
33322
33331
|
//# sourceMappingURL=bruce-cesium.es5.js.map
|