@openui5/sap.m 1.116.0 → 1.117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/package.json +4 -4
  2. package/src/sap/m/.library +1 -1
  3. package/src/sap/m/AccButton.js +1 -1
  4. package/src/sap/m/ActionListItem.js +1 -1
  5. package/src/sap/m/ActionSelect.js +1 -1
  6. package/src/sap/m/ActionSheet.js +1 -1
  7. package/src/sap/m/ActionTile.js +1 -1
  8. package/src/sap/m/ActionTileContent.js +1 -1
  9. package/src/sap/m/AdditionalTextButton.js +1 -1
  10. package/src/sap/m/App.js +1 -1
  11. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  12. package/src/sap/m/Avatar.js +23 -5
  13. package/src/sap/m/AvatarRenderer.js +16 -10
  14. package/src/sap/m/Bar.js +1 -1
  15. package/src/sap/m/Breadcrumbs.js +6 -5
  16. package/src/sap/m/BusyDialog.js +1 -1
  17. package/src/sap/m/BusyIndicator.js +1 -1
  18. package/src/sap/m/Button.js +1 -1
  19. package/src/sap/m/Carousel.js +24 -8
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CarouselRenderer.js +18 -4
  22. package/src/sap/m/CheckBox.js +8 -4
  23. package/src/sap/m/ColorPalette.js +1 -1
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  27. package/src/sap/m/ColumnListItem.js +3 -2
  28. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  33. package/src/sap/m/ComboBox.js +1 -1
  34. package/src/sap/m/ComboBoxBase.js +1 -1
  35. package/src/sap/m/ComboBoxTextField.js +1 -1
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +9 -5
  40. package/src/sap/m/DatePickerRenderer.js +3 -2
  41. package/src/sap/m/DateRangeSelection.js +45 -22
  42. package/src/sap/m/DateTimeField.js +3 -3
  43. package/src/sap/m/DateTimeInput.js +1 -1
  44. package/src/sap/m/DateTimePicker.js +1 -1
  45. package/src/sap/m/DateTimePickerRenderer.js +3 -1
  46. package/src/sap/m/Dialog.js +16 -10
  47. package/src/sap/m/DialogRenderer.js +3 -3
  48. package/src/sap/m/DisplayListItem.js +1 -1
  49. package/src/sap/m/DraftIndicator.js +1 -1
  50. package/src/sap/m/DynamicDate.js +1 -1
  51. package/src/sap/m/DynamicDateOption.js +2 -2
  52. package/src/sap/m/DynamicDateRange.js +42 -5
  53. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  54. package/src/sap/m/ExpandableText.js +1 -1
  55. package/src/sap/m/FacetFilter.js +1 -3
  56. package/src/sap/m/FacetFilterItem.js +1 -1
  57. package/src/sap/m/FacetFilterList.js +1 -1
  58. package/src/sap/m/FeedContent.js +1 -1
  59. package/src/sap/m/FeedInput.js +1 -1
  60. package/src/sap/m/FeedListItem.js +1 -1
  61. package/src/sap/m/FeedListItemAction.js +1 -1
  62. package/src/sap/m/Fiori20Adapter.js +2 -2
  63. package/src/sap/m/FlexBox.js +1 -1
  64. package/src/sap/m/FlexItemData.js +1 -1
  65. package/src/sap/m/FormattedText.js +2 -2
  66. package/src/sap/m/GenericTag.js +1 -1
  67. package/src/sap/m/GenericTile.js +1 -1
  68. package/src/sap/m/GroupHeaderListItem.js +1 -1
  69. package/src/sap/m/GrowingEnablement.js +12 -7
  70. package/src/sap/m/GrowingList.js +1 -1
  71. package/src/sap/m/HBox.js +1 -1
  72. package/src/sap/m/HeaderContainer.js +1 -1
  73. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  74. package/src/sap/m/HyphenationSupport.js +13 -4
  75. package/src/sap/m/IconTabBar.js +3 -1
  76. package/src/sap/m/IconTabBarSelectList.js +1 -1
  77. package/src/sap/m/IconTabFilter.js +3 -2
  78. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  79. package/src/sap/m/IconTabHeader.js +1 -1
  80. package/src/sap/m/IconTabSeparator.js +1 -1
  81. package/src/sap/m/IllustratedMessage.js +4 -2
  82. package/src/sap/m/Illustration.js +1 -1
  83. package/src/sap/m/IllustrationPool.js +4 -3
  84. package/src/sap/m/Image.js +1 -1
  85. package/src/sap/m/ImageContent.js +1 -1
  86. package/src/sap/m/Input.js +10 -6
  87. package/src/sap/m/InputBase.js +7 -5
  88. package/src/sap/m/InputBaseRenderer.js +3 -3
  89. package/src/sap/m/InputListItem.js +1 -1
  90. package/src/sap/m/Label.js +1 -1
  91. package/src/sap/m/LabelRenderer.js +3 -3
  92. package/src/sap/m/LightBox.js +1 -1
  93. package/src/sap/m/LightBoxItem.js +1 -1
  94. package/src/sap/m/Link.js +8 -3
  95. package/src/sap/m/List.js +1 -1
  96. package/src/sap/m/ListBase.js +59 -21
  97. package/src/sap/m/ListBaseRenderer.js +12 -4
  98. package/src/sap/m/ListItemBase.js +17 -8
  99. package/src/sap/m/ListItemBaseRenderer.js +6 -6
  100. package/src/sap/m/MaskEnabler.js +1 -1
  101. package/src/sap/m/MaskInput.js +1 -1
  102. package/src/sap/m/MaskInputRule.js +1 -1
  103. package/src/sap/m/Menu.js +14 -1
  104. package/src/sap/m/MenuButton.js +1 -1
  105. package/src/sap/m/MenuItem.js +1 -1
  106. package/src/sap/m/MenuListItem.js +1 -1
  107. package/src/sap/m/MessageItem.js +1 -1
  108. package/src/sap/m/MessageListItem.js +1 -1
  109. package/src/sap/m/MessagePage.js +1 -1
  110. package/src/sap/m/MessagePopover.js +1 -1
  111. package/src/sap/m/MessagePopoverItem.js +1 -1
  112. package/src/sap/m/MessageStrip.js +1 -1
  113. package/src/sap/m/MessageToast.js +1 -1
  114. package/src/sap/m/MessageView.js +2 -2
  115. package/src/sap/m/MultiComboBox.js +3 -3
  116. package/src/sap/m/MultiEditField.js +1 -1
  117. package/src/sap/m/MultiInput.js +13 -2
  118. package/src/sap/m/NavContainer.js +21 -5
  119. package/src/sap/m/NewsContent.js +1 -1
  120. package/src/sap/m/NotificationList.js +1 -1
  121. package/src/sap/m/NotificationListBase.js +1 -1
  122. package/src/sap/m/NotificationListGroup.js +1 -1
  123. package/src/sap/m/NotificationListItem.js +1 -1
  124. package/src/sap/m/NumericContent.js +1 -1
  125. package/src/sap/m/NumericInput.js +1 -1
  126. package/src/sap/m/ObjectAttribute.js +1 -1
  127. package/src/sap/m/ObjectHeader.js +6 -1
  128. package/src/sap/m/ObjectIdentifier.js +1 -1
  129. package/src/sap/m/ObjectListItem.js +9 -2
  130. package/src/sap/m/ObjectMarker.js +1 -1
  131. package/src/sap/m/ObjectNumber.js +1 -1
  132. package/src/sap/m/ObjectStatus.js +19 -3
  133. package/src/sap/m/ObjectStatusRenderer.js +14 -9
  134. package/src/sap/m/OverflowToolbar.js +24 -15
  135. package/src/sap/m/OverflowToolbarAssociativePopover.js +5 -5
  136. package/src/sap/m/OverflowToolbarButton.js +1 -1
  137. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  138. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  139. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  140. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  141. package/src/sap/m/P13nColumnsItem.js +1 -1
  142. package/src/sap/m/P13nColumnsPanel.js +2 -8
  143. package/src/sap/m/P13nConditionPanel.js +1 -1
  144. package/src/sap/m/P13nDialog.js +2 -1
  145. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  146. package/src/sap/m/P13nDimMeasurePanel.js +3 -10
  147. package/src/sap/m/P13nFilterItem.js +1 -1
  148. package/src/sap/m/P13nFilterPanel.js +28 -43
  149. package/src/sap/m/P13nGroupItem.js +1 -1
  150. package/src/sap/m/P13nGroupPanel.js +1 -1
  151. package/src/sap/m/P13nItem.js +1 -1
  152. package/src/sap/m/P13nPanel.js +1 -1
  153. package/src/sap/m/P13nSelectionItem.js +1 -1
  154. package/src/sap/m/P13nSelectionPanel.js +5 -3
  155. package/src/sap/m/P13nSortItem.js +1 -1
  156. package/src/sap/m/P13nSortPanel.js +1 -1
  157. package/src/sap/m/PDFViewer.js +1 -1
  158. package/src/sap/m/PDFViewerRenderer.js +1 -1
  159. package/src/sap/m/Page.js +8 -6
  160. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  161. package/src/sap/m/PagingButton.js +1 -1
  162. package/src/sap/m/Panel.js +11 -2
  163. package/src/sap/m/PanelRenderer.js +9 -0
  164. package/src/sap/m/PlanningCalendar.js +10 -4
  165. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  166. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  167. package/src/sap/m/PlanningCalendarRow.js +1 -1
  168. package/src/sap/m/PlanningCalendarView.js +1 -1
  169. package/src/sap/m/Popover.js +13 -17
  170. package/src/sap/m/ProgressIndicator.js +1 -1
  171. package/src/sap/m/PullToRefresh.js +1 -1
  172. package/src/sap/m/QuickView.js +1 -1
  173. package/src/sap/m/QuickViewBase.js +1 -1
  174. package/src/sap/m/QuickViewCard.js +14 -1
  175. package/src/sap/m/QuickViewCardRenderer.js +0 -4
  176. package/src/sap/m/QuickViewGroup.js +1 -1
  177. package/src/sap/m/QuickViewGroupElement.js +1 -1
  178. package/src/sap/m/QuickViewPage.js +40 -28
  179. package/src/sap/m/RadioButton.js +1 -1
  180. package/src/sap/m/RadioButtonGroup.js +1 -1
  181. package/src/sap/m/RangeSlider.js +1 -1
  182. package/src/sap/m/RatingIndicator.js +1 -1
  183. package/src/sap/m/ResponsivePopover.js +1 -1
  184. package/src/sap/m/ResponsiveScale.js +1 -1
  185. package/src/sap/m/ScrollBar.js +1 -1
  186. package/src/sap/m/ScrollContainer.js +3 -3
  187. package/src/sap/m/SearchField.js +8 -12
  188. package/src/sap/m/SearchFieldRenderer.js +5 -5
  189. package/src/sap/m/SegmentedButton.js +4 -2
  190. package/src/sap/m/SegmentedButtonItem.js +1 -1
  191. package/src/sap/m/SegmentedButtonRenderer.js +3 -3
  192. package/src/sap/m/Select.js +18 -16
  193. package/src/sap/m/SelectDialog.js +1 -1
  194. package/src/sap/m/SelectDialogBase.js +28 -4
  195. package/src/sap/m/SelectList.js +5 -6
  196. package/src/sap/m/SelectionDetails.js +1 -1
  197. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  198. package/src/sap/m/SelectionDetailsItem.js +1 -1
  199. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  200. package/src/sap/m/Shell.js +1 -1
  201. package/src/sap/m/SimpleFixFlex.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  204. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  205. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +43 -43
  206. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  207. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  210. package/src/sap/m/SlideTile.js +1 -1
  211. package/src/sap/m/Slider.js +1 -1
  212. package/src/sap/m/SliderTooltip.js +1 -1
  213. package/src/sap/m/SliderTooltipBase.js +1 -1
  214. package/src/sap/m/SliderTooltipContainer.js +1 -1
  215. package/src/sap/m/SplitApp.js +1 -1
  216. package/src/sap/m/SplitButton.js +1 -1
  217. package/src/sap/m/SplitContainer.js +8 -13
  218. package/src/sap/m/StandardDynamicDateOption.js +2 -2
  219. package/src/sap/m/StandardListItem.js +1 -1
  220. package/src/sap/m/StandardTile.js +1 -1
  221. package/src/sap/m/StandardTileRenderer.js +1 -1
  222. package/src/sap/m/StandardTreeItem.js +1 -1
  223. package/src/sap/m/StepInput.js +3 -3
  224. package/src/sap/m/SuggestionItem.js +4 -2
  225. package/src/sap/m/SuggestionsPopover.js +1 -1
  226. package/src/sap/m/Switch.js +1 -1
  227. package/src/sap/m/TabContainer.js +1 -1
  228. package/src/sap/m/TabContainerItem.js +1 -1
  229. package/src/sap/m/TabStrip.js +1 -1
  230. package/src/sap/m/TabStripItem.js +1 -1
  231. package/src/sap/m/Table.js +14 -12
  232. package/src/sap/m/TablePersoController.js +1 -1
  233. package/src/sap/m/TablePersoDialog.js +1 -1
  234. package/src/sap/m/TablePersoProvider.js +1 -1
  235. package/src/sap/m/TableRenderer.js +5 -5
  236. package/src/sap/m/TableSelectDialog.js +1 -1
  237. package/src/sap/m/Text.js +1 -1
  238. package/src/sap/m/TextArea.js +1 -1
  239. package/src/sap/m/TextRenderer.js +3 -3
  240. package/src/sap/m/Tile.js +1 -1
  241. package/src/sap/m/TileContainer.js +1 -1
  242. package/src/sap/m/TileContent.js +1 -1
  243. package/src/sap/m/TileRenderer.js +7 -4
  244. package/src/sap/m/TimePicker.js +13 -11
  245. package/src/sap/m/TimePickerClock.js +1 -1
  246. package/src/sap/m/TimePickerClocks.js +1 -1
  247. package/src/sap/m/TimePickerInputs.js +1 -1
  248. package/src/sap/m/TimePickerInternals.js +1 -1
  249. package/src/sap/m/TimePickerRenderer.js +3 -2
  250. package/src/sap/m/TimePickerSlider.js +1 -1
  251. package/src/sap/m/TimePickerSliders.js +1 -1
  252. package/src/sap/m/Title.js +1 -1
  253. package/src/sap/m/TitlePropagationSupport.js +1 -1
  254. package/src/sap/m/ToggleButton.js +1 -1
  255. package/src/sap/m/Token.js +1 -1
  256. package/src/sap/m/Tokenizer.js +1 -1
  257. package/src/sap/m/Toolbar.js +4 -2
  258. package/src/sap/m/ToolbarLayoutData.js +1 -1
  259. package/src/sap/m/ToolbarSeparator.js +1 -1
  260. package/src/sap/m/ToolbarSpacer.js +1 -1
  261. package/src/sap/m/Tree.js +1 -1
  262. package/src/sap/m/TreeItemBase.js +1 -1
  263. package/src/sap/m/UploadCollection.js +2 -2
  264. package/src/sap/m/UploadCollectionItem.js +1 -1
  265. package/src/sap/m/UploadCollectionParameter.js +1 -1
  266. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  267. package/src/sap/m/VBox.js +1 -1
  268. package/src/sap/m/ValueStateHeader.js +1 -1
  269. package/src/sap/m/VariantManagement.js +12 -12
  270. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  271. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  272. package/src/sap/m/ViewSettingsDialog.js +2 -2
  273. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  274. package/src/sap/m/ViewSettingsItem.js +1 -1
  275. package/src/sap/m/VisibleItem.js +1 -1
  276. package/src/sap/m/WheelSlider.js +1 -1
  277. package/src/sap/m/WheelSliderContainer.js +1 -1
  278. package/src/sap/m/Wizard.js +1 -1
  279. package/src/sap/m/WizardProgressNavigator.js +1 -1
  280. package/src/sap/m/WizardStep.js +1 -1
  281. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  282. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  283. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  284. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  285. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  286. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  287. package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +5 -5
  288. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -0
  289. package/src/sap/m/library.js +55 -7
  290. package/src/sap/m/messagebundle.properties +5 -2
  291. package/src/sap/m/messagebundle_ar.properties +20 -10
  292. package/src/sap/m/messagebundle_bg.properties +19 -9
  293. package/src/sap/m/messagebundle_ca.properties +20 -10
  294. package/src/sap/m/messagebundle_cs.properties +20 -10
  295. package/src/sap/m/messagebundle_cy.properties +20 -10
  296. package/src/sap/m/messagebundle_da.properties +20 -10
  297. package/src/sap/m/messagebundle_de.properties +20 -10
  298. package/src/sap/m/messagebundle_el.properties +20 -10
  299. package/src/sap/m/messagebundle_en.properties +20 -10
  300. package/src/sap/m/messagebundle_en_GB.properties +20 -10
  301. package/src/sap/m/messagebundle_en_US_sappsd.properties +21 -11
  302. package/src/sap/m/messagebundle_en_US_saprigi.properties +19 -11
  303. package/src/sap/m/messagebundle_en_US_saptrc.properties +21 -11
  304. package/src/sap/m/messagebundle_es.properties +20 -10
  305. package/src/sap/m/messagebundle_es_MX.properties +20 -10
  306. package/src/sap/m/messagebundle_et.properties +20 -10
  307. package/src/sap/m/messagebundle_fi.properties +19 -9
  308. package/src/sap/m/messagebundle_fr.properties +20 -10
  309. package/src/sap/m/messagebundle_fr_CA.properties +20 -10
  310. package/src/sap/m/messagebundle_hi.properties +20 -10
  311. package/src/sap/m/messagebundle_hr.properties +20 -10
  312. package/src/sap/m/messagebundle_hu.properties +19 -9
  313. package/src/sap/m/messagebundle_id.properties +21 -11
  314. package/src/sap/m/messagebundle_it.properties +20 -10
  315. package/src/sap/m/messagebundle_iw.properties +21 -11
  316. package/src/sap/m/messagebundle_ja.properties +20 -10
  317. package/src/sap/m/messagebundle_kk.properties +20 -10
  318. package/src/sap/m/messagebundle_ko.properties +21 -11
  319. package/src/sap/m/messagebundle_lt.properties +20 -10
  320. package/src/sap/m/messagebundle_lv.properties +20 -10
  321. package/src/sap/m/messagebundle_ms.properties +20 -10
  322. package/src/sap/m/messagebundle_nl.properties +22 -12
  323. package/src/sap/m/messagebundle_no.properties +20 -10
  324. package/src/sap/m/messagebundle_pl.properties +22 -12
  325. package/src/sap/m/messagebundle_pt.properties +20 -10
  326. package/src/sap/m/messagebundle_pt_PT.properties +20 -10
  327. package/src/sap/m/messagebundle_ro.properties +20 -10
  328. package/src/sap/m/messagebundle_ru.properties +18 -8
  329. package/src/sap/m/messagebundle_sh.properties +20 -10
  330. package/src/sap/m/messagebundle_sk.properties +20 -10
  331. package/src/sap/m/messagebundle_sl.properties +19 -9
  332. package/src/sap/m/messagebundle_sv.properties +20 -10
  333. package/src/sap/m/messagebundle_th.properties +21 -11
  334. package/src/sap/m/messagebundle_tr.properties +20 -10
  335. package/src/sap/m/messagebundle_uk.properties +20 -10
  336. package/src/sap/m/messagebundle_vi.properties +20 -10
  337. package/src/sap/m/messagebundle_zh_CN.properties +20 -10
  338. package/src/sap/m/messagebundle_zh_TW.properties +20 -10
  339. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  340. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  341. package/src/sap/m/p13n/BasePanel.js +1 -2
  342. package/src/sap/m/p13n/Container.js +1 -1
  343. package/src/sap/m/p13n/Engine.js +32 -5
  344. package/src/sap/m/p13n/FlexUtil.js +7 -3
  345. package/src/sap/m/p13n/GroupController.js +1 -1
  346. package/src/sap/m/p13n/GroupPanel.js +1 -1
  347. package/src/sap/m/p13n/MetadataHelper.js +1 -1
  348. package/src/sap/m/p13n/PersistenceProvider.js +2 -97
  349. package/src/sap/m/p13n/Popup.js +25 -2
  350. package/src/sap/m/p13n/QueryPanel.js +1 -1
  351. package/src/sap/m/p13n/SelectionController.js +1 -1
  352. package/src/sap/m/p13n/SelectionPanel.js +6 -2
  353. package/src/sap/m/p13n/SortController.js +1 -1
  354. package/src/sap/m/p13n/SortPanel.js +1 -1
  355. package/src/sap/m/p13n/enum/PersistenceMode.js +9 -0
  356. package/src/sap/m/p13n/handler/xConfigHandler.js +12 -12
  357. package/src/sap/m/p13n/modification/FlexModificationHandler.js +24 -1
  358. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -13
  359. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  360. package/src/sap/m/p13n/modules/UIManager.js +5 -4
  361. package/src/sap/m/p13n/modules/xConfigAPI.js +26 -0
  362. package/src/sap/m/plugins/CellSelector.js +534 -799
  363. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  364. package/src/sap/m/plugins/CopyProvider.js +1 -1
  365. package/src/sap/m/plugins/DataStateIndicator.js +8 -2
  366. package/src/sap/m/plugins/PasteProvider.js +1 -1
  367. package/src/sap/m/plugins/PluginBase.js +1 -1
  368. package/src/sap/m/semantic/AddAction.js +1 -1
  369. package/src/sap/m/semantic/CancelAction.js +1 -1
  370. package/src/sap/m/semantic/DeleteAction.js +1 -1
  371. package/src/sap/m/semantic/DetailPage.js +1 -1
  372. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  373. package/src/sap/m/semantic/EditAction.js +1 -1
  374. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  375. package/src/sap/m/semantic/FilterAction.js +1 -1
  376. package/src/sap/m/semantic/FilterSelect.js +1 -1
  377. package/src/sap/m/semantic/FlagAction.js +1 -1
  378. package/src/sap/m/semantic/ForwardAction.js +1 -1
  379. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  380. package/src/sap/m/semantic/GroupAction.js +1 -1
  381. package/src/sap/m/semantic/GroupSelect.js +1 -1
  382. package/src/sap/m/semantic/MainAction.js +1 -1
  383. package/src/sap/m/semantic/MasterPage.js +1 -1
  384. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  385. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  386. package/src/sap/m/semantic/NegativeAction.js +1 -1
  387. package/src/sap/m/semantic/OpenInAction.js +1 -1
  388. package/src/sap/m/semantic/PositiveAction.js +1 -1
  389. package/src/sap/m/semantic/PrintAction.js +1 -1
  390. package/src/sap/m/semantic/SaveAction.js +1 -1
  391. package/src/sap/m/semantic/Segment.js +1 -1
  392. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  393. package/src/sap/m/semantic/SemanticButton.js +1 -1
  394. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  395. package/src/sap/m/semantic/SemanticControl.js +1 -1
  396. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  397. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  398. package/src/sap/m/semantic/SemanticPage.js +1 -1
  399. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  400. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  401. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  402. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  403. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  404. package/src/sap/m/semantic/ShareMenu.js +1 -1
  405. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  406. package/src/sap/m/semantic/SortAction.js +1 -1
  407. package/src/sap/m/semantic/SortSelect.js +1 -1
  408. package/src/sap/m/table/Util.js +6 -5
  409. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  410. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  411. package/src/sap/m/table/columnmenu/Item.js +1 -1
  412. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  413. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  417. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  418. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  419. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  420. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  421. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  422. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  423. package/src/sap/m/themes/base/Avatar.less +50 -11
  424. package/src/sap/m/themes/base/Carousel.less +7 -0
  425. package/src/sap/m/themes/base/CellSelector.less +50 -105
  426. package/src/sap/m/themes/base/IconTabBar.less +1 -1
  427. package/src/sap/m/themes/base/Link.less +20 -24
  428. package/src/sap/m/themes/base/NumericContent.less +4 -0
  429. package/src/sap/m/themes/base/Panel.less +14 -0
  430. package/src/sap/m/themes/base/SearchField.less +5 -0
  431. package/src/sap/m/themes/base/Select.less +1 -0
  432. package/src/sap/m/themes/base/Table.less +4 -0
  433. package/src/sap/m/themes/base/UploadSet.less +13 -1
  434. package/src/sap/m/themes/base/VariantManagement.less +1 -0
  435. package/src/sap/m/upload/FilePreviewDialog.js +68 -34
  436. package/src/sap/m/upload/UploadSet.js +136 -64
  437. package/src/sap/m/upload/UploadSetItem.js +51 -1
  438. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  439. package/ui5.yaml +1 -1
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for <code>columnsItems</code> aggregation in <code>P13nDimMeasurePanel</code> control.
18
18
  * @extends sap.ui.core.Item
19
- * @version 1.116.0
19
+ * @version 1.117.0
20
20
  * @constructor
21
21
  * @author SAP SE
22
22
  * @public
@@ -89,7 +89,7 @@ sap.ui.define([
89
89
  * dimensions and measures for table personalization.
90
90
  * @extends sap.m.P13nPanel
91
91
  * @author SAP SE
92
- * @version 1.116.0
92
+ * @version 1.117.0
93
93
  * @constructor
94
94
  * @public
95
95
  * @since 1.34.0
@@ -648,8 +648,7 @@ sap.ui.define([
648
648
  },
649
649
  selectionChange: jQuery.proxy(this._onChartTypeChange, this),
650
650
  layoutData: new OverflowToolbarLayoutData({
651
- moveToOverflow: false,
652
- stayInOverflow: false
651
+ priority: OverflowToolbarPriority.NeverOverflow
653
652
  })
654
653
  });
655
654
 
@@ -675,8 +674,7 @@ sap.ui.define([
675
674
  minWidth: "12.5rem",
676
675
  maxWidth: "23.077rem",
677
676
  shrinkable: true,
678
- moveToOverflow: false,
679
- stayInOverflow: false
677
+ priority: OverflowToolbarPriority.NeverOverflow
680
678
  })
681
679
  }), new Button({
682
680
  text: {
@@ -694,7 +692,6 @@ sap.ui.define([
694
692
  type: ButtonType.Transparent,
695
693
  press: jQuery.proxy(this._onSwitchButtonShowSelected, this),
696
694
  layoutData: new OverflowToolbarLayoutData({
697
- moveToOverflow: true,
698
695
  priority: OverflowToolbarPriority.High
699
696
  })
700
697
  }), new OverflowToolbarButton({
@@ -707,7 +704,6 @@ sap.ui.define([
707
704
  },
708
705
  press: jQuery.proxy(this.onPressButtonMoveToTop, this),
709
706
  layoutData: new OverflowToolbarLayoutData({
710
- moveToOverflow: true,
711
707
  priority: OverflowToolbarPriority.Low,
712
708
  group: 2
713
709
  })
@@ -721,7 +717,6 @@ sap.ui.define([
721
717
  },
722
718
  press: jQuery.proxy(this.onPressButtonMoveUp, this),
723
719
  layoutData: new OverflowToolbarLayoutData({
724
- moveToOverflow: true,
725
720
  priority: OverflowToolbarPriority.High,
726
721
  group: 1
727
722
  })
@@ -735,7 +730,6 @@ sap.ui.define([
735
730
  },
736
731
  press: jQuery.proxy(this.onPressButtonMoveDown, this),
737
732
  layoutData: new OverflowToolbarLayoutData({
738
- moveToOverflow: true,
739
733
  priority: OverflowToolbarPriority.High,
740
734
  group: 1
741
735
  })
@@ -749,7 +743,6 @@ sap.ui.define([
749
743
  },
750
744
  press: jQuery.proxy(this.onPressButtonMoveToBottom, this),
751
745
  layoutData: new OverflowToolbarLayoutData({
752
- moveToOverflow: true,
753
746
  priority: OverflowToolbarPriority.Low,
754
747
  group: 2
755
748
  })
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @param {object} [mSettings] initial settings for the new control
18
18
  * @class Type for <code>filterItems</code> aggregation in P13nFilterPanel control.
19
19
  * @extends sap.ui.core.Item
20
- * @version 1.116.0
20
+ * @version 1.117.0
21
21
  * @constructor
22
22
  * @public
23
23
  * @since 1.26.0
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @param {object} [mSettings] initial settings for the new control
24
24
  * @class The P13nFilterPanel control is used to define filter-specific settings for table personalization.
25
25
  * @extends sap.m.P13nPanel
26
- * @version 1.116.0
26
+ * @version 1.117.0
27
27
  * @constructor
28
28
  * @public
29
29
  * @since 1.26.0
@@ -496,48 +496,33 @@ sap.ui.define([
496
496
  }
497
497
  aKeyFields = [];
498
498
  sModelName = (this.getBindingInfo("items") || {}).model;
499
- var fGetValueOfProperty = function (sName, oContext, oItem) {
500
- var oBinding = oItem.getBinding(sName),
501
- oMetadata = oItem.getMetadata(),
502
- vPropertyValue = oMetadata.hasProperty(sName) ? oMetadata.getProperty(sName).get(oItem) : oMetadata.getAggregation(sName).get(oItem),
503
- vContextValue;
504
-
505
- if (oBinding && oContext) {
506
- vContextValue = oContext.getObject()[oBinding.getPath()];
507
- if (sName === "text") {
508
- return vContextValue || vContextValue === "" ? vContextValue : vPropertyValue;
509
- } else {
510
- return vContextValue;
511
- }
512
- }
513
- return vPropertyValue;
514
- };
515
- this.getItems().forEach(function(oItem_) {
516
- var oContext = oItem_.getBindingContext(sModelName),
499
+
500
+ this.getItems().forEach(function(oItem) {
501
+ var oContext = oItem.getBindingContext(sModelName),
517
502
  oField,
518
503
  bNullable,
519
504
  oFieldExclude;
520
505
 
521
506
  // Update key of model (in case of 'restore' the key in model gets lost because it is overwritten by Restore Snapshot)
522
- if (oItem_.getBinding("key")) {
523
- oContext.getObject()[oItem_.getBinding("key").getPath()] = oItem_.getKey();
507
+ if (oItem.getBinding("key")) {
508
+ oContext.getObject()[oItem.getBinding("key").getPath()] = oItem.getKey();
524
509
  }
525
510
  aKeyFields.push(oField = {
526
- key: oItem_.getColumnKey(),
527
- text: fGetValueOfProperty("text", oContext, oItem_),
528
- tooltip: fGetValueOfProperty("tooltip", oContext, oItem_),
529
- maxLength: fGetValueOfProperty("maxLength", oContext, oItem_),
530
- type: fGetValueOfProperty("type", oContext, oItem_),
531
- typeInstance: fGetValueOfProperty("typeInstance", oContext, oItem_),
532
- formatSettings: fGetValueOfProperty("formatSettings", oContext, oItem_),
533
- precision: fGetValueOfProperty("precision", oContext, oItem_),
534
- scale: fGetValueOfProperty("scale", oContext, oItem_),
535
- isDefault: fGetValueOfProperty("isDefault", oContext, oItem_),
536
- values: fGetValueOfProperty("values", oContext, oItem_)
511
+ key: oItem.getColumnKey(),
512
+ text: oItem.getText(),
513
+ tooltip: oItem.getTooltip(),
514
+ maxLength: oItem.getMaxLength(),
515
+ type: oItem.getType(),
516
+ typeInstance: oItem.getTypeInstance(),
517
+ formatSettings: oItem.getFormatSettings(),
518
+ precision: oItem.getPrecision(),
519
+ scale: oItem.getScale(),
520
+ isDefault: oItem.getIsDefault(),
521
+ values: oItem.getValues()
537
522
  });
538
523
 
539
524
  if (bEnableEmptyOperations) {
540
- bNullable = oItem_.getNullable();
525
+ bNullable = oItem.getNullable();
541
526
 
542
527
  // Copy the oField object and add it to the exclude array - we need this only when exclude
543
528
  // operations are enabled
@@ -561,21 +546,21 @@ sap.ui.define([
561
546
 
562
547
  var aConditions = [];
563
548
  sModelName = (this.getBindingInfo("filterItems") || {}).model;
564
- this.getFilterItems().forEach(function(oFilterItem_) {
549
+ this.getFilterItems().forEach(function(oFilterItem) {
565
550
 
566
551
  // the "filterItems" aggregation data - obtained via getFilterItems() - has the old state !
567
- var oContext = oFilterItem_.getBindingContext(sModelName);
552
+ var oContext = oFilterItem.getBindingContext(sModelName);
568
553
  // Update key of model (in case of 'restore' the key in model gets lost because it is overwritten by Restore Snapshot)
569
- if (oFilterItem_.getBinding("key") && oContext) {
570
- oContext.getObject()[oFilterItem_.getBinding("key").getPath()] = oFilterItem_.getKey();
554
+ if (oFilterItem.getBinding("key") && oContext) {
555
+ oContext.getObject()[oFilterItem.getBinding("key").getPath()] = oFilterItem.getKey();
571
556
  }
572
557
  aConditions.push({
573
- key: oFilterItem_.getKey(),
574
- keyField: fGetValueOfProperty("columnKey", oContext, oFilterItem_),
575
- operation: fGetValueOfProperty("operation", oContext, oFilterItem_),
576
- value1: fGetValueOfProperty("value1", oContext, oFilterItem_),
577
- value2: fGetValueOfProperty("value2", oContext, oFilterItem_),
578
- exclude: fGetValueOfProperty("exclude", oContext, oFilterItem_)
558
+ key: oFilterItem.getKey(),
559
+ keyField: oFilterItem.getColumnKey(),
560
+ operation: oFilterItem.getOperation(),
561
+ value1: oFilterItem.getValue1(),
562
+ value2: oFilterItem.getValue2(),
563
+ exclude: oFilterItem.getExclude()
579
564
  });
580
565
  });
581
566
  this.setConditions(aConditions);
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @param {object} [mSettings] initial settings for the new control
18
18
  * @class Type for <code>groupItems</code> aggregation in P13nGroupPanel control.
19
19
  * @extends sap.ui.core.Item
20
- * @version 1.116.0
20
+ * @version 1.117.0
21
21
  * @constructor
22
22
  * @public
23
23
  * @since 1.28.0
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @param {object} [mSettings] initial settings for the new control
28
28
  * @class The P13nGroupPanel control is used to define group-specific settings for table personalization.
29
29
  * @extends sap.m.P13nPanel
30
- * @version 1.116.0
30
+ * @version 1.117.0
31
31
  * @constructor
32
32
  * @deprecated as of version 1.98. Use the {@link sap.m.p13n.GroupPanel} instead.
33
33
  * @public
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @param {object} [mSettings] initial settings for the new control
18
18
  * @class Base type for <code>items</code> aggregation in <code>P13nPanel</code> control.
19
19
  * @extends sap.ui.core.Element
20
- * @version 1.116.0
20
+ * @version 1.117.0
21
21
  * @constructor
22
22
  * @public
23
23
  * @since 1.26.0
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @param {object} [mSettings] initial settings for the new control
18
18
  * @class An abstract base type for <code>panels</code> aggregation in <code>P13nDialog</code> control.
19
19
  * @extends sap.ui.core.Control
20
- * @version 1.116.0
20
+ * @version 1.117.0
21
21
  * @constructor
22
22
  * @public
23
23
  * @abstract
@@ -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.116.0
20
+ * @version 1.117.0
21
21
  * @constructor
22
22
  * @author SAP SE
23
23
  * @private
@@ -22,6 +22,9 @@ sap.ui.define([
22
22
  // shortcut for sap.m.P13nPanelType
23
23
  var P13nPanelType = library.P13nPanelType;
24
24
 
25
+ // shortcut for sap.ui.core.VerticalAlign
26
+ var OverflowToolbarPriority = library.OverflowToolbarPriority;
27
+
25
28
  /**
26
29
  * Constructor for a new P13nSelectionPanel.
27
30
  *
@@ -30,7 +33,7 @@ sap.ui.define([
30
33
  * @class The P13nSelectionPanel control is used to define selection settings like the visibility or the order of items.
31
34
  * @extends sap.m.P13nPanel
32
35
  * @author SAP SE
33
- * @version 1.116.0
36
+ * @version 1.117.0
34
37
  * @constructor
35
38
  * @private
36
39
  * @since 1.46.0
@@ -429,8 +432,7 @@ sap.ui.define([
429
432
  minWidth: "12.5rem",
430
433
  maxWidth: "23.077rem",
431
434
  shrinkable: true,
432
- moveToOverflow: false,
433
- stayInOverflow: false
435
+ priority: OverflowToolbarPriority.NeverOverflow
434
436
  // priority: OverflowToolbarPriority.High
435
437
  })
436
438
  })
@@ -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.116.0
20
+ * @version 1.117.0
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.116.0
29
+ * @version 1.117.0
30
30
  * @constructor
31
31
  * @deprecated as of version 1.98. Use the {@link sap.m.p13n.SortPanel} instead.
32
32
  * @public
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.116.0
50
+ * @version 1.117.0
51
51
  * @since 1.48
52
52
  *
53
53
  * @constructor
@@ -89,7 +89,7 @@ sap.ui.define(['sap/ui/Device', "sap/base/Log", "sap/base/security/URLListValida
89
89
  * case: if "Always download pdf's" option is enabled in browser setting.. in that
90
90
  * case display error content (to retain control behaviour)
91
91
  */
92
- if (!oControl._isDisplayTypeLink() && !this._isPdfPluginEnabled()) {
92
+ if (!oControl._isDisplayTypeLink() && !this._isPdfPluginEnabled() && Device.system.desktop) {
93
93
  this.renderErrorContent(oRm, oControl);
94
94
  } else if (oControl._isEmbeddedModeAllowed() && this._isPdfPluginEnabled()) {
95
95
  this.renderPdfContent(oRm, oControl);
package/src/sap/m/Page.js CHANGED
@@ -8,6 +8,7 @@
8
8
  sap.ui.define([
9
9
  "./library",
10
10
  "sap/ui/core/Control",
11
+ "sap/ui/core/Lib",
11
12
  "sap/ui/core/delegate/ScrollEnablement",
12
13
  "sap/m/Title",
13
14
  "sap/m/Button",
@@ -25,6 +26,7 @@ sap.ui.define([
25
26
  function(
26
27
  library,
27
28
  Control,
29
+ Library,
28
30
  ScrollEnablement,
29
31
  Title,
30
32
  Button,
@@ -93,7 +95,7 @@ function(
93
95
  * @extends sap.ui.core.Control
94
96
  * @mixes sap.ui.core.ContextMenuSupport
95
97
  * @author SAP SE
96
- * @version 1.116.0
98
+ * @version 1.117.0
97
99
  *
98
100
  * @public
99
101
  * @alias sap.m.Page
@@ -406,7 +408,7 @@ function(
406
408
  return;
407
409
  }
408
410
 
409
- var sBackText = this.getNavButtonTooltip() || sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("PAGE_NAVBUTTON_TEXT"); // any other types than "Back" do not make sense anymore in Blue Crystal
411
+ var sBackText = this.getNavButtonTooltip() || Library.getResourceBundleFor("sap.m").getText("PAGE_NAVBUTTON_TEXT"); // any other types than "Back" do not make sense anymore in Blue Crystal
410
412
 
411
413
  if (!this._navBtn) {
412
414
  this._navBtn = new Button(this.getId() + "-navButton", {
@@ -576,8 +578,8 @@ function(
576
578
  };
577
579
 
578
580
  /**
579
- * Returns the sap.ui.core.ScrollEnablement delegate which is used with this control.
580
- * @returns {sap.ui.core.ScrollEnablement} The scroll enablement delegate
581
+ * Returns the sap.ui.core.delegate.ScrollEnablement delegate which is used with this control.
582
+ * @returns {sap.ui.core.delegate.ScrollEnablement} The scroll enablement delegate
581
583
  * @private
582
584
  */
583
585
  Page.prototype.getScrollDelegate = function () {
@@ -733,7 +735,7 @@ function(
733
735
  Page.prototype._getHeaderToolbarAriaLabelledBy = function (sId) {
734
736
  if (!this._oHeaderToolbarInvisibleText) {
735
737
  this._oHeaderToolbarInvisibleText = new InvisibleText(sId + "-InvisibleText", {
736
- text: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ARIA_LABEL_TOOLBAR_HEADER_ACTIONS")
738
+ text: Library.getResourceBundleFor("sap.m").getText("ARIA_LABEL_TOOLBAR_HEADER_ACTIONS")
737
739
  }).toStatic();
738
740
  }
739
741
 
@@ -753,7 +755,7 @@ function(
753
755
  Page.prototype._getFooterToolbarAriaLabelledBy = function (sId) {
754
756
  if (!this._oFooterToolbarInvisibleText) {
755
757
  this._oFooterToolbarInvisibleText = new InvisibleText(sId + "-InvisibleText", {
756
- text: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS")
758
+ text: Library.getResourceBundleFor("sap.m").getText("ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS")
757
759
  }).toStatic();
758
760
  }
759
761
 
@@ -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.116.0
25
+ * @version 1.117.0
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.116.0
29
+ * @version 1.117.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @extends sap.ui.core.Control
68
68
  *
69
69
  * @author SAP SE
70
- * @version 1.116.0
70
+ * @version 1.117.0
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -132,7 +132,16 @@ sap.ui.define([
132
132
  * Depending on the usage you can change the role from the default <code>Form</code> to <code>Region</code> or <code>Complementary</code>.
133
133
  * @since 1.46
134
134
  */
135
- accessibleRole: {type: "sap.m.PanelAccessibleRole", group: "Accessibility", defaultValue: PanelAccessibleRole.Form}
135
+ accessibleRole: {type: "sap.m.PanelAccessibleRole", group: "Accessibility", defaultValue: PanelAccessibleRole.Form},
136
+
137
+ /**
138
+ * Indicates whether the Panel header is sticky or not.
139
+ * If stickyHeader is set to true, then whenever you scroll the content or
140
+ * the application, the header of the panel will be always visible and
141
+ * a solid color will be used for its design.
142
+ * @since 1.117
143
+ */
144
+ stickyHeader: {type: "boolean", group: "Appearance", defaultValue: false}
136
145
 
137
146
  },
138
147
  defaultAggregation: "content",
@@ -38,12 +38,16 @@ sap.ui.define(["sap/m/library", "sap/ui/Device"],
38
38
 
39
39
  PanelRenderer.startPanel = function (oRm, oControl) {
40
40
  var bIsExpandable = oControl.getExpandable(),
41
+ bIsStickyPanel = oControl.getStickyHeader(),
41
42
  oAccAttributes = {
42
43
  role: oControl.getAccessibleRole().toLowerCase()
43
44
  };
44
45
 
45
46
  oRm.openStart("div", oControl);
46
47
  oRm.class("sapMPanel");
48
+ if (bIsStickyPanel) {
49
+ oRm.class("sapMPanelHasStickyHeader");
50
+ }
47
51
 
48
52
  if (bIsExpandable) {
49
53
  oRm.class("sapMPanelExpandable");
@@ -67,12 +71,17 @@ sap.ui.define(["sap/m/library", "sap/ui/Device"],
67
71
  PanelRenderer.renderHeader = function (oRm, oControl) {
68
72
  var bIsExpandable = oControl.getExpandable(),
69
73
  bIsExpanded = oControl.getExpanded(),
74
+ bIsStickyPanel = oControl.getStickyHeader(),
70
75
  oHeaderTBar = oControl.getHeaderToolbar(),
71
76
  sHeaderClass;
72
77
 
73
78
  oRm.openStart("div");
74
79
  oRm.class("sapMPanelHeadingDiv");
75
80
 
81
+ if (bIsStickyPanel) {
82
+ oRm.class("sapMPanelStickyHeadingDiv");
83
+ }
84
+
76
85
  if (!oHeaderTBar) {
77
86
  oRm.attr('role', 'heading');
78
87
  oRm.attr('aria-level', '2');
@@ -50,6 +50,7 @@ sap.ui.define([
50
50
  'sap/m/library',
51
51
  "sap/base/util/deepEqual",
52
52
  "sap/base/Log",
53
+ "sap/m/List",
53
54
  "sap/ui/thirdparty/jquery",
54
55
  "sap/ui/dom/jquery/control" // jQuery Plugin "control"
55
56
  ], function(
@@ -97,6 +98,7 @@ sap.ui.define([
97
98
  library,
98
99
  deepEqual,
99
100
  Log,
101
+ List,
100
102
  jQuery
101
103
  ) {
102
104
  "use strict";
@@ -195,7 +197,7 @@ sap.ui.define([
195
197
  * {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
196
198
  *
197
199
  * @extends sap.ui.core.Control
198
- * @version 1.116.0
200
+ * @version 1.117.0
199
201
  *
200
202
  * @constructor
201
203
  * @public
@@ -3810,9 +3812,13 @@ sap.ui.define([
3810
3812
 
3811
3813
  oRowTimeline.setAssociation("row", oRow.getId());
3812
3814
 
3813
- oListItem = new PlanningCalendarRowListItem(oRow.getId() + LISTITEM_SUFFIX, {
3814
- cells: [oRowHeader, oRowTimeline]
3815
- });
3815
+ oListItem = oRowHeader.isA("sap.m.CustomListItem")
3816
+ ? new PlanningCalendarRowListItem(oRow.getId() + LISTITEM_SUFFIX, {
3817
+ cells: [new List({items: [oRowHeader]}), oRowTimeline]
3818
+ })
3819
+ : new PlanningCalendarRowListItem(oRow.getId() + LISTITEM_SUFFIX, {
3820
+ cells: [oRowHeader, oRowTimeline]
3821
+ });
3816
3822
 
3817
3823
  this._updateRowTimeline(oRow);
3818
3824
 
@@ -98,7 +98,7 @@ function(
98
98
  * @extends sap.ui.core.Control
99
99
  *
100
100
  * @author SAP SE
101
- * @version 1.116.0
101
+ * @version 1.117.0
102
102
  *
103
103
  * @constructor
104
104
  * @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.116.0
26
+ * @version 1.117.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * The <code>sap.m.PlanningCalendarRow</code> allows you to modify appointments at row level.
36
36
  *
37
37
  * @extends sap.ui.core.Element
38
- * @version 1.116.0
38
+ * @version 1.117.0
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
25
25
  * The <code>PlanningCalendarView</code> defines the type of the intervals (hours, days, months)
26
26
  * and how many intervals are displayed.
27
27
  * @extends sap.ui.core.Element
28
- * @version 1.116.0
28
+ * @version 1.117.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -120,7 +120,7 @@ sap.ui.define([
120
120
  * @extends sap.ui.core.Control
121
121
  * @implements sap.ui.core.PopupInterface
122
122
  * @author SAP SE
123
- * @version 1.116.0
123
+ * @version 1.117.0
124
124
  *
125
125
  * @public
126
126
  * @alias sap.m.Popover
@@ -494,7 +494,7 @@ sap.ui.define([
494
494
  },
495
495
  onAfterRendering: function () {
496
496
  if (this._sFocusControlId && !containsOrEquals(this.getDomRef(), document.activeElement)) {
497
- sap.ui.getCore().byId(this._sFocusControlId).focus();
497
+ Element.registry.get(this._sFocusControlId).focus();
498
498
  }
499
499
  }
500
500
  };
@@ -1131,7 +1131,7 @@ sap.ui.define([
1131
1131
 
1132
1132
  // Set focus to the first visible focusable element
1133
1133
  var sFocusId = this._getInitialFocusId(),
1134
- oControl = sap.ui.getCore().byId(sFocusId),
1134
+ oControl = Element.registry.get(sFocusId),
1135
1135
  oDomById = (sFocusId ? window.document.getElementById(sFocusId) : null);
1136
1136
  if (oControl && oControl.getFocusDomRef()){
1137
1137
  oControl.getFocusDomRef().focus();
@@ -1902,7 +1902,7 @@ sap.ui.define([
1902
1902
  iMaxContentWidth = this._getMaxContentWidth(oPosParams),
1903
1903
  iMaxContentHeight = this._getMaxContentHeight(oPosParams);
1904
1904
 
1905
- //make sure iMaxContentHeight is NEVER less than 0
1905
+ //make sure iMaxContentHeight is NEVER less than 0
1906
1906
  iMaxContentHeight = Math.max(iMaxContentHeight, 0);
1907
1907
 
1908
1908
  oCSS["max-width"] = iMaxContentWidth + "px";
@@ -2329,7 +2329,7 @@ sap.ui.define([
2329
2329
  if (this.isOpen()) {
2330
2330
  //restore the focus after rendering when popover is already open
2331
2331
  var sFocusId = this._getInitialFocusId(),
2332
- oControl = sap.ui.getCore().byId(sFocusId),
2332
+ oControl = Element.registry.get(sFocusId),
2333
2333
  oDomById = (sFocusId ? window.document.getElementById(sFocusId) : null);
2334
2334
  if (oControl && oControl.getFocusDomRef()){
2335
2335
  oControl.getFocusDomRef().focus();
@@ -2547,17 +2547,13 @@ sap.ui.define([
2547
2547
 
2548
2548
  this._createInternalHeader();
2549
2549
 
2550
- //this is used in the getAggregation method
2550
+ // this is used in the getAggregation method
2551
2551
  this._endButton = oButton;
2552
2552
 
2553
+ this._internalHeader.removeContentRight(oOldEndButton);
2554
+
2553
2555
  if (oButton) {
2554
- if (oOldEndButton) {
2555
- this._internalHeader.removeAggregation("contentRight", oOldEndButton, true);
2556
- }
2557
- this._internalHeader.insertAggregation("contentRight", oButton, 1, true);
2558
- this._internalHeader.invalidate();
2559
- } else {
2560
- this._internalHeader.removeContentRight(oOldEndButton);
2556
+ this._internalHeader.addContentRight(oButton);
2561
2557
  }
2562
2558
 
2563
2559
  return this;
@@ -2565,7 +2561,7 @@ sap.ui.define([
2565
2561
 
2566
2562
  Popover.prototype.setLeftButton = function (vButton) {
2567
2563
  if (!(vButton instanceof Button)) {
2568
- vButton = sap.ui.getCore().byId(vButton);
2564
+ vButton = Element.registry.get(vButton);
2569
2565
  }
2570
2566
 
2571
2567
  //setting leftButton also sets the beginButton
@@ -2575,7 +2571,7 @@ sap.ui.define([
2575
2571
 
2576
2572
  Popover.prototype.setRightButton = function (vButton) {
2577
2573
  if (!(vButton instanceof Button)) {
2578
- vButton = sap.ui.getCore().byId(vButton);
2574
+ vButton = Element.registry.get(vButton);
2579
2575
  }
2580
2576
 
2581
2577
  //setting rightButton also sets the endButton
@@ -2620,8 +2616,8 @@ sap.ui.define([
2620
2616
  };
2621
2617
 
2622
2618
  /**
2623
- * Returns the sap.ui.core.ScrollEnablement delegate which is used with this control.
2624
- * @returns {sap.ui.core.ScrollEnablement} The scroll delegate
2619
+ * Returns the sap.ui.core.delegate.ScrollEnablement delegate which is used with this control.
2620
+ * @returns {sap.ui.core.delegate.ScrollEnablement} The scroll delegate
2625
2621
  * @private
2626
2622
  */
2627
2623
  Popover.prototype.getScrollDelegate = function () {
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.ui.core.Control
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.116.0
62
+ * @version 1.117.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.core.Control
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.116.0
39
+ * @version 1.117.0
40
40
  *
41
41
  * @constructor
42
42
  * @public