@openui5/sap.m 1.128.0 → 1.130.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 (517) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +2 -4
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +7 -8
  9. package/src/sap/m/ActionTileContent.js +1 -2
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +1 -1
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +30 -11
  14. package/src/sap/m/AvatarRenderer.js +8 -4
  15. package/src/sap/m/Bar.js +1 -1
  16. package/src/sap/m/Breadcrumbs.js +8 -2
  17. package/src/sap/m/BreadcrumbsRenderer.js +1 -1
  18. package/src/sap/m/BusyDialog.js +1 -1
  19. package/src/sap/m/BusyIndicator.js +1 -1
  20. package/src/sap/m/Button.js +6 -2
  21. package/src/sap/m/Carousel.js +33 -31
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CarouselRenderer.js +5 -5
  24. package/src/sap/m/CheckBox.js +13 -1
  25. package/src/sap/m/CheckBoxRenderer.js +40 -29
  26. package/src/sap/m/ColorPalette.js +2 -1
  27. package/src/sap/m/ColorPalettePopover.js +5 -3
  28. package/src/sap/m/Column.js +7 -1
  29. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  30. package/src/sap/m/ColumnListItem.js +1 -1
  31. package/src/sap/m/ColumnListItemRenderer.js +10 -0
  32. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverItem.js +1 -1
  35. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  36. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  37. package/src/sap/m/ComboBox.js +1 -1
  38. package/src/sap/m/ComboBoxBase.js +1 -1
  39. package/src/sap/m/ComboBoxTextField.js +1 -1
  40. package/src/sap/m/ContentConfig.js +1 -1
  41. package/src/sap/m/CustomListItem.js +1 -1
  42. package/src/sap/m/CustomTile.js +1 -1
  43. package/src/sap/m/CustomTreeItem.js +1 -1
  44. package/src/sap/m/DatePicker.js +1 -1
  45. package/src/sap/m/DateRangeSelection.js +2 -2
  46. package/src/sap/m/DateTimeField.js +1 -1
  47. package/src/sap/m/DateTimeInput.js +1 -1
  48. package/src/sap/m/DateTimePicker.js +1 -1
  49. package/src/sap/m/Dialog.js +36 -28
  50. package/src/sap/m/DisplayListItem.js +1 -1
  51. package/src/sap/m/DraftIndicator.js +1 -1
  52. package/src/sap/m/DynamicDate.js +1 -1
  53. package/src/sap/m/DynamicDateFormat.js +14 -0
  54. package/src/sap/m/DynamicDateOption.js +1 -1
  55. package/src/sap/m/DynamicDateRange.js +76 -7
  56. package/src/sap/m/DynamicDateUtil.js +28 -0
  57. package/src/sap/m/DynamicDateValueHelpUIType.js +8 -3
  58. package/src/sap/m/ExpandableText.js +1 -1
  59. package/src/sap/m/FacetFilter.js +1 -1
  60. package/src/sap/m/FacetFilterItem.js +1 -1
  61. package/src/sap/m/FacetFilterList.js +1 -1
  62. package/src/sap/m/FeedContent.js +1 -1
  63. package/src/sap/m/FeedInput.js +1 -1
  64. package/src/sap/m/FeedListItem.js +1 -1
  65. package/src/sap/m/FeedListItemAction.js +1 -1
  66. package/src/sap/m/Fiori20Adapter.js +2 -2
  67. package/src/sap/m/FlexBox.js +1 -1
  68. package/src/sap/m/FlexItemData.js +1 -1
  69. package/src/sap/m/FormattedText.js +1 -1
  70. package/src/sap/m/GenericTag.js +1 -1
  71. package/src/sap/m/GenericTile.js +7 -19
  72. package/src/sap/m/GenericTileRenderer.js +6 -1
  73. package/src/sap/m/GroupHeaderListItem.js +1 -1
  74. package/src/sap/m/GrowingList.js +1 -1
  75. package/src/sap/m/HBox.js +1 -1
  76. package/src/sap/m/HeaderContainer.js +1 -2
  77. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  78. package/src/sap/m/IconTabBar.js +19 -5
  79. package/src/sap/m/IconTabBarSelectList.js +1 -1
  80. package/src/sap/m/IconTabFilter.js +1 -1
  81. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  82. package/src/sap/m/IconTabHeader.js +1 -1
  83. package/src/sap/m/IconTabSeparator.js +1 -1
  84. package/src/sap/m/IllustratedMessage.js +1 -1
  85. package/src/sap/m/Illustration.js +1 -1
  86. package/src/sap/m/Image.js +1 -1
  87. package/src/sap/m/ImageContent.js +1 -1
  88. package/src/sap/m/Input.js +7 -4
  89. package/src/sap/m/InputBase.js +15 -3
  90. package/src/sap/m/InputListItem.js +8 -2
  91. package/src/sap/m/InputListItemRenderer.js +16 -6
  92. package/src/sap/m/Label.js +14 -3
  93. package/src/sap/m/LabelRenderer.js +48 -5
  94. package/src/sap/m/LightBox.js +1 -1
  95. package/src/sap/m/LightBoxItem.js +1 -1
  96. package/src/sap/m/Link.js +28 -9
  97. package/src/sap/m/LinkTileContent.js +1 -1
  98. package/src/sap/m/List.js +1 -1
  99. package/src/sap/m/ListBase.js +45 -16
  100. package/src/sap/m/ListItemBase.js +1 -1
  101. package/src/sap/m/MaskEnabler.js +1 -1
  102. package/src/sap/m/MaskInput.js +1 -1
  103. package/src/sap/m/MaskInputRule.js +1 -1
  104. package/src/sap/m/Menu.js +26 -6
  105. package/src/sap/m/MenuButton.js +1 -1
  106. package/src/sap/m/MenuItem.js +1 -1
  107. package/src/sap/m/MenuItemGroup.js +1 -1
  108. package/src/sap/m/MenuListItem.js +1 -1
  109. package/src/sap/m/MessageBox.js +6 -0
  110. package/src/sap/m/MessageItem.js +1 -1
  111. package/src/sap/m/MessageListItem.js +1 -1
  112. package/src/sap/m/MessagePage.js +1 -1
  113. package/src/sap/m/MessagePopover.js +1 -1
  114. package/src/sap/m/MessagePopoverItem.js +1 -1
  115. package/src/sap/m/MessageStrip.js +11 -3
  116. package/src/sap/m/MessageToast.js +1 -1
  117. package/src/sap/m/MessageView.js +6 -2
  118. package/src/sap/m/MultiComboBox.js +1 -1
  119. package/src/sap/m/MultiEditField.js +1 -1
  120. package/src/sap/m/MultiInput.js +1 -1
  121. package/src/sap/m/NavContainer.js +1 -1
  122. package/src/sap/m/NewsContent.js +1 -1
  123. package/src/sap/m/NotificationList.js +1 -1
  124. package/src/sap/m/NotificationListBase.js +1 -1
  125. package/src/sap/m/NotificationListGroup.js +1 -1
  126. package/src/sap/m/NotificationListItem.js +1 -1
  127. package/src/sap/m/NumericContent.js +1 -1
  128. package/src/sap/m/NumericInput.js +1 -1
  129. package/src/sap/m/ObjectAttribute.js +1 -1
  130. package/src/sap/m/ObjectHeader.js +1 -1
  131. package/src/sap/m/ObjectIdentifier.js +3 -3
  132. package/src/sap/m/ObjectListItem.js +1 -1
  133. package/src/sap/m/ObjectMarker.js +1 -1
  134. package/src/sap/m/ObjectNumber.js +3 -3
  135. package/src/sap/m/ObjectStatus.js +65 -10
  136. package/src/sap/m/ObjectStatusRenderer.js +1 -1
  137. package/src/sap/m/OverflowToolbar.js +1 -1
  138. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  139. package/src/sap/m/OverflowToolbarButton.js +1 -1
  140. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  141. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  142. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  143. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  144. package/src/sap/m/P13nColumnsItem.js +1 -1
  145. package/src/sap/m/P13nColumnsPanel.js +1 -1
  146. package/src/sap/m/P13nConditionPanel.js +1 -1
  147. package/src/sap/m/P13nDialog.js +1 -1
  148. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  149. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  150. package/src/sap/m/P13nFilterItem.js +1 -1
  151. package/src/sap/m/P13nFilterPanel.js +1 -1
  152. package/src/sap/m/P13nGroupItem.js +1 -1
  153. package/src/sap/m/P13nGroupPanel.js +1 -1
  154. package/src/sap/m/P13nItem.js +1 -1
  155. package/src/sap/m/P13nPanel.js +1 -1
  156. package/src/sap/m/P13nSelectionItem.js +1 -1
  157. package/src/sap/m/P13nSelectionPanel.js +1 -1
  158. package/src/sap/m/P13nSortItem.js +1 -1
  159. package/src/sap/m/P13nSortPanel.js +1 -1
  160. package/src/sap/m/PDFViewer.js +1 -1
  161. package/src/sap/m/Page.js +1 -1
  162. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  163. package/src/sap/m/PagingButton.js +1 -1
  164. package/src/sap/m/Panel.js +1 -1
  165. package/src/sap/m/PlanningCalendar.js +32 -1
  166. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  167. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  168. package/src/sap/m/PlanningCalendarRow.js +1 -1
  169. package/src/sap/m/PlanningCalendarView.js +1 -1
  170. package/src/sap/m/Popover.js +7 -2
  171. package/src/sap/m/ProgressIndicator.js +1 -1
  172. package/src/sap/m/PullToRefresh.js +1 -1
  173. package/src/sap/m/QuickView.js +1 -1
  174. package/src/sap/m/QuickViewBase.js +1 -1
  175. package/src/sap/m/QuickViewCard.js +1 -1
  176. package/src/sap/m/QuickViewGroup.js +1 -1
  177. package/src/sap/m/QuickViewGroupElement.js +1 -1
  178. package/src/sap/m/QuickViewPage.js +3 -2
  179. package/src/sap/m/RadioButton.js +1 -1
  180. package/src/sap/m/RadioButtonGroup.js +1 -1
  181. package/src/sap/m/RangeSlider.js +1 -1
  182. package/src/sap/m/RatingIndicator.js +9 -16
  183. package/src/sap/m/RatingIndicatorRenderer.js +4 -1
  184. package/src/sap/m/ResponsivePopover.js +7 -1
  185. package/src/sap/m/ResponsiveScale.js +1 -1
  186. package/src/sap/m/ScrollBar.js +1 -1
  187. package/src/sap/m/ScrollContainer.js +1 -1
  188. package/src/sap/m/SearchField.js +1 -1
  189. package/src/sap/m/SegmentedButton.js +1 -1
  190. package/src/sap/m/SegmentedButtonItem.js +1 -1
  191. package/src/sap/m/Select.js +24 -7
  192. package/src/sap/m/SelectDialog.js +1 -1
  193. package/src/sap/m/SelectDialogBase.js +1 -1
  194. package/src/sap/m/SelectList.js +1 -1
  195. package/src/sap/m/SelectionDetails.js +1 -1
  196. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  197. package/src/sap/m/SelectionDetailsItem.js +1 -1
  198. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  199. package/src/sap/m/Shell.js +1 -1
  200. package/src/sap/m/SimpleFixFlex.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  204. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +1 -1
  205. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +9 -6
  206. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +12 -5
  207. package/src/sap/m/SinglePlanningCalendarMonthView.js +2 -2
  208. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  210. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  211. package/src/sap/m/SlideTile.js +263 -42
  212. package/src/sap/m/SlideTileRenderer.js +12 -0
  213. package/src/sap/m/Slider.js +2 -1
  214. package/src/sap/m/SliderTooltip.js +1 -1
  215. package/src/sap/m/SliderTooltipBase.js +1 -1
  216. package/src/sap/m/SliderTooltipContainer.js +1 -1
  217. package/src/sap/m/SplitApp.js +1 -1
  218. package/src/sap/m/SplitButton.js +4 -3
  219. package/src/sap/m/SplitContainer.js +1 -1
  220. package/src/sap/m/StandardDynamicDateOption.js +354 -27
  221. package/src/sap/m/StandardListItem.js +1 -1
  222. package/src/sap/m/StandardTile.js +1 -1
  223. package/src/sap/m/StandardTreeItem.js +1 -1
  224. package/src/sap/m/StepInput.js +4 -4
  225. package/src/sap/m/SuggestionItem.js +1 -1
  226. package/src/sap/m/SuggestionsPopover.js +1 -1
  227. package/src/sap/m/Switch.js +1 -1
  228. package/src/sap/m/TabContainer.js +39 -44
  229. package/src/sap/m/TabContainerItem.js +40 -1
  230. package/src/sap/m/TabStrip.js +1 -1
  231. package/src/sap/m/TabStripItem.js +1 -1
  232. package/src/sap/m/Table.js +40 -26
  233. package/src/sap/m/TablePersoController.js +1 -1
  234. package/src/sap/m/TablePersoDialog.js +1 -1
  235. package/src/sap/m/TablePersoProvider.js +1 -1
  236. package/src/sap/m/TableRenderer.js +12 -2
  237. package/src/sap/m/TableSelectDialog.js +99 -29
  238. package/src/sap/m/Text.js +15 -3
  239. package/src/sap/m/TextArea.js +1 -1
  240. package/src/sap/m/Tile.js +1 -1
  241. package/src/sap/m/TileContainer.js +1 -1
  242. package/src/sap/m/TileContent.js +3 -3
  243. package/src/sap/m/TileInfo.js +1 -1
  244. package/src/sap/m/TimePicker.js +12 -1
  245. package/src/sap/m/TimePickerClock.js +1 -1
  246. package/src/sap/m/TimePickerClocks.js +1 -1
  247. package/src/sap/m/TimePickerInputs.js +1 -1
  248. package/src/sap/m/TimePickerInternals.js +1 -1
  249. package/src/sap/m/TimePickerRenderer.js +0 -13
  250. package/src/sap/m/TimePickerSlider.js +1 -1
  251. package/src/sap/m/TimePickerSliders.js +1 -1
  252. package/src/sap/m/Title.js +1 -1
  253. package/src/sap/m/TitlePropagationSupport.js +1 -1
  254. package/src/sap/m/ToggleButton.js +1 -1
  255. package/src/sap/m/Token.js +1 -1
  256. package/src/sap/m/Tokenizer.js +1 -1
  257. package/src/sap/m/Toolbar.js +1 -1
  258. package/src/sap/m/ToolbarLayoutData.js +1 -1
  259. package/src/sap/m/ToolbarSeparator.js +1 -1
  260. package/src/sap/m/ToolbarSpacer.js +1 -1
  261. package/src/sap/m/Tree.js +1 -1
  262. package/src/sap/m/TreeItemBase.js +1 -1
  263. package/src/sap/m/UploadCollection.js +1 -1
  264. package/src/sap/m/UploadCollectionItem.js +1 -1
  265. package/src/sap/m/UploadCollectionParameter.js +1 -1
  266. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  267. package/src/sap/m/VBox.js +1 -1
  268. package/src/sap/m/ValueStateHeader.js +1 -1
  269. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  270. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  271. package/src/sap/m/ViewSettingsDialog.js +1 -1
  272. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  273. package/src/sap/m/ViewSettingsItem.js +1 -1
  274. package/src/sap/m/VisibleItem.js +1 -1
  275. package/src/sap/m/WheelSlider.js +1 -1
  276. package/src/sap/m/WheelSliderContainer.js +1 -1
  277. package/src/sap/m/Wizard.js +1 -1
  278. package/src/sap/m/WizardProgressNavigator.js +1 -1
  279. package/src/sap/m/WizardStep.js +1 -1
  280. package/src/sap/m/_thirdparty/purify.js +632 -697
  281. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  282. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  283. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  284. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  285. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  286. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  287. package/src/sap/m/designtime/messagebundle_da.properties +2 -2
  288. package/src/sap/m/designtime/messagebundle_mk.properties +3 -3
  289. package/src/sap/m/inputUtils/ListHelpers.js +4 -0
  290. package/src/sap/m/library.js +120 -7
  291. package/src/sap/m/messagebundle.properties +39 -28
  292. package/src/sap/m/messagebundle_ar.properties +26 -24
  293. package/src/sap/m/messagebundle_bg.properties +29 -27
  294. package/src/sap/m/messagebundle_ca.properties +21 -19
  295. package/src/sap/m/messagebundle_cnr.properties +23 -21
  296. package/src/sap/m/messagebundle_cs.properties +23 -21
  297. package/src/sap/m/messagebundle_cy.properties +30 -28
  298. package/src/sap/m/messagebundle_da.properties +34 -32
  299. package/src/sap/m/messagebundle_de.properties +21 -19
  300. package/src/sap/m/messagebundle_el.properties +22 -20
  301. package/src/sap/m/messagebundle_en.properties +22 -20
  302. package/src/sap/m/messagebundle_en_GB.properties +21 -19
  303. package/src/sap/m/messagebundle_en_US_sappsd.properties +0 -14
  304. package/src/sap/m/messagebundle_en_US_saprigi.properties +22 -20
  305. package/src/sap/m/messagebundle_en_US_saptrc.properties +0 -14
  306. package/src/sap/m/messagebundle_es.properties +25 -23
  307. package/src/sap/m/messagebundle_es_MX.properties +22 -20
  308. package/src/sap/m/messagebundle_et.properties +21 -19
  309. package/src/sap/m/messagebundle_fi.properties +22 -20
  310. package/src/sap/m/messagebundle_fr.properties +34 -32
  311. package/src/sap/m/messagebundle_fr_CA.properties +20 -18
  312. package/src/sap/m/messagebundle_hi.properties +23 -21
  313. package/src/sap/m/messagebundle_hr.properties +76 -74
  314. package/src/sap/m/messagebundle_hu.properties +21 -19
  315. package/src/sap/m/messagebundle_id.properties +23 -21
  316. package/src/sap/m/messagebundle_it.properties +25 -23
  317. package/src/sap/m/messagebundle_iw.properties +21 -19
  318. package/src/sap/m/messagebundle_ja.properties +23 -21
  319. package/src/sap/m/messagebundle_kk.properties +23 -21
  320. package/src/sap/m/messagebundle_ko.properties +23 -21
  321. package/src/sap/m/messagebundle_lt.properties +21 -19
  322. package/src/sap/m/messagebundle_lv.properties +22 -20
  323. package/src/sap/m/messagebundle_mk.properties +28 -26
  324. package/src/sap/m/messagebundle_ms.properties +22 -20
  325. package/src/sap/m/messagebundle_nl.properties +23 -21
  326. package/src/sap/m/messagebundle_no.properties +23 -21
  327. package/src/sap/m/messagebundle_pl.properties +21 -19
  328. package/src/sap/m/messagebundle_pt.properties +21 -19
  329. package/src/sap/m/messagebundle_pt_PT.properties +21 -19
  330. package/src/sap/m/messagebundle_ro.properties +22 -20
  331. package/src/sap/m/messagebundle_ru.properties +23 -21
  332. package/src/sap/m/messagebundle_sh.properties +23 -21
  333. package/src/sap/m/messagebundle_sk.properties +23 -21
  334. package/src/sap/m/messagebundle_sl.properties +23 -21
  335. package/src/sap/m/messagebundle_sr.properties +23 -21
  336. package/src/sap/m/messagebundle_sv.properties +26 -24
  337. package/src/sap/m/messagebundle_th.properties +31 -29
  338. package/src/sap/m/messagebundle_tr.properties +22 -20
  339. package/src/sap/m/messagebundle_uk.properties +22 -20
  340. package/src/sap/m/messagebundle_vi.properties +26 -24
  341. package/src/sap/m/messagebundle_zh_CN.properties +23 -21
  342. package/src/sap/m/messagebundle_zh_TW.properties +21 -19
  343. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  344. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  345. package/src/sap/m/p13n/BasePanel.js +1 -1
  346. package/src/sap/m/p13n/Container.js +1 -1
  347. package/src/sap/m/p13n/Engine.js +1 -1
  348. package/src/sap/m/p13n/FilterController.js +1 -1
  349. package/src/sap/m/p13n/FilterPanel.js +1 -1
  350. package/src/sap/m/p13n/GroupController.js +1 -1
  351. package/src/sap/m/p13n/GroupPanel.js +1 -1
  352. package/src/sap/m/p13n/MessageStrip.js +4 -4
  353. package/src/sap/m/p13n/Popup.js +1 -1
  354. package/src/sap/m/p13n/QueryPanel.js +1 -1
  355. package/src/sap/m/p13n/SelectionController.js +9 -4
  356. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  357. package/src/sap/m/p13n/SortController.js +1 -1
  358. package/src/sap/m/p13n/SortPanel.js +1 -1
  359. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  360. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  361. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  362. package/src/sap/m/p13n/modules/xConfigAPI.js +28 -4
  363. package/src/sap/m/plugins/CellSelector.js +12 -8
  364. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  365. package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
  366. package/src/sap/m/plugins/CopyProvider.js +1 -1
  367. package/src/sap/m/plugins/DataStateIndicator.js +3 -2
  368. package/src/sap/m/plugins/PasteProvider.js +1 -1
  369. package/src/sap/m/plugins/PluginBase.js +1 -1
  370. package/src/sap/m/plugins/UploadSetwithTable.js +58 -17
  371. package/src/sap/m/semantic/AddAction.js +1 -1
  372. package/src/sap/m/semantic/CancelAction.js +1 -1
  373. package/src/sap/m/semantic/DeleteAction.js +1 -1
  374. package/src/sap/m/semantic/DetailPage.js +1 -1
  375. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  376. package/src/sap/m/semantic/EditAction.js +1 -1
  377. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  378. package/src/sap/m/semantic/FilterAction.js +1 -1
  379. package/src/sap/m/semantic/FilterSelect.js +1 -1
  380. package/src/sap/m/semantic/FlagAction.js +1 -1
  381. package/src/sap/m/semantic/ForwardAction.js +1 -1
  382. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  383. package/src/sap/m/semantic/GroupAction.js +1 -1
  384. package/src/sap/m/semantic/GroupSelect.js +1 -1
  385. package/src/sap/m/semantic/MainAction.js +1 -1
  386. package/src/sap/m/semantic/MasterPage.js +1 -1
  387. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  388. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  389. package/src/sap/m/semantic/NegativeAction.js +1 -1
  390. package/src/sap/m/semantic/OpenInAction.js +1 -1
  391. package/src/sap/m/semantic/PositiveAction.js +1 -1
  392. package/src/sap/m/semantic/PrintAction.js +1 -1
  393. package/src/sap/m/semantic/SaveAction.js +1 -1
  394. package/src/sap/m/semantic/Segment.js +1 -1
  395. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  396. package/src/sap/m/semantic/SemanticButton.js +1 -1
  397. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  398. package/src/sap/m/semantic/SemanticControl.js +1 -1
  399. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  400. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  401. package/src/sap/m/semantic/SemanticPage.js +1 -1
  402. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  403. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  404. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  405. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  406. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  407. package/src/sap/m/semantic/ShareMenu.js +1 -1
  408. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  409. package/src/sap/m/semantic/SortAction.js +1 -1
  410. package/src/sap/m/semantic/SortSelect.js +1 -1
  411. package/src/sap/m/table/ColumnWidthController.js +1 -1
  412. package/src/sap/m/table/Util.js +6 -4
  413. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  414. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  415. package/src/sap/m/table/columnmenu/Item.js +1 -1
  416. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  417. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  418. package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
  419. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  420. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  421. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  422. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  423. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  424. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  425. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  426. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  427. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  428. package/src/sap/m/themes/base/ActionSelect.less +2 -2
  429. package/src/sap/m/themes/base/ActionSheet.less +11 -7
  430. package/src/sap/m/themes/base/Avatar.less +62 -60
  431. package/src/sap/m/themes/base/Bar.less +17 -12
  432. package/src/sap/m/themes/base/Breadcrumbs.less +5 -0
  433. package/src/sap/m/themes/base/Carousel.less +25 -7
  434. package/src/sap/m/themes/base/ColorPalette.less +81 -44
  435. package/src/sap/m/themes/base/ColumnListItem.less +29 -22
  436. package/src/sap/m/themes/base/ColumnResizer.less +4 -4
  437. package/src/sap/m/themes/base/ComboBox.less +1 -1
  438. package/src/sap/m/themes/base/ComboBoxBase.less +6 -6
  439. package/src/sap/m/themes/base/DateTimePicker.less +20 -12
  440. package/src/sap/m/themes/base/Dialog.less +45 -44
  441. package/src/sap/m/themes/base/DisplayListItem.less +5 -10
  442. package/src/sap/m/themes/base/DynamicDateRange.less +12 -4
  443. package/src/sap/m/themes/base/ExpandableText.less +7 -5
  444. package/src/sap/m/themes/base/FacetFilter.less +13 -10
  445. package/src/sap/m/themes/base/FacetFilterItem.less +5 -13
  446. package/src/sap/m/themes/base/FacetFilterList.less +7 -10
  447. package/src/sap/m/themes/base/FlexBox.less +33 -8
  448. package/src/sap/m/themes/base/FormattedText.less +4 -4
  449. package/src/sap/m/themes/base/GenericTile.less +12 -14
  450. package/src/sap/m/themes/base/GroupHeaderListItem.less +11 -15
  451. package/src/sap/m/themes/base/IconTabBar.less +168 -134
  452. package/src/sap/m/themes/base/IconTabBarSelectList.less +22 -25
  453. package/src/sap/m/themes/base/Illustration.less +26 -10
  454. package/src/sap/m/themes/base/InputListItem.less +16 -17
  455. package/src/sap/m/themes/base/Label.less +32 -81
  456. package/src/sap/m/themes/base/Link.less +17 -18
  457. package/src/sap/m/themes/base/ListBase.less +11 -7
  458. package/src/sap/m/themes/base/MessageView.less +0 -4
  459. package/src/sap/m/themes/base/ObjectStatus.less +35 -0
  460. package/src/sap/m/themes/base/QuickView.less +9 -5
  461. package/src/sap/m/themes/base/RatingIndicator.less +30 -38
  462. package/src/sap/m/themes/base/SinglePlanningCalendar.less +1 -1
  463. package/src/sap/m/themes/base/SlideTile.less +242 -13
  464. package/src/sap/m/themes/base/StandardListItem.less +21 -0
  465. package/src/sap/m/themes/base/TabContainer.less +1 -1
  466. package/src/sap/m/themes/base/Table.less +58 -12
  467. package/src/sap/m/themes/base/TileContent.less +34 -7
  468. package/src/sap/m/themes/base/Token.less +9 -6
  469. package/src/sap/m/themes/base/Toolbar.less +3 -2
  470. package/src/sap/m/themes/base/ViewSettingsDialog.less +6 -0
  471. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BeforeSearch.svg +10 -0
  472. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoActivities.svg +23 -0
  473. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoData.svg +9 -0
  474. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoEntries.svg +12 -0
  475. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail.svg +10 -0
  476. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoNotifications.svg +10 -0
  477. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems.svg +9 -0
  478. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks.svg +20 -0
  479. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessBalloon.svg +19 -0
  480. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessCheckMark.svg +7 -0
  481. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UnableToLoad.svg +10 -0
  482. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UnableToUpload.svg +10 -0
  483. package/src/sap/m/themes/sap_hcb/base_Dialog.less +1 -7
  484. package/src/sap/m/themes/sap_hcb/base_Token.less +4 -4
  485. package/src/sap/m/upload/ActionsPlaceholder.js +14 -5
  486. package/src/sap/m/upload/Column.js +1 -1
  487. package/src/sap/m/upload/FilePreviewDialog.js +1 -2
  488. package/src/sap/m/upload/UploadItem.js +1 -2
  489. package/src/sap/m/upload/UploadItemConfiguration.js +1 -2
  490. package/src/sap/m/upload/UploadSet.js +19 -8
  491. package/src/sap/m/upload/UploadSetItem.js +2 -1
  492. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +2 -1
  493. package/src/sap/m/upload/Uploader.js +1 -0
  494. package/src/sap/m/upload/UploaderTableItem.js +7 -11
  495. package/src/sap/m/upload/UploadSetwithTable.js +0 -1607
  496. package/src/sap/m/upload/UploadSetwithTableItem.js +0 -344
  497. package/src/sap/m/upload/UploadSetwithTableItemRenderer.js +0 -23
  498. package/src/sap/m/upload/UploadSetwithTableRenderer.js +0 -31
  499. package/src/sap/m/upload/p13n/PersManager.js +0 -253
  500. package/src/sap/m/upload/p13n/flexibility/UploadSetwithTable.flexibility.js +0 -32
  501. package/src/sap/m/upload/p13n/handlers/BaseConfigHandler.js +0 -44
  502. package/src/sap/m/upload/p13n/handlers/ChangeHandler.js +0 -98
  503. package/src/sap/m/upload/p13n/handlers/ColumnConfigHandler.js +0 -57
  504. package/src/sap/m/upload/p13n/handlers/ColumnsStateChangeHandler.js +0 -43
  505. package/src/sap/m/upload/p13n/handlers/FilterConfigHandler.js +0 -71
  506. package/src/sap/m/upload/p13n/handlers/FilterStateChangeHandler.js +0 -65
  507. package/src/sap/m/upload/p13n/handlers/GroupConfigHandler.js +0 -57
  508. package/src/sap/m/upload/p13n/handlers/GroupStateChangeHandler.js +0 -46
  509. package/src/sap/m/upload/p13n/handlers/SortConfigHandler.js +0 -57
  510. package/src/sap/m/upload/p13n/handlers/SortStateChangeHandler.js +0 -48
  511. package/src/sap/m/upload/p13n/mediator/BaseMediator.js +0 -183
  512. package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +0 -211
  513. package/src/sap/m/upload/p13n/mediator/FilterMediator.js +0 -199
  514. package/src/sap/m/upload/p13n/mediator/GroupMediator.js +0 -193
  515. package/src/sap/m/upload/p13n/mediator/SortMediator.js +0 -201
  516. package/src/sap/m/upload/p13n/modules/CustomDataConfig.js +0 -100
  517. package/src/sap/m/upload/p13n/modules/PersPopupManager.js +0 -76
@@ -85,7 +85,7 @@ sap.ui.define([
85
85
  * @extends sap.ui.core.Control
86
86
  *
87
87
  * @author SAP SE
88
- * @version 1.128.0
88
+ * @version 1.130.0
89
89
  *
90
90
  * @constructor
91
91
  * @public
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @implements sap.m.IconTab
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.128.0
36
+ * @version 1.130.0
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  * @extends sap.ui.core.Control
89
89
  *
90
90
  * @author SAP SE
91
- * @version 1.128.0
91
+ * @version 1.130.0
92
92
  *
93
93
  * @constructor
94
94
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.128.0
44
+ * @version 1.130.0
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @borrows sap.ui.core.IFormContent.getFormDoNotAdjustWidth as #getFormDoNotAdjustWidth
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.128.0
65
+ * @version 1.130.0
66
66
  *
67
67
  * @public
68
68
  * @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.128.0
36
+ * @version 1.130.0
37
37
  * @since 1.38
38
38
  *
39
39
  * @public
@@ -162,7 +162,7 @@ function(
162
162
  * @extends sap.m.InputBase
163
163
  * @implements sap.ui.core.IAccessKeySupport
164
164
  * @author SAP SE
165
- * @version 1.128.0
165
+ * @version 1.130.0
166
166
  *
167
167
  * @constructor
168
168
  * @public
@@ -629,6 +629,7 @@ function(
629
629
  // even though there is no user input (check Input.prototype.onsapright).
630
630
  this._setTypedInValue("");
631
631
  this._bDoTypeAhead = false;
632
+ this._bBackspaceOrDelete = false;
632
633
  this._isValueInitial = false;
633
634
  this._previousInputType = this.getType();
634
635
 
@@ -1849,7 +1850,8 @@ function(
1849
1850
 
1850
1851
  Input.prototype.onkeydown = function (oEvent) {
1851
1852
  // disable the typeahead feature for android devices due to an issue on android soft keyboard, which always returns keyCode 229
1852
- this._bDoTypeAhead = !Device.os.android && this.getAutocomplete() && (oEvent.which !== KeyCodes.BACKSPACE) && (oEvent.which !== KeyCodes.DELETE);
1853
+ this._bBackspaceOrDelete = (oEvent.which === KeyCodes.BACKSPACE) || (oEvent.which === KeyCodes.DELETE);
1854
+ this._bDoTypeAhead = !Device.os.android && this.getAutocomplete() && !this._bBackspaceOrDelete;
1853
1855
  };
1854
1856
 
1855
1857
  Input.prototype.onkeyup = function (oEvent) {
@@ -2291,7 +2293,9 @@ function(
2291
2293
 
2292
2294
  const bExactMatch = this._hasTabularSuggestions() ? this.checkMatchingTabularSuggestionItems(sValue) : this.checkMatchingSuggestionItems(sValue);
2293
2295
 
2294
- if (!bDoTypeAhead && !bExactMatch) {
2296
+ // perform typeahead only if typeahead prerequisites are met or
2297
+ // backspace is pressed and exact match is present
2298
+ if (!bDoTypeAhead && !(bExactMatch && this._bBackspaceOrDelete)) {
2295
2299
  return;
2296
2300
  }
2297
2301
 
@@ -3089,7 +3093,6 @@ function(
3089
3093
 
3090
3094
  oItemToBeSelected = this._hasTabularSuggestions() ? mTypeAheadInfo.selectedItem : ListHelpers.getListItem(mTypeAheadInfo.selectedItem);
3091
3095
  oItemToBeSelected.setSelected(true);
3092
- this.setSelectionUpdatedFromList(true);
3093
3096
  }, this);
3094
3097
 
3095
3098
  if (this.isMobileDevice()) {
@@ -65,15 +65,16 @@ function(
65
65
  * The <code>sap.m.InputBase</code> control provides a basic functionality for input controls.
66
66
  *
67
67
  * @extends sap.ui.core.Control
68
- * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
68
+ * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.ui.core.ILabelable
69
69
  *
70
70
  * @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
71
71
  * @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
72
72
  * @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
73
73
  * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
74
+ * @borrows sap.ui.core.ILabelable.hasLabelableHTMLElement as #hasLabelableHTMLElement
74
75
  *
75
76
  * @author SAP SE
76
- * @version 1.128.0
77
+ * @version 1.130.0
77
78
  *
78
79
  * @constructor
79
80
  * @public
@@ -86,7 +87,8 @@ function(
86
87
  interfaces : [
87
88
  "sap.ui.core.IFormContent",
88
89
  "sap.ui.core.ISemanticFormContent",
89
- "sap.m.IToolbarInteractiveControl"
90
+ "sap.m.IToolbarInteractiveControl",
91
+ "sap.ui.core.ILabelable"
90
92
  ],
91
93
  library: "sap.m",
92
94
  properties: {
@@ -1219,6 +1221,16 @@ function(
1219
1221
  return this.getId() + "-inner";
1220
1222
  };
1221
1223
 
1224
+ /**
1225
+ * Returns if the control can be bound to a label
1226
+ *
1227
+ * @returns {boolean} <code>true</code> if the control can be bound to a label
1228
+ * @public
1229
+ */
1230
+ InputBase.prototype.hasLabelableHTMLElement = function () {
1231
+ return true;
1232
+ };
1233
+
1222
1234
  /**
1223
1235
  * @see sap.ui.core.Control#getAccessibilityInfo
1224
1236
  * @returns {sap.ui.core.AccessibilityInfo} The accessibility information for this <code>InputBase</code>
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.128.0
33
+ * @version 1.130.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -52,7 +52,13 @@ sap.ui.define([
52
52
  * This property specifies the label text directionality with enumerated options. By default, the label inherits text direction from the DOM.
53
53
  * @since 1.30.0
54
54
  */
55
- labelTextDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit}
55
+ labelTextDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
56
+
57
+ /**
58
+ * Determines how much space is allocated for the input control.
59
+ * @since 1.130
60
+ */
61
+ contentSize: {type : "sap.m.InputListItemContentSize", group : "Appearance", defaultValue : library.InputListItemContentSize.L}
56
62
  },
57
63
  defaultAggregation : "content",
58
64
  aggregations : {
@@ -34,12 +34,18 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
34
34
  };
35
35
 
36
36
  InputListItemRenderer.renderLIContent = function(rm, oLI) {
37
+ rm.openStart("div", oLI.getId() + "-contentWrapper").class("sapMILIContentWrapper");
38
+ rm.class("sapMILIContentWrapper" + oLI.getContentSize());
39
+ rm.openEnd();
40
+ this.renderLabel(rm, oLI);
41
+ this.renderInput(rm, oLI);
42
+ rm.close("div");
43
+ };
37
44
 
38
- // List item label
45
+ InputListItemRenderer.renderLabel = function(rm, oLI) {
39
46
  var sLabel = oLI.getLabel();
40
- var sInnerLabel = oLI.getId() + "-label";
41
47
  if (sLabel) {
42
- rm.openStart("span", sInnerLabel);
48
+ rm.openStart("span", oLI.getId() + "-label");
43
49
  rm.class("sapMILILabel");
44
50
 
45
51
  var sLabelDir = oLI.getLabelTextDirection();
@@ -51,18 +57,22 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
51
57
  rm.text(sLabel);
52
58
  rm.close("span");
53
59
  }
60
+ };
54
61
 
62
+ InputListItemRenderer.renderInput = function(rm, oLI) {
55
63
  rm.openStart("div").class("sapMILIDiv").class("sapMILI-CTX").openEnd();
56
64
  oLI.getContent().forEach(function(oControl) {
57
- if (oControl.addAriaLabelledBy && oControl.getAriaLabelledBy().indexOf(sInnerLabel) === -1) {
58
- oControl.addAriaLabelledBy(sInnerLabel);
65
+ if (oControl.addAriaLabelledBy) {
66
+ const sInnerLabel = oLI.getId() + "-label";
67
+ if (oControl.getAriaLabelledBy().indexOf(sInnerLabel) === -1) {
68
+ oControl.addAriaLabelledBy(sInnerLabel);
69
+ }
59
70
  }
60
71
  rm.renderControl(oControl);
61
72
  });
62
73
  rm.close("div");
63
74
  };
64
75
 
65
-
66
76
  return InputListItemRenderer;
67
77
 
68
78
  }, /* bExport= */ true);
@@ -75,10 +75,10 @@ function(
75
75
  * <li> It is not recommended to use labels in Bold.</li>
76
76
  * </ul>
77
77
  * @extends sap.ui.core.Control
78
- * @implements sap.ui.core.Label, sap.ui.core.IShrinkable, sap.ui.core.IAccessKeySupport
78
+ * @implements sap.ui.core.Label, sap.ui.core.IShrinkable, sap.ui.core.IAccessKeySupport, sap.ui.core.ILabelable
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.128.0
81
+ * @version 1.130.0
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -94,7 +94,8 @@ function(
94
94
  "sap.m.IOverflowToolbarContent",
95
95
  "sap.m.IToolbarInteractiveControl",
96
96
  "sap.m.IHyphenation",
97
- "sap.ui.core.IAccessKeySupport"
97
+ "sap.ui.core.IAccessKeySupport",
98
+ "sap.ui.core.ILabelable"
98
99
  ],
99
100
  library : "sap.m",
100
101
  properties : {
@@ -335,6 +336,16 @@ function(
335
336
  return false;
336
337
  };
337
338
 
339
+ /**
340
+ * Returns if the control can be bound to a label
341
+ *
342
+ * @returns {boolean} <code>true</code> if the control can be bound to a label
343
+ * @public
344
+ */
345
+ Label.prototype.hasLabelableHTMLElement = function () {
346
+ return false;
347
+ };
348
+
338
349
  // enrich Label functionality
339
350
  LabelEnablement.enrich(Label.prototype);
340
351
  HyphenationSupport.mixInto(Label.prototype);
@@ -12,6 +12,8 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
12
12
  // shortcut for sap.ui.core.TextDirection
13
13
  var TextDirection = coreLibrary.TextDirection;
14
14
 
15
+ const TextAlign = coreLibrary.TextAlign;
16
+
15
17
  // shortcut for sap.ui.core.VerticalAlign
16
18
  var VerticalAlign = coreLibrary.VerticalAlign;
17
19
 
@@ -36,8 +38,7 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
36
38
  */
37
39
  LabelRenderer.render = function(rm, oLabel){
38
40
  // convenience variable
39
- var r = LabelRenderer,
40
- sTextDir = oLabel.getTextDirection(),
41
+ var sTextDir = oLabel.getTextDirection(),
41
42
  sTextAlign = oLabel.getTextAlign(),
42
43
  sWidth = oLabel.getWidth(),
43
44
  sLabelText = oLabel.getText(),
@@ -89,9 +90,10 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
89
90
 
90
91
  // style for text alignment
91
92
  if (sTextAlign) {
92
- sTextAlign = r.getTextAlign(sTextAlign, sTextDir);
93
- if (sTextAlign) {
94
- rm.style("text-align", sTextAlign);
93
+ const sActualTextAlign = LabelRenderer.getTextAlign(sTextAlign, sTextDir);
94
+
95
+ if (sActualTextAlign) {
96
+ rm.style("text-align", sActualTextAlign);
95
97
  }
96
98
  }
97
99
 
@@ -115,6 +117,19 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
115
117
 
116
118
  rm.openEnd();
117
119
 
120
+ rm.openStart("div").class("sapMLabelInner");
121
+
122
+ // style for text alignment
123
+ if (sTextAlign) {
124
+ const sJustifyContent = LabelRenderer.textAlignToJustifyContent(sTextAlign);
125
+
126
+ if (sJustifyContent) {
127
+ rm.style("justify-content", sJustifyContent);
128
+ }
129
+ }
130
+
131
+ rm.openEnd();
132
+
118
133
  // wrap the label text
119
134
  rm.openStart("span", oLabel.getId() + "-text");
120
135
  rm.class("sapMLabelTextWrapper");
@@ -154,6 +169,8 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
154
169
  rm.openEnd();
155
170
  rm.close("span");
156
171
 
172
+ rm.close("div");
173
+
157
174
  rm.close(sHtmlTagToRender);
158
175
  };
159
176
 
@@ -164,6 +181,32 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
164
181
  */
165
182
  LabelRenderer.getTextAlign = Renderer.getTextAlign;
166
183
 
184
+ LabelRenderer.textAlignToJustifyContent = function (sTextAlign) {
185
+ let sJustifyContent;
186
+
187
+ switch (sTextAlign) {
188
+ case TextAlign.Begin:
189
+ sJustifyContent = "flex-start";
190
+ break;
191
+ case TextAlign.End:
192
+ sJustifyContent = "flex-end";
193
+ break;
194
+ case TextAlign.Left:
195
+ sJustifyContent = "left";
196
+ break;
197
+ case TextAlign.Right:
198
+ sJustifyContent = "right";
199
+ break;
200
+ case TextAlign.Center:
201
+ sJustifyContent = "center";
202
+ break;
203
+ default:
204
+ sJustifyContent = "";
205
+ }
206
+
207
+ return sJustifyContent;
208
+ };
209
+
167
210
  return LabelRenderer;
168
211
 
169
212
  }, /* bExport= */ true);
@@ -96,7 +96,7 @@ sap.ui.define([
96
96
  * @extends sap.ui.core.Control
97
97
  *
98
98
  * @author SAP SE
99
- * @version 1.128.0
99
+ * @version 1.130.0
100
100
  *
101
101
  * @constructor
102
102
  * @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.128.0
46
+ * @version 1.130.0
47
47
  *
48
48
  * @constructor
49
49
  * @public
package/src/sap/m/Link.js CHANGED
@@ -91,15 +91,16 @@ function(
91
91
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/link/ Link}
92
92
  *
93
93
  * @extends sap.ui.core.Control
94
- * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.ui.core.ITitleContent, sap.ui.core.IAccessKeySupport
94
+ * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.ui.core.ITitleContent, sap.ui.core.IAccessKeySupport, sap.ui.core.ILabelable
95
95
  *
96
96
  * @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
97
97
  * @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
98
98
  * @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
99
99
  * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
100
+ * @borrows sap.ui.core.ILabelable.hasLabelableHTMLElement as #hasLabelableHTMLElement
100
101
  *
101
102
  * @author SAP SE
102
- * @version 1.128.0
103
+ * @version 1.130.0
103
104
  *
104
105
  * @constructor
105
106
  * @public
@@ -115,7 +116,8 @@ function(
115
116
  "sap.ui.core.ISemanticFormContent",
116
117
  "sap.ui.core.ITitleContent",
117
118
  "sap.ui.core.IAccessKeySupport",
118
- "sap.m.IToolbarInteractiveControl"
119
+ "sap.m.IToolbarInteractiveControl",
120
+ "sap.ui.core.ILabelable"
119
121
  ],
120
122
  library : "sap.m",
121
123
  designtime: "sap/m/designtime/Link.designtime",
@@ -356,14 +358,18 @@ function(
356
358
 
357
359
  Link.prototype.onAfterRendering = function() {
358
360
  if (Device.system.phone || Device.system.tablet) {
359
- var oAnchorElement = this.getDomRef();
361
+ var oAnchorElement = this.getDomRef(),
362
+ sEventID = Device.browser.safari ? "touchstart" : "click";
363
+
360
364
  // TODO: Adjust sap.m.internal.ObjectMarkerCustomLink rendering part of the sap.m.ObjectMarker implementation
361
365
  if (!oAnchorElement) {
362
366
  return;
363
367
  }
364
- oAnchorElement.removeEventListener("click", this._onClick);
365
- if (oAnchorElement.getAttribute("href") == "#") {
366
- oAnchorElement.addEventListener("click", this._onClick);
368
+
369
+ oAnchorElement.removeEventListener(sEventID, this._onClick);
370
+
371
+ if (oAnchorElement.getAttribute("href") === "#") {
372
+ oAnchorElement.addEventListener(sEventID, this._onClick);
367
373
  }
368
374
  }
369
375
  };
@@ -373,11 +379,14 @@ function(
373
379
  oEndIcon = this.getAggregation("_endIcon");
374
380
 
375
381
  if (Device.system.phone || Device.system.tablet) {
376
- var oAnchorElement = this.getDomRef();
382
+ var oAnchorElement = this.getDomRef(),
383
+ sEventID = Device.browser.safari ? "touchstart" : "click";
384
+
377
385
  if (!oAnchorElement) {
378
386
  return;
379
387
  }
380
- oAnchorElement.removeEventListener("click", this._onClick);
388
+
389
+ oAnchorElement.removeEventListener(sEventID, this._onClick);
381
390
  }
382
391
 
383
392
  if (oIcon) {
@@ -706,6 +715,16 @@ function(
706
715
  return oIcon;
707
716
  };
708
717
 
718
+ /**
719
+ * Returns if the control can be bound to a label
720
+ *
721
+ * @returns {boolean} <code>true</code> if the control can be bound to a label
722
+ * @public
723
+ */
724
+ Link.prototype.hasLabelableHTMLElement = function () {
725
+ return false;
726
+ };
727
+
709
728
  return Link;
710
729
 
711
730
  });
@@ -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.128.0
21
+ * @version 1.130.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.128.0
33
+ * @version 1.130.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -103,7 +103,7 @@ function(
103
103
  * @extends sap.ui.core.Control
104
104
  *
105
105
  * @author SAP SE
106
- * @version 1.128.0
106
+ * @version 1.130.0
107
107
  *
108
108
  * @constructor
109
109
  * @public
@@ -2747,14 +2747,19 @@ function(
2747
2747
  return this;
2748
2748
  };
2749
2749
 
2750
- // Returns the sticky value to be added to the sticky table container.
2751
- // sapMSticky7 is the result of sticky headerToolbar, infoToolbar and column headers.
2752
- // sapMSticky6 is the result of sticky infoToolbar and column headers.
2753
- // sapMSticky5 is the result of sticky headerToolbar and column headers.
2754
- // sapMSticky4 is the result of sticky column headers only.
2755
- // sapMSticky3 is the result of sticky headerToolbar and infoToolbar.
2756
- // sapMSticky2 is the result of sticky infoToolbar.
2757
- // sapMSticky1 is the result of sticky headerToolbar.
2750
+ /**
2751
+ * Returns the sticky value that is added to the sticky table container.
2752
+ *
2753
+ * Numeric values for each possible sticky element:
2754
+ * 1 - <code>headerToolbar</code>
2755
+ * 2 - <code>infoToolbar</code>
2756
+ * 4 - <code>columnHeaders</code>
2757
+ * 8 - <code>groupHeaders</code>
2758
+ *
2759
+ * The sticky value is created by adding up the values of the individual elements.
2760
+ * For example, sapMSticky15 (1 + 2 + 4 + 8) corresponds to sticky <code>headerToolbar</code>, <code>infoToolbar</code>, <code>columnHeaders</code>, and <code>groupHeaders</code>.
2761
+ * @returns {number} The sticky value
2762
+ */
2758
2763
  ListBase.prototype.getStickyStyleValue = function() {
2759
2764
  var aSticky = this.getSticky();
2760
2765
  if (!aSticky || !aSticky.length) {
@@ -2768,7 +2773,8 @@ function(
2768
2773
  bHeaderToolbarVisible = sHeaderText || (oHeaderToolbar && oHeaderToolbar.getVisible()),
2769
2774
  oInfoToolbar = this.getInfoToolbar(),
2770
2775
  bInfoToolbar = oInfoToolbar && oInfoToolbar.getVisible(),
2771
- bColumnHeadersVisible = false;
2776
+ bColumnHeadersVisible = false,
2777
+ bGroupHeaders = false;
2772
2778
 
2773
2779
  if (this.isA("sap.m.Table")) {
2774
2780
  bColumnHeadersVisible = this.getColumns().some(function(oColumn) {
@@ -2776,6 +2782,10 @@ function(
2776
2782
  });
2777
2783
  }
2778
2784
 
2785
+ bGroupHeaders = this.getItems(true).some((oItem) => {
2786
+ return oItem.isGroupHeader();
2787
+ });
2788
+
2779
2789
  aSticky.forEach(function(sSticky) {
2780
2790
  if (sSticky === Sticky.HeaderToolbar && bHeaderToolbarVisible) {
2781
2791
  iStickyValue += 1;
@@ -2783,6 +2793,8 @@ function(
2783
2793
  iStickyValue += 2;
2784
2794
  } else if (sSticky === Sticky.ColumnHeaders && bColumnHeadersVisible) {
2785
2795
  iStickyValue += 4;
2796
+ } else if (sSticky === Sticky.GroupHeaders && bGroupHeaders) {
2797
+ iStickyValue += 8;
2786
2798
  }
2787
2799
  });
2788
2800
 
@@ -2801,8 +2813,10 @@ function(
2801
2813
  return;
2802
2814
  }
2803
2815
 
2804
- // check the all the sticky element and get their height
2805
- var iTHRectHeight = 0,
2816
+ // check the all the sticky elements and get their height
2817
+ var iGHRectHeight = 0,
2818
+ iGHRectBottom = 0,
2819
+ iTHRectHeight = 0,
2806
2820
  iTHRectBottom = 0,
2807
2821
  iInfoTBarContainerRectHeight = 0,
2808
2822
  iInfoTBarContainerRectBottom = 0,
@@ -2810,6 +2824,15 @@ function(
2810
2824
  iHeaderToolbarRectBottom = 0,
2811
2825
  iStickyFocusOffset = this.getStickyFocusOffset();
2812
2826
 
2827
+ if (this._iStickyValue & 8 /* GroupHeaders */) {
2828
+ var oGroupHeaderDomRef = this.getItems(true).find((oItem) => {
2829
+ return oItem.isGroupHeader();
2830
+ }).getDomRef();
2831
+ var oGroupHeaderRect = oGroupHeaderDomRef.getBoundingClientRect();
2832
+ iGHRectBottom = parseInt(oGroupHeaderRect.bottom);
2833
+ iGHRectHeight = parseInt(oGroupHeaderRect.height);
2834
+ }
2835
+
2813
2836
  if (this._iStickyValue & 4 /* ColumnHeaders */) {
2814
2837
  var oTblHeaderDomRef = this.getDomRef("tblHeader").firstChild;
2815
2838
  var oTblHeaderRect = oTblHeaderDomRef.getBoundingClientRect();
@@ -2837,9 +2860,9 @@ function(
2837
2860
  }
2838
2861
 
2839
2862
  var iItemTop = Math.round(oTargetItemDomRef.getBoundingClientRect().top);
2840
- if (iTHRectBottom > iItemTop || iInfoTBarContainerRectBottom > iItemTop || iHeaderToolbarRectBottom > iItemTop) {
2863
+ if (iGHRectBottom > iItemTop || iTHRectBottom > iItemTop || iInfoTBarContainerRectBottom > iItemTop || iHeaderToolbarRectBottom > iItemTop) {
2841
2864
  window.requestAnimationFrame(function () {
2842
- oScrollDelegate.scrollToElement(oTargetItemDomRef, 0, [0, -iTHRectHeight - iInfoTBarContainerRectHeight - iHeaderToolbarRectHeight - iStickyFocusOffset], true);
2865
+ oScrollDelegate.scrollToElement(oTargetItemDomRef, 0, [0, -iGHRectHeight - iTHRectHeight - iInfoTBarContainerRectHeight - iHeaderToolbarRectHeight - iStickyFocusOffset], true);
2843
2866
  });
2844
2867
  }
2845
2868
  };
@@ -2989,15 +3012,21 @@ function(
2989
3012
  switch (stickyOption) {
2990
3013
  case Sticky.HeaderToolbar:
2991
3014
  oControl = this.getHeaderToolbar();
2992
- oDomRef = oControl && oControl.getDomRef() || this.getDomRef("header");
3015
+ oDomRef = oControl?.getDomRef() || this.getDomRef("header");
2993
3016
  break;
2994
3017
  case Sticky.InfoToolbar:
2995
3018
  oControl = this.getInfoToolbar();
2996
- oDomRef = oControl && oControl.getDomRef();
3019
+ oDomRef = oControl?.getDomRef();
2997
3020
  break;
2998
3021
  case Sticky.ColumnHeaders:
2999
3022
  oDomRef = this.getDomRef("tblHeader");
3000
3023
  break;
3024
+ case Sticky.GroupHeaders:
3025
+ //get domRef which is in view currently (Multiple groupHeaders)
3026
+ oDomRef = this.getItems(true).find((oItem) => {
3027
+ return oItem.isGroupHeader();
3028
+ })?.getDomRef();
3029
+ break;
3001
3030
  default:
3002
3031
  }
3003
3032
 
@@ -72,7 +72,7 @@ function(
72
72
  * @extends sap.ui.core.Control
73
73
  *
74
74
  * @author SAP SE
75
- * @version 1.128.0
75
+ * @version 1.130.0
76
76
  *
77
77
  * @constructor
78
78
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * Applies mask support for input controls.
29
29
  * It should should be applied to the prototype of a <code>sap.m.InputBase</code>.
30
30
  *
31
- * @version 1.128.0
31
+ * @version 1.130.0
32
32
  * @private
33
33
  * @mixin
34
34
  * @alias sap.m.MaskEnabler
@@ -29,7 +29,7 @@ sap.ui.define(['./InputBase', './MaskEnabler', './MaskInputRenderer'], function(
29
29
  *
30
30
  * @author SAP SE
31
31
  * @extends sap.m.InputBase
32
- * @version 1.128.0
32
+ * @version 1.130.0
33
33
  *
34
34
  * @constructor
35
35
  * @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.128.0
23
+ * @version 1.130.0
24
24
  * @public
25
25
  * @constructor
26
26
  * @since 1.34.0