@openui5/sap.m 1.110.0 → 1.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/package.json +4 -4
  2. package/src/sap/m/.library +1 -1
  3. package/src/sap/m/AccButton.js +1 -1
  4. package/src/sap/m/ActionListItem.js +1 -1
  5. package/src/sap/m/ActionSelect.js +2 -1
  6. package/src/sap/m/ActionSheet.js +2 -2
  7. package/src/sap/m/ActionTile.js +1 -1
  8. package/src/sap/m/ActionTileContent.js +1 -1
  9. package/src/sap/m/AdditionalTextButton.js +1 -1
  10. package/src/sap/m/App.js +1 -1
  11. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  12. package/src/sap/m/Avatar.js +1 -1
  13. package/src/sap/m/Bar.js +20 -19
  14. package/src/sap/m/Breadcrumbs.js +1 -1
  15. package/src/sap/m/BusyDialog.js +1 -1
  16. package/src/sap/m/BusyIndicator.js +1 -1
  17. package/src/sap/m/Button.js +1 -1
  18. package/src/sap/m/Carousel.js +7 -11
  19. package/src/sap/m/CarouselLayout.js +1 -1
  20. package/src/sap/m/CheckBox.js +4 -2
  21. package/src/sap/m/CheckBoxRenderer.js +2 -1
  22. package/src/sap/m/ColorPalette.js +1 -1
  23. package/src/sap/m/ColorPalettePopover.js +1 -1
  24. package/src/sap/m/Column.js +12 -3
  25. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  26. package/src/sap/m/ColumnListItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverSelectListItem.js +2 -2
  31. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  32. package/src/sap/m/ComboBox.js +3 -3
  33. package/src/sap/m/ComboBoxBase.js +4 -8
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +23 -51
  40. package/src/sap/m/DateRangeSelection.js +46 -45
  41. package/src/sap/m/DateTimeField.js +14 -21
  42. package/src/sap/m/DateTimeInput.js +1 -1
  43. package/src/sap/m/DateTimePicker.js +108 -98
  44. package/src/sap/m/DateTimePickerRenderer.js +15 -5
  45. package/src/sap/m/Dialog.js +6 -2
  46. package/src/sap/m/DisplayListItem.js +1 -1
  47. package/src/sap/m/DraftIndicator.js +1 -1
  48. package/src/sap/m/DynamicDate.js +5 -5
  49. package/src/sap/m/DynamicDateFormat.js +21 -4
  50. package/src/sap/m/DynamicDateOption.js +22 -16
  51. package/src/sap/m/DynamicDateRange.js +198 -43
  52. package/src/sap/m/DynamicDateUtil.js +14 -5
  53. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  54. package/src/sap/m/ExpandableText.js +1 -1
  55. package/src/sap/m/FacetFilter.js +2 -1
  56. package/src/sap/m/FacetFilterItem.js +1 -1
  57. package/src/sap/m/FacetFilterList.js +1 -1
  58. package/src/sap/m/FeedContent.js +1 -1
  59. package/src/sap/m/FeedInput.js +1 -1
  60. package/src/sap/m/FeedListItem.js +1 -1
  61. package/src/sap/m/FeedListItemAction.js +1 -1
  62. package/src/sap/m/Fiori20Adapter.js +2 -2
  63. package/src/sap/m/FlexBox.js +1 -1
  64. package/src/sap/m/FlexItemData.js +1 -1
  65. package/src/sap/m/FormattedText.js +1 -1
  66. package/src/sap/m/GenericTag.js +1 -1
  67. package/src/sap/m/GenericTile.js +16 -21
  68. package/src/sap/m/GroupHeaderListItem.js +1 -1
  69. package/src/sap/m/GrowingEnablement.js +1 -1
  70. package/src/sap/m/GrowingList.js +1 -1
  71. package/src/sap/m/HBox.js +1 -1
  72. package/src/sap/m/HeaderContainer.js +1 -1
  73. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  74. package/src/sap/m/IconTabBar.js +1 -1
  75. package/src/sap/m/IconTabBarSelectList.js +1 -1
  76. package/src/sap/m/IconTabFilter.js +8 -8
  77. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  78. package/src/sap/m/IconTabHeader.js +14 -1
  79. package/src/sap/m/IconTabHeaderRenderer.js +25 -3
  80. package/src/sap/m/IconTabSeparator.js +1 -1
  81. package/src/sap/m/IllustratedMessage.js +61 -25
  82. package/src/sap/m/IllustratedMessageRenderer.js +13 -5
  83. package/src/sap/m/Illustration.js +1 -1
  84. package/src/sap/m/Image.js +1 -1
  85. package/src/sap/m/ImageContent.js +1 -1
  86. package/src/sap/m/Input.js +7 -7
  87. package/src/sap/m/InputBase.js +5 -5
  88. package/src/sap/m/InputBaseRenderer.js +1 -1
  89. package/src/sap/m/InputListItem.js +1 -1
  90. package/src/sap/m/Label.js +1 -1
  91. package/src/sap/m/LightBox.js +1 -1
  92. package/src/sap/m/LightBoxItem.js +1 -1
  93. package/src/sap/m/Link.js +1 -1
  94. package/src/sap/m/List.js +1 -1
  95. package/src/sap/m/ListBase.js +6 -5
  96. package/src/sap/m/ListItemBase.js +2 -7
  97. package/src/sap/m/MaskEnabler.js +1 -1
  98. package/src/sap/m/MaskInput.js +1 -1
  99. package/src/sap/m/MaskInputRule.js +1 -1
  100. package/src/sap/m/Menu.js +4 -4
  101. package/src/sap/m/MenuButton.js +20 -2
  102. package/src/sap/m/MenuItem.js +1 -1
  103. package/src/sap/m/MenuListItem.js +1 -1
  104. package/src/sap/m/MessageBox.js +53 -35
  105. package/src/sap/m/MessageItem.js +1 -1
  106. package/src/sap/m/MessageListItem.js +22 -1
  107. package/src/sap/m/MessagePage.js +1 -1
  108. package/src/sap/m/MessagePopover.js +3 -4
  109. package/src/sap/m/MessagePopoverItem.js +1 -1
  110. package/src/sap/m/MessageStrip.js +1 -1
  111. package/src/sap/m/MessageToast.js +1 -1
  112. package/src/sap/m/MessageView.js +6 -18
  113. package/src/sap/m/MultiComboBox.js +46 -33
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +28 -3
  116. package/src/sap/m/NavContainer.js +66 -2
  117. package/src/sap/m/NewsContent.js +1 -1
  118. package/src/sap/m/NotificationList.js +1 -1
  119. package/src/sap/m/NotificationListBase.js +1 -1
  120. package/src/sap/m/NotificationListGroup.js +1 -1
  121. package/src/sap/m/NotificationListItem.js +1 -1
  122. package/src/sap/m/NumericContent.js +1 -1
  123. package/src/sap/m/NumericInput.js +1 -1
  124. package/src/sap/m/ObjectAttribute.js +1 -1
  125. package/src/sap/m/ObjectHeader.js +1 -1
  126. package/src/sap/m/ObjectIdentifier.js +1 -1
  127. package/src/sap/m/ObjectListItem.js +1 -1
  128. package/src/sap/m/ObjectMarker.js +1 -1
  129. package/src/sap/m/ObjectNumber.js +1 -1
  130. package/src/sap/m/ObjectStatus.js +1 -1
  131. package/src/sap/m/OverflowToolbar.js +36 -1
  132. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  133. package/src/sap/m/OverflowToolbarButton.js +1 -1
  134. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  135. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  136. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  137. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  138. package/src/sap/m/P13nColumnsItem.js +1 -1
  139. package/src/sap/m/P13nColumnsPanel.js +1 -1
  140. package/src/sap/m/P13nConditionPanel.js +1 -1
  141. package/src/sap/m/P13nDialog.js +1 -1
  142. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  143. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  144. package/src/sap/m/P13nFilterItem.js +1 -1
  145. package/src/sap/m/P13nFilterPanel.js +1 -1
  146. package/src/sap/m/P13nGroupItem.js +1 -1
  147. package/src/sap/m/P13nGroupPanel.js +1 -1
  148. package/src/sap/m/P13nItem.js +1 -1
  149. package/src/sap/m/P13nPanel.js +1 -1
  150. package/src/sap/m/P13nSelectionItem.js +1 -1
  151. package/src/sap/m/P13nSelectionPanel.js +1 -1
  152. package/src/sap/m/P13nSortItem.js +1 -1
  153. package/src/sap/m/P13nSortPanel.js +1 -1
  154. package/src/sap/m/PDFViewer.js +1 -1
  155. package/src/sap/m/PDFViewerRenderer.js +13 -5
  156. package/src/sap/m/Page.js +1 -1
  157. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  158. package/src/sap/m/PagingButton.js +1 -1
  159. package/src/sap/m/Panel.js +1 -1
  160. package/src/sap/m/PlanningCalendar.js +2 -3
  161. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  162. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  163. package/src/sap/m/PlanningCalendarRow.js +2 -3
  164. package/src/sap/m/PlanningCalendarView.js +1 -1
  165. package/src/sap/m/Popover.js +3 -4
  166. package/src/sap/m/ProgressIndicator.js +1 -1
  167. package/src/sap/m/PullToRefresh.js +1 -1
  168. package/src/sap/m/QuickView.js +1 -1
  169. package/src/sap/m/QuickViewBase.js +1 -1
  170. package/src/sap/m/QuickViewCard.js +1 -1
  171. package/src/sap/m/QuickViewGroup.js +1 -1
  172. package/src/sap/m/QuickViewGroupElement.js +1 -1
  173. package/src/sap/m/QuickViewPage.js +19 -9
  174. package/src/sap/m/RadioButton.js +1 -1
  175. package/src/sap/m/RadioButtonGroup.js +1 -1
  176. package/src/sap/m/RangeSlider.js +1 -1
  177. package/src/sap/m/RatingIndicator.js +2 -2
  178. package/src/sap/m/ResponsivePopover.js +1 -1
  179. package/src/sap/m/ResponsiveScale.js +1 -1
  180. package/src/sap/m/ScrollBar.js +1 -1
  181. package/src/sap/m/ScrollContainer.js +1 -1
  182. package/src/sap/m/SearchField.js +1 -1
  183. package/src/sap/m/SegmentedButton.js +2 -2
  184. package/src/sap/m/SegmentedButtonItem.js +1 -1
  185. package/src/sap/m/Select.js +44 -2
  186. package/src/sap/m/SelectDialog.js +3 -1
  187. package/src/sap/m/SelectDialogBase.js +18 -8
  188. package/src/sap/m/SelectList.js +1 -1
  189. package/src/sap/m/SelectionDetails.js +3 -3
  190. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  191. package/src/sap/m/SelectionDetailsItem.js +1 -1
  192. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  193. package/src/sap/m/Shell.js +1 -1
  194. package/src/sap/m/SimpleFixFlex.js +1 -1
  195. package/src/sap/m/SinglePlanningCalendar.js +2 -2
  196. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  197. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +28 -29
  199. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  203. package/src/sap/m/SlideTile.js +22 -8
  204. package/src/sap/m/Slider.js +2 -2
  205. package/src/sap/m/SliderTooltip.js +1 -1
  206. package/src/sap/m/SliderTooltipBase.js +1 -1
  207. package/src/sap/m/SliderTooltipContainer.js +1 -1
  208. package/src/sap/m/SplitApp.js +1 -1
  209. package/src/sap/m/SplitButton.js +1 -1
  210. package/src/sap/m/SplitContainer.js +1 -1
  211. package/src/sap/m/StandardDynamicDateOption.js +51 -18
  212. package/src/sap/m/StandardListItem.js +1 -1
  213. package/src/sap/m/StandardTile.js +1 -1
  214. package/src/sap/m/StandardTreeItem.js +1 -1
  215. package/src/sap/m/StepInput.js +1 -1
  216. package/src/sap/m/SuggestionItem.js +1 -1
  217. package/src/sap/m/SuggestionsPopover.js +1 -1
  218. package/src/sap/m/Switch.js +1 -1
  219. package/src/sap/m/TabContainer.js +1 -1
  220. package/src/sap/m/TabContainerItem.js +1 -1
  221. package/src/sap/m/TabStrip.js +1 -1
  222. package/src/sap/m/TabStripItem.js +1 -1
  223. package/src/sap/m/Table.js +2 -2
  224. package/src/sap/m/TablePersoController.js +1 -1
  225. package/src/sap/m/TablePersoDialog.js +1 -1
  226. package/src/sap/m/TablePersoProvider.js +1 -1
  227. package/src/sap/m/TableSelectDialog.js +2 -1
  228. package/src/sap/m/Text.js +1 -1
  229. package/src/sap/m/TextArea.js +1 -1
  230. package/src/sap/m/Tile.js +1 -1
  231. package/src/sap/m/TileContainer.js +1 -1
  232. package/src/sap/m/TileContent.js +1 -1
  233. package/src/sap/m/TimePicker.js +10 -33
  234. package/src/sap/m/TimePickerClock.js +1 -1
  235. package/src/sap/m/TimePickerClocks.js +7 -5
  236. package/src/sap/m/TimePickerInputs.js +1 -1
  237. package/src/sap/m/TimePickerInternals.js +5 -3
  238. package/src/sap/m/TimePickerSlider.js +1 -1
  239. package/src/sap/m/TimePickerSliders.js +1 -1
  240. package/src/sap/m/Title.js +1 -1
  241. package/src/sap/m/TitlePropagationSupport.js +1 -1
  242. package/src/sap/m/ToggleButton.js +1 -1
  243. package/src/sap/m/Token.js +1 -1
  244. package/src/sap/m/Tokenizer.js +4 -2
  245. package/src/sap/m/Toolbar.js +1 -1
  246. package/src/sap/m/ToolbarLayoutData.js +1 -1
  247. package/src/sap/m/ToolbarSeparator.js +1 -1
  248. package/src/sap/m/ToolbarSpacer.js +1 -1
  249. package/src/sap/m/Tree.js +1 -1
  250. package/src/sap/m/TreeItemBase.js +1 -1
  251. package/src/sap/m/UploadCollection.js +1 -1
  252. package/src/sap/m/UploadCollectionItem.js +1 -1
  253. package/src/sap/m/UploadCollectionParameter.js +1 -1
  254. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  255. package/src/sap/m/VBox.js +1 -1
  256. package/src/sap/m/ValueStateHeader.js +1 -1
  257. package/src/sap/m/VariantManagement.js +4 -0
  258. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  259. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  260. package/src/sap/m/ViewSettingsDialog.js +1 -1
  261. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  262. package/src/sap/m/ViewSettingsItem.js +1 -1
  263. package/src/sap/m/VisibleItem.js +1 -1
  264. package/src/sap/m/WheelSlider.js +1 -1
  265. package/src/sap/m/WheelSliderContainer.js +1 -1
  266. package/src/sap/m/Wizard.js +1 -1
  267. package/src/sap/m/WizardProgressNavigator.js +1 -1
  268. package/src/sap/m/WizardStep.js +1 -1
  269. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  270. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  271. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  272. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  273. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  274. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  275. package/src/sap/m/designtime/TimePicker.designtime.js +5 -0
  276. package/src/sap/m/inputUtils/ListHelpers.js +3 -1
  277. package/src/sap/m/inputUtils/typeAhead.js +10 -0
  278. package/src/sap/m/library.js +66 -3
  279. package/src/sap/m/messagebundle.properties +33 -7
  280. package/src/sap/m/messagebundle_ar.properties +20 -2
  281. package/src/sap/m/messagebundle_bg.properties +23 -5
  282. package/src/sap/m/messagebundle_ca.properties +20 -2
  283. package/src/sap/m/messagebundle_cs.properties +18 -0
  284. package/src/sap/m/messagebundle_cy.properties +18 -0
  285. package/src/sap/m/messagebundle_da.properties +18 -0
  286. package/src/sap/m/messagebundle_de.properties +23 -5
  287. package/src/sap/m/messagebundle_el.properties +22 -4
  288. package/src/sap/m/messagebundle_en.properties +20 -2
  289. package/src/sap/m/messagebundle_en_GB.properties +18 -0
  290. package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -1
  291. package/src/sap/m/messagebundle_en_US_saprigi.properties +19 -1
  292. package/src/sap/m/messagebundle_en_US_saptrc.properties +19 -1
  293. package/src/sap/m/messagebundle_es.properties +20 -2
  294. package/src/sap/m/messagebundle_es_MX.properties +20 -2
  295. package/src/sap/m/messagebundle_et.properties +18 -0
  296. package/src/sap/m/messagebundle_fi.properties +18 -0
  297. package/src/sap/m/messagebundle_fr.properties +46 -28
  298. package/src/sap/m/messagebundle_fr_CA.properties +18 -0
  299. package/src/sap/m/messagebundle_hi.properties +27 -9
  300. package/src/sap/m/messagebundle_hr.properties +18 -0
  301. package/src/sap/m/messagebundle_hu.properties +18 -0
  302. package/src/sap/m/messagebundle_id.properties +20 -2
  303. package/src/sap/m/messagebundle_it.properties +24 -6
  304. package/src/sap/m/messagebundle_iw.properties +18 -0
  305. package/src/sap/m/messagebundle_ja.properties +18 -0
  306. package/src/sap/m/messagebundle_kk.properties +18 -0
  307. package/src/sap/m/messagebundle_ko.properties +19 -1
  308. package/src/sap/m/messagebundle_lt.properties +18 -0
  309. package/src/sap/m/messagebundle_lv.properties +20 -2
  310. package/src/sap/m/messagebundle_ms.properties +18 -0
  311. package/src/sap/m/messagebundle_nl.properties +18 -0
  312. package/src/sap/m/messagebundle_no.properties +21 -3
  313. package/src/sap/m/messagebundle_pl.properties +18 -0
  314. package/src/sap/m/messagebundle_pt.properties +20 -2
  315. package/src/sap/m/messagebundle_pt_PT.properties +18 -0
  316. package/src/sap/m/messagebundle_ro.properties +18 -0
  317. package/src/sap/m/messagebundle_ru.properties +18 -0
  318. package/src/sap/m/messagebundle_sh.properties +18 -0
  319. package/src/sap/m/messagebundle_sk.properties +18 -0
  320. package/src/sap/m/messagebundle_sl.properties +18 -0
  321. package/src/sap/m/messagebundle_sv.properties +18 -0
  322. package/src/sap/m/messagebundle_th.properties +22 -4
  323. package/src/sap/m/messagebundle_tr.properties +18 -0
  324. package/src/sap/m/messagebundle_uk.properties +18 -0
  325. package/src/sap/m/messagebundle_vi.properties +18 -0
  326. package/src/sap/m/messagebundle_zh_CN.properties +18 -0
  327. package/src/sap/m/messagebundle_zh_TW.properties +18 -0
  328. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  329. package/src/sap/m/p13n/AbstractContainerItem.js +3 -2
  330. package/src/sap/m/p13n/BasePanel.js +28 -26
  331. package/src/sap/m/p13n/Container.js +1 -1
  332. package/src/sap/m/p13n/Engine.js +19 -13
  333. package/src/sap/m/p13n/GroupController.js +1 -1
  334. package/src/sap/m/p13n/GroupPanel.js +1 -1
  335. package/src/sap/m/p13n/PersistenceProvider.js +11 -8
  336. package/src/sap/m/p13n/Popup.js +8 -6
  337. package/src/sap/m/p13n/QueryPanel.js +1 -1
  338. package/src/sap/m/p13n/SelectionController.js +22 -7
  339. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  340. package/src/sap/m/p13n/SortController.js +1 -1
  341. package/src/sap/m/p13n/SortPanel.js +1 -1
  342. package/src/sap/m/p13n/enum/PersistenceMode.js +3 -0
  343. package/src/sap/m/p13n/enum/ProcessingStrategy.js +2 -1
  344. package/src/sap/m/p13n/handler/xConfigHandler.js +1 -1
  345. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  346. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  347. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  348. package/src/sap/m/p13n/modules/xConfigAPI.js +4 -1
  349. package/src/sap/m/plugins/CellSelector.js +1 -1
  350. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  351. package/src/sap/m/plugins/CopyProvider.js +6 -6
  352. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  353. package/src/sap/m/plugins/PasteProvider.js +1 -1
  354. package/src/sap/m/plugins/PluginBase.js +1 -1
  355. package/src/sap/m/semantic/AddAction.js +1 -1
  356. package/src/sap/m/semantic/CancelAction.js +1 -1
  357. package/src/sap/m/semantic/DeleteAction.js +1 -1
  358. package/src/sap/m/semantic/DetailPage.js +1 -1
  359. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  360. package/src/sap/m/semantic/EditAction.js +1 -1
  361. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  362. package/src/sap/m/semantic/FilterAction.js +1 -1
  363. package/src/sap/m/semantic/FilterSelect.js +1 -1
  364. package/src/sap/m/semantic/FlagAction.js +1 -1
  365. package/src/sap/m/semantic/ForwardAction.js +1 -1
  366. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  367. package/src/sap/m/semantic/GroupAction.js +1 -1
  368. package/src/sap/m/semantic/GroupSelect.js +1 -1
  369. package/src/sap/m/semantic/MainAction.js +1 -1
  370. package/src/sap/m/semantic/MasterPage.js +1 -1
  371. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  372. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  373. package/src/sap/m/semantic/NegativeAction.js +1 -1
  374. package/src/sap/m/semantic/OpenInAction.js +1 -1
  375. package/src/sap/m/semantic/PositiveAction.js +1 -1
  376. package/src/sap/m/semantic/PrintAction.js +1 -1
  377. package/src/sap/m/semantic/SaveAction.js +1 -1
  378. package/src/sap/m/semantic/Segment.js +1 -1
  379. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  380. package/src/sap/m/semantic/SemanticButton.js +1 -1
  381. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  382. package/src/sap/m/semantic/SemanticControl.js +1 -1
  383. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  384. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  385. package/src/sap/m/semantic/SemanticPage.js +1 -1
  386. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  387. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  388. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  389. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  390. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  391. package/src/sap/m/semantic/ShareMenu.js +1 -1
  392. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  393. package/src/sap/m/semantic/SortAction.js +1 -1
  394. package/src/sap/m/semantic/SortSelect.js +1 -1
  395. package/src/sap/m/table/Util.js +1 -1
  396. package/src/sap/m/table/columnmenu/ActionItem.js +8 -3
  397. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  398. package/src/sap/m/table/columnmenu/Item.js +2 -1
  399. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  400. package/src/sap/m/table/columnmenu/Menu.js +72 -77
  401. package/src/sap/m/table/columnmenu/MenuRenderer.js +1 -3
  402. package/src/sap/m/table/columnmenu/QuickAction.js +2 -2
  403. package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
  404. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  405. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  406. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  407. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  408. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  409. package/src/sap/m/table/columnmenu/QuickTotal.js +3 -3
  410. package/src/sap/m/table/columnmenu/QuickTotalItem.js +2 -2
  411. package/src/sap/m/themes/base/FeedListItem.less +1 -1
  412. package/src/sap/m/themes/base/GenericTile.less +94 -5
  413. package/src/sap/m/themes/base/InputBase.less +7 -1
  414. package/src/sap/m/themes/base/Label.less +1 -0
  415. package/src/sap/m/themes/base/MultiComboBox.less +6 -4
  416. package/src/sap/m/themes/base/ObjectStatus.less +26 -0
  417. package/src/sap/m/themes/base/SlideTile.less +4 -4
  418. package/src/sap/m/themes/base/SuggestionsPopover.less +14 -6
  419. package/src/sap/m/themes/base/Table.less +0 -10
  420. package/src/sap/m/themes/base/Text.less +1 -0
  421. package/src/sap/m/themes/base/Tokenizer.less +23 -0
  422. package/src/sap/m/themes/sap_hcb/ObjectStatus.less +26 -0
  423. package/src/sap/m/themes/sap_horizon/Label.less +10 -0
  424. package/src/sap/m/themes/sap_horizon/Text.less +10 -0
  425. package/src/sap/m/upload/UploadSet.js +1 -1
  426. package/src/sap/m/upload/UploadSetItem.js +1 -1
  427. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  'sap/ui/thirdparty/jquery',
41
41
  'sap/ui/core/Configuration',
42
42
  'sap/ui/unified/calendar/CalendarUtils',
43
- 'sap/ui/dom/jquery/Focusable' // provides jQuery.fn.firstFocusableDomRef
43
+ "sap/ui/core/CustomData"
44
44
  ], function(
45
45
  InvisibleText,
46
46
  Element,
@@ -75,7 +75,8 @@ sap.ui.define([
75
75
  library,
76
76
  jQuery,
77
77
  Configuration,
78
- CalendarUtils
78
+ CalendarUtils,
79
+ CustomData
79
80
  ) {
80
81
  "use strict";
81
82
 
@@ -125,7 +126,7 @@ sap.ui.define([
125
126
  * is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
126
127
  *
127
128
  * @author SAP SE
128
- * @version 1.110.0
129
+ * @version 1.111.0
129
130
  *
130
131
  * @constructor
131
132
  * @public
@@ -252,11 +253,15 @@ sap.ui.define([
252
253
  "TODATETIME",
253
254
  "YEARTODATE",
254
255
  "DATETOYEAR",
256
+ "LASTMINUTES",
257
+ "LASTHOURS",
255
258
  "LASTDAYS",
256
259
  "LASTWEEKS",
257
260
  "LASTMONTHS",
258
261
  "LASTQUARTERS",
259
262
  "LASTYEARS",
263
+ "NEXTMINUTES",
264
+ "NEXTHOURS",
260
265
  "NEXTDAYS",
261
266
  "NEXTWEEKS",
262
267
  "NEXTMONTHS",
@@ -298,7 +303,15 @@ sap.ui.define([
298
303
  *
299
304
  * @since 1.105
300
305
  */
301
- hideInput: { type: "boolean", group: "Misc", defaultValue: false }
306
+ hideInput: { type: "boolean", group: "Misc", defaultValue: false },
307
+
308
+ /**
309
+ * If set, the calendar week numbering is used for display.
310
+ * If not set, the calendar week numbering of the global configuration is used.
311
+ * @since 1.111.0
312
+ */
313
+
314
+ calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null}
302
315
 
303
316
  },
304
317
  aggregations: {
@@ -340,6 +353,16 @@ sap.ui.define([
340
353
 
341
354
  MessageMixin.call(DynamicDateRange.prototype);
342
355
 
356
+ var aDateTimeOperators = [
357
+ "LASTHOURS",
358
+ "LASTMINUTES",
359
+ "NEXTHOURS",
360
+ "NEXTMINUTES"
361
+ ];
362
+
363
+ var aLastOptions = ["LASTMINUTES", "LASTHOURS", "LASTDAYS", "LASTWEEKS", "LASTMONTHS", "LASTQUARTERS", "LASTYEARS"];
364
+ var aNextOptions = ["NEXTMINUTES", "NEXTHOURS", "NEXTDAYS", "NEXTWEEKS", "NEXTMONTHS", "NEXTQUARTERS", "NEXTYEARS"];
365
+
343
366
  DynamicDateRange.prototype.init = function() {
344
367
  this._oInput = new DynamicDateRangeInput(this.getId() + "-input", {
345
368
  showValueHelp: true,
@@ -404,14 +427,19 @@ sap.ui.define([
404
427
  this._oInput.setValueState(this.getValueState());
405
428
  this._oInput.setValueStateText(this.getValueStateText());
406
429
 
407
- this.setValue(this._substitudeMissingValue(this.getValue()));
430
+ this.setValue(this._substituteMissingValue(this.getValue()));
408
431
  };
409
432
 
433
+ /**
434
+ * Setter for the <code>value</code> control property.
435
+ * @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
436
+ * @returns {this} Reference to <code>this</code> for method chaining
437
+ */
410
438
  DynamicDateRange.prototype.setValue = function(oValue) {
411
439
  var sOptionKey = oValue && oValue.operator;
412
440
 
413
- // substutude the semantically equivalent values
414
- oValue = this._substitudeValue(oValue);
441
+ // substitute the semantically equivalent values
442
+ oValue = this._substituteValue(oValue);
415
443
 
416
444
  this.setProperty("value", oValue);
417
445
  this._oSelectedOption = DynamicDateUtil.getOption(sOptionKey);
@@ -610,25 +638,85 @@ sap.ui.define([
610
638
  });
611
639
  };
612
640
 
613
- DynamicDateRange.prototype._getDatesLabelFormatter = function() {
614
- var oFormatOptions,
615
- aValueHelpTypes = this._oSelectedOption ? this._oSelectedOption.getValueHelpUITypes() : [],
641
+ DynamicDateRange.prototype._getValueHelpTypeForFormatter = function() {
642
+ var sOptionKey = this._oSelectedOption ? this._oSelectedOption.getKey() : '',
643
+ aLastOptionsSelectedIndex = aLastOptions.indexOf(sOptionKey),
644
+ aNextOptionsSelectedIndex = aNextOptions.indexOf(sOptionKey),
645
+ aPopupContent = this._oNavContainer ? this._oNavContainer.getPages()[1].getContent()[3] || [] : [],
646
+ aButtons = aPopupContent.getButtons ? aPopupContent.getButtons() : [],
647
+ aSuggestionItems = this.getAggregation('_input').getAggregation('suggestionItems'),
648
+ oValue = this.getValue(),
649
+ oCustomData,
650
+ aPopupContent,
651
+ aButtons,
652
+ aValueHelpTypes,
653
+ sType,
654
+ iButtonSelectedIndex,
655
+ sRealOptionKey,
656
+ sSuggestionOptionKey;
657
+
658
+ if (
659
+ !oValue &&
660
+ (!aButtons[0] || !aButtons[0].getDomRef()) &&
661
+ aSuggestionItems && aSuggestionItems.length &&
662
+ aSuggestionItems[aSuggestionItems.length - 1].getCustomData
663
+ ) {
664
+ oCustomData = aSuggestionItems[aSuggestionItems.length - 1].getCustomData()[0];
665
+ }
666
+
667
+ if (oCustomData) {
668
+ sSuggestionOptionKey = oCustomData.getValue();
669
+ aLastOptionsSelectedIndex = aDateTimeOperators.indexOf(sSuggestionOptionKey);
670
+ aNextOptionsSelectedIndex = aDateTimeOperators.indexOf(sSuggestionOptionKey);
671
+ }
672
+
673
+ if (oCustomData && sSuggestionOptionKey) {
674
+ if (aDateTimeOperators.indexOf(sSuggestionOptionKey) > -1) {
675
+ sType = 'datetime';
676
+ return sType;
677
+ }
678
+ }
679
+
680
+ //if option requires extra formatting.
681
+ if (this._oNavContainer && aButtons.length && (aLastOptionsSelectedIndex > -1 || aNextOptionsSelectedIndex > -1)) {
682
+ iButtonSelectedIndex = aButtons[0].getParent().getSelectedIndex();
683
+ if (aLastOptionsSelectedIndex > -1) {
684
+ sRealOptionKey = aLastOptions[iButtonSelectedIndex];
685
+ } else if (aNextOptionsSelectedIndex > -1) {
686
+ sRealOptionKey = aNextOptions[iButtonSelectedIndex];
687
+ }
688
+ aValueHelpTypes = this._oSelectedOption ? this._oSelectedOption.getValueHelpUITypes() : [];
616
689
  sType = aValueHelpTypes && aValueHelpTypes.length ? aValueHelpTypes[0].getType() : "";
617
690
 
618
- if (!this._oDatesLabelFormatter) {
619
- switch (sType) {
620
- case "datetime":
621
- oFormatOptions = Object.create(this._getFormatter()._dateTimeFormatter.oFormatOptions);
622
- oFormatOptions.singleIntervalValue = true;
623
- oFormatOptions.interval = true;
624
- this._oDatesLabelFormatter = DateFormat.getDateTimeInstance(oFormatOptions);
625
- break;
626
- default:
627
- oFormatOptions = Object.create(this._getFormatter()._dateFormatter.oFormatOptions);
628
- oFormatOptions.singleIntervalValue = true;
629
- oFormatOptions.interval = true;
630
- this._oDatesLabelFormatter = DateFormat.getInstance(oFormatOptions);
691
+ if (aDateTimeOperators.indexOf(sRealOptionKey) > -1) {
692
+ sType = 'datetime';
631
693
  }
694
+
695
+ return sType;
696
+ }
697
+
698
+ aValueHelpTypes = this._oSelectedOption ? this._oSelectedOption.getValueHelpUITypes() : [];
699
+
700
+ return aValueHelpTypes && aValueHelpTypes.length ? aValueHelpTypes[0].getType() : "";
701
+ };
702
+
703
+ DynamicDateRange.prototype._getDatesLabelFormatter = function() {
704
+ var oFormatOptions,
705
+ sType = this._getValueHelpTypeForFormatter();
706
+
707
+ switch (sType) {
708
+ case "datetime":
709
+ oFormatOptions = Object.create(this._getFormatter()._dateTimeFormatter.oFormatOptions);
710
+ oFormatOptions.singleIntervalValue = true;
711
+ oFormatOptions.interval = true;
712
+ this._oDatesLabelFormatter = DateFormat.getDateTimeInstance(oFormatOptions);
713
+
714
+ break;
715
+ default:
716
+ oFormatOptions = Object.create(this._getFormatter()._dateFormatter.oFormatOptions);
717
+ oFormatOptions.singleIntervalValue = true;
718
+ oFormatOptions.interval = true;
719
+ this._oDatesLabelFormatter = DateFormat.getInstance(oFormatOptions);
632
720
  }
633
721
 
634
722
  return this._oDatesLabelFormatter;
@@ -653,7 +741,7 @@ sap.ui.define([
653
741
  */
654
742
  DynamicDateRange.prototype._addSuggestionItem = function(oSuggestValue) {
655
743
  var bTimezone = this._checkFormatterUTCTimezone(oSuggestValue);
656
- var aValueDates = DynamicDateUtil.toDates(oSuggestValue);
744
+ var aValueDates = DynamicDateUtil.toDates(oSuggestValue, this.getCalendarWeekNumbering());
657
745
  var aResultingDates = [];
658
746
  for (var i = 0; i < aValueDates.length; i++) {
659
747
  aResultingDates[i] = this._convertDate(aValueDates[i], bTimezone);
@@ -661,10 +749,19 @@ sap.ui.define([
661
749
 
662
750
  var oItem = new ListItem({
663
751
  text: DynamicDateUtil.getOption(oSuggestValue.operator).format(oSuggestValue, this._getFormatter()),
664
- additionalText: this._getDatesLabelFormatter().format(aResultingDates)
752
+ additionalText: '',
753
+ customData: [
754
+ new CustomData({
755
+ key : "operator",
756
+ value: oSuggestValue.operator
757
+ })
758
+ ]
665
759
  });
666
760
 
667
761
  this._oInput.addSuggestionItem(oItem);
762
+
763
+ // Called after addSuggestionItem because the suggested items are needed in _getDatesLabelFormatter.
764
+ oItem.setAdditionalText(this._getDatesLabelFormatter().format(aResultingDates));
668
765
  };
669
766
 
670
767
  /**
@@ -705,7 +802,7 @@ sap.ui.define([
705
802
 
706
803
  /**
707
804
  * Checks if the <code>value</code> property operator corresponds to a date range.
708
- * @param {object} oValue The control value
805
+ * @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
709
806
  * @returns {boolean} True in case of a date range
710
807
  * @private
711
808
  */
@@ -715,7 +812,7 @@ sap.ui.define([
715
812
 
716
813
  /**
717
814
  * Swaps the start and end date of the value if the start date is after the end date.
718
- * @param {array} aValues The control value array
815
+ * @param {Array<Date>} aValues An array of JS Dates
719
816
  * @private
720
817
  */
721
818
  DynamicDateRange.prototype._swapDates = function(aValues) {
@@ -752,12 +849,11 @@ sap.ui.define([
752
849
 
753
850
  DynamicDateRange.prototype._toDatesString = function(oValue) {
754
851
  var bTimezone = this._checkFormatterUTCTimezone(oValue);
755
- var aValueDates = DynamicDateUtil.toDates(oValue);
852
+ var aValueDates = DynamicDateUtil.toDates(oValue, this.getCalendarWeekNumbering());
756
853
  var aDates = [];
757
854
  for (var i = 0; i < aValueDates.length; i++) {
758
855
  aDates[i] = this._convertDate(aValueDates[i], bTimezone);
759
856
  }
760
-
761
857
  return this._getDatesLabelFormatter().format(aDates);
762
858
  };
763
859
 
@@ -791,7 +887,6 @@ sap.ui.define([
791
887
  if (!this._calendarParser) {
792
888
  this._calendarParser = DateFormat.getDateTimeWithTimezoneInstance({ showTimezone: false });
793
889
  }
794
-
795
890
  return this._calendarParser;
796
891
  };
797
892
 
@@ -1009,9 +1104,10 @@ sap.ui.define([
1009
1104
  var oOutputValue = this._oSelectedOption.getValueHelpOutput(this),
1010
1105
  bTimezone = this._checkFormatterUTCTimezone(oOutputValue),
1011
1106
  aResultDates = [],
1012
- sFormattedDates;
1107
+ sFormattedDates,
1108
+ sSelectedOptionKey;
1013
1109
 
1014
- var aValueDates = DynamicDateUtil.toDates(oOutputValue);
1110
+ var aValueDates = DynamicDateUtil.toDates(oOutputValue, this.getCalendarWeekNumbering());
1015
1111
 
1016
1112
  if (!oOutputValue || !oOutputValue.operator || !DynamicDateUtil.getOption(oOutputValue.operator)) {
1017
1113
  return;
@@ -1026,8 +1122,13 @@ sap.ui.define([
1026
1122
  }
1027
1123
 
1028
1124
  if (aResultDates) {
1029
- if (this._oSelectedOption.getKey() === "FROMDATETIME" || this._oSelectedOption.getKey() === "TODATETIME"
1030
- || this._oSelectedOption.getKey() === "FROM" || this._oSelectedOption.getKey() === "TO") {
1125
+ sSelectedOptionKey = this._oSelectedOption.getKey();
1126
+ if (
1127
+ sSelectedOptionKey === "FROMDATETIME" ||
1128
+ sSelectedOptionKey === "TODATETIME" ||
1129
+ sSelectedOptionKey === "FROM" ||
1130
+ sSelectedOptionKey === "TO"
1131
+ ) {
1031
1132
  aResultDates.push(null);
1032
1133
  }
1033
1134
  sFormattedDates = this._getDatesLabelFormatter().format(aResultDates, true);
@@ -1130,6 +1231,31 @@ sap.ui.define([
1130
1231
  return this._oOptionsList;
1131
1232
  };
1132
1233
 
1234
+ /**
1235
+ * Function which determines which DDR option should be focused. Also considers hidden options.
1236
+ * @param {object} oValue The DynamicDateRange value.
1237
+ */
1238
+ DynamicDateRange.prototype._determineOptionFocus = function (oValue) {
1239
+ var aOptions = this._oOptionsList.getItems(),
1240
+ oOption = aOptions.filter(
1241
+ function (oItem) { return oItem.getOptionKey && oItem.getOptionKey() === oValue.operator; }
1242
+ )[0];
1243
+
1244
+ if (!oOption) {
1245
+ if (aLastOptions.indexOf(oValue.operator) > -1) {
1246
+ oOption = aOptions.filter(
1247
+ function (oItem) { return oItem.getOptionKey && oItem.getOptionKey() === aLastOptions[0];}
1248
+ )[0];
1249
+ } else if (aNextOptions.indexOf(oValue.operator) > -1) {
1250
+ oOption = aOptions.filter(
1251
+ function (oItem) { return oItem.getOptionKey && oItem.getOptionKey() === aNextOptions[0];}
1252
+ )[0];
1253
+ }
1254
+ }
1255
+
1256
+ return oOption;
1257
+ };
1258
+
1133
1259
  /**
1134
1260
  * Applies focus to the navigated page.
1135
1261
  *
@@ -1142,18 +1268,24 @@ sap.ui.define([
1142
1268
  oElementToFocus;
1143
1269
 
1144
1270
  if (oToPage === oOptionsListPage && oValue) {
1145
- oElementToFocus = this._oOptionsList.getItems().find(function(oListItem) {
1146
- return oListItem.isA("sap.m.DynamicDateRangeListItem") &&
1147
- (oListItem.getOptionKey() === oValue.operator);
1148
- });
1271
+ oElementToFocus = this._determineOptionFocus(oValue) || oElementToFocus;
1272
+ }
1273
+
1274
+ if (!oToPage.getDomRef()) {
1275
+ return;
1149
1276
  }
1150
1277
 
1151
1278
  if (!oElementToFocus) {
1152
1279
  oElementToFocus = jQuery(oToPage.getDomRef().querySelector("section")).firstFocusableDomRef();
1153
1280
  }
1154
1281
 
1155
- oElementToFocus.focus();
1156
- oElementToFocus && oElementToFocus.setSelected && oElementToFocus.setSelected(true);
1282
+ if (oValue && oValue.operator !== "PARSEERROR" && oElementToFocus) {
1283
+ oElementToFocus.setSelected && oElementToFocus.setSelected(true);
1284
+ }
1285
+
1286
+ if (oElementToFocus) {
1287
+ oElementToFocus.focus();
1288
+ }
1157
1289
 
1158
1290
  this._reApplyFocusToElement(oToPage, oValue);
1159
1291
  };
@@ -1263,7 +1395,7 @@ sap.ui.define([
1263
1395
  DynamicDateRange.prototype._applyValue = function() {
1264
1396
  this._oOutput = this._oSelectedOption.getValueHelpOutput(this);
1265
1397
  var sTimezone = this._checkFormatterUTCTimezone(this._oOutput);
1266
- var aValueDates = DynamicDateUtil.toDates(this._oOutput);
1398
+ var aValueDates = DynamicDateUtil.toDates(this._oOutput, this.getCalendarWeekNumbering());
1267
1399
  for (var i = 0; i < aValueDates.length; i++) {
1268
1400
  if (this._oOutput.values[i] instanceof Date) {
1269
1401
  this._oOutput.values[i] = this._convertDate(aValueDates[i], sTimezone);
@@ -1338,7 +1470,7 @@ sap.ui.define([
1338
1470
  * @private
1339
1471
  * @returns {object} A substituted value if needed, or the same value if not
1340
1472
  */
1341
- DynamicDateRange.prototype._substitudeValue = function(oValue) {
1473
+ DynamicDateRange.prototype._substituteValue = function(oValue) {
1342
1474
  var sKey, aParams, oNewValue;
1343
1475
 
1344
1476
  if (!oValue || !oValue.operator || !oValue.values) {
@@ -1390,7 +1522,7 @@ sap.ui.define([
1390
1522
  * @private
1391
1523
  * @returns {object} A substituted value if needed, or the same value if not
1392
1524
  */
1393
- DynamicDateRange.prototype._substitudeMissingValue = function(oValue) {
1525
+ DynamicDateRange.prototype._substituteMissingValue = function(oValue) {
1394
1526
  var oNewValue = oValue;
1395
1527
 
1396
1528
  if (oValue && oValue.operator === "YESTERDAY" && !this.getOptions().includes("YESTERDAY") && this.getOptions().includes("LASTDAYS")) {
@@ -1412,6 +1544,29 @@ sap.ui.define([
1412
1544
  return this._getFormatter()._checkFormatterUTCTimezone(oValue.operator);
1413
1545
  };
1414
1546
 
1547
+ /**
1548
+ * Returns a date range from a provided object in the format of the DynamicDateRange's value.
1549
+ * @example
1550
+ * var aDates = DynamicDateRange.toDates({operator: StandardDynamicDateRangeKeys.TODAY, values: []});
1551
+ * aDates[0].toString()
1552
+ * // output: "Fri Mar 31 2023 00:00:00 GMT+0200 (Eastern European Standard Time)" - assuming TODAY is Mar 31, 2023, 2:37:00 PM in the configured time zone
1553
+ *
1554
+ * @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
1555
+ * @param {string} sCalendarWeekNumbering The type of calendar week numbering
1556
+ * @returns {Date[]} An array of two date objects - start and end date
1557
+ * @static
1558
+ * @public
1559
+ */
1560
+ DynamicDateRange.toDates = function(oValue, sCalendarWeekNumbering) {
1561
+ return DynamicDateUtil.toDates(oValue, sCalendarWeekNumbering).map(function (oDate) {
1562
+ if (oDate instanceof Date) {
1563
+ return oDate;
1564
+ }
1565
+
1566
+ return oDate.getJSDate();
1567
+ });
1568
+ };
1569
+
1415
1570
  var DynamicDateRangeInputRenderer = Renderer.extend(InputRenderer);
1416
1571
 
1417
1572
  DynamicDateRangeInputRenderer.apiVersion = 2;
@@ -37,11 +37,15 @@ sap.ui.define([
37
37
  "TO",
38
38
  "YEARTODATE",
39
39
  "DATETOYEAR",
40
+ "LASTMINUTES",
41
+ "LASTHOURS",
40
42
  "LASTDAYS",
41
43
  "LASTWEEKS",
42
44
  "LASTMONTHS",
43
45
  "LASTQUARTERS",
44
46
  "LASTYEARS",
47
+ "NEXTMINUTES",
48
+ "NEXTHOURS",
45
49
  "NEXTDAYS",
46
50
  "NEXTWEEKS",
47
51
  "NEXTMONTHS",
@@ -104,11 +108,15 @@ sap.ui.define([
104
108
  "NEXTMONTH": new StandardDynamicDateOption({ key: "NEXTMONTH", valueTypes: [] }),
105
109
  "NEXTQUARTER": new StandardDynamicDateOption({ key: "NEXTQUARTER", valueTypes: [] }),
106
110
  "NEXTYEAR": new StandardDynamicDateOption({ key: "NEXTYEAR", valueTypes: [] }),
111
+ "LASTMINUTES": new StandardDynamicDateOption({ key: "LASTMINUTES", valueTypes: ["int"] }),
112
+ "LASTHOURS": new StandardDynamicDateOption({ key: "LASTHOURS", valueTypes: ["int"] }),
107
113
  "LASTDAYS": new StandardDynamicDateOption({ key: "LASTDAYS", valueTypes: ["int"] }),
108
114
  "LASTWEEKS": new StandardDynamicDateOption({ key: "LASTWEEKS", valueTypes: ["int"] }),
109
115
  "LASTMONTHS": new StandardDynamicDateOption({ key: "LASTMONTHS", valueTypes: ["int"] }),
110
116
  "LASTQUARTERS": new StandardDynamicDateOption({ key: "LASTQUARTERS", valueTypes: ["int"] }),
111
117
  "LASTYEARS": new StandardDynamicDateOption({ key: "LASTYEARS", valueTypes: ["int"] }),
118
+ "NEXTMINUTES": new StandardDynamicDateOption({ key: "NEXTMINUTES", valueTypes: ["int"] }),
119
+ "NEXTHOURS": new StandardDynamicDateOption({ key: "NEXTHOURS", valueTypes: ["int"] }),
112
120
  "NEXTDAYS": new StandardDynamicDateOption({ key: "NEXTDAYS", valueTypes: ["int"] }),
113
121
  "NEXTWEEKS": new StandardDynamicDateOption({ key: "NEXTWEEKS", valueTypes: ["int"] }),
114
122
  "NEXTMONTHS": new StandardDynamicDateOption({ key: "NEXTMONTHS", valueTypes: ["int"] }),
@@ -191,13 +199,13 @@ sap.ui.define([
191
199
  };
192
200
 
193
201
  /**
194
- * Parses a string to an array of objects in the DynamicDateRange's value format.
202
+ * Parses a string to an array of objects of type <code>sap.m.DynamicDateRangeValue</code>.
195
203
  * Uses the provided formatter.
196
204
  *
197
205
  * @param {string} sValue The string to be parsed
198
206
  * @param {sap.m.DynamicDateFormat} oFormatter A dynamic date formatter
199
- * @param {array} aOptionKeys array of option names
200
- * @returns {object[]} An array of value objects in the DynamicDateRange's value format
207
+ * @param {string[]} aOptionKeys array of option names
208
+ * @returns {sap.m.DynamicDateRangeValue[]} An array of <code>sap.m.DynamicDateRangeValue</code> objects
201
209
  * @static
202
210
  * @public
203
211
  */
@@ -235,13 +243,14 @@ sap.ui.define([
235
243
  * Calculates a date range from a provided object in the format of the DynamicDateRange's value.
236
244
  *
237
245
  * @param {string} oValue The provided value
246
+ * @param {string} sCalendarWeekNumbering The type of calendar week numbering
238
247
  * @returns {sap.ui.core.date.UniversalDate[]} An array of two date objects - start and end date
239
248
  * @static
240
249
  * @public
241
250
  */
242
- DynamicDateUtil.toDates = function(oValue) {
251
+ DynamicDateUtil.toDates = function(oValue, sCalendarWeekNumbering) {
243
252
  var sKey = oValue.operator;
244
- return DynamicDateUtil._options[sKey].toDates(oValue);
253
+ return DynamicDateUtil._options[sKey].toDates(oValue, sCalendarWeekNumbering);
245
254
  };
246
255
 
247
256
 
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.110.0
23
+ * @version 1.111.0
24
24
  *
25
25
  * @public
26
26
  * @since 1.92
@@ -105,7 +105,7 @@ function(library,
105
105
  * @implements sap.ui.core.IFormContent, sap.m.IHyphenation
106
106
  *
107
107
  * @author SAP SE
108
- * @version 1.110.0
108
+ * @version 1.111.0
109
109
  *
110
110
  * @constructor
111
111
  * @public
@@ -172,7 +172,7 @@ sap.ui.define([
172
172
  *
173
173
  * @extends sap.ui.core.Control
174
174
  * @implements sap.ui.core.IShrinkable
175
- * @version 1.110.0
175
+ * @version 1.111.0
176
176
  *
177
177
  * @constructor
178
178
  * @public
@@ -1646,6 +1646,7 @@ sap.ui.define([
1646
1646
  },
1647
1647
  beginButton : new Button({
1648
1648
  text : this._bundle.getText("FACETFILTER_ACCEPT"),
1649
+ type: ButtonType.Emphasized,
1649
1650
  tooltip:this._bundle.getText("FACETFILTER_ACCEPT"),
1650
1651
  press : function() {
1651
1652
 
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
20
20
  * @class
21
21
  * Represents a value for the {@link sap.m.FacetFilterList} control.
22
22
  * @extends sap.m.ListItemBase
23
- * @version 1.110.0
23
+ * @version 1.111.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * be closed.
53
53
  *
54
54
  * @extends sap.m.List
55
- * @version 1.110.0
55
+ * @version 1.111.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.110.0
31
+ * @version 1.111.0
32
32
  * @since 1.34
33
33
  *
34
34
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.110.0
43
+ * @version 1.111.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -56,7 +56,7 @@ function(
56
56
  * @extends sap.m.ListItemBase
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.110.0
59
+ * @version 1.111.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(["sap/ui/core/Element"],
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.110.0
22
+ * @version 1.111.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  *
29
29
  *
30
30
  * @class text
31
- * @version 1.110.0
31
+ * @version 1.111.0
32
32
  * @private
33
33
  * @since 1.38
34
34
  * @alias HeaderAdapter
@@ -228,7 +228,7 @@ sap.ui.define([
228
228
  * Constructor for an sap.m.Fiori20Adapter.
229
229
  *
230
230
  * @class text
231
- * @version 1.110.0
231
+ * @version 1.111.0
232
232
  * @private
233
233
  * @since 1.38
234
234
  * @alias sap.m.Fiori20Adapter
@@ -62,7 +62,7 @@ function(
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.110.0
65
+ * @version 1.111.0
66
66
  *
67
67
  * @public
68
68
  * @alias sap.m.FlexBox
@@ -24,7 +24,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
24
24
  * @class
25
25
  * Holds layout data for a FlexBox / HBox / VBox.
26
26
  * @extends sap.ui.core.LayoutData
27
- * @version 1.110.0
27
+ * @version 1.111.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -46,7 +46,7 @@ function(
46
46
  * @class
47
47
  * The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
48
48
  * @extends sap.ui.core.Control
49
- * @version 1.110.0
49
+ * @version 1.111.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.ui.core.Control
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.110.0
56
+ * @version 1.111.0
57
57
  *
58
58
  * @constructor
59
59
  * @public