@openui5/sap.m 1.104.0 → 1.105.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 (451) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +1 -1
  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 +2 -3
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +2 -2
  12. package/src/sap/m/BadgeEnabler.js +1 -2
  13. package/src/sap/m/Bar.js +1 -1
  14. package/src/sap/m/Breadcrumbs.js +1 -1
  15. package/src/sap/m/BusyDialog.js +1 -1
  16. package/src/sap/m/BusyIndicator.js +1 -1
  17. package/src/sap/m/Button.js +47 -9
  18. package/src/sap/m/ButtonRenderer.js +10 -2
  19. package/src/sap/m/Carousel.js +3 -4
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CheckBox.js +46 -6
  22. package/src/sap/m/CheckBoxRenderer.js +1 -0
  23. package/src/sap/m/ColorPalette.js +1 -1
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +5 -7
  27. package/src/sap/m/ColumnListItem.js +1 -4
  28. package/src/sap/m/ColumnListItemRenderer.js +1 -2
  29. package/src/sap/m/ColumnPopoverActionItem.js +3 -3
  30. package/src/sap/m/ColumnPopoverCustomItem.js +3 -3
  31. package/src/sap/m/ColumnPopoverItem.js +3 -3
  32. package/src/sap/m/ColumnPopoverSelectListItem.js +3 -5
  33. package/src/sap/m/ColumnPopoverSortItem.js +3 -3
  34. package/src/sap/m/ComboBox.js +6 -5
  35. package/src/sap/m/ComboBoxBase.js +1 -5
  36. package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
  37. package/src/sap/m/ComboBoxTextField.js +1 -7
  38. package/src/sap/m/ComboBoxTextFieldRenderer.js +19 -4
  39. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  40. package/src/sap/m/CustomListItem.js +1 -1
  41. package/src/sap/m/CustomTile.js +1 -1
  42. package/src/sap/m/CustomTreeItem.js +3 -3
  43. package/src/sap/m/CustomTreeItemRenderer.js +2 -2
  44. package/src/sap/m/DatePicker.js +1 -3
  45. package/src/sap/m/DateRangeSelection.js +2 -2
  46. package/src/sap/m/DateTimeField.js +1 -1
  47. package/src/sap/m/DateTimeInput.js +1 -1
  48. package/src/sap/m/DateTimePicker.js +13 -8
  49. package/src/sap/m/Dialog.js +38 -1
  50. package/src/sap/m/DisplayListItem.js +1 -1
  51. package/src/sap/m/DraftIndicator.js +1 -1
  52. package/src/sap/m/DynamicDate.js +1 -1
  53. package/src/sap/m/DynamicDateFormat.js +2 -5
  54. package/src/sap/m/DynamicDateOption.js +38 -13
  55. package/src/sap/m/DynamicDateRange.js +47 -6
  56. package/src/sap/m/DynamicDateRangeRenderer.js +5 -2
  57. package/src/sap/m/DynamicDateUtil.js +23 -2
  58. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  59. package/src/sap/m/ExpandableText.js +1 -1
  60. package/src/sap/m/FacetFilter.js +2 -2
  61. package/src/sap/m/FacetFilterItem.js +1 -1
  62. package/src/sap/m/FacetFilterList.js +4 -4
  63. package/src/sap/m/FeedContent.js +1 -1
  64. package/src/sap/m/FeedInput.js +1 -1
  65. package/src/sap/m/FeedListItem.js +1 -1
  66. package/src/sap/m/FeedListItemAction.js +1 -1
  67. package/src/sap/m/Fiori20Adapter.js +2 -2
  68. package/src/sap/m/FlexBox.js +1 -1
  69. package/src/sap/m/FlexItemData.js +1 -1
  70. package/src/sap/m/FormattedText.js +1 -1
  71. package/src/sap/m/GenericTag.js +1 -1
  72. package/src/sap/m/GenericTile.js +56 -8
  73. package/src/sap/m/GroupHeaderListItem.js +1 -1
  74. package/src/sap/m/GrowingEnablement.js +26 -7
  75. package/src/sap/m/GrowingList.js +1 -1
  76. package/src/sap/m/HBox.js +1 -1
  77. package/src/sap/m/HeaderContainer.js +1 -1
  78. package/src/sap/m/HeaderContainerItemNavigator.js +3 -6
  79. package/src/sap/m/IconTabBar.js +54 -22
  80. package/src/sap/m/IconTabBarSelectList.js +1 -1
  81. package/src/sap/m/IconTabFilter.js +1 -1
  82. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  83. package/src/sap/m/IconTabHeader.js +6 -7
  84. package/src/sap/m/IconTabSeparator.js +1 -1
  85. package/src/sap/m/IllustratedMessage.js +2 -2
  86. package/src/sap/m/Illustration.js +1 -1
  87. package/src/sap/m/IllustrationRenderer.js +1 -1
  88. package/src/sap/m/Image.js +2 -2
  89. package/src/sap/m/ImageContent.js +1 -1
  90. package/src/sap/m/Input.js +51 -4
  91. package/src/sap/m/InputBase.js +1 -1
  92. package/src/sap/m/InputBaseRenderer.js +2 -2
  93. package/src/sap/m/InputListItem.js +1 -1
  94. package/src/sap/m/InputRenderer.js +4 -0
  95. package/src/sap/m/Label.js +34 -4
  96. package/src/sap/m/LabelRenderer.js +7 -2
  97. package/src/sap/m/LightBox.js +1 -1
  98. package/src/sap/m/LightBoxItem.js +1 -1
  99. package/src/sap/m/Link.js +55 -6
  100. package/src/sap/m/LinkRenderer.js +8 -2
  101. package/src/sap/m/List.js +38 -1
  102. package/src/sap/m/ListBase.js +101 -40
  103. package/src/sap/m/ListBaseRenderer.js +7 -15
  104. package/src/sap/m/ListItemBase.js +31 -10
  105. package/src/sap/m/ListItemBaseRenderer.js +17 -6
  106. package/src/sap/m/ListRenderer.js +2 -2
  107. package/src/sap/m/MaskEnabler.js +1 -1
  108. package/src/sap/m/MaskInput.js +1 -1
  109. package/src/sap/m/MaskInputRule.js +1 -1
  110. package/src/sap/m/Menu.js +1 -1
  111. package/src/sap/m/MenuButton.js +1 -1
  112. package/src/sap/m/MenuItem.js +1 -1
  113. package/src/sap/m/MenuListItem.js +1 -1
  114. package/src/sap/m/MessageBox.js +1 -1
  115. package/src/sap/m/MessageItem.js +3 -4
  116. package/src/sap/m/MessageListItem.js +8 -4
  117. package/src/sap/m/MessagePage.js +1 -1
  118. package/src/sap/m/MessagePopover.js +1 -1
  119. package/src/sap/m/MessagePopoverItem.js +1 -1
  120. package/src/sap/m/MessageStrip.js +1 -1
  121. package/src/sap/m/MessageToast.js +1 -1
  122. package/src/sap/m/MessageView.js +1 -1
  123. package/src/sap/m/MultiComboBox.js +5 -16
  124. package/src/sap/m/MultiEditField.js +1 -1
  125. package/src/sap/m/MultiInput.js +1 -15
  126. package/src/sap/m/NavContainer.js +2 -4
  127. package/src/sap/m/NewsContent.js +2 -3
  128. package/src/sap/m/NotificationList.js +1 -1
  129. package/src/sap/m/NotificationListBase.js +1 -1
  130. package/src/sap/m/NotificationListGroup.js +3 -7
  131. package/src/sap/m/NotificationListGroupRenderer.js +1 -1
  132. package/src/sap/m/NotificationListItem.js +1 -1
  133. package/src/sap/m/NumericContent.js +1 -1
  134. package/src/sap/m/NumericInput.js +1 -1
  135. package/src/sap/m/ObjectAttribute.js +1 -1
  136. package/src/sap/m/ObjectHeader.js +3 -3
  137. package/src/sap/m/ObjectIdentifier.js +3 -3
  138. package/src/sap/m/ObjectListItem.js +7 -1
  139. package/src/sap/m/ObjectMarker.js +1 -1
  140. package/src/sap/m/ObjectNumber.js +2 -3
  141. package/src/sap/m/ObjectStatus.js +2 -3
  142. package/src/sap/m/ObjectStatusRenderer.js +2 -2
  143. package/src/sap/m/OverflowToolbar.js +3 -8
  144. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  145. package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -3
  146. package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +2 -2
  147. package/src/sap/m/OverflowToolbarButton.js +1 -1
  148. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  149. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  150. package/src/sap/m/P13nAnyFilterItem.js +3 -3
  151. package/src/sap/m/P13nColumnsItem.js +3 -3
  152. package/src/sap/m/P13nColumnsPanel.js +3 -3
  153. package/src/sap/m/P13nConditionPanel.js +10 -3
  154. package/src/sap/m/P13nDialog.js +3 -3
  155. package/src/sap/m/P13nDimMeasureItem.js +3 -3
  156. package/src/sap/m/P13nDimMeasurePanel.js +3 -3
  157. package/src/sap/m/P13nFilterItem.js +3 -3
  158. package/src/sap/m/P13nFilterPanel.js +3 -3
  159. package/src/sap/m/P13nGroupItem.js +3 -3
  160. package/src/sap/m/P13nGroupPanel.js +3 -3
  161. package/src/sap/m/P13nItem.js +3 -3
  162. package/src/sap/m/P13nOperationsHelper.js +2 -2
  163. package/src/sap/m/P13nPanel.js +3 -3
  164. package/src/sap/m/P13nSelectionItem.js +3 -3
  165. package/src/sap/m/P13nSelectionPanel.js +3 -3
  166. package/src/sap/m/P13nSortItem.js +3 -3
  167. package/src/sap/m/P13nSortPanel.js +3 -3
  168. package/src/sap/m/PDFViewer.js +1 -1
  169. package/src/sap/m/Page.js +1 -3
  170. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  171. package/src/sap/m/PagingButton.js +1 -1
  172. package/src/sap/m/Panel.js +1 -1
  173. package/src/sap/m/PlanningCalendar.js +4 -16
  174. package/src/sap/m/PlanningCalendarHeader.js +1 -5
  175. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  176. package/src/sap/m/PlanningCalendarRow.js +1 -1
  177. package/src/sap/m/PlanningCalendarView.js +1 -1
  178. package/src/sap/m/Popover.js +8 -1
  179. package/src/sap/m/ProgressIndicator.js +1 -1
  180. package/src/sap/m/PullToRefresh.js +1 -1
  181. package/src/sap/m/QuickView.js +3 -3
  182. package/src/sap/m/QuickViewBase.js +3 -3
  183. package/src/sap/m/QuickViewCard.js +3 -3
  184. package/src/sap/m/QuickViewGroup.js +1 -1
  185. package/src/sap/m/QuickViewGroupElement.js +3 -3
  186. package/src/sap/m/QuickViewPage.js +3 -3
  187. package/src/sap/m/RadioButton.js +47 -20
  188. package/src/sap/m/RadioButtonGroup.js +29 -19
  189. package/src/sap/m/RangeSlider.js +1 -3
  190. package/src/sap/m/RatingIndicator.js +1 -1
  191. package/src/sap/m/ResponsivePopover.js +3 -3
  192. package/src/sap/m/ResponsiveScale.js +1 -1
  193. package/src/sap/m/ScrollBar.js +1 -1
  194. package/src/sap/m/ScrollContainer.js +1 -1
  195. package/src/sap/m/SearchField.js +1 -1
  196. package/src/sap/m/SegmentedButton.js +1 -1
  197. package/src/sap/m/SegmentedButtonItem.js +1 -1
  198. package/src/sap/m/Select.js +3 -2
  199. package/src/sap/m/SelectDialog.js +2 -1
  200. package/src/sap/m/SelectDialogBase.js +1 -1
  201. package/src/sap/m/SelectList.js +1 -1
  202. package/src/sap/m/SelectListRenderer.js +2 -2
  203. package/src/sap/m/SelectionDetails.js +2 -2
  204. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  205. package/src/sap/m/SelectionDetailsItem.js +1 -1
  206. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  207. package/src/sap/m/Shell.js +1 -1
  208. package/src/sap/m/SimpleFixFlex.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendar.js +5 -7
  210. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -7
  212. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  213. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +0 -2
  214. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  215. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  216. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  217. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  218. package/src/sap/m/SlideTile.js +30 -5
  219. package/src/sap/m/Slider.js +1 -1
  220. package/src/sap/m/SliderTooltip.js +1 -3
  221. package/src/sap/m/SliderTooltipBase.js +1 -1
  222. package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
  223. package/src/sap/m/SliderTooltipContainer.js +1 -1
  224. package/src/sap/m/SliderTooltipContainerRenderer.js +2 -2
  225. package/src/sap/m/SliderTooltipRenderer.js +2 -2
  226. package/src/sap/m/SplitApp.js +1 -1
  227. package/src/sap/m/SplitButton.js +1 -3
  228. package/src/sap/m/SplitContainer.js +1 -5
  229. package/src/sap/m/StandardDynamicDateOption.js +9 -15
  230. package/src/sap/m/StandardListItem.js +1 -1
  231. package/src/sap/m/StandardListItemRenderer.js +2 -2
  232. package/src/sap/m/StandardTile.js +1 -1
  233. package/src/sap/m/StandardTreeItem.js +1 -1
  234. package/src/sap/m/StepInput.js +1 -1
  235. package/src/sap/m/SuggestionItem.js +1 -1
  236. package/src/sap/m/SuggestionsPopover.js +4 -2
  237. package/src/sap/m/Switch.js +1 -1
  238. package/src/sap/m/TabContainer.js +1 -1
  239. package/src/sap/m/TabContainerItem.js +1 -1
  240. package/src/sap/m/TabStrip.js +1 -1
  241. package/src/sap/m/TabStripItem.js +1 -1
  242. package/src/sap/m/Table.js +11 -9
  243. package/src/sap/m/TablePersoController.js +1 -1
  244. package/src/sap/m/TablePersoDialog.js +6 -15
  245. package/src/sap/m/TablePersoProvider.js +1 -1
  246. package/src/sap/m/TableRenderer.js +2 -9
  247. package/src/sap/m/TableSelectDialog.js +1 -1
  248. package/src/sap/m/Text.js +1 -1
  249. package/src/sap/m/TextArea.js +1 -1
  250. package/src/sap/m/TextAreaRenderer.js +1 -2
  251. package/src/sap/m/Tile.js +1 -1
  252. package/src/sap/m/TileContainer.js +1 -1
  253. package/src/sap/m/TileContent.js +1 -1
  254. package/src/sap/m/TileContentRenderer.js +2 -2
  255. package/src/sap/m/TimePicker.js +1 -1
  256. package/src/sap/m/TimePickerClock.js +2 -3
  257. package/src/sap/m/TimePickerClocks.js +1 -1
  258. package/src/sap/m/TimePickerClocksRenderer.js +1 -1
  259. package/src/sap/m/TimePickerInputs.js +1 -1
  260. package/src/sap/m/TimePickerInputsRenderer.js +1 -1
  261. package/src/sap/m/TimePickerInternals.js +1 -1
  262. package/src/sap/m/TimePickerSlider.js +1 -1
  263. package/src/sap/m/TimePickerSliders.js +3 -5
  264. package/src/sap/m/Title.js +1 -1
  265. package/src/sap/m/TitlePropagationSupport.js +1 -1
  266. package/src/sap/m/ToggleButton.js +1 -1
  267. package/src/sap/m/Token.js +1 -3
  268. package/src/sap/m/Tokenizer.js +1 -1
  269. package/src/sap/m/Toolbar.js +1 -1
  270. package/src/sap/m/ToolbarLayoutData.js +1 -1
  271. package/src/sap/m/ToolbarSeparator.js +1 -1
  272. package/src/sap/m/ToolbarSpacer.js +1 -1
  273. package/src/sap/m/Tree.js +8 -1
  274. package/src/sap/m/TreeItemBase.js +1 -1
  275. package/src/sap/m/TreeRenderer.js +0 -10
  276. package/src/sap/m/UploadCollection.js +1 -1
  277. package/src/sap/m/UploadCollectionItem.js +1 -1
  278. package/src/sap/m/UploadCollectionParameter.js +1 -1
  279. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  280. package/src/sap/m/VBox.js +1 -1
  281. package/src/sap/m/ValueStateHeader.js +1 -1
  282. package/src/sap/m/VariantItem.js +2 -2
  283. package/src/sap/m/VariantManagement.js +83 -51
  284. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  285. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  286. package/src/sap/m/ViewSettingsDialog.js +1 -1
  287. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  288. package/src/sap/m/ViewSettingsItem.js +1 -1
  289. package/src/sap/m/VisibleItem.js +1 -1
  290. package/src/sap/m/WheelSlider.js +1 -1
  291. package/src/sap/m/WheelSliderContainer.js +1 -1
  292. package/src/sap/m/Wizard.js +1 -3
  293. package/src/sap/m/WizardProgressNavigator.js +1 -1
  294. package/src/sap/m/WizardStep.js +1 -1
  295. package/src/sap/m/changeHandler/AddTableColumn.js +12 -13
  296. package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -3
  297. package/src/sap/m/changeHandler/CombineButtons.js +19 -22
  298. package/src/sap/m/changeHandler/MoveTableColumns.js +5 -5
  299. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
  300. package/src/sap/m/changeHandler/SplitMenuButton.js +7 -6
  301. package/src/sap/m/delegate/DateNavigation.js +0 -4
  302. package/src/sap/m/designtime/Link.designtime.js +19 -11
  303. package/src/sap/m/designtime/VariantManagement.designtime.js +2 -2
  304. package/src/sap/m/inputUtils/selectionRange.js +1 -2
  305. package/src/sap/m/library.js +3 -2
  306. package/src/sap/m/messagebundle.properties +7 -2
  307. package/src/sap/m/messagebundle_ar.properties +10 -3
  308. package/src/sap/m/messagebundle_bg.properties +9 -2
  309. package/src/sap/m/messagebundle_ca.properties +8 -1
  310. package/src/sap/m/messagebundle_cs.properties +9 -2
  311. package/src/sap/m/messagebundle_cy.properties +10 -3
  312. package/src/sap/m/messagebundle_da.properties +8 -1
  313. package/src/sap/m/messagebundle_de.properties +8 -1
  314. package/src/sap/m/messagebundle_el.properties +10 -3
  315. package/src/sap/m/messagebundle_en.properties +10 -3
  316. package/src/sap/m/messagebundle_en_GB.properties +10 -3
  317. package/src/sap/m/messagebundle_en_US_sappsd.properties +9 -2
  318. package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -2
  319. package/src/sap/m/messagebundle_en_US_saptrc.properties +9 -2
  320. package/src/sap/m/messagebundle_es.properties +9 -2
  321. package/src/sap/m/messagebundle_es_MX.properties +8 -1
  322. package/src/sap/m/messagebundle_et.properties +8 -1
  323. package/src/sap/m/messagebundle_fi.properties +9 -2
  324. package/src/sap/m/messagebundle_fr.properties +9 -2
  325. package/src/sap/m/messagebundle_fr_CA.properties +10 -3
  326. package/src/sap/m/messagebundle_hi.properties +10 -3
  327. package/src/sap/m/messagebundle_hr.properties +8 -1
  328. package/src/sap/m/messagebundle_hu.properties +8 -1
  329. package/src/sap/m/messagebundle_id.properties +10 -3
  330. package/src/sap/m/messagebundle_it.properties +8 -1
  331. package/src/sap/m/messagebundle_iw.properties +9 -2
  332. package/src/sap/m/messagebundle_ja.properties +9 -2
  333. package/src/sap/m/messagebundle_kk.properties +8 -1
  334. package/src/sap/m/messagebundle_ko.properties +10 -3
  335. package/src/sap/m/messagebundle_lt.properties +8 -1
  336. package/src/sap/m/messagebundle_lv.properties +8 -1
  337. package/src/sap/m/messagebundle_ms.properties +9 -2
  338. package/src/sap/m/messagebundle_nl.properties +8 -1
  339. package/src/sap/m/messagebundle_no.properties +9 -2
  340. package/src/sap/m/messagebundle_pl.properties +8 -1
  341. package/src/sap/m/messagebundle_pt.properties +9 -2
  342. package/src/sap/m/messagebundle_pt_PT.properties +8 -1
  343. package/src/sap/m/messagebundle_ro.properties +9 -2
  344. package/src/sap/m/messagebundle_ru.properties +9 -2
  345. package/src/sap/m/messagebundle_sh.properties +9 -2
  346. package/src/sap/m/messagebundle_sk.properties +8 -1
  347. package/src/sap/m/messagebundle_sl.properties +9 -2
  348. package/src/sap/m/messagebundle_sv.properties +8 -1
  349. package/src/sap/m/messagebundle_th.properties +22 -15
  350. package/src/sap/m/messagebundle_tr.properties +12 -5
  351. package/src/sap/m/messagebundle_uk.properties +9 -2
  352. package/src/sap/m/messagebundle_vi.properties +9 -2
  353. package/src/sap/m/messagebundle_zh_CN.properties +9 -2
  354. package/src/sap/m/messagebundle_zh_TW.properties +8 -1
  355. package/src/sap/m/p13n/AbstractContainer.js +4 -4
  356. package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
  357. package/src/sap/m/p13n/BasePanel.js +5 -5
  358. package/src/sap/m/p13n/Container.js +3 -3
  359. package/src/sap/m/p13n/Engine.js +48 -47
  360. package/src/sap/m/p13n/FlexUtil.js +4 -5
  361. package/src/sap/m/p13n/GroupController.js +3 -3
  362. package/src/sap/m/p13n/GroupPanel.js +3 -3
  363. package/src/sap/m/p13n/MetadataHelper.js +2 -2
  364. package/src/sap/m/p13n/PersistenceProvider.js +28 -3
  365. package/src/sap/m/p13n/Popup.js +4 -4
  366. package/src/sap/m/p13n/QueryPanel.js +3 -3
  367. package/src/sap/m/p13n/SelectionController.js +21 -36
  368. package/src/sap/m/p13n/SelectionPanel.js +3 -3
  369. package/src/sap/m/p13n/SortController.js +3 -3
  370. package/src/sap/m/p13n/SortPanel.js +3 -3
  371. package/src/sap/m/p13n/handler/xConfigHandler.js +2 -2
  372. package/src/sap/m/p13n/modification/FlexModificationHandler.js +3 -3
  373. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +3 -3
  374. package/src/sap/m/p13n/modification/ModificationHandler.js +20 -10
  375. package/src/sap/m/p13n/modules/AdaptationProvider.js +3 -3
  376. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +45 -22
  377. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +4 -4
  378. package/src/sap/m/p13n/modules/UIManager.js +3 -3
  379. package/src/sap/m/p13n/modules/xConfigAPI.js +5 -3
  380. package/src/sap/m/plugins/CellSelector.js +741 -0
  381. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  382. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  383. package/src/sap/m/plugins/PasteProvider.js +1 -1
  384. package/src/sap/m/plugins/PluginBase.js +4 -3
  385. package/src/sap/m/semantic/AddAction.js +1 -1
  386. package/src/sap/m/semantic/CancelAction.js +1 -1
  387. package/src/sap/m/semantic/DeleteAction.js +1 -1
  388. package/src/sap/m/semantic/DetailPage.js +1 -1
  389. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  390. package/src/sap/m/semantic/EditAction.js +1 -1
  391. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  392. package/src/sap/m/semantic/FilterAction.js +1 -1
  393. package/src/sap/m/semantic/FilterSelect.js +1 -1
  394. package/src/sap/m/semantic/FlagAction.js +1 -1
  395. package/src/sap/m/semantic/ForwardAction.js +1 -1
  396. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  397. package/src/sap/m/semantic/GroupAction.js +1 -1
  398. package/src/sap/m/semantic/GroupSelect.js +1 -1
  399. package/src/sap/m/semantic/MainAction.js +1 -1
  400. package/src/sap/m/semantic/MasterPage.js +1 -1
  401. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  402. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  403. package/src/sap/m/semantic/NegativeAction.js +1 -1
  404. package/src/sap/m/semantic/OpenInAction.js +1 -1
  405. package/src/sap/m/semantic/PositiveAction.js +1 -1
  406. package/src/sap/m/semantic/PrintAction.js +1 -1
  407. package/src/sap/m/semantic/SaveAction.js +1 -1
  408. package/src/sap/m/semantic/Segment.js +1 -1
  409. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  410. package/src/sap/m/semantic/SemanticButton.js +1 -1
  411. package/src/sap/m/semantic/SemanticConfiguration.js +3 -4
  412. package/src/sap/m/semantic/SemanticControl.js +1 -1
  413. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  414. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  415. package/src/sap/m/semantic/SemanticPage.js +1 -1
  416. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  417. package/src/sap/m/semantic/SemanticToggleButton.js +1 -3
  418. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  419. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  420. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  421. package/src/sap/m/semantic/ShareMenu.js +1 -1
  422. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  423. package/src/sap/m/semantic/SortAction.js +1 -1
  424. package/src/sap/m/semantic/SortSelect.js +1 -1
  425. package/src/sap/m/table/Util.js +7 -5
  426. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  427. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  428. package/src/sap/m/table/columnmenu/Item.js +1 -1
  429. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  430. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  431. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  432. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  433. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  434. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -3
  435. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  436. package/src/sap/m/table/columnmenu/QuickSort.js +1 -3
  437. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -3
  438. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -3
  439. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  440. package/src/sap/m/themes/base/Button.less +0 -1
  441. package/src/sap/m/themes/base/CellSelector.less +9 -0
  442. package/src/sap/m/themes/base/DynamicDateRange.less +4 -0
  443. package/src/sap/m/themes/base/GenericTile.less +10 -0
  444. package/src/sap/m/themes/base/NewsContent.less +6 -0
  445. package/src/sap/m/themes/base/SlideTile.less +15 -0
  446. package/src/sap/m/themes/base/Table.less +0 -1
  447. package/src/sap/m/themes/base/library.source.less +1 -0
  448. package/src/sap/m/upload/UploadSet.js +13 -7
  449. package/src/sap/m/upload/UploadSetItem.js +7 -8
  450. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  451. package/src/sap/m/upload/Uploader.js +1 -2
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -42,6 +42,7 @@ sap.ui.define([
42
42
  "sap/m/VBox",
43
43
  'sap/m/HBox',
44
44
  "sap/ui/events/KeyCodes",
45
+ 'sap/base/Log',
45
46
  "sap/ui/core/library",
46
47
  "sap/m/library"
47
48
  ], function(
@@ -81,6 +82,7 @@ sap.ui.define([
81
82
  VBox,
82
83
  HBox,
83
84
  KeyCodes,
85
+ Log,
84
86
  coreLibrary,
85
87
  mobileLibrary
86
88
  ) {
@@ -104,6 +106,8 @@ sap.ui.define([
104
106
  // shortcut for sap.m.ScreenSize
105
107
  var ScreenSize = mobileLibrary.ScreenSize;
106
108
 
109
+ var ListKeyboardMode = mobileLibrary.ListKeyboardMode;
110
+
107
111
  // shortcut for sap.ui.core.ValueState
108
112
  var ValueState = coreLibrary.ValueState;
109
113
 
@@ -1464,8 +1468,6 @@ sap.ui.define([
1464
1468
  this.setDefaultKey(this.oDefault.getSelected());
1465
1469
  }
1466
1470
 
1467
- this.setModified(false);
1468
-
1469
1471
  var oObj = {
1470
1472
  key: sKey,
1471
1473
  name: sName,
@@ -1517,12 +1519,17 @@ sap.ui.define([
1517
1519
  key: oItem.getKey(),
1518
1520
  def: bDefault
1519
1521
  });
1520
-
1521
- this.setModified(false);
1522
1522
  };
1523
1523
 
1524
1524
  // Manage Views dialog
1525
1525
 
1526
+ VariantManagement.prototype.destroyManageDialog = function() {
1527
+ if (this.oManagementDialog) {
1528
+ this.oManagementDialog.destroy();
1529
+ this.oManagementDialog = undefined;
1530
+ }
1531
+ };
1532
+
1526
1533
  /**
1527
1534
  * Opens the <i>Manage Views</i> dialog.
1528
1535
  * @param {boolean} bCreateAlways - Indicates that if this is set to <code>true</code>, the former dialog will be destroyed before a new one is created
@@ -1613,10 +1620,12 @@ sap.ui.define([
1613
1620
 
1614
1621
  VariantManagement.prototype._createManagementDialog = function() {
1615
1622
  if (!this.oManagementDialog || this.oManagementDialog.bIsDestroyed) {
1623
+
1616
1624
  this.oManagementTable = new Table(this.getId() + "-managementTable", {
1617
1625
  contextualWidth: "Auto",
1618
1626
  fixedLayout: false,
1619
1627
  growing: true,
1628
+ keyboardMode: ListKeyboardMode.Edit,
1620
1629
  columns: [
1621
1630
  new Column({
1622
1631
  width: "3rem",
@@ -1792,9 +1801,18 @@ sap.ui.define([
1792
1801
  var oRolesCell;
1793
1802
  var oItem = oContext.getObject();
1794
1803
  if (!oItem) {
1804
+ Log.error("couldn't obtain the item for '" + oContext.getPath() + "'");
1805
+ return undefined;
1806
+ }
1807
+
1808
+ var nPos = this._determineIndex(oContext.getPath());
1809
+ if (nPos < 0) {
1810
+ Log.error("couldn't obtain item position for '" + oContext.getPath() + "'");
1795
1811
  return undefined;
1796
1812
  }
1797
1813
 
1814
+ var sIdPrefix = this.getId() + "-manage";
1815
+
1798
1816
  var sModelName = "$mVariants";
1799
1817
 
1800
1818
  var fLiveChange = function(oEvent) {
@@ -1831,7 +1849,7 @@ sap.ui.define([
1831
1849
  }.bind(this);
1832
1850
 
1833
1851
  if (oItem.getRename()) {
1834
- oNameControl = new Input({
1852
+ oNameControl = new Input(sIdPrefix + "-input-" + nPos, {
1835
1853
  liveChange: fLiveChange,
1836
1854
  change: fChange,
1837
1855
  value: '{' + sModelName + ">title}"
@@ -1843,7 +1861,7 @@ sap.ui.define([
1843
1861
 
1844
1862
 
1845
1863
  } else {
1846
- oNameControl = new ObjectIdentifier({
1864
+ oNameControl = new ObjectIdentifier(sIdPrefix + "-text-" + nPos, {
1847
1865
  title: '{' + sModelName + ">title}"
1848
1866
  });
1849
1867
  if (sTooltip) {
@@ -1851,7 +1869,7 @@ sap.ui.define([
1851
1869
  }
1852
1870
  }
1853
1871
 
1854
- oDeleteButton = new Button({
1872
+ oDeleteButton = new Button(sIdPrefix + "-del-" + nPos, {
1855
1873
  icon: "sap-icon://decline",
1856
1874
  enabled: true,
1857
1875
  type: ButtonType.Transparent,
@@ -1860,9 +1878,7 @@ sap.ui.define([
1860
1878
  visible: oItem.getRemove()
1861
1879
  });
1862
1880
 
1863
- //this._assignColumnInfoForDeleteButton(oDeleteButton);
1864
-
1865
- var oFavoriteIcon = new Icon({
1881
+ var oFavoriteIcon = new Icon(sIdPrefix + "-fav-" + nPos, {
1866
1882
  src: {
1867
1883
  path: "favorite",
1868
1884
  model: sModelName,
@@ -1877,7 +1893,8 @@ sap.ui.define([
1877
1893
  return this._oRb.getText(bFlagged ? "VARIANT_MANAGEMENT_FAV_DEL_TOOLTIP" : "VARIANT_MANAGEMENT_FAV_ADD_TOOLTIP");
1878
1894
  }.bind(this)
1879
1895
  },
1880
- press: fSelectFav
1896
+ press: fSelectFav,
1897
+ decorative: false
1881
1898
  });
1882
1899
 
1883
1900
  if ((this.getStandardVariantKey() === oItem.getKey()) || (this.getDefaultKey() === oItem.getKey())) {
@@ -1887,19 +1904,13 @@ sap.ui.define([
1887
1904
  }
1888
1905
 
1889
1906
  if (this.getDisplayTextForExecuteOnSelectionForStandardVariant() && (this.getStandardVariantKey() === oItem.getKey())) {
1890
- oExecuteOnSelectCtrl = new CheckBox(this.getId() + "-manage-exe-0",{
1907
+ oExecuteOnSelectCtrl = new CheckBox(sIdPrefix + "-exe-" + nPos, {
1891
1908
  wrapping: true,
1892
- //text: this.getDisplayTextForExecuteOnSelectionForStandardVariant(),
1893
1909
  text: '{' + sModelName + ">/displayTextForExecuteOnSelectionForStandardVariant}",
1894
1910
  selected: '{' + sModelName + ">executeOnSelect}"
1895
1911
  });
1896
- } else if (this.getStandardVariantKey() === oItem.getKey()) {
1897
- oExecuteOnSelectCtrl = new CheckBox(this.getId() + "-manage-exe-0",{
1898
- text: "",
1899
- selected: '{' + sModelName + ">executeOnSelect}"
1900
- });
1901
1912
  } else {
1902
- oExecuteOnSelectCtrl = new CheckBox({
1913
+ oExecuteOnSelectCtrl = new CheckBox(sIdPrefix + "-exe-" + nPos, {
1903
1914
  text: "",
1904
1915
  selected: '{' + sModelName + ">executeOnSelect}"
1905
1916
  });
@@ -1915,16 +1926,17 @@ sap.ui.define([
1915
1926
  });
1916
1927
  oIcon.addStyleClass("sapMVarMngmtRolesEdit");
1917
1928
  oIcon.setTooltip(this._oRb.getText("VARIANT_MANAGEMENT_VISIBILITY_ICON_TT"));
1918
- oRolesCell = new HBox({
1929
+ oRolesCell = new HBox(sIdPrefix + "-role-" + nPos, {
1919
1930
  items: [oText, oIcon]
1920
1931
  });
1921
1932
  } else {
1922
1933
  oRolesCell = new Text();
1923
1934
  }
1924
1935
 
1936
+
1925
1937
  return new ColumnListItem({
1926
1938
  cells: [
1927
- oFavoriteIcon, oNameControl, new Text({
1939
+ oFavoriteIcon, oNameControl, new Text(sIdPrefix + "-type-" + nPos, {
1928
1940
  text: {
1929
1941
  path: "sharing",
1930
1942
  model: sModelName,
@@ -1933,7 +1945,7 @@ sap.ui.define([
1933
1945
  }.bind(this)
1934
1946
  },
1935
1947
  textAlign: "Center"
1936
- }), new RadioButton({
1948
+ }), new RadioButton(sIdPrefix + "-def-" + nPos, {
1937
1949
  groupName: this.getId(),
1938
1950
  select: fSelectRB,
1939
1951
  selected: {
@@ -1943,7 +1955,7 @@ sap.ui.define([
1943
1955
  return oItem.getKey() === sKey;
1944
1956
  }
1945
1957
  }
1946
- }), oExecuteOnSelectCtrl, oRolesCell, new Text({
1958
+ }), oExecuteOnSelectCtrl, oRolesCell, new Text(sIdPrefix + "-author-" + nPos, {
1947
1959
  text: '{' + sModelName + ">author}",
1948
1960
  textAlign: "Begin"
1949
1961
  }), oDeleteButton, new Text({
@@ -1953,6 +1965,7 @@ sap.ui.define([
1953
1965
  });
1954
1966
  };
1955
1967
 
1968
+
1956
1969
  VariantManagement.prototype._openManagementDialog = function() {
1957
1970
  this._createManagementDialog();
1958
1971
 
@@ -1968,7 +1981,6 @@ sap.ui.define([
1968
1981
  this._sOriginalDefaultKey = this._sDefaultKey;
1969
1982
 
1970
1983
 
1971
- //this.oManagementSave.setEnabled(false);
1972
1984
  this._oSearchFieldOnMgmtDialog.setValue("");
1973
1985
 
1974
1986
  // Ideally, this should be done only once in <code>_createManagementDialog</code>. However, the binding does not recognize a change if filtering is involved.
@@ -1979,12 +1991,7 @@ sap.ui.define([
1979
1991
  if (this._bDeleteOccured) {
1980
1992
  this._bDeleteOccured = false;
1981
1993
 
1982
- this.oManagementTable.bindAggregation("items", {
1983
- path: "/items",
1984
- model: "$mVariants",
1985
- factory: this._templateFactoryManagementDialog.bind(this),
1986
- filters: this._getVisibleFilter()
1987
- });
1994
+ this.oManagementTable.getBinding("items").filter(this._getVisibleFilter());
1988
1995
  }
1989
1996
 
1990
1997
  this.oManagementDialog.open();
@@ -2024,7 +2031,17 @@ sap.ui.define([
2024
2031
  if (bSelected) {
2025
2032
  if (this.getSupportFavorites() && !oItem.getFavorite()) {
2026
2033
  oItem.setFavorite(true);
2027
- this._setFavoriteIcon(oIcon, true);
2034
+
2035
+ var oRow = this._getRowForKey(oItem.getKey());
2036
+ if (oRow) {
2037
+ var aCells = oRow.getCells();
2038
+ if (aCells) {
2039
+ oIcon = aCells[VariantManagement.COLUMN_FAV_IDX];
2040
+ this._setFavoriteIcon(oIcon, true);
2041
+
2042
+ aCells[VariantManagement.COLUMN_FAV_IDX + 3].focus(); // focus on default
2043
+ }
2044
+ }
2028
2045
  }
2029
2046
 
2030
2047
  this.setDefaultKey(sKey);
@@ -2035,13 +2052,17 @@ sap.ui.define([
2035
2052
  };
2036
2053
 
2037
2054
  VariantManagement.prototype._handleManageCancelPressed = function() {
2038
- var sDefaultKey = this._sDefaultKey;
2039
- // this._getDeletedItems().forEach(function(sKey) {
2040
- // var oItem = this._getItemByKey(sKey);
2041
- // if (oItem) {
2042
- // oItem.setVisible(true);
2043
- // }
2044
- // });
2055
+
2056
+ if (this._getDeletedItems().length > 0) {
2057
+ this._bDeleteOccured = true;
2058
+
2059
+ this._getDeletedItems().forEach(function(sKey) {
2060
+ var oItem = this._getItemByKey(sKey);
2061
+ if (oItem) {
2062
+ oItem.setVisible(true);
2063
+ }
2064
+ }.bind(this));
2065
+ }
2045
2066
 
2046
2067
  this.getItems().forEach(function(oItem) {
2047
2068
  if (oItem.getVisible()) {
@@ -2049,26 +2070,23 @@ sap.ui.define([
2049
2070
  oItem.setFavorite(oItem.getOriginalFavorite());
2050
2071
  oItem.setExecuteOnSelect(oItem.getOriginalExecuteOnSelect());
2051
2072
  oItem.setContexts(oItem.getOriginalContexts());
2052
- } else {
2053
- oItem.setVisible(true);
2054
2073
  }
2055
2074
  });
2056
2075
 
2057
- sDefaultKey = this._sOriginalDefaultKey;
2058
- if (sDefaultKey !== this.getDefaultKey()) {
2059
- this.setDefaultKey(sDefaultKey);
2076
+ if (this._sOriginalDefaultKey !== this.getDefaultKey()) {
2077
+ this.setDefaultKey(this._sOriginalDefaultKey);
2060
2078
  }
2061
2079
 
2062
2080
  this._clearRenamedItems();
2063
2081
  this._clearDeletedItems();
2064
2082
 
2065
- // if (this._oManagedObjectModel) {
2066
- // this._oManagedObjectModel.checkUpdate();
2067
- // }
2083
+ if (this._oManagedObjectModel) {
2084
+ this._oManagedObjectModel.checkUpdate();
2085
+ }
2068
2086
 
2069
2087
  this.fireManageCancel();
2070
2088
 
2071
- //fireCancel may have deleted the ManageViews dialog
2089
+ //fireManageCancel may have deleted the ManageViews dialog
2072
2090
  // if (this.oManagementDialog) {
2073
2091
  // this.oManagementTable.getBinding("items").filter(this._getVisibleFilter());
2074
2092
  // }
@@ -2087,16 +2105,20 @@ sap.ui.define([
2087
2105
  }
2088
2106
 
2089
2107
  oItem.setFavorite(!oItem.getFavorite());
2090
- this._setFavoriteIcon(oIcon, oItem.getFavorite);
2108
+ var oRow = this._getRowForKey(oItem.getKey());
2109
+ if (oRow) {
2110
+ oRow.getCells()[VariantManagement.COLUMN_FAV_IDX].focus();
2111
+ }
2091
2112
  };
2092
2113
 
2114
+
2115
+
2093
2116
  VariantManagement.prototype._getRowForKey = function(sKey) {
2094
2117
  var oRowForKey = null;
2095
2118
  if (this.oManagementTable) {
2096
2119
  this.oManagementTable.getItems().some(function(oRow) {
2097
2120
  var oColumnItem = oRow.getCells()[0].getParent();
2098
2121
  var oItem = this.getModel("$mVariants").getObject(oColumnItem.getBindingContextPath());
2099
- //if (sKey === oRow.getCells()[0].getBindingContext().getObject().key) {
2100
2122
  if (sKey === oItem.getKey()) {
2101
2123
  oRowForKey = oRow;
2102
2124
  }
@@ -2108,6 +2130,16 @@ sap.ui.define([
2108
2130
  return oRowForKey;
2109
2131
  };
2110
2132
 
2133
+ VariantManagement.prototype._determineIndex = function(sPath) {
2134
+ var nIdx = -1;
2135
+ var nPos = sPath.indexOf('/', 1);
2136
+ if (nPos > 0) {
2137
+ nIdx = parseInt(sPath.substring(nPos + 1));
2138
+ }
2139
+
2140
+ return nIdx;
2141
+ };
2142
+
2111
2143
  VariantManagement.prototype._handleManageDeletePressed = function(oItem) {
2112
2144
  var sKey = oItem.getKey();
2113
2145
 
@@ -22,7 +22,7 @@ sap.ui.define(['./ViewSettingsItem', './library'],
22
22
  * @extends sap.m.ViewSettingsItem
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.104.0
25
+ * @version 1.105.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/core/IconPool'],
20
20
  * @extends sap.ui.core.Item
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.104.0
23
+ * @version 1.105.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -144,7 +144,7 @@ function(
144
144
  * @extends sap.ui.core.Control
145
145
  *
146
146
  * @author SAP SE
147
- * @version 1.104.0
147
+ * @version 1.105.0
148
148
  *
149
149
  * @constructor
150
150
  * @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.104.0
27
+ * @version 1.105.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.104.0
28
+ * @version 1.105.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.104.0
24
+ * @version 1.105.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.104.0
31
+ * @version 1.105.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.104.0
34
+ * @version 1.105.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -14,7 +14,6 @@ sap.ui.define([
14
14
  "sap/ui/Device",
15
15
  "./WizardRenderer",
16
16
  "sap/ui/core/CustomData",
17
- "sap/ui/dom/containsOrEquals",
18
17
  "sap/base/Log",
19
18
  "sap/ui/thirdparty/jquery",
20
19
  "sap/ui/dom/jquery/Focusable"
@@ -28,7 +27,6 @@ sap.ui.define([
28
27
  Device,
29
28
  WizardRenderer,
30
29
  CustomData,
31
- containsOrEquals,
32
30
  Log,
33
31
  jQuery
34
32
  ) {
@@ -86,7 +84,7 @@ sap.ui.define([
86
84
  *
87
85
  * @extends sap.ui.core.Control
88
86
  * @author SAP SE
89
- * @version 1.104.0
87
+ * @version 1.105.0
90
88
  *
91
89
  * @constructor
92
90
  * @public
@@ -43,7 +43,7 @@ function(
43
43
  * @extends sap.ui.core.Control
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.104.0
46
+ * @version 1.105.0
47
47
  *
48
48
  * @constructor
49
49
  * @private
@@ -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.104.0
39
+ * @version 1.105.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -16,19 +16,18 @@ sap.ui.define([
16
16
  var CELLS_AGGREGATION_NAME = "cells";
17
17
  var ITEMS_AGGREGATION_NAME = "items";
18
18
 
19
- function getLabel(mChangeDefinition, mInnerControls, oModifier, oView, oAppComponent){
20
- var sEntityType = ObjectPath.get("oDataInformation.entityType", mChangeDefinition);
19
+ function getLabel(oChangeContent, mInnerControls, oModifier, oView, oAppComponent, oChangeODataInformation){
20
+ var sEntityType = oChangeODataInformation && oChangeODataInformation.entityType;
21
21
  if (sEntityType) {
22
- var mContent = mChangeDefinition.content;
23
22
  return Promise.resolve()
24
23
  .then(oModifier.createControl.bind(
25
24
  oModifier,
26
25
  'sap.m.Text',
27
26
  oAppComponent,
28
27
  oView,
29
- mContent.newFieldSelector.id + '--column',
28
+ oChangeContent.newFieldSelector.id + '--column',
30
29
  {
31
- text: "{/#" + sEntityType + "/" + mContent.bindingPath + "/@sap:label}"
30
+ text: "{/#" + sEntityType + "/" + oChangeContent.bindingPath + "/@sap:label}"
32
31
  }
33
32
  ));
34
33
  }
@@ -44,7 +43,7 @@ sap.ui.define([
44
43
  *
45
44
  * @author SAP SE
46
45
  *
47
- * @version 1.104.0
46
+ * @version 1.105.0
48
47
  *
49
48
  * @experimental Since 1.51.0 This class is experimental and provides only limited functionality.
50
49
  * Also the API might be changed in future.
@@ -55,9 +54,9 @@ sap.ui.define([
55
54
  aggregationName: COLUMNS_AGGREGATION_NAME,
56
55
  parentAlias: "targetTable",
57
56
  fieldSuffix: "--field",
58
- skipCreateLabel: function(mPropertyBag) {
57
+ skipCreateLabel: function(oChangeODataInformation) {
59
58
  //if entity type is given we create label ourselves
60
- return !!ObjectPath.get("changeDefinition.oDataInformation.entityType", mPropertyBag);
59
+ return !!(oChangeODataInformation && oChangeODataInformation.entityType);
61
60
  },
62
61
  skipCreateLayout: true,
63
62
  supportsDefault: true,
@@ -82,10 +81,10 @@ sap.ui.define([
82
81
 
83
82
  var oChange = mPropertyBag.change;
84
83
  var oRevertData = oChange.getRevertData();
85
- var mChangeDefinition = oChange.getDefinition();
86
- var mContent = mChangeDefinition.content;
87
- var iIndex = mContent.newFieldIndex;
88
- var mFieldSelector = mContent.newFieldSelector;
84
+ var oChangeContent = oChange.getContent();
85
+ var oChangeODataInformation = oChange.getODataInformation();
86
+ var iIndex = oChangeContent.newFieldIndex;
87
+ var mFieldSelector = oChangeContent.newFieldSelector;
89
88
 
90
89
  return Promise.resolve()
91
90
  .then(oModifier.getBindingTemplate.bind(oModifier,oTable, ITEMS_AGGREGATION_NAME, oView))
@@ -106,7 +105,7 @@ sap.ui.define([
106
105
  })
107
106
  .then(oModifier.createControl.bind(oModifier, 'sap.m.Column', oAppComponent, oView, mFieldSelector))
108
107
  .then(function(oCreatedControl) {
109
- return getLabel(mChangeDefinition, mInnerControls, oModifier, oView, oAppComponent)
108
+ return getLabel(oChangeContent, mInnerControls, oModifier, oView, oAppComponent, oChangeODataInformation)
110
109
  .then(function(oLabel) {
111
110
  return Promise.resolve()
112
111
  .then(oModifier.insertAggregation.bind(oModifier, oCreatedControl, 'header', oLabel, 0, oView))
@@ -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.104.0
15
+ * @version 1.105.0
16
16
  * @experimental Since 1.71
17
17
  */
18
18
  var ChangeLinkTarget = {};
@@ -30,8 +30,7 @@ sap.ui.define(function () {
30
30
  */
31
31
  ChangeLinkTarget.applyChange = function(oChange, oControl, mPropertyBag) {
32
32
  var oModifier = mPropertyBag.modifier;
33
- var oChangeDefinition = oChange.getDefinition();
34
- var sTarget = oChangeDefinition.content;
33
+ var sTarget = oChange.getContent();
35
34
  return Promise.resolve()
36
35
  .then(oModifier.getProperty.bind(oModifier, oControl, "target"))
37
36
  .then(function(oProperty) {