@openui5/sap.ui.rta 1.121.1 → 1.122.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 (148) 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 +40 -47
  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/AppDescriptorCommand.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/FlexCommand.js +1 -1
  26. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  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 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  41. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  42. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  43. package/src/sap/ui/rta/library.js +2 -2
  44. package/src/sap/ui/rta/messagebundle.properties +1 -5
  45. package/src/sap/ui/rta/messagebundle_ar.properties +2 -4
  46. package/src/sap/ui/rta/messagebundle_bg.properties +2 -4
  47. package/src/sap/ui/rta/messagebundle_ca.properties +1 -3
  48. package/src/sap/ui/rta/messagebundle_cnr.properties +1 -3
  49. package/src/sap/ui/rta/messagebundle_cs.properties +2 -4
  50. package/src/sap/ui/rta/messagebundle_cy.properties +2 -4
  51. package/src/sap/ui/rta/messagebundle_da.properties +2 -4
  52. package/src/sap/ui/rta/messagebundle_de.properties +2 -4
  53. package/src/sap/ui/rta/messagebundle_el.properties +2 -4
  54. package/src/sap/ui/rta/messagebundle_en.properties +2 -4
  55. package/src/sap/ui/rta/messagebundle_en_GB.properties +2 -4
  56. package/src/sap/ui/rta/messagebundle_es.properties +1 -3
  57. package/src/sap/ui/rta/messagebundle_es_MX.properties +1 -3
  58. package/src/sap/ui/rta/messagebundle_et.properties +1 -3
  59. package/src/sap/ui/rta/messagebundle_fi.properties +1 -3
  60. package/src/sap/ui/rta/messagebundle_fr.properties +1 -3
  61. package/src/sap/ui/rta/messagebundle_fr_CA.properties +2 -4
  62. package/src/sap/ui/rta/messagebundle_hi.properties +1 -3
  63. package/src/sap/ui/rta/messagebundle_hr.properties +2 -4
  64. package/src/sap/ui/rta/messagebundle_hu.properties +1 -3
  65. package/src/sap/ui/rta/messagebundle_id.properties +2 -4
  66. package/src/sap/ui/rta/messagebundle_it.properties +1 -3
  67. package/src/sap/ui/rta/messagebundle_iw.properties +1 -3
  68. package/src/sap/ui/rta/messagebundle_ja.properties +2 -4
  69. package/src/sap/ui/rta/messagebundle_kk.properties +2 -4
  70. package/src/sap/ui/rta/messagebundle_ko.properties +1 -3
  71. package/src/sap/ui/rta/messagebundle_lt.properties +1 -3
  72. package/src/sap/ui/rta/messagebundle_lv.properties +2 -4
  73. package/src/sap/ui/rta/messagebundle_mk.properties +13 -15
  74. package/src/sap/ui/rta/messagebundle_ms.properties +2 -4
  75. package/src/sap/ui/rta/messagebundle_nl.properties +2 -4
  76. package/src/sap/ui/rta/messagebundle_no.properties +1 -3
  77. package/src/sap/ui/rta/messagebundle_pl.properties +2 -4
  78. package/src/sap/ui/rta/messagebundle_pt.properties +2 -4
  79. package/src/sap/ui/rta/messagebundle_pt_PT.properties +1 -3
  80. package/src/sap/ui/rta/messagebundle_ro.properties +2 -4
  81. package/src/sap/ui/rta/messagebundle_ru.properties +1 -3
  82. package/src/sap/ui/rta/messagebundle_sh.properties +1 -3
  83. package/src/sap/ui/rta/messagebundle_sk.properties +1 -3
  84. package/src/sap/ui/rta/messagebundle_sl.properties +2 -4
  85. package/src/sap/ui/rta/messagebundle_sr.properties +1 -3
  86. package/src/sap/ui/rta/messagebundle_sv.properties +1 -3
  87. package/src/sap/ui/rta/messagebundle_th.properties +1 -3
  88. package/src/sap/ui/rta/messagebundle_tr.properties +1 -3
  89. package/src/sap/ui/rta/messagebundle_uk.properties +2 -4
  90. package/src/sap/ui/rta/messagebundle_vi.properties +2 -4
  91. package/src/sap/ui/rta/messagebundle_zh_CN.properties +1 -3
  92. package/src/sap/ui/rta/messagebundle_zh_TW.properties +2 -4
  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/ControlVariant.js +1 -1
  97. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  98. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  99. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  100. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  101. package/src/sap/ui/rta/plugin/Plugin.js +7 -8
  102. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  103. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  104. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  105. package/src/sap/ui/rta/plugin/RenameHandler.js +20 -5
  106. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  107. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  108. package/src/sap/ui/rta/plugin/Settings.js +7 -2
  109. package/src/sap/ui/rta/plugin/Split.js +1 -1
  110. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  111. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  112. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  113. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  114. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  115. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  116. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  117. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  118. package/src/sap/ui/rta/service/Action.js +1 -1
  119. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  120. package/src/sap/ui/rta/service/Outline.js +7 -7
  121. package/src/sap/ui/rta/service/Property.js +1 -1
  122. package/src/sap/ui/rta/service/Selection.js +1 -1
  123. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  124. package/src/sap/ui/rta/themes/base/Overlay.less +4 -0
  125. package/src/sap/ui/rta/themes/base/library.source.less +0 -1
  126. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +0 -1
  127. package/src/sap/ui/rta/toolbar/Adaptation.js +4 -8
  128. package/src/sap/ui/rta/toolbar/Base.js +7 -3
  129. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  130. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  131. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  132. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  133. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  134. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  135. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  136. package/src/sap/ui/rta/util/PluginManager.js +2 -10
  137. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  138. package/src/sap/ui/rta/util/ReloadManager.js +2 -3
  139. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  140. package/src/sap/ui/rta/util/ServiceManager.js +1 -1
  141. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  142. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  143. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -3
  144. package/src/sap/ui/rta/plugin/EasyAdd.js +0 -217
  145. package/src/sap/ui/rta/plugin/EasyRemove.js +0 -141
  146. package/src/sap/ui/rta/themes/base/Toolbar.personalization.less +0 -29
  147. package/src/sap/ui/rta/themes/sap_hcb/Toolbar.personalization.less +0 -10
  148. package/src/sap/ui/rta/toolbar/Personalization.js +0 -73
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The BaseCreate allows trigger BaseCreate operations on the overlay.
26
26
  * @extends sap.ui.rta.plugin.Plugin
27
27
  * @author SAP SE
28
- * @version 1.121.1
28
+ * @version 1.122.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.75
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class
26
26
  * @extends sap.ui.rta.plugin.Plugin
27
27
  * @author SAP SE
28
- * @version 1.121.1
28
+ * @version 1.122.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.46
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @class The ControlVariant allows propagation of variantManagement key
52
52
  * @extends sap.ui.rta.plugin.Plugin
53
53
  * @author SAP SE
54
- * @version 1.121.1
54
+ * @version 1.122.0
55
55
  * @constructor
56
56
  * @private
57
57
  * @since 1.50
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The CreateContainer allows trigger CreateContainer operations on the overlay
26
26
  * @extends sap.ui.rta.plugin.BaseCreate
27
27
  * @author SAP SE
28
- * @version 1.121.1
28
+ * @version 1.122.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.34
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.dt.plugin.CutPaste
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.121.1
35
+ * @version 1.122.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -33,7 +33,7 @@ function(
33
33
  * @extends sap.ui.dt.plugin.ControlDragDrop
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.121.1
36
+ * @version 1.122.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -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.121.1
44
+ * @version 1.122.0
45
45
  * @constructor
46
46
  * @private
47
47
  * @since 1.90
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @extends sap.ui.dt.Plugin
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.121.1
73
+ * @version 1.122.0
74
74
  *
75
75
  * @constructor
76
76
  * @private
@@ -236,7 +236,7 @@ sap.ui.define([
236
236
  * @param {sap.ui.dt.ElementOverlay[]} aOverlays Array of overlays to be checked
237
237
  * @param {object} mPropertyBag Map of additional information to be passed to isEditable
238
238
  */
239
- BasePlugin.prototype.evaluateEditable = function(aOverlays, mPropertyBag) {
239
+ BasePlugin.prototype.evaluateEditable = async function(aOverlays, mPropertyBag) {
240
240
  // If there are busy plugins, do not evaluate
241
241
  // When the action is finished, if the affected controls are modified, the evaluation will be done anyway
242
242
  if (!mPropertyBag.onRegistration &&
@@ -249,13 +249,12 @@ sap.ui.define([
249
249
  var aPromises = aOverlays.reduce(_handleEditableByPlugin.bind(this, mPropertyBag), []);
250
250
 
251
251
  if (aPromises.length) {
252
- Promise.all(aPromises)
253
- .then(function() {
252
+ try {
253
+ await Promise.all(aPromises);
254
254
  this.setProcessingStatus(false);
255
- }.bind(this))
256
- .catch(function() {
255
+ } catch (error) {
257
256
  this.setProcessingStatus(false);
258
- }.bind(this));
257
+ }
259
258
  } else {
260
259
  this.setProcessingStatus(false);
261
260
  }
@@ -292,7 +291,7 @@ sap.ui.define([
292
291
 
293
292
  BasePlugin.prototype._isEditableByPlugin = function(oOverlay, bSibling) {
294
293
  var sPluginName = this._retrievePluginName(bSibling);
295
- return !!oOverlay.getEditableByPlugins()[sPluginName];
294
+ return oOverlay.getEditableByPlugins()[sPluginName];
296
295
  };
297
296
 
298
297
  BasePlugin.prototype.registerElementOverlay = function(oOverlay) {
@@ -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.121.1
38
+ * @version 1.122.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.121.1
32
+ * @version 1.122.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.121.1
31
+ * @version 1.122.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * Provides Rename handling functionality
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.121.1
46
+ * @version 1.122.0
47
47
  *
48
48
  * @constructor
49
49
  * @private
@@ -58,9 +58,22 @@ sap.ui.define([
58
58
  /**
59
59
  * @override
60
60
  */
61
- _manageClickEvent(vEventOrElement) {
62
- var oOverlay = vEventOrElement.getSource ? vEventOrElement.getSource() : vEventOrElement;
63
- if (oOverlay.isSelected() && this.isRenameAvailable(oOverlay) && this.isRenameEnabled([oOverlay])) {
61
+ async _manageClickEvent(vEventOrElement) {
62
+ const oOverlay = vEventOrElement.getSource ? vEventOrElement.getSource() : vEventOrElement;
63
+ const oResponsibleElementOverlay = this.getResponsibleElementOverlay(oOverlay) || oOverlay;
64
+ if (this._isEditableByPlugin(oResponsibleElementOverlay) === undefined) {
65
+ // The responsibleElement editableByPlugin state was not evaluated yet e.g. because it
66
+ // has no visible geometry, thus evaluateEditable now
67
+ // This async check leads to a slight delay where the second click is not registered
68
+ // which shouldn't be a problem since a human user needs > 100ms to click twice
69
+ await this.evaluateEditable([oResponsibleElementOverlay], { onRegistration: false });
70
+ }
71
+ if (
72
+ oOverlay.isSelected()
73
+ && this.isRenameAvailable(oOverlay)
74
+ && this.isRenameAvailable(oResponsibleElementOverlay)
75
+ && this.isRenameEnabled([oOverlay])
76
+ ) {
64
77
  oOverlay.attachBrowserEvent("click", RenameHandler._onClick, this);
65
78
  } else {
66
79
  oOverlay.detachBrowserEvent("click", RenameHandler._onClick, this);
@@ -81,6 +94,9 @@ sap.ui.define([
81
94
  * @public
82
95
  */
83
96
  startEdit(mPropertyBag) {
97
+ if (this.getBusy()) {
98
+ return;
99
+ }
84
100
  this.setBusy(true);
85
101
  this._oEditedOverlay = mPropertyBag.overlay;
86
102
 
@@ -133,7 +149,6 @@ sap.ui.define([
133
149
  if (!isNaN(iControlForWrapperWidth)) {
134
150
  var iEditableControlWidth = parseInt(this._oEditableControlDomRef.offsetWidth);
135
151
  var iEditableControlParentWidth = parseInt(_oEditableControlParentDomRef.offsetWidth);
136
-
137
152
  iWidthDifference = iControlForWrapperWidth - iEditableControlWidth;
138
153
 
139
154
  var aCHildren = Array.from(_oEditableControlParentDomRef.children);
@@ -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.121.1
30
+ * @version 1.122.0
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.121.1
34
+ * @version 1.122.0
35
35
  * @constructor
36
36
  * @private
37
37
  * @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.121.1
28
+ * @version 1.122.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.44
@@ -248,7 +248,7 @@ sap.ui.define([
248
248
  * @param {sap.ui.dt.ElementOverlay[]} aElementOverlays - Target overlays
249
249
  * @return {object[]} array of the items with required data
250
250
  */
251
- Settings.prototype.getMenuItems = function(aElementOverlays) {
251
+ Settings.prototype.getMenuItems = async function(aElementOverlays) {
252
252
  const oElementOverlay = aElementOverlays[0];
253
253
  const oResponsibleElementOverlay = this.getResponsibleElementOverlay(oElementOverlay);
254
254
  let vSettingsActions = this.getAction(oResponsibleElementOverlay);
@@ -262,6 +262,11 @@ sap.ui.define([
262
262
  settings: vSettingsActions
263
263
  };
264
264
  }
265
+ if (this._isEditableByPlugin(oResponsibleElementOverlay) === undefined) {
266
+ // The responsibleElement editableByPlugin state was not evaluated yet e.g. because it
267
+ // has no visible geometry, thus evaluateEditable now
268
+ await this.evaluateEditable([oResponsibleElementOverlay], { onRegistration: false });
269
+ }
265
270
  const aSettingsActions = Object.keys(vSettingsActions);
266
271
  aSettingsActions.forEach(function(sSettingsAction, iIndex, aActions) {
267
272
  const oSettingsAction = vSettingsActions[sSettingsAction];
@@ -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.121.1
26
+ * @version 1.122.0
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.121.1
32
+ * @version 1.122.0
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * handled by the AdditionalElements Plugin (Reveal, Add Via Delegate, Add Custom)
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.121.1
37
+ * @version 1.122.0
38
38
  * @private
39
39
  * @since 1.94
40
40
  */
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @class Context - Dialog for available Fields in Runtime Authoring
35
35
  * @extends sap.ui.base.ManagedObject
36
36
  * @author SAP SE
37
- * @version 1.121.1
37
+ * @version 1.122.0
38
38
  * @constructor
39
39
  * @private
40
40
  * @since 1.44
@@ -89,7 +89,7 @@ sap.ui.define([
89
89
  * @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
90
90
  * @extends sap.ui.rta.plugin.Plugin
91
91
  * @author SAP SE
92
- * @version 1.121.1
92
+ * @version 1.122.0
93
93
  * @constructor
94
94
  * @private
95
95
  * @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.121.1
20
+ * @version 1.122.0
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.121.1
28
+ * @version 1.122.0
29
29
  * @private
30
30
  * @since 1.94
31
31
  */
@@ -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.121.1
122
+ * @version 1.122.0
123
123
  * @constructor
124
124
  * @private
125
125
  * @since 1.75
@@ -150,7 +150,7 @@ sap.ui.define([
150
150
  * @class Context - Dialog for IFrame settings in Runtime Authoring
151
151
  * @extends sap.ui.base.ManagedObject
152
152
  * @author SAP SE
153
- * @version 1.121.1
153
+ * @version 1.122.0
154
154
  * @constructor
155
155
  * @private
156
156
  * @since 1.78
@@ -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.121.1
27
+ * @version 1.122.0
28
28
  * @private
29
29
  * @ui5-restricted
30
30
  *
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @name sap.ui.rta.service.ControllerExtension
33
33
  * @author SAP SE
34
34
  * @since 1.58
35
- * @version 1.121.1
35
+ * @version 1.122.0
36
36
  * @private
37
37
  * @ui5-restricted
38
38
  */
@@ -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.121.1
46
+ * @version 1.122.0
47
47
  * @private
48
48
  * @ui5-restricted
49
49
  */
@@ -553,12 +553,12 @@ sap.ui.define([
553
553
  * Detaches all event listeners that were attached from the outline service and performs a clean up.
554
554
  */
555
555
  oOutline.destroy = function() {
556
- oRta._oDesignTime.detachEvent("elementOverlayCreated", this._updatesHandler, this);
557
- oRta._oDesignTime.detachEvent("elementOverlayAdded", this._updatesHandler, this);
558
- oRta._oDesignTime.detachEvent("elementOverlayMoved", this._updatesHandler, this);
559
- oRta._oDesignTime.detachEvent("elementOverlayDestroyed", this._updatesHandler, this);
560
- oRta._oDesignTime.detachEvent("elementPropertyChanged", this._updatesHandler, this);
561
- oRta._oDesignTime.detachEvent("elementOverlayEditableChanged", this._updatesHandler, this);
556
+ oRta._oDesignTime?.detachEvent("elementOverlayCreated", this._updatesHandler, this);
557
+ oRta._oDesignTime?.detachEvent("elementOverlayAdded", this._updatesHandler, this);
558
+ oRta._oDesignTime?.detachEvent("elementOverlayMoved", this._updatesHandler, this);
559
+ oRta._oDesignTime?.detachEvent("elementOverlayDestroyed", this._updatesHandler, this);
560
+ oRta._oDesignTime?.detachEvent("elementPropertyChanged", this._updatesHandler, this);
561
+ oRta._oDesignTime?.detachEvent("elementOverlayEditableChanged", this._updatesHandler, this);
562
562
  delete this.aUpdates;
563
563
  delete this.sStatus;
564
564
  };
@@ -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.121.1
30
+ * @version 1.122.0
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.121.1
17
+ * @version 1.122.0
18
18
  * @private
19
19
  * @ui5-restricted
20
20
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @name sap.ui.rta.service.SupportTools
29
29
  * @author SAP SE
30
30
  * @since 1.106
31
- * @version 1.121.1
31
+ * @version 1.122.0
32
32
  * @private
33
33
  * @ui5-restricted
34
34
  */
@@ -264,4 +264,8 @@
264
264
  .sapUiRtaMode .sapUshellViewPortCenter,
265
265
  .sapUiRtaMode .sapMShellBG {
266
266
  background: @_sap_ui_rta_Overlay_ShellBG;
267
+ }
268
+
269
+ .sapUiRtaMode .sapUiBlockLayerOnly {
270
+ background-color: initial;
267
271
  }
@@ -10,7 +10,6 @@
10
10
  @import "Toolbar.adaptation.less";
11
11
  @import "Toolbar.fiori.less";
12
12
  @import "Toolbar.standalone.less";
13
- @import "Toolbar.personalization.less";
14
13
  @import "ChangeVisualization.less";
15
14
 
16
15
  @import "FieldRepository.less";
@@ -7,7 +7,6 @@
7
7
  @import "../../../../../sap/ui/core/themes/sap_hcb/global.less";
8
8
 
9
9
  @import "Toolbar.base.less";
10
- @import "Toolbar.personalization.less";
11
10
  @import "Toolbar.adaptation.less";
12
11
  @import "ChangeVisualization.less";
13
12
  @import "Overlay.less";
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.rta.toolbar.Base
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.121.1
58
+ * @version 1.122.0
59
59
  *
60
60
  * @constructor
61
61
  * @private
@@ -99,8 +99,8 @@ sap.ui.define([
99
99
  this._mSizeLimits = {
100
100
  switchToIcons: undefined
101
101
  };
102
- this._pFragmentLoaded = Base.prototype.init.apply(this, aArgs)
103
- .then(function() {
102
+ Base.prototype.init.apply(this, aArgs);
103
+ this._pFragmentLoaded = this._pFragmentLoaded.then(function() {
104
104
  this._onResize = this._onResize.bind(this);
105
105
  window.addEventListener("resize", this._onResize);
106
106
  this._aIntersectionObservers = [];
@@ -112,10 +112,6 @@ sap.ui.define([
112
112
  return (iSectionWidth * 2) + this._iSwitcherToolbarWidth + 80/* toolbar padding */;
113
113
  };
114
114
 
115
- Adaptation.prototype.onFragmentLoaded = function() {
116
- return this._pFragmentLoaded;
117
- };
118
-
119
115
  Adaptation.prototype.exit = function(...aArgs) {
120
116
  window.removeEventListener("resize", this._onResize);
121
117
  this._aIntersectionObservers.forEach(function(oInstersectionObserver) {
@@ -536,4 +532,4 @@ sap.ui.define([
536
532
  };
537
533
 
538
534
  return Adaptation;
539
- });
535
+ });
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.HBox
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.121.1
36
+ * @version 1.122.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  this.setModel(this._oResourceModel, "i18n");
111
111
  this._fnOnScrollBound = this._onScroll.bind(this);
112
112
  window.addEventListener("scroll", this._fnOnScrollBound, true);
113
- return this.buildContent();
113
+ this._pFragmentLoaded = this.buildContent();
114
114
  };
115
115
 
116
116
  Base.prototype.exit = function(...aArgs) {
@@ -191,6 +191,10 @@ sap.ui.define([
191
191
  }.bind(this));
192
192
  };
193
193
 
194
+ Base.prototype.onFragmentLoaded = function() {
195
+ return this._pFragmentLoaded;
196
+ };
197
+
194
198
  /**
195
199
  * Makes the Toolbar visible
196
200
  * @param {function} fnAdjustToolbarCallback - Called before the animation is triggered, e.g. for initial width calculations
@@ -279,4 +283,4 @@ sap.ui.define([
279
283
  };
280
284
 
281
285
  return Base;
282
- });
286
+ });
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.rta.toolbar.Adaptation
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.121.1
35
+ * @version 1.122.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.121.1
23
+ * @version 1.122.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.121.1
26
+ * @version 1.122.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.121.1
23
+ * @version 1.122.0
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.121.1
48
+ * @version 1.122.0
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.121.1
56
+ * @version 1.122.0
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.121.1
41
+ * @version 1.122.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -8,14 +8,11 @@ sap.ui.define([
8
8
  "sap/base/util/values",
9
9
  "sap/ui/base/ManagedObject",
10
10
  "sap/ui/dt/plugin/ContextMenu",
11
- "sap/ui/dt/plugin/TabHandling",
12
11
  "sap/ui/dt/plugin/ToolHooks",
13
12
  "sap/ui/fl/Layer",
14
13
  "sap/ui/fl/registry/Settings",
15
14
  "sap/ui/rta/command/CommandFactory",
16
15
  "sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin",
17
- "sap/ui/rta/plugin/additionalElements/AddElementsDialog",
18
- "sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer",
19
16
  "sap/ui/rta/plugin/iframe/AddIFrame",
20
17
  "sap/ui/rta/plugin/Combine",
21
18
  "sap/ui/rta/plugin/CompVariant",
@@ -37,14 +34,11 @@ sap.ui.define([
37
34
  values,
38
35
  ManagedObject,
39
36
  ContextMenuPlugin,
40
- TabHandlingPlugin,
41
37
  ToolHooksPlugin,
42
38
  Layer,
43
39
  Settings,
44
40
  CommandFactory,
45
41
  AdditionalElementsPlugin,
46
- AdditionalElementsDialog,
47
- AdditionalElementsAnalyzer,
48
42
  AddIFramePlugin,
49
43
  CombinePlugin,
50
44
  CompVariantPlugin,
@@ -68,7 +62,7 @@ sap.ui.define([
68
62
  * Constructor for a new sap.ui.rta.util.PluginManager
69
63
  * @extends sap.ui.base.ManagedObject
70
64
  * @author SAP SE
71
- * @version 1.121.1
65
+ * @version 1.122.0
72
66
  * @constructor
73
67
  * @private
74
68
  * @since 1.86
@@ -111,7 +105,7 @@ sap.ui.define([
111
105
  * Returns (and creates) the default plugins of PluginManager
112
106
  *
113
107
  * These are AdditionalElements, ContextMenu, CreateContainer, CutPaste,
114
- * DragDrop, Remove, Rename, Selection, Settings, TabHandling
108
+ * DragDrop, Remove, Rename, Selection, Settings
115
109
  *
116
110
  * Method uses a local cache to hold the default plugins: Then on multiple access
117
111
  * always the same instances get returned.
@@ -187,8 +181,6 @@ sap.ui.define([
187
181
 
188
182
  this._mDefaultPlugins.contextMenu = new ContextMenuPlugin();
189
183
 
190
- this._mDefaultPlugins.tabHandling = new TabHandlingPlugin();
191
-
192
184
  this._mDefaultPlugins.stretch = new StretchPlugin();
193
185
 
194
186
  var oSettings = Settings.getInstanceOrUndef();
@@ -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.121.1
45
+ * @version 1.122.0
46
46
  * @constructor
47
47
  * @private
48
48
  * @since 1.48