@openui5/sap.m 1.120.6 → 1.121.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 (549) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +18 -2
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +11 -11
  8. package/src/sap/m/ActionSheet.js +12 -8
  9. package/src/sap/m/ActionSheetRenderer.js +4 -4
  10. package/src/sap/m/ActionTile.js +7 -1
  11. package/src/sap/m/ActionTileContent.js +86 -7
  12. package/src/sap/m/ActionTileContentRenderer.js +4 -41
  13. package/src/sap/m/AdditionalTextButton.js +1 -1
  14. package/src/sap/m/App.js +1 -1
  15. package/src/sap/m/AssociativeOverflowToolbar.js +6 -6
  16. package/src/sap/m/Avatar.js +32 -14
  17. package/src/sap/m/Bar.js +5 -5
  18. package/src/sap/m/BarRenderer.js +3 -3
  19. package/src/sap/m/Breadcrumbs.js +12 -4
  20. package/src/sap/m/BreadcrumbsRenderer.js +1 -1
  21. package/src/sap/m/BusyDialog.js +19 -33
  22. package/src/sap/m/BusyIndicator.js +1 -1
  23. package/src/sap/m/Button.js +8 -8
  24. package/src/sap/m/ButtonRenderer.js +0 -4
  25. package/src/sap/m/Carousel.js +53 -25
  26. package/src/sap/m/CarouselLayout.js +14 -3
  27. package/src/sap/m/CarouselRenderer.js +4 -4
  28. package/src/sap/m/CheckBox.js +46 -5
  29. package/src/sap/m/CheckBoxRenderer.js +10 -3
  30. package/src/sap/m/ColorPalette.js +4 -2
  31. package/src/sap/m/ColorPalettePopover.js +5 -3
  32. package/src/sap/m/ColorPaletteRenderer.js +3 -3
  33. package/src/sap/m/Column.js +3 -4
  34. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  35. package/src/sap/m/ColumnListItem.js +59 -20
  36. package/src/sap/m/ColumnListItemRenderer.js +8 -9
  37. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  38. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  39. package/src/sap/m/ColumnPopoverItem.js +1 -1
  40. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  41. package/src/sap/m/ColumnPopoverSortItem.js +6 -6
  42. package/src/sap/m/ComboBox.js +16 -9
  43. package/src/sap/m/ComboBoxBase.js +10 -9
  44. package/src/sap/m/ComboBoxTextField.js +6 -4
  45. package/src/sap/m/ContentConfig.js +142 -0
  46. package/src/sap/m/CustomListItem.js +1 -1
  47. package/src/sap/m/CustomTile.js +1 -1
  48. package/src/sap/m/CustomTreeItem.js +1 -1
  49. package/src/sap/m/DatePicker.js +19 -18
  50. package/src/sap/m/DatePickerRenderer.js +3 -3
  51. package/src/sap/m/DateRangeSelection.js +16 -13
  52. package/src/sap/m/DateRangeSelectionRenderer.js +3 -3
  53. package/src/sap/m/DateTimeField.js +17 -9
  54. package/src/sap/m/DateTimeInput.js +6 -4
  55. package/src/sap/m/DateTimePicker.js +39 -30
  56. package/src/sap/m/DateTimePickerRenderer.js +4 -2
  57. package/src/sap/m/Dialog.js +21 -9
  58. package/src/sap/m/DialogRenderer.js +10 -3
  59. package/src/sap/m/DisplayListItem.js +1 -1
  60. package/src/sap/m/DraftIndicator.js +5 -5
  61. package/src/sap/m/DynamicDate.js +5 -3
  62. package/src/sap/m/DynamicDateFormat.js +7 -6
  63. package/src/sap/m/DynamicDateOption.js +10 -5
  64. package/src/sap/m/DynamicDateRange.js +56 -43
  65. package/src/sap/m/DynamicDateUtil.js +3 -3
  66. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  67. package/src/sap/m/ExpandableText.js +5 -9
  68. package/src/sap/m/ExpandableTextRenderer.js +3 -3
  69. package/src/sap/m/FacetFilter.js +17 -8
  70. package/src/sap/m/FacetFilterItem.js +1 -1
  71. package/src/sap/m/FacetFilterList.js +7 -7
  72. package/src/sap/m/FacetFilterRenderer.js +4 -4
  73. package/src/sap/m/FeedContent.js +1 -1
  74. package/src/sap/m/FeedInput.js +1 -1
  75. package/src/sap/m/FeedListItem.js +4 -4
  76. package/src/sap/m/FeedListItemAction.js +1 -1
  77. package/src/sap/m/FeedListItemRenderer.js +3 -3
  78. package/src/sap/m/Fiori20Adapter.js +9 -9
  79. package/src/sap/m/FlexBox.js +2 -2
  80. package/src/sap/m/FlexItemData.js +17 -17
  81. package/src/sap/m/FormattedText.js +7 -6
  82. package/src/sap/m/GenericTag.js +1 -1
  83. package/src/sap/m/GenericTagRenderer.js +5 -5
  84. package/src/sap/m/GenericTile.js +102 -14
  85. package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
  86. package/src/sap/m/GenericTileRenderer.js +3 -3
  87. package/src/sap/m/GroupHeaderListItem.js +1 -1
  88. package/src/sap/m/GroupHeaderListItemRenderer.js +3 -3
  89. package/src/sap/m/GrowingEnablement.js +7 -6
  90. package/src/sap/m/GrowingList.js +1 -1
  91. package/src/sap/m/HBox.js +1 -1
  92. package/src/sap/m/HeaderContainer.js +5 -5
  93. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  94. package/src/sap/m/IconTabBar.js +4 -4
  95. package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -5
  96. package/src/sap/m/IconTabBarSelectList.js +2 -2
  97. package/src/sap/m/IconTabFilter.js +27 -15
  98. package/src/sap/m/IconTabFilterExpandButtonBadge.js +4 -4
  99. package/src/sap/m/IconTabHeader.js +61 -28
  100. package/src/sap/m/IconTabHeaderRenderer.js +5 -5
  101. package/src/sap/m/IconTabSeparator.js +7 -7
  102. package/src/sap/m/IllustratedMessage.js +8 -6
  103. package/src/sap/m/IllustratedMessageType.js +12 -0
  104. package/src/sap/m/Illustration.js +4 -4
  105. package/src/sap/m/IllustrationPool.js +3 -3
  106. package/src/sap/m/Image.js +6 -3
  107. package/src/sap/m/ImageContent.js +1 -1
  108. package/src/sap/m/Input.js +65 -36
  109. package/src/sap/m/InputBase.js +33 -8
  110. package/src/sap/m/InputBaseRenderer.js +3 -3
  111. package/src/sap/m/InputListItem.js +1 -1
  112. package/src/sap/m/InputRenderer.js +5 -6
  113. package/src/sap/m/Label.js +6 -6
  114. package/src/sap/m/LightBox.js +4 -4
  115. package/src/sap/m/LightBoxItem.js +1 -1
  116. package/src/sap/m/Link.js +30 -6
  117. package/src/sap/m/LinkRenderer.js +4 -4
  118. package/src/sap/m/LinkTileContent.js +1 -1
  119. package/src/sap/m/List.js +1 -1
  120. package/src/sap/m/ListBase.js +43 -24
  121. package/src/sap/m/ListItemBase.js +7 -6
  122. package/src/sap/m/ListItemBaseRenderer.js +3 -0
  123. package/src/sap/m/MaskEnabler.js +8 -6
  124. package/src/sap/m/MaskInput.js +1 -1
  125. package/src/sap/m/MaskInputRenderer.js +2 -2
  126. package/src/sap/m/MaskInputRule.js +1 -1
  127. package/src/sap/m/Menu.js +19 -17
  128. package/src/sap/m/MenuButton.js +8 -6
  129. package/src/sap/m/MenuItem.js +9 -9
  130. package/src/sap/m/MenuListItem.js +5 -4
  131. package/src/sap/m/MessageBox.js +5 -3
  132. package/src/sap/m/MessageItem.js +1 -1
  133. package/src/sap/m/MessageListItem.js +4 -3
  134. package/src/sap/m/MessagePage.js +4 -2
  135. package/src/sap/m/MessagePopover.js +9 -6
  136. package/src/sap/m/MessagePopoverItem.js +1 -1
  137. package/src/sap/m/MessageStrip.js +9 -7
  138. package/src/sap/m/MessageStripRenderer.js +5 -2
  139. package/src/sap/m/MessageStripUtilities.js +6 -4
  140. package/src/sap/m/MessageToast.js +8 -7
  141. package/src/sap/m/MessageView.js +29 -6
  142. package/src/sap/m/MessageViewRenderer.js +2 -2
  143. package/src/sap/m/MultiComboBox.js +36 -17
  144. package/src/sap/m/MultiComboBoxRenderer.js +4 -4
  145. package/src/sap/m/MultiEditField.js +4 -4
  146. package/src/sap/m/MultiInput.js +66 -19
  147. package/src/sap/m/MultiInputRenderer.js +3 -3
  148. package/src/sap/m/NavContainer.js +14 -9
  149. package/src/sap/m/NewsContent.js +1 -1
  150. package/src/sap/m/NotificationList.js +1 -1
  151. package/src/sap/m/NotificationListBase.js +4 -4
  152. package/src/sap/m/NotificationListGroup.js +4 -4
  153. package/src/sap/m/NotificationListItem.js +4 -4
  154. package/src/sap/m/NumericContent.js +6 -6
  155. package/src/sap/m/NumericInput.js +1 -1
  156. package/src/sap/m/NumericInputRenderer.js +6 -6
  157. package/src/sap/m/ObjectAttribute.js +7 -6
  158. package/src/sap/m/ObjectAttributeRenderer.js +3 -3
  159. package/src/sap/m/ObjectHeader.js +15 -11
  160. package/src/sap/m/ObjectHeaderRenderer.js +4 -4
  161. package/src/sap/m/ObjectIdentifier.js +37 -8
  162. package/src/sap/m/ObjectIdentifierRenderer.js +3 -3
  163. package/src/sap/m/ObjectListItem.js +4 -4
  164. package/src/sap/m/ObjectMarker.js +6 -4
  165. package/src/sap/m/ObjectNumber.js +4 -3
  166. package/src/sap/m/ObjectNumberRenderer.js +6 -6
  167. package/src/sap/m/ObjectStatus.js +28 -22
  168. package/src/sap/m/ObjectStatusRenderer.js +26 -20
  169. package/src/sap/m/OverflowToolbar.js +2 -2
  170. package/src/sap/m/OverflowToolbarAssociativePopover.js +3 -3
  171. package/src/sap/m/OverflowToolbarButton.js +1 -1
  172. package/src/sap/m/OverflowToolbarLayoutData.js +2 -2
  173. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  174. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  175. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  176. package/src/sap/m/P13nColumnsItem.js +1 -1
  177. package/src/sap/m/P13nColumnsPanel.js +33 -11
  178. package/src/sap/m/P13nConditionPanel.js +6 -4
  179. package/src/sap/m/P13nDialog.js +27 -13
  180. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  181. package/src/sap/m/P13nDimMeasurePanel.js +18 -12
  182. package/src/sap/m/P13nFilterItem.js +1 -1
  183. package/src/sap/m/P13nFilterPanel.js +71 -49
  184. package/src/sap/m/P13nGroupItem.js +1 -1
  185. package/src/sap/m/P13nGroupPanel.js +5 -4
  186. package/src/sap/m/P13nItem.js +1 -1
  187. package/src/sap/m/P13nPanel.js +1 -1
  188. package/src/sap/m/P13nSelectionItem.js +1 -1
  189. package/src/sap/m/P13nSelectionPanel.js +28 -7
  190. package/src/sap/m/P13nSortItem.js +1 -1
  191. package/src/sap/m/P13nSortPanel.js +6 -5
  192. package/src/sap/m/PDFViewer.js +3 -6
  193. package/src/sap/m/Page.js +4 -8
  194. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  195. package/src/sap/m/PagingButton.js +5 -4
  196. package/src/sap/m/Panel.js +10 -5
  197. package/src/sap/m/PlanningCalendar.js +160 -109
  198. package/src/sap/m/PlanningCalendarHeader.js +9 -7
  199. package/src/sap/m/PlanningCalendarLegend.js +5 -5
  200. package/src/sap/m/PlanningCalendarRow.js +26 -15
  201. package/src/sap/m/PlanningCalendarView.js +1 -4
  202. package/src/sap/m/Popover.js +19 -21
  203. package/src/sap/m/PopoverRenderer.js +4 -4
  204. package/src/sap/m/ProgressIndicator.js +15 -13
  205. package/src/sap/m/ProgressIndicatorRenderer.js +3 -4
  206. package/src/sap/m/PullToRefresh.js +4 -3
  207. package/src/sap/m/QuickView.js +1 -1
  208. package/src/sap/m/QuickViewBase.js +1 -1
  209. package/src/sap/m/QuickViewCard.js +1 -1
  210. package/src/sap/m/QuickViewCardRenderer.js +3 -3
  211. package/src/sap/m/QuickViewGroup.js +1 -1
  212. package/src/sap/m/QuickViewGroupElement.js +1 -1
  213. package/src/sap/m/QuickViewPage.js +29 -17
  214. package/src/sap/m/RadioButton.js +4 -4
  215. package/src/sap/m/RadioButtonGroup.js +38 -5
  216. package/src/sap/m/RadioButtonGroupRenderer.js +4 -4
  217. package/src/sap/m/RadioButtonRenderer.js +3 -3
  218. package/src/sap/m/RangeSlider.js +9 -7
  219. package/src/sap/m/RangeSliderRenderer.js +2 -2
  220. package/src/sap/m/RatingIndicator.js +7 -6
  221. package/src/sap/m/RatingIndicatorRenderer.js +4 -4
  222. package/src/sap/m/ResponsivePopover.js +1 -3
  223. package/src/sap/m/ResponsiveScale.js +1 -1
  224. package/src/sap/m/ScrollBar.js +3 -3
  225. package/src/sap/m/ScrollContainer.js +6 -6
  226. package/src/sap/m/SearchField.js +1 -1
  227. package/src/sap/m/SegmentedButton.js +7 -5
  228. package/src/sap/m/SegmentedButtonItem.js +1 -1
  229. package/src/sap/m/Select.js +30 -16
  230. package/src/sap/m/SelectDialog.js +5 -3
  231. package/src/sap/m/SelectDialogBase.js +6 -6
  232. package/src/sap/m/SelectList.js +6 -6
  233. package/src/sap/m/SelectionDetails.js +7 -3
  234. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  235. package/src/sap/m/SelectionDetailsItem.js +1 -1
  236. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  237. package/src/sap/m/Shell.js +4 -4
  238. package/src/sap/m/ShellRenderer.js +3 -2
  239. package/src/sap/m/SimpleFixFlex.js +1 -1
  240. package/src/sap/m/SinglePlanningCalendar.js +41 -9
  241. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  242. package/src/sap/m/SinglePlanningCalendarGrid.js +122 -54
  243. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +22 -20
  244. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +315 -61
  245. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +88 -35
  246. package/src/sap/m/SinglePlanningCalendarMonthView.js +3 -4
  247. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  248. package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -5
  249. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +6 -5
  250. package/src/sap/m/SlideTile.js +6 -6
  251. package/src/sap/m/SlideTileRenderer.js +1 -3
  252. package/src/sap/m/Slider.js +38 -11
  253. package/src/sap/m/SliderRenderer.js +4 -4
  254. package/src/sap/m/SliderTooltip.js +4 -4
  255. package/src/sap/m/SliderTooltipBase.js +1 -1
  256. package/src/sap/m/SliderTooltipContainer.js +10 -8
  257. package/src/sap/m/SliderTooltipRenderer.js +3 -3
  258. package/src/sap/m/SplitApp.js +2 -1
  259. package/src/sap/m/SplitButton.js +5 -3
  260. package/src/sap/m/SplitContainer.js +20 -11
  261. package/src/sap/m/StandardDynamicDateOption.js +16 -12
  262. package/src/sap/m/StandardListItem.js +4 -3
  263. package/src/sap/m/StandardListItemRenderer.js +3 -3
  264. package/src/sap/m/StandardTile.js +1 -1
  265. package/src/sap/m/StandardTreeItem.js +1 -1
  266. package/src/sap/m/StepInput.js +6 -4
  267. package/src/sap/m/Suggest.js +5 -5
  268. package/src/sap/m/SuggestionItem.js +1 -1
  269. package/src/sap/m/SuggestionsList.js +9 -7
  270. package/src/sap/m/SuggestionsListRenderer.js +2 -2
  271. package/src/sap/m/SuggestionsPopover.js +1 -1
  272. package/src/sap/m/Switch.js +13 -11
  273. package/src/sap/m/SwitchRenderer.js +3 -3
  274. package/src/sap/m/TabContainer.js +9 -6
  275. package/src/sap/m/TabContainerItem.js +5 -8
  276. package/src/sap/m/TabStrip.js +23 -12
  277. package/src/sap/m/TabStripItem.js +7 -10
  278. package/src/sap/m/TabStripRenderer.js +2 -2
  279. package/src/sap/m/Table.js +4 -5
  280. package/src/sap/m/TablePersoController.js +10 -8
  281. package/src/sap/m/TablePersoDialog.js +19 -16
  282. package/src/sap/m/TablePersoProvider.js +1 -1
  283. package/src/sap/m/TableRenderer.js +4 -4
  284. package/src/sap/m/TableSelectDialog.js +5 -3
  285. package/src/sap/m/Text.js +36 -39
  286. package/src/sap/m/TextArea.js +5 -3
  287. package/src/sap/m/TextRenderer.js +2 -7
  288. package/src/sap/m/Tile.js +1 -1
  289. package/src/sap/m/TileAttribute.js +64 -0
  290. package/src/sap/m/TileAttributeRenderer.js +70 -0
  291. package/src/sap/m/TileContainer.js +10 -8
  292. package/src/sap/m/TileContent.js +8 -4
  293. package/src/sap/m/TileRenderer.js +3 -3
  294. package/src/sap/m/TimePicker.js +24 -19
  295. package/src/sap/m/TimePickerClock.js +4 -3
  296. package/src/sap/m/TimePickerClocks.js +1 -1
  297. package/src/sap/m/TimePickerInputs.js +1 -1
  298. package/src/sap/m/TimePickerInternals.js +12 -10
  299. package/src/sap/m/TimePickerSlider.js +9 -7
  300. package/src/sap/m/TimePickerSliders.js +17 -13
  301. package/src/sap/m/TimePickerSlidersRenderer.js +3 -3
  302. package/src/sap/m/Title.js +5 -4
  303. package/src/sap/m/TitlePropagationSupport.js +4 -4
  304. package/src/sap/m/ToggleButton.js +4 -3
  305. package/src/sap/m/Token.js +6 -6
  306. package/src/sap/m/Tokenizer.js +16 -10
  307. package/src/sap/m/Toolbar.js +4 -4
  308. package/src/sap/m/ToolbarLayoutData.js +1 -1
  309. package/src/sap/m/ToolbarSeparator.js +1 -1
  310. package/src/sap/m/ToolbarSpacer.js +1 -1
  311. package/src/sap/m/Tree.js +4 -2
  312. package/src/sap/m/TreeItemBase.js +4 -3
  313. package/src/sap/m/TreeItemBaseRenderer.js +3 -3
  314. package/src/sap/m/UploadCollection.js +28 -24
  315. package/src/sap/m/UploadCollectionItem.js +1 -1
  316. package/src/sap/m/UploadCollectionParameter.js +1 -1
  317. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  318. package/src/sap/m/VBox.js +1 -1
  319. package/src/sap/m/ValueStateHeader.js +5 -5
  320. package/src/sap/m/VariantItem.js +8 -3
  321. package/src/sap/m/VariantManagement.js +112 -33
  322. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  323. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  324. package/src/sap/m/ViewSettingsDialog.js +34 -21
  325. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  326. package/src/sap/m/ViewSettingsItem.js +9 -2
  327. package/src/sap/m/VisibleItem.js +1 -1
  328. package/src/sap/m/WheelSlider.js +4 -3
  329. package/src/sap/m/WheelSliderContainer.js +1 -1
  330. package/src/sap/m/WheelSliderContainerRenderer.js +3 -3
  331. package/src/sap/m/Wizard.js +17 -15
  332. package/src/sap/m/WizardProgressNavigator.js +18 -2
  333. package/src/sap/m/WizardProgressNavigatorRenderer.js +9 -5
  334. package/src/sap/m/WizardRenderer.js +6 -4
  335. package/src/sap/m/WizardStep.js +9 -11
  336. package/src/sap/m/changeHandler/AddTableColumn.js +3 -7
  337. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  338. package/src/sap/m/changeHandler/CombineButtons.js +4 -4
  339. package/src/sap/m/changeHandler/MoveTableColumns.js +3 -2
  340. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  341. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  342. package/src/sap/m/delegate/ValueStateMessage.js +3 -3
  343. package/src/sap/m/designtime/IconTabBar.designtime.js +3 -2
  344. package/src/sap/m/designtime/Link.designtime.js +4 -4
  345. package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
  346. package/src/sap/m/designtime/ObjectIdentifier.designtime.js +0 -4
  347. package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +91 -91
  348. package/src/sap/m/flexibility/EngineFlex.js +14 -8
  349. package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
  350. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -4
  351. package/src/sap/m/library.js +181 -59
  352. package/src/sap/m/messagebundle.properties +113 -90
  353. package/src/sap/m/messagebundle_ar.properties +16 -10
  354. package/src/sap/m/messagebundle_bg.properties +19 -13
  355. package/src/sap/m/messagebundle_ca.properties +16 -10
  356. package/src/sap/m/messagebundle_cnr.properties +21 -15
  357. package/src/sap/m/messagebundle_cs.properties +16 -10
  358. package/src/sap/m/messagebundle_cy.properties +19 -13
  359. package/src/sap/m/messagebundle_da.properties +14 -8
  360. package/src/sap/m/messagebundle_de.properties +12 -6
  361. package/src/sap/m/messagebundle_el.properties +27 -21
  362. package/src/sap/m/messagebundle_en.properties +1164 -22
  363. package/src/sap/m/messagebundle_en_GB.properties +23 -17
  364. package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -22
  365. package/src/sap/m/messagebundle_es.properties +19 -13
  366. package/src/sap/m/messagebundle_es_MX.properties +18 -12
  367. package/src/sap/m/messagebundle_et.properties +14 -8
  368. package/src/sap/m/messagebundle_fi.properties +21 -15
  369. package/src/sap/m/messagebundle_fr.properties +15 -9
  370. package/src/sap/m/messagebundle_fr_CA.properties +11 -5
  371. package/src/sap/m/messagebundle_hi.properties +24 -18
  372. package/src/sap/m/messagebundle_hr.properties +15 -9
  373. package/src/sap/m/messagebundle_hu.properties +20 -14
  374. package/src/sap/m/messagebundle_id.properties +15 -9
  375. package/src/sap/m/messagebundle_it.properties +17 -11
  376. package/src/sap/m/messagebundle_iw.properties +13 -7
  377. package/src/sap/m/messagebundle_ja.properties +23 -17
  378. package/src/sap/m/messagebundle_kk.properties +14 -8
  379. package/src/sap/m/messagebundle_ko.properties +18 -12
  380. package/src/sap/m/messagebundle_lt.properties +17 -11
  381. package/src/sap/m/messagebundle_lv.properties +26 -20
  382. package/src/sap/m/messagebundle_mk.properties +20 -14
  383. package/src/sap/m/messagebundle_ms.properties +13 -7
  384. package/src/sap/m/messagebundle_nl.properties +16 -10
  385. package/src/sap/m/messagebundle_no.properties +15 -9
  386. package/src/sap/m/messagebundle_pl.properties +16 -10
  387. package/src/sap/m/messagebundle_pt.properties +16 -10
  388. package/src/sap/m/messagebundle_pt_PT.properties +13 -7
  389. package/src/sap/m/messagebundle_ro.properties +13 -7
  390. package/src/sap/m/messagebundle_ru.properties +15 -9
  391. package/src/sap/m/messagebundle_sh.properties +21 -15
  392. package/src/sap/m/messagebundle_sk.properties +13 -7
  393. package/src/sap/m/messagebundle_sl.properties +14 -8
  394. package/src/sap/m/messagebundle_sr.properties +21 -15
  395. package/src/sap/m/messagebundle_sv.properties +15 -9
  396. package/src/sap/m/messagebundle_th.properties +12 -6
  397. package/src/sap/m/messagebundle_tr.properties +15 -9
  398. package/src/sap/m/messagebundle_uk.properties +15 -9
  399. package/src/sap/m/messagebundle_vi.properties +16 -10
  400. package/src/sap/m/messagebundle_zh_CN.properties +12 -6
  401. package/src/sap/m/messagebundle_zh_TW.properties +12 -6
  402. package/src/sap/m/p13n/.eslintrc.json +19 -0
  403. package/src/sap/m/p13n/AbstractContainer.js +43 -29
  404. package/src/sap/m/p13n/AbstractContainerItem.js +8 -8
  405. package/src/sap/m/p13n/BasePanel.js +123 -76
  406. package/src/sap/m/p13n/Container.js +80 -50
  407. package/src/sap/m/p13n/Engine.js +331 -294
  408. package/src/sap/m/p13n/FilterController.js +335 -0
  409. package/src/sap/m/p13n/FilterPanel.js +291 -0
  410. package/src/sap/m/p13n/FlexUtil.js +23 -21
  411. package/src/sap/m/p13n/GroupController.js +97 -85
  412. package/src/sap/m/p13n/GroupPanel.js +30 -25
  413. package/src/sap/m/p13n/MetadataHelper.js +65 -21
  414. package/src/sap/m/p13n/PersistenceProvider.js +11 -9
  415. package/src/sap/m/p13n/Popup.js +63 -45
  416. package/src/sap/m/p13n/QueryPanel.js +117 -93
  417. package/src/sap/m/p13n/SelectionController.js +302 -237
  418. package/src/sap/m/p13n/SelectionPanel.js +117 -83
  419. package/src/sap/m/p13n/SortController.js +100 -89
  420. package/src/sap/m/p13n/SortPanel.js +46 -31
  421. package/src/sap/m/p13n/enums/PersistenceMode.js +57 -0
  422. package/src/sap/m/p13n/{enum → enums}/ProcessingStrategy.js +10 -8
  423. package/src/sap/m/p13n/handler/xConfigHandler.js +175 -161
  424. package/src/sap/m/p13n/modification/FlexModificationHandler.js +151 -133
  425. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +28 -28
  426. package/src/sap/m/p13n/modification/ModificationHandler.js +15 -15
  427. package/src/sap/m/p13n/modules/AdaptationProvider.js +7 -7
  428. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +20 -18
  429. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +7 -7
  430. package/src/sap/m/p13n/modules/UIManager.js +119 -117
  431. package/src/sap/m/p13n/modules/xConfigAPI.js +74 -68
  432. package/src/sap/m/plugins/CellSelector.js +142 -26
  433. package/src/sap/m/plugins/ColumnResizer.js +12 -17
  434. package/src/sap/m/plugins/ContextMenuSetting.js +155 -0
  435. package/src/sap/m/plugins/CopyProvider.js +170 -110
  436. package/src/sap/m/plugins/DataStateIndicator.js +9 -6
  437. package/src/sap/m/plugins/PasteProvider.js +18 -10
  438. package/src/sap/m/plugins/PluginBase.js +39 -15
  439. package/src/sap/m/semantic/AddAction.js +1 -1
  440. package/src/sap/m/semantic/CancelAction.js +1 -1
  441. package/src/sap/m/semantic/DeleteAction.js +1 -1
  442. package/src/sap/m/semantic/DetailPage.js +3 -3
  443. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  444. package/src/sap/m/semantic/EditAction.js +1 -1
  445. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  446. package/src/sap/m/semantic/FilterAction.js +1 -1
  447. package/src/sap/m/semantic/FilterSelect.js +1 -1
  448. package/src/sap/m/semantic/FlagAction.js +1 -1
  449. package/src/sap/m/semantic/ForwardAction.js +1 -1
  450. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  451. package/src/sap/m/semantic/GroupAction.js +1 -1
  452. package/src/sap/m/semantic/GroupSelect.js +1 -1
  453. package/src/sap/m/semantic/MainAction.js +1 -1
  454. package/src/sap/m/semantic/MasterPage.js +3 -3
  455. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  456. package/src/sap/m/semantic/MultiSelectAction.js +3 -3
  457. package/src/sap/m/semantic/NegativeAction.js +1 -1
  458. package/src/sap/m/semantic/OpenInAction.js +1 -1
  459. package/src/sap/m/semantic/PositiveAction.js +1 -1
  460. package/src/sap/m/semantic/PrintAction.js +1 -1
  461. package/src/sap/m/semantic/SaveAction.js +1 -1
  462. package/src/sap/m/semantic/Segment.js +1 -1
  463. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  464. package/src/sap/m/semantic/SemanticButton.js +1 -1
  465. package/src/sap/m/semantic/SemanticConfiguration.js +7 -5
  466. package/src/sap/m/semantic/SemanticControl.js +1 -1
  467. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  468. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  469. package/src/sap/m/semantic/SemanticPage.js +4 -2
  470. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  471. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  472. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  473. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  474. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  475. package/src/sap/m/semantic/ShareMenu.js +6 -12
  476. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  477. package/src/sap/m/semantic/SortAction.js +1 -1
  478. package/src/sap/m/semantic/SortSelect.js +1 -1
  479. package/src/sap/m/table/ColumnWidthController.js +2 -3
  480. package/src/sap/m/table/Util.js +67 -40
  481. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  482. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  483. package/src/sap/m/table/columnmenu/Item.js +5 -5
  484. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  485. package/src/sap/m/table/columnmenu/Menu.js +14 -21
  486. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  487. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  488. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  489. package/src/sap/m/table/columnmenu/QuickGroup.js +7 -5
  490. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  491. package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
  492. package/src/sap/m/table/columnmenu/QuickSortItem.js +6 -4
  493. package/src/sap/m/table/columnmenu/QuickTotal.js +7 -5
  494. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  495. package/src/sap/m/themes/base/ActionSheet.less +10 -3
  496. package/src/sap/m/themes/base/ActionTile.less +7 -4
  497. package/src/sap/m/themes/base/Carousel.less +1 -1
  498. package/src/sap/m/themes/base/ContextMenuSetting.less +3 -0
  499. package/src/sap/m/themes/base/IconTabBar.less +2 -2
  500. package/src/sap/m/themes/base/Label.less +2 -1
  501. package/src/sap/m/themes/base/Link.less +1 -1
  502. package/src/sap/m/themes/base/ListItemBase.less +1 -1
  503. package/src/sap/m/themes/base/MenuButton.less +2 -2
  504. package/src/sap/m/themes/base/MessageView.less +6 -0
  505. package/src/sap/m/themes/base/MultiComboBox.less +7 -4
  506. package/src/sap/m/themes/base/NumericContent.less +2 -2
  507. package/src/sap/m/themes/base/ObjectListItem.less +1 -1
  508. package/src/sap/m/themes/base/ObjectNumber.less +4 -4
  509. package/src/sap/m/themes/base/ObjectStatus.less +263 -160
  510. package/src/sap/m/themes/base/Panel.less +18 -4
  511. package/src/sap/m/themes/base/Popover.less +5 -0
  512. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +21 -0
  513. package/src/sap/m/themes/base/StandardListItem.less +1 -1
  514. package/src/sap/m/themes/base/SuggestionItem.less +6 -0
  515. package/src/sap/m/themes/base/Table.less +0 -5
  516. package/src/sap/m/themes/base/TablePersoDialog.less +4 -2
  517. package/src/sap/m/themes/base/Text.less +2 -1
  518. package/src/sap/m/themes/base/UploadCollection.less +2 -2
  519. package/src/sap/m/themes/base/UploadSet.less +55 -0
  520. package/src/sap/m/themes/base/VariantManagement.less +2 -1
  521. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NewMail.svg +27 -0
  522. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SignOut.svg +24 -0
  523. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NewMail.svg +9 -0
  524. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SignOut.svg +12 -0
  525. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NewMail.svg +59 -0
  526. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SignOut.svg +113 -0
  527. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NewMail.svg +27 -0
  528. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SignOut.svg +23 -0
  529. package/src/sap/m/themes/base/library.source.less +2 -1
  530. package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
  531. package/src/sap/m/upload/Column.js +1 -1
  532. package/src/sap/m/upload/FilePreviewDialog.js +5 -5
  533. package/src/sap/m/upload/FilterPanel.js +5 -3
  534. package/src/sap/m/upload/UploadSet.js +122 -61
  535. package/src/sap/m/upload/UploadSetItem.js +31 -7
  536. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  537. package/src/sap/m/upload/UploadSetwithTable.js +7 -6
  538. package/src/sap/m/upload/UploadSetwithTableItem.js +5 -5
  539. package/src/sap/m/upload/UploaderTableItem.js +1 -1
  540. package/src/sap/m/upload/p13n/PersManager.js +4 -2
  541. package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
  542. package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +5 -4
  543. package/src/sap/m/upload/p13n/mediator/FilterMediator.js +5 -2
  544. package/src/sap/m/upload/p13n/mediator/GroupMediator.js +5 -4
  545. package/src/sap/m/upload/p13n/mediator/SortMediator.js +5 -4
  546. package/src/sap/m/upload/p13n/modules/PersPopupManager.js +3 -3
  547. package/LICENSES/BSD-2-Clause.txt +0 -22
  548. package/src/sap/m/CustomAttribute.js +0 -53
  549. package/src/sap/m/p13n/enum/PersistenceMode.js +0 -55
@@ -9,7 +9,6 @@ sap.ui.define([
9
9
  './InputBase',
10
10
  'sap/ui/core/Element',
11
11
  'sap/ui/core/Item',
12
- 'sap/ui/core/Core',
13
12
  'sap/ui/core/LabelEnablement',
14
13
  'sap/ui/core/AccessKeysEnablement',
15
14
  './ColumnListItem',
@@ -40,13 +39,13 @@ sap.ui.define([
40
39
  "sap/ui/base/ManagedObject",
41
40
  "sap/ui/base/ManagedObjectObserver",
42
41
  "sap/ui/core/Lib",
43
- "sap/ui/dom/jquery/selectText" // provides jQuery.fn.selectText
42
+ // provides jQuery.fn.selectText
43
+ "sap/ui/dom/jquery/selectText"
44
44
  ],
45
45
  function(
46
46
  InputBase,
47
47
  Element,
48
48
  Item,
49
- Core,
50
49
  LabelEnablement,
51
50
  AccessKeysEnablement,
52
51
  ColumnListItem,
@@ -161,7 +160,7 @@ function(
161
160
  * @extends sap.m.InputBase
162
161
  * @implements sap.ui.core.IAccessKeySupport
163
162
  * @author SAP SE
164
- * @version 1.120.6
163
+ * @version 1.121.0
165
164
  *
166
165
  * @constructor
167
166
  * @public
@@ -226,7 +225,10 @@ function(
226
225
 
227
226
  /**
228
227
  * If set to true, direct text input is disabled and the control will trigger the event "valueHelpRequest" for all user interactions. The properties "showValueHelp", "editable", and "enabled" must be set to true, otherwise the property will have no effect.
229
- * In this scenario, the <code>showItems</code> API will not work.
228
+ * In this scenario, the <code>showItems</code> API will not work.<br><br>
229
+ * <strong>Note:</strong> The property is deprecated, as it creates unnecessary usability and accessibility restrictions. The decision to deprecate it is based on the fact that it serves no purpose to have an input field where the user cannot type.
230
+ * This property restricts even the paste functionality, which can be useful, e.g. the needed info is already in the clipboard.
231
+ * If the user's input needs to match specific predefined values, the application should validate the input against the set of values and provide feedback to the user or use other mechanism for selection, where freestyle input is not allowed by design (Select, SelectDialog, etc).
230
232
  * @since 1.21.0
231
233
  * @deprecated As of version 1.119 The property valueHelpOnly should not be used anymore
232
234
  */
@@ -318,7 +320,7 @@ function(
318
320
  * <code>minScreenWidth</code> properties of the <code>sap.m.Column</code> control by itself.
319
321
  * @since 1.89
320
322
  */
321
- enableTableAutoPopinMode: {type: "boolean", group: "Behavior", defaultValue: false},
323
+ enableTableAutoPopinMode: {type: "boolean", group: "Behavior", defaultValue: false},
322
324
 
323
325
  /**
324
326
  * Specifies whether autocomplete is enabled.
@@ -635,7 +637,7 @@ function(
635
637
  var aRefLabels = LabelEnablement.getReferencingLabels(this);
636
638
 
637
639
  aRefLabels.forEach(function(sLabelId) {
638
- Core.byId(sLabelId).setProperty("highlightAccKeysRef", bHighlightAccKeysRef);
640
+ Element.getElementById(sLabelId).setProperty("highlightAccKeysRef", bHighlightAccKeysRef);
639
641
  }, this);
640
642
  };
641
643
 
@@ -917,7 +919,7 @@ function(
917
919
  *
918
920
  *
919
921
  * @public
920
- * @param {sap.ui.core.Item} [oItem=null] New value for the <code>selectedItem</code> association.
922
+ * @param {sap.ui.core.ID|sap.ui.core.Item|null} [oItem=null] New value for the <code>selectedItem</code> association.
921
923
  * If an ID of a <code>sap.ui.core.Item</code> is given, the item with this ID becomes the
922
924
  * <code>selectedItem</code> association.
923
925
  * Alternatively, a <code>sap.ui.core.Item</code> instance may be given or <code>null</code> to clear
@@ -928,7 +930,7 @@ function(
928
930
  Input.prototype.setSelectedItem = function(oItem) {
929
931
 
930
932
  if (typeof oItem === "string") {
931
- oItem = Element.registry.get(oItem);
933
+ oItem = Element.getElementById(oItem);
932
934
  }
933
935
 
934
936
  if (oItem !== null && !(oItem instanceof Item)) {
@@ -1093,7 +1095,7 @@ function(
1093
1095
  * Default value is <code>null</code>.
1094
1096
  *
1095
1097
  * @public
1096
- * @param {sap.m.ColumnListItem} oListItem New value for the <code>selectedRow</code> association.
1098
+ * @param {sap.ui.core.ID|sap.m.ColumnListItem|null} oListItem New value for the <code>selectedRow</code> association.
1097
1099
  * If an ID of a <code>sap.m.ColumnListItem</code> is given, the item with this ID becomes the
1098
1100
  * <code>selectedRow</code> association.
1099
1101
  * Alternatively, a <code>sap.m.ColumnListItem</code> instance may be given or <code>null</code> to clear
@@ -1104,7 +1106,7 @@ function(
1104
1106
  Input.prototype.setSelectedRow = function(oListItem) {
1105
1107
 
1106
1108
  if (typeof oListItem === "string") {
1107
- oListItem = Element.registry.get(oListItem);
1109
+ oListItem = Element.getElementById(oListItem);
1108
1110
  }
1109
1111
 
1110
1112
  if (oListItem !== null && !(oListItem instanceof ColumnListItem)) {
@@ -1142,18 +1144,9 @@ function(
1142
1144
  // if the property valueHelpOnly is set to true, the event is triggered in the ontap function
1143
1145
  return;
1144
1146
  }
1145
- var oParent = this.getParent(),
1146
- $input;
1147
-
1148
- if (Device.support.touch) {
1149
- // prevent opening the soft keyboard
1150
- $input = oParent.$('inner');
1151
- $input.attr('readonly', 'readonly');
1152
- oParent.focus();
1153
- $input.removeAttr('readonly');
1154
- } else {
1155
- oParent.focus();
1156
- }
1147
+ var oParent = this.getParent();
1148
+
1149
+ oParent.focus();
1157
1150
 
1158
1151
  that.bValueHelpRequested = true;
1159
1152
 
@@ -1452,20 +1445,28 @@ function(
1452
1445
  bFocusInPopup = !this.hasStyleClass("sapMFocus") && bPopupOpened,
1453
1446
  aItems = this._hasTabularSuggestions() ? this.getSuggestionRows() : this.getSuggestionItems(),
1454
1447
  bFireSubmit = this.getEnabled() && this.getEditable(),
1455
- iValueLength, oSelectedItem;
1448
+ iValueLength, oSuggestionsPopover, oSelectedItem, oFocusedItem;
1456
1449
 
1457
1450
  // when enter is pressed before the timeout of suggestion delay, suggest event is cancelled
1458
1451
  this.cancelPendingSuggest();
1459
1452
 
1460
1453
  bFocusInPopup && this.setSelectionUpdatedFromList(true);
1461
1454
 
1462
- if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened) {
1463
- oSelectedItem = this._getSuggestionsPopover().getItemsContainer().getSelectedItem();
1455
+ if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened && !this.isComposingCharacter()) {
1456
+ oSuggestionsPopover = this._getSuggestionsPopover();
1457
+ oSelectedItem = oSuggestionsPopover.getItemsContainer().getSelectedItem();
1458
+ oFocusedItem = oSuggestionsPopover.getFocusedListItem();
1459
+
1464
1460
  if (this._hasTabularSuggestions()) {
1465
1461
  oSelectedItem && this.setSelectionRow(oSelectedItem, true);
1466
1462
  } else {
1467
1463
  oSelectedItem && this.setSelectionItem(ListHelpers.getItemByListItem(aItems, oSelectedItem), true);
1468
1464
  }
1465
+
1466
+ // prevent closing of popover, when Enter is pressed on a group header
1467
+ if (oFocusedItem && oFocusedItem.isA("sap.m.GroupHeaderListItem")) {
1468
+ return;
1469
+ }
1469
1470
  }
1470
1471
 
1471
1472
  if (bPopupOpened && !this.isComposingCharacter()) {
@@ -1500,7 +1501,7 @@ function(
1500
1501
  var oSuggPopover = this._getSuggestionsPopover(),
1501
1502
  oPopup = oSuggPopover && oSuggPopover.getPopover(),
1502
1503
  bIsPopover = oPopup && oPopup.isA("sap.m.Popover"),
1503
- oFocusedControl = oEvent.relatedControlId && Element.registry.get(oEvent.relatedControlId),
1504
+ oFocusedControl = oEvent.relatedControlId && Element.getElementById(oEvent.relatedControlId),
1504
1505
  oFocusDomRef = oFocusedControl && oFocusedControl.getFocusDomRef(),
1505
1506
  bFocusInPopup = oPopup
1506
1507
  && oFocusDomRef
@@ -1959,7 +1960,7 @@ function(
1959
1960
  if (iNumItems === 1) {
1960
1961
  sAriaText = oRb.getText("INPUT_SUGGESTIONS_ONE_HIT");
1961
1962
  } else if (iNumItems > 1) {
1962
- sAriaText = oRb.getText("INPUT_SUGGESTIONS_MORE_HITS", iNumItems);
1963
+ sAriaText = oRb.getText("INPUT_SUGGESTIONS_MORE_HITS", [iNumItems]);
1963
1964
  } else {
1964
1965
  sAriaText = oRb.getText("INPUT_SUGGESTIONS_NO_HIT");
1965
1966
  }
@@ -2592,21 +2593,34 @@ function(
2592
2593
  /**
2593
2594
  * Updates the inner input field.
2594
2595
  *
2596
+ * @param {string} sNewValue Dom value which will be set.
2595
2597
  * @protected
2596
2598
  */
2597
2599
  Input.prototype.updateInputField = function(sNewValue) {
2598
- if (this._isSuggestionsPopoverOpen() && this.isMobileDevice()) {
2599
- this._getSuggestionsPopover().getInput()
2600
- .setValue(sNewValue)
2601
- ._doSelect();
2600
+ if (this.isMobileDevice() && this._isSuggestionsPopoverOpen()) {
2601
+ this.updateInputFieldOnMobile(sNewValue);
2602
2602
  } else {
2603
- // call _getInputValue to apply the maxLength to the typed value
2604
- sNewValue = this._getInputValue(sNewValue);
2605
- this.setDOMValue(sNewValue);
2606
- this.onChange(null, null, sNewValue);
2603
+ this.updateInputFieldOnDesktop(sNewValue);
2607
2604
  }
2608
2605
  };
2609
2606
 
2607
+ Input.prototype.updateInputFieldOnMobile = function(sNewValue) {
2608
+ this._getSuggestionsPopover().getInput()
2609
+ .setValue(sNewValue)
2610
+ ._doSelect();
2611
+ };
2612
+
2613
+ Input.prototype.updateInputFieldOnDesktop = function(sNewValue) {
2614
+ // call _getInputValue to apply the maxLength to the typed value
2615
+ sNewValue = this._getInputValue(sNewValue);
2616
+
2617
+ if (sNewValue !== this.getValue() && sNewValue === this.getLastValue()) {
2618
+ this.setProperty("value", sNewValue);
2619
+ }
2620
+
2621
+ this.setDOMValue(sNewValue);
2622
+ this.onChange(null, null, sNewValue);
2623
+ };
2610
2624
  /**
2611
2625
  * Gets accessibility information for the input.
2612
2626
  *
@@ -3555,6 +3569,21 @@ function(
3555
3569
  return true;
3556
3570
  };
3557
3571
 
3572
+ // support for SemanticFormElement
3573
+ Input.prototype.getFormFormattedValue = function() {
3574
+ var sValue = this.getValue();
3575
+ var sDescription = this.getDescription();
3576
+
3577
+ if (sValue && sDescription) {
3578
+ return sValue + " " + sDescription;
3579
+ } else {
3580
+ return sDescription || sValue;
3581
+ }
3582
+ };
3583
+
3584
+ Input.prototype.getFormObservingProperties = function() {
3585
+ return ["value", "description"];
3586
+ };
3558
3587
 
3559
3588
  return Input;
3560
3589
 
@@ -7,6 +7,7 @@
7
7
  sap.ui.define([
8
8
  './library',
9
9
  'sap/ui/core/Control',
10
+ "sap/ui/core/Element",
10
11
  'sap/ui/core/EnabledPropagator',
11
12
  'sap/ui/core/IconPool',
12
13
  './delegate/ValueStateMessage',
@@ -19,7 +20,7 @@ sap.ui.define([
19
20
  "sap/ui/events/KeyCodes",
20
21
  "sap/ui/thirdparty/jquery",
21
22
  "sap/ui/core/Lib",
22
- // jQuery Plugin "cursorPos"
23
+ // jQuery Plugin "cursorPos"
23
24
  "sap/ui/dom/jquery/cursorPos",
24
25
  // jQuery Plugin "getSelectedText"
25
26
  "sap/ui/dom/jquery/getSelectedText",
@@ -29,6 +30,7 @@ sap.ui.define([
29
30
  function(
30
31
  library,
31
32
  Control,
33
+ Element,
32
34
  EnabledPropagator,
33
35
  IconPool,
34
36
  ValueStateMessage,
@@ -63,10 +65,15 @@ function(
63
65
  * The <code>sap.m.InputBase</code> control provides a basic functionality for input controls.
64
66
  *
65
67
  * @extends sap.ui.core.Control
66
- * @implements sap.ui.core.IFormContent
68
+ * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
69
+ *
70
+ * @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
71
+ * @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
72
+ * @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
73
+ * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
67
74
  *
68
75
  * @author SAP SE
69
- * @version 1.120.6
76
+ * @version 1.121.0
70
77
  *
71
78
  * @constructor
72
79
  * @public
@@ -76,7 +83,10 @@ function(
76
83
  var InputBase = Control.extend("sap.m.InputBase", /** @lends sap.m.InputBase.prototype */ {
77
84
  metadata: {
78
85
 
79
- interfaces : ["sap.ui.core.IFormContent"],
86
+ interfaces : [
87
+ "sap.ui.core.IFormContent",
88
+ "sap.ui.core.ISemanticFormContent"
89
+ ],
80
90
  library: "sap.m",
81
91
  properties: {
82
92
 
@@ -187,7 +197,6 @@ function(
187
197
  * Defines the formatted text that appears in the value state message pop-up.
188
198
  * It can include links. If both <code>valueStateText</code> and <code>formattedValueStateText</code>
189
199
  * are set - the latter is shown.
190
- * @experimental Since 1.78. This aggregation is experimental and provides only limited functionality. Also the API might be changed in future.
191
200
  * @since 1.78
192
201
  */
193
202
  formattedValueStateText: { type: "sap.m.FormattedText", multiple: false },
@@ -195,7 +204,6 @@ function(
195
204
  /**
196
205
  * Clone of the <code>formattedValueStateText</code> aggregation created for the accessibility elements used
197
206
  * by screen readers.
198
- * @experimental Since 1.84. This aggregation is experimental and provides only limited functionality. Also the API might be changed in future.
199
207
  * @since 1.84
200
208
  */
201
209
  _invisibleFormattedValueStateText: { type: "sap.m.FormattedText", multiple: false, visibility: "hidden" },
@@ -1043,14 +1051,14 @@ function(
1043
1051
  */
1044
1052
  InputBase.prototype.getLabels = function() {
1045
1053
  var aLabelIDs = this.getAriaLabelledBy().map(function(sLabelID) {
1046
- return sap.ui.getCore().byId(sLabelID);
1054
+ return Element.getElementById(sLabelID);
1047
1055
  });
1048
1056
 
1049
1057
  var oLabelEnablement = sap.ui.require("sap/ui/core/LabelEnablement");
1050
1058
 
1051
1059
  if (oLabelEnablement) {
1052
1060
  aLabelIDs = aLabelIDs.concat(oLabelEnablement.getReferencingLabels(this).map(function(sLabelID) {
1053
- return sap.ui.getCore().byId(sLabelID);
1061
+ return Element.getElementById(sLabelID);
1054
1062
  }));
1055
1063
  }
1056
1064
 
@@ -1261,6 +1269,23 @@ function(
1261
1269
  return this._lastValue;
1262
1270
  };
1263
1271
 
1272
+ // support for SemanticFormElement
1273
+ InputBase.prototype.getFormFormattedValue = function() {
1274
+ return this.getValue();
1275
+ };
1276
+
1277
+ InputBase.prototype.getFormValueProperty = function () {
1278
+ return "value";
1279
+ };
1280
+
1281
+ InputBase.prototype.getFormObservingProperties = function() {
1282
+ return ["value"];
1283
+ };
1284
+
1285
+ InputBase.prototype.getFormRenderAsControl = function () {
1286
+ return false;
1287
+ };
1288
+
1264
1289
  return InputBase;
1265
1290
 
1266
1291
  });
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/Device', 'sap/ui/core/Configuration', "sap/ui/core/Lib"],
8
- function(Renderer, coreLibrary, ValueStateSupport, Device, Configuration, Library) {
7
+ sap.ui.define(["sap/ui/core/ControlBehavior", 'sap/ui/core/Renderer', 'sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/Device', "sap/ui/core/Lib"],
8
+ function(ControlBehavior, Renderer, coreLibrary, ValueStateSupport, Device, Library) {
9
9
  "use strict";
10
10
 
11
11
  // shortcut for sap.ui.core.TextDirection
@@ -36,7 +36,7 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/library', 'sap/ui/core/Value
36
36
  var sValueState = oControl.getValueState(),
37
37
  sTextDir = oControl.getTextDirection(),
38
38
  sTextAlign = Renderer.getTextAlign(oControl.getTextAlign(), sTextDir),
39
- bAccessibility = Configuration.getAccessibility(),
39
+ bAccessibility = ControlBehavior.isAccessibilityEnabled(),
40
40
  aBeginIcons = oControl.getAggregation("_beginIcon") || [],
41
41
  aEndIcons = oControl.getAggregation("_endIcon") || [],
42
42
  aVisibleBeginIcons, aVisibleEndIcons;
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.120.6
33
+ * @version 1.121.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(['sap/ui/core/InvisibleText', 'sap/ui/core/Renderer', './InputBaseRenderer', 'sap/m/library', 'sap/ui/core/Configuration'],
8
- function(InvisibleText, Renderer, InputBaseRenderer, library, Configuration) {
7
+ sap.ui.define(["sap/base/i18n/Localization", "sap/ui/core/ControlBehavior", 'sap/ui/core/InvisibleText', 'sap/ui/core/Renderer', './InputBaseRenderer', 'sap/m/library'],
8
+ function(Localization, ControlBehavior, InvisibleText, Renderer, InputBaseRenderer, library) {
9
9
  "use strict";
10
10
 
11
11
 
@@ -50,14 +50,14 @@ sap.ui.define(['sap/ui/core/InvisibleText', 'sap/ui/core/Renderer', './InputBase
50
50
  */
51
51
  InputRenderer.writeInnerAttributes = function (oRm, oControl) {
52
52
  var bShowSuggestions = oControl.getShowSuggestion();
53
- var bAddReadOnly = (!oControl.getEnabled() && oControl.getType() == "Password") || (oControl.getShowSuggestion() && oControl.isMobileDevice());
53
+ var bAddReadOnly = oControl.getShowSuggestion() && oControl.isMobileDevice();
54
54
 
55
55
  oRm.attr("type", oControl.getType().toLowerCase());
56
56
  //if Input is of type "Number" step attribute should be "any" allowing input of floating point numbers
57
57
  if (oControl.getType() == InputType.Number) {
58
58
  oRm.attr("step", "any");
59
59
  }
60
- if (oControl.getType() == InputType.Number && Configuration.getRTL()) {
60
+ if (oControl.getType() == InputType.Number && Localization.getRTL()) {
61
61
  oRm.attr("dir", "ltr").style("text-align", "right");
62
62
  }
63
63
 
@@ -71,7 +71,6 @@ sap.ui.define(['sap/ui/core/InvisibleText', 'sap/ui/core/Renderer', './InputBase
71
71
  bAddReadOnly = bAddReadOnly || (oControl.getValueHelpOnly() && oControl.getEnabled() && oControl.getEditable() && oControl.getShowValueHelp());
72
72
 
73
73
  if (bAddReadOnly) {
74
- // required for JAWS reader on password fields on desktop and in other cases:
75
74
  oRm.attr("readonly", "readonly");
76
75
  }
77
76
  };
@@ -116,7 +115,7 @@ sap.ui.define(['sap/ui/core/InvisibleText', 'sap/ui/core/Renderer', './InputBase
116
115
  this.writeDescription(oRm, oControl);
117
116
  }
118
117
 
119
- if (Configuration.getAccessibility()) {
118
+ if (ControlBehavior.isAccessibilityEnabled()) {
120
119
  if (oControl.getShowSuggestion() && oControl.getEnabled() && oControl.getEditable()) {
121
120
  oRm.openStart("span", oControl.getId() + "-SuggDescr").class("sapUiPseudoInvisibleText")
122
121
  .attr("role", "status").attr("aria-live", "polite")
@@ -7,8 +7,8 @@
7
7
  // Provides control sap.m.Label
8
8
  sap.ui.define([
9
9
  './library',
10
- "sap/ui/core/Core",
11
10
  'sap/ui/core/Control',
11
+ "sap/ui/core/Element",
12
12
  'sap/ui/core/LabelEnablement',
13
13
  'sap/m/HyphenationSupport',
14
14
  'sap/ui/core/library',
@@ -16,8 +16,8 @@ sap.ui.define([
16
16
  ],
17
17
  function(
18
18
  library,
19
- Core,
20
19
  Control,
20
+ Element,
21
21
  LabelEnablement,
22
22
  HyphenationSupport,
23
23
  coreLibrary,
@@ -78,7 +78,7 @@ function(
78
78
  * @implements sap.ui.core.Label, sap.ui.core.IShrinkable, sap.ui.core.IAccessKeySupport
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.120.6
81
+ * @version 1.121.0
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -225,10 +225,10 @@ function(
225
225
  return;
226
226
  }
227
227
 
228
- var oLabeledControl = Core.byId(sLabelForId);
228
+ var oLabeledControl = Element.getElementById(sLabelForId);
229
229
 
230
230
  if (oLabeledControl && oLabeledControl.isA("sap.m.Input") && oLabeledControl.getProperty("highlightAccKeysRef")) {
231
- Core.byId(sLabelForId).setProperty("accesskey", (sText[0].toLowerCase()));
231
+ Element.getElementById(sLabelForId).setProperty("accesskey", (sText[0].toLowerCase()));
232
232
  }
233
233
  };
234
234
 
@@ -268,7 +268,7 @@ function(
268
268
 
269
269
  // check that the label is for a control from the same toolbar
270
270
  sLabelledControlId = oLabel.getLabelFor();
271
- oLabelledControl = sLabelledControlId && sap.ui.getCore().byId(sLabelledControlId);
271
+ oLabelledControl = sLabelledControlId && Element.getElementById(sLabelledControlId);
272
272
  if (!oLabelledControl || (oToolbar.indexOfContent(oLabelledControl) < 0)) {
273
273
  return;
274
274
  }
@@ -7,8 +7,8 @@
7
7
  sap.ui.define([
8
8
  "./library",
9
9
  "sap/ui/core/Control",
10
+ "sap/ui/core/Lib",
10
11
  "sap/ui/core/Popup",
11
- "sap/ui/core/Core",
12
12
  "sap/m/IllustratedMessage",
13
13
  "sap/m/IllustratedMessageType",
14
14
  "sap/m/IllustratedMessageSize",
@@ -25,8 +25,8 @@ sap.ui.define([
25
25
  ], function (
26
26
  library,
27
27
  Control,
28
+ Library,
28
29
  Popup,
29
- Core,
30
30
  IllustratedMessage,
31
31
  IllustratedMessageType,
32
32
  IllustratedMessageSize,
@@ -96,7 +96,7 @@ sap.ui.define([
96
96
  * @extends sap.ui.core.Control
97
97
  *
98
98
  * @author SAP SE
99
- * @version 1.120.6
99
+ * @version 1.121.0
100
100
  *
101
101
  * @constructor
102
102
  * @public
@@ -168,7 +168,7 @@ sap.ui.define([
168
168
  this._iResizeListenerId = null;
169
169
  this._$lightBox = null;
170
170
 
171
- this._oRB = Core.getLibraryResourceBundle("sap.m");
171
+ this._oRB = Library.getResourceBundleFor("sap.m");
172
172
 
173
173
  // create an ARIA announcement for enlarged image
174
174
  this.setAggregation("_invisiblePopupText", new InvisibleText());
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Element
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.120.6
46
+ * @version 1.121.0
47
47
  *
48
48
  * @constructor
49
49
  * @public
package/src/sap/m/Link.js CHANGED
@@ -7,12 +7,13 @@
7
7
  // Provides control sap.m.Link.
8
8
  sap.ui.define([
9
9
  "./library",
10
- "sap/ui/core/Core",
11
10
  "sap/ui/core/Control",
11
+ "sap/ui/core/Element",
12
12
  "sap/ui/core/InvisibleText",
13
13
  "sap/ui/core/EnabledPropagator",
14
14
  "sap/ui/core/AccessKeysEnablement",
15
15
  "sap/ui/core/LabelEnablement",
16
+ "sap/ui/core/Lib",
16
17
  "sap/ui/core/library",
17
18
  "sap/ui/Device",
18
19
  "./LinkRenderer",
@@ -21,12 +22,13 @@ sap.ui.define([
21
22
  ],
22
23
  function(
23
24
  library,
24
- Core,
25
25
  Control,
26
+ Element,
26
27
  InvisibleText,
27
28
  EnabledPropagator,
28
29
  AccessKeysEnablement,
29
30
  LabelEnablement,
31
+ Library,
30
32
  coreLibrary,
31
33
  Device,
32
34
  LinkRenderer,
@@ -83,10 +85,15 @@ function(
83
85
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/link/ Link}
84
86
  *
85
87
  * @extends sap.ui.core.Control
86
- * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ITitleContent, sap.ui.core.IAccessKeySupport
88
+ * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.ui.core.ITitleContent, sap.ui.core.IAccessKeySupport
89
+ *
90
+ * @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
91
+ * @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
92
+ * @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
93
+ * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
87
94
  *
88
95
  * @author SAP SE
89
- * @version 1.120.6
96
+ * @version 1.121.0
90
97
  *
91
98
  * @constructor
92
99
  * @public
@@ -99,6 +106,7 @@ function(
99
106
  interfaces : [
100
107
  "sap.ui.core.IShrinkable",
101
108
  "sap.ui.core.IFormContent",
109
+ "sap.ui.core.ISemanticFormContent",
102
110
  "sap.ui.core.ITitleContent",
103
111
  "sap.ui.core.IAccessKeySupport",
104
112
  "sap.m.IToolbarInteractiveControl"
@@ -480,7 +488,7 @@ function(
480
488
  * @returns {sap.ui.core.AccessibilityInfo} The <code>sap.m.Link</code> accessibility information
481
489
  */
482
490
  Link.prototype.getAccessibilityInfo = function() {
483
- var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m"),
491
+ var oResourceBundle = Library.getResourceBundleFor("sap.m"),
484
492
  sEmphasizedInfo = this.getEmphasized() ? oResourceBundle.getText("LINK_EMPHASIZED") : "",
485
493
  sSubtleInfo = this.getSubtle() ? oResourceBundle.getText("LINK_SUBTLE") : "",
486
494
  sText = this.getText(),
@@ -557,7 +565,7 @@ function(
557
565
  var aLabels = this.getAriaLabelledBy();
558
566
 
559
567
  if (aLabels.length) {
560
- var oLabel = Core.byId(aLabels[0]);
568
+ var oLabel = Element.getElementById(aLabels[0]);
561
569
 
562
570
  oLabel.setProperty("highlightAccKeysRef", bHighlightAccKeysRef);
563
571
 
@@ -567,6 +575,22 @@ function(
567
575
  }
568
576
  };
569
577
 
578
+ Link.prototype.getFormFormattedValue = function () {
579
+ return this.getText();
580
+ };
581
+
582
+ Link.prototype.getFormValueProperty = function () {
583
+ return "text";
584
+ };
585
+
586
+ Link.prototype.getFormObservingProperties = function() {
587
+ return ["text"];
588
+ };
589
+
590
+ Link.prototype.getFormRenderAsControl = function () {
591
+ return true;
592
+ };
593
+
570
594
  return Link;
571
595
 
572
596
  });
@@ -5,14 +5,14 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
+ "sap/ui/core/Lib",
8
9
  "sap/ui/core/Renderer",
9
10
  "sap/ui/core/library",
10
11
  'sap/ui/core/AccessKeysEnablement',
11
12
  "sap/ui/util/defaultLinkTypes",
12
- './library',
13
- 'sap/ui/core/Core'
13
+ './library'
14
14
  ],
15
- function(Renderer, coreLibrary, AccessKeysEnablement, defaultLinkTypes, mobileLibrary, Core) {
15
+ function(Library, Renderer, coreLibrary, AccessKeysEnablement, defaultLinkTypes, mobileLibrary) {
16
16
  "use strict";
17
17
 
18
18
  // shortcut for sap.ui.core.TextDirection
@@ -36,7 +36,7 @@
36
36
  var EmptyIndicatorMode = mobileLibrary.EmptyIndicatorMode;
37
37
 
38
38
  // shortcut for library resource bundle
39
- var oRb = Core.getLibraryResourceBundle("sap.m");
39
+ var oRb = Library.getResourceBundleFor("sap.m");
40
40
 
41
41
 
42
42
  /**
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @class This element is used within the GenericTile control that generates a combination of an icon and a linkl
19
19
  * @extends sap.ui.core.Element
20
20
  * @author SAP SE
21
- * @version 1.120.6
21
+ * @version 1.121.0
22
22
  * @constructor
23
23
  * @public
24
24
  * @since 1.120
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.120.6
33
+ * @version 1.121.0
34
34
  *
35
35
  * @constructor
36
36
  * @public