@openui5/sap.ui.rta 1.134.0 → 1.136.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 (216) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  3. package/package.json +6 -6
  4. package/src/sap/ui/rta/.library +2 -2
  5. package/src/sap/ui/rta/Client.js +2 -2
  6. package/src/sap/ui/rta/RuntimeAuthoring.js +124 -28
  7. package/src/sap/ui/rta/Utils.js +19 -2
  8. package/src/sap/ui/rta/api/startAdaptation.js +1 -1
  9. package/src/sap/ui/rta/api/startKeyUserAdaptation.js +1 -1
  10. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
  11. package/src/sap/ui/rta/appVariant/AppVariantManager.js +26 -26
  12. package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
  13. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
  14. package/src/sap/ui/rta/appVariant/Feature.js +72 -72
  15. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
  16. package/src/sap/ui/rta/appVariant/Utils.js +27 -36
  17. package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
  18. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +54 -68
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr_CA.properties +2 -2
  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 +66 -6
  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 +72 -48
  31. package/src/sap/ui/rta/command/CompositeCommand.js +13 -13
  32. package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -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 +93 -0
  40. package/src/sap/ui/rta/command/FlexCommand.js +55 -44
  41. package/src/sap/ui/rta/command/LREPSerializer.js +24 -24
  42. package/src/sap/ui/rta/command/LocalReset.js +2 -2
  43. package/src/sap/ui/rta/command/ManifestCommand.js +112 -0
  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 +20 -5
  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/{appDescriptor → manifest}/AddLibrary.js +11 -11
  58. package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
  59. package/src/sap/ui/rta/enablement/elementActionTest.js +2 -2
  60. package/src/sap/ui/rta/library.js +3 -3
  61. package/src/sap/ui/rta/messagebundle.properties +181 -9
  62. package/src/sap/ui/rta/messagebundle_ar.properties +105 -6
  63. package/src/sap/ui/rta/messagebundle_bg.properties +105 -6
  64. package/src/sap/ui/rta/messagebundle_ca.properties +108 -9
  65. package/src/sap/ui/rta/messagebundle_cnr.properties +106 -7
  66. package/src/sap/ui/rta/messagebundle_cs.properties +103 -4
  67. package/src/sap/ui/rta/messagebundle_cy.properties +105 -6
  68. package/src/sap/ui/rta/messagebundle_da.properties +104 -5
  69. package/src/sap/ui/rta/messagebundle_de.properties +114 -15
  70. package/src/sap/ui/rta/messagebundle_el.properties +102 -3
  71. package/src/sap/ui/rta/messagebundle_en.properties +105 -6
  72. package/src/sap/ui/rta/messagebundle_en_GB.properties +105 -6
  73. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +9 -1
  74. package/src/sap/ui/rta/messagebundle_es.properties +109 -10
  75. package/src/sap/ui/rta/messagebundle_es_MX.properties +113 -14
  76. package/src/sap/ui/rta/messagebundle_et.properties +103 -4
  77. package/src/sap/ui/rta/messagebundle_fi.properties +107 -8
  78. package/src/sap/ui/rta/messagebundle_fr.properties +123 -24
  79. package/src/sap/ui/rta/messagebundle_fr_CA.properties +110 -11
  80. package/src/sap/ui/rta/messagebundle_hi.properties +105 -6
  81. package/src/sap/ui/rta/messagebundle_hr.properties +145 -46
  82. package/src/sap/ui/rta/messagebundle_hu.properties +104 -5
  83. package/src/sap/ui/rta/messagebundle_id.properties +113 -14
  84. package/src/sap/ui/rta/messagebundle_it.properties +146 -47
  85. package/src/sap/ui/rta/messagebundle_iw.properties +105 -6
  86. package/src/sap/ui/rta/messagebundle_ja.properties +117 -18
  87. package/src/sap/ui/rta/messagebundle_kk.properties +104 -5
  88. package/src/sap/ui/rta/messagebundle_ko.properties +105 -6
  89. package/src/sap/ui/rta/messagebundle_lt.properties +105 -6
  90. package/src/sap/ui/rta/messagebundle_lv.properties +104 -5
  91. package/src/sap/ui/rta/messagebundle_mk.properties +108 -9
  92. package/src/sap/ui/rta/messagebundle_ms.properties +115 -16
  93. package/src/sap/ui/rta/messagebundle_nl.properties +104 -5
  94. package/src/sap/ui/rta/messagebundle_no.properties +108 -9
  95. package/src/sap/ui/rta/messagebundle_pl.properties +104 -5
  96. package/src/sap/ui/rta/messagebundle_pt.properties +103 -4
  97. package/src/sap/ui/rta/messagebundle_pt_PT.properties +103 -4
  98. package/src/sap/ui/rta/messagebundle_ro.properties +103 -4
  99. package/src/sap/ui/rta/messagebundle_ru.properties +107 -8
  100. package/src/sap/ui/rta/messagebundle_sh.properties +106 -7
  101. package/src/sap/ui/rta/messagebundle_sk.properties +103 -4
  102. package/src/sap/ui/rta/messagebundle_sl.properties +103 -4
  103. package/src/sap/ui/rta/messagebundle_sr.properties +106 -7
  104. package/src/sap/ui/rta/messagebundle_sv.properties +104 -5
  105. package/src/sap/ui/rta/messagebundle_th.properties +104 -5
  106. package/src/sap/ui/rta/messagebundle_tr.properties +103 -4
  107. package/src/sap/ui/rta/messagebundle_uk.properties +105 -6
  108. package/src/sap/ui/rta/messagebundle_vi.properties +105 -6
  109. package/src/sap/ui/rta/messagebundle_zh_CN.properties +104 -5
  110. package/src/sap/ui/rta/messagebundle_zh_TW.properties +105 -6
  111. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +34 -34
  112. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +54 -32
  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 +114 -114
  116. package/src/sap/ui/rta/plugin/ControlVariant.js +37 -54
  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 +172 -0
  121. package/src/sap/ui/rta/plugin/LocalReset.js +4 -3
  122. package/src/sap/ui/rta/plugin/Plugin.js +31 -11
  123. package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
  124. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  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 +75 -62
  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.js +2 -2
  132. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +1 -1
  133. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
  134. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
  135. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
  136. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +13 -9
  137. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +75 -13
  138. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +38 -32
  139. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +61 -21
  140. package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +1 -1
  141. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +8 -2
  142. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
  143. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -1
  144. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  145. package/src/sap/ui/rta/plugin/{Rename.js → rename/Rename.js} +29 -67
  146. package/src/sap/ui/rta/plugin/rename/RenameDialog.fragment.xml +63 -0
  147. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +140 -0
  148. package/src/sap/ui/rta/service/Action.js +2 -2
  149. package/src/sap/ui/rta/service/ControllerExtension.js +11 -5
  150. package/src/sap/ui/rta/service/Outline.js +2 -2
  151. package/src/sap/ui/rta/service/Property.js +2 -2
  152. package/src/sap/ui/rta/service/Receiver.js +1 -1
  153. package/src/sap/ui/rta/service/Selection.js +2 -2
  154. package/src/sap/ui/rta/service/SupportTools.js +2 -2
  155. package/src/sap/ui/rta/service/index.js +1 -1
  156. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +5 -0
  157. package/src/sap/ui/rta/themes/base/library.source.less +1 -1
  158. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
  159. package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +6 -0
  160. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +22 -9
  161. package/src/sap/ui/rta/toolbar/Adaptation.js +44 -9
  162. package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
  163. package/src/sap/ui/rta/toolbar/Base.js +2 -2
  164. package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
  165. package/src/sap/ui/rta/toolbar/Fiori.js +19 -10
  166. package/src/sap/ui/rta/toolbar/FioriLike.js +7 -5
  167. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
  168. package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
  169. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +1 -1
  170. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
  171. package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
  172. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
  173. package/src/sap/ui/rta/util/Animation.js +1 -1
  174. package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
  175. package/src/sap/ui/rta/util/PluginManager.js +8 -6
  176. package/src/sap/ui/rta/util/PopupManager.js +2 -2
  177. package/src/sap/ui/rta/util/ReloadManager.js +2 -2
  178. package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
  179. package/src/sap/ui/rta/util/ServiceManager.js +2 -2
  180. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  181. package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
  182. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
  183. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  184. package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
  185. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +4 -4
  186. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
  187. package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +1 -1
  188. package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
  189. package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
  190. package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
  191. package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
  192. package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
  193. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +242 -0
  194. package/src/sap/ui/rta/util/guidedTour/TourMarker.fragment.xml +50 -0
  195. package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +205 -0
  196. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  197. package/src/sap/ui/rta/util/isReuseComponent.js +1 -1
  198. package/src/sap/ui/rta/util/showMessageBox.js +1 -1
  199. package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
  200. package/src/sap/ui/rta/util/validateStableIds.js +1 -1
  201. package/src/sap/ui/rta/util/validateText.js +1 -1
  202. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +8 -4
  203. package/src/sap/ui/rta/util/whatsNew/WhatsNewDialog.fragment.xml +1 -1
  204. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
  205. package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +1 -1
  206. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +85 -1
  207. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ChangeLabelsAction.png +0 -0
  208. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/DisplayBehavior.png +0 -0
  209. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ExtendedActions.png +0 -0
  210. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/GuidedTour.png +0 -0
  211. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ReloadButtonToolbar.png +0 -0
  212. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/RenameDialog.png +0 -0
  213. package/ui5.yaml +1 -1
  214. package/.reuse/dep5 +0 -471
  215. package/src/sap/ui/rta/command/AppDescriptorCommand.js +0 -114
  216. package/src/sap/ui/rta/plugin/RenameHandler.js +0 -477
package/THIRDPARTY.txt CHANGED
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
6
6
 
7
7
  Library: sap.m:
8
8
 
9
- Component: purify.js, version: 3.1.7
9
+ Component: purify.js, version: 3.2.4
10
10
  Copyright: Mario Heiderich
11
11
  License: Apache-2.0
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -26,7 +26,7 @@ Component: Ace (Ajax.org Cloud9 Editor), version: 1.36.5
26
26
  Copyright: 2010, Ajax.org B.V.
27
27
  License: BSD-3-Clause
28
28
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
29
- Contained in: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/*
29
+ Contained in: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/**
30
30
 
31
31
 
32
32
  Library: sap.ui.commons:
@@ -71,7 +71,7 @@ Component: jQuery UI 1.10, version: 1.10.4
71
71
  Copyright: 2014 jQuery Foundation and other contributors
72
72
  License: MIT
73
73
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
74
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/jqueryui/*
74
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/jqueryui/**
75
75
  src/sap.ui.core/src/jquery.sap.dom.js
76
76
 
77
77
  Component: jQuery UI 1.11, version: 1.11.1
@@ -191,13 +191,13 @@ Component: Unicode Common Locale Data Repository, version: 46.1.0
191
191
  Copyright: 1991-2024 Unicode, Inc.
192
192
  License: LicenseRef-Unicode-3.0
193
193
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
194
- Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
194
+ Contained in: src/sap.ui.core/src/sap/ui/core/cldr/**
195
195
 
196
196
  Component: MobiScroll, version: 2.9.0
197
197
  Copyright: 2010-2013, Acid Media
198
198
  License: MIT
199
199
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
200
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/*
200
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/**
201
201
 
202
202
  Component: SinonJS, version: 1.14.1
203
203
  Copyright: 2010-2014, Christian Johansen, christian@cjohansen.no
@@ -310,7 +310,7 @@ Component: Hyphenopoly, version: 3.4.0
310
310
  Copyright: 2021 Mathias Nater
311
311
  License: MIT
312
312
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
313
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
313
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/**
314
314
 
315
315
  Component: p-cancelable, version: 2.0.0
316
316
  Copyright: Sindre Sorhus <sindresorhus@gmail.com>
@@ -349,7 +349,7 @@ Component: highlight.js, version: 11.9.0
349
349
  Copyright: 2006-2020, Ivan Sagalaev
350
350
  License: BSD-3-Clause
351
351
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
352
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
352
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/**
353
353
 
354
354
  Component: Elasticlunr, version: 0.9.5
355
355
  Copyright: 2017 Wei Song and Oliver Nightingale
@@ -361,13 +361,13 @@ Component: DataTables, version: 2.0.1
361
361
  Copyright: SpryMedia Ltd
362
362
  License: MIT
363
363
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
364
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
364
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/**
365
365
 
366
366
  Component: Buttons extension for DataTables, version: 3.0.0
367
367
  Copyright: SpryMedia Ltd
368
368
  License: MIT
369
369
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
370
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
370
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/**
371
371
 
372
372
 
373
373
  Library: sap.ui.integration:
@@ -376,7 +376,7 @@ Component: UI5 Web Components, version: 1.7.0
376
376
  Copyright: SAP
377
377
  License: Apache-2.0
378
378
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
379
- Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
379
+ Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/**
380
380
 
381
381
  Component: Adaptive Cards, version: 2.9.0
382
382
  Copyright: 2017 Microsoft
@@ -416,18 +416,18 @@ Component: UI5 Web Components, version: 1.18.0
416
416
  Copyright: SAP
417
417
  License: Apache-2.0
418
418
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
419
- Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
420
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
421
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
422
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
423
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
424
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
419
+ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/**
420
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/**
421
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/**
422
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/**
423
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/**
424
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/**
425
425
 
426
426
  Component: lit-html, version: 2.2.2
427
427
  Copyright: Google LLC
428
428
  License: BSD-3-Clause
429
429
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
430
- Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/*.*
430
+ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/**
431
431
 
432
432
 
433
433
  Library: sap.ui.webc.fiori:
@@ -436,7 +436,7 @@ Component: UI5 Web Components, version: 1.18.0
436
436
  Copyright: SAP
437
437
  License: Apache-2.0
438
438
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
439
- Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
439
+ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/**
440
440
 
441
441
  Component: ZXing, version: 0.17.1
442
442
  Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
@@ -451,7 +451,7 @@ Component: UI5 Web Components, version: 1.18.0
451
451
  Copyright: SAP
452
452
  License: Apache-2.0
453
453
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
454
- Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
454
+ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/**
455
455
 
456
456
 
457
457
  Outside of Libraries:
@@ -462,14 +462,14 @@ License: Apache-2.0
462
462
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
463
463
  Contained in: lib/jsdoc/ui5/plugin.js
464
464
 
465
- Component: SAP Theming Base Content, version: 11.24.0
465
+ Component: SAP Theming Base Content, version: 11.29.1
466
466
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
467
467
  License: Apache-2.0
468
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
469
469
  Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
470
- src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
471
- src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
472
- src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
470
+ src/themelib_sap_belize/src/sap/ui/core/themes/**/base.less
471
+ src/themelib_sap_fiori_3/src/sap/ui/core/themes/**/base.less
472
+ src/themelib_sap_horizon/src/sap/ui/core/themes/**/base.less
473
473
 
474
474
 
475
475
  ALL LICENSE TEXTS:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.134.0",
3
+ "version": "1.136.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.134.0",
18
- "@openui5/sap.ui.core": "1.134.0",
19
- "@openui5/sap.ui.dt": "1.134.0",
20
- "@openui5/sap.ui.fl": "1.134.0",
21
- "@openui5/sap.ui.layout": "1.134.0"
17
+ "@openui5/sap.m": "1.136.0",
18
+ "@openui5/sap.ui.core": "1.136.0",
19
+ "@openui5/sap.ui.dt": "1.136.0",
20
+ "@openui5/sap.ui.fl": "1.136.0",
21
+ "@openui5/sap.ui.layout": "1.136.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 2009-2025 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.134.0</version>
9
+ <version>1.136.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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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.134.0
62
+ * @version 1.136.0
63
63
  * @private
64
64
  * @ui5-restricted
65
65
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -28,9 +28,11 @@ sap.ui.define([
28
28
  "sap/ui/fl/write/api/FeaturesAPI",
29
29
  "sap/ui/fl/write/api/PersistenceWriteAPI",
30
30
  "sap/ui/fl/write/api/ReloadInfoAPI",
31
- "sap/ui/fl/write/api/VersionsAPI",
32
31
  "sap/ui/fl/write/api/TranslationAPI",
32
+ "sap/ui/fl/write/api/VersionsAPI",
33
33
  "sap/ui/fl/Layer",
34
+ "sap/ui/fl/LayerUtils",
35
+ "sap/ui/fl/requireAsync",
34
36
  "sap/ui/fl/Utils",
35
37
  "sap/ui/model/json/JSONModel",
36
38
  "sap/ui/performance/Measurement",
@@ -42,6 +44,8 @@ sap.ui.define([
42
44
  "sap/ui/rta/toolbar/FioriLike",
43
45
  "sap/ui/rta/toolbar/Standalone",
44
46
  "sap/ui/rta/util/changeVisualization/ChangeVisualization",
47
+ "sap/ui/rta/util/guidedTour/content/GeneralTour",
48
+ "sap/ui/rta/util/guidedTour/GuidedTour",
45
49
  "sap/ui/rta/util/whatsNew/WhatsNew",
46
50
  "sap/ui/rta/util/PluginManager",
47
51
  "sap/ui/rta/util/PopupManager",
@@ -73,9 +77,11 @@ sap.ui.define([
73
77
  FeaturesAPI,
74
78
  PersistenceWriteAPI,
75
79
  ReloadInfoAPI,
76
- VersionsAPI,
77
80
  TranslationAPI,
81
+ VersionsAPI,
78
82
  Layer,
83
+ LayerUtils,
84
+ requireAsync,
79
85
  FlexUtils,
80
86
  JSONModel,
81
87
  Measurement,
@@ -87,6 +93,8 @@ sap.ui.define([
87
93
  FioriLikeToolbar,
88
94
  StandaloneToolbar,
89
95
  ChangeVisualization,
96
+ GeneralTour,
97
+ GuidedTour,
90
98
  WhatsNew,
91
99
  PluginManager,
92
100
  PopupManager,
@@ -109,7 +117,7 @@ sap.ui.define([
109
117
  * @class The runtime authoring allows to adapt the fields of a running application.
110
118
  * @extends sap.ui.base.ManagedObject
111
119
  * @author SAP SE
112
- * @version 1.134.0
120
+ * @version 1.136.0
113
121
  * @constructor
114
122
  * @private
115
123
  * @since 1.30
@@ -256,6 +264,7 @@ sap.ui.define([
256
264
  if (isAvailable && !ReloadManager.getDontShowWhatsNewAfterReload()) {
257
265
  this.addDependent(new WhatsNew({ layer: this.getLayer() }), "whatsNew");
258
266
  }
267
+ this.addDependent(new GuidedTour(), "guidedTour");
259
268
  return Promise.resolve();
260
269
  }.bind(this));
261
270
  }
@@ -464,7 +473,20 @@ sap.ui.define([
464
473
  }
465
474
  setBlockedOnRootElements.call(this, true);
466
475
 
467
- if (this.getWhatsNew) {
476
+ const bGuidedTourAutostart = await shouldAutoStartGuidedTour(this.getRootControlInstance(), this.getLayer());
477
+
478
+ if (bGuidedTourAutostart) {
479
+ const oGuidedTour = this.getGuidedTour();
480
+ oGuidedTour.attachTourClosed(() => {
481
+ if (this.getWhatsNew) {
482
+ // we want to exclude the guided tour feature from the whats new dialog if the tour opens before the dialog
483
+ const aExcludeGuidedTourFeature = ["GuidedTour"];
484
+ this.getWhatsNew().initializeWhatsNewDialog(aExcludeGuidedTourFeature);
485
+ }
486
+ });
487
+ GeneralTour.getTourContent();
488
+ oGuidedTour.autoStart(GeneralTour.getTourContent());
489
+ } else if (this.getWhatsNew) {
468
490
  this.getWhatsNew().initializeWhatsNewDialog();
469
491
  }
470
492
 
@@ -557,7 +579,7 @@ sap.ui.define([
557
579
  *
558
580
  * @public
559
581
  * @param {boolean} bSkipSave - Stop RTA with or w/o saving changes
560
- * @param {boolean} bSkipRestart - Stop RTA with or w/o checking if a reload is needed to apply e.g. personalization/app descriptor changes
582
+ * @param {boolean} bSkipRestart - Stop RTA with or w/o checking if a reload is needed to apply e.g. personalization/manifest changes
561
583
  * @param {boolean} bSkipUnsavedChangesPrompt - Stop RTA without showing the "save changes" prompt to the user (e.g. closing of annotation dialog)
562
584
  * @returns {Promise} Resolves with undefined
563
585
  */
@@ -997,17 +1019,52 @@ sap.ui.define([
997
1019
  const bIsContextBasedAdaptationAvailable = await FeaturesAPI.isContextBasedAdaptationAvailable(sLayer);
998
1020
  const oAppLifeCycleService = await FlexUtils.getUShellService("AppLifeCycle");
999
1021
  const bIsHomePage = oAppLifeCycleService?.getCurrentApplication()?.homePage || false;
1000
- const oManifest = FlexUtils.getAppDescriptor(oRootControl);
1001
- // context based adaptation is not supported for overview pages
1002
- const bIsContextBasedAdaptationSupported = oManifest && !ManifestUtils.getOvpEntry(oManifest);
1003
1022
 
1004
1023
  return {
1005
1024
  publishAvailable: bIsPublishAvailable,
1006
1025
  saveAsAvailable: !bIsHomePage && bIsPublishAvailable && bIsSaveAsAvailable,
1007
- contextBasedAdaptationAvailable: !bIsHomePage && bIsContextBasedAdaptationSupported && bIsContextBasedAdaptationAvailable
1026
+ contextBasedAdaptationAvailable: !bIsHomePage && bIsContextBasedAdaptationAvailable
1008
1027
  };
1009
1028
  }
1010
1029
 
1030
+ /**
1031
+ * Checks if the guided tour should be started automatically.
1032
+ *
1033
+ * @param {sap.ui.core.Control} oRootControl - Root control of the application
1034
+ * @param {string} sLayer - Layer to get the correct connector
1035
+ * @returns {Promise<boolean>} Resolves to a boolean indicating if the guided tour should be started automatically
1036
+ * @ui5-restricted sap.ui.rta
1037
+ */
1038
+ async function shouldAutoStartGuidedTour(oRootControl, sLayer) {
1039
+ const aConnectors = FlexUtils.getConnectors();
1040
+ const aProhibitedConnectors = ["LocalStorageConnector", "SessionStorageConnector"];
1041
+ const bHasConnectors = aConnectors.length > 0;
1042
+ const bHasOnlyAllowedConnectors = bHasConnectors
1043
+ && aConnectors.every((sConnector) => !aProhibitedConnectors.includes(sConnector));
1044
+
1045
+ if (!bHasOnlyAllowedConnectors || LayerUtils.isDeveloperLayer(sLayer)) {
1046
+ return false;
1047
+ }
1048
+
1049
+ // We need this check to differentiate between our test systems and real customer systems.
1050
+ const sUserId = await FlexRuntimeInfoAPI.getUserId();
1051
+ if (sUserId === "DEFAULT_USER" || !sUserId) {
1052
+ return false;
1053
+ }
1054
+
1055
+ const aHasOwnChanges = await PersistenceWriteAPI._getFlexObjectsForUser({
1056
+ selector: oRootControl,
1057
+ layer: sLayer
1058
+ });
1059
+
1060
+ if (!aHasOwnChanges || aHasOwnChanges.length > 0) {
1061
+ return false;
1062
+ }
1063
+
1064
+ const bHasSeenWNFeatures = (await FeaturesAPI.getSeenFeatureIds({ layer: sLayer })).length > 0;
1065
+ return !bHasSeenWNFeatures;
1066
+ }
1067
+
1011
1068
  function showTechnicalError(vError) {
1012
1069
  BusyIndicator.hide();
1013
1070
  const sErrorMessage = vError.userMessage || vError.stack || vError.message || vError.status || vError;
@@ -1055,6 +1112,8 @@ sap.ui.define([
1055
1112
  "/translation/enabled",
1056
1113
  this.bPersistedDataTranslatable || bTranslationRelevantDirtyChange
1057
1114
  );
1115
+ const bChangesNeedHardReload = this._bSavedChangesNeedReload || await this._oSerializer.needsReload();
1116
+ this._oToolbarControlsModel.setProperty("/changesNeedHardReload", bChangesNeedHardReload);
1058
1117
  }
1059
1118
  this.fireUndoRedoStackModified();
1060
1119
  } catch (e) {
@@ -1117,6 +1176,28 @@ sap.ui.define([
1117
1176
  }
1118
1177
  }
1119
1178
 
1179
+ async function saveAndReload() {
1180
+ if (this.canSave()) {
1181
+ const sAction = await Utils.showMessageBox("information", "MSG_SAVE_AND_RELOAD_DIALOG", {
1182
+ actions: [MessageBox.Action.OK, MessageBox.Action.CANCEL],
1183
+ emphasizedAction: MessageBox.Action.OK
1184
+ });
1185
+ if (sAction === MessageBox.Action.CANCEL) {
1186
+ return;
1187
+ }
1188
+ }
1189
+ await this.save();
1190
+ if (this._oVersionsModel.getProperty("/versioningEnabled")) {
1191
+ await VersionsAPI.loadDraftForApplication({
1192
+ control: this.getRootControlInstance(),
1193
+ layer: this.getLayer()
1194
+ });
1195
+ }
1196
+ RuntimeAuthoring.enableRestart(this.getLayer(), this.getRootControlInstance());
1197
+ await this.stop(true, true, true);
1198
+ ReloadManager.reloadPage();
1199
+ }
1200
+
1120
1201
  function saveOnly(oEvent) {
1121
1202
  const fnCallback = oEvent.getParameter("callback") || function() {};
1122
1203
  const bVersionsEnabled = this._oVersionsModel.getProperty("/versioningEnabled");
@@ -1197,6 +1278,10 @@ sap.ui.define([
1197
1278
  title: sVersionTitle,
1198
1279
  displayedVersion: sDisplayedVersion
1199
1280
  });
1281
+ await PersistenceWriteAPI.updateResetAndPublishInfo({
1282
+ selector: oSelector,
1283
+ layer: sLayer
1284
+ });
1200
1285
  showMessageToast.call(this, "MSG_DRAFT_ACTIVATION_SUCCESS");
1201
1286
  this.getPluginManager().getPlugin("toolHooks").setVersionWasActivated(true);
1202
1287
  this.bInitialResetEnabled = true;
@@ -1437,6 +1522,7 @@ sap.ui.define([
1437
1522
  }
1438
1523
 
1439
1524
  const oProperties = {
1525
+ id: "sapUIRta_toolbar",
1440
1526
  rtaInformation: {
1441
1527
  flexSettings: this.getFlexSettings(),
1442
1528
  rootControl: this.getRootControlInstance(),
@@ -1460,12 +1546,18 @@ sap.ui.define([
1460
1546
  ? this.getChangeVisualization().openChangeCategorySelectionPopover.bind(this.getChangeVisualization())
1461
1547
  : function() {};
1462
1548
  oProperties.save = saveOnly.bind(this);
1549
+ oProperties.saveAndReload = saveAndReload.bind(this);
1463
1550
 
1464
1551
  let oToolbar;
1465
- if (Utils.isOriginalFioriToolbarAccessible()) {
1466
- oToolbar = new FioriToolbar(oProperties);
1467
- } else if (Utils.getFiori2Renderer()) {
1468
- oToolbar = new FioriLikeToolbar(oProperties);
1552
+ const bUshellAvailable = !!FlexUtils.getUshellContainer();
1553
+ if (bUshellAvailable) {
1554
+ const oUshellRtaApi = await requireAsync("sap/ushell/api/RTA");
1555
+ oProperties.ushellApi = oUshellRtaApi;
1556
+ if (Utils.isOriginalFioriToolbarAccessible()) {
1557
+ oToolbar = new FioriToolbar(oProperties);
1558
+ } else {
1559
+ oToolbar = new FioriLikeToolbar(oProperties);
1560
+ }
1469
1561
  } else {
1470
1562
  oToolbar = new StandaloneToolbar(oProperties);
1471
1563
  }
@@ -1485,7 +1577,9 @@ sap.ui.define([
1485
1577
  });
1486
1578
  this.bPersistedDataTranslatable = false;
1487
1579
 
1580
+ const bChangesNeedHardReload = this._bSavedChangesNeedReload || await this._oSerializer.needsReload();
1488
1581
  this._oToolbarControlsModel = new JSONModel({
1582
+ changesNeedHardReload: bChangesNeedHardReload,
1489
1583
  modeSwitcher: this.getMode(),
1490
1584
  undo: {
1491
1585
  enabled: false
@@ -1547,11 +1641,12 @@ sap.ui.define([
1547
1641
  this.getToolbar().setModel(this._oToolbarControlsModel, "controls");
1548
1642
 
1549
1643
  if (bTranslationAvailable) {
1550
- const aSourceLanguages = await TranslationAPI.getSourceLanguages(
1644
+ TranslationAPI.getSourceLanguages(
1551
1645
  {selector: this.getRootControlInstance(), layer: this.getLayer()}
1552
- );
1553
- this.bPersistedDataTranslatable = aSourceLanguages.length > 0;
1554
- this._oToolbarControlsModel.setProperty("/translation/enabled", this.bPersistedDataTranslatable);
1646
+ ).then(function(aSourceLanguages) {
1647
+ this.bPersistedDataTranslatable = aSourceLanguages.length > 0;
1648
+ this._oToolbarControlsModel.setProperty("/translation/enabled", this.bPersistedDataTranslatable);
1649
+ }.bind(this));
1555
1650
  }
1556
1651
 
1557
1652
  if (bAppVariantsAvailable) {
@@ -1565,7 +1660,7 @@ sap.ui.define([
1565
1660
 
1566
1661
  /**
1567
1662
  * Delete all changes for current layer and root control's component.
1568
- * In case of Base Applications (no App Variants) the App Descriptor Changes and UI Changes are saved
1663
+ * In case of Base Applications (no App Variants) the manifest Changes and UI Changes are saved
1569
1664
  * in different Flex Persistence instances, the changes for both places will be deleted. For App Variants
1570
1665
  * all the changes are saved in one place.
1571
1666
  *
@@ -1659,7 +1754,16 @@ sap.ui.define([
1659
1754
  */
1660
1755
  function scheduleRenameOnCreatedContainer(vAction, sNewControlID, sNewContainerName) {
1661
1756
  const fnStartEdit = function(oElementOverlay) {
1662
- oElementOverlay.setSelected(true);
1757
+ if (oElementOverlay.getSelectable()) {
1758
+ oElementOverlay.setSelected(true);
1759
+ } else {
1760
+ // TODO todos#7
1761
+ // The async editableByPlugin evaluation has not finished yet
1762
+ // thus the overlay is not selectable yet and setSelected would fail
1763
+ oElementOverlay.attachEventOnce("selectableChange", () => {
1764
+ oElementOverlay.setSelected(true);
1765
+ });
1766
+ }
1663
1767
  this.getPluginManager().getPlugin("rename").startEdit(oElementOverlay);
1664
1768
  }.bind(this);
1665
1769
 
@@ -1700,14 +1804,6 @@ sap.ui.define([
1700
1804
  this._pElementModified = this._pElementModified.then(function() {
1701
1805
  this.getPluginManager().handleStopCutPaste();
1702
1806
 
1703
- // Executed annotation commands will stop RTA and trigger a save + reload in RTA mode
1704
- if (oEvent.getParameter("hasAnnotationCommand")) {
1705
- this._pElementModified = Promise.resolve();
1706
- RuntimeAuthoring.enableRestart(this.getLayer(), this.getRootControlInstance());
1707
- return this.getCommandStack().pushAndExecute(oCommand)
1708
- .then(this.stop.bind(this, false, false, /* bSkipUnsavedChangesPrompt = */true));
1709
- }
1710
-
1711
1807
  if (oCommand instanceof BaseCommand) {
1712
1808
  if (sNewControlID) {
1713
1809
  scheduleOnCreated.call(this, sNewControlID, function(oElementOverlay) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  *
47
47
  * @namespace
48
48
  * @author SAP SE
49
- * @version 1.134.0
49
+ * @version 1.136.0
50
50
  *
51
51
  * @private
52
52
  * @since 1.30
@@ -539,5 +539,22 @@ sap.ui.define([
539
539
  });
540
540
  };
541
541
 
542
+ /**
543
+ * Checks if a DOM element is visible in the UI.
544
+ *
545
+ * The function determines visibility based on the computed styles of the element
546
+ * (`display` and `visibility`) and its dimensions (`offsetWidth` and `offsetHeight`).
547
+ *
548
+ * @param {HTMLElement} oDomRef - The DOM reference of the element to check.
549
+ * @returns {boolean} Returns `true` if the element is visible, otherwise `false`.
550
+ */
551
+ Utils.isElementVisible = function(oDomRef) {
552
+ if (!oDomRef) {
553
+ return false;
554
+ }
555
+
556
+ return !!(oDomRef.offsetWidth || oDomRef.offsetHeight || oDomRef.getClientRects().length);
557
+ };
558
+
542
559
  return Utils;
543
560
  }, /* bExport= */true);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6