@sapui5/sap.suite.ui.microchart 1.141.1 → 1.142.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.
Files changed (32) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
  3. package/src/sap/suite/ui/microchart/.library +1 -1
  4. package/src/sap/suite/ui/microchart/AreaMicroChart.js +1 -1
  5. package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +1 -1
  6. package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +1 -1
  7. package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +1 -1
  8. package/src/sap/suite/ui/microchart/BulletMicroChart.js +1 -1
  9. package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
  10. package/src/sap/suite/ui/microchart/ColumnMicroChart.js +1 -1
  11. package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +1 -1
  12. package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +1 -1
  13. package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +1 -1
  14. package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
  15. package/src/sap/suite/ui/microchart/DeltaMicroChart.js +1 -1
  16. package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +1 -1
  17. package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +1 -1
  18. package/src/sap/suite/ui/microchart/InteractiveBarChart.js +1 -2
  19. package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +1 -1
  20. package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +1 -1
  21. package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +1 -1
  22. package/src/sap/suite/ui/microchart/InteractiveLineChart.js +1 -1
  23. package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +1 -1
  24. package/src/sap/suite/ui/microchart/LineMicroChart.js +1 -1
  25. package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +1 -1
  26. package/src/sap/suite/ui/microchart/LineMicroChartLine.js +1 -1
  27. package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +1 -1
  28. package/src/sap/suite/ui/microchart/RadialMicroChart.js +1 -1
  29. package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +1 -1
  30. package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +4 -1
  31. package/src/sap/suite/ui/microchart/library.js +2 -2
  32. package/src/sap/suite/ui/microchart/messagebundle_lv.properties +1 -1
package/README.md CHANGED
@@ -5,8 +5,8 @@ Runtime resources of the [SAPUI5](https://ui5.sap.com) Library **sap.suite.ui.mi
5
5
 
6
6
  ## Usage
7
7
  Refrain from installing this package using npm, Yarn or similar package managers.
8
- It is meant to be consumed using the [UI5 Tooling](https://sap.github.io/ui5-tooling/).
9
- For details please refer to our documentation on [Consuming SAPUI5 Libraries](https://sap.github.io/ui5-tooling/pages/SAPUI5/).
8
+ It is meant to be consumed using the [UI5 CLI](https://ui5.github.io/cli/).
9
+ For details please refer to our documentation on [Consuming SAPUI5 Libraries](https://ui5.github.io/cli/pages/SAPUI5/).
10
10
 
11
11
  ## License
12
12
  This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3_2.txt).
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.microchart",
3
- "version": "1.141.1",
3
+ "version": "1.142.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.microchart",
5
- "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
5
+ "homepage": "https://ui5.github.io/cli/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
7
7
  "license": "SEE LICENSE IN LICENSE.txt",
8
8
  "keywords": [
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2025 SAP SE. All rights reserved.</copyright>
8
- <version>1.141.1</version>
8
+ <version>1.142.0</version>
9
9
 
10
10
  <documentation>UI5 library: sap.suite.ui.microchart</documentation>
11
11
 
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.141.1
40
+ * @version 1.142.0
41
41
  * @since 1.34
42
42
  *
43
43
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.141.1
25
+ * @version 1.142.0
26
26
  * @since 1.34
27
27
  *
28
28
  * @public
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
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.141.1
20
+ * @version 1.142.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.141.1
21
+ * @version 1.142.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @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.141.1
49
+ * @version 1.142.0
50
50
  * @since 1.34
51
51
  *
52
52
  * @public
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
17
17
  * Contains the thresholds data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.141.1
20
+ * @version 1.142.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @constructor
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.141.1
41
+ * @version 1.142.0
42
42
  * @since 1.34
43
43
  *
44
44
  * @public
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
17
17
  * Defines the column chart data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.141.1
20
+ * @version 1.142.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
18
18
  * Displays or hides the labels of a column micro chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.141.1
21
+ * @version 1.142.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * <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.
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
- * @version 1.141.1
43
+ * @version 1.142.0
44
44
  * @since 1.34
45
45
  *
46
46
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control','sap/m/
18
18
  * Contains the values of the comparison chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.141.1
21
+ * @version 1.142.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @constructor
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.141.1
43
+ * @version 1.142.0
44
44
  * @since 1.34
45
45
  *
46
46
  * @public
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.141.1
36
+ * @version 1.142.0
37
37
  * @since 1.34
38
38
  *
39
39
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.141.1
24
+ * @version 1.142.0
25
25
  * @since 1.34
26
26
  *
27
27
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.141.1
35
+ * @version 1.142.0
36
36
  *
37
37
  * @public
38
38
  * @since 1.42.0
@@ -487,7 +487,6 @@ sap.ui.define([
487
487
  this._bCompact = this._isCompact();
488
488
  // removed invalidate after testing by switching into various themes, no observed changes/issues, also
489
489
  // no visible hardcoded css in the renderer file
490
- this.invalidate();
491
490
  Theming.detachApplied(this._handleThemeApplied.bind(this));
492
491
  };
493
492
 
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.141.1
19
+ * @version 1.142.0
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.141.1
36
+ * @version 1.142.0
37
37
  *
38
38
  * @public
39
39
  * @since 1.42.0
@@ -15,7 +15,7 @@ sap.ui.define(["./library", "sap/ui/core/Element", "sap/ui/core/Lib"], function(
15
15
  * @extends sap.ui.core.Element
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.141.1
18
+ * @version 1.142.0
19
19
  *
20
20
  * @public
21
21
  * @since 1.42.0
@@ -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.141.1
45
+ * @version 1.142.0
46
46
  *
47
47
  * @public
48
48
  * @since 1.42.0
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.141.1
19
+ * @version 1.142.0
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * <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.
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
- * @version 1.141.1
34
+ * @version 1.142.0
35
35
  * @since 1.48.0
36
36
  *
37
37
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(["sap/suite/ui/microchart/MicroChartUtils", "./library", "sap/suit
18
18
  * Contains the emphasized point of the line micro chart.
19
19
  * @extends sap.suite.ui.microchart.LineMicroChartPoint
20
20
  *
21
- * @version 1.141.1
21
+ * @version 1.142.0
22
22
  * @since 1.48.0
23
23
  *
24
24
  * @constructor
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.141.1
29
+ * @version 1.142.0
30
30
  * @since 1.60
31
31
  *
32
32
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/core/Element'],
18
18
  * Contains the point of the line micro chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.141.1
21
+ * @version 1.142.0
22
22
  * @since 1.48.0
23
23
  *
24
24
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.141.1
33
+ * @version 1.142.0
34
34
  * @since 1.36.0
35
35
  *
36
36
  * @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.141.1
36
+ * @version 1.142.0
37
37
  * @since 1.44.0
38
38
  *
39
39
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery", './library', 'sap/ui/core/Element', "
20
20
  * Contains the values of the stacked bar chart.
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
- * @version 1.141.1
23
+ * @version 1.142.0
24
24
  * @since 1.44.0
25
25
  *
26
26
  * @constructor
@@ -52,6 +52,9 @@ sap.ui.define(["sap/ui/thirdparty/jquery", './library', 'sap/ui/core/Element', "
52
52
  });
53
53
 
54
54
  StackedBarMicroChartBar.prototype.setValue = function(fValue, bSuppressInvalidate) {
55
+ if (fValue === null || fValue === undefined) {
56
+ fValue = 0;
57
+ }
55
58
  var bIsValueSet = Number.isFinite(Number(fValue));
56
59
  return this.setProperty("value", bIsValueSet ? fValue : NaN, bSuppressInvalidate);
57
60
  };
@@ -21,13 +21,13 @@ sap.ui.define([
21
21
  * @namespace
22
22
  * @alias sap.suite.ui.microchart
23
23
  * @author SAP SE
24
- * @version 1.141.1
24
+ * @version 1.142.0
25
25
  * @public
26
26
  */
27
27
  var thisLib = CoreLib.init({
28
28
  name: "sap.suite.ui.microchart",
29
29
  apiVersion: 2,
30
- version: "1.141.1",
30
+ version: "1.142.0",
31
31
  // library dependencies
32
32
  dependencies: ["sap.ui.core", "sap.m"],
33
33
  types: [
@@ -26,7 +26,7 @@ AREAMICROCHART_TARGET_VALUES=M\u0113r\u0137a v\u0113rt\u012Bbas
26
26
  AREAMICROCHART_LINE=L\u012Bnija {0}
27
27
 
28
28
  #XTOL: name of bullet micro chart used in aria label
29
- BULLETMICROCHART=Aizz\u012Bmju mikrodiagramma
29
+ BULLETMICROCHART=Skalas mikrodiagramma
30
30
  #XTOL: tooltip for delta. 0 - value, 1 - semantic color
31
31
  BULLETMICROCHART_DELTA_TOOLTIP=Delta {0} {1}
32
32
  #XTOL: tooltip for actual value. 0 - value, 1 - semantic color