@sapui5/sap.suite.ui.microchart 1.124.0 → 1.125.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 +1 -1
- package/src/sap/suite/ui/microchart/.library +1 -1
- package/src/sap/suite/ui/microchart/AreaMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +1 -1
- package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +1 -1
- package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +1 -1
- package/src/sap/suite/ui/microchart/BulletMicroChart.js +7 -7
- package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +1 -1
- package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/DeltaMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveBarChart.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveLineChart.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChartLine.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +1 -1
- package/src/sap/suite/ui/microchart/RadialMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +1 -1
- package/src/sap/suite/ui/microchart/library.js +2 -2
- package/src/sap/suite/ui/microchart/themes/sap_belize/library.source.less +10 -1
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/AreaMicroChart.less +314 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/BulletMicroChart.less +359 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/ColumnMicroChart.less +267 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/ComparisonMicroChart.less +273 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/DeltaMicroChart.less +422 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/HarveyBallMicroChart.less +242 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/InteractiveBarChart.less +295 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/InteractiveDonutChart.less +290 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/InteractiveLineChart.less +309 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/LineMicroChart.less +312 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/RadialMicroChart.less +182 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/SharedStyles.less +26 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/StackedBarMicroChart.less +112 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/library.source.less +22 -0
- package/src/sap/suite/ui/microchart/themes/sap_belize_hcb/library.source.less +10 -1
- package/src/sap/suite/ui/microchart/themes/sap_belize_hcw/library.source.less +10 -1
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends sap.ui.core.Control
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.125.0
|
|
42
42
|
* @since 1.34
|
|
43
43
|
*
|
|
44
44
|
* @public
|
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
* If this set to true, width and height of the control are determined by the width and height of the container in which the control is placed or by the width and height property.
|
|
107
107
|
* @since 1.38.0
|
|
108
108
|
*
|
|
109
|
-
* @deprecated
|
|
109
|
+
* @deprecated as of version 1.60, the concept has been discarded.
|
|
110
110
|
*/
|
|
111
111
|
isResponsive: { type: "boolean", group: "Appearance", defaultValue: false },
|
|
112
112
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
|
|
|
17
17
|
* Displays or hides the labels for start and end dates, start and end values, and minimum and maximum values.
|
|
18
18
|
* @extends sap.ui.core.Element
|
|
19
19
|
*
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.125.0
|
|
21
21
|
* @since 1.34
|
|
22
22
|
*
|
|
23
23
|
* @public
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
|
|
47
47
|
* @extends sap.ui.core.Control
|
|
48
48
|
*
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.125.0
|
|
50
50
|
* @since 1.34
|
|
51
51
|
*
|
|
52
52
|
* @public
|
|
@@ -158,7 +158,7 @@ sap.ui.define([
|
|
|
158
158
|
* If this set to true, width and height of the control are determined by the width and height of the container in which the control is placed or by the width and height property.
|
|
159
159
|
* @since 1.38.0
|
|
160
160
|
*
|
|
161
|
-
* @deprecated
|
|
161
|
+
* @deprecated as of version 1.58, the concept has been discarded.
|
|
162
162
|
*/
|
|
163
163
|
isResponsive: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
164
164
|
|
|
@@ -250,7 +250,7 @@ sap.ui.define([
|
|
|
250
250
|
* @private
|
|
251
251
|
*/
|
|
252
252
|
BulletMicroChart.prototype._calculateChartData = function() {
|
|
253
|
-
var fScaleWidthPct =
|
|
253
|
+
var fScaleWidthPct = 100,
|
|
254
254
|
aThresholds = this.getThresholds(),
|
|
255
255
|
aCalculatedThresholds = [],
|
|
256
256
|
fTarget = this.getTargetValue(),
|
|
@@ -312,11 +312,11 @@ sap.ui.define([
|
|
|
312
312
|
var nActualValuePct, nTargetValuePct;
|
|
313
313
|
if (this.getMode() === library.BulletMicroChartModeType.Delta) {
|
|
314
314
|
// In case delat mode is used, the zero handling is different, as the left position is 49 instead of 0
|
|
315
|
-
nActualValuePct = (!this.getActual() || !this.getActual()._isValueSet || fTotal === 0) ?
|
|
316
|
-
nTargetValuePct = (!this._isTargetValueSet || fTotal === 0) ?
|
|
315
|
+
nActualValuePct = (!this.getActual() || !this.getActual()._isValueSet || fTotal === 0) ? 50 : (0.05 + (fActual - fLowestValue) * (fScaleWidthPct) / fTotal).toFixed(2);
|
|
316
|
+
nTargetValuePct = (!this._isTargetValueSet || fTotal === 0) ? 50 : ((fTarget - fLowestValue) * (fScaleWidthPct) / fTotal).toFixed(2);
|
|
317
317
|
} else {
|
|
318
|
-
nActualValuePct = (!this.getActual() || !this.getActual()._isValueSet || fTotal === 0 || fLowestValue === 0 && this.getActual().getValue() === 0) ? 0 : (0.05 + (fActual - fLowestValue) * fScaleWidthPct / fTotal).toFixed(2);
|
|
319
|
-
nTargetValuePct = (!this._isTargetValueSet || fTotal === 0) ? 0 : ((fTarget - fLowestValue) * fScaleWidthPct / fTotal).toFixed(2);
|
|
318
|
+
nActualValuePct = (!this.getActual() || !this.getActual()._isValueSet || fTotal === 0 || fLowestValue === 0 && this.getActual().getValue() === 0) ? 0 : (0.05 + (fActual - fLowestValue) * (fScaleWidthPct) / fTotal).toFixed(2);
|
|
319
|
+
nTargetValuePct = (!this._isTargetValueSet || fTotal === 0) ? 0 : ((fTarget - fLowestValue) * (fScaleWidthPct) / fTotal).toFixed(2);
|
|
320
320
|
}
|
|
321
321
|
return {
|
|
322
322
|
actualValuePct: nActualValuePct,
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* @extends sap.ui.core.Control
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.125.0
|
|
43
43
|
* @since 1.34
|
|
44
44
|
*
|
|
45
45
|
* @public
|
|
@@ -68,7 +68,7 @@ sap.ui.define([
|
|
|
68
68
|
/**
|
|
69
69
|
* If set to true, width and height of the control are determined by the width and height of the container in which the control is placed. Size, width and height properties are ignored in this case.
|
|
70
70
|
* @since 1.38.0
|
|
71
|
-
* @deprecated
|
|
71
|
+
* @deprecated as of version 1.60.0, the concept has been discarded.
|
|
72
72
|
*/
|
|
73
73
|
isResponsive: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
74
74
|
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
|
|
38
38
|
* @extends sap.ui.core.Control
|
|
39
39
|
*
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.125.0
|
|
41
41
|
* @since 1.34
|
|
42
42
|
*
|
|
43
43
|
* @public
|
|
@@ -100,7 +100,7 @@ sap.ui.define([
|
|
|
100
100
|
* If this set to true, width and height of the control are determined by the width and height of the container in which the control is placed. Size and Width properties are ignored in such case.
|
|
101
101
|
* @since 1.38.0
|
|
102
102
|
*
|
|
103
|
-
* @deprecated
|
|
103
|
+
* @deprecated as of version 1.58, the concept has been discarded.
|
|
104
104
|
* */
|
|
105
105
|
isResponsive: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
106
106
|
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.125.0
|
|
48
48
|
* @since 1.34
|
|
49
49
|
*
|
|
50
50
|
* @public
|
|
@@ -121,7 +121,7 @@ sap.ui.define([
|
|
|
121
121
|
/**
|
|
122
122
|
* If this set to true, width and height of the control are determined by the width and height of the container in which the control is placed. Size and Width properties are ignored in such case.
|
|
123
123
|
* @since 1.38.0
|
|
124
|
-
* @deprecated
|
|
124
|
+
* @deprecated as of version 1.61.0, the concept has been discarded.
|
|
125
125
|
*/
|
|
126
126
|
isResponsive: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
127
127
|
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.125.0
|
|
39
39
|
* @since 1.34
|
|
40
40
|
*
|
|
41
41
|
* @public
|
|
@@ -114,7 +114,7 @@ sap.ui.define([
|
|
|
114
114
|
* If set to <code>true</code>, the width and height of the control are determined by the width and height
|
|
115
115
|
* of the parent container, in which case the <code>size</code> and <code>width</code> properties are ignored.
|
|
116
116
|
* @since 1.38.0
|
|
117
|
-
* @deprecated
|
|
117
|
+
* @deprecated as of version 1.62.0, the concept has been discarded.
|
|
118
118
|
*/
|
|
119
119
|
isResponsive: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
120
120
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* The InteractiveLineChart control belongs to a chart control group in the MicroChart library having a number of interactive features.
|
|
43
43
|
* @extends sap.ui.core.Control
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.125.0
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
48
48
|
* @since 1.42.0
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string.
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
34
|
*
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.125.0
|
|
36
36
|
* @since 1.48.0
|
|
37
37
|
*
|
|
38
38
|
* @public
|
|
@@ -21,7 +21,7 @@ sap.ui.define(["sap/m/library", "sap/suite/ui/microchart/LineMicroChartPoint"],
|
|
|
21
21
|
* Contains the emphasized point of the line micro chart.
|
|
22
22
|
* @extends sap.suite.ui.microchart.LineMicroChartPoint
|
|
23
23
|
*
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.125.0
|
|
25
25
|
* @since 1.48.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
35
|
*
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.125.0
|
|
37
37
|
* @since 1.44.0
|
|
38
38
|
*
|
|
39
39
|
* @public
|
|
@@ -22,12 +22,12 @@ sap.ui.define([
|
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.suite.ui.microchart
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.125.0
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
28
|
var thisLib = CoreLib.init({
|
|
29
29
|
name: "sap.suite.ui.microchart",
|
|
30
|
-
version: "1.
|
|
30
|
+
version: "1.125.0",
|
|
31
31
|
// library dependencies
|
|
32
32
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
33
33
|
types: [
|
|
@@ -3,7 +3,16 @@
|
|
|
3
3
|
* (c) Copyright 2009-2024 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
/***********************************************************************************
|
|
7
|
+
/* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the
|
|
8
|
+
/* inheritance of the base theme is now updated to an inheritance of a static
|
|
9
|
+
/* copy of the base theme named sap_belize_base. The respective
|
|
10
|
+
/* control css files of base are copied to the sap_belize_base theme folder.
|
|
11
|
+
/* This decoupling of the base theme is introduced with SAPUI5 version 1.125.
|
|
12
|
+
***********************************************************************************/
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@import "../sap_belize_base/library.source.less";
|
|
7
16
|
@import "../../../../../../sap/ui/core/themes/sap_belize/base.less";
|
|
8
17
|
@import "../../../../../../sap/ui/core/themes/sap_belize/global.less";
|
|
9
18
|
|