@openui5/sap.ui.fl 1.100.0 → 1.102.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/THIRDPARTY.txt +5 -5
- 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 +36 -23
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +1 -1
- package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
- package/src/sap/ui/fl/FlexController.js +4 -6
- package/src/sap/ui/fl/FlexControllerFactory.js +4 -1
- package/src/sap/ui/fl/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Scenario.js +27 -0
- package/src/sap/ui/fl/Utils.js +9 -7
- package/src/sap/ui/fl/Variant.js +1 -1
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +46 -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 -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/ObjectStorageUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +9 -5
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +8 -0
- 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/flexState/FlexState.js +8 -11
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +1 -1
- 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/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 +27 -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 +1 -1
- package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +4 -2
- package/src/sap/ui/fl/changeHandler/BaseAddXml.js +1 -1
- package/src/sap/ui/fl/changeHandler/BaseRename.js +6 -4
- package/src/sap/ui/fl/changeHandler/HideControl.js +4 -2
- package/src/sap/ui/fl/changeHandler/MoveControls.js +10 -3
- package/src/sap/ui/fl/changeHandler/MoveElements.js +1 -1
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +6 -4
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +4 -2
- package/src/sap/ui/fl/changeHandler/StashControl.js +17 -4
- package/src/sap/ui/fl/changeHandler/UnhideControl.js +6 -4
- package/src/sap/ui/fl/changeHandler/UnstashControl.js +7 -3
- package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +1 -1
- package/src/sap/ui/fl/changeHandler/condenser/Classification.js +43 -0
- package/src/sap/ui/fl/codeExt/CodeExtManager.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
- package/src/sap/ui/fl/initial/_internal/Storage.js +8 -6
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +1 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +7 -2
- 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 +22 -66
- package/src/sap/ui/fl/library.support.js +1 -1
- package/src/sap/ui/fl/messagebundle_fr.properties +14 -14
- package/src/sap/ui/fl/support/Flexibility.js +1 -1
- 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/support/diagnostics/Flexibility.controller.js +1 -1
- package/src/sap/ui/fl/themes/base/VariantManagement.less +23 -21
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- 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 +1 -1
- package/src/sap/ui/fl/variants/VariantManagement.js +2 -1
- package/src/sap/ui/fl/variants/VariantModel.js +7 -1
- package/src/sap/ui/fl/write/_internal/Storage.js +7 -1
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +85 -36
- 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 +13 -11
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +5 -3
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +78 -12
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +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 +27 -6
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +98 -41
- package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +13 -2
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +7 -4
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +1 -1
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +2 -2
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +18 -11
- package/src/sap/ui/fl/write/api/TranslationAPI.js +54 -17
- package/src/sap/ui/fl/write/api/Version.js +22 -0
- package/src/sap/ui/fl/write/api/VersionsAPI.js +90 -74
|
@@ -5,9 +5,13 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/ui/fl/LayerUtils"
|
|
8
|
+
"sap/ui/fl/LayerUtils",
|
|
9
|
+
"sap/ui/fl/changeHandler/condenser/Classification",
|
|
10
|
+
"sap/ui/fl/changeHandler/JsControlTreeModifier"
|
|
9
11
|
], function(
|
|
10
|
-
LayerUtils
|
|
12
|
+
LayerUtils,
|
|
13
|
+
CondenserClassification,
|
|
14
|
+
JsControlTreeModifier
|
|
11
15
|
) {
|
|
12
16
|
"use strict";
|
|
13
17
|
|
|
@@ -15,7 +19,7 @@ sap.ui.define([
|
|
|
15
19
|
* Change handler for stashing of a control.
|
|
16
20
|
* @alias sap.ui.fl.changeHandler.StashControl
|
|
17
21
|
* @author SAP SE
|
|
18
|
-
* @version 1.
|
|
22
|
+
* @version 1.102.1
|
|
19
23
|
* @experimental Since 1.27.0
|
|
20
24
|
*/
|
|
21
25
|
var StashControl = {};
|
|
@@ -124,10 +128,19 @@ sap.ui.define([
|
|
|
124
128
|
StashControl.getCondenserInfo = function(oChange) {
|
|
125
129
|
return {
|
|
126
130
|
affectedControl: oChange.getSelector(),
|
|
127
|
-
classification:
|
|
131
|
+
classification: CondenserClassification.Reverse,
|
|
128
132
|
uniqueKey: "stashed"
|
|
129
133
|
};
|
|
130
134
|
};
|
|
131
135
|
|
|
136
|
+
StashControl.getChangeVisualizationInfo = function(oChange, oAppComponent) {
|
|
137
|
+
var oSelector = oChange.getSelector();
|
|
138
|
+
var oElement = JsControlTreeModifier.bySelector(oSelector, oAppComponent);
|
|
139
|
+
return {
|
|
140
|
+
affectedControls: [oSelector],
|
|
141
|
+
displayControls: [oElement.getParent().getId()]
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
|
|
132
145
|
return StashControl;
|
|
133
146
|
});
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/base/Log"
|
|
8
|
+
"sap/base/Log",
|
|
9
|
+
"sap/ui/fl/changeHandler/condenser/Classification"
|
|
9
10
|
], function(
|
|
10
|
-
Log
|
|
11
|
+
Log,
|
|
12
|
+
CondenserClassification
|
|
11
13
|
) {
|
|
12
14
|
"use strict";
|
|
13
15
|
|
|
@@ -17,7 +19,7 @@ sap.ui.define([
|
|
|
17
19
|
* Change handler for unhiding of a control.
|
|
18
20
|
* @alias sap.ui.fl.changeHandler.UnhideControl
|
|
19
21
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
22
|
+
* @version 1.102.1
|
|
21
23
|
* @experimental Since 1.27.0
|
|
22
24
|
*/
|
|
23
25
|
var UnhideControl = {};
|
|
@@ -84,7 +86,7 @@ sap.ui.define([
|
|
|
84
86
|
UnhideControl.getCondenserInfo = function(oChange) {
|
|
85
87
|
return {
|
|
86
88
|
affectedControl: oChange.getSelector(),
|
|
87
|
-
classification:
|
|
89
|
+
classification: CondenserClassification.Reverse,
|
|
88
90
|
uniqueKey: PROPERTY_NAME
|
|
89
91
|
};
|
|
90
92
|
};
|
|
@@ -4,14 +4,18 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/ui/fl/changeHandler/condenser/Classification"
|
|
9
|
+
], function(
|
|
10
|
+
CondenserClassification
|
|
11
|
+
) {
|
|
8
12
|
"use strict";
|
|
9
13
|
|
|
10
14
|
/**
|
|
11
15
|
* Change handler for unstashing of a control.
|
|
12
16
|
* @alias sap.ui.fl.changeHandler.UnstashControl
|
|
13
17
|
* @author SAP SE
|
|
14
|
-
* @version 1.
|
|
18
|
+
* @version 1.102.1
|
|
15
19
|
* @experimental Since 1.27.0
|
|
16
20
|
*/
|
|
17
21
|
var UnstashControl = {};
|
|
@@ -96,7 +100,7 @@ sap.ui.define([], function() {
|
|
|
96
100
|
UnstashControl.getCondenserInfo = function(oChange) {
|
|
97
101
|
return {
|
|
98
102
|
affectedControl: oChange.getSelector(),
|
|
99
|
-
classification:
|
|
103
|
+
classification: CondenserClassification.Reverse,
|
|
100
104
|
uniqueKey: "stashed"
|
|
101
105
|
};
|
|
102
106
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
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([], function() {
|
|
8
|
+
"use strict";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Available classification types for the condenser
|
|
12
|
+
*
|
|
13
|
+
* @enum {string}
|
|
14
|
+
*/
|
|
15
|
+
return {
|
|
16
|
+
/**
|
|
17
|
+
* All changes but the last one will be removed.
|
|
18
|
+
* Example: rename
|
|
19
|
+
*/
|
|
20
|
+
LastOneWins: "lastOneWins",
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Two change types reverse each other like a toggle. Only one or no change will be left.
|
|
24
|
+
* Example: hide/unhide
|
|
25
|
+
*/
|
|
26
|
+
Reverse: "reverse",
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Moving a control inside a container. For a control there will only be one move change left.
|
|
30
|
+
*/
|
|
31
|
+
Move: "move",
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Creating a new control (not only changing the visibility) that was previously not in the container.
|
|
35
|
+
*/
|
|
36
|
+
Create: "create",
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Destroying a control or removing it from the container.
|
|
40
|
+
*/
|
|
41
|
+
Destroy: "destroy"
|
|
42
|
+
};
|
|
43
|
+
});
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @namespace
|
|
22
22
|
* @name sap.ui.fl.descriptorRelated
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.102.1
|
|
25
25
|
* @private
|
|
26
26
|
* @ui5-restricted sap.ui.rta, smart business
|
|
27
27
|
*/
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @namespace
|
|
32
32
|
* @name sap.ui.fl.descriptorRelated.api
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.102.1
|
|
35
35
|
* @private
|
|
36
36
|
* @ui5-restricted sap.ui.rta, smart business
|
|
37
37
|
*/
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* @constructor
|
|
46
46
|
* @alias sap.ui.fl.descriptorRelated.api.DescriptorChange
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.102.1
|
|
49
49
|
* @private
|
|
50
50
|
* @ui5-restricted sap.ui.rta, smart business
|
|
51
51
|
*/
|
|
@@ -128,7 +128,7 @@ sap.ui.define([
|
|
|
128
128
|
* @constructor
|
|
129
129
|
* @alias sap.ui.fl.descriptorRelated.api.DescriptorChangeFactory
|
|
130
130
|
* @author SAP SE
|
|
131
|
-
* @version 1.
|
|
131
|
+
* @version 1.102.1
|
|
132
132
|
* @private
|
|
133
133
|
* @ui5-restricted sap.ui.rta, smart business
|
|
134
134
|
*/
|
|
@@ -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.102.1
|
|
42
42
|
* @private
|
|
43
43
|
* @deprecated Since version 1.76
|
|
44
44
|
* @ui5-restricted sap.ui.rta, smart business
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @namespace
|
|
17
17
|
* @alias sap.ui.fl.descriptorRelated.api.DescriptorVariantFactory
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.102.1
|
|
20
20
|
* @private
|
|
21
21
|
* @deprecated Since version 1.73
|
|
22
22
|
* @ui5-restricted sap.ui.rta, smart business
|
|
@@ -6,14 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/fl/initial/_internal/StorageUtils",
|
|
9
|
-
"sap/ui/fl/Utils",
|
|
10
9
|
"sap/ui/fl/initial/_internal/StorageResultMerger",
|
|
11
|
-
"sap/ui/fl/initial/_internal/storageResultDisassemble"
|
|
10
|
+
"sap/ui/fl/initial/_internal/storageResultDisassemble",
|
|
11
|
+
"sap/ui/fl/write/api/Version",
|
|
12
|
+
"sap/ui/fl/Utils"
|
|
12
13
|
], function(
|
|
13
14
|
StorageUtils,
|
|
14
|
-
FlUtils,
|
|
15
15
|
StorageResultMerger,
|
|
16
|
-
storageResultDisassemble
|
|
16
|
+
storageResultDisassemble,
|
|
17
|
+
Version,
|
|
18
|
+
Utils
|
|
17
19
|
) {
|
|
18
20
|
"use strict";
|
|
19
21
|
|
|
@@ -29,7 +31,7 @@ sap.ui.define([
|
|
|
29
31
|
return oConnectorSpecificPropertyBag;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
var sVersion =
|
|
34
|
+
var sVersion = Utils.getUrlParameter(Version.UrlParameter);
|
|
33
35
|
if (sVersion === null) {
|
|
34
36
|
// url parameter is not present --> remove an existing version entry copied from the original mPropertyBag
|
|
35
37
|
delete oConnectorSpecificPropertyBag.version;
|
|
@@ -44,7 +46,7 @@ sap.ui.define([
|
|
|
44
46
|
*
|
|
45
47
|
* @namespace sap.ui.fl.initial._internal.Storage
|
|
46
48
|
* @since 1.67
|
|
47
|
-
* @version 1.
|
|
49
|
+
* @version 1.102.1
|
|
48
50
|
* @private
|
|
49
51
|
* @ui5-restricted sap.ui.fl
|
|
50
52
|
*/
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
*
|
|
26
26
|
* @namespace sap.ui.fl.initial._internal.StorageUtils
|
|
27
27
|
* @since 1.74
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.102.1
|
|
29
29
|
* @private
|
|
30
30
|
* @ui5-restricted sap.ui.fl.initial._internal.Storage, sap.ui.fl.write._internal.Storage,
|
|
31
31
|
* sap.ui.fl.initial._internal.connectors.ObjectStorageConnector, sap.ui.fl.initial._internal.connectors.ObjectPathConnector
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @namespace sap.ui.fl.initial._internal.connectors.Utils
|
|
18
18
|
* @since 1.70
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.102.1
|
|
20
20
|
* @private
|
|
21
21
|
* @ui5-restricted sap.ui.fl.initial._internal.connectors, sap.ui.fl.write._internal.connectors, sap.ui.fl.write._internal.transport
|
|
22
22
|
*/
|
|
@@ -161,7 +161,12 @@ sap.ui.define([
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
oResult.response = xhr.response;
|
|
164
|
-
if (
|
|
164
|
+
if (
|
|
165
|
+
oResult.response
|
|
166
|
+
&& typeof oResult.response === "string"
|
|
167
|
+
&& xhr.getResponseHeader("content-type")
|
|
168
|
+
&& (xhr.getResponseHeader("content-type").indexOf("json") > 0)
|
|
169
|
+
) {
|
|
165
170
|
oResult.response = JSON.parse(oResult.response);
|
|
166
171
|
}
|
|
167
172
|
}
|
|
@@ -50,7 +50,7 @@ function(
|
|
|
50
50
|
/**
|
|
51
51
|
* @namespace sap.ui.fl.initial._internal.StorageResultDisassemble
|
|
52
52
|
* @since 1.70
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.102.1
|
|
54
54
|
* @private
|
|
55
55
|
* @ui5-restricted sap.ui.fl.initial._internal.Storage
|
|
56
56
|
* Disassembles a response with a variant section into one or more plain responses.
|
package/src/sap/ui/fl/library.js
CHANGED
|
@@ -8,12 +8,16 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator",
|
|
9
9
|
"sap/ui/fl/Utils",
|
|
10
10
|
"sap/ui/fl/Layer",
|
|
11
|
+
"sap/ui/fl/Scenario",
|
|
12
|
+
"sap/ui/fl/changeHandler/condenser/Classification",
|
|
11
13
|
"sap/ui/core/library", // library dependency
|
|
12
14
|
"sap/m/library" // library dependency
|
|
13
15
|
], function(
|
|
14
16
|
RegistrationDelegator,
|
|
15
17
|
Utils,
|
|
16
|
-
Layer
|
|
18
|
+
Layer,
|
|
19
|
+
Scenario,
|
|
20
|
+
CondenserClassification
|
|
17
21
|
) {
|
|
18
22
|
"use strict";
|
|
19
23
|
|
|
@@ -24,7 +28,7 @@ sap.ui.define([
|
|
|
24
28
|
* changes or other flex objects that need processing. If there is nothing to
|
|
25
29
|
* process, any further flex processing is stopped to avoid runtime impact for end users.
|
|
26
30
|
*
|
|
27
|
-
* @version 1.
|
|
31
|
+
* @version 1.102.1
|
|
28
32
|
* @since 1.44
|
|
29
33
|
* @namespace
|
|
30
34
|
* @name sap.ui.fl.initial
|
|
@@ -35,7 +39,7 @@ sap.ui.define([
|
|
|
35
39
|
* The <code>sap.ui.fl.initial.api</code> namespace contains public APIs that can be used
|
|
36
40
|
* during app startup, e.g. to inherit classes to create their own logic for retrieving data for flexibility.
|
|
37
41
|
*
|
|
38
|
-
* @version 1.
|
|
42
|
+
* @version 1.102.1
|
|
39
43
|
* @namespace
|
|
40
44
|
* @name sap.ui.fl.initial.api
|
|
41
45
|
* @public
|
|
@@ -46,7 +50,7 @@ sap.ui.define([
|
|
|
46
50
|
* start a UI5 app for an end user with changes. Be aware that only the <code>api</code>
|
|
47
51
|
* sub-namespace contains public and stable APIs.
|
|
48
52
|
*
|
|
49
|
-
* @version 1.
|
|
53
|
+
* @version 1.102.1
|
|
50
54
|
* @namespace
|
|
51
55
|
* @name sap.ui.fl.apply
|
|
52
56
|
* @public
|
|
@@ -56,7 +60,7 @@ sap.ui.define([
|
|
|
56
60
|
* The <code>sap.ui.fl.apply.api</code> namespace contains public APIs that can be used
|
|
57
61
|
* during app startup, e.g. to wait for changes to be applied or to access the current variant.
|
|
58
62
|
*
|
|
59
|
-
* @version 1.
|
|
63
|
+
* @version 1.102.1
|
|
60
64
|
* @namespace
|
|
61
65
|
* @name sap.ui.fl.apply.api
|
|
62
66
|
* @public
|
|
@@ -68,7 +72,7 @@ sap.ui.define([
|
|
|
68
72
|
* by personalization dialogs or 'tools' like key user adaptation will be part of this namespace.
|
|
69
73
|
* Be aware that only the <code>api</code> sub-namespace contains public and stable APIs.
|
|
70
74
|
*
|
|
71
|
-
* @version 1.
|
|
75
|
+
* @version 1.102.1
|
|
72
76
|
* @namespace
|
|
73
77
|
* @name sap.ui.fl.write
|
|
74
78
|
* @public
|
|
@@ -77,7 +81,7 @@ sap.ui.define([
|
|
|
77
81
|
/**
|
|
78
82
|
* The <code>sap.ui.fl.write.api</code> namespace contains public APIs to work with flex objects.
|
|
79
83
|
*
|
|
80
|
-
* @version 1.
|
|
84
|
+
* @version 1.102.1
|
|
81
85
|
* @namespace
|
|
82
86
|
* @name sap.ui.fl.write.api
|
|
83
87
|
* @public
|
|
@@ -87,7 +91,7 @@ sap.ui.define([
|
|
|
87
91
|
* The <code>sap.ui.fl.interfaces</code> namespace contains only interface jsdoc descriptions.
|
|
88
92
|
* It does not contain running code.
|
|
89
93
|
*
|
|
90
|
-
* @version 1.
|
|
94
|
+
* @version 1.102.1
|
|
91
95
|
* @namespace
|
|
92
96
|
* @name sap.ui.fl.interfaces
|
|
93
97
|
* @public
|
|
@@ -138,15 +142,15 @@ sap.ui.define([
|
|
|
138
142
|
/**
|
|
139
143
|
* SAPUI5 Library for SAPUI5 Flexibility and Descriptor Changes, App Variants, Control Variants (Views) and Personalization.
|
|
140
144
|
* @namespace
|
|
141
|
-
* @
|
|
145
|
+
* @alias sap.ui.fl
|
|
142
146
|
* @author SAP SE
|
|
143
|
-
* @version 1.
|
|
147
|
+
* @version 1.102.1
|
|
144
148
|
* @private
|
|
145
149
|
* @ui5-restricted UI5 controls, tools creating flexibility changes
|
|
146
150
|
*/
|
|
147
|
-
sap.ui.getCore().initLibrary({
|
|
151
|
+
var thisLib = sap.ui.getCore().initLibrary({
|
|
148
152
|
name: "sap.ui.fl",
|
|
149
|
-
version: "1.
|
|
153
|
+
version: "1.102.1",
|
|
150
154
|
controls: [
|
|
151
155
|
"sap.ui.fl.variants.VariantManagement",
|
|
152
156
|
"sap.ui.fl.util.IFrame"
|
|
@@ -169,66 +173,18 @@ sap.ui.define([
|
|
|
169
173
|
}
|
|
170
174
|
});
|
|
171
175
|
|
|
172
|
-
/**
|
|
173
|
-
* Available scenarios
|
|
174
|
-
*
|
|
175
|
-
* @enum {string}
|
|
176
|
-
*/
|
|
177
|
-
sap.ui.fl.Scenario = {
|
|
178
|
-
AppVariant: "APP_VARIANT",
|
|
179
|
-
VersionedAppVariant: "VERSIONED_APP_VARIANT",
|
|
180
|
-
AdaptationProject: "ADAPTATION_PROJECT",
|
|
181
|
-
FioriElementsFromScratch: "FE_FROM_SCRATCH",
|
|
182
|
-
UiAdaptation: "UI_ADAPTATION"
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Specific Versions of key user adaptations
|
|
187
|
-
*
|
|
188
|
-
* @enum {string}
|
|
189
|
-
*/
|
|
190
|
-
sap.ui.fl.Versions = {
|
|
191
|
-
Original: "-1",
|
|
192
|
-
Draft: "0",
|
|
193
|
-
UrlParameter: "sap-ui-fl-version"
|
|
194
|
-
};
|
|
195
|
-
|
|
196
176
|
/**
|
|
197
177
|
* Available classification types for the condenser
|
|
198
178
|
*
|
|
179
|
+
* @deprecated as of version 1.102. Use the {@link sap.ui.fl.changeHandler.condenser.Classification} instead.
|
|
199
180
|
* @enum {string}
|
|
200
181
|
*/
|
|
201
|
-
|
|
202
|
-
Classification:
|
|
203
|
-
/**
|
|
204
|
-
* All changes but the last one will be removed.
|
|
205
|
-
* Example: rename
|
|
206
|
-
*/
|
|
207
|
-
LastOneWins: "lastOneWins",
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Two change types reverse each other like a toggle. Only one or no change will be left.
|
|
211
|
-
* Example: hide/unhide
|
|
212
|
-
*/
|
|
213
|
-
Reverse: "reverse",
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Moving a control inside a container. For a control there will only be one move change left.
|
|
217
|
-
*/
|
|
218
|
-
Move: "move",
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Creating a new control (not only changing the visibility) that was previously not in the container.
|
|
222
|
-
*/
|
|
223
|
-
Create: "create",
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Destroying a control or removing it from the container.
|
|
227
|
-
*/
|
|
228
|
-
Destroy: "destroy"
|
|
229
|
-
}
|
|
182
|
+
thisLib.condenser = {
|
|
183
|
+
Classification: CondenserClassification
|
|
230
184
|
};
|
|
231
185
|
|
|
186
|
+
thisLib.Scenario = Scenario;
|
|
187
|
+
|
|
232
188
|
RegistrationDelegator.registerAll();
|
|
233
189
|
|
|
234
190
|
function _isTrialSystem() {
|
|
@@ -250,5 +206,5 @@ sap.ui.define([
|
|
|
250
206
|
}]);
|
|
251
207
|
}
|
|
252
208
|
|
|
253
|
-
return
|
|
209
|
+
return thisLib;
|
|
254
210
|
});
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
resolution: "Replace the generated control ID with a stable ID. We strongly recommend that you use stable IDs for all controls in your app.",
|
|
57
57
|
resolutionurls: [{
|
|
58
58
|
text: "Documentation: Stable IDs: All You Need to Know",
|
|
59
|
-
href: "https://
|
|
59
|
+
href: "https://openui5.hana.ondemand.com/topic/f51dbb78e7d5448e838cdc04bdf65403"
|
|
60
60
|
}],
|
|
61
61
|
async: true,
|
|
62
62
|
check: function (issueManager, oCoreFacade, oScope, resolve) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
TRANSPORT_DIALOG_TITLE=S\u00E9lectionner et transporter package
|
|
3
3
|
|
|
4
|
-
TRANSPORT_DIALOG_TITLE_SIMPLE=S\u00E9lectionner transport
|
|
4
|
+
TRANSPORT_DIALOG_TITLE_SIMPLE=S\u00E9lectionner un transport
|
|
5
5
|
|
|
6
6
|
TRANSPORT_DIALOG_OK=OK
|
|
7
7
|
|
|
@@ -11,11 +11,11 @@ TRANSPORT_DIALOG_TRANSPORT=Transport
|
|
|
11
11
|
|
|
12
12
|
TRANSPORT_DIALOG_PACKAGE=Paquet
|
|
13
13
|
|
|
14
|
-
TRANSPORT_DIALOG_TRANSPORT_TT=S\u00E9lectionner transport
|
|
14
|
+
TRANSPORT_DIALOG_TRANSPORT_TT=S\u00E9lectionner un transport
|
|
15
15
|
|
|
16
|
-
TRANSPORT_DIALOG_PACKAGE_TT=S\u00E9lectionner package
|
|
16
|
+
TRANSPORT_DIALOG_PACKAGE_TT=S\u00E9lectionner un package
|
|
17
17
|
|
|
18
|
-
TRANSPORT_DIALOG_NO_TRANSPORT=Cr\u00E9er ordre de transport
|
|
18
|
+
TRANSPORT_DIALOG_NO_TRANSPORT=Cr\u00E9er un ordre de transport
|
|
19
19
|
|
|
20
20
|
TRANSPORT_DIALOG_LOCAL_OBJECT=Objet local
|
|
21
21
|
|
|
@@ -55,7 +55,7 @@ VARIANT_MANAGEMENT_DEFAULT=Par d\u00E9faut
|
|
|
55
55
|
|
|
56
56
|
VARIANT_MANAGEMENT_EXECUTEONSELECT=Appliquer automatiquement
|
|
57
57
|
|
|
58
|
-
VARIANT_MANAGEMENT_AUTHOR=
|
|
58
|
+
VARIANT_MANAGEMENT_AUTHOR=Auteur
|
|
59
59
|
|
|
60
60
|
VARIANT_MANAGEMENT_ACTION_COLUMN=Action
|
|
61
61
|
|
|
@@ -73,9 +73,9 @@ VARIANT_MANAGEMENT_NOT_ALLOWED_CHAR=Caract\u00E8re {0} non autoris\u00E9 pour no
|
|
|
73
73
|
|
|
74
74
|
VARIANT_MANAGEMENT_MAX_LEN=Les noms de vues sont limit\u00E9s \u00E0 {0} caract\u00E8res.
|
|
75
75
|
|
|
76
|
-
VARIANT_MANAGEMENT_TRIGGER_TT=S\u00E9lectionner vue
|
|
76
|
+
VARIANT_MANAGEMENT_TRIGGER_TT=S\u00E9lectionner la vue
|
|
77
77
|
|
|
78
|
-
VARIANT_MANAGEMENT_DELETE=Supprimer vue
|
|
78
|
+
VARIANT_MANAGEMENT_DELETE=Supprimer la vue
|
|
79
79
|
|
|
80
80
|
VARIANT_MANAGEMENT_FAV_ADD_ACC=Ic\u00F4ne Favoris non coch\u00E9e
|
|
81
81
|
|
|
@@ -85,13 +85,13 @@ VARIANT_MANAGEMENT_FAV_DEL_TOOLTIP=S\u00E9lectionn\u00E9(e) comme favori
|
|
|
85
85
|
|
|
86
86
|
VARIANT_MANAGEMENT_FAV_ADD_TOOLTIP=D\u00E9s\u00E9lectionn\u00E9(e) comme favori
|
|
87
87
|
|
|
88
|
-
VARIANT_MANAGEMENT_ERROR_TEXT1=
|
|
88
|
+
VARIANT_MANAGEMENT_ERROR_TEXT1=Impossible de charger les donn\u00E9es
|
|
89
89
|
|
|
90
90
|
VARIANT_MANAGEMENT_ERROR_TEXT2=Il est possible que vous ne soyez pas connect\u00E9 \u00E0 Internet ou qu'un syst\u00E8me ou composant sous-jacent ne soit pas disponible.
|
|
91
91
|
|
|
92
92
|
VARIANT_MANAGEMENT_VISIBILITY=Visibilit\u00E9
|
|
93
93
|
|
|
94
|
-
VARIANT_MANAGEMENT_CHANGE_VISIBILITY=Modifier visibilit\u00E9 pour {0}
|
|
94
|
+
VARIANT_MANAGEMENT_CHANGE_VISIBILITY=Modifier la visibilit\u00E9 pour {0}
|
|
95
95
|
|
|
96
96
|
VARIANT_MANAGEMENT_VISIBILITY_NON_RESTRICTED=Tous les utilisateurs
|
|
97
97
|
|
|
@@ -99,7 +99,7 @@ VARIANT_MANAGEMENT_VISIBILITY_RESTRICTED=Restreint
|
|
|
99
99
|
|
|
100
100
|
VARIANT_MANAGEMENT_VISIBILITY_ICON_TT=Pour modifier la visibilit\u00E9, appuyez sur la barre d'espacement.
|
|
101
101
|
|
|
102
|
-
VARIANT_MANAGEMENT_SELECTROLES_DIALOG=S\u00E9lectionner r\u00F4les
|
|
102
|
+
VARIANT_MANAGEMENT_SELECTROLES_DIALOG=S\u00E9lectionner les r\u00F4les
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
STANDARD_VARIANT_ORIGINAL_TITLE=Standard
|
|
@@ -124,15 +124,15 @@ MSG_CONNECTION_TIMEOUT_ERROR=D\u00E9lai d'expiration de la connexion
|
|
|
124
124
|
|
|
125
125
|
MSG_LOADING_SERVER_RESPONSE_ERROR=Erreur lors du chargement de la r\u00E9ponse serveur
|
|
126
126
|
|
|
127
|
-
BTN_FREP_CCF=Cr\u00E9er zone personnalis\u00E9e, association ou logique
|
|
127
|
+
BTN_FREP_CCF=Cr\u00E9er une zone personnalis\u00E9e, association ou logique
|
|
128
128
|
|
|
129
129
|
BUSINESS_CONTEXT_TITLE=Contextes commerciaux disponibles \:
|
|
130
130
|
|
|
131
|
-
BTN_ADD_FIELD=Ajouter zone personnalis\u00E9e
|
|
131
|
+
BTN_ADD_FIELD=Ajouter la zone personnalis\u00E9e
|
|
132
132
|
|
|
133
|
-
BTN_ADD_LOGIC=Ajouter logique personnalis\u00E9e
|
|
133
|
+
BTN_ADD_LOGIC=Ajouter la logique personnalis\u00E9e
|
|
134
134
|
|
|
135
|
-
CAP_ADD_FIELD_TITLE=Ajouter zone personnalis\u00E9e dans CAP
|
|
135
|
+
CAP_ADD_FIELD_TITLE=Ajouter la zone personnalis\u00E9e dans CAP
|
|
136
136
|
|
|
137
137
|
CAP_ADD_FIELD_CREATE=Cr\u00E9er
|
|
138
138
|
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @constructor
|
|
37
37
|
* @alias sap.ui.fl.support.apps.contentbrowser.controller.ContentDetails
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.102.1
|
|
40
40
|
* @experimental Since 1.45
|
|
41
41
|
*/
|
|
42
42
|
return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.ContentDetails", {
|
package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js
CHANGED
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @constructor
|
|
37
37
|
* @alias sap.ui.fl.support.apps.contentbrowser.controller.ContentDetailsEdit
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.102.1
|
|
40
40
|
* @experimental Since 1.45
|
|
41
41
|
*/
|
|
42
42
|
return Controller.extend("sap.ui.fl.support.apps.contentbrowser.controller.ContentDetailsEdit", {
|