@openui5/sap.ui.fl 1.115.0 → 1.116.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 (260) hide show
  1. package/.eslintrc.json +33 -2
  2. package/.reuse/dep5 +0 -5
  3. package/THIRDPARTY.txt +1 -7
  4. package/package.json +3 -3
  5. package/src/sap/ui/fl/.library +1 -1
  6. package/src/sap/ui/fl/Cache.js +29 -29
  7. package/src/sap/ui/fl/ChangePersistence.js +69 -71
  8. package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
  9. package/src/sap/ui/fl/FakeLrepConnector.js +7 -7
  10. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +7 -7
  11. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +5 -5
  12. package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
  13. package/src/sap/ui/fl/FlexController.js +157 -130
  14. package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
  15. package/src/sap/ui/fl/Layer.js +1 -1
  16. package/src/sap/ui/fl/LayerUtils.js +11 -11
  17. package/src/sap/ui/fl/Utils.js +16 -17
  18. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +41 -38
  19. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
  20. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +114 -94
  21. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
  22. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +2 -2
  23. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -2
  24. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +19 -19
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +4 -5
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -2
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +15 -15
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +8 -8
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +6 -6
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -2
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +3 -5
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +4 -6
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +10 -10
  44. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -3
  45. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -2
  46. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -4
  47. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +4 -5
  48. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +29 -29
  49. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +1 -2
  50. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +6 -4
  51. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +44 -44
  52. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +3 -3
  53. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +15 -1
  54. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
  55. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
  56. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -14
  57. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +3 -1
  58. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +6 -5
  59. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +1 -1
  60. package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
  61. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +12 -4
  62. package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +1 -1
  63. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +23 -5
  64. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +183 -64
  65. package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +27 -17
  66. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +5 -5
  67. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +5 -5
  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 +4 -4
  71. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +50 -50
  72. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +27 -13
  73. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +5 -5
  74. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +5 -5
  75. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +55 -37
  76. package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +12 -12
  77. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +5 -5
  78. package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +6 -6
  79. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -2
  80. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +4 -4
  81. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +5 -5
  82. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +10 -4
  83. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +5 -5
  84. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +6 -6
  85. package/src/sap/ui/fl/changeHandler/AddIFrame.js +21 -21
  86. package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
  87. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +34 -34
  88. package/src/sap/ui/fl/changeHandler/Base.js +7 -7
  89. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +107 -107
  90. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +45 -45
  91. package/src/sap/ui/fl/changeHandler/BaseRename.js +26 -26
  92. package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
  93. package/src/sap/ui/fl/changeHandler/HideControl.js +15 -16
  94. package/src/sap/ui/fl/changeHandler/MoveControls.js +190 -191
  95. package/src/sap/ui/fl/changeHandler/MoveElements.js +36 -36
  96. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +7 -7
  97. package/src/sap/ui/fl/changeHandler/PropertyChange.js +7 -7
  98. package/src/sap/ui/fl/changeHandler/StashControl.js +35 -35
  99. package/src/sap/ui/fl/changeHandler/UnhideControl.js +7 -7
  100. package/src/sap/ui/fl/changeHandler/UnstashControl.js +21 -21
  101. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +39 -39
  102. package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +1 -1
  103. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +5 -5
  104. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +5 -5
  105. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +12 -12
  106. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +7 -9
  107. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
  108. package/src/sap/ui/fl/descriptorRelated/internal/Utils.js +12 -12
  109. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +60 -60
  110. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +2 -5
  111. package/src/sap/ui/fl/initial/_internal/Storage.js +18 -19
  112. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +4 -4
  113. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +20 -21
  114. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +6 -6
  115. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
  116. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +2 -2
  117. package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
  118. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +4 -4
  119. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +2 -2
  120. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +18 -18
  121. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +4 -4
  122. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
  123. package/src/sap/ui/fl/interfaces/Delegate.js +7 -9
  124. package/src/sap/ui/fl/library.js +44 -45
  125. package/src/sap/ui/fl/library.support.js +59 -59
  126. package/src/sap/ui/fl/messagebundle.properties +4 -119
  127. package/src/sap/ui/fl/messagebundle_ar.properties +2 -79
  128. package/src/sap/ui/fl/messagebundle_bg.properties +2 -79
  129. package/src/sap/ui/fl/messagebundle_ca.properties +2 -79
  130. package/src/sap/ui/fl/messagebundle_cs.properties +2 -79
  131. package/src/sap/ui/fl/messagebundle_cy.properties +2 -79
  132. package/src/sap/ui/fl/messagebundle_da.properties +2 -79
  133. package/src/sap/ui/fl/messagebundle_de.properties +2 -79
  134. package/src/sap/ui/fl/messagebundle_el.properties +2 -79
  135. package/src/sap/ui/fl/messagebundle_en.properties +2 -79
  136. package/src/sap/ui/fl/messagebundle_en_GB.properties +2 -79
  137. package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +2 -79
  138. package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +2 -79
  139. package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +2 -79
  140. package/src/sap/ui/fl/messagebundle_es.properties +2 -79
  141. package/src/sap/ui/fl/messagebundle_es_MX.properties +2 -79
  142. package/src/sap/ui/fl/messagebundle_et.properties +2 -79
  143. package/src/sap/ui/fl/messagebundle_fi.properties +2 -79
  144. package/src/sap/ui/fl/messagebundle_fr.properties +2 -79
  145. package/src/sap/ui/fl/messagebundle_fr_CA.properties +2 -79
  146. package/src/sap/ui/fl/messagebundle_hi.properties +2 -79
  147. package/src/sap/ui/fl/messagebundle_hr.properties +2 -79
  148. package/src/sap/ui/fl/messagebundle_hu.properties +2 -79
  149. package/src/sap/ui/fl/messagebundle_id.properties +2 -79
  150. package/src/sap/ui/fl/messagebundle_it.properties +2 -79
  151. package/src/sap/ui/fl/messagebundle_iw.properties +2 -79
  152. package/src/sap/ui/fl/messagebundle_ja.properties +2 -79
  153. package/src/sap/ui/fl/messagebundle_kk.properties +2 -79
  154. package/src/sap/ui/fl/messagebundle_ko.properties +2 -79
  155. package/src/sap/ui/fl/messagebundle_lt.properties +2 -79
  156. package/src/sap/ui/fl/messagebundle_lv.properties +2 -79
  157. package/src/sap/ui/fl/messagebundle_ms.properties +2 -79
  158. package/src/sap/ui/fl/messagebundle_nl.properties +2 -79
  159. package/src/sap/ui/fl/messagebundle_no.properties +2 -79
  160. package/src/sap/ui/fl/messagebundle_pl.properties +2 -79
  161. package/src/sap/ui/fl/messagebundle_pt.properties +2 -79
  162. package/src/sap/ui/fl/messagebundle_pt_PT.properties +2 -79
  163. package/src/sap/ui/fl/messagebundle_ro.properties +2 -79
  164. package/src/sap/ui/fl/messagebundle_ru.properties +2 -79
  165. package/src/sap/ui/fl/messagebundle_sh.properties +2 -79
  166. package/src/sap/ui/fl/messagebundle_sk.properties +2 -79
  167. package/src/sap/ui/fl/messagebundle_sl.properties +2 -79
  168. package/src/sap/ui/fl/messagebundle_sv.properties +2 -79
  169. package/src/sap/ui/fl/messagebundle_th.properties +2 -79
  170. package/src/sap/ui/fl/messagebundle_tr.properties +2 -79
  171. package/src/sap/ui/fl/messagebundle_uk.properties +3 -80
  172. package/src/sap/ui/fl/messagebundle_vi.properties +2 -79
  173. package/src/sap/ui/fl/messagebundle_zh_CN.properties +2 -79
  174. package/src/sap/ui/fl/messagebundle_zh_TW.properties +2 -79
  175. package/src/sap/ui/fl/registry/Settings.js +41 -43
  176. package/src/sap/ui/fl/requireAsync.js +7 -1
  177. package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +8 -8
  178. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +22 -22
  179. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +3 -3
  180. package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
  181. package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +3 -5
  182. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +27 -27
  183. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +20 -20
  184. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +17 -17
  185. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +4 -4
  186. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +34 -34
  187. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +10 -10
  188. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +5 -5
  189. package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
  190. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +2 -2
  191. package/src/sap/ui/fl/util/IFrame.js +18 -18
  192. package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
  193. package/src/sap/ui/fl/util/ManagedObjectModel.js +7 -7
  194. package/src/sap/ui/fl/util/changePropertyValueByPath.js +2 -2
  195. package/src/sap/ui/fl/util/getContainerUserInfo.js +25 -25
  196. package/src/sap/ui/fl/util/resolveBinding.js +3 -3
  197. package/src/sap/ui/fl/variants/VariantManagement.js +8 -32
  198. package/src/sap/ui/fl/variants/VariantModel.js +182 -124
  199. package/src/sap/ui/fl/variants/context/Component.js +1 -2
  200. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +2 -5
  201. package/src/sap/ui/fl/write/_internal/SaveAs.js +143 -143
  202. package/src/sap/ui/fl/write/_internal/Storage.js +46 -49
  203. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +4 -4
  204. package/src/sap/ui/fl/write/_internal/Versions.js +104 -94
  205. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +9 -9
  206. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +7 -7
  207. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
  208. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +3 -5
  209. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +15 -10
  210. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
  211. package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
  212. package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
  213. package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
  214. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +10 -10
  215. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +23 -24
  216. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +60 -61
  217. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +4 -4
  218. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +6 -6
  219. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
  220. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +14 -14
  221. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +3 -3
  222. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +15 -7
  223. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +2 -2
  224. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
  225. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
  226. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
  227. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -3
  228. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
  229. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
  230. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +3 -3
  231. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
  232. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +2 -2
  233. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +2 -2
  234. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  235. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +3 -3
  236. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +4 -4
  237. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +2 -2
  238. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +26 -26
  239. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +78 -57
  240. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +12 -13
  241. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +12 -12
  242. package/src/sap/ui/fl/write/_internal/transport/Transports.js +7 -7
  243. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +7 -7
  244. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +9 -9
  245. package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +546 -110
  246. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +109 -67
  247. package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +3 -3
  248. package/src/sap/ui/fl/write/api/FeaturesAPI.js +19 -20
  249. package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
  250. package/src/sap/ui/fl/write/api/LocalResetAPI.js +19 -19
  251. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +59 -54
  252. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +8 -8
  253. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +6 -6
  254. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +14 -13
  255. package/src/sap/ui/fl/write/api/TranslationAPI.js +13 -13
  256. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
  257. package/src/sap/ui/fl/write/api/VersionsAPI.js +14 -14
  258. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
  259. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +7 -7
  260. package/src/sap/ui/fl/write/connectors/BaseConnector.js +17 -17
@@ -21,7 +21,7 @@ function(
21
21
  *
22
22
  * @alias sap.ui.fl.changeHandler.MoveControls
23
23
  * @author SAP SE
24
- * @version 1.115.0
24
+ * @version 1.116.0
25
25
  * @experimental Since 1.46
26
26
  */
27
27
  var MoveControls = { };
@@ -31,7 +31,6 @@ function(
31
31
  MoveControls.TARGET_ALIAS = "target";
32
32
  MoveControls.MOVED_ELEMENTS_ALIAS = "movedElements";
33
33
 
34
-
35
34
  function fnCheckConditions(oChange, oModifier, oView, oAppComponent) {
36
35
  if (!oChange) {
37
36
  return Promise.reject(new Error("No change instance"));
@@ -73,13 +72,13 @@ function(
73
72
  }
74
73
 
75
74
  return Promise.resolve()
76
- .then(oModifier.bySelector.bind(oModifier, mMovedElement.selector || mMovedElement.id, oAppComponent, oView))
77
- .then(function(oControl) {
78
- if (!oControl) {
79
- return Promise.reject(new Error("Control to move was not found. Id: '" + mMovedElement.selector.id + "'"));
80
- }
81
- return oControl;
82
- });
75
+ .then(oModifier.bySelector.bind(oModifier, mMovedElement.selector || mMovedElement.id, oAppComponent, oView))
76
+ .then(function(oControl) {
77
+ if (!oControl) {
78
+ return Promise.reject(new Error("Control to move was not found. Id: '" + mMovedElement.selector.id + "'"));
79
+ }
80
+ return oControl;
81
+ });
83
82
  }
84
83
 
85
84
  function fnCheckCompleteChangeContentConditions(mSpecificChangeInfo) {
@@ -90,7 +89,7 @@ function(
90
89
  return Promise.reject(new Error("MovedElements array is empty"));
91
90
  }
92
91
 
93
- mSpecificChangeInfo.movedElements.forEach(function (mElement) {
92
+ mSpecificChangeInfo.movedElements.forEach(function(mElement) {
94
93
  if (!mElement.id) {
95
94
  throw new Error("MovedControls element has no id attribute");
96
95
  }
@@ -112,45 +111,45 @@ function(
112
111
  var oTargetParent;
113
112
 
114
113
  return Promise.resolve()
115
- .then(function() {
116
- return mSpecificChangeInfo.source.parent || oModifier.bySelector(mSpecificChangeInfo.source.id, oAppComponent);
117
- })
118
- .then(function(oRetrievedSourceParent) {
119
- oSourceParent = oRetrievedSourceParent;
120
- return mSpecificChangeInfo.target.parent || oModifier.bySelector(mSpecificChangeInfo.target.id, oAppComponent);
121
- })
122
- .then(function(oReturnedTargetParent) {
123
- oTargetParent = oReturnedTargetParent;
124
- var sSourceAggregation = mSpecificChangeInfo.source.aggregation;
125
- var sTargetAggregation = mSpecificChangeInfo.target.aggregation;
126
- var mAdditionalSourceInfo = {
127
- aggregation: mSpecificChangeInfo.source.aggregation,
128
- type: oModifier.getControlType(oSourceParent)
129
- };
114
+ .then(function() {
115
+ return mSpecificChangeInfo.source.parent || oModifier.bySelector(mSpecificChangeInfo.source.id, oAppComponent);
116
+ })
117
+ .then(function(oRetrievedSourceParent) {
118
+ oSourceParent = oRetrievedSourceParent;
119
+ return mSpecificChangeInfo.target.parent || oModifier.bySelector(mSpecificChangeInfo.target.id, oAppComponent);
120
+ })
121
+ .then(function(oReturnedTargetParent) {
122
+ oTargetParent = oReturnedTargetParent;
123
+ var sSourceAggregation = mSpecificChangeInfo.source.aggregation;
124
+ var sTargetAggregation = mSpecificChangeInfo.target.aggregation;
125
+ var mAdditionalSourceInfo = {
126
+ aggregation: mSpecificChangeInfo.source.aggregation,
127
+ type: oModifier.getControlType(oSourceParent)
128
+ };
130
129
 
131
- var mAdditionalTargetInfo = {
132
- aggregation: mSpecificChangeInfo.target.aggregation,
133
- type: oModifier.getControlType(oTargetParent)
134
- };
130
+ var mAdditionalTargetInfo = {
131
+ aggregation: mSpecificChangeInfo.target.aggregation,
132
+ type: oModifier.getControlType(oTargetParent)
133
+ };
135
134
 
136
- var mSpecificInfo = {
137
- source: {
138
- id: oSourceParent.getId(),
139
- aggregation: sSourceAggregation,
140
- type: mAdditionalSourceInfo.type,
141
- selector: oModifier.getSelector(mSpecificChangeInfo.source.id, oAppComponent, mAdditionalSourceInfo)
142
- },
143
- target: {
144
- id: oTargetParent.getId(),
145
- aggregation: sTargetAggregation,
146
- type: mAdditionalTargetInfo.type,
147
- selector: oModifier.getSelector(mSpecificChangeInfo.target.id, oAppComponent, mAdditionalTargetInfo)
148
- },
149
- movedElements: mSpecificChangeInfo.movedElements
150
- };
135
+ var mSpecificInfo = {
136
+ source: {
137
+ id: oSourceParent.getId(),
138
+ aggregation: sSourceAggregation,
139
+ type: mAdditionalSourceInfo.type,
140
+ selector: oModifier.getSelector(mSpecificChangeInfo.source.id, oAppComponent, mAdditionalSourceInfo)
141
+ },
142
+ target: {
143
+ id: oTargetParent.getId(),
144
+ aggregation: sTargetAggregation,
145
+ type: mAdditionalTargetInfo.type,
146
+ selector: oModifier.getSelector(mSpecificChangeInfo.target.id, oAppComponent, mAdditionalTargetInfo)
147
+ },
148
+ movedElements: mSpecificChangeInfo.movedElements
149
+ };
151
150
 
152
- return mSpecificInfo;
153
- });
151
+ return mSpecificInfo;
152
+ });
154
153
  }
155
154
 
156
155
  /**
@@ -186,73 +185,73 @@ function(
186
185
  var aRevertData = [];
187
186
  var aPromises = [];
188
187
  return fnCheckConditions(oChange, oModifier, oView, oAppComponent)
189
- .then(function() {
190
- oChangeContent.movedElements.forEach(function(mMovedElement) {
191
- var fnPromise = function() {
192
- return Promise.resolve()
193
- .then(fnGetElementControlOrThrowError.bind(null, mMovedElement, oModifier, oAppComponent, oView))
194
- .then(function(oRetrievedMovedElement) {
195
- oMovedElement = oRetrievedMovedElement;
196
- oSourceParent = oModifier.getParent(oMovedElement);
197
- // mPropertyBag.sourceAggregation and mPropertyBag.targetAggregation should always be used when available
198
- return mPropertyBag.sourceAggregation || oModifier.getParentAggregationName(oMovedElement, oSourceParent);
199
- })
200
- .then(function(sRetrievedAggregation) {
201
- sSourceAggregation = sRetrievedAggregation;
202
- return oModifier.bySelector(oChangeContent.target.selector, oAppComponent, oView);
203
- })
204
- .then(function(oRetrievedTargetParent) {
205
- oTargetParent = oRetrievedTargetParent;
206
- sTargetAggregation = mPropertyBag.targetAggregation || oChangeContent.target.selector.aggregation;
207
- // save the current index, sourceParent and sourceAggregation for revert
208
- return oModifier.findIndexInParentAggregation(oMovedElement);
209
- })
210
- .then(function(iRetrievedSourceIndex) {
211
- iSourceIndex = iRetrievedSourceIndex;
212
- iInsertIndex = mMovedElement.targetIndex;
213
- if (iSourceIndex > -1) {
214
- // if iIndex === iInsertIndex and source===target the operation was already performed (e.g. drag&drop in RTA)
215
- // in this case we need the sourceIndex and sourceParent that is saved in the change in order to revert it to the correct index
216
- // and we can't use the current aggregations/parents
217
- if (
218
- iSourceIndex === iInsertIndex
188
+ .then(function() {
189
+ oChangeContent.movedElements.forEach(function(mMovedElement) {
190
+ var fnPromise = function() {
191
+ return Promise.resolve()
192
+ .then(fnGetElementControlOrThrowError.bind(null, mMovedElement, oModifier, oAppComponent, oView))
193
+ .then(function(oRetrievedMovedElement) {
194
+ oMovedElement = oRetrievedMovedElement;
195
+ oSourceParent = oModifier.getParent(oMovedElement);
196
+ // mPropertyBag.sourceAggregation and mPropertyBag.targetAggregation should always be used when available
197
+ return mPropertyBag.sourceAggregation || oModifier.getParentAggregationName(oMovedElement, oSourceParent);
198
+ })
199
+ .then(function(sRetrievedAggregation) {
200
+ sSourceAggregation = sRetrievedAggregation;
201
+ return oModifier.bySelector(oChangeContent.target.selector, oAppComponent, oView);
202
+ })
203
+ .then(function(oRetrievedTargetParent) {
204
+ oTargetParent = oRetrievedTargetParent;
205
+ sTargetAggregation = mPropertyBag.targetAggregation || oChangeContent.target.selector.aggregation;
206
+ // save the current index, sourceParent and sourceAggregation for revert
207
+ return oModifier.findIndexInParentAggregation(oMovedElement);
208
+ })
209
+ .then(function(iRetrievedSourceIndex) {
210
+ iSourceIndex = iRetrievedSourceIndex;
211
+ iInsertIndex = mMovedElement.targetIndex;
212
+ if (iSourceIndex > -1) {
213
+ // if iIndex === iInsertIndex and source===target the operation was already performed (e.g. drag&drop in RTA)
214
+ // in this case we need the sourceIndex and sourceParent that is saved in the change in order to revert it to the correct index
215
+ // and we can't use the current aggregations/parents
216
+ if (
217
+ iSourceIndex === iInsertIndex
219
218
  && sSourceAggregation === sTargetAggregation
220
219
  && oModifier.getParent(oMovedElement) === oTargetParent
221
- ) {
222
- iSourceIndex = mMovedElement.sourceIndex;
223
- sSourceAggregation = mPropertyBag.sourceAggregation || oChangeContent.source.selector.aggregation;
224
- bChangeAlreadyPerformed = true;
225
- return oModifier.bySelector(oChangeContent.source.selector, oAppComponent, oView);
226
- }
227
- }
228
- return Promise.resolve();
229
- })
230
- .then(function (oRetrievedSourceParent) {
231
- if (oRetrievedSourceParent) {
232
- oSourceParent = oRetrievedSourceParent;
233
- }
234
- if (iSourceIndex > -1) {
235
- aRevertData.unshift({
236
- index: iSourceIndex,
237
- aggregation: sSourceAggregation,
238
- sourceParent: oModifier.getSelector(oSourceParent, oAppComponent)
239
- });
240
- }
241
- if (!bChangeAlreadyPerformed) {
242
- return Promise.resolve()
243
- .then(oModifier.removeAggregation.bind(oModifier, oSourceParent, sSourceAggregation, oMovedElement))
244
- .then(oModifier.insertAggregation.bind(oModifier, oTargetParent, sTargetAggregation, oMovedElement, iInsertIndex, oView));
245
- }
246
- return Promise.resolve();
220
+ ) {
221
+ iSourceIndex = mMovedElement.sourceIndex;
222
+ sSourceAggregation = mPropertyBag.sourceAggregation || oChangeContent.source.selector.aggregation;
223
+ bChangeAlreadyPerformed = true;
224
+ return oModifier.bySelector(oChangeContent.source.selector, oAppComponent, oView);
225
+ }
226
+ }
227
+ return Promise.resolve();
228
+ })
229
+ .then(function(oRetrievedSourceParent) {
230
+ if (oRetrievedSourceParent) {
231
+ oSourceParent = oRetrievedSourceParent;
232
+ }
233
+ if (iSourceIndex > -1) {
234
+ aRevertData.unshift({
235
+ index: iSourceIndex,
236
+ aggregation: sSourceAggregation,
237
+ sourceParent: oModifier.getSelector(oSourceParent, oAppComponent)
247
238
  });
248
- };
249
- aPromises.push(fnPromise);
250
- }, this);
251
- return FlUtils.execPromiseQueueSequentially(aPromises, true, true);
252
- }.bind(this))
253
- .then(function() {
254
- oChange.setRevertData(aRevertData);
255
- });
239
+ }
240
+ if (!bChangeAlreadyPerformed) {
241
+ return Promise.resolve()
242
+ .then(oModifier.removeAggregation.bind(oModifier, oSourceParent, sSourceAggregation, oMovedElement))
243
+ .then(oModifier.insertAggregation.bind(oModifier, oTargetParent, sTargetAggregation, oMovedElement, iInsertIndex, oView));
244
+ }
245
+ return Promise.resolve();
246
+ });
247
+ };
248
+ aPromises.push(fnPromise);
249
+ }, this);
250
+ return FlUtils.execPromiseQueueSequentially(aPromises, true, true);
251
+ }.bind(this))
252
+ .then(function() {
253
+ oChange.setRevertData(aRevertData);
254
+ });
256
255
  };
257
256
 
258
257
  /**
@@ -287,54 +286,54 @@ function(
287
286
  var iInsertIndex;
288
287
 
289
288
  return fnCheckConditions(oChange, oModifier, oView, oAppComponent)
290
- .then(oModifier.bySelector.bind(oModifier, oChangeContent.source.selector, oAppComponent, oView))
291
- .then(function(oRetrievedSourceParent) {
292
- oSourceParent = oRetrievedSourceParent;
293
- sSourceAggregation = oChangeContent.source.selector.aggregation;
294
- sTargetAggregation = oChangeContent.target.selector.aggregation;
295
- return oModifier.bySelector(oChangeContent.target.selector, oAppComponent, oView);
296
- })
297
- .then(function(oRetrievedTargetParent) {
298
- oTargetParent = oRetrievedTargetParent;
299
- var aRevertData = oChange.getRevertData();
300
- oChangeContent.movedElements.reverse();
301
- var aPromises = [];
302
- oChangeContent.movedElements.forEach(function(mMovedElement, iElementIndex) {
303
- var fnPromise = function() {
304
- return Promise.resolve()
305
- .then(fnGetElementControlOrThrowError.bind(this, mMovedElement, oModifier, oAppComponent, oView))
306
- .then(function(oRetrievedMovedElement) {
307
- oMovedElement = oRetrievedMovedElement;
308
- if (!oMovedElement) {
309
- Log.warning("Element to move not found");
310
- return Promise.reject();
311
- }
312
- iInsertIndex = mMovedElement.sourceIndex;
313
- if (aRevertData) {
314
- var mRevertData = aRevertData[iElementIndex];
315
- sSourceAggregation = mRevertData.aggregation;
316
- iInsertIndex = mRevertData.index;
317
- return oModifier.bySelector(mRevertData.sourceParent, oAppComponent, oView);
318
- }
319
- return Promise.resolve();
320
- })
321
- .then(function(oRetrievedSourceParent) {
322
- if (oRetrievedSourceParent) {
323
- oSourceParent = oRetrievedSourceParent;
324
- }
325
- return oModifier.removeAggregation(oTargetParent, sTargetAggregation, oMovedElement);
326
- })
327
- .then(function() {
328
- return oModifier.insertAggregation(oSourceParent, sSourceAggregation, oMovedElement, iInsertIndex, oView);
329
- });
330
- }.bind(this);
331
- aPromises.push(fnPromise);
332
- }, this);
333
- return FlUtils.execPromiseQueueSequentially(aPromises, true, true);
334
- }.bind(this))
335
- .then(function() {
336
- oChange.resetRevertData();
337
- });
289
+ .then(oModifier.bySelector.bind(oModifier, oChangeContent.source.selector, oAppComponent, oView))
290
+ .then(function(oRetrievedSourceParent) {
291
+ oSourceParent = oRetrievedSourceParent;
292
+ sSourceAggregation = oChangeContent.source.selector.aggregation;
293
+ sTargetAggregation = oChangeContent.target.selector.aggregation;
294
+ return oModifier.bySelector(oChangeContent.target.selector, oAppComponent, oView);
295
+ })
296
+ .then(function(oRetrievedTargetParent) {
297
+ oTargetParent = oRetrievedTargetParent;
298
+ var aRevertData = oChange.getRevertData();
299
+ oChangeContent.movedElements.reverse();
300
+ var aPromises = [];
301
+ oChangeContent.movedElements.forEach(function(mMovedElement, iElementIndex) {
302
+ var fnPromise = function() {
303
+ return Promise.resolve()
304
+ .then(fnGetElementControlOrThrowError.bind(this, mMovedElement, oModifier, oAppComponent, oView))
305
+ .then(function(oRetrievedMovedElement) {
306
+ oMovedElement = oRetrievedMovedElement;
307
+ if (!oMovedElement) {
308
+ Log.warning("Element to move not found");
309
+ return Promise.reject();
310
+ }
311
+ iInsertIndex = mMovedElement.sourceIndex;
312
+ if (aRevertData) {
313
+ var mRevertData = aRevertData[iElementIndex];
314
+ sSourceAggregation = mRevertData.aggregation;
315
+ iInsertIndex = mRevertData.index;
316
+ return oModifier.bySelector(mRevertData.sourceParent, oAppComponent, oView);
317
+ }
318
+ return Promise.resolve();
319
+ })
320
+ .then(function(oRetrievedSourceParent) {
321
+ if (oRetrievedSourceParent) {
322
+ oSourceParent = oRetrievedSourceParent;
323
+ }
324
+ return oModifier.removeAggregation(oTargetParent, sTargetAggregation, oMovedElement);
325
+ })
326
+ .then(function() {
327
+ return oModifier.insertAggregation(oSourceParent, sSourceAggregation, oMovedElement, iInsertIndex, oView);
328
+ });
329
+ }.bind(this);
330
+ aPromises.push(fnPromise);
331
+ }, this);
332
+ return FlUtils.execPromiseQueueSequentially(aPromises, true, true);
333
+ }.bind(this))
334
+ .then(function() {
335
+ oChange.resetRevertData();
336
+ });
338
337
  };
339
338
 
340
339
  /**
@@ -355,42 +354,42 @@ function(
355
354
  var oAppComponent = mPropertyBag.appComponent;
356
355
 
357
356
  return fnCheckCompleteChangeContentConditions(mSpecificChangeInfo)
358
- .then(fnGetSpecificChangeInfo.bind(this, oModifier, mSpecificChangeInfo, oAppComponent))
359
- .then(function(mSpecificChangeInfo) {
360
- var oContent = {
361
- movedElements: [],
362
- source: {
363
- selector: mSpecificChangeInfo.source.selector
364
- },
365
- target: {
366
- selector: mSpecificChangeInfo.target.selector
367
- }
368
- };
357
+ .then(fnGetSpecificChangeInfo.bind(this, oModifier, mSpecificChangeInfo, oAppComponent))
358
+ .then(function(mSpecificChangeInfo) {
359
+ var oContent = {
360
+ movedElements: [],
361
+ source: {
362
+ selector: mSpecificChangeInfo.source.selector
363
+ },
364
+ target: {
365
+ selector: mSpecificChangeInfo.target.selector
366
+ }
367
+ };
369
368
 
370
- var aPromises = [];
371
- mSpecificChangeInfo.movedElements.forEach(function(mElement) {
372
- var oPromise = Promise.resolve()
373
- .then(function() {
374
- return mElement.element || oModifier.bySelector(mElement.id, oAppComponent);
375
- })
376
- .then(function(oElement) {
377
- oContent.movedElements.push({
378
- selector: oModifier.getSelector(oElement, oAppComponent),
379
- sourceIndex: mElement.sourceIndex,
380
- targetIndex: mElement.targetIndex
381
- });
382
- oChange.addDependentControl(mSpecificChangeInfo.source.id, MoveControls.SOURCE_ALIAS, mPropertyBag);
383
- oChange.addDependentControl(mSpecificChangeInfo.target.id, MoveControls.TARGET_ALIAS, mPropertyBag);
384
- oChange.addDependentControl(mSpecificChangeInfo.movedElements.map(function (element) {
385
- return element.id;
386
- }), MoveControls.MOVED_ELEMENTS_ALIAS, mPropertyBag);
387
- });
388
- aPromises.push(oPromise);
389
- });
390
- return Promise.all(aPromises).then(function() {
391
- oChange.setContent(oContent);
369
+ var aPromises = [];
370
+ mSpecificChangeInfo.movedElements.forEach(function(mElement) {
371
+ var oPromise = Promise.resolve()
372
+ .then(function() {
373
+ return mElement.element || oModifier.bySelector(mElement.id, oAppComponent);
374
+ })
375
+ .then(function(oElement) {
376
+ oContent.movedElements.push({
377
+ selector: oModifier.getSelector(oElement, oAppComponent),
378
+ sourceIndex: mElement.sourceIndex,
379
+ targetIndex: mElement.targetIndex
380
+ });
381
+ oChange.addDependentControl(mSpecificChangeInfo.source.id, MoveControls.SOURCE_ALIAS, mPropertyBag);
382
+ oChange.addDependentControl(mSpecificChangeInfo.target.id, MoveControls.TARGET_ALIAS, mPropertyBag);
383
+ oChange.addDependentControl(mSpecificChangeInfo.movedElements.map(function(element) {
384
+ return element.id;
385
+ }), MoveControls.MOVED_ELEMENTS_ALIAS, mPropertyBag);
392
386
  });
387
+ aPromises.push(oPromise);
388
+ });
389
+ return Promise.all(aPromises).then(function() {
390
+ oChange.setContent(oContent);
393
391
  });
392
+ });
394
393
  };
395
394
 
396
395
  /**
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  *
19
19
  * @alias sap.ui.fl.changeHandler.MoveElements
20
20
  * @author SAP SE
21
- * @version 1.115.0
21
+ * @version 1.116.0
22
22
  * @experimental Since 1.34.0
23
23
  */
24
24
  var MoveElements = { };
@@ -61,24 +61,24 @@ sap.ui.define([
61
61
  }
62
62
 
63
63
  return Promise.resolve()
64
- .then(function() {
65
- return oModifier.bySelector(mMovedElement.selector || mMovedElement.id, oAppComponent, oView);
66
- });
64
+ .then(function() {
65
+ return oModifier.bySelector(mMovedElement.selector || mMovedElement.id, oAppComponent, oView);
66
+ });
67
67
  }
68
68
 
69
69
  function fnHandleMovedElement(mMovedElement, oModifier, oAppComponent, oView, oSourceParent, oTargetParent, sSourceAggregation, sTargetAggregation) {
70
70
  var oMovedElement;
71
71
  return fnGetElementControlOrThrowError(mMovedElement, oModifier, oAppComponent, oView)
72
- .then(function(oRetrievedMovedElement) {
73
- oMovedElement = oRetrievedMovedElement;
74
- if (!oMovedElement) {
75
- Log.warning("Element to move not found");
76
- return Promise.reject();
77
- }
78
- return Promise.resolve()
79
- .then(oModifier.removeAggregation.bind(oModifier, oSourceParent, sSourceAggregation, oMovedElement))
80
- .then(oModifier.insertAggregation.bind(oModifier, oTargetParent, sTargetAggregation, oMovedElement, mMovedElement.targetIndex, oView));
81
- });
72
+ .then(function(oRetrievedMovedElement) {
73
+ oMovedElement = oRetrievedMovedElement;
74
+ if (!oMovedElement) {
75
+ Log.warning("Element to move not found");
76
+ return Promise.reject();
77
+ }
78
+ return Promise.resolve()
79
+ .then(oModifier.removeAggregation.bind(oModifier, oSourceParent, sSourceAggregation, oMovedElement))
80
+ .then(oModifier.insertAggregation.bind(oModifier, oTargetParent, sTargetAggregation, oMovedElement, mMovedElement.targetIndex, oView));
81
+ });
82
82
  }
83
83
 
84
84
  /**
@@ -106,35 +106,35 @@ sap.ui.define([
106
106
  var oTargetParent;
107
107
 
108
108
  return fnCheckConditions(oChange, oModifier, oView, oAppComponent)
109
- .then(function() {
110
- sSourceAggregation = oChange.getSelector().aggregation;
111
- sTargetAggregation = oChangeContent.target.selector.aggregation;
112
- return oModifier.bySelector(oChangeContent.target.selector, oAppComponent, oView);
113
- })
114
- .then(function(oRetrievedTargetParent) {
115
- oTargetParent = oRetrievedTargetParent;
116
- var aPromises = [];
117
- oChangeContent.movedElements.forEach(function(mMovedElement) {
118
- aPromises.push(fnHandleMovedElement.bind(
119
- null,
120
- mMovedElement,
121
- oModifier,
122
- oAppComponent,
123
- oView,
124
- oSourceParent,
125
- oTargetParent,
126
- sSourceAggregation,
127
- sTargetAggregation));
128
- });
129
- return FlUtils.execPromiseQueueSequentially(aPromises, true, true);
109
+ .then(function() {
110
+ sSourceAggregation = oChange.getSelector().aggregation;
111
+ sTargetAggregation = oChangeContent.target.selector.aggregation;
112
+ return oModifier.bySelector(oChangeContent.target.selector, oAppComponent, oView);
113
+ })
114
+ .then(function(oRetrievedTargetParent) {
115
+ oTargetParent = oRetrievedTargetParent;
116
+ var aPromises = [];
117
+ oChangeContent.movedElements.forEach(function(mMovedElement) {
118
+ aPromises.push(fnHandleMovedElement.bind(
119
+ null,
120
+ mMovedElement,
121
+ oModifier,
122
+ oAppComponent,
123
+ oView,
124
+ oSourceParent,
125
+ oTargetParent,
126
+ sSourceAggregation,
127
+ sTargetAggregation));
130
128
  });
129
+ return FlUtils.execPromiseQueueSequentially(aPromises, true, true);
130
+ });
131
131
  };
132
132
 
133
133
  /**
134
134
  * @deprecated
135
135
  */
136
136
  MoveElements.completeChangeContent = function() {
137
- throw new Error('Using deprecated change handler. Please consider using \'MoveControls\' instead');
137
+ throw new Error("Using deprecated change handler. Please consider using 'MoveControls' instead");
138
138
  };
139
139
 
140
140
  /**
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  *
19
19
  * @alias sap.ui.fl.changeHandler.PropertyBindingChange
20
20
  * @author SAP SE
21
- * @version 1.115.0
21
+ * @version 1.116.0
22
22
  * @since 1.38
23
23
  * @private
24
24
  * @experimental Since 1.38. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -53,13 +53,13 @@ sap.ui.define([
53
53
  // }
54
54
 
55
55
  return Promise.resolve()
56
- .then(oModifier.getPropertyBindingOrProperty.bind(oModifier, oControl, sPropertyName))
57
- .then(function(vOriginalValue) {
58
- oChange.setRevertData({
59
- originalValue: vOriginalValue
60
- });
61
- oModifier.setPropertyBinding(oControl, sPropertyName, vPropertyValue);
56
+ .then(oModifier.getPropertyBindingOrProperty.bind(oModifier, oControl, sPropertyName))
57
+ .then(function(vOriginalValue) {
58
+ oChange.setRevertData({
59
+ originalValue: vOriginalValue
62
60
  });
61
+ oModifier.setPropertyBinding(oControl, sPropertyName, vPropertyValue);
62
+ });
63
63
  };
64
64
 
65
65
  /**
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @alias sap.ui.fl.changeHandler.PropertyChange
24
24
  * @author SAP SE
25
- * @version 1.115.0
25
+ * @version 1.116.0
26
26
  * @since 1.36
27
27
  * @private
28
28
  * @experimental Since 1.36. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -71,13 +71,13 @@ sap.ui.define([
71
71
  // }
72
72
 
73
73
  return Promise.resolve()
74
- .then(oModifier.getPropertyBindingOrProperty.bind(oModifier, oControl, sPropertyName))
75
- .then(function(oOriginalValue) {
76
- oChange.setRevertData({
77
- originalValue: oOriginalValue
78
- });
79
- changeProperty(oControl, sPropertyName, vPropertyValue, oModifier);
74
+ .then(oModifier.getPropertyBindingOrProperty.bind(oModifier, oControl, sPropertyName))
75
+ .then(function(oOriginalValue) {
76
+ oChange.setRevertData({
77
+ originalValue: oOriginalValue
80
78
  });
79
+ changeProperty(oControl, sPropertyName, vPropertyValue, oModifier);
80
+ });
81
81
  };
82
82
 
83
83
  /**