@openui5/sap.m 1.116.0 → 1.117.0

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