@openui5/sap.ui.rta 1.143.1 → 1.145.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 (219) hide show
  1. package/.eslintrc.json +7 -1
  2. package/REUSE.toml +40 -16
  3. package/THIRDPARTY.txt +22 -1
  4. package/package.json +6 -6
  5. package/src/sap/ui/rta/.library +2 -2
  6. package/src/sap/ui/rta/Client.js +2 -2
  7. package/src/sap/ui/rta/RuntimeAuthoring.js +26 -13
  8. package/src/sap/ui/rta/Utils.js +27 -3
  9. package/src/sap/ui/rta/api/startAdaptation.js +1 -1
  10. package/src/sap/ui/rta/api/startKeyUserAdaptation.js +1 -1
  11. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
  12. package/src/sap/ui/rta/appVariant/AppVariantManager.js +3 -3
  13. package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
  14. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
  15. package/src/sap/ui/rta/appVariant/Feature.js +7 -5
  16. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +7 -4
  17. package/src/sap/ui/rta/appVariant/Utils.js +3 -3
  18. package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +1 -1
  20. package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
  21. package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
  22. package/src/sap/ui/rta/command/AddIFrame.js +2 -2
  23. package/src/sap/ui/rta/command/AddProperty.js +2 -2
  24. package/src/sap/ui/rta/command/AddXML.js +2 -2
  25. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
  26. package/src/sap/ui/rta/command/AnnotationCommand.js +2 -2
  27. package/src/sap/ui/rta/command/BaseCommand.js +2 -2
  28. package/src/sap/ui/rta/command/BindProperty.js +2 -2
  29. package/src/sap/ui/rta/command/Combine.js +2 -2
  30. package/src/sap/ui/rta/command/CommandFactory.js +2 -2
  31. package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
  32. package/src/sap/ui/rta/command/ControlVariantConfigure.js +3 -2
  33. package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
  34. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
  35. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
  36. package/src/sap/ui/rta/command/ControlVariantSwitch.js +2 -2
  37. package/src/sap/ui/rta/command/CreateContainer.js +2 -2
  38. package/src/sap/ui/rta/command/CustomAdd.js +2 -2
  39. package/src/sap/ui/rta/command/ExtendControllerCommand.js +2 -2
  40. package/src/sap/ui/rta/command/FlexCommand.js +2 -2
  41. package/src/sap/ui/rta/command/LREPSerializer.js +2 -2
  42. package/src/sap/ui/rta/command/LocalReset.js +2 -2
  43. package/src/sap/ui/rta/command/ManifestCommand.js +2 -2
  44. package/src/sap/ui/rta/command/Move.js +2 -2
  45. package/src/sap/ui/rta/command/Property.js +2 -2
  46. package/src/sap/ui/rta/command/Remove.js +2 -2
  47. package/src/sap/ui/rta/command/Rename.js +2 -2
  48. package/src/sap/ui/rta/command/Resize.js +2 -2
  49. package/src/sap/ui/rta/command/Reveal.js +2 -2
  50. package/src/sap/ui/rta/command/Settings.js +2 -2
  51. package/src/sap/ui/rta/command/Split.js +2 -2
  52. package/src/sap/ui/rta/command/Stack.js +23 -18
  53. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
  54. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
  55. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
  56. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
  57. package/src/sap/ui/rta/command/manifest/AddLibrary.js +2 -2
  58. package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
  59. package/src/sap/ui/rta/enablement/elementActionTest.js +92 -96
  60. package/src/sap/ui/rta/library.js +3 -3
  61. package/src/sap/ui/rta/messagebundle.properties +1 -1
  62. package/src/sap/ui/rta/messagebundle_ar.properties +1 -1
  63. package/src/sap/ui/rta/messagebundle_bg.properties +1 -1
  64. package/src/sap/ui/rta/messagebundle_ca.properties +1 -1
  65. package/src/sap/ui/rta/messagebundle_cnr.properties +1 -1
  66. package/src/sap/ui/rta/messagebundle_cs.properties +1 -1
  67. package/src/sap/ui/rta/messagebundle_cy.properties +1 -1
  68. package/src/sap/ui/rta/messagebundle_da.properties +1 -1
  69. package/src/sap/ui/rta/messagebundle_de.properties +1 -1
  70. package/src/sap/ui/rta/messagebundle_el.properties +1 -1
  71. package/src/sap/ui/rta/messagebundle_en.properties +1 -1
  72. package/src/sap/ui/rta/messagebundle_en_GB.properties +1 -1
  73. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +3 -3
  74. package/src/sap/ui/rta/messagebundle_es.properties +1 -1
  75. package/src/sap/ui/rta/messagebundle_es_MX.properties +1 -1
  76. package/src/sap/ui/rta/messagebundle_et.properties +1 -1
  77. package/src/sap/ui/rta/messagebundle_fi.properties +1 -1
  78. package/src/sap/ui/rta/messagebundle_fr.properties +1 -1
  79. package/src/sap/ui/rta/messagebundle_fr_CA.properties +2 -2
  80. package/src/sap/ui/rta/messagebundle_hi.properties +1 -1
  81. package/src/sap/ui/rta/messagebundle_hr.properties +1 -1
  82. package/src/sap/ui/rta/messagebundle_hu.properties +1 -1
  83. package/src/sap/ui/rta/messagebundle_id.properties +1 -1
  84. package/src/sap/ui/rta/messagebundle_it.properties +1 -1
  85. package/src/sap/ui/rta/messagebundle_iw.properties +1 -1
  86. package/src/sap/ui/rta/messagebundle_ja.properties +1 -1
  87. package/src/sap/ui/rta/messagebundle_kk.properties +1 -1
  88. package/src/sap/ui/rta/messagebundle_ko.properties +1 -1
  89. package/src/sap/ui/rta/messagebundle_lt.properties +1 -1
  90. package/src/sap/ui/rta/messagebundle_lv.properties +1 -1
  91. package/src/sap/ui/rta/messagebundle_mk.properties +1 -1
  92. package/src/sap/ui/rta/messagebundle_ms.properties +1 -1
  93. package/src/sap/ui/rta/messagebundle_nl.properties +1 -1
  94. package/src/sap/ui/rta/messagebundle_no.properties +1 -1
  95. package/src/sap/ui/rta/messagebundle_pl.properties +1 -1
  96. package/src/sap/ui/rta/messagebundle_pt.properties +1 -1
  97. package/src/sap/ui/rta/messagebundle_pt_PT.properties +1 -1
  98. package/src/sap/ui/rta/messagebundle_ro.properties +1 -1
  99. package/src/sap/ui/rta/messagebundle_ru.properties +1 -1
  100. package/src/sap/ui/rta/messagebundle_sh.properties +1 -1
  101. package/src/sap/ui/rta/messagebundle_sk.properties +1 -1
  102. package/src/sap/ui/rta/messagebundle_sl.properties +1 -1
  103. package/src/sap/ui/rta/messagebundle_sr.properties +1 -1
  104. package/src/sap/ui/rta/messagebundle_sv.properties +1 -1
  105. package/src/sap/ui/rta/messagebundle_th.properties +1 -1
  106. package/src/sap/ui/rta/messagebundle_tr.properties +1 -1
  107. package/src/sap/ui/rta/messagebundle_uk.properties +1 -1
  108. package/src/sap/ui/rta/messagebundle_vi.properties +1 -1
  109. package/src/sap/ui/rta/messagebundle_zh_CN.properties +1 -1
  110. package/src/sap/ui/rta/messagebundle_zh_TW.properties +1 -1
  111. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +5 -5
  112. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +8 -6
  113. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  114. package/src/sap/ui/rta/plugin/Combine.js +2 -2
  115. package/src/sap/ui/rta/plugin/CompVariant.js +1 -1
  116. package/src/sap/ui/rta/plugin/ControlVariant.js +2 -3
  117. package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
  118. package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
  119. package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
  120. package/src/sap/ui/rta/plugin/ExtendControllerPlugin.js +13 -4
  121. package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
  122. package/src/sap/ui/rta/plugin/Plugin.js +3 -3
  123. package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
  124. package/src/sap/ui/rta/plugin/Remove.js +14 -12
  125. package/src/sap/ui/rta/plugin/Resize.js +2 -2
  126. package/src/sap/ui/rta/plugin/Selection.js +2 -2
  127. package/src/sap/ui/rta/plugin/Settings.js +2 -2
  128. package/src/sap/ui/rta/plugin/Split.js +2 -2
  129. package/src/sap/ui/rta/plugin/Stretch.js +2 -2
  130. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -2
  131. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.fragment.xml +4 -20
  132. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +281 -31
  133. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +41 -12
  134. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +5 -4
  135. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
  136. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
  137. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +1 -1
  138. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +30 -5
  139. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +10 -4
  140. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +9 -7
  141. package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +1 -1
  142. package/src/sap/ui/rta/plugin/annotations/DocumentedAnnotationChanges.js +14 -0
  143. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +15 -13
  144. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +14 -10
  145. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +18 -2
  146. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +43 -19
  147. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  148. package/src/sap/ui/rta/plugin/rename/Rename.js +2 -2
  149. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +2 -2
  150. package/src/sap/ui/rta/service/Action.js +2 -2
  151. package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
  152. package/src/sap/ui/rta/service/Outline.js +15 -7
  153. package/src/sap/ui/rta/service/Property.js +2 -2
  154. package/src/sap/ui/rta/service/Receiver.js +1 -1
  155. package/src/sap/ui/rta/service/Selection.js +2 -2
  156. package/src/sap/ui/rta/service/SupportTools.js +2 -2
  157. package/src/sap/ui/rta/service/index.js +1 -1
  158. package/src/sap/ui/rta/themes/base/AddIFrame.less +40 -70
  159. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +23 -20
  160. package/src/sap/ui/rta/themes/base/ContextMenu.less +10 -13
  161. package/src/sap/ui/rta/themes/base/Dialogs.less +26 -40
  162. package/src/sap/ui/rta/themes/base/FieldRepository.less +10 -17
  163. package/src/sap/ui/rta/themes/base/FlexSupportExtension.less +15 -13
  164. package/src/sap/ui/rta/themes/base/MessageBox.less +5 -3
  165. package/src/sap/ui/rta/themes/base/Overlay.less +32 -25
  166. package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +25 -11
  167. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +53 -40
  168. package/src/sap/ui/rta/themes/base/Toolbar.base.less +14 -18
  169. package/src/sap/ui/rta/themes/base/Toolbar.fiori.less +6 -1
  170. package/src/sap/ui/rta/themes/base/Toolbar.standalone.less +7 -5
  171. package/src/sap/ui/rta/themes/base/WhatsNew.less +6 -5
  172. package/src/sap/ui/rta/themes/base/library.source.less +1 -1
  173. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
  174. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +2 -2
  175. package/src/sap/ui/rta/toolbar/Adaptation.js +8 -5
  176. package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
  177. package/src/sap/ui/rta/toolbar/Base.js +2 -2
  178. package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
  179. package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
  180. package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
  181. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
  182. package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
  183. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +14 -12
  184. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
  185. package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
  186. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
  187. package/src/sap/ui/rta/util/Animation.js +1 -1
  188. package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
  189. package/src/sap/ui/rta/util/PluginManager.js +2 -2
  190. package/src/sap/ui/rta/util/PopupManager.js +2 -2
  191. package/src/sap/ui/rta/util/ReloadManager.js +2 -2
  192. package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
  193. package/src/sap/ui/rta/util/ServiceManager.js +2 -2
  194. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  195. package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
  196. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
  197. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  198. package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
  199. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -2
  200. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
  201. package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +2 -2
  202. package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
  203. package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
  204. package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
  205. package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
  206. package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
  207. package/src/sap/ui/rta/util/changeVisualization/resolveBinding.js +2 -2
  208. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +2 -2
  209. package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +1 -1
  210. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  211. package/src/sap/ui/rta/util/isReuseComponent.js +1 -1
  212. package/src/sap/ui/rta/util/showMessageBox.js +1 -1
  213. package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
  214. package/src/sap/ui/rta/util/validateStableIds.js +1 -1
  215. package/src/sap/ui/rta/util/validateText.js +1 -1
  216. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +31 -6
  217. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
  218. package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +3 -11
  219. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +1 -1
package/.eslintrc.json CHANGED
@@ -74,6 +74,12 @@
74
74
  "prefer-spread": "error",
75
75
  "logical-assignment-operators":["error", "always", { "enforceForIfStatements": true } ],
76
76
  "require-await": "error",
77
- "object-curly-spacing": ["error", "always"]
77
+ "object-curly-spacing": ["error", "always"],
78
+ "no-useless-catch": "error",
79
+ "no-empty": "error",
80
+ "no-ex-assign": "error",
81
+ "no-unsafe-finally": "error",
82
+ "no-throw-literal": "error",
83
+ "prefer-promise-reject-errors": "error"
78
84
  }
79
85
  }
package/REUSE.toml CHANGED
@@ -7,7 +7,7 @@ SPDX-PackageComment = "The code in this project may include calls to APIs (“AP
7
7
  [[annotations]]
8
8
  path = "**"
9
9
  precedence = "aggregate"
10
- SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors"
10
+ SPDX-FileCopyrightText = "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors"
11
11
  SPDX-License-Identifier = "Apache-2.0"
12
12
 
13
13
  #
@@ -102,7 +102,7 @@ SPDX-FileComment = "these files belong to: jQuery UI"
102
102
  path = "src/sap.ui.commons/src/sap/ui/commons/Carousel.js"
103
103
  precedence = "aggregate"
104
104
  SPDX-FileCopyrightText = [
105
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
105
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
106
106
  "Spencer Tipping"
107
107
  ]
108
108
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -122,7 +122,7 @@ SPDX-FileComment = "these files belong to: jQuery 3"
122
122
  path = "src/sap.ui.core/src/sap/base/util/isPlainObject.js"
123
123
  precedence = "aggregate"
124
124
  SPDX-FileCopyrightText = [
125
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
125
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
126
126
  "OpenJS Foundation and other contributors"
127
127
  ]
128
128
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -132,7 +132,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 3: isPlainOb
132
132
  path = "src/sap.ui.core/src/sap/base/util/_merge.js"
133
133
  precedence = "aggregate"
134
134
  SPDX-FileCopyrightText = [
135
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
135
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
136
136
  "OpenJS Foundation and other contributors"
137
137
  ]
138
138
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -142,7 +142,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 3: _merge.js
142
142
  path = "src/sap.ui.core/src/jquery.sap.script.js"
143
143
  precedence = "aggregate"
144
144
  SPDX-FileCopyrightText = [
145
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
145
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
146
146
  "OpenJS Foundation and other contributors"
147
147
  ]
148
148
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -152,7 +152,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 3: jquery.sa
152
152
  path = "src/sap.ui.core/src/sap/ui/Device.js"
153
153
  precedence = "aggregate"
154
154
  SPDX-FileCopyrightText = [
155
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
155
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
156
156
  "2011, John Resig"
157
157
  ]
158
158
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -162,7 +162,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 1: Device.js
162
162
  path = "src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js"
163
163
  precedence = "aggregate"
164
164
  SPDX-FileCopyrightText = [
165
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
165
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
166
166
  "2014 jQuery Foundation and other contributors"
167
167
  ]
168
168
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -179,7 +179,7 @@ SPDX-FileComment = "these files belong to: jQuery UI 1.10"
179
179
  path = "src/sap.ui.core/src/jquery.sap.dom.js"
180
180
  precedence = "aggregate"
181
181
  SPDX-FileCopyrightText = [
182
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
182
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
183
183
  "2014 jQuery Foundation and other contributors"
184
184
  ]
185
185
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -189,7 +189,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery UI 1.10: jqu
189
189
  path = "src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js"
190
190
  precedence = "aggregate"
191
191
  SPDX-FileCopyrightText = [
192
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
192
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
193
193
  "2014 jQuery Foundation and other contributors"
194
194
  ]
195
195
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -243,7 +243,7 @@ SPDX-FileComment = "these files belong to: jQuery Mobile"
243
243
  path = "src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js"
244
244
  precedence = "aggregate"
245
245
  SPDX-FileCopyrightText = [
246
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
246
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
247
247
  "2012 Wei-Ko Kao"
248
248
  ]
249
249
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -270,7 +270,7 @@ SPDX-FileComment = "these files belong to: JUnit Reporter for QUnit"
270
270
  path = "src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js"
271
271
  precedence = "aggregate"
272
272
  SPDX-FileCopyrightText = [
273
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
273
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
274
274
  "jQuery Foundation and other contributors"
275
275
  ]
276
276
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -421,7 +421,7 @@ SPDX-FileComment = "these files belong to: blanket.js"
421
421
  path = "src/sap.ui.core/src/sap/base/util/JSTokenizer.js"
422
422
  precedence = "aggregate"
423
423
  SPDX-FileCopyrightText = [
424
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
424
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
425
425
  "Douglas Crockford"
426
426
  ]
427
427
  SPDX-License-Identifier = "Apache-2.0 and LicenseRef-JSONinJSPublicDomain"
@@ -431,7 +431,7 @@ SPDX-FileComment = "these files contain content from SAP and JSON in JS: JSToken
431
431
  path = "src/sap.ui.core/src/sap/ui/base/ExpressionParser.js"
432
432
  precedence = "aggregate"
433
433
  SPDX-FileCopyrightText = [
434
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
434
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
435
435
  "2010 Douglas Crockford"
436
436
  ]
437
437
  SPDX-License-Identifier = "Apache-2.0"
@@ -479,7 +479,7 @@ SPDX-FileComment = "these files contain content from p-cancelable and @babel/hel
479
479
  path = "src/sap.ui.core/src/sap/ui/core/date/Persian.js"
480
480
  precedence = "aggregate"
481
481
  SPDX-FileCopyrightText = [
482
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
482
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
483
483
  "Behrang Norouzinia"
484
484
  ]
485
485
  SPDX-License-Identifier = "Apache-2.0 and MIT"
@@ -496,7 +496,7 @@ SPDX-FileComment = "these files belong to: vkBeautify"
496
496
  path = "src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js"
497
497
  precedence = "aggregate"
498
498
  SPDX-FileCopyrightText = [
499
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
499
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
500
500
  "Isaac Z. Schlueter and Contributors"
501
501
  ]
502
502
  SPDX-License-Identifier = "Apache-2.0 and ISC"
@@ -589,6 +589,30 @@ SPDX-License-Identifier = "MIT"
589
589
  SPDX-FileComment = "these files belong to: @cfworker/json-schema"
590
590
 
591
591
 
592
+ # Library: sap.ui.mdc:
593
+
594
+ [[annotations]]
595
+ path = "src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/ChartJS.js"
596
+ precedence = "aggregate"
597
+ SPDX-FileCopyrightText = "2025 Chart.js Contributors"
598
+ SPDX-License-Identifier = "MIT"
599
+ SPDX-FileComment = "these files belong to: Chart.js"
600
+
601
+ [[annotations]]
602
+ path = "src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/chartjs-plugin-zoom.js"
603
+ precedence = "aggregate"
604
+ SPDX-FileCopyrightText = "2016-2021 chartjs-plugin-zoom Contributors"
605
+ SPDX-License-Identifier = "MIT"
606
+ SPDX-FileComment = "these files belong to: chartjs-plugin-zoom"
607
+
608
+ [[annotations]]
609
+ path = "src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/hammerjs.js"
610
+ precedence = "aggregate"
611
+ SPDX-FileCopyrightText = "2011-2017 by Jorik Tangelder (Eight Media)"
612
+ SPDX-License-Identifier = "MIT"
613
+ SPDX-FileComment = "these files belong to: hammer.js"
614
+
615
+
592
616
  # Library: sap.ui.webc.common:
593
617
 
594
618
  [[annotations]]
@@ -646,7 +670,7 @@ SPDX-FileComment = "these files belong to: UI5 Web Components"
646
670
  path = "lib/jsdoc/ui5/plugin.js"
647
671
  precedence = "aggregate"
648
672
  SPDX-FileCopyrightText = [
649
- "2025 SAP SE or an SAP affiliate company and OpenUI5 contributors",
673
+ "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
650
674
  "2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc"
651
675
  ]
652
676
  SPDX-License-Identifier = "Apache-2.0"
package/THIRDPARTY.txt CHANGED
@@ -202,7 +202,7 @@ License: Apache-2.0
202
202
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
203
203
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
204
204
 
205
- Component: Unicode Common Locale Data Repository, version: 46.1.0
205
+ Component: Unicode Common Locale Data Repository, version: 48.0.0
206
206
  Copyright: 1991-2024 Unicode, Inc.
207
207
  License: LicenseRef-Unicode-3.0
208
208
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
@@ -425,6 +425,27 @@ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
425
425
  Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
426
426
 
427
427
 
428
+ Library: sap.ui.mdc:
429
+
430
+ Component: Chart.js, version: 4.5.0
431
+ Copyright: 2025 Chart.js Contributors
432
+ License: MIT
433
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
434
+ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/ChartJS.js
435
+
436
+ Component: chartjs-plugin-zoom, version: 1.0.1
437
+ Copyright: 2016-2021 chartjs-plugin-zoom Contributors
438
+ License: MIT
439
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
440
+ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/chartjs-plugin-zoom.js
441
+
442
+ Component: hammer.js, version: 2.0.7
443
+ Copyright: 2011-2017 by Jorik Tangelder (Eight Media)
444
+ License: MIT
445
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
446
+ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/hammerjs.js
447
+
448
+
428
449
  Library: sap.ui.webc.common:
429
450
 
430
451
  Component: UI5 Web Components, version: 1.18.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.143.1",
3
+ "version": "1.145.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/UI5/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.143.1",
18
- "@openui5/sap.ui.core": "1.143.1",
19
- "@openui5/sap.ui.dt": "1.143.1",
20
- "@openui5/sap.ui.fl": "1.143.1",
21
- "@openui5/sap.ui.layout": "1.143.1"
17
+ "@openui5/sap.m": "1.145.0",
18
+ "@openui5/sap.ui.core": "1.145.0",
19
+ "@openui5/sap.ui.dt": "1.145.0",
20
+ "@openui5/sap.ui.fl": "1.145.0",
21
+ "@openui5/sap.ui.layout": "1.145.0"
22
22
  }
23
23
  }
@@ -4,9 +4,9 @@
4
4
  <name>sap.ui.rta</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>OpenUI5
7
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.143.1</version>
9
+ <version>1.145.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with RTA controls.</documentation>
12
12
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.143.1
62
+ * @version 1.145.0
63
63
  * @private
64
64
  * @ui5-restricted
65
65
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -22,6 +22,7 @@ sap.ui.define([
22
22
  "sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
23
23
  "sap/ui/fl/initial/_internal/ManifestUtils",
24
24
  "sap/ui/fl/initial/api/Version",
25
+ "sap/ui/fl/util/CancelError",
25
26
  "sap/ui/fl/write/api/ContextBasedAdaptationsAPI",
26
27
  "sap/ui/fl/write/api/ControlPersonalizationWriteAPI",
27
28
  "sap/ui/fl/write/api/FeaturesAPI",
@@ -70,6 +71,7 @@ sap.ui.define([
70
71
  FlexRuntimeInfoAPI,
71
72
  ManifestUtils,
72
73
  Version,
74
+ CancelError,
73
75
  ContextBasedAdaptationsAPI,
74
76
  ControlPersonalizationWriteAPI,
75
77
  FeaturesAPI,
@@ -116,7 +118,7 @@ sap.ui.define([
116
118
  * @class The runtime authoring allows to adapt the fields of a running application.
117
119
  * @extends sap.ui.base.ManagedObject
118
120
  * @author SAP SE
119
- * @version 1.143.1
121
+ * @version 1.145.0
120
122
  * @constructor
121
123
  * @private
122
124
  * @since 1.30
@@ -622,6 +624,7 @@ sap.ui.define([
622
624
  */
623
625
  RuntimeAuthoring.prototype.stop = async function(bSkipSave, bSkipRestart, bSkipUnsavedChangesPrompt) {
624
626
  let bUserCancelled;
627
+ let bExitFailed;
625
628
  checkToolbarAndExecuteFunction.call(this, "setBusy", true);
626
629
  try {
627
630
  bSkipSave ||= !PersistenceWriteAPI.hasDirtyChanges({ selector: this.getRootControlInstance() });
@@ -662,13 +665,14 @@ sap.ui.define([
662
665
  }
663
666
  VersionsAPI.clearInstances();
664
667
  } catch (vError) {
668
+ bExitFailed = true;
665
669
  if (!bUserCancelled) {
666
670
  showTechnicalError(vError);
667
671
  }
668
672
  }
669
673
  checkToolbarAndExecuteFunction.call(this, "setBusy", false);
670
674
  setBlockedOnRootElements.call(this, false);
671
- if (!bUserCancelled) {
675
+ if (!bExitFailed) {
672
676
  this._sStatus = STOPPED;
673
677
  document.body.classList.remove("sapUiRtaMode");
674
678
  }
@@ -1130,9 +1134,9 @@ sap.ui.define([
1130
1134
 
1131
1135
  function showTechnicalError(vError) {
1132
1136
  BusyIndicator.hide();
1133
- const sErrorMessage = vError.userMessage || vError.stack || vError.message || vError.status || vError;
1137
+ const sErrorMessage = vError?.userMessage || vError?.stack || vError?.message || vError?.status || vError;
1134
1138
  const oTextResources = Lib.getResourceBundleFor("sap.ui.rta");
1135
- Log.error("Failed to transfer changes", sErrorMessage);
1139
+ Log.error(`Failed to transfer changes: ${sErrorMessage}`, vError);
1136
1140
  const sMsg = `${oTextResources.getText("MSG_LREP_TRANSFER_ERROR")}
1137
1141
  ${oTextResources.getText("MSG_ERROR_REASON", [sErrorMessage])}`;
1138
1142
  MessageBox.error(sMsg, {
@@ -1251,10 +1255,18 @@ sap.ui.define([
1251
1255
  }
1252
1256
  await this.save();
1253
1257
  if (this._oVersionsModel.getProperty("/versioningEnabled")) {
1254
- await VersionsAPI.loadDraftForApplication({
1255
- control: this.getRootControlInstance(),
1256
- layer: this.getLayer()
1257
- });
1258
+ if (isDraftAvailable.call(this)) {
1259
+ await VersionsAPI.loadDraftForApplication({
1260
+ control: this.getRootControlInstance(),
1261
+ layer: this.getLayer()
1262
+ });
1263
+ } else {
1264
+ await VersionsAPI.loadVersionForApplication({
1265
+ control: this.getRootControlInstance(),
1266
+ layer: this.getLayer(),
1267
+ version: this._oVersionsModel.getProperty("/displayedVersion")
1268
+ });
1269
+ }
1258
1270
  }
1259
1271
  RuntimeAuthoring.enableRestart(this.getLayer(), this.getRootControlInstance());
1260
1272
  await this.stop(true, true, true);
@@ -1443,7 +1455,8 @@ sap.ui.define([
1443
1455
  await fnCallback();
1444
1456
  } else if (sAction === MessageBox.Action.NO) {
1445
1457
  // avoids the data loss popup; a reload is triggered later and will destroy RTA & the command stack
1446
- this.getCommandStack().removeAllCommands(true);
1458
+ // the dirty changes also need to be removed here since user decided to not save them
1459
+ this.getCommandStack().removeAllCommands(true, /* bRemoveChangesFromPersistence = */ true);
1447
1460
  await fnCallback();
1448
1461
  }
1449
1462
  } else {
@@ -1613,9 +1626,9 @@ sap.ui.define([
1613
1626
  let oToolbar;
1614
1627
  const bUshellAvailable = !!FlexUtils.getUshellContainer();
1615
1628
  if (bUshellAvailable) {
1616
- const oUshellRtaApi = await requireAsync("sap/ushell/api/RTA");
1617
- oProperties.ushellApi = oUshellRtaApi;
1618
1629
  if (Utils.isOriginalFioriToolbarAccessible()) {
1630
+ const oUshellRtaApi = await requireAsync("sap/ushell/api/RTA");
1631
+ oProperties.ushellApi = oUshellRtaApi;
1619
1632
  oToolbar = new FioriToolbar(oProperties);
1620
1633
  } else {
1621
1634
  oToolbar = new FioriLikeToolbar(oProperties);
@@ -1737,7 +1750,7 @@ sap.ui.define([
1737
1750
  return ReloadManager.triggerReload(oReloadInfo);
1738
1751
  }.bind(this))
1739
1752
  .catch(function(oError) {
1740
- if (oError !== "cancel") {
1753
+ if (!(oError instanceof CancelError)) {
1741
1754
  Utils.showMessageBox("error", "MSG_RESTORE_FAILED", { error: oError });
1742
1755
  }
1743
1756
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -15,6 +15,7 @@ sap.ui.define([
15
15
  "sap/ui/dt/OverlayUtil",
16
16
  "sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
17
17
  "sap/ui/fl/initial/api/Version",
18
+ "sap/ui/fl/util/CancelError",
18
19
  "sap/ui/fl/Layer",
19
20
  "sap/ui/fl/LayerUtils",
20
21
  "sap/ui/fl/Utils",
@@ -32,6 +33,7 @@ sap.ui.define([
32
33
  OverlayUtil,
33
34
  FlexRuntimeInfoAPI,
34
35
  Version,
36
+ CancelError,
35
37
  Layer,
36
38
  FlexLayerUtils,
37
39
  FlexUtils,
@@ -46,7 +48,7 @@ sap.ui.define([
46
48
  *
47
49
  * @namespace
48
50
  * @author SAP SE
49
- * @version 1.143.1
51
+ * @version 1.145.0
50
52
  *
51
53
  * @private
52
54
  * @since 1.30
@@ -440,6 +442,28 @@ sap.ui.define([
440
442
  return FlexRuntimeInfoAPI.isAtoEnabled() && FlexRuntimeInfoAPI.getSystem();
441
443
  };
442
444
 
445
+ /**
446
+ * Determines the appropriate documentation URL based on the current system
447
+ * @param {object} oDocumentationUrls - Object containing URLs for different systems
448
+ * @param {string} oDocumentationUrls.s4HanaCloudUrl - URL for S/4HANA Cloud
449
+ * @param {string} oDocumentationUrls.s4HanaOnPremUrl - URL for S/4HANA On-Premise
450
+ * @param {string} oDocumentationUrls.btpUrl - URL for BTP
451
+ * @returns {string} The URL for the current system
452
+ */
453
+ Utils.getSystemSpecificDocumentationUrl = function(oDocumentationUrls) {
454
+ const bIsS4Hana = !!FlexRuntimeInfoAPI.getSystem();
455
+
456
+ if (bIsS4Hana) {
457
+ if (Utils.isS4HanaCloud()) {
458
+ return oDocumentationUrls.s4HanaCloudUrl;
459
+ }
460
+
461
+ return oDocumentationUrls.s4HanaOnPremUrl;
462
+ }
463
+
464
+ return oDocumentationUrls.btpUrl;
465
+ };
466
+
443
467
  /**
444
468
  * Checks drop ability for aggregation overlays
445
469
  * @param {sap.ui.dt.Overlay} oAggregationOverlay Aggregation overlay object
@@ -533,7 +557,7 @@ sap.ui.define([
533
557
  })
534
558
  .then(function(sAction) {
535
559
  if (sAction !== MessageBox.Action.OK) {
536
- throw "cancel";
560
+ throw new CancelError();
537
561
  }
538
562
  return true;
539
563
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -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.143.1
27
+ * @version 1.145.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -216,7 +216,7 @@ sap.ui.define([
216
216
  const oS4HanaCloudBackend = new S4HanaCloudBackend();
217
217
  return oS4HanaCloudBackend.notifyFlpCustomizingIsReady(sIamId, bCreation).catch(function(oError) {
218
218
  let sMessageKey = bCreation ? "MSG_TILE_CREATION_FAILED" : "MSG_DELETE_APP_VARIANT_FAILED";
219
- if (!bCreation && oError.error === "locked") {
219
+ if (!bCreation && oError.message === "locked") {
220
220
  sMessageKey = "MSG_CATALOGS_LOCKED";
221
221
  }
222
222
  return AppVariantUtils.catchErrorDialog(oError, sMessageKey, sAppVarId);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -9,6 +9,7 @@ sap.ui.define([
9
9
  "sap/ui/core/BusyIndicator",
10
10
  "sap/ui/core/EventBus",
11
11
  "sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
12
+ "sap/ui/fl/util/CancelError",
12
13
  "sap/ui/fl/write/_internal/appVariant/AppVariantFactory",
13
14
  "sap/ui/fl/write/api/FeaturesAPI",
14
15
  "sap/ui/fl/Utils",
@@ -19,6 +20,7 @@ sap.ui.define([
19
20
  BusyIndicator,
20
21
  EventBus,
21
22
  FlexRuntimeInfoAPI,
23
+ CancelError,
22
24
  AppVariantFactory,
23
25
  FeaturesAPI,
24
26
  FlexUtils,
@@ -79,7 +81,7 @@ sap.ui.define([
79
81
  const sMessage = AppVariantUtils.getText("MSG_BASE_APP_CATALOGS_NOT_FOUND", sAppVariantId);
80
82
  const sTitle = AppVariantUtils.getText("HEADER_SAVE_APP_VARIANT_FAILED");
81
83
  showMessageBox(sMessage, { title: sTitle }, "error");
82
- return Promise.reject();
84
+ return Promise.reject(new Error(sMessage));
83
85
  }
84
86
  return oAppVariantManager.notifyKeyUserWhenPublishingIsReady(oResult.response.IAMId, sAppVariantId, true);
85
87
  }
@@ -366,8 +368,8 @@ sap.ui.define([
366
368
  const fnDeleteAppVariant = function() {
367
369
  return oAppVariantManager.deleteAppVariant(sAppVariantId)
368
370
  .catch(function(oError) {
369
- if (oError === "cancel") {
370
- return Promise.reject("cancel");
371
+ if (oError instanceof CancelError) {
372
+ return Promise.reject(oError);
371
373
  }
372
374
  let sMessageKey = oError.messageKey;
373
375
  sMessageKey ||= "MSG_DELETE_APP_VARIANT_FAILED";
@@ -419,7 +421,7 @@ sap.ui.define([
419
421
  .then(fnDeleteSuccessMessage)
420
422
  .then(fnTriggerS4HanaRefresh.bind(this))
421
423
  .catch(function(oError) {
422
- if (oError === "cancel") {
424
+ if (oError instanceof CancelError) {
423
425
  return false;
424
426
  }
425
427
  if (bIsS4HanaCloud) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -70,9 +70,12 @@ sap.ui.define([
70
70
  }
71
71
  // ... Reject if publishing return an error or is locked
72
72
  }).catch(function(oError) {
73
- var sText = bAppVarCreation ? "creation" : "deletion";
74
- Log.error(`Catalog publishing failed for app variant ${sText}. AppVarStatus is ${oError.message}`);
75
- reject({ iamAppId: sIamAppId, error: oError.message });
73
+ const sText = bAppVarCreation ? "creation" : "deletion";
74
+ const oNewError = new Error(`Catalog publishing failed for app variant ${sText}. AppVarStatus is ${oError.message}`);
75
+ oNewError.iamAppId = sIamAppId;
76
+ oNewError.cause = oError;
77
+ Log.error(oNewError.message, oNewError);
78
+ reject(oNewError);
76
79
  });
77
80
  }
78
81
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -26,8 +26,8 @@ sap.ui.define([
26
26
  .then(function(oNavigationService) {
27
27
  return oNavigationService.getLinks([oNavigationParams]);
28
28
  })
29
- .catch(function(vError) {
30
- throw new Error(`Error retrieving ushell service Navigation: ${vError}`);
29
+ .catch(function(oError) {
30
+ throw new Error(`Error retrieving ushell service Navigation: ${oError.message}`, { cause: oError });
31
31
  });
32
32
  };
33
33
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.require([