@openui5/sap.ui.fl 1.105.0 → 1.106.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 +8 -2
- package/src/sap/ui/fl/Change.js +117 -32
- package/src/sap/ui/fl/ChangePersistence.js +34 -18
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- 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 +4 -6
- 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 +12 -11
- 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/extensionPoint/Processor.js +1 -1
- 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 +1 -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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
- package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/fl/changeHandler/Base.js +1 -1
- 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 +1 -1
- package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
- package/src/sap/ui/fl/changeHandler/MoveControls.js +5 -3
- 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 +1 -1
- 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/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 +1 -1
- 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/LrepConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +15 -2
- 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 +43 -46
- 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_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 +1 -1
- 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 +5 -1
- package/src/sap/ui/fl/variants/VariantModel.js +8 -8
- package/src/sap/ui/fl/variants/context/Component.js +3 -0
- package/src/sap/ui/fl/write/_internal/Storage.js +7 -7
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
- package/src/sap/ui/fl/write/_internal/Versions.js +1 -1
- 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 +3 -3
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -6
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +5 -5
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
- 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 +1 -1
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +7 -13
- 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/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/.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.106.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.106.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.106.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.106.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.106.0
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @ui5-restricted sap.ui.fl
|
|
@@ -196,14 +196,20 @@ 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) {
|
|
205
211
|
oVariant.controlChanges = oVariant.controlChanges.filter(function(oChange) {
|
|
206
|
-
return aChangeNames.indexOf(oChange.
|
|
212
|
+
return aChangeNames.indexOf(oChange.getId()) === -1;
|
|
207
213
|
});
|
|
208
214
|
});
|
|
209
215
|
});
|
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",
|
|
@@ -16,8 +17,9 @@ sap.ui.define([
|
|
|
16
17
|
"sap/ui/fl/apply/_internal/flexObjects/States",
|
|
17
18
|
"sap/base/util/includes"
|
|
18
19
|
], function (
|
|
19
|
-
|
|
20
|
+
isPlainObject,
|
|
20
21
|
ManagedObject,
|
|
22
|
+
Core,
|
|
21
23
|
Layer,
|
|
22
24
|
Utils,
|
|
23
25
|
LayerUtils,
|
|
@@ -44,7 +46,7 @@ sap.ui.define([
|
|
|
44
46
|
constructor: function(oFile) {
|
|
45
47
|
ManagedObject.apply(this);
|
|
46
48
|
|
|
47
|
-
if (!
|
|
49
|
+
if (!isPlainObject(oFile)) {
|
|
48
50
|
Log.error("Constructor : sap.ui.fl.Change : oFile is not defined");
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -309,7 +311,7 @@ sap.ui.define([
|
|
|
309
311
|
* @public
|
|
310
312
|
*/
|
|
311
313
|
Change.prototype.isVariant = function () {
|
|
312
|
-
return this.
|
|
314
|
+
return this.getFileType() === "variant";
|
|
313
315
|
};
|
|
314
316
|
|
|
315
317
|
/**
|
|
@@ -319,9 +321,7 @@ sap.ui.define([
|
|
|
319
321
|
* @public
|
|
320
322
|
*/
|
|
321
323
|
Change.prototype.getChangeType = function () {
|
|
322
|
-
|
|
323
|
-
return this._oDefinition.changeType;
|
|
324
|
-
}
|
|
324
|
+
return this.getDefinition().changeType;
|
|
325
325
|
};
|
|
326
326
|
|
|
327
327
|
/**
|
|
@@ -331,9 +331,7 @@ sap.ui.define([
|
|
|
331
331
|
* @public
|
|
332
332
|
*/
|
|
333
333
|
Change.prototype.getFileName = function () {
|
|
334
|
-
|
|
335
|
-
return this._oDefinition.fileName;
|
|
336
|
-
}
|
|
334
|
+
return this.getDefinition().fileName;
|
|
337
335
|
};
|
|
338
336
|
|
|
339
337
|
/**
|
|
@@ -343,7 +341,7 @@ sap.ui.define([
|
|
|
343
341
|
* @public
|
|
344
342
|
*/
|
|
345
343
|
Change.prototype.getFileType = function () {
|
|
346
|
-
return this.
|
|
344
|
+
return this.getDefinition().fileType;
|
|
347
345
|
};
|
|
348
346
|
|
|
349
347
|
/**
|
|
@@ -353,7 +351,7 @@ sap.ui.define([
|
|
|
353
351
|
* @public
|
|
354
352
|
*/
|
|
355
353
|
Change.prototype.getPackage = function () {
|
|
356
|
-
return this.
|
|
354
|
+
return this.getDefinition().packageName;
|
|
357
355
|
};
|
|
358
356
|
|
|
359
357
|
/**
|
|
@@ -378,7 +376,7 @@ sap.ui.define([
|
|
|
378
376
|
* @public
|
|
379
377
|
*/
|
|
380
378
|
Change.prototype.getNamespace = function () {
|
|
381
|
-
return this.
|
|
379
|
+
return this.getDefinition().namespace;
|
|
382
380
|
};
|
|
383
381
|
|
|
384
382
|
/**
|
|
@@ -400,7 +398,7 @@ sap.ui.define([
|
|
|
400
398
|
* @public
|
|
401
399
|
*/
|
|
402
400
|
Change.prototype.getModuleName = function () {
|
|
403
|
-
return this.
|
|
401
|
+
return this.getDefinition().moduleName;
|
|
404
402
|
};
|
|
405
403
|
|
|
406
404
|
/**
|
|
@@ -422,7 +420,7 @@ sap.ui.define([
|
|
|
422
420
|
* @public
|
|
423
421
|
*/
|
|
424
422
|
Change.prototype.getProjectId = function () {
|
|
425
|
-
return this.
|
|
423
|
+
return this.getDefinition().projectId;
|
|
426
424
|
};
|
|
427
425
|
|
|
428
426
|
/**
|
|
@@ -432,7 +430,7 @@ sap.ui.define([
|
|
|
432
430
|
* @public
|
|
433
431
|
*/
|
|
434
432
|
Change.prototype.getId = function () {
|
|
435
|
-
return this.
|
|
433
|
+
return this.getDefinition().fileName;
|
|
436
434
|
};
|
|
437
435
|
|
|
438
436
|
/**
|
|
@@ -442,7 +440,7 @@ sap.ui.define([
|
|
|
442
440
|
* @public
|
|
443
441
|
*/
|
|
444
442
|
Change.prototype.getContent = function () {
|
|
445
|
-
return this.
|
|
443
|
+
return this.getDefinition().content;
|
|
446
444
|
};
|
|
447
445
|
|
|
448
446
|
/**
|
|
@@ -464,7 +462,7 @@ sap.ui.define([
|
|
|
464
462
|
* @public
|
|
465
463
|
*/
|
|
466
464
|
Change.prototype.getVariantReference = function () {
|
|
467
|
-
return this.
|
|
465
|
+
return this.getDefinition().variantReference || "";
|
|
468
466
|
};
|
|
469
467
|
|
|
470
468
|
/**
|
|
@@ -486,7 +484,7 @@ sap.ui.define([
|
|
|
486
484
|
* @public
|
|
487
485
|
*/
|
|
488
486
|
Change.prototype.getSelector = function () {
|
|
489
|
-
return this.
|
|
487
|
+
return this.getDefinition().selector;
|
|
490
488
|
};
|
|
491
489
|
|
|
492
490
|
Change.prototype.setSelector = function (oSelector) {
|
|
@@ -505,9 +503,9 @@ sap.ui.define([
|
|
|
505
503
|
if (typeof (sTextId) !== "string") {
|
|
506
504
|
Log.error("sap.ui.fl.Change.getTexts : sTextId is not defined");
|
|
507
505
|
}
|
|
508
|
-
if (this.
|
|
509
|
-
if (this.
|
|
510
|
-
return this.
|
|
506
|
+
if (this.getDefinition().texts) {
|
|
507
|
+
if (this.getDefinition().texts[sTextId]) {
|
|
508
|
+
return this.getDefinition().texts[sTextId].value;
|
|
511
509
|
}
|
|
512
510
|
}
|
|
513
511
|
return "";
|
|
@@ -521,7 +519,10 @@ sap.ui.define([
|
|
|
521
519
|
* @function
|
|
522
520
|
*/
|
|
523
521
|
Change.prototype.getTexts = function () {
|
|
524
|
-
|
|
522
|
+
if (isPlainObject(this.getDefinition().texts)) {
|
|
523
|
+
return Object.assign({}, this.getDefinition().texts);
|
|
524
|
+
}
|
|
525
|
+
return this.getDefinition().texts;
|
|
525
526
|
};
|
|
526
527
|
|
|
527
528
|
/**
|
|
@@ -538,7 +539,7 @@ sap.ui.define([
|
|
|
538
539
|
Log.error("sap.ui.fl.Change.setTexts : sTextId is not defined");
|
|
539
540
|
return;
|
|
540
541
|
}
|
|
541
|
-
this._oDefinition.texts = this.
|
|
542
|
+
this._oDefinition.texts = this.getDefinition().texts || {};
|
|
542
543
|
if (this._oDefinition.texts) {
|
|
543
544
|
if (this._oDefinition.texts[sTextId]) {
|
|
544
545
|
this._oDefinition.texts[sTextId].value = sNewText;
|
|
@@ -562,7 +563,7 @@ sap.ui.define([
|
|
|
562
563
|
* @function
|
|
563
564
|
*/
|
|
564
565
|
Change.prototype.getODataInformation = function () {
|
|
565
|
-
return this.
|
|
566
|
+
return this.getDefinition().oDataInformation;
|
|
566
567
|
};
|
|
567
568
|
|
|
568
569
|
/**
|
|
@@ -637,7 +638,7 @@ sap.ui.define([
|
|
|
637
638
|
* @public
|
|
638
639
|
*/
|
|
639
640
|
Change.prototype.getLayer = function () {
|
|
640
|
-
return this.
|
|
641
|
+
return this.getDefinition().layer;
|
|
641
642
|
};
|
|
642
643
|
|
|
643
644
|
/**
|
|
@@ -647,7 +648,7 @@ sap.ui.define([
|
|
|
647
648
|
* @public
|
|
648
649
|
*/
|
|
649
650
|
Change.prototype.getComponent = function () {
|
|
650
|
-
return this.
|
|
651
|
+
return this.getDefinition().reference;
|
|
651
652
|
};
|
|
652
653
|
|
|
653
654
|
/**
|
|
@@ -669,7 +670,18 @@ sap.ui.define([
|
|
|
669
670
|
* @public
|
|
670
671
|
*/
|
|
671
672
|
Change.prototype.getCreation = function () {
|
|
672
|
-
return this.
|
|
673
|
+
return this.getDefinition().creation;
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Sets the creation timestamp.
|
|
678
|
+
*
|
|
679
|
+
* @param {string} sCreation creation timestamp
|
|
680
|
+
*
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
683
|
+
Change.prototype.setCreation = function (sCreation) {
|
|
684
|
+
this._oDefinition.creation = sCreation;
|
|
673
685
|
};
|
|
674
686
|
|
|
675
687
|
/**
|
|
@@ -810,6 +822,24 @@ sap.ui.define([
|
|
|
810
822
|
return this.getDefinition().dependentSelector && this.getDefinition().dependentSelector.originalSelector;
|
|
811
823
|
};
|
|
812
824
|
|
|
825
|
+
/**
|
|
826
|
+
* Gets the dependent selector.
|
|
827
|
+
*
|
|
828
|
+
* @returns {object|undefined} Dependent selector object if available
|
|
829
|
+
*/
|
|
830
|
+
Change.prototype.getDependentSelector = function() {
|
|
831
|
+
return this.getDefinition().dependentSelector;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Sets the dependent selector.
|
|
836
|
+
*
|
|
837
|
+
* @param {object} oDependentSelector Dependent selector
|
|
838
|
+
*/
|
|
839
|
+
Change.prototype.setDependentSelector = function(oDependentSelector) {
|
|
840
|
+
this._oDefinition.dependentSelector = oDependentSelector;
|
|
841
|
+
};
|
|
842
|
+
|
|
813
843
|
/**
|
|
814
844
|
* Returns all dependent selectors, including the selector from the selector of the change.
|
|
815
845
|
*
|
|
@@ -821,8 +851,8 @@ sap.ui.define([
|
|
|
821
851
|
var aDependentSelectors = [this.getSelector()];
|
|
822
852
|
|
|
823
853
|
if (!this._aDependentSelectorList) {
|
|
824
|
-
if (this.
|
|
825
|
-
Object.keys(this.
|
|
854
|
+
if (this.getDefinition().dependentSelector) {
|
|
855
|
+
Object.keys(this.getDefinition().dependentSelector).some(function(sAlias) {
|
|
826
856
|
// if there is an 'originalSelector' as dependent the change is made inside a template; this means that the
|
|
827
857
|
// dependent selectors point to the specific clones of the template; those clones don't go through the
|
|
828
858
|
// propagation listener and will never be cleaned up from the dependencies, thus blocking the JS Change Applying
|
|
@@ -831,7 +861,7 @@ sap.ui.define([
|
|
|
831
861
|
aDependentSelectors = [this.getSelector()];
|
|
832
862
|
return true;
|
|
833
863
|
}
|
|
834
|
-
var aCurrentSelector = that.
|
|
864
|
+
var aCurrentSelector = that.getDefinition().dependentSelector[sAlias];
|
|
835
865
|
if (!Array.isArray(aCurrentSelector)) {
|
|
836
866
|
aCurrentSelector = [aCurrentSelector];
|
|
837
867
|
}
|
|
@@ -876,6 +906,9 @@ sap.ui.define([
|
|
|
876
906
|
* @public
|
|
877
907
|
*/
|
|
878
908
|
Change.prototype.getRevertData = function() {
|
|
909
|
+
if (isPlainObject(this._vRevertData)) {
|
|
910
|
+
return Object.assign({}, this._vRevertData);
|
|
911
|
+
}
|
|
879
912
|
return this._vRevertData;
|
|
880
913
|
};
|
|
881
914
|
|
|
@@ -910,14 +943,66 @@ sap.ui.define([
|
|
|
910
943
|
this.setRevertData(null);
|
|
911
944
|
};
|
|
912
945
|
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Gets the extension point information.
|
|
949
|
+
* @returns {*} Extension point information
|
|
950
|
+
*/
|
|
913
951
|
Change.prototype.getExtensionPointInfo = function() {
|
|
952
|
+
if (isPlainObject(this._oExtensionPointInfo)) {
|
|
953
|
+
return Object.assign({}, this._oExtensionPointInfo);
|
|
954
|
+
}
|
|
914
955
|
return this._oExtensionPointInfo;
|
|
915
956
|
};
|
|
916
957
|
|
|
958
|
+
/**
|
|
959
|
+
* Sets the extension point information.
|
|
960
|
+
* @param {*} oExtensionPointInfo Extension point information
|
|
961
|
+
*/
|
|
917
962
|
Change.prototype.setExtensionPointInfo = function(oExtensionPointInfo) {
|
|
918
963
|
this._oExtensionPointInfo = oExtensionPointInfo;
|
|
919
964
|
};
|
|
920
965
|
|
|
966
|
+
/**
|
|
967
|
+
* Gets the support information.
|
|
968
|
+
* @returns {object} Support information
|
|
969
|
+
*/
|
|
970
|
+
Change.prototype.getSupportInformation = function() {
|
|
971
|
+
return Object.assign({}, this._oDefinition.support);
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Sets the support information.
|
|
976
|
+
* @param {object} oChangeSupportInformation Support information
|
|
977
|
+
*/
|
|
978
|
+
Change.prototype.setSupportInformation = function(oChangeSupportInformation) {
|
|
979
|
+
this._oDefinition.support = oChangeSupportInformation;
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Gets the JSOnly property.
|
|
984
|
+
* @returns {boolean} True if the change is JSOnly
|
|
985
|
+
*/
|
|
986
|
+
Change.prototype.getJsOnly = function() {
|
|
987
|
+
return this.getDefinition().jsOnly;
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Sets the JSOnly property.
|
|
992
|
+
* @param {boolean} bJsOnly Value to be set
|
|
993
|
+
*/
|
|
994
|
+
Change.prototype.setJsOnly = function(bJsOnly) {
|
|
995
|
+
this._oDefinition.jsOnly = bJsOnly;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Returns the appDescriptorChange flag.
|
|
1000
|
+
* @returns {boolean} True if the change is an appDescriptor change
|
|
1001
|
+
*/
|
|
1002
|
+
Change.prototype.isAppDescriptorChange = function() {
|
|
1003
|
+
return this.getDefinition().appDescriptorChange;
|
|
1004
|
+
};
|
|
1005
|
+
|
|
921
1006
|
/**
|
|
922
1007
|
* Creates and returns an instance of a change instance.
|
|
923
1008
|
*
|
|
@@ -983,7 +1068,7 @@ sap.ui.define([
|
|
|
983
1068
|
generator: oPropertyBag.generator || "Change.createInitialFileContent",
|
|
984
1069
|
service: oPropertyBag.service || "",
|
|
985
1070
|
user: "",
|
|
986
|
-
sapui5Version:
|
|
1071
|
+
sapui5Version: Core.getConfiguration().getVersion().toString(),
|
|
987
1072
|
sourceChangeFileName: oPropertyBag.support && oPropertyBag.support.sourceChangeFileName || "",
|
|
988
1073
|
compositeCommand: oPropertyBag.support && oPropertyBag.support.compositeCommand || "",
|
|
989
1074
|
command: oPropertyBag.command || oPropertyBag.support && oPropertyBag.support.command || ""
|