@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.
Files changed (154) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  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 +156 -54
  7. package/src/sap/ui/rta/Utils.js +36 -2
  8. package/src/sap/ui/rta/appVariant/AppVariantManager.js +6 -5
  9. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  10. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  11. package/src/sap/ui/rta/command/AddXML.js +1 -1
  12. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  13. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  14. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  15. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  16. package/src/sap/ui/rta/command/Combine.js +1 -1
  17. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  18. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  19. package/src/sap/ui/rta/command/ControlVariantConfigure.js +4 -8
  20. package/src/sap/ui/rta/command/ControlVariantSave.js +5 -6
  21. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +7 -10
  22. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -5
  23. package/src/sap/ui/rta/command/ControlVariantSwitch.js +11 -12
  24. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  25. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  26. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  27. package/src/sap/ui/rta/command/LREPSerializer.js +4 -2
  28. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  29. package/src/sap/ui/rta/command/Move.js +1 -1
  30. package/src/sap/ui/rta/command/Property.js +1 -1
  31. package/src/sap/ui/rta/command/Remove.js +1 -1
  32. package/src/sap/ui/rta/command/Rename.js +1 -1
  33. package/src/sap/ui/rta/command/Resize.js +1 -1
  34. package/src/sap/ui/rta/command/Reveal.js +1 -1
  35. package/src/sap/ui/rta/command/Settings.js +1 -1
  36. package/src/sap/ui/rta/command/Split.js +1 -1
  37. package/src/sap/ui/rta/command/Stack.js +1 -1
  38. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  41. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  42. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  43. package/src/sap/ui/rta/enablement/elementActionTest.js +93 -76
  44. package/src/sap/ui/rta/library.js +2 -2
  45. package/src/sap/ui/rta/messagebundle.properties +30 -2
  46. package/src/sap/ui/rta/messagebundle_ar.properties +16 -4
  47. package/src/sap/ui/rta/messagebundle_bg.properties +16 -4
  48. package/src/sap/ui/rta/messagebundle_ca.properties +16 -4
  49. package/src/sap/ui/rta/messagebundle_cs.properties +16 -4
  50. package/src/sap/ui/rta/messagebundle_cy.properties +16 -4
  51. package/src/sap/ui/rta/messagebundle_da.properties +16 -4
  52. package/src/sap/ui/rta/messagebundle_de.properties +16 -4
  53. package/src/sap/ui/rta/messagebundle_el.properties +16 -4
  54. package/src/sap/ui/rta/messagebundle_en.properties +14 -2
  55. package/src/sap/ui/rta/messagebundle_en_GB.properties +14 -2
  56. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +14 -2
  57. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +14 -2
  58. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +14 -2
  59. package/src/sap/ui/rta/messagebundle_es.properties +16 -4
  60. package/src/sap/ui/rta/messagebundle_es_MX.properties +16 -4
  61. package/src/sap/ui/rta/messagebundle_et.properties +16 -4
  62. package/src/sap/ui/rta/messagebundle_fi.properties +16 -4
  63. package/src/sap/ui/rta/messagebundle_fr.properties +16 -4
  64. package/src/sap/ui/rta/messagebundle_fr_CA.properties +16 -4
  65. package/src/sap/ui/rta/messagebundle_hi.properties +16 -4
  66. package/src/sap/ui/rta/messagebundle_hr.properties +16 -4
  67. package/src/sap/ui/rta/messagebundle_hu.properties +16 -4
  68. package/src/sap/ui/rta/messagebundle_id.properties +16 -4
  69. package/src/sap/ui/rta/messagebundle_it.properties +16 -4
  70. package/src/sap/ui/rta/messagebundle_iw.properties +16 -4
  71. package/src/sap/ui/rta/messagebundle_ja.properties +33 -21
  72. package/src/sap/ui/rta/messagebundle_kk.properties +16 -4
  73. package/src/sap/ui/rta/messagebundle_ko.properties +20 -8
  74. package/src/sap/ui/rta/messagebundle_lt.properties +16 -4
  75. package/src/sap/ui/rta/messagebundle_lv.properties +16 -4
  76. package/src/sap/ui/rta/messagebundle_ms.properties +20 -8
  77. package/src/sap/ui/rta/messagebundle_nl.properties +16 -4
  78. package/src/sap/ui/rta/messagebundle_no.properties +16 -4
  79. package/src/sap/ui/rta/messagebundle_pl.properties +16 -4
  80. package/src/sap/ui/rta/messagebundle_pt.properties +16 -4
  81. package/src/sap/ui/rta/messagebundle_pt_PT.properties +16 -4
  82. package/src/sap/ui/rta/messagebundle_ro.properties +16 -4
  83. package/src/sap/ui/rta/messagebundle_ru.properties +16 -4
  84. package/src/sap/ui/rta/messagebundle_sh.properties +16 -4
  85. package/src/sap/ui/rta/messagebundle_sk.properties +16 -4
  86. package/src/sap/ui/rta/messagebundle_sl.properties +16 -4
  87. package/src/sap/ui/rta/messagebundle_sv.properties +16 -4
  88. package/src/sap/ui/rta/messagebundle_th.properties +17 -5
  89. package/src/sap/ui/rta/messagebundle_tr.properties +16 -4
  90. package/src/sap/ui/rta/messagebundle_uk.properties +16 -4
  91. package/src/sap/ui/rta/messagebundle_vi.properties +16 -4
  92. package/src/sap/ui/rta/messagebundle_zh_CN.properties +16 -4
  93. package/src/sap/ui/rta/messagebundle_zh_TW.properties +16 -4
  94. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  95. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  96. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  97. package/src/sap/ui/rta/plugin/CompVariant.js +6 -2
  98. package/src/sap/ui/rta/plugin/ControlVariant.js +4 -2
  99. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  100. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  101. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  102. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  103. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  104. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  105. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  106. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  107. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  108. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  109. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -1
  110. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  111. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  112. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  113. package/src/sap/ui/rta/plugin/Split.js +1 -1
  114. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  115. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -22
  116. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  117. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  118. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  119. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  120. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  121. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +17 -13
  122. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
  123. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -1
  124. package/src/sap/ui/rta/service/Action.js +1 -1
  125. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  126. package/src/sap/ui/rta/service/Outline.js +4 -1
  127. package/src/sap/ui/rta/service/Property.js +1 -1
  128. package/src/sap/ui/rta/service/Selection.js +1 -1
  129. package/src/sap/ui/rta/service/SupportTools.js +11 -1
  130. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +59 -20
  131. package/src/sap/ui/rta/toolbar/Adaptation.js +115 -14
  132. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  133. package/src/sap/ui/rta/toolbar/FeedbackDialog.fragment.xml +24 -0
  134. package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
  135. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  136. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  137. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  138. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  139. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +60 -36
  140. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptationsDialog.fragment.xml +3 -15
  141. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +120 -33
  142. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptationDialog.fragment.xml +12 -10
  143. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  144. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
  145. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  146. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  147. package/src/sap/ui/rta/util/ReloadManager.js +32 -21
  148. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  149. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +42 -25
  150. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +1 -1
  151. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +19 -12
  152. package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
  153. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +67 -9
  154. 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.113.0
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().then(function() {
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
- return Promise.resolve().then(function() {
112
- this.oModel.checkUpdate(true);
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.113.0
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.assignedToVariant = true;
62
+ oChange.setSavedToVariant(true);
63
63
  }
64
64
  });
65
- this.getModel().oData[this.sVariantManagementReference].modified = false;
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.assignedToVariant = false;
77
+ oChange.setSavedToVariant(false);
79
78
  }
80
79
  });
81
- this.getModel().checkDirtyStateForControlModels([this.sVariantManagementReference]);
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.113.0
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(mFlexSettings));
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.assignedToVariant = true;
122
+ oChange.setSavedToVariant(true);
121
123
  }
122
124
  });
123
- // Assigning changes to the variant might have an impact on the modified state
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, this.oAppComponent);
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.113.0
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.113.0
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
- .then(function(aDirtyChanges) {
57
- this._aSourceVariantDirtyChanges = aDirtyChanges;
58
- this.oModel.checkUpdate(true);
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
- .then(function() {
83
- if (this.getDiscardVariantContent()) {
84
- return discardVariantContent.call(this, this.getSourceVariantReference());
85
- }
86
- return undefined;
87
- }.bind(this))
88
- .then(this._updateModelVariant.bind(this, sNewVariantReference, oAppComponent));
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
  /**
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.113.0
15
+ * @version 1.115.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.113.0
15
+ * @version 1.115.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.62
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.rta.command.BaseCommand
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.113.0
36
+ * @version 1.115.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -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.113.0
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] - Layer for which the changes should be saved
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))
@@ -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.113.0
23
+ * @version 1.115.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.90
@@ -17,7 +17,7 @@ function(
17
17
  * @class
18
18
  * @extends sap.ui.rta.command.FlexCommand
19
19
  * @author SAP SE
20
- * @version 1.113.0
20
+ * @version 1.115.0
21
21
  * @constructor
22
22
  * @private
23
23
  * @since 1.34
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.113.0
19
+ * @version 1.115.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.34
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.113.0
15
+ * @version 1.115.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.42
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.113.0
15
+ * @version 1.115.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.113.0
19
+ * @version 1.115.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.101
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.113.0
15
+ * @version 1.115.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.44
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.113.0
15
+ * @version 1.115.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.44
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @class
15
15
  * @extends sap.ui.rta.command.FlexCommand
16
16
  * @author SAP SE
17
- * @version 1.113.0
17
+ * @version 1.115.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.46
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @class
60
60
  * @extends sap.ui.base.ManagedObject
61
61
  * @author SAP SE
62
- * @version 1.113.0
62
+ * @version 1.115.0
63
63
  * @constructor
64
64
  * @private
65
65
  * @since 1.34
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.rta.command.AppDescriptorCommand
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.113.0
20
+ * @version 1.115.0
21
21
  *
22
22
  * @constructor
23
23
  * @private
@@ -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.113.0
23
+ * @version 1.115.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.102
@@ -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.113.0
23
+ * @version 1.115.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.87
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @class
19
19
  * @extends sap.ui.rta.command.BaseCommand
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.115.0
22
22
  * @constructor
23
23
  * @private
24
24
  * @since 1.87
@@ -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.113.0
25
+ * @version 1.115.0
26
26
  * @constructor
27
27
  * @private
28
28
  * @since 1.87