@openui5/sap.ui.fl 1.105.1 → 1.107.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 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/Cache.js +7 -1
- package/src/sap/ui/fl/Change.js +125 -36
- package/src/sap/ui/fl/ChangePersistence.js +61 -33
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnector.js +7 -5
- package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +1 -1
- package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
- package/src/sap/ui/fl/FlexController.js +7 -8
- package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
- package/src/sap/ui/fl/LayerUtils.js +1 -1
- package/src/sap/ui/fl/Utils.js +16 -13
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +6 -7
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -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/ObjectStorageUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +14 -6
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +6 -4
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +11 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +12 -8
- package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +11 -14
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +4 -4
- 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 +5 -3
- package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +1 -1
- package/src/sap/ui/fl/changeHandler/AddIFrame.js +25 -3
- package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
- package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/fl/changeHandler/Base.js +3 -2
- package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +6 -3
- package/src/sap/ui/fl/changeHandler/BaseAddXml.js +3 -3
- package/src/sap/ui/fl/changeHandler/BaseRename.js +3 -3
- package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/MoveControls.js +8 -6
- package/src/sap/ui/fl/changeHandler/MoveElements.js +1 -1
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +1 -1
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +6 -6
- package/src/sap/ui/fl/changeHandler/StashControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UnhideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UnstashControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +14 -3
- package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +16 -0
- package/src/sap/ui/fl/changeHandler/common/createIFrame.js +2 -2
- package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +3 -3
- package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +2 -2
- package/src/sap/ui/fl/changeHandler/condenser/Classification.js +6 -1
- package/src/sap/ui/fl/codeExt/CodeExtManager.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
- package/src/sap/ui/fl/initial/_internal/Storage.js +1 -1
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +7 -5
- 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 +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +4 -4
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +2 -4
- package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +5 -3
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +31 -10
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +1 -1
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +1 -1
- package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
- package/src/sap/ui/fl/library.js +51 -47
- package/src/sap/ui/fl/library.support.js +1 -1
- package/src/sap/ui/fl/messagebundle.properties +4 -1
- package/src/sap/ui/fl/messagebundle_ar.properties +1 -1
- package/src/sap/ui/fl/messagebundle_bg.properties +1 -1
- package/src/sap/ui/fl/messagebundle_ca.properties +1 -1
- package/src/sap/ui/fl/messagebundle_cs.properties +1 -1
- package/src/sap/ui/fl/messagebundle_cy.properties +1 -1
- package/src/sap/ui/fl/messagebundle_da.properties +1 -1
- package/src/sap/ui/fl/messagebundle_de.properties +1 -1
- package/src/sap/ui/fl/messagebundle_el.properties +1 -1
- package/src/sap/ui/fl/messagebundle_en.properties +1 -1
- package/src/sap/ui/fl/messagebundle_en_GB.properties +1 -1
- package/src/sap/ui/fl/messagebundle_es.properties +1 -1
- package/src/sap/ui/fl/messagebundle_es_MX.properties +1 -1
- package/src/sap/ui/fl/messagebundle_et.properties +1 -1
- package/src/sap/ui/fl/messagebundle_fi.properties +1 -1
- package/src/sap/ui/fl/messagebundle_fr.properties +1 -1
- package/src/sap/ui/fl/messagebundle_fr_CA.properties +1 -1
- package/src/sap/ui/fl/messagebundle_hi.properties +1 -1
- package/src/sap/ui/fl/messagebundle_hr.properties +1 -1
- package/src/sap/ui/fl/messagebundle_hu.properties +1 -1
- package/src/sap/ui/fl/messagebundle_id.properties +1 -1
- package/src/sap/ui/fl/messagebundle_it.properties +1 -1
- package/src/sap/ui/fl/messagebundle_iw.properties +1 -1
- package/src/sap/ui/fl/messagebundle_ja.properties +1 -1
- package/src/sap/ui/fl/messagebundle_kk.properties +1 -1
- package/src/sap/ui/fl/messagebundle_ko.properties +1 -1
- package/src/sap/ui/fl/messagebundle_lt.properties +1 -1
- package/src/sap/ui/fl/messagebundle_lv.properties +1 -1
- package/src/sap/ui/fl/messagebundle_ms.properties +1 -1
- package/src/sap/ui/fl/messagebundle_nl.properties +1 -1
- package/src/sap/ui/fl/messagebundle_no.properties +1 -1
- package/src/sap/ui/fl/messagebundle_pl.properties +1 -1
- package/src/sap/ui/fl/messagebundle_pt.properties +1 -1
- package/src/sap/ui/fl/messagebundle_pt_PT.properties +1 -1
- package/src/sap/ui/fl/messagebundle_ro.properties +1 -1
- package/src/sap/ui/fl/messagebundle_ru.properties +1 -1
- package/src/sap/ui/fl/messagebundle_sh.properties +1 -1
- package/src/sap/ui/fl/messagebundle_sk.properties +1 -1
- package/src/sap/ui/fl/messagebundle_sl.properties +1 -1
- package/src/sap/ui/fl/messagebundle_sv.properties +1 -1
- package/src/sap/ui/fl/messagebundle_th.properties +1 -1
- package/src/sap/ui/fl/messagebundle_tr.properties +1 -1
- package/src/sap/ui/fl/messagebundle_uk.properties +1 -1
- package/src/sap/ui/fl/messagebundle_vi.properties +1 -1
- package/src/sap/ui/fl/messagebundle_zh_CN.properties +1 -1
- package/src/sap/ui/fl/messagebundle_zh_TW.properties +1 -1
- package/src/sap/ui/fl/registry/Settings.js +17 -3
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +1 -1
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +1 -1
- package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +10 -6
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +11 -7
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +10 -6
- 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 +5 -4
- package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +5 -4
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/IFrame.js +7 -6
- 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 +6 -2
- package/src/sap/ui/fl/variants/VariantModel.js +19 -8
- package/src/sap/ui/fl/variants/context/Component.js +13 -0
- package/src/sap/ui/fl/write/_internal/Storage.js +79 -34
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +13 -4
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +6 -6
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +6 -6
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +6 -6
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +75 -14
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +10 -7
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +4 -4
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +5 -5
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Update.js +32 -0
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +5 -8
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +20 -9
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +6 -1
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +6 -28
- 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 +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +5 -3
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +6 -12
- package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +12 -7
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +6 -7
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -2
- package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +16 -5
- package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +61 -0
- package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +19 -1
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
- package/src/sap/ui/fl/write/api/VersionsAPI.js +3 -1
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +140 -1
- package/src/sap/ui/fl/write/connectors/BaseConnector.js +5 -0
package/.reuse/dep5
CHANGED
|
@@ -43,6 +43,14 @@ License: Apache-2.0
|
|
|
43
43
|
#
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
# Library: sap.m:
|
|
47
|
+
|
|
48
|
+
Files: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
49
|
+
Copyright: Mario Heiderich
|
|
50
|
+
License: Apache-2.0
|
|
51
|
+
Comment: these files belong to: purify.js
|
|
52
|
+
|
|
53
|
+
|
|
46
54
|
# Library: sap.ui.codeeditor:
|
|
47
55
|
|
|
48
56
|
Files: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/*
|
|
@@ -127,17 +135,17 @@ Copyright:
|
|
|
127
135
|
License: Apache-2.0 and MIT
|
|
128
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
|
|
129
137
|
|
|
130
|
-
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit
|
|
138
|
+
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit.css src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
|
|
131
139
|
Copyright: jQuery Foundation and other contributors
|
|
132
140
|
License: MIT
|
|
133
141
|
Comment: these files belong to: QUnit
|
|
134
142
|
|
|
135
|
-
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2
|
|
143
|
+
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.css src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.js
|
|
136
144
|
Copyright: jQuery Foundation and other contributors
|
|
137
145
|
License: MIT
|
|
138
146
|
Comment: these files belong to: QUnit 2
|
|
139
147
|
|
|
140
|
-
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18
|
|
148
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.css src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.js
|
|
141
149
|
Copyright: jQuery Foundation and other contributors
|
|
142
150
|
License: MIT
|
|
143
151
|
Comment: these files belong to: QUnit 2.18
|
|
@@ -159,7 +167,7 @@ Copyright:
|
|
|
159
167
|
License: Apache-2.0 and MIT
|
|
160
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
|
|
161
169
|
|
|
162
|
-
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite
|
|
170
|
+
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.css src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.js
|
|
163
171
|
Copyright: jQuery Foundation and other contributors
|
|
164
172
|
License: MIT
|
|
165
173
|
Comment: these files belong to: QUnit Composite
|
|
@@ -239,7 +247,7 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
|
|
|
239
247
|
License: BSD-3-Clause
|
|
240
248
|
Comment: these files belong to: SinonJS
|
|
241
249
|
|
|
242
|
-
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0
|
|
250
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.js
|
|
243
251
|
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
244
252
|
License: BSD-3-Clause
|
|
245
253
|
Comment: these files belong to: SinonJS 14
|
|
@@ -313,7 +321,7 @@ Copyright: 2018 Michael Mclaughlin
|
|
|
313
321
|
License: MIT
|
|
314
322
|
Comment: these files belong to: bignumber.js
|
|
315
323
|
|
|
316
|
-
Files: src/sap.ui.core/src/sap/
|
|
324
|
+
Files: src/sap.ui.core/src/sap/base/util/restricted/_/lodash.custom.js
|
|
317
325
|
Copyright: OpenJS Foundation and other contributors
|
|
318
326
|
License: MIT
|
|
319
327
|
Comment: these files belong to: lodash
|
|
@@ -323,7 +331,7 @@ Copyright: 2021 Mathias Nater
|
|
|
323
331
|
License: MIT
|
|
324
332
|
Comment: these files belong to: Hyphenopoly
|
|
325
333
|
|
|
326
|
-
Files: src/sap.ui.core/src/sap/
|
|
334
|
+
Files: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
|
|
327
335
|
Copyright:
|
|
328
336
|
Sindre Sorhus <sindresorhus@gmail.com>
|
|
329
337
|
2014-present Sebastian McKenzie and other contributors
|
|
@@ -418,16 +426,6 @@ License: MIT
|
|
|
418
426
|
Comment: these files belong to: @cfworker/json-schema
|
|
419
427
|
|
|
420
428
|
|
|
421
|
-
# Library: sap.ui.mdc:
|
|
422
|
-
|
|
423
|
-
Files: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
|
|
424
|
-
Copyright:
|
|
425
|
-
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
426
|
-
2015 unnikked
|
|
427
|
-
License: Apache-2.0 and MIT
|
|
428
|
-
Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
|
|
429
|
-
|
|
430
|
-
|
|
431
429
|
# Library: sap.ui.webc.common:
|
|
432
430
|
|
|
433
431
|
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/*.*
|
|
@@ -448,6 +446,11 @@ Copyright: SAP
|
|
|
448
446
|
License: Apache-2.0
|
|
449
447
|
Comment: these files belong to: UI5 Web Components
|
|
450
448
|
|
|
449
|
+
Files: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
|
|
450
|
+
Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
|
|
451
|
+
License: Apache-2.0
|
|
452
|
+
Comment: these files belong to: ZXing
|
|
453
|
+
|
|
451
454
|
|
|
452
455
|
# Library: sap.ui.webc.main:
|
|
453
456
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -4,6 +4,15 @@ each subcomponent.
|
|
|
4
4
|
The full text of all referenced licenses is appended at the end of this file.
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
Library: sap.m:
|
|
8
|
+
|
|
9
|
+
Component: purify.js, version: 2.3.8
|
|
10
|
+
Copyright: Mario Heiderich
|
|
11
|
+
License: Apache-2.0
|
|
12
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
|
+
Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
14
|
+
|
|
15
|
+
|
|
7
16
|
Library: sap.ui.codeeditor:
|
|
8
17
|
|
|
9
18
|
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
|
|
@@ -68,19 +77,22 @@ Component: QUnit, version: 1.18.0
|
|
|
68
77
|
Copyright: jQuery Foundation and other contributors
|
|
69
78
|
License: MIT
|
|
70
79
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
71
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit
|
|
80
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit.css
|
|
81
|
+
src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
|
|
72
82
|
|
|
73
83
|
Component: QUnit 2, version: 2.3.2
|
|
74
84
|
Copyright: jQuery Foundation and other contributors
|
|
75
85
|
License: MIT
|
|
76
86
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
77
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2
|
|
87
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.css
|
|
88
|
+
src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.js
|
|
78
89
|
|
|
79
90
|
Component: QUnit 2.18, version: 2.18.0
|
|
80
91
|
Copyright: jQuery Foundation and other contributors
|
|
81
92
|
License: MIT
|
|
82
93
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
83
|
-
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18
|
|
94
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.css
|
|
95
|
+
src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.js
|
|
84
96
|
|
|
85
97
|
Component: jQuery-Migrate, version: 3.3.1
|
|
86
98
|
Copyright: OpenJS Foundation and other contributors
|
|
@@ -104,7 +116,8 @@ Component: QUnit Composite, version: 1.0.2-pre
|
|
|
104
116
|
Copyright: jQuery Foundation and other contributors
|
|
105
117
|
License: MIT
|
|
106
118
|
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
|
|
119
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.css
|
|
120
|
+
src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.js
|
|
108
121
|
|
|
109
122
|
Component: JUnit Reporter for QUnit, version: 1.1.1
|
|
110
123
|
Copyright: jQuery Foundation and other contributors
|
|
@@ -201,7 +214,7 @@ Component: SinonJS 14, version: 14.0.0
|
|
|
201
214
|
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
202
215
|
License: BSD-3-Clause
|
|
203
216
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
204
|
-
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0
|
|
217
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.js
|
|
205
218
|
|
|
206
219
|
Component: Sinon-qunit, version: 2.0.0
|
|
207
220
|
Copyright: 2010-2011, Christian Johansen
|
|
@@ -289,7 +302,7 @@ Component: lodash, version: 4.17.21
|
|
|
289
302
|
Copyright: OpenJS Foundation and other contributors
|
|
290
303
|
License: MIT
|
|
291
304
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
292
|
-
Contained in: src/sap.ui.core/src/sap/
|
|
305
|
+
Contained in: src/sap.ui.core/src/sap/base/util/restricted/_/lodash.custom.js
|
|
293
306
|
|
|
294
307
|
Component: Hyphenopoly, version: 3.4.0
|
|
295
308
|
Copyright: 2021 Mathias Nater
|
|
@@ -301,13 +314,13 @@ Component: p-cancelable, version: 2.0.0
|
|
|
301
314
|
Copyright: Sindre Sorhus <sindresorhus@gmail.com>
|
|
302
315
|
License: MIT
|
|
303
316
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
304
|
-
Contained in: src/sap.ui.core/src/sap/
|
|
317
|
+
Contained in: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
|
|
305
318
|
|
|
306
319
|
Component: @babel/helpers, version: 7.10.4
|
|
307
320
|
Copyright: 2014-present Sebastian McKenzie and other contributors
|
|
308
321
|
License: MIT
|
|
309
322
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
310
|
-
Contained in: src/sap.ui.core/src/sap/
|
|
323
|
+
Contained in: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
|
|
311
324
|
|
|
312
325
|
Component: Jalaali JS
|
|
313
326
|
Copyright: Behrang Norouzinia
|
|
@@ -407,18 +420,9 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
|
407
420
|
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
|
|
408
421
|
|
|
409
422
|
|
|
410
|
-
Library: sap.ui.mdc:
|
|
411
|
-
|
|
412
|
-
Component: BooleanExpressionEvaluator, version: master-18530acbf3
|
|
413
|
-
Copyright: 2015 unnikked
|
|
414
|
-
License: MIT
|
|
415
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
416
|
-
Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
|
|
417
|
-
|
|
418
|
-
|
|
419
423
|
Library: sap.ui.webc.common:
|
|
420
424
|
|
|
421
|
-
Component: UI5 Web Components, version: 1.
|
|
425
|
+
Component: UI5 Web Components, version: 1.5.0
|
|
422
426
|
Copyright: SAP
|
|
423
427
|
License: Apache-2.0
|
|
424
428
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -429,7 +433,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
|
429
433
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
430
434
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
431
435
|
|
|
432
|
-
Component: lit-html, version: 2.
|
|
436
|
+
Component: lit-html, version: 2.2.2
|
|
433
437
|
Copyright: Google LLC
|
|
434
438
|
License: BSD-3-Clause
|
|
435
439
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -438,16 +442,22 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
|
|
|
438
442
|
|
|
439
443
|
Library: sap.ui.webc.fiori:
|
|
440
444
|
|
|
441
|
-
Component: UI5 Web Components, version: 1.
|
|
445
|
+
Component: UI5 Web Components, version: 1.5.0
|
|
442
446
|
Copyright: SAP
|
|
443
447
|
License: Apache-2.0
|
|
444
448
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
445
449
|
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
|
|
446
450
|
|
|
451
|
+
Component: ZXing, version: 0.19.1
|
|
452
|
+
Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
|
|
453
|
+
License: Apache-2.0
|
|
454
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
455
|
+
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
|
|
456
|
+
|
|
447
457
|
|
|
448
458
|
Library: sap.ui.webc.main:
|
|
449
459
|
|
|
450
|
-
Component: UI5 Web Components, version: 1.
|
|
460
|
+
Component: UI5 Web Components, version: 1.5.0
|
|
451
461
|
Copyright: SAP
|
|
452
462
|
License: Apache-2.0
|
|
453
463
|
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.107.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.107.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.107.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.107.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.107.0
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @ui5-restricted sap.ui.fl
|
|
@@ -196,9 +196,15 @@ function(
|
|
|
196
196
|
*/
|
|
197
197
|
Cache.removeChanges = function(oComponent, aChangeNames) {
|
|
198
198
|
var oEntry = FlexState.getFlexObjectsFromStorageResponse(oComponent.name);
|
|
199
|
+
|
|
200
|
+
if (!oEntry) {
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
|
|
199
204
|
oEntry.changes = oEntry.changes.filter(function(oChange) {
|
|
200
205
|
return aChangeNames.indexOf(oChange.fileName) === -1;
|
|
201
206
|
});
|
|
207
|
+
|
|
202
208
|
var oVariantsState = FlexState.getVariantsState(oComponent.name);
|
|
203
209
|
Object.keys(oVariantsState).forEach(function(sId) {
|
|
204
210
|
oVariantsState[sId].variants.forEach(function(oVariant) {
|
package/src/sap/ui/fl/Change.js
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/
|
|
8
|
+
"sap/base/util/isPlainObject",
|
|
9
9
|
"sap/ui/base/ManagedObject",
|
|
10
|
+
"sap/ui/core/Core",
|
|
10
11
|
"sap/ui/fl/Layer",
|
|
11
12
|
"sap/ui/fl/Utils",
|
|
12
13
|
"sap/ui/fl/LayerUtils",
|
|
@@ -14,10 +15,12 @@ sap.ui.define([
|
|
|
14
15
|
"sap/base/Log",
|
|
15
16
|
"sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes",
|
|
16
17
|
"sap/ui/fl/apply/_internal/flexObjects/States",
|
|
17
|
-
"sap/base/util/includes"
|
|
18
|
+
"sap/base/util/includes",
|
|
19
|
+
"sap/base/util/restricted/_isEqual"
|
|
18
20
|
], function (
|
|
19
|
-
|
|
21
|
+
isPlainObject,
|
|
20
22
|
ManagedObject,
|
|
23
|
+
Core,
|
|
21
24
|
Layer,
|
|
22
25
|
Utils,
|
|
23
26
|
LayerUtils,
|
|
@@ -25,7 +28,8 @@ sap.ui.define([
|
|
|
25
28
|
Log,
|
|
26
29
|
DescriptorChangeTypes,
|
|
27
30
|
States,
|
|
28
|
-
includes
|
|
31
|
+
includes,
|
|
32
|
+
_isEqual
|
|
29
33
|
) {
|
|
30
34
|
"use strict";
|
|
31
35
|
|
|
@@ -44,7 +48,7 @@ sap.ui.define([
|
|
|
44
48
|
constructor: function(oFile) {
|
|
45
49
|
ManagedObject.apply(this);
|
|
46
50
|
|
|
47
|
-
if (!
|
|
51
|
+
if (!isPlainObject(oFile)) {
|
|
48
52
|
Log.error("Constructor : sap.ui.fl.Change : oFile is not defined");
|
|
49
53
|
}
|
|
50
54
|
|
|
@@ -309,7 +313,7 @@ sap.ui.define([
|
|
|
309
313
|
* @public
|
|
310
314
|
*/
|
|
311
315
|
Change.prototype.isVariant = function () {
|
|
312
|
-
return this.
|
|
316
|
+
return this.getFileType() === "variant";
|
|
313
317
|
};
|
|
314
318
|
|
|
315
319
|
/**
|
|
@@ -319,9 +323,7 @@ sap.ui.define([
|
|
|
319
323
|
* @public
|
|
320
324
|
*/
|
|
321
325
|
Change.prototype.getChangeType = function () {
|
|
322
|
-
|
|
323
|
-
return this._oDefinition.changeType;
|
|
324
|
-
}
|
|
326
|
+
return this.getDefinition().changeType;
|
|
325
327
|
};
|
|
326
328
|
|
|
327
329
|
/**
|
|
@@ -331,9 +333,7 @@ sap.ui.define([
|
|
|
331
333
|
* @public
|
|
332
334
|
*/
|
|
333
335
|
Change.prototype.getFileName = function () {
|
|
334
|
-
|
|
335
|
-
return this._oDefinition.fileName;
|
|
336
|
-
}
|
|
336
|
+
return this.getDefinition().fileName;
|
|
337
337
|
};
|
|
338
338
|
|
|
339
339
|
/**
|
|
@@ -343,7 +343,7 @@ sap.ui.define([
|
|
|
343
343
|
* @public
|
|
344
344
|
*/
|
|
345
345
|
Change.prototype.getFileType = function () {
|
|
346
|
-
return this.
|
|
346
|
+
return this.getDefinition().fileType;
|
|
347
347
|
};
|
|
348
348
|
|
|
349
349
|
/**
|
|
@@ -353,7 +353,7 @@ sap.ui.define([
|
|
|
353
353
|
* @public
|
|
354
354
|
*/
|
|
355
355
|
Change.prototype.getPackage = function () {
|
|
356
|
-
return this.
|
|
356
|
+
return this.getDefinition().packageName;
|
|
357
357
|
};
|
|
358
358
|
|
|
359
359
|
/**
|
|
@@ -378,7 +378,7 @@ sap.ui.define([
|
|
|
378
378
|
* @public
|
|
379
379
|
*/
|
|
380
380
|
Change.prototype.getNamespace = function () {
|
|
381
|
-
return this.
|
|
381
|
+
return this.getDefinition().namespace;
|
|
382
382
|
};
|
|
383
383
|
|
|
384
384
|
/**
|
|
@@ -400,7 +400,7 @@ sap.ui.define([
|
|
|
400
400
|
* @public
|
|
401
401
|
*/
|
|
402
402
|
Change.prototype.getModuleName = function () {
|
|
403
|
-
return this.
|
|
403
|
+
return this.getDefinition().moduleName;
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
/**
|
|
@@ -422,7 +422,7 @@ sap.ui.define([
|
|
|
422
422
|
* @public
|
|
423
423
|
*/
|
|
424
424
|
Change.prototype.getProjectId = function () {
|
|
425
|
-
return this.
|
|
425
|
+
return this.getDefinition().projectId;
|
|
426
426
|
};
|
|
427
427
|
|
|
428
428
|
/**
|
|
@@ -432,7 +432,7 @@ sap.ui.define([
|
|
|
432
432
|
* @public
|
|
433
433
|
*/
|
|
434
434
|
Change.prototype.getId = function () {
|
|
435
|
-
return this.
|
|
435
|
+
return this.getDefinition().fileName;
|
|
436
436
|
};
|
|
437
437
|
|
|
438
438
|
/**
|
|
@@ -442,7 +442,7 @@ sap.ui.define([
|
|
|
442
442
|
* @public
|
|
443
443
|
*/
|
|
444
444
|
Change.prototype.getContent = function () {
|
|
445
|
-
return this.
|
|
445
|
+
return this.getDefinition().content;
|
|
446
446
|
};
|
|
447
447
|
|
|
448
448
|
/**
|
|
@@ -453,8 +453,10 @@ sap.ui.define([
|
|
|
453
453
|
* @public
|
|
454
454
|
*/
|
|
455
455
|
Change.prototype.setContent = function (oContent) {
|
|
456
|
-
this._oDefinition.content
|
|
457
|
-
|
|
456
|
+
if (!_isEqual(this._oDefinition.content, oContent)) {
|
|
457
|
+
this._oDefinition.content = oContent;
|
|
458
|
+
this.setState(Change.states.DIRTY);
|
|
459
|
+
}
|
|
458
460
|
};
|
|
459
461
|
|
|
460
462
|
/**
|
|
@@ -464,7 +466,7 @@ sap.ui.define([
|
|
|
464
466
|
* @public
|
|
465
467
|
*/
|
|
466
468
|
Change.prototype.getVariantReference = function () {
|
|
467
|
-
return this.
|
|
469
|
+
return this.getDefinition().variantReference || "";
|
|
468
470
|
};
|
|
469
471
|
|
|
470
472
|
/**
|
|
@@ -486,7 +488,7 @@ sap.ui.define([
|
|
|
486
488
|
* @public
|
|
487
489
|
*/
|
|
488
490
|
Change.prototype.getSelector = function () {
|
|
489
|
-
return this.
|
|
491
|
+
return this.getDefinition().selector;
|
|
490
492
|
};
|
|
491
493
|
|
|
492
494
|
Change.prototype.setSelector = function (oSelector) {
|
|
@@ -505,9 +507,9 @@ sap.ui.define([
|
|
|
505
507
|
if (typeof (sTextId) !== "string") {
|
|
506
508
|
Log.error("sap.ui.fl.Change.getTexts : sTextId is not defined");
|
|
507
509
|
}
|
|
508
|
-
if (this.
|
|
509
|
-
if (this.
|
|
510
|
-
return this.
|
|
510
|
+
if (this.getDefinition().texts) {
|
|
511
|
+
if (this.getDefinition().texts[sTextId]) {
|
|
512
|
+
return this.getDefinition().texts[sTextId].value;
|
|
511
513
|
}
|
|
512
514
|
}
|
|
513
515
|
return "";
|
|
@@ -521,7 +523,10 @@ sap.ui.define([
|
|
|
521
523
|
* @function
|
|
522
524
|
*/
|
|
523
525
|
Change.prototype.getTexts = function () {
|
|
524
|
-
|
|
526
|
+
if (isPlainObject(this.getDefinition().texts)) {
|
|
527
|
+
return Object.assign({}, this.getDefinition().texts);
|
|
528
|
+
}
|
|
529
|
+
return this.getDefinition().texts;
|
|
525
530
|
};
|
|
526
531
|
|
|
527
532
|
/**
|
|
@@ -538,7 +543,7 @@ sap.ui.define([
|
|
|
538
543
|
Log.error("sap.ui.fl.Change.setTexts : sTextId is not defined");
|
|
539
544
|
return;
|
|
540
545
|
}
|
|
541
|
-
this._oDefinition.texts = this.
|
|
546
|
+
this._oDefinition.texts = this.getDefinition().texts || {};
|
|
542
547
|
if (this._oDefinition.texts) {
|
|
543
548
|
if (this._oDefinition.texts[sTextId]) {
|
|
544
549
|
this._oDefinition.texts[sTextId].value = sNewText;
|
|
@@ -562,7 +567,7 @@ sap.ui.define([
|
|
|
562
567
|
* @function
|
|
563
568
|
*/
|
|
564
569
|
Change.prototype.getODataInformation = function () {
|
|
565
|
-
return this.
|
|
570
|
+
return this.getDefinition().oDataInformation;
|
|
566
571
|
};
|
|
567
572
|
|
|
568
573
|
/**
|
|
@@ -637,7 +642,7 @@ sap.ui.define([
|
|
|
637
642
|
* @public
|
|
638
643
|
*/
|
|
639
644
|
Change.prototype.getLayer = function () {
|
|
640
|
-
return this.
|
|
645
|
+
return this.getDefinition().layer;
|
|
641
646
|
};
|
|
642
647
|
|
|
643
648
|
/**
|
|
@@ -647,7 +652,7 @@ sap.ui.define([
|
|
|
647
652
|
* @public
|
|
648
653
|
*/
|
|
649
654
|
Change.prototype.getComponent = function () {
|
|
650
|
-
return this.
|
|
655
|
+
return this.getDefinition().reference;
|
|
651
656
|
};
|
|
652
657
|
|
|
653
658
|
/**
|
|
@@ -669,7 +674,18 @@ sap.ui.define([
|
|
|
669
674
|
* @public
|
|
670
675
|
*/
|
|
671
676
|
Change.prototype.getCreation = function () {
|
|
672
|
-
return this.
|
|
677
|
+
return this.getDefinition().creation;
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Sets the creation timestamp.
|
|
682
|
+
*
|
|
683
|
+
* @param {string} sCreation creation timestamp
|
|
684
|
+
*
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
Change.prototype.setCreation = function (sCreation) {
|
|
688
|
+
this._oDefinition.creation = sCreation;
|
|
673
689
|
};
|
|
674
690
|
|
|
675
691
|
/**
|
|
@@ -810,6 +826,24 @@ sap.ui.define([
|
|
|
810
826
|
return this.getDefinition().dependentSelector && this.getDefinition().dependentSelector.originalSelector;
|
|
811
827
|
};
|
|
812
828
|
|
|
829
|
+
/**
|
|
830
|
+
* Gets the dependent selector.
|
|
831
|
+
*
|
|
832
|
+
* @returns {object|undefined} Dependent selector object if available
|
|
833
|
+
*/
|
|
834
|
+
Change.prototype.getDependentSelector = function() {
|
|
835
|
+
return this.getDefinition().dependentSelector;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Sets the dependent selector.
|
|
840
|
+
*
|
|
841
|
+
* @param {object} oDependentSelector Dependent selector
|
|
842
|
+
*/
|
|
843
|
+
Change.prototype.setDependentSelector = function(oDependentSelector) {
|
|
844
|
+
this._oDefinition.dependentSelector = oDependentSelector;
|
|
845
|
+
};
|
|
846
|
+
|
|
813
847
|
/**
|
|
814
848
|
* Returns all dependent selectors, including the selector from the selector of the change.
|
|
815
849
|
*
|
|
@@ -821,8 +855,8 @@ sap.ui.define([
|
|
|
821
855
|
var aDependentSelectors = [this.getSelector()];
|
|
822
856
|
|
|
823
857
|
if (!this._aDependentSelectorList) {
|
|
824
|
-
if (this.
|
|
825
|
-
Object.keys(this.
|
|
858
|
+
if (this.getDefinition().dependentSelector) {
|
|
859
|
+
Object.keys(this.getDefinition().dependentSelector).some(function(sAlias) {
|
|
826
860
|
// if there is an 'originalSelector' as dependent the change is made inside a template; this means that the
|
|
827
861
|
// dependent selectors point to the specific clones of the template; those clones don't go through the
|
|
828
862
|
// propagation listener and will never be cleaned up from the dependencies, thus blocking the JS Change Applying
|
|
@@ -831,7 +865,7 @@ sap.ui.define([
|
|
|
831
865
|
aDependentSelectors = [this.getSelector()];
|
|
832
866
|
return true;
|
|
833
867
|
}
|
|
834
|
-
var aCurrentSelector = that.
|
|
868
|
+
var aCurrentSelector = that.getDefinition().dependentSelector[sAlias];
|
|
835
869
|
if (!Array.isArray(aCurrentSelector)) {
|
|
836
870
|
aCurrentSelector = [aCurrentSelector];
|
|
837
871
|
}
|
|
@@ -876,6 +910,9 @@ sap.ui.define([
|
|
|
876
910
|
* @public
|
|
877
911
|
*/
|
|
878
912
|
Change.prototype.getRevertData = function() {
|
|
913
|
+
if (isPlainObject(this._vRevertData)) {
|
|
914
|
+
return Object.assign({}, this._vRevertData);
|
|
915
|
+
}
|
|
879
916
|
return this._vRevertData;
|
|
880
917
|
};
|
|
881
918
|
|
|
@@ -910,14 +947,66 @@ sap.ui.define([
|
|
|
910
947
|
this.setRevertData(null);
|
|
911
948
|
};
|
|
912
949
|
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Gets the extension point information.
|
|
953
|
+
* @returns {*} Extension point information
|
|
954
|
+
*/
|
|
913
955
|
Change.prototype.getExtensionPointInfo = function() {
|
|
956
|
+
if (isPlainObject(this._oExtensionPointInfo)) {
|
|
957
|
+
return Object.assign({}, this._oExtensionPointInfo);
|
|
958
|
+
}
|
|
914
959
|
return this._oExtensionPointInfo;
|
|
915
960
|
};
|
|
916
961
|
|
|
962
|
+
/**
|
|
963
|
+
* Sets the extension point information.
|
|
964
|
+
* @param {*} oExtensionPointInfo Extension point information
|
|
965
|
+
*/
|
|
917
966
|
Change.prototype.setExtensionPointInfo = function(oExtensionPointInfo) {
|
|
918
967
|
this._oExtensionPointInfo = oExtensionPointInfo;
|
|
919
968
|
};
|
|
920
969
|
|
|
970
|
+
/**
|
|
971
|
+
* Gets the support information.
|
|
972
|
+
* @returns {object} Support information
|
|
973
|
+
*/
|
|
974
|
+
Change.prototype.getSupportInformation = function() {
|
|
975
|
+
return Object.assign({}, this._oDefinition.support);
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Sets the support information.
|
|
980
|
+
* @param {object} oChangeSupportInformation Support information
|
|
981
|
+
*/
|
|
982
|
+
Change.prototype.setSupportInformation = function(oChangeSupportInformation) {
|
|
983
|
+
this._oDefinition.support = oChangeSupportInformation;
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Gets the JSOnly property.
|
|
988
|
+
* @returns {boolean} True if the change is JSOnly
|
|
989
|
+
*/
|
|
990
|
+
Change.prototype.getJsOnly = function() {
|
|
991
|
+
return this.getDefinition().jsOnly;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* Sets the JSOnly property.
|
|
996
|
+
* @param {boolean} bJsOnly Value to be set
|
|
997
|
+
*/
|
|
998
|
+
Change.prototype.setJsOnly = function(bJsOnly) {
|
|
999
|
+
this._oDefinition.jsOnly = bJsOnly;
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Returns the appDescriptorChange flag.
|
|
1004
|
+
* @returns {boolean} True if the change is an appDescriptor change
|
|
1005
|
+
*/
|
|
1006
|
+
Change.prototype.isAppDescriptorChange = function() {
|
|
1007
|
+
return this.getDefinition().appDescriptorChange;
|
|
1008
|
+
};
|
|
1009
|
+
|
|
921
1010
|
/**
|
|
922
1011
|
* Creates and returns an instance of a change instance.
|
|
923
1012
|
*
|
|
@@ -983,7 +1072,7 @@ sap.ui.define([
|
|
|
983
1072
|
generator: oPropertyBag.generator || "Change.createInitialFileContent",
|
|
984
1073
|
service: oPropertyBag.service || "",
|
|
985
1074
|
user: "",
|
|
986
|
-
sapui5Version:
|
|
1075
|
+
sapui5Version: Core.getConfiguration().getVersion().toString(),
|
|
987
1076
|
sourceChangeFileName: oPropertyBag.support && oPropertyBag.support.sourceChangeFileName || "",
|
|
988
1077
|
compositeCommand: oPropertyBag.support && oPropertyBag.support.compositeCommand || "",
|
|
989
1078
|
command: oPropertyBag.command || oPropertyBag.support && oPropertyBag.support.command || ""
|