@openui5/sap.ui.fl 1.108.0 → 1.109.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 (175) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +3 -3
  3. package/src/sap/ui/fl/.library +1 -1
  4. package/src/sap/ui/fl/Cache.js +4 -4
  5. package/src/sap/ui/fl/ChangePersistence.js +39 -48
  6. package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
  7. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +1 -1
  8. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +1 -1
  9. package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
  10. package/src/sap/ui/fl/FlexController.js +26 -26
  11. package/src/sap/ui/fl/FlexControllerFactory.js +6 -5
  12. package/src/sap/ui/fl/LayerUtils.js +3 -3
  13. package/src/sap/ui/fl/Utils.js +68 -274
  14. package/src/sap/ui/fl/apply/_internal/ChangesController.js +17 -2
  15. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
  16. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +2 -2
  17. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +12 -12
  18. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +2 -2
  19. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +4 -4
  20. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +10 -8
  21. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
  22. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
  23. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
  24. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +1 -1
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +5 -4
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -1
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +1 -1
  39. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +1 -1
  40. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +2 -1
  41. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
  42. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -2
  43. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +6 -6
  44. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +5 -2
  45. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
  46. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -2
  47. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +11 -11
  48. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +24 -11
  49. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +2 -1
  50. package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +19 -4
  51. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +462 -0
  52. package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +16 -6
  53. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +2 -1
  54. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +1 -1
  55. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +1 -1
  56. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +60 -29
  57. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
  58. package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +3 -3
  59. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +7 -7
  60. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +5 -3
  61. package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +1 -12
  62. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +2 -2
  63. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +2 -2
  64. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +1 -1
  65. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +9 -11
  66. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +27 -7
  67. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +1 -1
  68. package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +1 -1
  69. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -1
  70. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
  71. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +16 -8
  72. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +10 -46
  73. package/src/sap/ui/fl/changeHandler/AddIFrame.js +4 -4
  74. package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
  75. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +1 -1
  76. package/src/sap/ui/fl/changeHandler/Base.js +5 -4
  77. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +6 -6
  78. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +20 -18
  79. package/src/sap/ui/fl/changeHandler/BaseRename.js +6 -6
  80. package/src/sap/ui/fl/changeHandler/HideControl.js +5 -5
  81. package/src/sap/ui/fl/changeHandler/MoveControls.js +5 -5
  82. package/src/sap/ui/fl/changeHandler/MoveElements.js +2 -2
  83. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +2 -2
  84. package/src/sap/ui/fl/changeHandler/PropertyChange.js +2 -2
  85. package/src/sap/ui/fl/changeHandler/StashControl.js +5 -5
  86. package/src/sap/ui/fl/changeHandler/UnhideControl.js +5 -5
  87. package/src/sap/ui/fl/changeHandler/UnstashControl.js +5 -5
  88. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +4 -4
  89. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +1 -1
  90. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +1 -1
  91. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
  92. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
  93. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
  94. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +4 -2
  95. package/src/sap/ui/fl/initial/_internal/Storage.js +1 -1
  96. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +1 -14
  97. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +1 -1
  98. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +2 -2
  99. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -1
  100. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +3 -3
  101. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +3 -3
  102. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +1 -1
  103. package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
  104. package/src/sap/ui/fl/library.js +43 -43
  105. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +1 -1
  106. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +1 -1
  107. package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
  108. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +1 -1
  109. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +1 -1
  110. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +1 -1
  111. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +1 -1
  112. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +1 -1
  113. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
  114. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
  115. package/src/sap/ui/fl/themes/base/library.source.less +0 -2
  116. package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
  117. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +2 -2
  118. package/src/sap/ui/fl/util/IFrame.js +1 -1
  119. package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -1
  120. package/src/sap/ui/fl/util/changePropertyValueByPath.js +1 -1
  121. package/src/sap/ui/fl/util/resolveBinding.js +1 -1
  122. package/src/sap/ui/fl/variants/VariantManagement.js +38 -7
  123. package/src/sap/ui/fl/variants/VariantModel.js +96 -47
  124. package/src/sap/ui/fl/variants/context/Component.js +0 -1
  125. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +1 -0
  126. package/src/sap/ui/fl/write/_internal/SaveAs.js +4 -2
  127. package/src/sap/ui/fl/write/_internal/Storage.js +11 -11
  128. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
  129. package/src/sap/ui/fl/write/_internal/Versions.js +1 -1
  130. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +1 -1
  131. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
  132. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +1 -1
  133. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
  134. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +28 -26
  135. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +9 -4
  136. package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +1 -1
  137. package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +2 -2
  138. package/src/sap/ui/fl/write/_internal/condenser/classifications/Update.js +1 -1
  139. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
  140. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +4 -2
  141. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +11 -15
  142. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
  143. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
  144. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
  145. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
  146. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
  147. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +1 -1
  148. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
  149. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
  150. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
  151. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
  152. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
  153. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
  154. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
  155. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +1 -1
  156. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
  157. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
  158. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  159. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
  160. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
  161. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +32 -26
  162. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +32 -36
  163. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +18 -19
  164. package/src/sap/ui/fl/write/_internal/transport/Transports.js +1 -1
  165. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +6 -6
  166. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +5 -3
  167. package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
  168. package/src/sap/ui/fl/write/api/LocalResetAPI.js +6 -6
  169. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +8 -8
  170. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +4 -4
  171. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -0
  172. package/ui5.yaml +4 -2
  173. package/src/sap/ui/fl/Change.js +0 -1092
  174. package/src/sap/ui/fl/codeExt/CodeExtManager.js +0 -122
  175. package/src/sap/ui/fl/themes/base/VariantManagement.less +0 -97
@@ -119,8 +119,10 @@ sap.ui.define([
119
119
  reference: oAppVariant.getId()
120
120
  };
121
121
  var sChangesNamespace = Utils.createNamespace(oPropertyBag, "changes");
122
- oChange.setNamespace(sChangesNamespace);
123
- oChange.setComponent(oAppVariant.getId());
122
+ var oFlexObjectMetadata = oChange.getFlexObjectMetadata();
123
+ oFlexObjectMetadata.namespace = sChangesNamespace;
124
+ oFlexObjectMetadata.reference = oAppVariant.getId();
125
+ oChange.setFlexObjectMetadata(oFlexObjectMetadata);
124
126
  }
125
127
 
126
128
  function _inlineDescriptorChanges(aAllInlineChanges, oAppVariant) {
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @namespace sap.ui.fl.write._internal.Storage
24
24
  * @since 1.67
25
- * @version 1.108.0
25
+ * @version 1.109.0
26
26
  * @private
27
27
  * @ui5-restricted sap.ui.fl
28
28
  */
@@ -112,7 +112,7 @@ sap.ui.define([
112
112
  // are in the same order (avoiding an unnecessary "reorder" section)
113
113
  function findChangeCreateIndex(oCurrentChange, aCondensedChanges) {
114
114
  var aNewChanges = aCondensedChanges.filter(function(oInnerChange) {
115
- return oInnerChange.getState() === States.NEW
115
+ return oInnerChange.getState() === States.LifecycleState.NEW
116
116
  && oInnerChange.getFileType() === oCurrentChange.getFileType();
117
117
  });
118
118
  var iChangeCreateIndex = aNewChanges.findIndex(function(oNewChange) {
@@ -144,7 +144,7 @@ sap.ui.define([
144
144
  if (oChange.condenserState) {
145
145
  var bDifferentOrder = false;
146
146
  if (oChange.condenserState === "delete") {
147
- if (oChange.getState() === States.PERSISTED) {
147
+ if (oChange.getState() === States.LifecycleState.PERSISTED) {
148
148
  if (!mCondense.delete) {
149
149
  mCondense.delete = {};
150
150
  }
@@ -158,7 +158,7 @@ sap.ui.define([
158
158
  bDifferentOrder = mPropertyBag.allChanges[index].getId() !== mPropertyBag.condensedChanges[index - iOffset].getId();
159
159
  }
160
160
  if ((
161
- (oChange.condenserState === "select" && oChange.getState() !== States.NEW)
161
+ (oChange.condenserState === "select" && oChange.getState() !== States.LifecycleState.NEW)
162
162
  || oChange.condenserState === "update"
163
163
  ) && bDifferentOrder && !bAlreadyReordered) {
164
164
  var aReorderedChanges = mPropertyBag.condensedChanges.slice(index - iOffset).map(function(oChange) {
@@ -173,7 +173,7 @@ sap.ui.define([
173
173
  mCondense.reorder[sFileType] = aReorderedChanges;
174
174
  bAlreadyReordered = true;
175
175
  }
176
- if (oChange.condenserState === "select" && oChange.getState() === States.NEW) {
176
+ if (oChange.condenserState === "select" && oChange.getState() === States.LifecycleState.NEW) {
177
177
  if (!mCondense.create) {
178
178
  mCondense.create = {};
179
179
  }
@@ -197,7 +197,7 @@ sap.ui.define([
197
197
  }
198
198
 
199
199
  delete oChange.condenserState;
200
- } else if (oChange.getState() === States.NEW) {
200
+ } else if (oChange.getState() === States.LifecycleState.NEW) {
201
201
  if (!mCondense.create) {
202
202
  mCondense.create = {};
203
203
  }
@@ -247,8 +247,8 @@ sap.ui.define([
247
247
  *
248
248
  * @param {object} mPropertyBag - Contains additional information for all the Connectors
249
249
  * @param {sap.ui.fl.Layer} mPropertyBag.layer - Layer on which the file should be stored
250
- * @param {sap.ui.fl.Change[]} mPropertyBag.allChanges - All changes for the given layer and app
251
- * @param {sap.ui.fl.Change[]} mPropertyBag.condensedChanges - The changes returned by the condenser
250
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} mPropertyBag.allChanges - All changes for the given layer and app
251
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} mPropertyBag.condensedChanges - The changes returned by the condenser
252
252
  * @param {string} [mPropertyBag._transport] - The transport ID which will be handled internally, so there is no need to be passed
253
253
  * @param {boolean} [mPropertyBag.isLegacyVariant] - Whether the update data has file type .variant or not
254
254
  * @param {number} [nParentVersion] - Indicates if changes should be written as a draft and on which version the changes should be based on
@@ -273,7 +273,7 @@ sap.ui.define([
273
273
  * The promise is rejected in case the removing failed or no connector is configured to handle the layer.
274
274
  *
275
275
  * @param {object} mPropertyBag - Contains additional information for all the Connectors
276
- * @param {sap.ui.fl.Change} mPropertyBag.flexObject - Flex Object to be deleted
276
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} mPropertyBag.flexObject - Flex Object to be deleted
277
277
  * @param {sap.ui.fl.Layer} mPropertyBag.layer - Layer on which the data should be deleted
278
278
  * @param {string} [mPropertyBag._transport] - The transport ID which will be handled internally, so there is no need to be passed
279
279
  * @returns {Promise} Promise resolving as soon as the writing was completed or rejects in case of an error
@@ -308,7 +308,7 @@ sap.ui.define([
308
308
  * @param {object} mPropertyBag - Contains additional information for all the Connectors
309
309
  * @param {string} mPropertyBag.reference - Flexibility reference
310
310
  * @param {sap.ui.fl.Layer} mPropertyBag.layer - Layer on which the reset should take place
311
- * @param {sap.ui.fl.Change[]} mPropertyBag.changes - Changes of the selected layer and flex reference
311
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} mPropertyBag.changes - Changes of the selected layer and flex reference
312
312
  * @param {string} [mPropertyBag.generator] - Generator with which the changes were created
313
313
  * @param {string[]} [mPropertyBag.selectorIds] - Selector IDs of controls for which the reset should filter
314
314
  * @param {string} [mPropertyBag.changeTypes] - Change types of the changes which should be reset
@@ -396,7 +396,7 @@ sap.ui.define([
396
396
  * @param {string} mPropertyBag.transportDialogSettings.styleClass - Style class name to be added in the TransportDialog
397
397
  * @param {string} mPropertyBag.layer - Working layer
398
398
  * @param {string} mPropertyBag.reference - Flex reference of the application
399
- * @param {sap.ui.fl.Change[]} mPropertyBag.localChanges - Local changes to be published
399
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} mPropertyBag.localChanges - Local changes to be published
400
400
  * @param {object[]} [mPropertyBag.appVariantDescriptors] - An array of app variant descriptors which needs to be transported
401
401
  * @returns {Promise<string>} Promise that can resolve to the following strings:
402
402
  * - "Cancel" if publish process was canceled
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @namespace sap.ui.fl.write._internal.StorageFeaturesMerger
18
18
  * @since 1.70
19
- * @version 1.108.0
19
+ * @version 1.109.0
20
20
  * @private
21
21
  * @ui5-restricted sap.ui.fl.write._internal.Storage
22
22
  */
@@ -174,7 +174,7 @@ sap.ui.define([
174
174
  *
175
175
  * @namespace sap.ui.fl.write._internal.Versions
176
176
  * @since 1.74
177
- * @version 1.108.0
177
+ * @version 1.109.0
178
178
  * @private
179
179
  * @ui5-restricted sap.ui.fl
180
180
  */
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @constructor
36
36
  * @alias sap.ui.fl.write._internal.appVariant.AppVariant
37
37
  * @author SAP SE
38
- * @version 1.108.0
38
+ * @version 1.109.0
39
39
  * @private
40
40
  * @ui5-restricted sap.ui.rta, smart business
41
41
  */
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @namespace
35
35
  * @alias sap.ui.fl.write._internal.appVariant.AppVariantFactory
36
36
  * @author SAP SE
37
- * @version 1.108.0
37
+ * @version 1.109.0
38
38
  * @private
39
39
  * @ui5-restricted sap.ui.rta, smart business
40
40
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @constructor
29
29
  * @alias sap.ui.fl.write._internal.appVariant.AppVariantInlineChange
30
30
  * @author SAP SE
31
- * @version 1.108.0
31
+ * @version 1.109.0
32
32
  * @private
33
33
  * @ui5-restricted sap.ui.rta, smart business
34
34
  */
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @namespace
34
34
  * @alias sap.ui.fl.write._internal.appVariant.AppVariantInlineChangeFactory
35
35
  * @author SAP SE
36
- * @version 1.108.0
36
+ * @version 1.109.0
37
37
  * @private
38
38
  * @ui5-restricted sap.ui.rta, smart business
39
39
  */
@@ -13,12 +13,13 @@ sap.ui.define([
13
13
  "sap/ui/core/Core",
14
14
  "sap/ui/fl/changeHandler/condenser/Classification",
15
15
  "sap/ui/fl/apply/_internal/changes/Utils",
16
+ "sap/ui/fl/apply/_internal/flexObjects/UIChange",
17
+ "sap/ui/fl/apply/_internal/flexObjects/States",
16
18
  "sap/ui/fl/write/_internal/condenser/classifications/LastOneWins",
17
19
  "sap/ui/fl/write/_internal/condenser/classifications/Reverse",
18
20
  "sap/ui/fl/write/_internal/condenser/classifications/Update",
19
21
  "sap/ui/fl/write/_internal/condenser/UIReconstruction",
20
22
  "sap/ui/fl/write/_internal/condenser/Utils",
21
- "sap/ui/fl/Change",
22
23
  "sap/ui/fl/Utils",
23
24
  "sap/ui/performance/Measurement",
24
25
  "sap/base/util/restricted/_isEqual"
@@ -31,12 +32,13 @@ sap.ui.define([
31
32
  Core,
32
33
  CondenserClassification,
33
34
  ChangesUtils,
35
+ UIChange,
36
+ States,
34
37
  LastOneWins,
35
38
  Reverse,
36
39
  Update,
37
40
  UIReconstruction,
38
41
  CondenserUtils,
39
- Change,
40
42
  FlUtils,
41
43
  Measurement,
42
44
  _isEqual
@@ -49,7 +51,7 @@ sap.ui.define([
49
51
  * @namespace
50
52
  * @alias sap.ui.fl.write._internal.condenser.Condenser
51
53
  * @author SAP SE
52
- * @version 1.108.0
54
+ * @version 1.109.0
53
55
  */
54
56
  var Condenser = {};
55
57
 
@@ -110,7 +112,7 @@ sap.ui.define([
110
112
  * @param {Map} mClassifications - Map of properties that holds key-value pairs. A key is a unique identifier. A value is an array object that contains changes
111
113
  * @param {Map} mUIReconstructions - Map of UI reconstructions that holds key-value pairs. A key is a selector ID of the container. A value is a nested map which contains initial and target UI reconstructions
112
114
  * @param {object} oCondenserInfo - Condenser specific information that is delivered by the change handler
113
- * @param {sap.ui.fl.Change} oChange - Change instance that will be added to the array
115
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance that will be added to the array
114
116
  * @returns {Promise} resolves when the change is added to the data structure
115
117
  */
116
118
  function addIndexRelatedChange(mClassifications, mUIReconstructions, oCondenserInfo, oChange) {
@@ -153,7 +155,7 @@ sap.ui.define([
153
155
  * Adds a non-index related change to the map.
154
156
  * @param {Map} mClassifications - Map of properties that holds key-value pairs. A key is a unique identifier. A value is an array object that contains changes
155
157
  * @param {object} oCondenserInfo - Condenser specific information that is delivered by the change handler
156
- * @param {sap.ui.fl.Change} oChange - Change instance that will be added to the array
158
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance that will be added to the array
157
159
  * @returns {Promise} returns when change is added to the map
158
160
  */
159
161
  function addNonIndexRelatedChange(mClassifications, oCondenserInfo, oChange) {
@@ -170,9 +172,9 @@ sap.ui.define([
170
172
  *
171
173
  * @param {Map} mTypes - Map of classification types that holds key-value pairs. A key is a unique identifier. A value is a nested map which contains non-index-related and index-related reduced changes
172
174
  * @param {Map} mUIReconstructions - Map of UI reconstructions that holds key-value pairs. A key is a selector ID of the container. A value is a nested map which contains initial and target UI reconstructions
173
- * @param {sap.ui.fl.Change[]} aIndexRelatedChanges - Array of all index related changes
175
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aIndexRelatedChanges - Array of all index related changes
174
176
  * @param {Object} oCondenserInfo - Condenser-specific information that is delivered by the change handler
175
- * @param {sap.ui.fl.Change} oChange - Change instance that will be added to the array
177
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance that will be added to the array
176
178
  * @returns {Promise} returns when change is added to the data structures
177
179
  */
178
180
  function addClassifiedChange(mTypes, mUIReconstructions, aIndexRelatedChanges, oCondenserInfo, oChange) {
@@ -194,7 +196,7 @@ sap.ui.define([
194
196
  *
195
197
  * @param {Map} mTypes - Map of change types that holds key-value pairs. A key is a unique identifier. A value is an array object that contains all unclassified changes
196
198
  * @param {string} sKey - Key of the "unclassified" map that reflects the fact that the delivered change is not classified
197
- * @param {sap.ui.fl.Change} oChange - Change instance
199
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance
198
200
  */
199
201
  function addUnclassifiedChange(mTypes, sKey, oChange) {
200
202
  if (!mTypes[sKey]) {
@@ -208,7 +210,7 @@ sap.ui.define([
208
210
  * Retrieves the condenser information from the change handler
209
211
  *
210
212
  * @param {sap.ui.core.Component} oAppComponent - Application component of the control at runtime
211
- * @param {sap.ui.fl.Change} oChange - Change instance
213
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance
212
214
  * @returns {Promise.<object>} - Resolves with the condenser information or undefined
213
215
  */
214
216
  function getCondenserInfoFromChangeHandler(oAppComponent, oChange) {
@@ -260,7 +262,7 @@ sap.ui.define([
260
262
  *
261
263
  * @param {Map} mReducedChanges - Map of reduced changes
262
264
  * @param {object} oCondenserInfo - Condenser-specific information that is delivered by the change handler
263
- * @param {sap.ui.fl.Change} oChange - Change instance
265
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance
264
266
  * @param {sap.ui.core.Component} oAppComponent - Application component of the control at runtime
265
267
  * @returns {Map} Classification types map
266
268
  */
@@ -286,7 +288,7 @@ sap.ui.define([
286
288
  * "<selectorId>": {
287
289
  * "<type>":
288
290
  * "<classification>":
289
- * "<uniqueKey>": [<sap.ui.fl.Change>]
291
+ * "<uniqueKey>": [<sap.ui.fl.apply._internal.flexObjects.FlexObject>]
290
292
  * ...
291
293
  * "nonIndexRelated": {
292
294
  * "lastOneWins" : {
@@ -320,8 +322,8 @@ sap.ui.define([
320
322
  * @param {sap.ui.core.Component} oAppComponent - Application component of the control at runtime
321
323
  * @param {Map} mReducedChanges - Map of reduced changes
322
324
  * @param {Map} mUIReconstructions - Map of UI reconstructions
323
- * @param {sap.ui.fl.Change[]} aIndexRelatedChanges - Array of all index related changes
324
- * @param {sap.ui.fl.Change[]} aChanges - All Change instances
325
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aIndexRelatedChanges - Array of all index related changes
326
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aChanges - All Change instances
325
327
  * @returns {Promise} Resolves when all changes were added to the maps
326
328
  */
327
329
  function defineMaps(oAppComponent, mReducedChanges, mUIReconstructions, aIndexRelatedChanges, aChanges) {
@@ -373,7 +375,7 @@ sap.ui.define([
373
375
  *
374
376
  * @param {Map} mTypes - Map with the changes
375
377
  * @param {object} oCondenserInfo - Condenser-specific information that is delivered by the change handler
376
- * @param {sap.ui.fl.Change} oChange - The change that is getting updated
378
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - The change that is getting updated
377
379
  */
378
380
  function condenseUpdateChange(mTypes, oCondenserInfo, oChange) {
379
381
  var oUpdateCondenserInfo = ObjectPath.get([CondenserUtils.NOT_INDEX_RELEVANT, CondenserClassification.Update, oCondenserInfo.uniqueKey], mTypes);
@@ -383,7 +385,7 @@ sap.ui.define([
383
385
  return;
384
386
  }
385
387
  oCondenserInfo.update(oChange, oUpdateCondenserInfo.updateContent);
386
- if (oChange.getState() === Change.states.PERSISTED) {
388
+ if (oChange.getState() === States.LifecycleState.PERSISTED) {
387
389
  oChange.condenserState = "update";
388
390
  }
389
391
  }
@@ -393,8 +395,8 @@ sap.ui.define([
393
395
  * Retrieves an array of changes from the delivered data structure.
394
396
  *
395
397
  * @param {Map} mObjects - Delivered data structure
396
- * @param {sap.ui.fl.Change[]} aChanges - Array of changes
397
- * @returns {sap.ui.fl.Change[]} All necessary changes in the map of reduced changes
398
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aChanges - Array of changes
399
+ * @returns {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} All necessary changes in the map of reduced changes
398
400
  */
399
401
  function getChanges(mObjects, aChanges) {
400
402
  each(mObjects, function(sKey, vSubObjects) {
@@ -406,7 +408,7 @@ sap.ui.define([
406
408
  return getChanges(vSubObjects, aChanges);
407
409
  } else if (Array.isArray(vSubObjects)) {
408
410
  vSubObjects.forEach(function(oObject) {
409
- if (oObject instanceof Change) {
411
+ if (oObject instanceof UIChange) {
410
412
  aChanges.push(oObject);
411
413
  } else {
412
414
  aChanges.push(oObject.change);
@@ -421,7 +423,7 @@ sap.ui.define([
421
423
  * Retrieves an array of changes from the reduced changes map.
422
424
  *
423
425
  * @param {Map} mReducedChanges - Map of reduced changes
424
- * @returns {sap.ui.fl.Change[]} Array of the reduced changes
426
+ * @returns {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} Array of the reduced changes
425
427
  */
426
428
  function getAllReducedChanges(mReducedChanges) {
427
429
  return getChanges(mReducedChanges, []);
@@ -440,7 +442,7 @@ sap.ui.define([
440
442
  getCondenserInfos(vSubObjects, aCondenserInfos);
441
443
  } else if (Array.isArray(vSubObjects)) {
442
444
  vSubObjects.forEach(function(oObject) {
443
- if (!(oObject instanceof Change)) {
445
+ if (!(oObject instanceof UIChange)) {
444
446
  aCondenserInfos.push(oObject);
445
447
  }
446
448
  });
@@ -452,8 +454,8 @@ sap.ui.define([
452
454
  /**
453
455
  * Sorts an array of reduced changes in the initial order.
454
456
  *
455
- * @param {sap.ui.fl.Change[]} aChanges - Array of changes
456
- * @param {sap.ui.fl.Change[]} aReducedChanges - Array of reduced changes
457
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aChanges - Array of changes
458
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aReducedChanges - Array of reduced changes
457
459
  */
458
460
  function sortByInitialOrder(aChanges, aReducedChanges) {
459
461
  aReducedChanges.sort(function(a, b) {
@@ -487,7 +489,7 @@ sap.ui.define([
487
489
  // "Update" only modifies the change content. If we support other
488
490
  // updates on a change, this code has to be adjusted.
489
491
  && !_isEqual(oUpdateChange.getContent(), oCondenserInfo.change.getContent())
490
- && oUpdateChange.getState() !== Change.states.NEW
492
+ && oUpdateChange.getState() !== States.LifecycleState.NEW
491
493
  ) {
492
494
  var oCondensedChange = oCondenserInfo.change;
493
495
  if (oUpdateChange.getId() !== oCondensedChange.getId()) {
@@ -501,7 +503,7 @@ sap.ui.define([
501
503
  return oChange;
502
504
  });
503
505
  } else {
504
- oUpdateChange.setState(Change.states.DIRTY);
506
+ oUpdateChange.setState(States.LifecycleState.DIRTY);
505
507
  }
506
508
  oUpdateChange.condenserState = "update";
507
509
  }
@@ -525,7 +527,7 @@ sap.ui.define([
525
527
  * (6) Finally, if it is required the index-related changes will be swapped in the array of the reduced changes.
526
528
  *
527
529
  * @param {sap.ui.core.Component} oAppComponent - Application component of the control at runtime
528
- * @param {sap.ui.fl.Change[]} aChanges - Array of changes
530
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aChanges - Array of changes
529
531
  * @returns {Promise} Promise resolved with the reduced array of changes
530
532
  */
531
533
  Condenser.condense = function(oAppComponent, aChanges) {
@@ -538,7 +540,7 @@ sap.ui.define([
538
540
  var aNotCondensableChanges = [];
539
541
  var aCondensableChanges = [];
540
542
  aChanges.slice(0).reverse().forEach(function(oChange) {
541
- if (oChange instanceof Change && oChange.isSuccessfullyApplied()) {
543
+ if (oChange instanceof UIChange && oChange.isSuccessfullyApplied()) {
542
544
  aCondensableChanges.push(oChange);
543
545
  } else {
544
546
  aNotCondensableChanges.push(oChange);
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @namespace
30
30
  * @alias sap.ui.fl.write._internal.condenser.UIReconstruction
31
31
  * @author SAP SE
32
- * @version 1.108.0
32
+ * @version 1.109.0
33
33
  */
34
34
  var UIReconstruction = {};
35
35
 
@@ -214,7 +214,12 @@ sap.ui.define([
214
214
  */
215
215
  function updateTargetIndex(mReducedChanges, mUIReconstructions) {
216
216
  function updateCondenserChange(iIndex, oCondenserChange) {
217
+ // setting the target index will most likely make the change dirty,
218
+ // but the condenser needs the current state of the change.
219
+ // so in this function the state should not change
220
+ var sOldState = oCondenserChange.change.getState();
217
221
  oCondenserChange.setTargetIndex(oCondenserChange.change, iIndex);
222
+ oCondenserChange.change.setState(sOldState);
218
223
  }
219
224
 
220
225
  function adjustReconstructionMap(mUIStates, sContainerId, mUIAggregationState) {
@@ -290,8 +295,8 @@ sap.ui.define([
290
295
  * Sorts the index relevant changes in the list of all reduced changes.
291
296
  * The index relevant changes are already in order, this order has to be taken over to the other list.
292
297
  *
293
- * @param {sap.ui.fl.Change[]} aSortedIndexRelatedChanges - Array of sorted reduced index related changes
294
- * @param {sap.ui.fl.Change[]} aAllReducedChanges - Array of all reduced changes
298
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aSortedIndexRelatedChanges - Array of sorted reduced index related changes
299
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aAllReducedChanges - Array of all reduced changes
295
300
  */
296
301
  UIReconstruction.swapChanges = function(aSortedIndexRelatedChanges, aAllReducedChanges) {
297
302
  var aIndexes = aSortedIndexRelatedChanges.map(function(oChange) {
@@ -307,7 +312,7 @@ sap.ui.define([
307
312
  *
308
313
  * @param {Map} mUIReconstructions - Map of UI reconstructions
309
314
  * @param {object[]} aCondenserInfos - Array of condenser info objects
310
- * @returns {sap.ui.fl.Change[]} Sorted array of index-related changes
315
+ * @returns {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} Sorted array of index-related changes
311
316
  */
312
317
  UIReconstruction.sortIndexRelatedChanges = function(mUIReconstructions, aCondenserInfos) {
313
318
  var aSortedIndexRelatedChangesPerContainer = [];
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @param {Map} mProperties - Map with all reduced changes
18
18
  * @param {string} oCondenserInfo - Condenser information
19
- * @param {sap.ui.fl.Change} oChange - Change instance
19
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance
20
20
  */
21
21
  addToChangesMap: function(mProperties, oCondenserInfo, oChange) {
22
22
  if (!mProperties[oCondenserInfo.uniqueKey]) {
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  *
18
18
  * @param {Map} mProperties - Map with all reduced changes
19
19
  * @param {string} oCondenserInfo - Condenser information
20
- * @param {sap.ui.fl.Change} oChange - Change instance
20
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance
21
21
  */
22
22
  addToChangesMap: function(mProperties, oCondenserInfo, oChange) {
23
23
  if (!mProperties[oCondenserInfo.uniqueKey]) {
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  * @param {Map} mObjects - Map with all reduced changes
33
33
  * @param {string} sUniqueKey - Unique key defined in the condenser information
34
- * @returns {sap.ui.fl.Change[]} All necessary reverse changes
34
+ * @returns {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} All necessary reverse changes
35
35
  */
36
36
  getChangesFromMap: function(mObjects, sUniqueKey) {
37
37
  var aChanges = [];
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  *
18
18
  * @param {Map} mProperties - Map with all reduced changes
19
19
  * @param {string} oCondenserInfo - Condenser information
20
- * @param {sap.ui.fl.Change} oChange - Change instance
20
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange - Change instance
21
21
  */
22
22
  addToChangesMap: function(mProperties, oCondenserInfo, oChange) {
23
23
  if (!mProperties[oCondenserInfo.uniqueKey]) {
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  *
75
75
  * @namespace sap.ui.fl.write._internal.connectors.BackendConnector
76
76
  * @since 1.72
77
- * @version 1.108.0
77
+ * @version 1.109.0
78
78
  * @private
79
79
  * @ui5-restricted sap.ui.fl.write._internal.connectors
80
80
  */
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  *
33
33
  * @namespace sap.ui.fl.write._internal.connectors.KeyUserConnector
34
34
  * @since 1.70
35
- * @version 1.108.0
35
+ * @version 1.109.0
36
36
  * @private
37
37
  * @ui5-restricted sap.ui.fl.write._internal.Storage
38
38
  */
@@ -83,7 +83,9 @@ sap.ui.define([
83
83
  mPropertyBag.payload = JSON.stringify(mPropertyBag.flexObjects);
84
84
  mPropertyBag.dataType = "json";
85
85
  mPropertyBag.contentType = "application/json; charset=utf-8";
86
- return WriteUtils.sendRequest(sContextsUrl, "POST", mPropertyBag);
86
+ return WriteUtils.sendRequest(sContextsUrl, "POST", mPropertyBag).then(function (oResult) {
87
+ return oResult.response;
88
+ });
87
89
  },
88
90
 
89
91
  /**
@@ -13,9 +13,7 @@ sap.ui.define([
13
13
  "sap/ui/fl/write/_internal/transport/TransportSelection",
14
14
  "sap/ui/fl/registry/Settings",
15
15
  "sap/ui/fl/Layer",
16
- "sap/ui/fl/LayerUtils",
17
16
  "sap/ui/fl/Utils",
18
- "sap/ui/fl/Change",
19
17
  "sap/ui/core/Component",
20
18
  "sap/ui/core/BusyIndicator",
21
19
  "sap/base/Log",
@@ -30,9 +28,7 @@ sap.ui.define([
30
28
  TransportSelection,
31
29
  Settings,
32
30
  Layer,
33
- LayerUtils,
34
31
  Utils,
35
- Change,
36
32
  Component,
37
33
  BusyIndicator,
38
34
  Log,
@@ -128,12 +124,12 @@ sap.ui.define([
128
124
  // Only content in the VENDOR layer have the real ABAP package
129
125
  // This check avoid sending ATO package to get transport info
130
126
  var sPackage = oAppVariant.getDefinition().layer === Layer.VENDOR ? oAppVariant.getPackage() : "";
131
- return new Change({
132
- fileName: oAppVariant.getDefinition().fileName,
133
- fileType: oAppVariant.getDefinition().fileType,
134
- packageName: sPackage,
135
- namespace: oAppVariant.getNamespace()
136
- });
127
+ return {
128
+ "package": sPackage,
129
+ namespace: oAppVariant.getNamespace(),
130
+ name: oAppVariant.getDefinition().fileName,
131
+ type: oAppVariant.getDefinition().fileType
132
+ };
137
133
  };
138
134
 
139
135
  var _selectTransportForAppVariant = function(mPropertyBag) {
@@ -143,8 +139,8 @@ sap.ui.define([
143
139
  } else if (mPropertyBag.isForSmartBusiness) {
144
140
  return Promise.resolve();
145
141
  } else {
146
- var oChange = _prepareAppVariantSpecificChange(mPropertyBag.appVariant);
147
- oTransportSelectionPromise = new TransportSelection().openTransportSelection(oChange);
142
+ var oTransportInfo = _prepareAppVariantSpecificChange(mPropertyBag.appVariant);
143
+ oTransportSelectionPromise = new TransportSelection().openTransportSelection(oTransportInfo);
148
144
  }
149
145
  return oTransportSelectionPromise.then(function (oTransportInfo) {
150
146
  if (oTransportInfo === "cancel") {
@@ -168,7 +164,7 @@ sap.ui.define([
168
164
  *
169
165
  * @namespace sap.ui.fl.write._internal.connectors.LrepConnector
170
166
  * @since 1.67
171
- * @version 1.108.0
167
+ * @version 1.109.0
172
168
  * @private
173
169
  * @ui5-restricted sap.ui.fl.write._internal.Storage
174
170
  */
@@ -183,7 +179,7 @@ sap.ui.define([
183
179
  * @param {string} mPropertyBag.reference Flex reference of the application
184
180
  * @param {string} mPropertyBag.url Configured url for the connector
185
181
  * @param {string} mPropertyBag.changelist Transport Id
186
- * @param {sap.ui.fl.Change[]} mPropertyBag.changes Changes of the selected layer and flex reference
182
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} mPropertyBag.changes Changes of the selected layer and flex reference
187
183
  * @param {string} [mPropertyBag.generator] Generator with which the changes were created
188
184
  * @param {string} [mPropertyBag.selectorIds] Selector IDs of controls for which the reset should filter (comma-separated list)
189
185
  * @param {string} [mPropertyBag.changeTypes] Change types of the changes which should be reset (comma-separated list)
@@ -260,7 +256,7 @@ sap.ui.define([
260
256
  * @param {string} mPropertyBag.transportDialogSettings.styleClass Style class name to be added in the TransportDialog
261
257
  * @param {string} mPropertyBag.layer Working layer
262
258
  * @param {string} mPropertyBag.reference Flex reference of the application
263
- * @param {sap.ui.fl.Change[]} mPropertyBag.localChanges Local changes to be published
259
+ * @param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} mPropertyBag.localChanges Local changes to be published
264
260
  * @param {object[]} [mPropertyBag.appVariantDescriptors] An array of app variant descriptors which needs to be transported
265
261
  * @returns {Promise<string>} Promise that can resolve to the following strings:
266
262
  * - "Cancel" if publish process was canceled
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  *
26
26
  * @namespace sap.ui.fl.write._internal.connectors.NeoLrepConnector
27
27
  * @since 1.81
28
- * @version 1.108.0
28
+ * @version 1.109.0
29
29
  * @private
30
30
  * @ui5-restricted sap.ui.fl.write._internal.Storage
31
31
  */
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @namespace sap.ui.fl.write._internal.connectors.ObjectPathConnector
26
26
  * @since 1.73
27
- * @version 1.108.0
27
+ * @version 1.109.0
28
28
  * @private
29
29
  * @ui5-restricted sap.ui.fl.write._internal.Storage
30
30
  */
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @namespace sap.ui.fl.write._internal.connectors.PersonalizationConnector
29
29
  * @since 1.70
30
- * @version 1.108.0
30
+ * @version 1.109.0
31
31
  * @private
32
32
  * @ui5-restricted sap.ui.fl.write._internal.Storage
33
33
  */
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @namespace sap.ui.fl.write._internal.connectors.Utils
18
18
  * @since 1.70
19
- * @version 1.108.0
19
+ * @version 1.109.0
20
20
  * @private
21
21
  * @ui5-restricted sap.ui.fl.write._internal.connectors, sap.ui.fl.write._internal.transport
22
22
  */
@@ -28,7 +28,7 @@ function(
28
28
  * @class
29
29
  * @constructor
30
30
  * @author SAP SE
31
- * @version 1.108.0
31
+ * @version 1.109.0
32
32
  */
33
33
  var Processor = {
34
34
  applyExtensionPoint: function(oExtensionPoint) {
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @alias sap.ui.fl.write._internal.extensionPoint.Registry
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.108.0
23
+ * @version 1.109.0
24
24
  *
25
25
  * @private
26
26
  * @ui5-restricted sap.ui.fl
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @namespace sap.ui.fl.write._internal.fieldExtensibility.ABAPAccess
45
45
  * @experimental Since 1.87.0
46
46
  * @author SAP SE
47
- * @version 1.108.0
47
+ * @version 1.109.0
48
48
  */
49
49
  var ABAPAccess = {};
50
50
 
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @class
18
18
  * @namespace sap.ui.fl.write._internal.fieldExtensibility.ABAPExtensibilityVariant
19
19
  * @since 1.87
20
- * @version 1.108.0
20
+ * @version 1.109.0
21
21
  * @public
22
22
  * @param {sap.ui.base.ManagedObject} oControl - Control to add extensions
23
23
  */