@openui5/sap.ui.rta 1.130.0 → 1.131.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 (96) hide show
  1. package/THIRDPARTY.txt +1 -1
  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 +8 -21
  6. package/src/sap/ui/rta/Utils.js +1 -1
  7. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  8. package/src/sap/ui/rta/command/AddIFrame.js +2 -2
  9. package/src/sap/ui/rta/command/AddProperty.js +38 -26
  10. package/src/sap/ui/rta/command/AddXML.js +1 -1
  11. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  12. package/src/sap/ui/rta/command/Annotation.js +2 -3
  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 +5 -3
  16. package/src/sap/ui/rta/command/Combine.js +12 -7
  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 +1 -1
  20. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  21. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  22. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  23. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  24. package/src/sap/ui/rta/command/CreateContainer.js +2 -2
  25. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  26. package/src/sap/ui/rta/command/FlexCommand.js +6 -4
  27. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  28. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  29. package/src/sap/ui/rta/command/Move.js +13 -8
  30. package/src/sap/ui/rta/command/Property.js +7 -4
  31. package/src/sap/ui/rta/command/Remove.js +3 -2
  32. package/src/sap/ui/rta/command/Rename.js +11 -7
  33. package/src/sap/ui/rta/command/Resize.js +2 -3
  34. package/src/sap/ui/rta/command/Reveal.js +6 -4
  35. package/src/sap/ui/rta/command/Settings.js +2 -3
  36. package/src/sap/ui/rta/command/Split.js +12 -7
  37. package/src/sap/ui/rta/command/Stack.js +53 -44
  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 +135 -27
  44. package/src/sap/ui/rta/library.js +2 -2
  45. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  46. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  47. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  48. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  49. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  50. package/src/sap/ui/rta/plugin/CutPaste.js +5 -1
  51. package/src/sap/ui/rta/plugin/DragDrop.js +5 -1
  52. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  53. package/src/sap/ui/rta/plugin/Plugin.js +10 -2
  54. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  55. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  56. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  57. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -1
  58. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  59. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  60. package/src/sap/ui/rta/plugin/Settings.js +1 -6
  61. package/src/sap/ui/rta/plugin/Split.js +1 -1
  62. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  63. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  64. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  65. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  66. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  67. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  68. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  69. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  70. package/src/sap/ui/rta/service/Action.js +1 -1
  71. package/src/sap/ui/rta/service/ControllerExtension.js +13 -28
  72. package/src/sap/ui/rta/service/Outline.js +1 -1
  73. package/src/sap/ui/rta/service/Property.js +1 -1
  74. package/src/sap/ui/rta/service/Selection.js +1 -1
  75. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  76. package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +1 -2
  77. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  78. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  79. package/src/sap/ui/rta/toolbar/Fiori.js +14 -14
  80. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  81. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  82. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  83. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  84. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  85. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  86. package/src/sap/ui/rta/util/PluginManager.js +10 -9
  87. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  88. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  89. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  90. package/src/sap/ui/rta/util/ServiceManager.js +1 -1
  91. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  92. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  93. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
  94. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +1 -1
  95. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +3 -1
  96. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverviewDialog.fragment.xml +6 -6
package/THIRDPARTY.txt CHANGED
@@ -468,7 +468,7 @@ License: Apache-2.0
468
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
469
469
  Contained in: lib/jsdoc/ui5/plugin.js
470
470
 
471
- Component: SAP Theming Base Content, version: 11.18.0
471
+ Component: SAP Theming Base Content, version: 11.22.0
472
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
473
473
  License: Apache-2.0
474
474
  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.130.0",
3
+ "version": "1.131.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.130.0",
18
- "@openui5/sap.ui.core": "1.130.0",
19
- "@openui5/sap.ui.dt": "1.130.0",
20
- "@openui5/sap.ui.fl": "1.130.0",
21
- "@openui5/sap.ui.layout": "1.130.0"
17
+ "@openui5/sap.m": "1.131.0",
18
+ "@openui5/sap.ui.core": "1.131.0",
19
+ "@openui5/sap.ui.dt": "1.131.0",
20
+ "@openui5/sap.ui.fl": "1.131.0",
21
+ "@openui5/sap.ui.layout": "1.131.0"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.130.0</version>
9
+ <version>1.131.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with RTA controls.</documentation>
12
12
 
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @alias sap.ui.rta.Client
60
60
  * @author SAP SE
61
61
  * @since 1.56.0
62
- * @version 1.130.0
62
+ * @version 1.131.0
63
63
  * @private
64
64
  * @ui5-restricted
65
65
  */
@@ -10,7 +10,6 @@ sap.ui.define([
10
10
  "sap/base/Log",
11
11
  "sap/m/MessageBox",
12
12
  "sap/m/MessageToast",
13
- "sap/ui/thirdparty/jquery",
14
13
  "sap/ui/base/ManagedObject",
15
14
  "sap/ui/core/BusyIndicator",
16
15
  "sap/ui/core/Lib",
@@ -57,7 +56,6 @@ sap.ui.define([
57
56
  Log,
58
57
  MessageBox,
59
58
  MessageToast,
60
- jQuery,
61
59
  ManagedObject,
62
60
  BusyIndicator,
63
61
  Lib,
@@ -113,7 +111,7 @@ sap.ui.define([
113
111
  * @class The runtime authoring allows to adapt the fields of a running application.
114
112
  * @extends sap.ui.base.ManagedObject
115
113
  * @author SAP SE
116
- * @version 1.130.0
114
+ * @version 1.131.0
117
115
  * @constructor
118
116
  * @private
119
117
  * @since 1.30
@@ -482,13 +480,8 @@ sap.ui.define([
482
480
  await this.getToolbar().show();
483
481
  }
484
482
 
485
- if (Device.browser.name === "ff") {
486
- // in FF shift+f10 also opens a browser context menu.
487
- // It seems that the only way to get rid of it is to completely turn off context menu in ff..
488
- jQuery(document).on("contextmenu", ffContextMenuHandler);
489
- }
490
483
  this.fnKeyDown = onKeyDown.bind(this);
491
- jQuery(document).on("keydown", this.fnKeyDown);
484
+ document.addEventListener("keydown", this.fnKeyDown);
492
485
  this.fnOnPersonalizationChangeCreation = onPersonalizationChangeCreation.bind(this);
493
486
  ControlPersonalizationWriteAPI.attachChangeCreation(
494
487
  oRootControl,
@@ -640,7 +633,7 @@ sap.ui.define([
640
633
  }
641
634
 
642
635
  if (this.getPluginManager && this.getPluginManager()) {
643
- this.getPluginManager().provideCommandStack("settings", oCommandStack);
636
+ this.getPluginManager().provideCommandStack(oCommandStack);
644
637
  }
645
638
 
646
639
  return oResult;
@@ -738,7 +731,7 @@ sap.ui.define([
738
731
  this._oDesignTime = null;
739
732
 
740
733
  // detach browser events
741
- jQuery(document).off("keydown", this.fnKeyDown);
734
+ document.removeEventListener("keydown", this.fnKeyDown);
742
735
 
743
736
  if (this.fnOnPersonalizationChangeCreation) {
744
737
  ControlPersonalizationWriteAPI.detachChangeCreation(
@@ -754,10 +747,6 @@ sap.ui.define([
754
747
 
755
748
  this.setCommandStack(null);
756
749
 
757
- if (Device.browser.name === "ff") {
758
- jQuery(document).off("contextmenu", ffContextMenuHandler);
759
- }
760
-
761
750
  window.onbeforeunload = this._oldUnloadHandler;
762
751
 
763
752
  ManagedObject.prototype.destroy.apply(this, aArgs);
@@ -982,10 +971,6 @@ sap.ui.define([
982
971
  }
983
972
  }
984
973
 
985
- function ffContextMenuHandler() {
986
- return false;
987
- }
988
-
989
974
  /**
990
975
  * Checks the publish button, draft buttons(activate and delete) and app variant support (i.e.
991
976
  * Save As and Overview of App Variants) availability. The publish button shall not be available
@@ -1155,14 +1140,15 @@ sap.ui.define([
1155
1140
  };
1156
1141
 
1157
1142
  if (this._oVersionsModel.getProperty("/versioningEnabled")) {
1158
- let sVersion = bActivateVersion ? this._oVersionsModel.getProperty("/displayedVersion") : undefined;
1143
+ const sDisplayedVersion = this._oVersionsModel.getProperty("/displayedVersion");
1144
+ let sVersion = bActivateVersion ? sDisplayedVersion : undefined;
1159
1145
 
1160
1146
  // If a draft is being processed, saving without exiting must retrieve the updated state of the draft version
1161
1147
  sVersion ||= bIsExit ? undefined : Version.Number.Draft;
1162
1148
  mPropertyBag.version = sVersion;
1163
1149
 
1164
1150
  // Save changes on the current layer and discard dirty changes on other layers
1165
- mPropertyBag.saveAsDraft = this.getLayer() === Layer.CUSTOMER;
1151
+ mPropertyBag.saveAsDraft = this.getLayer() === Layer.CUSTOMER && sDisplayedVersion === Version.Number.Draft;
1166
1152
  }
1167
1153
  if (this._oContextBasedAdaptationsModel.getProperty("/contextBasedAdaptationsEnabled")) {
1168
1154
  // If an adaptation is being processed, saving without exiting must retrieve the updated state of the adaptation
@@ -1206,6 +1192,7 @@ sap.ui.define([
1206
1192
  displayedVersion: sDisplayedVersion
1207
1193
  });
1208
1194
  showMessageToast.call(this, "MSG_DRAFT_ACTIVATION_SUCCESS");
1195
+ this.getPluginManager().getPlugin("toolHooks").setVersionWasActivated(true);
1209
1196
  this.bInitialResetEnabled = true;
1210
1197
  this._oToolbarControlsModel.setProperty("/restore/enabled", true);
1211
1198
  this.getCommandStack().removeAllCommands();
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  *
45
45
  * @namespace
46
46
  * @author SAP SE
47
- * @version 1.130.0
47
+ * @version 1.131.0
48
48
  *
49
49
  * @private
50
50
  * @since 1.30
@@ -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.130.0
27
+ * @version 1.131.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.130.0
19
+ * @version 1.131.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.75
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  delete mChangeSpecificData.changeType;
92
92
  return {
93
93
  changeType: sChangeType,
94
- content: mChangeSpecificData
94
+ content: mChangeSpecificData.content
95
95
  };
96
96
  };
97
97
 
@@ -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.130.0
17
+ * @version 1.131.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.78
@@ -25,35 +25,45 @@ sap.ui.define([
25
25
  library: "sap.ui.rta",
26
26
  properties: {
27
27
  index: {
28
- type: "int"
28
+ type: "int",
29
+ group: "content"
29
30
  },
30
31
  newControlId: {
31
- type: "string"
32
+ type: "string",
33
+ group: "content"
32
34
  },
33
35
  // the name "bindingPath" conflicts with getBindingPath() method from ManagedObject
34
36
  bindingString: {
35
- type: "string"
37
+ type: "string",
38
+ group: "content"
36
39
  },
37
- entityType: {
38
- type: "string"
40
+ modelType: {
41
+ type: "string",
42
+ group: "content"
43
+ },
44
+ relevantContainerId: {
45
+ type: "string",
46
+ group: "content"
39
47
  },
40
48
  parentId: {
41
- type: "string"
49
+ type: "string",
50
+ group: "content"
42
51
  },
43
52
  oDataServiceVersion: {
44
- type: "string"
53
+ type: "string",
54
+ group: "content"
45
55
  },
46
56
  oDataServiceUri: {
47
- type: "string"
48
- },
49
- modelType: {
50
- type: "string"
51
- },
52
- relevantContainerId: {
53
- type: "string"
57
+ type: "string",
58
+ group: "oDataInformation"
54
59
  },
55
60
  propertyName: {
56
- type: "string"
61
+ type: "string",
62
+ group: "oDataInformation"
63
+ },
64
+ entityType: {
65
+ type: "string",
66
+ group: "oDataInformation"
57
67
  }
58
68
  }
59
69
  }
@@ -63,16 +73,18 @@ sap.ui.define([
63
73
  // general format
64
74
  return {
65
75
  changeType: this.getChangeType(),
66
- index: this.getIndex(),
67
- newControlId: this.getNewControlId(),
68
- bindingPath: this.getBindingString(),
69
- parentId: this.getParentId(),
70
- // used to connect to default delegate
71
- modelType: this.getModelType(),
72
- // allow change handlers to access delegates if the change is not done on the relevant container
73
- relevantContainerId: this.getRelevantContainerId(),
74
- // used to connect to change handler mediator
75
- oDataServiceVersion: this.getODataServiceVersion(),
76
+ content: {
77
+ index: this.getIndex(),
78
+ newControlId: this.getNewControlId(),
79
+ bindingPath: this.getBindingString(),
80
+ parentId: this.getParentId(),
81
+ // used to connect to default delegate
82
+ modelType: this.getModelType(),
83
+ // allow change handlers to access delegates if the change is not done on the relevant container
84
+ relevantContainerId: this.getRelevantContainerId(),
85
+ // used to connect to change handler mediator
86
+ oDataServiceVersion: this.getODataServiceVersion()
87
+ },
76
88
  // necessary for custom fields support tools
77
89
  oDataInformation: {
78
90
  oDataServiceUri: this.getODataServiceUri(),
@@ -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.130.0
19
+ * @version 1.131.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54
@@ -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.130.0
27
+ * @version 1.131.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.130.0
20
+ * @version 1.131.0
21
21
  *
22
22
  * @constructor
23
23
  * @private
@@ -29,8 +29,7 @@ sap.ui.define([
29
29
  library: "sap.ui.rta",
30
30
  properties: {
31
31
  content: {
32
- type: "any",
33
- group: "content"
32
+ type: "any"
34
33
  }
35
34
  },
36
35
  events: {}
@@ -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.130.0
24
+ * @version 1.131.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @extends sap.ui.base.ManagedObject
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.130.0
19
+ * @version 1.131.0
20
20
  *
21
21
  * @constructor
22
22
  * @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.130.0
29
+ * @version 1.131.0
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.38
@@ -37,10 +37,12 @@ sap.ui.define([
37
37
  library: "sap.ui.rta",
38
38
  properties: {
39
39
  propertyName: {
40
- type: "string"
40
+ type: "string",
41
+ group: "content"
41
42
  },
42
43
  newBinding: {
43
- type: "string"
44
+ type: "string",
45
+ group: "content"
44
46
  },
45
47
  changeType: {
46
48
  type: "string",
@@ -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.130.0
19
+ * @version 1.131.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -27,13 +27,16 @@ sap.ui.define([
27
27
  library: "sap.ui.rta",
28
28
  properties: {
29
29
  newElementId: {
30
- type: "string"
30
+ type: "string",
31
+ group: "content"
31
32
  },
32
33
  source: {
33
- type: "any"
34
+ type: "any",
35
+ group: "content"
34
36
  },
35
37
  combineElements: {
36
- type: "any[]"
38
+ type: "any[]",
39
+ group: "content"
37
40
  }
38
41
  },
39
42
  associations: {},
@@ -50,10 +53,12 @@ sap.ui.define([
50
53
  aFieldIds.push(oField.getId());
51
54
  });
52
55
  var mSpecificInfo = {
53
- newElementId: this.getNewElementId(),
54
56
  changeType: this.getChangeType(),
55
- sourceControlId: this.getSource().getId(),
56
- combineElementIds: aFieldIds
57
+ content: {
58
+ newElementId: this.getNewElementId(),
59
+ sourceControlId: this.getSource().getId(),
60
+ combineElementIds: aFieldIds
61
+ }
57
62
  };
58
63
  return mSpecificInfo;
59
64
  };
@@ -493,7 +493,7 @@ sap.ui.define([
493
493
  * @extends sap.ui.base.ManagedObject
494
494
  *
495
495
  * @author SAP SE
496
- * @version 1.130.0
496
+ * @version 1.131.0
497
497
  *
498
498
  * @constructor
499
499
  * @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.130.0
24
+ * @version 1.131.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -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.130.0
31
+ * @version 1.131.0
32
32
  * @constructor
33
33
  * @private
34
34
  * @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.130.0
23
+ * @version 1.131.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.86
@@ -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.130.0
31
+ * @version 1.131.0
32
32
  * @constructor
33
33
  * @private
34
34
  * @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.130.0
27
+ * @version 1.131.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.50
@@ -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.130.0
25
+ * @version 1.131.0
26
26
  * @constructor
27
27
  * @private
28
28
  * @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.130.0
15
+ * @version 1.131.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -46,7 +46,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
46
46
  CreateContainer.prototype._getChangeSpecificData = function() {
47
47
  var mSpecificInfo = FlexCommand.prototype._getChangeSpecificData.apply(this);
48
48
 
49
- mSpecificInfo.newLabel = this.getLabel();
49
+ mSpecificInfo.content.newLabel = this.getLabel();
50
50
 
51
51
  return mSpecificInfo;
52
52
  };
@@ -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.130.0
15
+ * @version 1.131.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.62
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.rta.command.BaseCommand
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.130.0
38
+ * @version 1.131.0
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -150,21 +150,23 @@ sap.ui.define([
150
150
  };
151
151
 
152
152
  /**
153
- * This method converts all command constructor parameters that are flagged with group 'content' into change specific data.
153
+ * This method converts all command constructor parameters that are flagged with group 'content' into the corresponding object.
154
154
  * @return {object} Returns the <code>ChangeSpecificInfo</code> for change handler
155
155
  * @protected
156
156
  */
157
157
  FlexCommand.prototype._getChangeSpecificData = function() {
158
158
  var mProperties = this.getMetadata().getProperties();
159
159
  var mChangeSpecificData = {
160
- changeType: this.getChangeType()
160
+ changeType: this.getChangeType(),
161
+ content: mProperties.content?.get(this)
161
162
  };
162
163
  objectValues(mProperties)
163
164
  .filter(function(oProperty) {
164
165
  return oProperty.group === "content";
165
166
  })
166
167
  .forEach(function(oProperty) {
167
- mChangeSpecificData[oProperty.name] = oProperty.get(this);
168
+ mChangeSpecificData.content ||= {};
169
+ mChangeSpecificData.content[oProperty.name] = oProperty.get(this);
168
170
  }, this);
169
171
  return mChangeSpecificData;
170
172
  };
@@ -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.130.0
30
+ * @version 1.131.0
31
31
  * @constructor
32
32
  * @private
33
33
  * @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.130.0
23
+ * @version 1.131.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.130.0
20
+ * @version 1.131.0
21
21
  * @constructor
22
22
  * @private
23
23
  * @since 1.34
@@ -28,13 +28,16 @@ function(
28
28
  library: "sap.ui.rta",
29
29
  properties: {
30
30
  movedElements: {
31
- type: "any[]"
31
+ type: "any[]",
32
+ group: "content"
32
33
  },
33
34
  target: {
34
- type: "any"
35
+ type: "any",
36
+ group: "content"
35
37
  },
36
38
  source: {
37
- type: "any"
39
+ type: "any",
40
+ group: "content"
38
41
  }
39
42
  },
40
43
  associations: {},
@@ -60,13 +63,15 @@ function(
60
63
  }
61
64
  var mSpecificInfo = {
62
65
  changeType: this.getChangeType(),
63
- source: mSource,
64
- target: mTarget,
65
- movedElements: []
66
+ content: {
67
+ source: mSource,
68
+ target: mTarget,
69
+ movedElements: []
70
+ }
66
71
  };
67
72
 
68
73
  this.getMovedElements().forEach(function(mMovedElement) {
69
- mSpecificInfo.movedElements.push({
74
+ mSpecificInfo.content.movedElements.push({
70
75
  id: mMovedElement.id || (mMovedElement.element && mMovedElement.element.getId()),
71
76
  sourceIndex: mMovedElement.sourceIndex,
72
77
  targetIndex: mMovedElement.targetIndex
@@ -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.130.0
19
+ * @version 1.131.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.34
@@ -27,13 +27,16 @@ sap.ui.define([
27
27
  library: "sap.ui.rta",
28
28
  properties: {
29
29
  propertyName: {
30
- type: "string"
30
+ type: "string",
31
+ group: "content"
31
32
  },
32
33
  newValue: {
33
- type: "any"
34
+ type: "any",
35
+ group: "content"
34
36
  },
35
37
  semanticMeaning: {
36
- type: "string"
38
+ type: "string",
39
+ group: "content"
37
40
  },
38
41
  changeType: {
39
42
  type: "string",