@openui5/sap.m 1.99.1 → 1.102.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 (517) hide show
  1. package/.eslintrc.json +18 -0
  2. package/THIRDPARTY.txt +5 -5
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionListItemRenderer.js +5 -7
  8. package/src/sap/m/ActionSelect.js +1 -1
  9. package/src/sap/m/ActionSheet.js +11 -4
  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 +1 -1
  13. package/src/sap/m/BadgeEnabler.js +3 -2
  14. package/src/sap/m/Bar.js +12 -21
  15. package/src/sap/m/Breadcrumbs.js +83 -10
  16. package/src/sap/m/BreadcrumbsRenderer.js +3 -7
  17. package/src/sap/m/BusyDialog.js +1 -1
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +2 -2
  20. package/src/sap/m/Carousel.js +4 -1
  21. package/src/sap/m/CarouselLayout.js +1 -1
  22. package/src/sap/m/CarouselRenderer.js +4 -2
  23. package/src/sap/m/CheckBox.js +2 -4
  24. package/src/sap/m/ColorPalette.js +13 -1
  25. package/src/sap/m/ColorPalettePopover.js +1 -1
  26. package/src/sap/m/Column.js +10 -1
  27. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  28. package/src/sap/m/ColumnListItem.js +1 -1
  29. package/src/sap/m/ColumnListItemRenderer.js +10 -11
  30. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  35. package/src/sap/m/ComboBox.js +23 -2
  36. package/src/sap/m/ComboBoxBase.js +4 -2
  37. package/src/sap/m/ComboBoxTextField.js +1 -1
  38. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  39. package/src/sap/m/CustomListItem.js +1 -1
  40. package/src/sap/m/CustomListItemRenderer.js +4 -6
  41. package/src/sap/m/CustomTile.js +1 -1
  42. package/src/sap/m/CustomTileRenderer.js +1 -1
  43. package/src/sap/m/CustomTreeItem.js +1 -1
  44. package/src/sap/m/CustomTreeItemRenderer.js +2 -2
  45. package/src/sap/m/DatePicker.js +52 -9
  46. package/src/sap/m/DatePickerRenderer.js +0 -1
  47. package/src/sap/m/DateRangeSelection.js +42 -4
  48. package/src/sap/m/DateTimeField.js +8 -5
  49. package/src/sap/m/DateTimeInput.js +1 -1
  50. package/src/sap/m/DateTimePicker.js +97 -66
  51. package/src/sap/m/DateTimePickerRenderer.js +21 -4
  52. package/src/sap/m/Dialog.js +20 -7
  53. package/src/sap/m/DialogRenderer.js +1 -1
  54. package/src/sap/m/DisplayListItem.js +1 -1
  55. package/src/sap/m/DisplayListItemRenderer.js +4 -6
  56. package/src/sap/m/DraftIndicator.js +1 -1
  57. package/src/sap/m/DynamicDate.js +1 -1
  58. package/src/sap/m/DynamicDateFormat.js +13 -6
  59. package/src/sap/m/DynamicDateOption.js +12 -2
  60. package/src/sap/m/DynamicDateRange.js +129 -21
  61. package/src/sap/m/DynamicDateUtil.js +1 -2
  62. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  63. package/src/sap/m/ExpandableText.js +1 -1
  64. package/src/sap/m/FacetFilter.js +8 -1
  65. package/src/sap/m/FacetFilterItem.js +1 -1
  66. package/src/sap/m/FacetFilterList.js +6 -4
  67. package/src/sap/m/FeedContent.js +1 -1
  68. package/src/sap/m/FeedInput.js +2 -2
  69. package/src/sap/m/FeedListItem.js +2 -2
  70. package/src/sap/m/FeedListItemAction.js +1 -1
  71. package/src/sap/m/FeedListItemRenderer.js +10 -5
  72. package/src/sap/m/Fiori20Adapter.js +2 -2
  73. package/src/sap/m/FlexBox.js +1 -1
  74. package/src/sap/m/FlexItemData.js +1 -1
  75. package/src/sap/m/FormattedText.js +1 -1
  76. package/src/sap/m/GenericTag.js +5 -3
  77. package/src/sap/m/GenericTagRenderer.js +13 -5
  78. package/src/sap/m/GenericTile.js +101 -13
  79. package/src/sap/m/GenericTileLineModeRenderer.js +80 -3
  80. package/src/sap/m/GenericTileRenderer.js +108 -48
  81. package/src/sap/m/GroupHeaderListItem.js +1 -1
  82. package/src/sap/m/GrowingEnablement.js +138 -83
  83. package/src/sap/m/GrowingList.js +1 -1
  84. package/src/sap/m/HBox.js +1 -1
  85. package/src/sap/m/HeaderContainer.js +29 -13
  86. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  87. package/src/sap/m/HyphenationSupport.js +0 -4
  88. package/src/sap/m/IconTabBar.js +3 -3
  89. package/src/sap/m/IconTabBarDragAndDropUtil.js +3 -2
  90. package/src/sap/m/IconTabBarSelectList.js +3 -5
  91. package/src/sap/m/IconTabFilter.js +1 -1
  92. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  93. package/src/sap/m/IconTabHeader.js +7 -11
  94. package/src/sap/m/IconTabSeparator.js +1 -1
  95. package/src/sap/m/IllustratedMessage.js +19 -1
  96. package/src/sap/m/Illustration.js +1 -1
  97. package/src/sap/m/Image.js +1 -1
  98. package/src/sap/m/ImageContent.js +1 -1
  99. package/src/sap/m/Input.js +10 -19
  100. package/src/sap/m/InputBase.js +5 -5
  101. package/src/sap/m/InputBaseRenderer.js +1 -2
  102. package/src/sap/m/InputListItem.js +1 -1
  103. package/src/sap/m/InputListItemRenderer.js +4 -6
  104. package/src/sap/m/Label.js +1 -1
  105. package/src/sap/m/LabelRenderer.js +1 -1
  106. package/src/sap/m/LightBox.js +1 -1
  107. package/src/sap/m/LightBoxItem.js +1 -1
  108. package/src/sap/m/Link.js +1 -1
  109. package/src/sap/m/List.js +1 -1
  110. package/src/sap/m/ListBase.js +52 -20
  111. package/src/sap/m/ListBaseRenderer.js +23 -9
  112. package/src/sap/m/ListItemBase.js +7 -5
  113. package/src/sap/m/MaskEnabler.js +1 -1
  114. package/src/sap/m/MaskInput.js +1 -1
  115. package/src/sap/m/MaskInputRule.js +1 -1
  116. package/src/sap/m/Menu.js +1 -1
  117. package/src/sap/m/MenuButton.js +5 -1
  118. package/src/sap/m/MenuItem.js +1 -1
  119. package/src/sap/m/MenuListItem.js +1 -1
  120. package/src/sap/m/MessageBox.js +1 -1
  121. package/src/sap/m/MessageItem.js +1 -1
  122. package/src/sap/m/MessageListItem.js +1 -1
  123. package/src/sap/m/MessagePage.js +1 -1
  124. package/src/sap/m/MessagePopover.js +18 -36
  125. package/src/sap/m/MessagePopoverItem.js +1 -1
  126. package/src/sap/m/MessageStrip.js +2 -2
  127. package/src/sap/m/MessageToast.js +1 -1
  128. package/src/sap/m/MessageView.js +1 -1
  129. package/src/sap/m/MultiComboBox.js +4 -2
  130. package/src/sap/m/MultiEditField.js +1 -1
  131. package/src/sap/m/MultiInput.js +12 -7
  132. package/src/sap/m/NavContainer.js +53 -53
  133. package/src/sap/m/NewsContent.js +1 -1
  134. package/src/sap/m/NotificationList.js +1 -1
  135. package/src/sap/m/NotificationListBase.js +175 -79
  136. package/src/sap/m/NotificationListGroup.js +1 -2
  137. package/src/sap/m/NotificationListGroupRenderer.js +4 -16
  138. package/src/sap/m/NotificationListItem.js +5 -16
  139. package/src/sap/m/NotificationListItemRenderer.js +0 -1
  140. package/src/sap/m/NumericContent.js +29 -21
  141. package/src/sap/m/NumericInput.js +3 -2
  142. package/src/sap/m/NumericInputRenderer.js +13 -1
  143. package/src/sap/m/ObjectAttribute.js +4 -5
  144. package/src/sap/m/ObjectAttributeRenderer.js +3 -3
  145. package/src/sap/m/ObjectHeader.js +1 -1
  146. package/src/sap/m/ObjectIdentifier.js +3 -3
  147. package/src/sap/m/ObjectListItem.js +1 -1
  148. package/src/sap/m/ObjectMarker.js +34 -10
  149. package/src/sap/m/ObjectMarkerRenderer.js +14 -2
  150. package/src/sap/m/ObjectNumber.js +1 -1
  151. package/src/sap/m/ObjectStatus.js +1 -1
  152. package/src/sap/m/ObjectStatusRenderer.js +3 -4
  153. package/src/sap/m/OverflowToolbar.js +21 -1
  154. package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
  155. package/src/sap/m/OverflowToolbarButton.js +1 -1
  156. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  157. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  158. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  159. package/src/sap/m/P13nColumnsItem.js +1 -1
  160. package/src/sap/m/P13nColumnsPanel.js +1 -1
  161. package/src/sap/m/P13nConditionPanel.js +9 -12
  162. package/src/sap/m/P13nDialog.js +1 -1
  163. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  164. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  165. package/src/sap/m/P13nFilterItem.js +1 -1
  166. package/src/sap/m/P13nFilterPanel.js +1 -1
  167. package/src/sap/m/P13nGroupItem.js +1 -1
  168. package/src/sap/m/P13nGroupPanel.js +1 -1
  169. package/src/sap/m/P13nItem.js +1 -1
  170. package/src/sap/m/P13nPanel.js +1 -1
  171. package/src/sap/m/P13nSelectionItem.js +1 -1
  172. package/src/sap/m/P13nSelectionPanel.js +1 -1
  173. package/src/sap/m/P13nSortItem.js +1 -1
  174. package/src/sap/m/P13nSortPanel.js +1 -1
  175. package/src/sap/m/PDFViewer.js +3 -3
  176. package/src/sap/m/PDFViewerRenderer.js +15 -7
  177. package/src/sap/m/Page.js +4 -4
  178. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  179. package/src/sap/m/PagingButton.js +1 -1
  180. package/src/sap/m/Panel.js +1 -1
  181. package/src/sap/m/PlanningCalendar.js +15 -15
  182. package/src/sap/m/PlanningCalendarHeader.js +1 -4
  183. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  184. package/src/sap/m/PlanningCalendarRow.js +1 -1
  185. package/src/sap/m/PlanningCalendarView.js +1 -1
  186. package/src/sap/m/Popover.js +15 -10
  187. package/src/sap/m/ProgressIndicator.js +1 -1
  188. package/src/sap/m/PullToRefresh.js +1 -1
  189. package/src/sap/m/QuickView.js +1 -1
  190. package/src/sap/m/QuickViewBase.js +1 -1
  191. package/src/sap/m/QuickViewCard.js +1 -1
  192. package/src/sap/m/QuickViewGroup.js +1 -1
  193. package/src/sap/m/QuickViewGroupElement.js +1 -1
  194. package/src/sap/m/QuickViewPage.js +5 -2
  195. package/src/sap/m/RadioButton.js +2 -2
  196. package/src/sap/m/RadioButtonGroup.js +14 -2
  197. package/src/sap/m/RadioButtonRenderer.js +0 -1
  198. package/src/sap/m/RangeSlider.js +19 -4
  199. package/src/sap/m/RatingIndicator.js +2 -2
  200. package/src/sap/m/ResponsivePopover.js +3 -5
  201. package/src/sap/m/ResponsiveScale.js +1 -1
  202. package/src/sap/m/ScrollBar.js +2 -2
  203. package/src/sap/m/ScrollContainer.js +1 -1
  204. package/src/sap/m/SearchField.js +1 -1
  205. package/src/sap/m/SegmentedButton.js +17 -9
  206. package/src/sap/m/SegmentedButtonItem.js +1 -1
  207. package/src/sap/m/SegmentedButtonRenderer.js +1 -1
  208. package/src/sap/m/Select.js +53 -4
  209. package/src/sap/m/SelectDialog.js +16 -20
  210. package/src/sap/m/SelectDialogBase.js +1 -1
  211. package/src/sap/m/SelectList.js +1 -1
  212. package/src/sap/m/SelectionDetails.js +3 -5
  213. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  214. package/src/sap/m/SelectionDetailsItem.js +1 -1
  215. package/src/sap/m/SelectionDetailsItemLine.js +3 -3
  216. package/src/sap/m/Shell.js +1 -1
  217. package/src/sap/m/SimpleFixFlex.js +1 -1
  218. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  219. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  220. package/src/sap/m/SinglePlanningCalendarGrid.js +94 -52
  221. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +10 -9
  222. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +24 -10
  223. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  224. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  225. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  226. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  227. package/src/sap/m/SlideTile.js +2 -2
  228. package/src/sap/m/SlideTileRenderer.js +8 -1
  229. package/src/sap/m/Slider.js +1 -1
  230. package/src/sap/m/SliderTooltip.js +1 -1
  231. package/src/sap/m/SliderTooltipBase.js +1 -1
  232. package/src/sap/m/SliderTooltipContainer.js +5 -1
  233. package/src/sap/m/SplitApp.js +1 -1
  234. package/src/sap/m/SplitButton.js +1 -1
  235. package/src/sap/m/SplitContainer.js +4 -4
  236. package/src/sap/m/StandardDynamicDateOption.js +41 -18
  237. package/src/sap/m/StandardListItem.js +3 -3
  238. package/src/sap/m/StandardListItemRenderer.js +1 -1
  239. package/src/sap/m/StandardTile.js +1 -1
  240. package/src/sap/m/StandardTreeItem.js +1 -1
  241. package/src/sap/m/StepInput.js +4 -4
  242. package/src/sap/m/SuggestionItem.js +1 -1
  243. package/src/sap/m/SuggestionsPopover.js +6 -14
  244. package/src/sap/m/Switch.js +1 -1
  245. package/src/sap/m/TabContainer.js +1 -1
  246. package/src/sap/m/TabContainerItem.js +1 -1
  247. package/src/sap/m/TabStrip.js +6 -4
  248. package/src/sap/m/TabStripItem.js +1 -1
  249. package/src/sap/m/TabStripRenderer.js +2 -2
  250. package/src/sap/m/Table.js +34 -3
  251. package/src/sap/m/TablePersoController.js +1 -1
  252. package/src/sap/m/TablePersoDialog.js +1 -1
  253. package/src/sap/m/TablePersoProvider.js +1 -1
  254. package/src/sap/m/TableRenderer.js +9 -4
  255. package/src/sap/m/TableSelectDialog.js +15 -11
  256. package/src/sap/m/Text.js +1 -1
  257. package/src/sap/m/TextArea.js +1 -1
  258. package/src/sap/m/Tile.js +3 -3
  259. package/src/sap/m/TileContainer.js +6 -4
  260. package/src/sap/m/TileContent.js +34 -2
  261. package/src/sap/m/TileContentRenderer.js +44 -8
  262. package/src/sap/m/TileRenderer.js +1 -1
  263. package/src/sap/m/TimePicker.js +53 -61
  264. package/src/sap/m/TimePickerClock.js +1 -1
  265. package/src/sap/m/TimePickerClocks.js +1 -1
  266. package/src/sap/m/TimePickerInputs.js +1 -1
  267. package/src/sap/m/TimePickerInternals.js +2 -2
  268. package/src/sap/m/TimePickerRenderer.js +2 -4
  269. package/src/sap/m/TimePickerSlider.js +1 -1
  270. package/src/sap/m/TimePickerSliders.js +1 -1
  271. package/src/sap/m/Title.js +1 -1
  272. package/src/sap/m/TitlePropagationSupport.js +1 -1
  273. package/src/sap/m/TitleRenderer.js +2 -2
  274. package/src/sap/m/ToggleButton.js +1 -1
  275. package/src/sap/m/Token.js +1 -1
  276. package/src/sap/m/Tokenizer.js +19 -7
  277. package/src/sap/m/TokenizerRenderer.js +1 -1
  278. package/src/sap/m/Toolbar.js +7 -1
  279. package/src/sap/m/ToolbarLayoutData.js +1 -1
  280. package/src/sap/m/ToolbarSeparator.js +5 -3
  281. package/src/sap/m/ToolbarSpacer.js +1 -1
  282. package/src/sap/m/Tree.js +1 -1
  283. package/src/sap/m/TreeItemBase.js +1 -1
  284. package/src/sap/m/UploadCollection.js +5 -3
  285. package/src/sap/m/UploadCollectionItem.js +2 -1
  286. package/src/sap/m/UploadCollectionParameter.js +2 -1
  287. package/src/sap/m/UploadCollectionRenderer.js +1 -0
  288. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
  289. package/src/sap/m/VBox.js +1 -1
  290. package/src/sap/m/ValueStateHeader.js +1 -1
  291. package/src/sap/m/VariantManagement.js +2492 -0
  292. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  293. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  294. package/src/sap/m/ViewSettingsDialog.js +106 -49
  295. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  296. package/src/sap/m/ViewSettingsItem.js +1 -1
  297. package/src/sap/m/VisibleItem.js +2 -2
  298. package/src/sap/m/WheelSlider.js +1 -1
  299. package/src/sap/m/WheelSliderContainer.js +1 -1
  300. package/src/sap/m/Wizard.js +22 -4
  301. package/src/sap/m/WizardProgressNavigator.js +10 -3
  302. package/src/sap/m/WizardStep.js +1 -1
  303. package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
  304. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  305. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  306. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  307. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  308. package/src/sap/m/changeHandler/SplitMenuButton.js +5 -5
  309. package/src/sap/m/delegate/DateNavigation.js +2 -2
  310. package/src/sap/m/designtime/ListBase.designtime.js +3 -0
  311. package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
  312. package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
  313. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
  314. package/src/sap/m/inputUtils/highlightDOMElements.js +4 -3
  315. package/src/sap/m/inputUtils/typeAhead.js +7 -7
  316. package/src/sap/m/library.js +38 -31
  317. package/src/sap/m/messagebundle.properties +177 -24
  318. package/src/sap/m/messagebundle_ar.properties +116 -18
  319. package/src/sap/m/messagebundle_bg.properties +116 -18
  320. package/src/sap/m/messagebundle_ca.properties +116 -18
  321. package/src/sap/m/messagebundle_cs.properties +118 -20
  322. package/src/sap/m/messagebundle_cy.properties +116 -18
  323. package/src/sap/m/messagebundle_da.properties +116 -18
  324. package/src/sap/m/messagebundle_de.properties +117 -19
  325. package/src/sap/m/messagebundle_el.properties +119 -21
  326. package/src/sap/m/messagebundle_en.properties +115 -17
  327. package/src/sap/m/messagebundle_en_GB.properties +115 -17
  328. package/src/sap/m/messagebundle_en_US_sappsd.properties +115 -17
  329. package/src/sap/m/messagebundle_en_US_saprigi.properties +115 -17
  330. package/src/sap/m/messagebundle_en_US_saptrc.properties +115 -17
  331. package/src/sap/m/messagebundle_es.properties +116 -18
  332. package/src/sap/m/messagebundle_es_MX.properties +116 -18
  333. package/src/sap/m/messagebundle_et.properties +116 -18
  334. package/src/sap/m/messagebundle_fi.properties +115 -17
  335. package/src/sap/m/messagebundle_fr.properties +119 -21
  336. package/src/sap/m/messagebundle_fr_CA.properties +115 -17
  337. package/src/sap/m/messagebundle_hi.properties +114 -16
  338. package/src/sap/m/messagebundle_hr.properties +116 -18
  339. package/src/sap/m/messagebundle_hu.properties +116 -18
  340. package/src/sap/m/messagebundle_id.properties +115 -17
  341. package/src/sap/m/messagebundle_it.properties +124 -26
  342. package/src/sap/m/messagebundle_iw.properties +116 -18
  343. package/src/sap/m/messagebundle_ja.properties +115 -17
  344. package/src/sap/m/messagebundle_kk.properties +116 -18
  345. package/src/sap/m/messagebundle_ko.properties +116 -18
  346. package/src/sap/m/messagebundle_lt.properties +116 -18
  347. package/src/sap/m/messagebundle_lv.properties +115 -17
  348. package/src/sap/m/messagebundle_ms.properties +115 -17
  349. package/src/sap/m/messagebundle_nl.properties +115 -17
  350. package/src/sap/m/messagebundle_no.properties +116 -18
  351. package/src/sap/m/messagebundle_pl.properties +116 -18
  352. package/src/sap/m/messagebundle_pt.properties +125 -27
  353. package/src/sap/m/messagebundle_pt_PT.properties +116 -18
  354. package/src/sap/m/messagebundle_ro.properties +116 -18
  355. package/src/sap/m/messagebundle_ru.properties +116 -18
  356. package/src/sap/m/messagebundle_sh.properties +116 -18
  357. package/src/sap/m/messagebundle_sk.properties +116 -18
  358. package/src/sap/m/messagebundle_sl.properties +116 -18
  359. package/src/sap/m/messagebundle_sv.properties +117 -19
  360. package/src/sap/m/messagebundle_th.properties +115 -17
  361. package/src/sap/m/messagebundle_tr.properties +116 -18
  362. package/src/sap/m/messagebundle_uk.properties +116 -18
  363. package/src/sap/m/messagebundle_vi.properties +115 -17
  364. package/src/sap/m/messagebundle_zh_CN.properties +116 -18
  365. package/src/sap/m/messagebundle_zh_TW.properties +115 -17
  366. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  367. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  368. package/src/sap/m/p13n/BasePanel.js +34 -15
  369. package/src/sap/m/p13n/Container.js +11 -4
  370. package/src/sap/m/p13n/GroupPanel.js +17 -5
  371. package/src/sap/m/p13n/Popup.js +9 -2
  372. package/src/sap/m/p13n/QueryPanel.js +89 -35
  373. package/src/sap/m/p13n/SelectionPanel.js +42 -9
  374. package/src/sap/m/p13n/SortPanel.js +27 -13
  375. package/src/sap/m/plugins/ColumnResizer.js +48 -13
  376. package/src/sap/m/plugins/DataStateIndicator.js +3 -2
  377. package/src/sap/m/plugins/PasteProvider.js +1 -1
  378. package/src/sap/m/plugins/PluginBase.js +1 -1
  379. package/src/sap/m/rules/Breadcrumbs.support.js +1 -1
  380. package/src/sap/m/rules/CheckBox.support.js +1 -1
  381. package/src/sap/m/rules/Image.support.js +1 -1
  382. package/src/sap/m/rules/Link.support.js +1 -1
  383. package/src/sap/m/rules/MessagePage.support.js +1 -1
  384. package/src/sap/m/rules/ObjectHeader.support.js +6 -6
  385. package/src/sap/m/rules/ObjectListItem.support.js +1 -1
  386. package/src/sap/m/rules/ObjectMarker.support.js +1 -1
  387. package/src/sap/m/rules/ObjectStatus.support.js +1 -1
  388. package/src/sap/m/rules/Select.support.js +1 -1
  389. package/src/sap/m/rules/Table.support.js +3 -3
  390. package/src/sap/m/rules/Tokenizer.support.js +4 -2
  391. package/src/sap/m/semantic/AddAction.js +1 -1
  392. package/src/sap/m/semantic/CancelAction.js +1 -1
  393. package/src/sap/m/semantic/DeleteAction.js +1 -1
  394. package/src/sap/m/semantic/DetailPage.js +1 -1
  395. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  396. package/src/sap/m/semantic/EditAction.js +1 -1
  397. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  398. package/src/sap/m/semantic/FilterAction.js +1 -1
  399. package/src/sap/m/semantic/FilterSelect.js +1 -1
  400. package/src/sap/m/semantic/FlagAction.js +1 -1
  401. package/src/sap/m/semantic/ForwardAction.js +1 -1
  402. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  403. package/src/sap/m/semantic/GroupAction.js +1 -1
  404. package/src/sap/m/semantic/GroupSelect.js +1 -1
  405. package/src/sap/m/semantic/MainAction.js +1 -1
  406. package/src/sap/m/semantic/MasterPage.js +1 -1
  407. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  408. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  409. package/src/sap/m/semantic/NegativeAction.js +1 -1
  410. package/src/sap/m/semantic/OpenInAction.js +1 -1
  411. package/src/sap/m/semantic/PositiveAction.js +1 -1
  412. package/src/sap/m/semantic/PrintAction.js +1 -1
  413. package/src/sap/m/semantic/SaveAction.js +1 -1
  414. package/src/sap/m/semantic/Segment.js +1 -1
  415. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  416. package/src/sap/m/semantic/SemanticButton.js +1 -1
  417. package/src/sap/m/semantic/SemanticConfiguration.js +7 -14
  418. package/src/sap/m/semantic/SemanticControl.js +1 -1
  419. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  420. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  421. package/src/sap/m/semantic/SemanticPage.js +1 -1
  422. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  423. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  424. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  425. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  426. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  427. package/src/sap/m/semantic/ShareMenu.js +2 -2
  428. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  429. package/src/sap/m/semantic/SortAction.js +1 -1
  430. package/src/sap/m/semantic/SortSelect.js +1 -1
  431. package/src/sap/m/table/Util.js +114 -29
  432. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  433. package/src/sap/m/table/columnmenu/Entry.js +1 -11
  434. package/src/sap/m/table/columnmenu/Item.js +1 -1
  435. package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
  436. package/src/sap/m/table/columnmenu/ItemContainer.js +29 -0
  437. package/src/sap/m/table/columnmenu/Menu.js +228 -35
  438. package/src/sap/m/table/columnmenu/MenuRenderer.js +5 -28
  439. package/src/sap/m/table/columnmenu/QuickAction.js +14 -3
  440. package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
  441. package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
  442. package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
  443. package/src/sap/m/table/columnmenu/QuickGroup.js +20 -16
  444. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  445. package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
  446. package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -28
  447. package/src/sap/m/table/columnmenu/QuickTotal.js +20 -25
  448. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  449. package/src/sap/m/themes/base/ActionListItem.less +1 -1
  450. package/src/sap/m/themes/base/Avatar.less +11 -5
  451. package/src/sap/m/themes/base/Button.less +2 -7
  452. package/src/sap/m/themes/base/Carousel.less +72 -87
  453. package/src/sap/m/themes/base/CheckBox.less +0 -1
  454. package/src/sap/m/themes/base/ColumnListItem.less +0 -3
  455. package/src/sap/m/themes/base/ColumnMenu.less +12 -4
  456. package/src/sap/m/themes/base/DatePicker.less +7 -2
  457. package/src/sap/m/themes/base/Dialog.less +10 -6
  458. package/src/sap/m/themes/base/GenericTile.less +672 -170
  459. package/src/sap/m/themes/base/IconTabBar.less +45 -14
  460. package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
  461. package/src/sap/m/themes/base/Input.less +1 -1
  462. package/src/sap/m/themes/base/InputBase.less +114 -11
  463. package/src/sap/m/themes/base/Label.less +4 -1
  464. package/src/sap/m/themes/base/LightBox.less +9 -7
  465. package/src/sap/m/themes/base/Link.less +12 -4
  466. package/src/sap/m/themes/base/ListBase.less +4 -0
  467. package/src/sap/m/themes/base/ListItemBase.less +1 -12
  468. package/src/sap/m/themes/base/MenuButton.less +20 -4
  469. package/src/sap/m/themes/base/MessageBox.less +5 -5
  470. package/src/sap/m/themes/base/MessageToast.less +2 -2
  471. package/src/sap/m/themes/base/MultiInput.less +1 -1
  472. package/src/sap/m/themes/base/NewsContent.less +0 -9
  473. package/src/sap/m/themes/base/NotificationListBase.less +9 -14
  474. package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
  475. package/src/sap/m/themes/base/NotificationListItem.less +14 -18
  476. package/src/sap/m/themes/base/NumericContent.less +1 -5
  477. package/src/sap/m/themes/base/ObjectAttribute.less +1 -1
  478. package/src/sap/m/themes/base/ObjectListItem.less +3 -0
  479. package/src/sap/m/themes/base/ObjectMarker.less +3 -1
  480. package/src/sap/m/themes/base/ObjectStatus.less +8 -0
  481. package/src/sap/m/themes/base/Page.less +1 -1
  482. package/src/sap/m/themes/base/Panel.less +1 -1
  483. package/src/sap/m/themes/base/Popover.less +10 -7
  484. package/src/sap/m/themes/base/QuickView.less +14 -2
  485. package/src/sap/m/themes/base/RadioButton.less +22 -3
  486. package/src/sap/m/themes/base/RatingIndicator.less +4 -0
  487. package/src/sap/m/themes/base/SearchField.less +23 -59
  488. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
  489. package/src/sap/m/themes/base/SlideTile.less +18 -0
  490. package/src/sap/m/themes/base/Slider.less +18 -18
  491. package/src/sap/m/themes/base/SplitButton.less +5 -0
  492. package/src/sap/m/themes/base/StandardListItem.less +5 -9
  493. package/src/sap/m/themes/base/SuggestionsPopover.less +1 -1
  494. package/src/sap/m/themes/base/Table.less +18 -21
  495. package/src/sap/m/themes/base/TextArea.less +32 -0
  496. package/src/sap/m/themes/base/TileContent.less +41 -1
  497. package/src/sap/m/themes/base/Token.less +17 -15
  498. package/src/sap/m/themes/base/Tokenizer.less +2 -2
  499. package/src/sap/m/themes/base/Toolbar.less +1 -1
  500. package/src/sap/m/themes/base/UploadCollection.less +2 -0
  501. package/src/sap/m/themes/base/ValueStateMessage.less +3 -3
  502. package/src/sap/m/themes/base/VariantManagement.less +97 -0
  503. package/src/sap/m/themes/base/Wizard.less +5 -4
  504. package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
  505. package/src/sap/m/themes/base/library.source.less +1 -0
  506. package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
  507. package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +0 -12
  508. package/src/sap/m/themes/sap_hcb/InputBase.less +7 -42
  509. package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
  510. package/src/sap/m/themes/sap_hcb/Popover.less +3 -0
  511. package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
  512. package/src/sap/m/themes/sap_hcb/Token.less +4 -0
  513. package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
  514. package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +4 -0
  515. package/src/sap/m/themes/sap_hcb/ValueStateMessage.less +12 -1
  516. package/src/sap/m/upload/UploadSet.js +330 -34
  517. package/src/sap/m/upload/UploadSetItem.js +74 -5
package/.eslintrc.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "overrides": [
3
+ /*
4
+ * Productive code, sample and unit test code of sap.m has been cleaned up.
5
+ * No more references to the global jQuery allowed
6
+ */
7
+ {
8
+ "files": [
9
+ "src/**/*.js",
10
+ "test/sap/m/demokit/**/*.js",
11
+ "test/sap/m/qunit/**/*.js"
12
+ ],
13
+ "globals": {
14
+ "jQuery": "off"
15
+ }
16
+ }
17
+ ]
18
+ }
package/THIRDPARTY.txt CHANGED
@@ -400,7 +400,7 @@ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperato
400
400
 
401
401
  Library: sap.ui.webc.common:
402
402
 
403
- Component: UI5 Web Components, version: 1.0.0-rc.12
403
+ Component: UI5 Web Components, version: 1.1.2
404
404
  Copyright: SAP
405
405
  License: Apache-2.0
406
406
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -411,7 +411,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
411
411
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
412
412
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
413
413
 
414
- Component: lit-html, version: 1.4.1
414
+ Component: lit-html, version: 2.0.1
415
415
  Copyright: Google LLC
416
416
  License: BSD-3-Clause
417
417
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -420,7 +420,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
420
420
 
421
421
  Library: sap.ui.webc.fiori:
422
422
 
423
- Component: UI5 Web Components, version: 1.0.0-rc.12
423
+ Component: UI5 Web Components, version: 1.1.2
424
424
  Copyright: SAP
425
425
  License: Apache-2.0
426
426
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -429,7 +429,7 @@ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
429
429
 
430
430
  Library: sap.ui.webc.main:
431
431
 
432
- Component: UI5 Web Components, version: 1.0.0-rc.12
432
+ Component: UI5 Web Components, version: 1.1.2
433
433
  Copyright: SAP
434
434
  License: Apache-2.0
435
435
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.34
453
+ Component: SAP Theming Base Content, version: 11.1.39
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.m",
3
- "version": "1.99.1",
3
+ "version": "1.102.0",
4
4
  "description": "OpenUI5 UI Library sap.m",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.99.1",
18
- "@openui5/sap.ui.layout": "1.99.1",
19
- "@openui5/sap.ui.unified": "1.99.1"
17
+ "@openui5/sap.ui.core": "1.102.0",
18
+ "@openui5/sap.ui.layout": "1.102.0",
19
+ "@openui5/sap.ui.unified": "1.102.0"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.99.1</version>
9
+ <version>1.102.0</version>
10
10
 
11
11
  <documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
12
12
 
@@ -21,7 +21,7 @@ sap.ui.define(['./Button','./AccButtonRenderer'],
21
21
  * @extends sap.m.Button
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.99.1
24
+ * @version 1.102.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -31,7 +31,7 @@ sap.ui.define(['./ListItemBase', './library', './ActionListItemRenderer'],
31
31
  * @extends sap.m.ListItemBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.99.1
34
+ * @version 1.102.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -17,15 +17,13 @@ sap.ui.define(["./ListItemBaseRenderer", "sap/ui/core/Renderer"],
17
17
  ActionListItemRenderer.apiVersion = 2;
18
18
 
19
19
  /**
20
- * Renders the HTML for the given control, using the provided
20
+ * Renders the List item attributes for the given control, using the provided
21
21
  * {@link sap.ui.core.RenderManager}.
22
22
  *
23
- * @param {sap.ui.core.RenderManager}
24
- * oRenderManager the RenderManager that can be used for writing to the
25
- * Render-Output-Buffer
26
- * @param {sap.m.ActionListItem}
27
- * oControl an object representation of the control that should be
28
- * rendered
23
+ * @param {sap.ui.core.RenderManager} rm
24
+ * RenderManager to be used for rendering
25
+ * @param {sap.m.ActionListItem} oLI
26
+ * The item for which the attributes should be rendered
29
27
  */
30
28
  ActionListItemRenderer.renderLIAttributes = function(rm, oLI) {
31
29
  rm.class("sapMALI");
@@ -20,7 +20,7 @@ sap.ui.define(['./Select', 'sap/ui/core/InvisibleText', 'sap/ui/Device', 'sap/ui
20
20
  * @extends sap.m.Select
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.1
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @extends sap.ui.core.Control
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.99.1
73
+ * @version 1.102.0
74
74
  *
75
75
  * @constructor
76
76
  * @public
@@ -227,8 +227,15 @@ sap.ui.define([
227
227
  this._oItemNavigation.setPageSize(5);
228
228
 
229
229
  this._oItemNavigation.setDisabledModifiers({
230
- sapnext: ["alt"],
231
- sapprevious: ["alt"]
230
+ // Alt + arrow keys are reserved for browser navigation
231
+ sapnext: [
232
+ "alt", // Windows and Linux
233
+ "meta" // Apple (⌘)
234
+ ],
235
+ sapprevious: [
236
+ "alt",
237
+ "meta"
238
+ ]
232
239
  });
233
240
 
234
241
  }
@@ -437,7 +444,7 @@ sap.ui.define([
437
444
  if (!this._oCancelButton) {
438
445
  var sCancelButtonText = (this.getCancelButtonText()) ? this.getCancelButtonText() : sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACTIONSHEET_CANCELBUTTON_TEXT"),
439
446
  that = this;
440
- // var sButtonStyle = (sap.ui.Device.os.ios) ? sap.m.ButtonType.Unstyled : sap.m.ButtonType.Default;
447
+ // var sButtonStyle = (Device.os.ios) ? ButtonType.Unstyled : ButtonType.Default;
441
448
  this._oCancelButton = new Button(this.getId() + '-cancelBtn', {
442
449
  text: sCancelButtonText,
443
450
  type: ButtonType.Reject,
package/src/sap/m/App.js CHANGED
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.m.NavContainer
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.99.1
53
+ * @version 1.102.0
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer',
20
20
  * @extends sap.m.OverflowToolbar
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.1
23
+ * @version 1.102.0
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * @extends sap.ui.core.Control
81
81
  *
82
82
  * @author SAP SE
83
- * @version 1.99.1
83
+ * @version 1.102.0
84
84
  *
85
85
  * @constructor
86
86
  * @public
@@ -8,9 +8,10 @@
8
8
  sap.ui.define([
9
9
  'sap/m/BadgeCustomData',
10
10
  'sap/base/Log',
11
- 'sap/m/library'
11
+ 'sap/m/library',
12
+ 'sap/ui/thirdparty/jquery'
12
13
  ],
13
- function(BadgeCustomData, Log, library) {
14
+ function(BadgeCustomData, Log, library, jQuery) {
14
15
  "use strict";
15
16
 
16
17
  var IBADGE_CSS_CLASS = "sapMBadge";
package/src/sap/m/Bar.js CHANGED
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @implements sap.m.IBar
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.99.1
59
+ * @version 1.102.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -337,24 +337,15 @@ sap.ui.define([
337
337
  sLeftOrRight = bRtl ? "right" : "left",
338
338
  sRightOrLeft = bRtl ? "left" : "right",
339
339
  oMidBarCss = { visibility : "" },
340
- aContentLeftControls = this.getContentLeft().filter(function(oControl) { return oControl.getVisible(); }),
341
- aContentRightControls = this.getContentRight().filter(function(oControl) { return oControl.getVisible(); }),
342
- iContentLeftPadding = aContentLeftControls.length ? 0 : parseInt(this._$LeftBar.css('padding-' + sLeftOrRight)),
343
- iContentRightPadding = aContentRightControls.length ? 0 : parseInt(this._$RightBar.css('padding-' + sRightOrLeft));
344
-
345
- if (this.getEnableFlexBox()) {
346
-
347
- iMidBarPlaceholderWidth = iBarWidth - iLeftBarWidth - iRightBarWidth - parseInt(this._$MidBarPlaceHolder.css('margin-left')) - parseInt(this._$MidBarPlaceHolder.css('margin-right'));
348
-
349
- oMidBarCss.position = "absolute";
350
- oMidBarCss.width = iMidBarPlaceholderWidth + iContentLeftPadding + iContentRightPadding + "px";
351
- oMidBarCss[sLeftOrRight] = iLeftBarWidth - iContentLeftPadding;
352
-
353
- //calculation for flex is done
354
- return oMidBarCss;
355
- }
356
-
357
- var iSpaceBetweenLeftAndRight = iBarWidth - iLeftBarWidth - iRightBarWidth,
340
+ iLeftContentPadding = parseInt(this._$LeftBar.css('padding-' + sLeftOrRight)),
341
+ iRightContentPadding = parseInt(this._$RightBar.css('padding-' + sRightOrLeft)),
342
+ iMidContentLeftPadding = parseInt(this._$MidBarPlaceHolder.css('padding-' + sLeftOrRight)),
343
+ iMidContentRightPadding = parseInt(this._$MidBarPlaceHolder.css('padding-' + sRightOrLeft)),
344
+ bEmptyLeftContent = iLeftBarWidth === iLeftContentPadding,
345
+ bEmptyRightContent = iRightBarWidth === iRightContentPadding,
346
+ iLeftContentDelta = iLeftContentPadding - iMidContentLeftPadding,
347
+ iRightContentDelta = iRightContentPadding - iMidContentRightPadding,
348
+ iSpaceBetweenLeftAndRight = iBarWidth - ( bEmptyRightContent ? iRightContentDelta : iRightBarWidth) - (bEmptyLeftContent ? iLeftContentDelta : iLeftBarWidth),
358
349
  iMidBarStartingPoint = (iBarWidth / 2) - (iMidBarPlaceholderWidth / 2),
359
350
  bLeftContentIsOverlapping = iLeftBarWidth > iMidBarStartingPoint,
360
351
  iMidBarEndPoint = (iBarWidth / 2) + (iMidBarPlaceholderWidth / 2),
@@ -369,10 +360,10 @@ sap.ui.define([
369
360
  oMidBarCss.position = "absolute";
370
361
 
371
362
  //Use the remaining space
372
- oMidBarCss.width = iSpaceBetweenLeftAndRight + iContentLeftPadding + iContentRightPadding + "px";
363
+ oMidBarCss.width = iSpaceBetweenLeftAndRight + "px";
373
364
 
374
365
  //Set left or right depending on LTR/RTL
375
- oMidBarCss[sLeftOrRight] = iLeftBarWidth - iContentLeftPadding;
366
+ oMidBarCss[sLeftOrRight] = bEmptyLeftContent ? iLeftContentDelta : iLeftBarWidth;
376
367
  }
377
368
 
378
369
  return oMidBarCss;
@@ -42,7 +42,10 @@ sap.ui.define([
42
42
  var SelectType = library.SelectType,
43
43
 
44
44
  // shortcut for sap.m.BreadCrumbsSeparatorStyle
45
- SeparatorStyle = library.BreadcrumbsSeparatorStyle;
45
+ SeparatorStyle = library.BreadcrumbsSeparatorStyle,
46
+
47
+ // shortcut for texts resource bundle
48
+ oResource = sap.ui.getCore().getLibraryResourceBundle("sap.m");
46
49
 
47
50
  /**
48
51
  * Constructor for a new <code>Breadcrumbs</code>.
@@ -60,7 +63,7 @@ sap.ui.define([
60
63
  * @extends sap.ui.core.Control
61
64
  *
62
65
  * @author SAP SE
63
- * @version 1.99.1
66
+ * @version 1.102.0
64
67
  *
65
68
  * @constructor
66
69
  * @public
@@ -135,10 +138,15 @@ sap.ui.define([
135
138
  DoubleGreaterThan: ">>"
136
139
  };
137
140
 
141
+ Breadcrumbs._getResourceBundleText = function (sText, vOptions) {
142
+ return oResource.getText(sText, vOptions);
143
+ };
144
+
138
145
  /*************************************** Framework lifecycle events ******************************************/
139
146
 
140
147
  Breadcrumbs.prototype.init = function () {
141
148
  this._sSeparatorSymbol = Breadcrumbs.STYLE_MAPPER[this.getSeparatorStyle()];
149
+ this._aCachedInvisibleTexts = [];
142
150
  this._getInvisibleText();
143
151
  };
144
152
 
@@ -153,6 +161,9 @@ sap.ui.define([
153
161
  if (this._bControlsInfoCached) {
154
162
  this._updateSelect(true);
155
163
  }
164
+
165
+ this._destroyInvisibleTexts();
166
+ this._aCachedInvisibleTexts = this._buildInvisibleTexts();
156
167
  };
157
168
 
158
169
  Breadcrumbs.prototype.onAfterRendering = function () {
@@ -177,6 +188,7 @@ sap.ui.define([
177
188
  Breadcrumbs.prototype.exit = function () {
178
189
  this._resetControl();
179
190
  this._destroyItemNavigation();
191
+ this._destroyInvisibleTexts();
180
192
 
181
193
  if (this._oInvisibleText) {
182
194
  this._oInvisibleText.destroy();
@@ -196,7 +208,7 @@ sap.ui.define([
196
208
 
197
209
 
198
210
  Breadcrumbs.prototype._getInvisibleText = function() {
199
- var oAriaLabelText = BreadcrumbsRenderer._getResourceBundleText("BREADCRUMB_LABEL");
211
+ var oAriaLabelText = Breadcrumbs._getResourceBundleText("BREADCRUMB_LABEL");
200
212
 
201
213
  if (!this._oInvisibleText) {
202
214
  this._oInvisibleText = new InvisibleText({ id: this.getId() + "-InvisibleText"});
@@ -215,7 +227,7 @@ sap.ui.define([
215
227
  autoAdjustWidth: true,
216
228
  icon: IconPool.getIconURI("slim-arrow-down"),
217
229
  type: SelectType.IconOnly,
218
- tooltip: BreadcrumbsRenderer._getResourceBundleText("BREADCRUMB_SELECT_TOOLTIP")
230
+ tooltip: Breadcrumbs._getResourceBundleText("BREADCRUMB_SELECT_TOOLTIP")
219
231
  })), true);
220
232
  }
221
233
  return this.getAggregation("_select");
@@ -231,10 +243,8 @@ sap.ui.define([
231
243
 
232
244
  oCurrentLocation.addEventDelegate({
233
245
  onAfterRendering: function () {
234
- oCurrentLocation.$().attr("aria-current", "page");
235
- oCurrentLocation.$().attr("tabindex", 0);
236
- oCurrentLocation.$().attr("role", "link");
237
- }
246
+ this._setCurrentLocationAccInfo(oCurrentLocation);
247
+ }.bind(this)
238
248
  });
239
249
 
240
250
  this.setAggregation("_currentLocation", oCurrentLocation).addStyleClass("sapMBreadcrumbsCurrentLocation");
@@ -242,6 +252,16 @@ sap.ui.define([
242
252
  return this.getAggregation("_currentLocation");
243
253
  };
244
254
 
255
+ Breadcrumbs.prototype._setCurrentLocationAccInfo = function (oCurrentLocation) {
256
+ var aVisibleItems = this._getControlsForBreadcrumbTrail(),
257
+ positionText = Breadcrumbs._getResourceBundleText("BREADCRUMB_ITEM_POS", [aVisibleItems.length, aVisibleItems.length]);
258
+
259
+ oCurrentLocation.$().attr("aria-current", "page");
260
+ oCurrentLocation.$().attr("tabindex", 0);
261
+ oCurrentLocation.$().attr("role", "link");
262
+ oCurrentLocation.$().attr("aria-label", this.getCurrentLocationText() + " " + positionText);
263
+ };
264
+
245
265
  function fnConvertArguments(sAggregationName, aArguments) {
246
266
  var aConvertedArguments = Array.prototype.slice.apply(aArguments);
247
267
  aConvertedArguments.unshift(sAggregationName);
@@ -285,6 +305,22 @@ sap.ui.define([
285
305
  return vResult;
286
306
  };
287
307
 
308
+ Breadcrumbs.prototype._destroyInvisibleTexts = function () {
309
+ var oControl;
310
+ this._aCachedInvisibleTexts.forEach(function (oData) {
311
+ oControl = sap.ui.getCore().byId(oData.controlId);
312
+
313
+ // remove reference to the invisible text on the sap.m.Link control
314
+ // check for control existence as it might have been destroyed already
315
+ if (oControl && oControl.removeAriaLabelledBy) {
316
+ oControl.removeAriaLabelledBy(oData.invisibleText.getId());
317
+ }
318
+
319
+ oData.invisibleText.destroy();
320
+ });
321
+ this._aCachedInvisibleTexts = [];
322
+ };
323
+
288
324
  /*************************************** Select Handling ******************************************/
289
325
 
290
326
  Breadcrumbs.prototype._decorateSelect = function (oSelect) {
@@ -448,6 +484,43 @@ sap.ui.define([
448
484
  };
449
485
  };
450
486
 
487
+ /**
488
+ * Creates InvisibleText instances for the Link controls in the Breadcrumbs.
489
+ * Used to add the position and the size of the controls to their ariaLabelledBy association.
490
+ * An array of objects is returned for the instances to be destroyed on next invalidation with the following properties:
491
+ * - controlId: the id of the Link to later remove the InvisibleText instance id from the ariaLabelledBy association
492
+ * - invisibleText: the InvisibleText control itself to be destroyed
493
+ */
494
+ Breadcrumbs.prototype._buildInvisibleTexts = function() {
495
+ var aVisibleItems = this._getControlsForBreadcrumbTrail(), // all visible links outside the drop-down, including current location
496
+ iItemCount = aVisibleItems.length,
497
+ oInvisibleText,
498
+ oInvisibleTexts = [];
499
+
500
+ aVisibleItems.forEach(function(oItem, iIndex) {
501
+ if (!oItem.isA("sap.m.Link")) {
502
+ // only links are relevant for the ariaLabelledBy association
503
+ return;
504
+ }
505
+
506
+ oInvisibleText = new InvisibleText({
507
+ text: Breadcrumbs._getResourceBundleText("BREADCRUMB_ITEM_POS", [iIndex + 1, iItemCount])
508
+ }).toStatic();
509
+
510
+ if (oItem.getAriaLabelledBy().indexOf(oItem.getId()) === -1) {
511
+ oItem.addAriaLabelledBy(oItem.getId());
512
+ }
513
+
514
+ oItem.addAriaLabelledBy(oInvisibleText.getId());
515
+ oInvisibleTexts.push({
516
+ controlId: oItem.getId(),
517
+ invisibleText: oInvisibleText
518
+ });
519
+ });
520
+
521
+ return oInvisibleTexts;
522
+ };
523
+
451
524
  Breadcrumbs.prototype._getControlDistribution = function (iMaxContentSize) {
452
525
  iMaxContentSize = iMaxContentSize || this._iContainerSize;
453
526
  this._iContainerSize = iMaxContentSize;
@@ -607,8 +680,8 @@ sap.ui.define([
607
680
 
608
681
  this.addDelegate(oItemNavigation);
609
682
  oItemNavigation.setDisabledModifiers({
610
- sapnext : ["alt"],
611
- sapprevious : ["alt"],
683
+ sapnext: ["alt", "meta"],
684
+ sapprevious: ["alt", "meta"],
612
685
  saphome : ["alt"],
613
686
  sapend : ["alt"]
614
687
  });
@@ -16,7 +16,6 @@ sap.ui.define(["sap/m/Text"], function (Text) {
16
16
  apiVersion: 2
17
17
  };
18
18
 
19
- var oResource = sap.ui.getCore().getLibraryResourceBundle("sap.m");
20
19
 
21
20
  /**
22
21
  * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
@@ -51,15 +50,15 @@ sap.ui.define(["sap/m/Text"], function (Text) {
51
50
  this._renderControlInListItem(oRm, oSelect, sSeparator, false, "sapMBreadcrumbsSelectItem");
52
51
  }
53
52
 
54
- aControls.forEach(function (oChildControl) {
55
- this._renderControlInListItem(oRm, oChildControl, sSeparator, oChildControl instanceof Text);
53
+ aControls.forEach(function (oChildControl, iIndex) {
54
+ this._renderControlInListItem(oRm, oChildControl, sSeparator, oChildControl instanceof Text, undefined, iIndex, aControls.length);
56
55
  }, this);
57
56
 
58
57
  oRm.close("ol");
59
58
  oRm.close("nav");
60
59
  };
61
60
 
62
- BreadcrumbsRenderer._renderControlInListItem = function (oRm, oControl, sSeparator, bSkipSeparator, sAdditionalItemClass) {
61
+ BreadcrumbsRenderer._renderControlInListItem = function (oRm, oControl, sSeparator, bSkipSeparator, sAdditionalItemClass, iIndex, iVisibleItemsCount) {
63
62
  oRm.openStart("li");
64
63
  oRm.class("sapMBreadcrumbsItem");
65
64
  oRm.class(sAdditionalItemClass);
@@ -71,9 +70,6 @@ sap.ui.define(["sap/m/Text"], function (Text) {
71
70
  oRm.close("li");
72
71
  };
73
72
 
74
- BreadcrumbsRenderer._getResourceBundleText = function (sText) {
75
- return oResource.getText(sText);
76
- };
77
73
 
78
74
  return BreadcrumbsRenderer;
79
75
 
@@ -62,7 +62,7 @@ sap.ui.define(['./library',
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.99.1
65
+ * @version 1.102.0
66
66
  *
67
67
  * @public
68
68
  * @alias sap.m.BusyDialog
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.99.1
49
+ * @version 1.102.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -89,7 +89,7 @@ sap.ui.define([
89
89
  * @mixes sap.ui.core.ContextMenuSupport
90
90
  *
91
91
  * @author SAP SE
92
- * @version 1.99.1
92
+ * @version 1.102.0
93
93
  *
94
94
  * @constructor
95
95
  * @public
@@ -760,7 +760,7 @@ sap.ui.define([
760
760
  activeSrc : sActiveSrc,
761
761
  densityAware : bIconDensityAware,
762
762
 
763
- // do not use default tootip in icon as the button renders it's own tooltip
763
+ // do not use default tooltip in icon as the button renders it's own tooltip
764
764
  useIconTooltip: false
765
765
 
766
766
  }, sap.m.Image).addStyleClass("sapMBtnCustomIcon").setParent(this, null, true);
@@ -101,7 +101,7 @@ sap.ui.define([
101
101
  * @extends sap.ui.core.Control
102
102
  *
103
103
  * @author SAP SE
104
- * @version 1.99.1
104
+ * @version 1.102.0
105
105
  *
106
106
  * @constructor
107
107
  * @public
@@ -674,6 +674,9 @@ sap.ui.define([
674
674
  });
675
675
  }
676
676
 
677
+ this._oMobifyCarousel.$items.each(function (iIndex, oPage) {
678
+ oPage.className.indexOf('sapMCrslActive') <= -1 ? oPage.setAttribute('aria-selected', false) : oPage.setAttribute('aria-selected', true);
679
+ });
677
680
  // change the number in the page indicator
678
681
  this.$('slide-number').text(sTextBetweenNumbers);
679
682
  };
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function (ManagedObject) {
15
15
  * Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.99.1
18
+ * @version 1.102.0
19
19
  *
20
20
  * @extends sap.ui.base.ManagedObject
21
21
  *
@@ -133,7 +133,8 @@ sap.ui.define([
133
133
  .accessibilityState(oPage, {
134
134
  role: "option",
135
135
  posinset: iIndex + 1,
136
- setsize: aArray.length
136
+ setsize: aArray.length,
137
+ selected: oCarousel.getActivePage() === oPage.getId() ? true : false
137
138
  }).openEnd();
138
139
 
139
140
  CarouselRenderer._renderPageInScrollContainer(oRM, oCarousel, oPage);
@@ -308,7 +309,8 @@ sap.ui.define([
308
309
  * effect with an offset for the page indicator.
309
310
  *
310
311
  * @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer
311
- * @param oPage the page to check
312
+ * @param {sap.m.Carousel} oCarousel the carousel containg the page
313
+ * @param {sap.ui.core.Control} oPage the page to check
312
314
  * @private
313
315
  */
314
316
  CarouselRenderer._renderPageInScrollContainer = function (oRM, oCarousel, oPage) {
@@ -13,8 +13,7 @@ sap.ui.define([
13
13
  'sap/ui/core/EnabledPropagator',
14
14
  'sap/ui/core/library',
15
15
  './CheckBoxRenderer',
16
- "sap/ui/thirdparty/jquery",
17
- "sap/ui/events/KeyCodes",
16
+ 'sap/ui/events/KeyCodes',
18
17
  'sap/ui/core/LabelEnablement',
19
18
  'sap/ui/core/message/MessageMixin'
20
19
  ],
@@ -26,7 +25,6 @@ sap.ui.define([
26
25
  EnabledPropagator,
27
26
  coreLibrary,
28
27
  CheckBoxRenderer,
29
- jQuery,
30
28
  KeyCodes,
31
29
  LabelEnablement,
32
30
  MessageMixin
@@ -88,7 +86,7 @@ sap.ui.define([
88
86
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
89
87
  *
90
88
  * @author SAP SE
91
- * @version 1.99.1
89
+ * @version 1.102.0
92
90
  *
93
91
  * @constructor
94
92
  * @public
@@ -104,7 +104,7 @@ sap.ui.define([
104
104
  * To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
105
105
  *
106
106
  * @extends sap.ui.core.Control
107
- * @version 1.99.1
107
+ * @version 1.102.0
108
108
  *
109
109
  * @constructor
110
110
  * @public
@@ -594,6 +594,12 @@ sap.ui.define([
594
594
  this._oPaletteColorItemNavigation.setCycling(false);
595
595
  this.addDelegate(this._oPaletteColorItemNavigation);
596
596
  this._oPaletteColorItemNavigation.attachEvent(ItemNavigation.Events.BorderReached, this._onSwatchContainerBorderReached, this);
597
+ this._oPaletteColorItemNavigation.setDisabledModifiers({
598
+ sapnext: ["alt", "meta"],
599
+ sapprevious: ["alt", "meta"],
600
+ saphome : ["alt", "meta"],
601
+ sapend : ["meta"]
602
+ });
597
603
  }
598
604
 
599
605
  if (!this._oRecentColorItemNavigation) {
@@ -602,6 +608,12 @@ sap.ui.define([
602
608
  this._oRecentColorItemNavigation.setCycling(false);
603
609
  this.addDelegate(this._oRecentColorItemNavigation);
604
610
  this._oRecentColorItemNavigation.attachEvent(ItemNavigation.Events.BorderReached, this._onSwatchContainerBorderReached, this);
611
+ this._oRecentColorItemNavigation.setDisabledModifiers({
612
+ sapnext: ["alt", "meta"],
613
+ sapprevious: ["alt", "meta"],
614
+ saphome : ["alt", "meta"],
615
+ sapend : ["meta"]
616
+ });
605
617
  }
606
618
 
607
619
  // all currently available swatches
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * A thin wrapper over {@link sap.m.ColorPalette} allowing the latter to be used in a popover.
39
39
  *
40
40
  * @extends sap.ui.core.Control
41
- * @version 1.99.1
41
+ * @version 1.102.0
42
42
  *
43
43
  * @constructor
44
44
  * @public