@openui5/sap.ui.fl 1.120.6 → 1.121.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.
- package/.reuse/dep5 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/ChangePersistence.js +38 -133
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- 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 +28 -15
- package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
- package/src/sap/ui/fl/LayerUtils.js +5 -5
- package/src/sap/ui/fl/Utils.js +15 -18
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +19 -20
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +1 -1
- 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 +6 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +9 -3
- 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 +2 -2
- 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/controlVariants/URLHandler.js +17 -11
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +7 -19
- package/src/sap/ui/fl/{write → apply}/_internal/extensionPoint/Registry.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -3
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +13 -7
- package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +3 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +8 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor.js +47 -0
- package/src/sap/ui/fl/apply/_internal/flexState/DataSelector.js +124 -34
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +118 -45
- package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +25 -9
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +17 -3
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +21 -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 +108 -104
- package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +93 -34
- package/src/sap/ui/fl/apply/_internal/flexState/changes/UIChangesState.js +195 -0
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +7 -6
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +6 -6
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +89 -11
- package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +20 -28
- 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 +1 -1
- 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/{write → apply}/api/ExtensionPointRegistryAPI.js +3 -3
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +49 -8
- package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +1 -1
- 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 +7 -6
- 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 +1 -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 +2 -2
- package/src/sap/ui/fl/changeHandler/UnhideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UnstashControl.js +4 -4
- 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/designtime/util/IFrame.designtime.js +3 -91
- package/src/sap/ui/fl/designtime/util/editIFrame.js +94 -0
- package/src/sap/ui/fl/initial/_internal/FlexConfiguration.js +1 -1
- package/src/sap/ui/fl/initial/_internal/FlexInfoSession.js +2 -23
- package/src/sap/ui/fl/initial/_internal/Storage.js +106 -39
- package/src/sap/ui/fl/{write → initial}/_internal/StorageFeaturesMerger.js +10 -7
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +14 -8
- 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/BackendConnector.js +26 -4
- package/src/sap/ui/fl/initial/_internal/connectors/BtpServiceConnector.js +44 -0
- package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +8 -1
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +48 -2
- package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +25 -4
- package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +12 -1
- package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +14 -4
- 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/initial/api/Version.js +0 -1
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +22 -1
- package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
- package/src/sap/ui/fl/library.js +48 -43
- package/src/sap/ui/fl/messagebundle.properties +3 -0
- package/src/sap/ui/fl/messagebundle_bg.properties +1 -1
- package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +39 -39
- package/src/sap/ui/fl/messagebundle_hu.properties +1 -1
- package/src/sap/ui/fl/messagebundle_it.properties +1 -1
- package/src/sap/ui/fl/messagebundle_lv.properties +1 -1
- package/src/sap/ui/fl/messagebundle_mk.properties +2 -2
- package/src/sap/ui/fl/messagebundle_no.properties +1 -1
- package/src/sap/ui/fl/registry/Settings.js +12 -1
- package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +40 -20
- package/src/sap/ui/fl/support/_internal/getAllUIChanges.js +93 -0
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +4 -4
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +1 -1
- package/src/sap/ui/fl/support/api/SupportAPI.js +5 -2
- 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/DescriptorChangeCheck.js +34 -19
- package/src/sap/ui/fl/util/IFrame.js +67 -20
- 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/VariantManagement.js +88 -49
- package/src/sap/ui/fl/variants/VariantModel.js +19 -6
- package/src/sap/ui/fl/write/_internal/Storage.js +5 -34
- package/src/sap/ui/fl/write/_internal/Versions.js +62 -63
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +2 -2
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -16
- package/src/sap/ui/fl/write/_internal/connectors/BtpServiceConnector.js +55 -0
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +3 -9
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +1 -26
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +3 -20
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +5 -1
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -15
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +11 -4
- 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 +7 -7
- 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 +22 -3
- package/src/sap/ui/fl/write/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +36 -4
- 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/ChangesWriteAPI.js +1 -3
- package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +1 -1
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +2 -2
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +2 -2
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +36 -7
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +88 -105
- package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +25 -2
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -0
- package/src/sap/ui/fl/write/api/VersionsAPI.js +0 -1
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +241 -28
- package/src/sap/ui/fl/write/connectors/BaseConnector.js +2 -10
- package/ui5.yaml +37 -76
- package/LICENSES/BSD-2-Clause.txt +0 -22
- package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +0 -26
- /package/src/sap/ui/fl/descriptorRelated/{internal/Utils.js → Utils.js} +0 -0
|
@@ -59,9 +59,10 @@ sap.ui.define([
|
|
|
59
59
|
designtime: "sap/ui/fl/designtime/variants/VariantManagement.designtime",
|
|
60
60
|
properties: {
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Indicates whether the current variant is updated based on the passed information in the URL.
|
|
63
63
|
* <p>
|
|
64
|
-
* <b>Note:</b> The <code>VariantManagement</code> control
|
|
64
|
+
* <b>Note:</b> The <code>VariantManagement</code> control itself is not affected by this property.
|
|
65
|
+
* It is only used internally by the SAPUI5 flexibility layer.
|
|
65
66
|
*/
|
|
66
67
|
updateVariantInURL: {
|
|
67
68
|
type: "boolean",
|
|
@@ -69,9 +70,11 @@ sap.ui.define([
|
|
|
69
70
|
defaultValue: false
|
|
70
71
|
},
|
|
71
72
|
/**
|
|
72
|
-
*
|
|
73
|
+
* If set to <code>false</code>, it does not reset the <code>VariantManagement</code> control to the default variant
|
|
74
|
+
* if its binding context is changed.
|
|
73
75
|
* <p>
|
|
74
|
-
* <b>Note:</b> The <code>VariantManagement</code> control
|
|
76
|
+
* <b>Note:</b> The <code>VariantManagement</code> control itself is not affected by this property.
|
|
77
|
+
* It is only used internally by the SAPUI5 flexibility layer.
|
|
75
78
|
*/
|
|
76
79
|
resetOnContextChange: {
|
|
77
80
|
type: "boolean",
|
|
@@ -87,7 +90,7 @@ sap.ui.define([
|
|
|
87
90
|
defaultValue: ""
|
|
88
91
|
},
|
|
89
92
|
/**
|
|
90
|
-
*
|
|
93
|
+
* Indicates whether the buttons on My Views are visible.
|
|
91
94
|
*/
|
|
92
95
|
editable: {
|
|
93
96
|
type: "boolean",
|
|
@@ -95,7 +98,8 @@ sap.ui.define([
|
|
|
95
98
|
defaultValue: true
|
|
96
99
|
},
|
|
97
100
|
/**
|
|
98
|
-
*
|
|
101
|
+
* Indicates whether the functionality of setting a default variant is enabled.
|
|
102
|
+
* The Default column in Manage Views and the Set as Default checkbox in Save View will be disabled if set to <code>false</code>.
|
|
99
103
|
*/
|
|
100
104
|
showSetAsDefault: {
|
|
101
105
|
type: "boolean",
|
|
@@ -104,7 +108,8 @@ sap.ui.define([
|
|
|
104
108
|
},
|
|
105
109
|
|
|
106
110
|
/**
|
|
107
|
-
* Indicates
|
|
111
|
+
* Indicates whether the control is in error state.
|
|
112
|
+
* If set to <code>true</code>, an error message will be displayed when the variant is opened.
|
|
108
113
|
*/
|
|
109
114
|
inErrorState: {
|
|
110
115
|
type: "boolean",
|
|
@@ -114,7 +119,6 @@ sap.ui.define([
|
|
|
114
119
|
|
|
115
120
|
/**
|
|
116
121
|
* Determines the behavior for Apply Automatically if the standard variant is marked as the default variant.
|
|
117
|
-
*
|
|
118
122
|
*/
|
|
119
123
|
executeOnSelectionForStandardDefault: {
|
|
120
124
|
type: "boolean",
|
|
@@ -123,9 +127,10 @@ sap.ui.define([
|
|
|
123
127
|
},
|
|
124
128
|
|
|
125
129
|
/**
|
|
126
|
-
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog
|
|
130
|
+
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog
|
|
131
|
+
* if the application controls this behavior.
|
|
127
132
|
* <p>
|
|
128
|
-
* <b>Note:</b>
|
|
133
|
+
* <b>Note:</b> The usage of this property is restricted to <code>sap.fe</code> components only.
|
|
129
134
|
*/
|
|
130
135
|
displayTextForExecuteOnSelectionForStandardVariant: {
|
|
131
136
|
type: "string",
|
|
@@ -175,7 +180,7 @@ sap.ui.define([
|
|
|
175
180
|
initialized: {},
|
|
176
181
|
|
|
177
182
|
/**
|
|
178
|
-
* This event is fired when the
|
|
183
|
+
* This event is fired when the Save View dialog or the Save As dialog is closed with the Save button.
|
|
179
184
|
*/
|
|
180
185
|
save: {
|
|
181
186
|
parameters: {
|
|
@@ -187,28 +192,28 @@ sap.ui.define([
|
|
|
187
192
|
},
|
|
188
193
|
|
|
189
194
|
/**
|
|
190
|
-
* Indicates
|
|
195
|
+
* Indicates whether an existing variant is overwritten or whether a new variant is created
|
|
191
196
|
*/
|
|
192
197
|
overwrite: {
|
|
193
198
|
type: "boolean"
|
|
194
199
|
},
|
|
195
200
|
|
|
196
201
|
/**
|
|
197
|
-
* Variant key
|
|
202
|
+
* Variant key. This property is set if <code>overwrite</code> is set to <code>true</code>.
|
|
198
203
|
*/
|
|
199
204
|
key: {
|
|
200
205
|
type: "string"
|
|
201
206
|
},
|
|
202
207
|
|
|
203
208
|
/**
|
|
204
|
-
*
|
|
209
|
+
* Apply Automatically indicator
|
|
205
210
|
*/
|
|
206
211
|
execute: {
|
|
207
212
|
type: "boolean"
|
|
208
213
|
},
|
|
209
214
|
|
|
210
215
|
/**
|
|
211
|
-
* Indicates the
|
|
216
|
+
* Indicates the checkbox state for Public
|
|
212
217
|
*/
|
|
213
218
|
"public": {
|
|
214
219
|
type: "boolean"
|
|
@@ -222,8 +227,16 @@ sap.ui.define([
|
|
|
222
227
|
},
|
|
223
228
|
|
|
224
229
|
/**
|
|
225
|
-
*
|
|
226
|
-
* <
|
|
230
|
+
* Array describing the contexts.
|
|
231
|
+
* <b>Note:</b> It is only used internally by the SAPUI5 flexibility layer.
|
|
232
|
+
*/
|
|
233
|
+
contexts: {
|
|
234
|
+
type: "object[]"
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Indicates the checkbox state for Create Tile
|
|
239
|
+
* <b>Note:</b> This event parameter is used only internally.
|
|
227
240
|
*/
|
|
228
241
|
tile: {
|
|
229
242
|
type: "boolean"
|
|
@@ -232,18 +245,19 @@ sap.ui.define([
|
|
|
232
245
|
},
|
|
233
246
|
|
|
234
247
|
/**
|
|
235
|
-
* This event is fired when users
|
|
248
|
+
* This event is fired when users press the Cancel button inside the Save As dialog.
|
|
236
249
|
*/
|
|
237
250
|
cancel: {},
|
|
238
251
|
|
|
239
252
|
/**
|
|
240
|
-
* This event is fired when users apply changes to variants in the
|
|
253
|
+
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
241
254
|
*/
|
|
242
255
|
|
|
243
256
|
manage: {
|
|
244
257
|
parameters: {
|
|
245
258
|
/**
|
|
246
|
-
* List of changed variants.
|
|
259
|
+
* List of changed variants.
|
|
260
|
+
* Each entry contains a <code>key</code> (the variant key) and a <code>name</code> (the new title of the variant).
|
|
247
261
|
*/
|
|
248
262
|
renamed: {
|
|
249
263
|
type: "object[]"
|
|
@@ -257,17 +271,35 @@ sap.ui.define([
|
|
|
257
271
|
},
|
|
258
272
|
|
|
259
273
|
/**
|
|
260
|
-
* List of variant keys and the associated Execute on Selection indicator
|
|
274
|
+
* List of variant keys and the associated Execute on Selection indicator.
|
|
275
|
+
* Each entry contains a <code>key</code> (the variant key) and an <code>exe</code> flag describing the intention.
|
|
261
276
|
*/
|
|
262
277
|
exe: {
|
|
263
278
|
type: "object[]"
|
|
264
279
|
},
|
|
265
280
|
|
|
281
|
+
/**
|
|
282
|
+
* List of variant keys and the associated favorite indicator.
|
|
283
|
+
* Each entry contains a <code>key</code> (the variant key) and a <code>visible</code> flag describing the intention.
|
|
284
|
+
*/
|
|
285
|
+
fav: {
|
|
286
|
+
type: "object[]"
|
|
287
|
+
},
|
|
288
|
+
|
|
266
289
|
/**
|
|
267
290
|
* The default variant key
|
|
268
291
|
*/
|
|
269
292
|
def: {
|
|
270
293
|
type: "string"
|
|
294
|
+
},
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* List of variant keys and the associated contexts array.
|
|
298
|
+
* Each entry contains a <code>key</code> (the variant key) and a <code>contexts</code> array describing the contexts.
|
|
299
|
+
* <b>Note:</b> It is only used internally by the SAPUI5 flexibility layer.
|
|
300
|
+
*/
|
|
301
|
+
contexts: {
|
|
302
|
+
type: "object[]"
|
|
271
303
|
}
|
|
272
304
|
}
|
|
273
305
|
},
|
|
@@ -289,7 +321,7 @@ sap.ui.define([
|
|
|
289
321
|
associations: {
|
|
290
322
|
|
|
291
323
|
/**
|
|
292
|
-
* Contains the
|
|
324
|
+
* Contains the IDs of the relevant controls for which the variant management is used.
|
|
293
325
|
*/
|
|
294
326
|
"for": {
|
|
295
327
|
type: "sap.ui.core.Control",
|
|
@@ -298,7 +330,7 @@ sap.ui.define([
|
|
|
298
330
|
},
|
|
299
331
|
aggregations: {
|
|
300
332
|
/**
|
|
301
|
-
* Used for embedded
|
|
333
|
+
* Used for embedded variant managment.
|
|
302
334
|
*/
|
|
303
335
|
_embeddedVM: {
|
|
304
336
|
type: "sap.m.VariantManagement",
|
|
@@ -319,7 +351,7 @@ sap.ui.define([
|
|
|
319
351
|
}
|
|
320
352
|
});
|
|
321
353
|
|
|
322
|
-
|
|
354
|
+
/**
|
|
323
355
|
* Constructs and initializes the <code>VariantManagement</code> control.
|
|
324
356
|
*/
|
|
325
357
|
VariantManagement.prototype.init = function() {
|
|
@@ -349,11 +381,11 @@ sap.ui.define([
|
|
|
349
381
|
};
|
|
350
382
|
|
|
351
383
|
/**
|
|
352
|
-
*
|
|
353
|
-
*
|
|
384
|
+
* Registers an invalidation event that is fired when the width of the control is changed.
|
|
385
|
+
* <b>Note:</b> This is required by the {@link sap.m.IOverflowToolbarContent} interface.
|
|
354
386
|
*
|
|
355
387
|
* @protected
|
|
356
|
-
* @returns {{canOverflow: boolean, invalidationEvents: string[]}} Configuration information for the
|
|
388
|
+
* @returns {{canOverflow: boolean, invalidationEvents: string[]}} Configuration information for the {@link sap.m.IOverflowToolbarContent} interface
|
|
357
389
|
*/
|
|
358
390
|
VariantManagement.prototype.getOverflowToolbarConfig = function() {
|
|
359
391
|
return {
|
|
@@ -396,6 +428,7 @@ sap.ui.define([
|
|
|
396
428
|
VariantManagement.prototype.fireManage = function(oEvent) {
|
|
397
429
|
this._oVM.fireManage(oEvent);
|
|
398
430
|
};
|
|
431
|
+
|
|
399
432
|
VariantManagement.prototype.fireSave = function(oEvent) {
|
|
400
433
|
this._oVM.fireSave(oEvent);
|
|
401
434
|
};
|
|
@@ -592,13 +625,14 @@ sap.ui.define([
|
|
|
592
625
|
// / </EVENT FORWARDING>
|
|
593
626
|
|
|
594
627
|
// /<OVERWRITES>
|
|
595
|
-
|
|
596
628
|
VariantManagement.prototype._createSaveAsDialog = function() {
|
|
597
629
|
this._oVM._createSaveAsDialog();
|
|
598
630
|
};
|
|
631
|
+
|
|
599
632
|
VariantManagement.prototype._handleVariantSaveAs = function(sNewVariantName) {
|
|
600
633
|
this._oVM._handleVariantSaveAs(sNewVariantName);
|
|
601
634
|
};
|
|
635
|
+
|
|
602
636
|
VariantManagement.prototype.getFocusDomRef = function() {
|
|
603
637
|
if (this._oVM) {
|
|
604
638
|
return this._oVM.oVariantPopoverTrigger.getFocusDomRef();
|
|
@@ -616,13 +650,14 @@ sap.ui.define([
|
|
|
616
650
|
};
|
|
617
651
|
|
|
618
652
|
/**
|
|
619
|
-
*
|
|
653
|
+
* Gets all variants.
|
|
620
654
|
* @public
|
|
621
|
-
* @returns {
|
|
655
|
+
* @returns {Array} All variants; if the model is not yet set, an empty array will be returned.
|
|
622
656
|
*/
|
|
623
657
|
VariantManagement.prototype.getVariants = function() {
|
|
624
658
|
return this._oVM ? this._oVM.getItems() : [];
|
|
625
659
|
};
|
|
660
|
+
|
|
626
661
|
VariantManagement.prototype.getVariantByKey = function(sKey) {
|
|
627
662
|
return this._oVM ? this._oVM._getItemByKey(sKey) : null;
|
|
628
663
|
};
|
|
@@ -654,8 +689,8 @@ sap.ui.define([
|
|
|
654
689
|
|
|
655
690
|
/**
|
|
656
691
|
* Special handling of the rendering of this control.
|
|
657
|
-
* @param {boolean} bValue
|
|
658
|
-
* @returns {sap.ui.fl.variants.VariantManagement}
|
|
692
|
+
* @param {boolean} bValue Defines the intended rendering
|
|
693
|
+
* @returns {sap.ui.fl.variants.VariantManagement} The current instance
|
|
659
694
|
* @private
|
|
660
695
|
* @restricted sap.ui.mdc
|
|
661
696
|
*/
|
|
@@ -666,7 +701,7 @@ sap.ui.define([
|
|
|
666
701
|
|
|
667
702
|
/**
|
|
668
703
|
* Special handling of the rendering of this control.
|
|
669
|
-
* @returns {boolean}
|
|
704
|
+
* @returns {boolean} The current intent
|
|
670
705
|
* @private
|
|
671
706
|
* @restricted sap.ui.mdc
|
|
672
707
|
*/
|
|
@@ -724,16 +759,16 @@ sap.ui.define([
|
|
|
724
759
|
/**
|
|
725
760
|
* Sets the new selected variant.
|
|
726
761
|
* @public
|
|
727
|
-
* @param {string} sKey
|
|
762
|
+
* @param {string} sKey Key of the variant that is selected
|
|
728
763
|
*/
|
|
729
764
|
VariantManagement.prototype.setCurrentVariantKey = function(sKey) {
|
|
730
|
-
this._oVM.
|
|
765
|
+
this._oVM.setCurrentVariantKey(sKey);
|
|
731
766
|
};
|
|
732
767
|
|
|
733
768
|
/**
|
|
734
769
|
* Gets the currently selected variant key.
|
|
735
770
|
* @public
|
|
736
|
-
* @returns {string|null} Key of the currently selected variant. In case the model is not yet set <code>null</code> will be returned
|
|
771
|
+
* @returns {string|null} Key of the currently selected variant. In case the model is not yet set <code>null</code> will be returned
|
|
737
772
|
*/
|
|
738
773
|
VariantManagement.prototype.getCurrentVariantKey = function() {
|
|
739
774
|
return this._oVM.getSelectedKey();
|
|
@@ -748,15 +783,16 @@ sap.ui.define([
|
|
|
748
783
|
};
|
|
749
784
|
|
|
750
785
|
/**
|
|
751
|
-
* Indicates the design mode was entered.
|
|
786
|
+
* Indicates that the design mode was entered.
|
|
752
787
|
* @private
|
|
753
788
|
* @ui5-restricted sap.ui.fl, sap.ui.rta
|
|
754
789
|
*/
|
|
755
790
|
VariantManagement.prototype.enteringDesignMode = function() {
|
|
756
791
|
this._oVM.setDesignMode(true);
|
|
757
792
|
};
|
|
793
|
+
|
|
758
794
|
/**
|
|
759
|
-
* Indicates the design mode was left.
|
|
795
|
+
* Indicates that the design mode was left.
|
|
760
796
|
* @private
|
|
761
797
|
* @ui5-restricted sap.ui.fl, sap.ui.rta
|
|
762
798
|
*/
|
|
@@ -765,9 +801,9 @@ sap.ui.define([
|
|
|
765
801
|
};
|
|
766
802
|
|
|
767
803
|
/**
|
|
768
|
-
* Determines
|
|
804
|
+
* Determines whether the current variant is modified.
|
|
769
805
|
* @public
|
|
770
|
-
* @returns {boolean}
|
|
806
|
+
* @returns {boolean} Returns <code>true</code>, if the current variant is modified, otherwise <code>false</code>
|
|
771
807
|
*/
|
|
772
808
|
VariantManagement.prototype.getModified = function() {
|
|
773
809
|
return this._oVM.getModified();
|
|
@@ -780,6 +816,7 @@ sap.ui.define([
|
|
|
780
816
|
VariantManagement.prototype.getStandardVariantKey = function() {
|
|
781
817
|
return this._oVM.getStandardVariantKey();
|
|
782
818
|
};
|
|
819
|
+
|
|
783
820
|
// / </OVERWRITES>
|
|
784
821
|
|
|
785
822
|
VariantManagement.prototype._getEmbeddedVM = function() {
|
|
@@ -951,13 +988,15 @@ sap.ui.define([
|
|
|
951
988
|
};
|
|
952
989
|
|
|
953
990
|
/**
|
|
954
|
-
* Registration of a callback function.
|
|
991
|
+
* Registration of a callback function.
|
|
992
|
+
* The provided callback function is executed to check if Apply Automatically on standard variant should be considered.
|
|
955
993
|
* @private
|
|
956
994
|
* @ui5-restricted sap.fe
|
|
957
995
|
* @since 1.103
|
|
958
|
-
* @param {function} fCallBack Called when standard variant must be applied. It determines if
|
|
959
|
-
* As a convenience the current variant will be passed to the callback.
|
|
960
|
-
*
|
|
996
|
+
* @param {function} fCallBack Called when standard variant must be applied. It determines if Apply Automatically on standard variant should be considered.
|
|
997
|
+
* As a convenience the current variant will be passed to the callback.
|
|
998
|
+
* This variant instance may not be changed in any ways. It is only intended to provide certain variant information.
|
|
999
|
+
* @returns {this} Reference to this in order to allow method chaining
|
|
961
1000
|
*/
|
|
962
1001
|
VariantManagement.prototype.registerApplyAutomaticallyOnStandardVariant = function(fCallBack) {
|
|
963
1002
|
this._fRegisteredApplyAutomaticallyOnStandardVariant = fCallBack;
|
|
@@ -966,11 +1005,11 @@ sap.ui.define([
|
|
|
966
1005
|
};
|
|
967
1006
|
|
|
968
1007
|
/**
|
|
969
|
-
*
|
|
1008
|
+
* Gets the Apply Automatically state for a variant.
|
|
970
1009
|
* @private
|
|
971
1010
|
* @ui5-restricted sap.ui.mdc
|
|
972
|
-
* @param {object} oVariant
|
|
973
|
-
* @returns {boolean}
|
|
1011
|
+
* @param {object} oVariant The fl-variant object
|
|
1012
|
+
* @returns {boolean} Apply Automatically state
|
|
974
1013
|
*/
|
|
975
1014
|
VariantManagement.prototype.getApplyAutomaticallyOnVariant = function(oVariant) {
|
|
976
1015
|
var bExecuteOnSelection = false;
|
|
@@ -1023,9 +1062,9 @@ sap.ui.define([
|
|
|
1023
1062
|
|
|
1024
1063
|
/**
|
|
1025
1064
|
* Required by the {@link sap.m.IToolbarInteractiveControl} interface.
|
|
1026
|
-
* Determines
|
|
1065
|
+
* Determines whether the control is interactive.
|
|
1027
1066
|
*
|
|
1028
|
-
* @returns {boolean}
|
|
1067
|
+
* @returns {boolean} Indicates whether the control is interactive
|
|
1029
1068
|
*
|
|
1030
1069
|
* @private
|
|
1031
1070
|
* @ui5-restricted sap.m.OverflowToolBar, sap.m.Toolbar
|
|
@@ -8,7 +8,6 @@ sap.ui.define([
|
|
|
8
8
|
"sap/base/util/restricted/_omit",
|
|
9
9
|
"sap/base/util/restricted/_isEqual",
|
|
10
10
|
"sap/base/util/each",
|
|
11
|
-
"sap/base/util/includes",
|
|
12
11
|
"sap/base/util/isEmptyObject",
|
|
13
12
|
"sap/base/util/merge",
|
|
14
13
|
"sap/base/util/ObjectPath",
|
|
@@ -21,6 +20,8 @@ sap.ui.define([
|
|
|
21
20
|
"sap/ui/fl/apply/_internal/changes/Reverter",
|
|
22
21
|
"sap/ui/fl/apply/_internal/controlVariants/URLHandler",
|
|
23
22
|
"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory",
|
|
23
|
+
"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler",
|
|
24
|
+
"sap/ui/fl/apply/_internal/flexState/changes/UIChangesState",
|
|
24
25
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher",
|
|
25
26
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState",
|
|
26
27
|
"sap/ui/fl/apply/_internal/flexState/ManifestUtils",
|
|
@@ -36,7 +37,6 @@ sap.ui.define([
|
|
|
36
37
|
_omit,
|
|
37
38
|
_isEqual,
|
|
38
39
|
each,
|
|
39
|
-
includes,
|
|
40
40
|
isEmptyObject,
|
|
41
41
|
merge,
|
|
42
42
|
ObjectPath,
|
|
@@ -49,6 +49,8 @@ sap.ui.define([
|
|
|
49
49
|
Reverter,
|
|
50
50
|
URLHandler,
|
|
51
51
|
FlexObjectFactory,
|
|
52
|
+
DependencyHandler,
|
|
53
|
+
UIChangesState,
|
|
52
54
|
Switcher,
|
|
53
55
|
VariantManagementState,
|
|
54
56
|
ManifestUtils,
|
|
@@ -250,20 +252,21 @@ sap.ui.define([
|
|
|
250
252
|
var aServicePromises = [
|
|
251
253
|
Utils.getUShellService("UserInfo"),
|
|
252
254
|
Utils.getUShellService("URLParsing"),
|
|
253
|
-
Utils.getUShellService("
|
|
255
|
+
Utils.getUShellService("Navigation"),
|
|
254
256
|
Utils.getUShellService("ShellNavigation")
|
|
255
257
|
];
|
|
256
258
|
return Promise.all(aServicePromises)
|
|
257
259
|
.then(function(aServices) {
|
|
258
260
|
setUShellService("UserInfo", aServices[0]);
|
|
259
261
|
setUShellService("URLParsing", aServices[1]);
|
|
260
|
-
setUShellService("
|
|
262
|
+
setUShellService("Navigation", aServices[2]);
|
|
261
263
|
setUShellService("ShellNavigation", aServices[3]);
|
|
262
264
|
})
|
|
263
265
|
.catch(function(vError) {
|
|
264
266
|
throw new Error(`Error getting service from Unified Shell: ${vError}`);
|
|
265
267
|
});
|
|
266
268
|
}
|
|
269
|
+
return undefined;
|
|
267
270
|
}
|
|
268
271
|
|
|
269
272
|
function getVariant(aVariants, sVariantKey) {
|
|
@@ -287,7 +290,7 @@ sap.ui.define([
|
|
|
287
290
|
* @class Variant model implementation for JSON format.
|
|
288
291
|
* @extends sap.ui.model.json.JSONModel
|
|
289
292
|
* @author SAP SE
|
|
290
|
-
* @version 1.
|
|
293
|
+
* @version 1.121.0
|
|
291
294
|
* @param {object} oData - Either the URL where to load the JSON from or a JS object
|
|
292
295
|
* @param {object} mPropertyBag - Map of properties required for the constructor
|
|
293
296
|
* @param {sap.ui.fl.FlexController} mPropertyBag.flexController - <code>FlexController</code> instance for the component which uses the variant model
|
|
@@ -329,6 +332,15 @@ sap.ui.define([
|
|
|
329
332
|
// Initialize data
|
|
330
333
|
this.updateData();
|
|
331
334
|
|
|
335
|
+
const oLiveDependencyMap = UIChangesState.getLiveDependencyMap(this.sFlexReference);
|
|
336
|
+
VariantManagementState.getInitialChanges(
|
|
337
|
+
{reference: this.sFlexReference},
|
|
338
|
+
this.oAppComponent.getId(),
|
|
339
|
+
this.sFlexReference
|
|
340
|
+
).forEach((oFlexObject) => {
|
|
341
|
+
DependencyHandler.addChangeAndUpdateDependencies(oFlexObject, this.oAppComponent.getId(), oLiveDependencyMap);
|
|
342
|
+
});
|
|
343
|
+
|
|
332
344
|
this.setDefaultBindingMode(BindingMode.OneWay);
|
|
333
345
|
}
|
|
334
346
|
});
|
|
@@ -356,6 +368,7 @@ sap.ui.define([
|
|
|
356
368
|
oCurrentData[sVariantManagementKey].modified = oVariantMapEntry.modified;
|
|
357
369
|
});
|
|
358
370
|
this.setData(oCurrentData);
|
|
371
|
+
|
|
359
372
|
// Since the model has an one-way binding, some VariantItem properties that were overridden
|
|
360
373
|
// via direct setter calls need to be updated explicitly
|
|
361
374
|
this.refresh(true);
|
|
@@ -1465,7 +1478,7 @@ sap.ui.define([
|
|
|
1465
1478
|
});
|
|
1466
1479
|
|
|
1467
1480
|
return this.oChangePersistence.getDirtyChanges().filter(function(oChange) {
|
|
1468
|
-
return includes(
|
|
1481
|
+
return aChangeFileNames.includes(oChange.getId()) && !oChange.getSavedToVariant();
|
|
1469
1482
|
});
|
|
1470
1483
|
};
|
|
1471
1484
|
|
|
@@ -8,13 +8,11 @@ sap.ui.define([
|
|
|
8
8
|
"sap/base/util/ObjectPath",
|
|
9
9
|
"sap/ui/fl/apply/_internal/flexObjects/States",
|
|
10
10
|
"sap/ui/fl/initial/_internal/StorageUtils",
|
|
11
|
-
"sap/ui/fl/write/_internal/StorageFeaturesMerger",
|
|
12
11
|
"sap/ui/VersionInfo"
|
|
13
12
|
], function(
|
|
14
13
|
ObjectPath,
|
|
15
14
|
States,
|
|
16
15
|
StorageUtils,
|
|
17
|
-
StorageFeaturesMerger,
|
|
18
16
|
VersionInfo
|
|
19
17
|
) {
|
|
20
18
|
"use strict";
|
|
@@ -24,7 +22,7 @@ sap.ui.define([
|
|
|
24
22
|
*
|
|
25
23
|
* @namespace sap.ui.fl.write._internal.Storage
|
|
26
24
|
* @since 1.67
|
|
27
|
-
* @version 1.
|
|
25
|
+
* @version 1.121.0
|
|
28
26
|
* @private
|
|
29
27
|
* @ui5-restricted sap.ui.fl
|
|
30
28
|
*/
|
|
@@ -60,24 +58,6 @@ sap.ui.define([
|
|
|
60
58
|
return undefined;
|
|
61
59
|
}
|
|
62
60
|
|
|
63
|
-
function _sendLoadFeaturesToConnector(aConnectors) {
|
|
64
|
-
var aConnectorPromises = aConnectors.map(function(oConnectorConfig) {
|
|
65
|
-
return oConnectorConfig.writeConnectorModule.loadFeatures({url: oConnectorConfig.url})
|
|
66
|
-
.then(function(oFeatures) {
|
|
67
|
-
return {
|
|
68
|
-
features: oFeatures,
|
|
69
|
-
layers: oConnectorConfig.layers
|
|
70
|
-
};
|
|
71
|
-
})
|
|
72
|
-
.catch(StorageUtils.logAndResolveDefault.bind(null, {
|
|
73
|
-
features: {},
|
|
74
|
-
layers: oConnectorConfig.layers
|
|
75
|
-
}, oConnectorConfig, "loadFeatures"));
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
return Promise.all(aConnectorPromises);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
61
|
/**
|
|
82
62
|
* Determines the connector in charge for a given layer.
|
|
83
63
|
*
|
|
@@ -127,6 +107,7 @@ sap.ui.define([
|
|
|
127
107
|
|
|
128
108
|
async function prepareCondensingForConnector(mPropertyBag) {
|
|
129
109
|
var mCondense;
|
|
110
|
+
|
|
130
111
|
if (
|
|
131
112
|
mPropertyBag.allChanges
|
|
132
113
|
&& mPropertyBag.allChanges.length
|
|
@@ -140,6 +121,7 @@ sap.ui.define([
|
|
|
140
121
|
|
|
141
122
|
var iOffset = 0;
|
|
142
123
|
var bAlreadyReordered = false;
|
|
124
|
+
mPropertyBag.reference ||= mPropertyBag.allChanges[0].convertToFileContent().reference;
|
|
143
125
|
mPropertyBag.allChanges.forEach(function(oChange, index) {
|
|
144
126
|
var sFileType = oChange.getFileType();
|
|
145
127
|
var iChangeCreateIndex = findChangeCreateIndex(oChange, mPropertyBag.condensedChanges);
|
|
@@ -389,17 +371,6 @@ sap.ui.define([
|
|
|
389
371
|
return _executeActionByName("isContextSharingEnabled", mPropertyBag);
|
|
390
372
|
};
|
|
391
373
|
|
|
392
|
-
/**
|
|
393
|
-
* Provides the information which features are provided based on the responses of the involved connectors.
|
|
394
|
-
*
|
|
395
|
-
* @returns {Promise<Object>} Map feature flags and additional provided information from the connectors
|
|
396
|
-
*/
|
|
397
|
-
Storage.loadFeatures = function() {
|
|
398
|
-
return _getWriteConnectors()
|
|
399
|
-
.then(_sendLoadFeaturesToConnector)
|
|
400
|
-
.then(StorageFeaturesMerger.mergeResults);
|
|
401
|
-
};
|
|
402
|
-
|
|
403
374
|
/**
|
|
404
375
|
* Transports all the UI changes and app variant descriptor (if exists) to the target system.
|
|
405
376
|
*
|
|
@@ -516,8 +487,8 @@ sap.ui.define([
|
|
|
516
487
|
*
|
|
517
488
|
* @param {object} mPropertyBag - Property bag
|
|
518
489
|
* @param {sap.ui.fl.Layer} mPropertyBag.layer - Layer
|
|
519
|
-
* @param {string} mPropertyBag.sourceLanguage - Source language for
|
|
520
|
-
* @param {string} mPropertyBag.targetLanguage - Target language for
|
|
490
|
+
* @param {string} mPropertyBag.sourceLanguage - Source language for which the request should be made
|
|
491
|
+
* @param {string} mPropertyBag.targetLanguage - Target language for which the request should be made
|
|
521
492
|
* @param {string} mPropertyBag.reference - Flexibility reference
|
|
522
493
|
* @returns {Promise} Resolving after the languages are retrieved;
|
|
523
494
|
* rejects if an error occurs
|