@openui5/sap.m 1.71.46 → 1.71.47

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 (297) hide show
  1. package/LICENSE.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/App.js +1 -1
  9. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  10. package/src/sap/m/Bar.js +1 -1
  11. package/src/sap/m/Breadcrumbs.js +1 -1
  12. package/src/sap/m/BusyDialog.js +1 -1
  13. package/src/sap/m/BusyIndicator.js +1 -1
  14. package/src/sap/m/Button.js +1 -1
  15. package/src/sap/m/Carousel.js +1 -1
  16. package/src/sap/m/CarouselLayout.js +1 -1
  17. package/src/sap/m/CheckBox.js +1 -1
  18. package/src/sap/m/ColorPalette.js +1 -1
  19. package/src/sap/m/ColorPalettePopover.js +1 -1
  20. package/src/sap/m/Column.js +1 -1
  21. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  22. package/src/sap/m/ColumnListItem.js +1 -1
  23. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  24. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  25. package/src/sap/m/ColumnPopoverItem.js +1 -1
  26. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  27. package/src/sap/m/ComboBox.js +1 -1
  28. package/src/sap/m/ComboBoxBase.js +1 -1
  29. package/src/sap/m/ComboBoxTextField.js +1 -1
  30. package/src/sap/m/CustomListItem.js +1 -1
  31. package/src/sap/m/CustomTile.js +1 -1
  32. package/src/sap/m/CustomTreeItem.js +1 -1
  33. package/src/sap/m/DatePicker.js +1 -1
  34. package/src/sap/m/DateRangeSelection.js +2 -2
  35. package/src/sap/m/DateTimeField.js +1 -1
  36. package/src/sap/m/DateTimeInput.js +1 -1
  37. package/src/sap/m/DateTimePicker.js +1 -1
  38. package/src/sap/m/Dialog.js +161 -44
  39. package/src/sap/m/DialogRenderer.js +3 -2
  40. package/src/sap/m/DisplayListItem.js +1 -1
  41. package/src/sap/m/DraftIndicator.js +1 -1
  42. package/src/sap/m/FacetFilter.js +1 -1
  43. package/src/sap/m/FacetFilterItem.js +1 -1
  44. package/src/sap/m/FacetFilterList.js +1 -1
  45. package/src/sap/m/FeedContent.js +1 -1
  46. package/src/sap/m/FeedInput.js +1 -1
  47. package/src/sap/m/FeedListItem.js +1 -1
  48. package/src/sap/m/FeedListItemAction.js +1 -1
  49. package/src/sap/m/Fiori20Adapter.js +2 -2
  50. package/src/sap/m/FlexBox.js +1 -1
  51. package/src/sap/m/FlexItemData.js +1 -1
  52. package/src/sap/m/FormattedText.js +1 -1
  53. package/src/sap/m/GenericTag.js +1 -1
  54. package/src/sap/m/GenericTile.js +1 -1
  55. package/src/sap/m/GroupHeaderListItem.js +1 -1
  56. package/src/sap/m/GrowingList.js +1 -1
  57. package/src/sap/m/HBox.js +1 -1
  58. package/src/sap/m/HeaderContainer.js +1 -1
  59. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  60. package/src/sap/m/IconTabBar.js +1 -1
  61. package/src/sap/m/IconTabBarSelectList.js +1 -1
  62. package/src/sap/m/IconTabFilter.js +1 -1
  63. package/src/sap/m/IconTabHeader.js +1 -1
  64. package/src/sap/m/IconTabSeparator.js +1 -1
  65. package/src/sap/m/Image.js +1 -1
  66. package/src/sap/m/ImageContent.js +1 -1
  67. package/src/sap/m/Input.js +1 -1
  68. package/src/sap/m/InputBase.js +1 -1
  69. package/src/sap/m/InputListItem.js +1 -1
  70. package/src/sap/m/Label.js +1 -1
  71. package/src/sap/m/LightBox.js +1 -1
  72. package/src/sap/m/LightBoxItem.js +1 -1
  73. package/src/sap/m/Link.js +2 -2
  74. package/src/sap/m/LinkRenderer.js +1 -2
  75. package/src/sap/m/List.js +1 -1
  76. package/src/sap/m/ListBase.js +1 -1
  77. package/src/sap/m/ListItemBase.js +1 -1
  78. package/src/sap/m/MaskEnabler.js +1 -1
  79. package/src/sap/m/MaskInput.js +1 -1
  80. package/src/sap/m/MaskInputRule.js +1 -1
  81. package/src/sap/m/Menu.js +1 -1
  82. package/src/sap/m/MenuButton.js +1 -1
  83. package/src/sap/m/MenuItem.js +1 -1
  84. package/src/sap/m/MenuListItem.js +1 -1
  85. package/src/sap/m/MessageItem.js +1 -1
  86. package/src/sap/m/MessageListItem.js +1 -1
  87. package/src/sap/m/MessagePage.js +1 -1
  88. package/src/sap/m/MessagePopover.js +1 -1
  89. package/src/sap/m/MessagePopoverItem.js +1 -1
  90. package/src/sap/m/MessageStrip.js +1 -1
  91. package/src/sap/m/MessageToast.js +1 -1
  92. package/src/sap/m/MessageView.js +1 -1
  93. package/src/sap/m/MultiComboBox.js +1 -1
  94. package/src/sap/m/MultiEditField.js +1 -1
  95. package/src/sap/m/MultiInput.js +1 -1
  96. package/src/sap/m/NavContainer.js +1 -1
  97. package/src/sap/m/NewsContent.js +1 -1
  98. package/src/sap/m/NotificationListBase.js +1 -1
  99. package/src/sap/m/NotificationListGroup.js +1 -1
  100. package/src/sap/m/NotificationListItem.js +1 -1
  101. package/src/sap/m/NumericContent.js +1 -1
  102. package/src/sap/m/ObjectAttribute.js +1 -1
  103. package/src/sap/m/ObjectHeader.js +1 -1
  104. package/src/sap/m/ObjectIdentifier.js +1 -1
  105. package/src/sap/m/ObjectListItem.js +1 -1
  106. package/src/sap/m/ObjectMarker.js +1 -1
  107. package/src/sap/m/ObjectNumber.js +1 -1
  108. package/src/sap/m/ObjectStatus.js +1 -1
  109. package/src/sap/m/OverflowToolbar.js +1 -1
  110. package/src/sap/m/OverflowToolbarAssociativePopover.js +4 -2
  111. package/src/sap/m/OverflowToolbarButton.js +1 -1
  112. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  113. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  114. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  115. package/src/sap/m/P13nColumnsItem.js +1 -1
  116. package/src/sap/m/P13nColumnsPanel.js +1 -1
  117. package/src/sap/m/P13nConditionPanel.js +6 -1
  118. package/src/sap/m/P13nDialog.js +1 -1
  119. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  120. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  121. package/src/sap/m/P13nFilterItem.js +1 -1
  122. package/src/sap/m/P13nFilterPanel.js +1 -1
  123. package/src/sap/m/P13nGroupItem.js +1 -1
  124. package/src/sap/m/P13nGroupPanel.js +1 -1
  125. package/src/sap/m/P13nItem.js +1 -1
  126. package/src/sap/m/P13nPanel.js +1 -1
  127. package/src/sap/m/P13nSelectionItem.js +1 -1
  128. package/src/sap/m/P13nSelectionPanel.js +1 -1
  129. package/src/sap/m/P13nSortItem.js +1 -1
  130. package/src/sap/m/P13nSortPanel.js +1 -1
  131. package/src/sap/m/PDFViewer.js +1 -1
  132. package/src/sap/m/Page.js +1 -1
  133. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  134. package/src/sap/m/PagingButton.js +1 -1
  135. package/src/sap/m/Panel.js +1 -1
  136. package/src/sap/m/PlanningCalendar.js +1 -1
  137. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  138. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  139. package/src/sap/m/PlanningCalendarRow.js +1 -1
  140. package/src/sap/m/PlanningCalendarView.js +1 -1
  141. package/src/sap/m/Popover.js +112 -70
  142. package/src/sap/m/ProgressIndicator.js +1 -1
  143. package/src/sap/m/PullToRefresh.js +1 -1
  144. package/src/sap/m/QuickView.js +1 -1
  145. package/src/sap/m/QuickViewBase.js +1 -1
  146. package/src/sap/m/QuickViewCard.js +1 -1
  147. package/src/sap/m/QuickViewGroup.js +1 -1
  148. package/src/sap/m/QuickViewGroupElement.js +1 -1
  149. package/src/sap/m/QuickViewPage.js +1 -1
  150. package/src/sap/m/RadioButton.js +148 -212
  151. package/src/sap/m/RadioButtonGroup.js +66 -64
  152. package/src/sap/m/RadioButtonGroupRenderer.js +31 -38
  153. package/src/sap/m/RadioButtonRenderer.js +94 -108
  154. package/src/sap/m/RangeSlider.js +1 -1
  155. package/src/sap/m/RatingIndicator.js +1 -1
  156. package/src/sap/m/ResponsivePopover.js +1 -1
  157. package/src/sap/m/ResponsiveScale.js +1 -1
  158. package/src/sap/m/ScrollBar.js +1 -1
  159. package/src/sap/m/ScrollContainer.js +1 -1
  160. package/src/sap/m/SearchField.js +1 -1
  161. package/src/sap/m/SegmentedButton.js +1 -1
  162. package/src/sap/m/SegmentedButtonItem.js +1 -1
  163. package/src/sap/m/Select.js +1 -1
  164. package/src/sap/m/SelectDialog.js +1 -1
  165. package/src/sap/m/SelectList.js +1 -1
  166. package/src/sap/m/SelectionDetails.js +1 -1
  167. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  168. package/src/sap/m/SelectionDetailsItem.js +1 -1
  169. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  170. package/src/sap/m/Shell.js +1 -1
  171. package/src/sap/m/SimpleFixFlex.js +1 -1
  172. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  173. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  174. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  175. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  176. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  177. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  178. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  179. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  180. package/src/sap/m/SlideTile.js +1 -1
  181. package/src/sap/m/Slider.js +1 -1
  182. package/src/sap/m/SliderTooltip.js +1 -1
  183. package/src/sap/m/SliderTooltipBase.js +1 -1
  184. package/src/sap/m/SliderTooltipContainer.js +1 -1
  185. package/src/sap/m/SplitApp.js +1 -1
  186. package/src/sap/m/SplitButton.js +1 -1
  187. package/src/sap/m/SplitContainer.js +1 -1
  188. package/src/sap/m/StandardListItem.js +1 -1
  189. package/src/sap/m/StandardTile.js +1 -1
  190. package/src/sap/m/StandardTreeItem.js +1 -1
  191. package/src/sap/m/StepInput.js +1 -1
  192. package/src/sap/m/SuggestionItem.js +1 -1
  193. package/src/sap/m/SuggestionsPopover.js +3 -2
  194. package/src/sap/m/Switch.js +1 -1
  195. package/src/sap/m/TabContainer.js +1 -1
  196. package/src/sap/m/TabContainerItem.js +1 -1
  197. package/src/sap/m/TabStrip.js +1 -1
  198. package/src/sap/m/TabStripItem.js +1 -1
  199. package/src/sap/m/Table.js +1 -1
  200. package/src/sap/m/TablePersoController.js +1 -1
  201. package/src/sap/m/TablePersoDialog.js +1 -1
  202. package/src/sap/m/TablePersoProvider.js +1 -1
  203. package/src/sap/m/TableSelectDialog.js +1 -1
  204. package/src/sap/m/Text.js +1 -1
  205. package/src/sap/m/TextArea.js +1 -1
  206. package/src/sap/m/Tile.js +1 -1
  207. package/src/sap/m/TileContainer.js +1 -1
  208. package/src/sap/m/TileContent.js +1 -1
  209. package/src/sap/m/TimePicker.js +6 -2
  210. package/src/sap/m/TimePickerSlider.js +1 -1
  211. package/src/sap/m/TimePickerSliders.js +1 -1
  212. package/src/sap/m/Title.js +1 -1
  213. package/src/sap/m/TitlePropagationSupport.js +1 -1
  214. package/src/sap/m/ToggleButton.js +1 -1
  215. package/src/sap/m/Token.js +1 -1
  216. package/src/sap/m/Tokenizer.js +1 -1
  217. package/src/sap/m/Toolbar.js +1 -1
  218. package/src/sap/m/ToolbarLayoutData.js +1 -1
  219. package/src/sap/m/ToolbarSeparator.js +1 -1
  220. package/src/sap/m/ToolbarSpacer.js +1 -1
  221. package/src/sap/m/Tree.js +1 -1
  222. package/src/sap/m/TreeItemBase.js +1 -1
  223. package/src/sap/m/UploadCollection.js +2 -2
  224. package/src/sap/m/UploadCollectionItem.js +1 -1
  225. package/src/sap/m/UploadCollectionParameter.js +1 -1
  226. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  227. package/src/sap/m/VBox.js +1 -1
  228. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  229. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  230. package/src/sap/m/ViewSettingsDialog.js +1 -1
  231. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  232. package/src/sap/m/ViewSettingsItem.js +1 -1
  233. package/src/sap/m/VisibleItem.js +1 -1
  234. package/src/sap/m/Wizard.js +1 -1
  235. package/src/sap/m/WizardProgressNavigator.js +1 -1
  236. package/src/sap/m/WizardStep.js +1 -1
  237. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  238. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  239. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  240. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  241. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  242. package/src/sap/m/delegate/ValueStateMessage.js +2 -0
  243. package/src/sap/m/designtime/messagebundle_de.properties +2 -2
  244. package/src/sap/m/library.js +2 -2
  245. package/src/sap/m/messagebundle_cs.properties +2 -2
  246. package/src/sap/m/messagebundle_fr.properties +3 -3
  247. package/src/sap/m/messagebundle_hr.properties +2 -2
  248. package/src/sap/m/messagebundle_it.properties +2 -2
  249. package/src/sap/m/messagebundle_iw.properties +1 -1
  250. package/src/sap/m/messagebundle_ko.properties +8 -8
  251. package/src/sap/m/messagebundle_nl.properties +4 -4
  252. package/src/sap/m/messagebundle_sh.properties +1 -1
  253. package/src/sap/m/messagebundle_th.properties +1 -1
  254. package/src/sap/m/semantic/AddAction.js +1 -1
  255. package/src/sap/m/semantic/CancelAction.js +1 -1
  256. package/src/sap/m/semantic/DeleteAction.js +1 -1
  257. package/src/sap/m/semantic/DetailPage.js +1 -1
  258. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  259. package/src/sap/m/semantic/EditAction.js +1 -1
  260. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  261. package/src/sap/m/semantic/FilterAction.js +1 -1
  262. package/src/sap/m/semantic/FilterSelect.js +1 -1
  263. package/src/sap/m/semantic/FlagAction.js +1 -1
  264. package/src/sap/m/semantic/ForwardAction.js +1 -1
  265. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  266. package/src/sap/m/semantic/GroupAction.js +1 -1
  267. package/src/sap/m/semantic/GroupSelect.js +1 -1
  268. package/src/sap/m/semantic/MainAction.js +1 -1
  269. package/src/sap/m/semantic/MasterPage.js +1 -1
  270. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  271. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  272. package/src/sap/m/semantic/NegativeAction.js +1 -1
  273. package/src/sap/m/semantic/OpenInAction.js +1 -1
  274. package/src/sap/m/semantic/PositiveAction.js +1 -1
  275. package/src/sap/m/semantic/PrintAction.js +1 -1
  276. package/src/sap/m/semantic/SaveAction.js +1 -1
  277. package/src/sap/m/semantic/Segment.js +1 -1
  278. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  279. package/src/sap/m/semantic/SemanticButton.js +1 -1
  280. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  281. package/src/sap/m/semantic/SemanticControl.js +1 -1
  282. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  283. package/src/sap/m/semantic/SemanticPage.js +1 -1
  284. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  285. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  286. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  287. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  288. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  289. package/src/sap/m/semantic/ShareMenu.js +1 -1
  290. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  291. package/src/sap/m/semantic/SortAction.js +1 -1
  292. package/src/sap/m/semantic/SortSelect.js +1 -1
  293. package/src/sap/m/themes/base/Dialog.less +4 -66
  294. package/src/sap/m/themes/base/Popover.less +0 -1
  295. package/src/sap/m/themes/base/RadioButton.less +2 -2
  296. package/src/sap/m/upload/UploadSet.js +1 -1
  297. package/src/sap/m/upload/UploadSetItem.js +1 -1
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @param {object} [mSettings] initial settings for the new control
18
18
  * @class Type for <code>selectionItems</code> aggregation in <code>P13nSelectionPanel</code> control.
19
19
  * @extends sap.ui.core.Item
20
- * @version 1.71.46
20
+ * @version 1.71.47
21
21
  * @constructor
22
22
  * @author SAP SE
23
23
  * @private
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class The P13nSelectionPanel control is used to define selection settings like the visibility or the order of items.
31
31
  * @extends sap.m.P13nPanel
32
32
  * @author SAP SE
33
- * @version 1.71.46
33
+ * @version 1.71.47
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.46.0
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @param {object} [mSettings] initial settings for the new control
18
18
  * @class Type for <code>sortItems</code> aggregation in P13nSortPanel control.
19
19
  * @extends sap.ui.core.Item
20
- * @version 1.71.46
20
+ * @version 1.71.47
21
21
  * @constructor
22
22
  * @public
23
23
  * @since 1.26.0
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @param {object} [mSettings] initial settings for the new control
27
27
  * @class The P13nSortPanel control is used to define settings for sorting in table personalization.
28
28
  * @extends sap.m.P13nPanel
29
- * @version 1.71.46
29
+ * @version 1.71.47
30
30
  * @constructor
31
31
  * @public
32
32
  * @since 1.26.0
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.71.46
50
+ * @version 1.71.47
51
51
  * @since 1.48
52
52
  *
53
53
  * @constructor
package/src/sap/m/Page.js CHANGED
@@ -83,7 +83,7 @@ function(
83
83
  * @extends sap.ui.core.Control
84
84
  * @mixes sap.ui.core.ContextMenuSupport
85
85
  * @author SAP SE
86
- * @version 1.71.46
86
+ * @version 1.71.47
87
87
  *
88
88
  * @public
89
89
  * @alias sap.m.Page
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.71.46
25
+ * @version 1.71.47
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.71.46
29
+ * @version 1.71.47
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.71.46
65
+ * @version 1.71.47
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -191,7 +191,7 @@ sap.ui.define([
191
191
  * {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
192
192
  *
193
193
  * @extends sap.ui.core.Control
194
- * @version 1.71.46
194
+ * @version 1.71.47
195
195
  *
196
196
  * @constructor
197
197
  * @public
@@ -88,7 +88,7 @@ function(
88
88
  * @extends sap.ui.core.Control
89
89
  *
90
90
  * @author SAP SE
91
- * @version 1.71.46
91
+ * @version 1.71.47
92
92
  *
93
93
  * @constructor
94
94
  * @private
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/unified/CalendarLegend', 'sap/ui/unified/CalendarAppointm
23
23
  * @extends sap.ui.unified.CalendarLegend
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.71.46
26
+ * @version 1.71.47
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/m/CustomListItem'], function (Element
23
23
  * The <code>sap.m.PlanningCalendarRow</code> allows you to modify appointments at row level.
24
24
  *
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.71.46
26
+ * @version 1.71.47
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -27,7 +27,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
27
27
  * The <code>PlanningCalendarView</code> defines the type of the intervals (hours, days, months)
28
28
  * and how many intervals are displayed.
29
29
  * @extends sap.ui.core.Element
30
- * @version 1.71.46
30
+ * @version 1.71.47
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @extends sap.ui.core.Control
112
112
  * @implements sap.ui.core.PopupInterface
113
113
  * @author SAP SE
114
- * @version 1.71.46
114
+ * @version 1.71.47
115
115
  *
116
116
  * @public
117
117
  * @alias sap.m.Popover
@@ -394,7 +394,6 @@ sap.ui.define([
394
394
  height: 32
395
395
  };
396
396
 
397
- this._$window = jQuery(window);
398
397
  this._initialWindowDimensions = {};
399
398
 
400
399
  this.oPopup = new Popup();
@@ -512,10 +511,11 @@ sap.ui.define([
512
511
  }
513
512
 
514
513
  var oRect = jQuery(oPosition.of).rect();
514
+ var $popoverWithinArea = jQuery(that.getWithinAreaDomRef());
515
515
  // if openBy Dom element is complete out of viewport after resize event, close the popover. But close it only if virtualkeyboard is not opened.
516
516
  if (bFromResize
517
- && that._$window.height() == that._initialWindowDimensions.height
518
- && (oRect.top + oRect.height <= 0 || oRect.top >= that._$window.height() || oRect.left + oRect.width <= 0 || oRect.left >= that._$window.width())) {
517
+ && $popoverWithinArea.height() == that._initialWindowDimensions.height
518
+ && (oRect.top + oRect.height <= 0 || oRect.top >= $popoverWithinArea.height() || oRect.left + oRect.width <= 0 || oRect.left >= $popoverWithinArea.width())) {
519
519
  that.close();
520
520
  return;
521
521
  }
@@ -566,18 +566,33 @@ sap.ui.define([
566
566
  };
567
567
  };
568
568
 
569
+ /**
570
+ * Gets the area to which the Popover is restricted.
571
+ *
572
+ * @returns {HTMLElement|Window}
573
+ * @private
574
+ */
575
+ Popover.prototype.getWithinAreaDomRef = function () {
576
+ return Popup.getWithinAreaDomRef();
577
+ };
578
+
569
579
  /**
570
580
  * Required adaptations before rendering of the Popover.
571
581
  *
572
582
  * @private
573
583
  */
574
584
  Popover.prototype.onBeforeRendering = function () {
575
- var oNavContent, oPageContent;
585
+ var oNavContent, oPageContent, $popoverWithinArea;
586
+
587
+ if (this.hasStyleClass("sapUiPopupWithPadding")) {
588
+ Log.warning("Usage of CSS class 'sapUiPopupWithPadding' is deprecated. Use 'sapUiContentPadding' instead", null, "sap.m.Popover");
589
+ }
576
590
 
577
591
  if (!this._initialWindowDimensions.width || !this._initialWindowDimensions.height) {
592
+ $popoverWithinArea = jQuery(this.getWithinAreaDomRef());
578
593
  this._initialWindowDimensions = {
579
- width: this._$window.width(),
580
- height: this._$window.height()
594
+ width: $popoverWithinArea.width(),
595
+ height: $popoverWithinArea.height()
581
596
  };
582
597
  }
583
598
 
@@ -930,15 +945,16 @@ sap.ui.define([
930
945
  sContentHeight = this.getContentHeight(),
931
946
  $arrow = this.$("arrow"),
932
947
  iWindowWidth,
933
- iWindowHeight;
948
+ iWindowHeight,
949
+ $popoverWithinArea = jQuery(this.getWithinAreaDomRef());
934
950
 
935
951
  if (sContentWidth.indexOf("%") > 0) {
936
- iWindowWidth = this._$window.width();
952
+ iWindowWidth = $popoverWithinArea.width();
937
953
  sContentWidth = PopupHelper.calcPercentageSize(sContentWidth, iWindowWidth);
938
954
  }
939
955
 
940
956
  if (sContentHeight.indexOf("%") > 0) {
941
- iWindowHeight = this._$window.height();
957
+ iWindowHeight = $popoverWithinArea.height();
942
958
  sContentHeight = PopupHelper.calcPercentageSize(sContentHeight, iWindowHeight);
943
959
  }
944
960
 
@@ -1326,9 +1342,10 @@ sap.ui.define([
1326
1342
 
1327
1343
  Popover.prototype._getDocHeight = function () {
1328
1344
  var body = document.body,
1329
- html = document.documentElement;
1345
+ html = document.documentElement,
1346
+ oOffset = jQuery(this.getWithinAreaDomRef()).offset() || {top: 0};
1330
1347
 
1331
- return Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.offsetHeight);
1348
+ return oOffset.top + Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.offsetHeight);
1332
1349
  };
1333
1350
 
1334
1351
  Popover.prototype._calcVertical = function () {
@@ -1384,7 +1401,8 @@ sap.ui.define([
1384
1401
  var iOffsetX = this._getOffsetX();
1385
1402
  var iLeftSpace = iParentLeft - this._marginLeft + iOffsetX;
1386
1403
  var iParentRight = iParentLeft + iParentWidth;
1387
- var iRightSpace = this._$window.width() - iParentRight - this._marginRight - iOffsetX;
1404
+ var $popoverWithinArea = jQuery(this.getWithinAreaDomRef());
1405
+ var iRightSpace = $popoverWithinArea.width() - iParentRight - this._marginRight - iOffsetX;
1388
1406
  var iPopoverWidth = this.$().outerWidth();
1389
1407
  var bPreferredLeftOrFlip = this.getPlacement() === PlacementType.PreferredLeftOrFlip;
1390
1408
  var bPreferredRightOrFlip = this.getPlacement() === PlacementType.PreferredRightOrFlip;
@@ -1420,8 +1438,9 @@ sap.ui.define([
1420
1438
  };
1421
1439
 
1422
1440
  Popover.prototype._calcAuto = function () {
1441
+ var $popoverWithinArea = jQuery(this.getWithinAreaDomRef());
1423
1442
  //calculate which position is the best
1424
- if (this._$window.width() > this._$window.height()) {
1443
+ if ($popoverWithinArea.width() > $popoverWithinArea.height()) {
1425
1444
  //in "landscape" mode horizontal is preferred, therefore it is checked first
1426
1445
  if (this._checkHorizontal()) {
1427
1446
  this._calcHorizontal();
@@ -1451,7 +1470,8 @@ sap.ui.define([
1451
1470
  var iOffsetX = this._getOffsetX();
1452
1471
  var iLeftSpace = iParentLeft - this._marginLeft + iOffsetX;
1453
1472
  var iParentRight = iParentLeft + iParentWidth;
1454
- var iRightSpace = this._$window.width() - iParentRight - this._marginRight - iOffsetX;
1473
+ var $popoverWithinArea = jQuery(this.getWithinAreaDomRef());
1474
+ var iRightSpace = $popoverWithinArea.width() - iParentRight - this._marginRight - iOffsetX;
1455
1475
 
1456
1476
  var $this = this.$();
1457
1477
  var iWidth = $this.outerWidth() + this._arrowOffset;
@@ -1498,23 +1518,24 @@ sap.ui.define([
1498
1518
  var iBottomSpace = this._getDocHeight() - $parent.offset().top - iParentHeight - this._marginBottom - iOffsetY;
1499
1519
  var iLeftSpace = iParentLeft - this._marginLeft + iOffsetX;
1500
1520
  var iParentRight = iParentLeft + iParentWidth;
1501
- var iRightSpace = this._$window.width() - iParentRight - this._marginRight - iOffsetX;
1521
+ var $popoverWithinArea = jQuery(this.getWithinAreaDomRef());
1522
+ var iRightSpace = $popoverWithinArea.width() - iParentRight - this._marginRight - iOffsetX;
1502
1523
 
1503
1524
  //calculation for every possible position how many percent of the popover can be covered
1504
1525
  var fPopoverSize = iHeight * iWidth;
1505
1526
  var fAvailableHeight;
1506
1527
  var fAvaliableWidth;
1507
1528
 
1508
- if ((this._$window.height() - this._marginTop - this._marginBottom) >= iHeight) {
1529
+ if (($popoverWithinArea.height() - this._marginTop - this._marginBottom) >= iHeight) {
1509
1530
  fAvailableHeight = iHeight;
1510
1531
  } else {
1511
- fAvailableHeight = this._$window.height() - this._marginTop - this._marginBottom;
1532
+ fAvailableHeight = $popoverWithinArea.height() - this._marginTop - this._marginBottom;
1512
1533
  }
1513
1534
 
1514
- if ((this._$window.width() - this._marginLeft - this._marginRight) >= iWidth) {
1535
+ if (($popoverWithinArea.width() - this._marginLeft - this._marginRight) >= iWidth) {
1515
1536
  fAvaliableWidth = iWidth;
1516
1537
  } else {
1517
- fAvaliableWidth = this._$window.width() - this._marginLeft - this._marginRight;
1538
+ fAvaliableWidth = $popoverWithinArea.width() - this._marginLeft - this._marginRight;
1518
1539
  }
1519
1540
 
1520
1541
  var fLeftCoverage = (fAvailableHeight * (iLeftSpace)) / fPopoverSize;
@@ -1539,7 +1560,7 @@ sap.ui.define([
1539
1560
  this._oCalcedPos = PlacementType.Bottom;
1540
1561
  }
1541
1562
  } else if (fMaxCoverageVertical === fMaxCoverageHorizontal) {
1542
- if (this._$window.height() > this._$window.width()) {
1563
+ if ($popoverWithinArea.height() > $popoverWithinArea.width()) {
1543
1564
  // in portrait vertical is preferred
1544
1565
  if (fMaxCoverageVertical === fTopCoverage) {
1545
1566
  this._oCalcedPos = PlacementType.Top;
@@ -1589,7 +1610,10 @@ sap.ui.define([
1589
1610
  Popover.prototype._getPositionParams = function ($popover, $arrow, $content, $scrollArea) {
1590
1611
  var oComputedStyle = window.getComputedStyle($popover[0]),
1591
1612
  oContentComputedStyle = window.getComputedStyle($content[0]),
1592
- fScrollWidth = this.getDomRef().clientHeight != this.getDomRef().scrollHeight ? getScrollbarSize().width : 0,
1613
+ $window = jQuery(window),
1614
+ fScrollWidth = this.getDomRef().clientHeight !== this.getDomRef().scrollHeight ? getScrollbarSize().width : 0,
1615
+ $popoverWithinArea = jQuery(this.getWithinAreaDomRef()),
1616
+ oWithinOffset = $popoverWithinArea.offset() || {top: 0, left: 0},
1593
1617
  oPosParams = {};
1594
1618
 
1595
1619
  oPosParams._$popover = $popover;
@@ -1603,30 +1627,36 @@ sap.ui.define([
1603
1627
 
1604
1628
  oPosParams._$footer = $popover.children(".sapMPopoverFooter");
1605
1629
 
1606
- oPosParams._fWindowTop = this._$window.scrollTop();
1607
- oPosParams._fWindowRight = this._$window.width();
1608
- oPosParams._fWindowBottom = (Popover._bIOS7 && Device.orientation.landscape && window.innerHeight) ? window.innerHeight : this._$window.height();
1609
- oPosParams._fWindowLeft = this._$window.scrollLeft();
1630
+ // Window dimensions
1631
+ oPosParams._fWindowTop = $window.scrollTop();
1632
+ oPosParams._fWindowRight = $window.width();
1633
+ oPosParams._fWindowBottom = (Popover._bIOS7 && Device.orientation.landscape && window.innerHeight) ? window.innerHeight : $window.height();
1634
+ oPosParams._fWindowLeft = $window.scrollLeft();
1635
+ oPosParams._fWindowWidth = window.innerWidth;
1636
+ oPosParams._fWindowHeight = window.innerHeight;
1637
+
1638
+ oPosParams._fWithinAreaWidth = Math.min($popoverWithinArea.outerWidth(), oPosParams._fWindowWidth);
1639
+ oPosParams._fWithinAreaHeight = Math.min($popoverWithinArea.outerHeight(), oPosParams._fWindowHeight);
1610
1640
 
1611
1641
  oPosParams._fDocumentWidth = oPosParams._fWindowLeft + oPosParams._fWindowRight;
1612
1642
  oPosParams._fDocumentHeight = oPosParams._fWindowTop + oPosParams._fWindowBottom;
1613
1643
 
1614
1644
  oPosParams._fArrowHeight = $arrow.outerHeight(true);
1615
- oPosParams._fWidth = Popover.outerWidth($popover[0]);
1616
- oPosParams._fWidthInner = oPosParams._$scrollArea ? (oPosParams._$scrollArea.width() + fScrollWidth) : 0;
1617
- oPosParams._fHeight = Popover.outerHeight($popover[0]);
1645
+ oPosParams._fPopoverWidth = Popover.outerWidth($popover[0]);
1646
+ oPosParams._fPopoverInnerWidth = oPosParams._$scrollArea ? (oPosParams._$scrollArea.width() + fScrollWidth) : 0;
1647
+ oPosParams._fPopoverHeight = Popover.outerHeight($popover[0]);
1618
1648
  oPosParams._fHeaderHeight = oPosParams._$header.length > 0 ? oPosParams._$header.outerHeight(true) : 0;
1619
1649
  oPosParams._fSubHeaderHeight = oPosParams._$subHeader.length > 0 ? oPosParams._$subHeader.outerHeight(true) : 0;
1620
1650
  oPosParams._fFooterHeight = oPosParams._$footer.length > 0 ? oPosParams._$footer.outerHeight(true) : 0;
1621
1651
 
1622
- oPosParams._fOffset = $popover.offset();
1623
- oPosParams._fOffsetX = this._getOffsetX();
1624
- oPosParams._fOffsetY = this._getOffsetY();
1652
+ oPosParams._fPopoverOffset = $popover.offset();
1653
+ oPosParams._fPopoverOffsetX = this._getOffsetX();
1654
+ oPosParams._fPopoverOffsetY = this._getOffsetY();
1625
1655
 
1626
- oPosParams._fMarginTop = oPosParams._fWindowTop + this._marginTop;
1627
- oPosParams._fMarginRight = this._marginRight;
1628
- oPosParams._fMarginBottom = this._marginBottom;
1629
- oPosParams._fMarginLeft = oPosParams._fWindowLeft + this._marginLeft;
1656
+ oPosParams._fPopoverMarginTop = oPosParams._fWindowTop + this._marginTop + oWithinOffset.top;
1657
+ oPosParams._fPopoverMarginLeft = oPosParams._fWindowLeft + this._marginLeft + oWithinOffset.left;
1658
+ oPosParams._fPopoverMarginRight = oPosParams._fWindowWidth - oWithinOffset.left - oPosParams._fWithinAreaWidth + this._marginRight;
1659
+ oPosParams._fPopoverMarginBottom = oPosParams._fWindowHeight - oWithinOffset.top - oPosParams._fWithinAreaHeight + this._marginBottom;
1630
1660
 
1631
1661
  oPosParams._fPopoverBorderTop = parseFloat(oComputedStyle.borderTopWidth);
1632
1662
  oPosParams._fPopoverBorderRight = parseFloat(oComputedStyle.borderRightWidth);
@@ -1647,31 +1677,35 @@ sap.ui.define([
1647
1677
  * @private
1648
1678
  */
1649
1679
  Popover.prototype._recalculateMargins = function (sCalculatedPlacement, oPosParams) {
1680
+ var fNewCalc;
1650
1681
  var bRtl = sap.ui.getCore().getConfiguration().getRTL();
1651
1682
 
1652
1683
  //make the popover never cover the control or dom node that opens the popover
1653
1684
  switch (sCalculatedPlacement) {
1654
1685
  case PlacementType.Left:
1655
1686
  if (bRtl) {
1656
- oPosParams._fMarginLeft = oPosParams._$parent.offset().left + Popover.outerWidth(oPosParams._$parent[0], false) + this._arrowOffset - oPosParams._fOffsetX;
1687
+ oPosParams._fPopoverMarginLeft = oPosParams._$parent.offset().left + Popover.outerWidth(oPosParams._$parent[0], false) + this._arrowOffset - oPosParams._fPopoverOffsetX;
1657
1688
  } else {
1658
- oPosParams._fMarginRight = oPosParams._fDocumentWidth - oPosParams._$parent.offset().left + this._arrowOffset - oPosParams._fOffsetX;
1689
+ oPosParams._fPopoverMarginRight = oPosParams._fWindowWidth - oPosParams._$parent.offset().left + this._arrowOffset - oPosParams._fPopoverOffsetX;
1659
1690
  }
1660
1691
  break;
1661
1692
  case PlacementType.Right:
1662
1693
  if (bRtl) {
1663
- oPosParams._fMarginRight = oPosParams._fDocumentWidth - Popover.outerWidth(oPosParams._$parent[0], false) - oPosParams._$parent.offset().left + this._arrowOffset;
1694
+ oPosParams._fPopoverMarginRight = oPosParams._fWindowWidth - Popover.outerWidth(oPosParams._$parent[0], false) - oPosParams._$parent.offset().left + this._arrowOffset;
1664
1695
  } else {
1665
- oPosParams._fMarginLeft = oPosParams._$parent.offset().left + Popover.outerWidth(oPosParams._$parent[0], false) + this._arrowOffset + oPosParams._fOffsetX;
1696
+ oPosParams._fPopoverMarginLeft = oPosParams._$parent.offset().left + Popover.outerWidth(oPosParams._$parent[0], false) + this._arrowOffset + oPosParams._fPopoverOffsetX;
1666
1697
  }
1667
1698
  break;
1668
1699
  case PlacementType.Top:
1669
- oPosParams._fMarginBottom = oPosParams._fDocumentHeight - oPosParams._$parent.offset().top + this._arrowOffset - oPosParams._fOffsetY;
1700
+ fNewCalc = oPosParams._fWindowHeight - oPosParams._$parent.offset().top + this._arrowOffset - oPosParams._fPopoverOffsetY;
1701
+ oPosParams._fPopoverMarginBottom = fNewCalc > oPosParams._fPopoverMarginBottom ? fNewCalc : oPosParams._fPopoverMarginBottom;
1670
1702
  break;
1671
1703
  case PlacementType.Bottom:
1672
- oPosParams._fMarginTop = oPosParams._$parent.offset().top + Popover.outerHeight(oPosParams._$parent[0], false) + this._arrowOffset + oPosParams._fOffsetY;
1704
+ oPosParams._fPopoverMarginTop = oPosParams._$parent.offset().top + Popover.outerHeight(oPosParams._$parent[0], false) + this._arrowOffset + oPosParams._fPopoverOffsetY;
1673
1705
  break;
1674
1706
  }
1707
+
1708
+ return oPosParams;
1675
1709
  };
1676
1710
 
1677
1711
  /**
@@ -1686,25 +1720,25 @@ sap.ui.define([
1686
1720
  iRight,
1687
1721
  iTop,
1688
1722
  iBottom,
1689
- iPosToRightBorder = oPosParams._fDocumentWidth - oPosParams._fOffset.left - oPosParams._fWidth,
1690
- iPosToBottomBorder = oPosParams._fDocumentHeight - oPosParams._fOffset.top - oPosParams._fHeight,
1691
- bExceedHorizontal = (oPosParams._fDocumentWidth - oPosParams._fMarginRight - oPosParams._fMarginLeft) < oPosParams._fWidth,
1692
- bExceedVertical = (oPosParams._fDocumentHeight - oPosParams._fMarginTop - oPosParams._fMarginBottom) < oPosParams._fHeight,
1693
- bOverLeft = oPosParams._fOffset.left < oPosParams._fMarginLeft,
1723
+ iPosToRightBorder = oPosParams._fDocumentWidth - oPosParams._fPopoverOffset.left - oPosParams._fPopoverWidth,
1724
+ iPosToBottomBorder = oPosParams._fDocumentHeight - oPosParams._fPopoverOffset.top - oPosParams._fPopoverHeight,
1725
+ bExceedHorizontal = (oPosParams._fDocumentWidth - oPosParams._fPopoverMarginRight - oPosParams._fPopoverMarginLeft) < oPosParams._fPopoverWidth,
1726
+ bExceedVertical = (oPosParams._fDocumentHeight - oPosParams._fPopoverMarginTop - oPosParams._fPopoverMarginBottom) < oPosParams._fPopoverHeight,
1727
+ bOverLeft = oPosParams._fPopoverOffset.left < oPosParams._fPopoverMarginLeft,
1694
1728
  //Include Scrollbar's width in these calculations
1695
- fScrollbarSize = this.getVerticalScrolling() && (oPosParams._fWidth !== oPosParams._fWidthInner) ?
1729
+ fScrollbarSize = this.getVerticalScrolling() && (oPosParams._fPopoverWidth !== oPosParams._fPopoverInnerWidth) ?
1696
1730
  getScrollbarSize().width : 0,
1697
- bOverRight = iPosToRightBorder < (oPosParams._fMarginRight + fScrollbarSize),
1698
- bOverTop = oPosParams._fOffset.top < oPosParams._fMarginTop,
1699
- bOverBottom = iPosToBottomBorder < oPosParams._fMarginBottom,
1731
+ bOverRight = iPosToRightBorder < (oPosParams._fPopoverMarginRight + fScrollbarSize),
1732
+ bOverTop = oPosParams._fPopoverOffset.top < oPosParams._fPopoverMarginTop,
1733
+ bOverBottom = iPosToBottomBorder < oPosParams._fPopoverMarginBottom,
1700
1734
  bRtl = sap.ui.getCore().getConfiguration().getRTL();
1701
1735
 
1702
1736
  if (bExceedHorizontal) {
1703
- iLeft = oPosParams._fMarginLeft;
1704
- iRight = oPosParams._fMarginRight;
1737
+ iLeft = oPosParams._fPopoverMarginLeft;
1738
+ iRight = oPosParams._fPopoverMarginRight;
1705
1739
  } else {
1706
1740
  if (bOverLeft) {
1707
- iLeft = oPosParams._fMarginLeft;
1741
+ iLeft = oPosParams._fPopoverMarginLeft;
1708
1742
  if (bRtl) {
1709
1743
  // when only one side of the popover goes beyond the defined border make sure that
1710
1744
  // only one from the iLeft and iRight is set because Popover has a fixed size and
@@ -1712,7 +1746,7 @@ sap.ui.define([
1712
1746
  iRight = "";
1713
1747
  }
1714
1748
  } else if (bOverRight) {
1715
- iRight = oPosParams._fMarginRight;
1749
+ iRight = oPosParams._fPopoverMarginRight;
1716
1750
  // when only one side of the popover goes beyond the defined border make sure that
1717
1751
  // only one from the iLeft and iRight is set because Popover has a fixed size and
1718
1752
  // can't react to content size change when both are set
@@ -1721,13 +1755,13 @@ sap.ui.define([
1721
1755
  }
1722
1756
 
1723
1757
  if (bExceedVertical) {
1724
- iTop = oPosParams._fMarginTop;
1725
- iBottom = oPosParams._fMarginBottom;
1758
+ iTop = oPosParams._fPopoverMarginTop;
1759
+ iBottom = oPosParams._fPopoverMarginBottom;
1726
1760
  } else {
1727
1761
  if (bOverTop) {
1728
- iTop = oPosParams._fMarginTop;
1762
+ iTop = oPosParams._fPopoverMarginTop;
1729
1763
  } else if (bOverBottom) {
1730
- iBottom = oPosParams._fMarginBottom;
1764
+ iBottom = oPosParams._fPopoverMarginBottom;
1731
1765
  // when only one side of the popover goes beyond the defined border make sure that
1732
1766
  // only one from the iLeft and iRight is set because Popover has a fixed size and
1733
1767
  // can't react to content size change when both are set
@@ -1783,7 +1817,10 @@ sap.ui.define([
1783
1817
  * @private
1784
1818
  */
1785
1819
  Popover.prototype._getMaxContentWidth = function (oPosParams) {
1786
- return oPosParams._fDocumentWidth - oPosParams._fMarginLeft - oPosParams._fMarginRight - oPosParams._fPopoverBorderLeft - oPosParams._fPopoverBorderRight;
1820
+ var fPopoverInnerElementsSpacing = oPosParams._fPopoverBorderLeft + oPosParams._fPopoverBorderRight;
1821
+
1822
+ return oPosParams._fDocumentWidth - oPosParams._fPopoverMarginLeft -
1823
+ oPosParams._fPopoverMarginRight - fPopoverInnerElementsSpacing;
1787
1824
  };
1788
1825
 
1789
1826
  /**
@@ -1794,7 +1831,12 @@ sap.ui.define([
1794
1831
  * @private
1795
1832
  */
1796
1833
  Popover.prototype._getMaxContentHeight = function (oPosParams) {
1797
- return oPosParams._fDocumentHeight - oPosParams._fMarginTop - oPosParams._fMarginBottom - oPosParams._fHeaderHeight - oPosParams._fSubHeaderHeight - oPosParams._fFooterHeight - oPosParams._fContentMarginTop - oPosParams._fContentMarginBottom - oPosParams._fPopoverBorderTop - oPosParams._fPopoverBorderBottom;
1834
+ var fPopoverInnerElementsHeight = oPosParams._fHeaderHeight + oPosParams._fSubHeaderHeight +
1835
+ oPosParams._fFooterHeight + oPosParams._fContentMarginTop + oPosParams._fContentMarginBottom +
1836
+ oPosParams._fPopoverBorderTop + oPosParams._fPopoverBorderBottom;
1837
+
1838
+ return oPosParams._fDocumentHeight - oPosParams._fPopoverMarginTop -
1839
+ oPosParams._fPopoverMarginBottom - fPopoverInnerElementsHeight;
1798
1840
  };
1799
1841
 
1800
1842
  /**
@@ -1825,25 +1867,25 @@ sap.ui.define([
1825
1867
  bRtl = sap.ui.getCore().getConfiguration().getRTL();
1826
1868
 
1827
1869
  // Recalculate Popover width and height because they can be changed after position adjustments
1828
- oPosParams._fWidth = oPosParams._$popover.outerWidth();
1829
- oPosParams._fHeight = oPosParams._$popover.outerHeight();
1870
+ oPosParams._fPopoverWidth = oPosParams._$popover.outerWidth();
1871
+ oPosParams._fPopoverHeight = oPosParams._$popover.outerHeight();
1830
1872
 
1831
1873
  // Set arrow offset
1832
1874
  if (sCalculatedPlacement === PlacementType.Left || sCalculatedPlacement === PlacementType.Right) {
1833
- iPosArrow = oPosParams._$parent.offset().top - oPosParams._$popover.offset().top - oPosParams._fPopoverBorderTop + oPosParams._fOffsetY + 0.5 * (Popover.outerHeight(oPosParams._$parent[0], false) - oPosParams._$arrow.outerHeight(false));
1875
+ 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));
1834
1876
  iPosArrow = Math.max(iPosArrow, this._arrowOffsetThreshold);
1835
- iPosArrow = Math.min(iPosArrow, oPosParams._fHeight - this._arrowOffsetThreshold - oPosParams._$arrow.outerHeight());
1877
+ iPosArrow = Math.min(iPosArrow, oPosParams._fPopoverHeight - this._arrowOffsetThreshold - oPosParams._$arrow.outerHeight());
1836
1878
  return {"top": iPosArrow};
1837
1879
  } else if (sCalculatedPlacement === PlacementType.Top || sCalculatedPlacement === PlacementType.Bottom) {
1838
1880
  if (bRtl) {
1839
- iPosArrow = oPosParams._$popover.offset().left + Popover.outerWidth(oPosParams._$popover[0], false) - (oPosParams._$parent.offset().left + Popover.outerWidth(oPosParams._$parent[0], false)) + oPosParams._fPopoverBorderRight + oPosParams._fOffsetX + 0.5 * (Popover.outerWidth(oPosParams._$parent[0], false) - oPosParams._$arrow.outerWidth(false));
1881
+ 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));
1840
1882
  iPosArrow = Math.max(iPosArrow, this._arrowOffsetThreshold);
1841
- iPosArrow = Math.min(iPosArrow, oPosParams._fWidth - this._arrowOffsetThreshold - oPosParams._$arrow.outerWidth(false));
1883
+ iPosArrow = Math.min(iPosArrow, oPosParams._fPopoverWidth - this._arrowOffsetThreshold - oPosParams._$arrow.outerWidth(false));
1842
1884
  return {"right": iPosArrow};
1843
1885
  } else {
1844
- iPosArrow = oPosParams._$parent.offset().left - oPosParams._$popover.offset().left - oPosParams._fPopoverBorderLeft + oPosParams._fOffsetX + 0.5 * (Popover.outerWidth(oPosParams._$parent[0], false) - oPosParams._$arrow.outerWidth(false));
1886
+ 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));
1845
1887
  iPosArrow = Math.max(iPosArrow, this._arrowOffsetThreshold);
1846
- iPosArrow = Math.min(iPosArrow, oPosParams._fWidth - this._arrowOffsetThreshold - oPosParams._$arrow.outerWidth(false));
1888
+ iPosArrow = Math.min(iPosArrow, oPosParams._fPopoverWidth - this._arrowOffsetThreshold - oPosParams._$arrow.outerWidth(false));
1847
1889
  return {"left": iPosArrow};
1848
1890
  }
1849
1891
  }
@@ -1934,7 +1976,7 @@ sap.ui.define([
1934
1976
  sCalculatedPlacement = this._getCalculatedPlacement(),
1935
1977
  oPosParams = this._getPositionParams($popover, $arrow, $content, $scrollArea);
1936
1978
 
1937
- this._recalculateMargins(sCalculatedPlacement, oPosParams);
1979
+ oPosParams = this._recalculateMargins(sCalculatedPlacement, oPosParams);
1938
1980
 
1939
1981
  var oPopoverPosition = this._getPopoverPositionCss(oPosParams),
1940
1982
  oContentSize = this._getContentDimensionsCss(oPosParams),
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.71.46
51
+ * @version 1.71.47
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.71.46
43
+ * @version 1.71.47
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.m.QuickViewBase
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.71.46
65
+ * @version 1.71.47
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.71.46
31
+ * @version 1.71.47
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.m.QuickViewBase
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.71.46
40
+ * @version 1.71.47
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.71.46
24
+ * @version 1.71.47
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.71.46
29
+ * @version 1.71.47
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -89,7 +89,7 @@ sap.ui.define([
89
89
  * @extends sap.ui.core.Control
90
90
  *
91
91
  * @author SAP SE
92
- * @version 1.71.46
92
+ * @version 1.71.47
93
93
  *
94
94
  * @constructor
95
95
  * @public