@openui5/sap.m 1.95.0 → 1.96.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 (462) hide show
  1. package/.reuse/dep5 +10 -5
  2. package/THIRDPARTY.txt +17 -8
  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 +1 -1
  9. package/src/sap/m/App.js +1 -1
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +1 -1
  12. package/src/sap/m/Bar.js +1 -1
  13. package/src/sap/m/Breadcrumbs.js +1 -1
  14. package/src/sap/m/BusyDialog.js +1 -1
  15. package/src/sap/m/BusyIndicator.js +1 -1
  16. package/src/sap/m/Button.js +1 -1
  17. package/src/sap/m/Carousel.js +1 -1
  18. package/src/sap/m/CarouselLayout.js +1 -1
  19. package/src/sap/m/CheckBox.js +1 -1
  20. package/src/sap/m/ColorPalette.js +7 -11
  21. package/src/sap/m/ColorPalettePopover.js +1 -6
  22. package/src/sap/m/Column.js +6 -1
  23. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  24. package/src/sap/m/ColumnListItem.js +1 -1
  25. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  26. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  30. package/src/sap/m/ComboBox.js +1 -1
  31. package/src/sap/m/ComboBoxBase.js +1 -1
  32. package/src/sap/m/ComboBoxTextField.js +1 -1
  33. package/src/sap/m/CustomDynamicDateOption.js +9 -1
  34. package/src/sap/m/CustomListItem.js +1 -1
  35. package/src/sap/m/CustomTile.js +1 -1
  36. package/src/sap/m/CustomTreeItem.js +1 -1
  37. package/src/sap/m/DatePicker.js +6 -9
  38. package/src/sap/m/DateRangeSelection.js +6 -9
  39. package/src/sap/m/DateTimeField.js +1 -1
  40. package/src/sap/m/DateTimeInput.js +1 -1
  41. package/src/sap/m/DateTimePicker.js +6 -9
  42. package/src/sap/m/Dialog.js +16 -37
  43. package/src/sap/m/DisplayListItem.js +1 -1
  44. package/src/sap/m/DraftIndicator.js +1 -1
  45. package/src/sap/m/DynamicDate.js +1 -1
  46. package/src/sap/m/DynamicDateOption.js +3 -2
  47. package/src/sap/m/DynamicDateRange.js +7 -4
  48. package/src/sap/m/DynamicDateUtil.js +6 -3
  49. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  50. package/src/sap/m/ExpandableText.js +1 -1
  51. package/src/sap/m/FacetFilter.js +1 -1
  52. package/src/sap/m/FacetFilterItem.js +1 -1
  53. package/src/sap/m/FacetFilterList.js +1 -1
  54. package/src/sap/m/FeedContent.js +1 -1
  55. package/src/sap/m/FeedInput.js +1 -1
  56. package/src/sap/m/FeedListItem.js +1 -1
  57. package/src/sap/m/FeedListItemAction.js +1 -1
  58. package/src/sap/m/Fiori20Adapter.js +2 -2
  59. package/src/sap/m/FlexBox.js +1 -1
  60. package/src/sap/m/FlexItemData.js +1 -1
  61. package/src/sap/m/FormattedText.js +1 -1
  62. package/src/sap/m/GenericTag.js +1 -1
  63. package/src/sap/m/GenericTile.js +215 -56
  64. package/src/sap/m/GenericTileRenderer.js +218 -83
  65. package/src/sap/m/GroupHeaderListItem.js +1 -1
  66. package/src/sap/m/GrowingList.js +1 -1
  67. package/src/sap/m/HBox.js +1 -1
  68. package/src/sap/m/HeaderContainer.js +1 -1
  69. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  70. package/src/sap/m/IconTabBar.js +7 -1
  71. package/src/sap/m/IconTabBarSelectList.js +1 -1
  72. package/src/sap/m/IconTabFilter.js +1 -1
  73. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  74. package/src/sap/m/IconTabHeader.js +13 -4
  75. package/src/sap/m/IconTabSeparator.js +1 -1
  76. package/src/sap/m/Image.js +1 -1
  77. package/src/sap/m/ImageContent.js +1 -1
  78. package/src/sap/m/Input.js +17 -7
  79. package/src/sap/m/InputBase.js +4 -2
  80. package/src/sap/m/InputListItem.js +1 -1
  81. package/src/sap/m/Label.js +1 -1
  82. package/src/sap/m/LightBox.js +1 -1
  83. package/src/sap/m/LightBoxItem.js +1 -1
  84. package/src/sap/m/Link.js +1 -1
  85. package/src/sap/m/List.js +1 -1
  86. package/src/sap/m/ListBase.js +1 -1
  87. package/src/sap/m/ListItemBase.js +2 -2
  88. package/src/sap/m/MaskEnabler.js +106 -4
  89. package/src/sap/m/MaskInput.js +19 -4
  90. package/src/sap/m/MaskInputRule.js +1 -1
  91. package/src/sap/m/Menu.js +8 -6
  92. package/src/sap/m/MenuButton.js +1 -1
  93. package/src/sap/m/MenuItem.js +1 -1
  94. package/src/sap/m/MenuListItem.js +1 -1
  95. package/src/sap/m/MessageItem.js +1 -1
  96. package/src/sap/m/MessageListItem.js +1 -1
  97. package/src/sap/m/MessagePage.js +1 -1
  98. package/src/sap/m/MessagePopover.js +1 -1
  99. package/src/sap/m/MessagePopoverItem.js +1 -1
  100. package/src/sap/m/MessageStrip.js +7 -3
  101. package/src/sap/m/MessageStripRenderer.js +2 -2
  102. package/src/sap/m/MessageToast.js +1 -1
  103. package/src/sap/m/MessageView.js +1 -1
  104. package/src/sap/m/MultiComboBox.js +333 -114
  105. package/src/sap/m/MultiEditField.js +1 -1
  106. package/src/sap/m/MultiInput.js +3 -3
  107. package/src/sap/m/NavContainer.js +13 -5
  108. package/src/sap/m/NewsContent.js +19 -10
  109. package/src/sap/m/NewsContentRenderer.js +1 -2
  110. package/src/sap/m/NotificationList.js +1 -1
  111. package/src/sap/m/NotificationListBase.js +1 -1
  112. package/src/sap/m/NotificationListGroup.js +1 -1
  113. package/src/sap/m/NotificationListItem.js +1 -1
  114. package/src/sap/m/NumericContent.js +1 -1
  115. package/src/sap/m/NumericContentRenderer.js +34 -17
  116. package/src/sap/m/ObjectAttribute.js +46 -5
  117. package/src/sap/m/ObjectHeader.js +1 -1
  118. package/src/sap/m/ObjectIdentifier.js +1 -1
  119. package/src/sap/m/ObjectListItem.js +1 -1
  120. package/src/sap/m/ObjectMarker.js +1 -1
  121. package/src/sap/m/ObjectNumber.js +1 -1
  122. package/src/sap/m/ObjectStatus.js +1 -1
  123. package/src/sap/m/ObjectStatusRenderer.js +4 -1
  124. package/src/sap/m/OverflowToolbar.js +3 -5
  125. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  126. package/src/sap/m/OverflowToolbarButton.js +4 -2
  127. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  128. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  129. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  130. package/src/sap/m/P13nColumnsItem.js +1 -1
  131. package/src/sap/m/P13nColumnsPanel.js +3 -3
  132. package/src/sap/m/P13nConditionPanel.js +22 -52
  133. package/src/sap/m/P13nDialog.js +1 -1
  134. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  135. package/src/sap/m/P13nDimMeasurePanel.js +3 -3
  136. package/src/sap/m/P13nFilterItem.js +1 -1
  137. package/src/sap/m/P13nFilterPanel.js +1 -3
  138. package/src/sap/m/P13nGroupItem.js +1 -1
  139. package/src/sap/m/P13nGroupPanel.js +1 -3
  140. package/src/sap/m/P13nItem.js +1 -1
  141. package/src/sap/m/P13nPanel.js +1 -1
  142. package/src/sap/m/P13nSelectionItem.js +1 -1
  143. package/src/sap/m/P13nSelectionPanel.js +1 -1
  144. package/src/sap/m/P13nSortItem.js +1 -1
  145. package/src/sap/m/P13nSortPanel.js +1 -3
  146. package/src/sap/m/PDFViewer.js +1 -1
  147. package/src/sap/m/Page.js +1 -1
  148. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  149. package/src/sap/m/PagingButton.js +1 -1
  150. package/src/sap/m/Panel.js +1 -1
  151. package/src/sap/m/PlanningCalendar.js +46 -31
  152. package/src/sap/m/PlanningCalendarHeader.js +1 -6
  153. package/src/sap/m/PlanningCalendarLegend.js +1 -6
  154. package/src/sap/m/PlanningCalendarLegendRenderer.js +0 -5
  155. package/src/sap/m/PlanningCalendarRow.js +1 -1
  156. package/src/sap/m/PlanningCalendarView.js +1 -6
  157. package/src/sap/m/Popover.js +1 -1
  158. package/src/sap/m/PopoverRenderer.js +3 -2
  159. package/src/sap/m/ProgressIndicator.js +1 -1
  160. package/src/sap/m/PullToRefresh.js +1 -1
  161. package/src/sap/m/QuickView.js +1 -1
  162. package/src/sap/m/QuickViewBase.js +1 -1
  163. package/src/sap/m/QuickViewCard.js +1 -1
  164. package/src/sap/m/QuickViewGroup.js +1 -1
  165. package/src/sap/m/QuickViewGroupElement.js +1 -1
  166. package/src/sap/m/QuickViewPage.js +1 -1
  167. package/src/sap/m/RadioButton.js +1 -1
  168. package/src/sap/m/RadioButtonGroup.js +1 -1
  169. package/src/sap/m/RangeSlider.js +1 -1
  170. package/src/sap/m/RatingIndicator.js +1 -1
  171. package/src/sap/m/ResponsivePopover.js +1 -1
  172. package/src/sap/m/ResponsiveScale.js +1 -1
  173. package/src/sap/m/ScrollBar.js +1 -1
  174. package/src/sap/m/ScrollContainer.js +1 -1
  175. package/src/sap/m/SearchField.js +2 -33
  176. package/src/sap/m/SegmentedButton.js +1 -1
  177. package/src/sap/m/SegmentedButtonItem.js +1 -1
  178. package/src/sap/m/SegmentedButtonRenderer.js +6 -0
  179. package/src/sap/m/Select.js +3 -4
  180. package/src/sap/m/SelectDialog.js +1 -1
  181. package/src/sap/m/SelectDialogBase.js +1 -1
  182. package/src/sap/m/SelectList.js +1 -1
  183. package/src/sap/m/SelectRenderer.js +10 -1
  184. package/src/sap/m/SelectionDetails.js +7 -9
  185. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  186. package/src/sap/m/SelectionDetailsItem.js +8 -4
  187. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  188. package/src/sap/m/Shell.js +1 -1
  189. package/src/sap/m/SimpleFixFlex.js +1 -1
  190. package/src/sap/m/SinglePlanningCalendar.js +7 -10
  191. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  192. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -6
  193. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -7
  194. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
  195. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +4 -6
  196. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -6
  197. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -6
  199. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -6
  200. package/src/sap/m/SlideTile.js +31 -3
  201. package/src/sap/m/SlideTileRenderer.js +9 -0
  202. package/src/sap/m/Slider.js +1 -1
  203. package/src/sap/m/SliderTooltip.js +1 -1
  204. package/src/sap/m/SliderTooltipBase.js +1 -1
  205. package/src/sap/m/SliderTooltipContainer.js +1 -1
  206. package/src/sap/m/SplitApp.js +1 -1
  207. package/src/sap/m/SplitButton.js +1 -1
  208. package/src/sap/m/SplitButtonRenderer.js +5 -1
  209. package/src/sap/m/SplitContainer.js +10 -4
  210. package/src/sap/m/StandardDynamicDateOption.js +6 -3
  211. package/src/sap/m/StandardListItem.js +11 -18
  212. package/src/sap/m/StandardTile.js +1 -1
  213. package/src/sap/m/StandardTreeItem.js +1 -1
  214. package/src/sap/m/StepInput.js +7 -9
  215. package/src/sap/m/SuggestionItem.js +1 -7
  216. package/src/sap/m/SuggestionsPopover.js +44 -1
  217. package/src/sap/m/Switch.js +9 -1
  218. package/src/sap/m/TabContainer.js +1 -1
  219. package/src/sap/m/TabContainerItem.js +1 -1
  220. package/src/sap/m/TabStrip.js +1 -1
  221. package/src/sap/m/TabStripItem.js +1 -1
  222. package/src/sap/m/Table.js +1 -1
  223. package/src/sap/m/TablePersoController.js +1 -1
  224. package/src/sap/m/TablePersoDialog.js +1 -1
  225. package/src/sap/m/TablePersoProvider.js +1 -1
  226. package/src/sap/m/TableSelectDialog.js +1 -1
  227. package/src/sap/m/Text.js +1 -1
  228. package/src/sap/m/TextArea.js +1 -1
  229. package/src/sap/m/Tile.js +1 -1
  230. package/src/sap/m/TileContainer.js +1 -1
  231. package/src/sap/m/TileContent.js +22 -4
  232. package/src/sap/m/TileContentRenderer.js +73 -5
  233. package/src/sap/m/TimePicker.js +1 -1
  234. package/src/sap/m/TimePickerClock.js +1 -1
  235. package/src/sap/m/TimePickerClocks.js +1 -1
  236. package/src/sap/m/TimePickerInputs.js +1 -1
  237. package/src/sap/m/TimePickerInternals.js +1 -1
  238. package/src/sap/m/TimePickerSlider.js +1 -1
  239. package/src/sap/m/TimePickerSliders.js +1 -1
  240. package/src/sap/m/Title.js +1 -1
  241. package/src/sap/m/TitlePropagationSupport.js +1 -1
  242. package/src/sap/m/ToggleButton.js +1 -1
  243. package/src/sap/m/Token.js +1 -1
  244. package/src/sap/m/Tokenizer.js +2 -1
  245. package/src/sap/m/Toolbar.js +1 -1
  246. package/src/sap/m/ToolbarLayoutData.js +1 -1
  247. package/src/sap/m/ToolbarSeparator.js +1 -1
  248. package/src/sap/m/ToolbarSpacer.js +1 -1
  249. package/src/sap/m/Tree.js +1 -1
  250. package/src/sap/m/TreeItemBase.js +1 -1
  251. package/src/sap/m/UploadCollection.js +1 -6
  252. package/src/sap/m/UploadCollectionItem.js +1 -1
  253. package/src/sap/m/UploadCollectionParameter.js +1 -1
  254. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  255. package/src/sap/m/VBox.js +1 -1
  256. package/src/sap/m/ValueStateHeader.js +1 -1
  257. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  258. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  259. package/src/sap/m/ViewSettingsDialog.js +1 -1
  260. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  261. package/src/sap/m/ViewSettingsItem.js +1 -1
  262. package/src/sap/m/VisibleItem.js +1 -1
  263. package/src/sap/m/WheelSlider.js +1 -1
  264. package/src/sap/m/WheelSliderContainer.js +1 -1
  265. package/src/sap/m/Wizard.js +2 -1
  266. package/src/sap/m/WizardProgressNavigator.js +1 -1
  267. package/src/sap/m/WizardProgressNavigatorRenderer.js +3 -2
  268. package/src/sap/m/WizardStep.js +1 -1
  269. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  270. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  271. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  272. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  273. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +24 -15
  274. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  275. package/src/sap/m/delegate/DateNavigation.js +4 -5
  276. package/src/sap/m/designtime/IconTabBar.designtime.js +4 -1
  277. package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
  278. package/src/sap/m/designtime/messagebundle_ar.properties +3 -3
  279. package/src/sap/m/designtime/messagebundle_bg.properties +3 -3
  280. package/src/sap/m/designtime/messagebundle_ca.properties +3 -3
  281. package/src/sap/m/designtime/messagebundle_cs.properties +3 -3
  282. package/src/sap/m/designtime/messagebundle_cy.properties +3 -3
  283. package/src/sap/m/designtime/messagebundle_da.properties +3 -3
  284. package/src/sap/m/designtime/messagebundle_de.properties +5 -5
  285. package/src/sap/m/designtime/messagebundle_el.properties +3 -3
  286. package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
  287. package/src/sap/m/designtime/messagebundle_es.properties +3 -3
  288. package/src/sap/m/designtime/messagebundle_es_MX.properties +3 -3
  289. package/src/sap/m/designtime/messagebundle_et.properties +3 -3
  290. package/src/sap/m/designtime/messagebundle_fi.properties +3 -3
  291. package/src/sap/m/designtime/messagebundle_fr.properties +3 -3
  292. package/src/sap/m/designtime/messagebundle_fr_CA.properties +3 -3
  293. package/src/sap/m/designtime/messagebundle_hi.properties +3 -3
  294. package/src/sap/m/designtime/messagebundle_hr.properties +3 -3
  295. package/src/sap/m/designtime/messagebundle_hu.properties +3 -3
  296. package/src/sap/m/designtime/messagebundle_id.properties +3 -3
  297. package/src/sap/m/designtime/messagebundle_it.properties +3 -3
  298. package/src/sap/m/designtime/messagebundle_iw.properties +3 -3
  299. package/src/sap/m/designtime/messagebundle_ja.properties +3 -3
  300. package/src/sap/m/designtime/messagebundle_kk.properties +3 -3
  301. package/src/sap/m/designtime/messagebundle_ko.properties +3 -3
  302. package/src/sap/m/designtime/messagebundle_lt.properties +3 -3
  303. package/src/sap/m/designtime/messagebundle_lv.properties +3 -3
  304. package/src/sap/m/designtime/messagebundle_ms.properties +3 -3
  305. package/src/sap/m/designtime/messagebundle_nl.properties +3 -3
  306. package/src/sap/m/designtime/messagebundle_no.properties +3 -3
  307. package/src/sap/m/designtime/messagebundle_pl.properties +3 -3
  308. package/src/sap/m/designtime/messagebundle_pt.properties +3 -3
  309. package/src/sap/m/designtime/messagebundle_pt_PT.properties +3 -3
  310. package/src/sap/m/designtime/messagebundle_ro.properties +3 -3
  311. package/src/sap/m/designtime/messagebundle_ru.properties +3 -3
  312. package/src/sap/m/designtime/messagebundle_sh.properties +3 -3
  313. package/src/sap/m/designtime/messagebundle_sk.properties +3 -3
  314. package/src/sap/m/designtime/messagebundle_sl.properties +3 -3
  315. package/src/sap/m/designtime/messagebundle_sv.properties +3 -3
  316. package/src/sap/m/designtime/messagebundle_th.properties +3 -3
  317. package/src/sap/m/designtime/messagebundle_tr.properties +3 -3
  318. package/src/sap/m/designtime/messagebundle_uk.properties +3 -3
  319. package/src/sap/m/designtime/messagebundle_vi.properties +3 -3
  320. package/src/sap/m/designtime/messagebundle_zh_CN.properties +3 -3
  321. package/src/sap/m/designtime/messagebundle_zh_TW.properties +3 -3
  322. package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
  323. package/src/sap/m/inputUtils/ListHelpers.js +16 -3
  324. package/src/sap/m/library.js +58 -31
  325. package/src/sap/m/messagebundle.properties +47 -3
  326. package/src/sap/m/messagebundle_ar.properties +5 -3
  327. package/src/sap/m/messagebundle_bg.properties +5 -3
  328. package/src/sap/m/messagebundle_ca.properties +5 -3
  329. package/src/sap/m/messagebundle_cs.properties +5 -3
  330. package/src/sap/m/messagebundle_cy.properties +5 -3
  331. package/src/sap/m/messagebundle_da.properties +5 -3
  332. package/src/sap/m/messagebundle_de.properties +5 -3
  333. package/src/sap/m/messagebundle_el.properties +5 -3
  334. package/src/sap/m/messagebundle_en.properties +2 -0
  335. package/src/sap/m/messagebundle_en_GB.properties +3 -1
  336. package/src/sap/m/messagebundle_en_US_sappsd.properties +17 -1
  337. package/src/sap/m/messagebundle_en_US_saprigi.properties +39 -3
  338. package/src/sap/m/messagebundle_en_US_saptrc.properties +3 -1
  339. package/src/sap/m/messagebundle_es.properties +5 -3
  340. package/src/sap/m/messagebundle_es_MX.properties +5 -3
  341. package/src/sap/m/messagebundle_et.properties +5 -3
  342. package/src/sap/m/messagebundle_fi.properties +5 -3
  343. package/src/sap/m/messagebundle_fr.properties +10 -8
  344. package/src/sap/m/messagebundle_fr_CA.properties +6 -4
  345. package/src/sap/m/messagebundle_hi.properties +5 -3
  346. package/src/sap/m/messagebundle_hr.properties +5 -3
  347. package/src/sap/m/messagebundle_hu.properties +5 -3
  348. package/src/sap/m/messagebundle_id.properties +5 -3
  349. package/src/sap/m/messagebundle_it.properties +5 -3
  350. package/src/sap/m/messagebundle_iw.properties +5 -3
  351. package/src/sap/m/messagebundle_ja.properties +5 -3
  352. package/src/sap/m/messagebundle_kk.properties +5 -3
  353. package/src/sap/m/messagebundle_ko.properties +5 -3
  354. package/src/sap/m/messagebundle_lt.properties +5 -3
  355. package/src/sap/m/messagebundle_lv.properties +5 -3
  356. package/src/sap/m/messagebundle_ms.properties +5 -3
  357. package/src/sap/m/messagebundle_nl.properties +5 -3
  358. package/src/sap/m/messagebundle_no.properties +5 -3
  359. package/src/sap/m/messagebundle_pl.properties +5 -3
  360. package/src/sap/m/messagebundle_pt.properties +5 -3
  361. package/src/sap/m/messagebundle_pt_PT.properties +5 -3
  362. package/src/sap/m/messagebundle_ro.properties +5 -3
  363. package/src/sap/m/messagebundle_ru.properties +5 -3
  364. package/src/sap/m/messagebundle_sh.properties +5 -3
  365. package/src/sap/m/messagebundle_sk.properties +5 -3
  366. package/src/sap/m/messagebundle_sl.properties +5 -3
  367. package/src/sap/m/messagebundle_sv.properties +5 -3
  368. package/src/sap/m/messagebundle_th.properties +5 -3
  369. package/src/sap/m/messagebundle_tr.properties +5 -3
  370. package/src/sap/m/messagebundle_uk.properties +5 -3
  371. package/src/sap/m/messagebundle_vi.properties +5 -3
  372. package/src/sap/m/messagebundle_zh_CN.properties +5 -3
  373. package/src/sap/m/messagebundle_zh_TW.properties +5 -3
  374. package/src/sap/m/p13n/AbstractContainer.js +243 -0
  375. package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
  376. package/src/sap/m/p13n/BasePanel.js +643 -0
  377. package/src/sap/m/p13n/Container.js +239 -0
  378. package/src/sap/m/p13n/GroupPanel.js +119 -0
  379. package/src/sap/m/p13n/QueryPanel.js +312 -0
  380. package/src/sap/m/p13n/SelectionPanel.js +403 -0
  381. package/src/sap/m/p13n/SortPanel.js +139 -0
  382. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  383. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  384. package/src/sap/m/plugins/PasteProvider.js +1 -1
  385. package/src/sap/m/plugins/PluginBase.js +1 -1
  386. package/src/sap/m/routing/TargetHandler.js +9 -4
  387. package/src/sap/m/semantic/AddAction.js +1 -1
  388. package/src/sap/m/semantic/CancelAction.js +1 -1
  389. package/src/sap/m/semantic/DeleteAction.js +1 -1
  390. package/src/sap/m/semantic/DetailPage.js +1 -1
  391. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  392. package/src/sap/m/semantic/EditAction.js +1 -1
  393. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  394. package/src/sap/m/semantic/FilterAction.js +1 -1
  395. package/src/sap/m/semantic/FilterSelect.js +1 -1
  396. package/src/sap/m/semantic/FlagAction.js +1 -1
  397. package/src/sap/m/semantic/ForwardAction.js +1 -1
  398. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  399. package/src/sap/m/semantic/GroupAction.js +1 -1
  400. package/src/sap/m/semantic/GroupSelect.js +1 -1
  401. package/src/sap/m/semantic/MainAction.js +1 -1
  402. package/src/sap/m/semantic/MasterPage.js +1 -1
  403. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  404. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  405. package/src/sap/m/semantic/NegativeAction.js +1 -1
  406. package/src/sap/m/semantic/OpenInAction.js +1 -1
  407. package/src/sap/m/semantic/PositiveAction.js +1 -1
  408. package/src/sap/m/semantic/PrintAction.js +1 -1
  409. package/src/sap/m/semantic/SaveAction.js +1 -1
  410. package/src/sap/m/semantic/Segment.js +1 -1
  411. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  412. package/src/sap/m/semantic/SemanticButton.js +1 -1
  413. package/src/sap/m/semantic/SemanticConfiguration.js +3 -5
  414. package/src/sap/m/semantic/SemanticControl.js +1 -1
  415. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  416. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  417. package/src/sap/m/semantic/SemanticPage.js +1 -1
  418. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  419. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  420. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  421. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  422. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  423. package/src/sap/m/semantic/ShareMenu.js +1 -1
  424. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  425. package/src/sap/m/semantic/SortAction.js +1 -1
  426. package/src/sap/m/semantic/SortSelect.js +1 -1
  427. package/src/sap/m/table/Util.js +192 -0
  428. package/src/sap/m/themes/base/AbstractContainer.less +17 -0
  429. package/src/sap/m/themes/base/Carousel.less +37 -2
  430. package/src/sap/m/themes/base/Dialog.less +11 -5
  431. package/src/sap/m/themes/base/GenericTile.less +386 -17
  432. package/src/sap/m/themes/base/IconTabBar.less +13 -7
  433. package/src/sap/m/themes/base/IconTabBarSelectList.less +4 -2
  434. package/src/sap/m/themes/base/InputBase.less +0 -24
  435. package/src/sap/m/themes/base/Label.less +6 -0
  436. package/src/sap/m/themes/base/ListItemBase.less +4 -2
  437. package/src/sap/m/themes/base/MultiComboBox.less +17 -0
  438. package/src/sap/m/themes/base/NewsContent.less +7 -1
  439. package/src/sap/m/themes/base/NotificationListBase.less +1 -1
  440. package/src/sap/m/themes/base/NumericContent.less +87 -0
  441. package/src/sap/m/themes/base/ObjectNumber.less +10 -2
  442. package/src/sap/m/themes/base/ObjectStatus.less +5 -1
  443. package/src/sap/m/themes/base/P13nContainer.less +17 -0
  444. package/src/sap/m/themes/base/P13nDialog.less +4 -0
  445. package/src/sap/m/themes/base/SearchField.less +21 -14
  446. package/src/sap/m/themes/base/SegmentedButton.less +1 -1
  447. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +1 -2
  448. package/src/sap/m/themes/base/SlideTile.less +15 -0
  449. package/src/sap/m/themes/base/StandardListItem.less +1 -1
  450. package/src/sap/m/themes/base/Table.less +9 -8
  451. package/src/sap/m/themes/base/Text.less +6 -0
  452. package/src/sap/m/themes/base/TileContent.less +4 -0
  453. package/src/sap/m/themes/base/Token.less +0 -3
  454. package/src/sap/m/themes/base/library.source.less +4 -0
  455. package/src/sap/m/themes/base/p13n.Container.less +17 -0
  456. package/src/sap/m/themes/base/p13n.QueryPanel.less +7 -0
  457. package/src/sap/m/themes/base/p13n.SelectionPanel.less +32 -0
  458. package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
  459. package/src/sap/m/upload/UploadSet.js +14 -18
  460. package/src/sap/m/upload/UploadSetItem.js +7 -2
  461. package/ui5.yaml +4 -1
  462. package/src/sap/m/ios7.js +0 -199
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  //Provides control sap.m.PlanningCalendar.
13
8
  sap.ui.define([
14
9
  'sap/m/delegate/DateNavigation',
@@ -166,11 +161,13 @@ sap.ui.define([
166
161
  * a whole week/month. The available navigation allows the user to select a specific interval using a picker, or
167
162
  * move to the previous/next interval using arrows.
168
163
  *
169
- * <b>Note:</b> The <code>PlanningCalendar</code> uses parts of the <code>sap.ui.unified</code> library.
164
+ * <b>Note:</b> The application developer should add dependency to <code>sap.ui.unified</code> library
165
+ * on application level to ensure that the library is loaded before the module dependencies will be required.
166
+ * The <code>PlanningCalendar</code> uses parts of the <code>sap.ui.unified</code> library.
170
167
  * This library will be loaded after the <code>PlanningCalendar</code>, if it wasn't loaded first.
171
- * This could lead to a waiting time when a <code>PlanningCalendar</code> is used for the first time.
168
+ * This could lead to CSP compliance issues and adds an additional waiting time when a <code>PlanningCalendar</code> is used for the first time.
172
169
  * To prevent this, apps that use the <code>PlanningCalendar</code> should also load the
173
- * <code>sap.ui.unified</code> library.
170
+ * <code>sap.ui.unified</code> library in advance.
174
171
  *
175
172
  * <h3>Usage</h3>
176
173
  *
@@ -201,7 +198,7 @@ sap.ui.define([
201
198
  * {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
202
199
  *
203
200
  * @extends sap.ui.core.Control
204
- * @version 1.95.0
201
+ * @version 1.96.0
205
202
  *
206
203
  * @constructor
207
204
  * @public
@@ -301,7 +298,7 @@ sap.ui.define([
301
298
  appointmentHeight: { type: "sap.ui.unified.CalendarAppointmentHeight", group: "Appearance", defaultValue: CalendarAppointmentHeight.Regular },
302
299
 
303
300
  /**
304
- * Defines rounding of the width <code>CalendarAppoinment<code>
301
+ * Defines rounding of the width <code>CalendarAppoinment</code>
305
302
  * <b>Note:</b> This property is applied, when the calendar interval type is day and the view shows more than 20 days
306
303
  * @experimental Since 1.81.0
307
304
  * @since 1.81.0
@@ -991,6 +988,7 @@ sap.ui.define([
991
988
  break;
992
989
 
993
990
  case CalendarIntervalType.OneMonth:
991
+ case "OneMonth":
994
992
  oDateFormat = DateFormat.getDateInstance({format: "yMMMM"});
995
993
  sBeginningResult = oDateFormat.format(oStartDate);
996
994
  break;
@@ -1105,7 +1103,7 @@ sap.ui.define([
1105
1103
  */
1106
1104
  PlanningCalendar.prototype.getVisibleIntervalsCount = function () {
1107
1105
  var sViewKey = this.getViewKey();
1108
- if (sViewKey === CalendarIntervalType.OneMonth && this._iSize < 2) {
1106
+ if ((sViewKey === CalendarIntervalType.OneMonth || sViewKey === "OneMonth") && this._iSize < 2) {
1109
1107
  var oFirstVisibleDate = CalendarUtils.getFirstDateOfWeek(this.getStartDate()),
1110
1108
  oFirstDateInLastWeek = CalendarUtils.getFirstDateOfWeek(this._dateNav.getEnd()),
1111
1109
  oLastVisibleDate = new Date(oFirstDateInLastWeek.getTime());
@@ -1375,13 +1373,13 @@ sap.ui.define([
1375
1373
 
1376
1374
  // in OneMonth view there is selection,
1377
1375
  // start date of the rows should match the selected date
1378
- if (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth && this._oOneMonthsRow.getMode() < 2 && this._oOneMonthsRow.getSelectedDates().length) {
1376
+ if ((this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._oOneMonthsRow.getMode() < 2 && this._oOneMonthsRow.getSelectedDates().length) {
1379
1377
  this._setRowsStartDate(this._oOneMonthsRow.getSelectedDates()[0].getStartDate());
1380
1378
  } else {
1381
1379
  this._setRowsStartDate(new Date(oStartDate.getTime()));
1382
1380
  }
1383
1381
 
1384
- if (this.getViewKey() === PlanningCalendarBuiltInView.Week || this.getViewKey() === PlanningCalendarBuiltInView.OneMonth) {
1382
+ if (this.getViewKey() === PlanningCalendarBuiltInView.Week || this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") {
1385
1383
  this._updateTodayButtonState();
1386
1384
  }
1387
1385
 
@@ -1603,6 +1601,7 @@ sap.ui.define([
1603
1601
  case CalendarIntervalType.Day:
1604
1602
  case CalendarIntervalType.Week:
1605
1603
  case CalendarIntervalType.OneMonth:
1604
+ case "OneMonth":
1606
1605
  //Date, Week and OneMonth intervals share the same object artifacts
1607
1606
  oIntervalMetadata = INTERVAL_METADATA[sIntervalType];
1608
1607
  oInterval = this[oIntervalMetadata.sInstanceName];
@@ -1621,7 +1620,7 @@ sap.ui.define([
1621
1620
  oInterval.attachEvent("select", this._handleCalendarSelect, this);
1622
1621
  oInterval.attachEvent("focus", this._handleFocus, this);
1623
1622
 
1624
- if (sKey === PlanningCalendarBuiltInView.OneMonth) {
1623
+ if (sKey === PlanningCalendarBuiltInView.OneMonth || sKey === "OneMonth") {
1625
1624
  oInterval._setRowsStartDate = this._setRowsStartDate.bind(this);
1626
1625
  }
1627
1626
 
@@ -1638,7 +1637,7 @@ sap.ui.define([
1638
1637
  }
1639
1638
  this._insertInterval(oInterval);
1640
1639
  this[oIntervalMetadata.sInstanceName] = oInterval;
1641
- if (sIntervalType === CalendarIntervalType.OneMonth) {
1640
+ if ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth")) {
1642
1641
  oAssociation = oHeader.getAggregation("_monthPicker") ? oHeader.getAggregation("_monthPicker") : oHeader._oPopup.getContent()[0];
1643
1642
  oHeader.setAssociation("currentPicker", oAssociation);
1644
1643
  oAssociation.addDelegate(MONTH_PICKER_DELEGATE, oAssociation);
@@ -1723,7 +1722,7 @@ sap.ui.define([
1723
1722
  this._updatePickerSelection();
1724
1723
  }
1725
1724
 
1726
- if (sKey === PlanningCalendarBuiltInView.Week || sKey === PlanningCalendarBuiltInView.OneMonth || sKey === PlanningCalendarBuiltInView.Month) {
1725
+ if (sKey === PlanningCalendarBuiltInView.Week || sKey === PlanningCalendarBuiltInView.OneMonth || sKey === PlanningCalendarBuiltInView.Month || sKey === "OneMonth") {
1727
1726
  oOldStartDate = this.getStartDate();
1728
1727
  this.setStartDate(new Date(oOldStartDate.getTime())); //make sure the start date is aligned according to the week/month rules
1729
1728
  if (oOldStartDate.getTime() !== this.getStartDate().getTime()) {
@@ -1731,7 +1730,7 @@ sap.ui.define([
1731
1730
  }
1732
1731
  }
1733
1732
 
1734
- if (this._oOneMonthsRow && sKey === PlanningCalendarBuiltInView.OneMonth) {
1733
+ if (this._oOneMonthsRow && (sKey === PlanningCalendarBuiltInView.OneMonth || sKey === "OneMonth")) {
1735
1734
  this._oOneMonthsRow.setMode(this._iSize);
1736
1735
  this._oOldStartDate = new Date(this.getStartDate().getTime());
1737
1736
  this._adjustSelectedDate(CalendarDate.fromLocalJSDate(oOldStartDate));
@@ -1739,7 +1738,7 @@ sap.ui.define([
1739
1738
  this._setRowsStartDate(oOldStartDate);
1740
1739
  }
1741
1740
  } else if (this._oOneMonthsRow
1742
- && sOldViewKey === PlanningCalendarBuiltInView.OneMonth
1741
+ && (sOldViewKey === PlanningCalendarBuiltInView.OneMonth || sOldViewKey === "OneMonth")
1743
1742
  && this._oOneMonthsRow.getSelectedDates().length) {
1744
1743
  oSelectedDate = this._oOneMonthsRow.getSelectedDates()[0].getStartDate();
1745
1744
  if (oSelectedDate) {
@@ -1892,7 +1891,7 @@ sap.ui.define([
1892
1891
  oStartDate.setTime(oLocalDate.getTime());
1893
1892
  }
1894
1893
 
1895
- if ((this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === PlanningCalendarBuiltInView.Month)) {
1894
+ if ((this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === PlanningCalendarBuiltInView.Month || this.getViewKey() === "OneMonth")) {
1896
1895
  /*
1897
1896
  * Have in mind that the oStartDate is the date that the user sees in the UI, thus - local one. As
1898
1897
  * CalendarUtils.getFirstDateOfMonth works with UTC dates (this is because the dates are timezone irrelevant),
@@ -2200,7 +2199,7 @@ sap.ui.define([
2200
2199
  PlanningCalendar.prototype._updateStickyHeader = function() {
2201
2200
  var aStickyParts = [],
2202
2201
  bStick = this.getStickyHeader(),
2203
- bMobile1MonthView = this.getViewKey() === PlanningCalendarBuiltInView.OneMonth && this._iSize < 2,
2202
+ bMobile1MonthView = (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._iSize < 2,
2204
2203
  bStickyToolbar = bStick && !Device.system.phone && !bMobile1MonthView,
2205
2204
  bStickyInfoToolbar = bStick && !(Device.system.phone && Device.orientation.landscape) && !bMobile1MonthView;
2206
2205
 
@@ -2439,6 +2438,7 @@ sap.ui.define([
2439
2438
  }
2440
2439
  break;
2441
2440
  case CalendarIntervalType.OneMonth:
2441
+ case "OneMonth":
2442
2442
  if (this._oOneMonthsRow) {
2443
2443
  this._oOneMonthsRow.invalidate(arguments);
2444
2444
  }
@@ -2724,6 +2724,7 @@ sap.ui.define([
2724
2724
  case CalendarIntervalType.Day:
2725
2725
  case CalendarIntervalType.Week:
2726
2726
  case CalendarIntervalType.OneMonth:
2727
+ case "OneMonth":
2727
2728
  iTime = 1800000;
2728
2729
  iStartTime = oStartDate.getTime() - 3600000;
2729
2730
  iEndTime = oStartDate.getTime() + iIntervals * 86400000;
@@ -2756,11 +2757,17 @@ sap.ui.define([
2756
2757
  PlanningCalendar.prototype._handleTodayPress = function (oEvent) {
2757
2758
  var oDate = new Date(),
2758
2759
  oStartDate,
2759
- sViewKey = this.getViewKey();
2760
+ sViewKey = this.getViewKey(),
2761
+ oFocusMonthDelegate = {
2762
+ onAfterRendering: function() {
2763
+ this._focusDate(CalendarDate.fromLocalJSDate(new Date()));
2764
+ this.removeDelegate(oFocusMonthDelegate);
2765
+ }
2766
+ };
2760
2767
 
2761
2768
  // if the OneMonth view is selected and Today btn is pressed,
2762
2769
  // the calendar should start from the 1st date of the current month
2763
- if (sViewKey === PlanningCalendarBuiltInView.OneMonth) {
2770
+ if (sViewKey === PlanningCalendarBuiltInView.OneMonth || sViewKey === "OneMonth") {
2764
2771
  oStartDate = CalendarUtils.getFirstDateOfMonth(CalendarUtils._createUniversalUTCDate(oDate, undefined, true));
2765
2772
  this._adjustSelectedDate(CalendarDate.fromLocalJSDate(oDate));
2766
2773
 
@@ -2777,6 +2784,11 @@ sap.ui.define([
2777
2784
 
2778
2785
  this.setStartDate(oDate);
2779
2786
  this._dateNav.setCurrent(oDate);
2787
+ if (sViewKey === PlanningCalendarBuiltInView.Week) {
2788
+ this._oWeeksRow.addDelegate(oFocusMonthDelegate, this._oWeeksRow);
2789
+ } else if (sViewKey === PlanningCalendarBuiltInView.OneMonth || sViewKey === "OneMonth") {
2790
+ this._oOneMonthsRow.addDelegate(oFocusMonthDelegate, this._oOneMonthsRow);
2791
+ }
2780
2792
  this._updatePickerSelection();
2781
2793
  this.fireStartDateChange();
2782
2794
 
@@ -2869,7 +2881,7 @@ sap.ui.define([
2869
2881
  // remove old selection
2870
2882
  // unless the select acts as a picker, then the selection stays
2871
2883
  // in OneMonth view smaller sizes
2872
- if (sIntervalType !== CalendarIntervalType.OneMonth
2884
+ if ((sIntervalType !== CalendarIntervalType.OneMonth && sIntervalType !== "OneMonth")
2873
2885
  || this._iSize > 1) {
2874
2886
  aSelectedDates[0].setStartDate();
2875
2887
  }
@@ -2884,6 +2896,7 @@ sap.ui.define([
2884
2896
  oEndDate.setUTCDate(oEndDate.getUTCDate() + 1);
2885
2897
  break;
2886
2898
  case CalendarIntervalType.OneMonth:
2899
+ case "OneMonth":
2887
2900
  if (this._iSize < 2) { // change rows' startDate on S and M sizes
2888
2901
  var oFocusedDate = new Date(oEvtSelectedStartDate.getTime());
2889
2902
  if (CalendarUtils.monthsDiffer(this.getStartDate(), oEvtSelectedStartDate)) {
@@ -2923,7 +2936,7 @@ sap.ui.define([
2923
2936
  var oView = this._getView(sKey);
2924
2937
  var sIntervalType = oView.getIntervalType();
2925
2938
 
2926
- if (sIntervalType === CalendarIntervalType.OneMonth
2939
+ if ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth")
2927
2940
  && CalendarUtils._isNextMonth(oStartDate, this.getStartDate())) {
2928
2941
  this.shiftToDate(oStartDate);
2929
2942
  this._addMonthFocusDelegate(this._getRowInstanceByViewKey(this.getViewKey()));
@@ -3023,6 +3036,7 @@ sap.ui.define([
3023
3036
  break;
3024
3037
 
3025
3038
  case CalendarIntervalType.OneMonth:
3039
+ case "OneMonth":
3026
3040
  if (this._oOneMonthsRow && this._oOneMonthsRow.getDays() != iIntervals) {
3027
3041
  this._oOneMonthsRow.setDays(iIntervals);
3028
3042
  this._dateNav.setStep(iIntervals * iIntervalSize);
@@ -3046,7 +3060,7 @@ sap.ui.define([
3046
3060
  }
3047
3061
  }
3048
3062
 
3049
- if (this._oOneMonthsRow && this.getViewKey() === CalendarIntervalType.OneMonth) {
3063
+ if (this._oOneMonthsRow && (this.getViewKey() === CalendarIntervalType.OneMonth || this.getViewKey() === "OneMonth")) {
3050
3064
  oSelectedDate = (this._getSelectedDates().length && this._getSelectedDates()[0].getStartDate()) ?
3051
3065
  this._getSelectedDates()[0].getStartDate() : this.getStartDate();
3052
3066
  this._oOneMonthsRow.setMode(this._iSize);
@@ -3194,6 +3208,7 @@ sap.ui.define([
3194
3208
  }
3195
3209
  return this._oViews[oViewType.Week];
3196
3210
  case oViewType.OneMonth:
3211
+ case "OneMonth":
3197
3212
  if (!this._oViews[oViewType.OneMonth]) {
3198
3213
  this._oViews[oViewType.OneMonth] = new PlanningCalendarView(this.getId() + "-OneMonthView", {
3199
3214
  key: oViewType.OneMonth,
@@ -3339,7 +3354,7 @@ sap.ui.define([
3339
3354
  PlanningCalendar.prototype._updateRowTimeline = function (oRow) {
3340
3355
  var oRowTimeline = getRowTimeline(oRow),
3341
3356
  sKey, oView, sIntervalType, iIntervals, iIntervalSize,
3342
- bMobile1MonthView = this.getViewKey() === PlanningCalendarBuiltInView.OneMonth && this._iSize < 2,
3357
+ bMobile1MonthView = (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._iSize < 2,
3343
3358
  oStartDate = this.getStartDate();
3344
3359
 
3345
3360
  oRowTimeline.setNonWorkingDays(oRow.getNonWorkingDays());
@@ -3665,7 +3680,7 @@ sap.ui.define([
3665
3680
  var aEmptyNonWorkDay = [];
3666
3681
  return CalendarRowRenderer.renderInterval(oRm, oTimeline, iInterval, iWidth, aIntervalHeaders, aEmptyNonWorkDay, iStartOffset, iNonWorkingMax, aNonWorkingSubItems, iSubStartOffset, iNonWorkingSubMax, bFirstOfType, bLastOfType, sAdditionalNonWorkingClass);
3667
3682
  }
3668
- if (sIntervalType === CalendarIntervalType.Day || sIntervalType === CalendarIntervalType.Week || sIntervalType === CalendarIntervalType.OneMonth) {
3683
+ if (sIntervalType === CalendarIntervalType.Day || sIntervalType === CalendarIntervalType.Week || sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") {
3669
3684
  var oRow = getRow(oTimeline.getParent()),
3670
3685
  oPC = oRow.getParent(),
3671
3686
  fnNonWorkingFilter = function (oSpecialDate) {
@@ -3949,7 +3964,7 @@ sap.ui.define([
3949
3964
  newPos = this._calcNewHoursAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
3950
3965
  } else if (sIntervalType === CalendarIntervalType.Day
3951
3966
  || sIntervalType === CalendarIntervalType.Week
3952
- || (sIntervalType === CalendarIntervalType.OneMonth && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
3967
+ || ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
3953
3968
 
3954
3969
  newPos = this._calcNewDaysAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
3955
3970
  } else if (sIntervalType === CalendarIntervalType.Month) {
@@ -4002,7 +4017,7 @@ sap.ui.define([
4002
4017
  newPos = this._calcNewHoursAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
4003
4018
  } else if (sIntervalType === CalendarIntervalType.Day
4004
4019
  || sIntervalType === CalendarIntervalType.Week
4005
- || (sIntervalType === CalendarIntervalType.OneMonth && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
4020
+ || ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
4006
4021
 
4007
4022
  newPos = this._calcNewDaysAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
4008
4023
  } else if (sIntervalType === CalendarIntervalType.Month) {
@@ -4165,7 +4180,7 @@ sap.ui.define([
4165
4180
  newPos = this._calcResizeNewHoursAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
4166
4181
  } else if (sIntervalType === CalendarIntervalType.Day
4167
4182
  || sIntervalType === CalendarIntervalType.Week
4168
- || (sIntervalType === CalendarIntervalType.OneMonth && !oTimeline._isOneMonthsRowOnSmallSizes())) {
4183
+ || ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTimeline._isOneMonthsRowOnSmallSizes())) {
4169
4184
 
4170
4185
  newPos = this._calcResizeNewDaysAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
4171
4186
  } else if (sIntervalType === CalendarIntervalType.Month) {
@@ -4376,7 +4391,7 @@ sap.ui.define([
4376
4391
  oNewPos = this._calcCreateNewAppHours(oRowStartDate, iStartIndex, iEndIndex);
4377
4392
  } else if (sIntervalType === CalendarIntervalType.Day
4378
4393
  || sIntervalType === CalendarIntervalType.Week
4379
- || (sIntervalType === CalendarIntervalType.OneMonth && !oTimeline._isOneMonthsRowOnSmallSizes())) {
4394
+ || ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTimeline._isOneMonthsRowOnSmallSizes())) {
4380
4395
  oNewPos = this._calcCreateNewAppDays(oRowStartDate, iStartIndex, iEndIndex);
4381
4396
  } else if (sIntervalType === CalendarIntervalType.Month) {
4382
4397
  oNewPos = this._calcCreateNewAppMonths(oRowStartDate, iStartIndex, iEndIndex);
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  // Provides control sap.m.PlanningCalendarHeader.
13
8
  sap.ui.define([
14
9
  'sap/ui/core/Element',
@@ -97,7 +92,7 @@ function(
97
92
  * @extends sap.ui.core.Control
98
93
  *
99
94
  * @author SAP SE
100
- * @version 1.95.0
95
+ * @version 1.96.0
101
96
  *
102
97
  * @constructor
103
98
  * @private
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  // Provides control sap.m.PlanningCalendarLegend.
13
8
  sap.ui.define(['sap/ui/unified/CalendarLegend', 'sap/ui/unified/CalendarAppointment', './PlanningCalendarLegendRenderer'],
14
9
  function(CalendarLegend, CalendarAppointment, PlanningCalendarLegendRenderer) {
@@ -28,7 +23,7 @@ sap.ui.define(['sap/ui/unified/CalendarLegend', 'sap/ui/unified/CalendarAppointm
28
23
  * @extends sap.ui.unified.CalendarLegend
29
24
  *
30
25
  * @author SAP SE
31
- * @version 1.95.0
26
+ * @version 1.96.0
32
27
  *
33
28
  * @constructor
34
29
  * @public
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  sap.ui.define(['sap/ui/unified/CalendarLegendRenderer', 'sap/ui/core/Renderer'],
13
8
  function(CalendarLegendRenderer, Renderer) {
14
9
  "use strict";
@@ -32,7 +32,7 @@ sap.ui.define(['sap/ui/core/Element',
32
32
  * The <code>sap.m.PlanningCalendarRow</code> allows you to modify appointments at row level.
33
33
  *
34
34
  * @extends sap.ui.core.Element
35
- * @version 1.95.0
35
+ * @version 1.96.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  //Provides control sap.m.PlanningCalendarView.
13
8
  sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
14
9
  function(Element, library, unifiedLibrary) {
@@ -30,7 +25,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
30
25
  * The <code>PlanningCalendarView</code> defines the type of the intervals (hours, days, months)
31
26
  * and how many intervals are displayed.
32
27
  * @extends sap.ui.core.Element
33
- * @version 1.95.0
28
+ * @version 1.96.0
34
29
  *
35
30
  * @constructor
36
31
  * @public
@@ -113,7 +113,7 @@ sap.ui.define([
113
113
  * @extends sap.ui.core.Control
114
114
  * @implements sap.ui.core.PopupInterface
115
115
  * @author SAP SE
116
- * @version 1.95.0
116
+ * @version 1.96.0
117
117
  *
118
118
  * @public
119
119
  * @alias sap.m.Popover
@@ -6,9 +6,10 @@
6
6
  sap.ui.define([
7
7
  'sap/ui/Device',
8
8
  'sap/m/library',
9
- "sap/ui/dom/getScrollbarSize"
9
+ "sap/ui/dom/getScrollbarSize",
10
+ "sap/ui/core/IconPool"
10
11
  ],
11
- function(Device, library, getScrollbarSize) {
12
+ function(Device, library, getScrollbarSize, IconPool) {
12
13
  "use strict";
13
14
 
14
15
  // shortcut for sap.m.PlacementType
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.ui.core.Control
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.95.0
62
+ * @version 1.96.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.95.0
45
+ * @version 1.96.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.m.QuickViewBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.95.0
62
+ * @version 1.96.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.95.0
30
+ * @version 1.96.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.m.QuickViewBase
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.95.0
39
+ * @version 1.96.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.95.0
25
+ * @version 1.96.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.95.0
31
+ * @version 1.96.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * @extends sap.ui.core.Control
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.95.0
100
+ * @version 1.96.0
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -86,7 +86,7 @@ function(
86
86
  * @implements sap.ui.core.IFormContent
87
87
  *
88
88
  * @author SAP SE
89
- * @version 1.95.0
89
+ * @version 1.96.0
90
90
  *
91
91
  * @constructor
92
92
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @implements sap.ui.core.IFormContent
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.95.0
60
+ * @version 1.96.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.m.Slider
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.95.0
54
+ * @version 1.96.0
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.ui.core.Control
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.95.0
54
+ * @version 1.96.0
55
55
  *
56
56
  * @constructor
57
57
  * @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.95.0
66
+ * @version 1.96.0
67
67
  *
68
68
  * @constructor
69
69
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Element
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.95.0
37
+ * @version 1.96.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.95.0
28
+ * @version 1.96.0
29
29
  *
30
30
  * @private
31
31
  * @alias sap.m.ScrollBar
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.95.0
40
+ * @version 1.96.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @extends sap.ui.core.Control
68
68
  * @implements sap.ui.core.IFormContent
69
69
  * @author SAP SE
70
- * @version 1.95.0
70
+ * @version 1.96.0
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -310,6 +310,7 @@ sap.ui.define([
310
310
  SearchField.prototype.onBeforeRendering = function() {
311
311
  this._unregisterEventListeners();
312
312
  this._updateTranslations();
313
+ updateSuggestions(this);
313
314
  };
314
315
 
315
316
  SearchField.prototype.onAfterRendering = function() {
@@ -1006,37 +1007,5 @@ sap.ui.define([
1006
1007
  oSF._oSuggest && oSF._oSuggest.update();
1007
1008
  }
1008
1009
 
1009
- /* =========================================================== */
1010
- /* begin: aggregation methods overrides */
1011
- /* =========================================================== */
1012
-
1013
- // Suppress invalidate by changes in the suggestionItems aggregation.
1014
- var SUGGESTION_ITEMS = "suggestionItems";
1015
-
1016
- SearchField.prototype.insertSuggestionItem = function(oObject, iIndex, bSuppressInvalidate) {
1017
- updateSuggestions(this);
1018
- return Control.prototype.insertAggregation.call(this, SUGGESTION_ITEMS, oObject, iIndex, true);
1019
- };
1020
-
1021
- SearchField.prototype.addSuggestionItem = function(oObject, bSuppressInvalidate) {
1022
- updateSuggestions(this);
1023
- return Control.prototype.addAggregation.call(this, SUGGESTION_ITEMS, oObject, true);
1024
- };
1025
-
1026
- SearchField.prototype.removeSuggestionItem = function(oObject, bSuppressInvalidate) {
1027
- updateSuggestions(this);
1028
- return Control.prototype.removeAggregation.call(this, SUGGESTION_ITEMS, oObject, true);
1029
- };
1030
-
1031
- SearchField.prototype.removeAllSuggestionItems = function(bSuppressInvalidate) {
1032
- updateSuggestions(this);
1033
- return Control.prototype.removeAllAggregation.call(this, SUGGESTION_ITEMS, true);
1034
- };
1035
-
1036
- /* =========================================================== */
1037
- /* end: aggregation methods overrides */
1038
- /* =========================================================== */
1039
-
1040
1010
  return SearchField;
1041
-
1042
1011
  });
@@ -52,7 +52,7 @@ function(
52
52
  * @implements sap.ui.core.IFormContent
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.95.0
55
+ * @version 1.96.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -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.95.0
26
+ * @version 1.96.0
27
27
  *
28
28
  * @constructor
29
29
  * @public