@openui5/sap.ui.rta 1.120.38 → 1.120.40

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 (135) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +2 -2
  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 +2 -2
  7. package/src/sap/ui/rta/Utils.js +2 -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 +2 -2
  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 +1 -1
  15. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
  16. package/src/sap/ui/rta/appVariant/Utils.js +1 -1
  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 +1 -1
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
  20. package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
  21. package/src/sap/ui/rta/command/AddIFrame.js +2 -2
  22. package/src/sap/ui/rta/command/AddProperty.js +2 -2
  23. package/src/sap/ui/rta/command/AddXML.js +2 -2
  24. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
  25. package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
  26. package/src/sap/ui/rta/command/BaseCommand.js +2 -2
  27. package/src/sap/ui/rta/command/BindProperty.js +2 -2
  28. package/src/sap/ui/rta/command/Combine.js +2 -2
  29. package/src/sap/ui/rta/command/CommandFactory.js +2 -2
  30. package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
  31. package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
  32. package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
  33. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
  34. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
  35. package/src/sap/ui/rta/command/ControlVariantSwitch.js +2 -2
  36. package/src/sap/ui/rta/command/CreateContainer.js +2 -2
  37. package/src/sap/ui/rta/command/CustomAdd.js +2 -2
  38. package/src/sap/ui/rta/command/FlexCommand.js +2 -2
  39. package/src/sap/ui/rta/command/LREPSerializer.js +2 -2
  40. package/src/sap/ui/rta/command/LocalReset.js +2 -2
  41. package/src/sap/ui/rta/command/Move.js +2 -2
  42. package/src/sap/ui/rta/command/Property.js +2 -2
  43. package/src/sap/ui/rta/command/Remove.js +2 -2
  44. package/src/sap/ui/rta/command/Rename.js +2 -2
  45. package/src/sap/ui/rta/command/Resize.js +2 -2
  46. package/src/sap/ui/rta/command/Reveal.js +2 -2
  47. package/src/sap/ui/rta/command/Settings.js +2 -2
  48. package/src/sap/ui/rta/command/Split.js +2 -2
  49. package/src/sap/ui/rta/command/Stack.js +2 -2
  50. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +2 -2
  51. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
  52. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
  53. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
  54. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
  55. package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
  56. package/src/sap/ui/rta/enablement/elementActionTest.js +2 -2
  57. package/src/sap/ui/rta/library.js +3 -3
  58. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
  59. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  60. package/src/sap/ui/rta/plugin/Combine.js +2 -2
  61. package/src/sap/ui/rta/plugin/CompVariant.js +1 -1
  62. package/src/sap/ui/rta/plugin/ControlVariant.js +2 -2
  63. package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
  64. package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
  65. package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
  66. package/src/sap/ui/rta/plugin/EasyAdd.js +2 -2
  67. package/src/sap/ui/rta/plugin/EasyRemove.js +2 -2
  68. package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
  69. package/src/sap/ui/rta/plugin/Plugin.js +2 -2
  70. package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
  71. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  72. package/src/sap/ui/rta/plugin/Rename.js +2 -2
  73. package/src/sap/ui/rta/plugin/RenameHandler.js +2 -2
  74. package/src/sap/ui/rta/plugin/Resize.js +2 -2
  75. package/src/sap/ui/rta/plugin/Selection.js +2 -2
  76. package/src/sap/ui/rta/plugin/Settings.js +2 -2
  77. package/src/sap/ui/rta/plugin/Split.js +2 -2
  78. package/src/sap/ui/rta/plugin/Stretch.js +2 -2
  79. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -2
  80. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +2 -2
  81. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +13 -9
  82. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
  83. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
  84. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
  85. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
  86. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
  87. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -1
  88. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  89. package/src/sap/ui/rta/service/Action.js +2 -2
  90. package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
  91. package/src/sap/ui/rta/service/Outline.js +2 -2
  92. package/src/sap/ui/rta/service/Property.js +2 -2
  93. package/src/sap/ui/rta/service/Receiver.js +1 -1
  94. package/src/sap/ui/rta/service/Selection.js +2 -2
  95. package/src/sap/ui/rta/service/SupportTools.js +2 -2
  96. package/src/sap/ui/rta/service/index.js +1 -1
  97. package/src/sap/ui/rta/themes/base/library.source.less +1 -1
  98. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
  99. package/src/sap/ui/rta/toolbar/Adaptation.js +2 -2
  100. package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
  101. package/src/sap/ui/rta/toolbar/Base.js +2 -2
  102. package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
  103. package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
  104. package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
  105. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
  106. package/src/sap/ui/rta/toolbar/Personalization.js +2 -2
  107. package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
  108. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +1 -1
  109. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
  110. package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
  111. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
  112. package/src/sap/ui/rta/util/Animation.js +1 -1
  113. package/src/sap/ui/rta/util/BindingsExtractor.js +25 -10
  114. package/src/sap/ui/rta/util/PluginManager.js +2 -2
  115. package/src/sap/ui/rta/util/PopupManager.js +2 -2
  116. package/src/sap/ui/rta/util/ReloadManager.js +2 -2
  117. package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
  118. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  119. package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
  120. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
  121. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  122. package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
  123. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -2
  124. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
  125. package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +1 -1
  126. package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
  127. package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
  128. package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
  129. package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
  130. package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
  131. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  132. package/src/sap/ui/rta/util/showMessageBox.js +1 -1
  133. package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
  134. package/src/sap/ui/rta/util/validateStableIds.js +1 -1
  135. package/src/sap/ui/rta/util/validateText.js +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -388,18 +388,20 @@ sap.ui.define([
388
388
  return !bHasAddViaDelegate;
389
389
  }
390
390
 
391
- function _enhanceByMetadata(oElement, sAggregationName, oInvisibleElement, mActions, aRepresentedProperties, aProperties) {
392
- var mAddViaDelegate = mActions.addViaDelegate;
393
- var sModelName = _getModelName(mAddViaDelegate);
394
- var oModel = oElement.getModel(sModelName);
395
- var bIncludeElement = true;
396
- var aBindingPaths = [];
391
+ function _enhanceByMetadata(oElement, sAggregationName, mInvisibleElement, mActions, aRepresentedProperties, aProperties) {
392
+ const mAddViaDelegate = mActions.addViaDelegate;
393
+ const sModelName = _getModelName(mAddViaDelegate);
394
+ const oModel = oElement.getModel(sModelName);
395
+ let bIncludeElement = true;
396
+ let aBindingPaths = [];
397
+ const oInvisibleElement = mInvisibleElement.element;
398
+ const iDepth = mInvisibleElement.action.depthOfRelevantBindings;
397
399
 
398
400
  if (aRepresentedProperties) {
399
401
  aBindingPaths = _getRepresentedBindingPathsOfInvisibleElement(oInvisibleElement, aRepresentedProperties);
400
402
  // BCP: 1880498671
401
403
  } else if (_getBindingContextPath(oElement, sAggregationName, sModelName) === _getBindingContextPath(oInvisibleElement, sAggregationName, sModelName)) {
402
- aBindingPaths = BindingsExtractor.collectBindingPaths(oInvisibleElement, oModel).bindingPaths;
404
+ aBindingPaths = BindingsExtractor.collectBindingPaths(oInvisibleElement, oModel, null, iDepth).bindingPaths;
403
405
  } else if (mAddViaDelegate && BindingsExtractor.getBindings({
404
406
  element: oInvisibleElement,
405
407
  model: oModel
@@ -453,7 +455,9 @@ sap.ui.define([
453
455
 
454
456
  oInvisibleElement.__label = ElementUtil.getLabelForElement(oInvisibleElement, mRevealAction.getLabel);
455
457
 
456
- var bIncludeElement = _enhanceByMetadata(oElement, sAggregationName, oInvisibleElement, mActions, aRepresentedProperties, aProperties);
458
+ var bIncludeElement = _enhanceByMetadata(
459
+ oElement, sAggregationName, mInvisibleElement, mActions, aRepresentedProperties, aProperties
460
+ );
457
461
 
458
462
  if (bIncludeElement) {
459
463
  aAllElementData.push({
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
  * @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
78
78
  * @extends sap.ui.rta.plugin.Plugin
79
79
  * @author SAP SE
80
- * @version 1.120.38
80
+ * @version 1.120.40
81
81
  * @constructor
82
82
  * @private
83
83
  * @since 1.44
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * Helper object containing methods for the AdditionalElements plugin
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.120.38
20
+ * @version 1.120.40
21
21
  * @private
22
22
  * @since 1.94
23
23
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * Helper object to build the RTA commands resulting from the AdditionalElements Plugin
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.120.38
28
+ * @version 1.120.40
29
29
  * @private
30
30
  * @since 1.94
31
31
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -120,7 +120,7 @@ sap.ui.define([
120
120
  * @class The AddIFrame allows trigger AddIFrame operations on the overlay.
121
121
  * @extends sap.ui.rta.plugin.BaseCreate
122
122
  * @author SAP SE
123
- * @version 1.120.38
123
+ * @version 1.120.40
124
124
  * @constructor
125
125
  * @private
126
126
  * @since 1.75
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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([
@@ -160,7 +160,7 @@ sap.ui.define([
160
160
  * @class Context - Dialog for IFrame settings in Runtime Authoring
161
161
  * @extends sap.ui.base.ManagedObject
162
162
  * @author SAP SE
163
- * @version 1.120.38
163
+ * @version 1.120.40
164
164
  * @constructor
165
165
  * @private
166
166
  * @since 1.78
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @name sap.ui.rta.service.Action
25
25
  * @author SAP SE
26
26
  * @since 1.58
27
- * @version 1.120.38
27
+ * @version 1.120.40
28
28
  * @private
29
29
  * @ui5-restricted
30
30
  *
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @name sap.ui.rta.service.ControllerExtension
33
33
  * @author SAP SE
34
34
  * @since 1.58
35
- * @version 1.120.38
35
+ * @version 1.120.40
36
36
  * @private
37
37
  * @ui5-restricted
38
38
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @name sap.ui.rta.service.Outline
44
44
  * @author SAP SE
45
45
  * @since 1.56
46
- * @version 1.120.38
46
+ * @version 1.120.40
47
47
  * @private
48
48
  * @ui5-restricted
49
49
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @name sap.ui.rta.service.Property
28
28
  * @author SAP SE
29
29
  * @since 1.58
30
- * @version 1.120.38
30
+ * @version 1.120.40
31
31
  * @private
32
32
  * @ui5-restricted
33
33
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -14,7 +14,7 @@ sap.ui.define(function() {
14
14
  * @name sap.ui.rta.service.Selection
15
15
  * @author SAP SE
16
16
  * @since 1.58
17
- * @version 1.120.38
17
+ * @version 1.120.40
18
18
  * @private
19
19
  * @ui5-restricted
20
20
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @name sap.ui.rta.service.SupportTools
29
29
  * @author SAP SE
30
30
  * @since 1.106
31
- * @version 1.120.38
31
+ * @version 1.120.40
32
32
  * @private
33
33
  * @ui5-restricted
34
34
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.ui.rta.toolbar.Base
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.120.38
60
+ * @version 1.120.40
61
61
  *
62
62
  * @constructor
63
63
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.HBox
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.120.38
36
+ * @version 1.120.40
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.rta.toolbar.Adaptation
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.120.38
35
+ * @version 1.120.40
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.120.38
23
+ * @version 1.120.40
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.OverflowToolbarButton
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.38
26
+ * @version 1.120.40
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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,7 +22,7 @@ function(
22
22
  * @extends sap.ui.rta.toolbar.Base
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.120.38
25
+ * @version 1.120.40
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.120.38
23
+ * @version 1.120.40
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.120.38
48
+ * @version 1.120.40
49
49
  *
50
50
  * @constructor
51
51
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @class
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.120.38
56
+ * @version 1.120.40
57
57
  *
58
58
  * @constructor
59
59
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @class
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.120.38
39
+ * @version 1.120.40
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -28,11 +28,12 @@ function(
28
28
  * @param {sap.ui.core.Control} oElement - Starting point of the search
29
29
  * @param {sap.ui.model.Model} oModel - Model for filtering irrelevant binding paths
30
30
  * @param {sap.ui.core.Control} [oRelevantContainerElement] - if this element is given then only bindings from element related to the relevant container are considered
31
+ * @param {number} iDepth - If provided only bindings from children up to the given depth are considered
31
32
  * @returns {{bindingPaths: Array, bindingContextPaths: Array}} - returns with all relevant bindingPaths and all bindingContextPaths for all properties of the element
32
33
  *
33
34
  * @private
34
35
  */
35
- BindingsExtractor.collectBindingPaths = function(oElement, oModel, oRelevantContainerElement) {
36
+ BindingsExtractor.collectBindingPaths = function(oElement, oModel, oRelevantContainerElement, iDepth) {
36
37
  var mBindingsCollection = {
37
38
  bindingPaths: [],
38
39
  bindingContextPaths: []
@@ -43,7 +44,8 @@ function(
43
44
  element: oElement,
44
45
  model: oModel,
45
46
  relevantContainerElement: oRelevantContainerElement,
46
- parent: oParent
47
+ parent: oParent,
48
+ depth: iDepth
47
49
  });
48
50
 
49
51
  if (oParent) {
@@ -60,13 +62,16 @@ function(
60
62
 
61
63
  if (oTemplateDefaultAggregation) {
62
64
  var sTemplateDefaultAggregationName = oTemplateDefaultAggregation.name;
63
- var oTemplateElement = ElementUtil.getAggregation(oTemplate, sTemplateDefaultAggregationName)[iPositionOfInvisibleElement];
65
+ var oTemplateElement = ElementUtil.getAggregation(
66
+ oTemplate, sTemplateDefaultAggregationName
67
+ )[iPositionOfInvisibleElement];
64
68
  aBindings = aBindings.concat(BindingsExtractor.getBindings({
65
69
  model: oModel,
66
70
  element: oTemplateElement,
67
71
  template: true,
68
72
  relevantContainerElement: oRelevantContainerElement,
69
- parent: oParent
73
+ parent: oParent,
74
+ depth: iDepth
70
75
  }));
71
76
  }
72
77
  }
@@ -137,15 +142,24 @@ function(
137
142
  }
138
143
  var aAggregationNames = sAggregationName ? [sAggregationName] : Object.keys(oElement.getMetadata().getAllAggregations());
139
144
 
140
- aAggregationNames.forEach(function(sAggregationNameInLoop) {
141
- aBindings = aBindings.concat(getBindingsForAggregation(oElement, oModel, mPropertyBag.template, sAggregationNameInLoop, oRelevantContainerElement));
142
- });
145
+ if (!Number.isInteger(mPropertyBag.depth) || mPropertyBag.depth > 0) {
146
+ aAggregationNames.forEach(function(sAggregationNameInLoop) {
147
+ aBindings = aBindings.concat(getBindingsForAggregation(
148
+ oElement,
149
+ oModel,
150
+ mPropertyBag.template,
151
+ sAggregationNameInLoop,
152
+ oRelevantContainerElement,
153
+ mPropertyBag.depth && mPropertyBag.depth - 1
154
+ ));
155
+ });
156
+ }
143
157
 
144
158
  // Remove duplicates
145
159
  return _uniqWith(aBindings, deepEqual);
146
160
  };
147
161
 
148
- function getBindingsForAggregation(oElement, oModel, bTemplate, sAggregationName, oRelevantContainerElement) {
162
+ function getBindingsForAggregation(oElement, oModel, bTemplate, sAggregationName, oRelevantContainerElement, iDepth) {
149
163
  var aBindings = [];
150
164
  var aElements = [];
151
165
  var oTemplate;
@@ -185,7 +199,8 @@ function(
185
199
  model: oModel,
186
200
  template: bIsInTemplate,
187
201
  relevantContainerElement: oRelevantContainerElement,
188
- parent: oElement
202
+ parent: oElement,
203
+ depth: iDepth
189
204
  })
190
205
  );
191
206
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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([
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * Constructor for a new sap.ui.rta.util.PluginManager
69
69
  * @extends sap.ui.base.ManagedObject
70
70
  * @author SAP SE
71
- * @version 1.120.38
71
+ * @version 1.120.40
72
72
  * @constructor
73
73
  * @private
74
74
  * @since 1.86
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * Constructor for a new sap.ui.rta.util.PopupManager
43
43
  * @extends sap.ui.base.ManagedObject
44
44
  * @author SAP SE
45
- * @version 1.120.38
45
+ * @version 1.120.40
46
46
  * @constructor
47
47
  * @private
48
48
  * @since 1.48
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @namespace sap.ui.rta.util.ReloadManager
31
31
  * @alias sap.ui.rta.util.ReloadManager
32
32
  * @since 1.104
33
- * @version 1.120.38
33
+ * @version 1.120.40
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */