@openui5/sap.ui.rta 1.113.0 → 1.115.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/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- 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 +156 -54
- package/src/sap/ui/rta/Utils.js +36 -2
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +6 -5
- 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 +4 -8
- package/src/sap/ui/rta/command/ControlVariantSave.js +5 -6
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +7 -10
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -5
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +11 -12
- 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 +4 -2
- 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 +93 -76
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +30 -2
- package/src/sap/ui/rta/messagebundle_ar.properties +16 -4
- package/src/sap/ui/rta/messagebundle_bg.properties +16 -4
- package/src/sap/ui/rta/messagebundle_ca.properties +16 -4
- package/src/sap/ui/rta/messagebundle_cs.properties +16 -4
- package/src/sap/ui/rta/messagebundle_cy.properties +16 -4
- package/src/sap/ui/rta/messagebundle_da.properties +16 -4
- package/src/sap/ui/rta/messagebundle_de.properties +16 -4
- package/src/sap/ui/rta/messagebundle_el.properties +16 -4
- package/src/sap/ui/rta/messagebundle_en.properties +14 -2
- package/src/sap/ui/rta/messagebundle_en_GB.properties +14 -2
- package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +14 -2
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +14 -2
- package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +14 -2
- package/src/sap/ui/rta/messagebundle_es.properties +16 -4
- package/src/sap/ui/rta/messagebundle_es_MX.properties +16 -4
- package/src/sap/ui/rta/messagebundle_et.properties +16 -4
- package/src/sap/ui/rta/messagebundle_fi.properties +16 -4
- package/src/sap/ui/rta/messagebundle_fr.properties +16 -4
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +16 -4
- package/src/sap/ui/rta/messagebundle_hi.properties +16 -4
- package/src/sap/ui/rta/messagebundle_hr.properties +16 -4
- package/src/sap/ui/rta/messagebundle_hu.properties +16 -4
- package/src/sap/ui/rta/messagebundle_id.properties +16 -4
- package/src/sap/ui/rta/messagebundle_it.properties +16 -4
- package/src/sap/ui/rta/messagebundle_iw.properties +16 -4
- package/src/sap/ui/rta/messagebundle_ja.properties +33 -21
- package/src/sap/ui/rta/messagebundle_kk.properties +16 -4
- package/src/sap/ui/rta/messagebundle_ko.properties +20 -8
- package/src/sap/ui/rta/messagebundle_lt.properties +16 -4
- package/src/sap/ui/rta/messagebundle_lv.properties +16 -4
- package/src/sap/ui/rta/messagebundle_ms.properties +20 -8
- package/src/sap/ui/rta/messagebundle_nl.properties +16 -4
- package/src/sap/ui/rta/messagebundle_no.properties +16 -4
- package/src/sap/ui/rta/messagebundle_pl.properties +16 -4
- package/src/sap/ui/rta/messagebundle_pt.properties +16 -4
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +16 -4
- package/src/sap/ui/rta/messagebundle_ro.properties +16 -4
- package/src/sap/ui/rta/messagebundle_ru.properties +16 -4
- package/src/sap/ui/rta/messagebundle_sh.properties +16 -4
- package/src/sap/ui/rta/messagebundle_sk.properties +16 -4
- package/src/sap/ui/rta/messagebundle_sl.properties +16 -4
- package/src/sap/ui/rta/messagebundle_sv.properties +16 -4
- package/src/sap/ui/rta/messagebundle_th.properties +17 -5
- package/src/sap/ui/rta/messagebundle_tr.properties +16 -4
- package/src/sap/ui/rta/messagebundle_uk.properties +16 -4
- package/src/sap/ui/rta/messagebundle_vi.properties +16 -4
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +16 -4
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +16 -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/CompVariant.js +6 -2
- package/src/sap/ui/rta/plugin/ControlVariant.js +4 -2
- 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/EasyAdd.js +1 -1
- package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
- package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -22
- 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.fragment.xml +17 -13
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.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 +4 -1
- 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 +11 -1
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +59 -20
- package/src/sap/ui/rta/toolbar/Adaptation.js +115 -14
- package/src/sap/ui/rta/toolbar/Base.js +1 -1
- package/src/sap/ui/rta/toolbar/FeedbackDialog.fragment.xml +24 -0
- package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
- 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/Personalization.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +60 -36
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptationsDialog.fragment.xml +3 -15
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +120 -33
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptationDialog.fragment.xml +12 -10
- package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
- package/src/sap/ui/rta/util/PluginManager.js +1 -1
- package/src/sap/ui/rta/util/PopupManager.js +1 -1
- package/src/sap/ui/rta/util/ReloadManager.js +32 -21
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +42 -25
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +19 -12
- package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +67 -9
- package/src/sap/ui/rta/view/RemoveElementDialog.fragment.xml +1 -1
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* @extends sap.ui.rta.command.BaseCommand
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.115.0
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.52
|
|
@@ -79,9 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
this._aPreparedChanges.push(this.oModel.addVariantChange(this.sVariantManagementReference, mChangeProperties));
|
|
80
80
|
}.bind(this));
|
|
81
81
|
|
|
82
|
-
return Promise.resolve()
|
|
83
|
-
this.oModel.checkUpdate(true);
|
|
84
|
-
}.bind(this));
|
|
82
|
+
return Promise.resolve();
|
|
85
83
|
};
|
|
86
84
|
|
|
87
85
|
/**
|
|
@@ -108,10 +106,8 @@ sap.ui.define([
|
|
|
108
106
|
this.oModel.deleteVariantChange(this.sVariantManagementReference, mPropertyBag, oChange);
|
|
109
107
|
}.bind(this));
|
|
110
108
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
this._aPreparedChanges = null;
|
|
114
|
-
}.bind(this));
|
|
109
|
+
this._aPreparedChanges = null;
|
|
110
|
+
return Promise.resolve();
|
|
115
111
|
};
|
|
116
112
|
|
|
117
113
|
return ControlVariantConfigure;
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.115.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.86
|
|
@@ -59,11 +59,10 @@ sap.ui.define([
|
|
|
59
59
|
this._aDirtyChanges = this.getModel()._getDirtyChangesFromVariantChanges(this._aControlChanges);
|
|
60
60
|
this._aDirtyChanges.forEach(function(oChange) {
|
|
61
61
|
if (oChange.getFileType() === "change") {
|
|
62
|
-
oChange.
|
|
62
|
+
oChange.setSavedToVariant(true);
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
|
-
this.getModel().
|
|
66
|
-
this.getModel().checkUpdate(true);
|
|
65
|
+
this.getModel().invalidateMap();
|
|
67
66
|
return Promise.resolve();
|
|
68
67
|
};
|
|
69
68
|
|
|
@@ -75,10 +74,10 @@ sap.ui.define([
|
|
|
75
74
|
ControlVariantSave.prototype.undo = function() {
|
|
76
75
|
this._aDirtyChanges.forEach(function(oChange) {
|
|
77
76
|
if (oChange.getFileType() === "change") {
|
|
78
|
-
oChange.
|
|
77
|
+
oChange.setSavedToVariant(false);
|
|
79
78
|
}
|
|
80
79
|
});
|
|
81
|
-
this.getModel().
|
|
80
|
+
this.getModel().invalidateMap();
|
|
82
81
|
return Promise.resolve();
|
|
83
82
|
};
|
|
84
83
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @class
|
|
29
29
|
* @extends sap.ui.rta.command.BaseCommand
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.115.0
|
|
32
32
|
* @constructor
|
|
33
33
|
* @private
|
|
34
34
|
* @since 1.86
|
|
@@ -66,6 +66,8 @@ sap.ui.define([
|
|
|
66
66
|
this.oModel = this.getModel();
|
|
67
67
|
this.setSourceDefaultVariant(this.oModel.getData()[this.sVariantManagementReference].defaultVariant);
|
|
68
68
|
this.sLayer = mFlexSettings.layer;
|
|
69
|
+
var mComponentPropertyBag = mFlexSettings;
|
|
70
|
+
mComponentPropertyBag.variantManagementControl = this.oVariantManagementControl;
|
|
69
71
|
|
|
70
72
|
function storeEventParameters(oEvent, oArgs) {
|
|
71
73
|
var mParameters = oEvent.getParameters();
|
|
@@ -84,7 +86,7 @@ sap.ui.define([
|
|
|
84
86
|
this.oVariantManagementControl.attachSave({resolve: resolve}, storeEventParameters, this);
|
|
85
87
|
this.oVariantManagementControl.attachCancel({resolve: resolve}, handleCancel, this);
|
|
86
88
|
this.oVariantManagementControl.openSaveAsDialogForKeyUser(rtaUtils.getRtaStyleClassName(),
|
|
87
|
-
ContextSharingAPI.createComponent(
|
|
89
|
+
ContextSharingAPI.createComponent(mComponentPropertyBag));
|
|
88
90
|
}.bind(this))
|
|
89
91
|
.then(function(bState) {
|
|
90
92
|
return bState;
|
|
@@ -117,12 +119,10 @@ sap.ui.define([
|
|
|
117
119
|
this.sNewVariantReference = this._oVariantChange.getId();
|
|
118
120
|
this._aPreparedChanges.forEach(function(oChange) {
|
|
119
121
|
if (oChange.getFileType() === "change") {
|
|
120
|
-
oChange.
|
|
122
|
+
oChange.setSavedToVariant(true);
|
|
121
123
|
}
|
|
122
124
|
});
|
|
123
|
-
|
|
124
|
-
// Call the check again to make sure it is up to date
|
|
125
|
-
this.getModel().checkDirtyStateForControlModels([this.sVariantManagementReference]);
|
|
125
|
+
this.getModel().invalidateMap();
|
|
126
126
|
}.bind(this));
|
|
127
127
|
};
|
|
128
128
|
|
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
if (this._oVariantChange) {
|
|
136
136
|
this._aPreparedChanges.forEach(function(oChange) {
|
|
137
137
|
if (oChange.getFileType() === "ctrl_variant_management_change") {
|
|
138
|
-
this.oModel.oFlexController.deleteChange(oChange
|
|
138
|
+
this.oModel.oFlexController.deleteChange(oChange);
|
|
139
139
|
}
|
|
140
140
|
}.bind(this));
|
|
141
141
|
|
|
@@ -151,11 +151,8 @@ sap.ui.define([
|
|
|
151
151
|
return this.oModel.addAndApplyChangesOnVariant(this._aControlChanges);
|
|
152
152
|
}.bind(this))
|
|
153
153
|
.then(function() {
|
|
154
|
-
this.oModel.getData()[this.sVariantManagementReference].defaultVariant = this.getSourceDefaultVariant();
|
|
155
|
-
this.oModel.getData()[this.sVariantManagementReference].originalDefaultVariant = this.getSourceDefaultVariant();
|
|
156
154
|
this._aPreparedChanges = null;
|
|
157
155
|
this._oVariantChange = null;
|
|
158
|
-
this.getModel().checkUpdate(true);
|
|
159
156
|
}.bind(this));
|
|
160
157
|
}
|
|
161
158
|
return Promise.resolve();
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* @extends sap.ui.rta.command.BaseCommand
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.115.0
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.50
|
|
@@ -69,7 +69,6 @@ sap.ui.define([
|
|
|
69
69
|
*/
|
|
70
70
|
ControlVariantSetTitle.prototype.execute = function() {
|
|
71
71
|
var oVariantManagementControl = this.getElement();
|
|
72
|
-
var oVariantManagementControlBinding = oVariantManagementControl.getTitle().getBinding("text");
|
|
73
72
|
|
|
74
73
|
this.oAppComponent = flUtils.getAppComponentForControl(oVariantManagementControl);
|
|
75
74
|
this.oModel = this.oAppComponent.getModel(ControlVariantApplyAPI.getVariantModelName());
|
|
@@ -91,7 +90,6 @@ sap.ui.define([
|
|
|
91
90
|
return Promise.resolve(this.oModel.addVariantChange(this.sVariantManagementReference, mPropertyBag))
|
|
92
91
|
.then(function(oChange) {
|
|
93
92
|
this._oVariantChange = oChange;
|
|
94
|
-
oVariantManagementControlBinding.checkUpdate(true); /*Force Update as binding key stays same*/
|
|
95
93
|
}.bind(this));
|
|
96
94
|
};
|
|
97
95
|
|
|
@@ -101,7 +99,6 @@ sap.ui.define([
|
|
|
101
99
|
* @returns {Promise} Returns resolve after undo
|
|
102
100
|
*/
|
|
103
101
|
ControlVariantSetTitle.prototype.undo = function() {
|
|
104
|
-
var oVariantManagementControlBinding = this.getElement().getTitle().getBinding("text");
|
|
105
102
|
var mPropertyBag = {
|
|
106
103
|
variantReference: this.sCurrentVariant,
|
|
107
104
|
changeType: "setTitle",
|
|
@@ -112,7 +109,6 @@ sap.ui.define([
|
|
|
112
109
|
return Promise.resolve(this.oModel.deleteVariantChange(this.sVariantManagementReference, mPropertyBag, oChange))
|
|
113
110
|
.then(function() {
|
|
114
111
|
this._oVariantChange = null;
|
|
115
|
-
oVariantManagementControlBinding.checkUpdate(true); /*Force Update as binding key stays same*/
|
|
116
112
|
}.bind(this));
|
|
117
113
|
};
|
|
118
114
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @class
|
|
23
23
|
* @extends sap.ui.rta.command.BaseCommand
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.115.0
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @since 1.50
|
|
@@ -53,10 +53,9 @@ sap.ui.define([
|
|
|
53
53
|
|
|
54
54
|
function discardVariantContent(sVReference) {
|
|
55
55
|
return this.oModel.eraseDirtyChangesOnVariant(this.sVariantManagementReference, sVReference)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}.bind(this));
|
|
56
|
+
.then(function(aDirtyChanges) {
|
|
57
|
+
this._aSourceVariantDirtyChanges = aDirtyChanges;
|
|
58
|
+
}.bind(this));
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
ControlVariantSwitch.prototype._getAppComponent = function() {
|
|
@@ -79,13 +78,13 @@ sap.ui.define([
|
|
|
79
78
|
this.sVariantManagementReference = JsControlTreeModifier.getSelector(oElement, oAppComponent).id;
|
|
80
79
|
|
|
81
80
|
return Promise.resolve()
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
.then(function() {
|
|
82
|
+
if (this.getDiscardVariantContent()) {
|
|
83
|
+
return discardVariantContent.call(this, this.getSourceVariantReference());
|
|
84
|
+
}
|
|
85
|
+
return undefined;
|
|
86
|
+
}.bind(this))
|
|
87
|
+
.then(this._updateModelVariant.bind(this, sNewVariantReference, oAppComponent));
|
|
89
88
|
};
|
|
90
89
|
|
|
91
90
|
/**
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* @extends sap.ui.base.ManagedObject
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.115.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @since 1.42
|
|
@@ -152,7 +152,8 @@ sap.ui.define([
|
|
|
152
152
|
* @param {boolean} mPropertyBag.saveAsDraft - save the changes as a draft
|
|
153
153
|
* @param {string} [mPropertyBag.layer] - Layer for which the changes should be saved
|
|
154
154
|
* @param {boolean} [mPropertyBag.removeOtherLayerChanges=false] - Whether to remove changes on other layers before saving
|
|
155
|
-
* @param {string} [mPropertyBag.version] -
|
|
155
|
+
* @param {string} [mPropertyBag.version] - Version to load into Flex State after saving (e.g. undefined when exiting RTA)
|
|
156
|
+
* @param {string} [mPropertyBag.adaptationId] - Adaptation to load into Flex State after saving (e.g. undefined when exiting RTA)
|
|
156
157
|
* @returns {Promise} return empty promise
|
|
157
158
|
* @public
|
|
158
159
|
*/
|
|
@@ -172,6 +173,7 @@ sap.ui.define([
|
|
|
172
173
|
layer: mPropertyBag.layer,
|
|
173
174
|
removeOtherLayerChanges: !!mPropertyBag.removeOtherLayerChanges,
|
|
174
175
|
version: mPropertyBag.version,
|
|
176
|
+
adaptationId: mPropertyBag.adaptationId,
|
|
175
177
|
condenseAnyLayer: mPropertyBag.condenseAnyLayer
|
|
176
178
|
});
|
|
177
179
|
}.bind(this))
|