@openui5/sap.ui.fl 1.114.0 → 1.114.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.
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/Cache.js +1 -1
- package/src/sap/ui/fl/ChangePersistence.js +1 -1
- package/src/sap/ui/fl/ChangePersistenceFactory.js +3 -55
- package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +1 -1
- package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
- package/src/sap/ui/fl/FlexController.js +1 -1
- package/src/sap/ui/fl/FlexControllerFactory.js +7 -159
- package/src/sap/ui/fl/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Utils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/ChangesController.js +0 -2
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +4 -1
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +13 -7
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +1 -1
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +15 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -14
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +3 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +20 -2
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +9 -9
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +17 -2
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +219 -0
- package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +7 -9
- package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +1 -1
- package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +6 -0
- package/src/sap/ui/fl/changeHandler/AddIFrame.js +1 -1
- package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
- package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/fl/changeHandler/Base.js +1 -1
- package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +1 -1
- package/src/sap/ui/fl/changeHandler/BaseAddXml.js +1 -1
- package/src/sap/ui/fl/changeHandler/BaseRename.js +1 -1
- package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/MoveControls.js +6 -1
- package/src/sap/ui/fl/changeHandler/MoveElements.js +1 -1
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +1 -1
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +1 -1
- package/src/sap/ui/fl/changeHandler/StashControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UnhideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UnstashControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
- package/src/sap/ui/fl/initial/_internal/Storage.js +3 -1
- package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +3 -22
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +1 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +1 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +1 -0
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +1 -1
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +1 -1
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +1 -1
- package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
- package/src/sap/ui/fl/library.js +43 -43
- package/src/sap/ui/fl/messagebundle.properties +4 -1
- package/src/sap/ui/fl/requireAsync.js +6 -0
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +1 -1
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +1 -1
- package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/IFrame.js +1 -1
- package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -1
- package/src/sap/ui/fl/util/resolveBinding.js +1 -1
- package/src/sap/ui/fl/variants/VariantModel.js +77 -3
- package/src/sap/ui/fl/write/_internal/Storage.js +1 -4
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +132 -107
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +1 -1
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +35 -8
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +17 -2
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +8 -5
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +6 -0
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +11 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +11 -4
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +36 -12
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +1 -1
- package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +618 -104
- package/src/sap/ui/fl/write/api/ContextSharingAPI.js +7 -1
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +5 -2
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +10 -1
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -0
- package/src/sap/ui/fl/write/api/VersionsAPI.js +66 -17
package/src/sap/ui/fl/library.js
CHANGED
|
@@ -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.114.
|
|
34
|
+
* @version 1.114.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.114.
|
|
46
|
+
* @version 1.114.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.114.
|
|
59
|
+
* @version 1.114.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.114.
|
|
69
|
+
* @version 1.114.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.114.
|
|
80
|
+
* @version 1.114.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.114.
|
|
89
|
+
* @version 1.114.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.114.
|
|
98
|
+
* @version 1.114.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.114.
|
|
107
|
+
* @version 1.114.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.114.
|
|
116
|
+
* @version 1.114.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.114.
|
|
125
|
+
* @version 1.114.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.114.
|
|
134
|
+
* @version 1.114.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.114.
|
|
143
|
+
* @version 1.114.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.114.
|
|
152
|
+
* @version 1.114.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.114.
|
|
161
|
+
* @version 1.114.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.114.
|
|
170
|
+
* @version 1.114.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.114.
|
|
179
|
+
* @version 1.114.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.114.
|
|
188
|
+
* @version 1.114.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.114.
|
|
197
|
+
* @version 1.114.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.114.
|
|
206
|
+
* @version 1.114.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.114.
|
|
215
|
+
* @version 1.114.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.114.
|
|
224
|
+
* @version 1.114.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.114.
|
|
233
|
+
* @version 1.114.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.114.
|
|
242
|
+
* @version 1.114.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.114.
|
|
251
|
+
* @version 1.114.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.114.
|
|
262
|
+
* @version 1.114.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.114.
|
|
273
|
+
* @version 1.114.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.114.
|
|
284
|
+
* @version 1.114.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.114.
|
|
293
|
+
* @version 1.114.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.114.
|
|
303
|
+
* @version 1.114.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.114.
|
|
312
|
+
* @version 1.114.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.114.
|
|
321
|
+
* @version 1.114.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.114.
|
|
332
|
+
* @version 1.114.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.114.
|
|
341
|
+
* @version 1.114.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.114.
|
|
350
|
+
* @version 1.114.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.114.
|
|
359
|
+
* @version 1.114.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.114.
|
|
368
|
+
* @version 1.114.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.114.
|
|
377
|
+
* @version 1.114.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.114.
|
|
386
|
+
* @version 1.114.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.114.
|
|
397
|
+
* @version 1.114.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.114.
|
|
406
|
+
* @version 1.114.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.114.
|
|
417
|
+
* @version 1.114.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.114.
|
|
476
|
+
* @version 1.114.2
|
|
477
477
|
*/
|
|
478
478
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
479
479
|
name: "sap.ui.fl",
|
|
480
|
-
version: "1.114.
|
|
480
|
+
version: "1.114.2",
|
|
481
481
|
controls: [
|
|
482
482
|
"sap.ui.fl.variants.VariantManagement",
|
|
483
483
|
"sap.ui.fl.util.IFrame"
|
|
@@ -225,4 +225,7 @@ CAP_ERR_WHITESPACE=Name must not contain whitespace
|
|
|
225
225
|
BUSINESS_OBJECT_NODE_TITLE=Available Business Object Nodes:
|
|
226
226
|
|
|
227
227
|
#XTXT: Error message when change could not be applied because of open dependencies
|
|
228
|
-
MSG_DEPENDENT_CHANGE_ERROR=The following change cannot be applied: {0}.\n This is caused by the following open dependencies: {1}
|
|
228
|
+
MSG_DEPENDENT_CHANGE_ERROR=The following change cannot be applied: {0}.\n This is caused by the following open dependencies: {1}
|
|
229
|
+
|
|
230
|
+
#XTIT: Context-Based Adaptation Title of adaptation which is created during migration for a role
|
|
231
|
+
CBA_MIGRATED_ADAPTATION_TITLE={0} (Migrated from restricted view)
|
|
@@ -23,6 +23,12 @@ sap.ui.define([
|
|
|
23
23
|
* @alias module:sap/ui/fl/requireAsync
|
|
24
24
|
*/
|
|
25
25
|
return function(sModuleName) {
|
|
26
|
+
// shortcut needed because the requireAsync does a setTimeout if the module is already loaded
|
|
27
|
+
// this setTimeout will affect our promise chains in a bad way
|
|
28
|
+
var oAlreadyLoadedModule = sap.ui.require(sModuleName);
|
|
29
|
+
if (oAlreadyLoadedModule) {
|
|
30
|
+
return Promise.resolve(oAlreadyLoadedModule);
|
|
31
|
+
}
|
|
26
32
|
//TODO: get rid of require async as soon as sap.ui.require has learned Promises as return value
|
|
27
33
|
return new Promise(function(fnResolve, fnReject) {
|
|
28
34
|
sap.ui.require([sModuleName], function(oModule) {
|
|
@@ -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.114.
|
|
43
|
+
* @version 1.114.2
|
|
44
44
|
* @experimental Since 1.45
|
|
45
45
|
*/
|
|
46
46
|
return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.ContentDetails", {
|
package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js
CHANGED
|
@@ -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.114.
|
|
43
|
+
* @version 1.114.2
|
|
44
44
|
* @experimental Since 1.45
|
|
45
45
|
*/
|
|
46
46
|
return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.ContentDetailsEdit", {
|
package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js
CHANGED
|
@@ -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.114.
|
|
30
|
+
* @version 1.114.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.114.
|
|
20
|
+
* @version 1.114.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.114.
|
|
16
|
+
* @version 1.114.2
|
|
17
17
|
* @experimental Since 1.45
|
|
18
18
|
*/
|
|
19
19
|
var LrepConnector = {};
|
|
@@ -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.114.
|
|
20
|
+
* @version 1.114.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.114.
|
|
20
|
+
* @version 1.114.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.
|
|
@@ -27,6 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
"sap/ui/fl/LayerUtils",
|
|
28
28
|
"sap/ui/fl/Utils",
|
|
29
29
|
"sap/ui/fl/registry/Settings",
|
|
30
|
+
"sap/ui/fl/write/api/ContextBasedAdaptationsAPI",
|
|
30
31
|
"sap/ui/model/json/JSONModel"
|
|
31
32
|
], function(
|
|
32
33
|
_omit,
|
|
@@ -51,6 +52,7 @@ sap.ui.define([
|
|
|
51
52
|
LayerUtils,
|
|
52
53
|
Utils,
|
|
53
54
|
Settings,
|
|
55
|
+
ContextBasedAdaptationsAPI,
|
|
54
56
|
JSONModel
|
|
55
57
|
) {
|
|
56
58
|
"use strict";
|
|
@@ -297,7 +299,7 @@ sap.ui.define([
|
|
|
297
299
|
* @class Variant model implementation for JSON format.
|
|
298
300
|
* @extends sap.ui.model.json.JSONModel
|
|
299
301
|
* @author SAP SE
|
|
300
|
-
* @version 1.114.
|
|
302
|
+
* @version 1.114.2
|
|
301
303
|
* @param {object} oData - Either the URL where to load the JSON from or a JS object
|
|
302
304
|
* @param {object} mPropertyBag - Map of properties required for the constructor
|
|
303
305
|
* @param {sap.ui.fl.FlexController} mPropertyBag.flexController - <code>FlexController</code> instance for the component which uses the variant model
|
|
@@ -670,6 +672,7 @@ sap.ui.define([
|
|
|
670
672
|
variantName: mPropertyBag.title,
|
|
671
673
|
contexts: mPropertyBag.contexts,
|
|
672
674
|
layer: mPropertyBag.layer,
|
|
675
|
+
adaptationId: mPropertyBag.adaptationId,
|
|
673
676
|
reference: oSourceVariant.getFlexObjectMetadata().reference,
|
|
674
677
|
generator: mPropertyBag.generator,
|
|
675
678
|
variantManagementReference: mPropertyBag.variantManagementReference
|
|
@@ -709,6 +712,17 @@ sap.ui.define([
|
|
|
709
712
|
if (mPropertyBag.currentVariantComparison === 1) {
|
|
710
713
|
mPropertyBag.sourceVariantSource = this.getVariant(oSourceVariant.instance.getVariantReference());
|
|
711
714
|
}
|
|
715
|
+
var mContextBasedAdaptationBag = {
|
|
716
|
+
layer: mPropertyBag.layer,
|
|
717
|
+
control: this.oAppComponent,
|
|
718
|
+
reference: this.sFlexReference
|
|
719
|
+
};
|
|
720
|
+
var bHasAdaptationsModel = ContextBasedAdaptationsAPI.hasAdaptationsModel(mContextBasedAdaptationBag);
|
|
721
|
+
if (bHasAdaptationsModel) {
|
|
722
|
+
mPropertyBag.adaptationId = ContextBasedAdaptationsAPI.getDisplayedAdaptationId(mContextBasedAdaptationBag);
|
|
723
|
+
} else {
|
|
724
|
+
_omit(mPropertyBag, "adaptationId");
|
|
725
|
+
}
|
|
712
726
|
var oDuplicateVariant = {
|
|
713
727
|
instance: createNewVariant(oSourceVariant.instance, mPropertyBag),
|
|
714
728
|
controlChanges: aVariantChanges,
|
|
@@ -948,12 +962,13 @@ sap.ui.define([
|
|
|
948
962
|
};
|
|
949
963
|
|
|
950
964
|
/**
|
|
951
|
-
* Sets the variant properties and
|
|
965
|
+
* Sets the variant properties and creates a variant change
|
|
952
966
|
* @param {string} sVariantManagementReference - Variant management reference
|
|
953
967
|
* @param {object} mPropertyBag - Map of properties
|
|
968
|
+
* @param {string} [mPropertyBag.adaptationId] - Adaptation ID to set which overrules the currently display adaptation
|
|
954
969
|
* @returns {sap.ui.fl.apply._internal.flexObjects.FlexObject} Created Change object
|
|
955
970
|
*/
|
|
956
|
-
VariantModel.prototype.
|
|
971
|
+
VariantModel.prototype.createVariantChange = function(sVariantManagementReference, mPropertyBag) {
|
|
957
972
|
var mAdditionalChangeContent = this.setVariantProperties(sVariantManagementReference, mPropertyBag);
|
|
958
973
|
|
|
959
974
|
var mNewChangeData = {};
|
|
@@ -968,6 +983,20 @@ sap.ui.define([
|
|
|
968
983
|
mNewChangeData.layer = mPropertyBag.layer;
|
|
969
984
|
mNewChangeData.generator = mPropertyBag.generator;
|
|
970
985
|
|
|
986
|
+
//add adaptationId
|
|
987
|
+
if (mPropertyBag.adaptationId !== undefined) {
|
|
988
|
+
mNewChangeData.adaptationId = mPropertyBag.adaptationId;
|
|
989
|
+
} else {
|
|
990
|
+
var mContextBasedAdaptationBag = {
|
|
991
|
+
layer: mPropertyBag.layer,
|
|
992
|
+
control: mPropertyBag.appComponent,
|
|
993
|
+
reference: this.sFlexReference
|
|
994
|
+
};
|
|
995
|
+
if (ContextBasedAdaptationsAPI.hasAdaptationsModel(mContextBasedAdaptationBag)) {
|
|
996
|
+
mNewChangeData.adaptationId = ContextBasedAdaptationsAPI.getDisplayedAdaptationId(mContextBasedAdaptationBag);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
|
|
971
1000
|
if (mPropertyBag.changeType === "setDefault") {
|
|
972
1001
|
mNewChangeData.fileType = "ctrl_variant_management_change";
|
|
973
1002
|
mNewChangeData.selector = JsControlTreeModifier.getSelector(sVariantManagementReference, mPropertyBag.appComponent);
|
|
@@ -986,6 +1015,18 @@ sap.ui.define([
|
|
|
986
1015
|
mUpdateVariantsStateParams.changeContent = oChange.convertToFileContent();
|
|
987
1016
|
//update variants state and write change to ChangePersistence
|
|
988
1017
|
VariantManagementState.updateChangesForVariantManagementInMap(mUpdateVariantsStateParams);
|
|
1018
|
+
return oChange;
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Sets the variant properties and adds a variant change
|
|
1023
|
+
* @param {string} sVariantManagementReference - Variant management reference
|
|
1024
|
+
* @param {object} mPropertyBag - Map of properties
|
|
1025
|
+
* @param {string} [mPropertyBag.adaptationId] - Adaptation ID to set which overrules the currently display adaptation
|
|
1026
|
+
* @returns {sap.ui.fl.apply._internal.flexObjects.FlexObject} Created Change object
|
|
1027
|
+
*/
|
|
1028
|
+
VariantModel.prototype.addVariantChange = function(sVariantManagementReference, mPropertyBag) {
|
|
1029
|
+
var oChange = this.createVariantChange(sVariantManagementReference, mPropertyBag);
|
|
989
1030
|
this.oChangePersistence.addDirtyChange(oChange);
|
|
990
1031
|
|
|
991
1032
|
return oChange;
|
|
@@ -1450,6 +1491,36 @@ sap.ui.define([
|
|
|
1450
1491
|
}.bind(this));
|
|
1451
1492
|
};
|
|
1452
1493
|
|
|
1494
|
+
function resolveTitleBindingsAndCreateVariantChanges(oVariantManagementControl, sVariantManagementReference) {
|
|
1495
|
+
this.oData[sVariantManagementReference].variants.forEach(function(oVariant) {
|
|
1496
|
+
// Find model and key from patterns like {i18n>TextKey} - only named resource models are supported
|
|
1497
|
+
var aMatches = oVariant.title && oVariant.title.match(/{(\w+)>(\w+)}/);
|
|
1498
|
+
if (aMatches) {
|
|
1499
|
+
var sModelName = aMatches[1];
|
|
1500
|
+
var sKey = aMatches[2];
|
|
1501
|
+
var oModel = oVariantManagementControl.getModel(sModelName);
|
|
1502
|
+
if (oModel) {
|
|
1503
|
+
var sResolvedTitle = oModel.getResourceBundle().getText(sKey);
|
|
1504
|
+
var mChangeProperties = {
|
|
1505
|
+
variantReference: oVariant.key,
|
|
1506
|
+
changeType: "setTitle",
|
|
1507
|
+
title: sResolvedTitle,
|
|
1508
|
+
originalTitle: oVariant.originalTitle,
|
|
1509
|
+
layer: oVariant.layer,
|
|
1510
|
+
appComponent: this.oAppComponent
|
|
1511
|
+
};
|
|
1512
|
+
this.createVariantChange(sVariantManagementReference, mChangeProperties);
|
|
1513
|
+
} else {
|
|
1514
|
+
// Wait for model to be assigned and try again
|
|
1515
|
+
oVariantManagementControl.attachEventOnce(
|
|
1516
|
+
"modelContextChange",
|
|
1517
|
+
resolveTitleBindingsAndCreateVariantChanges.bind(this, oVariantManagementControl, sVariantManagementReference)
|
|
1518
|
+
);
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
}.bind(this));
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1453
1524
|
VariantModel.prototype.registerToModel = function(oVariantManagementControl) {
|
|
1454
1525
|
var sVariantManagementReference = this.getVariantManagementReferenceForControl(oVariantManagementControl);
|
|
1455
1526
|
|
|
@@ -1462,6 +1533,9 @@ sap.ui.define([
|
|
|
1462
1533
|
// only attachVariantApplied will set this to true
|
|
1463
1534
|
this.oData[sVariantManagementReference].showExecuteOnSelection = false;
|
|
1464
1535
|
|
|
1536
|
+
// replace bindings in titles with the resolved texts
|
|
1537
|
+
resolveTitleBindingsAndCreateVariantChanges.call(this, oVariantManagementControl, sVariantManagementReference);
|
|
1538
|
+
|
|
1465
1539
|
// attach/detach events on control
|
|
1466
1540
|
// select event
|
|
1467
1541
|
oVariantManagementControl.attachEvent("select", {
|