@openui5/sap.ui.rta 1.108.0 → 1.109.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 (205) 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 +17 -49
  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 +2 -2
  11. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
  12. package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
  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 +4 -2
  19. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  20. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +14 -14
  21. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +10 -3
  22. package/src/sap/ui/rta/command/ControlVariantSwitch.js +41 -9
  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/FlexCommand.js +17 -15
  26. package/src/sap/ui/rta/command/LREPSerializer.js +1 -6
  27. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  28. package/src/sap/ui/rta/command/Move.js +1 -1
  29. package/src/sap/ui/rta/command/Property.js +1 -1
  30. package/src/sap/ui/rta/command/Remove.js +1 -1
  31. package/src/sap/ui/rta/command/Rename.js +1 -1
  32. package/src/sap/ui/rta/command/Resize.js +1 -1
  33. package/src/sap/ui/rta/command/Reveal.js +1 -1
  34. package/src/sap/ui/rta/command/Settings.js +1 -1
  35. package/src/sap/ui/rta/command/Split.js +1 -1
  36. package/src/sap/ui/rta/command/Stack.js +1 -1
  37. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  38. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -2
  39. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +27 -5
  41. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  42. package/src/sap/ui/rta/enablement/elementActionTest.js +27 -18
  43. package/src/sap/ui/rta/library.js +2 -2
  44. package/src/sap/ui/rta/messagebundle.properties +6 -4
  45. package/src/sap/ui/rta/messagebundle_ar.properties +4 -1
  46. package/src/sap/ui/rta/messagebundle_bg.properties +4 -1
  47. package/src/sap/ui/rta/messagebundle_ca.properties +3 -0
  48. package/src/sap/ui/rta/messagebundle_cs.properties +4 -1
  49. package/src/sap/ui/rta/messagebundle_cy.properties +3 -0
  50. package/src/sap/ui/rta/messagebundle_da.properties +3 -0
  51. package/src/sap/ui/rta/messagebundle_de.properties +3 -0
  52. package/src/sap/ui/rta/messagebundle_el.properties +3 -0
  53. package/src/sap/ui/rta/messagebundle_en.properties +4 -1
  54. package/src/sap/ui/rta/messagebundle_en_GB.properties +4 -1
  55. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +3 -2
  56. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +3 -2
  57. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +3 -0
  58. package/src/sap/ui/rta/messagebundle_es.properties +3 -0
  59. package/src/sap/ui/rta/messagebundle_es_MX.properties +3 -0
  60. package/src/sap/ui/rta/messagebundle_et.properties +3 -0
  61. package/src/sap/ui/rta/messagebundle_fi.properties +3 -0
  62. package/src/sap/ui/rta/messagebundle_fr.properties +3 -0
  63. package/src/sap/ui/rta/messagebundle_fr_CA.properties +4 -1
  64. package/src/sap/ui/rta/messagebundle_hi.properties +4 -1
  65. package/src/sap/ui/rta/messagebundle_hr.properties +4 -1
  66. package/src/sap/ui/rta/messagebundle_hu.properties +3 -0
  67. package/src/sap/ui/rta/messagebundle_id.properties +4 -1
  68. package/src/sap/ui/rta/messagebundle_it.properties +4 -1
  69. package/src/sap/ui/rta/messagebundle_iw.properties +3 -0
  70. package/src/sap/ui/rta/messagebundle_ja.properties +4 -1
  71. package/src/sap/ui/rta/messagebundle_kk.properties +3 -0
  72. package/src/sap/ui/rta/messagebundle_ko.properties +3 -0
  73. package/src/sap/ui/rta/messagebundle_lt.properties +3 -0
  74. package/src/sap/ui/rta/messagebundle_lv.properties +4 -1
  75. package/src/sap/ui/rta/messagebundle_ms.properties +4 -1
  76. package/src/sap/ui/rta/messagebundle_nl.properties +3 -0
  77. package/src/sap/ui/rta/messagebundle_no.properties +4 -1
  78. package/src/sap/ui/rta/messagebundle_pl.properties +4 -1
  79. package/src/sap/ui/rta/messagebundle_pt.properties +4 -1
  80. package/src/sap/ui/rta/messagebundle_pt_PT.properties +3 -0
  81. package/src/sap/ui/rta/messagebundle_ro.properties +4 -1
  82. package/src/sap/ui/rta/messagebundle_ru.properties +4 -1
  83. package/src/sap/ui/rta/messagebundle_sh.properties +3 -0
  84. package/src/sap/ui/rta/messagebundle_sk.properties +3 -0
  85. package/src/sap/ui/rta/messagebundle_sl.properties +4 -1
  86. package/src/sap/ui/rta/messagebundle_sv.properties +4 -1
  87. package/src/sap/ui/rta/messagebundle_th.properties +4 -1
  88. package/src/sap/ui/rta/messagebundle_tr.properties +3 -0
  89. package/src/sap/ui/rta/messagebundle_uk.properties +3 -0
  90. package/src/sap/ui/rta/messagebundle_vi.properties +4 -1
  91. package/src/sap/ui/rta/messagebundle_zh_CN.properties +4 -1
  92. package/src/sap/ui/rta/messagebundle_zh_TW.properties +4 -1
  93. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  94. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  95. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  96. package/src/sap/ui/rta/plugin/CompVariant.js +103 -23
  97. package/src/sap/ui/rta/plugin/ControlVariant.js +117 -49
  98. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  99. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  100. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  101. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  102. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  103. package/src/sap/ui/rta/plugin/LocalReset.js +5 -3
  104. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  105. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  106. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  107. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  108. package/src/sap/ui/rta/plugin/RenameHandler.js +2 -2
  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/iframe/AddIFrame.js +1 -1
  120. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  121. package/src/sap/ui/rta/service/Action.js +1 -1
  122. package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
  123. package/src/sap/ui/rta/service/Outline.js +1 -1
  124. package/src/sap/ui/rta/service/Property.js +1 -1
  125. package/src/sap/ui/rta/service/Selection.js +1 -1
  126. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  127. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +26 -9
  128. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +0 -11
  129. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -3
  130. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  131. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  132. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  133. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  134. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  135. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  136. package/src/sap/ui/rta/toolbar/contextBased/SaveAsContextBasedAdaptation.js +1 -1
  137. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  138. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  139. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  140. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  141. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  142. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  143. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -1
  144. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +10 -9
  145. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +1 -0
  146. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  147. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -2
  148. package/src/sap/ui/rta/appContexts/AppContextsOverviewDialog.js +0 -76
  149. package/src/sap/ui/rta/appContexts/Component.js +0 -31
  150. package/src/sap/ui/rta/appContexts/controller/ManageContexts.controller.js +0 -323
  151. package/src/sap/ui/rta/appContexts/controller/RestAPIConnector.js +0 -22
  152. package/src/sap/ui/rta/appContexts/i18n/i18n.properties +0 -47
  153. package/src/sap/ui/rta/appContexts/i18n/i18n_ar.properties +0 -23
  154. package/src/sap/ui/rta/appContexts/i18n/i18n_bg.properties +0 -23
  155. package/src/sap/ui/rta/appContexts/i18n/i18n_ca.properties +0 -23
  156. package/src/sap/ui/rta/appContexts/i18n/i18n_cs.properties +0 -23
  157. package/src/sap/ui/rta/appContexts/i18n/i18n_cy.properties +0 -23
  158. package/src/sap/ui/rta/appContexts/i18n/i18n_da.properties +0 -23
  159. package/src/sap/ui/rta/appContexts/i18n/i18n_de.properties +0 -23
  160. package/src/sap/ui/rta/appContexts/i18n/i18n_el.properties +0 -23
  161. package/src/sap/ui/rta/appContexts/i18n/i18n_en.properties +0 -23
  162. package/src/sap/ui/rta/appContexts/i18n/i18n_en_GB.properties +0 -23
  163. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_sappsd.properties +0 -23
  164. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_saprigi.properties +0 -23
  165. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_saptrc.properties +0 -23
  166. package/src/sap/ui/rta/appContexts/i18n/i18n_es.properties +0 -23
  167. package/src/sap/ui/rta/appContexts/i18n/i18n_es_MX.properties +0 -23
  168. package/src/sap/ui/rta/appContexts/i18n/i18n_et.properties +0 -23
  169. package/src/sap/ui/rta/appContexts/i18n/i18n_fi.properties +0 -23
  170. package/src/sap/ui/rta/appContexts/i18n/i18n_fr.properties +0 -23
  171. package/src/sap/ui/rta/appContexts/i18n/i18n_fr_CA.properties +0 -23
  172. package/src/sap/ui/rta/appContexts/i18n/i18n_hi.properties +0 -23
  173. package/src/sap/ui/rta/appContexts/i18n/i18n_hr.properties +0 -23
  174. package/src/sap/ui/rta/appContexts/i18n/i18n_hu.properties +0 -23
  175. package/src/sap/ui/rta/appContexts/i18n/i18n_id.properties +0 -23
  176. package/src/sap/ui/rta/appContexts/i18n/i18n_it.properties +0 -23
  177. package/src/sap/ui/rta/appContexts/i18n/i18n_iw.properties +0 -23
  178. package/src/sap/ui/rta/appContexts/i18n/i18n_ja.properties +0 -23
  179. package/src/sap/ui/rta/appContexts/i18n/i18n_kk.properties +0 -23
  180. package/src/sap/ui/rta/appContexts/i18n/i18n_ko.properties +0 -23
  181. package/src/sap/ui/rta/appContexts/i18n/i18n_lt.properties +0 -23
  182. package/src/sap/ui/rta/appContexts/i18n/i18n_lv.properties +0 -23
  183. package/src/sap/ui/rta/appContexts/i18n/i18n_ms.properties +0 -23
  184. package/src/sap/ui/rta/appContexts/i18n/i18n_nl.properties +0 -23
  185. package/src/sap/ui/rta/appContexts/i18n/i18n_no.properties +0 -23
  186. package/src/sap/ui/rta/appContexts/i18n/i18n_pl.properties +0 -23
  187. package/src/sap/ui/rta/appContexts/i18n/i18n_pt.properties +0 -23
  188. package/src/sap/ui/rta/appContexts/i18n/i18n_pt_PT.properties +0 -23
  189. package/src/sap/ui/rta/appContexts/i18n/i18n_ro.properties +0 -23
  190. package/src/sap/ui/rta/appContexts/i18n/i18n_ru.properties +0 -23
  191. package/src/sap/ui/rta/appContexts/i18n/i18n_sh.properties +0 -23
  192. package/src/sap/ui/rta/appContexts/i18n/i18n_sk.properties +0 -23
  193. package/src/sap/ui/rta/appContexts/i18n/i18n_sl.properties +0 -23
  194. package/src/sap/ui/rta/appContexts/i18n/i18n_sv.properties +0 -23
  195. package/src/sap/ui/rta/appContexts/i18n/i18n_th.properties +0 -23
  196. package/src/sap/ui/rta/appContexts/i18n/i18n_tr.properties +0 -23
  197. package/src/sap/ui/rta/appContexts/i18n/i18n_uk.properties +0 -23
  198. package/src/sap/ui/rta/appContexts/i18n/i18n_vi.properties +0 -23
  199. package/src/sap/ui/rta/appContexts/i18n/i18n_zh_CN.properties +0 -23
  200. package/src/sap/ui/rta/appContexts/i18n/i18n_zh_TW.properties +0 -23
  201. package/src/sap/ui/rta/appContexts/index.html +0 -25
  202. package/src/sap/ui/rta/appContexts/manifest.json +0 -52
  203. package/src/sap/ui/rta/appContexts/view/EditContextsDialog.fragment.xml +0 -76
  204. package/src/sap/ui/rta/appContexts/view/ManageContexts.view.xml +0 -103
  205. package/src/sap/ui/rta/appContexts/view/SaveAsContextsDialog.fragment.xml +0 -76
@@ -8,6 +8,7 @@ sap.ui.define([
8
8
  "sap/ui/rta/plugin/Plugin",
9
9
  "sap/ui/dt/Util",
10
10
  "sap/ui/fl/Utils",
11
+ "sap/ui/fl/apply/api/ControlVariantApplyAPI",
11
12
  "sap/ui/fl/write/api/LocalResetAPI",
12
13
  "sap/ui/rta/command/CompositeCommand",
13
14
  "sap/m/MessageToast",
@@ -16,6 +17,7 @@ sap.ui.define([
16
17
  Plugin,
17
18
  DtUtil,
18
19
  FlUtils,
20
+ ControlVariantApplyAPI,
19
21
  LocalResetAPI,
20
22
  CompositeCommand,
21
23
  MessageToast,
@@ -35,7 +37,7 @@ sap.ui.define([
35
37
  * @class
36
38
  * @extends sap.ui.rta.plugin.Plugin
37
39
  * @author SAP SE
38
- * @version 1.108.0
40
+ * @version 1.109.0
39
41
  * @constructor
40
42
  * @private
41
43
  * @since 1.90
@@ -85,7 +87,7 @@ sap.ui.define([
85
87
  var oRelevantElement = oAction.changeOnRelevantContainer ? oElementOverlay.getRelevantContainer() : oElement;
86
88
  var oRelevantOverlay = OverlayRegistry.getOverlay(oRelevantElement);
87
89
  var oAppComponent = FlUtils.getAppComponentForControl(oRelevantElement);
88
- var oVariantModel = oAppComponent.getModel(FlUtils.VARIANT_MODEL_NAME);
90
+ var oVariantModel = oAppComponent.getModel(ControlVariantApplyAPI.getVariantModelName());
89
91
  var sCurrentVariant = getCurrentVariant(oVariantModel, this.getVariantManagementReference(oRelevantOverlay));
90
92
  return (
91
93
  bIsActionEnabled
@@ -122,7 +124,7 @@ sap.ui.define([
122
124
  var oDesignTimeMetadata = oOverlay.getDesignTimeMetadata();
123
125
  var sVariantManagementReference = this.getVariantManagementReference(oOverlay);
124
126
  var oAppComponent = FlUtils.getAppComponentForControl(oElement);
125
- var oVariantModel = oAppComponent.getModel(FlUtils.VARIANT_MODEL_NAME);
127
+ var oVariantModel = oAppComponent.getModel(ControlVariantApplyAPI.getVariantModelName());
126
128
  var sCurrentVariant = getCurrentVariant(oVariantModel, sVariantManagementReference);
127
129
  var bHasVariant = !!sCurrentVariant;
128
130
  var oVariantManagementControl = bHasVariant
@@ -69,7 +69,7 @@ function(
69
69
  * @extends sap.ui.dt.Plugin
70
70
  *
71
71
  * @author SAP SE
72
- * @version 1.108.0
72
+ * @version 1.109.0
73
73
  *
74
74
  * @constructor
75
75
  * @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.108.0
38
+ * @version 1.109.0
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.108.0
32
+ * @version 1.109.0
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.34
@@ -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.108.0
31
+ * @version 1.109.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * Provides Rename handling functionality
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.108.0
60
+ * @version 1.109.0
61
61
  *
62
62
  * @constructor
63
63
  * @private
@@ -187,7 +187,7 @@ sap.ui.define([
187
187
 
188
188
  this.setOldValue(RenameHandler._getCurrentEditableFieldText.call(this));
189
189
 
190
- DOMUtil.copyComputedStyle(this._$oEditableControlDomRef, this._$editableField);
190
+ DOMUtil.copyComputedStyle(this._$oEditableControlDomRef.get(0), this._$editableField.get(0));
191
191
  this._$editableField.children().remove();
192
192
  this._$editableField.css("visibility", "hidden");
193
193
 
@@ -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.108.0
30
+ * @version 1.109.0
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.101
@@ -30,7 +30,7 @@ function (
30
30
  * @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
31
31
  * @extends sap.ui.rta.plugin.Plugin
32
32
  * @author SAP SE
33
- * @version 1.108.0
33
+ * @version 1.109.0
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.34
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The Settings allows trigger change of settings operations on the overlay
26
26
  * @extends sap.ui.rta.plugin.Plugin
27
27
  * @author SAP SE
28
- * @version 1.108.0
28
+ * @version 1.109.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @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.108.0
26
+ * @version 1.109.0
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.46
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.rta.plugin.Plugin
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.108.0
36
+ * @version 1.109.0
37
37
  *
38
38
  * @constructor
39
39
  * @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.108.0
35
+ * @version 1.109.0
36
36
  * @private
37
37
  * @since 1.94
38
38
  * @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -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.108.0
35
+ * @version 1.109.0
36
36
  * @constructor
37
37
  * @private
38
38
  * @since 1.44
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
76
76
  * @extends sap.ui.rta.plugin.Plugin
77
77
  * @author SAP SE
78
- * @version 1.108.0
78
+ * @version 1.109.0
79
79
  * @constructor
80
80
  * @private
81
81
  * @since 1.44
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * Helper object containing methods for the AdditionalElements plugin
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.108.0
18
+ * @version 1.109.0
19
19
  * @private
20
20
  * @since 1.94
21
21
  * @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -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.108.0
28
+ * @version 1.109.0
29
29
  * @private
30
30
  * @since 1.94
31
31
  * @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  * @class The AddIFrame allows trigger AddIFrame operations on the overlay.
111
111
  * @extends sap.ui.rta.plugin.BaseCreate
112
112
  * @author SAP SE
113
- * @version 1.108.0
113
+ * @version 1.109.0
114
114
  * @constructor
115
115
  * @private
116
116
  * @since 1.75
@@ -113,7 +113,7 @@ sap.ui.define([
113
113
  * @class Context - Dialog for IFrame settings in Runtime Authoring
114
114
  * @extends sap.ui.base.ManagedObject
115
115
  * @author SAP SE
116
- * @version 1.108.0
116
+ * @version 1.109.0
117
117
  * @constructor
118
118
  * @private
119
119
  * @since 1.78
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @author SAP SE
26
26
  * @experimental Since 1.58
27
27
  * @since 1.58
28
- * @version 1.108.0
28
+ * @version 1.109.0
29
29
  * @private
30
30
  * @ui5-restricted
31
31
  *
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @author SAP SE
32
32
  * @experimental Since 1.58
33
33
  * @since 1.58
34
- * @version 1.108.0
34
+ * @version 1.109.0
35
35
  * @private
36
36
  * @ui5-restricted
37
37
  */
@@ -117,7 +117,7 @@ sap.ui.define([
117
117
  *
118
118
  * @method sap.ui.rta.service.ControllerExtension.getTemplate
119
119
  * @param {string} sViewId - ID of the view whose template should be retrieved
120
- * @return {Promise} Promise that resolves with the template as string or rejects when the file was not found
120
+ * @return {Promise<string>} Promise that resolves with the template as string or rejects when the file was not found
121
121
  * @public
122
122
  */
123
123
  getTemplate: function(sViewId) {
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @author SAP SE
45
45
  * @experimental Since 1.56
46
46
  * @since 1.56
47
- * @version 1.108.0
47
+ * @version 1.109.0
48
48
  * @private
49
49
  * @ui5-restricted
50
50
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @author SAP SE
29
29
  * @experimental Since 1.58
30
30
  * @since 1.58
31
- * @version 1.108.0
31
+ * @version 1.109.0
32
32
  * @private
33
33
  * @ui5-restricted
34
34
  */
@@ -15,7 +15,7 @@ sap.ui.define(function () {
15
15
  * @author SAP SE
16
16
  * @experimental Since 1.58
17
17
  * @since 1.58
18
- * @version 1.108.0
18
+ * @version 1.109.0
19
19
  * @private
20
20
  * @ui5-restricted
21
21
  */
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @author SAP SE
28
28
  * @experimental Since 1.106
29
29
  * @since 1.106
30
- * @version 1.108.0
30
+ * @version 1.109.0
31
31
  * @private
32
32
  * @ui5-restricted
33
33
  */
@@ -2,6 +2,7 @@
2
2
  Style of the RTA Toolbar (type: adaptation) - base Theme
3
3
  *******************************************************************/
4
4
  @_sap_ui_rta_Toolbar_Adaptation_BaseColor: darken(desaturate(@sapUiChart1, 48%), 14%); //#435060
5
+ @_sap_ui_rta_Toolbar_Adaptation_BaseColorLight: lighten(@_sap_ui_rta_Toolbar_Adaptation_BaseColor, 5%); //#4d5d6f
5
6
  @_sap_ui_rta_Toolbar_Adaptation_TextColor: @sapUiTextInverted; //#fff
6
7
  @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorder: @sapUiTextInverted; //#fff
7
8
  @_sap_ui_rta_Toolbar_Adaptation_BtnHoverBG: @sapUiSegmentedButtonHoverBackground; //#ec8b46
@@ -164,12 +165,10 @@
164
165
 
165
166
  .sapUiRtaVersionHistory {
166
167
  background-color: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
167
- border: 0.125rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor; //2px
168
- border-image: repeating-linear-gradient(-45deg, @_sap_ui_rta_Toolbar_Adaptation_BaseColor, @_sap_ui_rta_Toolbar_Adaptation_BaseColor 0.25rem, @_sap_ui_rta_Toolbar_Adaptation_TextColor 0.25rem, @_sap_ui_rta_Toolbar_Adaptation_TextColor 0.375rem) 4;
169
- box-shadow: 0 0.625rem 1.25rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor, 19),
170
- 0 0.375rem 0.375rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor, 23),
168
+ box-shadow: 0.375rem 0.625rem 2rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor, 30),
169
+ 0.125rem 0.375rem 1rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor, 60),
171
170
  0 0 0 0.0625rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor, 20),
172
- 0 0.0625rem 0 0 fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor, 20);
171
+ 0 0.0625rem 0 0 fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor, 20); //10px 20px 6px 6px 1px 1px
173
172
 
174
173
  .sapMGHLITitle {
175
174
  color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
@@ -192,9 +191,24 @@
192
191
  }
193
192
 
194
193
  .sapUiRtaVersionsList {
195
- border-bottom: 0.05rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
196
- ul > li:first-child.sapMLIBFocusable:focus {
197
- outline: none;
194
+ border-bottom: 0.125rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
195
+ .sapMLIBTypeInactive {
196
+ &.sapMLIBFocusable:focus {
197
+ outline: none;
198
+ }
199
+ .sapMLIBContent {
200
+ margin-top: -1rem;
201
+ }
202
+ .sapMGHLITitle {
203
+ cursor: default;
204
+ text-align: center;
205
+ width: 100%;
206
+ }
207
+ }
208
+ .sapMListUl .sapMLIB.sapMGHLI {
209
+ border-bottom: 0.0625rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
210
+ background: @_sap_ui_rta_Toolbar_Adaptation_BaseColorLight;
211
+ box-shadow: none;
198
212
  }
199
213
  }
200
214
 
@@ -219,13 +233,16 @@
219
233
  cursor: pointer;
220
234
  }
221
235
 
222
- .sapMPopoverArr:after,
223
236
  .sapMFeedListShowSeparatorsAll.sapMLIB,
224
237
  .sapMListTblCell,
225
238
  .sapMListTblNavCol {
226
239
  background-color: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
227
240
  border: 0;
228
241
  }
242
+ .sapMPopoverArr:after {
243
+ background-color: lighten(@_sap_ui_rta_Toolbar_Adaptation_BaseColor, 10%);
244
+ border: 0;
245
+ }
229
246
 
230
247
  .sapMLIBFocusable:focus {
231
248
  outline: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_TextColor;
@@ -149,17 +149,6 @@
149
149
  <OverflowToolbarLayoutData priority="NeverOverflow" />
150
150
  </layoutData>
151
151
  </Button>
152
- <toolbar:OverflowToolbarButton
153
- id="sapUiRta_publish"
154
- enabled="{controls>/publishEnabled}"
155
- visible="{= (${controls>/publishVisible} &amp;&amp; !${versions>/versioningEnabled} &amp;&amp; ${controls>/modeSwitcher} === 'adaptation')}"
156
- press=".publish"
157
- type="Transparent"
158
- text="{i18n>BTN_PUBLISH}" >
159
- <toolbar:layoutData>
160
- <OverflowToolbarLayoutData priority="High" />
161
- </toolbar:layoutData>
162
- </toolbar:OverflowToolbarButton>
163
152
  <toolbar:OverflowToolbarButton
164
153
  id="sapUiRta_restore"
165
154
  enabled="{controls>/restoreEnabled}"
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.rta.toolbar.Base
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.108.0
38
+ * @version 1.109.0
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -57,7 +57,6 @@ sap.ui.define([
57
57
  exit: {},
58
58
  save: {},
59
59
  restore: {},
60
- transport: {},
61
60
  publishVersion: {},
62
61
  modeChange: {},
63
62
  activate: {},
@@ -213,7 +212,6 @@ sap.ui.define([
213
212
  saveAsContextBasedAdaptation: onSaveAsContextBasedAdaptation.bind(this),
214
213
  formatSaveAsEnabled: formatSaveAsEnabled,
215
214
  restore: this.eventHandler.bind(this, "Restore"),
216
- publish: this.eventHandler.bind(this, "Transport"),
217
215
  publishVersion: this.eventHandler.bind(this, "PublishVersion"),
218
216
  exit: this.eventHandler.bind(this, "Exit"),
219
217
  formatVersionButtonText: this.formatVersionButtonText.bind(this),
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.m.HBox
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.108.0
30
+ * @version 1.109.0
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.rta.toolbar.Adaptation
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.108.0
35
+ * @version 1.109.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.108.0
23
+ * @version 1.109.0
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.OverflowToolbarButton
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.108.0
26
+ * @version 1.109.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -22,7 +22,7 @@ function(
22
22
  * @extends sap.ui.rta.toolbar.Base
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.108.0
25
+ * @version 1.109.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.108.0
23
+ * @version 1.109.0
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @class
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.108.0
31
+ * @version 1.109.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @class
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.108.0
52
+ * @version 1.109.0
53
53
  *
54
54
  * @constructor
55
55
  * @private
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @class
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.108.0
39
+ * @version 1.109.0
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * Constructor for a new sap.ui.rta.util.PluginManager
69
69
  * @extends sap.ui.base.ManagedObject
70
70
  * @author SAP SE
71
- * @version 1.108.0
71
+ * @version 1.109.0
72
72
  * @constructor
73
73
  * @private
74
74
  * @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.108.0
45
+ * @version 1.109.0
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.108.0
33
+ * @version 1.109.0
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.108.0
22
+ * @version 1.109.0
23
23
  * @private
24
24
  * @since 1.56.0
25
25
  * @alias sap.ui.rta.util.ServiceEventBus
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
41
41
  * @author SAP SE
42
42
  * @since 1.84.0
43
- * @version 1.108.0
43
+ * @version 1.109.0
44
44
  * @private
45
45
  */
46
46
  var ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
@@ -372,6 +372,7 @@ sap.ui.define([
372
372
  this._iOldTabIndex = this.getDomRef().getAttribute("tabindex");
373
373
  Fragment.load({
374
374
  name: "sap.ui.rta.util.changeVisualization.ChangeIndicatorPopover",
375
+ id: this.sId + "Info",
375
376
  controller: this
376
377
  }).then(function(oPopover) {
377
378
  oPopover._bOpenedByChangeIndicator = true;
@@ -4,20 +4,21 @@
4
4
  xmlns:l="sap.ui.layout">
5
5
  <Popover
6
6
  showHeader="false"
7
- placement="Bottom">
7
+ placement="Bottom"
8
+ id="popover">
8
9
  <SegmentedButton selectedKey="satellite" width="420px" selectionChange=".onVersioningCategoryChange">
9
10
  <items>
10
- <SegmentedButtonItem
11
- text="{i18n>BUT_CHANGEVISUALIZATION_VERSIONING_ALL}"
11
+ <SegmentedButtonItem
12
+ text="{i18n>BUT_CHANGEVISUALIZATION_VERSIONING_ALL}"
12
13
  key="all"/>
13
- <SegmentedButtonItem
14
- text="{i18n>BUT_CHANGEVISUALIZATION_VERSIONING_DRAFT}"
15
- key="draft"
16
- visible="{visualizationModel>/versioningAvailable}"
14
+ <SegmentedButtonItem
15
+ text="{i18n>BUT_CHANGEVISUALIZATION_VERSIONING_DRAFT}"
16
+ key="draft"
17
+ visible="{visualizationModel>/versioningAvailable}"
17
18
  enabled="{= ${visualizationModel>/hasDraftChanges} || ${visualizationModel>/hasDirtyChanges}}"/>
18
- <SegmentedButtonItem
19
+ <SegmentedButtonItem
19
20
  text="{i18n>BUT_CHANGEVISUALIZATION_VERSIONING_DIRTY}"
20
- key="dirty"
21
+ key="dirty"
21
22
  enabled="{visualizationModel>/hasDirtyChanges}"/>
22
23
  </items>
23
24
  </SegmentedButton>
@@ -5,6 +5,7 @@
5
5
  <Popover
6
6
  showHeader="false"
7
7
  placement="PreferredTopOrFlip"
8
+ id="popover"
8
9
  class="sapUiRtaPopover sapUiRtaChangeVisualizationPopover">
9
10
  <Table
10
11
  ariaLabelledBy="Changes"
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
40
40
  * @author SAP SE
41
41
  * @since 1.86.0
42
- * @version 1.108.0
42
+ * @version 1.109.0
43
43
  * @private
44
44
  */
45
45
  var ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
@@ -196,7 +196,7 @@ sap.ui.define([
196
196
 
197
197
  if (oChange.getState() === "NEW") {
198
198
  aChangeStates = [ChangeStates.DIRTY, ChangeStates.DRAFT];
199
- } else if (aDraftChangesList && aDraftChangesList.includes(oChange.getFileName())) {
199
+ } else if (aDraftChangesList && aDraftChangesList.includes(oChange.getId())) {
200
200
  aChangeStates = [ChangeStates.DRAFT];
201
201
  } else {
202
202
  aChangeStates = [ChangeStates.ACTIVATED];
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
60
60
  * @author SAP SE
61
61
  * @since 1.84.0
62
- * @version 1.108.0
62
+ * @version 1.109.0
63
63
  * @private
64
64
  */
65
65
  var ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
@@ -228,7 +228,7 @@ sap.ui.define([
228
228
  if (!oPopover) {
229
229
  Fragment.load({
230
230
  name: "sap.ui.rta.util.changeVisualization.ChangeIndicatorCategorySelection",
231
- id: this._getComponent().createId("changeVisualization_changesListPopover"),
231
+ id: this._getComponent().createId("changeVisualization_changesList"),
232
232
  controller: this
233
233
  })
234
234
  .then(function(oPopover) {