@openui5/sap.m 1.123.1 → 1.124.1

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 (451) hide show
  1. package/package.json +4 -4
  2. package/src/sap/m/.library +6 -1
  3. package/src/sap/m/AccButton.js +1 -1
  4. package/src/sap/m/ActionListItem.js +1 -1
  5. package/src/sap/m/ActionSelect.js +2 -2
  6. package/src/sap/m/ActionSheet.js +1 -1
  7. package/src/sap/m/ActionTile.js +33 -11
  8. package/src/sap/m/ActionTileContent.js +9 -4
  9. package/src/sap/m/AdditionalTextButton.js +1 -1
  10. package/src/sap/m/App.js +1 -1
  11. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  12. package/src/sap/m/Avatar.js +53 -13
  13. package/src/sap/m/AvatarColor.js +3 -1
  14. package/src/sap/m/AvatarImageFitType.js +3 -1
  15. package/src/sap/m/AvatarRenderer.js +4 -3
  16. package/src/sap/m/AvatarShape.js +3 -1
  17. package/src/sap/m/AvatarSize.js +3 -1
  18. package/src/sap/m/AvatarType.js +3 -1
  19. package/src/sap/m/Bar.js +1 -1
  20. package/src/sap/m/Breadcrumbs.js +1 -1
  21. package/src/sap/m/BusyDialog.js +1 -1
  22. package/src/sap/m/BusyIndicator.js +1 -1
  23. package/src/sap/m/Button.js +1 -1
  24. package/src/sap/m/Carousel.js +1 -1
  25. package/src/sap/m/CarouselLayout.js +1 -1
  26. package/src/sap/m/CheckBox.js +1 -1
  27. package/src/sap/m/ColorPalette.js +1 -1
  28. package/src/sap/m/ColorPalettePopover.js +1 -1
  29. package/src/sap/m/Column.js +1 -1
  30. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  31. package/src/sap/m/ColumnListItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverItem.js +1 -1
  35. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  36. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  37. package/src/sap/m/ComboBox.js +1 -1
  38. package/src/sap/m/ComboBoxBase.js +2 -1
  39. package/src/sap/m/ComboBoxTextField.js +1 -1
  40. package/src/sap/m/ContentConfig.js +1 -1
  41. package/src/sap/m/CustomListItem.js +1 -1
  42. package/src/sap/m/CustomTile.js +1 -1
  43. package/src/sap/m/CustomTreeItem.js +1 -1
  44. package/src/sap/m/DatePicker.js +1 -1
  45. package/src/sap/m/DateRangeSelection.js +2 -2
  46. package/src/sap/m/DateTimeField.js +1 -1
  47. package/src/sap/m/DateTimeInput.js +1 -1
  48. package/src/sap/m/DateTimePicker.js +1 -3
  49. package/src/sap/m/Dialog.js +1 -1
  50. package/src/sap/m/DisplayListItem.js +1 -1
  51. package/src/sap/m/DraftIndicator.js +1 -1
  52. package/src/sap/m/DynamicDate.js +1 -1
  53. package/src/sap/m/DynamicDateOption.js +1 -1
  54. package/src/sap/m/DynamicDateRange.js +2 -6
  55. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  56. package/src/sap/m/ExpandableText.js +1 -1
  57. package/src/sap/m/FacetFilter.js +1 -1
  58. package/src/sap/m/FacetFilterItem.js +1 -1
  59. package/src/sap/m/FacetFilterList.js +1 -1
  60. package/src/sap/m/FeedContent.js +1 -1
  61. package/src/sap/m/FeedInput.js +1 -1
  62. package/src/sap/m/FeedListItem.js +1 -1
  63. package/src/sap/m/FeedListItemAction.js +1 -1
  64. package/src/sap/m/Fiori20Adapter.js +2 -2
  65. package/src/sap/m/FlexBox.js +1 -1
  66. package/src/sap/m/FlexItemData.js +1 -1
  67. package/src/sap/m/FormattedText.js +1 -1
  68. package/src/sap/m/GenericTag.js +1 -1
  69. package/src/sap/m/GenericTile.js +40 -17
  70. package/src/sap/m/GenericTileRenderer.js +103 -11
  71. package/src/sap/m/GroupHeaderListItem.js +1 -1
  72. package/src/sap/m/GrowingList.js +1 -1
  73. package/src/sap/m/HBox.js +1 -1
  74. package/src/sap/m/HeaderContainer.js +8 -2
  75. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  76. package/src/sap/m/HeaderContainerRenderer.js +3 -0
  77. package/src/sap/m/IconTabBar.js +1 -1
  78. package/src/sap/m/IconTabBarSelectList.js +1 -1
  79. package/src/sap/m/IconTabFilter.js +2 -2
  80. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  81. package/src/sap/m/IconTabHeader.js +1 -1
  82. package/src/sap/m/IconTabSeparator.js +1 -1
  83. package/src/sap/m/IllustratedMessage.js +19 -3
  84. package/src/sap/m/IllustratedMessageSize.js +3 -1
  85. package/src/sap/m/IllustratedMessageType.js +3 -1
  86. package/src/sap/m/Illustration.js +1 -1
  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 +47 -34
  90. package/src/sap/m/InputBase.js +5 -9
  91. package/src/sap/m/InputListItem.js +1 -1
  92. package/src/sap/m/InputRenderer.js +6 -9
  93. package/src/sap/m/Label.js +1 -1
  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/LinkTileContent.js +1 -1
  98. package/src/sap/m/List.js +1 -1
  99. package/src/sap/m/ListBase.js +11 -11
  100. package/src/sap/m/ListItemBase.js +3 -6
  101. package/src/sap/m/MaskEnabler.js +1 -1
  102. package/src/sap/m/MaskInput.js +1 -1
  103. package/src/sap/m/MaskInputRule.js +1 -1
  104. package/src/sap/m/Menu.js +1 -1
  105. package/src/sap/m/MenuButton.js +1 -1
  106. package/src/sap/m/MenuItem.js +1 -1
  107. package/src/sap/m/MenuListItem.js +1 -1
  108. package/src/sap/m/MessageBox.js +25 -7
  109. package/src/sap/m/MessageItem.js +1 -1
  110. package/src/sap/m/MessageListItem.js +3 -6
  111. package/src/sap/m/MessagePage.js +1 -1
  112. package/src/sap/m/MessagePopover.js +1 -1
  113. package/src/sap/m/MessagePopoverItem.js +1 -1
  114. package/src/sap/m/MessageStrip.js +4 -4
  115. package/src/sap/m/MessageToast.js +1 -1
  116. package/src/sap/m/MessageView.js +3 -4
  117. package/src/sap/m/MultiComboBox.js +1 -6
  118. package/src/sap/m/MultiEditField.js +1 -1
  119. package/src/sap/m/MultiInput.js +36 -3
  120. package/src/sap/m/NavContainer.js +1 -1
  121. package/src/sap/m/NewsContent.js +1 -1
  122. package/src/sap/m/NotificationList.js +1 -1
  123. package/src/sap/m/NotificationListBase.js +1 -1
  124. package/src/sap/m/NotificationListGroup.js +1 -1
  125. package/src/sap/m/NotificationListItem.js +1 -1
  126. package/src/sap/m/NumericContent.js +1 -1
  127. package/src/sap/m/NumericInput.js +1 -1
  128. package/src/sap/m/ObjectAttribute.js +1 -1
  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/OverflowToolbarAssociativePopoverControls.js +1 -1
  138. package/src/sap/m/OverflowToolbarButton.js +1 -1
  139. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  140. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  141. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  142. package/src/sap/m/P13nAnyFilterItem.js +2 -1
  143. package/src/sap/m/P13nColumnsItem.js +2 -2
  144. package/src/sap/m/P13nColumnsPanel.js +2 -2
  145. package/src/sap/m/P13nConditionPanel.js +2 -1
  146. package/src/sap/m/P13nDialog.js +4 -7
  147. package/src/sap/m/P13nDimMeasureItem.js +2 -2
  148. package/src/sap/m/P13nDimMeasurePanel.js +2 -2
  149. package/src/sap/m/P13nFilterItem.js +2 -1
  150. package/src/sap/m/P13nFilterPanel.js +3 -1
  151. package/src/sap/m/P13nGroupItem.js +2 -2
  152. package/src/sap/m/P13nGroupPanel.js +2 -2
  153. package/src/sap/m/P13nItem.js +2 -1
  154. package/src/sap/m/P13nOperationsHelper.js +2 -0
  155. package/src/sap/m/P13nPanel.js +2 -1
  156. package/src/sap/m/P13nSelectionItem.js +2 -1
  157. package/src/sap/m/P13nSelectionPanel.js +2 -1
  158. package/src/sap/m/P13nSortItem.js +2 -2
  159. package/src/sap/m/P13nSortPanel.js +2 -2
  160. package/src/sap/m/PDFViewer.js +1 -1
  161. package/src/sap/m/Page.js +12 -6
  162. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  163. package/src/sap/m/PagingButton.js +1 -1
  164. package/src/sap/m/Panel.js +1 -1
  165. package/src/sap/m/PlanningCalendar.js +1 -1
  166. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  167. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  168. package/src/sap/m/PlanningCalendarRow.js +1 -1
  169. package/src/sap/m/PlanningCalendarView.js +1 -1
  170. package/src/sap/m/Popover.js +1 -1
  171. package/src/sap/m/ProgressIndicator.js +1 -1
  172. package/src/sap/m/PullToRefresh.js +1 -1
  173. package/src/sap/m/QuickView.js +1 -1
  174. package/src/sap/m/QuickViewBase.js +1 -1
  175. package/src/sap/m/QuickViewCard.js +1 -1
  176. package/src/sap/m/QuickViewGroup.js +1 -1
  177. package/src/sap/m/QuickViewGroupElement.js +1 -1
  178. package/src/sap/m/QuickViewPage.js +1 -1
  179. package/src/sap/m/RadioButton.js +1 -1
  180. package/src/sap/m/RadioButtonGroup.js +1 -1
  181. package/src/sap/m/RangeSlider.js +1 -1
  182. package/src/sap/m/RatingIndicator.js +1 -1
  183. package/src/sap/m/ResponsivePopover.js +1 -1
  184. package/src/sap/m/ResponsiveScale.js +1 -1
  185. package/src/sap/m/ScrollBar.js +1 -1
  186. package/src/sap/m/ScrollContainer.js +1 -1
  187. package/src/sap/m/SearchField.js +1 -1
  188. package/src/sap/m/SegmentedButton.js +1 -1
  189. package/src/sap/m/SegmentedButtonItem.js +1 -1
  190. package/src/sap/m/Select.js +1 -1
  191. package/src/sap/m/SelectDialog.js +1 -1
  192. package/src/sap/m/SelectDialogBase.js +1 -1
  193. package/src/sap/m/SelectList.js +1 -1
  194. package/src/sap/m/SelectionDetails.js +1 -1
  195. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  196. package/src/sap/m/SelectionDetailsItem.js +1 -1
  197. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  198. package/src/sap/m/Shell.js +1 -1
  199. package/src/sap/m/SimpleFixFlex.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -3
  203. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +61 -60
  204. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  205. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  206. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  207. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  208. package/src/sap/m/SlideTile.js +1 -1
  209. package/src/sap/m/Slider.js +1 -1
  210. package/src/sap/m/SliderTooltip.js +1 -1
  211. package/src/sap/m/SliderTooltipBase.js +1 -1
  212. package/src/sap/m/SliderTooltipContainer.js +1 -1
  213. package/src/sap/m/SplitApp.js +1 -1
  214. package/src/sap/m/SplitButton.js +1 -1
  215. package/src/sap/m/SplitContainer.js +1 -1
  216. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  217. package/src/sap/m/StandardListItem.js +1 -1
  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 +1 -1
  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 +1 -1
  224. package/src/sap/m/TabContainer.js +16 -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 +3 -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/TableSelectDialog.js +1 -1
  233. package/src/sap/m/Text.js +1 -1
  234. package/src/sap/m/TextArea.js +1 -1
  235. package/src/sap/m/Tile.js +1 -1
  236. package/src/sap/m/TileContainer.js +1 -1
  237. package/src/sap/m/TileContent.js +1 -1
  238. package/src/sap/m/TileInfo.js +65 -0
  239. package/src/sap/m/TimePicker.js +1 -1
  240. package/src/sap/m/TimePickerClock.js +5 -3
  241. package/src/sap/m/TimePickerClocks.js +1 -1
  242. package/src/sap/m/TimePickerInputs.js +1 -1
  243. package/src/sap/m/TimePickerInternals.js +1 -1
  244. package/src/sap/m/TimePickerSlider.js +1 -1
  245. package/src/sap/m/TimePickerSliders.js +1 -1
  246. package/src/sap/m/Title.js +1 -1
  247. package/src/sap/m/TitlePropagationSupport.js +1 -1
  248. package/src/sap/m/ToggleButton.js +1 -1
  249. package/src/sap/m/Token.js +1 -1
  250. package/src/sap/m/Tokenizer.js +1 -3
  251. package/src/sap/m/Toolbar.js +1 -1
  252. package/src/sap/m/ToolbarLayoutData.js +1 -1
  253. package/src/sap/m/ToolbarSeparator.js +1 -1
  254. package/src/sap/m/ToolbarSpacer.js +1 -1
  255. package/src/sap/m/Tree.js +1 -1
  256. package/src/sap/m/TreeItemBase.js +1 -1
  257. package/src/sap/m/UploadCollection.js +1 -1
  258. package/src/sap/m/UploadCollectionItem.js +1 -1
  259. package/src/sap/m/UploadCollectionParameter.js +1 -1
  260. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  261. package/src/sap/m/VBox.js +1 -1
  262. package/src/sap/m/ValueStateHeader.js +1 -1
  263. package/src/sap/m/VariantManagement.js +1 -2
  264. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  265. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  266. package/src/sap/m/ViewSettingsDialog.js +1 -1
  267. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  268. package/src/sap/m/ViewSettingsItem.js +1 -1
  269. package/src/sap/m/VisibleItem.js +1 -1
  270. package/src/sap/m/WheelSlider.js +1 -1
  271. package/src/sap/m/WheelSliderContainer.js +1 -1
  272. package/src/sap/m/Wizard.js +1 -1
  273. package/src/sap/m/WizardProgressNavigator.js +1 -1
  274. package/src/sap/m/WizardStep.js +1 -1
  275. package/src/sap/m/changeHandler/AddTableColumn.js +1 -2
  276. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  277. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  278. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  279. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  280. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  281. package/src/sap/m/designtime/Table.designtime.js +1 -2
  282. package/src/sap/m/designtime/messagebundle_sh.properties +5 -5
  283. package/src/sap/m/flexibility/Table.flexibility.js +14 -2
  284. package/src/sap/m/library.js +252 -3
  285. package/src/sap/m/messagebundle.properties +3 -0
  286. package/src/sap/m/messagebundle_ar.properties +2 -0
  287. package/src/sap/m/messagebundle_bg.properties +2 -0
  288. package/src/sap/m/messagebundle_ca.properties +2 -0
  289. package/src/sap/m/messagebundle_cnr.properties +2 -0
  290. package/src/sap/m/messagebundle_cs.properties +2 -0
  291. package/src/sap/m/messagebundle_cy.properties +2 -0
  292. package/src/sap/m/messagebundle_da.properties +2 -0
  293. package/src/sap/m/messagebundle_de.properties +2 -0
  294. package/src/sap/m/messagebundle_el.properties +2 -0
  295. package/src/sap/m/messagebundle_en.properties +2 -0
  296. package/src/sap/m/messagebundle_en_GB.properties +2 -0
  297. package/src/sap/m/messagebundle_en_US_saprigi.properties +2 -0
  298. package/src/sap/m/messagebundle_es.properties +2 -0
  299. package/src/sap/m/messagebundle_es_MX.properties +2 -0
  300. package/src/sap/m/messagebundle_et.properties +2 -0
  301. package/src/sap/m/messagebundle_fi.properties +2 -0
  302. package/src/sap/m/messagebundle_fr.properties +3 -1
  303. package/src/sap/m/messagebundle_fr_CA.properties +2 -0
  304. package/src/sap/m/messagebundle_hi.properties +2 -0
  305. package/src/sap/m/messagebundle_hr.properties +2 -0
  306. package/src/sap/m/messagebundle_hu.properties +2 -0
  307. package/src/sap/m/messagebundle_id.properties +2 -0
  308. package/src/sap/m/messagebundle_it.properties +2 -0
  309. package/src/sap/m/messagebundle_iw.properties +2 -0
  310. package/src/sap/m/messagebundle_ja.properties +2 -0
  311. package/src/sap/m/messagebundle_kk.properties +2 -0
  312. package/src/sap/m/messagebundle_ko.properties +2 -0
  313. package/src/sap/m/messagebundle_lt.properties +2 -0
  314. package/src/sap/m/messagebundle_lv.properties +2 -0
  315. package/src/sap/m/messagebundle_mk.properties +2 -0
  316. package/src/sap/m/messagebundle_ms.properties +2 -0
  317. package/src/sap/m/messagebundle_nl.properties +2 -0
  318. package/src/sap/m/messagebundle_no.properties +2 -0
  319. package/src/sap/m/messagebundle_pl.properties +2 -0
  320. package/src/sap/m/messagebundle_pt.properties +2 -0
  321. package/src/sap/m/messagebundle_pt_PT.properties +2 -0
  322. package/src/sap/m/messagebundle_ro.properties +2 -0
  323. package/src/sap/m/messagebundle_ru.properties +2 -0
  324. package/src/sap/m/messagebundle_sh.properties +259 -257
  325. package/src/sap/m/messagebundle_sk.properties +2 -0
  326. package/src/sap/m/messagebundle_sl.properties +2 -0
  327. package/src/sap/m/messagebundle_sr.properties +2 -0
  328. package/src/sap/m/messagebundle_sv.properties +2 -0
  329. package/src/sap/m/messagebundle_th.properties +2 -0
  330. package/src/sap/m/messagebundle_tr.properties +2 -0
  331. package/src/sap/m/messagebundle_uk.properties +2 -0
  332. package/src/sap/m/messagebundle_vi.properties +2 -0
  333. package/src/sap/m/messagebundle_zh_CN.properties +3 -1
  334. package/src/sap/m/messagebundle_zh_TW.properties +2 -0
  335. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  336. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  337. package/src/sap/m/p13n/BasePanel.js +1 -1
  338. package/src/sap/m/p13n/Container.js +1 -1
  339. package/src/sap/m/p13n/Engine.js +3 -6
  340. package/src/sap/m/p13n/FilterController.js +1 -1
  341. package/src/sap/m/p13n/FilterPanel.js +1 -1
  342. package/src/sap/m/p13n/GroupController.js +1 -1
  343. package/src/sap/m/p13n/GroupPanel.js +2 -1
  344. package/src/sap/m/p13n/Popup.js +10 -3
  345. package/src/sap/m/p13n/QueryPanel.js +1 -1
  346. package/src/sap/m/p13n/SelectionController.js +16 -8
  347. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  348. package/src/sap/m/p13n/SortController.js +1 -1
  349. package/src/sap/m/p13n/SortPanel.js +1 -1
  350. package/src/sap/m/p13n/handler/xConfigHandler.js +10 -12
  351. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  352. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  353. package/src/sap/m/p13n/modules/UIManager.js +7 -1
  354. package/src/sap/m/p13n/modules/xConfigAPI.js +67 -4
  355. package/src/sap/m/plugins/CellSelector.js +238 -133
  356. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  357. package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
  358. package/src/sap/m/plugins/CopyProvider.js +7 -5
  359. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  360. package/src/sap/m/plugins/PasteProvider.js +1 -1
  361. package/src/sap/m/plugins/PluginBase.js +1 -1
  362. package/src/sap/m/plugins/UploadSetwithTable.js +1943 -0
  363. package/src/sap/m/rules/Table.support.js +2 -3
  364. package/src/sap/m/semantic/AddAction.js +1 -1
  365. package/src/sap/m/semantic/CancelAction.js +1 -1
  366. package/src/sap/m/semantic/DeleteAction.js +1 -1
  367. package/src/sap/m/semantic/DetailPage.js +1 -1
  368. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  369. package/src/sap/m/semantic/EditAction.js +1 -1
  370. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  371. package/src/sap/m/semantic/FilterAction.js +1 -1
  372. package/src/sap/m/semantic/FilterSelect.js +1 -1
  373. package/src/sap/m/semantic/FlagAction.js +1 -1
  374. package/src/sap/m/semantic/ForwardAction.js +1 -1
  375. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  376. package/src/sap/m/semantic/GroupAction.js +1 -1
  377. package/src/sap/m/semantic/GroupSelect.js +1 -1
  378. package/src/sap/m/semantic/MainAction.js +1 -1
  379. package/src/sap/m/semantic/MasterPage.js +1 -1
  380. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  381. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  382. package/src/sap/m/semantic/NegativeAction.js +1 -1
  383. package/src/sap/m/semantic/OpenInAction.js +1 -1
  384. package/src/sap/m/semantic/PositiveAction.js +1 -1
  385. package/src/sap/m/semantic/PrintAction.js +1 -1
  386. package/src/sap/m/semantic/SaveAction.js +1 -1
  387. package/src/sap/m/semantic/Segment.js +1 -1
  388. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  389. package/src/sap/m/semantic/SemanticButton.js +1 -1
  390. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  391. package/src/sap/m/semantic/SemanticControl.js +1 -1
  392. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  393. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  394. package/src/sap/m/semantic/SemanticPage.js +1 -1
  395. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  396. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  397. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  398. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  399. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  400. package/src/sap/m/semantic/ShareMenu.js +1 -1
  401. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  402. package/src/sap/m/semantic/SortAction.js +1 -1
  403. package/src/sap/m/semantic/SortSelect.js +1 -1
  404. package/src/sap/m/table/ColumnWidthController.js +1 -1
  405. package/src/sap/m/table/Util.js +1 -1
  406. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  407. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  408. package/src/sap/m/table/columnmenu/Item.js +1 -1
  409. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  410. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  411. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  412. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  417. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  418. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  419. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  420. package/src/sap/m/themes/base/ActionTile.less +171 -152
  421. package/src/sap/m/themes/base/ActionTileContent.less +62 -0
  422. package/src/sap/m/themes/base/CellSelector.less +77 -5
  423. package/src/sap/m/themes/base/Dialog.less +0 -4
  424. package/src/sap/m/themes/base/GenericTile.less +397 -12
  425. package/src/sap/m/themes/base/HeaderContainer.less +8 -0
  426. package/src/sap/m/themes/base/IconTabBar.less +18 -0
  427. package/src/sap/m/themes/base/ObjectNumber.less +7 -1
  428. package/src/sap/m/themes/base/ObjectStatus.less +5 -0
  429. package/src/sap/m/themes/base/Title.less +1 -1
  430. package/src/sap/m/themes/base/Toolbar.less +4 -0
  431. package/src/sap/m/themes/base/UploadSetwithTable.less +20 -0
  432. package/src/sap/m/themes/base/VariantManagement.less +3 -0
  433. package/src/sap/m/themes/base/library.source.less +1 -0
  434. package/src/sap/m/upload/ActionsPlaceholder.js +12 -2
  435. package/src/sap/m/upload/Column.js +1 -1
  436. package/src/sap/m/upload/FilePreviewDialog.js +6 -6
  437. package/src/sap/m/upload/UploadItem.js +322 -0
  438. package/src/sap/m/upload/UploadItemConfiguration.js +191 -0
  439. package/src/sap/m/upload/UploadSet.js +1 -1
  440. package/src/sap/m/upload/UploadSetItem.js +4 -5
  441. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  442. package/src/sap/m/upload/UploadSetwithTable.js +4 -3
  443. package/src/sap/m/upload/UploadSetwithTableItem.js +2 -3
  444. package/src/sap/m/upload/UploaderTableItem.js +19 -12
  445. package/src/sap/m/upload/p13n/PersManager.js +1 -1
  446. package/src/sap/m/upload/p13n/mediator/BaseMediator.js +4 -4
  447. package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +1 -1
  448. package/src/sap/m/upload/p13n/mediator/FilterMediator.js +1 -1
  449. package/src/sap/m/upload/p13n/mediator/GroupMediator.js +1 -1
  450. package/src/sap/m/upload/p13n/mediator/SortMediator.js +1 -1
  451. package/src/sap/m/upload/p13n/modules/PersPopupManager.js +3 -3
@@ -46,9 +46,10 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
46
46
  var sAriaRoleDescription = oControl.getAriaRoleDescription();
47
47
  var sAriaRole = oControl.getAriaRole();
48
48
  var isHalfFrame = frameType === frameTypes.OneByHalf || frameType === frameTypes.TwoByHalf;
49
- var sBGColor = oControl._sBGColor;
49
+ var sBGColor = oControl._oBadgeColors["backgroundColor"];
50
50
  var bIsIconModeOneByOne = oControl._isIconMode() && frameType === frameTypes.OneByOne;
51
51
  var aLinkTileContent = oControl.getLinkTileContents();
52
+ var oBadge = oControl.getBadge();
52
53
 
53
54
  // Render a link when URL is provided, not in action scope and the state is enabled
54
55
  var bRenderLink = oControl.getUrl() && (!oControl._isInActionScope() || oControl.getMode() === GenericTileMode.IconMode) && sState !== LoadState.Disabled && !oControl._isNavigateActionEnabled();
@@ -331,14 +332,29 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
331
332
 
332
333
  //Render Header Image
333
334
  if (sHeaderImage) {
334
- oControl._oImage.removeStyleClass(ValueColor.None);
335
- if (this._sPreviousStyleClass) {
336
- oControl._oImage.removeStyleClass(this._sPreviousStyleClass);
335
+ var bIsIconFrameEnabled = oControl.isA("sap.m.ActionTile") && oControl.getProperty("enableIconFrame");
336
+ if (!bIsIconFrameEnabled) {
337
+ oControl._oImage.removeStyleClass(ValueColor.None);
338
+ if (this._sPreviousStyleClass) {
339
+ oControl._oImage.removeStyleClass(this._sPreviousStyleClass);
340
+ }
341
+ this._sPreviousStyleClass = this._isValueColorValid(oControl.getValueColor()) ? oControl.getValueColor() : ValueColor.None;
342
+ oControl._oImage.addStyleClass(this._sPreviousStyleClass);
343
+ } else {
344
+ oRm.openStart("div", oControl.getId() + "-icon-frame").openEnd();
337
345
  }
338
- this._sPreviousStyleClass = this._isValueColorValid(oControl.getValueColor()) ? oControl.getValueColor() : ValueColor.None;
339
- oControl._oImage.addStyleClass(this._sPreviousStyleClass);
340
346
 
347
+ oControl._oImage.toggleStyleClass("sapMATIconFrame", bIsIconFrameEnabled);
341
348
  oRm.renderControl(oControl._oImage);
349
+
350
+ if (bIsIconFrameEnabled) {
351
+ oRm.close("div");
352
+ }
353
+ }
354
+
355
+ var bIsContentPriorityPresent = this._isPriorityPresent(oControl);
356
+ if (bIsContentPriorityPresent) {
357
+ oRm.openStart("div", oControl.getId() + "-header-container").class("sapMATHeaderContainer").openEnd();
342
358
  }
343
359
 
344
360
  this._renderHeader(oRm, oControl);
@@ -359,10 +375,16 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
359
375
  }
360
376
  }
361
377
 
362
- if (!(isHalfFrame && isContentPresent) && oControl.getSubheader()) {
378
+ if (bIsContentPriorityPresent) {
379
+ this._renderPriorityText(oRm, oControl);
380
+ } else if (!(isHalfFrame && isContentPresent) && oControl.getSubheader()) {
363
381
  this._renderSubheader(oRm, oControl);
364
382
  }
383
+
384
+ if (bIsContentPriorityPresent) {
365
385
  oRm.close("div");
386
+ }
387
+ oRm.close("div");
366
388
 
367
389
  if ( !oControl._isIconMode() ) { //Restrict creation of Footer for IconMode
368
390
  oRm.openStart("div", oControl.getId() + "-content");
@@ -430,6 +452,9 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
430
452
  if (oControl._isInActionScope()) {
431
453
  this._renderActionsScope(oRm, oControl);
432
454
  }
455
+ if (oBadge && (oBadge.getSrc() || oBadge.getText()) && (!oControl._isInActionScope() || oControl._isIconModeOfTypeTwoByHalf() )) {
456
+ this._renderBadge(oRm,oControl);
457
+ }
433
458
  if (bRenderLink) {
434
459
  oRm.close("a");
435
460
  } else {
@@ -437,6 +462,77 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
437
462
  }
438
463
  };
439
464
 
465
+ /**
466
+ * Renders a badge on top of GenericTile.
467
+ * @param {sap.ui.core.RenderManager} oRm - The RenderManager instance.
468
+ * @param {sap.m.GenericTile} oControl The GenericTile control
469
+ * @private
470
+ */
471
+
472
+ GenericTileRenderer._renderBadge = function(oRm,oControl) {
473
+ var oBadge = oControl.getBadge();
474
+ var sBadgeText = oBadge.getText();
475
+ var bIsIconOnlyPresent = oBadge.getSrc() && !oBadge.getText();
476
+ var bIsTextOnlyPresent = !oBadge.getSrc() && oBadge.getText();
477
+ oRm.openStart("div");
478
+ oRm.class("sapMGTBadge");
479
+ oRm.class("sapMGTBadgeBackgroundColor" + oBadge.getBackgroundColor());
480
+ oRm.class("sapMGTBadgeColor" + oBadge.getTextColor());
481
+ oRm.class("sapMGTBadgeBorderColor" + oBadge.getBorderColor());
482
+ if (oBadge.getText() && oBadge.getSrc()) {
483
+ oRm.class("sapMGTBadgeTextPresent");
484
+ }
485
+ oRm.class((bIsIconOnlyPresent) ? "sapMGTBadgeOnlyIcon" : null);
486
+ oRm.class((bIsTextOnlyPresent) ? "sapMGTBadgeOnlyText" : null);
487
+ oRm.openEnd();
488
+ if (oBadge.getSrc()) {
489
+ oRm.renderControl(oControl._oBadgeIcon);
490
+ }
491
+ if (sBadgeText) {
492
+ oRm.openStart("span");
493
+ oRm.class("sapMGTBadgeText");
494
+ oRm.openEnd();
495
+ oRm.text(sBadgeText);
496
+ oRm.close("span");
497
+ }
498
+ if (oControl.getState() != LoadState.Loaded) {
499
+ oRm.openStart("div");
500
+ oRm.class("sapMGTBadgeOverlay");
501
+ oRm.class("sapMGTBadgeBackgroundColor" + oBadge.getBackgroundColor());
502
+ oRm.openEnd();
503
+ oRm.close("div");
504
+ }
505
+ oRm.close("div");
506
+ };
507
+
508
+ /**
509
+ * Checks if the priority is present for a tile.
510
+ * Applies only for ActionMode.
511
+ *
512
+ * @private
513
+ * @param {object} oControl - The tile control instance.
514
+ * @returns {boolean} - Returns true if the content priority is present; otherwise, returns false.
515
+ */
516
+ GenericTileRenderer._isPriorityPresent = function (oControl) {
517
+ return oControl.isA("sap.m.ActionTile") && oControl.getProperty("priority") && oControl.getProperty("priorityText");
518
+ };
519
+
520
+ /**
521
+ * Renders the priority text for the tile.
522
+ *
523
+ * @private
524
+ * @param {object} oRm - The RenderManager instance.
525
+ * @param {object} oControl - The control instance to render.
526
+ */
527
+ GenericTileRenderer._renderPriorityText = function (oRm, oControl) {
528
+ oRm.openStart("div", oControl.getId() + "-priority-text");
529
+ oRm.class("sapMTilePriorityValue");
530
+ oRm.class(oControl.getProperty("priority"));
531
+ oRm.openEnd();
532
+ oRm.text(oControl.getProperty("priorityText"));
533
+ oRm.close("div");
534
+ };
535
+
440
536
  /**
441
537
  * Checks if the GenericTile should be draggable or not.
442
538
  * @param {sap.m.GenericTile} oControl The GenericTile control
@@ -586,10 +682,6 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
586
682
  GenericTileRenderer._renderHeader = function(oRm, oControl) {
587
683
  oRm.openStart("div", oControl.getId() + "-hdr-text");
588
684
  oRm.class("sapMGTHdrTxt");
589
- if (oControl._isActionMode() && this._isValueColorValid(oControl.getValueColor())) {
590
- oRm.class("sapMGTCriticalHdrTxt");
591
- oRm.class(oControl.getValueColor());
592
- }
593
685
  oRm.openEnd();
594
686
  oRm.renderControl(oControl._oTitle);
595
687
  oRm.close("div");
@@ -32,7 +32,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
32
32
  * @implements sap.m.ITableItem
33
33
 
34
34
  * @author SAP SE
35
- * @version 1.123.1
35
+ * @version 1.124.1
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['./List', './library', './GrowingListRenderer', 'sap/ui/core/Conf
22
22
  * @extends sap.m.List
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.123.1
25
+ * @version 1.124.1
26
26
  *
27
27
  * @constructor
28
28
  * @public
package/src/sap/m/HBox.js CHANGED
@@ -25,7 +25,7 @@ sap.ui.define(['./FlexBox', './library', './HBoxRenderer'],
25
25
  * @extends sap.m.FlexBox
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.123.1
28
+ * @version 1.124.1
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * @since 1.44.0
125
125
  *
126
126
  * @author SAP SE
127
- * @version 1.123.1
127
+ * @version 1.124.1
128
128
  *
129
129
  * @public
130
130
  * @alias sap.m.HeaderContainer
@@ -206,7 +206,13 @@ sap.ui.define([
206
206
  * @since 1.99
207
207
  * @experimental since 1.99
208
208
  */
209
- gridLayout: {type: "boolean", defaultValue: false}
209
+ gridLayout: {type: "boolean", defaultValue: false},
210
+ /**
211
+ * The height of all the items is stretched to match the largest item in the row within the HeaderContainer.
212
+ *
213
+ * If set to <code>true</code>, the items are going to get stretched.
214
+ */
215
+ snapToRow: {type: "boolean", group: "Appearance", defaultValue: false}
210
216
  },
211
217
  defaultAggregation: "content",
212
218
  aggregations: {
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @since 1.67.0
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.123.1
19
+ * @version 1.124.1
20
20
  *
21
21
  * @constructor
22
22
  * @alias sap.m.HeaderContainerItemNavigator
@@ -34,6 +34,9 @@ sap.ui.define(['sap/ui/core/library'],
34
34
  oRm.attr("title", sTooltip);
35
35
  }
36
36
  oRm.class("sapMHdrCntr");
37
+ if (oControl.getSnapToRow()) {
38
+ oRm.class("sapMHdrCntrSnapToRow");
39
+ }
37
40
  oRm.class(sOrientationClass);
38
41
  if (oControl.getShowDividers()) {
39
42
  oRm.class("sapMHrdrCntrDvdrs");
@@ -94,7 +94,7 @@ sap.ui.define([
94
94
  * @implements sap.m.ObjectHeaderContainer, sap.f.IDynamicPageStickyContent
95
95
  *
96
96
  * @author SAP SE
97
- * @version 1.123.1
97
+ * @version 1.124.1
98
98
  *
99
99
  * @public
100
100
  * @alias sap.m.IconTabBar
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.123.1
43
+ * @version 1.124.1
44
44
  *
45
45
  * @constructor
46
46
  * @private
@@ -92,7 +92,7 @@ sap.ui.define([
92
92
  * @implements sap.m.IconTab
93
93
  *
94
94
  * @author SAP SE
95
- * @version 1.123.1
95
+ * @version 1.124.1
96
96
  *
97
97
  * @constructor
98
98
  * @public
@@ -599,7 +599,7 @@ sap.ui.define([
599
599
  oRM.openStart("div", sId + "-text")
600
600
  .class("sapMITBText");
601
601
 
602
- if (!oIcon && !bShowAll) {
602
+ if (!bShowAll) {
603
603
  oRM.class("sapMITBBadgeHolder");
604
604
  }
605
605
 
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.123.1
34
+ * @version 1.124.1
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -85,7 +85,7 @@ sap.ui.define([
85
85
  * @extends sap.ui.core.Control
86
86
  *
87
87
  * @author SAP SE
88
- * @version 1.123.1
88
+ * @version 1.124.1
89
89
  *
90
90
  * @constructor
91
91
  * @public
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @implements sap.m.IconTab
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.123.1
36
+ * @version 1.124.1
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  * @extends sap.ui.core.Control
89
89
  *
90
90
  * @author SAP SE
91
- * @version 1.123.1
91
+ * @version 1.124.1
92
92
  *
93
93
  * @constructor
94
94
  * @public
@@ -329,6 +329,8 @@ sap.ui.define([
329
329
 
330
330
  IllustratedMessage.prototype.init = function () {
331
331
  this._sLastKnownMedia = null;
332
+ this._oLastKnownWidthForMedia = {};
333
+ this._oLastKnownHeightForMedia = {};
332
334
  this._updateInternalIllustrationSetAndType(this.getIllustrationType());
333
335
  EventBus.getInstance().subscribe("sapMIllusPool-assetLdgFailed", this._handleMissingAsset.bind(this));
334
336
  };
@@ -624,7 +626,7 @@ sap.ui.define([
624
626
  */
625
627
  IllustratedMessage.prototype._updateMedia = function (iWidth, iHeight) {
626
628
  var bVertical = this.getEnableVerticalResponsiveness(),
627
- sNewMedia;
629
+ sNewMedia, iLastKnownWidth, iLastKnownHeight;
628
630
 
629
631
  if (!iWidth && !iHeight) {
630
632
  return;
@@ -643,7 +645,21 @@ sap.ui.define([
643
645
  }
644
646
 
645
647
  this._updateSymbol(sNewMedia);
646
- this._updateMediaStyle(sNewMedia);
648
+
649
+ iLastKnownWidth = this._oLastKnownWidthForMedia[sNewMedia];
650
+ iLastKnownHeight = this._oLastKnownHeightForMedia[sNewMedia];
651
+ // prevents infinite resizing, when same width is detected for the same media,
652
+ // excluding the case in which, the control is placed inside expand/collapse container
653
+ if (this._sLastKnownMedia !== sNewMedia &&
654
+ !(iLastKnownWidth && iWidth === iLastKnownWidth
655
+ && iLastKnownHeight && iHeight === iLastKnownHeight)
656
+ || this._oLastKnownWidthForMedia[this._sLastKnownMedia] === 0
657
+ || this._oLastKnownHeightForMedia[this._sLastKnownMedia] === 0) {
658
+ this._updateMediaStyle(sNewMedia);
659
+ this._oLastKnownWidthForMedia[sNewMedia] = iWidth;
660
+ this._oLastKnownHeightForMedia[sNewMedia] = iHeight;
661
+ this._sLastKnownMedia = sNewMedia;
662
+ }
647
663
  };
648
664
 
649
665
  /**
@@ -4,7 +4,7 @@
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(["sap/ui/base/DataType"], function(DataType) {
8
8
  "use strict";
9
9
 
10
10
  /**
@@ -64,6 +64,8 @@ sap.ui.define([], function() {
64
64
  Scene : "Scene"
65
65
  };
66
66
 
67
+ DataType.registerEnum("sap.m.IllustratedMessageSize", IllustratedMessageSize);
68
+
67
69
  return IllustratedMessageSize;
68
70
  });
69
71
 
@@ -4,7 +4,7 @@
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(["sap/ui/base/DataType"], function(DataType) {
8
8
  "use strict";
9
9
 
10
10
  /**
@@ -379,6 +379,8 @@ sap.ui.define([], function () {
379
379
 
380
380
  };
381
381
 
382
+ DataType.registerEnum("sap.m.IllustratedMessageType", IllustratedMessageType);
383
+
382
384
  return IllustratedMessageType;
383
385
  });
384
386
 
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.123.1
44
+ * @version 1.124.1
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @borrows sap.ui.core.IFormContent.getFormDoNotAdjustWidth as #getFormDoNotAdjustWidth
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.123.1
65
+ * @version 1.124.1
66
66
  *
67
67
  * @public
68
68
  * @alias sap.m.Image
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.123.1
36
+ * @version 1.124.1
37
37
  * @since 1.38
38
38
  *
39
39
  * @public
@@ -11,6 +11,7 @@ sap.ui.define([
11
11
  'sap/ui/core/Item',
12
12
  'sap/ui/core/LabelEnablement',
13
13
  'sap/ui/core/AccessKeysEnablement',
14
+ 'sap/ui/core/library',
14
15
  './ColumnListItem',
15
16
  './GroupHeaderListItem',
16
17
  'sap/ui/core/SeparatorItem',
@@ -48,6 +49,7 @@ function(
48
49
  Item,
49
50
  LabelEnablement,
50
51
  AccessKeysEnablement,
52
+ CoreLibrary,
51
53
  ColumnListItem,
52
54
  GroupHeaderListItem,
53
55
  SeparatorItem,
@@ -160,7 +162,7 @@ function(
160
162
  * @extends sap.m.InputBase
161
163
  * @implements sap.ui.core.IAccessKeySupport
162
164
  * @author SAP SE
163
- * @version 1.123.1
165
+ * @version 1.124.1
164
166
  *
165
167
  * @constructor
166
168
  * @public
@@ -756,6 +758,14 @@ function(
756
758
  }
757
759
  };
758
760
 
761
+ Input.prototype.onAfterRendering = function() {
762
+ InputBase.prototype.onAfterRendering.call(this);
763
+
764
+ if (this.getType() === InputType.Password) {
765
+ this.getDomRef("inner").value = this.getProperty("value");
766
+ }
767
+ };
768
+
759
769
  /**
760
770
  * Returns input display text.
761
771
  *
@@ -1448,29 +1458,28 @@ function(
1448
1458
  const aItems = this._hasTabularSuggestions() ? this.getSuggestionRows() : this.getSuggestionItems();
1449
1459
  const oSuggestionsPopover = this._getSuggestionsPopover();
1450
1460
  const oSelectedItem = oSuggestionsPopover?.getItemsContainer()?.getSelectedItem();
1461
+ const oFocusedItem = bFocusInPopup && oSuggestionsPopover.getFocusedListItem();
1451
1462
  const sText = oSelectedItem?.getTitle?.() || oSelectedItem?.getCells?.()[0]?.getText?.() || "";
1452
1463
  const bPendingSuggest = !!this._iSuggestDelay && !sText.toLowerCase().includes(this._getTypedInValue().toLowerCase());
1453
1464
  let bFireSubmit = this.getEnabled() && this.getEditable();
1454
- let iValueLength, oFocusedItem;
1465
+ let iValueLength;
1455
1466
 
1456
1467
  // when enter is pressed before the timeout of suggestion delay, suggest event is cancelled
1457
1468
  this.cancelPendingSuggest();
1458
1469
 
1459
1470
  bFocusInPopup && this.setSelectionUpdatedFromList(true);
1460
1471
 
1461
- if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened && !this.isComposingCharacter() && !bPendingSuggest) {
1462
- oFocusedItem = oSuggestionsPopover.getFocusedListItem();
1472
+ // prevent closing of popover, when Enter is pressed on a group header
1473
+ if (this._bDoTypeAhead && oFocusedItem && oFocusedItem.isA("sap.m.GroupHeaderListItem")) {
1474
+ return;
1475
+ }
1463
1476
 
1477
+ if (this._bDoTypeAhead && bPopupOpened && !this.isComposingCharacter() && !bPendingSuggest) {
1464
1478
  if (this._hasTabularSuggestions()) {
1465
1479
  oSelectedItem && this.setSelectionRow(oSelectedItem, true);
1466
1480
  } else {
1467
1481
  oSelectedItem && this.setSelectionItem(ListHelpers.getItemByListItem(aItems, oSelectedItem), true);
1468
1482
  }
1469
-
1470
- // prevent closing of popover, when Enter is pressed on a group header
1471
- if (oFocusedItem && oFocusedItem.isA("sap.m.GroupHeaderListItem")) {
1472
- return;
1473
- }
1474
1483
  }
1475
1484
 
1476
1485
  if (bPopupOpened && !this.isComposingCharacter()) {
@@ -1659,10 +1668,7 @@ function(
1659
1668
  this._bSuspendInvalidate = true;
1660
1669
  this.updateAggregation("suggestionItems");
1661
1670
 
1662
- const fnCheckMatchingSuggestions = (sCurrentValue) => {
1663
- return this.getSuggestionItems().some((item) => (item.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
1664
- };
1665
- if (fnCheckMatchingSuggestions(this.getValue()) && this._isSuggestionsPopoverOpen()) {
1671
+ if (this.checkMatchingSuggestionItems(this.getValue()) && this._isSuggestionsPopoverOpen()) {
1666
1672
  this._handleTypeAhead(this);
1667
1673
  }
1668
1674
 
@@ -1921,7 +1927,6 @@ function(
1921
1927
  oList.addStyleClass("sapMInputSuggestionTableHidden");
1922
1928
  }
1923
1929
 
1924
- this.$("SuggDescr").text(""); // clear suggestion text
1925
1930
  this.$("inner").removeAttr("aria-activedescendant");
1926
1931
  };
1927
1932
 
@@ -1964,10 +1969,6 @@ function(
1964
1969
  // In that case the second DOM update of the invisible text element
1965
1970
  // do not occur if it is synchronous. BCP #2070466087
1966
1971
  setTimeout(function () {
1967
- if (!this.getSuggestionItems().length && !this._hasTabularSuggestions()) {
1968
- return this.$("SuggDescr").text("");
1969
- }
1970
-
1971
1972
  // add items to list
1972
1973
  if (iNumItems === 1) {
1973
1974
  sAriaText = oRb.getText("INPUT_SUGGESTIONS_ONE_HIT");
@@ -1978,7 +1979,7 @@ function(
1978
1979
  }
1979
1980
 
1980
1981
  // update Accessibility text for suggestion
1981
- this.$("SuggDescr").text(sAriaText);
1982
+ this._oInvisibleMessage?.announce(sAriaText, CoreLibrary.InvisibleMessageMode.Polite);
1982
1983
  }.bind(this), 0);
1983
1984
  };
1984
1985
 
@@ -2049,11 +2050,7 @@ function(
2049
2050
  this.updateAggregation("suggestionRows");
2050
2051
  this._synchronizeSuggestions();
2051
2052
 
2052
- const fnCheckMatchingTabularSuggestions = (sCurrentValue) => {
2053
- return this.getSuggestionRows().some((row) => (row.getCells?.()[0]?.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !row.isA("sap.m.GroupHeaderListItem"));
2054
- };
2055
-
2056
- if (fnCheckMatchingTabularSuggestions(this.getValue()) && this._isSuggestionsPopoverOpen()) {
2053
+ if (this.checkMatchingTabularSuggestionItems(this.getValue()) && this._isSuggestionsPopoverOpen()) {
2057
2054
  this._handleTypeAhead(this);
2058
2055
  }
2059
2056
 
@@ -2139,7 +2136,6 @@ function(
2139
2136
  if (!this.isMobileDevice() && this.$().hasClass("sapMInputFocused")) {
2140
2137
  this.openValueStateMessage();
2141
2138
  }
2142
- this.$("SuggDescr").text(""); // initialize suggestion ARIA text
2143
2139
  this.$("inner").removeAttr("aria-activedescendant");
2144
2140
 
2145
2141
  this._sPrevSuggValue = null;
@@ -2278,13 +2274,7 @@ function(
2278
2274
 
2279
2275
  oInput._setProposedItemText(null);
2280
2276
 
2281
- const fnCheckMatchingSuggestions = (sCurrentValue) => {
2282
- return this.getSuggestionItems().some((item) => (item.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
2283
- };
2284
- const fnCheckMatchingTabularSuggestions = (sCurrentValue) => {
2285
- return this.getSuggestionRows().some((row) => row.getCells?.()[0]?.getText().toLowerCase() === sCurrentValue.toLowerCase());
2286
- };
2287
- const bExactMatch = this._hasTabularSuggestions() ? fnCheckMatchingTabularSuggestions(sValue) : fnCheckMatchingSuggestions(sValue);
2277
+ const bExactMatch = this._hasTabularSuggestions() ? this.checkMatchingTabularSuggestionItems(sValue) : this.checkMatchingSuggestionItems(sValue);
2288
2278
 
2289
2279
  if (!bDoTypeAhead && !bExactMatch) {
2290
2280
  return;
@@ -2362,6 +2352,10 @@ function(
2362
2352
  return;
2363
2353
  }
2364
2354
 
2355
+ if (!this._getTypedInValue().length) {
2356
+ return;
2357
+ }
2358
+
2365
2359
  if (this._getTypedInValue() !== sValue) {
2366
2360
  this._setTypedInValue(oDomRef.value.substring(0, oDomRef.selectionStart));
2367
2361
 
@@ -2430,7 +2424,6 @@ function(
2430
2424
  Input.prototype.onfocusout = function (oEvent) {
2431
2425
  InputBase.prototype.onfocusout.apply(this, arguments);
2432
2426
  this.removeStyleClass("sapMInputFocused");
2433
- this.$("SuggDescr").text(""); // clear suggestion text, if any
2434
2427
  };
2435
2428
 
2436
2429
  /**
@@ -3054,6 +3047,7 @@ function(
3054
3047
 
3055
3048
  oPopover = oSuggPopover.getPopover();
3056
3049
  oPopover.attachBeforeOpen(function () {
3050
+ this.closeValueStateMessage();
3057
3051
  this._updateSuggestionsPopoverValueState();
3058
3052
  }, this);
3059
3053
 
@@ -3120,7 +3114,7 @@ function(
3120
3114
  this._refreshListItems();
3121
3115
  }, this)
3122
3116
  .attachBeforeOpen(function() {
3123
- var oSuggestionsInput = oSuggPopover.getInput();
3117
+ var oSuggestionsInput = oSuggPopover.getInput();
3124
3118
  // set the same placeholder and maxLength as the original input
3125
3119
  ["placeholder",
3126
3120
  "maxLength",
@@ -3610,6 +3604,25 @@ function(
3610
3604
  return ["value", "description"];
3611
3605
  };
3612
3606
 
3607
+
3608
+ /**
3609
+ * Check if the current value is matching with a suggestion item.
3610
+ *
3611
+ * @private
3612
+ */
3613
+ Input.prototype.checkMatchingSuggestionItems = function(sCurrentValue) {
3614
+ return this.getSuggestionItems().some((item) => (item.getText?.().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
3615
+ };
3616
+
3617
+ /**
3618
+ * Check if the current value is matching with a tabular suggestion item.
3619
+ *
3620
+ * @private
3621
+ */
3622
+ Input.prototype.checkMatchingTabularSuggestionItems = function(sCurrentValue) {
3623
+ return this.getSuggestionRows().some((row) => row.getCells?.()[0]?.getText?.().toLowerCase() === sCurrentValue.toLowerCase() && !row.isA("sap.m.GroupHeaderListItem"));
3624
+ };
3625
+
3613
3626
  return Input;
3614
3627
 
3615
3628
  });
@@ -73,7 +73,7 @@ function(
73
73
  * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.123.1
76
+ * @version 1.124.1
77
77
  *
78
78
  * @constructor
79
79
  * @public
@@ -425,8 +425,6 @@ function(
425
425
  this.setErrorMessageAnnouncementState(false);
426
426
  }
427
427
 
428
- this.$("message").text(this.getValueStateText());
429
-
430
428
  // now dom value is up-to-date
431
429
  this._bCheckDomValue = false;
432
430
 
@@ -978,12 +976,10 @@ function(
978
976
  // To avoid execution of the opening logic after the closing one,
979
977
  // when closing the suggestions dialog on mobile devices, due to race condition,
980
978
  // the value state message should be closed with timeout because it's opened that way
981
- setTimeout(function() {
982
- if (this._oValueStateMessage) {
983
- this._detachValueStateLinkPress();
984
- this._oValueStateMessage.close();
985
- }
986
- }.bind(this), 0);
979
+ if (this._oValueStateMessage) {
980
+ this._detachValueStateLinkPress();
981
+ this._oValueStateMessage.close();
982
+ }
987
983
  };
988
984
 
989
985
  /**
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.123.1
33
+ * @version 1.124.1
34
34
  *
35
35
  * @constructor
36
36
  * @public