@openui5/sap.m 1.141.1 → 1.142.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 (439) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +38 -0
  3. package/THIRDPARTY.txt +34 -1
  4. package/package.json +4 -4
  5. package/src/sap/m/.library +1 -1
  6. package/src/sap/m/AccButton.js +1 -1
  7. package/src/sap/m/ActionListItem.js +1 -1
  8. package/src/sap/m/ActionSelect.js +1 -1
  9. package/src/sap/m/ActionSheet.js +1 -1
  10. package/src/sap/m/ActionTile.js +1 -1
  11. package/src/sap/m/ActionTileContent.js +1 -1
  12. package/src/sap/m/AdditionalTextButton.js +1 -1
  13. package/src/sap/m/App.js +1 -1
  14. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  15. package/src/sap/m/Avatar.js +136 -43
  16. package/src/sap/m/AvatarRenderer.js +1 -1
  17. package/src/sap/m/Bar.js +6 -45
  18. package/src/sap/m/Breadcrumbs.js +1 -2
  19. package/src/sap/m/BusyDialog.js +1 -1
  20. package/src/sap/m/BusyIndicator.js +1 -1
  21. package/src/sap/m/Button.js +1 -1
  22. package/src/sap/m/ButtonRenderer.js +0 -1
  23. package/src/sap/m/Carousel.js +8 -9
  24. package/src/sap/m/CarouselLayout.js +1 -1
  25. package/src/sap/m/CarouselRenderer.js +40 -22
  26. package/src/sap/m/CheckBox.js +1 -1
  27. package/src/sap/m/ColorPalette.js +1 -1
  28. package/src/sap/m/ColorPalettePopover.js +1 -1
  29. package/src/sap/m/Column.js +1 -1
  30. package/src/sap/m/ColumnListItem.js +10 -4
  31. package/src/sap/m/ColumnListItemRenderer.js +4 -4
  32. package/src/sap/m/ComboBox.js +1 -1
  33. package/src/sap/m/ComboBoxBase.js +1 -1
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/ContentConfig.js +1 -1
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +1 -1
  40. package/src/sap/m/DateRangeSelection.js +2 -2
  41. package/src/sap/m/DateTimeField.js +1 -1
  42. package/src/sap/m/DateTimeInput.js +1 -1
  43. package/src/sap/m/DateTimePicker.js +1 -1
  44. package/src/sap/m/Dialog.js +42 -27
  45. package/src/sap/m/DialogRenderer.js +2 -0
  46. package/src/sap/m/DisplayListItem.js +1 -1
  47. package/src/sap/m/DraftIndicator.js +1 -1
  48. package/src/sap/m/DynamicDate.js +1 -1
  49. package/src/sap/m/DynamicDateOption.js +1 -1
  50. package/src/sap/m/DynamicDateRange.js +1 -1
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  52. package/src/sap/m/ExpandableText.js +1 -1
  53. package/src/sap/m/FacetFilter.js +1 -1
  54. package/src/sap/m/FacetFilterItem.js +1 -1
  55. package/src/sap/m/FacetFilterList.js +1 -1
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +1 -1
  58. package/src/sap/m/FeedListItem.js +1 -1
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/FeedListItemRenderer.js +14 -13
  61. package/src/sap/m/Fiori20Adapter.js +2 -2
  62. package/src/sap/m/FlexBox.js +1 -1
  63. package/src/sap/m/FlexItemData.js +1 -1
  64. package/src/sap/m/FormattedText.js +1 -1
  65. package/src/sap/m/GenericTag.js +1 -1
  66. package/src/sap/m/GenericTile.js +1 -1
  67. package/src/sap/m/GroupHeaderListItem.js +1 -1
  68. package/src/sap/m/GrowingList.js +1 -1
  69. package/src/sap/m/HBox.js +1 -1
  70. package/src/sap/m/HeaderContainer.js +1 -1
  71. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  72. package/src/sap/m/IconTabBar.js +1 -1
  73. package/src/sap/m/IconTabBarSelectList.js +1 -1
  74. package/src/sap/m/IconTabFilter.js +1 -1
  75. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  76. package/src/sap/m/IconTabHeader.js +3 -1
  77. package/src/sap/m/IconTabSeparator.js +1 -1
  78. package/src/sap/m/IllustratedMessage.js +1 -1
  79. package/src/sap/m/Illustration.js +1 -1
  80. package/src/sap/m/Image.js +1 -1
  81. package/src/sap/m/ImageContent.js +1 -1
  82. package/src/sap/m/Input.js +1 -1
  83. package/src/sap/m/InputBase.js +2 -2
  84. package/src/sap/m/InputListItem.js +1 -1
  85. package/src/sap/m/Label.js +1 -1
  86. package/src/sap/m/LightBox.js +1 -1
  87. package/src/sap/m/LightBoxItem.js +1 -1
  88. package/src/sap/m/Link.js +1 -1
  89. package/src/sap/m/LinkTileContent.js +1 -1
  90. package/src/sap/m/List.js +1 -1
  91. package/src/sap/m/ListBase.js +19 -14
  92. package/src/sap/m/ListItemAction.js +1 -1
  93. package/src/sap/m/ListItemActionBase.js +1 -1
  94. package/src/sap/m/ListItemBase.js +18 -1
  95. package/src/sap/m/MaskEnabler.js +1 -1
  96. package/src/sap/m/MaskInput.js +1 -1
  97. package/src/sap/m/MaskInputRule.js +1 -1
  98. package/src/sap/m/Menu.js +1 -1
  99. package/src/sap/m/MenuButton.js +1 -1
  100. package/src/sap/m/MenuItem.js +1 -1
  101. package/src/sap/m/MenuItemGroup.js +1 -1
  102. package/src/sap/m/MenuListItem.js +1 -1
  103. package/src/sap/m/MenuWrapper.js +1 -1
  104. package/src/sap/m/MessageBox.js +8 -10
  105. package/src/sap/m/MessageItem.js +1 -1
  106. package/src/sap/m/MessageListItem.js +1 -1
  107. package/src/sap/m/MessagePage.js +1 -1
  108. package/src/sap/m/MessagePopover.js +1 -1
  109. package/src/sap/m/MessagePopoverItem.js +1 -1
  110. package/src/sap/m/MessageStrip.js +1 -1
  111. package/src/sap/m/MessageToast.js +1 -1
  112. package/src/sap/m/MessageView.js +1 -1
  113. package/src/sap/m/MultiComboBox.js +1 -1
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +1 -1
  116. package/src/sap/m/NavContainer.js +1 -1
  117. package/src/sap/m/NewsContent.js +1 -1
  118. package/src/sap/m/NotificationList.js +1 -1
  119. package/src/sap/m/NotificationListBase.js +1 -1
  120. package/src/sap/m/NotificationListGroup.js +1 -1
  121. package/src/sap/m/NotificationListItem.js +1 -1
  122. package/src/sap/m/NumericContent.js +1 -1
  123. package/src/sap/m/NumericInput.js +1 -1
  124. package/src/sap/m/ObjectAttribute.js +1 -1
  125. package/src/sap/m/ObjectHeader.js +1 -1
  126. package/src/sap/m/ObjectIdentifier.js +1 -1
  127. package/src/sap/m/ObjectListItem.js +1 -1
  128. package/src/sap/m/ObjectMarker.js +1 -1
  129. package/src/sap/m/ObjectNumber.js +1 -1
  130. package/src/sap/m/ObjectStatus.js +1 -1
  131. package/src/sap/m/OverflowToolbar.js +1 -1
  132. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  133. package/src/sap/m/OverflowToolbarButton.js +1 -1
  134. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  135. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  136. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  137. package/src/sap/m/OverflowToolbarTokenizer.js +1 -1
  138. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  139. package/src/sap/m/P13nColumnsItem.js +1 -1
  140. package/src/sap/m/P13nColumnsPanel.js +1 -1
  141. package/src/sap/m/P13nConditionPanel.js +1 -1
  142. package/src/sap/m/P13nDialog.js +1 -1
  143. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  144. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  145. package/src/sap/m/P13nFilterItem.js +1 -1
  146. package/src/sap/m/P13nFilterPanel.js +1 -1
  147. package/src/sap/m/P13nGroupItem.js +1 -1
  148. package/src/sap/m/P13nGroupPanel.js +1 -1
  149. package/src/sap/m/P13nItem.js +1 -1
  150. package/src/sap/m/P13nPanel.js +1 -1
  151. package/src/sap/m/P13nSelectionItem.js +1 -1
  152. package/src/sap/m/P13nSelectionPanel.js +1 -1
  153. package/src/sap/m/P13nSortItem.js +1 -1
  154. package/src/sap/m/P13nSortPanel.js +1 -1
  155. package/src/sap/m/PDFViewer.js +2 -3
  156. package/src/sap/m/Page.js +1 -1
  157. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  158. package/src/sap/m/PagingButton.js +1 -1
  159. package/src/sap/m/Panel.js +1 -1
  160. package/src/sap/m/PlanningCalendar.js +2 -2
  161. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  162. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  163. package/src/sap/m/PlanningCalendarRow.js +1 -1
  164. package/src/sap/m/PlanningCalendarView.js +1 -1
  165. package/src/sap/m/Popover.js +1 -2
  166. package/src/sap/m/ProgressIndicator.js +1 -1
  167. package/src/sap/m/PullToRefresh.js +1 -1
  168. package/src/sap/m/QuickView.js +1 -1
  169. package/src/sap/m/QuickViewBase.js +1 -1
  170. package/src/sap/m/QuickViewCard.js +1 -1
  171. package/src/sap/m/QuickViewGroup.js +1 -1
  172. package/src/sap/m/QuickViewGroupElement.js +1 -1
  173. package/src/sap/m/QuickViewPage.js +1 -1
  174. package/src/sap/m/RadioButton.js +1 -1
  175. package/src/sap/m/RadioButtonGroup.js +1 -1
  176. package/src/sap/m/RangeSlider.js +1 -1
  177. package/src/sap/m/RatingIndicator.js +1 -1
  178. package/src/sap/m/ResponsivePopover.js +1 -1
  179. package/src/sap/m/ResponsiveScale.js +1 -1
  180. package/src/sap/m/ScrollBar.js +1 -1
  181. package/src/sap/m/ScrollContainer.js +1 -1
  182. package/src/sap/m/SearchField.js +1 -1
  183. package/src/sap/m/SegmentedButton.js +23 -8
  184. package/src/sap/m/SegmentedButtonItem.js +3 -2
  185. package/src/sap/m/SegmentedButtonRenderer.js +22 -9
  186. package/src/sap/m/Select.js +40 -1
  187. package/src/sap/m/SelectDialog.js +1 -1
  188. package/src/sap/m/SelectDialogBase.js +1 -1
  189. package/src/sap/m/SelectList.js +1 -1
  190. package/src/sap/m/SelectionDetails.js +1 -1
  191. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  192. package/src/sap/m/SelectionDetailsItem.js +1 -1
  193. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  194. package/src/sap/m/Shell.js +1 -1
  195. package/src/sap/m/SimpleFixFlex.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendar.js +1 -8
  197. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  204. package/src/sap/m/SlideTile.js +1 -1
  205. package/src/sap/m/Slider.js +1 -1
  206. package/src/sap/m/SliderTooltip.js +1 -1
  207. package/src/sap/m/SliderTooltipBase.js +1 -1
  208. package/src/sap/m/SliderTooltipContainer.js +1 -1
  209. package/src/sap/m/SplitApp.js +1 -1
  210. package/src/sap/m/SplitButton.js +1 -1
  211. package/src/sap/m/SplitContainer.js +1 -1
  212. package/src/sap/m/StandardDynamicDateOption.js +24 -48
  213. package/src/sap/m/StandardListItem.js +1 -1
  214. package/src/sap/m/StandardTile.js +1 -1
  215. package/src/sap/m/StandardTreeItem.js +1 -1
  216. package/src/sap/m/StepInput.js +1 -1
  217. package/src/sap/m/SuggestionItem.js +1 -1
  218. package/src/sap/m/SuggestionsPopover.js +8 -2
  219. package/src/sap/m/Switch.js +1 -1
  220. package/src/sap/m/TabContainer.js +1 -1
  221. package/src/sap/m/TabContainerItem.js +1 -1
  222. package/src/sap/m/TabStrip.js +1 -1
  223. package/src/sap/m/TabStripItem.js +1 -1
  224. package/src/sap/m/Table.js +2 -2
  225. package/src/sap/m/TablePersoController.js +1 -1
  226. package/src/sap/m/TablePersoDialog.js +1 -1
  227. package/src/sap/m/TablePersoProvider.js +1 -1
  228. package/src/sap/m/TableRenderer.js +18 -6
  229. package/src/sap/m/TableSelectDialog.js +1 -1
  230. package/src/sap/m/Text.js +1 -1
  231. package/src/sap/m/TextArea.js +1 -1
  232. package/src/sap/m/Tile.js +1 -1
  233. package/src/sap/m/TileContainer.js +1 -1
  234. package/src/sap/m/TileContent.js +1 -1
  235. package/src/sap/m/TileInfo.js +1 -1
  236. package/src/sap/m/TimePicker.js +30 -1
  237. package/src/sap/m/TimePickerClock.js +1 -1
  238. package/src/sap/m/TimePickerClocks.js +2 -16
  239. package/src/sap/m/TimePickerInputs.js +1 -1
  240. package/src/sap/m/TimePickerInternals.js +1 -1
  241. package/src/sap/m/TimePickerSlider.js +1 -1
  242. package/src/sap/m/TimePickerSliders.js +1 -1
  243. package/src/sap/m/Title.js +1 -1
  244. package/src/sap/m/TitlePropagationSupport.js +1 -1
  245. package/src/sap/m/ToggleButton.js +1 -1
  246. package/src/sap/m/Token.js +1 -1
  247. package/src/sap/m/Tokenizer.js +154 -5
  248. package/src/sap/m/TokenizerRenderer.js +30 -3
  249. package/src/sap/m/Toolbar.js +1 -1
  250. package/src/sap/m/ToolbarLayoutData.js +1 -1
  251. package/src/sap/m/ToolbarSeparator.js +1 -1
  252. package/src/sap/m/ToolbarSpacer.js +1 -1
  253. package/src/sap/m/Tree.js +1 -1
  254. package/src/sap/m/TreeItemBase.js +1 -1
  255. package/src/sap/m/UploadCollection.js +1 -1
  256. package/src/sap/m/UploadCollectionItem.js +1 -1
  257. package/src/sap/m/UploadCollectionParameter.js +1 -1
  258. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  259. package/src/sap/m/VBox.js +1 -1
  260. package/src/sap/m/ValueStateHeader.js +1 -1
  261. package/src/sap/m/VariantManagement.js +83 -6
  262. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  263. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  264. package/src/sap/m/ViewSettingsDialog.js +1 -1
  265. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  266. package/src/sap/m/ViewSettingsItem.js +1 -1
  267. package/src/sap/m/VisibleItem.js +1 -1
  268. package/src/sap/m/WheelSlider.js +1 -1
  269. package/src/sap/m/WheelSliderContainer.js +1 -1
  270. package/src/sap/m/Wizard.js +1 -1
  271. package/src/sap/m/WizardProgressNavigator.js +1 -1
  272. package/src/sap/m/WizardStep.js +1 -1
  273. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  274. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  275. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  276. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  277. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  278. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  279. package/src/sap/m/library.js +26 -4
  280. package/src/sap/m/messagebundle.properties +17 -6
  281. package/src/sap/m/messagebundle_ar.properties +4 -4
  282. package/src/sap/m/messagebundle_bg.properties +6 -6
  283. package/src/sap/m/messagebundle_ca.properties +4 -4
  284. package/src/sap/m/messagebundle_cnr.properties +4 -4
  285. package/src/sap/m/messagebundle_cs.properties +4 -4
  286. package/src/sap/m/messagebundle_cy.properties +4 -4
  287. package/src/sap/m/messagebundle_da.properties +4 -4
  288. package/src/sap/m/messagebundle_de.properties +4 -4
  289. package/src/sap/m/messagebundle_el.properties +4 -4
  290. package/src/sap/m/messagebundle_en.properties +4 -4
  291. package/src/sap/m/messagebundle_en_GB.properties +4 -4
  292. package/src/sap/m/messagebundle_en_US_saprigi.properties +3 -0
  293. package/src/sap/m/messagebundle_es.properties +4 -4
  294. package/src/sap/m/messagebundle_es_MX.properties +4 -4
  295. package/src/sap/m/messagebundle_et.properties +4 -4
  296. package/src/sap/m/messagebundle_fi.properties +4 -4
  297. package/src/sap/m/messagebundle_fr.properties +4 -4
  298. package/src/sap/m/messagebundle_fr_CA.properties +4 -4
  299. package/src/sap/m/messagebundle_hi.properties +4 -4
  300. package/src/sap/m/messagebundle_hr.properties +4 -4
  301. package/src/sap/m/messagebundle_hu.properties +4 -4
  302. package/src/sap/m/messagebundle_id.properties +5 -5
  303. package/src/sap/m/messagebundle_it.properties +4 -4
  304. package/src/sap/m/messagebundle_iw.properties +4 -4
  305. package/src/sap/m/messagebundle_ja.properties +4 -4
  306. package/src/sap/m/messagebundle_kk.properties +4 -4
  307. package/src/sap/m/messagebundle_ko.properties +5 -5
  308. package/src/sap/m/messagebundle_lt.properties +4 -4
  309. package/src/sap/m/messagebundle_lv.properties +4 -4
  310. package/src/sap/m/messagebundle_mk.properties +4 -4
  311. package/src/sap/m/messagebundle_ms.properties +4 -4
  312. package/src/sap/m/messagebundle_nl.properties +4 -4
  313. package/src/sap/m/messagebundle_no.properties +4 -4
  314. package/src/sap/m/messagebundle_pl.properties +4 -4
  315. package/src/sap/m/messagebundle_pt.properties +4 -4
  316. package/src/sap/m/messagebundle_pt_PT.properties +4 -4
  317. package/src/sap/m/messagebundle_ro.properties +4 -4
  318. package/src/sap/m/messagebundle_ru.properties +4 -4
  319. package/src/sap/m/messagebundle_sh.properties +4 -4
  320. package/src/sap/m/messagebundle_sk.properties +4 -4
  321. package/src/sap/m/messagebundle_sl.properties +4 -4
  322. package/src/sap/m/messagebundle_sr.properties +4 -4
  323. package/src/sap/m/messagebundle_sv.properties +4 -4
  324. package/src/sap/m/messagebundle_th.properties +4 -4
  325. package/src/sap/m/messagebundle_tr.properties +4 -4
  326. package/src/sap/m/messagebundle_uk.properties +4 -4
  327. package/src/sap/m/messagebundle_vi.properties +4 -4
  328. package/src/sap/m/messagebundle_zh_CN.properties +4 -4
  329. package/src/sap/m/messagebundle_zh_TW.properties +4 -4
  330. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  331. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  332. package/src/sap/m/p13n/BasePanel.js +31 -12
  333. package/src/sap/m/p13n/Container.js +1 -1
  334. package/src/sap/m/p13n/Engine.js +1 -1
  335. package/src/sap/m/p13n/FilterController.js +1 -1
  336. package/src/sap/m/p13n/FilterPanel.js +1 -1
  337. package/src/sap/m/p13n/GroupController.js +1 -1
  338. package/src/sap/m/p13n/GroupPanel.js +1 -1
  339. package/src/sap/m/p13n/MessageStrip.js +1 -1
  340. package/src/sap/m/p13n/Popup.js +1 -1
  341. package/src/sap/m/p13n/QueryPanel.js +1 -1
  342. package/src/sap/m/p13n/SelectionController.js +3 -2
  343. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  344. package/src/sap/m/p13n/SortController.js +1 -1
  345. package/src/sap/m/p13n/SortPanel.js +1 -1
  346. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  347. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  348. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  349. package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
  350. package/src/sap/m/plugins/CellSelector.js +1 -1
  351. package/src/sap/m/plugins/ColumnAIAction.js +1 -1
  352. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  353. package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
  354. package/src/sap/m/plugins/CopyProvider.js +1 -1
  355. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  356. package/src/sap/m/plugins/PasteProvider.js +1 -1
  357. package/src/sap/m/plugins/PluginBase.js +1 -1
  358. package/src/sap/m/plugins/UploadSetwithTable.js +16 -1
  359. package/src/sap/m/semantic/AddAction.js +1 -1
  360. package/src/sap/m/semantic/CancelAction.js +1 -1
  361. package/src/sap/m/semantic/DeleteAction.js +1 -1
  362. package/src/sap/m/semantic/DetailPage.js +1 -1
  363. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  364. package/src/sap/m/semantic/EditAction.js +1 -1
  365. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  366. package/src/sap/m/semantic/FilterAction.js +1 -1
  367. package/src/sap/m/semantic/FilterSelect.js +1 -1
  368. package/src/sap/m/semantic/FlagAction.js +1 -1
  369. package/src/sap/m/semantic/ForwardAction.js +1 -1
  370. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  371. package/src/sap/m/semantic/GroupAction.js +1 -1
  372. package/src/sap/m/semantic/GroupSelect.js +1 -1
  373. package/src/sap/m/semantic/MainAction.js +1 -1
  374. package/src/sap/m/semantic/MasterPage.js +1 -1
  375. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  376. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  377. package/src/sap/m/semantic/NegativeAction.js +1 -1
  378. package/src/sap/m/semantic/OpenInAction.js +1 -1
  379. package/src/sap/m/semantic/PositiveAction.js +1 -1
  380. package/src/sap/m/semantic/PrintAction.js +1 -1
  381. package/src/sap/m/semantic/SaveAction.js +1 -1
  382. package/src/sap/m/semantic/Segment.js +1 -1
  383. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  384. package/src/sap/m/semantic/SemanticButton.js +1 -1
  385. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  386. package/src/sap/m/semantic/SemanticControl.js +1 -1
  387. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  388. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  389. package/src/sap/m/semantic/SemanticPage.js +1 -1
  390. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  391. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  392. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  393. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  394. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  395. package/src/sap/m/semantic/ShareMenu.js +1 -1
  396. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  397. package/src/sap/m/semantic/SortAction.js +1 -1
  398. package/src/sap/m/semantic/SortSelect.js +1 -1
  399. package/src/sap/m/table/ColumnWidthController.js +1 -1
  400. package/src/sap/m/table/Util.js +1 -1
  401. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  402. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  403. package/src/sap/m/table/columnmenu/Item.js +1 -1
  404. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  405. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  406. package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
  407. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  408. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  409. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  410. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  411. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  412. package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  417. package/src/sap/m/themes/base/Carousel.less +11 -6
  418. package/src/sap/m/themes/base/ColumnListItem.less +5 -1
  419. package/src/sap/m/themes/base/ContextMenuSetting.less +2 -1
  420. package/src/sap/m/themes/base/FeedListItem.less +5 -2
  421. package/src/sap/m/themes/base/Label.less +2 -1
  422. package/src/sap/m/themes/base/Menu.less +5 -1
  423. package/src/sap/m/themes/base/MultiComboBox.less +4 -0
  424. package/src/sap/m/themes/base/MultiInput.less +5 -0
  425. package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +4 -0
  426. package/src/sap/m/themes/base/Popover.less +0 -5
  427. package/src/sap/m/themes/base/SegmentedButton.less +21 -1
  428. package/src/sap/m/themes/base/Table.less +1 -0
  429. package/src/sap/m/themes/base/Text.less +2 -1
  430. package/src/sap/m/themes/base/Tokenizer.less +34 -0
  431. package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
  432. package/src/sap/m/upload/Column.js +1 -1
  433. package/src/sap/m/upload/FilePreviewDialog.js +1 -1
  434. package/src/sap/m/upload/UploadItem.js +1 -1
  435. package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
  436. package/src/sap/m/upload/UploadSet.js +1 -1
  437. package/src/sap/m/upload/UploadSetItem.js +1 -1
  438. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  439. package/src/sap/m/upload/UploaderTableItem.js +1 -1
@@ -60,7 +60,6 @@ sap.ui.define([
60
60
  var sTooltip = oButton._getTooltip();
61
61
  var sText = oButton._getText();
62
62
  var sTextDir = oButton.getTextDirection();
63
- // render bdi tag only if the browser is different from IE and Edge since it is not supported there
64
63
  var bRenderBDI = (sTextDir === TextDirection.Inherit);
65
64
 
66
65
  // get icon from icon pool
@@ -132,7 +132,7 @@ sap.ui.define([
132
132
  * @extends sap.ui.core.Control
133
133
  *
134
134
  * @author SAP SE
135
- * @version 1.141.1
135
+ * @version 1.142.0
136
136
  *
137
137
  * @constructor
138
138
  * @public
@@ -413,7 +413,7 @@ sap.ui.define([
413
413
  };
414
414
 
415
415
  Carousel.prototype._resize = function() {
416
- var $inner = this.$().find('> .sapMCrslInner');
416
+ var $inner = this.$().find('> .sapMCrslList > .sapMCrslInner');
417
417
 
418
418
  if (this._iResizeTimeoutId) {
419
419
  clearTimeout(this._iResizeTimeoutId);
@@ -581,7 +581,7 @@ sap.ui.define([
581
581
  }
582
582
 
583
583
  var $element = this.$(),
584
- $inner = $element.find('> .sapMCrslInner'),
584
+ $inner = $element.find('> .sapMCrslList > .sapMCrslInner'),
585
585
  $items = $inner.children(),
586
586
  iIndex = this._iCurrSlideIndex,
587
587
  iLength = $items.length,
@@ -698,7 +698,6 @@ sap.ui.define([
698
698
  this.$().find(Carousel._ITEM_SELECTOR).each(function (iIndex, oPage) {
699
699
  var bSelected = iIndex === iSelectedPageIndex;
700
700
 
701
- oPage.setAttribute("aria-selected", bSelected);
702
701
  oPage.setAttribute("aria-hidden", !this._isPageDisplayed(iIndex));
703
702
  oPage.setAttribute("tabindex", bSelected ? 0 : -1);
704
703
  }.bind(this));
@@ -1213,7 +1212,7 @@ sap.ui.define([
1213
1212
  * @private
1214
1213
  */
1215
1214
  Carousel.prototype.onsapup = function(oEvent) {
1216
- this._fnSkipToIndex(oEvent, 1, false);
1215
+ this._fnSkipToIndex(oEvent, -1, false);
1217
1216
  };
1218
1217
 
1219
1218
  /**
@@ -1234,7 +1233,7 @@ sap.ui.define([
1234
1233
  * @private
1235
1234
  */
1236
1235
  Carousel.prototype.onsapdown = function(oEvent) {
1237
- this._fnSkipToIndex(oEvent, -1, false);
1236
+ this._fnSkipToIndex(oEvent, 1, false);
1238
1237
  };
1239
1238
 
1240
1239
  /**
@@ -1556,7 +1555,7 @@ sap.ui.define([
1556
1555
  };
1557
1556
 
1558
1557
  Carousel.prototype._initialize = function () {
1559
- var $inner = this.$().find('> .sapMCrslInner'),
1558
+ var $inner = this.$().find('> .sapMCrslList > .sapMCrslInner'),
1560
1559
  iNumberOfItemsToShow = this._getNumberOfItemsToShow();
1561
1560
 
1562
1561
  this._bIsInitialized = false;
@@ -1595,7 +1594,7 @@ sap.ui.define([
1595
1594
  }
1596
1595
 
1597
1596
  var $element = this.$(),
1598
- $inner = $element.find('> .sapMCrslInner'),
1597
+ $inner = $element.find('> .sapMCrslList > .sapMCrslInner'),
1599
1598
  $items = $inner.children(),
1600
1599
  $start = $items.eq(0),
1601
1600
  $current = $items.eq(this._iCurrSlideIndex),
@@ -1620,7 +1619,7 @@ sap.ui.define([
1620
1619
  Carousel.prototype._initActivePages = function () {
1621
1620
  var sActiveClass = "sapMCrslActive",
1622
1621
  $element = this.$(),
1623
- $inner = $element.find('> .sapMCrslInner'),
1622
+ $inner = $element.find('> .sapMCrslList > .sapMCrslInner'),
1624
1623
  $items = $inner.children(),
1625
1624
  sId = this.getDomRef().id,
1626
1625
  sPageIndicatorId = sId.replace(/(:|\.)/g,'\\$1') + '-pageIndicator',
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/base/ManagedObject", "./library"], function (ManagedObjec
17
17
  * Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.141.1
20
+ * @version 1.142.0
21
21
  *
22
22
  * @extends sap.ui.base.ManagedObject
23
23
  *
@@ -6,10 +6,8 @@
6
6
 
7
7
  sap.ui.define([
8
8
  "sap/m/library",
9
- "sap/base/strings/capitalize",
10
- "sap/ui/Device",
11
- "sap/ui/core/Lib"
12
- ], function (library, capitalize, Device, Library) {
9
+ "sap/base/strings/capitalize"
10
+ ], function (library, capitalize) {
13
11
  "use strict";
14
12
 
15
13
  // shortcut for sap.m.CarouselArrowsPlacement
@@ -18,8 +16,6 @@ sap.ui.define([
18
16
  // shortcut for sap.m.CarouselPageIndicatorPlacementType
19
17
  var CarouselPageIndicatorPlacementType = library.CarouselPageIndicatorPlacementType;
20
18
 
21
- var oResourceBundle = Library.getResourceBundleFor("sap.m");
22
-
23
19
  /**
24
20
  * Carousel renderer.
25
21
  * @namespace
@@ -50,21 +46,23 @@ sap.ui.define([
50
46
  //visual indicator
51
47
  if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Top ||
52
48
  sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.OverContentTop) {
53
- this._renderPageIndicatorAndArrows(oRM, oCarousel, {
54
- iPageCount: iPageCount,
55
- iIndex: iIndex,
56
- sArrowsPlacement : sArrowsPlacement,
57
- sPlacement: sPageIndicatorPlacement,
58
- bShowPageIndicator: oCarousel.getShowPageIndicator()
59
- });
60
- }
61
-
49
+ this._renderPageIndicatorAndArrows(oRM, oCarousel, {
50
+ iPageCount: iPageCount,
51
+ iIndex: iIndex,
52
+ sArrowsPlacement : sArrowsPlacement,
53
+ sPlacement: sPageIndicatorPlacement,
54
+ bShowPageIndicator: oCarousel.getShowPageIndicator()
55
+ });
56
+ }
57
+ this._renderListDiv(oRM, oCarousel);
62
58
  this._renderInnerDiv(oRM, oCarousel, aPages, sPageIndicatorPlacement);
63
59
 
64
60
  if (iPageCount > oCarousel._getNumberOfItemsToShow() && sArrowsPlacement === CarouselArrowsPlacement.Content) {
65
61
  this._renderHudArrows(oRM, oCarousel);
66
62
  }
67
63
 
64
+ //close list div
65
+ oRM.close("div");
68
66
  //visual indicator
69
67
  if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.OverContentBottom
70
68
  || sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Bottom) {
@@ -78,6 +76,7 @@ sap.ui.define([
78
76
  }
79
77
 
80
78
  this._renderDummyArea(oRM, oCarousel, "after");
79
+ //close opening div
81
80
  oRM.close("div");
82
81
  //page-wrap ends
83
82
  };
@@ -95,8 +94,8 @@ sap.ui.define([
95
94
  .style("height", oCarousel.getHeight())
96
95
  .attr("data-sap-ui-customfastnavgroup", true) // custom F6 handling
97
96
  .accessibilityState(oCarousel, {
98
- role: "list",
99
- roledescription: Library.getResourceBundleFor("sap.m").getText("CAROUSEL_ARIA_ROLE_DESCRIPTION")
97
+ role: "region",
98
+ roledescription: oCarousel._oRb.getText("CAROUSEL_ARIA_ROLE_DESCRIPTION")
100
99
  });
101
100
 
102
101
  if (sTooltip) {
@@ -106,6 +105,17 @@ sap.ui.define([
106
105
  oRM.openEnd();
107
106
  };
108
107
 
108
+ CarouselRenderer._renderListDiv = function (oRM, oCarousel) {
109
+ oRM.openStart("div")
110
+ .class("sapMCrslList")
111
+ .accessibilityState({
112
+ role: "list",
113
+ label: oCarousel._oRb.getText("CAROUSEL_ARIA_LIST_LABEL")
114
+ });
115
+
116
+ oRM.openEnd();
117
+ };
118
+
109
119
  CarouselRenderer._renderInnerDiv = function (oRM, oCarousel, aPages, sPageIndicatorPlacement) {
110
120
  oRM.openStart("div").class("sapMCrslInner");
111
121
 
@@ -153,7 +163,6 @@ sap.ui.define([
153
163
  role: "listitem",
154
164
  posinset: iIndex + 1,
155
165
  setsize: aArray.length,
156
- selected: bSelected,
157
166
  hidden: !oCarousel._isPageDisplayed(iIndex)
158
167
  })
159
168
  .attr("tabindex", bSelected ? 0 : -1)
@@ -172,6 +181,7 @@ sap.ui.define([
172
181
  .attr("tabindex", 0)
173
182
  .class("sapMCrslNoDataItem")
174
183
  .accessibilityState({
184
+ role: "listitem",
175
185
  label: oAccInfo.type + " " + oAccInfo.description
176
186
  })
177
187
  .openEnd();
@@ -251,8 +261,8 @@ sap.ui.define([
251
261
  oRM.openStart("span")
252
262
  .attr("data-slide", i)
253
263
  .accessibilityState({
254
- role: "img",
255
- label: oResourceBundle.getText("CAROUSEL_POSITION", [i, iPageCount])
264
+ role: "presentation",
265
+ hidden: true
256
266
  }).openEnd()
257
267
  .close("span");
258
268
  }
@@ -261,9 +271,13 @@ sap.ui.define([
261
271
  oRM.class("sapMCrslNumeric")
262
272
  .openEnd();
263
273
 
264
- var sTextBetweenNumbers = oResourceBundle.getText("CAROUSEL_PAGE_INDICATOR_TEXT", [mSettings.iIndex + 1, iPageCount - iNumberOfItemsToShow + 1]);
274
+ var sTextBetweenNumbers = oCarousel._oRb.getText("CAROUSEL_PAGE_INDICATOR_TEXT", [mSettings.iIndex + 1, iPageCount - iNumberOfItemsToShow + 1]);
265
275
  oRM.openStart("span", sId + "-" + "slide-number")
266
276
  .attr("dir", "auto")
277
+ .accessibilityState({
278
+ role: "presentation",
279
+ hidden: true
280
+ })
267
281
  .openEnd()
268
282
  .text(sTextBetweenNumbers)
269
283
  .close("span");
@@ -318,7 +332,11 @@ sap.ui.define([
318
332
  .class("sapMCrslArrow")
319
333
  .class("sapMCrsl" + capitalize(sShort))
320
334
  .attr("data-slide", sShort)
321
- .attr("title", oResourceBundle.getText("PAGINGBUTTON_" + sDirection.toUpperCase()));
335
+ .accessibilityState({
336
+ role: "presentation",
337
+ hidden: true
338
+ })
339
+ .attr("title", oCarousel._oRb.getText("PAGINGBUTTON_" + sDirection.toUpperCase()));
322
340
 
323
341
  // Hide unneeded arrow when we are on the first or last page and "loop" property is set to false
324
342
  if (bFirstPageIsActive && sDirection === "previous" && !bLoop) {
@@ -95,7 +95,7 @@ sap.ui.define([
95
95
  * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
96
96
  *
97
97
  * @author SAP SE
98
- * @version 1.141.1
98
+ * @version 1.142.0
99
99
  *
100
100
  * @constructor
101
101
  * @public
@@ -108,7 +108,7 @@ sap.ui.define([
108
108
  * To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
109
109
  *
110
110
  * @extends sap.ui.core.Control
111
- * @version 1.141.1
111
+ * @version 1.142.0
112
112
  *
113
113
  * @constructor
114
114
  * @public
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * A thin wrapper over {@link sap.m.ColorPalette} allowing the latter to be used in a popover.
40
40
  *
41
41
  * @extends sap.ui.core.Control
42
- * @version 1.141.1
42
+ * @version 1.142.0
43
43
  *
44
44
  * @public
45
45
  * @since 1.54
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends sap.ui.core.Element
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.141.1
48
+ * @version 1.142.0
49
49
  *
50
50
  * @constructor
51
51
  * @public
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @implements sap.m.ITableItem
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.141.1
46
+ * @version 1.142.0
47
47
  *
48
48
  * @constructor
49
49
  * @public
@@ -84,13 +84,18 @@ sap.ui.define([
84
84
  */
85
85
  var TablePopin = Element.extend("sap.m.TablePopin", {
86
86
  ontap: function(oEvent) {
87
- // prevent the tap event if selection is done within the popin control and mark the event
87
+ // prevent the tap event if selection is done within the popin control
88
88
  if (oEvent.isMarked() || ListItemBase.detectTextSelection(this.getDomRef())) {
89
89
  return oEvent.stopImmediatePropagation(true);
90
90
  }
91
- if (oEvent.srcControl === this || !jQuery(oEvent.target).is(":sapFocusable")) {
91
+ },
92
+ ontouchend: function() {
93
+ if (document.activeElement === this.getFocusDomRef()) {
92
94
  this.getParent().focus({ preventScroll: true });
93
95
  }
96
+ },
97
+ getFocusDomRef: function() {
98
+ return this.getParent().getDomRef("subcont");
94
99
  }
95
100
  });
96
101
 
@@ -323,12 +328,13 @@ sap.ui.define([
323
328
 
324
329
  if (oTarget.classList.contains("sapMListTblCell")) {
325
330
  const oColumn = Element.getElementById(oTarget.getAttribute("data-sap-ui-column"));
326
-
327
331
  sInvisibleText = this.getContentAnnouncementOfCell(oColumn);
328
332
  } else if (oTarget.classList.contains("sapMListTblSubCnt")) {
329
333
  sInvisibleText = this.getContentAnnouncementOfPopin();
330
334
  } else if (oTarget.classList.contains("sapMListTblNavCol")) {
331
335
  sInvisibleText = this.getContentAnnouncementOfRowAction();
336
+ } else if (oTarget.classList.contains("sapMListTblActionsCol")) {
337
+ sInvisibleText = this._getCustomActionsAnnouncement(true);
332
338
  }
333
339
 
334
340
  if (sInvisibleText) {
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  ColumnListItemRenderer.renderHighlight = function(rm, oLI) {
76
76
  rm.openStart("td");
77
77
  rm.class("sapMListTblHighlightCell");
78
- rm.attr("role", "presentation");
78
+ rm.attr("role", "none");
79
79
  rm.openEnd();
80
80
 
81
81
  // let the list item base render the highlight
@@ -87,7 +87,7 @@ sap.ui.define([
87
87
  ColumnListItemRenderer.renderNavigated = function(rm, oLI) {
88
88
  rm.openStart("td");
89
89
  rm.class("sapMListTblNavigatedCell");
90
- rm.attr("role", "presentation");
90
+ rm.attr("role", "none");
91
91
  rm.openEnd();
92
92
 
93
93
  // let the list item base render the navigated state
@@ -251,7 +251,7 @@ sap.ui.define([
251
251
  ColumnListItemRenderer.renderDummyCell = function(rm, oTable) {
252
252
  rm.openStart("td");
253
253
  rm.class("sapMListTblDummyCell");
254
- rm.attr("role", "presentation");
254
+ rm.attr("role", "none");
255
255
  rm.openEnd();
256
256
  rm.close("td");
257
257
  };
@@ -279,7 +279,7 @@ sap.ui.define([
279
279
  // popin row
280
280
  rm.openStart("tr", oLI.getPopin());
281
281
  rm.class("sapMListTblSubRow");
282
- rm.attr("tabindex", "-1");
282
+ rm.attr("role", "none");
283
283
  rm.attr("data-sap-ui-related", oLI.getId());
284
284
  rm.openEnd();
285
285
 
@@ -106,7 +106,7 @@ sap.ui.define([
106
106
  * </ul>
107
107
  *
108
108
  * @author SAP SE
109
- * @version 1.141.1
109
+ * @version 1.142.0
110
110
  *
111
111
  * @constructor
112
112
  * @extends sap.m.ComboBoxBase
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @abstract
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.141.1
73
+ * @version 1.142.0
74
74
  *
75
75
  * @constructor
76
76
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.m.InputBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.141.1
34
+ * @version 1.142.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class This element is used within the TileAttribute control that generates either a link or text
24
24
  * @extends sap.ui.core.Element
25
25
  * @author SAP SE
26
- * @version 1.141.1
26
+ * @version 1.142.0
27
27
  * @constructor
28
28
  * @public
29
29
  * @experimental since 1.122
@@ -24,7 +24,7 @@ sap.ui.define(['./ListItemBase', './library', './CustomListItemRenderer'],
24
24
  * @extends sap.m.ListItemBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.141.1
27
+ * @version 1.142.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -21,7 +21,7 @@ sap.ui.define(['./Tile', './library', './CustomTileRenderer'],
21
21
  * Use the CustomTile control to display application specific content in the Tile control.
22
22
  * The tile width is 8.5em and height is 10em.
23
23
  * @extends sap.m.Tile
24
- * @version 1.141.1
24
+ * @version 1.142.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * <code>Table, Form</code> etc, should not be aggregated as content.
24
24
  * @extends sap.m.TreeItemBase
25
25
  * @author SAP SE
26
- * @version 1.141.1
26
+ * @version 1.142.0
27
27
  * @constructor
28
28
  * @public
29
29
  * @since 1.48.0
@@ -186,7 +186,7 @@ sap.ui.define([
186
186
  * the close event), or select Cancel.
187
187
  *
188
188
  * @extends sap.m.DateTimeField
189
- * @version 1.141.1
189
+ * @version 1.142.0
190
190
  *
191
191
  * @constructor
192
192
  * @public
@@ -168,8 +168,8 @@ sap.ui.define([
168
168
  * compact mode and provides a touch-friendly size in cozy mode.
169
169
  *
170
170
  * @extends sap.m.DatePicker
171
- * @version 1.141.1
172
- * @version 1.141.1
171
+ * @version 1.142.0
172
+ * @version 1.142.0
173
173
  *
174
174
  * @constructor
175
175
  * @public
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * @extends sap.m.InputBase
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.141.1
69
+ * @version 1.142.0
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -68,7 +68,7 @@ function(
68
68
  * @extends sap.ui.core.Control
69
69
  *
70
70
  * @author SAP SE
71
- * @version 1.141.1
71
+ * @version 1.142.0
72
72
  *
73
73
  * @constructor
74
74
  * @public
@@ -183,7 +183,7 @@ sap.ui.define([
183
183
  * mobile devices, it opens in full screen.
184
184
  *
185
185
  * @extends sap.m.DatePicker
186
- * @version 1.141.1
186
+ * @version 1.142.0
187
187
  *
188
188
  * @constructor
189
189
  * @public
@@ -171,7 +171,7 @@ function(
171
171
  *
172
172
  * @implements sap.ui.core.PopupInterface
173
173
  * @author SAP SE
174
- * @version 1.141.1
174
+ * @version 1.142.0
175
175
  *
176
176
  * @constructor
177
177
  * @public
@@ -397,7 +397,10 @@ function(
397
397
  rightButton: {type: "sap.m.Button", multiple: false, deprecated: true},
398
398
 
399
399
  /**
400
- * In the Dialog focus is set first on the <code>beginButton</code> and then on <code>endButton</code>, when available. If another control needs to get the focus, set the <code>initialFocus</code> with the control which should be focused on. Setting <code>initialFocus</code> to input controls doesn't open the On-Screen keyboard on mobile device as, due to browser restriction, the On-Screen keyboard can't be opened with JavaScript code. The opening of On-Screen keyboard must be triggered by real user action.
400
+ * In the Dialog, focus is initially set on the first focusable element, or on the dialog itself if no such element is available.
401
+ * If another control needs to receive focus, set the <code>initialFocus</code> to the control that should be focused.
402
+ * Setting <code>initialFocus</code> on input controls does not open the on-screen keyboard on mobile devices.
403
+ * Due to browser restrictions, the on-screen keyboard can't be opened with JavaScript code; it must be triggered explicitly by the user.
401
404
  * @since 1.15.0
402
405
  */
403
406
  initialFocus: {type: "sap.ui.core.Control", multiple: false},
@@ -661,7 +664,6 @@ function(
661
664
  this._$dialog = this.$();
662
665
 
663
666
  if (this.isOpen()) {
664
- //restore the focus after rendering when dialog is already open
665
667
  this._setInitialFocus();
666
668
  }
667
669
  };
@@ -952,7 +954,7 @@ function(
952
954
  oPromiseArgument = {},
953
955
  that = this;
954
956
 
955
- if (this._isSpaceOrEnterPressed) {
957
+ if (this._isSpacePressed) {
956
958
  return;
957
959
  }
958
960
 
@@ -990,27 +992,27 @@ function(
990
992
 
991
993
  /**
992
994
  * Event handler for the onkeyup event.
993
- * Register if SPACE or ENTER is released.
995
+ * Register if SPACE is released.
994
996
  *
995
997
  * @param {jQuery.Event} oEvent The event object
996
998
  * @private
997
999
  */
998
1000
  Dialog.prototype.onkeyup = function (oEvent) {
999
- if (this._isSpaceOrEnter(oEvent)) {
1000
- this._isSpaceOrEnterPressed = false;
1001
+ if (this._isSpace(oEvent)) {
1002
+ this._isSpacePressed = false;
1001
1003
  }
1002
1004
  };
1003
1005
 
1004
1006
  /**
1005
1007
  * Event handler for the onkeydown event.
1006
- * Register if SPACE or ENTER is pressed.
1008
+ * Register if SPACE is pressed.
1007
1009
  *
1008
1010
  * @param {jQuery.Event} oEvent The event object
1009
1011
  * @private
1010
1012
  */
1011
1013
  Dialog.prototype.onkeydown = function (oEvent) {
1012
- if (this._isSpaceOrEnter(oEvent)) {
1013
- this._isSpaceOrEnterPressed = true;
1014
+ if (this._isSpace(oEvent)) {
1015
+ this._isSpacePressed = true;
1014
1016
  }
1015
1017
 
1016
1018
  var iKeyCode = oEvent.which || oEvent.keyCode;
@@ -1152,16 +1154,16 @@ function(
1152
1154
  };
1153
1155
 
1154
1156
  /**
1155
- * Determines if the key from oEvent is SPACE or ENTER.
1157
+ * Determines if the key from oEvent is SPACE.
1156
1158
  *
1157
1159
  * @param {jQuery.Event} oEvent The event object
1158
1160
  * @private
1159
- * @return {boolean} True if the key from the event is space or enter
1161
+ * @return {boolean} True if the key from the event is space
1160
1162
  */
1161
- Dialog.prototype._isSpaceOrEnter = function (oEvent) {
1162
- var iKeyCode = oEvent.which || oEvent.keyCode;
1163
+ Dialog.prototype._isSpace = function (oEvent) {
1164
+ var iKeyCode = oEvent.which || oEvent.key;
1163
1165
 
1164
- return iKeyCode == KeyCodes.SPACE || iKeyCode == KeyCodes.ENTER;
1166
+ return iKeyCode == KeyCodes.SPACE;
1165
1167
  };
1166
1168
 
1167
1169
  /* =========================================================== */
@@ -1508,13 +1510,32 @@ function(
1508
1510
  return false;
1509
1511
  };
1510
1512
 
1513
+ Dialog.prototype.getFocusInfo = function () {
1514
+ return {
1515
+ id: this.getId(),
1516
+ dialogActiveElement: this.getDomRef()?.contains(document.activeElement) ? document.activeElement : null
1517
+ };
1518
+ };
1519
+
1520
+ Dialog.prototype.applyFocusInfo = function (oFocusInfo) {
1521
+ const oDialogActiveElement = oFocusInfo?.dialogActiveElement;
1522
+
1523
+ if (oDialogActiveElement && this.getDomRef()?.contains(oDialogActiveElement)) {
1524
+ oDialogActiveElement.focus();
1525
+
1526
+ return this;
1527
+ }
1528
+
1529
+ return Control.prototype.applyFocusInfo.apply(this, arguments);
1530
+ };
1531
+
1511
1532
  /**
1512
1533
  *
1513
1534
  * @private
1514
1535
  */
1515
1536
  Dialog.prototype._getFocusDomRef = function () {
1516
- // Left or Right button can be visible false and therefore not rendered.
1517
- // In such a case, focus should be set somewhere else.
1537
+ // Either the left or right button might not be visible and hence not rendered.
1538
+ // In such cases, the focus should be set elsewhere.
1518
1539
  var sInitialFocusId = this.getInitialFocus();
1519
1540
 
1520
1541
  if (sInitialFocusId) {
@@ -1591,13 +1612,8 @@ function(
1591
1612
  return $dialogContent.firstFocusableDomRef();
1592
1613
  };
1593
1614
 
1594
- // The control that needs to be focused after the Dialog is open is calculated in the following sequence:
1595
- // initialFocus, first focusable element in content area, beginButton, endButton
1596
- // the Dialog is always modal so the focus doesn't need to be on the Dialog when there's
1597
- // no initialFocus, beginButton and endButton available, but to keep the consistency,
1598
- // the focus will in the end fall back on the Dialog itself.
1599
1615
  /**
1600
- *
1616
+ * Applies focus and sets initial focus association
1601
1617
  * @private
1602
1618
  */
1603
1619
  Dialog.prototype._setInitialFocus = function () {
@@ -1609,7 +1625,7 @@ function(
1609
1625
  }
1610
1626
 
1611
1627
  if (oControl) {
1612
- //if someone tries to focus on an existing but not visible control, focus the Dialog itself.
1628
+ // If attempting to focus on an existing but invisible control, focus the dialog itself.
1613
1629
  if (oControl.getVisible && !oControl.getVisible()) {
1614
1630
  this.focus();
1615
1631
  return;
@@ -1618,10 +1634,9 @@ function(
1618
1634
  oFocusDomRef = oControl.getFocusDomRef();
1619
1635
  }
1620
1636
 
1621
- // if focus dom ref is not found
1622
1637
  if (!oFocusDomRef) {
1623
1638
  this.setInitialFocus(""); // clear the saved initial focus
1624
- oFocusDomRef = this._getFocusDomRef(); // recalculate the element on focus
1639
+ oFocusDomRef = this._getFocusDomRef(); // Recalculate the element to focus on.
1625
1640
  }
1626
1641
 
1627
1642
  //if there is no set initial focus, set the default one to the initialFocus association
@@ -1637,7 +1652,7 @@ function(
1637
1652
  oFocusDomRef.focus();
1638
1653
  }
1639
1654
  } else {
1640
- // Set the focus on the popup itself in order to keep the tab chain
1655
+ // Set the focus on the dialog itself in order to keep the tab chain intact.
1641
1656
  this.focus();
1642
1657
  }
1643
1658
  };
@@ -168,6 +168,7 @@ sap.ui.define([
168
168
  // In that case, the controller will focus the last focusable element.
169
169
  oRM.openStart("span", sId + "-firstfe")
170
170
  .class("sapMDialogFirstFE")
171
+ .class("sapUiSkipFocusFail")
171
172
  .attr("role", "none")
172
173
  .attr("tabindex", "0")
173
174
  .openEnd()
@@ -264,6 +265,7 @@ sap.ui.define([
264
265
  // In that case, the controller will focus the first focusable element.
265
266
  oRM.openStart("span", sId + "-lastfe")
266
267
  .class("sapMDialogLastFE")
268
+ .class("sapUiSkipFocusFail")
267
269
  .attr("role", "none")
268
270
  .attr("tabindex", "0")
269
271
  .openEnd()