@openui5/sap.m 1.109.0 → 1.111.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 (816) hide show
  1. package/.reuse/dep5 +16 -16
  2. package/THIRDPARTY.txt +2 -2
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +2 -2
  5. package/src/sap/m/AccButton.js +2 -2
  6. package/src/sap/m/AccButtonRenderer.js +1 -1
  7. package/src/sap/m/ActionListItem.js +2 -2
  8. package/src/sap/m/ActionListItemRenderer.js +1 -1
  9. package/src/sap/m/ActionSelect.js +3 -2
  10. package/src/sap/m/ActionSelectRenderer.js +1 -1
  11. package/src/sap/m/ActionSheet.js +3 -3
  12. package/src/sap/m/ActionSheetRenderer.js +1 -1
  13. package/src/sap/m/ActionTile.js +88 -88
  14. package/src/sap/m/ActionTileContent.js +2 -2
  15. package/src/sap/m/ActionTileContentRenderer.js +1 -1
  16. package/src/sap/m/AdditionalTextButton.js +2 -2
  17. package/src/sap/m/AdditionalTextButtonRenderer.js +1 -1
  18. package/src/sap/m/App.js +2 -2
  19. package/src/sap/m/AppRenderer.js +1 -1
  20. package/src/sap/m/AssociativeOverflowToolbar.js +2 -2
  21. package/src/sap/m/Avatar.js +2 -2
  22. package/src/sap/m/AvatarColor.js +1 -1
  23. package/src/sap/m/AvatarImageFitType.js +1 -1
  24. package/src/sap/m/AvatarRenderer.js +1 -1
  25. package/src/sap/m/AvatarShape.js +1 -1
  26. package/src/sap/m/AvatarSize.js +1 -1
  27. package/src/sap/m/AvatarType.js +1 -1
  28. package/src/sap/m/BadgeCustomData.js +1 -1
  29. package/src/sap/m/BadgeEnabler.js +1 -1
  30. package/src/sap/m/Bar.js +23 -22
  31. package/src/sap/m/BarInPageEnabler.js +21 -3
  32. package/src/sap/m/BarRenderer.js +1 -1
  33. package/src/sap/m/Breadcrumbs.js +16 -2
  34. package/src/sap/m/BreadcrumbsRenderer.js +1 -1
  35. package/src/sap/m/BusyDialog.js +2 -2
  36. package/src/sap/m/BusyIndicator.js +2 -2
  37. package/src/sap/m/BusyIndicatorRenderer.js +1 -1
  38. package/src/sap/m/Button.js +19 -4
  39. package/src/sap/m/ButtonRenderer.js +1 -1
  40. package/src/sap/m/Carousel.js +17 -10
  41. package/src/sap/m/CarouselLayout.js +3 -3
  42. package/src/sap/m/CarouselRenderer.js +3 -2
  43. package/src/sap/m/CheckBox.js +20 -4
  44. package/src/sap/m/CheckBoxRenderer.js +3 -2
  45. package/src/sap/m/ColorPalette.js +3 -3
  46. package/src/sap/m/ColorPalettePopover.js +2 -2
  47. package/src/sap/m/ColorPaletteRenderer.js +1 -1
  48. package/src/sap/m/Column.js +15 -7
  49. package/src/sap/m/ColumnHeaderPopover.js +2 -2
  50. package/src/sap/m/ColumnListItem.js +3 -3
  51. package/src/sap/m/ColumnListItemRenderer.js +1 -1
  52. package/src/sap/m/ColumnPopoverActionItem.js +2 -2
  53. package/src/sap/m/ColumnPopoverCustomItem.js +2 -2
  54. package/src/sap/m/ColumnPopoverItem.js +2 -2
  55. package/src/sap/m/ColumnPopoverSelectListItem.js +3 -3
  56. package/src/sap/m/ColumnPopoverSortItem.js +2 -2
  57. package/src/sap/m/ComboBox.js +46 -22
  58. package/src/sap/m/ComboBoxBase.js +19 -14
  59. package/src/sap/m/ComboBoxBaseRenderer.js +4 -4
  60. package/src/sap/m/ComboBoxRenderer.js +1 -1
  61. package/src/sap/m/ComboBoxTextField.js +2 -2
  62. package/src/sap/m/ComboBoxTextFieldRenderer.js +1 -1
  63. package/src/sap/m/CustomAttribute.js +1 -1
  64. package/src/sap/m/CustomDynamicDateOption.js +2 -2
  65. package/src/sap/m/CustomListItem.js +3 -3
  66. package/src/sap/m/CustomListItemRenderer.js +1 -1
  67. package/src/sap/m/CustomTile.js +2 -2
  68. package/src/sap/m/CustomTileRenderer.js +1 -1
  69. package/src/sap/m/CustomTreeItem.js +2 -2
  70. package/src/sap/m/CustomTreeItemRenderer.js +1 -1
  71. package/src/sap/m/DatePicker.js +46 -63
  72. package/src/sap/m/DatePickerRenderer.js +1 -1
  73. package/src/sap/m/DateRangeSelection.js +70 -58
  74. package/src/sap/m/DateRangeSelectionRenderer.js +1 -1
  75. package/src/sap/m/DateTimeField.js +24 -22
  76. package/src/sap/m/DateTimeFieldRenderer.js +1 -1
  77. package/src/sap/m/DateTimeInput.js +28 -5
  78. package/src/sap/m/DateTimeInputRenderer.js +1 -1
  79. package/src/sap/m/DateTimePicker.js +117 -103
  80. package/src/sap/m/DateTimePickerRenderer.js +16 -6
  81. package/src/sap/m/Dialog.js +82 -21
  82. package/src/sap/m/DialogRenderer.js +44 -36
  83. package/src/sap/m/DisplayListItem.js +2 -2
  84. package/src/sap/m/DisplayListItemRenderer.js +1 -1
  85. package/src/sap/m/DraftIndicator.js +2 -2
  86. package/src/sap/m/DraftIndicatorRenderer.js +1 -1
  87. package/src/sap/m/DynamicDate.js +6 -6
  88. package/src/sap/m/DynamicDateFormat.js +22 -5
  89. package/src/sap/m/DynamicDateOption.js +24 -18
  90. package/src/sap/m/DynamicDateRange.js +235 -45
  91. package/src/sap/m/DynamicDateRangeRenderer.js +1 -1
  92. package/src/sap/m/DynamicDateUtil.js +15 -6
  93. package/src/sap/m/DynamicDateValueHelpUIType.js +3 -3
  94. package/src/sap/m/ExpandableText.js +23 -11
  95. package/src/sap/m/ExpandableTextRenderer.js +1 -1
  96. package/src/sap/m/FacetFilter.js +7 -4
  97. package/src/sap/m/FacetFilterItem.js +2 -2
  98. package/src/sap/m/FacetFilterItemRenderer.js +1 -1
  99. package/src/sap/m/FacetFilterList.js +2 -2
  100. package/src/sap/m/FacetFilterListRenderer.js +1 -1
  101. package/src/sap/m/FacetFilterRenderer.js +1 -1
  102. package/src/sap/m/FeedContent.js +2 -2
  103. package/src/sap/m/FeedContentRenderer.js +1 -1
  104. package/src/sap/m/FeedInput.js +2 -2
  105. package/src/sap/m/FeedInputRenderer.js +1 -1
  106. package/src/sap/m/FeedListItem.js +2 -2
  107. package/src/sap/m/FeedListItemAction.js +2 -2
  108. package/src/sap/m/FeedListItemRenderer.js +1 -1
  109. package/src/sap/m/Fiori20Adapter.js +21 -14
  110. package/src/sap/m/FlexBox.js +3 -3
  111. package/src/sap/m/FlexBoxRenderer.js +1 -1
  112. package/src/sap/m/FlexBoxStylingHelper.js +1 -1
  113. package/src/sap/m/FlexItemData.js +2 -2
  114. package/src/sap/m/FormattedText.js +2 -2
  115. package/src/sap/m/FormattedTextAnchorGenerator.js +1 -1
  116. package/src/sap/m/FormattedTextRenderer.js +1 -1
  117. package/src/sap/m/GenericTag.js +19 -3
  118. package/src/sap/m/GenericTagRenderer.js +1 -1
  119. package/src/sap/m/GenericTile.js +43 -27
  120. package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
  121. package/src/sap/m/GenericTileRenderer.js +2 -2
  122. package/src/sap/m/GroupHeaderListItem.js +2 -2
  123. package/src/sap/m/GroupHeaderListItemRenderer.js +1 -1
  124. package/src/sap/m/GrowingEnablement.js +29 -9
  125. package/src/sap/m/GrowingList.js +2 -2
  126. package/src/sap/m/GrowingListRenderer.js +1 -1
  127. package/src/sap/m/HBox.js +2 -2
  128. package/src/sap/m/HBoxRenderer.js +1 -1
  129. package/src/sap/m/HeaderContainer.js +2 -2
  130. package/src/sap/m/HeaderContainerItemNavigator.js +2 -2
  131. package/src/sap/m/HeaderContainerRenderer.js +1 -1
  132. package/src/sap/m/HyphenationSupport.js +1 -1
  133. package/src/sap/m/IconTabBar.js +16 -3
  134. package/src/sap/m/IconTabBarDragAndDropUtil.js +1 -1
  135. package/src/sap/m/IconTabBarRenderer.js +1 -1
  136. package/src/sap/m/IconTabBarSelectList.js +2 -2
  137. package/src/sap/m/IconTabBarSelectListRenderer.js +1 -1
  138. package/src/sap/m/IconTabFilter.js +9 -9
  139. package/src/sap/m/IconTabFilterExpandButtonBadge.js +2 -2
  140. package/src/sap/m/IconTabHeader.js +44 -2
  141. package/src/sap/m/IconTabHeaderRenderer.js +26 -4
  142. package/src/sap/m/IconTabSeparator.js +2 -2
  143. package/src/sap/m/IllustratedMessage.js +66 -27
  144. package/src/sap/m/IllustratedMessageRenderer.js +14 -6
  145. package/src/sap/m/IllustratedMessageSize.js +1 -1
  146. package/src/sap/m/IllustratedMessageType.js +1 -1
  147. package/src/sap/m/Illustration.js +2 -2
  148. package/src/sap/m/IllustrationPool.js +1 -1
  149. package/src/sap/m/IllustrationRenderer.js +1 -1
  150. package/src/sap/m/Image.js +4 -3
  151. package/src/sap/m/ImageContent.js +2 -2
  152. package/src/sap/m/ImageContentRenderer.js +1 -1
  153. package/src/sap/m/ImageRenderer.js +1 -1
  154. package/src/sap/m/Input.js +84 -19
  155. package/src/sap/m/InputBase.js +8 -8
  156. package/src/sap/m/InputBaseRenderer.js +2 -2
  157. package/src/sap/m/InputListItem.js +2 -2
  158. package/src/sap/m/InputListItemRenderer.js +1 -1
  159. package/src/sap/m/InputRenderer.js +1 -1
  160. package/src/sap/m/InstanceManager.js +1 -1
  161. package/src/sap/m/Label.js +18 -4
  162. package/src/sap/m/LabelRenderer.js +1 -1
  163. package/src/sap/m/LightBox.js +2 -2
  164. package/src/sap/m/LightBoxItem.js +2 -2
  165. package/src/sap/m/LightBoxRenderer.js +1 -1
  166. package/src/sap/m/Link.js +19 -4
  167. package/src/sap/m/LinkRenderer.js +1 -1
  168. package/src/sap/m/List.js +2 -2
  169. package/src/sap/m/ListBase.js +10 -8
  170. package/src/sap/m/ListBaseRenderer.js +1 -1
  171. package/src/sap/m/ListItemBase.js +6 -13
  172. package/src/sap/m/ListItemBaseRenderer.js +4 -4
  173. package/src/sap/m/ListRenderer.js +1 -1
  174. package/src/sap/m/MaskEnabler.js +2 -2
  175. package/src/sap/m/MaskInput.js +2 -2
  176. package/src/sap/m/MaskInputRenderer.js +1 -1
  177. package/src/sap/m/MaskInputRule.js +2 -2
  178. package/src/sap/m/Menu.js +5 -5
  179. package/src/sap/m/MenuButton.js +37 -34
  180. package/src/sap/m/MenuButtonRenderer.js +1 -1
  181. package/src/sap/m/MenuItem.js +2 -2
  182. package/src/sap/m/MenuListItem.js +2 -2
  183. package/src/sap/m/MenuListItemRenderer.js +1 -1
  184. package/src/sap/m/MessageBox.js +54 -36
  185. package/src/sap/m/MessageItem.js +2 -2
  186. package/src/sap/m/MessageListItem.js +23 -2
  187. package/src/sap/m/MessageListItemRenderer.js +1 -1
  188. package/src/sap/m/MessagePage.js +21 -23
  189. package/src/sap/m/MessagePageRenderer.js +1 -1
  190. package/src/sap/m/MessagePopover.js +4 -5
  191. package/src/sap/m/MessagePopoverItem.js +2 -2
  192. package/src/sap/m/MessagePopoverRenderer.js +1 -1
  193. package/src/sap/m/MessageStrip.js +8 -3
  194. package/src/sap/m/MessageStripRenderer.js +1 -1
  195. package/src/sap/m/MessageStripUtilities.js +2 -3
  196. package/src/sap/m/MessageToast.js +6 -4
  197. package/src/sap/m/MessageView.js +13 -25
  198. package/src/sap/m/MessageViewRenderer.js +1 -1
  199. package/src/sap/m/MultiComboBox.js +63 -35
  200. package/src/sap/m/MultiComboBoxRenderer.js +1 -1
  201. package/src/sap/m/MultiEditField.js +2 -2
  202. package/src/sap/m/MultiInput.js +33 -13
  203. package/src/sap/m/MultiInputRenderer.js +1 -1
  204. package/src/sap/m/NavContainer.js +68 -4
  205. package/src/sap/m/NavContainerRenderer.js +1 -1
  206. package/src/sap/m/NewsContent.js +2 -2
  207. package/src/sap/m/NewsContentRenderer.js +1 -1
  208. package/src/sap/m/NotificationList.js +27 -2
  209. package/src/sap/m/NotificationListBase.js +193 -3
  210. package/src/sap/m/NotificationListGroup.js +29 -3
  211. package/src/sap/m/NotificationListGroupRenderer.js +3 -5
  212. package/src/sap/m/NotificationListItem.js +6 -39
  213. package/src/sap/m/NotificationListItemRenderer.js +2 -5
  214. package/src/sap/m/NotificationListRenderer.js +1 -1
  215. package/src/sap/m/NumericContent.js +2 -2
  216. package/src/sap/m/NumericContentRenderer.js +1 -1
  217. package/src/sap/m/NumericInput.js +2 -2
  218. package/src/sap/m/NumericInputRenderer.js +1 -1
  219. package/src/sap/m/ObjectAttribute.js +2 -2
  220. package/src/sap/m/ObjectAttributeRenderer.js +1 -1
  221. package/src/sap/m/ObjectHeader.js +2 -2
  222. package/src/sap/m/ObjectHeaderRenderer.js +1 -1
  223. package/src/sap/m/ObjectIdentifier.js +3 -3
  224. package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
  225. package/src/sap/m/ObjectListItem.js +2 -2
  226. package/src/sap/m/ObjectListItemRenderer.js +1 -1
  227. package/src/sap/m/ObjectMarker.js +10 -9
  228. package/src/sap/m/ObjectMarkerRenderer.js +1 -1
  229. package/src/sap/m/ObjectNumber.js +5 -3
  230. package/src/sap/m/ObjectNumberRenderer.js +1 -1
  231. package/src/sap/m/ObjectStatus.js +28 -15
  232. package/src/sap/m/ObjectStatusRenderer.js +3 -6
  233. package/src/sap/m/OverflowToolbar.js +56 -6
  234. package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
  235. package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -3
  236. package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +1 -1
  237. package/src/sap/m/OverflowToolbarButton.js +32 -18
  238. package/src/sap/m/OverflowToolbarLayoutData.js +2 -2
  239. package/src/sap/m/OverflowToolbarMenuButton.js +2 -2
  240. package/src/sap/m/OverflowToolbarRenderer.js +1 -1
  241. package/src/sap/m/OverflowToolbarToggleButton.js +2 -2
  242. package/src/sap/m/P13nAnyFilterItem.js +2 -2
  243. package/src/sap/m/P13nColumnsItem.js +2 -2
  244. package/src/sap/m/P13nColumnsPanel.js +2 -2
  245. package/src/sap/m/P13nConditionPanel.js +2 -2
  246. package/src/sap/m/P13nConditionPanelRenderer.js +1 -1
  247. package/src/sap/m/P13nDialog.js +2 -2
  248. package/src/sap/m/P13nDimMeasureItem.js +2 -2
  249. package/src/sap/m/P13nDimMeasurePanel.js +2 -2
  250. package/src/sap/m/P13nFilterItem.js +2 -2
  251. package/src/sap/m/P13nFilterPanel.js +2 -2
  252. package/src/sap/m/P13nFilterPanelRenderer.js +1 -1
  253. package/src/sap/m/P13nGroupItem.js +2 -2
  254. package/src/sap/m/P13nGroupPanel.js +2 -2
  255. package/src/sap/m/P13nItem.js +8 -6
  256. package/src/sap/m/P13nOperationsHelper.js +1 -1
  257. package/src/sap/m/P13nPanel.js +2 -2
  258. package/src/sap/m/P13nSelectionItem.js +2 -2
  259. package/src/sap/m/P13nSelectionPanel.js +2 -2
  260. package/src/sap/m/P13nSortItem.js +2 -2
  261. package/src/sap/m/P13nSortPanel.js +2 -2
  262. package/src/sap/m/PDFViewer.js +3 -3
  263. package/src/sap/m/PDFViewerRenderManager.js +1 -1
  264. package/src/sap/m/PDFViewerRenderer.js +14 -6
  265. package/src/sap/m/Page.js +5 -4
  266. package/src/sap/m/PageAccessibleLandmarkInfo.js +2 -2
  267. package/src/sap/m/PageRenderer.js +1 -1
  268. package/src/sap/m/PagingButton.js +2 -2
  269. package/src/sap/m/PagingButtonRenderer.js +1 -1
  270. package/src/sap/m/Panel.js +2 -2
  271. package/src/sap/m/PanelRenderer.js +1 -1
  272. package/src/sap/m/PlanningCalendar.js +61 -24
  273. package/src/sap/m/PlanningCalendarHeader.js +15 -4
  274. package/src/sap/m/PlanningCalendarHeaderRenderer.js +1 -1
  275. package/src/sap/m/PlanningCalendarLegend.js +2 -2
  276. package/src/sap/m/PlanningCalendarLegendRenderer.js +1 -1
  277. package/src/sap/m/PlanningCalendarRenderer.js +1 -1
  278. package/src/sap/m/PlanningCalendarRow.js +3 -4
  279. package/src/sap/m/PlanningCalendarView.js +2 -2
  280. package/src/sap/m/Popover.js +6 -8
  281. package/src/sap/m/PopoverRenderer.js +1 -1
  282. package/src/sap/m/ProgressIndicator.js +5 -4
  283. package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
  284. package/src/sap/m/PullToRefresh.js +4 -6
  285. package/src/sap/m/PullToRefreshRenderer.js +1 -1
  286. package/src/sap/m/QuickView.js +3 -3
  287. package/src/sap/m/QuickViewBase.js +2 -2
  288. package/src/sap/m/QuickViewCard.js +2 -2
  289. package/src/sap/m/QuickViewCardRenderer.js +1 -1
  290. package/src/sap/m/QuickViewGroup.js +2 -2
  291. package/src/sap/m/QuickViewGroupElement.js +2 -2
  292. package/src/sap/m/QuickViewPage.js +43 -8
  293. package/src/sap/m/QuickViewPageRenderer.js +1 -1
  294. package/src/sap/m/RadioButton.js +21 -6
  295. package/src/sap/m/RadioButtonGroup.js +2 -2
  296. package/src/sap/m/RadioButtonGroupRenderer.js +1 -1
  297. package/src/sap/m/RadioButtonRenderer.js +1 -1
  298. package/src/sap/m/RangeSlider.js +3 -3
  299. package/src/sap/m/RangeSliderRenderer.js +1 -1
  300. package/src/sap/m/RatingIndicator.js +3 -3
  301. package/src/sap/m/RatingIndicatorRenderer.js +1 -1
  302. package/src/sap/m/ResponsivePopover.js +2 -2
  303. package/src/sap/m/ResponsivePopoverRenderer.js +1 -1
  304. package/src/sap/m/ResponsiveScale.js +2 -2
  305. package/src/sap/m/ScrollBar.js +2 -2
  306. package/src/sap/m/ScrollBarRenderer.js +1 -1
  307. package/src/sap/m/ScrollContainer.js +2 -2
  308. package/src/sap/m/ScrollContainerRenderer.js +1 -1
  309. package/src/sap/m/SearchField.js +28 -62
  310. package/src/sap/m/SearchFieldRenderer.js +3 -21
  311. package/src/sap/m/SegmentedButton.js +16 -5
  312. package/src/sap/m/SegmentedButtonItem.js +2 -2
  313. package/src/sap/m/SegmentedButtonRenderer.js +1 -1
  314. package/src/sap/m/Select.js +67 -6
  315. package/src/sap/m/SelectDialog.js +47 -7
  316. package/src/sap/m/SelectDialogBase.js +19 -9
  317. package/src/sap/m/SelectList.js +4 -7
  318. package/src/sap/m/SelectListRenderer.js +1 -1
  319. package/src/sap/m/SelectRenderer.js +1 -1
  320. package/src/sap/m/SelectionDetails.js +4 -4
  321. package/src/sap/m/SelectionDetailsFacade.js +3 -3
  322. package/src/sap/m/SelectionDetailsItem.js +2 -2
  323. package/src/sap/m/SelectionDetailsItemLine.js +2 -2
  324. package/src/sap/m/SelectionDetailsListItemRenderer.js +1 -1
  325. package/src/sap/m/SelectionDetailsRenderer.js +1 -1
  326. package/src/sap/m/Shell.js +12 -3
  327. package/src/sap/m/ShellRenderer.js +1 -1
  328. package/src/sap/m/SimpleFixFlex.js +2 -2
  329. package/src/sap/m/SimpleFixFlexRenderer.js +1 -1
  330. package/src/sap/m/SinglePlanningCalendar.js +56 -17
  331. package/src/sap/m/SinglePlanningCalendarDayView.js +2 -2
  332. package/src/sap/m/SinglePlanningCalendarGrid.js +52 -26
  333. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +1 -1
  334. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +68 -43
  335. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +24 -4
  336. package/src/sap/m/SinglePlanningCalendarMonthView.js +2 -2
  337. package/src/sap/m/SinglePlanningCalendarRenderer.js +1 -1
  338. package/src/sap/m/SinglePlanningCalendarUtilities.js +1 -1
  339. package/src/sap/m/SinglePlanningCalendarView.js +12 -4
  340. package/src/sap/m/SinglePlanningCalendarWeekView.js +20 -8
  341. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +2 -2
  342. package/src/sap/m/SlideTile.js +28 -25
  343. package/src/sap/m/SlideTileRenderer.js +1 -1
  344. package/src/sap/m/Slider.js +3 -3
  345. package/src/sap/m/SliderRenderer.js +1 -1
  346. package/src/sap/m/SliderTooltip.js +2 -2
  347. package/src/sap/m/SliderTooltipBase.js +2 -2
  348. package/src/sap/m/SliderTooltipBaseRenderer.js +1 -1
  349. package/src/sap/m/SliderTooltipContainer.js +2 -2
  350. package/src/sap/m/SliderTooltipContainerRenderer.js +1 -1
  351. package/src/sap/m/SliderTooltipRenderer.js +1 -1
  352. package/src/sap/m/SliderUtilities.js +1 -1
  353. package/src/sap/m/SplitApp.js +2 -2
  354. package/src/sap/m/SplitAppRenderer.js +1 -1
  355. package/src/sap/m/SplitButton.js +16 -4
  356. package/src/sap/m/SplitButtonRenderer.js +1 -1
  357. package/src/sap/m/SplitContainer.js +47 -47
  358. package/src/sap/m/SplitContainerRenderer.js +1 -1
  359. package/src/sap/m/StandardDynamicDateOption.js +52 -19
  360. package/src/sap/m/StandardListItem.js +2 -2
  361. package/src/sap/m/StandardListItemRenderer.js +1 -1
  362. package/src/sap/m/StandardTile.js +2 -2
  363. package/src/sap/m/StandardTileRenderer.js +1 -1
  364. package/src/sap/m/StandardTreeItem.js +2 -2
  365. package/src/sap/m/StandardTreeItemRenderer.js +1 -1
  366. package/src/sap/m/StepInput.js +40 -7
  367. package/src/sap/m/StepInputRenderer.js +1 -1
  368. package/src/sap/m/Suggest.js +1 -1
  369. package/src/sap/m/SuggestionItem.js +2 -2
  370. package/src/sap/m/SuggestionsList.js +1 -1
  371. package/src/sap/m/SuggestionsListRenderer.js +1 -1
  372. package/src/sap/m/SuggestionsPopover.js +2 -2
  373. package/src/sap/m/Support.js +1 -1
  374. package/src/sap/m/Switch.js +19 -5
  375. package/src/sap/m/SwitchRenderer.js +3 -3
  376. package/src/sap/m/TabContainer.js +2 -2
  377. package/src/sap/m/TabContainerItem.js +2 -2
  378. package/src/sap/m/TabContainerRenderer.js +1 -1
  379. package/src/sap/m/TabStrip.js +13 -8
  380. package/src/sap/m/TabStripItem.js +2 -2
  381. package/src/sap/m/TabStripRenderer.js +1 -1
  382. package/src/sap/m/Table.js +5 -5
  383. package/src/sap/m/TablePersoController.js +2 -2
  384. package/src/sap/m/TablePersoDialog.js +31 -8
  385. package/src/sap/m/TablePersoProvider.js +2 -2
  386. package/src/sap/m/TableRenderer.js +3 -2
  387. package/src/sap/m/TableSelectDialog.js +39 -4
  388. package/src/sap/m/Text.js +18 -4
  389. package/src/sap/m/TextArea.js +2 -2
  390. package/src/sap/m/TextAreaRenderer.js +1 -1
  391. package/src/sap/m/TextRenderer.js +1 -1
  392. package/src/sap/m/Tile.js +2 -2
  393. package/src/sap/m/TileContainer.js +5 -5
  394. package/src/sap/m/TileContainerRenderer.js +1 -1
  395. package/src/sap/m/TileContent.js +2 -2
  396. package/src/sap/m/TileContentRenderer.js +3 -4
  397. package/src/sap/m/TileRenderer.js +1 -1
  398. package/src/sap/m/TimePicker.js +30 -52
  399. package/src/sap/m/TimePickerClock.js +2 -2
  400. package/src/sap/m/TimePickerClockRenderer.js +1 -1
  401. package/src/sap/m/TimePickerClocks.js +8 -6
  402. package/src/sap/m/TimePickerClocksRenderer.js +1 -1
  403. package/src/sap/m/TimePickerInputs.js +2 -2
  404. package/src/sap/m/TimePickerInputsRenderer.js +1 -1
  405. package/src/sap/m/TimePickerInternals.js +7 -5
  406. package/src/sap/m/TimePickerInternalsRenderer.js +1 -1
  407. package/src/sap/m/TimePickerRenderer.js +1 -1
  408. package/src/sap/m/TimePickerSlider.js +5 -3
  409. package/src/sap/m/TimePickerSliderRenderer.js +1 -1
  410. package/src/sap/m/TimePickerSliders.js +4 -4
  411. package/src/sap/m/TimePickerSlidersRenderer.js +1 -1
  412. package/src/sap/m/Title.js +19 -4
  413. package/src/sap/m/TitlePropagationSupport.js +2 -2
  414. package/src/sap/m/TitleRenderer.js +1 -1
  415. package/src/sap/m/ToDoCardRenderer.js +1 -1
  416. package/src/sap/m/ToggleButton.js +18 -4
  417. package/src/sap/m/ToggleButtonRenderer.js +1 -1
  418. package/src/sap/m/Token.js +2 -2
  419. package/src/sap/m/TokenRenderer.js +1 -1
  420. package/src/sap/m/Tokenizer.js +34 -13
  421. package/src/sap/m/TokenizerRenderer.js +8 -22
  422. package/src/sap/m/Toolbar.js +30 -4
  423. package/src/sap/m/ToolbarLayoutData.js +2 -2
  424. package/src/sap/m/ToolbarRenderer.js +7 -6
  425. package/src/sap/m/ToolbarSeparator.js +4 -3
  426. package/src/sap/m/ToolbarSeparatorRenderer.js +1 -1
  427. package/src/sap/m/ToolbarSpacer.js +2 -2
  428. package/src/sap/m/ToolbarSpacerRenderer.js +1 -1
  429. package/src/sap/m/Tree.js +2 -2
  430. package/src/sap/m/TreeItemBase.js +2 -2
  431. package/src/sap/m/TreeItemBaseRenderer.js +1 -1
  432. package/src/sap/m/TreeRenderer.js +1 -1
  433. package/src/sap/m/UploadCollection.js +11 -26
  434. package/src/sap/m/UploadCollectionItem.js +2 -2
  435. package/src/sap/m/UploadCollectionParameter.js +2 -2
  436. package/src/sap/m/UploadCollectionRenderer.js +1 -1
  437. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -2
  438. package/src/sap/m/VBox.js +2 -2
  439. package/src/sap/m/VBoxRenderer.js +1 -1
  440. package/src/sap/m/ValueStateHeader.js +2 -2
  441. package/src/sap/m/VariantItem.js +1 -1
  442. package/src/sap/m/VariantManagement.js +21 -3
  443. package/src/sap/m/ViewSettingsCustomItem.js +8 -7
  444. package/src/sap/m/ViewSettingsCustomTab.js +2 -2
  445. package/src/sap/m/ViewSettingsDialog.js +55 -49
  446. package/src/sap/m/ViewSettingsDialogRenderer.js +1 -1
  447. package/src/sap/m/ViewSettingsFilterItem.js +2 -2
  448. package/src/sap/m/ViewSettingsItem.js +2 -2
  449. package/src/sap/m/VisibleItem.js +2 -2
  450. package/src/sap/m/WheelSlider.js +5 -3
  451. package/src/sap/m/WheelSliderContainer.js +2 -2
  452. package/src/sap/m/WheelSliderContainerRenderer.js +1 -1
  453. package/src/sap/m/WheelSliderRenderer.js +1 -1
  454. package/src/sap/m/Wizard.js +19 -11
  455. package/src/sap/m/WizardProgressNavigator.js +2 -2
  456. package/src/sap/m/WizardProgressNavigatorRenderer.js +1 -1
  457. package/src/sap/m/WizardRenderer.js +1 -1
  458. package/src/sap/m/WizardStep.js +21 -6
  459. package/src/sap/m/WizardStepRenderer.js +1 -1
  460. package/src/sap/m/changeHandler/AddTableColumn.js +2 -2
  461. package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -2
  462. package/src/sap/m/changeHandler/CombineButtons.js +2 -2
  463. package/src/sap/m/changeHandler/MoveTableColumns.js +2 -2
  464. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +2 -2
  465. package/src/sap/m/changeHandler/SplitMenuButton.js +2 -2
  466. package/src/sap/m/delegate/DateNavigation.js +11 -2
  467. package/src/sap/m/delegate/ValueStateMessage.js +1 -1
  468. package/src/sap/m/designtime/ActionSheet.designtime.js +1 -1
  469. package/src/sap/m/designtime/Avatar.designtime.js +1 -1
  470. package/src/sap/m/designtime/Bar.designtime.js +1 -1
  471. package/src/sap/m/designtime/Breadcrumbs.designtime.js +1 -1
  472. package/src/sap/m/designtime/BusyDialog.designtime.js +1 -1
  473. package/src/sap/m/designtime/Button.designtime.js +1 -1
  474. package/src/sap/m/designtime/Carousel.designtime.js +1 -1
  475. package/src/sap/m/designtime/CheckBox.designtime.js +1 -1
  476. package/src/sap/m/designtime/Column.designtime.js +1 -1
  477. package/src/sap/m/designtime/ComboBox.designtime.js +1 -1
  478. package/src/sap/m/designtime/CustomListItem.designtime.js +1 -1
  479. package/src/sap/m/designtime/CustomTile.designtime.js +1 -1
  480. package/src/sap/m/designtime/DatePicker.designtime.js +1 -1
  481. package/src/sap/m/designtime/DateRangeSelection.designtime.js +1 -1
  482. package/src/sap/m/designtime/DateTimeInput.designtime.js +1 -1
  483. package/src/sap/m/designtime/DateTimePicker.designtime.js +1 -1
  484. package/src/sap/m/designtime/Dialog.designtime.js +1 -1
  485. package/src/sap/m/designtime/DraftIndicator.designtime.js +1 -1
  486. package/src/sap/m/designtime/ExpandableText.designtime.js +1 -1
  487. package/src/sap/m/designtime/FeedInput.designtime.js +1 -1
  488. package/src/sap/m/designtime/FeedListItem.designtime.js +1 -1
  489. package/src/sap/m/designtime/FlexBox.designtime.js +1 -1
  490. package/src/sap/m/designtime/HBox.designtime.js +1 -1
  491. package/src/sap/m/designtime/IconTabBar.designtime.js +1 -1
  492. package/src/sap/m/designtime/IconTabFilter.designtime.js +1 -1
  493. package/src/sap/m/designtime/IconTabSeparator.designtime.js +1 -1
  494. package/src/sap/m/designtime/Image.designtime.js +1 -1
  495. package/src/sap/m/designtime/Input.designtime.js +1 -1
  496. package/src/sap/m/designtime/InputBase.designtime.js +1 -1
  497. package/src/sap/m/designtime/InputListItem.designtime.js +1 -1
  498. package/src/sap/m/designtime/Label.designtime.js +1 -1
  499. package/src/sap/m/designtime/LightBox.designtime.js +1 -1
  500. package/src/sap/m/designtime/Link.designtime.js +1 -1
  501. package/src/sap/m/designtime/ListBase.designtime.js +1 -1
  502. package/src/sap/m/designtime/ListItemBase.designtime.js +1 -1
  503. package/src/sap/m/designtime/MenuButton.designtime.js +1 -1
  504. package/src/sap/m/designtime/MessagePage.designtime.js +1 -1
  505. package/src/sap/m/designtime/MessageStrip.designtime.js +1 -1
  506. package/src/sap/m/designtime/MultiComboBox.designtime.js +1 -1
  507. package/src/sap/m/designtime/MultiInput.designtime.js +1 -1
  508. package/src/sap/m/designtime/NewsContent.designtime.js +1 -1
  509. package/src/sap/m/designtime/ObjectAttribute.designtime.js +1 -1
  510. package/src/sap/m/designtime/ObjectHeader.designtime.js +1 -1
  511. package/src/sap/m/designtime/ObjectIdentifier.designtime.js +1 -1
  512. package/src/sap/m/designtime/ObjectListItem.designtime.js +1 -1
  513. package/src/sap/m/designtime/ObjectMarker.designtime.js +1 -1
  514. package/src/sap/m/designtime/ObjectNumber.designtime.js +1 -1
  515. package/src/sap/m/designtime/ObjectStatus.designtime.js +1 -1
  516. package/src/sap/m/designtime/OverflowToolbar.designtime.js +1 -1
  517. package/src/sap/m/designtime/OverflowToolbarButton.designtime.js +1 -1
  518. package/src/sap/m/designtime/Page.designtime.js +1 -1
  519. package/src/sap/m/designtime/Panel.designtime.js +1 -1
  520. package/src/sap/m/designtime/PlanningCalendar.designtime.js +1 -1
  521. package/src/sap/m/designtime/PlanningCalendarLegend.designtime.js +1 -1
  522. package/src/sap/m/designtime/Popover.designtime.js +1 -1
  523. package/src/sap/m/designtime/ProgressIndicator.designtime.js +1 -1
  524. package/src/sap/m/designtime/QuickView.designtime.js +1 -1
  525. package/src/sap/m/designtime/QuickViewCard.designtime.js +1 -1
  526. package/src/sap/m/designtime/RadioButton.designtime.js +1 -1
  527. package/src/sap/m/designtime/RadioButtonGroup.designtime.js +1 -1
  528. package/src/sap/m/designtime/RangeSlider.designtime.js +1 -1
  529. package/src/sap/m/designtime/RatingIndicator.designtime.js +1 -1
  530. package/src/sap/m/designtime/ScrollContainer.designtime.js +1 -1
  531. package/src/sap/m/designtime/SearchField.designtime.js +1 -1
  532. package/src/sap/m/designtime/SegmentedButton.designtime.js +1 -1
  533. package/src/sap/m/designtime/Select.designtime.js +1 -1
  534. package/src/sap/m/designtime/Slider.designtime.js +1 -1
  535. package/src/sap/m/designtime/SplitApp.designtime.js +1 -1
  536. package/src/sap/m/designtime/SplitContainer.designtime.js +1 -1
  537. package/src/sap/m/designtime/StandardListItem.designtime.js +1 -1
  538. package/src/sap/m/designtime/StepInput.designtime.js +1 -1
  539. package/src/sap/m/designtime/Switch.designtime.js +1 -1
  540. package/src/sap/m/designtime/TabContainer.designtime.js +1 -1
  541. package/src/sap/m/designtime/Table.designtime.js +1 -1
  542. package/src/sap/m/designtime/Text.designtime.js +1 -1
  543. package/src/sap/m/designtime/TextArea.designtime.js +1 -1
  544. package/src/sap/m/designtime/TimePicker.designtime.js +6 -1
  545. package/src/sap/m/designtime/Title.designtime.js +1 -1
  546. package/src/sap/m/designtime/ToggleButton.designtime.js +1 -1
  547. package/src/sap/m/designtime/Toolbar.designtime.js +1 -1
  548. package/src/sap/m/designtime/VBox.designtime.js +1 -1
  549. package/src/sap/m/designtime/VariantManagement.designtime.js +1 -1
  550. package/src/sap/m/designtime/Wizard.designtime.js +1 -1
  551. package/src/sap/m/designtime/library.designtime.js +1 -1
  552. package/src/sap/m/designtime/semantic/DetailPage.designtime.js +1 -1
  553. package/src/sap/m/designtime/semantic/SemanticPage.designtime.js +1 -1
  554. package/src/sap/m/designtime/semantic/ShareMenuPage.designtime.js +1 -1
  555. package/src/sap/m/flexibility/Avatar.flexibility.js +1 -1
  556. package/src/sap/m/flexibility/Bar.flexibility.js +1 -1
  557. package/src/sap/m/flexibility/Button.flexibility.js +1 -1
  558. package/src/sap/m/flexibility/CheckBox.flexibility.js +1 -1
  559. package/src/sap/m/flexibility/Dialog.flexibility.js +1 -1
  560. package/src/sap/m/flexibility/EngineFlex.js +1 -1
  561. package/src/sap/m/flexibility/ExpandableText.flexibility.js +1 -1
  562. package/src/sap/m/flexibility/IconTabBar.flexibility.js +1 -1
  563. package/src/sap/m/flexibility/IconTabFilter.flexibility.js +1 -1
  564. package/src/sap/m/flexibility/InputListItem.flexibility.js +1 -1
  565. package/src/sap/m/flexibility/Label.flexibility.js +1 -1
  566. package/src/sap/m/flexibility/Link.flexibility.js +1 -1
  567. package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -1
  568. package/src/sap/m/flexibility/OverflowToolbar.flexibility.js +1 -1
  569. package/src/sap/m/flexibility/OverflowToolbarButton.flexibility.js +1 -1
  570. package/src/sap/m/flexibility/Page.flexibility.js +1 -1
  571. package/src/sap/m/flexibility/Panel.flexibility.js +1 -1
  572. package/src/sap/m/flexibility/Popover.flexibility.js +1 -1
  573. package/src/sap/m/flexibility/RadioButton.flexibility.js +1 -1
  574. package/src/sap/m/flexibility/StandardListItem.flexibility.js +1 -1
  575. package/src/sap/m/flexibility/Table.flexibility.js +1 -1
  576. package/src/sap/m/flexibility/Text.flexibility.js +1 -1
  577. package/src/sap/m/flexibility/Title.flexibility.js +1 -1
  578. package/src/sap/m/flexibility/Toolbar.flexibility.js +1 -1
  579. package/src/sap/m/inputUtils/ListHelpers.js +4 -2
  580. package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +9 -3
  581. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +1 -1
  582. package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
  583. package/src/sap/m/inputUtils/completeTextSelected.js +1 -1
  584. package/src/sap/m/inputUtils/filterItems.js +1 -1
  585. package/src/sap/m/inputUtils/forwardItemProperties.js +1 -1
  586. package/src/sap/m/inputUtils/forwardItemPropertiesToToken.js +1 -1
  587. package/src/sap/m/inputUtils/getTokenByItem.js +1 -1
  588. package/src/sap/m/inputUtils/highlightDOMElements.js +1 -1
  589. package/src/sap/m/inputUtils/inputsDefaultFilter.js +1 -1
  590. package/src/sap/m/inputUtils/itemsVisibilityHandler.js +1 -1
  591. package/src/sap/m/inputUtils/scrollToItem.js +1 -1
  592. package/src/sap/m/inputUtils/selectionRange.js +1 -1
  593. package/src/sap/m/inputUtils/typeAhead.js +11 -1
  594. package/src/sap/m/inputUtils/wordStartsWithValue.js +1 -1
  595. package/src/sap/m/library.js +133 -39
  596. package/src/sap/m/library.support.js +1 -1
  597. package/src/sap/m/messagebundle.properties +50 -30
  598. package/src/sap/m/messagebundle_ar.properties +55 -24
  599. package/src/sap/m/messagebundle_bg.properties +121 -90
  600. package/src/sap/m/messagebundle_ca.properties +49 -18
  601. package/src/sap/m/messagebundle_cs.properties +71 -40
  602. package/src/sap/m/messagebundle_cy.properties +47 -16
  603. package/src/sap/m/messagebundle_da.properties +47 -16
  604. package/src/sap/m/messagebundle_de.properties +57 -26
  605. package/src/sap/m/messagebundle_el.properties +64 -33
  606. package/src/sap/m/messagebundle_en.properties +45 -14
  607. package/src/sap/m/messagebundle_en_GB.properties +43 -12
  608. package/src/sap/m/messagebundle_en_US_sappsd.properties +40 -14
  609. package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -20
  610. package/src/sap/m/messagebundle_en_US_saptrc.properties +44 -13
  611. package/src/sap/m/messagebundle_es.properties +63 -32
  612. package/src/sap/m/messagebundle_es_MX.properties +49 -18
  613. package/src/sap/m/messagebundle_et.properties +47 -16
  614. package/src/sap/m/messagebundle_fi.properties +50 -19
  615. package/src/sap/m/messagebundle_fr.properties +90 -59
  616. package/src/sap/m/messagebundle_fr_CA.properties +49 -18
  617. package/src/sap/m/messagebundle_hi.properties +56 -25
  618. package/src/sap/m/messagebundle_hr.properties +58 -27
  619. package/src/sap/m/messagebundle_hu.properties +67 -36
  620. package/src/sap/m/messagebundle_id.properties +49 -18
  621. package/src/sap/m/messagebundle_it.properties +58 -27
  622. package/src/sap/m/messagebundle_iw.properties +47 -16
  623. package/src/sap/m/messagebundle_ja.properties +63 -32
  624. package/src/sap/m/messagebundle_kk.properties +58 -27
  625. package/src/sap/m/messagebundle_ko.properties +50 -19
  626. package/src/sap/m/messagebundle_lt.properties +47 -16
  627. package/src/sap/m/messagebundle_lv.properties +49 -18
  628. package/src/sap/m/messagebundle_ms.properties +47 -16
  629. package/src/sap/m/messagebundle_nl.properties +50 -19
  630. package/src/sap/m/messagebundle_no.properties +50 -19
  631. package/src/sap/m/messagebundle_pl.properties +56 -25
  632. package/src/sap/m/messagebundle_pt.properties +49 -18
  633. package/src/sap/m/messagebundle_pt_PT.properties +47 -16
  634. package/src/sap/m/messagebundle_ro.properties +48 -17
  635. package/src/sap/m/messagebundle_ru.properties +47 -16
  636. package/src/sap/m/messagebundle_sh.properties +48 -17
  637. package/src/sap/m/messagebundle_sk.properties +48 -17
  638. package/src/sap/m/messagebundle_sl.properties +54 -23
  639. package/src/sap/m/messagebundle_sv.properties +57 -26
  640. package/src/sap/m/messagebundle_th.properties +78 -47
  641. package/src/sap/m/messagebundle_tr.properties +47 -16
  642. package/src/sap/m/messagebundle_uk.properties +47 -16
  643. package/src/sap/m/messagebundle_vi.properties +47 -16
  644. package/src/sap/m/messagebundle_zh_CN.properties +47 -16
  645. package/src/sap/m/messagebundle_zh_TW.properties +49 -18
  646. package/src/sap/m/p13n/AbstractContainer.js +3 -4
  647. package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
  648. package/src/sap/m/p13n/BasePanel.js +58 -28
  649. package/src/sap/m/p13n/Container.js +2 -2
  650. package/src/sap/m/p13n/Engine.js +62 -52
  651. package/src/sap/m/p13n/FlexUtil.js +1 -1
  652. package/src/sap/m/p13n/GroupController.js +2 -3
  653. package/src/sap/m/p13n/GroupPanel.js +2 -4
  654. package/src/sap/m/p13n/MetadataHelper.js +2 -2
  655. package/src/sap/m/p13n/PersistenceProvider.js +28 -9
  656. package/src/sap/m/p13n/Popup.js +21 -9
  657. package/src/sap/m/p13n/QueryPanel.js +37 -17
  658. package/src/sap/m/p13n/SelectionController.js +23 -9
  659. package/src/sap/m/p13n/SelectionPanel.js +14 -5
  660. package/src/sap/m/p13n/SortController.js +3 -4
  661. package/src/sap/m/p13n/SortPanel.js +2 -4
  662. package/src/sap/m/p13n/enum/PersistenceMode.js +4 -1
  663. package/src/sap/m/p13n/enum/ProcessingStrategy.js +3 -2
  664. package/src/sap/m/p13n/handler/xConfigHandler.js +2 -2
  665. package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
  666. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
  667. package/src/sap/m/p13n/modification/ModificationHandler.js +1 -1
  668. package/src/sap/m/p13n/modules/AdaptationProvider.js +4 -7
  669. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +16 -14
  670. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +5 -4
  671. package/src/sap/m/p13n/modules/UIManager.js +5 -5
  672. package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
  673. package/src/sap/m/plugins/CellSelector.js +114 -56
  674. package/src/sap/m/plugins/ColumnResizer.js +9 -9
  675. package/src/sap/m/plugins/CopyProvider.js +302 -0
  676. package/src/sap/m/plugins/DataStateIndicator.js +2 -2
  677. package/src/sap/m/plugins/PasteProvider.js +2 -2
  678. package/src/sap/m/plugins/PluginBase.js +8 -5
  679. package/src/sap/m/routing/RouteMatchedHandler.js +1 -1
  680. package/src/sap/m/routing/Router.js +1 -1
  681. package/src/sap/m/routing/Target.js +1 -1
  682. package/src/sap/m/routing/TargetHandler.js +1 -1
  683. package/src/sap/m/routing/Targets.js +1 -1
  684. package/src/sap/m/routing/async/Target.js +1 -1
  685. package/src/sap/m/routing/async/Targets.js +1 -1
  686. package/src/sap/m/routing/sync/Target.js +1 -1
  687. package/src/sap/m/routing/sync/Targets.js +1 -1
  688. package/src/sap/m/rules/Breadcrumbs.support.js +1 -1
  689. package/src/sap/m/rules/Button.support.js +1 -1
  690. package/src/sap/m/rules/CheckBox.support.js +1 -1
  691. package/src/sap/m/rules/DatePicker.support.js +1 -1
  692. package/src/sap/m/rules/DateRangeSelection.support.js +1 -1
  693. package/src/sap/m/rules/Dialog.support.js +1 -1
  694. package/src/sap/m/rules/FacetFilter.support.js +1 -1
  695. package/src/sap/m/rules/IconTabBar.support.js +1 -1
  696. package/src/sap/m/rules/Image.support.js +1 -1
  697. package/src/sap/m/rules/Input.support.js +1 -1
  698. package/src/sap/m/rules/Link.support.js +1 -1
  699. package/src/sap/m/rules/MaskInput.support.js +1 -1
  700. package/src/sap/m/rules/MessagePage.support.js +1 -1
  701. package/src/sap/m/rules/ObjectHeader.support.js +1 -1
  702. package/src/sap/m/rules/ObjectListItem.support.js +1 -1
  703. package/src/sap/m/rules/ObjectMarker.support.js +1 -1
  704. package/src/sap/m/rules/ObjectStatus.support.js +1 -1
  705. package/src/sap/m/rules/Panel.support.js +1 -1
  706. package/src/sap/m/rules/Select.support.js +1 -1
  707. package/src/sap/m/rules/SelectDialog.support.js +1 -1
  708. package/src/sap/m/rules/StepInput.support.js +1 -1
  709. package/src/sap/m/rules/Table.support.js +1 -1
  710. package/src/sap/m/rules/Title.support.js +1 -1
  711. package/src/sap/m/rules/Tokenizer.support.js +1 -1
  712. package/src/sap/m/rules/ViewSettingsDialog.support.js +1 -1
  713. package/src/sap/m/semantic/AddAction.js +2 -2
  714. package/src/sap/m/semantic/CancelAction.js +2 -2
  715. package/src/sap/m/semantic/DeleteAction.js +2 -2
  716. package/src/sap/m/semantic/DetailPage.js +2 -2
  717. package/src/sap/m/semantic/DiscussInJamAction.js +2 -2
  718. package/src/sap/m/semantic/EditAction.js +2 -2
  719. package/src/sap/m/semantic/FavoriteAction.js +2 -2
  720. package/src/sap/m/semantic/FilterAction.js +2 -2
  721. package/src/sap/m/semantic/FilterSelect.js +2 -2
  722. package/src/sap/m/semantic/FlagAction.js +2 -2
  723. package/src/sap/m/semantic/ForwardAction.js +2 -2
  724. package/src/sap/m/semantic/FullscreenPage.js +2 -2
  725. package/src/sap/m/semantic/GroupAction.js +2 -2
  726. package/src/sap/m/semantic/GroupSelect.js +2 -2
  727. package/src/sap/m/semantic/MainAction.js +2 -2
  728. package/src/sap/m/semantic/MasterPage.js +2 -2
  729. package/src/sap/m/semantic/MessagesIndicator.js +2 -2
  730. package/src/sap/m/semantic/MultiSelectAction.js +2 -2
  731. package/src/sap/m/semantic/NegativeAction.js +2 -2
  732. package/src/sap/m/semantic/OpenInAction.js +2 -2
  733. package/src/sap/m/semantic/PositiveAction.js +2 -2
  734. package/src/sap/m/semantic/PrintAction.js +2 -2
  735. package/src/sap/m/semantic/SaveAction.js +2 -2
  736. package/src/sap/m/semantic/Segment.js +2 -2
  737. package/src/sap/m/semantic/SegmentedContainer.js +2 -2
  738. package/src/sap/m/semantic/SemanticButton.js +2 -2
  739. package/src/sap/m/semantic/SemanticConfiguration.js +2 -2
  740. package/src/sap/m/semantic/SemanticControl.js +2 -2
  741. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +2 -2
  742. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
  743. package/src/sap/m/semantic/SemanticPage.js +2 -2
  744. package/src/sap/m/semantic/SemanticPageRenderer.js +1 -1
  745. package/src/sap/m/semantic/SemanticSelect.js +2 -2
  746. package/src/sap/m/semantic/SemanticToggleButton.js +2 -2
  747. package/src/sap/m/semantic/SendEmailAction.js +2 -2
  748. package/src/sap/m/semantic/SendMessageAction.js +2 -2
  749. package/src/sap/m/semantic/ShareInJamAction.js +2 -2
  750. package/src/sap/m/semantic/ShareMenu.js +2 -2
  751. package/src/sap/m/semantic/ShareMenuPage.js +2 -2
  752. package/src/sap/m/semantic/SortAction.js +2 -2
  753. package/src/sap/m/semantic/SortSelect.js +2 -2
  754. package/src/sap/m/table/Util.js +31 -11
  755. package/src/sap/m/table/columnmenu/ActionItem.js +20 -14
  756. package/src/sap/m/table/columnmenu/Entry.js +18 -14
  757. package/src/sap/m/table/columnmenu/Item.js +21 -19
  758. package/src/sap/m/table/columnmenu/ItemBase.js +26 -23
  759. package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
  760. package/src/sap/m/table/columnmenu/Menu.js +107 -106
  761. package/src/sap/m/table/columnmenu/MenuRenderer.js +2 -4
  762. package/src/sap/m/table/columnmenu/QuickAction.js +12 -11
  763. package/src/sap/m/table/columnmenu/QuickActionBase.js +12 -11
  764. package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
  765. package/src/sap/m/table/columnmenu/QuickActionItem.js +10 -9
  766. package/src/sap/m/table/columnmenu/QuickGroup.js +10 -8
  767. package/src/sap/m/table/columnmenu/QuickGroupItem.js +10 -9
  768. package/src/sap/m/table/columnmenu/QuickSort.js +11 -9
  769. package/src/sap/m/table/columnmenu/QuickSortItem.js +16 -9
  770. package/src/sap/m/table/columnmenu/QuickTotal.js +10 -8
  771. package/src/sap/m/table/columnmenu/QuickTotalItem.js +10 -9
  772. package/src/sap/m/themes/base/Carousel.less +17 -4
  773. package/src/sap/m/themes/base/ColumnResizer.less +1 -1
  774. package/src/sap/m/themes/base/Dialog.less +22 -52
  775. package/src/sap/m/themes/base/FeedInput.less +4 -0
  776. package/src/sap/m/themes/base/FeedListItem.less +1 -1
  777. package/src/sap/m/themes/base/GenericTile.less +97 -16
  778. package/src/sap/m/themes/base/IconTabBar.less +7 -4
  779. package/src/sap/m/themes/base/IllustratedMessage.less +1 -0
  780. package/src/sap/m/themes/base/InputBase.less +11 -2
  781. package/src/sap/m/themes/base/Label.less +22 -0
  782. package/src/sap/m/themes/base/Link.less +3 -1
  783. package/src/sap/m/themes/base/MenuButton.less +1 -1
  784. package/src/sap/m/themes/base/MessageBox.less +5 -5
  785. package/src/sap/m/themes/base/MessageView.less +4 -0
  786. package/src/sap/m/themes/base/MultiComboBox.less +6 -4
  787. package/src/sap/m/themes/base/NotificationListBase.less +3 -18
  788. package/src/sap/m/themes/base/NotificationListGroup.less +14 -0
  789. package/src/sap/m/themes/base/NotificationListItem.less +12 -0
  790. package/src/sap/m/themes/base/ObjectNumber.less +9 -0
  791. package/src/sap/m/themes/base/ObjectStatus.less +44 -0
  792. package/src/sap/m/themes/base/PlanningCalendar.less +1 -0
  793. package/src/sap/m/themes/base/RadioButton.less +1 -1
  794. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -0
  795. package/src/sap/m/themes/base/SlideTile.less +4 -4
  796. package/src/sap/m/themes/base/SplitButton.less +3 -1
  797. package/src/sap/m/themes/base/SuggestionsPopover.less +14 -6
  798. package/src/sap/m/themes/base/Table.less +9 -16
  799. package/src/sap/m/themes/base/Text.less +1 -0
  800. package/src/sap/m/themes/base/TextArea.less +57 -16
  801. package/src/sap/m/themes/base/Tokenizer.less +23 -0
  802. package/src/sap/m/themes/base/Toolbar.less +1 -1
  803. package/src/sap/m/themes/base/WizardProgressNavigator.less +4 -3
  804. package/src/sap/m/themes/base/library.source.less +1 -1
  805. package/src/sap/m/themes/base/p13n.QueryPanel.less +5 -0
  806. package/src/sap/m/themes/sap_hcb/Dialog.less +2 -2
  807. package/src/sap/m/themes/sap_hcb/ObjectStatus.less +40 -0
  808. package/src/sap/m/themes/sap_hcb/library.source.less +1 -1
  809. package/src/sap/m/themes/sap_horizon/Label.less +10 -0
  810. package/src/sap/m/themes/sap_horizon/Text.less +10 -0
  811. package/src/sap/m/upload/UploadSet.js +65 -5
  812. package/src/sap/m/upload/UploadSetItem.js +15 -11
  813. package/src/sap/m/upload/UploadSetRenderer.js +1 -1
  814. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +2 -2
  815. package/src/sap/m/upload/Uploader.js +1 -1
  816. package/src/sap/m/upload/UploaderHttpRequestMethod.js +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -50,21 +50,14 @@ sap.ui.define([
50
50
  * <li>{@link sap.m.p13n.GroupController GroupController}: Used to define a list of groupable properties</li>
51
51
  * </ul>
52
52
  *
53
- * The following persistence layers can be chosen for personalization services:
53
+ * Can be used in combination with <code>sap.ui.fl.variants.VariantManagement</code> to persist a state in variants using <code>sap.ui.fl</code> capabilities.</li>
54
54
  *
55
- * <ul>
56
- * <li>{@link sap.m.p13n.modification.FlexModificationHandler FlexModificationHandler}: Used in combination with <code>sap.ui.fl.variants.VariantManagement</code> to persist a state in variants using <code>sap.ui.fl</code> capabilities.</li>
57
- * <li>{@link sap.m.p13n.modification.LocalStorageModificationHandler LocalStorageModificationHandler}: Used to store a personalization state in the local storage</li>
58
- * <li>{@link sap.m.p13n.modification.ModificationHandler ModificationHandler}: Used by default - this handler will not persist a state.</li>
59
- * </ul>
60
- *
61
- * @namespace
55
+ * @class
62
56
  * @alias sap.m.p13n.Engine
63
- * @extends sap.m.p13n.AdaptationProvider
57
+ * @extends sap.m.p13n.modules.AdaptationProvider
64
58
  * @author SAP SE
65
- * @version 1.109.0
59
+ * @version 1.111.0
66
60
  * @public
67
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
68
61
  * @since 1.104
69
62
  */
70
63
  var Engine = AdaptationProvider.extend("sap.m.p13n.Engine", {
@@ -95,14 +88,14 @@ sap.ui.define([
95
88
  * The registration is a precondition for using <code>Engine</code> functionality for a control instance.
96
89
  * Once the control instance has been registered, it can be passed to the related <code>Engine</code>
97
90
  * methods that always expect a control instance as parameter. Only registered control instances can be used for personalization through the <code>Engine</code>.
98
- *
91
+ * @public
99
92
  * @typedef {object} sap.m.p13n.EngineRegistrationConfig
100
- * @property {sap.m.p13n.ModificationHandler} modification The desired <code>{@link sap.m.p13n.modification.ModificationHandler ModificationHandler}</code> instance that is used for persistence.
101
93
  * @property {sap.m.p13n.MetadataHelper} helper The <code>{@link sap.m.p13n.modification.MetadataHelper MetadataHelper}</code> to provide metadata-specific information.
102
- * @property {object} controller A map of arbitrary keys that contain a controller instance as value. The key must be unique and needs to be provided for later access when using <code>Engine</code> functionality specific for one controller type.
103
- *
94
+ * @property {Object<string,sap.m.p13n.SelectionController>} controller A map of arbitrary keys that contain a controller instance as value. The key must be unique and needs to be provided for later access when using <code>Engine</code> functionality specific for one controller type.
95
+ */
96
+
97
+ /**
104
98
  * @public
105
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
106
99
  *
107
100
  * @param {sap.ui.core.Control} oControl The control instance to be registered for adaptation
108
101
  * @param {sap.m.p13n.EngineRegistrationConfig} oConfig The Engine registration configuration
@@ -171,7 +164,6 @@ sap.ui.define([
171
164
  * such as the registered controllers, are destroyed.
172
165
  *
173
166
  * @public
174
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
175
167
  *
176
168
  * @param {sap.ui.core.Control} oControl The registered control instance
177
169
  */
@@ -198,7 +190,6 @@ sap.ui.define([
198
190
  * Opens the personalization dialog.
199
191
  *
200
192
  * @public
201
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
202
193
  *
203
194
  *
204
195
  * @param {sap.ui.core.Control} oControl The control instance that is personalized
@@ -210,7 +201,7 @@ sap.ui.define([
210
201
  * @param {object} [mSettings.contentHeight] Height configuration for the related popup container
211
202
  * @param {object} [mSettings.contentWidth] Width configuration for the related popup container
212
203
  *
213
- * @returns {Promise} Promise resolving in the <code>sap.m.p13n.Popup</code> instance
204
+ * @returns {Promise<sap.m.p13n.Popup>} Promise resolving in the <code>sap.m.p13n.Popup</code> instance
214
205
  */
215
206
  Engine.prototype.show = function(oControl, vPanelKeys, mSettings) {
216
207
  return this.uimanager.show(oControl, vPanelKeys, mSettings);
@@ -221,9 +212,8 @@ sap.ui.define([
221
212
  * The event handler is fired every time a user triggers a personalization change for a control instance during runtime.
222
213
  *
223
214
  * @public
224
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
225
215
  *
226
- * @param {function} fnStateEventHandler The handler function to call when the event occurs
216
+ * @param {function(sap.ui.base.Event):void} fnStateEventHandler The handler function to call when the event occurs
227
217
  * @returns {this} Returns <code>this</code> to allow method chaining
228
218
  */
229
219
  Engine.prototype.attachStateChange = function(fnStateEventHandler) {
@@ -235,9 +225,8 @@ sap.ui.define([
235
225
  * The passed parameters must match those used for registration with {@link sap.m.p13n.Engine#attachStateChange} beforehand.
236
226
  *
237
227
  * @public
238
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
239
228
  *
240
- * @param {function} fnStateEventHandler The handler function to detach from the event
229
+ * @param {function(sap.ui.base.Event):void} fnStateEventHandler The handler function to detach from the event
241
230
  * @returns {this} Returns <code>this</code> to allow method chaining
242
231
  */
243
232
  Engine.prototype.detachStateChange = function(fnStateEventHandler) {
@@ -248,12 +237,11 @@ sap.ui.define([
248
237
  * This method can be used to trigger a reset to the provided control instance.
249
238
  *
250
239
  * @public
251
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
252
240
  *
253
241
  * @param {sap.ui.core.Control} oControl The related control instance
254
242
  * @param {string} aKeys The key for the affected configuration
255
243
  *
256
- * @returns {Promise} A Promise resolving once the reset is completed
244
+ * @returns {Promise<null>} A Promise resolving once the reset is completed
257
245
  */
258
246
  Engine.prototype.reset = function(oControl, aKeys) {
259
247
 
@@ -270,6 +258,14 @@ sap.ui.define([
270
258
  selector: oControl
271
259
  };
272
260
 
261
+ if (aKeys) {
262
+ var aChangeTypes = [];
263
+ aKeys.forEach(function(sKey){
264
+ aChangeTypes = aChangeTypes.concat(Object.values(this.getController(oControl, sKey).getChangeOperations()));
265
+ }.bind(this));
266
+ oResetConfig.changeTypes = [].concat.apply([], aChangeTypes);
267
+ }
268
+
273
269
  var oModificationSetting = this._determineModification(oControl);
274
270
  return oModificationSetting.handler.reset(oResetConfig, oModificationSetting.payload).then(function(){
275
271
  this.stateHandlerRegistry.fireChange(oControl);
@@ -277,12 +273,20 @@ sap.ui.define([
277
273
  return this.initAdaptation(oControl, aKeys).then(function(oPropertyHelper){
278
274
  aKeys.forEach(function(sKey){
279
275
  var oController = this.getController(oControl, sKey);
280
- oController.update(oPropertyHelper);
276
+ if (this.hasActiveP13n(oControl)) {
277
+ oController.update(oPropertyHelper);
278
+ }
281
279
  }.bind(this));
282
280
  }.bind(this));
283
281
  }.bind(this));
284
282
  };
285
283
 
284
+ /**
285
+ *
286
+ * @public
287
+ * @typedef {object} sap.m.p13n.State
288
+ * @property {Object<string,Object[]>} controller A map of arbitrary keys that contain a controller instance as value. The key must be unique and needs to be provided for later access when using <code>Engine</code> functionality specific for one controller type.
289
+ */
286
290
 
287
291
  /**
288
292
  * Applies a state to a control by passing an object that contains the
@@ -296,12 +300,11 @@ sap.ui.define([
296
300
  * }
297
301
  *
298
302
  * @param {sap.ui.core.Control} oControl The registered control instance
299
- * @param {object} oState The state object
300
- * @param {boolean} bApplyAbsolute Defines whether the state should be an additional delta of the current control state
303
+ * @param {sap.m.p13n.State} oState The state object
301
304
  *
302
- * @returns {Promise} A Promise resolving after the state has been applied
305
+ * @returns {Promise<sap.m.p13n.State>} A Promise resolving after the state has been applied
303
306
  */
304
- Engine.prototype.applyState = function(oControl, oState, bApplyAbsolute) {
307
+ Engine.prototype.applyState = function(oControl, oState) {
305
308
 
306
309
  //Call retrieve only to ensure that the control is initialized and enabled for modification
307
310
  return this.retrieveState(oControl).then(function(oCurrentState){
@@ -322,7 +325,8 @@ sap.ui.define([
322
325
  var oController = this.getController(oControl, sControllerKey);
323
326
 
324
327
  if (!oController){
325
- //TODO: p13nMode <> register <> StateUtil key alignment
328
+ //In case no controller can be found, skip change creation & appliance
329
+ //to avoid errors and react gracefully
326
330
  return;
327
331
  }
328
332
 
@@ -331,7 +335,7 @@ sap.ui.define([
331
335
  key: sControllerKey,
332
336
  state: oController.sanityCheck(oState[sControllerKey]),
333
337
  suppressAppliance: true,
334
- applyAbsolute: bApplyAbsolute
338
+ applyAbsolute: false
335
339
  });
336
340
 
337
341
  aStatePromise.push(oStatePromise);
@@ -364,9 +368,9 @@ sap.ui.define([
364
368
  *
365
369
  * @public
366
370
  * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
367
- * @param {object} oControl The control instance implementing IxState to retrieve the externalized state
371
+ * @param {sap.ui.core.Control} oControl The control instance implementing IxState to retrieve the externalized state
368
372
  *
369
- * @returns {Promise} A Promise resolving in the current control state
373
+ * @returns {Promise<sap.m.p13n.State>} A Promise resolving in the current control state
370
374
  */
371
375
  Engine.prototype.retrieveState = function(oControl) {
372
376
 
@@ -425,13 +429,14 @@ sap.ui.define([
425
429
  * <code>Engine#createChanges</code> can be used to programmatically trigger the creation
426
430
  * of a set of changes based on the current control state and the provided state.
427
431
  *
432
+ * @private
428
433
  * @ui5-restricted
429
434
  *
430
435
  * @param {object} mDiffParameters A map defining the configuration to create the changes
431
436
  * @param {sap.ui.core.Control} mDiffParameters.control The control instance that should be adapted
432
437
  * @param {string} mDiffParameters.key The key used to retrieve the related controller
433
438
  * @param {object} mDiffParameters.state The state that is applied to the provided control instance
434
- * @param {sap.ui.mdc.p13n.ProcessingStrategy} [mDiffParameters.applyAbsolute] Determines about the comparison algorithm between two states
439
+ * @param {sap.m.p13n.enum.ProcessingStrategy} [mDiffParameters.applyAbsolute] Determines about the comparison algorithm between two states
435
440
  * @param {boolean} [mDiffParameters.stateBefore] If the state should be diffed manually;
436
441
  * for example, if "A" exists in the control state, but is not mentioned in the new state provided in the
437
442
  * mDiffParameters.state then the absolute appliance decides whether to remove "A" or to keep it.
@@ -449,7 +454,7 @@ sap.ui.define([
449
454
  var bSuppressCallback = !!mDiffParameters.suppressAppliance;
450
455
 
451
456
  if (!sKey || !mDiffParameters.control || !vNewState) {
452
- throw new Error("To create changes via Engine, atleast a 1)Control 2)Key and 3)State needs to be provided.");
457
+ return Promise.resolve([]);
453
458
  }
454
459
 
455
460
  var fDeltaHandling = function() {
@@ -573,7 +578,7 @@ sap.ui.define([
573
578
  * This method can be used in the designtime metadata of the control
574
579
  * for key user personalization.
575
580
  *
576
- * @ui5-restricted
581
+ * @ui5-restricted sap.ui.mdc
577
582
  *
578
583
  * @param {sap.ui.core.Control} oControl The registered control instance
579
584
  * @param {object} mPropertyBag The property bag provided in the settings action
@@ -1201,24 +1206,28 @@ sap.ui.define([
1201
1206
 
1202
1207
  var oController = this.getController(oControl, sControllerKey);
1203
1208
 
1204
- var p = this.createChanges({
1205
- control: oControl,
1206
- key: sControllerKey,
1207
- state: oController.getP13nData(),
1208
- suppressAppliance: true,
1209
- applyAbsolute: true
1210
- })
1211
- .then(function(aItemChanges){
1209
+ var vP13nData = oController.getP13nData();
1210
+ if (vP13nData) {
1211
+ var p = this.createChanges({
1212
+ control: oControl,
1213
+ key: sControllerKey,
1214
+ state: vP13nData,
1215
+ suppressAppliance: true,
1216
+ applyAbsolute: true
1217
+ })
1218
+ .then(function(aItemChanges){
1212
1219
 
1213
- return oController.getBeforeApply().then(function(aChanges){
1220
+ return oController.getBeforeApply().then(function(aChanges){
1214
1221
 
1215
- var aComulatedChanges = aChanges ? aChanges.concat(aItemChanges) : aItemChanges;
1216
- return aComulatedChanges;
1222
+ var aComulatedChanges = aChanges ? aChanges.concat(aItemChanges) : aItemChanges;
1223
+ return aComulatedChanges;
1217
1224
 
1225
+ });
1218
1226
  });
1219
- });
1220
1227
 
1221
- pChanges.push(p);
1228
+ pChanges.push(p);
1229
+ }
1230
+
1222
1231
  }.bind(this));
1223
1232
 
1224
1233
  return Promise.all(pChanges).then(function(aChangeMatrix){
@@ -1239,10 +1248,11 @@ sap.ui.define([
1239
1248
  };
1240
1249
 
1241
1250
  /**
1251
+ * This method is the central point of access to the Engine Singleton.
1252
+ *
1242
1253
  * @private
1243
1254
  * @ui5-restricted sap.m
1244
1255
  *
1245
- * This method is the central point of access to the Engine Singleton.
1246
1256
  * @returns {sap.m.p13n.Engine} The Engine instance
1247
1257
  */
1248
1258
  Engine.getInstance = function() {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -21,9 +21,8 @@ sap.ui.define([
21
21
  * @extends sap.ui.base.Object
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.109.0
24
+ * @version 1.111.0
25
25
  * @public
26
- * @experimental
27
26
  * @since 1.104
28
27
  * @alias sap.m.p13n.GroupController
29
28
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -21,10 +21,9 @@ sap.ui.define([
21
21
  * @extends sap.m.p13n.QueryPanel
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.109.0
24
+ * @version 1.111.0
25
25
  *
26
26
  * @public
27
- * @experimental Since 1.104. Please note that the API of this control is not yet finalized!
28
27
  * @alias sap.m.p13n.GroupPanel
29
28
  */
30
29
  var GroupPanel = QueryPanel.extend("sap.m.p13n.GroupPanel", {
@@ -59,7 +58,6 @@ sap.ui.define([
59
58
  /**
60
59
  * P13n <code>GroupItem</code> object type.
61
60
  *
62
- * @type {sap.m.p13n.GroupItem}
63
61
  * @static
64
62
  * @constant
65
63
  * @typedef {object} sap.m.p13n.GroupItem
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -12,9 +12,9 @@ sap.ui.define([
12
12
  /**
13
13
  * The <code>MetadataHelper</code> entity offers utility functionality for providing service metadata during the <code>Engine#register</code> process.
14
14
  *
15
+ * @class
15
16
  * @author SAP SE
16
17
  * @public
17
- * @experimental Since 1.104.
18
18
  * @alias sap.m.p13n.MetadataHelper
19
19
  */
20
20
  var MetadataHelper = BaseObject.extend("sap.m.p13n.MetadataHelper", {
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
7
- "sap/ui/core/Control", "sap/ui/fl/variants/VariantManagement", "sap/ui/fl/apply/api/ControlVariantApplyAPI", "sap/m/p13n/enum/PersistenceMode", "sap/ui/layout/VerticalLayout"
8
- ], function(CoreControl, VariantManagement, ControlVariantApplyAPI, mode, VerticalLayout) {
7
+ "sap/ui/core/Control", "sap/ui/fl/variants/VariantManagement", "sap/ui/fl/apply/api/ControlVariantApplyAPI", "sap/m/p13n/enum/PersistenceMode", "sap/ui/layout/VerticalLayout", "sap/ui/core/UIArea", "sap/ui/core/Core"
8
+ ], function(CoreControl, VariantManagement, ControlVariantApplyAPI, mode, VerticalLayout, UIArea, Core) {
9
9
  "use strict";
10
10
 
11
11
  /**
@@ -14,9 +14,10 @@ sap.ui.define([
14
14
  * since any control that is a direct or indirect descendant of the provided <code>for</code> association is affected by this configuration.
15
15
  * For example, this controller can be used for <code>sap.ui.mdc</code> controls.
16
16
  *
17
+ * @class
17
18
  * @private
19
+ * @ui5-restricted sap.ui.mdc, sap.fe
18
20
  *
19
- * @experimental
20
21
  * @since 1.104
21
22
  */
22
23
  var PersistenceProvider = CoreControl.extend("sap.m.p13n.PersistenceProvider", /** @lends sap.ui.mdc.p13n.PersistenceProvider.prototype */ {
@@ -67,6 +68,7 @@ sap.ui.define([
67
68
 
68
69
  var oModel = this.getModel(ControlVariantApplyAPI.getVariantModelName());
69
70
  if (oModel) {
71
+ this.reinitialize();
70
72
  this._fnResolveModel(oModel);
71
73
  }
72
74
  };
@@ -92,8 +94,10 @@ sap.ui.define([
92
94
  this.getDomRef().setAttribute("aria-hidden", true);
93
95
  };
94
96
 
95
- var oStatic = sap.ui.getCore().getUIArea(sap.ui.getCore().getStaticAreaRef());
96
- oStatic.addContent(this._oWrapper);
97
+ var oStaticAreaRef = Core.getStaticAreaRef();
98
+ var oStatic = UIArea.registry.get(oStaticAreaRef.id);
99
+ oStatic.addContent(this._oWrapper, true);
100
+ Core.createRenderManager().render(this._oWrapper, oStaticAreaRef);
97
101
  }
98
102
 
99
103
  return this;
@@ -102,7 +106,7 @@ sap.ui.define([
102
106
  PersistenceProvider.prototype.addFor = function (sControlId) {
103
107
  this.addAssociation("for", sControlId);
104
108
 
105
- var oVM = sap.ui.getCore().byId(this.getId() + "--vm");
109
+ var oVM = Core.byId(this.getId() + "--vm");
106
110
  if (this.getMode() === mode.Transient && oVM) {
107
111
  oVM.addFor(sControlId);
108
112
  }
@@ -113,7 +117,7 @@ sap.ui.define([
113
117
  PersistenceProvider.prototype.removeFor = function (sControlId) {
114
118
  this.removeAssociation("for", sControlId);
115
119
 
116
- var oVM = sap.ui.getCore().byId(this.getId() + "--vm");
120
+ var oVM = Core.byId(this.getId() + "--vm");
117
121
  if (this.getMode() === mode.Transient && oVM) {
118
122
  oVM.removeFor(sControlId);
119
123
  }
@@ -140,9 +144,24 @@ sap.ui.define([
140
144
  return this;
141
145
  };
142
146
 
147
+ /**
148
+ * This method reinitializes the inner <code>VariantManagement</code> control be providing the
149
+ * variant model and triggering a reinitialize on the inner VM in the static area
150
+ *
151
+ * @ui5-restricted sap.m.p13n
152
+ */
153
+ PersistenceProvider.prototype.reinitialize = function () {
154
+ var oVM = Core.byId(this.getId() + "--vm");
155
+ if (this.getMode() === mode.Transient && oVM) {
156
+ var oVariantModel = this.getModel(ControlVariantApplyAPI.getVariantModelName());
157
+ oVM.setModel(oVariantModel, ControlVariantApplyAPI.getVariantModelName());
158
+ oVM.reinitialize();
159
+ }
160
+ };
161
+
143
162
  PersistenceProvider.prototype.exit = function () {
144
163
  if (this._oWrapper) {
145
- var oStatic = sap.ui.getCore().getUIArea(sap.ui.getCore().getStaticAreaRef());
164
+ var oStatic = Core.getUIArea(Core.getStaticAreaRef());
146
165
  oStatic.removeContent(this._oWrapper);
147
166
 
148
167
  this._oWrapper.destroy();
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -30,14 +30,12 @@ sap.ui.define([
30
30
  * @class
31
31
  * This control can be used to show personalization-related content in different popup controls.
32
32
  *
33
- * @class
34
33
  * @extends sap.ui.core.Control
35
34
  *
36
35
  * @author SAP SE
37
- * @version 1.109.0
36
+ * @version 1.111.0
38
37
  *
39
38
  * @public
40
- * @experimental Since 1.97.
41
39
  * @since 1.97
42
40
  * @alias sap.m.p13n.Popup
43
41
  */
@@ -94,11 +92,13 @@ sap.ui.define([
94
92
  * This event is fired after the dialog has been closed.
95
93
  */
96
94
  close: {
97
- /**
98
- * The corresponding reason for closing the dialog (Ok & Cancel).
99
- */
100
- reason: {
101
- type: "string"
95
+ parameters: {
96
+ /**
97
+ * The corresponding reason for closing the dialog (Ok & Cancel).
98
+ */
99
+ reason: {
100
+ type: "string"
101
+ }
102
102
  }
103
103
  }
104
104
  }
@@ -287,7 +287,19 @@ sap.ui.define([
287
287
  var aPanels = this.getPanels();
288
288
  var bUseContainer = aPanels.length > 1;
289
289
  var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
290
+
291
+ var oInitialFocusedControl;
292
+ if (aPanels.length > 0) {
293
+ var oContent = aPanels[0];
294
+ oInitialFocusedControl = oContent.getInitialFocusedControl && oContent.getInitialFocusedControl();
295
+ if (!oInitialFocusedControl && bUseContainer) {
296
+ // focus at least the iconTabBar first item
297
+ oInitialFocusedControl = this._getContainer()._getTabBar().getItems()[0];
298
+ }
299
+ }
300
+
290
301
  var oContainer = new Dialog(this.getId() + "-dialog", {
302
+ initialFocus: oInitialFocusedControl,
291
303
  title: this.getTitle(),
292
304
  horizontalScrolling: mDialogSettings.hasOwnProperty("horizontalScrolling") ? mDialogSettings.horizontalScrolling : false,
293
305
  verticalScrolling: !bUseContainer,
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -20,15 +20,14 @@ sap.ui.define([
20
20
  * @class
21
21
  * This control serves as base class for a query builder like personalization implementation.
22
22
  *
23
- * @class
24
23
  * @extends sap.m.p13n.BasePanel
25
24
  *
26
25
  * @author SAP SE
27
- * @version 1.109.0
26
+ * @version 1.111.0
28
27
  *
29
28
  * @private
30
- * @ui5-restricted
31
- * @experimental Since 1.96.
29
+ * @ui5-restricted sap.m, sap.ui.mdc
30
+ *
32
31
  * @since 1.96
33
32
  * @alias sap.m.p13n.QueryPanel
34
33
  */
@@ -85,7 +84,7 @@ sap.ui.define([
85
84
  QueryPanel.prototype.getP13nData = function (bOnlyActive) {
86
85
  var aItems = [];
87
86
  this._oListControl.getItems().forEach(function (oItem) {
88
- var sKey = oItem.getContent()[0].getContent()[0]._key;
87
+ var sKey = this._getControlFromRow(oItem)._key;
89
88
  if (sKey) {
90
89
  var oField = this._getP13nModel().getProperty("/items").find(function (o) {
91
90
  return o.name == sKey;
@@ -152,7 +151,7 @@ sap.ui.define([
152
151
  };
153
152
 
154
153
  QueryPanel.prototype._getModelEntry = function(oRow) {
155
- var sKey = oRow.getContent()[0].getContent()[0]._key;
154
+ var sKey = this._getControlFromRow(oRow)._key;
156
155
  var oField = this._getP13nModel().getProperty("/items").find(function (o) {
157
156
  return o.name == sKey;
158
157
  });
@@ -218,7 +217,7 @@ sap.ui.define([
218
217
  this._addHover(oRow);
219
218
  }
220
219
 
221
- oRow.getContent()[0].getContent()[0]._key = oItem.name;
220
+ this._getControlFromRow(oRow)._key = oItem.name;
222
221
 
223
222
  this._oListControl.addItem(oRow);
224
223
 
@@ -243,8 +242,7 @@ sap.ui.define([
243
242
  QueryPanel.prototype._handleActivated = function(oHoveredItem) {
244
243
  var oQueryRow = oHoveredItem.getContent()[0];
245
244
  if (oQueryRow) {
246
- var iItemLength = oQueryRow.getContent().length - 1;
247
- var oButtonBox = oHoveredItem.getContent()[0].getContent()[iItemLength];
245
+ var oButtonBox = this._getControlFromRow(oHoveredItem, -1);
248
246
 
249
247
  //Only add the buttons if 1) an hovered item is provided 2) the buttons are not already there
250
248
  if (oHoveredItem && oButtonBox.getItems().length < 2) {
@@ -311,8 +309,7 @@ sap.ui.define([
311
309
  var oListItem = oComboBox.getParent().getParent();
312
310
  var bIsLastRow = this._oListControl.getItems().length - 1 == this._oListControl.getItems().indexOf(oListItem);
313
311
 
314
- var aContent = oListItem.getContent()[0].getContent();
315
- var oBtnContainer = aContent[aContent.length - 1];
312
+ var oBtnContainer = this._getControlFromRow(oListItem, -1);
316
313
  oBtnContainer.setVisible(!(bIsLastRow && sNewKey == ""));
317
314
 
318
315
  //Remove previous
@@ -350,14 +347,12 @@ sap.ui.define([
350
347
  var bNewRowRequired = iQueries === 1 || iQueries == this.getP13nData(true).length;
351
348
 
352
349
  this._oListControl.removeItem(oRow);
353
- this._updatePresence(oRow.getContent()[0].getContent()[0]._key, false, undefined);
350
+ this._updatePresence(this._getControlFromRow(oRow)._key, false, undefined);
354
351
  if (bNewRowRequired) {
355
352
  this._addQueryRow();
356
- } else {
357
- //In case an item has been removed, focus the Select control of the new 'none' row
358
- var iLastIndex = this._oListControl.getItems().length - 1;
359
- this._oListControl.getItems()[iLastIndex].getContent()[0].getContent()[0].focus();
360
353
  }
354
+ //In case an item has been removed, focus the Select control of the new 'none' row
355
+ this.getInitialFocusedControl().focus();
361
356
 
362
357
  this._getP13nModel().checkUpdate(true);
363
358
  }.bind(this)
@@ -395,6 +390,31 @@ sap.ui.define([
395
390
  });
396
391
  };
397
392
 
393
+ QueryPanel.prototype.getInitialFocusedControl = function() {
394
+ var oRow = this._getRow(-1);
395
+ return this._getControlFromRow(oRow);
396
+ };
397
+
398
+ QueryPanel.prototype._getRow = function(iIndex) {
399
+ var aItems = this._oListControl.getItems();
400
+ if (iIndex < 0) {
401
+ iIndex = aItems.length + iIndex;
402
+ }
403
+ return aItems[iIndex];
404
+ };
405
+
406
+ QueryPanel.prototype._getControlFromRow = function(oRow, iIndex) {
407
+ var aContent = oRow.getContent()[0].getContent();
408
+ if (iIndex === undefined) {
409
+ iIndex = 0;
410
+ }
411
+ if (iIndex < 0) {
412
+ iIndex = aContent.length + iIndex;
413
+ }
414
+ return aContent[iIndex];
415
+ };
416
+
417
+
398
418
  return QueryPanel;
399
419
 
400
420
  });