@sapui5/sap.suite.ui.commons 1.151.0 → 1.152.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 (61) 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/CloudFilePicker.js +1 -1
  12. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  13. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  14. package/src/sap/suite/ui/commons/TimelineNavigator.js +12 -9
  15. package/src/sap/suite/ui/commons/collaboration/UniversalCollaborationBar.js +475 -361
  16. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  17. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  18. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  27. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  28. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  29. package/src/sap/suite/ui/commons/library.js +1 -1
  30. package/src/sap/suite/ui/commons/messagebundle_mk.properties +1 -1
  31. package/src/sap/suite/ui/commons/networkgraph/ElementBase.js +7 -2
  32. package/src/sap/suite/ui/commons/networkgraph/Graph.js +9 -4
  33. package/src/sap/suite/ui/commons/networkgraph/Group.js +1 -1
  34. package/src/sap/suite/ui/commons/networkgraph/Line.js +11 -0
  35. package/src/sap/suite/ui/commons/networkgraph/Node.js +1 -1
  36. package/src/sap/suite/ui/commons/networkgraph/Tooltip.js +3 -1
  37. package/src/sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils.js +14 -66
  38. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  39. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  40. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  41. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  42. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  43. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  44. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  45. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  46. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  47. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  48. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  49. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  50. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  51. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  52. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  53. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  54. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
  55. package/src/sap/suite/ui/commons/themes/base/NetworkGraph.less +23 -6
  56. package/src/sap/suite/ui/commons/themes/base/Timeline.less +2 -2
  57. package/src/sap/suite/ui/commons/themes/sap_belize_base/NetworkGraph.less +23 -6
  58. package/src/sap/suite/ui/commons/themes/sap_belize_base/Timeline.less +2 -2
  59. package/src/sap/suite/ui/commons/themes/sap_belize_hcb/NetworkGraph.less +23 -2
  60. package/src/sap/suite/ui/commons/themes/sap_belize_hcw/NetworkGraph.less +23 -2
  61. package/src/sap/suite/ui/commons/themes/sap_hcb/base_NetworkGraph.less +23 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.151.0",
3
+ "version": "1.152.0",
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.151.0</version>
10
+ <version>1.152.0</version>
11
11
 
12
12
  <documentation>SAP UI library: sap.suite.ui.commons</documentation>
13
13
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.151.0
22
+ * @version 1.152.0
23
23
  * @since 1.65.0
24
24
  *
25
25
  * @constructor
@@ -134,7 +134,7 @@ sap.ui.define([
134
134
  * @extends sap.ui.core.Control
135
135
  *
136
136
  * @author SAP SE
137
- * @version 1.151.0
137
+ * @version 1.152.0
138
138
  * @since 1.56.0
139
139
  *
140
140
  * @constructor
@@ -148,7 +148,7 @@ sap.ui.define([
148
148
  * @extends sap.ui.core.Control
149
149
  *
150
150
  * @author SAP SE
151
- * @version 1.151.0
151
+ * @version 1.152.0
152
152
  * @since 1.56.0
153
153
  *
154
154
  * @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.151.0
29
+ * @version 1.152.0
30
30
  * @since 1.56.0
31
31
  *
32
32
  * @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.151.0
25
+ * @version 1.152.0
26
26
  * @since 1.60.0
27
27
  *
28
28
  * @constructor
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.151.0
43
+ * @version 1.152.0
44
44
  * @since 1.56.0
45
45
  *
46
46
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.base.ManagedObject
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.151.0
24
+ * @version 1.152.0
25
25
  * @since 1.56.0
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.151.0
26
+ * @version 1.152.0
27
27
  * @since 1.56.0
28
28
  *
29
29
  * @constructor
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @class
119
119
  * @public
120
120
  * @internal
121
- * @version 1.151.0
121
+ * @version 1.152.0
122
122
  */
123
123
  var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
124
124
  metadata: {
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.151.0
53
+ * @version 1.152.0
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.151.0
41
+ * @version 1.152.0
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -435,14 +435,12 @@ sap.ui.define([
435
435
  oNextPosition,
436
436
  oItem;
437
437
 
438
- if (!this._aRows) {
439
- this._callParent("onsapnext", arguments);
438
+ if (this._skipNavigation(oEvent, true, false)) {
440
439
  return;
441
440
  }
442
441
 
443
- // Sepcial hadling of sparce table when right key or down key was pressed.
444
- //debugger;
445
- if (this._skipNavigation(oEvent, true, false)) {
442
+ if (!this._aRows) {
443
+ this._callParent("onsapnext", arguments);
446
444
  return;
447
445
  }
448
446
 
@@ -515,13 +513,12 @@ sap.ui.define([
515
513
  oNextPosition,
516
514
  oItem;
517
515
 
518
- if (!this._aRows) {
519
- this._callParent("onsapprevious", arguments);
516
+ if (this._skipNavigation(oEvent, true, false)) {
520
517
  return;
521
518
  }
522
519
 
523
- // Sepcial hadling of sparce table when right key or down key was pressed.
524
- if (this._skipNavigation(oEvent, true, false)) {
520
+ if (!this._aRows) {
521
+ this._callParent("onsapprevious", arguments);
525
522
  return;
526
523
  }
527
524
 
@@ -683,6 +680,12 @@ sap.ui.define([
683
680
  jQuery(this.oLastFocused).focus();
684
681
  }
685
682
  }
683
+ // Sync iFocusedIndex when Tab brings focus directly onto a navigation item (e.g. after leaving an embedded TextArea).
684
+ // Without this, iFocusedIndex stays stale and the first ArrowKey press re-focuses the already-focused item.
685
+ var iIndex = this.aItemDomRefs ? Array.prototype.indexOf.call(this.aItemDomRefs, oEvent.target) : -1;
686
+ if (iIndex >= 0) {
687
+ this.iFocusedIndex = iIndex;
688
+ }
686
689
 
687
690
  };
688
691