@openui5/sap.ui.fl 1.109.0 → 1.110.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +16 -16
- package/THIRDPARTY.txt +2 -2
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +2 -2
- package/src/sap/ui/fl/Cache.js +16 -3
- package/src/sap/ui/fl/ChangePersistence.js +10 -39
- package/src/sap/ui/fl/ChangePersistenceFactory.js +2 -2
- package/src/sap/ui/fl/FakeLrepConnector.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +2 -2
- package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +2 -2
- package/src/sap/ui/fl/FakeLrepLocalStorage.js +2 -2
- package/src/sap/ui/fl/FlexController.js +2 -2
- package/src/sap/ui/fl/FlexControllerFactory.js +3 -3
- package/src/sap/ui/fl/Layer.js +2 -2
- package/src/sap/ui/fl/LayerUtils.js +2 -2
- package/src/sap/ui/fl/Scenario.js +1 -1
- package/src/sap/ui/fl/Utils.js +4 -25
- package/src/sap/ui/fl/apply/_internal/ChangesController.js +1 -1
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +5 -5
- package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +33 -81
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +42 -171
- package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +8 -14
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +8 -13
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +2 -2
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +2 -2
- package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +1 -1
- package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +5 -7
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +9 -3
- package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +2 -3
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/DataSelector.js +235 -0
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +157 -33
- package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +72 -0
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +28 -3
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +8 -8
- package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +2 -2
- package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +2 -2
- package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +2 -2
- package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +2 -2
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +3 -3
- package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +1 -1
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +1 -1
- package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +1 -1
- package/src/sap/ui/fl/changeHandler/AddIFrame.js +2 -2
- package/src/sap/ui/fl/changeHandler/AddXML.js +2 -2
- package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/fl/changeHandler/Base.js +2 -2
- package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +2 -2
- package/src/sap/ui/fl/changeHandler/BaseAddXml.js +2 -2
- package/src/sap/ui/fl/changeHandler/BaseRename.js +2 -2
- package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
- package/src/sap/ui/fl/changeHandler/HideControl.js +3 -3
- package/src/sap/ui/fl/changeHandler/MoveControls.js +2 -2
- package/src/sap/ui/fl/changeHandler/MoveElements.js +2 -2
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +2 -2
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +2 -2
- package/src/sap/ui/fl/changeHandler/StashControl.js +3 -3
- package/src/sap/ui/fl/changeHandler/UnhideControl.js +2 -2
- package/src/sap/ui/fl/changeHandler/UnstashControl.js +2 -2
- package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +2 -2
- package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +1 -1
- package/src/sap/ui/fl/changeHandler/common/createIFrame.js +1 -1
- package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +1 -1
- package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +1 -1
- package/src/sap/ui/fl/changeHandler/condenser/Classification.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +5 -5
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +4 -4
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +2 -2
- package/src/sap/ui/fl/descriptorRelated/internal/Utils.js +1 -1
- package/src/sap/ui/fl/designtime/library.designtime.js +1 -1
- package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +1 -1
- package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +1 -1
- package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
- package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +1 -1
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +4 -2
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +2 -2
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +2 -2
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +1 -2
- package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +4 -4
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +2 -2
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +4 -4
- package/src/sap/ui/fl/interfaces/Delegate.js +2 -2
- package/src/sap/ui/fl/library.js +47 -48
- package/src/sap/ui/fl/library.support.js +1 -1
- package/src/sap/ui/fl/messagebundle_bg.properties +2 -2
- package/src/sap/ui/fl/messagebundle_it.properties +1 -1
- package/src/sap/ui/fl/registry/Settings.js +3 -13
- package/src/sap/ui/fl/requireAsync.js +1 -1
- package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +5 -3
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +2 -2
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +2 -2
- package/src/sap/ui/fl/support/api/SupportAPI.js +2 -2
- package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +2 -2
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +2 -2
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +2 -2
- 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 +2 -2
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +8 -8
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +5 -5
- package/src/sap/ui/fl/themes/base/library.source.less +1 -1
- package/src/sap/ui/fl/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/fl/transport/TransportDialog.js +1 -1
- package/src/sap/ui/fl/transport/TransportSelection.js +2 -2
- package/src/sap/ui/fl/util/DescriptorChangeCheck.js +1 -1
- package/src/sap/ui/fl/util/IFrame.flexibility.js +1 -1
- package/src/sap/ui/fl/util/IFrame.js +2 -2
- package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
- package/src/sap/ui/fl/util/ManagedObjectModel.js +2 -2
- package/src/sap/ui/fl/util/changePropertyValueByPath.js +1 -1
- package/src/sap/ui/fl/util/getContainerUserInfo.js +1 -1
- package/src/sap/ui/fl/util/resolveBinding.js +2 -2
- package/src/sap/ui/fl/variants/VariantManagement.js +32 -3
- package/src/sap/ui/fl/variants/VariantModel.js +2 -2
- package/src/sap/ui/fl/variants/context/Component.js +1 -1
- package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +1 -2
- package/src/sap/ui/fl/write/_internal/FlexInfoSession.js +1 -1
- package/src/sap/ui/fl/write/_internal/SaveAs.js +1 -1
- package/src/sap/ui/fl/write/_internal/Storage.js +11 -2
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +3 -5
- package/src/sap/ui/fl/write/_internal/Versions.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +4 -4
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +2 -2
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +2 -2
- package/src/sap/ui/fl/write/_internal/condenser/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Update.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +21 -5
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +8 -2
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +5 -2
- package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
- package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +2 -2
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +2 -2
- package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +1 -1
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +2 -2
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -2
- package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +81 -15
- package/src/sap/ui/fl/write/api/ContextSharingAPI.js +3 -3
- package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +1 -1
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +1 -1
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +2 -2
- package/src/sap/ui/fl/write/api/LocalResetAPI.js +1 -1
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +1 -1
- package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/TranslationAPI.js +1 -1
- package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/Version.js +1 -1
- package/src/sap/ui/fl/write/api/VersionsAPI.js +1 -1
- package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +2 -2
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/connectors/BaseConnector.js +7 -1
- package/src/sap/ui/fl/changeHandler/JsControlTreeModifier.js +0 -17
- package/src/sap/ui/fl/changeHandler/XmlTreeModifier.js +0 -17
package/.reuse/dep5
CHANGED
|
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
|
|
|
28
28
|
# OpenUI5 code
|
|
29
29
|
|
|
30
30
|
Files: *
|
|
31
|
-
Copyright: 2009-
|
|
31
|
+
Copyright: 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
32
32
|
License: Apache-2.0
|
|
33
33
|
|
|
34
34
|
|
|
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
|
|
|
68
68
|
|
|
69
69
|
Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
|
|
70
70
|
Copyright:
|
|
71
|
-
2009-
|
|
71
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
72
72
|
Spencer Tipping
|
|
73
73
|
License: Apache-2.0 and MIT
|
|
74
74
|
Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
|
|
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
|
|
|
83
83
|
|
|
84
84
|
Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
|
|
85
85
|
Copyright:
|
|
86
|
-
2009-
|
|
86
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
87
87
|
OpenJS Foundation and other contributors
|
|
88
88
|
License: Apache-2.0 and MIT
|
|
89
89
|
Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
|
|
90
90
|
|
|
91
91
|
Files: src/sap.ui.core/src/sap/base/util/_merge.js
|
|
92
92
|
Copyright:
|
|
93
|
-
2009-
|
|
93
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
94
94
|
OpenJS Foundation and other contributors
|
|
95
95
|
License: Apache-2.0 and MIT
|
|
96
96
|
Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
97
97
|
|
|
98
98
|
Files: src/sap.ui.core/src/jquery.sap.script.js
|
|
99
99
|
Copyright:
|
|
100
|
-
2009-
|
|
100
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
101
101
|
OpenJS Foundation and other contributors
|
|
102
102
|
License: Apache-2.0 and MIT
|
|
103
103
|
Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
104
104
|
|
|
105
105
|
Files: src/sap.ui.core/src/sap/ui/Device.js
|
|
106
106
|
Copyright:
|
|
107
|
-
2009-
|
|
107
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
108
108
|
2011, John Resig
|
|
109
109
|
License: Apache-2.0 and MIT
|
|
110
110
|
Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
|
|
111
111
|
|
|
112
112
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
|
|
113
113
|
Copyright:
|
|
114
|
-
2009-
|
|
114
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
115
115
|
2014 jQuery Foundation and other contributors
|
|
116
116
|
License: Apache-2.0 and MIT
|
|
117
117
|
Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
|
|
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
|
|
|
123
123
|
|
|
124
124
|
Files: src/sap.ui.core/src/jquery.sap.dom.js
|
|
125
125
|
Copyright:
|
|
126
|
-
2009-
|
|
126
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
127
127
|
2014 jQuery Foundation and other contributors
|
|
128
128
|
License: Apache-2.0 and MIT
|
|
129
129
|
Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
|
|
130
130
|
|
|
131
131
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
|
|
132
132
|
Copyright:
|
|
133
|
-
2009-
|
|
133
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
134
134
|
2014 jQuery Foundation and other contributors
|
|
135
135
|
License: Apache-2.0 and MIT
|
|
136
136
|
Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
|
|
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
|
|
|
162
162
|
|
|
163
163
|
Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
|
|
164
164
|
Copyright:
|
|
165
|
-
2009-
|
|
165
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
166
166
|
2012 Wei-Ko Kao
|
|
167
167
|
License: Apache-2.0 and MIT
|
|
168
168
|
Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
|
|
@@ -299,14 +299,14 @@ Comment: these files belong to: blanket.js
|
|
|
299
299
|
|
|
300
300
|
Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
|
|
301
301
|
Copyright:
|
|
302
|
-
2009-
|
|
302
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
303
303
|
Douglas Crockford
|
|
304
304
|
License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
|
|
305
305
|
Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
|
|
306
306
|
|
|
307
307
|
Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
|
|
308
308
|
Copyright:
|
|
309
|
-
2009-
|
|
309
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
310
310
|
2010 Douglas Crockford
|
|
311
311
|
License: Apache-2.0
|
|
312
312
|
Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
|
|
@@ -340,7 +340,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
|
|
|
340
340
|
|
|
341
341
|
Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
|
|
342
342
|
Copyright:
|
|
343
|
-
2009-
|
|
343
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
344
344
|
Behrang Norouzinia
|
|
345
345
|
License: Apache-2.0 and MIT
|
|
346
346
|
Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
|
|
@@ -352,14 +352,14 @@ Comment: these files belong to: vkBeautify
|
|
|
352
352
|
|
|
353
353
|
Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
354
354
|
Copyright:
|
|
355
|
-
2009-
|
|
355
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
356
356
|
Isaac Z. Schlueter and Contributors
|
|
357
357
|
License: Apache-2.0 and ISC
|
|
358
358
|
Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
|
|
359
359
|
|
|
360
360
|
Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
361
361
|
Copyright:
|
|
362
|
-
2009-
|
|
362
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
363
363
|
Arthur David Olson, Paul Eggert and other contributors
|
|
364
364
|
License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
|
|
365
365
|
Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
|
|
@@ -469,7 +469,7 @@ Comment: these files belong to: LESS
|
|
|
469
469
|
|
|
470
470
|
Files: lib/jsdoc/ui5/plugin.js
|
|
471
471
|
Copyright:
|
|
472
|
-
2009-
|
|
472
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
473
473
|
2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
474
474
|
License: Apache-2.0
|
|
475
475
|
Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
|
package/THIRDPARTY.txt
CHANGED
|
@@ -185,7 +185,7 @@ License: Apache-2.0
|
|
|
185
185
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
186
186
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
187
187
|
|
|
188
|
-
Component: Unicode Common Locale Data Repository, version:
|
|
188
|
+
Component: Unicode Common Locale Data Repository, version: 41
|
|
189
189
|
Copyright: 1991-2014 Unicode, Inc.
|
|
190
190
|
License: Unicode-DFS-2015
|
|
191
191
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
|
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.1.48
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
License Text: https://github.com/SAP/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.110.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/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.m": "1.110.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.110.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/src/sap/ui/fl/.library
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.fl</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright 2009-
|
|
7
|
+
* (c) Copyright 2009-2023 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.110.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with sap.ui.fl controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/fl/Cache.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ function(
|
|
|
24
24
|
* @alias sap.ui.fl.Cache
|
|
25
25
|
* @experimental Since 1.25.0
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.110.0
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @ui5-restricted sap.ui.fl
|
|
@@ -122,7 +122,20 @@ function(
|
|
|
122
122
|
.then(function(sCacheKey) {
|
|
123
123
|
// concat current control variant ids to cachekey if available
|
|
124
124
|
var oVariantModel = oAppComponent.getModel(ControlVariantApplyAPI.getVariantModelName());
|
|
125
|
-
|
|
125
|
+
if (!oVariantModel) {
|
|
126
|
+
return sCacheKey;
|
|
127
|
+
}
|
|
128
|
+
// If there are no changes, the standard variant is created after the variant management control is instantiated
|
|
129
|
+
// When the cache key is calculated before this happens, the standard variant id is unknown
|
|
130
|
+
// To avoid inconsistencies between page load and navigation scenarios, all standard variants are filtered
|
|
131
|
+
var aVariantManagementControlIds = oVariantModel.getVariantManagementControlIds();
|
|
132
|
+
var aCurrentControlVariantIds = oVariantModel.getCurrentControlVariantIds()
|
|
133
|
+
.filter(function(sVariantId) {
|
|
134
|
+
// FIXME: The standard variant flag should be part of the variant instance
|
|
135
|
+
// This can be changed once the variant data selector is ready
|
|
136
|
+
// For now rely on the fact that standard variants have the same name as the vm control
|
|
137
|
+
return !aVariantManagementControlIds.includes(sVariantId);
|
|
138
|
+
});
|
|
126
139
|
return _concatControlVariantIdWithCacheKey(sCacheKey, aCurrentControlVariantIds.join("-"));
|
|
127
140
|
});
|
|
128
141
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
69
|
+
* @version 1.110.0
|
|
70
70
|
* @experimental Since 1.25.0
|
|
71
71
|
* @param {object} mComponent - Component data to initiate <code>ChangePersistence</code> instance
|
|
72
72
|
* @param {string} mComponent.name - Name of the component this instance is responsible for
|
|
@@ -319,7 +319,7 @@ sap.ui.define([
|
|
|
319
319
|
return DependencyHandler.getOpenDependentChangesForControl(this._mChanges, JsControlTreeModifier.getControlIdBySelector(oSelector, oAppComponent), oAppComponent);
|
|
320
320
|
};
|
|
321
321
|
|
|
322
|
-
function
|
|
322
|
+
function getInitialDependencyClone(oChange) {
|
|
323
323
|
var mInitialDependencies = merge({}, this._mChangesInitial.mDependencies);
|
|
324
324
|
return mInitialDependencies[oChange.getId()];
|
|
325
325
|
}
|
|
@@ -356,8 +356,8 @@ sap.ui.define([
|
|
|
356
356
|
* @param {sap.ui.core.Component} oAppComponent Application component instance that is currently loading
|
|
357
357
|
* @returns {object} Returns the mChanges object with the updated dependencies
|
|
358
358
|
*/
|
|
359
|
-
ChangePersistence.prototype.
|
|
360
|
-
var oInitialDependency =
|
|
359
|
+
ChangePersistence.prototype.copyDependenciesFromInitialChangesMap = function(oChange, fnDependencyValidation, oAppComponent) {
|
|
360
|
+
var oInitialDependency = getInitialDependencyClone.call(this, oChange);
|
|
361
361
|
if (oInitialDependency) {
|
|
362
362
|
var aNewValidDependencies = [];
|
|
363
363
|
oInitialDependency.dependencies.forEach(function(sChangeId) {
|
|
@@ -372,39 +372,6 @@ sap.ui.define([
|
|
|
372
372
|
return this._mChanges;
|
|
373
373
|
};
|
|
374
374
|
|
|
375
|
-
/**
|
|
376
|
-
* This function copies the initial dependencies (before any changes got applied and dependencies got deleted) for the given change to the mChanges map
|
|
377
|
-
* Also checks if the dependency is still valid in a callback
|
|
378
|
-
* This function is used in the case that controls got destroyed and recreated
|
|
379
|
-
*
|
|
380
|
-
* @param {sap.ui.fl.apply._internal.flexObjects.FlexObject} oChange The change whose dependencies should be copied
|
|
381
|
-
* @param {function} fnDependencyValidation this function is called to check if the dependency is still valid
|
|
382
|
-
* @param {sap.ui.core.Component} oAppComponent Application component instance that is currently loading
|
|
383
|
-
* @returns {Promise} Resolves the mChanges object with the updated dependencies
|
|
384
|
-
*/
|
|
385
|
-
ChangePersistence.prototype.copyDependenciesFromInitialChangesMap = function(oChange, fnDependencyValidation, oAppComponent) {
|
|
386
|
-
var oInitialDependency = getInitalDependencyClone.call(this, oChange);
|
|
387
|
-
if (oInitialDependency) {
|
|
388
|
-
var aNewValidDependencies = [];
|
|
389
|
-
return oInitialDependency.dependencies.reduce(function (oPreviousPromise, sChangeId) {
|
|
390
|
-
return oPreviousPromise.then(function () {
|
|
391
|
-
return fnDependencyValidation(sChangeId);
|
|
392
|
-
}).then(function (bDependencyIsStillValid) {
|
|
393
|
-
if (bDependencyIsStillValid) {
|
|
394
|
-
this._mChanges.mDependentChangesOnMe[sChangeId] = this._mChanges.mDependentChangesOnMe[sChangeId] || [];
|
|
395
|
-
this._mChanges.mDependentChangesOnMe[sChangeId].push(oChange.getId());
|
|
396
|
-
aNewValidDependencies.push(sChangeId);
|
|
397
|
-
}
|
|
398
|
-
}.bind(this));
|
|
399
|
-
}.bind(this), Promise.resolve())
|
|
400
|
-
.then(function () {
|
|
401
|
-
copyDependencies.call(this, oInitialDependency, aNewValidDependencies, oAppComponent, oChange);
|
|
402
|
-
return this._mChanges;
|
|
403
|
-
}.bind(this));
|
|
404
|
-
}
|
|
405
|
-
return Promise.resolve(this._mChanges);
|
|
406
|
-
};
|
|
407
|
-
|
|
408
375
|
/**
|
|
409
376
|
* Adds a new change into changes map positioned right after the referenced change and updates the change dependencies
|
|
410
377
|
*
|
|
@@ -529,6 +496,7 @@ sap.ui.define([
|
|
|
529
496
|
// don't add the same change twice
|
|
530
497
|
if (this._aDirtyChanges.indexOf(oNewChange) === -1) {
|
|
531
498
|
this._aDirtyChanges.push(oNewChange);
|
|
499
|
+
FlexState.addDirtyFlexObject(this._mComponent.name, oNewChange);
|
|
532
500
|
}
|
|
533
501
|
return oNewChange;
|
|
534
502
|
};
|
|
@@ -873,6 +841,7 @@ sap.ui.define([
|
|
|
873
841
|
return;
|
|
874
842
|
}
|
|
875
843
|
this._aDirtyChanges.splice(nIndexInDirtyChanges, 1);
|
|
844
|
+
FlexState.removeDirtyFlexObject(this._mComponent.name, oChange);
|
|
876
845
|
this._deleteChangeInMap(oChange, bRunTimeCreatedChange);
|
|
877
846
|
return;
|
|
878
847
|
}
|
|
@@ -887,6 +856,7 @@ sap.ui.define([
|
|
|
887
856
|
|
|
888
857
|
if (nIndexInDirtyChanges > -1) {
|
|
889
858
|
this._aDirtyChanges.splice(nIndexInDirtyChanges, 1);
|
|
859
|
+
FlexState.removeDirtyFlexObject(this._mComponent.name, oChange);
|
|
890
860
|
}
|
|
891
861
|
this._deleteChangeInMap(oChange);
|
|
892
862
|
};
|
|
@@ -1005,7 +975,8 @@ sap.ui.define([
|
|
|
1005
975
|
aChangesToBeRemoved.forEach(function (oChange) {
|
|
1006
976
|
var nIndex = aDirtyChanges.indexOf(oChange);
|
|
1007
977
|
aDirtyChanges.splice(nIndex, 1);
|
|
1008
|
-
|
|
978
|
+
FlexState.removeDirtyFlexObject(this._mComponent.name, oChange);
|
|
979
|
+
}.bind(this));
|
|
1009
980
|
|
|
1010
981
|
return Promise.resolve(aChangesToBeRemoved);
|
|
1011
982
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @alias sap.ui.fl.ChangePersistenceFactory
|
|
31
31
|
* @experimental Since 1.27.0
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.110.0
|
|
34
34
|
* @private
|
|
35
35
|
* @ui5-restricted sap.ui.fl
|
|
36
36
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ function(
|
|
|
20
20
|
* @namespace
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.110.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.48
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ function(
|
|
|
20
20
|
* @namespace
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.110.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.58
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @namespace
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.110.0
|
|
21
21
|
*
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.48
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
* @alias sap.ui.fl.FlexController
|
|
89
89
|
* @experimental Since 1.27.0
|
|
90
90
|
* @author SAP SE
|
|
91
|
-
* @version 1.
|
|
91
|
+
* @version 1.110.0
|
|
92
92
|
*/
|
|
93
93
|
var FlexController = function(sComponentName) {
|
|
94
94
|
this._oChangePersistence = undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @alias sap.ui.fl.FlexControllerFactory
|
|
35
35
|
* @experimental Since 1.27.0
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.110.0
|
|
38
38
|
*
|
|
39
39
|
* @private
|
|
40
40
|
* @ui5-restricted sap.ui.fl
|
|
@@ -147,7 +147,7 @@ sap.ui.define([
|
|
|
147
147
|
var sComponentId = oComponent.getId();
|
|
148
148
|
// TODO: remove this line when the maps and filtered response are always up to data
|
|
149
149
|
// Currently with the variants the maps are out of sync when the app gets loaded again without complete reload
|
|
150
|
-
FlexState.
|
|
150
|
+
FlexState.rebuildFilteredResponse(ManifestUtils.getFlexReferenceForControl(oComponent));
|
|
151
151
|
var oReturnPromise = FlexState.initialize({
|
|
152
152
|
componentId: sComponentId,
|
|
153
153
|
asyncHints: vConfig.asyncHints
|
package/src/sap/ui/fl/Layer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ sap.ui.define([], function () {
|
|
|
12
12
|
*
|
|
13
13
|
* @alias sap.ui.fl.Layer
|
|
14
14
|
* @private
|
|
15
|
-
* @ui5-restricted sap.ui.fl, sap.ui.rta, UX Tools,
|
|
15
|
+
* @ui5-restricted sap.ui.fl, sap.ui.rta, UX Tools, SAP Web IDE (Visual Editor)
|
|
16
16
|
* @enum {string}
|
|
17
17
|
*/
|
|
18
18
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
*
|
|
42
42
|
* @namespace sap.ui.fl.LayerUtils
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.110.0
|
|
45
45
|
*/
|
|
46
46
|
var LayerUtils = {
|
|
47
47
|
_mLayersIndex: mLayersIndex,
|
package/src/sap/ui/fl/Utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.110.0
|
|
71
71
|
*
|
|
72
72
|
* @private
|
|
73
73
|
* @ui5-restricted sap.ui.fl, sap.ui.rta
|
|
@@ -118,8 +118,8 @@ sap.ui.define([
|
|
|
118
118
|
// determine manifest out of found component
|
|
119
119
|
if (oComponent && oComponent.getMetadata) {
|
|
120
120
|
var oComponentMetaData = oComponent.getMetadata();
|
|
121
|
-
if (oComponentMetaData && oComponentMetaData.
|
|
122
|
-
return oComponentMetaData.
|
|
121
|
+
if (oComponentMetaData && oComponentMetaData.getManifestObject) {
|
|
122
|
+
return oComponentMetaData.getManifestObject().getJson();
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -702,27 +702,6 @@ sap.ui.define([
|
|
|
702
702
|
return oResult;
|
|
703
703
|
},
|
|
704
704
|
|
|
705
|
-
/**
|
|
706
|
-
* Wraps the async sap.ui.require call into a Promise.
|
|
707
|
-
* @param {string} sModuleName Name of the required module
|
|
708
|
-
* @returns {Promise} Returns a promise.
|
|
709
|
-
*/
|
|
710
|
-
requireAsync: function(sModuleName) {
|
|
711
|
-
//TODO: get rid of require async as soon as sap.ui.require has learned Promises as return value
|
|
712
|
-
var oModule = sap.ui.require(sModuleName);
|
|
713
|
-
// apply directly if class was already loaded
|
|
714
|
-
if (oModule) {
|
|
715
|
-
return Promise.resolve(oModule);
|
|
716
|
-
}
|
|
717
|
-
return new Promise(function(fnResolve, fnReject) {
|
|
718
|
-
sap.ui.require([sModuleName], function(oModule) {
|
|
719
|
-
fnResolve(oModule);
|
|
720
|
-
}, function(oError) {
|
|
721
|
-
fnReject(oError);
|
|
722
|
-
});
|
|
723
|
-
});
|
|
724
|
-
},
|
|
725
|
-
|
|
726
705
|
/**
|
|
727
706
|
* Normalize reference, delete .Component at the end of the incoming string.
|
|
728
707
|
* @param {string} sReference - Flex reference
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/base/Log",
|
|
8
8
|
"sap/base/util/merge",
|
|
9
9
|
"sap/base/util/restricted/_pick",
|
|
10
|
-
"sap/ui/fl/
|
|
10
|
+
"sap/ui/fl/requireAsync",
|
|
11
11
|
"sap/ui/core/util/reflection/JsControlTreeModifier"
|
|
12
12
|
], function(
|
|
13
13
|
Log,
|
|
14
14
|
merge,
|
|
15
15
|
_pick,
|
|
16
|
-
|
|
16
|
+
requireAsync,
|
|
17
17
|
JsControlTreeModifier
|
|
18
18
|
) {
|
|
19
19
|
"use strict";
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
*
|
|
26
26
|
* @private
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.110.0
|
|
29
29
|
*
|
|
30
30
|
* @experimental Since 1.80 This class is experimental and provides only limited functionality. Also the API might be
|
|
31
31
|
* changed in future.
|
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
var aPromises = [];
|
|
73
73
|
aDelegates.forEach(function (mDelegateInfo) {
|
|
74
74
|
aPromises.push(function (aLoadedDelegates) {
|
|
75
|
-
return
|
|
75
|
+
return requireAsync(mDelegateInfo.name)
|
|
76
76
|
.then(function (oDelegate) {
|
|
77
77
|
mDelegateInfo.instance = oDelegate || {};
|
|
78
78
|
aLoadedDelegates.push(mDelegateInfo);
|