@openui5/sap.f 1.109.0 → 1.111.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 (187) hide show
  1. package/.reuse/dep5 +16 -16
  2. package/THIRDPARTY.txt +2 -2
  3. package/package.json +4 -4
  4. package/src/sap/f/.library +2 -2
  5. package/src/sap/f/Avatar.js +2 -2
  6. package/src/sap/f/AvatarGroup.js +2 -2
  7. package/src/sap/f/AvatarGroupItem.js +2 -2
  8. package/src/sap/f/AvatarGroupItemRenderer.js +1 -1
  9. package/src/sap/f/AvatarGroupRenderer.js +1 -1
  10. package/src/sap/f/CalendarAppointmentInCard.js +2 -2
  11. package/src/sap/f/CalendarInCard.js +2 -2
  12. package/src/sap/f/CalendarInCardRenderer.js +4 -4
  13. package/src/sap/f/Card.js +2 -2
  14. package/src/sap/f/CardBase.js +22 -7
  15. package/src/sap/f/CardRenderer.js +1 -1
  16. package/src/sap/f/DynamicPage.js +7 -35
  17. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +2 -2
  18. package/src/sap/f/DynamicPageHeader.js +18 -3
  19. package/src/sap/f/DynamicPageHeaderRenderer.js +1 -1
  20. package/src/sap/f/DynamicPageRenderer.js +1 -1
  21. package/src/sap/f/DynamicPageTitle.js +6 -6
  22. package/src/sap/f/DynamicPageTitleRenderer.js +1 -1
  23. package/src/sap/f/FlexibleColumnLayout.js +4 -4
  24. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +2 -2
  25. package/src/sap/f/FlexibleColumnLayoutRenderer.js +1 -1
  26. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +6 -6
  27. package/src/sap/f/GridContainer.js +42 -18
  28. package/src/sap/f/GridContainerItemLayoutData.js +2 -2
  29. package/src/sap/f/GridContainerRenderer.js +8 -4
  30. package/src/sap/f/GridContainerSettings.js +3 -3
  31. package/src/sap/f/GridContainerUtils.js +1 -1
  32. package/src/sap/f/GridList.js +2 -2
  33. package/src/sap/f/GridListItem.js +2 -2
  34. package/src/sap/f/GridListItemRenderer.js +1 -1
  35. package/src/sap/f/GridListRenderer.js +2 -2
  36. package/src/sap/f/GridNavigationMatrix.js +1 -1
  37. package/src/sap/f/IllustratedMessage.js +2 -2
  38. package/src/sap/f/Illustration.js +2 -2
  39. package/src/sap/f/IllustrationPool.js +1 -1
  40. package/src/sap/f/PlanningCalendarInCardLegend.js +2 -2
  41. package/src/sap/f/PlanningCalendarInCardLegendRenderer.js +1 -1
  42. package/src/sap/f/ProductSwitch.js +2 -2
  43. package/src/sap/f/ProductSwitchItem.js +2 -2
  44. package/src/sap/f/ProductSwitchItemRenderer.js +1 -1
  45. package/src/sap/f/ProductSwitchRenderer.js +1 -1
  46. package/src/sap/f/SearchManager.js +2 -2
  47. package/src/sap/f/ShellBar.js +6 -6
  48. package/src/sap/f/ShellBarRenderer.js +1 -1
  49. package/src/sap/f/SidePanel.js +13 -7
  50. package/src/sap/f/SidePanelItem.js +2 -2
  51. package/src/sap/f/SidePanelRenderer.js +1 -1
  52. package/src/sap/f/cards/BaseHeader.js +3 -10
  53. package/src/sap/f/cards/Header.js +3 -3
  54. package/src/sap/f/cards/HeaderRenderer.js +11 -15
  55. package/src/sap/f/cards/NumericHeader.js +3 -3
  56. package/src/sap/f/cards/NumericHeaderRenderer.js +11 -15
  57. package/src/sap/f/cards/NumericIndicators.js +2 -2
  58. package/src/sap/f/cards/NumericIndicatorsRenderer.js +1 -1
  59. package/src/sap/f/cards/NumericSideIndicator.js +2 -2
  60. package/src/sap/f/cards/NumericSideIndicatorRenderer.js +1 -1
  61. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +2 -2
  62. package/src/sap/f/cards/loading/CalendarPlaceholder.js +2 -2
  63. package/src/sap/f/cards/loading/GenericPlaceholder.js +2 -2
  64. package/src/sap/f/cards/loading/ListPlaceholder.js +2 -2
  65. package/src/sap/f/cards/loading/ObjectPlaceholder.js +2 -2
  66. package/src/sap/f/cards/loading/TablePlaceholder.js +2 -2
  67. package/src/sap/f/cards/loading/TimelinePlaceholder.js +2 -2
  68. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +2 -2
  69. package/src/sap/f/delegate/GridContainerItemNavigation.js +2 -2
  70. package/src/sap/f/delegate/GridItemNavigation.js +2 -2
  71. package/src/sap/f/designtime/Avatar.designtime.js +1 -1
  72. package/src/sap/f/designtime/DynamicPage.designtime.js +1 -1
  73. package/src/sap/f/designtime/DynamicPageHeader.designtime.js +1 -1
  74. package/src/sap/f/designtime/DynamicPageTitle.designtime.js +1 -1
  75. package/src/sap/f/designtime/SemanticPage.designtime.js +1 -1
  76. package/src/sap/f/designtime/library.designtime.js +1 -1
  77. package/src/sap/f/dnd/GridDragOver.js +2 -2
  78. package/src/sap/f/dnd/GridDropInfo.js +43 -4
  79. package/src/sap/f/dnd/GridKeyboardDragAndDrop.js +1 -1
  80. package/src/sap/f/flexibility/Avatar.flexibility.js +1 -1
  81. package/src/sap/f/flexibility/DynamicPageTitle.flexibility.js +1 -1
  82. package/src/sap/f/library.js +3 -3
  83. package/src/sap/f/library.support.js +1 -1
  84. package/src/sap/f/messagebundle_ar.properties +11 -0
  85. package/src/sap/f/messagebundle_bg.properties +11 -0
  86. package/src/sap/f/messagebundle_ca.properties +11 -0
  87. package/src/sap/f/messagebundle_cs.properties +20 -9
  88. package/src/sap/f/messagebundle_cy.properties +11 -0
  89. package/src/sap/f/messagebundle_da.properties +11 -0
  90. package/src/sap/f/messagebundle_de.properties +11 -0
  91. package/src/sap/f/messagebundle_el.properties +11 -0
  92. package/src/sap/f/messagebundle_en.properties +11 -0
  93. package/src/sap/f/messagebundle_en_GB.properties +11 -0
  94. package/src/sap/f/messagebundle_en_US_sappsd.properties +11 -0
  95. package/src/sap/f/messagebundle_en_US_saprigi.properties +4 -0
  96. package/src/sap/f/messagebundle_en_US_saptrc.properties +11 -0
  97. package/src/sap/f/messagebundle_es.properties +11 -0
  98. package/src/sap/f/messagebundle_es_MX.properties +11 -0
  99. package/src/sap/f/messagebundle_et.properties +11 -0
  100. package/src/sap/f/messagebundle_fi.properties +11 -0
  101. package/src/sap/f/messagebundle_fr.properties +11 -0
  102. package/src/sap/f/messagebundle_fr_CA.properties +11 -0
  103. package/src/sap/f/messagebundle_hi.properties +11 -0
  104. package/src/sap/f/messagebundle_hr.properties +12 -1
  105. package/src/sap/f/messagebundle_hu.properties +11 -0
  106. package/src/sap/f/messagebundle_id.properties +11 -0
  107. package/src/sap/f/messagebundle_it.properties +11 -0
  108. package/src/sap/f/messagebundle_iw.properties +11 -0
  109. package/src/sap/f/messagebundle_ja.properties +11 -0
  110. package/src/sap/f/messagebundle_kk.properties +11 -0
  111. package/src/sap/f/messagebundle_ko.properties +11 -0
  112. package/src/sap/f/messagebundle_lt.properties +11 -0
  113. package/src/sap/f/messagebundle_lv.properties +11 -0
  114. package/src/sap/f/messagebundle_ms.properties +11 -0
  115. package/src/sap/f/messagebundle_nl.properties +11 -0
  116. package/src/sap/f/messagebundle_no.properties +11 -0
  117. package/src/sap/f/messagebundle_pl.properties +11 -0
  118. package/src/sap/f/messagebundle_pt.properties +11 -0
  119. package/src/sap/f/messagebundle_pt_PT.properties +11 -0
  120. package/src/sap/f/messagebundle_ro.properties +11 -0
  121. package/src/sap/f/messagebundle_ru.properties +11 -0
  122. package/src/sap/f/messagebundle_sh.properties +11 -0
  123. package/src/sap/f/messagebundle_sk.properties +11 -0
  124. package/src/sap/f/messagebundle_sl.properties +14 -3
  125. package/src/sap/f/messagebundle_sv.properties +11 -0
  126. package/src/sap/f/messagebundle_th.properties +11 -0
  127. package/src/sap/f/messagebundle_tr.properties +11 -0
  128. package/src/sap/f/messagebundle_uk.properties +11 -0
  129. package/src/sap/f/messagebundle_vi.properties +11 -0
  130. package/src/sap/f/messagebundle_zh_CN.properties +11 -0
  131. package/src/sap/f/messagebundle_zh_TW.properties +11 -0
  132. package/src/sap/f/routing/Router.js +1 -1
  133. package/src/sap/f/routing/Target.js +1 -1
  134. package/src/sap/f/routing/TargetHandler.js +1 -1
  135. package/src/sap/f/routing/Targets.js +1 -1
  136. package/src/sap/f/routing/async/Target.js +1 -1
  137. package/src/sap/f/routing/async/Targets.js +1 -1
  138. package/src/sap/f/rules/Avatar.support.js +1 -1
  139. package/src/sap/f/rules/DynamicPage.support.js +1 -1
  140. package/src/sap/f/semantic/AddAction.js +2 -2
  141. package/src/sap/f/semantic/CloseAction.js +2 -2
  142. package/src/sap/f/semantic/CopyAction.js +2 -2
  143. package/src/sap/f/semantic/DeleteAction.js +2 -2
  144. package/src/sap/f/semantic/DiscussInJamAction.js +2 -2
  145. package/src/sap/f/semantic/EditAction.js +2 -2
  146. package/src/sap/f/semantic/ExitFullScreenAction.js +2 -2
  147. package/src/sap/f/semantic/FavoriteAction.js +2 -2
  148. package/src/sap/f/semantic/FlagAction.js +2 -2
  149. package/src/sap/f/semantic/FooterMainAction.js +2 -2
  150. package/src/sap/f/semantic/FullScreenAction.js +2 -2
  151. package/src/sap/f/semantic/MainAction.js +2 -2
  152. package/src/sap/f/semantic/MessagesIndicator.js +2 -2
  153. package/src/sap/f/semantic/NegativeAction.js +2 -2
  154. package/src/sap/f/semantic/PositiveAction.js +2 -2
  155. package/src/sap/f/semantic/PrintAction.js +2 -2
  156. package/src/sap/f/semantic/SemanticButton.js +2 -2
  157. package/src/sap/f/semantic/SemanticConfiguration.js +2 -2
  158. package/src/sap/f/semantic/SemanticContainer.js +1 -1
  159. package/src/sap/f/semantic/SemanticControl.js +2 -2
  160. package/src/sap/f/semantic/SemanticFooter.js +1 -1
  161. package/src/sap/f/semantic/SemanticPage.js +6 -6
  162. package/src/sap/f/semantic/SemanticPageRenderer.js +1 -1
  163. package/src/sap/f/semantic/SemanticShareMenu.js +1 -1
  164. package/src/sap/f/semantic/SemanticTitle.js +1 -1
  165. package/src/sap/f/semantic/SemanticToggleButton.js +2 -2
  166. package/src/sap/f/semantic/SendEmailAction.js +2 -2
  167. package/src/sap/f/semantic/SendMessageAction.js +2 -2
  168. package/src/sap/f/semantic/ShareInJamAction.js +2 -2
  169. package/src/sap/f/semantic/TitleMainAction.js +2 -2
  170. package/src/sap/f/shellBar/Accessibility.js +1 -1
  171. package/src/sap/f/shellBar/AdditionalContentSupport.js +2 -2
  172. package/src/sap/f/shellBar/CoPilot.js +2 -2
  173. package/src/sap/f/shellBar/CoPilotRenderer.js +1 -1
  174. package/src/sap/f/shellBar/ControlSpacer.js +2 -2
  175. package/src/sap/f/shellBar/ControlSpacerRenderer.js +1 -1
  176. package/src/sap/f/shellBar/Factory.js +1 -1
  177. package/src/sap/f/shellBar/ResponsiveHandler.js +1 -1
  178. package/src/sap/f/shellBar/Search.js +2 -2
  179. package/src/sap/f/shellBar/SearchRenderer.js +1 -1
  180. package/src/sap/f/themes/base/CardNumericIndicators.less +1 -1
  181. package/src/sap/f/themes/base/DynamicPage.less +4 -1
  182. package/src/sap/f/themes/base/DynamicPageHeader.less +3 -0
  183. package/src/sap/f/themes/base/FlexibleColumnLayout.less +1 -1
  184. package/src/sap/f/themes/base/GridDragAndDrop.less +1 -1
  185. package/src/sap/f/themes/base/ShellBar.less +7 -3
  186. package/src/sap/f/themes/base/library.source.less +1 -1
  187. package/src/sap/f/themes/sap_hcb/library.source.less +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @param {object} [mSettings] Initial settings for the new control
60
60
  *
61
61
  * @class
62
- * Implements the master-detail-detail paradigm by displaying up to three pages in separate columns.
62
+ * Implements the list-detail-detail paradigm by displaying up to three pages in separate columns.
63
63
  *
64
64
  * <h3>Overview</h3>
65
65
  *
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  *
98
98
  * @extends sap.ui.core.Control
99
99
  * @author SAP SE
100
- * @version 1.109.0
100
+ * @version 1.111.0
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -2306,7 +2306,7 @@ sap.ui.define([
2306
2306
  * @param {object} mSettings Object containing the aggregation name
2307
2307
  * @param {string} mSettings.aggregation The aggregation name to decide on which column/container the placeholder should be shown
2308
2308
  * @private
2309
- * @ui5-restricted SAPUI5 Distribution libraries only
2309
+ * @ui5-restricted SAPUI5 Distribution Layer Libraries
2310
2310
  * @since 1.91
2311
2311
  */
2312
2312
  FlexibleColumnLayout.prototype.showPlaceholder = function(mSettings) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.109.0
25
+ * @version 1.111.0
26
26
  * @since 1.95
27
27
  *
28
28
  * @constructor
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -42,14 +42,14 @@ sap.ui.define([
42
42
  * must be currently shown in which column, according to UX guidelines, as well as to what layout clicking them should lead.
43
43
  *
44
44
  * Calling <code>getNextUIState(2)</code> will return information about the expected layout and action buttons if the
45
- * application should display three views (master-detail-detail), based on the current state.
45
+ * application should display three views (list-detail-detail), based on the current state.
46
46
  *
47
47
  * Similarly, calling <code>getNextUIState(0)</code> will return information about the expected layout and action buttons
48
- * if the application should display the initial view only (master), based on the current state.
48
+ * if the application should display the initial view only (list), based on the current state.
49
49
  *
50
50
  * For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
51
51
  *
52
- * @version 1.109.0
52
+ * @version 1.111.0
53
53
  * @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
54
54
  * The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
55
55
  *
@@ -309,8 +309,8 @@ sap.ui.define([
309
309
  /**
310
310
  * Returns an object, describing the state that the control will have after navigating to a different view level.
311
311
  *
312
- * @param {int} iNextLevel - the view level that should be represented. 0 means initial (master only), 1 - master-detail,
313
- * 2 - master-detail-detail, 3 and above - subsequent views
312
+ * @param {int} iNextLevel - the view level that should be represented. 0 means initial (list only), 1 - list-detail,
313
+ * 2 - list-detail-detail, 3 and above - subsequent views
314
314
  *
315
315
  * @public
316
316
  * @returns {sap.f.FlexibleColumnLayoutSemanticHelper.UIState} The object describing the next UI state
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -12,10 +12,13 @@ sap.ui.define([
12
12
  "./library",
13
13
  "./dnd/GridKeyboardDragAndDrop",
14
14
  "sap/base/strings/capitalize",
15
+ 'sap/ui/core/delegate/ItemNavigation',
15
16
  "sap/ui/base/ManagedObjectObserver",
16
17
  "sap/ui/core/Control",
17
18
  "sap/ui/core/Core",
19
+ "sap/ui/core/Element",
18
20
  "sap/ui/core/ResizeHandler",
21
+ "sap/ui/core/InvisibleMessage",
19
22
  "sap/ui/Device",
20
23
  "sap/ui/events/KeyCodes",
21
24
  "sap/ui/thirdparty/jquery"
@@ -28,10 +31,13 @@ sap.ui.define([
28
31
  library,
29
32
  GridKeyboardDragAndDrop,
30
33
  capitalize,
34
+ ItemNavigation,
31
35
  ManagedObjectObserver,
32
36
  Control,
33
37
  Core,
38
+ Element,
34
39
  ResizeHandler,
40
+ InvisibleMessage,
35
41
  Device,
36
42
  KeyCodes,
37
43
  jQuery
@@ -165,7 +171,7 @@ sap.ui.define([
165
171
  * @see {@link sap.f.dnd.GridDropInfo}
166
172
  *
167
173
  * @author SAP SE
168
- * @version 1.109.0
174
+ * @version 1.111.0
169
175
  *
170
176
  * @extends sap.ui.core.Control
171
177
  *
@@ -407,18 +413,27 @@ sap.ui.define([
407
413
  oContainer._setItemNavigationItems();
408
414
 
409
415
  oContainer._applyItemAutoRows(this);
416
+ };
410
417
 
411
- if (this.getAriaRoleDescription) {
412
- var oListItemDomRef = this.getDomRef().parentElement,
413
- sAriaRoleDesc = this.getAriaRoleDescription();
418
+ GridContainer.prototype._onItemWrapperFocusIn = function (oEvent) {
419
+ var oFocusedDomRef = this._oItemNavigation.getFocusedDomRef(),
420
+ oControl,
421
+ sAccText;
414
422
 
415
- if (oListItemDomRef.classList.contains("sapFGridContainerItemWrapper")) {
416
- if (sAriaRoleDesc) {
417
- oListItemDomRef.setAttribute("aria-roledescription", sAriaRoleDesc);
418
- } else {
419
- oListItemDomRef.removeAttribute("aria-roledescription");
420
- }
421
- }
423
+ if (!oFocusedDomRef || !oFocusedDomRef.firstChild) {
424
+ return;
425
+ }
426
+
427
+ oControl = Element.closestTo(oFocusedDomRef.firstChild);
428
+
429
+ if (!oControl || !oControl.getAriaRoleDescription) {
430
+ return;
431
+ }
432
+
433
+ // announce the aria role description text, if any
434
+ sAccText = oControl.getAriaRoleDescription();
435
+ if (sAccText) {
436
+ InvisibleMessage.getInstance().announce(sAccText);
422
437
  }
423
438
  };
424
439
 
@@ -499,7 +514,9 @@ sap.ui.define([
499
514
  sapnext : ["alt", "meta", "ctrl"],
500
515
  sapprevious : ["alt", "meta", "ctrl"]
501
516
  })
502
- .setFocusedIndex(0);
517
+ .setTableMode(true, true)
518
+ .setFocusedIndex(0)
519
+ .attachEvent(ItemNavigation.Events.AfterFocus, this._onItemWrapperFocusIn.bind(this));
503
520
 
504
521
  that.addDelegate(this._oItemNavigation);
505
522
  }
@@ -701,6 +718,9 @@ sap.ui.define([
701
718
  ResizeHandler.deregister(resizeListenerId);
702
719
  }
703
720
 
721
+ // init the InvisibleMessage
722
+ InvisibleMessage.getInstance();
723
+
704
724
  this._isRenderingFinished = false;
705
725
  this._lastGridWidth = null;
706
726
  this._lastViewportWidth = null;
@@ -946,6 +966,7 @@ sap.ui.define([
946
966
  mStyles = mStylesInfo.styles,
947
967
  aClasses = mStylesInfo.classes,
948
968
  oWrapper = document.createElement("div");
969
+ oWrapper.setAttribute("id", GridContainerRenderer.generateWrapperId(oItem, this));
949
970
  oWrapper.setAttribute("tabindex", "0");
950
971
 
951
972
  mStyles.forEach(function (sValue, sKey) {
@@ -984,11 +1005,11 @@ sap.ui.define([
984
1005
  oEvent.preventDefault();
985
1006
  }
986
1007
 
987
- var oItem = jQuery(oEvent.target.firstChild).control()[0];
1008
+ var oItem = Element.closestTo(oEvent.target.firstChild);
988
1009
 
989
1010
  if (oItem) {
990
1011
  var oFocusDomRef = oItem.getFocusDomRef(),
991
- oFocusControl = jQuery(oFocusDomRef).control()[0];
1012
+ oFocusControl = Element.closestTo(oFocusDomRef);
992
1013
 
993
1014
  if (oFocusControl && oFocusControl[sName]) {
994
1015
  oFocusControl[sName].call(oFocusControl, oEvent);
@@ -1008,9 +1029,12 @@ sap.ui.define([
1008
1029
 
1009
1030
  if (mOwnVisualFocusControls[sName] && mOwnVisualFocusControls[sName](oControl)) {
1010
1031
  oFocusDomRef = oControl.getFocusDomRef();
1032
+
1011
1033
  // remove the focus DOM ref from the tab chain
1012
- oFocusDomRef.setAttribute("tabindex", -1);
1013
- oFocusDomRef.tabIndex = -1;
1034
+ if (oFocusDomRef.getAttribute("tabindex") === "0") {
1035
+ oFocusDomRef.setAttribute("tabindex", -1);
1036
+ oFocusDomRef.tabIndex = -1;
1037
+ }
1014
1038
  GridContainerUtils.getItemWrapper(oControl).classList.add("sapFGridContainerItemWrapperNoVisualFocus");
1015
1039
  }
1016
1040
  };
@@ -1029,7 +1053,7 @@ sap.ui.define([
1029
1053
  return;
1030
1054
  }
1031
1055
 
1032
- var oItem = jQuery(oEvent.target.firstElementChild).control(0),
1056
+ var oItem = Element.closestTo(oEvent.target.firstElementChild),
1033
1057
  iLength = this.getItems().length,
1034
1058
  iItemIndex = this.indexOfItem(oItem),
1035
1059
  iInsertAt = -1,
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.109.0
24
+ * @version 1.111.0
25
25
  *
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -93,15 +93,14 @@ sap.ui.define([], function () {
93
93
  mStyles = mStylesInfo.styles,
94
94
  aClasses = mStylesInfo.classes,
95
95
  mAccState = {
96
- role: "listitem",
97
- labelledby: oItem.getId()
96
+ role: "listitem"
98
97
  };
99
98
 
100
99
  if (oItem.getAriaRoleDescription) {
101
100
  mAccState.roledescription = oItem.getAriaRoleDescription();
102
101
  }
103
102
 
104
- oRM.openStart("div", oControl.getId() + "-item-" + iIndex)
103
+ oRM.openStart("div", this.generateWrapperId(oItem, oControl))
105
104
  .attr("tabindex", "0")
106
105
  .accessibilityState(oControl, mAccState);
107
106
 
@@ -167,6 +166,10 @@ sap.ui.define([], function () {
167
166
  };
168
167
  };
169
168
 
169
+ GridContainerRenderer.generateWrapperId = function (oItem, oGridContainer) {
170
+ return oGridContainer.getId() + "-item-" + oItem.getId();
171
+ };
172
+
170
173
  /**
171
174
  * Renders a dummy area for keyboard handling purposes
172
175
  * @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer
@@ -178,6 +181,7 @@ sap.ui.define([], function () {
178
181
  oRM.openStart("div", sControlId + "-" + sAreaId)
179
182
  .class("sapFGridContainerDummyArea")
180
183
  .attr("tabindex", iTabIndex)
184
+ .attr("role", "none")
181
185
  .openEnd()
182
186
  .close("div");
183
187
  };
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.109.0
61
+ * @version 1.111.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.109.0
68
+ * @version 1.111.0
69
69
  *
70
70
  * @experimental Since 1.65 This class is experimental. The API may change.
71
71
  * @since 1.65
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.109.0
96
+ * @version 1.111.0
97
97
  *
98
98
  * @extends sap.m.ListBase
99
99
  * @implements sap.ui.layout.cssgrid.IGridConfigurable
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.ListItemBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.109.0
27
+ * @version 1.111.0
28
28
  *
29
29
  * @since 1.70
30
30
  * @constructor
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @override
23
23
  */
24
24
  GridListRenderer.getNoDataAriaRole = function() {
25
- return "option";
25
+ return "listitem";
26
26
  };
27
27
 
28
28
  /**
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  /*
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.m.IllustratedMessage
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.109.0
59
+ * @version 1.111.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.Illustration
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.109.0
33
+ * @version 1.111.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/PlanningCalendarLegend', 'sap/ui/unified/CalendarLegendIte
22
22
  * @extends sap.m.PlanningCalendarLegend
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.109.0
25
+ * @version 1.111.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.109.0
37
+ * @version 1.111.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.109.0
43
+ * @version 1.111.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.109.0
26
+ * @version 1.111.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -1,12 +1,11 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
7
  // Provides control sap.f.ShellBar
8
8
  sap.ui.define([
9
- 'sap/f/library',
10
9
  "sap/ui/core/Control",
11
10
  "./shellBar/Factory",
12
11
  "./shellBar/AdditionalContentSupport",
@@ -15,10 +14,10 @@ sap.ui.define([
15
14
  "sap/m/BarInPageEnabler",
16
15
  "sap/m/BadgeCustomData",
17
16
  "sap/m/Button",
17
+ "sap/m/library",
18
18
  "./ShellBarRenderer"
19
19
  ],
20
20
  function(
21
- library,
22
21
  Control,
23
22
  Factory,
24
23
  AdditionalContentSupport,
@@ -27,11 +26,12 @@ function(
27
26
  BarInPageEnabler,
28
27
  BadgeCustomData,
29
28
  Button,
29
+ mobileLibrary,
30
30
  ShellBarRenderer
31
31
  ) {
32
32
  "use strict";
33
33
 
34
- var AvatarSize = library.AvatarSize;
34
+ var AvatarSize = mobileLibrary.AvatarSize;
35
35
 
36
36
  /**
37
37
  * Constructor for a new <code>ShellBar</code>.
@@ -56,7 +56,7 @@ function(
56
56
  * @implements sap.f.IShellBar, sap.m.IBar, sap.tnt.IToolHeader
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.109.0
59
+ * @version 1.111.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -697,7 +697,7 @@ function(
697
697
  /**
698
698
  * Gets the available Bar contexts.
699
699
  *
700
- * @returns {Object} with all available contexts
700
+ * @returns {sap.m.BarContexts} with all available contexts
701
701
  * @protected
702
702
  * @function
703
703
  * @since 1.65
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6