@openui5/sap.f 1.124.2 → 1.126.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 (107) hide show
  1. package/.reuse/dep5 +9 -4
  2. package/THIRDPARTY.txt +13 -6
  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/AvatarGroupRenderer.js +11 -4
  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 +28 -1
  13. package/src/sap/f/DynamicPage.js +2 -2
  14. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  15. package/src/sap/f/DynamicPageHeader.js +1 -1
  16. package/src/sap/f/DynamicPageTitle.js +1 -1
  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/IllustratedMessage.js +1 -1
  26. package/src/sap/f/Illustration.js +1 -1
  27. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  28. package/src/sap/f/ProductSwitch.js +1 -1
  29. package/src/sap/f/ProductSwitchItem.js +1 -1
  30. package/src/sap/f/SearchManager.js +1 -1
  31. package/src/sap/f/ShellBar.js +1 -1
  32. package/src/sap/f/SidePanel.js +1 -1
  33. package/src/sap/f/SidePanelItem.js +1 -1
  34. package/src/sap/f/cards/BaseHeader.js +6 -10
  35. package/src/sap/f/cards/Header.js +1 -1
  36. package/src/sap/f/cards/HeaderRenderer.js +4 -0
  37. package/src/sap/f/cards/NumericHeader.js +1 -1
  38. package/src/sap/f/cards/NumericHeaderRenderer.js +7 -2
  39. package/src/sap/f/cards/NumericIndicators.js +1 -1
  40. package/src/sap/f/cards/NumericSideIndicator.js +1 -1
  41. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  42. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  43. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  46. package/src/sap/f/cards/loading/PlaceholderBase.js +2 -1
  47. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  48. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  49. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  50. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  51. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  52. package/src/sap/f/dnd/GridDragOver.js +1 -1
  53. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  54. package/src/sap/f/library.js +2 -2
  55. package/src/sap/f/semantic/AddAction.js +1 -1
  56. package/src/sap/f/semantic/CloseAction.js +1 -1
  57. package/src/sap/f/semantic/CopyAction.js +1 -1
  58. package/src/sap/f/semantic/DeleteAction.js +1 -1
  59. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  60. package/src/sap/f/semantic/EditAction.js +1 -1
  61. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  62. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  63. package/src/sap/f/semantic/FlagAction.js +1 -1
  64. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  65. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  66. package/src/sap/f/semantic/MainAction.js +1 -1
  67. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  68. package/src/sap/f/semantic/NegativeAction.js +1 -1
  69. package/src/sap/f/semantic/PositiveAction.js +1 -1
  70. package/src/sap/f/semantic/PrintAction.js +1 -1
  71. package/src/sap/f/semantic/SemanticButton.js +1 -1
  72. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  73. package/src/sap/f/semantic/SemanticControl.js +1 -1
  74. package/src/sap/f/semantic/SemanticPage.js +1 -1
  75. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  76. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  77. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  78. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  79. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  80. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  81. package/src/sap/f/shellBar/CoPilot.js +1 -1
  82. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  83. package/src/sap/f/shellBar/Search.js +1 -1
  84. package/src/sap/f/themes/base/Card.less +11 -2
  85. package/src/sap/f/themes/sap_hcb/base_AvatarGroup.less +275 -0
  86. package/src/sap/f/themes/sap_hcb/base_CalendarPlaceholder.less +70 -0
  87. package/src/sap/f/themes/sap_hcb/base_Card.less +638 -0
  88. package/src/sap/f/themes/sap_hcb/base_CardLoading.less +268 -0
  89. package/src/sap/f/themes/sap_hcb/base_CardNumericIndicators.less +38 -0
  90. package/src/sap/f/themes/sap_hcb/base_DynamicPage.less +418 -0
  91. package/src/sap/f/themes/sap_hcb/base_DynamicPageHeader.less +66 -0
  92. package/src/sap/f/themes/sap_hcb/base_DynamicPageTitle.less +373 -0
  93. package/src/sap/f/themes/sap_hcb/base_FlexibleColumnLayout.less +281 -0
  94. package/src/sap/f/themes/sap_hcb/base_GridContainer.less +60 -0
  95. package/src/sap/f/themes/sap_hcb/base_GridDragAndDrop.less +5 -0
  96. package/src/sap/f/themes/sap_hcb/base_GridList.less +103 -0
  97. package/src/sap/f/themes/sap_hcb/base_GridListItem.less +111 -0
  98. package/src/sap/f/themes/sap_hcb/base_ListPlaceholder.less +53 -0
  99. package/src/sap/f/themes/sap_hcb/base_ObjectPlaceholder.less +43 -0
  100. package/src/sap/f/themes/sap_hcb/base_ProductSwitch.less +3 -0
  101. package/src/sap/f/themes/sap_hcb/base_ProductSwitchItem.less +160 -0
  102. package/src/sap/f/themes/sap_hcb/base_SemanticPage.less +34 -0
  103. package/src/sap/f/themes/sap_hcb/base_ShellBar.less +495 -0
  104. package/src/sap/f/themes/sap_hcb/base_SidePanel.less +858 -0
  105. package/src/sap/f/themes/sap_hcb/base_TablePlaceholder.less +34 -0
  106. package/src/sap/f/themes/sap_hcb/base_TimelinePlaceholder.less +79 -0
  107. package/src/sap/f/themes/sap_hcb/library.source.less +34 -1
package/.reuse/dep5 CHANGED
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
50
50
  License: Apache-2.0
51
51
  Comment: these files belong to: purify.js
52
52
 
53
+ Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
54
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
55
+ License: MIT
56
+ Comment: these files belong to: QUnit Composite 2.0.0
57
+
53
58
 
54
59
  # Library: sap.ui.codeeditor:
55
60
 
@@ -379,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
379
384
  License: MIT
380
385
  Comment: these files belong to: Elasticlunr
381
386
 
382
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-1.10.15/*
383
- Copyright: 2008-2017 SpryMedia Ltd
387
+ Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
388
+ Copyright: SpryMedia Ltd
384
389
  License: MIT
385
390
  Comment: these files belong to: DataTables
386
391
 
387
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-1.4.0/*
388
- Copyright: 2016 SpryMedia Ltd
392
+ Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
393
+ Copyright: SpryMedia Ltd
389
394
  License: MIT
390
395
  Comment: these files belong to: Buttons extension for DataTables
391
396
 
package/THIRDPARTY.txt CHANGED
@@ -12,6 +12,13 @@ License: Apache-2.0
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
13
13
  Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
14
14
 
15
+ Component: QUnit Composite 2.0.0, version: 2.0.0
16
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
17
+ License: MIT
18
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
19
+ Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
20
+ src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
21
+
15
22
 
16
23
  Library: sap.ui.codeeditor:
17
24
 
@@ -356,17 +363,17 @@ License: MIT
356
363
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
357
364
  Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
358
365
 
359
- Component: DataTables, version: 1.10.15
360
- Copyright: 2008-2017 SpryMedia Ltd
366
+ Component: DataTables, version: 2.0.1
367
+ Copyright: SpryMedia Ltd
361
368
  License: MIT
362
369
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
363
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-1.10.15/*
370
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
364
371
 
365
- Component: Buttons extension for DataTables, version: 1.4.0
366
- Copyright: 2016 SpryMedia Ltd
372
+ Component: Buttons extension for DataTables, version: 3.0.0
373
+ Copyright: SpryMedia Ltd
367
374
  License: MIT
368
375
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
369
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-1.4.0/*
376
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
370
377
 
371
378
 
372
379
  Library: sap.ui.integration:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.f",
3
- "version": "1.124.2",
3
+ "version": "1.126.0",
4
4
  "description": "OpenUI5 UI Library sap.f",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.124.2",
18
- "@openui5/sap.ui.core": "1.124.2",
19
- "@openui5/sap.ui.layout": "1.124.2"
17
+ "@openui5/sap.m": "1.126.0",
18
+ "@openui5/sap.ui.core": "1.126.0",
19
+ "@openui5/sap.ui.layout": "1.126.0"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.124.2</version>
9
+ <version>1.126.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with Fiori controls.</documentation>
12
12
 
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.m.Avatar
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.124.2
44
+ * @version 1.126.0
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -100,7 +100,7 @@ sap.ui.define([
100
100
  * @extends sap.ui.core.Control
101
101
  *
102
102
  * @author SAP SE
103
- * @version 1.124.2
103
+ * @version 1.126.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.124.2
35
+ * @version 1.126.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -5,8 +5,10 @@
5
5
  */
6
6
 
7
7
  // Provides default renderer for control sap.f.AvatarGroupRenderer
8
- sap.ui.define(["sap/m/AvatarSize"],
9
- function (AvatarSize) {
8
+ sap.ui.define([
9
+ "sap/m/AvatarSize",
10
+ "./library"],
11
+ function (AvatarSize, library) {
10
12
  "use strict";
11
13
 
12
14
  /**
@@ -33,7 +35,8 @@ sap.ui.define(["sap/m/AvatarSize"],
33
35
  sAvatarGroupTypeClass = sAvatarGroupClass + sGroupType,
34
36
  aItems = oAvatarGroup.getItems(),
35
37
  bShowMoreButton = oAvatarGroup._shouldShowMoreButton(),
36
- bInteractive = oAvatarGroup.getProperty("_interactive");
38
+ bInteractive = oAvatarGroup.getProperty("_interactive"),
39
+ sTooltip = oAvatarGroup.getTooltip_AsString();
37
40
 
38
41
  oRm.openStart("div", oAvatarGroup)
39
42
  .class(sAvatarGroupClass)
@@ -52,7 +55,7 @@ sap.ui.define(["sap/m/AvatarSize"],
52
55
  oRm.style("width", "auto");
53
56
  }
54
57
 
55
- if (sGroupType === "Group") {
58
+ if (sGroupType === library.AvatarGroupType.Group) {
56
59
  oRm.attr("role", "button");
57
60
  }
58
61
 
@@ -63,6 +66,10 @@ sap.ui.define(["sap/m/AvatarSize"],
63
66
  oRm.style("line-height", sAvatarCustomDisplaySize);
64
67
  }
65
68
 
69
+ if (sTooltip && sGroupType === library.AvatarGroupType.Group) {
70
+ oRm.attr("title", sTooltip);
71
+ }
72
+
66
73
  oRm.openEnd();
67
74
 
68
75
  for (var i = 0; i < oAvatarGroup._iAvatarsToShow; i++) {
@@ -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.124.2
24
+ * @version 1.126.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.124.2
48
+ * @version 1.126.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.124.2
74
+ * @version 1.126.0
75
75
  *
76
76
  * @constructor
77
77
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.124.2
40
+ * @version 1.126.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -244,13 +244,20 @@ sap.ui.define([
244
244
  */
245
245
  CardBase.prototype._getAriaLabelledIds = function () {
246
246
  var oHeader = this.getCardHeader();
247
+ const sBlockingMessageAriaLabelsIds = this._getBlockingMessageAriaLabelledByIds();
247
248
 
248
249
  if (oHeader) {
249
250
  if (this._isInsideGridContainer()) {
251
+ if (sBlockingMessageAriaLabelsIds) {
252
+ return oHeader._getAriaLabelledBy() + " " + sBlockingMessageAriaLabelsIds;
253
+ }
250
254
  return oHeader._getAriaLabelledBy();
251
255
  }
252
256
 
253
257
  if (oHeader._getTitle && oHeader._getTitle()) {
258
+ if (sBlockingMessageAriaLabelsIds) {
259
+ return oHeader._getTitle().getId() + " " + sBlockingMessageAriaLabelsIds;
260
+ }
254
261
  return oHeader._getTitle().getId();
255
262
  }
256
263
  }
@@ -258,6 +265,26 @@ sap.ui.define([
258
265
  return this._ariaText.getId();
259
266
  };
260
267
 
268
+ /**
269
+ * Gets the ids of the elements in the illustrated message that have to be labelled.
270
+ *
271
+ * @return {string} sAriaLabelledBy ids of elements that have to be labelled
272
+ * @private
273
+ */
274
+ CardBase.prototype._getBlockingMessageAriaLabelledByIds = function () {
275
+ if (!this.getCardContent()?.getAggregation("_blockingMessage")) {
276
+ return "";
277
+ }
278
+ const oIllustration = this.getCardContent().getAggregation("_blockingMessage")._getIllustratedMessage();
279
+ const sTitleId = oIllustration._getTitle().sId;
280
+ const sDescriptionId = oIllustration._getDescription()?.sId;
281
+
282
+ if (oIllustration._getDescription().getText()) {
283
+ return sTitleId + " " + sDescriptionId;
284
+ }
285
+ return sTitleId;
286
+ };
287
+
261
288
  /**
262
289
  * Returns if the control is inside a sap.f.GridContainer
263
290
  *
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @extends sap.ui.core.Control
119
119
  *
120
120
  * @author SAP SE
121
- * @version 1.124.2
121
+ * @version 1.126.0
122
122
  *
123
123
  * @constructor
124
124
  * @public
@@ -514,7 +514,7 @@ sap.ui.define([
514
514
  };
515
515
 
516
516
  DynamicPage.prototype.setShowFooter = function (bShowFooter) {
517
- var vResult = this.setProperty("showFooter", bShowFooter);
517
+ var vResult = this.setProperty("showFooter", bShowFooter, /* bSuppressInvalidate */ true);
518
518
 
519
519
  this._toggleFooter(bShowFooter);
520
520
 
@@ -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.124.2
26
+ * @version 1.126.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.124.2
67
+ * @version 1.126.0
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -95,7 +95,7 @@ sap.ui.define([
95
95
  * @extends sap.ui.core.Control
96
96
  *
97
97
  * @author SAP SE
98
- * @version 1.124.2
98
+ * @version 1.126.0
99
99
  *
100
100
  * @constructor
101
101
  * @public
@@ -108,7 +108,7 @@ sap.ui.define([
108
108
  *
109
109
  * @extends sap.ui.core.Control
110
110
  * @author SAP SE
111
- * @version 1.124.2
111
+ * @version 1.126.0
112
112
  *
113
113
  * @constructor
114
114
  * @public
@@ -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.124.2
25
+ * @version 1.126.0
26
26
  * @since 1.95
27
27
  *
28
28
  * @constructor
@@ -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.124.2
52
+ * @version 1.126.0
53
53
  * @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
54
54
  * The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
55
55
  *
@@ -177,7 +177,7 @@ sap.ui.define([
177
177
  * @see {@link sap.f.dnd.GridDropInfo}
178
178
  *
179
179
  * @author SAP SE
180
- * @version 1.124.2
180
+ * @version 1.126.0
181
181
  *
182
182
  * @extends sap.ui.core.Control
183
183
  *
@@ -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.124.2
24
+ * @version 1.126.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.124.2
61
+ * @version 1.126.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.124.2
68
+ * @version 1.126.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.124.2
96
+ * @version 1.126.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.124.2
27
+ * @version 1.126.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.124.2
59
+ * @version 1.126.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.124.2
33
+ * @version 1.126.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.124.2
25
+ * @version 1.126.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.124.2
37
+ * @version 1.126.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.124.2
43
+ * @version 1.126.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.124.2
26
+ * @version 1.126.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -58,7 +58,7 @@ function(
58
58
  * @implements sap.f.IShellBar, sap.m.IBar, sap.tnt.IToolHeader
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.124.2
61
+ * @version 1.126.0
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -151,7 +151,7 @@ sap.ui.define([
151
151
  * @extends sap.ui.core.Control
152
152
  *
153
153
  * @author SAP SE
154
- * @version 1.124.2
154
+ * @version 1.126.0
155
155
  *
156
156
  * @constructor
157
157
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Item
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.124.2
30
+ * @version 1.126.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @abstract
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.124.2
53
+ * @version 1.126.0
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -188,8 +188,10 @@ sap.ui.define([
188
188
  if (oToolbar) {
189
189
  oToolbar.addStyleClass("sapFCardHeaderToolbar");
190
190
  oToolbar.removeEventDelegate(this._oToolbarDelegate, this);
191
+ if (oToolbar.updateVisibility) {
192
+ oToolbar.updateVisibility();
193
+ }
191
194
  }
192
-
193
195
  if (aBannerLines) {
194
196
  aBannerLines.forEach((oText) => {
195
197
  oText.setTextAlign(TextAlign.End);
@@ -250,10 +252,7 @@ sap.ui.define([
250
252
  * @private
251
253
  */
252
254
  BaseHeader.prototype._onToolbarFocusin = function () {
253
- var oDomRef = this.getDomRef();
254
- if (oDomRef) {
255
- this.getDomRef().classList.add("sapFCardHeaderToolbarFocused");
256
- }
255
+ this.addStyleClass("sapFCardHeaderToolbarFocused");
257
256
  };
258
257
 
259
258
  /**
@@ -261,10 +260,7 @@ sap.ui.define([
261
260
  * @private
262
261
  */
263
262
  BaseHeader.prototype._onToolbarFocusout = function () {
264
- var oDomRef = this.getDomRef();
265
- if (oDomRef) {
266
- this.getDomRef().classList.remove("sapFCardHeaderToolbarFocused");
267
- }
263
+ this.removeStyleClass("sapFCardHeaderToolbarFocused");
268
264
  };
269
265
 
270
266
  /*
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @implements sap.f.cards.IHeader
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.124.2
51
+ * @version 1.126.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -49,6 +49,10 @@ sap.ui.define([
49
49
  oRm.class("sapFCardHeaderHasIcon");
50
50
  }
51
51
 
52
+ if (oToolbar?.getVisible()) {
53
+ oRm.class("sapFCardHeaderHasToolbar");
54
+ }
55
+
52
56
  oRm.openEnd();
53
57
 
54
58
  if (bRenderAsLink) {
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.f.cards.BaseHeader
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.124.2
60
+ * @version 1.126.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -20,9 +20,10 @@ sap.ui.define([
20
20
  * @param {sap.f.cards.NumericHeader} oNumericHeader An object representation of the control that should be rendered
21
21
  */
22
22
  NumericHeaderRenderer.render = function (oRm, oNumericHeader) {
23
- var bLoading = oNumericHeader.isLoading(),
23
+ const bLoading = oNumericHeader.isLoading(),
24
24
  oError = oNumericHeader.getAggregation("_error"),
25
- bRenderAsLink = oNumericHeader.isLink();
25
+ bRenderAsLink = oNumericHeader.isLink(),
26
+ oToolbar = oNumericHeader.getToolbar();
26
27
 
27
28
  oRm.openStart("div", oNumericHeader)
28
29
  .class("sapFCardHeader")
@@ -44,6 +45,10 @@ sap.ui.define([
44
45
  oRm.class("sapFCardHeaderHasNumber");
45
46
  }
46
47
 
48
+ if (oToolbar?.getVisible()) {
49
+ oRm.class("sapFCardHeaderHasToolbar");
50
+ }
51
+
47
52
  oRm.openEnd();
48
53
 
49
54
  if (bRenderAsLink) {
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.124.2
28
+ * @version 1.126.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.124.2
31
+ * @version 1.126.0
32
32
  *
33
33
  * @constructor
34
34
  * @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.124.2
22
+ * @version 1.126.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.124.2
22
+ * @version 1.126.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.124.2
22
+ * @version 1.126.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.124.2
22
+ * @version 1.126.0
23
23
  *
24
24
  * @constructor
25
25
  * @private