@openui5/sap.f 1.120.11 → 1.120.13

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 (132) hide show
  1. package/package.json +4 -4
  2. package/src/sap/f/.library +1 -1
  3. package/src/sap/f/Avatar.js +1 -1
  4. package/src/sap/f/AvatarGroup.js +1 -1
  5. package/src/sap/f/AvatarGroupItem.js +1 -1
  6. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  7. package/src/sap/f/CalendarInCard.js +1 -1
  8. package/src/sap/f/Card.js +1 -1
  9. package/src/sap/f/CardBase.js +1 -1
  10. package/src/sap/f/DynamicPage.js +1 -1
  11. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  12. package/src/sap/f/DynamicPageHeader.js +20 -8
  13. package/src/sap/f/DynamicPageTitle.js +1 -1
  14. package/src/sap/f/FlexibleColumnLayout.js +1 -1
  15. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  16. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  17. package/src/sap/f/GridContainer.js +1 -1
  18. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  19. package/src/sap/f/GridContainerSettings.js +2 -2
  20. package/src/sap/f/GridList.js +1 -1
  21. package/src/sap/f/GridListItem.js +1 -1
  22. package/src/sap/f/IllustratedMessage.js +1 -1
  23. package/src/sap/f/Illustration.js +1 -1
  24. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  25. package/src/sap/f/ProductSwitch.js +1 -1
  26. package/src/sap/f/ProductSwitchItem.js +1 -1
  27. package/src/sap/f/SearchManager.js +1 -1
  28. package/src/sap/f/ShellBar.js +70 -9
  29. package/src/sap/f/ShellBarRenderer.js +3 -3
  30. package/src/sap/f/SidePanel.js +1 -1
  31. package/src/sap/f/SidePanelItem.js +1 -1
  32. package/src/sap/f/cards/BaseHeader.js +1 -1
  33. package/src/sap/f/cards/Header.js +1 -1
  34. package/src/sap/f/cards/NumericHeader.js +1 -1
  35. package/src/sap/f/cards/NumericIndicators.js +1 -1
  36. package/src/sap/f/cards/NumericSideIndicator.js +1 -1
  37. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  38. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  39. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  40. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  41. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  42. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  43. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  45. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  46. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  47. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  48. package/src/sap/f/dnd/GridDragOver.js +1 -1
  49. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  50. package/src/sap/f/library.js +2 -2
  51. package/src/sap/f/messagebundle.properties +1 -1
  52. package/src/sap/f/messagebundle_ar.properties +1 -1
  53. package/src/sap/f/messagebundle_bg.properties +1 -1
  54. package/src/sap/f/messagebundle_ca.properties +1 -1
  55. package/src/sap/f/messagebundle_cnr.properties +1 -1
  56. package/src/sap/f/messagebundle_cs.properties +1 -1
  57. package/src/sap/f/messagebundle_cy.properties +1 -1
  58. package/src/sap/f/messagebundle_da.properties +1 -1
  59. package/src/sap/f/messagebundle_de.properties +1 -1
  60. package/src/sap/f/messagebundle_el.properties +1 -1
  61. package/src/sap/f/messagebundle_en.properties +1 -1
  62. package/src/sap/f/messagebundle_en_GB.properties +1 -1
  63. package/src/sap/f/messagebundle_en_US_saprigi.properties +1 -1
  64. package/src/sap/f/messagebundle_es.properties +1 -1
  65. package/src/sap/f/messagebundle_es_MX.properties +1 -1
  66. package/src/sap/f/messagebundle_et.properties +1 -1
  67. package/src/sap/f/messagebundle_fi.properties +1 -1
  68. package/src/sap/f/messagebundle_fr.properties +1 -1
  69. package/src/sap/f/messagebundle_fr_CA.properties +1 -1
  70. package/src/sap/f/messagebundle_hi.properties +1 -1
  71. package/src/sap/f/messagebundle_hr.properties +1 -1
  72. package/src/sap/f/messagebundle_hu.properties +1 -1
  73. package/src/sap/f/messagebundle_id.properties +1 -1
  74. package/src/sap/f/messagebundle_it.properties +1 -1
  75. package/src/sap/f/messagebundle_iw.properties +1 -1
  76. package/src/sap/f/messagebundle_ja.properties +1 -1
  77. package/src/sap/f/messagebundle_kk.properties +1 -1
  78. package/src/sap/f/messagebundle_ko.properties +1 -1
  79. package/src/sap/f/messagebundle_lt.properties +1 -1
  80. package/src/sap/f/messagebundle_lv.properties +1 -1
  81. package/src/sap/f/messagebundle_mk.properties +1 -1
  82. package/src/sap/f/messagebundle_ms.properties +1 -1
  83. package/src/sap/f/messagebundle_nl.properties +1 -1
  84. package/src/sap/f/messagebundle_no.properties +1 -1
  85. package/src/sap/f/messagebundle_pl.properties +1 -1
  86. package/src/sap/f/messagebundle_pt.properties +1 -1
  87. package/src/sap/f/messagebundle_pt_PT.properties +1 -1
  88. package/src/sap/f/messagebundle_ro.properties +1 -1
  89. package/src/sap/f/messagebundle_ru.properties +1 -1
  90. package/src/sap/f/messagebundle_sh.properties +1 -1
  91. package/src/sap/f/messagebundle_sk.properties +1 -1
  92. package/src/sap/f/messagebundle_sl.properties +1 -1
  93. package/src/sap/f/messagebundle_sr.properties +1 -1
  94. package/src/sap/f/messagebundle_sv.properties +1 -1
  95. package/src/sap/f/messagebundle_th.properties +1 -1
  96. package/src/sap/f/messagebundle_tr.properties +1 -1
  97. package/src/sap/f/messagebundle_uk.properties +1 -1
  98. package/src/sap/f/messagebundle_vi.properties +1 -1
  99. package/src/sap/f/messagebundle_zh_CN.properties +1 -1
  100. package/src/sap/f/messagebundle_zh_TW.properties +1 -1
  101. package/src/sap/f/semantic/AddAction.js +1 -1
  102. package/src/sap/f/semantic/CloseAction.js +1 -1
  103. package/src/sap/f/semantic/CopyAction.js +1 -1
  104. package/src/sap/f/semantic/DeleteAction.js +1 -1
  105. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  106. package/src/sap/f/semantic/EditAction.js +1 -1
  107. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  108. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  109. package/src/sap/f/semantic/FlagAction.js +1 -1
  110. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  111. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  112. package/src/sap/f/semantic/MainAction.js +1 -1
  113. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  114. package/src/sap/f/semantic/NegativeAction.js +1 -1
  115. package/src/sap/f/semantic/PositiveAction.js +1 -1
  116. package/src/sap/f/semantic/PrintAction.js +1 -1
  117. package/src/sap/f/semantic/SemanticButton.js +1 -1
  118. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  119. package/src/sap/f/semantic/SemanticControl.js +1 -1
  120. package/src/sap/f/semantic/SemanticPage.js +1 -1
  121. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  122. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  123. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  124. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  125. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  126. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  127. package/src/sap/f/shellBar/CoPilot.js +1 -1
  128. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  129. package/src/sap/f/shellBar/Factory.js +14 -8
  130. package/src/sap/f/shellBar/ResponsiveHandler.js +23 -6
  131. package/src/sap/f/shellBar/Search.js +20 -4
  132. package/src/sap/f/themes/base/ShellBar.less +32 -13
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.11
21
+ * @version 1.120.13
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.11
21
+ * @version 1.120.13
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.11
21
+ * @version 1.120.13
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.11
21
+ * @version 1.120.13
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['./SemanticToggleButton'], function(SemanticToggleButton) {
19
19
  * @extends sap.f.semantic.SemanticToggleButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['./SemanticToggleButton'], function(SemanticToggleButton) {
19
19
  * @extends sap.f.semantic.SemanticToggleButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(["./MainAction"], function(MainAction) {
19
19
  * @extends sap.f.semantic.MainAction
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.11
21
+ * @version 1.120.13
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.11
21
+ * @version 1.120.13
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @abstract
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.120.11
27
+ * @version 1.120.13
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class
31
31
  * Defines the visual properties and placement for each supported semantic type.
32
32
  *
33
- * @version 1.120.11
33
+ * @version 1.120.13
34
34
  * @private
35
35
  * @since 1.46.0
36
36
  * @alias sap.f.semantic.SemanticConfiguration
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @abstract
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.120.11
27
+ * @version 1.120.13
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -99,7 +99,7 @@ sap.ui.define([
99
99
  * @extends sap.ui.core.Control
100
100
  *
101
101
  * @author SAP SE
102
- * @version 1.120.11
102
+ * @version 1.120.13
103
103
  *
104
104
  * @constructor
105
105
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @abstract
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.11
26
+ * @version 1.120.13
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(["./MainAction"], function(MainAction) {
19
19
  * @extends sap.f.semantic.MainAction
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.120.11
22
+ * @version 1.120.13
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
 
23
23
  /**
24
24
  * @author SAP SE
25
- * @version 1.120.11
25
+ * @version 1.120.13
26
26
  *
27
27
  * @private
28
28
  * @since 1.64
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.120.11
28
+ * @version 1.120.13
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Control', 'sap/f/shellBar/ControlSpacerRenderer'],
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.11
26
+ * @version 1.120.13
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -12,7 +12,6 @@ sap.ui.define([
12
12
  "sap/m/ToolbarSpacer",
13
13
  "sap/m/OverflowToolbarLayoutData",
14
14
  "sap/m/FlexItemData",
15
- "./CoPilot",
16
15
  "./Accessibility",
17
16
  "sap/m/library",
18
17
  "sap/ui/core/library",
@@ -26,7 +25,6 @@ sap.ui.define([
26
25
  ToolbarSpacer,
27
26
  OverflowToolbarLayoutData,
28
27
  FlexItemData,
29
- CoPilot,
30
28
  Accessibility,
31
29
  library,
32
30
  coreLibrary,
@@ -165,12 +163,20 @@ sap.ui.define([
165
163
 
166
164
  Factory.prototype.getCopilot = function () {
167
165
  if (!this._oControls.oCopilot) {
168
- this._oControls.oCopilot = new CoPilot({
166
+ this._oControls.oCopilot = new OverflowToolbarButton({
169
167
  tooltip: this._oAcc.getEntityTooltip("COPILOT"),
170
- press: function () {
171
- this._oContext.fireEvent("copilotPressed", {image: this._oControls.oCopilot});
168
+ text: this._oAcc.getEntityTooltip("COPILOT"),
169
+ icon: "sap-icon://da",
170
+ type: ButtonType.Transparent,
171
+ press: function (oEvent) {
172
+ var oSource = oEvent.getSource();
173
+ oSource.getIcon() === "sap-icon://da" ? oSource.setIcon("sap-icon://da-2") : oSource.setIcon("sap-icon://da");
174
+ this._oContext.fireEvent("copilotPressed", {image: null, button: this._oControls.oCopilot});
172
175
  }.bind(this)
173
- });
176
+ })
177
+ .setLayoutData(new OverflowToolbarLayoutData({
178
+ priority: OverflowToolbarPriority.Low
179
+ }));
174
180
  }
175
181
  return this._oControls.oCopilot;
176
182
  };
@@ -178,7 +184,7 @@ sap.ui.define([
178
184
  Factory.prototype.getSearch = function () {
179
185
  if (!this._oControls.oSearch) {
180
186
  this._oControls.oSearch = new OverflowToolbarButton({
181
- text: "Search",
187
+ text: this._oAcc.getEntityTooltip("SEARCH"),
182
188
  icon: "sap-icon://search",
183
189
  type: ButtonType.Transparent,
184
190
  tooltip: this._oAcc.getEntityTooltip("SEARCH"),
@@ -234,7 +240,7 @@ sap.ui.define([
234
240
  if (!this._oControls.oNotifications) {
235
241
  this._oControls.oNotifications = new OverflowToolbarButton({
236
242
  ariaHasPopup: Accessibility.AriaHasPopup.NOTIFICATIONS,
237
- text: "Notifications",
243
+ text: oAcc.getEntityTooltip("NOTIFICATIONS"),
238
244
  icon: "sap-icon://bell",
239
245
  type: ButtonType.Transparent,
240
246
  tooltip: oAcc.getEntityTooltip("NOTIFICATIONS"),
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  */
62
62
  ResponsiveHandler.prototype.onAfterRendering = function () {
63
63
 
64
- var bPhoneRange = Device.media.getCurrentRange("StdExt", this._oControl.$().outerWidth(true)).name === "Phone";
64
+ var bPhoneRange = Device.media.getCurrentRange(this._oControl._sRangeSet, this._oControl.$().outerWidth(true)).name === "Phone";
65
65
  this._oButton = this._oControl._oMegaMenu && this._oControl._oMegaMenu.getAggregation("_button");
66
66
  this._oDomRef = this._oControl.getDomRef(); // Cache DOM Reference
67
67
  this.bIsMegaMenuConfigured = this._oControl._oTitleControl &&
@@ -103,14 +103,19 @@ sap.ui.define([
103
103
 
104
104
  var $Control = this._oControl.$(),
105
105
  iWidth = $Control.outerWidth(),
106
- oCurrentRange = Device.media.getCurrentRange("StdExt", iWidth),
106
+ oCurrentRange = Device.media.getCurrentRange(this._oControl._sRangeSet, iWidth),
107
107
  bPhoneRange;
108
108
 
109
- this.sCurrentRange = oCurrentRange.name;
109
+ if (this.sCurrentRange !== oCurrentRange.name) {
110
+ this._oControl._bOTBUpdateNeeded = true;
111
+ this.sCurrentRange = oCurrentRange.name;
112
+ this._oControl._oManagedSearch && this._oControl._oManagedSearch._setMedia(this.sCurrentRange);
113
+ }
110
114
  // Adapt control padding's outside the managed area
111
115
  if (oCurrentRange) {
112
116
  bPhoneRange = this.sCurrentRange === "Phone";
113
117
 
118
+ $Control.toggleClass("sapFShellBarSizeExtraLargeDesktop", this.sCurrentRange === "ExtraLargeDesktop");
114
119
  $Control.toggleClass("sapFShellBarSizeLargeDesktop", this.sCurrentRange === "LargeDesktop");
115
120
  $Control.toggleClass("sapFShellBarSizeDesktop", this.sCurrentRange === "Desktop");
116
121
  $Control.toggleClass("sapFShellBarSizeTablet", this.sCurrentRange === "Tablet");
@@ -120,12 +125,24 @@ sap.ui.define([
120
125
  /**
121
126
  * Resize adaptation for the Search Bar UX requirements
122
127
  */
123
- if (this._oControl._oManagedSearch && this._oControl._oManagedSearch.getIsOpen()) {
124
- setTimeout(this._adaptSearch.bind(this), 100);
125
- } else {
128
+ if (this._oControl._oManagedSearch && !this._oControl._oManagedSearch.getIsOpen()) {
126
129
  this._oControl._bSearchPlaceHolder = false;
127
130
  }
128
131
 
132
+ if (this.sCurrentRange === "ExtraLargeDesktop") {
133
+ this._oControl._oManagedSearch && this._oControl._oManagedSearch.setIsOpen(true);
134
+ setTimeout(this._adaptSearch.bind(this), 100);
135
+ }
136
+ if (this.sCurrentRange !== "ExtraLargeDesktop" && this._oControl._oManagedSearch && this._oControl._oManagedSearch.getIsOpen()) {
137
+ if (!this._oControl._oManagedSearch._bUserOpened) {
138
+ this._oControl._oManagedSearch.setIsOpen(false);
139
+ } else {
140
+ setTimeout(this._adaptSearch.bind(this), 100);
141
+ }
142
+ }
143
+
144
+ this._oControl._bOTBUpdateNeeded && this._oControl.invalidate();
145
+
129
146
  if (this._iPreviousWidth === iWidth) {
130
147
  return; // We have nothing to update
131
148
  }
@@ -36,7 +36,7 @@ sap.ui.define(['sap/ui/core/Control',
36
36
  * @extends sap.ui.core.Control
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.120.11
39
+ * @version 1.120.13
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -90,7 +90,11 @@ sap.ui.define(['sap/ui/core/Control',
90
90
  this._layoutDataWhenClosed = new OverflowToolbarLayoutData({
91
91
  priority: OverflowToolbarPriority.Low
92
92
  });
93
+ this._layoutDataPhoneWhenClosed = new OverflowToolbarLayoutData({
94
+ priority: OverflowToolbarPriority.AlwaysOverflow
95
+ });
93
96
  this._oAcc = new Accessibility();
97
+ this._bUserOpened = false;
94
98
  };
95
99
 
96
100
  Search.prototype.onBeforeRendering = function () {
@@ -191,8 +195,10 @@ sap.ui.define(['sap/ui/core/Control',
191
195
 
192
196
  if (this.getIsOpen()) {
193
197
  oLayoutData = this._layoutDataWhenOpen;
194
- } else if (!this._bInOverflow) {
198
+ } else if (!this._bInOverflow && !this.getPhoneMode()) {
195
199
  oLayoutData = this._layoutDataWhenClosed;
200
+ } else if (this.getPhoneMode()) {
201
+ oLayoutData = this._layoutDataPhoneWhenClosed;
196
202
  }
197
203
 
198
204
  if (!oLayoutData || this.getLayoutData() === oLayoutData) {
@@ -215,12 +221,22 @@ sap.ui.define(['sap/ui/core/Control',
215
221
  query: oSearch.getValue(),
216
222
  clearButtonPressed: false
217
223
  });
218
- } else {
219
- this.toggleVisibilityOfSearchField();
220
224
  }
225
+
226
+ if (this.sCurrentRange === "ExtraLargeDesktop") {
227
+ return;
228
+ }
229
+
230
+ this.toggleVisibilityOfSearchField();
231
+ this._bUserOpened = !this._bUserOpened;
232
+ };
233
+
234
+ Search.prototype._setMedia = function (sMediaRange) {
235
+ this.sCurrentRange = sMediaRange;
221
236
  };
222
237
 
223
238
  Search.prototype._onPressCancelButtonHandler = function () {
239
+ this._bUserOpened = false;
224
240
  this.toggleVisibilityOfSearchField();
225
241
  };
226
242
 
@@ -3,6 +3,7 @@
3
3
  @_sap_f_ShellBar_PaddingPhone: 1rem;
4
4
  @_sap_f_ShellBar_CoPilotWidth: 3rem;
5
5
  @_sap_f_ShellBar_CoPilotHalfWidth: 1.5rem;
6
+ @_sap_f_ShellBar_SearchHalfMaxWidth: 17.5rem;
6
7
 
7
8
  @_sap_f_ShellBar_PrimaryTitle_FontSize: @sapMFontMediumSize;
8
9
  @_sap_f_ShellBar_SecondTitle_FontSize: @sapMFontSmallSize;
@@ -16,18 +17,6 @@
16
17
  padding: 0 @_sap_f_ShellBar_PaddingDesktop;
17
18
  display: flex;
18
19
  align-items: center;
19
- .sapFShellBarCopilot& {
20
- .sapFShellBarORHB {
21
- width: 50%;
22
- padding-left: ~"calc(@{_sap_f_ShellBar_CoPilotHalfWidth} + 0.5rem)";
23
- }
24
- .sapFShellBarOLHB {
25
- width: 50%;
26
- padding-right: ~"calc(@{_sap_f_ShellBar_CoPilotHalfWidth} + 0.5rem)";
27
-
28
- }
29
-
30
- }
31
20
 
32
21
  .sapFShellBarOLHB,
33
22
  .sapFShellBarORHB {
@@ -385,11 +374,13 @@
385
374
  }
386
375
  .sapFShellBarSearchWrap {
387
376
  box-sizing: border-box;
388
- width: 100%;
389
377
  padding: 0 1.25rem;
390
378
  position: absolute;
379
+ align-items: center;
380
+ right: 0;
391
381
  left: 0;
392
382
  top: 0;
383
+ bottom: 0;
393
384
  }
394
385
  .sapMSF,
395
386
  .sapFShellBarSearch {
@@ -405,6 +396,34 @@
405
396
  }
406
397
  }
407
398
 
399
+ .sapFShellBar.sapFShellBarSizeExtraLargeDesktop {
400
+ .sapFShellBarSearch {
401
+ max-width: 35rem; // max width of searchField + button width
402
+ width: 100%;
403
+ flex-grow: 1;
404
+ flex-shrink: 1;
405
+ box-sizing: border-box;
406
+ position: absolute;
407
+ left: ~"calc(50% - @{_sap_f_ShellBar_SearchHalfMaxWidth})";
408
+
409
+ .sapMSF {
410
+ max-width: 35rem;
411
+ min-width: auto;
412
+ }
413
+ }
414
+
415
+ &.sapFShellBarWithSearch {
416
+ .sapFShellBarORHB {
417
+ width: 50%;
418
+ padding-left: ~"calc(@{_sap_f_ShellBar_SearchHalfMaxWidth} + 0.5rem)";
419
+ }
420
+ .sapFShellBarOLHB {
421
+ width: 50%;
422
+ padding-right: ~"calc(@{_sap_f_ShellBar_SearchHalfMaxWidth} + 0.5rem)";
423
+
424
+ }
425
+ }
426
+ }
408
427
  .sapFButtonNotifications[data-notifications],
409
428
  .sapFShellBarOverflowButton[data-notifications] {
410
429
  overflow: visible;