@openui5/sap.m 1.97.1 → 1.98.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 (580) hide show
  1. package/.reuse/dep5 +25 -30
  2. package/THIRDPARTY.txt +13 -20
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +1 -1
  8. package/src/sap/m/ActionSheet.js +4 -4
  9. package/src/sap/m/App.js +1 -1
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +1 -1
  12. package/src/sap/m/Bar.js +1 -1
  13. package/src/sap/m/Breadcrumbs.js +1 -1
  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 +1 -1
  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 +2 -22
  20. package/src/sap/m/ColorPalette.js +1 -1
  21. package/src/sap/m/ColorPalettePopover.js +1 -1
  22. package/src/sap/m/Column.js +26 -7
  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 +7 -4
  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 +3 -3
  32. package/src/sap/m/ComboBoxBase.js +5 -5
  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 +16 -12
  39. package/src/sap/m/DateRangeSelection.js +2 -2
  40. package/src/sap/m/DateTimeField.js +1 -1
  41. package/src/sap/m/DateTimeInput.js +1 -1
  42. package/src/sap/m/DateTimePicker.js +49 -13
  43. package/src/sap/m/Dialog.js +14 -7
  44. package/src/sap/m/DisplayListItem.js +1 -1
  45. package/src/sap/m/DraftIndicator.js +1 -1
  46. package/src/sap/m/DynamicDate.js +1 -1
  47. package/src/sap/m/DynamicDateFormat.js +3 -2
  48. package/src/sap/m/DynamicDateOption.js +1 -1
  49. package/src/sap/m/DynamicDateRange.js +131 -44
  50. package/src/sap/m/DynamicDateUtil.js +76 -3
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +7 -2
  52. package/src/sap/m/ExpandableText.js +1 -1
  53. package/src/sap/m/FacetFilter.js +21 -18
  54. package/src/sap/m/FacetFilterItem.js +1 -1
  55. package/src/sap/m/FacetFilterList.js +1 -1
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +1 -1
  58. package/src/sap/m/FeedListItem.js +1 -1
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/Fiori20Adapter.js +2 -2
  61. package/src/sap/m/FlexBox.js +1 -1
  62. package/src/sap/m/FlexItemData.js +1 -1
  63. package/src/sap/m/FormattedText.js +1 -1
  64. package/src/sap/m/GenericTag.js +1 -1
  65. package/src/sap/m/GenericTile.js +32 -5
  66. package/src/sap/m/GenericTileLineModeRenderer.js +4 -12
  67. package/src/sap/m/GenericTileRenderer.js +4 -1
  68. package/src/sap/m/GroupHeaderListItem.js +1 -1
  69. package/src/sap/m/GrowingList.js +1 -1
  70. package/src/sap/m/HBox.js +1 -1
  71. package/src/sap/m/HeaderContainer.js +1 -1
  72. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  73. package/src/sap/m/IconTabBar.js +1 -1
  74. package/src/sap/m/IconTabBarSelectList.js +12 -1
  75. package/src/sap/m/IconTabBarSelectListRenderer.js +1 -1
  76. package/src/sap/m/IconTabFilter.js +14 -9
  77. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  78. package/src/sap/m/IconTabHeader.js +55 -31
  79. package/src/sap/m/IconTabSeparator.js +1 -1
  80. package/src/sap/m/IllustratedMessage.js +619 -0
  81. package/src/sap/m/IllustratedMessageRenderer.js +55 -0
  82. package/src/sap/m/IllustratedMessageSize.js +64 -0
  83. package/src/sap/m/IllustratedMessageType.js +319 -0
  84. package/src/sap/m/Illustration.js +117 -0
  85. package/src/sap/m/IllustrationPool.js +392 -0
  86. package/src/sap/m/IllustrationRenderer.js +41 -0
  87. package/src/sap/m/Image.js +1 -1
  88. package/src/sap/m/ImageContent.js +1 -1
  89. package/src/sap/m/Input.js +25 -10
  90. package/src/sap/m/InputBase.js +1 -1
  91. package/src/sap/m/InputListItem.js +1 -1
  92. package/src/sap/m/Label.js +22 -3
  93. package/src/sap/m/LabelRenderer.js +7 -4
  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 +1 -1
  97. package/src/sap/m/List.js +1 -1
  98. package/src/sap/m/ListBase.js +1 -1
  99. package/src/sap/m/ListItemBase.js +1 -1
  100. package/src/sap/m/MaskEnabler.js +1 -1
  101. package/src/sap/m/MaskInput.js +1 -1
  102. package/src/sap/m/MaskInputRule.js +1 -1
  103. package/src/sap/m/Menu.js +3 -3
  104. package/src/sap/m/MenuButton.js +6 -2
  105. package/src/sap/m/MenuItem.js +1 -1
  106. package/src/sap/m/MenuListItem.js +1 -1
  107. package/src/sap/m/MessageItem.js +1 -1
  108. package/src/sap/m/MessageListItem.js +1 -1
  109. package/src/sap/m/MessagePage.js +1 -1
  110. package/src/sap/m/MessagePopover.js +1 -1
  111. package/src/sap/m/MessagePopoverItem.js +1 -1
  112. package/src/sap/m/MessageStrip.js +1 -1
  113. package/src/sap/m/MessageToast.js +1 -1
  114. package/src/sap/m/MessageView.js +8 -3
  115. package/src/sap/m/MultiComboBox.js +11 -11
  116. package/src/sap/m/MultiEditField.js +1 -1
  117. package/src/sap/m/MultiInput.js +14 -18
  118. package/src/sap/m/NavContainer.js +1 -1
  119. package/src/sap/m/NewsContent.js +1 -1
  120. package/src/sap/m/NotificationList.js +1 -1
  121. package/src/sap/m/NotificationListBase.js +1 -1
  122. package/src/sap/m/NotificationListGroup.js +1 -1
  123. package/src/sap/m/NotificationListItem.js +1 -1
  124. package/src/sap/m/NumericContent.js +1 -1
  125. package/src/sap/m/NumericInput.js +138 -0
  126. package/src/sap/m/NumericInputRenderer.js +124 -0
  127. package/src/sap/m/ObjectAttribute.js +20 -15
  128. package/src/sap/m/ObjectAttributeRenderer.js +14 -7
  129. package/src/sap/m/ObjectHeader.js +1 -1
  130. package/src/sap/m/ObjectIdentifier.js +1 -1
  131. package/src/sap/m/ObjectListItem.js +1 -1
  132. package/src/sap/m/ObjectMarker.js +1 -1
  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 +1 -1
  136. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  137. package/src/sap/m/OverflowToolbarButton.js +1 -1
  138. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  139. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  140. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  141. package/src/sap/m/P13nColumnsItem.js +1 -1
  142. package/src/sap/m/P13nColumnsPanel.js +3 -1
  143. package/src/sap/m/P13nConditionPanel.js +1 -1
  144. package/src/sap/m/P13nDialog.js +3 -2
  145. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  146. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  147. package/src/sap/m/P13nFilterItem.js +1 -1
  148. package/src/sap/m/P13nFilterPanel.js +12 -7
  149. package/src/sap/m/P13nGroupItem.js +1 -1
  150. package/src/sap/m/P13nGroupPanel.js +3 -2
  151. package/src/sap/m/P13nItem.js +1 -1
  152. package/src/sap/m/P13nPanel.js +1 -1
  153. package/src/sap/m/P13nSelectionItem.js +1 -1
  154. package/src/sap/m/P13nSelectionPanel.js +1 -1
  155. package/src/sap/m/P13nSortItem.js +1 -1
  156. package/src/sap/m/P13nSortPanel.js +3 -2
  157. package/src/sap/m/PDFViewer.js +1 -1
  158. package/src/sap/m/Page.js +1 -1
  159. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  160. package/src/sap/m/PagingButton.js +1 -1
  161. package/src/sap/m/Panel.js +1 -1
  162. package/src/sap/m/PlanningCalendar.js +1 -1
  163. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  164. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  165. package/src/sap/m/PlanningCalendarRow.js +1 -1
  166. package/src/sap/m/PlanningCalendarView.js +1 -1
  167. package/src/sap/m/Popover.js +1 -1
  168. package/src/sap/m/ProgressIndicator.js +1 -1
  169. package/src/sap/m/PullToRefresh.js +1 -1
  170. package/src/sap/m/QuickView.js +1 -1
  171. package/src/sap/m/QuickViewBase.js +1 -1
  172. package/src/sap/m/QuickViewCard.js +1 -1
  173. package/src/sap/m/QuickViewGroup.js +1 -1
  174. package/src/sap/m/QuickViewGroupElement.js +1 -1
  175. package/src/sap/m/QuickViewPage.js +1 -1
  176. package/src/sap/m/RadioButton.js +1 -1
  177. package/src/sap/m/RadioButtonGroup.js +1 -1
  178. package/src/sap/m/RangeSlider.js +1 -1
  179. package/src/sap/m/RatingIndicator.js +1 -1
  180. package/src/sap/m/ResponsivePopover.js +1 -1
  181. package/src/sap/m/ResponsiveScale.js +1 -1
  182. package/src/sap/m/ScrollBar.js +1 -1
  183. package/src/sap/m/ScrollContainer.js +1 -1
  184. package/src/sap/m/SearchField.js +1 -1
  185. package/src/sap/m/SegmentedButton.js +2 -2
  186. package/src/sap/m/SegmentedButtonItem.js +1 -1
  187. package/src/sap/m/Select.js +9 -1
  188. package/src/sap/m/SelectDialog.js +2 -2
  189. package/src/sap/m/SelectDialogBase.js +1 -1
  190. package/src/sap/m/SelectList.js +1 -1
  191. package/src/sap/m/SelectionDetails.js +1 -1
  192. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  193. package/src/sap/m/SelectionDetailsItem.js +1 -1
  194. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  195. package/src/sap/m/Shell.js +4 -4
  196. package/src/sap/m/SimpleFixFlex.js +1 -1
  197. package/src/sap/m/SinglePlanningCalendar.js +39 -2
  198. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +13 -3
  201. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +6 -2
  202. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarView.js +13 -2
  204. package/src/sap/m/SinglePlanningCalendarWeekView.js +15 -4
  205. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  206. package/src/sap/m/SlideTile.js +16 -1
  207. package/src/sap/m/SlideTileRenderer.js +4 -2
  208. package/src/sap/m/Slider.js +1 -1
  209. package/src/sap/m/SliderTooltip.js +1 -1
  210. package/src/sap/m/SliderTooltipBase.js +1 -1
  211. package/src/sap/m/SliderTooltipContainer.js +1 -1
  212. package/src/sap/m/SplitApp.js +1 -1
  213. package/src/sap/m/SplitButton.js +1 -1
  214. package/src/sap/m/SplitContainer.js +1 -1
  215. package/src/sap/m/StandardDynamicDateOption.js +126 -9
  216. package/src/sap/m/StandardListItem.js +34 -1
  217. package/src/sap/m/StandardListItemRenderer.js +4 -2
  218. package/src/sap/m/StandardTile.js +1 -1
  219. package/src/sap/m/StandardTreeItem.js +1 -1
  220. package/src/sap/m/StepInput.js +60 -158
  221. package/src/sap/m/SuggestionItem.js +1 -1
  222. package/src/sap/m/SuggestionsPopover.js +1 -1
  223. package/src/sap/m/Switch.js +16 -3
  224. package/src/sap/m/TabContainer.js +1 -1
  225. package/src/sap/m/TabContainerItem.js +1 -1
  226. package/src/sap/m/TabStrip.js +1 -1
  227. package/src/sap/m/TabStripItem.js +1 -1
  228. package/src/sap/m/Table.js +44 -3
  229. package/src/sap/m/TablePersoController.js +1 -1
  230. package/src/sap/m/TablePersoDialog.js +1 -1
  231. package/src/sap/m/TablePersoProvider.js +1 -1
  232. package/src/sap/m/TableRenderer.js +3 -2
  233. package/src/sap/m/TableSelectDialog.js +2 -2
  234. package/src/sap/m/Text.js +1 -1
  235. package/src/sap/m/TextArea.js +3 -38
  236. package/src/sap/m/Tile.js +1 -1
  237. package/src/sap/m/TileContainer.js +1 -1
  238. package/src/sap/m/TileContent.js +1 -1
  239. package/src/sap/m/TimePicker.js +44 -15
  240. package/src/sap/m/TimePickerClock.js +1 -1
  241. package/src/sap/m/TimePickerClocks.js +6 -1
  242. package/src/sap/m/TimePickerClocksRenderer.js +2 -0
  243. package/src/sap/m/TimePickerInputs.js +6 -1
  244. package/src/sap/m/TimePickerInputsRenderer.js +2 -0
  245. package/src/sap/m/TimePickerInternals.js +51 -3
  246. package/src/sap/m/TimePickerSlider.js +1 -1
  247. package/src/sap/m/TimePickerSliders.js +1 -1
  248. package/src/sap/m/Title.js +1 -1
  249. package/src/sap/m/TitlePropagationSupport.js +1 -1
  250. package/src/sap/m/ToggleButton.js +1 -1
  251. package/src/sap/m/Token.js +1 -1
  252. package/src/sap/m/Tokenizer.js +1 -1
  253. package/src/sap/m/Toolbar.js +1 -1
  254. package/src/sap/m/ToolbarLayoutData.js +1 -1
  255. package/src/sap/m/ToolbarSeparator.js +1 -1
  256. package/src/sap/m/ToolbarSpacer.js +1 -1
  257. package/src/sap/m/Tree.js +1 -1
  258. package/src/sap/m/TreeItemBase.js +1 -1
  259. package/src/sap/m/UploadCollection.js +1 -1
  260. package/src/sap/m/UploadCollectionItem.js +1 -1
  261. package/src/sap/m/UploadCollectionParameter.js +1 -1
  262. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  263. package/src/sap/m/VBox.js +1 -1
  264. package/src/sap/m/ValueStateHeader.js +1 -1
  265. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  266. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  267. package/src/sap/m/ViewSettingsDialog.js +1 -1
  268. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  269. package/src/sap/m/ViewSettingsItem.js +1 -1
  270. package/src/sap/m/VisibleItem.js +1 -1
  271. package/src/sap/m/WheelSlider.js +1 -1
  272. package/src/sap/m/WheelSliderContainer.js +1 -1
  273. package/src/sap/m/Wizard.js +39 -19
  274. package/src/sap/m/WizardProgressNavigator.js +1 -1
  275. package/src/sap/m/WizardStep.js +1 -1
  276. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  277. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  278. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  279. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  280. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  281. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  282. package/src/sap/m/delegate/ValueStateMessage.js +1 -1
  283. package/src/sap/m/designtime/Button.designtime.js +1 -1
  284. package/src/sap/m/designtime/StandardListItem.designtime.js +5 -1
  285. package/src/sap/m/library.js +288 -49
  286. package/src/sap/m/messagebundle.properties +273 -59
  287. package/src/sap/m/messagebundle_ar.properties +147 -29
  288. package/src/sap/m/messagebundle_bg.properties +155 -37
  289. package/src/sap/m/messagebundle_ca.properties +164 -46
  290. package/src/sap/m/messagebundle_cs.properties +167 -49
  291. package/src/sap/m/messagebundle_cy.properties +155 -37
  292. package/src/sap/m/messagebundle_da.properties +157 -39
  293. package/src/sap/m/messagebundle_de.properties +147 -29
  294. package/src/sap/m/messagebundle_el.properties +188 -70
  295. package/src/sap/m/messagebundle_en.properties +190 -72
  296. package/src/sap/m/messagebundle_en_GB.properties +190 -72
  297. package/src/sap/m/messagebundle_en_US_sappsd.properties +187 -71
  298. package/src/sap/m/messagebundle_en_US_saptrc.properties +189 -71
  299. package/src/sap/m/messagebundle_es.properties +174 -56
  300. package/src/sap/m/messagebundle_es_MX.properties +170 -52
  301. package/src/sap/m/messagebundle_et.properties +146 -28
  302. package/src/sap/m/messagebundle_fi.properties +141 -23
  303. package/src/sap/m/messagebundle_fr.properties +156 -38
  304. package/src/sap/m/messagebundle_fr_CA.properties +152 -34
  305. package/src/sap/m/messagebundle_hi.properties +150 -32
  306. package/src/sap/m/messagebundle_hr.properties +159 -41
  307. package/src/sap/m/messagebundle_hu.properties +153 -35
  308. package/src/sap/m/messagebundle_id.properties +202 -84
  309. package/src/sap/m/messagebundle_it.properties +159 -41
  310. package/src/sap/m/messagebundle_iw.properties +157 -39
  311. package/src/sap/m/messagebundle_ja.properties +139 -21
  312. package/src/sap/m/messagebundle_kk.properties +129 -11
  313. package/src/sap/m/messagebundle_ko.properties +156 -38
  314. package/src/sap/m/messagebundle_lt.properties +135 -17
  315. package/src/sap/m/messagebundle_lv.properties +154 -36
  316. package/src/sap/m/messagebundle_ms.properties +188 -70
  317. package/src/sap/m/messagebundle_nl.properties +153 -35
  318. package/src/sap/m/messagebundle_no.properties +151 -33
  319. package/src/sap/m/messagebundle_pl.properties +157 -39
  320. package/src/sap/m/messagebundle_pt.properties +164 -46
  321. package/src/sap/m/messagebundle_pt_PT.properties +151 -33
  322. package/src/sap/m/messagebundle_ro.properties +159 -41
  323. package/src/sap/m/messagebundle_ru.properties +156 -38
  324. package/src/sap/m/messagebundle_sh.properties +147 -29
  325. package/src/sap/m/messagebundle_sk.properties +154 -36
  326. package/src/sap/m/messagebundle_sl.properties +151 -33
  327. package/src/sap/m/messagebundle_sv.properties +146 -28
  328. package/src/sap/m/messagebundle_th.properties +147 -29
  329. package/src/sap/m/messagebundle_tr.properties +152 -34
  330. package/src/sap/m/messagebundle_uk.properties +145 -27
  331. package/src/sap/m/messagebundle_vi.properties +148 -30
  332. package/src/sap/m/messagebundle_zh_CN.properties +147 -29
  333. package/src/sap/m/messagebundle_zh_TW.properties +154 -36
  334. package/src/sap/m/p13n/AbstractContainer.js +16 -16
  335. package/src/sap/m/p13n/AbstractContainerItem.js +7 -8
  336. package/src/sap/m/p13n/BasePanel.js +37 -19
  337. package/src/sap/m/p13n/Container.js +8 -14
  338. package/src/sap/m/p13n/GroupPanel.js +31 -6
  339. package/src/sap/m/p13n/Popup.js +22 -19
  340. package/src/sap/m/p13n/QueryPanel.js +2 -3
  341. package/src/sap/m/p13n/SelectionPanel.js +14 -11
  342. package/src/sap/m/p13n/SortPanel.js +30 -6
  343. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  344. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  345. package/src/sap/m/plugins/PasteProvider.js +1 -1
  346. package/src/sap/m/plugins/PluginBase.js +1 -1
  347. package/src/sap/m/routing/RouteMatchedHandler.js +1 -1
  348. package/src/sap/m/routing/Router.js +9 -7
  349. package/src/sap/m/routing/TargetHandler.js +4 -4
  350. package/src/sap/m/routing/Targets.js +52 -42
  351. package/src/sap/m/routing/async/Targets.js +3 -3
  352. package/src/sap/m/routing/sync/Targets.js +3 -3
  353. package/src/sap/m/semantic/AddAction.js +1 -1
  354. package/src/sap/m/semantic/CancelAction.js +1 -1
  355. package/src/sap/m/semantic/DeleteAction.js +1 -1
  356. package/src/sap/m/semantic/DetailPage.js +1 -1
  357. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  358. package/src/sap/m/semantic/EditAction.js +1 -1
  359. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  360. package/src/sap/m/semantic/FilterAction.js +1 -1
  361. package/src/sap/m/semantic/FilterSelect.js +1 -1
  362. package/src/sap/m/semantic/FlagAction.js +1 -1
  363. package/src/sap/m/semantic/ForwardAction.js +1 -1
  364. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  365. package/src/sap/m/semantic/GroupAction.js +1 -1
  366. package/src/sap/m/semantic/GroupSelect.js +1 -1
  367. package/src/sap/m/semantic/MainAction.js +1 -1
  368. package/src/sap/m/semantic/MasterPage.js +1 -1
  369. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  370. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  371. package/src/sap/m/semantic/NegativeAction.js +1 -1
  372. package/src/sap/m/semantic/OpenInAction.js +1 -1
  373. package/src/sap/m/semantic/PositiveAction.js +1 -1
  374. package/src/sap/m/semantic/PrintAction.js +1 -1
  375. package/src/sap/m/semantic/SaveAction.js +1 -1
  376. package/src/sap/m/semantic/Segment.js +1 -1
  377. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  378. package/src/sap/m/semantic/SemanticButton.js +1 -1
  379. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  380. package/src/sap/m/semantic/SemanticControl.js +1 -1
  381. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  382. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  383. package/src/sap/m/semantic/SemanticPage.js +1 -1
  384. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  385. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  386. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  387. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  388. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  389. package/src/sap/m/semantic/ShareMenu.js +1 -1
  390. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  391. package/src/sap/m/semantic/SortAction.js +1 -1
  392. package/src/sap/m/semantic/SortSelect.js +1 -1
  393. package/src/sap/m/table/ActionItem.js +1 -1
  394. package/src/sap/m/table/ColumnMenu.js +49 -48
  395. package/src/sap/m/table/ColumnMenuEntry.js +1 -1
  396. package/src/sap/m/table/Item.js +1 -1
  397. package/src/sap/m/table/ItemBase.js +1 -1
  398. package/src/sap/m/table/QuickAction.js +1 -1
  399. package/src/sap/m/table/QuickActionBase.js +1 -1
  400. package/src/sap/m/table/Util.js +2 -2
  401. package/src/sap/m/themes/base/ColumnListItem.less +13 -5
  402. package/src/sap/m/themes/base/ComboBoxBase.less +18 -7
  403. package/src/sap/m/themes/base/DateTimePicker.less +8 -3
  404. package/src/sap/m/themes/base/DynamicDateRange.less +8 -0
  405. package/src/sap/m/themes/base/GenericTile.less +18 -29
  406. package/src/sap/m/themes/base/IconTabBar.less +4 -3
  407. package/src/sap/m/themes/base/IllustratedMessage.less +110 -0
  408. package/src/sap/m/themes/base/Illustration.less +58 -0
  409. package/src/sap/m/themes/base/Label.less +10 -3
  410. package/src/sap/m/themes/base/NavContainer.less +0 -9
  411. package/src/sap/m/themes/base/ObjectAttribute.less +4 -12
  412. package/src/sap/m/themes/base/ObjectStatus.less +4 -4
  413. package/src/sap/m/themes/base/Page.less +0 -1
  414. package/src/sap/m/themes/base/RadioButton.less +7 -2
  415. package/src/sap/m/themes/base/SegmentedButton.less +0 -16
  416. package/src/sap/m/themes/base/StandardListItem.less +4 -0
  417. package/src/sap/m/themes/base/SuggestionsPopover.less +2 -1
  418. package/src/sap/m/themes/base/Table.less +1 -1
  419. package/src/sap/m/themes/base/TimePickerClock.less +4 -0
  420. package/src/sap/m/themes/base/TimePickerClocks.less +3 -3
  421. package/src/sap/m/themes/base/TimePickerInputs.less +4 -0
  422. package/src/sap/m/themes/base/WizardProgressNavigator.less +17 -16
  423. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddColumn.svg +37 -0
  424. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddPeople.svg +31 -0
  425. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BalloonSky.svg +33 -0
  426. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BeforeSearch.svg +13 -0
  427. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Connection.svg +18 -0
  428. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -0
  429. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyList.svg +21 -0
  430. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.svg +78 -0
  431. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ErrorScreen.svg +34 -0
  432. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-FilterTable.svg +41 -0
  433. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-GroupTable.svg +67 -0
  434. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NewMail.svg +21 -0
  435. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoActivities.svg +18 -0
  436. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoData.svg +10 -0
  437. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoEntries.svg +18 -0
  438. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoFilterResults.svg +24 -0
  439. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoMail.svg +11 -0
  440. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoMail_v1.svg +22 -0
  441. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoNotifications.svg +14 -0
  442. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSavedItems.svg +13 -0
  443. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSavedItems_v1.svg +36 -0
  444. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSearchResults.svg +15 -0
  445. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks.svg +18 -0
  446. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks_v1.svg +53 -0
  447. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-PageNotFound.svg +29 -0
  448. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ReloadScreen.svg +34 -0
  449. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ResizeColumn.svg +41 -0
  450. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchEarth.svg +18 -0
  451. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchFolder.svg +27 -0
  452. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBalloon.svg +17 -0
  453. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBell.svg +10 -0
  454. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCalendar.svg +47 -0
  455. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCheckmark.svg +6 -0
  456. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleConnection.svg +18 -0
  457. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleEmptyDoc.svg +17 -0
  458. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleEmptyList.svg +10 -0
  459. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleError.svg +10 -0
  460. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleMagnifier.svg +10 -0
  461. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleMail.svg +13 -0
  462. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleNoSavedItems.svg +17 -0
  463. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.svg +21 -0
  464. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleReload.svg +11 -0
  465. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleTask.svg +23 -0
  466. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SleepingBell.svg +23 -0
  467. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SortColumn.svg +39 -0
  468. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessScreen.svg +32 -0
  469. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +26 -0
  470. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToLoad.svg +11 -0
  471. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToUpload.svg +13 -0
  472. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadCollection.svg +32 -0
  473. package/src/sap/m/themes/base/illustrations/sapIllus-Patterns.svg +20 -0
  474. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddColumn.svg +48 -0
  475. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddPeople.svg +30 -0
  476. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BalloonSky.svg +42 -0
  477. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BeforeSearch.svg +31 -0
  478. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Connection.svg +31 -0
  479. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -0
  480. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyList.svg +27 -0
  481. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyPlanningCalendar.svg +91 -0
  482. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ErrorScreen.svg +78 -0
  483. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-FilterTable.svg +56 -0
  484. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-GroupTable.svg +76 -0
  485. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NewMail.svg +54 -0
  486. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoActivities.svg +28 -0
  487. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoData.svg +23 -0
  488. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoEntries.svg +32 -0
  489. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoFilterResults.svg +39 -0
  490. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoMail.svg +23 -0
  491. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoMail_v1.svg +55 -0
  492. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoNotifications.svg +36 -0
  493. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSavedItems.svg +36 -0
  494. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSavedItems_v1.svg +39 -0
  495. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSearchResults.svg +15 -0
  496. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks.svg +22 -0
  497. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks_v1.svg +90 -0
  498. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-PageNotFound.svg +33 -0
  499. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ReloadScreen.svg +80 -0
  500. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ResizeColumn.svg +52 -0
  501. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchEarth.svg +30 -0
  502. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchFolder.svg +36 -0
  503. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBalloon.svg +20 -0
  504. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBell.svg +13 -0
  505. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -0
  506. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCheckmark.svg +9 -0
  507. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleConnection.svg +22 -0
  508. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleEmptyDoc.svg +20 -0
  509. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleEmptyList.svg +13 -0
  510. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleError.svg +13 -0
  511. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleMagnifier.svg +13 -0
  512. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleMail.svg +16 -0
  513. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleNoSavedItems.svg +27 -0
  514. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.svg +24 -0
  515. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleReload.svg +14 -0
  516. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleTask.svg +19 -0
  517. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SleepingBell.svg +43 -0
  518. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SortColumn.svg +50 -0
  519. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessScreen.svg +78 -0
  520. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +54 -0
  521. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToLoad.svg +23 -0
  522. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToUpload.svg +13 -0
  523. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadCollection.svg +30 -0
  524. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddColumn.svg +37 -0
  525. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddPeople.svg +31 -0
  526. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BalloonSky.svg +29 -0
  527. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BeforeSearch.svg +10 -0
  528. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Connection.svg +22 -0
  529. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -0
  530. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyList.svg +21 -0
  531. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyPlanningCalendar.svg +78 -0
  532. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ErrorScreen.svg +32 -0
  533. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-FilterTable.svg +46 -0
  534. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-GroupTable.svg +67 -0
  535. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NewMail.svg +18 -0
  536. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoActivities.svg +23 -0
  537. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoData.svg +9 -0
  538. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoEntries.svg +22 -0
  539. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoFilterResults.svg +25 -0
  540. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoMail.svg +10 -0
  541. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoMail_v1.svg +16 -0
  542. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoNotifications.svg +15 -0
  543. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSavedItems.svg +9 -0
  544. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSavedItems_v1.svg +33 -0
  545. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSearchResults.svg +13 -0
  546. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks.svg +20 -0
  547. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks_v1.svg +15 -0
  548. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-PageNotFound.svg +31 -0
  549. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ReloadScreen.svg +32 -0
  550. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ResizeColumn.svg +41 -0
  551. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchEarth.svg +55 -0
  552. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchFolder.svg +25 -0
  553. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBalloon.svg +7 -0
  554. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBell.svg +9 -0
  555. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCalendar.svg +46 -0
  556. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCheckmark.svg +5 -0
  557. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleConnection.svg +10 -0
  558. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleEmptyDoc.svg +6 -0
  559. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleEmptyList.svg +6 -0
  560. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleError.svg +9 -0
  561. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleMagnifier.svg +9 -0
  562. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleMail.svg +12 -0
  563. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleNoSavedItems.svg +23 -0
  564. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.svg +10 -0
  565. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleReload.svg +7 -0
  566. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleTask.svg +22 -0
  567. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SleepingBell.svg +22 -0
  568. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SortColumn.svg +39 -0
  569. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessScreen.svg +32 -0
  570. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +24 -0
  571. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToLoad.svg +10 -0
  572. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToUpload.svg +10 -0
  573. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadCollection.svg +31 -0
  574. package/src/sap/m/themes/base/library.source.less +2 -0
  575. package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +12 -0
  576. package/src/sap/m/themes/sap_hcb/ObjectHeader.less +0 -21
  577. package/src/sap/m/themes/sap_hcb/SegmentedButton.less +0 -19
  578. package/src/sap/m/upload/UploadSet.js +62 -4
  579. package/src/sap/m/upload/UploadSetItem.js +14 -2
  580. package/src/sap/m/upload/Uploader.js +25 -3
@@ -6,46 +6,35 @@
6
6
 
7
7
  // Provides control sap.m.StepInput.
8
8
  sap.ui.define([
9
- "sap/ui/core/Icon",
10
- "./Input",
11
- "./InputBase",
12
- "./InputRenderer",
13
9
  "sap/ui/core/Control",
14
10
  "sap/ui/core/IconPool",
15
- "sap/ui/core/LabelEnablement",
16
11
  "sap/ui/core/message/MessageMixin",
12
+ "sap/ui/core/format/NumberFormat",
17
13
  "sap/ui/model/ValidateException",
18
14
  "sap/ui/Device",
19
15
  "sap/ui/core/library",
20
- "sap/ui/core/Renderer",
21
16
  "sap/m/library",
17
+ "./NumericInput",
22
18
  "./StepInputRenderer",
23
19
  "sap/ui/events/KeyCodes",
24
20
  "sap/base/Log"
25
21
  ],
26
22
  function(
27
- Icon,
28
- Input,
29
- InputBase,
30
- InputRenderer,
31
23
  Control,
32
24
  IconPool,
33
- LabelEnablement,
34
25
  MessageMixin,
26
+ NumberFormat,
35
27
  ValidateException,
36
28
  Device,
37
29
  coreLibrary,
38
- Renderer,
39
30
  library,
31
+ NumericInput,
40
32
  StepInputRenderer,
41
33
  KeyCodes,
42
34
  Log
43
35
  ) {
44
36
  "use strict";
45
37
 
46
- // shortcut for sap.m.InputType
47
- var InputType = library.InputType;
48
-
49
38
  // shortcut for sap.ui.core.TextAlign
50
39
  var TextAlign = coreLibrary.TextAlign;
51
40
 
@@ -130,7 +119,7 @@ function(
130
119
  * @implements sap.ui.core.IFormContent
131
120
  *
132
121
  * @author SAP SE
133
- * @version 1.97.1
122
+ * @version 1.98.0
134
123
  *
135
124
  * @constructor
136
125
  * @public
@@ -325,117 +314,6 @@ function(
325
314
  */
326
315
  var aForwardableProps = ["enabled", "editable", "name", "placeholder", "required", "valueStateText", "description", "fieldWidth", "textAlign"];
327
316
 
328
-
329
- /****************************************** NUMERIC INPUT CONTROL ****************************************************/
330
-
331
- var NumericInputRenderer = Renderer.extend(InputRenderer);
332
-
333
- NumericInputRenderer.apiVersion = 2;
334
-
335
- NumericInputRenderer.writeInnerAttributes = function(oRm, oControl) {
336
- var oStepInput = oControl.getParent(),
337
- mAccAttributes = this.getAccessibilityState(oControl);
338
- // inside the Input this function also sets explicitly textAlign to "End" if the type
339
- // of the Input is Numeric (our case)
340
- // so we have to overwrite it by leaving only the text direction
341
- // and the textAlign will be controlled by textAlign property of the StepInput
342
- oRm.attr("type", oControl.getType().toLowerCase());
343
-
344
- if (sap.ui.getCore().getConfiguration().getRTL()) {
345
- oRm.attr("dir", "ltr");
346
- }
347
- // prevent rendering of aria-disabled attribute to avoid having
348
- // both aria-disabled and disabled at the same time
349
- mAccAttributes.disabled = null;
350
-
351
- oRm.accessibilityState(oStepInput, mAccAttributes);
352
- };
353
-
354
- //Accessibility behavior of the Input needs to be extended
355
- /**
356
- * Overwrites the accessibility state using the <code>getAccessibilityState</code> method of the <code>InputBaseRenderer</code>.
357
- *
358
- * @param {NumericInput} oNumericInput The numeric input instance
359
- * @returns {Array} mAccessibilityState
360
- */
361
- NumericInputRenderer.getAccessibilityState = function(oNumericInput) {
362
- var mAccessibilityState = InputRenderer.getAccessibilityState(oNumericInput),
363
- oStepInput = oNumericInput.getParent(),
364
- fMin = oStepInput._getMin(),
365
- fMax = oStepInput._getMax(),
366
- fNow = oStepInput.getValue(),
367
- sDescription = oStepInput.getDescription(),
368
- aAriaLabelledByRefs = oStepInput.getAriaLabelledBy(),
369
- // If we don't check this manually, we won't have the labels, which were referencing SI,
370
- // in aria-labelledby (which normally comes out of the box). This is because writeAccessibilityState
371
- // is called for NumericInput, while any labels will be for the parent StepInput.
372
- aReferencingLabels = LabelEnablement.getReferencingLabels(oStepInput),
373
- sDescribedBy = oStepInput.getAriaDescribedBy().join(" "),
374
- sResultingLabelledBy;
375
-
376
- mAccessibilityState.valuenow = fNow;
377
-
378
- if (sDescription) {
379
- // If there is a description, we should add a reference to it in the aria-labelledby
380
- aAriaLabelledByRefs.push(oStepInput._getInput().getId() + "-descr");
381
- }
382
-
383
- sResultingLabelledBy = aReferencingLabels.concat(aAriaLabelledByRefs).join(" ");
384
-
385
- if (typeof fMin === "number") {
386
- mAccessibilityState.valuemin = fMin;
387
- }
388
-
389
- if (typeof fMax === "number") {
390
- mAccessibilityState.valuemax = fMax;
391
- }
392
-
393
- if (!oStepInput.getEditable()) {
394
- mAccessibilityState.readonly = true;
395
- }
396
-
397
- if (sDescribedBy){
398
- mAccessibilityState.describedby = sDescribedBy;
399
- }
400
-
401
- if (sResultingLabelledBy){
402
- mAccessibilityState.labelledby = sResultingLabelledBy;
403
- }
404
-
405
- return mAccessibilityState;
406
- };
407
-
408
- var NumericInput = Input.extend("sap.m.internal.NumericInput", {
409
- metadata: {
410
- library: "sap.m"
411
- },
412
- constructor: function(sId, mSettings) {
413
- return Input.apply(this, arguments);
414
- },
415
- renderer: NumericInputRenderer
416
- });
417
-
418
- NumericInput.prototype.onBeforeRendering = function() {
419
- InputBase.prototype.onBeforeRendering.call(this);
420
-
421
- // The Input is handling its width in its onBeforeRendering method - if noting is set, the width is 100%.
422
- // As the NumericInput is using the InputBase's onBeforeRendering method, the width must be handled here too.
423
- // The real width of the StepInput is handled from its width property, so the NumericInput's width should be 100%.
424
- this.setWidth("100%");
425
-
426
- this._deregisterEvents();
427
- };
428
-
429
- NumericInput.prototype.setValue = function(sValue) {
430
- Input.prototype.setValue.apply(this, arguments);
431
-
432
- if (this.getDomRef()) {
433
- this.getDomRef("inner").setAttribute("aria-valuenow", sValue);
434
- }
435
-
436
- return this;
437
- };
438
-
439
317
  MessageMixin.call(StepInput.prototype);
440
318
 
441
319
  /**
@@ -572,7 +450,8 @@ function(
572
450
  * @returns {this} Reference to the control instance for chaining
573
451
  */
574
452
  StepInput.prototype.setDisplayValuePrecision = function (number) {
575
- var vValuePrecision;
453
+ var vValuePrecision,
454
+ oInstance;
576
455
 
577
456
  if (isValidPrecisionValue(number)) {
578
457
  vValuePrecision = parseInt(number);
@@ -581,7 +460,11 @@ function(
581
460
  Log.warning(this + ": ValuePrecision (" + number + ") is not correct. It should be a number between 0 and 20! Setting the default ValuePrecision:0.");
582
461
  }
583
462
 
584
- return this.setProperty("displayValuePrecision", vValuePrecision);
463
+ var oInstance = this.setProperty("displayValuePrecision", vValuePrecision);
464
+
465
+ this._getNumberFormatter(true);
466
+
467
+ return oInstance;
585
468
  };
586
469
 
587
470
  /**
@@ -631,7 +514,7 @@ function(
631
514
  });
632
515
 
633
516
  oIcon.getEnabled = function () {
634
- return !this._shouldDisableIncrementButton(Number(this._getInput().getValue()), this._getMax());
517
+ return !this._shouldDisableIncrementButton(this._parseNumber(this._getInput().getValue()), this._getMax());
635
518
  }.bind(this);
636
519
 
637
520
  oIcon.$().attr("tabindex", "-1");
@@ -664,7 +547,7 @@ function(
664
547
  });
665
548
 
666
549
  oIcon.getEnabled = function () {
667
- return !this._shouldDisableDecrementButton(Number(this._getInput().getValue()), this._getMin());
550
+ return !this._shouldDisableDecrementButton(this._parseNumber(this._getInput().getValue()), this._getMin());
668
551
  }.bind(this);
669
552
 
670
553
  oIcon.$().attr("tabindex", "-1");
@@ -692,7 +575,6 @@ function(
692
575
  var oNumericInput = new NumericInput({
693
576
  id: this.getId() + "-input",
694
577
  textAlign: this.getTextAlign(),
695
- type: InputType.Number,
696
578
  editable: this.getEditable(),
697
579
  enabled: this.getEnabled(),
698
580
  description: this.getDescription(),
@@ -720,7 +602,7 @@ function(
720
602
  } else {
721
603
  // just update the visual value and buttons
722
604
  this._applyValue(this._fTempValue);
723
- this._disableButtons(Number(this._getInput().getValue()), this._getMax(), this._getMin());
605
+ this._disableButtons(this._parseNumber(this._getInput().getValue()), this._getMax(), this._getMin());
724
606
  }
725
607
  return this;
726
608
  };
@@ -778,7 +660,7 @@ function(
778
660
 
779
661
  if (this._bDelayedEventFire) {
780
662
  this._applyValue(fNewValue);
781
- this._disableButtons(Number(this._getFormattedValue(fNewValue)), this._getMax(), this._getMin());
663
+ this._disableButtons(this._parseNumber(this._getFormattedValue(fNewValue)), this._getMax(), this._getMin());
782
664
  this._bNeedsVerification = true;
783
665
  }
784
666
 
@@ -830,7 +712,7 @@ function(
830
712
  StepInput.prototype._verifyValue = function () {
831
713
  var min = this._getMin(),
832
714
  max = this._getMax(),
833
- value = parseFloat(this._getInput().getValue()),
715
+ value = this._parseNumber(this._getInput().getValue()),
834
716
  oCoreMessageBundle = sap.ui.getCore().getLibraryResourceBundle("sap.ui.core"),
835
717
  oBinding = this.getBinding("value"),
836
718
  oBindingType = oBinding && oBinding.getType && oBinding.getType(),
@@ -922,7 +804,7 @@ function(
922
804
 
923
805
  this._sOriginalValue = oValue;
924
806
  this._applyValue(oValue);
925
- this._disableButtons(Number(this._getInput().getValue()), this._getMax(), this._getMin());
807
+ this._disableButtons(this._parseNumber(this._getInput().getValue()), this._getMax(), this._getMin());
926
808
 
927
809
  if (oValue !== this._fOldValue) {
928
810
  // save current value (for ESC restoring)
@@ -938,11 +820,19 @@ function(
938
820
  return oResult;
939
821
  };
940
822
 
823
+ StepInput.prototype._getNumberFormatter = function(bReset) {
824
+ if (!this._formatter || bReset) {
825
+ this._formatter = NumberFormat.getFloatInstance({ decimals: this.getDisplayValuePrecision() });
826
+ }
827
+
828
+ return this._formatter;
829
+ };
830
+
941
831
  /**
942
832
  * Formats the <code>vValue</code> accordingly to the <code>displayValuePrecision</code> property.
943
- * if vValue is undefined or null, the property <code>value</code> will be used.
833
+ * If vValue is undefined or null, the property <code>value</code> will be used.
944
834
  *
945
- * @returns formated value as a String
835
+ * @returns formatted value as a String
946
836
  * @private
947
837
  */
948
838
  StepInput.prototype._getFormattedValue = function (vValue) {
@@ -954,6 +844,10 @@ function(
954
844
  vValue = this.getValue();
955
845
  }
956
846
 
847
+ if (Device.system.desktop) {
848
+ return this._getNumberFormatter().format(vValue);
849
+ }
850
+
957
851
  if (iPrecision <= 0) {
958
852
  // return value without any decimals
959
853
  return parseFloat(vValue).toFixed(0);
@@ -970,7 +864,6 @@ function(
970
864
  } else {
971
865
  return vValue.toString() + "." + this._padZeroesRight("0", iPrecision);
972
866
  }
973
-
974
867
  };
975
868
 
976
869
  /**
@@ -1010,12 +903,12 @@ function(
1010
903
 
1011
904
  // fix the entered value if the precision is 0; and filter 'e/E' meanwhile
1012
905
  if (this.getDisplayValuePrecision() === 0) {
1013
- sInputValue = Math.round(Number(sInputValue.toLowerCase().split('e')[0])).toString();
906
+ sInputValue = Math.round(this._parseNumber(sInputValue.toLowerCase().split('e')[0])).toString();
1014
907
  }
1015
908
 
1016
909
  // calculates delta (difference) between input value and real control value
1017
910
  if (this._getFormattedValue(this._fTempValue) !== sInputValue) {
1018
- fDelta = Number(sInputValue) - this._fTempValue;
911
+ fDelta = this._parseNumber(sInputValue) - this._fTempValue;
1019
912
  }
1020
913
  return fDelta;
1021
914
  };
@@ -1060,7 +953,7 @@ function(
1060
953
  StepInput.prototype.onsappageupmodifiers = function (oEvent) {
1061
954
  if (this.getEditable() && this._isNumericLike(this._getMax()) && !(oEvent.ctrlKey || oEvent.metaKey || oEvent.altKey) && oEvent.shiftKey) {
1062
955
  this._bDelayedEventFire = true;
1063
- this._fTempValue = Number(this._getInput().getValue());
956
+ this._fTempValue = this._parseNumber(this._getInput().getValue());
1064
957
  this._changeValueWithStep(this._getMax() - this._fTempValue);
1065
958
  }
1066
959
  };
@@ -1073,7 +966,7 @@ function(
1073
966
  StepInput.prototype.onsappagedownmodifiers = function (oEvent) {
1074
967
  if (this.getEditable() && this._isNumericLike(this._getMin()) && !(oEvent.ctrlKey || oEvent.metaKey || oEvent.altKey) && oEvent.shiftKey) {
1075
968
  this._bDelayedEventFire = true;
1076
- this._fTempValue = Number(this._getInput().getValue());
969
+ this._fTempValue = this._parseNumber(this._getInput().getValue());
1077
970
  this._changeValueWithStep(-(this._fTempValue - this._getMin()));
1078
971
  }
1079
972
  };
@@ -1144,11 +1037,11 @@ function(
1144
1037
 
1145
1038
  if (oEvent.which === KeyCodes.ARROW_UP && !oEvent.altKey && oEvent.shiftKey && (oEvent.ctrlKey || oEvent.metaKey)) { //ctrl+shift+up
1146
1039
  fMax = this._getMax();
1147
- this._fTempValue = Number(this._getInput().getValue());
1040
+ this._fTempValue = this._parseNumber(this._getInput().getValue());
1148
1041
  fStep = (fMax !== undefined) ? fMax - this._fTempValue : 0;
1149
1042
  } else if (oEvent.which === KeyCodes.ARROW_DOWN && !oEvent.altKey && oEvent.shiftKey && (oEvent.ctrlKey || oEvent.metaKey)) { //ctrl+shift+down
1150
1043
  fMin = this._getMin();
1151
- this._fTempValue = Number(this._getInput().getValue());
1044
+ this._fTempValue = this._parseNumber(this._getInput().getValue());
1152
1045
  fStep = (fMin !== undefined) ? -(this._fTempValue - fMin) : 0;
1153
1046
  } else if (oEvent.which === KeyCodes.ARROW_UP && !(oEvent.ctrlKey || oEvent.metaKey || oEvent.altKey) && oEvent.shiftKey) { //shift+up
1154
1047
  fStep = this.getLargerStep();
@@ -1215,7 +1108,7 @@ function(
1215
1108
  * @private
1216
1109
  */
1217
1110
  StepInput.prototype._liveChange = function () {
1218
- this._disableButtons(Number(this._getInput().getValue()), this._getMax(), this._getMin());
1111
+ this._disableButtons(this._parseNumber(this._getInput().getValue()), this._getMax(), this._getMin());
1219
1112
  this._verifyValue();
1220
1113
  };
1221
1114
 
@@ -1232,7 +1125,7 @@ function(
1232
1125
  if (!this._isButtonFocused() ) {
1233
1126
 
1234
1127
  if (!this._btndown || bIsNotInValidRange) {
1235
- fOldValue = Number(this._getFormattedValue());
1128
+ fOldValue = this._parseNumber(this._getFormattedValue());
1236
1129
  if (this._fOldValue === undefined) {
1237
1130
  this._fOldValue = fOldValue;
1238
1131
  }
@@ -1242,7 +1135,7 @@ function(
1242
1135
  this._changeValue();
1243
1136
  this._bNeedsVerification = true;
1244
1137
  } else {
1245
- this._fTempValue = Number(this._getInput().getValue());
1138
+ this._fTempValue = this._parseNumber(this._getInput().getValue());
1246
1139
  }
1247
1140
  }
1248
1141
  };
@@ -1368,30 +1261,31 @@ function(
1368
1261
  * @param {sap.ui.base.Event} oEvent Event object
1369
1262
  * @private
1370
1263
  */
1371
- StepInput.prototype._restrictCharsWhenDecimal = function (oEvent) {
1372
- var iDecimalMark = oEvent.getParameter("value").indexOf("."),
1264
+ StepInput.prototype._restrictCharsWhenDecimal = function(oEvent) {
1265
+ var sDecimalSeparator = Device.system.desktop ? this._getNumberFormatter().oFormatOptions.decimalSeparator : ".";
1266
+ var iDecimalMark = oEvent.getParameter("value").indexOf(sDecimalSeparator),
1373
1267
  iCharsSet = this.getDisplayValuePrecision(),
1374
1268
  sEventValue = oEvent.getParameter("value"),
1375
1269
  sValue;
1376
1270
 
1377
1271
  if (iDecimalMark > 0 && iCharsSet >= 0) { //only for decimals
1378
- var sEventValueAfterTheDecimal = sEventValue.split('.')[1],
1272
+ var sEventValueAfterTheDecimal = sEventValue.split(sDecimalSeparator)[1],
1379
1273
  iCharsAfterTheDecimalSign = sEventValueAfterTheDecimal ? sEventValueAfterTheDecimal.length : 0,
1380
- sCharsBeforeTheEventDecimalValue = sEventValue.split('.')[0],
1381
- sCharsAfterTheEventDecimalValue = iCharsSet > 0 ? sEventValue.substring(sEventValue.indexOf('.') + 1, sEventValue.length) : '';
1274
+ sCharsBeforeTheEventDecimalValue = sEventValue.split(sDecimalSeparator)[0],
1275
+ sCharsAfterTheEventDecimalValue = iCharsSet > 0 ? sEventValue.substring(sEventValue.indexOf(sDecimalSeparator) + 1, sEventValue.length) : '';
1382
1276
 
1383
1277
  //scenario 1 - user typing after the decimal mark:
1384
1278
  if (!this._bPaste) {
1385
1279
  //if the characters after the decimal are more than the displayValuePrecision -> keep the current value after the decimal
1386
1280
  if (iCharsAfterTheDecimalSign > iCharsSet) {
1387
- sValue = sCharsBeforeTheEventDecimalValue + (iCharsSet > 0 ? "." + sCharsAfterTheEventDecimalValue.substr(0, iCharsSet) : '');
1281
+ sValue = sCharsBeforeTheEventDecimalValue + (iCharsSet > 0 ? sDecimalSeparator + sCharsAfterTheEventDecimalValue.substr(0, iCharsSet) : '');
1388
1282
  this._showWrongValueVisualEffect();
1389
1283
  }
1390
1284
 
1391
1285
  //scenario 2 - paste - cut the chars with length, bigger than displayValuePrecision
1392
1286
  } else {
1393
- if (sEventValue.indexOf(".")){
1394
- sValue = sEventValue.split('.')[0] + (iCharsSet > 0 ? "." + sEventValueAfterTheDecimal.substring(0, iCharsSet) : '');
1287
+ if (sEventValue.indexOf(sDecimalSeparator)){
1288
+ sValue = sEventValue.split(sDecimalSeparator)[0] + (iCharsSet > 0 ? sDecimalSeparator + sEventValueAfterTheDecimal.substring(0, iCharsSet) : '');
1395
1289
  }
1396
1290
  this._bPaste = false;
1397
1291
  }
@@ -1433,7 +1327,7 @@ function(
1433
1327
  */
1434
1328
  StepInput.prototype._getDefaultValue = function (value, max, min) {
1435
1329
  if (value !== "" && value !== undefined) {
1436
- return Number(this._getInput().getValue());
1330
+ return this._parseNumber(this._getInput().getValue());
1437
1331
  }
1438
1332
 
1439
1333
  if (this._isNumericLike(min) && min > 0) {
@@ -1564,7 +1458,7 @@ function(
1564
1458
  this._bSpinStarted = true;
1565
1459
  this._bDelayedEventFire = true;
1566
1460
  this._changeValueWithStep(bIncrementButton ? 1 : -1);
1567
- this._disableButtons(Number(this._getInput().getValue()), this._getMax(), this._getMin());
1461
+ this._disableButtons(this._parseNumber(this._getInput().getValue()), this._getMax(), this._getMin());
1568
1462
  if ((this._getIncrementButton().getEnabled() && bIncrementButton) || (this._getDecrementButton().getEnabled() && !bIncrementButton)) {
1569
1463
  this._spinValues(bIncrementButton);
1570
1464
  }
@@ -1709,5 +1603,13 @@ function(
1709
1603
  };
1710
1604
  };
1711
1605
 
1606
+ StepInput.prototype._parseNumber = function(sValue) {
1607
+ if (Device.system.desktop) {
1608
+ return this._getNumberFormatter().parse(sValue);
1609
+ }
1610
+
1611
+ return Number(sValue);
1612
+ };
1613
+
1712
1614
  return StepInput;
1713
1615
  });
@@ -22,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/core/IconPool'],
22
22
  * @extends sap.ui.core.Item
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.97.1
25
+ * @version 1.98.0
26
26
  * @since 1.34
27
27
  *
28
28
  * @constructor
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @alias sap.m.SuggestionsPopover
61
61
  *
62
62
  * @author SAP SE
63
- * @version 1.97.1
63
+ * @version 1.98.0
64
64
  */
65
65
  var SuggestionsPopover = EventProvider.extend("sap.m.SuggestionsPopover", /** @lends sap.m.SuggestionsPopover.prototype */ {
66
66
 
@@ -48,7 +48,7 @@ function(
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.97.1
51
+ * @version 1.98.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -208,11 +208,24 @@ function(
208
208
  return sText;
209
209
  };
210
210
 
211
+ var mParams = Object.assign({
212
+ // add base styles as default
213
+ "_sap_m_Switch_OnPosition": -32,
214
+ "_sap_m_Switch_OffPosition": 0
215
+ }, Parameters.get({
216
+ name: ["_sap_m_Switch_OnPosition", "_sap_m_Switch_OffPosition"],
217
+ callback: function (_mParams) {
218
+ Switch._ONPOSITION = Number(_mParams["_sap_m_Switch_OnPosition"]);
219
+ Switch._OFFPOSITION = Number(_mParams["_sap_m_Switch_OffPosition"]);
220
+ Switch._SWAPPOINT = Math.abs((Switch._ONPOSITION - Switch._OFFPOSITION) / 2);
221
+ }
222
+ }));
223
+
211
224
  // the position of the inner HTML element whether the switch is "ON"
212
- Switch._ONPOSITION = Number(Parameters.get("_sap_m_Switch_OnPosition"));
225
+ Switch._ONPOSITION = Number(mParams["_sap_m_Switch_OnPosition"]);
213
226
 
214
227
  // the position of the inner HTML element whether the switch is "OFF"
215
- Switch._OFFPOSITION = Number(Parameters.get("_sap_m_Switch_OffPosition"));
228
+ Switch._OFFPOSITION = Number(mParams["_sap_m_Switch_OffPosition"]);
216
229
 
217
230
  // swap point
218
231
  Switch._SWAPPOINT = Math.abs((Switch._ONPOSITION - Switch._OFFPOSITION) / 2);
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * @extends sap.ui.core.Control
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.97.1
69
+ * @version 1.98.0
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -26,7 +26,7 @@ sap.ui.define(['sap/ui/core/Element',
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.97.1
29
+ * @version 1.98.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -73,7 +73,7 @@ function(
73
73
  * space is exceeded, a horizontal scrollbar appears.
74
74
  *
75
75
  * @extends sap.ui.core.Control
76
- * @version 1.97.1
76
+ * @version 1.98.0
77
77
  *
78
78
  * @constructor
79
79
  * @private
@@ -25,7 +25,7 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
25
25
  * @extends sap.ui.core.Item
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.97.1
28
+ * @version 1.98.0
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -14,6 +14,7 @@ sap.ui.define([
14
14
  "./CheckBox",
15
15
  "./TableRenderer",
16
16
  "sap/base/Log",
17
+ "sap/ui/base/Object",
17
18
  "sap/ui/core/ResizeHandler",
18
19
  "sap/ui/core/util/PasteHelper",
19
20
  "sap/ui/events/KeyCodes",
@@ -23,7 +24,7 @@ sap.ui.define([
23
24
  // jQuery custom selectors ":sapTabbable"
24
25
  "sap/ui/dom/jquery/Selectors"
25
26
  ],
26
- function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer, Icon) {
27
+ function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, BaseObject, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer, Icon) {
27
28
  "use strict";
28
29
 
29
30
 
@@ -65,7 +66,7 @@ sap.ui.define([
65
66
  * @extends sap.m.ListBase
66
67
  *
67
68
  * @author SAP SE
68
- * @version 1.97.1
69
+ * @version 1.98.0
69
70
  *
70
71
  * @constructor
71
72
  * @public
@@ -688,7 +689,9 @@ sap.ui.define([
688
689
  };
689
690
 
690
691
  Table.prototype.onColumnPress = function(oColumn) {
691
- this.bActiveHeaders && this.fireEvent("columnPress", {
692
+ var oMenu = oColumn.getColumnHeaderMenu();
693
+ oMenu && oMenu.openBy(oColumn);
694
+ (this.bActiveHeaders || oMenu) && this.fireEvent("columnPress", {
692
695
  column: oColumn
693
696
  });
694
697
  };
@@ -1065,6 +1068,44 @@ sap.ui.define([
1065
1068
  }
1066
1069
  };
1067
1070
 
1071
+ /**
1072
+ * Sets the focus on the stored focus DOM reference.
1073
+ *
1074
+ * If {@param oFocusInfo.targetInfo} is of type {@type sap.ui.core.message.Message},
1075
+ * the focus will be set as accurately as possible according to the information provided by {@type sap.ui.core.message.Message}.
1076
+ *
1077
+ * @param {object} [oFocusInfo={}] Options for setting the focus
1078
+ * @param {boolean} [oFocusInfo.preventScroll=false] @since 1.60 If set to <code>true</code>, the focused
1079
+ * element won't be moved into the viewport if it's not completely visible before the focus is set
1080
+ * @param {any} [oFocusInfo.targetInfo] @since 1.98 Further control-specific setting of the focus target within the control
1081
+ * @public
1082
+ */
1083
+ Table.prototype.focus = function(oFocusInfo) {
1084
+ this._oFocusInfo = oFocusInfo;
1085
+ ListBase.prototype.focus.apply(this, arguments);
1086
+ delete this._oFocusInfo;
1087
+ };
1088
+
1089
+ Table.prototype.getFocusDomRef = function() {
1090
+ var bHasMessage = this._oFocusInfo && this._oFocusInfo.targetInfo && BaseObject.isA(this._oFocusInfo.targetInfo, "sap.ui.core.message.Message");
1091
+
1092
+ if (bHasMessage) {
1093
+ var $TblHeader = this.$("tblHeader");
1094
+ var $VisibleColumns = $TblHeader.find(".sapMListTblCell:visible");
1095
+
1096
+ if ($VisibleColumns.length) {
1097
+ return $TblHeader[0];
1098
+ }
1099
+
1100
+ var $NoData = this.$("nodata");
1101
+ if ($NoData.length) {
1102
+ return $NoData[0];
1103
+ }
1104
+ }
1105
+
1106
+ return ListBase.prototype.getFocusDomRef.apply(this, arguments);
1107
+ };
1108
+
1068
1109
  Table.prototype.onfocusin = function(oEvent) {
1069
1110
  var oTarget = oEvent.target;
1070
1111
  if (oTarget.id == this.getId("tblHeader")) {
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class Table Personalization Controller
39
39
  * @extends sap.ui.base.ManagedObject
40
40
  * @author SAP
41
- * @version 1.97.1
41
+ * @version 1.98.0
42
42
  * @alias sap.m.TablePersoController
43
43
  */
44
44
  var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
@@ -87,7 +87,7 @@ sap.ui.define([
87
87
  * @class Table Personalization Dialog
88
88
  * @extends sap.ui.base.ManagedObject
89
89
  * @author SAP
90
- * @version 1.97.1
90
+ * @version 1.98.0
91
91
  * @alias sap.m.TablePersoDialog
92
92
  */
93
93
  var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
21
21
  * @extends sap.ui.base.ManagedObject
22
22
  * @abstract
23
23
  * @author SAP
24
- * @version 1.97.1
24
+ * @version 1.98.0
25
25
  * @alias sap.m.TablePersoProvider
26
26
  */
27
27
  var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
@@ -211,12 +211,13 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
211
211
  rm.openStart("div");
212
212
  rm.class("sapMColumnHeader");
213
213
 
214
- if (oTable.bActiveHeaders && !control.isA("sap.ui.core.InvisibleText")) {
214
+ var oMenu = oColumn.getColumnHeaderMenu();
215
+ if ((oTable.bActiveHeaders || oMenu) && !control.isA("sap.ui.core.InvisibleText")) {
215
216
  // add active header attributes and style class
216
217
  rm.attr("tabindex", 0);
217
218
  rm.attr("role", "button");
218
- rm.attr("aria-haspopup", "dialog");
219
219
  rm.class("sapMColumnHeaderActive");
220
+ rm.attr("aria-haspopup", oMenu ? oMenu.getAriaHasPopupType().toLowerCase() : "dialog");
220
221
  } else if (oTable.bFocusableHeaders) {
221
222
  rm.attr("tabindex", 0);
222
223
  rm.class("sapMColumnHeaderFocusable");