@openui5/sap.ui.fl 1.141.2 → 1.143.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/.eslintrc.json +3 -2
- package/README.md +2 -2
- package/REUSE.toml +39 -1
- package/THIRDPARTY.txt +36 -3
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/FakeLrepConnector.js +3 -3
- 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/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Utils.js +1 -2
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -0
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +16 -10
- 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/Applier.js +31 -22
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/RawApplier.js +48 -0
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource.js +10 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +9 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound.js +9 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeOutbound.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetAch.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetDescription.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetInbounds.js +73 -0
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetCloudDevAdaptationStatus.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/ChangeModel.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +21 -10
- package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +14 -0
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Registry.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/AnnotationChange.js +1 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +1 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.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 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +1 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +13 -4
- package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +1 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +1 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/VariantChange.js +1 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange.js +1 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/DataSelector.js +0 -1
- package/src/sap/ui/fl/apply/_internal/flexState/FlexObjectState.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +28 -27
- 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 +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/changes/UIChangesState.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantManagementState.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +8 -7
- package/src/sap/ui/fl/apply/_internal/init.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +196 -100
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +11 -14
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.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 +2 -2
- package/src/sap/ui/fl/changeHandler/BaseRename.js +1 -1
- package/src/sap/ui/fl/changeHandler/ChangeAnnotation.js +1 -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/descriptorRelated/api/DescriptorChange.js +14 -13
- 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/variants/VariantManagement.designtime.js +1 -1
- package/src/sap/ui/fl/initial/_internal/FlexConfiguration.js +1 -1
- package/src/sap/ui/fl/initial/_internal/Loader.js +62 -29
- package/src/sap/ui/fl/initial/_internal/ManifestUtils.js +1 -1
- package/src/sap/ui/fl/initial/_internal/Settings.js +99 -2
- package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
- package/src/sap/ui/fl/initial/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +2 -2
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +1 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +3 -3
- package/src/sap/ui/fl/initial/_internal/connectors/BtpServiceConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +7 -2
- package/src/sap/ui/fl/initial/_internal/preprocessors/ControllerExtension.js +19 -5
- package/src/sap/ui/fl/initial/_internal/preprocessors/RegistrationDelegator.js +2 -4
- package/src/sap/ui/fl/initial/_internal/preprocessors/XmlPreprocessor.js +1 -1
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +1 -1
- package/src/sap/ui/fl/initial/api/InitialFlexAPI.js +1 -1
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +1 -1
- package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
- package/src/sap/ui/fl/library.js +46 -43
- package/src/sap/ui/fl/library.support.js +1 -1
- package/src/sap/ui/fl/messagebundle.properties +0 -21
- package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +0 -14
- package/src/sap/ui/fl/support/_internal/getAllUIChanges.js +7 -13
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +7 -13
- package/src/sap/ui/fl/support/_internal/getFlexObjectInfos.js +7 -13
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +7 -12
- package/src/sap/ui/fl/support/api/SupportAPI.js +72 -21
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +5 -5
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +5 -5
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +3 -3
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +2 -2
- 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 +29 -0
- package/src/sap/ui/fl/support/diagnostics/Flexibility.view.xml +29 -0
- package/src/sap/ui/fl/support/diagnostics/FlexibilityDataExtractor.js +110 -0
- package/src/sap/ui/fl/support/diagnostics/FlexibilityPlugin.js +153 -0
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/DescriptorChangeCheck.js +53 -13
- package/src/sap/ui/fl/util/IFrame.js +26 -65
- package/src/sap/ui/fl/util/IFrameRenderer.js +15 -9
- package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -2
- package/src/sap/ui/fl/variants/VariantManagement.js +18 -7
- package/src/sap/ui/fl/variants/VariantManager.js +132 -59
- package/src/sap/ui/fl/variants/VariantModel.js +57 -155
- package/src/sap/ui/fl/variants/context/Component.js +1 -1
- package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +4 -4
- package/src/sap/ui/fl/write/_internal/SaveAs.js +5 -3
- package/src/sap/ui/fl/write/_internal/Storage.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +1 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +1 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +1 -1
- 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/BtpServiceConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +4 -4
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +11 -11
- 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 +2 -2
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -2
- 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/flexState/FlexObjectManager.js +11 -10
- package/src/sap/ui/fl/write/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/changes/UIChangeManager.js +2 -2
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantManager.js +2 -2
- package/src/sap/ui/fl/write/_internal/init.js +1 -1
- package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +6 -6
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +2 -2
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +5 -5
- package/src/sap/ui/fl/write/api/BusinessNetworkAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +4 -4
- package/src/sap/ui/fl/write/api/ContextSharingAPI.js +3 -3
- package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +8 -8
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +1 -1
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +8 -27
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +6 -6
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +1 -1
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +72 -30
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/InlineApplier.js +0 -47
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +0 -96
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +0 -129
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.fragment.xml +0 -34
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +0 -193
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +0 -246
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.fragment.xml +0 -6
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +0 -40
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.fragment.xml +0 -22
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +0 -85
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.fragment.xml +0 -10
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +0 -60
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +0 -20
package/.eslintrc.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"prefer-template": "error",
|
|
57
57
|
"rest-spread-spacing": ["error", "never"],
|
|
58
58
|
"template-curly-spacing": "error",
|
|
59
|
-
"object-shorthand": ["error", "always", { "ignoreConstructors":
|
|
59
|
+
"object-shorthand": ["error", "always", { "ignoreConstructors": true, "avoidQuotes": true, "methodsIgnorePattern": "^constructor$" }],
|
|
60
60
|
"prefer-destructuring": ["error", {
|
|
61
61
|
"VariableDeclarator": {
|
|
62
62
|
"array": false,
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"prefer-rest-params": "error",
|
|
74
74
|
"prefer-spread": "error",
|
|
75
75
|
"logical-assignment-operators":["error", "always", { "enforceForIfStatements": true } ],
|
|
76
|
-
"require-await": "error"
|
|
76
|
+
"require-await": "error",
|
|
77
|
+
"object-curly-spacing": ["error", "always"]
|
|
77
78
|
}
|
|
78
79
|
}
|
package/README.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
Runtime resources of the [OpenUI5](https://github.com/UI5/openui5) UI Library **sap.ui.fl**.
|
|
5
5
|
|
|
6
6
|
## Usage
|
|
7
|
-
Add this library as a dependency to your UI5 project by using [UI5
|
|
7
|
+
Add this library as a dependency to your UI5 project by using [UI5 CLI](https://ui5.github.io/cli/):
|
|
8
8
|
|
|
9
9
|
```
|
|
10
10
|
ui5 add sap.ui.fl
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://
|
|
13
|
+
For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://ui5.github.io/cli/pages/OpenUI5/).
|
|
14
14
|
|
|
15
15
|
## License
|
|
16
16
|
OpenUI5 is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), see [LICENSE.txt](LICENSE.txt).
|
package/REUSE.toml
CHANGED
|
@@ -21,6 +21,44 @@ SPDX-License-Identifier = "Apache-2.0"
|
|
|
21
21
|
#
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
# Library: sap.f:
|
|
25
|
+
|
|
26
|
+
[[annotations]]
|
|
27
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
28
|
+
precedence = "aggregate"
|
|
29
|
+
SPDX-FileCopyrightText = "SAP"
|
|
30
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
31
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components"
|
|
32
|
+
|
|
33
|
+
[[annotations]]
|
|
34
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
35
|
+
precedence = "aggregate"
|
|
36
|
+
SPDX-FileCopyrightText = "SAP"
|
|
37
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
38
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Fiori"
|
|
39
|
+
|
|
40
|
+
[[annotations]]
|
|
41
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
42
|
+
precedence = "aggregate"
|
|
43
|
+
SPDX-FileCopyrightText = "SAP"
|
|
44
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
45
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons"
|
|
46
|
+
|
|
47
|
+
[[annotations]]
|
|
48
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
49
|
+
precedence = "aggregate"
|
|
50
|
+
SPDX-FileCopyrightText = "SAP"
|
|
51
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
52
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons Business Suite"
|
|
53
|
+
|
|
54
|
+
[[annotations]]
|
|
55
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
56
|
+
precedence = "aggregate"
|
|
57
|
+
SPDX-FileCopyrightText = "SAP"
|
|
58
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
59
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons TNT"
|
|
60
|
+
|
|
61
|
+
|
|
24
62
|
# Library: sap.m:
|
|
25
63
|
|
|
26
64
|
[[annotations]]
|
|
@@ -347,7 +385,7 @@ SPDX-FileComment = "these files belong to: handlebars"
|
|
|
347
385
|
[[annotations]]
|
|
348
386
|
path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
|
|
349
387
|
precedence = "aggregate"
|
|
350
|
-
SPDX-FileCopyrightText = "2010-
|
|
388
|
+
SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
|
|
351
389
|
SPDX-License-Identifier = "MIT"
|
|
352
390
|
SPDX-FileComment = "these files belong to: requireJS"
|
|
353
391
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -4,6 +4,39 @@ each subcomponent.
|
|
|
4
4
|
The full text of all referenced licenses is appended at the end of this file.
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
Library: sap.f:
|
|
8
|
+
|
|
9
|
+
Component: UI5 Web Components, version: 2.15.0
|
|
10
|
+
Copyright: SAP
|
|
11
|
+
License: Apache-2.0
|
|
12
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
14
|
+
|
|
15
|
+
Component: UI5 Web Components Fiori, version: 2.15.0
|
|
16
|
+
Copyright: SAP
|
|
17
|
+
License: Apache-2.0
|
|
18
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
19
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
20
|
+
|
|
21
|
+
Component: UI5 Web Components Icons, version: 2.15.0
|
|
22
|
+
Copyright: SAP
|
|
23
|
+
License: Apache-2.0
|
|
24
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
25
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
26
|
+
|
|
27
|
+
Component: UI5 Web Components Icons Business Suite, version: 2.15.0
|
|
28
|
+
Copyright: SAP
|
|
29
|
+
License: Apache-2.0
|
|
30
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
31
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
32
|
+
|
|
33
|
+
Component: UI5 Web Components Icons TNT, version: 2.15.0
|
|
34
|
+
Copyright: SAP
|
|
35
|
+
License: Apache-2.0
|
|
36
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
37
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
38
|
+
|
|
39
|
+
|
|
7
40
|
Library: sap.m:
|
|
8
41
|
|
|
9
42
|
Component: purify.js, version: 3.2.4
|
|
@@ -221,8 +254,8 @@ License: MIT
|
|
|
221
254
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
222
255
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
|
|
223
256
|
|
|
224
|
-
Component: requireJS, version: 2.
|
|
225
|
-
Copyright: 2010-
|
|
257
|
+
Component: requireJS, version: 2.3.7
|
|
258
|
+
Copyright: 2010-2024, jQuery Foundation and other contributors
|
|
226
259
|
License: MIT
|
|
227
260
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
228
261
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
|
|
@@ -354,7 +387,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
|
|
|
354
387
|
|
|
355
388
|
Library: sap.ui.integration:
|
|
356
389
|
|
|
357
|
-
Component: UI5 Web Components, version:
|
|
390
|
+
Component: UI5 Web Components, version: 2.15.0
|
|
358
391
|
Copyright: SAP
|
|
359
392
|
License: Apache-2.0
|
|
360
393
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.fl",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.143.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.fl",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "https://github.com/UI5/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.m": "1.143.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.143.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/src/sap/ui/fl/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.143.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with sap.ui.fl controls.</documentation>
|
|
12
12
|
|
|
@@ -47,9 +47,9 @@ sap.ui.define([
|
|
|
47
47
|
var aConnectorConfig = [];
|
|
48
48
|
if (sInitialComponentJsonPath) {
|
|
49
49
|
ObjectPathConnector.setJsonPath(sInitialComponentJsonPath);
|
|
50
|
-
aConnectorConfig.push({connector: "ObjectPathConnector"});
|
|
50
|
+
aConnectorConfig.push({ connector: "ObjectPathConnector" });
|
|
51
51
|
}
|
|
52
|
-
aConnectorConfig.push({connector: sStorageConnectorName});
|
|
52
|
+
aConnectorConfig.push({ connector: sStorageConnectorName });
|
|
53
53
|
FlexConfiguration.setFlexibilityServices(aConnectorConfig);
|
|
54
54
|
FlexState.clearState();
|
|
55
55
|
};
|
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
|
|
71
71
|
FakeLrepConnector.forTesting = {
|
|
72
72
|
getNumberOfChanges(oConnector, sReference) {
|
|
73
|
-
return oConnector.loadFlexData({reference: sReference})
|
|
73
|
+
return oConnector.loadFlexData({ reference: sReference })
|
|
74
74
|
.then(function(aResponses) {
|
|
75
75
|
return aResponses.reduce(function(iNumberOfChanges, oResponse) {
|
|
76
76
|
return iNumberOfChanges + oResponse.changes.length;
|
package/src/sap/ui/fl/Utils.js
CHANGED
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* @namespace
|
|
68
68
|
* @alias sap.ui.fl.Utils
|
|
69
69
|
* @author SAP SE
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.143.0
|
|
71
71
|
*
|
|
72
72
|
* @private
|
|
73
73
|
* @ui5-restricted sap.ui.fl, sap.ui.rta
|
|
@@ -535,7 +535,6 @@ sap.ui.define([
|
|
|
535
535
|
* @private
|
|
536
536
|
* @ui5-restricted
|
|
537
537
|
*/
|
|
538
|
-
// eslint-disable-next-line object-shorthand
|
|
539
538
|
FakePromise: function(vInitialValue, vError, sInitialPromiseIdentifier) {
|
|
540
539
|
Utils.FakePromise.fakePromiseIdentifier = "sap.ui.fl.Utils.FakePromise";
|
|
541
540
|
this.vValue = vInitialValue;
|
|
@@ -138,14 +138,14 @@ sap.ui.define([
|
|
|
138
138
|
// as it's only relevant for viewCache at the moment
|
|
139
139
|
await FlexCustomData.addAppliedCustomData(mControl.control, oChange, mPropertyBag, isXmlModifier(mPropertyBag));
|
|
140
140
|
// if a change was reverted previously remove the flag as it is not reverted anymore
|
|
141
|
-
const oResult = {success: true};
|
|
141
|
+
const oResult = { success: true };
|
|
142
142
|
oChange.markSuccessful(oResult);
|
|
143
143
|
return oResult;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
async function handleAfterApplyError(oError, oChange, mControl, mPropertyBag) {
|
|
147
147
|
const bXmlModifier = isXmlModifier(mPropertyBag);
|
|
148
|
-
const oResult = {success: false, error: oError};
|
|
148
|
+
const oResult = { success: false, error: oError };
|
|
149
149
|
|
|
150
150
|
const sChangeId = oChange.getId();
|
|
151
151
|
const sLogMessage = "Change ''{0}'' could not be applied.";
|
|
@@ -316,12 +316,18 @@ sap.ui.define([
|
|
|
316
316
|
Applier.applyChangeOnControl = async function(oChange, oControl, mPropertyBag) {
|
|
317
317
|
const mControl = Utils.getControlIfTemplateAffected(oChange, oControl, mPropertyBag);
|
|
318
318
|
try {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
319
|
+
let oChangeHandler;
|
|
320
|
+
try {
|
|
321
|
+
oChangeHandler = mPropertyBag.changeHandler || await Utils.getChangeHandler({
|
|
322
|
+
flexObject: oChange,
|
|
323
|
+
control: mControl.control,
|
|
324
|
+
controlType: mControl.controlType,
|
|
325
|
+
modifier: mPropertyBag.modifier
|
|
326
|
+
});
|
|
327
|
+
} catch (oError) {
|
|
328
|
+
// important this resolves 'waitForChanges' in error case
|
|
329
|
+
return handleAfterApplyError(oError, oChange, mControl, mPropertyBag);
|
|
330
|
+
}
|
|
325
331
|
checkPreconditions(oChange, mPropertyBag);
|
|
326
332
|
|
|
327
333
|
if (oChange.hasApplyProcessStarted()) {
|
|
@@ -341,7 +347,7 @@ sap.ui.define([
|
|
|
341
347
|
}
|
|
342
348
|
|
|
343
349
|
// make sure that everything that goes with finishing the apply process is done, even though the change was already applied
|
|
344
|
-
const oResult = {success: true};
|
|
350
|
+
const oResult = { success: true };
|
|
345
351
|
oChange.markSuccessful(oResult);
|
|
346
352
|
return oResult;
|
|
347
353
|
} catch (oError) {
|
|
@@ -376,7 +382,7 @@ sap.ui.define([
|
|
|
376
382
|
try {
|
|
377
383
|
oResult = await Applier.applyChangeOnControl(oChange, oControl, mPropertyBag);
|
|
378
384
|
} catch (oError) {
|
|
379
|
-
oResult = {success: false};
|
|
385
|
+
oResult = { success: false };
|
|
380
386
|
}
|
|
381
387
|
if (oResult.success && !mPropertyBag.skipSetQueued) {
|
|
382
388
|
DependencyHandler.addRuntimeChangeToMap(oChange, mPropertyBag.appComponent, oLiveDependencyMap);
|
|
@@ -6,11 +6,19 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
"sap/
|
|
10
|
-
"sap/ui/fl/apply/_internal/changes/
|
|
9
|
+
"sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory",
|
|
10
|
+
"sap/ui/fl/apply/_internal/changes/descriptor/RawApplier",
|
|
11
|
+
"sap/ui/fl/apply/_internal/changes/Utils",
|
|
12
|
+
"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory",
|
|
13
|
+
"sap/ui/fl/apply/_internal/flexState/FlexState",
|
|
14
|
+
"sap/ui/fl/initial/_internal/ManifestUtils"
|
|
11
15
|
], function(
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
ApplyStrategyFactory,
|
|
17
|
+
RawApplier,
|
|
18
|
+
Utils,
|
|
19
|
+
FlexObjectFactory,
|
|
20
|
+
FlexState,
|
|
21
|
+
ManifestUtils
|
|
14
22
|
) {
|
|
15
23
|
"use strict";
|
|
16
24
|
|
|
@@ -19,33 +27,34 @@ sap.ui.define([
|
|
|
19
27
|
* Applies all descriptor changes to raw manifest.
|
|
20
28
|
*
|
|
21
29
|
* @param {object} oUpdatedManifest - Raw manifest provided by sap.ui.core.Component
|
|
22
|
-
* @param {Array<sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange>}
|
|
23
|
-
* @param {object} mStrategy - Strategy for runtime or for buildtime merging
|
|
24
|
-
* @param {object} mStrategy.registry - Change handler registry
|
|
25
|
-
* @param {function} mStrategy.handleError - Error handling strategy
|
|
26
|
-
* @param {function} mStrategy.processTexts - Text postprocessing strategy
|
|
30
|
+
* @param {Array<sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange>} [aPassedAppDescriptorChanges] - Array of descriptor changes
|
|
31
|
+
* @param {object} [mStrategy] - Strategy for runtime or for buildtime merging
|
|
32
|
+
* @param {object} [mStrategy.registry] - Change handler registry
|
|
33
|
+
* @param {function} [mStrategy.handleError] - Error handling strategy
|
|
34
|
+
* @param {function} [mStrategy.processTexts] - Text postprocessing strategy
|
|
27
35
|
* @returns {Promise<object>} - Processed manifest with descriptor changes
|
|
28
36
|
*/
|
|
29
|
-
async applyChanges(oUpdatedManifest,
|
|
37
|
+
async applyChanges(oUpdatedManifest, aPassedAppDescriptorChanges, mStrategy) {
|
|
38
|
+
const sReference = ManifestUtils.getFlexReference({
|
|
39
|
+
manifest: oUpdatedManifest
|
|
40
|
+
});
|
|
41
|
+
const aAppDescriptorChanges = aPassedAppDescriptorChanges || FlexState.getAppDescriptorChanges(sReference);
|
|
42
|
+
const oStrategy = mStrategy || ApplyStrategyFactory.getRuntimeStrategy();
|
|
30
43
|
const aChangeHandlers = [];
|
|
31
44
|
for (const oAppDescriptorChange of aAppDescriptorChanges) {
|
|
32
45
|
aChangeHandlers.push(await Utils.getChangeHandler({
|
|
33
46
|
flexObject: oAppDescriptorChange,
|
|
34
|
-
strategy:
|
|
47
|
+
strategy: oStrategy
|
|
35
48
|
}));
|
|
36
49
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
} catch (oError) {
|
|
45
|
-
mStrategy.handleError(oError);
|
|
46
|
-
}
|
|
50
|
+
return RawApplier.applyChanges(aChangeHandlers, oUpdatedManifest, aAppDescriptorChanges, oStrategy);
|
|
51
|
+
},
|
|
52
|
+
|
|
53
|
+
applyInlineChanges(oManifest, aAppDescriptorChangesRaw) {
|
|
54
|
+
const aAppDescriptorChanges = aAppDescriptorChangesRaw.map(function(oChange) {
|
|
55
|
+
return FlexObjectFactory.createAppDescriptorChange(oChange);
|
|
47
56
|
});
|
|
48
|
-
return
|
|
57
|
+
return Applier.applyChanges(oManifest, aAppDescriptorChanges);
|
|
49
58
|
}
|
|
50
59
|
};
|
|
51
60
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2025 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/base/util/isEmptyObject"
|
|
9
|
+
], function(
|
|
10
|
+
isEmptyObject
|
|
11
|
+
) {
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
const RawApplier = {
|
|
15
|
+
/**
|
|
16
|
+
* Applies all app descriptor changes to the provided raw manifest without validating the input parameters.
|
|
17
|
+
* Assumes that the change handlers and changes are already available and correct. Intended to be used
|
|
18
|
+
* internally but also inside adaptation builder avoiding unnecessary module dependencies.
|
|
19
|
+
*
|
|
20
|
+
* @param {Array<object>} aChangeHandlers - Array of change handler objects, each responsible for applying a change
|
|
21
|
+
* @param {object} oUpdatedManifest - The raw manifest object to which changes will be applied
|
|
22
|
+
* @param {Array<sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange>} aAppDescriptorChanges - Array of app descriptor change objects to apply
|
|
23
|
+
* @param {object} oStrategy - Strategy object containing helper functions for error handling and text processing
|
|
24
|
+
* @param {function} oStrategy.handleError - Function to handle errors during change application
|
|
25
|
+
* @param {function} oStrategy.processTexts - Function to process and merge texts after applying a change
|
|
26
|
+
* @returns {object} The manifest object after all changes have been applied
|
|
27
|
+
*
|
|
28
|
+
* @private
|
|
29
|
+
* @ui5-restricted sap.ui.fl UI5-Adaptation-builder
|
|
30
|
+
*/
|
|
31
|
+
applyChanges(aChangeHandlers, oUpdatedManifest, aAppDescriptorChanges, oStrategy) {
|
|
32
|
+
aChangeHandlers.forEach(function(oChangeHandler, iIndex) {
|
|
33
|
+
try {
|
|
34
|
+
const oChange = aAppDescriptorChanges[iIndex];
|
|
35
|
+
oUpdatedManifest = oChangeHandler.applyChange(oUpdatedManifest, oChange);
|
|
36
|
+
if (!oChangeHandler.skipPostprocessing && !isEmptyObject(oChange.getTexts())) {
|
|
37
|
+
oUpdatedManifest = oStrategy.processTexts(oUpdatedManifest, oChange.getTexts());
|
|
38
|
+
}
|
|
39
|
+
} catch (oError) {
|
|
40
|
+
oStrategy.handleError(oError);
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
return oUpdatedManifest;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
return RawApplier;
|
|
48
|
+
});
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
*
|
|
21
21
|
* @namespace sap.ui.fl.apply._internal.changes.descriptor.RegistrationBuild
|
|
22
22
|
* @since 1.77
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.143.0
|
|
24
24
|
* @private
|
|
25
25
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
26
26
|
*/
|
|
@@ -39,6 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
appdescr_app_changeOutbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeOutbound"),
|
|
40
40
|
appdescr_app_addNewInbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound"),
|
|
41
41
|
appdescr_app_addNewOutbound: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound"),
|
|
42
|
+
appdescr_app_setInbounds: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/SetInbounds"),
|
|
42
43
|
appdescr_app_addNewDataSource: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource"),
|
|
43
44
|
appdescr_app_setAch: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/SetAch"),
|
|
44
45
|
appdescr_app_addTechnicalAttributes: requireAsync.bind(this, "sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes"),
|
|
@@ -111,7 +111,7 @@ sap.ui.define([
|
|
|
111
111
|
* @namespace
|
|
112
112
|
* @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddNewDataSource
|
|
113
113
|
* @since 1.87
|
|
114
|
-
* @version 1.
|
|
114
|
+
* @version 1.143.0
|
|
115
115
|
* @private
|
|
116
116
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
117
117
|
*/
|
|
@@ -133,7 +133,15 @@ sap.ui.define([
|
|
|
133
133
|
oManifest["sap.app"].dataSources ||= {};
|
|
134
134
|
const oChangeContent = oChange.getContent();
|
|
135
135
|
|
|
136
|
-
const aDataSources = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent,
|
|
136
|
+
const aDataSources = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, {
|
|
137
|
+
sKey: "dataSource",
|
|
138
|
+
sChangeType: oChange.getChangeType(),
|
|
139
|
+
iMaxNumberOfKeys: 2,
|
|
140
|
+
aMandatoryProperties: MANDATORY_PROPERTIES,
|
|
141
|
+
aSupportedProperties: SUPPORTED_PROPERTIES,
|
|
142
|
+
oSupportedPropertyPattern: PROPERTIES_PATTERNS,
|
|
143
|
+
oSupportedPropertyTypes: SUPPORTED_TYPES
|
|
144
|
+
});
|
|
137
145
|
|
|
138
146
|
aDataSources.forEach(function(sDataSource) {
|
|
139
147
|
DescriptorChangeCheck.checkIdNamespaceCompliance(sDataSource, oChange);
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
*
|
|
29
29
|
* @namespace
|
|
30
30
|
* @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddNewInbound
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.143.0
|
|
32
32
|
* @private
|
|
33
33
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
34
34
|
*/
|
|
@@ -51,7 +51,14 @@ sap.ui.define([
|
|
|
51
51
|
oManifest["sap.app"].crossNavigation.inbounds ||= {};
|
|
52
52
|
|
|
53
53
|
const oChangeContent = oChange.getContent();
|
|
54
|
-
const sInboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent,
|
|
54
|
+
const sInboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, {
|
|
55
|
+
sKey: "inbound",
|
|
56
|
+
sChangeType: oChange.getChangeType(),
|
|
57
|
+
iMaxNumberOfKeys: 1,
|
|
58
|
+
aMandatoryProperties: MANDATORY_PROPERTIES,
|
|
59
|
+
aSupportedProperties: SUPPORTED_PROPERTIES,
|
|
60
|
+
oSupportedPropertyPattern: PROPERTIES_PATTERNS
|
|
61
|
+
});
|
|
55
62
|
const oInboundInManifest = oManifest["sap.app"].crossNavigation.inbounds[sInboundId];
|
|
56
63
|
if (!oInboundInManifest) {
|
|
57
64
|
DescriptorChangeCheck.checkIdNamespaceCompliance(sInboundId, oChange);
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
*
|
|
29
29
|
* @namespace
|
|
30
30
|
* @alias sap.ui.fl.apply._internal.changes.descriptor.app.AddNewOutbound
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.143.0
|
|
32
32
|
* @private
|
|
33
33
|
* @ui5-restricted sap.ui.fl.apply._internal
|
|
34
34
|
*/
|
|
@@ -51,7 +51,14 @@ sap.ui.define([
|
|
|
51
51
|
oManifest["sap.app"].crossNavigation.outbounds ||= {};
|
|
52
52
|
|
|
53
53
|
const oChangeContent = oChange.getContent();
|
|
54
|
-
const sOutboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent,
|
|
54
|
+
const sOutboundId = DescriptorChangeCheck.getAndCheckContentObject(oChangeContent, {
|
|
55
|
+
sKey: "outbound",
|
|
56
|
+
sChangeType: oChange.getChangeType(),
|
|
57
|
+
iMaxNumberOfKeys: 1,
|
|
58
|
+
aMandatoryProperties: MANDATORY_PROPERTIES,
|
|
59
|
+
aSupportedProperties: SUPPORTED_PROPERTIES,
|
|
60
|
+
oSupportedPropertyPattern: PROPERTIES_PATTERNS
|
|
61
|
+
});
|
|
55
62
|
const oOutboundInManifest = oManifest["sap.app"].crossNavigation.outbounds[sOutboundId];
|
|
56
63
|
if (!oOutboundInManifest) {
|
|
57
64
|
DescriptorChangeCheck.checkIdNamespaceCompliance(sOutboundId, oChange);
|