@sapui5/sap.ui.vbm 1.100.0 → 1.102.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 +1 -1
- package/src/sap/ui/vbm/.library +1 -1
- package/src/sap/ui/vbm/Adapter.js +1 -1
- package/src/sap/ui/vbm/Adapter3D.js +1 -1
- package/src/sap/ui/vbm/Viewport.js +1 -1
- package/src/sap/ui/vbm/adapter3d/ModelHandler.js +1 -1
- package/src/sap/ui/vbm/adapter3d/ObjectFactory.js +1 -1
- package/src/sap/ui/vbm/adapter3d/PolygonHandler.js +1 -1
- package/src/sap/ui/vbm/adapter3d/SceneBuilder.js +3 -1
- package/src/sap/ui/vbm/adapter3d/VBIJSONParser.js +1 -1
- package/src/sap/ui/vbm/library.js +11 -11
- package/src/sap/ui/vbm/themes/sap_horizon_dark/library.source.less +7 -0
- package/src/sap/ui/vbm/themes/sap_horizon_hcb/library.source.less +7 -0
- package/src/sap/ui/vbm/themes/sap_horizon_hcw/library.source.less +7 -0
package/package.json
CHANGED
package/src/sap/ui/vbm/.library
CHANGED
|
@@ -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.
|
|
6
|
+
<version>1.102.1</version>
|
|
7
7
|
|
|
8
8
|
<documentation>SAP UI library: sap.ui.vbm</documentation>
|
|
9
9
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @param {string} [sId] id for the new control, generated automatically if no id is given
|
|
23
23
|
* @param {object} [mSettings] initial settings for the new object
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.102.1
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @param {string} [sId] id for the new control, generated automatically if no id is given
|
|
42
42
|
* @param {object} [mSettings] initial settings for the new object
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.102.1
|
|
45
45
|
* @extends sap.ui.core.Element
|
|
46
46
|
* @constructor
|
|
47
47
|
* @public
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.102.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.
|
|
380
|
+
* @version 1.102.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.
|
|
35
|
+
* @version 1.102.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 */ {
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
*
|
|
47
47
|
* @private
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.102.1
|
|
50
50
|
* @alias sap.ui.vbm.adapter3d.SceneBuilder
|
|
51
51
|
*/
|
|
52
52
|
var SceneBuilder = BaseObject.extend("sap.ui.vbm.adapter3d.SceneBuilder", /** @lends sap.ui.vbm.adapter3d.SceneBuilder.prototype */ {
|
|
@@ -906,6 +906,7 @@ sap.ui.define([
|
|
|
906
906
|
material = material || new THREE.MeshPhongMaterial({
|
|
907
907
|
specular: 0x444444,
|
|
908
908
|
shininess: 0,
|
|
909
|
+
opacity: 0.99,
|
|
909
910
|
transparent: true,
|
|
910
911
|
depthTest: true,
|
|
911
912
|
depthWrite: false,
|
|
@@ -925,6 +926,7 @@ sap.ui.define([
|
|
|
925
926
|
|
|
926
927
|
var geometry = new THREE.DecalGeometry(target, origin, this._decalHelper.rotation, size);
|
|
927
928
|
instance.object3D = new THREE.Mesh(geometry, material);
|
|
929
|
+
instance.object3D.renderOrder = 100;
|
|
928
930
|
instance.object3D.matrixAutoUpdate = false;
|
|
929
931
|
instance.object3D.layers.set(1); // put it to layer #1 to disable hit test
|
|
930
932
|
this._scene.add(instance.object3D);
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
*
|
|
57
57
|
* @private
|
|
58
58
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.102.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 */ {
|
|
@@ -17,15 +17,15 @@ sap.ui.define([
|
|
|
17
17
|
* SAP UI library: sap.ui.vbm
|
|
18
18
|
*
|
|
19
19
|
* @namespace
|
|
20
|
-
* @
|
|
20
|
+
* @alias sap.ui.vbm
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.102.1
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
// library dependencies
|
|
27
27
|
// delegate further initialization of this library to the Core
|
|
28
|
-
sap.ui.getCore().initLibrary({
|
|
28
|
+
var vbmLibrary = sap.ui.getCore().initLibrary({
|
|
29
29
|
name: "sap.ui.vbm",
|
|
30
30
|
types: [
|
|
31
31
|
"sap.ui.vbm.ClusterInfoType", "sap.ui.vbm.SemanticType"
|
|
@@ -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.
|
|
45
|
+
version: "1.102.1"
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
sap.ui.loader.config({
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* @public
|
|
78
78
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
vbmLibrary.SemanticType = {
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* Type indicating no state
|
|
@@ -137,7 +137,7 @@ sap.ui.define([
|
|
|
137
137
|
* @public
|
|
138
138
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
vbmLibrary.ClusterInfoType = {
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* Type indicating that Cluster Info should return only VOs covered by the Cluster object
|
|
@@ -184,7 +184,7 @@ sap.ui.define([
|
|
|
184
184
|
* @public
|
|
185
185
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
vbmLibrary.RouteType = {
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* Type indicating a straight connection
|
|
@@ -202,7 +202,7 @@ sap.ui.define([
|
|
|
202
202
|
|
|
203
203
|
};
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
vbmLibrary.getResourceBundle = function() {
|
|
206
206
|
return sap.ui.getCore().getLibraryResourceBundle("sap.ui.vbm.i18n");
|
|
207
207
|
};
|
|
208
208
|
|
|
@@ -214,7 +214,7 @@ sap.ui.define([
|
|
|
214
214
|
* @returns {object|undefined} The first element of the array that matches the predicate.
|
|
215
215
|
* @private
|
|
216
216
|
*/
|
|
217
|
-
|
|
217
|
+
vbmLibrary.findInArray = function(source, predicate) {
|
|
218
218
|
if (!Array.isArray(source) || typeof predicate !== "function") {
|
|
219
219
|
return undefined;
|
|
220
220
|
}
|
|
@@ -237,7 +237,7 @@ sap.ui.define([
|
|
|
237
237
|
* @returns {int} The index of the first element of the array for which the predicate returns true, -1 if none.
|
|
238
238
|
* @private
|
|
239
239
|
*/
|
|
240
|
-
|
|
240
|
+
vbmLibrary.findIndexInArray = function(source, predicate) {
|
|
241
241
|
if (!Array.isArray(source) || typeof predicate !== "function") {
|
|
242
242
|
return -1;
|
|
243
243
|
}
|
|
@@ -252,6 +252,6 @@ sap.ui.define([
|
|
|
252
252
|
return -1;
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
return
|
|
255
|
+
return vbmLibrary;
|
|
256
256
|
|
|
257
257
|
}, /* bExport= */false);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@import "../base/library.source.less";
|
|
6
|
+
@import "../../../../../sap/ui/core/themes/sap_horizon_dark/base.less";
|
|
7
|
+
@import "../../../../../sap/ui/core/themes/sap_horizon_dark/global.less";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@import "../base/library.source.less";
|
|
6
|
+
@import "../../../../../sap/ui/core/themes/sap_horizon_hcb/base.less";
|
|
7
|
+
@import "../../../../../sap/ui/core/themes/sap_horizon_hcb/global.less";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@import "../base/library.source.less";
|
|
6
|
+
@import "../../../../../sap/ui/core/themes/sap_horizon_hcw/base.less";
|
|
7
|
+
@import "../../../../../sap/ui/core/themes/sap_horizon_hcw/global.less";
|