@openui5/sap.m 1.139.0 → 1.141.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 (525) hide show
  1. package/THIRDPARTY.txt +2 -2
  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 +2 -4
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +14 -9
  14. package/src/sap/m/AvatarBadgeColor.js +63 -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 +1 -1
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +2 -2
  20. package/src/sap/m/Carousel.js +2 -2
  21. package/src/sap/m/CarouselLayout.js +1 -1
  22. package/src/sap/m/CheckBox.js +1 -1
  23. package/src/sap/m/ColorPalette.js +36 -5
  24. package/src/sap/m/ColorPalettePopover.js +5 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnListItem.js +6 -2
  27. package/src/sap/m/ColumnListItemRenderer.js +0 -1
  28. package/src/sap/m/ComboBox.js +1 -1
  29. package/src/sap/m/ComboBoxBase.js +1 -1
  30. package/src/sap/m/ComboBoxTextField.js +1 -1
  31. package/src/sap/m/ContentConfig.js +1 -1
  32. package/src/sap/m/CustomListItem.js +1 -1
  33. package/src/sap/m/CustomTile.js +1 -1
  34. package/src/sap/m/CustomTreeItem.js +1 -1
  35. package/src/sap/m/DatePicker.js +54 -14
  36. package/src/sap/m/DateRangeSelection.js +3 -3
  37. package/src/sap/m/DateTimeField.js +1 -1
  38. package/src/sap/m/DateTimeInput.js +1 -1
  39. package/src/sap/m/DateTimePicker.js +5 -7
  40. package/src/sap/m/Dialog.js +1 -1
  41. package/src/sap/m/DisplayListItem.js +1 -1
  42. package/src/sap/m/DraftIndicator.js +1 -1
  43. package/src/sap/m/DynamicDate.js +1 -1
  44. package/src/sap/m/DynamicDateFormat.js +3 -0
  45. package/src/sap/m/DynamicDateOption.js +1 -1
  46. package/src/sap/m/DynamicDateRange.js +6 -2
  47. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  48. package/src/sap/m/ExpandableText.js +1 -1
  49. package/src/sap/m/ExpandableTextRenderer.js +1 -1
  50. package/src/sap/m/FacetFilter.js +1 -1
  51. package/src/sap/m/FacetFilterItem.js +1 -1
  52. package/src/sap/m/FacetFilterList.js +1 -1
  53. package/src/sap/m/FeedContent.js +1 -1
  54. package/src/sap/m/FeedInput.js +1 -1
  55. package/src/sap/m/FeedListItem.js +1 -1
  56. package/src/sap/m/FeedListItemAction.js +1 -1
  57. package/src/sap/m/Fiori20Adapter.js +2 -2
  58. package/src/sap/m/FlexBox.js +1 -1
  59. package/src/sap/m/FlexBoxStylingHelper.js +1 -1
  60. package/src/sap/m/FlexItemData.js +1 -1
  61. package/src/sap/m/FormattedText.js +1 -1
  62. package/src/sap/m/GenericTag.js +1 -1
  63. package/src/sap/m/GenericTile.js +1 -1
  64. package/src/sap/m/GroupHeaderListItem.js +1 -1
  65. package/src/sap/m/GrowingEnablement.js +1 -1
  66. package/src/sap/m/GrowingList.js +1 -1
  67. package/src/sap/m/HBox.js +1 -1
  68. package/src/sap/m/HeaderContainer.js +1 -1
  69. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  70. package/src/sap/m/IconTabBar.js +1 -1
  71. package/src/sap/m/IconTabBarSelectList.js +1 -1
  72. package/src/sap/m/IconTabFilter.js +1 -1
  73. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  74. package/src/sap/m/IconTabHeader.js +1 -1
  75. package/src/sap/m/IconTabSeparator.js +1 -1
  76. package/src/sap/m/IllustratedMessage.js +1 -1
  77. package/src/sap/m/Illustration.js +1 -1
  78. package/src/sap/m/Image.js +1 -1
  79. package/src/sap/m/ImageContent.js +1 -1
  80. package/src/sap/m/Input.js +1 -1
  81. package/src/sap/m/InputBase.js +1 -1
  82. package/src/sap/m/InputListItem.js +1 -1
  83. package/src/sap/m/Label.js +1 -1
  84. package/src/sap/m/LabelRenderer.js +1 -1
  85. package/src/sap/m/LightBox.js +1 -1
  86. package/src/sap/m/LightBoxItem.js +1 -1
  87. package/src/sap/m/Link.js +1 -1
  88. package/src/sap/m/LinkTileContent.js +1 -1
  89. package/src/sap/m/List.js +1 -1
  90. package/src/sap/m/ListBase.js +6 -2
  91. package/src/sap/m/ListItemAction.js +2 -2
  92. package/src/sap/m/ListItemActionBase.js +1 -1
  93. package/src/sap/m/ListItemBase.js +1 -1
  94. package/src/sap/m/MaskEnabler.js +1 -1
  95. package/src/sap/m/MaskInput.js +1 -1
  96. package/src/sap/m/MaskInputRule.js +1 -1
  97. package/src/sap/m/Menu.js +95 -11
  98. package/src/sap/m/MenuButton.js +1 -1
  99. package/src/sap/m/MenuItem.js +1 -1
  100. package/src/sap/m/MenuItemGroup.js +1 -1
  101. package/src/sap/m/MenuListItem.js +1 -1
  102. package/src/sap/m/MenuWrapper.js +7 -1
  103. package/src/sap/m/MessageItem.js +1 -1
  104. package/src/sap/m/MessageListItem.js +1 -1
  105. package/src/sap/m/MessagePage.js +1 -1
  106. package/src/sap/m/MessagePopover.js +11 -33
  107. package/src/sap/m/MessagePopoverItem.js +1 -1
  108. package/src/sap/m/MessageStrip.js +1 -1
  109. package/src/sap/m/MessageToast.js +1 -1
  110. package/src/sap/m/MessageView.js +110 -6
  111. package/src/sap/m/MultiComboBox.js +1 -1
  112. package/src/sap/m/MultiEditField.js +1 -1
  113. package/src/sap/m/MultiInput.js +1 -1
  114. package/src/sap/m/NavContainer.js +3 -3
  115. package/src/sap/m/NewsContent.js +1 -1
  116. package/src/sap/m/NotificationList.js +1 -1
  117. package/src/sap/m/NotificationListBase.js +1 -1
  118. package/src/sap/m/NotificationListGroup.js +1 -1
  119. package/src/sap/m/NotificationListItem.js +1 -1
  120. package/src/sap/m/NumericContent.js +1 -1
  121. package/src/sap/m/NumericInput.js +1 -1
  122. package/src/sap/m/ObjectAttribute.js +1 -1
  123. package/src/sap/m/ObjectHeader.js +1 -1
  124. package/src/sap/m/ObjectIdentifier.js +1 -1
  125. package/src/sap/m/ObjectListItem.js +1 -1
  126. package/src/sap/m/ObjectMarker.js +1 -1
  127. package/src/sap/m/ObjectNumber.js +1 -1
  128. package/src/sap/m/ObjectStatus.js +1 -1
  129. package/src/sap/m/OverflowToolbar.js +6 -2
  130. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  131. package/src/sap/m/OverflowToolbarButton.js +1 -1
  132. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  133. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  134. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  135. package/src/sap/m/OverflowToolbarTokenizer.js +1 -5
  136. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  137. package/src/sap/m/P13nColumnsItem.js +1 -1
  138. package/src/sap/m/P13nColumnsPanel.js +1 -1
  139. package/src/sap/m/P13nConditionPanel.js +1 -1
  140. package/src/sap/m/P13nDialog.js +1 -1
  141. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  142. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  143. package/src/sap/m/P13nFilterItem.js +1 -1
  144. package/src/sap/m/P13nFilterPanel.js +1 -1
  145. package/src/sap/m/P13nGroupItem.js +1 -1
  146. package/src/sap/m/P13nGroupPanel.js +1 -1
  147. package/src/sap/m/P13nItem.js +1 -1
  148. package/src/sap/m/P13nPanel.js +1 -1
  149. package/src/sap/m/P13nSelectionItem.js +1 -1
  150. package/src/sap/m/P13nSelectionPanel.js +1 -1
  151. package/src/sap/m/P13nSortItem.js +1 -1
  152. package/src/sap/m/P13nSortPanel.js +1 -1
  153. package/src/sap/m/PDFViewer.js +31 -135
  154. package/src/sap/m/Page.js +1 -1
  155. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  156. package/src/sap/m/PagingButton.js +1 -1
  157. package/src/sap/m/Panel.js +1 -1
  158. package/src/sap/m/PlanningCalendar.js +1 -1
  159. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  160. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  161. package/src/sap/m/PlanningCalendarRow.js +1 -1
  162. package/src/sap/m/PlanningCalendarView.js +1 -1
  163. package/src/sap/m/Popover.js +57 -12
  164. package/src/sap/m/PopoverRenderer.js +4 -0
  165. package/src/sap/m/ProgressIndicator.js +1 -1
  166. package/src/sap/m/PullToRefresh.js +1 -1
  167. package/src/sap/m/QuickView.js +1 -1
  168. package/src/sap/m/QuickViewBase.js +1 -1
  169. package/src/sap/m/QuickViewCard.js +1 -1
  170. package/src/sap/m/QuickViewGroup.js +1 -1
  171. package/src/sap/m/QuickViewGroupElement.js +1 -1
  172. package/src/sap/m/QuickViewPage.js +1 -1
  173. package/src/sap/m/RadioButton.js +1 -1
  174. package/src/sap/m/RadioButtonGroup.js +1 -1
  175. package/src/sap/m/RangeSlider.js +1 -1
  176. package/src/sap/m/RatingIndicator.js +5 -5
  177. package/src/sap/m/ResponsivePopover.js +1 -1
  178. package/src/sap/m/ResponsiveScale.js +1 -1
  179. package/src/sap/m/ScrollBar.js +1 -1
  180. package/src/sap/m/ScrollContainer.js +1 -1
  181. package/src/sap/m/SearchField.js +1 -1
  182. package/src/sap/m/SegmentedButton.js +34 -9
  183. package/src/sap/m/SegmentedButtonItem.js +1 -1
  184. package/src/sap/m/SegmentedButtonRenderer.js +3 -2
  185. package/src/sap/m/Select.js +88 -3
  186. package/src/sap/m/SelectDialog.js +1 -1
  187. package/src/sap/m/SelectDialogBase.js +1 -1
  188. package/src/sap/m/SelectList.js +1 -1
  189. package/src/sap/m/SelectRenderer.js +4 -52
  190. package/src/sap/m/SelectionDetails.js +1 -1
  191. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  192. package/src/sap/m/SelectionDetailsItem.js +1 -1
  193. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  194. package/src/sap/m/Shell.js +2 -3
  195. package/src/sap/m/SimpleFixFlex.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  197. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarGrid.js +2 -2
  199. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  204. package/src/sap/m/SlideTile.js +52 -7
  205. package/src/sap/m/Slider.js +1 -1
  206. package/src/sap/m/SliderTooltip.js +1 -1
  207. package/src/sap/m/SliderTooltipBase.js +1 -1
  208. package/src/sap/m/SliderTooltipContainer.js +1 -1
  209. package/src/sap/m/SplitApp.js +2 -4
  210. package/src/sap/m/SplitButton.js +1 -1
  211. package/src/sap/m/SplitContainer.js +1 -1
  212. package/src/sap/m/StandardDynamicDateOption.js +10 -2
  213. package/src/sap/m/StandardListItem.js +1 -1
  214. package/src/sap/m/StandardTile.js +1 -1
  215. package/src/sap/m/StandardTreeItem.js +1 -1
  216. package/src/sap/m/StepInput.js +8 -6
  217. package/src/sap/m/SuggestionItem.js +1 -1
  218. package/src/sap/m/SuggestionsPopover.js +1 -1
  219. package/src/sap/m/Switch.js +1 -1
  220. package/src/sap/m/TabContainer.js +1 -1
  221. package/src/sap/m/TabContainerItem.js +19 -2
  222. package/src/sap/m/TabStrip.js +1 -1
  223. package/src/sap/m/TabStripItem.js +1 -1
  224. package/src/sap/m/Table.js +7 -3
  225. package/src/sap/m/TablePersoController.js +1 -1
  226. package/src/sap/m/TablePersoDialog.js +1 -1
  227. package/src/sap/m/TablePersoProvider.js +1 -1
  228. package/src/sap/m/TableRenderer.js +5 -1
  229. package/src/sap/m/TableSelectDialog.js +1 -1
  230. package/src/sap/m/Text.js +1 -1
  231. package/src/sap/m/TextArea.js +1 -1
  232. package/src/sap/m/TextRenderer.js +1 -0
  233. package/src/sap/m/Tile.js +1 -1
  234. package/src/sap/m/TileContainer.js +1 -1
  235. package/src/sap/m/TileContent.js +1 -1
  236. package/src/sap/m/TileInfo.js +1 -1
  237. package/src/sap/m/TimePicker.js +61 -33
  238. package/src/sap/m/TimePickerClock.js +1 -1
  239. package/src/sap/m/TimePickerClocks.js +10 -3
  240. package/src/sap/m/TimePickerInputs.js +1 -1
  241. package/src/sap/m/TimePickerInternals.js +1 -1
  242. package/src/sap/m/TimePickerSlider.js +1 -1
  243. package/src/sap/m/TimePickerSliders.js +1 -1
  244. package/src/sap/m/Title.js +1 -1
  245. package/src/sap/m/TitlePropagationSupport.js +1 -1
  246. package/src/sap/m/TitleRenderer.js +1 -1
  247. package/src/sap/m/ToggleButton.js +1 -1
  248. package/src/sap/m/Token.js +1 -1
  249. package/src/sap/m/Tokenizer.js +2 -2
  250. package/src/sap/m/Toolbar.js +55 -3
  251. package/src/sap/m/ToolbarLayoutData.js +1 -1
  252. package/src/sap/m/ToolbarSeparator.js +1 -1
  253. package/src/sap/m/ToolbarSpacer.js +1 -1
  254. package/src/sap/m/Tree.js +1 -1
  255. package/src/sap/m/TreeItemBase.js +1 -1
  256. package/src/sap/m/UploadCollection.js +1 -1
  257. package/src/sap/m/UploadCollectionItem.js +1 -1
  258. package/src/sap/m/UploadCollectionParameter.js +1 -1
  259. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  260. package/src/sap/m/VBox.js +1 -1
  261. package/src/sap/m/ValueStateHeader.js +1 -1
  262. package/src/sap/m/VariantManagement.js +2 -0
  263. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  264. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  265. package/src/sap/m/ViewSettingsDialog.js +1 -1
  266. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  267. package/src/sap/m/ViewSettingsItem.js +1 -1
  268. package/src/sap/m/VisibleItem.js +1 -1
  269. package/src/sap/m/WheelSlider.js +1 -1
  270. package/src/sap/m/WheelSliderContainer.js +1 -1
  271. package/src/sap/m/Wizard.js +1 -1
  272. package/src/sap/m/WizardProgressNavigator.js +1 -1
  273. package/src/sap/m/WizardStep.js +1 -1
  274. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  275. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  276. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  277. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  278. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  279. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  280. package/src/sap/m/i18n/interaction_ar.xml +1 -1
  281. package/src/sap/m/i18n/interaction_bg.xml +1 -1
  282. package/src/sap/m/i18n/interaction_ca.xml +1 -1
  283. package/src/sap/m/i18n/interaction_cnr.xml +1 -1
  284. package/src/sap/m/i18n/interaction_cs.xml +1 -1
  285. package/src/sap/m/i18n/interaction_cy.xml +1 -1
  286. package/src/sap/m/i18n/interaction_da.xml +1 -1
  287. package/src/sap/m/i18n/interaction_de.xml +1 -1
  288. package/src/sap/m/i18n/interaction_el.xml +1 -1
  289. package/src/sap/m/i18n/interaction_en.xml +1 -1
  290. package/src/sap/m/i18n/interaction_en_GB.xml +1 -1
  291. package/src/sap/m/i18n/interaction_en_US_saprigi.xml +1 -1
  292. package/src/sap/m/i18n/interaction_es.xml +1 -1
  293. package/src/sap/m/i18n/interaction_es_MX.xml +1 -1
  294. package/src/sap/m/i18n/interaction_et.xml +1 -1
  295. package/src/sap/m/i18n/interaction_fi.xml +1 -1
  296. package/src/sap/m/i18n/interaction_fr.xml +1 -1
  297. package/src/sap/m/i18n/interaction_fr_CA.xml +1 -1
  298. package/src/sap/m/i18n/interaction_hi.xml +1 -1
  299. package/src/sap/m/i18n/interaction_hr.xml +1 -1
  300. package/src/sap/m/i18n/interaction_hu.xml +1 -1
  301. package/src/sap/m/i18n/interaction_id.xml +1 -1
  302. package/src/sap/m/i18n/interaction_it.xml +1 -1
  303. package/src/sap/m/i18n/interaction_iw.xml +1 -1
  304. package/src/sap/m/i18n/interaction_ja.xml +1 -1
  305. package/src/sap/m/i18n/interaction_kk.xml +1 -1
  306. package/src/sap/m/i18n/interaction_ko.xml +1 -1
  307. package/src/sap/m/i18n/interaction_lt.xml +1 -1
  308. package/src/sap/m/i18n/interaction_lv.xml +1 -1
  309. package/src/sap/m/i18n/interaction_mk.xml +1 -1
  310. package/src/sap/m/i18n/interaction_ms.xml +1 -1
  311. package/src/sap/m/i18n/interaction_nl.xml +1 -1
  312. package/src/sap/m/i18n/interaction_no.xml +1 -1
  313. package/src/sap/m/i18n/interaction_pl.xml +1 -1
  314. package/src/sap/m/i18n/interaction_pt.xml +1 -1
  315. package/src/sap/m/i18n/interaction_pt_PT.xml +1 -1
  316. package/src/sap/m/i18n/interaction_ro.xml +1 -1
  317. package/src/sap/m/i18n/interaction_ru.xml +1 -1
  318. package/src/sap/m/i18n/interaction_sh.xml +1 -1
  319. package/src/sap/m/i18n/interaction_sk.xml +1 -1
  320. package/src/sap/m/i18n/interaction_sl.xml +1 -1
  321. package/src/sap/m/i18n/interaction_sr.xml +1 -1
  322. package/src/sap/m/i18n/interaction_sv.xml +1 -1
  323. package/src/sap/m/i18n/interaction_th.xml +1 -1
  324. package/src/sap/m/i18n/interaction_tr.xml +1 -1
  325. package/src/sap/m/i18n/interaction_uk.xml +1 -1
  326. package/src/sap/m/i18n/interaction_vi.xml +1 -1
  327. package/src/sap/m/i18n/interaction_zh_CN.xml +1 -1
  328. package/src/sap/m/i18n/interaction_zh_TW.xml +1 -1
  329. package/src/sap/m/library.js +30 -7
  330. package/src/sap/m/messagebundle.properties +14 -17
  331. package/src/sap/m/messagebundle_ar.properties +23 -25
  332. package/src/sap/m/messagebundle_bg.properties +12 -14
  333. package/src/sap/m/messagebundle_ca.properties +12 -14
  334. package/src/sap/m/messagebundle_cnr.properties +12 -14
  335. package/src/sap/m/messagebundle_cs.properties +15 -17
  336. package/src/sap/m/messagebundle_cy.properties +12 -14
  337. package/src/sap/m/messagebundle_da.properties +14 -16
  338. package/src/sap/m/messagebundle_de.properties +25 -27
  339. package/src/sap/m/messagebundle_el.properties +12 -14
  340. package/src/sap/m/messagebundle_en.properties +12 -14
  341. package/src/sap/m/messagebundle_en_GB.properties +12 -14
  342. package/src/sap/m/messagebundle_en_US_saprigi.properties +16 -18
  343. package/src/sap/m/messagebundle_es.properties +13 -15
  344. package/src/sap/m/messagebundle_es_MX.properties +13 -15
  345. package/src/sap/m/messagebundle_et.properties +12 -14
  346. package/src/sap/m/messagebundle_fi.properties +13 -15
  347. package/src/sap/m/messagebundle_fr.properties +13 -15
  348. package/src/sap/m/messagebundle_fr_CA.properties +12 -14
  349. package/src/sap/m/messagebundle_hi.properties +12 -14
  350. package/src/sap/m/messagebundle_hr.properties +12 -14
  351. package/src/sap/m/messagebundle_hu.properties +14 -16
  352. package/src/sap/m/messagebundle_id.properties +50 -52
  353. package/src/sap/m/messagebundle_it.properties +12 -14
  354. package/src/sap/m/messagebundle_iw.properties +12 -14
  355. package/src/sap/m/messagebundle_ja.properties +12 -14
  356. package/src/sap/m/messagebundle_kk.properties +15 -17
  357. package/src/sap/m/messagebundle_ko.properties +14 -16
  358. package/src/sap/m/messagebundle_lt.properties +12 -14
  359. package/src/sap/m/messagebundle_lv.properties +12 -14
  360. package/src/sap/m/messagebundle_mk.properties +12 -14
  361. package/src/sap/m/messagebundle_ms.properties +12 -14
  362. package/src/sap/m/messagebundle_nl.properties +12 -14
  363. package/src/sap/m/messagebundle_no.properties +12 -14
  364. package/src/sap/m/messagebundle_pl.properties +14 -16
  365. package/src/sap/m/messagebundle_pt.properties +14 -16
  366. package/src/sap/m/messagebundle_pt_PT.properties +13 -15
  367. package/src/sap/m/messagebundle_ro.properties +12 -14
  368. package/src/sap/m/messagebundle_ru.properties +12 -14
  369. package/src/sap/m/messagebundle_sh.properties +12 -14
  370. package/src/sap/m/messagebundle_sk.properties +13 -15
  371. package/src/sap/m/messagebundle_sl.properties +12 -14
  372. package/src/sap/m/messagebundle_sr.properties +12 -14
  373. package/src/sap/m/messagebundle_sv.properties +12 -14
  374. package/src/sap/m/messagebundle_th.properties +12 -14
  375. package/src/sap/m/messagebundle_tr.properties +12 -14
  376. package/src/sap/m/messagebundle_uk.properties +12 -14
  377. package/src/sap/m/messagebundle_vi.properties +14 -16
  378. package/src/sap/m/messagebundle_zh_CN.properties +12 -14
  379. package/src/sap/m/messagebundle_zh_TW.properties +12 -14
  380. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  381. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  382. package/src/sap/m/p13n/BasePanel.js +34 -10
  383. package/src/sap/m/p13n/Container.js +1 -1
  384. package/src/sap/m/p13n/Engine.js +58 -2
  385. package/src/sap/m/p13n/FilterController.js +1 -1
  386. package/src/sap/m/p13n/FilterPanel.js +1 -1
  387. package/src/sap/m/p13n/GroupController.js +1 -1
  388. package/src/sap/m/p13n/GroupPanel.js +1 -1
  389. package/src/sap/m/p13n/MessageStrip.js +1 -1
  390. package/src/sap/m/p13n/Popup.js +1 -1
  391. package/src/sap/m/p13n/QueryPanel.js +1 -1
  392. package/src/sap/m/p13n/SelectionController.js +1 -1
  393. package/src/sap/m/p13n/SelectionPanel.js +11 -4
  394. package/src/sap/m/p13n/SortController.js +1 -1
  395. package/src/sap/m/p13n/SortPanel.js +1 -1
  396. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  397. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  398. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  399. package/src/sap/m/p13n/util/diff.js +4 -2
  400. package/src/sap/m/plugins/CellSelector.js +24 -2
  401. package/src/sap/m/plugins/ColumnAIAction.js +1 -1
  402. package/src/sap/m/plugins/ColumnResizer.js +2 -22
  403. package/src/sap/m/plugins/ContextMenuSetting.js +6 -3
  404. package/src/sap/m/plugins/CopyProvider.js +4 -1
  405. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  406. package/src/sap/m/plugins/PasteProvider.js +1 -1
  407. package/src/sap/m/plugins/PluginBase.js +1 -1
  408. package/src/sap/m/plugins/UploadSetwithTable.js +1 -1
  409. package/src/sap/m/routing/Router.js +20 -6
  410. package/src/sap/m/semantic/AddAction.js +1 -1
  411. package/src/sap/m/semantic/CancelAction.js +1 -1
  412. package/src/sap/m/semantic/DeleteAction.js +1 -1
  413. package/src/sap/m/semantic/DetailPage.js +1 -1
  414. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  415. package/src/sap/m/semantic/EditAction.js +1 -1
  416. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  417. package/src/sap/m/semantic/FilterAction.js +1 -1
  418. package/src/sap/m/semantic/FilterSelect.js +1 -1
  419. package/src/sap/m/semantic/FlagAction.js +1 -1
  420. package/src/sap/m/semantic/ForwardAction.js +1 -1
  421. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  422. package/src/sap/m/semantic/GroupAction.js +1 -1
  423. package/src/sap/m/semantic/GroupSelect.js +1 -1
  424. package/src/sap/m/semantic/MainAction.js +1 -1
  425. package/src/sap/m/semantic/MasterPage.js +1 -1
  426. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  427. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  428. package/src/sap/m/semantic/NegativeAction.js +1 -1
  429. package/src/sap/m/semantic/OpenInAction.js +1 -1
  430. package/src/sap/m/semantic/PositiveAction.js +1 -1
  431. package/src/sap/m/semantic/PrintAction.js +1 -1
  432. package/src/sap/m/semantic/SaveAction.js +1 -1
  433. package/src/sap/m/semantic/Segment.js +1 -1
  434. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  435. package/src/sap/m/semantic/SemanticButton.js +1 -1
  436. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  437. package/src/sap/m/semantic/SemanticControl.js +1 -1
  438. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  439. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  440. package/src/sap/m/semantic/SemanticPage.js +1 -1
  441. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  442. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  443. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  444. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  445. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  446. package/src/sap/m/semantic/ShareMenu.js +1 -1
  447. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  448. package/src/sap/m/semantic/SortAction.js +1 -1
  449. package/src/sap/m/semantic/SortSelect.js +1 -1
  450. package/src/sap/m/table/ColumnWidthController.js +1 -1
  451. package/src/sap/m/table/Util.js +1 -1
  452. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  453. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  454. package/src/sap/m/table/columnmenu/Item.js +1 -1
  455. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  456. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  457. package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
  458. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  459. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  460. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  461. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  462. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  463. package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
  464. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  465. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  466. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  467. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  468. package/src/sap/m/themes/base/ActionSelect.less +4 -0
  469. package/src/sap/m/themes/base/Avatar.less +29 -5
  470. package/src/sap/m/themes/base/Button.less +4 -8
  471. package/src/sap/m/themes/base/Carousel.less +1 -1
  472. package/src/sap/m/themes/base/CheckBox.less +4 -0
  473. package/src/sap/m/themes/base/CustomTile.less +4 -0
  474. package/src/sap/m/themes/base/Dialog.less +5 -1
  475. package/src/sap/m/themes/base/GenericTile.less +1 -0
  476. package/src/sap/m/themes/base/IllustratedMessage.less +2 -3
  477. package/src/sap/m/themes/base/InputBase.less +12 -0
  478. package/src/sap/m/themes/base/Link.less +8 -2
  479. package/src/sap/m/themes/base/MessagePage.less +4 -0
  480. package/src/sap/m/themes/base/MessageView.less +4 -0
  481. package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +4 -1
  482. package/src/sap/m/themes/base/Popover.less +9 -1
  483. package/src/sap/m/themes/base/RadioButton.less +38 -0
  484. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +4 -0
  485. package/src/sap/m/themes/base/SlideTile.less +6 -0
  486. package/src/sap/m/themes/base/SplitContainer.less +0 -1
  487. package/src/sap/m/themes/base/StandardTile.less +4 -0
  488. package/src/sap/m/themes/base/SuggestionsPopover.less +7 -1
  489. package/src/sap/m/themes/base/Tile.less +4 -0
  490. package/src/sap/m/themes/base/TileContainer.less +4 -0
  491. package/src/sap/m/themes/base/TimePickerClock.less +5 -0
  492. package/src/sap/m/themes/base/ToggleButton.less +7 -0
  493. package/src/sap/m/themes/base/UploadCollection.less +4 -0
  494. package/src/sap/m/themes/base/UploadSet.less +4 -0
  495. package/src/sap/m/themes/base/Wizard.less +4 -4
  496. package/src/sap/m/themes/sap_hcb/ActionSelect.less +4 -0
  497. package/src/sap/m/themes/sap_hcb/CustomTile.less +4 -0
  498. package/src/sap/m/themes/sap_hcb/Tile.less +4 -0
  499. package/src/sap/m/themes/sap_hcb/TileContainer.less +4 -0
  500. package/src/sap/m/themes/sap_hcb/UploadCollection.less +4 -0
  501. package/src/sap/m/themes/sap_hcb/base_ActionSelect.less +4 -0
  502. package/src/sap/m/themes/sap_hcb/base_Carousel.less +1 -1
  503. package/src/sap/m/themes/sap_hcb/base_CustomTile.less +4 -0
  504. package/src/sap/m/themes/sap_hcb/base_MessagePage.less +4 -0
  505. package/src/sap/m/themes/sap_hcb/base_OverflowToolbarAssociativePopover.less +4 -1
  506. package/src/sap/m/themes/sap_hcb/base_StandardTile.less +4 -0
  507. package/src/sap/m/themes/sap_hcb/base_Tile.less +4 -0
  508. package/src/sap/m/themes/sap_hcb/base_TileContainer.less +4 -0
  509. package/src/sap/m/themes/sap_hcb/base_UploadCollection.less +4 -0
  510. package/src/sap/m/themes/sap_hcb/base_UploadSet.less +4 -0
  511. package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
  512. package/src/sap/m/upload/Column.js +1 -1
  513. package/src/sap/m/upload/FilePreviewDialog.js +1 -1
  514. package/src/sap/m/upload/UploadItem.js +1 -1
  515. package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
  516. package/src/sap/m/upload/UploadSet.js +1 -1
  517. package/src/sap/m/upload/UploadSetItem.js +1 -1
  518. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  519. package/src/sap/m/upload/UploaderTableItem.js +1 -1
  520. package/src/sap/m/ColumnHeaderPopover.js +0 -233
  521. package/src/sap/m/ColumnPopoverActionItem.js +0 -71
  522. package/src/sap/m/ColumnPopoverCustomItem.js +0 -94
  523. package/src/sap/m/ColumnPopoverItem.js +0 -39
  524. package/src/sap/m/ColumnPopoverSelectListItem.js +0 -147
  525. package/src/sap/m/ColumnPopoverSortItem.js +0 -147
@@ -78,7 +78,7 @@ function(
78
78
  * @borrows sap.ui.core.ILabelable.hasLabelableHTMLElement as #hasLabelableHTMLElement
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.139.0
81
+ * @version 1.141.0
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.139.0
33
+ * @version 1.141.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, sap.ui.core.ILabelable
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.139.0
81
+ * @version 1.141.0
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -53,7 +53,6 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
53
53
 
54
54
  // styles
55
55
  rm.class("sapMLabel");
56
- rm.class("sapUiSelectable");
57
56
 
58
57
  // label wrapping
59
58
  if (oLabel.isWrapping()) {
@@ -142,6 +141,7 @@ sap.ui.define(['sap/ui/core/Lib', 'sap/ui/core/Renderer', 'sap/ui/core/AccessKey
142
141
 
143
142
  // write the label text
144
143
  rm.openStart("bdi", oLabel.getId() + "-bdi");
144
+ rm.class("sapUiSelectable");
145
145
 
146
146
  // text direction
147
147
  if (sTextDir !== TextDirection.Inherit){
@@ -96,7 +96,7 @@ sap.ui.define([
96
96
  * @extends sap.ui.core.Control
97
97
  *
98
98
  * @author SAP SE
99
- * @version 1.139.0
99
+ * @version 1.141.0
100
100
  *
101
101
  * @constructor
102
102
  * @public
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Element
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.139.0
46
+ * @version 1.141.0
47
47
  *
48
48
  * @constructor
49
49
  * @public
package/src/sap/m/Link.js CHANGED
@@ -101,7 +101,7 @@ function(
101
101
  * @borrows sap.ui.core.ILabelable.hasLabelableHTMLElement as #hasLabelableHTMLElement
102
102
  *
103
103
  * @author SAP SE
104
- * @version 1.139.0
104
+ * @version 1.141.0
105
105
  *
106
106
  * @constructor
107
107
  * @public
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @class This element is used within the GenericTile control that generates a combination of an icon and a linkl
19
19
  * @extends sap.ui.core.Element
20
20
  * @author SAP SE
21
- * @version 1.139.0
21
+ * @version 1.141.0
22
22
  * @constructor
23
23
  * @public
24
24
  * @since 1.120
package/src/sap/m/List.js CHANGED
@@ -30,7 +30,7 @@ sap.ui.define(["./library", "./ListBase", "./ListRenderer", "sap/ui/core/Lib", "
30
30
  * @extends sap.m.ListBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.139.0
33
+ * @version 1.141.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -105,7 +105,7 @@ function(
105
105
  * @extends sap.ui.core.Control
106
106
  *
107
107
  * @author SAP SE
108
- * @version 1.139.0
108
+ * @version 1.141.0
109
109
  *
110
110
  * @constructor
111
111
  * @public
@@ -253,7 +253,7 @@ function(
253
253
  /**
254
254
  * If set to true, this control remembers and retains the selection of the items after a binding update has been performed (e.g. sorting, filtering).
255
255
  * <b>Note:</b> This feature works only if two-way data binding for the <code>selected</code> property of the item is not used. It also needs to be turned off if the binding context of the item does not always point to the same entry in the model, for example, if the order of the data in the <code>JSONModel</code> is changed.
256
- * <b>Note:</b> This feature leverages the built-in selection mechanism of the corresponding binding context when the OData V4 model is used. Therefore, all binding-relevant limitations apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected}, the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo} API documentation. Do not enable this feature when <code>$$SharedRequests</code> or <code>$$clearSelectionOnFilter</code> is active.
256
+ * <b>Note:</b> This feature leverages the built-in selection mechanism of the corresponding binding context if the OData V4 model is used. Therefore, all binding-relevant limitations apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected}, the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo} API documentation. Do not enable this feature if <code>$$sharedRequest</code> or <code>$$clearSelectionOnFilter</code> is active.
257
257
  * <b>Note:</b> If this property is set to <code>false</code>, a possible binding context update of items (for example, filtering or sorting the list binding) would clear the selection of the items.
258
258
  * @since 1.16.6
259
259
  */
@@ -2580,6 +2580,10 @@ function(
2580
2580
  return;
2581
2581
  }
2582
2582
 
2583
+ if (this._bItemNavigationInvalidated) {
2584
+ this._startItemNavigation();
2585
+ }
2586
+
2583
2587
  var bItemEvent = $Target.hasClass("sapMLIBFocusable");
2584
2588
  var preventDefault = function() {
2585
2589
  oEvent.preventDefault();
@@ -31,9 +31,9 @@ sap.ui.define([
31
31
  * @class
32
32
  * The <code>sap.m.ListItemAction</code> control provides the option to define actions directly related to list items.
33
33
  *
34
- * @extends sap.ui.core.ListItemActionBase
34
+ * @extends sap.m.ListItemActionBase
35
35
  * @author SAP SE
36
- * @version 1.139.0
36
+ * @version 1.141.0
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.139.0
21
+ * @version 1.141.0
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -66,7 +66,7 @@ function(
66
66
  * @extends sap.ui.core.Control
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.139.0
69
+ * @version 1.141.0
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * Applies mask support for input controls.
29
29
  * It should should be applied to the prototype of a <code>sap.m.InputBase</code>.
30
30
  *
31
- * @version 1.139.0
31
+ * @version 1.141.0
32
32
  * @private
33
33
  * @mixin
34
34
  * @alias sap.m.MaskEnabler
@@ -29,7 +29,7 @@ sap.ui.define(['./InputBase', './MaskEnabler', './MaskInputRenderer'], function(
29
29
  *
30
30
  * @author SAP SE
31
31
  * @extends sap.m.InputBase
32
- * @version 1.139.0
32
+ * @version 1.141.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log"], function(Element, Log) {
20
20
  *
21
21
  * @author SAP SE
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.139.0
23
+ * @version 1.141.0
24
24
  * @public
25
25
  * @constructor
26
26
  * @since 1.34.0
package/src/sap/m/Menu.js CHANGED
@@ -18,6 +18,7 @@ sap.ui.define([
18
18
  'sap/ui/core/Lib',
19
19
  'sap/ui/Device',
20
20
  "sap/ui/core/InvisibleText",
21
+ 'sap/ui/base/ManagedObjectMetadata',
21
22
  'sap/ui/core/EnabledPropagator',
22
23
  'sap/base/i18n/Localization',
23
24
  'sap/base/Log'
@@ -35,6 +36,7 @@ sap.ui.define([
35
36
  Lib,
36
37
  Device,
37
38
  InvisibleText,
39
+ ManagedObjectMetadata,
38
40
  EnabledPropagator,
39
41
  Localization,
40
42
  Log
@@ -61,7 +63,7 @@ sap.ui.define([
61
63
  * @implements sap.ui.core.IContextMenu
62
64
  *
63
65
  * @author SAP SE
64
- * @version 1.139.0
66
+ * @version 1.141.0
65
67
  *
66
68
  * @constructor
67
69
  * @public
@@ -157,6 +159,76 @@ sap.ui.define([
157
159
  this._openDuration = Device.system.phone ? null : 0;
158
160
  };
159
161
 
162
+ Menu.prototype.updateItems = function(sReason, oEventInfo) {
163
+ // Special handling for the V4 ODataModel.
164
+ if (oEventInfo && oEventInfo.detailedReason === "AddVirtualContext") {
165
+ createVirtualItem(this);
166
+ return;
167
+ } else if (oEventInfo && oEventInfo.detailedReason === "RemoveVirtualContext") {
168
+ destroyVirtualItem(this);
169
+ return;
170
+ }
171
+
172
+ if (this._bReceivingData) {
173
+ //If we are receiving the data, this should be handled in oDataModel.
174
+ //The updateStarted event is already triggered before refreshItems.
175
+ //Here, the items binding is updated because the data has arrived from the server.
176
+ //At this point, we can reset/convert the flag for the next request.
177
+ this._bReceivingData = false;
178
+ } else {
179
+ //if the data is not requested, this should be handled with a JSON Model.
180
+ //Since the data is already in memory and not requested from the server, we do not need to change the flag.
181
+ //In this case, this._bReceivingData should always remain false.
182
+ this._updateStarted(sReason);
183
+ }
184
+
185
+ // for flat list update items aggregation
186
+ this.updateAggregation("items");
187
+
188
+ // items binding are updated
189
+ this._updateFinished();
190
+ };
191
+
192
+ Menu.prototype._updateStarted = function(sReason) {
193
+ // if data receiving/update is not started or ongoing
194
+ if (!this._bReceivingData && !this._bUpdating) {
195
+ this._bUpdating = true;
196
+ }
197
+ };
198
+
199
+ // called on after rendering to finalize item update finished
200
+ Menu.prototype._updateFinished = function() {
201
+ // check if data receiving/update is finished
202
+ if (!this._bReceivingData && this._bUpdating) {
203
+
204
+ setTimeout(function() {
205
+ this._getMenuWrapper()?._setHoveredItem(this._getMenuWrapper()._getNextFocusableItem(-1, 1), true);
206
+ }.bind(this), 0);
207
+
208
+ this._bUpdating = false;
209
+ }
210
+ };
211
+
212
+ // this gets called only with oData Model when first load
213
+ Menu.prototype.refreshItems = function(sReason) {
214
+ this._bRefreshItems = true;
215
+
216
+ // if data multiple time requested during the ongoing request
217
+ // UI5 cancels the previous requests then we should fire updateStarted once
218
+ if (!this._bReceivingData) {
219
+ // handle update started event
220
+ this._updateStarted(sReason);
221
+ this._bReceivingData = true;
222
+ }
223
+
224
+ this.refreshAggregation("items");
225
+ };
226
+
227
+ Menu.prototype.createItem = function(oContext, oBindingInfo, sIdSuffix) {
228
+ const oItem = oBindingInfo.factory(ManagedObjectMetadata.uid(sIdSuffix ? sIdSuffix : "clone"), oContext);
229
+ return oItem.setBindingContext(oContext, oBindingInfo.model);
230
+ };
231
+
160
232
  /**
161
233
  * Called from parent if the control is destroyed.
162
234
  */
@@ -206,21 +278,13 @@ sap.ui.define([
206
278
  * @public
207
279
  */
208
280
  Menu.prototype.openBy = function(oControl) {
209
- const oPopover = this._getPopover(),
210
- oBinding = this.getBinding("items");
281
+ const oPopover = this._getPopover();
211
282
 
212
283
  if (!oControl) {
213
284
  oControl = document.body;
214
285
  }
215
286
 
216
- if (oBinding && oBinding.isA("sap.ui.model.odata.v4.ODataListBinding")) {
217
- // Wait for the binding data to be received, then open
218
- oBinding.attachEventOnce("dataReceived", function() {
219
- this._openPopoverBy(oPopover, oControl);
220
- }, this);
221
- } else {
222
- this._openPopoverBy(oPopover, oControl);
223
- }
287
+ this._openPopoverBy(oPopover, oControl);
224
288
 
225
289
  this.bIgnoreOpenerFocus = true; // reset the flag to allow the opener to be focused after the menu is closed
226
290
 
@@ -718,5 +782,25 @@ sap.ui.define([
718
782
  this._getPopover()._getPopup().setExtraContent([oDomRef]);
719
783
  };
720
784
 
785
+ function createVirtualItem(oMenu) {
786
+ const oBinding = oMenu.getBinding("items");
787
+ const oBindingInfo = oMenu.getBindingInfo("items");
788
+ const iLength = oBindingInfo.length;
789
+ const iIndex = oBindingInfo.startIndex;
790
+ const oVirtualContext = oBinding.getContexts(iIndex, iLength)[0];
791
+
792
+ destroyVirtualItem(oMenu);
793
+
794
+ oMenu._oVirtualItem = oMenu.createItem(oVirtualContext, oBindingInfo, "virtual");
795
+ oMenu.addAggregation("dependents", oMenu._oVirtualItem, true);
796
+ }
797
+
798
+ function destroyVirtualItem(oMenu) {
799
+ if (oMenu._oVirtualItem) {
800
+ oMenu._oVirtualItem.destroy();
801
+ delete oMenu._oVirtualItem;
802
+ }
803
+ }
804
+
721
805
  return Menu;
722
806
  });
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @extends sap.ui.core.Control
61
61
  *
62
62
  * @author SAP SE
63
- * @version 1.139.0
63
+ * @version 1.141.0
64
64
  *
65
65
  * @constructor
66
66
  * @public
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @implements sap.m.IMenuItem, sap.m.IMenuItemBehavior
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.139.0
67
+ * @version 1.141.0
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @implements sap.m.IMenuItem
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.139.0
35
+ * @version 1.141.0
36
36
  * @since 1.127.0
37
37
  *
38
38
  * @constructor
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.m.ListItemBase
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.139.0
40
+ * @version 1.141.0
41
41
  *
42
42
  * @constructor
43
43
  * @private
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends sap.ui.core.Control
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.139.0
48
+ * @version 1.141.0
49
49
  *
50
50
  * @constructor
51
51
  * @private
@@ -153,6 +153,12 @@ sap.ui.define([
153
153
  });
154
154
  };
155
155
 
156
+ MenuWrapper.prototype.onAfterRendering = function() {
157
+ if (document.body.classList.contains("sapUiSizeCompact") || this.hasStyleClass("sapUiSizeCompact") || this.getDomRef()?.closest(".sapUiSizeCompact")) {
158
+ this.addStyleClass("sapUiSizeCompact");
159
+ }
160
+ };
161
+
156
162
  MenuWrapper.prototype.onmouseover = function(oEvent) {
157
163
  const oItem = this.getItemByDomRef(oEvent.target);
158
164
 
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  *
34
34
  * @extends sap.ui.core.Item
35
35
  * @author SAP SE
36
- * @version 1.139.0
36
+ * @version 1.141.0
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.m.StandardListItem
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.139.0
37
+ * @version 1.141.0
38
38
  *
39
39
  * @constructor
40
40
  * @private
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/message-page/ Message Page}
75
75
  *
76
76
  * @extends sap.ui.core.Control
77
- * @version 1.139.0
77
+ * @version 1.141.0
78
78
  *
79
79
  * @constructor
80
80
  * @public
@@ -97,7 +97,7 @@ function(
97
97
  * @extends sap.ui.core.Control
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.139.0
100
+ * @version 1.141.0
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -287,14 +287,6 @@ function(
287
287
  var CSS_CLASS = "sapMMsgPopover",
288
288
  DEFAULT_CONTENT_HEIGHT = "320px",
289
289
  DEFAULT_CONTENT_WIDTH = "440px",
290
- ICONS = {
291
- back: IconPool.getIconURI("nav-back"),
292
- close: IconPool.getIconURI("decline"),
293
- information: IconPool.getIconURI("message-information"),
294
- warning: IconPool.getIconURI("message-warning"),
295
- error: IconPool.getIconURI("message-error"),
296
- success: IconPool.getIconURI("message-success")
297
- },
298
290
  // Property names array
299
291
  ASYNC_HANDLER_NAMES = ["asyncDescriptionHandler", "asyncURLHandler"],
300
292
  // Private class variable used for static method below that sets default async handlers
@@ -356,20 +348,21 @@ function(
356
348
 
357
349
  this._oMessageView = this._initMessageView();
358
350
 
351
+ this._oMessageView.attachEvent("onClose", function (oEvent) {
352
+ this.close();
353
+ }, this);
354
+
359
355
  this._oMessageView.addEventDelegate({
360
356
  onBeforeRendering: function () {
361
357
  var bSegmentedButtonVisibleInMV = that._oMessageView._oSegmentedButton.getVisible(),
362
358
  bShowHeader = !that.getInitiallyExpanded() || bSegmentedButtonVisibleInMV;
363
359
 
364
360
  that._oMessageView._oSegmentedButton.setVisible(bShowHeader);
365
- that._oMessageView._listPage.setShowHeader(true);
366
361
  }
367
362
  });
368
363
 
369
- // insert the close buttons in both list and details pages as the MessageView
370
- // doesn't know it is being created in Popover
371
- this._insertCloseBtn(this._oMessageView._oListHeader);
372
- this._insertCloseBtn(this._oMessageView._oDetailsHeader);
364
+ this._oMessageView?._oDetailsHeader.insertContent(this._oMessageView.getCloseBtn(), 2);
365
+ this._oMessageView.insertTitle(this._oMessageView._oDetailsHeader);
373
366
 
374
367
  this._oMessageView._oSegmentedButton.attachEvent("select", this._onSegButtonSelect, this);
375
368
 
@@ -399,7 +392,6 @@ function(
399
392
  },
400
393
  beforeOpen: function (oEvent) {
401
394
  var aItems = that.getItems();
402
-
403
395
  if (!that.getBindingInfo("items") && !aItems.length) {
404
396
  that._bindToMessageModel();
405
397
  }
@@ -505,6 +497,10 @@ function(
505
497
  if (this._oOpenByControl && !this._oOpenByControl.getVisible()) {
506
498
  this._oPopover.close();
507
499
  }
500
+ if (this._oMessageView) {
501
+ this._oMessageView._bShowCustomHeader = true;
502
+ this._oMessageView.setupCustomHeader();
503
+ }
508
504
 
509
505
  this._syncMessageView();
510
506
  };
@@ -733,24 +729,6 @@ function(
733
729
  .setContentHeight("auto");
734
730
  };
735
731
 
736
- /**
737
- * Inserts Close button in the provided location
738
- *
739
- * @param {sap.ui.core.Control} oInsertCloseBtnHere The object in which we want to insert the control
740
- * @private
741
- */
742
- MessagePopover.prototype._insertCloseBtn = function (oInsertCloseBtnHere) {
743
- var sCloseBtnDescr = this._oResourceBundle.getText("MESSAGEPOPOVER_CLOSE"),
744
- oCloseBtn = new Button({
745
- icon: ICONS["close"],
746
- visible: !Device.system.phone,
747
- tooltip: sCloseBtnDescr,
748
- press: this.close.bind(this)
749
- }).addStyleClass(CSS_CLASS + "CloseBtn");
750
-
751
- oInsertCloseBtnHere.insertContent(oCloseBtn, 3, true);
752
- };
753
-
754
732
  /**
755
733
  * Sets initial focus of the control
756
734
  *
@@ -19,7 +19,7 @@ sap.ui.define(["./library", "./MessageItem"],
19
19
  * @extends sap.m.MessageItem
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.139.0
22
+ * @version 1.141.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @extends sap.ui.core.Control
85
85
  *
86
86
  * @author SAP SE
87
- * @version 1.139.0
87
+ * @version 1.141.0
88
88
  *
89
89
  * @constructor
90
90
  * @public
@@ -76,7 +76,7 @@ sap.ui.define([
76
76
  * Note that the width can be customized up to a maximum of 15rem.
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.139.0
79
+ * @version 1.141.0
80
80
  *
81
81
  * @namespace
82
82
  * @public