@openui5/sap.ui.rta 1.131.1 → 1.132.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 (200) hide show
  1. package/.eslintrc.json +1 -2
  2. package/THIRDPARTY.txt +1 -1
  3. package/package.json +6 -6
  4. package/src/sap/ui/rta/.library +2 -2
  5. package/src/sap/ui/rta/Client.js +2 -2
  6. package/src/sap/ui/rta/RuntimeAuthoring.js +26 -10
  7. package/src/sap/ui/rta/Utils.js +2 -2
  8. package/src/sap/ui/rta/api/startAdaptation.js +1 -1
  9. package/src/sap/ui/rta/api/startKeyUserAdaptation.js +1 -1
  10. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
  11. package/src/sap/ui/rta/appVariant/AppVariantManager.js +2 -2
  12. package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
  13. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
  14. package/src/sap/ui/rta/appVariant/Feature.js +1 -1
  15. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
  16. package/src/sap/ui/rta/appVariant/Utils.js +1 -1
  17. package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
  18. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +1 -1
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saptrc.properties +27 -27
  20. package/src/sap/ui/rta/appVariant/manageApps/webapp/index.html +3 -3
  21. package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
  22. package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
  23. package/src/sap/ui/rta/command/AddIFrame.js +2 -2
  24. package/src/sap/ui/rta/command/AddProperty.js +2 -2
  25. package/src/sap/ui/rta/command/AddXML.js +2 -2
  26. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
  27. package/src/sap/ui/rta/command/AnnotationCommand.js +79 -0
  28. package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
  29. package/src/sap/ui/rta/command/BaseCommand.js +2 -2
  30. package/src/sap/ui/rta/command/BindProperty.js +6 -8
  31. package/src/sap/ui/rta/command/Combine.js +2 -2
  32. package/src/sap/ui/rta/command/CommandFactory.js +3 -3
  33. package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
  34. package/src/sap/ui/rta/command/ControlVariantConfigure.js +9 -5
  35. package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
  36. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +8 -6
  37. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +14 -11
  38. package/src/sap/ui/rta/command/ControlVariantSwitch.js +6 -4
  39. package/src/sap/ui/rta/command/CreateContainer.js +2 -2
  40. package/src/sap/ui/rta/command/CustomAdd.js +2 -2
  41. package/src/sap/ui/rta/command/FlexCommand.js +2 -2
  42. package/src/sap/ui/rta/command/LREPSerializer.js +2 -2
  43. package/src/sap/ui/rta/command/LocalReset.js +2 -2
  44. package/src/sap/ui/rta/command/Move.js +2 -2
  45. package/src/sap/ui/rta/command/Property.js +2 -2
  46. package/src/sap/ui/rta/command/Remove.js +2 -2
  47. package/src/sap/ui/rta/command/Rename.js +2 -2
  48. package/src/sap/ui/rta/command/Resize.js +2 -2
  49. package/src/sap/ui/rta/command/Reveal.js +2 -2
  50. package/src/sap/ui/rta/command/Settings.js +2 -2
  51. package/src/sap/ui/rta/command/Split.js +2 -2
  52. package/src/sap/ui/rta/command/Stack.js +2 -2
  53. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +2 -2
  54. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
  55. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
  56. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
  57. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +14 -2
  58. package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
  59. package/src/sap/ui/rta/enablement/elementActionTest.js +15 -16
  60. package/src/sap/ui/rta/library.js +3 -3
  61. package/src/sap/ui/rta/messagebundle.properties +18 -0
  62. package/src/sap/ui/rta/messagebundle_ar.properties +10 -0
  63. package/src/sap/ui/rta/messagebundle_bg.properties +13 -3
  64. package/src/sap/ui/rta/messagebundle_ca.properties +10 -0
  65. package/src/sap/ui/rta/messagebundle_cnr.properties +10 -0
  66. package/src/sap/ui/rta/messagebundle_cs.properties +10 -0
  67. package/src/sap/ui/rta/messagebundle_cy.properties +10 -0
  68. package/src/sap/ui/rta/messagebundle_da.properties +10 -0
  69. package/src/sap/ui/rta/messagebundle_de.properties +10 -0
  70. package/src/sap/ui/rta/messagebundle_el.properties +10 -0
  71. package/src/sap/ui/rta/messagebundle_en.properties +10 -0
  72. package/src/sap/ui/rta/messagebundle_en_GB.properties +10 -0
  73. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +10 -0
  74. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +347 -325
  75. package/src/sap/ui/rta/messagebundle_es.properties +10 -0
  76. package/src/sap/ui/rta/messagebundle_es_MX.properties +18 -8
  77. package/src/sap/ui/rta/messagebundle_et.properties +10 -0
  78. package/src/sap/ui/rta/messagebundle_fi.properties +10 -0
  79. package/src/sap/ui/rta/messagebundle_fr.properties +10 -0
  80. package/src/sap/ui/rta/messagebundle_fr_CA.properties +10 -0
  81. package/src/sap/ui/rta/messagebundle_hi.properties +10 -0
  82. package/src/sap/ui/rta/messagebundle_hr.properties +10 -0
  83. package/src/sap/ui/rta/messagebundle_hu.properties +10 -0
  84. package/src/sap/ui/rta/messagebundle_id.properties +10 -0
  85. package/src/sap/ui/rta/messagebundle_it.properties +10 -0
  86. package/src/sap/ui/rta/messagebundle_iw.properties +10 -0
  87. package/src/sap/ui/rta/messagebundle_ja.properties +10 -0
  88. package/src/sap/ui/rta/messagebundle_kk.properties +10 -0
  89. package/src/sap/ui/rta/messagebundle_ko.properties +10 -0
  90. package/src/sap/ui/rta/messagebundle_lt.properties +10 -0
  91. package/src/sap/ui/rta/messagebundle_lv.properties +10 -0
  92. package/src/sap/ui/rta/messagebundle_mk.properties +10 -0
  93. package/src/sap/ui/rta/messagebundle_ms.properties +14 -4
  94. package/src/sap/ui/rta/messagebundle_nl.properties +10 -0
  95. package/src/sap/ui/rta/messagebundle_no.properties +10 -0
  96. package/src/sap/ui/rta/messagebundle_pl.properties +10 -0
  97. package/src/sap/ui/rta/messagebundle_pt.properties +10 -0
  98. package/src/sap/ui/rta/messagebundle_pt_PT.properties +10 -0
  99. package/src/sap/ui/rta/messagebundle_ro.properties +10 -0
  100. package/src/sap/ui/rta/messagebundle_ru.properties +10 -0
  101. package/src/sap/ui/rta/messagebundle_sh.properties +10 -0
  102. package/src/sap/ui/rta/messagebundle_sk.properties +10 -0
  103. package/src/sap/ui/rta/messagebundle_sl.properties +10 -0
  104. package/src/sap/ui/rta/messagebundle_sr.properties +10 -0
  105. package/src/sap/ui/rta/messagebundle_sv.properties +10 -0
  106. package/src/sap/ui/rta/messagebundle_th.properties +10 -0
  107. package/src/sap/ui/rta/messagebundle_tr.properties +10 -0
  108. package/src/sap/ui/rta/messagebundle_uk.properties +11 -1
  109. package/src/sap/ui/rta/messagebundle_vi.properties +10 -0
  110. package/src/sap/ui/rta/messagebundle_zh_CN.properties +10 -0
  111. package/src/sap/ui/rta/messagebundle_zh_TW.properties +10 -0
  112. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
  113. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  114. package/src/sap/ui/rta/plugin/Combine.js +2 -2
  115. package/src/sap/ui/rta/plugin/CompVariant.js +4 -2
  116. package/src/sap/ui/rta/plugin/ControlVariant.js +5 -23
  117. package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
  118. package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
  119. package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
  120. package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
  121. package/src/sap/ui/rta/plugin/Plugin.js +15 -13
  122. package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
  123. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  124. package/src/sap/ui/rta/plugin/Rename.js +3 -3
  125. package/src/sap/ui/rta/plugin/RenameHandler.js +5 -9
  126. package/src/sap/ui/rta/plugin/Resize.js +3 -3
  127. package/src/sap/ui/rta/plugin/Selection.js +2 -2
  128. package/src/sap/ui/rta/plugin/Settings.js +2 -21
  129. package/src/sap/ui/rta/plugin/Split.js +2 -2
  130. package/src/sap/ui/rta/plugin/Stretch.js +7 -5
  131. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +94 -126
  132. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +28 -31
  133. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +141 -172
  134. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +108 -137
  135. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
  136. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +96 -141
  137. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +112 -0
  138. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +183 -0
  139. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +109 -0
  140. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +239 -0
  141. package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +15 -0
  142. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
  143. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +3 -3
  144. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -1
  145. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  146. package/src/sap/ui/rta/service/Action.js +2 -2
  147. package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
  148. package/src/sap/ui/rta/service/Outline.js +2 -2
  149. package/src/sap/ui/rta/service/Property.js +2 -2
  150. package/src/sap/ui/rta/service/Receiver.js +1 -1
  151. package/src/sap/ui/rta/service/Selection.js +2 -2
  152. package/src/sap/ui/rta/service/SupportTools.js +2 -2
  153. package/src/sap/ui/rta/service/index.js +1 -1
  154. package/src/sap/ui/rta/themes/base/WhatsNew.less +5 -0
  155. package/src/sap/ui/rta/themes/base/library.source.less +1 -1
  156. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
  157. package/src/sap/ui/rta/toolbar/Adaptation.js +2 -2
  158. package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
  159. package/src/sap/ui/rta/toolbar/Base.js +2 -2
  160. package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
  161. package/src/sap/ui/rta/toolbar/Fiori.js +3 -4
  162. package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
  163. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
  164. package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
  165. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +1 -1
  166. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
  167. package/src/sap/ui/rta/toolbar/translation/Translation.js +3 -3
  168. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
  169. package/src/sap/ui/rta/util/Animation.js +1 -1
  170. package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
  171. package/src/sap/ui/rta/util/PluginManager.js +16 -10
  172. package/src/sap/ui/rta/util/PopupManager.js +3 -3
  173. package/src/sap/ui/rta/util/ReloadManager.js +9 -9
  174. package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
  175. package/src/sap/ui/rta/util/ServiceManager.js +2 -2
  176. package/src/sap/ui/rta/util/adaptationStarter.js +17 -2
  177. package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
  178. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
  179. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  180. package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
  181. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +5 -3
  182. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
  183. package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +1 -1
  184. package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
  185. package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
  186. package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
  187. package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
  188. package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
  189. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  190. package/src/sap/ui/rta/util/showMessageBox.js +1 -1
  191. package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
  192. package/src/sap/ui/rta/util/validateStableIds.js +1 -1
  193. package/src/sap/ui/rta/util/validateText.js +1 -1
  194. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +2 -2
  195. package/src/sap/ui/rta/util/whatsNew/WhatsNewDialog.fragment.xml +5 -4
  196. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
  197. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverviewDialog.fragment.xml +8 -2
  198. package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +1 -1
  199. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +1 -1
  200. package/src/sap/ui/rta/command/Annotation.js +0 -45
package/.eslintrc.json CHANGED
@@ -49,8 +49,7 @@
49
49
  }],
50
50
  "no-multiple-empty-lines": ["error", {"max": 1}],
51
51
  "quotes": ["error", "double", {
52
- "avoidEscape": true,
53
- "allowTemplateLiterals": true
52
+ "avoidEscape": true
54
53
  }],
55
54
  "no-unsafe-optional-chaining": "error",
56
55
  "prefer-const": ["error", { "ignoreReadBeforeAssign": true }],
package/THIRDPARTY.txt CHANGED
@@ -468,7 +468,7 @@ License: Apache-2.0
468
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
469
469
  Contained in: lib/jsdoc/ui5/plugin.js
470
470
 
471
- Component: SAP Theming Base Content, version: 11.22.0
471
+ Component: SAP Theming Base Content, version: 11.24.0
472
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
473
473
  License: Apache-2.0
474
474
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.131.1",
3
+ "version": "1.132.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.rta",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,10 +14,10 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.131.1",
18
- "@openui5/sap.ui.core": "1.131.1",
19
- "@openui5/sap.ui.dt": "1.131.1",
20
- "@openui5/sap.ui.fl": "1.131.1",
21
- "@openui5/sap.ui.layout": "1.131.1"
17
+ "@openui5/sap.m": "1.132.0",
18
+ "@openui5/sap.ui.core": "1.132.0",
19
+ "@openui5/sap.ui.dt": "1.132.0",
20
+ "@openui5/sap.ui.fl": "1.132.0",
21
+ "@openui5/sap.ui.layout": "1.132.0"
22
22
  }
23
23
  }
@@ -4,9 +4,9 @@
4
4
  <name>sap.ui.rta</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>OpenUI5
7
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.131.1</version>
9
+ <version>1.132.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with RTA controls.</documentation>
12
12
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @alias sap.ui.rta.Client
60
60
  * @author SAP SE
61
61
  * @since 1.56.0
62
- * @version 1.131.1
62
+ * @version 1.132.0
63
63
  * @private
64
64
  * @ui5-restricted
65
65
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @class The runtime authoring allows to adapt the fields of a running application.
112
112
  * @extends sap.ui.base.ManagedObject
113
113
  * @author SAP SE
114
- * @version 1.131.1
114
+ * @version 1.132.0
115
115
  * @constructor
116
116
  * @private
117
117
  * @since 1.30
@@ -450,11 +450,11 @@ sap.ui.define([
450
450
  await onStackModified.call(this);
451
451
 
452
452
  // Resolve the CSS variable set in themes/base/OverlayWithScrollbar.css
453
- Overlay.getOverlayContainer().get(0).style.setProperty(
453
+ Overlay.getOverlayContainer().style.setProperty(
454
454
  "--sap-ui-rta-scrollbar-scrollWidth",
455
455
  `${DOMUtil.getScrollbarWidth()}px`
456
456
  );
457
- Overlay.getOverlayContainer().get(0).style.setProperty(
457
+ Overlay.getOverlayContainer().style.setProperty(
458
458
  "--sap-ui-rta-scrollbar-scrollWidthPlusTwo",
459
459
  `${DOMUtil.getScrollbarWidth() + 2}px`
460
460
  );
@@ -521,7 +521,7 @@ sap.ui.define([
521
521
  // add root control is triggering overlay creation, so we need to wait for the scope to be set.
522
522
  this._oDesignTime.addRootElement(this._oRootControl);
523
523
 
524
- Overlay.getOverlayContainer().get(0).classList.add("sapUiRta");
524
+ Overlay.getOverlayContainer().classList.add("sapUiRta");
525
525
  // RTA Visual Improvements
526
526
  document.body.classList.add("sapUiRtaMode");
527
527
  this._oDesignTime.getSelectionManager().attachChange(function(oEvent) {
@@ -560,14 +560,16 @@ sap.ui.define([
560
560
  * @public
561
561
  * @param {boolean} bSkipSave - Stop RTA with or w/o saving changes
562
562
  * @param {boolean} bSkipRestart - Stop RTA with or w/o checking if a reload is needed to apply e.g. personalization/app descriptor changes
563
+ * @param {boolean} bSkipUnsavedChangesPrompt - Stop RTA without showing the "save changes" prompt to the user (e.g. closing of annotation dialog)
563
564
  * @returns {Promise} Resolves with undefined
564
565
  */
565
- RuntimeAuthoring.prototype.stop = async function(bSkipSave, bSkipRestart) {
566
+ RuntimeAuthoring.prototype.stop = async function(bSkipSave, bSkipRestart, bSkipUnsavedChangesPrompt) {
566
567
  let bUserCancelled;
567
568
  checkToolbarAndExecuteFunction.call(this, "setBusy", true);
568
569
  try {
570
+ bSkipSave ||= !PersistenceWriteAPI.hasDirtyChanges({selector: this.getRootControlInstance()});
569
571
  await waitForPendingActions.call(this);
570
- if (!bSkipSave && this.canSave()) {
572
+ if (!bSkipSave && this.canSave() && !bSkipUnsavedChangesPrompt) {
571
573
  const sAction = await showSaveConfirmation.call(this);
572
574
  if (sAction === MessageBox.Action.CANCEL) {
573
575
  bUserCancelled = true;
@@ -681,7 +683,13 @@ sap.ui.define([
681
683
 
682
684
  oSelectionPlugin.setIsActive(!(sNewMode === "visualization"));
683
685
 
684
- Overlay.getOverlayContainer().toggleClass("sapUiRtaVisualizationMode", (sNewMode === "visualization"));
686
+ const oOverlayContainer = Overlay.getOverlayContainer();
687
+ if (sNewMode === "visualization") {
688
+ oOverlayContainer.classList.add("sapUiRtaVisualizationMode");
689
+ } else {
690
+ oOverlayContainer.classList.remove("sapUiRtaVisualizationMode");
691
+ }
692
+
685
693
  if (sNewMode === "visualization") {
686
694
  document.querySelectorAll(".sapUiDtOverlayMovable").forEach(function(oNode) {
687
695
  oNode.style.cursor = "default";
@@ -1071,7 +1079,7 @@ sap.ui.define([
1071
1079
  function onKeyDown(oEvent) {
1072
1080
  // if for example the addField Dialog/reset Popup is open, we don't want the user to be able to undo/redo
1073
1081
  const bMacintosh = Device.os.macintosh;
1074
- const bFocusInsideOverlayContainer = Overlay.getOverlayContainer().get(0).contains(document.activeElement);
1082
+ const bFocusInsideOverlayContainer = Overlay.getOverlayContainer().contains(document.activeElement);
1075
1083
  const bFocusInsideRtaToolbar = this.getShowToolbars() && this.getToolbar().getDomRef().contains(document.activeElement);
1076
1084
  let bFocusOnContextMenu = false;
1077
1085
  // there might be two divs with that style-class (compact and expanded context menu)
@@ -1438,7 +1446,7 @@ sap.ui.define([
1438
1446
  },
1439
1447
  textResources: this._getTextResources(),
1440
1448
  restore: this.restore.bind(this),
1441
- exit: this.stop.bind(this, false, false)
1449
+ exit: this.stop.bind(this, false, false, false)
1442
1450
  };
1443
1451
 
1444
1452
  oProperties.publishVersion = onPublishVersion.bind(this);
@@ -1694,6 +1702,14 @@ sap.ui.define([
1694
1702
  this._pElementModified = this._pElementModified.then(function() {
1695
1703
  this.getPluginManager().handleStopCutPaste();
1696
1704
 
1705
+ // Executed annotation commands will stop RTA and trigger a save + reload in RTA mode
1706
+ if (oEvent.getParameter("hasAnnotationCommand")) {
1707
+ this._pElementModified = Promise.resolve();
1708
+ RuntimeAuthoring.enableRestart(this.getLayer(), this.getRootControlInstance());
1709
+ return this.getCommandStack().pushAndExecute(oCommand)
1710
+ .then(this.stop.bind(this, false, false, /* bSkipUnsavedChangesPrompt = */true));
1711
+ }
1712
+
1697
1713
  if (oCommand instanceof BaseCommand) {
1698
1714
  if (sNewControlID) {
1699
1715
  scheduleOnCreated.call(this, sNewControlID, function(oElementOverlay) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  *
45
45
  * @namespace
46
46
  * @author SAP SE
47
- * @version 1.131.1
47
+ * @version 1.132.0
48
48
  *
49
49
  * @private
50
50
  * @since 1.30
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.base.ManagedObject
26
26
  * @author SAP SE
27
- * @version 1.131.1
27
+ * @version 1.132.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,28 +1,28 @@
1
1
 
2
- MAA_DIALOG_ICON=yY3ldI7THNUASTcX2CUK0g_Icon
3
- MAA_DIALOG_DESCRIPTION=TtgjLSoHC2lSGBQBt/dFOQ_Description
4
- MAA_DIALOG_COPY_ID_ACTION=W8du05RNPJwvTqJRWMI0lw_Copy ID Action
5
- MAA_DIALOG_ADAPT_UI_ACTION=3xaDWftvftK0du5Pb7o+tA_Adapt UI Action
6
- MAA_DIALOG_SAVE_AS_ACTION=RWEVH5KXkANL2aQhbyT51w_Save As Action
7
- MAA_DIALOG_ACTIONS=DQmKppHrj2G9b1YuWg/ZWw_Actions
8
- MAA_DIALOG_DELETE_APPVAR=UGpjHWlhpuuS6jM82tLp0A_Delete App Variant
9
- MAA_DIALOG_ADAPT_UI=zlA/AugJ43yZQ+huVSe/5w_Adapt UI
10
- MAA_CURRENTLY_ADAPTING=1F6vfzjkTTvmUP90jBE9mg_Currently Adapting
11
- MAA_OPERATION_IN_PROGRESS=qy3649NEeF3uJaZpAHrPdw_Operation in Progress
12
- MAA_NEW_APP_VARIANT=dd1Z1LK4DofhgZZA3sIbZQ_Just Created
13
- MAA_ORIGINAL_TYPE=yIrCQP/s90cajlZYbgus+A_Original App
14
- MAA_APP_VARIANT_TYPE=6WkVnZ0dJZYYMZMjOTU/CQ_App Variant
15
- MAA_CURRENT_APP_STATUS=XaPKJTXBWyW8P/6LRNvBNg_Current Status
16
- TOOLTIP_MAA_DIALOG_COPY_ID=PqNZMvFuj5P8CZNbv8O3kQ_Copy the ID of the app variant to the clipboard
17
- MAA_DIALOG_COPY_ID=C2g0gGJZGvpzQtvTSzHFKQ_Copy ID
18
- MAA_DIALOG_APP_TYPE=jQWGJJxn6MtVo5ob+7cjuQ_App Type
19
- MAA_DIALOG_TITLE=de/MRTAn3kzskRT9FX/YOg_Title
20
- MAA_DIALOG_SUBTITLE=aRaKCpDlO+Ea8uhAX1/qOA_Subtitle
21
- TOOLTIP_DELETE_APP_VAR=J9gd8aRpsosGyWjd/i4yJA_Please ask your content administrator to delete the target mappings for this app variant. Then you can delete the app variant.
22
- MSG_APP_VARIANT_DELETE_CONFIRMATION=ydoXh3jHvpKMBbiVJdn/QQ_Do you really want to delete this app variant?\nPlease keep in mind that this will delete the app variant for all users.
23
- TOOLTIP_ADAPTUI_STATUS_RUNNING=zzzv6rPzu8lBJY4tJacVKg_Operation is running in the background.
24
- TOOLTIP_ADAPTUI_STATUS_PUBLISHED=qBqvecASGOQwQ9NDX87Fsw_Refresh your browser to activate this option.
25
- TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=1P93DLTdQEiLcoiFPVVn0w_Please check why the catalog assignment failed.
26
- TOOLTIP_ADAPTUI_ON_PREMISE=TW/kjF+IZPRBquxmbD5Vkg_Please ask your content administrator to create the target mappings for the app variant.
27
- MAA_COPY_ID_SUCCESS=hd2HuEnXOL88hl1qoVK+eg_ID was copied successfully.
28
- MAA_DIALOG_ACTIONS_HEADER=jXGQ1mXTF8IIe2uZ1Vnhzw_Available Actions
2
+ MAA_DIALOG_ICON=bcrd28QfoMOSX2Ozi74Wkw_Icon
3
+ MAA_DIALOG_DESCRIPTION=qLozP79lxFVptrjMxbeQdg_Description
4
+ MAA_DIALOG_COPY_ID_ACTION=gWSUVXdw4HwHk6wN+DKlVQ_Copy ID Action
5
+ MAA_DIALOG_ADAPT_UI_ACTION=zerdqFfFluwlab+ilj0mHQ_Adapt UI Action
6
+ MAA_DIALOG_SAVE_AS_ACTION=Y0ckDIAag7l95vLG5RCp/g_Save As Action
7
+ MAA_DIALOG_ACTIONS=0tJOYZ/Zf6Cz3MWCkLsR5g_Actions
8
+ MAA_DIALOG_DELETE_APPVAR=EYzU0lb6ylWvXAcjVECO4g_Delete App Variant
9
+ MAA_DIALOG_ADAPT_UI=Zteo+301a1ULRXb3muKa1A_Adapt UI
10
+ MAA_CURRENTLY_ADAPTING=JyFSSknZqP2mW77h1UT/iw_Currently Adapting
11
+ MAA_OPERATION_IN_PROGRESS=FwweepAJCp7qJxsUdNgvIg_Operation in Progress
12
+ MAA_NEW_APP_VARIANT=ClbjJZeoIOS9uHap80z/uA_Just Created
13
+ MAA_ORIGINAL_TYPE=ZGKPjKyjSfToc2jz7arGBQ_Original App
14
+ MAA_APP_VARIANT_TYPE=aMQdAiuR6R5LFO00waoGuQ_App Variant
15
+ MAA_CURRENT_APP_STATUS=9OxRdwXEzpR0puPWgDecGQ_Current Status
16
+ TOOLTIP_MAA_DIALOG_COPY_ID=pTHvrvs46BVqAACp0S8S4A_Copy the ID of the app variant to the clipboard
17
+ MAA_DIALOG_COPY_ID=hBa893qSPKoDpNcge/SeLA_Copy ID
18
+ MAA_DIALOG_APP_TYPE=M3jfhSUyU2H4PIdLV4vIuQ_App Type
19
+ MAA_DIALOG_TITLE=ZPrsOWCDa7/sjVuDNuGceg_Title
20
+ MAA_DIALOG_SUBTITLE=anaXBWEXCGHsdaEVDfVjtg_Subtitle
21
+ TOOLTIP_DELETE_APP_VAR=buCKIHMbZm6viz12uAugmQ_Please ask your content administrator to delete the target mappings for this app variant. Then you can delete the app variant.
22
+ MSG_APP_VARIANT_DELETE_CONFIRMATION=gSAQz3v7KJ/mhpsUjsP1Og_Do you really want to delete this app variant?\nPlease keep in mind that this will delete the app variant for all users.
23
+ TOOLTIP_ADAPTUI_STATUS_RUNNING=4OU6xE9QdvAAzCfKGykOoQ_Operation is running in the background.
24
+ TOOLTIP_ADAPTUI_STATUS_PUBLISHED=/KNRAd+iBTwfwGZAWimY2g_Refresh your browser to activate this option.
25
+ TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=sZ+OSdF8m+vasWCeG9QC0Q_Please check why the catalog assignment failed.
26
+ TOOLTIP_ADAPTUI_ON_PREMISE=mMxaz0bj3dIcQJ6+UdIkVw_Please ask your content administrator to create the target mappings for the app variant.
27
+ MAA_COPY_ID_SUCCESS=qQ57d3JCdqgEbE+XOzSXxg_ID was copied successfully.
28
+ MAA_DIALOG_ACTIONS_HEADER=lZ5R4P7nqulWfx63G7oN4w_Available Actions
@@ -6,10 +6,10 @@
6
6
 
7
7
  <script id="sap-ui-bootstrap"
8
8
  src="resources/sap-ui-core.js"
9
+ data-sap-ui-async="true"
9
10
  data-sap-ui-libs="sap.m"
10
- data-sap-ui-theme="sap_belize"
11
- data-sap-ui-compatVersion="edge"
12
- data-sap-ui-resourceroots='{"sap.ui.rta.appVariant.manageApps": ""}'>
11
+ data-sap-ui-compat-version="edge"
12
+ data-sap-ui-resource-roots='{"sap.ui.rta.appVariant.manageApps": ""}'>
13
13
  </script>
14
14
 
15
15
  <script src="index.js"></script>
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.require([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.131.1
19
+ * @version 1.132.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.75
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @class
15
15
  * @extends sap.ui.rta.command.FlexCommand
16
16
  * @author SAP SE
17
- * @version 1.131.1
17
+ * @version 1.132.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.78
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.131.1
19
+ * @version 1.132.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.rta.command.FlexCommand
26
26
  * @author SAP SE
27
- * @version 1.131.1
27
+ * @version 1.132.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -0,0 +1,79 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+ sap.ui.define([
7
+ "sap/ui/fl/write/api/ChangesWriteAPI",
8
+ "sap/ui/rta/command/FlexCommand",
9
+ "sap/ui/rta/library"
10
+ ], function(
11
+ ChangesWriteAPI,
12
+ FlexCommand,
13
+ rtaLibrary
14
+ ) {
15
+ "use strict";
16
+
17
+ /**
18
+ * Annotation Command
19
+ *
20
+ * @class
21
+ * @extends sap.ui.rta.command.FlexCommand
22
+ *
23
+ * @author SAP SE
24
+ * @version 1.132.0
25
+ *
26
+ * @constructor
27
+ * @private
28
+ * @since 1.132
29
+ * @alias sap.ui.rta.command.AnnotationCommand
30
+ */
31
+ const AnnotationCommand = FlexCommand.extend("sap.ui.rta.command.AnnotationCommand", {
32
+ metadata: {
33
+ library: "sap.ui.rta",
34
+ properties: {
35
+ changeType: {
36
+ type: "string"
37
+ },
38
+ serviceUrl: {
39
+ type: "string"
40
+ },
41
+ content: {
42
+ type: "any"
43
+ }
44
+ },
45
+ events: {}
46
+ }
47
+ });
48
+
49
+ AnnotationCommand.prototype._createChange = function(mFlexSettings, sVariantManagementReference, sCommand) {
50
+ const mChangeSpecificData = {
51
+ ...this._getChangeSpecificData(),
52
+ ...mFlexSettings,
53
+ serviceUrl: this.getServiceUrl(),
54
+ command: sCommand,
55
+ jsOnly: this.getJsOnly(),
56
+ generator: mFlexSettings.generator || rtaLibrary.GENERATOR_NAME
57
+ };
58
+ return ChangesWriteAPI.create({
59
+ changeSpecificData: mChangeSpecificData,
60
+ annotationChange: true,
61
+ selector: this.getAppComponent()
62
+ });
63
+ };
64
+
65
+ AnnotationCommand.prototype.execute = function() {
66
+ return Promise.resolve();
67
+ };
68
+
69
+ AnnotationCommand.prototype.undo = function() {
70
+ return Promise.resolve();
71
+ };
72
+
73
+ /**
74
+ * For annotation commands to take effect the app needs to be restarted as the models need to be reloaded.
75
+ */
76
+ AnnotationCommand.prototype.needsReload = true;
77
+
78
+ return AnnotationCommand;
79
+ });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.131.1
24
+ * @version 1.132.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @extends sap.ui.base.ManagedObject
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.131.1
19
+ * @version 1.132.0
20
20
  *
21
21
  * @constructor
22
22
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @extends sap.ui.rta.command.FlexCommand
28
28
  * @author SAP SE
29
- * @version 1.131.1
29
+ * @version 1.132.0
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.38
@@ -58,12 +58,10 @@ sap.ui.define([
58
58
  * Overridden to suppress the binding strings to be used as binding.
59
59
  * @override
60
60
  */
61
- BindProperty.prototype.bindProperty = function(...aArgs) {
62
- const [sName, oBindingInfo] = aArgs;
63
- if (sName === "newBinding") {
64
- return this.setNewBinding(oBindingInfo.bindingString);
65
- }
66
- return FlexCommand.prototype.bindProperty.apply(this, aArgs);
61
+ BindProperty.prototype.applySettings = function(...aArgs) {
62
+ const [mSettings] = aArgs;
63
+ FlexCommand.prototype.applySettings.apply(this, aArgs);
64
+ this.setNewBinding(mSettings.newBinding);
67
65
  };
68
66
 
69
67
  BindProperty.prototype._getChangeSpecificData = function() {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.131.1
19
+ * @version 1.132.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46