@openui5/sap.f 1.115.1 → 1.117.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 (139) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +4 -4
  4. package/src/sap/f/.library +1 -1
  5. package/src/sap/f/Avatar.js +1 -1
  6. package/src/sap/f/AvatarGroup.js +1 -1
  7. package/src/sap/f/AvatarGroupItem.js +1 -1
  8. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  9. package/src/sap/f/CalendarInCard.js +1 -1
  10. package/src/sap/f/Card.js +1 -1
  11. package/src/sap/f/CardBase.js +1 -1
  12. package/src/sap/f/DynamicPage.js +38 -4
  13. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  14. package/src/sap/f/DynamicPageHeader.js +1 -1
  15. package/src/sap/f/DynamicPageTitle.js +6 -2
  16. package/src/sap/f/DynamicPageTitleRenderer.js +2 -2
  17. package/src/sap/f/FlexibleColumnLayout.js +1 -1
  18. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  19. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  20. package/src/sap/f/GridContainer.js +1 -1
  21. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  22. package/src/sap/f/GridContainerSettings.js +2 -2
  23. package/src/sap/f/GridList.js +1 -1
  24. package/src/sap/f/GridListItem.js +1 -1
  25. package/src/sap/f/GridNavigationMatrix.js +61 -33
  26. package/src/sap/f/IllustratedMessage.js +1 -1
  27. package/src/sap/f/Illustration.js +1 -1
  28. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  29. package/src/sap/f/ProductSwitch.js +1 -1
  30. package/src/sap/f/ProductSwitchItem.js +1 -1
  31. package/src/sap/f/SearchManager.js +1 -1
  32. package/src/sap/f/ShellBar.js +1 -1
  33. package/src/sap/f/SidePanel.js +17 -5
  34. package/src/sap/f/SidePanelItem.js +1 -1
  35. package/src/sap/f/SidePanelRenderer.js +1 -1
  36. package/src/sap/f/cards/BaseHeader.js +7 -1
  37. package/src/sap/f/cards/Header.js +9 -1
  38. package/src/sap/f/cards/HeaderRenderer.js +2 -2
  39. package/src/sap/f/cards/NumericHeader.js +1 -1
  40. package/src/sap/f/cards/NumericHeaderRenderer.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 +135 -111
  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/messagebundle.properties +5 -5
  58. package/src/sap/f/messagebundle_ar.properties +2 -2
  59. package/src/sap/f/messagebundle_bg.properties +2 -2
  60. package/src/sap/f/messagebundle_ca.properties +2 -2
  61. package/src/sap/f/messagebundle_cs.properties +2 -2
  62. package/src/sap/f/messagebundle_cy.properties +2 -2
  63. package/src/sap/f/messagebundle_da.properties +3 -3
  64. package/src/sap/f/messagebundle_de.properties +2 -2
  65. package/src/sap/f/messagebundle_el.properties +2 -2
  66. package/src/sap/f/messagebundle_en.properties +2 -2
  67. package/src/sap/f/messagebundle_en_GB.properties +2 -2
  68. package/src/sap/f/messagebundle_en_US_sappsd.properties +2 -2
  69. package/src/sap/f/messagebundle_en_US_saprigi.properties +2 -2
  70. package/src/sap/f/messagebundle_en_US_saptrc.properties +2 -2
  71. package/src/sap/f/messagebundle_es.properties +2 -2
  72. package/src/sap/f/messagebundle_es_MX.properties +2 -2
  73. package/src/sap/f/messagebundle_et.properties +2 -2
  74. package/src/sap/f/messagebundle_fi.properties +2 -2
  75. package/src/sap/f/messagebundle_fr.properties +6 -6
  76. package/src/sap/f/messagebundle_fr_CA.properties +2 -2
  77. package/src/sap/f/messagebundle_hi.properties +2 -2
  78. package/src/sap/f/messagebundle_hr.properties +2 -2
  79. package/src/sap/f/messagebundle_hu.properties +2 -2
  80. package/src/sap/f/messagebundle_id.properties +2 -2
  81. package/src/sap/f/messagebundle_it.properties +2 -2
  82. package/src/sap/f/messagebundle_iw.properties +2 -2
  83. package/src/sap/f/messagebundle_ja.properties +2 -2
  84. package/src/sap/f/messagebundle_kk.properties +2 -2
  85. package/src/sap/f/messagebundle_ko.properties +2 -2
  86. package/src/sap/f/messagebundle_lt.properties +2 -2
  87. package/src/sap/f/messagebundle_lv.properties +2 -2
  88. package/src/sap/f/messagebundle_ms.properties +2 -2
  89. package/src/sap/f/messagebundle_nl.properties +2 -2
  90. package/src/sap/f/messagebundle_no.properties +2 -2
  91. package/src/sap/f/messagebundle_pl.properties +2 -2
  92. package/src/sap/f/messagebundle_pt.properties +2 -2
  93. package/src/sap/f/messagebundle_pt_PT.properties +2 -2
  94. package/src/sap/f/messagebundle_ro.properties +3 -3
  95. package/src/sap/f/messagebundle_ru.properties +2 -2
  96. package/src/sap/f/messagebundle_sh.properties +2 -2
  97. package/src/sap/f/messagebundle_sk.properties +2 -2
  98. package/src/sap/f/messagebundle_sl.properties +2 -2
  99. package/src/sap/f/messagebundle_sv.properties +2 -2
  100. package/src/sap/f/messagebundle_th.properties +2 -2
  101. package/src/sap/f/messagebundle_tr.properties +2 -2
  102. package/src/sap/f/messagebundle_uk.properties +2 -2
  103. package/src/sap/f/messagebundle_vi.properties +2 -2
  104. package/src/sap/f/messagebundle_zh_CN.properties +2 -2
  105. package/src/sap/f/messagebundle_zh_TW.properties +2 -2
  106. package/src/sap/f/semantic/AddAction.js +1 -1
  107. package/src/sap/f/semantic/CloseAction.js +1 -1
  108. package/src/sap/f/semantic/CopyAction.js +1 -1
  109. package/src/sap/f/semantic/DeleteAction.js +1 -1
  110. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  111. package/src/sap/f/semantic/EditAction.js +1 -1
  112. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  113. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  114. package/src/sap/f/semantic/FlagAction.js +1 -1
  115. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  116. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  117. package/src/sap/f/semantic/MainAction.js +1 -1
  118. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  119. package/src/sap/f/semantic/NegativeAction.js +1 -1
  120. package/src/sap/f/semantic/PositiveAction.js +1 -1
  121. package/src/sap/f/semantic/PrintAction.js +1 -1
  122. package/src/sap/f/semantic/SemanticButton.js +1 -1
  123. package/src/sap/f/semantic/SemanticConfiguration.js +3 -3
  124. package/src/sap/f/semantic/SemanticControl.js +1 -1
  125. package/src/sap/f/semantic/SemanticFooter.js +1 -1
  126. package/src/sap/f/semantic/SemanticPage.js +24 -1
  127. package/src/sap/f/semantic/SemanticShareMenu.js +1 -1
  128. package/src/sap/f/semantic/SemanticTitle.js +2 -2
  129. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  130. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  131. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  132. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  133. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  134. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  135. package/src/sap/f/shellBar/CoPilot.js +1 -1
  136. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  137. package/src/sap/f/shellBar/Search.js +1 -1
  138. package/src/sap/f/themes/base/Card.less +0 -6
  139. package/ui5.yaml +1 -1
@@ -142,14 +142,14 @@ sap.ui.define([
142
142
  * <li>[End] - set the expanded side panel width to the maximum value defined in <code>sidePanelMaxWidth</code> property</li>
143
143
  * <li>[Enter] - set the expanded side panel width to the default value defined in <code>sidePanelWidth</code> property</li>
144
144
  * <li>[Shift]+[F10] or [Context menu] - show the resize context menu</li>
145
- * <li>[Arrow Left] / [Arrow Right] - increase/decrease the width of the expanded side panel with the regular step</li>
146
- * <li>[Shift] + [Arrow Left] / [Arrow Right] - increase/decrease the width of the expanded side panel with the larger step</li>
145
+ * <li>[Arrow Left] or [Arrow Up] / [Arrow Right] or [Arrow Down] - increase/decrease the width of the expanded side panel with the regular step</li>
146
+ * <li>[Shift] + [Arrow Left] or [Shift] + [Arrow Up] / [Shift] + [Arrow Right] or [Shift] + [Arrow Down] - increase/decrease the width of the expanded side panel with the larger step</li>
147
147
  * </ul>
148
148
  *
149
149
  * @extends sap.ui.core.Control
150
150
  *
151
151
  * @author SAP SE
152
- * @version 1.115.1
152
+ * @version 1.117.0
153
153
  *
154
154
  * @constructor
155
155
  * @public
@@ -415,7 +415,7 @@ sap.ui.define([
415
415
  SidePanel.prototype.onBeforeRendering = function() {
416
416
  var oExpandCollapseButton = this.getAggregation("_arrowButton"),
417
417
  bActionBarExpanded = this.getActionBarExpanded(),
418
- sTooltip = bActionBarExpanded ? oResourceBundle.getText("SIDEPANEL_COLLAPSE_BUTTON_TEXT") : oResourceBundle.getText("SIDEPANEL_EXPAND_BUTTON_TEXT"),
418
+ sTooltip = oResourceBundle.getText("SIDEPANEL_EXPAND_BUTTON_TEXT") + "/" + oResourceBundle.getText("SIDEPANEL_COLLAPSE_BUTTON_TEXT"),
419
419
  sNextArrow;
420
420
 
421
421
  if (SidePanelPosition.Right === this.getSidePanelPosition()) {
@@ -530,9 +530,11 @@ sap.ui.define([
530
530
  this._setSidePanelResizePosition(SIDE_PANEL_POSITION_MIN_WIDTH);
531
531
  break;
532
532
  case KeyCodes.ARROW_LEFT:
533
+ case KeyCodes.ARROW_UP:
533
534
  this._moveSidePanelResizePositionWith(oEvent.shiftKey ? this.getSidePanelResizeLargerStep() : this.getSidePanelResizeStep());
534
535
  break;
535
536
  case KeyCodes.ARROW_RIGHT:
537
+ case KeyCodes.ARROW_DOWN:
536
538
  this._moveSidePanelResizePositionWith(oEvent.shiftKey ? -this.getSidePanelResizeLargerStep() : -this.getSidePanelResizeStep());
537
539
  break;
538
540
  case KeyCodes.F10:
@@ -668,7 +670,17 @@ sap.ui.define([
668
670
  };
669
671
 
670
672
  SidePanel.prototype._focusMain = function() {
671
- this._oPreviousFocusedMainElement && this._oPreviousFocusedMainElement.focus();
673
+ if (this._oPreviousFocusedMainElement) {
674
+ this._oPreviousFocusedMainElement.focus();
675
+ } else {
676
+ var oMainContent = this.getMainContent();
677
+ for (let i = 0; i < oMainContent.length; ++i) {
678
+ if (oMainContent[i].isFocusable()) {
679
+ oMainContent[i].focus();
680
+ break;
681
+ }
682
+ }
683
+ }
672
684
  };
673
685
 
674
686
  SidePanel.prototype._focusSideContent = function() {
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Item
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.115.1
30
+ * @version 1.117.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -225,7 +225,7 @@ sap.ui.define([
225
225
  oRm.attr("tabindex", 0);
226
226
  oRm.attr("role", "separator");
227
227
  oRm.attr("aria-orientation", "vertical");
228
- oRm.attr("aria-roledescription", "splitter separator");
228
+ oRm.attr("aria-roledescription", "splitter");
229
229
  oRm.attr("title", oControl._getSplitterTitle());
230
230
  oRm.openEnd();
231
231
 
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @abstract
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.115.1
41
+ * @version 1.117.0
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -61,6 +61,12 @@ sap.ui.define([
61
61
  */
62
62
  dataTimestamp: { type: "string", defaultValue: ""},
63
63
 
64
+ /**
65
+ * Defines the status text visibility.
66
+ * @experimental Since 1.116 this feature is experimental and the API may change.
67
+ */
68
+ statusVisible: { type: "boolean", defaultValue: true },
69
+
64
70
  /**
65
71
  * Set to true to show that the data timestamp is currently updating.
66
72
  * @private
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @implements sap.f.cards.IHeader
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.115.1
49
+ * @version 1.117.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -238,6 +238,14 @@ sap.ui.define([
238
238
  oAvatar.setBackgroundColor(this.getIconBackgroundColor());
239
239
  };
240
240
 
241
+ /**
242
+ * @protected
243
+ * @returns {boolean} If the icon should be shown.
244
+ */
245
+ Header.prototype.shouldShowIcon = function () {
246
+ return this.getIconVisible();
247
+ };
248
+
241
249
  /**
242
250
  * This method is a hook for the RenderManager that gets called
243
251
  * during the rendering of child Controls. It allows to add,
@@ -30,7 +30,7 @@ sap.ui.define([], function () {
30
30
  bLoading = oHeader.isLoading(),
31
31
  oError = oHeader.getAggregation("_error"),
32
32
  oToolbar = oHeader.getToolbar(),
33
- bIconVisible = oHeader.getIconVisible ? oHeader.getIconVisible() : true;
33
+ bIconVisible = oHeader.shouldShowIcon();
34
34
 
35
35
  oRm.openStart("div", oHeader)
36
36
  .class("sapFCardHeader");
@@ -99,7 +99,7 @@ sap.ui.define([], function () {
99
99
 
100
100
  oRm.renderControl(oTitle);
101
101
 
102
- if (sStatus) {
102
+ if (sStatus && oHeader.getStatusVisible()) {
103
103
  oRm.openStart("span", sId + "-status")
104
104
  .class("sapFCardStatus");
105
105
 
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @extends sap.f.cards.BaseHeader
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.115.1
42
+ * @version 1.117.0
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -119,7 +119,7 @@ sap.ui.define([], function () {
119
119
  oRm.renderControl(oTitle);
120
120
  }
121
121
 
122
- if (sStatus) {
122
+ if (sStatus && oNumericHeader.getStatusVisible()) {
123
123
  oRm.openStart("span", oNumericHeader.getId() + "-status")
124
124
  .class("sapFCardStatus");
125
125
 
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.115.1
28
+ * @version 1.117.0
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.115.1
29
+ * @version 1.117.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.115.1
22
+ * @version 1.117.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.115.1
22
+ * @version 1.117.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.115.1
22
+ * @version 1.117.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.115.1
22
+ * @version 1.117.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.115.1
32
+ * @version 1.117.0
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.115.1
26
+ * @version 1.117.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.115.1
22
+ * @version 1.117.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.115.1
22
+ * @version 1.117.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.115.1
19
+ * @version 1.117.0
20
20
  * @experimental Since 1.52
21
21
  */
22
22
  var MoveActions = { };
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  *
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.115.1
44
+ * @version 1.117.0
45
45
  *
46
46
  * @extends sap.f.delegate.GridItemNavigation
47
47
  *