@openui5/sap.ui.rta 1.134.0 → 1.136.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 (216) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  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 +124 -28
  7. package/src/sap/ui/rta/Utils.js +19 -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 +26 -26
  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 +72 -72
  15. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
  16. package/src/sap/ui/rta/appVariant/Utils.js +27 -36
  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 +54 -68
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr_CA.properties +2 -2
  20. package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
  21. package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
  22. package/src/sap/ui/rta/command/AddIFrame.js +2 -2
  23. package/src/sap/ui/rta/command/AddProperty.js +2 -2
  24. package/src/sap/ui/rta/command/AddXML.js +2 -2
  25. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
  26. package/src/sap/ui/rta/command/AnnotationCommand.js +66 -6
  27. package/src/sap/ui/rta/command/BaseCommand.js +2 -2
  28. package/src/sap/ui/rta/command/BindProperty.js +2 -2
  29. package/src/sap/ui/rta/command/Combine.js +2 -2
  30. package/src/sap/ui/rta/command/CommandFactory.js +72 -48
  31. package/src/sap/ui/rta/command/CompositeCommand.js +13 -13
  32. package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
  33. package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
  34. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
  35. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
  36. package/src/sap/ui/rta/command/ControlVariantSwitch.js +2 -2
  37. package/src/sap/ui/rta/command/CreateContainer.js +2 -2
  38. package/src/sap/ui/rta/command/CustomAdd.js +2 -2
  39. package/src/sap/ui/rta/command/ExtendControllerCommand.js +93 -0
  40. package/src/sap/ui/rta/command/FlexCommand.js +55 -44
  41. package/src/sap/ui/rta/command/LREPSerializer.js +24 -24
  42. package/src/sap/ui/rta/command/LocalReset.js +2 -2
  43. package/src/sap/ui/rta/command/ManifestCommand.js +112 -0
  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 +20 -5
  53. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
  54. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
  55. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
  56. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
  57. package/src/sap/ui/rta/command/{appDescriptor → manifest}/AddLibrary.js +11 -11
  58. package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
  59. package/src/sap/ui/rta/enablement/elementActionTest.js +2 -2
  60. package/src/sap/ui/rta/library.js +3 -3
  61. package/src/sap/ui/rta/messagebundle.properties +181 -9
  62. package/src/sap/ui/rta/messagebundle_ar.properties +105 -6
  63. package/src/sap/ui/rta/messagebundle_bg.properties +105 -6
  64. package/src/sap/ui/rta/messagebundle_ca.properties +108 -9
  65. package/src/sap/ui/rta/messagebundle_cnr.properties +106 -7
  66. package/src/sap/ui/rta/messagebundle_cs.properties +103 -4
  67. package/src/sap/ui/rta/messagebundle_cy.properties +105 -6
  68. package/src/sap/ui/rta/messagebundle_da.properties +104 -5
  69. package/src/sap/ui/rta/messagebundle_de.properties +114 -15
  70. package/src/sap/ui/rta/messagebundle_el.properties +102 -3
  71. package/src/sap/ui/rta/messagebundle_en.properties +105 -6
  72. package/src/sap/ui/rta/messagebundle_en_GB.properties +105 -6
  73. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +9 -1
  74. package/src/sap/ui/rta/messagebundle_es.properties +109 -10
  75. package/src/sap/ui/rta/messagebundle_es_MX.properties +113 -14
  76. package/src/sap/ui/rta/messagebundle_et.properties +103 -4
  77. package/src/sap/ui/rta/messagebundle_fi.properties +107 -8
  78. package/src/sap/ui/rta/messagebundle_fr.properties +123 -24
  79. package/src/sap/ui/rta/messagebundle_fr_CA.properties +110 -11
  80. package/src/sap/ui/rta/messagebundle_hi.properties +105 -6
  81. package/src/sap/ui/rta/messagebundle_hr.properties +145 -46
  82. package/src/sap/ui/rta/messagebundle_hu.properties +104 -5
  83. package/src/sap/ui/rta/messagebundle_id.properties +113 -14
  84. package/src/sap/ui/rta/messagebundle_it.properties +146 -47
  85. package/src/sap/ui/rta/messagebundle_iw.properties +105 -6
  86. package/src/sap/ui/rta/messagebundle_ja.properties +117 -18
  87. package/src/sap/ui/rta/messagebundle_kk.properties +104 -5
  88. package/src/sap/ui/rta/messagebundle_ko.properties +105 -6
  89. package/src/sap/ui/rta/messagebundle_lt.properties +105 -6
  90. package/src/sap/ui/rta/messagebundle_lv.properties +104 -5
  91. package/src/sap/ui/rta/messagebundle_mk.properties +108 -9
  92. package/src/sap/ui/rta/messagebundle_ms.properties +115 -16
  93. package/src/sap/ui/rta/messagebundle_nl.properties +104 -5
  94. package/src/sap/ui/rta/messagebundle_no.properties +108 -9
  95. package/src/sap/ui/rta/messagebundle_pl.properties +104 -5
  96. package/src/sap/ui/rta/messagebundle_pt.properties +103 -4
  97. package/src/sap/ui/rta/messagebundle_pt_PT.properties +103 -4
  98. package/src/sap/ui/rta/messagebundle_ro.properties +103 -4
  99. package/src/sap/ui/rta/messagebundle_ru.properties +107 -8
  100. package/src/sap/ui/rta/messagebundle_sh.properties +106 -7
  101. package/src/sap/ui/rta/messagebundle_sk.properties +103 -4
  102. package/src/sap/ui/rta/messagebundle_sl.properties +103 -4
  103. package/src/sap/ui/rta/messagebundle_sr.properties +106 -7
  104. package/src/sap/ui/rta/messagebundle_sv.properties +104 -5
  105. package/src/sap/ui/rta/messagebundle_th.properties +104 -5
  106. package/src/sap/ui/rta/messagebundle_tr.properties +103 -4
  107. package/src/sap/ui/rta/messagebundle_uk.properties +105 -6
  108. package/src/sap/ui/rta/messagebundle_vi.properties +105 -6
  109. package/src/sap/ui/rta/messagebundle_zh_CN.properties +104 -5
  110. package/src/sap/ui/rta/messagebundle_zh_TW.properties +105 -6
  111. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +34 -34
  112. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +54 -32
  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 +114 -114
  116. package/src/sap/ui/rta/plugin/ControlVariant.js +37 -54
  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/ExtendControllerPlugin.js +172 -0
  121. package/src/sap/ui/rta/plugin/LocalReset.js +4 -3
  122. package/src/sap/ui/rta/plugin/Plugin.js +31 -11
  123. package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
  124. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  125. package/src/sap/ui/rta/plugin/Resize.js +2 -2
  126. package/src/sap/ui/rta/plugin/Selection.js +2 -2
  127. package/src/sap/ui/rta/plugin/Settings.js +75 -62
  128. package/src/sap/ui/rta/plugin/Split.js +2 -2
  129. package/src/sap/ui/rta/plugin/Stretch.js +2 -2
  130. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -2
  131. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +2 -2
  132. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +1 -1
  133. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
  134. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
  135. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
  136. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +13 -9
  137. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +75 -13
  138. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +38 -32
  139. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +61 -21
  140. package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +1 -1
  141. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +8 -2
  142. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
  143. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -1
  144. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  145. package/src/sap/ui/rta/plugin/{Rename.js → rename/Rename.js} +29 -67
  146. package/src/sap/ui/rta/plugin/rename/RenameDialog.fragment.xml +63 -0
  147. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +140 -0
  148. package/src/sap/ui/rta/service/Action.js +2 -2
  149. package/src/sap/ui/rta/service/ControllerExtension.js +11 -5
  150. package/src/sap/ui/rta/service/Outline.js +2 -2
  151. package/src/sap/ui/rta/service/Property.js +2 -2
  152. package/src/sap/ui/rta/service/Receiver.js +1 -1
  153. package/src/sap/ui/rta/service/Selection.js +2 -2
  154. package/src/sap/ui/rta/service/SupportTools.js +2 -2
  155. package/src/sap/ui/rta/service/index.js +1 -1
  156. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +5 -0
  157. package/src/sap/ui/rta/themes/base/library.source.less +1 -1
  158. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
  159. package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +6 -0
  160. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +22 -9
  161. package/src/sap/ui/rta/toolbar/Adaptation.js +44 -9
  162. package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
  163. package/src/sap/ui/rta/toolbar/Base.js +2 -2
  164. package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
  165. package/src/sap/ui/rta/toolbar/Fiori.js +19 -10
  166. package/src/sap/ui/rta/toolbar/FioriLike.js +7 -5
  167. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
  168. package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
  169. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +1 -1
  170. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
  171. package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
  172. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
  173. package/src/sap/ui/rta/util/Animation.js +1 -1
  174. package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
  175. package/src/sap/ui/rta/util/PluginManager.js +8 -6
  176. package/src/sap/ui/rta/util/PopupManager.js +2 -2
  177. package/src/sap/ui/rta/util/ReloadManager.js +2 -2
  178. package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
  179. package/src/sap/ui/rta/util/ServiceManager.js +2 -2
  180. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  181. package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
  182. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
  183. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  184. package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
  185. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +4 -4
  186. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
  187. package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +1 -1
  188. package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
  189. package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
  190. package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
  191. package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
  192. package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
  193. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +242 -0
  194. package/src/sap/ui/rta/util/guidedTour/TourMarker.fragment.xml +50 -0
  195. package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +205 -0
  196. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  197. package/src/sap/ui/rta/util/isReuseComponent.js +1 -1
  198. package/src/sap/ui/rta/util/showMessageBox.js +1 -1
  199. package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
  200. package/src/sap/ui/rta/util/validateStableIds.js +1 -1
  201. package/src/sap/ui/rta/util/validateText.js +1 -1
  202. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +8 -4
  203. package/src/sap/ui/rta/util/whatsNew/WhatsNewDialog.fragment.xml +1 -1
  204. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
  205. package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +1 -1
  206. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +85 -1
  207. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ChangeLabelsAction.png +0 -0
  208. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/DisplayBehavior.png +0 -0
  209. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ExtendedActions.png +0 -0
  210. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/GuidedTour.png +0 -0
  211. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ReloadButtonToolbar.png +0 -0
  212. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/RenameDialog.png +0 -0
  213. package/ui5.yaml +1 -1
  214. package/.reuse/dep5 +0 -471
  215. package/src/sap/ui/rta/command/AppDescriptorCommand.js +0 -114
  216. package/src/sap/ui/rta/plugin/RenameHandler.js +0 -477
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @name sap.ui.rta.service.ControllerExtension
31
31
  * @author SAP SE
32
32
  * @since 1.58
33
- * @version 1.134.0
33
+ * @version 1.136.0
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -62,11 +62,17 @@ sap.ui.define([
62
62
  add(sCodeRef, sViewId) {
63
63
  var oFlexSettings = oRta.getFlexSettings();
64
64
  if (!oFlexSettings.developerMode) {
65
- throw DtUtil.createError("service.ControllerExtension#add", "code extensions can only be created in developer mode", "sap.ui.rta");
65
+ throw DtUtil.createError(
66
+ "service.ControllerExtension#add", "code extensions can only be created in developer mode",
67
+ "sap.ui.rta"
68
+ );
66
69
  }
67
70
 
68
71
  if (!sCodeRef) {
69
- throw DtUtil.createError("service.ControllerExtension#add", "can't create controller extension without codeRef", "sap.ui.rta");
72
+ throw DtUtil.createError(
73
+ "service.ControllerExtension#add", "can't create controller extension without codeRef",
74
+ "sap.ui.rta"
75
+ );
70
76
  }
71
77
 
72
78
  if (!sCodeRef.endsWith(".js")) {
@@ -75,7 +81,7 @@ sap.ui.define([
75
81
 
76
82
  var oView = Element.getElementById(sViewId);
77
83
  var oAppComponent = FlexUtils.getAppComponentForControl(oView);
78
- var sControllerName = oView.getControllerName && oView.getControllerName() || oView.getController() && oView.getController().getMetadata().getName();
84
+ var sControllerName = oView.getControllerModuleName() ? `module:${oView.getControllerModuleName()}` : oView.getController()?.getMetadata().getName();
79
85
  // Calculate moduleName for code extension
80
86
  var sReference = FlexRuntimeInfoAPI.getFlexReference({element: oAppComponent});
81
87
  var sModuleName = sReference.replace(/\.Component/g, "").replace(/\./g, "/");
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @name sap.ui.rta.service.Outline
44
44
  * @author SAP SE
45
45
  * @since 1.56
46
- * @version 1.134.0
46
+ * @version 1.136.0
47
47
  * @private
48
48
  * @ui5-restricted
49
49
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @name sap.ui.rta.service.Property
28
28
  * @author SAP SE
29
29
  * @since 1.58
30
- * @version 1.134.0
30
+ * @version 1.136.0
31
31
  * @private
32
32
  * @ui5-restricted
33
33
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -14,7 +14,7 @@ sap.ui.define(function() {
14
14
  * @name sap.ui.rta.service.Selection
15
15
  * @author SAP SE
16
16
  * @since 1.58
17
- * @version 1.134.0
17
+ * @version 1.136.0
18
18
  * @private
19
19
  * @ui5-restricted
20
20
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @name sap.ui.rta.service.SupportTools
31
31
  * @author SAP SE
32
32
  * @since 1.106
33
- * @version 1.134.0
33
+ * @version 1.136.0
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -25,6 +25,11 @@
25
25
  }
26
26
  }
27
27
 
28
+ .sapUiRtaHardReloadInfoButton .sapMBtnAttention {
29
+ background-color: transparent;
30
+ border-color: transparent;
31
+ }
32
+
28
33
  .sapMFlexBox {
29
34
  margin-left: 0;
30
35
  height: 2.5rem; //40px
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
  /* ============================================================================== */
@@ -78,6 +78,12 @@
78
78
  enabled="{controls>/newFeaturesOverview/enabled}"
79
79
  visible="{controls>/newFeaturesOverview/visible}"
80
80
  text="{i18n>BTN_WHATS_NEW_DIALOG_OVERVIEW}"
81
+ tooltip="{i18n>BTN_WHATS_NEW_DIALOG_OVERVIEW_TOOLTIP}"
81
82
  press=".openWhatsNewOverviewDialog"/>
83
+ <MenuItem
84
+ id="sapUiRta_generalTour"
85
+ icon="sap-icon://map-3"
86
+ text="{i18n>BTN_GUIDED_TOUR_START}"
87
+ press=".openGuidedTour"/>
82
88
  </Menu>
83
89
  </core:FragmentDefinition>
@@ -20,14 +20,32 @@
20
20
  class="sapUiRtaVersionButton"
21
21
  icon="sap-icon://megamenu"
22
22
  iconFirst="false"
23
- visible="{= (${versions>/versioningEnabled} &amp;&amp; ${controls>/modeSwitcher} === 'adaptation')}"
23
+ visible="{= (${versions>/versioningEnabled} &amp;&amp; ${controls>/modeSwitcher} === 'adaptation' &amp;&amp; ${controls>/changesNeedHardReload} === false)}"
24
24
  text="{parts: [{path: 'versions>/versions'}, {path: 'versions>/displayedVersion'}], formatter: '.formatVersionButtonText'}"
25
- tooltip="{parts: [{path: 'versions>/versions'}, {path: 'versions>/displayedVersion'}], formatter: '.formatVersionButtonText'}"
25
+ tooltip="{i18n>TOL_SHOW_VERSION_HISTORY}"
26
26
  press=".showVersionHistory">
27
27
  <layoutData>
28
28
  <OverflowToolbarLayoutData priority="NeverOverflow"/>
29
29
  </layoutData>
30
30
  </Button>
31
+ <Button
32
+ id="sapUiRta_hardReloadButton"
33
+ type="Attention"
34
+ visible="{= ${controls>/changesNeedHardReload} === true}"
35
+ text="{i18n>SAVE_AND_RELOAD}"
36
+ iconFirst="true"
37
+ icon="sap-icon://refresh"
38
+ press=".saveAndReloadApp"
39
+ />
40
+ <Button
41
+ id="sapUiRta_hardReloadInfoButton"
42
+ type="Attention"
43
+ visible="{= ${controls>/changesNeedHardReload} === true}"
44
+ press=".showHardReloadInfoPopover"
45
+ icon="sap-icon://question-mark"
46
+ class="sapUiNoMarginBeginEnd sapUiRtaHardReloadInfoButton"
47
+ tooltip="{i18n>TOL_SHOW_HARD_RELOAD_INFO}"
48
+ />
31
49
  <toolbar:OverflowToolbarButton
32
50
  id="sapUiRta_activate"
33
51
  icon="sap-icon://activate"
@@ -65,7 +83,7 @@
65
83
  id="sapUiRta_modeSwitcher"
66
84
  selectionChange=".modeChange"
67
85
  selectedKey="{controls>/modeSwitcher}"
68
- width="auto" >
86
+ width="100%" >
69
87
  <items>
70
88
  <SegmentedButtonItem
71
89
  id="sapUiRta_adaptationSwitcherButton"
@@ -111,12 +129,7 @@
111
129
  icon="sap-icon://menu2"
112
130
  visible="{=
113
131
  ${controls>/modeSwitcher} === 'adaptation'
114
- &amp;&amp; (
115
- ${controls>/translation/visible}
116
- || ${controls>/appVariantMenu/visible}
117
- || ${controls>/restore/visible}
118
- || ${controls>/newFeaturesOverview/visible}
119
- )}"
132
+ }"
120
133
  enabled="{controls>/actionsMenuButton/enabled}"
121
134
  type="Transparent"
122
135
  tooltip="{i18n>BTN_MENU}"
@@ -1,13 +1,15 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
7
7
  sap.ui.define([
8
- "./AdaptationRenderer",
9
8
  "sap/base/Log",
10
9
  "sap/m/MessageBox",
10
+ "sap/m/MessageStrip",
11
+ "sap/m/Popover",
12
+ "sap/ui/core/message/MessageType",
11
13
  "sap/ui/core/BusyIndicator",
12
14
  "sap/ui/core/Element",
13
15
  "sap/ui/core/Fragment",
@@ -18,17 +20,22 @@ sap.ui.define([
18
20
  "sap/ui/model/json/JSONModel",
19
21
  "sap/ui/performance/Measurement",
20
22
  "sap/ui/rta/appVariant/Feature",
21
- "sap/ui/rta/toolbar/Base",
22
23
  "sap/ui/rta/toolbar/contextBased/ManageAdaptations",
23
24
  "sap/ui/rta/toolbar/contextBased/SaveAsAdaptation",
24
25
  "sap/ui/rta/toolbar/translation/Translation",
25
26
  "sap/ui/rta/toolbar/versioning/Versioning",
27
+ "sap/ui/rta/toolbar/AdaptationRenderer",
28
+ "sap/ui/rta/toolbar/Base",
29
+ "sap/ui/rta/util/guidedTour/content/GeneralTour",
30
+ "sap/ui/rta/util/guidedTour/GuidedTour",
26
31
  "sap/ui/rta/util/whatsNew/WhatsNewOverview",
27
32
  "sap/ui/rta/Utils"
28
33
  ], function(
29
- AdaptationRenderer,
30
34
  Log,
31
35
  MessageBox,
36
+ MessageStrip,
37
+ Popover,
38
+ MessageType,
32
39
  BusyIndicator,
33
40
  Element,
34
41
  Fragment,
@@ -39,11 +46,14 @@ sap.ui.define([
39
46
  JSONModel,
40
47
  Measurement,
41
48
  AppVariantFeature,
42
- Base,
43
49
  ManageAdaptations,
44
50
  SaveAsAdaptation,
45
51
  Translation,
46
52
  Versioning,
53
+ AdaptationRenderer,
54
+ Base,
55
+ GeneralTour,
56
+ GuidedTour,
47
57
  WhatsNewOverview,
48
58
  Utils
49
59
  ) {
@@ -57,7 +67,7 @@ sap.ui.define([
57
67
  * @extends sap.ui.rta.toolbar.Base
58
68
  *
59
69
  * @author SAP SE
60
- * @version 1.134.0
70
+ * @version 1.136.0
61
71
  *
62
72
  * @constructor
63
73
  * @private
@@ -85,7 +95,8 @@ sap.ui.define([
85
95
  switchVersion: {},
86
96
  switchAdaptation: {},
87
97
  deleteAdaptation: {},
88
- openChangeCategorySelectionPopover: {}
98
+ openChangeCategorySelectionPopover: {},
99
+ saveAndReload: {}
89
100
  }
90
101
  }
91
102
  });
@@ -242,6 +253,23 @@ sap.ui.define([
242
253
  return this.getExtension("versioning", Versioning).openActivateVersionDialog(sDisplayedVersion);
243
254
  };
244
255
 
256
+ Adaptation.prototype.showHardReloadInfoPopover = function(oEvent) {
257
+ this._oHardReloadInfoPopover ||= new Popover({
258
+ placement: "Bottom",
259
+ content: [
260
+ new MessageStrip({
261
+ text: this.getTextResources().getText("MSG_HARD_RELOAD_INFO"),
262
+ type: MessageType.Warning,
263
+ showIcon: true
264
+ })
265
+ ],
266
+ showHeader: false,
267
+ contentWidth: "18rem"
268
+ });
269
+ this.addDependent(this._oHardReloadInfoPopover);
270
+ this._oHardReloadInfoPopover.openBy(oEvent.getSource());
271
+ };
272
+
245
273
  Adaptation.prototype.showActionsMenu = function(oEvent) {
246
274
  var oButton = oEvent.getSource();
247
275
  if (!this._oActionsMenuFragment) {
@@ -257,7 +285,8 @@ sap.ui.define([
257
285
  restore: this.eventHandler.bind(this, "Restore"),
258
286
  formatSaveAsEnabled,
259
287
  saveAs: onSaveAsPressed.bind(this),
260
- openWhatsNewOverviewDialog
288
+ openWhatsNewOverviewDialog,
289
+ openGuidedTour
261
290
  }
262
291
  }).then(function(oMenu) {
263
292
  oMenu.addStyleClass(Utils.getRtaStyleClassName());
@@ -326,7 +355,9 @@ sap.ui.define([
326
355
  formatVersionButtonText: this.formatVersionButtonText.bind(this),
327
356
  showVersionHistory: this.showVersionHistory.bind(this),
328
357
  showActionsMenu: this.showActionsMenu.bind(this),
329
- showFeedbackForm: this.showFeedbackForm.bind(this)
358
+ showFeedbackForm: this.showFeedbackForm.bind(this),
359
+ showHardReloadInfoPopover: this.showHardReloadInfoPopover.bind(this),
360
+ saveAndReloadApp: this.eventHandler.bind(this, "SaveAndReload")
330
361
  }
331
362
  });
332
363
  };
@@ -479,6 +510,10 @@ sap.ui.define([
479
510
  WhatsNewOverview.openWhatsNewOverviewDialog();
480
511
  }
481
512
 
513
+ function openGuidedTour() {
514
+ new GuidedTour().start(GeneralTour.getTourContent());
515
+ }
516
+
482
517
  Adaptation.prototype.getControl = function(sName) {
483
518
  var oControl = Element.getElementById(`${this.getId()}_fragment--sapUiRta_${sName}`);
484
519
  // Control is inside the ActionsMenu
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.HBox
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.134.0
36
+ * @version 1.136.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -8,13 +8,15 @@ sap.ui.define([
8
8
  "sap/m/Image",
9
9
  "./Adaptation",
10
10
  "../Utils",
11
- "sap/base/Log"
11
+ "sap/base/Log",
12
+ "sap/ui/rta/toolbar/AdaptationRenderer"
12
13
  ],
13
14
  function(
14
15
  Image,
15
16
  Adaptation,
16
17
  Utils,
17
- Log
18
+ Log,
19
+ AdaptationRenderer
18
20
  ) {
19
21
  "use strict";
20
22
 
@@ -32,7 +34,7 @@ function(
32
34
  * @extends sap.ui.rta.toolbar.Adaptation
33
35
  *
34
36
  * @author SAP SE
35
- * @version 1.134.0
37
+ * @version 1.136.0
36
38
  *
37
39
  * @constructor
38
40
  * @private
@@ -41,9 +43,15 @@ function(
41
43
  */
42
44
  const Fiori = Adaptation.extend("sap.ui.rta.toolbar.Fiori", {
43
45
  metadata: {
44
- library: "sap.ui.rta"
46
+ library: "sap.ui.rta",
47
+ properties: {
48
+ ushellApi: {
49
+ type: "any", // sap.ushell.api.RTA
50
+ defaultValue: null
51
+ }
52
+ }
45
53
  },
46
- renderer: "sap.ui.rta.toolbar.AdaptationRenderer",
54
+ renderer: AdaptationRenderer,
47
55
  type: "fiori"
48
56
  });
49
57
 
@@ -60,9 +68,9 @@ function(
60
68
 
61
69
  Fiori.prototype.buildControls = function(...aArgs) {
62
70
  return Adaptation.prototype.buildControls.apply(this, aArgs).then(function(aControls) {
63
- const sLogoPath = this._oFioriHeader.getLogo();
71
+ const sLogoPath = this.getUshellApi().getLogo();
64
72
 
65
- if (this._oFioriHeader.getShowLogo() && sLogoPath) {
73
+ if (sLogoPath) {
66
74
  // Unstable: if FLP changes ID of <img> element, logo could be not found
67
75
  const oLogo = this._oFioriHeader.getDomRef().querySelector("#shell-header-icon");
68
76
  let iWidth;
@@ -81,8 +89,9 @@ function(
81
89
  this.getControl("iconBox").addItem(
82
90
  new Image(`${this.getId()}_fragment--sapUiRta_icon`, {
83
91
  src: sLogoPath,
84
- width: iWidth ? `${iWidth}px` : iWidth,
85
- height: iHeight ? `${iHeight}px` : iHeight
92
+ // type check required cause of image could have zero width and height
93
+ width: typeof iWidth === "number" ? `${iWidth}px` : iWidth,
94
+ height: typeof iHeight === "number" ? `${iHeight}px` : iHeight
86
95
  })
87
96
  );
88
97
  }
@@ -1,14 +1,16 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
7
7
  sap.ui.define([
8
- "./Adaptation"
8
+ "./Adaptation",
9
+ "sap/ui/rta/toolbar/AdaptationRenderer"
9
10
  ],
10
11
  function(
11
- Adaptation
12
+ Adaptation,
13
+ AdaptationRenderer
12
14
  ) {
13
15
  "use strict";
14
16
 
@@ -20,7 +22,7 @@ function(
20
22
  * @extends sap.ui.rta.toolbar.Adaptation
21
23
  *
22
24
  * @author SAP SE
23
- * @version 1.134.0
25
+ * @version 1.136.0
24
26
  *
25
27
  * @constructor
26
28
  * @private
@@ -31,7 +33,7 @@ function(
31
33
  metadata: {
32
34
  library: "sap.ui.rta"
33
35
  },
34
- renderer: "sap.ui.rta.toolbar.AdaptationRenderer",
36
+ renderer: AdaptationRenderer,
35
37
  type: "fiori"
36
38
  });
37
39
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.OverflowToolbarButton
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.134.0
26
+ * @version 1.136.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -22,7 +22,7 @@ function(
22
22
  * @extends sap.ui.rta.toolbar.Adaptation
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.134.0
25
+ * @version 1.136.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.134.0
48
+ * @version 1.136.0
49
49
  *
50
50
  * @constructor
51
51
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @class
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.134.0
56
+ * @version 1.136.0
57
57
  *
58
58
  * @constructor
59
59
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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
 
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.134.0
41
+ * @version 1.136.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 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([
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  "sap/ui/rta/plugin/DragDrop",
24
24
  "sap/ui/rta/plugin/LocalReset",
25
25
  "sap/ui/rta/plugin/Remove",
26
- "sap/ui/rta/plugin/Rename",
26
+ "sap/ui/rta/plugin/rename/Rename",
27
27
  "sap/ui/rta/plugin/Resize",
28
28
  "sap/ui/rta/plugin/RTAElementMover",
29
29
  "sap/ui/rta/plugin/Selection",
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * Constructor for a new sap.ui.rta.util.PluginManager
65
65
  * @extends sap.ui.base.ManagedObject
66
66
  * @author SAP SE
67
- * @version 1.134.0
67
+ * @version 1.136.0
68
68
  * @constructor
69
69
  * @private
70
70
  * @since 1.86
@@ -210,9 +210,11 @@ sap.ui.define([
210
210
  });
211
211
  }
212
212
 
213
- this._mDefaultPlugins.annotation = new AnnotationPlugin({
214
- commandFactory: this._oCommandFactory
215
- });
213
+ if (FeaturesAPI.areAnnotationChangesEnabled()) {
214
+ this._mDefaultPlugins.annotation = new AnnotationPlugin({
215
+ commandFactory: this._oCommandFactory
216
+ });
217
+ }
216
218
  }
217
219
 
218
220
  return { ...this._mDefaultPlugins };