@sapui5/sap.ui.vbm 1.97.0 → 1.100.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.
@@ -3351,7 +3351,7 @@ VBI.GeoScene = function(target, mapmanager, maplayerstack) {
3351
3351
  }
3352
3352
  var sCopyright = scene.m_MapLayerStack.GetCopyright();
3353
3353
  if (sCopyright) {
3354
- scene.m_DivCopyright.innerHTML = sCopyright;
3354
+ scene.m_DivCopyright.innerHTML = jQuery.sap.encodeHTML(sCopyright);
3355
3355
  } else {
3356
3356
  scene.m_DivCopyright.style.paddingRight = 0;
3357
3357
  scene.m_DivCopyright.style.paddingLeft = 0;
@@ -270,7 +270,7 @@ VBI.Utilities.CreateCaption = function(id, text, left, top, right, bottom, toolt
270
270
  }
271
271
 
272
272
  newElement.className = "vbi-2d-caption vbi-2d-common";
273
- newElement.innerHTML = text;
273
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
274
274
  return newElement;
275
275
  };
276
276
 
@@ -286,7 +286,7 @@ VBI.Utilities.CreateLabel = function(id, text, left, top, right, bottom, tooltip
286
286
  newElement.style.textAlign = VBI.Utilities.Align[align];
287
287
  newElement.style.title = tooltip;
288
288
  newElement.className = "vbi-2d-label vbi-2d-common";
289
- newElement.innerHTML = text;
289
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
290
290
  return newElement;
291
291
  };
292
292
 
@@ -303,7 +303,7 @@ VBI.Utilities.CreateLink = function(id, text, left, top, right, bottom, href, to
303
303
  newElement.className = "vbi-2d-link vbi-2d-common";
304
304
  newElement.href = href ? href : "javascrip" + "t:void(0)"; // separated to fool ESLint
305
305
  newElement.title = tooltip;
306
- newElement.innerHTML = text;
306
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
307
307
  return newElement;
308
308
  };
309
309
 
@@ -333,7 +333,7 @@ VBI.Utilities.CreateButton = function(id, text, left, top, right, bottom, toolti
333
333
  newElement.style.height = (bottom - top).toString() + "px";
334
334
  newElement.style.textAlign = VBI.Utilities.Align[align];
335
335
  newElement.className = "vbi-2d-button vbi-2d-common";
336
- newElement.innerHTML = text;
336
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
337
337
  newElement.title = tooltip;
338
338
  return newElement;
339
339
  };
@@ -390,7 +390,7 @@ VBI.Utilities.CreateDetailPhone = function(id, left, top, width, height, titlete
390
390
  title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
391
391
  title.id = id + "-window-title";
392
392
  title.className = "vbi-detail-title-phone";
393
- title.innerHTML = titletext;
393
+ title.innerHTML = jQuery.sap.encodeHTML(titletext);
394
394
  header.appendChild(title);
395
395
 
396
396
  // create the close.......................................................//
@@ -476,7 +476,7 @@ VBI.Utilities.CreateDetail = function(id, left, top, width, height, titletext, p
476
476
  title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
477
477
  title.id = id + "-window-title";
478
478
  title.className = "vbi-detail-title";
479
- title.innerHTML = titletext;
479
+ title.innerHTML = jQuery.sap.encodeHTML(titletext);
480
480
  header.appendChild(title);
481
481
 
482
482
  // create the close.......................................................//
@@ -601,7 +601,7 @@ VBI.Utilities.CreateLegend = function(id, top, titletext, padding, bClickRow) {
601
601
  title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
602
602
  title.id = id + "-title";
603
603
  title.className = "vbi-legend-title";
604
- title.innerHTML = titletext;
604
+ title.innerHTML = jQuery.sap.encodeHTML(titletext);
605
605
  header.appendChild(title);
606
606
 
607
607
  // create the content.....................................................//
@@ -105,7 +105,7 @@ sap.ui.define(function() {
105
105
  if (trace == null) {
106
106
  return;
107
107
  }
108
- VBI.m_Log = VBI.m_Log + text + "<br>";
108
+ VBI.m_Log = VBI.m_Log + jQuery.sap.encodeHTML(text) + "<br>";
109
109
  trace.innerHTML = VBI.m_Log;
110
110
  },
111
111
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @namespace
20
20
  * @name sap.ui.vbm
21
21
  * @author SAP SE
22
- * @version 1.97.0
22
+ * @version 1.100.0
23
23
  * @public
24
24
  */
25
25
 
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  "sap.ui.vbm.ClusterBase", "sap.ui.vbm.ClusterTree", "sap.ui.vbm.ClusterGrid", "sap.ui.vbm.ClusterDistance", "sap.ui.vbm.Heatmap",
43
43
  "sap.ui.vbm.HeatPoint", "sap.ui.vbm.ClusterContainer", "sap.ui.vbm.Adapter", "sap.ui.vbm.Adapter3D"
44
44
  ],
45
- version: "1.97.0"
45
+ version: "1.100.0"
46
46
  });
47
47
 
48
48
  sap.ui.loader.config({