@openui5/sap.ui.fl 1.131.1 → 1.132.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 (316) hide show
  1. package/.eslintrc.json +1 -2
  2. package/THIRDPARTY.txt +1 -1
  3. package/package.json +3 -3
  4. package/src/sap/ui/fl/.library +2 -2
  5. package/src/sap/ui/fl/ChangePersistence.js +11 -5
  6. package/src/sap/ui/fl/ChangePersistenceFactory.js +2 -2
  7. package/src/sap/ui/fl/FakeLrepConnector.js +1 -1
  8. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +2 -2
  9. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +2 -2
  10. package/src/sap/ui/fl/FakeLrepLocalStorage.js +2 -2
  11. package/src/sap/ui/fl/FlexController.js +3 -2
  12. package/src/sap/ui/fl/FlexControllerFactory.js +2 -2
  13. package/src/sap/ui/fl/Layer.js +1 -1
  14. package/src/sap/ui/fl/LayerUtils.js +2 -2
  15. package/src/sap/ui/fl/Scenario.js +1 -1
  16. package/src/sap/ui/fl/Utils.js +2 -2
  17. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +2 -2
  18. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
  19. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +13 -3
  20. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +2 -2
  21. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +7 -2
  22. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +49 -23
  23. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +20 -21
  24. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +1 -1
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -1
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +2 -2
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +2 -2
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -2
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +2 -2
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource.js +4 -4
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +2 -2
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound.js +2 -2
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes.js +3 -3
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -2
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +2 -2
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeOutbound.js +2 -2
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +2 -2
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetAch.js +2 -2
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetDescription.js +2 -2
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +16 -4
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +2 -2
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetCloudDevAdaptationStatus.js +2 -2
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +2 -2
  44. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +2 -2
  45. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +2 -2
  46. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +2 -2
  47. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +2 -2
  48. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +2 -2
  49. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +2 -2
  50. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
  51. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/ChangeModel.js +2 -2
  52. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +2 -2
  53. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
  54. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +1 -1
  55. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +2 -2
  56. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +1 -1
  57. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +1 -1
  58. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
  59. package/src/sap/ui/fl/apply/_internal/extensionPoint/Registry.js +2 -2
  60. package/src/sap/ui/fl/apply/_internal/flexObjects/AnnotationChange.js +17 -10
  61. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +16 -2
  62. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +2 -2
  63. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
  64. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +2 -2
  65. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +2 -2
  66. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +21 -2
  67. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +19 -3
  68. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +1 -1
  69. package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
  70. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +21 -2
  71. package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +5 -1
  72. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +7 -2
  73. package/src/sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor.js +2 -2
  74. package/src/sap/ui/fl/apply/_internal/flexState/DataSelector.js +1 -1
  75. package/src/sap/ui/fl/apply/_internal/flexState/FlexObjectState.js +10 -4
  76. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +14 -8
  77. package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +1 -1
  78. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +21 -16
  79. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +2 -2
  80. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  81. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +2 -2
  82. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +2 -2
  83. package/src/sap/ui/fl/apply/_internal/flexState/changes/UIChangesState.js +2 -2
  84. package/src/sap/ui/fl/apply/_internal/flexState/communication/FLPAboutInfo.js +140 -0
  85. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantManagementState.js +2 -2
  86. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +3 -3
  87. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +1 -1
  88. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +1 -1
  89. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +2 -2
  90. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +2 -2
  91. package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +60 -1
  92. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +2 -2
  93. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +20 -3
  94. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +2 -2
  95. package/src/sap/ui/fl/apply/api/AnnotationChangeHandlerAPI.js +11 -9
  96. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +1 -1
  97. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +1 -1
  98. package/src/sap/ui/fl/apply/api/ExtensionPointRegistryAPI.js +1 -1
  99. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +23 -1
  100. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +1 -1
  101. package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +1 -1
  102. package/src/sap/ui/fl/changeHandler/AddIFrame.js +2 -2
  103. package/src/sap/ui/fl/changeHandler/AddXML.js +2 -2
  104. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +2 -2
  105. package/src/sap/ui/fl/changeHandler/Base.js +2 -2
  106. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +2 -2
  107. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +2 -2
  108. package/src/sap/ui/fl/changeHandler/BaseRename.js +2 -2
  109. package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
  110. package/src/sap/ui/fl/changeHandler/ChangeAnnotation.js +78 -0
  111. package/src/sap/ui/fl/changeHandler/HideControl.js +2 -2
  112. package/src/sap/ui/fl/changeHandler/MoveControls.js +2 -2
  113. package/src/sap/ui/fl/changeHandler/MoveElements.js +2 -2
  114. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +2 -2
  115. package/src/sap/ui/fl/changeHandler/PropertyChange.js +2 -2
  116. package/src/sap/ui/fl/changeHandler/StashControl.js +2 -2
  117. package/src/sap/ui/fl/changeHandler/UnhideControl.js +2 -2
  118. package/src/sap/ui/fl/changeHandler/UnstashControl.js +2 -2
  119. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +2 -2
  120. package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +1 -1
  121. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +1 -1
  122. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +1 -1
  123. package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +1 -1
  124. package/src/sap/ui/fl/changeHandler/condenser/Classification.js +1 -1
  125. package/src/sap/ui/fl/descriptorRelated/Utils.js +1 -1
  126. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +9 -7
  127. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +2 -2
  128. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +2 -2
  129. package/src/sap/ui/fl/designtime/library.designtime.js +1 -1
  130. package/src/sap/ui/fl/designtime/messagebundle_en_US_saptrc.properties +1 -1
  131. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +1 -1
  132. package/src/sap/ui/fl/designtime/util/editIFrame.js +1 -1
  133. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +1 -1
  134. package/src/sap/ui/fl/initial/_internal/FlexConfiguration.js +2 -2
  135. package/src/sap/ui/fl/initial/_internal/FlexInfoSession.js +1 -1
  136. package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
  137. package/src/sap/ui/fl/initial/_internal/StorageFeaturesMerger.js +2 -2
  138. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +1 -1
  139. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +7 -4
  140. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +8 -7
  141. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +14 -11
  142. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +1 -1
  143. package/src/sap/ui/fl/initial/_internal/connectors/BtpServiceConnector.js +15 -1
  144. package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
  145. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +1 -1
  146. package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +1 -1
  147. package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +1 -1
  148. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +1 -1
  149. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +2 -2
  150. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +2 -2
  151. package/src/sap/ui/fl/initial/api/InitialFlexAPI.js +57 -0
  152. package/src/sap/ui/fl/initial/api/Version.js +1 -1
  153. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
  154. package/src/sap/ui/fl/interfaces/Delegate.js +2 -2
  155. package/src/sap/ui/fl/library.js +44 -44
  156. package/src/sap/ui/fl/library.support.js +3 -3
  157. package/src/sap/ui/fl/messagebundle.properties +4 -1
  158. package/src/sap/ui/fl/messagebundle_ar.properties +2 -0
  159. package/src/sap/ui/fl/messagebundle_bg.properties +2 -0
  160. package/src/sap/ui/fl/messagebundle_ca.properties +2 -0
  161. package/src/sap/ui/fl/messagebundle_cnr.properties +2 -0
  162. package/src/sap/ui/fl/messagebundle_cs.properties +2 -0
  163. package/src/sap/ui/fl/messagebundle_cy.properties +2 -0
  164. package/src/sap/ui/fl/messagebundle_da.properties +2 -0
  165. package/src/sap/ui/fl/messagebundle_de.properties +2 -0
  166. package/src/sap/ui/fl/messagebundle_el.properties +2 -0
  167. package/src/sap/ui/fl/messagebundle_en.properties +2 -0
  168. package/src/sap/ui/fl/messagebundle_en_GB.properties +2 -0
  169. package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +2 -0
  170. package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +45 -45
  171. package/src/sap/ui/fl/messagebundle_es.properties +2 -0
  172. package/src/sap/ui/fl/messagebundle_es_MX.properties +2 -0
  173. package/src/sap/ui/fl/messagebundle_et.properties +2 -0
  174. package/src/sap/ui/fl/messagebundle_fi.properties +2 -0
  175. package/src/sap/ui/fl/messagebundle_fr.properties +2 -0
  176. package/src/sap/ui/fl/messagebundle_fr_CA.properties +2 -0
  177. package/src/sap/ui/fl/messagebundle_hi.properties +2 -0
  178. package/src/sap/ui/fl/messagebundle_hr.properties +2 -0
  179. package/src/sap/ui/fl/messagebundle_hu.properties +2 -0
  180. package/src/sap/ui/fl/messagebundle_id.properties +2 -0
  181. package/src/sap/ui/fl/messagebundle_it.properties +2 -0
  182. package/src/sap/ui/fl/messagebundle_iw.properties +2 -0
  183. package/src/sap/ui/fl/messagebundle_ja.properties +2 -0
  184. package/src/sap/ui/fl/messagebundle_kk.properties +2 -0
  185. package/src/sap/ui/fl/messagebundle_ko.properties +2 -0
  186. package/src/sap/ui/fl/messagebundle_lt.properties +2 -0
  187. package/src/sap/ui/fl/messagebundle_lv.properties +2 -0
  188. package/src/sap/ui/fl/messagebundle_mk.properties +2 -0
  189. package/src/sap/ui/fl/messagebundle_ms.properties +2 -0
  190. package/src/sap/ui/fl/messagebundle_nl.properties +2 -0
  191. package/src/sap/ui/fl/messagebundle_no.properties +2 -0
  192. package/src/sap/ui/fl/messagebundle_pl.properties +2 -0
  193. package/src/sap/ui/fl/messagebundle_pt.properties +2 -0
  194. package/src/sap/ui/fl/messagebundle_pt_PT.properties +2 -0
  195. package/src/sap/ui/fl/messagebundle_ro.properties +2 -0
  196. package/src/sap/ui/fl/messagebundle_ru.properties +2 -0
  197. package/src/sap/ui/fl/messagebundle_sh.properties +2 -0
  198. package/src/sap/ui/fl/messagebundle_sk.properties +2 -0
  199. package/src/sap/ui/fl/messagebundle_sl.properties +2 -0
  200. package/src/sap/ui/fl/messagebundle_sr.properties +2 -0
  201. package/src/sap/ui/fl/messagebundle_sv.properties +2 -0
  202. package/src/sap/ui/fl/messagebundle_th.properties +2 -0
  203. package/src/sap/ui/fl/messagebundle_tr.properties +2 -0
  204. package/src/sap/ui/fl/messagebundle_uk.properties +2 -0
  205. package/src/sap/ui/fl/messagebundle_vi.properties +2 -0
  206. package/src/sap/ui/fl/messagebundle_zh_CN.properties +2 -0
  207. package/src/sap/ui/fl/messagebundle_zh_TW.properties +2 -0
  208. package/src/sap/ui/fl/registry/Settings.js +1 -1
  209. package/src/sap/ui/fl/requireAsync.js +1 -1
  210. package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +1 -1
  211. package/src/sap/ui/fl/support/_internal/getAllUIChanges.js +2 -2
  212. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +2 -2
  213. package/src/sap/ui/fl/support/_internal/getFlexObjectInfos.js +2 -2
  214. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +2 -2
  215. package/src/sap/ui/fl/support/api/SupportAPI.js +2 -2
  216. package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +1 -1
  217. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +2 -2
  218. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +2 -2
  219. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +2 -2
  220. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +2 -2
  221. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +2 -2
  222. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +2 -2
  223. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +2 -2
  224. package/src/sap/ui/fl/themes/base/library.source.less +1 -1
  225. package/src/sap/ui/fl/themes/sap_hcb/library.source.less +1 -1
  226. package/src/sap/ui/fl/transport/TransportDialog.js +1 -1
  227. package/src/sap/ui/fl/transport/TransportSelection.js +2 -2
  228. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +3 -3
  229. package/src/sap/ui/fl/util/IFrame.flexibility.js +1 -1
  230. package/src/sap/ui/fl/util/IFrame.js +2 -2
  231. package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
  232. package/src/sap/ui/fl/util/ManagedObjectModel.js +3 -3
  233. package/src/sap/ui/fl/util/changePropertyValueByPath.js +1 -1
  234. package/src/sap/ui/fl/util/getContainerUserInfo.js +1 -1
  235. package/src/sap/ui/fl/util/resolveBinding.js +2 -2
  236. package/src/sap/ui/fl/variants/VariantManagement.js +1 -1
  237. package/src/sap/ui/fl/variants/VariantManager.js +604 -0
  238. package/src/sap/ui/fl/variants/VariantModel.js +27 -557
  239. package/src/sap/ui/fl/variants/context/Component.js +1 -1
  240. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +1 -1
  241. package/src/sap/ui/fl/variants/context/i18n/i18n_en_US_saptrc.properties +12 -12
  242. package/src/sap/ui/fl/write/_internal/SaveAs.js +1 -1
  243. package/src/sap/ui/fl/write/_internal/Storage.js +8 -3
  244. package/src/sap/ui/fl/write/_internal/Versions.js +2 -2
  245. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +2 -2
  246. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +2 -2
  247. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
  248. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +9 -3
  249. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +69 -48
  250. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +2 -2
  251. package/src/sap/ui/fl/write/_internal/condenser/Utils.js +1 -1
  252. package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
  253. package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
  254. package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +1 -1
  255. package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
  256. package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +1 -1
  257. package/src/sap/ui/fl/write/_internal/condenser/classifications/Update.js +1 -1
  258. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +2 -2
  259. package/src/sap/ui/fl/write/_internal/connectors/BtpServiceConnector.js +32 -2
  260. package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +1 -1
  261. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -2
  262. package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +1 -1
  263. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +2 -2
  264. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +2 -2
  265. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +2 -2
  266. package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +1 -1
  267. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
  268. package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +1 -1
  269. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +2 -2
  270. package/src/sap/ui/fl/write/_internal/controlVariants/ControlVariantWriteUtils.js +1 -1
  271. package/src/sap/ui/fl/write/_internal/delegates/ODataV2ReadDelegate.js +1 -1
  272. package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +1 -1
  273. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
  274. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +2 -2
  275. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +2 -2
  276. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +2 -2
  277. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
  278. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +2 -2
  279. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
  280. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +2 -2
  281. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +2 -2
  282. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +2 -2
  283. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +2 -2
  284. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +1 -1
  285. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  286. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +2 -2
  287. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +2 -2
  288. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +1 -1
  289. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectManager.js +2 -2
  290. package/src/sap/ui/fl/write/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  291. package/src/sap/ui/fl/write/_internal/flexState/changes/UIChangeManager.js +2 -2
  292. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +9 -12
  293. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +1 -1
  294. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +2 -2
  295. package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -2
  296. package/src/sap/ui/fl/write/api/Adaptations.js +1 -1
  297. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +1 -1
  298. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +33 -10
  299. package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +40 -27
  300. package/src/sap/ui/fl/write/api/ContextSharingAPI.js +1 -1
  301. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +14 -2
  302. package/src/sap/ui/fl/write/api/FeaturesAPI.js +1 -1
  303. package/src/sap/ui/fl/write/api/FieldExtensibility.js +2 -2
  304. package/src/sap/ui/fl/write/api/LocalResetAPI.js +1 -1
  305. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +43 -5
  306. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +1 -1
  307. package/src/sap/ui/fl/write/api/SACIntegrationUpdateVariant.js +1 -1
  308. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +1 -1
  309. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -1
  310. package/src/sap/ui/fl/write/api/TranslationAPI.js +1 -1
  311. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
  312. package/src/sap/ui/fl/write/api/VersionsAPI.js +1 -1
  313. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
  314. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +1 -1
  315. package/src/sap/ui/fl/write/connectors/BaseConnector.js +1 -1
  316. package/ui5.yaml +2 -1
@@ -0,0 +1,140 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-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/ui/core/Lib",
9
+ "sap/ui/fl/apply/_internal/flexState/FlexState",
10
+ "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
11
+ "sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
12
+ "sap/ui/fl/Utils"
13
+ ], function(
14
+ Lib,
15
+ FlexState,
16
+ ManifestUtils,
17
+ FlexRuntimeInfoAPI,
18
+ FlexUtils
19
+ ) {
20
+ "use strict";
21
+
22
+ let FLPAboutInfo = {};
23
+
24
+ function setAppInfoCustomProperties(oAppLifeCycleService, sLabel, sValue, sApplicationInfoAttributeReference) {
25
+ const oAppInfo = {
26
+ info: {
27
+ customProperties: {
28
+ [sApplicationInfoAttributeReference]: {
29
+ label: sLabel,
30
+ value: sValue,
31
+ showInAbout: true
32
+ }
33
+ }
34
+ }
35
+ };
36
+ oAppLifeCycleService.setAppInfo(oAppInfo);
37
+ }
38
+
39
+ function isUI5Application(oCurrentApplication) {
40
+ if (oCurrentApplication.homePage || oCurrentApplication.applicationType !== "UI5") {
41
+ return false;
42
+ }
43
+ return true;
44
+ }
45
+
46
+ async function setFlexAdaptationInfoInAppInfo(oAppLifeCycleService, oCurrentApplication) {
47
+ if (isUI5Application(oCurrentApplication)) {
48
+ const oCurrentApplicationComponent = oCurrentApplication.componentInstance;
49
+ const sReference = ManifestUtils.getFlexReference({
50
+ componentData: oCurrentApplicationComponent.getComponentData(),
51
+ manifest: oCurrentApplicationComponent.getManifest()
52
+ });
53
+ const mPropertyBag = {
54
+ reference: sReference,
55
+ componentId: oCurrentApplicationComponent.getId(),
56
+ manifest: oCurrentApplicationComponent.getManifestObject(),
57
+ componentData: oCurrentApplicationComponent.getComponentData(),
58
+ asyncHints: oCurrentApplicationComponent._componentConfig.asyncHints
59
+ };
60
+ await FlexState.initialize(mPropertyBag);
61
+ const sAdaptationId = FlexRuntimeInfoAPI.getContextBasedAdaptationId(mPropertyBag);
62
+ /**
63
+ * In case the adaptationId is "DEFAULT", which is the case, if
64
+ * 1. no context based adaptation has been created yet or
65
+ * 2. the end user contexts do not meet any of the contexts in the created context-based adaptations
66
+ * we must not show any ui5.flex.adaptation information in the about dialog.
67
+ */
68
+ if (sAdaptationId === "DEFAULT") {
69
+ return;
70
+ }
71
+ const sAdaptationTitle = FlexRuntimeInfoAPI.getContextBasedAdaptationTitle(mPropertyBag);
72
+ const sLabel = Lib.getResourceBundleFor("sap.ui.fl").getText("CBA_ABOUT_INFO_DIALOG_LABEL");
73
+ const sValue = `${sAdaptationTitle} (${sAdaptationId})`;
74
+ setAppInfoCustomProperties(oAppLifeCycleService, sLabel, sValue, "ui5.flex.adaptation");
75
+ }
76
+ }
77
+
78
+ async function attachAppLoadedListener() {
79
+ const oAppLifeCycleService = await FlexUtils.getUShellService("AppLifeCycle");
80
+ const oCurrentApplication = oAppLifeCycleService.getCurrentApplication();
81
+ if (oCurrentApplication) {
82
+ await setFlexAdaptationInfoInAppInfo(oAppLifeCycleService, oCurrentApplication);
83
+ }
84
+ oAppLifeCycleService.attachAppLoaded(oAppLifeCycleService, FLPAboutInfo.onAppLoadedListener);
85
+ }
86
+
87
+ function waitForUshellLibraryIsReady() {
88
+ return new Promise((resolve) => {
89
+ /**
90
+ * We need to dynamically require the BootstrapObserver, because we do not want to accidentially load the whole
91
+ * sap.ushell library. Further, we need hard require the module because we are the only once who are using
92
+ * it and no one is loading it before.
93
+ */
94
+ sap.ui.require(["sap/ushell/api/BootstrapObserver"], async function(BootstrapObserver) {
95
+ await BootstrapObserver.ready();
96
+ resolve();
97
+ });
98
+ });
99
+ }
100
+
101
+ function waitForUshellLibraryIsLoaded() {
102
+ return new Promise((resolve) => {
103
+ Lib.attachLibraryChanged((oLibraryChangedEvent) => {
104
+ if (oLibraryChangedEvent.getParameter("operation") === "add" &&
105
+ oLibraryChangedEvent.getParameter("metadata").sName === "sap.ushell") {
106
+ resolve();
107
+ }
108
+ });
109
+ });
110
+ }
111
+
112
+ async function waitForUshellLibraryIsLoadedAndReady() {
113
+ if (!Lib.isLoaded("sap.ushell")) {
114
+ await waitForUshellLibraryIsLoaded();
115
+ }
116
+ await waitForUshellLibraryIsReady();
117
+ }
118
+
119
+ /**
120
+ * Provides methods to initialize and handle application loaded events to send custom ui.flex properties to the FLP About Dialog.
121
+ *
122
+ * @namespace
123
+ * @alias module:sap/ui/fl/apply/_internal/flexState/communication/FLPAboutInfo
124
+ * @since 1.132
125
+ * @private
126
+ * @ui5-restricted sap.ui.fl
127
+ */
128
+ FLPAboutInfo = /** @lends sap.ui.fl.apply._internal.flexState.communication.FLPAboutInfo */{
129
+ async initialize() {
130
+ await waitForUshellLibraryIsLoadedAndReady();
131
+ await attachAppLoadedListener();
132
+ },
133
+ async onAppLoadedListener(oEvent, oAppLifeCycleService) {
134
+ const oCurrentApplication = oEvent.getParameters();
135
+ await setFlexAdaptationInfoInAppInfo(oAppLifeCycleService, oCurrentApplication);
136
+ }
137
+ };
138
+
139
+ return FLPAboutInfo;
140
+ });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @namespace sap.ui.fl.apply._internal.flexState.compVariants.CompVariantManagementState
22
22
  * @since 1.129
23
- * @version 1.131.1
23
+ * @version 1.132.0
24
24
  * @private
25
25
  * @ui5-restricted
26
26
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -125,7 +125,7 @@ sap.ui.define([
125
125
  *
126
126
  * @namespace sap.ui.fl.apply._internal.flexState.compVariants.CompVariantMerger
127
127
  * @since 1.86
128
- * @version 1.131.1
128
+ * @version 1.132.0
129
129
  * @private
130
130
  * @ui5-restricted sap.ui.fl
131
131
  */
@@ -215,7 +215,7 @@ sap.ui.define([
215
215
  *
216
216
  * @function
217
217
  * @since 1.89
218
- * @version 1.131.1
218
+ * @version 1.132.0
219
219
  * @private
220
220
  * @ui5-restricted sap.ui.fl
221
221
  *
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  *
76
76
  * @namespace sap.ui.fl.apply._internal.flexState.controlVariants.Switcher
77
77
  * @since 1.74
78
- * @version 1.131.1
78
+ * @version 1.132.0
79
79
  * @private
80
80
  * @ui5-restricted
81
81
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  *
35
35
  * @namespace sap.ui.fl.apply._internal.flexState.controlVariants.VariantManagementState
36
36
  * @since 1.74
37
- * @version 1.131.1
37
+ * @version 1.132.0
38
38
  * @private
39
39
  * @ui5-restricted
40
40
  */
@@ -1,11 +1,12 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
9
+ "sap/ui/core/Component",
9
10
  "sap/ui/core/Lib",
10
11
  "sap/ui/fl/apply/_internal/changes/descriptor/Applier",
11
12
  "sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory",
@@ -13,14 +14,17 @@ sap.ui.define([
13
14
  "sap/ui/fl/apply/_internal/flexState/FlexState",
14
15
  "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
15
16
  "sap/ui/fl/apply/api/ControlVariantApplyAPI",
17
+ "sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration",
16
18
  "sap/ui/fl/variants/VariantModel",
17
19
  "sap/ui/fl/FlexControllerFactory",
18
20
  "sap/ui/fl/Layer",
19
21
  "sap/ui/fl/Utils",
20
22
  "sap/ui/model/json/JSONModel",
23
+ "sap/ui/model/odata/ODataUtils",
21
24
  "sap/ui/performance/Measurement"
22
25
  ], function(
23
26
  Log,
27
+ Component,
24
28
  Lib,
25
29
  AppDescriptorApplier,
26
30
  ApplyStrategyFactory,
@@ -28,11 +32,13 @@ sap.ui.define([
28
32
  FlexState,
29
33
  ManifestUtils,
30
34
  ControlVariantApplyAPI,
35
+ ChangeHandlerRegistration,
31
36
  VariantModel,
32
37
  FlexControllerFactory,
33
38
  Layer,
34
39
  Utils,
35
40
  JSONModel,
41
+ ODataUtils,
36
42
  Measurement
37
43
  ) {
38
44
  "use strict";
@@ -230,5 +236,58 @@ sap.ui.define([
230
236
  return onLoadComponent(...aArgs);
231
237
  };
232
238
 
239
+ async function fetchModelChanges(oPropertyBag) {
240
+ // if there is the owner property, the model is part of a reuse component.
241
+ // but the changes must still be fetched for the app component
242
+ const oOwnerComponent = oPropertyBag.owner && Component.get(oPropertyBag.owner.id);
243
+
244
+ // the functionality still works without component Id, but the FlexState will be initialized again
245
+ // once the component Id is set. This will happen in the instanceCreated hook.
246
+ // This can only be improved once the generated component instance Id is available in the factory config
247
+ const sAppComponentId = oPropertyBag.owner?.id || oPropertyBag.factoryConfig.id || oPropertyBag.factoryConfig.settings?.id;
248
+
249
+ const oComponentData = oOwnerComponent?.getComponentData()
250
+ || oPropertyBag.factoryConfig.componentData
251
+ || oPropertyBag.factoryConfig.settings?.componentData;
252
+ const sReference = ManifestUtils.getFlexReference({
253
+ manifest: oOwnerComponent?.getManifest() || oPropertyBag.manifest,
254
+ componentData: oComponentData
255
+ });
256
+ await FlexState.initialize({
257
+ componentData: oComponentData,
258
+ asyncHints: oPropertyBag.owner?.config.asyncHints || oPropertyBag.factoryConfig.asyncHints,
259
+ componentId: sAppComponentId,
260
+ reference: sReference
261
+ });
262
+ const sServiceUrl = ODataUtils.removeOriginSegmentParameters(oPropertyBag.model.getServiceUrl());
263
+ const aRelevantAnnotationChanges = FlexState.getAnnotationChanges(sReference)
264
+ .filter((oAnnotationChange) => oAnnotationChange.getServiceUrl() === sServiceUrl);
265
+
266
+ const aReturn = [];
267
+ for (const oAnnotationChange of aRelevantAnnotationChanges) {
268
+ const oChangeHandler = await ChangeHandlerRegistration.getAnnotationChangeHandler({
269
+ changeType: oAnnotationChange.getChangeType()
270
+ });
271
+ aReturn.push(await oChangeHandler.applyChange(oAnnotationChange));
272
+ }
273
+ return aReturn;
274
+ }
275
+
276
+ /**
277
+ * Sets a promise at the model instance which resolves with the necessary information for the model to change annotations.
278
+ *
279
+ * @param {object} oPropertyBag - Property bag
280
+ * @param {object} oPropertyBag.model - Model instance
281
+ * @param {string} oPropertyBag.modelId - Id of the model instance
282
+ * @param {object} oPropertyBag.factoryConfig - Configuration of loaded component
283
+ * @param {object} oPropertyBag.manifest - Manifest of the owner component
284
+ * @param {object} [oPropertyBag.owner] - Only passed if the model is part of an embedded component
285
+ * @param {string} [oPropertyBag.owner.id] - Id of the owner component
286
+ * @param {object} [oPropertyBag.owner.config] - Configuration of the owner component
287
+ */
288
+ ComponentLifecycleHooks.modelCreatedHook = function(oPropertyBag) {
289
+ oPropertyBag.model.setAnnotationChangePromise(fetchModelChanges(oPropertyBag));
290
+ };
291
+
233
292
  return ComponentLifecycleHooks;
234
293
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @constructor
28
28
  * @author SAP SE
29
- * @version 1.131.1
29
+ * @version 1.132.0
30
30
  * @since 1.27.0
31
31
  * @private
32
32
  * @ui5-restricted sap.ui.fl, sap.ui.core
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -11,9 +11,11 @@ sap.ui.define([
11
11
  "sap/ui/core/ComponentHooks",
12
12
  "sap/ui/core/ExtensionPoint",
13
13
  "sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor",
14
+ "sap/ui/fl/apply/_internal/flexState/communication/FLPAboutInfo",
14
15
  "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
15
16
  "sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks",
16
17
  "sap/ui/fl/apply/api/DelegateMediatorAPI",
18
+ "sap/ui/fl/changeHandler/ChangeAnnotation",
17
19
  "sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration",
18
20
  "sap/ui/base/DesignTime",
19
21
  // the lower 2 are set as a callback in the "register...Processors" which are not detected as dependencies from the preload-building
@@ -25,9 +27,11 @@ sap.ui.define([
25
27
  ComponentHooks,
26
28
  ExtensionPoint,
27
29
  Preprocessor,
30
+ FLPAboutInfo,
28
31
  ManifestUtils,
29
32
  ComponentLifecycleHooks,
30
33
  DelegateMediatorAPI,
34
+ ChangeAnnotation,
31
35
  ChangeHandlerRegistration,
32
36
  DesignTime
33
37
  ) {
@@ -40,12 +44,11 @@ sap.ui.define([
40
44
  * @class
41
45
  * @constructor
42
46
  * @author SAP SE
43
- * @version 1.131.1
47
+ * @version 1.132.0
44
48
  * @since 1.43.0
45
49
  * @private
46
50
  */
47
51
  var RegistrationDelegator = {};
48
-
49
52
  function registerChangesInComponent() {
50
53
  ComponentHooks.onInstanceCreated.register(ComponentLifecycleHooks.instanceCreatedHook);
51
54
  }
@@ -53,6 +56,14 @@ sap.ui.define([
53
56
  function registerChangeHandlers() {
54
57
  ChangeHandlerRegistration.registerPredefinedChangeHandlers();
55
58
  ChangeHandlerRegistration.getChangeHandlersOfLoadedLibsAndRegisterOnNewLoadedLibs();
59
+ ChangeHandlerRegistration.registerAnnotationChangeHandler({
60
+ changeHandler: ChangeAnnotation,
61
+ isDefaultChangeHandler: true
62
+ });
63
+ }
64
+
65
+ function registerOnModelCreated() {
66
+ ComponentHooks.onModelCreated.register(ComponentLifecycleHooks.modelCreatedHook);
56
67
  }
57
68
 
58
69
  function registerLoadComponentEventHandler() {
@@ -102,6 +113,10 @@ sap.ui.define([
102
113
  });
103
114
  }
104
115
 
116
+ function registerFLPAboutInfo() {
117
+ FLPAboutInfo.initialize();
118
+ }
119
+
105
120
  /**
106
121
  * Registers everything in one call
107
122
  *
@@ -116,6 +131,8 @@ sap.ui.define([
116
131
  registerDescriptorChangeHandler();
117
132
  registerExtensionPointProvider();
118
133
  registerModelSpecificReadDelegates();
134
+ registerOnModelCreated();
135
+ registerFLPAboutInfo();
119
136
  };
120
137
 
121
138
  return RegistrationDelegator;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class
39
39
  * @constructor
40
40
  * @author SAP SE
41
- * @version 1.131.1
41
+ * @version 1.132.0
42
42
  * @since 1.27.0
43
43
  * @private
44
44
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -21,29 +21,31 @@ sap.ui.define([
21
21
  */
22
22
  const AnnotationChangeHandlerAPI = /** @lends sap.ui.fl.apply.api.AnnotationChangeHandlerAPI */{
23
23
  /**
24
- * Registers a model-specific annotation change handler for a change type.
24
+ * Registers an annotation change handler for a change type.
25
25
  * The change type is not control-specific, hence it must be unique to avoid conflicts.
26
26
  *
27
27
  * @param {object} mPropertyBag - Property bag
28
- * @param {string} mPropertyBag.modelType - Model type
29
28
  * @param {string} mPropertyBag.changeType - Change type for which the change handler should be registered
30
29
  * @param {string|object} mPropertyBag.changeHandler - Path to change handler or change handler object
31
30
  *
32
31
  * @private
33
32
  */
34
33
  registerAnnotationChangeHandler(mPropertyBag) {
35
- if (!mPropertyBag.modelType || !mPropertyBag.changeType || !mPropertyBag.changeHandler) {
36
- throw new Error("'modelType', 'changeType' and 'changeHandler' properties are required for registration!");
34
+ if (!mPropertyBag.changeType || !mPropertyBag.changeHandler) {
35
+ throw new Error("'changeType' and 'changeHandler' properties are required for registration!");
36
+ }
37
+
38
+ if (mPropertyBag.isDefaultChangeHandler) {
39
+ throw new Error("The API is not allowed to register default change handlers!");
37
40
  }
38
41
 
39
42
  ChangeHandlerRegistration.registerAnnotationChangeHandler(mPropertyBag);
40
43
  },
41
44
 
42
45
  /**
43
- * Returns the model-specific annotation change handler for the requested change type.
46
+ * Returns the annotation change handler for the requested change type.
44
47
  *
45
48
  * @param {object} mPropertyBag - Property bag
46
- * @param {string} mPropertyBag.modelType - Model type
47
49
  * @param {string} mPropertyBag.changeType - Change type for which the change handler should be returned
48
50
  * @returns {Promise<object>} Resolves with the change handler
49
51
  *
@@ -51,8 +53,8 @@ sap.ui.define([
51
53
  * @ui5-restricted sap.ui.fl, sap.ui.rta
52
54
  */
53
55
  getAnnotationChangeHandler(mPropertyBag) {
54
- if (!mPropertyBag.modelType || !mPropertyBag.changeType) {
55
- throw new Error("'modelType' and 'changeType' properties are required!");
56
+ if (!mPropertyBag.changeType) {
57
+ throw new Error("'changeType' property is required!");
56
58
  }
57
59
 
58
60
  return ChangeHandlerRegistration.getAnnotationChangeHandler(mPropertyBag);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -201,6 +201,28 @@ sap.ui.define([
201
201
  return FlexInfoSession.getByReference(mPropertyBag.reference)?.version;
202
202
  },
203
203
 
204
+ /**
205
+ * Returns the context-based adaptation ID for the given property bag.
206
+ *
207
+ * @param {object} mPropertyBag - Object with parameters as properties
208
+ * @param {string} mPropertyBag.reference - Reference of the application
209
+ * @returns {string|undefined} The adaptation ID if found, otherwise undefined.
210
+ */
211
+ getContextBasedAdaptationId(mPropertyBag) {
212
+ return FlexInfoSession.getByReference(mPropertyBag.reference)?.adaptationId;
213
+ },
214
+
215
+ /**
216
+ * Returns the title of the context-based adaptation for a given reference.
217
+ *
218
+ * @param {object} mPropertyBag - Object with parameters as properties
219
+ * @param {string} mPropertyBag.reference - Reference of the application
220
+ * @returns {string|undefined} The title of the context-based adaptation, or undefined if not found.
221
+ */
222
+ getContextBasedAdaptationTitle(mPropertyBag) {
223
+ return FlexInfoSession.getByReference(mPropertyBag.reference)?.adaptationTitle;
224
+ },
225
+
204
226
  /**
205
227
  * Returns the information needed for the rta feedback dialog
206
228
  *
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @alias sap.ui.fl.changeHandler.AddIFrame
24
24
  * @author SAP SE
25
- * @version 1.131.1
25
+ * @version 1.132.0
26
26
  * @since 1.72
27
27
  * @private
28
28
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @alias sap.ui.fl.changeHandler.AddXML
18
18
  * @author SAP SE
19
- * @version 1.131.1
19
+ * @version 1.132.0
20
20
  * @since 1.54
21
21
  * @private
22
22
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  *
19
19
  * @alias sap.ui.fl.changeHandler.AddXMLAtExtensionPoint
20
20
  * @author SAP SE
21
- * @version 1.131.1
21
+ * @version 1.132.0
22
22
  * @since 1.75
23
23
  * @private
24
24
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-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
 
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  /**
15
15
  * Base functionality for all change handlers, which provides some reuse methods
16
16
  * @namespace sap.ui.fl.changeHandler.Base
17
- * @version 1.131.1
17
+ * @version 1.132.0
18
18
  * @private
19
19
  * @ui5-restricted change handlers
20
20
  */