@openui5/sap.m 1.112.2 → 1.114.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +1 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +1 -1
  9. package/src/sap/m/ActionTileContent.js +1 -1
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +11 -3
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +32 -3
  14. package/src/sap/m/AvatarRenderer.js +1 -1
  15. package/src/sap/m/Bar.js +1 -1
  16. package/src/sap/m/Breadcrumbs.js +1 -1
  17. package/src/sap/m/BusyDialog.js +5 -3
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +19 -3
  20. package/src/sap/m/ButtonRenderer.js +9 -1
  21. package/src/sap/m/Carousel.js +3 -4
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CarouselRenderer.js +2 -6
  24. package/src/sap/m/CheckBox.js +1 -1
  25. package/src/sap/m/ColorPalette.js +1 -1
  26. package/src/sap/m/ColorPalettePopover.js +1 -1
  27. package/src/sap/m/Column.js +1 -1
  28. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  29. package/src/sap/m/ColumnListItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  35. package/src/sap/m/ComboBox.js +12 -2
  36. package/src/sap/m/ComboBoxBase.js +2 -2
  37. package/src/sap/m/ComboBoxTextField.js +1 -1
  38. package/src/sap/m/CustomListItem.js +1 -1
  39. package/src/sap/m/CustomTile.js +1 -1
  40. package/src/sap/m/CustomTreeItem.js +1 -1
  41. package/src/sap/m/DatePicker.js +52 -18
  42. package/src/sap/m/DatePickerRenderer.js +3 -1
  43. package/src/sap/m/DateRangeSelection.js +87 -26
  44. package/src/sap/m/DateRangeSelectionRenderer.js +3 -2
  45. package/src/sap/m/DateTimeField.js +26 -7
  46. package/src/sap/m/DateTimeInput.js +6 -4
  47. package/src/sap/m/DateTimePicker.js +86 -11
  48. package/src/sap/m/Dialog.js +2 -2
  49. package/src/sap/m/DisplayListItem.js +1 -1
  50. package/src/sap/m/DraftIndicator.js +1 -1
  51. package/src/sap/m/DynamicDate.js +5 -6
  52. package/src/sap/m/DynamicDateFormat.js +10 -7
  53. package/src/sap/m/DynamicDateOption.js +12 -6
  54. package/src/sap/m/DynamicDateRange.js +311 -65
  55. package/src/sap/m/DynamicDateUtil.js +5 -5
  56. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
  57. package/src/sap/m/ExpandableText.js +1 -1
  58. package/src/sap/m/FacetFilter.js +7 -5
  59. package/src/sap/m/FacetFilterItem.js +1 -1
  60. package/src/sap/m/FacetFilterList.js +1 -1
  61. package/src/sap/m/FeedContent.js +1 -1
  62. package/src/sap/m/FeedInput.js +2 -2
  63. package/src/sap/m/FeedListItem.js +14 -14
  64. package/src/sap/m/FeedListItemAction.js +1 -1
  65. package/src/sap/m/Fiori20Adapter.js +2 -2
  66. package/src/sap/m/FlexBox.js +1 -1
  67. package/src/sap/m/FlexItemData.js +1 -1
  68. package/src/sap/m/FormattedText.js +62 -6
  69. package/src/sap/m/FormattedTextRenderer.js +10 -52
  70. package/src/sap/m/GenericTag.js +1 -1
  71. package/src/sap/m/GenericTile.js +46 -40
  72. package/src/sap/m/GenericTileRenderer.js +17 -5
  73. package/src/sap/m/GroupHeaderListItem.js +1 -1
  74. package/src/sap/m/GrowingEnablement.js +19 -13
  75. package/src/sap/m/GrowingList.js +1 -1
  76. package/src/sap/m/HBox.js +1 -1
  77. package/src/sap/m/HeaderContainer.js +11 -5
  78. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  79. package/src/sap/m/IconTabBar.js +1 -1
  80. package/src/sap/m/IconTabBarSelectList.js +1 -1
  81. package/src/sap/m/IconTabFilter.js +5 -6
  82. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  83. package/src/sap/m/IconTabHeader.js +1 -1
  84. package/src/sap/m/IconTabSeparator.js +5 -8
  85. package/src/sap/m/IllustratedMessage.js +30 -2
  86. package/src/sap/m/IllustratedMessageType.js +12 -0
  87. package/src/sap/m/Illustration.js +1 -1
  88. package/src/sap/m/Image.js +9 -1
  89. package/src/sap/m/ImageContent.js +1 -1
  90. package/src/sap/m/ImageHelper.js +110 -0
  91. package/src/sap/m/Input.js +23 -5
  92. package/src/sap/m/InputBase.js +1 -1
  93. package/src/sap/m/InputListItem.js +1 -1
  94. package/src/sap/m/Label.js +1 -1
  95. package/src/sap/m/LightBox.js +2 -5
  96. package/src/sap/m/LightBoxItem.js +1 -1
  97. package/src/sap/m/LightBoxRenderer.js +3 -0
  98. package/src/sap/m/Link.js +6 -8
  99. package/src/sap/m/LinkRenderer.js +2 -4
  100. package/src/sap/m/List.js +2 -2
  101. package/src/sap/m/ListBase.js +8 -7
  102. package/src/sap/m/ListItemBase.js +6 -5
  103. package/src/sap/m/MaskEnabler.js +1 -1
  104. package/src/sap/m/MaskInput.js +1 -1
  105. package/src/sap/m/MaskInputRule.js +1 -1
  106. package/src/sap/m/Menu.js +42 -35
  107. package/src/sap/m/MenuButton.js +1 -1
  108. package/src/sap/m/MenuItem.js +8 -8
  109. package/src/sap/m/MenuListItem.js +1 -1
  110. package/src/sap/m/MessageBox.js +5 -0
  111. package/src/sap/m/MessageItem.js +1 -1
  112. package/src/sap/m/MessageListItem.js +4 -5
  113. package/src/sap/m/MessagePage.js +1 -1
  114. package/src/sap/m/MessagePopover.js +7 -2
  115. package/src/sap/m/MessagePopoverItem.js +1 -1
  116. package/src/sap/m/MessageStrip.js +1 -1
  117. package/src/sap/m/MessageToast.js +78 -10
  118. package/src/sap/m/MessageView.js +1 -1
  119. package/src/sap/m/MultiComboBox.js +46 -10
  120. package/src/sap/m/MultiEditField.js +1 -1
  121. package/src/sap/m/MultiInput.js +18 -18
  122. package/src/sap/m/NavContainer.js +1 -1
  123. package/src/sap/m/NewsContent.js +1 -1
  124. package/src/sap/m/NotificationList.js +1 -1
  125. package/src/sap/m/NotificationListBase.js +1 -1
  126. package/src/sap/m/NotificationListGroup.js +1 -1
  127. package/src/sap/m/NotificationListItem.js +1 -1
  128. package/src/sap/m/NumericContent.js +1 -1
  129. package/src/sap/m/NumericInput.js +1 -1
  130. package/src/sap/m/ObjectAttribute.js +6 -6
  131. package/src/sap/m/ObjectHeader.js +5 -5
  132. package/src/sap/m/ObjectIdentifier.js +1 -1
  133. package/src/sap/m/ObjectListItem.js +5 -6
  134. package/src/sap/m/ObjectMarker.js +1 -1
  135. package/src/sap/m/ObjectNumber.js +1 -1
  136. package/src/sap/m/ObjectStatus.js +4 -7
  137. package/src/sap/m/OverflowToolbar.js +1 -1
  138. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  139. package/src/sap/m/OverflowToolbarButton.js +1 -1
  140. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  141. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  142. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  143. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  144. package/src/sap/m/P13nColumnsItem.js +1 -1
  145. package/src/sap/m/P13nColumnsPanel.js +1 -1
  146. package/src/sap/m/P13nConditionPanel.js +9 -5
  147. package/src/sap/m/P13nDialog.js +1 -1
  148. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  149. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  150. package/src/sap/m/P13nFilterItem.js +1 -1
  151. package/src/sap/m/P13nFilterPanel.js +1 -1
  152. package/src/sap/m/P13nGroupItem.js +1 -1
  153. package/src/sap/m/P13nGroupPanel.js +1 -1
  154. package/src/sap/m/P13nItem.js +1 -1
  155. package/src/sap/m/P13nPanel.js +1 -1
  156. package/src/sap/m/P13nSelectionItem.js +1 -1
  157. package/src/sap/m/P13nSelectionPanel.js +1 -1
  158. package/src/sap/m/P13nSortItem.js +1 -1
  159. package/src/sap/m/P13nSortPanel.js +1 -1
  160. package/src/sap/m/PDFViewer.js +1 -1
  161. package/src/sap/m/Page.js +2 -2
  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 +51 -39
  166. package/src/sap/m/PlanningCalendarHeader.js +3 -3
  167. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  168. package/src/sap/m/PlanningCalendarRow.js +15 -15
  169. package/src/sap/m/PlanningCalendarView.js +1 -1
  170. package/src/sap/m/Popover.js +5 -5
  171. package/src/sap/m/PopoverRenderer.js +0 -4
  172. package/src/sap/m/ProgressIndicator.js +1 -1
  173. package/src/sap/m/PullToRefresh.js +4 -10
  174. package/src/sap/m/QuickView.js +1 -1
  175. package/src/sap/m/QuickViewBase.js +1 -1
  176. package/src/sap/m/QuickViewCard.js +1 -1
  177. package/src/sap/m/QuickViewGroup.js +1 -1
  178. package/src/sap/m/QuickViewGroupElement.js +1 -1
  179. package/src/sap/m/QuickViewPage.js +1 -1
  180. package/src/sap/m/RadioButton.js +1 -1
  181. package/src/sap/m/RadioButtonGroup.js +2 -1
  182. package/src/sap/m/RangeSlider.js +1 -1
  183. package/src/sap/m/RatingIndicator.js +1 -1
  184. package/src/sap/m/RatingIndicatorRenderer.js +3 -1
  185. package/src/sap/m/ResponsivePopover.js +1 -1
  186. package/src/sap/m/ResponsiveScale.js +1 -1
  187. package/src/sap/m/ScrollBar.js +1 -1
  188. package/src/sap/m/ScrollContainer.js +1 -1
  189. package/src/sap/m/SearchField.js +17 -7
  190. package/src/sap/m/SegmentedButton.js +9 -1
  191. package/src/sap/m/SegmentedButtonItem.js +1 -1
  192. package/src/sap/m/Select.js +1 -1
  193. package/src/sap/m/SelectDialog.js +1 -1
  194. package/src/sap/m/SelectDialogBase.js +1 -1
  195. package/src/sap/m/SelectList.js +1 -1
  196. package/src/sap/m/SelectionDetails.js +1 -1
  197. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  198. package/src/sap/m/SelectionDetailsItem.js +2 -2
  199. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  200. package/src/sap/m/Shell.js +4 -3
  201. package/src/sap/m/SimpleFixFlex.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendar.js +84 -18
  203. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  204. package/src/sap/m/SinglePlanningCalendarGrid.js +196 -17
  205. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +32 -2
  206. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +191 -12
  207. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +25 -6
  208. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarView.js +2 -2
  210. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  212. package/src/sap/m/SlideTile.js +1 -1
  213. package/src/sap/m/Slider.js +4 -4
  214. package/src/sap/m/SliderTooltip.js +1 -1
  215. package/src/sap/m/SliderTooltipBase.js +1 -1
  216. package/src/sap/m/SliderTooltipContainer.js +1 -1
  217. package/src/sap/m/SplitApp.js +1 -1
  218. package/src/sap/m/SplitButton.js +1 -1
  219. package/src/sap/m/SplitContainer.js +1 -1
  220. package/src/sap/m/StandardDynamicDateOption.js +2 -3
  221. package/src/sap/m/StandardListItem.js +1 -1
  222. package/src/sap/m/StandardListItemRenderer.js +1 -1
  223. package/src/sap/m/StandardTile.js +4 -9
  224. package/src/sap/m/StandardTreeItem.js +1 -1
  225. package/src/sap/m/StepInput.js +1 -1
  226. package/src/sap/m/SuggestionItem.js +1 -1
  227. package/src/sap/m/SuggestionsPopover.js +1 -1
  228. package/src/sap/m/Switch.js +1 -1
  229. package/src/sap/m/TabContainer.js +1 -1
  230. package/src/sap/m/TabContainerItem.js +3 -6
  231. package/src/sap/m/TabStrip.js +1 -1
  232. package/src/sap/m/TabStripItem.js +3 -6
  233. package/src/sap/m/Table.js +5 -4
  234. package/src/sap/m/TablePersoController.js +1 -1
  235. package/src/sap/m/TablePersoDialog.js +1 -1
  236. package/src/sap/m/TablePersoProvider.js +1 -1
  237. package/src/sap/m/TableSelectDialog.js +1 -1
  238. package/src/sap/m/Text.js +1 -1
  239. package/src/sap/m/TextArea.js +1 -1
  240. package/src/sap/m/Tile.js +1 -1
  241. package/src/sap/m/TileContainer.js +1 -1
  242. package/src/sap/m/TileContent.js +8 -8
  243. package/src/sap/m/TileContentRenderer.js +1 -1
  244. package/src/sap/m/TimePicker.js +38 -8
  245. package/src/sap/m/TimePickerClock.js +1 -1
  246. package/src/sap/m/TimePickerClocks.js +4 -4
  247. package/src/sap/m/TimePickerClocksRenderer.js +7 -9
  248. package/src/sap/m/TimePickerInputs.js +10 -8
  249. package/src/sap/m/TimePickerInputsRenderer.js +7 -6
  250. package/src/sap/m/TimePickerInternals.js +15 -2
  251. package/src/sap/m/TimePickerRenderer.js +5 -1
  252. package/src/sap/m/TimePickerSlider.js +1 -1
  253. package/src/sap/m/TimePickerSliders.js +7 -5
  254. package/src/sap/m/Title.js +1 -1
  255. package/src/sap/m/TitlePropagationSupport.js +1 -1
  256. package/src/sap/m/TitleRenderer.js +1 -1
  257. package/src/sap/m/ToggleButton.js +1 -1
  258. package/src/sap/m/Token.js +1 -1
  259. package/src/sap/m/Tokenizer.js +19 -10
  260. package/src/sap/m/Toolbar.js +1 -1
  261. package/src/sap/m/ToolbarLayoutData.js +1 -1
  262. package/src/sap/m/ToolbarSeparator.js +1 -1
  263. package/src/sap/m/ToolbarSpacer.js +1 -1
  264. package/src/sap/m/Tree.js +7 -1
  265. package/src/sap/m/TreeItemBase.js +1 -1
  266. package/src/sap/m/UploadCollection.js +2 -1
  267. package/src/sap/m/UploadCollectionItem.js +1 -1
  268. package/src/sap/m/UploadCollectionParameter.js +1 -1
  269. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  270. package/src/sap/m/VBox.js +10 -1
  271. package/src/sap/m/ValueStateHeader.js +1 -1
  272. package/src/sap/m/VariantManagement.js +78 -83
  273. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  274. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  275. package/src/sap/m/ViewSettingsDialog.js +1 -1
  276. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  277. package/src/sap/m/ViewSettingsItem.js +1 -1
  278. package/src/sap/m/VisibleItem.js +1 -1
  279. package/src/sap/m/WheelSlider.js +1 -1
  280. package/src/sap/m/WheelSliderContainer.js +1 -1
  281. package/src/sap/m/Wizard.js +1 -1
  282. package/src/sap/m/WizardProgressNavigator.js +1 -1
  283. package/src/sap/m/WizardStep.js +1 -1
  284. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  285. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  286. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  287. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  288. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  289. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  290. package/src/sap/m/delegate/DateNavigation.js +1 -1
  291. package/src/sap/m/delegate/ValueStateMessage.js +15 -4
  292. package/src/sap/m/designtime/PersistenceProvider.designtime.js +21 -0
  293. package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
  294. package/src/sap/m/designtime/messagebundle_uk.properties +2 -2
  295. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +0 -2
  296. package/src/sap/m/library.js +46 -90
  297. package/src/sap/m/messagebundle.properties +51 -0
  298. package/src/sap/m/messagebundle_ar.properties +27 -3
  299. package/src/sap/m/messagebundle_bg.properties +49 -25
  300. package/src/sap/m/messagebundle_ca.properties +27 -3
  301. package/src/sap/m/messagebundle_cs.properties +28 -4
  302. package/src/sap/m/messagebundle_cy.properties +27 -3
  303. package/src/sap/m/messagebundle_da.properties +27 -3
  304. package/src/sap/m/messagebundle_de.properties +29 -5
  305. package/src/sap/m/messagebundle_el.properties +27 -3
  306. package/src/sap/m/messagebundle_en.properties +25 -1
  307. package/src/sap/m/messagebundle_en_GB.properties +25 -1
  308. package/src/sap/m/messagebundle_en_US_sappsd.properties +28 -0
  309. package/src/sap/m/messagebundle_en_US_saprigi.properties +24 -0
  310. package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -0
  311. package/src/sap/m/messagebundle_es.properties +27 -3
  312. package/src/sap/m/messagebundle_es_MX.properties +27 -3
  313. package/src/sap/m/messagebundle_et.properties +27 -3
  314. package/src/sap/m/messagebundle_fi.properties +27 -3
  315. package/src/sap/m/messagebundle_fr.properties +27 -3
  316. package/src/sap/m/messagebundle_fr_CA.properties +27 -3
  317. package/src/sap/m/messagebundle_hi.properties +27 -3
  318. package/src/sap/m/messagebundle_hr.properties +27 -3
  319. package/src/sap/m/messagebundle_hu.properties +27 -3
  320. package/src/sap/m/messagebundle_id.properties +27 -3
  321. package/src/sap/m/messagebundle_it.properties +30 -6
  322. package/src/sap/m/messagebundle_iw.properties +28 -4
  323. package/src/sap/m/messagebundle_ja.properties +27 -3
  324. package/src/sap/m/messagebundle_kk.properties +32 -8
  325. package/src/sap/m/messagebundle_ko.properties +27 -3
  326. package/src/sap/m/messagebundle_lt.properties +27 -3
  327. package/src/sap/m/messagebundle_lv.properties +27 -3
  328. package/src/sap/m/messagebundle_ms.properties +27 -3
  329. package/src/sap/m/messagebundle_nl.properties +27 -3
  330. package/src/sap/m/messagebundle_no.properties +27 -3
  331. package/src/sap/m/messagebundle_pl.properties +27 -3
  332. package/src/sap/m/messagebundle_pt.properties +27 -3
  333. package/src/sap/m/messagebundle_pt_PT.properties +27 -3
  334. package/src/sap/m/messagebundle_ro.properties +27 -3
  335. package/src/sap/m/messagebundle_ru.properties +27 -3
  336. package/src/sap/m/messagebundle_sh.properties +28 -4
  337. package/src/sap/m/messagebundle_sk.properties +27 -3
  338. package/src/sap/m/messagebundle_sl.properties +28 -4
  339. package/src/sap/m/messagebundle_sv.properties +27 -3
  340. package/src/sap/m/messagebundle_th.properties +27 -3
  341. package/src/sap/m/messagebundle_tr.properties +27 -3
  342. package/src/sap/m/messagebundle_uk.properties +31 -7
  343. package/src/sap/m/messagebundle_vi.properties +27 -3
  344. package/src/sap/m/messagebundle_zh_CN.properties +28 -4
  345. package/src/sap/m/messagebundle_zh_TW.properties +27 -3
  346. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  347. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  348. package/src/sap/m/p13n/BasePanel.js +113 -16
  349. package/src/sap/m/p13n/Container.js +38 -8
  350. package/src/sap/m/p13n/Engine.js +235 -186
  351. package/src/sap/m/p13n/GroupController.js +1 -1
  352. package/src/sap/m/p13n/GroupPanel.js +1 -1
  353. package/src/sap/m/p13n/PersistenceProvider.js +1 -1
  354. package/src/sap/m/p13n/Popup.js +8 -1
  355. package/src/sap/m/p13n/QueryPanel.js +7 -2
  356. package/src/sap/m/p13n/SelectionController.js +42 -22
  357. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  358. package/src/sap/m/p13n/SortController.js +1 -1
  359. package/src/sap/m/p13n/SortPanel.js +1 -1
  360. package/src/sap/m/p13n/handler/xConfigHandler.js +38 -13
  361. package/src/sap/m/p13n/modification/FlexModificationHandler.js +46 -23
  362. package/src/sap/m/p13n/modification/ModificationHandler.js +2 -2
  363. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  364. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +4 -4
  365. package/src/sap/m/p13n/modules/UIManager.js +22 -13
  366. package/src/sap/m/p13n/modules/xConfigAPI.js +4 -1
  367. package/src/sap/m/plugins/CellSelector.js +1 -1
  368. package/src/sap/m/plugins/ColumnResizer.js +10 -2
  369. package/src/sap/m/plugins/CopyProvider.js +122 -5
  370. package/src/sap/m/plugins/DataStateIndicator.js +15 -3
  371. package/src/sap/m/plugins/PasteProvider.js +1 -1
  372. package/src/sap/m/plugins/PluginBase.js +1 -1
  373. package/src/sap/m/semantic/AddAction.js +1 -1
  374. package/src/sap/m/semantic/CancelAction.js +1 -1
  375. package/src/sap/m/semantic/DeleteAction.js +1 -1
  376. package/src/sap/m/semantic/DetailPage.js +1 -1
  377. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  378. package/src/sap/m/semantic/EditAction.js +1 -1
  379. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  380. package/src/sap/m/semantic/FilterAction.js +1 -1
  381. package/src/sap/m/semantic/FilterSelect.js +1 -1
  382. package/src/sap/m/semantic/FlagAction.js +1 -1
  383. package/src/sap/m/semantic/ForwardAction.js +1 -1
  384. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  385. package/src/sap/m/semantic/GroupAction.js +1 -1
  386. package/src/sap/m/semantic/GroupSelect.js +1 -1
  387. package/src/sap/m/semantic/MainAction.js +1 -1
  388. package/src/sap/m/semantic/MasterPage.js +1 -1
  389. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  390. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  391. package/src/sap/m/semantic/NegativeAction.js +1 -1
  392. package/src/sap/m/semantic/OpenInAction.js +1 -1
  393. package/src/sap/m/semantic/PositiveAction.js +1 -1
  394. package/src/sap/m/semantic/PrintAction.js +1 -1
  395. package/src/sap/m/semantic/SaveAction.js +1 -1
  396. package/src/sap/m/semantic/Segment.js +1 -1
  397. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  398. package/src/sap/m/semantic/SemanticButton.js +1 -1
  399. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  400. package/src/sap/m/semantic/SemanticControl.js +1 -1
  401. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  402. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  403. package/src/sap/m/semantic/SemanticPage.js +1 -1
  404. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  405. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  406. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  407. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  408. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  409. package/src/sap/m/semantic/ShareMenu.js +1 -1
  410. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  411. package/src/sap/m/semantic/SortAction.js +1 -1
  412. package/src/sap/m/semantic/SortSelect.js +1 -1
  413. package/src/sap/m/table/Util.js +57 -3
  414. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  415. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  416. package/src/sap/m/table/columnmenu/Item.js +1 -1
  417. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  418. package/src/sap/m/table/columnmenu/Menu.js +36 -30
  419. package/src/sap/m/table/columnmenu/MenuRenderer.js +0 -6
  420. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  421. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  422. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  423. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  424. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  425. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  426. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  427. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  428. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  429. package/src/sap/m/themes/base/Button.less +20 -7
  430. package/src/sap/m/themes/base/Carousel.less +0 -2
  431. package/src/sap/m/themes/base/FacetFilter.less +0 -4
  432. package/src/sap/m/themes/base/FeedInput.less +131 -113
  433. package/src/sap/m/themes/base/GenericTile.less +17 -2
  434. package/src/sap/m/themes/base/IllustratedMessage.less +1 -1
  435. package/src/sap/m/themes/base/Input.less +4 -0
  436. package/src/sap/m/themes/base/InputBase.less +27 -15
  437. package/src/sap/m/themes/base/MessageToast.less +7 -0
  438. package/src/sap/m/themes/base/ObjectHeader.less +20 -0
  439. package/src/sap/m/themes/base/Panel.less +1 -0
  440. package/src/sap/m/themes/base/PlanningCalendar.less +9 -0
  441. package/src/sap/m/themes/base/PlanningCalendarHeader.less +26 -1
  442. package/src/sap/m/themes/base/SelectionDetailsItem.less +1 -1
  443. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +75 -4
  444. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +38 -8
  445. package/src/sap/m/themes/base/StandardListItem.less +1 -0
  446. package/src/sap/m/themes/base/Table.less +0 -20
  447. package/src/sap/m/themes/base/TimePickerClocks.less +2 -1
  448. package/src/sap/m/themes/base/TimePickerInputs.less +2 -1
  449. package/src/sap/m/themes/base/Toolbar.less +3 -2
  450. package/src/sap/m/themes/base/UploadCollection.less +1 -0
  451. package/src/sap/m/themes/base/Wizard.less +5 -1
  452. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoColumnsSet.svg +35 -0
  453. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Survey.svg +22 -0
  454. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoColumnsSet.svg +6 -0
  455. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Survey.svg +7 -0
  456. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoColumnsSet.svg +36 -0
  457. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Survey.svg +21 -0
  458. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoColumnsSet.svg +36 -0
  459. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Survey.svg +32 -0
  460. package/src/sap/m/upload/UploadSet.js +53 -27
  461. package/src/sap/m/upload/UploadSetItem.js +40 -26
  462. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  463. package/src/sap/m/CustomDynamicDateOption.js +0 -110
@@ -263,12 +263,15 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Conf
263
263
  oRm.openEnd();
264
264
  }
265
265
  oRm.openStart("div");
266
+
266
267
  if (frameType === frameTypes.OneByOne) {
267
268
  oRm.class("sapMGTOneByOneIcon");
268
269
  } else {
269
270
  oRm.class("sapMGTTwoByHalfIcon");
270
- if (!this._isThemeHighContrast()) {
271
- oRm.style("background-color", sBGColor);
271
+ if (oControl._sTileBadge) {
272
+ oRm.class("sapMGTIconBadge");
273
+ } else if (!this._isThemeHighContrast()) {
274
+ oRm.style("background-color", sBGColor);
272
275
  } else {
273
276
  oRm.class("HighContrastTile");
274
277
  oRm.style("border-color", sBGColor);
@@ -276,10 +279,19 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Conf
276
279
  }
277
280
  }
278
281
  oRm.openEnd();
279
- if (oControl.getTileIcon()) {
280
- var sAggregation = oControl._generateIconAggregation(oControl.getTileIcon());
282
+ if (oControl.getTileIcon() || oControl._sTileBadge) {
283
+ var sAggregation = oControl._generateIconAggregation(oControl._sTileBadge ? "sap-icon://folder-full" : oControl.getTileIcon());
281
284
  if (sAggregation) {
282
- oRm.renderControl(oControl.getAggregation(sAggregation));
285
+ var oIcon = oControl.getAggregation(sAggregation);
286
+ if (oControl._sTileBadge) {
287
+ oIcon.setColor(sBGColor);
288
+ }
289
+ oRm.renderControl(oIcon);
290
+ }
291
+ if (oControl._sTileBadge) {
292
+ oRm.openStart("div", oControl.getId() + "-tileBadge").class("sapMGTileBadge").openEnd();
293
+ oRm.text(oControl._sTileBadge);
294
+ oRm.close("div");
283
295
  }
284
296
  }
285
297
  oRm.close("div");
@@ -30,7 +30,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.112.2
33
+ * @version 1.114.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -545,9 +545,12 @@ sap.ui.define([
545
545
  this._oRM.renderControl(this._aChunk[i]);
546
546
  }
547
547
 
548
- var bHasFocus = (vInsert == false) && oDomRef.contains(document.activeElement);
548
+ this._bHadFocus = (vInsert == false) && oDomRef.contains(document.activeElement);
549
549
  this._oRM.flush(oDomRef, false, this._getDomIndex(vInsert));
550
- bHasFocus && this._oControl.focus();
550
+ this._bHadFocus && this._oControl.focus();
551
+ if (!this._oControl.getBusy()) {
552
+ this._bHadFocus = false;
553
+ }
551
554
  this._aChunk = [];
552
555
  },
553
556
 
@@ -781,8 +784,8 @@ sap.ui.define([
781
784
 
782
785
  _updateTriggerDelayed: function(bLoading) {
783
786
  if (this._oControl.getGrowingScrollToLoad()) {
784
- this._iTriggerTimer && window.cancelAnimationFrame(this._iTriggerTimer);
785
- this._iTriggerTimer = window.requestAnimationFrame(this._updateTrigger.bind(this, bLoading));
787
+ this._iTriggerTimer && clearTimeout(this._iTriggerTimer);
788
+ this._iTriggerTimer = setTimeout(this._updateTrigger.bind(this, bLoading));
786
789
  } else {
787
790
  this._updateTrigger(bLoading);
788
791
  }
@@ -792,15 +795,12 @@ sap.ui.define([
792
795
  _updateTrigger : function(bLoading) {
793
796
  var oTrigger = this._oTrigger,
794
797
  oControl = this._oControl,
795
- bVisibleItems = oControl && oControl.getVisibleItems().length > 0;
798
+ bVisibleItems = oControl && oControl.getVisibleItems().length > 0,
799
+ oBinding = oControl && oControl.getBinding("items");
796
800
 
797
801
  // If there are no visible columns or items then also hide the trigger.
798
- if (!oTrigger || !oControl || !bVisibleItems || !oControl.shouldRenderItems() || !oControl.getDomRef()) {
799
- return;
800
- }
801
-
802
- var oBinding = oControl.getBinding("items");
803
- if (!oBinding) {
802
+ if (!oTrigger || !oControl || !bVisibleItems || !oBinding || !oControl.shouldRenderItems() || !oControl.getDomRef()) {
803
+ this._bHadFocus = false;
804
804
  return;
805
805
  }
806
806
 
@@ -820,8 +820,14 @@ sap.ui.define([
820
820
  oTriggerDomRef = oTrigger.getDomRef();
821
821
 
822
822
  // put the focus to the newly added item if growing button is pressed
823
- if (oTriggerDomRef && oTriggerDomRef.contains(document.activeElement)) {
824
- (aItems[this._iLastItemsCount] || oControl).focus();
823
+ // or to the item if the focus was on the items container
824
+
825
+ if (this._bHadFocus) {
826
+ this._bHadFocus = false;
827
+ jQuery(this._oControl.getNavigationRoot()).trigger("focus");
828
+ } else if (oTriggerDomRef && oTriggerDomRef.contains(document.activeElement)) {
829
+ var oFocusTarget = aItems[this._iLastItemsCount] || oControl;
830
+ oFocusTarget && setTimeout(oFocusTarget.focus.bind(oFocusTarget));
825
831
  }
826
832
 
827
833
  // show, update or hide the growing button
@@ -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.112.2
25
+ * @version 1.114.0
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.112.2
28
+ * @version 1.114.0
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.112.2
127
+ * @version 1.114.0
128
128
  *
129
129
  * @public
130
130
  * @alias sap.m.HeaderContainer
@@ -344,6 +344,12 @@ sap.ui.define([
344
344
  this._oItemNavigation.setTabIndex0();
345
345
  this._oItemNavigation.setCycling(false);
346
346
 
347
+ //Respecting Global Shortcuts like alt+right/left, cmd+right/left which is used for browser navigation with keyboard
348
+ this._oItemNavigation.setDisabledModifiers({
349
+ sapnext: ["alt", "meta"],
350
+ sapprevious: ["alt", "meta"]
351
+ });
352
+
347
353
  this._handleMobileScrolling();
348
354
  }
349
355
  if (this._isMobileView()) {
@@ -423,11 +429,11 @@ sap.ui.define([
423
429
  Log.warning("No width provided", this);
424
430
  }
425
431
  if (Device.system.desktop) {
426
- this._oArrowPrev.setProperty("icon", sIconPrev, true);
427
- this._oArrowNext.setProperty("icon", sIconNext, true);
432
+ this._oArrowPrev.setIcon(sIconPrev);
433
+ this._oArrowNext.setIcon(sIconNext);
428
434
  } else if (Device.system.phone || Device.system.tablet) {
429
- this._oArrowPrev.setProperty("src", sIconPrev, true);
430
- this._oArrowNext.setProperty("src", sIconNext, true);
435
+ this._oArrowPrev.setSrc(sIconPrev);
436
+ this._oArrowNext.setSrc(sIconNext);
431
437
  }
432
438
 
433
439
  // before rendering starts, content items need to be updated - see _callSuperMethod
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @since 1.67.0
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.112.2
19
+ * @version 1.114.0
20
20
  *
21
21
  * @constructor
22
22
  * @alias sap.m.HeaderContainerItemNavigator
@@ -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.112.2
97
+ * @version 1.114.0
98
98
  *
99
99
  * @public
100
100
  * @alias sap.m.IconTabBar
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.112.2
41
+ * @version 1.114.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -20,7 +20,8 @@ sap.ui.define([
20
20
  "sap/m/Button",
21
21
  "sap/m/ResponsivePopover",
22
22
  "sap/m/IconTabBarSelectList",
23
- "sap/m/BadgeEnabler"
23
+ "sap/m/BadgeEnabler",
24
+ "sap/m/ImageHelper"
24
25
  ], function (
25
26
  library,
26
27
  AccButton,
@@ -36,7 +37,8 @@ sap.ui.define([
36
37
  Button,
37
38
  ResponsivePopover,
38
39
  IconTabBarSelectList,
39
- BadgeEnabler
40
+ BadgeEnabler,
41
+ ImageHelper
40
42
  ) {
41
43
  "use strict";
42
44
 
@@ -52,9 +54,6 @@ sap.ui.define([
52
54
  // shortcut for sap.m.PlacementType
53
55
  var PlacementType = library.PlacementType;
54
56
 
55
- // shortcut for sap.m.ImageHelper
56
- var ImageHelper = library.ImageHelper;
57
-
58
57
  // shortcut for sap.m.IconTabFilterDesign
59
58
  var IconTabFilterDesign = library.IconTabFilterDesign;
60
59
 
@@ -94,7 +93,7 @@ sap.ui.define([
94
93
  * @implements sap.m.IconTab
95
94
  *
96
95
  * @author SAP SE
97
- * @version 1.112.2
96
+ * @version 1.114.0
98
97
  *
99
98
  * @constructor
100
99
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.112.2
34
+ * @version 1.114.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
  * @extends sap.ui.core.Control
78
78
  *
79
79
  * @author SAP SE
80
- * @version 1.112.2
80
+ * @version 1.114.0
81
81
  *
82
82
  * @constructor
83
83
  * @public
@@ -6,23 +6,20 @@
6
6
 
7
7
  // Provides control sap.m.IconTabSeparator.
8
8
  sap.ui.define([
9
- "./library",
10
9
  "sap/ui/core/Core",
11
10
  "sap/ui/core/Element",
12
11
  "sap/ui/core/Item",
13
- "sap/m/IconTabFilter"
12
+ "sap/m/IconTabFilter",
13
+ "sap/m/ImageHelper"
14
14
  ], function (
15
- library,
16
15
  Core,
17
16
  Element,
18
17
  Item,
19
- IconTabFilter
18
+ IconTabFilter,
19
+ ImageHelper
20
20
  ) {
21
21
  "use strict";
22
22
 
23
- // shortcut for sap.m.ImageHelper
24
- var ImageHelper = library.ImageHelper;
25
-
26
23
  /**
27
24
  * Constructor for a new IconTabSeparator.
28
25
  *
@@ -36,7 +33,7 @@ sap.ui.define([
36
33
  * @implements sap.m.IconTab
37
34
  *
38
35
  * @author SAP SE
39
- * @version 1.112.2
36
+ * @version 1.114.0
40
37
  *
41
38
  * @constructor
42
39
  * @public
@@ -86,7 +86,7 @@ sap.ui.define([
86
86
  * @extends sap.ui.core.Control
87
87
  *
88
88
  * @author SAP SE
89
- * @version 1.112.2
89
+ * @version 1.114.0
90
90
  *
91
91
  * @constructor
92
92
  * @public
@@ -340,6 +340,7 @@ sap.ui.define([
340
340
  this._attachResizeHandlers();
341
341
  this._preventWidowWords(this._getTitle().getDomRef());
342
342
  this._preventWidowWords(this._getDescription().getDomRef());
343
+ this._setDefaultIllustrationLabel();
343
344
  };
344
345
 
345
346
  IllustratedMessage.prototype.exit = function () {
@@ -360,6 +361,21 @@ sap.ui.define([
360
361
  return this.setProperty("illustrationType", sValue);
361
362
  };
362
363
 
364
+ /**
365
+ * Sets the title of the IllustratedMessage as default aria-labelledby to the Illustration.
366
+ * @private
367
+ */
368
+ IllustratedMessage.prototype._setDefaultIllustrationLabel = function (sValue) {
369
+ var aAriaLabelledBy = this.getAssociation("ariaLabelledBy"),
370
+ sTitleId = this._getTitle().sId;
371
+
372
+ // check if falsy or empty array
373
+ if (!aAriaLabelledBy || !aAriaLabelledBy.length) {
374
+ this.addIllustrationAriaLabelledBy(sTitleId);
375
+ }
376
+ };
377
+
378
+
363
379
  /**
364
380
  * Gets the default text for the description aggregation.
365
381
  * @private
@@ -791,20 +807,30 @@ sap.ui.define([
791
807
  };
792
808
 
793
809
  IllustratedMessage.prototype.addIllustrationAriaLabelledBy = function(sID) {
810
+ var aAriaLabelledBy = this.getAssociation("ariaLabelledBy"),
811
+ sTitleId = this._getTitle().sId,
812
+ oIllustratedMessageIllustration = this._getIllustration();
813
+
794
814
  this.addAssociation("ariaLabelledBy", sID, true);
795
815
 
796
- var oIllustratedMessageIllustration = this._getIllustration();
816
+ if (aAriaLabelledBy && aAriaLabelledBy.includes(sTitleId)) {
817
+ this.removeIllustrationAriaLabelledBy(sTitleId);
818
+ }
819
+
797
820
  oIllustratedMessageIllustration.addAriaLabelledBy(sID);
798
821
 
799
822
  return this;
800
823
  };
801
824
 
802
825
  IllustratedMessage.prototype.removeIllustrationAriaLabelledBy = function(sID) {
826
+
803
827
  this.removeAssociation("ariaLabelledBy", sID, true);
804
828
 
805
829
  var oIllustratedMessageIllustration = this._getIllustration();
806
830
  oIllustratedMessageIllustration.removeAriaLabelledBy(sID);
807
831
 
832
+ this._setDefaultIllustrationLabel();
833
+
808
834
  return this;
809
835
  };
810
836
 
@@ -814,6 +840,8 @@ sap.ui.define([
814
840
  var oIllustratedMessageIllustration = this._getIllustration();
815
841
  oIllustratedMessageIllustration.removeAllAriaLabelledBy(sID);
816
842
 
843
+ this._setDefaultIllustrationLabel();
844
+
817
845
  return this;
818
846
  };
819
847
 
@@ -95,6 +95,12 @@ sap.ui.define([], function () {
95
95
  */
96
96
  NoDimensionsSet: "sapIllus-NoDimensionsSet",
97
97
 
98
+ /**
99
+ * "No Columns Set" illustration type.
100
+ * @public
101
+ */
102
+ NoColumnsSet: "sapIllus-NoColumnsSet",
103
+
98
104
  /**
99
105
  * "Unable To Load" illustration type.
100
106
  * @public
@@ -341,6 +347,12 @@ sap.ui.define([], function () {
341
347
  */
342
348
  SuccessScreen: "sapIllus-SuccessScreen",
343
349
 
350
+ /**
351
+ * "Survey" illustration type.
352
+ * @public
353
+ */
354
+ Survey: "sapIllus-Survey",
355
+
344
356
  /**
345
357
  * "Tent" illustration type.
346
358
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.112.2
35
+ * @version 1.114.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @implements sap.ui.core.IFormContent
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.112.2
61
+ * @version 1.114.0
62
62
  *
63
63
  * @public
64
64
  * @alias sap.m.Image
@@ -237,6 +237,7 @@ sap.ui.define([
237
237
 
238
238
  /**
239
239
  * Event is fired when the user clicks on the control. (This event is deprecated, use the press event instead)
240
+ * @deprecated As of version 1.107.0
240
241
  */
241
242
  tap : {},
242
243
 
@@ -534,7 +535,11 @@ sap.ui.define([
534
535
  * @private
535
536
  */
536
537
  Image.prototype.ontouchstart = function(oEvent) {
538
+ /**
539
+ * @deprecated event
540
+ */
537
541
  if (oEvent.srcControl.mEventRegistry["press"] || oEvent.srcControl.mEventRegistry["tap"]) {
542
+
538
543
  // mark the event for components that needs to know if the event was handled by the Image
539
544
  oEvent.setMarked();
540
545
  }
@@ -596,6 +601,9 @@ sap.ui.define([
596
601
  * @private
597
602
  */
598
603
  Image.prototype.ontap = function(oEvent) {
604
+ /**
605
+ * @deprecated event
606
+ */
599
607
  this.fireTap({/* no parameters */}); // (This event is deprecated, use the press event instead)
600
608
  this.firePress({/* no parameters */});
601
609
  };
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.112.2
36
+ * @version 1.114.0
37
37
  * @since 1.38
38
38
  *
39
39
  * @public
@@ -0,0 +1,110 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ "sap/m/library",
9
+ "sap/base/strings/capitalize",
10
+ "sap/base/assert",
11
+ "sap/m/Image",
12
+ "sap/ui/core/Icon",
13
+ "sap/ui/core/IconPool"
14
+ ],
15
+ function (
16
+ mLibrary,
17
+ capitalize,
18
+ assert,
19
+ Image,
20
+ Icon,
21
+ IconPool
22
+ ) {
23
+ "use strict";
24
+ /**
25
+ * Helper for Images.
26
+ *
27
+ * @namespace
28
+ * @since 1.12
29
+ * @protected
30
+ */
31
+ var ImageHelper = {};
32
+
33
+ /**
34
+ * Checks if value is not undefined, in which case the
35
+ * setter function for a given property is called.
36
+ * Returns true if value is set, false otherwise.
37
+ *
38
+ * @private
39
+ */
40
+ function checkAndSetProperty(oControl, property, value) {
41
+ if (value !== undefined) {
42
+ var fSetter = oControl["set" + capitalize(property)];
43
+ if (typeof (fSetter) === "function") {
44
+ fSetter.call(oControl, value);
45
+ return true;
46
+ }
47
+ }
48
+ return false;
49
+ }
50
+ /** @lends sap.m.ImageHelper */
51
+ /**
52
+ * Creates or updates an image control.
53
+ *
54
+ * @param {string} sImgId UD of the image to be dealt with.
55
+ * @param {sap.m.Image} oImage The image to update. If undefined, a new image will be created.
56
+ * @param {sap.ui.core.Control} oParent oImageControl's parentControl.
57
+ * @param {object} mProperties Settings for the image control; the <code>src</code> property
58
+ * MUST be contained; the keys of the object must be valid names of image settings
59
+ * @param {string[]} aCssClassesToAdd Array of CSS classes which will be added if the image needs to be created.
60
+ * @param {string[]} aCssClassesToRemove All CSS classes that oImageControl has and which are contained in this array
61
+ * are removed before adding the CSS classes listed in aCssClassesToAdd.
62
+ * @returns {sap.m.Image|sap.ui.core.Icon} The new or updated image control or icon
63
+ *
64
+ * @protected
65
+ */
66
+ ImageHelper.getImageControl = function (sImgId, oImage, oParent, mProperties, aCssClassesToAdd, aCssClassesToRemove) {
67
+ assert(mProperties.src, "sap.m.ImageHelper.getImageControl: mProperties do not contain 'src'");
68
+
69
+ // make sure, image is rerendered if icon source has changed
70
+ if (oImage && (oImage.getSrc() != mProperties.src)) {
71
+ oImage.destroy();
72
+ oImage = undefined;
73
+ }
74
+ // update or create image control
75
+ if (oImage && (oImage instanceof Image || oImage instanceof Icon)) {
76
+ //Iterate through properties
77
+ for (var key in mProperties) {
78
+ checkAndSetProperty(oImage, key, mProperties[key]);
79
+ }
80
+ } else {
81
+ //add 'id' to properties. This is required by utility method 'createControlByURI'
82
+ var mSettings = Object.assign({}, mProperties, { id: sImgId });
83
+ oImage = IconPool.createControlByURI(mSettings, Image);
84
+ //Set the parent so the image gets re-rendered, when the parent is
85
+ oImage.setParent(oParent, null, true);
86
+ }
87
+
88
+ //Remove existing style classes which are contained in aCssClassesToRemove
89
+ //(the list of CSS classes allowed for deletion) to have them updated later on
90
+ //Unfortunately, there is no other way to do this but remove
91
+ //each class individually
92
+ if (aCssClassesToRemove) {
93
+ for (var l = 0, removeLen = aCssClassesToRemove.length; l !== removeLen; l++) {
94
+ oImage.removeStyleClass(aCssClassesToRemove[l]);
95
+ }
96
+ }
97
+ //Add style classes if necessary
98
+ if (aCssClassesToAdd) {
99
+ for (var k = 0, len = aCssClassesToAdd.length; k !== len; k++) {
100
+ oImage.addStyleClass(aCssClassesToAdd[k]);
101
+ }
102
+ }
103
+ return oImage;
104
+ };
105
+
106
+ mLibrary.ImageHelper = ImageHelper;
107
+
108
+ return ImageHelper;
109
+
110
+ });
@@ -157,7 +157,7 @@ function(
157
157
  * @extends sap.m.InputBase
158
158
  * @implements sap.ui.core.IAccessKeySupport
159
159
  * @author SAP SE
160
- * @version 1.112.2
160
+ * @version 1.114.0
161
161
  *
162
162
  * @constructor
163
163
  * @public
@@ -322,7 +322,7 @@ function(
322
322
 
323
323
  /**
324
324
  * Specifies whether clear icon is shown.
325
- * Pressing the icon will clear input's value and fire the change and liveChange events.
325
+ * Pressing the icon will clear input's value and fire the liveChange event.
326
326
  * @since 1.94
327
327
  */
328
328
  showClearIcon: { type: "boolean", defaultValue: false },
@@ -3058,10 +3058,28 @@ function(
3058
3058
  oSuggPopover.resizePopup(this);
3059
3059
  this._registerPopupResize();
3060
3060
  this._bAfterOpenFinisihed = false;
3061
- }, this)
3062
- .attachAfterOpen(function () {
3063
- this._bAfterOpenFinisihed = true;
3064
3061
  }, this);
3062
+
3063
+ oPopover.addEventDelegate({
3064
+ onAfterRendering: function() {
3065
+ var iInputWidth = this.getDomRef().getBoundingClientRect().width;
3066
+ var sPopoverMaxWidth = getComputedStyle(this.getDomRef()).getPropertyValue("--sPopoverMaxWidth");
3067
+
3068
+ if (this.getMaxSuggestionWidth()) {
3069
+ return;
3070
+ }
3071
+
3072
+ if (iInputWidth <= parseInt(sPopoverMaxWidth) && !Device.system.phone) {
3073
+ oSuggPopover.getPopover().getDomRef().style.setProperty("max-width", "40rem");
3074
+ } else {
3075
+ oSuggPopover.getPopover().getDomRef().style.setProperty("max-width", iInputWidth + "px");
3076
+ }
3077
+
3078
+ oSuggPopover.getPopover().getDomRef().style.setProperty("min-width", iInputWidth + "px");
3079
+
3080
+ this._bAfterOpenFinisihed = true;
3081
+ }
3082
+ }, this);
3065
3083
  }
3066
3084
 
3067
3085
  // add popup to a hidden aggregation to also propagate the model and bindings to the content of the popover
@@ -64,7 +64,7 @@ function(
64
64
  * @implements sap.ui.core.IFormContent
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.112.2
67
+ * @version 1.114.0
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.112.2
33
+ * @version 1.114.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -78,7 +78,7 @@ function(
78
78
  * @implements sap.ui.core.Label, sap.ui.core.IShrinkable, sap.ui.core.IAccessKeySupport
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.112.2
81
+ * @version 1.114.0
82
82
  *
83
83
  * @constructor
84
84
  * @public