@openui5/sap.m 1.111.1 → 1.112.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 (433) 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 +1 -1
  6. package/src/sap/m/ActionSheet.js +1 -1
  7. package/src/sap/m/ActionTile.js +1 -1
  8. package/src/sap/m/ActionTileContent.js +2 -3
  9. package/src/sap/m/ActionTileContentRenderer.js +2 -3
  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 +2 -2
  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 +1 -1
  17. package/src/sap/m/BusyIndicator.js +1 -1
  18. package/src/sap/m/Button.js +3 -3
  19. package/src/sap/m/Carousel.js +2 -2
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CheckBox.js +2 -2
  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 +1 -1
  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 +1 -1
  31. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  32. package/src/sap/m/ComboBox.js +1 -2
  33. package/src/sap/m/ComboBoxBase.js +1 -2
  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 +4 -2
  40. package/src/sap/m/DatePickerRenderer.js +5 -5
  41. package/src/sap/m/DateRangeSelection.js +5 -5
  42. package/src/sap/m/DateTimeField.js +1 -1
  43. package/src/sap/m/DateTimeFieldRenderer.js +13 -0
  44. package/src/sap/m/DateTimeInput.js +1 -1
  45. package/src/sap/m/DateTimePicker.js +1 -1
  46. package/src/sap/m/DateTimePickerRenderer.js +4 -4
  47. package/src/sap/m/Dialog.js +44 -3
  48. package/src/sap/m/DisplayListItem.js +1 -1
  49. package/src/sap/m/DraftIndicator.js +1 -1
  50. package/src/sap/m/DynamicDate.js +4 -2
  51. package/src/sap/m/DynamicDateFormat.js +6 -30
  52. package/src/sap/m/DynamicDateOption.js +18 -38
  53. package/src/sap/m/DynamicDateRange.js +9 -43
  54. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  55. package/src/sap/m/ExpandableText.js +1 -1
  56. package/src/sap/m/FacetFilter.js +1 -1
  57. package/src/sap/m/FacetFilterItem.js +1 -1
  58. package/src/sap/m/FacetFilterList.js +1 -1
  59. package/src/sap/m/FeedContent.js +1 -1
  60. package/src/sap/m/FeedInput.js +1 -1
  61. package/src/sap/m/FeedListItem.js +1 -1
  62. package/src/sap/m/FeedListItemAction.js +1 -1
  63. package/src/sap/m/Fiori20Adapter.js +2 -2
  64. package/src/sap/m/FlexBox.js +1 -1
  65. package/src/sap/m/FlexItemData.js +1 -1
  66. package/src/sap/m/FormattedText.js +1 -1
  67. package/src/sap/m/GenericTag.js +1 -1
  68. package/src/sap/m/GenericTile.js +1 -1
  69. package/src/sap/m/GroupHeaderListItem.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 +1 -1
  77. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  78. package/src/sap/m/IconTabHeader.js +1 -1
  79. package/src/sap/m/IconTabSeparator.js +1 -1
  80. package/src/sap/m/IllustratedMessage.js +21 -2
  81. package/src/sap/m/Illustration.js +1 -1
  82. package/src/sap/m/Image.js +1 -1
  83. package/src/sap/m/ImageContent.js +1 -1
  84. package/src/sap/m/Input.js +4 -28
  85. package/src/sap/m/InputBase.js +1 -1
  86. package/src/sap/m/InputListItem.js +1 -1
  87. package/src/sap/m/Label.js +2 -2
  88. package/src/sap/m/LabelRenderer.js +0 -2
  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 +1 -1
  92. package/src/sap/m/LinkRenderer.js +1 -1
  93. package/src/sap/m/List.js +1 -1
  94. package/src/sap/m/ListBase.js +1 -1
  95. package/src/sap/m/ListItemBase.js +1 -1
  96. package/src/sap/m/MaskEnabler.js +1 -1
  97. package/src/sap/m/MaskInput.js +1 -1
  98. package/src/sap/m/MaskInputRule.js +1 -1
  99. package/src/sap/m/Menu.js +1 -1
  100. package/src/sap/m/MenuButton.js +1 -1
  101. package/src/sap/m/MenuItem.js +1 -1
  102. package/src/sap/m/MenuListItem.js +1 -1
  103. package/src/sap/m/MessageItem.js +1 -1
  104. package/src/sap/m/MessageListItem.js +1 -1
  105. package/src/sap/m/MessagePage.js +2 -1
  106. package/src/sap/m/MessagePopover.js +32 -2
  107. package/src/sap/m/MessagePopoverItem.js +1 -1
  108. package/src/sap/m/MessageStrip.js +1 -1
  109. package/src/sap/m/MessageToast.js +1 -1
  110. package/src/sap/m/MessageView.js +3 -1
  111. package/src/sap/m/MultiComboBox.js +2 -3
  112. package/src/sap/m/MultiEditField.js +1 -1
  113. package/src/sap/m/MultiInput.js +1 -1
  114. package/src/sap/m/NavContainer.js +1 -1
  115. package/src/sap/m/NewsContent.js +1 -1
  116. package/src/sap/m/NotificationList.js +1 -1
  117. package/src/sap/m/NotificationListBase.js +1 -1
  118. package/src/sap/m/NotificationListGroup.js +1 -1
  119. package/src/sap/m/NotificationListItem.js +1 -1
  120. package/src/sap/m/NumericContent.js +1 -1
  121. package/src/sap/m/NumericInput.js +1 -1
  122. package/src/sap/m/ObjectAttribute.js +23 -2
  123. package/src/sap/m/ObjectHeader.js +1 -1
  124. package/src/sap/m/ObjectIdentifier.js +1 -1
  125. package/src/sap/m/ObjectListItem.js +1 -1
  126. package/src/sap/m/ObjectMarker.js +2 -2
  127. package/src/sap/m/ObjectNumber.js +1 -1
  128. package/src/sap/m/ObjectNumberRenderer.js +1 -1
  129. package/src/sap/m/ObjectStatus.js +1 -1
  130. package/src/sap/m/ObjectStatusRenderer.js +1 -1
  131. package/src/sap/m/OverflowToolbar.js +10 -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/OverflowToolbarRenderer.js +3 -0
  137. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  138. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  139. package/src/sap/m/P13nColumnsItem.js +1 -1
  140. package/src/sap/m/P13nColumnsPanel.js +1 -1
  141. package/src/sap/m/P13nConditionPanel.js +1 -1
  142. package/src/sap/m/P13nDialog.js +1 -1
  143. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  144. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  145. package/src/sap/m/P13nFilterItem.js +1 -1
  146. package/src/sap/m/P13nFilterPanel.js +1 -1
  147. package/src/sap/m/P13nGroupItem.js +1 -1
  148. package/src/sap/m/P13nGroupPanel.js +1 -1
  149. package/src/sap/m/P13nItem.js +1 -1
  150. package/src/sap/m/P13nPanel.js +1 -1
  151. package/src/sap/m/P13nSelectionItem.js +1 -1
  152. package/src/sap/m/P13nSelectionPanel.js +1 -1
  153. package/src/sap/m/P13nSortItem.js +1 -1
  154. package/src/sap/m/P13nSortPanel.js +1 -1
  155. package/src/sap/m/PDFViewer.js +1 -1
  156. package/src/sap/m/Page.js +62 -5
  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/PanelRenderer.js +17 -6
  161. package/src/sap/m/PlanningCalendar.js +90 -88
  162. package/src/sap/m/PlanningCalendarHeader.js +7 -5
  163. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  164. package/src/sap/m/PlanningCalendarRow.js +1 -1
  165. package/src/sap/m/PlanningCalendarView.js +1 -1
  166. package/src/sap/m/Popover.js +1 -1
  167. package/src/sap/m/PopoverRenderer.js +5 -1
  168. package/src/sap/m/ProgressIndicator.js +1 -1
  169. package/src/sap/m/PullToRefresh.js +1 -1
  170. package/src/sap/m/QuickView.js +1 -1
  171. package/src/sap/m/QuickViewBase.js +1 -1
  172. package/src/sap/m/QuickViewCard.js +1 -1
  173. package/src/sap/m/QuickViewGroup.js +1 -1
  174. package/src/sap/m/QuickViewGroupElement.js +1 -1
  175. package/src/sap/m/QuickViewPage.js +1 -1
  176. package/src/sap/m/RadioButton.js +1 -1
  177. package/src/sap/m/RadioButtonGroup.js +1 -1
  178. package/src/sap/m/RangeSlider.js +1 -1
  179. package/src/sap/m/RatingIndicator.js +1 -1
  180. package/src/sap/m/ResponsivePopover.js +1 -1
  181. package/src/sap/m/ResponsiveScale.js +1 -1
  182. package/src/sap/m/ScrollBar.js +1 -1
  183. package/src/sap/m/ScrollContainer.js +1 -1
  184. package/src/sap/m/SearchField.js +1 -1
  185. package/src/sap/m/SearchFieldRenderer.js +6 -1
  186. package/src/sap/m/SegmentedButton.js +1 -1
  187. package/src/sap/m/SegmentedButtonItem.js +1 -1
  188. package/src/sap/m/Select.js +10 -3
  189. package/src/sap/m/SelectDialog.js +1 -1
  190. package/src/sap/m/SelectDialogBase.js +1 -1
  191. package/src/sap/m/SelectList.js +1 -1
  192. package/src/sap/m/SelectRenderer.js +5 -2
  193. package/src/sap/m/SelectionDetails.js +1 -1
  194. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  195. package/src/sap/m/SelectionDetailsItem.js +1 -1
  196. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  197. package/src/sap/m/Shell.js +1 -1
  198. package/src/sap/m/SimpleFixFlex.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendar.js +17 -15
  200. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarGrid.js +51 -68
  202. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +15 -12
  203. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +18 -16
  204. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +6 -4
  205. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  206. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  207. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  209. package/src/sap/m/SlideTile.js +1 -1
  210. package/src/sap/m/Slider.js +1 -1
  211. package/src/sap/m/SliderTooltip.js +1 -1
  212. package/src/sap/m/SliderTooltipBase.js +1 -1
  213. package/src/sap/m/SliderTooltipContainer.js +1 -1
  214. package/src/sap/m/SplitApp.js +1 -1
  215. package/src/sap/m/SplitButton.js +1 -1
  216. package/src/sap/m/SplitContainer.js +1 -1
  217. package/src/sap/m/StandardDynamicDateOption.js +5 -13
  218. package/src/sap/m/StandardListItem.js +1 -1
  219. package/src/sap/m/StandardTile.js +1 -1
  220. package/src/sap/m/StandardTreeItem.js +1 -1
  221. package/src/sap/m/StepInput.js +2 -2
  222. package/src/sap/m/SuggestionItem.js +1 -1
  223. package/src/sap/m/SuggestionsPopover.js +1 -1
  224. package/src/sap/m/Switch.js +1 -1
  225. package/src/sap/m/TabContainer.js +1 -1
  226. package/src/sap/m/TabContainerItem.js +1 -1
  227. package/src/sap/m/TabContainerRenderer.js +1 -1
  228. package/src/sap/m/TabStrip.js +1 -1
  229. package/src/sap/m/TabStripItem.js +1 -1
  230. package/src/sap/m/Table.js +6 -8
  231. package/src/sap/m/TablePersoController.js +1 -1
  232. package/src/sap/m/TablePersoDialog.js +1 -1
  233. package/src/sap/m/TablePersoProvider.js +1 -1
  234. package/src/sap/m/TableSelectDialog.js +1 -1
  235. package/src/sap/m/Text.js +1 -1
  236. package/src/sap/m/TextArea.js +1 -1
  237. package/src/sap/m/Tile.js +1 -1
  238. package/src/sap/m/TileContainer.js +1 -1
  239. package/src/sap/m/TileContent.js +2 -3
  240. package/src/sap/m/TimePicker.js +2 -2
  241. package/src/sap/m/TimePickerClock.js +5 -6
  242. package/src/sap/m/TimePickerClocks.js +1 -1
  243. package/src/sap/m/TimePickerInputs.js +1 -1
  244. package/src/sap/m/TimePickerInternals.js +1 -1
  245. package/src/sap/m/TimePickerRenderer.js +9 -10
  246. package/src/sap/m/TimePickerSlider.js +1 -1
  247. package/src/sap/m/TimePickerSliders.js +1 -1
  248. package/src/sap/m/Title.js +1 -1
  249. package/src/sap/m/TitlePropagationSupport.js +1 -1
  250. package/src/sap/m/TitleRenderer.js +1 -5
  251. package/src/sap/m/ToggleButton.js +1 -1
  252. package/src/sap/m/Token.js +1 -1
  253. package/src/sap/m/Tokenizer.js +4 -4
  254. package/src/sap/m/Toolbar.js +89 -5
  255. package/src/sap/m/ToolbarLayoutData.js +1 -1
  256. package/src/sap/m/ToolbarRenderer.js +26 -26
  257. package/src/sap/m/ToolbarSeparator.js +1 -1
  258. package/src/sap/m/ToolbarSpacer.js +1 -1
  259. package/src/sap/m/Tree.js +1 -1
  260. package/src/sap/m/TreeItemBase.js +1 -1
  261. package/src/sap/m/UploadCollection.js +1 -1
  262. package/src/sap/m/UploadCollectionItem.js +1 -1
  263. package/src/sap/m/UploadCollectionParameter.js +1 -1
  264. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  265. package/src/sap/m/VBox.js +1 -1
  266. package/src/sap/m/ValueStateHeader.js +1 -1
  267. package/src/sap/m/VariantManagement.js +149 -39
  268. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  269. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  270. package/src/sap/m/ViewSettingsDialog.js +1 -1
  271. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  272. package/src/sap/m/ViewSettingsItem.js +1 -1
  273. package/src/sap/m/VisibleItem.js +1 -1
  274. package/src/sap/m/WheelSlider.js +1 -1
  275. package/src/sap/m/WheelSliderContainer.js +1 -1
  276. package/src/sap/m/Wizard.js +1 -1
  277. package/src/sap/m/WizardProgressNavigator.js +1 -1
  278. package/src/sap/m/WizardStep.js +1 -1
  279. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  280. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  281. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  282. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  283. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  284. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  285. package/src/sap/m/delegate/DateNavigation.js +3 -1
  286. package/src/sap/m/designtime/Panel.designtime.js +1 -1
  287. package/src/sap/m/library.js +3 -3
  288. package/src/sap/m/messagebundle.properties +12 -0
  289. package/src/sap/m/messagebundle_ar.properties +16 -4
  290. package/src/sap/m/messagebundle_bg.properties +21 -9
  291. package/src/sap/m/messagebundle_ca.properties +16 -4
  292. package/src/sap/m/messagebundle_cs.properties +16 -4
  293. package/src/sap/m/messagebundle_cy.properties +16 -4
  294. package/src/sap/m/messagebundle_da.properties +16 -4
  295. package/src/sap/m/messagebundle_de.properties +16 -4
  296. package/src/sap/m/messagebundle_el.properties +16 -4
  297. package/src/sap/m/messagebundle_en.properties +13 -1
  298. package/src/sap/m/messagebundle_en_GB.properties +13 -1
  299. package/src/sap/m/messagebundle_en_US_sappsd.properties +8 -0
  300. package/src/sap/m/messagebundle_en_US_saprigi.properties +12 -0
  301. package/src/sap/m/messagebundle_en_US_saptrc.properties +12 -0
  302. package/src/sap/m/messagebundle_es.properties +16 -4
  303. package/src/sap/m/messagebundle_es_MX.properties +16 -4
  304. package/src/sap/m/messagebundle_et.properties +16 -4
  305. package/src/sap/m/messagebundle_fi.properties +16 -4
  306. package/src/sap/m/messagebundle_fr.properties +16 -4
  307. package/src/sap/m/messagebundle_fr_CA.properties +16 -4
  308. package/src/sap/m/messagebundle_hi.properties +16 -4
  309. package/src/sap/m/messagebundle_hr.properties +16 -4
  310. package/src/sap/m/messagebundle_hu.properties +17 -5
  311. package/src/sap/m/messagebundle_id.properties +17 -5
  312. package/src/sap/m/messagebundle_it.properties +16 -4
  313. package/src/sap/m/messagebundle_iw.properties +16 -4
  314. package/src/sap/m/messagebundle_ja.properties +16 -4
  315. package/src/sap/m/messagebundle_kk.properties +16 -4
  316. package/src/sap/m/messagebundle_ko.properties +17 -5
  317. package/src/sap/m/messagebundle_lt.properties +16 -4
  318. package/src/sap/m/messagebundle_lv.properties +16 -4
  319. package/src/sap/m/messagebundle_ms.properties +16 -4
  320. package/src/sap/m/messagebundle_nl.properties +16 -4
  321. package/src/sap/m/messagebundle_no.properties +16 -4
  322. package/src/sap/m/messagebundle_pl.properties +16 -4
  323. package/src/sap/m/messagebundle_pt.properties +16 -4
  324. package/src/sap/m/messagebundle_pt_PT.properties +16 -4
  325. package/src/sap/m/messagebundle_ro.properties +16 -4
  326. package/src/sap/m/messagebundle_ru.properties +16 -4
  327. package/src/sap/m/messagebundle_sh.properties +16 -4
  328. package/src/sap/m/messagebundle_sk.properties +16 -4
  329. package/src/sap/m/messagebundle_sl.properties +16 -4
  330. package/src/sap/m/messagebundle_sv.properties +16 -4
  331. package/src/sap/m/messagebundle_th.properties +16 -4
  332. package/src/sap/m/messagebundle_tr.properties +16 -4
  333. package/src/sap/m/messagebundle_uk.properties +16 -4
  334. package/src/sap/m/messagebundle_vi.properties +16 -4
  335. package/src/sap/m/messagebundle_zh_CN.properties +22 -10
  336. package/src/sap/m/messagebundle_zh_TW.properties +19 -7
  337. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  338. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  339. package/src/sap/m/p13n/BasePanel.js +28 -1
  340. package/src/sap/m/p13n/Container.js +1 -1
  341. package/src/sap/m/p13n/Engine.js +3 -21
  342. package/src/sap/m/p13n/FlexUtil.js +27 -34
  343. package/src/sap/m/p13n/GroupController.js +1 -1
  344. package/src/sap/m/p13n/GroupPanel.js +1 -1
  345. package/src/sap/m/p13n/PersistenceProvider.js +2 -1
  346. package/src/sap/m/p13n/Popup.js +9 -4
  347. package/src/sap/m/p13n/QueryPanel.js +1 -1
  348. package/src/sap/m/p13n/SelectionController.js +150 -76
  349. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  350. package/src/sap/m/p13n/SortController.js +1 -1
  351. package/src/sap/m/p13n/SortPanel.js +1 -1
  352. package/src/sap/m/p13n/handler/xConfigHandler.js +5 -5
  353. package/src/sap/m/p13n/modification/FlexModificationHandler.js +4 -3
  354. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +7 -6
  355. package/src/sap/m/p13n/modification/ModificationHandler.js +10 -57
  356. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +2 -2
  357. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +2 -2
  358. package/src/sap/m/p13n/modules/UIManager.js +2 -2
  359. package/src/sap/m/plugins/CellSelector.js +1 -1
  360. package/src/sap/m/plugins/ColumnResizer.js +2 -2
  361. package/src/sap/m/plugins/CopyProvider.js +1 -1
  362. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  363. package/src/sap/m/plugins/PasteProvider.js +1 -1
  364. package/src/sap/m/plugins/PluginBase.js +1 -1
  365. package/src/sap/m/semantic/AddAction.js +1 -1
  366. package/src/sap/m/semantic/CancelAction.js +1 -1
  367. package/src/sap/m/semantic/DeleteAction.js +1 -1
  368. package/src/sap/m/semantic/DetailPage.js +1 -1
  369. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  370. package/src/sap/m/semantic/EditAction.js +1 -1
  371. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  372. package/src/sap/m/semantic/FilterAction.js +1 -1
  373. package/src/sap/m/semantic/FilterSelect.js +1 -1
  374. package/src/sap/m/semantic/FlagAction.js +1 -1
  375. package/src/sap/m/semantic/ForwardAction.js +1 -1
  376. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  377. package/src/sap/m/semantic/GroupAction.js +1 -1
  378. package/src/sap/m/semantic/GroupSelect.js +1 -1
  379. package/src/sap/m/semantic/MainAction.js +1 -1
  380. package/src/sap/m/semantic/MasterPage.js +1 -1
  381. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  382. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  383. package/src/sap/m/semantic/NegativeAction.js +1 -1
  384. package/src/sap/m/semantic/OpenInAction.js +1 -1
  385. package/src/sap/m/semantic/PositiveAction.js +1 -1
  386. package/src/sap/m/semantic/PrintAction.js +1 -1
  387. package/src/sap/m/semantic/SaveAction.js +1 -1
  388. package/src/sap/m/semantic/Segment.js +1 -1
  389. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  390. package/src/sap/m/semantic/SemanticButton.js +1 -1
  391. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  392. package/src/sap/m/semantic/SemanticControl.js +1 -1
  393. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  394. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  395. package/src/sap/m/semantic/SemanticPage.js +67 -5
  396. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  397. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  398. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  399. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  400. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  401. package/src/sap/m/semantic/ShareMenu.js +1 -1
  402. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  403. package/src/sap/m/semantic/SortAction.js +1 -1
  404. package/src/sap/m/semantic/SortSelect.js +1 -1
  405. package/src/sap/m/table/Util.js +1 -1
  406. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  407. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  408. package/src/sap/m/table/columnmenu/Item.js +1 -1
  409. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  410. package/src/sap/m/table/columnmenu/Menu.js +22 -20
  411. package/src/sap/m/table/columnmenu/MenuRenderer.js +7 -0
  412. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  417. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  418. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  419. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  420. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  421. package/src/sap/m/themes/base/Button.less +15 -0
  422. package/src/sap/m/themes/base/IconTabBar.less +1 -2
  423. package/src/sap/m/themes/base/ObjectAttribute.less +1 -0
  424. package/src/sap/m/themes/base/ObjectNumber.less +6 -0
  425. package/src/sap/m/themes/base/ObjectStatus.less +7 -26
  426. package/src/sap/m/themes/base/Title.less +1 -1
  427. package/src/sap/m/themes/base/Toolbar.less +6 -3
  428. package/src/sap/m/themes/sap_hcb/ObjectStatus.less +0 -26
  429. package/src/sap/m/upload/UploadSet.js +4 -1
  430. package/src/sap/m/upload/UploadSetItem.js +1 -1
  431. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  432. package/src/sap/m/themes/sap_horizon/Label.less +0 -10
  433. package/src/sap/m/themes/sap_horizon/Text.less +0 -10
@@ -28,7 +28,8 @@ sap.ui.define([
28
28
  './PlanningCalendarLegend',
29
29
  'sap/ui/core/InvisibleMessage',
30
30
  'sap/ui/core/library',
31
- "sap/ui/core/Configuration"
31
+ "sap/ui/core/Configuration",
32
+ "sap/ui/core/date/UI5Date"
32
33
  ],
33
34
  function (
34
35
  SinglePlanningCalendarUtilities,
@@ -53,7 +54,8 @@ sap.ui.define([
53
54
  PlanningCalendarLegend,
54
55
  InvisibleMessage,
55
56
  coreLibrary,
56
- Configuration
57
+ Configuration,
58
+ UI5Date
57
59
  ) {
58
60
  "use strict";
59
61
 
@@ -102,7 +104,7 @@ sap.ui.define([
102
104
  * @extends sap.ui.core.Control
103
105
  *
104
106
  * @author SAP SE
105
- * @version 1.111.1
107
+ * @version 1.112.0
106
108
  *
107
109
  * @constructor
108
110
  * @private
@@ -352,7 +354,7 @@ sap.ui.define([
352
354
  });
353
355
 
354
356
  SinglePlanningCalendarGrid.prototype.init = function () {
355
- var oStartDate = new Date(),
357
+ var oStartDate = UI5Date.getInstance(),
356
358
  oDatesRow = new DatesRow(this.getId() + "-columnHeaders", {
357
359
  showDayNamesLine: false,
358
360
  showWeekNumbers: false,
@@ -457,7 +459,7 @@ sap.ui.define([
457
459
  var oDragSession = oEvent.getParameter("dragSession"),
458
460
  oAppointment = oDragSession.getDragControl(),
459
461
  oDropTarget = oDragSession.getDropControl(),
460
- bIsFullDay = this.isAllDayAppointment(oAppointment._getStartDateWithTimezoneAdaptation(), oAppointment._getEndDateWithTimezoneAdaptation()),
462
+ bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate()),
461
463
  fnAlignIndicator = function () {
462
464
  var $Indicator = jQuery(oDragSession.getIndicator()),
463
465
  iAppHeight = oAppointment.$().outerHeight(),
@@ -490,17 +492,17 @@ sap.ui.define([
490
492
  oEndDate,
491
493
  oBrowserEvent = oEvent.getParameter("browserEvent"),
492
494
  bCopy = (oBrowserEvent.metaKey || oBrowserEvent.ctrlKey),
493
- bIsFullDay = this.isAllDayAppointment(oAppointment._getStartDateWithTimezoneAdaptation(), oAppointment._getEndDateWithTimezoneAdaptation());
495
+ bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate());
494
496
 
495
- oEndDate = new Date(oStartDate);
497
+ oEndDate = UI5Date.getInstance(oStartDate);
496
498
 
497
499
  if (bIsFullDay) {
498
- oEndDate.setMilliseconds(oAppointment._getEndDateWithTimezoneAdaptation().getTime() - oAppointment._getStartDateWithTimezoneAdaptation().getTime());
500
+ oEndDate.setMilliseconds(oAppointment.getEndDate().getTime() - oAppointment.getStartDate().getTime());
499
501
  }
500
502
 
501
503
  this.$().find(".sapMSinglePCOverlay").removeClass("sapMSinglePCOverlayDragging");
502
504
 
503
- if (bIsFullDay && oAppointment._getStartDateWithTimezoneAdaptation().getTime() === oStartDate.getTime()) {
505
+ if (bIsFullDay && oAppointment.getStartDate().getTime() === oStartDate.getTime()) {
504
506
  return;
505
507
  }
506
508
 
@@ -543,7 +545,7 @@ sap.ui.define([
543
545
  var oDragSession = oEvent.getParameter("dragSession"),
544
546
  oAppointment = oDragSession.getDragControl(),
545
547
  oDropTarget = oDragSession.getDropControl(),
546
- bIsFullDay = this.isAllDayAppointment(oAppointment._getStartDateWithTimezoneAdaptation(), oAppointment._getEndDateWithTimezoneAdaptation()),
548
+ bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate()),
547
549
  fnAlignIndicator = function () {
548
550
  var $Indicator = jQuery(oDragSession.getIndicator()),
549
551
  iAppHeight = oAppointment.$().outerHeight(),
@@ -573,19 +575,19 @@ sap.ui.define([
573
575
  oEndDate,
574
576
  oBrowserEvent = oEvent.getParameter("browserEvent"),
575
577
  bCopy = (oBrowserEvent.metaKey || oBrowserEvent.ctrlKey),
576
- bIsFullDay = this.isAllDayAppointment(oAppointment._getStartDateWithTimezoneAdaptation(), oAppointment._getEndDateWithTimezoneAdaptation());
578
+ bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate());
577
579
 
578
- oEndDate = new Date(oStartDate);
580
+ oEndDate = UI5Date.getInstance(oStartDate);
579
581
 
580
582
  if (bIsFullDay) {
581
583
  oEndDate.setHours(oEndDate.getHours() + 1);
582
584
  } else {
583
- oEndDate.setMilliseconds(oAppointment._getEndDateWithTimezoneAdaptation().getTime() - oAppointment._getStartDateWithTimezoneAdaptation().getTime());
585
+ oEndDate.setMilliseconds(oAppointment.getEndDate().getTime() - oAppointment.getStartDate().getTime());
584
586
  }
585
587
 
586
588
  this.$().find(".sapMSinglePCOverlay").removeClass("sapMSinglePCOverlayDragging");
587
589
 
588
- if (!bIsFullDay && oAppointment._getStartDateWithTimezoneAdaptation().getTime() === oStartDate.getTime()) {
590
+ if (!bIsFullDay && oAppointment.getStartDate().getTime() === oStartDate.getTime()) {
589
591
  return;
590
592
  }
591
593
 
@@ -713,8 +715,8 @@ sap.ui.define([
713
715
  newPos;
714
716
 
715
717
  newPos = this._calcResizeNewHoursAppPos(
716
- oAppointment._getStartDateWithTimezoneAdaptation(),
717
- oAppointment._getEndDateWithTimezoneAdaptation(),
718
+ oAppointment.getStartDate(),
719
+ oAppointment.getEndDate(),
718
720
  iIndex,
719
721
  oDragSession.getComplexData("bottomHandle")
720
722
  );
@@ -729,8 +731,8 @@ sap.ui.define([
729
731
  opacity: 1
730
732
  });
731
733
 
732
- if (oAppointment._getEndDateWithTimezoneAdaptation().getTime() === newPos.endDate.getTime() &&
733
- oAppointment._getStartDateWithTimezoneAdaptation().getTime() === newPos.startDate.getTime()) {
734
+ if (oAppointment.getEndDate().getTime() === newPos.endDate.getTime() &&
735
+ oAppointment.getStartDate().getTime() === newPos.startDate.getTime()) {
734
736
  return;
735
737
  }
736
738
 
@@ -862,8 +864,8 @@ sap.ui.define([
862
864
  iEndTime = Math.max(oStartDate, oEndDate) + iMillisecondsStep;
863
865
 
864
866
  this.fireAppointmentCreate({
865
- startDate: new Date(iStartTime),
866
- endDate: new Date(iEndTime)
867
+ startDate: UI5Date.getInstance(iStartTime),
868
+ endDate: UI5Date.getInstance(iEndTime)
867
869
  });
868
870
 
869
871
  jQuery(".sapUiAppCreate").remove();
@@ -881,8 +883,8 @@ sap.ui.define([
881
883
  iEndTime = Math.max(iVariableBoundaryTime, iPlaceholderEndTime);
882
884
 
883
885
  return {
884
- startDate: new Date(iStartTime),
885
- endDate: new Date(iEndTime)
886
+ startDate: UI5Date.getInstance(iStartTime),
887
+ endDate: UI5Date.getInstance(iEndTime)
886
888
  };
887
889
  };
888
890
 
@@ -907,8 +909,8 @@ sap.ui.define([
907
909
  this._oAppointmentsToRender[sDate].oAppointmentsList.getIterator().forEach(function(oAppNode) {
908
910
  oAppointment = oAppNode.getData();
909
911
  oAppDomRef = this.getDomRef().querySelector("#" + oAppointment.getId() + "-" + iColumn + "_" + iRow);
910
- oAppStartDate = oAppointment._getStartDateWithTimezoneAdaptation();
911
- oAppEndDate = oAppointment._getEndDateWithTimezoneAdaptation();
912
+ oAppStartDate = oAppointment.getStartDate();
913
+ oAppEndDate = oAppointment.getEndDate();
912
914
  bAppStartIsOutsideVisibleStartHour = oColumnStartDateAndHour.getTime() > oAppStartDate.getTime();
913
915
  bAppEndIsOutsideVisibleEndHour = oColumnEndDateAndHour.getTime() < oAppEndDate.getTime();
914
916
 
@@ -1179,10 +1181,10 @@ sap.ui.define([
1179
1181
  * @private
1180
1182
  */
1181
1183
  SinglePlanningCalendarGrid.prototype._focusCellWithKeyboard = function (oAppointment, iDirection) {
1182
- var bFullDayApp = this.isAllDayAppointment(oAppointment._getStartDateWithTimezoneAdaptation(), oAppointment._getEndDateWithTimezoneAdaptation()),
1184
+ var bFullDayApp = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate()),
1183
1185
  oFormat = this._getDateFormatter(),
1184
- oAppStartDate = new Date(oAppointment._getStartDateWithTimezoneAdaptation().getFullYear(), oAppointment._getStartDateWithTimezoneAdaptation().getMonth(), oAppointment._getStartDateWithTimezoneAdaptation().getDate(), oAppointment._getStartDateWithTimezoneAdaptation().getHours()),
1185
- oGridStartDate = new Date(this.getStartDate().getFullYear(), this.getStartDate().getMonth(), this.getStartDate().getDate(), this.getStartDate().getHours());
1186
+ oAppStartDate = UI5Date.getInstance(oAppointment.getStartDate().getFullYear(), oAppointment.getStartDate().getMonth(), oAppointment.getStartDate().getDate(), oAppointment.getStartDate().getHours()),
1187
+ oGridStartDate = UI5Date.getInstance(this.getStartDate().getFullYear(), this.getStartDate().getMonth(), this.getStartDate().getDate(), this.getStartDate().getHours());
1186
1188
 
1187
1189
  // If an appointment start hour is before the visible grid start date
1188
1190
  // we will use the grid start date as the appointment start date.
@@ -1369,7 +1371,7 @@ sap.ui.define([
1369
1371
  * @private
1370
1372
  */
1371
1373
  SinglePlanningCalendarGrid.prototype._shouldHideRowHeader = function (iRow) {
1372
- var iCurrentHour = new Date().getHours(),
1374
+ var iCurrentHour = UI5Date.getInstance().getHours(),
1373
1375
  bIsNearAfterCurrentHour = CalendarUtils._areCurrentMinutesLessThan(15) && iCurrentHour === iRow,
1374
1376
  bIsNearBeforeCurrentHour = CalendarUtils._areCurrentMinutesMoreThan(45) && iCurrentHour === iRow - 1;
1375
1377
 
@@ -1465,7 +1467,7 @@ sap.ui.define([
1465
1467
  * @private
1466
1468
  */
1467
1469
  SinglePlanningCalendarGrid.prototype._updateRowHeaderAndNowMarker = function () {
1468
- var oCurrentDate = new Date();
1470
+ var oCurrentDate = UI5Date.getInstance();
1469
1471
 
1470
1472
  this._updateNowMarker(oCurrentDate);
1471
1473
  this._updateRowHeaders(oCurrentDate);
@@ -1484,9 +1486,7 @@ sap.ui.define([
1484
1486
  $nowMarkerText = this.$("nowMarkerText"),
1485
1487
  $nowMarkerAMPM = this.$("nowMarkerAMPM"),
1486
1488
  bCurrentHourNotVisible = !this._isVisibleHour(oDate.getHours()),
1487
- oMarkerDate = new Date(oDate.getTime());
1488
-
1489
- oMarkerDate = this._convertToTimezone(oMarkerDate);
1489
+ oMarkerDate = UI5Date.getInstance(oDate.getTime());
1490
1490
 
1491
1491
  $nowMarker.toggleClass("sapMSinglePCNowMarkerHidden", bCurrentHourNotVisible);
1492
1492
  $nowMarker.css("top", this._calculateTopPosition(oMarkerDate) + "rem");
@@ -1495,23 +1495,6 @@ sap.ui.define([
1495
1495
  $nowMarkerText.append($nowMarkerAMPM);
1496
1496
  };
1497
1497
 
1498
- /**
1499
- * Aligns a date to the timezone from the configuration.
1500
- *
1501
- * @returns {Object} <code>oNewDate</code> aligned to the configured timezone.
1502
- * @private
1503
- */
1504
- SinglePlanningCalendarGrid.prototype._convertToTimezone = function(oDate) {
1505
- var sTimezone = Core.getConfiguration().getTimezone();
1506
- var oNewDate = CalendarUtils._createUniversalUTCDate(oDate, undefined, true);
1507
-
1508
- oNewDate = new Date(oDate.getUTCFullYear(), oDate.getUTCMonth(), oDate.getUTCDate(), oDate.getUTCHours(), oDate.getUTCMinutes(), oDate.getUTCSeconds());
1509
- oNewDate.setUTCFullYear(oDate.getUTCFullYear());
1510
- oNewDate = TimezoneUtil.convertToTimezone(oNewDate, sTimezone);
1511
-
1512
- return oNewDate;
1513
- };
1514
-
1515
1498
  /**
1516
1499
  * Updates the row headers assuming that there is a DOM representation.
1517
1500
  *
@@ -1543,8 +1526,8 @@ sap.ui.define([
1543
1526
  var that = this;
1544
1527
 
1545
1528
  return aAppointments.reduce(function (oMap, oAppointment) {
1546
- var oAppStartDate = oAppointment._getStartDateWithTimezoneAdaptation(),
1547
- oAppEndDate = oAppointment._getEndDateWithTimezoneAdaptation(),
1529
+ var oAppStartDate = oAppointment.getStartDate(),
1530
+ oAppEndDate = oAppointment.getEndDate(),
1548
1531
  oCurrentAppCalStartDate,
1549
1532
  oCurrentAppCalEndDate,
1550
1533
  sDay;
@@ -1615,8 +1598,8 @@ sap.ui.define([
1615
1598
  */
1616
1599
  SinglePlanningCalendarGrid.prototype._isAppointmentFitInVisibleHours = function (oColumnCalDate) {
1617
1600
  return function (oAppointment) {
1618
- var iAppStartTime = oAppointment._getStartDateWithTimezoneAdaptation().getTime(),
1619
- iAppEndTime = oAppointment._getEndDateWithTimezoneAdaptation().getTime(),
1601
+ var iAppStartTime = oAppointment.getStartDate().getTime(),
1602
+ iAppEndTime = oAppointment.getEndDate().getTime(),
1620
1603
  iColumnStartTime = (new UniversalDate(oColumnCalDate.getYear(), oColumnCalDate.getMonth(), oColumnCalDate.getDate(), this._getVisibleStartHour())).getTime(),
1621
1604
  iColumnEndTime = (new UniversalDate(oColumnCalDate.getYear(), oColumnCalDate.getMonth(), oColumnCalDate.getDate(), this._getVisibleEndHour(), 59, 59)).getTime();
1622
1605
 
@@ -1646,7 +1629,7 @@ sap.ui.define([
1646
1629
 
1647
1630
  aAppointments.forEach(function (oCurrentAppointment) {
1648
1631
  var oCurrentAppointmentNode = new SinglePlanningCalendarUtilities.node(oCurrentAppointment),
1649
- iCurrentAppointmentStart = oCurrentAppointment._getStartDateWithTimezoneAdaptation().getTime();
1632
+ iCurrentAppointmentStart = oCurrentAppointment.getStartDate().getTime();
1650
1633
 
1651
1634
  if (oAppointmentsList.getSize() === 0) {
1652
1635
  oAppointmentsList.add(oCurrentAppointmentNode);
@@ -1656,8 +1639,8 @@ sap.ui.define([
1656
1639
  oAppointmentsList.getIterator().forEach(function (oAppointmentNode) {
1657
1640
  var bShouldBreak = true,
1658
1641
  oAppointment = oAppointmentNode.getData(),
1659
- iAppointmentStart = oAppointment._getStartDateWithTimezoneAdaptation().getTime(),
1660
- iAppointmentEnd = oAppointment._getEndDateWithTimezoneAdaptation().getTime(),
1642
+ iAppointmentStart = oAppointment.getStartDate().getTime(),
1643
+ iAppointmentEnd = oAppointment.getEndDate().getTime(),
1661
1644
  iAppointmentDuration = iAppointmentEnd - iAppointmentStart;
1662
1645
 
1663
1646
  if (iAppointmentDuration < iDuration) {
@@ -1702,8 +1685,8 @@ sap.ui.define([
1702
1685
  var oCurrentAppointment = oCurrentAppointmentNode.getData(),
1703
1686
  iLevelFoundSpace = oCurrentAppointmentNode.level,
1704
1687
  iCurrentAppointmentLevel = oCurrentAppointmentNode.level,
1705
- iCurrentAppointmentStart = oCurrentAppointment._getStartDateWithTimezoneAdaptation().getTime(),
1706
- iCurrentAppointmentEnd = oCurrentAppointment._getEndDateWithTimezoneAdaptation().getTime(),
1688
+ iCurrentAppointmentStart = oCurrentAppointment.getStartDate().getTime(),
1689
+ iCurrentAppointmentEnd = oCurrentAppointment.getEndDate().getTime(),
1707
1690
  iCurrentAppointmentDuration = iCurrentAppointmentEnd - iCurrentAppointmentStart;
1708
1691
 
1709
1692
  if (iCurrentAppointmentDuration < HALF_HOUR_MS) {
@@ -1715,8 +1698,8 @@ sap.ui.define([
1715
1698
  new SinglePlanningCalendarUtilities.iterator(oAppointmentsList).forEach(function (oAppointmentNode) {
1716
1699
  var oAppointment = oAppointmentNode.getData(),
1717
1700
  iAppointmentLevel = oAppointmentNode.level,
1718
- iAppointmentStart = oAppointment._getStartDateWithTimezoneAdaptation().getTime(),
1719
- iAppointmentEnd = oAppointment._getEndDateWithTimezoneAdaptation().getTime(),
1701
+ iAppointmentStart = oAppointment.getStartDate().getTime(),
1702
+ iAppointmentEnd = oAppointment.getEndDate().getTime(),
1720
1703
  iAppointmentDuration = iAppointmentEnd - iAppointmentStart;
1721
1704
 
1722
1705
  if (iAppointmentDuration < HALF_HOUR_MS) {
@@ -1776,8 +1759,8 @@ sap.ui.define([
1776
1759
  */
1777
1760
  SinglePlanningCalendarGrid.prototype._isBlockerVisible = function (oViewStart, oViewEnd) {
1778
1761
  return function (oAppointment) {
1779
- var oAppStart = CalendarDate.fromLocalJSDate(oAppointment._getStartDateWithTimezoneAdaptation()),
1780
- oAppEnd = CalendarDate.fromLocalJSDate(oAppointment._getEndDateWithTimezoneAdaptation());
1762
+ var oAppStart = CalendarDate.fromLocalJSDate(oAppointment.getStartDate()),
1763
+ oAppEnd = CalendarDate.fromLocalJSDate(oAppointment.getEndDate());
1781
1764
 
1782
1765
  var bIsBiggerThanView = oAppStart.isBefore(oViewStart) && oAppEnd.isAfter(oViewEnd),
1783
1766
  bStartDateBetweenViewStartAndEnd = CalendarUtils._isBetween(oAppStart, oViewStart, oViewEnd, true),
@@ -1800,8 +1783,8 @@ sap.ui.define([
1800
1783
 
1801
1784
  aVisibleBlockers.forEach(function (oCurrentBlocker) {
1802
1785
  var oCurrentBlockerNode = new SinglePlanningCalendarUtilities.node(oCurrentBlocker),
1803
- oCurrentBlockerStart = CalendarDate.fromLocalJSDate(oCurrentBlocker._getStartDateWithTimezoneAdaptation()),
1804
- oCurrentBlockerEnd = CalendarDate.fromLocalJSDate(oCurrentBlocker._getEndDateWithTimezoneAdaptation());
1786
+ oCurrentBlockerStart = CalendarDate.fromLocalJSDate(oCurrentBlocker.getStartDate()),
1787
+ oCurrentBlockerEnd = CalendarDate.fromLocalJSDate(oCurrentBlocker.getEndDate());
1805
1788
 
1806
1789
  oCurrentBlockerNode.width = CalendarUtils._daysBetween(oCurrentBlockerEnd, oCurrentBlockerStart);
1807
1790
 
@@ -1813,8 +1796,8 @@ sap.ui.define([
1813
1796
  oBlockersList.getIterator().forEach(function (oBlockerNode) {
1814
1797
  var bShouldBreak = true,
1815
1798
  oBlocker = oBlockerNode.getData(),
1816
- oBlockerStart = CalendarDate.fromLocalJSDate(oBlocker._getStartDateWithTimezoneAdaptation()),
1817
- oBlockerEnd = CalendarDate.fromLocalJSDate(oBlocker._getEndDateWithTimezoneAdaptation());
1799
+ oBlockerStart = CalendarDate.fromLocalJSDate(oBlocker.getStartDate()),
1800
+ oBlockerEnd = CalendarDate.fromLocalJSDate(oBlocker.getEndDate());
1818
1801
 
1819
1802
  if (oCurrentBlockerStart.isSameOrAfter(oBlockerStart) && oCurrentBlockerStart.isSameOrBefore(oBlockerEnd)) {
1820
1803
  oCurrentBlockerNode.level++;
@@ -2051,8 +2034,8 @@ sap.ui.define([
2051
2034
  SinglePlanningCalendarGrid.prototype._getAppointmentAnnouncementInfo = function (oAppointment) {
2052
2035
  var sStartTime = this._oUnifiedRB.getText("CALENDAR_START_TIME"),
2053
2036
  sEndTime = this._oUnifiedRB.getText("CALENDAR_END_TIME"),
2054
- sFormattedStartDate = this._oFormatStartEndInfoAria.format(oAppointment._getStartDateWithTimezoneAdaptation()),
2055
- sFormattedEndDate = this._oFormatStartEndInfoAria.format(oAppointment._getEndDateWithTimezoneAdaptation()),
2037
+ sFormattedStartDate = this._oFormatStartEndInfoAria.format(oAppointment.getStartDate()),
2038
+ sFormattedEndDate = this._oFormatStartEndInfoAria.format(oAppointment.getEndDate()),
2056
2039
  sAppInfo = sStartTime + ": " + sFormattedStartDate + "; " + sEndTime + ": " + sFormattedEndDate;
2057
2040
 
2058
2041
  return sAppInfo + "; " + PlanningCalendarLegend.findLegendItemForItem(sap.ui.getCore().byId(this._sLegendId), oAppointment);
@@ -12,7 +12,8 @@ sap.ui.define([
12
12
  'sap/ui/core/InvisibleText',
13
13
  './PlanningCalendarLegend',
14
14
  'sap/ui/unified/library',
15
- 'sap/ui/core/Configuration'
15
+ 'sap/ui/core/Configuration',
16
+ "sap/ui/core/date/UI5Date"
16
17
  ],
17
18
  function(
18
19
  CalendarDate,
@@ -22,7 +23,9 @@ sap.ui.define([
22
23
  InvisibleText,
23
24
  PlanningCalendarLegend,
24
25
  unifiedLibrary,
25
- Configuration) {
26
+ Configuration,
27
+ UI5Date
28
+ ) {
26
29
  "use strict";
27
30
 
28
31
  var iVerticalPaddingBetweenAppointments = 0.125;
@@ -161,8 +164,8 @@ sap.ui.define([
161
164
  SinglePlanningCalendarGridRenderer.renderBlockerAppointment = function(oRm, oControl, oBlockerNode) {
162
165
  var oGridCalStart = CalendarDate.fromLocalJSDate(oControl.getStartDate()),
163
166
  oBlocker = oBlockerNode.getData(),
164
- oBlockerCalStart = CalendarDate.fromLocalJSDate(oBlocker._getStartDateWithTimezoneAdaptation()),
165
- oBlockerCalEnd = CalendarDate.fromLocalJSDate(oBlocker._getEndDateWithTimezoneAdaptation()),
167
+ oBlockerCalStart = CalendarDate.fromLocalJSDate(oBlocker.getStartDate()),
168
+ oBlockerCalEnd = CalendarDate.fromLocalJSDate(oBlocker.getEndDate()),
166
169
  iStartDayDiff = CalendarUtils._daysBetween(oBlockerCalStart, oGridCalStart),
167
170
  iEndDayDiff = CalendarUtils._daysBetween(oBlockerCalEnd, oGridCalStart),
168
171
  iColumns = oControl._getColumns(),
@@ -312,7 +315,7 @@ sap.ui.define([
312
315
  SinglePlanningCalendarGridRenderer.renderRowHeaders = function (oRm, oControl) {
313
316
  var iStartHour = oControl._getVisibleStartHour(),
314
317
  iEndHour = oControl._getVisibleEndHour(),
315
- oStartDate = new Date(),
318
+ oStartDate = UI5Date.getInstance(),
316
319
  oHoursFormat = oControl._getHoursFormat(),
317
320
  oAMPMFormat = oControl._getAMPMFormat();
318
321
 
@@ -321,7 +324,7 @@ sap.ui.define([
321
324
  oRm.openEnd();
322
325
 
323
326
  for (var i = iStartHour; i <= iEndHour; i++) {
324
- oStartDate.setUTCHours(i);
327
+ oStartDate.setHours(i);
325
328
  oRm.openStart("span");
326
329
  oRm.class("sapMSinglePCRowHeader");
327
330
  oRm.class("sapMSinglePCRowHeader" + i);
@@ -332,13 +335,13 @@ sap.ui.define([
332
335
 
333
336
  oRm.openEnd();
334
337
 
335
- oRm.text(oHoursFormat.format(oStartDate, true));
338
+ oRm.text(oHoursFormat.format(oStartDate));
336
339
 
337
340
  if (oControl._hasAMPM()) {
338
341
  oRm.openStart("span");
339
342
  oRm.class("sapMSinglePCRowHeaderAMPM");
340
343
  oRm.openEnd();
341
- oRm.text(" " + oAMPMFormat.format(oStartDate, true));
344
+ oRm.text(" " + oAMPMFormat.format(oStartDate));
342
345
  oRm.close("span");
343
346
  }
344
347
 
@@ -406,7 +409,7 @@ sap.ui.define([
406
409
 
407
410
  for (var i = iStartHour; i <= iEndHour; i++) {
408
411
  oCellStartDate = oControl._parseDateStringAndHours(sDate, i);
409
- oCellEndDate = new Date(oCellStartDate.getFullYear(), oCellStartDate.getMonth(), oCellStartDate.getDate(), oCellStartDate.getHours() + 1);
412
+ oCellEndDate = UI5Date.getInstance(oCellStartDate.getFullYear(), oCellStartDate.getMonth(), oCellStartDate.getDate(), oCellStartDate.getHours() + 1);
410
413
 
411
414
  oRm.openStart("div");
412
415
  oRm.attr("role", "gridcell");
@@ -462,8 +465,8 @@ sap.ui.define([
462
465
  iRowHeight = oControl._getRowHeight(),
463
466
  oColumnStartDateAndHour = new UniversalDate(oColumnDate.getYear(), oColumnDate.getMonth(), oColumnDate.getDate(), oControl._getVisibleStartHour()),
464
467
  oColumnEndDateAndHour = new UniversalDate(oColumnDate.getYear(), oColumnDate.getMonth(), oColumnDate.getDate(), oControl._getVisibleEndHour(), 59, 59),
465
- oAppStartDate = oAppointment._getStartDateWithTimezoneAdaptation(),
466
- oAppEndDate = oAppointment._getEndDateWithTimezoneAdaptation(),
468
+ oAppStartDate = oAppointment.getStartDate(),
469
+ oAppEndDate = oAppointment.getEndDate(),
467
470
  oAppCalStart = CalendarDate.fromLocalJSDate(oAppStartDate),
468
471
  oAppCalEnd = CalendarDate.fromLocalJSDate(oAppEndDate),
469
472
  sTooltip = oAppointment.getTooltip_AsString(),
@@ -679,7 +682,7 @@ sap.ui.define([
679
682
  };
680
683
 
681
684
  SinglePlanningCalendarGridRenderer.renderNowMarker = function (oRm, oControl) {
682
- var oDate = new Date();
685
+ var oDate = UI5Date.getInstance();
683
686
 
684
687
  oRm.openStart("div", oControl.getId() + "-nowMarker");
685
688
  oRm.style("top", oControl._calculateTopPosition(oDate) + "rem");
@@ -28,7 +28,8 @@ sap.ui.define([
28
28
  'sap/ui/core/library',
29
29
  "sap/ui/core/date/CalendarWeekNumbering",
30
30
  "sap/ui/core/date/CalendarUtils",
31
- "sap/ui/core/Configuration"
31
+ "sap/ui/core/Configuration",
32
+ "sap/ui/core/date/UI5Date"
32
33
  ],
33
34
  function (
34
35
  Control,
@@ -53,7 +54,8 @@ sap.ui.define([
53
54
  coreLibrary,
54
55
  CalendarWeekNumbering,
55
56
  CalendarDateUtils,
56
- Configuration
57
+ Configuration,
58
+ UI5Date
57
59
  ) {
58
60
  "use strict";
59
61
 
@@ -89,7 +91,7 @@ sap.ui.define([
89
91
  * @extends sap.ui.core.Control
90
92
  *
91
93
  * @author SAP SE
92
- * @version 1.111.1
94
+ * @version 1.112.0
93
95
  *
94
96
  * @constructor
95
97
  * @private
@@ -248,7 +250,7 @@ sap.ui.define([
248
250
  pattern: "EEEE dd/MM/YYYY"
249
251
  });
250
252
 
251
- this.setStartDate(new Date());
253
+ this.setStartDate(UI5Date.getInstance());
252
254
  this._configureAppointmentsDragAndDrop();
253
255
 
254
256
  this._oUnifiedRB = sap.ui.getCore().getLibraryResourceBundle("sap.ui.unified");
@@ -392,10 +394,10 @@ sap.ui.define([
392
394
  if (oSrcControl && oSrcControl.isA("sap.m.SinglePlanningCalendarMonthGrid") && bIsCell && !bIsLink) {
393
395
  iTimestamp = parseInt(oTarget.getAttribute("sap-ui-date"));
394
396
 
395
- oStartDate = new Date(iTimestamp);
396
- oStartDate = new Date(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
397
+ oStartDate = UI5Date.getInstance(iTimestamp);
398
+ oStartDate = UI5Date.getInstance(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
397
399
 
398
- oEndDate = new Date(oStartDate);
400
+ oEndDate = UI5Date.getInstance(oStartDate);
399
401
  oEndDate.setDate(oEndDate.getDate() + 1);
400
402
 
401
403
  this.fireEvent("cellPress", {startDate: oStartDate, endDate: oEndDate});
@@ -486,9 +488,9 @@ sap.ui.define([
486
488
 
487
489
  SinglePlanningCalendarMonthGrid.prototype._handleMorePress = function(oEvent) {
488
490
  var iTimestamp = parseInt(oEvent.getSource().getCustomData()[0].getValue()),
489
- oDate = new Date(iTimestamp);
491
+ oDate = UI5Date.getInstance(iTimestamp);
490
492
 
491
- oDate = new Date(oDate.getUTCFullYear(), oDate.getUTCMonth(), oDate.getUTCDate());
493
+ oDate = UI5Date.getInstance(oDate.getUTCFullYear(), oDate.getUTCMonth(), oDate.getUTCDate());
492
494
 
493
495
  this.fireEvent("moreLinkPress", { date: oDate });
494
496
  };
@@ -583,15 +585,15 @@ sap.ui.define([
583
585
  oLastVisibleDay = aVisibleDays[aVisibleDays.length - 1],
584
586
  // We do not need appointments without start and end dates
585
587
  aApps = this.getAppointments().filter(function(app) {
586
- var bValid = app._getStartDateWithTimezoneAdaptation() && app._getEndDateWithTimezoneAdaptation();
588
+ var bValid = app.getStartDate() && app.getEndDate();
587
589
  if (!bValid) {
588
590
  Log.warning("Appointment " + app.getId() + " has no start or no end date. It is ignored.");
589
591
  }
590
592
  return bValid;
591
593
  // Map to a structure ready for calculations
592
594
  }).map(function(app) {
593
- var oStart = CalendarDate.fromLocalJSDate(app._getStartDateWithTimezoneAdaptation()),
594
- oEnd = CalendarDate.fromLocalJSDate(app._getEndDateWithTimezoneAdaptation());
595
+ var oStart = CalendarDate.fromLocalJSDate(app.getStartDate()),
596
+ oEnd = CalendarDate.fromLocalJSDate(app.getEndDate());
595
597
  return {
596
598
  data: app,
597
599
  start: oStart,
@@ -723,8 +725,8 @@ sap.ui.define([
723
725
  oAppointment = oDragSession.getDragControl(),
724
726
  oPlaceholder = oDragSession.getDropControl(),
725
727
  oCellCalStartDate = oPlaceholder.getDate(),
726
- oAppCalStartDate = CalendarDate.fromLocalJSDate(oAppointment._getStartDateWithTimezoneAdaptation()),
727
- oAppCalEndDate = CalendarDate.fromLocalJSDate(oAppointment._getEndDateWithTimezoneAdaptation()),
728
+ oAppCalStartDate = CalendarDate.fromLocalJSDate(oAppointment.getStartDate()),
729
+ oAppCalEndDate = CalendarDate.fromLocalJSDate(oAppointment.getEndDate()),
728
730
  iOffset = CalendarUtils._daysBetween(oCellCalStartDate, oAppCalStartDate),
729
731
  oStartDate = new CalendarDate(oAppCalStartDate),
730
732
  oEndDate = new CalendarDate(oAppCalEndDate),
@@ -863,8 +865,8 @@ sap.ui.define([
863
865
  var oUnifiedRB = Core.getLibraryResourceBundle("sap.ui.unified"),
864
866
  sStartTime = oUnifiedRB.getText("CALENDAR_START_TIME"),
865
867
  sEndTime = oUnifiedRB.getText("CALENDAR_END_TIME"),
866
- sFormattedStartDate = this._oFormatAriaApp.format(oAppointment._getStartDateWithTimezoneAdaptation()),
867
- sFormattedEndDate = this._oFormatAriaApp.format(oAppointment._getEndDateWithTimezoneAdaptation()),
868
+ sFormattedStartDate = this._oFormatAriaApp.format(oAppointment.getStartDate()),
869
+ sFormattedEndDate = this._oFormatAriaApp.format(oAppointment.getEndDate()),
868
870
  sAppInfo = sStartTime + ": " + sFormattedStartDate + "; " + sEndTime + ": " + sFormattedEndDate;
869
871
 
870
872
  return sAppInfo + "; " + PlanningCalendarLegend.findLegendItemForItem(Core.byId(this._sLegendId), oAppointment);
@@ -15,7 +15,8 @@ sap.ui.define([
15
15
  'sap/ui/unified/library',
16
16
  "sap/ui/core/date/CalendarUtils",
17
17
  'sap/ui/core/Locale',
18
- "sap/ui/core/Configuration"
18
+ "sap/ui/core/Configuration",
19
+ "sap/ui/core/date/UI5Date"
19
20
  ],
20
21
  function(
21
22
  CalendarDate,
@@ -28,7 +29,8 @@ sap.ui.define([
28
29
  unifiedLibrary,
29
30
  CalendarDateUtils,
30
31
  Locale,
31
- Configuration
32
+ Configuration,
33
+ UI5Date
32
34
  ) {
33
35
  "use strict";
34
36
 
@@ -154,7 +156,7 @@ sap.ui.define([
154
156
  var aSpecialDates = oControl._getSpecialDates(),
155
157
  aDayTypes = Month.prototype._getDateTypes.call(oControl, oDay),
156
158
  oFormat = oControl._getDateFormatter(),
157
- bToday = oDay.isSame(CalendarDate.fromLocalJSDate(new Date())),
159
+ bToday = oDay.isSame(CalendarDate.fromLocalJSDate(UI5Date.getInstance())),
158
160
  oType,
159
161
  sLegendItemType;
160
162
 
@@ -392,7 +394,7 @@ sap.ui.define([
392
394
  sCalendarType = Core.getConfiguration().getCalendarType(),
393
395
  aWeekDays = oLocaleData.getDaysStandAlone("abbreviated", sCalendarType),
394
396
  aWeekDaysWide = oLocaleData.getDaysStandAlone("wide", sCalendarType),
395
- oStartDate = new Date(oControl.getStartDate()),
397
+ oStartDate = UI5Date.getInstance(oControl.getStartDate()),
396
398
  oFirstRenderedDate,
397
399
  iDayIndex;
398
400
 
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.m.SinglePlanningCalendarView
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.111.1
31
+ * @version 1.112.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -26,7 +26,7 @@ function (library, Log, Element) {
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.111.1
29
+ * @version 1.112.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -31,7 +31,7 @@ function (library, SinglePlanningCalendarView, LocaleData, CalendarDate, Calenda
31
31
  * @extends sap.m.SinglePlanningCalendarView
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.111.1
34
+ * @version 1.112.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -29,7 +29,7 @@ function (library, SinglePlanningCalendarView, CalendarDate, CalendarUtils, Loca
29
29
  * @extends sap.m.SinglePlanningCalendarView
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.111.1
32
+ * @version 1.112.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Control
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.111.1
46
+ * @version 1.112.0
47
47
  * @since 1.34
48
48
  *
49
49
  * @public
@@ -97,7 +97,7 @@ function(
97
97
  * @implements sap.ui.core.IFormContent
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.111.1
100
+ * @version 1.112.0
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -42,7 +42,7 @@ function(
42
42
  * @extends sap.m.SliderTooltipBase
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.111.1
45
+ * @version 1.112.0
46
46
  *
47
47
  * @constructor
48
48
  * @private
@@ -21,7 +21,7 @@ function(Control, Library, SliderTooltipBaseRenderer) {
21
21
  * @abstract
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.111.1
24
+ * @version 1.112.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -37,7 +37,7 @@ function(
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.111.1
40
+ * @version 1.112.0
41
41
  *
42
42
  * @constructor
43
43
  * @private
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.m.SplitContainer
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.111.1
39
+ * @version 1.112.0
40
40
  *
41
41
  * @constructor
42
42
  * @public