@sapui5/sap.ui.vbm 1.136.0 → 1.136.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.vbm",
3
- "version": "1.136.0",
3
+ "version": "1.136.1",
4
4
  "description": "SAPUI5 Library sap.ui.vbm",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -3,7 +3,7 @@
3
3
  <name>sap.ui.vbm</name>
4
4
  <vendor>SAP SE</vendor>
5
5
  <copyright>SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved</copyright>
6
- <version>1.136.0</version>
6
+ <version>1.136.1</version>
7
7
 
8
8
  <documentation>SAP UI library: sap.ui.vbm</documentation>
9
9
 
@@ -12,7 +12,7 @@
12
12
  <libraryName>sap.ui.core</libraryName>
13
13
  </dependency>
14
14
  <dependency>
15
- <libraryName>sap.ui.commons</libraryName>
15
+ <libraryName>sap.m</libraryName>
16
16
  <lazy>true</lazy>
17
17
  </dependency>
18
18
  <dependency>
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @param {string} [sId] id for the new control, generated automatically if no id is given
25
25
  * @param {object} [mSettings] initial settings for the new object
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.136.1
28
28
  * @extends sap.ui.core.Element
29
29
  * @constructor
30
30
  * @public
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @param {string} [sId] id for the new control, generated automatically if no id is given
48
48
  * @param {object} [mSettings] initial settings for the new object
49
49
  * @author SAP SE
50
- * @version 1.136.0
50
+ * @version 1.136.1
51
51
  * @extends sap.ui.core.Element
52
52
  * @constructor
53
53
  * @public
@@ -300,7 +300,7 @@ sap.ui.define([
300
300
  xhr.open("GET", sPathGeoJSON, false); // set 'false' to make it synchronous
301
301
  xhr.send();
302
302
 
303
- if (xhr.status === 200) {
303
+ if (xhr.status === 200 && !!xhr.responseText) {
304
304
  oData = JSON.parse(xhr.responseText);
305
305
  } else {
306
306
  // Handle error
@@ -86,7 +86,13 @@ sap.ui.define([
86
86
  var ariaRoleDescription = sap.ui.core.AccessibleRole.Description;
87
87
 
88
88
  oRm.openStart("div", Id1);
89
- oRm.class(classOuter);
89
+ if (typeof classOuter === "string") {
90
+ var cOuter = classOuter.split(" ");
91
+
92
+ for (var iCOuter = 0; iCOuter < cOuter.length; iCOuter++) {
93
+ oRm.class(cOuter[iCOuter]);
94
+ }
95
+ }
90
96
 
91
97
  if (type == sap.ui.vbm.SemanticType.None && col) {
92
98
  oRm.style("border-color", col)
@@ -95,7 +101,13 @@ sap.ui.define([
95
101
  oRm.openEnd();
96
102
 
97
103
  oRm.openStart("div", Id2);
98
- oRm.class(classInner);
104
+ if (typeof classInner === "string") {
105
+ var cInner = classInner.split(" ");
106
+
107
+ for (var iCInner = 0; iCInner < cInner.length; iCInner++) {
108
+ oRm.class(cInner[iCInner]);
109
+ }
110
+ }
99
111
  if (type == sap.ui.vbm.SemanticType.None && col) {
100
112
  oRm.style("border-color", col)
101
113
  }
@@ -108,7 +120,13 @@ sap.ui.define([
108
120
  if (icon) {
109
121
  var IdIcon = oControl.getId() + "-" + "icon";
110
122
  oRm.openStart("span", IdIcon);
111
- oRm.class(classIcon);
123
+ if (typeof classIcon === "string") {
124
+ var cIcon = classIcon.split(" ");
125
+
126
+ for (var iCIcon = 0; iCIcon < cIcon.length; iCIcon++) {
127
+ oRm.class(cIcon[iCIcon]);
128
+ }
129
+ }
112
130
  if (type == sap.ui.vbm.SemanticType.None && col) {
113
131
  oRm.style("color", col)
114
132
  }
@@ -122,7 +140,13 @@ sap.ui.define([
122
140
  if ((oControl.getText())) {
123
141
  var IdTextbox = oControl.getId() + "-" + "textbox";
124
142
  oRm.openStart("div", IdTextbox);
125
- oRm.class(classTextbox);
143
+ if (typeof classTextbox === "string") {
144
+ var cTextBox = classTextbox.split(" ");
145
+
146
+ for (var iCTBox = 0; iCTBox < cTextBox.length; iCTBox++) {
147
+ oRm.class(cTextBox[iCTBox]);
148
+ }
149
+ }
126
150
  if (type == sap.ui.vbm.SemanticType.None && col) {
127
151
  oRm.style("border-color", col);
128
152
  }
@@ -17,6 +17,7 @@ sap.ui.define([], function() {
17
17
  Click: "Click",
18
18
  Toggle: "Toggle"
19
19
  };
20
+ // As of 2025-05-23, this enum is not used in managed properties and therefore not registered
20
21
 
21
22
  return MapContainerButtonType;
22
23
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @public
25
25
  * @author SAP SE
26
- * @version 1.136.0
26
+ * @version 1.136.1
27
27
  * @extends sap.ui.core.Control
28
28
  * @alias sap.ui.vbm.Viewport
29
29
  */
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @private
24
24
  * @author SAP SE
25
- * @version 1.136.0
25
+ * @version 1.136.1
26
26
  * @alias sap.ui.vbm.adapter3d.ColladaBounds
27
27
  */
28
28
  var ColladaBounds = BaseObject.extend("sap.ui.vbm.adapter3d.ColladaBounds", /** @lends sap.ui.vbm.adapter3d.ColladaBounds.prototype */ {
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  *
84
84
  * @private
85
85
  * @author SAP SE
86
- * @version 1.136.0
86
+ * @version 1.136.1
87
87
  * @alias sap.ui.vbm.adapter3d.DragDropHandler
88
88
  */
89
89
  var DragDropHandler = BaseObject.extend("sap.ui.vbm.adapter3d.DragDropHandler", /** @lends sap.ui.vbm.adapter3d.DragDropHandler.prototype */ {
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  *
30
30
  * @private
31
31
  * @author SAP SE
32
- * @version 1.136.0
32
+ * @version 1.136.1
33
33
  * @alias sap.ui.vbm.adapter3d.ModelHandler
34
34
  */
35
35
  var ModelHandler = BaseObject.extend("sap.ui.vbm.adapter3d.ModelHandler", /** @lends sap.ui.vbm.adapter3d.ModelHandler.prototype */ {
@@ -377,7 +377,7 @@ sap.ui.define([
377
377
  *
378
378
  * @private
379
379
  * @author SAP SE
380
- * @version 1.136.0
380
+ * @version 1.136.1
381
381
  * @alias sap.ui.vbm.adapter3d.ObjectFactory
382
382
  */
383
383
  var ObjectFactory = BaseObject.extend("sap.ui.vbm.adapter3d.ObjectFactory", /** @lends sap.ui.vbm.adapter3d.ObjectFactory.prototype */ {});
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  *
33
33
  * @private
34
34
  * @author SAP SE
35
- * @version 1.136.0
35
+ * @version 1.136.1
36
36
  * @alias sap.ui.vbm.adapter3d.PolygonHandler
37
37
  */
38
38
  var PolygonHandler = BaseObject.extend("sap.ui.vbm.adapter3d.PolygonHandler", /** @lends sap.ui.vbm.adapter3d.PolygonHandler.prototype */ {
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  *
40
40
  * @private
41
41
  * @author SAP SE
42
- * @version 1.136.0
42
+ * @version 1.136.1
43
43
  * @alias sap.ui.vbm.adapter3d.RectangleTracker
44
44
  */
45
45
  var RectangleTracker = BaseObject.extend("sap.ui.vbm.adapter3d.RectangleTracker", /** @lends sap.ui.vbm.adapter3d.RectangleTracker.prototype */ {
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  *
48
48
  * @private
49
49
  * @author SAP SE
50
- * @version 1.136.0
50
+ * @version 1.136.1
51
51
  * @alias sap.ui.vbm.adapter3d.SceneBuilder
52
52
  */
53
53
  var SceneBuilder = BaseObject.extend("sap.ui.vbm.adapter3d.SceneBuilder", /** @lends sap.ui.vbm.adapter3d.SceneBuilder.prototype */ {
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  *
57
57
  * @private
58
58
  * @author SAP SE
59
- * @version 1.136.0
59
+ * @version 1.136.1
60
60
  * @alias sap.ui.vbm.adapter3d.VBIJSONParser
61
61
  */
62
62
  var VBIJSONParser = BaseObject.extend("sap.ui.vbm.adapter3d.VBIJSONParser", /** @lends sap.ui.vbm.adapter3d.VBIJSONParser.prototype */ {
@@ -6,12 +6,12 @@
6
6
  * Initialization Code and shared classes of library sap.ui.vbm.
7
7
  */
8
8
  sap.ui.define([
9
- "sap/ui/core/Core",
9
+ "sap/ui/base/DataType",
10
+ "sap/ui/core/Lib",
10
11
  "sap/m/library",
11
12
  "sap/ui/core/library",
12
- "sap/ui/unified/library",
13
- "sap/ui/core/Lib"
14
- ], function(Core,mlibrary,clibrary,ulibrary,Lib) {
13
+ "sap/ui/unified/library"
14
+ ], function(DataType,Lib,_mlibrary,_clibrary,_ulibrary) {
15
15
  "use strict";
16
16
 
17
17
  /**
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @namespace
21
21
  * @alias sap.ui.vbm
22
22
  * @author SAP SE
23
- * @version 1.136.0
23
+ * @version 1.136.1
24
24
  * @public
25
25
  */
26
26
 
@@ -29,8 +29,9 @@ sap.ui.define([
29
29
 
30
30
  var vbmLibrary = Lib.init({
31
31
  name: "sap.ui.vbm",
32
+ apiVersion: 2,
32
33
  types: [
33
- "sap.ui.vbm.ClusterInfoType", "sap.ui.vbm.SemanticType"
34
+ "sap.ui.vbm.ClusterInfoType", "sap.ui.vbm.SemanticType", "sap.ui.vbm.RouteType"
34
35
  ],
35
36
  controls: [
36
37
  "sap.ui.vbm.AnalyticMap", "sap.ui.vbm.GeoMap", "sap.ui.vbm.VBI", "sap.ui.vbm.Cluster", "sap.ui.vbm.Viewport","sap.ui.vbm.ContainerLegendItem",
@@ -45,7 +46,7 @@ sap.ui.define([
45
46
  "sap.ui.vbm.ClusterBase", "sap.ui.vbm.ClusterTree", "sap.ui.vbm.ClusterGrid", "sap.ui.vbm.ClusterDistance", "sap.ui.vbm.Heatmap",
46
47
  "sap.ui.vbm.HeatPoint", "sap.ui.vbm.ClusterContainer", "sap.ui.vbm.Adapter", "sap.ui.vbm.Adapter3D"
47
48
  ],
48
- version: "1.136.0"
49
+ version: "1.136.1"
49
50
  });
50
51
 
51
52
  sap.ui.loader.config({
@@ -132,6 +133,7 @@ sap.ui.define([
132
133
  Hidden: "Hidden"
133
134
 
134
135
  };
136
+ DataType.registerEnum("sap.ui.vbm.SemanticType", vbmLibrary.SemanticType);
135
137
 
136
138
  /**
137
139
  * Cluster Info Type
@@ -179,6 +181,7 @@ sap.ui.define([
179
181
  Edges: 11
180
182
 
181
183
  };
184
+ // As of 2025-05-23, this enum is not used in managed properties and therefore not registered
182
185
 
183
186
  /**
184
187
  * Route type, determining how line between start and endpoint should be drawn.
@@ -204,6 +207,7 @@ sap.ui.define([
204
207
  Geodesic: "Geodesic"
205
208
 
206
209
  };
210
+ DataType.registerEnum("sap.ui.vbm.RouteType", vbmLibrary.RouteType);
207
211
 
208
212
  vbmLibrary.getResourceBundle = function() {
209
213
  var oResourceBundle = Lib.getResourceBundleFor("sap.ui.vbm")
@@ -12,7 +12,7 @@ sap.ui.define([
12
12
  *
13
13
  * @private
14
14
  * @author SAP SE
15
- * @version 1.136.0
15
+ * @version 1.136.1
16
16
  * @alias sap.ui.vbm.vector.PayloadGenerator
17
17
  */
18
18
  var adapter = {};
@@ -12,7 +12,7 @@ sap.ui.define([
12
12
  *
13
13
  * @private
14
14
  * @author SAP SE
15
- * @version 1.136.0
15
+ * @version 1.136.1
16
16
  * @alias sap.ui.vbm.vector.RectangularSelection
17
17
  */
18
18
 
package/ui5.yaml CHANGED
@@ -6,7 +6,7 @@ framework:
6
6
  name: SAPUI5
7
7
  libraries:
8
8
  - name: sap.ui.core
9
- - name: sap.ui.commons
9
+ - name: sap.m
10
10
  - name: sap.ui.unified
11
11
  - name: themelib_sap_horizon
12
12
  optional: true