@openui5/sap.ui.rta 1.100.0 → 1.101.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 (142) hide show
  1. package/THIRDPARTY.txt +5 -5
  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 +12 -4
  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 +1 -1
  9. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  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/AppDescriptorCommand.js +1 -1
  13. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  14. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  15. package/src/sap/ui/rta/command/Combine.js +1 -1
  16. package/src/sap/ui/rta/command/CommandFactory.js +4 -1
  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/Resize.js +45 -0
  33. package/src/sap/ui/rta/command/Reveal.js +1 -1
  34. package/src/sap/ui/rta/command/Settings.js +1 -1
  35. package/src/sap/ui/rta/command/Split.js +1 -1
  36. package/src/sap/ui/rta/command/Stack.js +8 -6
  37. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  38. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  41. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  42. package/src/sap/ui/rta/library.js +6 -9
  43. package/src/sap/ui/rta/messagebundle.properties +13 -7
  44. package/src/sap/ui/rta/messagebundle_ar.properties +9 -6
  45. package/src/sap/ui/rta/messagebundle_bg.properties +9 -6
  46. package/src/sap/ui/rta/messagebundle_ca.properties +10 -7
  47. package/src/sap/ui/rta/messagebundle_cs.properties +9 -6
  48. package/src/sap/ui/rta/messagebundle_cy.properties +9 -6
  49. package/src/sap/ui/rta/messagebundle_da.properties +9 -6
  50. package/src/sap/ui/rta/messagebundle_de.properties +9 -6
  51. package/src/sap/ui/rta/messagebundle_el.properties +9 -6
  52. package/src/sap/ui/rta/messagebundle_en.properties +9 -6
  53. package/src/sap/ui/rta/messagebundle_en_GB.properties +9 -6
  54. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +9 -6
  55. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +9 -6
  56. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +9 -6
  57. package/src/sap/ui/rta/messagebundle_es.properties +9 -6
  58. package/src/sap/ui/rta/messagebundle_es_MX.properties +9 -6
  59. package/src/sap/ui/rta/messagebundle_et.properties +9 -6
  60. package/src/sap/ui/rta/messagebundle_fi.properties +9 -6
  61. package/src/sap/ui/rta/messagebundle_fr.properties +9 -6
  62. package/src/sap/ui/rta/messagebundle_fr_CA.properties +9 -6
  63. package/src/sap/ui/rta/messagebundle_hi.properties +8 -5
  64. package/src/sap/ui/rta/messagebundle_hr.properties +9 -6
  65. package/src/sap/ui/rta/messagebundle_hu.properties +9 -6
  66. package/src/sap/ui/rta/messagebundle_id.properties +9 -6
  67. package/src/sap/ui/rta/messagebundle_it.properties +9 -6
  68. package/src/sap/ui/rta/messagebundle_iw.properties +9 -6
  69. package/src/sap/ui/rta/messagebundle_ja.properties +9 -6
  70. package/src/sap/ui/rta/messagebundle_kk.properties +9 -6
  71. package/src/sap/ui/rta/messagebundle_ko.properties +9 -6
  72. package/src/sap/ui/rta/messagebundle_lt.properties +9 -6
  73. package/src/sap/ui/rta/messagebundle_lv.properties +9 -6
  74. package/src/sap/ui/rta/messagebundle_ms.properties +9 -6
  75. package/src/sap/ui/rta/messagebundle_nl.properties +9 -6
  76. package/src/sap/ui/rta/messagebundle_no.properties +9 -6
  77. package/src/sap/ui/rta/messagebundle_pl.properties +9 -6
  78. package/src/sap/ui/rta/messagebundle_pt.properties +9 -6
  79. package/src/sap/ui/rta/messagebundle_pt_PT.properties +9 -6
  80. package/src/sap/ui/rta/messagebundle_ro.properties +9 -6
  81. package/src/sap/ui/rta/messagebundle_ru.properties +9 -6
  82. package/src/sap/ui/rta/messagebundle_sh.properties +9 -6
  83. package/src/sap/ui/rta/messagebundle_sk.properties +9 -6
  84. package/src/sap/ui/rta/messagebundle_sl.properties +9 -6
  85. package/src/sap/ui/rta/messagebundle_sv.properties +9 -6
  86. package/src/sap/ui/rta/messagebundle_th.properties +9 -6
  87. package/src/sap/ui/rta/messagebundle_tr.properties +9 -6
  88. package/src/sap/ui/rta/messagebundle_uk.properties +9 -6
  89. package/src/sap/ui/rta/messagebundle_vi.properties +9 -6
  90. package/src/sap/ui/rta/messagebundle_zh_CN.properties +9 -6
  91. package/src/sap/ui/rta/messagebundle_zh_TW.properties +10 -7
  92. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  93. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  94. package/src/sap/ui/rta/plugin/Combine.js +5 -11
  95. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  96. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -3
  97. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  98. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  99. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  100. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  101. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  102. package/src/sap/ui/rta/plugin/Plugin.js +32 -11
  103. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  104. package/src/sap/ui/rta/plugin/Remove.js +5 -19
  105. package/src/sap/ui/rta/plugin/Rename.js +6 -19
  106. package/src/sap/ui/rta/plugin/RenameHandler.js +21 -6
  107. package/src/sap/ui/rta/plugin/Resize.js +432 -0
  108. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  109. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  110. package/src/sap/ui/rta/plugin/Split.js +5 -11
  111. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  112. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  113. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  114. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  115. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  116. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  117. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  118. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  119. package/src/sap/ui/rta/service/Action.js +1 -1
  120. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  121. package/src/sap/ui/rta/service/Outline.js +1 -1
  122. package/src/sap/ui/rta/service/Property.js +1 -1
  123. package/src/sap/ui/rta/service/Selection.js +1 -1
  124. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +19 -22
  125. package/src/sap/ui/rta/themes/base/Overlay.less +50 -0
  126. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +5 -19
  127. package/src/sap/ui/rta/toolbar/Adaptation.js +4 -3
  128. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  129. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  130. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  131. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  132. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  133. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  134. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  135. package/src/sap/ui/rta/util/PluginManager.js +9 -3
  136. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  137. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  138. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +3 -2
  139. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +30 -0
  140. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  141. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +83 -18
  142. package/src/sap/ui/rta/util/changeVisualization/categories/MoveVisualization.js +25 -7
package/THIRDPARTY.txt CHANGED
@@ -400,7 +400,7 @@ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperato
400
400
 
401
401
  Library: sap.ui.webc.common:
402
402
 
403
- Component: UI5 Web Components, version: 1.0.0-rc.12
403
+ Component: UI5 Web Components, version: 1.1.2
404
404
  Copyright: SAP
405
405
  License: Apache-2.0
406
406
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -411,7 +411,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
411
411
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
412
412
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
413
413
 
414
- Component: lit-html, version: 1.4.1
414
+ Component: lit-html, version: 2.0.1
415
415
  Copyright: Google LLC
416
416
  License: BSD-3-Clause
417
417
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -420,7 +420,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
420
420
 
421
421
  Library: sap.ui.webc.fiori:
422
422
 
423
- Component: UI5 Web Components, version: 1.0.0-rc.12
423
+ Component: UI5 Web Components, version: 1.1.2
424
424
  Copyright: SAP
425
425
  License: Apache-2.0
426
426
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -429,7 +429,7 @@ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
429
429
 
430
430
  Library: sap.ui.webc.main:
431
431
 
432
- Component: UI5 Web Components, version: 1.0.0-rc.12
432
+ Component: UI5 Web Components, version: 1.1.2
433
433
  Copyright: SAP
434
434
  License: Apache-2.0
435
435
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.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.36-SNAPSHOT
453
+ Component: SAP Theming Base Content, version: 11.1.38
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.100.0",
3
+ "version": "1.101.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.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"
17
+ "@openui5/sap.m": "1.101.0",
18
+ "@openui5/sap.ui.core": "1.101.0",
19
+ "@openui5/sap.ui.dt": "1.101.0",
20
+ "@openui5/sap.ui.fl": "1.101.0",
21
+ "@openui5/sap.ui.layout": "1.101.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.100.0</version>
9
+ <version>1.101.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.100.0
60
+ * @version 1.101.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.100.0
117
+ * @version 1.101.0
118
118
  * @constructor
119
119
  * @private
120
120
  * @since 1.30
@@ -878,6 +878,13 @@ sap.ui.define([
878
878
  return undefined;
879
879
  };
880
880
 
881
+ RuntimeAuthoring.prototype._saveOnly = function(oEvent) {
882
+ var fnCallback = oEvent.getParameter("callback") || function() {};
883
+ return waitForPendingActions.call(this)
884
+ .then(this._serializeToLrep.bind(this))
885
+ .then(fnCallback);
886
+ };
887
+
881
888
  RuntimeAuthoring.prototype._serializeAndSave = function() {
882
889
  // Save changes on the current layer and discard dirty changes on other layers
883
890
  return this._oSerializer.saveCommands(this._oVersionsModel.getProperty("/versioningEnabled"), this.getLayer(), true);
@@ -1054,7 +1061,8 @@ sap.ui.define([
1054
1061
  },
1055
1062
  textResources: this._getTextResources(),
1056
1063
  restore: this._onRestore.bind(this),
1057
- exit: this.stop.bind(this, false, bUserLayer)
1064
+ exit: this.stop.bind(this, false, bUserLayer),
1065
+ save: this._saveOnly.bind(this)
1058
1066
  };
1059
1067
 
1060
1068
  if (!bUserLayer) {
@@ -1065,8 +1073,8 @@ sap.ui.define([
1065
1073
  oProperties.activate = this._onActivate.bind(this);
1066
1074
  oProperties.discardDraft = this._onDiscardDraft.bind(this);
1067
1075
  oProperties.switchVersion = this._onSwitchVersion.bind(this);
1068
- oProperties.onCommandCategorySelection = this.getChangeVisualization
1069
- ? this.getChangeVisualization().onCommandCategorySelection.bind(this.getChangeVisualization())
1076
+ oProperties.openChangeCategorySelectionPopover = this.getChangeVisualization
1077
+ ? this.getChangeVisualization().openChangeCategorySelectionPopover.bind(this.getChangeVisualization())
1070
1078
  : function () {};
1071
1079
  }
1072
1080
 
@@ -45,7 +45,7 @@ function(
45
45
  *
46
46
  * @namespace
47
47
  * @author SAP SE
48
- * @version 1.100.0
48
+ * @version 1.101.0
49
49
  *
50
50
  * @private
51
51
  * @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.100.0
27
+ * @version 1.101.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.100.0
19
+ * @version 1.101.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.100.0
17
+ * @version 1.101.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.100.0
19
+ * @version 1.101.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.100.0
27
+ * @version 1.101.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -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.100.0
24
+ * @version 1.101.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.100.0
16
+ * @version 1.101.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.100.0
29
+ * @version 1.101.0
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.38
@@ -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.100.0
19
+ * @version 1.101.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -351,6 +351,9 @@ sap.ui.define([
351
351
  configure: configureSplitCommand,
352
352
  adjustForBinding: adjustSplitCommand
353
353
  },
354
+ resize: {
355
+ clazz: "sap/ui/rta/command/Resize"
356
+ },
354
357
  "switch": {
355
358
  clazz: "sap/ui/rta/command/ControlVariantSwitch"
356
359
  },
@@ -479,7 +482,7 @@ sap.ui.define([
479
482
  * @extends sap.ui.base.ManagedObject
480
483
  *
481
484
  * @author SAP SE
482
- * @version 1.100.0
485
+ * @version 1.101.0
483
486
  *
484
487
  * @constructor
485
488
  * @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.100.0
24
+ * @version 1.101.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.100.0
23
+ * @version 1.101.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.100.0
23
+ * @version 1.101.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.100.0
27
+ * @version 1.101.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.100.0
19
+ * @version 1.101.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.100.0
23
+ * @version 1.101.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.100.0
15
+ * @version 1.101.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.100.0
15
+ * @version 1.101.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.100.0
32
+ * @version 1.101.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.100.0
32
+ * @version 1.101.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.100.0
23
+ * @version 1.101.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.100.0
20
+ * @version 1.101.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.100.0
19
+ * @version 1.101.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.100.0
15
+ * @version 1.101.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.100.0
15
+ * @version 1.101.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -0,0 +1,45 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+ sap.ui.define([
7
+ "sap/ui/rta/command/FlexCommand"
8
+ ], function(
9
+ FlexCommand
10
+ ) {
11
+ "use strict";
12
+
13
+ /**
14
+ * Resize command
15
+ *
16
+ * @class
17
+ * @extends sap.ui.rta.command.FlexCommand
18
+ * @author SAP SE
19
+ * @version 1.101.0
20
+ * @constructor
21
+ * @private
22
+ * @since 1.101
23
+ * @alias sap.ui.rta.command.Resize
24
+ */
25
+ var Resize = FlexCommand.extend("sap.ui.rta.command.Resize", {
26
+ metadata: {
27
+ library: "sap.ui.rta",
28
+ properties: {
29
+ // Generic structure is required as some implementations (e.g. Tables) create changes like in Settings action
30
+ content: {
31
+ type: "any",
32
+ group: "content"
33
+ },
34
+ changeType: {
35
+ type: "string",
36
+ defaultValue: "resize"
37
+ }
38
+ },
39
+ associations: {},
40
+ events: {}
41
+ }
42
+ });
43
+
44
+ return Resize;
45
+ });
@@ -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.100.0
15
+ * @version 1.101.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.100.0
15
+ * @version 1.101.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.100.0
17
+ * @version 1.101.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.100.0
58
+ * @version 1.101.0
59
59
  * @constructor
60
60
  * @private
61
61
  * @since 1.34
@@ -240,15 +240,17 @@ sap.ui.define([
240
240
  this._toBeExecuted++;
241
241
  var oCommand = this._getCommandToBeExecuted();
242
242
  if (oCommand) {
243
+ var mParam = {
244
+ command: oCommand,
245
+ undo: true
246
+ };
243
247
  return oCommand.undo()
248
+
249
+ .then(this._waitForCommandExecutionHandler.bind(this, mParam))
250
+
244
251
  .then(function() {
245
- var mParam = {
246
- command: oCommand,
247
- undo: true
248
- };
249
252
  this.fireCommandExecuted(mParam);
250
253
  this.fireModified();
251
- return this._waitForCommandExecutionHandler(mParam);
252
254
  }.bind(this));
253
255
  }
254
256
  return Promise.resolve();
@@ -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.100.0
20
+ * @version 1.101.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.100.0
21
+ * @version 1.101.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.100.0
19
+ * @version 1.101.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.100.0
23
+ * @version 1.101.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.100.0
54
+ * @version 1.101.0
55
55
  *
56
56
  * @static
57
57
  * @since 1.42
@@ -21,19 +21,16 @@ function() {
21
21
  * SAPUI5 library with RTA controls.
22
22
  *
23
23
  * @namespace
24
- * @name sap.ui.rta
24
+ * @alias sap.ui.rta
25
25
  * @author SAP SE
26
- * @version 1.100.0
26
+ * @version 1.101.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.
30
30
  */
31
-
32
-
33
- // delegate further initialization of this library to the Core
34
- sap.ui.getCore().initLibrary({
31
+ var thisLib = sap.ui.getCore().initLibrary({
35
32
  name: "sap.ui.rta",
36
- version: "1.100.0",
33
+ version: "1.101.0",
37
34
  dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
38
35
  types: [],
39
36
  interfaces: [],
@@ -41,7 +38,7 @@ function() {
41
38
  elements: []
42
39
  });
43
40
 
44
- sap.ui.rta.GENERATOR_NAME = "sap.ui.rta.command";
41
+ thisLib.GENERATOR_NAME = "sap.ui.rta.command";
45
42
 
46
- return sap.ui.rta;
43
+ return thisLib;
47
44
  });
@@ -376,8 +376,10 @@ IFRAME_ADDIFRAME_DIALOG_URL_WARNING_LINKTEXT=Read More
376
376
  TXT_CHANGEVISUALIZATION_CHANGE_RENAME_TO=Name was changed to ''{0}''
377
377
  #XTXT: Description for rename-changes
378
378
  TXT_CHANGEVISUALIZATION_CHANGE_RENAME_FROM_TO=Name was changed from ''{1}'' to ''{0}''
379
- #XTXT: Description for move-changes
379
+ #XTXT: Description for move-changes outside its group
380
380
  TXT_CHANGEVISUALIZATION_CHANGE_MOVE=Element ''{0}'' was moved
381
+ #XTXT: Description for move-changes within its group
382
+ TXT_CHANGEVISUALIZATION_CHANGE_MOVE_WITHIN=Element ''{0}'' was moved within its container
381
383
  #XTXT: Description for remove-changes
382
384
  TXT_CHANGEVISUALIZATION_CHANGE_REMOVE=Element {0} was removed
383
385
  #XTXT: Description for reveal-changes
@@ -408,28 +410,30 @@ TIT_CHANGEVISUALIZATION_DESCRIPTION=Description
408
410
  BUT_CHANGEVISUALIZATION_SHOWCHANGES=Visualize Key User Changes
409
411
  #XTOL: Tooltip for Select Changes Button in Toolbar
410
412
  BUT_CHANGEVISUALIZATION_SELECTCHANGES=Select Change Type
413
+ #XMSG: Info Message for Hidden Changes
414
+ MSG_CHANGEVISUALIZATION_HIDDEN_CHANGES_INFO=Changes not visualized: {0}
411
415
  #XTXT: Text for all-changes item of ChangesPopover
412
- TXT_CHANGEVISUALIZATION_OVERVIEW_ALL=All ({0})
416
+ TXT_CHANGEVISUALIZATION_OVERVIEW_ALL=All
413
417
  #XBUT: Button text for all-changes
414
418
  BTN_CHANGEVISUALIZATION_OVERVIEW_ALL=All Changes
415
419
  #XTXT: Text for move-changes item of ChangesPopover
416
- TXT_CHANGEVISUALIZATION_OVERVIEW_MOVE=Move ({0})
420
+ TXT_CHANGEVISUALIZATION_OVERVIEW_MOVE=Move
417
421
  #XBUT: Button text for move-changes
418
422
  BTN_CHANGEVISUALIZATION_OVERVIEW_MOVE=Moved Elements
419
423
  #XTXT: Text for rename-changes item of ChangesPopover
420
- TXT_CHANGEVISUALIZATION_OVERVIEW_RENAME=Rename ({0})
424
+ TXT_CHANGEVISUALIZATION_OVERVIEW_RENAME=Rename
421
425
  #XBUT: Button text for rename-changes
422
426
  BTN_CHANGEVISUALIZATION_OVERVIEW_RENAME=Renamed Elements
423
427
  #XTXT: Text for add-changes item of ChangesPopover
424
- TXT_CHANGEVISUALIZATION_OVERVIEW_ADD=Add ({0})
428
+ TXT_CHANGEVISUALIZATION_OVERVIEW_ADD=Add
425
429
  #BUT: Button text for add-changes
426
430
  BTN_CHANGEVISUALIZATION_OVERVIEW_ADD=Added Elements
427
431
  #XTXT: Text for combine- and split-changes item of ChangesPopover
428
- TXT_CHANGEVISUALIZATION_OVERVIEW_COMBINESPLIT=Combine and Split ({0})
432
+ TXT_CHANGEVISUALIZATION_OVERVIEW_COMBINESPLIT=Combine and Split
429
433
  #XBUT: Button text for combine- and split-changes
430
434
  BTN_CHANGEVISUALIZATION_OVERVIEW_COMBINESPLIT=Combined and Split Elements
431
435
  #XTXT: Text for remove-changes item of ChangesPopover
432
- TXT_CHANGEVISUALIZATION_OVERVIEW_REMOVE=Remove ({0})
436
+ TXT_CHANGEVISUALIZATION_OVERVIEW_REMOVE=Remove
433
437
  #XBUT: Button text for remove-changes
434
438
  BTN_CHANGEVISUALIZATION_OVERVIEW_REMOVE=Removed Elements
435
439
  #XTXT: Semantic date for changes created in same session
@@ -440,6 +444,8 @@ MSG_LOCAL_RESET_VARIANT_SAVE=The container has been reset and the view has been
440
444
  BTN_CHANGEVISUALIZATION_SHOW_DEPENDENT_CONTAINER_MOVE=Show Source
441
445
  #XBUT: Button text for showing the dependent container of a split change
442
446
  BTN_CHANGEVISUALIZATION_SHOW_DEPENDENT_CONTAINER_SPLIT=Show Other Parts
447
+ #XBUT: Button text for learn more link in change type selection dialog
448
+ BUT_CHANGEVISUALIZATION_LEARNMORE=[Learn more]
443
449
 
444
450
  #XMSG: Warning Message for mixed changes
445
451
  MSG_ADAPTATION_STARTER_MIXED_CHANGES_WARNING=UI changes to this app have been made in another system. To avoid conflicts, we strongly advise to make UI changes in one system only and transport them to the other systems. See [Adapting the UI](https://help.sap.com/viewer/a7b390faab1140c087b8926571e942b7/202110.000/en-US/4aa356f89e5a4409a9efe4dda4ddcb7e.html).