@openui5/sap.m 1.92.0 → 1.93.3

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 (399) hide show
  1. package/.reuse/dep5 +5 -0
  2. package/THIRDPARTY.txt +10 -1
  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 +1 -1
  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 +14 -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 +9 -6
  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 +9 -4
  20. package/src/sap/m/CheckBoxRenderer.js +1 -1
  21. package/src/sap/m/ColorPalette.js +1 -1
  22. package/src/sap/m/ColorPalettePopover.js +1 -1
  23. package/src/sap/m/Column.js +9 -1
  24. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  25. package/src/sap/m/ColumnListItem.js +8 -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 +1 -1
  32. package/src/sap/m/ComboBoxBase.js +1 -1
  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 +9 -2
  39. package/src/sap/m/DateRangeSelection.js +2 -2
  40. package/src/sap/m/DateTimeField.js +69 -1
  41. package/src/sap/m/DateTimeInput.js +1 -1
  42. package/src/sap/m/DateTimePicker.js +15 -8
  43. package/src/sap/m/Dialog.js +3 -3
  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 +53 -8
  47. package/src/sap/m/DynamicDateFormat.js +12 -1
  48. package/src/sap/m/DynamicDateOption.js +1 -1
  49. package/src/sap/m/DynamicDateRange.js +96 -17
  50. package/src/sap/m/DynamicDateUtil.js +20 -2
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  52. package/src/sap/m/ExpandableText.js +4 -2
  53. package/src/sap/m/FacetFilter.js +1 -1
  54. package/src/sap/m/FacetFilterItem.js +1 -1
  55. package/src/sap/m/FacetFilterList.js +2 -2
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +5 -2
  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 +32 -67
  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 +1 -1
  66. package/src/sap/m/GenericTileRenderer.js +46 -8
  67. package/src/sap/m/GroupHeaderListItem.js +1 -1
  68. package/src/sap/m/GrowingEnablement.js +31 -34
  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 -2
  74. package/src/sap/m/IconTabBarSelectList.js +1 -1
  75. package/src/sap/m/IconTabFilter.js +68 -32
  76. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  77. package/src/sap/m/IconTabHeader.js +18 -7
  78. package/src/sap/m/IconTabHeaderRenderer.js +1 -0
  79. package/src/sap/m/IconTabSeparator.js +1 -1
  80. package/src/sap/m/Image.js +1 -1
  81. package/src/sap/m/ImageContent.js +1 -1
  82. package/src/sap/m/Input.js +23 -15
  83. package/src/sap/m/InputBase.js +4 -2
  84. package/src/sap/m/InputListItem.js +1 -1
  85. package/src/sap/m/Label.js +1 -1
  86. package/src/sap/m/LightBox.js +1 -1
  87. package/src/sap/m/LightBoxItem.js +1 -1
  88. package/src/sap/m/Link.js +2 -2
  89. package/src/sap/m/List.js +1 -1
  90. package/src/sap/m/ListBase.js +50 -20
  91. package/src/sap/m/ListItemBase.js +8 -7
  92. package/src/sap/m/MaskEnabler.js +1 -1
  93. package/src/sap/m/MaskInput.js +1 -1
  94. package/src/sap/m/MaskInputRule.js +1 -1
  95. package/src/sap/m/Menu.js +1 -1
  96. package/src/sap/m/MenuButton.js +2 -2
  97. package/src/sap/m/MenuItem.js +1 -1
  98. package/src/sap/m/MenuListItem.js +1 -1
  99. package/src/sap/m/MessageBox.js +30 -0
  100. package/src/sap/m/MessageItem.js +1 -16
  101. package/src/sap/m/MessageListItem.js +1 -1
  102. package/src/sap/m/MessagePage.js +1 -1
  103. package/src/sap/m/MessagePopover.js +1 -4
  104. package/src/sap/m/MessagePopoverItem.js +1 -1
  105. package/src/sap/m/MessageStrip.js +1 -1
  106. package/src/sap/m/MessageStripUtilities.js +15 -2
  107. package/src/sap/m/MessageToast.js +2 -2
  108. package/src/sap/m/MessageView.js +17 -28
  109. package/src/sap/m/MultiComboBox.js +169 -164
  110. package/src/sap/m/MultiEditField.js +1 -1
  111. package/src/sap/m/MultiInput.js +2 -3
  112. package/src/sap/m/NavContainer.js +9 -7
  113. package/src/sap/m/NewsContent.js +1 -1
  114. package/src/sap/m/NotificationList.js +1 -1
  115. package/src/sap/m/NotificationListBase.js +1 -1
  116. package/src/sap/m/NotificationListGroup.js +1 -1
  117. package/src/sap/m/NotificationListItem.js +1 -1
  118. package/src/sap/m/NumericContent.js +1 -1
  119. package/src/sap/m/ObjectAttribute.js +1 -1
  120. package/src/sap/m/ObjectHeader.js +1 -1
  121. package/src/sap/m/ObjectHeaderRenderer.js +10 -7
  122. package/src/sap/m/ObjectIdentifier.js +1 -1
  123. package/src/sap/m/ObjectListItem.js +1 -1
  124. package/src/sap/m/ObjectMarker.js +1 -1
  125. package/src/sap/m/ObjectNumber.js +1 -1
  126. package/src/sap/m/ObjectStatus.js +1 -1
  127. package/src/sap/m/OverflowToolbar.js +10 -6
  128. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  129. package/src/sap/m/OverflowToolbarButton.js +1 -1
  130. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  131. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  132. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  133. package/src/sap/m/P13nColumnsItem.js +1 -1
  134. package/src/sap/m/P13nColumnsPanel.js +1 -1
  135. package/src/sap/m/P13nConditionPanel.js +1 -1
  136. package/src/sap/m/P13nDialog.js +1 -1
  137. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  138. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  139. package/src/sap/m/P13nFilterItem.js +1 -1
  140. package/src/sap/m/P13nFilterPanel.js +1 -1
  141. package/src/sap/m/P13nGroupItem.js +1 -1
  142. package/src/sap/m/P13nGroupPanel.js +1 -1
  143. package/src/sap/m/P13nItem.js +1 -1
  144. package/src/sap/m/P13nPanel.js +1 -1
  145. package/src/sap/m/P13nSelectionItem.js +1 -1
  146. package/src/sap/m/P13nSelectionPanel.js +1 -1
  147. package/src/sap/m/P13nSortItem.js +1 -1
  148. package/src/sap/m/P13nSortPanel.js +1 -1
  149. package/src/sap/m/PDFViewer.js +1 -1
  150. package/src/sap/m/Page.js +1 -1
  151. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  152. package/src/sap/m/PagingButton.js +1 -1
  153. package/src/sap/m/Panel.js +1 -1
  154. package/src/sap/m/PlanningCalendar.js +167 -44
  155. package/src/sap/m/PlanningCalendarHeader.js +36 -5
  156. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  157. package/src/sap/m/PlanningCalendarRow.js +1 -1
  158. package/src/sap/m/PlanningCalendarView.js +26 -2
  159. package/src/sap/m/Popover.js +11 -2
  160. package/src/sap/m/ProgressIndicator.js +1 -1
  161. package/src/sap/m/PullToRefresh.js +1 -1
  162. package/src/sap/m/QuickView.js +1 -1
  163. package/src/sap/m/QuickViewBase.js +1 -1
  164. package/src/sap/m/QuickViewCard.js +1 -1
  165. package/src/sap/m/QuickViewGroup.js +1 -1
  166. package/src/sap/m/QuickViewGroupElement.js +1 -1
  167. package/src/sap/m/QuickViewPage.js +5 -5
  168. package/src/sap/m/RadioButton.js +1 -1
  169. package/src/sap/m/RadioButtonGroup.js +1 -1
  170. package/src/sap/m/RangeSlider.js +1 -1
  171. package/src/sap/m/RatingIndicator.js +69 -29
  172. package/src/sap/m/ResponsivePopover.js +1 -1
  173. package/src/sap/m/ResponsiveScale.js +1 -1
  174. package/src/sap/m/ScrollBar.js +1 -1
  175. package/src/sap/m/ScrollContainer.js +1 -1
  176. package/src/sap/m/SearchField.js +34 -19
  177. package/src/sap/m/SearchFieldRenderer.js +13 -3
  178. package/src/sap/m/SegmentedButton.js +1 -1
  179. package/src/sap/m/SegmentedButtonItem.js +1 -1
  180. package/src/sap/m/SegmentedButtonRenderer.js +6 -0
  181. package/src/sap/m/Select.js +21 -13
  182. package/src/sap/m/SelectDialog.js +21 -49
  183. package/src/sap/m/SelectDialogBase.js +148 -0
  184. package/src/sap/m/SelectList.js +13 -3
  185. package/src/sap/m/SelectRenderer.js +19 -3
  186. package/src/sap/m/SelectionDetails.js +5 -2
  187. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  188. package/src/sap/m/SelectionDetailsItem.js +1 -1
  189. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  190. package/src/sap/m/Shell.js +1 -1
  191. package/src/sap/m/SimpleFixFlex.js +1 -1
  192. package/src/sap/m/SinglePlanningCalendar.js +4 -1
  193. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  194. package/src/sap/m/SinglePlanningCalendarGrid.js +48 -5
  195. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +27 -19
  196. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -1
  197. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  201. package/src/sap/m/SlideTile.js +3 -3
  202. package/src/sap/m/Slider.js +1 -1
  203. package/src/sap/m/SliderRenderer.js +2 -2
  204. package/src/sap/m/SliderTooltip.js +1 -1
  205. package/src/sap/m/SliderTooltipBase.js +1 -1
  206. package/src/sap/m/SliderTooltipContainer.js +1 -1
  207. package/src/sap/m/SplitApp.js +1 -1
  208. package/src/sap/m/SplitButton.js +1 -1
  209. package/src/sap/m/SplitButtonRenderer.js +5 -1
  210. package/src/sap/m/SplitContainer.js +1 -1
  211. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  212. package/src/sap/m/StandardListItem.js +1 -1
  213. package/src/sap/m/StandardTile.js +1 -1
  214. package/src/sap/m/StandardTreeItem.js +1 -1
  215. package/src/sap/m/StepInput.js +1 -1
  216. package/src/sap/m/SuggestionItem.js +1 -1
  217. package/src/sap/m/SuggestionsPopover.js +44 -1
  218. package/src/sap/m/Switch.js +9 -1
  219. package/src/sap/m/TabContainer.js +1 -1
  220. package/src/sap/m/TabContainerItem.js +1 -1
  221. package/src/sap/m/TabStrip.js +1 -1
  222. package/src/sap/m/TabStripItem.js +1 -1
  223. package/src/sap/m/Table.js +48 -6
  224. package/src/sap/m/TablePersoController.js +1 -1
  225. package/src/sap/m/TablePersoDialog.js +1 -1
  226. package/src/sap/m/TablePersoProvider.js +1 -1
  227. package/src/sap/m/TableRenderer.js +3 -2
  228. package/src/sap/m/TableSelectDialog.js +21 -46
  229. package/src/sap/m/Text.js +2 -2
  230. package/src/sap/m/TextArea.js +1 -1
  231. package/src/sap/m/Tile.js +1 -1
  232. package/src/sap/m/TileContainer.js +2 -2
  233. package/src/sap/m/TileContent.js +1 -1
  234. package/src/sap/m/TimePicker.js +8 -3
  235. package/src/sap/m/TimePickerClock.js +1 -1
  236. package/src/sap/m/TimePickerClocks.js +3 -1
  237. package/src/sap/m/TimePickerInputs.js +3 -1
  238. package/src/sap/m/TimePickerInternals.js +1 -1
  239. package/src/sap/m/TimePickerSlider.js +1 -1
  240. package/src/sap/m/TimePickerSliders.js +1 -1
  241. package/src/sap/m/TimePickerSlidersRenderer.js +0 -1
  242. package/src/sap/m/Title.js +1 -1
  243. package/src/sap/m/TitlePropagationSupport.js +1 -1
  244. package/src/sap/m/ToggleButton.js +1 -1
  245. package/src/sap/m/Token.js +1 -1
  246. package/src/sap/m/Tokenizer.js +2 -1
  247. package/src/sap/m/TokenizerRenderer.js +1 -0
  248. package/src/sap/m/Toolbar.js +1 -1
  249. package/src/sap/m/ToolbarLayoutData.js +1 -1
  250. package/src/sap/m/ToolbarSeparator.js +1 -1
  251. package/src/sap/m/ToolbarSpacer.js +1 -1
  252. package/src/sap/m/Tree.js +1 -1
  253. package/src/sap/m/TreeItemBase.js +4 -4
  254. package/src/sap/m/UploadCollection.js +1 -1
  255. package/src/sap/m/UploadCollectionItem.js +1 -1
  256. package/src/sap/m/UploadCollectionParameter.js +1 -1
  257. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  258. package/src/sap/m/VBox.js +1 -1
  259. package/src/sap/m/ValueStateHeader.js +1 -1
  260. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  261. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  262. package/src/sap/m/ViewSettingsDialog.js +7 -7
  263. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  264. package/src/sap/m/ViewSettingsItem.js +1 -1
  265. package/src/sap/m/VisibleItem.js +1 -1
  266. package/src/sap/m/WheelSlider.js +1 -1
  267. package/src/sap/m/WheelSliderContainer.js +1 -1
  268. package/src/sap/m/Wizard.js +1 -1
  269. package/src/sap/m/WizardProgressNavigator.js +1 -1
  270. package/src/sap/m/WizardStep.js +1 -1
  271. package/src/sap/m/changeHandler/AddTableColumn.js +76 -44
  272. package/src/sap/m/changeHandler/ChangeLinkTarget.js +18 -23
  273. package/src/sap/m/changeHandler/CombineButtons.js +280 -173
  274. package/src/sap/m/changeHandler/MoveTableColumns.js +143 -111
  275. package/src/sap/m/changeHandler/SplitMenuButton.js +141 -93
  276. package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
  277. package/src/sap/m/inputUtils/wordStartsWithValue.js +5 -1
  278. package/src/sap/m/library.js +26 -2
  279. package/src/sap/m/messagebundle.properties +10 -1
  280. package/src/sap/m/messagebundle_ar.properties +7 -0
  281. package/src/sap/m/messagebundle_bg.properties +7 -0
  282. package/src/sap/m/messagebundle_ca.properties +7 -0
  283. package/src/sap/m/messagebundle_cs.properties +7 -0
  284. package/src/sap/m/messagebundle_cy.properties +7 -0
  285. package/src/sap/m/messagebundle_da.properties +7 -0
  286. package/src/sap/m/messagebundle_de.properties +11 -4
  287. package/src/sap/m/messagebundle_el.properties +7 -0
  288. package/src/sap/m/messagebundle_en.properties +7 -0
  289. package/src/sap/m/messagebundle_en_GB.properties +7 -0
  290. package/src/sap/m/messagebundle_en_US_sappsd.properties +6 -0
  291. package/src/sap/m/messagebundle_en_US_saptrc.properties +7 -0
  292. package/src/sap/m/messagebundle_es.properties +7 -0
  293. package/src/sap/m/messagebundle_es_MX.properties +7 -0
  294. package/src/sap/m/messagebundle_et.properties +7 -0
  295. package/src/sap/m/messagebundle_fi.properties +7 -0
  296. package/src/sap/m/messagebundle_fr.properties +7 -0
  297. package/src/sap/m/messagebundle_fr_CA.properties +7 -0
  298. package/src/sap/m/messagebundle_hi.properties +7 -0
  299. package/src/sap/m/messagebundle_hr.properties +7 -0
  300. package/src/sap/m/messagebundle_hu.properties +7 -0
  301. package/src/sap/m/messagebundle_id.properties +7 -0
  302. package/src/sap/m/messagebundle_it.properties +7 -0
  303. package/src/sap/m/messagebundle_iw.properties +7 -0
  304. package/src/sap/m/messagebundle_ja.properties +7 -0
  305. package/src/sap/m/messagebundle_kk.properties +7 -0
  306. package/src/sap/m/messagebundle_ko.properties +7 -0
  307. package/src/sap/m/messagebundle_lt.properties +7 -0
  308. package/src/sap/m/messagebundle_lv.properties +7 -0
  309. package/src/sap/m/messagebundle_ms.properties +7 -0
  310. package/src/sap/m/messagebundle_nl.properties +7 -0
  311. package/src/sap/m/messagebundle_no.properties +7 -0
  312. package/src/sap/m/messagebundle_pl.properties +7 -0
  313. package/src/sap/m/messagebundle_pt.properties +7 -0
  314. package/src/sap/m/messagebundle_pt_PT.properties +7 -0
  315. package/src/sap/m/messagebundle_ro.properties +7 -0
  316. package/src/sap/m/messagebundle_ru.properties +7 -0
  317. package/src/sap/m/messagebundle_sh.properties +7 -0
  318. package/src/sap/m/messagebundle_sk.properties +7 -0
  319. package/src/sap/m/messagebundle_sl.properties +7 -0
  320. package/src/sap/m/messagebundle_sv.properties +7 -0
  321. package/src/sap/m/messagebundle_th.properties +7 -0
  322. package/src/sap/m/messagebundle_tr.properties +7 -0
  323. package/src/sap/m/messagebundle_uk.properties +7 -0
  324. package/src/sap/m/messagebundle_vi.properties +7 -0
  325. package/src/sap/m/messagebundle_zh_CN.properties +7 -0
  326. package/src/sap/m/messagebundle_zh_TW.properties +7 -0
  327. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  328. package/src/sap/m/plugins/DataStateIndicator.js +5 -3
  329. package/src/sap/m/plugins/PasteProvider.js +1 -1
  330. package/src/sap/m/plugins/PluginBase.js +1 -1
  331. package/src/sap/m/semantic/AddAction.js +1 -1
  332. package/src/sap/m/semantic/CancelAction.js +1 -1
  333. package/src/sap/m/semantic/DeleteAction.js +1 -1
  334. package/src/sap/m/semantic/DetailPage.js +1 -1
  335. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  336. package/src/sap/m/semantic/EditAction.js +1 -1
  337. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  338. package/src/sap/m/semantic/FilterAction.js +1 -1
  339. package/src/sap/m/semantic/FilterSelect.js +1 -1
  340. package/src/sap/m/semantic/FlagAction.js +1 -1
  341. package/src/sap/m/semantic/ForwardAction.js +1 -1
  342. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  343. package/src/sap/m/semantic/GroupAction.js +1 -1
  344. package/src/sap/m/semantic/GroupSelect.js +1 -1
  345. package/src/sap/m/semantic/MainAction.js +1 -1
  346. package/src/sap/m/semantic/MasterPage.js +1 -1
  347. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  348. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  349. package/src/sap/m/semantic/NegativeAction.js +1 -1
  350. package/src/sap/m/semantic/OpenInAction.js +1 -1
  351. package/src/sap/m/semantic/PositiveAction.js +1 -1
  352. package/src/sap/m/semantic/PrintAction.js +1 -1
  353. package/src/sap/m/semantic/SaveAction.js +1 -1
  354. package/src/sap/m/semantic/Segment.js +1 -1
  355. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  356. package/src/sap/m/semantic/SemanticButton.js +1 -1
  357. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  358. package/src/sap/m/semantic/SemanticControl.js +1 -1
  359. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  360. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  361. package/src/sap/m/semantic/SemanticPage.js +1 -1
  362. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  363. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  364. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  365. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  366. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  367. package/src/sap/m/semantic/ShareMenu.js +1 -1
  368. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  369. package/src/sap/m/semantic/SortAction.js +1 -1
  370. package/src/sap/m/semantic/SortSelect.js +1 -1
  371. package/src/sap/m/themes/base/Carousel.less +37 -2
  372. package/src/sap/m/themes/base/CheckBox.less +1 -1
  373. package/src/sap/m/themes/base/Dialog.less +11 -5
  374. package/src/sap/m/themes/base/FeedInput.less +5 -6
  375. package/src/sap/m/themes/base/GenericTile.less +130 -7
  376. package/src/sap/m/themes/base/IconTabBar.less +179 -64
  377. package/src/sap/m/themes/base/IconTabBarSelectList.less +12 -2
  378. package/src/sap/m/themes/base/InputBase.less +0 -24
  379. package/src/sap/m/themes/base/Label.less +6 -0
  380. package/src/sap/m/themes/base/ListItemBase.less +4 -2
  381. package/src/sap/m/themes/base/NotificationListBase.less +1 -1
  382. package/src/sap/m/themes/base/ObjectHeader.less +2 -1
  383. package/src/sap/m/themes/base/ObjectStatus.less +9 -2
  384. package/src/sap/m/themes/base/PlanningCalendar.less +23 -7
  385. package/src/sap/m/themes/base/Popover.less +1 -1
  386. package/src/sap/m/themes/base/ProgressIndicator.less +7 -6
  387. package/src/sap/m/themes/base/RadioButton.less +3 -0
  388. package/src/sap/m/themes/base/SearchField.less +22 -15
  389. package/src/sap/m/themes/base/SegmentedButton.less +1 -1
  390. package/src/sap/m/themes/base/StandardListItem.less +5 -1
  391. package/src/sap/m/themes/base/Table.less +14 -12
  392. package/src/sap/m/themes/base/Text.less +6 -0
  393. package/src/sap/m/themes/base/TimePicker.less +5 -1
  394. package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
  395. package/src/sap/m/themes/base/Toolbar.less +6 -0
  396. package/src/sap/m/themes/base/ViewSettingsDialog.less +1 -1
  397. package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
  398. package/src/sap/m/upload/UploadSet.js +1 -1
  399. package/src/sap/m/upload/UploadSetItem.js +16 -1
@@ -71,6 +71,8 @@ function(
71
71
  // shortcut for sap.m.Sticky
72
72
  var Sticky = library.Sticky;
73
73
 
74
+ // shortcut for sap.m.MultiSelectMode
75
+ var MultiSelectMode = library.MultiSelectMode;
74
76
 
75
77
  /**
76
78
  * Constructor for a new ListBase.
@@ -88,7 +90,7 @@ function(
88
90
  * @extends sap.ui.core.Control
89
91
  *
90
92
  * @author SAP SE
91
- * @version 1.92.0
93
+ * @version 1.93.3
92
94
  *
93
95
  * @constructor
94
96
  * @public
@@ -243,7 +245,24 @@ function(
243
245
  *
244
246
  * @since 1.58
245
247
  */
246
- sticky : {type : "sap.m.Sticky[]", group : "Appearance"}
248
+ sticky : {type : "sap.m.Sticky[]", group : "Appearance"},
249
+
250
+ /**
251
+ * Defines the multi-selection mode for the control.
252
+ * If this property is set to the <code>Default</code> value, the <code>sap.m.Table</code> control renders
253
+ * the Select All checkbox in the column header, otherwise the Deselect All icon is rendered.
254
+ * The Select All checkbox allows the user to select all the items in the control, and
255
+ * the Deselect All icon deselects the items.
256
+ * If the property is set to <code>ClearAll</code>, then selecting items via the <code>selectAll</code> method is not possible. See {@link #selectAll selectAll} for more details.
257
+ *
258
+ * <b>Note:</b> This property must be used with the <code>MultiSelect</code> mode.
259
+ * If this property is set to <code>ClearAll</code>, then a selection of multiple items is still possible
260
+ * via the range selection feature except <i>CTRL + A</i>.
261
+ * Additionally, the <i>CTRL + SHIFT + A</i> key combination can be used for deselecting all the items.
262
+ * For details on the range selection, please see {@link topic:8a0d4efa29d44ef39219c18d832012da Keyboard Handling for Item Selection}.
263
+ * @since 1.93
264
+ */
265
+ multiSelectMode : {type: "sap.m.MultiSelectMode", group: "Behavior", defaultValue: MultiSelectMode.Default}
247
266
  },
248
267
  defaultAggregation : "items",
249
268
  aggregations : {
@@ -524,11 +543,11 @@ function(
524
543
  // announce accessibility details at the initial focus
525
544
  ListBase.prototype.bAnnounceDetails = true;
526
545
 
527
- // determines whether range selection and select all feature should be enabled for MultiSelect mode
528
- ListBase.prototype.bPreventMassSelection = false;
529
-
530
546
  ListBase.getInvisibleText = function() {
531
- return this.oInvisibleText || (this.oInvisibleText = new InvisibleText().toStatic());
547
+ if (!this.oInvisibleText) {
548
+ this.oInvisibleText = new InvisibleText().toStatic();
549
+ }
550
+ return this.oInvisibleText;
532
551
  };
533
552
 
534
553
  // class name for the navigation items
@@ -959,9 +978,10 @@ function(
959
978
 
960
979
 
961
980
  /**
962
- * Select all items in "MultiSelection" mode.
981
+ * Selects all items in the <code>MultiSelection</code> mode.
963
982
  *
964
- * <b>Note:</b> In case <code>growing</code> is enabled, only the visible items in the list will be selected.
983
+ * <b>Note:</b> If <code>growing</code> is enabled, only the visible items in the list are selected.
984
+ * Since version 1.93, the items are not selected if <code>getMultiSelectMode=ClearAll</code>.
965
985
  *
966
986
  * @type this
967
987
  * @public
@@ -969,7 +989,7 @@ function(
969
989
  * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
970
990
  */
971
991
  ListBase.prototype.selectAll = function (bFireEvent) {
972
- if (this.getMode() != "MultiSelect") {
992
+ if (this.getMode() != "MultiSelect" || this.getMultiSelectMode() == MultiSelectMode.ClearAll) {
973
993
  return this;
974
994
  }
975
995
 
@@ -1030,7 +1050,6 @@ function(
1030
1050
  return this.setProperty("mode", sMode);
1031
1051
  };
1032
1052
 
1033
-
1034
1053
  /**
1035
1054
  * Returns growing information as object with "actual" and "total" keys.
1036
1055
  * Note: This function returns "null" if "growing" feature is disabled.
@@ -1430,7 +1449,7 @@ function(
1430
1449
  ListBase.prototype.onItemSelect = function(oListItem, bSelected) {
1431
1450
  var sMode = this.getMode();
1432
1451
 
1433
- if (this._mRangeSelection && !this.bPreventMassSelection) {
1452
+ if (this._mRangeSelection) {
1434
1453
  // if this._mRangeSelection.selected == false, then simply select the item
1435
1454
  if (!this._mRangeSelection.selected) {
1436
1455
  this._fireSelectionChangeEvent([oListItem]);
@@ -1543,7 +1562,6 @@ function(
1543
1562
  oEvent.metaKey ||
1544
1563
  this.getMode() !== ListMode.MultiSelect ||
1545
1564
  !oItem.isSelectable() ||
1546
- this.bPreventMassSelection ||
1547
1565
  oEvent.which === KeyCodes.F6) {
1548
1566
  if (this._mRangeSelection) {
1549
1567
  this._mRangeSelection = null;
@@ -1623,12 +1641,13 @@ function(
1623
1641
  };
1624
1642
 
1625
1643
  ListBase.prototype._getSwipeContainer = function() {
1626
- return this._$swipeContainer || (
1644
+ if (!this._$swipeContainer) {
1627
1645
  this._$swipeContainer = jQuery("<div>", {
1628
1646
  "id" : this.getId("swp"),
1629
1647
  "class" : "sapMListSwp"
1630
- })
1631
- );
1648
+ });
1649
+ }
1650
+ return this._$swipeContainer;
1632
1651
  };
1633
1652
 
1634
1653
  ListBase.prototype._setSwipePosition = function() {
@@ -2294,13 +2313,22 @@ function(
2294
2313
  // Ctrl + A to switch select all/none
2295
2314
  ListBase.prototype.onkeydown = function(oEvent) {
2296
2315
  var bCtrlA = (oEvent.which == KeyCodes.A) && (oEvent.metaKey || oEvent.ctrlKey);
2297
- if (oEvent.isMarked() || !bCtrlA || !jQuery(oEvent.target).hasClass(this.sNavItemClass) || this.bPreventMassSelection) {
2316
+
2317
+ if (oEvent.isMarked() || !bCtrlA || !jQuery(oEvent.target).hasClass(this.sNavItemClass) ) {
2318
+ return;
2319
+ }
2320
+ var sMultiSelectMode = this.getMultiSelectMode();
2321
+ var bCtrlShiftA = bCtrlA && oEvent.shiftKey && sMultiSelectMode == MultiSelectMode.ClearAll;
2322
+ if (bCtrlShiftA) {
2323
+ oEvent.preventDefault();
2324
+ oEvent.setMarked();
2325
+ this.removeSelections(false, true);
2298
2326
  return;
2299
2327
  }
2300
2328
 
2301
2329
  oEvent.preventDefault();
2302
2330
 
2303
- if (this.getMode() !== ListMode.MultiSelect) {
2331
+ if (this.getMode() !== ListMode.MultiSelect || sMultiSelectMode === MultiSelectMode.ClearAll) {
2304
2332
  return;
2305
2333
  }
2306
2334
 
@@ -2434,7 +2462,7 @@ function(
2434
2462
  };
2435
2463
 
2436
2464
  ListBase.prototype.onItemUpDownModifiers = function(oItem, oEvent, iDirection) {
2437
- if (!this._mRangeSelection || this.bPreventMassSelection) {
2465
+ if (!this._mRangeSelection) {
2438
2466
  return;
2439
2467
  }
2440
2468
 
@@ -2510,7 +2538,8 @@ function(
2510
2538
  ListBase.prototype.getStickyStyleValue = function() {
2511
2539
  var aSticky = this.getSticky();
2512
2540
  if (!aSticky || !aSticky.length) {
2513
- return (this._iStickyValue = 0);
2541
+ this._iStickyValue = 0;
2542
+ return this._iStickyValue;
2514
2543
  }
2515
2544
 
2516
2545
  var iStickyValue = 0,
@@ -2537,7 +2566,8 @@ function(
2537
2566
  }
2538
2567
  });
2539
2568
 
2540
- return (this._iStickyValue = iStickyValue);
2569
+ this._iStickyValue = iStickyValue;
2570
+ return this._iStickyValue;
2541
2571
  };
2542
2572
 
2543
2573
  // gets the sticky header position and scrolls the page so that the item is completely visible when focused
@@ -76,7 +76,7 @@ function(
76
76
  * @extends sap.ui.core.Control
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.92.0
79
+ * @version 1.93.3
80
80
  *
81
81
  * @constructor
82
82
  * @public
@@ -754,7 +754,7 @@ function(
754
754
  * By default, when item should be in selectable mode
755
755
  *
756
756
  * Subclasses can overwrite in case of unselectable item.
757
- * @returns {Boolean}
757
+ * @returns {boolean}
758
758
  * @private
759
759
  */
760
760
  ListItemBase.prototype.isSelectable = function() {
@@ -773,10 +773,11 @@ function(
773
773
  * Returns the state of the item selection as a boolean
774
774
  *
775
775
  * @public
776
- * @return boolean
776
+ * @returns {boolean}
777
777
  * @deprecated Since version 1.10.2.
778
- * API Change makes this method unnecessary. Use getSelected method instead.
778
+ * API Change makes this method unnecessary. Use the {@link #getSelected} method instead.
779
779
  * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
780
+ * @function
780
781
  */
781
782
  ListItemBase.prototype.isSelected = ListItemBase.prototype.getSelected;
782
783
 
@@ -833,7 +834,7 @@ function(
833
834
  /**
834
835
  * Determines whether group header item or not.
835
836
  *
836
- * @return {Boolean}
837
+ * @return {boolean}
837
838
  */
838
839
  ListItemBase.prototype.isGroupHeader = function() {
839
840
  return this._bGroupHeader;
@@ -843,7 +844,7 @@ function(
843
844
  * Determines whether item is in SingleSelectMaster mode or
844
845
  * other selection modes when includeItemInSelection is true
845
846
  *
846
- * @return {Boolean}
847
+ * @return {boolean}
847
848
  */
848
849
  ListItemBase.prototype.isIncludedIntoSelection = function() {
849
850
  if (!this.isSelectable()) {
@@ -886,7 +887,7 @@ function(
886
887
  /**
887
888
  * Determines whether item needs icon to render type or not
888
889
  *
889
- * @return {Boolean}
890
+ * @return {boolean}
890
891
  */
891
892
  ListItemBase.prototype.hasActiveType = function() {
892
893
  var sType = this.getType();
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * Applies mask support for input controls.
26
26
  * It should should be applied to the prototype of a <code>sap.m.InputBase</code>.
27
27
  *
28
- * @version 1.92.0
28
+ * @version 1.93.3
29
29
  * @private
30
30
  * @mixin
31
31
  * @alias sap.m.MaskEnabler
@@ -21,7 +21,7 @@ sap.ui.define(['./InputBase', './MaskEnabler', './MaskInputRenderer'], function(
21
21
  *
22
22
  * @author SAP SE
23
23
  * @extends sap.m.InputBase
24
- * @version 1.92.0
24
+ * @version 1.93.3
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log"], function(Element, Log) {
20
20
  *
21
21
  * @author SAP SE
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.92.0
23
+ * @version 1.93.3
24
24
  * @public
25
25
  * @constructor
26
26
  * @since 1.34.0
package/src/sap/m/Menu.js CHANGED
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * @implements sap.ui.core.IContextMenu
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.92.0
69
+ * @version 1.93.3
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Control
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.92.0
61
+ * @version 1.93.3
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -445,8 +445,8 @@ sap.ui.define([
445
445
  case Dock.EndBottom:
446
446
  aParam.push(Dock.EndTop, Dock.EndBottom, oOffset.minus2_right);
447
447
  break;
448
- default:
449
448
  case Dock.BeginBottom:
449
+ default:
450
450
  aParam.push(Dock.BeginTop, Dock.BeginBottom, oOffset.minus2_right);
451
451
  break;
452
452
  }
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/base/ManagedObjectObserv
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.92.0
26
+ * @version 1.93.3
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.m.ListItemBase
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.92.0
35
+ * @version 1.93.3
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -534,6 +534,11 @@ sap.ui.define([
534
534
  * @param {object} [mOptions] Other options (optional)
535
535
  * @param {function} [mOptions.onClose] callback function to be called when the user closes the dialog
536
536
  * @param {string} [mOptions.title='Alert'] Title to be displayed in the alert dialog
537
+ * @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
538
+ * If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
539
+ * Custom action(s) string or an array can be provided, and then the translation
540
+ * of custom actions needs to be done by the application.
541
+ * @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
537
542
  * @param {string} [mOptions.id] ID to be used for the alert dialog. Intended for test scenarios, not recommended for productive apps
538
543
  * @param {string} [mOptions.styleClass] Added since version 1.21.2. CSS style class which is added to the alert dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
539
544
  * @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] Added since version 1.28.0. initialFocus, this option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
@@ -615,6 +620,11 @@ sap.ui.define([
615
620
  * @param {object} [mOptions] Other options (optional)
616
621
  * @param {function} [mOptions.onClose] Callback to be called when the user closes the dialog
617
622
  * @param {string} [mOptions.title='Confirmation'] Title to display in the confirmation dialog
623
+ * @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
624
+ * If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
625
+ * Custom action(s) string or an array can be provided, and then the translation
626
+ * of custom actions needs to be done by the application.
627
+ * @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
618
628
  * @param {string} [mOptions.id] ID to be used for the confirmation dialog. Intended for test scenarios, not recommended for productive apps
619
629
  * @param {string} [mOptions.styleClass] Added since version 1.21.2. CSS style class which is added to the confirmation dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
620
630
  * @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] Added since version 1.28.0. initialFocus, this option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
@@ -691,6 +701,11 @@ sap.ui.define([
691
701
  * @param {object} [mOptions] Other options (optional)
692
702
  * @param {function} [mOptions.onClose] Callback when the user closes the dialog
693
703
  * @param {string} [mOptions.title='Error'] Title of the error dialog
704
+ * @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
705
+ * If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
706
+ * Custom action(s) string or an array can be provided, and then the translation
707
+ * of custom actions needs to be done by the application.
708
+ * @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
694
709
  * @param {string} [mOptions.id] ID for the error dialog. Intended for test scenarios, not recommended for productive apps
695
710
  * @param {string} [mOptions.styleClass] CSS style class which is added to the error dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
696
711
  * @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
@@ -752,6 +767,11 @@ sap.ui.define([
752
767
  * @param {object} [mOptions] Other options (optional)
753
768
  * @param {function} [mOptions.onClose] Callback when the user closes the dialog
754
769
  * @param {string} [mOptions.title='Information'] Title of the information dialog
770
+ * @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
771
+ * If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
772
+ * Custom action(s) string or an array can be provided, and then the translation
773
+ * of custom actions needs to be done by the application.
774
+ * @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
755
775
  * @param {string} [mOptions.id] ID for the information dialog. Intended for test scenarios, not recommended for productive apps
756
776
  * @param {string} [mOptions.styleClass] CSS style class which is added to the information dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
757
777
  * @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
@@ -813,6 +833,11 @@ sap.ui.define([
813
833
  * @param {object} [mOptions] Other options (optional)
814
834
  * @param {function} [mOptions.onClose] Callback when the user closes the dialog
815
835
  * @param {string} [mOptions.title='Warning'] Title of the warning dialog
836
+ * @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
837
+ * If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
838
+ * Custom action(s) string or an array can be provided, and then the translation
839
+ * of custom actions needs to be done by the application.
840
+ * @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
816
841
  * @param {string} [mOptions.id] ID to for the warning dialog. Intended for test scenarios, not recommended for productive apps
817
842
  * @param {string} [mOptions.styleClass] CSS style class which is added to the warning dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
818
843
  * @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
@@ -874,6 +899,11 @@ sap.ui.define([
874
899
  * @param {object} [mOptions] Other options (optional)
875
900
  * @param {function} [mOptions.onClose] Callback when the user closes the dialog
876
901
  * @param {string} [mOptions.title='Success'] Title of the success dialog
902
+ * @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
903
+ * If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
904
+ * Custom action(s) string or an array can be provided, and then the translation
905
+ * of custom actions needs to be done by the application.
906
+ * @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
877
907
  * @param {string} [mOptions.id] ID for the success dialog. Intended for test scenarios, not recommended for productive apps
878
908
  * @param {string} [mOptions.styleClass] CSS style class which is added to the success dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
879
909
  * @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  *
38
38
  * @extends sap.ui.core.Item
39
39
  * @author SAP SE
40
- * @version 1.92.0
40
+ * @version 1.93.3
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -146,21 +146,6 @@ sap.ui.define([
146
146
  this._updatePropertiesFn = customFn;
147
147
  };
148
148
 
149
- MessageItem.prototype.setDescription = function(sDescription) {
150
- // Avoid showing result of '' + undefined
151
- if (typeof sDescription === 'undefined') {
152
- sDescription = '';
153
- }
154
-
155
- if (this.getMarkupDescription()) {
156
- sDescription = sanitizeHTML(sDescription);
157
- }
158
-
159
- this.setProperty("description", sDescription, true);
160
-
161
- return this;
162
- };
163
-
164
149
  /**
165
150
  * Sets type of the MessageItem.
166
151
  * <b>Note:</b> if you set the type to None it will be handled and rendered as Information.
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.StandardListItem
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.92.0
33
+ * @version 1.93.3
34
34
  *
35
35
  * @constructor
36
36
  * @private
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/message-page/ Message Page}
70
70
  *
71
71
  * @extends sap.ui.core.Control
72
- * @version 1.92.0
72
+ * @version 1.93.3
73
73
  *
74
74
  * @constructor
75
75
  * @public
@@ -91,7 +91,7 @@ function(
91
91
  * @extends sap.ui.core.Control
92
92
  *
93
93
  * @author SAP SE
94
- * @version 1.92.0
94
+ * @version 1.93.3
95
95
  *
96
96
  * @constructor
97
97
  * @public
@@ -465,9 +465,6 @@ function(
465
465
  // update the MessageView's items as well
466
466
  item._updateProperties(function () {
467
467
  that._bItemsChanged = true;
468
-
469
- // navigate back if a property is changed
470
- that.navigateBack();
471
468
  });
472
469
 
473
470
  // we need to clone the item along with its bindings and aggregations
@@ -19,7 +19,7 @@ sap.ui.define(["./library", "./MessageItem"],
19
19
  * @extends sap.m.MessageItem
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.92.0
22
+ * @version 1.93.3
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  * @extends sap.ui.core.Control
84
84
  *
85
85
  * @author SAP SE
86
- * @version 1.92.0
86
+ * @version 1.93.3
87
87
  *
88
88
  * @constructor
89
89
  * @public
@@ -4,7 +4,11 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(function () {
7
+ sap.ui.define([
8
+ 'sap/ui/core/IconPool'
9
+ ], function (
10
+ IconPool
11
+ ) {
8
12
  "use strict";
9
13
 
10
14
  /**
@@ -43,7 +47,16 @@ sap.ui.define(function () {
43
47
  MessageStripUtilities.getIconURI = function () {
44
48
  var sType = this.getType(),
45
49
  sCustomIconURI = this.getCustomIcon(),
46
- sIconURI = "sap-icon://message-" + sType.toLowerCase();
50
+ sIconURI;
51
+
52
+ var oIconsMapping = {
53
+ "Error": "error",
54
+ "Warning": "alert",
55
+ "Success": "sys-enter-2",
56
+ "Information": "information"
57
+ };
58
+
59
+ sIconURI = IconPool.getIconURI(oIconsMapping[sType]);
47
60
 
48
61
  return sCustomIconURI || sIconURI;
49
62
  };
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * The message toast has the same behavior on all devices. However, you can adjust the width of the control, for example, for use on a desktop device.
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.92.0
73
+ * @version 1.93.3
74
74
  *
75
75
  * @namespace
76
76
  * @public
@@ -357,7 +357,7 @@ sap.ui.define([
357
357
  * @param {sap.ui.core.CSSSize} [mOptions.width='15em'] The width of the message toast, this value can be provided in %, em, px and all possible CSS measures.
358
358
  * @param {sap.ui.core.Popup.Dock} [mOptions.my='center bottom'] Specifies which point of the message toast should be aligned (e.g. <code>Dock.LeftTop</code> To use as align point the left top corner of the message toast).
359
359
  * @param {sap.ui.core.Popup.Dock} [mOptions.at='center bottom'] Specifies the point of the reference element to which the message toast should be aligned (e.g. <code>Dock.RightBottom</code> To position the message toast according to the bottom right corner of the reference element).
360
- * @param {sap.ui.core.Control|Element|jQuery|Window|undefined} [mOptions.of=window] Specifies the reference element to which the message toast should be aligned, by default it is aligned to the browser visual viewport.
360
+ * @param {sap.ui.core.Control|Element|jQuery|Window} [mOptions.of=window] Specifies the reference element to which the message toast should be aligned, by default it is aligned to the browser visual viewport.
361
361
  * @param {string} [mOptions.offset='0 0'] The offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "10 5" to move the message toast 10 pixels to the right and 5 pixels to the bottom).
362
362
  * @param {string} [mOptions.collision='fit fit'] Specifies how the position of the message toast should be adjusted in case it overflows the screen in some direction. Possible values “fit”, “flip”, “none”, or a pair for horizontal and vertical e.g. "fit flip”, "fit none".
363
363
  * @param {function} [mOptions.onClose=null] Function to be called when the message toast closes.
@@ -112,7 +112,7 @@ sap.ui.define([
112
112
  * The responsiveness of the <code>MessageView</code> is determined by the container in which it is embedded. For that reason the control could not be visualized if the
113
113
  * container’s sizes are not defined.
114
114
  * @author SAP SE
115
- * @version 1.92.0
115
+ * @version 1.93.3
116
116
  *
117
117
  * @extends sap.ui.core.Control
118
118
  * @constructor
@@ -248,10 +248,10 @@ sap.ui.define([
248
248
  var ICONS = {
249
249
  back: IconPool.getIconURI("nav-back"),
250
250
  close: IconPool.getIconURI("decline"),
251
- information: IconPool.getIconURI("message-information"),
252
- warning: IconPool.getIconURI("message-warning"),
253
- error: IconPool.getIconURI("message-error"),
254
- success: IconPool.getIconURI("message-success")
251
+ information: IconPool.getIconURI("information"),
252
+ warning: IconPool.getIconURI("alert"),
253
+ error: IconPool.getIconURI("error"),
254
+ success: IconPool.getIconURI("sys-enter-2")
255
255
  };
256
256
 
257
257
  var LIST_TYPES = ["all", "error", "warning", "success", "information"];
@@ -667,7 +667,7 @@ sap.ui.define([
667
667
 
668
668
  this._detailsPage = new Page(this.getId() + "-detailsPage", {
669
669
  customHeader: this._getDetailsHeader()
670
- });
670
+ }).addStyleClass("sapMMsgViewDetailsPage");
671
671
 
672
672
  // TODO: check if this is the best location for this
673
673
  // Disable clicks on disabled and/or pending links
@@ -979,15 +979,22 @@ sap.ui.define([
979
979
  */
980
980
  MessageView.prototype._setDescription = function (oMessageItem) {
981
981
  var oLink = oMessageItem.getLink();
982
+ var sDescription = oMessageItem.getDescription();
983
+
984
+ if (oMessageItem.getMarkupDescription()) {
985
+ var tagPolicy = this._getTagPolicy();
986
+ /*global html*/
987
+ sDescription = html.sanitizeWithPolicy(sDescription, tagPolicy);
988
+ }
989
+
982
990
  this._oLastSelectedItem = oMessageItem;
983
991
  if (oMessageItem.getMarkupDescription()) {
984
- // description is sanitized in MessageItem.setDescription()
985
992
  this._oMessageDescriptionText = new HTML(this.getId() + "MarkupDescription", {
986
- content: "<div class='sapMMsgViewDescriptionText'>" + ManagedObject.escapeSettingsValue(oMessageItem.getDescription()) + "</div>"
993
+ content: "<div class='sapMMsgViewDescriptionText'>" + ManagedObject.escapeSettingsValue(sDescription) + "</div>"
987
994
  });
988
995
  } else {
989
996
  this._oMessageDescriptionText = new Text(this.getId() + "MessageDescriptionText", {
990
- text: ManagedObject.escapeSettingsValue(oMessageItem.getDescription())
997
+ text: ManagedObject.escapeSettingsValue(sDescription)
991
998
  }).addStyleClass("sapMMsgViewDescriptionText");
992
999
  }
993
1000
 
@@ -1159,24 +1166,6 @@ sap.ui.define([
1159
1166
  };
1160
1167
  };
1161
1168
 
1162
- /**
1163
- * Perform description sanitization based on Caja HTML sanitizer
1164
- * @param {sap.m.MessageItem} oMessageItem The item to be sanitized
1165
- * @private
1166
- */
1167
- MessageView.prototype._sanitizeDescription = function (oMessageItem) {
1168
- var sDescription = oMessageItem.getDescription();
1169
-
1170
- if (oMessageItem.getMarkupDescription()) {
1171
- var tagPolicy = this._getTagPolicy();
1172
- /*global html*/
1173
- sDescription = html.sanitizeWithPolicy(sDescription, tagPolicy);
1174
- }
1175
-
1176
- oMessageItem.setDescription(sDescription);
1177
- this._setDescription(oMessageItem);
1178
- };
1179
-
1180
1169
  /**
1181
1170
  * Handles click on a list item
1182
1171
  *
@@ -1248,7 +1237,7 @@ sap.ui.define([
1248
1237
 
1249
1238
  MessageView.prototype._navigateToDetails = function(oMessageItem, oListItem, sTransiotionName, bSuppressNavigate) {
1250
1239
  this._setTitle(oMessageItem, oListItem);
1251
- this._sanitizeDescription(oMessageItem);
1240
+ this._setDescription(oMessageItem);
1252
1241
  this._setIcon(oMessageItem, oListItem);
1253
1242
  this._detailsPage.invalidate();
1254
1243
  this.fireLongtextLoaded();