@sapui5/sap.ui.vbm 1.105.0 → 1.107.0

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.105.0",
3
+ "version": "1.107.0",
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.105.0</version>
6
+ <version>1.107.0</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.105.0
25
+ * @version 1.107.0
26
26
  * @extends sap.ui.core.Element
27
27
  * @constructor
28
28
  * @public
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @param {string} [sId] id for the new control, generated automatically if no id is given
46
46
  * @param {object} [mSettings] initial settings for the new object
47
47
  * @author SAP SE
48
- * @version 1.105.0
48
+ * @version 1.107.0
49
49
  * @extends sap.ui.core.Element
50
50
  * @constructor
51
51
  * @public
@@ -325,7 +325,13 @@ sap.ui.define([
325
325
  }
326
326
 
327
327
  // get the name of the fragment........................................//
328
- tt = (f.properties && f.properties.name) ? f.properties.name : "";
328
+ if (f.properties && f.properties.name) {
329
+ tt = f.properties.name;
330
+ } else if (f.properties && f.properties.NAME) {
331
+ tt = f.properties.NAME;
332
+ } else {
333
+ tt = "";
334
+ }
329
335
  this.mNames[f.id2] = tt;
330
336
  this.mRegionProps[f.id2] = f.properties;
331
337
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @public
25
25
  * @author SAP SE
26
- * @version 1.105.0
26
+ * @version 1.107.0
27
27
  * @extends sap.ui.core.Control
28
28
  * @alias sap.ui.vbm.Viewport
29
29
  */
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  *
84
84
  * @private
85
85
  * @author SAP SE
86
- * @version 1.105.0
86
+ * @version 1.107.0
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.105.0
32
+ * @version 1.107.0
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.105.0
380
+ * @version 1.107.0
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.105.0
35
+ * @version 1.107.0
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.105.0
49
+ * @version 1.107.0
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 */ {
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  *
57
57
  * @private
58
58
  * @author SAP SE
59
- * @version 1.105.0
59
+ * @version 1.107.0
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 */ {
@@ -3357,7 +3357,7 @@ VBI.GeoScene = function(target, mapmanager, maplayerstack) {
3357
3357
  }
3358
3358
  var sCopyright = scene.m_MapLayerStack.GetCopyright();
3359
3359
  if (sCopyright) {
3360
- scene.m_DivCopyright.innerHTML = jQuery.sap.encodeHTML(sCopyright);
3360
+ scene.m_DivCopyright.innerHTML = sCopyright;
3361
3361
  } else {
3362
3362
  scene.m_DivCopyright.style.paddingRight = 0;
3363
3363
  scene.m_DivCopyright.style.paddingLeft = 0;
@@ -1891,6 +1891,11 @@ VBI.Utilities.AssembleCopyrightString = function(Copyright, CopyrightLink, Copyr
1891
1891
  var regex3 = /\{LINK\|([^\}]+)\}/;
1892
1892
 
1893
1893
  if (Copyright) {
1894
+ if (!CopyrightLink && !CopyrightImage) {
1895
+ Copyright = jQuery.sap.encodeHTML(Copyright);
1896
+ }
1897
+ CopyrightLink = CopyrightLink ? jQuery.sap.encodeHTML(CopyrightLink):CopyrightLink;
1898
+ CopyrightImage = CopyrightImage ? jQuery.sap.encodeHTML(CopyrightImage):CopyrightImage;
1894
1899
  var tmp = Copyright.replace(regex1, "<a href='" + CopyrightLink + "'><img src='" + CopyrightImage + "' width='10' height='10' border='none'></a>");
1895
1900
  tmp = tmp.replace(regex2, "<img src='" + CopyrightImage + "' width='10' height='10' border='none' >");
1896
1901
  return tmp.replace(regex3, "<a href='" + CopyrightLink + "'>$1</a>");
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @namespace
20
20
  * @alias sap.ui.vbm
21
21
  * @author SAP SE
22
- * @version 1.105.0
22
+ * @version 1.107.0
23
23
  * @public
24
24
  */
25
25
 
@@ -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.105.0"
45
+ version: "1.107.0"
46
46
  });
47
47
 
48
48
  sap.ui.loader.config({
@@ -0,0 +1,3 @@
1
+ .sapUiVbmAnalyticMap {
2
+ background-color: @sapUiBaseBG;
3
+ }
@@ -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
+ }
@@ -4,4 +4,7 @@
4
4
 
5
5
  @import "../base/library.source.less";
6
6
  @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/base.less";
7
- @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/global.less";
7
+ @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/global.less";
8
+
9
+ @import "AnalyticMap.less";
10
+ @import "VBI.less";