@openui5/sap.ui.fl 1.104.0 → 1.105.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 +1 -1
- package/THIRDPARTY.txt +1 -1
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/Cache.js +3 -3
- package/src/sap/ui/fl/Change.js +29 -4
- package/src/sap/ui/fl/ChangePersistence.js +26 -14
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnector.js +6 -0
- package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +9 -3
- package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +9 -3
- package/src/sap/ui/fl/FakeLrepLocalStorage.js +9 -3
- package/src/sap/ui/fl/FlexController.js +3 -1
- package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
- package/src/sap/ui/fl/Layer.js +5 -2
- package/src/sap/ui/fl/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Utils.js +76 -41
- package/src/sap/ui/fl/apply/_internal/ChangesController.js +2 -2
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +3 -3
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +1 -1
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +2 -2
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +3 -3
- package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +2 -2
- package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +8 -43
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +73 -0
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +11 -20
- package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +81 -0
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +111 -0
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +51 -17
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +114 -34
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +4 -15
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +22 -6
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +27 -35
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +76 -111
- package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +4 -4
- package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +2 -2
- package/src/sap/ui/fl/changeHandler/AddIFrame.js +7 -7
- package/src/sap/ui/fl/changeHandler/AddXML.js +14 -16
- package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +9 -6
- package/src/sap/ui/fl/changeHandler/Base.js +1 -1
- package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +30 -35
- package/src/sap/ui/fl/changeHandler/BaseAddXml.js +14 -15
- package/src/sap/ui/fl/changeHandler/BaseRename.js +9 -15
- package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/MoveControls.js +12 -8
- package/src/sap/ui/fl/changeHandler/MoveElements.js +3 -2
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +13 -12
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +18 -21
- package/src/sap/ui/fl/changeHandler/StashControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UnhideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UnstashControl.js +3 -5
- package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +3 -5
- package/src/sap/ui/fl/codeExt/CodeExtManager.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +13 -22
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
- package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +2 -2
- package/src/sap/ui/fl/initial/_internal/Storage.js +18 -5
- package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +27 -3
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +4 -4
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +8 -0
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +9 -1
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -2
- package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +3 -3
- package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +2 -3
- package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +2 -3
- package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +5 -5
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +3 -3
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +9 -6
- package/src/sap/ui/fl/interfaces/Delegate.js +34 -18
- package/src/sap/ui/fl/library.js +351 -27
- package/src/sap/ui/fl/messagebundle_ar.properties +2 -0
- package/src/sap/ui/fl/messagebundle_bg.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ca.properties +2 -0
- package/src/sap/ui/fl/messagebundle_cs.properties +2 -0
- package/src/sap/ui/fl/messagebundle_cy.properties +2 -0
- package/src/sap/ui/fl/messagebundle_da.properties +2 -0
- package/src/sap/ui/fl/messagebundle_de.properties +2 -0
- package/src/sap/ui/fl/messagebundle_el.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +37 -2
- package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/ui/fl/messagebundle_es.properties +2 -0
- package/src/sap/ui/fl/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/fl/messagebundle_et.properties +2 -0
- package/src/sap/ui/fl/messagebundle_fi.properties +2 -0
- package/src/sap/ui/fl/messagebundle_fr.properties +2 -0
- package/src/sap/ui/fl/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/fl/messagebundle_hi.properties +2 -0
- package/src/sap/ui/fl/messagebundle_hr.properties +2 -0
- package/src/sap/ui/fl/messagebundle_hu.properties +2 -0
- package/src/sap/ui/fl/messagebundle_id.properties +2 -0
- package/src/sap/ui/fl/messagebundle_it.properties +2 -0
- package/src/sap/ui/fl/messagebundle_iw.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ja.properties +2 -0
- package/src/sap/ui/fl/messagebundle_kk.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ko.properties +2 -0
- package/src/sap/ui/fl/messagebundle_lt.properties +2 -0
- package/src/sap/ui/fl/messagebundle_lv.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ms.properties +2 -0
- package/src/sap/ui/fl/messagebundle_nl.properties +2 -0
- package/src/sap/ui/fl/messagebundle_no.properties +2 -0
- package/src/sap/ui/fl/messagebundle_pl.properties +2 -0
- package/src/sap/ui/fl/messagebundle_pt.properties +2 -0
- package/src/sap/ui/fl/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ro.properties +2 -0
- package/src/sap/ui/fl/messagebundle_ru.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sh.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sk.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sl.properties +2 -0
- package/src/sap/ui/fl/messagebundle_sv.properties +2 -0
- package/src/sap/ui/fl/messagebundle_th.properties +2 -0
- package/src/sap/ui/fl/messagebundle_tr.properties +2 -0
- package/src/sap/ui/fl/messagebundle_uk.properties +2 -0
- package/src/sap/ui/fl/messagebundle_vi.properties +2 -0
- package/src/sap/ui/fl/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/fl/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/fl/requireAsync.js +2 -2
- package/src/sap/ui/fl/support/{apps/uiFlexibilityDiagnostics/helper/Extractor.js → _internal/extractChangeDependencies.js} +55 -57
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +6 -6
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +14 -4
- package/src/sap/ui/fl/support/api/SupportAPI.js +3 -3
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +16 -5
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +18 -8
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/i18n/i18n.properties +4 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +11 -3
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/view/ContentDetails.view.xml +1 -0
- package/src/sap/ui/fl/support/apps/contentbrowser/view/ContentDetailsEdit.view.xml +1 -0
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/IFrame.js +27 -2
- package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -1
- package/src/sap/ui/fl/util/resolveBinding.js +1 -1
- package/src/sap/ui/fl/variants/VariantManagement.js +41 -14
- package/src/sap/ui/fl/variants/VariantModel.js +90 -98
- package/src/sap/ui/fl/write/_internal/FlexInfoSession.js +46 -0
- package/src/sap/ui/fl/write/_internal/SaveAs.js +8 -9
- package/src/sap/ui/fl/write/_internal/Storage.js +4 -4
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +3 -3
- package/src/sap/ui/fl/write/_internal/Versions.js +3 -3
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +3 -3
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +3 -3
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +27 -18
- package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +3 -3
- package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +3 -3
- package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +2 -2
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
- package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +4 -4
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +3 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +3 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +4 -4
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +68 -18
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +47 -10
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +3 -3
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +10 -3
- package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +24 -18
- package/src/sap/ui/fl/write/api/ContextSharingAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +2 -2
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +9 -7
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +3 -3
- package/src/sap/ui/fl/write/api/LocalResetAPI.js +2 -2
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +5 -46
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +49 -43
- package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/TranslationAPI.js +2 -2
- package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +2 -2
- package/src/sap/ui/fl/write/api/VersionsAPI.js +2 -2
- package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +4 -3
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +4 -3
- package/src/sap/ui/fl/write/connectors/BaseConnector.js +4 -4
- package/src/sap/ui/fl/Variant.js +0 -511
- package/src/sap/ui/fl/support/Flexibility.js +0 -384
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/Component.js +0 -18
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/controller/Root.controller.js +0 -227
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/index.html +0 -21
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/manifest.json +0 -44
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/view/Root.view.xml +0 -95
- package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +0 -35
- package/src/sap/ui/fl/support/diagnostics/Flexibility.view.xml +0 -41
- package/src/sap/ui/fl/support/flexibility.css +0 -32
package/.reuse/dep5
CHANGED
|
@@ -159,7 +159,7 @@ Copyright:
|
|
|
159
159
|
License: Apache-2.0 and MIT
|
|
160
160
|
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
|
|
161
161
|
|
|
162
|
-
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite
|
|
162
|
+
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
|
|
163
163
|
Copyright: jQuery Foundation and other contributors
|
|
164
164
|
License: MIT
|
|
165
165
|
Comment: these files belong to: QUnit Composite
|
package/THIRDPARTY.txt
CHANGED
|
@@ -104,7 +104,7 @@ Component: QUnit Composite, version: 1.0.2-pre
|
|
|
104
104
|
Copyright: jQuery Foundation and other contributors
|
|
105
105
|
License: MIT
|
|
106
106
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
107
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite
|
|
107
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
|
|
108
108
|
|
|
109
109
|
Component: JUnit Reporter for QUnit, version: 1.1.1
|
|
110
110
|
Copyright: jQuery Foundation and other contributors
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.fl",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.105.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.105.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.105.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/src/sap/ui/fl/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 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.105.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
|
@@ -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.105.0
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @ui5-restricted sap.ui.fl
|
|
@@ -37,7 +37,7 @@ function(
|
|
|
37
37
|
if (oChange.fileType === "variant") {
|
|
38
38
|
return mStorageResponse.comp.variants;
|
|
39
39
|
}
|
|
40
|
-
if (oChange.selector.persistencyKey) {
|
|
40
|
+
if (oChange.selector && oChange.selector.persistencyKey) {
|
|
41
41
|
return mStorageResponse.comp.changes;
|
|
42
42
|
}
|
|
43
43
|
return mStorageResponse.changes;
|
|
@@ -103,7 +103,7 @@ function(
|
|
|
103
103
|
* @return {Promise} Returns the promise resolved with the determined cache key
|
|
104
104
|
*
|
|
105
105
|
* @private
|
|
106
|
-
* @restricted sap.ui.fl
|
|
106
|
+
* @ui5-restricted sap.ui.fl
|
|
107
107
|
*
|
|
108
108
|
*/
|
|
109
109
|
Cache.getCacheKey = function(mComponent, oAppComponent) {
|
package/src/sap/ui/fl/Change.js
CHANGED
|
@@ -149,7 +149,7 @@ sap.ui.define([
|
|
|
149
149
|
|
|
150
150
|
Change.prototype.isValidForDependencyMap = function() {
|
|
151
151
|
//Change without id in selector should be skipped from adding dependencies process
|
|
152
|
-
return this.
|
|
152
|
+
return this.getSelector() && this.getSelector().id;
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
Change.prototype.startApplying = function() {
|
|
@@ -525,26 +525,46 @@ sap.ui.define([
|
|
|
525
525
|
};
|
|
526
526
|
|
|
527
527
|
/**
|
|
528
|
-
* Sets the new text for the given text ID.
|
|
528
|
+
* Sets the new text for the given text ID or creates new text with the given ID.
|
|
529
529
|
*
|
|
530
530
|
* @param {string} sTextId - Text ID which was used as part of the <code>oTexts</code> object
|
|
531
531
|
* @param {string} sNewText - New text for the given text ID
|
|
532
|
+
* @param {string} sType - Translation text type
|
|
532
533
|
*
|
|
533
534
|
* @public
|
|
534
535
|
*/
|
|
535
|
-
Change.prototype.setText = function (sTextId, sNewText) {
|
|
536
|
+
Change.prototype.setText = function (sTextId, sNewText, sType) {
|
|
536
537
|
if (typeof (sTextId) !== "string") {
|
|
537
538
|
Log.error("sap.ui.fl.Change.setTexts : sTextId is not defined");
|
|
538
539
|
return;
|
|
539
540
|
}
|
|
541
|
+
this._oDefinition.texts = this._oDefinition.texts || {};
|
|
540
542
|
if (this._oDefinition.texts) {
|
|
541
543
|
if (this._oDefinition.texts[sTextId]) {
|
|
542
544
|
this._oDefinition.texts[sTextId].value = sNewText;
|
|
543
|
-
|
|
545
|
+
} else {
|
|
546
|
+
this._oDefinition.texts[sTextId] = {
|
|
547
|
+
value: sNewText,
|
|
548
|
+
type: sType
|
|
549
|
+
};
|
|
544
550
|
}
|
|
551
|
+
this.setState(Change.states.DIRTY);
|
|
545
552
|
}
|
|
546
553
|
};
|
|
547
554
|
|
|
555
|
+
/**
|
|
556
|
+
* Returns the OData Information of the change.
|
|
557
|
+
* oDataInformation.propertyName - Name of the OData property
|
|
558
|
+
* oDataInformation.entityType - Name of the OData entity type that the property belongs to
|
|
559
|
+
* oDataInformation.oDataServiceUri - URI of the OData service
|
|
560
|
+
* @returns {object} OData Information of the change - propertyName, entityType and oDataServiceUri
|
|
561
|
+
*
|
|
562
|
+
* @function
|
|
563
|
+
*/
|
|
564
|
+
Change.prototype.getODataInformation = function () {
|
|
565
|
+
return this._oDefinition.oDataInformation;
|
|
566
|
+
};
|
|
567
|
+
|
|
548
568
|
/**
|
|
549
569
|
* Checks if change is read only because of its source system.
|
|
550
570
|
* @returns {boolean} <code>true</code> if the change is from another system
|
|
@@ -672,6 +692,11 @@ sap.ui.define([
|
|
|
672
692
|
return this._oDefinition;
|
|
673
693
|
};
|
|
674
694
|
|
|
695
|
+
// temporary function
|
|
696
|
+
Change.prototype.convertToFileContent = function() {
|
|
697
|
+
return this.getDefinition();
|
|
698
|
+
};
|
|
699
|
+
|
|
675
700
|
/**
|
|
676
701
|
* Sets the response from the back end after the change is saved.
|
|
677
702
|
* @param {object} oResponse - Content of the change file
|
|
@@ -14,6 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
"sap/ui/core/Component",
|
|
15
15
|
"sap/ui/fl/apply/_internal/changes/Applier",
|
|
16
16
|
"sap/ui/fl/apply/_internal/changes/Utils",
|
|
17
|
+
"sap/ui/fl/apply/_internal/flexObjects/FlexObject",
|
|
18
|
+
"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory",
|
|
17
19
|
"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler",
|
|
18
20
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState",
|
|
19
21
|
"sap/ui/fl/apply/_internal/flexState/FlexState",
|
|
@@ -27,7 +29,6 @@ sap.ui.define([
|
|
|
27
29
|
"sap/ui/fl/LayerUtils",
|
|
28
30
|
"sap/ui/fl/Layer",
|
|
29
31
|
"sap/ui/fl/Utils",
|
|
30
|
-
"sap/ui/fl/Variant",
|
|
31
32
|
"sap/ui/model/json/JSONModel",
|
|
32
33
|
"sap/ui/performance/Measurement"
|
|
33
34
|
], function(
|
|
@@ -40,6 +41,8 @@ sap.ui.define([
|
|
|
40
41
|
Component,
|
|
41
42
|
Applier,
|
|
42
43
|
ChangesUtils,
|
|
44
|
+
FlexObject,
|
|
45
|
+
FlexObjectFactory,
|
|
43
46
|
DependencyHandler,
|
|
44
47
|
VariantManagementState,
|
|
45
48
|
FlexState,
|
|
@@ -53,7 +56,6 @@ sap.ui.define([
|
|
|
53
56
|
LayerUtils,
|
|
54
57
|
Layer,
|
|
55
58
|
Utils,
|
|
56
|
-
Variant,
|
|
57
59
|
JSONModel,
|
|
58
60
|
Measurement
|
|
59
61
|
) {
|
|
@@ -64,7 +66,7 @@ sap.ui.define([
|
|
|
64
66
|
*
|
|
65
67
|
* @constructor
|
|
66
68
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
69
|
+
* @version 1.105.0
|
|
68
70
|
* @experimental Since 1.25.0
|
|
69
71
|
* @param {object} mComponent - Component data to initiate <code>ChangePersistence</code> instance
|
|
70
72
|
* @param {string} mComponent.name - Name of the component this instance is responsible for
|
|
@@ -92,12 +94,16 @@ sap.ui.define([
|
|
|
92
94
|
|
|
93
95
|
function getChangeInstance(oFileContent, oChangeOrChangeContent) {
|
|
94
96
|
var oChange;
|
|
95
|
-
if (oChangeOrChangeContent instanceof Change) {
|
|
97
|
+
if (oChangeOrChangeContent instanceof Change || oChangeOrChangeContent instanceof FlexObject) {
|
|
96
98
|
oChange = oChangeOrChangeContent; // can have other states
|
|
97
99
|
this._mChangesEntries[oChange.getFileName()] = oChange;
|
|
98
100
|
} else {
|
|
99
101
|
if (!this._mChangesEntries[oChangeOrChangeContent.fileName]) {
|
|
100
|
-
|
|
102
|
+
if (oChangeOrChangeContent.changeType === "codeExt") {
|
|
103
|
+
this._mChangesEntries[oChangeOrChangeContent.fileName] = FlexObjectFactory.createFromFileContent(oChangeOrChangeContent);
|
|
104
|
+
} else {
|
|
105
|
+
this._mChangesEntries[oChangeOrChangeContent.fileName] = new Change(oChangeOrChangeContent);
|
|
106
|
+
}
|
|
101
107
|
}
|
|
102
108
|
oChange = this._mChangesEntries[oChangeOrChangeContent.fileName];
|
|
103
109
|
oChange.setState(Change.states.PERSISTED);
|
|
@@ -122,7 +128,7 @@ sap.ui.define([
|
|
|
122
128
|
* @param {object} oAppComponent - Application component
|
|
123
129
|
* @returns {Promise} Returns a promise with an ETag for caching
|
|
124
130
|
* @private
|
|
125
|
-
* @restricted sap.ui.fl
|
|
131
|
+
* @ui5-restricted sap.ui.fl
|
|
126
132
|
*/
|
|
127
133
|
ChangePersistence.prototype.getCacheKey = function(oAppComponent) {
|
|
128
134
|
return Cache.getCacheKey(this._mComponent, oAppComponent);
|
|
@@ -240,7 +246,10 @@ sap.ui.define([
|
|
|
240
246
|
|
|
241
247
|
function getLayerFromChangeOrChangeContent(oChangeOrChangeContent) {
|
|
242
248
|
var sChangeLayer;
|
|
243
|
-
if (
|
|
249
|
+
if (
|
|
250
|
+
typeof oChangeOrChangeContent.isA === "function"
|
|
251
|
+
&& (oChangeOrChangeContent.isA("sap.ui.fl.apply._internal.flexObjects.FlVariant") || oChangeOrChangeContent.isA("sap.ui.fl.Change"))
|
|
252
|
+
) {
|
|
244
253
|
sChangeLayer = oChangeOrChangeContent.getLayer();
|
|
245
254
|
} else {
|
|
246
255
|
sChangeLayer = oChangeOrChangeContent.layer;
|
|
@@ -487,7 +496,7 @@ sap.ui.define([
|
|
|
487
496
|
ChangePersistence.prototype.addChange = function(vChange, oAppComponent) {
|
|
488
497
|
var oChange = this.addDirtyChange(vChange);
|
|
489
498
|
this._addRunTimeCreatedChangeAndUpdateDependencies(oAppComponent, oChange);
|
|
490
|
-
this._mChangesEntries[oChange.
|
|
499
|
+
this._mChangesEntries[oChange.getId()] = oChange;
|
|
491
500
|
this._addPropagationListener(oAppComponent);
|
|
492
501
|
return oChange;
|
|
493
502
|
};
|
|
@@ -501,7 +510,10 @@ sap.ui.define([
|
|
|
501
510
|
*/
|
|
502
511
|
ChangePersistence.prototype.addDirtyChange = function(vChange) {
|
|
503
512
|
var oNewChange;
|
|
504
|
-
if (
|
|
513
|
+
if (
|
|
514
|
+
typeof vChange.isA === "function"
|
|
515
|
+
&& (vChange.isA("sap.ui.fl.Change") || vChange.isA("sap.ui.fl.apply._internal.flexObjects.FlexObject"))
|
|
516
|
+
) {
|
|
505
517
|
oNewChange = vChange;
|
|
506
518
|
} else {
|
|
507
519
|
oNewChange = new Change(vChange);
|
|
@@ -650,7 +662,7 @@ sap.ui.define([
|
|
|
650
662
|
}
|
|
651
663
|
return oCondensedChangesPromise.then(function(aCondensedChanges) {
|
|
652
664
|
var sRequest = aRequests[0];
|
|
653
|
-
var sLayer = aDirtyChanges[0].
|
|
665
|
+
var sLayer = aDirtyChanges[0].getLayer();
|
|
654
666
|
if (bIsCondensingEnabled) {
|
|
655
667
|
return Storage.condense({
|
|
656
668
|
allChanges: aAllChanges,
|
|
@@ -756,14 +768,14 @@ sap.ui.define([
|
|
|
756
768
|
switch (oDirtyChange.getState()) {
|
|
757
769
|
case Change.states.NEW:
|
|
758
770
|
oDirtyChange.setState(Change.states.PERSISTED);
|
|
759
|
-
Cache.addChange(this._mComponent, oDirtyChange.
|
|
771
|
+
Cache.addChange(this._mComponent, oDirtyChange.convertToFileContent());
|
|
760
772
|
break;
|
|
761
773
|
case Change.states.DELETED:
|
|
762
|
-
Cache.deleteChange(this._mComponent, oDirtyChange.
|
|
774
|
+
Cache.deleteChange(this._mComponent, oDirtyChange.convertToFileContent());
|
|
763
775
|
break;
|
|
764
776
|
case Change.states.DIRTY:
|
|
765
777
|
oDirtyChange.setState(Change.states.PERSISTED);
|
|
766
|
-
Cache.updateChange(this._mComponent, oDirtyChange.
|
|
778
|
+
Cache.updateChange(this._mComponent, oDirtyChange.convertToFileContent());
|
|
767
779
|
break;
|
|
768
780
|
}
|
|
769
781
|
}
|
|
@@ -811,7 +823,7 @@ sap.ui.define([
|
|
|
811
823
|
var aChanges = [];
|
|
812
824
|
|
|
813
825
|
aDirtyChanges.forEach(function(oChange) {
|
|
814
|
-
aChanges.push(oChange.
|
|
826
|
+
aChanges.push(oChange.convertToFileContent());
|
|
815
827
|
});
|
|
816
828
|
|
|
817
829
|
return aChanges;
|
|
@@ -27,6 +27,12 @@ sap.ui.define([
|
|
|
27
27
|
* Hooks into the {@link sap.ui.fl.LrepConnector.createConnector} factory function to enable the fake LRep connector.
|
|
28
28
|
* After enabling fake LRep connector, function {@link sap.ui.fl.FakeLrepConnector.disableFakeConnector} must be called to restore the original connector.
|
|
29
29
|
*
|
|
30
|
+
* @private
|
|
31
|
+
* @ui5-restricted
|
|
32
|
+
* @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
|
|
33
|
+
* like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
|
|
34
|
+
* @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
|
|
35
|
+
*
|
|
30
36
|
* @param {string} sInitialComponentJsonPath Relative path to a test-component-changes.json file
|
|
31
37
|
*/
|
|
32
38
|
FakeLrepConnector.enableFakeConnector = function(sInitialComponentJsonPath) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -20,11 +20,17 @@ function(
|
|
|
20
20
|
* @namespace
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.105.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.48
|
|
27
27
|
* @alias sap.ui.fl.FakeLrepConnectorLocalStorage
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @ui5-restricted
|
|
31
|
+
* @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
|
|
32
|
+
* like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
|
|
33
|
+
* @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
|
|
28
34
|
*/
|
|
29
35
|
|
|
30
36
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -20,11 +20,17 @@ function(
|
|
|
20
20
|
* @namespace
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.105.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.58
|
|
27
27
|
* @alias sap.ui.fl.FakeLrepConnectorSessionStorage
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @ui5-restricted
|
|
31
|
+
* @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
|
|
32
|
+
* like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
|
|
33
|
+
* @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
|
|
28
34
|
*/
|
|
29
35
|
|
|
30
36
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -17,11 +17,17 @@ sap.ui.define([
|
|
|
17
17
|
* @namespace
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.105.0
|
|
21
21
|
*
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.48
|
|
24
24
|
* @alias sap.ui.fl.FakeLrepLocalStorage
|
|
25
|
+
*
|
|
26
|
+
* @private
|
|
27
|
+
* @ui5-restricted
|
|
28
|
+
* @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
|
|
29
|
+
* like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
|
|
30
|
+
* @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
|
|
25
31
|
*/
|
|
26
32
|
|
|
27
33
|
"use strict";
|
|
@@ -86,7 +86,7 @@ sap.ui.define([
|
|
|
86
86
|
* @alias sap.ui.fl.FlexController
|
|
87
87
|
* @experimental Since 1.27.0
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.105.0
|
|
90
90
|
*/
|
|
91
91
|
var FlexController = function(sComponentName) {
|
|
92
92
|
this._oChangePersistence = undefined;
|
|
@@ -175,6 +175,8 @@ sap.ui.define([
|
|
|
175
175
|
throw new Error("Change handler could not be retrieved for change " + JSON.stringify(oChangeSpecificData) + ".");
|
|
176
176
|
})
|
|
177
177
|
.then(function () {
|
|
178
|
+
// completeChangeContent changes the content and might make it dirty
|
|
179
|
+
oChange.setState(Change.states.NEW);
|
|
178
180
|
return oChange;
|
|
179
181
|
})
|
|
180
182
|
.catch(function(oError) {
|
package/src/sap/ui/fl/Layer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
@@ -10,6 +10,9 @@ sap.ui.define([], function () {
|
|
|
10
10
|
/**
|
|
11
11
|
* Available layers
|
|
12
12
|
*
|
|
13
|
+
* @alias sap.ui.fl.Layer
|
|
14
|
+
* @private
|
|
15
|
+
* @ui5-restricted sap.ui.fl, sap.ui.rta, UX Tools, SAPUI5 Visual Editor
|
|
13
16
|
* @enum {string}
|
|
14
17
|
*/
|
|
15
18
|
return {
|