@openui5/sap.ui.rta 1.90.9 → 1.90.12

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 (114) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +6 -6
  3. package/src/sap/ui/rta/.library +2 -2
  4. package/src/sap/ui/rta/Client.js +2 -2
  5. package/src/sap/ui/rta/RuntimeAuthoring.js +14 -5
  6. package/src/sap/ui/rta/Utils.js +2 -2
  7. package/src/sap/ui/rta/api/startAdaptation.js +1 -1
  8. package/src/sap/ui/rta/api/startKeyUserAdaptation.js +1 -1
  9. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
  10. package/src/sap/ui/rta/appVariant/AppVariantManager.js +2 -2
  11. package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
  12. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
  13. package/src/sap/ui/rta/appVariant/Feature.js +1 -1
  14. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
  15. package/src/sap/ui/rta/appVariant/Utils.js +1 -1
  16. package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
  17. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +1 -1
  18. package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
  20. package/src/sap/ui/rta/command/AddIFrame.js +2 -2
  21. package/src/sap/ui/rta/command/AddProperty.js +2 -2
  22. package/src/sap/ui/rta/command/AddXML.js +2 -2
  23. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
  24. package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
  25. package/src/sap/ui/rta/command/BaseCommand.js +2 -2
  26. package/src/sap/ui/rta/command/BindProperty.js +2 -2
  27. package/src/sap/ui/rta/command/Combine.js +2 -2
  28. package/src/sap/ui/rta/command/CommandFactory.js +2 -2
  29. package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
  30. package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
  31. package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
  32. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
  33. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
  34. package/src/sap/ui/rta/command/ControlVariantSwitch.js +2 -2
  35. package/src/sap/ui/rta/command/CreateContainer.js +2 -2
  36. package/src/sap/ui/rta/command/CustomAdd.js +2 -2
  37. package/src/sap/ui/rta/command/FlexCommand.js +2 -2
  38. package/src/sap/ui/rta/command/LREPSerializer.js +12 -4
  39. package/src/sap/ui/rta/command/LocalReset.js +2 -2
  40. package/src/sap/ui/rta/command/Move.js +2 -2
  41. package/src/sap/ui/rta/command/Property.js +2 -2
  42. package/src/sap/ui/rta/command/Remove.js +2 -2
  43. package/src/sap/ui/rta/command/Rename.js +2 -2
  44. package/src/sap/ui/rta/command/Reveal.js +2 -2
  45. package/src/sap/ui/rta/command/Settings.js +2 -2
  46. package/src/sap/ui/rta/command/Split.js +2 -2
  47. package/src/sap/ui/rta/command/Stack.js +2 -2
  48. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +2 -2
  49. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
  50. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
  51. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
  52. package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
  53. package/src/sap/ui/rta/enablement/elementActionTest.js +2 -2
  54. package/src/sap/ui/rta/library.js +3 -3
  55. package/src/sap/ui/rta/messagebundle.properties +2 -0
  56. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
  57. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  58. package/src/sap/ui/rta/plugin/Combine.js +2 -2
  59. package/src/sap/ui/rta/plugin/CompVariant.js +1 -1
  60. package/src/sap/ui/rta/plugin/ControlVariant.js +2 -2
  61. package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
  62. package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
  63. package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
  64. package/src/sap/ui/rta/plugin/EasyAdd.js +2 -2
  65. package/src/sap/ui/rta/plugin/EasyRemove.js +2 -2
  66. package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
  67. package/src/sap/ui/rta/plugin/Plugin.js +2 -2
  68. package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
  69. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  70. package/src/sap/ui/rta/plugin/Rename.js +2 -2
  71. package/src/sap/ui/rta/plugin/RenameHandler.js +2 -2
  72. package/src/sap/ui/rta/plugin/Selection.js +2 -2
  73. package/src/sap/ui/rta/plugin/Settings.js +2 -2
  74. package/src/sap/ui/rta/plugin/Split.js +2 -2
  75. package/src/sap/ui/rta/plugin/Stretch.js +2 -2
  76. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +2 -2
  77. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +1 -1
  78. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
  79. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
  80. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
  81. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -1
  82. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  83. package/src/sap/ui/rta/service/Action.js +2 -2
  84. package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
  85. package/src/sap/ui/rta/service/Outline.js +2 -2
  86. package/src/sap/ui/rta/service/Property.js +2 -2
  87. package/src/sap/ui/rta/service/Receiver.js +1 -1
  88. package/src/sap/ui/rta/service/Selection.js +2 -2
  89. package/src/sap/ui/rta/service/index.js +1 -1
  90. package/src/sap/ui/rta/themes/base/library.source.less +1 -1
  91. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
  92. package/src/sap/ui/rta/toolbar/Adaptation.js +2 -2
  93. package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
  94. package/src/sap/ui/rta/toolbar/Base.js +2 -2
  95. package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
  96. package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
  97. package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
  98. package/src/sap/ui/rta/toolbar/Personalization.js +2 -2
  99. package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
  100. package/src/sap/ui/rta/util/Animation.js +1 -1
  101. package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
  102. package/src/sap/ui/rta/util/PluginManager.js +2 -2
  103. package/src/sap/ui/rta/util/PopupManager.js +6 -3
  104. package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
  105. package/src/sap/ui/rta/util/StylesLoader.js +1 -1
  106. package/src/sap/ui/rta/util/UrlParser.js +1 -1
  107. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  108. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
  109. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  110. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -2
  111. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  112. package/src/sap/ui/rta/util/showMessageBox.js +1 -1
  113. package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
  114. package/src/sap/ui/rta/util/validateStableIds.js +1 -1
package/THIRDPARTY.txt CHANGED
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.7
200
+ Component: URI.js, version: 1.19.8
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.90.9",
3
+ "version": "1.90.12",
4
4
  "description": "OpenUI5 UI Library sap.ui.rta",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,10 +14,10 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.90.9",
18
- "@openui5/sap.ui.core": "1.90.9",
19
- "@openui5/sap.ui.dt": "1.90.9",
20
- "@openui5/sap.ui.fl": "1.90.9",
21
- "@openui5/sap.ui.layout": "1.90.9"
17
+ "@openui5/sap.m": "1.90.12",
18
+ "@openui5/sap.ui.core": "1.90.12",
19
+ "@openui5/sap.ui.dt": "1.90.12",
20
+ "@openui5/sap.ui.fl": "1.90.12",
21
+ "@openui5/sap.ui.layout": "1.90.12"
22
22
  }
23
23
  }
@@ -4,9 +4,9 @@
4
4
  <name>sap.ui.rta</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>OpenUI5
7
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.90.9</version>
9
+ <version>1.90.12</version>
10
10
 
11
11
  <documentation>SAPUI5 library with RTA controls.</documentation>
12
12
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @alias sap.ui.rta.Client
58
58
  * @author SAP SE
59
59
  * @since 1.56.0
60
- * @version 1.90.9
60
+ * @version 1.90.12
61
61
  * @private
62
62
  * @ui5-restricted
63
63
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -109,7 +109,7 @@ function(
109
109
  * @class The runtime authoring allows to adapt the fields of a running application.
110
110
  * @extends sap.ui.base.ManagedObject
111
111
  * @author SAP SE
112
- * @version 1.90.9
112
+ * @version 1.90.12
113
113
  * @constructor
114
114
  * @private
115
115
  * @since 1.30
@@ -220,6 +220,7 @@ function(
220
220
  _sAppTitle: null,
221
221
  _dependents: null,
222
222
  _sStatus: STOPPED,
223
+ _bHasSwitchedToNavigationMode: false,
223
224
  constructor: function() {
224
225
  // call parent constructor
225
226
  ManagedObject.apply(this, arguments);
@@ -843,7 +844,8 @@ function(
843
844
  };
844
845
 
845
846
  RuntimeAuthoring.prototype._serializeAndSave = function() {
846
- return this._oSerializer.saveCommands(this._oVersionsModel.getProperty("/versioningEnabled"));
847
+ // Save changes on the current layer and discard dirty changes on other layers
848
+ return this._oSerializer.saveCommands(this._oVersionsModel.getProperty("/versioningEnabled"), this.getLayer(), true);
847
849
  };
848
850
 
849
851
  RuntimeAuthoring.prototype._serializeToLrep = function() {
@@ -1216,10 +1218,10 @@ function(
1216
1218
  * @param {string} sMessageKey The text key for the message
1217
1219
  * @private
1218
1220
  */
1219
- RuntimeAuthoring.prototype._showMessageToast = function(sMessageKey) {
1221
+ RuntimeAuthoring.prototype._showMessageToast = function(sMessageKey, mOptions) {
1220
1222
  var sMessage = this._getTextResources().getText(sMessageKey);
1221
1223
 
1222
- MessageToast.show(sMessage);
1224
+ MessageToast.show(sMessage, mOptions || {});
1223
1225
  };
1224
1226
 
1225
1227
  /**
@@ -1710,6 +1712,13 @@ function(
1710
1712
  */
1711
1713
  RuntimeAuthoring.prototype.setMode = function (sNewMode) {
1712
1714
  if (this.getMode() !== sNewMode) {
1715
+ if (sNewMode === "navigation" && !this._bHasSwitchedToNavigationMode) {
1716
+ this._showMessageToast("MSG_NAVIGATION_MODE_CHANGES_WARNING", {
1717
+ duration: 5000
1718
+ });
1719
+ this._bHasSwitchedToNavigationMode = true;
1720
+ }
1721
+
1713
1722
  var bOverlaysEnabled = sNewMode === "adaptation";
1714
1723
  this._oDesignTime.setEnabled(bOverlaysEnabled);
1715
1724
  this.getPluginManager().getPlugin("tabHandling")[bOverlaysEnabled ? "removeTabIndex" : "restoreTabIndex"]();
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -40,7 +40,7 @@ function(
40
40
  * @class Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.90.9
43
+ * @version 1.90.12
44
44
  *
45
45
  * @private
46
46
  * @static
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.base.ManagedObject
26
26
  * @author SAP SE
27
- * @version 1.90.9
27
+ * @version 1.90.12
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.require([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
19
+ * @version 1.90.12
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.75
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
17
+ * @version 1.90.12
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.78
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
19
+ * @version 1.90.12
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.rta.command.FlexCommand
26
26
  * @author SAP SE
27
- * @version 1.90.9
27
+ * @version 1.90.12
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.90.9
24
+ * @version 1.90.12
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define(["sap/ui/base/ManagedObject"], function(ManagedObject) {
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function(ManagedObject) {
13
13
  * @extends sap.ui.base.ManagedObject
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.90.9
16
+ * @version 1.90.12
17
17
  *
18
18
  * @constructor
19
19
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @extends sap.ui.rta.command.FlexCommand
28
28
  * @author SAP SE
29
- * @version 1.90.9
29
+ * @version 1.90.12
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.38
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
19
+ * @version 1.90.12
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -452,7 +452,7 @@ function(
452
452
  * @extends sap.ui.base.ManagedObject
453
453
  *
454
454
  * @author SAP SE
455
- * @version 1.90.9
455
+ * @version 1.90.12
456
456
  *
457
457
  * @constructor
458
458
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.rta.command.BaseCommand
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.90.9
22
+ * @version 1.90.12
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
23
+ * @version 1.90.12
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.52
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
23
+ * @version 1.90.12
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.86
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
25
+ * @version 1.90.12
26
26
  * @constructor
27
27
  * @private
28
28
  * @since 1.86
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.BaseCommand
18
18
  * @author SAP SE
19
- * @version 1.90.9
19
+ * @version 1.90.12
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.50
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
23
+ * @version 1.90.12
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.50
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
@@ -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.90.9
15
+ * @version 1.90.12
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
@@ -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.90.9
15
+ * @version 1.90.12
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.62
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.rta.command.BaseCommand
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.90.9
32
+ * @version 1.90.12
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  * @author SAP SE
32
- * @version 1.90.9
32
+ * @version 1.90.12
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.42
@@ -153,10 +153,12 @@ sap.ui.define([
153
153
  * In case of Base Applications (no App Variants) the App Descriptor Changes and UI Changes are saved in different Flex Persistence instances,
154
154
  * so we have to call save twice. For App Variants all the changes are saved in one place.
155
155
  * @param {boolean} bSaveAsDraft - save the changes as a draft
156
+ * @param {string} [sLayer] - Layer for which the changes should be saved
157
+ * @param {boolean} [bRemoveOtherLayerChanges=false] - Whether to remove changes on other layers before saving
156
158
  * @returns {Promise} return empty promise
157
159
  * @public
158
160
  */
159
- LREPSerializer.prototype.saveCommands = function(bSaveAsDraft) {
161
+ LREPSerializer.prototype.saveCommands = function(bSaveAsDraft, sLayer, bRemoveOtherLayerChanges) {
160
162
  this._lastPromise = this._lastPromise.catch(function() {
161
163
  // _lastPromise chain must not be interrupted
162
164
  }).then(function() {
@@ -164,7 +166,13 @@ sap.ui.define([
164
166
  if (!oRootControl) {
165
167
  throw new Error("Can't save commands without root control instance!");
166
168
  }
167
- return PersistenceWriteAPI.save({selector: oRootControl, skipUpdateCache: false, draft: !!bSaveAsDraft});
169
+ return PersistenceWriteAPI.save({
170
+ selector: oRootControl,
171
+ skipUpdateCache: false,
172
+ draft: !!bSaveAsDraft,
173
+ layer: sLayer,
174
+ removeOtherLayerChanges: !!bRemoveOtherLayerChanges
175
+ });
168
176
  }.bind(this))
169
177
 
170
178
  .then(function() {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.90.9
23
+ * @version 1.90.12
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.90