@sapui5/sap.ui.vbm 1.84.6 → 1.84.9

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.
Files changed (70) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/vbm/.library +1 -1
  3. package/src/sap/ui/vbm/Adapter.js +46 -8
  4. package/src/sap/ui/vbm/Adapter3D.js +5 -2
  5. package/src/sap/ui/vbm/AnalyticMap.js +1 -1
  6. package/src/sap/ui/vbm/AnalyticMapRenderer.js +1 -1
  7. package/src/sap/ui/vbm/Area.js +1 -1
  8. package/src/sap/ui/vbm/Areas.js +1 -1
  9. package/src/sap/ui/vbm/Box.js +1 -1
  10. package/src/sap/ui/vbm/Boxes.js +1 -1
  11. package/src/sap/ui/vbm/Circle.js +1 -1
  12. package/src/sap/ui/vbm/Circles.js +1 -1
  13. package/src/sap/ui/vbm/Cluster.js +1 -1
  14. package/src/sap/ui/vbm/ClusterBase.js +3 -3
  15. package/src/sap/ui/vbm/ClusterContainer.js +1 -1
  16. package/src/sap/ui/vbm/ClusterDistance.js +1 -1
  17. package/src/sap/ui/vbm/ClusterGrid.js +1 -1
  18. package/src/sap/ui/vbm/ClusterRenderer.js +1 -1
  19. package/src/sap/ui/vbm/ClusterTree.js +1 -1
  20. package/src/sap/ui/vbm/Container.js +1 -1
  21. package/src/sap/ui/vbm/Containers.js +1 -1
  22. package/src/sap/ui/vbm/DragSource.js +1 -1
  23. package/src/sap/ui/vbm/DropTarget.js +1 -1
  24. package/src/sap/ui/vbm/Feature.js +1 -1
  25. package/src/sap/ui/vbm/FeatureCollection.js +1 -1
  26. package/src/sap/ui/vbm/GeoCircle.js +1 -1
  27. package/src/sap/ui/vbm/GeoCircles.js +1 -1
  28. package/src/sap/ui/vbm/GeoJsonLayer.js +1 -1
  29. package/src/sap/ui/vbm/GeoMap.js +16 -6
  30. package/src/sap/ui/vbm/GeoMapRenderer.js +1 -1
  31. package/src/sap/ui/vbm/HeatPoint.js +1 -1
  32. package/src/sap/ui/vbm/Heatmap.js +1 -1
  33. package/src/sap/ui/vbm/Legend.js +1 -1
  34. package/src/sap/ui/vbm/LegendItem.js +1 -1
  35. package/src/sap/ui/vbm/Pie.js +1 -1
  36. package/src/sap/ui/vbm/PieItem.js +1 -1
  37. package/src/sap/ui/vbm/Pies.js +1 -1
  38. package/src/sap/ui/vbm/Region.js +1 -1
  39. package/src/sap/ui/vbm/Resource.js +1 -1
  40. package/src/sap/ui/vbm/Route.js +1 -1
  41. package/src/sap/ui/vbm/Routes.js +1 -1
  42. package/src/sap/ui/vbm/Spot.js +1 -1
  43. package/src/sap/ui/vbm/Spots.js +1 -1
  44. package/src/sap/ui/vbm/VBI.js +1 -1
  45. package/src/sap/ui/vbm/VBIRenderer.js +1 -1
  46. package/src/sap/ui/vbm/Viewport.js +8 -3
  47. package/src/sap/ui/vbm/ViewportRenderer.js +1 -1
  48. package/src/sap/ui/vbm/VoAbstract.js +1 -1
  49. package/src/sap/ui/vbm/VoAggregation.js +1 -1
  50. package/src/sap/ui/vbm/VoBase.js +1 -1
  51. package/src/sap/ui/vbm/adapter3d/ModelHandler.js +26 -15
  52. package/src/sap/ui/vbm/adapter3d/ObjectFactory.js +2 -2
  53. package/src/sap/ui/vbm/adapter3d/PolygonHandler.js +32 -26
  54. package/src/sap/ui/vbm/adapter3d/SceneBuilder.js +30 -17
  55. package/src/sap/ui/vbm/adapter3d/Utilities.js +1 -1
  56. package/src/sap/ui/vbm/adapter3d/VBIJSONParser.js +2 -2
  57. package/src/sap/ui/vbm/lib/sapscene.js +18 -12
  58. package/src/sap/ui/vbm/lib/saputilities.js +7 -7
  59. package/src/sap/ui/vbm/lib/sapvbi.js +1 -1
  60. package/src/sap/ui/vbm/lib/sapvobase.js +1 -1
  61. package/src/sap/ui/vbm/library.js +3 -3
  62. package/src/sap/ui/vbm/themes/base/library.source.less +1 -1
  63. package/src/sap/ui/vbm/themes/sap_belize/library.source.less +1 -1
  64. package/src/sap/ui/vbm/themes/sap_belize_plus/library.source.less +1 -1
  65. package/src/sap/ui/vbm/themes/sap_bluecrystal/library.source.less +1 -1
  66. package/src/sap/ui/vbm/themes/sap_fiori_3/library.source.less +1 -1
  67. package/src/sap/ui/vbm/themes/sap_fiori_3_dark/library.source.less +1 -1
  68. package/src/sap/ui/vbm/themes/sap_fiori_3_hcb/library.source.less +1 -1
  69. package/src/sap/ui/vbm/themes/sap_fiori_3_hcw/library.source.less +1 -1
  70. package/src/sap/ui/vbm/themes/sap_hcb/library.source.less +1 -1
@@ -282,7 +282,7 @@ VBI.Utilities.CreateCaption = function(id, text, left, top, right, bottom, toolt
282
282
  }
283
283
 
284
284
  newElement.className = "vbi-2d-caption vbi-2d-common";
285
- newElement.innerHTML = text;
285
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
286
286
  return newElement;
287
287
  };
288
288
 
@@ -299,7 +299,7 @@ VBI.Utilities.CreateLabel = function(id, text, left, top, right, bottom, tooltip
299
299
  newElement.style.textAlign = VBI.Utilities.Align[align];
300
300
  newElement.style.title = tooltip;
301
301
  newElement.className = "vbi-2d-label vbi-2d-common";
302
- newElement.innerHTML = text;
302
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
303
303
  return newElement;
304
304
  };
305
305
 
@@ -317,7 +317,7 @@ VBI.Utilities.CreateLink = function(id, text, left, top, right, bottom, href, to
317
317
  newElement.className = "vbi-2d-link vbi-2d-common";
318
318
  newElement.href = href ? href : "javascrip" + "t:void(0)"; // separated to fool ESLint
319
319
  newElement.title = tooltip;
320
- newElement.innerHTML = text;
320
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
321
321
  return newElement;
322
322
  };
323
323
 
@@ -349,7 +349,7 @@ VBI.Utilities.CreateButton = function(id, text, left, top, right, bottom, toolti
349
349
  newElement.style.height = (bottom - top).toString() + "px";
350
350
  newElement.style.textAlign = VBI.Utilities.Align[align];
351
351
  newElement.className = "vbi-2d-button vbi-2d-common";
352
- newElement.innerHTML = text;
352
+ newElement.innerHTML = jQuery.sap.encodeHTML(text);
353
353
  newElement.title = tooltip;
354
354
  return newElement;
355
355
  };
@@ -408,7 +408,7 @@ VBI.Utilities.CreateDetailPhone = function(id, left, top, width, height, titlete
408
408
  title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
409
409
  title.id = id + "-window-title";
410
410
  title.className = "vbi-detail-title-phone";
411
- title.innerHTML = titletext;
411
+ title.innerHTML = jQuery.sap.encodeHTML(titletext);
412
412
  header.appendChild(title);
413
413
 
414
414
  // create the close.......................................................//
@@ -495,7 +495,7 @@ VBI.Utilities.CreateDetail = function(id, left, top, width, height, titletext, p
495
495
  title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
496
496
  title.id = id + "-window-title";
497
497
  title.className = "vbi-detail-title";
498
- title.innerHTML = titletext;
498
+ title.innerHTML = jQuery.sap.encodeHTML(titletext);
499
499
  header.appendChild(title);
500
500
 
501
501
  // create the close.......................................................//
@@ -623,7 +623,7 @@ VBI.Utilities.CreateLegend = function(id, top, titletext, padding, bClickRow) {
623
623
  title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
624
624
  title.id = id + "-title";
625
625
  title.className = "vbi-legend-title";
626
- title.innerHTML = titletext;
626
+ title.innerHTML = jQuery.sap.encodeHTML(titletext);
627
627
  header.appendChild(title);
628
628
 
629
629
  // create the content.....................................................//
@@ -101,7 +101,7 @@
101
101
  if (trace == null) {
102
102
  return;
103
103
  }
104
- VBI.m_Log = VBI.m_Log + text + "<br>";
104
+ VBI.m_Log = VBI.m_Log + jQuery.sap.encodeHTML(text) + "<br>";
105
105
  trace.innerHTML = VBI.m_Log;
106
106
  },
107
107
 
@@ -1220,7 +1220,7 @@ VBI.VisualObjects = function() {
1220
1220
  }
1221
1221
  // check for design handle context menu subscription.............//
1222
1222
  var action, actions = scene.m_Ctx.m_Actions;
1223
- if (actions && ocb.m_Design && ocb.m_Handle > -1) {
1223
+ if (actions && ocb.m_Design && (ocb.m_Handle > -1 || ocb.m_Hit === VBI.HTBOX)) {
1224
1224
  // the action is raised whenever a design action has stopped..//
1225
1225
  // for the instanced type.....................................//
1226
1226
  // is it a HandleMoved or a HandleClick action ...............//
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  /**
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @namespace
18
18
  * @name sap.ui.vbm
19
19
  * @author SAP SE
20
- * @version 1.84.6
20
+ * @version 1.84.9
21
21
  * @public
22
22
  */
23
23
 
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  "sap.ui.vbm.ClusterBase", "sap.ui.vbm.ClusterTree", "sap.ui.vbm.ClusterGrid", "sap.ui.vbm.ClusterDistance", "sap.ui.vbm.Heatmap",
48
48
  "sap.ui.vbm.HeatPoint", "sap.ui.vbm.ClusterContainer", "sap.ui.vbm.Adapter", "sap.ui.vbm.Adapter3D"
49
49
  ],
50
- version: "1.84.6"
50
+ version: "1.84.9"
51
51
  });
52
52
 
53
53
  jQuery.sap.registerModuleShims({
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  @import "../../../../../sap/ui/core/themes/base/base.less";
6
6
  @import "../../../../../sap/ui/core/themes/base/global.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../sap_belize/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  @import "../base/library.source.less";
6
6
  @import "../../../../../sap/ui/core/themes/sap_bluecrystal/base.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  @import "../base/library.source.less";
6
6
  @import "../../../../../sap/ui/core/themes/sap_hcb/global.less";