@openui5/sap.ui.rta 1.144.0 → 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 (163) hide show
  1. package/.eslintrc.json +7 -1
  2. package/REUSE.toml +40 -16
  3. package/THIRDPARTY.txt +21 -0
  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 +8 -6
  8. package/src/sap/ui/rta/Utils.js +4 -2
  9. package/src/sap/ui/rta/appVariant/AppVariantManager.js +2 -2
  10. package/src/sap/ui/rta/appVariant/Feature.js +6 -4
  11. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +6 -3
  12. package/src/sap/ui/rta/appVariant/Utils.js +2 -2
  13. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  14. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  15. package/src/sap/ui/rta/command/AddXML.js +1 -1
  16. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  17. package/src/sap/ui/rta/command/AnnotationCommand.js +1 -1
  18. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  19. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  20. package/src/sap/ui/rta/command/Combine.js +1 -1
  21. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  22. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  23. package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -1
  24. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  25. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  26. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  27. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  28. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  29. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  30. package/src/sap/ui/rta/command/ExtendControllerCommand.js +1 -1
  31. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  32. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  33. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  34. package/src/sap/ui/rta/command/ManifestCommand.js +1 -1
  35. package/src/sap/ui/rta/command/Move.js +1 -1
  36. package/src/sap/ui/rta/command/Property.js +1 -1
  37. package/src/sap/ui/rta/command/Remove.js +1 -1
  38. package/src/sap/ui/rta/command/Rename.js +1 -1
  39. package/src/sap/ui/rta/command/Resize.js +1 -1
  40. package/src/sap/ui/rta/command/Reveal.js +1 -1
  41. package/src/sap/ui/rta/command/Settings.js +1 -1
  42. package/src/sap/ui/rta/command/Split.js +1 -1
  43. package/src/sap/ui/rta/command/Stack.js +1 -1
  44. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  45. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  46. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  47. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  48. package/src/sap/ui/rta/command/manifest/AddLibrary.js +1 -1
  49. package/src/sap/ui/rta/enablement/elementActionTest.js +90 -94
  50. package/src/sap/ui/rta/library.js +2 -2
  51. package/src/sap/ui/rta/messagebundle.properties +1 -1
  52. package/src/sap/ui/rta/messagebundle_ar.properties +1 -1
  53. package/src/sap/ui/rta/messagebundle_bg.properties +1 -1
  54. package/src/sap/ui/rta/messagebundle_ca.properties +1 -1
  55. package/src/sap/ui/rta/messagebundle_cnr.properties +1 -1
  56. package/src/sap/ui/rta/messagebundle_cs.properties +1 -1
  57. package/src/sap/ui/rta/messagebundle_cy.properties +1 -1
  58. package/src/sap/ui/rta/messagebundle_da.properties +1 -1
  59. package/src/sap/ui/rta/messagebundle_de.properties +1 -1
  60. package/src/sap/ui/rta/messagebundle_el.properties +1 -1
  61. package/src/sap/ui/rta/messagebundle_en.properties +1 -1
  62. package/src/sap/ui/rta/messagebundle_en_GB.properties +1 -1
  63. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +3 -3
  64. package/src/sap/ui/rta/messagebundle_es.properties +1 -1
  65. package/src/sap/ui/rta/messagebundle_es_MX.properties +1 -1
  66. package/src/sap/ui/rta/messagebundle_et.properties +1 -1
  67. package/src/sap/ui/rta/messagebundle_fi.properties +1 -1
  68. package/src/sap/ui/rta/messagebundle_fr.properties +1 -1
  69. package/src/sap/ui/rta/messagebundle_fr_CA.properties +2 -2
  70. package/src/sap/ui/rta/messagebundle_hi.properties +1 -1
  71. package/src/sap/ui/rta/messagebundle_hr.properties +1 -1
  72. package/src/sap/ui/rta/messagebundle_hu.properties +1 -1
  73. package/src/sap/ui/rta/messagebundle_id.properties +1 -1
  74. package/src/sap/ui/rta/messagebundle_it.properties +1 -1
  75. package/src/sap/ui/rta/messagebundle_iw.properties +1 -1
  76. package/src/sap/ui/rta/messagebundle_ja.properties +1 -1
  77. package/src/sap/ui/rta/messagebundle_kk.properties +1 -1
  78. package/src/sap/ui/rta/messagebundle_ko.properties +1 -1
  79. package/src/sap/ui/rta/messagebundle_lt.properties +1 -1
  80. package/src/sap/ui/rta/messagebundle_lv.properties +1 -1
  81. package/src/sap/ui/rta/messagebundle_mk.properties +1 -1
  82. package/src/sap/ui/rta/messagebundle_ms.properties +1 -1
  83. package/src/sap/ui/rta/messagebundle_nl.properties +1 -1
  84. package/src/sap/ui/rta/messagebundle_no.properties +1 -1
  85. package/src/sap/ui/rta/messagebundle_pl.properties +1 -1
  86. package/src/sap/ui/rta/messagebundle_pt.properties +1 -1
  87. package/src/sap/ui/rta/messagebundle_pt_PT.properties +1 -1
  88. package/src/sap/ui/rta/messagebundle_ro.properties +1 -1
  89. package/src/sap/ui/rta/messagebundle_ru.properties +1 -1
  90. package/src/sap/ui/rta/messagebundle_sh.properties +1 -1
  91. package/src/sap/ui/rta/messagebundle_sk.properties +1 -1
  92. package/src/sap/ui/rta/messagebundle_sl.properties +1 -1
  93. package/src/sap/ui/rta/messagebundle_sr.properties +1 -1
  94. package/src/sap/ui/rta/messagebundle_sv.properties +1 -1
  95. package/src/sap/ui/rta/messagebundle_th.properties +1 -1
  96. package/src/sap/ui/rta/messagebundle_tr.properties +1 -1
  97. package/src/sap/ui/rta/messagebundle_uk.properties +1 -1
  98. package/src/sap/ui/rta/messagebundle_vi.properties +1 -1
  99. package/src/sap/ui/rta/messagebundle_zh_CN.properties +1 -1
  100. package/src/sap/ui/rta/messagebundle_zh_TW.properties +1 -1
  101. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +4 -4
  102. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +1 -1
  103. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  104. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  105. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  106. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  107. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  108. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  109. package/src/sap/ui/rta/plugin/ExtendControllerPlugin.js +1 -1
  110. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  111. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  112. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  113. package/src/sap/ui/rta/plugin/Remove.js +13 -11
  114. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  115. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  116. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  117. package/src/sap/ui/rta/plugin/Split.js +1 -1
  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.fragment.xml +3 -20
  121. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +278 -26
  122. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +40 -11
  123. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +4 -3
  124. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  125. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  126. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +1 -1
  127. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +29 -4
  128. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +11 -17
  129. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +8 -6
  130. package/src/sap/ui/rta/plugin/annotations/DocumentedAnnotationChanges.js +14 -0
  131. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +14 -12
  132. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +4 -4
  133. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +8 -1
  134. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +31 -19
  135. package/src/sap/ui/rta/plugin/rename/Rename.js +1 -1
  136. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +1 -1
  137. package/src/sap/ui/rta/service/Action.js +1 -1
  138. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  139. package/src/sap/ui/rta/service/Outline.js +14 -6
  140. package/src/sap/ui/rta/service/Property.js +1 -1
  141. package/src/sap/ui/rta/service/Selection.js +1 -1
  142. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  143. package/src/sap/ui/rta/toolbar/Adaptation.js +6 -3
  144. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  145. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  146. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  147. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  148. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  149. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +13 -11
  150. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  151. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  152. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  153. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  154. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  155. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  156. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  157. package/src/sap/ui/rta/util/ServiceManager.js +1 -1
  158. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  159. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  160. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
  161. package/src/sap/ui/rta/util/changeVisualization/resolveBinding.js +1 -1
  162. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +1 -1
  163. package/src/sap/ui/rta/util/whatsNew/WhatsNew.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
@@ -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.144.0",
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.144.0",
18
- "@openui5/sap.ui.core": "1.144.0",
19
- "@openui5/sap.ui.dt": "1.144.0",
20
- "@openui5/sap.ui.fl": "1.144.0",
21
- "@openui5/sap.ui.layout": "1.144.0"
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
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
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.144.0</version>
9
+ <version>1.145.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.144.0
62
+ * @version 1.145.0
63
63
  * @private
64
64
  * @ui5-restricted
65
65
  */
@@ -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.144.0
121
+ * @version 1.145.0
120
122
  * @constructor
121
123
  * @private
122
124
  * @since 1.30
@@ -1132,9 +1134,9 @@ sap.ui.define([
1132
1134
 
1133
1135
  function showTechnicalError(vError) {
1134
1136
  BusyIndicator.hide();
1135
- const sErrorMessage = vError.userMessage || vError.stack || vError.message || vError.status || vError;
1137
+ const sErrorMessage = vError?.userMessage || vError?.stack || vError?.message || vError?.status || vError;
1136
1138
  const oTextResources = Lib.getResourceBundleFor("sap.ui.rta");
1137
- Log.error("Failed to transfer changes", sErrorMessage);
1139
+ Log.error(`Failed to transfer changes: ${sErrorMessage}`, vError);
1138
1140
  const sMsg = `${oTextResources.getText("MSG_LREP_TRANSFER_ERROR")}
1139
1141
  ${oTextResources.getText("MSG_ERROR_REASON", [sErrorMessage])}`;
1140
1142
  MessageBox.error(sMsg, {
@@ -1624,9 +1626,9 @@ sap.ui.define([
1624
1626
  let oToolbar;
1625
1627
  const bUshellAvailable = !!FlexUtils.getUshellContainer();
1626
1628
  if (bUshellAvailable) {
1627
- const oUshellRtaApi = await requireAsync("sap/ushell/api/RTA");
1628
- oProperties.ushellApi = oUshellRtaApi;
1629
1629
  if (Utils.isOriginalFioriToolbarAccessible()) {
1630
+ const oUshellRtaApi = await requireAsync("sap/ushell/api/RTA");
1631
+ oProperties.ushellApi = oUshellRtaApi;
1630
1632
  oToolbar = new FioriToolbar(oProperties);
1631
1633
  } else {
1632
1634
  oToolbar = new FioriLikeToolbar(oProperties);
@@ -1748,7 +1750,7 @@ sap.ui.define([
1748
1750
  return ReloadManager.triggerReload(oReloadInfo);
1749
1751
  }.bind(this))
1750
1752
  .catch(function(oError) {
1751
- if (oError !== "cancel") {
1753
+ if (!(oError instanceof CancelError)) {
1752
1754
  Utils.showMessageBox("error", "MSG_RESTORE_FAILED", { error: oError });
1753
1755
  }
1754
1756
  });
@@ -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.144.0
51
+ * @version 1.145.0
50
52
  *
51
53
  * @private
52
54
  * @since 1.30
@@ -555,7 +557,7 @@ sap.ui.define([
555
557
  })
556
558
  .then(function(sAction) {
557
559
  if (sAction !== MessageBox.Action.OK) {
558
- throw "cancel";
560
+ throw new CancelError();
559
561
  }
560
562
  return true;
561
563
  });
@@ -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.144.0
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);
@@ -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) {
@@ -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
 
@@ -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
 
@@ -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.144.0
19
+ * @version 1.145.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.144.0
17
+ * @version 1.145.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.144.0
19
+ * @version 1.145.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.144.0
27
+ * @version 1.145.0
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.144.0
32
+ * @version 1.145.0
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.144.0
19
+ * @version 1.145.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.144.0
29
+ * @version 1.145.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.144.0
19
+ * @version 1.145.0
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.144.0
498
+ * @version 1.145.0
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.144.0
24
+ * @version 1.145.0
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.144.0
31
+ * @version 1.145.0
32
32
  * @constructor
33
33
  * @private
34
34
  * @since 1.52
@@ -119,6 +119,7 @@ sap.ui.define([
119
119
  const sFlexReference = FlexRuntimeInfoAPI.getFlexReference({ element: this.getControl() });
120
120
  ChangesWriteAPI.restoreDeletedFlexObjects({
121
121
  reference: sFlexReference,
122
+ componentId: this.oAppComponent.getId(),
122
123
  flexObjects: this._aDeletedFlexObjects
123
124
  });
124
125
  delete this._aDeletedFlexObjects;
@@ -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.144.0
23
+ * @version 1.145.0
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.144.0
33
+ * @version 1.145.0
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.144.0
25
+ * @version 1.145.0
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.144.0
25
+ * @version 1.145.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.144.0
15
+ * @version 1.145.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.144.0
15
+ * @version 1.145.0
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.144.0
25
+ * @version 1.145.0
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.144.0
38
+ * @version 1.145.0
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.144.0
26
+ * @version 1.145.0
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.42