@openui5/sap.m 1.93.1 → 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 (497) hide show
  1. package/.reuse/dep5 +11 -11
  2. package/THIRDPARTY.txt +20 -17
  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 +5 -1
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +1 -4
  12. package/src/sap/m/Bar.js +13 -7
  13. package/src/sap/m/Breadcrumbs.js +2 -2
  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 +34 -1
  17. package/src/sap/m/Carousel.js +11 -3
  18. package/src/sap/m/CarouselLayout.js +1 -1
  19. package/src/sap/m/CheckBox.js +1 -1
  20. package/src/sap/m/CheckBoxRenderer.js +12 -3
  21. package/src/sap/m/ColorPalette.js +7 -11
  22. package/src/sap/m/ColorPalettePopover.js +1 -6
  23. package/src/sap/m/Column.js +6 -1
  24. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  25. package/src/sap/m/ColumnListItem.js +1 -1
  26. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  31. package/src/sap/m/ComboBox.js +1 -1
  32. package/src/sap/m/ComboBoxBase.js +5 -2
  33. package/src/sap/m/ComboBoxRenderer.js +25 -9
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/CustomDynamicDateOption.js +14 -2
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +27 -10
  40. package/src/sap/m/DatePickerRenderer.js +1 -1
  41. package/src/sap/m/DateRangeSelection.js +6 -9
  42. package/src/sap/m/DateTimeField.js +1 -1
  43. package/src/sap/m/DateTimeInput.js +1 -1
  44. package/src/sap/m/DateTimePicker.js +6 -9
  45. package/src/sap/m/Dialog.js +44 -127
  46. package/src/sap/m/DialogRenderer.js +1 -1
  47. package/src/sap/m/DisplayListItem.js +1 -1
  48. package/src/sap/m/DraftIndicator.js +1 -1
  49. package/src/sap/m/DynamicDate.js +15 -6
  50. package/src/sap/m/DynamicDateOption.js +58 -17
  51. package/src/sap/m/DynamicDateRange.js +47 -10
  52. package/src/sap/m/DynamicDateUtil.js +6 -3
  53. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  54. package/src/sap/m/ExpandableText.js +1 -1
  55. package/src/sap/m/FacetFilter.js +47 -16
  56. package/src/sap/m/FacetFilterItem.js +1 -1
  57. package/src/sap/m/FacetFilterList.js +1 -1
  58. package/src/sap/m/FeedContent.js +1 -1
  59. package/src/sap/m/FeedInput.js +1 -1
  60. package/src/sap/m/FeedListItem.js +1 -1
  61. package/src/sap/m/FeedListItemAction.js +1 -1
  62. package/src/sap/m/Fiori20Adapter.js +2 -2
  63. package/src/sap/m/FlexBox.js +1 -1
  64. package/src/sap/m/FlexItemData.js +1 -1
  65. package/src/sap/m/FormattedText.js +1 -1
  66. package/src/sap/m/GenericTag.js +1 -1
  67. package/src/sap/m/GenericTile.js +217 -52
  68. package/src/sap/m/GenericTileRenderer.js +218 -83
  69. package/src/sap/m/GroupHeaderListItem.js +1 -1
  70. package/src/sap/m/GrowingList.js +1 -1
  71. package/src/sap/m/HBox.js +1 -1
  72. package/src/sap/m/HeaderContainer.js +53 -1
  73. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  74. package/src/sap/m/IconTabBar.js +8 -1
  75. package/src/sap/m/IconTabBarSelectList.js +1 -1
  76. package/src/sap/m/IconTabFilter.js +8 -6
  77. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  78. package/src/sap/m/IconTabHeader.js +16 -4
  79. package/src/sap/m/IconTabSeparator.js +1 -1
  80. package/src/sap/m/Image.js +1 -1
  81. package/src/sap/m/ImageContent.js +1 -1
  82. package/src/sap/m/Input.js +124 -28
  83. package/src/sap/m/InputBase.js +16 -7
  84. package/src/sap/m/InputListItem.js +1 -1
  85. package/src/sap/m/Label.js +1 -1
  86. package/src/sap/m/LightBox.js +2 -2
  87. package/src/sap/m/LightBoxItem.js +1 -1
  88. package/src/sap/m/Link.js +1 -1
  89. package/src/sap/m/List.js +1 -1
  90. package/src/sap/m/ListBase.js +12 -5
  91. package/src/sap/m/ListItemBase.js +16 -16
  92. package/src/sap/m/MaskEnabler.js +106 -4
  93. package/src/sap/m/MaskInput.js +19 -4
  94. package/src/sap/m/MaskInputRule.js +1 -1
  95. package/src/sap/m/Menu.js +8 -6
  96. package/src/sap/m/MenuButton.js +20 -3
  97. package/src/sap/m/MenuButtonRenderer.js +1 -0
  98. package/src/sap/m/MenuItem.js +1 -1
  99. package/src/sap/m/MenuListItem.js +1 -1
  100. package/src/sap/m/MessageBox.js +1 -1
  101. package/src/sap/m/MessageItem.js +1 -1
  102. package/src/sap/m/MessageListItem.js +1 -1
  103. package/src/sap/m/MessagePage.js +1 -1
  104. package/src/sap/m/MessagePopover.js +1 -1
  105. package/src/sap/m/MessagePopoverItem.js +1 -1
  106. package/src/sap/m/MessageStrip.js +7 -3
  107. package/src/sap/m/MessageStripRenderer.js +2 -2
  108. package/src/sap/m/MessageToast.js +1 -1
  109. package/src/sap/m/MessageView.js +5 -5
  110. package/src/sap/m/MultiComboBox.js +333 -114
  111. package/src/sap/m/MultiEditField.js +1 -1
  112. package/src/sap/m/MultiInput.js +55 -6
  113. package/src/sap/m/NavContainer.js +24 -7
  114. package/src/sap/m/NewsContent.js +19 -10
  115. package/src/sap/m/NewsContentRenderer.js +1 -2
  116. package/src/sap/m/NotificationList.js +1 -1
  117. package/src/sap/m/NotificationListBase.js +1 -1
  118. package/src/sap/m/NotificationListGroup.js +1 -1
  119. package/src/sap/m/NotificationListItem.js +1 -1
  120. package/src/sap/m/NumericContent.js +1 -1
  121. package/src/sap/m/NumericContentRenderer.js +34 -17
  122. package/src/sap/m/ObjectAttribute.js +46 -5
  123. package/src/sap/m/ObjectHeader.js +1 -1
  124. package/src/sap/m/ObjectHeaderRenderer.js +6 -7
  125. package/src/sap/m/ObjectIdentifier.js +1 -1
  126. package/src/sap/m/ObjectListItem.js +1 -1
  127. package/src/sap/m/ObjectMarker.js +1 -1
  128. package/src/sap/m/ObjectNumber.js +13 -1
  129. package/src/sap/m/ObjectStatus.js +1 -1
  130. package/src/sap/m/ObjectStatusRenderer.js +4 -1
  131. package/src/sap/m/OverflowToolbar.js +3 -5
  132. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  133. package/src/sap/m/OverflowToolbarButton.js +4 -2
  134. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  135. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  136. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  137. package/src/sap/m/P13nColumnsItem.js +1 -1
  138. package/src/sap/m/P13nColumnsPanel.js +3 -3
  139. package/src/sap/m/P13nConditionPanel.js +23 -53
  140. package/src/sap/m/P13nDialog.js +1 -1
  141. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  142. package/src/sap/m/P13nDimMeasurePanel.js +3 -3
  143. package/src/sap/m/P13nFilterItem.js +1 -1
  144. package/src/sap/m/P13nFilterPanel.js +1 -3
  145. package/src/sap/m/P13nGroupItem.js +1 -1
  146. package/src/sap/m/P13nGroupPanel.js +1 -3
  147. package/src/sap/m/P13nItem.js +1 -1
  148. package/src/sap/m/P13nPanel.js +1 -1
  149. package/src/sap/m/P13nSelectionItem.js +1 -1
  150. package/src/sap/m/P13nSelectionPanel.js +1 -1
  151. package/src/sap/m/P13nSortItem.js +1 -1
  152. package/src/sap/m/P13nSortPanel.js +1 -3
  153. package/src/sap/m/PDFViewer.js +14 -5
  154. package/src/sap/m/Page.js +1 -1
  155. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  156. package/src/sap/m/PagingButton.js +1 -1
  157. package/src/sap/m/Panel.js +1 -1
  158. package/src/sap/m/PlanningCalendar.js +139 -41
  159. package/src/sap/m/PlanningCalendarHeader.js +1 -6
  160. package/src/sap/m/PlanningCalendarLegend.js +1 -6
  161. package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -5
  162. package/src/sap/m/PlanningCalendarRow.js +1 -1
  163. package/src/sap/m/PlanningCalendarView.js +1 -6
  164. package/src/sap/m/Popover.js +5 -5
  165. package/src/sap/m/PopoverRenderer.js +3 -2
  166. package/src/sap/m/ProgressIndicator.js +1 -1
  167. package/src/sap/m/PullToRefresh.js +1 -1
  168. package/src/sap/m/QuickView.js +1 -1
  169. package/src/sap/m/QuickViewBase.js +1 -1
  170. package/src/sap/m/QuickViewCard.js +1 -1
  171. package/src/sap/m/QuickViewGroup.js +1 -1
  172. package/src/sap/m/QuickViewGroupElement.js +1 -1
  173. package/src/sap/m/QuickViewPage.js +1 -1
  174. package/src/sap/m/RadioButton.js +1 -1
  175. package/src/sap/m/RadioButtonGroup.js +1 -1
  176. package/src/sap/m/RangeSlider.js +1 -1
  177. package/src/sap/m/RatingIndicator.js +10 -8
  178. package/src/sap/m/ResponsivePopover.js +1 -1
  179. package/src/sap/m/ResponsiveScale.js +1 -1
  180. package/src/sap/m/ScrollBar.js +1 -1
  181. package/src/sap/m/ScrollContainer.js +1 -1
  182. package/src/sap/m/SearchField.js +6 -34
  183. package/src/sap/m/SearchFieldRenderer.js +16 -12
  184. package/src/sap/m/SegmentedButton.js +12 -17
  185. package/src/sap/m/SegmentedButtonItem.js +1 -1
  186. package/src/sap/m/SegmentedButtonRenderer.js +6 -0
  187. package/src/sap/m/Select.js +18 -8
  188. package/src/sap/m/SelectDialog.js +1 -1
  189. package/src/sap/m/SelectDialogBase.js +1 -1
  190. package/src/sap/m/SelectList.js +1 -1
  191. package/src/sap/m/SelectRenderer.js +10 -1
  192. package/src/sap/m/SelectionDetails.js +7 -9
  193. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  194. package/src/sap/m/SelectionDetailsItem.js +8 -4
  195. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  196. package/src/sap/m/Shell.js +9 -17
  197. package/src/sap/m/SimpleFixFlex.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendar.js +7 -10
  199. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarGrid.js +15 -13
  201. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -7
  202. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
  203. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +4 -6
  204. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -6
  205. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  206. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -6
  207. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -6
  208. package/src/sap/m/SlideTile.js +31 -3
  209. package/src/sap/m/SlideTileRenderer.js +9 -0
  210. package/src/sap/m/Slider.js +1 -1
  211. package/src/sap/m/SliderTooltip.js +1 -1
  212. package/src/sap/m/SliderTooltipBase.js +1 -1
  213. package/src/sap/m/SliderTooltipContainer.js +1 -1
  214. package/src/sap/m/SplitApp.js +1 -1
  215. package/src/sap/m/SplitButton.js +3 -7
  216. package/src/sap/m/SplitButtonRenderer.js +5 -1
  217. package/src/sap/m/SplitContainer.js +13 -8
  218. package/src/sap/m/StandardDynamicDateOption.js +50 -12
  219. package/src/sap/m/StandardListItem.js +69 -26
  220. package/src/sap/m/StandardListItemRenderer.js +21 -9
  221. package/src/sap/m/StandardTile.js +1 -1
  222. package/src/sap/m/StandardTreeItem.js +1 -1
  223. package/src/sap/m/StepInput.js +28 -13
  224. package/src/sap/m/Suggest.js +25 -25
  225. package/src/sap/m/SuggestionItem.js +1 -7
  226. package/src/sap/m/SuggestionsPopover.js +44 -1
  227. package/src/sap/m/Switch.js +9 -1
  228. package/src/sap/m/TabContainer.js +1 -1
  229. package/src/sap/m/TabContainerItem.js +1 -1
  230. package/src/sap/m/TabStrip.js +1 -1
  231. package/src/sap/m/TabStripItem.js +1 -1
  232. package/src/sap/m/Table.js +2 -4
  233. package/src/sap/m/TablePersoController.js +1 -1
  234. package/src/sap/m/TablePersoDialog.js +1 -1
  235. package/src/sap/m/TablePersoProvider.js +1 -1
  236. package/src/sap/m/TableRenderer.js +3 -3
  237. package/src/sap/m/TableSelectDialog.js +1 -1
  238. package/src/sap/m/Text.js +1 -1
  239. package/src/sap/m/TextArea.js +2 -2
  240. package/src/sap/m/Tile.js +1 -1
  241. package/src/sap/m/TileContainer.js +1 -1
  242. package/src/sap/m/TileContent.js +22 -4
  243. package/src/sap/m/TileContentRenderer.js +73 -5
  244. package/src/sap/m/TimePicker.js +4 -3
  245. package/src/sap/m/TimePickerClock.js +2 -2
  246. package/src/sap/m/TimePickerClocks.js +2 -1
  247. package/src/sap/m/TimePickerInputs.js +3 -3
  248. package/src/sap/m/TimePickerInternals.js +1 -1
  249. package/src/sap/m/TimePickerSlider.js +2 -2
  250. package/src/sap/m/TimePickerSliders.js +1 -1
  251. package/src/sap/m/TimePickerSlidersRenderer.js +0 -1
  252. package/src/sap/m/Title.js +1 -1
  253. package/src/sap/m/TitlePropagationSupport.js +1 -1
  254. package/src/sap/m/ToggleButton.js +1 -1
  255. package/src/sap/m/Token.js +1 -1
  256. package/src/sap/m/Tokenizer.js +46 -3
  257. package/src/sap/m/TokenizerRenderer.js +5 -0
  258. package/src/sap/m/Toolbar.js +1 -1
  259. package/src/sap/m/ToolbarLayoutData.js +1 -1
  260. package/src/sap/m/ToolbarSeparator.js +1 -1
  261. package/src/sap/m/ToolbarSpacer.js +1 -1
  262. package/src/sap/m/Tree.js +1 -1
  263. package/src/sap/m/TreeItemBase.js +1 -1
  264. package/src/sap/m/UploadCollection.js +2 -7
  265. package/src/sap/m/UploadCollectionItem.js +1 -1
  266. package/src/sap/m/UploadCollectionParameter.js +1 -1
  267. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  268. package/src/sap/m/VBox.js +1 -1
  269. package/src/sap/m/ValueStateHeader.js +1 -1
  270. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  271. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  272. package/src/sap/m/ViewSettingsDialog.js +1 -1
  273. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  274. package/src/sap/m/ViewSettingsItem.js +1 -1
  275. package/src/sap/m/VisibleItem.js +1 -1
  276. package/src/sap/m/WheelSlider.js +2 -2
  277. package/src/sap/m/WheelSliderContainer.js +1 -1
  278. package/src/sap/m/Wizard.js +2 -1
  279. package/src/sap/m/WizardProgressNavigator.js +1 -1
  280. package/src/sap/m/WizardProgressNavigatorRenderer.js +3 -2
  281. package/src/sap/m/WizardStep.js +1 -1
  282. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  283. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  284. package/src/sap/m/changeHandler/CombineButtons.js +16 -17
  285. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  286. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +86 -0
  287. package/src/sap/m/changeHandler/SplitMenuButton.js +12 -6
  288. package/src/sap/m/delegate/DateNavigation.js +4 -5
  289. package/src/sap/m/designtime/IconTabBar.designtime.js +85 -2
  290. package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -0
  291. package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
  292. package/src/sap/m/designtime/ObjectIdentifier.designtime.js +16 -12
  293. package/src/sap/m/designtime/messagebundle.properties +9 -0
  294. package/src/sap/m/designtime/messagebundle_ar.properties +6 -0
  295. package/src/sap/m/designtime/messagebundle_bg.properties +6 -0
  296. package/src/sap/m/designtime/messagebundle_ca.properties +6 -0
  297. package/src/sap/m/designtime/messagebundle_cs.properties +6 -0
  298. package/src/sap/m/designtime/messagebundle_cy.properties +6 -0
  299. package/src/sap/m/designtime/messagebundle_da.properties +6 -0
  300. package/src/sap/m/designtime/messagebundle_de.properties +8 -2
  301. package/src/sap/m/designtime/messagebundle_el.properties +6 -0
  302. package/src/sap/m/designtime/messagebundle_en.properties +6 -0
  303. package/src/sap/m/designtime/messagebundle_en_GB.properties +6 -0
  304. package/src/sap/m/designtime/messagebundle_en_US_sappsd.properties +6 -0
  305. package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
  306. package/src/sap/m/designtime/messagebundle_en_US_saptrc.properties +6 -0
  307. package/src/sap/m/designtime/messagebundle_es.properties +6 -0
  308. package/src/sap/m/designtime/messagebundle_es_MX.properties +6 -0
  309. package/src/sap/m/designtime/messagebundle_et.properties +6 -0
  310. package/src/sap/m/designtime/messagebundle_fi.properties +6 -0
  311. package/src/sap/m/designtime/messagebundle_fr.properties +6 -0
  312. package/src/sap/m/designtime/messagebundle_fr_CA.properties +6 -0
  313. package/src/sap/m/designtime/messagebundle_hi.properties +6 -0
  314. package/src/sap/m/designtime/messagebundle_hr.properties +6 -0
  315. package/src/sap/m/designtime/messagebundle_hu.properties +6 -0
  316. package/src/sap/m/designtime/messagebundle_id.properties +6 -0
  317. package/src/sap/m/designtime/messagebundle_it.properties +6 -0
  318. package/src/sap/m/designtime/messagebundle_iw.properties +6 -0
  319. package/src/sap/m/designtime/messagebundle_ja.properties +6 -0
  320. package/src/sap/m/designtime/messagebundle_kk.properties +6 -0
  321. package/src/sap/m/designtime/messagebundle_ko.properties +6 -0
  322. package/src/sap/m/designtime/messagebundle_lt.properties +6 -0
  323. package/src/sap/m/designtime/messagebundle_lv.properties +6 -0
  324. package/src/sap/m/designtime/messagebundle_ms.properties +6 -0
  325. package/src/sap/m/designtime/messagebundle_nl.properties +6 -0
  326. package/src/sap/m/designtime/messagebundle_no.properties +6 -0
  327. package/src/sap/m/designtime/messagebundle_pl.properties +6 -0
  328. package/src/sap/m/designtime/messagebundle_pt.properties +6 -0
  329. package/src/sap/m/designtime/messagebundle_pt_PT.properties +6 -0
  330. package/src/sap/m/designtime/messagebundle_ro.properties +6 -0
  331. package/src/sap/m/designtime/messagebundle_ru.properties +6 -0
  332. package/src/sap/m/designtime/messagebundle_sh.properties +6 -0
  333. package/src/sap/m/designtime/messagebundle_sk.properties +6 -0
  334. package/src/sap/m/designtime/messagebundle_sl.properties +6 -0
  335. package/src/sap/m/designtime/messagebundle_sv.properties +6 -0
  336. package/src/sap/m/designtime/messagebundle_th.properties +6 -0
  337. package/src/sap/m/designtime/messagebundle_tr.properties +6 -0
  338. package/src/sap/m/designtime/messagebundle_uk.properties +6 -0
  339. package/src/sap/m/designtime/messagebundle_vi.properties +6 -0
  340. package/src/sap/m/designtime/messagebundle_zh_CN.properties +6 -0
  341. package/src/sap/m/designtime/messagebundle_zh_TW.properties +6 -0
  342. package/src/sap/m/flexibility/IconTabBar.flexibility.js +21 -0
  343. package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
  344. package/src/sap/m/inputUtils/ListHelpers.js +16 -3
  345. package/src/sap/m/library.js +60 -34
  346. package/src/sap/m/messagebundle.properties +59 -7
  347. package/src/sap/m/messagebundle_ar.properties +13 -5
  348. package/src/sap/m/messagebundle_bg.properties +13 -5
  349. package/src/sap/m/messagebundle_ca.properties +13 -5
  350. package/src/sap/m/messagebundle_cs.properties +24 -16
  351. package/src/sap/m/messagebundle_cy.properties +13 -5
  352. package/src/sap/m/messagebundle_da.properties +14 -6
  353. package/src/sap/m/messagebundle_de.properties +14 -6
  354. package/src/sap/m/messagebundle_el.properties +14 -6
  355. package/src/sap/m/messagebundle_en.properties +10 -2
  356. package/src/sap/m/messagebundle_en_GB.properties +10 -2
  357. package/src/sap/m/messagebundle_en_US_sappsd.properties +26 -3
  358. package/src/sap/m/messagebundle_en_US_saprigi.properties +39 -3
  359. package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -6
  360. package/src/sap/m/messagebundle_es.properties +13 -5
  361. package/src/sap/m/messagebundle_es_MX.properties +16 -8
  362. package/src/sap/m/messagebundle_et.properties +13 -5
  363. package/src/sap/m/messagebundle_fi.properties +13 -5
  364. package/src/sap/m/messagebundle_fr.properties +26 -18
  365. package/src/sap/m/messagebundle_fr_CA.properties +14 -6
  366. package/src/sap/m/messagebundle_hi.properties +13 -5
  367. package/src/sap/m/messagebundle_hr.properties +13 -5
  368. package/src/sap/m/messagebundle_hu.properties +13 -5
  369. package/src/sap/m/messagebundle_id.properties +15 -7
  370. package/src/sap/m/messagebundle_it.properties +19 -11
  371. package/src/sap/m/messagebundle_iw.properties +13 -5
  372. package/src/sap/m/messagebundle_ja.properties +13 -5
  373. package/src/sap/m/messagebundle_kk.properties +13 -5
  374. package/src/sap/m/messagebundle_ko.properties +14 -6
  375. package/src/sap/m/messagebundle_lt.properties +13 -5
  376. package/src/sap/m/messagebundle_lv.properties +13 -5
  377. package/src/sap/m/messagebundle_ms.properties +14 -6
  378. package/src/sap/m/messagebundle_nl.properties +15 -7
  379. package/src/sap/m/messagebundle_no.properties +25 -17
  380. package/src/sap/m/messagebundle_pl.properties +17 -9
  381. package/src/sap/m/messagebundle_pt.properties +16 -8
  382. package/src/sap/m/messagebundle_pt_PT.properties +13 -5
  383. package/src/sap/m/messagebundle_ro.properties +18 -10
  384. package/src/sap/m/messagebundle_ru.properties +14 -6
  385. package/src/sap/m/messagebundle_sh.properties +14 -6
  386. package/src/sap/m/messagebundle_sk.properties +13 -5
  387. package/src/sap/m/messagebundle_sl.properties +13 -5
  388. package/src/sap/m/messagebundle_sv.properties +13 -5
  389. package/src/sap/m/messagebundle_th.properties +13 -5
  390. package/src/sap/m/messagebundle_tr.properties +13 -5
  391. package/src/sap/m/messagebundle_uk.properties +16 -8
  392. package/src/sap/m/messagebundle_vi.properties +14 -6
  393. package/src/sap/m/messagebundle_zh_CN.properties +13 -5
  394. package/src/sap/m/messagebundle_zh_TW.properties +13 -5
  395. package/src/sap/m/p13n/AbstractContainer.js +243 -0
  396. package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
  397. package/src/sap/m/p13n/BasePanel.js +643 -0
  398. package/src/sap/m/p13n/Container.js +239 -0
  399. package/src/sap/m/p13n/GroupPanel.js +119 -0
  400. package/src/sap/m/p13n/QueryPanel.js +312 -0
  401. package/src/sap/m/p13n/SelectionPanel.js +403 -0
  402. package/src/sap/m/p13n/SortPanel.js +139 -0
  403. package/src/sap/m/plugins/ColumnResizer.js +23 -2
  404. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  405. package/src/sap/m/plugins/PasteProvider.js +9 -1
  406. package/src/sap/m/plugins/PluginBase.js +1 -1
  407. package/src/sap/m/routing/TargetHandler.js +24 -22
  408. package/src/sap/m/routing/async/Target.js +3 -2
  409. package/src/sap/m/semantic/AddAction.js +1 -1
  410. package/src/sap/m/semantic/CancelAction.js +1 -1
  411. package/src/sap/m/semantic/DeleteAction.js +1 -1
  412. package/src/sap/m/semantic/DetailPage.js +1 -1
  413. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  414. package/src/sap/m/semantic/EditAction.js +1 -1
  415. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  416. package/src/sap/m/semantic/FilterAction.js +1 -1
  417. package/src/sap/m/semantic/FilterSelect.js +1 -1
  418. package/src/sap/m/semantic/FlagAction.js +1 -1
  419. package/src/sap/m/semantic/ForwardAction.js +1 -1
  420. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  421. package/src/sap/m/semantic/GroupAction.js +1 -1
  422. package/src/sap/m/semantic/GroupSelect.js +1 -1
  423. package/src/sap/m/semantic/MainAction.js +1 -1
  424. package/src/sap/m/semantic/MasterPage.js +1 -1
  425. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  426. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  427. package/src/sap/m/semantic/NegativeAction.js +1 -1
  428. package/src/sap/m/semantic/OpenInAction.js +1 -1
  429. package/src/sap/m/semantic/PositiveAction.js +1 -1
  430. package/src/sap/m/semantic/PrintAction.js +1 -1
  431. package/src/sap/m/semantic/SaveAction.js +1 -1
  432. package/src/sap/m/semantic/Segment.js +1 -1
  433. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  434. package/src/sap/m/semantic/SemanticButton.js +1 -1
  435. package/src/sap/m/semantic/SemanticConfiguration.js +3 -5
  436. package/src/sap/m/semantic/SemanticControl.js +1 -1
  437. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  438. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
  439. package/src/sap/m/semantic/SemanticPage.js +1 -1
  440. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  441. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  442. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  443. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  444. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  445. package/src/sap/m/semantic/ShareMenu.js +1 -1
  446. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  447. package/src/sap/m/semantic/SortAction.js +1 -1
  448. package/src/sap/m/semantic/SortSelect.js +1 -1
  449. package/src/sap/m/table/Util.js +192 -0
  450. package/src/sap/m/themes/base/AbstractContainer.less +17 -0
  451. package/src/sap/m/themes/base/Carousel.less +37 -2
  452. package/src/sap/m/themes/base/ColumnListItem.less +2 -2
  453. package/src/sap/m/themes/base/Dialog.less +22 -33
  454. package/src/sap/m/themes/base/GenericTile.less +386 -17
  455. package/src/sap/m/themes/base/IconTabBar.less +18 -13
  456. package/src/sap/m/themes/base/IconTabBarSelectList.less +4 -2
  457. package/src/sap/m/themes/base/Input.less +12 -0
  458. package/src/sap/m/themes/base/InputBase.less +0 -24
  459. package/src/sap/m/themes/base/Label.less +6 -0
  460. package/src/sap/m/themes/base/ListBase.less +7 -5
  461. package/src/sap/m/themes/base/ListItemBase.less +4 -2
  462. package/src/sap/m/themes/base/MessagePage.less +1 -7
  463. package/src/sap/m/themes/base/MessageView.less +4 -0
  464. package/src/sap/m/themes/base/MultiComboBox.less +17 -0
  465. package/src/sap/m/themes/base/NewsContent.less +7 -1
  466. package/src/sap/m/themes/base/NotificationListBase.less +1 -1
  467. package/src/sap/m/themes/base/NumericContent.less +87 -0
  468. package/src/sap/m/themes/base/ObjectMarker.less +3 -0
  469. package/src/sap/m/themes/base/ObjectNumber.less +10 -2
  470. package/src/sap/m/themes/base/ObjectStatus.less +14 -0
  471. package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +0 -6
  472. package/src/sap/m/themes/base/P13nContainer.less +17 -0
  473. package/src/sap/m/themes/base/P13nDialog.less +4 -0
  474. package/src/sap/m/themes/base/SearchField.less +21 -14
  475. package/src/sap/m/themes/base/SegmentedButton.less +1 -1
  476. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +1 -2
  477. package/src/sap/m/themes/base/SlideTile.less +15 -0
  478. package/src/sap/m/themes/base/StandardListItem.less +6 -1
  479. package/src/sap/m/themes/base/Table.less +18 -27
  480. package/src/sap/m/themes/base/Text.less +6 -0
  481. package/src/sap/m/themes/base/TextArea.less +1 -1
  482. package/src/sap/m/themes/base/TileContent.less +4 -0
  483. package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
  484. package/src/sap/m/themes/base/Token.less +0 -3
  485. package/src/sap/m/themes/base/Tokenizer.less +6 -0
  486. package/src/sap/m/themes/base/UploadSet.less +5 -0
  487. package/src/sap/m/themes/base/ViewSettingsDialog.less +28 -1
  488. package/src/sap/m/themes/base/library.source.less +4 -0
  489. package/src/sap/m/themes/base/p13n.Container.less +17 -0
  490. package/src/sap/m/themes/base/p13n.QueryPanel.less +7 -0
  491. package/src/sap/m/themes/base/p13n.SelectionPanel.less +32 -0
  492. package/src/sap/m/themes/sap_hcb/IconTabBar.less +3 -3
  493. package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
  494. package/src/sap/m/upload/UploadSet.js +48 -23
  495. package/src/sap/m/upload/UploadSetItem.js +24 -4
  496. package/ui5.yaml +4 -1
  497. package/src/sap/m/ios7.js +0 -199
@@ -142,7 +142,7 @@ function(
142
142
  * @extends sap.ui.core.Control
143
143
  *
144
144
  * @author SAP SE
145
- * @version 1.93.1
145
+ * @version 1.96.0
146
146
  *
147
147
  * @constructor
148
148
  * @public
@@ -24,7 +24,7 @@ sap.ui.define(['./ViewSettingsItem', './library'],
24
24
  * @extends sap.m.ViewSettingsItem
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.93.1
27
+ * @version 1.96.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -25,7 +25,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item'],
25
25
  * @extends sap.ui.core.Item
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.93.1
28
+ * @version 1.96.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -21,7 +21,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', "sap/ui/thirdparty/jquery"],
21
21
  * @extends sap.ui.core.Item
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.93.1
24
+ * @version 1.96.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.93.1
31
+ * @version 1.96.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -913,7 +913,7 @@ sap.ui.define([
913
913
 
914
914
  $aItems.eq(this._iSelectedItemIndex).addClass("sapMWSItemSelected");
915
915
  //WAI-ARIA region
916
- oDescriptionElement = document.getElementById(this.getId() + "-valDescription");
916
+ oDescriptionElement = this.getDomRef("valDescription");
917
917
  if (oDescriptionElement.innerText !== sAriaLabel) {
918
918
  oDescriptionElement.innerText = sAriaLabel;
919
919
  }
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.93.1
34
+ * @version 1.96.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -57,6 +57,7 @@ sap.ui.define([
57
57
  * <li>Steps can be branching depending on choices the user made in their input - this is set by the <code>enableBranching</code> property. </li>
58
58
  * <li>Steps can have different visual representations - numbers or icons. You can add labels for better readability </li>
59
59
  * </ul>
60
+ * <strong>Note:</strong> Dynamic step insertion is not supported. Even if branching steps are used, the steps should be known in advance.
60
61
  * <h4>Content</h4>
61
62
  * The content occupies the main part of the page. It can hold any type of input controls. The content is kept in {@link sap.m.WizardStep wizard steps}.
62
63
  * <h4>Next Step Button</h4>
@@ -83,7 +84,7 @@ sap.ui.define([
83
84
  *
84
85
  * @extends sap.ui.core.Control
85
86
  * @author SAP SE
86
- * @version 1.93.1
87
+ * @version 1.96.0
87
88
  *
88
89
  * @constructor
89
90
  * @public
@@ -43,7 +43,7 @@ function(
43
43
  * @extends sap.ui.core.Control
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.93.1
46
+ * @version 1.96.0
47
47
  *
48
48
  * @constructor
49
49
  * @private
@@ -5,9 +5,10 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/core/InvisibleText"
8
+ "sap/ui/core/InvisibleText",
9
+ "sap/ui/core/IconPool"
9
10
  ], function (
10
- InvisibleText
11
+ InvisibleText, IconPool
11
12
  ) {
12
13
  "use strict";
13
14
 
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * <li>If the execution needs to branch after a given step, you should set all possible next steps in the <code>subsequentSteps</code> aggregation.
37
37
  * @extends sap.ui.core.Control
38
38
  * @author SAP SE
39
- * @version 1.93.1
39
+ * @version 1.96.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  *
45
45
  * @author SAP SE
46
46
  *
47
- * @version 1.93.1
47
+ * @version 1.96.0
48
48
  *
49
49
  * @experimental Since 1.51.0 This class is experimental and provides only limited functionality.
50
50
  * Also the API might be changed in future.
@@ -12,7 +12,7 @@ sap.ui.define(function () {
12
12
  *
13
13
  * @alias sap.m.changeHandler.ChangeLinkTarget
14
14
  * @author SAP SE
15
- * @version 1.93.1
15
+ * @version 1.96.0
16
16
  * @experimental Since 1.71
17
17
  */
18
18
  var ChangeLinkTarget = {};
@@ -21,17 +21,18 @@ sap.ui.define([
21
21
  *
22
22
  * @alias sap.m.changeHandler.CombineButtons
23
23
  * @author SAP SE
24
- * @version 1.93.1
24
+ * @version 1.96.0
25
25
  * @experimental Since 1.48
26
26
  */
27
27
  var CombineButtons = {};
28
28
 
29
+ var sCombineButtonsModelName = "$sap.m.flexibility.CombineButtonsModel";
30
+
29
31
  function fnHandleMenuItems(aButtons, oModifier, oAppComponent, oMenu, oParent, sParentAggregation, oView, oChangeDefinition, oRevertData) {
30
32
  var sPropertyEnabled = "";
31
33
  var sPropertyVisible = "";
32
34
  var sOR = "";
33
35
  var aMenuButtonModels = [];
34
- var sCombineButtonsModelName = "$sap.m.flexibility.CombineButtonsModel";
35
36
  var bIsRtl = sap.ui.getCore().getConfiguration().getRTL();
36
37
  var aMenuButtonName = [];
37
38
 
@@ -56,17 +57,6 @@ sap.ui.define([
56
57
  })
57
58
  .then(function(iIndexInParentAggregation) {
58
59
  oRevertData.insertIndexes[iIndex] = iIndexInParentAggregation;
59
- return oModifier.attachEvent(
60
- oMenuItem,
61
- "press",
62
- "sap.m.changeHandler.CombineButtons.pressHandler",
63
- {
64
- selector: oModifier.getSelector(oButton, oAppComponent),
65
- appComponentId: oAppComponent.getId()
66
- }
67
- );
68
- })
69
- .then(function() {
70
60
  return oModifier.createControl(
71
61
  "sap.ui.fl.util.ManagedObjectModel",
72
62
  oAppComponent,
@@ -117,10 +107,12 @@ sap.ui.define([
117
107
  }
118
108
  // Add suffix to the id, so we can get the original ids of the combined buttons
119
109
  // when we want to split the menu. The suffix is used in SplitMenuButton change handler.
120
- oSelector.id = oSelector.id + "-originalButtonId"; // FIXME: do not mutate original object!
110
+ var oNewSelector = Object.assign({}, oSelector, {
111
+ id: oSelector.id + '-originalButtonId'
112
+ });
121
113
 
122
114
  // Create CustomData, holding the original ids of the combined buttons
123
- return oModifier.createControl("sap.ui.core.CustomData", oAppComponent, oView, oSelector);
115
+ return oModifier.createControl("sap.ui.core.CustomData", oAppComponent, oView, oNewSelector);
124
116
  })
125
117
  .then(function(oRetrievedId) {
126
118
  oIdToSave = oRetrievedId;
@@ -239,6 +231,13 @@ sap.ui.define([
239
231
  })
240
232
  .then(function(oCreatedMenu){
241
233
  oMenu = oCreatedMenu;
234
+ return oModifier.attachEvent(
235
+ oMenu,
236
+ "itemSelected",
237
+ "sap.m.changeHandler.CombineButtons.pressHandler"
238
+ );
239
+ })
240
+ .then(function(){
242
241
  return fnHandleMenuItems(
243
242
  aButtons,
244
243
  oModifier,
@@ -404,8 +403,8 @@ sap.ui.define([
404
403
  * @param {object} mParameters - parameters containing the selector and appComponentId
405
404
  * while applying the change.
406
405
  */
407
- CombineButtons.pressHandler = function (oEvent, mParameters) {
408
- var oButton = JsControlTreeModifier.bySelector(mParameters.selector, Component.get(mParameters.appComponentId));
406
+ CombineButtons.pressHandler = function(oEvent) {
407
+ var oButton = oEvent.getParameter("item").getModel(sCombineButtonsModelName).getObject();
409
408
  oButton.firePress();
410
409
  };
411
410
 
@@ -13,7 +13,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/thirdparty/jquery"], function(Log, jQuery
13
13
  *
14
14
  * @alias sap.m.changeHandler.MoveTableColumns
15
15
  * @author SAP SE
16
- * @version 1.93.1
16
+ * @version 1.96.0
17
17
  * @experimental Since 1.48
18
18
  */
19
19
  var MoveTableColumns = {};
@@ -0,0 +1,86 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ "sap/ui/fl/library"
9
+ ], function (flLibrary) {
10
+ "use strict";
11
+
12
+ /**
13
+ * Change handler for changing sap.m.IconTabBar selected tab filter
14
+ *
15
+ * @alias sap.m.changeHandler.SelectIconTabBarFilter
16
+ * @author SAP SE
17
+ * @version 1.96.0
18
+ * @experimental Since 1.96
19
+ */
20
+ var SelectIconTabBarFilter = {};
21
+
22
+ /**
23
+ * Changes sap.m.IconTabBar selectedKey property
24
+ *
25
+ * @param {sap.ui.fl.Change} oChange - Change wrapper object with instructions to be applied on the control map
26
+ * @param {sap.m.IconTabBar} oControl - Icon Tab Bar in which the selected tab should be changed
27
+ * @param {object} mPropertyBag - Map of properties
28
+ * @param {object} mPropertyBag.modifier - Modifier for the controls
29
+ *
30
+ * @public
31
+ */
32
+ SelectIconTabBarFilter.applyChange = function (oChange, oControl, mPropertyBag) {
33
+ var oModifier = mPropertyBag.modifier;
34
+ var oChangeDefinition = oChange.getDefinition();
35
+
36
+ oModifier.setProperty(oControl, "selectedKey", oChangeDefinition.content.selectedKey);
37
+ oChange.setRevertData(oChangeDefinition.content.previousSelectedKey);
38
+ };
39
+
40
+ /**
41
+ * Reverts applied change
42
+ *
43
+ * @param {sap.ui.fl.Change} oChange - Change wrapper object with instructions to be applied on the control map
44
+ * @param {sap.m.IconTabBar} oControl - Link that matches the change selector for reverting the change
45
+ * @param {object} mPropertyBag - Property bag containing the modifier and the view
46
+ * @param {object} mPropertyBag.modifier - Modifier for the controls
47
+ * @public
48
+ */
49
+ SelectIconTabBarFilter.revertChange = function (oChange, oControl, mPropertyBag) {
50
+ var oModifier = mPropertyBag.modifier;
51
+ var sPreviousSelectedKey = oChange.getRevertData();
52
+
53
+ oModifier.setProperty(oControl, "selectedKey", sPreviousSelectedKey);
54
+ oChange.resetRevertData();
55
+ };
56
+
57
+ /**
58
+ * Completes the change by adding change handler specific content
59
+ *
60
+ * @param {sap.ui.fl.Change} oChange - Change wrapper object to be completed
61
+ * @param {object} oSpecificChangeInfo - Specific info object
62
+ * @param {object} mPropertyBag - Map of properties
63
+ * @param {object} mPropertyBag.modifier - Modifier for the controls
64
+ *
65
+ * @public
66
+ */
67
+ SelectIconTabBarFilter.completeChangeContent = function (oChange, oSpecificChangeInfo, mPropertyBag) {};
68
+
69
+
70
+ /**
71
+ * Retrieves the condenser-specific information.
72
+ *
73
+ * @param {sap.ui.fl.Change} oChange - Change object with instructions to be applied on the control map
74
+ * @returns {object} - Condenser-specific information
75
+ * @public
76
+ */
77
+ SelectIconTabBarFilter.getCondenserInfo = function (oChange) {
78
+ return {
79
+ affectedControl: oChange.getSelector(),
80
+ classification: flLibrary.condenser.Classification.LastOneWins,
81
+ uniqueKey: oChange.getContent().selectedKey
82
+ };
83
+ };
84
+
85
+ return SelectIconTabBarFilter;
86
+ });
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @alias sap.m.changeHandler.SplitMenuButton
22
22
  * @author SAP SE
23
- * @version 1.93.1
23
+ * @version 1.96.0
24
24
  * @experimental Since 1.48
25
25
  */
26
26
  var SplitMenuButton = {};
@@ -121,9 +121,7 @@ sap.ui.define([
121
121
  oModifier.bindProperty(oButton, "icon", sModelName + ">/icon");
122
122
  oModifier.bindProperty(oButton, "enabled", sModelName + ">/enabled");
123
123
  oModifier.bindProperty(oButton, "visible", sModelName + ">/visible");
124
- return oModifier.bindAggregation(oButton, "customData", {
125
- path: sModelName + ">/customData",
126
- template: oModifier.createControl(
124
+ return oModifier.createControl(
127
125
  "sap.ui.core.CustomData",
128
126
  oAppComponent,
129
127
  oView,
@@ -138,7 +136,12 @@ sap.ui.define([
138
136
  path: sModelName + ">value"
139
137
  }
140
138
  }
141
- ),
139
+ );
140
+ })
141
+ .then(function(oTemplate){
142
+ return oModifier.bindAggregation(oButton, "customData", {
143
+ path: sModelName + ">/customData",
144
+ template: oTemplate,
142
145
  templateShareable: false
143
146
  });
144
147
  })
@@ -149,7 +152,8 @@ sap.ui.define([
149
152
  "sap.m.changeHandler.SplitMenuButton.pressHandler",
150
153
  {
151
154
  selector: oModifier.getSelector(oMenuItem, oAppComponent),
152
- appComponentId: oAppComponent.getId()
155
+ appComponentId: oAppComponent.getId(),
156
+ menu: oMenu
153
157
  }
154
158
  );
155
159
  })
@@ -253,6 +257,8 @@ sap.ui.define([
253
257
  SplitMenuButton.pressHandler = function (oEvent, mParameters) {
254
258
  var oMenuItem = JsControlTreeModifier.bySelector(mParameters.selector, Component.get(mParameters.appComponentId));
255
259
  oMenuItem.firePress();
260
+
261
+ mParameters.menu.fireItemSelected({ item: oMenuItem });
256
262
  };
257
263
 
258
264
  return SplitMenuButton;
@@ -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([
13
8
  'sap/ui/base/EventProvider',
14
9
  'sap/ui/core/date/UniversalDate',
@@ -95,6 +90,7 @@ sap.ui.define([
95
90
  oCalEnd.setUTCDate(oCalEnd.getUTCDate() + this.getStep() - 1);
96
91
  break;
97
92
  case Periods.OneMonth:
93
+ case "OneMonth":
98
94
  oCalEnd.setUTCMonth(oCalEnd.getUTCMonth() + 1);
99
95
  oCalEnd.setUTCDate(oCalEnd.getUTCDate() - 1);
100
96
  break;
@@ -142,6 +138,7 @@ sap.ui.define([
142
138
 
143
139
  break;
144
140
  case Periods.OneMonth:
141
+ case "OneMonth":
145
142
  oNewCalCurrent.setUTCMonth(oNewCalCurrent.getUTCMonth() + 1, 1);
146
143
  this.setCurrent(CalendarUtils._createLocalDate(oNewCalCurrent, true));
147
144
 
@@ -184,6 +181,7 @@ sap.ui.define([
184
181
 
185
182
  break;
186
183
  case Periods.OneMonth:
184
+ case "OneMonth":
187
185
  oNewCalCurrent.setUTCMonth(oNewCalCurrent.getUTCMonth() - 1, 1);
188
186
  this.setCurrent(CalendarUtils._createLocalDate(oNewCalCurrent, true));
189
187
 
@@ -206,6 +204,7 @@ sap.ui.define([
206
204
 
207
205
  switch (this.getUnit()) {
208
206
  case Periods.OneMonth:
207
+ case "OneMonth":
209
208
  if (CalendarUtils.monthsDiffer(this.getStart(), oToDate)) {
210
209
  var oFirstMonthCalDate = CalendarUtils.getFirstDateOfMonth(oNewUTCCurrent);
211
210
 
@@ -5,10 +5,80 @@
5
5
  */
6
6
 
7
7
  // Provides the Design Time Metadata for the sap.m.IconTabBar control
8
- sap.ui.define([],
9
- function () {
8
+ sap.ui.define([
9
+ "sap/ui/model/json/JSONModel",
10
+ "sap/ui/core/Core",
11
+ "sap/ui/core/Fragment"
12
+ ],
13
+ function (JSONModel, Core, Fragment) {
10
14
  "use strict";
11
15
 
16
+ var oTextResources = Core.getLibraryResourceBundle("sap.m.designtime");
17
+
18
+ var oSelectIconTabBarFilter = function (oControl, mPropertyBag) {
19
+ return new Promise(function (fnResolve) {
20
+ var aItemsList = [];
21
+ var aItems = oControl.getItems();
22
+
23
+ aItems.forEach(function (oItem) {
24
+ if (!oItem.isA("sap.m.IconTabSeparator")){
25
+ aItemsList.push({
26
+ 'text': oItem.getText() || oItem.getKey(),
27
+ 'key': oItem.getKey()
28
+ });
29
+ }
30
+ });
31
+
32
+ var oData = {
33
+ selectedKey: oControl.getSelectedKey(),
34
+ titleText: oTextResources.getText("ICON_TAB_BAR_SELECT_TAB"),
35
+ cancelBtn: oTextResources.getText("ICON_TAB_BAR_CANCEL_BTN"),
36
+ okBtn: oTextResources.getText("ICON_TAB_BAR_SELECT_BTN"),
37
+ items: aItemsList
38
+ };
39
+ var oModel = new JSONModel();
40
+ oModel.setData(oData);
41
+
42
+ Fragment.load({
43
+ name:"sap.m.designtime.IconTabBarSelectTab",
44
+ controller: this
45
+ }).then(function(oDialog){
46
+ oDialog.setModel(oModel);
47
+
48
+ oDialog.getBeginButton().attachPress(function (oEvent) {
49
+ var sNewSelectedKey = sap.ui.getCore().byId("targetCombo").getSelectedKey();
50
+
51
+ fnResolve(sNewSelectedKey);
52
+ oDialog.close();
53
+ });
54
+
55
+ oDialog.getEndButton().attachPress(function (oEvent) {
56
+ oDialog.close();
57
+ });
58
+
59
+ oDialog.attachEventOnce("afterClose", function (oEvent) {
60
+ oDialog.destroy();
61
+ });
62
+
63
+ oDialog.addStyleClass(mPropertyBag.styleClass);
64
+ oDialog.open();
65
+ });
66
+ }).then(
67
+ function (sNewSelectedKey) {
68
+ return [{
69
+ selectorControl: oControl,
70
+ changeSpecificData: {
71
+ changeType: "selectIconTabBarFilter",
72
+ content: {
73
+ selectedKey: sNewSelectedKey,
74
+ previousSelectedKey: oControl.getSelectedKey()
75
+ }
76
+ }
77
+ }];
78
+ }
79
+ );
80
+ };
81
+
12
82
  return {
13
83
  name: {
14
84
  singular: "ICON_TAB_BAR_NAME",
@@ -42,6 +112,19 @@ sap.ui.define([],
42
112
  }
43
113
  }
44
114
  },
115
+ actions: {
116
+ settings: function () {
117
+ return {
118
+ "selectIconTabBarFilter": {
119
+ name: oTextResources.getText("ICON_TAB_BAR_SELECT_TAB"),
120
+ isEnabled: function (oControl) {
121
+ return !!oControl._getIconTabHeader().oSelectedItem;
122
+ },
123
+ handler: oSelectIconTabBarFilter
124
+ }
125
+ };
126
+ }
127
+ },
45
128
  templates: {
46
129
  create: "sap/m/designtime/IconTabBar.create.fragment.xml"
47
130
  }
@@ -0,0 +1,17 @@
1
+ <core:FragmentDefinition
2
+ xmlns="sap.m"
3
+ xmlns:core="sap.ui.core">
4
+ <Dialog title="{/titleText}">
5
+
6
+ <ComboBox id="targetCombo" class="sapUiSmallMargin" selectedKey="{/selectedKey}" items="{/items}">
7
+ <core:Item key="{key}" text="{text}" />
8
+ </ComboBox>
9
+
10
+ <endButton>
11
+ <Button text="{/cancelBtn}" />
12
+ </endButton>
13
+ <beginButton>
14
+ <Button text="{/okBtn}" type="Emphasized" />
15
+ </beginButton>
16
+ </Dialog>
17
+ </core:FragmentDefinition>
@@ -22,6 +22,9 @@ sap.ui.define([],
22
22
  }
23
23
  },
24
24
  actions: {
25
+ remove: {
26
+ changeType: "hideControl"
27
+ },
25
28
  split: {
26
29
  changeType: "splitMenuButton",
27
30
  changeOnRelevantContainer : true,
@@ -28,19 +28,23 @@ sap.ui.define([
28
28
  return oWrapper ? oWrapper.getStableElements(oObjectIdentifier) : null;
29
29
  },
30
30
  actions: {
31
- settings: function() {
32
- if (!oWrapper) {
33
- return;
34
- }
35
- if (!oWrapper.isSettingsAvailable()) {
36
- Log.error("sap.ui.comp.navpopover.ObjectIdentifier.designtime: 'settings' action is not available");
37
- return;
38
- }
39
- return {
40
- handler: function(oObjectIdentifier, fGetUnsavedChanges) {
41
- return oWrapper.execute(oObjectIdentifier, fGetUnsavedChanges);
31
+ settings: function(oObjectIdentifier) {
32
+ // Checking for the model which is set inside the sap.ui.comp.providers.ControlProvider in case the title link has SmartLink functionality
33
+ if (oObjectIdentifier.getModel("$sapuicompcontrolprovider_distinctSO")) {
34
+ if (!oWrapper) {
35
+ return;
42
36
  }
43
- };
37
+ if (!oWrapper.isSettingsAvailable()) {
38
+ Log.error("sap.m.ObjectIdentifier.designtime: 'settings' action is not available");
39
+ return;
40
+ }
41
+ return {
42
+ handler: function(oObjectIdentifier, fGetUnsavedChanges) {
43
+ return oWrapper.execute(oObjectIdentifier, fGetUnsavedChanges);
44
+ }
45
+ };
46
+ }
47
+ return null;
44
48
  }
45
49
  },
46
50
  templates: {
@@ -211,6 +211,15 @@ ICON_TAB_BAR_NAME=Icon Tab Bar
211
211
  #XMIT: Icon Tab Bar control name plural caption
212
212
  ICON_TAB_BAR_NAME_PLURAL=Icon Tab Bars
213
213
 
214
+ #XTIT: Icon Tab Bar dialog "Select tab" caption
215
+ ICON_TAB_BAR_SELECT_TAB=Select Tab
216
+
217
+ #XBUT: Cancel button caption in Icon Tab Bar dialog for selecting new tab
218
+ ICON_TAB_BAR_CANCEL_BTN=Cancel
219
+
220
+ #XBUT: Select button caption in Icon Tab Bar dialog for selecting new tab
221
+ ICON_TAB_BAR_SELECT_BTN=Select
222
+
214
223
  #XMIT: Split App control name caption
215
224
  SPLIT_APP_NAME=Split App
216
225
 
@@ -139,6 +139,12 @@ ICON_TAB_BAR_NAME=\u0634\u0631\u064A\u0637 \u0639\u0644\u0627\u0645\u0629 \u062A
139
139
 
140
140
  ICON_TAB_BAR_NAME_PLURAL=\u0623\u0634\u0631\u0637\u0629 \u0639\u0644\u0627\u0645\u0627\u062A \u062A\u0628\u0648\u064A\u0628 \u0627\u0644\u0623\u064A\u0642\u0648\u0646\u0629
141
141
 
142
+ ICON_TAB_BAR_SELECT_TAB=\u062A\u062D\u062F\u064A\u062F \u0639\u0644\u0627\u0645\u0629 \u062A\u0628\u0648\u064A\u0628
143
+
144
+ ICON_TAB_BAR_CANCEL_BTN=\u0625\u0644\u063A\u0627\u0621
145
+
146
+ ICON_TAB_BAR_SELECT_BTN=\u062A\u062D\u062F\u064A\u062F
147
+
142
148
  SPLIT_APP_NAME=\u062A\u0637\u0628\u064A\u0642 \u062A\u0642\u0633\u064A\u0645
143
149
 
144
150
  SPLIT_APP_NAME_PLURAL=\u062A\u0637\u0628\u064A\u0642\u0627\u062A \u062A\u0642\u0633\u064A\u0645
@@ -139,6 +139,12 @@ ICON_TAB_BAR_NAME=\u041B\u0435\u043D\u0442\u0430 \u0441 \u0442\u0430\u0431\u043E
139
139
 
140
140
  ICON_TAB_BAR_NAME_PLURAL=\u041B\u0435\u043D\u0442\u0438 \u0441 \u0442\u0430\u0431\u043E\u0432\u0435 \u0437\u0430 \u0438\u043A\u043E\u043D\u0438
141
141
 
142
+ ICON_TAB_BAR_SELECT_TAB=\u0418\u0437\u0431\u043E\u0440 \u043D\u0430 \u0442\u0430\u0431
143
+
144
+ ICON_TAB_BAR_CANCEL_BTN=\u041E\u0442\u043A\u0430\u0437
145
+
146
+ ICON_TAB_BAR_SELECT_BTN=\u0418\u0437\u0431\u0438\u0440\u0430\u043D\u0435
147
+
142
148
  SPLIT_APP_NAME=\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0437\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u044F\u043D\u0435
143
149
 
144
150
  SPLIT_APP_NAME_PLURAL=\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0437\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u044F\u043D\u0435
@@ -139,6 +139,12 @@ ICON_TAB_BAR_NAME=Barra de pestanyes d\u2019icones
139
139
 
140
140
  ICON_TAB_BAR_NAME_PLURAL=Barres de pestanyes d\u2019icones
141
141
 
142
+ ICON_TAB_BAR_SELECT_TAB=Seleccionar pestanya
143
+
144
+ ICON_TAB_BAR_CANCEL_BTN=Cancel\u00B7lar
145
+
146
+ ICON_TAB_BAR_SELECT_BTN=Seleccionar
147
+
142
148
  SPLIT_APP_NAME=Aplicaci\u00F3 de partici\u00F3
143
149
 
144
150
  SPLIT_APP_NAME_PLURAL=Aplicacions de partici\u00F3
@@ -139,6 +139,12 @@ ICON_TAB_BAR_NAME=Li\u0161ta z\u00E1lo\u017Eek s ikonami
139
139
 
140
140
  ICON_TAB_BAR_NAME_PLURAL=Li\u0161ty z\u00E1lo\u017Eek s ikonami
141
141
 
142
+ ICON_TAB_BAR_SELECT_TAB=Vybrat z\u00E1lo\u017Eku
143
+
144
+ ICON_TAB_BAR_CANCEL_BTN=Zru\u0161it
145
+
146
+ ICON_TAB_BAR_SELECT_BTN=Vybrat
147
+
142
148
  SPLIT_APP_NAME=Rozd\u011Blen\u00E1 aplikace
143
149
 
144
150
  SPLIT_APP_NAME_PLURAL=Rozd\u011Blen\u00E9 aplikace
@@ -139,6 +139,12 @@ ICON_TAB_BAR_NAME=Bar Tab Eicon
139
139
 
140
140
  ICON_TAB_BAR_NAME_PLURAL=Barau Tab Eicon
141
141
 
142
+ ICON_TAB_BAR_SELECT_TAB=Dewis Tab
143
+
144
+ ICON_TAB_BAR_CANCEL_BTN=Canslo
145
+
146
+ ICON_TAB_BAR_SELECT_BTN=Dewis
147
+
142
148
  SPLIT_APP_NAME=Ap Hollt
143
149
 
144
150
  SPLIT_APP_NAME_PLURAL=Apiau Hollt