bruce-cesium 5.9.3 → 5.9.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.
@@ -6119,20 +6119,20 @@
6119
6119
  */
6120
6120
  function extractMetadataFromFileUrl(url) {
6121
6121
  var _a;
6122
- url = url.toLowerCase();
6122
+ const lowercased = url.toLowerCase();
6123
6123
  // Bzzt, invalid url format for our purposes.
6124
- if (!url.includes(".api.") || !url.includes("/file/")) {
6124
+ if (!lowercased.includes(".api.") || !lowercased.includes("/file/")) {
6125
6125
  return null;
6126
6126
  }
6127
6127
  url = url.replace("https://", "").replace("http://", "");
6128
6128
  let envId = BModels.Api.EEnv.PROD;
6129
- if (url.includes("-dev.net")) {
6129
+ if (lowercased.includes("-dev.net")) {
6130
6130
  envId = BModels.Api.EEnv.DEV;
6131
6131
  }
6132
- else if (url.includes("-stg.net")) {
6132
+ else if (lowercased.includes("-stg.net")) {
6133
6133
  envId = BModels.Api.EEnv.STG;
6134
6134
  }
6135
- else if (url.includes("-uat.net")) {
6135
+ else if (lowercased.includes("-uat.net")) {
6136
6136
  envId = BModels.Api.EEnv.UAT;
6137
6137
  }
6138
6138
  const parts = url.split("/");
@@ -14915,9 +14915,7 @@
14915
14915
  this.renderPriority = 2;
14916
14916
  }
14917
14917
  if (!this.getter) {
14918
- this.getter = new BatchedDataGetter.Getter(this.item.BruceEntity.EntityIds, this.monitor, BATCH_SIZE$2,
14919
- // Don't emit the same Entity multiple times.
14920
- true);
14918
+ this.getter = new BatchedDataGetter.Getter(this.item.BruceEntity.EntityIds, this.monitor, BATCH_SIZE$2, false);
14921
14919
  this.getterSub = this.getter.OnUpdate.Subscribe((ids) => {
14922
14920
  this.onGetterUpdate(ids);
14923
14921
  });
@@ -22323,6 +22321,12 @@
22323
22321
  get Disposed() {
22324
22322
  return this.disposed;
22325
22323
  }
22324
+ get Hierarchy() {
22325
+ return this.hierarchy;
22326
+ }
22327
+ get HierarchyUpdate() {
22328
+ return this.hierarchyUpdate;
22329
+ }
22326
22330
  get ModelSpace() {
22327
22331
  return this.modelSpace;
22328
22332
  }
@@ -22330,6 +22334,7 @@
22330
22334
  this.disposed = false;
22331
22335
  // Cache of the hierarchy so that our scene-tree can reference it.
22332
22336
  this.hierarchy = null;
22337
+ this.hierarchyUpdate = new BModels.BruceEvent();
22333
22338
  // Quick look-up of the hierarchy nodes by entity ID.
22334
22339
  this.hierarchyNodeByEntityId = null;
22335
22340
  this.modelSpace = false;
@@ -22359,6 +22364,7 @@
22359
22364
  if (this.disposed) {
22360
22365
  return;
22361
22366
  }
22367
+ this.hierarchyUpdate.Trigger(hierarchy);
22362
22368
  // Build hierarchy node cache for quick lookups
22363
22369
  this.buildHierarchyNodes(hierarchy);
22364
22370
  const traverseHierarchy = (node, leavesOnly) => {
@@ -33021,7 +33027,7 @@
33021
33027
  }
33022
33028
  }
33023
33029
 
33024
- const VERSION = "5.9.3";
33030
+ const VERSION = "5.9.5";
33025
33031
 
33026
33032
  exports.VERSION = VERSION;
33027
33033
  exports.isOutlineChanged = isOutlineChanged;