bruce-models 3.1.6 → 3.1.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.
@@ -5911,6 +5911,7 @@
5911
5911
  EExternalMapType["OpenStreetMapImagery"] = "OpenStreetMapImagery";
5912
5912
  EExternalMapType["MapBoxImagery"] = "MapBoxImagery";
5913
5913
  EExternalMapType["CesiumIon"] = "CesiumIon";
5914
+ EExternalMapType["CustomTemplate"] = "Static";
5914
5915
  })(EExternalMapType = Settings.EExternalMapType || (Settings.EExternalMapType = {}));
5915
5916
  })(Settings = Tileset.Settings || (Tileset.Settings = {}));
5916
5917
  })(exports.Tileset || (exports.Tileset = {}));
@@ -8240,40 +8241,40 @@
8240
8241
  window[paramsId] = pluginParams ? pluginParams : {};
8241
8242
  const disposeId = exports.ObjectUtils.UId();
8242
8243
  const elementId = exports.ObjectUtils.UId();
8243
- let script = `
8244
- function run() {
8245
- ${fileContent}
8246
-
8247
- const paramsId = "${paramsId}";
8248
- const containerId = "${containerId}";
8249
- let container;
8250
- if (containerId) {
8251
- container = document.getElementById("${containerId}");
8252
- }
8253
-
8254
- let pluginHTML = null;
8255
- if (container) {
8256
- pluginHTML = document.createElement("div");
8257
- pluginHTML.id = "${elementId}";
8258
- container.appendChild(pluginHTML);
8259
- }
8260
-
8261
- {TEMPLATE_CODE}
8262
- const params = window["${paramsId}"];
8263
-
8264
- window["${disposeId}"] = Run({
8265
- element: pluginHTML,
8266
- container: container,
8267
- pluginParams: params
8268
- });
8269
- }
8270
- run();
8244
+ let script = `
8245
+ function run() {
8246
+ ${fileContent}
8247
+
8248
+ const paramsId = "${paramsId}";
8249
+ const containerId = "${containerId}";
8250
+ let container;
8251
+ if (containerId) {
8252
+ container = document.getElementById("${containerId}");
8253
+ }
8254
+
8255
+ let pluginHTML = null;
8256
+ if (container) {
8257
+ pluginHTML = document.createElement("div");
8258
+ pluginHTML.id = "${elementId}";
8259
+ container.appendChild(pluginHTML);
8260
+ }
8261
+
8262
+ {TEMPLATE_CODE}
8263
+ const params = window["${paramsId}"];
8264
+
8265
+ window["${disposeId}"] = Run({
8266
+ element: pluginHTML,
8267
+ container: container,
8268
+ pluginParams: params
8269
+ });
8270
+ }
8271
+ run();
8271
8272
  `;
8272
8273
  if (script.includes("var template")) {
8273
- script = script.replace("{TEMPLATE_CODE}", `
8274
- if (pluginHTML && template) {
8275
- pluginHTML.innerHTML = template;
8276
- }
8274
+ script = script.replace("{TEMPLATE_CODE}", `
8275
+ if (pluginHTML && template) {
8276
+ pluginHTML.innerHTML = template;
8277
+ }
8277
8278
  `);
8278
8279
  }
8279
8280
  else {
@@ -8411,7 +8412,7 @@
8411
8412
  DataSource.GetList = GetList;
8412
8413
  })(exports.DataSource || (exports.DataSource = {}));
8413
8414
 
8414
- const VERSION = "3.1.6";
8415
+ const VERSION = "3.1.8";
8415
8416
 
8416
8417
  exports.VERSION = VERSION;
8417
8418
  exports.AbstractApi = AbstractApi;