@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
@@ -27,6 +27,7 @@ sap.ui.define([
27
27
  'sap/ui/core/IconPool',
28
28
  'sap/ui/qunit/utils/waitForThemeApplied',
29
29
  'sap/ui/core/Configuration',
30
+ 'sap/ui/core/date/UI5Date',
30
31
  'sap/ui/dom/jquery/cursorPos' // provides jQuery.fn.cursorPos
31
32
  ], function(
32
33
  jQuery,
@@ -49,7 +50,8 @@ sap.ui.define([
49
50
  Button,
50
51
  IconPool,
51
52
  waitForThemeApplied,
52
- Configuration
53
+ Configuration,
54
+ UI5Date
53
55
  ) {
54
56
  "use strict";
55
57
 
@@ -143,7 +145,7 @@ sap.ui.define([
143
145
  * mobile devices, it opens in full screen.
144
146
  *
145
147
  * @extends sap.m.DatePicker
146
- * @version 1.110.0
148
+ * @version 1.111.0
147
149
  *
148
150
  * @constructor
149
151
  * @public
@@ -356,7 +358,7 @@ sap.ui.define([
356
358
  }
357
359
 
358
360
  if (sKey === "Cal") {
359
- oCalendar.$().css("display", "flex");
361
+ oCalendar.$().css("display", "");
360
362
  oClocks.$().css("display", "none");
361
363
  oCalendar.getFocusDomRef() && oCalendar.getFocusDomRef().focus();
362
364
  } else {
@@ -389,66 +391,32 @@ sap.ui.define([
389
391
  this._bOnlyCalendar = false;
390
392
  };
391
393
 
392
- DateTimePicker.prototype._formatValueAndUpdateOutput = function(oDate, sValue) {
393
- delete this._prefferedValue;
394
-
395
- // convert to output
396
- var sOutputValue = oDate ? this._formatValue(oDate) : sValue;
397
- if (!oDate) {
398
- var sFallbackValue = this._fallbackParse(sValue);
399
- if (typeof sFallbackValue === "string") {
400
- this._bValid = true;
401
- this._prefferedValue = sFallbackValue;
402
- sOutputValue = sFallbackValue;
403
- }
404
- }
405
-
406
- if (!this.getDomRef()) {
407
- return;
408
- }
409
-
410
- if (this._bPreferUserInteraction) {
411
- // Handle the value concurrency before setting the value property of the control,
412
- // in order to distinguish whether the user only focused the input field or typed in it
413
- this.handleInputValueConcurrency(sOutputValue);
414
- } else if (this._$input.val() !== sOutputValue) {
415
- // update the DOM value when necessary
416
- // otherwise cursor can go to the end of text unnecessarily
417
- this._$input.val(sOutputValue);
418
- this._curpos = this._$input.cursorPos();
419
- }
420
- };
421
-
422
394
  DateTimePicker.prototype.setTimezone = function(sTimezone) {
423
395
  var oCurrentDateValue,
424
396
  sFormattedValue,
425
397
  oNewDateValue;
426
398
 
399
+
427
400
  if (this.getTimezone() === sTimezone) {
428
401
  return this;
429
402
  }
430
-
431
- oCurrentDateValue = this.getDateValue() || this._parseValue(this.getValue(), false);
432
- sFormattedValue = this._formatValue(oCurrentDateValue, false);
433
-
434
403
  this.setProperty("timezone", sTimezone);
435
404
 
436
- this._oDisplayFormat = null;
437
- this._oValueFormat = null;
438
- this._oDisplayFormatWithTimezone = null;
439
- this._oValueFormatWithTimezone = null;
440
-
441
405
  if (this._oTimezonePopup) {
442
406
  this._oTimezonePopup.setTitle(this._getTranslatedTimezone(true));
443
407
  }
444
408
 
445
- // the dateValue should be adjusted, and the value re-formatted
446
- oNewDateValue = this._parseValue(sFormattedValue, true);
447
- if (oNewDateValue) {
448
- this.setProperty("dateValue", oNewDateValue);
449
- this.setProperty("value", this._formatValue(oNewDateValue, true));
409
+ if (this._isTimezoneBinding()){
410
+ oCurrentDateValue = this.getDateValue() || this._parseValue(this.getValue(), false);
411
+ sFormattedValue = this._formatValue(oCurrentDateValue, false);
412
+ oNewDateValue = this._parseValue(sFormattedValue, true);
413
+ if (oNewDateValue) {
414
+ this.setProperty("dateValue", oNewDateValue);
415
+ this.setProperty("value", this._formatValue(oNewDateValue, true));
416
+ }
450
417
  }
451
418
 
419
+
452
420
  return this;
453
421
  };
454
422
 
@@ -479,6 +447,57 @@ sap.ui.define([
479
447
  }
480
448
  };
481
449
 
450
+ DateTimePicker.prototype._formatValueAndUpdateOutput = function(oDate, sValue) {
451
+ delete this._prefferedValue;
452
+ // convert to output
453
+ var sOutputValue = oDate ? this._formatValue(oDate) : sValue;
454
+ if (!oDate) {
455
+ var sFallbackValue = this._fallbackParse(sValue);
456
+ if (typeof sFallbackValue === "string") {
457
+ this._bValid = true;
458
+ this._prefferedValue = sFallbackValue;
459
+ sOutputValue = sFallbackValue;
460
+ }
461
+ }
462
+
463
+ if (!this.getDomRef()) {
464
+ return;
465
+ }
466
+
467
+ if (this._bPreferUserInteraction) {
468
+ // Handle the value concurrency before setting the value property of the control,
469
+ // in order to distinguish whether the user only focused the input field or typed in it
470
+ this.handleInputValueConcurrency(sOutputValue);
471
+ } else if (this._$input.val() !== sOutputValue) {
472
+ // update the DOM value when necessary
473
+ // otherwise cursor can go to the end of text unnecessarily
474
+ this._$input.val(sOutputValue);
475
+ this._curpos = this._$input.cursorPos();
476
+ }
477
+ };
478
+
479
+ /**
480
+ * Tries to parse the value to see if it is a timezone only string.
481
+ * @param {string} sValue A value string
482
+ * @return {string|null} An empty string indicating success or null
483
+ * @private
484
+ */
485
+ DateTimePicker.prototype._fallbackParse = function(sValue) {
486
+ return this._getFallbackParser().parse(sValue) ? "" : null;
487
+ };
488
+
489
+ DateTimePicker.prototype._getFallbackParser = function() {
490
+ if (!this._fallbackParser) {
491
+ this._fallbackParser = DateFormat.getDateTimeWithTimezoneInstance({
492
+ showDate: false,
493
+ showTime: false,
494
+ showTimezone: true
495
+ });
496
+ }
497
+
498
+ return this._fallbackParser;
499
+ };
500
+
482
501
  /**
483
502
  * Apply the correct icon to the used Date control
484
503
  * @protected
@@ -502,7 +521,6 @@ sap.ui.define([
502
521
  };
503
522
 
504
523
  DateTimePicker.prototype.setDisplayFormat = function(sDisplayFormat) {
505
- this._oDisplayFormatWithTimezone = null;
506
524
  DatePicker.prototype.setDisplayFormat.apply(this, arguments);
507
525
 
508
526
  if (this._oClocks) {
@@ -514,11 +532,6 @@ sap.ui.define([
514
532
 
515
533
  };
516
534
 
517
- DateTimePicker.prototype.setValueFormat = function(sValueFormat) {
518
- this._oValueFormatWithTimezone = null;
519
- return DatePicker.prototype.setValueFormat.apply(this, arguments);
520
- };
521
-
522
535
  DateTimePicker.prototype.setMinutesStep = function(iMinutesStep) {
523
536
 
524
537
  this.setProperty('minutesStep', iMinutesStep, true);
@@ -607,6 +620,11 @@ sap.ui.define([
607
620
  return this._oTimezonePopup;
608
621
  };
609
622
 
623
+ DateTimePicker.prototype._getFormatInstance = function(oArguments){
624
+
625
+ return DateFormat.getDateTimeInstance(oArguments);
626
+ };
627
+
610
628
  DateTimePicker.prototype._togglePopoverOpen = function(oPopover, oOpenerDomRef) {
611
629
  if (oPopover.isOpen()) {
612
630
  oPopover.close();
@@ -615,7 +633,7 @@ sap.ui.define([
615
633
  }
616
634
  };
617
635
 
618
- DateTimePicker.prototype._getFormatter = function(bDisplayFormat) {
636
+ DateTimePicker.prototype._getFormatterWithTimezoneInstance = function(bDisplayFormat) {
619
637
  var sCacheName = this._getTimezoneFormatterCacheName(bDisplayFormat);
620
638
 
621
639
  if (!this[sCacheName]) {
@@ -684,6 +702,10 @@ sap.ui.define([
684
702
  oFormatOptions[this._checkStyle(sFormat) ? "style" : "pattern"] = sFormat;
685
703
  }
686
704
 
705
+ // Explicit replacement of the values because these two option are not compatible with the control
706
+ oFormatOptions.showDate = true;
707
+ oFormatOptions.showTime = true;
708
+
687
709
  return oFormatOptions;
688
710
  };
689
711
 
@@ -778,25 +800,20 @@ sap.ui.define([
778
800
 
779
801
  };
780
802
 
781
- DateTimePicker.prototype._parseValue = function(sValue, bDisplayFormat, sTimezone) {
803
+ DateTimePicker.prototype._isTimezoneBinding = function() {
782
804
  var oBinding = this.getBinding("value") || this.getBinding("dateValue"),
783
- oBindingType = oBinding && oBinding.getType(),
784
- aDateWithTimezone;
805
+ oBindingType = oBinding && oBinding.getType();
785
806
 
786
- if (oBindingType && oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"])) {
787
- var aCurrentBindingValues = oBinding.getCurrentValues().slice(0);
788
- aCurrentBindingValues[1] = sTimezone || this._getTimezone(true);
789
- return oBindingType.parseValue(sValue, "string", aCurrentBindingValues)[0];
790
- }
807
+ return oBindingType && oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"]);
808
+ };
791
809
 
792
- aDateWithTimezone = this._getFormatter(bDisplayFormat)
793
- .parse(sValue, sTimezone || this._getTimezone(true));
810
+ DateTimePicker.prototype._parseValue = function(sValue, bDisplayFormat, sTimezone) {
794
811
 
795
- if (!aDateWithTimezone || !aDateWithTimezone.length) {
796
- return null;
812
+ if (this._isTimezoneBinding()) {
813
+ return this._getFormatterWithTimezoneInstance().parse(sValue, sTimezone || this._getTimezone(true))[0];
797
814
  }
798
815
 
799
- return aDateWithTimezone[0];
816
+ return DatePicker.prototype._parseValue.apply(this, arguments);
800
817
  };
801
818
 
802
819
  DateTimePicker.prototype._formatValue = function(oDate, bValueFormat, sTimezone) {
@@ -804,32 +821,17 @@ sap.ui.define([
804
821
  return "";
805
822
  }
806
823
 
807
- return this._getFormatter(!bValueFormat).format(oDate, sTimezone || this._getTimezone(true));
808
- };
809
-
810
- /**
811
- * Tries to parse the value to see if it is a timezone only string.
812
- * @param {string} sValue A value string
813
- * @returns {string|null} An empty string indicating success or null
814
- * @private
815
- */
816
- DateTimePicker.prototype._fallbackParse = function(sValue) {
817
- return this._getFallbackParser().parse(sValue) ? "" : null;
818
- };
819
-
820
- DateTimePicker.prototype._getFallbackParser = function() {
821
- if (!this._fallbackParser) {
822
- this._fallbackParser = DateFormat.getDateTimeWithTimezoneInstance({
823
- showDate: false,
824
- showTime: false,
825
- showTimezone: true
826
- });
824
+ if (this._isTimezoneBinding()){
825
+ return this._getFormatterWithTimezoneInstance(!bValueFormat).format(oDate, sTimezone || this._getTimezone(true));
827
826
  }
828
827
 
829
- return this._fallbackParser;
828
+ return DatePicker.prototype._formatValue.apply(this, arguments);
830
829
  };
831
830
 
832
831
  DateTimePicker.prototype._getPickerParser = function() {
832
+ if (!this._isTimezoneBinding()){
833
+ return DatePicker.prototype._getFormatter.apply(this, arguments);
834
+ }
833
835
  if (!this._clocksParser) {
834
836
  this._clocksParser = DateFormat.getDateTimeWithTimezoneInstance({
835
837
  showTimezone: false,
@@ -979,13 +981,13 @@ sap.ui.define([
979
981
  sFormattedDate;
980
982
 
981
983
  if (oDate) {
982
- oDate = new Date(oDate.getTime());
984
+ oDate = UI5Date.getInstance(oDate.getTime());
983
985
  this._oOKButton.setEnabled(true);
984
986
  } else {
985
987
  bDateFound = false;
986
988
  oDate = this.getInitialFocusedDateValue();
987
989
  if (!oDate) {
988
- oDate = new Date();
990
+ oDate = UI5Date.getInstance();
989
991
  this._oCalendar.removeAllSelectedDates();
990
992
  }
991
993
  var iMaxTimeMillis = this._oMaxDate.getTime();
@@ -996,10 +998,11 @@ sap.ui.define([
996
998
  this._oOKButton.setEnabled(false);
997
999
  }
998
1000
 
999
- // convert the date to local date for the calendar and the clocks
1000
- sFormattedDate = this._getPickerParser().format(oDate, this._getTimezone(true));
1001
- oDate = this._getPickerParser().parse(sFormattedDate, TimezoneUtil.getLocalTimezone())[0];
1002
-
1001
+ // convert the date to local date for the calendar and the clocks if binding is used
1002
+ if (this._isTimezoneBinding()) {
1003
+ sFormattedDate = this._getPickerParser().format(oDate, this._getTimezone(true));
1004
+ oDate = this._getPickerParser().parse(sFormattedDate, TimezoneUtil.getLocalTimezone())[0];
1005
+ }
1003
1006
  this._oCalendar.focusDate(oDate);
1004
1007
 
1005
1008
  if (bDateFound) {
@@ -1014,7 +1017,9 @@ sap.ui.define([
1014
1017
  DateTimePicker.prototype._getSelectedDate = function(){
1015
1018
  var oDate = DatePicker.prototype._getSelectedDate.apply(this, arguments),
1016
1019
  oDateTime,
1017
- sPattern;
1020
+ sPattern,
1021
+ sFormattedDate,
1022
+ oParts;
1018
1023
 
1019
1024
  if (oDate) {
1020
1025
  oDateTime = this._oClocks.getTimeValues();
@@ -1031,12 +1036,17 @@ sap.ui.define([
1031
1036
  }
1032
1037
 
1033
1038
  if (oDate.getTime() < this._oMinDate.getTime()) {
1034
- oDate = new Date(this._oMinDate.getTime());
1039
+ oDate = UI5Date.getInstance(this._oMinDate.getTime());
1035
1040
  } else if (oDate.getTime() > this._oMaxDate.getTime()){
1036
- oDate = new Date(this._oMaxDate.getTime());
1041
+ oDate = UI5Date.getInstance(this._oMaxDate.getTime());
1037
1042
  }
1038
1043
  }
1039
1044
 
1045
+ if (this._isTimezoneBinding()) {
1046
+ sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
1047
+ oParts = this._getPickerParser().parse(sFormattedDate, this._getTimezone(true));
1048
+ oDate = oParts && oParts[0];
1049
+ }
1040
1050
  return oDate;
1041
1051
  };
1042
1052
 
@@ -1093,7 +1103,7 @@ sap.ui.define([
1093
1103
  } else {
1094
1104
  oSwitcher.setVisible(false);
1095
1105
  oClocks.$().css("display", "");
1096
- oCalendar.$().css("display", "flex");
1106
+ oCalendar.$().css("display", "");
1097
1107
  }
1098
1108
  };
1099
1109
 
@@ -3,8 +3,20 @@
3
3
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRenderer', 'sap/ui/core/library'],
7
- function(Renderer, DatePickerRenderer, InputBaseRenderer, coreLibrary) {
6
+ sap.ui.define([
7
+ 'sap/ui/core/Renderer',
8
+ './DatePickerRenderer',
9
+ './InputBaseRenderer',
10
+ 'sap/ui/core/library',
11
+ 'sap/ui/core/date/UI5Date'
12
+ ],
13
+ function(
14
+ Renderer,
15
+ DatePickerRenderer,
16
+ InputBaseRenderer,
17
+ coreLibrary,
18
+ UI5Date
19
+ ) {
8
20
  "use strict";
9
21
 
10
22
  /**
@@ -61,9 +73,7 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
61
73
  oRm.openEnd();
62
74
 
63
75
  // try to choose the date that is the longest when formatted
64
- oRm.text(oControl._getFormatter(true).format(
65
- new Date(Date.UTC(2000, 10, 20, 10, 10, 10)),
66
- "UTC"));
76
+ oRm.text(oControl._getFormatter(true).format(UI5Date.getInstance(2000, 10, 20, 10, 10, 10)));
67
77
  oRm.close("span");
68
78
  };
69
79
 
@@ -167,7 +167,7 @@ function(
167
167
  *
168
168
  * @implements sap.ui.core.PopupInterface
169
169
  * @author SAP SE
170
- * @version 1.110.0
170
+ * @version 1.111.0
171
171
  *
172
172
  * @constructor
173
173
  * @public
@@ -482,7 +482,7 @@ function(
482
482
  header: {suffix: "header"},
483
483
  subHeader: {selector: ".sapMDialogSubHeader .sapMIBar"},
484
484
  content: {selector: ".sapMDialogScrollCont"},
485
- footer: {suffix: "footer"}
485
+ footer: {selector: ".sapMDialogFooter .sapMIBar"}
486
486
  });
487
487
 
488
488
  // Add title propagation support
@@ -1249,6 +1249,10 @@ function(
1249
1249
  $dialogContent.css({"padding-right" : ""});
1250
1250
  this._iLastWidthAndHeightWithScroll = null;
1251
1251
  }
1252
+ } else if (!this._hasVerticalScrollbar() || !bMinWidth) {
1253
+ $dialog.removeClass("sapMDialogVerticalScrollIncluded");
1254
+ $dialogContent.css({"padding-right" : ""});
1255
+ this._iLastWidthAndHeightWithScroll = null;
1252
1256
  }
1253
1257
  }
1254
1258
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.110.0
33
+ * @version 1.111.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @abstract
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.110.0
30
+ * @version 1.111.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.model.SimpleType
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.110.0
39
+ * @version 1.111.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -70,8 +70,8 @@ sap.ui.define([
70
70
  * Only formats the 'values' part of the given object. The dates are expected as 'timestamp' numbers
71
71
  * and are converted to Javascript Date objects. The numbers and strings are left untouched.
72
72
  *
73
- * @param {object} oValue The value to be formatted
74
- * @return {object} A value object in a similar form
73
+ * @param {{operator: string, values: Array<number|string>}} oValue The value to be formatted
74
+ * @return {{operator: string, values: Array<Date|number|string>}} A value object in a similar form
75
75
  *
76
76
  * @public
77
77
  */
@@ -105,8 +105,8 @@ sap.ui.define([
105
105
  * and are converted to timestamps. The numbers and strings are left untouched.
106
106
  * Special values with operator: "PARSEERROR" generate a parse exception.
107
107
  *
108
- * @param {object} oValue The value to be parsed
109
- * @return {object} A value object in a similar form
108
+ * @param {{operator: string, values: Array<Date|number|string>}} oValue The value to be parsed
109
+ * @return {{operator: string, values: Array<number|string|null>}} A value object in a similar form
110
110
  *
111
111
  * @public
112
112
  */
@@ -43,11 +43,15 @@ sap.ui.define([
43
43
  "DATETIME": ["datetime"],
44
44
  "DATERANGE": ["date", "date"],
45
45
  "DATETIMERANGE": ["datetime", "datetime"],
46
+ "LASTMINUTES": ["int"],
47
+ "LASTHOURS": ["int"],
46
48
  "LASTDAYS": ["int"],
47
49
  "LASTWEEKS": ["int"],
48
50
  "LASTMONTHS": ["int"],
49
51
  "LASTQUARTERS": ["int"],
50
52
  "LASTYEARS": ["int"],
53
+ "NEXTMINUTES": ["int"],
54
+ "NEXTHOURS": ["int"],
51
55
  "NEXTDAYS": ["int"],
52
56
  "NEXTWEEKS": ["int"],
53
57
  "NEXTMONTHS": ["int"],
@@ -98,11 +102,24 @@ sap.ui.define([
98
102
  _dynamicParameterIndexes[sKey] = aParams;
99
103
  }
100
104
 
105
+ /**
106
+ * @typedef {object} sap.m.DynamicDateFormatOptions
107
+ * @description Object which defines the format options
108
+ *
109
+ * @param {sap.ui.core.Locale} [oFormatOptions.oLocale] Formatter locale
110
+ * @param {sap.ui.core.LocaleData} [oFormatOptions.oLocaleData] Locale-specific data, such as, date formats, number formats, and currencies
111
+ * @param {Object<string, object>} [oFormatOptions.oOriginalFormatOptions] Default format options
112
+ *
113
+ * @public
114
+ * @since 1.111
115
+ */
116
+
101
117
  /**
102
118
  * Get an instance of the DynamicDateFormat which can be used for formatting.
103
119
  *
104
- * @param {object} [oFormatOptions] Object which defines the format options
120
+ * @param {sap.m.DynamicDateFormatOptions} [oFormatOptions] Object which defines the format options
105
121
  * @param {sap.ui.core.Locale} [oLocale] Locale to get the formatter for
122
+ * @ui5-omissible-params oFormatOptions
106
123
  * @return {sap.m.DynamicDateFormat} Instance of the DynamicDateFormat
107
124
  * @public
108
125
  *
@@ -122,7 +139,7 @@ sap.ui.define([
122
139
  /**
123
140
  * Create an instance of the DynamicDateFormat.
124
141
  *
125
- * @param {object} [oFormatOptions] Object which defines the format options
142
+ * @param {sap.m.DynamicDateFormatOptions} [oFormatOptions] Object which defines the format options
126
143
  * @param {sap.ui.core.Locale} [oLocale] Locale to get the formatter for
127
144
  * @return {sap.m.DynamicDateFormat} Instance of the DynamicDateFormat
128
145
  * @private
@@ -168,7 +185,7 @@ sap.ui.define([
168
185
  /**
169
186
  * Formats a list according to the given format options.
170
187
  *
171
- * @param {object} oObj The value to format
188
+ * @param {sap.m.DynamicDateRangeValue} oObj The value to format
172
189
  * @param {boolean} bSkipCustomFormatting If set to <code>true</code> the formatter does not format to the equivalent user-friendly string. Instead, the formatter uses the specified option key and parameters.
173
190
  * @return {string} The formatted output value.
174
191
  * @public
@@ -241,7 +258,7 @@ sap.ui.define([
241
258
  *
242
259
  * @param {string} sValue String value to be parsed
243
260
  * @param {string} sKey String value of the key we will parse for
244
- * @return {object} The parsed output value
261
+ * @return {sap.m.DynamicDateRangeValue[]} The parsed output value
245
262
  * @public
246
263
  */
247
264
  DynamicDateFormat.prototype.parse = function(sValue, sKey) {
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Element
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.110.0
41
+ * @version 1.111.0
42
42
  *
43
43
  * @public
44
44
  * @since 1.92
@@ -96,7 +96,7 @@ sap.ui.define([
96
96
  * getValueHelpUITypes is not enough to define the UI.
97
97
  *
98
98
  * @param {sap.m.DynamicDateRange} oControl The control instance
99
- * @param {function} fnControlsUpdated A callback invoked when any of the created controls updates its value
99
+ * @param {function(sap.ui.base.Event)} fnControlsUpdated A callback invoked when any of the created controls updates its value
100
100
  * @returns {sap.ui.core.Control[]} An array with the option's value help UI controls
101
101
  * @public
102
102
  */
@@ -189,10 +189,10 @@ sap.ui.define([
189
189
 
190
190
  /**
191
191
  * Gets the value help controls' output values and
192
- * converts them to a DynamicDateRange value.
192
+ * converts them to a <code>sap.m.DynamicDateRangeValue</code>.
193
193
  *
194
194
  * @param {sap.m.DynamicDateRange} oControl The control instance
195
- * @returns {object} A DynamicDateRange value
195
+ * @returns {sap.m.DynamicDateRangeValue} A <code>sap.m.DynamicDateRangeValue</code>
196
196
  * @public
197
197
  */
198
198
  DynamicDateOption.prototype.getValueHelpOutput = function(oControl) {
@@ -281,7 +281,7 @@ sap.ui.define([
281
281
  /**
282
282
  * Formats the option's value to a string.
283
283
  *
284
- * @param {object} oValue A DynamicDateRange value
284
+ * @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
285
285
  * @returns {string} A string representing this option's value
286
286
  * @public
287
287
  */
@@ -290,10 +290,10 @@ sap.ui.define([
290
290
  };
291
291
 
292
292
  /**
293
- * Parses a string to a DynamicDateRange value.
293
+ * Parses a string to a <code>sap.m.DynamicDateRangeValue</code>.
294
294
  *
295
295
  * @param {string} sValue An input string
296
- * @returns {object} This option's DynamicDateRange value
296
+ * @returns {sap.m.DynamicDateRangeValue} This parsed value
297
297
  * @public
298
298
  */
299
299
  DynamicDateOption.prototype.parse = function(sValue) {
@@ -303,7 +303,7 @@ sap.ui.define([
303
303
  /**
304
304
  * Calculates an absolute date range from the options relative value.
305
305
  *
306
- * @param {object} oValue A DynamicDateRange value
306
+ * @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
307
307
  * @returns {sap.ui.core.date.UniversalDate[]} A couple of dates marking the start and the end of the range
308
308
  * @public
309
309
  */
@@ -376,8 +376,11 @@ sap.ui.define([
376
376
  return oControl;
377
377
  };
378
378
 
379
- DynamicDateOption.prototype._createDateTimeControl = function(oValue, iIndex, fnControlsUpdated) {
380
- var oControl = new DateTimePicker({timezone: TimezoneUtil.getLocalTimezone()});
379
+ DynamicDateOption.prototype._createDateTimeControl = function(oValue, iIndex, fnControlsUpdated, bUTC, sCalendarWeekNumbering) {
380
+ var oControl = new DateTimePicker({
381
+ timezone: TimezoneUtil.getLocalTimezone(),
382
+ calendarWeekNumbering: sCalendarWeekNumbering
383
+ });
381
384
 
382
385
  if (oValue && this.getKey() === oValue.operator) {
383
386
  oControl.setDateValue(oValue.values[iIndex]);
@@ -392,9 +395,10 @@ sap.ui.define([
392
395
  return oControl;
393
396
  };
394
397
 
395
- DynamicDateOption.prototype._createDateControl = function(oValue, iIndex, fnControlsUpdated, bUTC) {
398
+ DynamicDateOption.prototype._createDateControl = function(oValue, iIndex, fnControlsUpdated, bUTC, sCalendarWeekNumbering) {
396
399
  var oControl = new Calendar({
397
- width: "100%"
400
+ width: "100%",
401
+ calendarWeekNumbering: sCalendarWeekNumbering
398
402
  });
399
403
  var oInputControlValue;
400
404
 
@@ -422,9 +426,10 @@ sap.ui.define([
422
426
  /**
423
427
  * Returns DateTimePicker PopupContent control (single "datetime" option)
424
428
  */
425
- DynamicDateOption.prototype._createDateTimeInnerControl = function(oValue, iIndex, fnControlsUpdated, bUTC) {
429
+ DynamicDateOption.prototype._createDateTimeInnerControl = function(oValue, iIndex, fnControlsUpdated, bUTC, sCalendarWeekNumbering) {
426
430
  var oControl = new DateTimePicker({
427
- width: "100%"
431
+ width: "100%",
432
+ calendarWeekNumbering: sCalendarWeekNumbering
428
433
  }),
429
434
  oPopupContent;
430
435
 
@@ -471,10 +476,11 @@ sap.ui.define([
471
476
  return oPopupContent;
472
477
  };
473
478
 
474
- DynamicDateOption.prototype._createDateRangeControl = function(oValue, iIndex, fnControlsUpdated, bUTC) {
479
+ DynamicDateOption.prototype._createDateRangeControl = function(oValue, iIndex, fnControlsUpdated, bUTC, sCalendarWeekNumbering) {
475
480
  var oControl = new Calendar({
476
481
  intervalSelection: true,
477
- width: "100%"
482
+ width: "100%",
483
+ calendarWeekNumbering: sCalendarWeekNumbering
478
484
  });
479
485
  if (oValue && this.getKey() === oValue.operator) {
480
486
  // a date range UI type maps to 2 consecutive date parameters from the value