@openui5/sap.ui.fl 1.96.2 → 1.98.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 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +2 -2
- package/src/sap/ui/fl/Cache.js +2 -2
- package/src/sap/ui/fl/Change.js +5 -219
- package/src/sap/ui/fl/ChangePersistence.js +28 -28
- package/src/sap/ui/fl/ChangePersistenceFactory.js +5 -3
- package/src/sap/ui/fl/EventHistory.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 +37 -19
- package/src/sap/ui/fl/FlexControllerFactory.js +14 -8
- package/src/sap/ui/fl/Layer.js +1 -1
- package/src/sap/ui/fl/LayerUtils.js +2 -2
- package/src/sap/ui/fl/PreprocessorImpl.js +7 -5
- package/src/sap/ui/fl/RegistrationDelegator.js +2 -2
- package/src/sap/ui/fl/Utils.js +35 -309
- package/src/sap/ui/fl/Variant.js +2 -116
- package/src/sap/ui/fl/XmlPreprocessorImpl.js +15 -14
- package/src/sap/ui/fl/apply/_internal/ChangesController.js +1 -1
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +3 -3
- package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +2 -2
- 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 +4 -3
- 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 +1 -1
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +2 -2
- package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +267 -265
- package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +40 -10
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +16 -11
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +5 -5
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +16 -17
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +22 -23
- package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +2 -2
- 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 +3 -3
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +3 -5
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +23 -25
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +8 -2
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +87 -7
- package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +2 -2
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +72 -10
- package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +13 -2
- 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 +2 -2
- package/src/sap/ui/fl/changeHandler/JsControlTreeModifier.js +1 -1
- 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 +2 -2
- 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/XmlTreeModifier.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/codeExt/CodeExtManager.js +17 -11
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +5 -5
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +2 -2
- 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 +10 -3
- package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
- package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +2 -2
- 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/changeHandlers/ChangeRegistryItem.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +17 -7
- 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 +5 -6
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +2 -2
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
- package/src/sap/ui/fl/interfaces/Delegate.js +2 -2
- package/src/sap/ui/fl/library.js +12 -12
- package/src/sap/ui/fl/library.support.js +1 -1
- package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +19 -2
- package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +2 -35
- package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +19 -2
- package/src/sap/ui/fl/messagebundle_ro.properties +1 -1
- package/src/sap/ui/fl/registry/Settings.js +26 -17
- package/src/sap/ui/fl/requireAsync.js +1 -1
- package/src/sap/ui/fl/support/Flexibility.js +84 -73
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +59 -0
- package/src/sap/ui/fl/support/api/SupportAPI.js +28 -0
- package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +14 -14
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +9 -9
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +10 -10
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +4 -4
- package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +52 -53
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +130 -126
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +2 -2
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/Component.js +1 -1
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/controller/Root.controller.js +1 -3
- package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/helper/Extractor.js +4 -15
- package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +2 -2
- 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 +3 -5
- 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 +3 -2
- package/src/sap/ui/fl/variants/VariantModel.js +6 -46
- package/src/sap/ui/fl/variants/context/Component.js +1 -1
- package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +13 -3
- package/src/sap/ui/fl/write/_internal/SaveAs.js +1 -1
- package/src/sap/ui/fl/write/_internal/Storage.js +34 -2
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +2 -2
- package/src/sap/ui/fl/write/_internal/Versions.js +18 -19
- 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 +25 -2
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +4 -3
- 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/connectors/BackendConnector.js +5 -5
- package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +50 -26
- package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +60 -3
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +1 -1
- 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 +2 -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 +5 -5
- 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 +3 -3
- 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 +22 -7
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +6 -5
- package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +6 -8
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +7 -6
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -3
- 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/ContextSharingAPI.js +1 -1
- package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +125 -14
- package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +1 -1
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +6 -2
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +8 -4
- package/src/sap/ui/fl/write/api/LocalResetAPI.js +1 -1
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +43 -4
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +5 -5
- package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +3 -1
- package/src/sap/ui/fl/write/api/TranslationAPI.js +102 -0
- package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/VersionsAPI.js +2 -2
- package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +3 -2
- package/src/sap/ui/fl/write/connectors/BaseConnector.js +31 -1
- package/ui5.yaml +132 -1
- package/src/sap/ui/fl/ControlPersonalizationAPI.js +0 -479
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-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
32
32
|
License: Apache-2.0
|
|
33
33
|
|
|
34
34
|
|
|
@@ -60,7 +60,7 @@ Comment: these files belong to: jQuery UI
|
|
|
60
60
|
|
|
61
61
|
Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
|
|
62
62
|
Copyright:
|
|
63
|
-
2009-
|
|
63
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
64
64
|
Spencer Tipping
|
|
65
65
|
License: Apache-2.0 and MIT
|
|
66
66
|
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
|
|
@@ -75,35 +75,35 @@ Comment: these files belong to: jQuery 3
|
|
|
75
75
|
|
|
76
76
|
Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
|
|
77
77
|
Copyright:
|
|
78
|
-
2009-
|
|
78
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
79
79
|
OpenJS Foundation and other contributors
|
|
80
80
|
License: Apache-2.0 and MIT
|
|
81
81
|
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
|
|
82
82
|
|
|
83
83
|
Files: src/sap.ui.core/src/sap/base/util/_merge.js
|
|
84
84
|
Copyright:
|
|
85
|
-
2009-
|
|
85
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
86
86
|
OpenJS Foundation and other contributors
|
|
87
87
|
License: Apache-2.0 and MIT
|
|
88
88
|
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
|
|
89
89
|
|
|
90
90
|
Files: src/sap.ui.core/src/jquery.sap.script.js
|
|
91
91
|
Copyright:
|
|
92
|
-
2009-
|
|
92
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
93
93
|
OpenJS Foundation and other contributors
|
|
94
94
|
License: Apache-2.0 and MIT
|
|
95
95
|
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
|
|
96
96
|
|
|
97
97
|
Files: src/sap.ui.core/src/sap/ui/Device.js
|
|
98
98
|
Copyright:
|
|
99
|
-
2009-
|
|
99
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
100
100
|
2011, John Resig
|
|
101
101
|
License: Apache-2.0 and MIT
|
|
102
102
|
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)
|
|
103
103
|
|
|
104
104
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
|
|
105
105
|
Copyright:
|
|
106
|
-
2009-
|
|
106
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
107
107
|
2014 jQuery Foundation and other contributors
|
|
108
108
|
License: Apache-2.0 and MIT
|
|
109
109
|
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)
|
|
@@ -115,14 +115,14 @@ Comment: these files belong to: jQuery UI 1.10
|
|
|
115
115
|
|
|
116
116
|
Files: src/sap.ui.core/src/jquery.sap.dom.js
|
|
117
117
|
Copyright:
|
|
118
|
-
2009-
|
|
118
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
119
119
|
2014 jQuery Foundation and other contributors
|
|
120
120
|
License: Apache-2.0 and MIT
|
|
121
121
|
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)
|
|
122
122
|
|
|
123
123
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
|
|
124
124
|
Copyright:
|
|
125
|
-
2009-
|
|
125
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
126
126
|
2014 jQuery Foundation and other contributors
|
|
127
127
|
License: Apache-2.0 and MIT
|
|
128
128
|
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
|
|
@@ -149,7 +149,7 @@ Comment: these files belong to: jQuery Mobile
|
|
|
149
149
|
|
|
150
150
|
Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
|
|
151
151
|
Copyright:
|
|
152
|
-
2009-
|
|
152
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
153
153
|
2012 Wei-Ko Kao
|
|
154
154
|
License: Apache-2.0 and MIT
|
|
155
155
|
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
|
|
@@ -281,14 +281,14 @@ Comment: these files belong to: blanket.js
|
|
|
281
281
|
|
|
282
282
|
Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
|
|
283
283
|
Copyright:
|
|
284
|
-
2009-
|
|
284
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
285
285
|
Douglas Crockford
|
|
286
286
|
License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
|
|
287
287
|
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
|
|
288
288
|
|
|
289
289
|
Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
|
|
290
290
|
Copyright:
|
|
291
|
-
2009-
|
|
291
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
292
292
|
2010 Douglas Crockford
|
|
293
293
|
License: Apache-2.0
|
|
294
294
|
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)
|
|
@@ -322,7 +322,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
|
|
|
322
322
|
|
|
323
323
|
Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
|
|
324
324
|
Copyright:
|
|
325
|
-
2009-
|
|
325
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
326
326
|
Behrang Norouzinia
|
|
327
327
|
License: Apache-2.0 and MIT
|
|
328
328
|
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
|
|
@@ -334,7 +334,7 @@ Comment: these files belong to: vkBeautify
|
|
|
334
334
|
|
|
335
335
|
Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
336
336
|
Copyright:
|
|
337
|
-
2009-
|
|
337
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
338
338
|
Isaac Z. Schlueter and Contributors
|
|
339
339
|
License: Apache-2.0 and ISC
|
|
340
340
|
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.
|
|
@@ -370,21 +370,11 @@ Comment: these files belong to: Buttons extension for DataTables
|
|
|
370
370
|
|
|
371
371
|
# Library: sap.ui.integration:
|
|
372
372
|
|
|
373
|
-
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents
|
|
373
|
+
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
|
|
374
374
|
Copyright: SAP
|
|
375
375
|
License: Apache-2.0
|
|
376
376
|
Comment: these files belong to: UI5 Web Components
|
|
377
377
|
|
|
378
|
-
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/*
|
|
379
|
-
Copyright: 2015 The Polymer Authors
|
|
380
|
-
License: BSD-3-Clause
|
|
381
|
-
Comment: these files belong to: Webcomponentsjs
|
|
382
|
-
|
|
383
|
-
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
|
|
384
|
-
Copyright: 1991-2014 Unicode, Inc.
|
|
385
|
-
License: Unicode-DFS-2015
|
|
386
|
-
Comment: these files belong to: Unicode Common Locale Data Repository
|
|
387
|
-
|
|
388
378
|
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards.js src/sap.ui.integration/src/sap/ui/integration/schemas/adaptive-card.json
|
|
389
379
|
Copyright: 2017 Microsoft
|
|
390
380
|
License: MIT
|
|
@@ -395,22 +385,27 @@ Copyright: 2017 Microsoft
|
|
|
395
385
|
License: MIT
|
|
396
386
|
Comment: these files belong to: Adaptive Cards Templating
|
|
397
387
|
|
|
388
|
+
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
389
|
+
Copyright: Microsoft
|
|
390
|
+
License: MIT
|
|
391
|
+
Comment: these files belong to: Adaptive Expressions
|
|
392
|
+
|
|
398
393
|
Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
|
|
399
394
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
400
395
|
License: MIT
|
|
401
396
|
Comment: these files belong to: Markdown-it
|
|
402
397
|
|
|
403
|
-
Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/
|
|
404
|
-
Copyright:
|
|
398
|
+
Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
|
|
399
|
+
Copyright: 2020 Jeremy Danyow
|
|
405
400
|
License: MIT
|
|
406
|
-
Comment: these files belong to:
|
|
401
|
+
Comment: these files belong to: @cfworker/json-schema
|
|
407
402
|
|
|
408
403
|
|
|
409
404
|
# Library: sap.ui.mdc:
|
|
410
405
|
|
|
411
406
|
Files: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
|
|
412
407
|
Copyright:
|
|
413
|
-
2009-
|
|
408
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
414
409
|
2015 unnikked
|
|
415
410
|
License: Apache-2.0 and MIT
|
|
416
411
|
Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
|
|
@@ -418,7 +413,7 @@ Comment: these files contain content from SAP and BooleanExpressionEvaluator: Bo
|
|
|
418
413
|
|
|
419
414
|
# Library: sap.ui.webc.common:
|
|
420
415
|
|
|
421
|
-
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
416
|
+
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
422
417
|
Copyright: SAP
|
|
423
418
|
License: Apache-2.0
|
|
424
419
|
Comment: these files belong to: UI5 Web Components
|
|
@@ -454,7 +449,7 @@ Comment: these files belong to: LESS
|
|
|
454
449
|
|
|
455
450
|
Files: lib/jsdoc/ui5/plugin.js
|
|
456
451
|
Copyright:
|
|
457
|
-
2009-
|
|
452
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
458
453
|
2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
459
454
|
License: Apache-2.0
|
|
460
455
|
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
|
@@ -351,24 +351,11 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
|
|
|
351
351
|
|
|
352
352
|
Library: sap.ui.integration:
|
|
353
353
|
|
|
354
|
-
Component: UI5 Web Components, version: 1.0.
|
|
354
|
+
Component: UI5 Web Components, version: 1.0.1
|
|
355
355
|
Copyright: SAP
|
|
356
356
|
License: Apache-2.0
|
|
357
357
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
358
|
-
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents
|
|
359
|
-
src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/bundle*
|
|
360
|
-
|
|
361
|
-
Component: Webcomponentsjs, version: 1.0.2
|
|
362
|
-
Copyright: 2015 The Polymer Authors
|
|
363
|
-
License: BSD-3-Clause
|
|
364
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
365
|
-
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/*
|
|
366
|
-
|
|
367
|
-
Component: Unicode Common Locale Data Repository
|
|
368
|
-
Copyright: 1991-2014 Unicode, Inc.
|
|
369
|
-
License: Unicode-DFS-2015
|
|
370
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
|
|
371
|
-
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
|
|
358
|
+
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
|
|
372
359
|
|
|
373
360
|
Component: Adaptive Cards, version: 2.9.0
|
|
374
361
|
Copyright: 2017 Microsoft
|
|
@@ -377,23 +364,29 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
|
377
364
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards.js
|
|
378
365
|
src/sap.ui.integration/src/sap/ui/integration/schemas/adaptive-card.json
|
|
379
366
|
|
|
380
|
-
Component: Adaptive Cards Templating, version:
|
|
367
|
+
Component: Adaptive Cards Templating, version: 2.2.0
|
|
381
368
|
Copyright: 2017 Microsoft
|
|
382
369
|
License: MIT
|
|
383
370
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
384
371
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards-templating.js
|
|
385
372
|
|
|
386
|
-
Component:
|
|
373
|
+
Component: Adaptive Expressions, version: 4.15.0
|
|
374
|
+
Copyright: Microsoft
|
|
375
|
+
License: MIT
|
|
376
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
377
|
+
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
378
|
+
|
|
379
|
+
Component: Markdown-it, version: 12.2.0
|
|
387
380
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
388
381
|
License: MIT
|
|
389
382
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
390
383
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
|
|
391
384
|
|
|
392
|
-
Component:
|
|
393
|
-
Copyright:
|
|
385
|
+
Component: @cfworker/json-schema, version: 1.6.8
|
|
386
|
+
Copyright: 2020 Jeremy Danyow
|
|
394
387
|
License: MIT
|
|
395
388
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
396
|
-
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/
|
|
389
|
+
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
|
|
397
390
|
|
|
398
391
|
|
|
399
392
|
Library: sap.ui.mdc:
|
|
@@ -412,10 +405,11 @@ Copyright: SAP
|
|
|
412
405
|
License: Apache-2.0
|
|
413
406
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
414
407
|
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
415
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
408
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
|
|
416
409
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
|
|
417
410
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
|
|
418
411
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
412
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
419
413
|
|
|
420
414
|
Component: lit-html, version: 1.4.1
|
|
421
415
|
Copyright: Google LLC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.fl",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.98.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.98.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.98.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-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.98.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-2022 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.98.0
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @ui5-restricted sap.ui.fl
|
package/src/sap/ui/fl/Change.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
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
|
*/
|
|
6
6
|
|
|
@@ -280,37 +280,6 @@ sap.ui.define([
|
|
|
280
280
|
return true;
|
|
281
281
|
};
|
|
282
282
|
|
|
283
|
-
/**
|
|
284
|
-
* Returns if the change is valid
|
|
285
|
-
* @returns {boolean} <code>true</code> if the change is valid (all mandatory fields are filled, etc.)
|
|
286
|
-
*
|
|
287
|
-
* @public
|
|
288
|
-
*/
|
|
289
|
-
Change.prototype.isValid = function () {
|
|
290
|
-
var bIsValid = true;
|
|
291
|
-
|
|
292
|
-
if (typeof (this._oDefinition) !== "object") {
|
|
293
|
-
bIsValid = false;
|
|
294
|
-
}
|
|
295
|
-
if (!this._oDefinition.fileType) {
|
|
296
|
-
bIsValid = false;
|
|
297
|
-
}
|
|
298
|
-
if (!this._oDefinition.fileName) {
|
|
299
|
-
bIsValid = false;
|
|
300
|
-
}
|
|
301
|
-
if (!this._oDefinition.changeType) {
|
|
302
|
-
bIsValid = false;
|
|
303
|
-
}
|
|
304
|
-
if (!this._oDefinition.layer) {
|
|
305
|
-
bIsValid = false;
|
|
306
|
-
}
|
|
307
|
-
if (!this._oDefinition.originalLanguage) {
|
|
308
|
-
bIsValid = false;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
return bIsValid;
|
|
312
|
-
};
|
|
313
|
-
|
|
314
283
|
/**
|
|
315
284
|
* Returns if the type of the change is <code>variant</code>.
|
|
316
285
|
* @returns {boolean} <code>true</code> if the <code>fileType</code> of the change file is a variant
|
|
@@ -352,23 +321,7 @@ sap.ui.define([
|
|
|
352
321
|
* @public
|
|
353
322
|
*/
|
|
354
323
|
Change.prototype.getFileType = function () {
|
|
355
|
-
|
|
356
|
-
return this._oDefinition.fileType;
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* Returns the original language in ISO 639-1 format.
|
|
362
|
-
*
|
|
363
|
-
* @returns {String} Original language
|
|
364
|
-
*
|
|
365
|
-
* @public
|
|
366
|
-
*/
|
|
367
|
-
Change.prototype.getOriginalLanguage = function () {
|
|
368
|
-
if (this._oDefinition && this._oDefinition.originalLanguage) {
|
|
369
|
-
return this._oDefinition.originalLanguage;
|
|
370
|
-
}
|
|
371
|
-
return "";
|
|
324
|
+
return this._oDefinition.fileType;
|
|
372
325
|
};
|
|
373
326
|
|
|
374
327
|
/**
|
|
@@ -450,17 +403,6 @@ sap.ui.define([
|
|
|
450
403
|
return this._oDefinition.projectId;
|
|
451
404
|
};
|
|
452
405
|
|
|
453
|
-
/**
|
|
454
|
-
* Sets the project ID.
|
|
455
|
-
*
|
|
456
|
-
* @param {string} sProjectId - Project ID of the change file
|
|
457
|
-
*
|
|
458
|
-
* @public
|
|
459
|
-
*/
|
|
460
|
-
Change.prototype.setProjectId = function (sProjectId) {
|
|
461
|
-
this._oDefinition.projectId = sProjectId;
|
|
462
|
-
};
|
|
463
|
-
|
|
464
406
|
/**
|
|
465
407
|
* Returns the ID of the change.
|
|
466
408
|
* @returns {string} ID of the change file
|
|
@@ -529,38 +471,6 @@ sap.ui.define([
|
|
|
529
471
|
this._oDefinition.selector = oSelector;
|
|
530
472
|
};
|
|
531
473
|
|
|
532
|
-
/**
|
|
533
|
-
* Returns the source system of the change.
|
|
534
|
-
*
|
|
535
|
-
* @returns {String} Source system of the change file
|
|
536
|
-
*
|
|
537
|
-
* @public
|
|
538
|
-
*/
|
|
539
|
-
Change.prototype.getSourceSystem = function () {
|
|
540
|
-
return this._oDefinition.sourceSystem;
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* Returns the source client of the change.
|
|
545
|
-
*
|
|
546
|
-
* @returns {String} Source client of the change file
|
|
547
|
-
*
|
|
548
|
-
* @public
|
|
549
|
-
*/
|
|
550
|
-
Change.prototype.getSourceClient = function () {
|
|
551
|
-
return this._oDefinition.sourceClient;
|
|
552
|
-
};
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* Returns the user ID of the owner.
|
|
556
|
-
* @returns {string} ID of the owner
|
|
557
|
-
*
|
|
558
|
-
* @public
|
|
559
|
-
*/
|
|
560
|
-
Change.prototype.getOwnerId = function () {
|
|
561
|
-
return this._oDefinition.support ? this._oDefinition.support.user : "";
|
|
562
|
-
};
|
|
563
|
-
|
|
564
474
|
/**
|
|
565
475
|
* Returns the text in the current language for a given ID.
|
|
566
476
|
*
|
|
@@ -613,80 +523,15 @@ sap.ui.define([
|
|
|
613
523
|
}
|
|
614
524
|
};
|
|
615
525
|
|
|
616
|
-
/**
|
|
617
|
-
* Returns <code>true</code> if the current layer is the same as the layer in which the change was created, or if the change is from the end-user layer and was created for this user.
|
|
618
|
-
* @returns {boolean} <code>true</code> if the change file is read only
|
|
619
|
-
*
|
|
620
|
-
* @deprecated
|
|
621
|
-
* @public
|
|
622
|
-
*/
|
|
623
|
-
Change.prototype.isReadOnly = function () {
|
|
624
|
-
return this._isReadOnlyDueToLayer() || this._isReadOnlyWhenNotKeyUser() || this.isChangeFromOtherSystem();
|
|
625
|
-
};
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Checks if the change is read only, because the current user is not a key user and the change is "shared".
|
|
629
|
-
* @returns {boolean} <code>true</code> if the change is read only
|
|
630
|
-
*
|
|
631
|
-
* @deprecated
|
|
632
|
-
* @private
|
|
633
|
-
*/
|
|
634
|
-
Change.prototype._isReadOnlyWhenNotKeyUser = function () {
|
|
635
|
-
if (this.isUserDependent()) {
|
|
636
|
-
return false; // the user always can edit its own changes
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
var sReference = this.getDefinition().reference;
|
|
640
|
-
if (!sReference) {
|
|
641
|
-
return true; // without a reference the right to edit or delete a change cannot be determined
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
var oSettings = Settings.getInstanceOrUndef();
|
|
645
|
-
if (!oSettings) {
|
|
646
|
-
return true; // without settings the right to edit or delete a change cannot be determined
|
|
647
|
-
}
|
|
648
|
-
// a key user can edit changes
|
|
649
|
-
return !oSettings.isKeyUser();
|
|
650
|
-
};
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Returns <code>true</code> if the label is read only. The label might be read only because of the current layer or because the logon language differs from the original language of the change file.
|
|
654
|
-
*
|
|
655
|
-
* @returns {boolean} <code>true</code> if the label is read only
|
|
656
|
-
*
|
|
657
|
-
* @deprecated
|
|
658
|
-
* @public
|
|
659
|
-
*/
|
|
660
|
-
Change.prototype.isLabelReadOnly = function () {
|
|
661
|
-
if (this._isReadOnlyDueToLayer()) {
|
|
662
|
-
return true;
|
|
663
|
-
}
|
|
664
|
-
return this._isReadOnlyDueToOriginalLanguage();
|
|
665
|
-
};
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* Checks if the layer allows modifying the file.
|
|
669
|
-
* @returns {boolean} <code>true</code> if the change is read only
|
|
670
|
-
*
|
|
671
|
-
* @deprecated
|
|
672
|
-
* @private
|
|
673
|
-
*/
|
|
674
|
-
Change.prototype._isReadOnlyDueToLayer = function () {
|
|
675
|
-
var sCurrentLayer;
|
|
676
|
-
sCurrentLayer = this._bUserDependent ? Layer.USER : LayerUtils.getCurrentLayer();
|
|
677
|
-
return (this._oDefinition.layer !== sCurrentLayer);
|
|
678
|
-
};
|
|
679
|
-
|
|
680
526
|
/**
|
|
681
527
|
* Checks if change is read only because of its source system.
|
|
682
528
|
* @returns {boolean} <code>true</code> if the change is from another system
|
|
683
529
|
*
|
|
684
|
-
* @deprecated
|
|
685
530
|
* @public
|
|
686
531
|
*/
|
|
687
532
|
Change.prototype.isChangeFromOtherSystem = function () {
|
|
688
|
-
var sSourceSystem = this.
|
|
689
|
-
var sSourceClient = this.
|
|
533
|
+
var sSourceSystem = this._oDefinition.sourceSystem;
|
|
534
|
+
var sSourceClient = this._oDefinition.sourceClient;
|
|
690
535
|
if (!sSourceSystem || !sSourceClient) {
|
|
691
536
|
return false;
|
|
692
537
|
}
|
|
@@ -702,28 +547,6 @@ sap.ui.define([
|
|
|
702
547
|
return (sSourceSystem !== sSystem || sSourceClient !== sClient);
|
|
703
548
|
};
|
|
704
549
|
|
|
705
|
-
/**
|
|
706
|
-
* A change can only be modified if the current language equals the original language.
|
|
707
|
-
* Returns <code>false</code> if the current language does not equal the original language of the change file.
|
|
708
|
-
* Returns <code>false</code> if the original language is initial.
|
|
709
|
-
*
|
|
710
|
-
* @deprecated
|
|
711
|
-
* @returns {boolean} <code>true</code> if the current logon language equals the original language of the change file
|
|
712
|
-
*
|
|
713
|
-
* @private
|
|
714
|
-
*/
|
|
715
|
-
Change.prototype._isReadOnlyDueToOriginalLanguage = function () {
|
|
716
|
-
var sCurrentLanguage;
|
|
717
|
-
var sOriginalLanguage;
|
|
718
|
-
|
|
719
|
-
sOriginalLanguage = this.getOriginalLanguage();
|
|
720
|
-
if (!sOriginalLanguage) {
|
|
721
|
-
return false;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
sCurrentLanguage = Utils.getCurrentLanguage();
|
|
725
|
-
return (sCurrentLanguage !== sOriginalLanguage);
|
|
726
|
-
};
|
|
727
550
|
|
|
728
551
|
/**
|
|
729
552
|
* Marks the current change to be deleted persistently.
|
|
@@ -841,15 +664,6 @@ sap.ui.define([
|
|
|
841
664
|
}
|
|
842
665
|
};
|
|
843
666
|
|
|
844
|
-
Change.prototype.getFullFileIdentifier = function () {
|
|
845
|
-
var sLayer = this.getLayer();
|
|
846
|
-
var sNamespace = this.getNamespace();
|
|
847
|
-
var sFileName = this.getDefinition().fileName;
|
|
848
|
-
var sFileType = this.getDefinition().fileType;
|
|
849
|
-
|
|
850
|
-
return sLayer + "/" + sNamespace + "/" + sFileName + "." + sFileType;
|
|
851
|
-
};
|
|
852
|
-
|
|
853
667
|
/**
|
|
854
668
|
* Adds the selector to the dependent selector list.
|
|
855
669
|
*
|
|
@@ -1049,26 +863,6 @@ sap.ui.define([
|
|
|
1049
863
|
this.setRevertData(null);
|
|
1050
864
|
};
|
|
1051
865
|
|
|
1052
|
-
/**
|
|
1053
|
-
* Returns the undo operations.
|
|
1054
|
-
*
|
|
1055
|
-
* @returns {Array<*>} Array of undo operations
|
|
1056
|
-
* @public
|
|
1057
|
-
*/
|
|
1058
|
-
Change.prototype.getUndoOperations = function() {
|
|
1059
|
-
return this._aUndoOperations;
|
|
1060
|
-
};
|
|
1061
|
-
|
|
1062
|
-
/**
|
|
1063
|
-
* Sets the undo operations.
|
|
1064
|
-
*
|
|
1065
|
-
* @param {Array<*>} aData - Undo operations
|
|
1066
|
-
* @public
|
|
1067
|
-
*/
|
|
1068
|
-
Change.prototype.setUndoOperations = function(aData) {
|
|
1069
|
-
this._aUndoOperations = aData;
|
|
1070
|
-
};
|
|
1071
|
-
|
|
1072
866
|
Change.prototype.getExtensionPointInfo = function() {
|
|
1073
867
|
return this._oExtensionPointInfo;
|
|
1074
868
|
};
|
|
@@ -1077,14 +871,6 @@ sap.ui.define([
|
|
|
1077
871
|
this._oExtensionPointInfo = oExtensionPointInfo;
|
|
1078
872
|
};
|
|
1079
873
|
|
|
1080
|
-
/**
|
|
1081
|
-
* Resets the undo operations
|
|
1082
|
-
* @public
|
|
1083
|
-
*/
|
|
1084
|
-
Change.prototype.resetUndoOperations = function() {
|
|
1085
|
-
this.setUndoOperations(null);
|
|
1086
|
-
};
|
|
1087
|
-
|
|
1088
874
|
/**
|
|
1089
875
|
* Creates and returns an instance of a change instance.
|
|
1090
876
|
*
|
|
@@ -1145,7 +931,7 @@ sap.ui.define([
|
|
|
1145
931
|
namespace: oPropertyBag.namespace || Utils.createNamespace(oPropertyBag, sFileType), //TODO: we need to think of a better way to create namespaces from Adaptation projects.
|
|
1146
932
|
projectId: oPropertyBag.projectId || (oPropertyBag.reference && oPropertyBag.reference.replace(".Component", "")) || "",
|
|
1147
933
|
creation: "",
|
|
1148
|
-
originalLanguage: Utils.getCurrentLanguage(),
|
|
934
|
+
originalLanguage: Utils.getCurrentLanguage() || "",
|
|
1149
935
|
support: {
|
|
1150
936
|
generator: oPropertyBag.generator || "Change.createInitialFileContent",
|
|
1151
937
|
service: oPropertyBag.service || "",
|