@sapui5/sap.ui.vbm 1.93.1 → 1.96.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 +17 -13
- package/src/sap/ui/vbm/Adapter3D.js +1 -1
- package/src/sap/ui/vbm/Areas.js +7 -8
- package/src/sap/ui/vbm/Cluster.js +4 -3
- package/src/sap/ui/vbm/ClusterBase.js +4 -7
- package/src/sap/ui/vbm/ClusterRenderer.js +0 -1
- package/src/sap/ui/vbm/Containers.js +3 -5
- package/src/sap/ui/vbm/GeoJsonLayer.js +9 -10
- package/src/sap/ui/vbm/GeoMap.js +3 -2
- package/src/sap/ui/vbm/VBI.js +40 -8
- package/src/sap/ui/vbm/Viewport.js +6 -5
- package/src/sap/ui/vbm/VoAggregation.js +3 -5
- 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 +270 -182
- package/src/sap/ui/vbm/adapter3d/VBIJSONParser.js +1 -1
- package/src/sap/ui/vbm/adapter3d/thirdparty/ColladaLoader.js +2267 -2509
- package/src/sap/ui/vbm/adapter3d/thirdparty/DecalGeometry.js +194 -266
- package/src/sap/ui/vbm/adapter3d/thirdparty/OrbitControls.js +1004 -700
- package/src/sap/ui/vbm/lib/sapactions.js +12 -9
- package/src/sap/ui/vbm/lib/sapautomations.js +12 -13
- package/src/sap/ui/vbm/lib/sapconfig.js +11 -3
- package/src/sap/ui/vbm/lib/sapdataprovider.js +11 -21
- package/src/sap/ui/vbm/lib/sapevents.js +11 -11
- package/src/sap/ui/vbm/lib/sapgeolocation.js +10 -3
- package/src/sap/ui/vbm/lib/sapgeomath.js +11 -4
- package/src/sap/ui/vbm/lib/sapgeotool.js +12 -3
- package/src/sap/ui/vbm/lib/sapheatmap.js +28 -25
- package/src/sap/ui/vbm/lib/saplabels.js +17 -11
- package/src/sap/ui/vbm/lib/saplassotrack.js +11 -5
- package/src/sap/ui/vbm/lib/sapmaplayer.js +13 -10
- package/src/sap/ui/vbm/lib/sapmapmanager.js +14 -4
- package/src/sap/ui/vbm/lib/sapmapprovider.js +11 -5
- package/src/sap/ui/vbm/lib/sapnavigation.js +11 -3
- package/src/sap/ui/vbm/lib/sapparsing.js +11 -1
- package/src/sap/ui/vbm/lib/sappositioning.js +12 -5
- package/src/sap/ui/vbm/lib/sapprojection.js +12 -5
- package/src/sap/ui/vbm/lib/saprecttrack.js +11 -5
- package/src/sap/ui/vbm/lib/sapresources.js +12 -6
- package/src/sap/ui/vbm/lib/sapscale.js +15 -5
- package/src/sap/ui/vbm/lib/sapscene.js +15 -13
- package/src/sap/ui/vbm/lib/saputilities.js +19 -91
- package/src/sap/ui/vbm/lib/sapvbcluster.js +14 -6
- package/src/sap/ui/vbm/lib/sapvbi.js +11 -42
- package/src/sap/ui/vbm/lib/sapvbicontext.js +11 -5
- package/src/sap/ui/vbm/lib/sapvbmenu.js +19 -13
- package/src/sap/ui/vbm/lib/sapvobase.js +17 -16
- package/src/sap/ui/vbm/lib/sapvoutils.js +14 -24
- package/src/sap/ui/vbm/lib/sapwindow.js +12 -12
- package/src/sap/ui/vbm/library.js +28 -31
- package/src/sap/ui/vbm/adapter3d/thirdparty/html2canvas.js +0 -6
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ! SAPUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE. All rights reserved.
|
|
4
|
+
*/
|
|
3
5
|
|
|
6
|
+
// VBI namespace
|
|
4
7
|
// Author: Ulrich Roegelein
|
|
5
8
|
|
|
9
|
+
sap.ui.define(function() {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
6
12
|
/* global VBI */// declare unusual global vars for JSLint/SAPUI5 validation
|
|
7
13
|
(function() {
|
|
8
|
-
"use strict";
|
|
9
14
|
// .......................................................................//
|
|
10
15
|
// check if there is already a VBI object................................//
|
|
11
16
|
// .......................................................................//
|
|
@@ -101,7 +106,7 @@
|
|
|
101
106
|
if (trace == null) {
|
|
102
107
|
return;
|
|
103
108
|
}
|
|
104
|
-
VBI.m_Log = VBI.m_Log + text + "<br>";
|
|
109
|
+
VBI.m_Log = VBI.m_Log + jQuery.sap.encodeHTML(text) + "<br>";
|
|
105
110
|
trace.innerHTML = VBI.m_Log;
|
|
106
111
|
},
|
|
107
112
|
|
|
@@ -153,48 +158,10 @@
|
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
};
|
|
156
|
-
|
|
157
|
-
// .......................................................................//
|
|
158
|
-
// this is the list of java script files needed for VBI..................//
|
|
159
|
-
// use sap require to load additional scripts.............................//
|
|
160
|
-
jQuery.sap.require("sap.ui.vbm.lib.saputilities"); // utility functions
|
|
161
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapvbicontext"); // control context
|
|
162
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapdataprovider"); // data provider
|
|
163
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapresources"); // resources
|
|
164
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapgeomath"); // geo math functions
|
|
165
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapmaplayer");
|
|
166
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapmapprovider");
|
|
167
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapmapmanager"); // map support
|
|
168
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapvoutils");
|
|
169
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapvobase"); // visual objects base and vo implementation
|
|
170
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapevents"); // event subscription
|
|
171
|
-
jQuery.sap.require("sap.ui.vbm.lib.saplabels"); // labels
|
|
172
|
-
jQuery.sap.require("sap.ui.vbm.lib.sappositioning"); // GetPosFrom... and co
|
|
173
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapscene"); // scene handling, scenes
|
|
174
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapwindow"); // window handling, detail and so on
|
|
175
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapactions"); // actions handling, framework event subscription
|
|
176
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapautomations");
|
|
177
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapgeolocation");
|
|
178
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapgeotool"); // geo tools for VBI namespace
|
|
179
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapscale");
|
|
180
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapnavigation");
|
|
181
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapvbmenu"); // context menu
|
|
182
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapprojection"); // map projection (mercator, linear)
|
|
183
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapvbcluster"); // VO clustering
|
|
184
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapparsing"); // expression evaluation
|
|
185
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapconfig");
|
|
186
|
-
jQuery.sap.require("sap.ui.vbm.lib.saplassotrack");
|
|
187
|
-
jQuery.sap.require("sap.ui.vbm.lib.saprecttrack");
|
|
188
|
-
|
|
189
|
-
jQuery.sap.require("sap.ui.core.IconPool");
|
|
190
|
-
jQuery.sap.require("sap.ui.core.theming.Parameters");
|
|
191
|
-
window.VBI.Utilities.GetTransparentImage();
|
|
192
|
-
|
|
193
161
|
})();
|
|
194
162
|
|
|
195
163
|
// based on sources from: https://github.com/MihaiValentin/setDragImage-IE polyfill
|
|
196
164
|
(function() {
|
|
197
|
-
"use strict";
|
|
198
165
|
if (!window.DataTransfer) { // return if drag not supported
|
|
199
166
|
return;
|
|
200
167
|
}
|
|
@@ -239,3 +206,5 @@
|
|
|
239
206
|
};
|
|
240
207
|
}
|
|
241
208
|
})();
|
|
209
|
+
|
|
210
|
+
});
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ! SAPUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE. All rights reserved.
|
|
4
|
+
*/
|
|
3
5
|
|
|
6
|
+
// this module does the vbicontext handling
|
|
4
7
|
// Author: Ulrich Roegelein
|
|
8
|
+
// the scene manager manages the scene instances in a component context
|
|
5
9
|
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
sap.ui.define(["./sapvbi"]
|
|
11
|
+
, function() {
|
|
12
|
+
"use strict";
|
|
8
13
|
|
|
9
14
|
VBI.VBIContext = function(control) {
|
|
10
|
-
"use strict";
|
|
11
15
|
/* global VBI */// declare unusual global vars for ESLint/SAPUI5 validation
|
|
12
16
|
var vbcx = {};
|
|
13
17
|
vbcx.vbiclass = "VBIContext";
|
|
@@ -407,3 +411,5 @@ VBI.VBIContext = function(control) {
|
|
|
407
411
|
|
|
408
412
|
return vbcx;
|
|
409
413
|
};
|
|
414
|
+
|
|
415
|
+
});
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ! SAPUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE. All rights reserved.
|
|
4
|
+
*/
|
|
3
5
|
|
|
6
|
+
// Menus namespace
|
|
4
7
|
// Author: Juergen Gatter
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
// helper functions
|
|
9
|
+
// menus provider
|
|
10
|
+
|
|
11
|
+
sap.ui.define([
|
|
12
|
+
"sap/ui/unified/Menu",
|
|
13
|
+
"sap/ui/unified/MenuItem",
|
|
14
|
+
"./sapvbi"
|
|
15
|
+
], function(Menu, MenuItem) {
|
|
16
|
+
"use strict";
|
|
12
17
|
|
|
13
18
|
VBI.Menus = function() {
|
|
14
|
-
"use strict";
|
|
15
19
|
/* global VBI */// declare unusual global vars for ESLint/SAPUI5 validation
|
|
16
20
|
var menus = {};
|
|
17
21
|
menus.m_menus = []; // array of menus
|
|
@@ -26,7 +30,7 @@ VBI.Menus = function() {
|
|
|
26
30
|
};
|
|
27
31
|
|
|
28
32
|
menus.loadMainMenu = function(dat, ctx) {
|
|
29
|
-
var oMenuObject = new
|
|
33
|
+
var oMenuObject = new Menu();
|
|
30
34
|
menus.loadMenu(oMenuObject, dat, ctx, oMenuObject.getId());
|
|
31
35
|
oMenuObject.vbi_data = {};
|
|
32
36
|
oMenuObject.vbi_data.menuRef = dat.id;
|
|
@@ -54,7 +58,7 @@ VBI.Menus = function() {
|
|
|
54
58
|
var subid;
|
|
55
59
|
subid = id + "_" + ii;
|
|
56
60
|
var sText = subdat.Separator == undefined ? subdat.text : "---------------------------";
|
|
57
|
-
var oMenuItem = new
|
|
61
|
+
var oMenuItem = new MenuItem("vbimi_" + subid, {
|
|
58
62
|
text: sText
|
|
59
63
|
});
|
|
60
64
|
oMenuItem.vbi_data = {};
|
|
@@ -69,7 +73,7 @@ VBI.Menus = function() {
|
|
|
69
73
|
VBI.Trace("Adding Menuitem: menuitem_" + subid + " with text " + sText);
|
|
70
74
|
}
|
|
71
75
|
if (subdat.MenuItem != undefined) {
|
|
72
|
-
var oSubMenu = new
|
|
76
|
+
var oSubMenu = new Menu("vbim_" + subid);
|
|
73
77
|
oMenuItem.setSubmenu(oSubMenu);
|
|
74
78
|
menus.loadMenu(oSubMenu, subdat, ctx, subid);
|
|
75
79
|
} else if (subdat.id != "") {
|
|
@@ -171,3 +175,5 @@ VBI.Menus = function() {
|
|
|
171
175
|
|
|
172
176
|
return menus;
|
|
173
177
|
};
|
|
178
|
+
|
|
179
|
+
});
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ! SAPUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE. All rights reserved.
|
|
4
|
+
*/
|
|
3
5
|
|
|
6
|
+
// VisualObjects namespace
|
|
4
7
|
// Author: Ulrich Roegelein
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
// visual objects
|
|
8
|
-
// they support full databinding to the visual business datacontext..........//
|
|
9
|
-
// ...........................................................................//
|
|
10
|
-
|
|
11
|
-
// ...........................................................................//
|
|
12
|
-
// visual objects............................................................//
|
|
8
|
+
// visual objects are the items that can be placed in a scene
|
|
9
|
+
// they support full databinding to the visual business datacontext
|
|
10
|
+
// visual objects
|
|
13
11
|
// for Utilities, NodeProperties, AttributeProperties and DNDInfo so voutils.//
|
|
14
12
|
|
|
13
|
+
sap.ui.define([
|
|
14
|
+
"sap/ui/core/IconPool",
|
|
15
|
+
"./sapvbi"
|
|
16
|
+
], function(IconPool) {
|
|
17
|
+
"use strict";
|
|
18
|
+
|
|
15
19
|
/* global VBI */// declare unusual global vars for ESLint/SAPUI5 validation
|
|
16
20
|
VBI.VisualObjects = function() {
|
|
17
|
-
"use strict";
|
|
18
21
|
// namespace constants....................................................//
|
|
19
22
|
VBI.EMHandle = 0; // handle edit mode
|
|
20
23
|
VBI.EMBox = 1; // box edit mode
|
|
@@ -2180,8 +2183,6 @@ VBI.VisualObjects = function() {
|
|
|
2180
2183
|
this.MatchIcon = function(iiconVal) {
|
|
2181
2184
|
var iicon = {};
|
|
2182
2185
|
if (iiconVal) {
|
|
2183
|
-
jQuery.sap.require("sap.ui.core.IconPool");
|
|
2184
|
-
sap.ui.core.IconPool.insertFontFaceStyle();
|
|
2185
2186
|
switch (iiconVal) {
|
|
2186
2187
|
case "A8":
|
|
2187
2188
|
iicon.i = "\ue078";
|
|
@@ -2220,7 +2221,7 @@ VBI.VisualObjects = function() {
|
|
|
2220
2221
|
if (iiconVal.charCodeAt(0) > 255) {
|
|
2221
2222
|
iicon.i = iiconVal;
|
|
2222
2223
|
} else {
|
|
2223
|
-
var icInfo =
|
|
2224
|
+
var icInfo = IconPool.getIconInfo(iiconVal);
|
|
2224
2225
|
if (icInfo) {
|
|
2225
2226
|
iicon.i = icInfo.content;
|
|
2226
2227
|
iicon.f = icInfo.fontFamily;
|
|
@@ -5452,8 +5453,6 @@ VBI.VisualObjects = function() {
|
|
|
5452
5453
|
|
|
5453
5454
|
VBI.VisualObjects.HeatMap = function() {
|
|
5454
5455
|
this.load = function(dat, ctx) {
|
|
5455
|
-
jQuery.sap.require("sap.ui.vbm.lib.sapheatmap");
|
|
5456
|
-
|
|
5457
5456
|
// call prototype...................................................//
|
|
5458
5457
|
Object.getPrototypeOf(this).load.call(this, dat, ctx);
|
|
5459
5458
|
|
|
@@ -6568,3 +6567,5 @@ VBI.VisualObjects = function() {
|
|
|
6568
6567
|
// return the visual object...............................................//
|
|
6569
6568
|
return visualobjects;
|
|
6570
6569
|
};
|
|
6570
|
+
|
|
6571
|
+
});
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ! SAPUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE. All rights reserved.
|
|
4
|
+
*/
|
|
3
5
|
|
|
6
|
+
// VisualObjects namespace
|
|
4
7
|
// Author: Ulrich Roegelein
|
|
8
|
+
// visual objects are the items that can be placed in a scene
|
|
9
|
+
// they support full databinding to the visual business datacontext
|
|
10
|
+
// bindable functions for VOS
|
|
5
11
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// ...........................................................................//
|
|
10
|
-
|
|
11
|
-
// jQuery.sap.declare("VBI.VisualObjects.Object");
|
|
12
|
-
|
|
13
|
-
// ...........................................................................//
|
|
14
|
-
// bindable functions for VOS................................................//
|
|
12
|
+
sap.ui.define(["./sapvbi"]
|
|
13
|
+
, function() {
|
|
14
|
+
"use strict";
|
|
15
15
|
|
|
16
16
|
/* global VBI */// declare unusual global vars for ESLint/SAPUI5 validation
|
|
17
17
|
VBI.Utilities.SceneBindDesignSpotBoxSize = function(ocb) {
|
|
18
|
-
"use strict";
|
|
19
18
|
var scene = this.m_Scene;
|
|
20
19
|
|
|
21
20
|
// only when the scale is changeable......................................//
|
|
@@ -71,7 +70,6 @@ VBI.Utilities.SceneBindDesignSpotBoxSize = function(ocb) {
|
|
|
71
70
|
};
|
|
72
71
|
|
|
73
72
|
VBI.Utilities.SceneBindDesignBoxBoxSize = function(keepratio, ocb) {
|
|
74
|
-
"use strict";
|
|
75
73
|
var scene = this.m_Scene;
|
|
76
74
|
|
|
77
75
|
// only when the scale is changeable................................//
|
|
@@ -129,7 +127,6 @@ VBI.Utilities.SceneBindDesignBoxBoxSize = function(keepratio, ocb) {
|
|
|
129
127
|
};
|
|
130
128
|
|
|
131
129
|
VBI.Utilities.SceneBindMeterRadiusDesignBoxSize = function(ocb) {
|
|
132
|
-
"use strict";
|
|
133
130
|
// determine a meter dimensioned radius...................................//
|
|
134
131
|
var scene = this.m_Scene;
|
|
135
132
|
if (ocb.m_Design) {
|
|
@@ -166,7 +163,6 @@ VBI.Utilities.SceneBindMeterRadiusDesignBoxSize = function(ocb) {
|
|
|
166
163
|
};
|
|
167
164
|
|
|
168
165
|
VBI.Utilities.SceneBindRadiusDesignBoxSize = function(ocb) {
|
|
169
|
-
"use strict";
|
|
170
166
|
// determines a pixel size radius.........................................//
|
|
171
167
|
var scene = this.m_Scene;
|
|
172
168
|
if (ocb.m_Design) {
|
|
@@ -198,7 +194,6 @@ VBI.Utilities.SceneBindRadiusDesignBoxSize = function(ocb) {
|
|
|
198
194
|
};
|
|
199
195
|
|
|
200
196
|
VBI.Utilities.SceneBindPosArrayDesignBoxSize = function(ocb) {
|
|
201
|
-
"use strict";
|
|
202
197
|
var scene = this.m_Scene;
|
|
203
198
|
if (ocb.m_Design) {
|
|
204
199
|
// determine the new point information.................................//
|
|
@@ -289,7 +284,6 @@ VBI.Utilities.SceneBindPosArrayDesignBoxSize = function(ocb) {
|
|
|
289
284
|
};
|
|
290
285
|
|
|
291
286
|
VBI.Utilities.BackupFont = function(dc) {
|
|
292
|
-
"use strict";
|
|
293
287
|
dc.m_BackupFont = [];
|
|
294
288
|
|
|
295
289
|
dc.m_BackupFont.m_font = dc.m_font = dc.font;
|
|
@@ -300,7 +294,6 @@ VBI.Utilities.BackupFont = function(dc) {
|
|
|
300
294
|
};
|
|
301
295
|
|
|
302
296
|
VBI.Utilities.RestoreFont = function(dc) {
|
|
303
|
-
"use strict";
|
|
304
297
|
dc.m_font = dc.font = dc.m_BackupFont.m_font;
|
|
305
298
|
dc.fillStyle = dc.m_BackupFont.m_fillStyle;
|
|
306
299
|
dc.strokeStyle = dc.m_BackupFont.m_strokeStyle;
|
|
@@ -309,7 +302,6 @@ VBI.Utilities.RestoreFont = function(dc) {
|
|
|
309
302
|
};
|
|
310
303
|
|
|
311
304
|
VBI.Utilities.SetTextAttributes = function(dc, newFont, newFillStyle, newStrokeStyle, newAlign, newTextBaseline) {
|
|
312
|
-
"use strict";
|
|
313
305
|
if ((newFont != undefined) && (dc.m_font != newFont)) {
|
|
314
306
|
dc.m_font = dc.font = newFont;
|
|
315
307
|
}
|
|
@@ -327,14 +319,12 @@ VBI.Utilities.SetTextAttributes = function(dc, newFont, newFillStyle, newStrokeS
|
|
|
327
319
|
};
|
|
328
320
|
|
|
329
321
|
VBI.Utilities.SetFont = function(dc, newFont) {
|
|
330
|
-
"use strict";
|
|
331
322
|
if ((newFont != undefined) && (dc.m_font != newFont)) {
|
|
332
323
|
dc.m_font = dc.font = newFont;
|
|
333
324
|
}
|
|
334
325
|
};
|
|
335
326
|
|
|
336
327
|
VBI.DnDInfo = function() {
|
|
337
|
-
"use strict";
|
|
338
328
|
var dndInfo = {}; // create the object
|
|
339
329
|
dndInfo.m_datasource = null;
|
|
340
330
|
dndInfo.m_boundtype = null;
|
|
@@ -410,7 +400,6 @@ VBI.DnDInfo = function() {
|
|
|
410
400
|
// vo properties.............................................................//
|
|
411
401
|
|
|
412
402
|
VBI.NodeProperty = function(dat, name, pnp, ctx) {
|
|
413
|
-
"use strict";
|
|
414
403
|
// a datanode can be bound or not.........................................//
|
|
415
404
|
// in both cases a data node is referenced................................//
|
|
416
405
|
var path = null;
|
|
@@ -446,7 +435,7 @@ VBI.NodeProperty = function(dat, name, pnp, ctx) {
|
|
|
446
435
|
namespaces.splice(-1, 1);
|
|
447
436
|
namespaces.push(entries[0]);
|
|
448
437
|
entries[0] = namespaces.join("::");
|
|
449
|
-
|
|
438
|
+
|
|
450
439
|
// store the data source path...//
|
|
451
440
|
this.m_NPath = entries;
|
|
452
441
|
// store the original data path.//
|
|
@@ -592,7 +581,6 @@ VBI.NodeProperty = function(dat, name, pnp, ctx) {
|
|
|
592
581
|
// bindable attribute object.................................................//
|
|
593
582
|
|
|
594
583
|
VBI.AttributeProperty = function(dat, name, pnp, ctx, def) {
|
|
595
|
-
"use strict";
|
|
596
584
|
var val;
|
|
597
585
|
|
|
598
586
|
// store a default value..................................................//
|
|
@@ -928,3 +916,5 @@ VBI.AttributeProperty = function(dat, name, pnp, ctx, def) {
|
|
|
928
916
|
|
|
929
917
|
return this;
|
|
930
918
|
};
|
|
919
|
+
|
|
920
|
+
});
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ! SAPUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE. All rights reserved.
|
|
4
|
+
*/
|
|
3
5
|
|
|
6
|
+
// this module does the window handling
|
|
4
7
|
// Author: Ulrich Roegelein
|
|
8
|
+
// the scene manager manages the scene instances in a component context
|
|
5
9
|
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
sap.ui.define(["./sapvbi"]
|
|
11
|
+
, function() {
|
|
12
|
+
"use strict";
|
|
8
13
|
|
|
9
14
|
VBI.Windows = function() {
|
|
10
|
-
"use strict";
|
|
11
15
|
/* global VBI */// declare unusual global vars for ESLint/SAPUI5 validation
|
|
12
16
|
var windows = {};
|
|
13
17
|
windows.vbiclass = "Windows";
|
|
@@ -242,8 +246,6 @@ VBI.Windows = function() {
|
|
|
242
246
|
// Window object.............................................................//
|
|
243
247
|
|
|
244
248
|
VBI.Window = function() {
|
|
245
|
-
"use strict";
|
|
246
|
-
|
|
247
249
|
this.vbiclass = "Window";
|
|
248
250
|
this.m_ID = ""; // id of window
|
|
249
251
|
this.m_Caption = ""; // caption of window
|
|
@@ -417,8 +419,6 @@ VBI.Window = function() {
|
|
|
417
419
|
// callout window............................................................//
|
|
418
420
|
|
|
419
421
|
VBI.CalloutWindow = function() {
|
|
420
|
-
"use strict";
|
|
421
|
-
|
|
422
422
|
var callout = new VBI.Window();
|
|
423
423
|
|
|
424
424
|
// the callout object.....................................................//
|
|
@@ -705,8 +705,6 @@ VBI.CalloutWindow = function() {
|
|
|
705
705
|
// legend window ............................................................//
|
|
706
706
|
|
|
707
707
|
VBI.LegendWindow = function() {
|
|
708
|
-
"use strict";
|
|
709
|
-
|
|
710
708
|
var legend = new VBI.Window();
|
|
711
709
|
|
|
712
710
|
// the legend object.....................................................//
|
|
@@ -938,7 +936,7 @@ VBI.LegendWindow = function() {
|
|
|
938
936
|
row.id = legend.getId(nJ, 'content-tablerow');
|
|
939
937
|
row.setAttribute("role", sap.ui.core.AccessibleRole.Row);
|
|
940
938
|
row.setAttribute("tabindex", "-1");
|
|
941
|
-
|
|
939
|
+
|
|
942
940
|
var cell_0 = row.insertCell(0);
|
|
943
941
|
cell_0.setAttribute("role", sap.ui.core.AccessibleRole.GridCell);
|
|
944
942
|
cell_0.setAttribute("tabindex", "-1");
|
|
@@ -1213,3 +1211,5 @@ VBI.LegendWindow = function() {
|
|
|
1213
1211
|
|
|
1214
1212
|
return legend;
|
|
1215
1213
|
};
|
|
1214
|
+
|
|
1215
|
+
});
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ui/core/Core",
|
|
11
|
-
"sap/
|
|
12
|
-
|
|
11
|
+
"sap/m/library",
|
|
12
|
+
"sap/ui/core/library",
|
|
13
|
+
"sap/ui/unified/library"
|
|
14
|
+
], function() {
|
|
13
15
|
"use strict";
|
|
14
16
|
|
|
15
17
|
/**
|
|
@@ -18,7 +20,7 @@ sap.ui.define([
|
|
|
18
20
|
* @namespace
|
|
19
21
|
* @name sap.ui.vbm
|
|
20
22
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
23
|
+
* @version 1.96.1
|
|
22
24
|
* @public
|
|
23
25
|
*/
|
|
24
26
|
|
|
@@ -26,16 +28,9 @@ sap.ui.define([
|
|
|
26
28
|
// delegate further initialization of this library to the Core
|
|
27
29
|
sap.ui.getCore().initLibrary({
|
|
28
30
|
name: "sap.ui.vbm",
|
|
29
|
-
dependencies: [
|
|
30
|
-
"sap.ui.core"
|
|
31
|
-
// Also use of sap.ui.commons.RichTooltip and sap.ui.unified.Menu,
|
|
32
|
-
// but usage depends on application.
|
|
33
|
-
// Thus we load those dependencies only on demand with jQuery.sap.require!
|
|
34
|
-
],
|
|
35
31
|
types: [
|
|
36
32
|
"sap.ui.vbm.ClusterInfoType", "sap.ui.vbm.SemanticType"
|
|
37
33
|
],
|
|
38
|
-
interfaces: [],
|
|
39
34
|
controls: [
|
|
40
35
|
"sap.ui.vbm.AnalyticMap", "sap.ui.vbm.GeoMap", "sap.ui.vbm.VBI", "sap.ui.vbm.Cluster", "sap.ui.vbm.Viewport"
|
|
41
36
|
],
|
|
@@ -48,29 +43,31 @@ sap.ui.define([
|
|
|
48
43
|
"sap.ui.vbm.ClusterBase", "sap.ui.vbm.ClusterTree", "sap.ui.vbm.ClusterGrid", "sap.ui.vbm.ClusterDistance", "sap.ui.vbm.Heatmap",
|
|
49
44
|
"sap.ui.vbm.HeatPoint", "sap.ui.vbm.ClusterContainer", "sap.ui.vbm.Adapter", "sap.ui.vbm.Adapter3D"
|
|
50
45
|
],
|
|
51
|
-
version: "1.
|
|
46
|
+
version: "1.96.1"
|
|
52
47
|
});
|
|
53
48
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
49
|
+
sap.ui.loader.config({
|
|
50
|
+
shim: {
|
|
51
|
+
"sap/ui/vbm/adapter3d/thirdparty/three": {
|
|
52
|
+
exports: "THREE",
|
|
53
|
+
amd: true
|
|
54
|
+
},
|
|
55
|
+
"sap/ui/vbm/adapter3d/thirdparty/ColladaLoader": {
|
|
56
|
+
exports: "THREE.ColladaLoader",
|
|
57
|
+
deps: ["sap/ui/vbm/adapter3d/thirdparty/three"]
|
|
58
|
+
},
|
|
59
|
+
"sap/ui/vbm/adapter3d/thirdparty/OrbitControls": {
|
|
60
|
+
exports: "THREE.OrbitControls",
|
|
61
|
+
deps: ["sap/ui/vbm/adapter3d/thirdparty/three"]
|
|
62
|
+
},
|
|
63
|
+
"sap/ui/vbm/adapter3d/thirdparty/DecalGeometry": {
|
|
64
|
+
exports: "DecalGeometry",
|
|
65
|
+
deps: ["sap/ui/vbm/adapter3d/thirdparty/three"]
|
|
66
|
+
},
|
|
67
|
+
"sap/ui/vbm/adapter3d/thirdparty/html2canvas": {
|
|
68
|
+
exports: "html2canvas",
|
|
69
|
+
amd: true
|
|
70
|
+
}
|
|
74
71
|
}
|
|
75
72
|
});
|
|
76
73
|
|