@openui5/sap.ui.fl 1.111.2 → 1.112.2

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 (154) hide show
  1. package/package.json +3 -3
  2. package/src/sap/ui/fl/.library +1 -1
  3. package/src/sap/ui/fl/Cache.js +1 -1
  4. package/src/sap/ui/fl/ChangePersistence.js +1 -1
  5. package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
  6. package/src/sap/ui/fl/FakeLrepConnector.js +3 -13
  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 +7 -2
  11. package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
  12. package/src/sap/ui/fl/LayerUtils.js +1 -1
  13. package/src/sap/ui/fl/Utils.js +1 -1
  14. package/src/sap/ui/fl/apply/_internal/ChangesController.js +3 -28
  15. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
  16. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
  17. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +1 -1
  18. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -2
  19. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -2
  20. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +3 -2
  21. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +2 -3
  22. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +76 -0
  23. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -3
  24. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +12 -13
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +76 -0
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +2 -3
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +2 -3
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +4 -5
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +4 -5
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +8 -9
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +4 -5
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +3 -4
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +4 -5
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +2 -3
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +5 -6
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +4 -5
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +4 -5
  38. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +18 -5
  39. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
  40. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -1
  41. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +1 -1
  42. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
  43. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -1
  44. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +5 -11
  45. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +1 -1
  46. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +1 -1
  47. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +1 -1
  48. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +1 -23
  49. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +1 -1
  50. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +3 -10
  51. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
  52. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +1 -1
  53. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +1 -1
  54. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +2 -2
  55. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +1 -1
  56. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +1 -1
  57. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +1 -1
  58. package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +1 -1
  59. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -1
  60. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
  61. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +1 -1
  62. package/src/sap/ui/fl/changeHandler/AddIFrame.js +1 -1
  63. package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
  64. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +1 -1
  65. package/src/sap/ui/fl/changeHandler/Base.js +2 -2
  66. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +1 -1
  67. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +1 -1
  68. package/src/sap/ui/fl/changeHandler/BaseRename.js +3 -1
  69. package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
  70. package/src/sap/ui/fl/changeHandler/MoveControls.js +1 -1
  71. package/src/sap/ui/fl/changeHandler/MoveElements.js +1 -1
  72. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +1 -1
  73. package/src/sap/ui/fl/changeHandler/PropertyChange.js +1 -1
  74. package/src/sap/ui/fl/changeHandler/StashControl.js +1 -1
  75. package/src/sap/ui/fl/changeHandler/UnhideControl.js +1 -1
  76. package/src/sap/ui/fl/changeHandler/UnstashControl.js +1 -1
  77. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +1 -1
  78. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +7 -1
  79. package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +21 -31
  80. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
  81. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
  82. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
  83. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +34 -3
  84. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +2 -0
  85. package/src/sap/ui/fl/initial/_internal/Storage.js +1 -1
  86. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +1 -1
  87. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +1 -1
  88. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
  89. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -1
  90. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +1 -1
  91. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +1 -1
  92. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +1 -1
  93. package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
  94. package/src/sap/ui/fl/library.js +43 -43
  95. package/src/sap/ui/fl/messagebundle_bg.properties +2 -2
  96. package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +1 -0
  97. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +1 -1
  98. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +1 -1
  99. package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
  100. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +1 -1
  101. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +1 -1
  102. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +1 -1
  103. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +1 -1
  104. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +1 -1
  105. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
  106. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
  107. package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
  108. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +45 -4
  109. package/src/sap/ui/fl/util/IFrame.js +12 -2
  110. package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -1
  111. package/src/sap/ui/fl/util/resolveBinding.js +1 -1
  112. package/src/sap/ui/fl/variants/VariantManagement.js +17 -0
  113. package/src/sap/ui/fl/variants/VariantModel.js +63 -42
  114. package/src/sap/ui/fl/write/_internal/SaveAs.js +25 -61
  115. package/src/sap/ui/fl/write/_internal/Storage.js +1 -1
  116. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
  117. package/src/sap/ui/fl/write/_internal/Versions.js +4 -1
  118. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +1 -1
  119. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
  120. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +1 -1
  121. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
  122. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +29 -22
  123. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
  124. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
  125. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +1 -1
  126. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +1 -1
  127. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
  128. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
  129. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
  130. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
  131. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
  132. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +1 -1
  133. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +15 -11
  134. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
  135. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
  136. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
  137. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
  138. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +1 -1
  139. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
  140. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +1 -1
  141. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
  142. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
  143. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  144. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
  145. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
  146. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +15 -21
  147. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +5 -3
  148. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +1 -1
  149. package/src/sap/ui/fl/write/_internal/transport/Transports.js +1 -1
  150. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +3 -3
  151. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
  152. package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
  153. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +13 -4
  154. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +2 -2
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * changes or other flex objects that need processing. If there is nothing to
32
32
  * process, any further flex processing is stopped to avoid runtime impact for end users.
33
33
  *
34
- * @version 1.111.2
34
+ * @version 1.112.2
35
35
  * @since 1.44
36
36
  * @namespace
37
37
  * @name sap.ui.fl.initial
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * The <code>sap.ui.fl.initial._internal</code> namespace contains internals that are used
44
44
  * during app startup, e.g. to load the flex data and resolve or bootstrap the <code>sap.ui.fl.apply</code> for applying changes.
45
45
  *
46
- * @version 1.111.2
46
+ * @version 1.112.2
47
47
  * @namespace
48
48
  * @name sap.ui.fl.initial._internal
49
49
  * @private
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * The <code>Configuration</code> is not limited to these connectors and can include every connector extending <code>sap.ui.fl.interfaces.BaseLoadConnector</code>
57
57
  * and <code>sap.ui.fl.write.connectors.BaseConnector</code>.
58
58
  *
59
- * @version 1.111.2
59
+ * @version 1.112.2
60
60
  * @namespace
61
61
  * @name sap.ui.fl.initial._internal.connectors
62
62
  * @private
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  /**
67
67
  * The <code>sap.ui.fl.apply</code> namespace contains all code to apply flexibility changes on application startup.
68
68
  *
69
- * @version 1.111.2
69
+ * @version 1.112.2
70
70
  * @namespace
71
71
  * @name sap.ui.fl.apply
72
72
  * @private
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
  * The <code>sap.ui.fl.apply.api</code> namespace contains public APIs that can be used
78
78
  * during app startup, e.g. to wait for changes to be applied or to access the current variant and switch variants.
79
79
  *
80
- * @version 1.111.2
80
+ * @version 1.112.2
81
81
  * @namespace
82
82
  * @name sap.ui.fl.apply.api
83
83
  * @private
@@ -86,7 +86,7 @@ sap.ui.define([
86
86
 
87
87
  /**
88
88
  *
89
- * @version 1.111.2
89
+ * @version 1.112.2
90
90
  * @namespace
91
91
  * @name sap.ui.fl.apply._internal
92
92
  * @private
@@ -95,7 +95,7 @@ sap.ui.define([
95
95
 
96
96
  /**
97
97
  *
98
- * @version 1.111.2
98
+ * @version 1.112.2
99
99
  * @namespace
100
100
  * @name sap.ui.fl.apply._internal.changes
101
101
  * @private
@@ -104,7 +104,7 @@ sap.ui.define([
104
104
 
105
105
  /**
106
106
  *
107
- * @version 1.111.2
107
+ * @version 1.112.2
108
108
  * @namespace
109
109
  * @name sap.ui.fl.apply._internal.changes.descriptor
110
110
  * @private
@@ -113,7 +113,7 @@ sap.ui.define([
113
113
 
114
114
  /**
115
115
  *
116
- * @version 1.111.2
116
+ * @version 1.112.2
117
117
  * @namespace
118
118
  * @name sap.ui.fl.apply._internal.changes.descriptor.app
119
119
  * @private
@@ -122,7 +122,7 @@ sap.ui.define([
122
122
 
123
123
  /**
124
124
  *
125
- * @version 1.111.2
125
+ * @version 1.112.2
126
126
  * @namespace
127
127
  * @name sap.ui.fl.apply._internal.changes.descriptor.fiori
128
128
  * @private
@@ -131,7 +131,7 @@ sap.ui.define([
131
131
 
132
132
  /**
133
133
  *
134
- * @version 1.111.2
134
+ * @version 1.112.2
135
135
  * @namespace
136
136
  * @name sap.ui.fl.apply._internal.changes.descriptor.ovp
137
137
  * @private
@@ -140,7 +140,7 @@ sap.ui.define([
140
140
 
141
141
  /**
142
142
  *
143
- * @version 1.111.2
143
+ * @version 1.112.2
144
144
  * @namespace
145
145
  * @name sap.ui.fl.apply._internal.changes.descriptor.ui5
146
146
  * @private
@@ -149,7 +149,7 @@ sap.ui.define([
149
149
 
150
150
  /**
151
151
  *
152
- * @version 1.111.2
152
+ * @version 1.112.2
153
153
  * @namespace
154
154
  * @name sap.ui.fl.apply._internal.flexObjects
155
155
  * @private
@@ -158,7 +158,7 @@ sap.ui.define([
158
158
 
159
159
  /**
160
160
  *
161
- * @version 1.111.2
161
+ * @version 1.112.2
162
162
  * @namespace
163
163
  * @name sap.ui.fl.apply._internal.flexState
164
164
  * @private
@@ -167,7 +167,7 @@ sap.ui.define([
167
167
 
168
168
  /**
169
169
  *
170
- * @version 1.111.2
170
+ * @version 1.112.2
171
171
  * @namespace
172
172
  * @name sap.ui.fl.apply._internal.flexState.changes
173
173
  * @private
@@ -176,7 +176,7 @@ sap.ui.define([
176
176
 
177
177
  /**
178
178
  *
179
- * @version 1.111.2
179
+ * @version 1.112.2
180
180
  * @namespace
181
181
  * @name sap.ui.fl.apply._internal.flexState.compVariants
182
182
  * @private
@@ -185,7 +185,7 @@ sap.ui.define([
185
185
 
186
186
  /**
187
187
  *
188
- * @version 1.111.2
188
+ * @version 1.112.2
189
189
  * @namespace
190
190
  * @name sap.ui.fl.apply._internal.flexState.controlVariants
191
191
  * @private
@@ -194,7 +194,7 @@ sap.ui.define([
194
194
 
195
195
  /**
196
196
  *
197
- * @version 1.111.2
197
+ * @version 1.112.2
198
198
  * @namespace
199
199
  * @name sap.ui.fl.apply._internal.flexState.UI2Personalization
200
200
  * @private
@@ -203,7 +203,7 @@ sap.ui.define([
203
203
 
204
204
  /**
205
205
  *
206
- * @version 1.111.2
206
+ * @version 1.112.2
207
207
  * @namespace
208
208
  * @name sap.ui.fl.apply._internal.preprocessors
209
209
  * @private
@@ -212,7 +212,7 @@ sap.ui.define([
212
212
 
213
213
  /**
214
214
  *
215
- * @version 1.111.2
215
+ * @version 1.112.2
216
216
  * @namespace
217
217
  * @name sap.ui.fl.apply._internal.variants
218
218
  * @private
@@ -221,7 +221,7 @@ sap.ui.define([
221
221
 
222
222
  /**
223
223
  *
224
- * @version 1.111.2
224
+ * @version 1.112.2
225
225
  * @namespace
226
226
  * @name sap.ui.fl.support
227
227
  * @private
@@ -230,7 +230,7 @@ sap.ui.define([
230
230
 
231
231
  /**
232
232
  *
233
- * @version 1.111.2
233
+ * @version 1.112.2
234
234
  * @namespace
235
235
  * @name sap.ui.fl.support.api
236
236
  * @private
@@ -239,7 +239,7 @@ sap.ui.define([
239
239
 
240
240
  /**
241
241
  *
242
- * @version 1.111.2
242
+ * @version 1.112.2
243
243
  * @namespace
244
244
  * @name sap.ui.fl.support._internal
245
245
  * @private
@@ -248,7 +248,7 @@ sap.ui.define([
248
248
 
249
249
  /**
250
250
  *
251
- * @version 1.111.2
251
+ * @version 1.112.2
252
252
  * @namespace
253
253
  * @name sap.ui.fl.variants.context
254
254
  * @private
@@ -259,7 +259,7 @@ sap.ui.define([
259
259
  * Namespace containing interfaces and base classes of connectors to implement a connection to a specific end point
260
260
  * capable of storing flexibility entities as well as providing information about its capabilities.
261
261
  *
262
- * @version 1.111.2
262
+ * @version 1.112.2
263
263
  * @namespace
264
264
  * @name sap.ui.fl.connectors
265
265
  * @deprecated since 1.87. Use a implementing class in the {@link sap.ui.fl.write.api.connectors} namespace instead.
@@ -270,7 +270,7 @@ sap.ui.define([
270
270
  /**
271
271
  * The <code>sap.ui.fl.variants</code> namespace contains the {@link sap.ui.fl.variants.VariantManagement} control and its internals.
272
272
  *
273
- * @version 1.111.2
273
+ * @version 1.112.2
274
274
  * @namespace
275
275
  * @public
276
276
  * @name sap.ui.fl.variants
@@ -281,7 +281,7 @@ sap.ui.define([
281
281
  * create, update, and reset flex objects. Additional common functionality needed
282
282
  * by personalization dialogs or tools like key user adaptation are part of the namespace.
283
283
  *
284
- * @version 1.111.2
284
+ * @version 1.112.2
285
285
  * @namespace
286
286
  * @name sap.ui.fl.write
287
287
  * @public
@@ -290,7 +290,7 @@ sap.ui.define([
290
290
  /**
291
291
  * The <code>sap.ui.fl.write.api</code> namespace contains public APIs to work with flex objects.
292
292
  *
293
- * @version 1.111.2
293
+ * @version 1.112.2
294
294
  * @namespace
295
295
  * @name sap.ui.fl.write.api
296
296
  * @public
@@ -300,7 +300,7 @@ sap.ui.define([
300
300
  * Namespace containing interfaces and base classes of connectors to implement a connection to a specific end point
301
301
  * capable of storing flexibility entities as well as providing information about its capabilities.
302
302
  *
303
- * @version 1.111.2
303
+ * @version 1.112.2
304
304
  * @namespace
305
305
  * @name sap.ui.fl.write.api.connectors
306
306
  * @private
@@ -309,7 +309,7 @@ sap.ui.define([
309
309
 
310
310
  /**
311
311
  *
312
- * @version 1.111.2
312
+ * @version 1.112.2
313
313
  * @namespace
314
314
  * @name sap.ui.fl.write._internal
315
315
  * @private
@@ -318,7 +318,7 @@ sap.ui.define([
318
318
 
319
319
  /**
320
320
  *
321
- * @version 1.111.2
321
+ * @version 1.112.2
322
322
  * @namespace
323
323
  * @name sap.ui.fl.write._internal.appVariant
324
324
  * @private
@@ -329,7 +329,7 @@ sap.ui.define([
329
329
  * Namespace containing all types of connectors to write flex data. The usage of the connectors is restricted to the
330
330
  * <code>sap.ui.fl</code> library.
331
331
  *
332
- * @version 1.111.2
332
+ * @version 1.112.2
333
333
  * @namespace
334
334
  * @name sap.ui.fl.write._internal.connectors
335
335
  * @private
@@ -338,7 +338,7 @@ sap.ui.define([
338
338
 
339
339
  /**
340
340
  *
341
- * @version 1.111.2
341
+ * @version 1.112.2
342
342
  * @namespace
343
343
  * @name sap.ui.fl.write._internal.extensionPoint
344
344
  * @private
@@ -347,7 +347,7 @@ sap.ui.define([
347
347
 
348
348
  /**
349
349
  *
350
- * @version 1.111.2
350
+ * @version 1.112.2
351
351
  * @namespace
352
352
  * @name sap.ui.fl.write._internal.fieldExtensibility
353
353
  * @private
@@ -356,7 +356,7 @@ sap.ui.define([
356
356
 
357
357
  /**
358
358
  *
359
- * @version 1.111.2
359
+ * @version 1.112.2
360
360
  * @namespace
361
361
  * @name sap.ui.fl.write._internal.flexState
362
362
  * @private
@@ -365,7 +365,7 @@ sap.ui.define([
365
365
 
366
366
  /**
367
367
  *
368
- * @version 1.111.2
368
+ * @version 1.112.2
369
369
  * @namespace
370
370
  * @name sap.ui.fl.write._internal.flexState.compVariants
371
371
  * @private
@@ -374,7 +374,7 @@ sap.ui.define([
374
374
 
375
375
  /**
376
376
  *
377
- * @version 1.111.2
377
+ * @version 1.112.2
378
378
  * @namespace
379
379
  * @name sap.ui.fl.write.connectors
380
380
  * @private
@@ -383,7 +383,7 @@ sap.ui.define([
383
383
 
384
384
  /**
385
385
  *
386
- * @version 1.111.2
386
+ * @version 1.112.2
387
387
  * @namespace
388
388
  * @name sap.ui.fl.changeHandler
389
389
  * @private
@@ -394,7 +394,7 @@ sap.ui.define([
394
394
  * The <code>sap.ui.fl.interfaces</code> namespace contains only interface jsdoc descriptions.
395
395
  * It does not contain running code.
396
396
  *
397
- * @version 1.111.2
397
+ * @version 1.112.2
398
398
  * @namespace
399
399
  * @name sap.ui.fl.interfaces
400
400
  * @private
@@ -403,7 +403,7 @@ sap.ui.define([
403
403
 
404
404
  /**
405
405
  *
406
- * @version 1.111.2
406
+ * @version 1.112.2
407
407
  * @namespace
408
408
  * @name sap.ui.fl.interfaces.delegate
409
409
  * @private
@@ -414,7 +414,7 @@ sap.ui.define([
414
414
  * The <code>sap.ui.fl.interfaces</code> namespace contains only interface jsdoc descriptions.
415
415
  * It does not contain running code.
416
416
  *
417
- * @version 1.111.2
417
+ * @version 1.112.2
418
418
  * @namespace
419
419
  * @name sap.ui.fl.registry
420
420
  * @private
@@ -473,11 +473,11 @@ sap.ui.define([
473
473
  * @alias sap.ui.fl
474
474
  * @author SAP SE
475
475
  * @public
476
- * @version 1.111.2
476
+ * @version 1.112.2
477
477
  */
478
478
  var thisLib = sap.ui.getCore().initLibrary({
479
479
  name: "sap.ui.fl",
480
- version: "1.111.2",
480
+ version: "1.112.2",
481
481
  controls: [
482
482
  "sap.ui.fl.variants.VariantManagement",
483
483
  "sap.ui.fl.util.IFrame"
@@ -102,9 +102,9 @@ VARIANT_MANAGEMENT_VISIBILITY_ICON_TT=\u0417\u0430 \u043F\u0440\u043E\u043C\u044
102
102
  VARIANT_MANAGEMENT_SELECTROLES_DIALOG=\u0418\u0437\u0431\u043E\u0440 \u043D\u0430 \u0440\u043E\u043B\u0438
103
103
 
104
104
 
105
- STANDARD_VARIANT_ORIGINAL_TITLE=\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0435\u043D \u0438\u0437\u0433\u043B\u0435\u0434
105
+ STANDARD_VARIANT_ORIGINAL_TITLE=\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0435\u043D
106
106
 
107
- STANDARD_VARIANT_TITLE=\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0435\u043D \u0438\u0437\u0433\u043B\u0435\u0434
107
+ STANDARD_VARIANT_TITLE=\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0435\u043D
108
108
 
109
109
  VARIANT_COPY_SINGLE_TEXT={0} \u041A\u043E\u043F\u0438\u0440\u0430\u043D\u0435
110
110
 
@@ -29,6 +29,7 @@ sap.ui.define([
29
29
  function getAppComponentInstance(sComponentName) {
30
30
  var oCorrectAppComponent;
31
31
  var aComponentContainers = document.querySelector(".sapUiComponentContainer");
32
+ aComponentContainers = Array.isArray(aComponentContainers) ? aComponentContainers : [aComponentContainers];
32
33
  aComponentContainers.some(function(oComponentContainerDomRef) {
33
34
  var oComponentContainer = sap.ui.getCore().byId(oComponentContainerDomRef.id);
34
35
  var oAppComponent = oComponentContainer && oComponentContainer.getComponentInstance();
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @namespace sap.ui.fl.support._internal.getChangeDependencies
29
29
  * @since 1.98
30
- * @version 1.111.2
30
+ * @version 1.112.2
31
31
  * @private
32
32
  * @ui5-restricted sap.ui.fl.support.api.SupportAPI
33
33
  */
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @namespace sap.ui.fl.support._internal.getFlexSettings
18
18
  * @since 1.99
19
- * @version 1.111.2
19
+ * @version 1.112.2
20
20
  * @private
21
21
  * @ui5-restricted sap.ui.fl.support.api.SupportAPI
22
22
  */
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  *
19
19
  * @namespace sap.ui.fl.support.api.SupportAPI
20
20
  * @since 1.98
21
- * @version 1.111.2
21
+ * @version 1.112.2
22
22
  * @private
23
23
  * @ui5-restricted ui5 support tools
24
24
  */
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @constructor
41
41
  * @alias sap.ui.fl.support.apps.contentbrowser.controller.ContentDetails
42
42
  * @author SAP SE
43
- * @version 1.111.2
43
+ * @version 1.112.2
44
44
  * @experimental Since 1.45
45
45
  */
46
46
  return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.ContentDetails", {
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @constructor
41
41
  * @alias sap.ui.fl.support.apps.contentbrowser.controller.ContentDetailsEdit
42
42
  * @author SAP SE
43
- * @version 1.111.2
43
+ * @version 1.112.2
44
44
  * @experimental Since 1.45
45
45
  */
46
46
  return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.ContentDetailsEdit", {
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @constructor
28
28
  * @alias sap.ui.fl.support.apps.contentbrowser.controller.LayerContentMaster
29
29
  * @author SAP SE
30
- * @version 1.111.2
30
+ * @version 1.112.2
31
31
  * @experimental Since 1.45
32
32
  */
33
33
  return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.LayerContentMaster", {
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @constructor
18
18
  * @alias sap.ui.fl.support.apps.contentbrowser.controller.Layers
19
19
  * @author SAP SE
20
- * @version 1.111.2
20
+ * @version 1.112.2
21
21
  * @experimental Since 1.45
22
22
  */
23
23
  return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.Layers", {
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
13
13
  * @constructor
14
14
  * @alias sap.ui.fl.support.apps.contentbrowser.lrepConnector.LRepConnector
15
15
  * @author SAP SE
16
- * @version 1.111.2
16
+ * @version 1.112.2
17
17
  * @experimental Since 1.45
18
18
  */
19
19
  var LrepConnector = {};
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @constructor
18
18
  * @alias sap.ui.fl.support.apps.contentbrowser.utils.DataUtils
19
19
  * @author SAP SE
20
- * @version 1.111.2
20
+ * @version 1.112.2
21
21
  * @experimental Since 1.45
22
22
  */
23
23
  var DataUtils = {
@@ -17,7 +17,7 @@ function (MessageItem, MessagePopover, JSONModel) {
17
17
  * @constructor
18
18
  * @alias sap.ui.fl.support.apps.contentbrowser.utils.ErrorUtils
19
19
  * @author SAP SE
20
- * @version 1.111.2
20
+ * @version 1.112.2
21
21
  * @experimental Since 1.45
22
22
  */
23
23
  var ErrorUtils = {};
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @alias sap.ui.fl.transport.TransportSelection
18
18
  * @constructor
19
19
  * @author SAP SE
20
- * @version 1.111.2
20
+ * @version 1.112.2
21
21
  * @since 1.38.0
22
22
  * Helper object to select an ABAP transport for an LREP object. This is not a generic utility to select a transport request, but part
23
23
  * of the SmartVariant control.
@@ -23,6 +23,43 @@ sap.ui.define([
23
23
  }
24
24
  }
25
25
 
26
+ /**
27
+ * This method is especially for entity property changes.
28
+ * Returns an array that has only cleared generic paths.
29
+ * Generic paths are paths which end with /*. This ending will be removed from the paths.
30
+ * @param {Array} aSupportedProperties - Array of supported properties by change merger
31
+ * @returns {Array} Only cleared generic paths
32
+ */
33
+ function getClearedGenericPath(aSupportedProperties) {
34
+ var aPropertiesClearedGenericPath = [];
35
+ var aPropertiesWithGenericPath = aSupportedProperties.filter(function(sProperty) {
36
+ return sProperty.endsWith("/*");
37
+ });
38
+
39
+ aPropertiesWithGenericPath.forEach(function(sProperty) {
40
+ var sClearedProperty = sProperty.replaceAll("/*", "");
41
+ if (sClearedProperty) {
42
+ aPropertiesClearedGenericPath.push(sClearedProperty);
43
+ }
44
+ });
45
+ return aPropertiesClearedGenericPath;
46
+ }
47
+
48
+ /**
49
+ * This method is especially for entity property changes.
50
+ * Iterates through the array which has cleared generic paths and checks whether these paths start with sPropertyPath.
51
+ * If this is the case then true will be returned otherwise false.
52
+ * @param {Array} aSupportedProperties - Array of supported properties by change merger
53
+ * @param {string} sPropertyPath - Path to the property
54
+ * @returns {boolean} Property Path is supported or is not supported
55
+ */
56
+ function isGenericPropertyPathSupported(aSupportedProperties, sPropertyPath) {
57
+ var aClearedGenericPath = getClearedGenericPath(aSupportedProperties);
58
+ return aClearedGenericPath.some(function(path) {
59
+ return sPropertyPath.startsWith(path);
60
+ });
61
+ }
62
+
26
63
  function formatEntityCheck(oChangeEntity, aSupportedProperties, aSupportedOperations) {
27
64
  if (!oChangeEntity.propertyPath) {
28
65
  throw new Error("Invalid change format: The mandatory 'propertyPath' is not defined. Please define the mandatory property 'propertyPath'");
@@ -30,10 +67,12 @@ sap.ui.define([
30
67
  if (!oChangeEntity.operation) {
31
68
  throw new Error("Invalid change format: The mandatory 'operation' is not defined. Please define the mandatory property 'operation'");
32
69
  }
33
- if (!oChangeEntity.propertyValue) {
34
- throw new Error("Invalid change format: The mandatory 'propertyValue' is not defined. Please define the mandatory property 'propertyValue'");
70
+ if (oChangeEntity.operation.toUpperCase() !== "DELETE") {
71
+ if (!oChangeEntity.hasOwnProperty("propertyValue")) {
72
+ throw new Error("Invalid change format: The mandatory 'propertyValue' is not defined. Please define the mandatory property 'propertyValue'");
73
+ }
35
74
  }
36
- if (!includes(aSupportedProperties, oChangeEntity.propertyPath)) {
75
+ if (!includes(aSupportedProperties, oChangeEntity.propertyPath) && !isGenericPropertyPathSupported(aSupportedProperties, oChangeEntity.propertyPath)) {
37
76
  throw new Error("Changing " + oChangeEntity.propertyPath + " is not supported. The supported 'propertyPath' is: " + aSupportedProperties.join("|"));
38
77
  }
39
78
  if (!includes(aSupportedOperations, oChangeEntity.operation)) {
@@ -112,6 +151,8 @@ sap.ui.define([
112
151
  return {
113
152
  checkEntityPropertyChange: checkEntityPropertyChange,
114
153
  checkIdNamespaceCompliance: checkIdNamespaceCompliance,
115
- getNamespacePrefixForLayer: getNamespacePrefixForLayer
154
+ getNamespacePrefixForLayer: getNamespacePrefixForLayer,
155
+ getClearedGenericPath: getClearedGenericPath,
156
+ isGenericPropertyPathSupported: isGenericPropertyPathSupported
116
157
  };
117
158
  });
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.ui.core.Control
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.111.2
56
+ * @version 1.112.2
57
57
  *
58
58
  * @constructor
59
59
  * @private
@@ -85,7 +85,17 @@ sap.ui.define([
85
85
  title: {type: "string", group: "Misc", defaultValue: undefined},
86
86
 
87
87
  /**
88
- * Backup of the initial settings for the dialogs
88
+ * Defines whether the <code>IFrame</code> was added as a new container.
89
+ */
90
+ asContainer: {type: "boolean", group: "Misc", defaultValue: undefined},
91
+
92
+ /**
93
+ * Defines the information required for handling rename of <code>IFrame</code> containers.
94
+ */
95
+ renameInfo: {type: "object", group: "Data", defaultValue: null},
96
+
97
+ /**
98
+ * Backup of the initial settings for the dialogs.
89
99
  *
90
100
  * @ui5-restricted sap.ui.fl
91
101
  */
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.111.2
28
+ * @version 1.112.2
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  *
35
35
  * @function
36
36
  * @author SAP SE
37
- * @version 1.111.2
37
+ * @version 1.112.2
38
38
  * @alias sap.ui.fl.util.resolveBinding
39
39
  * @experimental
40
40
  * @since 1.91
@@ -749,6 +749,23 @@ sap.ui.define([
749
749
  return this._oVM.getDefaultKey();
750
750
  };
751
751
 
752
+ /**
753
+ * Indicates the design mode was entered.
754
+ * @private
755
+ * @ui5-restricted sap.ui.fl, sap.ui.rta
756
+ */
757
+ VariantManagement.prototype.enteringDesignMode = function() {
758
+ this._oVM.setDesignMode(true);
759
+ };
760
+ /**
761
+ * Indicates the design mode was left.
762
+ * @private
763
+ * @ui5-restricted sap.ui.fl, sap.ui.rta
764
+ */
765
+ VariantManagement.prototype.leavingDesignMode = function() {
766
+ this._oVM.setDesignMode(false);
767
+ };
768
+
752
769
  /**
753
770
  * Determines if the current variant is modified.
754
771
  * @public