@openui5/sap.m 1.103.1 → 1.106.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 (494) hide show
  1. package/.eslintrc.json +2 -3
  2. package/.reuse/dep5 +35 -15
  3. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  4. package/THIRDPARTY.txt +64 -21
  5. package/package.json +4 -4
  6. package/src/sap/m/.library +17 -1
  7. package/src/sap/m/AccButton.js +1 -1
  8. package/src/sap/m/ActionListItem.js +1 -1
  9. package/src/sap/m/ActionSelect.js +1 -1
  10. package/src/sap/m/ActionSheet.js +1 -1
  11. package/src/sap/m/App.js +2 -3
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +2 -2
  14. package/src/sap/m/BadgeEnabler.js +1 -2
  15. package/src/sap/m/Bar.js +11 -10
  16. package/src/sap/m/Breadcrumbs.js +2 -2
  17. package/src/sap/m/BusyDialog.js +1 -1
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +49 -10
  20. package/src/sap/m/ButtonRenderer.js +10 -2
  21. package/src/sap/m/Carousel.js +3 -4
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CarouselRenderer.js +3 -3
  24. package/src/sap/m/CheckBox.js +46 -6
  25. package/src/sap/m/CheckBoxRenderer.js +1 -0
  26. package/src/sap/m/ColorPalette.js +1 -1
  27. package/src/sap/m/ColorPalettePopover.js +1 -1
  28. package/src/sap/m/Column.js +5 -5
  29. package/src/sap/m/ColumnHeaderPopover.js +5 -7
  30. package/src/sap/m/ColumnListItem.js +1 -4
  31. package/src/sap/m/ColumnListItemRenderer.js +1 -2
  32. package/src/sap/m/ColumnPopoverActionItem.js +3 -3
  33. package/src/sap/m/ColumnPopoverCustomItem.js +3 -3
  34. package/src/sap/m/ColumnPopoverItem.js +3 -3
  35. package/src/sap/m/ColumnPopoverSelectListItem.js +3 -5
  36. package/src/sap/m/ColumnPopoverSortItem.js +3 -3
  37. package/src/sap/m/ComboBox.js +6 -5
  38. package/src/sap/m/ComboBoxBase.js +3 -7
  39. package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
  40. package/src/sap/m/ComboBoxTextField.js +1 -7
  41. package/src/sap/m/ComboBoxTextFieldRenderer.js +19 -4
  42. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  43. package/src/sap/m/CustomListItem.js +1 -1
  44. package/src/sap/m/CustomTile.js +1 -1
  45. package/src/sap/m/CustomTreeItem.js +3 -3
  46. package/src/sap/m/CustomTreeItemRenderer.js +2 -2
  47. package/src/sap/m/DatePicker.js +16 -26
  48. package/src/sap/m/DateRangeSelection.js +45 -38
  49. package/src/sap/m/DateTimeField.js +87 -20
  50. package/src/sap/m/DateTimeInput.js +1 -1
  51. package/src/sap/m/DateTimePicker.js +58 -32
  52. package/src/sap/m/DateTimePickerRenderer.js +1 -1
  53. package/src/sap/m/Dialog.js +44 -2
  54. package/src/sap/m/DisplayListItem.js +1 -1
  55. package/src/sap/m/DraftIndicator.js +1 -1
  56. package/src/sap/m/DynamicDate.js +1 -1
  57. package/src/sap/m/DynamicDateFormat.js +2 -5
  58. package/src/sap/m/DynamicDateOption.js +43 -16
  59. package/src/sap/m/DynamicDateRange.js +49 -7
  60. package/src/sap/m/DynamicDateRangeRenderer.js +5 -2
  61. package/src/sap/m/DynamicDateUtil.js +23 -2
  62. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  63. package/src/sap/m/ExpandableText.js +1 -1
  64. package/src/sap/m/FacetFilter.js +2 -2
  65. package/src/sap/m/FacetFilterItem.js +1 -1
  66. package/src/sap/m/FacetFilterList.js +4 -4
  67. package/src/sap/m/FeedContent.js +1 -1
  68. package/src/sap/m/FeedInput.js +1 -1
  69. package/src/sap/m/FeedListItem.js +1 -1
  70. package/src/sap/m/FeedListItemAction.js +1 -1
  71. package/src/sap/m/Fiori20Adapter.js +2 -2
  72. package/src/sap/m/FlexBox.js +1 -1
  73. package/src/sap/m/FlexItemData.js +1 -1
  74. package/src/sap/m/FormattedText.js +1 -1
  75. package/src/sap/m/GenericTag.js +1 -1
  76. package/src/sap/m/GenericTile.js +116 -23
  77. package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
  78. package/src/sap/m/GenericTileRenderer.js +23 -10
  79. package/src/sap/m/GroupHeaderListItem.js +1 -1
  80. package/src/sap/m/GrowingEnablement.js +60 -36
  81. package/src/sap/m/GrowingList.js +1 -1
  82. package/src/sap/m/HBox.js +1 -1
  83. package/src/sap/m/HeaderContainer.js +34 -32
  84. package/src/sap/m/HeaderContainerItemNavigator.js +3 -6
  85. package/src/sap/m/IconTabBar.js +54 -22
  86. package/src/sap/m/IconTabBarSelectList.js +1 -1
  87. package/src/sap/m/IconTabFilter.js +1 -1
  88. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  89. package/src/sap/m/IconTabHeader.js +6 -19
  90. package/src/sap/m/IconTabSeparator.js +1 -1
  91. package/src/sap/m/IllustratedMessage.js +98 -25
  92. package/src/sap/m/IllustratedMessageRenderer.js +10 -6
  93. package/src/sap/m/Illustration.js +8 -1
  94. package/src/sap/m/IllustrationPool.js +1 -0
  95. package/src/sap/m/IllustrationRenderer.js +2 -1
  96. package/src/sap/m/Image.js +73 -3
  97. package/src/sap/m/ImageContent.js +1 -1
  98. package/src/sap/m/ImageRenderer.js +66 -2
  99. package/src/sap/m/Input.js +62 -7
  100. package/src/sap/m/InputBase.js +1 -1
  101. package/src/sap/m/InputBaseRenderer.js +2 -2
  102. package/src/sap/m/InputListItem.js +1 -1
  103. package/src/sap/m/InputRenderer.js +4 -0
  104. package/src/sap/m/InstanceManager.js +6 -6
  105. package/src/sap/m/Label.js +34 -4
  106. package/src/sap/m/LabelRenderer.js +7 -2
  107. package/src/sap/m/LightBox.js +2 -2
  108. package/src/sap/m/LightBoxItem.js +1 -1
  109. package/src/sap/m/Link.js +74 -10
  110. package/src/sap/m/LinkRenderer.js +26 -12
  111. package/src/sap/m/List.js +38 -1
  112. package/src/sap/m/ListBase.js +109 -44
  113. package/src/sap/m/ListBaseRenderer.js +7 -15
  114. package/src/sap/m/ListItemBase.js +40 -11
  115. package/src/sap/m/ListItemBaseRenderer.js +17 -6
  116. package/src/sap/m/ListRenderer.js +2 -2
  117. package/src/sap/m/MaskEnabler.js +52 -2
  118. package/src/sap/m/MaskInput.js +23 -1
  119. package/src/sap/m/MaskInputRule.js +1 -1
  120. package/src/sap/m/Menu.js +1 -1
  121. package/src/sap/m/MenuButton.js +1 -1
  122. package/src/sap/m/MenuItem.js +1 -1
  123. package/src/sap/m/MenuListItem.js +1 -1
  124. package/src/sap/m/MessageBox.js +1 -1
  125. package/src/sap/m/MessageItem.js +3 -4
  126. package/src/sap/m/MessageListItem.js +10 -6
  127. package/src/sap/m/MessagePage.js +1 -1
  128. package/src/sap/m/MessagePopover.js +4 -1
  129. package/src/sap/m/MessagePopoverItem.js +1 -1
  130. package/src/sap/m/MessageStrip.js +1 -1
  131. package/src/sap/m/MessageToast.js +1 -1
  132. package/src/sap/m/MessageView.js +1 -1
  133. package/src/sap/m/MultiComboBox.js +5 -16
  134. package/src/sap/m/MultiEditField.js +1 -1
  135. package/src/sap/m/MultiInput.js +1 -15
  136. package/src/sap/m/NavContainer.js +21 -19
  137. package/src/sap/m/NewsContent.js +2 -3
  138. package/src/sap/m/NotificationList.js +1 -1
  139. package/src/sap/m/NotificationListBase.js +1 -1
  140. package/src/sap/m/NotificationListGroup.js +3 -7
  141. package/src/sap/m/NotificationListGroupRenderer.js +1 -1
  142. package/src/sap/m/NotificationListItem.js +1 -1
  143. package/src/sap/m/NumericContent.js +1 -1
  144. package/src/sap/m/NumericInput.js +1 -1
  145. package/src/sap/m/ObjectAttribute.js +1 -1
  146. package/src/sap/m/ObjectHeader.js +3 -3
  147. package/src/sap/m/ObjectIdentifier.js +8 -5
  148. package/src/sap/m/ObjectListItem.js +7 -1
  149. package/src/sap/m/ObjectMarker.js +1 -1
  150. package/src/sap/m/ObjectNumber.js +2 -3
  151. package/src/sap/m/ObjectNumberRenderer.js +10 -3
  152. package/src/sap/m/ObjectStatus.js +2 -3
  153. package/src/sap/m/ObjectStatusRenderer.js +2 -2
  154. package/src/sap/m/OverflowToolbar.js +3 -8
  155. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  156. package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -8
  157. package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +2 -2
  158. package/src/sap/m/OverflowToolbarButton.js +2 -2
  159. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  160. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  161. package/src/sap/m/P13nAnyFilterItem.js +3 -3
  162. package/src/sap/m/P13nColumnsItem.js +3 -3
  163. package/src/sap/m/P13nColumnsPanel.js +3 -3
  164. package/src/sap/m/P13nConditionPanel.js +10 -3
  165. package/src/sap/m/P13nDialog.js +3 -3
  166. package/src/sap/m/P13nDimMeasureItem.js +3 -3
  167. package/src/sap/m/P13nDimMeasurePanel.js +3 -3
  168. package/src/sap/m/P13nFilterItem.js +3 -3
  169. package/src/sap/m/P13nFilterPanel.js +3 -3
  170. package/src/sap/m/P13nGroupItem.js +3 -3
  171. package/src/sap/m/P13nGroupPanel.js +3 -3
  172. package/src/sap/m/P13nItem.js +3 -3
  173. package/src/sap/m/P13nOperationsHelper.js +2 -2
  174. package/src/sap/m/P13nPanel.js +3 -3
  175. package/src/sap/m/P13nSelectionItem.js +3 -3
  176. package/src/sap/m/P13nSelectionPanel.js +3 -3
  177. package/src/sap/m/P13nSortItem.js +3 -3
  178. package/src/sap/m/P13nSortPanel.js +3 -3
  179. package/src/sap/m/PDFViewer.js +2 -2
  180. package/src/sap/m/PDFViewerRenderer.js +1 -0
  181. package/src/sap/m/Page.js +1 -3
  182. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  183. package/src/sap/m/PagingButton.js +1 -1
  184. package/src/sap/m/Panel.js +1 -1
  185. package/src/sap/m/PlanningCalendar.js +4 -16
  186. package/src/sap/m/PlanningCalendarHeader.js +1 -5
  187. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  188. package/src/sap/m/PlanningCalendarRow.js +1 -1
  189. package/src/sap/m/PlanningCalendarView.js +1 -1
  190. package/src/sap/m/Popover.js +11 -4
  191. package/src/sap/m/ProgressIndicator.js +1 -1
  192. package/src/sap/m/ProgressIndicatorRenderer.js +6 -3
  193. package/src/sap/m/PullToRefresh.js +1 -1
  194. package/src/sap/m/QuickView.js +3 -3
  195. package/src/sap/m/QuickViewBase.js +3 -3
  196. package/src/sap/m/QuickViewCard.js +3 -3
  197. package/src/sap/m/QuickViewGroup.js +1 -1
  198. package/src/sap/m/QuickViewGroupElement.js +3 -3
  199. package/src/sap/m/QuickViewPage.js +3 -3
  200. package/src/sap/m/RadioButton.js +47 -20
  201. package/src/sap/m/RadioButtonGroup.js +29 -26
  202. package/src/sap/m/RangeSlider.js +1 -3
  203. package/src/sap/m/RatingIndicator.js +8 -1
  204. package/src/sap/m/RatingIndicatorRenderer.js +13 -4
  205. package/src/sap/m/ResponsivePopover.js +3 -3
  206. package/src/sap/m/ResponsiveScale.js +1 -1
  207. package/src/sap/m/ScrollBar.js +1 -1
  208. package/src/sap/m/ScrollContainer.js +1 -1
  209. package/src/sap/m/SearchField.js +1 -1
  210. package/src/sap/m/SearchFieldRenderer.js +1 -0
  211. package/src/sap/m/SegmentedButton.js +1 -1
  212. package/src/sap/m/SegmentedButtonItem.js +1 -1
  213. package/src/sap/m/Select.js +8 -14
  214. package/src/sap/m/SelectDialog.js +2 -1
  215. package/src/sap/m/SelectDialogBase.js +1 -1
  216. package/src/sap/m/SelectList.js +1 -1
  217. package/src/sap/m/SelectListRenderer.js +2 -2
  218. package/src/sap/m/SelectionDetails.js +2 -2
  219. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  220. package/src/sap/m/SelectionDetailsItem.js +1 -1
  221. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  222. package/src/sap/m/Shell.js +1 -1
  223. package/src/sap/m/SimpleFixFlex.js +1 -1
  224. package/src/sap/m/SinglePlanningCalendar.js +7 -9
  225. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  226. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -7
  227. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  228. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +0 -2
  229. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  230. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  231. package/src/sap/m/SinglePlanningCalendarWeekView.js +12 -13
  232. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  233. package/src/sap/m/SlideTile.js +30 -5
  234. package/src/sap/m/Slider.js +1 -1
  235. package/src/sap/m/SliderTooltip.js +1 -3
  236. package/src/sap/m/SliderTooltipBase.js +1 -1
  237. package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
  238. package/src/sap/m/SliderTooltipContainer.js +1 -1
  239. package/src/sap/m/SliderTooltipContainerRenderer.js +2 -2
  240. package/src/sap/m/SliderTooltipRenderer.js +2 -2
  241. package/src/sap/m/SplitApp.js +1 -1
  242. package/src/sap/m/SplitButton.js +1 -3
  243. package/src/sap/m/SplitContainer.js +3 -7
  244. package/src/sap/m/StandardDynamicDateOption.js +9 -15
  245. package/src/sap/m/StandardListItem.js +1 -1
  246. package/src/sap/m/StandardListItemRenderer.js +2 -2
  247. package/src/sap/m/StandardTile.js +1 -1
  248. package/src/sap/m/StandardTreeItem.js +1 -1
  249. package/src/sap/m/StepInput.js +1 -1
  250. package/src/sap/m/SuggestionItem.js +1 -1
  251. package/src/sap/m/SuggestionsPopover.js +4 -2
  252. package/src/sap/m/Switch.js +1 -1
  253. package/src/sap/m/TabContainer.js +1 -1
  254. package/src/sap/m/TabContainerItem.js +1 -1
  255. package/src/sap/m/TabStrip.js +1 -1
  256. package/src/sap/m/TabStripItem.js +1 -1
  257. package/src/sap/m/Table.js +11 -9
  258. package/src/sap/m/TablePersoController.js +1 -1
  259. package/src/sap/m/TablePersoDialog.js +6 -15
  260. package/src/sap/m/TablePersoProvider.js +1 -1
  261. package/src/sap/m/TableRenderer.js +2 -9
  262. package/src/sap/m/TableSelectDialog.js +1 -1
  263. package/src/sap/m/Text.js +1 -1
  264. package/src/sap/m/TextArea.js +1 -1
  265. package/src/sap/m/TextAreaRenderer.js +1 -2
  266. package/src/sap/m/Tile.js +1 -1
  267. package/src/sap/m/TileContainer.js +1 -1
  268. package/src/sap/m/TileContent.js +8 -9
  269. package/src/sap/m/TileContentRenderer.js +3 -3
  270. package/src/sap/m/TimePicker.js +45 -8
  271. package/src/sap/m/TimePickerClock.js +2 -3
  272. package/src/sap/m/TimePickerClocks.js +5 -3
  273. package/src/sap/m/TimePickerClocksRenderer.js +4 -2
  274. package/src/sap/m/TimePickerInputs.js +1 -1
  275. package/src/sap/m/TimePickerInputsRenderer.js +1 -1
  276. package/src/sap/m/TimePickerInternals.js +1 -1
  277. package/src/sap/m/TimePickerSlider.js +1 -1
  278. package/src/sap/m/TimePickerSliders.js +3 -5
  279. package/src/sap/m/Title.js +1 -1
  280. package/src/sap/m/TitlePropagationSupport.js +1 -1
  281. package/src/sap/m/ToggleButton.js +2 -2
  282. package/src/sap/m/Token.js +1 -3
  283. package/src/sap/m/Tokenizer.js +1 -1
  284. package/src/sap/m/Toolbar.js +1 -1
  285. package/src/sap/m/ToolbarLayoutData.js +1 -1
  286. package/src/sap/m/ToolbarSeparator.js +1 -1
  287. package/src/sap/m/ToolbarSpacer.js +1 -1
  288. package/src/sap/m/Tree.js +8 -1
  289. package/src/sap/m/TreeItemBase.js +1 -1
  290. package/src/sap/m/TreeRenderer.js +0 -10
  291. package/src/sap/m/UploadCollection.js +2 -2
  292. package/src/sap/m/UploadCollectionItem.js +1 -1
  293. package/src/sap/m/UploadCollectionParameter.js +1 -1
  294. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  295. package/src/sap/m/VBox.js +1 -1
  296. package/src/sap/m/ValueStateHeader.js +1 -1
  297. package/src/sap/m/VariantItem.js +160 -0
  298. package/src/sap/m/VariantManagement.js +717 -571
  299. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  300. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  301. package/src/sap/m/ViewSettingsDialog.js +1 -1
  302. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  303. package/src/sap/m/ViewSettingsItem.js +1 -1
  304. package/src/sap/m/VisibleItem.js +1 -1
  305. package/src/sap/m/WheelSlider.js +1 -1
  306. package/src/sap/m/WheelSliderContainer.js +1 -1
  307. package/src/sap/m/Wizard.js +10 -3
  308. package/src/sap/m/WizardProgressNavigator.js +1 -1
  309. package/src/sap/m/WizardStep.js +3 -1
  310. package/src/sap/m/_thirdparty/purify.js +1622 -0
  311. package/src/sap/m/changeHandler/AddTableColumn.js +12 -13
  312. package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -3
  313. package/src/sap/m/changeHandler/CombineButtons.js +19 -22
  314. package/src/sap/m/changeHandler/MoveTableColumns.js +6 -6
  315. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
  316. package/src/sap/m/changeHandler/SplitMenuButton.js +7 -6
  317. package/src/sap/m/delegate/DateNavigation.js +0 -4
  318. package/src/sap/m/designtime/Link.designtime.js +19 -11
  319. package/src/sap/m/designtime/VariantManagement.designtime.js +36 -26
  320. package/src/sap/m/flexibility/EngineFlex.js +48 -0
  321. package/src/sap/m/inputUtils/selectionRange.js +1 -2
  322. package/src/sap/m/library.js +60 -7
  323. package/src/sap/m/messagebundle.properties +57 -6
  324. package/src/sap/m/messagebundle_ar.properties +39 -9
  325. package/src/sap/m/messagebundle_bg.properties +33 -3
  326. package/src/sap/m/messagebundle_ca.properties +32 -2
  327. package/src/sap/m/messagebundle_cs.properties +32 -2
  328. package/src/sap/m/messagebundle_cy.properties +34 -4
  329. package/src/sap/m/messagebundle_da.properties +32 -2
  330. package/src/sap/m/messagebundle_de.properties +32 -2
  331. package/src/sap/m/messagebundle_el.properties +35 -5
  332. package/src/sap/m/messagebundle_en.properties +34 -4
  333. package/src/sap/m/messagebundle_en_GB.properties +34 -4
  334. package/src/sap/m/messagebundle_en_US_sappsd.properties +33 -3
  335. package/src/sap/m/messagebundle_en_US_saprigi.properties +31 -3
  336. package/src/sap/m/messagebundle_en_US_saptrc.properties +33 -3
  337. package/src/sap/m/messagebundle_es.properties +33 -3
  338. package/src/sap/m/messagebundle_es_MX.properties +32 -2
  339. package/src/sap/m/messagebundle_et.properties +32 -2
  340. package/src/sap/m/messagebundle_fi.properties +36 -6
  341. package/src/sap/m/messagebundle_fr.properties +33 -3
  342. package/src/sap/m/messagebundle_fr_CA.properties +34 -4
  343. package/src/sap/m/messagebundle_hi.properties +34 -4
  344. package/src/sap/m/messagebundle_hr.properties +36 -6
  345. package/src/sap/m/messagebundle_hu.properties +34 -4
  346. package/src/sap/m/messagebundle_id.properties +34 -4
  347. package/src/sap/m/messagebundle_it.properties +33 -3
  348. package/src/sap/m/messagebundle_iw.properties +34 -4
  349. package/src/sap/m/messagebundle_ja.properties +33 -3
  350. package/src/sap/m/messagebundle_kk.properties +32 -2
  351. package/src/sap/m/messagebundle_ko.properties +40 -10
  352. package/src/sap/m/messagebundle_lt.properties +32 -2
  353. package/src/sap/m/messagebundle_lv.properties +32 -2
  354. package/src/sap/m/messagebundle_ms.properties +33 -3
  355. package/src/sap/m/messagebundle_nl.properties +46 -16
  356. package/src/sap/m/messagebundle_no.properties +34 -4
  357. package/src/sap/m/messagebundle_pl.properties +33 -3
  358. package/src/sap/m/messagebundle_pt.properties +37 -7
  359. package/src/sap/m/messagebundle_pt_PT.properties +32 -2
  360. package/src/sap/m/messagebundle_ro.properties +33 -3
  361. package/src/sap/m/messagebundle_ru.properties +33 -3
  362. package/src/sap/m/messagebundle_sh.properties +33 -3
  363. package/src/sap/m/messagebundle_sk.properties +32 -2
  364. package/src/sap/m/messagebundle_sl.properties +33 -3
  365. package/src/sap/m/messagebundle_sv.properties +32 -2
  366. package/src/sap/m/messagebundle_th.properties +65 -35
  367. package/src/sap/m/messagebundle_tr.properties +36 -6
  368. package/src/sap/m/messagebundle_uk.properties +33 -3
  369. package/src/sap/m/messagebundle_vi.properties +33 -3
  370. package/src/sap/m/messagebundle_zh_CN.properties +33 -3
  371. package/src/sap/m/messagebundle_zh_TW.properties +32 -2
  372. package/src/sap/m/p13n/AbstractContainer.js +7 -7
  373. package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
  374. package/src/sap/m/p13n/BasePanel.js +24 -13
  375. package/src/sap/m/p13n/Container.js +3 -3
  376. package/src/sap/m/p13n/Engine.js +1254 -0
  377. package/src/sap/m/p13n/FlexUtil.js +161 -0
  378. package/src/sap/m/p13n/GroupController.js +145 -0
  379. package/src/sap/m/p13n/GroupPanel.js +12 -5
  380. package/src/sap/m/p13n/MetadataHelper.js +35 -0
  381. package/src/sap/m/p13n/PersistenceProvider.js +160 -0
  382. package/src/sap/m/p13n/Popup.js +49 -12
  383. package/src/sap/m/p13n/QueryPanel.js +3 -3
  384. package/src/sap/m/p13n/SelectionController.js +548 -0
  385. package/src/sap/m/p13n/SelectionPanel.js +23 -5
  386. package/src/sap/m/p13n/SortController.js +153 -0
  387. package/src/sap/m/p13n/SortPanel.js +15 -5
  388. package/src/sap/m/p13n/enum/PersistenceMode.js +43 -0
  389. package/src/sap/m/p13n/handler/xConfigHandler.js +166 -0
  390. package/src/sap/m/p13n/modification/FlexModificationHandler.js +90 -0
  391. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +75 -0
  392. package/src/sap/m/p13n/modification/ModificationHandler.js +143 -0
  393. package/src/sap/m/p13n/modules/AdaptationProvider.js +67 -0
  394. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +147 -0
  395. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +101 -0
  396. package/src/sap/m/p13n/modules/UIManager.js +230 -0
  397. package/src/sap/m/p13n/modules/xConfigAPI.js +288 -0
  398. package/src/sap/m/plugins/CellSelector.js +741 -0
  399. package/src/sap/m/plugins/ColumnResizer.js +15 -1
  400. package/src/sap/m/plugins/DataStateIndicator.js +2 -2
  401. package/src/sap/m/plugins/PasteProvider.js +1 -1
  402. package/src/sap/m/plugins/PluginBase.js +4 -3
  403. package/src/sap/m/rules/CheckBox.support.js +1 -1
  404. package/src/sap/m/rules/Image.support.js +1 -1
  405. package/src/sap/m/rules/Link.support.js +1 -1
  406. package/src/sap/m/rules/MessagePage.support.js +1 -1
  407. package/src/sap/m/rules/ObjectHeader.support.js +6 -6
  408. package/src/sap/m/rules/ObjectListItem.support.js +1 -1
  409. package/src/sap/m/rules/ObjectMarker.support.js +1 -1
  410. package/src/sap/m/rules/ObjectStatus.support.js +1 -1
  411. package/src/sap/m/rules/Panel.support.js +1 -1
  412. package/src/sap/m/rules/Select.support.js +1 -1
  413. package/src/sap/m/rules/Table.support.js +3 -3
  414. package/src/sap/m/semantic/AddAction.js +1 -1
  415. package/src/sap/m/semantic/CancelAction.js +1 -1
  416. package/src/sap/m/semantic/DeleteAction.js +1 -1
  417. package/src/sap/m/semantic/DetailPage.js +1 -1
  418. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  419. package/src/sap/m/semantic/EditAction.js +1 -1
  420. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  421. package/src/sap/m/semantic/FilterAction.js +1 -1
  422. package/src/sap/m/semantic/FilterSelect.js +1 -1
  423. package/src/sap/m/semantic/FlagAction.js +1 -1
  424. package/src/sap/m/semantic/ForwardAction.js +1 -1
  425. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  426. package/src/sap/m/semantic/GroupAction.js +1 -1
  427. package/src/sap/m/semantic/GroupSelect.js +1 -1
  428. package/src/sap/m/semantic/MainAction.js +1 -1
  429. package/src/sap/m/semantic/MasterPage.js +1 -1
  430. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  431. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  432. package/src/sap/m/semantic/NegativeAction.js +1 -1
  433. package/src/sap/m/semantic/OpenInAction.js +1 -1
  434. package/src/sap/m/semantic/PositiveAction.js +1 -1
  435. package/src/sap/m/semantic/PrintAction.js +1 -1
  436. package/src/sap/m/semantic/SaveAction.js +1 -1
  437. package/src/sap/m/semantic/Segment.js +1 -1
  438. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  439. package/src/sap/m/semantic/SemanticButton.js +1 -1
  440. package/src/sap/m/semantic/SemanticConfiguration.js +3 -4
  441. package/src/sap/m/semantic/SemanticControl.js +1 -1
  442. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  443. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  444. package/src/sap/m/semantic/SemanticPage.js +1 -1
  445. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  446. package/src/sap/m/semantic/SemanticToggleButton.js +1 -3
  447. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  448. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  449. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  450. package/src/sap/m/semantic/ShareMenu.js +1 -1
  451. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  452. package/src/sap/m/semantic/SortAction.js +1 -1
  453. package/src/sap/m/semantic/SortSelect.js +1 -1
  454. package/src/sap/m/table/Util.js +30 -11
  455. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  456. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  457. package/src/sap/m/table/columnmenu/Item.js +1 -1
  458. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  459. package/src/sap/m/table/columnmenu/Menu.js +50 -13
  460. package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
  461. package/src/sap/m/table/columnmenu/QuickActionBase.js +18 -3
  462. package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
  463. package/src/sap/m/table/columnmenu/QuickGroup.js +29 -5
  464. package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
  465. package/src/sap/m/table/columnmenu/QuickSort.js +1 -3
  466. package/src/sap/m/table/columnmenu/QuickSortItem.js +8 -7
  467. package/src/sap/m/table/columnmenu/QuickTotal.js +29 -5
  468. package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
  469. package/src/sap/m/themes/base/Breadcrumbs.less +6 -0
  470. package/src/sap/m/themes/base/Button.less +0 -1
  471. package/src/sap/m/themes/base/Carousel.less +8 -8
  472. package/src/sap/m/themes/base/CellSelector.less +9 -0
  473. package/src/sap/m/themes/base/CheckBox.less +1 -0
  474. package/src/sap/m/themes/base/Dialog.less +1 -0
  475. package/src/sap/m/themes/base/DisplayListItem.less +3 -3
  476. package/src/sap/m/themes/base/DynamicDateRange.less +4 -0
  477. package/src/sap/m/themes/base/FeedContent.less +13 -5
  478. package/src/sap/m/themes/base/GenericTile.less +56 -9
  479. package/src/sap/m/themes/base/IllustratedMessage.less +7 -0
  480. package/src/sap/m/themes/base/NewsContent.less +6 -0
  481. package/src/sap/m/themes/base/NumericContent.less +1 -1
  482. package/src/sap/m/themes/base/ObjectStatus.less +2 -1
  483. package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +5 -1
  484. package/src/sap/m/themes/base/SelectList.less +0 -5
  485. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +7 -0
  486. package/src/sap/m/themes/base/SlideTile.less +35 -4
  487. package/src/sap/m/themes/base/Table.less +11 -2
  488. package/src/sap/m/themes/base/TileContent.less +17 -0
  489. package/src/sap/m/themes/base/library.source.less +1 -0
  490. package/src/sap/m/upload/UploadSet.js +300 -23
  491. package/src/sap/m/upload/UploadSetItem.js +18 -7
  492. package/src/sap/m/upload/UploadSetRenderer.js +8 -16
  493. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  494. package/src/sap/m/upload/Uploader.js +1 -2
@@ -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.103.1
25
+ * @version 1.106.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.103.1
29
+ * @version 1.106.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * @extends sap.ui.core.Control
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.103.1
69
+ * @version 1.106.0
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -27,14 +27,10 @@ sap.ui.define([
27
27
  'sap/ui/core/Renderer',
28
28
  'sap/ui/core/ResizeHandler',
29
29
  'sap/ui/core/InvisibleText',
30
- 'sap/ui/core/Item',
31
30
  'sap/ui/core/dnd/DragInfo',
32
31
  'sap/ui/core/dnd/DropInfo',
33
32
  'sap/ui/core/dnd/DragDropInfo',
34
33
  'sap/ui/core/format/DateFormat',
35
- 'sap/m/Select',
36
- 'sap/m/Button',
37
- 'sap/m/OverflowToolbar',
38
34
  'sap/m/Toolbar',
39
35
  'sap/m/Table',
40
36
  'sap/m/Column',
@@ -42,9 +38,7 @@ sap.ui.define([
42
38
  'sap/m/ColumnListItemRenderer',
43
39
  'sap/m/SegmentedButtonItem',
44
40
  'sap/m/StandardListItem',
45
- 'sap/m/StandardListItemRenderer',
46
41
  'sap/m/PlanningCalendarHeader',
47
- 'sap/m/PlanningCalendarRow',
48
42
  'sap/m/PlanningCalendarRenderer',
49
43
  'sap/m/PlanningCalendarView',
50
44
  'sap/m/CheckBox',
@@ -76,14 +70,10 @@ sap.ui.define([
76
70
  Renderer,
77
71
  ResizeHandler,
78
72
  InvisibleText,
79
- Item,
80
73
  DragInfo,
81
74
  DropInfo,
82
75
  DragDropInfo,
83
76
  DateFormat,
84
- Select,
85
- Button,
86
- OverflowToolbar,
87
77
  Toolbar,
88
78
  Table,
89
79
  Column,
@@ -91,9 +81,7 @@ sap.ui.define([
91
81
  ColumnListItemRenderer,
92
82
  SegmentedButtonItem,
93
83
  StandardListItem,
94
- StandardListItemRenderer,
95
84
  PlanningCalendarHeader,
96
- PlanningCalendarRow,
97
85
  PlanningCalendarRenderer,
98
86
  PlanningCalendarView,
99
87
  CheckBox,
@@ -198,7 +186,7 @@ sap.ui.define([
198
186
  * {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
199
187
  *
200
188
  * @extends sap.ui.core.Control
201
- * @version 1.103.1
189
+ * @version 1.106.0
202
190
  *
203
191
  * @constructor
204
192
  * @public
@@ -898,7 +886,7 @@ sap.ui.define([
898
886
  /**
899
887
  * Attaches handlers to the events in the _header aggregation.
900
888
  *
901
- * @returns {object} this for method chaining
889
+ * @returns {this} this for method chaining
902
890
  * @private
903
891
  */
904
892
  PlanningCalendar.prototype._attachHeaderEvents = function () {
@@ -3310,8 +3298,8 @@ sap.ui.define([
3310
3298
  /**
3311
3299
  * Sets the width property and ensures that the start date is in sync with each row timeline.
3312
3300
  *
3313
- * @param sWidth the width to be set to the PlanningCalendar
3314
- * @returns {object} this for method chaining
3301
+ * @param {sap.ui.core.CSSSize} sWidth the width to be set to the PlanningCalendar
3302
+ * @returns {this} this for method chaining
3315
3303
  * @public
3316
3304
  */
3317
3305
  PlanningCalendar.prototype.setWidth = function (sWidth) {
@@ -17,11 +17,9 @@ sap.ui.define([
17
17
  './ToolbarSpacer',
18
18
  './SegmentedButton',
19
19
  'sap/ui/unified/Calendar',
20
- 'sap/ui/unified/calendar/CalendarDate',
21
20
  'sap/ui/unified/calendar/CustomMonthPicker',
22
21
  'sap/ui/unified/calendar/CustomYearPicker',
23
22
  'sap/ui/unified/calendar/IndexPicker',
24
- 'sap/ui/core/format/DateFormat',
25
23
  'sap/ui/core/IconPool',
26
24
  'sap/ui/core/InvisibleText',
27
25
  'sap/ui/core/library',
@@ -39,11 +37,9 @@ function(
39
37
  ToolbarSpacer,
40
38
  SegmentedButton,
41
39
  Calendar,
42
- CalendarDate,
43
40
  CustomMonthPicker,
44
41
  CustomYearPicker,
45
42
  IndexPicker,
46
- DateFormat,
47
43
  IconPool,
48
44
  InvisibleText,
49
45
  coreLibrary,
@@ -92,7 +88,7 @@ function(
92
88
  * @extends sap.ui.core.Control
93
89
  *
94
90
  * @author SAP SE
95
- * @version 1.103.1
91
+ * @version 1.106.0
96
92
  *
97
93
  * @constructor
98
94
  * @private
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/unified/CalendarLegend', 'sap/ui/unified/CalendarAppointm
23
23
  * @extends sap.ui.unified.CalendarLegend
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.103.1
26
+ * @version 1.106.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.103.1
38
+ * @version 1.106.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.103.1
28
+ * @version 1.106.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.103.1
123
+ * @version 1.106.0
124
124
  *
125
125
  * @public
126
126
  * @alias sap.m.Popover
@@ -750,6 +750,8 @@ sap.ui.define([
750
750
  this._marginTopInit = true;
751
751
  }
752
752
  }
753
+
754
+ this._repositionOffset();
753
755
  };
754
756
 
755
757
  /**
@@ -824,6 +826,13 @@ sap.ui.define([
824
826
  name: "_sap_m_Popover_ForceCompactArrowOffset"
825
827
  }) || "true"; // ensure a default value is added in case the parameter is not loaded
826
828
 
829
+ arrowOffset = Parameters.get({
830
+ name: "_sap_m_Popover_ArrowOffset",
831
+ callback: function(sValue) {
832
+ arrowOffset = parseFloat(sValue);
833
+ }
834
+ }) || 8;
835
+
827
836
  // cast the string value to boolean
828
837
  bForceCompactArrowOffset = bForceCompactArrowOffset === "true";
829
838
 
@@ -1070,7 +1079,7 @@ sap.ui.define([
1070
1079
 
1071
1080
  Popover.prototype._onOrientationChange = function () {
1072
1081
  var ePopupState = (this.oPopup && this.oPopup.getOpenState()) || {};
1073
- if (ePopupState !== OpenState.OPEN) {
1082
+ if (ePopupState !== OpenState.OPEN && ePopupState !== OpenState.OPENING) {
1074
1083
  return;
1075
1084
  }
1076
1085
 
@@ -1117,8 +1126,6 @@ sap.ui.define([
1117
1126
  var that = this;
1118
1127
  this.oPopup.detachOpened(this._handleOpened, this);
1119
1128
 
1120
- this._repositionOffset();
1121
-
1122
1129
  // recalculate the arrow position when the size of the popover changes.
1123
1130
  if (!Device.support.touch) {
1124
1131
  setTimeout(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.103.1
62
+ * @version 1.106.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -3,8 +3,9 @@
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- sap.ui.define(["sap/ui/core/library"],
7
- function(coreLibrary) {
6
+ sap.ui.define(["sap/ui/core/library",
7
+ "sap/ui/core/Configuration"],
8
+ function(coreLibrary, Configuration) {
8
9
  "use strict";
9
10
 
10
11
 
@@ -37,7 +38,9 @@ sap.ui.define(["sap/ui/core/library"],
37
38
  sTextDirectionLowerCase = oControl.getTextDirection().toLowerCase(),
38
39
  sControlId = oControl.getId(),
39
40
  bEnabled = oControl.getEnabled(),
40
- bAnimate = sap.ui.getCore().getConfiguration().getAnimation() && oControl.getDisplayAnimation();
41
+ sAnimationMode = sap.ui.getCore().getConfiguration().getAnimationMode(),
42
+ bAnimate = sAnimationMode !== Configuration.AnimationMode.none && sAnimationMode !== Configuration.AnimationMode.minimal
43
+ && oControl.getDisplayAnimation();
41
44
 
42
45
  // PI container
43
46
  oRm.openStart("div", oControl);
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.103.1
45
+ * @version 1.106.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.m.QuickViewBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.103.1
62
+ * @version 1.106.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.103.1
30
+ * @version 1.106.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.m.QuickViewBase
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.103.1
39
+ * @version 1.106.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.103.1
25
+ * @version 1.106.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.103.1
31
+ * @version 1.106.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -100,7 +100,7 @@ sap.ui.define([
100
100
  * @extends sap.ui.core.Control
101
101
  *
102
102
  * @author SAP SE
103
- * @version 1.103.1
103
+ * @version 1.106.0
104
104
  *
105
105
  * @constructor
106
106
  * @public
@@ -11,7 +11,6 @@ sap.ui.define([
11
11
  'sap/ui/core/Core',
12
12
  'sap/ui/core/EnabledPropagator',
13
13
  'sap/ui/core/message/MessageMixin',
14
- 'sap/m/RadioButtonGroup',
15
14
  'sap/m/Label',
16
15
  'sap/ui/core/library',
17
16
  'sap/base/strings/capitalize',
@@ -23,7 +22,6 @@ function(
23
22
  Core,
24
23
  EnabledPropagator,
25
24
  MessageMixin,
26
- RadioButtonGroup,
27
25
  Label,
28
26
  coreLibrary,
29
27
  capitalize,
@@ -40,6 +38,13 @@ function(
40
38
  // shortcut for sap.ui.core.TextDirection
41
39
  var TextDirection = coreLibrary.TextDirection;
42
40
 
41
+ var getNextSelectionNumber = (function () {
42
+ var i = 0;
43
+ return function () {
44
+ return i++;
45
+ };
46
+ }());
47
+
43
48
  /**
44
49
  * Constructor for a new RadioButton.
45
50
  *
@@ -86,7 +91,7 @@ function(
86
91
  * @implements sap.ui.core.IFormContent
87
92
  *
88
93
  * @author SAP SE
89
- * @version 1.103.1
94
+ * @version 1.106.0
90
95
  *
91
96
  * @constructor
92
97
  * @public
@@ -215,6 +220,8 @@ function(
215
220
  // and have valueState property of the RadioButton set to the message type.
216
221
  MessageMixin.call(RadioButton.prototype);
217
222
 
223
+ RadioButton.getNextSelectionNumber = getNextSelectionNumber;
224
+
218
225
  RadioButton.prototype._groupNames = {};
219
226
 
220
227
  // Keyboard navigation variants
@@ -225,10 +232,20 @@ function(
225
232
  PREV: "prev"
226
233
  };
227
234
 
235
+ RadioButton.prototype.init = function () {
236
+ this._iSelectionNumber = -1;
237
+ };
238
+
228
239
  RadioButton.prototype.onBeforeRendering = function() {
229
- this._updateGroupName(this.getGroupName());
240
+ var sGroupName = this.getGroupName();
241
+
242
+ this._updateGroupName(sGroupName);
230
243
  this._updateLabelProperties();
231
244
 
245
+ // If this radio button is selected, explicitly deselect the other radio buttons in the same group
246
+ if (this.getSelected() && sGroupName !== "" && this._isLastSelectedInGroup(sGroupName)) {
247
+ this._deselectOthersInGroup(sGroupName);
248
+ }
232
249
  };
233
250
 
234
251
  /**
@@ -265,7 +282,7 @@ function(
265
282
  var oParent = this.getParent();
266
283
 
267
284
  // check if the RadioButton is part of a RadioButtonGroup which is disabled/readonly
268
- if (oParent instanceof RadioButtonGroup && (!oParent.getEnabled() || !oParent.getEditable())) {
285
+ if (oParent && oParent.isA("sap.m.RadioButtonGroup") && (!oParent.getEnabled() || !oParent.getEditable())) {
269
286
  return;
270
287
  }
271
288
 
@@ -304,22 +321,10 @@ function(
304
321
  * @public
305
322
  */
306
323
  RadioButton.prototype.setSelected = function(bSelected) {
307
- var sGroupName = this.getGroupName(),
308
- aControlsInGroup = this._groupNames[sGroupName],
309
- iLength = aControlsInGroup && aControlsInGroup.length;
310
-
311
324
  this.setProperty("selected", bSelected);
312
- this._updateGroupName(sGroupName);
313
325
 
314
- if (bSelected && sGroupName) { // If this radio button is selected and groupName is set, explicitly deselect the other radio buttons of the same group
315
- for (var i = 0; i < iLength; i++) {
316
- var oControl = aControlsInGroup[i];
317
-
318
- if (oControl instanceof RadioButton && oControl !== this && oControl.getSelected()) {
319
- oControl.fireSelect({ selected: false });
320
- oControl.setSelected(false);
321
- }
322
- }
326
+ if (this.getSelected()) {
327
+ this._iSelectionNumber = getNextSelectionNumber();
323
328
  }
324
329
 
325
330
  return this;
@@ -421,7 +426,7 @@ function(
421
426
  * @private
422
427
  */
423
428
  RadioButton.prototype._keyboardHandler = function(sPosition, bSelect) {
424
- if (this.getParent() instanceof RadioButtonGroup) {
429
+ if (this.getParent() && this.getParent().isA("sap.m.RadioButtonGroup")) {
425
430
  return;
426
431
  }
427
432
 
@@ -596,6 +601,28 @@ function(
596
601
  }
597
602
  };
598
603
 
604
+ RadioButton.prototype._isLastSelectedInGroup = function (sGroupName) {
605
+ var aControlsInGroup = this._groupNames[sGroupName];
606
+
607
+ return aControlsInGroup.every(function (aButton) {
608
+ return aButton._iSelectionNumber <= this._iSelectionNumber;
609
+ }.bind(this));
610
+ };
611
+
612
+ RadioButton.prototype._deselectOthersInGroup = function (sGroupName) {
613
+ var aControlsInGroup = this._groupNames[sGroupName],
614
+ iLength = aControlsInGroup && aControlsInGroup.length;
615
+
616
+ for (var i = 0; i < iLength; i++) {
617
+ var oControl = aControlsInGroup[i];
618
+
619
+ if (oControl instanceof RadioButton && oControl !== this && oControl.getSelected()) {
620
+ oControl.fireSelect({ selected: false });
621
+ oControl.setSelected(false);
622
+ }
623
+ }
624
+ };
625
+
599
626
  // Private properties setter generation
600
627
  ["editableParent"].forEach(function(privatePropName) {
601
628
  RadioButton.prototype["_set" + capitalize(privatePropName)] = function (vValue) {
@@ -10,6 +10,7 @@ sap.ui.define([
10
10
  'sap/ui/core/Control',
11
11
  'sap/ui/core/delegate/ItemNavigation',
12
12
  'sap/ui/core/library',
13
+ './RadioButton',
13
14
  './RadioButtonGroupRenderer',
14
15
  "sap/base/Log"
15
16
  ],
@@ -18,6 +19,7 @@ sap.ui.define([
18
19
  Control,
19
20
  ItemNavigation,
20
21
  coreLibrary,
22
+ RadioButton,
21
23
  RadioButtonGroupRenderer,
22
24
  Log
23
25
  ) {
@@ -57,7 +59,7 @@ sap.ui.define([
57
59
  * @implements sap.ui.core.IFormContent
58
60
  *
59
61
  * @author SAP SE
60
- * @version 1.103.1
62
+ * @version 1.106.0
61
63
  *
62
64
  * @constructor
63
65
  * @public
@@ -152,6 +154,10 @@ sap.ui.define([
152
154
  }
153
155
  }});
154
156
 
157
+ RadioButtonGroup.prototype.init = function() {
158
+ this._iSelectionNumber = -1;
159
+ };
160
+
155
161
  /**
156
162
  * Exits the radio button group.
157
163
  *
@@ -176,11 +182,26 @@ sap.ui.define([
176
182
  RadioButtonGroup.prototype.onBeforeRendering = function() {
177
183
  var aButtons = this.getButtons();
178
184
  var bEditable = this.getEditable();
185
+ var iCurrentSelectedButtonSelectionNumber = -1;
179
186
 
180
187
  aButtons.forEach(function (oRadioButton) {
181
- oRadioButton._setEditableParent(bEditable);
188
+ if (oRadioButton.getSelected()) {
189
+ iCurrentSelectedButtonSelectionNumber = Math.max(iCurrentSelectedButtonSelectionNumber, oRadioButton._iSelectionNumber);
190
+ }
182
191
  });
183
192
 
193
+ if (iCurrentSelectedButtonSelectionNumber === -1 && this._iSelectionNumber === -1) {
194
+ this._iSelectionNumber = RadioButton.getNextSelectionNumber();
195
+ }
196
+
197
+ aButtons.forEach(function (oRadioButton, i) {
198
+ oRadioButton._setEditableParent(bEditable);
199
+
200
+ if (i === this.getSelectedIndex() && this._iSelectionNumber > iCurrentSelectedButtonSelectionNumber) {
201
+ oRadioButton.setSelected(true);
202
+ }
203
+ }, this);
204
+
184
205
  if (this.aRBs){
185
206
  var oValueState = this.getValueState();
186
207
  this.aRBs.forEach(function (oRB) { oRB.setValueState(oValueState); });
@@ -266,6 +287,7 @@ sap.ui.define([
266
287
  }
267
288
 
268
289
  this.setProperty("selectedIndex", iSelectedIndex, true); // no re-rendering
290
+ this._iSelectionNumber = RadioButton.getNextSelectionNumber();
269
291
 
270
292
  // deselect old RadioButton
271
293
  if (!isNaN(iIndexOld) && this.aRBs && this.aRBs[iIndexOld]) {
@@ -331,18 +353,13 @@ sap.ui.define([
331
353
  * @returns {this} Pointer to the control instance for chaining.
332
354
  */
333
355
  RadioButtonGroup.prototype.addButton = function(oButton) {
334
- if (!this._bUpdateButtons && this.getSelectedIndex() === undefined) {
335
- // if not defined -> select first one
336
- this.setSelectedIndex(0);
337
- }
338
-
339
356
  if (!this.aRBs) {
340
357
  this.aRBs = [];
341
358
  }
342
359
 
343
360
  var iIndex = this.aRBs.length;
344
361
 
345
- this.aRBs[iIndex] = this._createRadioButton(oButton, iIndex);
362
+ this.aRBs[iIndex] = this._createRadioButton(oButton);
346
363
 
347
364
  this.addAggregation("buttons", this.aRBs[iIndex]);
348
365
  return this;
@@ -377,13 +394,13 @@ sap.ui.define([
377
394
  }
378
395
 
379
396
  if (iIndex >= iLength) {
380
- this.aRBs[iIndex] = this._createRadioButton(oButton, iIndex);
397
+ this.aRBs[iIndex] = this._createRadioButton(oButton);
381
398
  } else {
382
399
  // Insert RadioButton: loop backwards over Array and shift everything
383
400
  for (var i = (iLength); i > iIndex; i--) {
384
401
  this.aRBs[i] = this.aRBs[i - 1];
385
402
  if ((i - 1) == iIndex) {
386
- this.aRBs[i - 1] = this._createRadioButton(oButton, iIndex);
403
+ this.aRBs[i - 1] = this._createRadioButton(oButton);
387
404
  }
388
405
  }
389
406
  }
@@ -394,29 +411,15 @@ sap.ui.define([
394
411
  };
395
412
 
396
413
  /**
397
- * Creates a copy of the sap.m.RadioButton passed as a first argument and
398
- * adds it to the RadioButtonGroup at the index specified in the second argument.
414
+ * Creates a copy of the sap.m.RadioButton passed as a first argument
399
415
  *
400
416
  * @private
401
417
  * @param {sap.m.RadioButton} oButton The button from which a radio button will be created.
402
- * @param {number} iIndex The index in the group at which the radio button will be placed.
403
418
  * @returns {sap.m.RadioButton} The created radio button.
404
419
  */
405
- RadioButtonGroup.prototype._createRadioButton = function(oButton, iIndex) {
406
-
407
- if (this.iIDCount == undefined) {
408
- this.iIDCount = 0;
409
- } else {
410
- this.iIDCount++;
411
- }
412
-
420
+ RadioButtonGroup.prototype._createRadioButton = function(oButton) {
413
421
  oButton.setValueState(this.getValueState());
414
422
  oButton.setGroupName(this.getId());
415
-
416
- if (iIndex == this.getSelectedIndex()) {
417
- oButton.setSelected(true);
418
- }
419
-
420
423
  oButton.attachEvent("select", this._handleRBSelect, this);
421
424
 
422
425
  return oButton;
@@ -7,7 +7,6 @@ sap.ui.define([
7
7
  "sap/ui/core/InvisibleText",
8
8
  "sap/base/Log",
9
9
  "./Slider",
10
- "./SliderTooltip",
11
10
  "./SliderUtilities",
12
11
  "./RangeSliderRenderer",
13
12
  "sap/ui/thirdparty/jquery",
@@ -17,7 +16,6 @@ sap.ui.define([
17
16
  InvisibleText,
18
17
  log,
19
18
  Slider,
20
- SliderTooltip,
21
19
  SliderUtilities,
22
20
  RangeSliderRenderer,
23
21
  jQuery,
@@ -51,7 +49,7 @@ sap.ui.define([
51
49
  * @extends sap.m.Slider
52
50
  *
53
51
  * @author SAP SE
54
- * @version 1.103.1
52
+ * @version 1.106.0
55
53
  *
56
54
  * @constructor
57
55
  * @public
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.ui.core.Control
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.103.1
54
+ * @version 1.106.0
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -273,6 +273,13 @@ sap.ui.define([
273
273
  return;
274
274
  }
275
275
 
276
+ var sDensityMode = this._getDensityMode();
277
+
278
+ if (sDensityMode === "Compact") {
279
+ sIconSize = "sapUiRIIconSizeCompact";
280
+ sIconPaddingSize = "sapUiRIIconPaddingCompact";
281
+ }
282
+
276
283
  var mParamеters = Object.assign({
277
284
  // add global styles as default
278
285
  "sapUiRIIconSizeDisplayOnly": "1rem",