bruce-models 0.8.9 → 0.9.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.
@@ -7378,5 +7378,5 @@ var Markup;
7378
7378
  })(Entity3d = Markup.Entity3d || (Markup.Entity3d = {}));
7379
7379
  })(Markup || (Markup = {}));
7380
7380
 
7381
- export { AnnDocument, CustomForm, CustomFormContent, AbstractApi, Api, BruceApi, CamApi, IdmApi, GlobalApi, Calculator, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, PendingAction, MessageBroker, Style, TilesetEntitiesMapTiles, TilesetExtMapTiles, Tileset, Permission, Session, UserGroup, User, Account, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup };
7381
+ export { AnnDocument, CustomForm, CustomFormContent, AbstractApi, Api, BruceApi, CamApi, IdmApi, GlobalApi, Calculator, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, PendingAction, MessageBroker, Style, TilesetEntitiesMapTiles, TilesetExtMapTiles, Tileset, Permission, Session, UserGroup, User, Account, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup };
7382
7382
  //# sourceMappingURL=bruce-models.es5.js.map
@@ -1991,13 +1991,6 @@
1991
1991
  }
1992
1992
  return null;
1993
1993
  }
1994
- /**
1995
- * Utilities for parsing "Bruce variables", typically within strings.
1996
- *
1997
- * A Bruce variable is a string that starts with "${" and ends with "}".
1998
- * Within those brackets is a path to an attribute in an entity.
1999
- */
2000
- var BruceVariable;
2001
1994
  (function (BruceVariable) {
2002
1995
  /**
2003
1996
  * Replaces all Bruce variables in a string with the value of the attribute.
@@ -2027,7 +2020,7 @@
2027
2020
  return str;
2028
2021
  }
2029
2022
  BruceVariable.SwapValues = SwapValues;
2030
- })(BruceVariable || (BruceVariable = {}));
2023
+ })(exports.BruceVariable || (exports.BruceVariable = {}));
2031
2024
 
2032
2025
  (function (Calculator) {
2033
2026
  var EValueType;
@@ -2209,7 +2202,7 @@
2209
2202
  function GetInputValue(value, entity) {
2210
2203
  if (typeof value == "string") {
2211
2204
  try {
2212
- value = BruceVariable.SwapValues(value, entity);
2205
+ value = exports.BruceVariable.SwapValues(value, entity);
2213
2206
  var eval2 = eval; // https://rollupjs.org/guide/en/#avoiding-eval
2214
2207
  return eval2(value);
2215
2208
  }