@openui5/sap.f 1.136.3 → 1.139.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 (103) hide show
  1. package/README.md +1 -1
  2. package/REUSE.toml +8 -29
  3. package/THIRDPARTY.txt +72 -90
  4. package/package.json +5 -5
  5. package/src/sap/f/.library +1 -1
  6. package/src/sap/f/Avatar.js +1 -1
  7. package/src/sap/f/AvatarGroup.js +1 -1
  8. package/src/sap/f/AvatarGroupItem.js +1 -1
  9. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  10. package/src/sap/f/CalendarInCard.js +1 -1
  11. package/src/sap/f/Card.js +1 -1
  12. package/src/sap/f/CardBase.js +1 -1
  13. package/src/sap/f/DynamicPage.js +1 -1
  14. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  15. package/src/sap/f/DynamicPageHeader.js +12 -12
  16. package/src/sap/f/DynamicPageTitle.js +4 -3
  17. package/src/sap/f/FlexibleColumnLayout.js +7 -3
  18. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  19. package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
  20. package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
  21. package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
  22. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  23. package/src/sap/f/GridContainer.js +1 -1
  24. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  25. package/src/sap/f/GridContainerSettings.js +2 -2
  26. package/src/sap/f/GridList.js +1 -1
  27. package/src/sap/f/GridListItem.js +1 -1
  28. package/src/sap/f/IllustratedMessage.js +1 -1
  29. package/src/sap/f/Illustration.js +1 -1
  30. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  31. package/src/sap/f/ProductSwitch.js +1 -1
  32. package/src/sap/f/ProductSwitchItem.js +1 -1
  33. package/src/sap/f/SearchManager.js +1 -1
  34. package/src/sap/f/ShellBar.js +1 -1
  35. package/src/sap/f/SidePanel.js +20 -5
  36. package/src/sap/f/SidePanelItem.js +1 -1
  37. package/src/sap/f/cards/BaseHeader.js +1 -1
  38. package/src/sap/f/cards/BaseHeaderRenderer.js +2 -2
  39. package/src/sap/f/cards/Header.js +1 -1
  40. package/src/sap/f/cards/NumericHeader.js +1 -1
  41. package/src/sap/f/cards/NumericIndicators.js +1 -1
  42. package/src/sap/f/cards/NumericSideIndicator.js +1 -1
  43. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  46. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  47. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  48. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  49. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  50. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  51. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  52. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  53. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  54. package/src/sap/f/dnd/GridDragOver.js +1 -1
  55. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  56. package/src/sap/f/library.js +2 -2
  57. package/src/sap/f/routing/Target.js +38 -11
  58. package/src/sap/f/routing/Targets.js +44 -11
  59. package/src/sap/f/semantic/AddAction.js +1 -1
  60. package/src/sap/f/semantic/CloseAction.js +1 -1
  61. package/src/sap/f/semantic/CopyAction.js +1 -1
  62. package/src/sap/f/semantic/DeleteAction.js +1 -1
  63. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  64. package/src/sap/f/semantic/EditAction.js +1 -1
  65. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  66. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  67. package/src/sap/f/semantic/FlagAction.js +1 -1
  68. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  69. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  70. package/src/sap/f/semantic/MainAction.js +1 -1
  71. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  72. package/src/sap/f/semantic/NegativeAction.js +1 -1
  73. package/src/sap/f/semantic/PositiveAction.js +1 -1
  74. package/src/sap/f/semantic/PrintAction.js +1 -1
  75. package/src/sap/f/semantic/SemanticButton.js +1 -1
  76. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  77. package/src/sap/f/semantic/SemanticControl.js +1 -1
  78. package/src/sap/f/semantic/SemanticPage.js +1 -1
  79. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  80. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  81. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  82. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  83. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  84. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  85. package/src/sap/f/shellBar/CoPilot.js +1 -1
  86. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  87. package/src/sap/f/shellBar/Search.js +1 -1
  88. package/src/sap/f/themes/base/Card.less +1 -1
  89. package/src/sap/f/themes/base/CardHeaders.less +8 -4
  90. package/src/sap/f/themes/base/CardNumericIndicators.less +6 -5
  91. package/src/sap/f/themes/base/DynamicPage.less +55 -76
  92. package/src/sap/f/themes/base/DynamicPageHeader.less +7 -4
  93. package/src/sap/f/themes/base/ListPlaceholder.less +1 -1
  94. package/src/sap/f/themes/base/ObjectPlaceholder.less +3 -2
  95. package/src/sap/f/themes/base/ProductSwitch.less +5 -0
  96. package/src/sap/f/themes/base/ProductSwitchItem.less +24 -24
  97. package/src/sap/f/themes/base/SemanticPage.less +4 -0
  98. package/src/sap/f/themes/base/ShellBar.less +75 -47
  99. package/src/sap/f/themes/base/SidePanel.less +5 -12
  100. package/src/sap/f/themes/base/TablePlaceholder.less +3 -3
  101. package/src/sap/f/themes/base/TimelinePlaceholder.less +3 -4
  102. package/src/sap/f/routing/async/Target.js +0 -53
  103. package/src/sap/f/routing/async/Targets.js +0 -59
@@ -100,7 +100,7 @@ sap.ui.define([
100
100
  * @extends sap.ui.core.Control
101
101
  *
102
102
  * @author SAP SE
103
- * @version 1.136.3
103
+ * @version 1.139.0
104
104
  *
105
105
  * @constructor
106
106
  * @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.136.3
35
+ * @version 1.139.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * This calendar appointment is used in card content of type Calendar.
22
22
  *
23
23
  * @extends sap.ui.unified.CalendarAppointment
24
- * @version 1.136.3
24
+ * @version 1.139.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * <code>sap.m.Toolbar</code> with <code>sap.m.Buttons</code>.
46
46
  *
47
47
  * @extends sap.ui.unified.Calendar
48
- * @version 1.136.3
48
+ * @version 1.139.0
49
49
  *
50
50
  * @constructor
51
51
  * @private
package/src/sap/f/Card.js CHANGED
@@ -71,7 +71,7 @@ sap.ui.define([
71
71
  * @extends sap.f.CardBase
72
72
  *
73
73
  * @author SAP SE
74
- * @version 1.136.3
74
+ * @version 1.139.0
75
75
  *
76
76
  * @constructor
77
77
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.136.3
44
+ * @version 1.139.0
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @extends sap.ui.core.Control
119
119
  *
120
120
  * @author SAP SE
121
- * @version 1.136.3
121
+ * @version 1.139.0
122
122
  *
123
123
  * @constructor
124
124
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.136.3
26
+ * @version 1.139.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @extends sap.ui.core.Control
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.136.3
67
+ * @version 1.139.0
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -142,6 +142,7 @@ sap.ui.define([
142
142
  this._bShowCollapseButton = true;
143
143
  this._oInvisibleMessage = null;
144
144
  this._oLandmarkInfo = null;
145
+ this._bExpanded = true; // Default state is expanded
145
146
  };
146
147
 
147
148
  DynamicPageHeader.prototype.onAfterRendering = function () {
@@ -221,11 +222,15 @@ sap.ui.define([
221
222
  var $header = this.$(),
222
223
  bHasHeaderContentLabel = this._oLandmarkInfo && this._oLandmarkInfo.getHeaderContentLabel();
223
224
 
224
- if (bHasHeaderContentLabel) {
225
- var sHeaderContentLabel = this._oLandmarkInfo.getHeaderContentLabel();
226
- $header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, sHeaderContentLabel);
225
+ if (this._bExpanded) {
226
+ if (bHasHeaderContentLabel) {
227
+ var sHeaderContentLabel = this._oLandmarkInfo.getHeaderContentLabel();
228
+ $header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, sHeaderContentLabel);
229
+ } else {
230
+ $header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_EXPANDED);
231
+ }
227
232
  } else {
228
- $header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_EXPANDED);
233
+ $header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_COLLAPSED);
229
234
  }
230
235
  };
231
236
 
@@ -254,13 +259,8 @@ sap.ui.define([
254
259
  * @private
255
260
  */
256
261
  DynamicPageHeader.prototype._updateARIAState = function (bExpanded) {
257
- var $header = this.$();
258
-
259
- if (bExpanded) {
260
- $header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_EXPANDED);
261
- } else {
262
- $header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_COLLAPSED);
263
- }
262
+ this._bExpanded = bExpanded;
263
+ this._applyAriaAttributes();
264
264
  };
265
265
 
266
266
  /**
@@ -95,7 +95,7 @@ sap.ui.define([
95
95
  * @extends sap.ui.core.Control
96
96
  *
97
97
  * @author SAP SE
98
- * @version 1.136.3
98
+ * @version 1.139.0
99
99
  *
100
100
  * @constructor
101
101
  * @public
@@ -212,8 +212,9 @@ sap.ui.define([
212
212
 
213
213
  /**
214
214
  * The <code>DynamicPageTitle</code> actions.
215
- * <br><b>Note:</b> The <code>actions</code> aggregation accepts any UI5 control, but it`s recommended to use controls,
216
- * suitable for {@link sap.m.Toolbar} and {@link sap.m.OverflowToolbar}.
215
+ * <br><b>Note:</b> The <code>actions</code> aggregation accepts any UI5 control.
216
+ * However, it is best to use buttons or controls that work well inside toolbars, such
217
+ * as those typically used with {@link sap.m.Toolbar} and {@link sap.m.OverflowToolbar}.
217
218
  *
218
219
  * <b>Note:</b> If the <code>snappedTitleOnMobile</code> aggregation is set, its
219
220
  * content overrides this aggregation when the control is viewed on a phone mobile
@@ -108,7 +108,7 @@ sap.ui.define([
108
108
  *
109
109
  * @extends sap.ui.core.Control
110
110
  * @author SAP SE
111
- * @version 1.136.3
111
+ * @version 1.139.0
112
112
  *
113
113
  * @constructor
114
114
  * @public
@@ -753,9 +753,13 @@ sap.ui.define([
753
753
  * Connects the keyboard event listeners so resizing via keyboard will be possible
754
754
  */
755
755
  FlexibleColumnLayout.prototype._enableKeyboardListeners = function() {
756
- this.onsaprightmodifiers = this._keyListeners.increase;
757
- this.onsapleftmodifiers = this._keyListeners.decrease;
756
+ this.onsaprightmodifiers = this._keyListeners.increase; //right or down key to increase column width
757
+ this.onsapdownmodifiers = this._keyListeners.increase;
758
+ this.onsapleftmodifiers = this._keyListeners.decrease; //left or up key to decrease column width
759
+ this.onsapupmodifiers = this._keyListeners.decrease;
758
760
  this.onsapright = this._keyListeners.increaseMore;
761
+ this.onsapdown = this._keyListeners.increaseMore;
762
+ this.onsapup = this._keyListeners.decreaseMore;
759
763
  this.onsapleft = this._keyListeners.decreaseMore;
760
764
  this.onsapend = this._keyListeners.max;
761
765
  this.onsaphome = this._keyListeners.min;
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.136.3
25
+ * @version 1.139.0
26
26
  * @since 1.95
27
27
  *
28
28
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define(["sap/ui/core/LayoutData", "sap/ui/base/ManagedObjectObserver", "s
21
21
  *
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.136.3
24
+ * @version 1.139.0
25
25
  *
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/LayoutData'],
20
20
  *
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.136.3
23
+ * @version 1.139.0
24
24
  *
25
25
  * @extends sap.ui.core.LayoutData
26
26
  *
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/LayoutData'],
20
20
  *
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.136.3
23
+ * @version 1.139.0
24
24
  *
25
25
  * @extends sap.ui.core.LayoutData
26
26
  *
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  *
50
50
  * For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
51
51
  *
52
- * @version 1.136.3
52
+ * @version 1.139.0
53
53
  * @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
54
54
  * The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
55
55
  *
@@ -163,7 +163,7 @@ sap.ui.define([
163
163
  * @see {@link sap.f.dnd.GridDropInfo}
164
164
  *
165
165
  * @author SAP SE
166
- * @version 1.136.3
166
+ * @version 1.139.0
167
167
  *
168
168
  * @extends sap.ui.core.Control
169
169
  *
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/LayoutData'],
21
21
  * @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.136.3
24
+ * @version 1.139.0
25
25
  *
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
@@ -58,14 +58,14 @@ sap.ui.define([
58
58
  * Can be used to define the sizes of columns and rows for different screen sizes, by using the <code>layout</code> aggregations of <code>sap.f.GridContainer</code>.
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.136.3
61
+ * @version 1.139.0
62
62
  *
63
63
  * @extends sap.ui.base.ManagedObject
64
64
  *
65
65
  * @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.136.3
68
+ * @version 1.139.0
69
69
  *
70
70
  * @since 1.65
71
71
  * @public
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
94
94
  *
95
95
  * @author SAP SE
96
- * @version 1.136.3
96
+ * @version 1.139.0
97
97
  *
98
98
  * @extends sap.m.ListBase
99
99
  * @implements sap.ui.layout.cssgrid.IGridConfigurable
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.ListItemBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.136.3
27
+ * @version 1.139.0
28
28
  *
29
29
  * @since 1.70
30
30
  * @constructor
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.m.IllustratedMessage
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.136.3
59
+ * @version 1.139.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.Illustration
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.136.3
33
+ * @version 1.139.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/PlanningCalendarLegend', "sap/ui/core/Lib", 'sap/ui/unifie
22
22
  * @extends sap.m.PlanningCalendarLegend
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.136.3
25
+ * @version 1.139.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.136.3
37
+ * @version 1.139.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.136.3
43
+ * @version 1.139.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/base/ManagedObjectObserver', './sh
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.136.3
26
+ * @version 1.139.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -58,7 +58,7 @@ function(
58
58
  * @implements sap.f.IShellBar, sap.m.IBar
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.136.3
61
+ * @version 1.139.0
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -26,6 +26,7 @@ sap.ui.define([
26
26
  "./library",
27
27
  "sap/ui/core/library",
28
28
  "sap/ui/events/F6Navigation",
29
+ "sap/base/i18n/Localization",
29
30
  "sap/ui/thirdparty/jquery",
30
31
  "sap/ui/events/KeyCodes"
31
32
  ], function(
@@ -49,6 +50,7 @@ sap.ui.define([
49
50
  library,
50
51
  coreLibrary,
51
52
  F6Navigation,
53
+ Localization,
52
54
  jQuery,
53
55
  KeyCodes
54
56
  ) {
@@ -151,7 +153,7 @@ sap.ui.define([
151
153
  * @extends sap.ui.core.Control
152
154
  *
153
155
  * @author SAP SE
154
- * @version 1.136.3
156
+ * @version 1.139.0
155
157
  *
156
158
  * @constructor
157
159
  * @public
@@ -488,7 +490,7 @@ sap.ui.define([
488
490
  if (bSplitterFocused){
489
491
  this._bContextMenuFromSplitter = true;
490
492
  }
491
- this._showResizeContextMenu(oEvent);
493
+ this._showResizeContextMenu(oEvent, !bSplitterFocused);
492
494
  }
493
495
  };
494
496
 
@@ -501,6 +503,10 @@ sap.ui.define([
501
503
  bSplitterFocused = document.activeElement === this.getDomRef().querySelector(".sapFSPSplitterBar"),
502
504
  iDirectionModifier = this.getSidePanelPosition() === SidePanelPosition.Right ? 1 : -1;
503
505
 
506
+ if (Localization.getRTL()) {
507
+ iDirectionModifier = -iDirectionModifier;
508
+ }
509
+
504
510
  if (bCtrlOrCmd && oEvent.which === KeyCodes.ARROW_LEFT) {
505
511
  oEvent.preventDefault();
506
512
  if (bSideContentExpanded) {
@@ -1343,6 +1349,10 @@ sap.ui.define([
1343
1349
  iDeltaX = -iDeltaX;
1344
1350
  }
1345
1351
 
1352
+ if (Localization.getRTL()) {
1353
+ iDeltaX = -iDeltaX;
1354
+ }
1355
+
1346
1356
  oEvent.preventDefault();
1347
1357
 
1348
1358
  if (iSidePanelWidth) {
@@ -1387,11 +1397,16 @@ sap.ui.define([
1387
1397
  }
1388
1398
  };
1389
1399
 
1390
- SidePanel.prototype._showResizeContextMenu = function(oEvent) {
1391
- var oContextMenu = this._getContextMenu();
1400
+ SidePanel.prototype._showResizeContextMenu = function(oEvent, bSkipOpener) {
1401
+ const oContextMenu = this._getContextMenu(),
1402
+ oOpener = !bSkipOpener ? this : null;
1392
1403
 
1393
1404
  this._bResizeStarted = false;
1394
- (this._bContextMenuFromSplitter && oContextMenu.openBy(this.getDomRef().querySelector(".sapFSPSplitterBarGrip"))) || oContextMenu.openAsContextMenu(oEvent, this);
1405
+ if (this._bContextMenuFromSplitter) {
1406
+ oContextMenu.openBy(this.getDomRef().querySelector(".sapFSPSplitterBarGrip"));
1407
+ } else {
1408
+ oContextMenu.openAsContextMenu(oEvent, oOpener);
1409
+ }
1395
1410
  };
1396
1411
 
1397
1412
  return SidePanel;
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Item
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.136.3
30
+ * @version 1.139.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @abstract
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.136.3
58
+ * @version 1.139.0
59
59
  *
60
60
  * @constructor
61
61
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([], function () {
34
34
  oRm.class("sapFCardHeaderHasToolbar");
35
35
  }
36
36
 
37
- if (!bHasNumericPart) {
37
+ if (!bHasNumericPart && !oHeader.getInfoSection().length) {
38
38
  oRm.class("sapFCardHeaderMainPartOnly");
39
39
  }
40
40
 
@@ -84,7 +84,7 @@ sap.ui.define([], function () {
84
84
  oRm.class("sapFCardSectionClickable");
85
85
  }
86
86
 
87
- if (!this.hasNumericPart(oHeader)) {
87
+ if (!this.hasNumericPart(oHeader) && !oHeader.getInfoSection().length || oError) {
88
88
  oRm.class("sapFCardHeaderLastPart");
89
89
  }
90
90
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @implements sap.f.cards.IHeader
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.136.3
51
+ * @version 1.139.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @implements sap.f.cards.IHeader
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.136.3
61
+ * @version 1.139.0
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.136.3
28
+ * @version 1.139.0
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.3
31
+ * @version 1.139.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.f.cards.loading.PlaceholderBase
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.3
22
+ * @version 1.139.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.f.cards.loading.ListPlaceholder
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.3
22
+ * @version 1.139.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.f.cards.loading.PlaceholderBase
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.3
22
+ * @version 1.139.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.f.cards.loading.PlaceholderBase
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.3
22
+ * @version 1.139.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.f.cards.loading.PlaceholderBase
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.136.3
32
+ * @version 1.139.0
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.136.3
25
+ * @version 1.139.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.f.cards.loading.PlaceholderBase
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.3
22
+ * @version 1.139.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.f.cards.loading.PlaceholderBase
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.3
22
+ * @version 1.139.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @alias sap.f.changeHandler.MoveDynamicPageTitleActions
18
18
  * @author SAP SE
19
- * @version 1.136.3
19
+ * @version 1.139.0
20
20
  */
21
21
  var MoveActions = { };
22
22
  var ACTION_AGGREGATION_NAME = "actions";
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  *
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.136.3
28
+ * @version 1.139.0
29
29
  *
30
30
  * @extends sap.f.delegate.GridItemNavigation
31
31
  *
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  *
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.136.3
37
+ * @version 1.139.0
38
38
  *
39
39
  * @extends sap.ui.core.delegate.ItemNavigation
40
40
  *
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * Handles dragging of a control over a given grid container.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.136.3
21
+ * @version 1.139.0
22
22
  *
23
23
  * @extends sap.ui.base.Object
24
24
  *
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.dnd.DropInfo
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.136.3
40
+ * @version 1.139.0
41
41
  *
42
42
  * @public
43
43
  * @since 1.68