@openui5/sap.m 1.115.1 → 1.117.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 (465) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +1 -1
  8. package/src/sap/m/ActionSheet.js +6 -2
  9. package/src/sap/m/ActionTile.js +1 -1
  10. package/src/sap/m/ActionTileContent.js +1 -1
  11. package/src/sap/m/AdditionalTextButton.js +1 -1
  12. package/src/sap/m/App.js +1 -1
  13. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  14. package/src/sap/m/Avatar.js +46 -5
  15. package/src/sap/m/AvatarRenderer.js +16 -10
  16. package/src/sap/m/Bar.js +1 -1
  17. package/src/sap/m/Breadcrumbs.js +6 -5
  18. package/src/sap/m/BusyDialog.js +5 -3
  19. package/src/sap/m/BusyIndicator.js +1 -1
  20. package/src/sap/m/Button.js +1 -1
  21. package/src/sap/m/Carousel.js +24 -8
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CarouselRenderer.js +19 -4
  24. package/src/sap/m/CheckBox.js +8 -4
  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 +29 -170
  28. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  29. package/src/sap/m/ColumnListItem.js +7 -12
  30. package/src/sap/m/ColumnListItemRenderer.js +16 -27
  31. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  35. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  36. package/src/sap/m/ComboBox.js +1 -1
  37. package/src/sap/m/ComboBoxBase.js +1 -1
  38. package/src/sap/m/ComboBoxTextField.js +1 -1
  39. package/src/sap/m/CustomListItem.js +1 -1
  40. package/src/sap/m/CustomTile.js +1 -1
  41. package/src/sap/m/CustomTreeItem.js +1 -1
  42. package/src/sap/m/DatePicker.js +31 -5
  43. package/src/sap/m/DatePickerRenderer.js +3 -2
  44. package/src/sap/m/DateRangeSelection.js +77 -25
  45. package/src/sap/m/DateTimeField.js +15 -10
  46. package/src/sap/m/DateTimeInput.js +1 -1
  47. package/src/sap/m/DateTimePicker.js +1 -1
  48. package/src/sap/m/DateTimePickerRenderer.js +3 -1
  49. package/src/sap/m/Dialog.js +16 -10
  50. package/src/sap/m/DialogRenderer.js +3 -3
  51. package/src/sap/m/DisplayListItem.js +1 -1
  52. package/src/sap/m/DraftIndicator.js +1 -1
  53. package/src/sap/m/DynamicDate.js +1 -1
  54. package/src/sap/m/DynamicDateOption.js +2 -2
  55. package/src/sap/m/DynamicDateRange.js +42 -5
  56. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  57. package/src/sap/m/ExpandableText.js +1 -1
  58. package/src/sap/m/FacetFilter.js +1 -3
  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 +1 -1
  63. package/src/sap/m/FeedListItem.js +18 -1
  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 +44 -50
  69. package/src/sap/m/GenericTag.js +1 -1
  70. package/src/sap/m/GenericTile.js +1 -1
  71. package/src/sap/m/GroupHeaderListItem.js +1 -1
  72. package/src/sap/m/GroupHeaderListItemRenderer.js +5 -5
  73. package/src/sap/m/GrowingEnablement.js +34 -32
  74. package/src/sap/m/GrowingList.js +1 -1
  75. package/src/sap/m/HBox.js +1 -1
  76. package/src/sap/m/HeaderContainer.js +1 -1
  77. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  78. package/src/sap/m/HyphenationSupport.js +13 -4
  79. package/src/sap/m/IconTabBar.js +3 -1
  80. package/src/sap/m/IconTabBarSelectList.js +1 -1
  81. package/src/sap/m/IconTabFilter.js +3 -3
  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 +1 -1
  85. package/src/sap/m/IllustratedMessage.js +4 -2
  86. package/src/sap/m/Illustration.js +1 -1
  87. package/src/sap/m/IllustrationPool.js +4 -3
  88. package/src/sap/m/Image.js +1 -1
  89. package/src/sap/m/ImageContent.js +1 -1
  90. package/src/sap/m/Input.js +21 -12
  91. package/src/sap/m/InputBase.js +7 -5
  92. package/src/sap/m/InputBaseRenderer.js +3 -3
  93. package/src/sap/m/InputListItem.js +1 -1
  94. package/src/sap/m/Label.js +1 -1
  95. package/src/sap/m/LabelRenderer.js +3 -3
  96. package/src/sap/m/LightBox.js +1 -1
  97. package/src/sap/m/LightBoxItem.js +1 -1
  98. package/src/sap/m/Link.js +36 -3
  99. package/src/sap/m/List.js +1 -1
  100. package/src/sap/m/ListBase.js +61 -28
  101. package/src/sap/m/ListBaseRenderer.js +12 -4
  102. package/src/sap/m/ListItemBase.js +17 -8
  103. package/src/sap/m/ListItemBaseRenderer.js +6 -6
  104. package/src/sap/m/MaskEnabler.js +1 -1
  105. package/src/sap/m/MaskInput.js +1 -1
  106. package/src/sap/m/MaskInputRule.js +1 -1
  107. package/src/sap/m/Menu.js +14 -1
  108. package/src/sap/m/MenuButton.js +1 -1
  109. package/src/sap/m/MenuItem.js +1 -1
  110. package/src/sap/m/MenuListItem.js +1 -1
  111. package/src/sap/m/MessageItem.js +1 -1
  112. package/src/sap/m/MessageListItem.js +1 -1
  113. package/src/sap/m/MessagePage.js +1 -1
  114. package/src/sap/m/MessagePopover.js +1 -1
  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 +1 -12
  118. package/src/sap/m/MessageView.js +2 -2
  119. package/src/sap/m/MultiComboBox.js +3 -3
  120. package/src/sap/m/MultiEditField.js +1 -1
  121. package/src/sap/m/MultiInput.js +13 -2
  122. package/src/sap/m/NavContainer.js +21 -5
  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 +1 -1
  131. package/src/sap/m/ObjectHeader.js +6 -1
  132. package/src/sap/m/ObjectIdentifier.js +1 -1
  133. package/src/sap/m/ObjectListItem.js +9 -2
  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 +63 -4
  137. package/src/sap/m/ObjectStatusRenderer.js +21 -9
  138. package/src/sap/m/OverflowToolbar.js +30 -15
  139. package/src/sap/m/OverflowToolbarAssociativePopover.js +5 -5
  140. package/src/sap/m/OverflowToolbarButton.js +1 -1
  141. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  142. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  143. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  144. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  145. package/src/sap/m/P13nColumnsItem.js +1 -1
  146. package/src/sap/m/P13nColumnsPanel.js +2 -8
  147. package/src/sap/m/P13nConditionPanel.js +1 -1
  148. package/src/sap/m/P13nDialog.js +2 -1
  149. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  150. package/src/sap/m/P13nDimMeasurePanel.js +3 -10
  151. package/src/sap/m/P13nFilterItem.js +1 -1
  152. package/src/sap/m/P13nFilterPanel.js +28 -43
  153. package/src/sap/m/P13nGroupItem.js +1 -1
  154. package/src/sap/m/P13nGroupPanel.js +1 -1
  155. package/src/sap/m/P13nItem.js +1 -1
  156. package/src/sap/m/P13nPanel.js +1 -1
  157. package/src/sap/m/P13nSelectionItem.js +1 -1
  158. package/src/sap/m/P13nSelectionPanel.js +5 -3
  159. package/src/sap/m/P13nSortItem.js +1 -1
  160. package/src/sap/m/P13nSortPanel.js +1 -1
  161. package/src/sap/m/PDFViewer.js +1 -1
  162. package/src/sap/m/PDFViewerRenderer.js +1 -1
  163. package/src/sap/m/Page.js +8 -6
  164. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  165. package/src/sap/m/PagingButton.js +1 -1
  166. package/src/sap/m/Panel.js +11 -2
  167. package/src/sap/m/PanelRenderer.js +9 -0
  168. package/src/sap/m/PlanningCalendar.js +10 -4
  169. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  170. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  171. package/src/sap/m/PlanningCalendarRow.js +1 -1
  172. package/src/sap/m/PlanningCalendarView.js +1 -1
  173. package/src/sap/m/Popover.js +13 -17
  174. package/src/sap/m/ProgressIndicator.js +1 -1
  175. package/src/sap/m/PullToRefresh.js +1 -1
  176. package/src/sap/m/QuickView.js +1 -1
  177. package/src/sap/m/QuickViewBase.js +1 -1
  178. package/src/sap/m/QuickViewCard.js +14 -1
  179. package/src/sap/m/QuickViewCardRenderer.js +0 -4
  180. package/src/sap/m/QuickViewGroup.js +1 -1
  181. package/src/sap/m/QuickViewGroupElement.js +1 -1
  182. package/src/sap/m/QuickViewPage.js +40 -28
  183. package/src/sap/m/RadioButton.js +1 -1
  184. package/src/sap/m/RadioButtonGroup.js +1 -1
  185. package/src/sap/m/RangeSlider.js +1 -1
  186. package/src/sap/m/RatingIndicator.js +16 -4
  187. package/src/sap/m/RatingIndicatorRenderer.js +9 -2
  188. package/src/sap/m/ResponsivePopover.js +1 -1
  189. package/src/sap/m/ResponsiveScale.js +1 -1
  190. package/src/sap/m/ScrollBar.js +1 -1
  191. package/src/sap/m/ScrollContainer.js +3 -3
  192. package/src/sap/m/SearchField.js +8 -12
  193. package/src/sap/m/SearchFieldRenderer.js +5 -5
  194. package/src/sap/m/SegmentedButton.js +4 -2
  195. package/src/sap/m/SegmentedButtonItem.js +1 -1
  196. package/src/sap/m/SegmentedButtonRenderer.js +3 -3
  197. package/src/sap/m/Select.js +18 -16
  198. package/src/sap/m/SelectDialog.js +1 -1
  199. package/src/sap/m/SelectDialogBase.js +28 -4
  200. package/src/sap/m/SelectList.js +5 -6
  201. package/src/sap/m/SelectionDetails.js +1 -1
  202. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  203. package/src/sap/m/SelectionDetailsItem.js +1 -1
  204. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  205. package/src/sap/m/Shell.js +1 -1
  206. package/src/sap/m/SimpleFixFlex.js +1 -1
  207. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  210. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +43 -43
  211. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  212. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  213. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  214. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  215. package/src/sap/m/SlideTile.js +1 -1
  216. package/src/sap/m/Slider.js +1 -1
  217. package/src/sap/m/SliderTooltip.js +1 -1
  218. package/src/sap/m/SliderTooltipBase.js +1 -1
  219. package/src/sap/m/SliderTooltipContainer.js +1 -1
  220. package/src/sap/m/SplitApp.js +1 -1
  221. package/src/sap/m/SplitButton.js +1 -1
  222. package/src/sap/m/SplitContainer.js +8 -13
  223. package/src/sap/m/StandardDynamicDateOption.js +2 -2
  224. package/src/sap/m/StandardListItem.js +1 -1
  225. package/src/sap/m/StandardTile.js +1 -1
  226. package/src/sap/m/StandardTileRenderer.js +1 -1
  227. package/src/sap/m/StandardTreeItem.js +1 -1
  228. package/src/sap/m/StepInput.js +3 -3
  229. package/src/sap/m/SuggestionItem.js +4 -2
  230. package/src/sap/m/SuggestionsPopover.js +1 -1
  231. package/src/sap/m/Switch.js +1 -1
  232. package/src/sap/m/TabContainer.js +1 -1
  233. package/src/sap/m/TabContainerItem.js +1 -1
  234. package/src/sap/m/TabStrip.js +1 -1
  235. package/src/sap/m/TabStripItem.js +1 -1
  236. package/src/sap/m/Table.js +59 -180
  237. package/src/sap/m/TablePersoController.js +1 -1
  238. package/src/sap/m/TablePersoDialog.js +1 -1
  239. package/src/sap/m/TablePersoProvider.js +4 -1
  240. package/src/sap/m/TableRenderer.js +98 -126
  241. package/src/sap/m/TableSelectDialog.js +1 -1
  242. package/src/sap/m/Text.js +1 -1
  243. package/src/sap/m/TextArea.js +1 -1
  244. package/src/sap/m/TextRenderer.js +3 -3
  245. package/src/sap/m/Tile.js +1 -1
  246. package/src/sap/m/TileContainer.js +1 -1
  247. package/src/sap/m/TileContent.js +1 -1
  248. package/src/sap/m/TileRenderer.js +7 -4
  249. package/src/sap/m/TimePicker.js +41 -12
  250. package/src/sap/m/TimePickerClock.js +1 -1
  251. package/src/sap/m/TimePickerClocks.js +1 -1
  252. package/src/sap/m/TimePickerClocksRenderer.js +6 -13
  253. package/src/sap/m/TimePickerInputs.js +1 -1
  254. package/src/sap/m/TimePickerInputsRenderer.js +6 -10
  255. package/src/sap/m/TimePickerInternals.js +1 -44
  256. package/src/sap/m/TimePickerRenderer.js +3 -2
  257. package/src/sap/m/TimePickerSlider.js +1 -1
  258. package/src/sap/m/TimePickerSliders.js +1 -1
  259. package/src/sap/m/Title.js +1 -1
  260. package/src/sap/m/TitlePropagationSupport.js +1 -1
  261. package/src/sap/m/ToggleButton.js +15 -3
  262. package/src/sap/m/Token.js +1 -1
  263. package/src/sap/m/Tokenizer.js +1 -1
  264. package/src/sap/m/Toolbar.js +4 -2
  265. package/src/sap/m/ToolbarLayoutData.js +1 -1
  266. package/src/sap/m/ToolbarSeparator.js +1 -1
  267. package/src/sap/m/ToolbarSpacer.js +1 -1
  268. package/src/sap/m/Tree.js +1 -1
  269. package/src/sap/m/TreeItemBase.js +1 -1
  270. package/src/sap/m/UploadCollection.js +2 -2
  271. package/src/sap/m/UploadCollectionItem.js +1 -1
  272. package/src/sap/m/UploadCollectionParameter.js +1 -1
  273. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  274. package/src/sap/m/VBox.js +1 -1
  275. package/src/sap/m/ValueStateHeader.js +1 -1
  276. package/src/sap/m/VariantManagement.js +13 -50
  277. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  278. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  279. package/src/sap/m/ViewSettingsDialog.js +2 -2
  280. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  281. package/src/sap/m/ViewSettingsItem.js +1 -1
  282. package/src/sap/m/VisibleItem.js +1 -1
  283. package/src/sap/m/WheelSlider.js +1 -1
  284. package/src/sap/m/WheelSliderContainer.js +1 -1
  285. package/src/sap/m/Wizard.js +1 -1
  286. package/src/sap/m/WizardProgressNavigator.js +1 -1
  287. package/src/sap/m/WizardStep.js +1 -1
  288. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  289. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  290. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  291. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  292. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  293. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  294. package/src/sap/m/designtime/HBox.designtime.js +16 -0
  295. package/src/sap/m/designtime/IconTabFilter.designtime.js +0 -9
  296. package/src/sap/m/designtime/ObjectHeader.designtime.js +26 -0
  297. package/src/sap/m/designtime/Select.designtime.js +2 -1
  298. package/src/sap/m/designtime/VBox.designtime.js +16 -0
  299. package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +5 -5
  300. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -0
  301. package/src/sap/m/library.js +62 -7
  302. package/src/sap/m/messagebundle.properties +27 -13
  303. package/src/sap/m/messagebundle_ar.properties +36 -20
  304. package/src/sap/m/messagebundle_bg.properties +102 -86
  305. package/src/sap/m/messagebundle_ca.properties +34 -18
  306. package/src/sap/m/messagebundle_cs.properties +40 -24
  307. package/src/sap/m/messagebundle_cy.properties +35 -19
  308. package/src/sap/m/messagebundle_da.properties +35 -19
  309. package/src/sap/m/messagebundle_de.properties +35 -19
  310. package/src/sap/m/messagebundle_el.properties +36 -20
  311. package/src/sap/m/messagebundle_en.properties +35 -19
  312. package/src/sap/m/messagebundle_en_GB.properties +35 -19
  313. package/src/sap/m/messagebundle_en_US_sappsd.properties +34 -18
  314. package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -18
  315. package/src/sap/m/messagebundle_en_US_saptrc.properties +34 -18
  316. package/src/sap/m/messagebundle_es.properties +33 -17
  317. package/src/sap/m/messagebundle_es_MX.properties +33 -17
  318. package/src/sap/m/messagebundle_et.properties +33 -17
  319. package/src/sap/m/messagebundle_fi.properties +37 -21
  320. package/src/sap/m/messagebundle_fr.properties +38 -22
  321. package/src/sap/m/messagebundle_fr_CA.properties +35 -19
  322. package/src/sap/m/messagebundle_hi.properties +36 -20
  323. package/src/sap/m/messagebundle_hr.properties +36 -20
  324. package/src/sap/m/messagebundle_hu.properties +39 -23
  325. package/src/sap/m/messagebundle_id.properties +38 -22
  326. package/src/sap/m/messagebundle_it.properties +33 -17
  327. package/src/sap/m/messagebundle_iw.properties +40 -24
  328. package/src/sap/m/messagebundle_ja.properties +70 -54
  329. package/src/sap/m/messagebundle_kk.properties +35 -19
  330. package/src/sap/m/messagebundle_ko.properties +36 -20
  331. package/src/sap/m/messagebundle_lt.properties +35 -19
  332. package/src/sap/m/messagebundle_lv.properties +33 -17
  333. package/src/sap/m/messagebundle_ms.properties +35 -19
  334. package/src/sap/m/messagebundle_nl.properties +35 -19
  335. package/src/sap/m/messagebundle_no.properties +38 -22
  336. package/src/sap/m/messagebundle_pl.properties +35 -19
  337. package/src/sap/m/messagebundle_pt.properties +33 -17
  338. package/src/sap/m/messagebundle_pt_PT.properties +33 -17
  339. package/src/sap/m/messagebundle_ro.properties +45 -29
  340. package/src/sap/m/messagebundle_ru.properties +32 -16
  341. package/src/sap/m/messagebundle_sh.properties +43 -27
  342. package/src/sap/m/messagebundle_sk.properties +35 -19
  343. package/src/sap/m/messagebundle_sl.properties +96 -80
  344. package/src/sap/m/messagebundle_sv.properties +37 -21
  345. package/src/sap/m/messagebundle_th.properties +42 -26
  346. package/src/sap/m/messagebundle_tr.properties +36 -20
  347. package/src/sap/m/messagebundle_uk.properties +38 -22
  348. package/src/sap/m/messagebundle_vi.properties +35 -19
  349. package/src/sap/m/messagebundle_zh_CN.properties +40 -24
  350. package/src/sap/m/messagebundle_zh_TW.properties +37 -21
  351. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  352. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  353. package/src/sap/m/p13n/BasePanel.js +11 -5
  354. package/src/sap/m/p13n/Container.js +9 -6
  355. package/src/sap/m/p13n/Engine.js +33 -5
  356. package/src/sap/m/p13n/FlexUtil.js +7 -3
  357. package/src/sap/m/p13n/GroupController.js +1 -1
  358. package/src/sap/m/p13n/GroupPanel.js +6 -1
  359. package/src/sap/m/p13n/MetadataHelper.js +1 -1
  360. package/src/sap/m/p13n/PersistenceProvider.js +2 -92
  361. package/src/sap/m/p13n/Popup.js +25 -2
  362. package/src/sap/m/p13n/QueryPanel.js +18 -3
  363. package/src/sap/m/p13n/SelectionController.js +6 -7
  364. package/src/sap/m/p13n/SelectionPanel.js +16 -5
  365. package/src/sap/m/p13n/SortController.js +1 -1
  366. package/src/sap/m/p13n/SortPanel.js +8 -4
  367. package/src/sap/m/p13n/enum/PersistenceMode.js +9 -0
  368. package/src/sap/m/p13n/handler/xConfigHandler.js +13 -13
  369. package/src/sap/m/p13n/modification/FlexModificationHandler.js +24 -1
  370. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -13
  371. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  372. package/src/sap/m/p13n/modules/UIManager.js +5 -4
  373. package/src/sap/m/p13n/modules/xConfigAPI.js +26 -0
  374. package/src/sap/m/plugins/CellSelector.js +534 -799
  375. package/src/sap/m/plugins/ColumnResizer.js +1 -9
  376. package/src/sap/m/plugins/CopyProvider.js +2 -10
  377. package/src/sap/m/plugins/DataStateIndicator.js +8 -2
  378. package/src/sap/m/plugins/PasteProvider.js +1 -1
  379. package/src/sap/m/plugins/PluginBase.js +1 -1
  380. package/src/sap/m/semantic/AddAction.js +1 -1
  381. package/src/sap/m/semantic/CancelAction.js +1 -1
  382. package/src/sap/m/semantic/DeleteAction.js +1 -1
  383. package/src/sap/m/semantic/DetailPage.js +1 -1
  384. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  385. package/src/sap/m/semantic/EditAction.js +1 -1
  386. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  387. package/src/sap/m/semantic/FilterAction.js +1 -1
  388. package/src/sap/m/semantic/FilterSelect.js +1 -1
  389. package/src/sap/m/semantic/FlagAction.js +1 -1
  390. package/src/sap/m/semantic/ForwardAction.js +1 -1
  391. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  392. package/src/sap/m/semantic/GroupAction.js +1 -1
  393. package/src/sap/m/semantic/GroupSelect.js +1 -1
  394. package/src/sap/m/semantic/MainAction.js +1 -1
  395. package/src/sap/m/semantic/MasterPage.js +1 -1
  396. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  397. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  398. package/src/sap/m/semantic/NegativeAction.js +1 -1
  399. package/src/sap/m/semantic/OpenInAction.js +1 -1
  400. package/src/sap/m/semantic/PositiveAction.js +1 -1
  401. package/src/sap/m/semantic/PrintAction.js +1 -1
  402. package/src/sap/m/semantic/SaveAction.js +1 -1
  403. package/src/sap/m/semantic/Segment.js +1 -1
  404. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  405. package/src/sap/m/semantic/SemanticButton.js +1 -1
  406. package/src/sap/m/semantic/SemanticConfiguration.js +3 -3
  407. package/src/sap/m/semantic/SemanticControl.js +1 -1
  408. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  409. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  410. package/src/sap/m/semantic/SemanticPage.js +1 -1
  411. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  412. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  413. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  414. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  415. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  416. package/src/sap/m/semantic/ShareMenu.js +1 -1
  417. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  418. package/src/sap/m/semantic/SortAction.js +1 -1
  419. package/src/sap/m/semantic/SortSelect.js +1 -1
  420. package/src/sap/m/table/Util.js +6 -5
  421. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  422. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  423. package/src/sap/m/table/columnmenu/Item.js +1 -1
  424. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  425. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  426. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  427. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  428. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  429. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  430. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  431. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  432. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  433. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  434. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  435. package/src/sap/m/themes/base/Avatar.less +78 -7
  436. package/src/sap/m/themes/base/Carousel.less +7 -0
  437. package/src/sap/m/themes/base/CellSelector.less +50 -105
  438. package/src/sap/m/themes/base/IconTabBar.less +1 -1
  439. package/src/sap/m/themes/base/Link.less +20 -24
  440. package/src/sap/m/themes/base/MessageStrip.less +1 -1
  441. package/src/sap/m/themes/base/NumericContent.less +4 -0
  442. package/src/sap/m/themes/base/ObjectStatus.less +1 -2
  443. package/src/sap/m/themes/base/Panel.less +14 -0
  444. package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
  445. package/src/sap/m/themes/base/RadioButton.less +3 -1
  446. package/src/sap/m/themes/base/SearchField.less +13 -3
  447. package/src/sap/m/themes/base/Select.less +32 -2
  448. package/src/sap/m/themes/base/Table.less +4 -8
  449. package/src/sap/m/themes/base/TimePickerClocks.less +4 -0
  450. package/src/sap/m/themes/base/UploadSet.less +13 -1
  451. package/src/sap/m/themes/base/UploadSetTable.less +80 -0
  452. package/src/sap/m/themes/base/ValueStateMessage.less +1 -0
  453. package/src/sap/m/themes/base/VariantManagement.less +1 -0
  454. package/src/sap/m/themes/base/Wizard.less +1 -1
  455. package/src/sap/m/themes/base/library.source.less +1 -0
  456. package/src/sap/m/upload/FilePreviewDialog.js +257 -0
  457. package/src/sap/m/upload/UploadSet.js +140 -67
  458. package/src/sap/m/upload/UploadSetItem.js +51 -27
  459. package/src/sap/m/upload/UploadSetTable.js +929 -0
  460. package/src/sap/m/upload/UploadSetTableItem.js +327 -0
  461. package/src/sap/m/upload/UploadSetTableItemRenderer.js +22 -0
  462. package/src/sap/m/upload/UploadSetTableRenderer.js +34 -0
  463. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  464. package/src/sap/m/upload/UploaderTableItem.js +276 -0
  465. package/ui5.yaml +1 -1
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Provides control sap.m.ListBase.
8
8
  sap.ui.define([
9
+ "sap/base/i18n/Localization",
10
+ "sap/ui/core/ControlBehavior",
9
11
  "sap/ui/events/KeyCodes",
10
12
  "sap/ui/Device",
11
13
  "sap/ui/core/Core",
@@ -15,6 +17,7 @@ sap.ui.define([
15
17
  "sap/ui/core/LabelEnablement",
16
18
  "sap/ui/core/delegate/ItemNavigation",
17
19
  "./library",
20
+ "sap/ui/core/library",
18
21
  "./InstanceManager",
19
22
  "./GrowingEnablement",
20
23
  "./GroupHeaderListItem",
@@ -25,10 +28,13 @@ sap.ui.define([
25
28
  "sap/base/Log",
26
29
  "sap/ui/core/InvisibleMessage",
27
30
  "sap/m/table/Util",
31
+ "sap/ui/core/Lib",
28
32
  "sap/ui/dom/jquery/Selectors", // jQuery custom selectors ":sapTabbable"
29
33
  "sap/ui/dom/jquery/Aria" // jQuery Plugin "addAriaLabelledBy", "removeAriaLabelledBy"
30
34
  ],
31
35
  function(
36
+ Localization,
37
+ ControlBehavior,
32
38
  KeyCodes,
33
39
  Device,
34
40
  Core,
@@ -38,6 +44,7 @@ function(
38
44
  LabelEnablement,
39
45
  ItemNavigation,
40
46
  library,
47
+ coreLibrary,
41
48
  InstanceManager,
42
49
  GrowingEnablement,
43
50
  GroupHeaderListItem,
@@ -47,7 +54,8 @@ function(
47
54
  jQuery,
48
55
  Log,
49
56
  InvisibleMessage,
50
- Util
57
+ Util,
58
+ Library
51
59
  ) {
52
60
  "use strict";
53
61
 
@@ -79,6 +87,9 @@ function(
79
87
  // shortcut for sap.m.MultiSelectMode
80
88
  var MultiSelectMode = library.MultiSelectMode;
81
89
 
90
+ // shortcut for sap.ui.core.TitleLevel
91
+ var TitleLevel = coreLibrary.TitleLevel;
92
+
82
93
  /**
83
94
  * Constructor for a new ListBase.
84
95
  *
@@ -97,7 +108,7 @@ function(
97
108
  * @extends sap.ui.core.Control
98
109
  *
99
110
  * @author SAP SE
100
- * @version 1.115.1
111
+ * @version 1.117.0
101
112
  *
102
113
  * @constructor
103
114
  * @public
@@ -118,10 +129,27 @@ function(
118
129
 
119
130
  /**
120
131
  * Defines the header text that appears in the control.
121
- * <b>Note:</b> If <code>headerToolbar</code> aggregation is set, then this property is ignored.
132
+ * <b>Note:</b>
133
+ * If the <code>headerToolbar</code> aggregation is set, then this property is ignored.
134
+ * If this is the case, use, for example, a <code>sap.m.Title</code> control in the toolbar to define a header.
122
135
  */
123
136
  headerText : {type : "string", group : "Misc", defaultValue : null},
124
137
 
138
+ /**
139
+ * Defines the semantic header level of the header text (see {@link #getHeaderText headerText} property}).
140
+ * This information is, for example, used by assistive technologies, such as screenreaders, to create a hierarchical site
141
+ * map for faster navigation.
142
+ * Depending on this setting, either the ARIA equivalent of an HTML h1-h6 element is used or, when using the
143
+ * <code>Auto</code> level, no explicit level information is used.
144
+ *
145
+ * <b>Note:</b>
146
+ * If the <code>headerToolbar</code> aggregation is set, then this property is ignored.
147
+ * If this is the case, use, for example, a <code>sap.m.Title</code> control in the toolbar to define a header.
148
+ *
149
+ * @since 1.117.0
150
+ */
151
+ headerLevel : {type : "sap.ui.core.TitleLevel", group : "Misc", defaultValue : TitleLevel.Auto},
152
+
125
153
  /**
126
154
  * Defines the header style of the control. Possible values are <code>Standard</code> and <code>Plain</code>.
127
155
  * @since 1.14
@@ -258,17 +286,20 @@ function(
258
286
 
259
287
  /**
260
288
  * Defines the multi-selection mode for the control.
261
- * If this property is set to the <code>Default</code> value, the <code>sap.m.Table</code> control renders
262
- * the Select All checkbox in the column header, otherwise the Deselect All icon is rendered.
263
- * The Select All checkbox allows the user to select all the items in the control, and
264
- * the Deselect All icon deselects the items.
265
- * If the property is set to <code>ClearAll</code>, then selecting items via the <code>selectAll</code> method is not possible. See {@link #selectAll selectAll} for more details.
289
+ *
290
+ * If the property is set to <code>ClearAll</code>, then selecting items via the
291
+ * keyboard shortcut <i>CTRL + A</i> and via the <code>selectAll</code> method is not possible.
292
+ * See {@link #selectAll selectAll} for more details.
293
+ * A selection of multiple items is still possible using the range selection feature.
294
+ * For more information about the range selection, see {@link topic:8a0d4efa29d44ef39219c18d832012da Keyboard Handling for Item Selection}.
295
+ *
296
+ * <b>Only relevant for <code>sap.m.Table</code>:</b>
297
+ * If <code>ClearAll</code> is set, the table renders a Deselect All icon in the column header,
298
+ * otherwise a Select All checkbox is shown. The Select All checkbox allows the user to select all the
299
+ * items in the control, and the Deselect All icon deselects the items.
266
300
  *
267
301
  * <b>Note:</b> This property must be used with the <code>MultiSelect</code> mode.
268
- * If this property is set to <code>ClearAll</code>, then a selection of multiple items is still possible
269
- * via the range selection feature except <i>CTRL + A</i>.
270
- * Additionally, the <i>CTRL + SHIFT + A</i> key combination can be used for deselecting all the items.
271
- * For details on the range selection, please see {@link topic:8a0d4efa29d44ef39219c18d832012da Keyboard Handling for Item Selection}.
302
+ *
272
303
  * @since 1.93
273
304
  */
274
305
  multiSelectMode : {type: "sap.m.MultiSelectMode", group: "Behavior", defaultValue: MultiSelectMode.Default}
@@ -593,10 +624,7 @@ function(
593
624
  ListBase.prototype.onAfterRendering = function() {
594
625
  this._bRendering = false;
595
626
  this._sLastMode = this.getMode();
596
- // invalidate item navigation for desktop
597
- if (Device.system.desktop) {
598
- this._startItemNavigation(true);
599
- }
627
+ this._startItemNavigation(true);
600
628
  };
601
629
 
602
630
  ListBase.prototype.exit = function () {
@@ -608,6 +636,7 @@ function(
608
636
 
609
637
  // this gets called only with oData Model when first load or filter/sort
610
638
  ListBase.prototype.refreshItems = function(sReason) {
639
+ this._bRefreshItems = true;
611
640
  if (this._oGrowingDelegate) {
612
641
  // inform growing delegate to handle
613
642
  this._oGrowingDelegate.refreshItems(sReason);
@@ -853,7 +882,7 @@ function(
853
882
 
854
883
  // return no data text from resource bundle when there is no custom
855
884
  var sNoDataText = this.getProperty("noDataText");
856
- sNoDataText = sNoDataText || Core.getLibraryResourceBundle("sap.m").getText("LIST_NO_DATA");
885
+ sNoDataText = sNoDataText || Library.getResourceBundleFor("sap.m").getText("LIST_NO_DATA");
857
886
  return sNoDataText;
858
887
  };
859
888
 
@@ -1030,8 +1059,6 @@ function(
1030
1059
  var oSelectAllDomRef = this._getSelectAllCheckbox ? this._getSelectAllCheckbox() : undefined;
1031
1060
  if (oSelectAllDomRef) {
1032
1061
  Util.showSelectionLimitPopover(iSelectableItemCount, oSelectAllDomRef);
1033
- } else {
1034
- throw Error("Unsupported Operation");
1035
1062
  }
1036
1063
  }
1037
1064
 
@@ -1355,7 +1382,6 @@ function(
1355
1382
 
1356
1383
  // fire updateFinished event delayed to make sure rendering phase is done
1357
1384
  ListBase.prototype._fireUpdateFinished = function(oInfo) {
1358
- this._hideBusyIndicator();
1359
1385
  setTimeout(function() {
1360
1386
  this._bItemNavigationInvalidated = true;
1361
1387
  this.fireUpdateFinished({
@@ -1544,7 +1570,7 @@ function(
1544
1570
  // announce the selection state changes
1545
1571
  // but only announce if the document.activeElement is the listItem control, else selection control should announce the selection change
1546
1572
  if (this.getAriaRole() === "list" && document.activeElement === oListItem.getDomRef()) {
1547
- var oResourceBundle = Core.getLibraryResourceBundle("sap.m");
1573
+ var oResourceBundle = Library.getResourceBundleFor("sap.m");
1548
1574
  InvisibleMessage.getInstance().announce(bSelected ? oResourceBundle.getText("LIST_ITEM_SELECTED") : oResourceBundle.getText("LIST_ITEM_NOT_SELECTED"), "Assertive");
1549
1575
  }
1550
1576
  }
@@ -1606,6 +1632,7 @@ function(
1606
1632
  oEvent.ctrlKey ||
1607
1633
  oEvent.altKey ||
1608
1634
  oEvent.metaKey ||
1635
+ oEvent.code == "Tab" ||
1609
1636
  this.getMode() !== ListMode.MultiSelect ||
1610
1637
  !oItem.isSelectable() ||
1611
1638
  oEvent.which === KeyCodes.F6) {
@@ -1872,7 +1899,7 @@ function(
1872
1899
  // Swipe from the end to the begin - right to left in LTR and left to right in RTL languages.
1873
1900
  ListBase.prototype.onswipeleft = function(oEvent) {
1874
1901
 
1875
- var bRtl = Core.getConfiguration().getRTL();
1902
+ var bRtl = Localization.getRTL();
1876
1903
  var exceptDirection = bRtl ? SwipeDirection.EndToBegin : SwipeDirection.BeginToEnd;
1877
1904
  var swipeDirection = this.getSwipeDirection();
1878
1905
 
@@ -1892,7 +1919,7 @@ function(
1892
1919
 
1893
1920
  // Swipe from the begin to the end - left to right in LTR and right to left in RTL languages.
1894
1921
  ListBase.prototype.onswiperight = function(oEvent) {
1895
- var bRtl = Core.getConfiguration().getRTL();
1922
+ var bRtl = Localization.getRTL();
1896
1923
  var exceptDirection = bRtl ? SwipeDirection.BeginToEnd : SwipeDirection.EndToBegin;
1897
1924
  var swipeDirection = this.getSwipeDirection();
1898
1925
 
@@ -1980,7 +2007,7 @@ function(
1980
2007
  };
1981
2008
 
1982
2009
  ListBase.prototype.getAccessibilityType = function() {
1983
- return Core.getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_LIST");
2010
+ return Library.getResourceBundleFor("sap.m").getText("ACC_CTR_TYPE_LIST");
1984
2011
  };
1985
2012
 
1986
2013
  ListBase.prototype.getAccessibilityStates = function() {
@@ -1991,7 +2018,7 @@ function(
1991
2018
  var sStates = "",
1992
2019
  mMode = ListMode,
1993
2020
  sMode = this.getMode(),
1994
- oBundle = Core.getLibraryResourceBundle("sap.m");
2021
+ oBundle = Library.getResourceBundleFor("sap.m");
1995
2022
 
1996
2023
  if (LabelEnablement.isRequired(this)) {
1997
2024
  sStates += oBundle.getText("LIST_REQUIRED") + " ";
@@ -2059,7 +2086,7 @@ function(
2059
2086
  this._handleStickyItemFocus(oItem.getDomRef());
2060
2087
 
2061
2088
  if (oItem !== oFocusedControl ||
2062
- !Core.getConfiguration().getAccessibility()) {
2089
+ !ControlBehavior.isAccessibilityEnabled()) {
2063
2090
  return;
2064
2091
  }
2065
2092
 
@@ -2071,8 +2098,8 @@ function(
2071
2098
  } else {
2072
2099
  // prepare the announcement for the screen reader
2073
2100
  var oAccInfo = oItem.getAccessibilityInfo(),
2074
- oBundle = Core.getLibraryResourceBundle("sap.m"),
2075
- sDescription = oAccInfo.type + " . ";
2101
+ oBundle = Library.getResourceBundleFor("sap.m"),
2102
+ sDescription = oItem.isGroupHeader() ? "" : oAccInfo.type + " . ";
2076
2103
 
2077
2104
  if (this.isA("sap.m.Table")) {
2078
2105
  var mPosition = this.getAccessbilityPosition(oItem);
@@ -2085,6 +2112,12 @@ function(
2085
2112
  }
2086
2113
  };
2087
2114
 
2115
+ ListBase.prototype.onItemFocusOut = function(oItem) {
2116
+ var oInvisibleText = ListBase.getInvisibleText(),
2117
+ $ItemDomRef = jQuery(oItem.getDomRef());
2118
+ $ItemDomRef.removeAriaLabelledBy(oInvisibleText.getId());
2119
+ };
2120
+
2088
2121
  ListBase.prototype.updateInvisibleText = function(sText, oItemDomRef, bPrepend) {
2089
2122
  var oInvisibleText = ListBase.getInvisibleText(),
2090
2123
  $FocusedItem = jQuery(oItemDomRef || document.activeElement);
@@ -3,8 +3,8 @@
3
3
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText", "./ListItemBaseRenderer"],
7
- function(library, Device, InvisibleText, ListItemBaseRenderer) {
6
+ sap.ui.define(["sap/m/library", "sap/ui/core/library", "sap/ui/Device", "sap/ui/core/InvisibleText", "./ListItemBaseRenderer"],
7
+ function(library, coreLibrary, Device, InvisibleText, ListItemBaseRenderer) {
8
8
  "use strict";
9
9
 
10
10
 
@@ -17,6 +17,9 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText", ".
17
17
  // shortcut for sap.m.ToolbarDesign
18
18
  var ToolbarDesign = library.ToolbarDesign;
19
19
 
20
+ // shortcut for sap.ui.core.TitleLevel
21
+ var TitleLevel = coreLibrary.TitleLevel;
22
+
20
23
 
21
24
  /**
22
25
  * ListBase renderer.
@@ -101,10 +104,15 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText", ".
101
104
  oHeaderTBar.addStyleClass("sapMTBHeader-CTX");
102
105
  rm.renderControl(oHeaderTBar);
103
106
  } else if (sHeaderText) {
104
- rm.openStart("header", oControl.getId("header"));
107
+ rm.openStart("div", oControl.getId("header"));
108
+ rm.attr("role", "heading");
109
+ var sHeaderLevel = oControl.getHeaderLevel();
110
+ if (sHeaderLevel != TitleLevel.Auto) {
111
+ rm.attr("aria-level", sHeaderLevel[sHeaderLevel.length - 1]);
112
+ }
105
113
  rm.class("sapMListHdr").class("sapMListHdrText").openEnd();
106
114
  rm.text(sHeaderText);
107
- rm.close("header");
115
+ rm.close("div");
108
116
  }
109
117
 
110
118
  // render info bar
@@ -10,7 +10,6 @@ sap.ui.define([
10
10
  "sap/ui/events/KeyCodes",
11
11
  "sap/ui/model/BindingMode",
12
12
  "sap/ui/Device",
13
- "sap/ui/core/Core",
14
13
  "sap/ui/core/library",
15
14
  "sap/ui/core/Control",
16
15
  "sap/ui/core/IconPool",
@@ -24,6 +23,7 @@ sap.ui.define([
24
23
  "./ListItemBaseRenderer",
25
24
  "sap/base/strings/capitalize",
26
25
  "sap/ui/thirdparty/jquery",
26
+ "sap/ui/core/Lib",
27
27
  // jQuery custom selectors ":sapTabbable", ":sapFocusable"
28
28
  "sap/ui/dom/jquery/Selectors"
29
29
  ],
@@ -32,7 +32,6 @@ function(
32
32
  KeyCodes,
33
33
  BindingMode,
34
34
  Device,
35
- Core,
36
35
  coreLibrary,
37
36
  Control,
38
37
  IconPool,
@@ -45,7 +44,8 @@ function(
45
44
  RadioButton,
46
45
  ListItemBaseRenderer,
47
46
  capitalize,
48
- jQuery
47
+ jQuery,
48
+ Library
49
49
  ) {
50
50
  "use strict";
51
51
 
@@ -78,7 +78,7 @@ function(
78
78
  * @extends sap.ui.core.Control
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.115.1
81
+ * @version 1.117.0
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -193,7 +193,7 @@ function(
193
193
  });
194
194
 
195
195
  ListItemBase.getAccessibilityText = function(oControl, bDetectEmpty, bHeaderAnnouncement) {
196
- var oBundle = Core.getLibraryResourceBundle("sap.m");
196
+ var oBundle = Library.getResourceBundleFor("sap.m");
197
197
 
198
198
  if (!oControl || !oControl.getVisible || !oControl.getVisible()) {
199
199
  return bDetectEmpty ? oBundle.getText("CONTROL_EMPTY") : "";
@@ -456,7 +456,7 @@ function(
456
456
  };
457
457
 
458
458
  ListItemBase.prototype.getAccessibilityInfo = function() {
459
- var oBundle = Core.getLibraryResourceBundle("sap.m");
459
+ var oBundle = Library.getResourceBundleFor("sap.m");
460
460
  return {
461
461
  type: this.getAccessibilityType(oBundle),
462
462
  description: this.getAccessibilityDescription(oBundle),
@@ -527,7 +527,7 @@ function(
527
527
  id: this.getId() + "-imgDel",
528
528
  icon: this.DeleteIconURI,
529
529
  type: ButtonType.Transparent,
530
- tooltip: Core.getLibraryResourceBundle("sap.m").getText("LIST_ITEM_DELETE")
530
+ tooltip: Library.getResourceBundleFor("sap.m").getText("LIST_ITEM_DELETE")
531
531
  }).addStyleClass("sapMLIBIconDel sapMLIBSelectD").setParent(this, null, true).attachPress(function(oEvent) {
532
532
  this.informList("Delete");
533
533
  }, this);
@@ -564,7 +564,7 @@ function(
564
564
  id: this.getId() + "-imgDet",
565
565
  icon: this.DetailIconURI,
566
566
  type: ButtonType.Transparent,
567
- tooltip: Core.getLibraryResourceBundle("sap.m").getText("LIST_ITEM_EDIT")
567
+ tooltip: Library.getResourceBundleFor("sap.m").getText("LIST_ITEM_EDIT")
568
568
  }).addStyleClass("sapMLIBType sapMLIBIconDet").setParent(this, null, true).attachPress(function() {
569
569
  this.fireDetailTap();
570
570
  this.fireDetailPress();
@@ -1330,6 +1330,15 @@ function(
1330
1330
  setTimeout(oList["setItemFocusable"].bind(oList, this), 0);
1331
1331
  };
1332
1332
 
1333
+ ListItemBase.prototype.onfocusout = function(oEvent) {
1334
+ if (oEvent.isMarked() || oEvent.srcControl !== this) {
1335
+ return;
1336
+ }
1337
+
1338
+ this.informList("FocusOut", oEvent.srcControl);
1339
+ oEvent.setMarked();
1340
+ };
1341
+
1333
1342
  // inform the list for the vertical navigation
1334
1343
  ListItemBase.prototype.onsapup = function(oEvent) {
1335
1344
  if (oEvent.isMarked() ||
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/InvisibleText", "sap/ui/core/InvisibleRenderer", "sap/ui/core/Configuration"],
8
- function(library, Core, Device, InvisibleText, InvisibleRenderer, Configuration) {
7
+ sap.ui.define(["sap/ui/core/ControlBehavior", "./library", "sap/ui/Device", "sap/ui/core/InvisibleText", "sap/ui/core/InvisibleRenderer", "sap/ui/core/Configuration", "sap/ui/core/Lib"],
8
+ function(ControlBehavior, library, Device, InvisibleText, InvisibleRenderer, Configuration, Library) {
9
9
  "use strict";
10
10
 
11
11
 
@@ -85,7 +85,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
85
85
  oModeControl.removeStyleClass("sapMLIBSelectAnimation sapMLIBUnselectAnimation");
86
86
 
87
87
  // determine whether animation is necessary or not
88
- if (Core.getConfiguration().getAnimationMode() === Configuration.AnimationMode.none || !oLI.getListProperty("modeAnimationOn")) {
88
+ if (ControlBehavior.getAnimationMode() === Configuration.AnimationMode.none || !oLI.getListProperty("modeAnimationOn")) {
89
89
  return;
90
90
  }
91
91
 
@@ -120,7 +120,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
120
120
 
121
121
  ListItemBaseRenderer.renderCounterContent = function(rm, oLI, iCounter) {
122
122
  rm.openStart("div", oLI.getId() + "-counter");
123
- rm.attr("aria-label", Core.getLibraryResourceBundle("sap.m").getText("LIST_ITEM_COUNTER", iCounter));
123
+ rm.attr("aria-label", Library.getResourceBundleFor("sap.m").getText("LIST_ITEM_COUNTER", iCounter));
124
124
  rm.class("sapMLIBCounter");
125
125
  rm.openEnd();
126
126
  rm.text(iCounter);
@@ -310,7 +310,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
310
310
  mAccessibilityState.selected = null;
311
311
  if (oLI.isGroupHeader()) {
312
312
  mAccessibilityState.role = "group";
313
- mAccessibilityState.roledescription = oLI.getAccessibilityType(Core.getLibraryResourceBundle("sap.m"));
313
+ mAccessibilityState.roledescription = oLI.getAccessibilityType(Library.getResourceBundleFor("sap.m"));
314
314
  var aGroupedItems = oLI.getGroupedItems();
315
315
  if (aGroupedItems && aGroupedItems.length) {
316
316
  mAccessibilityState.owns = aGroupedItems.join(" ");
@@ -431,7 +431,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
431
431
  this.renderTabIndex(rm, oLI);
432
432
 
433
433
  // handle accessibility states
434
- if (Core.getConfiguration().getAccessibility()) {
434
+ if (ControlBehavior.isAccessibilityEnabled()) {
435
435
  rm.accessibilityState(oLI, this.getAccessibilityState(oLI));
436
436
  }
437
437
 
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * Applies mask support for input controls.
27
27
  * It should should be applied to the prototype of a <code>sap.m.InputBase</code>.
28
28
  *
29
- * @version 1.115.1
29
+ * @version 1.117.0
30
30
  * @private
31
31
  * @mixin
32
32
  * @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.115.1
32
+ * @version 1.117.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.115.1
23
+ * @version 1.117.0
24
24
  * @public
25
25
  * @constructor
26
26
  * @since 1.34.0
package/src/sap/m/Menu.js CHANGED
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @implements sap.ui.core.IContextMenu
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.115.1
73
+ * @version 1.117.0
74
74
  *
75
75
  * @constructor
76
76
  * @public
@@ -261,6 +261,19 @@ sap.ui.define([
261
261
  }
262
262
  };
263
263
 
264
+ /**
265
+ * Returns whether the <code>Menu</code> is currently open.
266
+ * @returns {boolean} true if menu is open
267
+ * @public
268
+ */
269
+ Menu.prototype.isOpen = function() {
270
+ if (Device.system.phone) {
271
+ return this._getDialog() && this._getDialog().isOpen();
272
+ } else {
273
+ return this._getVisualParent() && this._getVisualParent().isOpen();
274
+ }
275
+ };
276
+
264
277
  /**
265
278
  * Creates the dialog that contains the actual menu for mobile.
266
279
  * @private
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Control
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.115.1
61
+ * @version 1.117.0
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/base/ManagedObjectObserv
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.115.1
26
+ * @version 1.117.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.m.ListItemBase
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.115.1
35
+ * @version 1.117.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  *
37
37
  * @extends sap.ui.core.Item
38
38
  * @author SAP SE
39
- * @version 1.115.1
39
+ * @version 1.117.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.StandardListItem
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.115.1
36
+ * @version 1.117.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/message-page/ Message Page}
73
73
  *
74
74
  * @extends sap.ui.core.Control
75
- * @version 1.115.1
75
+ * @version 1.117.0
76
76
  *
77
77
  * @constructor
78
78
  * @public
@@ -95,7 +95,7 @@ function(
95
95
  * @extends sap.ui.core.Control
96
96
  *
97
97
  * @author SAP SE
98
- * @version 1.115.1
98
+ * @version 1.117.0
99
99
  *
100
100
  * @constructor
101
101
  * @public
@@ -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.115.1
22
+ * @version 1.117.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -85,7 +85,7 @@ sap.ui.define([
85
85
  * @extends sap.ui.core.Control
86
86
  *
87
87
  * @author SAP SE
88
- * @version 1.115.1
88
+ * @version 1.117.0
89
89
  *
90
90
  * @constructor
91
91
  * @public
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * The message toast has the same behavior on all devices. However, you can adjust the width of the control, for example, for use on a desktop device.
73
73
  *
74
74
  * @author SAP SE
75
- * @version 1.115.1
75
+ * @version 1.117.0
76
76
  *
77
77
  * @namespace
78
78
  * @public
@@ -359,15 +359,6 @@ sap.ui.define([
359
359
  oFocusableElement.focus();
360
360
  clearTimeout(this._iCloseTimeoutId);
361
361
  }
362
-
363
- if (!oPopup && bAlt && bCtrl && oEvent.code === "KeyM") {
364
- this.show(this._sMessage, this._mOptions, oEvent);
365
- oPopup = this._aPopups[0];
366
- oFocusableElement = document.querySelector(".sapMMessageToastHiddenFocusable");
367
- oFocusableElement && oFocusableElement.focus();
368
- oPopup.getContent().classList.add("sapMFocus");
369
- clearTimeout(this._iCloseTimeoutId);
370
- }
371
362
  };
372
363
 
373
364
  // Close the message when in permanent display mode
@@ -422,8 +413,6 @@ sap.ui.define([
422
413
  sPointerEvents = "mousedown." + CSSCLASS + " touchstart." + CSSCLASS,
423
414
  iMouseLeaveTimeoutId;
424
415
 
425
- MessageToast._mOptions = mOptions;
426
- MessageToast._sMessage = sMessage;
427
416
  MessageToast._mSettings.opener = oOpener;
428
417
 
429
418
  // Find the uppper-most parent to attach the keyboard shortcut as we need to be
@@ -114,7 +114,7 @@ sap.ui.define([
114
114
  * The responsiveness of the <code>MessageView</code> is determined by the container in which it is embedded. For that reason the control could not be visualized if the
115
115
  * container’s sizes are not defined.
116
116
  * @author SAP SE
117
- * @version 1.115.1
117
+ * @version 1.117.0
118
118
  *
119
119
  * @extends sap.ui.core.Control
120
120
  * @constructor
@@ -896,7 +896,7 @@ sap.ui.define([
896
896
  if (iCount > 0) {
897
897
  oButton = new Button(this.getId() + "-" + sListName, {
898
898
  text: sListName == "all" ? this._oResourceBundle.getText(sBundleText) : iCount,
899
- tooltip: this._oResourceBundle.getText(sBundleText),
899
+ tooltip: sListName === "all" ? "" : this._oResourceBundle.getText(sBundleText),
900
900
  icon: ICONS[sListName],
901
901
  press: pressClosure(sListName)
902
902
  }).addStyleClass(CSS_CLASS + "Btn" + sListName.charAt(0).toUpperCase() + sListName.slice(1));
@@ -145,7 +145,7 @@ function(
145
145
  * </ul>
146
146
  *
147
147
  * @author SAP SE
148
- * @version 1.115.1
148
+ * @version 1.117.0
149
149
  *
150
150
  * @constructor
151
151
  * @extends sap.m.ComboBoxBase
@@ -2099,8 +2099,8 @@ function(
2099
2099
  var bIsPickerDialog = this.isPickerDialog(),
2100
2100
  oInput = bIsPickerDialog ? this.getPickerTextField() : this,
2101
2101
  sUpdateValue = this._sOldInput || this._sOldValue || "",
2102
- bOkButtonPressed = bIsPickerDialog && oEvent.relatedTarget && oEvent.relatedTarget.id.indexOf("-popup-closeButton") > -1;
2103
-
2102
+ bOkButtonPressed = bIsPickerDialog && oEvent && oEvent.relatedTarget &&
2103
+ oEvent.relatedTarget.id.includes("-popup-closeButton");
2104
2104
  if (!bOkButtonPressed) {
2105
2105
  oInput.updateDomValue(sUpdateValue);
2106
2106
  }
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/core/XMLComposite", "./library", "sap/ui/core/Item"], fun
17
17
  * @implements sap.ui.core.IFormContent
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.115.1
20
+ * @version 1.117.0
21
21
  * @experimental since 1.52
22
22
  * @since 1.52.0
23
23
  * @alias sap.m.MultiEditField