@sapui5/sap.suite.ui.microchart 1.127.0 → 1.128.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 (84) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/microchart/.library +1 -1
  3. package/src/sap/suite/ui/microchart/AreaMicroChart.js +1 -11
  4. package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +1 -1
  5. package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +1 -1
  6. package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +1 -1
  7. package/src/sap/suite/ui/microchart/BulletMicroChart.js +1 -11
  8. package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
  9. package/src/sap/suite/ui/microchart/ColumnMicroChart.js +1 -11
  10. package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +1 -1
  11. package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +1 -1
  12. package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +9 -13
  13. package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
  14. package/src/sap/suite/ui/microchart/DeltaMicroChart.js +1 -11
  15. package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +1 -11
  16. package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +1 -1
  17. package/src/sap/suite/ui/microchart/InteractiveBarChart.js +1 -1
  18. package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +1 -1
  19. package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +1 -1
  20. package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +1 -1
  21. package/src/sap/suite/ui/microchart/InteractiveLineChart.js +1 -1
  22. package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +1 -1
  23. package/src/sap/suite/ui/microchart/LineMicroChart.js +1 -11
  24. package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +1 -1
  25. package/src/sap/suite/ui/microchart/LineMicroChartLine.js +1 -1
  26. package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +1 -1
  27. package/src/sap/suite/ui/microchart/MicroChartUtils.js +5 -4
  28. package/src/sap/suite/ui/microchart/RadialMicroChart.js +1 -12
  29. package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +1 -11
  30. package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +1 -1
  31. package/src/sap/suite/ui/microchart/library.js +2 -2
  32. package/src/sap/suite/ui/microchart/messagebundle.properties +2 -27
  33. package/src/sap/suite/ui/microchart/messagebundle_ar.properties +2 -27
  34. package/src/sap/suite/ui/microchart/messagebundle_bg.properties +2 -27
  35. package/src/sap/suite/ui/microchart/messagebundle_ca.properties +2 -27
  36. package/src/sap/suite/ui/microchart/messagebundle_cnr.properties +2 -27
  37. package/src/sap/suite/ui/microchart/messagebundle_cs.properties +2 -27
  38. package/src/sap/suite/ui/microchart/messagebundle_cy.properties +2 -27
  39. package/src/sap/suite/ui/microchart/messagebundle_da.properties +2 -27
  40. package/src/sap/suite/ui/microchart/messagebundle_de.properties +2 -27
  41. package/src/sap/suite/ui/microchart/messagebundle_el.properties +2 -27
  42. package/src/sap/suite/ui/microchart/messagebundle_en.properties +2 -27
  43. package/src/sap/suite/ui/microchart/messagebundle_en_GB.properties +2 -27
  44. package/src/sap/suite/ui/microchart/messagebundle_en_US_sappsd.properties +59 -1
  45. package/src/sap/suite/ui/microchart/messagebundle_en_US_saprigi.properties +2 -27
  46. package/src/sap/suite/ui/microchart/messagebundle_en_US_saptrc.properties +133 -75
  47. package/src/sap/suite/ui/microchart/messagebundle_es.properties +2 -27
  48. package/src/sap/suite/ui/microchart/messagebundle_es_MX.properties +2 -27
  49. package/src/sap/suite/ui/microchart/messagebundle_et.properties +2 -27
  50. package/src/sap/suite/ui/microchart/messagebundle_fi.properties +2 -27
  51. package/src/sap/suite/ui/microchart/messagebundle_fr.properties +2 -27
  52. package/src/sap/suite/ui/microchart/messagebundle_fr_CA.properties +2 -27
  53. package/src/sap/suite/ui/microchart/messagebundle_hi.properties +2 -27
  54. package/src/sap/suite/ui/microchart/messagebundle_hr.properties +2 -27
  55. package/src/sap/suite/ui/microchart/messagebundle_hu.properties +2 -27
  56. package/src/sap/suite/ui/microchart/messagebundle_id.properties +2 -27
  57. package/src/sap/suite/ui/microchart/messagebundle_it.properties +2 -27
  58. package/src/sap/suite/ui/microchart/messagebundle_iw.properties +2 -27
  59. package/src/sap/suite/ui/microchart/messagebundle_ja.properties +2 -27
  60. package/src/sap/suite/ui/microchart/messagebundle_kk.properties +2 -27
  61. package/src/sap/suite/ui/microchart/messagebundle_ko.properties +2 -27
  62. package/src/sap/suite/ui/microchart/messagebundle_lt.properties +2 -27
  63. package/src/sap/suite/ui/microchart/messagebundle_lv.properties +2 -27
  64. package/src/sap/suite/ui/microchart/messagebundle_mk.properties +2 -27
  65. package/src/sap/suite/ui/microchart/messagebundle_ms.properties +2 -27
  66. package/src/sap/suite/ui/microchart/messagebundle_nl.properties +2 -27
  67. package/src/sap/suite/ui/microchart/messagebundle_no.properties +2 -27
  68. package/src/sap/suite/ui/microchart/messagebundle_pl.properties +2 -27
  69. package/src/sap/suite/ui/microchart/messagebundle_pt.properties +2 -27
  70. package/src/sap/suite/ui/microchart/messagebundle_pt_PT.properties +2 -27
  71. package/src/sap/suite/ui/microchart/messagebundle_ro.properties +2 -27
  72. package/src/sap/suite/ui/microchart/messagebundle_ru.properties +2 -27
  73. package/src/sap/suite/ui/microchart/messagebundle_sh.properties +2 -27
  74. package/src/sap/suite/ui/microchart/messagebundle_sk.properties +2 -27
  75. package/src/sap/suite/ui/microchart/messagebundle_sl.properties +2 -27
  76. package/src/sap/suite/ui/microchart/messagebundle_sr.properties +2 -27
  77. package/src/sap/suite/ui/microchart/messagebundle_sv.properties +2 -27
  78. package/src/sap/suite/ui/microchart/messagebundle_th.properties +2 -27
  79. package/src/sap/suite/ui/microchart/messagebundle_tr.properties +2 -27
  80. package/src/sap/suite/ui/microchart/messagebundle_uk.properties +2 -27
  81. package/src/sap/suite/ui/microchart/messagebundle_vi.properties +2 -27
  82. package/src/sap/suite/ui/microchart/messagebundle_zh_CN.properties +2 -27
  83. package/src/sap/suite/ui/microchart/messagebundle_zh_TW.properties +2 -27
  84. package/src/sap/suite/ui/microchart/themes/base/ComparisonMicroChart.less +21 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.microchart",
3
- "version": "1.127.0",
3
+ "version": "1.128.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.microchart",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2009-2024 SAP SE. All rights reserved.</copyright>
8
- <version>1.127.0</version>
8
+ <version>1.128.0</version>
9
9
 
10
10
  <documentation>UI5 library: sap.suite.ui.microchart</documentation>
11
11
 
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.127.0
41
+ * @version 1.128.0
42
42
  * @since 1.34
43
43
  *
44
44
  * @public
@@ -1163,16 +1163,6 @@ sap.ui.define([
1163
1163
  return sAltText;
1164
1164
  };
1165
1165
 
1166
- /**
1167
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
1168
- *
1169
- * @returns {string} The translated accessibility control type
1170
- * @private
1171
- */
1172
- AreaMicroChart.prototype._getAccessibilityControlType = function() {
1173
- return this._oRb.getText("ACC_CTR_TYPE_AREAMICROCHART");
1174
- };
1175
-
1176
1166
  AreaMicroChart.prototype.clone = function() {
1177
1167
  var oClone = Control.prototype.clone.apply(this, arguments);
1178
1168
  oClone._isMinXValue = this._isMinXValue;
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.127.0
24
+ * @version 1.128.0
25
25
  * @since 1.34
26
26
  *
27
27
  * @public
@@ -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.127.0
20
+ * @version 1.128.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.127.0
21
+ * @version 1.128.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.127.0
49
+ * @version 1.128.0
50
50
  * @since 1.34
51
51
  *
52
52
  * @public
@@ -652,16 +652,6 @@ sap.ui.define([
652
652
  return sAltText;
653
653
  };
654
654
 
655
- /**
656
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
657
- *
658
- * @returns {string} The translated accessibility control type
659
- * @private
660
- */
661
- BulletMicroChart.prototype._getAccessibilityControlType = function() {
662
- return this._oRb.getText("ACC_CTR_TYPE_BULLETMICROCHART");
663
- };
664
-
665
655
  BulletMicroChart.prototype.clone = function(sIdSuffix, aLocalIds, oOptions) {
666
656
  var oClone = Control.prototype.clone.apply(this, arguments);
667
657
  oClone._isMinValueSet = this._isMinValueSet;
@@ -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.127.0
20
+ * @version 1.128.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @constructor
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @extends sap.ui.core.Control
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.127.0
42
+ * @version 1.128.0
43
43
  * @since 1.34
44
44
  *
45
45
  * @public
@@ -479,16 +479,6 @@ sap.ui.define([
479
479
  return sAltText;
480
480
  };
481
481
 
482
- /**
483
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
484
- *
485
- * @returns {string} The translated accessibility control type
486
- * @private
487
- */
488
- ColumnMicroChart.prototype._getAccessibilityControlType = function() {
489
- return this._oRb.getText("ACC_CTR_TYPE_COLUMNMICROCHART");
490
- };
491
-
492
482
  ColumnMicroChart.prototype.onclick = function(oEvent) {
493
483
  if (!this.fireBarPress(oEvent)) {
494
484
  this.firePress();
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
17
17
  * Defines the column chart data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.127.0
20
+ * @version 1.128.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
  * Displays or hides the labels of a column micro chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.127.0
21
+ * @version 1.128.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -18,8 +18,9 @@ sap.ui.define([
18
18
  "./ComparisonMicroChartData",
19
19
  "sap/m/Menu",
20
20
  "sap/m/MenuItem",
21
- "sap/ui/core/Lib"
22
- ], function(jQuery, library, Control, Device, FlexBox, MicroChartUtils, mobileLibrary, ResizeHandler, ComparisonMicroChartRenderer, Core, Theming, ComparisonMicroChartData,Menu,MenuItem,CoreLib) {
21
+ "sap/ui/core/Lib",
22
+ "sap/base/i18n/Localization"
23
+ ], function(jQuery, library, Control, Device, FlexBox, MicroChartUtils, mobileLibrary, ResizeHandler, ComparisonMicroChartRenderer, Core, Theming, ComparisonMicroChartData,Menu,MenuItem,CoreLib,Localization) {
23
24
  "use strict";
24
25
 
25
26
  // shortcut for sap.m.ValueColor
@@ -27,6 +28,7 @@ sap.ui.define([
27
28
  var ComparisonMicroChartViewType = library.ComparisonMicroChartViewType;
28
29
  // shortcut for sap.m.Size
29
30
  var Size = mobileLibrary.Size;
31
+ var EAST_ASIA_CHARS = ['zh','zh-hk','zh-cn','zh-sg','zh-sw'];
30
32
 
31
33
  /**
32
34
  * Constructor for a new ComparisonMicroChart control.
@@ -39,7 +41,7 @@ sap.ui.define([
39
41
  * <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.
40
42
  * @extends sap.ui.core.Control
41
43
  *
42
- * @version 1.127.0
44
+ * @version 1.128.0
43
45
  * @since 1.34
44
46
  *
45
47
  * @public
@@ -360,6 +362,10 @@ sap.ui.define([
360
362
 
361
363
  //attaches handler for mouseenter event
362
364
  this._bindMouseEnterLeaveHandler();
365
+
366
+ var sCurrentLanguage = Localization.getLanguageTag().language;
367
+ var bIsEastAsiaCharPresent = EAST_ASIA_CHARS.includes(sCurrentLanguage.toLowerCase());
368
+ this.toggleStyleClass("sapCMCEastCharsPresent",bIsEastAsiaCharPresent);
363
369
  };
364
370
 
365
371
  /**
@@ -420,16 +426,6 @@ sap.ui.define([
420
426
  return sAltText;
421
427
  };
422
428
 
423
- /**
424
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
425
- *
426
- * @returns {string} The translated accessibility control type
427
- * @private
428
- */
429
- ComparisonMicroChart.prototype._getAccessibilityControlType = function() {
430
- return this._oRb.getText("ACC_CTR_TYPE_COMPARISONMICROCHART");
431
- };
432
-
433
429
  ComparisonMicroChart.prototype.exit = function() {
434
430
  ResizeHandler.deregister(this._sChartResizeHandlerId);
435
431
  };
@@ -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.127.0
21
+ * @version 1.128.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @constructor
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.127.0
47
+ * @version 1.128.0
48
48
  * @since 1.34
49
49
  *
50
50
  * @public
@@ -276,16 +276,6 @@ sap.ui.define([
276
276
  return sAltText;
277
277
  };
278
278
 
279
- /**
280
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
281
- *
282
- * @returns {string} The translated accessibility control type
283
- * @private
284
- */
285
- DeltaMicroChart.prototype._getAccessibilityControlType = function() {
286
- return this._oRb.getText("ACC_CTR_TYPE_DELTAMICROCHART");
287
- };
288
-
289
279
  DeltaMicroChart.prototype.onBeforeRendering = function() {
290
280
  this._oChartData = this._calcChartData();
291
281
  if (this._sResizeHandlerId) {
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.127.0
38
+ * @version 1.128.0
39
39
  * @since 1.34
40
40
  *
41
41
  * @public
@@ -250,16 +250,6 @@ sap.ui.define([
250
250
  return sTooltipHeader;
251
251
  };
252
252
 
253
- /**
254
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
255
- *
256
- * @returns {string} The translated accessibility control type
257
- * @private
258
- */
259
- HarveyBallMicroChart.prototype._getAccessibilityControlType = function () {
260
- return this._oRb.getText("ACC_CTR_TYPE_HARVEYBALLMICROCHART");
261
- };
262
-
263
253
  HarveyBallMicroChart.prototype.init = function () {
264
254
  this._oRb = Core.getLibraryResourceBundle("sap.suite.ui.microchart");
265
255
  this.setAggregation("tooltip", "((AltText))", true);
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.127.0
23
+ * @version 1.128.0
24
24
  * @since 1.34
25
25
  *
26
26
  * @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.127.0
35
+ * @version 1.128.0
36
36
  *
37
37
  * @public
38
38
  * @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.127.0
19
+ * @version 1.128.0
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.127.0
35
+ * @version 1.128.0
36
36
  *
37
37
  * @public
38
38
  * @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.127.0
18
+ * @version 1.128.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.127.0
45
+ * @version 1.128.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.127.0
19
+ * @version 1.128.0
20
20
  *
21
21
  * @public
22
22
  * @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.127.0
35
+ * @version 1.128.0
36
36
  * @since 1.48.0
37
37
  *
38
38
  * @public
@@ -272,16 +272,6 @@ sap.ui.define([
272
272
  /* API methods */
273
273
  /* =========================================================== */
274
274
 
275
- /**
276
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
277
- *
278
- * @returns {string} The translated accessibility control type
279
- * @private
280
- */
281
- LineMicroChart.prototype._getAccessibilityControlType = function() {
282
- return this._oRb.getText("ACC_CTR_TYPE_LINEMICROCHART");
283
- };
284
-
285
275
  LineMicroChart.prototype.getThreshold = function() {
286
276
  if (this._bThresholdNull) {
287
277
  return null;
@@ -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.127.0
24
+ * @version 1.128.0
25
25
  * @since 1.48.0
26
26
  *
27
27
  * @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.127.0
29
+ * @version 1.128.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.127.0
21
+ * @version 1.128.0
22
22
  * @since 1.48.0
23
23
  *
24
24
  * @constructor
@@ -7,10 +7,11 @@ sap.ui.define([
7
7
  "sap/ui/core/Control",
8
8
  "sap/m/library",
9
9
  "sap/ui/core/Theming",
10
- "sap/ui/thirdparty/jquery"
11
- ], function(Control, MobileLibrary, Theming, jQuery) {
10
+ "sap/ui/thirdparty/jquery",
11
+ "sap/ui/core/Lib"
12
+ ], function(Control, MobileLibrary, Theming, jQuery, Lib) {
12
13
  "use strict";
13
-
14
+ var oRb = Lib.getResourceBundleFor("sap.suite.ui.microchart");
14
15
  var Size = MobileLibrary.Size;
15
16
 
16
17
  var MicroChartUtils = {
@@ -45,7 +46,7 @@ sap.ui.define([
45
46
  */
46
47
  MicroChart.prototype.getAccessibilityInfo = function() {
47
48
  return {
48
- type: this._getAccessibilityControlType(),
49
+ type: oRb.getText("ACC_CTR_TYPE_MICROCHART"),
49
50
  description: this.getTooltip_AsString()
50
51
  };
51
52
  };
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.127.0
33
+ * @version 1.128.0
34
34
  * @since 1.36.0
35
35
  *
36
36
  * @constructor
@@ -331,17 +331,6 @@ sap.ui.define([
331
331
  }
332
332
  };
333
333
 
334
-
335
- /**
336
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
337
- *
338
- * @returns {string} The translated accessibility control type
339
- * @private
340
- */
341
- RadialMicroChart.prototype._getAccessibilityControlType = function() {
342
- return this._oRb.getText("ACC_CTR_TYPE_RADIALMICROCHART");
343
- };
344
-
345
334
  /**
346
335
  * Checks if the valueColor property is a member of sap.m.ValueColor
347
336
  * @returns {boolean} True if the valueColor property is a member of sap.m.ValueColor, false if otherwise.
@@ -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.127.0
36
+ * @version 1.128.0
37
37
  * @since 1.44.0
38
38
  *
39
39
  * @public
@@ -171,16 +171,6 @@ sap.ui.define([
171
171
  return this;
172
172
  };
173
173
 
174
- /**
175
- * Returns the translated accessibility control type. It describes the type of the MicroChart control.
176
- *
177
- * @returns {string} The translated accessibility control type
178
- * @private
179
- */
180
- StackedBarMicroChart.prototype._getAccessibilityControlType = function() {
181
- return this._oRb.getText("ACC_CTR_TYPE_STACKEDBARMICROCHART");
182
- };
183
-
184
174
  /* =========================================================== */
185
175
  /* Protected methods */
186
176
  /* =========================================================== */
@@ -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.127.0
23
+ * @version 1.128.0
24
24
  * @since 1.44.0
25
25
  *
26
26
  * @constructor
@@ -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.127.0
25
+ * @version 1.128.0
26
26
  * @public
27
27
  */
28
28
  var thisLib = CoreLib.init({
29
29
  name: "sap.suite.ui.microchart",
30
- version: "1.127.0",
30
+ version: "1.128.0",
31
31
  // library dependencies
32
32
  dependencies: ["sap.ui.core", "sap.m"],
33
33
  types: [
@@ -92,36 +92,11 @@ RADIALMICROCHART_ARIA_LABEL={0}%, status {1}
92
92
  RADIALMICROCHART_PERCENTAGE_TEXT={0}%
93
93
  #XFLD: Percentage symbol for RadialMicroChart
94
94
  RADIALMICROCHART_PERCENTAGE_SYMBOL={0}
95
-
96
95
  #XTOL: name of stacked bar micro chart used in aria label
97
96
  STACKEDBARMICROCHART=Stacked Bar Micro Chart
98
97
 
99
- #XACT: type of a UI control is an AreaMicroChart
100
- ACC_CTR_TYPE_AREAMICROCHART=Area Chart Visualization
101
-
102
- #XACT: type of a UI control is a BulletMicroChart
103
- ACC_CTR_TYPE_BULLETMICROCHART=Bullet Chart Visualization
104
-
105
- #XACT: type of a UI control is a ColumnMicroChart
106
- ACC_CTR_TYPE_COLUMNMICROCHART=Column Chart Visualization
107
-
108
- #XACT: type of a UI control is a ComparisonMicroChart
109
- ACC_CTR_TYPE_COMPARISONMICROCHART=Comparison Chart Visualization
110
-
111
- #XACT: type of a UI control is a DeltaMicroChart
112
- ACC_CTR_TYPE_DELTAMICROCHART=Delta Chart Visualization
113
-
114
- #XACT: type of a UI control is a HarveyBallMicroChart
115
- ACC_CTR_TYPE_HARVEYBALLMICROCHART=Harvey Ball Chart Visualization
116
-
117
- #XACT: type of a UI control is a LineMicroChart
118
- ACC_CTR_TYPE_LINEMICROCHART=Line Chart Visualization
119
-
120
- #XACT: type of a UI control is a RadialMicroChart
121
- ACC_CTR_TYPE_RADIALMICROCHART=Chart Visualization
122
-
123
- #XACT: type of a UI control is a StackedBarMicroChart
124
- ACC_CTR_TYPE_STACKEDBARMICROCHART=Stacked Bar Chart Visualization
98
+ #XACT: type of a UI control is an MicroChart
99
+ ACC_CTR_TYPE_MICROCHART= Chart Visualization
125
100
 
126
101
  #XACT: type of a UI control is a InteractiveBarChart
127
102
  INTERACTIVEBARCHART=Interactive Bar Chart
@@ -92,36 +92,11 @@ RADIALMICROCHART_ARIA_LABEL={0}%\u060C \u0627\u0644\u062D\u0627\u0644\u0629 {1}
92
92
  RADIALMICROCHART_PERCENTAGE_TEXT={0}%
93
93
  #XFLD: Percentage symbol for RadialMicroChart
94
94
  RADIALMICROCHART_PERCENTAGE_SYMBOL={0}
95
-
96
95
  #XTOL: name of stacked bar micro chart used in aria label
97
96
  STACKEDBARMICROCHART=\u0645\u062E\u0637\u0637 \u0634\u0631\u064A\u0637\u064A \u0645\u062A\u0631\u0627\u0643\u0628
98
97
 
99
- #XACT: type of a UI control is an AreaMicroChart
100
- ACC_CTR_TYPE_AREAMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u0645\u0633\u0627\u062D\u064A
101
-
102
- #XACT: type of a UI control is a BulletMicroChart
103
- ACC_CTR_TYPE_BULLETMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u0646\u0642\u0637\u064A
104
-
105
- #XACT: type of a UI control is a ColumnMicroChart
106
- ACC_CTR_TYPE_COLUMNMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u0639\u0645\u0648\u062F\u064A
107
-
108
- #XACT: type of a UI control is a ComparisonMicroChart
109
- ACC_CTR_TYPE_COMPARISONMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u0645\u0642\u0627\u0631\u0646\u0629
110
-
111
- #XACT: type of a UI control is a DeltaMicroChart
112
- ACC_CTR_TYPE_DELTAMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u0641\u0631\u0642
113
-
114
- #XACT: type of a UI control is a HarveyBallMicroChart
115
- ACC_CTR_TYPE_HARVEYBALLMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u0643\u0631\u0627\u062A \u0647\u0627\u0631\u0641\u064A
116
-
117
- #XACT: type of a UI control is a LineMicroChart
118
- ACC_CTR_TYPE_LINEMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u062E\u0637\u064A
119
-
120
- #XACT: type of a UI control is a RadialMicroChart
121
- ACC_CTR_TYPE_RADIALMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637
122
-
123
- #XACT: type of a UI control is a StackedBarMicroChart
124
- ACC_CTR_TYPE_STACKEDBARMICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637 \u0634\u0631\u064A\u0637\u064A \u0645\u062A\u0631\u0627\u0643\u0628
98
+ #XACT: type of a UI control is an MicroChart
99
+ ACC_CTR_TYPE_MICROCHART=\u0639\u0631\u0636 \u0645\u062E\u0637\u0637
125
100
 
126
101
  #XACT: type of a UI control is a InteractiveBarChart
127
102
  INTERACTIVEBARCHART=\u0645\u062E\u0637\u0637 \u0634\u0631\u064A\u0637\u064A \u062A\u0641\u0627\u0639\u0644\u064A
@@ -92,36 +92,11 @@ RADIALMICROCHART_ARIA_LABEL={0}%, \u0441\u0442\u0430\u0442\u0443\u0441 {1}
92
92
  RADIALMICROCHART_PERCENTAGE_TEXT={0}%
93
93
  #XFLD: Percentage symbol for RadialMicroChart
94
94
  RADIALMICROCHART_PERCENTAGE_SYMBOL={0}
95
-
96
95
  #XTOL: name of stacked bar micro chart used in aria label
97
96
  STACKEDBARMICROCHART=\u0421\u0442\u044A\u043B\u0431\u043E\u0432\u0438\u0434\u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0441 \u043D\u0430\u0441\u043B\u0430\u0433\u0432\u0430\u043D\u0435
98
97
 
99
- #XACT: type of a UI control is an AreaMicroChart
100
- ACC_CTR_TYPE_AREAMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u043F\u043B\u043E\u0449\u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430
101
-
102
- #XACT: type of a UI control is a BulletMicroChart
103
- ACC_CTR_TYPE_BULLETMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0442\u0438\u043F \u201C\u0421\u043A\u0430\u043B\u0430\u201D
104
-
105
- #XACT: type of a UI control is a ColumnMicroChart
106
- ACC_CTR_TYPE_COLUMNMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u043A\u043E\u043B\u043E\u043D\u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430
107
-
108
- #XACT: type of a UI control is a ComparisonMicroChart
109
- ACC_CTR_TYPE_COMPARISONMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u0441\u0440\u0430\u0432\u043D\u0438\u0442\u0435\u043B\u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430
110
-
111
- #XACT: type of a UI control is a DeltaMicroChart
112
- ACC_CTR_TYPE_DELTAMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0435\u043B\u0442\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430
113
-
114
- #XACT: type of a UI control is a HarveyBallMicroChart
115
- ACC_CTR_TYPE_HARVEYBALLMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0442\u0438\u043F \u201C\u041A\u0440\u044A\u0433\u043E\u0432\u0435 \u043D\u0430 \u0425\u0430\u0440\u0432\u0438\u201D
116
-
117
- #XACT: type of a UI control is a LineMicroChart
118
- ACC_CTR_TYPE_LINEMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u043B\u0438\u043D\u0435\u0439\u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430
119
-
120
- #XACT: type of a UI control is a RadialMicroChart
121
- ACC_CTR_TYPE_RADIALMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430
122
-
123
- #XACT: type of a UI control is a StackedBarMicroChart
124
- ACC_CTR_TYPE_STACKEDBARMICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u0441\u0442\u044A\u043B\u0431\u043E\u0432\u0438\u0434\u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0441 \u043D\u0430\u0441\u043B\u0430\u0433\u0432\u0430\u043D\u0435
98
+ #XACT: type of a UI control is an MicroChart
99
+ ACC_CTR_TYPE_MICROCHART=\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430
125
100
 
126
101
  #XACT: type of a UI control is a InteractiveBarChart
127
102
  INTERACTIVEBARCHART=\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0441\u0442\u044A\u043B\u0431\u043E\u0432\u0438\u0434\u043D\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u0430