@openui5/sap.ui.fl 1.111.0 → 1.112.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/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/Cache.js +1 -1
- package/src/sap/ui/fl/ChangePersistence.js +1 -1
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnector.js +3 -13
- 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 +7 -2
- package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
- package/src/sap/ui/fl/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Utils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/ChangesController.js +3 -28
- 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 +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -2
- 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 +2 -3
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +76 -0
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -3
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +12 -13
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +76 -0
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +2 -3
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +2 -3
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +4 -5
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +4 -5
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +8 -9
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +4 -5
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +3 -4
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +4 -5
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +2 -3
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +5 -6
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +4 -5
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +4 -5
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +18 -5
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +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 +5 -11
- 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/flexState/FlexState.js +1 -23
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +3 -10
- 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/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/EventHistory.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +1 -1
- package/src/sap/ui/fl/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 +2 -2
- 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 +3 -1
- package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/MoveControls.js +1 -1
- package/src/sap/ui/fl/changeHandler/MoveElements.js +1 -1
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +1 -1
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +1 -1
- package/src/sap/ui/fl/changeHandler/StashControl.js +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/changeHandler/common/createIFrame.js +7 -1
- package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +21 -31
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
- package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +34 -3
- package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +2 -0
- package/src/sap/ui/fl/initial/_internal/Storage.js +1 -1
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +1 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +1 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
- package/src/sap/ui/fl/initial/_internal/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 +43 -43
- package/src/sap/ui/fl/messagebundle_bg.properties +2 -2
- package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +1 -0
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +1 -1
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +1 -1
- package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/DescriptorChangeCheck.js +45 -4
- package/src/sap/ui/fl/util/IFrame.js +12 -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 +17 -0
- package/src/sap/ui/fl/variants/VariantModel.js +63 -42
- package/src/sap/ui/fl/write/_internal/SaveAs.js +25 -61
- package/src/sap/ui/fl/write/_internal/Storage.js +1 -1
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +4 -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 +29 -22
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -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 +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +15 -11
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +15 -21
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +5 -3
- 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/AppVariantWriteAPI.js +3 -3
- package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +13 -4
- package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +2 -2
|
@@ -18,8 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* Available for both runtime and build {@link sap.ui.fl.apply._internal.changes.descriptor.Registration}.
|
|
19
19
|
*
|
|
20
20
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.ovp.DeleteCard
|
|
21
|
-
* @
|
|
22
|
-
* @version 1.111.0
|
|
21
|
+
* @version 1.112.0
|
|
23
22
|
* @private
|
|
24
23
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
25
24
|
*/
|
|
@@ -27,9 +26,9 @@ sap.ui.define([
|
|
|
27
26
|
|
|
28
27
|
/**
|
|
29
28
|
* Method to apply the <code>appdescr_ovp_removeCard</code> change to the manifest.
|
|
30
|
-
* @param {object} oManifest Original manifest
|
|
31
|
-
* @param {
|
|
32
|
-
* @param {string} oChange.content.cardID ID of the card to be deleted
|
|
29
|
+
* @param {object} oManifest - Original manifest
|
|
30
|
+
* @param {sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange} oChange - Change made by key user
|
|
31
|
+
* @param {string} oChange.content.cardID - ID of the card to be deleted
|
|
33
32
|
* @returns {object} Updated manifest
|
|
34
33
|
* @private
|
|
35
34
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
@@ -19,9 +19,8 @@ sap.ui.define([
|
|
|
19
19
|
* Only available during build time {@link sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild}.
|
|
20
20
|
*
|
|
21
21
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.ui5.AddComponentUsages
|
|
22
|
-
* @experimental
|
|
23
22
|
* @since 1.86
|
|
24
|
-
* @version 1.
|
|
23
|
+
* @version 1.112.0
|
|
25
24
|
* @private
|
|
26
25
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
27
26
|
*/
|
|
@@ -29,8 +28,8 @@ sap.ui.define([
|
|
|
29
28
|
|
|
30
29
|
/**
|
|
31
30
|
* Method to apply the <code>appdescr_ui5_addComponentUsages</code> change to the manifest.
|
|
32
|
-
* @param {object} oManifest Original manifest
|
|
33
|
-
* @param {
|
|
31
|
+
* @param {object} oManifest - Original manifest
|
|
32
|
+
* @param {sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange} oChange - Change with type <code>appdescr_ui5_addComponentUsages</code>
|
|
34
33
|
* @returns {object} Updated manifest with <code>sap.ui5/componentUsages</code> entity
|
|
35
34
|
*
|
|
36
35
|
* @private
|
|
@@ -47,9 +47,8 @@ sap.ui.define([
|
|
|
47
47
|
* Available for both runtime and build {@link sap.ui.fl.apply._internal.changes.descriptor.Registration}.
|
|
48
48
|
*
|
|
49
49
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.ui5.AddLibrary
|
|
50
|
-
* @experimental
|
|
51
50
|
* @since 1.74
|
|
52
|
-
* @version 1.
|
|
51
|
+
* @version 1.112.0
|
|
53
52
|
* @private
|
|
54
53
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
55
54
|
*/
|
|
@@ -57,9 +56,9 @@ sap.ui.define([
|
|
|
57
56
|
|
|
58
57
|
/**
|
|
59
58
|
* Method to apply the <code>appdescr_ui5_addLibraries</code> change to the manifest.
|
|
60
|
-
* @param {object} oManifest Original manifest
|
|
61
|
-
* @param {
|
|
62
|
-
* @param {object} oChange.content.libraries Change content containing libraries names and minVersion
|
|
59
|
+
* @param {object} oManifest - Original manifest
|
|
60
|
+
* @param {sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange} oChange - Change with type <code>appdescr_ui5_addLibraries</code>
|
|
61
|
+
* @param {object} oChange.content.libraries - Change content containing libraries names and minVersion
|
|
63
62
|
* @returns {object} Updated manifest with merged dependencies
|
|
64
63
|
*
|
|
65
64
|
* @private
|
|
@@ -95,9 +95,8 @@ sap.ui.define([
|
|
|
95
95
|
* Available only for build {@link sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild}.
|
|
96
96
|
*
|
|
97
97
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.ui5.AddNewModel
|
|
98
|
-
* @experimental
|
|
99
98
|
* @since 1.87
|
|
100
|
-
* @version 1.
|
|
99
|
+
* @version 1.112.0
|
|
101
100
|
* @private
|
|
102
101
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
103
102
|
*/
|
|
@@ -107,7 +106,7 @@ sap.ui.define([
|
|
|
107
106
|
* Method to apply the <code>appdescr_ui5_addNewModel</code> change to the manifest.
|
|
108
107
|
*
|
|
109
108
|
* @param {object} oManifest - Original manifest
|
|
110
|
-
* @param {
|
|
109
|
+
* @param {sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange} oChange - Change with type <code>appdescr_ui5_addNewModel</code>
|
|
111
110
|
* @param {object} oChange.content.model - Model that will be added
|
|
112
111
|
* @param {object} oChange.content.dataSource - DataSource for model
|
|
113
112
|
* @returns {object} Updated manifest with merged content
|
|
@@ -23,8 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* Only available during build time {@link sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild}.
|
|
24
24
|
*
|
|
25
25
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.ui5.AddNewModelEnhanceWith
|
|
26
|
-
* @
|
|
27
|
-
* @version 1.111.0
|
|
26
|
+
* @version 1.112.0
|
|
28
27
|
* @private
|
|
29
28
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
30
29
|
*/
|
|
@@ -32,10 +31,10 @@ sap.ui.define([
|
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
33
|
* Method to apply the <code>appdescr_ui5_addNewModelEnhanceWith</code> change to the manifest.
|
|
35
|
-
* @param {object} oManifest Original manifest
|
|
36
|
-
* @param {
|
|
37
|
-
* @param {string} oChange.content.modelId ID of existing model, referenced model must have type <code>sap.ui.model.resource.ResourceModel</code>
|
|
38
|
-
* @param {string} oChange.texts.i18n Path to an i18n properties path relative to the location of the change
|
|
34
|
+
* @param {object} oManifest - Original manifest
|
|
35
|
+
* @param {sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange} oChange - Change with type <code>appdescr_ui5_addNewModelEnhanceWith</code>
|
|
36
|
+
* @param {string} oChange.content.modelId - ID of existing model, referenced model must have type <code>sap.ui.model.resource.ResourceModel</code>
|
|
37
|
+
* @param {string} oChange.texts.i18n - Path to an i18n properties path relative to the location of the change
|
|
39
38
|
* @returns {object} Updated manifest with <code>sap.ui5/models</code> entity
|
|
40
39
|
*
|
|
41
40
|
* @private
|
package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js
CHANGED
|
@@ -19,8 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* Only available during build time {@link sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild}.
|
|
20
20
|
*
|
|
21
21
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.ui5.SetFlexExtensionPointEnabled
|
|
22
|
-
* @
|
|
23
|
-
* @version 1.111.0
|
|
22
|
+
* @version 1.112.0
|
|
24
23
|
* @private
|
|
25
24
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
26
25
|
*/
|
|
@@ -28,9 +27,9 @@ sap.ui.define([
|
|
|
28
27
|
|
|
29
28
|
/**
|
|
30
29
|
* Method to apply the <code>appdescr_ui5_setFlexExtensionPointEnabled</code> change to the manifest.
|
|
31
|
-
* @param {object} oManifest Original manifest
|
|
32
|
-
* @param {
|
|
33
|
-
* @param {boolean} oChange.content.flexExtensionPointEnabled Boolean flag to enable extension point hook
|
|
30
|
+
* @param {object} oManifest - Original manifest
|
|
31
|
+
* @param {sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange} oChange - Change with type <code>appdescr_ui5_setFlexExtensionPointEnabled</code>
|
|
32
|
+
* @param {boolean} oChange.content.flexExtensionPointEnabled - Boolean flag to enable extension point hook
|
|
34
33
|
* @returns {object} Updated manifest with changed <code>appdescr_ui5_setFlexExtensionPointEnabled</code>
|
|
35
34
|
*
|
|
36
35
|
* @private
|
|
@@ -21,8 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* Only available during build time {@link sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild}.
|
|
22
22
|
*
|
|
23
23
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.ui5.SetMinUI5Version
|
|
24
|
-
* @
|
|
25
|
-
* @version 1.111.0
|
|
24
|
+
* @version 1.112.0
|
|
26
25
|
* @private
|
|
27
26
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
28
27
|
*/
|
|
@@ -31,9 +30,9 @@ sap.ui.define([
|
|
|
31
30
|
/**
|
|
32
31
|
* Method to apply the <code>appdescr_ui5_setMinUI5Version</code> change to the manifest.
|
|
33
32
|
*
|
|
34
|
-
* @param {object} oManifest Original manifest
|
|
35
|
-
* @param {
|
|
36
|
-
* @param {string} oChange.content.minUI5Version New minUI5Version
|
|
33
|
+
* @param {object} oManifest - Original manifest
|
|
34
|
+
* @param {sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange} oChange - Change with type <code>appdescr_ui5_setMinUI5Version</code>
|
|
35
|
+
* @param {string} oChange.content.minUI5Version - New minUI5Version
|
|
37
36
|
* @returns {object} Updated manifest with updated minUI5Version
|
|
38
37
|
*
|
|
39
38
|
* @private
|
|
@@ -12,7 +12,7 @@ sap.ui.define([], function () {
|
|
|
12
12
|
*
|
|
13
13
|
* @namespace sap.ui.fl.initial._internal.connectors.Utils
|
|
14
14
|
* @since 1.70
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.112.0
|
|
16
16
|
* @private
|
|
17
17
|
* @ui5-restricted sap.ui.fl.initial._internal, sap.ui.fl.write._internal
|
|
18
18
|
*/
|
|
@@ -48,7 +48,7 @@ sap.ui.define([], function () {
|
|
|
48
48
|
var oFlexObject = mPropertyBag.storage._itemsStoredAsObjects ? vStorageEntry : JSON.parse(vStorageEntry);
|
|
49
49
|
var bSameReference = true;
|
|
50
50
|
if (mPropertyBag.reference) {
|
|
51
|
-
bSameReference =
|
|
51
|
+
bSameReference = this.isSameReference(oFlexObject, mPropertyBag.reference);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
var bSameLayer = true;
|
|
@@ -64,10 +64,10 @@ sap.ui.define([], function () {
|
|
|
64
64
|
changeDefinition: oFlexObject,
|
|
65
65
|
key: sKey
|
|
66
66
|
});
|
|
67
|
-
});
|
|
67
|
+
}.bind(this));
|
|
68
68
|
|
|
69
69
|
return Promise.all(aPromises);
|
|
70
|
-
});
|
|
70
|
+
}.bind(this));
|
|
71
71
|
},
|
|
72
72
|
|
|
73
73
|
/**
|
|
@@ -105,7 +105,20 @@ sap.ui.define([], function () {
|
|
|
105
105
|
*/
|
|
106
106
|
createFlexObjectKey: function(oFlexObject) {
|
|
107
107
|
return this.createFlexKey(oFlexObject.fileName);
|
|
108
|
-
}
|
|
108
|
+
},
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Check whether reference of a flex object is same with an input reference or not.
|
|
112
|
+
* The reference with ".Component" suffix is considered as an equivalent reference.
|
|
113
|
+
*
|
|
114
|
+
* @param {object} oFlexObject - The definition of the flex Object
|
|
115
|
+
* @param {string} sReference - The input reference
|
|
116
|
+
* @returns {boolean} <code>true</code> when flex object reference is equivalent with the input reference
|
|
117
|
+
* @ui5-restricted sap.ui.fl.FakeLrepConnector
|
|
118
|
+
*/
|
|
119
|
+
isSameReference: function(oFlexObject, sReference) {
|
|
120
|
+
var sEquivalentReference = sReference.endsWith(".Component") ? sReference.replace(/\.Component$/, "") : sReference + ".Component";
|
|
121
|
+
return oFlexObject.reference === sReference || oFlexObject.reference === sEquivalentReference;
|
|
122
|
+
}
|
|
110
123
|
};
|
|
111
124
|
});
|
|
@@ -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.112.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.112.0
|
|
24
24
|
* @private
|
|
25
25
|
* @ui5-restricted sap.ui.fl
|
|
26
26
|
*/
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
* @extends sap.ui.base.ManagedObject
|
|
70
70
|
* @alias sap.ui.fl.apply._internal.flexObjects.FlexObject
|
|
71
71
|
* @since 1.100
|
|
72
|
-
* @version 1.
|
|
72
|
+
* @version 1.112.0
|
|
73
73
|
* @private
|
|
74
74
|
* @ui5-restricted sap.ui.fl
|
|
75
75
|
*/
|
|
@@ -137,20 +137,14 @@ sap.ui.define([
|
|
|
137
137
|
var oFlexObjectMetadata = this.getFlexObjectMetadata();
|
|
138
138
|
var sReference = oFlexObjectMetadata.reference;
|
|
139
139
|
if (sReference) {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
if (!oFlexObjectMetadata.projectId) {
|
|
145
|
-
oFlexObjectMetadata.projectId = sReference.replace(".Component", "");
|
|
146
|
-
}
|
|
140
|
+
oFlexObjectMetadata.namespace = oFlexObjectMetadata.namespace || Utils.createNamespace({ reference: sReference }, this.getFileType());
|
|
141
|
+
oFlexObjectMetadata.projectId = oFlexObjectMetadata.projectId || sReference;
|
|
147
142
|
}
|
|
148
143
|
this.setFlexObjectMetadata(oFlexObjectMetadata);
|
|
149
144
|
|
|
150
145
|
var oSupportInformation = this.getSupportInformation();
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
146
|
+
oSupportInformation.originalLanguage = oSupportInformation.originalLanguage || Utils.getCurrentLanguage();
|
|
147
|
+
|
|
154
148
|
this.setSupportInformation(oSupportInformation);
|
|
155
149
|
}
|
|
156
150
|
});
|
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
* @namespace sap.ui.fl.apply._internal.flexState.FlexState
|
|
93
93
|
* @experimental
|
|
94
94
|
* @since 1.73
|
|
95
|
-
* @version 1.
|
|
95
|
+
* @version 1.112.0
|
|
96
96
|
* @private
|
|
97
97
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
98
98
|
*/
|
|
@@ -255,25 +255,6 @@ sap.ui.define([
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
function createSecondInstanceIfNecessary(mPropertyBag) {
|
|
259
|
-
if (mPropertyBag.reference.endsWith(".Component")) {
|
|
260
|
-
var aParts = mPropertyBag.reference.split(".");
|
|
261
|
-
aParts.pop();
|
|
262
|
-
var sReferenceWithoutComponent = aParts.join(".");
|
|
263
|
-
var oStorageResponse = {changes: StorageUtils.getEmptyFlexDataResponse()};
|
|
264
|
-
_mInstances[sReferenceWithoutComponent] = merge({}, {
|
|
265
|
-
storageResponse: oStorageResponse,
|
|
266
|
-
unfilteredStorageResponse: {changes: StorageUtils.getEmptyFlexDataResponse()},
|
|
267
|
-
preparedMaps: {},
|
|
268
|
-
componentId: mPropertyBag.componentId,
|
|
269
|
-
partialFlexState: mPropertyBag.partialFlexState,
|
|
270
|
-
runtimePersistence: buildRuntimePersistence(oStorageResponse)
|
|
271
|
-
});
|
|
272
|
-
oFlexObjectDataSelector.checkUpdate({ reference: sReferenceWithoutComponent });
|
|
273
|
-
_mInitPromises[sReferenceWithoutComponent] = _mInitPromises[mPropertyBag.reference];
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
258
|
// TODO turn into utility or put it somewhere central
|
|
278
259
|
function filterByMaxLayer(mResponse) {
|
|
279
260
|
var mFilteredReturn = merge({}, mResponse);
|
|
@@ -300,9 +281,6 @@ sap.ui.define([
|
|
|
300
281
|
partialFlexState: mPropertyBag.partialFlexState
|
|
301
282
|
});
|
|
302
283
|
|
|
303
|
-
// temporarily create an instance without '.Component'
|
|
304
|
-
// TODO remove as soon as both with and without '.Component' are harmonized
|
|
305
|
-
createSecondInstanceIfNecessary(mPropertyBag);
|
|
306
284
|
registerMaxLayerHandler(mPropertyBag.reference);
|
|
307
285
|
storeAllContextsProvided(mPropertyBag.reference, mResponse);
|
|
308
286
|
|
|
@@ -12,13 +12,6 @@ function(
|
|
|
12
12
|
) {
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
|
-
function appendComponentToReference(sComponentName) {
|
|
16
|
-
if (sComponentName && sComponentName.indexOf(".Component") < 0) {
|
|
17
|
-
sComponentName += ".Component";
|
|
18
|
-
}
|
|
19
|
-
return sComponentName;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
15
|
function getFlAsyncHintRequest(oAsyncHints, sReference) {
|
|
23
16
|
if (oAsyncHints && oAsyncHints.requests && Array.isArray(oAsyncHints.requests)) {
|
|
24
17
|
return oAsyncHints.requests.find(function(oAsyncHint) {
|
|
@@ -45,11 +38,11 @@ function(
|
|
|
45
38
|
}
|
|
46
39
|
|
|
47
40
|
if (oSapUi5Entry.componentName) {
|
|
48
|
-
return
|
|
41
|
+
return oSapUi5Entry.componentName;
|
|
49
42
|
}
|
|
50
43
|
}
|
|
51
44
|
|
|
52
|
-
return
|
|
45
|
+
return getAppIdFromManifest(oManifest);
|
|
53
46
|
}
|
|
54
47
|
|
|
55
48
|
function getAppIdFromManifest(oManifest) {
|
|
@@ -77,7 +70,7 @@ function(
|
|
|
77
70
|
* @namespace sap.ui.fl.apply._internal.flexState.ManifestUtils
|
|
78
71
|
* @experimental
|
|
79
72
|
* @since 1.74
|
|
80
|
-
* @version 1.
|
|
73
|
+
* @version 1.112.0
|
|
81
74
|
* @private
|
|
82
75
|
*/
|
|
83
76
|
var ManifestUtils = {
|
|
@@ -117,7 +117,7 @@ sap.ui.define([
|
|
|
117
117
|
*
|
|
118
118
|
* @namespace sap.ui.fl.apply._internal.flexState.compVariants.CompVariantMerger
|
|
119
119
|
* @since 1.86
|
|
120
|
-
* @version 1.
|
|
120
|
+
* @version 1.112.0
|
|
121
121
|
* @private
|
|
122
122
|
* @ui5-restricted sap.ui.fl
|
|
123
123
|
*/
|
|
@@ -182,7 +182,7 @@ sap.ui.define([
|
|
|
182
182
|
*
|
|
183
183
|
* @function
|
|
184
184
|
* @since 1.89
|
|
185
|
-
* @version 1.
|
|
185
|
+
* @version 1.112.0
|
|
186
186
|
* @private
|
|
187
187
|
* @ui5-restricted sap.ui.fl
|
|
188
188
|
*
|
|
@@ -14,7 +14,7 @@ sap.ui.define(["sap/ui/core/Core"], function(oCore) {
|
|
|
14
14
|
* @alias sap.ui.fl.apply._internal.preprocessors.EventHistory
|
|
15
15
|
* @experimental Since 1.47.0
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.112.0
|
|
18
18
|
*
|
|
19
19
|
* @private
|
|
20
20
|
* @ui5-restricted sap.ui.fl.apply._internal.preprocessors.RegistrationDelegator
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @namespace sap.ui.fl.apply.api.ControlVariantApplyAPI
|
|
30
30
|
* @experimental Since 1.67
|
|
31
31
|
* @since 1.67
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.112.0
|
|
33
33
|
* @public
|
|
34
34
|
*/
|
|
35
35
|
var ControlVariantApplyAPI = /** @lends sap.ui.fl.apply.api.ControlVariantApplyAPI */{
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @alias sap.ui.fl.changeHandler.AddXML
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.112.0
|
|
20
20
|
* @since 1.54
|
|
21
21
|
* @private
|
|
22
22
|
* @experimental Since 1.54. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @alias sap.ui.fl.changeHandler.AddXMLAtExtensionPoint
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.112.0
|
|
20
20
|
* @since 1.75
|
|
21
21
|
* @private
|
|
22
22
|
* @experimental Since 1.75. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
/**
|
|
15
15
|
* Base functionality for all change handlers, which provides some reuse methods
|
|
16
16
|
* @namespace sap.ui.fl.changeHandler.Base
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.112.0
|
|
18
18
|
* @private
|
|
19
19
|
* @ui5-restricted change handlers
|
|
20
20
|
*/
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {string} sText - Text value
|
|
28
28
|
* @param {string} sType - Translation text type, e.g. XBUT, XTIT, XTOL, XFLD
|
|
29
29
|
*
|
|
30
|
-
* @deprecated
|
|
30
|
+
* @deprecated As of version 1.107
|
|
31
31
|
* @private
|
|
32
32
|
* @ui5-restricted
|
|
33
33
|
*/
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
*
|
|
23
23
|
* @alias sap.ui.fl.changeHandler.BaseAddXml
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.112.0
|
|
26
26
|
* @since 1.75
|
|
27
27
|
* @private
|
|
28
28
|
* @experimental Since 1.75. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @constructor
|
|
20
20
|
* @alias sap.ui.fl.changeHandler.BaseRename
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.112.0
|
|
23
23
|
* @experimental Since 1.46
|
|
24
24
|
*/
|
|
25
25
|
var BaseRename = {
|
|
@@ -111,6 +111,8 @@ sap.ui.define([
|
|
|
111
111
|
|
|
112
112
|
if (typeof (mSpecificChangeInfo.value) === "string") {
|
|
113
113
|
oChange.setText(sChangePropertyName, mSpecificChangeInfo.value, sTranslationTextType);
|
|
114
|
+
} else if (typeof (mSpecificChangeInfo.content.value) === "string") {
|
|
115
|
+
oChange.setText(sChangePropertyName, mSpecificChangeInfo.content.value, sTranslationTextType);
|
|
114
116
|
} else {
|
|
115
117
|
return Promise.reject(new Error("oSpecificChangeInfo.value attribute required"));
|
|
116
118
|
}
|