@openui5/sap.m 1.113.0 → 1.114.1

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 (420) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +1 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +1 -1
  9. package/src/sap/m/ActionTileContent.js +1 -1
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +1 -1
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +1 -1
  14. package/src/sap/m/Bar.js +1 -1
  15. package/src/sap/m/Breadcrumbs.js +1 -1
  16. package/src/sap/m/BusyDialog.js +5 -3
  17. package/src/sap/m/BusyIndicator.js +1 -1
  18. package/src/sap/m/Button.js +19 -3
  19. package/src/sap/m/ButtonRenderer.js +9 -1
  20. package/src/sap/m/Carousel.js +3 -4
  21. package/src/sap/m/CarouselLayout.js +1 -1
  22. package/src/sap/m/CheckBox.js +1 -1
  23. package/src/sap/m/ColorPalette.js +1 -1
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  27. package/src/sap/m/ColumnListItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  33. package/src/sap/m/ComboBox.js +14 -3
  34. package/src/sap/m/ComboBoxBase.js +1 -1
  35. package/src/sap/m/ComboBoxTextField.js +1 -1
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +48 -18
  40. package/src/sap/m/DateRangeSelection.js +71 -32
  41. package/src/sap/m/DateTimeField.js +19 -14
  42. package/src/sap/m/DateTimeInput.js +6 -4
  43. package/src/sap/m/DateTimePicker.js +42 -11
  44. package/src/sap/m/Dialog.js +2 -2
  45. package/src/sap/m/DisplayListItem.js +1 -1
  46. package/src/sap/m/DraftIndicator.js +1 -1
  47. package/src/sap/m/DynamicDate.js +5 -6
  48. package/src/sap/m/DynamicDateFormat.js +10 -7
  49. package/src/sap/m/DynamicDateOption.js +12 -6
  50. package/src/sap/m/DynamicDateRange.js +268 -45
  51. package/src/sap/m/DynamicDateUtil.js +5 -5
  52. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
  53. package/src/sap/m/ExpandableText.js +1 -1
  54. package/src/sap/m/FacetFilter.js +7 -5
  55. package/src/sap/m/FacetFilterItem.js +1 -1
  56. package/src/sap/m/FacetFilterList.js +1 -1
  57. package/src/sap/m/FeedContent.js +1 -1
  58. package/src/sap/m/FeedInput.js +1 -1
  59. package/src/sap/m/FeedListItem.js +11 -4
  60. package/src/sap/m/FeedListItemAction.js +1 -1
  61. package/src/sap/m/Fiori20Adapter.js +2 -2
  62. package/src/sap/m/FlexBox.js +1 -1
  63. package/src/sap/m/FlexItemData.js +1 -1
  64. package/src/sap/m/FormattedText.js +42 -51
  65. package/src/sap/m/GenericTag.js +1 -1
  66. package/src/sap/m/GenericTile.js +23 -23
  67. package/src/sap/m/GroupHeaderListItem.js +1 -1
  68. package/src/sap/m/GrowingEnablement.js +2 -4
  69. package/src/sap/m/GrowingList.js +1 -1
  70. package/src/sap/m/HBox.js +1 -1
  71. package/src/sap/m/HeaderContainer.js +11 -5
  72. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  73. package/src/sap/m/IconTabBar.js +1 -1
  74. package/src/sap/m/IconTabBarSelectList.js +1 -1
  75. package/src/sap/m/IconTabFilter.js +5 -6
  76. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  77. package/src/sap/m/IconTabHeader.js +1 -1
  78. package/src/sap/m/IconTabSeparator.js +5 -8
  79. package/src/sap/m/IllustratedMessage.js +30 -2
  80. package/src/sap/m/Illustration.js +1 -1
  81. package/src/sap/m/IllustrationRenderer.js +0 -2
  82. package/src/sap/m/Image.js +1 -1
  83. package/src/sap/m/ImageContent.js +1 -1
  84. package/src/sap/m/ImageHelper.js +110 -0
  85. package/src/sap/m/Input.js +3 -2
  86. package/src/sap/m/InputBase.js +1 -1
  87. package/src/sap/m/InputListItem.js +1 -1
  88. package/src/sap/m/Label.js +1 -1
  89. package/src/sap/m/LightBox.js +1 -1
  90. package/src/sap/m/LightBoxItem.js +1 -1
  91. package/src/sap/m/Link.js +7 -16
  92. package/src/sap/m/List.js +1 -1
  93. package/src/sap/m/ListBase.js +6 -2
  94. package/src/sap/m/ListItemBase.js +10 -3
  95. package/src/sap/m/MaskEnabler.js +1 -1
  96. package/src/sap/m/MaskInput.js +1 -1
  97. package/src/sap/m/MaskInputRule.js +1 -1
  98. package/src/sap/m/Menu.js +1 -1
  99. package/src/sap/m/MenuButton.js +1 -1
  100. package/src/sap/m/MenuItem.js +1 -1
  101. package/src/sap/m/MenuListItem.js +1 -1
  102. package/src/sap/m/MessageItem.js +1 -1
  103. package/src/sap/m/MessageListItem.js +4 -5
  104. package/src/sap/m/MessagePage.js +1 -1
  105. package/src/sap/m/MessagePopover.js +1 -1
  106. package/src/sap/m/MessagePopoverItem.js +1 -1
  107. package/src/sap/m/MessageStrip.js +1 -1
  108. package/src/sap/m/MessageToast.js +78 -10
  109. package/src/sap/m/MessageView.js +1 -1
  110. package/src/sap/m/MultiComboBox.js +24 -5
  111. package/src/sap/m/MultiEditField.js +1 -1
  112. package/src/sap/m/MultiInput.js +1 -1
  113. package/src/sap/m/NavContainer.js +1 -1
  114. package/src/sap/m/NewsContent.js +1 -1
  115. package/src/sap/m/NotificationList.js +1 -1
  116. package/src/sap/m/NotificationListBase.js +1 -1
  117. package/src/sap/m/NotificationListGroup.js +1 -1
  118. package/src/sap/m/NotificationListItem.js +1 -1
  119. package/src/sap/m/NumericContent.js +1 -1
  120. package/src/sap/m/NumericInput.js +1 -1
  121. package/src/sap/m/ObjectAttribute.js +6 -6
  122. package/src/sap/m/ObjectHeader.js +5 -5
  123. package/src/sap/m/ObjectIdentifier.js +1 -1
  124. package/src/sap/m/ObjectListItem.js +5 -6
  125. package/src/sap/m/ObjectMarker.js +1 -1
  126. package/src/sap/m/ObjectNumber.js +1 -1
  127. package/src/sap/m/ObjectStatus.js +4 -7
  128. package/src/sap/m/OverflowToolbar.js +7 -1
  129. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  130. package/src/sap/m/OverflowToolbarButton.js +1 -1
  131. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  132. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  133. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  134. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  135. package/src/sap/m/P13nColumnsItem.js +1 -1
  136. package/src/sap/m/P13nColumnsPanel.js +1 -1
  137. package/src/sap/m/P13nConditionPanel.js +1 -1
  138. package/src/sap/m/P13nDialog.js +1 -1
  139. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  140. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  141. package/src/sap/m/P13nFilterItem.js +1 -1
  142. package/src/sap/m/P13nFilterPanel.js +1 -1
  143. package/src/sap/m/P13nGroupItem.js +1 -1
  144. package/src/sap/m/P13nGroupPanel.js +1 -1
  145. package/src/sap/m/P13nItem.js +1 -1
  146. package/src/sap/m/P13nPanel.js +1 -1
  147. package/src/sap/m/P13nSelectionItem.js +1 -1
  148. package/src/sap/m/P13nSelectionPanel.js +1 -1
  149. package/src/sap/m/P13nSortItem.js +1 -1
  150. package/src/sap/m/P13nSortPanel.js +1 -1
  151. package/src/sap/m/PDFViewer.js +1 -1
  152. package/src/sap/m/Page.js +2 -2
  153. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  154. package/src/sap/m/PagingButton.js +1 -1
  155. package/src/sap/m/Panel.js +1 -1
  156. package/src/sap/m/PlanningCalendar.js +11 -11
  157. package/src/sap/m/PlanningCalendarHeader.js +3 -3
  158. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  159. package/src/sap/m/PlanningCalendarRow.js +15 -15
  160. package/src/sap/m/PlanningCalendarView.js +1 -1
  161. package/src/sap/m/Popover.js +3 -3
  162. package/src/sap/m/ProgressIndicator.js +1 -1
  163. package/src/sap/m/PullToRefresh.js +4 -10
  164. package/src/sap/m/QuickView.js +1 -1
  165. package/src/sap/m/QuickViewBase.js +1 -1
  166. package/src/sap/m/QuickViewCard.js +1 -1
  167. package/src/sap/m/QuickViewGroup.js +1 -1
  168. package/src/sap/m/QuickViewGroupElement.js +1 -1
  169. package/src/sap/m/QuickViewPage.js +1 -1
  170. package/src/sap/m/RadioButton.js +1 -1
  171. package/src/sap/m/RadioButtonGroup.js +2 -1
  172. package/src/sap/m/RangeSlider.js +1 -1
  173. package/src/sap/m/RatingIndicator.js +1 -1
  174. package/src/sap/m/ResponsivePopover.js +1 -1
  175. package/src/sap/m/ResponsiveScale.js +1 -1
  176. package/src/sap/m/ScrollBar.js +1 -1
  177. package/src/sap/m/ScrollContainer.js +1 -1
  178. package/src/sap/m/SearchField.js +17 -7
  179. package/src/sap/m/SegmentedButton.js +1 -1
  180. package/src/sap/m/SegmentedButtonItem.js +1 -1
  181. package/src/sap/m/Select.js +1 -1
  182. package/src/sap/m/SelectDialog.js +1 -1
  183. package/src/sap/m/SelectDialogBase.js +1 -1
  184. package/src/sap/m/SelectList.js +1 -1
  185. package/src/sap/m/SelectionDetails.js +1 -1
  186. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  187. package/src/sap/m/SelectionDetailsItem.js +2 -2
  188. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  189. package/src/sap/m/Shell.js +4 -3
  190. package/src/sap/m/SimpleFixFlex.js +1 -1
  191. package/src/sap/m/SinglePlanningCalendar.js +44 -15
  192. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  193. package/src/sap/m/SinglePlanningCalendarGrid.js +13 -13
  194. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +9 -9
  195. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendarView.js +2 -2
  197. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  199. package/src/sap/m/SlideTile.js +1 -1
  200. package/src/sap/m/Slider.js +4 -4
  201. package/src/sap/m/SliderTooltip.js +1 -1
  202. package/src/sap/m/SliderTooltipBase.js +1 -1
  203. package/src/sap/m/SliderTooltipContainer.js +1 -1
  204. package/src/sap/m/SplitApp.js +1 -1
  205. package/src/sap/m/SplitButton.js +1 -1
  206. package/src/sap/m/SplitContainer.js +1 -1
  207. package/src/sap/m/StandardDynamicDateOption.js +2 -3
  208. package/src/sap/m/StandardListItem.js +1 -1
  209. package/src/sap/m/StandardTile.js +4 -9
  210. package/src/sap/m/StandardTreeItem.js +1 -1
  211. package/src/sap/m/StepInput.js +1 -1
  212. package/src/sap/m/SuggestionItem.js +1 -1
  213. package/src/sap/m/SuggestionsPopover.js +1 -1
  214. package/src/sap/m/Switch.js +1 -1
  215. package/src/sap/m/TabContainer.js +1 -1
  216. package/src/sap/m/TabContainerItem.js +3 -6
  217. package/src/sap/m/TabStrip.js +1 -1
  218. package/src/sap/m/TabStripItem.js +3 -6
  219. package/src/sap/m/Table.js +5 -4
  220. package/src/sap/m/TablePersoController.js +1 -1
  221. package/src/sap/m/TablePersoDialog.js +1 -1
  222. package/src/sap/m/TablePersoProvider.js +1 -1
  223. package/src/sap/m/TableSelectDialog.js +1 -1
  224. package/src/sap/m/Text.js +1 -1
  225. package/src/sap/m/TextArea.js +1 -1
  226. package/src/sap/m/Tile.js +1 -1
  227. package/src/sap/m/TileContainer.js +1 -1
  228. package/src/sap/m/TileContent.js +8 -8
  229. package/src/sap/m/TileContentRenderer.js +1 -6
  230. package/src/sap/m/TimePicker.js +38 -8
  231. package/src/sap/m/TimePickerClock.js +1 -1
  232. package/src/sap/m/TimePickerClocks.js +4 -4
  233. package/src/sap/m/TimePickerClocksRenderer.js +7 -9
  234. package/src/sap/m/TimePickerInputs.js +10 -8
  235. package/src/sap/m/TimePickerInputsRenderer.js +7 -6
  236. package/src/sap/m/TimePickerInternals.js +15 -2
  237. package/src/sap/m/TimePickerSlider.js +1 -1
  238. package/src/sap/m/TimePickerSliders.js +7 -5
  239. package/src/sap/m/Title.js +1 -1
  240. package/src/sap/m/TitlePropagationSupport.js +1 -1
  241. package/src/sap/m/ToggleButton.js +1 -1
  242. package/src/sap/m/Token.js +1 -1
  243. package/src/sap/m/Tokenizer.js +1 -1
  244. package/src/sap/m/Toolbar.js +1 -1
  245. package/src/sap/m/ToolbarLayoutData.js +1 -1
  246. package/src/sap/m/ToolbarSeparator.js +1 -1
  247. package/src/sap/m/ToolbarSpacer.js +1 -1
  248. package/src/sap/m/Tree.js +7 -1
  249. package/src/sap/m/TreeItemBase.js +1 -1
  250. package/src/sap/m/UploadCollection.js +1 -1
  251. package/src/sap/m/UploadCollectionItem.js +1 -1
  252. package/src/sap/m/UploadCollectionParameter.js +1 -1
  253. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  254. package/src/sap/m/VBox.js +10 -1
  255. package/src/sap/m/ValueStateHeader.js +1 -1
  256. package/src/sap/m/VariantManagement.js +77 -78
  257. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  258. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  259. package/src/sap/m/ViewSettingsDialog.js +1 -1
  260. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  261. package/src/sap/m/ViewSettingsItem.js +1 -1
  262. package/src/sap/m/VisibleItem.js +1 -1
  263. package/src/sap/m/WheelSlider.js +1 -1
  264. package/src/sap/m/WheelSliderContainer.js +1 -1
  265. package/src/sap/m/Wizard.js +1 -1
  266. package/src/sap/m/WizardProgressNavigator.js +1 -1
  267. package/src/sap/m/WizardStep.js +1 -1
  268. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  269. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  270. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  271. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  272. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  273. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  274. package/src/sap/m/delegate/DateNavigation.js +1 -1
  275. package/src/sap/m/designtime/PersistenceProvider.designtime.js +21 -0
  276. package/src/sap/m/library.js +25 -90
  277. package/src/sap/m/messagebundle.properties +15 -0
  278. package/src/sap/m/messagebundle_ar.properties +10 -0
  279. package/src/sap/m/messagebundle_bg.properties +10 -0
  280. package/src/sap/m/messagebundle_ca.properties +10 -0
  281. package/src/sap/m/messagebundle_cs.properties +11 -1
  282. package/src/sap/m/messagebundle_cy.properties +10 -0
  283. package/src/sap/m/messagebundle_da.properties +10 -0
  284. package/src/sap/m/messagebundle_de.properties +12 -2
  285. package/src/sap/m/messagebundle_el.properties +10 -0
  286. package/src/sap/m/messagebundle_en.properties +10 -0
  287. package/src/sap/m/messagebundle_en_GB.properties +10 -0
  288. package/src/sap/m/messagebundle_en_US_sappsd.properties +10 -0
  289. package/src/sap/m/messagebundle_en_US_saprigi.properties +10 -0
  290. package/src/sap/m/messagebundle_es.properties +10 -0
  291. package/src/sap/m/messagebundle_es_MX.properties +10 -0
  292. package/src/sap/m/messagebundle_et.properties +10 -0
  293. package/src/sap/m/messagebundle_fi.properties +10 -0
  294. package/src/sap/m/messagebundle_fr.properties +10 -0
  295. package/src/sap/m/messagebundle_fr_CA.properties +10 -0
  296. package/src/sap/m/messagebundle_hi.properties +10 -0
  297. package/src/sap/m/messagebundle_hr.properties +10 -0
  298. package/src/sap/m/messagebundle_hu.properties +10 -0
  299. package/src/sap/m/messagebundle_id.properties +10 -0
  300. package/src/sap/m/messagebundle_it.properties +13 -3
  301. package/src/sap/m/messagebundle_iw.properties +10 -0
  302. package/src/sap/m/messagebundle_ja.properties +11 -1
  303. package/src/sap/m/messagebundle_kk.properties +10 -0
  304. package/src/sap/m/messagebundle_ko.properties +11 -1
  305. package/src/sap/m/messagebundle_lt.properties +10 -0
  306. package/src/sap/m/messagebundle_lv.properties +10 -0
  307. package/src/sap/m/messagebundle_ms.properties +11 -1
  308. package/src/sap/m/messagebundle_nl.properties +10 -0
  309. package/src/sap/m/messagebundle_no.properties +10 -0
  310. package/src/sap/m/messagebundle_pl.properties +10 -0
  311. package/src/sap/m/messagebundle_pt.properties +10 -0
  312. package/src/sap/m/messagebundle_pt_PT.properties +10 -0
  313. package/src/sap/m/messagebundle_ro.properties +10 -0
  314. package/src/sap/m/messagebundle_ru.properties +10 -0
  315. package/src/sap/m/messagebundle_sh.properties +10 -0
  316. package/src/sap/m/messagebundle_sk.properties +10 -0
  317. package/src/sap/m/messagebundle_sl.properties +10 -0
  318. package/src/sap/m/messagebundle_sv.properties +10 -0
  319. package/src/sap/m/messagebundle_th.properties +10 -0
  320. package/src/sap/m/messagebundle_tr.properties +10 -0
  321. package/src/sap/m/messagebundle_uk.properties +10 -0
  322. package/src/sap/m/messagebundle_vi.properties +10 -0
  323. package/src/sap/m/messagebundle_zh_CN.properties +10 -0
  324. package/src/sap/m/messagebundle_zh_TW.properties +10 -0
  325. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  326. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  327. package/src/sap/m/p13n/BasePanel.js +1 -1
  328. package/src/sap/m/p13n/Container.js +1 -1
  329. package/src/sap/m/p13n/Engine.js +8 -4
  330. package/src/sap/m/p13n/GroupController.js +1 -1
  331. package/src/sap/m/p13n/GroupPanel.js +1 -1
  332. package/src/sap/m/p13n/PersistenceProvider.js +1 -1
  333. package/src/sap/m/p13n/Popup.js +7 -1
  334. package/src/sap/m/p13n/QueryPanel.js +1 -1
  335. package/src/sap/m/p13n/SelectionController.js +14 -13
  336. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  337. package/src/sap/m/p13n/SortController.js +1 -1
  338. package/src/sap/m/p13n/SortPanel.js +1 -1
  339. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  340. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  341. package/src/sap/m/p13n/modules/UIManager.js +19 -9
  342. package/src/sap/m/plugins/CellSelector.js +1 -1
  343. package/src/sap/m/plugins/ColumnResizer.js +9 -1
  344. package/src/sap/m/plugins/CopyProvider.js +122 -5
  345. package/src/sap/m/plugins/DataStateIndicator.js +14 -2
  346. package/src/sap/m/plugins/PasteProvider.js +1 -1
  347. package/src/sap/m/plugins/PluginBase.js +1 -1
  348. package/src/sap/m/semantic/AddAction.js +1 -1
  349. package/src/sap/m/semantic/CancelAction.js +1 -1
  350. package/src/sap/m/semantic/DeleteAction.js +1 -1
  351. package/src/sap/m/semantic/DetailPage.js +1 -1
  352. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  353. package/src/sap/m/semantic/EditAction.js +1 -1
  354. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  355. package/src/sap/m/semantic/FilterAction.js +1 -1
  356. package/src/sap/m/semantic/FilterSelect.js +1 -1
  357. package/src/sap/m/semantic/FlagAction.js +1 -1
  358. package/src/sap/m/semantic/ForwardAction.js +1 -1
  359. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  360. package/src/sap/m/semantic/GroupAction.js +1 -1
  361. package/src/sap/m/semantic/GroupSelect.js +1 -1
  362. package/src/sap/m/semantic/MainAction.js +1 -1
  363. package/src/sap/m/semantic/MasterPage.js +1 -1
  364. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  365. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  366. package/src/sap/m/semantic/NegativeAction.js +1 -1
  367. package/src/sap/m/semantic/OpenInAction.js +1 -1
  368. package/src/sap/m/semantic/PositiveAction.js +1 -1
  369. package/src/sap/m/semantic/PrintAction.js +1 -1
  370. package/src/sap/m/semantic/SaveAction.js +1 -1
  371. package/src/sap/m/semantic/Segment.js +1 -1
  372. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  373. package/src/sap/m/semantic/SemanticButton.js +1 -1
  374. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  375. package/src/sap/m/semantic/SemanticControl.js +1 -1
  376. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  377. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  378. package/src/sap/m/semantic/SemanticPage.js +1 -1
  379. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  380. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  381. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  382. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  383. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  384. package/src/sap/m/semantic/ShareMenu.js +1 -1
  385. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  386. package/src/sap/m/semantic/SortAction.js +1 -1
  387. package/src/sap/m/semantic/SortSelect.js +1 -1
  388. package/src/sap/m/table/Util.js +57 -3
  389. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  390. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  391. package/src/sap/m/table/columnmenu/Item.js +1 -1
  392. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  393. package/src/sap/m/table/columnmenu/Menu.js +14 -21
  394. package/src/sap/m/table/columnmenu/MenuRenderer.js +0 -6
  395. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  396. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  397. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  398. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  399. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  400. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  401. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  402. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  403. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  404. package/src/sap/m/themes/base/Button.less +4 -4
  405. package/src/sap/m/themes/base/FeedInput.less +1 -0
  406. package/src/sap/m/themes/base/GenericTile.less +5 -23
  407. package/src/sap/m/themes/base/IllustratedMessage.less +1 -1
  408. package/src/sap/m/themes/base/InputBase.less +27 -15
  409. package/src/sap/m/themes/base/MessageToast.less +7 -0
  410. package/src/sap/m/themes/base/ObjectHeader.less +20 -0
  411. package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
  412. package/src/sap/m/themes/base/SelectionDetailsItem.less +1 -1
  413. package/src/sap/m/themes/base/Table.less +0 -20
  414. package/src/sap/m/themes/base/TimePickerClocks.less +2 -1
  415. package/src/sap/m/themes/base/TimePickerInputs.less +2 -1
  416. package/src/sap/m/themes/base/Wizard.less +1 -1
  417. package/src/sap/m/upload/UploadSet.js +21 -18
  418. package/src/sap/m/upload/UploadSetItem.js +27 -25
  419. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  420. package/src/sap/m/CustomDynamicDateOption.js +0 -110
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  "sap/ui/unified/library",
34
34
  "sap/ui/core/Configuration",
35
35
  "sap/ui/unified/calendar/CalendarUtils",
36
- 'sap/ui/core/date/UI5Date',
36
+ "sap/ui/core/date/UI5Date",
37
37
  "sap/ui/core/date/CalendarWeekNumbering",
38
38
  "sap/ui/dom/jquery/cursorPos"
39
39
  ],
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  unifiedLibrary,
65
65
  Configuration,
66
66
  CalendarUtils,
67
- UI5Date,
67
+ UI5Date,
68
68
  CalendarWeekNumbering
69
69
  ) {
70
70
  "use strict";
@@ -104,21 +104,51 @@ sap.ui.define([
104
104
  *
105
105
  * The user can enter a date by:
106
106
  * <ul><li>Using the calendar that opens in a popup</li>
107
- * <li>Typing it in directly in the input field</li></ul>
107
+ * <li>Typing it directly in the input field</li></ul>
108
108
  *
109
109
  * On app level, there are two options to provide a date for the
110
110
  * <code>DatePicker</code> - as a string to the <code>value</code> property or as
111
- * a JavaScript Date object to the <code>dateValue</code> property (only one of
111
+ * a UI5Date or JavaScript Date object to the <code>dateValue</code> property (only one of
112
112
  * these properties should be used at a time):
113
113
  *
114
114
  * <ul><li>Use the <code>value</code> property if you want to bind the
115
115
  * <code>DatePicker</code> to a model using the <code>sap.ui.model.type.Date</code></li>
116
+ * @example <caption> binding the <code>value</code> property by using types </caption>
117
+ * new sap.ui.model.json.JSONModel({
118
+ * date: sap.ui.core.date.UI5Date.getInstance(2022,10,10,10,10,10)
119
+ * });
120
+ *
121
+ * new sap.m.DatePicker({
122
+ * value:{path:"/date",type:"sap.ui.model.type.Date"}
123
+ * });
124
+ *
116
125
  * <li>Use the <code>value</code> property if the date is provided as a string from
117
126
  * the backend or inside the app (for example, as ABAP type DATS field)</li>
127
+ * @example <caption> binding the <code>value</code> property by using types </caption>
128
+ * new sap.ui.model.json.JSONModel({date:'2022-11-10');
129
+ *
130
+ * new sap.m.DatePicker({
131
+ * value:{
132
+ * path:"/date",
133
+ * type:"sap.ui.model.type.Date",
134
+ * formatOptions:{
135
+ * source:{
136
+ * pattern:"yyyy-MM-dd"
137
+ * }
138
+ * }
139
+ * }
140
+ * });
141
+ *
142
+ * <b>Note:</b> There are multiple binding type choices, such as:
143
+ * sap.ui.model.type.Date
144
+ * sap.ui.model.odata.type.DateTime
145
+ * sap.ui.model.odata.type.DateTimeOffset
146
+ * See {@link sap.ui.model.type.Date}, {@link sap.ui.model.odata.type.DateTime} or {@link sap.ui.model.odata.type.DateTimeOffset}
147
+ *
118
148
  * <li>Use the <code>dateValue</code> property if the date is already provided as a
119
- * JavaScript Date object or you want to work with a JavaScript Date object.
149
+ * UI5Date or JavaScript Date object or you want to work with a UI5Date or JavaScript Date object.
120
150
  * Use <code>dateValue</code> as a helper property to easily obtain the day, month and year
121
- * of the chosen date. Although possible to bind it, the recommendation is not to do it.
151
+ * of the chosen date. Although it's possible to bind it, it's not recommended to do so.
122
152
  * When binding is needed, use <code>value</code> property instead</li></ul>
123
153
  *
124
154
  * <h3>Formatting</h3>
@@ -154,7 +184,7 @@ sap.ui.define([
154
184
  * the close event), or select Cancel.
155
185
  *
156
186
  * @extends sap.m.DateTimeField
157
- * @version 1.113.0
187
+ * @version 1.114.1
158
188
  *
159
189
  * @constructor
160
190
  * @public
@@ -185,7 +215,7 @@ sap.ui.define([
185
215
  secondaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance"},
186
216
 
187
217
  /**
188
- * Minimum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
218
+ * Minimum date that can be shown and selected in the <code>DatePicker</code>. This must be a UI5Date or JavaScript Date object.
189
219
  *
190
220
  * <b>Note:</b> If the <code>minDate</code> is set to be after the <code>maxDate</code>,
191
221
  * the <code>maxDate</code> and the <code>minDate</code> are switched before rendering.
@@ -194,7 +224,7 @@ sap.ui.define([
194
224
  minDate : {type : "object", group : "Misc", defaultValue : null},
195
225
 
196
226
  /**
197
- * Maximum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
227
+ * Maximum date that can be shown and selected in the <code>DatePicker</code>. This must be a UI5Date or JavaScript Date object.
198
228
  *
199
229
  * <b>Note:</b> If the <code>maxDate</code> is set to be before the <code>minDate</code>,
200
230
  * the <code>maxDate</code> and the <code>minDate</code> are switched before rendering.
@@ -349,11 +379,11 @@ sap.ui.define([
349
379
  */
350
380
 
351
381
  /**
352
- * The date as JavaScript Date object. This is independent from any formatter.
382
+ * The date instance. This is independent from any formatter.
353
383
  *
354
384
  * <b>Note:</b> If this property is used, the <code>value</code> property should not be changed from the caller.
355
385
  *
356
- * @returns {Date} the value of property <code>dateValue</code>
386
+ * @returns {Date|module:sap/ui/core/date/UI5Date} the value of property <code>dateValue</code>
357
387
  * @public
358
388
  * @name sap.m.DatePicker#getDateValue
359
389
  * @function
@@ -687,16 +717,16 @@ sap.ui.define([
687
717
  };
688
718
 
689
719
  /**
690
- * Set minimum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
720
+ * Set minimum date that can be shown and selected in the <code>DatePicker</code>. This must be a date instance.
691
721
  *
692
- * @param {Date} oDate A JavaScript Date
722
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
693
723
  * @returns {this} Reference to <code>this</code> for method chaining
694
724
  * @public
695
725
  */
696
726
  DatePicker.prototype.setMinDate = function(oDate) {
697
727
 
698
728
  if (!this._isValidDate(oDate)) {
699
- throw new Error("Date must be a JavaScript date object; " + this);
729
+ throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
700
730
  }
701
731
 
702
732
  if (deepEqual(this.getMinDate(), oDate)) {
@@ -735,16 +765,16 @@ sap.ui.define([
735
765
  };
736
766
 
737
767
  /**
738
- * Set maximum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
768
+ * Set maximum date that can be shown and selected in the <code>DatePicker</code>. This must be a date instance.
739
769
  *
740
- * @param {Date} oDate A JavaScript Date
770
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
741
771
  * @returns {this} Reference to <code>this</code> for method chaining
742
772
  * @public
743
773
  */
744
774
  DatePicker.prototype.setMaxDate = function(oDate) {
745
775
 
746
776
  if (!this._isValidDate(oDate)) {
747
- throw new Error("Date must be a JavaScript date object; " + this);
777
+ throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
748
778
  }
749
779
 
750
780
  if (deepEqual(this.getMaxDate(), oDate)) {
@@ -1255,7 +1285,7 @@ sap.ui.define([
1255
1285
  DatePicker.prototype._getVisibleDatesRange = function (oCalendar) {
1256
1286
  var aVisibleDays = oCalendar._getVisibleDays();
1257
1287
 
1258
- // Convert to local JavaScript Date
1288
+ // Convert to local date instance
1259
1289
  return new DateRange({
1260
1290
  startDate: aVisibleDays[0].toLocalJSDate(), // First visible date
1261
1291
  endDate: aVisibleDays[aVisibleDays.length - 1].toLocalJSDate() // Last visible date
@@ -88,19 +88,51 @@ sap.ui.define([
88
88
  *
89
89
  * The user can enter a date by:
90
90
  * <ul><li>Using the calendar that opens in a popup</li>
91
- * <li>Typing it in directly in the input field</li></ul>
91
+ * <li>Typing it directly in the input field</li></ul>
92
92
  *
93
93
  * On app level, there are two options to provide a date for the
94
94
  * <code>DateRangeSelection</code> - date range as a string to the
95
- * <code>value</code> property or JavaScript Date objects to the
95
+ * <code>value</code> property or UI5Date/JavaScript Date objects to the
96
96
  * <code>dateValue</code> and <code>secondDateValue</code> properties (only one of
97
97
  * these options should be used at a time):
98
98
  *
99
99
  * <ul><li>Use the <code>value</code> property if the date range is already provided as
100
100
  * a formatted string</li>
101
+ * @example <caption> binding the <code>value</code> property by using types </caption>
102
+ * new sap.ui.model.json.JSONModel({start:'2022-11-10', end:'2022-11-15'});
103
+ *
104
+ * new sap.m.DateRangeSelection({
105
+ * value: {
106
+ * type: "sap.ui.model.type.DateInterval",
107
+ * parts: [{
108
+ * type: "sap.ui.model.type.Date",
109
+ * path: "/start",
110
+ * formatOptions: {
111
+ * source: {
112
+ * pattern: "yyyy-MM-dd"
113
+ * }
114
+ * }
115
+ * },
116
+ * {
117
+ * type: "sap.ui.model.type.Date",
118
+ * path:"/end",
119
+ * formatOptions: {
120
+ * source: {
121
+ * pattern: "yyyy-MM-dd"
122
+ * }
123
+ * }}]
124
+ * }
125
+ * });
126
+ *
127
+ * <b>Note:</b> There are multiple binding type choices, such as:
128
+ * sap.ui.model.type.Date
129
+ * sap.ui.model.odata.type.DateTime
130
+ * sap.ui.model.odata.type.DateTimeOffset
131
+ * See {@link sap.ui.model.type.Date}, {@link sap.ui.model.odata.type.DateTime} or {@link sap.ui.model.odata.type.DateTimeOffset}
132
+ *
101
133
  * <li>Use the <code>dateValue</code> and <code>secondDateValue</code> properties
102
- * if the date range is already provided as JavaScript Date objects or you want to
103
- * work with JavaScript Date objects</li></ul>
134
+ * if the date range is already provided as UI5Date or JavaScript Date objects or you want to
135
+ * work with UI5Date or JavaScript Date objects</li></ul>
104
136
  *
105
137
  * <h3>Formatting</h3>
106
138
  *
@@ -131,8 +163,8 @@ sap.ui.define([
131
163
  * compact mode and provides a touch-friendly size in cozy mode.
132
164
  *
133
165
  * @extends sap.m.DatePicker
134
- * @version 1.113.0
135
- * @version 1.113.0
166
+ * @version 1.114.1
167
+ * @version 1.114.1
136
168
  *
137
169
  * @constructor
138
170
  * @public
@@ -152,7 +184,7 @@ sap.ui.define([
152
184
  delimiter : {type : "string", group : "Misc", defaultValue : '-'},
153
185
 
154
186
  /**
155
- * The end date of the range as JavaScript Date object. This is independent from any formatter.
187
+ * The end date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
156
188
  *
157
189
  * <b>Note:</b> If this property is used, the <code>value</code> property should not be changed from the caller.
158
190
  */
@@ -237,7 +269,8 @@ sap.ui.define([
237
269
  oBinding,
238
270
  oBindingType,
239
271
  oLocale,
240
- oLocaleData;
272
+ oLocaleData,
273
+ oFormatOptions;
241
274
 
242
275
  if (!sPlaceholder) {
243
276
  oBinding = this.getBinding("value");
@@ -250,7 +283,8 @@ sap.ui.define([
250
283
  if (oBindingType.oFormatOptions && oBindingType.oFormatOptions.format) {
251
284
  sPlaceholder = oLocaleData.getCustomDateTimePattern(oBindingType.oFormatOptions.format);
252
285
  } else {
253
- sPlaceholder = oLocaleData.getDatePattern("medium");
286
+ oFormatOptions = Object.assign({ interval: true, singleIntervalValue: true }, oBindingType.oFormatOptions);
287
+ return this._getDateFormatPlaceholderText(oFormatOptions);
254
288
  }
255
289
  } else {
256
290
  sPlaceholder = this.getDisplayFormat();
@@ -260,7 +294,8 @@ sap.ui.define([
260
294
  }
261
295
 
262
296
  if (this._checkStyle(sPlaceholder)) {
263
- sPlaceholder = oLocaleData.getDatePattern(sPlaceholder);
297
+ oFormatOptions = Object.assign({ interval: true, singleIntervalValue: true, intervalDelimiter: _getDelimiter.call(this) }, _getFormatter.call(this).oFormatOptions);
298
+ return this._getDateFormatPlaceholderText(oFormatOptions);
264
299
  }
265
300
  }
266
301
 
@@ -273,6 +308,10 @@ sap.ui.define([
273
308
  return sPlaceholder;
274
309
  };
275
310
 
311
+ DateRangeSelection.prototype._getDateFormatPlaceholderText = function (oFormatOptions) {
312
+ return DateFormat.getDateInstance(oFormatOptions).getPlaceholderText();
313
+ };
314
+
276
315
  // Overwrite DatePicker's setValue to support two date range processing
277
316
  /**
278
317
  * Getter for property <code>value</code>.
@@ -360,9 +399,9 @@ sap.ui.define([
360
399
  };
361
400
 
362
401
  /**
363
- * Converts the parameter to a Javascript Date, if it is a timestamp integer.
364
- * @param {Date|int} vBindingDate A timestamp or a Javascript Date
365
- * @returns {Date} A Javascript Date object
402
+ * Converts the parameter to a UI5Date or JavaScript Date, if it is a timestamp integer.
403
+ * @param {Date|module:sap/ui/core/date/UI5Date|int} vBindingDate A timestamp or a date instance
404
+ * @returns {Date|module:sap/ui/core/date/UI5Date} A date instance
366
405
  * @private
367
406
  */
368
407
  function _normalizeDateValue(vBindingDate) {
@@ -370,8 +409,8 @@ sap.ui.define([
370
409
  }
371
410
 
372
411
  /**
373
- * Converts the parameter to a timestamp integer, if it is a Javascript Date.
374
- * @param {Date|int} vBindingDate A timestamp or a Javascript Date
412
+ * Converts the parameter to a timestamp integer, if it is a UI5Date or JavaScript Date.
413
+ * @param {Date|module:sap/ui/core/date/UI5Date|int} vBindingDate A timestamp or a date instance
375
414
  * @returns {int} A timestamp integer
376
415
  * @private
377
416
  */
@@ -443,7 +482,7 @@ sap.ui.define([
443
482
 
444
483
  /**
445
484
  * Set the start date of the range.
446
- * @param {Date} oFrom A JavaScript Date
485
+ * @param {Date|module:sap/ui/core/date/UI5Date} oFrom A date instance
447
486
  * @returns {this} Reference to <code>this</code> for method chaining
448
487
  * @public
449
488
  * @deprecated since version 1.22.0, replaced by <code>dateValue</code> property of the {@link sap.m.DateTimeField}
@@ -465,7 +504,7 @@ sap.ui.define([
465
504
 
466
505
  /**
467
506
  * Set the end date of the range.
468
- * @param {Date} oTo A JavaScript Date
507
+ * @param {Date|module:sap/ui/core/date/UI5Date} oTo A date instance
469
508
  * @returns {this} Reference to <code>this</code> for method chaining
470
509
  * @public
471
510
  * @deprecated since version 1.22.0, replaced by <code>secondDateValue</code> property
@@ -477,7 +516,7 @@ sap.ui.define([
477
516
 
478
517
  /**
479
518
  * Get the end date of the range.
480
- * @returns {Date} the end date of the date range
519
+ * @returns {Date|module:sap/ui/core/date/UI5Date} the end date of the date range
481
520
  * @public
482
521
  * @deprecated since version 1.22.0, replaced by <code>secondDateValue</code> property
483
522
  */
@@ -490,11 +529,11 @@ sap.ui.define([
490
529
  /**
491
530
  * Getter for property <code>dateValue</code>.
492
531
  *
493
- * The start date of the range as JavaScript Date object. This is independent from any formatter.
532
+ * The start date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
494
533
  *
495
534
  * <b>Note:</b> If this property is used, the <code>value</code> property should not be changed from the caller.
496
535
  *
497
- * @returns {Date} the value of property <code>dateValue</code>
536
+ * @returns {Date|module:sap/ui/core/date/UI5Date} the value of property <code>dateValue</code>
498
537
  * @public
499
538
  * @name sap.m.DateRangeSelection#getDateValue
500
539
  * @function
@@ -503,18 +542,18 @@ sap.ui.define([
503
542
  /**
504
543
  * Setter for property <code>dateValue</code>.
505
544
  *
506
- * The start date of the range as JavaScript Date object. This is independent from any formatter.
545
+ * The start date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
507
546
  *
508
547
  * <b>Note:</b> If this property is used, the <code>value</code> property should not be changed from the caller.
509
548
  *
510
- * @param {Date} oDateValue New value for property <code>dateValue</code>
549
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDateValue New value for property <code>dateValue</code>
511
550
  * @returns {this} Reference to <code>this</code> for method chaining
512
551
  * @public
513
552
  */
514
553
  DateRangeSelection.prototype.setDateValue = function(oDateValue) {
515
554
 
516
555
  if (!this._isValidDate(oDateValue)) {
517
- throw new Error("Date must be a JavaScript date object; " + this);
556
+ throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
518
557
  }
519
558
 
520
559
  if (deepEqual(this.getDateValue(), oDateValue)) {
@@ -531,11 +570,11 @@ sap.ui.define([
531
570
  /**
532
571
  * Getter for property <code>secondDateValue</code>.
533
572
  *
534
- * The end date of the range as JavaScript Date object. This is independent from any formatter.
573
+ * The end date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
535
574
  *
536
575
  * <b>Note:</b> If this property is used, the <code>value</code> property should not be changed from the caller.
537
576
  *
538
- * @returns {Date} the value of property <code>secondDateValue</code>
577
+ * @returns {Date|module:sap/ui/core/date/UI5Date} the value of property <code>secondDateValue</code>
539
578
  * @public
540
579
  * @name sap.m.DateRangeSelection#getSecondDateValue
541
580
  * @function
@@ -544,18 +583,18 @@ sap.ui.define([
544
583
  /**
545
584
  * Setter for property <code>secondDateValue</code>.
546
585
  *
547
- * The start date of the range as JavaScript Date object. This is independent from any formatter.
586
+ * The start date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
548
587
  *
549
588
  * <b>Note:</b> If this property is used, the <code>value</code> property should not be changed from the caller.
550
589
  *
551
- * @param {Date} oSecondDateValue New value for property <code>dateValue</code>
590
+ * @param {Date|module:sap/ui/core/date/UI5Date} oSecondDateValue New value for property <code>dateValue</code>
552
591
  * @returns {this} Reference to <code>this</code> for method chaining
553
592
  * @public
554
593
  */
555
594
  DateRangeSelection.prototype.setSecondDateValue = function(oSecondDateValue) {
556
595
 
557
596
  if (!this._isValidDate(oSecondDateValue)) {
558
- throw new Error("Date must be a JavaScript date object; " + this);
597
+ throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
559
598
  }
560
599
 
561
600
  if (deepEqual(this.getSecondDateValue(), oSecondDateValue)) {
@@ -576,8 +615,8 @@ sap.ui.define([
576
615
  };
577
616
 
578
617
  /**
579
- * Set minimum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
580
- * @param {Date} oDate A JavaScript Date
618
+ * Set minimum date that can be shown and selected in the <code>DatePicker</code>. This must be a UI5Date or JavaScript Date object.
619
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
581
620
  * @returns {this} Reference to <code>this</code> for method chaining
582
621
  * @public
583
622
  */
@@ -597,8 +636,8 @@ sap.ui.define([
597
636
  };
598
637
 
599
638
  /**
600
- * Set maximum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
601
- * @param {Date} oDate A JavaScript Date
639
+ * Set maximum date that can be shown and selected in the <code>DatePicker</code>. This must be a UI5Date or JavaScript Date object.
640
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
602
641
  * @returns {this} Reference to <code>this</code> for method chaining
603
642
  * @public
604
643
  */
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.m.InputBase
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.113.0
68
+ * @version 1.114.1
69
69
  *
70
70
  * @constructor
71
71
  * @public
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  valueFormat: {type: "string", group: "Data", defaultValue: null},
89
89
 
90
90
  /**
91
- * Holds a reference to a JavaScript Date Object. The <code>value</code> (string)
91
+ * Holds a reference to a UI5Date or JavaScript Date object. The <code>value</code> (string)
92
92
  * property will be set according to it. Alternatively, if the <code>value</code>
93
93
  * and <code>valueFormat</code> pair properties are supplied instead,
94
94
  * the <code>dateValue</code> will be instantiated according to the parsed
@@ -100,7 +100,7 @@ sap.ui.define([
100
100
  dateValue: {type: "object", group: "Data", defaultValue: null},
101
101
 
102
102
  /**
103
- * Holds a reference to a JavaScript Date Object to define the initially focused
103
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially focused
104
104
  * date/time when the picker popup is opened.
105
105
  *
106
106
  * <b>Notes:</b>
@@ -108,7 +108,7 @@ sap.ui.define([
108
108
  * <li>Setting this property does not change the <code>value</code> property.</li>
109
109
  * <li>Depending on the context this property is used in ({@link sap.m.TimePicker},
110
110
  * {@link sap.m.DatePicker} or {@link sap.m.DateTimePicker}), it takes into account only the time part, only
111
- * the date part or both parts of the JavaScript Date Object.</li>
111
+ * the date part or both parts of the UI5Date or JavaScript Date object.</li>
112
112
  * </ul>
113
113
  * @since 1.54
114
114
  */
@@ -228,16 +228,16 @@ sap.ui.define([
228
228
  /**
229
229
  * Setter for property <code>dateValue</code>.
230
230
  *
231
- * The date and time in DateTimeField as JavaScript Date object.
231
+ * The date and time in DateTimeField as UI5Date or JavaScript Date object.
232
232
  *
233
- * @param {Date} oDate A JavaScript Date
233
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
234
234
  * @returns {this} Reference to <code>this</code> for method chaining
235
235
  * @public
236
236
  */
237
237
  DateTimeField.prototype.setDateValue = function (oDate) {
238
238
 
239
239
  if (!this._isValidDate(oDate)) {
240
- throw new Error("Date must be a JavaScript date object; " + this);
240
+ throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
241
241
  }
242
242
 
243
243
  if (deepEqual(this.getDateValue(), oDate)) {
@@ -378,18 +378,23 @@ sap.ui.define([
378
378
 
379
379
  DateTimeField.prototype._getPlaceholder = function() {
380
380
 
381
- var sPlaceholder = this.getPlaceholder();
381
+ var sPlaceholder = this.getPlaceholder(),
382
+ oBinding = this.getBinding("value"),
383
+ oBindingType = oBinding && oBinding.getType && oBinding.getType(),
384
+ bDisplayFormat;
382
385
 
383
386
  if (!sPlaceholder) {
384
- sPlaceholder = this._getDisplayFormatPattern();
385
-
386
- if (!sPlaceholder) {
387
- sPlaceholder = this._getDefaultDisplayStyle();
387
+ if (oBindingType instanceof SimpleDateType) {
388
+ return oBindingType.getPlaceholderText();
388
389
  }
389
390
 
390
- if (this._checkStyle(sPlaceholder)) {
391
- sPlaceholder = this._getLocaleBasedPattern(sPlaceholder);
391
+ if (oBindingType instanceof ODataType && oBindingType.oFormat) {
392
+ return oBindingType.oFormat.getPlaceholderText();
392
393
  }
394
+
395
+ bDisplayFormat = !!this._getDisplayFormatPattern();
396
+
397
+ sPlaceholder = this._getFormatter(bDisplayFormat).getPlaceholderText();
393
398
  }
394
399
 
395
400
  return sPlaceholder;
@@ -19,7 +19,8 @@ sap.ui.define([
19
19
  'sap/ui/core/library',
20
20
  'sap/ui/Device',
21
21
  "./DateTimeInputRenderer",
22
- "sap/ui/core/Configuration"
22
+ "sap/ui/core/Configuration",
23
+ "sap/ui/core/date/UI5Date"
23
24
  ],
24
25
  function(
25
26
  jQuery,
@@ -35,7 +36,8 @@ function(
35
36
  coreLibrary,
36
37
  Device,
37
38
  DateTimeInputRenderer,
38
- Configuration
39
+ Configuration,
40
+ UI5Date
39
41
  ) {
40
42
  "use strict";
41
43
 
@@ -64,7 +66,7 @@ function(
64
66
  * @extends sap.ui.core.Control
65
67
  *
66
68
  * @author SAP SE
67
- * @version 1.113.0
69
+ * @version 1.114.1
68
70
  *
69
71
  * @constructor
70
72
  * @public
@@ -361,7 +363,7 @@ function(
361
363
 
362
364
  sValue = this.validateProperty("value", sValue);
363
365
  if (sValue.toLowerCase() == "now") {
364
- return this.setDateValue(new Date());
366
+ return this.setDateValue(UI5Date.getInstance());
365
367
  }
366
368
 
367
369
  if (sValue === this.getValue()) {
@@ -99,19 +99,50 @@ sap.ui.define([
99
99
  *
100
100
  * On app level, there are two options to provide a date for the
101
101
  * <code>DateTimePicker</code> - as a string to the <code>value</code> property
102
- * or as a JavaScript Date object to the <code>dateValue</code> property (only one
102
+ * or as a UI5Date or JavaScript Date object to the <code>dateValue</code> property (only one
103
103
  * of these properties should be used at a time):
104
104
  *
105
105
  * <ul><li>Use the <code>value</code> property if you want to bind the
106
106
  * <code>DateTimePicker</code> to a model using the
107
107
  * <code>sap.ui.model.type.DateTime</code></li>
108
+ * @example <caption> binding the <code>value</code> property by using types </caption>
109
+ * new sap.ui.model.json.JSONModel({date: sap.ui.core.date.UI5Date.getInstance(2022,10,10,12,10,10)});
110
+ *
111
+ * new sap.m.DateTimePicker({
112
+ * value: {
113
+ * type: "sap.ui.model.type.DateTime",
114
+ * path: "/date"
115
+ * }
116
+ * });
117
+ *
108
118
  * <li>Use the <code>value</code> property if the date is provided as a string from
109
119
  * the backend or inside the app (for example, as ABAP type DATS field)</li>
120
+ * @example <caption> binding the <code>value</code> property by using types </caption>
121
+ * new sap.ui.model.json.JSONModel({date:"2022-11-10-12-10-10"});
122
+ *
123
+ * new sap.m.DateTimePicker({
124
+ * value: {
125
+ * type: "sap.ui.model.type.DateTime",
126
+ * path: "/date",
127
+ * formatOptions: {
128
+ * source: {
129
+ * pattern: "yyyy-MM-dd-HH-mm-ss"
130
+ * }
131
+ * }
132
+ * }
133
+ * });
134
+ *
135
+ * <b>Note:</b> There are multiple binding type choices, such as:
136
+ * sap.ui.model.type.Date
137
+ * sap.ui.model.odata.type.DateTime
138
+ * sap.ui.model.odata.type.DateTimeOffset
139
+ * sap.ui.model.odata.type.DateTimeWithTimezone
140
+ * See {@link sap.ui.model.type.Date}, {@link sap.ui.model.odata.type.DateTime}, {@link sap.ui.model.odata.type.DateTimeOffset} or {@link sap.ui.model.odata.type.DateTimeWithTimezone}
141
+ *
110
142
  * <li>Use the <code>dateValue</code> property if the date is already provided as a
111
- * JavaScript Date object or you want to work with a JavaScript Date object.
143
+ * UI5Date or JavaScript Date object or you want to work with a UI5Date or JavaScript Date object.
112
144
  * Use <code>dateValue</code> as a helper property to easily obtain the day, month, year,
113
- * hours, minutes and seconds of the chosen date and time. Although possible to bind it,
114
- * the recommendation is not to do it.
145
+ * hours, minutes and seconds of the chosen date and time. Although it's possible to bind it, it's not recommended to do so.
115
146
  * When binding is needed, use <code>value</code> property instead</li></ul>
116
147
  *
117
148
  * <h3>Formatting</h3>
@@ -145,7 +176,7 @@ sap.ui.define([
145
176
  * mobile devices, it opens in full screen.
146
177
  *
147
178
  * @extends sap.m.DatePicker
148
- * @version 1.113.0
179
+ * @version 1.114.1
149
180
  *
150
181
  * @constructor
151
182
  * @public
@@ -332,7 +363,7 @@ sap.ui.define([
332
363
  });
333
364
  oSwitcher.attachSelect(this._handleSelect, this);
334
365
 
335
- this.setAggregation("_switcher", oSwitcher, true);
366
+ this.setAggregation("_switcher", oSwitcher);
336
367
  }
337
368
 
338
369
  if (Device.system.phone || jQuery('html').hasClass("sapUiMedia-Std-Phone") || this.getForcePhoneView()) {
@@ -579,9 +610,9 @@ sap.ui.define([
579
610
  };
580
611
 
581
612
  /**
582
- * Set minimum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a JavaScript date object.
613
+ * Set minimum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a UI5Date or JavaScript Date object.
583
614
  *
584
- * @param {Date} oDate A JavaScript Date
615
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
585
616
  * @returns {this} Reference to <code>this</code> for method chaining
586
617
  * @public
587
618
  */
@@ -595,9 +626,9 @@ sap.ui.define([
595
626
  };
596
627
 
597
628
  /**
598
- * Set maximum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a JavaScript date object.
629
+ * Set maximum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a UI5Date or JavaScript Date object.
599
630
  *
600
- * @param {Date} oDate A JavaScript Date
631
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
601
632
  * @returns {this} Reference to <code>this</code> for method chaining
602
633
  * @public
603
634
  */
@@ -1100,7 +1131,7 @@ sap.ui.define([
1100
1131
  * @name sap.m.DateTimePicker#getDateValue
1101
1132
  * @function
1102
1133
  * @public
1103
- * @returns {Date} A JavaScript Date
1134
+ * @returns {Date|module:sap/ui/core/date/UI5Date} date instance
1104
1135
  * @since 1.102
1105
1136
  */
1106
1137
 
@@ -167,7 +167,7 @@ function(
167
167
  *
168
168
  * @implements sap.ui.core.PopupInterface
169
169
  * @author SAP SE
170
- * @version 1.113.0
170
+ * @version 1.114.1
171
171
  *
172
172
  * @constructor
173
173
  * @public
@@ -640,7 +640,7 @@ function(
640
640
 
641
641
  // title alignment
642
642
  if (oHeader && oHeader.setTitleAlignment) {
643
- oHeader.setProperty("titleAlignment", this.getTitleAlignment(), true);
643
+ oHeader.setTitleAlignment(this.getTitleAlignment());
644
644
  }
645
645
 
646
646
  if (oHeader && this._getTitles(oHeader).length === 0) {