bruce-models 3.2.9 → 3.3.1

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.
@@ -3032,9 +3032,10 @@ var Entity;
3032
3032
  function CalculateNameAsync(params) {
3033
3033
  var _a;
3034
3034
  return __awaiter(this, void 0, void 0, function* () {
3035
- let { entityId, entity, typeId, type, defaultToId } = params;
3035
+ let { api, entityId, entity, typeId, type, defaultToId } = params;
3036
3036
  if (entityId && !entity) {
3037
3037
  const { entity: data } = yield Get({
3038
+ api,
3038
3039
  entityId,
3039
3040
  entityTypeId: typeId
3040
3041
  });
@@ -3048,6 +3049,7 @@ var Entity;
3048
3049
  }
3049
3050
  if (typeId && !type) {
3050
3051
  const { entityType: data } = yield EntityType.Get({
3052
+ api,
3051
3053
  entityTypeId: typeId
3052
3054
  });
3053
3055
  type = data;
@@ -10620,7 +10622,7 @@ var DataSource;
10620
10622
  DataSource.GetList = GetList;
10621
10623
  })(DataSource || (DataSource = {}));
10622
10624
 
10623
- const VERSION = "3.2.9";
10625
+ const VERSION = "3.3.1";
10624
10626
 
10625
10627
  export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
10626
10628
  //# sourceMappingURL=bruce-models.es5.js.map