@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.
- package/THIRDPARTY.txt +1 -1
- package/package.json +6 -6
- package/src/sap/ui/rta/.library +1 -1
- package/src/sap/ui/rta/Client.js +1 -1
- package/src/sap/ui/rta/RuntimeAuthoring.js +40 -47
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
- package/src/sap/ui/rta/command/AddIFrame.js +1 -1
- package/src/sap/ui/rta/command/AddProperty.js +1 -1
- package/src/sap/ui/rta/command/AddXML.js +1 -1
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
- package/src/sap/ui/rta/command/BaseCommand.js +1 -1
- package/src/sap/ui/rta/command/BindProperty.js +1 -1
- package/src/sap/ui/rta/command/Combine.js +1 -1
- package/src/sap/ui/rta/command/CommandFactory.js +1 -1
- package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/CreateContainer.js +1 -1
- package/src/sap/ui/rta/command/CustomAdd.js +1 -1
- package/src/sap/ui/rta/command/FlexCommand.js +1 -1
- package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
- package/src/sap/ui/rta/command/LocalReset.js +1 -1
- package/src/sap/ui/rta/command/Move.js +1 -1
- package/src/sap/ui/rta/command/Property.js +1 -1
- package/src/sap/ui/rta/command/Remove.js +1 -1
- package/src/sap/ui/rta/command/Rename.js +1 -1
- package/src/sap/ui/rta/command/Resize.js +1 -1
- package/src/sap/ui/rta/command/Reveal.js +1 -1
- package/src/sap/ui/rta/command/Settings.js +1 -1
- package/src/sap/ui/rta/command/Split.js +1 -1
- package/src/sap/ui/rta/command/Stack.js +1 -1
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +1 -5
- package/src/sap/ui/rta/messagebundle_ar.properties +2 -4
- package/src/sap/ui/rta/messagebundle_bg.properties +2 -4
- package/src/sap/ui/rta/messagebundle_ca.properties +1 -3
- package/src/sap/ui/rta/messagebundle_cnr.properties +1 -3
- package/src/sap/ui/rta/messagebundle_cs.properties +2 -4
- package/src/sap/ui/rta/messagebundle_cy.properties +2 -4
- package/src/sap/ui/rta/messagebundle_da.properties +2 -4
- package/src/sap/ui/rta/messagebundle_de.properties +2 -4
- package/src/sap/ui/rta/messagebundle_el.properties +2 -4
- package/src/sap/ui/rta/messagebundle_en.properties +2 -4
- package/src/sap/ui/rta/messagebundle_en_GB.properties +2 -4
- package/src/sap/ui/rta/messagebundle_es.properties +1 -3
- package/src/sap/ui/rta/messagebundle_es_MX.properties +1 -3
- package/src/sap/ui/rta/messagebundle_et.properties +1 -3
- package/src/sap/ui/rta/messagebundle_fi.properties +1 -3
- package/src/sap/ui/rta/messagebundle_fr.properties +1 -3
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +2 -4
- package/src/sap/ui/rta/messagebundle_hi.properties +1 -3
- package/src/sap/ui/rta/messagebundle_hr.properties +2 -4
- package/src/sap/ui/rta/messagebundle_hu.properties +1 -3
- package/src/sap/ui/rta/messagebundle_id.properties +2 -4
- package/src/sap/ui/rta/messagebundle_it.properties +1 -3
- package/src/sap/ui/rta/messagebundle_iw.properties +1 -3
- package/src/sap/ui/rta/messagebundle_ja.properties +2 -4
- package/src/sap/ui/rta/messagebundle_kk.properties +2 -4
- package/src/sap/ui/rta/messagebundle_ko.properties +1 -3
- package/src/sap/ui/rta/messagebundle_lt.properties +1 -3
- package/src/sap/ui/rta/messagebundle_lv.properties +2 -4
- package/src/sap/ui/rta/messagebundle_mk.properties +13 -15
- package/src/sap/ui/rta/messagebundle_ms.properties +2 -4
- package/src/sap/ui/rta/messagebundle_nl.properties +2 -4
- package/src/sap/ui/rta/messagebundle_no.properties +1 -3
- package/src/sap/ui/rta/messagebundle_pl.properties +2 -4
- package/src/sap/ui/rta/messagebundle_pt.properties +2 -4
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +1 -3
- package/src/sap/ui/rta/messagebundle_ro.properties +2 -4
- package/src/sap/ui/rta/messagebundle_ru.properties +1 -3
- package/src/sap/ui/rta/messagebundle_sh.properties +1 -3
- package/src/sap/ui/rta/messagebundle_sk.properties +1 -3
- package/src/sap/ui/rta/messagebundle_sl.properties +2 -4
- package/src/sap/ui/rta/messagebundle_sr.properties +1 -3
- package/src/sap/ui/rta/messagebundle_sv.properties +1 -3
- package/src/sap/ui/rta/messagebundle_th.properties +1 -3
- package/src/sap/ui/rta/messagebundle_tr.properties +1 -3
- package/src/sap/ui/rta/messagebundle_uk.properties +2 -4
- package/src/sap/ui/rta/messagebundle_vi.properties +2 -4
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +1 -3
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +2 -4
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
- package/src/sap/ui/rta/plugin/Combine.js +1 -1
- package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
- package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
- package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
- package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
- package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +7 -8
- package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
- package/src/sap/ui/rta/plugin/Remove.js +1 -1
- package/src/sap/ui/rta/plugin/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/RenameHandler.js +20 -5
- package/src/sap/ui/rta/plugin/Resize.js +1 -1
- package/src/sap/ui/rta/plugin/Selection.js +1 -1
- package/src/sap/ui/rta/plugin/Settings.js +7 -2
- package/src/sap/ui/rta/plugin/Split.js +1 -1
- package/src/sap/ui/rta/plugin/Stretch.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
- package/src/sap/ui/rta/service/Action.js +1 -1
- package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
- package/src/sap/ui/rta/service/Outline.js +7 -7
- package/src/sap/ui/rta/service/Property.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +1 -1
- package/src/sap/ui/rta/service/SupportTools.js +1 -1
- package/src/sap/ui/rta/themes/base/Overlay.less +4 -0
- package/src/sap/ui/rta/themes/base/library.source.less +0 -1
- package/src/sap/ui/rta/themes/sap_hcb/library.source.less +0 -1
- package/src/sap/ui/rta/toolbar/Adaptation.js +4 -8
- package/src/sap/ui/rta/toolbar/Base.js +7 -3
- package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
- package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +2 -10
- package/src/sap/ui/rta/util/PopupManager.js +1 -1
- package/src/sap/ui/rta/util/ReloadManager.js +2 -3
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/ServiceManager.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -3
- package/src/sap/ui/rta/plugin/EasyAdd.js +0 -217
- package/src/sap/ui/rta/plugin/EasyRemove.js +0 -141
- package/src/sap/ui/rta/themes/base/Toolbar.personalization.less +0 -29
- package/src/sap/ui/rta/themes/sap_hcb/Toolbar.personalization.less +0 -10
- package/src/sap/ui/rta/toolbar/Personalization.js +0 -73
|
@@ -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.
|
|
28
|
+
* @version 1.122.0
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.34
|
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* @extends sap.ui.dt.Plugin
|
|
71
71
|
*
|
|
72
72
|
* @author SAP SE
|
|
73
|
-
* @version 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
|
-
|
|
253
|
-
|
|
252
|
+
try {
|
|
253
|
+
await Promise.all(aPromises);
|
|
254
254
|
this.setProcessingStatus(false);
|
|
255
|
-
}
|
|
256
|
-
.catch(function() {
|
|
255
|
+
} catch (error) {
|
|
257
256
|
this.setProcessingStatus(false);
|
|
258
|
-
}
|
|
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
|
|
294
|
+
return oOverlay.getEditableByPlugins()[sPluginName];
|
|
296
295
|
};
|
|
297
296
|
|
|
298
297
|
BasePlugin.prototype.registerElementOverlay = function(oOverlay) {
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* Provides Rename handling functionality
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 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
|
-
|
|
63
|
-
|
|
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);
|
|
@@ -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.
|
|
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.
|
|
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];
|
|
@@ -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.
|
|
92
|
+
* @version 1.122.0
|
|
93
93
|
* @constructor
|
|
94
94
|
* @private
|
|
95
95
|
* @since 1.44
|
|
@@ -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.
|
|
122
|
+
* @version 1.122.0
|
|
123
123
|
* @constructor
|
|
124
124
|
* @private
|
|
125
125
|
* @since 1.75
|
|
@@ -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.
|
|
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
|
|
557
|
-
oRta._oDesignTime
|
|
558
|
-
oRta._oDesignTime
|
|
559
|
-
oRta._oDesignTime
|
|
560
|
-
oRta._oDesignTime
|
|
561
|
-
oRta._oDesignTime
|
|
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
|
};
|
|
@@ -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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
+
});
|
|
@@ -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.
|
|
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
|
|
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();
|