@openui5/sap.m 1.115.1 → 1.117.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 (465) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +1 -1
  8. package/src/sap/m/ActionSheet.js +6 -2
  9. package/src/sap/m/ActionTile.js +1 -1
  10. package/src/sap/m/ActionTileContent.js +1 -1
  11. package/src/sap/m/AdditionalTextButton.js +1 -1
  12. package/src/sap/m/App.js +1 -1
  13. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  14. package/src/sap/m/Avatar.js +46 -5
  15. package/src/sap/m/AvatarRenderer.js +16 -10
  16. package/src/sap/m/Bar.js +1 -1
  17. package/src/sap/m/Breadcrumbs.js +6 -5
  18. package/src/sap/m/BusyDialog.js +5 -3
  19. package/src/sap/m/BusyIndicator.js +1 -1
  20. package/src/sap/m/Button.js +1 -1
  21. package/src/sap/m/Carousel.js +24 -8
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CarouselRenderer.js +19 -4
  24. package/src/sap/m/CheckBox.js +8 -4
  25. package/src/sap/m/ColorPalette.js +1 -1
  26. package/src/sap/m/ColorPalettePopover.js +1 -1
  27. package/src/sap/m/Column.js +29 -170
  28. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  29. package/src/sap/m/ColumnListItem.js +7 -12
  30. package/src/sap/m/ColumnListItemRenderer.js +16 -27
  31. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  35. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  36. package/src/sap/m/ComboBox.js +1 -1
  37. package/src/sap/m/ComboBoxBase.js +1 -1
  38. package/src/sap/m/ComboBoxTextField.js +1 -1
  39. package/src/sap/m/CustomListItem.js +1 -1
  40. package/src/sap/m/CustomTile.js +1 -1
  41. package/src/sap/m/CustomTreeItem.js +1 -1
  42. package/src/sap/m/DatePicker.js +31 -5
  43. package/src/sap/m/DatePickerRenderer.js +3 -2
  44. package/src/sap/m/DateRangeSelection.js +77 -25
  45. package/src/sap/m/DateTimeField.js +15 -10
  46. package/src/sap/m/DateTimeInput.js +1 -1
  47. package/src/sap/m/DateTimePicker.js +1 -1
  48. package/src/sap/m/DateTimePickerRenderer.js +3 -1
  49. package/src/sap/m/Dialog.js +16 -10
  50. package/src/sap/m/DialogRenderer.js +3 -3
  51. package/src/sap/m/DisplayListItem.js +1 -1
  52. package/src/sap/m/DraftIndicator.js +1 -1
  53. package/src/sap/m/DynamicDate.js +1 -1
  54. package/src/sap/m/DynamicDateOption.js +2 -2
  55. package/src/sap/m/DynamicDateRange.js +42 -5
  56. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  57. package/src/sap/m/ExpandableText.js +1 -1
  58. package/src/sap/m/FacetFilter.js +1 -3
  59. package/src/sap/m/FacetFilterItem.js +1 -1
  60. package/src/sap/m/FacetFilterList.js +1 -1
  61. package/src/sap/m/FeedContent.js +1 -1
  62. package/src/sap/m/FeedInput.js +1 -1
  63. package/src/sap/m/FeedListItem.js +18 -1
  64. package/src/sap/m/FeedListItemAction.js +1 -1
  65. package/src/sap/m/Fiori20Adapter.js +2 -2
  66. package/src/sap/m/FlexBox.js +1 -1
  67. package/src/sap/m/FlexItemData.js +1 -1
  68. package/src/sap/m/FormattedText.js +44 -50
  69. package/src/sap/m/GenericTag.js +1 -1
  70. package/src/sap/m/GenericTile.js +1 -1
  71. package/src/sap/m/GroupHeaderListItem.js +1 -1
  72. package/src/sap/m/GroupHeaderListItemRenderer.js +5 -5
  73. package/src/sap/m/GrowingEnablement.js +34 -32
  74. package/src/sap/m/GrowingList.js +1 -1
  75. package/src/sap/m/HBox.js +1 -1
  76. package/src/sap/m/HeaderContainer.js +1 -1
  77. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  78. package/src/sap/m/HyphenationSupport.js +13 -4
  79. package/src/sap/m/IconTabBar.js +3 -1
  80. package/src/sap/m/IconTabBarSelectList.js +1 -1
  81. package/src/sap/m/IconTabFilter.js +3 -3
  82. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  83. package/src/sap/m/IconTabHeader.js +1 -1
  84. package/src/sap/m/IconTabSeparator.js +1 -1
  85. package/src/sap/m/IllustratedMessage.js +4 -2
  86. package/src/sap/m/Illustration.js +1 -1
  87. package/src/sap/m/IllustrationPool.js +4 -3
  88. package/src/sap/m/Image.js +1 -1
  89. package/src/sap/m/ImageContent.js +1 -1
  90. package/src/sap/m/Input.js +21 -12
  91. package/src/sap/m/InputBase.js +7 -5
  92. package/src/sap/m/InputBaseRenderer.js +3 -3
  93. package/src/sap/m/InputListItem.js +1 -1
  94. package/src/sap/m/Label.js +1 -1
  95. package/src/sap/m/LabelRenderer.js +3 -3
  96. package/src/sap/m/LightBox.js +1 -1
  97. package/src/sap/m/LightBoxItem.js +1 -1
  98. package/src/sap/m/Link.js +36 -3
  99. package/src/sap/m/List.js +1 -1
  100. package/src/sap/m/ListBase.js +61 -28
  101. package/src/sap/m/ListBaseRenderer.js +12 -4
  102. package/src/sap/m/ListItemBase.js +17 -8
  103. package/src/sap/m/ListItemBaseRenderer.js +6 -6
  104. package/src/sap/m/MaskEnabler.js +1 -1
  105. package/src/sap/m/MaskInput.js +1 -1
  106. package/src/sap/m/MaskInputRule.js +1 -1
  107. package/src/sap/m/Menu.js +14 -1
  108. package/src/sap/m/MenuButton.js +1 -1
  109. package/src/sap/m/MenuItem.js +1 -1
  110. package/src/sap/m/MenuListItem.js +1 -1
  111. package/src/sap/m/MessageItem.js +1 -1
  112. package/src/sap/m/MessageListItem.js +1 -1
  113. package/src/sap/m/MessagePage.js +1 -1
  114. package/src/sap/m/MessagePopover.js +1 -1
  115. package/src/sap/m/MessagePopoverItem.js +1 -1
  116. package/src/sap/m/MessageStrip.js +1 -1
  117. package/src/sap/m/MessageToast.js +1 -12
  118. package/src/sap/m/MessageView.js +2 -2
  119. package/src/sap/m/MultiComboBox.js +3 -3
  120. package/src/sap/m/MultiEditField.js +1 -1
  121. package/src/sap/m/MultiInput.js +13 -2
  122. package/src/sap/m/NavContainer.js +21 -5
  123. package/src/sap/m/NewsContent.js +1 -1
  124. package/src/sap/m/NotificationList.js +1 -1
  125. package/src/sap/m/NotificationListBase.js +1 -1
  126. package/src/sap/m/NotificationListGroup.js +1 -1
  127. package/src/sap/m/NotificationListItem.js +1 -1
  128. package/src/sap/m/NumericContent.js +1 -1
  129. package/src/sap/m/NumericInput.js +1 -1
  130. package/src/sap/m/ObjectAttribute.js +1 -1
  131. package/src/sap/m/ObjectHeader.js +6 -1
  132. package/src/sap/m/ObjectIdentifier.js +1 -1
  133. package/src/sap/m/ObjectListItem.js +9 -2
  134. package/src/sap/m/ObjectMarker.js +1 -1
  135. package/src/sap/m/ObjectNumber.js +1 -1
  136. package/src/sap/m/ObjectStatus.js +63 -4
  137. package/src/sap/m/ObjectStatusRenderer.js +21 -9
  138. package/src/sap/m/OverflowToolbar.js +30 -15
  139. package/src/sap/m/OverflowToolbarAssociativePopover.js +5 -5
  140. package/src/sap/m/OverflowToolbarButton.js +1 -1
  141. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  142. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  143. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  144. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  145. package/src/sap/m/P13nColumnsItem.js +1 -1
  146. package/src/sap/m/P13nColumnsPanel.js +2 -8
  147. package/src/sap/m/P13nConditionPanel.js +1 -1
  148. package/src/sap/m/P13nDialog.js +2 -1
  149. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  150. package/src/sap/m/P13nDimMeasurePanel.js +3 -10
  151. package/src/sap/m/P13nFilterItem.js +1 -1
  152. package/src/sap/m/P13nFilterPanel.js +28 -43
  153. package/src/sap/m/P13nGroupItem.js +1 -1
  154. package/src/sap/m/P13nGroupPanel.js +1 -1
  155. package/src/sap/m/P13nItem.js +1 -1
  156. package/src/sap/m/P13nPanel.js +1 -1
  157. package/src/sap/m/P13nSelectionItem.js +1 -1
  158. package/src/sap/m/P13nSelectionPanel.js +5 -3
  159. package/src/sap/m/P13nSortItem.js +1 -1
  160. package/src/sap/m/P13nSortPanel.js +1 -1
  161. package/src/sap/m/PDFViewer.js +1 -1
  162. package/src/sap/m/PDFViewerRenderer.js +1 -1
  163. package/src/sap/m/Page.js +8 -6
  164. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  165. package/src/sap/m/PagingButton.js +1 -1
  166. package/src/sap/m/Panel.js +11 -2
  167. package/src/sap/m/PanelRenderer.js +9 -0
  168. package/src/sap/m/PlanningCalendar.js +10 -4
  169. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  170. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  171. package/src/sap/m/PlanningCalendarRow.js +1 -1
  172. package/src/sap/m/PlanningCalendarView.js +1 -1
  173. package/src/sap/m/Popover.js +13 -17
  174. package/src/sap/m/ProgressIndicator.js +1 -1
  175. package/src/sap/m/PullToRefresh.js +1 -1
  176. package/src/sap/m/QuickView.js +1 -1
  177. package/src/sap/m/QuickViewBase.js +1 -1
  178. package/src/sap/m/QuickViewCard.js +14 -1
  179. package/src/sap/m/QuickViewCardRenderer.js +0 -4
  180. package/src/sap/m/QuickViewGroup.js +1 -1
  181. package/src/sap/m/QuickViewGroupElement.js +1 -1
  182. package/src/sap/m/QuickViewPage.js +40 -28
  183. package/src/sap/m/RadioButton.js +1 -1
  184. package/src/sap/m/RadioButtonGroup.js +1 -1
  185. package/src/sap/m/RangeSlider.js +1 -1
  186. package/src/sap/m/RatingIndicator.js +16 -4
  187. package/src/sap/m/RatingIndicatorRenderer.js +9 -2
  188. package/src/sap/m/ResponsivePopover.js +1 -1
  189. package/src/sap/m/ResponsiveScale.js +1 -1
  190. package/src/sap/m/ScrollBar.js +1 -1
  191. package/src/sap/m/ScrollContainer.js +3 -3
  192. package/src/sap/m/SearchField.js +8 -12
  193. package/src/sap/m/SearchFieldRenderer.js +5 -5
  194. package/src/sap/m/SegmentedButton.js +4 -2
  195. package/src/sap/m/SegmentedButtonItem.js +1 -1
  196. package/src/sap/m/SegmentedButtonRenderer.js +3 -3
  197. package/src/sap/m/Select.js +18 -16
  198. package/src/sap/m/SelectDialog.js +1 -1
  199. package/src/sap/m/SelectDialogBase.js +28 -4
  200. package/src/sap/m/SelectList.js +5 -6
  201. package/src/sap/m/SelectionDetails.js +1 -1
  202. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  203. package/src/sap/m/SelectionDetailsItem.js +1 -1
  204. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  205. package/src/sap/m/Shell.js +1 -1
  206. package/src/sap/m/SimpleFixFlex.js +1 -1
  207. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  210. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +43 -43
  211. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  212. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  213. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  214. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  215. package/src/sap/m/SlideTile.js +1 -1
  216. package/src/sap/m/Slider.js +1 -1
  217. package/src/sap/m/SliderTooltip.js +1 -1
  218. package/src/sap/m/SliderTooltipBase.js +1 -1
  219. package/src/sap/m/SliderTooltipContainer.js +1 -1
  220. package/src/sap/m/SplitApp.js +1 -1
  221. package/src/sap/m/SplitButton.js +1 -1
  222. package/src/sap/m/SplitContainer.js +8 -13
  223. package/src/sap/m/StandardDynamicDateOption.js +2 -2
  224. package/src/sap/m/StandardListItem.js +1 -1
  225. package/src/sap/m/StandardTile.js +1 -1
  226. package/src/sap/m/StandardTileRenderer.js +1 -1
  227. package/src/sap/m/StandardTreeItem.js +1 -1
  228. package/src/sap/m/StepInput.js +3 -3
  229. package/src/sap/m/SuggestionItem.js +4 -2
  230. package/src/sap/m/SuggestionsPopover.js +1 -1
  231. package/src/sap/m/Switch.js +1 -1
  232. package/src/sap/m/TabContainer.js +1 -1
  233. package/src/sap/m/TabContainerItem.js +1 -1
  234. package/src/sap/m/TabStrip.js +1 -1
  235. package/src/sap/m/TabStripItem.js +1 -1
  236. package/src/sap/m/Table.js +59 -180
  237. package/src/sap/m/TablePersoController.js +1 -1
  238. package/src/sap/m/TablePersoDialog.js +1 -1
  239. package/src/sap/m/TablePersoProvider.js +4 -1
  240. package/src/sap/m/TableRenderer.js +98 -126
  241. package/src/sap/m/TableSelectDialog.js +1 -1
  242. package/src/sap/m/Text.js +1 -1
  243. package/src/sap/m/TextArea.js +1 -1
  244. package/src/sap/m/TextRenderer.js +3 -3
  245. package/src/sap/m/Tile.js +1 -1
  246. package/src/sap/m/TileContainer.js +1 -1
  247. package/src/sap/m/TileContent.js +1 -1
  248. package/src/sap/m/TileRenderer.js +7 -4
  249. package/src/sap/m/TimePicker.js +41 -12
  250. package/src/sap/m/TimePickerClock.js +1 -1
  251. package/src/sap/m/TimePickerClocks.js +1 -1
  252. package/src/sap/m/TimePickerClocksRenderer.js +6 -13
  253. package/src/sap/m/TimePickerInputs.js +1 -1
  254. package/src/sap/m/TimePickerInputsRenderer.js +6 -10
  255. package/src/sap/m/TimePickerInternals.js +1 -44
  256. package/src/sap/m/TimePickerRenderer.js +3 -2
  257. package/src/sap/m/TimePickerSlider.js +1 -1
  258. package/src/sap/m/TimePickerSliders.js +1 -1
  259. package/src/sap/m/Title.js +1 -1
  260. package/src/sap/m/TitlePropagationSupport.js +1 -1
  261. package/src/sap/m/ToggleButton.js +15 -3
  262. package/src/sap/m/Token.js +1 -1
  263. package/src/sap/m/Tokenizer.js +1 -1
  264. package/src/sap/m/Toolbar.js +4 -2
  265. package/src/sap/m/ToolbarLayoutData.js +1 -1
  266. package/src/sap/m/ToolbarSeparator.js +1 -1
  267. package/src/sap/m/ToolbarSpacer.js +1 -1
  268. package/src/sap/m/Tree.js +1 -1
  269. package/src/sap/m/TreeItemBase.js +1 -1
  270. package/src/sap/m/UploadCollection.js +2 -2
  271. package/src/sap/m/UploadCollectionItem.js +1 -1
  272. package/src/sap/m/UploadCollectionParameter.js +1 -1
  273. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  274. package/src/sap/m/VBox.js +1 -1
  275. package/src/sap/m/ValueStateHeader.js +1 -1
  276. package/src/sap/m/VariantManagement.js +13 -50
  277. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  278. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  279. package/src/sap/m/ViewSettingsDialog.js +2 -2
  280. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  281. package/src/sap/m/ViewSettingsItem.js +1 -1
  282. package/src/sap/m/VisibleItem.js +1 -1
  283. package/src/sap/m/WheelSlider.js +1 -1
  284. package/src/sap/m/WheelSliderContainer.js +1 -1
  285. package/src/sap/m/Wizard.js +1 -1
  286. package/src/sap/m/WizardProgressNavigator.js +1 -1
  287. package/src/sap/m/WizardStep.js +1 -1
  288. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  289. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  290. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  291. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  292. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  293. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  294. package/src/sap/m/designtime/HBox.designtime.js +16 -0
  295. package/src/sap/m/designtime/IconTabFilter.designtime.js +0 -9
  296. package/src/sap/m/designtime/ObjectHeader.designtime.js +26 -0
  297. package/src/sap/m/designtime/Select.designtime.js +2 -1
  298. package/src/sap/m/designtime/VBox.designtime.js +16 -0
  299. package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +5 -5
  300. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -0
  301. package/src/sap/m/library.js +62 -7
  302. package/src/sap/m/messagebundle.properties +27 -13
  303. package/src/sap/m/messagebundle_ar.properties +36 -20
  304. package/src/sap/m/messagebundle_bg.properties +102 -86
  305. package/src/sap/m/messagebundle_ca.properties +34 -18
  306. package/src/sap/m/messagebundle_cs.properties +40 -24
  307. package/src/sap/m/messagebundle_cy.properties +35 -19
  308. package/src/sap/m/messagebundle_da.properties +35 -19
  309. package/src/sap/m/messagebundle_de.properties +35 -19
  310. package/src/sap/m/messagebundle_el.properties +36 -20
  311. package/src/sap/m/messagebundle_en.properties +35 -19
  312. package/src/sap/m/messagebundle_en_GB.properties +35 -19
  313. package/src/sap/m/messagebundle_en_US_sappsd.properties +34 -18
  314. package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -18
  315. package/src/sap/m/messagebundle_en_US_saptrc.properties +34 -18
  316. package/src/sap/m/messagebundle_es.properties +33 -17
  317. package/src/sap/m/messagebundle_es_MX.properties +33 -17
  318. package/src/sap/m/messagebundle_et.properties +33 -17
  319. package/src/sap/m/messagebundle_fi.properties +37 -21
  320. package/src/sap/m/messagebundle_fr.properties +38 -22
  321. package/src/sap/m/messagebundle_fr_CA.properties +35 -19
  322. package/src/sap/m/messagebundle_hi.properties +36 -20
  323. package/src/sap/m/messagebundle_hr.properties +36 -20
  324. package/src/sap/m/messagebundle_hu.properties +39 -23
  325. package/src/sap/m/messagebundle_id.properties +38 -22
  326. package/src/sap/m/messagebundle_it.properties +33 -17
  327. package/src/sap/m/messagebundle_iw.properties +40 -24
  328. package/src/sap/m/messagebundle_ja.properties +70 -54
  329. package/src/sap/m/messagebundle_kk.properties +35 -19
  330. package/src/sap/m/messagebundle_ko.properties +36 -20
  331. package/src/sap/m/messagebundle_lt.properties +35 -19
  332. package/src/sap/m/messagebundle_lv.properties +33 -17
  333. package/src/sap/m/messagebundle_ms.properties +35 -19
  334. package/src/sap/m/messagebundle_nl.properties +35 -19
  335. package/src/sap/m/messagebundle_no.properties +38 -22
  336. package/src/sap/m/messagebundle_pl.properties +35 -19
  337. package/src/sap/m/messagebundle_pt.properties +33 -17
  338. package/src/sap/m/messagebundle_pt_PT.properties +33 -17
  339. package/src/sap/m/messagebundle_ro.properties +45 -29
  340. package/src/sap/m/messagebundle_ru.properties +32 -16
  341. package/src/sap/m/messagebundle_sh.properties +43 -27
  342. package/src/sap/m/messagebundle_sk.properties +35 -19
  343. package/src/sap/m/messagebundle_sl.properties +96 -80
  344. package/src/sap/m/messagebundle_sv.properties +37 -21
  345. package/src/sap/m/messagebundle_th.properties +42 -26
  346. package/src/sap/m/messagebundle_tr.properties +36 -20
  347. package/src/sap/m/messagebundle_uk.properties +38 -22
  348. package/src/sap/m/messagebundle_vi.properties +35 -19
  349. package/src/sap/m/messagebundle_zh_CN.properties +40 -24
  350. package/src/sap/m/messagebundle_zh_TW.properties +37 -21
  351. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  352. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  353. package/src/sap/m/p13n/BasePanel.js +11 -5
  354. package/src/sap/m/p13n/Container.js +9 -6
  355. package/src/sap/m/p13n/Engine.js +33 -5
  356. package/src/sap/m/p13n/FlexUtil.js +7 -3
  357. package/src/sap/m/p13n/GroupController.js +1 -1
  358. package/src/sap/m/p13n/GroupPanel.js +6 -1
  359. package/src/sap/m/p13n/MetadataHelper.js +1 -1
  360. package/src/sap/m/p13n/PersistenceProvider.js +2 -92
  361. package/src/sap/m/p13n/Popup.js +25 -2
  362. package/src/sap/m/p13n/QueryPanel.js +18 -3
  363. package/src/sap/m/p13n/SelectionController.js +6 -7
  364. package/src/sap/m/p13n/SelectionPanel.js +16 -5
  365. package/src/sap/m/p13n/SortController.js +1 -1
  366. package/src/sap/m/p13n/SortPanel.js +8 -4
  367. package/src/sap/m/p13n/enum/PersistenceMode.js +9 -0
  368. package/src/sap/m/p13n/handler/xConfigHandler.js +13 -13
  369. package/src/sap/m/p13n/modification/FlexModificationHandler.js +24 -1
  370. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -13
  371. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  372. package/src/sap/m/p13n/modules/UIManager.js +5 -4
  373. package/src/sap/m/p13n/modules/xConfigAPI.js +26 -0
  374. package/src/sap/m/plugins/CellSelector.js +534 -799
  375. package/src/sap/m/plugins/ColumnResizer.js +1 -9
  376. package/src/sap/m/plugins/CopyProvider.js +2 -10
  377. package/src/sap/m/plugins/DataStateIndicator.js +8 -2
  378. package/src/sap/m/plugins/PasteProvider.js +1 -1
  379. package/src/sap/m/plugins/PluginBase.js +1 -1
  380. package/src/sap/m/semantic/AddAction.js +1 -1
  381. package/src/sap/m/semantic/CancelAction.js +1 -1
  382. package/src/sap/m/semantic/DeleteAction.js +1 -1
  383. package/src/sap/m/semantic/DetailPage.js +1 -1
  384. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  385. package/src/sap/m/semantic/EditAction.js +1 -1
  386. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  387. package/src/sap/m/semantic/FilterAction.js +1 -1
  388. package/src/sap/m/semantic/FilterSelect.js +1 -1
  389. package/src/sap/m/semantic/FlagAction.js +1 -1
  390. package/src/sap/m/semantic/ForwardAction.js +1 -1
  391. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  392. package/src/sap/m/semantic/GroupAction.js +1 -1
  393. package/src/sap/m/semantic/GroupSelect.js +1 -1
  394. package/src/sap/m/semantic/MainAction.js +1 -1
  395. package/src/sap/m/semantic/MasterPage.js +1 -1
  396. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  397. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  398. package/src/sap/m/semantic/NegativeAction.js +1 -1
  399. package/src/sap/m/semantic/OpenInAction.js +1 -1
  400. package/src/sap/m/semantic/PositiveAction.js +1 -1
  401. package/src/sap/m/semantic/PrintAction.js +1 -1
  402. package/src/sap/m/semantic/SaveAction.js +1 -1
  403. package/src/sap/m/semantic/Segment.js +1 -1
  404. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  405. package/src/sap/m/semantic/SemanticButton.js +1 -1
  406. package/src/sap/m/semantic/SemanticConfiguration.js +3 -3
  407. package/src/sap/m/semantic/SemanticControl.js +1 -1
  408. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  409. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  410. package/src/sap/m/semantic/SemanticPage.js +1 -1
  411. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  412. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  413. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  414. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  415. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  416. package/src/sap/m/semantic/ShareMenu.js +1 -1
  417. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  418. package/src/sap/m/semantic/SortAction.js +1 -1
  419. package/src/sap/m/semantic/SortSelect.js +1 -1
  420. package/src/sap/m/table/Util.js +6 -5
  421. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  422. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  423. package/src/sap/m/table/columnmenu/Item.js +1 -1
  424. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  425. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  426. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  427. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  428. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  429. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  430. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  431. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  432. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  433. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  434. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  435. package/src/sap/m/themes/base/Avatar.less +78 -7
  436. package/src/sap/m/themes/base/Carousel.less +7 -0
  437. package/src/sap/m/themes/base/CellSelector.less +50 -105
  438. package/src/sap/m/themes/base/IconTabBar.less +1 -1
  439. package/src/sap/m/themes/base/Link.less +20 -24
  440. package/src/sap/m/themes/base/MessageStrip.less +1 -1
  441. package/src/sap/m/themes/base/NumericContent.less +4 -0
  442. package/src/sap/m/themes/base/ObjectStatus.less +1 -2
  443. package/src/sap/m/themes/base/Panel.less +14 -0
  444. package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
  445. package/src/sap/m/themes/base/RadioButton.less +3 -1
  446. package/src/sap/m/themes/base/SearchField.less +13 -3
  447. package/src/sap/m/themes/base/Select.less +32 -2
  448. package/src/sap/m/themes/base/Table.less +4 -8
  449. package/src/sap/m/themes/base/TimePickerClocks.less +4 -0
  450. package/src/sap/m/themes/base/UploadSet.less +13 -1
  451. package/src/sap/m/themes/base/UploadSetTable.less +80 -0
  452. package/src/sap/m/themes/base/ValueStateMessage.less +1 -0
  453. package/src/sap/m/themes/base/VariantManagement.less +1 -0
  454. package/src/sap/m/themes/base/Wizard.less +1 -1
  455. package/src/sap/m/themes/base/library.source.less +1 -0
  456. package/src/sap/m/upload/FilePreviewDialog.js +257 -0
  457. package/src/sap/m/upload/UploadSet.js +140 -67
  458. package/src/sap/m/upload/UploadSetItem.js +51 -27
  459. package/src/sap/m/upload/UploadSetTable.js +929 -0
  460. package/src/sap/m/upload/UploadSetTableItem.js +327 -0
  461. package/src/sap/m/upload/UploadSetTableItemRenderer.js +22 -0
  462. package/src/sap/m/upload/UploadSetTableRenderer.js +34 -0
  463. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  464. package/src/sap/m/upload/UploaderTableItem.js +276 -0
  465. package/ui5.yaml +1 -1
@@ -5,11 +5,11 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
+ 'sap/ui/core/Element',
8
9
  './Dialog',
9
10
  './Popover',
10
11
  './SelectList',
11
12
  './library',
12
- 'sap/ui/core/Core',
13
13
  'sap/ui/core/Control',
14
14
  'sap/ui/core/EnabledPropagator',
15
15
  'sap/ui/core/LabelEnablement',
@@ -31,14 +31,15 @@ sap.ui.define([
31
31
  'sap/m/SimpleFixFlex',
32
32
  'sap/base/Log',
33
33
  'sap/ui/core/ValueStateSupport',
34
- "sap/ui/core/InvisibleMessage"
34
+ "sap/ui/core/InvisibleMessage",
35
+ "sap/ui/core/Lib"
35
36
  ],
36
37
  function(
38
+ Element,
37
39
  Dialog,
38
40
  Popover,
39
41
  SelectList,
40
42
  library,
41
- Core,
42
43
  Control,
43
44
  EnabledPropagator,
44
45
  LabelEnablement,
@@ -60,7 +61,8 @@ function(
60
61
  SimpleFixFlex,
61
62
  Log,
62
63
  ValueStateSupport,
63
- InvisibleMessage
64
+ InvisibleMessage,
65
+ Library
64
66
  ) {
65
67
  "use strict";
66
68
 
@@ -106,7 +108,7 @@ function(
106
108
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
107
109
  *
108
110
  * @author SAP SE
109
- * @version 1.115.1
111
+ * @version 1.117.0
110
112
  *
111
113
  * @constructor
112
114
  * @public
@@ -595,7 +597,7 @@ function(
595
597
  return "";
596
598
  }
597
599
 
598
- sValueStateTypeText = Core.getLibraryResourceBundle("sap.m").getText("INPUTBASE_VALUE_STATE_" + sValueState.toUpperCase());
600
+ sValueStateTypeText = Library.getResourceBundleFor("sap.m").getText("INPUTBASE_VALUE_STATE_" + sValueState.toUpperCase());
599
601
  sValueStateText = sValueStateTypeText + " " + (this.getValueStateText() || ValueStateSupport.getAdditionalText(this));
600
602
 
601
603
  return sValueStateText;
@@ -1174,7 +1176,7 @@ function(
1174
1176
  if (sValueState === ValueState.None) {
1175
1177
  sText = "";
1176
1178
  } else {
1177
- oResourceBundle = Core.getLibraryResourceBundle("sap.ui.core");
1179
+ oResourceBundle = Library.getResourceBundleFor("sap.ui.core");
1178
1180
  sText = oResourceBundle.getText("VALUE_STATE_" + sValueState.toUpperCase());
1179
1181
  }
1180
1182
 
@@ -1345,7 +1347,7 @@ function(
1345
1347
  oResourceBundle;
1346
1348
 
1347
1349
  if (!this.getAggregation("_pickerHeader")) {
1348
- oResourceBundle = Core.getLibraryResourceBundle("sap.m");
1350
+ oResourceBundle = Library.getResourceBundleFor("sap.m");
1349
1351
  this.setAggregation("_pickerHeader", new Bar({
1350
1352
  titleAlignment: library.TitleAlignment.Auto,
1351
1353
  contentMiddle: new Title({
@@ -1429,7 +1431,7 @@ function(
1429
1431
 
1430
1432
  this._bValueStateMessageOpened = false;
1431
1433
 
1432
- this._sAriaRoleDescription = Core.getLibraryResourceBundle("sap.m").getText("SELECT_ROLE_DESCRIPTION");
1434
+ this._sAriaRoleDescription = Library.getResourceBundleFor("sap.m").getText("SELECT_ROLE_DESCRIPTION");
1433
1435
 
1434
1436
  this._oInvisibleMessage = null;
1435
1437
 
@@ -2013,7 +2015,7 @@ function(
2013
2015
  return;
2014
2016
  }
2015
2017
 
2016
- var oControl = Core.byId(oEvent.relatedControlId),
2018
+ var oControl = Element.registry.get(oEvent.relatedControlId),
2017
2019
  oFocusDomRef = oControl && oControl.getFocusDomRef();
2018
2020
 
2019
2021
  if (Device.system.desktop && containsOrEquals(oPicker.getFocusDomRef(), oFocusDomRef)) {
@@ -2072,7 +2074,7 @@ function(
2072
2074
  this.setProperty("selectedItemId", (vItem instanceof Item) ? vItem.getId() : vItem, true);
2073
2075
 
2074
2076
  if (typeof vItem === "string") {
2075
- vItem = Core.byId(vItem);
2077
+ vItem = Element.registry.get(vItem);
2076
2078
  }
2077
2079
 
2078
2080
  sKey = vItem ? vItem.getKey() : "";
@@ -2639,7 +2641,7 @@ function(
2639
2641
  Select.prototype._clearReferencingLabelsHandlers = function () {
2640
2642
  var oLabel;
2641
2643
  this._referencingLabelsHandlers.forEach(function (oHandler) {
2642
- oLabel = Core.byId(oHandler.sLabelId);
2644
+ oLabel = Element.registry.get(oHandler.sLabelId);
2643
2645
  if (oLabel) {
2644
2646
  oLabel.removeEventDelegate(oHandler.oDelegate);
2645
2647
  }
@@ -2662,7 +2664,7 @@ function(
2662
2664
  return aLabelIDs.indexOf(sId) === iIndex;
2663
2665
  })
2664
2666
  .map(function(sLabelID) {
2665
- return Core.byId(sLabelID);
2667
+ return Element.registry.get(sLabelID);
2666
2668
  })
2667
2669
  .filter(Boolean);
2668
2670
 
@@ -2839,7 +2841,7 @@ function(
2839
2841
 
2840
2842
  if (typeof vItem === "string") {
2841
2843
  this.setAssociation("selectedItem", vItem, true);
2842
- vItem = Core.byId(vItem);
2844
+ vItem = Element.registry.get(vItem);
2843
2845
  }
2844
2846
 
2845
2847
  if (!(vItem instanceof Item) && vItem !== null) {
@@ -3028,7 +3030,7 @@ function(
3028
3030
  */
3029
3031
  Select.prototype.getSelectedItem = function() {
3030
3032
  var vSelectedItem = this.getAssociation("selectedItem");
3031
- return (vSelectedItem === null) ? null : Core.byId(vSelectedItem) || null;
3033
+ return (vSelectedItem === null) ? null : Element.registry.get(vSelectedItem) || null;
3032
3034
  };
3033
3035
 
3034
3036
  /**
@@ -3208,7 +3210,7 @@ function(
3208
3210
  Select.prototype.getAccessibilityInfo = function() {
3209
3211
  var aDescriptions = [],
3210
3212
  sDescription = "",
3211
- oResourceBundle = Core.getLibraryResourceBundle("sap.m"),
3213
+ oResourceBundle = Library.getResourceBundleFor("sap.m"),
3212
3214
  bIconOnly = this._isIconOnly(),
3213
3215
  oInfo = {
3214
3216
  role: this.getRenderer().getAriaRole(this),
@@ -126,7 +126,7 @@ function(
126
126
  * @extends sap.m.SelectDialogBase
127
127
  *
128
128
  * @author SAP SE
129
- * @version 1.115.1
129
+ * @version 1.117.0
130
130
  *
131
131
  * @constructor
132
132
  * @public
@@ -6,12 +6,14 @@
6
6
 
7
7
  // Provides control sap.m.SelectDialogBase.
8
8
  sap.ui.define([
9
+ './library',
9
10
  'sap/ui/Device',
10
11
  'sap/ui/core/Core',
11
12
  'sap/ui/core/Control',
12
13
  'sap/ui/core/InvisibleText'
13
14
  ],
14
15
  function(
16
+ library,
15
17
  Device,
16
18
  Core,
17
19
  Control,
@@ -19,6 +21,9 @@ function(
19
21
  ) {
20
22
  "use strict";
21
23
 
24
+ // shortcut for sap.m.SelectDialogInitialFocus
25
+ var SelectDialogInitialFocus = library.SelectDialogInitialFocus;
26
+
22
27
  /**
23
28
  * Constructor for a new SelectDialogBase.
24
29
  *
@@ -31,7 +36,7 @@ function(
31
36
  * @extends sap.ui.core.Control
32
37
  *
33
38
  * @author SAP SE
34
- * @version 1.115.1
39
+ * @version 1.117.0
35
40
  *
36
41
  * @constructor
37
42
  * @public
@@ -43,13 +48,23 @@ function(
43
48
  metadata: {
44
49
  library: "sap.m",
45
50
  "abstract": true,
46
- properties: {},
51
+ properties: {
52
+ /**
53
+ * Specifies the control that will receive the initial focus.
54
+ *
55
+ * <b>Note:</b> When the <code>growing</code> property is set to <code>true</code>,
56
+ * you can set the initial focus to <code>sap.m.SelectDialogInitialFocus.SearchField</code>.
57
+ * In this way the user can easily search for items that are not currently visible.
58
+ * @since 1.117.0
59
+ */
60
+ initialFocus: {type: "sap.m.SelectDialogInitialFocus", group: "Behavior", defaultValue: SelectDialogInitialFocus.List}
61
+ },
47
62
  aggregations: {},
48
63
  events: {
49
64
  /**
50
65
  * Fires before <code>items</code> binding is updated (e.g. sorting, filtering)
51
66
  *
52
- * <b>Note:</b> Event handler should not invalidate the control. *
67
+ * <b>Note:</b> Event handler should not invalidate the control.
53
68
  * @since 1.93
54
69
  */
55
70
  updateStarted : {
@@ -144,11 +159,20 @@ function(
144
159
  };
145
160
 
146
161
  SelectDialogBase.prototype._setInitialFocus = function () {
162
+ var oInitiallyFocusedControl;
163
+
147
164
  if (!Device.system.desktop) {
148
165
  return;
149
166
  }
150
167
 
151
- var oInitiallyFocusedControl = this._oDialog.getContent()[1];
168
+ switch (this.getInitialFocus()) {
169
+ case SelectDialogInitialFocus.SearchField:
170
+ oInitiallyFocusedControl = this._oSearchField;
171
+ break;
172
+ default:
173
+ oInitiallyFocusedControl = this._oDialog.getContent()[1];
174
+ break;
175
+ }
152
176
 
153
177
  this._oDialog.setInitialFocus(oInitiallyFocusedControl);
154
178
  };
@@ -7,7 +7,6 @@
7
7
  // Provides control sap.m.SelectList.
8
8
  sap.ui.define([
9
9
  './library',
10
- 'sap/ui/core/Core',
11
10
  'sap/ui/core/Control',
12
11
  'sap/ui/core/Element',
13
12
  'sap/ui/core/delegate/ItemNavigation',
@@ -15,7 +14,7 @@ sap.ui.define([
15
14
  './SelectListRenderer',
16
15
  'sap/base/Log'
17
16
  ],
18
- function(library, Core, Control, Element, ItemNavigation, Item, SelectListRenderer, Log) {
17
+ function(library, Control, Element, ItemNavigation, Item, SelectListRenderer, Log) {
19
18
  "use strict";
20
19
 
21
20
  // shortcut for sap.m.touch
@@ -35,7 +34,7 @@ sap.ui.define([
35
34
  * @extends sap.ui.core.Control
36
35
  *
37
36
  * @author SAP SE
38
- * @version 1.115.1
37
+ * @version 1.117.0
39
38
  *
40
39
  * @constructor
41
40
  * @public
@@ -579,7 +578,7 @@ sap.ui.define([
579
578
  this.setProperty("selectedItemId", (vItem instanceof Item) ? vItem.getId() : vItem);
580
579
 
581
580
  if (typeof vItem === "string") {
582
- vItem = Core.byId(vItem);
581
+ vItem = Element.registry.get(vItem);
583
582
  }
584
583
 
585
584
  this.setProperty("selectedKey", vItem ? vItem.getKey() : "", true);
@@ -928,7 +927,7 @@ sap.ui.define([
928
927
 
929
928
  if (typeof vItem === "string") {
930
929
  this.setAssociation("selectedItem", vItem, true);
931
- vItem = Core.byId(vItem);
930
+ vItem = Element.registry.get(vItem);
932
931
  }
933
932
 
934
933
  if (!(vItem instanceof Item) && vItem !== null) {
@@ -993,7 +992,7 @@ sap.ui.define([
993
992
  */
994
993
  SelectList.prototype.getSelectedItem = function() {
995
994
  var vSelectedItem = this.getAssociation("selectedItem");
996
- return (vSelectedItem === null) ? null : Core.byId(vSelectedItem) || null;
995
+ return (vSelectedItem === null) ? null : Element.registry.get(vSelectedItem) || null;
997
996
  };
998
997
 
999
998
  /**
@@ -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.115.1
42
+ * @version 1.117.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.115.1
13
+ * @version 1.117.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.115.1
48
+ * @version 1.117.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.115.1
61
+ * @version 1.117.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.115.1
26
+ * @version 1.117.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.115.1
39
+ * @version 1.117.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.115.1
34
+ * @version 1.117.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.115.1
110
+ * @version 1.117.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.115.1
28
+ * @version 1.117.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.115.1
114
+ * @version 1.117.0
115
115
  *
116
116
  * @constructor
117
117
  * @private
@@ -31,7 +31,8 @@ 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"
34
+ "sap/ui/unified/DateRange",
35
+ "sap/m/LinkAccessibleRole"
35
36
  ],
36
37
  function (
37
38
  Control,
@@ -59,7 +60,8 @@ sap.ui.define([
59
60
  CalendarDateUtils,
60
61
  Configuration,
61
62
  UI5Date,
62
- DateRange
63
+ DateRange,
64
+ LinkAccessibleRole
63
65
  ) {
64
66
  "use strict";
65
67
 
@@ -96,7 +98,7 @@ sap.ui.define([
96
98
  * @extends sap.ui.core.Control
97
99
  *
98
100
  * @author SAP SE
99
- * @version 1.115.1
101
+ * @version 1.117.0
100
102
  *
101
103
  * @constructor
102
104
  * @private
@@ -304,32 +306,25 @@ sap.ui.define([
304
306
  };
305
307
 
306
308
  SinglePlanningCalendarMonthGrid.prototype._checkDateSelected = function(oDay) {
307
- var oSelectedDate = this.getAggregation("selectedDates");
308
- if (!oSelectedDate) {
309
- return;
309
+ var aSelectedDate = this.getAggregation("selectedDates");
310
+ var oRange;
311
+ var oStartDate;
312
+ var oEndDate;
313
+ if (!aSelectedDate) {
314
+ return false;
310
315
  }
311
316
 
312
- var oTimeStamp = oDay.toUTCJSDate().getTime();
313
- var oUTCDate = UI5Date.getInstance(Date.UTC(0, 0, 1));
314
- for (var i = 0; i < oSelectedDate.length; i++){
315
- var oRange = oSelectedDate[i];
316
- var oStartDate = oRange.getStartDate();
317
- var oStartTimeStamp = CalendarUtils.MAX_MILLISECONDS; //max date
318
- if (oStartDate) {
319
- oUTCDate.setUTCFullYear(oStartDate.getFullYear(), oStartDate.getMonth(), oStartDate.getDate());
320
- oStartTimeStamp = oUTCDate.getTime();
321
- }
322
- var oEndDate = oRange.getEndDate();
323
- var oEndTimeStamp = -CalendarUtils.MAX_MILLISECONDS; //min date
324
- if (oEndDate) {
325
- oUTCDate.setUTCFullYear(oEndDate.getFullYear(), oEndDate.getMonth(), oEndDate.getDate());
326
- oEndTimeStamp = oUTCDate.getTime();
327
- }
317
+ for (var i = 0; i < aSelectedDate.length; i++) {
318
+ oRange = aSelectedDate[i];
319
+
320
+ oStartDate = oRange.getStartDate() && CalendarDate.fromLocalJSDate(oRange.getStartDate());
321
+ oEndDate = oRange.getEndDate() && CalendarDate.fromLocalJSDate(oRange.getEndDate());
328
322
 
329
- if ((oTimeStamp === oStartTimeStamp && !oEndDate) || (oTimeStamp >= oStartTimeStamp && oTimeStamp <= oEndTimeStamp)) {
323
+ if (oStartDate && oDay.isSame(oStartDate) || (oStartDate && oEndDate && oDay.isSameOrAfter(oStartDate) && oDay.isSameOrBefore(oEndDate))) {
330
324
  return true;
331
325
  }
332
326
  }
327
+
333
328
  return false;
334
329
  };
335
330
 
@@ -394,30 +389,26 @@ sap.ui.define([
394
389
 
395
390
  SinglePlanningCalendarMonthGrid.prototype._rangeSelection = function(oStartDate) {
396
391
  var oCurrentDate = UI5Date.getInstance(CalendarDate.fromLocalJSDate(oStartDate));
397
- var iDay;
398
392
  var oTarget;
399
393
  var i;
400
394
  var _bSelectWeek = false;
401
395
 
402
396
  for (i = 0; i < 7; i++) {
403
- iDay = oStartDate.getDate() + i;
404
- oCurrentDate.setDate(iDay);
405
397
  if (!this._checkDateSelected(CalendarDate.fromLocalJSDate(oCurrentDate))) {
406
398
  _bSelectWeek = true;
407
399
  break;
408
400
  }
401
+ oCurrentDate.setDate(oCurrentDate.getDate() + 1);
409
402
  }
410
403
 
411
404
  oCurrentDate = UI5Date.getInstance(CalendarDate.fromLocalJSDate(oStartDate));
412
405
 
413
406
  for (i = 0; i < 7; i++) {
414
- iDay = oStartDate.getDate() + i;
415
- oCurrentDate.setDate(iDay);
416
407
  oTarget = document.querySelector('[sap-ui-date="' + oCurrentDate.getTime() + '"]');
417
- if (_bSelectWeek && oTarget && oTarget.classList.contains("sapMSPCMonthDaySelected")){
418
- continue;
408
+ if (!(_bSelectWeek && oTarget && oTarget.classList.contains("sapMSPCMonthDaySelected"))){
409
+ this._toggleMarkCell(oTarget, oCurrentDate);
419
410
  }
420
- this._toggleMarkCell(oTarget, oCurrentDate);
411
+ oCurrentDate.setDate(oCurrentDate.getDate() + 1);
421
412
  }
422
413
  };
423
414
 
@@ -502,7 +493,7 @@ sap.ui.define([
502
493
  oStartDate = UI5Date.getInstance(oDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
503
494
  this._toggleMarkCell(oTarget, oStartDate);
504
495
 
505
- } else if (this._bCurrentWeekSelection && this.getAggregation("selectedDates")){
496
+ } else if (this._bCurrentWeekSelection && SinglePlanningCalendarSelectionMode.MultiSelect === this.getDateSelectionMode()){
506
497
  this._bCurrentWeekSelection = false;
507
498
  var iFirstDayOfWeek;
508
499
  var oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString()));
@@ -535,6 +526,8 @@ sap.ui.define([
535
526
  oTarget = oEvent.target,
536
527
  bIsCell = oTarget && oTarget.classList.contains("sapMSPCMonthDay"),
537
528
  bIsLink = oTarget && oTarget.classList.contains("sapMLnk"),
529
+ bWeekNumberSelect = oTarget && oTarget.classList.contains("sapMSPCMonthWeekNumber"),
530
+ oFirstSiblingElement = bWeekNumberSelect && oEvent.originalEvent.target.nextSibling.children[0],
538
531
  iTimestamp,
539
532
  oStartDate,
540
533
  oEndDate;
@@ -557,6 +550,19 @@ sap.ui.define([
557
550
  appointment: undefined,
558
551
  appointments: this._toggleAppointmentSelection(undefined, true)
559
552
  });
553
+ } else if (bWeekNumberSelect) {
554
+ iTimestamp = parseInt(oFirstSiblingElement.getAttribute("sap-ui-date"));
555
+ oStartDate = UI5Date.getInstance(iTimestamp);
556
+ oStartDate = UI5Date.getInstance(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
557
+
558
+ oEndDate = UI5Date.getInstance(oStartDate);
559
+ oEndDate.setDate(oEndDate.getDate() + 6);
560
+
561
+ this._bCurrentWeekSelection = true;
562
+ this._bMultiDateSelect = false;
563
+ this._handelMultiDateSelection(oTarget, oStartDate, oEndDate, oEvent);
564
+ this.fireEvent("selectDate", {startDate: oStartDate, endDate: oEndDate});
565
+
560
566
  } else if (oSrcControl && oSrcControl.isA("sap.ui.unified.CalendarAppointment")) {
561
567
  // add suffix in appointment
562
568
  if (oTarget.parentElement && oTarget.parentElement.getAttribute("id")) {
@@ -578,25 +584,18 @@ sap.ui.define([
578
584
  };
579
585
 
580
586
  SinglePlanningCalendarMonthGrid.prototype._toggleMarkCell = function (oTarget, oDay) {
581
- // must be converted to UTC date because in this view full day is selected/unselected;
582
- var oUTCDate = UI5Date.getInstance(Date.UTC(0, 0, 1));
583
- oUTCDate.setUTCFullYear(oDay.getFullYear(), oDay.getMonth(), oDay.getDate());
584
- oUTCDate.setMinutes(0, 0, 0);
585
-
586
587
  if (oTarget && !oTarget.classList.contains("sapMSPCMonthDaySelected")) {
587
- this.addAggregation("selectedDates", new DateRange({startDate: oUTCDate}));
588
+ this.addAggregation("selectedDates", new DateRange({startDate: UI5Date.getInstance(oDay)}));
588
589
  } else {
589
590
  var aSelectedDates = this.getAggregation("selectedDates");
590
591
 
591
592
  if (!aSelectedDates) {
592
- return this;
593
+ return;
593
594
  }
594
595
 
595
596
  for (var i = 0; i < aSelectedDates.length; i++){
596
- var oUTCStartDate = UI5Date.getInstance(Date.UTC(0, 0, 1));
597
- var oSlectStartDate = aSelectedDates[i].getStartDate();
598
- oUTCStartDate.setUTCFullYear(oSlectStartDate.getFullYear(), oSlectStartDate.getMonth(), oSlectStartDate.getDate());
599
- if (oUTCStartDate.getTime() === oUTCDate.getTime()) {
597
+ var oSelectStartDate = aSelectedDates[i].getStartDate();
598
+ if (CalendarDate.fromLocalJSDate(oSelectStartDate).isSame(CalendarDate.fromLocalJSDate(oDay))) {
600
599
  this.removeAggregation("selectedDates", i);
601
600
  break;
602
601
  }
@@ -649,6 +648,7 @@ sap.ui.define([
649
648
  .getLibraryResourceBundle("sap.m")
650
649
  .getText("SPC_MORE_LINK", [iAppointmentsCount.toString()]),
651
650
  oLink = new Link({
651
+ accessibleRole: LinkAccessibleRole.Button,
652
652
  text: sMore,
653
653
  press: this._handleMorePress
654
654
  }).addCustomData(new CustomData({
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.m.SinglePlanningCalendarView
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.115.1
31
+ * @version 1.117.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.115.1
29
+ * @version 1.117.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.115.1
34
+ * @version 1.117.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.115.1
32
+ * @version 1.117.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Control
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.115.1
46
+ * @version 1.117.0
47
47
  * @since 1.34
48
48
  *
49
49
  * @public
@@ -97,7 +97,7 @@ function(
97
97
  * @implements sap.ui.core.IFormContent
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.115.1
100
+ * @version 1.117.0
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -42,7 +42,7 @@ function(
42
42
  * @extends sap.m.SliderTooltipBase
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.115.1
45
+ * @version 1.117.0
46
46
  *
47
47
  * @constructor
48
48
  * @private
@@ -21,7 +21,7 @@ function(Control, Library, SliderTooltipBaseRenderer) {
21
21
  * @abstract
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.115.1
24
+ * @version 1.117.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -37,7 +37,7 @@ function(
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.115.1
40
+ * @version 1.117.0
41
41
  *
42
42
  * @constructor
43
43
  * @private
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.m.SplitContainer
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.115.1
39
+ * @version 1.117.0
40
40
  *
41
41
  * @constructor
42
42
  * @public