@openui5/sap.m 1.130.0 → 1.131.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 (429) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +1 -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 +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +1 -1
  9. package/src/sap/m/ActionTileContent.js +1 -1
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +1 -1
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +1 -1
  14. package/src/sap/m/Bar.js +1 -1
  15. package/src/sap/m/Breadcrumbs.js +7 -4
  16. package/src/sap/m/BusyDialog.js +1 -1
  17. package/src/sap/m/BusyIndicator.js +1 -1
  18. package/src/sap/m/Button.js +10 -8
  19. package/src/sap/m/Carousel.js +1 -1
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CheckBox.js +1 -1
  22. package/src/sap/m/ColorPalette.js +1 -1
  23. package/src/sap/m/ColorPalettePopover.js +1 -1
  24. package/src/sap/m/Column.js +11 -7
  25. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  26. package/src/sap/m/ColumnListItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  32. package/src/sap/m/ComboBox.js +2 -2
  33. package/src/sap/m/ComboBoxBase.js +1 -1
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/ContentConfig.js +1 -1
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +1 -1
  40. package/src/sap/m/DateRangeSelection.js +2 -2
  41. package/src/sap/m/DateTimeField.js +1 -1
  42. package/src/sap/m/DateTimeInput.js +1 -1
  43. package/src/sap/m/DateTimePicker.js +1 -1
  44. package/src/sap/m/Dialog.js +44 -17
  45. package/src/sap/m/DisplayListItem.js +1 -1
  46. package/src/sap/m/DraftIndicator.js +1 -1
  47. package/src/sap/m/DynamicDate.js +1 -1
  48. package/src/sap/m/DynamicDateFormat.js +1 -1
  49. package/src/sap/m/DynamicDateOption.js +1 -1
  50. package/src/sap/m/DynamicDateRange.js +26 -17
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  52. package/src/sap/m/ExpandableText.js +1 -1
  53. package/src/sap/m/FacetFilter.js +37 -3
  54. package/src/sap/m/FacetFilterItem.js +9 -1
  55. package/src/sap/m/FacetFilterList.js +1 -1
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +1 -1
  58. package/src/sap/m/FeedListItem.js +1 -1
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/Fiori20Adapter.js +2 -2
  61. package/src/sap/m/FlexBox.js +1 -1
  62. package/src/sap/m/FlexItemData.js +1 -1
  63. package/src/sap/m/FormattedText.js +1 -1
  64. package/src/sap/m/GenericTag.js +1 -1
  65. package/src/sap/m/GenericTile.js +1 -1
  66. package/src/sap/m/GroupHeaderListItem.js +1 -1
  67. package/src/sap/m/GrowingList.js +1 -1
  68. package/src/sap/m/HBox.js +1 -1
  69. package/src/sap/m/HeaderContainer.js +2 -2
  70. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  71. package/src/sap/m/IconTabBar.js +1 -1
  72. package/src/sap/m/IconTabBarSelectList.js +1 -1
  73. package/src/sap/m/IconTabFilter.js +3 -2
  74. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  75. package/src/sap/m/IconTabHeader.js +1 -1
  76. package/src/sap/m/IconTabSeparator.js +1 -1
  77. package/src/sap/m/IllustratedMessage.js +11 -20
  78. package/src/sap/m/Illustration.js +1 -1
  79. package/src/sap/m/Image.js +18 -2
  80. package/src/sap/m/ImageContent.js +1 -1
  81. package/src/sap/m/ImageRenderer.js +9 -5
  82. package/src/sap/m/Input.js +4 -2
  83. package/src/sap/m/InputBase.js +1 -1
  84. package/src/sap/m/InputListItem.js +1 -1
  85. package/src/sap/m/Label.js +1 -1
  86. package/src/sap/m/LightBox.js +1 -1
  87. package/src/sap/m/LightBoxItem.js +1 -1
  88. package/src/sap/m/Link.js +7 -9
  89. package/src/sap/m/LinkTileContent.js +1 -1
  90. package/src/sap/m/List.js +1 -1
  91. package/src/sap/m/ListBase.js +1 -1
  92. package/src/sap/m/ListItemBase.js +3 -2
  93. package/src/sap/m/MaskEnabler.js +1 -1
  94. package/src/sap/m/MaskInput.js +67 -1
  95. package/src/sap/m/MaskInputRule.js +1 -1
  96. package/src/sap/m/Menu.js +38 -5
  97. package/src/sap/m/MenuButton.js +1 -1
  98. package/src/sap/m/MenuItem.js +91 -3
  99. package/src/sap/m/MenuItemGroup.js +1 -1
  100. package/src/sap/m/MenuListItem.js +13 -1
  101. package/src/sap/m/MenuListItemRenderer.js +15 -5
  102. package/src/sap/m/MessageItem.js +1 -1
  103. package/src/sap/m/MessageListItem.js +1 -1
  104. package/src/sap/m/MessagePage.js +1 -1
  105. package/src/sap/m/MessagePopover.js +1 -1
  106. package/src/sap/m/MessagePopoverItem.js +1 -1
  107. package/src/sap/m/MessageStrip.js +1 -1
  108. package/src/sap/m/MessageToast.js +1 -1
  109. package/src/sap/m/MessageView.js +1 -1
  110. package/src/sap/m/MultiComboBox.js +6 -1
  111. package/src/sap/m/MultiEditField.js +1 -1
  112. package/src/sap/m/MultiInput.js +16 -4
  113. package/src/sap/m/NavContainer.js +1 -1
  114. package/src/sap/m/NewsContent.js +1 -1
  115. package/src/sap/m/NotificationList.js +1 -1
  116. package/src/sap/m/NotificationListBase.js +1 -1
  117. package/src/sap/m/NotificationListGroup.js +1 -1
  118. package/src/sap/m/NotificationListItem.js +1 -1
  119. package/src/sap/m/NumericContent.js +1 -1
  120. package/src/sap/m/NumericInput.js +1 -1
  121. package/src/sap/m/ObjectAttribute.js +1 -1
  122. package/src/sap/m/ObjectHeader.js +1 -1
  123. package/src/sap/m/ObjectIdentifier.js +1 -1
  124. package/src/sap/m/ObjectListItem.js +1 -1
  125. package/src/sap/m/ObjectMarker.js +1 -1
  126. package/src/sap/m/ObjectNumber.js +1 -1
  127. package/src/sap/m/ObjectStatus.js +2 -2
  128. package/src/sap/m/OverflowToolbar.js +2 -3
  129. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  130. package/src/sap/m/OverflowToolbarButton.js +1 -1
  131. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  132. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  133. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  134. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  135. package/src/sap/m/P13nColumnsItem.js +1 -1
  136. package/src/sap/m/P13nColumnsPanel.js +1 -1
  137. package/src/sap/m/P13nConditionPanel.js +1 -2
  138. package/src/sap/m/P13nDialog.js +1 -1
  139. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  140. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  141. package/src/sap/m/P13nFilterItem.js +1 -1
  142. package/src/sap/m/P13nFilterPanel.js +1 -2
  143. package/src/sap/m/P13nGroupItem.js +1 -1
  144. package/src/sap/m/P13nGroupPanel.js +1 -1
  145. package/src/sap/m/P13nItem.js +1 -1
  146. package/src/sap/m/P13nPanel.js +1 -1
  147. package/src/sap/m/P13nSelectionItem.js +1 -1
  148. package/src/sap/m/P13nSelectionPanel.js +1 -1
  149. package/src/sap/m/P13nSortItem.js +1 -1
  150. package/src/sap/m/P13nSortPanel.js +1 -1
  151. package/src/sap/m/PDFViewer.js +1 -1
  152. package/src/sap/m/Page.js +1 -1
  153. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  154. package/src/sap/m/PagingButton.js +1 -1
  155. package/src/sap/m/Panel.js +1 -1
  156. package/src/sap/m/PlanningCalendar.js +26 -7
  157. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  158. package/src/sap/m/PlanningCalendarLegend.js +12 -1
  159. package/src/sap/m/PlanningCalendarLegendRenderer.js +10 -4
  160. package/src/sap/m/PlanningCalendarRow.js +1 -1
  161. package/src/sap/m/PlanningCalendarView.js +1 -1
  162. package/src/sap/m/Popover.js +227 -36
  163. package/src/sap/m/PopoverRenderer.js +12 -1
  164. package/src/sap/m/ProgressIndicator.js +2 -1
  165. package/src/sap/m/PullToRefresh.js +1 -1
  166. package/src/sap/m/QuickView.js +1 -1
  167. package/src/sap/m/QuickViewBase.js +1 -1
  168. package/src/sap/m/QuickViewCard.js +1 -1
  169. package/src/sap/m/QuickViewGroup.js +1 -1
  170. package/src/sap/m/QuickViewGroupElement.js +1 -1
  171. package/src/sap/m/QuickViewPage.js +1 -1
  172. package/src/sap/m/RadioButton.js +1 -1
  173. package/src/sap/m/RadioButtonGroup.js +1 -1
  174. package/src/sap/m/RangeSlider.js +1 -1
  175. package/src/sap/m/RatingIndicator.js +1 -1
  176. package/src/sap/m/ResponsivePopover.js +1 -1
  177. package/src/sap/m/ResponsiveScale.js +1 -1
  178. package/src/sap/m/ScrollBar.js +1 -1
  179. package/src/sap/m/ScrollContainer.js +1 -1
  180. package/src/sap/m/SearchField.js +1 -1
  181. package/src/sap/m/SegmentedButton.js +1 -1
  182. package/src/sap/m/SegmentedButtonItem.js +1 -1
  183. package/src/sap/m/Select.js +1 -1
  184. package/src/sap/m/SelectDialog.js +1 -1
  185. package/src/sap/m/SelectDialogBase.js +1 -1
  186. package/src/sap/m/SelectList.js +1 -1
  187. package/src/sap/m/SelectionDetails.js +1 -1
  188. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  189. package/src/sap/m/SelectionDetailsItem.js +1 -1
  190. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  191. package/src/sap/m/Shell.js +1 -1
  192. package/src/sap/m/SimpleFixFlex.js +1 -1
  193. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  194. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  195. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -3
  196. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +0 -4
  197. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -10
  198. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  202. package/src/sap/m/SlideTile.js +1 -1
  203. package/src/sap/m/Slider.js +1 -1
  204. package/src/sap/m/SliderTooltip.js +1 -1
  205. package/src/sap/m/SliderTooltipBase.js +1 -1
  206. package/src/sap/m/SliderTooltipContainer.js +1 -1
  207. package/src/sap/m/SplitApp.js +1 -1
  208. package/src/sap/m/SplitButton.js +1 -1
  209. package/src/sap/m/SplitContainer.js +1 -1
  210. package/src/sap/m/StandardDynamicDateOption.js +22 -8
  211. package/src/sap/m/StandardListItem.js +1 -1
  212. package/src/sap/m/StandardTile.js +1 -1
  213. package/src/sap/m/StandardTreeItem.js +1 -1
  214. package/src/sap/m/StepInput.js +1 -1
  215. package/src/sap/m/SuggestionItem.js +1 -1
  216. package/src/sap/m/SuggestionsPopover.js +45 -11
  217. package/src/sap/m/Switch.js +1 -1
  218. package/src/sap/m/TabContainer.js +1 -1
  219. package/src/sap/m/TabContainerItem.js +1 -1
  220. package/src/sap/m/TabStrip.js +1 -1
  221. package/src/sap/m/TabStripItem.js +1 -1
  222. package/src/sap/m/Table.js +1 -3
  223. package/src/sap/m/TablePersoController.js +1 -1
  224. package/src/sap/m/TablePersoDialog.js +1 -1
  225. package/src/sap/m/TablePersoProvider.js +1 -1
  226. package/src/sap/m/TableSelectDialog.js +1 -1
  227. package/src/sap/m/Text.js +1 -1
  228. package/src/sap/m/TextArea.js +1 -1
  229. package/src/sap/m/Tile.js +1 -1
  230. package/src/sap/m/TileContainer.js +1 -1
  231. package/src/sap/m/TileContent.js +1 -1
  232. package/src/sap/m/TileInfo.js +1 -1
  233. package/src/sap/m/TimePicker.js +2 -2
  234. package/src/sap/m/TimePickerClock.js +1 -1
  235. package/src/sap/m/TimePickerClocks.js +22 -11
  236. package/src/sap/m/TimePickerInputs.js +1 -1
  237. package/src/sap/m/TimePickerInternals.js +1 -1
  238. package/src/sap/m/TimePickerSlider.js +1 -1
  239. package/src/sap/m/TimePickerSliderRenderer.js +1 -0
  240. package/src/sap/m/TimePickerSliders.js +1 -1
  241. package/src/sap/m/Title.js +1 -1
  242. package/src/sap/m/TitlePropagationSupport.js +1 -1
  243. package/src/sap/m/ToggleButton.js +1 -1
  244. package/src/sap/m/Token.js +1 -1
  245. package/src/sap/m/Tokenizer.js +1 -1
  246. package/src/sap/m/Toolbar.js +1 -1
  247. package/src/sap/m/ToolbarLayoutData.js +1 -1
  248. package/src/sap/m/ToolbarSeparator.js +1 -1
  249. package/src/sap/m/ToolbarSpacer.js +1 -1
  250. package/src/sap/m/Tree.js +1 -1
  251. package/src/sap/m/TreeItemBase.js +1 -1
  252. package/src/sap/m/UploadCollection.js +1 -1
  253. package/src/sap/m/UploadCollectionItem.js +1 -1
  254. package/src/sap/m/UploadCollectionParameter.js +1 -1
  255. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  256. package/src/sap/m/VBox.js +1 -1
  257. package/src/sap/m/ValueStateHeader.js +1 -1
  258. package/src/sap/m/VariantManagement.js +2 -2
  259. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  260. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  261. package/src/sap/m/ViewSettingsDialog.js +6 -3
  262. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  263. package/src/sap/m/ViewSettingsItem.js +1 -1
  264. package/src/sap/m/VisibleItem.js +1 -1
  265. package/src/sap/m/WheelSlider.js +1 -1
  266. package/src/sap/m/WheelSliderContainer.js +1 -1
  267. package/src/sap/m/Wizard.js +1 -1
  268. package/src/sap/m/WizardProgressNavigator.js +1 -1
  269. package/src/sap/m/WizardStep.js +1 -1
  270. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  271. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  272. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  273. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  274. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  275. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  276. package/src/sap/m/designtime/Popover.designtime.js +6 -6
  277. package/src/sap/m/library.js +3 -3
  278. package/src/sap/m/messagebundle_en_US_saprigi.properties +14 -0
  279. package/src/sap/m/messagebundle_es.properties +11 -11
  280. package/src/sap/m/messagebundle_fr.properties +4 -4
  281. package/src/sap/m/messagebundle_ms.properties +2 -2
  282. package/src/sap/m/messagebundle_no.properties +1 -1
  283. package/src/sap/m/messagebundle_pl.properties +5 -5
  284. package/src/sap/m/p13n/AbstractContainer.js +3 -2
  285. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  286. package/src/sap/m/p13n/BasePanel.js +20 -4
  287. package/src/sap/m/p13n/Container.js +1 -2
  288. package/src/sap/m/p13n/Engine.js +3 -5
  289. package/src/sap/m/p13n/FilterController.js +1 -1
  290. package/src/sap/m/p13n/FilterPanel.js +1 -1
  291. package/src/sap/m/p13n/GroupController.js +1 -1
  292. package/src/sap/m/p13n/GroupPanel.js +1 -1
  293. package/src/sap/m/p13n/MessageStrip.js +2 -1
  294. package/src/sap/m/p13n/Popup.js +19 -1
  295. package/src/sap/m/p13n/QueryPanel.js +1 -1
  296. package/src/sap/m/p13n/SelectionController.js +1 -1
  297. package/src/sap/m/p13n/SelectionPanel.js +14 -2
  298. package/src/sap/m/p13n/SortController.js +1 -1
  299. package/src/sap/m/p13n/SortPanel.js +1 -1
  300. package/src/sap/m/p13n/handler/xConfigHandler.js +6 -6
  301. package/src/sap/m/p13n/modification/FlexModificationHandler.js +0 -1
  302. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +0 -1
  303. package/src/sap/m/p13n/modification/ModificationHandler.js +0 -1
  304. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  305. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  306. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  307. package/src/sap/m/p13n/modules/xConfigAPI.js +21 -16
  308. package/src/sap/m/plugins/CellSelector.js +24 -15
  309. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  310. package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
  311. package/src/sap/m/plugins/CopyProvider.js +1 -1
  312. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  313. package/src/sap/m/plugins/PasteProvider.js +1 -1
  314. package/src/sap/m/plugins/PluginBase.js +1 -1
  315. package/src/sap/m/plugins/UploadSetwithTable.js +35 -35
  316. package/src/sap/m/semantic/AddAction.js +1 -1
  317. package/src/sap/m/semantic/CancelAction.js +1 -1
  318. package/src/sap/m/semantic/DeleteAction.js +1 -1
  319. package/src/sap/m/semantic/DetailPage.js +1 -1
  320. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  321. package/src/sap/m/semantic/EditAction.js +1 -1
  322. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  323. package/src/sap/m/semantic/FilterAction.js +1 -1
  324. package/src/sap/m/semantic/FilterSelect.js +1 -1
  325. package/src/sap/m/semantic/FlagAction.js +1 -1
  326. package/src/sap/m/semantic/ForwardAction.js +1 -1
  327. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  328. package/src/sap/m/semantic/GroupAction.js +1 -1
  329. package/src/sap/m/semantic/GroupSelect.js +1 -1
  330. package/src/sap/m/semantic/MainAction.js +1 -1
  331. package/src/sap/m/semantic/MasterPage.js +1 -1
  332. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  333. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  334. package/src/sap/m/semantic/NegativeAction.js +1 -1
  335. package/src/sap/m/semantic/OpenInAction.js +1 -1
  336. package/src/sap/m/semantic/PositiveAction.js +1 -1
  337. package/src/sap/m/semantic/PrintAction.js +1 -1
  338. package/src/sap/m/semantic/SaveAction.js +1 -1
  339. package/src/sap/m/semantic/Segment.js +1 -1
  340. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  341. package/src/sap/m/semantic/SemanticButton.js +1 -1
  342. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  343. package/src/sap/m/semantic/SemanticControl.js +1 -1
  344. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  345. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  346. package/src/sap/m/semantic/SemanticPage.js +1 -1
  347. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  348. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  349. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  350. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  351. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  352. package/src/sap/m/semantic/ShareMenu.js +1 -1
  353. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  354. package/src/sap/m/semantic/SortAction.js +1 -1
  355. package/src/sap/m/semantic/SortSelect.js +1 -1
  356. package/src/sap/m/table/ColumnWidthController.js +1 -1
  357. package/src/sap/m/table/Util.js +2 -2
  358. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  359. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  360. package/src/sap/m/table/columnmenu/Item.js +1 -1
  361. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  362. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  363. package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
  364. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  365. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  366. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  367. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  368. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  369. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  370. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  371. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  372. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  373. package/src/sap/m/themes/base/BarBase.less +12 -12
  374. package/src/sap/m/themes/base/Button.less +1 -3
  375. package/src/sap/m/themes/base/Carousel.less +3 -4
  376. package/src/sap/m/themes/base/CheckBox.less +40 -32
  377. package/src/sap/m/themes/base/ContextMenuSetting.less +1 -1
  378. package/src/sap/m/themes/base/CustomTile.less +2 -3
  379. package/src/sap/m/themes/base/Dialog.less +2 -17
  380. package/src/sap/m/themes/base/FeedContent.less +14 -12
  381. package/src/sap/m/themes/base/FeedInput.less +132 -133
  382. package/src/sap/m/themes/base/FeedListItem.less +62 -65
  383. package/src/sap/m/themes/base/GenericTag.less +56 -42
  384. package/src/sap/m/themes/base/GenericTile.less +1034 -516
  385. package/src/sap/m/themes/base/HeaderContainer.less +48 -33
  386. package/src/sap/m/themes/base/IconTabBar.less +9 -4
  387. package/src/sap/m/themes/base/IllustratedMessage.less +16 -14
  388. package/src/sap/m/themes/base/ImageContent.less +5 -5
  389. package/src/sap/m/themes/base/Input.less +21 -6
  390. package/src/sap/m/themes/base/InputBase.less +95 -62
  391. package/src/sap/m/themes/base/InputListItem.less +4 -3
  392. package/src/sap/m/themes/base/Label.less +46 -33
  393. package/src/sap/m/themes/base/LightBox.less +40 -36
  394. package/src/sap/m/themes/base/ListBase.less +44 -59
  395. package/src/sap/m/themes/base/ListItemBase.less +55 -76
  396. package/src/sap/m/themes/base/MenuButton.less +43 -41
  397. package/src/sap/m/themes/base/MenuListItem.less +11 -21
  398. package/src/sap/m/themes/base/MessageBox.less +16 -11
  399. package/src/sap/m/themes/base/MessageView.less +1 -0
  400. package/src/sap/m/themes/base/NotificationListBase.less +7 -5
  401. package/src/sap/m/themes/base/NotificationListGroup.less +16 -13
  402. package/src/sap/m/themes/base/NotificationListItem.less +14 -15
  403. package/src/sap/m/themes/base/ObjectAttribute.less +17 -15
  404. package/src/sap/m/themes/base/ObjectIdentifier.less +4 -3
  405. package/src/sap/m/themes/base/ObjectListItem.less +25 -27
  406. package/src/sap/m/themes/base/ObjectMarker.less +15 -7
  407. package/src/sap/m/themes/base/ObjectNumber.less +81 -41
  408. package/src/sap/m/themes/base/ObjectStatus.less +230 -205
  409. package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +79 -76
  410. package/src/sap/m/themes/base/P13nColumnsPanel.less +9 -10
  411. package/src/sap/m/themes/base/P13nConditionPanel.less +7 -7
  412. package/src/sap/m/themes/base/P13nDialog.less +6 -6
  413. package/src/sap/m/themes/base/P13nFilterPanel.less +11 -11
  414. package/src/sap/m/themes/base/Popover.less +68 -7
  415. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +0 -4
  416. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +16 -0
  417. package/src/sap/m/themes/base/Table.less +1 -1
  418. package/src/sap/m/themes/base/p13n.Container.less +11 -10
  419. package/src/sap/m/themes/base/p13n.QueryPanel.less +7 -6
  420. package/src/sap/m/themes/base/p13n.SelectionPanel.less +21 -15
  421. package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
  422. package/src/sap/m/upload/Column.js +1 -1
  423. package/src/sap/m/upload/FilePreviewDialog.js +42 -42
  424. package/src/sap/m/upload/UploadItem.js +1 -1
  425. package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
  426. package/src/sap/m/upload/UploadSet.js +53 -25
  427. package/src/sap/m/upload/UploadSetItem.js +1 -1
  428. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  429. package/src/sap/m/upload/UploaderTableItem.js +1 -1
@@ -29,6 +29,7 @@ sap.ui.define([
29
29
  "sap/ui/dom/getScrollbarSize",
30
30
  "sap/ui/events/KeyCodes",
31
31
  "sap/base/Log",
32
+ "sap/base/util/clamp",
32
33
  "sap/ui/dom/jquery/Focusable", // jQuery Plugin "firstFocusableDomRef", "lastFocusableDomRef"
33
34
  "sap/ui/dom/jquery/rect" // jQuery Plugin "rect"
34
35
  ],
@@ -55,7 +56,8 @@ sap.ui.define([
55
56
  jQuery,
56
57
  getScrollbarSize,
57
58
  KeyCodes,
58
- Log
59
+ Log,
60
+ clamp
59
61
  ) {
60
62
  "use strict";
61
63
 
@@ -124,7 +126,7 @@ sap.ui.define([
124
126
  * @extends sap.ui.core.Control
125
127
  * @implements sap.ui.core.PopupInterface
126
128
  * @author SAP SE
127
- * @version 1.130.0
129
+ * @version 1.131.0
128
130
  *
129
131
  * @public
130
132
  * @alias sap.m.Popover
@@ -578,6 +580,7 @@ sap.ui.define([
578
580
  that._deregisterContentResizeHandler();
579
581
  Popup.prototype._applyPosition.call(this, oPosition);
580
582
  that._fnAdjustPositionAndArrow();
583
+ that._updateResizeHandlerPlacement();
581
584
  that._restoreScrollPosition();
582
585
 
583
586
  //register the content resize handler
@@ -770,6 +773,7 @@ sap.ui.define([
770
773
  * @private
771
774
  */
772
775
  Popover.prototype.exit = function () {
776
+ this._removeDocumentEventListeners();
773
777
  this._deregisterContentResizeHandler();
774
778
 
775
779
  Device.resize.detachHandler(this._fnOrientationChange);
@@ -778,6 +782,7 @@ sap.ui.define([
778
782
 
779
783
  this.removeDelegate(this._oRestoreFocusDelegate);
780
784
  this._oRestoreFocusDelegate = null;
785
+ this._sResizeHandleClass = null;
781
786
 
782
787
  if (this.oPopup) {
783
788
  this.oPopup.detachClosed(this._handleClosed, this);
@@ -817,7 +822,10 @@ sap.ui.define([
817
822
  * @public
818
823
  */
819
824
  Popover.prototype.openBy = function (oControl, bSkipInstanceManager) {
820
- // If already opened with the needed content then return
825
+ if (!this.getVisible()) {
826
+ return this;
827
+ }
828
+
821
829
  var oPopup = this.oPopup,
822
830
  ePopupState = this.oPopup.getOpenState(),
823
831
  // The control that needs to be focused after popover is open is calculated in following sequence:
@@ -887,6 +895,7 @@ sap.ui.define([
887
895
  this._oOpenBy = oControl;
888
896
  }
889
897
 
898
+ this._addDocumentEventListeners();
890
899
  this.fireBeforeOpen({openBy: this._oOpenBy});
891
900
 
892
901
  oPopup.attachOpened(this._handleOpened, this);
@@ -961,6 +970,7 @@ sap.ui.define([
961
970
  return this;
962
971
  }
963
972
 
973
+ this._removeDocumentEventListeners();
964
974
  this.fireBeforeClose({openBy: this._oOpenBy});
965
975
 
966
976
  // beforeCloseEvent is already fired here, the parameter true needs to be passed into the popup's close method.
@@ -1069,9 +1079,8 @@ sap.ui.define([
1069
1079
  oStyle.right = "";
1070
1080
  oStyle.top = "";
1071
1081
  oStyle.bottom = "";
1072
- oStyle.width = "";
1082
+ oStyle.width = (this.isResized() && sContentWidth) ? sContentWidth : "";
1073
1083
  oStyle.height = "";
1074
- oStyle.overflow = "";
1075
1084
 
1076
1085
  oScrollAreaStyle.width = "";
1077
1086
  oScrollAreaStyle.display = "";
@@ -1247,53 +1256,206 @@ sap.ui.define([
1247
1256
  }
1248
1257
  };
1249
1258
 
1259
+ Popover.prototype._getResizeHandlePlacement = function () {
1260
+ switch (this._getCalculatedPlacement()) {
1261
+ case PlacementType.Left:
1262
+ if (this.getOffsetY() > 0) {
1263
+ return "BottomLeft";
1264
+ }
1265
+
1266
+ return "TopLeft";
1267
+ case PlacementType.Right:
1268
+ if (this.getOffsetY() < 0) {
1269
+ return "TopRight";
1270
+ }
1271
+
1272
+ return "BottomRight";
1273
+ case PlacementType.Bottom:
1274
+ if (!this.getShowArrow()) {
1275
+ return "BottomRight";
1276
+ }
1277
+
1278
+ if (this.getOffsetX() < 0) {
1279
+ return "BottomLeft";
1280
+ }
1281
+
1282
+ return "BottomRight";
1283
+ case PlacementType.Top:
1284
+ default:
1285
+ if (!this.getShowArrow()) {
1286
+ return "TopRight";
1287
+ }
1288
+
1289
+ if (this.getOffsetX() < 0) {
1290
+ return "TopLeft";
1291
+ }
1292
+
1293
+ return "TopRight";
1294
+ }
1295
+ };
1296
+
1250
1297
  /**
1251
1298
  * Takes care of resizing the popover
1252
1299
  * @param {jQuery.Event} oEvent The event object
1253
1300
  */
1254
1301
  Popover.prototype.onmousedown = function (oEvent) {
1255
- var bRTL = Localization.getRTL();
1256
1302
  if (!oEvent.target.closest(".sapMPopoverResizeHandle")) {
1257
1303
  return;
1258
1304
  }
1259
1305
 
1260
- var $d = jQuery(document);
1261
- var $popover = this.$();
1262
- var that = this;
1306
+ const $d = jQuery(document);
1307
+ const $popover = this.$();
1308
+ const $popoverContent = this.$("cont");
1309
+ const contentHeight = $popoverContent.height();
1310
+ const $arrow = this.$("arrow");
1311
+ const $scrollArea = this.$("scroll");
1312
+ const calculatedPlacement = this._getCalculatedPlacement();
1313
+ const posParams = this._getPositionParams($popover, $arrow, $popoverContent, $scrollArea);
1314
+ const contentDimensions = this._getContentDimensionsCss(posParams);
1315
+
1263
1316
  $popover.addClass('sapMPopoverResizing');
1264
1317
 
1265
1318
  oEvent.preventDefault();
1266
1319
  oEvent.stopPropagation();
1267
1320
 
1268
- var initial = {
1321
+ const initial = {
1269
1322
  x: oEvent.pageX,
1270
1323
  y: oEvent.pageY,
1271
1324
 
1272
1325
  width: $popover.width(),
1273
- height: $popover.height()
1326
+ height: contentHeight,
1327
+ maxWidth: parseFloat(contentDimensions["max-width"]),
1328
+ maxHeight: parseFloat(contentDimensions["max-height"]),
1329
+ footerHeaderHeight: $popover.height() - contentHeight,
1330
+ offsetX: this.getOffsetX(),
1331
+ offsetY: this.getOffsetY(),
1332
+ left: parseFloat($popover.css("left")),
1333
+ top: parseFloat($popover.css("top")),
1334
+ posParams: this._recalculateMargins(calculatedPlacement, posParams)
1274
1335
  };
1275
1336
 
1276
- $d.on("mousemove.sapMPopover", function (e) {
1277
- var width, height;
1278
-
1279
- if (bRTL) {
1280
- width = initial.width + initial.x - e.pageX;
1281
- height = initial.height + (initial.y - e.pageY);
1282
- } else {
1283
- width = initial.width + e.pageX - initial.x;
1284
- height = initial.height + (initial.y - e.pageY);
1285
- }
1337
+ // prevent autoclose during resizing
1338
+ const isAutoClose = this.oPopup.getAutoClose();
1339
+ this.oPopup.setAutoClose(false);
1286
1340
 
1287
- that.setContentWidth(Math.max(width, that._minDimensions.width) + 'px');
1288
- that.setContentHeight(Math.max(height, that._minDimensions.height) + 'px');
1341
+ $d.on("mousemove.sapMPopover", (e) => {
1342
+ this._resize(initial, e);
1289
1343
  });
1290
1344
 
1291
- $d.on("mouseup.sapMPopover", function () {
1345
+ $d.on("mouseup.sapMPopover", () => {
1292
1346
  $popover.removeClass("sapMPopoverResizing");
1293
1347
  $d.off("mouseup.sapMPopover, mousemove.sapMPopover");
1348
+ if (this.oPopup) {
1349
+ this.oPopup.setAutoClose(isAutoClose);
1350
+ }
1294
1351
  });
1295
1352
  };
1296
1353
 
1354
+ Popover.prototype._resize = function (initial, e) {
1355
+ this._resized = true;
1356
+
1357
+ const placement = this._getCalculatedPlacement();
1358
+ const resizeHandlerPlacement = this._getResizeHandlePlacement();
1359
+ const posParams = initial.posParams;
1360
+ const withinAreaWidth = posParams._fWithinAreaWidth;
1361
+ const withinAreaHeight = posParams._fWithinAreaHeight;
1362
+
1363
+ let dx;
1364
+ let dy;
1365
+ let width;
1366
+ let height;
1367
+ let offsetX;
1368
+ let offsetY;
1369
+ let popoverMarginLeft;
1370
+
1371
+ if (Localization.getRTL()) {
1372
+ dx = initial.x - e.pageX;
1373
+ dy = initial.y - e.pageY;
1374
+ popoverMarginLeft = posParams._fPopoverMarginRight;
1375
+ } else {
1376
+ popoverMarginLeft = posParams._fPopoverMarginLeft;
1377
+ dx = e.pageX - initial.x;
1378
+ dy = initial.y - e.pageY;
1379
+ }
1380
+
1381
+ if (!this.getShowArrow() && (placement === PlacementType.Top || placement === PlacementType.Bottom)) {
1382
+ if (placement === PlacementType.Bottom) {
1383
+ dy = -dy;
1384
+ }
1385
+
1386
+ this.setContentWidth(Math.max(initial.width + dx, this._minDimensions.width) + 'px');
1387
+ this.setContentHeight(Math.max(initial.height + dy, this._minDimensions.height) + 'px');
1388
+ return;
1389
+ }
1390
+
1391
+ switch (placement) {
1392
+ case PlacementType.Top:
1393
+ height = Math.max(initial.height + dy, this._minDimensions.height);
1394
+
1395
+ if (resizeHandlerPlacement === "TopRight") {
1396
+ width = clamp(initial.width + dx, this._minDimensions.width, withinAreaWidth - initial.left);
1397
+ offsetX = Math.max(0, initial.offsetX + (width - initial.width) / 2);
1398
+ } else { // TopLeft
1399
+ width = clamp(initial.width - dx, this._minDimensions.width, initial.width + initial.left - popoverMarginLeft);
1400
+ offsetX = Math.min(-1, initial.offsetX + (initial.width - width) / 2);
1401
+ }
1402
+
1403
+ this.setOffsetX(Math.round(offsetX));
1404
+ break;
1405
+ case PlacementType.Bottom:
1406
+ height = Math.max(initial.height - dy, this._minDimensions.height);
1407
+
1408
+ if (resizeHandlerPlacement === "BottomRight") {
1409
+ width = clamp(initial.width + dx, this._minDimensions.width, withinAreaWidth - initial.left);
1410
+ offsetX = Math.max(0, initial.offsetX + (width - initial.width) / 2);
1411
+ } else { // TopLeft
1412
+ width = clamp(initial.width - dx, this._minDimensions.width, initial.width + initial.left - popoverMarginLeft);
1413
+ offsetX = Math.min(-1, initial.offsetX + (initial.width - width) / 2);
1414
+ }
1415
+
1416
+ this.setOffsetX(Math.round(offsetX));
1417
+ break;
1418
+ case PlacementType.Left:
1419
+ width = clamp(initial.width - dx, this._minDimensions.width, initial.width + initial.left - popoverMarginLeft);
1420
+
1421
+ if (resizeHandlerPlacement === "TopLeft") {
1422
+ height = clamp(initial.height + dy, this._minDimensions.height, initial.height + initial.top - posParams._fPopoverMarginTop);
1423
+ offsetY = Math.min(0, initial.offsetY + (initial.height - height) / 2);
1424
+ } else { // BottomLeft
1425
+ height = clamp(initial.height - dy, this._minDimensions.height, withinAreaHeight - initial.footerHeaderHeight - initial.top);
1426
+ offsetY = Math.max(1, initial.offsetY + (height - initial.height) / 2);
1427
+ }
1428
+
1429
+ this.setOffsetY(Math.round(offsetY));
1430
+ break;
1431
+ case PlacementType.Right:
1432
+ width = clamp(initial.width + dx, this._minDimensions.width, withinAreaWidth - initial.left - this._marginRight);
1433
+
1434
+ if (resizeHandlerPlacement === "TopRight") {
1435
+ height = clamp(initial.height + dy, this._minDimensions.height, initial.height + initial.top - posParams._fPopoverMarginTop);
1436
+ offsetY = Math.min(-1, initial.offsetY + (initial.height - height) / 2);
1437
+ } else { // BottomRight
1438
+ height = clamp(initial.height - dy, this._minDimensions.height, withinAreaHeight - initial.footerHeaderHeight - initial.top);
1439
+ offsetY = Math.max(0, initial.offsetY + (height - initial.height) / 2);
1440
+ }
1441
+
1442
+ this.setOffsetY(Math.round(offsetY));
1443
+ break;
1444
+ }
1445
+
1446
+ this.setContentWidth(`${width}px`);
1447
+ this.setContentHeight(`${height}px`);
1448
+
1449
+ this._calcPlacement();
1450
+ };
1451
+
1452
+ /**
1453
+ * @private
1454
+ */
1455
+ Popover.prototype.isResized = function () {
1456
+ return this._resized;
1457
+ };
1458
+
1297
1459
  /* =========================================================== */
1298
1460
  /* end: event handlers */
1299
1461
  /* =========================================================== */
@@ -1993,18 +2155,18 @@ sap.ui.define([
1993
2155
  // Set arrow offset
1994
2156
  if (sCalculatedPlacement === PlacementType.Left || sCalculatedPlacement === PlacementType.Right) {
1995
2157
  iPosArrow = oPosParams._$parent.offset().top - oPosParams._$popover.offset().top - oPosParams._fPopoverBorderTop + oPosParams._fPopoverOffsetY + 0.5 * (Popover.outerHeight(oPosParams._$parent[0], false) - oPosParams._$arrow.outerHeight(false));
1996
- iPosArrow = Math.max(iPosArrow, arrowOffset);
2158
+ iPosArrow = Math.max(iPosArrow - this._getOffsetY(), arrowOffset);
1997
2159
  iPosArrow = Math.min(iPosArrow, oPosParams._fPopoverHeight - arrowOffset - oPosParams._$arrow.outerHeight());
1998
2160
  return {"top": iPosArrow};
1999
2161
  } else if (sCalculatedPlacement === PlacementType.Top || sCalculatedPlacement === PlacementType.Bottom) {
2000
2162
  if (bRtl) {
2001
2163
  iPosArrow = oPosParams._$popover.offset().left + Popover.outerWidth(oPosParams._$popover[0], false) - (oPosParams._$parent.offset().left + Popover.outerWidth(oPosParams._$parent[0], false)) + oPosParams._fPopoverBorderRight + oPosParams._fPopoverOffsetX + 0.5 * (Popover.outerWidth(oPosParams._$parent[0], false) - oPosParams._$arrow.outerWidth(false));
2002
- iPosArrow = Math.max(iPosArrow, arrowOffset);
2164
+ iPosArrow = Math.max(iPosArrow - this._getOffsetX(), arrowOffset);
2003
2165
  iPosArrow = Math.min(iPosArrow, oPosParams._fPopoverWidth - arrowOffset - oPosParams._$arrow.outerWidth(false));
2004
2166
  return {"right": iPosArrow};
2005
2167
  } else {
2006
2168
  iPosArrow = oPosParams._$parent.offset().left - oPosParams._$popover.offset().left - oPosParams._fPopoverBorderLeft + oPosParams._fPopoverOffsetX + 0.5 * (Popover.outerWidth(oPosParams._$parent[0], false) - oPosParams._$arrow.outerWidth(false));
2007
- iPosArrow = Math.max(iPosArrow, arrowOffset);
2169
+ iPosArrow = Math.max(iPosArrow - this._getOffsetX(), arrowOffset);
2008
2170
  iPosArrow = Math.min(iPosArrow, oPosParams._fPopoverWidth - arrowOffset - oPosParams._$arrow.outerWidth(false));
2009
2171
  return {"left": iPosArrow};
2010
2172
  }
@@ -2151,14 +2313,27 @@ sap.ui.define([
2151
2313
  if (bUseContrastContainer) {
2152
2314
  $arrow.addClass("sapContrast sapContrastPlus");
2153
2315
  }
2154
-
2155
- // Prevent the popover from hiding the arrow
2156
- $popover.css("overflow", "visible");
2157
2316
  }
2158
2317
 
2159
2318
  this._afterAdjustPositionAndArrowHook();
2160
2319
  };
2161
2320
 
2321
+ Popover.prototype._updateResizeHandlerPlacement = function () {
2322
+ if (!this.getResizable()) {
2323
+ return;
2324
+ }
2325
+
2326
+ const oDomRef = this.getDomRef();
2327
+ const sResizeHandleClass = `sapMPopoverResizeHandle${this._getResizeHandlePlacement()}`;
2328
+
2329
+ if (this._sResizeHandleClass) {
2330
+ oDomRef.classList.remove(this._sResizeHandleClass);
2331
+ }
2332
+
2333
+ oDomRef.classList.add(sResizeHandleClass);
2334
+ this._sResizeHandleClass = sResizeHandleClass;
2335
+ };
2336
+
2162
2337
  /**
2163
2338
  * Adapt position and offsets variables if the Popover is used without arrow.
2164
2339
  *
@@ -2672,7 +2847,6 @@ sap.ui.define([
2672
2847
  };
2673
2848
 
2674
2849
  Popover.prototype.destroyAggregation = function (sAggregationName, bSuppressInvalidate) {
2675
- var oActiveControl = Element.closestTo(document.activeElement);
2676
2850
  if (sAggregationName === "beginButton" || sAggregationName === "endButton") {
2677
2851
  var sButton = this["_" + sAggregationName];
2678
2852
  if (sButton) {
@@ -2683,11 +2857,6 @@ sap.ui.define([
2683
2857
  Control.prototype.destroyAggregation.apply(this, arguments);
2684
2858
  }
2685
2859
 
2686
- // set focus to the popover itself when the focused control is destroyed to keep the popover open
2687
- if (oActiveControl && !oActiveControl.getDomRef()) {
2688
- this.focus();
2689
- }
2690
-
2691
2860
  return this;
2692
2861
  };
2693
2862
 
@@ -2722,5 +2891,27 @@ sap.ui.define([
2722
2891
  Control.prototype._applyContextualSettings.call(this);
2723
2892
  };
2724
2893
 
2894
+ Popover.prototype._addDocumentEventListeners = function () {
2895
+ if (!this._bDocumentListenersAdded) {
2896
+ this._bDocumentListenersAdded = true;
2897
+
2898
+ this._fnHandleDocumentKeydown = (oEvent) => {
2899
+ if (this.oPopup.isTopmost() && oEvent.which === KeyCodes.ESCAPE) {
2900
+ this.close();
2901
+ }
2902
+ };
2903
+
2904
+ document.addEventListener("keydown", this._fnHandleDocumentKeydown);
2905
+ }
2906
+ };
2907
+
2908
+ Popover.prototype._removeDocumentEventListeners = function () {
2909
+ if (this._bDocumentListenersAdded) {
2910
+ this._bDocumentListenersAdded = false;
2911
+
2912
+ document.removeEventListener("keydown", this._fnHandleDocumentKeydown);
2913
+ }
2914
+ };
2915
+
2725
2916
  return Popover;
2726
2917
  });
@@ -32,7 +32,9 @@ sap.ui.define([
32
32
  */
33
33
  PopoverRenderer.render = function(oRm, oControl) {
34
34
  oRm.openStart("div", oControl);
35
- var aClassNames = this.generateRootClasses(oControl);
35
+ var aClassNames = this.generateRootClasses(oControl),
36
+ sContentWidth = oControl.getContentWidth();
37
+
36
38
  aClassNames.forEach(function(sClassName) {
37
39
  oRm.class(sClassName);
38
40
  });
@@ -50,6 +52,10 @@ sap.ui.define([
50
52
  oRm.attr("title", sTooltip);
51
53
  }
52
54
 
55
+ if (oControl.isResized() && sContentWidth) {
56
+ oRm.style("width", sContentWidth);
57
+ }
58
+
53
59
  oRm.attr("tabindex", "-1")
54
60
  .accessibilityState(oControl, oControl._getAccessibilityOptions()) // ARIA
55
61
  .openEnd();
@@ -104,6 +110,10 @@ sap.ui.define([
104
110
  .close("span");
105
111
  }
106
112
 
113
+ oRm.openStart("div")
114
+ .class("sapMPopoverWrapper")
115
+ .openEnd();
116
+
107
117
  // Header
108
118
  if (oHeader) {
109
119
  oRm.openStart("header")
@@ -191,6 +201,7 @@ sap.ui.define([
191
201
 
192
202
  oRm.close("footer");
193
203
  }
204
+ oRm.close("div"); // wrapper
194
205
 
195
206
  // Arrow
196
207
  if (oControl.getShowArrow()) {
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @extends sap.ui.core.Control
62
62
  *
63
63
  * @author SAP SE
64
- * @version 1.130.0
64
+ * @version 1.131.0
65
65
  *
66
66
  * @constructor
67
67
  * @public
@@ -76,6 +76,7 @@ sap.ui.define([
76
76
  properties : {
77
77
  /**
78
78
  * Switches enabled state of the control. Disabled fields have different colors, and cannot be focused.
79
+ * @deprecated As of version 1.130 with no replacement.
79
80
  */
80
81
  enabled : {type : "boolean", group : "Behavior", defaultValue : true},
81
82
 
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.130.0
40
+ * @version 1.131.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.m.QuickViewBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.130.0
62
+ * @version 1.131.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.130.0
30
+ * @version 1.131.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.m.QuickViewBase
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.130.0
39
+ * @version 1.131.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.130.0
25
+ * @version 1.131.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.130.0
31
+ * @version 1.131.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -103,7 +103,7 @@ sap.ui.define([
103
103
  * @extends sap.ui.core.Control
104
104
  *
105
105
  * @author SAP SE
106
- * @version 1.130.0
106
+ * @version 1.131.0
107
107
  *
108
108
  * @constructor
109
109
  * @public
@@ -94,7 +94,7 @@ function(
94
94
  * @implements sap.ui.core.IFormContent
95
95
  *
96
96
  * @author SAP SE
97
- * @version 1.130.0
97
+ * @version 1.131.0
98
98
  *
99
99
  * @constructor
100
100
  * @public
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
69
69
  *
70
70
  * @author SAP SE
71
- * @version 1.130.0
71
+ * @version 1.131.0
72
72
  *
73
73
  * @constructor
74
74
  * @public
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.m.Slider
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.130.0
56
+ * @version 1.131.0
57
57
  *
58
58
  * @constructor
59
59
  * @public
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.ui.core.Control
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.130.0
59
+ * @version 1.131.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @extends sap.ui.core.Control
64
64
  *
65
65
  * @author SAP SE
66
- * @version 1.130.0
66
+ * @version 1.131.0
67
67
  *
68
68
  * @constructor
69
69
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Element
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.130.0
37
+ * @version 1.131.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -25,7 +25,7 @@ function(Control, ScrollBarRenderer) {
25
25
  * care of only rendering the currently visible rows and use this <code>ScrollBar</code> control to make
26
26
  * the users think they are actually scrolling through a long list.
27
27
  * @extends sap.ui.core.Control
28
- * @version 1.130.0
28
+ * @version 1.131.0
29
29
  *
30
30
  * @private
31
31
  * @alias sap.m.ScrollBar
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @extends sap.ui.core.Control
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.130.0
42
+ * @version 1.131.0
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @extends sap.ui.core.Control
68
68
  * @implements sap.ui.core.IFormContent
69
69
  * @author SAP SE
70
- * @version 1.130.0
70
+ * @version 1.131.0
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -59,7 +59,7 @@ function(
59
59
  * @implements sap.ui.core.IFormContent
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.130.0
62
+ * @version 1.131.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/m/Button', 'sap/ui/core/Cus
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.130.0
26
+ * @version 1.131.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -116,7 +116,7 @@ function(
116
116
  * @borrows sap.ui.core.ILabelable.hasLabelableHTMLElement as #hasLabelableHTMLElement
117
117
  *
118
118
  * @author SAP SE
119
- * @version 1.130.0
119
+ * @version 1.131.0
120
120
  *
121
121
  * @constructor
122
122
  * @public
@@ -128,7 +128,7 @@ function(
128
128
  * @extends sap.m.SelectDialogBase
129
129
  *
130
130
  * @author SAP SE
131
- * @version 1.130.0
131
+ * @version 1.131.0
132
132
  *
133
133
  * @constructor
134
134
  * @public
@@ -34,7 +34,7 @@ function(
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.130.0
37
+ * @version 1.131.0
38
38
  *
39
39
  * @constructor
40
40
  * @public