@openui5/sap.m 1.121.1 → 1.122.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +1 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +4 -3
  9. package/src/sap/m/ActionTileContent.js +8 -4
  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 +2 -2
  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 +3 -3
  17. package/src/sap/m/BusyIndicator.js +1 -1
  18. package/src/sap/m/Button.js +1 -1
  19. package/src/sap/m/Carousel.js +9 -1
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CheckBox.js +1 -1
  22. package/src/sap/m/ColorPalette.js +88 -16
  23. package/src/sap/m/ColorPalettePopover.js +11 -3
  24. package/src/sap/m/ColorPaletteRenderer.js +22 -5
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  27. package/src/sap/m/ColumnListItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  33. package/src/sap/m/ComboBox.js +1 -1
  34. package/src/sap/m/ComboBoxBase.js +1 -1
  35. package/src/sap/m/ComboBoxTextField.js +1 -1
  36. package/src/sap/m/ContentConfig.js +4 -3
  37. package/src/sap/m/CustomListItem.js +1 -1
  38. package/src/sap/m/CustomTile.js +1 -1
  39. package/src/sap/m/CustomTreeItem.js +1 -1
  40. package/src/sap/m/DatePicker.js +1 -1
  41. package/src/sap/m/DateRangeSelection.js +2 -2
  42. package/src/sap/m/DateTimeField.js +1 -1
  43. package/src/sap/m/DateTimeInput.js +1 -1
  44. package/src/sap/m/DateTimePicker.js +1 -1
  45. package/src/sap/m/Dialog.js +1 -1
  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 +1 -1
  49. package/src/sap/m/DynamicDateOption.js +1 -1
  50. package/src/sap/m/DynamicDateRange.js +15 -3
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  52. package/src/sap/m/ExpandableText.js +1 -1
  53. package/src/sap/m/FacetFilter.js +1 -1
  54. package/src/sap/m/FacetFilterItem.js +1 -1
  55. package/src/sap/m/FacetFilterList.js +1 -1
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +1 -1
  58. package/src/sap/m/FeedListItem.js +21 -4
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/Fiori20Adapter.js +2 -2
  61. package/src/sap/m/FlexBox.js +1 -1
  62. package/src/sap/m/FlexItemData.js +1 -1
  63. package/src/sap/m/FormattedText.js +1 -1
  64. package/src/sap/m/GenericTag.js +1 -1
  65. package/src/sap/m/GenericTile.js +6 -5
  66. package/src/sap/m/GroupHeaderListItem.js +1 -1
  67. package/src/sap/m/GrowingList.js +1 -1
  68. package/src/sap/m/HBox.js +1 -1
  69. package/src/sap/m/HeaderContainer.js +1 -3
  70. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  71. package/src/sap/m/IconTabBar.js +1 -1
  72. package/src/sap/m/IconTabBarSelectList.js +1 -1
  73. package/src/sap/m/IconTabFilter.js +27 -33
  74. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  75. package/src/sap/m/IconTabHeader.js +8 -1
  76. package/src/sap/m/IconTabSeparator.js +1 -1
  77. package/src/sap/m/IllustratedMessage.js +1 -1
  78. package/src/sap/m/IllustratedMessageType.js +1 -1
  79. package/src/sap/m/Illustration.js +1 -1
  80. package/src/sap/m/Image.js +1 -1
  81. package/src/sap/m/ImageContent.js +1 -1
  82. package/src/sap/m/Input.js +5 -3
  83. package/src/sap/m/InputBase.js +1 -1
  84. package/src/sap/m/InputListItem.js +1 -1
  85. package/src/sap/m/Label.js +1 -1
  86. package/src/sap/m/LightBox.js +1 -1
  87. package/src/sap/m/LightBoxItem.js +1 -1
  88. package/src/sap/m/Link.js +1 -1
  89. package/src/sap/m/LinkTileContent.js +1 -1
  90. package/src/sap/m/List.js +1 -1
  91. package/src/sap/m/ListBase.js +1 -1
  92. package/src/sap/m/ListItemBase.js +1 -1
  93. package/src/sap/m/MaskEnabler.js +1 -1
  94. package/src/sap/m/MaskInput.js +1 -1
  95. package/src/sap/m/MaskInputRule.js +1 -1
  96. package/src/sap/m/Menu.js +1 -1
  97. package/src/sap/m/MenuButton.js +1 -2
  98. package/src/sap/m/MenuItem.js +1 -1
  99. package/src/sap/m/MenuListItem.js +1 -1
  100. package/src/sap/m/MessageItem.js +1 -1
  101. package/src/sap/m/MessageListItem.js +1 -1
  102. package/src/sap/m/MessagePage.js +1 -1
  103. package/src/sap/m/MessagePopover.js +1 -1
  104. package/src/sap/m/MessagePopoverItem.js +1 -1
  105. package/src/sap/m/MessageStrip.js +1 -1
  106. package/src/sap/m/MessageToast.js +1 -1
  107. package/src/sap/m/MessageView.js +2 -2
  108. package/src/sap/m/MultiComboBox.js +1 -1
  109. package/src/sap/m/MultiEditField.js +1 -1
  110. package/src/sap/m/MultiInput.js +16 -5
  111. package/src/sap/m/NavContainer.js +1 -3
  112. package/src/sap/m/NewsContent.js +1 -1
  113. package/src/sap/m/NotificationList.js +1 -1
  114. package/src/sap/m/NotificationListBase.js +1 -1
  115. package/src/sap/m/NotificationListGroup.js +5 -10
  116. package/src/sap/m/NotificationListItem.js +1 -1
  117. package/src/sap/m/NumericContent.js +1 -1
  118. package/src/sap/m/NumericInput.js +1 -1
  119. package/src/sap/m/ObjectAttribute.js +1 -1
  120. package/src/sap/m/ObjectHeader.js +1 -1
  121. package/src/sap/m/ObjectIdentifier.js +1 -1
  122. package/src/sap/m/ObjectListItem.js +1 -1
  123. package/src/sap/m/ObjectMarker.js +1 -1
  124. package/src/sap/m/ObjectNumber.js +1 -1
  125. package/src/sap/m/ObjectStatus.js +1 -1
  126. package/src/sap/m/OverflowToolbar.js +1 -1
  127. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  128. package/src/sap/m/OverflowToolbarButton.js +1 -1
  129. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  130. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  131. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  132. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  133. package/src/sap/m/P13nColumnsItem.js +1 -1
  134. package/src/sap/m/P13nColumnsPanel.js +1 -1
  135. package/src/sap/m/P13nConditionPanel.js +1 -1
  136. package/src/sap/m/P13nDialog.js +1 -1
  137. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  138. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  139. package/src/sap/m/P13nFilterItem.js +1 -1
  140. package/src/sap/m/P13nFilterPanel.js +1 -1
  141. package/src/sap/m/P13nGroupItem.js +1 -1
  142. package/src/sap/m/P13nGroupPanel.js +1 -1
  143. package/src/sap/m/P13nItem.js +1 -1
  144. package/src/sap/m/P13nPanel.js +1 -1
  145. package/src/sap/m/P13nSelectionItem.js +1 -1
  146. package/src/sap/m/P13nSelectionPanel.js +1 -1
  147. package/src/sap/m/P13nSortItem.js +1 -1
  148. package/src/sap/m/P13nSortPanel.js +1 -1
  149. package/src/sap/m/PDFViewer.js +1 -1
  150. package/src/sap/m/Page.js +1 -1
  151. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  152. package/src/sap/m/PagingButton.js +1 -1
  153. package/src/sap/m/Panel.js +1 -1
  154. package/src/sap/m/PlanningCalendar.js +165 -73
  155. package/src/sap/m/PlanningCalendarHeader.js +9 -2
  156. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  157. package/src/sap/m/PlanningCalendarRow.js +1 -1
  158. package/src/sap/m/PlanningCalendarView.js +1 -1
  159. package/src/sap/m/Popover.js +1 -1
  160. package/src/sap/m/ProgressIndicator.js +1 -1
  161. package/src/sap/m/PullToRefresh.js +1 -1
  162. package/src/sap/m/QuickView.js +1 -1
  163. package/src/sap/m/QuickViewBase.js +1 -1
  164. package/src/sap/m/QuickViewCard.js +1 -1
  165. package/src/sap/m/QuickViewGroup.js +1 -1
  166. package/src/sap/m/QuickViewGroupElement.js +1 -1
  167. package/src/sap/m/QuickViewPage.js +1 -1
  168. package/src/sap/m/RadioButton.js +1 -1
  169. package/src/sap/m/RadioButtonGroup.js +2 -3
  170. package/src/sap/m/RangeSlider.js +1 -1
  171. package/src/sap/m/RatingIndicator.js +1 -1
  172. package/src/sap/m/ResponsivePopover.js +1 -1
  173. package/src/sap/m/ResponsiveScale.js +1 -1
  174. package/src/sap/m/ScrollBar.js +1 -1
  175. package/src/sap/m/ScrollContainer.js +1 -1
  176. package/src/sap/m/SearchField.js +1 -1
  177. package/src/sap/m/SegmentedButton.js +1 -1
  178. package/src/sap/m/SegmentedButtonItem.js +1 -1
  179. package/src/sap/m/Select.js +1 -1
  180. package/src/sap/m/SelectDialog.js +1 -4
  181. package/src/sap/m/SelectDialogBase.js +1 -1
  182. package/src/sap/m/SelectList.js +1 -1
  183. package/src/sap/m/SelectionDetails.js +1 -1
  184. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  185. package/src/sap/m/SelectionDetailsItem.js +1 -1
  186. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  187. package/src/sap/m/Shell.js +1 -1
  188. package/src/sap/m/SimpleFixFlex.js +1 -1
  189. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  190. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  191. package/src/sap/m/SinglePlanningCalendarGrid.js +15 -26
  192. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +18 -3
  193. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  194. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  195. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  197. package/src/sap/m/SlideTile.js +1 -1
  198. package/src/sap/m/Slider.js +1 -1
  199. package/src/sap/m/SliderTooltip.js +1 -1
  200. package/src/sap/m/SliderTooltipBase.js +1 -1
  201. package/src/sap/m/SliderTooltipContainer.js +1 -1
  202. package/src/sap/m/SplitApp.js +1 -1
  203. package/src/sap/m/SplitButton.js +1 -1
  204. package/src/sap/m/SplitContainer.js +1 -1
  205. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  206. package/src/sap/m/StandardListItem.js +1 -1
  207. package/src/sap/m/StandardTile.js +1 -1
  208. package/src/sap/m/StandardTreeItem.js +1 -1
  209. package/src/sap/m/StepInput.js +1 -1
  210. package/src/sap/m/SuggestionItem.js +1 -1
  211. package/src/sap/m/SuggestionsPopover.js +1 -1
  212. package/src/sap/m/Switch.js +1 -1
  213. package/src/sap/m/TabContainer.js +1 -1
  214. package/src/sap/m/TabContainerItem.js +1 -1
  215. package/src/sap/m/TabStrip.js +13 -6
  216. package/src/sap/m/TabStripItem.js +1 -1
  217. package/src/sap/m/Table.js +2 -3
  218. package/src/sap/m/TablePersoController.js +1 -1
  219. package/src/sap/m/TablePersoDialog.js +1 -1
  220. package/src/sap/m/TablePersoProvider.js +1 -1
  221. package/src/sap/m/TableSelectDialog.js +1 -4
  222. package/src/sap/m/Text.js +1 -1
  223. package/src/sap/m/TextArea.js +5 -6
  224. package/src/sap/m/Tile.js +1 -1
  225. package/src/sap/m/TileAttribute.js +4 -3
  226. package/src/sap/m/TileContainer.js +1 -1
  227. package/src/sap/m/TileContent.js +1 -1
  228. package/src/sap/m/TimePicker.js +1 -1
  229. package/src/sap/m/TimePickerClock.js +1 -1
  230. package/src/sap/m/TimePickerClocks.js +1 -1
  231. package/src/sap/m/TimePickerInputs.js +1 -1
  232. package/src/sap/m/TimePickerInternals.js +1 -1
  233. package/src/sap/m/TimePickerSlider.js +1 -1
  234. package/src/sap/m/TimePickerSliders.js +1 -1
  235. package/src/sap/m/Title.js +1 -1
  236. package/src/sap/m/TitlePropagationSupport.js +1 -1
  237. package/src/sap/m/ToggleButton.js +1 -1
  238. package/src/sap/m/Token.js +1 -1
  239. package/src/sap/m/Tokenizer.js +16 -3
  240. package/src/sap/m/Toolbar.js +3 -3
  241. package/src/sap/m/ToolbarLayoutData.js +1 -1
  242. package/src/sap/m/ToolbarSeparator.js +1 -1
  243. package/src/sap/m/ToolbarSpacer.js +1 -1
  244. package/src/sap/m/Tree.js +1 -1
  245. package/src/sap/m/TreeItemBase.js +1 -1
  246. package/src/sap/m/UploadCollection.js +1 -1
  247. package/src/sap/m/UploadCollectionItem.js +1 -1
  248. package/src/sap/m/UploadCollectionParameter.js +1 -1
  249. package/src/sap/m/UploadCollectionRenderer.js +1 -1
  250. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  251. package/src/sap/m/VBox.js +1 -1
  252. package/src/sap/m/ValueStateHeader.js +2 -1
  253. package/src/sap/m/VariantItem.js +5 -1
  254. package/src/sap/m/VariantManagement.js +98 -53
  255. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  256. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  257. package/src/sap/m/ViewSettingsDialog.js +1 -1
  258. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  259. package/src/sap/m/ViewSettingsItem.js +1 -1
  260. package/src/sap/m/VisibleItem.js +1 -1
  261. package/src/sap/m/WheelSlider.js +1 -1
  262. package/src/sap/m/WheelSliderContainer.js +1 -1
  263. package/src/sap/m/Wizard.js +1 -1
  264. package/src/sap/m/WizardProgressNavigator.js +1 -1
  265. package/src/sap/m/WizardStep.js +1 -1
  266. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  267. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  268. package/src/sap/m/changeHandler/CombineButtons.js +2 -6
  269. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  270. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  271. package/src/sap/m/changeHandler/SplitMenuButton.js +2 -6
  272. package/src/sap/m/designtime/messagebundle_mk.properties +1 -1
  273. package/src/sap/m/library.js +32 -6
  274. package/src/sap/m/messagebundle.properties +12 -3
  275. package/src/sap/m/messagebundle_ar.properties +20 -5
  276. package/src/sap/m/messagebundle_bg.properties +20 -5
  277. package/src/sap/m/messagebundle_ca.properties +21 -6
  278. package/src/sap/m/messagebundle_cnr.properties +20 -5
  279. package/src/sap/m/messagebundle_cs.properties +21 -6
  280. package/src/sap/m/messagebundle_cy.properties +21 -6
  281. package/src/sap/m/messagebundle_da.properties +25 -10
  282. package/src/sap/m/messagebundle_de.properties +24 -9
  283. package/src/sap/m/messagebundle_el.properties +38 -23
  284. package/src/sap/m/messagebundle_en.properties +15 -1136
  285. package/src/sap/m/messagebundle_en_GB.properties +21 -6
  286. package/src/sap/m/messagebundle_en_US_saprigi.properties +6 -3
  287. package/src/sap/m/messagebundle_es.properties +20 -5
  288. package/src/sap/m/messagebundle_es_MX.properties +22 -7
  289. package/src/sap/m/messagebundle_et.properties +20 -5
  290. package/src/sap/m/messagebundle_fi.properties +21 -6
  291. package/src/sap/m/messagebundle_fr.properties +21 -6
  292. package/src/sap/m/messagebundle_fr_CA.properties +23 -8
  293. package/src/sap/m/messagebundle_hi.properties +21 -6
  294. package/src/sap/m/messagebundle_hr.properties +22 -7
  295. package/src/sap/m/messagebundle_hu.properties +26 -11
  296. package/src/sap/m/messagebundle_id.properties +21 -6
  297. package/src/sap/m/messagebundle_it.properties +20 -5
  298. package/src/sap/m/messagebundle_iw.properties +21 -6
  299. package/src/sap/m/messagebundle_ja.properties +20 -5
  300. package/src/sap/m/messagebundle_kk.properties +21 -6
  301. package/src/sap/m/messagebundle_ko.properties +20 -5
  302. package/src/sap/m/messagebundle_lt.properties +21 -6
  303. package/src/sap/m/messagebundle_lv.properties +20 -5
  304. package/src/sap/m/messagebundle_mk.properties +30 -15
  305. package/src/sap/m/messagebundle_ms.properties +21 -6
  306. package/src/sap/m/messagebundle_nl.properties +20 -5
  307. package/src/sap/m/messagebundle_no.properties +20 -5
  308. package/src/sap/m/messagebundle_pl.properties +22 -7
  309. package/src/sap/m/messagebundle_pt.properties +20 -5
  310. package/src/sap/m/messagebundle_pt_PT.properties +20 -5
  311. package/src/sap/m/messagebundle_ro.properties +21 -6
  312. package/src/sap/m/messagebundle_ru.properties +20 -5
  313. package/src/sap/m/messagebundle_sh.properties +20 -5
  314. package/src/sap/m/messagebundle_sk.properties +22 -7
  315. package/src/sap/m/messagebundle_sl.properties +22 -7
  316. package/src/sap/m/messagebundle_sr.properties +20 -5
  317. package/src/sap/m/messagebundle_sv.properties +21 -6
  318. package/src/sap/m/messagebundle_th.properties +20 -5
  319. package/src/sap/m/messagebundle_tr.properties +20 -5
  320. package/src/sap/m/messagebundle_uk.properties +21 -6
  321. package/src/sap/m/messagebundle_vi.properties +21 -6
  322. package/src/sap/m/messagebundle_zh_CN.properties +20 -5
  323. package/src/sap/m/messagebundle_zh_TW.properties +21 -6
  324. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  325. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  326. package/src/sap/m/p13n/BasePanel.js +1 -1
  327. package/src/sap/m/p13n/Container.js +1 -1
  328. package/src/sap/m/p13n/Engine.js +11 -3
  329. package/src/sap/m/p13n/FilterController.js +1 -1
  330. package/src/sap/m/p13n/FilterPanel.js +1 -1
  331. package/src/sap/m/p13n/GroupController.js +1 -1
  332. package/src/sap/m/p13n/GroupPanel.js +1 -1
  333. package/src/sap/m/p13n/Popup.js +1 -1
  334. package/src/sap/m/p13n/QueryPanel.js +7 -4
  335. package/src/sap/m/p13n/SelectionController.js +1 -1
  336. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  337. package/src/sap/m/p13n/SortController.js +1 -1
  338. package/src/sap/m/p13n/SortPanel.js +1 -1
  339. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  340. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  341. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  342. package/src/sap/m/plugins/CellSelector.js +615 -183
  343. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  344. package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
  345. package/src/sap/m/plugins/CopyProvider.js +1 -1
  346. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  347. package/src/sap/m/plugins/PasteProvider.js +1 -1
  348. package/src/sap/m/plugins/PluginBase.js +1 -1
  349. package/src/sap/m/semantic/AddAction.js +1 -1
  350. package/src/sap/m/semantic/CancelAction.js +1 -1
  351. package/src/sap/m/semantic/DeleteAction.js +1 -1
  352. package/src/sap/m/semantic/DetailPage.js +1 -1
  353. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  354. package/src/sap/m/semantic/EditAction.js +1 -1
  355. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  356. package/src/sap/m/semantic/FilterAction.js +1 -1
  357. package/src/sap/m/semantic/FilterSelect.js +1 -1
  358. package/src/sap/m/semantic/FlagAction.js +1 -1
  359. package/src/sap/m/semantic/ForwardAction.js +1 -1
  360. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  361. package/src/sap/m/semantic/GroupAction.js +1 -1
  362. package/src/sap/m/semantic/GroupSelect.js +1 -1
  363. package/src/sap/m/semantic/MainAction.js +1 -1
  364. package/src/sap/m/semantic/MasterPage.js +1 -1
  365. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  366. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  367. package/src/sap/m/semantic/NegativeAction.js +1 -1
  368. package/src/sap/m/semantic/OpenInAction.js +1 -1
  369. package/src/sap/m/semantic/PositiveAction.js +1 -1
  370. package/src/sap/m/semantic/PrintAction.js +1 -1
  371. package/src/sap/m/semantic/SaveAction.js +1 -1
  372. package/src/sap/m/semantic/Segment.js +1 -1
  373. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  374. package/src/sap/m/semantic/SemanticButton.js +1 -1
  375. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  376. package/src/sap/m/semantic/SemanticControl.js +1 -1
  377. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  378. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  379. package/src/sap/m/semantic/SemanticPage.js +1 -1
  380. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  381. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  382. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  383. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  384. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  385. package/src/sap/m/semantic/ShareMenu.js +1 -1
  386. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  387. package/src/sap/m/semantic/SortAction.js +1 -1
  388. package/src/sap/m/semantic/SortSelect.js +1 -1
  389. package/src/sap/m/table/ColumnWidthController.js +1 -1
  390. package/src/sap/m/table/Util.js +15 -2
  391. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  392. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  393. package/src/sap/m/table/columnmenu/Item.js +1 -1
  394. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  395. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  396. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  397. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  398. package/src/sap/m/table/columnmenu/QuickActionItem.js +24 -1
  399. package/src/sap/m/table/columnmenu/QuickGroup.js +3 -3
  400. package/src/sap/m/table/columnmenu/QuickGroupItem.js +2 -7
  401. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  402. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  403. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  404. package/src/sap/m/table/columnmenu/QuickTotalItem.js +2 -7
  405. package/src/sap/m/themes/base/CellSelector.less +9 -5
  406. package/src/sap/m/themes/base/ColorPalette.less +28 -15
  407. package/src/sap/m/themes/base/DateTimePicker.less +0 -1
  408. package/src/sap/m/themes/base/Dialog.less +1 -0
  409. package/src/sap/m/themes/base/FeedInput.less +0 -4
  410. package/src/sap/m/themes/base/GenericTile.less +7 -1
  411. package/src/sap/m/themes/base/IconTabBar.less +41 -74
  412. package/src/sap/m/themes/base/IllustratedMessage.less +29 -21
  413. package/src/sap/m/themes/base/MenuButton.less +2 -2
  414. package/src/sap/m/themes/base/MultiComboBox.less +4 -2
  415. package/src/sap/m/themes/base/ObjectMarker.less +6 -0
  416. package/src/sap/m/themes/base/Panel.less +1 -0
  417. package/src/sap/m/themes/base/RadioButton.less +4 -0
  418. package/src/sap/m/themes/base/RadioButtonGroup.less +24 -2
  419. package/src/sap/m/themes/base/UploadCollection.less +0 -1
  420. package/src/sap/m/themes/base/UploadSet.less +5 -0
  421. package/src/sap/m/themes/base/VariantManagement.less +5 -0
  422. package/src/sap/m/themes/base/ViewSettingsDialog.less +2 -1
  423. package/src/sap/m/themes/base/illustrations/{sapIllus-Dot-SimpleCheckmark.svg → sapIllus-Dot-SimpleCheckMark.svg} +1 -1
  424. package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
  425. package/src/sap/m/upload/Column.js +1 -1
  426. package/src/sap/m/upload/FilePreviewDialog.js +4 -3
  427. package/src/sap/m/upload/UploadSet.js +1 -1
  428. package/src/sap/m/upload/UploadSetItem.js +5 -3
  429. package/src/sap/m/upload/UploadSetRenderer.js +1 -1
  430. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  431. package/src/sap/m/upload/UploadSetwithTable.js +1 -1
  432. package/src/sap/m/upload/UploadSetwithTableItem.js +1 -1
  433. package/src/sap/m/upload/UploaderTableItem.js +1 -1
  434. package/src/sap/m/upload/p13n/PersManager.js +1 -1
  435. package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
  436. package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +1 -1
  437. package/src/sap/m/upload/p13n/mediator/FilterMediator.js +1 -1
  438. package/src/sap/m/upload/p13n/mediator/GroupMediator.js +1 -1
  439. package/src/sap/m/upload/p13n/mediator/SortMediator.js +1 -1
  440. package/src/sap/m/upload/p13n/modules/PersPopupManager.js +1 -1
@@ -206,7 +206,7 @@ sap.ui.define([
206
206
  * {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
207
207
  *
208
208
  * @extends sap.ui.core.Control
209
- * @version 1.121.1
209
+ * @version 1.122.1
210
210
  *
211
211
  * @constructor
212
212
  * @public
@@ -870,6 +870,7 @@ sap.ui.define([
870
870
  }.bind(this));
871
871
  this._rowHeaderPressEventKeyboard = oRowHeader.on("keydown", function (oEvent) {
872
872
  if (oEvent.which === KeyCodes.SPACE || oEvent.which === KeyCodes.ENTER) {
873
+ oEvent.preventDefault();
873
874
  var oRowListItem = Element.closestTo(oEvent.currentTarget),
874
875
  oRow = getRow(oRowListItem),
875
876
  sRowHeaderId = oRowListItem.getAggregation("cells")[0].getId();
@@ -1224,7 +1225,7 @@ sap.ui.define([
1224
1225
  return { primaryType: sResult, secondaryType: sResultInSecType };
1225
1226
  };
1226
1227
 
1227
- PlanningCalendar.prototype._getPrimaryCalendarType = function(){
1228
+ PlanningCalendar.prototype._getPrimaryCalendarType = function() {
1228
1229
  return this.getProperty("primaryCalendarType") || Formatting.getCalendarType();
1229
1230
  };
1230
1231
 
@@ -1235,8 +1236,18 @@ sap.ui.define([
1235
1236
  * @private
1236
1237
  */
1237
1238
  PlanningCalendar.prototype._getFirstAndLastRangeDate = function () {
1238
- var oUniStartDate = CalendarUtils._createUniversalUTCDate(this.getStartDate(), this._getPrimaryCalendarType(), true),
1239
- oUniEndDate = CalendarUtils._createUniversalUTCDate(this._dateNav.getEnd(), this._getPrimaryCalendarType(), true);
1239
+ var oStartDate = this.getStartDate(),
1240
+ oMinDate = this.getMinDate(),
1241
+ oStartRange = oStartDate,
1242
+ oUniStartDate,
1243
+ oUniEndDate;
1244
+
1245
+ if (oMinDate && oMinDate.getTime() > oStartDate.getTime() && this._isWeekOrOneMonthView(this.getViewKey())) {
1246
+ oStartRange = oMinDate;
1247
+ }
1248
+
1249
+ oUniStartDate = CalendarUtils._createUniversalUTCDate(oStartRange, this._getPrimaryCalendarType(), true);
1250
+ oUniEndDate = CalendarUtils._createUniversalUTCDate(this._dateNav.getEnd(), this._getPrimaryCalendarType(), true);
1240
1251
 
1241
1252
  return {
1242
1253
  oStartDate: oUniStartDate,
@@ -1310,15 +1321,9 @@ sap.ui.define([
1310
1321
  * @public
1311
1322
  */
1312
1323
  PlanningCalendar.prototype.getVisibleIntervalsCount = function () {
1313
- var sViewKey = this.getViewKey();
1314
- if ((sViewKey === CalendarIntervalType.OneMonth || sViewKey === "OneMonth") && this._iSize < 2) {
1315
- var oFirstVisibleDate = CalendarUtils.getFirstDateOfWeek(CalendarUtils._createUniversalUTCDate(this.getStartDate(), this._getPrimaryCalendarType(), false)),
1316
- oFirstDateInLastWeek = CalendarUtils.getFirstDateOfWeek(CalendarUtils._createUniversalUTCDate(this._dateNav.getEnd(), this._getPrimaryCalendarType(), false)),
1317
- oLastVisibleDate = UI5Date.getInstance(oFirstDateInLastWeek.getTime());
1318
-
1319
- oLastVisibleDate.setDate(oLastVisibleDate.getDate() + 6);
1320
-
1321
- return ((oLastVisibleDate.getTime() - oFirstVisibleDate.getTime()) / 86400000) + 1;
1324
+ if (this._isOneMonthView(this.getViewKey()) && this._iSize < 2) {
1325
+ const aVisibleDays = this._oOneMonthsRow._getVisibleDays();
1326
+ return aVisibleDays.length;
1322
1327
  } else {
1323
1328
  return this._getIntervals(this._getView(this.getViewKey()));
1324
1329
  }
@@ -1528,7 +1533,9 @@ sap.ui.define([
1528
1533
  * @public
1529
1534
  */
1530
1535
  PlanningCalendar.prototype.setStartDate = function(oDate) {
1531
- var oStartDate;
1536
+ var oStartDate,
1537
+ oMinDate = this.getMinDate(),
1538
+ sViewKey = this.getViewKey();
1532
1539
 
1533
1540
  if (!oDate) {
1534
1541
  //set default value
@@ -1552,10 +1559,11 @@ sap.ui.define([
1552
1559
  var iYear = oStartDate.getFullYear();
1553
1560
  CalendarUtils._checkYearInValidRange(iYear);
1554
1561
 
1555
- var oMinDate = this.getMinDate();
1556
1562
  if (oMinDate && oMinDate.getTime() > oStartDate.getTime()) {
1557
- Log.warning("StartDate < minDate -> StartDate set to minDate", this);
1558
- oStartDate = UI5Date.getInstance(oMinDate.getTime());
1563
+ if (!this._isWeekOrOneMonthView(sViewKey)) {
1564
+ Log.warning("StartDate < minDate -> StartDate set to minDate", this);
1565
+ oStartDate = UI5Date.getInstance(oMinDate.getTime());
1566
+ }
1559
1567
  } else {
1560
1568
  var oMaxDate = this.getMaxDate();
1561
1569
  if (oMaxDate && oMaxDate.getTime() < oStartDate.getTime()) {
@@ -1582,13 +1590,16 @@ sap.ui.define([
1582
1590
 
1583
1591
  // in OneMonth view there is selection,
1584
1592
  // start date of the rows should match the selected date
1585
- if ((this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._oOneMonthsRow.getMode() < 2 && this._oOneMonthsRow.getSelectedDates().length) {
1593
+ if (this._isOneMonthView(sViewKey)
1594
+ && this._oOneMonthsRow
1595
+ && this._oOneMonthsRow.getMode() < 2
1596
+ && this._oOneMonthsRow.getSelectedDates().length) {
1586
1597
  this._setRowsStartDate(this._oOneMonthsRow.getSelectedDates()[0].getStartDate());
1587
1598
  } else {
1588
1599
  this._setRowsStartDate(UI5Date.getInstance(oStartDate.getTime()));
1589
1600
  }
1590
1601
 
1591
- if (this.getViewKey() === PlanningCalendarBuiltInView.Week || this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") {
1602
+ if (this._isWeekOrOneMonthView(sViewKey)) {
1592
1603
  this._updateTodayButtonState();
1593
1604
  }
1594
1605
 
@@ -1682,14 +1693,15 @@ sap.ui.define([
1682
1693
  * @returns {this} Reference to <code>this</code> for method chaining
1683
1694
  * @public
1684
1695
  */
1685
- PlanningCalendar.prototype.setMinDate = function(oDate){
1696
+ PlanningCalendar.prototype.setMinDate = function(oDate) {
1686
1697
 
1687
1698
  if (deepEqual(oDate, this.getMinDate())) {
1688
1699
  return this;
1689
1700
  }
1690
1701
 
1691
1702
  var oMaxDate = this.getMaxDate(),
1692
- oHeader = this._getHeader();
1703
+ oHeader = this._getHeader(),
1704
+ oMinDate;
1693
1705
 
1694
1706
  if (oDate) {
1695
1707
  CalendarUtils._checkJSDateObject(oDate);
@@ -1697,16 +1709,33 @@ sap.ui.define([
1697
1709
  var iYear = oDate.getFullYear();
1698
1710
  CalendarUtils._checkYearInValidRange(iYear);
1699
1711
 
1700
- this.setProperty("minDate", oDate, true);
1712
+ oMinDate = UI5Date.getInstance(oDate.getTime());
1713
+
1714
+ this.setProperty("minDate", oMinDate, true);
1701
1715
  this._bNoStartDateChange = true; // set the start date after all calendars are updated
1702
1716
 
1703
- oHeader.getAggregation("_calendarPicker").setMinDate(UI5Date.getInstance(oDate.getTime()));
1704
- oHeader.getAggregation("_monthPicker").setMinDate(UI5Date.getInstance(oDate.getTime()));
1705
- oHeader.getAggregation("_yearPicker").setMinDate(UI5Date.getInstance(oDate.getTime()));
1717
+ oHeader.getAggregation("_calendarPicker").setMinDate(oMinDate);
1718
+ oHeader.getAggregation("_monthPicker").setMinDate(oMinDate);
1719
+ oHeader.getAggregation("_yearPicker").setMinDate(oMinDate);
1720
+
1721
+ if (this._oDatesRow) {
1722
+ this._oDatesRow._oMinDate = oMinDate;
1723
+ this._oDatesRow.invalidate();
1724
+ }
1725
+
1726
+ if (this._oWeeksRow) {
1727
+ this._oWeeksRow._oMinDate = oMinDate;
1728
+ this._oWeeksRow.invalidate();
1729
+ }
1730
+
1731
+ if (this._oOneMonthsRow) {
1732
+ this._oOneMonthsRow._oMinDate = oMinDate;
1733
+ this._oOneMonthsRow.invalidate();
1734
+ }
1706
1735
 
1707
1736
  if (oMaxDate && oMaxDate.getTime() < oDate.getTime()) {
1708
1737
  Log.warning("minDate > maxDate -> maxDate set to end of the month", this);
1709
- oMaxDate = UI5Date.getInstance(oDate.getTime());
1738
+ oMaxDate = oMinDate;
1710
1739
  oMaxDate.setMonth(oMaxDate.getMonth() + 1, 0);
1711
1740
  oMaxDate.setHours(23);
1712
1741
  oMaxDate.setMinutes(59);
@@ -1717,9 +1746,9 @@ sap.ui.define([
1717
1746
 
1718
1747
  this._bNoStartDateChange = undefined;
1719
1748
  var oStartDate = this.getStartDate();
1720
- if (oStartDate && oStartDate.getTime() < oDate.getTime()) {
1749
+ if (oStartDate && oStartDate.getTime() < oMinDate.getTime()) {
1721
1750
  Log.warning("StartDate < minDate -> StartDate set to minDate", this);
1722
- oStartDate = UI5Date.getInstance(oDate.getTime());
1751
+ oStartDate = oMinDate;
1723
1752
  this.setStartDate(oStartDate);
1724
1753
  oHeader.updatePickerText(this._formatPickerText());
1725
1754
  }
@@ -1731,12 +1760,17 @@ sap.ui.define([
1731
1760
  }
1732
1761
 
1733
1762
  var oToday = UI5Date.getInstance();
1734
- if (oDate && oToday.getTime() < oDate.getTime()) {
1763
+ if (oDate && oToday.getTime() < oMinDate.getTime()) {
1735
1764
  this._oTodayButton.setVisible(false);
1736
1765
  } else if (!oMaxDate || oToday.getTime() < oMaxDate.getTime()) {
1737
1766
  this._oTodayButton.setVisible(true);
1738
1767
  }
1739
1768
 
1769
+ if (this.getDomRef()) {
1770
+ this._updatePickerSelection();
1771
+ this._updateHeaderButtons();
1772
+ }
1773
+
1740
1774
  return this;
1741
1775
 
1742
1776
  };
@@ -1747,14 +1781,15 @@ sap.ui.define([
1747
1781
  * @returns {this} Reference to <code>this</code> for method chaining
1748
1782
  * @public
1749
1783
  */
1750
- PlanningCalendar.prototype.setMaxDate = function(oDate){
1784
+ PlanningCalendar.prototype.setMaxDate = function(oDate) {
1751
1785
 
1752
1786
  if (deepEqual(oDate, this.getMaxDate())) {
1753
1787
  return this;
1754
1788
  }
1755
1789
 
1756
1790
  var oMinDate = this.getMinDate(),
1757
- oHeader = this._getHeader();
1791
+ oHeader = this._getHeader(),
1792
+ oMaxDate;
1758
1793
 
1759
1794
  if (oDate) {
1760
1795
  CalendarUtils._checkJSDateObject(oDate);
@@ -1762,16 +1797,33 @@ sap.ui.define([
1762
1797
  var iYear = oDate.getFullYear();
1763
1798
  CalendarUtils._checkYearInValidRange(iYear);
1764
1799
 
1765
- this.setProperty("maxDate", oDate, true);
1800
+ oMaxDate = UI5Date.getInstance(oDate.getTime());
1801
+
1802
+ this.setProperty("maxDate", oMaxDate, true);
1766
1803
  this._bNoStartDateChange = true; // set the start date after all calendars are updated
1767
1804
 
1768
- oHeader.getAggregation("_calendarPicker").setMaxDate(UI5Date.getInstance(oDate.getTime()));
1769
- oHeader.getAggregation("_monthPicker").setMaxDate(UI5Date.getInstance(oDate.getTime()));
1770
- oHeader.getAggregation("_yearPicker").setMaxDate(UI5Date.getInstance(oDate.getTime()));
1805
+ oHeader.getAggregation("_calendarPicker").setMaxDate(oMaxDate);
1806
+ oHeader.getAggregation("_monthPicker").setMaxDate(oMaxDate);
1807
+ oHeader.getAggregation("_yearPicker").setMaxDate(oMaxDate);
1808
+
1809
+ if (this._oDatesRow) {
1810
+ this._oDatesRow._oMaxDate = oMaxDate;
1811
+ this._oDatesRow.invalidate();
1812
+ }
1813
+
1814
+ if (this._oWeeksRow) {
1815
+ this._oWeeksRow._oMaxDate = oMaxDate;
1816
+ this._oWeeksRow.invalidate();
1817
+ }
1771
1818
 
1772
- if (oMinDate && oMinDate.getTime() > oDate.getTime()) {
1819
+ if (this._oOneMonthsRow) {
1820
+ this._oOneMonthsRow._oMaxDate = oMaxDate;
1821
+ this._oOneMonthsRow.invalidate();
1822
+ }
1823
+
1824
+ if (oMinDate && oMinDate.getTime() > oMaxDate.getTime()) {
1773
1825
  Log.warning("maxDate < minDate -> maxDate set to begin of the month", this);
1774
- oMinDate = UI5Date.getInstance(oDate.getTime());
1826
+ oMinDate = oMaxDate;
1775
1827
  oMinDate.setDate(1);
1776
1828
  oMinDate.setHours(0);
1777
1829
  oMinDate.setMinutes(0);
@@ -1782,7 +1834,7 @@ sap.ui.define([
1782
1834
 
1783
1835
  this._bNoStartDateChange = undefined;
1784
1836
  var oStartDate = this.getStartDate();
1785
- if (oStartDate && oStartDate.getTime() > oDate.getTime()) {
1837
+ if (oStartDate && oStartDate.getTime() > oMaxDate.getTime()) {
1786
1838
  Log.warning("StartDate > maxDate -> StartDate set to minDate", this);
1787
1839
  if (oMinDate) {
1788
1840
  oStartDate = UI5Date.getInstance(oMinDate.getTime());
@@ -1802,12 +1854,17 @@ sap.ui.define([
1802
1854
  }
1803
1855
 
1804
1856
  var oToday = UI5Date.getInstance();
1805
- if (oDate && oToday.getTime() > oDate.getTime()) {
1857
+ if (oDate && oToday.getTime() > oMaxDate.getTime()) {
1806
1858
  this._oTodayButton.setVisible(false);
1807
1859
  } else if (!oMinDate || oToday.getTime() > oMinDate.getTime()) {
1808
1860
  this._oTodayButton.setVisible(true);
1809
1861
  }
1810
1862
 
1863
+ if (this.getDomRef()) {
1864
+ this._updatePickerSelection();
1865
+ this._updateHeaderButtons();
1866
+ }
1867
+
1811
1868
  return this;
1812
1869
 
1813
1870
  };
@@ -1852,7 +1909,9 @@ sap.ui.define([
1852
1909
  var oInterval, oOldStartDate, oIntervalMetadata,
1853
1910
  sOldViewKey = this.getViewKey(),
1854
1911
  oHeader = this._getHeader(),
1855
- oSelectedDate;
1912
+ oSelectedDate,
1913
+ oFirstDateOfMonth,
1914
+ oJSDate;
1856
1915
 
1857
1916
  this.setProperty("viewKey", sKey, true);
1858
1917
 
@@ -1914,6 +1973,23 @@ sap.ui.define([
1914
1973
  case CalendarIntervalType.Week:
1915
1974
  case CalendarIntervalType.OneMonth:
1916
1975
  case "OneMonth":
1976
+ if (oStartDate && oMinDate && oStartDate.getTime() <= oMinDate.getTime()) {
1977
+ if (sKey === CalendarIntervalType.Week) {
1978
+ var oWeekConfigurationValues = this._getWeekConfigurationValues(),
1979
+ oFirstWeekDay = CalendarUtils.getFirstDateOfWeek(CalendarUtils._createUniversalUTCDate(oMinDate, undefined, true), oWeekConfigurationValues),
1980
+ oLocalDate = CalendarUtils._createLocalDate(oFirstWeekDay, true);
1981
+
1982
+ oStartDate = UI5Date.getInstance(oLocalDate.getTime());
1983
+ } else if (this._isOneMonthView(sKey) && this._iSize && this._iSize === 2) {
1984
+ oFirstDateOfMonth = CalendarUtils._getFirstDateOfMonth(CalendarDate.fromLocalJSDate(oMinDate, this._getPrimaryCalendarType()));
1985
+ oJSDate = oFirstDateOfMonth.toLocalJSDate();
1986
+ oStartDate = UI5Date.getInstance(oJSDate.getTime());
1987
+ } else {
1988
+ oStartDate = UI5Date.getInstance(oMinDate.getTime());
1989
+ }
1990
+ this.setStartDate(oStartDate);
1991
+ }
1992
+
1917
1993
  //Date, Week and OneMonth intervals share the same object artifacts
1918
1994
  oIntervalMetadata = INTERVAL_METADATA[sIntervalType];
1919
1995
  oInterval = this[oIntervalMetadata.sInstanceName];
@@ -1933,10 +2009,13 @@ sap.ui.define([
1933
2009
  oInterval.attachEvent("select", this._handleCalendarSelect, this);
1934
2010
  oInterval.attachEvent("focus", this._handleFocus, this);
1935
2011
 
1936
- if (sKey === PlanningCalendarBuiltInView.OneMonth || sKey === "OneMonth") {
2012
+ if (this._isOneMonthView(sKey)) {
1937
2013
  oInterval._setRowsStartDate = this._setRowsStartDate.bind(this);
1938
2014
  }
1939
2015
 
2016
+ oInterval._oMinDate = oMinDate;
2017
+ oInterval._oMaxDate = oMaxDate;
2018
+
1940
2019
  oInterval._oPlanningCalendar = this;
1941
2020
  oInterval._getSpecialDates = function(){
1942
2021
  return this._oPlanningCalendar._getSpecialDates();
@@ -2056,7 +2135,7 @@ sap.ui.define([
2056
2135
  this._updatePickerSelection();
2057
2136
  }
2058
2137
 
2059
- if (sKey === PlanningCalendarBuiltInView.Week || sKey === PlanningCalendarBuiltInView.OneMonth || sKey === PlanningCalendarBuiltInView.Month || sKey === "OneMonth") {
2138
+ if (this._isWeekOrOneMonthView(sKey) || sKey === PlanningCalendarBuiltInView.Month) {
2060
2139
  oOldStartDate = this.getStartDate();
2061
2140
 
2062
2141
  this.setStartDate(UI5Date.getInstance(oOldStartDate.getTime())); //make sure the start date is aligned according to the week/month rules
@@ -2065,23 +2144,22 @@ sap.ui.define([
2065
2144
  }
2066
2145
  }
2067
2146
 
2068
- if (this._oOneMonthsRow && (sKey === PlanningCalendarBuiltInView.OneMonth || sKey === "OneMonth")) {
2147
+ if (this._oOneMonthsRow && this._isOneMonthView(sKey)) {
2069
2148
  this._oOneMonthsRow.setMode(this._iSize);
2070
- this._oOldStartDate = UI5Date.getInstance(this.getStartDate().getTime());
2071
- this._adjustSelectedDate(CalendarDate.fromLocalJSDate(oOldStartDate, this._getPrimaryCalendarType()));
2149
+ this._adjustSelectedDate(CalendarDate.fromLocalJSDate(oStartDate, this._getPrimaryCalendarType()));
2072
2150
 
2073
2151
  if (this._iSize < 2) {
2074
- this._setRowsStartDate(oOldStartDate);
2152
+ this._setRowsStartDate(oStartDate);
2075
2153
  }
2076
2154
  } else if (this._oOneMonthsRow
2077
- && (sOldViewKey === PlanningCalendarBuiltInView.OneMonth || sOldViewKey === "OneMonth")
2155
+ && this._isOneMonthView(sOldViewKey)
2078
2156
  && this._oOneMonthsRow.getSelectedDates().length) {
2079
2157
  oSelectedDate = this._oOneMonthsRow.getSelectedDates()[0].getStartDate();
2080
2158
  if (oSelectedDate) {
2081
- oSelectedDate.setHours(this._oOldStartDate.getHours());
2082
- oSelectedDate.setMinutes(this._oOldStartDate.getMinutes());
2083
- oSelectedDate.setSeconds(this._oOldStartDate.getSeconds());
2084
- oSelectedDate.setMilliseconds(this._oOldStartDate.getMilliseconds());
2159
+ oSelectedDate.setHours(oSelectedDate.getHours());
2160
+ oSelectedDate.setMinutes(oSelectedDate.getMinutes());
2161
+ oSelectedDate.setSeconds(oSelectedDate.getSeconds());
2162
+ oSelectedDate.setMilliseconds(oSelectedDate.getMilliseconds());
2085
2163
  this.setStartDate(oSelectedDate);
2086
2164
  }
2087
2165
  }
@@ -2146,6 +2224,13 @@ sap.ui.define([
2146
2224
  };
2147
2225
 
2148
2226
  PlanningCalendar.prototype._updateWeekConfiguration = function() {
2227
+ var oWeekConfiguration = this._getWeekConfigurationValues();
2228
+
2229
+ this._dateNav.setWeekConfiguration(oWeekConfiguration);
2230
+ this.setStartDate(this._dateNav.getStart());
2231
+ };
2232
+
2233
+ PlanningCalendar.prototype._getWeekConfigurationValues = function() {
2149
2234
  var sLocale = new Locale(Formatting.getLanguageTag()).toString(),
2150
2235
  sCalendarWeekNumbering = this.getCalendarWeekNumbering(),
2151
2236
  iFirstDayOfWeek = this.getFirstDayOfWeek(),
@@ -2154,9 +2239,7 @@ sap.ui.define([
2154
2239
  if (iFirstDayOfWeek > -1 ) {
2155
2240
  oWeekConfiguration.firstDayOfWeek = iFirstDayOfWeek;
2156
2241
  }
2157
-
2158
- this._dateNav.setWeekConfiguration(oWeekConfiguration);
2159
- this.setStartDate(this._dateNav.getStart());
2242
+ return oWeekConfiguration;
2160
2243
  };
2161
2244
 
2162
2245
  PlanningCalendar.prototype._handleFocus = function (oEvent) {
@@ -2232,16 +2315,9 @@ sap.ui.define([
2232
2315
  * is because the dates are timezone irrelevant), it should be called with the local datetime values presented
2233
2316
  * as UTC ones(e.g. if oStartDate is 21 Dec 1981, 13:00 GMT+02:00, it will be converted to 21 Dec 1981, 13:00 GMT+00:00)
2234
2317
  */
2235
- var sLocale = new Locale(Formatting.getLanguageTag()).toString(),
2236
- oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(sLocale)),
2237
- oFirstDateOfWeek,
2238
- oLocalDate;
2239
-
2240
- if (this.getFirstDayOfWeek() > -1) {
2241
- oWeekConfigurationValues.firstDayOfWeek = this.getFirstDayOfWeek();
2242
- }
2243
- oFirstDateOfWeek = CalendarUtils.getFirstDateOfWeek(CalendarUtils._createUniversalUTCDate(oStartDate, undefined, true), oWeekConfigurationValues);
2244
- oLocalDate = CalendarUtils._createLocalDate(oFirstDateOfWeek, true);
2318
+ var oWeekConfigurationValues = this._getWeekConfigurationValues(),
2319
+ oFirstDateOfWeek = CalendarUtils.getFirstDateOfWeek(CalendarUtils._createUniversalUTCDate(oStartDate, undefined, true), oWeekConfigurationValues),
2320
+ oLocalDate = CalendarUtils._createLocalDate(oFirstDateOfWeek, true);
2245
2321
  if (this.getFirstDayOfWeek() > -1) {
2246
2322
  oLocalDate.setDate(oLocalDate.getDate() - oLocalDate.getDay() + this.getFirstDayOfWeek());
2247
2323
  }
@@ -2299,7 +2375,13 @@ sap.ui.define([
2299
2375
  * @private
2300
2376
  */
2301
2377
  PlanningCalendar.prototype._adjustSelectedDate = function(oSelectDate) {
2302
- var oLocaleDate = oSelectDate.toLocalJSDate();
2378
+ var oLocaleDate = oSelectDate.toLocalJSDate(),
2379
+ oMinDate = this.getMinDate();
2380
+
2381
+ if (oMinDate && oLocaleDate.getTime() < oMinDate.getTime()) {
2382
+ oLocaleDate = UI5Date.getInstance(oMinDate.getTime());
2383
+ }
2384
+
2303
2385
 
2304
2386
  if (this._oOneMonthsRow.getMode && this._oOneMonthsRow.getMode() < 2) {
2305
2387
  this._oOneMonthsRow.removeAllSelectedDates();
@@ -2579,7 +2661,7 @@ sap.ui.define([
2579
2661
  PlanningCalendar.prototype._updateStickyHeader = function() {
2580
2662
  var aStickyParts = [],
2581
2663
  bStick = this.getStickyHeader(),
2582
- bMobile1MonthView = (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._iSize < 2,
2664
+ bMobile1MonthView = this._isOneMonthView(this.getViewKey()) && this._iSize < 2,
2583
2665
  bStickyToolbar = bStick && !Device.system.phone && !bMobile1MonthView,
2584
2666
  bStickyInfoToolbar = bStick && !(Device.system.phone && Device.orientation.landscape) && !bMobile1MonthView;
2585
2667
 
@@ -2995,6 +3077,14 @@ sap.ui.define([
2995
3077
  return oResult;
2996
3078
  };
2997
3079
 
3080
+ PlanningCalendar.prototype._isOneMonthView = function(sViewKey) {
3081
+ return sViewKey === PlanningCalendarBuiltInView.OneMonth || sViewKey === "OneMonth";
3082
+ };
3083
+
3084
+ PlanningCalendar.prototype._isWeekOrOneMonthView = function(sViewKey) {
3085
+ return sViewKey === PlanningCalendarBuiltInView.Week || this._isOneMonthView(sViewKey);
3086
+ };
3087
+
2998
3088
  /**
2999
3089
  * Gets the correct <code>PlanningCalendarView</code> interval depending on the screen size.
3000
3090
  * @param {PlanningCalendarView} oView Target view
@@ -3145,7 +3235,7 @@ sap.ui.define([
3145
3235
 
3146
3236
  // if the OneMonth view is selected and Today btn is pressed,
3147
3237
  // the calendar should start from the 1st date of the current month
3148
- if (sViewKey === PlanningCalendarBuiltInView.OneMonth || sViewKey === "OneMonth") {
3238
+ if (this._isOneMonthView(sViewKey)) {
3149
3239
  oStartDate = CalendarUtils._getFirstDateOfMonth(CalendarDate.fromLocalJSDate(oDate, this._getPrimaryCalendarType()));
3150
3240
  this._adjustSelectedDate(CalendarDate.fromLocalJSDate(oDate, this._getPrimaryCalendarType()));
3151
3241
 
@@ -3164,7 +3254,7 @@ sap.ui.define([
3164
3254
  this._dateNav.setCurrent(oDate);
3165
3255
  if (sViewKey === PlanningCalendarBuiltInView.Week) {
3166
3256
  this._oWeeksRow.addDelegate(oFocusMonthDelegate, this._oWeeksRow);
3167
- } else if (sViewKey === PlanningCalendarBuiltInView.OneMonth || sViewKey === "OneMonth") {
3257
+ } else if (this._isOneMonthView(sViewKey)) {
3168
3258
  this._oOneMonthsRow.addDelegate(oFocusMonthDelegate, this._oOneMonthsRow);
3169
3259
  }
3170
3260
  this._updatePickerSelection();
@@ -3282,17 +3372,18 @@ sap.ui.define([
3282
3372
  if (CalendarUtils.monthsDiffer(this.getStartDate(), oEvtSelectedStartCalendarDate.toLocalJSDate())) {
3283
3373
  this.setStartDate(oEvtSelectedStartCalendarDate.toLocalJSDate());
3284
3374
  this._getHeader().updatePickerText(this._formatPickerText());
3375
+ this.fireStartDateChange();
3285
3376
  }
3286
3377
  this._setRowsStartDate(oFocusedDate);
3287
3378
  this._oOneMonthsRow._focusDate(CalendarDate.fromLocalJSDate(oFocusedDate, this._getPrimaryCalendarType()), true);
3288
3379
  } else if (CalendarUtils._isNextMonth(oEvtSelectedStartCalendarDate.toLocalJSDate(), this.getStartDate())) {
3289
- this.shiftToDate(oEvtSelectedStartCalendarDate.toLocalJSDate());
3380
+ this.shiftToDate(oEvtSelectedStartCalendarDate.toLocalJSDate(), true);
3290
3381
  this._addMonthFocusDelegate(this._getRowInstanceByViewKey(this.getViewKey()));
3291
3382
  oEndDate.setUTCDate(oEndDate.getUTCDate() + 1);
3292
3383
  oEndDate.setUTCMilliseconds(oEndDate.getUTCMilliseconds() - 1);
3293
3384
  oEndDate = CalendarUtils._createLocalDate(oEndDate, true);
3294
-
3295
- return this.fireIntervalSelect({startDate: oEvtSelectedStartDate, endDate: oEndDate, subInterval: false, row: undefined});
3385
+ this.fireIntervalSelect({startDate: oEvtSelectedStartDate, endDate: oEndDate, subInterval: false, row: undefined});
3386
+ return;
3296
3387
  }
3297
3388
  oEndDate.setUTCDate(oEndDate.getUTCDate() + 1);
3298
3389
  break;
@@ -3744,8 +3835,9 @@ sap.ui.define([
3744
3835
  */
3745
3836
  PlanningCalendar.prototype._updateRowTimeline = function (oRow) {
3746
3837
  var oRowTimeline = getRowTimeline(oRow),
3747
- sKey, oView, sIntervalType, iIntervals, iIntervalSize,
3748
- bMobile1MonthView = (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._iSize < 2,
3838
+ sKey = this.getViewKey(),
3839
+ oView, sIntervalType, iIntervals, iIntervalSize,
3840
+ bMobile1MonthView = this._isOneMonthView(sKey) && this._iSize < 2,
3749
3841
  oStartDate = this.getStartDate();
3750
3842
 
3751
3843
  oRowTimeline.setNonWorkingDays(oRow.getNonWorkingDays());
@@ -100,7 +100,7 @@ function(
100
100
  * @extends sap.ui.core.Control
101
101
  *
102
102
  * @author SAP SE
103
- * @version 1.121.1
103
+ * @version 1.122.1
104
104
  *
105
105
  * @constructor
106
106
  * @private
@@ -370,8 +370,15 @@ function(
370
370
  press: function () {
371
371
  if (this.fireEvent("_pickerButtonPress", {}, true)) {
372
372
  var oDate = this.getStartDate() || UI5Date.getInstance(),
373
- sCurrentPickerId = this.getAssociation("currentPicker");
373
+ sCurrentPickerId = this.getAssociation("currentPicker"),
374
+ oMinDate;
374
375
  oPicker = Element.getElementById(sCurrentPickerId);
376
+ if (oPicker instanceof Calendar) {
377
+ oMinDate = oPicker.getMinDate();
378
+ if (oMinDate && oMinDate.getTime() > oDate.getTime()) {
379
+ oDate = oMinDate;
380
+ }
381
+ }
375
382
  if (oPicker.displayDate) {
376
383
  oPicker.displayDate(oDate);
377
384
  }
@@ -23,7 +23,7 @@ sap.ui.define(["sap/ui/core/Lib", 'sap/ui/unified/CalendarLegend', 'sap/ui/unifi
23
23
  * @extends sap.ui.unified.CalendarLegend
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.121.1
26
+ * @version 1.122.1
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * The <code>sap.m.PlanningCalendarRow</code> allows you to modify appointments at row level.
38
38
  *
39
39
  * @extends sap.ui.core.Element
40
- * @version 1.121.1
40
+ * @version 1.122.1
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
25
25
  * The <code>PlanningCalendarView</code> defines the type of the intervals (hours, days, months)
26
26
  * and how many intervals are displayed.
27
27
  * @extends sap.ui.core.Element
28
- * @version 1.121.1
28
+ * @version 1.122.1
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -122,7 +122,7 @@ sap.ui.define([
122
122
  * @extends sap.ui.core.Control
123
123
  * @implements sap.ui.core.PopupInterface
124
124
  * @author SAP SE
125
- * @version 1.121.1
125
+ * @version 1.122.1
126
126
  *
127
127
  * @public
128
128
  * @alias sap.m.Popover
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @extends sap.ui.core.Control
62
62
  *
63
63
  * @author SAP SE
64
- * @version 1.121.1
64
+ * @version 1.122.1
65
65
  *
66
66
  * @constructor
67
67
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.121.1
40
+ * @version 1.122.1
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.m.QuickViewBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.121.1
62
+ * @version 1.122.1
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.121.1
30
+ * @version 1.122.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.m.QuickViewBase
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.121.1
39
+ * @version 1.122.1
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.121.1
25
+ * @version 1.122.1
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.121.1
31
+ * @version 1.122.1
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -103,7 +103,7 @@ sap.ui.define([
103
103
  * @extends sap.ui.core.Control
104
104
  *
105
105
  * @author SAP SE
106
- * @version 1.121.1
106
+ * @version 1.122.1
107
107
  *
108
108
  * @constructor
109
109
  * @public
@@ -91,7 +91,7 @@ function(
91
91
  * @implements sap.ui.core.IFormContent
92
92
  *
93
93
  * @author SAP SE
94
- * @version 1.121.1
94
+ * @version 1.122.1
95
95
  *
96
96
  * @constructor
97
97
  * @public