@openui5/sap.ui.fl 1.134.0 → 1.136.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  3. package/package.json +3 -3
  4. package/src/sap/ui/fl/.library +2 -2
  5. package/src/sap/ui/fl/ChangePersistence.js +4 -4
  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 +2 -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 +15 -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 +1 -1
  20. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +2 -2
  21. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +1 -1
  22. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +17 -4
  23. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +4 -42
  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/InlineApplier.js +47 -0
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +3 -3
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +2 -2
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -2
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +2 -2
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource.js +2 -2
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +2 -2
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound.js +2 -2
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes.js +2 -2
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -2
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +2 -2
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeOutbound.js +2 -2
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +2 -2
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetAch.js +2 -2
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetDescription.js +2 -2
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +2 -2
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +2 -2
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetCloudDevAdaptationStatus.js +2 -2
  44. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +2 -2
  45. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +2 -2
  46. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +2 -2
  47. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +2 -2
  48. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +2 -2
  49. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +2 -2
  50. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +2 -2
  51. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
  52. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/ChangeModel.js +2 -2
  53. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +2 -2
  54. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
  55. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +1 -1
  56. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +2 -2
  57. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +1 -1
  58. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +1 -1
  59. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
  60. package/src/sap/ui/fl/apply/_internal/extensionPoint/Registry.js +2 -2
  61. package/src/sap/ui/fl/apply/_internal/flexObjects/AnnotationChange.js +10 -2
  62. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +2 -2
  63. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +2 -2
  64. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
  65. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +2 -2
  66. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +2 -2
  67. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +12 -2
  68. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +39 -3
  69. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +1 -1
  70. package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
  71. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +6 -2
  72. package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +1 -1
  73. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +2 -2
  74. package/src/sap/ui/fl/apply/_internal/flexObjects/VariantChange.js +78 -0
  75. package/src/sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange.js +84 -0
  76. package/src/sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor.js +2 -2
  77. package/src/sap/ui/fl/apply/_internal/flexState/DataSelector.js +1 -1
  78. package/src/sap/ui/fl/apply/_internal/flexState/FlexObjectState.js +2 -2
  79. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +18 -8
  80. package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +1 -1
  81. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +38 -10
  82. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +8 -10
  83. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  84. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +2 -2
  85. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +2 -2
  86. package/src/sap/ui/fl/apply/_internal/flexState/changes/UIChangesState.js +2 -2
  87. package/src/sap/ui/fl/apply/_internal/flexState/communication/FLPAboutInfo.js +1 -1
  88. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantManagementState.js +2 -2
  89. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +3 -3
  90. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +1 -1
  91. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +1 -1
  92. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +2 -2
  93. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +30 -5
  94. package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +5 -4
  95. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +28 -12
  96. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +5 -5
  97. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +2 -2
  98. package/src/sap/ui/fl/apply/api/AnnotationChangeHandlerAPI.js +1 -1
  99. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +17 -6
  100. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +1 -1
  101. package/src/sap/ui/fl/apply/api/ExtensionPointRegistryAPI.js +1 -1
  102. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +12 -1
  103. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +1 -1
  104. package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +1 -1
  105. package/src/sap/ui/fl/changeHandler/AddIFrame.js +2 -2
  106. package/src/sap/ui/fl/changeHandler/AddXML.js +2 -2
  107. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +2 -2
  108. package/src/sap/ui/fl/changeHandler/Base.js +2 -2
  109. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +2 -2
  110. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +2 -2
  111. package/src/sap/ui/fl/changeHandler/BaseRename.js +2 -2
  112. package/src/sap/ui/fl/changeHandler/ChangeAnnotation.js +24 -5
  113. package/src/sap/ui/fl/changeHandler/HideControl.js +2 -2
  114. package/src/sap/ui/fl/changeHandler/MoveControls.js +2 -2
  115. package/src/sap/ui/fl/changeHandler/MoveElements.js +2 -2
  116. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +2 -2
  117. package/src/sap/ui/fl/changeHandler/PropertyChange.js +2 -2
  118. package/src/sap/ui/fl/changeHandler/StashControl.js +2 -2
  119. package/src/sap/ui/fl/changeHandler/UnhideControl.js +2 -2
  120. package/src/sap/ui/fl/changeHandler/UnstashControl.js +2 -2
  121. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +2 -2
  122. package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +1 -1
  123. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +1 -1
  124. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +1 -1
  125. package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +1 -1
  126. package/src/sap/ui/fl/changeHandler/condenser/Classification.js +1 -1
  127. package/src/sap/ui/fl/descriptorRelated/Utils.js +1 -1
  128. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChange.js +121 -0
  129. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +8 -96
  130. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +2 -2
  131. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +2 -2
  132. package/src/sap/ui/fl/designtime/library.designtime.js +1 -1
  133. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +1 -1
  134. package/src/sap/ui/fl/designtime/util/editIFrame.js +1 -1
  135. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +1 -1
  136. package/src/sap/ui/fl/initial/_internal/FlexConfiguration.js +2 -2
  137. package/src/sap/ui/fl/initial/_internal/FlexInfoSession.js +1 -1
  138. package/src/sap/ui/fl/initial/_internal/Storage.js +3 -8
  139. package/src/sap/ui/fl/initial/_internal/StorageFeaturesMerger.js +2 -2
  140. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +1 -1
  141. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +14 -2
  142. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +2 -2
  143. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +2 -2
  144. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +1 -1
  145. package/src/sap/ui/fl/initial/_internal/connectors/BtpServiceConnector.js +1 -1
  146. package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
  147. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +1 -1
  148. package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +2 -1
  149. package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +1 -1
  150. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +1 -1
  151. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +2 -2
  152. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +2 -2
  153. package/src/sap/ui/fl/initial/api/InitialFlexAPI.js +2 -2
  154. package/src/sap/ui/fl/initial/api/Version.js +1 -1
  155. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
  156. package/src/sap/ui/fl/interfaces/Delegate.js +2 -2
  157. package/src/sap/ui/fl/library.js +44 -44
  158. package/src/sap/ui/fl/library.support.js +1 -1
  159. package/src/sap/ui/fl/messagebundle.properties +0 -3
  160. package/src/sap/ui/fl/messagebundle_ar.properties +0 -2
  161. package/src/sap/ui/fl/messagebundle_bg.properties +0 -2
  162. package/src/sap/ui/fl/messagebundle_ca.properties +0 -2
  163. package/src/sap/ui/fl/messagebundle_cnr.properties +0 -2
  164. package/src/sap/ui/fl/messagebundle_cs.properties +0 -2
  165. package/src/sap/ui/fl/messagebundle_cy.properties +0 -2
  166. package/src/sap/ui/fl/messagebundle_da.properties +0 -2
  167. package/src/sap/ui/fl/messagebundle_de.properties +1 -3
  168. package/src/sap/ui/fl/messagebundle_el.properties +0 -2
  169. package/src/sap/ui/fl/messagebundle_en.properties +0 -2
  170. package/src/sap/ui/fl/messagebundle_en_GB.properties +0 -2
  171. package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +0 -2
  172. package/src/sap/ui/fl/messagebundle_es.properties +0 -2
  173. package/src/sap/ui/fl/messagebundle_es_MX.properties +0 -2
  174. package/src/sap/ui/fl/messagebundle_et.properties +0 -2
  175. package/src/sap/ui/fl/messagebundle_fi.properties +0 -2
  176. package/src/sap/ui/fl/messagebundle_fr.properties +0 -2
  177. package/src/sap/ui/fl/messagebundle_fr_CA.properties +0 -2
  178. package/src/sap/ui/fl/messagebundle_hi.properties +0 -2
  179. package/src/sap/ui/fl/messagebundle_hr.properties +0 -2
  180. package/src/sap/ui/fl/messagebundle_hu.properties +0 -2
  181. package/src/sap/ui/fl/messagebundle_id.properties +0 -2
  182. package/src/sap/ui/fl/messagebundle_it.properties +0 -2
  183. package/src/sap/ui/fl/messagebundle_iw.properties +0 -2
  184. package/src/sap/ui/fl/messagebundle_ja.properties +0 -2
  185. package/src/sap/ui/fl/messagebundle_kk.properties +0 -2
  186. package/src/sap/ui/fl/messagebundle_ko.properties +0 -2
  187. package/src/sap/ui/fl/messagebundle_lt.properties +0 -2
  188. package/src/sap/ui/fl/messagebundle_lv.properties +0 -2
  189. package/src/sap/ui/fl/messagebundle_mk.properties +0 -2
  190. package/src/sap/ui/fl/messagebundle_ms.properties +0 -2
  191. package/src/sap/ui/fl/messagebundle_nl.properties +0 -2
  192. package/src/sap/ui/fl/messagebundle_no.properties +0 -2
  193. package/src/sap/ui/fl/messagebundle_pl.properties +0 -2
  194. package/src/sap/ui/fl/messagebundle_pt.properties +0 -2
  195. package/src/sap/ui/fl/messagebundle_pt_PT.properties +0 -2
  196. package/src/sap/ui/fl/messagebundle_ro.properties +0 -2
  197. package/src/sap/ui/fl/messagebundle_ru.properties +0 -2
  198. package/src/sap/ui/fl/messagebundle_sh.properties +0 -2
  199. package/src/sap/ui/fl/messagebundle_sk.properties +0 -2
  200. package/src/sap/ui/fl/messagebundle_sl.properties +1 -3
  201. package/src/sap/ui/fl/messagebundle_sr.properties +0 -2
  202. package/src/sap/ui/fl/messagebundle_sv.properties +0 -2
  203. package/src/sap/ui/fl/messagebundle_th.properties +0 -2
  204. package/src/sap/ui/fl/messagebundle_tr.properties +0 -2
  205. package/src/sap/ui/fl/messagebundle_uk.properties +0 -2
  206. package/src/sap/ui/fl/messagebundle_vi.properties +0 -2
  207. package/src/sap/ui/fl/messagebundle_zh_CN.properties +0 -2
  208. package/src/sap/ui/fl/messagebundle_zh_TW.properties +0 -2
  209. package/src/sap/ui/fl/registry/Settings.js +11 -1
  210. package/src/sap/ui/fl/requireAsync.js +1 -1
  211. package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +1 -1
  212. package/src/sap/ui/fl/support/_internal/getAllUIChanges.js +2 -2
  213. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +2 -2
  214. package/src/sap/ui/fl/support/_internal/getFlexObjectInfos.js +2 -2
  215. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +2 -2
  216. package/src/sap/ui/fl/support/api/SupportAPI.js +2 -2
  217. package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +1 -1
  218. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +2 -2
  219. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +2 -2
  220. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +2 -2
  221. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +2 -2
  222. package/src/sap/ui/fl/support/apps/contentbrowser/index.html +1 -1
  223. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +2 -2
  224. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +2 -2
  225. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +2 -2
  226. package/src/sap/ui/fl/themes/base/library.source.less +1 -1
  227. package/src/sap/ui/fl/themes/sap_hcb/library.source.less +1 -1
  228. package/src/sap/ui/fl/transport/TransportDialog.js +1 -1
  229. package/src/sap/ui/fl/transport/TransportSelection.js +2 -2
  230. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +1 -1
  231. package/src/sap/ui/fl/util/IFrame.flexibility.js +1 -1
  232. package/src/sap/ui/fl/util/IFrame.js +2 -2
  233. package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
  234. package/src/sap/ui/fl/util/ManagedObjectModel.js +2 -2
  235. package/src/sap/ui/fl/util/changePropertyValueByPath.js +1 -1
  236. package/src/sap/ui/fl/util/getContainerUserInfo.js +1 -1
  237. package/src/sap/ui/fl/util/resolveBinding.js +2 -2
  238. package/src/sap/ui/fl/variants/VariantManagement.js +1 -1
  239. package/src/sap/ui/fl/variants/VariantManager.js +22 -22
  240. package/src/sap/ui/fl/variants/VariantModel.js +6 -6
  241. package/src/sap/ui/fl/variants/context/Component.js +1 -1
  242. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +1 -1
  243. package/src/sap/ui/fl/write/_internal/SaveAs.js +1 -1
  244. package/src/sap/ui/fl/write/_internal/Storage.js +2 -2
  245. package/src/sap/ui/fl/write/_internal/Versions.js +2 -2
  246. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +2 -2
  247. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +2 -2
  248. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
  249. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +25 -22
  250. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +8 -10
  251. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +2 -2
  252. package/src/sap/ui/fl/write/_internal/condenser/Utils.js +1 -1
  253. package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
  254. package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
  255. package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +1 -1
  256. package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
  257. package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +1 -1
  258. package/src/sap/ui/fl/write/_internal/condenser/classifications/Update.js +1 -1
  259. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +2 -2
  260. package/src/sap/ui/fl/write/_internal/connectors/BtpServiceConnector.js +2 -2
  261. package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +1 -1
  262. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -2
  263. package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +1 -1
  264. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +4 -3
  265. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +2 -2
  266. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +2 -2
  267. package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +1 -1
  268. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
  269. package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +1 -1
  270. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +2 -2
  271. package/src/sap/ui/fl/write/_internal/controlVariants/ControlVariantWriteUtils.js +1 -1
  272. package/src/sap/ui/fl/write/_internal/delegates/ODataV2ReadDelegate.js +1 -1
  273. package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +1 -1
  274. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
  275. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +2 -2
  276. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +2 -2
  277. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +2 -2
  278. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
  279. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +2 -2
  280. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
  281. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +2 -2
  282. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +2 -2
  283. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +2 -2
  284. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +2 -2
  285. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +1 -1
  286. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  287. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +2 -2
  288. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +2 -2
  289. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +1 -1
  290. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectManager.js +16 -2
  291. package/src/sap/ui/fl/write/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  292. package/src/sap/ui/fl/write/_internal/flexState/changes/UIChangeManager.js +2 -2
  293. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +2 -2
  294. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +1 -1
  295. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +2 -2
  296. package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -2
  297. package/src/sap/ui/fl/write/api/Adaptations.js +1 -1
  298. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +1 -1
  299. package/src/sap/ui/fl/write/api/BusinessNetworkAPI.js +137 -0
  300. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +53 -63
  301. package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +11 -11
  302. package/src/sap/ui/fl/write/api/ContextSharingAPI.js +1 -1
  303. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +1 -1
  304. package/src/sap/ui/fl/write/api/FeaturesAPI.js +12 -1
  305. package/src/sap/ui/fl/write/api/FieldExtensibility.js +2 -2
  306. package/src/sap/ui/fl/write/api/LocalResetAPI.js +50 -30
  307. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +74 -63
  308. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +6 -7
  309. package/src/sap/ui/fl/write/api/SACIntegrationUpdateVariant.js +1 -1
  310. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +1 -1
  311. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -1
  312. package/src/sap/ui/fl/write/api/TranslationAPI.js +1 -1
  313. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
  314. package/src/sap/ui/fl/write/api/VersionsAPI.js +1 -1
  315. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
  316. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +3 -2
  317. package/src/sap/ui/fl/write/connectors/BaseConnector.js +1 -1
  318. package/ui5.yaml +1 -1
  319. package/.reuse/dep5 +0 -471
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -9,12 +9,14 @@ sap.ui.define([
9
9
  "sap/ui/base/ManagedObject",
10
10
  "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
11
11
  "sap/ui/fl/initial/_internal/Storage",
12
+ "sap/ui/fl/initial/_internal/StorageUtils",
12
13
  "sap/ui/fl/registry/Settings"
13
14
  ], function(
14
15
  ObjectPath,
15
16
  ManagedObject,
16
17
  ManifestUtils,
17
18
  ApplyStorage,
19
+ StorageUtils,
18
20
  Settings
19
21
  ) {
20
22
  "use strict";
@@ -61,11 +63,7 @@ sap.ui.define([
61
63
  }
62
64
 
63
65
  function filterInvalidFileNames(mFlexData) {
64
- [
65
- "appDescriptorChanges", "annotationChanges", "changes",
66
- "comp.changes", "comp.changes", "comp.defaultVariants", "comp.standardVariants",
67
- "variants", "variantChanges", "variantDependentControlChanges", "variantManagementChanges"
68
- ].forEach(function(vKey) {
66
+ StorageUtils.getAllFlexObjectNamespaces().forEach(function(vKey) {
69
67
  const aFlexItems = ObjectPath.get(vKey, mFlexData);
70
68
  if (aFlexItems) {
71
69
  ObjectPath.set(vKey, aFlexItems.filter((oFlexItem) => {
@@ -96,19 +94,48 @@ sap.ui.define([
96
94
  }
97
95
 
98
96
  function getSideId(oComponentData) {
99
- if (oComponentData
100
- && oComponentData.startupParameters
101
- && Array.isArray(oComponentData.startupParameters.hcpApplicationId)) {
97
+ if (oComponentData?.startupParameters && Array.isArray(oComponentData.startupParameters.hcpApplicationId)) {
102
98
  return oComponentData.startupParameters.hcpApplicationId[0];
103
99
  }
104
100
  }
105
101
 
102
+ /**
103
+ * Removes the changes that should be deactivated and the deactivate changes from the Flex Data.
104
+ * This is the equivalent of deleting changes from the backend.
105
+ * Example Scenario: When creating an annotation rename change, any control based rename changes should be removed.
106
+ * But Developer changes can't be deleted from the backend, so they are deactivated.
107
+ *
108
+ * @param {object} mFlexData - Flex Data as returned from the Storage
109
+ * @returns {object} Flex Data without the deactivate and deactivated changes
110
+ */
111
+ function applyDeactivateChanges(mFlexData) {
112
+ const sDeactivateChangeType = "deactivateChanges";
113
+ const aToBeDeactivatedIds = mFlexData.changes.map((oChange) => {
114
+ if (oChange.changeType === sDeactivateChangeType) {
115
+ return [oChange.fileName, ...oChange.content.changeIds];
116
+ }
117
+ })
118
+ .flat()
119
+ .filter(Boolean);
120
+
121
+ // Filter all changes that should be deactivated (also already includes the id of the deactivate changes)
122
+ if (aToBeDeactivatedIds.length) {
123
+ StorageUtils.getAllFlexObjectNamespaces().forEach(function(vKey) {
124
+ const aFlexItems = ObjectPath.get(vKey, mFlexData);
125
+ if (aFlexItems.length) {
126
+ ObjectPath.set(vKey, aFlexItems.filter((oFlexItem) => !aToBeDeactivatedIds.includes(oFlexItem.fileName)), mFlexData);
127
+ }
128
+ });
129
+ }
130
+ return mFlexData;
131
+ }
132
+
106
133
  /**
107
134
  * Class for loading Flex Data from the backend via the Connectors.
108
135
  *
109
136
  * @namespace sap.ui.fl.apply._internal.flexState.Loader
110
137
  * @since 1.74
111
- * @version 1.134.0
138
+ * @version 1.136.0
112
139
  * @private
113
140
  * @ui5-restricted sap.ui.fl.apply._internal.flexState
114
141
  */
@@ -157,6 +184,7 @@ sap.ui.define([
157
184
  allContexts: mPropertyBag.allContexts,
158
185
  adaptationId: mPropertyBag.adaptationId
159
186
  })
187
+ .then(applyDeactivateChanges.bind())
160
188
  .then(filterInvalidFileNames.bind())
161
189
  .then(migrateSelectorFlags.bind(undefined, isMigrationNeeded(mPropertyBag.manifest)))
162
190
  .then(formatFlexData);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -78,7 +78,7 @@ function(
78
78
  *
79
79
  * @namespace sap.ui.fl.apply._internal.flexState.ManifestUtils
80
80
  * @since 1.74
81
- * @version 1.134.0
81
+ * @version 1.136.0
82
82
  * @private
83
83
  */
84
84
  var ManifestUtils = {
@@ -141,7 +141,7 @@ function(
141
141
  },
142
142
 
143
143
  getCacheKeyFromAsyncHints(sReference, oAsyncHints) {
144
- var oFlAsyncHint = getFlAsyncHintRequest(oAsyncHints, sReference);
144
+ const oFlAsyncHint = getFlAsyncHintRequest(oAsyncHints, sReference);
145
145
  if (oFlAsyncHint) {
146
146
  return oFlAsyncHint.cachebusterToken || "<NO CHANGES>";
147
147
  }
@@ -154,13 +154,11 @@ function(
154
154
  }
155
155
  },
156
156
 
157
- getChangeManifestFromAsyncHints(oAsyncHints) {
158
- // whenever there is a back end providing a fl async hint it is also not necessary to merge on client side
159
- var oFlAsyncHint = getFlAsyncHintRequest(oAsyncHints);
160
- if (oFlAsyncHint) {
161
- return false;
162
- }
163
- return true;
157
+ getChangeManifestFromAsyncHints(oAsyncHints, sReference) {
158
+ const oFlAsyncHint = sReference && getFlAsyncHintRequest(oAsyncHints, sReference);
159
+ // Request entry might indicate that no changes exist.
160
+ // If entry is not there, it is unknown and there might be changes
161
+ return !!(!oFlAsyncHint || oFlAsyncHint.cachebusterToken);
164
162
  },
165
163
 
166
164
  getBaseComponentNameFromManifest(oManifest) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @namespace sap.ui.fl.apply._internal.flexState.UI2Personalization.UI2PersonalizationState
18
18
  * @since 1.75
19
- * @version 1.134.0
19
+ * @version 1.136.0
20
20
  * @private
21
21
  * @ui5-restricted
22
22
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @namespace sap.ui.fl.apply._internal.flexState.changes.DependencyHandler
22
22
  * @since 1.74
23
- * @version 1.134.0
23
+ * @version 1.136.0
24
24
  * @private
25
25
  * @ui5-restricted sap.ui.fl
26
26
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  *
42
42
  * @namespace sap.ui.fl.apply._internal.flexState.changes.ExtensionPointState
43
43
  * @since 1.79
44
- * @version 1.134.0
44
+ * @version 1.136.0
45
45
  * @private
46
46
  * @ui5-restricted
47
47
  */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @namespace
25
25
  * @alias sap.ui.fl.apply._internal.flexState.changes.UIChangesState
26
26
  * @since 1.121
27
- * @version 1.134.0
27
+ * @version 1.136.0
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 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.134.0
23
+ * @version 1.136.0
24
24
  * @private
25
25
  * @ui5-restricted
26
26
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.134.0
128
+ * @version 1.136.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.134.0
218
+ * @version 1.136.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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -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.134.0
78
+ * @version 1.136.0
79
79
  * @private
80
80
  * @ui5-restricted
81
81
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -13,6 +13,7 @@ sap.ui.define([
13
13
  "sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler",
14
14
  "sap/ui/fl/apply/_internal/flexState/DataSelector",
15
15
  "sap/ui/fl/apply/_internal/flexState/FlexState",
16
+ "sap/ui/fl/changeHandler/condenser/Classification",
16
17
  "sap/ui/fl/initial/_internal/Storage",
17
18
  "sap/ui/fl/LayerUtils"
18
19
  ], function(
@@ -24,17 +25,37 @@ sap.ui.define([
24
25
  DependencyHandler,
25
26
  DataSelector,
26
27
  FlexState,
28
+ Classification,
27
29
  Storage,
28
30
  LayerUtils
29
31
  ) {
30
32
  "use strict";
31
33
 
34
+ const oChangeInformationProviders = {
35
+ ctrl_variant_change: {
36
+ getCondenserInfo(oFlexObject) {
37
+ return {
38
+ classification: Classification.LastOneWins,
39
+ uniqueKey: oFlexObject.getVariantId() + oFlexObject.getChangeType()
40
+ };
41
+ }
42
+ },
43
+ ctrl_variant_management_change: {
44
+ getCondenserInfo(oFlexObject, mPropertyBag) {
45
+ return {
46
+ classification: Classification.LastOneWins,
47
+ uniqueKey: mPropertyBag.modifier.getControlIdBySelector(oFlexObject.getSelector(), mPropertyBag.appComponent)
48
+ };
49
+ }
50
+ }
51
+ };
52
+
32
53
  /**
33
54
  * Handler class to manipulate control variant changes in a variants map. See also {@link sap.ui.fl.variants.VariantManagement}.
34
55
  *
35
56
  * @namespace sap.ui.fl.apply._internal.flexState.controlVariants.VariantManagementState
36
57
  * @since 1.74
37
- * @version 1.134.0
58
+ * @version 1.136.0
38
59
  * @private
39
60
  * @ui5-restricted
40
61
  */
@@ -126,7 +147,7 @@ sap.ui.define([
126
147
  return {
127
148
  instance: oVariantInstance,
128
149
  variantChanges: oGroupedFlexObjects.variantChanges.filter(function(oFlexObject) {
129
- return oFlexObject.getSelector().id === oVariantInstance.getId();
150
+ return oFlexObject.getVariantId() === oVariantInstance.getId();
130
151
  }),
131
152
  controlChanges: oGroupedFlexObjects.changes.filter(function(oFlexObject) {
132
153
  var bCorrectFlexObjectType = oFlexObject.isA("sap.ui.fl.apply._internal.flexObjects.UIChange");
@@ -304,7 +325,7 @@ sap.ui.define([
304
325
  var oFoundVariant;
305
326
  Object.values(oVariantsMap).some(function(oVariantsMapEntry) {
306
327
  return oVariantsMapEntry.variants.some(function(oVariant) {
307
- if (oVariantChange.getSelector().id === oVariant.key) {
328
+ if (oVariantChange.getVariantId() === oVariant.key) {
308
329
  oFoundVariant = oVariant;
309
330
  return true;
310
331
  }
@@ -406,6 +427,10 @@ sap.ui.define([
406
427
  return oVariantDependentFlexObjectsDataSelector.get({reference: sReference});
407
428
  };
408
429
 
430
+ VariantManagementState.getChangeInformationProvider = function(oFlexObject) {
431
+ return oChangeInformationProviders[oFlexObject.getFileType()];
432
+ };
433
+
409
434
  /**
410
435
  * Removes the saved current variant from the internal map for the given reference
411
436
  *
@@ -735,7 +760,7 @@ sap.ui.define([
735
760
  // eslint-disable-next-line camelcase
736
761
  ctrl_variant: () => (oFilteredFlexObject.getVariantId()),
737
762
  // eslint-disable-next-line camelcase
738
- ctrl_variant_change: () => (oFilteredFlexObject.getSelector().id),
763
+ ctrl_variant_change: () => (oFilteredFlexObject.getVariantId()),
739
764
  change: () => (oFilteredFlexObject.getVariantReference())
740
765
  }[oFilteredFlexObject.getFileType()]?.();
741
766
  return !aHiddenVariants.includes(sVariantReference);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -8,8 +8,8 @@ sap.ui.define([
8
8
  "sap/base/Log",
9
9
  "sap/ui/core/Component",
10
10
  "sap/ui/core/Lib",
11
- "sap/ui/fl/apply/_internal/changes/descriptor/Applier",
12
11
  "sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory",
12
+ "sap/ui/fl/apply/_internal/changes/descriptor/InlineApplier",
13
13
  "sap/ui/fl/apply/_internal/changes/Applier",
14
14
  "sap/ui/fl/apply/_internal/flexState/FlexState",
15
15
  "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
@@ -26,8 +26,8 @@ sap.ui.define([
26
26
  Log,
27
27
  Component,
28
28
  Lib,
29
- AppDescriptorApplier,
30
29
  ApplyStrategyFactory,
30
+ InlineApplier,
31
31
  ChangesApplier,
32
32
  FlexState,
33
33
  ManifestUtils,
@@ -200,7 +200,7 @@ sap.ui.define([
200
200
  // manifest descriptor changes for ABAP mixed mode can only be applied in this hook,
201
201
  // because at this point all libs have been loaded (in contrast to the first Component(s) 'onPreprocessManifest' hook),
202
202
  // but the manifest is still adaptable
203
- return AppDescriptorApplier.applyChangesIncludedInManifest(oManifest, ApplyStrategyFactory.getRuntimeStrategy());
203
+ return InlineApplier.applyChanges(oManifest, ApplyStrategyFactory.getRuntimeStrategy());
204
204
  }
205
205
 
206
206
  // the current sinon version used in UI5 does not support stubbing the constructor
@@ -272,6 +272,7 @@ sap.ui.define([
272
272
  changeType: oAnnotationChange.getChangeType()
273
273
  });
274
274
  aReturn.push(await oChangeHandler.applyChange(oAnnotationChange));
275
+ oAnnotationChange._appliedOnModel = true;
275
276
  }
276
277
  return aReturn;
277
278
  } catch (oError) {
@@ -1,21 +1,21 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
+ "sap/base/Log",
8
9
  "sap/ui/core/Component",
9
- "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
10
10
  "sap/ui/fl/apply/_internal/flexState/FlexState",
11
- "sap/ui/fl/Utils",
12
- "sap/base/Log"
11
+ "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
12
+ "sap/ui/fl/Utils"
13
13
  ], function(
14
+ Log,
14
15
  Component,
15
- ManifestUtils,
16
16
  FlexState,
17
- Utils,
18
- Log
17
+ ManifestUtils,
18
+ Utils
19
19
  ) {
20
20
  "use strict";
21
21
 
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @constructor
28
28
  * @author SAP SE
29
- * @version 1.134.0
29
+ * @version 1.136.0
30
30
  * @since 1.27.0
31
31
  * @private
32
32
  * @ui5-restricted sap.ui.fl, sap.ui.core
@@ -37,9 +37,25 @@ sap.ui.define([
37
37
  return oChange.getChangeType() === "codeExt";
38
38
  }
39
39
 
40
+ function migrateToNewSyntaxIfNecessary(sControllerName) {
41
+ if (!sControllerName.startsWith("module:")) {
42
+ return `module:${sControllerName.replace(/\./g, "/")}.controller`;
43
+ }
44
+ return sControllerName;
45
+ }
46
+
47
+ /**
48
+ * Checks if the controller name saved in the change matches the provided controller name.
49
+ * The syntax for the controller name changed to module syntax in 1.134, so legacy changes need
50
+ * to be transformed to module syntax before the check.
51
+ *
52
+ * @param {string} sControllerName - Name of the controller in module syntax
53
+ * @param {sap.ui.fl.apply._internal.flexObjects.ControllerExtensionChange} oChange - ControllerExtensionChange instance
54
+ * @returns {boolean} - Returns true if the controller name of the change matches the provided controller name
55
+ */
40
56
  function isForController(sControllerName, oChange) {
41
- var sSelectorControllerName = oChange.getSelector().controllerName;
42
- return sControllerName === sSelectorControllerName;
57
+ var sSelectorControllerName = migrateToNewSyntaxIfNecessary(oChange.getSelector().controllerName);
58
+ return sSelectorControllerName === migrateToNewSyntaxIfNecessary(sControllerName);
43
59
  }
44
60
 
45
61
  function getExtensionModules(aCodeExtModuleNames) {
@@ -58,8 +74,8 @@ sap.ui.define([
58
74
  }
59
75
 
60
76
  /**
61
- * Provides an array of extension providers. An extension provider is an object which were defined as controller extensions. These objects
62
- * provides lifecycle and event handler functions of a specific controller.
77
+ * Provides an array of extension providers. An extension provider is an object which were defined as controller extensions.
78
+ * These objects provide lifecycle and event handler functions of a specific controller.
63
79
  *
64
80
  * @param {string} sControllerName - Name of the controller
65
81
  * @param {string} sComponentId - Unique id for the running controller - unique as well for manifest first
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
7
  // Provides object sap.ui.fl.apply._internal.preprocessors.RegistrationDelegator
8
8
  sap.ui.define([
9
- "sap/ui/core/mvc/Controller",
9
+ "sap/ui/core/mvc/ControllerExtensionProvider",
10
10
  "sap/ui/core/mvc/XMLView",
11
11
  "sap/ui/core/ComponentHooks",
12
12
  "sap/ui/core/ExtensionPoint",
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  "sap/ui/fl/apply/_internal/preprocessors/ControllerExtension",
23
23
  "sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor"
24
24
  ], function(
25
- MvcController,
25
+ MvcControllerExtensionProvider,
26
26
  XMLView,
27
27
  ComponentHooks,
28
28
  ExtensionPoint,
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @class
45
45
  * @constructor
46
46
  * @author SAP SE
47
- * @version 1.134.0
47
+ * @version 1.136.0
48
48
  * @since 1.43.0
49
49
  * @private
50
50
  */
@@ -71,7 +71,7 @@ sap.ui.define([
71
71
  }
72
72
 
73
73
  function registerExtensionProvider() {
74
- MvcController.registerExtensionProvider("sap/ui/fl/apply/_internal/preprocessors/ControllerExtension");
74
+ MvcControllerExtensionProvider.registerExtensionProvider("sap/ui/fl/apply/_internal/preprocessors/ControllerExtension");
75
75
  }
76
76
 
77
77
  function registerXMLPreprocessor() {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class
39
39
  * @constructor
40
40
  * @author SAP SE
41
- * @version 1.134.0
41
+ * @version 1.136.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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -119,10 +119,13 @@ sap.ui.define([
119
119
  *
120
120
  * Activates the passed variant applicable to the passed control/component.
121
121
  * If the Variant is not available and the backend supports lazy loading, a backend request is made to fetch the variant.
122
+ * If the flag standardVariant is set to true, the standard variant is activated and the variantReference is ignored.
123
+ * In this scenario the passed element must be the variant management control.
122
124
  *
123
125
  * @param {object} mPropertyBag - Object with parameters as properties
124
126
  * @param {sap.ui.base.ManagedObject|string} mPropertyBag.element - Component or control (instance or ID) on which the <code>variantModel</code> is set
125
127
  * @param {string} mPropertyBag.variantReference - Reference to the variant that needs to be activated
128
+ * @param {boolean} [mPropertyBag.standardVariant] - If set to true, the standard variant is activated and the variantReference is ignored
126
129
  *
127
130
  * @returns {Promise} Resolves after the variant is activated or rejects if an error occurs
128
131
  *
@@ -158,19 +161,27 @@ sap.ui.define([
158
161
  return logAndReject(Error("No variant management model found for the passed control or application component"));
159
162
  }
160
163
 
164
+ if (mPropertyBag.standardVariant && !oElement.isA("sap.ui.fl.variants.VariantManagement")) {
165
+ return logAndReject(Error("With using standardVariant and no variantReference, a variant management control must be passed as element"));
166
+ }
167
+
168
+ const sVariantReference = mPropertyBag.standardVariant
169
+ ? oVariantModel.getVariantManagementReferenceForControl(mPropertyBag.element)
170
+ : mPropertyBag.variantReference;
171
+
161
172
  // if the variant management reference is not available, the variant is not yet loaded
162
- if (!oVariantModel.getVariantManagementReference(mPropertyBag.variantReference).variantManagementReference) {
173
+ if (!oVariantModel.getVariantManagementReference(sVariantReference).variantManagementReference) {
163
174
  try {
164
175
  await VariantManagementState.loadVariant({
165
176
  reference: oVariantModel.sFlexReference,
166
- variantReference: mPropertyBag.variantReference
177
+ variantReference: sVariantReference
167
178
  });
168
179
  } catch (oError) {
169
- return logAndReject(Error(`Variant with reference '${mPropertyBag.variantReference}' could not be found`));
180
+ return logAndReject(Error(`Variant with reference '${sVariantReference}' could not be found`));
170
181
  }
171
182
  }
172
183
 
173
- const sVariantManagementReference = oVariantModel.getVariantManagementReference(mPropertyBag.variantReference).variantManagementReference;
184
+ const sVariantManagementReference = oVariantModel.getVariantManagementReference(sVariantReference).variantManagementReference;
174
185
  if (!sVariantManagementReference) {
175
186
  return logAndReject(Error("A valid control or component, and a valid variant/ID combination are required"));
176
187
  }
@@ -181,7 +192,7 @@ sap.ui.define([
181
192
  try {
182
193
  return oVariantModel.updateCurrentVariant({
183
194
  variantManagementReference: sVariantManagementReference,
184
- newVariantReference: mPropertyBag.variantReference,
195
+ newVariantReference: sVariantReference,
185
196
  appComponent: oAppComponent
186
197
  });
187
198
  } catch (oError) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6