@sapui5/sap.suite.ui.microchart 1.150.0 → 1.151.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 +1 -1
- 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 +7 -1
- 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 +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/InteractiveLineChartRenderer.js +8 -2
- 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/LineMicroChartRenderer.js +1 -0
- 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/package.json
CHANGED
|
@@ -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.
|
|
20
|
+
* @version 1.151.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.151.0
|
|
50
50
|
* @since 1.34
|
|
51
51
|
*
|
|
52
52
|
* @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.
|
|
43
|
+
* @version 1.151.0
|
|
44
44
|
* @since 1.34
|
|
45
45
|
*
|
|
46
46
|
* @public
|
|
@@ -903,6 +903,12 @@ sap.ui.define([
|
|
|
903
903
|
* @private
|
|
904
904
|
*/
|
|
905
905
|
ComparisonMicroChart.prototype._openMenu = function() {
|
|
906
|
+
var bAnyPressListener = this.hasListeners("press") || this.getData().some(function(oItem) {
|
|
907
|
+
return oItem.hasListeners("press");
|
|
908
|
+
});
|
|
909
|
+
if (!bAnyPressListener) {
|
|
910
|
+
return;
|
|
911
|
+
}
|
|
906
912
|
if (this._isDataChanged()) {
|
|
907
913
|
this._oMenu.removeAllItems();
|
|
908
914
|
this._oMenu.addItem(new MenuItem({
|
|
@@ -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.151.0
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
48
48
|
* @since 1.42.0
|
|
@@ -62,7 +62,6 @@ sap.ui.define([
|
|
|
62
62
|
|
|
63
63
|
oRm.openStart("div");
|
|
64
64
|
oRm.class("sapSuiteILCWrapperChild");
|
|
65
|
-
oRm.attr("aria-hidden", "true");
|
|
66
65
|
oRm.openEnd();
|
|
67
66
|
oRm.openStart("div");
|
|
68
67
|
oRm.class("sapSuiteILCInner");
|
|
@@ -77,6 +76,7 @@ sap.ui.define([
|
|
|
77
76
|
if (oControl._fNormalizedZero) {
|
|
78
77
|
oRm.class("sapSuiteILCBottomLabelAreaNoDivider");
|
|
79
78
|
}
|
|
79
|
+
oRm.attr("aria-hidden", "true");
|
|
80
80
|
oRm.openEnd();
|
|
81
81
|
oRm.close("div");
|
|
82
82
|
|
|
@@ -121,7 +121,7 @@ sap.ui.define([
|
|
|
121
121
|
InteractiveLineChartRenderer._renderSecondaryLabel = function (oRm, oControl, index, percentageWidth, sLabel) {
|
|
122
122
|
oRm.openStart("div");
|
|
123
123
|
oRm.class("sapSuiteILCSecondaryLabel");
|
|
124
|
-
|
|
124
|
+
oRm.attr("aria-hidden", "true");
|
|
125
125
|
oRm.style("width", percentageWidth + "%");
|
|
126
126
|
oRm.style("left", (index * percentageWidth) + "%");
|
|
127
127
|
oRm.openEnd();
|
|
@@ -168,11 +168,13 @@ sap.ui.define([
|
|
|
168
168
|
oRm.class("sapSuiteILCPoint");
|
|
169
169
|
oRm.style("bottom", oControl._aNormalizedValues[index] + "%");
|
|
170
170
|
}
|
|
171
|
+
oRm.attr("aria-hidden", "true");
|
|
171
172
|
oRm.openEnd();
|
|
172
173
|
oRm.close("div");
|
|
173
174
|
|
|
174
175
|
oRm.openStart("div");
|
|
175
176
|
oRm.class("sapSuiteILCBackgroundArea");
|
|
177
|
+
oRm.attr("aria-hidden", "true");
|
|
176
178
|
oRm.openEnd();
|
|
177
179
|
oRm.close("div");
|
|
178
180
|
|
|
@@ -231,6 +233,7 @@ sap.ui.define([
|
|
|
231
233
|
oRm.openStart("div");
|
|
232
234
|
oRm.class("sapSuiteILCChartCanvas");
|
|
233
235
|
oRm.class("sapSuiteILCCanvasLayout");
|
|
236
|
+
oRm.attr("aria-hidden", "true");
|
|
234
237
|
oRm.openEnd();
|
|
235
238
|
|
|
236
239
|
oRm.openStart("svg");
|
|
@@ -300,6 +303,7 @@ sap.ui.define([
|
|
|
300
303
|
oRm.class("sapSuiteILCTextElement");
|
|
301
304
|
oRm.class("sapSuiteILCBottomText");
|
|
302
305
|
oRm.class("sapMPointer");
|
|
306
|
+
oRm.attr("aria-hidden", "true");
|
|
303
307
|
oRm.openEnd();
|
|
304
308
|
oRm.text(sBottomLabelText);
|
|
305
309
|
oRm.close("div");
|
|
@@ -339,6 +343,7 @@ sap.ui.define([
|
|
|
339
343
|
oRm.class("sapSuiteILCShiftBelow");
|
|
340
344
|
oRm.class("sapSuiteILCNaLabel");
|
|
341
345
|
}
|
|
346
|
+
oRm.attr("aria-hidden", "true");
|
|
342
347
|
oRm.openEnd();
|
|
343
348
|
oRm.text(sTopLabelText);
|
|
344
349
|
oRm.close("div");
|
|
@@ -358,6 +363,7 @@ sap.ui.define([
|
|
|
358
363
|
InteractiveLineChartRenderer._renderDisabledOverlay = function (oRm, oControl) {
|
|
359
364
|
oRm.openStart("div");
|
|
360
365
|
oRm.class("sapSuiteILCDisabledOverlay");
|
|
366
|
+
oRm.attr("aria-hidden", "true");
|
|
361
367
|
oRm.openEnd();
|
|
362
368
|
oRm.close("div");
|
|
363
369
|
};
|
|
@@ -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.
|
|
34
|
+
* @version 1.151.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.
|
|
21
|
+
* @version 1.151.0
|
|
22
22
|
* @since 1.48.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
@@ -125,6 +125,7 @@ sap.ui.define([
|
|
|
125
125
|
if (oControl._bScalingValid) {
|
|
126
126
|
oRm.openStart("svg", oControl.getId() + "-sapSuiteLMCSvgElement");
|
|
127
127
|
oRm.attr("focusable", "false");
|
|
128
|
+
oRm.attr("aria-hidden", "true");
|
|
128
129
|
oRm.class("sapSuiteLMCSvgElement");
|
|
129
130
|
oRm.openEnd();
|
|
130
131
|
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* <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.
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.151.0
|
|
38
38
|
* @since 1.44.0
|
|
39
39
|
*
|
|
40
40
|
* @public
|
|
@@ -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.
|
|
24
|
+
* @version 1.151.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.
|
|
30
|
+
version: "1.151.0",
|
|
31
31
|
// library dependencies
|
|
32
32
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
33
33
|
types: [
|