@sapui5/sap.suite.ui.microchart 1.123.1 → 1.124.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 +5 -4
- 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 +1 -1
- package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChart.js +1 -1
- 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 +5 -4
- package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
- package/src/sap/suite/ui/microchart/DeltaMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +1 -1
- package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveBarChart.js +2 -2
- 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/messagebundle_sh.properties +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal/library.source.less +10 -1
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/AreaMicroChart.less +314 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/BulletMicroChart.less +359 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/ColumnMicroChart.less +267 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/ComparisonMicroChart.less +273 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/DeltaMicroChart.less +422 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/HarveyBallMicroChart.less +242 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/InteractiveBarChart.less +295 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/InteractiveDonutChart.less +290 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/InteractiveLineChart.less +309 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/LineMicroChart.less +312 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/RadialMicroChart.less +182 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/SharedStyles.less +26 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/StackedBarMicroChart.less +112 -0
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/library.source.less +22 -0
package/package.json
CHANGED
|
@@ -18,9 +18,10 @@ sap.ui.define([
|
|
|
18
18
|
"sap/ui/core/Theming",
|
|
19
19
|
"sap/base/i18n/Localization",
|
|
20
20
|
"./AreaMicroChartItem",
|
|
21
|
-
"./AreaMicroChartLabel"
|
|
21
|
+
"./AreaMicroChartLabel",
|
|
22
|
+
"sap/ui/core/Lib"
|
|
22
23
|
], function(library, Control, FlexBox, MicroChartUtils, Log, KeyCodes, Parameters, MobileLibrary,
|
|
23
|
-
ResizeHandler, AreaMicroChartRenderer, Core, Theming, Localization, AreaMicroChartItem, AreaMicroChartLabel) {
|
|
24
|
+
ResizeHandler, AreaMicroChartRenderer, Core, Theming, Localization, AreaMicroChartItem, AreaMicroChartLabel, CoreLib) {
|
|
24
25
|
"use strict";
|
|
25
26
|
|
|
26
27
|
var ValueColor = MobileLibrary.ValueColor;
|
|
@@ -37,7 +38,7 @@ sap.ui.define([
|
|
|
37
38
|
* @extends sap.ui.core.Control
|
|
38
39
|
*
|
|
39
40
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
41
|
+
* @version 1.124.0
|
|
41
42
|
* @since 1.34
|
|
42
43
|
*
|
|
43
44
|
* @public
|
|
@@ -220,7 +221,7 @@ sap.ui.define([
|
|
|
220
221
|
AreaMicroChart._CHARTITEM_AGGREGATIONS = ["chart", "target", "minThreshold", "maxThreshold", "innerMinThreshold", "innerMaxThreshold"];
|
|
221
222
|
|
|
222
223
|
AreaMicroChart.prototype.init = function() {
|
|
223
|
-
this._oRb =
|
|
224
|
+
this._oRb = CoreLib.getResourceBundleFor("sap.suite.ui.microchart");
|
|
224
225
|
this.setAggregation("tooltip", "((AltText))", true);
|
|
225
226
|
this._bThemeApplied = false;
|
|
226
227
|
Core.ready(this._handleCoreInitialized.bind(this));
|
|
@@ -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.124.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.124.0
|
|
50
50
|
* @since 1.34
|
|
51
51
|
*
|
|
52
52
|
* @public
|
|
@@ -15,8 +15,9 @@ sap.ui.define([
|
|
|
15
15
|
"./ComparisonMicroChartRenderer",
|
|
16
16
|
"sap/ui/core/Core",
|
|
17
17
|
"sap/ui/core/Theming",
|
|
18
|
-
"./ComparisonMicroChartData"
|
|
19
|
-
|
|
18
|
+
"./ComparisonMicroChartData",
|
|
19
|
+
"sap/ui/core/Lib"
|
|
20
|
+
], function(jQuery, library, Control, Device, FlexBox, MicroChartUtils, mobileLibrary, ResizeHandler, ComparisonMicroChartRenderer, Core, Theming, ComparisonMicroChartData, CoreLib) {
|
|
20
21
|
"use strict";
|
|
21
22
|
|
|
22
23
|
// shortcut for sap.m.ValueColor
|
|
@@ -36,7 +37,7 @@ sap.ui.define([
|
|
|
36
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.
|
|
37
38
|
* @extends sap.ui.core.Control
|
|
38
39
|
*
|
|
39
|
-
* @version 1.
|
|
40
|
+
* @version 1.124.0
|
|
40
41
|
* @since 1.34
|
|
41
42
|
*
|
|
42
43
|
* @public
|
|
@@ -279,7 +280,7 @@ sap.ui.define([
|
|
|
279
280
|
/* =========================================================== */
|
|
280
281
|
|
|
281
282
|
ComparisonMicroChart.prototype.init = function() {
|
|
282
|
-
this._oRb =
|
|
283
|
+
this._oRb = CoreLib.getResourceBundleFor("sap.suite.ui.microchart");
|
|
283
284
|
this.setAggregation("tooltip", "((AltText))", true);
|
|
284
285
|
this._isMinValueSet = false;
|
|
285
286
|
this._isMaxValueSet = false;
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.core.Control
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.124.0
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
* @since 1.42.0
|
|
@@ -410,7 +410,7 @@ sap.ui.define([
|
|
|
410
410
|
if (!selectedBars) {
|
|
411
411
|
return this;
|
|
412
412
|
}
|
|
413
|
-
if (selectedBars instanceof
|
|
413
|
+
if (selectedBars instanceof InteractiveBarChartBar) {
|
|
414
414
|
selectedBars = [selectedBars];
|
|
415
415
|
}
|
|
416
416
|
if (Array.isArray(selectedBars)) {
|
|
@@ -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.124.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.124.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.124.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.124.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.124.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.124.0",
|
|
31
31
|
// library dependencies
|
|
32
32
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
33
33
|
types: [
|
|
@@ -15,13 +15,13 @@ AREAMICROCHART_START=Pokreni
|
|
|
15
15
|
#XTOL: tooltip for end
|
|
16
16
|
AREAMICROCHART_END=Zavr\u0161i
|
|
17
17
|
#XTOL: tooltip for minimal value
|
|
18
|
-
AREAMICROCHART_MINIMAL_VALUE=Minimalna
|
|
18
|
+
AREAMICROCHART_MINIMAL_VALUE=Minimalna vrednost
|
|
19
19
|
#XTOL: tooltip for maximal value
|
|
20
|
-
AREAMICROCHART_MAXIMAL_VALUE=Maksimalna
|
|
20
|
+
AREAMICROCHART_MAXIMAL_VALUE=Maksimalna vrednost
|
|
21
21
|
#XTOL: tooltip for actual value
|
|
22
|
-
AREAMICROCHART_ACTUAL_VALUES=Stvarne
|
|
22
|
+
AREAMICROCHART_ACTUAL_VALUES=Stvarne vrednosti
|
|
23
23
|
#XTOL: tooltip for target values
|
|
24
|
-
AREAMICROCHART_TARGET_VALUES=Ciljne
|
|
24
|
+
AREAMICROCHART_TARGET_VALUES=Ciljne vrednosti
|
|
25
25
|
#XTOL: tooltip for line and its number
|
|
26
26
|
AREAMICROCHART_LINE=Linijski dijagram {0}
|
|
27
27
|
|
|
@@ -36,7 +36,7 @@ BULLETMICROCHART_FORECAST_TOOLTIP=Predvi\u0111eno {0} {1}
|
|
|
36
36
|
#XTOL: tooltip for target value. 0 - value
|
|
37
37
|
BULLETMICROCHART_TARGET_TOOLTIP=Ciljno {0}
|
|
38
38
|
#XTOL: tooltip for threshold value. 0 - value, 1 - semantic color
|
|
39
|
-
BULLETMICROCHART_THRESHOLD_TOOLTIP=Grani\u010Dna
|
|
39
|
+
BULLETMICROCHART_THRESHOLD_TOOLTIP=Grani\u010Dna vrednost {0} {1}
|
|
40
40
|
|
|
41
41
|
#XTOL: name of column micro chart used in aria label
|
|
42
42
|
COLUMNMICROCHART=Stubi\u010Dasti mikro dijagram
|
|
@@ -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 sap_bluecrystal with SAPUI5 version 1.44 the
|
|
8
|
+
/* inheritance of the base theme is now updated to an inheritance of a static
|
|
9
|
+
/* copy of the base theme named sap_bluecrystal_base. The respective
|
|
10
|
+
/* control css files of base are copied to the sap_bluecrystal_base theme folder.
|
|
11
|
+
/* This decoupling of the base theme is introduced with SAPUI5 version 1.124.
|
|
12
|
+
***********************************************************************************/
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@import "../sap_bluecrystal_base/library.source.less";
|
|
7
16
|
@import "../../../../../../sap/ui/core/themes/sap_bluecrystal/base.less";
|
|
8
17
|
@import "../../../../../../sap/ui/core/themes/sap_bluecrystal/global.less";
|
|
9
18
|
|