@openui5/sap.ui.rta 1.136.0 → 1.136.2

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 (152) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +6 -6
  3. package/src/sap/ui/rta/.library +1 -1
  4. package/src/sap/ui/rta/Client.js +1 -1
  5. package/src/sap/ui/rta/RuntimeAuthoring.js +1 -6
  6. package/src/sap/ui/rta/Utils.js +1 -1
  7. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  8. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  9. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  10. package/src/sap/ui/rta/command/AddXML.js +1 -1
  11. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  12. package/src/sap/ui/rta/command/AnnotationCommand.js +1 -1
  13. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  14. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  15. package/src/sap/ui/rta/command/Combine.js +1 -1
  16. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  17. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  18. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  19. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  20. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  21. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  22. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  23. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  24. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  25. package/src/sap/ui/rta/command/ExtendControllerCommand.js +1 -1
  26. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  27. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  28. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  29. package/src/sap/ui/rta/command/ManifestCommand.js +1 -1
  30. package/src/sap/ui/rta/command/Move.js +1 -1
  31. package/src/sap/ui/rta/command/Property.js +1 -1
  32. package/src/sap/ui/rta/command/Remove.js +1 -1
  33. package/src/sap/ui/rta/command/Rename.js +1 -1
  34. package/src/sap/ui/rta/command/Resize.js +1 -1
  35. package/src/sap/ui/rta/command/Reveal.js +1 -1
  36. package/src/sap/ui/rta/command/Settings.js +1 -1
  37. package/src/sap/ui/rta/command/Split.js +1 -1
  38. package/src/sap/ui/rta/command/Stack.js +1 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  41. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  42. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  43. package/src/sap/ui/rta/command/manifest/AddLibrary.js +1 -1
  44. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  45. package/src/sap/ui/rta/library.js +2 -2
  46. package/src/sap/ui/rta/messagebundle.properties +4 -2
  47. package/src/sap/ui/rta/messagebundle_ar.properties +11 -10
  48. package/src/sap/ui/rta/messagebundle_bg.properties +10 -9
  49. package/src/sap/ui/rta/messagebundle_ca.properties +10 -9
  50. package/src/sap/ui/rta/messagebundle_cnr.properties +11 -10
  51. package/src/sap/ui/rta/messagebundle_cs.properties +10 -9
  52. package/src/sap/ui/rta/messagebundle_cy.properties +10 -9
  53. package/src/sap/ui/rta/messagebundle_da.properties +10 -9
  54. package/src/sap/ui/rta/messagebundle_de.properties +10 -9
  55. package/src/sap/ui/rta/messagebundle_el.properties +10 -9
  56. package/src/sap/ui/rta/messagebundle_en.properties +11 -10
  57. package/src/sap/ui/rta/messagebundle_en_GB.properties +11 -10
  58. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +98 -7
  59. package/src/sap/ui/rta/messagebundle_es.properties +42 -41
  60. package/src/sap/ui/rta/messagebundle_es_MX.properties +10 -9
  61. package/src/sap/ui/rta/messagebundle_et.properties +11 -10
  62. package/src/sap/ui/rta/messagebundle_fi.properties +10 -9
  63. package/src/sap/ui/rta/messagebundle_fr.properties +11 -10
  64. package/src/sap/ui/rta/messagebundle_fr_CA.properties +11 -10
  65. package/src/sap/ui/rta/messagebundle_hi.properties +11 -10
  66. package/src/sap/ui/rta/messagebundle_hr.properties +11 -10
  67. package/src/sap/ui/rta/messagebundle_hu.properties +10 -9
  68. package/src/sap/ui/rta/messagebundle_id.properties +15 -14
  69. package/src/sap/ui/rta/messagebundle_it.properties +10 -9
  70. package/src/sap/ui/rta/messagebundle_iw.properties +11 -10
  71. package/src/sap/ui/rta/messagebundle_ja.properties +13 -12
  72. package/src/sap/ui/rta/messagebundle_kk.properties +9 -8
  73. package/src/sap/ui/rta/messagebundle_ko.properties +11 -10
  74. package/src/sap/ui/rta/messagebundle_lt.properties +10 -9
  75. package/src/sap/ui/rta/messagebundle_lv.properties +10 -9
  76. package/src/sap/ui/rta/messagebundle_mk.properties +12 -11
  77. package/src/sap/ui/rta/messagebundle_ms.properties +10 -9
  78. package/src/sap/ui/rta/messagebundle_nl.properties +10 -9
  79. package/src/sap/ui/rta/messagebundle_no.properties +10 -9
  80. package/src/sap/ui/rta/messagebundle_pl.properties +13 -12
  81. package/src/sap/ui/rta/messagebundle_pt.properties +10 -9
  82. package/src/sap/ui/rta/messagebundle_pt_PT.properties +11 -10
  83. package/src/sap/ui/rta/messagebundle_ro.properties +10 -9
  84. package/src/sap/ui/rta/messagebundle_ru.properties +10 -9
  85. package/src/sap/ui/rta/messagebundle_sh.properties +11 -10
  86. package/src/sap/ui/rta/messagebundle_sk.properties +6 -5
  87. package/src/sap/ui/rta/messagebundle_sl.properties +32 -31
  88. package/src/sap/ui/rta/messagebundle_sr.properties +11 -10
  89. package/src/sap/ui/rta/messagebundle_sv.properties +11 -10
  90. package/src/sap/ui/rta/messagebundle_th.properties +11 -10
  91. package/src/sap/ui/rta/messagebundle_tr.properties +10 -9
  92. package/src/sap/ui/rta/messagebundle_uk.properties +11 -10
  93. package/src/sap/ui/rta/messagebundle_vi.properties +12 -11
  94. package/src/sap/ui/rta/messagebundle_zh_CN.properties +11 -10
  95. package/src/sap/ui/rta/messagebundle_zh_TW.properties +11 -10
  96. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  97. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +1 -1
  98. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  99. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  100. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  101. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  102. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  103. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  104. package/src/sap/ui/rta/plugin/ExtendControllerPlugin.js +16 -3
  105. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  106. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  107. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  108. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  109. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  110. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  111. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  112. package/src/sap/ui/rta/plugin/Split.js +1 -1
  113. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  114. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  115. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  116. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  117. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  118. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  119. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +1 -1
  120. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +1 -1
  121. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +8 -5
  122. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  123. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  124. package/src/sap/ui/rta/plugin/rename/Rename.js +1 -1
  125. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +1 -1
  126. package/src/sap/ui/rta/service/Action.js +1 -1
  127. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  128. package/src/sap/ui/rta/service/Outline.js +1 -1
  129. package/src/sap/ui/rta/service/Property.js +1 -1
  130. package/src/sap/ui/rta/service/Selection.js +1 -1
  131. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  132. package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +0 -2
  133. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  134. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  135. package/src/sap/ui/rta/toolbar/Fiori.js +5 -3
  136. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  137. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  138. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  139. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  140. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  141. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  142. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  143. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  144. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  145. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  146. package/src/sap/ui/rta/util/ServiceManager.js +1 -1
  147. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  148. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  149. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
  150. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +1 -1
  151. package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +1 -1
  152. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +1 -1
@@ -7,10 +7,12 @@
7
7
  sap.ui.define([
8
8
  "sap/ui/core/Lib",
9
9
  "sap/ui/dt/Util",
10
+ "sap/ui/fl/Utils",
10
11
  "sap/ui/rta/plugin/Plugin"
11
12
  ], function(
12
13
  Lib,
13
14
  DtUtil,
15
+ Utils,
14
16
  Plugin
15
17
  ) {
16
18
  "use strict";
@@ -30,7 +32,7 @@ sap.ui.define([
30
32
  * @class
31
33
  * @extends sap.ui.rta.plugin.Plugin
32
34
  * @author SAP SE
33
- * @version 1.136.0
35
+ * @version 1.136.2
34
36
  * @constructor
35
37
  * @private
36
38
  * @since 1.134
@@ -52,6 +54,11 @@ sap.ui.define([
52
54
 
53
55
  const FLEX_CHANGE_TYPE = "codeExt";
54
56
 
57
+ function isControlInAsyncView(oOverlay) {
58
+ // Currently there is no better way to get this information. When this changes, this code must be adapted.
59
+ return !!Utils.getViewForControl(oOverlay.getElement())?.oAsyncState;
60
+ }
61
+
55
62
  /**
56
63
  * Check if the given overlay should be editable.
57
64
  *
@@ -70,8 +77,9 @@ sap.ui.define([
70
77
  * @public
71
78
  */
72
79
  ExtendControllerPlugin.prototype.isEnabled = function(aElementOverlays) {
73
- const bEnabled = aElementOverlays.length === 1 && !this.isInReuseComponentOnS4HanaCloud(aElementOverlays[0]);
74
- return bEnabled;
80
+ return aElementOverlays.length === 1
81
+ && !this.isInReuseComponentOnS4HanaCloud(aElementOverlays[0])
82
+ && isControlInAsyncView(aElementOverlays[0]);
75
83
  };
76
84
 
77
85
  /**
@@ -98,6 +106,11 @@ sap.ui.define([
98
106
  if (this.isInReuseComponentOnS4HanaCloud(oOverlay)) {
99
107
  sText += ` (${Lib.getResourceBundleFor("sap.ui.rta").getText("CTX_DISABLED_REUSE")})`;
100
108
  }
109
+ // The case where the control is not in an async view
110
+ // is not enabled and has a special text in parenthesis on the context menu
111
+ if (!isControlInAsyncView(oOverlay)) {
112
+ sText += ` (${Lib.getResourceBundleFor("sap.ui.rta").getText("CTX_DISABLED_NOT_ASYNC")})`;
113
+ }
101
114
  return sText;
102
115
  };
103
116
 
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @class
42
42
  * @extends sap.ui.rta.plugin.Plugin
43
43
  * @author SAP SE
44
- * @version 1.136.0
44
+ * @version 1.136.2
45
45
  * @constructor
46
46
  * @private
47
47
  * @since 1.90
@@ -114,7 +114,7 @@ sap.ui.define([
114
114
  * @extends sap.ui.dt.Plugin
115
115
  *
116
116
  * @author SAP SE
117
- * @version 1.136.0
117
+ * @version 1.136.2
118
118
  *
119
119
  * @constructor
120
120
  * @private
@@ -35,7 +35,7 @@ function(
35
35
  * The RTAElementMover is responsible for the RTA specific adaptation of element movements.
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.136.0
38
+ * @version 1.136.2
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class The Remove allows trigger remove operations on the overlay
30
30
  * @extends sap.ui.rta.plugin.Plugin
31
31
  * @author SAP SE
32
- * @version 1.136.0
32
+ * @version 1.136.2
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.34
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * @extends sap.ui.rta.plugin.Plugin
29
29
  * @author SAP SE
30
- * @version 1.136.0
30
+ * @version 1.136.2
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.101
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
32
32
  * @extends sap.ui.rta.plugin.Plugin
33
33
  * @author SAP SE
34
- * @version 1.136.0
34
+ * @version 1.136.2
35
35
  * @constructor
36
36
  * @private
37
37
  * @since 1.34
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class The Settings allows trigger change of settings operations on the overlay
31
31
  * @extends sap.ui.rta.plugin.Plugin
32
32
  * @author SAP SE
33
- * @version 1.136.0
33
+ * @version 1.136.2
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.44
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class
24
24
  * @extends sap.ui.rta.plugin.Plugin
25
25
  * @author SAP SE
26
- * @version 1.136.0
26
+ * @version 1.136.2
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.46
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.rta.plugin.Plugin
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.136.0
32
+ * @version 1.136.2
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * handled by the AdditionalElements Plugin (Reveal, Add Via Delegate, Add Custom)
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.136.0
35
+ * @version 1.136.2
36
36
  * @private
37
37
  * @since 1.94
38
38
  */
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @class Context - Dialog for available Fields in Runtime Authoring
33
33
  * @extends sap.ui.base.ManagedObject
34
34
  * @author SAP SE
35
- * @version 1.136.0
35
+ * @version 1.136.2
36
36
  * @constructor
37
37
  * @private
38
38
  * @since 1.44
@@ -119,7 +119,7 @@ sap.ui.define([
119
119
  * @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
120
120
  * @extends sap.ui.rta.plugin.Plugin
121
121
  * @author SAP SE
122
- * @version 1.136.0
122
+ * @version 1.136.2
123
123
  * @constructor
124
124
  * @private
125
125
  * @since 1.44
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * Helper object containing methods for the AdditionalElements plugin
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.136.0
20
+ * @version 1.136.2
21
21
  * @private
22
22
  * @since 1.94
23
23
  */
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * Helper object to build the RTA commands resulting from the AdditionalElements Plugin
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.136.0
28
+ * @version 1.136.2
29
29
  * @private
30
30
  * @since 1.94
31
31
  */
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class Constructor for a new sap.ui.rta.plugin.annotations.AnnotationChangeDialog.
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  * @author SAP SE
32
- * @version 1.136.0
32
+ * @version 1.136.2
33
33
  * @constructor
34
34
  * @since 1.132
35
35
  * @private
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @class Controller for the AnnotationChangeDialog.
36
36
  * @extends sap.ui.core.mvc.Controller
37
37
  * @author SAP SE
38
- * @version 1.136.0
38
+ * @version 1.136.2
39
39
  * @constructor
40
40
  * @since 1.132
41
41
  * @private
@@ -8,7 +8,6 @@ sap.ui.define([
8
8
  "sap/base/Log",
9
9
  "sap/ui/base/DesignTime",
10
10
  "sap/ui/core/util/reflection/JsControlTreeModifier",
11
- "sap/ui/dt/OverlayRegistry",
12
11
  "sap/ui/dt/Util",
13
12
  "sap/ui/fl/write/api/PersistenceWriteAPI",
14
13
  "sap/ui/fl/Utils",
@@ -19,7 +18,6 @@ sap.ui.define([
19
18
  BaseLog,
20
19
  DesignTime,
21
20
  JsControlTreeModifier,
22
- OverlayRegistry,
23
21
  DtUtil,
24
22
  PersistenceWriteAPI,
25
23
  Utils,
@@ -32,8 +30,11 @@ sap.ui.define([
32
30
  async function handleCompositeCommand(oElement, oAction, aAnnotationChanges, aLegacyRenameChanges) {
33
31
  const oCompositeCommand = await this.getCommandFactory().getCommandFor(oElement, "composite");
34
32
  for (const oChange of aAnnotationChanges) {
35
- // aLegacyRenameChanges is only passed for singleRename scenarios, where there is only one annotation change to be saved
36
- // so we can simply add it in the loop
33
+ // the annotation could have different text types, depending on where the annotation is used
34
+ // but the backend needs to know the type, so we just set it to "XFLD" if it is not defined
35
+ if (oChange.content.text && !oChange.content.textType) {
36
+ oChange.content.textType = "XFLD";
37
+ }
37
38
  const oAnnotationCommand = await this.getCommandFactory().getCommandFor(
38
39
  oElement,
39
40
  "annotation",
@@ -41,6 +42,8 @@ sap.ui.define([
41
42
  changeType: oAction.changeType,
42
43
  serviceUrl: oChange.serviceUrl,
43
44
  content: {...oChange.content, objectTemplateInfo: oAction.objectTemplateInfo},
45
+ // aLegacyRenameChanges is only passed for singleRename scenarios, where there is only one annotation change to be saved
46
+ // so we can simply add it in the loop
44
47
  changesToDelete: aLegacyRenameChanges
45
48
  }
46
49
  );
@@ -102,7 +105,7 @@ sap.ui.define([
102
105
  * @class
103
106
  * @extends sap.ui.rta.plugin.Plugin
104
107
  * @author SAP SE
105
- * @version 1.136.0
108
+ * @version 1.136.2
106
109
  * @constructor
107
110
  * @private
108
111
  * @since 1.132
@@ -119,7 +119,7 @@ sap.ui.define([
119
119
  * @class The AddIFrame allows trigger AddIFrame operations on the overlay.
120
120
  * @extends sap.ui.rta.plugin.BaseCreate
121
121
  * @author SAP SE
122
- * @version 1.136.0
122
+ * @version 1.136.2
123
123
  * @constructor
124
124
  * @private
125
125
  * @since 1.75
@@ -159,7 +159,7 @@ sap.ui.define([
159
159
  * @class Context - Dialog for IFrame settings in Runtime Authoring
160
160
  * @extends sap.ui.base.ManagedObject
161
161
  * @author SAP SE
162
- * @version 1.136.0
162
+ * @version 1.136.2
163
163
  * @constructor
164
164
  * @private
165
165
  * @since 1.78
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.rta.plugin.Plugin
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.0
31
+ * @version 1.136.2
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class Constructor for a new sap.ui.rta.plugin.rename.RenameDialog.
28
28
  * @extends sap.ui.base.ManagedObject
29
29
  * @author SAP SE
30
- * @version 1.136.0
30
+ * @version 1.136.2
31
31
  * @constructor
32
32
  * @since 1.136
33
33
  * @private
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @name sap.ui.rta.service.Action
25
25
  * @author SAP SE
26
26
  * @since 1.58
27
- * @version 1.136.0
27
+ * @version 1.136.2
28
28
  * @private
29
29
  * @ui5-restricted
30
30
  *
@@ -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.136.0
33
+ * @version 1.136.2
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -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.136.0
46
+ * @version 1.136.2
47
47
  * @private
48
48
  * @ui5-restricted
49
49
  */
@@ -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.136.0
30
+ * @version 1.136.2
31
31
  * @private
32
32
  * @ui5-restricted
33
33
  */
@@ -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.136.0
17
+ * @version 1.136.2
18
18
  * @private
19
19
  * @ui5-restricted
20
20
  */
@@ -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.136.0
33
+ * @version 1.136.2
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -75,8 +75,6 @@
75
75
  <MenuItem
76
76
  id="sapUiRta_newFeaturesOverview"
77
77
  icon="sap-icon://newspaper"
78
- enabled="{controls>/newFeaturesOverview/enabled}"
79
- visible="{controls>/newFeaturesOverview/visible}"
80
78
  text="{i18n>BTN_WHATS_NEW_DIALOG_OVERVIEW}"
81
79
  tooltip="{i18n>BTN_WHATS_NEW_DIALOG_OVERVIEW_TOOLTIP}"
82
80
  press=".openWhatsNewOverviewDialog"/>
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @extends sap.ui.rta.toolbar.Base
68
68
  *
69
69
  * @author SAP SE
70
- * @version 1.136.0
70
+ * @version 1.136.2
71
71
  *
72
72
  * @constructor
73
73
  * @private
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.HBox
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.136.0
36
+ * @version 1.136.2
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -34,7 +34,7 @@ function(
34
34
  * @extends sap.ui.rta.toolbar.Adaptation
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.136.0
37
+ * @version 1.136.2
38
38
  *
39
39
  * @constructor
40
40
  * @private
@@ -71,8 +71,10 @@ function(
71
71
  const sLogoPath = this.getUshellApi().getLogo();
72
72
 
73
73
  if (sLogoPath) {
74
- // Unstable: if FLP changes ID of <img> element, logo could be not found
75
- const oLogo = this._oFioriHeader.getDomRef().querySelector("#shell-header-icon");
74
+ // get all images from the Fiori Header
75
+ const aHeaderImages = this._oFioriHeader.getDomRef().querySelectorAll("img");
76
+ // check if one of the images is the logo
77
+ const oLogo = Array.from(aHeaderImages).find((oImage) => oImage.src.includes(sLogoPath));
76
78
  let iWidth;
77
79
  let iHeight;
78
80
 
@@ -22,7 +22,7 @@ function(
22
22
  * @extends sap.ui.rta.toolbar.Adaptation
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.136.0
25
+ * @version 1.136.2
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.OverflowToolbarButton
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.136.0
26
+ * @version 1.136.2
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -22,7 +22,7 @@ function(
22
22
  * @extends sap.ui.rta.toolbar.Adaptation
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.136.0
25
+ * @version 1.136.2
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.136.0
48
+ * @version 1.136.2
49
49
  *
50
50
  * @constructor
51
51
  * @private
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @class
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.136.0
56
+ * @version 1.136.2
57
57
  *
58
58
  * @constructor
59
59
  * @private
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.136.0
41
+ * @version 1.136.2
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -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.136.0
67
+ * @version 1.136.2
68
68
  * @constructor
69
69
  * @private
70
70
  * @since 1.86
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * Constructor for a new sap.ui.rta.util.PopupManager
43
43
  * @extends sap.ui.base.ManagedObject
44
44
  * @author SAP SE
45
- * @version 1.136.0
45
+ * @version 1.136.2
46
46
  * @constructor
47
47
  * @private
48
48
  * @since 1.48
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @namespace sap.ui.rta.util.ReloadManager
31
31
  * @alias sap.ui.rta.util.ReloadManager
32
32
  * @since 1.104
33
- * @version 1.136.0
33
+ * @version 1.136.2
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -19,7 +19,7 @@ function(
19
19
  *
20
20
  * @extends sap.ui.core.EventBus
21
21
  * @author SAP SE
22
- * @version 1.136.0
22
+ * @version 1.136.2
23
23
  * @private
24
24
  * @since 1.56.0
25
25
  * @alias sap.ui.rta.util.ServiceEventBus
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @extends sap.ui.base.ManagedObject
29
29
  * @author SAP SE
30
- * @version 1.136.0
30
+ * @version 1.136.2
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.121
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
47
47
  * @author SAP SE
48
48
  * @since 1.84.0
49
- * @version 1.136.0
49
+ * @version 1.136.2
50
50
  * @private
51
51
  */
52
52
  const ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
38
38
  * @author SAP SE
39
39
  * @since 1.86.0
40
- * @version 1.136.0
40
+ * @version 1.136.2
41
41
  * @private
42
42
  */
43
43
  const ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
85
85
  * @author SAP SE
86
86
  * @since 1.84.0
87
- * @version 1.136.0
87
+ * @version 1.136.2
88
88
  * @private
89
89
  */
90
90
  const ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class Constructor for a new sap.ui.rta.util.guidedTour.GuidedTour
28
28
  * @extends sap.ui.base.ManagedObject
29
29
  * @author SAP SE
30
- * @version 1.136.0
30
+ * @version 1.136.2
31
31
  * @constructor
32
32
  * @since 1.136
33
33
  * @private
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  function filterAvailableBurgerMenuActions(oGeneralTour) {
21
21
  const oControlsModelData = Element.getElementById("sapUIRta_toolbar").getModel("controls").getData();
22
22
  const aAvailableBurgerMenuActions = {
23
- newFeaturesOverview: oControlsModelData.newFeaturesOverview.visible,
23
+ newFeaturesOverview: true,
24
24
  translation: oControlsModelData.translation.visible,
25
25
  generalTour: true,
26
26
  appVariantMenu: oControlsModelData.appVariantMenu.visible,
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @class Constructor for a new sap.ui.rta.util.whatsNew.WhatsNew
34
34
  * @extends sap.ui.base.ManagedObject
35
35
  * @author SAP SE
36
- * @version 1.136.0
36
+ * @version 1.136.2
37
37
  * @constructor
38
38
  * @since 1.129
39
39
  * @private