@openui5/sap.f 1.108.2 → 1.110.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 +3 -6
  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 +1 -1
  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 +4 -32
  17. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +2 -2
  18. package/src/sap/f/DynamicPageHeader.js +4 -4
  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 +7 -7
  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 +41 -18
  28. package/src/sap/f/GridContainerItemLayoutData.js +2 -2
  29. package/src/sap/f/GridContainerRenderer.js +9 -5
  30. package/src/sap/f/GridContainerSettings.js +3 -3
  31. package/src/sap/f/GridContainerUtils.js +5 -5
  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 +1 -1
  36. package/src/sap/f/GridNavigationMatrix.js +3 -3
  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 -50
  43. package/src/sap/f/ProductSwitchItem.js +2 -2
  44. package/src/sap/f/ProductSwitchItemRenderer.js +1 -2
  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 +397 -87
  50. package/src/sap/f/SidePanelItem.js +2 -3
  51. package/src/sap/f/SidePanelRenderer.js +63 -20
  52. package/src/sap/f/cards/BaseHeader.js +12 -21
  53. package/src/sap/f/cards/Header.js +3 -3
  54. package/src/sap/f/cards/HeaderRenderer.js +12 -16
  55. package/src/sap/f/cards/NumericHeader.js +12 -4
  56. package/src/sap/f/cards/NumericHeaderRenderer.js +11 -15
  57. package/src/sap/f/cards/NumericIndicators.js +11 -3
  58. package/src/sap/f/cards/NumericIndicatorsRenderer.js +7 -4
  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 +5 -6
  63. package/src/sap/f/cards/loading/GenericPlaceholder.js +2 -2
  64. package/src/sap/f/cards/loading/ListPlaceholder.js +6 -6
  65. package/src/sap/f/cards/loading/ObjectPlaceholder.js +2 -2
  66. package/src/sap/f/cards/loading/TablePlaceholder.js +6 -6
  67. package/src/sap/f/cards/loading/TimelinePlaceholder.js +7 -7
  68. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +2 -2
  69. package/src/sap/f/delegate/GridContainerItemNavigation.js +20 -42
  70. package/src/sap/f/delegate/GridItemNavigation.js +8 -18
  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 +11 -5
  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.properties +11 -0
  85. package/src/sap/f/messagebundle_ar.properties +7 -0
  86. package/src/sap/f/messagebundle_bg.properties +7 -0
  87. package/src/sap/f/messagebundle_ca.properties +7 -0
  88. package/src/sap/f/messagebundle_cs.properties +16 -9
  89. package/src/sap/f/messagebundle_cy.properties +7 -0
  90. package/src/sap/f/messagebundle_da.properties +7 -0
  91. package/src/sap/f/messagebundle_de.properties +7 -0
  92. package/src/sap/f/messagebundle_el.properties +7 -0
  93. package/src/sap/f/messagebundle_en.properties +7 -0
  94. package/src/sap/f/messagebundle_en_GB.properties +7 -0
  95. package/src/sap/f/messagebundle_en_US_sappsd.properties +7 -0
  96. package/src/sap/f/messagebundle_en_US_saprigi.properties +7 -0
  97. package/src/sap/f/messagebundle_en_US_saptrc.properties +7 -0
  98. package/src/sap/f/messagebundle_es.properties +7 -0
  99. package/src/sap/f/messagebundle_es_MX.properties +7 -0
  100. package/src/sap/f/messagebundle_et.properties +7 -0
  101. package/src/sap/f/messagebundle_fi.properties +7 -0
  102. package/src/sap/f/messagebundle_fr.properties +7 -0
  103. package/src/sap/f/messagebundle_fr_CA.properties +7 -0
  104. package/src/sap/f/messagebundle_hi.properties +7 -0
  105. package/src/sap/f/messagebundle_hr.properties +8 -1
  106. package/src/sap/f/messagebundle_hu.properties +7 -0
  107. package/src/sap/f/messagebundle_id.properties +7 -0
  108. package/src/sap/f/messagebundle_it.properties +7 -0
  109. package/src/sap/f/messagebundle_iw.properties +7 -0
  110. package/src/sap/f/messagebundle_ja.properties +7 -0
  111. package/src/sap/f/messagebundle_kk.properties +7 -0
  112. package/src/sap/f/messagebundle_ko.properties +7 -0
  113. package/src/sap/f/messagebundle_lt.properties +7 -0
  114. package/src/sap/f/messagebundle_lv.properties +7 -0
  115. package/src/sap/f/messagebundle_ms.properties +7 -0
  116. package/src/sap/f/messagebundle_nl.properties +7 -0
  117. package/src/sap/f/messagebundle_no.properties +7 -0
  118. package/src/sap/f/messagebundle_pl.properties +7 -0
  119. package/src/sap/f/messagebundle_pt.properties +7 -0
  120. package/src/sap/f/messagebundle_pt_PT.properties +7 -0
  121. package/src/sap/f/messagebundle_ro.properties +7 -0
  122. package/src/sap/f/messagebundle_ru.properties +7 -0
  123. package/src/sap/f/messagebundle_sh.properties +7 -0
  124. package/src/sap/f/messagebundle_sk.properties +7 -0
  125. package/src/sap/f/messagebundle_sl.properties +7 -0
  126. package/src/sap/f/messagebundle_sv.properties +7 -0
  127. package/src/sap/f/messagebundle_th.properties +7 -0
  128. package/src/sap/f/messagebundle_tr.properties +7 -0
  129. package/src/sap/f/messagebundle_uk.properties +7 -0
  130. package/src/sap/f/messagebundle_vi.properties +7 -0
  131. package/src/sap/f/messagebundle_zh_CN.properties +7 -0
  132. package/src/sap/f/messagebundle_zh_TW.properties +7 -0
  133. package/src/sap/f/routing/Router.js +1 -1
  134. package/src/sap/f/routing/Target.js +1 -1
  135. package/src/sap/f/routing/TargetHandler.js +1 -1
  136. package/src/sap/f/routing/Targets.js +1 -1
  137. package/src/sap/f/routing/async/Target.js +1 -1
  138. package/src/sap/f/routing/async/Targets.js +1 -1
  139. package/src/sap/f/rules/Avatar.support.js +1 -1
  140. package/src/sap/f/rules/DynamicPage.support.js +1 -1
  141. package/src/sap/f/semantic/AddAction.js +2 -2
  142. package/src/sap/f/semantic/CloseAction.js +2 -2
  143. package/src/sap/f/semantic/CopyAction.js +2 -2
  144. package/src/sap/f/semantic/DeleteAction.js +2 -2
  145. package/src/sap/f/semantic/DiscussInJamAction.js +2 -2
  146. package/src/sap/f/semantic/EditAction.js +2 -2
  147. package/src/sap/f/semantic/ExitFullScreenAction.js +2 -2
  148. package/src/sap/f/semantic/FavoriteAction.js +2 -2
  149. package/src/sap/f/semantic/FlagAction.js +2 -2
  150. package/src/sap/f/semantic/FooterMainAction.js +2 -2
  151. package/src/sap/f/semantic/FullScreenAction.js +2 -2
  152. package/src/sap/f/semantic/MainAction.js +2 -2
  153. package/src/sap/f/semantic/MessagesIndicator.js +2 -2
  154. package/src/sap/f/semantic/NegativeAction.js +2 -2
  155. package/src/sap/f/semantic/PositiveAction.js +2 -2
  156. package/src/sap/f/semantic/PrintAction.js +2 -2
  157. package/src/sap/f/semantic/SemanticButton.js +2 -2
  158. package/src/sap/f/semantic/SemanticConfiguration.js +4 -8
  159. package/src/sap/f/semantic/SemanticContainer.js +1 -1
  160. package/src/sap/f/semantic/SemanticControl.js +2 -2
  161. package/src/sap/f/semantic/SemanticFooter.js +1 -1
  162. package/src/sap/f/semantic/SemanticPage.js +6 -6
  163. package/src/sap/f/semantic/SemanticPageRenderer.js +1 -1
  164. package/src/sap/f/semantic/SemanticShareMenu.js +1 -1
  165. package/src/sap/f/semantic/SemanticTitle.js +1 -1
  166. package/src/sap/f/semantic/SemanticToggleButton.js +2 -2
  167. package/src/sap/f/semantic/SendEmailAction.js +2 -2
  168. package/src/sap/f/semantic/SendMessageAction.js +2 -2
  169. package/src/sap/f/semantic/ShareInJamAction.js +2 -2
  170. package/src/sap/f/semantic/TitleMainAction.js +2 -2
  171. package/src/sap/f/shellBar/Accessibility.js +1 -1
  172. package/src/sap/f/shellBar/AdditionalContentSupport.js +2 -2
  173. package/src/sap/f/shellBar/CoPilot.js +2 -2
  174. package/src/sap/f/shellBar/CoPilotRenderer.js +12 -7
  175. package/src/sap/f/shellBar/ControlSpacer.js +2 -2
  176. package/src/sap/f/shellBar/ControlSpacerRenderer.js +1 -1
  177. package/src/sap/f/shellBar/Factory.js +1 -1
  178. package/src/sap/f/shellBar/ResponsiveHandler.js +1 -1
  179. package/src/sap/f/shellBar/Search.js +2 -2
  180. package/src/sap/f/shellBar/SearchRenderer.js +1 -1
  181. package/src/sap/f/themes/base/DynamicPage.less +4 -1
  182. package/src/sap/f/themes/base/FlexibleColumnLayout.less +1 -1
  183. package/src/sap/f/themes/base/GridList.less +4 -0
  184. package/src/sap/f/themes/base/ShellBar.less +6 -0
  185. package/src/sap/f/themes/base/SidePanel.less +189 -29
  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
  sap.ui.define([
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.108.2
22
+ * @version 1.110.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -32,9 +32,9 @@ sap.ui.define([
32
32
  properties: {
33
33
 
34
34
  /**
35
- * The maximum number of items set to the list.
35
+ * The minimum number of items set to the list.
36
36
  */
37
- maxItems: {
37
+ minItems: {
38
38
  type : "int",
39
39
  group : "Misc"
40
40
  },
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  renderer: {
55
55
  apiVersion: 2,
56
56
  render: function (oRm, oControl) {
57
- var iMaxItems = oControl.getMaxItems(),
57
+ var iMinItems = oControl.getMinItems(),
58
58
  oItem = oControl.getItem(),
59
59
  // set title for screen reader
60
60
  oResBundle = Core.getLibraryResourceBundle("sap.ui.core"),
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
 
75
75
  oRm.openEnd();
76
76
 
77
- for (var i = 0; i < iMaxItems; i++) {
77
+ for (var i = 0; i < iMinItems; i++) {
78
78
  oRm.openStart("div")
79
79
  .class("sapFCardListPlaceholderItem")
80
80
  .style("height", oControl.getItemHeight())
@@ -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([
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.108.2
32
+ * @version 1.110.0
33
33
  *
34
34
  * @constructor
35
35
  * @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
  sap.ui.define([
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.108.2
22
+ * @version 1.110.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -32,9 +32,9 @@ sap.ui.define([
32
32
  properties: {
33
33
 
34
34
  /**
35
- * The maximum number of items (table rows) set to the table
35
+ * The minimum number of items (table rows) set to the table
36
36
  */
37
- maxItems: {
37
+ minItems: {
38
38
  type : "int",
39
39
  group : "Misc"
40
40
  },
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  renderer: {
53
53
  apiVersion: 2,
54
54
  render: function (oRm, oControl) {
55
- var iMaxItems = oControl.getMaxItems(),
55
+ var iMinItems = oControl.getMinItems(),
56
56
  iColumns = oControl.getColumns(),
57
57
  bHasActualContent = oControl.getParent()._getTable().getColumns().length,
58
58
  // set title for screen reader
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
 
78
78
  oRm.openEnd();
79
79
 
80
- for (var i = 0; i < iMaxItems + 1; i++) { // number of rows + header
80
+ for (var i = 0; i < iMinItems + 1; i++) { // number of rows + header
81
81
  oRm.openStart("div")
82
82
  .class("sapFCardTablePlaceholderItem")
83
83
  .style("height", oControl.getItemHeight())
@@ -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([
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.108.2
22
+ * @version 1.110.0
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -32,9 +32,9 @@ sap.ui.define([
32
32
  properties: {
33
33
 
34
34
  /**
35
- * The maximum number of items set to the timeline.
35
+ * The minimum number of items set to the timeline.
36
36
  */
37
- maxItems: {
37
+ minItems: {
38
38
  type : "int",
39
39
  group : "Misc"
40
40
  },
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  renderer: {
55
55
  apiVersion: 2,
56
56
  render: function (oRm, oControl) {
57
- var iMaxItems = oControl.getMaxItems(),
57
+ var iMinItems = oControl.getMinItems(),
58
58
  oItem = oControl.getItem(),
59
59
  // set title for screen reader
60
60
  oResBundle = Core.getLibraryResourceBundle("sap.ui.core"),
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
 
75
75
  oRm.openEnd();
76
76
 
77
- for (var i = 0; i < iMaxItems; i++) {
77
+ for (var i = 0; i < iMinItems; i++) {
78
78
  oRm.openStart("div")
79
79
  .class("sapFCardTimelinePlaceholderItem")
80
80
  .style("height", oControl.getItemHeight())
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  .openEnd()
92
92
  .close("div");
93
93
 
94
- if (i !== iMaxItems - 1) {
94
+ if (i !== iMinItems - 1) {
95
95
  oRm.openStart("div")
96
96
  .class("sapFCardTimelinePlaceholderLine")
97
97
  .class("sapFCardLoadingShimmer")
@@ -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
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @alias sap.f.changeHandler.MoveDynamicPageTitleActions
18
18
  * @author SAP SE
19
- * @version 1.108.2
19
+ * @version 1.110.0
20
20
  * @experimental Since 1.52
21
21
  */
22
22
  var MoveActions = { };
@@ -1,15 +1,17 @@
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([
7
+ "sap/ui/core/Element",
7
8
  "sap/ui/core/delegate/ItemNavigation",
8
9
  "./GridItemNavigation",
9
10
  "sap/ui/dom/containsOrEquals",
10
11
  "sap/ui/thirdparty/jquery",
11
12
  "sap/ui/dom/jquery/Selectors" // provides jQuery custom selector ":sapTabbable"
12
13
  ], function (
14
+ Element,
13
15
  ItemNavigation,
14
16
  GridItemNavigation,
15
17
  containsOrEquals,
@@ -39,7 +41,7 @@ sap.ui.define([
39
41
  *
40
42
  *
41
43
  * @author SAP SE
42
- * @version 1.108.2
44
+ * @version 1.110.0
43
45
  *
44
46
  * @extends sap.f.delegate.GridItemNavigation
45
47
  *
@@ -52,20 +54,10 @@ sap.ui.define([
52
54
  GridItemNavigation.apply(this, arguments);
53
55
 
54
56
  this.attachEvent(ItemNavigation.Events.FocusLeave, this._onFocusLeave, this);
55
- },
56
- metadata: {
57
- library: "sap.f",
58
- properties: {
59
-
60
- },
61
- events: {
62
-
63
- }
64
57
  }
65
58
  });
66
59
 
67
60
  GridContainerItemNavigation.prototype._onFocusLeave = function (oEvent) {
68
-
69
61
  var currentFocused = this.getFocusedDomRef();
70
62
  this.getItemDomRefs().forEach(function (item, index) {
71
63
  if (currentFocused === item) {
@@ -73,8 +65,6 @@ sap.ui.define([
73
65
  this.setFocusedIndex(nextFocusableIndex);
74
66
  }
75
67
  }.bind(this));
76
-
77
- this._bFocusLeft = true;
78
68
  };
79
69
 
80
70
  /**
@@ -116,11 +106,9 @@ sap.ui.define([
116
106
  }
117
107
  });
118
108
 
119
- var $Tabbables = jQuery(Tabbables),
120
- focusableIndex = $Tabbables.length === 1 ? 0 : $Tabbables.length - 1;
121
-
109
+ var focusableIndex = Tabbables.length - 1;
122
110
  if (focusableIndex === -1 ||
123
- ($Tabbables.control(focusableIndex) && $Tabbables.control(focusableIndex).getId() === oEvent.target.id)) {
111
+ (Element.closestTo(Tabbables[focusableIndex]) && Element.closestTo(Tabbables[focusableIndex]).getId() === oEvent.target.id)) {
124
112
  this._lastFocusedElement = oEvent.target;
125
113
  this.forwardTab(true);
126
114
  }
@@ -168,7 +156,7 @@ sap.ui.define([
168
156
  oControl;
169
157
 
170
158
  if ($listItem.length) {
171
- oControl = $listItem.children().eq(0).control()[0];
159
+ oControl = Element.closestTo($listItem.children()[0]);
172
160
 
173
161
  // if the list item visual focus is displayed by the currently focused control,
174
162
  // move the focus to the list item
@@ -206,6 +194,16 @@ sap.ui.define([
206
194
  GridContainerItemNavigation.prototype.onfocusin = function(oEvent) {
207
195
  GridItemNavigation.prototype.onfocusin.call(this, oEvent);
208
196
 
197
+ // focus is coming in the grid container from Tab
198
+ if (oEvent.target === this._getGridInstance().getDomRef("before") && !this.getRootDomRef().contains(oEvent.relatedTarget)) {
199
+ var oLastFocused = this._lastFocusedElement || this.getItemDomRefs()[this.getFocusedIndex()];
200
+
201
+ if (oLastFocused) {
202
+ oLastFocused.focus();
203
+ }
204
+ return;
205
+ }
206
+
209
207
  // focus is coming in the grid container from Shift + Tab
210
208
  if (oEvent.target === this._getGridInstance().getDomRef("after") && !this.getRootDomRef().contains(oEvent.relatedTarget)) {
211
209
  this._focusPrevious(oEvent);
@@ -213,13 +211,10 @@ sap.ui.define([
213
211
  }
214
212
 
215
213
  var $listItem = jQuery(oEvent.target).closest('.sapFGridContainerItemWrapperNoVisualFocus'),
216
- oControl,
217
- aNavigationDomRefs,
218
- iLastFocusedIndex,
219
- oLastFocused;
214
+ oControl;
220
215
 
221
216
  if ($listItem.length) {
222
- oControl = $listItem.children().eq(0).control()[0];
217
+ oControl = Element.closestTo($listItem.children()[0]);
223
218
 
224
219
  if (oControl) {
225
220
  doVirtualFocusin(oControl);
@@ -233,23 +228,6 @@ sap.ui.define([
233
228
  }
234
229
  }
235
230
  }
236
-
237
- if (oEvent.target.classList.contains("sapFGridContainerItemWrapper")) {
238
- this._lastFocusedElement = null;
239
- }
240
-
241
- if (this._bFocusLeft && !this._bIsMouseDown) {
242
- aNavigationDomRefs = this.getItemDomRefs();
243
- iLastFocusedIndex = this.getFocusedIndex();
244
-
245
- oLastFocused = this._lastFocusedElement || aNavigationDomRefs[iLastFocusedIndex];
246
-
247
- if (!containsOrEquals(oLastFocused, oEvent.target)) {
248
- oLastFocused.focus();
249
- }
250
- }
251
-
252
- this._bFocusLeft = false;
253
231
  };
254
232
 
255
233
  /**
@@ -318,7 +296,7 @@ sap.ui.define([
318
296
  this.aItemDomRefs[this.iFocusedIndex].focus();
319
297
 
320
298
  // make the DOM element that has the outline focus to be visible in the view area
321
- oInnerControl = jQuery(this.aItemDomRefs[this.iFocusedIndex].firstChild).control()[0];
299
+ oInnerControl = Element.closestTo(this.aItemDomRefs[this.iFocusedIndex].firstChild);
322
300
 
323
301
  if (oInnerControl) {
324
302
  oInnerControlFocusDomRef = oInnerControl.getFocusDomRef();
@@ -1,20 +1,20 @@
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([
7
+ "sap/ui/core/Element",
7
8
  "sap/ui/core/delegate/ItemNavigation",
8
9
  "sap/ui/events/KeyCodes",
9
10
  "sap/base/Log",
10
- "sap/f/library",
11
- "sap/ui/thirdparty/jquery"
11
+ "sap/f/library"
12
12
  ], function (
13
+ Element,
13
14
  ItemNavigation,
14
15
  KeyCodes,
15
16
  Log,
16
- library,
17
- jQuery
17
+ library
18
18
  ) {
19
19
  "use strict";
20
20
 
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.108.2
34
+ * @version 1.110.0
35
35
  *
36
36
  * @extends sap.ui.core.delegate.ItemNavigation
37
37
  *
@@ -39,17 +39,7 @@ sap.ui.define([
39
39
  * @constructor
40
40
  * @alias sap.f.delegate.GridItemNavigation
41
41
  */
42
- var GridItemNavigation = ItemNavigation.extend("sap.f.delegate.GridItemNavigation", /** @lends sap.f.GridItemNavigation.prototype */ {
43
- metadata: {
44
- library: "sap.f",
45
- properties: {
46
-
47
- },
48
- events: {
49
-
50
- }
51
- }
52
- });
42
+ var GridItemNavigation = ItemNavigation.extend("sap.f.delegate.GridItemNavigation");
53
43
 
54
44
  GridItemNavigation.prototype.resetFocusPosition = function () {
55
45
  this._mCurrentPosition = null;
@@ -384,7 +374,7 @@ sap.ui.define([
384
374
  };
385
375
 
386
376
  GridItemNavigation.prototype._getGridInstance = function () {
387
- return jQuery(this.oDomRef).control(0);
377
+ return Element.closestTo(this.oDomRef);
388
378
  };
389
379
 
390
380
  return GridItemNavigation;
@@ -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
 
@@ -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
 
@@ -1,18 +1,24 @@
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
- sap.ui.define(['sap/ui/base/Object', "sap/ui/thirdparty/jquery", "sap/base/Log", "sap/ui/core/Configuration"],
8
- function(BaseObject, jQuery, Log, Configuration) {
7
+ sap.ui.define([
8
+ "sap/ui/base/Object",
9
+ "sap/ui/thirdparty/jquery",
10
+ "sap/base/Log",
11
+ "sap/ui/core/Configuration",
12
+ "sap/ui/core/Element"
13
+ ],
14
+ function(BaseObject, jQuery, Log, Configuration, Element) {
9
15
  "use strict";
10
16
 
11
17
  /**
12
18
  * Handles dragging of a control over a given grid container.
13
19
  *
14
20
  * @author SAP SE
15
- * @version 1.108.2
21
+ * @version 1.110.0
16
22
  *
17
23
  * @extends sap.ui.base.Object
18
24
  *
@@ -450,7 +456,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/thirdparty/jquery", "sap/base/Log",
450
456
  return null;
451
457
  }
452
458
 
453
- oTargetControl = $target.control(0, true);
459
+ oTargetControl = Element.closestTo($target[0], true);
454
460
 
455
461
  if (!sBeforeOrAfter) {
456
462
  sBeforeOrAfter = this._calculateDropBeforeOrAfter(oTargetControl, oDragEvent);
@@ -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
 
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.dnd.DropInfo
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.108.2
40
+ * @version 1.110.0
41
41
  *
42
42
  * @public
43
43
  * @experimental Since 1.68 This class is experimental. The API may change.
@@ -57,9 +57,9 @@ sap.ui.define([
57
57
  *
58
58
  * If not specified or if the function returns <code>null</code>, the indicator size will be calculated automatically.
59
59
  *
60
- * This callback will be called when the indicator is displayed, that happens during the drag over movement.
60
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
61
61
  *
62
- * The callback receives <code>draggedControl</code> as parameter and must return an object of type <code>{rows: <int>, columns: <int>}</code> or <code>null</code>.
62
+ * The callback receives <code>draggedControl</code> as parameter and must return an object of type <code>{rows: int, columns: int}</code> or <code>null</code>.
63
63
  */
64
64
  dropIndicatorSize: {
65
65
  type: "function",
@@ -81,6 +81,45 @@ sap.ui.define([
81
81
  }
82
82
  }});
83
83
 
84
+ /**
85
+ * Sets a new value for property {@link #setDropIndicatorSize dropIndicatorSize}.
86
+ *
87
+ * A function which will define the desired drop indicator size. The drop indicator shows the user how the grid will rearrange after drop.
88
+ * Use when custom size needs to be defined. For example when an item is dragged from outside a grid and is dropped over the grid.
89
+ *
90
+ * If not specified or if the function returns <code>null</code>, the indicator size will be calculated automatically.
91
+ *
92
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
93
+ *
94
+ * The callback receives <code>draggedControl</code> as parameter and must return an object of type <code>{rows: int, columns: int}</code> or <code>null</code>.
95
+ *
96
+ * When called with a value of <code>null</code> or <code>undefined</code>, the default value of the property will be restored.
97
+ *
98
+ * @public
99
+ * @method
100
+ * @name sap.f.dnd.GridDropInfo#setDropIndicatorSize
101
+ * @param {function(sap.ui.core.Control): ({rows: int, columns: int}|null)} [fnDropIndicatorSize] New value for property <code>dropIndicatorSize</code>
102
+ * @returns {this} Reference to <code>this</code> in order to allow method chaining
103
+ */
104
+
105
+ /**
106
+ * Gets current value of property {@link #getDropIndicatorSize dropIndicatorSize}.
107
+ *
108
+ * A function which will define the desired drop indicator size. The drop indicator shows the user how the grid will rearrange after drop.
109
+ * Use when custom size needs to be defined. For example, when an item is dragged from outside a grid and is dropped over the grid.
110
+ *
111
+ * If not specified or if the function returns <code>null</code>, the indicator size will be calculated automatically.
112
+ *
113
+ * This callback will be called when the indicator is displayed, which happens during the drag over movement.
114
+ *
115
+ * The callback receives <code>draggedControl</code> as parameter and must return an object of type <code>{rows: int, columns: int}</code> or <code>null</code>.
116
+ *
117
+ * @public
118
+ * @method
119
+ * @name sap.f.dnd.GridDropInfo#getDropIndicatorSize
120
+ * @returns {function(sap.ui.core.Control): ({rows: int, columns: int}|null)|undefined} Value of property <code>dropIndicatorSize</code>
121
+ */
122
+
84
123
  GridDropInfo.prototype.isDroppable = function(oControl, oEvent) {
85
124
  if (!this._shouldEnhance()) {
86
125
  return DropInfo.prototype.isDroppable.apply(this, arguments);
@@ -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([], function() {
@@ -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
 
@@ -36,13 +36,13 @@ sap.ui.define(["sap/ui/base/DataType",
36
36
  * @namespace
37
37
  * @alias sap.f
38
38
  * @author SAP SE
39
- * @version 1.108.2
39
+ * @version 1.110.0
40
40
  * @since 1.44
41
41
  * @public
42
42
  */
43
43
  var thisLib = sap.ui.getCore().initLibrary({
44
44
  name : "sap.f",
45
- version: "1.108.2",
45
+ version: "1.110.0",
46
46
  dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
47
47
  designtime: "sap/f/designtime/library.designtime",
48
48
  interfaces: [
@@ -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
  /**
@@ -232,4 +232,15 @@ SIDEPANEL_NAV_ITEM_SELECTED=Selected
232
232
  #XACT: sap.f.SidePanel Default aria-label text for the side panel
233
233
  SIDEPANEL_DEFAULT_ARIA_LABEL=Side Panel
234
234
 
235
+ #XMIT: sap.f.SidePanel context menu minimum width menu item text
236
+ SIDEPANEL_CONTEXTMENU_MINIMUM_WIDTH=Collapse to Minimum Width
237
+
238
+ #XMIT: sap.f.SidePanel context menu default width menu item text
239
+ SIDEPANEL_CONTEXTMENU_DEFAULT_WIDTH=Reset to Default Width
240
+
241
+ #XMIT: sap.f.SidePanel context menu maximum width menu item text
242
+ SIDEPANEL_CONTEXTMENU_MAXIMUM_WIDTH=Expand to Maximum Width
243
+
244
+ #XACT: sap.f.SidePanel "Selected" announcement text
245
+ SIDEPANEL_RESIZE_SPLITTER_TITLE=Resize side panel
235
246
 
@@ -153,4 +153,11 @@ SIDEPANEL_NAV_ITEM_SELECTED=\u0645\u062D\u062F\u062F
153
153
 
154
154
  SIDEPANEL_DEFAULT_ARIA_LABEL=\u0644\u0648\u062D\u0629 \u062C\u0627\u0646\u0628\u064A\u0629...
155
155
 
156
+ SIDEPANEL_CONTEXTMENU_MINIMUM_WIDTH=\u0637\u064A \u0625\u0644\u0649 \u0623\u062F\u0646\u0649 \u0639\u0631\u0636
157
+
158
+ SIDEPANEL_CONTEXTMENU_DEFAULT_WIDTH=\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646 \u0625\u0644\u0649 \u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A
159
+
160
+ SIDEPANEL_CONTEXTMENU_MAXIMUM_WIDTH=\u062A\u0648\u0633\u064A\u0639 \u0625\u0644\u0649 \u0623\u0642\u0635\u0649 \u0639\u0631\u0636
161
+
162
+ SIDEPANEL_RESIZE_SPLITTER_TITLE=\u0625\u0639\u0627\u062F\u0629 \u062A\u062D\u062F\u064A\u062F \u062D\u062C\u0645 \u0644\u0648\u062D\u0629 \u062C\u0627\u0646\u0628\u064A\u0629
156
163
 
@@ -153,4 +153,11 @@ SIDEPANEL_NAV_ITEM_SELECTED=\u0418\u0437\u0431\u0440\u0430\u043D\u043E
153
153
 
154
154
  SIDEPANEL_DEFAULT_ARIA_LABEL=\u0421\u0442\u0440\u0430\u043D\u0438\u0447\u0435\u043D \u043F\u0430\u043D\u0435\u043B
155
155
 
156
+ SIDEPANEL_CONTEXTMENU_MINIMUM_WIDTH=\u0421\u0432\u0438\u0432\u0430\u043D\u0435 \u0434\u043E \u043C\u0438\u043D\u0438\u043C\u0430\u043B\u043D\u0430 \u0448\u0438\u0440\u0438\u043D\u0430
157
+
158
+ SIDEPANEL_CONTEXTMENU_DEFAULT_WIDTH=\u0418\u0437\u0447\u0438\u0441\u0442\u0432\u0430\u043D\u0435 \u0434\u043E \u0448\u0438\u0440\u0438\u043D\u0430 \u043F\u043E \u043F\u043E\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043D\u0435
159
+
160
+ SIDEPANEL_CONTEXTMENU_MAXIMUM_WIDTH=\u0420\u0430\u0437\u0433\u044A\u0432\u0430\u043D\u0435 \u0434\u043E \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0430 \u0448\u0438\u0440\u0438\u043D\u0430
161
+
162
+ SIDEPANEL_RESIZE_SPLITTER_TITLE=\u041F\u0440\u043E\u043C\u044F\u043D\u0430 \u043D\u0430 \u0440\u0430\u0437\u043C\u0435\u0440 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0447\u0435\u043D \u043F\u0430\u043D\u0435\u043B
156
163
 
@@ -153,4 +153,11 @@ SIDEPANEL_NAV_ITEM_SELECTED=Seleccionat
153
153
 
154
154
  SIDEPANEL_DEFAULT_ARIA_LABEL=Panell lateral
155
155
 
156
+ SIDEPANEL_CONTEXTMENU_MINIMUM_WIDTH=Comprimir a l'amplada m\u00EDnima
157
+
158
+ SIDEPANEL_CONTEXTMENU_DEFAULT_WIDTH=Restablir amplada est\u00E0ndard
159
+
160
+ SIDEPANEL_CONTEXTMENU_MAXIMUM_WIDTH=Desplegar a l'amplada m\u00E0xima
161
+
162
+ SIDEPANEL_RESIZE_SPLITTER_TITLE=Ajustar mida del panell lateral
156
163