@openui5/sap.ui.fl 1.93.3 → 1.96.1
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 +6 -11
- package/THIRDPARTY.txt +10 -16
- 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/Change.js +18 -14
- package/src/sap/ui/fl/ChangePersistence.js +92 -82
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- package/src/sap/ui/fl/ControlPersonalizationAPI.js +3 -1
- package/src/sap/ui/fl/EventHistory.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 -22
- package/src/sap/ui/fl/FlexControllerFactory.js +9 -2
- package/src/sap/ui/fl/LayerUtils.js +34 -22
- package/src/sap/ui/fl/PreprocessorImpl.js +1 -1
- package/src/sap/ui/fl/RegistrationDelegator.js +1 -1
- package/src/sap/ui/fl/Utils.js +54 -34
- package/src/sap/ui/fl/Variant.js +2 -11
- package/src/sap/ui/fl/XmlPreprocessorImpl.js +1 -1
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +2 -1
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +39 -34
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -29
- 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 +3 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.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/SetTitle.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +52 -0
- 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/controlVariants/URLHandler.js +40 -29
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +10 -8
- package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +14 -0
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +102 -30
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +52 -4
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +5 -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 +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +5 -5
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +13 -28
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +1 -1
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +25 -5
- 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 +10 -8
- 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 +6 -3
- 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 +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 +8 -5
- package/src/sap/ui/fl/codeExt/CodeExtManager.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +18 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
- package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +12 -8
- package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +10 -4
- package/src/sap/ui/fl/initial/_internal/Storage.js +1 -1
- package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +1 -1
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +1 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -1
- 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 +9 -9
- package/src/sap/ui/fl/library.support.js +56 -46
- package/src/sap/ui/fl/messagebundle.properties +39 -2
- package/src/sap/ui/fl/messagebundle_ar.properties +12 -4
- package/src/sap/ui/fl/messagebundle_bg.properties +12 -4
- package/src/sap/ui/fl/messagebundle_ca.properties +13 -5
- package/src/sap/ui/fl/messagebundle_cs.properties +12 -4
- package/src/sap/ui/fl/messagebundle_cy.properties +12 -4
- package/src/sap/ui/fl/messagebundle_da.properties +12 -4
- package/src/sap/ui/fl/messagebundle_de.properties +12 -4
- package/src/sap/ui/fl/messagebundle_el.properties +12 -4
- package/src/sap/ui/fl/messagebundle_en.properties +10 -2
- package/src/sap/ui/fl/messagebundle_en_GB.properties +9 -1
- package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +8 -0
- package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +35 -2
- package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +8 -0
- package/src/sap/ui/fl/messagebundle_es.properties +13 -5
- package/src/sap/ui/fl/messagebundle_es_MX.properties +12 -4
- package/src/sap/ui/fl/messagebundle_et.properties +12 -4
- package/src/sap/ui/fl/messagebundle_fi.properties +12 -4
- package/src/sap/ui/fl/messagebundle_fr.properties +12 -4
- package/src/sap/ui/fl/messagebundle_fr_CA.properties +12 -4
- package/src/sap/ui/fl/messagebundle_hi.properties +12 -4
- package/src/sap/ui/fl/messagebundle_hr.properties +12 -4
- package/src/sap/ui/fl/messagebundle_hu.properties +12 -4
- package/src/sap/ui/fl/messagebundle_id.properties +12 -4
- package/src/sap/ui/fl/messagebundle_it.properties +13 -5
- package/src/sap/ui/fl/messagebundle_iw.properties +12 -4
- package/src/sap/ui/fl/messagebundle_ja.properties +12 -4
- package/src/sap/ui/fl/messagebundle_kk.properties +12 -4
- package/src/sap/ui/fl/messagebundle_ko.properties +13 -5
- package/src/sap/ui/fl/messagebundle_lt.properties +12 -4
- package/src/sap/ui/fl/messagebundle_lv.properties +12 -4
- package/src/sap/ui/fl/messagebundle_ms.properties +12 -4
- package/src/sap/ui/fl/messagebundle_nl.properties +12 -4
- package/src/sap/ui/fl/messagebundle_no.properties +12 -4
- package/src/sap/ui/fl/messagebundle_pl.properties +12 -4
- package/src/sap/ui/fl/messagebundle_pt.properties +12 -4
- package/src/sap/ui/fl/messagebundle_pt_PT.properties +12 -4
- package/src/sap/ui/fl/messagebundle_ro.properties +12 -4
- package/src/sap/ui/fl/messagebundle_ru.properties +12 -4
- package/src/sap/ui/fl/messagebundle_sh.properties +14 -6
- package/src/sap/ui/fl/messagebundle_sk.properties +12 -4
- package/src/sap/ui/fl/messagebundle_sl.properties +12 -4
- package/src/sap/ui/fl/messagebundle_sv.properties +12 -4
- package/src/sap/ui/fl/messagebundle_th.properties +12 -4
- package/src/sap/ui/fl/messagebundle_tr.properties +12 -4
- package/src/sap/ui/fl/messagebundle_uk.properties +14 -6
- package/src/sap/ui/fl/messagebundle_vi.properties +12 -4
- package/src/sap/ui/fl/messagebundle_zh_CN.properties +12 -4
- package/src/sap/ui/fl/messagebundle_zh_TW.properties +12 -4
- package/src/sap/ui/fl/registry/Settings.js +57 -23
- package/src/sap/ui/fl/support/Flexibility.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/support/diagnostics/Flexibility.controller.js +1 -1
- package/src/sap/ui/fl/themes/base/VariantManagement.less +4 -0
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/IFrame.js +10 -3
- package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -1
- package/src/sap/ui/fl/util/getContainerUserInfo.js +32 -28
- package/src/sap/ui/fl/util/resolveBinding.js +1 -1
- package/src/sap/ui/fl/variants/VariantManagement.js +326 -37
- package/src/sap/ui/fl/variants/VariantModel.js +191 -75
- package/src/sap/ui/fl/write/_internal/Storage.js +6 -4
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +61 -54
- 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 +20 -1
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +35 -4
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +7 -1
- 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 +3 -3
- 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 +1 -1
- 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 +5 -17
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.fragment.xml +1 -0
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +47 -18
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +60 -22
- 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.fragment.xml +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +15 -22
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +20 -0
- package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +10 -10
- 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 -2
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +22 -7
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +20 -16
- package/ui5.yaml +4 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/annotationsEditor/AnnotationsEditor.js +0 -49
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/dateEditor/DateEditor.js +0 -43
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/dateTimeEditor/DateTimeEditor.js +0 -38
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @alias sap.ui.fl.FlexControllerFactory
|
|
33
33
|
* @experimental Since 1.27.0
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.96.1
|
|
36
36
|
*
|
|
37
37
|
* @private
|
|
38
38
|
* @ui5-restricted sap.ui.fl
|
|
@@ -184,12 +184,19 @@ sap.ui.define([
|
|
|
184
184
|
// only manifest with type = "application" will fetch changes
|
|
185
185
|
var oManifest = oAppComponent.getManifestObject();
|
|
186
186
|
var oFlexController = FlexControllerFactory.createForControl(oAppComponent, oManifest);
|
|
187
|
+
var oVariantModel;
|
|
187
188
|
return oFlexController._oChangePersistence.loadChangesMapForComponent(oAppComponent)
|
|
188
189
|
.then(function (fnGetChangesMap) {
|
|
189
190
|
var fnPropagationListener = Applier.applyAllChangesForControl.bind(Applier, fnGetChangesMap, oAppComponent, oFlexController);
|
|
190
191
|
fnPropagationListener._bIsSapUiFlFlexControllerApplyChangesOnControl = true;
|
|
191
192
|
oAppComponent.addPropagationListener(fnPropagationListener);
|
|
192
|
-
|
|
193
|
+
oVariantModel = new VariantModel({}, {
|
|
194
|
+
flexController: oFlexController,
|
|
195
|
+
appComponent: oAppComponent
|
|
196
|
+
});
|
|
197
|
+
return oVariantModel.initialize();
|
|
198
|
+
})
|
|
199
|
+
.then(function() {
|
|
193
200
|
oAppComponent.setModel(oVariantModel, Utils.VARIANT_MODEL_NAME);
|
|
194
201
|
Measurement.end("flexProcessing");
|
|
195
202
|
return oVariantModel;
|
|
@@ -7,13 +7,11 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/util/UriParameters",
|
|
9
9
|
"sap/ui/thirdparty/hasher",
|
|
10
|
-
"sap/ui/fl/Layer"
|
|
11
|
-
"sap/ui/fl/Utils"
|
|
10
|
+
"sap/ui/fl/Layer"
|
|
12
11
|
], function(
|
|
13
12
|
UriParameters,
|
|
14
13
|
hasher,
|
|
15
|
-
Layer
|
|
16
|
-
Utils
|
|
14
|
+
Layer
|
|
17
15
|
) {
|
|
18
16
|
"use strict";
|
|
19
17
|
|
|
@@ -43,7 +41,7 @@ sap.ui.define([
|
|
|
43
41
|
*
|
|
44
42
|
* @namespace sap.ui.fl.LayerUtils
|
|
45
43
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
44
|
+
* @version 1.96.1
|
|
47
45
|
*/
|
|
48
46
|
var LayerUtils = {
|
|
49
47
|
_mLayersIndex: mLayersIndex,
|
|
@@ -53,6 +51,7 @@ sap.ui.define([
|
|
|
53
51
|
/**
|
|
54
52
|
* Indicates if the passed layer is valid.
|
|
55
53
|
*
|
|
54
|
+
* @param {string} sLayer layer name
|
|
56
55
|
* @returns {boolean} <code>true</code> if the layer is valid
|
|
57
56
|
* @public
|
|
58
57
|
*/
|
|
@@ -83,6 +82,13 @@ sap.ui.define([
|
|
|
83
82
|
return ([Layer.PUBLIC, Layer.CUSTOMER, Layer.CUSTOMER_BASE].indexOf(sLayerName) > -1);
|
|
84
83
|
},
|
|
85
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Returns whether provided layer is a developer layer.
|
|
87
|
+
*
|
|
88
|
+
* @param {string} sLayer layer name
|
|
89
|
+
* @returns {boolean} true if provided layer is customer dependent layer else false
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
86
92
|
isDeveloperLayer: function(sLayer) {
|
|
87
93
|
return LayerUtils.compareAgainstCurrentLayer(sLayer, Layer.CUSTOMER) === -1;
|
|
88
94
|
},
|
|
@@ -104,10 +110,11 @@ sap.ui.define([
|
|
|
104
110
|
* Determine the <code>maxLayer</code> based on the url parameter <code>sap-ui-fl-max-layer</code> or if is not set by <code>topLayer</code>.
|
|
105
111
|
*
|
|
106
112
|
* @ui5-restricted sap.ui.fl.apply._internal.Connector
|
|
107
|
-
* @
|
|
113
|
+
* @param {sap.ui.core.service.Service} oURLParsingService Unified Shell URL Parsing Service
|
|
114
|
+
* @return {string} maxLayer
|
|
108
115
|
*/
|
|
109
|
-
getMaxLayer: function () {
|
|
110
|
-
var sParseMaxLayer = LayerUtils.getMaxLayerTechnicalParameter(hasher.getHash());
|
|
116
|
+
getMaxLayer: function (oURLParsingService) {
|
|
117
|
+
var sParseMaxLayer = LayerUtils.getMaxLayerTechnicalParameter(hasher.getHash(), oURLParsingService);
|
|
111
118
|
return sParseMaxLayer || getUrlParameter(this.FL_MAX_LAYER_PARAM) || LayerUtils._sTopLayer;
|
|
112
119
|
},
|
|
113
120
|
|
|
@@ -125,11 +132,12 @@ sap.ui.define([
|
|
|
125
132
|
* Determines whether a layer is higher than the max layer.
|
|
126
133
|
*
|
|
127
134
|
* @param {string} sLayer Layer name to be evaluated
|
|
135
|
+
* @param {sap.ui.core.service.Service} oURLParsingService Unified Shell URL Parsing Service
|
|
128
136
|
* @returns {boolean} <code>true</code> if input layer is higher than max layer, otherwise <code>false</code>
|
|
129
137
|
* @public
|
|
130
138
|
*/
|
|
131
|
-
isOverMaxLayer: function(sLayer) {
|
|
132
|
-
return this.isOverLayer(sLayer, this.getMaxLayer());
|
|
139
|
+
isOverMaxLayer: function(sLayer, oURLParsingService) {
|
|
140
|
+
return this.isOverLayer(sLayer, this.getMaxLayer(oURLParsingService));
|
|
133
141
|
},
|
|
134
142
|
|
|
135
143
|
/**
|
|
@@ -148,8 +156,8 @@ sap.ui.define([
|
|
|
148
156
|
* Compares current layer with a provided layer
|
|
149
157
|
* -1: Lower layer, 0: Same layer, 1: Layer above.
|
|
150
158
|
*
|
|
151
|
-
* @param {
|
|
152
|
-
* @param {
|
|
159
|
+
* @param {string} sLayer Layer name to be evaluated
|
|
160
|
+
* @param {string} [sCurrentLayer] Current layer name to be evaluated, if not provided the layer is taken from URL parameter
|
|
153
161
|
* @returns {int} -1: Lower layer, 0: Same layer, 1: Layer above
|
|
154
162
|
* @public
|
|
155
163
|
*/
|
|
@@ -168,10 +176,11 @@ sap.ui.define([
|
|
|
168
176
|
* Determines if filtering of changes based on layer is required.
|
|
169
177
|
*
|
|
170
178
|
* @returns {boolean} <code>true</code> if the top layer is also the max layer, otherwise <code>false</code>
|
|
179
|
+
* @param {sap.ui.core.service.Service} oURLParsingService Unified Shell URL Parsing Service
|
|
171
180
|
* @public
|
|
172
181
|
*/
|
|
173
|
-
isLayerFilteringRequired: function() {
|
|
174
|
-
return this._sTopLayer !== this.getMaxLayer();
|
|
182
|
+
isLayerFilteringRequired: function(oURLParsingService) {
|
|
183
|
+
return this._sTopLayer !== this.getMaxLayer(oURLParsingService);
|
|
175
184
|
},
|
|
176
185
|
|
|
177
186
|
/**
|
|
@@ -199,19 +208,20 @@ sap.ui.define([
|
|
|
199
208
|
* The function loops over the array and filters the object if the layer property is higher than the current max layer.
|
|
200
209
|
*
|
|
201
210
|
* @param {object[]} aChangeDefinitions - Array of change definitions
|
|
211
|
+
* @param {sap.ui.core.service.Service} oURLParsingService Unified Shell URL Parsing Service
|
|
202
212
|
* @returns {object[]} Array of filtered change definitions
|
|
203
213
|
*/
|
|
204
|
-
filterChangeDefinitionsByMaxLayer: function(aChangeDefinitions) {
|
|
214
|
+
filterChangeDefinitionsByMaxLayer: function(aChangeDefinitions, oURLParsingService) {
|
|
205
215
|
return aChangeDefinitions.filter(function(oChangeDefinition) {
|
|
206
|
-
return !oChangeDefinition.layer || !LayerUtils.isOverMaxLayer(oChangeDefinition.layer);
|
|
216
|
+
return !oChangeDefinition.layer || !LayerUtils.isOverMaxLayer(oChangeDefinition.layer, oURLParsingService);
|
|
207
217
|
});
|
|
208
218
|
},
|
|
209
219
|
|
|
210
220
|
/**
|
|
211
221
|
* Filters the passed Changes or change definitions and returns only the ones in the current layer
|
|
212
222
|
*
|
|
213
|
-
* @param {sap.ui.fl.Change|object[]}
|
|
214
|
-
* @param {string}
|
|
223
|
+
* @param {sap.ui.fl.Change|object[]} aChanges Array of Changes or ChangeDefinitions
|
|
224
|
+
* @param {string} sCurrentLayer Current Layer
|
|
215
225
|
* @returns {sap.ui.fl.Change|object[]} Array of filtered Changes
|
|
216
226
|
*/
|
|
217
227
|
filterChangeOrChangeDefinitionsByCurrentLayer: function(aChanges, sCurrentLayer) {
|
|
@@ -229,15 +239,17 @@ sap.ui.define([
|
|
|
229
239
|
* Returns max layer technical parameter from the passed hash if ushell is available
|
|
230
240
|
*
|
|
231
241
|
* @param {string} sHash Hash value
|
|
242
|
+
* @param {sap.ui.core.service.Service} oURLParsingService Unified Shell URL Parsing Service
|
|
232
243
|
* @returns {string|undefined} Max layer parameter value, if available
|
|
233
244
|
*/
|
|
234
|
-
getMaxLayerTechnicalParameter: function(sHash) {
|
|
235
|
-
|
|
236
|
-
var oParsedHash =
|
|
245
|
+
getMaxLayerTechnicalParameter: function(sHash, oURLParsingService) {
|
|
246
|
+
if (oURLParsingService) {
|
|
247
|
+
var oParsedHash = oURLParsingService.parseShellHash(sHash) || {};
|
|
237
248
|
if (oParsedHash.params && oParsedHash.params.hasOwnProperty(this.FL_MAX_LAYER_PARAM)) {
|
|
238
249
|
return oParsedHash.params[this.FL_MAX_LAYER_PARAM][0];
|
|
239
250
|
}
|
|
240
|
-
}
|
|
251
|
+
}
|
|
252
|
+
return undefined;
|
|
241
253
|
}
|
|
242
254
|
};
|
|
243
255
|
return LayerUtils;
|
package/src/sap/ui/fl/Utils.js
CHANGED
|
@@ -47,7 +47,7 @@ function(
|
|
|
47
47
|
* @namespace
|
|
48
48
|
* @alias sap.ui.fl.Utils
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.96.1
|
|
51
51
|
* @experimental Since 1.25.0
|
|
52
52
|
*/
|
|
53
53
|
var Utils = {
|
|
@@ -731,32 +731,16 @@ function(
|
|
|
731
731
|
},
|
|
732
732
|
|
|
733
733
|
/**
|
|
734
|
-
* Returns URL hash when ushell container is available
|
|
734
|
+
* Returns URL hash when ushell container is available synchronously.
|
|
735
735
|
*
|
|
736
|
+
* @param {sap.ushell.services.URLParsing} oURLParsingService - The Unified Shell's internal URL parsing service
|
|
736
737
|
* @returns {object} Returns the parsed URL hash object or an empty object if ushell container is not available
|
|
737
738
|
*/
|
|
738
|
-
getParsedURLHash: function() {
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
return oParsedHash || {};
|
|
742
|
-
}, ["URLParsing"]) || {};
|
|
743
|
-
},
|
|
744
|
-
|
|
745
|
-
/**
|
|
746
|
-
* Calls the passed function with the desired ushell services, if ushell container is available
|
|
747
|
-
*
|
|
748
|
-
* @param {function} fnCallBack - Callback function
|
|
749
|
-
* @param {string[]} aServiceNames - Array of ushell service names
|
|
750
|
-
* @returns {any|undefined} Returns the Value from the callback
|
|
751
|
-
*/
|
|
752
|
-
ifUShellContainerThen: function(fnCallBack, aServiceNames) {
|
|
753
|
-
var oUShellContainer = Utils.getUshellContainer();
|
|
754
|
-
if (oUShellContainer) {
|
|
755
|
-
var aServices = aServiceNames.map(function(sServiceName) {
|
|
756
|
-
return oUShellContainer.getService(sServiceName);
|
|
757
|
-
});
|
|
758
|
-
return fnCallBack(aServices);
|
|
739
|
+
getParsedURLHash: function(oURLParsingService) {
|
|
740
|
+
if (oURLParsingService) {
|
|
741
|
+
return oURLParsingService.parseShellHash(hasher.getHash()) || {};
|
|
759
742
|
}
|
|
743
|
+
return {};
|
|
760
744
|
},
|
|
761
745
|
|
|
762
746
|
/**
|
|
@@ -781,7 +765,7 @@ function(
|
|
|
781
765
|
/**
|
|
782
766
|
* Returns the value of the specified url parameter of the current url
|
|
783
767
|
*
|
|
784
|
-
* @param {
|
|
768
|
+
* @param {string} sParameterName - Name of the url parameter
|
|
785
769
|
* @returns {string} url parameter
|
|
786
770
|
* @private
|
|
787
771
|
*/
|
|
@@ -790,9 +774,9 @@ function(
|
|
|
790
774
|
},
|
|
791
775
|
|
|
792
776
|
/**
|
|
793
|
-
* Returns
|
|
777
|
+
* Returns UShell container if available
|
|
794
778
|
*
|
|
795
|
-
* @returns {object|undefined} Returns
|
|
779
|
+
* @returns {object|undefined} Returns UShell container object if available or undefined
|
|
796
780
|
*/
|
|
797
781
|
getUshellContainer: function() {
|
|
798
782
|
return sap.ushell && sap.ushell.Container;
|
|
@@ -1194,10 +1178,11 @@ function(
|
|
|
1194
1178
|
* @param {string} sParameters - The URL parameters to be modified
|
|
1195
1179
|
* @param {string} sParameterName - The parameter name that can be removed or added
|
|
1196
1180
|
* @param {string} sParameterValue - The parameter value of the parameter name that can be removed or added
|
|
1181
|
+
* @param {sap.ushell.services.URLParsing} oURLParsingService - The Unified Shell's internal URL parsing service
|
|
1197
1182
|
* @returns {string} The modified URL
|
|
1198
1183
|
*/
|
|
1199
|
-
handleUrlParameters: function(sParameters, sParameterName, sParameterValue) {
|
|
1200
|
-
if (this.hasParameterAndValue(sParameterName, sParameterValue)) {
|
|
1184
|
+
handleUrlParameters: function(sParameters, sParameterName, sParameterValue, oURLParsingService) {
|
|
1185
|
+
if (this.hasParameterAndValue(sParameterName, sParameterValue, oURLParsingService)) {
|
|
1201
1186
|
if (sParameters.startsWith("?")) {
|
|
1202
1187
|
sParameters = sParameters.substr(1, sParameters.length);
|
|
1203
1188
|
}
|
|
@@ -1219,22 +1204,23 @@ function(
|
|
|
1219
1204
|
*
|
|
1220
1205
|
* @param {string} sParameterName - The parameter name to be checked
|
|
1221
1206
|
* @param {string} sParameterValue - The parameter value to be checked
|
|
1207
|
+
* @param {sap.ushell.services.URLParsing} oURLParsingService - The Unified Shell's internal URL parsing service
|
|
1222
1208
|
* @returns {boolean} <code>true</code> if the parameter and the given value are in the URL
|
|
1223
1209
|
*/
|
|
1224
|
-
hasParameterAndValue: function(sParameterName, sParameterValue) {
|
|
1225
|
-
return this.getParameter(sParameterName) === sParameterValue;
|
|
1210
|
+
hasParameterAndValue: function(sParameterName, sParameterValue, oURLParsingService) {
|
|
1211
|
+
return this.getParameter(sParameterName, oURLParsingService) === sParameterValue;
|
|
1226
1212
|
},
|
|
1227
1213
|
|
|
1228
1214
|
/**
|
|
1229
1215
|
* Checks if the passed parameter name is contained in the URL and returns its value.
|
|
1230
1216
|
*
|
|
1231
1217
|
* @param {string} sParameterName - The parameter name to be checked
|
|
1218
|
+
* @param {sap.ushell.services.URLParsing} oURLParsingService - The Unified Shell's internal URL parsing service
|
|
1232
1219
|
* @returns {string} The value of the given parameter or undefined
|
|
1233
1220
|
*/
|
|
1234
|
-
getParameter: function (sParameterName) {
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
var mParsedHash = this.getParsedURLHash();
|
|
1221
|
+
getParameter: function (sParameterName, oURLParsingService) {
|
|
1222
|
+
if (oURLParsingService) {
|
|
1223
|
+
var mParsedHash = Utils.getParsedURLHash(oURLParsingService);
|
|
1238
1224
|
return mParsedHash.params &&
|
|
1239
1225
|
mParsedHash.params[sParameterName] &&
|
|
1240
1226
|
mParsedHash.params[sParameterName][0];
|
|
@@ -1292,7 +1278,41 @@ function(
|
|
|
1292
1278
|
return oControl[sPropertyGetter]();
|
|
1293
1279
|
}
|
|
1294
1280
|
return undefined;
|
|
1281
|
+
},
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Returns a Promise resolving with the requested Unified Shell service if available
|
|
1285
|
+
*
|
|
1286
|
+
* @param {string} sServiceName UShell service name (e.g. "URLParsing")
|
|
1287
|
+
* @returns {Promise<object|undefined>} Returns UShell service if available or undefined
|
|
1288
|
+
*/
|
|
1289
|
+
getUShellService: function(sServiceName) {
|
|
1290
|
+
if (sServiceName) {
|
|
1291
|
+
var oUShellContainer = this.getUshellContainer();
|
|
1292
|
+
if (oUShellContainer) {
|
|
1293
|
+
return oUShellContainer.getServiceAsync(sServiceName);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
return Promise.resolve();
|
|
1297
|
+
},
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* Gets the requested UShell Services from Ushell container, if container is available.
|
|
1301
|
+
* @param {array} aServiceNames - List of service names
|
|
1302
|
+
* @returns {Promise<object>} Resolves to an object with the requested ushell services
|
|
1303
|
+
*/
|
|
1304
|
+
getUShellServices: function (aServiceNames) {
|
|
1305
|
+
var aServicePromises = aServiceNames.map(function (sServiceName) {
|
|
1306
|
+
return this.getUShellService(sServiceName);
|
|
1307
|
+
}.bind(this));
|
|
1308
|
+
return Promise.all(aServicePromises).then(function (aServices) {
|
|
1309
|
+
return aServiceNames.reduce(function (mServices, sService, iIndex) {
|
|
1310
|
+
mServices[sService] = aServices && aServices[iIndex];
|
|
1311
|
+
return mServices;
|
|
1312
|
+
}, {});
|
|
1313
|
+
});
|
|
1295
1314
|
}
|
|
1315
|
+
|
|
1296
1316
|
};
|
|
1297
1317
|
return Utils;
|
|
1298
1318
|
}, true);
|
package/src/sap/ui/fl/Variant.js
CHANGED
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @class Variant class.
|
|
34
34
|
* @extends sap.ui.base.ManagedObject
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.96.1
|
|
37
37
|
* @alias sap.ui.fl.Variant
|
|
38
38
|
* @experimental Since 1.52.0
|
|
39
39
|
*/
|
|
@@ -495,16 +495,6 @@ sap.ui.define([
|
|
|
495
495
|
return (this._bUserDependent);
|
|
496
496
|
};
|
|
497
497
|
|
|
498
|
-
/**
|
|
499
|
-
* Returns the pending action on the variant item
|
|
500
|
-
* @returns {string} contains one of these values: DELETE/NEW/UPDATE/NONE
|
|
501
|
-
*
|
|
502
|
-
* @public
|
|
503
|
-
*/
|
|
504
|
-
Variant.prototype.getPendingAction = function () {
|
|
505
|
-
return this.getState();
|
|
506
|
-
};
|
|
507
|
-
|
|
508
498
|
/**
|
|
509
499
|
* Gets the JSON definition of the variant
|
|
510
500
|
* @returns {object} the content of the variant
|
|
@@ -616,6 +606,7 @@ sap.ui.define([
|
|
|
616
606
|
creation: "",
|
|
617
607
|
originalLanguage: Utils.getCurrentLanguage(),
|
|
618
608
|
conditions: {},
|
|
609
|
+
contexts: oPropertyBag.content.contexts || {},
|
|
619
610
|
support: {
|
|
620
611
|
generator: oPropertyBag.generator || "Change.createInitialFileContent",
|
|
621
612
|
service: oPropertyBag.service || "",
|
|
@@ -28,23 +28,23 @@ sap.ui.define([
|
|
|
28
28
|
function _checkControlAndDependentSelectorControls(oChange, mPropertyBag) {
|
|
29
29
|
var oSelector = oChange.getSelector && oChange.getSelector();
|
|
30
30
|
if (!oSelector || (!oSelector.id && !oSelector.name)) {
|
|
31
|
-
|
|
31
|
+
return Promise.reject(Error("No selector in change found or no selector ID."));
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
34
|
+
return mPropertyBag.modifier.bySelectorTypeIndependent(oSelector, mPropertyBag.appComponent, mPropertyBag.view)
|
|
35
|
+
.then(function (oControl) {
|
|
36
|
+
if (!oControl) {
|
|
37
|
+
throw Error("A flexibility change tries to change a nonexistent control.");
|
|
38
|
+
}
|
|
39
|
+
var aDependentControlSelectorList = oChange.getDependentControlSelectorList();
|
|
40
|
+
aDependentControlSelectorList.forEach(function(sDependentControlSelector) {
|
|
41
|
+
var oDependentControl = mPropertyBag.modifier.bySelector(sDependentControlSelector, mPropertyBag.appComponent, mPropertyBag.view);
|
|
42
|
+
if (!oDependentControl) {
|
|
43
|
+
throw new Error("A dependent selector control of the flexibility change is not available.");
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
return oControl;
|
|
47
|
+
});
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
function _checkAndAdjustChangeStatusSync(oControl, oChange, mChangesMap, oFlexController, mPropertyBag) {
|
|
@@ -100,6 +100,9 @@ sap.ui.define([
|
|
|
100
100
|
oChange.setRevertData(oParsedRevertDataFromCustomData);
|
|
101
101
|
oChange.markFinished();
|
|
102
102
|
});
|
|
103
|
+
} else if (bChangeStatusAppliedFinished && bIsCurrentlyAppliedOnControl) {
|
|
104
|
+
// both the change instance and the UI Control are already applied, so the change can be directly marked as finished
|
|
105
|
+
oChange.markFinished();
|
|
103
106
|
}
|
|
104
107
|
return undefined;
|
|
105
108
|
});
|
|
@@ -383,25 +386,27 @@ sap.ui.define([
|
|
|
383
386
|
|
|
384
387
|
return aChanges.reduce(function(oPreviousPromise, oChange) {
|
|
385
388
|
var oControl;
|
|
386
|
-
return oPreviousPromise
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
389
|
+
return oPreviousPromise
|
|
390
|
+
.then(_checkControlAndDependentSelectorControls.bind(null, oChange, mPropertyBag))
|
|
391
|
+
.then(function (oReturnedControl) {
|
|
392
|
+
oControl = oReturnedControl;
|
|
393
|
+
oChange.setQueuedForApply();
|
|
394
|
+
return _checkAndAdjustChangeStatus(oControl, oChange, undefined, undefined, mPropertyBag);
|
|
395
|
+
})
|
|
396
|
+
.then(function () {
|
|
397
|
+
if (!oChange.isApplyProcessFinished()) {
|
|
398
|
+
return Applier.applyChangeOnControl(oChange, oControl, mPropertyBag);
|
|
399
|
+
}
|
|
400
|
+
return {success: true};
|
|
401
|
+
})
|
|
402
|
+
.then(function(oReturn) {
|
|
403
|
+
if (!oReturn.success) {
|
|
404
|
+
throw Error(oReturn.error);
|
|
405
|
+
}
|
|
406
|
+
})
|
|
407
|
+
.catch(function(oError) {
|
|
408
|
+
_logApplyChangeError(oError, oChange);
|
|
409
|
+
});
|
|
405
410
|
}, new FlUtils.FakePromise())
|
|
406
411
|
.then(function() {
|
|
407
412
|
return mPropertyBag.view;
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @alias sap.ui.fl.FlexCustomData
|
|
31
31
|
* @experimental Since 1.61.0
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.96.1
|
|
34
34
|
*/
|
|
35
35
|
var FlexCustomData = {};
|
|
36
36
|
FlexCustomData.sync = {};
|
|
@@ -173,25 +173,6 @@ sap.ui.define([
|
|
|
173
173
|
return "true";
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
/**
|
|
177
|
-
* Adds applied custom data to the control. Depending on whether the change is revertible,
|
|
178
|
-
* the value of the custom data is either the revert data of the change (stringified and '{' and '}' escaped) or simply 'true'
|
|
179
|
-
*
|
|
180
|
-
* @param {sap.ui.core.Control} oControl The control that should be checked
|
|
181
|
-
* @param {sap.ui.fl.Change} oChange The change instance
|
|
182
|
-
* @param {object} mPropertyBag The propertyBag
|
|
183
|
-
* @param {object} mPropertyBag.view The view to process
|
|
184
|
-
* @param {object} mPropertyBag.appDescriptor The app descriptor containing the metadata of the current application
|
|
185
|
-
* @param {object} mPropertyBag.appComponent The component instance that is currently loading
|
|
186
|
-
* @param {boolean} bSaveRevertData 'true' if the revert data should be saved as value
|
|
187
|
-
* @returns {Promise} resolves when custom data is written
|
|
188
|
-
*/
|
|
189
|
-
FlexCustomData.sync.addAppliedCustomData = function(oControl, oChange, mPropertyBag, bSaveRevertData) {
|
|
190
|
-
var sCustomDataValue = getCustomValueData(bSaveRevertData, oChange);
|
|
191
|
-
var sCustomDataKey = FlexCustomData._getCustomDataKey(oChange, FlexCustomData.appliedChangesCustomDataKey);
|
|
192
|
-
return writeCustomDataSync(oControl, sCustomDataKey, sCustomDataValue, mPropertyBag);
|
|
193
|
-
};
|
|
194
|
-
|
|
195
176
|
/**
|
|
196
177
|
* Adds applied custom data to the control. Depending on whether the change is revertible,
|
|
197
178
|
* the value of the custom data is either the revert data of the change (stringified and '{' and '}' escaped) or simply 'true'
|
|
@@ -302,15 +283,6 @@ sap.ui.define([
|
|
|
302
283
|
return sIdentifier + "." + oChange.getId();
|
|
303
284
|
};
|
|
304
285
|
|
|
305
|
-
function writeCustomDataSync(oControl, sKey, sValue, mPropertyBag) {
|
|
306
|
-
var mCustomData = getCustomDataSync(oControl, sKey);
|
|
307
|
-
if (!mCustomData.customData) {
|
|
308
|
-
mPropertyBag.modifier.createAndAddCustomData(oControl, sKey, sValue, mPropertyBag.appComponent);
|
|
309
|
-
} else {
|
|
310
|
-
mPropertyBag.modifier.setProperty(mCustomData.customData, "value", sValue);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
286
|
function writeCustomDataAsync(oControl, sKey, sValue, mPropertyBag) {
|
|
315
287
|
return getCustomDataAsync(oControl, mPropertyBag.modifier, sKey)
|
|
316
288
|
.then(function (mCustomData) {
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild
|
|
22
22
|
* @experimental
|
|
23
23
|
* @since 1.77
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.96.1
|
|
25
25
|
* @private
|
|
26
26
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
27
27
|
*/
|
|
@@ -34,7 +34,8 @@ sap.ui.define([
|
|
|
34
34
|
appdescr_ui5_setFlexExtensionPointEnabled: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled"),
|
|
35
35
|
appdescr_ui5_addNewModel: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel"),
|
|
36
36
|
appdescr_app_addAnnotationsToOData: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData"),
|
|
37
|
-
appdescr_app_changeInbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound")
|
|
37
|
+
appdescr_app_changeInbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound"),
|
|
38
|
+
appdescr_fiori_setAbstract: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract")
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
var RegistrationCopy = Object.assign({}, Registration);
|
|
@@ -139,7 +139,7 @@ sap.ui.define([
|
|
|
139
139
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.app.AddAnnotationsToOData
|
|
140
140
|
* @experimental
|
|
141
141
|
* @since 1.87
|
|
142
|
-
* @version 1.
|
|
142
|
+
* @version 1.96.1
|
|
143
143
|
* @private
|
|
144
144
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
145
145
|
*/
|