@sapui5/sap.suite.ui.commons 1.84.12 → 1.84.14

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 (47) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/commons/.library +1 -1
  3. package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
  4. package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
  5. package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
  6. package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
  7. package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
  8. package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
  9. package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
  10. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
  11. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  12. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  13. package/src/sap/suite/ui/commons/TimelineItem.js +3 -1
  14. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  15. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  16. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  17. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  18. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  27. package/src/sap/suite/ui/commons/library.js +1 -1
  28. package/src/sap/suite/ui/commons/networkgraph/KeyboardNavigator.js +1 -1
  29. package/src/sap/suite/ui/commons/networkgraph/Node.js +9 -7
  30. package/src/sap/suite/ui/commons/networkgraph/layout/TwoColumnsLayout.js +24 -20
  31. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  32. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  33. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  34. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  35. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  36. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  37. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  38. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  39. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  40. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  41. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  42. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  43. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  44. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  45. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  46. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  47. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.84.12",
3
+ "version": "1.84.14",
4
4
  "description": "SAPUI5 Library sap.suite.ui.commons",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -7,7 +7,7 @@
7
7
  SAP UI development toolkit for HTML5 (SAPUI5)
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.84.12</version>
10
+ <version>1.84.14</version>
11
11
 
12
12
  <documentation>SAP UI library: sap.suite.ui.commons</documentation>
13
13
 
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.core.Element
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.84.12
20
+ * @version 1.84.14
21
21
  * @since 1.65.0
22
22
  *
23
23
  * @constructor
@@ -125,7 +125,7 @@ sap.ui.define([
125
125
  * @extends sap.ui.core.Control
126
126
  *
127
127
  * @author SAP SE
128
- * @version 1.84.12
128
+ * @version 1.84.14
129
129
  * @since 1.56.0
130
130
  *
131
131
  * @constructor
@@ -101,7 +101,7 @@ sap.ui.define([
101
101
  * @extends sap.ui.core.Control
102
102
  *
103
103
  * @author SAP SE
104
- * @version 1.84.12
104
+ * @version 1.84.14
105
105
  * @since 1.56.0
106
106
  *
107
107
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.core.Control
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.84.12
21
+ * @version 1.84.14
22
22
  * @since 1.56.0
23
23
  *
24
24
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Control
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.84.12
18
+ * @version 1.84.14
19
19
  * @since 1.60.0
20
20
  *
21
21
  * @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.84.12
33
+ * @version 1.84.14
34
34
  * @since 1.56.0
35
35
  *
36
36
  * @constructor
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @extends sap.ui.base.ManagedObject
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.84.12
19
+ * @version 1.84.14
20
20
  * @since 1.56.0
21
21
  *
22
22
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Control
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.84.12
18
+ * @version 1.84.14
19
19
  * @since 1.56.0
20
20
  *
21
21
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.84.12
31
+ * @version 1.84.14
32
32
  *
33
33
  * @constructor
34
34
  * @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.84.12
33
+ * @version 1.84.14
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -838,7 +838,9 @@ sap.ui.define([
838
838
  });
839
839
 
840
840
  // Jam Can't deal with that
841
- oImage.setDensityAware(false);
841
+ if (oImage instanceof sap.m.Image){
842
+ oImage.setDensityAware(false);
843
+ }
842
844
  return oImage;
843
845
  });
844
846
 
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @constructor
22
22
  * @alias sap.suite.ui.commons.flexibility.changeHandler.PropertyChangeMapper
23
- * @version 1.84.12
23
+ * @version 1.84.14
24
24
  * @since 1.50
25
25
  * @private
26
26
  */
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.84.12
24
+ * @version 1.84.14
25
25
  * @since 1.67.0
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.84.12
26
+ * @version 1.84.14
27
27
  * @since 1.66.0
28
28
  *
29
29
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.84.12
24
+ * @version 1.84.14
25
25
  * @since 1.66.0
26
26
  *
27
27
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Element
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.84.12
18
+ * @version 1.84.14
19
19
  * @since 1.66.0
20
20
  *
21
21
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.84.12
24
+ * @version 1.84.14
25
25
  * @since 1.66.0
26
26
  *
27
27
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.84.12
21
+ * @version 1.84.14
22
22
  * @since 1.66.0
23
23
  *
24
24
  * @constructor
@@ -10,7 +10,7 @@ sap.ui.define([
10
10
  * @extends sap.ui.base.Object
11
11
  *
12
12
  * @author SAP SE
13
- * @version 1.84.12
13
+ * @version 1.84.14
14
14
  * @since 1.66.0
15
15
  *
16
16
  * @abstract
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.84.12
45
+ * @version 1.84.14
46
46
  * @since 1.66.0
47
47
  *
48
48
  * @constructor
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * @extends sap.ui.core.Control
125
125
  *
126
126
  * @author SAP SE
127
- * @version 1.84.12
127
+ * @version 1.84.14
128
128
  * @since 1.66.0
129
129
  *
130
130
  * @constructor
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.suite.ui.commons.imageeditor.ImageEditorContainer
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.84.12
29
+ * @version 1.84.14
30
30
  * @since 1.68.0
31
31
  *
32
32
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.84.12
25
+ * @version 1.84.14
26
26
  * @since 1.66.0
27
27
  *
28
28
  * @constructor
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.84.12
19
+ * @version 1.84.14
20
20
  * @since 1.66.0
21
21
  *
22
22
  * @constructor
@@ -182,7 +182,7 @@ sap.ui.define([
182
182
  "sap.suite.ui.commons.TargetFilterMeasureColumn",
183
183
  "sap.suite.ui.commons.AriaProperties"
184
184
  ],
185
- version: "1.84.12",
185
+ version: "1.84.14",
186
186
  extensions: {
187
187
  flChangeHandlers: {
188
188
  "sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
@@ -278,7 +278,7 @@ sap.ui.define([
278
278
  if (oBtn) {
279
279
  this._oGraph._isUseNodeHtml() ? jQuery(oBtn).trigger("click") : jQuery(oBtn).children().first().trigger("click");
280
280
  } else {
281
- oItem._mouseDown(false);
281
+ oItem._onClick(false);
282
282
 
283
283
  if (!oItem.getSelected()) {
284
284
  oItem.$().removeClass(oItem.HIGHLIGHT_CLASS);
@@ -1486,14 +1486,9 @@ sap.ui.define([
1486
1486
  Node.prototype._setupEvents = function() {
1487
1487
  var $wrapper = this.$("wrapper");
1488
1488
 
1489
- $wrapper.unbind("mousedown");
1490
1489
  $wrapper.unbind("mouseover");
1491
1490
  $wrapper.unbind("mouseout");
1492
-
1493
- $wrapper.mousedown(function(oEvent) {
1494
- this._mouseDown(oEvent.ctrlKey);
1495
- oEvent.preventDefault();
1496
- }.bind(this));
1491
+ $wrapper.unbind("click");
1497
1492
 
1498
1493
  $wrapper.mouseover(function(oEvent) {
1499
1494
  this._mouseOver();
@@ -1502,6 +1497,13 @@ sap.ui.define([
1502
1497
  $wrapper.mouseout(function(oEvent) {
1503
1498
  this._mouseOut();
1504
1499
  }.bind(this));
1500
+
1501
+ $wrapper.click(function(oEvent) {
1502
+ if (oEvent.which === 1) {
1503
+ this._onClick(oEvent.ctrlKey);
1504
+ }
1505
+ oEvent.preventDefault();
1506
+ }.bind(this));
1505
1507
  };
1506
1508
 
1507
1509
  Node.prototype._mouseOut = function() {
@@ -1524,7 +1526,7 @@ sap.ui.define([
1524
1526
  }
1525
1527
  };
1526
1528
 
1527
- Node.prototype._mouseDown = function(bIsCtrlKey) {
1529
+ Node.prototype._onClick = function(bIsCtrlKey) {
1528
1530
  var bExecuteDefault = this.fireEvent("press", {}, true);
1529
1531
 
1530
1532
  this.getParent()._selectNode({
@@ -522,26 +522,30 @@ sap.ui.define([
522
522
  });
523
523
  },
524
524
  fnProcessBenderBacklog = function () {
525
- var fSpaceForLines = CENTRAL_SPACE_PORTION_FOR_LINES * (this.oRightColumn.getX() - (this.oLeftColumn.getX() + this.oLeftColumn._iWidth)),
526
- iGapCount = this.oGraph.getLines().length - 1,
527
- fComputedGap = fSpaceForLines / iGapCount,
528
- fRealGap = fComputedGap < IDEAL_VERTICAL_LINE_GAP ? fComputedGap : IDEAL_VERTICAL_LINE_GAP,
529
- fCenterVertical = (aLeftNodes[0].getCenterPosition().x + aRightNodes[0].getCenterPosition().x) / 2,
530
- fLeftmostVertical = fCenterVertical - iGapCount * fRealGap / 2,
531
- fCurrentVertical = fLeftmostVertical;
532
-
533
- aBenderBacklog.forEach(function (oLine) {
534
- oLine.addBend({
535
- x: fCurrentVertical,
536
- y: oLine.getSource().getY()
537
- });
538
- oLine.addBend({
539
- x: fCurrentVertical,
540
- y: oLine.getTarget().getY()
541
- });
542
- fCurrentVertical += fRealGap;
543
- });
544
- }.bind(this);
525
+ var fSpaceForLines = CENTRAL_SPACE_PORTION_FOR_LINES * (this.oRightColumn.getX() - (this.oLeftColumn.getX() + this.oLeftColumn._iWidth)),
526
+ iGapCount = this.oGraph.getLines().length - 1,
527
+ fComputedGap = fSpaceForLines / iGapCount,
528
+ fRealGap = fComputedGap < IDEAL_VERTICAL_LINE_GAP ? fComputedGap : IDEAL_VERTICAL_LINE_GAP,
529
+ fCenterVertical = (aLeftNodes[0].getCenterPosition().x + aRightNodes[0].getCenterPosition().x) / 2,
530
+ fLeftmostVertical = fCenterVertical - iGapCount * fRealGap / 2,
531
+ fCurrentVertical = fLeftmostVertical,
532
+ iInitialFCurrentVertical = fLeftmostVertical;
533
+ aBenderBacklog.forEach(function (oLine) {
534
+ if (fCurrentVertical >= aRightNodes[0]._oGroup.getX() - fRealGap) {
535
+ fCurrentVertical = iInitialFCurrentVertical;
536
+ } else {
537
+ fCurrentVertical += fRealGap;
538
+ }
539
+ oLine.addBend({
540
+ x: fCurrentVertical,
541
+ y: oLine.getSource().getY()
542
+ });
543
+ oLine.addBend({
544
+ x: fCurrentVertical,
545
+ y: oLine.getTarget().getY()
546
+ });
547
+ });
548
+ }.bind(this);
545
549
 
546
550
  this.oGraph.getNodes().forEach(function (oNode) {
547
551
  // Separate left and right nodes
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.84.12
27
+ * @version 1.84.14
28
28
  * @since 1.50
29
29
  *
30
30
  * @constructor
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.suite.ui.commons.statusindicator.Shape
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.84.12
34
+ * @version 1.84.14
35
35
  * @since 1.50
36
36
  *
37
37
  * @constructor
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.84.12
22
+ * @version 1.84.14
23
23
  * @since 1.50
24
24
  *
25
25
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Control
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.84.12
24
+ * @version 1.84.14
25
25
  * @since 1.50
26
26
  *
27
27
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.statusindicator.CustomShape
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.84.12
24
+ * @version 1.84.14
25
25
  * @since 1.60.0
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.84.12
26
+ * @version 1.84.14
27
27
  * @since 1.50
28
28
  *
29
29
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.84.12
25
+ * @version 1.84.14
26
26
  * @since 1.50
27
27
  *
28
28
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define(
18
18
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.84.12
21
+ * @version 1.84.14
22
22
  * @since 1.50
23
23
  *
24
24
  * @constructor
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.84.12
38
+ * @version 1.84.14
39
39
  * @since 1.50
40
40
  *
41
41
  * @constructor
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.84.12
30
+ * @version 1.84.14
31
31
  * @since 1.50
32
32
  *
33
33
  * @constructor
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.suite.ui.commons.statusindicator.Shape
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.84.12
28
+ * @version 1.84.14
29
29
  * @since 1.50
30
30
  *
31
31
  * @constructor
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends sap.ui.core.Control
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.84.12
48
+ * @version 1.84.14
49
49
  * @since 1.50
50
50
  *
51
51
  * @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.84.12
47
+ * @version 1.84.14
48
48
  * @since 1.58.0
49
49
  *
50
50
  * @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.84.12
33
+ * @version 1.84.14
34
34
  * @since 1.58.0
35
35
  *
36
36
  * @constructor
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.84.12
29
+ * @version 1.84.14
30
30
  * @since 1.58.0
31
31
  *
32
32
  * @constructor
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.core.Control
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.84.12
20
+ * @version 1.84.14
21
21
  * @since 1.58.0
22
22
  *
23
23
  * @constructor
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.84.12
53
+ * @version 1.84.14
54
54
  * @since 1.58.0
55
55
  *
56
56
  * @constructor