@openui5/sap.ui.rta 1.96.2 → 1.97.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 (152) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +2 -1
  3. package/package.json +6 -6
  4. package/src/sap/ui/rta/.library +1 -1
  5. package/src/sap/ui/rta/Client.js +1 -1
  6. package/src/sap/ui/rta/RuntimeAuthoring.js +3 -5
  7. package/src/sap/ui/rta/Utils.js +1 -1
  8. package/src/sap/ui/rta/api/startAdaptation.js +1 -2
  9. package/src/sap/ui/rta/api/startKeyUserAdaptation.js +2 -2
  10. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +5 -3
  11. package/src/sap/ui/rta/appVariant/AppVariantManager.js +4 -6
  12. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -7
  13. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +2 -1
  14. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  15. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  16. package/src/sap/ui/rta/command/AddXML.js +1 -1
  17. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  18. package/src/sap/ui/rta/command/AppDescriptorCommand.js +4 -3
  19. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  20. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  21. package/src/sap/ui/rta/command/Combine.js +1 -1
  22. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  23. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  24. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  25. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  26. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  27. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  28. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -6
  29. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  30. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  31. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  32. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  33. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  34. package/src/sap/ui/rta/command/Move.js +1 -1
  35. package/src/sap/ui/rta/command/Property.js +1 -1
  36. package/src/sap/ui/rta/command/Remove.js +1 -1
  37. package/src/sap/ui/rta/command/Rename.js +1 -1
  38. package/src/sap/ui/rta/command/Reveal.js +1 -1
  39. package/src/sap/ui/rta/command/Settings.js +1 -1
  40. package/src/sap/ui/rta/command/Split.js +1 -1
  41. package/src/sap/ui/rta/command/Stack.js +1 -1
  42. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  43. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  44. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  45. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  46. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  47. package/src/sap/ui/rta/library.js +2 -2
  48. package/src/sap/ui/rta/messagebundle.properties +8 -6
  49. package/src/sap/ui/rta/messagebundle_ar.properties +5 -4
  50. package/src/sap/ui/rta/messagebundle_bg.properties +5 -4
  51. package/src/sap/ui/rta/messagebundle_ca.properties +4 -3
  52. package/src/sap/ui/rta/messagebundle_cs.properties +5 -4
  53. package/src/sap/ui/rta/messagebundle_cy.properties +5 -4
  54. package/src/sap/ui/rta/messagebundle_da.properties +5 -4
  55. package/src/sap/ui/rta/messagebundle_de.properties +4 -3
  56. package/src/sap/ui/rta/messagebundle_el.properties +5 -4
  57. package/src/sap/ui/rta/messagebundle_en.properties +5 -4
  58. package/src/sap/ui/rta/messagebundle_en_GB.properties +5 -4
  59. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +5 -4
  60. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +7 -14
  61. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +5 -4
  62. package/src/sap/ui/rta/messagebundle_es.properties +5 -4
  63. package/src/sap/ui/rta/messagebundle_es_MX.properties +5 -4
  64. package/src/sap/ui/rta/messagebundle_et.properties +5 -4
  65. package/src/sap/ui/rta/messagebundle_fi.properties +4 -3
  66. package/src/sap/ui/rta/messagebundle_fr.properties +5 -4
  67. package/src/sap/ui/rta/messagebundle_fr_CA.properties +5 -4
  68. package/src/sap/ui/rta/messagebundle_hi.properties +5 -4
  69. package/src/sap/ui/rta/messagebundle_hr.properties +5 -4
  70. package/src/sap/ui/rta/messagebundle_hu.properties +4 -3
  71. package/src/sap/ui/rta/messagebundle_id.properties +7 -6
  72. package/src/sap/ui/rta/messagebundle_it.properties +5 -4
  73. package/src/sap/ui/rta/messagebundle_iw.properties +5 -4
  74. package/src/sap/ui/rta/messagebundle_ja.properties +5 -4
  75. package/src/sap/ui/rta/messagebundle_kk.properties +5 -4
  76. package/src/sap/ui/rta/messagebundle_ko.properties +5 -4
  77. package/src/sap/ui/rta/messagebundle_lt.properties +5 -4
  78. package/src/sap/ui/rta/messagebundle_lv.properties +5 -4
  79. package/src/sap/ui/rta/messagebundle_ms.properties +5 -4
  80. package/src/sap/ui/rta/messagebundle_nl.properties +5 -4
  81. package/src/sap/ui/rta/messagebundle_no.properties +5 -4
  82. package/src/sap/ui/rta/messagebundle_pl.properties +5 -4
  83. package/src/sap/ui/rta/messagebundle_pt.properties +4 -3
  84. package/src/sap/ui/rta/messagebundle_pt_PT.properties +4 -3
  85. package/src/sap/ui/rta/messagebundle_ro.properties +5 -4
  86. package/src/sap/ui/rta/messagebundle_ru.properties +4 -3
  87. package/src/sap/ui/rta/messagebundle_sh.properties +5 -4
  88. package/src/sap/ui/rta/messagebundle_sk.properties +5 -4
  89. package/src/sap/ui/rta/messagebundle_sl.properties +5 -4
  90. package/src/sap/ui/rta/messagebundle_sv.properties +5 -4
  91. package/src/sap/ui/rta/messagebundle_th.properties +10 -9
  92. package/src/sap/ui/rta/messagebundle_tr.properties +5 -4
  93. package/src/sap/ui/rta/messagebundle_uk.properties +6 -5
  94. package/src/sap/ui/rta/messagebundle_vi.properties +5 -4
  95. package/src/sap/ui/rta/messagebundle_zh_CN.properties +5 -4
  96. package/src/sap/ui/rta/messagebundle_zh_TW.properties +5 -4
  97. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  98. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  99. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  100. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  101. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  102. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  103. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  104. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  105. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  106. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  107. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  108. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  109. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  110. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  111. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -14
  112. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  113. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  114. package/src/sap/ui/rta/plugin/Split.js +2 -1
  115. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  116. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  117. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  118. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  119. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  120. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  121. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  122. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  123. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -16
  124. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  125. package/src/sap/ui/rta/service/Action.js +1 -1
  126. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  127. package/src/sap/ui/rta/service/Outline.js +79 -29
  128. package/src/sap/ui/rta/service/Property.js +1 -3
  129. package/src/sap/ui/rta/service/Selection.js +2 -1
  130. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +23 -30
  131. package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +54 -35
  132. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  133. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  134. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  135. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  136. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +3 -3
  137. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  138. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  139. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  140. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  141. package/src/sap/ui/rta/util/PopupManager.js +3 -11
  142. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  143. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  144. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +16 -78
  145. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +15 -37
  146. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -2
  147. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +35 -30
  148. package/src/sap/ui/rta/util/changeVisualization/categories/MoveVisualization.js +30 -0
  149. package/src/sap/ui/rta/util/changeVisualization/categories/RenameVisualization.js +3 -2
  150. package/src/sap/ui/rta/util/changeVisualization/categories/SplitVisualization.js +30 -0
  151. package/src/sap/ui/rta/util/changeVisualization/categories/getVisualizationCategory.js +9 -3
  152. package/src/sap/ui/rta/util/validateFlexEnabled.js +4 -4
package/.reuse/dep5 CHANGED
@@ -418,7 +418,7 @@ Comment: these files contain content from SAP and BooleanExpressionEvaluator: Bo
418
418
 
419
419
  # Library: sap.ui.webc.common:
420
420
 
421
- Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theme-base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
421
+ Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
422
422
  Copyright: SAP
423
423
  License: Apache-2.0
424
424
  Comment: these files belong to: UI5 Web Components
package/THIRDPARTY.txt CHANGED
@@ -412,10 +412,11 @@ Copyright: SAP
412
412
  License: Apache-2.0
413
413
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
414
414
  Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
415
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theme-base/*.*
415
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
416
416
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
417
417
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
418
418
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
419
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
419
420
 
420
421
  Component: lit-html, version: 1.4.1
421
422
  Copyright: Google LLC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.96.2",
3
+ "version": "1.97.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.96.2",
18
- "@openui5/sap.ui.core": "1.96.2",
19
- "@openui5/sap.ui.dt": "1.96.2",
20
- "@openui5/sap.ui.fl": "1.96.2",
21
- "@openui5/sap.ui.layout": "1.96.2"
17
+ "@openui5/sap.m": "1.97.0",
18
+ "@openui5/sap.ui.core": "1.97.0",
19
+ "@openui5/sap.ui.dt": "1.97.0",
20
+ "@openui5/sap.ui.fl": "1.97.0",
21
+ "@openui5/sap.ui.layout": "1.97.0"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.96.2</version>
9
+ <version>1.97.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.96.2
60
+ * @version 1.97.0
61
61
  * @private
62
62
  * @ui5-restricted
63
63
  */
@@ -33,7 +33,6 @@ sap.ui.define([
33
33
  "sap/ui/rta/util/PopupManager",
34
34
  "sap/ui/core/BusyIndicator",
35
35
  "sap/ui/dt/DOMUtil",
36
- "sap/ui/rta/util/StylesLoader",
37
36
  "sap/ui/rta/appVariant/Feature",
38
37
  "sap/ui/Device",
39
38
  "sap/ui/rta/service/index",
@@ -47,8 +46,7 @@ sap.ui.define([
47
46
  "sap/ui/model/json/JSONModel",
48
47
  "sap/ui/rta/util/validateFlexEnabled",
49
48
  "sap/ui/rta/util/changeVisualization/ChangeVisualization"
50
- ],
51
- function(
49
+ ], function(
52
50
  jQuery,
53
51
  ManagedObject,
54
52
  FioriToolbar,
@@ -76,7 +74,6 @@ function(
76
74
  PopupManager,
77
75
  BusyIndicator,
78
76
  DOMUtil,
79
- StylesLoader,
80
77
  RtaAppVariantFeature,
81
78
  Device,
82
79
  ServicesIndex,
@@ -107,7 +104,7 @@ function(
107
104
  * @class The runtime authoring allows to adapt the fields of a running application.
108
105
  * @extends sap.ui.base.ManagedObject
109
106
  * @author SAP SE
110
- * @version 1.96.2
107
+ * @version 1.97.0
111
108
  * @constructor
112
109
  * @private
113
110
  * @since 1.30
@@ -652,6 +649,7 @@ function(
652
649
 
653
650
  /**
654
651
  * adapt the enablement of undo/redo/reset/transport button
652
+ * @returns {Promise} Resolves as soon as the MessageBox is closed
655
653
  * @private
656
654
  */
657
655
  RuntimeAuthoring.prototype._onStackModified = function() {
@@ -46,7 +46,7 @@ function(
46
46
  * @class Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.96.2
49
+ * @version 1.97.0
50
50
  *
51
51
  * @private
52
52
  * @static
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @alias module:sap/ui/rta/api/startAdaptation
33
33
  *
34
34
  * @param {object} mOptions - Object with properties
35
- * @param {sap.ui.core.Element|sap.ui.core.UIComponent} mOptions.rootControl - Control instance from where UI adaptation should be started
35
+ * @param {sap.ui.core.Control|sap.ui.core.UIComponent} mOptions.rootControl - Control instance to get the AppComponent. This then is used to start UI adaptation.
36
36
  * @param {object} [mOptions.flexSettings] - Map with flex-related settings
37
37
  * @param {string} [mOptions.flexSettings.layer] - The Layer in which RTA should be started. Default: "CUSTOMER"
38
38
  * @param {boolean} [mOptions.flexSettings.developerMode] - Whether RTA is started in developerMode mode. Default: <code>false</code>
@@ -41,7 +41,6 @@ sap.ui.define([
41
41
  * @param {function} [onFailed] - Event handler function called on failed event
42
42
  * @param {function} [onStop] - Event handler function called on stop event
43
43
  * @returns {Promise} Resolves when UI adaptation was successfully started
44
- * @ui5-restricted
45
44
  * @public
46
45
  */
47
46
  function startAdaptation(mOptions, loadPlugins, onStart, onFailed, onStop) {
@@ -22,9 +22,9 @@ sap.ui.define([
22
22
  * @alias module:sap/ui/rta/api/startKeyUserAdaptation
23
23
  *
24
24
  * @param {object} mPropertyBag - Object with properties
25
- * @param {sap.ui.core.Element|sap.ui.core.UIComponent} mPropertyBag.rootControl - Control instance from where key user adaptation should be started
25
+ * @param {sap.ui.core.Control|sap.ui.core.UIComponent} mPropertyBag.rootControl - Control instance to get the AppComponent. This then is used to start UI adaptation.
26
26
  *
27
- * @returns {Promise} Resolves when adaptation was successfully started
27
+ * @returns {Promise} Resolves when UI adaptation was successfully started
28
28
  * @public
29
29
  */
30
30
  function startKeyUserAdaptation(mPropertyBag) {
@@ -26,6 +26,7 @@ sap.ui.define([
26
26
  "sap/ui/model/FilterOperator",
27
27
  "sap/ui/model/json/JSONModel",
28
28
  "sap/ui/rta/Utils",
29
+ "sap/ui/layout/form/SimpleFormLayout",
29
30
  // needs to be preloaded for the test to work
30
31
  "sap/ui/layout/form/ResponsiveGridLayout"
31
32
  ],
@@ -49,7 +50,8 @@ function(
49
50
  Filter,
50
51
  FilterOperator,
51
52
  JSONModel,
52
- RtaUtils
53
+ RtaUtils,
54
+ SimpleFormLayout
53
55
  ) {
54
56
  "use strict";
55
57
 
@@ -221,7 +223,7 @@ function(
221
223
  function _createSimpleForm() {
222
224
  oSimpleForm = new SimpleForm({
223
225
  editable: true,
224
- layout: "ResponsiveGridLayout",
226
+ layout: SimpleFormLayout.ResponsiveGridLayout,
225
227
  labelSpanXL: 4,
226
228
  labelSpanL: 4,
227
229
  labelSpanM: 4,
@@ -284,7 +286,7 @@ function(
284
286
 
285
287
  // initialize dialog and create member variables.
286
288
  this.setTitle(oResources.getText("CREATE_APP_VARIANT_DIALOG_TITLE"));
287
- this.setContentWidth("700px");
289
+ this.setContentWidth("860px");
288
290
  this.setContentHeight("250px");
289
291
 
290
292
  oCustomTileModel = new JSONModel({
@@ -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.96.2
27
+ * @version 1.97.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -46,10 +46,6 @@ sap.ui.define([
46
46
  }
47
47
  });
48
48
 
49
- /**
50
- * Opens the 'Save As' dialog.
51
- * @private
52
- */
53
49
  AppVariantManager.prototype._openDialog = function(fnCreate, fnCancel) {
54
50
  var oDialog = new AppVariantDialog("appVariantDialog");
55
51
 
@@ -138,6 +134,7 @@ sap.ui.define([
138
134
 
139
135
  /**
140
136
  * @param {String} sAppVariantId - Application variant ID
137
+ * @param {sap.ui.fl.Selector} vSelector - Selector
141
138
  * @returns {Promise} Resolved promise
142
139
  * @description Creates the app variant with all inline changes in backend.
143
140
  */
@@ -189,6 +186,7 @@ sap.ui.define([
189
186
 
190
187
  /**
191
188
  * Dirty changes get taken over by the app variant.
189
+ * @returns {Promise} Resolves as soon as the command stack is cleared
192
190
  * @private
193
191
  */
194
192
  AppVariantManager.prototype._clearRTACommandStack = function() {
@@ -231,7 +229,7 @@ sap.ui.define([
231
229
  /**
232
230
  *
233
231
  * @param {String} sIamId - Identity Access Management ID of SAP Fiori app
234
- * @param {String} sAppVariantId - Application variant ID
232
+ * @param {String} sAppVarId - Application variant ID
235
233
  * @param {Boolean} bCreation - Indicates that app is being created
236
234
  * @returns {Promise} Resolved promise
237
235
  * @description When the app variant creation/deletion and catalog assignment/unassignment are executed successfully, this asynchronous process gets triggered. It talks to the server every 2.5 secs.
@@ -4,8 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- /* global XMLHttpRequest */
8
-
9
7
  sap.ui.define([
10
8
  "sap/ui/fl/Utils",
11
9
  "sap/m/MessageBox",
@@ -16,8 +14,7 @@ sap.ui.define([
16
14
  "sap/ui/fl/write/api/PersistenceWriteAPI",
17
15
  "sap/ui/fl/write/api/AppVariantWriteAPI",
18
16
  "sap/ui/fl/write/api/ChangesWriteAPI"
19
- ],
20
- function(
17
+ ], function(
21
18
  FlexUtils,
22
19
  MessageBox,
23
20
  RtaUtils,
@@ -480,9 +477,6 @@ function(
480
477
  };
481
478
  };
482
479
 
483
- /**
484
- * Builds the final success message on S/4HANA Cloud.
485
- */
486
480
  AppVariantUtils.buildFinalSuccessInfoS4HANACloud = function() {
487
481
  var sMessage = AppVariantUtils.getText("MSG_SAVE_APP_VARIANT_NEW_TILE_AVAILABLE");
488
482
  return { text: sMessage };
@@ -143,7 +143,8 @@ sap.ui.define([
143
143
  /**
144
144
  * Polls the OData model to check catalog publishing status of the given IAM app ID.
145
145
  *
146
- * @param {string} sIamAppId Identity Access Management ID of SAP Fiori app
146
+ * @param {string} sIamAppId - Identity Access Management ID of SAP Fiori app
147
+ * @param {boolean} bAppVarCreation - Indicates if it's a creation scenario
147
148
  * @return {Promise<boolean>} Promise delivering a boolean value
148
149
  * @async
149
150
  */
@@ -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.96.2
19
+ * @version 1.97.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.96.2
17
+ * @version 1.97.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.96.2
19
+ * @version 1.97.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.96.2
27
+ * @version 1.97.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.96.2
24
+ * @version 1.97.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -64,8 +64,9 @@ sap.ui.define([
64
64
 
65
65
  /**
66
66
  * Prepare the app descriptor change, setting the layer.
67
- * @param {object} mFlexSettings Map of flex Settings
68
- * @param {string} mFlexSettings.layer Layer where the change is applied
67
+ * @param {object} mFlexSettings - Map of flex settings
68
+ * @param {string} mFlexSettings.layer - Layer where the change is applied
69
+ * @returns {boolean} <code>true</true>
69
70
  */
70
71
  AppDescriptorCommand.prototype.prepare = function (mFlexSettings) {
71
72
  this.setLayer(mFlexSettings.layer);
@@ -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.96.2
16
+ * @version 1.97.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.96.2
29
+ * @version 1.97.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.96.2
19
+ * @version 1.97.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -475,7 +475,7 @@ sap.ui.define([
475
475
  * @extends sap.ui.base.ManagedObject
476
476
  *
477
477
  * @author SAP SE
478
- * @version 1.96.2
478
+ * @version 1.97.0
479
479
  *
480
480
  * @constructor
481
481
  * @private
@@ -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.96.2
22
+ * @version 1.97.0
23
23
  *
24
24
  * @constructor
25
25
  * @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.96.2
23
+ * @version 1.97.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.96.2
23
+ * @version 1.97.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.96.2
27
+ * @version 1.97.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.96.2
19
+ * @version 1.97.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.96.2
23
+ * @version 1.97.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.50
@@ -74,11 +74,6 @@ sap.ui.define([
74
74
  return this._updateModelVariant(sOldVariantReference, oAppComponent);
75
75
  };
76
76
 
77
- /**
78
- * Update variant for the underlying model.
79
- * @private
80
- * @returns {Promise} Returns promise resolve
81
- */
82
77
  ControlVariantSwitch.prototype._updateModelVariant = function (sVariantReference, oAppComponent) {
83
78
  if (this.getTargetVariantReference() !== this.getSourceVariantReference()) {
84
79
  return this.oModel.updateCurrentVariant({
@@ -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.96.2
15
+ * @version 1.97.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.96.2
15
+ * @version 1.97.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.96.2
32
+ * @version 1.97.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.96.2
32
+ * @version 1.97.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.96.2
23
+ * @version 1.97.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.96.2
20
+ * @version 1.97.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.96.2
19
+ * @version 1.97.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.96.2
15
+ * @version 1.97.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.96.2
15
+ * @version 1.97.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.96.2
15
+ * @version 1.97.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.96.2
15
+ * @version 1.97.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.96.2
17
+ * @version 1.97.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.46
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @class
60
60
  * @extends sap.ui.base.ManagedObject
61
61
  * @author SAP SE
62
- * @version 1.96.2
62
+ * @version 1.97.0
63
63
  * @constructor
64
64
  * @private
65
65
  * @since 1.34
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.rta.command.AppDescriptorCommand
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.96.2
20
+ * @version 1.97.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.96.2
21
+ * @version 1.97.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.96.2
19
+ * @version 1.97.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.96.2
23
+ * @version 1.97.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.96.2
54
+ * @version 1.97.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.96.2
26
+ * @version 1.97.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.96.2",
36
+ version: "1.97.0",
37
37
  dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
38
38
  types: [],
39
39
  interfaces: [],