@openui5/sap.m 1.117.1 → 1.119.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 (457) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +16 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +1 -1
  9. package/src/sap/m/ActionTileContent.js +1 -1
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +1 -1
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +5 -5
  14. package/src/sap/m/Bar.js +38 -19
  15. package/src/sap/m/BarRenderer.js +12 -1
  16. package/src/sap/m/Breadcrumbs.js +55 -2
  17. package/src/sap/m/BreadcrumbsRenderer.js +4 -0
  18. package/src/sap/m/BusyDialog.js +1 -1
  19. package/src/sap/m/BusyIndicator.js +1 -1
  20. package/src/sap/m/Button.js +11 -6
  21. package/src/sap/m/Carousel.js +1 -1
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CheckBox.js +1 -1
  24. package/src/sap/m/ColorPalette.js +1 -1
  25. package/src/sap/m/ColorPalettePopover.js +1 -1
  26. package/src/sap/m/Column.js +13 -26
  27. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  28. package/src/sap/m/ColumnListItem.js +52 -13
  29. package/src/sap/m/ColumnListItemRenderer.js +96 -83
  30. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  35. package/src/sap/m/ComboBox.js +3 -2
  36. package/src/sap/m/ComboBoxBase.js +1 -1
  37. package/src/sap/m/ComboBoxTextField.js +1 -1
  38. package/src/sap/m/CustomListItem.js +1 -1
  39. package/src/sap/m/CustomTile.js +1 -1
  40. package/src/sap/m/CustomTreeItem.js +1 -1
  41. package/src/sap/m/DatePicker.js +1 -1
  42. package/src/sap/m/DateRangeSelection.js +2 -2
  43. package/src/sap/m/DateTimeField.js +1 -1
  44. package/src/sap/m/DateTimeInput.js +1 -1
  45. package/src/sap/m/DateTimePicker.js +25 -22
  46. package/src/sap/m/Dialog.js +1 -1
  47. package/src/sap/m/DisplayListItem.js +1 -1
  48. package/src/sap/m/DraftIndicator.js +1 -1
  49. package/src/sap/m/DynamicDate.js +1 -1
  50. package/src/sap/m/DynamicDateFormat.js +4 -0
  51. package/src/sap/m/DynamicDateOption.js +2 -2
  52. package/src/sap/m/DynamicDateRange.js +119 -6
  53. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  54. package/src/sap/m/ExpandableText.js +1 -1
  55. package/src/sap/m/FacetFilter.js +2 -2
  56. package/src/sap/m/FacetFilterItem.js +6 -2
  57. package/src/sap/m/FacetFilterList.js +8 -5
  58. package/src/sap/m/FeedContent.js +1 -1
  59. package/src/sap/m/FeedInput.js +3 -3
  60. package/src/sap/m/FeedListItem.js +6 -5
  61. package/src/sap/m/FeedListItemAction.js +1 -1
  62. package/src/sap/m/Fiori20Adapter.js +2 -2
  63. package/src/sap/m/FlexBox.js +1 -1
  64. package/src/sap/m/FlexItemData.js +1 -1
  65. package/src/sap/m/FormattedText.js +1 -1
  66. package/src/sap/m/GenericTag.js +1 -1
  67. package/src/sap/m/GenericTile.js +37 -2
  68. package/src/sap/m/GroupHeaderListItem.js +7 -4
  69. package/src/sap/m/GroupHeaderListItemRenderer.js +36 -17
  70. package/src/sap/m/GrowingEnablement.js +10 -6
  71. package/src/sap/m/GrowingList.js +1 -1
  72. package/src/sap/m/HBox.js +1 -1
  73. package/src/sap/m/HeaderContainer.js +1 -1
  74. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  75. package/src/sap/m/IconTabBar.js +2 -2
  76. package/src/sap/m/IconTabBarRenderer.js +1 -1
  77. package/src/sap/m/IconTabBarSelectList.js +35 -10
  78. package/src/sap/m/IconTabFilter.js +2 -2
  79. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  80. package/src/sap/m/IconTabHeader.js +4 -2
  81. package/src/sap/m/IconTabSeparator.js +1 -1
  82. package/src/sap/m/IllustratedMessage.js +1 -1
  83. package/src/sap/m/Illustration.js +59 -7
  84. package/src/sap/m/IllustrationPool.js +47 -13
  85. package/src/sap/m/Image.js +1 -1
  86. package/src/sap/m/ImageContent.js +1 -1
  87. package/src/sap/m/Input.js +33 -22
  88. package/src/sap/m/InputBase.js +1 -1
  89. package/src/sap/m/InputListItem.js +1 -1
  90. package/src/sap/m/Label.js +1 -1
  91. package/src/sap/m/LightBox.js +1 -1
  92. package/src/sap/m/LightBoxItem.js +1 -1
  93. package/src/sap/m/Link.js +1 -1
  94. package/src/sap/m/List.js +1 -16
  95. package/src/sap/m/ListBase.js +109 -148
  96. package/src/sap/m/ListBaseRenderer.js +5 -9
  97. package/src/sap/m/ListItemBase.js +36 -133
  98. package/src/sap/m/ListItemBaseRenderer.js +26 -3
  99. package/src/sap/m/MaskEnabler.js +1 -1
  100. package/src/sap/m/MaskInput.js +1 -1
  101. package/src/sap/m/MaskInputRule.js +1 -1
  102. package/src/sap/m/Menu.js +33 -18
  103. package/src/sap/m/MenuButton.js +2 -2
  104. package/src/sap/m/MenuItem.js +23 -1
  105. package/src/sap/m/MenuListItem.js +6 -5
  106. package/src/sap/m/MessageItem.js +1 -1
  107. package/src/sap/m/MessageListItem.js +1 -1
  108. package/src/sap/m/MessagePage.js +1 -1
  109. package/src/sap/m/MessagePopover.js +1 -1
  110. package/src/sap/m/MessagePopoverItem.js +1 -1
  111. package/src/sap/m/MessageStrip.js +1 -1
  112. package/src/sap/m/MessageToast.js +13 -9
  113. package/src/sap/m/MessageView.js +1 -1
  114. package/src/sap/m/MultiComboBox.js +5 -4
  115. package/src/sap/m/MultiEditField.js +1 -1
  116. package/src/sap/m/MultiInput.js +4 -6
  117. package/src/sap/m/NavContainer.js +17 -1
  118. package/src/sap/m/NewsContent.js +1 -1
  119. package/src/sap/m/NotificationList.js +1 -3
  120. package/src/sap/m/NotificationListBase.js +1 -1
  121. package/src/sap/m/NotificationListGroup.js +1 -1
  122. package/src/sap/m/NotificationListItem.js +1 -1
  123. package/src/sap/m/NumericContent.js +16 -14
  124. package/src/sap/m/NumericInput.js +1 -1
  125. package/src/sap/m/ObjectAttribute.js +1 -1
  126. package/src/sap/m/ObjectHeader.js +15 -3
  127. package/src/sap/m/ObjectHeaderRenderer.js +24 -9
  128. package/src/sap/m/ObjectIdentifier.js +1 -1
  129. package/src/sap/m/ObjectListItem.js +10 -3
  130. package/src/sap/m/ObjectListItemRenderer.js +7 -1
  131. package/src/sap/m/ObjectMarker.js +2 -2
  132. package/src/sap/m/ObjectNumber.js +1 -1
  133. package/src/sap/m/ObjectNumberRenderer.js +17 -2
  134. package/src/sap/m/ObjectStatus.js +1 -1
  135. package/src/sap/m/OverflowToolbar.js +1 -1
  136. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  137. package/src/sap/m/OverflowToolbarButton.js +1 -1
  138. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  139. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  140. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  141. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  142. package/src/sap/m/P13nColumnsItem.js +1 -1
  143. package/src/sap/m/P13nColumnsPanel.js +1 -1
  144. package/src/sap/m/P13nConditionPanel.js +1 -1
  145. package/src/sap/m/P13nDialog.js +1 -1
  146. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  147. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  148. package/src/sap/m/P13nFilterItem.js +1 -1
  149. package/src/sap/m/P13nFilterPanel.js +2 -3
  150. package/src/sap/m/P13nGroupItem.js +1 -1
  151. package/src/sap/m/P13nGroupPanel.js +1 -1
  152. package/src/sap/m/P13nItem.js +1 -1
  153. package/src/sap/m/P13nPanel.js +1 -1
  154. package/src/sap/m/P13nSelectionItem.js +1 -1
  155. package/src/sap/m/P13nSelectionPanel.js +1 -1
  156. package/src/sap/m/P13nSortItem.js +1 -1
  157. package/src/sap/m/P13nSortPanel.js +1 -1
  158. package/src/sap/m/PDFViewer.js +1 -1
  159. package/src/sap/m/Page.js +1 -1
  160. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  161. package/src/sap/m/PagingButton.js +1 -1
  162. package/src/sap/m/Panel.js +5 -1
  163. package/src/sap/m/PanelRenderer.js +6 -1
  164. package/src/sap/m/PlanningCalendar.js +92 -24
  165. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  166. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  167. package/src/sap/m/PlanningCalendarLegendRenderer.js +5 -2
  168. package/src/sap/m/PlanningCalendarRow.js +1 -1
  169. package/src/sap/m/PlanningCalendarView.js +1 -1
  170. package/src/sap/m/Popover.js +1 -1
  171. package/src/sap/m/ProgressIndicator.js +1 -1
  172. package/src/sap/m/PullToRefresh.js +1 -1
  173. package/src/sap/m/QuickView.js +1 -1
  174. package/src/sap/m/QuickViewBase.js +1 -1
  175. package/src/sap/m/QuickViewCard.js +1 -1
  176. package/src/sap/m/QuickViewGroup.js +1 -1
  177. package/src/sap/m/QuickViewGroupElement.js +1 -1
  178. package/src/sap/m/QuickViewPage.js +8 -2
  179. package/src/sap/m/RadioButton.js +1 -1
  180. package/src/sap/m/RadioButtonGroup.js +1 -1
  181. package/src/sap/m/RangeSlider.js +1 -1
  182. package/src/sap/m/RatingIndicator.js +1 -1
  183. package/src/sap/m/ResponsivePopover.js +6 -4
  184. package/src/sap/m/ResponsiveScale.js +1 -1
  185. package/src/sap/m/ScrollBar.js +1 -1
  186. package/src/sap/m/ScrollContainer.js +1 -1
  187. package/src/sap/m/SearchField.js +1 -1
  188. package/src/sap/m/SegmentedButton.js +6 -4
  189. package/src/sap/m/SegmentedButtonItem.js +1 -1
  190. package/src/sap/m/Select.js +1 -1
  191. package/src/sap/m/SelectDialog.js +1 -1
  192. package/src/sap/m/SelectDialogBase.js +1 -1
  193. package/src/sap/m/SelectList.js +1 -1
  194. package/src/sap/m/SelectionDetails.js +1 -1
  195. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  196. package/src/sap/m/SelectionDetailsItem.js +1 -1
  197. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  198. package/src/sap/m/Shell.js +1 -1
  199. package/src/sap/m/SimpleFixFlex.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarGrid.js +12 -2
  203. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +1 -1
  204. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +54 -30
  205. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +8 -22
  206. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  207. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  210. package/src/sap/m/SlideTile.js +1 -1
  211. package/src/sap/m/Slider.js +1 -1
  212. package/src/sap/m/SliderTooltip.js +1 -1
  213. package/src/sap/m/SliderTooltipBase.js +1 -1
  214. package/src/sap/m/SliderTooltipContainer.js +1 -1
  215. package/src/sap/m/SplitApp.js +1 -1
  216. package/src/sap/m/SplitButton.js +1 -1
  217. package/src/sap/m/SplitContainer.js +1 -1
  218. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  219. package/src/sap/m/StandardListItem.js +1 -1
  220. package/src/sap/m/StandardTile.js +1 -1
  221. package/src/sap/m/StandardTreeItem.js +1 -1
  222. package/src/sap/m/StepInput.js +1 -1
  223. package/src/sap/m/SuggestionItem.js +1 -1
  224. package/src/sap/m/SuggestionsPopover.js +1 -1
  225. package/src/sap/m/Switch.js +1 -1
  226. package/src/sap/m/TabContainer.js +14 -14
  227. package/src/sap/m/TabContainerItem.js +1 -1
  228. package/src/sap/m/TabStrip.js +5 -3
  229. package/src/sap/m/TabStripItem.js +1 -1
  230. package/src/sap/m/Table.js +165 -141
  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/TableRenderer.js +123 -90
  235. package/src/sap/m/TableSelectDialog.js +1 -1
  236. package/src/sap/m/Text.js +1 -1
  237. package/src/sap/m/TextArea.js +1 -1
  238. package/src/sap/m/Tile.js +1 -1
  239. package/src/sap/m/TileContainer.js +1 -1
  240. package/src/sap/m/TileContent.js +1 -1
  241. package/src/sap/m/TimePicker.js +1 -1
  242. package/src/sap/m/TimePickerClock.js +1 -1
  243. package/src/sap/m/TimePickerClocks.js +1 -1
  244. package/src/sap/m/TimePickerInputs.js +1 -1
  245. package/src/sap/m/TimePickerInternals.js +1 -1
  246. package/src/sap/m/TimePickerSlider.js +2 -5
  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/ToggleButton.js +3 -1
  251. package/src/sap/m/Token.js +1 -1
  252. package/src/sap/m/Tokenizer.js +25 -4
  253. package/src/sap/m/Toolbar.js +1 -1
  254. package/src/sap/m/ToolbarLayoutData.js +1 -1
  255. package/src/sap/m/ToolbarSeparator.js +1 -1
  256. package/src/sap/m/ToolbarSpacer.js +1 -1
  257. package/src/sap/m/Tree.js +1 -1
  258. package/src/sap/m/TreeItemBase.js +1 -1
  259. package/src/sap/m/UploadCollection.js +1 -1
  260. package/src/sap/m/UploadCollectionItem.js +1 -1
  261. package/src/sap/m/UploadCollectionParameter.js +1 -1
  262. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  263. package/src/sap/m/VBox.js +1 -1
  264. package/src/sap/m/ValueStateHeader.js +1 -1
  265. package/src/sap/m/VariantManagement.js +91 -19
  266. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  267. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  268. package/src/sap/m/ViewSettingsDialog.js +35 -24
  269. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  270. package/src/sap/m/ViewSettingsItem.js +1 -1
  271. package/src/sap/m/VisibleItem.js +1 -1
  272. package/src/sap/m/WheelSlider.js +1 -1
  273. package/src/sap/m/WheelSliderContainer.js +1 -1
  274. package/src/sap/m/Wizard.js +12 -2
  275. package/src/sap/m/WizardProgressNavigator.js +1 -1
  276. package/src/sap/m/WizardStep.js +1 -1
  277. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  278. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  279. package/src/sap/m/changeHandler/CombineButtons.js +4 -2
  280. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  281. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  282. package/src/sap/m/changeHandler/SplitMenuButton.js +3 -2
  283. package/src/sap/m/designtime/IconTabBar.designtime.js +20 -1
  284. package/src/sap/m/designtime/IconTabFilter.designtime.js +12 -3
  285. package/src/sap/m/designtime/messagebundle_hu.properties +1 -1
  286. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +13 -4
  287. package/src/sap/m/library.js +146 -22
  288. package/src/sap/m/messagebundle.properties +74 -20
  289. package/src/sap/m/messagebundle_ar.properties +51 -44
  290. package/src/sap/m/messagebundle_bg.properties +116 -109
  291. package/src/sap/m/messagebundle_ca.properties +19 -12
  292. package/src/sap/m/messagebundle_cs.properties +42 -35
  293. package/src/sap/m/messagebundle_cy.properties +21 -14
  294. package/src/sap/m/messagebundle_da.properties +19 -12
  295. package/src/sap/m/messagebundle_de.properties +22 -15
  296. package/src/sap/m/messagebundle_el.properties +23 -16
  297. package/src/sap/m/messagebundle_en.properties +43 -9
  298. package/src/sap/m/messagebundle_en_GB.properties +12 -5
  299. package/src/sap/m/messagebundle_en_US_sappsd.properties +7 -0
  300. package/src/sap/m/messagebundle_en_US_saprigi.properties +7 -0
  301. package/src/sap/m/messagebundle_en_US_saptrc.properties +7 -0
  302. package/src/sap/m/messagebundle_es.properties +32 -25
  303. package/src/sap/m/messagebundle_es_MX.properties +19 -12
  304. package/src/sap/m/messagebundle_et.properties +19 -12
  305. package/src/sap/m/messagebundle_fi.properties +25 -18
  306. package/src/sap/m/messagebundle_fr.properties +65 -58
  307. package/src/sap/m/messagebundle_fr_CA.properties +20 -13
  308. package/src/sap/m/messagebundle_hi.properties +26 -19
  309. package/src/sap/m/messagebundle_hr.properties +49 -42
  310. package/src/sap/m/messagebundle_hu.properties +21 -14
  311. package/src/sap/m/messagebundle_id.properties +22 -15
  312. package/src/sap/m/messagebundle_it.properties +49 -42
  313. package/src/sap/m/messagebundle_iw.properties +25 -18
  314. package/src/sap/m/messagebundle_ja.properties +60 -53
  315. package/src/sap/m/messagebundle_kk.properties +61 -54
  316. package/src/sap/m/messagebundle_ko.properties +29 -22
  317. package/src/sap/m/messagebundle_lt.properties +19 -12
  318. package/src/sap/m/messagebundle_lv.properties +19 -12
  319. package/src/sap/m/messagebundle_ms.properties +19 -12
  320. package/src/sap/m/messagebundle_nl.properties +31 -24
  321. package/src/sap/m/messagebundle_no.properties +22 -15
  322. package/src/sap/m/messagebundle_pl.properties +25 -18
  323. package/src/sap/m/messagebundle_pt.properties +21 -14
  324. package/src/sap/m/messagebundle_pt_PT.properties +19 -12
  325. package/src/sap/m/messagebundle_ro.properties +20 -13
  326. package/src/sap/m/messagebundle_ru.properties +20 -13
  327. package/src/sap/m/messagebundle_sh.properties +30 -23
  328. package/src/sap/m/messagebundle_sk.properties +26 -19
  329. package/src/sap/m/messagebundle_sl.properties +100 -93
  330. package/src/sap/m/messagebundle_sv.properties +31 -24
  331. package/src/sap/m/messagebundle_th.properties +38 -31
  332. package/src/sap/m/messagebundle_tr.properties +22 -15
  333. package/src/sap/m/messagebundle_uk.properties +57 -50
  334. package/src/sap/m/messagebundle_vi.properties +19 -12
  335. package/src/sap/m/messagebundle_zh_CN.properties +34 -27
  336. package/src/sap/m/messagebundle_zh_TW.properties +23 -16
  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 +4 -10
  340. package/src/sap/m/p13n/Container.js +1 -15
  341. package/src/sap/m/p13n/Engine.js +42 -8
  342. package/src/sap/m/p13n/GroupController.js +1 -1
  343. package/src/sap/m/p13n/GroupPanel.js +1 -1
  344. package/src/sap/m/p13n/Popup.js +3 -3
  345. package/src/sap/m/p13n/QueryPanel.js +7 -2
  346. package/src/sap/m/p13n/SelectionController.js +1 -1
  347. package/src/sap/m/p13n/SelectionPanel.js +18 -1
  348. package/src/sap/m/p13n/SortController.js +1 -1
  349. package/src/sap/m/p13n/SortPanel.js +1 -1
  350. package/src/sap/m/p13n/enum/PersistenceMode.js +1 -1
  351. package/src/sap/m/p13n/enum/ProcessingStrategy.js +10 -1
  352. package/src/sap/m/p13n/handler/xConfigHandler.js +6 -5
  353. package/src/sap/m/p13n/modification/FlexModificationHandler.js +16 -3
  354. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  355. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  356. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  357. package/src/sap/m/p13n/modules/xConfigAPI.js +5 -0
  358. package/src/sap/m/plugins/CellSelector.js +72 -29
  359. package/src/sap/m/plugins/ColumnResizer.js +3 -5
  360. package/src/sap/m/plugins/CopyProvider.js +27 -10
  361. package/src/sap/m/plugins/DataStateIndicator.js +4 -2
  362. package/src/sap/m/plugins/PasteProvider.js +1 -1
  363. package/src/sap/m/plugins/PluginBase.js +1 -1
  364. package/src/sap/m/rules/IconTabBar.support.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 +1 -1
  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 +25 -6
  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 +32 -3
  409. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  410. package/src/sap/m/table/columnmenu/Menu.js +12 -9
  411. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  412. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  417. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  418. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  419. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  420. package/src/sap/m/themes/base/Avatar.less +5 -5
  421. package/src/sap/m/themes/base/Breadcrumbs.less +2 -1
  422. package/src/sap/m/themes/base/Button.less +2 -172
  423. package/src/sap/m/themes/base/CellSelector.less +9 -0
  424. package/src/sap/m/themes/base/ColumnListItem.less +12 -8
  425. package/src/sap/m/themes/base/DateTimePicker.less +9 -1
  426. package/src/sap/m/themes/base/Dialog.less +1 -1
  427. package/src/sap/m/themes/base/GroupHeaderListItem.less +4 -6
  428. package/src/sap/m/themes/base/IconTabBar.less +13 -0
  429. package/src/sap/m/themes/base/InputBase.less +2 -2
  430. package/src/sap/m/themes/base/ListItemBase.less +9 -6
  431. package/src/sap/m/themes/base/ObjectStatus.less +7 -1
  432. package/src/sap/m/themes/base/Panel.less +2 -5
  433. package/src/sap/m/themes/base/QuickView.less +1 -1
  434. package/src/sap/m/themes/base/SearchField.less +2 -2
  435. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +9 -6
  436. package/src/sap/m/themes/base/StepInput.less +4 -0
  437. package/src/sap/m/themes/base/SuggestionsPopover.less +10 -4
  438. package/src/sap/m/themes/base/Table.less +30 -12
  439. package/src/sap/m/themes/base/TextArea.less +13 -29
  440. package/src/sap/m/themes/base/TimePicker.less +1 -0
  441. package/src/sap/m/themes/base/Toolbar.less +3 -1
  442. package/src/sap/m/themes/base/UploadCollection.less +0 -1
  443. package/src/sap/m/themes/base/{UploadSetTable.less → UploadSetwithTable.less} +0 -5
  444. package/src/sap/m/themes/base/VariantManagement.less +8 -0
  445. package/src/sap/m/themes/base/ViewSettingsDialog.less +3 -0
  446. package/src/sap/m/themes/base/library.source.less +1 -1
  447. package/src/sap/m/themes/sap_hcb/InputBase.less +1 -2
  448. package/src/sap/m/upload/FilePreviewDialog.js +298 -141
  449. package/src/sap/m/upload/UploadSet.js +2 -3
  450. package/src/sap/m/upload/UploadSetItem.js +3 -2
  451. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  452. package/src/sap/m/upload/UploadSetwithTable.js +1211 -0
  453. package/src/sap/m/upload/{UploadSetTableItem.js → UploadSetwithTableItem.js} +81 -78
  454. package/src/sap/m/upload/{UploadSetTableItemRenderer.js → UploadSetwithTableItemRenderer.js} +6 -5
  455. package/src/sap/m/upload/{UploadSetTableRenderer.js → UploadSetwithTableRenderer.js} +7 -10
  456. package/src/sap/m/upload/UploaderTableItem.js +16 -18
  457. package/src/sap/m/upload/UploadSetTable.js +0 -929
@@ -13,6 +13,7 @@ sap.ui.define([
13
13
  "sap/ui/layout/form/SimpleForm",
14
14
  "sap/ui/layout/VerticalLayout",
15
15
  "sap/ui/layout/HorizontalLayout",
16
+ "sap/m/library",
16
17
  "sap/m/Avatar",
17
18
  "sap/m/Page",
18
19
  "sap/m/Button",
@@ -41,6 +42,7 @@ sap.ui.define([
41
42
  SimpleForm,
42
43
  VerticalLayout,
43
44
  HorizontalLayout,
45
+ mLibrary,
44
46
  Avatar,
45
47
  Page,
46
48
  Button,
@@ -87,6 +89,9 @@ sap.ui.define([
87
89
 
88
90
  var oRB = Core.getLibraryResourceBundle('sap.m');
89
91
 
92
+ // shortcut for sap.m.PageBackgroundDesign
93
+ var PageBackgroundDesign = mLibrary.PageBackgroundDesign;
94
+
90
95
  /**
91
96
  * Constructor for a new QuickViewPage.
92
97
  *
@@ -100,7 +105,7 @@ sap.ui.define([
100
105
  * @extends sap.ui.core.Control
101
106
  *
102
107
  * @author SAP SE
103
- * @version 1.117.1
108
+ * @version 1.119.0
104
109
  *
105
110
  * @constructor
106
111
  * @public
@@ -306,7 +311,8 @@ sap.ui.define([
306
311
  oPage.setCustomHeader(new Bar());
307
312
  } else {
308
313
  oPage = this._oPage = new Page(mNavContext.quickViewId + '-' + this.getPageId(), {
309
- customHeader : new Bar()
314
+ customHeader : new Bar(),
315
+ backgroundDesign: PageBackgroundDesign.Transparent
310
316
  });
311
317
 
312
318
  oPage.addEventDelegate({
@@ -91,7 +91,7 @@ function(
91
91
  * @implements sap.ui.core.IFormContent
92
92
  *
93
93
  * @author SAP SE
94
- * @version 1.117.1
94
+ * @version 1.119.0
95
95
  *
96
96
  * @constructor
97
97
  * @public
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @implements sap.ui.core.IFormContent
62
62
  *
63
63
  * @author SAP SE
64
- * @version 1.117.1
64
+ * @version 1.119.0
65
65
  *
66
66
  * @constructor
67
67
  * @public
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.m.Slider
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.117.1
54
+ * @version 1.119.0
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.ui.core.Control
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.117.1
56
+ * @version 1.119.0
57
57
  *
58
58
  * @constructor
59
59
  * @public
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @extends sap.ui.core.Control
64
64
  *
65
65
  * @author SAP SE
66
- * @version 1.117.1
66
+ * @version 1.119.0
67
67
  *
68
68
  * @constructor
69
69
  * @public
@@ -408,7 +408,7 @@ sap.ui.define([
408
408
  var aPages, i;
409
409
  if ((sAggregationName === "content") && (oChild && oChild.isA("sap.m.NavContainer"))) {
410
410
  aPages = oChild.getPages();
411
- for (i = 0 ; i < aPages.length ; i++) {
411
+ for (i = 0; i < aPages.length; i++) {
412
412
  aPages[i].removeEventDelegate(that._oPageDelegate);
413
413
  }
414
414
  oChild.detachEvent("navigate", that._fnOnNavigate, that);
@@ -572,7 +572,7 @@ sap.ui.define([
572
572
  */
573
573
  ResponsivePopover.prototype._lastIndexOfUpperCaseLetter = function(sValue){
574
574
  var i, sChar;
575
- for (i = sValue.length - 1 ; i >= 0; i--) {
575
+ for (i = sValue.length - 1; i >= 0; i--) {
576
576
  sChar = sValue.charAt(i);
577
577
  if (sChar === sChar.toUpperCase()) {
578
578
  return i;
@@ -741,13 +741,15 @@ sap.ui.define([
741
741
  // forward all aggregation methods to the inner instance, either the popover or the dialog.
742
742
  ["bindAggregation", "validateAggregation", "setAggregation", "getAggregation", "indexOfAggregation", "insertAggregation",
743
743
  "addAggregation", "removeAggregation", "removeAllAggregation", "destroyAggregation", "setAssociation", "getAssociation",
744
- "addAssociation", "removeAssociation", "removeAllAssociation"].forEach(function(sName){
744
+ "addAssociation", "removeAssociation", "removeAllAssociation, addDependent, removeDependent, removeAllDependents, destroyDependents, getDependents, indexOfDependent"].forEach(function(sName){
745
745
  ResponsivePopover.prototype[sName] = function(){
746
746
  var iLastUpperCase = this._lastIndexOfUpperCaseLetter(sName),
747
747
  sMethodName, res;
748
748
  if (typeof arguments[0] === "string") {
749
749
  if (iLastUpperCase !== -1) {
750
750
  sMethodName = sName.substring(0, iLastUpperCase) + this._firstLetterUpperCase(arguments[0]);
751
+ // in case of adding 'dependents' aggregation the call to this function is made with wrong plural argument by the Element class
752
+ sMethodName = sMethodName === "addDependents" ? "addDependent" : sMethodName;
751
753
  //_oControl can be already destroyed in exit method
752
754
  if (this._oControl && this._oControl[sMethodName]) {
753
755
  res = this._oControl[sMethodName].apply(this._oControl, Array.prototype.slice.call(arguments, 1));
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Element
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.117.1
37
+ * @version 1.119.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -25,7 +25,7 @@ function(Control, ScrollBarRenderer) {
25
25
  * care of only rendering the currently visible rows and use this <code>ScrollBar</code> control to make
26
26
  * the users think they are actually scrolling through a long list.
27
27
  * @extends sap.ui.core.Control
28
- * @version 1.117.1
28
+ * @version 1.119.0
29
29
  *
30
30
  * @private
31
31
  * @alias sap.m.ScrollBar
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @extends sap.ui.core.Control
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.117.1
42
+ * @version 1.119.0
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  * @extends sap.ui.core.Control
70
70
  * @implements sap.ui.core.IFormContent
71
71
  * @author SAP SE
72
- * @version 1.117.1
72
+ * @version 1.119.0
73
73
  *
74
74
  * @constructor
75
75
  * @public
@@ -57,7 +57,7 @@ function(
57
57
  * @implements sap.ui.core.IFormContent
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.117.1
60
+ * @version 1.119.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -467,8 +467,8 @@ function(
467
467
  SegmentedButton.prototype.getOverflowToolbarConfig = function() {
468
468
  return {
469
469
  canOverflow: true,
470
- listenForEvents: ["select"],
471
- autoCloseEvents: ["select"],
470
+ listenForEvents: ["selectionChange"],
471
+ autoCloseEvents: ["selectionChange"],
472
472
  propsUnrelatedToSize: ["enabled", "selectedKey"],
473
473
  invalidationEvents: ["_containerWidthChanged"],
474
474
  onBeforeEnterOverflow: this._onBeforeEnterOverflow,
@@ -775,7 +775,9 @@ function(
775
775
  item: oItemPressed
776
776
  });
777
777
 
778
- // support old API
778
+ /**
779
+ * @deprecated as of version 1.52, replaced by <code>selectionChange</code> event
780
+ */
779
781
  this.fireSelect({
780
782
  button: oButtonPressed,
781
783
  id: oButtonPressed.getId(),
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/m/Button', 'sap/ui/core/Cus
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.117.1
26
+ * @version 1.119.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -108,7 +108,7 @@ function(
108
108
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
109
109
  *
110
110
  * @author SAP SE
111
- * @version 1.117.1
111
+ * @version 1.119.0
112
112
  *
113
113
  * @constructor
114
114
  * @public
@@ -126,7 +126,7 @@ function(
126
126
  * @extends sap.m.SelectDialogBase
127
127
  *
128
128
  * @author SAP SE
129
- * @version 1.117.1
129
+ * @version 1.119.0
130
130
  *
131
131
  * @constructor
132
132
  * @public
@@ -36,7 +36,7 @@ function(
36
36
  * @extends sap.ui.core.Control
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.117.1
39
+ * @version 1.119.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.117.1
37
+ * @version 1.119.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -39,7 +39,7 @@ function(
39
39
  * <b><i>Note:</i></b>It is protected and should only be used within the framework itself.
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.117.1
42
+ * @version 1.119.0
43
43
  *
44
44
  * @extends sap.ui.core.Control
45
45
  * @constructor
@@ -10,7 +10,7 @@
10
10
  * @since 1.48.0
11
11
  * @public
12
12
  * @author SAP SE
13
- * @version 1.117.1
13
+ * @version 1.119.0
14
14
  * @borrows sap.ui.core.Element#addCustomData as #addCustomData
15
15
  * @borrows sap.ui.core.Element#getCustomData as #getCustomData
16
16
  * @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
@@ -45,7 +45,7 @@
45
45
  * @since 1.48.0
46
46
  * @public
47
47
  * @author SAP SE
48
- * @version 1.117.1
48
+ * @version 1.119.0
49
49
  * @borrows sap.ui.core.Element#addCustomData as #addCustomData
50
50
  * @borrows sap.ui.core.Element#getCustomData as #getCustomData
51
51
  * @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Element
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.117.1
61
+ * @version 1.119.0
62
62
  *
63
63
  * @constructor
64
64
  * @protected
@@ -23,7 +23,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/base/Log", "sap/base/util/isPlainObje
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.117.1
26
+ * @version 1.119.0
27
27
  *
28
28
  * @constructor
29
29
  * @protected
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * The Shell control can be used as root element of applications. It can contain an App or a <code>SplitApp</code> control.
37
37
  * The Shell provides some overarching functionality for the overall application and takes care of visual adaptation, such as a frame around the App, on desktop browser platforms.
38
38
  * @extends sap.ui.core.Control
39
- * @version 1.117.1
39
+ * @version 1.119.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -31,7 +31,7 @@ function(Control, ResizeHandler, Log, SimpleFixFlexRenderer) {
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.117.1
34
+ * @version 1.119.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -107,7 +107,7 @@ function(
107
107
  * @extends sap.ui.core.Control
108
108
  *
109
109
  * @author SAP SE
110
- * @version 1.117.1
110
+ * @version 1.119.0
111
111
  *
112
112
  * @constructor
113
113
  * @public
@@ -25,7 +25,7 @@ function (library, SinglePlanningCalendarView) {
25
25
  * @extends sap.m.SinglePlanningCalendarView
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.117.1
28
+ * @version 1.119.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @extends sap.ui.core.Control
112
112
  *
113
113
  * @author SAP SE
114
- * @version 1.117.1
114
+ * @version 1.119.0
115
115
  *
116
116
  * @constructor
117
117
  * @private
@@ -2349,6 +2349,16 @@ sap.ui.define([
2349
2349
  return specialDates;
2350
2350
  };
2351
2351
 
2352
+ SinglePlanningCalendarGrid.prototype._isNonWorkingDay = function(oCalendarDate) {
2353
+ return this._getSpecialDates().filter(function(oDateRange) {
2354
+ return oDateRange.getType() === unifiedLibrary.CalendarDayType.NonWorking;
2355
+ }).map(function(oDateRange) {
2356
+ return CalendarDate.fromLocalJSDate(oDateRange.getStartDate());
2357
+ }).some(function(oDate) {
2358
+ return oDate.isSame(oCalendarDate);
2359
+ });
2360
+ };
2361
+
2352
2362
  function getResizeGhost() {
2353
2363
  var $ghost = jQuery("<span></span>").addClass("sapUiCalAppResizeGhost");
2354
2364
  $ghost.appendTo(document.body);
@@ -2389,7 +2399,7 @@ sap.ui.define([
2389
2399
 
2390
2400
  // Initialize the delegate and apply it to the control (only once)
2391
2401
  if (!this._oItemNavigation) {
2392
- this._oItemNavigation = new ItemNavigation();
2402
+ this._oItemNavigation = new ItemNavigation(undefined, undefined, true);
2393
2403
  this.addDelegate(this._oItemNavigation);
2394
2404
  }
2395
2405
  // After each rendering the delegate needs to be initialized as well
@@ -406,7 +406,7 @@ sap.ui.define([
406
406
  oRm.class("sapMSinglePCColumnToday");
407
407
  }
408
408
 
409
- if (CalendarUtils._isWeekend(oColumnCalDate, oControl._getCoreLocaleData())) {
409
+ if (CalendarUtils._isWeekend(oColumnCalDate, oControl._getCoreLocaleData()) || oControl._isNonWorkingDay(oColumnCalDate)) {
410
410
  oRm.class("sapMSinglePCColumnWeekend");
411
411
  }
412
412
 
@@ -31,8 +31,7 @@ sap.ui.define([
31
31
  "sap/ui/core/date/CalendarUtils",
32
32
  "sap/ui/core/Configuration",
33
33
  "sap/ui/core/date/UI5Date",
34
- "sap/ui/unified/DateRange",
35
- "sap/m/LinkAccessibleRole"
34
+ "sap/ui/unified/DateRange"
36
35
  ],
37
36
  function (
38
37
  Control,
@@ -60,8 +59,7 @@ sap.ui.define([
60
59
  CalendarDateUtils,
61
60
  Configuration,
62
61
  UI5Date,
63
- DateRange,
64
- LinkAccessibleRole
62
+ DateRange
65
63
  ) {
66
64
  "use strict";
67
65
 
@@ -71,6 +69,7 @@ sap.ui.define([
71
69
  var CELL_HEADER_HEIGHT_COZY = 1.75; //rem
72
70
  var InvisibleMessageMode = coreLibrary.InvisibleMessageMode;
73
71
  var SinglePlanningCalendarSelectionMode = library.SinglePlanningCalendarSelectionMode;
72
+ var LinkAccessibleRole = library.LinkAccessibleRole;
74
73
 
75
74
  /**
76
75
  * Constructor for a new <code>SinglePlanningCalendarMonthGrid</code>.
@@ -98,7 +97,7 @@ sap.ui.define([
98
97
  * @extends sap.ui.core.Control
99
98
  *
100
99
  * @author SAP SE
101
- * @version 1.117.1
100
+ * @version 1.119.0
102
101
  *
103
102
  * @constructor
104
103
  * @private
@@ -388,10 +387,11 @@ sap.ui.define([
388
387
  };
389
388
 
390
389
  SinglePlanningCalendarMonthGrid.prototype._rangeSelection = function(oStartDate) {
391
- var oCurrentDate = UI5Date.getInstance(CalendarDate.fromLocalJSDate(oStartDate));
392
- var oTarget;
393
- var i;
394
- var _bSelectWeek = false;
390
+ var oCurrentDate = UI5Date.getInstance(oStartDate),
391
+ _bSelectWeek = false,
392
+ oTarget,
393
+ i,
394
+ oCurrentDateUTCTimestamp;
395
395
 
396
396
  for (i = 0; i < 7; i++) {
397
397
  if (!this._checkDateSelected(CalendarDate.fromLocalJSDate(oCurrentDate))) {
@@ -401,10 +401,11 @@ sap.ui.define([
401
401
  oCurrentDate.setDate(oCurrentDate.getDate() + 1);
402
402
  }
403
403
 
404
- oCurrentDate = UI5Date.getInstance(CalendarDate.fromLocalJSDate(oStartDate));
404
+ oCurrentDate = UI5Date.getInstance(oStartDate);
405
405
 
406
406
  for (i = 0; i < 7; i++) {
407
- oTarget = document.querySelector('[sap-ui-date="' + oCurrentDate.getTime() + '"]');
407
+ oCurrentDateUTCTimestamp = Date.UTC(oCurrentDate.getFullYear(), oCurrentDate.getMonth(), oCurrentDate.getDate());
408
+ oTarget = document.querySelector('[sap-ui-date="' + oCurrentDateUTCTimestamp + '"]');
408
409
  if (!(_bSelectWeek && oTarget && oTarget.classList.contains("sapMSPCMonthDaySelected"))){
409
410
  this._toggleMarkCell(oTarget, oCurrentDate);
410
411
  }
@@ -494,11 +495,13 @@ sap.ui.define([
494
495
  this._toggleMarkCell(oTarget, oStartDate);
495
496
 
496
497
  } else if (this._bCurrentWeekSelection && SinglePlanningCalendarSelectionMode.MultiSelect === this.getDateSelectionMode()){
497
- this._bCurrentWeekSelection = false;
498
- var iFirstDayOfWeek;
499
- var oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString()));
500
- var iAPIFirstDayOfWeek = this.getFirstDayOfWeek();
498
+ var iStartDate = oStartDate.getDate(),
499
+ oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString())),
500
+ iAPIFirstDayOfWeek = this.getFirstDayOfWeek(),
501
+ iFirstDayOfWeek,
502
+ iWeekStartDate;
501
503
 
504
+ this._bCurrentWeekSelection = false;
502
505
  if (iAPIFirstDayOfWeek < 0 || iAPIFirstDayOfWeek > 6) {
503
506
 
504
507
  if (oWeekConfigurationValues) {
@@ -510,7 +513,11 @@ sap.ui.define([
510
513
  } else {
511
514
  iFirstDayOfWeek = iAPIFirstDayOfWeek;
512
515
  }
513
- oStartDate.setDate(oStartDate.getDate() - oStartDate.getDay() + iFirstDayOfWeek);
516
+ iWeekStartDate = iStartDate - oStartDate.getDay() + iFirstDayOfWeek;
517
+ if (iWeekStartDate > iStartDate) {
518
+ iWeekStartDate -= 7;
519
+ }
520
+ oStartDate.setDate(iWeekStartDate);
514
521
  oEndDate.setDate(oStartDate.getDate() + 6);
515
522
  this._rangeSelection(oStartDate, oEndDate);
516
523
  }
@@ -703,7 +710,6 @@ sap.ui.define([
703
710
 
704
711
  SinglePlanningCalendarMonthGrid.prototype._getVisibleDays = function(oStartDate) {
705
712
  var oCalStartDate,
706
- iAPIFirstDayOfWeek,
707
713
  oDay,
708
714
  oCalDate,
709
715
  iDaysOldMonth,
@@ -716,20 +722,8 @@ sap.ui.define([
716
722
  return aVisibleDays;
717
723
  }
718
724
 
725
+ iFirstDayOfWeek = this._getFirstDayOfWeek();
719
726
  oCalStartDate = CalendarDate.fromLocalJSDate(oStartDate);
720
- iAPIFirstDayOfWeek = this.getFirstDayOfWeek();
721
-
722
- if (iAPIFirstDayOfWeek < 0 || iAPIFirstDayOfWeek > 6) {
723
- var oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString()));
724
-
725
- if (oWeekConfigurationValues) {
726
- iFirstDayOfWeek = oWeekConfigurationValues.firstDayOfWeek;
727
- } else {
728
- var oLocaleData = this._getCoreLocaleData();
729
- iFirstDayOfWeek = oLocaleData.getFirstDayOfWeek();
730
- }
731
- }
732
-
733
727
 
734
728
  // determine weekday of first day in month
735
729
  oFirstDay = new CalendarDate(oCalStartDate);
@@ -754,6 +748,26 @@ sap.ui.define([
754
748
  return aVisibleDays;
755
749
  };
756
750
 
751
+ SinglePlanningCalendarMonthGrid.prototype._getFirstDayOfWeek = function() {
752
+ var oWeekConfigurationValues, oLocaleData;
753
+
754
+ if (this.getFirstDayOfWeek() < 0 || this.getFirstDayOfWeek() > 6) {
755
+ oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(
756
+ this.getCalendarWeekNumbering(),
757
+ new Locale(Configuration.getFormatSettings().getFormatLocale().toString())
758
+ );
759
+
760
+ if (oWeekConfigurationValues) {
761
+ return oWeekConfigurationValues.firstDayOfWeek;
762
+ } else {
763
+ oLocaleData = this._getCoreLocaleData();
764
+ return oLocaleData.getFirstDayOfWeek();
765
+ }
766
+ } else {
767
+ return this.getFirstDayOfWeek();
768
+ }
769
+ };
770
+
757
771
  SinglePlanningCalendarMonthGrid.prototype._getAppointmentsToRender = function() {
758
772
  return this._oAppointmentsToRender;
759
773
  };
@@ -1098,6 +1112,16 @@ sap.ui.define([
1098
1112
  return specialDates;
1099
1113
  };
1100
1114
 
1115
+ SinglePlanningCalendarMonthGrid.prototype._isNonWorkingDay = function(oCalendarDate) {
1116
+ return this._getSpecialDates().filter(function(oDateRange) {
1117
+ return oDateRange.getType() === unifiedLibrary.CalendarDayType.NonWorking;
1118
+ }).map(function(oDateRange) {
1119
+ return CalendarDate.fromLocalJSDate(oDateRange.getStartDate());
1120
+ }).some(function(oDate) {
1121
+ return oDate.isSame(oCalendarDate);
1122
+ });
1123
+ };
1124
+
1101
1125
  SinglePlanningCalendarMonthGrid.prototype.applyFocusInfo = function() {
1102
1126
  // directly focus appointment part, if there is any selected
1103
1127
  this._sSelectedAppointment && this._sSelectedAppointment.focus();
@@ -170,7 +170,7 @@ sap.ui.define([
170
170
  }
171
171
  oRm.attr("role", "gridcell");
172
172
 
173
- if (CalendarUtils._isWeekend(oDay, oLocaleData) || !CalendarUtils._isSameMonthAndYear(oDay, CalendarDate.fromLocalJSDate(oControl.getStartDate()))) {
173
+ if (CalendarUtils._isWeekend(oDay, oLocaleData) || !CalendarUtils._isSameMonthAndYear(oDay, CalendarDate.fromLocalJSDate(oControl.getStartDate())) || oControl._isNonWorkingDay(oDay)) {
174
174
  oRm.class("nonWorkingTimeframe");
175
175
  }
176
176
 
@@ -276,15 +276,15 @@ sap.ui.define([
276
276
 
277
277
  if (sThemeName.includes("horizon")){
278
278
  if (oToday) {
279
- iBorderThickness = sThemeName.indexOf("_hc") ? 5 : 1;
279
+ iBorderThickness = sThemeName.indexOf("_hc") ? 0.4375 : 0.0625;
280
280
  } else {
281
- iBorderThickness = sThemeName.indexOf("_hc") ? 3 : 1;
281
+ iBorderThickness = sThemeName.indexOf("_hc") ? 0.1875 : 0.0625;
282
282
  }
283
283
  } else {
284
284
  if (oToday) {
285
- iBorderThickness = sThemeName.indexOf("_hc") ? 3 : 1;
285
+ iBorderThickness = sThemeName.indexOf("_hc") ? 0.3125 : 0.0625;
286
286
  } else {
287
- iBorderThickness = sThemeName.indexOf("_hc") ? 2 : 1;
287
+ iBorderThickness = sThemeName.indexOf("_hc") ? 0.125 : 0.0625;
288
288
  }
289
289
  }
290
290
 
@@ -333,8 +333,8 @@ sap.ui.define([
333
333
  oRm.style("border-left-color", sColor);
334
334
  }
335
335
  }
336
- oRm.style(bIsRTL ? "right" : "left", "calc(" + (iColumn * 100) / iColumns + "% + " + iBorderThickness + "px)");
337
- oRm.style(bIsRTL ? "left" : "right", "calc(" + (iRight * 100) / iColumns + "% + " + iBorderThickness + "px)");
336
+ oRm.style(bIsRTL ? "right" : "left", "calc(" + (iColumn * 100) / iColumns + "% + " + iBorderThickness + "rem)");
337
+ oRm.style(bIsRTL ? "left" : "right", "calc(" + (iRight * 100) / iColumns + "% + " + iBorderThickness + "rem)");
338
338
  oRm.style("top", (iLevel * oDensitySizes.appHeight + oDensitySizes.cellHeaderHeight) + "rem");
339
339
  oRm.openEnd();
340
340
 
@@ -406,8 +406,7 @@ sap.ui.define([
406
406
  };
407
407
 
408
408
  SinglePlanningCalendarMonthGridRenderer.renderDayNames = function(oRm, oControl, oLocaleData) {
409
- var iAPIFirstDayOfWeek = oControl.getFirstDayOfWeek(),
410
- iFirstDayOfWeek,
409
+ var iFirstDayOfWeek = oControl._getFirstDayOfWeek(),
411
410
  sId = oControl.getId(),
412
411
  sDayId,
413
412
  sCalendarType = Core.getConfiguration().getCalendarType(),
@@ -417,19 +416,6 @@ sap.ui.define([
417
416
  oFirstRenderedDate,
418
417
  iDayIndex;
419
418
 
420
-
421
- if (iAPIFirstDayOfWeek < 0 || iAPIFirstDayOfWeek > 6) {
422
- var oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(oControl.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString()));
423
-
424
- if (oWeekConfigurationValues) {
425
- iFirstDayOfWeek = oWeekConfigurationValues.firstDayOfWeek;
426
- } else {
427
- iFirstDayOfWeek = oControl._getCoreLocaleData().getFirstDayOfWeek();
428
- }
429
- } else {
430
- iFirstDayOfWeek = iAPIFirstDayOfWeek;
431
- }
432
-
433
419
  oStartDate.setDate(oStartDate.getDate() - oStartDate.getDay() + iFirstDayOfWeek);
434
420
  oFirstRenderedDate = CalendarDate.fromLocalJSDate(oStartDate);
435
421
  oRm.openStart("div", sId + "-Names");
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.m.SinglePlanningCalendarView
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.117.1
31
+ * @version 1.119.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.117.1
29
+ * @version 1.119.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.117.1
34
+ * @version 1.119.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.117.1
32
+ * @version 1.119.0
33
33
  *
34
34
  * @constructor
35
35
  * @public