@openui5/sap.m 1.104.0 → 1.105.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 (451) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +1 -1
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +1 -1
  8. package/src/sap/m/ActionSheet.js +1 -1
  9. package/src/sap/m/App.js +2 -3
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +2 -2
  12. package/src/sap/m/BadgeEnabler.js +1 -2
  13. package/src/sap/m/Bar.js +1 -1
  14. package/src/sap/m/Breadcrumbs.js +1 -1
  15. package/src/sap/m/BusyDialog.js +1 -1
  16. package/src/sap/m/BusyIndicator.js +1 -1
  17. package/src/sap/m/Button.js +47 -9
  18. package/src/sap/m/ButtonRenderer.js +10 -2
  19. package/src/sap/m/Carousel.js +3 -4
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CheckBox.js +46 -6
  22. package/src/sap/m/CheckBoxRenderer.js +1 -0
  23. package/src/sap/m/ColorPalette.js +1 -1
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +5 -7
  27. package/src/sap/m/ColumnListItem.js +1 -4
  28. package/src/sap/m/ColumnListItemRenderer.js +1 -2
  29. package/src/sap/m/ColumnPopoverActionItem.js +3 -3
  30. package/src/sap/m/ColumnPopoverCustomItem.js +3 -3
  31. package/src/sap/m/ColumnPopoverItem.js +3 -3
  32. package/src/sap/m/ColumnPopoverSelectListItem.js +3 -5
  33. package/src/sap/m/ColumnPopoverSortItem.js +3 -3
  34. package/src/sap/m/ComboBox.js +6 -5
  35. package/src/sap/m/ComboBoxBase.js +1 -5
  36. package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
  37. package/src/sap/m/ComboBoxTextField.js +1 -7
  38. package/src/sap/m/ComboBoxTextFieldRenderer.js +19 -4
  39. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  40. package/src/sap/m/CustomListItem.js +1 -1
  41. package/src/sap/m/CustomTile.js +1 -1
  42. package/src/sap/m/CustomTreeItem.js +3 -3
  43. package/src/sap/m/CustomTreeItemRenderer.js +2 -2
  44. package/src/sap/m/DatePicker.js +1 -3
  45. package/src/sap/m/DateRangeSelection.js +2 -2
  46. package/src/sap/m/DateTimeField.js +1 -1
  47. package/src/sap/m/DateTimeInput.js +1 -1
  48. package/src/sap/m/DateTimePicker.js +13 -8
  49. package/src/sap/m/Dialog.js +38 -1
  50. package/src/sap/m/DisplayListItem.js +1 -1
  51. package/src/sap/m/DraftIndicator.js +1 -1
  52. package/src/sap/m/DynamicDate.js +1 -1
  53. package/src/sap/m/DynamicDateFormat.js +2 -5
  54. package/src/sap/m/DynamicDateOption.js +38 -13
  55. package/src/sap/m/DynamicDateRange.js +47 -6
  56. package/src/sap/m/DynamicDateRangeRenderer.js +5 -2
  57. package/src/sap/m/DynamicDateUtil.js +23 -2
  58. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  59. package/src/sap/m/ExpandableText.js +1 -1
  60. package/src/sap/m/FacetFilter.js +2 -2
  61. package/src/sap/m/FacetFilterItem.js +1 -1
  62. package/src/sap/m/FacetFilterList.js +4 -4
  63. package/src/sap/m/FeedContent.js +1 -1
  64. package/src/sap/m/FeedInput.js +1 -1
  65. package/src/sap/m/FeedListItem.js +1 -1
  66. package/src/sap/m/FeedListItemAction.js +1 -1
  67. package/src/sap/m/Fiori20Adapter.js +2 -2
  68. package/src/sap/m/FlexBox.js +1 -1
  69. package/src/sap/m/FlexItemData.js +1 -1
  70. package/src/sap/m/FormattedText.js +1 -1
  71. package/src/sap/m/GenericTag.js +1 -1
  72. package/src/sap/m/GenericTile.js +56 -8
  73. package/src/sap/m/GroupHeaderListItem.js +1 -1
  74. package/src/sap/m/GrowingEnablement.js +26 -7
  75. package/src/sap/m/GrowingList.js +1 -1
  76. package/src/sap/m/HBox.js +1 -1
  77. package/src/sap/m/HeaderContainer.js +1 -1
  78. package/src/sap/m/HeaderContainerItemNavigator.js +3 -6
  79. package/src/sap/m/IconTabBar.js +54 -22
  80. package/src/sap/m/IconTabBarSelectList.js +1 -1
  81. package/src/sap/m/IconTabFilter.js +1 -1
  82. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  83. package/src/sap/m/IconTabHeader.js +6 -7
  84. package/src/sap/m/IconTabSeparator.js +1 -1
  85. package/src/sap/m/IllustratedMessage.js +2 -2
  86. package/src/sap/m/Illustration.js +1 -1
  87. package/src/sap/m/IllustrationRenderer.js +1 -1
  88. package/src/sap/m/Image.js +2 -2
  89. package/src/sap/m/ImageContent.js +1 -1
  90. package/src/sap/m/Input.js +51 -4
  91. package/src/sap/m/InputBase.js +1 -1
  92. package/src/sap/m/InputBaseRenderer.js +2 -2
  93. package/src/sap/m/InputListItem.js +1 -1
  94. package/src/sap/m/InputRenderer.js +4 -0
  95. package/src/sap/m/Label.js +34 -4
  96. package/src/sap/m/LabelRenderer.js +7 -2
  97. package/src/sap/m/LightBox.js +1 -1
  98. package/src/sap/m/LightBoxItem.js +1 -1
  99. package/src/sap/m/Link.js +55 -6
  100. package/src/sap/m/LinkRenderer.js +8 -2
  101. package/src/sap/m/List.js +38 -1
  102. package/src/sap/m/ListBase.js +101 -40
  103. package/src/sap/m/ListBaseRenderer.js +7 -15
  104. package/src/sap/m/ListItemBase.js +31 -10
  105. package/src/sap/m/ListItemBaseRenderer.js +17 -6
  106. package/src/sap/m/ListRenderer.js +2 -2
  107. package/src/sap/m/MaskEnabler.js +1 -1
  108. package/src/sap/m/MaskInput.js +1 -1
  109. package/src/sap/m/MaskInputRule.js +1 -1
  110. package/src/sap/m/Menu.js +1 -1
  111. package/src/sap/m/MenuButton.js +1 -1
  112. package/src/sap/m/MenuItem.js +1 -1
  113. package/src/sap/m/MenuListItem.js +1 -1
  114. package/src/sap/m/MessageBox.js +1 -1
  115. package/src/sap/m/MessageItem.js +3 -4
  116. package/src/sap/m/MessageListItem.js +8 -4
  117. package/src/sap/m/MessagePage.js +1 -1
  118. package/src/sap/m/MessagePopover.js +1 -1
  119. package/src/sap/m/MessagePopoverItem.js +1 -1
  120. package/src/sap/m/MessageStrip.js +1 -1
  121. package/src/sap/m/MessageToast.js +1 -1
  122. package/src/sap/m/MessageView.js +1 -1
  123. package/src/sap/m/MultiComboBox.js +5 -16
  124. package/src/sap/m/MultiEditField.js +1 -1
  125. package/src/sap/m/MultiInput.js +1 -15
  126. package/src/sap/m/NavContainer.js +2 -4
  127. package/src/sap/m/NewsContent.js +2 -3
  128. package/src/sap/m/NotificationList.js +1 -1
  129. package/src/sap/m/NotificationListBase.js +1 -1
  130. package/src/sap/m/NotificationListGroup.js +3 -7
  131. package/src/sap/m/NotificationListGroupRenderer.js +1 -1
  132. package/src/sap/m/NotificationListItem.js +1 -1
  133. package/src/sap/m/NumericContent.js +1 -1
  134. package/src/sap/m/NumericInput.js +1 -1
  135. package/src/sap/m/ObjectAttribute.js +1 -1
  136. package/src/sap/m/ObjectHeader.js +3 -3
  137. package/src/sap/m/ObjectIdentifier.js +3 -3
  138. package/src/sap/m/ObjectListItem.js +7 -1
  139. package/src/sap/m/ObjectMarker.js +1 -1
  140. package/src/sap/m/ObjectNumber.js +2 -3
  141. package/src/sap/m/ObjectStatus.js +2 -3
  142. package/src/sap/m/ObjectStatusRenderer.js +2 -2
  143. package/src/sap/m/OverflowToolbar.js +3 -8
  144. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  145. package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -3
  146. package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +2 -2
  147. package/src/sap/m/OverflowToolbarButton.js +1 -1
  148. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  149. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  150. package/src/sap/m/P13nAnyFilterItem.js +3 -3
  151. package/src/sap/m/P13nColumnsItem.js +3 -3
  152. package/src/sap/m/P13nColumnsPanel.js +3 -3
  153. package/src/sap/m/P13nConditionPanel.js +10 -3
  154. package/src/sap/m/P13nDialog.js +3 -3
  155. package/src/sap/m/P13nDimMeasureItem.js +3 -3
  156. package/src/sap/m/P13nDimMeasurePanel.js +3 -3
  157. package/src/sap/m/P13nFilterItem.js +3 -3
  158. package/src/sap/m/P13nFilterPanel.js +3 -3
  159. package/src/sap/m/P13nGroupItem.js +3 -3
  160. package/src/sap/m/P13nGroupPanel.js +3 -3
  161. package/src/sap/m/P13nItem.js +3 -3
  162. package/src/sap/m/P13nOperationsHelper.js +2 -2
  163. package/src/sap/m/P13nPanel.js +3 -3
  164. package/src/sap/m/P13nSelectionItem.js +3 -3
  165. package/src/sap/m/P13nSelectionPanel.js +3 -3
  166. package/src/sap/m/P13nSortItem.js +3 -3
  167. package/src/sap/m/P13nSortPanel.js +3 -3
  168. package/src/sap/m/PDFViewer.js +1 -1
  169. package/src/sap/m/Page.js +1 -3
  170. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  171. package/src/sap/m/PagingButton.js +1 -1
  172. package/src/sap/m/Panel.js +1 -1
  173. package/src/sap/m/PlanningCalendar.js +4 -16
  174. package/src/sap/m/PlanningCalendarHeader.js +1 -5
  175. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  176. package/src/sap/m/PlanningCalendarRow.js +1 -1
  177. package/src/sap/m/PlanningCalendarView.js +1 -1
  178. package/src/sap/m/Popover.js +8 -1
  179. package/src/sap/m/ProgressIndicator.js +1 -1
  180. package/src/sap/m/PullToRefresh.js +1 -1
  181. package/src/sap/m/QuickView.js +3 -3
  182. package/src/sap/m/QuickViewBase.js +3 -3
  183. package/src/sap/m/QuickViewCard.js +3 -3
  184. package/src/sap/m/QuickViewGroup.js +1 -1
  185. package/src/sap/m/QuickViewGroupElement.js +3 -3
  186. package/src/sap/m/QuickViewPage.js +3 -3
  187. package/src/sap/m/RadioButton.js +47 -20
  188. package/src/sap/m/RadioButtonGroup.js +29 -19
  189. package/src/sap/m/RangeSlider.js +1 -3
  190. package/src/sap/m/RatingIndicator.js +1 -1
  191. package/src/sap/m/ResponsivePopover.js +3 -3
  192. package/src/sap/m/ResponsiveScale.js +1 -1
  193. package/src/sap/m/ScrollBar.js +1 -1
  194. package/src/sap/m/ScrollContainer.js +1 -1
  195. package/src/sap/m/SearchField.js +1 -1
  196. package/src/sap/m/SegmentedButton.js +1 -1
  197. package/src/sap/m/SegmentedButtonItem.js +1 -1
  198. package/src/sap/m/Select.js +3 -2
  199. package/src/sap/m/SelectDialog.js +2 -1
  200. package/src/sap/m/SelectDialogBase.js +1 -1
  201. package/src/sap/m/SelectList.js +1 -1
  202. package/src/sap/m/SelectListRenderer.js +2 -2
  203. package/src/sap/m/SelectionDetails.js +2 -2
  204. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  205. package/src/sap/m/SelectionDetailsItem.js +1 -1
  206. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  207. package/src/sap/m/Shell.js +1 -1
  208. package/src/sap/m/SimpleFixFlex.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendar.js +5 -7
  210. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -7
  212. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  213. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +0 -2
  214. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  215. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  216. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  217. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  218. package/src/sap/m/SlideTile.js +30 -5
  219. package/src/sap/m/Slider.js +1 -1
  220. package/src/sap/m/SliderTooltip.js +1 -3
  221. package/src/sap/m/SliderTooltipBase.js +1 -1
  222. package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
  223. package/src/sap/m/SliderTooltipContainer.js +1 -1
  224. package/src/sap/m/SliderTooltipContainerRenderer.js +2 -2
  225. package/src/sap/m/SliderTooltipRenderer.js +2 -2
  226. package/src/sap/m/SplitApp.js +1 -1
  227. package/src/sap/m/SplitButton.js +1 -3
  228. package/src/sap/m/SplitContainer.js +1 -5
  229. package/src/sap/m/StandardDynamicDateOption.js +9 -15
  230. package/src/sap/m/StandardListItem.js +1 -1
  231. package/src/sap/m/StandardListItemRenderer.js +2 -2
  232. package/src/sap/m/StandardTile.js +1 -1
  233. package/src/sap/m/StandardTreeItem.js +1 -1
  234. package/src/sap/m/StepInput.js +1 -1
  235. package/src/sap/m/SuggestionItem.js +1 -1
  236. package/src/sap/m/SuggestionsPopover.js +4 -2
  237. package/src/sap/m/Switch.js +1 -1
  238. package/src/sap/m/TabContainer.js +1 -1
  239. package/src/sap/m/TabContainerItem.js +1 -1
  240. package/src/sap/m/TabStrip.js +1 -1
  241. package/src/sap/m/TabStripItem.js +1 -1
  242. package/src/sap/m/Table.js +11 -9
  243. package/src/sap/m/TablePersoController.js +1 -1
  244. package/src/sap/m/TablePersoDialog.js +6 -15
  245. package/src/sap/m/TablePersoProvider.js +1 -1
  246. package/src/sap/m/TableRenderer.js +2 -9
  247. package/src/sap/m/TableSelectDialog.js +1 -1
  248. package/src/sap/m/Text.js +1 -1
  249. package/src/sap/m/TextArea.js +1 -1
  250. package/src/sap/m/TextAreaRenderer.js +1 -2
  251. package/src/sap/m/Tile.js +1 -1
  252. package/src/sap/m/TileContainer.js +1 -1
  253. package/src/sap/m/TileContent.js +1 -1
  254. package/src/sap/m/TileContentRenderer.js +2 -2
  255. package/src/sap/m/TimePicker.js +1 -1
  256. package/src/sap/m/TimePickerClock.js +2 -3
  257. package/src/sap/m/TimePickerClocks.js +1 -1
  258. package/src/sap/m/TimePickerClocksRenderer.js +1 -1
  259. package/src/sap/m/TimePickerInputs.js +1 -1
  260. package/src/sap/m/TimePickerInputsRenderer.js +1 -1
  261. package/src/sap/m/TimePickerInternals.js +1 -1
  262. package/src/sap/m/TimePickerSlider.js +1 -1
  263. package/src/sap/m/TimePickerSliders.js +3 -5
  264. package/src/sap/m/Title.js +1 -1
  265. package/src/sap/m/TitlePropagationSupport.js +1 -1
  266. package/src/sap/m/ToggleButton.js +1 -1
  267. package/src/sap/m/Token.js +1 -3
  268. package/src/sap/m/Tokenizer.js +1 -1
  269. package/src/sap/m/Toolbar.js +1 -1
  270. package/src/sap/m/ToolbarLayoutData.js +1 -1
  271. package/src/sap/m/ToolbarSeparator.js +1 -1
  272. package/src/sap/m/ToolbarSpacer.js +1 -1
  273. package/src/sap/m/Tree.js +8 -1
  274. package/src/sap/m/TreeItemBase.js +1 -1
  275. package/src/sap/m/TreeRenderer.js +0 -10
  276. package/src/sap/m/UploadCollection.js +1 -1
  277. package/src/sap/m/UploadCollectionItem.js +1 -1
  278. package/src/sap/m/UploadCollectionParameter.js +1 -1
  279. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  280. package/src/sap/m/VBox.js +1 -1
  281. package/src/sap/m/ValueStateHeader.js +1 -1
  282. package/src/sap/m/VariantItem.js +2 -2
  283. package/src/sap/m/VariantManagement.js +83 -51
  284. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  285. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  286. package/src/sap/m/ViewSettingsDialog.js +1 -1
  287. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  288. package/src/sap/m/ViewSettingsItem.js +1 -1
  289. package/src/sap/m/VisibleItem.js +1 -1
  290. package/src/sap/m/WheelSlider.js +1 -1
  291. package/src/sap/m/WheelSliderContainer.js +1 -1
  292. package/src/sap/m/Wizard.js +1 -3
  293. package/src/sap/m/WizardProgressNavigator.js +1 -1
  294. package/src/sap/m/WizardStep.js +1 -1
  295. package/src/sap/m/changeHandler/AddTableColumn.js +12 -13
  296. package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -3
  297. package/src/sap/m/changeHandler/CombineButtons.js +19 -22
  298. package/src/sap/m/changeHandler/MoveTableColumns.js +5 -5
  299. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
  300. package/src/sap/m/changeHandler/SplitMenuButton.js +7 -6
  301. package/src/sap/m/delegate/DateNavigation.js +0 -4
  302. package/src/sap/m/designtime/Link.designtime.js +19 -11
  303. package/src/sap/m/designtime/VariantManagement.designtime.js +2 -2
  304. package/src/sap/m/inputUtils/selectionRange.js +1 -2
  305. package/src/sap/m/library.js +3 -2
  306. package/src/sap/m/messagebundle.properties +7 -2
  307. package/src/sap/m/messagebundle_ar.properties +10 -3
  308. package/src/sap/m/messagebundle_bg.properties +9 -2
  309. package/src/sap/m/messagebundle_ca.properties +8 -1
  310. package/src/sap/m/messagebundle_cs.properties +9 -2
  311. package/src/sap/m/messagebundle_cy.properties +10 -3
  312. package/src/sap/m/messagebundle_da.properties +8 -1
  313. package/src/sap/m/messagebundle_de.properties +8 -1
  314. package/src/sap/m/messagebundle_el.properties +10 -3
  315. package/src/sap/m/messagebundle_en.properties +10 -3
  316. package/src/sap/m/messagebundle_en_GB.properties +10 -3
  317. package/src/sap/m/messagebundle_en_US_sappsd.properties +9 -2
  318. package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -2
  319. package/src/sap/m/messagebundle_en_US_saptrc.properties +9 -2
  320. package/src/sap/m/messagebundle_es.properties +9 -2
  321. package/src/sap/m/messagebundle_es_MX.properties +8 -1
  322. package/src/sap/m/messagebundle_et.properties +8 -1
  323. package/src/sap/m/messagebundle_fi.properties +9 -2
  324. package/src/sap/m/messagebundle_fr.properties +9 -2
  325. package/src/sap/m/messagebundle_fr_CA.properties +10 -3
  326. package/src/sap/m/messagebundle_hi.properties +10 -3
  327. package/src/sap/m/messagebundle_hr.properties +8 -1
  328. package/src/sap/m/messagebundle_hu.properties +8 -1
  329. package/src/sap/m/messagebundle_id.properties +10 -3
  330. package/src/sap/m/messagebundle_it.properties +8 -1
  331. package/src/sap/m/messagebundle_iw.properties +9 -2
  332. package/src/sap/m/messagebundle_ja.properties +9 -2
  333. package/src/sap/m/messagebundle_kk.properties +8 -1
  334. package/src/sap/m/messagebundle_ko.properties +10 -3
  335. package/src/sap/m/messagebundle_lt.properties +8 -1
  336. package/src/sap/m/messagebundle_lv.properties +8 -1
  337. package/src/sap/m/messagebundle_ms.properties +9 -2
  338. package/src/sap/m/messagebundle_nl.properties +8 -1
  339. package/src/sap/m/messagebundle_no.properties +9 -2
  340. package/src/sap/m/messagebundle_pl.properties +8 -1
  341. package/src/sap/m/messagebundle_pt.properties +9 -2
  342. package/src/sap/m/messagebundle_pt_PT.properties +8 -1
  343. package/src/sap/m/messagebundle_ro.properties +9 -2
  344. package/src/sap/m/messagebundle_ru.properties +9 -2
  345. package/src/sap/m/messagebundle_sh.properties +9 -2
  346. package/src/sap/m/messagebundle_sk.properties +8 -1
  347. package/src/sap/m/messagebundle_sl.properties +9 -2
  348. package/src/sap/m/messagebundle_sv.properties +8 -1
  349. package/src/sap/m/messagebundle_th.properties +22 -15
  350. package/src/sap/m/messagebundle_tr.properties +12 -5
  351. package/src/sap/m/messagebundle_uk.properties +9 -2
  352. package/src/sap/m/messagebundle_vi.properties +9 -2
  353. package/src/sap/m/messagebundle_zh_CN.properties +9 -2
  354. package/src/sap/m/messagebundle_zh_TW.properties +8 -1
  355. package/src/sap/m/p13n/AbstractContainer.js +4 -4
  356. package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
  357. package/src/sap/m/p13n/BasePanel.js +5 -5
  358. package/src/sap/m/p13n/Container.js +3 -3
  359. package/src/sap/m/p13n/Engine.js +48 -47
  360. package/src/sap/m/p13n/FlexUtil.js +4 -5
  361. package/src/sap/m/p13n/GroupController.js +3 -3
  362. package/src/sap/m/p13n/GroupPanel.js +3 -3
  363. package/src/sap/m/p13n/MetadataHelper.js +2 -2
  364. package/src/sap/m/p13n/PersistenceProvider.js +28 -3
  365. package/src/sap/m/p13n/Popup.js +4 -4
  366. package/src/sap/m/p13n/QueryPanel.js +3 -3
  367. package/src/sap/m/p13n/SelectionController.js +21 -36
  368. package/src/sap/m/p13n/SelectionPanel.js +3 -3
  369. package/src/sap/m/p13n/SortController.js +3 -3
  370. package/src/sap/m/p13n/SortPanel.js +3 -3
  371. package/src/sap/m/p13n/handler/xConfigHandler.js +2 -2
  372. package/src/sap/m/p13n/modification/FlexModificationHandler.js +3 -3
  373. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +3 -3
  374. package/src/sap/m/p13n/modification/ModificationHandler.js +20 -10
  375. package/src/sap/m/p13n/modules/AdaptationProvider.js +3 -3
  376. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +45 -22
  377. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +4 -4
  378. package/src/sap/m/p13n/modules/UIManager.js +3 -3
  379. package/src/sap/m/p13n/modules/xConfigAPI.js +5 -3
  380. package/src/sap/m/plugins/CellSelector.js +741 -0
  381. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  382. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  383. package/src/sap/m/plugins/PasteProvider.js +1 -1
  384. package/src/sap/m/plugins/PluginBase.js +4 -3
  385. package/src/sap/m/semantic/AddAction.js +1 -1
  386. package/src/sap/m/semantic/CancelAction.js +1 -1
  387. package/src/sap/m/semantic/DeleteAction.js +1 -1
  388. package/src/sap/m/semantic/DetailPage.js +1 -1
  389. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  390. package/src/sap/m/semantic/EditAction.js +1 -1
  391. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  392. package/src/sap/m/semantic/FilterAction.js +1 -1
  393. package/src/sap/m/semantic/FilterSelect.js +1 -1
  394. package/src/sap/m/semantic/FlagAction.js +1 -1
  395. package/src/sap/m/semantic/ForwardAction.js +1 -1
  396. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  397. package/src/sap/m/semantic/GroupAction.js +1 -1
  398. package/src/sap/m/semantic/GroupSelect.js +1 -1
  399. package/src/sap/m/semantic/MainAction.js +1 -1
  400. package/src/sap/m/semantic/MasterPage.js +1 -1
  401. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  402. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  403. package/src/sap/m/semantic/NegativeAction.js +1 -1
  404. package/src/sap/m/semantic/OpenInAction.js +1 -1
  405. package/src/sap/m/semantic/PositiveAction.js +1 -1
  406. package/src/sap/m/semantic/PrintAction.js +1 -1
  407. package/src/sap/m/semantic/SaveAction.js +1 -1
  408. package/src/sap/m/semantic/Segment.js +1 -1
  409. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  410. package/src/sap/m/semantic/SemanticButton.js +1 -1
  411. package/src/sap/m/semantic/SemanticConfiguration.js +3 -4
  412. package/src/sap/m/semantic/SemanticControl.js +1 -1
  413. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  414. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  415. package/src/sap/m/semantic/SemanticPage.js +1 -1
  416. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  417. package/src/sap/m/semantic/SemanticToggleButton.js +1 -3
  418. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  419. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  420. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  421. package/src/sap/m/semantic/ShareMenu.js +1 -1
  422. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  423. package/src/sap/m/semantic/SortAction.js +1 -1
  424. package/src/sap/m/semantic/SortSelect.js +1 -1
  425. package/src/sap/m/table/Util.js +7 -5
  426. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  427. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  428. package/src/sap/m/table/columnmenu/Item.js +1 -1
  429. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  430. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  431. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  432. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  433. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  434. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -3
  435. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  436. package/src/sap/m/table/columnmenu/QuickSort.js +1 -3
  437. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -3
  438. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -3
  439. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  440. package/src/sap/m/themes/base/Button.less +0 -1
  441. package/src/sap/m/themes/base/CellSelector.less +9 -0
  442. package/src/sap/m/themes/base/DynamicDateRange.less +4 -0
  443. package/src/sap/m/themes/base/GenericTile.less +10 -0
  444. package/src/sap/m/themes/base/NewsContent.less +6 -0
  445. package/src/sap/m/themes/base/SlideTile.less +15 -0
  446. package/src/sap/m/themes/base/Table.less +0 -1
  447. package/src/sap/m/themes/base/library.source.less +1 -0
  448. package/src/sap/m/upload/UploadSet.js +13 -7
  449. package/src/sap/m/upload/UploadSetItem.js +7 -8
  450. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  451. package/src/sap/m/upload/Uploader.js +1 -2
package/.reuse/dep5 CHANGED
@@ -159,7 +159,7 @@ Copyright:
159
159
  License: Apache-2.0 and MIT
160
160
  Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
161
161
 
162
- Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
162
+ Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
163
163
  Copyright: jQuery Foundation and other contributors
164
164
  License: MIT
165
165
  Comment: these files belong to: QUnit Composite
package/THIRDPARTY.txt CHANGED
@@ -104,7 +104,7 @@ Component: QUnit Composite, version: 1.0.2-pre
104
104
  Copyright: jQuery Foundation and other contributors
105
105
  License: MIT
106
106
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
107
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
107
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
108
108
 
109
109
  Component: JUnit Reporter for QUnit, version: 1.1.1
110
110
  Copyright: jQuery Foundation and other contributors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.m",
3
- "version": "1.104.0",
3
+ "version": "1.105.0",
4
4
  "description": "OpenUI5 UI Library sap.m",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.104.0",
18
- "@openui5/sap.ui.layout": "1.104.0",
19
- "@openui5/sap.ui.unified": "1.104.0"
17
+ "@openui5/sap.ui.core": "1.105.0",
18
+ "@openui5/sap.ui.layout": "1.105.0",
19
+ "@openui5/sap.ui.unified": "1.105.0"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.104.0</version>
9
+ <version>1.105.0</version>
10
10
 
11
11
  <documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
12
12
 
@@ -21,7 +21,7 @@ sap.ui.define(['./Button','./AccButtonRenderer'],
21
21
  * @extends sap.m.Button
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.104.0
24
+ * @version 1.105.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -31,7 +31,7 @@ sap.ui.define(['./ListItemBase', './library', './ActionListItemRenderer'],
31
31
  * @extends sap.m.ListItemBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.104.0
34
+ * @version 1.105.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['./Select', 'sap/ui/core/InvisibleText', 'sap/ui/Device', 'sap/ui
20
20
  * @extends sap.m.Select
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.104.0
23
+ * @version 1.105.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @extends sap.ui.core.Control
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.104.0
73
+ * @version 1.105.0
74
74
  *
75
75
  * @constructor
76
76
  * @public
package/src/sap/m/App.js CHANGED
@@ -9,12 +9,11 @@ sap.ui.define([
9
9
  './NavContainer',
10
10
  './library',
11
11
  './AppRenderer',
12
- 'sap/ui/base/DataType',
13
12
  "sap/ui/util/Mobile",
14
13
  "sap/base/Log",
15
14
  "sap/ui/thirdparty/jquery"
16
15
  ],
17
- function(NavContainer, library, AppRenderer, DataType, Mobile, Log, jQuery) {
16
+ function(NavContainer, library, AppRenderer, Mobile, Log, jQuery) {
18
17
 
19
18
  "use strict";
20
19
 
@@ -50,7 +49,7 @@ sap.ui.define([
50
49
  * @extends sap.m.NavContainer
51
50
  *
52
51
  * @author SAP SE
53
- * @version 1.104.0
52
+ * @version 1.105.0
54
53
  *
55
54
  * @constructor
56
55
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer',
20
20
  * @extends sap.m.OverflowToolbar
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.104.0
23
+ * @version 1.105.0
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * @extends sap.ui.core.Control
81
81
  *
82
82
  * @author SAP SE
83
- * @version 1.104.0
83
+ * @version 1.105.0
84
84
  *
85
85
  * @constructor
86
86
  * @public
@@ -288,7 +288,7 @@ sap.ui.define([
288
288
  /**
289
289
  * Sets the <code>detailBox</code> aggregation.
290
290
  * @param {sap.m.LightBox|undefined} oLightBox - Instance of the <code>LightBox</code> control or undefined
291
- * @returns {object} <code>this</code> for chaining
291
+ * @returns {this} <code>this</code> for chaining
292
292
  * @override
293
293
  * @public
294
294
  */
@@ -7,11 +7,10 @@
7
7
  // Provides helper sap.m.BadgeEnabler
8
8
  sap.ui.define([
9
9
  'sap/m/BadgeCustomData',
10
- 'sap/base/Log',
11
10
  'sap/m/library',
12
11
  'sap/ui/thirdparty/jquery'
13
12
  ],
14
- function(BadgeCustomData, Log, library, jQuery) {
13
+ function(BadgeCustomData, library, jQuery) {
15
14
  "use strict";
16
15
 
17
16
  var IBADGE_CSS_CLASS = "sapMBadge";
package/src/sap/m/Bar.js CHANGED
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @implements sap.m.IBar
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.104.0
59
+ * @version 1.105.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @implements sap.m.IBreadcrumbs, sap.m.IOverflowToolbarContent, sap.ui.core.IShrinkable
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.104.0
67
+ * @version 1.105.0
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -62,7 +62,7 @@ sap.ui.define(['./library',
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.104.0
65
+ * @version 1.105.0
66
66
  *
67
67
  * @public
68
68
  * @alias sap.m.BusyDialog
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.104.0
49
+ * @version 1.105.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -7,9 +7,11 @@
7
7
  // Provides control sap.m.Button.
8
8
  sap.ui.define([
9
9
  "./library",
10
+ "sap/ui/core/Core",
10
11
  "sap/ui/core/Control",
11
12
  "sap/ui/core/ShortcutHintsMixin",
12
13
  "sap/ui/core/EnabledPropagator",
14
+ "sap/ui/core/AccessKeysEnablement",
13
15
  "sap/ui/core/IconPool",
14
16
  "sap/ui/Device",
15
17
  "sap/ui/core/ContextMenuSupport",
@@ -22,9 +24,11 @@ sap.ui.define([
22
24
  "sap/base/Log"
23
25
  ], function(
24
26
  library,
27
+ Core,
25
28
  Control,
26
29
  ShortcutHintsMixin,
27
30
  EnabledPropagator,
31
+ AccessKeysEnablement,
28
32
  IconPool,
29
33
  Device,
30
34
  ContextMenuSupport,
@@ -85,11 +89,11 @@ sap.ui.define([
85
89
  * inactive and cannot be pressed.
86
90
  *
87
91
  * @extends sap.ui.core.Control
88
- * @implements sap.ui.core.IFormContent
92
+ * @implements sap.ui.core.IFormContent, sap.ui.core.IAccessKeySupport
89
93
  * @mixes sap.ui.core.ContextMenuSupport
90
94
  *
91
95
  * @author SAP SE
92
- * @version 1.104.0
96
+ * @version 1.105.0
93
97
  *
94
98
  * @constructor
95
99
  * @public
@@ -99,7 +103,10 @@ sap.ui.define([
99
103
  */
100
104
  var Button = Control.extend("sap.m.Button", /** @lends sap.m.Button.prototype */ { metadata : {
101
105
 
102
- interfaces : ["sap.ui.core.IFormContent"],
106
+ interfaces : [
107
+ "sap.ui.core.IFormContent",
108
+ "sap.ui.core.IAccessKeySupport"
109
+ ],
103
110
  library : "sap.m",
104
111
  properties : {
105
112
 
@@ -166,7 +173,23 @@ sap.ui.define([
166
173
  *
167
174
  * @since 1.84.0
168
175
  */
169
- ariaHasPopup : {type : "sap.ui.core.aria.HasPopup", group : "Accessibility", defaultValue : AriaHasPopup.None}
176
+ ariaHasPopup : {type : "sap.ui.core.aria.HasPopup", group : "Accessibility", defaultValue : AriaHasPopup.None},
177
+
178
+ /**
179
+ * Indicates whether the access keys ref of the control should be highlighted.
180
+ * NOTE: this property is used only when access keys feature is turned on.
181
+ *
182
+ * @private
183
+ */
184
+ highlightAccKeysRef: { type: "boolean", defaultValue: false, visibility: "hidden" },
185
+
186
+ /**
187
+ * Indicates which keyboard key should be pressed to focus the access key ref
188
+ * NOTE: this property is used only when access keys feature is turned on.
189
+ *
190
+ * @private
191
+ */
192
+ accesskey: { type: "string", defaultValue: "", visibility: "hidden" }
170
193
 
171
194
  },
172
195
  associations : {
@@ -232,6 +255,8 @@ sap.ui.define([
232
255
 
233
256
  this._badgeMinValue = BADGE_MIN_VALUE;
234
257
  this._badgeMaxValue = BADGE_MAX_VALUE;
258
+
259
+ AccessKeysEnablement.registerControl(this);
235
260
  };
236
261
 
237
262
  //Formatter callback of the badge pre-set value, before it is visualized
@@ -324,7 +349,7 @@ sap.ui.define([
324
349
  * @private
325
350
  */
326
351
  Button.prototype._updateBadgeInvisibleText = function(vValue) {
327
- var oRb = sap.ui.getCore().getLibraryResourceBundle("sap.m"),
352
+ var oRb = Core.getLibraryResourceBundle("sap.m"),
328
353
  sInvisibleTextValue,
329
354
  iPlusPos;
330
355
 
@@ -417,9 +442,18 @@ sap.ui.define([
417
442
  Button.prototype.onBeforeRendering = function() {
418
443
  this._bRenderActive = this._bActive;
419
444
 
445
+ this._updateAccessKey();
420
446
  this.$().off("mouseenter", this._onmouseenter);
421
447
  };
422
448
 
449
+ Button.prototype._updateAccessKey = function () {
450
+ var sText = this.getText();
451
+
452
+ if (sText) {
453
+ this.setProperty("accesskey", sText[0].toLowerCase(), true);
454
+ }
455
+ };
456
+
423
457
  /*
424
458
  * Restore active state if the button was depressed before re-rendering.
425
459
  */
@@ -892,7 +926,7 @@ sap.ui.define([
892
926
 
893
927
  return {
894
928
  role: "button",
895
- type: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_BUTTON"),
929
+ type: Core.getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_BUTTON"),
896
930
  description: sDesc,
897
931
  focusable: this.getEnabled(),
898
932
  enabled: this.getEnabled()
@@ -922,7 +956,7 @@ sap.ui.define([
922
956
  bAllowEnhancingByParent = !!(oParent && oParent.enhanceAccessibilityState);
923
957
 
924
958
  return !bAlreadyHasSelfReference && this._getText() &&
925
- (aAriaLabelledBy.length > 0 || bHasReferencingLabels || bAllowEnhancingByParent);
959
+ (aAriaLabelledBy.length > 0 || bHasReferencingLabels || bAllowEnhancingByParent || this._isBadgeButton());
926
960
  };
927
961
 
928
962
  /*
@@ -936,8 +970,8 @@ sap.ui.define([
936
970
  bHasAriaDescribedBy = this.getAriaDescribedBy().length > 0,
937
971
  bHasReferencingLabels = LabelEnablement.getReferencingLabels(this).length > 0,
938
972
  bHasSemanticType = this.getType() !== ButtonType.Default,
939
- bHasLabelling = bHasAriaLabelledBy || bHasReferencingLabels,
940
- bHasDescription = bHasAriaDescribedBy || bHasSemanticType || (this._oBadgeData && this._oBadgeData.value !== "" && this._oBadgeData.State !== BadgeState.Disappear),
973
+ bHasLabelling = bHasAriaLabelledBy || bHasReferencingLabels || this._determineSelfReferencePresence(),
974
+ bHasDescription = bHasAriaDescribedBy || bHasSemanticType || this._isBadgeButton(),
941
975
  sAccType;
942
976
 
943
977
  // Conditions are separated instead of grouped to improve readability afterwards.
@@ -954,6 +988,10 @@ sap.ui.define([
954
988
  return sAccType;
955
989
  };
956
990
 
991
+ Button.prototype._isBadgeButton = function() {
992
+ return (this._oBadgeData && this._oBadgeData.value !== "" && this._oBadgeData.State !== BadgeState.Disappear);
993
+ };
994
+
957
995
  //gets the title attribute for the given dom node id
958
996
  Button.prototype._getTitleAttribute = function(sDOMID) {
959
997
  return this.getTooltip();
@@ -9,10 +9,11 @@ sap.ui.define([
9
9
  'sap/ui/core/IconPool',
10
10
  'sap/ui/core/ShortcutHintsMixin',
11
11
  'sap/m/library',
12
- 'sap/ui/core/InvisibleText'
12
+ 'sap/ui/core/InvisibleText',
13
+ 'sap/ui/core/AccessKeysEnablement'
13
14
  ],
14
15
 
15
- function(coreLibrary, IconPool, ShortcutHintsMixin, library, InvisibleText) {
16
+ function(coreLibrary, IconPool, ShortcutHintsMixin, library, InvisibleText, AccessKeysEnablement) {
16
17
  "use strict";
17
18
 
18
19
  // shortcut for sap.m.ButtonType
@@ -67,6 +68,8 @@ sap.ui.define([
67
68
  oRm.openStart("button", oButton);
68
69
  oRm.class("sapMBtnBase");
69
70
 
71
+ oRm.attr("data-ui5-accesskey", oButton.getProperty("accesskey"));
72
+
70
73
  // button container style class
71
74
  if (!oButton._isUnstyled()) {
72
75
  oRm.class("sapMBtn");
@@ -198,6 +201,11 @@ sap.ui.define([
198
201
  if (sTextDir !== TextDirection.Inherit) {
199
202
  oRm.attr("dir", sTextDir.toLowerCase());
200
203
  }
204
+
205
+ if (oButton.getProperty("highlightAccKeysRef")) {
206
+ oRm.class(AccessKeysEnablement.CSS_CLASS);
207
+ }
208
+
201
209
  oRm.openEnd();
202
210
 
203
211
  if (bRenderBDI) {
@@ -16,13 +16,13 @@ sap.ui.define([
16
16
  "sap/m/IllustratedMessage",
17
17
  "sap/m/IllustratedMessageType",
18
18
  "./CarouselRenderer",
19
- "./CarouselLayout",
20
19
  "sap/ui/events/KeyCodes",
21
20
  "sap/base/Log",
22
21
  "sap/ui/events/F6Navigation",
23
22
  "sap/ui/thirdparty/jquery",
24
23
  "sap/ui/thirdparty/mobify-carousel",
25
- "sap/ui/core/IconPool"
24
+ "sap/ui/core/IconPool",
25
+ "./CarouselLayout"
26
26
  ], function (
27
27
  library,
28
28
  Core,
@@ -33,7 +33,6 @@ sap.ui.define([
33
33
  IllustratedMessage,
34
34
  IllustratedMessageType,
35
35
  CarouselRenderer,
36
- CarouselLayout,
37
36
  KeyCodes,
38
37
  Log,
39
38
  F6Navigation,
@@ -101,7 +100,7 @@ sap.ui.define([
101
100
  * @extends sap.ui.core.Control
102
101
  *
103
102
  * @author SAP SE
104
- * @version 1.104.0
103
+ * @version 1.105.0
105
104
  *
106
105
  * @constructor
107
106
  * @public
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function (ManagedObject) {
15
15
  * Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.104.0
18
+ * @version 1.105.0
19
19
  *
20
20
  * @extends sap.ui.base.ManagedObject
21
21
  *
@@ -8,9 +8,9 @@
8
8
  sap.ui.define([
9
9
  './Label',
10
10
  './library',
11
- 'sap/ui/Device',
12
11
  'sap/ui/core/Control',
13
12
  'sap/ui/core/EnabledPropagator',
13
+ 'sap/ui/core/AccessKeysEnablement',
14
14
  'sap/ui/core/library',
15
15
  './CheckBoxRenderer',
16
16
  'sap/ui/events/KeyCodes',
@@ -20,9 +20,9 @@ sap.ui.define([
20
20
  function(
21
21
  Label,
22
22
  library,
23
- Device,
24
23
  Control,
25
24
  EnabledPropagator,
25
+ AccessKeysEnablement,
26
26
  coreLibrary,
27
27
  CheckBoxRenderer,
28
28
  KeyCodes,
@@ -83,10 +83,10 @@ sap.ui.define([
83
83
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/checkbox/ Check Box}
84
84
  *
85
85
  * @extends sap.ui.core.Control
86
- * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
86
+ * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.ui.core.IAccessKeySupport
87
87
  *
88
88
  * @author SAP SE
89
- * @version 1.104.0
89
+ * @version 1.105.0
90
90
  *
91
91
  * @constructor
92
92
  * @public
@@ -95,7 +95,11 @@ sap.ui.define([
95
95
  */
96
96
  var CheckBox = Control.extend("sap.m.CheckBox", /** @lends sap.m.CheckBox.prototype */ { metadata : {
97
97
 
98
- interfaces : ["sap.ui.core.IFormContent", "sap.ui.core.ISemanticFormContent"],
98
+ interfaces : [
99
+ "sap.ui.core.IFormContent",
100
+ "sap.ui.core.ISemanticFormContent",
101
+ "sap.ui.core.IAccessKeySupport"
102
+ ],
99
103
  library : "sap.m",
100
104
  properties : {
101
105
 
@@ -210,7 +214,23 @@ sap.ui.define([
210
214
  *
211
215
  * @since 1.54
212
216
  */
213
- wrapping: {type : "boolean", group : "Appearance", defaultValue : false}
217
+ wrapping: {type : "boolean", group : "Appearance", defaultValue : false},
218
+
219
+ /**
220
+ * Indicates whether the access keys ref of the control should be highlighted.
221
+ * NOTE: this property is used only when access keys feature is turned on.
222
+ *
223
+ * @private
224
+ */
225
+ highlightAccKeysRef: { type: "boolean", defaultValue: false, visibility: "hidden" },
226
+
227
+ /**
228
+ * Indicates which keyboard key should be pressed to focus the access key ref
229
+ * NOTE: this property is used only when access keys feature is turned on.
230
+ *
231
+ * @private
232
+ */
233
+ accesskey: { type: "string", defaultValue: "", visibility: "hidden" }
214
234
  },
215
235
  aggregations: {
216
236
  /**
@@ -260,6 +280,22 @@ sap.ui.define([
260
280
  */
261
281
  CheckBox.prototype.init = function() {
262
282
  this._handleReferencingLabels();
283
+
284
+ AccessKeysEnablement.registerControl(this);
285
+ };
286
+
287
+ CheckBox.prototype.onAccKeysHighlightStart = function () {
288
+ this._getLabel().setProperty("highlightAccKeysRef", true);
289
+ };
290
+
291
+ CheckBox.prototype.onAccKeysHighlightEnd = function () {
292
+ this._getLabel().setProperty("highlightAccKeysRef", false);
293
+ };
294
+
295
+ CheckBox.prototype.onBeforeRendering = function () {
296
+ if (this.getText()) {
297
+ this.setProperty("accesskey", this.getText()[0].toLowerCase(), true);
298
+ }
263
299
  };
264
300
 
265
301
  CheckBox.prototype.exit = function() {
@@ -439,6 +475,10 @@ sap.ui.define([
439
475
  if (!this._oLabel) {
440
476
  this._oLabel = new Label(this.getId() + "-label").addStyleClass("sapMCbLabel");
441
477
 
478
+ this._oLabel.getAccessKeysFocusTarget = function () {
479
+ return this.getFocusDomRef();
480
+ }.bind(this);
481
+
442
482
  this.setAggregation("_label", this._oLabel, true);
443
483
  }
444
484
 
@@ -48,6 +48,7 @@ sap.ui.define(['sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/D
48
48
  // CheckBox wrapper
49
49
  oRm.openStart("div", oCheckBox);
50
50
  oRm.class("sapMCb");
51
+ oRm.attr("data-ui5-accesskey", oCheckBox.getProperty("accesskey"));
51
52
 
52
53
  if (!bEditable) {
53
54
  oRm.class("sapMCbRo");
@@ -104,7 +104,7 @@ sap.ui.define([
104
104
  * To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
105
105
  *
106
106
  * @extends sap.ui.core.Control
107
- * @version 1.104.0
107
+ * @version 1.105.0
108
108
  *
109
109
  * @constructor
110
110
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * A thin wrapper over {@link sap.m.ColorPalette} allowing the latter to be used in a popover.
39
39
  *
40
40
  * @extends sap.ui.core.Control
41
- * @version 1.104.0
41
+ * @version 1.105.0
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.Element
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.104.0
49
+ * @version 1.105.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -8,15 +8,13 @@ sap.ui.define([
8
8
  'sap/m/Toolbar',
9
9
  'sap/m/Button',
10
10
  'sap/m/ResponsivePopover',
11
- 'sap/m/ToolbarSpacer',
12
- 'sap/ui/dom/containsOrEquals'
11
+ 'sap/m/ToolbarSpacer'
13
12
  ], function(
14
13
  Control,
15
14
  Toolbar,
16
15
  Button,
17
16
  ResponsivePopover,
18
- ToolbarSpacer,
19
- containsOrEquals
17
+ ToolbarSpacer
20
18
  ) {
21
19
  "use strict";
22
20
 
@@ -30,7 +28,7 @@ sap.ui.define([
30
28
  * @extends sap.ui.core.Control
31
29
  *
32
30
  * @author SAP SE
33
- * @version 1.104.0
31
+ * @version 1.105.0
34
32
  *
35
33
  * @constructor
36
34
  * @since 1.63
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.m.ListItemBase
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.104.0
45
+ * @version 1.105.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -115,9 +115,6 @@ sap.ui.define([
115
115
  // defines tag name
116
116
  ColumnListItem.prototype.TagName = "tr";
117
117
 
118
- // enable the ACC announcement for "not selected"
119
- ColumnListItem.prototype._bAnnounceNotSelected = true;
120
-
121
118
  ColumnListItem.prototype.init = function() {
122
119
  ListItemBase.prototype.init.call(this);
123
120
  this._bNeedsTypeColumn = false;
@@ -8,12 +8,11 @@ sap.ui.define([
8
8
  "sap/ui/core/Renderer",
9
9
  "sap/ui/core/library",
10
10
  "sap/ui/core/Core",
11
- "sap/ui/Device",
12
11
  "sap/base/Log",
13
12
  "./library",
14
13
  "./ListItemBaseRenderer"
15
14
  ],
16
- function(Renderer, coreLibrary, Core, Device, Log, library, ListItemBaseRenderer) {
15
+ function(Renderer, coreLibrary, Core, Log, library, ListItemBaseRenderer) {
17
16
  "use strict";
18
17
 
19
18
  // shortcut for sap.m.PopinDisplay
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -16,7 +16,7 @@ sap.ui.define(['./ColumnPopoverItem', 'sap/m/Button'], function(ColumnPopoverIte
16
16
  * @extends sap.m.ColumnPopoverItem
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.104.0
19
+ * @version 1.105.0
20
20
  *
21
21
  * @constructor
22
22
  * @since 1.63
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -17,7 +17,7 @@ sap.ui.define(['./ColumnPopoverItem', 'sap/m/ToggleButton'], function(ColumnPopo
17
17
  * @extends sap.m.ColumnPopoverItem
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.104.0
20
+ * @version 1.105.0
21
21
  *
22
22
  * @constructor
23
23
  * @since 1.63