@openui5/sap.ui.fl 1.141.2 → 1.143.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 (211) hide show
  1. package/.eslintrc.json +3 -2
  2. package/README.md +2 -2
  3. package/REUSE.toml +39 -1
  4. package/THIRDPARTY.txt +36 -3
  5. package/package.json +3 -3
  6. package/src/sap/ui/fl/.library +1 -1
  7. package/src/sap/ui/fl/FakeLrepConnector.js +3 -3
  8. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +1 -1
  9. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +1 -1
  10. package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
  11. package/src/sap/ui/fl/LayerUtils.js +1 -1
  12. package/src/sap/ui/fl/Utils.js +1 -2
  13. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
  14. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -0
  15. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +16 -10
  16. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
  17. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +1 -1
  18. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +31 -22
  19. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RawApplier.js +48 -0
  20. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
  21. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -1
  22. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +1 -1
  23. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource.js +10 -2
  24. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +9 -2
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound.js +9 -2
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes.js +1 -1
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeOutbound.js +1 -1
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +1 -1
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetAch.js +1 -1
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetDescription.js +1 -1
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetInbounds.js +73 -0
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetCloudDevAdaptationStatus.js +1 -1
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
  44. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
  45. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/ChangeModel.js +1 -1
  46. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
  47. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
  48. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +1 -1
  49. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +21 -10
  50. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +14 -0
  51. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
  52. package/src/sap/ui/fl/apply/_internal/extensionPoint/Registry.js +2 -2
  53. package/src/sap/ui/fl/apply/_internal/flexObjects/AnnotationChange.js +1 -2
  54. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -1
  55. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +1 -2
  56. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
  57. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
  58. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -2
  59. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +1 -2
  60. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +13 -4
  61. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +2 -2
  62. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +1 -2
  63. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +1 -2
  64. package/src/sap/ui/fl/apply/_internal/flexObjects/VariantChange.js +1 -2
  65. package/src/sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange.js +1 -2
  66. package/src/sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor.js +1 -1
  67. package/src/sap/ui/fl/apply/_internal/flexState/DataSelector.js +0 -1
  68. package/src/sap/ui/fl/apply/_internal/flexState/FlexObjectState.js +4 -4
  69. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +28 -27
  70. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
  71. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +1 -1
  72. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +3 -3
  73. package/src/sap/ui/fl/apply/_internal/flexState/changes/UIChangesState.js +4 -4
  74. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantManagementState.js +3 -3
  75. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +3 -3
  76. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +8 -7
  77. package/src/sap/ui/fl/apply/_internal/init.js +1 -1
  78. package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +196 -100
  79. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +11 -14
  80. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +1 -1
  81. package/src/sap/ui/fl/changeHandler/AddIFrame.js +1 -1
  82. package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
  83. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +1 -1
  84. package/src/sap/ui/fl/changeHandler/Base.js +2 -2
  85. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +1 -1
  86. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +2 -2
  87. package/src/sap/ui/fl/changeHandler/BaseRename.js +1 -1
  88. package/src/sap/ui/fl/changeHandler/ChangeAnnotation.js +1 -1
  89. package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
  90. package/src/sap/ui/fl/changeHandler/MoveControls.js +1 -1
  91. package/src/sap/ui/fl/changeHandler/MoveElements.js +1 -1
  92. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +1 -1
  93. package/src/sap/ui/fl/changeHandler/PropertyChange.js +1 -1
  94. package/src/sap/ui/fl/changeHandler/StashControl.js +1 -1
  95. package/src/sap/ui/fl/changeHandler/UnhideControl.js +1 -1
  96. package/src/sap/ui/fl/changeHandler/UnstashControl.js +1 -1
  97. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +1 -1
  98. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChange.js +14 -13
  99. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
  100. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
  101. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
  102. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +1 -1
  103. package/src/sap/ui/fl/initial/_internal/FlexConfiguration.js +1 -1
  104. package/src/sap/ui/fl/initial/_internal/Loader.js +62 -29
  105. package/src/sap/ui/fl/initial/_internal/ManifestUtils.js +1 -1
  106. package/src/sap/ui/fl/initial/_internal/Settings.js +99 -2
  107. package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
  108. package/src/sap/ui/fl/initial/_internal/StorageFeaturesMerger.js +1 -1
  109. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +2 -2
  110. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +1 -1
  111. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
  112. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +3 -3
  113. package/src/sap/ui/fl/initial/_internal/connectors/BtpServiceConnector.js +1 -1
  114. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +2 -2
  115. package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +1 -1
  116. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +7 -2
  117. package/src/sap/ui/fl/initial/_internal/preprocessors/ControllerExtension.js +19 -5
  118. package/src/sap/ui/fl/initial/_internal/preprocessors/RegistrationDelegator.js +2 -4
  119. package/src/sap/ui/fl/initial/_internal/preprocessors/XmlPreprocessor.js +1 -1
  120. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +1 -1
  121. package/src/sap/ui/fl/initial/api/InitialFlexAPI.js +1 -1
  122. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +1 -1
  123. package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
  124. package/src/sap/ui/fl/library.js +46 -43
  125. package/src/sap/ui/fl/library.support.js +1 -1
  126. package/src/sap/ui/fl/messagebundle.properties +0 -21
  127. package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +0 -14
  128. package/src/sap/ui/fl/support/_internal/getAllUIChanges.js +7 -13
  129. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +7 -13
  130. package/src/sap/ui/fl/support/_internal/getFlexObjectInfos.js +7 -13
  131. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +7 -12
  132. package/src/sap/ui/fl/support/api/SupportAPI.js +72 -21
  133. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +5 -5
  134. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +5 -5
  135. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +3 -3
  136. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +2 -2
  137. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +1 -1
  138. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
  139. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
  140. package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +29 -0
  141. package/src/sap/ui/fl/support/diagnostics/Flexibility.view.xml +29 -0
  142. package/src/sap/ui/fl/support/diagnostics/FlexibilityDataExtractor.js +110 -0
  143. package/src/sap/ui/fl/support/diagnostics/FlexibilityPlugin.js +153 -0
  144. package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
  145. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +53 -13
  146. package/src/sap/ui/fl/util/IFrame.js +26 -65
  147. package/src/sap/ui/fl/util/IFrameRenderer.js +15 -9
  148. package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -2
  149. package/src/sap/ui/fl/variants/VariantManagement.js +18 -7
  150. package/src/sap/ui/fl/variants/VariantManager.js +132 -59
  151. package/src/sap/ui/fl/variants/VariantModel.js +57 -155
  152. package/src/sap/ui/fl/variants/context/Component.js +1 -1
  153. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +4 -4
  154. package/src/sap/ui/fl/write/_internal/SaveAs.js +5 -3
  155. package/src/sap/ui/fl/write/_internal/Storage.js +1 -1
  156. package/src/sap/ui/fl/write/_internal/Versions.js +2 -2
  157. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +1 -2
  158. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
  159. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +1 -2
  160. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
  161. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +1 -1
  162. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
  163. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
  164. package/src/sap/ui/fl/write/_internal/connectors/BtpServiceConnector.js +2 -2
  165. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +4 -4
  166. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +11 -11
  167. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
  168. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
  169. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
  170. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +2 -2
  171. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
  172. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
  173. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -2
  174. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
  175. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
  176. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
  177. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +1 -1
  178. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
  179. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +1 -1
  180. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectManager.js +11 -10
  181. package/src/sap/ui/fl/write/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
  182. package/src/sap/ui/fl/write/_internal/flexState/changes/UIChangeManager.js +2 -2
  183. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantManager.js +2 -2
  184. package/src/sap/ui/fl/write/_internal/init.js +1 -1
  185. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +6 -6
  186. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +2 -2
  187. package/src/sap/ui/fl/write/_internal/transport/Transports.js +5 -5
  188. package/src/sap/ui/fl/write/api/BusinessNetworkAPI.js +2 -2
  189. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
  190. package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +4 -4
  191. package/src/sap/ui/fl/write/api/ContextSharingAPI.js +3 -3
  192. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +8 -8
  193. package/src/sap/ui/fl/write/api/FeaturesAPI.js +1 -1
  194. package/src/sap/ui/fl/write/api/FieldExtensibility.js +8 -27
  195. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +6 -6
  196. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +1 -1
  197. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -1
  198. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +72 -30
  199. package/src/sap/ui/fl/apply/_internal/changes/descriptor/InlineApplier.js +0 -47
  200. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +0 -96
  201. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +0 -129
  202. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.fragment.xml +0 -34
  203. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +0 -193
  204. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +0 -246
  205. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.fragment.xml +0 -6
  206. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +0 -40
  207. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.fragment.xml +0 -22
  208. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +0 -85
  209. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.fragment.xml +0 -10
  210. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +0 -60
  211. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +0 -20
package/.eslintrc.json CHANGED
@@ -56,7 +56,7 @@
56
56
  "prefer-template": "error",
57
57
  "rest-spread-spacing": ["error", "never"],
58
58
  "template-curly-spacing": "error",
59
- "object-shorthand": ["error", "always", { "ignoreConstructors": false, "avoidQuotes": true }],
59
+ "object-shorthand": ["error", "always", { "ignoreConstructors": true, "avoidQuotes": true, "methodsIgnorePattern": "^constructor$" }],
60
60
  "prefer-destructuring": ["error", {
61
61
  "VariableDeclarator": {
62
62
  "array": false,
@@ -73,6 +73,7 @@
73
73
  "prefer-rest-params": "error",
74
74
  "prefer-spread": "error",
75
75
  "logical-assignment-operators":["error", "always", { "enforceForIfStatements": true } ],
76
- "require-await": "error"
76
+ "require-await": "error",
77
+ "object-curly-spacing": ["error", "always"]
77
78
  }
78
79
  }
package/README.md CHANGED
@@ -4,13 +4,13 @@
4
4
  Runtime resources of the [OpenUI5](https://github.com/UI5/openui5) UI Library **sap.ui.fl**.
5
5
 
6
6
  ## Usage
7
- Add this library as a dependency to your UI5 project by using [UI5 Tooling](https://sap.github.io/ui5-tooling/):
7
+ Add this library as a dependency to your UI5 project by using [UI5 CLI](https://ui5.github.io/cli/):
8
8
 
9
9
  ```
10
10
  ui5 add sap.ui.fl
11
11
  ```
12
12
 
13
- For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://sap.github.io/ui5-tooling/pages/OpenUI5/).
13
+ For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://ui5.github.io/cli/pages/OpenUI5/).
14
14
 
15
15
  ## License
16
16
  OpenUI5 is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), see [LICENSE.txt](LICENSE.txt).
package/REUSE.toml CHANGED
@@ -21,6 +21,44 @@ SPDX-License-Identifier = "Apache-2.0"
21
21
  #
22
22
 
23
23
 
24
+ # Library: sap.f:
25
+
26
+ [[annotations]]
27
+ path = "src/sap.f/src/sap/f/thirdparty/**"
28
+ precedence = "aggregate"
29
+ SPDX-FileCopyrightText = "SAP"
30
+ SPDX-License-Identifier = "Apache-2.0"
31
+ SPDX-FileComment = "these files belong to: UI5 Web Components"
32
+
33
+ [[annotations]]
34
+ path = "src/sap.f/src/sap/f/thirdparty/**"
35
+ precedence = "aggregate"
36
+ SPDX-FileCopyrightText = "SAP"
37
+ SPDX-License-Identifier = "Apache-2.0"
38
+ SPDX-FileComment = "these files belong to: UI5 Web Components Fiori"
39
+
40
+ [[annotations]]
41
+ path = "src/sap.f/src/sap/f/thirdparty/**"
42
+ precedence = "aggregate"
43
+ SPDX-FileCopyrightText = "SAP"
44
+ SPDX-License-Identifier = "Apache-2.0"
45
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons"
46
+
47
+ [[annotations]]
48
+ path = "src/sap.f/src/sap/f/thirdparty/**"
49
+ precedence = "aggregate"
50
+ SPDX-FileCopyrightText = "SAP"
51
+ SPDX-License-Identifier = "Apache-2.0"
52
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons Business Suite"
53
+
54
+ [[annotations]]
55
+ path = "src/sap.f/src/sap/f/thirdparty/**"
56
+ precedence = "aggregate"
57
+ SPDX-FileCopyrightText = "SAP"
58
+ SPDX-License-Identifier = "Apache-2.0"
59
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons TNT"
60
+
61
+
24
62
  # Library: sap.m:
25
63
 
26
64
  [[annotations]]
@@ -347,7 +385,7 @@ SPDX-FileComment = "these files belong to: handlebars"
347
385
  [[annotations]]
348
386
  path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
349
387
  precedence = "aggregate"
350
- SPDX-FileCopyrightText = "2010-2012, The Dojo Foundation"
388
+ SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
351
389
  SPDX-License-Identifier = "MIT"
352
390
  SPDX-FileComment = "these files belong to: requireJS"
353
391
 
package/THIRDPARTY.txt CHANGED
@@ -4,6 +4,39 @@ each subcomponent.
4
4
  The full text of all referenced licenses is appended at the end of this file.
5
5
 
6
6
 
7
+ Library: sap.f:
8
+
9
+ Component: UI5 Web Components, version: 2.15.0
10
+ Copyright: SAP
11
+ License: Apache-2.0
12
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
13
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
14
+
15
+ Component: UI5 Web Components Fiori, version: 2.15.0
16
+ Copyright: SAP
17
+ License: Apache-2.0
18
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
19
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
20
+
21
+ Component: UI5 Web Components Icons, version: 2.15.0
22
+ Copyright: SAP
23
+ License: Apache-2.0
24
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
25
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
26
+
27
+ Component: UI5 Web Components Icons Business Suite, version: 2.15.0
28
+ Copyright: SAP
29
+ License: Apache-2.0
30
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
31
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
32
+
33
+ Component: UI5 Web Components Icons TNT, version: 2.15.0
34
+ Copyright: SAP
35
+ License: Apache-2.0
36
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
37
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
38
+
39
+
7
40
  Library: sap.m:
8
41
 
9
42
  Component: purify.js, version: 3.2.4
@@ -221,8 +254,8 @@ License: MIT
221
254
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
222
255
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
223
256
 
224
- Component: requireJS, version: 2.1.8
225
- Copyright: 2010-2012, The Dojo Foundation
257
+ Component: requireJS, version: 2.3.7
258
+ Copyright: 2010-2024, jQuery Foundation and other contributors
226
259
  License: MIT
227
260
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
228
261
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
@@ -354,7 +387,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
354
387
 
355
388
  Library: sap.ui.integration:
356
389
 
357
- Component: UI5 Web Components, version: 1.7.0
390
+ Component: UI5 Web Components, version: 2.15.0
358
391
  Copyright: SAP
359
392
  License: Apache-2.0
360
393
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.fl",
3
- "version": "1.141.2",
3
+ "version": "1.143.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.fl",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/UI5/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.141.2",
18
- "@openui5/sap.ui.core": "1.141.2"
17
+ "@openui5/sap.m": "1.143.0",
18
+ "@openui5/sap.ui.core": "1.143.0"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
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.141.2</version>
9
+ <version>1.143.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with sap.ui.fl controls.</documentation>
12
12
 
@@ -47,9 +47,9 @@ sap.ui.define([
47
47
  var aConnectorConfig = [];
48
48
  if (sInitialComponentJsonPath) {
49
49
  ObjectPathConnector.setJsonPath(sInitialComponentJsonPath);
50
- aConnectorConfig.push({connector: "ObjectPathConnector"});
50
+ aConnectorConfig.push({ connector: "ObjectPathConnector" });
51
51
  }
52
- aConnectorConfig.push({connector: sStorageConnectorName});
52
+ aConnectorConfig.push({ connector: sStorageConnectorName });
53
53
  FlexConfiguration.setFlexibilityServices(aConnectorConfig);
54
54
  FlexState.clearState();
55
55
  };
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
 
71
71
  FakeLrepConnector.forTesting = {
72
72
  getNumberOfChanges(oConnector, sReference) {
73
- return oConnector.loadFlexData({reference: sReference})
73
+ return oConnector.loadFlexData({ reference: sReference })
74
74
  .then(function(aResponses) {
75
75
  return aResponses.reduce(function(iNumberOfChanges, oResponse) {
76
76
  return iNumberOfChanges + oResponse.changes.length;
@@ -20,7 +20,7 @@ function(
20
20
  * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.141.2
23
+ * @version 1.143.0
24
24
  *
25
25
  * @private
26
26
  * @since 1.48
@@ -20,7 +20,7 @@ function(
20
20
  * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.141.2
23
+ * @version 1.143.0
24
24
  *
25
25
  * @private
26
26
  * @since 1.58
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @namespace
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.141.2
20
+ * @version 1.143.0
21
21
  *
22
22
  * @private
23
23
  * @since 1.48
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  *
42
42
  * @namespace sap.ui.fl.LayerUtils
43
43
  * @author SAP SE
44
- * @version 1.141.2
44
+ * @version 1.143.0
45
45
  */
46
46
  var LayerUtils = {
47
47
  _mLayersIndex: mLayersIndex,
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @namespace
68
68
  * @alias sap.ui.fl.Utils
69
69
  * @author SAP SE
70
- * @version 1.141.2
70
+ * @version 1.143.0
71
71
  *
72
72
  * @private
73
73
  * @ui5-restricted sap.ui.fl, sap.ui.rta
@@ -535,7 +535,6 @@ sap.ui.define([
535
535
  * @private
536
536
  * @ui5-restricted
537
537
  */
538
- // eslint-disable-next-line object-shorthand
539
538
  FakePromise: function(vInitialValue, vError, sInitialPromiseIdentifier) {
540
539
  Utils.FakePromise.fakePromiseIdentifier = "sap.ui.fl.Utils.FakePromise";
541
540
  this.vValue = vInitialValue;
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @private
24
24
  * @author SAP SE
25
- * @version 1.141.2
25
+ * @version 1.143.0
26
26
  *
27
27
  */
28
28
  const DelegateMediator = {};
@@ -17,6 +17,7 @@ sap.ui.define([
17
17
  "appdescr_ovp_changeCard",
18
18
  "appdescr_app_addNewInbound",
19
19
  "appdescr_app_changeInbound",
20
+ "appdescr_app_setInbounds",
20
21
  "appdescr_app_removeInbound",
21
22
  "appdescr_app_removeAllInboundsExceptOne",
22
23
  "appdescr_app_addNewOutbound",
@@ -138,14 +138,14 @@ sap.ui.define([
138
138
  // as it's only relevant for viewCache at the moment
139
139
  await FlexCustomData.addAppliedCustomData(mControl.control, oChange, mPropertyBag, isXmlModifier(mPropertyBag));
140
140
  // if a change was reverted previously remove the flag as it is not reverted anymore
141
- const oResult = {success: true};
141
+ const oResult = { success: true };
142
142
  oChange.markSuccessful(oResult);
143
143
  return oResult;
144
144
  }
145
145
 
146
146
  async function handleAfterApplyError(oError, oChange, mControl, mPropertyBag) {
147
147
  const bXmlModifier = isXmlModifier(mPropertyBag);
148
- const oResult = {success: false, error: oError};
148
+ const oResult = { success: false, error: oError };
149
149
 
150
150
  const sChangeId = oChange.getId();
151
151
  const sLogMessage = "Change ''{0}'' could not be applied.";
@@ -316,12 +316,18 @@ sap.ui.define([
316
316
  Applier.applyChangeOnControl = async function(oChange, oControl, mPropertyBag) {
317
317
  const mControl = Utils.getControlIfTemplateAffected(oChange, oControl, mPropertyBag);
318
318
  try {
319
- const oChangeHandler = mPropertyBag.changeHandler || await Utils.getChangeHandler({
320
- flexObject: oChange,
321
- control: mControl.control,
322
- controlType: mControl.controlType,
323
- modifier: mPropertyBag.modifier
324
- });
319
+ let oChangeHandler;
320
+ try {
321
+ oChangeHandler = mPropertyBag.changeHandler || await Utils.getChangeHandler({
322
+ flexObject: oChange,
323
+ control: mControl.control,
324
+ controlType: mControl.controlType,
325
+ modifier: mPropertyBag.modifier
326
+ });
327
+ } catch (oError) {
328
+ // important this resolves 'waitForChanges' in error case
329
+ return handleAfterApplyError(oError, oChange, mControl, mPropertyBag);
330
+ }
325
331
  checkPreconditions(oChange, mPropertyBag);
326
332
 
327
333
  if (oChange.hasApplyProcessStarted()) {
@@ -341,7 +347,7 @@ sap.ui.define([
341
347
  }
342
348
 
343
349
  // make sure that everything that goes with finishing the apply process is done, even though the change was already applied
344
- const oResult = {success: true};
350
+ const oResult = { success: true };
345
351
  oChange.markSuccessful(oResult);
346
352
  return oResult;
347
353
  } catch (oError) {
@@ -376,7 +382,7 @@ sap.ui.define([
376
382
  try {
377
383
  oResult = await Applier.applyChangeOnControl(oChange, oControl, mPropertyBag);
378
384
  } catch (oError) {
379
- oResult = {success: false};
385
+ oResult = { success: false };
380
386
  }
381
387
  if (oResult.success && !mPropertyBag.skipSetQueued) {
382
388
  DependencyHandler.addRuntimeChangeToMap(oChange, mPropertyBag.appComponent, oLiveDependencyMap);
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @since 1.61.0
30
30
  * @private
31
31
  * @author SAP SE
32
- * @version 1.141.2
32
+ * @version 1.143.0
33
33
  */
34
34
  const FlexCustomData = {};
35
35
 
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  *
35
35
  * @namespace sap.ui.fl.apply._internal.changes.Utils
36
36
  * @since 1.70
37
- * @version 1.141.2
37
+ * @version 1.143.0
38
38
  * @private
39
39
  * @ui5-restricted sap.ui.fl.apply._internal, sap.ui.fl.write._internal
40
40
  */
@@ -6,11 +6,19 @@
6
6
  */
7
7
 
8
8
  sap.ui.define([
9
- "sap/base/util/isEmptyObject",
10
- "sap/ui/fl/apply/_internal/changes/Utils"
9
+ "sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory",
10
+ "sap/ui/fl/apply/_internal/changes/descriptor/RawApplier",
11
+ "sap/ui/fl/apply/_internal/changes/Utils",
12
+ "sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory",
13
+ "sap/ui/fl/apply/_internal/flexState/FlexState",
14
+ "sap/ui/fl/initial/_internal/ManifestUtils"
11
15
  ], function(
12
- isEmptyObject,
13
- Utils
16
+ ApplyStrategyFactory,
17
+ RawApplier,
18
+ Utils,
19
+ FlexObjectFactory,
20
+ FlexState,
21
+ ManifestUtils
14
22
  ) {
15
23
  "use strict";
16
24
 
@@ -19,33 +27,34 @@ sap.ui.define([
19
27
  * Applies all descriptor changes to raw manifest.
20
28
  *
21
29
  * @param {object} oUpdatedManifest - Raw manifest provided by sap.ui.core.Component
22
- * @param {Array<sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange>} aAppDescriptorChanges - Array of descriptor changes
23
- * @param {object} mStrategy - Strategy for runtime or for buildtime merging
24
- * @param {object} mStrategy.registry - Change handler registry
25
- * @param {function} mStrategy.handleError - Error handling strategy
26
- * @param {function} mStrategy.processTexts - Text postprocessing strategy
30
+ * @param {Array<sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange>} [aPassedAppDescriptorChanges] - Array of descriptor changes
31
+ * @param {object} [mStrategy] - Strategy for runtime or for buildtime merging
32
+ * @param {object} [mStrategy.registry] - Change handler registry
33
+ * @param {function} [mStrategy.handleError] - Error handling strategy
34
+ * @param {function} [mStrategy.processTexts] - Text postprocessing strategy
27
35
  * @returns {Promise<object>} - Processed manifest with descriptor changes
28
36
  */
29
- async applyChanges(oUpdatedManifest, aAppDescriptorChanges, mStrategy) {
37
+ async applyChanges(oUpdatedManifest, aPassedAppDescriptorChanges, mStrategy) {
38
+ const sReference = ManifestUtils.getFlexReference({
39
+ manifest: oUpdatedManifest
40
+ });
41
+ const aAppDescriptorChanges = aPassedAppDescriptorChanges || FlexState.getAppDescriptorChanges(sReference);
42
+ const oStrategy = mStrategy || ApplyStrategyFactory.getRuntimeStrategy();
30
43
  const aChangeHandlers = [];
31
44
  for (const oAppDescriptorChange of aAppDescriptorChanges) {
32
45
  aChangeHandlers.push(await Utils.getChangeHandler({
33
46
  flexObject: oAppDescriptorChange,
34
- strategy: mStrategy
47
+ strategy: oStrategy
35
48
  }));
36
49
  }
37
- aChangeHandlers.forEach(function(oChangeHandler, iIndex) {
38
- try {
39
- const oChange = aAppDescriptorChanges[iIndex];
40
- oUpdatedManifest = oChangeHandler.applyChange(oUpdatedManifest, oChange);
41
- if (!oChangeHandler.skipPostprocessing && !isEmptyObject(oChange.getTexts())) {
42
- oUpdatedManifest = mStrategy.processTexts(oUpdatedManifest, oChange.getTexts());
43
- }
44
- } catch (oError) {
45
- mStrategy.handleError(oError);
46
- }
50
+ return RawApplier.applyChanges(aChangeHandlers, oUpdatedManifest, aAppDescriptorChanges, oStrategy);
51
+ },
52
+
53
+ applyInlineChanges(oManifest, aAppDescriptorChangesRaw) {
54
+ const aAppDescriptorChanges = aAppDescriptorChangesRaw.map(function(oChange) {
55
+ return FlexObjectFactory.createAppDescriptorChange(oChange);
47
56
  });
48
- return oUpdatedManifest;
57
+ return Applier.applyChanges(oManifest, aAppDescriptorChanges);
49
58
  }
50
59
  };
51
60
 
@@ -0,0 +1,48 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ "sap/base/util/isEmptyObject"
9
+ ], function(
10
+ isEmptyObject
11
+ ) {
12
+ "use strict";
13
+
14
+ const RawApplier = {
15
+ /**
16
+ * Applies all app descriptor changes to the provided raw manifest without validating the input parameters.
17
+ * Assumes that the change handlers and changes are already available and correct. Intended to be used
18
+ * internally but also inside adaptation builder avoiding unnecessary module dependencies.
19
+ *
20
+ * @param {Array<object>} aChangeHandlers - Array of change handler objects, each responsible for applying a change
21
+ * @param {object} oUpdatedManifest - The raw manifest object to which changes will be applied
22
+ * @param {Array<sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange>} aAppDescriptorChanges - Array of app descriptor change objects to apply
23
+ * @param {object} oStrategy - Strategy object containing helper functions for error handling and text processing
24
+ * @param {function} oStrategy.handleError - Function to handle errors during change application
25
+ * @param {function} oStrategy.processTexts - Function to process and merge texts after applying a change
26
+ * @returns {object} The manifest object after all changes have been applied
27
+ *
28
+ * @private
29
+ * @ui5-restricted sap.ui.fl UI5-Adaptation-builder
30
+ */
31
+ applyChanges(aChangeHandlers, oUpdatedManifest, aAppDescriptorChanges, oStrategy) {
32
+ aChangeHandlers.forEach(function(oChangeHandler, iIndex) {
33
+ try {
34
+ const oChange = aAppDescriptorChanges[iIndex];
35
+ oUpdatedManifest = oChangeHandler.applyChange(oUpdatedManifest, oChange);
36
+ if (!oChangeHandler.skipPostprocessing && !isEmptyObject(oChange.getTexts())) {
37
+ oUpdatedManifest = oStrategy.processTexts(oUpdatedManifest, oChange.getTexts());
38
+ }
39
+ } catch (oError) {
40
+ oStrategy.handleError(oError);
41
+ }
42
+ });
43
+ return oUpdatedManifest;
44
+ }
45
+ };
46
+
47
+ return RawApplier;
48
+ });
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  *
18
18
  * @namespace sap.ui.fl.apply._internal.changes.descriptor.Registration
19
19
  * @since 1.74
20
- * @version 1.141.2
20
+ * @version 1.143.0
21
21
  * @private
22
22
  * @ui5-restricted sap.ui.fl.apply._internal
23
23
  */
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @namespace sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild
22
22
  * @since 1.77
23
- * @version 1.141.2
23
+ * @version 1.143.0
24
24
  * @private
25
25
  * @ui5-restricted sap.ui.fl.apply._internal
26
26
  */
@@ -39,6 +39,7 @@ sap.ui.define([
39
39
  appdescr_app_changeOutbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeOutbound"),
40
40
  appdescr_app_addNewInbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound"),
41
41
  appdescr_app_addNewOutbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound"),
42
+ appdescr_app_setInbounds: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/SetInbounds"),
42
43
  appdescr_app_addNewDataSource: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource"),
43
44
  appdescr_app_setAch: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/SetAch"),
44
45
  appdescr_app_addTechnicalAttributes: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes"),
@@ -135,7 +135,7 @@ sap.ui.define([
135
135
  * @namespace
136
136
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddAnnotationsToOData
137
137
  * @since 1.87
138
- * @version 1.141.2
138
+ * @version 1.143.0
139
139
  * @private
140
140
  * @ui5-restricted sap.ui.fl.apply._internal
141
141
  */
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @namespace
112
112
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddNewDataSource
113
113
  * @since 1.87
114
- * @version 1.141.2
114
+ * @version 1.143.0
115
115
  * @private
116
116
  * @ui5-restricted sap.ui.fl.apply._internal
117
117
  */
@@ -133,7 +133,15 @@ sap.ui.define([
133
133
  oManifest["sap.app"].dataSources ||= {};
134
134
  const oChangeContent = oChange.getContent();
135
135
 
136
- const aDataSources = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, "dataSource", oChange.getChangeType(), MANDATORY_PROPERTIES, SUPPORTED_PROPERTIES, PROPERTIES_PATTERNS, SUPPORTED_TYPES);
136
+ const aDataSources = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, {
137
+ sKey: "dataSource",
138
+ sChangeType: oChange.getChangeType(),
139
+ iMaxNumberOfKeys: 2,
140
+ aMandatoryProperties: MANDATORY_PROPERTIES,
141
+ aSupportedProperties: SUPPORTED_PROPERTIES,
142
+ oSupportedPropertyPattern: PROPERTIES_PATTERNS,
143
+ oSupportedPropertyTypes: SUPPORTED_TYPES
144
+ });
137
145
 
138
146
  aDataSources.forEach(function(sDataSource) {
139
147
  DescriptorChangeCheck.checkIdNamespaceCompliance(sDataSource, oChange);
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  *
29
29
  * @namespace
30
30
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddNewInbound
31
- * @version 1.141.2
31
+ * @version 1.143.0
32
32
  * @private
33
33
  * @ui5-restricted sap.ui.fl.apply._internal
34
34
  */
@@ -51,7 +51,14 @@ sap.ui.define([
51
51
  oManifest["sap.app"].crossNavigation.inbounds ||= {};
52
52
 
53
53
  const oChangeContent = oChange.getContent();
54
- const sInboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, "inbound", oChange.getChangeType(), MANDATORY_PROPERTIES, SUPPORTED_PROPERTIES, PROPERTIES_PATTERNS);
54
+ const sInboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, {
55
+ sKey: "inbound",
56
+ sChangeType: oChange.getChangeType(),
57
+ iMaxNumberOfKeys: 1,
58
+ aMandatoryProperties: MANDATORY_PROPERTIES,
59
+ aSupportedProperties: SUPPORTED_PROPERTIES,
60
+ oSupportedPropertyPattern: PROPERTIES_PATTERNS
61
+ });
55
62
  const oInboundInManifest = oManifest["sap.app"].crossNavigation.inbounds[sInboundId];
56
63
  if (!oInboundInManifest) {
57
64
  DescriptorChangeCheck.checkIdNamespaceCompliance(sInboundId, oChange);
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  *
29
29
  * @namespace
30
30
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddNewOutbound
31
- * @version 1.141.2
31
+ * @version 1.143.0
32
32
  * @private
33
33
  * @ui5-restricted sap.ui.fl.apply._internal
34
34
  */
@@ -51,7 +51,14 @@ sap.ui.define([
51
51
  oManifest["sap.app"].crossNavigation.outbounds ||= {};
52
52
 
53
53
  const oChangeContent = oChange.getContent();
54
- const sOutboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, "outbound", oChange.getChangeType(), MANDATORY_PROPERTIES, SUPPORTED_PROPERTIES, PROPERTIES_PATTERNS);
54
+ const sOutboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, {
55
+ sKey: "outbound",
56
+ sChangeType: oChange.getChangeType(),
57
+ iMaxNumberOfKeys: 1,
58
+ aMandatoryProperties: MANDATORY_PROPERTIES,
59
+ aSupportedProperties: SUPPORTED_PROPERTIES,
60
+ oSupportedPropertyPattern: PROPERTIES_PATTERNS
61
+ });
55
62
  const oOutboundInManifest = oManifest["sap.app"].crossNavigation.outbounds[sOutboundId];
56
63
  if (!oOutboundInManifest) {
57
64
  DescriptorChangeCheck.checkIdNamespaceCompliance(sOutboundId, oChange);
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @namespace
24
24
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddTechnicalAttributes
25
- * @version 1.141.2
25
+ * @version 1.143.0
26
26
  * @private
27
27
  * @ui5-restricted sap.ui.fl.apply._internal
28
28
  */
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  *
31
31
  * @namespace
32
32
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.ChangeDataSource
33
- * @version 1.141.2
33
+ * @version 1.143.0
34
34
  * @private
35
35
  * @ui5-restricted sap.ui.fl.apply._internal
36
36
  */
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  *
34
34
  * @namespace
35
35
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.ChangeInbound
36
- * @version 1.141.2
36
+ * @version 1.143.0
37
37
  * @private
38
38
  * @ui5-restricted sap.ui.fl.apply._internal
39
39
  */
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  *
35
35
  * @namespace
36
36
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.ChangeOutbound
37
- * @version 1.141.2
37
+ * @version 1.143.0
38
38
  * @private
39
39
  * @ui5-restricted sap.ui.fl.apply._internal
40
40
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  *
45
45
  * @namespace
46
46
  * @alias sap.ui.fl.apply._internal.changes.descriptor.app.RemoveAllInboundsExceptOne
47
- * @version 1.141.2
47
+ * @version 1.143.0
48
48
  * @private
49
49
  * @ui5-restricted sap.ui.fl.apply._internal
50
50
  */