bruce-models 3.3.7 → 3.3.8

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.
@@ -10495,40 +10495,40 @@ var Plugin;
10495
10495
  window[paramsId] = pluginParams ? pluginParams : {};
10496
10496
  const disposeId = ObjectUtils.UId();
10497
10497
  const elementId = ObjectUtils.UId();
10498
- let script = `
10499
- function run() {
10500
- ${fileContent}
10501
-
10502
- const paramsId = "${paramsId}";
10503
- const containerId = "${containerId}";
10504
- let container;
10505
- if (containerId) {
10506
- container = document.getElementById("${containerId}");
10507
- }
10508
-
10509
- let pluginHTML = null;
10510
- if (container) {
10511
- pluginHTML = document.createElement("div");
10512
- pluginHTML.id = "${elementId}";
10513
- container.appendChild(pluginHTML);
10514
- }
10515
-
10516
- {TEMPLATE_CODE}
10517
- const params = window["${paramsId}"];
10518
-
10519
- window["${disposeId}"] = Run({
10520
- element: pluginHTML,
10521
- container: container,
10522
- pluginParams: params
10523
- });
10524
- }
10525
- run();
10498
+ let script = `
10499
+ function run() {
10500
+ ${fileContent}
10501
+
10502
+ const paramsId = "${paramsId}";
10503
+ const containerId = "${containerId}";
10504
+ let container;
10505
+ if (containerId) {
10506
+ container = document.getElementById("${containerId}");
10507
+ }
10508
+
10509
+ let pluginHTML = null;
10510
+ if (container) {
10511
+ pluginHTML = document.createElement("div");
10512
+ pluginHTML.id = "${elementId}";
10513
+ container.appendChild(pluginHTML);
10514
+ }
10515
+
10516
+ {TEMPLATE_CODE}
10517
+ const params = window["${paramsId}"];
10518
+
10519
+ window["${disposeId}"] = Run({
10520
+ element: pluginHTML,
10521
+ container: container,
10522
+ pluginParams: params
10523
+ });
10524
+ }
10525
+ run();
10526
10526
  `;
10527
10527
  if (script.includes("var template")) {
10528
- script = script.replace("{TEMPLATE_CODE}", `
10529
- if (pluginHTML && template) {
10530
- pluginHTML.innerHTML = template;
10531
- }
10528
+ script = script.replace("{TEMPLATE_CODE}", `
10529
+ if (pluginHTML && template) {
10530
+ pluginHTML.innerHTML = template;
10531
+ }
10532
10532
  `);
10533
10533
  }
10534
10534
  else {
@@ -10708,7 +10708,7 @@ var DataSource;
10708
10708
  DataSource.GetList = GetList;
10709
10709
  })(DataSource || (DataSource = {}));
10710
10710
 
10711
- const VERSION = "3.3.5";
10711
+ const VERSION = "3.3.8";
10712
10712
 
10713
10713
  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 };
10714
10714
  //# sourceMappingURL=bruce-models.es5.js.map