@openui5/sap.ui.rta 1.99.0 → 1.100.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 (87) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +6 -6
  3. package/src/sap/ui/rta/.library +1 -1
  4. package/src/sap/ui/rta/Client.js +1 -1
  5. package/src/sap/ui/rta/RuntimeAuthoring.js +6 -7
  6. package/src/sap/ui/rta/Utils.js +3 -5
  7. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  8. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  9. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  10. package/src/sap/ui/rta/command/AddXML.js +3 -2
  11. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +3 -2
  12. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  13. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  14. package/src/sap/ui/rta/command/BindProperty.js +3 -2
  15. package/src/sap/ui/rta/command/Combine.js +1 -1
  16. package/src/sap/ui/rta/command/CommandFactory.js +3 -3
  17. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  18. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  19. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  20. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  21. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  22. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  23. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  24. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  25. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  26. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  27. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  28. package/src/sap/ui/rta/command/Move.js +1 -1
  29. package/src/sap/ui/rta/command/Property.js +1 -1
  30. package/src/sap/ui/rta/command/Remove.js +1 -1
  31. package/src/sap/ui/rta/command/Rename.js +1 -1
  32. package/src/sap/ui/rta/command/Reveal.js +1 -1
  33. package/src/sap/ui/rta/command/Settings.js +1 -1
  34. package/src/sap/ui/rta/command/Split.js +1 -1
  35. package/src/sap/ui/rta/command/Stack.js +8 -7
  36. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  37. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  38. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  40. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  41. package/src/sap/ui/rta/library.js +2 -2
  42. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  43. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  44. package/src/sap/ui/rta/plugin/Combine.js +2 -2
  45. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  46. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  47. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  48. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  49. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  50. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  51. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  52. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  53. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  54. package/src/sap/ui/rta/plugin/Remove.js +21 -8
  55. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  56. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -1
  57. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  58. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  59. package/src/sap/ui/rta/plugin/Split.js +1 -1
  60. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  61. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  62. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  63. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  64. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  65. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  66. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  67. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  68. package/src/sap/ui/rta/service/Action.js +1 -1
  69. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  70. package/src/sap/ui/rta/service/Outline.js +1 -1
  71. package/src/sap/ui/rta/service/Property.js +1 -1
  72. package/src/sap/ui/rta/service/Selection.js +1 -1
  73. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +5 -11
  74. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  75. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  76. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  77. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  78. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  79. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  80. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  81. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  82. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  83. package/src/sap/ui/rta/util/PopupManager.js +33 -12
  84. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  85. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  86. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  87. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +4 -6
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.10
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.34
453
+ Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.99.0",
3
+ "version": "1.100.0",
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.99.0",
18
- "@openui5/sap.ui.core": "1.99.0",
19
- "@openui5/sap.ui.dt": "1.99.0",
20
- "@openui5/sap.ui.fl": "1.99.0",
21
- "@openui5/sap.ui.layout": "1.99.0"
17
+ "@openui5/sap.m": "1.100.0",
18
+ "@openui5/sap.ui.core": "1.100.0",
19
+ "@openui5/sap.ui.dt": "1.100.0",
20
+ "@openui5/sap.ui.fl": "1.100.0",
21
+ "@openui5/sap.ui.layout": "1.100.0"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
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.99.0</version>
9
+ <version>1.100.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with RTA controls.</documentation>
12
12
 
@@ -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.99.0
60
+ * @version 1.100.0
61
61
  * @private
62
62
  * @ui5-restricted
63
63
  */
@@ -114,7 +114,7 @@ sap.ui.define([
114
114
  * @class The runtime authoring allows to adapt the fields of a running application.
115
115
  * @extends sap.ui.base.ManagedObject
116
116
  * @author SAP SE
117
- * @version 1.99.0
117
+ * @version 1.100.0
118
118
  * @constructor
119
119
  * @private
120
120
  * @since 1.30
@@ -330,7 +330,7 @@ sap.ui.define([
330
330
 
331
331
  /**
332
332
  * Getter method for plugins.
333
- * @returns {object<sap.ui.rta.plugin.Plugin>} map with plugins
333
+ * @returns {Object<string, sap.ui.rta.plugin.Plugin>} map with plugins
334
334
  */
335
335
  RuntimeAuthoring.prototype.getPlugins = function () {
336
336
  return this.getPluginManager
@@ -1237,6 +1237,8 @@ sap.ui.define([
1237
1237
  selector: oSelector,
1238
1238
  layer: sLayer
1239
1239
  }).then(function () {
1240
+ // avoids the data loss popup; a reload is triggered later and will destroy RTA & the command stack
1241
+ this.getCommandStack().removeAllCommands(true);
1240
1242
  ReloadInfoAPI.removeInfoSessionStorage(oSelector);
1241
1243
  var oReloadInfo = {
1242
1244
  isDraftAvailable: ReloadInfoAPI.hasVersionParameterWithValue({value: sLayer}, this._getUShellService("URLParsing")),
@@ -1337,10 +1339,7 @@ sap.ui.define([
1337
1339
  }).then(function(sAction) {
1338
1340
  if (sAction === MessageBox.Action.OK) {
1339
1341
  RuntimeAuthoring.enableRestart(sLayer, this.getRootControlInstance());
1340
- return this._deleteChanges()
1341
- .then(function () {
1342
- this.getCommandStack().removeAllCommands();
1343
- }.bind(this));
1342
+ return this._deleteChanges();
1344
1343
  }
1345
1344
  return undefined;
1346
1345
  }.bind(this));
@@ -1660,7 +1659,7 @@ sap.ui.define([
1660
1659
  };
1661
1660
 
1662
1661
  RuntimeAuthoring.prototype._triggerReloadOnStart = function(oReloadInfo) {
1663
- if (this._getUShellService("CrossApplicationNavigation")) {
1662
+ if (this._getUShellService("CrossApplicationNavigation") && this._oVersionsModel.getProperty("/versioningEnabled")) {
1664
1663
  if (oReloadInfo.isDraftAvailable) {
1665
1664
  // clears FlexState and triggers reloading of the flex data without blocking
1666
1665
  VersionsAPI.loadDraftForApplication({
@@ -41,15 +41,13 @@ function(
41
41
  "use strict";
42
42
 
43
43
  /**
44
- * Class for Utils.
45
- *
46
- * @class Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
44
+ * Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
47
45
  *
46
+ * @namespace
48
47
  * @author SAP SE
49
- * @version 1.99.0
48
+ * @version 1.100.0
50
49
  *
51
50
  * @private
52
- * @static
53
51
  * @since 1.30
54
52
  * @alias sap.ui.rta.Utils
55
53
  * @experimental Since 1.30. This class is experimental and provides only limited functionality.
@@ -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.99.0
27
+ * @version 1.100.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -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.99.0
19
+ * @version 1.100.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.75
@@ -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.99.0
17
+ * @version 1.100.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.78
@@ -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.99.0
19
+ * @version 1.100.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54
@@ -55,7 +55,8 @@ sap.ui.define([
55
55
  });
56
56
 
57
57
  /**
58
- * @override to suppress the {} being recognized as binding strings
58
+ * Overridden to suppress the {} being recognized as binding strings.
59
+ * @override
59
60
  */
60
61
  AddXML.prototype.bindProperty = function(sName, oBindingInfo) {
61
62
  if (sName === "fragment") {
@@ -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.99.0
27
+ * @version 1.100.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -55,7 +55,8 @@ sap.ui.define([
55
55
  });
56
56
 
57
57
  /**
58
- * @override to suppress the {} being recognized as binding strings
58
+ * Overridden to suppress the {} being recognized as binding strings.
59
+ * @override
59
60
  */
60
61
  AddXMLAtExtensionPoint.prototype.bindProperty = function(sName, oBindingInfo) {
61
62
  if (sName === "fragment") {
@@ -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.99.0
24
+ * @version 1.100.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -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.99.0
16
+ * @version 1.100.0
17
17
  *
18
18
  * @constructor
19
19
  * @private
@@ -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.99.0
29
+ * @version 1.100.0
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.38
@@ -55,7 +55,8 @@ sap.ui.define([
55
55
  });
56
56
 
57
57
  /**
58
- * @override to suppress the binding strings to be used as binding
58
+ * Overridden to suppress the binding strings to be used as binding.
59
+ * @override
59
60
  */
60
61
  BindProperty.prototype.bindProperty = function(sName, oBindingInfo) {
61
62
  if (sName === "newBinding") {
@@ -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.99.0
19
+ * @version 1.100.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -93,8 +93,8 @@ sap.ui.define([
93
93
  oCommand.setJsOnly(bJsOnly);
94
94
  if (oCommand.setVariantIndependent) {
95
95
  oCommand.setVariantIndependent(bVariantIndependent);
96
- } else {
97
- Log.error("the variant independent Flag is not available for the action used in: ", sChangeType);
96
+ } else if (bVariantIndependent) {
97
+ Log.error("the variant independent Flag is not available for the action", sChangeType);
98
98
  }
99
99
  return true;
100
100
  }
@@ -479,7 +479,7 @@ sap.ui.define([
479
479
  * @extends sap.ui.base.ManagedObject
480
480
  *
481
481
  * @author SAP SE
482
- * @version 1.99.0
482
+ * @version 1.100.0
483
483
  *
484
484
  * @constructor
485
485
  * @private
@@ -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.99.0
24
+ * @version 1.100.0
25
25
  *
26
26
  * @constructor
27
27
  * @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.99.0
23
+ * @version 1.100.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.52
@@ -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.99.0
23
+ * @version 1.100.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.86
@@ -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.99.0
27
+ * @version 1.100.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.86
@@ -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.99.0
19
+ * @version 1.100.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.50
@@ -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.99.0
23
+ * @version 1.100.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.50
@@ -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.99.0
15
+ * @version 1.100.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.99.0
15
+ * @version 1.100.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.62
@@ -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.99.0
32
+ * @version 1.100.0
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -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.99.0
32
+ * @version 1.100.0
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.42
@@ -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.99.0
23
+ * @version 1.100.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.99.0
20
+ * @version 1.100.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.99.0
19
+ * @version 1.100.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.99.0
15
+ * @version 1.100.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.99.0
15
+ * @version 1.100.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.99.0
15
+ * @version 1.100.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.99.0
15
+ * @version 1.100.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.99.0
17
+ * @version 1.100.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.46
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @class
56
56
  * @extends sap.ui.base.ManagedObject
57
57
  * @author SAP SE
58
- * @version 1.99.0
58
+ * @version 1.100.0
59
59
  * @constructor
60
60
  * @private
61
61
  * @since 1.34
@@ -207,17 +207,18 @@ sap.ui.define([
207
207
  }).then(function() {
208
208
  var oCommand = this._getCommandToBeExecuted();
209
209
  if (oCommand) {
210
+ var mParam = {
211
+ command: oCommand,
212
+ undo: false
213
+ };
210
214
  return oCommand.execute()
211
215
 
216
+ .then(this._waitForCommandExecutionHandler.bind(this, mParam))
217
+
212
218
  .then(function() {
213
219
  this._toBeExecuted--;
214
- var mParam = {
215
- command: oCommand,
216
- undo: false
217
- };
218
220
  this.fireCommandExecuted(mParam);
219
221
  this.fireModified();
220
- return this._waitForCommandExecutionHandler(mParam);
221
222
  }.bind(this))
222
223
 
223
224
  .catch(function(oError) {
@@ -314,4 +315,4 @@ sap.ui.define([
314
315
  };
315
316
 
316
317
  return Stack;
317
- });
318
+ });
@@ -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.99.0
20
+ * @version 1.100.0
21
21
  *
22
22
  * @constructor
23
23
  * @private
@@ -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.99.0
21
+ * @version 1.100.0
22
22
  * @constructor
23
23
  * @private
24
24
  * @since 1.87
@@ -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.99.0
19
+ * @version 1.100.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.87
@@ -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.99.0
23
+ * @version 1.100.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.87
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * E.g. <code>controlEnablingCheck.only("Remove");</code>
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.99.0
54
+ * @version 1.100.0
55
55
  *
56
56
  * @static
57
57
  * @since 1.42
@@ -23,7 +23,7 @@ function() {
23
23
  * @namespace
24
24
  * @name sap.ui.rta
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.100.0
27
27
  * @since 1.50
28
28
  * @private
29
29
  * @experimental This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -33,7 +33,7 @@ function() {
33
33
  // delegate further initialization of this library to the Core
34
34
  sap.ui.getCore().initLibrary({
35
35
  name: "sap.ui.rta",
36
- version: "1.99.0",
36
+ version: "1.100.0",
37
37
  dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
38
38
  types: [],
39
39
  interfaces: [],
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  * @extends sap.ui.rta.plugin.Plugin
47
47
  * @author SAP SE
48
- * @version 1.99.0
48
+ * @version 1.100.0
49
49
  * @constructor
50
50
  * @private
51
51
  * @since 1.78
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class The BaseCreate allows trigger BaseCreate operations on the overlay.
24
24
  * @extends sap.ui.rta.plugin.Plugin
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.100.0
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.75
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class
26
26
  * @extends sap.ui.rta.plugin.Plugin
27
27
  * @author SAP SE
28
- * @version 1.99.0
28
+ * @version 1.100.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.46
@@ -159,7 +159,7 @@ sap.ui.define([
159
159
  /**
160
160
  * @param {sap.ui.dt.ElementOverlay[]} aElementOverlays - specified overlays
161
161
  * @param {sap.ui.core.Element} oCombineElement - element where the combine was triggered
162
- * @returns {promise} Promise
162
+ * @returns {Promise} Promise
163
163
  */
164
164
  Combine.prototype.handleCombine = function(aElementOverlays, oCombineElement) {
165
165
  var oCombineElementOverlay;
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @class The ControlVariant allows propagation of variantManagement key
44
44
  * @extends sap.ui.rta.plugin.Plugin
45
45
  * @author SAP SE
46
- * @version 1.99.0
46
+ * @version 1.100.0
47
47
  * @constructor
48
48
  * @private
49
49
  * @since 1.50
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class The CreateContainer allows trigger CreateContainer operations on the overlay
28
28
  * @extends sap.ui.rta.plugin.BaseCreate
29
29
  * @author SAP SE
30
- * @version 1.99.0
30
+ * @version 1.100.0
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.34
@@ -31,7 +31,7 @@ function(
31
31
  * @extends sap.ui.dt.plugin.CutPaste
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.99.0
34
+ * @version 1.100.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -33,7 +33,7 @@ function(
33
33
  * @extends sap.ui.dt.plugin.ControlDragDrop
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.99.0
36
+ * @version 1.100.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The EasyAdd Plugin adds an Icon to an Overlay, which allows to trigger add operations directly
26
26
  * @extends sap.ui.rta.plugin.additionalElements.AdditionalElementsPlugin
27
27
  * @author SAP SE
28
- * @version 1.99.0
28
+ * @version 1.100.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.48