bruce-models 2.9.0 → 2.9.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.
@@ -5432,6 +5432,9 @@ var Calculator;
5432
5432
  * @returns
5433
5433
  */
5434
5434
  function GetValue(fields, entity, tags) {
5435
+ if (!(fields === null || fields === void 0 ? void 0 : fields.length)) {
5436
+ return null;
5437
+ }
5435
5438
  if (!tags) {
5436
5439
  tags = [];
5437
5440
  }
@@ -5485,6 +5488,9 @@ var Calculator;
5485
5488
  * @param tags
5486
5489
  */
5487
5490
  function GetColor(fields, entity, tags) {
5491
+ if (!(fields === null || fields === void 0 ? void 0 : fields.length)) {
5492
+ return null;
5493
+ }
5488
5494
  if (!tags) {
5489
5495
  tags = [];
5490
5496
  }
@@ -5531,6 +5537,9 @@ var Calculator;
5531
5537
  }
5532
5538
  Calculator.GetColor = GetColor;
5533
5539
  function GetNumber(fields, entity, tags) {
5540
+ if (!(fields === null || fields === void 0 ? void 0 : fields.length)) {
5541
+ return null;
5542
+ }
5534
5543
  if (!tags) {
5535
5544
  tags = [];
5536
5545
  }
@@ -5563,6 +5572,9 @@ var Calculator;
5563
5572
  }
5564
5573
  Calculator.GetNumber = GetNumber;
5565
5574
  function GetString(fields, entity, tags) {
5575
+ if (!(fields === null || fields === void 0 ? void 0 : fields.length)) {
5576
+ return null;
5577
+ }
5566
5578
  if (!tags) {
5567
5579
  tags = [];
5568
5580
  }
@@ -11983,7 +11995,7 @@ var DataSource;
11983
11995
  DataSource.GetList = GetList;
11984
11996
  })(DataSource || (DataSource = {}));
11985
11997
 
11986
- const VERSION$1 = "2.9.0";
11998
+ const VERSION$1 = "2.9.1";
11987
11999
 
11988
12000
  export { VERSION$1 as VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, CamApi, IdmApi, 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, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, 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 };
11989
12001
  //# sourceMappingURL=bruce-models.es5.js.map