@sapui5/sap.ui.vbm 1.96.0 → 1.96.4
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 +2 -2
- package/src/sap/ui/vbm/Adapter3D.js +2 -2
- package/src/sap/ui/vbm/AnalyticMap.js +1 -1
- package/src/sap/ui/vbm/AnalyticMapRenderer.js +1 -1
- package/src/sap/ui/vbm/Area.js +1 -1
- package/src/sap/ui/vbm/Areas.js +1 -1
- package/src/sap/ui/vbm/Box.js +1 -1
- package/src/sap/ui/vbm/Boxes.js +1 -1
- package/src/sap/ui/vbm/Circle.js +1 -1
- package/src/sap/ui/vbm/Circles.js +1 -1
- package/src/sap/ui/vbm/Cluster.js +1 -1
- package/src/sap/ui/vbm/ClusterBase.js +1 -1
- package/src/sap/ui/vbm/ClusterContainer.js +1 -1
- package/src/sap/ui/vbm/ClusterDistance.js +1 -1
- package/src/sap/ui/vbm/ClusterGrid.js +1 -1
- package/src/sap/ui/vbm/ClusterRenderer.js +1 -1
- package/src/sap/ui/vbm/ClusterTree.js +1 -1
- package/src/sap/ui/vbm/Container.js +1 -1
- package/src/sap/ui/vbm/Containers.js +1 -1
- package/src/sap/ui/vbm/DragSource.js +1 -1
- package/src/sap/ui/vbm/DropTarget.js +1 -1
- package/src/sap/ui/vbm/Feature.js +1 -1
- package/src/sap/ui/vbm/FeatureCollection.js +1 -1
- package/src/sap/ui/vbm/GeoCircle.js +1 -1
- package/src/sap/ui/vbm/GeoCircles.js +1 -1
- package/src/sap/ui/vbm/GeoJsonLayer.js +1 -1
- package/src/sap/ui/vbm/GeoMap.js +1 -1
- package/src/sap/ui/vbm/GeoMapRenderer.js +1 -1
- package/src/sap/ui/vbm/HeatPoint.js +1 -1
- package/src/sap/ui/vbm/Heatmap.js +1 -1
- package/src/sap/ui/vbm/Legend.js +1 -1
- package/src/sap/ui/vbm/LegendItem.js +1 -1
- package/src/sap/ui/vbm/Pie.js +1 -1
- package/src/sap/ui/vbm/PieItem.js +1 -1
- package/src/sap/ui/vbm/Pies.js +1 -1
- package/src/sap/ui/vbm/Region.js +1 -1
- package/src/sap/ui/vbm/Resource.js +1 -1
- package/src/sap/ui/vbm/Route.js +1 -1
- package/src/sap/ui/vbm/Routes.js +1 -1
- package/src/sap/ui/vbm/Spot.js +1 -1
- package/src/sap/ui/vbm/Spots.js +1 -1
- package/src/sap/ui/vbm/VBI.js +1 -1
- package/src/sap/ui/vbm/VBIRenderer.js +1 -1
- package/src/sap/ui/vbm/Viewport.js +2 -2
- package/src/sap/ui/vbm/ViewportRenderer.js +1 -1
- package/src/sap/ui/vbm/VoAbstract.js +1 -1
- package/src/sap/ui/vbm/VoAggregation.js +1 -1
- package/src/sap/ui/vbm/VoBase.js +1 -1
- package/src/sap/ui/vbm/adapter3d/ModelHandler.js +2 -2
- package/src/sap/ui/vbm/adapter3d/ObjectFactory.js +2 -2
- package/src/sap/ui/vbm/adapter3d/PolygonHandler.js +2 -2
- package/src/sap/ui/vbm/adapter3d/SceneBuilder.js +6 -2
- package/src/sap/ui/vbm/adapter3d/Utilities.js +1 -1
- package/src/sap/ui/vbm/adapter3d/VBIJSONParser.js +2 -2
- package/src/sap/ui/vbm/lib/sapactions.js +1 -1
- package/src/sap/ui/vbm/lib/sapautomations.js +1 -1
- package/src/sap/ui/vbm/lib/sapconfig.js +1 -1
- package/src/sap/ui/vbm/lib/sapdataprovider.js +1 -1
- package/src/sap/ui/vbm/lib/sapevents.js +1 -1
- package/src/sap/ui/vbm/lib/sapgeolocation.js +1 -1
- package/src/sap/ui/vbm/lib/sapgeomath.js +1 -1
- package/src/sap/ui/vbm/lib/sapgeotool.js +1 -1
- package/src/sap/ui/vbm/lib/sapheatmap.js +1 -1
- package/src/sap/ui/vbm/lib/saplabels.js +1 -1
- package/src/sap/ui/vbm/lib/saplassotrack.js +1 -1
- package/src/sap/ui/vbm/lib/sapmaplayer.js +1 -1
- package/src/sap/ui/vbm/lib/sapmapmanager.js +1 -1
- package/src/sap/ui/vbm/lib/sapmapprovider.js +1 -1
- package/src/sap/ui/vbm/lib/sapnavigation.js +1 -1
- package/src/sap/ui/vbm/lib/sapparsing.js +1 -1
- package/src/sap/ui/vbm/lib/sappositioning.js +1 -1
- package/src/sap/ui/vbm/lib/sapprojection.js +1 -1
- package/src/sap/ui/vbm/lib/saprecttrack.js +1 -1
- package/src/sap/ui/vbm/lib/sapresources.js +1 -1
- package/src/sap/ui/vbm/lib/sapscale.js +1 -1
- package/src/sap/ui/vbm/lib/sapscene.js +19 -13
- package/src/sap/ui/vbm/lib/saputilities.js +8 -8
- package/src/sap/ui/vbm/lib/sapvbcluster.js +1 -1
- package/src/sap/ui/vbm/lib/sapvbi.js +2 -2
- package/src/sap/ui/vbm/lib/sapvbicontext.js +1 -1
- package/src/sap/ui/vbm/lib/sapvbmenu.js +1 -1
- package/src/sap/ui/vbm/lib/sapvobase.js +2 -2
- package/src/sap/ui/vbm/lib/sapvoutils.js +1 -1
- package/src/sap/ui/vbm/lib/sapwindow.js +1 -1
- package/src/sap/ui/vbm/library.js +3 -3
- package/src/sap/ui/vbm/themes/base/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_belize/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_belize_hcb/AnalyticMap.less +4 -0
- package/src/sap/ui/vbm/themes/sap_belize_hcb/VBI.less +96 -0
- package/src/sap/ui/vbm/themes/sap_belize_hcb/library.source.less +5 -2
- package/src/sap/ui/vbm/themes/sap_belize_hcw/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_belize_plus/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_bluecrystal/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_fiori_3/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_fiori_3_dark/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_fiori_3_hcb/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_fiori_3_hcw/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/vbm/themes/sap_horizon/library.source.less +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
// this module does the label handling
|
|
@@ -678,18 +678,24 @@ VBI.Scene = function(target) {
|
|
|
678
678
|
}
|
|
679
679
|
// standard case - click on single object
|
|
680
680
|
if (event.hitTests.length > 0) {
|
|
681
|
-
event.hitCached = event.hitTests[0];
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
681
|
+
event.hitCached = event.hitTests[0]; // cache first hit test
|
|
682
|
+
delete event.hitTests; // has to be deleted to avoid collecting hits information again
|
|
683
|
+
// if there is a VO then pass event to it
|
|
684
|
+
if (event.hitCached.m_Vo) {
|
|
685
|
+
return event.hitCached.m_Vo["on" + eventType].call(event.hitCached.m_Vo, event);
|
|
686
|
+
} else {
|
|
687
|
+
delete event.hitCached; // remove it to keep things going "old" way
|
|
688
|
+
}
|
|
689
|
+
} else {
|
|
690
|
+
return false; // not handled
|
|
685
691
|
}
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
692
|
+
}
|
|
693
|
+
// "old" approach -> process from last to first which corresponds to the rendering order (from topmost to last)
|
|
694
|
+
for (var i = scene.m_VOS.length - 1; i >= 0; --i) {
|
|
695
|
+
if ((func = scene.m_VOS[i]["on" + eventType]) && typeof (func) == 'function') {
|
|
696
|
+
// call the handler with the context set to corresponded visual object
|
|
697
|
+
if (func.call(scene.m_VOS[i], event)) {
|
|
698
|
+
return true; // handled
|
|
693
699
|
}
|
|
694
700
|
}
|
|
695
701
|
}
|
|
@@ -3352,7 +3358,7 @@ VBI.GeoScene = function(target, mapmanager, maplayerstack) {
|
|
|
3352
3358
|
}
|
|
3353
3359
|
var sCopyright = scene.m_MapLayerStack.GetCopyright();
|
|
3354
3360
|
if (sCopyright) {
|
|
3355
|
-
scene.m_DivCopyright.innerHTML = sCopyright;
|
|
3361
|
+
scene.m_DivCopyright.innerHTML = jQuery.sap.encodeHTML(sCopyright);
|
|
3356
3362
|
} else {
|
|
3357
3363
|
scene.m_DivCopyright.style.paddingRight = 0;
|
|
3358
3364
|
scene.m_DivCopyright.style.paddingLeft = 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
// utilities object
|
|
@@ -271,7 +271,7 @@ VBI.Utilities.CreateCaption = function(id, text, left, top, right, bottom, toolt
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
newElement.className = "vbi-2d-caption vbi-2d-common";
|
|
274
|
-
newElement.innerHTML = text;
|
|
274
|
+
newElement.innerHTML = jQuery.sap.encodeHTML(text);
|
|
275
275
|
return newElement;
|
|
276
276
|
};
|
|
277
277
|
|
|
@@ -287,7 +287,7 @@ VBI.Utilities.CreateLabel = function(id, text, left, top, right, bottom, tooltip
|
|
|
287
287
|
newElement.style.textAlign = VBI.Utilities.Align[align];
|
|
288
288
|
newElement.style.title = tooltip;
|
|
289
289
|
newElement.className = "vbi-2d-label vbi-2d-common";
|
|
290
|
-
newElement.innerHTML = text;
|
|
290
|
+
newElement.innerHTML = jQuery.sap.encodeHTML(text);
|
|
291
291
|
return newElement;
|
|
292
292
|
};
|
|
293
293
|
|
|
@@ -304,7 +304,7 @@ VBI.Utilities.CreateLink = function(id, text, left, top, right, bottom, href, to
|
|
|
304
304
|
newElement.className = "vbi-2d-link vbi-2d-common";
|
|
305
305
|
newElement.href = href ? href : "javascrip" + "t:void(0)"; // separated to fool ESLint
|
|
306
306
|
newElement.title = tooltip;
|
|
307
|
-
newElement.innerHTML = text;
|
|
307
|
+
newElement.innerHTML = jQuery.sap.encodeHTML(text);
|
|
308
308
|
return newElement;
|
|
309
309
|
};
|
|
310
310
|
|
|
@@ -334,7 +334,7 @@ VBI.Utilities.CreateButton = function(id, text, left, top, right, bottom, toolti
|
|
|
334
334
|
newElement.style.height = (bottom - top).toString() + "px";
|
|
335
335
|
newElement.style.textAlign = VBI.Utilities.Align[align];
|
|
336
336
|
newElement.className = "vbi-2d-button vbi-2d-common";
|
|
337
|
-
newElement.innerHTML = text;
|
|
337
|
+
newElement.innerHTML = jQuery.sap.encodeHTML(text);
|
|
338
338
|
newElement.title = tooltip;
|
|
339
339
|
return newElement;
|
|
340
340
|
};
|
|
@@ -391,7 +391,7 @@ VBI.Utilities.CreateDetailPhone = function(id, left, top, width, height, titlete
|
|
|
391
391
|
title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
|
|
392
392
|
title.id = id + "-window-title";
|
|
393
393
|
title.className = "vbi-detail-title-phone";
|
|
394
|
-
title.innerHTML = titletext;
|
|
394
|
+
title.innerHTML = jQuery.sap.encodeHTML(titletext);
|
|
395
395
|
header.appendChild(title);
|
|
396
396
|
|
|
397
397
|
// create the close.......................................................//
|
|
@@ -477,7 +477,7 @@ VBI.Utilities.CreateDetail = function(id, left, top, width, height, titletext, p
|
|
|
477
477
|
title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
|
|
478
478
|
title.id = id + "-window-title";
|
|
479
479
|
title.className = "vbi-detail-title";
|
|
480
|
-
title.innerHTML = titletext;
|
|
480
|
+
title.innerHTML = jQuery.sap.encodeHTML(titletext);
|
|
481
481
|
header.appendChild(title);
|
|
482
482
|
|
|
483
483
|
// create the close.......................................................//
|
|
@@ -602,7 +602,7 @@ VBI.Utilities.CreateLegend = function(id, top, titletext, padding, bClickRow) {
|
|
|
602
602
|
title.setAttribute("role", sap.ui.core.AccessibleRole.Heading);
|
|
603
603
|
title.id = id + "-title";
|
|
604
604
|
title.className = "vbi-legend-title";
|
|
605
|
-
title.innerHTML = titletext;
|
|
605
|
+
title.innerHTML = jQuery.sap.encodeHTML(titletext);
|
|
606
606
|
header.appendChild(title);
|
|
607
607
|
|
|
608
608
|
// create the content.....................................................//
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
// VBI namespace
|
|
@@ -106,7 +106,7 @@ sap.ui.define(function() {
|
|
|
106
106
|
if (trace == null) {
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
VBI.m_Log = VBI.m_Log + text + "<br>";
|
|
109
|
+
VBI.m_Log = VBI.m_Log + jQuery.sap.encodeHTML(text) + "<br>";
|
|
110
110
|
trace.innerHTML = VBI.m_Log;
|
|
111
111
|
},
|
|
112
112
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
// VisualObjects namespace
|
|
@@ -1223,7 +1223,7 @@ VBI.VisualObjects = function() {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
// check for design handle context menu subscription.............//
|
|
1225
1225
|
var action, actions = scene.m_Ctx.m_Actions;
|
|
1226
|
-
if (actions && ocb.m_Design && ocb.m_Handle > -1) {
|
|
1226
|
+
if (actions && ocb.m_Design && (ocb.m_Handle > -1 || ocb.m_Hit === VBI.HTBOX)) {
|
|
1227
1227
|
// the action is raised whenever a design action has stopped..//
|
|
1228
1228
|
// for the instanced type.....................................//
|
|
1229
1229
|
// is it a HandleMoved or a HandleClick action ...............//
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @namespace
|
|
21
21
|
* @name sap.ui.vbm
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.96.
|
|
23
|
+
* @version 1.96.4
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
26
|
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
"sap.ui.vbm.ClusterBase", "sap.ui.vbm.ClusterTree", "sap.ui.vbm.ClusterGrid", "sap.ui.vbm.ClusterDistance", "sap.ui.vbm.Heatmap",
|
|
44
44
|
"sap.ui.vbm.HeatPoint", "sap.ui.vbm.ClusterContainer", "sap.ui.vbm.Adapter", "sap.ui.vbm.Adapter3D"
|
|
45
45
|
],
|
|
46
|
-
version: "1.96.
|
|
46
|
+
version: "1.96.4"
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
sap.ui.loader.config({
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
|
|
2
|
+
.vbi-detail {
|
|
3
|
+
background-color: @sapUiBaseBG;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.vbi-detail-closebutton
|
|
7
|
+
{
|
|
8
|
+
background-color: @sapUiBaseBG;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.vbi-detail-content
|
|
12
|
+
{
|
|
13
|
+
background-color: @sapUiBaseBG;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.vbi-detail-phone
|
|
17
|
+
{
|
|
18
|
+
background-color: @sapUiBaseBG;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.vbi-detail > .vbi-detail-arrow.vbi-detail-left
|
|
22
|
+
{
|
|
23
|
+
border-right-color: @sapUiBaseBG;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.vbi-detail > .vbi-detail-header
|
|
27
|
+
{
|
|
28
|
+
font-size: @sapUiFontHeader4Size;
|
|
29
|
+
font-family: @sapUiFontHeaderFamily;
|
|
30
|
+
font-weight: @sapUiFontHeaderWeight;
|
|
31
|
+
color: @sapTextColor;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.vbi-detail-header-phone
|
|
35
|
+
{
|
|
36
|
+
font-family: @sapUiFontHeaderFamily;
|
|
37
|
+
font-weight: @sapUiFontHeaderWeight;
|
|
38
|
+
color: @sapTextColor;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.vbi-legend {
|
|
42
|
+
box-shadow: lighten(@sapUiContentForegroundColor, 20%) 0rem 0rem 0.9rem 0.0625rem;
|
|
43
|
+
font-family: @sapUiFontFamily;
|
|
44
|
+
background-color: @sapUiBaseBG;
|
|
45
|
+
color: @sapTextColor;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.vbi-legend > .vbi-legend-header
|
|
49
|
+
{
|
|
50
|
+
font-size: @sapMFontMediumSize;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.vbi-legend-button-col:hover
|
|
54
|
+
{
|
|
55
|
+
background-color: @sapUiHighlight;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.vbi-legend-button-col:active
|
|
59
|
+
{
|
|
60
|
+
background-color: darken(@sapUiHighlight, 20%);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.vbi-legend-button-exp:hover
|
|
64
|
+
{
|
|
65
|
+
background-color: @sapUiHighlight;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.vbi-legend-button-exp:active
|
|
69
|
+
{
|
|
70
|
+
background-color: darken(@sapUiHighlight, 20%);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.vbi-legend-table
|
|
74
|
+
{
|
|
75
|
+
font-size: @sapMFontSmallSize;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.vbi-legend-table-click
|
|
79
|
+
{
|
|
80
|
+
tr:hover {
|
|
81
|
+
background-color: @sapUiHighlight;
|
|
82
|
+
};
|
|
83
|
+
tr:active {
|
|
84
|
+
background-color: darken(@sapUiHighlight, 20%);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.vbi-legend-content-celltext
|
|
89
|
+
{
|
|
90
|
+
color: @sapUiChartLegendLabelFontColor;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.vbi-legend-content-celldiv-square
|
|
94
|
+
{
|
|
95
|
+
border-color: @sapUiContentForegroundColor;
|
|
96
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
@import "../base/library.source.less";
|
|
7
7
|
@import "../../../../../sap/ui/core/themes/sap_belize_hcb/base.less";
|
|
8
|
-
@import "../../../../../sap/ui/core/themes/sap_belize_hcb/global.less";
|
|
8
|
+
@import "../../../../../sap/ui/core/themes/sap_belize_hcb/global.less";
|
|
9
|
+
|
|
10
|
+
@import "AnalyticMap.less";
|
|
11
|
+
@import "VBI.less";
|