@openui5/sap.ui.rta 1.141.2 → 1.142.1

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 (154) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +39 -1
  3. package/THIRDPARTY.txt +36 -3
  4. package/package.json +6 -6
  5. package/src/sap/ui/rta/.library +1 -1
  6. package/src/sap/ui/rta/Client.js +1 -1
  7. package/src/sap/ui/rta/RuntimeAuthoring.js +20 -7
  8. package/src/sap/ui/rta/Utils.js +1 -1
  9. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  10. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  11. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  12. package/src/sap/ui/rta/command/AddXML.js +1 -1
  13. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  14. package/src/sap/ui/rta/command/AnnotationCommand.js +1 -1
  15. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  16. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  17. package/src/sap/ui/rta/command/Combine.js +1 -1
  18. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  19. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  20. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  21. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  22. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  23. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  24. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  25. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  26. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  27. package/src/sap/ui/rta/command/ExtendControllerCommand.js +1 -1
  28. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  29. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  30. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  31. package/src/sap/ui/rta/command/ManifestCommand.js +1 -1
  32. package/src/sap/ui/rta/command/Move.js +1 -1
  33. package/src/sap/ui/rta/command/Property.js +1 -1
  34. package/src/sap/ui/rta/command/Remove.js +1 -1
  35. package/src/sap/ui/rta/command/Rename.js +1 -1
  36. package/src/sap/ui/rta/command/Resize.js +1 -1
  37. package/src/sap/ui/rta/command/Reveal.js +1 -1
  38. package/src/sap/ui/rta/command/Settings.js +1 -1
  39. package/src/sap/ui/rta/command/Split.js +1 -1
  40. package/src/sap/ui/rta/command/Stack.js +1 -1
  41. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  42. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  43. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  44. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  45. package/src/sap/ui/rta/command/manifest/AddLibrary.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 +5 -1
  49. package/src/sap/ui/rta/messagebundle_ar.properties +1 -1
  50. package/src/sap/ui/rta/messagebundle_bg.properties +1 -1
  51. package/src/sap/ui/rta/messagebundle_ca.properties +1 -1
  52. package/src/sap/ui/rta/messagebundle_cnr.properties +1 -1
  53. package/src/sap/ui/rta/messagebundle_cs.properties +1 -1
  54. package/src/sap/ui/rta/messagebundle_cy.properties +1 -1
  55. package/src/sap/ui/rta/messagebundle_da.properties +1 -1
  56. package/src/sap/ui/rta/messagebundle_de.properties +1 -1
  57. package/src/sap/ui/rta/messagebundle_el.properties +1 -1
  58. package/src/sap/ui/rta/messagebundle_en.properties +1 -1
  59. package/src/sap/ui/rta/messagebundle_en_GB.properties +1 -1
  60. package/src/sap/ui/rta/messagebundle_es.properties +1 -1
  61. package/src/sap/ui/rta/messagebundle_es_MX.properties +1 -1
  62. package/src/sap/ui/rta/messagebundle_et.properties +2 -2
  63. package/src/sap/ui/rta/messagebundle_fi.properties +1 -1
  64. package/src/sap/ui/rta/messagebundle_fr.properties +1 -1
  65. package/src/sap/ui/rta/messagebundle_fr_CA.properties +1 -1
  66. package/src/sap/ui/rta/messagebundle_hi.properties +1 -1
  67. package/src/sap/ui/rta/messagebundle_hr.properties +1 -1
  68. package/src/sap/ui/rta/messagebundle_hu.properties +1 -1
  69. package/src/sap/ui/rta/messagebundle_id.properties +1 -1
  70. package/src/sap/ui/rta/messagebundle_it.properties +1 -1
  71. package/src/sap/ui/rta/messagebundle_iw.properties +1 -1
  72. package/src/sap/ui/rta/messagebundle_ja.properties +1 -1
  73. package/src/sap/ui/rta/messagebundle_kk.properties +1 -1
  74. package/src/sap/ui/rta/messagebundle_ko.properties +1 -1
  75. package/src/sap/ui/rta/messagebundle_lt.properties +1 -1
  76. package/src/sap/ui/rta/messagebundle_lv.properties +1 -1
  77. package/src/sap/ui/rta/messagebundle_mk.properties +1 -1
  78. package/src/sap/ui/rta/messagebundle_ms.properties +1 -1
  79. package/src/sap/ui/rta/messagebundle_nl.properties +1 -1
  80. package/src/sap/ui/rta/messagebundle_no.properties +1 -1
  81. package/src/sap/ui/rta/messagebundle_pl.properties +1 -1
  82. package/src/sap/ui/rta/messagebundle_pt.properties +1 -1
  83. package/src/sap/ui/rta/messagebundle_pt_PT.properties +1 -1
  84. package/src/sap/ui/rta/messagebundle_ro.properties +1 -1
  85. package/src/sap/ui/rta/messagebundle_ru.properties +1 -1
  86. package/src/sap/ui/rta/messagebundle_sh.properties +1 -1
  87. package/src/sap/ui/rta/messagebundle_sk.properties +1 -1
  88. package/src/sap/ui/rta/messagebundle_sl.properties +1 -1
  89. package/src/sap/ui/rta/messagebundle_sr.properties +1 -1
  90. package/src/sap/ui/rta/messagebundle_sv.properties +1 -1
  91. package/src/sap/ui/rta/messagebundle_th.properties +1 -1
  92. package/src/sap/ui/rta/messagebundle_tr.properties +1 -1
  93. package/src/sap/ui/rta/messagebundle_uk.properties +1 -1
  94. package/src/sap/ui/rta/messagebundle_vi.properties +1 -1
  95. package/src/sap/ui/rta/messagebundle_zh_CN.properties +1 -1
  96. package/src/sap/ui/rta/messagebundle_zh_TW.properties +1 -1
  97. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  98. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +1 -1
  99. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  100. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  101. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  102. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  103. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  104. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  105. package/src/sap/ui/rta/plugin/ExtendControllerPlugin.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/Resize.js +1 -1
  111. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  112. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  113. package/src/sap/ui/rta/plugin/Split.js +1 -1
  114. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  115. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  116. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  117. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  118. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  119. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  120. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +1 -1
  121. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +1 -1
  122. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +1 -1
  123. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  124. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  125. package/src/sap/ui/rta/plugin/rename/Rename.js +1 -1
  126. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +1 -1
  127. package/src/sap/ui/rta/service/Action.js +1 -1
  128. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  129. package/src/sap/ui/rta/service/Outline.js +1 -1
  130. package/src/sap/ui/rta/service/Property.js +1 -1
  131. package/src/sap/ui/rta/service/Selection.js +1 -1
  132. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  133. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  134. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  135. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  136. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  137. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  138. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  139. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  140. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  141. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  142. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  143. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  144. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  145. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  146. package/src/sap/ui/rta/util/ServiceManager.js +1 -1
  147. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  148. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  149. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  150. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
  151. package/src/sap/ui/rta/util/changeVisualization/resolveBinding.js +1 -1
  152. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +1 -1
  153. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +1 -1
  154. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ExtendedActions.png +0 -0
package/README.md CHANGED
@@ -4,13 +4,13 @@
4
4
  Runtime resources of the [OpenUI5](https://github.com/UI5/openui5) UI Library **sap.ui.rta**.
5
5
 
6
6
  ## Usage
7
- Add this library as a dependency to your UI5 project by using [UI5 Tooling](https://sap.github.io/ui5-tooling/):
7
+ Add this library as a dependency to your UI5 project by using [UI5 CLI](https://ui5.github.io/cli/):
8
8
 
9
9
  ```
10
10
  ui5 add sap.ui.rta
11
11
  ```
12
12
 
13
- For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://sap.github.io/ui5-tooling/pages/OpenUI5/).
13
+ For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://ui5.github.io/cli/pages/OpenUI5/).
14
14
 
15
15
  ## License
16
16
  OpenUI5 is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), see [LICENSE.txt](LICENSE.txt).
package/REUSE.toml CHANGED
@@ -21,6 +21,44 @@ SPDX-License-Identifier = "Apache-2.0"
21
21
  #
22
22
 
23
23
 
24
+ # Library: sap.f:
25
+
26
+ [[annotations]]
27
+ path = "src/sap.f/src/sap/f/thirdparty/**"
28
+ precedence = "aggregate"
29
+ SPDX-FileCopyrightText = "SAP"
30
+ SPDX-License-Identifier = "Apache-2.0"
31
+ SPDX-FileComment = "these files belong to: UI5 Web Components"
32
+
33
+ [[annotations]]
34
+ path = "src/sap.f/src/sap/f/thirdparty/**"
35
+ precedence = "aggregate"
36
+ SPDX-FileCopyrightText = "SAP"
37
+ SPDX-License-Identifier = "Apache-2.0"
38
+ SPDX-FileComment = "these files belong to: UI5 Web Components Fiori"
39
+
40
+ [[annotations]]
41
+ path = "src/sap.f/src/sap/f/thirdparty/**"
42
+ precedence = "aggregate"
43
+ SPDX-FileCopyrightText = "SAP"
44
+ SPDX-License-Identifier = "Apache-2.0"
45
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons"
46
+
47
+ [[annotations]]
48
+ path = "src/sap.f/src/sap/f/thirdparty/**"
49
+ precedence = "aggregate"
50
+ SPDX-FileCopyrightText = "SAP"
51
+ SPDX-License-Identifier = "Apache-2.0"
52
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons Business Suite"
53
+
54
+ [[annotations]]
55
+ path = "src/sap.f/src/sap/f/thirdparty/**"
56
+ precedence = "aggregate"
57
+ SPDX-FileCopyrightText = "SAP"
58
+ SPDX-License-Identifier = "Apache-2.0"
59
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons TNT"
60
+
61
+
24
62
  # Library: sap.m:
25
63
 
26
64
  [[annotations]]
@@ -347,7 +385,7 @@ SPDX-FileComment = "these files belong to: handlebars"
347
385
  [[annotations]]
348
386
  path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
349
387
  precedence = "aggregate"
350
- SPDX-FileCopyrightText = "2010-2012, The Dojo Foundation"
388
+ SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
351
389
  SPDX-License-Identifier = "MIT"
352
390
  SPDX-FileComment = "these files belong to: requireJS"
353
391
 
package/THIRDPARTY.txt CHANGED
@@ -4,6 +4,39 @@ each subcomponent.
4
4
  The full text of all referenced licenses is appended at the end of this file.
5
5
 
6
6
 
7
+ Library: sap.f:
8
+
9
+ Component: UI5 Web Components, version: 2.15.0
10
+ Copyright: SAP
11
+ License: Apache-2.0
12
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
13
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
14
+
15
+ Component: UI5 Web Components Fiori, version: 2.15.0
16
+ Copyright: SAP
17
+ License: Apache-2.0
18
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
19
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
20
+
21
+ Component: UI5 Web Components Icons, version: 2.15.0
22
+ Copyright: SAP
23
+ License: Apache-2.0
24
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
25
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
26
+
27
+ Component: UI5 Web Components Icons Business Suite, version: 2.15.0
28
+ Copyright: SAP
29
+ License: Apache-2.0
30
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
31
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
32
+
33
+ Component: UI5 Web Components Icons TNT, version: 2.15.0
34
+ Copyright: SAP
35
+ License: Apache-2.0
36
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
37
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
38
+
39
+
7
40
  Library: sap.m:
8
41
 
9
42
  Component: purify.js, version: 3.2.4
@@ -221,8 +254,8 @@ License: MIT
221
254
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
222
255
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
223
256
 
224
- Component: requireJS, version: 2.1.8
225
- Copyright: 2010-2012, The Dojo Foundation
257
+ Component: requireJS, version: 2.3.7
258
+ Copyright: 2010-2024, jQuery Foundation and other contributors
226
259
  License: MIT
227
260
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
228
261
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
@@ -354,7 +387,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
354
387
 
355
388
  Library: sap.ui.integration:
356
389
 
357
- Component: UI5 Web Components, version: 1.7.0
390
+ Component: UI5 Web Components, version: 2.15.0
358
391
  Copyright: SAP
359
392
  License: Apache-2.0
360
393
  License Text: https://github.com/UI5/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.141.2",
3
+ "version": "1.142.1",
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/UI5/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.141.2",
18
- "@openui5/sap.ui.core": "1.141.2",
19
- "@openui5/sap.ui.dt": "1.141.2",
20
- "@openui5/sap.ui.fl": "1.141.2",
21
- "@openui5/sap.ui.layout": "1.141.2"
17
+ "@openui5/sap.m": "1.142.1",
18
+ "@openui5/sap.ui.core": "1.142.1",
19
+ "@openui5/sap.ui.dt": "1.142.1",
20
+ "@openui5/sap.ui.fl": "1.142.1",
21
+ "@openui5/sap.ui.layout": "1.142.1"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.141.2</version>
9
+ <version>1.142.1</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.141.2
62
+ * @version 1.142.1
63
63
  * @private
64
64
  * @ui5-restricted
65
65
  */
@@ -20,6 +20,7 @@ sap.ui.define([
20
20
  "sap/ui/dt/Util",
21
21
  "sap/ui/events/KeyCodes",
22
22
  "sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
23
+ "sap/ui/fl/initial/_internal/ManifestUtils",
23
24
  "sap/ui/fl/initial/api/Version",
24
25
  "sap/ui/fl/write/api/ContextBasedAdaptationsAPI",
25
26
  "sap/ui/fl/write/api/ControlPersonalizationWriteAPI",
@@ -67,6 +68,7 @@ sap.ui.define([
67
68
  DtUtil,
68
69
  KeyCodes,
69
70
  FlexRuntimeInfoAPI,
71
+ ManifestUtils,
70
72
  Version,
71
73
  ContextBasedAdaptationsAPI,
72
74
  ControlPersonalizationWriteAPI,
@@ -114,7 +116,7 @@ sap.ui.define([
114
116
  * @class The runtime authoring allows to adapt the fields of a running application.
115
117
  * @extends sap.ui.base.ManagedObject
116
118
  * @author SAP SE
117
- * @version 1.141.2
119
+ * @version 1.142.1
118
120
  * @constructor
119
121
  * @private
120
122
  * @since 1.30
@@ -559,7 +561,7 @@ sap.ui.define([
559
561
  this._sStatus = FAILED;
560
562
  this.fireFailed({vError: vError.message});
561
563
  }
562
- throw Error(vError.message);
564
+ throw vError;
563
565
  }
564
566
  };
565
567
 
@@ -1058,11 +1060,14 @@ sap.ui.define([
1058
1060
  const bIsContextBasedAdaptationAvailable = await FeaturesAPI.isContextBasedAdaptationAvailable(sLayer);
1059
1061
  const oAppLifeCycleService = await FlexUtils.getUShellService("AppLifeCycle");
1060
1062
  const bIsHomePage = oAppLifeCycleService?.getCurrentApplication()?.homePage || false;
1063
+ const oManifest = FlexUtils.getAppDescriptor(oRootControl);
1064
+ // context based adaptation is not supported for overview pages
1065
+ const bIsContextBasedAdaptationSupported = oManifest && !ManifestUtils.getOvpEntry(oManifest);
1061
1066
 
1062
1067
  return {
1063
1068
  publishAvailable: bIsPublishAvailable,
1064
1069
  saveAsAvailable: !bIsHomePage && bIsPublishAvailable && bIsSaveAsAvailable,
1065
- contextBasedAdaptationAvailable: !bIsHomePage && bIsContextBasedAdaptationAvailable
1070
+ contextBasedAdaptationAvailable: !bIsHomePage && bIsContextBasedAdaptationSupported && bIsContextBasedAdaptationAvailable
1066
1071
  };
1067
1072
  }
1068
1073
 
@@ -1247,10 +1252,18 @@ sap.ui.define([
1247
1252
  }
1248
1253
  await this.save();
1249
1254
  if (this._oVersionsModel.getProperty("/versioningEnabled")) {
1250
- await VersionsAPI.loadDraftForApplication({
1251
- control: this.getRootControlInstance(),
1252
- layer: this.getLayer()
1253
- });
1255
+ if (isDraftAvailable.call(this)) {
1256
+ await VersionsAPI.loadDraftForApplication({
1257
+ control: this.getRootControlInstance(),
1258
+ layer: this.getLayer()
1259
+ });
1260
+ } else {
1261
+ await VersionsAPI.loadVersionForApplication({
1262
+ control: this.getRootControlInstance(),
1263
+ layer: this.getLayer(),
1264
+ version: this._oVersionsModel.getProperty("/displayedVersion")
1265
+ });
1266
+ }
1254
1267
  }
1255
1268
  RuntimeAuthoring.enableRestart(this.getLayer(), this.getRootControlInstance());
1256
1269
  await this.stop(true, true, true);
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  *
47
47
  * @namespace
48
48
  * @author SAP SE
49
- * @version 1.141.2
49
+ * @version 1.142.1
50
50
  *
51
51
  * @private
52
52
  * @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.141.2
27
+ * @version 1.142.1
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.141.2
19
+ * @version 1.142.1
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.141.2
17
+ * @version 1.142.1
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.141.2
19
+ * @version 1.142.1
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.141.2
27
+ * @version 1.142.1
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.rta.command.FlexCommand
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.141.2
32
+ * @version 1.142.1
33
33
  *
34
34
  * @constructor
35
35
  * @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.141.2
19
+ * @version 1.142.1
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.141.2
29
+ * @version 1.142.1
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.141.2
19
+ * @version 1.142.1
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -495,7 +495,7 @@ sap.ui.define([
495
495
  * @extends sap.ui.base.ManagedObject
496
496
  *
497
497
  * @author SAP SE
498
- * @version 1.141.2
498
+ * @version 1.142.1
499
499
  *
500
500
  * @constructor
501
501
  * @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.141.2
24
+ * @version 1.142.1
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.141.2
31
+ * @version 1.142.1
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.141.2
23
+ * @version 1.142.1
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.86
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class
31
31
  * @extends sap.ui.rta.command.BaseCommand
32
32
  * @author SAP SE
33
- * @version 1.141.2
33
+ * @version 1.142.1
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.86
@@ -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.141.2
25
+ * @version 1.142.1
26
26
  * @constructor
27
27
  * @private
28
28
  * @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.141.2
25
+ * @version 1.142.1
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.141.2
15
+ * @version 1.142.1
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.141.2
15
+ * @version 1.142.1
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.62
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @class
23
23
  * @extends sap.ui.rta.command.FlexCommand
24
24
  * @author SAP SE
25
- * @version 1.141.2
25
+ * @version 1.142.1
26
26
  * @constructor
27
27
  * @private
28
28
  * @since 1.135
@@ -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.141.2
38
+ * @version 1.142.1
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class
24
24
  * @extends sap.ui.base.ManagedObject
25
25
  * @author SAP SE
26
- * @version 1.141.2
26
+ * @version 1.142.1
27
27
  * @constructor
28
28
  * @private
29
29
  * @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.141.2
23
+ * @version 1.142.1
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.90
@@ -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.141.2
24
+ * @version 1.142.1
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -17,7 +17,7 @@ function(
17
17
  * @class
18
18
  * @extends sap.ui.rta.command.FlexCommand
19
19
  * @author SAP SE
20
- * @version 1.141.2
20
+ * @version 1.142.1
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.141.2
19
+ * @version 1.142.1
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.141.2
15
+ * @version 1.142.1
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.141.2
15
+ * @version 1.142.1
16
16
  * @constructor
17
17
  * @private
18
18
  * @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.141.2
19
+ * @version 1.142.1
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.101
@@ -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.141.2
15
+ * @version 1.142.1
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.141.2
15
+ * @version 1.142.1
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.141.2
17
+ * @version 1.142.1
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.46
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @class
85
85
  * @extends sap.ui.base.ManagedObject
86
86
  * @author SAP SE
87
- * @version 1.141.2
87
+ * @version 1.142.1
88
88
  * @constructor
89
89
  * @private
90
90
  * @since 1.34
@@ -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.141.2
23
+ * @version 1.142.1
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.102
@@ -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.141.2
23
+ * @version 1.142.1
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.87
@@ -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.141.2
21
+ * @version 1.142.1
22
22
  * @constructor
23
23
  * @private
24
24
  * @since 1.87
@@ -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.141.2
25
+ * @version 1.142.1
26
26
  * @constructor
27
27
  * @private
28
28
  * @since 1.87
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.rta.command.ManifestCommand
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.141.2
22
+ * @version 1.142.1
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * E.g. <code>elementActionTest.only("Remove");</code>
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.141.2
68
+ * @version 1.142.1
69
69
  *
70
70
  * @static
71
71
  * @since 1.42