@openui5/sap.m 1.101.0 → 1.103.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 (473) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +2 -1
  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 +4 -4
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/App.js +1 -1
  9. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  10. package/src/sap/m/Avatar.js +1 -1
  11. package/src/sap/m/Bar.js +12 -22
  12. package/src/sap/m/BarInPageEnabler.js +1 -1
  13. package/src/sap/m/Breadcrumbs.js +29 -4
  14. package/src/sap/m/BusyDialog.js +1 -1
  15. package/src/sap/m/BusyIndicator.js +1 -1
  16. package/src/sap/m/Button.js +4 -4
  17. package/src/sap/m/Carousel.js +1 -1
  18. package/src/sap/m/CarouselLayout.js +1 -1
  19. package/src/sap/m/CheckBox.js +1 -1
  20. package/src/sap/m/ColorPalette.js +13 -1
  21. package/src/sap/m/ColorPalettePopover.js +1 -1
  22. package/src/sap/m/Column.js +10 -1
  23. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  24. package/src/sap/m/ColumnListItem.js +1 -1
  25. package/src/sap/m/ColumnListItemRenderer.js +6 -2
  26. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  31. package/src/sap/m/ComboBox.js +22 -2
  32. package/src/sap/m/ComboBoxBase.js +7 -7
  33. package/src/sap/m/ComboBoxTextField.js +1 -1
  34. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  35. package/src/sap/m/CustomListItem.js +1 -1
  36. package/src/sap/m/CustomTile.js +1 -1
  37. package/src/sap/m/CustomTreeItem.js +1 -1
  38. package/src/sap/m/DatePicker.js +25 -7
  39. package/src/sap/m/DateRangeSelection.js +5 -5
  40. package/src/sap/m/DateTimeField.js +22 -10
  41. package/src/sap/m/DateTimeInput.js +1 -1
  42. package/src/sap/m/DateTimePicker.js +22 -10
  43. package/src/sap/m/DateTimePickerRenderer.js +1 -1
  44. package/src/sap/m/Dialog.js +4 -11
  45. package/src/sap/m/DialogRenderer.js +1 -1
  46. package/src/sap/m/DisplayListItem.js +1 -1
  47. package/src/sap/m/DraftIndicator.js +1 -1
  48. package/src/sap/m/DynamicDate.js +1 -1
  49. package/src/sap/m/DynamicDateFormat.js +72 -18
  50. package/src/sap/m/DynamicDateOption.js +1 -1
  51. package/src/sap/m/DynamicDateRange.js +105 -26
  52. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  53. package/src/sap/m/ExpandableText.js +1 -1
  54. package/src/sap/m/FacetFilter.js +36 -28
  55. package/src/sap/m/FacetFilterItem.js +1 -1
  56. package/src/sap/m/FacetFilterList.js +1 -1
  57. package/src/sap/m/FeedContent.js +1 -1
  58. package/src/sap/m/FeedInput.js +1 -1
  59. package/src/sap/m/FeedListItem.js +1 -1
  60. package/src/sap/m/FeedListItemAction.js +1 -1
  61. package/src/sap/m/Fiori20Adapter.js +2 -2
  62. package/src/sap/m/FlexBox.js +1 -1
  63. package/src/sap/m/FlexItemData.js +2 -2
  64. package/src/sap/m/FormattedText.js +10 -10
  65. package/src/sap/m/GenericTag.js +5 -5
  66. package/src/sap/m/GenericTile.js +98 -16
  67. package/src/sap/m/GenericTileLineModeRenderer.js +3 -1
  68. package/src/sap/m/GenericTileRenderer.js +98 -62
  69. package/src/sap/m/GroupHeaderListItem.js +1 -1
  70. package/src/sap/m/GrowingEnablement.js +171 -95
  71. package/src/sap/m/GrowingList.js +1 -1
  72. package/src/sap/m/HBox.js +1 -1
  73. package/src/sap/m/HeaderContainer.js +50 -65
  74. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  75. package/src/sap/m/IconTabBar.js +3 -2
  76. package/src/sap/m/IconTabBarSelectList.js +1 -1
  77. package/src/sap/m/IconTabFilter.js +4 -4
  78. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  79. package/src/sap/m/IconTabHeader.js +8 -2
  80. package/src/sap/m/IconTabSeparator.js +1 -1
  81. package/src/sap/m/IllustratedMessage.js +1 -1
  82. package/src/sap/m/Illustration.js +1 -1
  83. package/src/sap/m/Image.js +1 -1
  84. package/src/sap/m/ImageContent.js +1 -1
  85. package/src/sap/m/Input.js +2 -14
  86. package/src/sap/m/InputBase.js +16 -9
  87. package/src/sap/m/InputListItem.js +1 -1
  88. package/src/sap/m/InstanceManager.js +14 -19
  89. package/src/sap/m/Label.js +1 -1
  90. package/src/sap/m/LightBox.js +1 -1
  91. package/src/sap/m/LightBoxItem.js +1 -1
  92. package/src/sap/m/Link.js +1 -1
  93. package/src/sap/m/List.js +1 -1
  94. package/src/sap/m/ListBase.js +17 -16
  95. package/src/sap/m/ListItemBase.js +5 -4
  96. package/src/sap/m/MaskEnabler.js +1 -1
  97. package/src/sap/m/MaskInput.js +1 -1
  98. package/src/sap/m/MaskInputRenderer.js +10 -0
  99. package/src/sap/m/MaskInputRule.js +1 -1
  100. package/src/sap/m/Menu.js +1 -1
  101. package/src/sap/m/MenuButton.js +2 -1
  102. package/src/sap/m/MenuItem.js +1 -1
  103. package/src/sap/m/MenuListItem.js +3 -3
  104. package/src/sap/m/MessageBox.js +1020 -908
  105. package/src/sap/m/MessageItem.js +1 -1
  106. package/src/sap/m/MessageListItem.js +1 -1
  107. package/src/sap/m/MessagePage.js +1 -1
  108. package/src/sap/m/MessagePopover.js +1 -1
  109. package/src/sap/m/MessagePopoverItem.js +1 -1
  110. package/src/sap/m/MessageStrip.js +1 -1
  111. package/src/sap/m/MessageToast.js +1 -1
  112. package/src/sap/m/MessageView.js +1 -1
  113. package/src/sap/m/MultiComboBox.js +4 -4
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +15 -10
  116. package/src/sap/m/NavContainer.js +4 -4
  117. package/src/sap/m/NewsContent.js +1 -1
  118. package/src/sap/m/NotificationList.js +1 -1
  119. package/src/sap/m/NotificationListBase.js +175 -79
  120. package/src/sap/m/NotificationListGroup.js +1 -2
  121. package/src/sap/m/NotificationListGroupRenderer.js +4 -16
  122. package/src/sap/m/NotificationListItem.js +5 -16
  123. package/src/sap/m/NotificationListItemRenderer.js +0 -1
  124. package/src/sap/m/NumericContent.js +1 -1
  125. package/src/sap/m/NumericInput.js +1 -1
  126. package/src/sap/m/ObjectAttribute.js +14 -1
  127. package/src/sap/m/ObjectAttributeRenderer.js +5 -4
  128. package/src/sap/m/ObjectHeader.js +4 -4
  129. package/src/sap/m/ObjectHeaderRenderer.js +11 -11
  130. package/src/sap/m/ObjectIdentifier.js +3 -3
  131. package/src/sap/m/ObjectListItem.js +1 -1
  132. package/src/sap/m/ObjectMarker.js +7 -4
  133. package/src/sap/m/ObjectNumber.js +1 -1
  134. package/src/sap/m/ObjectStatus.js +1 -1
  135. package/src/sap/m/OverflowToolbar.js +51 -12
  136. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  137. package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
  138. package/src/sap/m/OverflowToolbarButton.js +1 -1
  139. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  140. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  141. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  142. package/src/sap/m/P13nColumnsItem.js +1 -1
  143. package/src/sap/m/P13nColumnsPanel.js +1 -1
  144. package/src/sap/m/P13nConditionPanel.js +32 -35
  145. package/src/sap/m/P13nDialog.js +3 -1
  146. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  147. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  148. package/src/sap/m/P13nFilterItem.js +1 -1
  149. package/src/sap/m/P13nFilterPanel.js +1 -1
  150. package/src/sap/m/P13nGroupItem.js +1 -1
  151. package/src/sap/m/P13nGroupPanel.js +1 -1
  152. package/src/sap/m/P13nItem.js +1 -1
  153. package/src/sap/m/P13nPanel.js +1 -1
  154. package/src/sap/m/P13nSelectionItem.js +1 -1
  155. package/src/sap/m/P13nSelectionPanel.js +1 -1
  156. package/src/sap/m/P13nSortItem.js +1 -1
  157. package/src/sap/m/P13nSortPanel.js +1 -1
  158. package/src/sap/m/PDFViewer.js +1 -1
  159. package/src/sap/m/Page.js +4 -4
  160. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  161. package/src/sap/m/PagingButton.js +1 -1
  162. package/src/sap/m/Panel.js +1 -1
  163. package/src/sap/m/PlanningCalendar.js +1 -1
  164. package/src/sap/m/PlanningCalendarHeader.js +2 -2
  165. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  166. package/src/sap/m/PlanningCalendarRow.js +1 -1
  167. package/src/sap/m/PlanningCalendarView.js +1 -1
  168. package/src/sap/m/Popover.js +3 -3
  169. package/src/sap/m/PopoverRenderer.js +2 -2
  170. package/src/sap/m/ProgressIndicator.js +15 -29
  171. package/src/sap/m/ProgressIndicatorRenderer.js +7 -1
  172. package/src/sap/m/PullToRefresh.js +1 -1
  173. package/src/sap/m/QuickView.js +2 -2
  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 +2 -1
  178. package/src/sap/m/QuickViewPage.js +1 -1
  179. package/src/sap/m/RadioButton.js +2 -2
  180. package/src/sap/m/RadioButtonGroup.js +2 -2
  181. package/src/sap/m/RangeSlider.js +82 -59
  182. package/src/sap/m/RangeSliderRenderer.js +34 -2
  183. package/src/sap/m/RatingIndicator.js +1 -1
  184. package/src/sap/m/ResponsivePopover.js +7 -6
  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 +5 -3
  190. package/src/sap/m/SegmentedButtonItem.js +1 -1
  191. package/src/sap/m/Select.js +31 -8
  192. package/src/sap/m/SelectDialog.js +14 -18
  193. package/src/sap/m/SelectDialogBase.js +1 -1
  194. package/src/sap/m/SelectList.js +8 -8
  195. package/src/sap/m/SelectListRenderer.js +2 -2
  196. package/src/sap/m/SelectRenderer.js +37 -13
  197. package/src/sap/m/SelectionDetails.js +1 -1
  198. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  199. package/src/sap/m/SelectionDetailsItem.js +1 -1
  200. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  201. package/src/sap/m/Shell.js +1 -1
  202. package/src/sap/m/SimpleFixFlex.js +5 -6
  203. package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
  204. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  205. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  206. package/src/sap/m/SinglePlanningCalendarGrid.js +5 -5
  207. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  210. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  212. package/src/sap/m/SlideTile.js +1 -1
  213. package/src/sap/m/Slider.js +14 -5
  214. package/src/sap/m/SliderRenderer.js +27 -2
  215. package/src/sap/m/SliderTooltip.js +1 -1
  216. package/src/sap/m/SliderTooltipBase.js +1 -1
  217. package/src/sap/m/SliderTooltipContainer.js +3 -3
  218. package/src/sap/m/SplitApp.js +1 -1
  219. package/src/sap/m/SplitButton.js +1 -1
  220. package/src/sap/m/SplitContainer.js +3 -11
  221. package/src/sap/m/StandardDynamicDateOption.js +12 -10
  222. package/src/sap/m/StandardListItem.js +3 -3
  223. package/src/sap/m/StandardListItemRenderer.js +1 -1
  224. package/src/sap/m/StandardTile.js +1 -1
  225. package/src/sap/m/StandardTreeItem.js +1 -1
  226. package/src/sap/m/StepInput.js +1 -1
  227. package/src/sap/m/SuggestionItem.js +1 -1
  228. package/src/sap/m/SuggestionsPopover.js +1 -1
  229. package/src/sap/m/Switch.js +1 -1
  230. package/src/sap/m/TabContainer.js +3 -2
  231. package/src/sap/m/TabContainerItem.js +1 -1
  232. package/src/sap/m/TabStrip.js +6 -4
  233. package/src/sap/m/TabStripItem.js +1 -1
  234. package/src/sap/m/Table.js +7 -1
  235. package/src/sap/m/TablePersoController.js +2 -2
  236. package/src/sap/m/TablePersoDialog.js +2 -2
  237. package/src/sap/m/TablePersoProvider.js +2 -2
  238. package/src/sap/m/TableRenderer.js +27 -0
  239. package/src/sap/m/TableSelectDialog.js +13 -9
  240. package/src/sap/m/Text.js +2 -2
  241. package/src/sap/m/TextArea.js +4 -3
  242. package/src/sap/m/TextRenderer.js +2 -0
  243. package/src/sap/m/Tile.js +1 -1
  244. package/src/sap/m/TileContainer.js +6 -6
  245. package/src/sap/m/TileContent.js +26 -14
  246. package/src/sap/m/TileContentRenderer.js +16 -7
  247. package/src/sap/m/TimePicker.js +82 -20
  248. package/src/sap/m/TimePickerClock.js +1 -1
  249. package/src/sap/m/TimePickerClocks.js +1 -1
  250. package/src/sap/m/TimePickerClocksRenderer.js +1 -0
  251. package/src/sap/m/TimePickerInputs.js +1 -1
  252. package/src/sap/m/TimePickerInternals.js +1 -1
  253. package/src/sap/m/TimePickerSlider.js +1 -1
  254. package/src/sap/m/TimePickerSliders.js +1 -1
  255. package/src/sap/m/Title.js +2 -2
  256. package/src/sap/m/TitlePropagationSupport.js +1 -1
  257. package/src/sap/m/ToggleButton.js +1 -1
  258. package/src/sap/m/Token.js +1 -1
  259. package/src/sap/m/Tokenizer.js +14 -3
  260. package/src/sap/m/Toolbar.js +7 -1
  261. package/src/sap/m/ToolbarLayoutData.js +6 -2
  262. package/src/sap/m/ToolbarSeparator.js +1 -1
  263. package/src/sap/m/ToolbarSpacer.js +1 -1
  264. package/src/sap/m/Tree.js +1 -1
  265. package/src/sap/m/TreeItemBase.js +1 -1
  266. package/src/sap/m/UploadCollection.js +5 -5
  267. package/src/sap/m/UploadCollectionItem.js +2 -1
  268. package/src/sap/m/UploadCollectionParameter.js +2 -1
  269. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
  270. package/src/sap/m/VBox.js +1 -1
  271. package/src/sap/m/ValueStateHeader.js +1 -1
  272. package/src/sap/m/VariantManagement.js +2492 -0
  273. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  274. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  275. package/src/sap/m/ViewSettingsDialog.js +4 -4
  276. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  277. package/src/sap/m/ViewSettingsItem.js +1 -1
  278. package/src/sap/m/VisibleItem.js +1 -1
  279. package/src/sap/m/WheelSlider.js +1 -1
  280. package/src/sap/m/WheelSliderContainer.js +1 -1
  281. package/src/sap/m/Wizard.js +1 -1
  282. package/src/sap/m/WizardProgressNavigator.js +1 -2
  283. package/src/sap/m/WizardStep.js +1 -1
  284. package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
  285. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  286. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  287. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  288. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  289. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  290. package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
  291. package/src/sap/m/designtime/messagebundle_de.properties +2 -2
  292. package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
  293. package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
  294. package/src/sap/m/library.js +48 -5
  295. package/src/sap/m/messagebundle.properties +156 -12
  296. package/src/sap/m/messagebundle_ar.properties +103 -7
  297. package/src/sap/m/messagebundle_bg.properties +103 -7
  298. package/src/sap/m/messagebundle_ca.properties +103 -7
  299. package/src/sap/m/messagebundle_cs.properties +105 -9
  300. package/src/sap/m/messagebundle_cy.properties +103 -7
  301. package/src/sap/m/messagebundle_da.properties +103 -7
  302. package/src/sap/m/messagebundle_de.properties +104 -8
  303. package/src/sap/m/messagebundle_el.properties +103 -7
  304. package/src/sap/m/messagebundle_en.properties +103 -7
  305. package/src/sap/m/messagebundle_en_GB.properties +103 -7
  306. package/src/sap/m/messagebundle_en_US_sappsd.properties +103 -7
  307. package/src/sap/m/messagebundle_en_US_saprigi.properties +105 -7
  308. package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -7
  309. package/src/sap/m/messagebundle_es.properties +103 -7
  310. package/src/sap/m/messagebundle_es_MX.properties +103 -7
  311. package/src/sap/m/messagebundle_et.properties +103 -7
  312. package/src/sap/m/messagebundle_fi.properties +103 -7
  313. package/src/sap/m/messagebundle_fr.properties +117 -21
  314. package/src/sap/m/messagebundle_fr_CA.properties +103 -7
  315. package/src/sap/m/messagebundle_hi.properties +103 -7
  316. package/src/sap/m/messagebundle_hr.properties +103 -7
  317. package/src/sap/m/messagebundle_hu.properties +103 -7
  318. package/src/sap/m/messagebundle_id.properties +103 -7
  319. package/src/sap/m/messagebundle_it.properties +110 -14
  320. package/src/sap/m/messagebundle_iw.properties +103 -7
  321. package/src/sap/m/messagebundle_ja.properties +103 -7
  322. package/src/sap/m/messagebundle_kk.properties +103 -7
  323. package/src/sap/m/messagebundle_ko.properties +114 -18
  324. package/src/sap/m/messagebundle_lt.properties +103 -7
  325. package/src/sap/m/messagebundle_lv.properties +103 -7
  326. package/src/sap/m/messagebundle_ms.properties +103 -7
  327. package/src/sap/m/messagebundle_nl.properties +103 -7
  328. package/src/sap/m/messagebundle_no.properties +107 -11
  329. package/src/sap/m/messagebundle_pl.properties +103 -7
  330. package/src/sap/m/messagebundle_pt.properties +112 -16
  331. package/src/sap/m/messagebundle_pt_PT.properties +103 -7
  332. package/src/sap/m/messagebundle_ro.properties +104 -8
  333. package/src/sap/m/messagebundle_ru.properties +103 -7
  334. package/src/sap/m/messagebundle_sh.properties +104 -8
  335. package/src/sap/m/messagebundle_sk.properties +103 -7
  336. package/src/sap/m/messagebundle_sl.properties +105 -9
  337. package/src/sap/m/messagebundle_sv.properties +103 -7
  338. package/src/sap/m/messagebundle_th.properties +103 -7
  339. package/src/sap/m/messagebundle_tr.properties +104 -8
  340. package/src/sap/m/messagebundle_uk.properties +104 -8
  341. package/src/sap/m/messagebundle_vi.properties +103 -7
  342. package/src/sap/m/messagebundle_zh_CN.properties +104 -8
  343. package/src/sap/m/messagebundle_zh_TW.properties +107 -11
  344. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  345. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  346. package/src/sap/m/p13n/BasePanel.js +1 -1
  347. package/src/sap/m/p13n/Container.js +1 -1
  348. package/src/sap/m/p13n/GroupPanel.js +16 -5
  349. package/src/sap/m/p13n/Popup.js +1 -1
  350. package/src/sap/m/p13n/QueryPanel.js +55 -33
  351. package/src/sap/m/p13n/SelectionPanel.js +31 -6
  352. package/src/sap/m/p13n/SortPanel.js +24 -13
  353. package/src/sap/m/plugins/ColumnResizer.js +12 -6
  354. package/src/sap/m/plugins/DataStateIndicator.js +13 -4
  355. package/src/sap/m/plugins/PasteProvider.js +1 -1
  356. package/src/sap/m/plugins/PluginBase.js +2 -2
  357. package/src/sap/m/rules/CheckBox.support.js +1 -1
  358. package/src/sap/m/rules/DatePicker.support.js +4 -3
  359. package/src/sap/m/rules/Image.support.js +1 -1
  360. package/src/sap/m/rules/Link.support.js +1 -1
  361. package/src/sap/m/rules/MessagePage.support.js +1 -1
  362. package/src/sap/m/rules/ObjectHeader.support.js +6 -6
  363. package/src/sap/m/rules/ObjectListItem.support.js +1 -1
  364. package/src/sap/m/rules/ObjectMarker.support.js +1 -1
  365. package/src/sap/m/rules/ObjectStatus.support.js +1 -1
  366. package/src/sap/m/rules/Select.support.js +1 -1
  367. package/src/sap/m/rules/Table.support.js +3 -3
  368. package/src/sap/m/semantic/AddAction.js +1 -1
  369. package/src/sap/m/semantic/CancelAction.js +1 -1
  370. package/src/sap/m/semantic/DeleteAction.js +1 -1
  371. package/src/sap/m/semantic/DetailPage.js +1 -1
  372. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  373. package/src/sap/m/semantic/EditAction.js +1 -1
  374. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  375. package/src/sap/m/semantic/FilterAction.js +1 -1
  376. package/src/sap/m/semantic/FilterSelect.js +1 -1
  377. package/src/sap/m/semantic/FlagAction.js +1 -1
  378. package/src/sap/m/semantic/ForwardAction.js +1 -1
  379. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  380. package/src/sap/m/semantic/GroupAction.js +1 -1
  381. package/src/sap/m/semantic/GroupSelect.js +1 -1
  382. package/src/sap/m/semantic/MainAction.js +1 -1
  383. package/src/sap/m/semantic/MasterPage.js +1 -1
  384. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  385. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  386. package/src/sap/m/semantic/NegativeAction.js +1 -1
  387. package/src/sap/m/semantic/OpenInAction.js +1 -1
  388. package/src/sap/m/semantic/PositiveAction.js +1 -1
  389. package/src/sap/m/semantic/PrintAction.js +1 -1
  390. package/src/sap/m/semantic/SaveAction.js +1 -1
  391. package/src/sap/m/semantic/Segment.js +1 -1
  392. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  393. package/src/sap/m/semantic/SemanticButton.js +1 -1
  394. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  395. package/src/sap/m/semantic/SemanticControl.js +1 -1
  396. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +3 -3
  397. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
  398. package/src/sap/m/semantic/SemanticPage.js +1 -1
  399. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  400. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  401. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  402. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  403. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  404. package/src/sap/m/semantic/ShareMenu.js +1 -1
  405. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  406. package/src/sap/m/semantic/SortAction.js +1 -1
  407. package/src/sap/m/semantic/SortSelect.js +1 -1
  408. package/src/sap/m/table/Util.js +17 -13
  409. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  410. package/src/sap/m/table/columnmenu/Entry.js +1 -11
  411. package/src/sap/m/table/columnmenu/Item.js +1 -1
  412. package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
  413. package/src/sap/m/table/columnmenu/Menu.js +41 -27
  414. package/src/sap/m/table/columnmenu/MenuRenderer.js +4 -3
  415. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
  417. package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
  418. package/src/sap/m/table/columnmenu/QuickGroup.js +2 -11
  419. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -13
  420. package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
  421. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  422. package/src/sap/m/table/columnmenu/QuickTotal.js +2 -22
  423. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -13
  424. package/src/sap/m/themes/base/ActionListItem.less +2 -2
  425. package/src/sap/m/themes/base/Breadcrumbs.less +11 -0
  426. package/src/sap/m/themes/base/Button.less +1 -6
  427. package/src/sap/m/themes/base/Carousel.less +72 -87
  428. package/src/sap/m/themes/base/CheckBox.less +1 -0
  429. package/src/sap/m/themes/base/ColumnListItem.less +0 -3
  430. package/src/sap/m/themes/base/Dialog.less +6 -2
  431. package/src/sap/m/themes/base/GenericTag.less +5 -3
  432. package/src/sap/m/themes/base/GenericTile.less +412 -148
  433. package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
  434. package/src/sap/m/themes/base/InputBase.less +2 -1
  435. package/src/sap/m/themes/base/LightBox.less +6 -16
  436. package/src/sap/m/themes/base/ListItemBase.less +1 -12
  437. package/src/sap/m/themes/base/MenuButton.less +16 -0
  438. package/src/sap/m/themes/base/MessageBox.less +9 -8
  439. package/src/sap/m/themes/base/NewsContent.less +0 -9
  440. package/src/sap/m/themes/base/NotificationListBase.less +9 -14
  441. package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
  442. package/src/sap/m/themes/base/NotificationListItem.less +14 -18
  443. package/src/sap/m/themes/base/ObjectListItem.less +3 -0
  444. package/src/sap/m/themes/base/ObjectNumber.less +5 -0
  445. package/src/sap/m/themes/base/ObjectStatus.less +3 -0
  446. package/src/sap/m/themes/base/Panel.less +1 -1
  447. package/src/sap/m/themes/base/Popover.less +1 -1
  448. package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
  449. package/src/sap/m/themes/base/QuickView.less +14 -2
  450. package/src/sap/m/themes/base/RatingIndicator.less +4 -0
  451. package/src/sap/m/themes/base/Select.less +1 -3
  452. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
  453. package/src/sap/m/themes/base/SlideTile.less +19 -0
  454. package/src/sap/m/themes/base/Slider.less +18 -18
  455. package/src/sap/m/themes/base/StandardListItem.less +6 -9
  456. package/src/sap/m/themes/base/Table.less +22 -21
  457. package/src/sap/m/themes/base/TextArea.less +5 -0
  458. package/src/sap/m/themes/base/TimePickerClock.less +7 -0
  459. package/src/sap/m/themes/base/Title.less +1 -1
  460. package/src/sap/m/themes/base/Token.less +3 -2
  461. package/src/sap/m/themes/base/Toolbar.less +1 -1
  462. package/src/sap/m/themes/base/UploadCollection.less +2 -0
  463. package/src/sap/m/themes/base/VariantManagement.less +97 -0
  464. package/src/sap/m/themes/base/Wizard.less +5 -4
  465. package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
  466. package/src/sap/m/themes/base/library.source.less +1 -0
  467. package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
  468. package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
  469. package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
  470. package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
  471. package/src/sap/m/upload/UploadSet.js +90 -14
  472. package/src/sap/m/upload/UploadSetItem.js +18 -5
  473. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +46 -0
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.m.QuickViewBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.101.0
62
+ * @version 1.103.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -369,7 +369,7 @@ sap.ui.define([
369
369
  /**
370
370
  * Returns the button, which closes the QuickView.
371
371
  * On desktop or tablet, this method returns undefined.
372
- * @returns {sap.ui.core.Control} The close button of the QuickView on phone or undefined on desktop and tablet.
372
+ * @returns {sap.ui.core.Control|undefined} The close button of the QuickView on phone or undefined on desktop and tablet.
373
373
  * @private
374
374
  */
375
375
  QuickView.prototype.getCloseButton = function() {
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.101.0
30
+ * @version 1.103.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.m.QuickViewBase
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.101.0
39
+ * @version 1.103.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.101.0
25
+ * @version 1.103.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.101.0
31
+ * @version 1.103.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -123,6 +123,7 @@ sap.ui.define([
123
123
  * Returns a control that is associated with the label of the group element.
124
124
  * @param {string} sQuickViewPageId The page to which the element navigates when clicked.
125
125
  * @private
126
+ * @returns {sap.m.Link|sap.m.Text|null}
126
127
  */
127
128
  GroupElement.prototype._getGroupElementValue = function (sQuickViewPageId) {
128
129
  if (!this.getValue()) {
@@ -100,7 +100,7 @@ sap.ui.define([
100
100
  * @extends sap.ui.core.Control
101
101
  *
102
102
  * @author SAP SE
103
- * @version 1.101.0
103
+ * @version 1.103.0
104
104
  *
105
105
  * @constructor
106
106
  * @public
@@ -86,7 +86,7 @@ function(
86
86
  * @implements sap.ui.core.IFormContent
87
87
  *
88
88
  * @author SAP SE
89
- * @version 1.101.0
89
+ * @version 1.103.0
90
90
  *
91
91
  * @constructor
92
92
  * @public
@@ -463,7 +463,7 @@ function(
463
463
  * Determines next focusable item
464
464
  *
465
465
  * @param {enum} sNavigation any item from KH_NAVIGATION
466
- * @returns {RadioButton} Control instance for method chaining
466
+ * @returns {sap.m.RadioButton} Next focusable radio button
467
467
  * @private
468
468
  */
469
469
  RadioButton.prototype._getNextFocusItem = function(sNavigation) {
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @implements sap.ui.core.IFormContent
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.101.0
60
+ * @version 1.103.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -472,7 +472,7 @@ sap.ui.define([
472
472
  * Removes all radio buttons.
473
473
  *
474
474
  * @public
475
- * @returns {Array} Array of removed buttons or null.
475
+ * @returns {sap.m.RadioButton[]} Array of removed buttons.
476
476
  */
477
477
  RadioButtonGroup.prototype.removeAllButtons = function () {
478
478
  if (!this._bUpdateButtons) {
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.m.Slider
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.101.0
54
+ * @version 1.103.0
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -76,7 +76,28 @@ sap.ui.define([
76
76
  *
77
77
  * If the value is lower/higher than the allowed minimum/maximum, a warning message will be output to the console.
78
78
  */
79
- range: {type: "float[]", group: "Data", defaultValue: [0,100]}
79
+ range: {type: "float[]", group: "Data", defaultValue: [0,100]},
80
+
81
+ /**
82
+ * Stores positioning info regarding progress element DOM
83
+ *
84
+ * @private
85
+ */
86
+ progressBarSize: { type: "object", visibility: "hidden" },
87
+
88
+ /**
89
+ * Identifies if start handle is pressed
90
+ *
91
+ * @private
92
+ */
93
+ startHandlePressed: { type: "boolean", visibility: "hidden" },
94
+
95
+ /**
96
+ * Identifies if end handle is pressed
97
+ *
98
+ * @private
99
+ */
100
+ endHandlePressed: { type: "boolean", visibility: "hidden" }
80
101
  },
81
102
  designtime: "sap/m/designtime/RangeSlider.designtime"
82
103
  }
@@ -155,6 +176,8 @@ sap.ui.define([
155
176
  this._storeTooltipsMetadata();
156
177
  }
157
178
 
179
+ this._recalculateRange();
180
+
158
181
  // At this point it's certain that all setters are executed and values of
159
182
  // min, max, value, value2 and range are set properly and are not using the Default values.
160
183
  // It's important however to keep the slider values within the boundaries defined by min and max.
@@ -207,8 +230,6 @@ sap.ui.define([
207
230
  if (!this._mHandleTooltip.end.tooltip) {
208
231
  this._mHandleTooltip.end.tooltip = aTooltips[1];
209
232
  }
210
-
211
- this._mHandleTooltip.bTooltipsSwapped = false; // Reset tooltips swapping
212
233
  };
213
234
 
214
235
  /**
@@ -216,26 +237,23 @@ sap.ui.define([
216
237
  * @private
217
238
  */
218
239
  RangeSlider.prototype._recalculateRange = function () {
219
- var aHandlesLeftOffset, sStart, sEnd, oProgressIndicator,
220
- sSide = this._bRTL ? "right" : "left";
240
+ var aHandlesLeftOffset,
241
+ fValue = this.getValue(),
242
+ fValue2 = this.getValue2(),
243
+ sStart, sEnd;
221
244
 
222
245
  aHandlesLeftOffset = [
223
- parseFloat(this._mHandleTooltip.start.handle.style[sSide]),
224
- parseFloat(this._mHandleTooltip.end.handle.style[sSide])
246
+ this._getPercentOfValue(this._bRTL ? fValue2 : fValue),
247
+ this._getPercentOfValue(this._bRTL ? fValue : fValue2)
225
248
  ];
226
249
 
227
250
  sStart = Math.min.apply(Math, aHandlesLeftOffset) + "%";
228
251
  sEnd = (100 - Math.max.apply(Math, aHandlesLeftOffset)) + "%";
229
252
 
230
- oProgressIndicator = this.getDomRef("progress");
231
-
232
- if (this._bRTL) {
233
- oProgressIndicator.style.left = sEnd;
234
- oProgressIndicator.style.right = sStart;
235
- } else {
236
- oProgressIndicator.style.left = sStart;
237
- oProgressIndicator.style.right = sEnd;
238
- }
253
+ this.setProperty("progressBarSize", {
254
+ left: this._bRTL ? sEnd : sStart,
255
+ right: this._bRTL ? sStart : sEnd
256
+ });
239
257
  };
240
258
 
241
259
  /**
@@ -300,8 +318,6 @@ sap.ui.define([
300
318
  this._updateTooltipContent(oTooltip, fValue);
301
319
  this._adjustTooltipsContainer();
302
320
  }
303
-
304
- this._recalculateRange();
305
321
  };
306
322
 
307
323
  RangeSlider.prototype._updateHandleDom = function (oHandle, aRange, iIndex, sValue, fPercentVal) {
@@ -419,9 +435,10 @@ sap.ui.define([
419
435
 
420
436
  RangeSlider.prototype._swapTooltips = function (aRange) {
421
437
  var oTempTooltip = this._mHandleTooltip.start.tooltip;
438
+ var bShouldSwapTooltipsToTheRight = aRange[0] >= aRange[1] && !this._mHandleTooltip.bTooltipsSwapped;
439
+ var bShouldRevertTooltipsSwapping = (aRange[0] < aRange[1]) && this._mHandleTooltip.bTooltipsSwapped;
422
440
 
423
- if ((aRange[0] >= aRange[1] && !this._mHandleTooltip.bTooltipsSwapped) ||
424
- (aRange[0] <= aRange[1] && this._mHandleTooltip.bTooltipsSwapped)) {
441
+ if (bShouldSwapTooltipsToTheRight || bShouldRevertTooltipsSwapping) {
425
442
  this._mHandleTooltip.start.tooltip = this._mHandleTooltip.end.tooltip;
426
443
  this._mHandleTooltip.end.tooltip = oTempTooltip;
427
444
 
@@ -434,7 +451,14 @@ sap.ui.define([
434
451
  this._mHandleTooltip.end.handle.setAttribute("aria-controls", this._mHandleTooltip.end.tooltip.getId());
435
452
  }
436
453
 
437
- this._mHandleTooltip.bTooltipsSwapped = !this._mHandleTooltip.bTooltipsSwapped;
454
+ if (bShouldRevertTooltipsSwapping) {
455
+ this._mHandleTooltip.bTooltipsSwapped = false;
456
+ }
457
+
458
+ if (bShouldSwapTooltipsToTheRight) {
459
+ this._mHandleTooltip.bTooltipsSwapped = true;
460
+ }
461
+
438
462
  }
439
463
  };
440
464
 
@@ -483,7 +507,7 @@ sap.ui.define([
483
507
  * @private
484
508
  * @ui5-restricted sap.m.SliderTooltipBase
485
509
  */
486
- RangeSlider.prototype.updateTooltipsPositionAndState = function (oTooltip, fValue) {
510
+ RangeSlider.prototype.updateTooltipsPositionAndState = function (oTooltip, fValue, bPreventStateUpdate) {
487
511
  var oHandle, oActiveTooltip,
488
512
  bTooltipsInitialPositionTouched = this._mHandleTooltip.bTooltipsSwapped;
489
513
 
@@ -501,7 +525,10 @@ sap.ui.define([
501
525
  oActiveTooltip.focus();
502
526
  }
503
527
 
504
- this._fireChangeAndLiveChange({ range: this.getRange() });
528
+ if (!bPreventStateUpdate) {
529
+ this._fireChangeAndLiveChange({ range: this.getRange() });
530
+ }
531
+
505
532
  this.updateAdvancedTooltipDom();
506
533
  };
507
534
 
@@ -529,10 +556,6 @@ sap.ui.define([
529
556
 
530
557
  this._updateRangePropertyDependencies(aRange);
531
558
 
532
- if (this._updateDOMAfterSetters(aRange[0], aRange, 0) && this._updateDOMAfterSetters(aRange[1], aRange, 1)) {
533
- this._recalculateRange();
534
- }
535
-
536
559
  return this;
537
560
  };
538
561
 
@@ -559,13 +582,9 @@ sap.ui.define([
559
582
  aRange[0] = fValue;
560
583
 
561
584
  this._updateRangePropertyDependencies(aRange);
562
- if (this._updateDOMAfterSetters(aRange[0], aRange, 0)) {
563
- this._recalculateRange();
564
- }
565
585
 
566
586
  if (this.getShowAdvancedTooltip() && this._mHandleTooltip.start.tooltip) {
567
- this._updateTooltipContent(this._mHandleTooltip.start.tooltip, fValue);
568
- this.updateTooltipsPositionAndState(this._mHandleTooltip.start.tooltip, fValue);
587
+ this.updateTooltipsPositionAndState(this._mHandleTooltip.start.tooltip, fValue, true);
569
588
  }
570
589
 
571
590
  return this;
@@ -578,13 +597,9 @@ sap.ui.define([
578
597
  aRange[1] = fValue;
579
598
 
580
599
  this._updateRangePropertyDependencies(aRange);
581
- if (this._updateDOMAfterSetters(aRange[1], aRange, 1)) {
582
- this._recalculateRange();
583
- }
584
600
 
585
601
  if (this.getShowAdvancedTooltip() && this._mHandleTooltip.end.tooltip) {
586
- this._updateTooltipContent(this._mHandleTooltip.end.tooltip, fValue);
587
- this.updateTooltipsPositionAndState(this._mHandleTooltip.end.tooltip, fValue);
602
+ this.updateTooltipsPositionAndState(this._mHandleTooltip.end.tooltip, fValue, true);
588
603
  }
589
604
 
590
605
  return this;
@@ -597,16 +612,16 @@ sap.ui.define([
597
612
  fNewValue2 = Number(aRangeCopy[1].toFixed(iDecimal));
598
613
 
599
614
  if (this.getProperty("value") !== fNewValue) {
600
- this.setProperty("value", fNewValue, true);
615
+ this.setProperty("value", fNewValue);
601
616
  aRangeCopy[0] = fNewValue;
602
617
  }
603
618
 
604
619
  if (this.getProperty("value2") !== fNewValue2) {
605
- this.setProperty("value2", fNewValue2, true);
620
+ this.setProperty("value2", fNewValue2);
606
621
  aRangeCopy[1] = fNewValue2;
607
622
  }
608
623
 
609
- this.setProperty("range", aRangeCopy, true);
624
+ this.setProperty("range", aRangeCopy);
610
625
  };
611
626
 
612
627
  /**
@@ -665,6 +680,10 @@ sap.ui.define([
665
680
  fValue = fMax;
666
681
  }
667
682
 
683
+ if (!Number.isInteger(fStep)) {
684
+ fValue = parseFloat(fValue.toFixed(this._iDecimalPrecision));
685
+ }
686
+
668
687
  return fValue;
669
688
  };
670
689
 
@@ -678,7 +697,7 @@ sap.ui.define([
678
697
  var oTouch = oEvent.targetTouches[0],
679
698
  CSS_CLASS = this.getRenderer().CSS_CLASS,
680
699
  sEventNamespace = "." + CSS_CLASS, fMinValue, fMaxValue,
681
- fValue, aHandles, aRange, iHandleIndex, fHandlesDistance, oFocusItem,
700
+ fValue, aHandles, aRange, iHandleIndex, fHandlesDistance,
682
701
  fTotalNumberOfValues, fPercentOfHandle, fHandleValue, fHandleHalfWidth;
683
702
 
684
703
  if (!this.getEnabled()) {
@@ -688,12 +707,6 @@ sap.ui.define([
688
707
  // mark the event for components that needs to know if the event was handled
689
708
  oEvent.setMarked();
690
709
 
691
- // Should be prevent as in Safari while dragging the handle everything else gets selection.
692
- // As part of the RangeSlider, Inputs in the tooltips should be excluded
693
- if (oEvent.target.className.indexOf("sapMInput") === -1) {
694
- oEvent.preventDefault();
695
- }
696
-
697
710
  // we need to recalculate the styles since something may have changed
698
711
  // the screen size between touches.
699
712
  this._recalculateStyles();
@@ -744,14 +757,19 @@ sap.ui.define([
744
757
  this._ontouchmove.bind(this, fValue, this.getRange(), aHandles));
745
758
 
746
759
  // adds pressed state
747
- aHandles.map(function (oHandle) {
748
- if (oHandle.className.indexOf(CSS_CLASS + "HandlePressed") === -1) {
749
- oHandle.className += " " + CSS_CLASS + "HandlePressed";
760
+ aHandles.forEach(function (oHandle) {
761
+ var sProperty = oHandle.getAttribute("data-ui5-handle-position") + "HandlePressed";
762
+
763
+ if (!this.getProperty(sProperty)) {
764
+ this.setProperty(sProperty, true);
750
765
  }
751
- });
766
+ }, this);
752
767
 
753
- oFocusItem = aHandles.length === 1 ? aHandles[0] : this.getDomRef("progress");
754
- setTimeout(oFocusItem["focus"].bind(oFocusItem), 0);
768
+ if (aHandles.length === 2) {
769
+ setTimeout(function () {
770
+ this.getDomRef("progress").focus();
771
+ }.bind(this), 0);
772
+ }
755
773
  };
756
774
 
757
775
  /**
@@ -891,12 +909,10 @@ sap.ui.define([
891
909
  // mark the event for components that needs to know if the event was handled
892
910
  oEvent.setMarked();
893
911
 
894
- aHandle && aHandle.map(function (oHandle) {
895
- oHandle.className = oHandle.className.replace(new RegExp(" ?" + sCSSClass + "HandlePressed", "gi"), "");
896
- });
897
- jQuery(document).off("." + sCSSClass);
912
+ this.setProperty("startHandlePressed", false);
913
+ this.setProperty("endHandlePressed", false);
898
914
 
899
- this._recalculateRange();
915
+ jQuery(document).off("." + sCSSClass);
900
916
 
901
917
  if (this._aInitialFocusRange[0] !== aNewRange[0] || this._aInitialFocusRange[1] !== aNewRange[1]) {
902
918
  this._aInitialFocusRange = Array.prototype.slice.call(aNewRange);
@@ -929,6 +945,13 @@ sap.ui.define([
929
945
  };
930
946
 
931
947
  RangeSlider.prototype.getFocusDomRef = function() {
948
+ /* when invalidation is done and focus is in the slider
949
+ the render manager tries to return the focus to the focusDomRef
950
+ in this case we want it to be the currently focused element */
951
+ if (this.getDomRef().contains(document.activeElement)) {
952
+ return document.activeElement;
953
+ }
954
+
932
955
  return this.getDomRef("progress");
933
956
  };
934
957
 
@@ -18,12 +18,14 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
18
18
  this.renderHandle(oRM, oControl, {
19
19
  id: oControl.getId() + "-handle1",
20
20
  position: "start",
21
- forwardedLabels: sRangeSliderLabels
21
+ forwardedLabels: sRangeSliderLabels,
22
+ pressed: oControl.getProperty("startHandlePressed")
22
23
  });
23
24
  this.renderHandle(oRM, oControl, {
24
25
  id: oControl.getId() + "-handle2",
25
26
  position: "end",
26
- forwardedLabels: sRangeSliderLabels
27
+ forwardedLabels: sRangeSliderLabels,
28
+ pressed: oControl.getProperty("endHandlePressed")
27
29
  });
28
30
 
29
31
  // Render ARIA labels
@@ -62,6 +64,11 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
62
64
  }
63
65
 
64
66
  oRM.class(SliderRenderer.CSS_CLASS + "Handle");
67
+ oRM.attr("data-ui5-handle-position", mOptions.position);
68
+
69
+ if (mOptions.pressed) {
70
+ oRM.class(SliderRenderer.CSS_CLASS + "HandlePressed");
71
+ }
65
72
 
66
73
  if (mOptions && (mOptions.id !== undefined) && mOptions.id === (oControl.getId() + "-handle1")) {
67
74
  oRM.style(bRTL ? "right" : "left", aRange[0]);
@@ -162,6 +169,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
162
169
 
163
170
  RangeSliderRenderer.renderProgressIndicator = function(oRm, oSlider, sForwardedLabels) {
164
171
  var aRange = oSlider.getRange();
172
+ var oProggressBarSize = oSlider.getProperty("progressBarSize");
165
173
 
166
174
  aRange[0] = oSlider.toFixed(aRange[0], oSlider._iDecimalPrecision);
167
175
  aRange[1] = oSlider.toFixed(aRange[1], oSlider._iDecimalPrecision);
@@ -175,6 +183,11 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
175
183
  this.addProgressIndicatorClass(oRm, oSlider);
176
184
  oRm.style("width", oSlider._sProgressValue);
177
185
 
186
+ if (oProggressBarSize) {
187
+ oRm.style("left", oProggressBarSize.left);
188
+ oRm.style("right", oProggressBarSize.right);
189
+ }
190
+
178
191
  oRm.accessibilityState(oSlider, {
179
192
  role: "slider",
180
193
  orientation: "horizontal",
@@ -191,5 +204,24 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
191
204
  oRm.class("sapMRangeSlider");
192
205
  };
193
206
 
207
+ RangeSliderRenderer.applyTickmarkStyles = function(oRM, oSlider, iTickmarkIndex, iTickmarksToRender) {
208
+ var aRange = oSlider.getRange();
209
+
210
+ aRange[0] = parseInt(oSlider.toFixed(aRange[0], oSlider._iDecimalPrecision));
211
+ aRange[1] = parseInt(oSlider.toFixed(aRange[1], oSlider._iDecimalPrecision));
212
+
213
+ var bRender = (iTickmarkIndex >= aRange[0] && iTickmarkIndex <= aRange[1]) || (iTickmarkIndex <= aRange[0] && iTickmarkIndex >= aRange[1]);
214
+
215
+ oRM.attr("data-ui5-active-tickmark", bRender);
216
+ };
217
+
218
+ RangeSliderRenderer.shouldRenderFirstActiveTickmark = function (oSlider) {
219
+ return oSlider.getValue() === oSlider.getMin();
220
+ };
221
+
222
+ RangeSliderRenderer.shouldRenderLastActiveTickmark = function (oSlider) {
223
+ return oSlider.getValue2() === oSlider.getMax();
224
+ };
225
+
194
226
  return RangeSliderRenderer;
195
227
  }, /* bExport= */ true);
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.ui.core.Control
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.101.0
54
+ * @version 1.103.0
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @extends sap.ui.core.Control
62
62
  *
63
63
  * @author SAP SE
64
- * @version 1.101.0
64
+ * @version 1.103.0
65
65
  *
66
66
  * @constructor
67
67
  * @public
@@ -403,7 +403,7 @@ sap.ui.define([
403
403
  //overwrite the _removeChild to detach event listener and remove delegate when the navcontainer is removed from this responsive popover
404
404
  this._oControl._removeChild = function(oChild, sAggregationName, bSuppressInvalidate){
405
405
  var aPages, i;
406
- if ((sAggregationName === "content") && (oChild instanceof sap.m.NavContainer)) {
406
+ if ((sAggregationName === "content") && (oChild && oChild.isA("sap.m.NavContainer"))) {
407
407
  aPages = oChild.getPages();
408
408
  for (i = 0 ; i < aPages.length ; i++) {
409
409
  aPages[i].removeEventDelegate(that._oPageDelegate);
@@ -495,11 +495,11 @@ sap.ui.define([
495
495
  ResponsivePopover.prototype._getSingleNavContent = function(){
496
496
  var aContent = this.getContent();
497
497
 
498
- while (aContent.length === 1 && aContent[0] instanceof sap.ui.core.mvc.View) {
498
+ while (aContent.length === 1 && aContent[0] && aContent[0].isA("sap.ui.core.mvc.View")) {
499
499
  aContent = aContent[0].getContent();
500
500
  }
501
501
 
502
- if (aContent.length === 1 && aContent[0] instanceof sap.m.NavContainer) {
502
+ if (aContent.length === 1 && aContent[0] && aContent[0].isA("sap.m.NavContainer")) {
503
503
  return aContent[0];
504
504
  } else {
505
505
  return null;
@@ -510,10 +510,10 @@ sap.ui.define([
510
510
  var oReturn = oPage, aContent;
511
511
 
512
512
  while (oReturn) {
513
- if (oReturn instanceof sap.m.Page) {
513
+ if (oReturn.isA("sap.m.Page")) {
514
514
  return oReturn;
515
515
  }
516
- if (oReturn instanceof sap.ui.core.mvc.View) {
516
+ if (oReturn.isA("sap.ui.core.mvc.View")) {
517
517
  aContent = oReturn.getContent();
518
518
  if (aContent.length === 1) {
519
519
  oReturn = aContent[0];
@@ -612,6 +612,7 @@ sap.ui.define([
612
612
  };
613
613
 
614
614
  /**
615
+ * @returns {sap.ui.core.Control}
615
616
  * @private
616
617
  */
617
618
  ResponsivePopover.prototype._getButtonFooter = function() {
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Element
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.101.0
37
+ * @version 1.103.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -25,7 +25,7 @@ function(Control, ScrollBarRenderer) {
25
25
  * care of only rendering the currently visible rows and use this <code>ScrollBar</code> control to make
26
26
  * the users think they are actually scrolling through a long list.
27
27
  * @extends sap.ui.core.Control
28
- * @version 1.101.0
28
+ * @version 1.103.0
29
29
  *
30
30
  * @private
31
31
  * @alias sap.m.ScrollBar
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.101.0
40
+ * @version 1.103.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @extends sap.ui.core.Control
68
68
  * @implements sap.ui.core.IFormContent
69
69
  * @author SAP SE
70
- * @version 1.101.0
70
+ * @version 1.103.0
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -55,7 +55,7 @@ function(
55
55
  * @implements sap.ui.core.IFormContent
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.101.0
58
+ * @version 1.103.0
59
59
  *
60
60
  * @constructor
61
61
  * @public
@@ -194,8 +194,10 @@ function(
194
194
  this._oItemNavigation.setCycling(false);
195
195
  //this way we do not hijack the browser back/forward navigation
196
196
  this._oItemNavigation.setDisabledModifiers({
197
- sapnext: ["alt"],
198
- sapprevious: ["alt"]
197
+ sapnext: ["alt", "meta"],
198
+ sapprevious: ["alt", "meta"],
199
+ saphome : ["alt", "meta"],
200
+ sapend : ["meta"]
199
201
  });
200
202
  this.addDelegate(this._oItemNavigation);
201
203
 
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/m/Button', 'sap/ui/core/Cus
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.101.0
26
+ * @version 1.103.0
27
27
  *
28
28
  * @constructor
29
29
  * @public