@sapui5/sap.suite.ui.microchart 1.100.0 → 1.102.1

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 (30) 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 -1
  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 -1
  8. package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
  9. package/src/sap/suite/ui/microchart/ColumnMicroChart.js +1 -1
  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 +1 -1
  13. package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
  14. package/src/sap/suite/ui/microchart/DeltaMicroChart.js +1 -1
  15. package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +1 -1
  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 -1
  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/RadialMicroChart.js +1 -1
  28. package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +1 -1
  29. package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +1 -1
  30. package/src/sap/suite/ui/microchart/library.js +22 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.microchart",
3
- "version": "1.100.0",
3
+ "version": "1.102.1",
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-2022 SAP SE. All rights reserved.</copyright>
8
- <version>1.100.0</version>
8
+ <version>1.102.1</version>
9
9
 
10
10
  <documentation>UI5 library: sap.suite.ui.microchart</documentation>
11
11
 
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.100.0
38
+ * @version 1.102.1
39
39
  * @since 1.34
40
40
  *
41
41
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.100.0
23
+ * @version 1.102.1
24
24
  * @since 1.34
25
25
  *
26
26
  * @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.100.0
20
+ * @version 1.102.1
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.100.0
21
+ * @version 1.102.1
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
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.
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
- * @version 1.100.0
44
+ * @version 1.102.1
45
45
  * @since 1.34
46
46
  *
47
47
  * @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.100.0
20
+ * @version 1.102.1
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.100.0
41
+ * @version 1.102.1
42
42
  * @since 1.34
43
43
  *
44
44
  * @public
@@ -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.100.0
20
+ * @version 1.102.1
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.100.0
21
+ * @version 1.102.1
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -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.100.0
36
+ * @version 1.102.1
37
37
  * @since 1.34
38
38
  *
39
39
  * @public
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control'],
17
17
  * Contains the values of the comparison chart.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.100.0
20
+ * @version 1.102.1
21
21
  * @since 1.34
22
22
  *
23
23
  * @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.100.0
47
+ * @version 1.102.1
48
48
  * @since 1.34
49
49
  *
50
50
  * @public
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.100.0
38
+ * @version 1.102.1
39
39
  * @since 1.34
40
40
  *
41
41
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.100.0
23
+ * @version 1.102.1
24
24
  * @since 1.34
25
25
  *
26
26
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.100.0
33
+ * @version 1.102.1
34
34
  *
35
35
  * @public
36
36
  * @since 1.42.0
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.100.0
19
+ * @version 1.102.1
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.100.0
34
+ * @version 1.102.1
35
35
  *
36
36
  * @public
37
37
  * @since 1.42.0
@@ -15,7 +15,7 @@ sap.ui.define(["./library", "sap/ui/core/Element"], function(library, Element) {
15
15
  * @extends sap.ui.core.Element
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.100.0
18
+ * @version 1.102.1
19
19
  *
20
20
  * @public
21
21
  * @since 1.42.0
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * The InteractiveLineChart control belongs to a chart control group in the MicroChart library having a number of interactive features.
42
42
  * @extends sap.ui.core.Control
43
43
  * @author SAP SE
44
- * @version 1.100.0
44
+ * @version 1.102.1
45
45
  *
46
46
  * @public
47
47
  * @since 1.42.0
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.100.0
19
+ * @version 1.102.1
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * <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.
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
- * @version 1.100.0
33
+ * @version 1.102.1
34
34
  * @since 1.48.0
35
35
  *
36
36
  * @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.100.0
24
+ * @version 1.102.1
25
25
  * @since 1.48.0
26
26
  *
27
27
  * @constructor
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.100.0
28
+ * @version 1.102.1
29
29
  * @since 1.60
30
30
  *
31
31
  * @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.100.0
21
+ * @version 1.102.1
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.100.0
33
+ * @version 1.102.1
34
34
  * @since 1.36.0
35
35
  *
36
36
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * <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.
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
- * @version 1.100.0
33
+ * @version 1.102.1
34
34
  * @since 1.44.0
35
35
  *
36
36
  * @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.100.0
23
+ * @version 1.102.1
24
24
  * @since 1.44.0
25
25
  *
26
26
  * @constructor
@@ -18,17 +18,15 @@ sap.ui.define([
18
18
  /**
19
19
  * UI5 library: sap.suite.ui.microchart.
20
20
  *
21
- * @namespace sap.suite.ui.microchart
22
- * @name sap.suite.ui.microchart
21
+ * @namespace
22
+ * @alias sap.suite.ui.microchart
23
23
  * @author SAP SE
24
- * @version 1.100.0
24
+ * @version 1.102.1
25
25
  * @public
26
26
  */
27
-
28
- // delegate further initialization of this library to the Core
29
- sap.ui.getCore().initLibrary({
27
+ var thisLib = sap.ui.getCore().initLibrary({
30
28
  name: "sap.suite.ui.microchart",
31
- version: "1.100.0",
29
+ version: "1.102.1",
32
30
  // library dependencies
33
31
  dependencies: ["sap.ui.core", "sap.m"],
34
32
  types: [
@@ -84,7 +82,7 @@ sap.ui.define([
84
82
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
85
83
  * @since 1.34
86
84
  */
87
- sap.suite.ui.microchart.AreaMicroChartViewType = {
85
+ thisLib.AreaMicroChartViewType = {
88
86
 
89
87
  /**
90
88
  * The view with labels on the top and bottom.
@@ -108,7 +106,7 @@ sap.ui.define([
108
106
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
109
107
  * @since 1.34
110
108
  */
111
- sap.suite.ui.microchart.BulletMicroChartModeType = {
109
+ thisLib.BulletMicroChartModeType = {
112
110
  /**
113
111
  * Displays the Actual value.
114
112
  * @public
@@ -130,7 +128,7 @@ sap.ui.define([
130
128
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
131
129
  * @since 1.34
132
130
  */
133
- sap.suite.ui.microchart.CommonBackgroundType = {
131
+ thisLib.CommonBackgroundType = {
134
132
  /**
135
133
  * The lightest background color.
136
134
  * @public
@@ -194,7 +192,7 @@ sap.ui.define([
194
192
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel*
195
193
  * @since 1.60
196
194
  */
197
- sap.suite.ui.microchart.LineType = {
195
+ thisLib.LineType = {
198
196
  /**
199
197
  * Solid line.
200
198
  * @public
@@ -222,7 +220,7 @@ sap.ui.define([
222
220
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel*
223
221
  * @since 1.62
224
222
  */
225
- sap.suite.ui.microchart.HorizontalAlignmentType = {
223
+ thisLib.HorizontalAlignmentType = {
226
224
  /**
227
225
  * Left alignment.
228
226
  * @public
@@ -250,7 +248,7 @@ sap.ui.define([
250
248
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
251
249
  * @since 1.34
252
250
  */
253
- sap.suite.ui.microchart.ComparisonMicroChartViewType = {
251
+ thisLib.ComparisonMicroChartViewType = {
254
252
  /**
255
253
  * Titles and values are displayed above the bars.
256
254
  * @public
@@ -280,7 +278,7 @@ sap.ui.define([
280
278
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
281
279
  * @since 1.61
282
280
  */
283
- sap.suite.ui.microchart.DeltaMicroChartViewType = {
281
+ thisLib.DeltaMicroChartViewType = {
284
282
  /**
285
283
  * Titles are displayed above the bars.
286
284
  * @public
@@ -307,7 +305,7 @@ sap.ui.define([
307
305
  *
308
306
  * @deprecated Since 1.46
309
307
  */
310
- sap.suite.ui.microchart.LoadStateType = {
308
+ thisLib.LoadStateType = {
311
309
  /**
312
310
  * LoadableView is loading the control.
313
311
  * @public
@@ -333,7 +331,7 @@ sap.ui.define([
333
331
  Disabled: "Disabled"
334
332
  };
335
333
 
336
- sap.suite.ui.microchart._aStandardMarginClassNames = [
334
+ thisLib._aStandardMarginClassNames = [
337
335
  "sapUiTinyMargin", "sapUiSmallMargin", "sapUiMediumMargin", "sapUiLargeMargin", "sapUiTinyMarginBeginEnd", "sapUiTinyMarginTopBottom", "sapUiSmallMarginBeginEnd",
338
336
  "sapUiSmallMarginTopBottom", "sapUiMediumMarginBeginEnd", "sapUiMediumMarginTopBottom", "sapUiLargeMarginBeginEnd", "sapUiLargeMarginTopBottom", "sapUiTinyMarginTop",
339
337
  "sapUiTinyMarginBottom", "sapUiTinyMarginBegin", "sapUiTinyMarginEnd", "sapUiSmallMarginTop", "sapUiSmallMarginBottom", "sapUiSmallMarginBegin", "sapUiSmallMarginEnd",
@@ -346,10 +344,10 @@ sap.ui.define([
346
344
  * @param {Object} oChart The outer Chart instance wrapper
347
345
  * @private
348
346
  */
349
- sap.suite.ui.microchart._removeStandardMargins = function(oChart) {
350
- for (var i = 0; i < sap.suite.ui.microchart._aStandardMarginClassNames.length; i++) {
351
- if (oChart.hasStyleClass(sap.suite.ui.microchart._aStandardMarginClassNames[i])) {
352
- oChart.removeStyleClass(sap.suite.ui.microchart._aStandardMarginClassNames[i]);
347
+ thisLib._removeStandardMargins = function(oChart) {
348
+ for (var i = 0; i < thisLib._aStandardMarginClassNames.length; i++) {
349
+ if (oChart.hasStyleClass(thisLib._aStandardMarginClassNames[i])) {
350
+ oChart.removeStyleClass(thisLib._aStandardMarginClassNames[i]);
353
351
  }
354
352
  }
355
353
  };
@@ -360,7 +358,7 @@ sap.ui.define([
360
358
  * @param {Object} oChildChart The inner Chart instance which gets the outer Chart instance wrapper instance context
361
359
  * @private
362
360
  */
363
- sap.suite.ui.microchart._passParentContextToChild = function(oChart, oChildChart) {
361
+ thisLib._passParentContextToChild = function(oChart, oChildChart) {
364
362
  if (oChart.data("_parentRenderingContext")) {
365
363
  oChildChart.data("_parentRenderingContext", oChart.data("_parentRenderingContext"));
366
364
  } else if (typeof oChart.getParent === "function") {
@@ -374,7 +372,7 @@ sap.ui.define([
374
372
  * @returns {boolean} True if the tooltip consists of only whitespace characters, false otherwise.
375
373
  * @private
376
374
  */
377
- sap.suite.ui.microchart._isTooltipSuppressed = function(tooltip) {
375
+ thisLib._isTooltipSuppressed = function(tooltip) {
378
376
  return tooltip !== null && tooltip !== undefined && !tooltip.trim();
379
377
  };
380
378
 
@@ -385,7 +383,7 @@ sap.ui.define([
385
383
  * @param {function} callback The callback function to be called when the control becomes visible
386
384
  * @private
387
385
  */
388
- sap.suite.ui.microchart._checkControlIsVisible = function(control, callback) {
386
+ thisLib._checkControlIsVisible = function(control, callback) {
389
387
  function isControlVisible() {
390
388
  return control.getVisible() && control.getDomRef() && control.$().is(":visible") && control.getDomRef().getBoundingClientRect().width !== 0;
391
389
  }
@@ -418,5 +416,5 @@ sap.ui.define([
418
416
 
419
417
 
420
418
 
421
- return sap.suite.ui.microchart;
419
+ return thisLib;
422
420
  });