@openui5/sap.m 1.96.19 → 1.96.21

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 (324) hide show
  1. package/package.json +4 -4
  2. package/src/sap/m/.library +1 -1
  3. package/src/sap/m/AccButton.js +1 -1
  4. package/src/sap/m/ActionListItem.js +1 -1
  5. package/src/sap/m/ActionSelect.js +1 -1
  6. package/src/sap/m/ActionSheet.js +1 -1
  7. package/src/sap/m/App.js +1 -1
  8. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  9. package/src/sap/m/Avatar.js +1 -1
  10. package/src/sap/m/Bar.js +1 -1
  11. package/src/sap/m/Breadcrumbs.js +1 -1
  12. package/src/sap/m/BusyDialog.js +1 -1
  13. package/src/sap/m/BusyIndicator.js +1 -1
  14. package/src/sap/m/Button.js +1 -1
  15. package/src/sap/m/Carousel.js +1 -1
  16. package/src/sap/m/CarouselLayout.js +1 -1
  17. package/src/sap/m/CheckBox.js +1 -1
  18. package/src/sap/m/ColorPalette.js +1 -1
  19. package/src/sap/m/ColorPalettePopover.js +1 -1
  20. package/src/sap/m/Column.js +1 -1
  21. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  22. package/src/sap/m/ColumnListItem.js +1 -1
  23. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  24. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  25. package/src/sap/m/ColumnPopoverItem.js +1 -1
  26. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  28. package/src/sap/m/ComboBox.js +1 -1
  29. package/src/sap/m/ComboBoxBase.js +1 -1
  30. package/src/sap/m/ComboBoxTextField.js +1 -1
  31. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  32. package/src/sap/m/CustomListItem.js +1 -1
  33. package/src/sap/m/CustomTile.js +1 -1
  34. package/src/sap/m/CustomTreeItem.js +1 -1
  35. package/src/sap/m/DatePicker.js +1 -1
  36. package/src/sap/m/DateRangeSelection.js +2 -2
  37. package/src/sap/m/DateTimeField.js +1 -1
  38. package/src/sap/m/DateTimeInput.js +1 -1
  39. package/src/sap/m/DateTimePicker.js +1 -1
  40. package/src/sap/m/Dialog.js +1 -1
  41. package/src/sap/m/DisplayListItem.js +1 -1
  42. package/src/sap/m/DraftIndicator.js +1 -1
  43. package/src/sap/m/DynamicDate.js +1 -1
  44. package/src/sap/m/DynamicDateOption.js +1 -1
  45. package/src/sap/m/DynamicDateRange.js +1 -1
  46. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  47. package/src/sap/m/ExpandableText.js +1 -1
  48. package/src/sap/m/FacetFilter.js +1 -1
  49. package/src/sap/m/FacetFilterItem.js +1 -1
  50. package/src/sap/m/FacetFilterList.js +1 -1
  51. package/src/sap/m/FeedContent.js +1 -1
  52. package/src/sap/m/FeedInput.js +1 -1
  53. package/src/sap/m/FeedListItem.js +1 -1
  54. package/src/sap/m/FeedListItemAction.js +1 -1
  55. package/src/sap/m/Fiori20Adapter.js +2 -2
  56. package/src/sap/m/FlexBox.js +1 -1
  57. package/src/sap/m/FlexItemData.js +1 -1
  58. package/src/sap/m/FormattedText.js +4 -3
  59. package/src/sap/m/GenericTag.js +1 -1
  60. package/src/sap/m/GenericTile.js +1 -1
  61. package/src/sap/m/GroupHeaderListItem.js +1 -1
  62. package/src/sap/m/GrowingEnablement.js +2 -4
  63. package/src/sap/m/GrowingList.js +1 -1
  64. package/src/sap/m/HBox.js +1 -1
  65. package/src/sap/m/HeaderContainer.js +1 -1
  66. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  67. package/src/sap/m/IconTabBar.js +1 -1
  68. package/src/sap/m/IconTabBarSelectList.js +1 -1
  69. package/src/sap/m/IconTabFilter.js +1 -1
  70. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  71. package/src/sap/m/IconTabHeader.js +1 -1
  72. package/src/sap/m/IconTabSeparator.js +1 -1
  73. package/src/sap/m/Image.js +1 -1
  74. package/src/sap/m/ImageContent.js +1 -1
  75. package/src/sap/m/Input.js +80 -15
  76. package/src/sap/m/InputBase.js +1 -1
  77. package/src/sap/m/InputListItem.js +1 -1
  78. package/src/sap/m/Label.js +1 -1
  79. package/src/sap/m/LightBox.js +1 -1
  80. package/src/sap/m/LightBoxItem.js +1 -1
  81. package/src/sap/m/Link.js +7 -16
  82. package/src/sap/m/List.js +1 -1
  83. package/src/sap/m/ListBase.js +1 -1
  84. package/src/sap/m/ListItemBase.js +1 -1
  85. package/src/sap/m/MaskEnabler.js +1 -1
  86. package/src/sap/m/MaskInput.js +1 -1
  87. package/src/sap/m/MaskInputRule.js +1 -1
  88. package/src/sap/m/Menu.js +1 -1
  89. package/src/sap/m/MenuButton.js +1 -1
  90. package/src/sap/m/MenuItem.js +1 -1
  91. package/src/sap/m/MenuListItem.js +1 -1
  92. package/src/sap/m/MessageItem.js +1 -1
  93. package/src/sap/m/MessageListItem.js +1 -1
  94. package/src/sap/m/MessagePage.js +1 -1
  95. package/src/sap/m/MessagePopover.js +1 -1
  96. package/src/sap/m/MessagePopoverItem.js +1 -1
  97. package/src/sap/m/MessageStrip.js +1 -1
  98. package/src/sap/m/MessageToast.js +1 -1
  99. package/src/sap/m/MessageView.js +1 -1
  100. package/src/sap/m/MultiComboBox.js +1 -1
  101. package/src/sap/m/MultiEditField.js +1 -1
  102. package/src/sap/m/MultiInput.js +1 -1
  103. package/src/sap/m/NavContainer.js +1 -1
  104. package/src/sap/m/NewsContent.js +1 -1
  105. package/src/sap/m/NotificationList.js +1 -1
  106. package/src/sap/m/NotificationListBase.js +1 -1
  107. package/src/sap/m/NotificationListGroup.js +1 -1
  108. package/src/sap/m/NotificationListItem.js +1 -1
  109. package/src/sap/m/NumericContent.js +1 -1
  110. package/src/sap/m/NumericInput.js +1 -1
  111. package/src/sap/m/ObjectAttribute.js +1 -1
  112. package/src/sap/m/ObjectHeader.js +1 -1
  113. package/src/sap/m/ObjectIdentifier.js +1 -1
  114. package/src/sap/m/ObjectListItem.js +1 -1
  115. package/src/sap/m/ObjectMarker.js +1 -1
  116. package/src/sap/m/ObjectNumber.js +1 -1
  117. package/src/sap/m/ObjectStatus.js +1 -1
  118. package/src/sap/m/OverflowToolbar.js +1 -1
  119. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  120. package/src/sap/m/OverflowToolbarButton.js +1 -1
  121. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  122. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  123. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  124. package/src/sap/m/P13nColumnsItem.js +1 -1
  125. package/src/sap/m/P13nColumnsPanel.js +1 -1
  126. package/src/sap/m/P13nConditionPanel.js +1 -1
  127. package/src/sap/m/P13nDialog.js +1 -1
  128. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  129. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  130. package/src/sap/m/P13nFilterItem.js +1 -1
  131. package/src/sap/m/P13nFilterPanel.js +1 -1
  132. package/src/sap/m/P13nGroupItem.js +1 -1
  133. package/src/sap/m/P13nGroupPanel.js +1 -1
  134. package/src/sap/m/P13nItem.js +1 -1
  135. package/src/sap/m/P13nPanel.js +1 -1
  136. package/src/sap/m/P13nSelectionItem.js +1 -1
  137. package/src/sap/m/P13nSelectionPanel.js +1 -1
  138. package/src/sap/m/P13nSortItem.js +1 -1
  139. package/src/sap/m/P13nSortPanel.js +1 -1
  140. package/src/sap/m/PDFViewer.js +1 -1
  141. package/src/sap/m/Page.js +1 -1
  142. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  143. package/src/sap/m/PagingButton.js +1 -1
  144. package/src/sap/m/Panel.js +1 -1
  145. package/src/sap/m/PlanningCalendar.js +1 -1
  146. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  147. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  148. package/src/sap/m/PlanningCalendarRow.js +1 -1
  149. package/src/sap/m/PlanningCalendarView.js +1 -1
  150. package/src/sap/m/Popover.js +1 -1
  151. package/src/sap/m/ProgressIndicator.js +1 -1
  152. package/src/sap/m/PullToRefresh.js +1 -1
  153. package/src/sap/m/QuickView.js +1 -1
  154. package/src/sap/m/QuickViewBase.js +1 -1
  155. package/src/sap/m/QuickViewCard.js +1 -1
  156. package/src/sap/m/QuickViewGroup.js +1 -1
  157. package/src/sap/m/QuickViewGroupElement.js +1 -1
  158. package/src/sap/m/QuickViewPage.js +1 -1
  159. package/src/sap/m/RadioButton.js +1 -1
  160. package/src/sap/m/RadioButtonGroup.js +1 -1
  161. package/src/sap/m/RangeSlider.js +1 -1
  162. package/src/sap/m/RatingIndicator.js +1 -1
  163. package/src/sap/m/ResponsivePopover.js +1 -1
  164. package/src/sap/m/ResponsiveScale.js +1 -1
  165. package/src/sap/m/ScrollBar.js +1 -1
  166. package/src/sap/m/ScrollContainer.js +1 -1
  167. package/src/sap/m/SearchField.js +1 -1
  168. package/src/sap/m/SegmentedButton.js +1 -1
  169. package/src/sap/m/SegmentedButtonItem.js +1 -1
  170. package/src/sap/m/Select.js +1 -1
  171. package/src/sap/m/SelectDialog.js +1 -1
  172. package/src/sap/m/SelectDialogBase.js +1 -1
  173. package/src/sap/m/SelectList.js +1 -1
  174. package/src/sap/m/SelectionDetails.js +1 -1
  175. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  176. package/src/sap/m/SelectionDetailsItem.js +1 -1
  177. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  178. package/src/sap/m/Shell.js +1 -1
  179. package/src/sap/m/SimpleFixFlex.js +1 -1
  180. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  181. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  182. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  183. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  184. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  185. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  186. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  187. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  188. package/src/sap/m/SlideTile.js +1 -1
  189. package/src/sap/m/Slider.js +1 -1
  190. package/src/sap/m/SliderTooltip.js +1 -1
  191. package/src/sap/m/SliderTooltipBase.js +1 -1
  192. package/src/sap/m/SliderTooltipContainer.js +1 -1
  193. package/src/sap/m/SplitApp.js +1 -1
  194. package/src/sap/m/SplitButton.js +1 -1
  195. package/src/sap/m/SplitContainer.js +1 -1
  196. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  197. package/src/sap/m/StandardListItem.js +1 -1
  198. package/src/sap/m/StandardTile.js +1 -1
  199. package/src/sap/m/StandardTreeItem.js +1 -1
  200. package/src/sap/m/StepInput.js +1 -1
  201. package/src/sap/m/SuggestionItem.js +1 -1
  202. package/src/sap/m/SuggestionsPopover.js +1 -1
  203. package/src/sap/m/Switch.js +1 -1
  204. package/src/sap/m/TabContainer.js +1 -1
  205. package/src/sap/m/TabContainerItem.js +1 -1
  206. package/src/sap/m/TabContainerRenderer.js +1 -1
  207. package/src/sap/m/TabStrip.js +1 -1
  208. package/src/sap/m/TabStripItem.js +1 -1
  209. package/src/sap/m/Table.js +1 -1
  210. package/src/sap/m/TablePersoController.js +1 -1
  211. package/src/sap/m/TablePersoDialog.js +1 -1
  212. package/src/sap/m/TablePersoProvider.js +1 -1
  213. package/src/sap/m/TableRenderer.js +2 -1
  214. package/src/sap/m/TableSelectDialog.js +1 -1
  215. package/src/sap/m/Text.js +1 -1
  216. package/src/sap/m/TextArea.js +1 -1
  217. package/src/sap/m/Tile.js +1 -1
  218. package/src/sap/m/TileContainer.js +1 -1
  219. package/src/sap/m/TileContent.js +1 -1
  220. package/src/sap/m/TimePicker.js +1 -1
  221. package/src/sap/m/TimePickerClock.js +1 -1
  222. package/src/sap/m/TimePickerClocks.js +1 -1
  223. package/src/sap/m/TimePickerInputs.js +1 -1
  224. package/src/sap/m/TimePickerInternals.js +1 -1
  225. package/src/sap/m/TimePickerSlider.js +1 -1
  226. package/src/sap/m/TimePickerSliders.js +1 -1
  227. package/src/sap/m/Title.js +1 -1
  228. package/src/sap/m/TitlePropagationSupport.js +1 -1
  229. package/src/sap/m/ToggleButton.js +1 -1
  230. package/src/sap/m/Token.js +1 -1
  231. package/src/sap/m/Tokenizer.js +1 -1
  232. package/src/sap/m/Toolbar.js +1 -1
  233. package/src/sap/m/ToolbarLayoutData.js +1 -1
  234. package/src/sap/m/ToolbarSeparator.js +1 -1
  235. package/src/sap/m/ToolbarSpacer.js +1 -1
  236. package/src/sap/m/Tree.js +1 -1
  237. package/src/sap/m/TreeItemBase.js +1 -1
  238. package/src/sap/m/UploadCollection.js +1 -1
  239. package/src/sap/m/UploadCollectionItem.js +1 -1
  240. package/src/sap/m/UploadCollectionParameter.js +1 -1
  241. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  242. package/src/sap/m/VBox.js +1 -1
  243. package/src/sap/m/ValueStateHeader.js +1 -1
  244. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  245. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  246. package/src/sap/m/ViewSettingsDialog.js +1 -1
  247. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  248. package/src/sap/m/ViewSettingsItem.js +1 -1
  249. package/src/sap/m/VisibleItem.js +1 -1
  250. package/src/sap/m/WheelSlider.js +1 -1
  251. package/src/sap/m/WheelSliderContainer.js +1 -1
  252. package/src/sap/m/Wizard.js +1 -1
  253. package/src/sap/m/WizardProgressNavigator.js +1 -1
  254. package/src/sap/m/WizardStep.js +1 -1
  255. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  256. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  257. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  258. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  259. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  260. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  261. package/src/sap/m/library.js +2 -2
  262. package/src/sap/m/messagebundle_ar.properties +1 -1
  263. package/src/sap/m/messagebundle_bg.properties +11 -11
  264. package/src/sap/m/messagebundle_da.properties +6 -6
  265. package/src/sap/m/messagebundle_no.properties +5 -5
  266. package/src/sap/m/messagebundle_ro.properties +6 -6
  267. package/src/sap/m/messagebundle_sl.properties +9 -9
  268. package/src/sap/m/messagebundle_sv.properties +4 -4
  269. package/src/sap/m/messagebundle_th.properties +6 -6
  270. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  271. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  272. package/src/sap/m/p13n/BasePanel.js +1 -1
  273. package/src/sap/m/p13n/Container.js +1 -1
  274. package/src/sap/m/p13n/GroupPanel.js +1 -1
  275. package/src/sap/m/p13n/QueryPanel.js +1 -1
  276. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  277. package/src/sap/m/p13n/SortPanel.js +1 -1
  278. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  279. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  280. package/src/sap/m/plugins/PasteProvider.js +1 -1
  281. package/src/sap/m/plugins/PluginBase.js +1 -1
  282. package/src/sap/m/semantic/AddAction.js +1 -1
  283. package/src/sap/m/semantic/CancelAction.js +1 -1
  284. package/src/sap/m/semantic/DeleteAction.js +1 -1
  285. package/src/sap/m/semantic/DetailPage.js +1 -1
  286. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  287. package/src/sap/m/semantic/EditAction.js +1 -1
  288. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  289. package/src/sap/m/semantic/FilterAction.js +1 -1
  290. package/src/sap/m/semantic/FilterSelect.js +1 -1
  291. package/src/sap/m/semantic/FlagAction.js +1 -1
  292. package/src/sap/m/semantic/ForwardAction.js +1 -1
  293. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  294. package/src/sap/m/semantic/GroupAction.js +1 -1
  295. package/src/sap/m/semantic/GroupSelect.js +1 -1
  296. package/src/sap/m/semantic/MainAction.js +1 -1
  297. package/src/sap/m/semantic/MasterPage.js +1 -1
  298. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  299. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  300. package/src/sap/m/semantic/NegativeAction.js +1 -1
  301. package/src/sap/m/semantic/OpenInAction.js +1 -1
  302. package/src/sap/m/semantic/PositiveAction.js +1 -1
  303. package/src/sap/m/semantic/PrintAction.js +1 -1
  304. package/src/sap/m/semantic/SaveAction.js +1 -1
  305. package/src/sap/m/semantic/Segment.js +1 -1
  306. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  307. package/src/sap/m/semantic/SemanticButton.js +1 -1
  308. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  309. package/src/sap/m/semantic/SemanticControl.js +1 -1
  310. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  311. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  312. package/src/sap/m/semantic/SemanticPage.js +1 -1
  313. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  314. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  315. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  316. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  317. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  318. package/src/sap/m/semantic/ShareMenu.js +1 -1
  319. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  320. package/src/sap/m/semantic/SortAction.js +1 -1
  321. package/src/sap/m/semantic/SortSelect.js +1 -1
  322. package/src/sap/m/table/Util.js +1 -1
  323. package/src/sap/m/upload/UploadSet.js +2 -2
  324. package/src/sap/m/upload/UploadSetItem.js +1 -1
@@ -30,7 +30,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.96.19
33
+ * @version 1.96.21
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -154,9 +154,7 @@ sap.ui.define([
154
154
  },
155
155
 
156
156
  onScrollToLoad: function() {
157
- var oTriggerButton = this._oControl.getDomRef("triggerList");
158
-
159
- if (this._bLoading || !oTriggerButton || oTriggerButton.style.display != "none") {
157
+ if (this._bLoading) {
160
158
  return;
161
159
  }
162
160
 
@@ -637,7 +635,7 @@ sap.ui.define([
637
635
 
638
636
  // put the focus to the newly added item if growing button is pressed
639
637
  if (oTriggerDomRef && oTriggerDomRef.contains(document.activeElement)) {
640
- (aItems[this._iLastItemsCount] || oControl).focus();
638
+ (aItems[this._iLastItemsCount] || aItems[iItemsLength - 1] || oControl).focus();
641
639
  }
642
640
 
643
641
  // show, update or hide the growing button
@@ -22,7 +22,7 @@ sap.ui.define(['./List', './library', './GrowingListRenderer'],
22
22
  * @extends sap.m.List
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.96.19
25
+ * @version 1.96.21
26
26
  *
27
27
  * @constructor
28
28
  * @public
package/src/sap/m/HBox.js CHANGED
@@ -25,7 +25,7 @@ sap.ui.define(['./FlexBox', './library', './HBoxRenderer'],
25
25
  * @extends sap.m.FlexBox
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.96.19
28
+ * @version 1.96.21
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * @since 1.44.0
125
125
  *
126
126
  * @author SAP SE
127
- * @version 1.96.19
127
+ * @version 1.96.21
128
128
  *
129
129
  * @public
130
130
  * @alias sap.m.HeaderContainer
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @since 1.67.0
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.96.19
22
+ * @version 1.96.21
23
23
  *
24
24
  * @constructor
25
25
  * @alias sap.m.HeaderContainerItemNavigator
@@ -94,7 +94,7 @@ sap.ui.define([
94
94
  * @implements sap.m.ObjectHeaderContainer, sap.f.IDynamicPageStickyContent
95
95
  *
96
96
  * @author SAP SE
97
- * @version 1.96.19
97
+ * @version 1.96.21
98
98
  *
99
99
  * @public
100
100
  * @alias sap.m.IconTabBar
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.96.19
43
+ * @version 1.96.21
44
44
  *
45
45
  * @constructor
46
46
  * @private
@@ -94,7 +94,7 @@ sap.ui.define([
94
94
  * @implements sap.m.IconTab
95
95
  *
96
96
  * @author SAP SE
97
- * @version 1.96.19
97
+ * @version 1.96.21
98
98
  *
99
99
  * @constructor
100
100
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.96.19
34
+ * @version 1.96.21
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
  * @extends sap.ui.core.Control
78
78
  *
79
79
  * @author SAP SE
80
- * @version 1.96.19
80
+ * @version 1.96.21
81
81
  *
82
82
  * @constructor
83
83
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @implements sap.m.IconTab
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.96.19
39
+ * @version 1.96.21
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @implements sap.ui.core.IFormContent
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.96.19
60
+ * @version 1.96.21
61
61
  *
62
62
  * @public
63
63
  * @alias sap.m.Image
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.96.19
36
+ * @version 1.96.21
37
37
  * @since 1.38
38
38
  *
39
39
  * @public
@@ -159,7 +159,7 @@ function(
159
159
  *
160
160
  * @extends sap.m.InputBase
161
161
  * @author SAP SE
162
- * @version 1.96.19
162
+ * @version 1.96.21
163
163
  *
164
164
  * @constructor
165
165
  * @public
@@ -1466,7 +1466,7 @@ function(
1466
1466
 
1467
1467
  this.bValueHelpRequested = false;
1468
1468
 
1469
- if (!this._sProposedItemText || this.isMobileDevice()) {
1469
+ if (!this._getProposedItemText() || this.isMobileDevice()) {
1470
1470
  return;
1471
1471
  }
1472
1472
 
@@ -1481,7 +1481,7 @@ function(
1481
1481
  // but there is a proposed item due to the typeahead
1482
1482
  var oSelectedItem = this.getSuggestionItems()
1483
1483
  .filter(function (oItem) {
1484
- return oItem.getText() === this._sProposedItemText;
1484
+ return oItem.getText() === this._getProposedItemText();
1485
1485
  }.bind(this))[0];
1486
1486
 
1487
1487
  if (oSelectedItem) {
@@ -1550,8 +1550,7 @@ function(
1550
1550
  };
1551
1551
 
1552
1552
  /**
1553
- * Updates the selection, when the picker is closed and the suggestions selection
1554
- * was updated, while navigating.
1553
+ * Updates the selection, when the picker closes and there is selected item/row in the list/table.
1555
1554
  *
1556
1555
  * @param {sap.m.StandardListItem | sap.m.ColumnListItem | sap.m.GroupHeaderListItem} oSelectedItem The selected from navigation item
1557
1556
  * @private
@@ -1782,10 +1781,21 @@ function(
1782
1781
  Input.prototype.onkeyup = function (oEvent) {
1783
1782
  var sValue = this.getValue();
1784
1783
  var sLastValue = this.getLastValue();
1784
+ var bIsNavigationKey = (oEvent.which === KeyCodes.ARROW_DOWN) || (oEvent.which === KeyCodes.ARROW_UP);
1785
+ var oSuggestionsPopover, oItemsContainer, oSelectedItem;
1785
1786
 
1786
- if ([KeyCodes.BACKSPACE, KeyCodes.DELETE].indexOf(oEvent.which) !== -1 && !sValue) {
1787
+ if (!this._bDoTypeAhead && !sValue) {
1787
1788
  this.getShowSuggestion() && this.setSelectedKey(null);
1788
1789
  (sLastValue !== sValue) && this.setLastValue(sLastValue);
1790
+ } else if (!this._bDoTypeAhead && !bIsNavigationKey && sValue) {
1791
+ oSuggestionsPopover = this.getShowSuggestion() && this._getSuggestionsPopover();
1792
+ oItemsContainer = oSuggestionsPopover && oSuggestionsPopover.getItemsContainer();
1793
+ oSelectedItem = oItemsContainer && oItemsContainer.getSelectedItem();
1794
+
1795
+ this._setProposedItemText(null);
1796
+ if (oSelectedItem) {
1797
+ oSelectedItem.setSelected(false);
1798
+ }
1789
1799
  }
1790
1800
 
1791
1801
  this.getShowClearIcon() && this.setProperty("effectiveShowClearIcon", !!sValue);
@@ -2133,19 +2143,24 @@ function(
2133
2143
  /**
2134
2144
  * Handles Input's specific type ahead logic.
2135
2145
  *
2136
- * @param oInput {sap.m.Input} Input's instance to which the type ahead would be applied. For example: this OR Dialog's Input instance.
2146
+ * @param {sap.m.Input} oInput Input's instance to which the type ahead would be applied. For example: this OR Dialog's Input instance.
2147
+ * @returns {null|object} Map object containing type-ahead info or null if no type-ahead is performed.
2137
2148
  * @private
2138
2149
  */
2139
2150
  Input.prototype._handleTypeAhead = function (oInput) {
2140
2151
  var sValue = this.getValue();
2152
+ var mTypeAheadInfo = {
2153
+ value: "",
2154
+ selectedItem: null
2155
+ };
2141
2156
 
2142
2157
  // check if typeahead is already performed
2143
- if ((oInput && oInput.getValue().toLowerCase()) === (this._sProposedItemText && this._sProposedItemText.toLowerCase())) {
2158
+ if ((oInput && oInput.getValue().toLowerCase()) === (this._getProposedItemText() && this._getProposedItemText().toLowerCase())) {
2144
2159
  return;
2145
2160
  }
2146
2161
 
2147
2162
  this._setTypedInValue(sValue);
2148
- oInput._sProposedItemText = null;
2163
+ oInput._setProposedItemText(null);
2149
2164
 
2150
2165
  if (!this._bDoTypeAhead || sValue === "" ||
2151
2166
  sValue.length < this.getStartSuggestion() || document.activeElement !== this.getFocusDomRef()) {
@@ -2166,7 +2181,12 @@ function(
2166
2181
  return this._formatTypedAheadValue(fnExtractText(oItem));
2167
2182
  }.bind(this));
2168
2183
 
2169
- oInput._sProposedItemText = fnExtractText(aItemsToSelect[0]);
2184
+ mTypeAheadInfo.value = fnExtractText(aItemsToSelect[0]);
2185
+ mTypeAheadInfo.selectedItem = aItemsToSelect[0];
2186
+
2187
+ oInput._setProposedItemText(mTypeAheadInfo.value);
2188
+
2189
+ return mTypeAheadInfo;
2170
2190
  };
2171
2191
 
2172
2192
  /**
@@ -2178,7 +2198,7 @@ function(
2178
2198
  Input.prototype._resetTypeAhead = function (oInput) {
2179
2199
  oInput = oInput || this;
2180
2200
 
2181
- oInput._sProposedItemText = null;
2201
+ oInput._setProposedItemText(null);
2182
2202
  this._setTypedInValue('');
2183
2203
  };
2184
2204
 
@@ -2774,7 +2794,7 @@ function(
2774
2794
 
2775
2795
  oInput.addEventDelegate({
2776
2796
  onsapenter: function () {
2777
- this.setValue(this._sProposedItemText);
2797
+ this.setValue(this._getProposedItemText());
2778
2798
  }
2779
2799
  }, this);
2780
2800
 
@@ -2894,7 +2914,25 @@ function(
2894
2914
  }, this);
2895
2915
 
2896
2916
  oPopover.attachAfterOpen(function () {
2897
- this._handleTypeAhead(this);
2917
+ var mTypeAheadInfo;
2918
+ var oSuggPopover = this.getShowSuggestion() && this._getSuggestionsPopover();
2919
+ var oList = oSuggPopover && oSuggPopover.getItemsContainer();
2920
+ var oItemToBeSelected;
2921
+
2922
+ mTypeAheadInfo = this._handleTypeAhead(this);
2923
+
2924
+ // In case the items were provided on a later stage and the type-ahead was called
2925
+ // when the items were refreshed, there will be no selected item / row in the list,
2926
+ // no matter that we use the first matching item to auto-complete the user's input.
2927
+ // This will, later on, result in no item being added in the selectedItem/Row association.
2928
+ // Here we need to make sure that the first item (which's text was already used) is indeed selected.
2929
+ if (!(this._getProposedItemText() && oList && !oList.getSelectedItem() && mTypeAheadInfo && mTypeAheadInfo.selectedItem)) {
2930
+ return;
2931
+ }
2932
+
2933
+ oItemToBeSelected = this._hasTabularSuggestions() ? mTypeAheadInfo.selectedItem : ListHelpers.getListItem(mTypeAheadInfo.selectedItem);
2934
+ oItemToBeSelected.setSelected(true);
2935
+ this.setSelectionUpdatedFromList(true);
2898
2936
  }, this);
2899
2937
 
2900
2938
  if (this.isMobileDevice()) {
@@ -3217,7 +3255,10 @@ function(
3217
3255
  oTabularRow.setVisible(bShowItem);
3218
3256
  bShowItem && aFilteredItems.push(oTabularRow);
3219
3257
 
3220
- if (!bIsAnySuggestionAlreadySelected && bShowItem && this._sProposedItemText === this._getRowResultFunction()(oTabularRow)) {
3258
+ if (!bIsAnySuggestionAlreadySelected && bShowItem && this._getProposedItemText() === this._getRowResultFunction()(oTabularRow)) {
3259
+ // Setting the row to selected only works in case the items were there prior the user's input
3260
+ // as otherwise there will be no proposed text.
3261
+ // In case the items became available on a later stage, the typeahead functionality will set the selected row.
3221
3262
  oTabularRow.setSelected(true);
3222
3263
  bIsAnySuggestionAlreadySelected = true;
3223
3264
  }
@@ -3264,7 +3305,10 @@ function(
3264
3305
  oListItem = ListHelpers.createListItemFromCoreItem(oItem, true);
3265
3306
  oList.addItem(oListItem);
3266
3307
 
3267
- if (!bIsAnySuggestionAlreadySelected && this._sProposedItemText === oItem.getText()) {
3308
+ if (!bIsAnySuggestionAlreadySelected && this._getProposedItemText() === oItem.getText()) {
3309
+ // Setting the item to selected only works in case the items were there prior the user's input
3310
+ // as otherwise there will be no proposed text.
3311
+ // In case the items became available on a later stage, the typeahead functionality will set the selected item.
3268
3312
  oListItem.setSelected(true);
3269
3313
  bIsAnySuggestionAlreadySelected = true;
3270
3314
  }
@@ -3319,6 +3363,27 @@ function(
3319
3363
  return true;
3320
3364
  };
3321
3365
 
3366
+ /**
3367
+ * Setter for the _sProposedItemText property, representing the text extracted from the proposed item/row.
3368
+ *
3369
+ * @private
3370
+ * @param {string} sProposedText The new proposed text, extracted from the item/row.
3371
+ * @returns {this} <code>this</code> to allow method chaining.
3372
+ */
3373
+ Input.prototype._setProposedItemText = function (sProposedText) {
3374
+ this._sProposedItemText = sProposedText;
3375
+ return this;
3376
+ };
3377
+
3378
+ /**
3379
+ * Getter for the _sProposedItemText property representing the text extracted from the proposed item/row.
3380
+ *
3381
+ * @private
3382
+ * @returns {string} The text extracted from the proposed item/row.
3383
+ */
3384
+ Input.prototype._getProposedItemText = function () {
3385
+ return this._sProposedItemText;
3386
+ };
3322
3387
 
3323
3388
  return Input;
3324
3389
 
@@ -64,7 +64,7 @@ function(
64
64
  * @implements sap.ui.core.IFormContent
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.96.19
67
+ * @version 1.96.21
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.96.19
33
+ * @version 1.96.21
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -76,7 +76,7 @@ function(
76
76
  * @implements sap.ui.core.Label, sap.ui.core.IShrinkable
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.96.19
79
+ * @version 1.96.21
80
80
  *
81
81
  * @constructor
82
82
  * @public
@@ -99,7 +99,7 @@ sap.ui.define([
99
99
  * @extends sap.ui.core.Control
100
100
  *
101
101
  * @author SAP SE
102
- * @version 1.96.19
102
+ * @version 1.96.21
103
103
  *
104
104
  * @constructor
105
105
  * @public
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Element
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.96.19
46
+ * @version 1.96.21
47
47
  *
48
48
  * @constructor
49
49
  * @public
package/src/sap/m/Link.js CHANGED
@@ -81,7 +81,7 @@ function(
81
81
  * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ITitleContent
82
82
  *
83
83
  * @author SAP SE
84
- * @version 1.96.19
84
+ * @version 1.96.21
85
85
  *
86
86
  * @constructor
87
87
  * @public
@@ -253,14 +253,6 @@ function(
253
253
  */
254
254
  Link.prototype.onBeforeRendering = function() {};
255
255
 
256
- Link.prototype.onAfterRendering = function() {
257
- var oAnchorRef = this.getDomRef();
258
- // TODO: Adjust sap.m.internal.ObjectMarkerCustomLink rendering part of the sap.m.ObjectMarker implementation
259
- if (oAnchorRef && oAnchorRef.getAttribute("href") == "#") {
260
- oAnchorRef.onclick = function() { return false; };
261
- }
262
- };
263
-
264
256
  /**
265
257
  * Handle the key down event for SPACE
266
258
  * SHIFT or ESCAPE on pressed SPACE cancels the action
@@ -327,11 +319,15 @@ function(
327
319
  * @private
328
320
  */
329
321
  Link.prototype._handlePress = function(oEvent) {
322
+ var oTarget = oEvent.target,
323
+ bEmptyHref;
324
+
330
325
  if (this.getEnabled()) {
331
326
  // mark the event for components that needs to know if the event was handled by the link
332
327
  oEvent.setMarked();
333
328
 
334
- if (!this.firePress({ctrlKey: !!oEvent.ctrlKey, metaKey: !!oEvent.metaKey})) { // fire event and check return value whether default action should be prevented
329
+ bEmptyHref = oTarget.classList.contains("sapMLnk") && oTarget.getAttribute("href") == "#";
330
+ if (!this.firePress({ctrlKey: !!oEvent.ctrlKey, metaKey: !!oEvent.metaKey}) || bEmptyHref) { // fire event and check return value whether default action should be prevented
335
331
  oEvent.preventDefault();
336
332
  }
337
333
  } else { // disabled
@@ -346,12 +342,7 @@ function(
346
342
  * @private
347
343
  */
348
344
  Link.prototype.onsapenter = Link.prototype._handlePress;
349
-
350
- if (Device.support.touch) {
351
- Link.prototype.ontap = Link.prototype._handlePress;
352
- } else {
353
- Link.prototype.onclick = Link.prototype._handlePress;
354
- }
345
+ Link.prototype.onclick = Link.prototype._handlePress;
355
346
 
356
347
  /**
357
348
  * Handles the touch event on mobile devices.
package/src/sap/m/List.js CHANGED
@@ -30,7 +30,7 @@ sap.ui.define(["./library", "./ListBase", "./ListRenderer"],
30
30
  * @extends sap.m.ListBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.96.19
33
+ * @version 1.96.21
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -90,7 +90,7 @@ function(
90
90
  * @extends sap.ui.core.Control
91
91
  *
92
92
  * @author SAP SE
93
- * @version 1.96.19
93
+ * @version 1.96.21
94
94
  *
95
95
  * @constructor
96
96
  * @public
@@ -76,7 +76,7 @@ function(
76
76
  * @extends sap.ui.core.Control
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.96.19
79
+ * @version 1.96.21
80
80
  *
81
81
  * @constructor
82
82
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * Applies mask support for input controls.
27
27
  * It should should be applied to the prototype of a <code>sap.m.InputBase</code>.
28
28
  *
29
- * @version 1.96.19
29
+ * @version 1.96.21
30
30
  * @private
31
31
  * @mixin
32
32
  * @alias sap.m.MaskEnabler
@@ -21,7 +21,7 @@ sap.ui.define(['./InputBase', './MaskEnabler', './MaskInputRenderer'], function(
21
21
  *
22
22
  * @author SAP SE
23
23
  * @extends sap.m.InputBase
24
- * @version 1.96.19
24
+ * @version 1.96.21
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log"], function(Element, Log) {
20
20
  *
21
21
  * @author SAP SE
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.96.19
23
+ * @version 1.96.21
24
24
  * @public
25
25
  * @constructor
26
26
  * @since 1.34.0
package/src/sap/m/Menu.js CHANGED
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @implements sap.ui.core.IContextMenu
69
69
  *
70
70
  * @author SAP SE
71
- * @version 1.96.19
71
+ * @version 1.96.21
72
72
  *
73
73
  * @constructor
74
74
  * @public
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Control
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.96.19
61
+ * @version 1.96.21
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/base/ManagedObjectObserv
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.96.19
26
+ * @version 1.96.21
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.m.ListItemBase
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.96.19
35
+ * @version 1.96.21
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  *
38
38
  * @extends sap.ui.core.Item
39
39
  * @author SAP SE
40
- * @version 1.96.19
40
+ * @version 1.96.21
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.StandardListItem
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.96.19
36
+ * @version 1.96.21
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/message-page/ Message Page}
70
70
  *
71
71
  * @extends sap.ui.core.Control
72
- * @version 1.96.19
72
+ * @version 1.96.21
73
73
  *
74
74
  * @constructor
75
75
  * @public
@@ -91,7 +91,7 @@ function(
91
91
  * @extends sap.ui.core.Control
92
92
  *
93
93
  * @author SAP SE
94
- * @version 1.96.19
94
+ * @version 1.96.21
95
95
  *
96
96
  * @constructor
97
97
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(["./library", "./MessageItem"],
19
19
  * @extends sap.m.MessageItem
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.96.19
22
+ * @version 1.96.21
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  * @extends sap.ui.core.Control
84
84
  *
85
85
  * @author SAP SE
86
- * @version 1.96.19
86
+ * @version 1.96.21
87
87
  *
88
88
  * @constructor
89
89
  * @public
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * The message toast has the same behavior on all devices. However, you can adjust the width of the control, for example, for use on a desktop device.
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.96.19
73
+ * @version 1.96.21
74
74
  *
75
75
  * @namespace
76
76
  * @public
@@ -112,7 +112,7 @@ sap.ui.define([
112
112
  * The responsiveness of the <code>MessageView</code> is determined by the container in which it is embedded. For that reason the control could not be visualized if the
113
113
  * container’s sizes are not defined.
114
114
  * @author SAP SE
115
- * @version 1.96.19
115
+ * @version 1.96.21
116
116
  *
117
117
  * @extends sap.ui.core.Control
118
118
  * @constructor
@@ -159,7 +159,7 @@ function(
159
159
  * </ul>
160
160
  *
161
161
  * @author SAP SE
162
- * @version 1.96.19
162
+ * @version 1.96.21
163
163
  *
164
164
  * @constructor
165
165
  * @extends sap.m.ComboBoxBase
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/core/XMLComposite", "./library", "sap/ui/core/Item"], fun
17
17
  * @implements sap.ui.core.IFormContent
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.96.19
20
+ * @version 1.96.21
21
21
  * @experimental since 1.52
22
22
  * @since 1.52.0
23
23
  * @alias sap.m.MultiEditField