@openui5/sap.ui.fl 1.109.0 → 1.111.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 (240) hide show
  1. package/.reuse/dep5 +16 -16
  2. package/THIRDPARTY.txt +2 -2
  3. package/package.json +3 -3
  4. package/src/sap/ui/fl/.library +2 -2
  5. package/src/sap/ui/fl/Cache.js +18 -3
  6. package/src/sap/ui/fl/ChangePersistence.js +33 -40
  7. package/src/sap/ui/fl/ChangePersistenceFactory.js +2 -2
  8. package/src/sap/ui/fl/FakeLrepConnector.js +1 -1
  9. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +2 -2
  10. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +2 -2
  11. package/src/sap/ui/fl/FakeLrepLocalStorage.js +2 -2
  12. package/src/sap/ui/fl/FlexController.js +2 -2
  13. package/src/sap/ui/fl/FlexControllerFactory.js +3 -3
  14. package/src/sap/ui/fl/Layer.js +2 -2
  15. package/src/sap/ui/fl/LayerUtils.js +2 -2
  16. package/src/sap/ui/fl/Scenario.js +1 -1
  17. package/src/sap/ui/fl/Utils.js +4 -25
  18. package/src/sap/ui/fl/apply/_internal/ChangesController.js +1 -1
  19. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +5 -5
  20. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
  21. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +33 -81
  22. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +42 -171
  23. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +8 -14
  24. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +8 -13
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +1 -1
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +1 -1
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +2 -2
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +2 -2
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -2
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +2 -2
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -2
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +2 -2
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +2 -2
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +2 -2
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +2 -2
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +2 -2
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +2 -2
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +2 -2
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +2 -2
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +2 -2
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +2 -2
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
  44. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +2 -2
  45. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
  46. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +2 -2
  47. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +2 -2
  48. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +5 -2
  49. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +1 -1
  50. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
  51. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +2 -2
  52. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +5 -7
  53. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
  54. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +2 -2
  55. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +2 -2
  56. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +3 -3
  57. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +9 -3
  58. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +1 -1
  59. package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
  60. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +2 -2
  61. package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +2 -3
  62. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +2 -2
  63. package/src/sap/ui/fl/apply/_internal/flexState/DataSelector.js +235 -0
  64. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +159 -34
  65. package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +72 -0
  66. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +28 -3
  67. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +8 -8
  68. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  69. package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +1 -1
  70. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +2 -2
  71. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +2 -2
  72. package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +1 -1
  73. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +3 -3
  74. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +1 -1
  75. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +3 -2
  76. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +2 -2
  77. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +19 -4
  78. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +1 -1
  79. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +2 -2
  80. package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +2 -2
  81. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +2 -2
  82. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +2 -2
  83. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +3 -3
  84. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +1 -1
  85. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +2 -2
  86. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +6 -4
  87. package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +1 -1
  88. package/src/sap/ui/fl/changeHandler/AddIFrame.js +2 -2
  89. package/src/sap/ui/fl/changeHandler/AddXML.js +2 -2
  90. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +2 -2
  91. package/src/sap/ui/fl/changeHandler/Base.js +2 -2
  92. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +2 -2
  93. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +2 -2
  94. package/src/sap/ui/fl/changeHandler/BaseRename.js +2 -2
  95. package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
  96. package/src/sap/ui/fl/changeHandler/HideControl.js +3 -3
  97. package/src/sap/ui/fl/changeHandler/MoveControls.js +2 -2
  98. package/src/sap/ui/fl/changeHandler/MoveElements.js +2 -2
  99. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +2 -2
  100. package/src/sap/ui/fl/changeHandler/PropertyChange.js +2 -2
  101. package/src/sap/ui/fl/changeHandler/StashControl.js +3 -3
  102. package/src/sap/ui/fl/changeHandler/UnhideControl.js +2 -2
  103. package/src/sap/ui/fl/changeHandler/UnstashControl.js +2 -2
  104. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +2 -2
  105. package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +1 -1
  106. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +1 -1
  107. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +1 -1
  108. package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +1 -1
  109. package/src/sap/ui/fl/changeHandler/condenser/Classification.js +1 -1
  110. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +5 -5
  111. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +4 -4
  112. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +2 -2
  113. package/src/sap/ui/fl/descriptorRelated/internal/Utils.js +1 -1
  114. package/src/sap/ui/fl/designtime/library.designtime.js +1 -1
  115. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +1 -1
  116. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +1 -1
  117. package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
  118. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +1 -1
  119. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +4 -2
  120. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +2 -2
  121. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +2 -2
  122. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +2 -2
  123. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +1 -1
  124. package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
  125. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +1 -2
  126. package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +1 -1
  127. package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +1 -1
  128. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +1 -1
  129. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +4 -4
  130. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +2 -2
  131. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +4 -4
  132. package/src/sap/ui/fl/interfaces/Delegate.js +2 -2
  133. package/src/sap/ui/fl/library.js +47 -48
  134. package/src/sap/ui/fl/library.support.js +1 -1
  135. package/src/sap/ui/fl/messagebundle_bg.properties +2 -2
  136. package/src/sap/ui/fl/messagebundle_it.properties +1 -1
  137. package/src/sap/ui/fl/registry/Settings.js +12 -13
  138. package/src/sap/ui/fl/requireAsync.js +1 -1
  139. package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +11 -5
  140. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +54 -18
  141. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +2 -2
  142. package/src/sap/ui/fl/support/api/SupportAPI.js +2 -2
  143. package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +1 -1
  144. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +2 -2
  145. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +2 -2
  146. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +2 -2
  147. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +2 -2
  148. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +4 -4
  149. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +8 -8
  150. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +5 -5
  151. package/src/sap/ui/fl/themes/base/library.source.less +1 -1
  152. package/src/sap/ui/fl/themes/sap_hcb/library.source.less +1 -1
  153. package/src/sap/ui/fl/transport/TransportDialog.js +1 -1
  154. package/src/sap/ui/fl/transport/TransportSelection.js +2 -2
  155. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +1 -1
  156. package/src/sap/ui/fl/util/IFrame.flexibility.js +1 -1
  157. package/src/sap/ui/fl/util/IFrame.js +2 -2
  158. package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
  159. package/src/sap/ui/fl/util/ManagedObjectModel.js +2 -2
  160. package/src/sap/ui/fl/util/changePropertyValueByPath.js +1 -1
  161. package/src/sap/ui/fl/util/getContainerUserInfo.js +1 -1
  162. package/src/sap/ui/fl/util/resolveBinding.js +2 -2
  163. package/src/sap/ui/fl/variants/VariantManagement.js +32 -3
  164. package/src/sap/ui/fl/variants/VariantModel.js +2 -2
  165. package/src/sap/ui/fl/variants/context/Component.js +1 -1
  166. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +2 -3
  167. package/src/sap/ui/fl/write/_internal/FlexInfoSession.js +1 -1
  168. package/src/sap/ui/fl/write/_internal/SaveAs.js +1 -1
  169. package/src/sap/ui/fl/write/_internal/Storage.js +11 -2
  170. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +3 -5
  171. package/src/sap/ui/fl/write/_internal/Versions.js +7 -3
  172. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +2 -2
  173. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +2 -2
  174. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
  175. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +4 -4
  176. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +4 -2
  177. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +2 -2
  178. package/src/sap/ui/fl/write/_internal/condenser/Utils.js +11 -9
  179. package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +13 -10
  180. package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +19 -13
  181. package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +1 -1
  182. package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +21 -6
  183. package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +1 -1
  184. package/src/sap/ui/fl/write/_internal/condenser/classifications/Update.js +1 -1
  185. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +2 -2
  186. package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +1 -1
  187. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -2
  188. package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +1 -1
  189. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +21 -5
  190. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +8 -2
  191. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +2 -2
  192. package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +2 -2
  193. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +4 -3
  194. package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +1 -1
  195. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +5 -2
  196. package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +1 -1
  197. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
  198. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +2 -2
  199. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +3 -3
  200. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +2 -2
  201. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +2 -2
  202. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
  203. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +2 -2
  204. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
  205. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +2 -2
  206. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +2 -2
  207. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +2 -2
  208. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +2 -2
  209. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +1 -1
  210. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  211. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +2 -2
  212. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +2 -2
  213. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +1 -1
  214. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +8 -6
  215. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +10 -2
  216. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +1 -1
  217. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +2 -2
  218. package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -2
  219. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +1 -1
  220. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
  221. package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +106 -15
  222. package/src/sap/ui/fl/write/api/ContextSharingAPI.js +7 -3
  223. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +1 -1
  224. package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +1 -1
  225. package/src/sap/ui/fl/write/api/FeaturesAPI.js +1 -1
  226. package/src/sap/ui/fl/write/api/FieldExtensibility.js +2 -2
  227. package/src/sap/ui/fl/write/api/LocalResetAPI.js +1 -1
  228. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +2 -2
  229. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +17 -1
  230. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +1 -1
  231. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -1
  232. package/src/sap/ui/fl/write/api/TranslationAPI.js +1 -1
  233. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
  234. package/src/sap/ui/fl/write/api/Version.js +1 -1
  235. package/src/sap/ui/fl/write/api/VersionsAPI.js +1 -1
  236. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +2 -2
  237. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +2 -2
  238. package/src/sap/ui/fl/write/connectors/BaseConnector.js +7 -1
  239. package/src/sap/ui/fl/changeHandler/JsControlTreeModifier.js +0 -17
  240. package/src/sap/ui/fl/changeHandler/XmlTreeModifier.js +0 -17
package/.reuse/dep5 CHANGED
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
28
28
  # OpenUI5 code
29
29
 
30
30
  Files: *
31
- Copyright: 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
31
+ Copyright: 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
32
32
  License: Apache-2.0
33
33
 
34
34
 
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
68
68
 
69
69
  Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
70
70
  Copyright:
71
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
71
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
72
72
  Spencer Tipping
73
73
  License: Apache-2.0 and MIT
74
74
  Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
83
83
 
84
84
  Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
85
85
  Copyright:
86
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
86
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
87
87
  OpenJS Foundation and other contributors
88
88
  License: Apache-2.0 and MIT
89
89
  Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
90
90
 
91
91
  Files: src/sap.ui.core/src/sap/base/util/_merge.js
92
92
  Copyright:
93
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
93
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
94
94
  OpenJS Foundation and other contributors
95
95
  License: Apache-2.0 and MIT
96
96
  Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
97
97
 
98
98
  Files: src/sap.ui.core/src/jquery.sap.script.js
99
99
  Copyright:
100
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
100
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
101
101
  OpenJS Foundation and other contributors
102
102
  License: Apache-2.0 and MIT
103
103
  Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
104
104
 
105
105
  Files: src/sap.ui.core/src/sap/ui/Device.js
106
106
  Copyright:
107
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
107
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
108
108
  2011, John Resig
109
109
  License: Apache-2.0 and MIT
110
110
  Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
111
111
 
112
112
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
113
113
  Copyright:
114
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
114
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
115
115
  2014 jQuery Foundation and other contributors
116
116
  License: Apache-2.0 and MIT
117
117
  Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
123
123
 
124
124
  Files: src/sap.ui.core/src/jquery.sap.dom.js
125
125
  Copyright:
126
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
126
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
127
127
  2014 jQuery Foundation and other contributors
128
128
  License: Apache-2.0 and MIT
129
129
  Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
130
130
 
131
131
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
132
132
  Copyright:
133
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
133
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
134
134
  2014 jQuery Foundation and other contributors
135
135
  License: Apache-2.0 and MIT
136
136
  Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
162
162
 
163
163
  Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
164
164
  Copyright:
165
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
165
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
166
166
  2012 Wei-Ko Kao
167
167
  License: Apache-2.0 and MIT
168
168
  Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
@@ -299,14 +299,14 @@ Comment: these files belong to: blanket.js
299
299
 
300
300
  Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
301
301
  Copyright:
302
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
302
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
303
303
  Douglas Crockford
304
304
  License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
305
305
  Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
306
306
 
307
307
  Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
308
308
  Copyright:
309
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
309
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
310
310
  2010 Douglas Crockford
311
311
  License: Apache-2.0
312
312
  Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
@@ -340,7 +340,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
340
340
 
341
341
  Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
342
342
  Copyright:
343
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
343
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
344
344
  Behrang Norouzinia
345
345
  License: Apache-2.0 and MIT
346
346
  Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
@@ -352,14 +352,14 @@ Comment: these files belong to: vkBeautify
352
352
 
353
353
  Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
354
354
  Copyright:
355
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
355
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
356
356
  Isaac Z. Schlueter and Contributors
357
357
  License: Apache-2.0 and ISC
358
358
  Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
359
359
 
360
360
  Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
361
361
  Copyright:
362
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
362
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
363
363
  Arthur David Olson, Paul Eggert and other contributors
364
364
  License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
365
365
  Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
@@ -469,7 +469,7 @@ Comment: these files belong to: LESS
469
469
 
470
470
  Files: lib/jsdoc/ui5/plugin.js
471
471
  Copyright:
472
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
472
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
473
473
  2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
474
474
  License: Apache-2.0
475
475
  Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
package/THIRDPARTY.txt CHANGED
@@ -185,7 +185,7 @@ License: Apache-2.0
185
185
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
186
186
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
187
187
 
188
- Component: Unicode Common Locale Data Repository, version: 35.1
188
+ Component: Unicode Common Locale Data Repository, version: 41
189
189
  Copyright: 1991-2014 Unicode, Inc.
190
190
  License: Unicode-DFS-2015
191
191
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
@@ -478,7 +478,7 @@ License: Apache-2.0
478
478
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
479
479
  Contained in: lib/jsdoc/ui5/plugin.js
480
480
 
481
- Component: SAP Theming Base Content, version: 11.1.44
481
+ Component: SAP Theming Base Content, version: 11.1.48
482
482
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
483
483
  License: Apache-2.0
484
484
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.fl",
3
- "version": "1.109.0",
3
+ "version": "1.111.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.fl",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.109.0",
18
- "@openui5/sap.ui.core": "1.109.0"
17
+ "@openui5/sap.m": "1.111.0",
18
+ "@openui5/sap.ui.core": "1.111.0"
19
19
  }
20
20
  }
@@ -4,9 +4,9 @@
4
4
  <name>sap.ui.fl</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>OpenUI5
7
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.109.0</version>
9
+ <version>1.111.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with sap.ui.fl controls.</documentation>
12
12
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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 @@ function(
24
24
  * @alias sap.ui.fl.Cache
25
25
  * @experimental Since 1.25.0
26
26
  * @author SAP SE
27
- * @version 1.109.0
27
+ * @version 1.111.0
28
28
  *
29
29
  * @private
30
30
  * @ui5-restricted sap.ui.fl
@@ -32,6 +32,7 @@ function(
32
32
  var Cache = function() {};
33
33
 
34
34
  function _getArray(sComponentName, oChange) {
35
+ // FIXME Don't mutate the storage response
35
36
  var mStorageResponse = FlexState.getFlexObjectsFromStorageResponse(sComponentName);
36
37
 
37
38
  if (oChange.fileType === "variant") {
@@ -77,6 +78,7 @@ function(
77
78
  * @param {string} mComponent.name - Name of the component
78
79
  * @param {object} [mPropertyBag] - Contains additional data needed for reading changes
79
80
  * @param {string} [mPropertyBag.componentId] - ID of the current component, needed if bInvalidataCache is set
81
+ * @param {string} [mPropertyBag.version] - Number of the version being processed
80
82
  * @param {boolean} bInvalidateCache - should the cache be invalidated
81
83
  * @returns {Promise} resolves with the change file for the given component, either from cache or back end
82
84
  */
@@ -122,7 +124,20 @@ function(
122
124
  .then(function(sCacheKey) {
123
125
  // concat current control variant ids to cachekey if available
124
126
  var oVariantModel = oAppComponent.getModel(ControlVariantApplyAPI.getVariantModelName());
125
- var aCurrentControlVariantIds = oVariantModel ? oVariantModel.getCurrentControlVariantIds() : [];
127
+ if (!oVariantModel) {
128
+ return sCacheKey;
129
+ }
130
+ // If there are no changes, the standard variant is created after the variant management control is instantiated
131
+ // When the cache key is calculated before this happens, the standard variant id is unknown
132
+ // To avoid inconsistencies between page load and navigation scenarios, all standard variants are filtered
133
+ var aVariantManagementControlIds = oVariantModel.getVariantManagementControlIds();
134
+ var aCurrentControlVariantIds = oVariantModel.getCurrentControlVariantIds()
135
+ .filter(function(sVariantId) {
136
+ // FIXME: The standard variant flag should be part of the variant instance
137
+ // This can be changed once the variant data selector is ready
138
+ // For now rely on the fact that standard variants have the same name as the vm control
139
+ return !aVariantManagementControlIds.includes(sVariantId);
140
+ });
126
141
  return _concatControlVariantIdWithCacheKey(sCacheKey, aCurrentControlVariantIds.join("-"));
127
142
  });
128
143
  };
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  *
67
67
  * @constructor
68
68
  * @author SAP SE
69
- * @version 1.109.0
69
+ * @version 1.111.0
70
70
  * @experimental Since 1.25.0
71
71
  * @param {object} mComponent - Component data to initiate <code>ChangePersistence</code> instance
72
72
  * @param {string} mComponent.name - Name of the component this instance is responsible for
@@ -178,6 +178,7 @@ sap.ui.define([
178
178
  * @param {boolean} [mPropertyBag.includeCtrlVariants] - Indicates that control variant changes shall be included
179
179
  * @param {string} [mPropertyBag.cacheKey] Key to validate the cache entry stored on client side
180
180
  * @param {sap.ui.core.Component} [mPropertyBag.component] - Component instance
181
+ * @param {string} [mPropertyBag.version] Number of the version to retrieve changes for
181
182
  * @param {boolean} bInvalidateCache - should the cache be invalidated
182
183
  * @returns {Promise} Promise resolving with an array of changes
183
184
  * @public
@@ -319,7 +320,7 @@ sap.ui.define([
319
320
  return DependencyHandler.getOpenDependentChangesForControl(this._mChanges, JsControlTreeModifier.getControlIdBySelector(oSelector, oAppComponent), oAppComponent);
320
321
  };
321
322
 
322
- function getInitalDependencyClone(oChange) {
323
+ function getInitialDependencyClone(oChange) {
323
324
  var mInitialDependencies = merge({}, this._mChangesInitial.mDependencies);
324
325
  return mInitialDependencies[oChange.getId()];
325
326
  }
@@ -356,8 +357,8 @@ sap.ui.define([
356
357
  * @param {sap.ui.core.Component} oAppComponent Application component instance that is currently loading
357
358
  * @returns {object} Returns the mChanges object with the updated dependencies
358
359
  */
359
- ChangePersistence.prototype.copyDependenciesFromInitialChangesMapSync = function(oChange, fnDependencyValidation, oAppComponent) {
360
- var oInitialDependency = getInitalDependencyClone.call(this, oChange);
360
+ ChangePersistence.prototype.copyDependenciesFromInitialChangesMap = function(oChange, fnDependencyValidation, oAppComponent) {
361
+ var oInitialDependency = getInitialDependencyClone.call(this, oChange);
361
362
  if (oInitialDependency) {
362
363
  var aNewValidDependencies = [];
363
364
  oInitialDependency.dependencies.forEach(function(sChangeId) {
@@ -372,39 +373,6 @@ sap.ui.define([
372
373
  return this._mChanges;
373
374
  };
374
375
 
375
- /**
376
- * This function copies the initial dependencies (before any changes got applied and dependencies got deleted) for the given change to the mChanges map
377
- * Also checks if the dependency is still valid in a callback
378
- * This function is used in the case that controls got destroyed and recreated
379
- *
380
- * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange The change whose dependencies should be copied
381
- * @param {function} fnDependencyValidation this function is called to check if the dependency is still valid
382
- * @param {sap.ui.core.Component} oAppComponent Application component instance that is currently loading
383
- * @returns {Promise} Resolves the mChanges object with the updated dependencies
384
- */
385
- ChangePersistence.prototype.copyDependenciesFromInitialChangesMap = function(oChange, fnDependencyValidation, oAppComponent) {
386
- var oInitialDependency = getInitalDependencyClone.call(this, oChange);
387
- if (oInitialDependency) {
388
- var aNewValidDependencies = [];
389
- return oInitialDependency.dependencies.reduce(function (oPreviousPromise, sChangeId) {
390
- return oPreviousPromise.then(function () {
391
- return fnDependencyValidation(sChangeId);
392
- }).then(function (bDependencyIsStillValid) {
393
- if (bDependencyIsStillValid) {
394
- this._mChanges.mDependentChangesOnMe[sChangeId] = this._mChanges.mDependentChangesOnMe[sChangeId] || [];
395
- this._mChanges.mDependentChangesOnMe[sChangeId].push(oChange.getId());
396
- aNewValidDependencies.push(sChangeId);
397
- }
398
- }.bind(this));
399
- }.bind(this), Promise.resolve())
400
- .then(function () {
401
- copyDependencies.call(this, oInitialDependency, aNewValidDependencies, oAppComponent, oChange);
402
- return this._mChanges;
403
- }.bind(this));
404
- }
405
- return Promise.resolve(this._mChanges);
406
- };
407
-
408
376
  /**
409
377
  * Adds a new change into changes map positioned right after the referenced change and updates the change dependencies
410
378
  *
@@ -529,6 +497,7 @@ sap.ui.define([
529
497
  // don't add the same change twice
530
498
  if (this._aDirtyChanges.indexOf(oNewChange) === -1) {
531
499
  this._aDirtyChanges.push(oNewChange);
500
+ FlexState.addDirtyFlexObject(this._mComponent.name, oNewChange);
532
501
  }
533
502
  return oNewChange;
534
503
  };
@@ -641,7 +610,14 @@ sap.ui.define([
641
610
  if (aDirtyChanges.length) {
642
611
  var aRequests = getRequests(aDirtyChanges);
643
612
  var aStates = getStates(aDirtyChanges);
644
- return aStates.length === 1 && aRequests.length === 1 && aStates[0] === States.LifecycleState.NEW;
613
+ var bCheckLayer = true;
614
+ if (Settings.getInstanceOrUndef() && Settings.getInstanceOrUndef().hasPersoConnector()) {
615
+ // Created public fl-Variant as default variant will created public and user changes
616
+ // no single request can be used, because CF needs PersoConnector and KeyuserConntector
617
+ var aLayers = getLayers(aDirtyChanges);
618
+ bCheckLayer = aLayers.length === 1;
619
+ }
620
+ return aStates.length === 1 && aRequests.length === 1 && aStates[0] === States.LifecycleState.NEW && bCheckLayer;
645
621
  }
646
622
  return true;
647
623
  }
@@ -796,6 +772,7 @@ sap.ui.define([
796
772
  oDirtyChange.setState(States.LifecycleState.PERSISTED);
797
773
  Cache.updateChange(this._mComponent, oDirtyChange.convertToFileContent());
798
774
  break;
775
+ default:
799
776
  }
800
777
  }
801
778
  }
@@ -838,6 +815,19 @@ sap.ui.define([
838
815
  return aStates;
839
816
  }
840
817
 
818
+ function getLayers(aDirtyChanges) {
819
+ var aLayers = [];
820
+
821
+ aDirtyChanges.forEach(function(oChange) {
822
+ var sLayer = oChange.getLayer();
823
+ if (aLayers.indexOf(sLayer) === -1) {
824
+ aLayers.push(sLayer);
825
+ }
826
+ });
827
+
828
+ return aLayers;
829
+ }
830
+
841
831
  function prepareDirtyChanges(aDirtyChanges) {
842
832
  var aChanges = [];
843
833
 
@@ -873,6 +863,7 @@ sap.ui.define([
873
863
  return;
874
864
  }
875
865
  this._aDirtyChanges.splice(nIndexInDirtyChanges, 1);
866
+ FlexState.removeDirtyFlexObject(this._mComponent.name, oChange);
876
867
  this._deleteChangeInMap(oChange, bRunTimeCreatedChange);
877
868
  return;
878
869
  }
@@ -887,6 +878,7 @@ sap.ui.define([
887
878
 
888
879
  if (nIndexInDirtyChanges > -1) {
889
880
  this._aDirtyChanges.splice(nIndexInDirtyChanges, 1);
881
+ FlexState.removeDirtyFlexObject(this._mComponent.name, oChange);
890
882
  }
891
883
  this._deleteChangeInMap(oChange);
892
884
  };
@@ -1005,7 +997,8 @@ sap.ui.define([
1005
997
  aChangesToBeRemoved.forEach(function (oChange) {
1006
998
  var nIndex = aDirtyChanges.indexOf(oChange);
1007
999
  aDirtyChanges.splice(nIndex, 1);
1008
- });
1000
+ FlexState.removeDirtyFlexObject(this._mComponent.name, oChange);
1001
+ }.bind(this));
1009
1002
 
1010
1003
  return Promise.resolve(aChangesToBeRemoved);
1011
1004
  };
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @alias sap.ui.fl.ChangePersistenceFactory
31
31
  * @experimental Since 1.27.0
32
32
  * @author SAP SE
33
- * @version 1.109.0
33
+ * @version 1.111.0
34
34
  * @private
35
35
  * @ui5-restricted sap.ui.fl
36
36
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -20,7 +20,7 @@ function(
20
20
  * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.109.0
23
+ * @version 1.111.0
24
24
  *
25
25
  * @private
26
26
  * @since 1.48
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -20,7 +20,7 @@ function(
20
20
  * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.109.0
23
+ * @version 1.111.0
24
24
  *
25
25
  * @private
26
26
  * @since 1.58
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @namespace
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.109.0
20
+ * @version 1.111.0
21
21
  *
22
22
  * @private
23
23
  * @since 1.48
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  * @alias sap.ui.fl.FlexController
89
89
  * @experimental Since 1.27.0
90
90
  * @author SAP SE
91
- * @version 1.109.0
91
+ * @version 1.111.0
92
92
  */
93
93
  var FlexController = function(sComponentName) {
94
94
  this._oChangePersistence = undefined;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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
  * @alias sap.ui.fl.FlexControllerFactory
35
35
  * @experimental Since 1.27.0
36
36
  * @author SAP SE
37
- * @version 1.109.0
37
+ * @version 1.111.0
38
38
  *
39
39
  * @private
40
40
  * @ui5-restricted sap.ui.fl
@@ -147,7 +147,7 @@ sap.ui.define([
147
147
  var sComponentId = oComponent.getId();
148
148
  // TODO: remove this line when the maps and filtered response are always up to data
149
149
  // Currently with the variants the maps are out of sync when the app gets loaded again without complete reload
150
- FlexState.clearFilteredResponse(ManifestUtils.getFlexReferenceForControl(oComponent));
150
+ FlexState.rebuildFilteredResponse(ManifestUtils.getFlexReferenceForControl(oComponent));
151
151
  var oReturnPromise = FlexState.initialize({
152
152
  componentId: sComponentId,
153
153
  asyncHints: vConfig.asyncHints
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -12,7 +12,7 @@ sap.ui.define([], function () {
12
12
  *
13
13
  * @alias sap.ui.fl.Layer
14
14
  * @private
15
- * @ui5-restricted sap.ui.fl, sap.ui.rta, UX Tools, SAPUI5 Visual Editor
15
+ * @ui5-restricted sap.ui.fl, sap.ui.rta, UX Tools, SAP Web IDE (Visual Editor)
16
16
  * @enum {string}
17
17
  */
18
18
  return {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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.LayerUtils
43
43
  * @author SAP SE
44
- * @version 1.109.0
44
+ * @version 1.111.0
45
45
  */
46
46
  var LayerUtils = {
47
47
  _mLayersIndex: mLayersIndex,
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @namespace
68
68
  * @alias sap.ui.fl.Utils
69
69
  * @author SAP SE
70
- * @version 1.109.0
70
+ * @version 1.111.0
71
71
  *
72
72
  * @private
73
73
  * @ui5-restricted sap.ui.fl, sap.ui.rta
@@ -118,8 +118,8 @@ sap.ui.define([
118
118
  // determine manifest out of found component
119
119
  if (oComponent && oComponent.getMetadata) {
120
120
  var oComponentMetaData = oComponent.getMetadata();
121
- if (oComponentMetaData && oComponentMetaData.getManifest) {
122
- return oComponentMetaData.getManifest();
121
+ if (oComponentMetaData && oComponentMetaData.getManifestObject) {
122
+ return oComponentMetaData.getManifestObject().getJson();
123
123
  }
124
124
  }
125
125
  }
@@ -702,27 +702,6 @@ sap.ui.define([
702
702
  return oResult;
703
703
  },
704
704
 
705
- /**
706
- * Wraps the async sap.ui.require call into a Promise.
707
- * @param {string} sModuleName Name of the required module
708
- * @returns {Promise} Returns a promise.
709
- */
710
- requireAsync: function(sModuleName) {
711
- //TODO: get rid of require async as soon as sap.ui.require has learned Promises as return value
712
- var oModule = sap.ui.require(sModuleName);
713
- // apply directly if class was already loaded
714
- if (oModule) {
715
- return Promise.resolve(oModule);
716
- }
717
- return new Promise(function(fnResolve, fnReject) {
718
- sap.ui.require([sModuleName], function(oModule) {
719
- fnResolve(oModule);
720
- }, function(oError) {
721
- fnReject(oError);
722
- });
723
- });
724
- },
725
-
726
705
  /**
727
706
  * Normalize reference, delete .Component at the end of the incoming string.
728
707
  * @param {string} sReference - Flex reference
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6