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.
@@ -12241,41 +12241,6 @@
12241
12241
  }
12242
12242
  return map;
12243
12243
  }
12244
- /**
12245
- * Gets hierarchy information for a given entity from any render manager.
12246
- * This is a utility method to get parent/child relationships.
12247
- * @param entityId The entity ID to get hierarchy info for
12248
- * @param menuItemId The menu item ID (optional)
12249
- * @returns Hierarchy information or null if not found
12250
- */
12251
- getHierarchyInfo(entityId, menuItemId) {
12252
- // Try to find the render manager for this entity
12253
- const rego = this.GetRego({ entityId, menuItemId });
12254
- if (!rego) {
12255
- return null;
12256
- }
12257
- // Check if it's a CAD tileset
12258
- if (rego.tilesetType === "CAD") {
12259
- // This would need to be implemented in the CAD render manager
12260
- // For now, return basic info
12261
- return {
12262
- parentId: undefined,
12263
- children: [],
12264
- path: [entityId]
12265
- };
12266
- }
12267
- // Check if it's an Assembly
12268
- if (rego.menuItemType === BModels.MenuItem.EType.Assembly) {
12269
- // This would need to be implemented in the Assembly render manager
12270
- // For now, return basic info
12271
- return {
12272
- parentId: undefined,
12273
- children: [],
12274
- path: [entityId]
12275
- };
12276
- }
12277
- return null;
12278
- }
12279
12244
  }
12280
12245
  VisualsRegister.Register = Register;
12281
12246
  })(exports.VisualsRegister || (exports.VisualsRegister = {}));
@@ -18344,6 +18309,7 @@
18344
18309
  rego.entityId = meta.entityId;
18345
18310
  rego.entityTypeId = meta.typeId;
18346
18311
  rego.name = meta.name;
18312
+ rego.parentId = meta.parentId;
18347
18313
  }
18348
18314
  }
18349
18315
  }
@@ -22290,7 +22256,7 @@
22290
22256
  this.renderPriority = 1;
22291
22257
  }
22292
22258
  (async () => {
22293
- var _a;
22259
+ var _a, _b, _c;
22294
22260
  if (this.disposed) {
22295
22261
  return;
22296
22262
  }
@@ -22377,7 +22343,8 @@
22377
22343
  accountId: this.getters.GetAccountId(),
22378
22344
  entityTypeId: entity.Bruce["EntityType.ID"],
22379
22345
  name: entity.Bruce.Name,
22380
- rootId: rootId
22346
+ rootId: rootId,
22347
+ parentId: (_c = (_b = this.hierarchyNodeByEntityId) === null || _b === void 0 ? void 0 : _b[entity.Bruce.ID]) === null || _c === void 0 ? void 0 : _c.parentId
22381
22348
  },
22382
22349
  requestRender: false
22383
22350
  });
@@ -32791,7 +32758,7 @@
32791
32758
  }
32792
32759
  }
32793
32760
 
32794
- const VERSION = "5.8.5";
32761
+ const VERSION = "5.8.6";
32795
32762
 
32796
32763
  exports.VERSION = VERSION;
32797
32764
  exports.isOutlineChanged = isOutlineChanged;