bruce-models 5.1.2 → 5.1.4

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.
@@ -14214,6 +14214,7 @@ var Plugin;
14214
14214
  fileContent = fileContent.substring(start + 1, end);
14215
14215
  const paramsId = ObjectUtils.UId();
14216
14216
  window[paramsId] = pluginParams ? pluginParams : {};
14217
+ window["PLUGIN_" + pluginId] = plugin;
14217
14218
  const disposeId = ObjectUtils.UId();
14218
14219
  const elementId = ObjectUtils.UId();
14219
14220
  let script = `
@@ -14235,13 +14236,16 @@ var Plugin;
14235
14236
  }
14236
14237
 
14237
14238
  {TEMPLATE_CODE}
14239
+
14238
14240
  const params = window["${paramsId}"];
14241
+ const plugin = window["PLUGIN_${pluginId}"];
14239
14242
 
14240
14243
  window["${disposeId}"] = Run({
14241
14244
  element: pluginHTML,
14242
14245
  container: container,
14243
14246
  pluginParams: params,
14244
- pluginId: "${pluginId}"
14247
+ pluginId: "${pluginId}",
14248
+ plugin: plugin
14245
14249
  });
14246
14250
  }
14247
14251
  run();
@@ -14493,7 +14497,7 @@ var DataSource;
14493
14497
  })(DataSource || (DataSource = {}));
14494
14498
 
14495
14499
  // This is updated with the package.json version on build.
14496
- const VERSION = "5.1.2";
14500
+ const VERSION = "5.1.4";
14497
14501
 
14498
14502
  export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
14499
14503
  //# sourceMappingURL=bruce-models.es5.js.map