@openui5/sap.ui.rta 1.95.0 → 1.96.3

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 (150) hide show
  1. package/.reuse/dep5 +10 -5
  2. package/THIRDPARTY.txt +17 -8
  3. package/package.json +6 -6
  4. package/src/sap/ui/rta/.library +1 -1
  5. package/src/sap/ui/rta/Client.js +1 -1
  6. package/src/sap/ui/rta/RuntimeAuthoring.js +106 -69
  7. package/src/sap/ui/rta/Utils.js +1 -1
  8. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +4 -3
  9. package/src/sap/ui/rta/appVariant/AppVariantManager.js +24 -17
  10. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +107 -78
  11. package/src/sap/ui/rta/appVariant/Feature.js +5 -12
  12. package/src/sap/ui/rta/appVariant/Utils.js +10 -2
  13. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +35 -20
  14. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  15. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  16. package/src/sap/ui/rta/command/AddXML.js +1 -1
  17. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  18. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  19. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  20. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  21. package/src/sap/ui/rta/command/Combine.js +1 -1
  22. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  23. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  24. package/src/sap/ui/rta/command/ControlVariantConfigure.js +4 -4
  25. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  26. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +7 -4
  27. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +7 -7
  28. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  29. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  30. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  31. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  32. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  33. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  34. package/src/sap/ui/rta/command/Move.js +1 -1
  35. package/src/sap/ui/rta/command/Property.js +1 -1
  36. package/src/sap/ui/rta/command/Remove.js +1 -1
  37. package/src/sap/ui/rta/command/Rename.js +1 -1
  38. package/src/sap/ui/rta/command/Reveal.js +1 -1
  39. package/src/sap/ui/rta/command/Settings.js +1 -1
  40. package/src/sap/ui/rta/command/Split.js +1 -1
  41. package/src/sap/ui/rta/command/Stack.js +1 -1
  42. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  43. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  44. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  45. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  46. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  47. package/src/sap/ui/rta/library.js +2 -2
  48. package/src/sap/ui/rta/messagebundle.properties +6 -6
  49. package/src/sap/ui/rta/messagebundle_ar.properties +6 -6
  50. package/src/sap/ui/rta/messagebundle_bg.properties +6 -6
  51. package/src/sap/ui/rta/messagebundle_ca.properties +6 -6
  52. package/src/sap/ui/rta/messagebundle_cs.properties +6 -6
  53. package/src/sap/ui/rta/messagebundle_cy.properties +6 -6
  54. package/src/sap/ui/rta/messagebundle_da.properties +6 -6
  55. package/src/sap/ui/rta/messagebundle_de.properties +6 -6
  56. package/src/sap/ui/rta/messagebundle_el.properties +6 -6
  57. package/src/sap/ui/rta/messagebundle_en.properties +6 -6
  58. package/src/sap/ui/rta/messagebundle_en_GB.properties +6 -6
  59. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +6 -6
  60. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +14 -7
  61. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +6 -6
  62. package/src/sap/ui/rta/messagebundle_es.properties +6 -6
  63. package/src/sap/ui/rta/messagebundle_es_MX.properties +6 -6
  64. package/src/sap/ui/rta/messagebundle_et.properties +6 -6
  65. package/src/sap/ui/rta/messagebundle_fi.properties +6 -6
  66. package/src/sap/ui/rta/messagebundle_fr.properties +6 -6
  67. package/src/sap/ui/rta/messagebundle_fr_CA.properties +6 -6
  68. package/src/sap/ui/rta/messagebundle_hi.properties +6 -6
  69. package/src/sap/ui/rta/messagebundle_hr.properties +6 -6
  70. package/src/sap/ui/rta/messagebundle_hu.properties +6 -6
  71. package/src/sap/ui/rta/messagebundle_id.properties +6 -6
  72. package/src/sap/ui/rta/messagebundle_it.properties +6 -6
  73. package/src/sap/ui/rta/messagebundle_iw.properties +6 -6
  74. package/src/sap/ui/rta/messagebundle_ja.properties +6 -6
  75. package/src/sap/ui/rta/messagebundle_kk.properties +6 -6
  76. package/src/sap/ui/rta/messagebundle_ko.properties +6 -6
  77. package/src/sap/ui/rta/messagebundle_lt.properties +6 -6
  78. package/src/sap/ui/rta/messagebundle_lv.properties +6 -6
  79. package/src/sap/ui/rta/messagebundle_ms.properties +6 -6
  80. package/src/sap/ui/rta/messagebundle_nl.properties +6 -6
  81. package/src/sap/ui/rta/messagebundle_no.properties +6 -6
  82. package/src/sap/ui/rta/messagebundle_pl.properties +6 -6
  83. package/src/sap/ui/rta/messagebundle_pt.properties +6 -6
  84. package/src/sap/ui/rta/messagebundle_pt_PT.properties +6 -6
  85. package/src/sap/ui/rta/messagebundle_ro.properties +6 -6
  86. package/src/sap/ui/rta/messagebundle_ru.properties +6 -6
  87. package/src/sap/ui/rta/messagebundle_sh.properties +6 -6
  88. package/src/sap/ui/rta/messagebundle_sk.properties +6 -6
  89. package/src/sap/ui/rta/messagebundle_sl.properties +6 -6
  90. package/src/sap/ui/rta/messagebundle_sv.properties +6 -6
  91. package/src/sap/ui/rta/messagebundle_th.properties +6 -6
  92. package/src/sap/ui/rta/messagebundle_tr.properties +6 -6
  93. package/src/sap/ui/rta/messagebundle_uk.properties +6 -6
  94. package/src/sap/ui/rta/messagebundle_vi.properties +6 -6
  95. package/src/sap/ui/rta/messagebundle_zh_CN.properties +6 -6
  96. package/src/sap/ui/rta/messagebundle_zh_TW.properties +6 -6
  97. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.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/CompVariant.js +1 -2
  101. package/src/sap/ui/rta/plugin/ControlVariant.js +10 -5
  102. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  103. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  104. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  105. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  106. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  107. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  108. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  109. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  110. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  111. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  112. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -1
  113. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  114. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  115. package/src/sap/ui/rta/plugin/Split.js +1 -1
  116. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  117. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  118. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.fragment.xml +74 -0
  119. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +97 -260
  120. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +29 -16
  121. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  122. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  123. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +8 -5
  124. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +31 -29
  125. package/src/sap/ui/rta/service/Action.js +1 -1
  126. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  127. package/src/sap/ui/rta/service/Outline.js +1 -1
  128. package/src/sap/ui/rta/service/Property.js +1 -1
  129. package/src/sap/ui/rta/service/Selection.js +1 -1
  130. package/src/sap/ui/rta/{assets/InPageStyles.css → themes/base/OverlayWithScrollbar.less} +14 -12
  131. package/src/sap/ui/rta/themes/base/Toolbar.base.less +12 -1
  132. package/src/sap/ui/rta/themes/base/library.source.less +3 -1
  133. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +26 -14
  134. package/src/sap/ui/rta/toolbar/Adaptation.js +3 -3
  135. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  136. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  137. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  138. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  139. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  140. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  141. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  142. package/src/sap/ui/rta/util/PluginManager.js +2 -4
  143. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  144. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  145. package/src/sap/ui/rta/util/adaptationStarter.js +3 -3
  146. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  147. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  148. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +52 -79
  149. package/ui5.yaml +4 -1
  150. package/src/sap/ui/rta/util/changeVisualization/ChangesListPopover.fragment.xml +0 -23
@@ -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.95.0
116
+ * @version 1.96.3
117
117
  * @constructor
118
118
  * @private
119
119
  * @since 1.78
@@ -206,37 +206,39 @@ sap.ui.define([
206
206
  * Helper to extract current context URL parameters for the URL builder
207
207
  *
208
208
  * @param {sap.ui.base.ManagedObject} oObject - Managed object to extract the context from
209
- * @return {object[]} - Parameters array for URL builder exposed by the Add IFrame dialog
209
+ * @return {Promise<object[]>} Resolving to parameters array for URL builder exposed by the Add IFrame dialog
210
210
  */
211
211
  AddIFrameDialog.buildUrlBuilderParametersFor = function(oObject) {
212
- var oUserInfo = getContainerUserInfo();
213
- var oUserParameters = Object.keys(oUserInfo)
214
- .map(function(sUserSetting) {
215
- return {
216
- label: sUserSetting,
217
- key: "{$user>/" + sUserSetting + "}",
218
- value: oUserInfo[sUserSetting]
219
- };
212
+ return getContainerUserInfo()
213
+ .then(function(oUserInfo) {
214
+ var oUserParameters = Object.keys(oUserInfo)
215
+ .map(function(sUserSetting) {
216
+ return {
217
+ label: sUserSetting,
218
+ key: "{$user>/" + sUserSetting + "}",
219
+ value: oUserInfo[sUserSetting]
220
+ };
221
+ });
222
+ var oBindingContext = oObject.getBindingContext();
223
+ var oDefaultBoundObjectParameters;
224
+ if (oBindingContext) {
225
+ var oDefaultBoundObject = oBindingContext.getObject();
226
+ oDefaultBoundObjectParameters = Object.keys(oDefaultBoundObject)
227
+ .filter(function(sProperty) {
228
+ return typeof oDefaultBoundObject[sProperty] !== "object";
229
+ })
230
+ .map(function(sProperty) {
231
+ return {
232
+ label: sProperty,
233
+ key: "{" + sProperty + "}",
234
+ value: oDefaultBoundObject[sProperty]
235
+ };
236
+ });
237
+ } else {
238
+ oDefaultBoundObjectParameters = [];
239
+ }
240
+ return oUserParameters.concat(oDefaultBoundObjectParameters);
220
241
  });
221
- var oBindingContext = oObject.getBindingContext();
222
- var oDefaultBoundObjectParameters;
223
- if (oBindingContext) {
224
- var oDefaultBoundObject = oBindingContext.getObject();
225
- oDefaultBoundObjectParameters = Object.keys(oDefaultBoundObject)
226
- .filter(function(sProperty) {
227
- return typeof oDefaultBoundObject[sProperty] !== "object";
228
- })
229
- .map(function(sProperty) {
230
- return {
231
- label: sProperty,
232
- key: "{" + sProperty + "}",
233
- value: oDefaultBoundObject[sProperty]
234
- };
235
- });
236
- } else {
237
- oDefaultBoundObjectParameters = [];
238
- }
239
- return oUserParameters.concat(oDefaultBoundObjectParameters);
240
242
  };
241
243
 
242
244
  return AddIFrameDialog;
@@ -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.95.0
28
+ * @version 1.96.3
29
29
  * @private
30
30
  * @ui5-restricted
31
31
  *
@@ -30,7 +30,7 @@ function (
30
30
  * @author SAP SE
31
31
  * @experimental Since 1.58
32
32
  * @since 1.58
33
- * @version 1.95.0
33
+ * @version 1.96.3
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @author SAP SE
43
43
  * @experimental Since 1.56
44
44
  * @since 1.56
45
- * @version 1.95.0
45
+ * @version 1.96.3
46
46
  * @private
47
47
  * @ui5-restricted
48
48
  */
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @author SAP SE
31
31
  * @experimental Since 1.58
32
32
  * @since 1.58
33
- * @version 1.95.0
33
+ * @version 1.96.3
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -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.95.0
18
+ * @version 1.96.3
19
19
  * @private
20
20
  * @ui5-restricted
21
21
  */
@@ -1,34 +1,36 @@
1
- /**
2
- Content of this file inserts automatically into the page when RTA starts
3
- */
1
+ @_sap_ui_rta_OverlayWithScrollbar_scrollWidth: var(--sap-ui-rta-scrollbar-scrollWidth);
2
+ @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo: var(--sap-ui-rta-scrollbar-scrollWidthPlusTwo);
4
3
 
5
4
  .sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:after {
6
- right: %scrollWidth%;
5
+ inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
7
6
  }
8
7
 
9
8
  .sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:after {
10
- bottom: %scrollWidth%;
9
+ inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
11
10
  }
12
11
 
13
12
  .sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:focus:before {
14
- right: calc(%scrollWidth% + 2px);
13
+ inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
15
14
  }
15
+
16
16
  .sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:focus:before {
17
- bottom: calc(%scrollWidth% + 2px);
17
+ inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
18
18
  }
19
19
 
20
20
  .sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:focus:before {
21
- right: calc(%scrollWidth% + 2px);
21
+ inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
22
22
  }
23
+
23
24
  .sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:focus:before {
24
- bottom: calc(%scrollWidth% + 2px);
25
+ inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
25
26
  }
26
27
 
27
28
  .sapUiRta .sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:focus:before,
28
29
  .sapUiRta .sapUiRtaOverlayHover.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:after {
29
- bottom: %scrollWidth%;
30
+ inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
30
31
  }
32
+
31
33
  .sapUiRta .sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:focus:before,
32
34
  .sapUiRta .sapUiRtaOverlayHover.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:after {
33
- right: %scrollWidth%;
34
- }
35
+ inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
36
+ }
@@ -4,6 +4,8 @@
4
4
  @_sap_ui_rta_Toolbar_Base_SegBBtnHoverBG: lighten(@sapSelectedColor,32%); //#c2e2f9
5
5
  @_sap_ui_rta_Toolbar_Base_TextColor: @sapUiWhite; //#fff
6
6
  @_sap_ui_rta_Toolbar_Base_BaseColor: darken(desaturate(@sapChart_OrderedColor_1, 48%), 14%); //#435060
7
+ @_sap_ui_rta_Toolbar_Base_BorderColor: @sapUiMediumBG;
8
+ @_sap_ui_rta_Toolbar_Base_BtnHoverColor: @sapUiButtonHoverTextColor;
7
9
 
8
10
  .sapUiRtaMode {
9
11
 
@@ -28,10 +30,16 @@
28
30
 
29
31
  .sapMBtnTransparent,
30
32
  :not(.sapMBtnDisabled) .sapMBtnTransparent > .sapMBtnIcon,
31
- :not(.sapMBtnDisabled) .sapMBtnGhost > .sapMBtnIcon {
33
+ :not(.sapMBtnDisabled) .sapMBtnGhost > .sapMBtnIcon,
34
+ :not(.sapMBtnDisabled) .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
32
35
  color: @_sap_ui_rta_Toolbar_Base_TextColor;
33
36
  }
34
37
 
38
+ :not(.sapMBtnDisabled) .sapMMenuBtn:hover.sapMMenuBtnRegular .sapMBtnInner::after {
39
+ color: @_sap_ui_rta_Toolbar_Base_BtnHoverColor;
40
+ }
41
+
42
+
35
43
  .sapMSegB > .sapMSegBBtn .sapMSegBBtnInner {
36
44
  background-color: @_sap_ui_rta_Toolbar_Base_BaseColor;
37
45
  color: @_sap_ui_rta_Toolbar_Base_TextColor;
@@ -110,6 +118,9 @@
110
118
  }
111
119
  }
112
120
  }
121
+ .sapUiRtaToolbarVisualizationSelection li:first-child {
122
+ border-bottom: 1px solid @_sap_ui_rta_Toolbar_Base_BorderColor;
123
+ }
113
124
  }
114
125
  .sapUiSizeCozy {
115
126
  .sapUiRtaToolbar {
@@ -16,4 +16,6 @@
16
16
  @import "FieldRepository.less";
17
17
  @import "Overlay.less";
18
18
  @import "MessageBox.less";
19
- @import "AddIFrame.less";
19
+ @import "AddIFrame.less";
20
+
21
+ @import "OverlayWithScrollbar.less";
@@ -99,12 +99,36 @@
99
99
  <OverflowToolbarLayoutData priority="Low" />
100
100
  </toolbar:layoutData>
101
101
  </toolbar:OverflowToolbarButton>
102
+ <MenuButton
103
+ id="sapUiRta_toggleChangeVisualizationMenuButton"
104
+ visible="{= ${controls>/modeSwitcher} === 'visualization'}"
105
+ text="{visualizationModel>/commandCategoryText}"
106
+ type="Transparent"
107
+ tooltip="{i18n>BUT_CHANGEVISUALIZATION_SELECTCHANGES}">
108
+ <menu>
109
+ <Menu
110
+ id="sapUiRta_changesList"
111
+ items="{visualizationModel>/commandCategories/}"
112
+ itemSelected=".onCommandCategorySelection"
113
+ class="sapUiRtaToolbarVisualizationSelection">
114
+ <MenuItem
115
+ id="sapUiRta_changesListItem"
116
+ text="{visualizationModel>title}"
117
+ key="{visualizationModel>key}"
118
+ icon="{visualizationModel>icon}"
119
+ enabled="{= ${visualizationModel>count} > 0}"/>
120
+ </Menu>
121
+ </menu>
122
+ <layoutData>
123
+ <OverflowToolbarLayoutData priority="NeverOverflow" />
124
+ </layoutData>
125
+ </MenuButton>
102
126
  <Button
103
127
  id="sapUiRta_undo"
104
128
  icon="sap-icon://undo"
105
129
  press=".undo"
106
130
  enabled="{controls>/undoEnabled}"
107
- visible="{= (${controls>/modeSwitcher} === 'visualization' || ${controls>/modeSwitcher} === 'adaptation')}"
131
+ visible="{= ${controls>/modeSwitcher} === 'adaptation'}"
108
132
  type="Transparent"
109
133
  tooltip="{i18n>BTN_UNDO}" >
110
134
  <layoutData>
@@ -116,25 +140,13 @@
116
140
  icon="sap-icon://redo"
117
141
  press=".redo"
118
142
  enabled="{controls>/redoEnabled}"
119
- visible="{= (${controls>/modeSwitcher} === 'visualization' || ${controls>/modeSwitcher} === 'adaptation')}"
143
+ visible="{= ${controls>/modeSwitcher} === 'adaptation'}"
120
144
  type="Transparent"
121
145
  tooltip="{i18n>BTN_REDO}" >
122
146
  <layoutData>
123
147
  <OverflowToolbarLayoutData priority="NeverOverflow" />
124
148
  </layoutData>
125
149
  </Button>
126
- <toolbar:OverflowToolbarButton
127
- id="sapUiRta_toggleChangeVisualizationPopoverButton"
128
- icon="sap-icon://show"
129
- press=".toggleChangeVisualizationPopover"
130
- visible="{= ${controls>/modeSwitcher} === 'visualization'}"
131
- type="Transparent"
132
- text="{i18n>BTN_CHANGEVISUALIZATION_OVERVIEW_ALL}"
133
- tooltip="{i18n>BUT_CHANGEVISUALIZATION_SELECTCHANGES}">
134
- <toolbar:layoutData>
135
- <OverflowToolbarLayoutData priority="Low" />
136
- </toolbar:layoutData>
137
- </toolbar:OverflowToolbarButton>
138
150
  <toolbar:OverflowToolbarButton
139
151
  id="sapUiRta_publish"
140
152
  enabled="{controls>/publishEnabled}"
@@ -39,7 +39,7 @@ function(
39
39
  * @extends sap.ui.rta.toolbar.Base
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.95.0
42
+ * @version 1.96.3
43
43
  *
44
44
  * @constructor
45
45
  * @private
@@ -65,7 +65,7 @@ function(
65
65
  activate: {},
66
66
  discardDraft: {},
67
67
  switchVersion: {},
68
- toggleChangeVisualizationPopover: {}
68
+ onCommandCategorySelection: {}
69
69
  }
70
70
  }
71
71
  });
@@ -335,7 +335,7 @@ function(
335
335
  showTranslationPopover: this.showTranslationPopover.bind(this),
336
336
  undo: this.eventHandler.bind(this, "Undo"),
337
337
  redo: this.eventHandler.bind(this, "Redo"),
338
- toggleChangeVisualizationPopover: this.eventHandler.bind(this, "ToggleChangeVisualizationPopover"),
338
+ onCommandCategorySelection: this.eventHandler.bind(this, "OnCommandCategorySelection"),
339
339
  manageApps: onManageAppsPressed.bind(this),
340
340
  appVariantOverview: onOverviewPressed.bind(this),
341
341
  saveAs: onSaveAsPressed.bind(this),
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.m.HBox
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.95.0
28
+ * @version 1.96.3
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.rta.toolbar.Adaptation
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.95.0
35
+ * @version 1.96.3
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.95.0
23
+ * @version 1.96.3
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -24,7 +24,7 @@ function(
24
24
  * @extends sap.m.OverflowToolbarButton
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.95.0
27
+ * @version 1.96.3
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -22,7 +22,7 @@ function(
22
22
  * @extends sap.ui.rta.toolbar.Base
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.95.0
25
+ * @version 1.96.3
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.95.0
23
+ * @version 1.96.3
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @class
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.95.0
56
+ * @version 1.96.3
57
57
  *
58
58
  * @constructor
59
59
  * @private
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * Constructor for a new sap.ui.rta.util.PluginManager
67
67
  * @extends sap.ui.base.ManagedObject
68
68
  * @author SAP SE
69
- * @version 1.95.0
69
+ * @version 1.96.3
70
70
  * @constructor
71
71
  * @private
72
72
  * @since 1.86
@@ -153,9 +153,7 @@ sap.ui.define([
153
153
  });
154
154
 
155
155
  this._mDefaultPlugins["additionalElements"] = new AdditionalElementsPlugin({
156
- commandFactory: this._oCommandFactory,
157
- analyzer: AdditionalElementsAnalyzer,
158
- dialog: new AdditionalElementsDialog()
156
+ commandFactory: this._oCommandFactory
159
157
  });
160
158
 
161
159
  this._mDefaultPlugins["createContainer"] = new CreateContainerPlugin({
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * Constructor for a new sap.ui.rta.util.PopupManager
42
42
  * @extends sap.ui.base.ManagedObject
43
43
  * @author SAP SE
44
- * @version 1.95.0
44
+ * @version 1.96.3
45
45
  * @constructor
46
46
  * @private
47
47
  * @since 1.48
@@ -19,7 +19,7 @@ function(
19
19
  *
20
20
  * @extends sap.ui.core.EventBus
21
21
  * @author SAP SE
22
- * @version 1.95.0
22
+ * @version 1.96.3
23
23
  * @private
24
24
  * @since 1.56.0
25
25
  * @alias sap.ui.rta.util.ServiceEventBus
@@ -5,7 +5,7 @@
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ui/rta/RuntimeAuthoring",
8
- "sap/ui/core/Element",
8
+ "sap/ui/core/Control",
9
9
  "sap/ui/fl/Utils",
10
10
  "sap/ui/fl/Layer",
11
11
  "sap/ui/fl/write/api/FeaturesAPI",
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  "sap/base/Log"
14
14
  ], function(
15
15
  RuntimeAuthoring,
16
- Element,
16
+ Control,
17
17
  FlexUtils,
18
18
  Layer,
19
19
  FeaturesAPI,
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @private
48
48
  */
49
49
  function adaptationStarter(mOptions, loadPlugins, onStart, onFailed, onStop) {
50
- if (!(mOptions.rootControl instanceof Element) && !(mOptions.rootControl instanceof UIComponent)) {
50
+ if (!(mOptions.rootControl instanceof Control) && !(mOptions.rootControl instanceof UIComponent)) {
51
51
  return Promise.reject(new Error("An invalid root control was passed"));
52
52
  }
53
53
 
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
40
40
  * @author SAP SE
41
41
  * @since 1.84.0
42
- * @version 1.95.0
42
+ * @version 1.96.3
43
43
  * @private
44
44
  * @ui5-restricted
45
45
  */
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
26
26
  * @author SAP SE
27
27
  * @since 1.86.0
28
- * @version 1.95.0
28
+ * @version 1.96.3
29
29
  * @private
30
30
  * @ui5-restricted
31
31
  */