@openui5/sap.ui.rta 1.126.1 → 1.128.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 (161) 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 +2 -2
  6. package/src/sap/ui/rta/Utils.js +1 -1
  7. package/src/sap/ui/rta/api/startAdaptation.js +2 -0
  8. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  9. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_sappsd.properties +2 -2
  10. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saptrc.properties +27 -27
  11. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  12. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  13. package/src/sap/ui/rta/command/AddXML.js +1 -1
  14. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  15. package/src/sap/ui/rta/command/Annotation.js +46 -0
  16. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  17. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  18. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  19. package/src/sap/ui/rta/command/Combine.js +1 -1
  20. package/src/sap/ui/rta/command/CommandFactory.js +5 -1
  21. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  22. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  23. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  24. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  25. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  26. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  27. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  28. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  29. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  30. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  31. package/src/sap/ui/rta/command/LocalReset.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 +5 -2
  41. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  42. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  43. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +11 -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 +6 -4
  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 +5 -4
  52. package/src/sap/ui/rta/messagebundle_cnr.properties +5 -4
  53. package/src/sap/ui/rta/messagebundle_cs.properties +5 -4
  54. package/src/sap/ui/rta/messagebundle_cy.properties +5 -4
  55. package/src/sap/ui/rta/messagebundle_da.properties +5 -4
  56. package/src/sap/ui/rta/messagebundle_de.properties +6 -5
  57. package/src/sap/ui/rta/messagebundle_el.properties +5 -4
  58. package/src/sap/ui/rta/messagebundle_en.properties +3 -328
  59. package/src/sap/ui/rta/messagebundle_en_GB.properties +5 -4
  60. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +63 -53
  61. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +12 -2
  62. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +325 -315
  63. package/src/sap/ui/rta/messagebundle_es.properties +5 -4
  64. package/src/sap/ui/rta/messagebundle_es_MX.properties +5 -4
  65. package/src/sap/ui/rta/messagebundle_et.properties +5 -4
  66. package/src/sap/ui/rta/messagebundle_fi.properties +5 -4
  67. package/src/sap/ui/rta/messagebundle_fr.properties +5 -4
  68. package/src/sap/ui/rta/messagebundle_fr_CA.properties +5 -4
  69. package/src/sap/ui/rta/messagebundle_hi.properties +5 -4
  70. package/src/sap/ui/rta/messagebundle_hr.properties +5 -4
  71. package/src/sap/ui/rta/messagebundle_hu.properties +5 -4
  72. package/src/sap/ui/rta/messagebundle_id.properties +5 -4
  73. package/src/sap/ui/rta/messagebundle_it.properties +6 -5
  74. package/src/sap/ui/rta/messagebundle_iw.properties +5 -4
  75. package/src/sap/ui/rta/messagebundle_ja.properties +5 -4
  76. package/src/sap/ui/rta/messagebundle_kk.properties +5 -4
  77. package/src/sap/ui/rta/messagebundle_ko.properties +6 -5
  78. package/src/sap/ui/rta/messagebundle_lt.properties +5 -4
  79. package/src/sap/ui/rta/messagebundle_lv.properties +5 -4
  80. package/src/sap/ui/rta/messagebundle_mk.properties +5 -4
  81. package/src/sap/ui/rta/messagebundle_ms.properties +5 -4
  82. package/src/sap/ui/rta/messagebundle_nl.properties +5 -4
  83. package/src/sap/ui/rta/messagebundle_no.properties +5 -4
  84. package/src/sap/ui/rta/messagebundle_pl.properties +5 -4
  85. package/src/sap/ui/rta/messagebundle_pt.properties +5 -4
  86. package/src/sap/ui/rta/messagebundle_pt_PT.properties +5 -4
  87. package/src/sap/ui/rta/messagebundle_ro.properties +5 -4
  88. package/src/sap/ui/rta/messagebundle_ru.properties +5 -4
  89. package/src/sap/ui/rta/messagebundle_sh.properties +5 -4
  90. package/src/sap/ui/rta/messagebundle_sk.properties +5 -4
  91. package/src/sap/ui/rta/messagebundle_sl.properties +5 -4
  92. package/src/sap/ui/rta/messagebundle_sr.properties +5 -4
  93. package/src/sap/ui/rta/messagebundle_sv.properties +5 -4
  94. package/src/sap/ui/rta/messagebundle_th.properties +5 -4
  95. package/src/sap/ui/rta/messagebundle_tr.properties +5 -4
  96. package/src/sap/ui/rta/messagebundle_uk.properties +5 -4
  97. package/src/sap/ui/rta/messagebundle_vi.properties +5 -4
  98. package/src/sap/ui/rta/messagebundle_zh_CN.properties +5 -4
  99. package/src/sap/ui/rta/messagebundle_zh_TW.properties +5 -4
  100. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +5 -2
  101. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  102. package/src/sap/ui/rta/plugin/Combine.js +1 -2
  103. package/src/sap/ui/rta/plugin/CompVariant.js +6 -6
  104. package/src/sap/ui/rta/plugin/ControlVariant.js +6 -6
  105. package/src/sap/ui/rta/plugin/CreateContainer.js +3 -3
  106. package/src/sap/ui/rta/plugin/CutPaste.js +3 -3
  107. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  108. package/src/sap/ui/rta/plugin/LocalReset.js +5 -2
  109. package/src/sap/ui/rta/plugin/Plugin.js +60 -2
  110. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  111. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  112. package/src/sap/ui/rta/plugin/Rename.js +2 -2
  113. package/src/sap/ui/rta/plugin/RenameHandler.js +5 -2
  114. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  115. package/src/sap/ui/rta/plugin/Selection.js +3 -3
  116. package/src/sap/ui/rta/plugin/Settings.js +35 -11
  117. package/src/sap/ui/rta/plugin/Split.js +2 -2
  118. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  119. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  120. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  121. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
  122. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  123. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  124. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +4 -5
  125. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +21 -6
  126. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +42 -30
  127. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +20 -6
  128. package/src/sap/ui/rta/service/Action.js +1 -1
  129. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  130. package/src/sap/ui/rta/service/Outline.js +1 -1
  131. package/src/sap/ui/rta/service/Property.js +1 -1
  132. package/src/sap/ui/rta/service/Selection.js +20 -2
  133. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  134. package/src/sap/ui/rta/themes/base/AddIFrame.less +8 -10
  135. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +2 -3
  136. package/src/sap/ui/rta/themes/base/ContextMenu.less +13 -13
  137. package/src/sap/ui/rta/themes/base/Dialogs.less +2 -2
  138. package/src/sap/ui/rta/themes/base/FieldRepository.less +5 -10
  139. package/src/sap/ui/rta/themes/base/FlexSupportExtension.less +9 -4
  140. package/src/sap/ui/rta/themes/base/Overlay.less +27 -180
  141. package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +1 -1
  142. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +18 -76
  143. package/src/sap/ui/rta/themes/base/Toolbar.base.less +18 -18
  144. package/src/sap/ui/rta/themes/base/library.source.less +9 -11
  145. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  146. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  147. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  148. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  149. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  150. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  151. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  152. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  153. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  154. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  155. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  156. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  157. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  158. package/src/sap/ui/rta/util/ServiceManager.js +1 -1
  159. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  160. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  161. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -1
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.12.0
471
+ Component: SAP Theming Base Content, version: 11.16.1
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.126.1",
3
+ "version": "1.128.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.126.1",
18
- "@openui5/sap.ui.core": "1.126.1",
19
- "@openui5/sap.ui.dt": "1.126.1",
20
- "@openui5/sap.ui.fl": "1.126.1",
21
- "@openui5/sap.ui.layout": "1.126.1"
17
+ "@openui5/sap.m": "1.128.0",
18
+ "@openui5/sap.ui.core": "1.128.0",
19
+ "@openui5/sap.ui.dt": "1.128.0",
20
+ "@openui5/sap.ui.fl": "1.128.0",
21
+ "@openui5/sap.ui.layout": "1.128.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.126.1</version>
9
+ <version>1.128.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.126.1
62
+ * @version 1.128.0
63
63
  * @private
64
64
  * @ui5-restricted
65
65
  */
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @class The runtime authoring allows to adapt the fields of a running application.
112
112
  * @extends sap.ui.base.ManagedObject
113
113
  * @author SAP SE
114
- * @version 1.126.1
114
+ * @version 1.128.0
115
115
  * @constructor
116
116
  * @private
117
117
  * @since 1.30
@@ -1333,7 +1333,7 @@ sap.ui.define([
1333
1333
  switchVersion.bind(this, this._sSwitchToVersion))
1334
1334
  .then(fnCallback)
1335
1335
  .catch(function(oError) {
1336
- Utils.showMessageBox("error", "MSG_SWITCH_VERSION_FAILED", {error: oError});
1336
+ Utils.showMessageBox("error", "MSG_SWITCH_VERSION_FAILED", {error: oError.stack});
1337
1337
  Log.error(`sap.ui.rta: ${oError.stack || oError.message || oError}`);
1338
1338
  });
1339
1339
  }
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  *
45
45
  * @namespace
46
46
  * @author SAP SE
47
- * @version 1.126.1
47
+ * @version 1.128.0
48
48
  *
49
49
  * @private
50
50
  * @since 1.30
@@ -25,6 +25,8 @@ sap.ui.define([
25
25
  /**
26
26
  * Starts UI adaptation, initiated for an application at the passed root control instance.
27
27
  * With this API you are also able to modify the UI adaptation plugins list and or add some event handler functions to be called on start, failed and stop events.
28
+ * CAUTION: In the key user layer (CUSTOMER) the adaptation mode starts automatically after a reload triggered by the adaptation mode
29
+ * (e.g. due to personalization changes or versioning). In this case the RuntimeAuthoring class will be started with default parameters.
28
30
  *
29
31
  * @function
30
32
  * @since 1.83
@@ -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.126.1
27
+ * @version 1.128.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -9,7 +9,7 @@ MAA_DIALOG_DELETE_APPVAR=[[[\u010E\u0113\u013A\u0113\u0163\u0113 \u0100\u03C1\u0
9
9
  MAA_DIALOG_ADAPT_UI=[[[\u0100\u018C\u0105\u03C1\u0163 \u016E\u012C\u2219\u2219\u2219\u2219\u2219\u2219]]]
10
10
  MAA_CURRENTLY_ADAPTING=[[[\u0108\u0171\u0157\u0157\u0113\u014B\u0163\u013A\u0177 \u0100\u018C\u0105\u03C1\u0163\u012F\u014B\u011F\u2219\u2219\u2219\u2219\u2219\u2219]]]
11
11
  MAA_OPERATION_IN_PROGRESS=[[[\u014E\u03C1\u0113\u0157\u0105\u0163\u012F\u014F\u014B \u012F\u014B \u01A4\u0157\u014F\u011F\u0157\u0113\u015F\u015F\u2219\u2219\u2219\u2219\u2219]]]
12
- MAA_NEW_APP_VARIANT=[[[\u0134\u0171\u015F\u0163 \u010B\u0157\u0113\u0105\u0163\u0113\u018C\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
12
+ MAA_NEW_APP_VARIANT=[[[\u0134\u0171\u015F\u0163 \u0108\u0157\u0113\u0105\u0163\u0113\u018C\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
13
13
  MAA_ORIGINAL_TYPE=[[[\u014E\u0157\u012F\u011F\u012F\u014B\u0105\u013A \u0100\u03C1\u03C1\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
14
14
  MAA_APP_VARIANT_TYPE=[[[\u0100\u03C1\u03C1 \u01B2\u0105\u0157\u012F\u0105\u014B\u0163\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
15
15
  MAA_CURRENT_APP_STATUS=[[[\u0108\u0171\u0157\u0157\u0113\u014B\u0163 \u015C\u0163\u0105\u0163\u0171\u015F\u2219\u2219\u2219\u2219\u2219]]]
@@ -23,6 +23,6 @@ MSG_APP_VARIANT_DELETE_CONFIRMATION=[[[\u010E\u014F \u0177\u014F\u0171 \u0157\u0
23
23
  TOOLTIP_ADAPTUI_STATUS_RUNNING=[[[\u014E\u03C1\u0113\u0157\u0105\u0163\u012F\u014F\u014B \u012F\u015F \u0157\u0171\u014B\u014B\u012F\u014B\u011F \u012F\u014B \u0163\u0125\u0113 \u0183\u0105\u010B\u0137\u011F\u0157\u014F\u0171\u014B\u018C.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
24
24
  TOOLTIP_ADAPTUI_STATUS_PUBLISHED=[[[\u0158\u0113\u0192\u0157\u0113\u015F\u0125 \u0177\u014F\u0171\u0157 \u0183\u0157\u014F\u0175\u015F\u0113\u0157 \u0163\u014F \u0105\u010B\u0163\u012F\u028B\u0105\u0163\u0113 \u0163\u0125\u012F\u015F \u014F\u03C1\u0163\u012F\u014F\u014B.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
25
25
  TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=[[[\u01A4\u013A\u0113\u0105\u015F\u0113 \u010B\u0125\u0113\u010B\u0137 \u0175\u0125\u0177 \u0163\u0125\u0113 \u010B\u0105\u0163\u0105\u013A\u014F\u011F \u0105\u015F\u015F\u012F\u011F\u014B\u0271\u0113\u014B\u0163 \u0192\u0105\u012F\u013A\u0113\u018C.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
26
- TOOLTIP_ADAPTUI_ON_PREMISE=[[[\u01A4\u013A\u0113\u0105\u015F\u0113 \u0105\u015F\u0137 \u0177\u014F\u0171\u0157 \u010B\u014F\u014B\u0163\u0113\u014B\u0163 \u0105\u018C\u0271\u012F\u014B\u012F\u015F\u0163\u0157\u0105\u0163\u014F\u0157 \u0163\u014F \u010B\u0157\u0113\u0105\u0163\u0113 \u0163\u0125\u0113 \u0163\u0105\u0157\u011F\u0113\u0163 \u0271\u0105\u03C1\u03C1\u012F\u014B\u011F\u015F \u0192\u014F\u0157 \u0163\u0125\u0113 \u0105\u03C1\u03C1 \u028B\u0105\u0157\u012F\u0105\u014B\u0163.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
26
+ TOOLTIP_ADAPTUI_ON_PREMISE=[[[\u01A4\u013A\u0113\u0105\u015F\u0113 \u0105\u015F\u0137 \u0177\u014F\u0171\u0157 \u010B\u014F\u014B\u0163\u0113\u014B\u0163 \u0105\u018C\u0271\u012F\u014B\u012F\u015F\u0163\u0157\u0105\u0163\u014F\u0157 \u0163\u014F \u010B\u0157\u0113\u0105\u0163\u0113 \u0163\u0125\u0113 \u0163\u0105\u0157\u011F\u0113\u0163 \u0271\u0105\u03C1\u03C1\u012F\u014B\u011F\u015F \u0192\u014F\u0157 \u0163\u0125\u0113 \u0105\u03C1\u03C1 \u028B\u0105\u0157\u012F\u0105\u014B\u0163.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
27
27
  MAA_COPY_ID_SUCCESS=[[[\u012C\u010E \u0175\u0105\u015F \u010B\u014F\u03C1\u012F\u0113\u018C \u015F\u0171\u010B\u010B\u0113\u015F\u015F\u0192\u0171\u013A\u013A\u0177.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
28
28
  MAA_DIALOG_ACTIONS_HEADER=[[[\u0100\u028B\u0105\u012F\u013A\u0105\u0183\u013A\u0113 \u0100\u010B\u0163\u012F\u014F\u014B\u015F\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
@@ -1,28 +1,28 @@
1
1
 
2
- MAA_DIALOG_ICON=Kt9LdyoYT1fTbt1A4RyOMQ_Icon
3
- MAA_DIALOG_DESCRIPTION=cAXoNVCoV5HkJ8Il8KqOgA_Description
4
- MAA_DIALOG_COPY_ID_ACTION=CxUiBSjlx/9DbFc4KNSUbQ_Copy ID Action
5
- MAA_DIALOG_ADAPT_UI_ACTION=hJH0Ky6bMxNmT5vy0UUiCQ_Adapt UI Action
6
- MAA_DIALOG_SAVE_AS_ACTION=S7qx2IgTjxsVSHNQNZS48Q_Save As Action
7
- MAA_DIALOG_ACTIONS=8y/WAvdm9VIla+wfThZ2/g_Actions
8
- MAA_DIALOG_DELETE_APPVAR=S2sgnMisPnxjob9AqwOzag_Delete App Variant
9
- MAA_DIALOG_ADAPT_UI=iOFOxs5zabdvBUroBZpEYw_Adapt UI
10
- MAA_CURRENTLY_ADAPTING=1bEEja2xkFi5fHxilufy3Q_Currently Adapting
11
- MAA_OPERATION_IN_PROGRESS=yXHqDzdPzfAmR7vKXO9iJg_Operation in Progress
12
- MAA_NEW_APP_VARIANT=xOJGb0Xm6fqul1xnfJRaFw_Just created
13
- MAA_ORIGINAL_TYPE=H5VyoHhlf+ftRMVH7j+rcg_Original App
14
- MAA_APP_VARIANT_TYPE=mTJBor5MwQJh0HzFD98TXQ_App Variant
15
- MAA_CURRENT_APP_STATUS=K7+TT0VGz7plz5oygUm+PA_Current Status
16
- TOOLTIP_MAA_DIALOG_COPY_ID=WYxPNrMA4A1ZHV1Byobubw_Copy the ID of the app variant to the clipboard
17
- MAA_DIALOG_COPY_ID=jt3P49PuP9UStusLSJzZsw_Copy ID
18
- MAA_DIALOG_APP_TYPE=VK5TanY2OfjJVxsBPm14+w_App Type
19
- MAA_DIALOG_TITLE=HTFPVNX+CoBBN4cDQTU5zQ_Title
20
- MAA_DIALOG_SUBTITLE=g3lcCDKFqluB4RoyIenPXw_Subtitle
21
- TOOLTIP_DELETE_APP_VAR=QZNaFwAGdCQ03e7hYWERyA_Please ask your content administrator to delete the target mappings for this app variant. Then you can delete the app variant.
22
- MSG_APP_VARIANT_DELETE_CONFIRMATION=YTHRYH2FqLRwD+Jc9jj+Ew_Do you really want to delete this app variant?\nPlease keep in mind that this will delete the app variant for all users.
23
- TOOLTIP_ADAPTUI_STATUS_RUNNING=UfsPpMx/G0rbhB9y/ybBfQ_Operation is running in the background.
24
- TOOLTIP_ADAPTUI_STATUS_PUBLISHED=x5vvf5B8qBD3TAdPBy+m/Q_Refresh your browser to activate this option.
25
- TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=GuhLMAP74enD6OiwOr8xLg_Please check why the catalog assignment failed.
26
- TOOLTIP_ADAPTUI_ON_PREMISE=KWfLyUoI9NUZKd6fOFLTeA_Please ask your content administrator to create the target mappings for the app variant.
27
- MAA_COPY_ID_SUCCESS=x/sVRpF9hN7/MDyEoak7iA_ID was copied successfully.
28
- MAA_DIALOG_ACTIONS_HEADER=ZKC6byDJ3pvqKxufGas7Hw_Available Actions
2
+ MAA_DIALOG_ICON=yY3ldI7THNUASTcX2CUK0g_Icon
3
+ MAA_DIALOG_DESCRIPTION=TtgjLSoHC2lSGBQBt/dFOQ_Description
4
+ MAA_DIALOG_COPY_ID_ACTION=W8du05RNPJwvTqJRWMI0lw_Copy ID Action
5
+ MAA_DIALOG_ADAPT_UI_ACTION=3xaDWftvftK0du5Pb7o+tA_Adapt UI Action
6
+ MAA_DIALOG_SAVE_AS_ACTION=RWEVH5KXkANL2aQhbyT51w_Save As Action
7
+ MAA_DIALOG_ACTIONS=DQmKppHrj2G9b1YuWg/ZWw_Actions
8
+ MAA_DIALOG_DELETE_APPVAR=UGpjHWlhpuuS6jM82tLp0A_Delete App Variant
9
+ MAA_DIALOG_ADAPT_UI=zlA/AugJ43yZQ+huVSe/5w_Adapt UI
10
+ MAA_CURRENTLY_ADAPTING=1F6vfzjkTTvmUP90jBE9mg_Currently Adapting
11
+ MAA_OPERATION_IN_PROGRESS=qy3649NEeF3uJaZpAHrPdw_Operation in Progress
12
+ MAA_NEW_APP_VARIANT=dd1Z1LK4DofhgZZA3sIbZQ_Just Created
13
+ MAA_ORIGINAL_TYPE=yIrCQP/s90cajlZYbgus+A_Original App
14
+ MAA_APP_VARIANT_TYPE=6WkVnZ0dJZYYMZMjOTU/CQ_App Variant
15
+ MAA_CURRENT_APP_STATUS=XaPKJTXBWyW8P/6LRNvBNg_Current Status
16
+ TOOLTIP_MAA_DIALOG_COPY_ID=PqNZMvFuj5P8CZNbv8O3kQ_Copy the ID of the app variant to the clipboard
17
+ MAA_DIALOG_COPY_ID=C2g0gGJZGvpzQtvTSzHFKQ_Copy ID
18
+ MAA_DIALOG_APP_TYPE=jQWGJJxn6MtVo5ob+7cjuQ_App Type
19
+ MAA_DIALOG_TITLE=de/MRTAn3kzskRT9FX/YOg_Title
20
+ MAA_DIALOG_SUBTITLE=aRaKCpDlO+Ea8uhAX1/qOA_Subtitle
21
+ TOOLTIP_DELETE_APP_VAR=J9gd8aRpsosGyWjd/i4yJA_Please ask your content administrator to delete the target mappings for this app variant. Then you can delete the app variant.
22
+ MSG_APP_VARIANT_DELETE_CONFIRMATION=ydoXh3jHvpKMBbiVJdn/QQ_Do you really want to delete this app variant?\nPlease keep in mind that this will delete the app variant for all users.
23
+ TOOLTIP_ADAPTUI_STATUS_RUNNING=zzzv6rPzu8lBJY4tJacVKg_Operation is running in the background.
24
+ TOOLTIP_ADAPTUI_STATUS_PUBLISHED=qBqvecASGOQwQ9NDX87Fsw_Refresh your browser to activate this option.
25
+ TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=1P93DLTdQEiLcoiFPVVn0w_Please check why the catalog assignment failed.
26
+ TOOLTIP_ADAPTUI_ON_PREMISE=TW/kjF+IZPRBquxmbD5Vkg_Please ask your content administrator to create the target mappings for the app variant.
27
+ MAA_COPY_ID_SUCCESS=hd2HuEnXOL88hl1qoVK+eg_ID was copied successfully.
28
+ MAA_DIALOG_ACTIONS_HEADER=jXGQ1mXTF8IIe2uZ1Vnhzw_Available Actions
@@ -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.126.1
19
+ * @version 1.128.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.126.1
17
+ * @version 1.128.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.126.1
19
+ * @version 1.128.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.126.1
27
+ * @version 1.128.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -0,0 +1,46 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2024 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
+ * Annotation Command
15
+ *
16
+ * @class
17
+ * @extends sap.ui.rta.command.FlexCommand
18
+ *
19
+ * @author SAP SE
20
+ * @version 1.128.0
21
+ *
22
+ * @constructor
23
+ * @private
24
+ * @since 1.128
25
+ * @alias sap.ui.rta.command.Annotation
26
+ */
27
+ var AnnotationCommand = FlexCommand.extend("sap.ui.rta.command.Annotation", {
28
+ metadata: {
29
+ library: "sap.ui.rta",
30
+ properties: {
31
+ content: {
32
+ type: "any",
33
+ group: "content"
34
+ }
35
+ },
36
+ events: {}
37
+ }
38
+ });
39
+
40
+ /**
41
+ * For annotation commands to take effect the app needs to be restarted as the models need to be reloaded.
42
+ */
43
+ AnnotationCommand.prototype.needsReload = true;
44
+
45
+ return AnnotationCommand;
46
+ });
@@ -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.126.1
24
+ * @version 1.128.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.126.1
19
+ * @version 1.128.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.126.1
29
+ * @version 1.128.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.126.1
19
+ * @version 1.128.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -382,6 +382,10 @@ sap.ui.define([
382
382
  clazz: "sap/ui/rta/command/AppDescriptorCommand",
383
383
  noSelector: true
384
384
  },
385
+ annotation: {
386
+ clazz: "sap/ui/rta/command/Annotation",
387
+ noSelector: true
388
+ },
385
389
  addIFrame: {
386
390
  clazz: "sap/ui/rta/command/AddIFrame",
387
391
  configure: configureAddIFrame
@@ -487,7 +491,7 @@ sap.ui.define([
487
491
  * @extends sap.ui.base.ManagedObject
488
492
  *
489
493
  * @author SAP SE
490
- * @version 1.126.1
494
+ * @version 1.128.0
491
495
  *
492
496
  * @constructor
493
497
  * @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.126.1
24
+ * @version 1.128.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -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.126.1
27
+ * @version 1.128.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @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.126.1
23
+ * @version 1.128.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.86
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @extends sap.ui.rta.command.BaseCommand
28
28
  * @author SAP SE
29
- * @version 1.126.1
29
+ * @version 1.128.0
30
30
  * @constructor
31
31
  * @private
32
32
  * @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.126.1
27
+ * @version 1.128.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.126.1
25
+ * @version 1.128.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.126.1
15
+ * @version 1.128.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.126.1
15
+ * @version 1.128.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.126.1
38
+ * @version 1.128.0
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -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.126.1
30
+ * @version 1.128.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.126.1
23
+ * @version 1.128.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.126.1
20
+ * @version 1.128.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.126.1
19
+ * @version 1.128.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.126.1
15
+ * @version 1.128.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.126.1
15
+ * @version 1.128.0
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.126.1
19
+ * @version 1.128.0
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.126.1
15
+ * @version 1.128.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.126.1
15
+ * @version 1.128.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.126.1
17
+ * @version 1.128.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.46
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * @class
74
74
  * @extends sap.ui.base.ManagedObject
75
75
  * @author SAP SE
76
- * @version 1.126.1
76
+ * @version 1.128.0
77
77
  * @constructor
78
78
  * @private
79
79
  * @since 1.34
@@ -264,8 +264,11 @@ sap.ui.define([
264
264
  oError.command = this.removeCommand(this._toBeExecuted); // remove failing command
265
265
  this._toBeExecuted--;
266
266
  var oRtaResourceBundle = Lib.getResourceBundleFor("sap.ui.rta");
267
+ // AddXMLAtExtensionPoint errors explain to the user what they did wrong, so they shouldn't open an incident
268
+ const sErrorMessage = oCommand.isA("sap.ui.rta.command.AddXMLAtExtensionPoint") ?
269
+ oError.message : oRtaResourceBundle.getText("MSG_GENERIC_ERROR_MESSAGE", [oError.message]);
267
270
  showMessageBox(
268
- oRtaResourceBundle.getText("MSG_GENERIC_ERROR_MESSAGE", [oError.message]),
271
+ sErrorMessage,
269
272
  {title: oRtaResourceBundle.getText("HEADER_ERROR")},
270
273
  "error"
271
274
  );
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.rta.command.AppDescriptorCommand
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.126.1
22
+ * @version 1.128.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.126.1
23
+ * @version 1.128.0
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.126.1
23
+ * @version 1.128.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.87
@@ -130,12 +130,22 @@ sap.ui.define([
130
130
  variantId: this._oVariant.getVariantId()
131
131
  });
132
132
 
133
+ // don't set content at standard variant
134
+ if (this.getElement().getCurrentVariantId() !== "") {
135
+ this.getElement()._getVariantById(this.getPreviousVariantId()).setContent(this.getNewVariantProperties().content);
136
+ }
137
+
133
138
  // when changing a read only variant a new variant has to be created.
134
139
  // on undo the changes have to be reverted via the activateVariant call
135
140
  if (this.getActivateAfterUndo()) {
136
141
  this.getElement().activateVariant(this.getPreviousVariantId());
137
142
  }
138
143
 
144
+ // don't set modified at standard variant
145
+ if (this.getElement().getCurrentVariantId() !== "") {
146
+ this.getElement().setModified(this.getPreviousDirtyFlag());
147
+ }
148
+
139
149
  return Promise.resolve();
140
150
  };
141
151
 
@@ -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.126.1
21
+ * @version 1.128.0
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.126.1
25
+ * @version 1.128.0
26
26
  * @constructor
27
27
  * @private
28
28
  * @since 1.87
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * E.g. <code>elementActionTest.only("Remove");</code>
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.126.1
60
+ * @version 1.128.0
61
61
  *
62
62
  * @static
63
63
  * @since 1.42