@openui5/sap.m 1.101.0 → 1.103.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 (473) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +2 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +4 -4
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/App.js +1 -1
  9. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  10. package/src/sap/m/Avatar.js +1 -1
  11. package/src/sap/m/Bar.js +12 -22
  12. package/src/sap/m/BarInPageEnabler.js +1 -1
  13. package/src/sap/m/Breadcrumbs.js +29 -4
  14. package/src/sap/m/BusyDialog.js +1 -1
  15. package/src/sap/m/BusyIndicator.js +1 -1
  16. package/src/sap/m/Button.js +4 -4
  17. package/src/sap/m/Carousel.js +1 -1
  18. package/src/sap/m/CarouselLayout.js +1 -1
  19. package/src/sap/m/CheckBox.js +1 -1
  20. package/src/sap/m/ColorPalette.js +13 -1
  21. package/src/sap/m/ColorPalettePopover.js +1 -1
  22. package/src/sap/m/Column.js +10 -1
  23. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  24. package/src/sap/m/ColumnListItem.js +1 -1
  25. package/src/sap/m/ColumnListItemRenderer.js +6 -2
  26. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  31. package/src/sap/m/ComboBox.js +22 -2
  32. package/src/sap/m/ComboBoxBase.js +7 -7
  33. package/src/sap/m/ComboBoxTextField.js +1 -1
  34. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  35. package/src/sap/m/CustomListItem.js +1 -1
  36. package/src/sap/m/CustomTile.js +1 -1
  37. package/src/sap/m/CustomTreeItem.js +1 -1
  38. package/src/sap/m/DatePicker.js +25 -7
  39. package/src/sap/m/DateRangeSelection.js +5 -5
  40. package/src/sap/m/DateTimeField.js +22 -10
  41. package/src/sap/m/DateTimeInput.js +1 -1
  42. package/src/sap/m/DateTimePicker.js +22 -10
  43. package/src/sap/m/DateTimePickerRenderer.js +1 -1
  44. package/src/sap/m/Dialog.js +4 -11
  45. package/src/sap/m/DialogRenderer.js +1 -1
  46. package/src/sap/m/DisplayListItem.js +1 -1
  47. package/src/sap/m/DraftIndicator.js +1 -1
  48. package/src/sap/m/DynamicDate.js +1 -1
  49. package/src/sap/m/DynamicDateFormat.js +72 -18
  50. package/src/sap/m/DynamicDateOption.js +1 -1
  51. package/src/sap/m/DynamicDateRange.js +105 -26
  52. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  53. package/src/sap/m/ExpandableText.js +1 -1
  54. package/src/sap/m/FacetFilter.js +36 -28
  55. package/src/sap/m/FacetFilterItem.js +1 -1
  56. package/src/sap/m/FacetFilterList.js +1 -1
  57. package/src/sap/m/FeedContent.js +1 -1
  58. package/src/sap/m/FeedInput.js +1 -1
  59. package/src/sap/m/FeedListItem.js +1 -1
  60. package/src/sap/m/FeedListItemAction.js +1 -1
  61. package/src/sap/m/Fiori20Adapter.js +2 -2
  62. package/src/sap/m/FlexBox.js +1 -1
  63. package/src/sap/m/FlexItemData.js +2 -2
  64. package/src/sap/m/FormattedText.js +10 -10
  65. package/src/sap/m/GenericTag.js +5 -5
  66. package/src/sap/m/GenericTile.js +98 -16
  67. package/src/sap/m/GenericTileLineModeRenderer.js +3 -1
  68. package/src/sap/m/GenericTileRenderer.js +98 -62
  69. package/src/sap/m/GroupHeaderListItem.js +1 -1
  70. package/src/sap/m/GrowingEnablement.js +171 -95
  71. package/src/sap/m/GrowingList.js +1 -1
  72. package/src/sap/m/HBox.js +1 -1
  73. package/src/sap/m/HeaderContainer.js +50 -65
  74. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  75. package/src/sap/m/IconTabBar.js +3 -2
  76. package/src/sap/m/IconTabBarSelectList.js +1 -1
  77. package/src/sap/m/IconTabFilter.js +4 -4
  78. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  79. package/src/sap/m/IconTabHeader.js +8 -2
  80. package/src/sap/m/IconTabSeparator.js +1 -1
  81. package/src/sap/m/IllustratedMessage.js +1 -1
  82. package/src/sap/m/Illustration.js +1 -1
  83. package/src/sap/m/Image.js +1 -1
  84. package/src/sap/m/ImageContent.js +1 -1
  85. package/src/sap/m/Input.js +2 -14
  86. package/src/sap/m/InputBase.js +16 -9
  87. package/src/sap/m/InputListItem.js +1 -1
  88. package/src/sap/m/InstanceManager.js +14 -19
  89. package/src/sap/m/Label.js +1 -1
  90. package/src/sap/m/LightBox.js +1 -1
  91. package/src/sap/m/LightBoxItem.js +1 -1
  92. package/src/sap/m/Link.js +1 -1
  93. package/src/sap/m/List.js +1 -1
  94. package/src/sap/m/ListBase.js +17 -16
  95. package/src/sap/m/ListItemBase.js +5 -4
  96. package/src/sap/m/MaskEnabler.js +1 -1
  97. package/src/sap/m/MaskInput.js +1 -1
  98. package/src/sap/m/MaskInputRenderer.js +10 -0
  99. package/src/sap/m/MaskInputRule.js +1 -1
  100. package/src/sap/m/Menu.js +1 -1
  101. package/src/sap/m/MenuButton.js +2 -1
  102. package/src/sap/m/MenuItem.js +1 -1
  103. package/src/sap/m/MenuListItem.js +3 -3
  104. package/src/sap/m/MessageBox.js +1020 -908
  105. package/src/sap/m/MessageItem.js +1 -1
  106. package/src/sap/m/MessageListItem.js +1 -1
  107. package/src/sap/m/MessagePage.js +1 -1
  108. package/src/sap/m/MessagePopover.js +1 -1
  109. package/src/sap/m/MessagePopoverItem.js +1 -1
  110. package/src/sap/m/MessageStrip.js +1 -1
  111. package/src/sap/m/MessageToast.js +1 -1
  112. package/src/sap/m/MessageView.js +1 -1
  113. package/src/sap/m/MultiComboBox.js +4 -4
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +15 -10
  116. package/src/sap/m/NavContainer.js +4 -4
  117. package/src/sap/m/NewsContent.js +1 -1
  118. package/src/sap/m/NotificationList.js +1 -1
  119. package/src/sap/m/NotificationListBase.js +175 -79
  120. package/src/sap/m/NotificationListGroup.js +1 -2
  121. package/src/sap/m/NotificationListGroupRenderer.js +4 -16
  122. package/src/sap/m/NotificationListItem.js +5 -16
  123. package/src/sap/m/NotificationListItemRenderer.js +0 -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 +14 -1
  127. package/src/sap/m/ObjectAttributeRenderer.js +5 -4
  128. package/src/sap/m/ObjectHeader.js +4 -4
  129. package/src/sap/m/ObjectHeaderRenderer.js +11 -11
  130. package/src/sap/m/ObjectIdentifier.js +3 -3
  131. package/src/sap/m/ObjectListItem.js +1 -1
  132. package/src/sap/m/ObjectMarker.js +7 -4
  133. package/src/sap/m/ObjectNumber.js +1 -1
  134. package/src/sap/m/ObjectStatus.js +1 -1
  135. package/src/sap/m/OverflowToolbar.js +51 -12
  136. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  137. package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
  138. package/src/sap/m/OverflowToolbarButton.js +1 -1
  139. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  140. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  141. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  142. package/src/sap/m/P13nColumnsItem.js +1 -1
  143. package/src/sap/m/P13nColumnsPanel.js +1 -1
  144. package/src/sap/m/P13nConditionPanel.js +32 -35
  145. package/src/sap/m/P13nDialog.js +3 -1
  146. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  147. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  148. package/src/sap/m/P13nFilterItem.js +1 -1
  149. package/src/sap/m/P13nFilterPanel.js +1 -1
  150. package/src/sap/m/P13nGroupItem.js +1 -1
  151. package/src/sap/m/P13nGroupPanel.js +1 -1
  152. package/src/sap/m/P13nItem.js +1 -1
  153. package/src/sap/m/P13nPanel.js +1 -1
  154. package/src/sap/m/P13nSelectionItem.js +1 -1
  155. package/src/sap/m/P13nSelectionPanel.js +1 -1
  156. package/src/sap/m/P13nSortItem.js +1 -1
  157. package/src/sap/m/P13nSortPanel.js +1 -1
  158. package/src/sap/m/PDFViewer.js +1 -1
  159. package/src/sap/m/Page.js +4 -4
  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 +1 -1
  163. package/src/sap/m/PlanningCalendar.js +1 -1
  164. package/src/sap/m/PlanningCalendarHeader.js +2 -2
  165. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  166. package/src/sap/m/PlanningCalendarRow.js +1 -1
  167. package/src/sap/m/PlanningCalendarView.js +1 -1
  168. package/src/sap/m/Popover.js +3 -3
  169. package/src/sap/m/PopoverRenderer.js +2 -2
  170. package/src/sap/m/ProgressIndicator.js +15 -29
  171. package/src/sap/m/ProgressIndicatorRenderer.js +7 -1
  172. package/src/sap/m/PullToRefresh.js +1 -1
  173. package/src/sap/m/QuickView.js +2 -2
  174. package/src/sap/m/QuickViewBase.js +1 -1
  175. package/src/sap/m/QuickViewCard.js +1 -1
  176. package/src/sap/m/QuickViewGroup.js +1 -1
  177. package/src/sap/m/QuickViewGroupElement.js +2 -1
  178. package/src/sap/m/QuickViewPage.js +1 -1
  179. package/src/sap/m/RadioButton.js +2 -2
  180. package/src/sap/m/RadioButtonGroup.js +2 -2
  181. package/src/sap/m/RangeSlider.js +82 -59
  182. package/src/sap/m/RangeSliderRenderer.js +34 -2
  183. package/src/sap/m/RatingIndicator.js +1 -1
  184. package/src/sap/m/ResponsivePopover.js +7 -6
  185. package/src/sap/m/ResponsiveScale.js +1 -1
  186. package/src/sap/m/ScrollBar.js +1 -1
  187. package/src/sap/m/ScrollContainer.js +1 -1
  188. package/src/sap/m/SearchField.js +1 -1
  189. package/src/sap/m/SegmentedButton.js +5 -3
  190. package/src/sap/m/SegmentedButtonItem.js +1 -1
  191. package/src/sap/m/Select.js +31 -8
  192. package/src/sap/m/SelectDialog.js +14 -18
  193. package/src/sap/m/SelectDialogBase.js +1 -1
  194. package/src/sap/m/SelectList.js +8 -8
  195. package/src/sap/m/SelectListRenderer.js +2 -2
  196. package/src/sap/m/SelectRenderer.js +37 -13
  197. package/src/sap/m/SelectionDetails.js +1 -1
  198. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  199. package/src/sap/m/SelectionDetailsItem.js +1 -1
  200. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  201. package/src/sap/m/Shell.js +1 -1
  202. package/src/sap/m/SimpleFixFlex.js +5 -6
  203. package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
  204. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  205. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  206. package/src/sap/m/SinglePlanningCalendarGrid.js +5 -5
  207. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  210. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  212. package/src/sap/m/SlideTile.js +1 -1
  213. package/src/sap/m/Slider.js +14 -5
  214. package/src/sap/m/SliderRenderer.js +27 -2
  215. package/src/sap/m/SliderTooltip.js +1 -1
  216. package/src/sap/m/SliderTooltipBase.js +1 -1
  217. package/src/sap/m/SliderTooltipContainer.js +3 -3
  218. package/src/sap/m/SplitApp.js +1 -1
  219. package/src/sap/m/SplitButton.js +1 -1
  220. package/src/sap/m/SplitContainer.js +3 -11
  221. package/src/sap/m/StandardDynamicDateOption.js +12 -10
  222. package/src/sap/m/StandardListItem.js +3 -3
  223. package/src/sap/m/StandardListItemRenderer.js +1 -1
  224. package/src/sap/m/StandardTile.js +1 -1
  225. package/src/sap/m/StandardTreeItem.js +1 -1
  226. package/src/sap/m/StepInput.js +1 -1
  227. package/src/sap/m/SuggestionItem.js +1 -1
  228. package/src/sap/m/SuggestionsPopover.js +1 -1
  229. package/src/sap/m/Switch.js +1 -1
  230. package/src/sap/m/TabContainer.js +3 -2
  231. package/src/sap/m/TabContainerItem.js +1 -1
  232. package/src/sap/m/TabStrip.js +6 -4
  233. package/src/sap/m/TabStripItem.js +1 -1
  234. package/src/sap/m/Table.js +7 -1
  235. package/src/sap/m/TablePersoController.js +2 -2
  236. package/src/sap/m/TablePersoDialog.js +2 -2
  237. package/src/sap/m/TablePersoProvider.js +2 -2
  238. package/src/sap/m/TableRenderer.js +27 -0
  239. package/src/sap/m/TableSelectDialog.js +13 -9
  240. package/src/sap/m/Text.js +2 -2
  241. package/src/sap/m/TextArea.js +4 -3
  242. package/src/sap/m/TextRenderer.js +2 -0
  243. package/src/sap/m/Tile.js +1 -1
  244. package/src/sap/m/TileContainer.js +6 -6
  245. package/src/sap/m/TileContent.js +26 -14
  246. package/src/sap/m/TileContentRenderer.js +16 -7
  247. package/src/sap/m/TimePicker.js +82 -20
  248. package/src/sap/m/TimePickerClock.js +1 -1
  249. package/src/sap/m/TimePickerClocks.js +1 -1
  250. package/src/sap/m/TimePickerClocksRenderer.js +1 -0
  251. package/src/sap/m/TimePickerInputs.js +1 -1
  252. package/src/sap/m/TimePickerInternals.js +1 -1
  253. package/src/sap/m/TimePickerSlider.js +1 -1
  254. package/src/sap/m/TimePickerSliders.js +1 -1
  255. package/src/sap/m/Title.js +2 -2
  256. package/src/sap/m/TitlePropagationSupport.js +1 -1
  257. package/src/sap/m/ToggleButton.js +1 -1
  258. package/src/sap/m/Token.js +1 -1
  259. package/src/sap/m/Tokenizer.js +14 -3
  260. package/src/sap/m/Toolbar.js +7 -1
  261. package/src/sap/m/ToolbarLayoutData.js +6 -2
  262. package/src/sap/m/ToolbarSeparator.js +1 -1
  263. package/src/sap/m/ToolbarSpacer.js +1 -1
  264. package/src/sap/m/Tree.js +1 -1
  265. package/src/sap/m/TreeItemBase.js +1 -1
  266. package/src/sap/m/UploadCollection.js +5 -5
  267. package/src/sap/m/UploadCollectionItem.js +2 -1
  268. package/src/sap/m/UploadCollectionParameter.js +2 -1
  269. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
  270. package/src/sap/m/VBox.js +1 -1
  271. package/src/sap/m/ValueStateHeader.js +1 -1
  272. package/src/sap/m/VariantManagement.js +2492 -0
  273. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  274. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  275. package/src/sap/m/ViewSettingsDialog.js +4 -4
  276. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  277. package/src/sap/m/ViewSettingsItem.js +1 -1
  278. package/src/sap/m/VisibleItem.js +1 -1
  279. package/src/sap/m/WheelSlider.js +1 -1
  280. package/src/sap/m/WheelSliderContainer.js +1 -1
  281. package/src/sap/m/Wizard.js +1 -1
  282. package/src/sap/m/WizardProgressNavigator.js +1 -2
  283. package/src/sap/m/WizardStep.js +1 -1
  284. package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
  285. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  286. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  287. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  288. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  289. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  290. package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
  291. package/src/sap/m/designtime/messagebundle_de.properties +2 -2
  292. package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
  293. package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
  294. package/src/sap/m/library.js +48 -5
  295. package/src/sap/m/messagebundle.properties +156 -12
  296. package/src/sap/m/messagebundle_ar.properties +103 -7
  297. package/src/sap/m/messagebundle_bg.properties +103 -7
  298. package/src/sap/m/messagebundle_ca.properties +103 -7
  299. package/src/sap/m/messagebundle_cs.properties +105 -9
  300. package/src/sap/m/messagebundle_cy.properties +103 -7
  301. package/src/sap/m/messagebundle_da.properties +103 -7
  302. package/src/sap/m/messagebundle_de.properties +104 -8
  303. package/src/sap/m/messagebundle_el.properties +103 -7
  304. package/src/sap/m/messagebundle_en.properties +103 -7
  305. package/src/sap/m/messagebundle_en_GB.properties +103 -7
  306. package/src/sap/m/messagebundle_en_US_sappsd.properties +103 -7
  307. package/src/sap/m/messagebundle_en_US_saprigi.properties +105 -7
  308. package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -7
  309. package/src/sap/m/messagebundle_es.properties +103 -7
  310. package/src/sap/m/messagebundle_es_MX.properties +103 -7
  311. package/src/sap/m/messagebundle_et.properties +103 -7
  312. package/src/sap/m/messagebundle_fi.properties +103 -7
  313. package/src/sap/m/messagebundle_fr.properties +117 -21
  314. package/src/sap/m/messagebundle_fr_CA.properties +103 -7
  315. package/src/sap/m/messagebundle_hi.properties +103 -7
  316. package/src/sap/m/messagebundle_hr.properties +103 -7
  317. package/src/sap/m/messagebundle_hu.properties +103 -7
  318. package/src/sap/m/messagebundle_id.properties +103 -7
  319. package/src/sap/m/messagebundle_it.properties +110 -14
  320. package/src/sap/m/messagebundle_iw.properties +103 -7
  321. package/src/sap/m/messagebundle_ja.properties +103 -7
  322. package/src/sap/m/messagebundle_kk.properties +103 -7
  323. package/src/sap/m/messagebundle_ko.properties +114 -18
  324. package/src/sap/m/messagebundle_lt.properties +103 -7
  325. package/src/sap/m/messagebundle_lv.properties +103 -7
  326. package/src/sap/m/messagebundle_ms.properties +103 -7
  327. package/src/sap/m/messagebundle_nl.properties +103 -7
  328. package/src/sap/m/messagebundle_no.properties +107 -11
  329. package/src/sap/m/messagebundle_pl.properties +103 -7
  330. package/src/sap/m/messagebundle_pt.properties +112 -16
  331. package/src/sap/m/messagebundle_pt_PT.properties +103 -7
  332. package/src/sap/m/messagebundle_ro.properties +104 -8
  333. package/src/sap/m/messagebundle_ru.properties +103 -7
  334. package/src/sap/m/messagebundle_sh.properties +104 -8
  335. package/src/sap/m/messagebundle_sk.properties +103 -7
  336. package/src/sap/m/messagebundle_sl.properties +105 -9
  337. package/src/sap/m/messagebundle_sv.properties +103 -7
  338. package/src/sap/m/messagebundle_th.properties +103 -7
  339. package/src/sap/m/messagebundle_tr.properties +104 -8
  340. package/src/sap/m/messagebundle_uk.properties +104 -8
  341. package/src/sap/m/messagebundle_vi.properties +103 -7
  342. package/src/sap/m/messagebundle_zh_CN.properties +104 -8
  343. package/src/sap/m/messagebundle_zh_TW.properties +107 -11
  344. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  345. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  346. package/src/sap/m/p13n/BasePanel.js +1 -1
  347. package/src/sap/m/p13n/Container.js +1 -1
  348. package/src/sap/m/p13n/GroupPanel.js +16 -5
  349. package/src/sap/m/p13n/Popup.js +1 -1
  350. package/src/sap/m/p13n/QueryPanel.js +55 -33
  351. package/src/sap/m/p13n/SelectionPanel.js +31 -6
  352. package/src/sap/m/p13n/SortPanel.js +24 -13
  353. package/src/sap/m/plugins/ColumnResizer.js +12 -6
  354. package/src/sap/m/plugins/DataStateIndicator.js +13 -4
  355. package/src/sap/m/plugins/PasteProvider.js +1 -1
  356. package/src/sap/m/plugins/PluginBase.js +2 -2
  357. package/src/sap/m/rules/CheckBox.support.js +1 -1
  358. package/src/sap/m/rules/DatePicker.support.js +4 -3
  359. package/src/sap/m/rules/Image.support.js +1 -1
  360. package/src/sap/m/rules/Link.support.js +1 -1
  361. package/src/sap/m/rules/MessagePage.support.js +1 -1
  362. package/src/sap/m/rules/ObjectHeader.support.js +6 -6
  363. package/src/sap/m/rules/ObjectListItem.support.js +1 -1
  364. package/src/sap/m/rules/ObjectMarker.support.js +1 -1
  365. package/src/sap/m/rules/ObjectStatus.support.js +1 -1
  366. package/src/sap/m/rules/Select.support.js +1 -1
  367. package/src/sap/m/rules/Table.support.js +3 -3
  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 +3 -3
  397. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
  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 +17 -13
  409. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  410. package/src/sap/m/table/columnmenu/Entry.js +1 -11
  411. package/src/sap/m/table/columnmenu/Item.js +1 -1
  412. package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
  413. package/src/sap/m/table/columnmenu/Menu.js +41 -27
  414. package/src/sap/m/table/columnmenu/MenuRenderer.js +4 -3
  415. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
  417. package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
  418. package/src/sap/m/table/columnmenu/QuickGroup.js +2 -11
  419. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -13
  420. package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
  421. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  422. package/src/sap/m/table/columnmenu/QuickTotal.js +2 -22
  423. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -13
  424. package/src/sap/m/themes/base/ActionListItem.less +2 -2
  425. package/src/sap/m/themes/base/Breadcrumbs.less +11 -0
  426. package/src/sap/m/themes/base/Button.less +1 -6
  427. package/src/sap/m/themes/base/Carousel.less +72 -87
  428. package/src/sap/m/themes/base/CheckBox.less +1 -0
  429. package/src/sap/m/themes/base/ColumnListItem.less +0 -3
  430. package/src/sap/m/themes/base/Dialog.less +6 -2
  431. package/src/sap/m/themes/base/GenericTag.less +5 -3
  432. package/src/sap/m/themes/base/GenericTile.less +412 -148
  433. package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
  434. package/src/sap/m/themes/base/InputBase.less +2 -1
  435. package/src/sap/m/themes/base/LightBox.less +6 -16
  436. package/src/sap/m/themes/base/ListItemBase.less +1 -12
  437. package/src/sap/m/themes/base/MenuButton.less +16 -0
  438. package/src/sap/m/themes/base/MessageBox.less +9 -8
  439. package/src/sap/m/themes/base/NewsContent.less +0 -9
  440. package/src/sap/m/themes/base/NotificationListBase.less +9 -14
  441. package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
  442. package/src/sap/m/themes/base/NotificationListItem.less +14 -18
  443. package/src/sap/m/themes/base/ObjectListItem.less +3 -0
  444. package/src/sap/m/themes/base/ObjectNumber.less +5 -0
  445. package/src/sap/m/themes/base/ObjectStatus.less +3 -0
  446. package/src/sap/m/themes/base/Panel.less +1 -1
  447. package/src/sap/m/themes/base/Popover.less +1 -1
  448. package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
  449. package/src/sap/m/themes/base/QuickView.less +14 -2
  450. package/src/sap/m/themes/base/RatingIndicator.less +4 -0
  451. package/src/sap/m/themes/base/Select.less +1 -3
  452. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
  453. package/src/sap/m/themes/base/SlideTile.less +19 -0
  454. package/src/sap/m/themes/base/Slider.less +18 -18
  455. package/src/sap/m/themes/base/StandardListItem.less +6 -9
  456. package/src/sap/m/themes/base/Table.less +22 -21
  457. package/src/sap/m/themes/base/TextArea.less +5 -0
  458. package/src/sap/m/themes/base/TimePickerClock.less +7 -0
  459. package/src/sap/m/themes/base/Title.less +1 -1
  460. package/src/sap/m/themes/base/Token.less +3 -2
  461. package/src/sap/m/themes/base/Toolbar.less +1 -1
  462. package/src/sap/m/themes/base/UploadCollection.less +2 -0
  463. package/src/sap/m/themes/base/VariantManagement.less +97 -0
  464. package/src/sap/m/themes/base/Wizard.less +5 -4
  465. package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
  466. package/src/sap/m/themes/base/library.source.less +1 -0
  467. package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
  468. package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
  469. package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
  470. package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
  471. package/src/sap/m/upload/UploadSet.js +90 -14
  472. package/src/sap/m/upload/UploadSetItem.js +18 -5
  473. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +46 -0
@@ -4,11 +4,13 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
7
- "sap/ui/layout/Grid", "./BasePanel", "sap/ui/core/ListItem", "sap/m/CustomListItem", "sap/m/Select", "sap/m/List", "sap/m/HBox", "sap/m/library", "sap/m/Button", "sap/base/util/merge"
8
- ], function (Grid, BasePanel, Item, CustomListItem, Select, List, HBox, mLibrary, Button, merge) {
7
+ "sap/ui/layout/Grid", "./BasePanel", "sap/ui/core/ListItem", "sap/m/CustomListItem", "sap/m/ComboBox", "sap/m/List", "sap/m/HBox", "sap/m/library", "sap/m/Button", "sap/base/util/merge", 'sap/ui/core/library'
8
+ ], function (Grid, BasePanel, Item, CustomListItem, ComboBox, List, HBox, mLibrary, Button, merge, coreLibrary) {
9
9
  "use strict";
10
10
 
11
11
 
12
+ var ValueState = coreLibrary.ValueState;
13
+
12
14
  /**
13
15
  * Constructor for a new <code>QueryPanel</code>.
14
16
  *
@@ -22,7 +24,7 @@ sap.ui.define([
22
24
  * @extends sap.m.p13n.BasePanel
23
25
  *
24
26
  * @author SAP SE
25
- * @version 1.101.0
27
+ * @version 1.103.0
26
28
  *
27
29
  * @private
28
30
  * @ui5-restricted
@@ -54,8 +56,6 @@ sap.ui.define([
54
56
  // shortcut for sap.m.ButtonType
55
57
  var ButtonType = mLibrary.ButtonType;
56
58
 
57
- QueryPanel.prototype.NONE_KEY = "$_none";
58
-
59
59
  QueryPanel.prototype.init = function () {
60
60
  BasePanel.prototype.init.apply(this, arguments);
61
61
  this._bFocusOnRearrange = false;
@@ -162,11 +162,7 @@ sap.ui.define([
162
162
  QueryPanel.prototype._getAvailableItems = function (sKey) {
163
163
  var aItems = this._getP13nModel().getProperty("/items");
164
164
 
165
- var aAvailableItems = [new Item({
166
- key: this.NONE_KEY,
167
- text: this._getResourceText("p13n.QUERY_NONE"),
168
- enabled: !sKey
169
- })];
165
+ var aAvailableItems = [];
170
166
 
171
167
  aItems.forEach(function (oNonPresent, iIndex) {
172
168
  aAvailableItems.push(new Item({
@@ -175,7 +171,14 @@ sap.ui.define([
175
171
  enabled: {
176
172
  path: this.P13N_MODEL + ">/items/" + iIndex + "/" + this.PRESENCE_ATTRIBUTE,
177
173
  formatter: function(bQueried) {
178
- return !bQueried; //Only enable the selection in case there is not yet a query present
174
+ var oComboBox = this.getParent();
175
+ var selItem = oComboBox.getSelectedItem();
176
+ var selItemIndex = selItem && oComboBox.getItems().indexOf(selItem);
177
+
178
+ var sPath = this.getBindingPath("enabled");
179
+ var pathIndex = parseInt(sPath.split("/")[2]);
180
+
181
+ return !bQueried || selItemIndex === pathIndex; //Only enable the selection in case there is not yet a query present or the item is the selected item
179
182
  }
180
183
  }
181
184
  }));
@@ -209,9 +212,9 @@ sap.ui.define([
209
212
  // 2) At least 2 queries can be made
210
213
  // 3) The row is not exeeding the query limit
211
214
  if (
212
- this.getEnableReorder() &&
213
- (this.getQueryLimit() === -1 || (this.getQueryLimit() > 1 && this._oListControl.getItems().length < this.getQueryLimit()))
214
- ){
215
+ this.getEnableReorder() &&
216
+ (this.getQueryLimit() === -1 || (this.getQueryLimit() > 1 && this._oListControl.getItems().length < this.getQueryLimit()))
217
+ ){
215
218
  this._addHover(oRow);
216
219
  }
217
220
 
@@ -252,9 +255,17 @@ sap.ui.define([
252
255
  }
253
256
  };
254
257
 
258
+ QueryPanel.prototype._getPlaceholderText = function () {
259
+ return "";
260
+ };
261
+
262
+ QueryPanel.prototype._getRemoveButtonTooltipText = function () {
263
+ return "";
264
+ };
265
+
255
266
  QueryPanel.prototype._createKeySelect = function (sKey) {
256
267
  var that = this;
257
- var oKeySelect = new Select({
268
+ var oKeySelect = new ComboBox({
258
269
  width: "14rem",
259
270
  enabled: {
260
271
  path: this.P13N_MODEL + ">/items/",
@@ -274,43 +285,50 @@ sap.ui.define([
274
285
  },
275
286
  items: this._getAvailableItems(sKey),
276
287
  selectedKey: sKey,
277
- change: this._selectKey.bind(this)
288
+ placeholder: this._getPlaceholderText(),
289
+ selectionChange: function(oEvt) {
290
+ var oComboBox = oEvt.getSource();
291
+ var oSelItem = oComboBox.getSelectedItem();
292
+ // var sNewKey = oComboBox.getSelectedKey();
293
+ if (!oSelItem) {
294
+ this._selectKey(oComboBox);
295
+ }
296
+ }.bind(this),
297
+ change: function(oEvt) {
298
+ var oComboBox = oEvt.getSource();
299
+ var newValue = oEvt.getParameter("newValue");
300
+ this._selectKey(oComboBox);
301
+ oComboBox.setValueState( newValue && !oComboBox.getSelectedItem() ? ValueState.Error : ValueState.None);
302
+ }.bind(this)
278
303
  });
279
304
 
280
305
  return oKeySelect;
281
306
  };
282
307
 
283
- QueryPanel.prototype._selectKey = function(oEvt) {
284
-
285
- var oListItem = oEvt.getSource().getParent().getParent();
286
-
308
+ QueryPanel.prototype._selectKey = function(oComboBox) {
309
+ var sNewKey = oComboBox.getSelectedKey();
310
+ var sOldKey = oComboBox._key;
311
+ var oListItem = oComboBox.getParent().getParent();
287
312
  var bIsLastRow = this._oListControl.getItems().length - 1 == this._oListControl.getItems().indexOf(oListItem);
288
- var sNewKey = oEvt.getParameter("selectedItem").getKey();
289
- var sOldKey = oEvt.getSource()._key;
290
-
291
- var oBtnContainer = oListItem.getContent()[0].getContent()[oListItem.getContent()[0].getContent().length - 1];
292
- //var oRemoveBtn = oBtnContainer.getItems()[oBtnContainer.getItems().length - 1];
293
313
 
294
- oBtnContainer.setVisible(sNewKey !== this.NONE_KEY);
314
+ var aContent = oListItem.getContent()[0].getContent();
315
+ var oBtnContainer = aContent[aContent.length - 1];
316
+ oBtnContainer.setVisible(!(bIsLastRow && sNewKey == ""));
295
317
 
296
318
  //Remove previous
297
319
  if (sOldKey) {
298
320
  this._updatePresence(sOldKey, false, undefined);
299
321
  }
322
+
300
323
  //store old key
301
- oEvt.getSource()._key = sNewKey;
324
+ oComboBox._key = sNewKey;
302
325
 
303
326
  //add new
304
327
  this._updatePresence(sNewKey, true, this._oListControl.getItems().indexOf(oListItem));
305
328
 
306
329
  //Add a new row in case the last "empty" row has been configured
307
- if (sNewKey !== this.NONE_KEY && bIsLastRow) {
330
+ if (sNewKey !== "" && bIsLastRow) {
308
331
  this._addQueryRow();
309
- var oSelect = oEvt.getSource();
310
- var oNoneItem = oSelect.getItemByKey(this.NONE_KEY);
311
- if (oNoneItem) {
312
- oNoneItem.setEnabled(false);
313
- }
314
332
  }
315
333
  };
316
334
 
@@ -347,6 +365,10 @@ sap.ui.define([
347
365
  ]
348
366
  });
349
367
 
368
+ if (this._getRemoveButtonTooltipText()) {
369
+ oRemoveBox.getItems()[0].setTooltip(this._getRemoveButtonTooltipText());
370
+ }
371
+
350
372
  return oRemoveBox;
351
373
  };
352
374
 
@@ -19,8 +19,9 @@ sap.ui.define([
19
19
  "sap/m/Button",
20
20
  "sap/m/OverflowToolbar",
21
21
  "sap/ui/model/Filter",
22
- "sap/base/util/merge"
23
- ], function(BasePanel, Label, ColumnListItem, HBox, VBox, coreLibrary, Icon, Text, Column, Table, mLibrary, ToolbarSpacer, Button, OverflowToolbar, Filter, merge) {
22
+ "sap/base/util/merge",
23
+ "sap/ui/core/InvisibleText"
24
+ ], function(BasePanel, Label, ColumnListItem, HBox, VBox, coreLibrary, Icon, Text, Column, Table, mLibrary, ToolbarSpacer, Button, OverflowToolbar, Filter, merge, InvisibleText) {
24
25
  "use strict";
25
26
 
26
27
  // shortcut for sap.ui.core.IconColor
@@ -47,7 +48,7 @@ sap.ui.define([
47
48
  * @extends sap.m.p13n.BasePanel
48
49
  *
49
50
  * @author SAP SE
50
- * @version 1.101.0
51
+ * @version 1.103.0
51
52
  *
52
53
  * @public
53
54
  * @experimental Since 1.96.
@@ -151,6 +152,17 @@ sap.ui.define([
151
152
  }
152
153
  }
153
154
  }
155
+ }),
156
+ // The active status is visiually represented as dot icon in the tabular view, for the screen reader it needs to be ensured
157
+ // that a similar information is available without the UI. This InvisibleText will provide a text in the screen reader as:
158
+ // "Active Field is active" & "Active Field is inactive"
159
+ new InvisibleText({
160
+ text: {
161
+ path: this.P13N_MODEL + ">active",
162
+ formatter: function(bactive) {
163
+ return bactive ? this._getResourceText("p13n.ACTIVESTATE_ACTIVE") : this._getResourceText("p13n.ACTIVESTATE_INACTIVE");
164
+ }.bind(this)
165
+ }
154
166
  })
155
167
  ]
156
168
  })
@@ -212,7 +224,7 @@ sap.ui.define([
212
224
  //remove move buttons if unselected item is hovered (not covered by updateStarted)
213
225
  this._removeMoveButtons();
214
226
  //Check if the prior hovered item had a visible icon and renable it if required
215
- if (this._oHoveredItem && this._oHoveredItem.getBindingContextPath()){
227
+ if (this._oHoveredItem && !this._oHoveredItem.bIsDestroyed && this._oHoveredItem.getBindingContextPath()){
216
228
  var bVisible = !!this._getP13nModel().getProperty(this._oHoveredItem.getBindingContextPath()).active;
217
229
  var oOldIcon = this._oHoveredItem.getCells()[1].getItems()[0];
218
230
  oOldIcon.setVisible(bVisible);
@@ -280,6 +292,12 @@ sap.ui.define([
280
292
  }
281
293
  BasePanel.prototype.setP13nData.call(this, aP13nData);
282
294
  this._updateCount();
295
+
296
+ //After explicitly updating the data (e.g. outer influences by the p13n.Popup such as reset, open & update)
297
+ //Ensure that the remove buttons and currently selected item will be reset, as it's not clear anymore
298
+ //remove the reorder buttons from their current location and hence reset the hover logic
299
+ this._removeMoveButtons();
300
+ this._oSelectedItem = null;
283
301
  };
284
302
 
285
303
  SelectionPanel.prototype._updateCount = function() {
@@ -359,8 +377,15 @@ sap.ui.define([
359
377
  this._oListControl.getItems().forEach(function(oItem){
360
378
  var oContext = oItem.getBindingContext(this.P13N_MODEL);
361
379
  var oField = this.getItemFactory().call(this, oContext);
362
- var oCell = oItem.getCells()[0];
363
- oCell.addItem(oField);
380
+
381
+ //set 'labelFor'
382
+ var oFirstCell = oItem.getCells()[0];
383
+ var oLabel = oFirstCell.getItems()[0];
384
+ if (oLabel) {
385
+ oLabel.setLabelFor(oField);
386
+ }
387
+
388
+ oFirstCell.addItem(oField);
364
389
  }.bind(this));
365
390
  this.addStyleClass("sapUiMDCAFLabelMarkingList");
366
391
  };
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.m.p13n.QueryPanel
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.101.0
24
+ * @version 1.103.0
25
25
  *
26
26
  * @public
27
27
  * @experimental Since 1.96.
@@ -106,7 +106,7 @@ sap.ui.define([
106
106
  return oSortOrderSwitch;
107
107
  };
108
108
 
109
- SortPanel.prototype._createSortOrderText = function (bDesc) {
109
+ SortPanel.prototype._createSortOrderText = function (sKey, bDesc) {
110
110
  return new Text({
111
111
  layoutData: new GridData({
112
112
  span: "XL3 L3 M3 S3",
@@ -120,7 +120,7 @@ sap.ui.define([
120
120
  //Enhance row with sort specific controls (Segmented Button + sort order text)
121
121
  var oSelect = this._createKeySelect(oItem.name);
122
122
  var oSortOrderSwitch = this._createOrderSwitch(oItem.name, oItem.descending);
123
- var oSortOrderText = this._createSortOrderText(oItem.descending);
123
+ var oSortOrderText = this._createSortOrderText(oItem.name, oItem.descending);
124
124
 
125
125
  return new Grid({
126
126
  containerQuery: true,
@@ -133,16 +133,25 @@ sap.ui.define([
133
133
  }).addStyleClass("sapUiTinyMargin");
134
134
  };
135
135
 
136
- SortPanel.prototype._selectKey = function(oEvt) {
136
+ SortPanel.prototype._getPlaceholderText = function () {
137
+ return this._getResourceText("p13n.SORT_PLACEHOLDER");
138
+ };
139
+
140
+ SortPanel.prototype._getRemoveButtonTooltipText = function () {
141
+ return this._getResourceText("p13n.SORT_REMOVEICONTOOLTIP");
142
+ };
143
+
144
+ SortPanel.prototype._selectKey = function(oComboBox) {
137
145
  QueryPanel.prototype._selectKey.apply(this, arguments);
138
146
 
139
147
  //Enable SegmentedButton
140
- var oListItem = oEvt.getSource().getParent().getParent();
141
- var sNewKey = oEvt.getParameter("selectedItem").getKey();
142
- oListItem.getContent()[0].getContent()[1].setEnabled(sNewKey !== this.NONE_KEY);
148
+ var oListItem = oComboBox.getParent().getParent();
149
+ var sNewKey = oComboBox.getSelectedKey();
150
+ var aContent = oListItem.getContent()[0].getContent();
151
+ aContent[1].setEnabled(!!sNewKey);
143
152
 
144
153
  //keep existing 'sortorder' selection
145
- var bDescending = oListItem.getContent()[0].getContent()[1].getSelectedKey() === "desc";
154
+ var bDescending = aContent[1].getSelectedKey() === "desc";
146
155
  this._changeOrder(sNewKey, bDescending);
147
156
  };
148
157
 
@@ -155,12 +164,14 @@ sap.ui.define([
155
164
  return oItem.name === sKey;
156
165
  });
157
166
 
158
- aItems[0].descending = bDesc;
167
+ if (aItems.length > 0) {
168
+ aItems[0].descending = bDesc;
159
169
 
160
- this.fireChange({
161
- reason: this.CHANGE_REASON_SORTORDER,
162
- item: aItems[0]
163
- });
170
+ this.fireChange({
171
+ reason: this.CHANGE_REASON_SORTORDER,
172
+ item: aItems[0]
173
+ });
174
+ }
164
175
  };
165
176
 
166
177
  return SortPanel;
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  *
40
40
  * @extends sap.ui.core.Element
41
41
  * @author SAP SE
42
- * @version 1.101.0
42
+ * @version 1.103.0
43
43
  *
44
44
  * @public
45
45
  * @since 1.91
@@ -180,6 +180,7 @@ sap.ui.define([
180
180
 
181
181
  ColumnResizer.prototype._onmouseleave = function() {
182
182
  this._invalidatePositions();
183
+ this.onsapescape();
183
184
  };
184
185
 
185
186
  ColumnResizer.prototype._ontouchend = function() {
@@ -223,7 +224,7 @@ sap.ui.define([
223
224
  */
224
225
  ColumnResizer.prototype._getHoveredColumnIndex = function(iClientX) {
225
226
  return this._aPositions.findIndex(function(fPosition) {
226
- return Math.abs(fPosition - iClientX) <= (this._oAlternateHandle || window.matchMedia("(hover:none)").matches ? 20 : 3);
227
+ return Math.abs(fPosition - iClientX) <= (this._oAlternateHandle || ColumnResizer._isInTouchMode() ? 20 : 3);
227
228
  }, this);
228
229
  };
229
230
 
@@ -270,8 +271,9 @@ sap.ui.define([
270
271
  if (!this._oHandle) {
271
272
  this._oHandle = document.createElement("div");
272
273
  this._oHandle.className = CSS_CLASS + "Handle";
274
+ this._oHandle.onmouseleave = function() { this.style[sBeginDirection] = ""; };
273
275
 
274
- if (bMobileHandle || window.matchMedia("(hover:none)").matches) {
276
+ if (bMobileHandle || ColumnResizer._isInTouchMode()) {
275
277
  var oCircle = document.createElement("div");
276
278
  oCircle.className = CSS_CLASS + "HandleCircle";
277
279
  oCircle.style.top = this._aResizables[iColumnIndex].offsetHeight - 8 + "px";
@@ -499,7 +501,7 @@ sap.ui.define([
499
501
  * @private
500
502
  */
501
503
  ColumnResizer.prototype.getColumnResizeQuickAction = function(oColumn, oColumnMenu) {
502
- if (!oColumn || !window.matchMedia("(hover:none)").matches) {
504
+ if (!oColumn || !ColumnResizer._isInTouchMode()) {
503
505
  return;
504
506
  }
505
507
 
@@ -523,7 +525,7 @@ sap.ui.define([
523
525
  * @private
524
526
  */
525
527
  ColumnResizer.prototype.getColumnResizeButton = function(oColumn) {
526
- if (!oColumn || !window.matchMedia("(hover:none)").matches) {
528
+ if (!oColumn || !ColumnResizer._isInTouchMode()) {
527
529
  return;
528
530
  }
529
531
 
@@ -534,6 +536,10 @@ sap.ui.define([
534
536
  });
535
537
  };
536
538
 
539
+ ColumnResizer._isInTouchMode = function() {
540
+ return window.matchMedia("(hover:none)").matches;
541
+ };
542
+
537
543
  /**
538
544
  * Plugin-specific control configurations.
539
545
  */
@@ -549,7 +555,7 @@ sap.ui.define([
549
555
 
550
556
  if (!oTable.bActiveHeaders) {
551
557
  oTable.bFocusableHeaders = true;
552
- this.allowTouchResizing = window.matchMedia("(hover:none)").matches;
558
+ this.allowTouchResizing = ColumnResizer._isInTouchMode();
553
559
  }
554
560
 
555
561
  oTable.setFixedLayout("Strict");
@@ -19,7 +19,7 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
19
19
  *
20
20
  * @extends sap.ui.core.Element
21
21
  * @author SAP SE
22
- * @version 1.101.0
22
+ * @version 1.103.0
23
23
  *
24
24
  * @public
25
25
  * @since 1.73
@@ -86,7 +86,14 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
86
86
  */
87
87
  clearFilter: {
88
88
  allowPreventDefault: true
89
- }
89
+ },
90
+
91
+ /**
92
+ * This event is fired when the user presses the <code>Close</code> button of the <code>MessageStrip</code> control which is managed by this plugin.
93
+ *
94
+ * @since 1.103
95
+ */
96
+ close: {}
90
97
  }
91
98
  }});
92
99
 
@@ -181,7 +188,8 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
181
188
  showIcon: true,
182
189
  close: function() {
183
190
  oControl.focus();
184
- }
191
+ this.fireClose();
192
+ }.bind(this)
185
193
  }).addStyleClass("sapUiTinyMargin");
186
194
 
187
195
  oControl.setAggregation("_messageStrip", this._oMessageStrip);
@@ -342,9 +350,10 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
342
350
  DataStateIndicator.prototype._applyFilter = function() {
343
351
  var fnFilter = this.getFilter();
344
352
  var oControl = this.getControl();
353
+ var oParent = this.getParent();
345
354
  var oBinding = oControl.getBinding(this._getBindingName());
346
355
  var fnMessageFilter = fnFilter && function(oMessage) {
347
- return fnFilter(oMessage, oControl);
356
+ return fnFilter(oMessage, oParent);
348
357
  };
349
358
 
350
359
  oBinding.requestFilterForMessages(fnMessageFilter).then(function(oFilter) {
@@ -28,7 +28,7 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/core/util/PasteHelper
28
28
  *
29
29
  * @extends sap.ui.core.Element
30
30
  * @author SAP SE
31
- * @version 1.101.0
31
+ * @version 1.103.0
32
32
  *
33
33
  * @public
34
34
  * @since 1.91
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.101.0
23
+ * @version 1.103.0
24
24
  *
25
25
  * @private
26
26
  * @experimental Since 1.73. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -95,7 +95,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
95
95
  *
96
96
  * @param {sap.ui.core.Control} oControl The control instance to check for
97
97
  * @param {string|function} [vPlugin] The full name or the constructor of the plugin
98
- * @return {undefined|sap.m.plugins.PluginBase} The found plugin instance or undefined if not found
98
+ * @return {undefined|sap.m.plugins.PluginBase} The found plugin instance or <code>undefined</code> if not found
99
99
  * @public
100
100
  * @static
101
101
  */
@@ -32,7 +32,7 @@ sap.ui.define(["sap/ui/support/library"],
32
32
  resolution: "Either set enabled to true ot set editable to false",
33
33
  resolutionurls: [{
34
34
  text: "API Reference: sap.m.CheckBox",
35
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.CheckBox"
35
+ href: "https://openui5.hana.ondemand.com/api/sap.m.CheckBox"
36
36
  }],
37
37
  check: function (oIssueManager, oCoreFacade, oScope) {
38
38
  oScope.getElementsByClassName("sap.m.CheckBox")
@@ -74,7 +74,8 @@ sap.ui.define(["sap/ui/support/library"], function(SupportLib) {
74
74
  oScope.getElementsByClassName("sap.m.DatePicker")
75
75
  .forEach(function(oElement) {
76
76
  var oValueBinding = oElement.getBinding("value");
77
- if (oValueBinding && oValueBinding.getType() instanceof sap.ui.model.odata.type.DateTime
77
+ if (oValueBinding && oValueBinding.getType()
78
+ && oValueBinding.getType().isA("sap.ui.model.odata.type.DateTime")
78
79
  && (!oValueBinding.getType().oConstraints || !oValueBinding.getType().oConstraints.isDateOnly)) {
79
80
  var sElementId = oElement.getId(),
80
81
  sElementName = oElement.getMetadata().getElementName();
@@ -114,8 +115,8 @@ sap.ui.define(["sap/ui/support/library"], function(SupportLib) {
114
115
  .forEach(function(oElement) {
115
116
  var oValueBinding = oElement.getBinding("value");
116
117
  if (oValueBinding
117
- && oElement.getModel() instanceof sap.ui.model.json.JSONModel
118
- && oValueBinding.getType() instanceof sap.ui.model.odata.type.Date) {
118
+ && oElement.getModel() && oElement.getModel().isA("sap.ui.model.json.JSONModel")
119
+ && oValueBinding.getType() && oValueBinding.getType().isA("sap.ui.model.odata.type.Date")) {
119
120
  var sElementId = oElement.getId(),
120
121
  sElementName = oElement.getMetadata().getElementName();
121
122
 
@@ -91,7 +91,7 @@ sap.ui.define(["sap/ui/support/library"],
91
91
  resolution: "Enable the \"densityAware\" property of this image control",
92
92
  resolutionurls: [{
93
93
  text: "API Refrence for sap.m.Image",
94
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.Image"
94
+ href: "https://openui5.hana.ondemand.com/api/sap.m.Image"
95
95
  }],
96
96
  check: function (oIssueManager, oCoreFacade, oScope, fnResolve) {
97
97
 
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
33
33
  resolution: "Remove the href property of the link",
34
34
  resolutionurls: [{
35
35
  text: "API Reference: sap.m.Link",
36
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.Link"
36
+ href: "https://openui5.hana.ondemand.com/api/sap.m.Link"
37
37
  }],
38
38
  check: function (oIssueManager, oCoreFacade, oScope) {
39
39
  oScope.getElementsByClassName("sap.m.Link")
@@ -42,7 +42,7 @@ function(SupportLib) {
42
42
  resolution: "Use Message Page in a container with set height, such as sap.m.App",
43
43
  resolutionurls: [{
44
44
  text: "sap.m.MessagePage API Reference",
45
- href: "https://openui5.hana.ondemand.com/#/api/sap.m.MessagePage"
45
+ href: "https://openui5.hana.ondemand.com/api/sap.m.MessagePage"
46
46
  }],
47
47
  check: function (oIssueManager, oCoreFacade, oScope) {
48
48
  oScope.getElementsByClassName("sap.m.MessagePage").forEach(function(oMPage) {
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
33
33
  resolution: "Use markers aggregation",
34
34
  resolutionurls: [{
35
35
  text: "API Reference: sap.m.ObjectHeader",
36
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectHeader"
36
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
37
37
  }],
38
38
  check: function (oIssueManager, oCoreFacade, oScope) {
39
39
  oScope.getElementsByClassName("sap.m.ObjectHeader")
@@ -70,7 +70,7 @@ sap.ui.define(["sap/ui/support/library"],
70
70
  resolution: "Use statuses aggregation",
71
71
  resolutionurls: [{
72
72
  text: "API Reference: sap.m.ObjectHeader",
73
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectHeader"
73
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
74
74
  }],
75
75
  check: function (oIssueManager, oCoreFacade, oScope) {
76
76
  oScope.getElementsByClassName("sap.m.ObjectHeader")
@@ -106,7 +106,7 @@ sap.ui.define(["sap/ui/support/library"],
106
106
  resolution: "Change the responsive property to false",
107
107
  resolutionurls: [{
108
108
  text: "API Reference: sap.m.ObjectHeader",
109
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectHeader"
109
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
110
110
  }],
111
111
  check: function (oIssueManager, oCoreFacade, oScope) {
112
112
  oScope.getElementsByClassName("sap.m.ObjectHeader")
@@ -142,7 +142,7 @@ sap.ui.define(["sap/ui/support/library"],
142
142
  resolution: "Change the responsive property to true",
143
143
  resolutionurls: [{
144
144
  text: "API Reference: sap.m.ObjectHeader",
145
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectHeader"
145
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
146
146
  }],
147
147
  check: function (oIssueManager, oCoreFacade, oScope) {
148
148
  oScope.getElementsByClassName("sap.m.ObjectHeader")
@@ -178,7 +178,7 @@ sap.ui.define(["sap/ui/support/library"],
178
178
  resolution: "Change the responsive property to false",
179
179
  resolutionurls: [{
180
180
  text: "API Reference: sap.m.ObjectHeader",
181
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectHeader"
181
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
182
182
  }],
183
183
  check: function (oIssueManager, oCoreFacade, oScope) {
184
184
  oScope.getElementsByClassName("sap.m.ObjectHeader")
@@ -214,7 +214,7 @@ sap.ui.define(["sap/ui/support/library"],
214
214
  resolution: "Change the responsive property to true",
215
215
  resolutionurls: [{
216
216
  text: "API Reference: sap.m.ObjectHeader",
217
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectHeader"
217
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
218
218
  }],
219
219
  check: function (oIssueManager, oCoreFacade, oScope) {
220
220
  oScope.getElementsByClassName("sap.m.ObjectHeader")
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
33
33
  resolution: "Use markers aggregation",
34
34
  resolutionurls: [{
35
35
  text: "API Reference: sap.m.ObjectListItem",
36
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectListItem"
36
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectListItem"
37
37
  }],
38
38
  check: function (oIssueManager, oCoreFacade, oScope) {
39
39
  oScope.getElementsByClassName("sap.m.ObjectListItem")
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
33
33
  resolution: "Set type of the ObjectMarker",
34
34
  resolutionurls: [{
35
35
  text: "API Reference: sap.m.ObjectMarker",
36
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectMarker"
36
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectMarker"
37
37
  }],
38
38
  check: function (oIssueManager, oCoreFacade, oScope) {
39
39
  oScope.getElementsByClassName("sap.m.ObjectMarker")
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
33
33
  resolution: "Set text or icon when active property is true",
34
34
  resolutionurls: [{
35
35
  text: "API Reference: sap.m.ObjectStatus",
36
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ObjectStatus"
36
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectStatus"
37
37
  }],
38
38
  check: function (oIssueManager, oCoreFacade, oScope) {
39
39
  oScope.getElementsByClassName("sap.m.ObjectStatus")
@@ -36,7 +36,7 @@ sap.ui.define(["sap/ui/support/library", "sap/ui/model/BindingMode"],
36
36
  resolution: "Use the sap.ui.model.Model.prototype.setSizeLimit to adjust the size limit of the 'items' model if you expect more than 100 items",
37
37
  resolutionurls: [{
38
38
  text: "API Reference for sap.ui.model.Model",
39
- href: "https://sapui5.hana.ondemand.com/#/api/sap.ui.model.Model"
39
+ href: "https://openui5.hana.ondemand.com/api/sap.ui.model.Model"
40
40
  }],
41
41
  check: function (oIssueManager, oCoreFacade, oScope) {
42
42
  oScope.getElementsByClassName("sap.m.Select")
@@ -34,7 +34,7 @@ sap.ui.define(["sap/ui/support/library", "sap/m/ListBase", "sap/ui/core/library"
34
34
  resolution: "Configure at least 1 column with width=auto or use fixedLayout=Strict",
35
35
  resolutionurls: [{
36
36
  text: "Documentation: Defining Column Widths",
37
- href: "https://sapui5.hana.ondemand.com/#/topic/6f778a805bc3453dbb66e246d8271839"
37
+ href: "https://openui5.hana.ondemand.com/topic/6f778a805bc3453dbb66e246d8271839"
38
38
  }],
39
39
  check: function (oIssueManager, oCoreFacade, oScope) {
40
40
  oScope.getElementsByClassName("sap.m.Table").filter(function(oTable) {
@@ -76,10 +76,10 @@ sap.ui.define(["sap/ui/support/library", "sap/m/ListBase", "sap/ui/core/library"
76
76
  resolution: "Use the 'highlightText' property of the item to define the semantics of the 'highlight'.",
77
77
  resolutionurls: [{
78
78
  text: "API Reference: sap.m.ListItemBase#getHighlight",
79
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ListItemBase/methods/getHighlight"
79
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ListItemBase/methods/getHighlight"
80
80
  }, {
81
81
  text: "API Reference: sap.m.ListItemBase#getHighlightText",
82
- href: "https://sapui5.hana.ondemand.com/#/api/sap.m.ListItemBase/methods/getHighlightText"
82
+ href: "https://openui5.hana.ondemand.com/api/sap.m.ListItemBase/methods/getHighlightText"
83
83
  }],
84
84
  check: function(oIssueManager, oCoreFacade, oScope) {
85
85
  function checkItemHighlight(oListItemBase) {