@openui5/sap.ui.fl 1.104.0 → 1.105.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 +1 -1
- package/THIRDPARTY.txt +1 -1
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/Cache.js +4 -4
- package/src/sap/ui/fl/Change.js +29 -4
- package/src/sap/ui/fl/ChangePersistence.js +29 -17
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnector.js +6 -0
- package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +9 -3
- package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +9 -3
- package/src/sap/ui/fl/FakeLrepLocalStorage.js +9 -3
- package/src/sap/ui/fl/FlexController.js +3 -1
- package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
- package/src/sap/ui/fl/Layer.js +5 -2
- package/src/sap/ui/fl/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Utils.js +76 -41
- package/src/sap/ui/fl/apply/_internal/ChangesController.js +2 -2
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +21 -4
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +3 -3
- 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/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 +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +1 -1
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +2 -2
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +3 -3
- package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +2 -2
- package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +8 -43
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +73 -0
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +11 -20
- package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +81 -0
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +111 -0
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +51 -17
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +114 -34
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +4 -15
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +23 -7
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +27 -35
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +76 -111
- 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 +4 -4
- package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +2 -2
- package/src/sap/ui/fl/changeHandler/AddIFrame.js +7 -7
- package/src/sap/ui/fl/changeHandler/AddXML.js +14 -16
- package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +9 -6
- package/src/sap/ui/fl/changeHandler/Base.js +1 -1
- package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +30 -35
- package/src/sap/ui/fl/changeHandler/BaseAddXml.js +14 -15
- package/src/sap/ui/fl/changeHandler/BaseRename.js +9 -15
- package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/MoveControls.js +12 -8
- package/src/sap/ui/fl/changeHandler/MoveElements.js +3 -2
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +13 -12
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +18 -21
- 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 +3 -5
- package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +3 -5
- package/src/sap/ui/fl/codeExt/CodeExtManager.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +13 -22
- 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/variants/VariantManagement.designtime.js +2 -2
- package/src/sap/ui/fl/initial/_internal/Storage.js +18 -5
- package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +27 -3
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +4 -4
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +8 -0
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +9 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -2
- package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +3 -3
- package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +2 -3
- package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +2 -3
- package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +5 -5
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +3 -3
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +9 -6
- package/src/sap/ui/fl/interfaces/Delegate.js +34 -18
- package/src/sap/ui/fl/library.js +351 -30
- package/src/sap/ui/fl/messagebundle_ar.properties +2 -0
- package/src/sap/ui/fl/messagebundle_bg.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ca.properties +2 -0
- package/src/sap/ui/fl/messagebundle_cs.properties +2 -0
- package/src/sap/ui/fl/messagebundle_cy.properties +2 -0
- package/src/sap/ui/fl/messagebundle_da.properties +2 -0
- package/src/sap/ui/fl/messagebundle_de.properties +2 -0
- package/src/sap/ui/fl/messagebundle_el.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +37 -2
- package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/ui/fl/messagebundle_es.properties +2 -0
- package/src/sap/ui/fl/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/fl/messagebundle_et.properties +2 -0
- package/src/sap/ui/fl/messagebundle_fi.properties +2 -0
- package/src/sap/ui/fl/messagebundle_fr.properties +2 -0
- package/src/sap/ui/fl/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/fl/messagebundle_hi.properties +2 -0
- package/src/sap/ui/fl/messagebundle_hr.properties +2 -0
- package/src/sap/ui/fl/messagebundle_hu.properties +2 -0
- package/src/sap/ui/fl/messagebundle_id.properties +2 -0
- package/src/sap/ui/fl/messagebundle_it.properties +2 -0
- package/src/sap/ui/fl/messagebundle_iw.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ja.properties +2 -0
- package/src/sap/ui/fl/messagebundle_kk.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ko.properties +2 -0
- package/src/sap/ui/fl/messagebundle_lt.properties +2 -0
- package/src/sap/ui/fl/messagebundle_lv.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ms.properties +2 -0
- package/src/sap/ui/fl/messagebundle_nl.properties +2 -0
- package/src/sap/ui/fl/messagebundle_no.properties +2 -0
- package/src/sap/ui/fl/messagebundle_pl.properties +2 -0
- package/src/sap/ui/fl/messagebundle_pt.properties +2 -0
- package/src/sap/ui/fl/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ro.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ru.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sh.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sk.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sl.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sv.properties +2 -0
- package/src/sap/ui/fl/messagebundle_th.properties +2 -0
- package/src/sap/ui/fl/messagebundle_tr.properties +2 -0
- package/src/sap/ui/fl/messagebundle_uk.properties +2 -0
- package/src/sap/ui/fl/messagebundle_vi.properties +2 -0
- package/src/sap/ui/fl/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/fl/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/fl/requireAsync.js +2 -2
- package/src/sap/ui/fl/support/{apps/uiFlexibilityDiagnostics/helper/Extractor.js → _internal/extractChangeDependencies.js} +55 -57
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +6 -6
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +14 -4
- package/src/sap/ui/fl/support/api/SupportAPI.js +3 -3
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +16 -5
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +18 -8
- 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/i18n/i18n.properties +4 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +11 -3
- 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/apps/contentbrowser/view/ContentDetails.view.xml +1 -0
- package/src/sap/ui/fl/support/apps/contentbrowser/view/ContentDetailsEdit.view.xml +1 -0
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/IFrame.js +27 -2
- 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 +41 -14
- package/src/sap/ui/fl/variants/VariantModel.js +90 -98
- package/src/sap/ui/fl/write/_internal/FlexInfoSession.js +46 -0
- package/src/sap/ui/fl/write/_internal/SaveAs.js +8 -9
- package/src/sap/ui/fl/write/_internal/Storage.js +10 -10
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +3 -3
- package/src/sap/ui/fl/write/_internal/Versions.js +3 -3
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +3 -3
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +3 -3
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +3 -3
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +27 -18
- package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +3 -3
- package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +2 -2
- 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 +4 -4
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +3 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +3 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +4 -4
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +68 -18
- 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 +47 -10
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +5 -5
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +10 -3
- package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +24 -18
- package/src/sap/ui/fl/write/api/ContextSharingAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +2 -2
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +9 -7
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +3 -3
- package/src/sap/ui/fl/write/api/LocalResetAPI.js +2 -2
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +5 -46
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +49 -43
- package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/TranslationAPI.js +2 -2
- package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/VersionsAPI.js +2 -2
- package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +4 -3
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +4 -3
- package/src/sap/ui/fl/write/connectors/BaseConnector.js +4 -4
- package/src/sap/ui/fl/Variant.js +0 -511
- package/src/sap/ui/fl/support/Flexibility.js +0 -384
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/Component.js +0 -18
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/controller/Root.controller.js +0 -227
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/index.html +0 -21
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/manifest.json +0 -44
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/view/Root.view.xml +0 -95
- package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +0 -35
- package/src/sap/ui/fl/support/diagnostics/Flexibility.view.xml +0 -41
- package/src/sap/ui/fl/support/flexibility.css +0 -32
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ! OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/ui/fl/apply/_internal/flexState/ManifestUtils"
|
|
9
|
+
], function(
|
|
10
|
+
ManifestUtils
|
|
11
|
+
) {
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
var FlexInfoSession = {};
|
|
15
|
+
|
|
16
|
+
var PARAMETER_PREFIX = "sap.ui.fl.info.";
|
|
17
|
+
|
|
18
|
+
function getSessionStorageKey(sReference) {
|
|
19
|
+
return PARAMETER_PREFIX + (sReference || "true");
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
FlexInfoSession.get = function(oControl) {
|
|
23
|
+
var sReference = ManifestUtils.getFlexReferenceForControl(oControl);
|
|
24
|
+
return FlexInfoSession.getByReference(sReference);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
FlexInfoSession.getByReference = function(sReference) {
|
|
28
|
+
return JSON.parse(window.sessionStorage.getItem(getSessionStorageKey(sReference)));
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
FlexInfoSession.set = function(oInfo, oControl) {
|
|
32
|
+
var sReference = ManifestUtils.getFlexReferenceForControl(oControl);
|
|
33
|
+
FlexInfoSession.setByReference(oInfo, sReference);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
FlexInfoSession.setByReference = function(oInfo, sReference) {
|
|
37
|
+
window.sessionStorage.setItem(getSessionStorageKey(sReference), JSON.stringify(oInfo));
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
FlexInfoSession.remove = function(oControl) {
|
|
41
|
+
var sReference = ManifestUtils.getFlexReferenceForControl(oControl);
|
|
42
|
+
window.sessionStorage.removeItem(getSessionStorageKey(sReference));
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
return FlexInfoSession;
|
|
46
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -98,16 +98,15 @@ sap.ui.define([
|
|
|
98
98
|
var aInlineChangesPromises = [];
|
|
99
99
|
|
|
100
100
|
aDescrChanges.forEach(function(oChange) {
|
|
101
|
-
var oChangeDefinition = oChange.getDefinition();
|
|
102
101
|
// Change contains only descriptor change information so the descriptor inline change needs to be created again
|
|
103
102
|
|
|
104
103
|
var oInlineChange = {
|
|
105
|
-
changeType:
|
|
106
|
-
content:
|
|
104
|
+
changeType: oChange.getChangeType(),
|
|
105
|
+
content: oChange.getContent()
|
|
107
106
|
};
|
|
108
107
|
|
|
109
|
-
if (
|
|
110
|
-
oInlineChange.texts =
|
|
108
|
+
if (oChange.getTexts()) {
|
|
109
|
+
oInlineChange.texts = oChange.getTexts();
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
aInlineChangesPromises.push(AppVariantInlineChangeFactory.createNew(oInlineChange));
|
|
@@ -167,7 +166,7 @@ sap.ui.define([
|
|
|
167
166
|
if (bArePersistencesEqual) {
|
|
168
167
|
_getDirtyDescrChanges(vSelector).forEach(function(oChange) {
|
|
169
168
|
// UI and Descriptor changes need to be separated here so as to perform different operations on changes
|
|
170
|
-
if (includes(DescriptorChangeTypes.getChangeTypes(), oChange.
|
|
169
|
+
if (includes(DescriptorChangeTypes.getChangeTypes(), oChange.getChangeType())) {
|
|
171
170
|
aDescrChanges.push(oChange);
|
|
172
171
|
} else {
|
|
173
172
|
_moveChangesToNewFlexReference(oChange, oAppVariant);
|
|
@@ -316,7 +315,7 @@ sap.ui.define([
|
|
|
316
315
|
.then(function() {
|
|
317
316
|
var aDescrChanges = [];
|
|
318
317
|
_getDirtyDescrChanges(mPropertyBag.selector).forEach(function(oChange) {
|
|
319
|
-
if (includes(DescriptorChangeTypes.getChangeTypes(), oChange.
|
|
318
|
+
if (includes(DescriptorChangeTypes.getChangeTypes(), oChange.getChangeType())) {
|
|
320
319
|
aDescrChanges.push(oChange);
|
|
321
320
|
}
|
|
322
321
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
*
|
|
23
23
|
* @namespace sap.ui.fl.write._internal.Storage
|
|
24
24
|
* @since 1.67
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.105.1
|
|
26
26
|
* @private
|
|
27
27
|
* @ui5-restricted sap.ui.fl
|
|
28
28
|
*/
|
|
@@ -116,7 +116,7 @@ sap.ui.define([
|
|
|
116
116
|
&& mPropertyBag.condensedChanges
|
|
117
117
|
) {
|
|
118
118
|
mCondense = {
|
|
119
|
-
namespace: mPropertyBag.allChanges[0].
|
|
119
|
+
namespace: mPropertyBag.allChanges[0].convertToFileContent().namespace,
|
|
120
120
|
layer: mPropertyBag.layer,
|
|
121
121
|
"delete": {
|
|
122
122
|
change: []
|
|
@@ -145,26 +145,26 @@ sap.ui.define([
|
|
|
145
145
|
var bDifferentOrder = false;
|
|
146
146
|
if (oChange.condenserState === "delete") {
|
|
147
147
|
if (oChange.getState() === States.PERSISTED) {
|
|
148
|
-
mCondense.delete.change.push(oChange.
|
|
148
|
+
mCondense.delete.change.push(oChange.getId());
|
|
149
149
|
}
|
|
150
150
|
iOffset++;
|
|
151
151
|
} else if (mPropertyBag.condensedChanges.length) {
|
|
152
|
-
bDifferentOrder = mPropertyBag.allChanges[index].
|
|
152
|
+
bDifferentOrder = mPropertyBag.allChanges[index].getId() !== mPropertyBag.condensedChanges[index - iOffset].getId();
|
|
153
153
|
}
|
|
154
154
|
if ((oChange.condenserState === "select" || oChange.condenserState === "update") && bDifferentOrder && !bAlreadyReordered) {
|
|
155
155
|
var aReorderedChanges = mPropertyBag.condensedChanges.slice(index - iOffset).map(function(oChange) {
|
|
156
|
-
return oChange.
|
|
156
|
+
return oChange.getId();
|
|
157
157
|
});
|
|
158
158
|
mCondense.reorder.change = aReorderedChanges;
|
|
159
159
|
bAlreadyReordered = true;
|
|
160
160
|
}
|
|
161
161
|
if (oChange.condenserState === "select" && oChange.getState() === States.NEW) {
|
|
162
162
|
mCondense.create.change[iChangeCreateIndex] = {};
|
|
163
|
-
mCondense.create.change[iChangeCreateIndex][oChange.
|
|
163
|
+
mCondense.create.change[iChangeCreateIndex][oChange.getId()] = oChange.getDefinition();
|
|
164
164
|
} else if (oChange.condenserState === "update") {
|
|
165
165
|
var iChangeUpdateIndex = mCondense.update.change.length;
|
|
166
166
|
mCondense.update.change[iChangeUpdateIndex] = {};
|
|
167
|
-
mCondense.update.change[iChangeUpdateIndex][oChange.
|
|
167
|
+
mCondense.update.change[iChangeUpdateIndex][oChange.getId()] = {
|
|
168
168
|
content: oChange.getContent()
|
|
169
169
|
};
|
|
170
170
|
}
|
|
@@ -467,4 +467,4 @@ sap.ui.define([
|
|
|
467
467
|
};
|
|
468
468
|
|
|
469
469
|
return Storage;
|
|
470
|
-
});
|
|
470
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @namespace sap.ui.fl.write._internal.StorageFeaturesMerger
|
|
18
18
|
* @since 1.70
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.105.1
|
|
20
20
|
* @private
|
|
21
21
|
* @ui5-restricted sap.ui.fl.write._internal.Storage
|
|
22
22
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -174,7 +174,7 @@ sap.ui.define([
|
|
|
174
174
|
*
|
|
175
175
|
* @namespace sap.ui.fl.write._internal.Versions
|
|
176
176
|
* @since 1.74
|
|
177
|
-
* @version 1.
|
|
177
|
+
* @version 1.105.1
|
|
178
178
|
* @private
|
|
179
179
|
* @ui5-restricted sap.ui.fl
|
|
180
180
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @constructor
|
|
36
36
|
* @alias sap.ui.fl.write._internal.appVariant.AppVariant
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.105.1
|
|
39
39
|
* @private
|
|
40
40
|
* @ui5-restricted sap.ui.rta, smart business
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @constructor
|
|
29
29
|
* @alias sap.ui.fl.write._internal.appVariant.AppVariantInlineChange
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.105.1
|
|
32
32
|
* @private
|
|
33
33
|
* @ui5-restricted sap.ui.rta, smart business
|
|
34
34
|
*/
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @namespace
|
|
44
44
|
* @alias sap.ui.fl.write._internal.condenser.Condenser
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.105.1
|
|
47
47
|
*/
|
|
48
48
|
var Condenser = {};
|
|
49
49
|
|
|
@@ -429,12 +429,12 @@ sap.ui.define([
|
|
|
429
429
|
var oUpdateChange = oCondenserInfo.updateChange;
|
|
430
430
|
if (oUpdateChange && oUpdateChange.getState() !== Change.states.NEW) {
|
|
431
431
|
var oCondensedChange = oCondenserInfo.change;
|
|
432
|
-
if (oUpdateChange.
|
|
432
|
+
if (oUpdateChange.getId() !== oCondensedChange.getId()) {
|
|
433
433
|
var oNewContent = oCondensedChange.getContent();
|
|
434
434
|
oUpdateChange.setContent(oNewContent);
|
|
435
435
|
oCondensedChange.condenserState = "delete";
|
|
436
436
|
aReducedChanges = aReducedChanges.map(function(oChange) {
|
|
437
|
-
if (oChange.
|
|
437
|
+
if (oChange.getId() === oCondensedChange.getId()) {
|
|
438
438
|
return oUpdateChange;
|
|
439
439
|
}
|
|
440
440
|
return oChange;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
*
|
|
75
75
|
* @namespace sap.ui.fl.write._internal.connectors.BackendConnector
|
|
76
76
|
* @since 1.72
|
|
77
|
-
* @version 1.
|
|
77
|
+
* @version 1.105.1
|
|
78
78
|
* @private
|
|
79
79
|
* @ui5-restricted sap.ui.fl.write._internal.connectors
|
|
80
80
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -11,27 +11,32 @@ sap.ui.define([
|
|
|
11
11
|
"sap/ui/fl/initial/_internal/connectors/Utils",
|
|
12
12
|
"sap/ui/fl/write/_internal/connectors/Utils",
|
|
13
13
|
"sap/base/util/restricted/_pick",
|
|
14
|
-
"sap/base/util/UriParameters"
|
|
15
|
-
|
|
14
|
+
"sap/base/util/UriParameters",
|
|
15
|
+
"sap/ui/fl/write/_internal/FlexInfoSession"
|
|
16
|
+
], function (
|
|
16
17
|
merge,
|
|
17
18
|
BackendConnector,
|
|
18
19
|
InitialConnector,
|
|
19
20
|
InitialUtils,
|
|
20
21
|
WriteUtils,
|
|
21
22
|
_pick,
|
|
22
|
-
UriParameters
|
|
23
|
+
UriParameters,
|
|
24
|
+
FlexInfoSession
|
|
23
25
|
) {
|
|
24
26
|
"use strict";
|
|
25
27
|
|
|
26
28
|
var PREFIX = "/flex/keyuser";
|
|
27
|
-
var API_VERSION =
|
|
29
|
+
var API_VERSION = {
|
|
30
|
+
V1: "/v1",
|
|
31
|
+
V2: "/v2"
|
|
32
|
+
};
|
|
28
33
|
|
|
29
34
|
/**
|
|
30
35
|
* Connector for saving and deleting data from SAPUI5 Flexibility KeyUser service.
|
|
31
36
|
*
|
|
32
37
|
* @namespace sap.ui.fl.write._internal.connectors.KeyUserConnector
|
|
33
38
|
* @since 1.70
|
|
34
|
-
* @version 1.
|
|
39
|
+
* @version 1.105.1
|
|
35
40
|
* @private
|
|
36
41
|
* @ui5-restricted sap.ui.fl.write._internal.Storage
|
|
37
42
|
*/
|
|
@@ -39,20 +44,20 @@ sap.ui.define([
|
|
|
39
44
|
layers: InitialConnector.layers,
|
|
40
45
|
|
|
41
46
|
ROUTES: {
|
|
42
|
-
CHANGES: PREFIX + API_VERSION + "/changes/",
|
|
43
|
-
SETTINGS: PREFIX + API_VERSION + "/settings",
|
|
44
|
-
TOKEN: PREFIX + API_VERSION + "/settings",
|
|
47
|
+
CHANGES: PREFIX + API_VERSION.V1 + "/changes/",
|
|
48
|
+
SETTINGS: PREFIX + API_VERSION.V1 + "/settings",
|
|
49
|
+
TOKEN: PREFIX + API_VERSION.V1 + "/settings",
|
|
45
50
|
VERSIONS: {
|
|
46
|
-
GET: PREFIX + API_VERSION + "/versions/",
|
|
47
|
-
ACTIVATE: PREFIX + API_VERSION + "/versions/activate/",
|
|
48
|
-
DISCARD: PREFIX + API_VERSION + "/versions/draft/"
|
|
51
|
+
GET: PREFIX + API_VERSION.V2 + "/versions/",
|
|
52
|
+
ACTIVATE: PREFIX + API_VERSION.V1 + "/versions/activate/",
|
|
53
|
+
DISCARD: PREFIX + API_VERSION.V1 + "/versions/draft/"
|
|
49
54
|
},
|
|
50
55
|
TRANSLATION: {
|
|
51
|
-
UPLOAD: PREFIX + API_VERSION + "/translation/texts",
|
|
52
|
-
DOWNLOAD: PREFIX + API_VERSION + "/translation/texts/",
|
|
53
|
-
GET_SOURCELANGUAGE: PREFIX + API_VERSION + "/translation/sourcelanguages/"
|
|
56
|
+
UPLOAD: PREFIX + API_VERSION.V1 + "/translation/texts",
|
|
57
|
+
DOWNLOAD: PREFIX + API_VERSION.V1 + "/translation/texts/",
|
|
58
|
+
GET_SOURCELANGUAGE: PREFIX + API_VERSION.V1 + "/translation/sourcelanguages/"
|
|
54
59
|
},
|
|
55
|
-
CONTEXTS: PREFIX + API_VERSION + "/contexts/"
|
|
60
|
+
CONTEXTS: PREFIX + API_VERSION.V1 + "/contexts/"
|
|
56
61
|
},
|
|
57
62
|
isLanguageInfoRequired: true,
|
|
58
63
|
loadFeatures: function (mPropertyBag) {
|
|
@@ -88,6 +93,10 @@ sap.ui.define([
|
|
|
88
93
|
var oUriParameters = new UriParameters(window.location.href);
|
|
89
94
|
var sAppContextsEnabled = oUriParameters.get("sap-ui-fl-cf-contextsharing");
|
|
90
95
|
return Promise.resolve(sAppContextsEnabled === "true");
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
getFlexInfo: function (mPropertyBag) {
|
|
99
|
+
return FlexInfoSession.get(mPropertyBag.selector) || {};
|
|
91
100
|
}
|
|
92
101
|
});
|
|
93
102
|
|
|
@@ -120,7 +129,7 @@ sap.ui.define([
|
|
|
120
129
|
mParameters.limit = mPropertyBag.limit;
|
|
121
130
|
var sVersionsUrl = InitialUtils.getUrl(KeyUserConnector.ROUTES.VERSIONS.GET, mPropertyBag, mParameters);
|
|
122
131
|
return InitialUtils.sendRequest(sVersionsUrl, "GET", mPropertyBag).then(function (oResult) {
|
|
123
|
-
return oResult.response.map(function (oVersion) {
|
|
132
|
+
return oResult.response.versions.map(function (oVersion) {
|
|
124
133
|
return renameVersionNumberProperty(oVersion);
|
|
125
134
|
});
|
|
126
135
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -164,7 +164,7 @@ sap.ui.define([
|
|
|
164
164
|
*
|
|
165
165
|
* @namespace sap.ui.fl.write._internal.connectors.LrepConnector
|
|
166
166
|
* @since 1.67
|
|
167
|
-
* @version 1.
|
|
167
|
+
* @version 1.105.1
|
|
168
168
|
* @private
|
|
169
169
|
* @ui5-restricted sap.ui.fl.write._internal.Storage
|
|
170
170
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
*
|
|
22
22
|
* @namespace sap.ui.fl.write._internal.connectors.NeoLrepConnector
|
|
23
23
|
* @since 1.81
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.105.1
|
|
25
25
|
* @private
|
|
26
26
|
* @ui5-restricted sap.ui.fl.write._internal.Storage
|
|
27
27
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
*
|
|
25
25
|
* @namespace sap.ui.fl.write._internal.connectors.ObjectPathConnector
|
|
26
26
|
* @since 1.73
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.105.1
|
|
28
28
|
* @private
|
|
29
29
|
* @ui5-restricted sap.ui.fl.write._internal.Storage
|
|
30
30
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
*
|
|
28
28
|
* @namespace sap.ui.fl.write._internal.connectors.PersonalizationConnector
|
|
29
29
|
* @since 1.70
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.105.1
|
|
31
31
|
* @private
|
|
32
32
|
* @ui5-restricted sap.ui.fl.write._internal.Storage
|
|
33
33
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @namespace sap.ui.fl.write._internal.connectors.Utils
|
|
18
18
|
* @since 1.70
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.105.1
|
|
20
20
|
* @private
|
|
21
21
|
* @ui5-restricted sap.ui.fl.write._internal.connectors, sap.ui.fl.write._internal.transport
|
|
22
22
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @class
|
|
18
18
|
* @namespace sap.ui.fl.write._internal.fieldExtensibility.ABAPExtensibilityVariant
|
|
19
19
|
* @since 1.87
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.105.1
|
|
21
21
|
* @public
|
|
22
22
|
* @param {sap.ui.base.ManagedObject} oControl - Control to add extensions
|
|
23
23
|
*/
|
|
@@ -99,7 +99,7 @@ sap.ui.define([
|
|
|
99
99
|
* @protected
|
|
100
100
|
* @returns {Promise<any>} Resolves with determined extension data from backend
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
ABAPExtensibilityVariant.prototype._determineExtensionData = function() {
|
|
103
103
|
return Promise.resolve(null);
|
|
104
104
|
};
|
|
105
105
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -117,7 +117,7 @@ sap.ui.define([
|
|
|
117
117
|
* @namespace sap.ui.fl.write._internal.fieldExtensibility.ABAPExtensibilityVariantFactory
|
|
118
118
|
* @experimental Since 1.87.0
|
|
119
119
|
* @author SAP SE
|
|
120
|
-
* @version 1.
|
|
120
|
+
* @version 1.105.1
|
|
121
121
|
*/
|
|
122
122
|
var ABAPExtensibilityVariantFactory = {};
|
|
123
123
|
|
package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
*
|
|
25
25
|
* @namespace sap.ui.fl.write._internal.fieldExtensibility.MultiTenantABAPExtensibilityVariant
|
|
26
26
|
* @since 1.87
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.105.1
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
30
|
|
package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
*
|
|
44
44
|
* @namespace sap.ui.fl.write._internal.fieldExtensibility.SingleTenantABAPExtensibilityVariant
|
|
45
45
|
* @since 1.87
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.105.1
|
|
47
47
|
* @public
|
|
48
48
|
*/
|
|
49
49
|
|
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
Promise.resolve(null);
|
|
85
|
+
return Promise.resolve(null);
|
|
86
86
|
}.bind(this));
|
|
87
87
|
},
|
|
88
88
|
|