@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
@@ -61,6 +61,11 @@ sap.ui.define(
61
61
  oRm.attr("tabindex", "-1");
62
62
  bEnabled ? oRm.class("sapMRIDisplayOnly") : oRm.class("sapMRIDisabled");
63
63
  }
64
+
65
+ if (!oControl.getIconSize()) {
66
+ oRm.class("sapMRINoCustomIconSize");
67
+ }
68
+
64
69
  oRm.class("sapMRI");
65
70
  oRm.class("sapUiRatingIndicator" + oControl._getIconSizeLabel(this._fIconSize));
66
71
 
@@ -126,7 +131,7 @@ sap.ui.define(
126
131
  oRm.openEnd();
127
132
 
128
133
  for (var i = 0; i < this._iSymbolCount; i++) {
129
- this.renderIcon("SELECTED", oRm, oControl);
134
+ this.renderIcon("SELECTED", oRm, oControl, i);
130
135
  }
131
136
 
132
137
  oRm.close("div");
@@ -149,7 +154,7 @@ sap.ui.define(
149
154
  oRm.openEnd();
150
155
 
151
156
  for (var i = 0; i < this._iSymbolCount; i++) {
152
- this.renderIcon("UNSELECTED", oRm, oControl);
157
+ this.renderIcon("UNSELECTED", oRm, oControl, i);
153
158
  }
154
159
 
155
160
  oRm.close("div");
@@ -163,7 +168,7 @@ sap.ui.define(
163
168
  oRm.openEnd();
164
169
 
165
170
  for (var i = 0; i < this._iSymbolCount; i++) {
166
- this.renderIcon("HOVERED", oRm, oControl);
171
+ this.renderIcon("HOVERED", oRm, oControl, i);
167
172
  }
168
173
  oRm.close("div");
169
174
  }
@@ -177,7 +182,7 @@ sap.ui.define(
177
182
  oRm.close("div");
178
183
  };
179
184
 
180
- RatingIndicatorRenderer.renderIcon = function(iconType, oRm, oControl) {
185
+ RatingIndicatorRenderer.renderIcon = function(iconType, oRm, oControl, iValue) {
181
186
  var sIconURI = this.getIconURI(iconType, oControl),
182
187
  sTagName = this.getIconTag(sIconURI),
183
188
  bIsIconURI = IconPool.isIconURI(sIconURI),
@@ -196,6 +201,10 @@ sap.ui.define(
196
201
  oRm.class("sapUiIcon");
197
202
  oRm.class(this.getIconClass(iconType));
198
203
 
204
+ if (iValue >= Math.ceil(oControl.getValue())) {
205
+ oRm.class("sapMRIunratedIcon");
206
+ }
207
+
199
208
  oRm.style("width", sSize);
200
209
  oRm.style("height", sSize);
201
210
  oRm.style("line-height", sSize);
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @extends sap.ui.core.Control
62
62
  *
63
63
  * @author SAP SE
64
- * @version 1.103.1
64
+ * @version 1.106.0
65
65
  *
66
66
  * @constructor
67
67
  * @public
@@ -418,8 +418,8 @@ sap.ui.define([
418
418
  /**
419
419
  * Opens the ResponsivePopover. The ResponsivePopover is positioned relatively to the control parameter on tablet or desktop and is full screen on phone. Therefore the control parameter is only used on tablet or desktop and is ignored on phone.
420
420
  *
421
- * @param {object} oParent When this control is displayed on tablet or desktop, the ResponsivePopover is positioned relative to this control.
422
- * @returns {object} Reference to the opening control
421
+ * @param {sap.ui.core.Control|HTMLElement} oParent When this control is displayed on tablet or desktop, the ResponsivePopover is positioned relative to this UI5 control or DOM element.
422
+ * @returns {sap.m.Popover|sap.m.Dialog} Reference to the opening control
423
423
  * @public
424
424
  * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
425
425
  */
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Element
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.103.1
37
+ * @version 1.106.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -25,7 +25,7 @@ function(Control, ScrollBarRenderer) {
25
25
  * care of only rendering the currently visible rows and use this <code>ScrollBar</code> control to make
26
26
  * the users think they are actually scrolling through a long list.
27
27
  * @extends sap.ui.core.Control
28
- * @version 1.103.1
28
+ * @version 1.106.0
29
29
  *
30
30
  * @private
31
31
  * @alias sap.m.ScrollBar
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.103.1
40
+ * @version 1.106.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @extends sap.ui.core.Control
68
68
  * @implements sap.ui.core.IFormContent
69
69
  * @author SAP SE
70
- * @version 1.103.1
70
+ * @version 1.106.0
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -93,6 +93,7 @@ sap.ui.define([
93
93
  rm.voidStart('input', sId + "-I")
94
94
  .class("sapMSFI")
95
95
  .attr("type", "search")
96
+ .attr("aria-label", sPlaceholder)
96
97
  .attr("autocomplete", "off");
97
98
 
98
99
  if (oSF.getEnableSuggestions()) {
@@ -55,7 +55,7 @@ function(
55
55
  * @implements sap.ui.core.IFormContent
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.103.1
58
+ * @version 1.106.0
59
59
  *
60
60
  * @constructor
61
61
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/m/Button', 'sap/ui/core/Cus
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.103.1
26
+ * @version 1.106.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -103,7 +103,7 @@ function(
103
103
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
104
104
  *
105
105
  * @author SAP SE
106
- * @version 1.103.1
106
+ * @version 1.106.0
107
107
  *
108
108
  * @constructor
109
109
  * @public
@@ -346,7 +346,6 @@ function(
346
346
  *
347
347
  * <b>Note:</b> This property takes effect only when the <code>showSecondaryValues</code> property is set to <code>true</code>.
348
348
  * @since 1.86
349
- * @experimental As of version 1.86
350
349
  */
351
350
  columnRatio: {
352
351
  type: "sap.m.SelectColumnRatio",
@@ -2323,6 +2322,7 @@ function(
2323
2322
  * Retrieves the index of the selected item from the aggregation named <code>items</code>.
2324
2323
  *
2325
2324
  * @returns {int} An integer specifying the selected index, or -1 if no item is selected.
2325
+ * @private
2326
2326
  * @since 1.26.0
2327
2327
  */
2328
2328
  Select.prototype.getSelectedIndex = function() {
@@ -2369,7 +2369,7 @@ function(
2369
2369
  /**
2370
2370
  * Checks whether the provided element is the open area.
2371
2371
  *
2372
- * @param {Element} oDomRef
2372
+ * @param {HTMLElement} oDomRef
2373
2373
  * @returns {boolean}
2374
2374
  * @since 1.22.0
2375
2375
  */
@@ -2881,35 +2881,29 @@ function(
2881
2881
 
2882
2882
  Select.prototype.setValueState = function(sValueState) {
2883
2883
  var sOldValueState = this.getValueState(),
2884
+ oDomRef,
2884
2885
  oPicker;
2885
2886
 
2886
2887
  if (sValueState === sOldValueState) {
2887
2888
  return this;
2888
2889
  }
2889
-
2890
2890
  oPicker = this.getPicker();
2891
2891
 
2892
2892
  if (oPicker && oPicker.isA("sap.m.Popover") && oPicker.isOpen() && oPicker.oPopup.getOpenState() === OpenState.CLOSING) {
2893
2893
  oPicker.attachEventOnce("afterClose", function(oEvent) {
2894
- return this._finishSettingValueState(sValueState);
2894
+ this._updatePickerAriaLabelledBy(sValueState);
2895
2895
  }, this);
2896
2896
  } else {
2897
- return this._finishSettingValueState(sValueState);
2897
+ this._updatePickerAriaLabelledBy(sValueState);
2898
2898
  }
2899
2899
 
2900
- };
2901
-
2902
- Select.prototype._finishSettingValueState = function(sValueState) {
2903
-
2904
2900
  this.setProperty("valueState", sValueState);
2905
2901
 
2906
- this._updatePickerAriaLabelledBy(sValueState);
2907
-
2908
2902
  if (this._isFocused()) {
2909
2903
  this._announceValueStateText();
2910
2904
  }
2911
2905
 
2912
- var oDomRef = this.getDomRefForValueState();
2906
+ oDomRef = this.getDomRefForValueState();
2913
2907
 
2914
2908
  if (!oDomRef) {
2915
2909
  return this;
@@ -3012,7 +3006,7 @@ function(
3012
3006
  * <b>Note: </b> If duplicate keys exist, the first item matching the key is returned.
3013
3007
  *
3014
3008
  * @param {string} sKey An item key that specifies the item to be retrieved.
3015
- * @returns {sap.ui.core.Item} The <code>sap.ui.core.Item</code> instance or <code>null</code> if thre is no such item
3009
+ * @returns {sap.ui.core.Item|null} The <code>sap.ui.core.Item</code> instance or <code>null</code> if there is no such item
3016
3010
  * @public
3017
3011
  * @since 1.16
3018
3012
  */
@@ -119,7 +119,7 @@ function(
119
119
  * @extends sap.m.SelectDialogBase
120
120
  *
121
121
  * @author SAP SE
122
- * @version 1.103.1
122
+ * @version 1.106.0
123
123
  *
124
124
  * @constructor
125
125
  * @public
@@ -1062,6 +1062,7 @@ function(
1062
1062
  // When reset the filter, the selected items might go outside
1063
1063
  // the currently visible items (outside the current growing number).
1064
1064
  // Set the growing to false to prevent this.
1065
+ that._oList.destroyItems();
1065
1066
  that._oList.setGrowing(false);
1066
1067
  oBindings.filter([]);
1067
1068
  that._oList.setGrowing(that.getGrowing());
@@ -27,7 +27,7 @@ function(
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
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.103.1
40
+ * @version 1.106.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -3,8 +3,8 @@
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/Element", "sap/ui/core/library", "sap/ui/core/Icon", "sap/ui/core/IconPool", "sap/ui/Device"],
7
- function(Element, coreLibrary, Icon, IconPool, Device) {
6
+ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/IconPool", "sap/ui/Device"],
7
+ function(Element, coreLibrary, IconPool, Device) {
8
8
  "use strict";
9
9
 
10
10
  // shortcut for sap.ui.core.TextDirection
@@ -37,7 +37,7 @@ function(
37
37
  * <b><i>Note:</i></b>It is protected and should only be used within the framework itself.
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.103.1
40
+ * @version 1.106.0
41
41
  *
42
42
  * @extends sap.ui.core.Control
43
43
  * @constructor
@@ -294,7 +294,7 @@ function(
294
294
  * @param {function} Button The constructor for sap.m.Button.
295
295
  * @private
296
296
  */
297
- SelectionDetails.prototype._handleNavLazy = function(pageTitle, content, Page, Toolbar, ToolbarSpacer, Title, Button) {
297
+ SelectionDetails.prototype._handleNavLazy = function(pageTitle, content, Page, Toolbar, ToolbarSpacer, Title) {
298
298
  var sPageId = this.getId() + "-page-for-" + content.getId() + "-uid-" + uid();
299
299
 
300
300
  this._setPopoverHeight(SelectionDetails._POPOVER_MAX_HEIGHT);
@@ -10,7 +10,7 @@
10
10
  * @since 1.48.0
11
11
  * @public
12
12
  * @author SAP SE
13
- * @version 1.103.1
13
+ * @version 1.106.0
14
14
  * @borrows sap.ui.core.Element#addCustomData as #addCustomData
15
15
  * @borrows sap.ui.core.Element#getCustomData as #getCustomData
16
16
  * @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
@@ -45,7 +45,7 @@
45
45
  * @since 1.48.0
46
46
  * @public
47
47
  * @author SAP SE
48
- * @version 1.103.1
48
+ * @version 1.106.0
49
49
  * @borrows sap.ui.core.Element#addCustomData as #addCustomData
50
50
  * @borrows sap.ui.core.Element#getCustomData as #getCustomData
51
51
  * @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Element
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.103.1
61
+ * @version 1.106.0
62
62
  *
63
63
  * @constructor
64
64
  * @protected
@@ -23,7 +23,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/base/Log", "sap/base/util/isPlainObje
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.103.1
26
+ * @version 1.106.0
27
27
  *
28
28
  * @constructor
29
29
  * @protected
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * The Shell control can be used as root element of applications. It can contain an App or a <code>SplitApp</code> control.
36
36
  * The Shell provides some overarching functionality for the overall application and takes care of visual adaptation, such as a frame around the App, on desktop browser platforms.
37
37
  * @extends sap.ui.core.Control
38
- * @version 1.103.1
38
+ * @version 1.106.0
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -31,7 +31,7 @@ function (Control, ResizeHandler, Log /**, SimpleFixFlexRenderer */) {
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.103.1
34
+ * @version 1.106.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -19,7 +19,6 @@ sap.ui.define([
19
19
  'sap/ui/core/ResizeHandler',
20
20
  'sap/ui/core/format/DateFormat',
21
21
  'sap/ui/unified/calendar/CalendarDate',
22
- 'sap/ui/unified/calendar/CalendarUtils',
23
22
  'sap/ui/unified/DateRange',
24
23
  'sap/ui/unified/DateTypeRange',
25
24
  'sap/ui/unified/library',
@@ -40,7 +39,6 @@ function(
40
39
  ResizeHandler,
41
40
  DateFormat,
42
41
  CalendarDate,
43
- CalendarUtils,
44
42
  DateRange,
45
43
  DateTypeRange,
46
44
  unifiedLibrary,
@@ -104,7 +102,7 @@ function(
104
102
  * @extends sap.ui.core.Control
105
103
  *
106
104
  * @author SAP SE
107
- * @version 1.103.1
105
+ * @version 1.106.0
108
106
  *
109
107
  * @constructor
110
108
  * @public
@@ -965,7 +963,7 @@ function(
965
963
  * Switches the visibility of the SegmentedButton in the _header and aligns the columns in the grid after an
966
964
  * operation (add, insert, remove, removeAll, destroy) with the views is performed.
967
965
  *
968
- * @returns {object} this for method chaining
966
+ * @returns {this} this for method chaining
969
967
  * @private
970
968
  */
971
969
  SinglePlanningCalendar.prototype._alignView = function () {
@@ -1006,11 +1004,11 @@ function(
1006
1004
  };
1007
1005
 
1008
1006
  /**
1009
- * Finds the view object by given key
1007
+ * Finds the view object by given key.
1010
1008
  * @param {string} sKey The key of the view
1011
1009
  * @public
1012
1010
  * @since 1.75
1013
- * @returns {sap.m.SinglePlanningCalendarView} the view object which matched the given <code>sKey</code>, or null if there is no such view
1011
+ * @returns {sap.m.SinglePlanningCalendarView|null} the view object which matched the given <code>sKey</code>, or <code>null</code> if there is no such view
1014
1012
  */
1015
1013
  SinglePlanningCalendar.prototype.getViewByKey = function (sKey) {
1016
1014
  var aViews = this.getViews(),
@@ -1065,7 +1063,7 @@ function(
1065
1063
  * If the SinglePlanningCalendar has only one view added to its view aggregation, the button is not visible.
1066
1064
  * Otherwise, it is displayed in the _header.
1067
1065
  *
1068
- * @returns {object} this for method chaining
1066
+ * @returns {this} this for method chaining
1069
1067
  * @private
1070
1068
  */
1071
1069
  SinglePlanningCalendar.prototype._switchViewButtonVisibility = function () {
@@ -1080,7 +1078,7 @@ function(
1080
1078
  /**
1081
1079
  * Attaches handlers to the events in the _header aggregation.
1082
1080
  *
1083
- * @returns {object} this for method chaining
1081
+ * @returns {this} this for method chaining
1084
1082
  * @private
1085
1083
  */
1086
1084
  SinglePlanningCalendar.prototype._attachHeaderEvents = function () {
@@ -1117,7 +1115,7 @@ function(
1117
1115
  /**
1118
1116
  * Attaches handlers to the events in the _grid aggregation.
1119
1117
  *
1120
- * @returns {object} this for method chaining
1118
+ * @returns {this} this for method chaining
1121
1119
  * @private
1122
1120
  */
1123
1121
  SinglePlanningCalendar.prototype._attachGridEvents = function () {
@@ -25,7 +25,7 @@ function (library, SinglePlanningCalendarView) {
25
25
  * @extends sap.m.SinglePlanningCalendarView
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.103.1
28
+ * @version 1.106.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -15,11 +15,8 @@ sap.ui.define([
15
15
  'sap/ui/core/format/TimezoneUtil',
16
16
  'sap/ui/core/Core',
17
17
  'sap/ui/core/date/UniversalDate',
18
- 'sap/ui/core/dnd/DragInfo',
19
- 'sap/ui/core/dnd/DropInfo',
20
18
  'sap/ui/core/dnd/DragDropInfo',
21
19
  'sap/ui/unified/library',
22
- 'sap/ui/unified/CalendarAppointment',
23
20
  'sap/ui/unified/calendar/DatesRow',
24
21
  'sap/ui/unified/calendar/CalendarDate',
25
22
  'sap/ui/unified/calendar/CalendarUtils',
@@ -42,11 +39,8 @@ sap.ui.define([
42
39
  TimezoneUtil,
43
40
  Core,
44
41
  UniversalDate,
45
- DragInfo,
46
- DropInfo,
47
42
  DragDropInfo,
48
43
  unifiedLibrary,
49
- CalendarAppointment,
50
44
  DatesRow,
51
45
  CalendarDate,
52
46
  CalendarUtils,
@@ -106,7 +100,7 @@ sap.ui.define([
106
100
  * @extends sap.ui.core.Control
107
101
  *
108
102
  * @author SAP SE
109
- * @version 1.103.1
103
+ * @version 1.106.0
110
104
  *
111
105
  * @constructor
112
106
  * @private
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  * @extends sap.ui.core.Control
84
84
  *
85
85
  * @author SAP SE
86
- * @version 1.103.1
86
+ * @version 1.106.0
87
87
  *
88
88
  * @constructor
89
89
  * @private
@@ -8,7 +8,6 @@ sap.ui.define([
8
8
  'sap/ui/unified/calendar/CalendarDate',
9
9
  'sap/ui/unified/calendar/CalendarUtils',
10
10
  'sap/ui/unified/calendar/Month',
11
- 'sap/ui/core/date/UniversalDate',
12
11
  'sap/ui/core/IconPool',
13
12
  './PlanningCalendarLegend',
14
13
  'sap/ui/core/InvisibleText',
@@ -19,7 +18,6 @@ sap.ui.define([
19
18
  CalendarDate,
20
19
  CalendarUtils,
21
20
  Month,
22
- UniversalDate,
23
21
  IconPool,
24
22
  PlanningCalendarLegend,
25
23
  InvisibleText,
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.m.SinglePlanningCalendarView
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
@@ -26,7 +26,7 @@ function (library, Log, Element) {
26
26
  * @extends sap.ui.core.Element
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
@@ -28,7 +28,7 @@ function (library, SinglePlanningCalendarView, LocaleData, CalendarDate, Calenda
28
28
  * @extends sap.m.SinglePlanningCalendarView
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
@@ -75,20 +75,19 @@ function (library, SinglePlanningCalendarView, LocaleData, CalendarDate, Calenda
75
75
  * @public
76
76
  */
77
77
  SinglePlanningCalendarWeekView.prototype.calculateStartDate = function (oStartDate) {
78
- var oCalDate = CalendarDate.fromLocalJSDate(oStartDate),
79
- oCalFirstDateOfWeek = CalendarUtils._getFirstDateOfWeek(oCalDate),
80
- oSPCStart = oCalFirstDateOfWeek.toLocalJSDate(),
81
- iOldFirstDayOfWeek = oSPCStart.getDay(),
82
- iResultFirstDayOfWeek = this.getFirstDayOfWeek(),
83
- oLocaleData;
78
+ var oLocaleData = LocaleData.getInstance(sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale()),
79
+ iFirstDayOfWeek = this.getFirstDayOfWeek(),
80
+ // -1 is the default value of firstDayOfWeek property. It means that the information from the used locale is used.
81
+ iCurrentFirstDayOfWeek = iFirstDayOfWeek === -1 ? oLocaleData.getFirstDayOfWeek() : iFirstDayOfWeek;
84
82
 
85
- if (iResultFirstDayOfWeek === -1) { // -1 is the default value of firstDayOfWeek property. It means that the information from the used locale is used.
86
- oLocaleData = LocaleData.getInstance(sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale());
87
- iResultFirstDayOfWeek = oLocaleData.getFirstDayOfWeek();
88
- }
89
- oSPCStart.setDate(oSPCStart.getDate() - iOldFirstDayOfWeek + iResultFirstDayOfWeek);
83
+ oStartDate.setDate(oStartDate.getDate() - oStartDate.getDay() + iCurrentFirstDayOfWeek);
90
84
 
91
- return oSPCStart;
85
+ return CalendarUtils
86
+ ._getFirstDateOfWeek(CalendarDate.fromLocalJSDate(oStartDate), {
87
+ firstDayOfWeek: iFirstDayOfWeek,
88
+ minimalDaysInFirstWeek: oLocaleData.getMinimalDaysInFirstWeek()
89
+ })
90
+ .toLocalJSDate();
92
91
  };
93
92
 
94
93
  return SinglePlanningCalendarWeekView;
@@ -28,7 +28,7 @@ function (library, SinglePlanningCalendarView, CalendarDate, CalendarUtils, Loca
28
28
  * @extends sap.m.SinglePlanningCalendarView
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
@@ -8,7 +8,6 @@ sap.ui.define([
8
8
  './library',
9
9
  'sap/ui/core/Control',
10
10
  'sap/m/GenericTile',
11
- 'sap/ui/Device',
12
11
  'sap/ui/core/Icon',
13
12
  './SlideTileRenderer',
14
13
  "sap/ui/events/KeyCodes",
@@ -19,7 +18,6 @@ sap.ui.define([
19
18
  library,
20
19
  Control,
21
20
  GenericTile,
22
- Device,
23
21
  Icon,
24
22
  SlideTileRenderer,
25
23
  KeyCodes,
@@ -41,7 +39,7 @@ sap.ui.define([
41
39
  * @extends sap.ui.core.Control
42
40
  *
43
41
  * @author SAP SE
44
- * @version 1.103.1
42
+ * @version 1.106.0
45
43
  * @since 1.34
46
44
  *
47
45
  * @public
@@ -161,6 +159,11 @@ sap.ui.define([
161
159
  this._stopAnimation();
162
160
  this._sWidth = this._sHeight = undefined;
163
161
  this._iCurrentTile = this._iPreviousTile = undefined;
162
+
163
+ //sets the extra width of 0.5rem when the grid container has 1rem gap for the TwoByxxxx tiles
164
+ if (this.getParent() && this.getParent().isA("sap.f.GridContainer")){
165
+ this._applyExtraWidth();
166
+ }
164
167
  };
165
168
 
166
169
  /**
@@ -385,7 +388,7 @@ sap.ui.define([
385
388
  */
386
389
  SlideTile.prototype._setupResizeClassHandler = function () {
387
390
  var fnCheckMedia = function () {
388
- if (this.getSizeBehavior() === TileSizeBehavior.Small || window.matchMedia("(max-width: 374px)").matches) {
391
+ if (this.getSizeBehavior() === TileSizeBehavior.Small || window.matchMedia("(max-width: 374px)").matches || this._hasStretchTiles()){
389
392
  this.$().addClass("sapMTileSmallPhone");
390
393
  } else {
391
394
  this.$().removeClass("sapMTileSmallPhone");
@@ -396,6 +399,18 @@ sap.ui.define([
396
399
  fnCheckMedia();
397
400
  };
398
401
 
402
+ /**
403
+ *Checks if the tiles inside the slidetile has stretch frametype and the window size is below 600px
404
+ *
405
+ * @returns {boolean} True if the above mentioned condition is met
406
+ * @private
407
+ */
408
+ SlideTile.prototype._hasStretchTiles = function () {
409
+ return this.getTiles().some(function(tile) {
410
+ return tile._isSmallStretchTile();
411
+ });
412
+ };
413
+
399
414
  /**
400
415
  * Checks if the focus is inside of SlideTile
401
416
  *
@@ -748,6 +763,16 @@ sap.ui.define([
748
763
  return false;
749
764
  };
750
765
 
766
+ SlideTile.prototype._applyExtraWidth = function() {
767
+ var sGap = this.getParent().getActiveLayoutSettings().getGap();
768
+ var bisGap16px = sGap === "16px" || sGap === "1rem";
769
+ if (bisGap16px){
770
+ this.addStyleClass("sapMSTWidthForGridContainer");
771
+ } else if (!bisGap16px && this.hasStyleClass("sapMSTWidthForGridContainer")){
772
+ this.removeStyleClass("sapMSTWidthForGridContainer");
773
+ }
774
+ };
775
+
751
776
  /**
752
777
  * Determines the current action depending on the tile's scope.
753
778
  * @param {sap.ui.base.Event} oEvent which was fired
@@ -757,4 +782,4 @@ sap.ui.define([
757
782
  SlideTile.prototype._getEventParams = GenericTile.prototype._getEventParams;
758
783
 
759
784
  return SlideTile;
760
- });
785
+ });