@openui5/sap.ui.fl 1.133.0 → 1.134.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 +0 -7
- package/THIRDPARTY.txt +1 -22
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/ChangePersistence.js +15 -8
- package/src/sap/ui/fl/ChangePersistenceFactory.js +2 -2
- 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 +2 -2
- package/src/sap/ui/fl/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Utils.js +10 -3
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +2 -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/AddNewDataSource.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/AddNewOutbound.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes.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/ChangeOutbound.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/SetAch.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetDescription.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/SetCloudDevAdaptationStatus.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/ChangeModel.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/extensionPoint/Registry.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/AnnotationChange.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 +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 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +1 -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 +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/FlexObjectState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +15 -2
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +23 -21
- 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/changes/UIChangesState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/communication/FLPAboutInfo.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantManagementState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +2 -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/ControllerExtension.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/FlexRuntimeInfoAPI.js +35 -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/ChangeAnnotation.js +11 -6
- 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 +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/FlexConfiguration.js +1 -1
- package/src/sap/ui/fl/initial/_internal/Storage.js +3 -1
- package/src/sap/ui/fl/initial/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +209 -198
- 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 +8 -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/initial/api/InitialFlexAPI.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/library.support.js +1 -1
- package/src/sap/ui/fl/support/_internal/getAllUIChanges.js +1 -1
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +1 -1
- package/src/sap/ui/fl/support/_internal/getFlexObjectInfos.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 +2 -2
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
- package/src/sap/ui/fl/transport/TransportSelection.js +2 -2
- 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 +4 -5
- package/src/sap/ui/fl/variants/VariantManager.js +5 -1
- package/src/sap/ui/fl/variants/VariantModel.js +1 -1
- package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +1 -0
- package/src/sap/ui/fl/write/_internal/Storage.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +1 -1
- 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 +20 -5
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +7 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Update.js +1 -0
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/BtpServiceConnector.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/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/FlexObjectManager.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/changes/UIChangeManager.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +1 -1
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -2
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +23 -0
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +12 -12
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +0 -5
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.fl.apply._internal.flexObjects.Variant
|
|
33
33
|
* @alias sap.ui.fl.apply._internal.flexObjects.CompVariant
|
|
34
34
|
* @since 1.103
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.134.0
|
|
36
36
|
* @private
|
|
37
37
|
* @ui5-restricted sap.ui.fl, sap.ui.comp
|
|
38
38
|
*/
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @extends sap.ui.fl.apply._internal.flexObjects.FlexObject
|
|
21
21
|
* @alias sap.ui.fl.apply._internal.flexObjects.ControllerExtensionChange
|
|
22
22
|
* @since 1.105
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.134.0
|
|
24
24
|
* @private
|
|
25
25
|
* @ui5-restricted sap.ui.fl
|
|
26
26
|
*/
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
*
|
|
90
90
|
* @namespace sap.ui.fl.apply._internal.flexState.FlexState
|
|
91
91
|
* @since 1.73
|
|
92
|
-
* @version 1.
|
|
92
|
+
* @version 1.134.0
|
|
93
93
|
* @private
|
|
94
94
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
95
95
|
*/
|
|
@@ -447,7 +447,6 @@ sap.ui.define([
|
|
|
447
447
|
if (!mInitProperties.reInitialize && sFlexInstanceVersion !== mInitProperties.version) {
|
|
448
448
|
mInitProperties.reInitialize = true;
|
|
449
449
|
}
|
|
450
|
-
|
|
451
450
|
const bFlexInstanceAllContexts = _mInstances[mInitProperties.reference].allContextsProvided;
|
|
452
451
|
if (!mInitProperties.reInitialize && bFlexInstanceAllContexts !== mInitProperties.allContextsProvided) {
|
|
453
452
|
mInitProperties.reInitialize = true;
|
|
@@ -890,5 +889,19 @@ sap.ui.define([
|
|
|
890
889
|
return _mInstances[sReference] && _mInstances[sReference].componentData;
|
|
891
890
|
};
|
|
892
891
|
|
|
892
|
+
/**
|
|
893
|
+
* This function is temporary and will be removed once the allContextsProvided property is part of the flex/data requests in ABAP
|
|
894
|
+
* The allContextsProvided property is not part of the initial flex/data request and needs to be set later to prevent
|
|
895
|
+
* FlexState from being reinitialized
|
|
896
|
+
*
|
|
897
|
+
* @param {string} sReference - Flexibility reference of the app
|
|
898
|
+
* @param {boolean} bAllContextsProvided - Flag to indicate if all contexts are provided
|
|
899
|
+
*/
|
|
900
|
+
FlexState.setAllContextsProvided = function(sReference, bAllContextsProvided) {
|
|
901
|
+
if (_mInstances[sReference] && _mInstances[sReference].allContextsProvided === undefined) {
|
|
902
|
+
_mInstances[sReference].allContextsProvided = bAllContextsProvided;
|
|
903
|
+
}
|
|
904
|
+
};
|
|
905
|
+
|
|
893
906
|
return FlexState;
|
|
894
907
|
});
|
|
@@ -35,24 +35,25 @@ sap.ui.define([
|
|
|
35
35
|
mFlexData.variantChanges,
|
|
36
36
|
mFlexData.variantDependentControlChanges,
|
|
37
37
|
mFlexData.variantManagementChanges
|
|
38
|
-
]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
]
|
|
39
|
+
.flat()
|
|
40
|
+
.filter((oFlexObject) => (
|
|
41
|
+
oFlexObject.selector
|
|
42
|
+
&& !oFlexObject.selector.idIsLocal
|
|
43
|
+
))
|
|
44
|
+
.forEach(function(oFlexObject) {
|
|
45
|
+
oFlexObject.selector = getIdIsLocalTrueObject(oFlexObject.selector);
|
|
42
46
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
getIdIsLocalTrueObject(oFlexItem.dependentSelector[sCategory]);
|
|
51
|
-
}
|
|
52
|
-
});
|
|
47
|
+
if (oFlexObject.dependentSelector) {
|
|
48
|
+
Object.keys(oFlexObject.dependentSelector).forEach((sCategory) => {
|
|
49
|
+
const vDependentSelector = oFlexObject.dependentSelector[sCategory];
|
|
50
|
+
if (Array.isArray(vDependentSelector)) {
|
|
51
|
+
oFlexObject.dependentSelector[sCategory] = vDependentSelector.map(getIdIsLocalTrueObject);
|
|
52
|
+
} else {
|
|
53
|
+
oFlexObject.dependentSelector[sCategory] = getIdIsLocalTrueObject(vDependentSelector);
|
|
53
54
|
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
59
|
|
|
@@ -107,7 +108,7 @@ sap.ui.define([
|
|
|
107
108
|
*
|
|
108
109
|
* @namespace sap.ui.fl.apply._internal.flexState.Loader
|
|
109
110
|
* @since 1.74
|
|
110
|
-
* @version 1.
|
|
111
|
+
* @version 1.134.0
|
|
111
112
|
* @private
|
|
112
113
|
* @ui5-restricted sap.ui.fl.apply._internal.flexState
|
|
113
114
|
*/
|
|
@@ -167,10 +168,11 @@ sap.ui.define([
|
|
|
167
168
|
* @param {string} sReference - Flex reference of application
|
|
168
169
|
* @returns {Promise<object>} Resolving with a list of maps between user's ID and name
|
|
169
170
|
*/
|
|
170
|
-
|
|
171
|
-
//
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
loadVariantsAuthors(sReference) {
|
|
172
|
+
// the settings are available due to previous loadFlexData calls or
|
|
173
|
+
// not available due to an async hint stating that no changes are available, thus also no author mapping needed
|
|
174
|
+
const oSettings = Settings.getInstanceOrUndef();
|
|
175
|
+
return oSettings?.isVariantAuthorNameAvailable() ? ApplyStorage.loadVariantsAuthors(sReference) : Promise.resolve({});
|
|
174
176
|
}
|
|
175
177
|
};
|
|
176
178
|
});
|
|
@@ -60,12 +60,12 @@ sap.ui.define([
|
|
|
60
60
|
await FlexState.initialize(mPropertyBag);
|
|
61
61
|
const sAdaptationId = FlexRuntimeInfoAPI.getContextBasedAdaptationId(mPropertyBag);
|
|
62
62
|
/**
|
|
63
|
-
* In case the adaptationId is "DEFAULT", which is the case, if
|
|
63
|
+
* In case the adaptationId is "DEFAULT" or undefined, which is the case, if
|
|
64
64
|
* 1. no context based adaptation has been created yet or
|
|
65
65
|
* 2. the end user contexts do not meet any of the contexts in the created context-based adaptations
|
|
66
66
|
* we must not show any ui5.flex.adaptation information in the about dialog.
|
|
67
67
|
*/
|
|
68
|
-
if (sAdaptationId === "DEFAULT") {
|
|
68
|
+
if (sAdaptationId === "DEFAULT" || !sAdaptationId) {
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
const sAdaptationTitle = FlexRuntimeInfoAPI.getContextBasedAdaptationTitle(mPropertyBag);
|
|
@@ -125,7 +125,7 @@ sap.ui.define([
|
|
|
125
125
|
*
|
|
126
126
|
* @namespace sap.ui.fl.apply._internal.flexState.compVariants.CompVariantMerger
|
|
127
127
|
* @since 1.86
|
|
128
|
-
* @version 1.
|
|
128
|
+
* @version 1.134.0
|
|
129
129
|
* @private
|
|
130
130
|
* @ui5-restricted sap.ui.fl
|
|
131
131
|
*/
|
|
@@ -215,7 +215,7 @@ sap.ui.define([
|
|
|
215
215
|
*
|
|
216
216
|
* @function
|
|
217
217
|
* @since 1.89
|
|
218
|
-
* @version 1.
|
|
218
|
+
* @version 1.134.0
|
|
219
219
|
* @private
|
|
220
220
|
* @ui5-restricted sap.ui.fl
|
|
221
221
|
*
|
|
@@ -14,6 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
"sap/ui/fl/initial/_internal/FlexConfiguration",
|
|
15
15
|
"sap/ui/fl/initial/_internal/FlexInfoSession",
|
|
16
16
|
"sap/ui/fl/initial/api/InitialFlexAPI",
|
|
17
|
+
"sap/ui/fl/registry/Settings",
|
|
17
18
|
"sap/ui/fl/Layer",
|
|
18
19
|
"sap/ui/fl/Utils",
|
|
19
20
|
"sap/ui/VersionInfo"
|
|
@@ -27,6 +28,7 @@ sap.ui.define([
|
|
|
27
28
|
FlexConfiguration,
|
|
28
29
|
FlexInfoSession,
|
|
29
30
|
InitialFlexAPI,
|
|
31
|
+
Settings,
|
|
30
32
|
Layer,
|
|
31
33
|
Utils,
|
|
32
34
|
VersionInfo
|
|
@@ -247,6 +249,39 @@ sap.ui.define([
|
|
|
247
249
|
connector: sConnector,
|
|
248
250
|
version: oVersion.version
|
|
249
251
|
};
|
|
252
|
+
},
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Checks if the Settings are available and if so returns if the system is a customer system
|
|
256
|
+
*
|
|
257
|
+
* @returns {boolean} A boolean that indicates if the system is a customer system
|
|
258
|
+
* @private
|
|
259
|
+
* @ui5-restricted sap.ui.rta
|
|
260
|
+
*/
|
|
261
|
+
isCustomerSystem() {
|
|
262
|
+
return Settings.getInstanceOrUndef()?.isCustomerSystem();
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Checks if the Settings are available and if so returns if the system is an ATO enabled system
|
|
267
|
+
*
|
|
268
|
+
* @returns {boolean} A boolean that indicates if the system is an ATO enabled system
|
|
269
|
+
* @private
|
|
270
|
+
* @ui5-restricted sap.ui.rta
|
|
271
|
+
*/
|
|
272
|
+
isAtoEnabled() {
|
|
273
|
+
return Settings.getInstanceOrUndef()?.isAtoEnabled();
|
|
274
|
+
},
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Checks if the Settings are available and if so returns the system information
|
|
278
|
+
*
|
|
279
|
+
* @returns {string} System ID of the connected back end or undefined (when property <code>system</code> does not exist in the flex settings file)
|
|
280
|
+
* @private
|
|
281
|
+
* @ui5-restricted sap.ui.rta
|
|
282
|
+
*/
|
|
283
|
+
getSystem() {
|
|
284
|
+
return Settings.getInstanceOrUndef()?.getSystem();
|
|
250
285
|
}
|
|
251
286
|
};
|
|
252
287
|
|
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
* Default change handler for annotations.
|
|
16
16
|
* @alias sap.ui.fl.changeHandler.ChangeAnnotation
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.
|
|
18
|
+
* @version 1.134.0
|
|
19
19
|
* @since 1.132
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
ChangeAnnotation.applyChange = function(oChange) {
|
|
35
35
|
return {
|
|
36
36
|
path: oChange.getContent().annotationPath,
|
|
37
|
-
value: oChange.getContent().value
|
|
37
|
+
value: oChange.getText("annotationText") || oChange.getContent().value
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
|
|
@@ -52,10 +52,15 @@ sap.ui.define([
|
|
|
52
52
|
* @param {string} oSpecificChangeInfo.content.value - Value of the annotation to be changed
|
|
53
53
|
*/
|
|
54
54
|
ChangeAnnotation.completeChangeContent = function(oChange, oSpecificChangeInfo) {
|
|
55
|
-
|
|
56
|
-
annotationPath: oSpecificChangeInfo.content.annotationPath
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
const oNewContent = {
|
|
56
|
+
annotationPath: oSpecificChangeInfo.content.annotationPath
|
|
57
|
+
};
|
|
58
|
+
if (oSpecificChangeInfo.content.text) {
|
|
59
|
+
oChange.setText("annotationText", oSpecificChangeInfo.content.text);
|
|
60
|
+
} else {
|
|
61
|
+
oNewContent.value = oSpecificChangeInfo.content.value;
|
|
62
|
+
}
|
|
63
|
+
oChange.setContent(oNewContent);
|
|
59
64
|
};
|
|
60
65
|
|
|
61
66
|
/**
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @namespace
|
|
24
24
|
* @name sap.ui.fl.descriptorRelated
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.134.0
|
|
27
27
|
* @private
|
|
28
28
|
* @ui5-restricted sap.ui.rta, smart business
|
|
29
29
|
*/
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @namespace
|
|
34
34
|
* @name sap.ui.fl.descriptorRelated.api
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.134.0
|
|
37
37
|
* @private
|
|
38
38
|
* @ui5-restricted sap.ui.rta, smart business
|
|
39
39
|
*/
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @constructor
|
|
48
48
|
* @alias sap.ui.fl.descriptorRelated.api.DescriptorChange
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.134.0
|
|
51
51
|
* @private
|
|
52
52
|
* @ui5-restricted sap.ui.rta, smart business
|
|
53
53
|
*/
|
|
@@ -125,7 +125,7 @@ sap.ui.define([
|
|
|
125
125
|
* @constructor
|
|
126
126
|
* @alias sap.ui.fl.descriptorRelated.api.DescriptorChangeFactory
|
|
127
127
|
* @author SAP SE
|
|
128
|
-
* @version 1.
|
|
128
|
+
* @version 1.134.0
|
|
129
129
|
* @private
|
|
130
130
|
* @ui5-restricted sap.ui.rta, smart business
|
|
131
131
|
*/
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @namespace
|
|
39
39
|
* @alias sap.ui.fl.descriptorRelated.api.DescriptorInlineChangeFactory
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.134.0
|
|
42
42
|
* @private
|
|
43
43
|
* @deprecated Since version 1.76
|
|
44
44
|
* @ui5-restricted sap.ui.rta, smart business
|