@openui5/sap.ui.rta 1.143.0 → 1.144.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/THIRDPARTY.txt +1 -1
- package/package.json +6 -6
- package/src/sap/ui/rta/.library +2 -2
- package/src/sap/ui/rta/Client.js +2 -2
- package/src/sap/ui/rta/RuntimeAuthoring.js +19 -8
- package/src/sap/ui/rta/Utils.js +24 -2
- package/src/sap/ui/rta/api/startAdaptation.js +1 -1
- package/src/sap/ui/rta/api/startKeyUserAdaptation.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +2 -2
- package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
- package/src/sap/ui/rta/appVariant/Feature.js +1 -1
- package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
- package/src/sap/ui/rta/appVariant/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
- package/src/sap/ui/rta/command/AddIFrame.js +2 -2
- package/src/sap/ui/rta/command/AddProperty.js +2 -2
- package/src/sap/ui/rta/command/AddXML.js +2 -2
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/rta/command/AnnotationCommand.js +2 -2
- package/src/sap/ui/rta/command/BaseCommand.js +2 -2
- package/src/sap/ui/rta/command/BindProperty.js +2 -2
- package/src/sap/ui/rta/command/Combine.js +2 -2
- package/src/sap/ui/rta/command/CommandFactory.js +2 -2
- package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +2 -2
- package/src/sap/ui/rta/command/CreateContainer.js +2 -2
- package/src/sap/ui/rta/command/CustomAdd.js +2 -2
- package/src/sap/ui/rta/command/ExtendControllerCommand.js +2 -2
- package/src/sap/ui/rta/command/FlexCommand.js +2 -2
- package/src/sap/ui/rta/command/LREPSerializer.js +2 -2
- package/src/sap/ui/rta/command/LocalReset.js +2 -2
- package/src/sap/ui/rta/command/ManifestCommand.js +2 -2
- package/src/sap/ui/rta/command/Move.js +2 -2
- package/src/sap/ui/rta/command/Property.js +2 -2
- package/src/sap/ui/rta/command/Remove.js +2 -2
- package/src/sap/ui/rta/command/Rename.js +2 -2
- package/src/sap/ui/rta/command/Resize.js +2 -2
- package/src/sap/ui/rta/command/Reveal.js +2 -2
- package/src/sap/ui/rta/command/Settings.js +2 -2
- package/src/sap/ui/rta/command/Split.js +2 -2
- package/src/sap/ui/rta/command/Stack.js +23 -18
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
- package/src/sap/ui/rta/command/manifest/AddLibrary.js +2 -2
- package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +3 -3
- package/src/sap/ui/rta/library.js +3 -3
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/rta/plugin/AddXMLPlugin.js +8 -6
- package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
- package/src/sap/ui/rta/plugin/Combine.js +2 -2
- package/src/sap/ui/rta/plugin/CompVariant.js +1 -1
- package/src/sap/ui/rta/plugin/ControlVariant.js +2 -3
- package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
- package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
- package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
- package/src/sap/ui/rta/plugin/ExtendControllerPlugin.js +13 -4
- package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
- package/src/sap/ui/rta/plugin/Plugin.js +3 -3
- package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
- package/src/sap/ui/rta/plugin/Remove.js +2 -2
- package/src/sap/ui/rta/plugin/Resize.js +2 -2
- package/src/sap/ui/rta/plugin/Selection.js +2 -2
- package/src/sap/ui/rta/plugin/Settings.js +2 -2
- package/src/sap/ui/rta/plugin/Split.js +2 -2
- package/src/sap/ui/rta/plugin/Stretch.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.fragment.xml +1 -0
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +4 -6
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +1 -1
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +2 -2
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +16 -4
- package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +2 -2
- package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +10 -6
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +11 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +17 -5
- package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
- package/src/sap/ui/rta/plugin/rename/Rename.js +2 -2
- package/src/sap/ui/rta/plugin/rename/RenameDialog.js +2 -2
- package/src/sap/ui/rta/service/Action.js +2 -2
- package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
- package/src/sap/ui/rta/service/Outline.js +2 -2
- package/src/sap/ui/rta/service/Property.js +2 -2
- package/src/sap/ui/rta/service/Receiver.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +2 -2
- package/src/sap/ui/rta/service/SupportTools.js +2 -2
- package/src/sap/ui/rta/service/index.js +1 -1
- package/src/sap/ui/rta/themes/base/AddIFrame.less +40 -70
- package/src/sap/ui/rta/themes/base/ChangeVisualization.less +23 -20
- package/src/sap/ui/rta/themes/base/ContextMenu.less +10 -13
- package/src/sap/ui/rta/themes/base/Dialogs.less +26 -40
- package/src/sap/ui/rta/themes/base/FieldRepository.less +10 -17
- package/src/sap/ui/rta/themes/base/FlexSupportExtension.less +15 -13
- package/src/sap/ui/rta/themes/base/MessageBox.less +5 -3
- package/src/sap/ui/rta/themes/base/Overlay.less +32 -25
- package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +25 -11
- package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +53 -40
- package/src/sap/ui/rta/themes/base/Toolbar.base.less +14 -18
- package/src/sap/ui/rta/themes/base/Toolbar.fiori.less +6 -1
- package/src/sap/ui/rta/themes/base/Toolbar.standalone.less +7 -5
- package/src/sap/ui/rta/themes/base/WhatsNew.less +6 -5
- package/src/sap/ui/rta/themes/base/library.source.less +1 -1
- package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +2 -2
- package/src/sap/ui/rta/toolbar/Adaptation.js +3 -3
- package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Base.js +2 -2
- package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
- package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
- package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
- package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
- package/src/sap/ui/rta/util/Animation.js +1 -1
- package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +2 -2
- package/src/sap/ui/rta/util/PopupManager.js +2 -2
- package/src/sap/ui/rta/util/ReloadManager.js +2 -2
- package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
- package/src/sap/ui/rta/util/ServiceManager.js +2 -2
- package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/resolveBinding.js +2 -2
- package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +2 -2
- package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +1 -1
- package/src/sap/ui/rta/util/hasStableId.js +1 -1
- package/src/sap/ui/rta/util/isReuseComponent.js +1 -1
- package/src/sap/ui/rta/util/showMessageBox.js +1 -1
- package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
- package/src/sap/ui/rta/util/validateStableIds.js +1 -1
- package/src/sap/ui/rta/util/validateText.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +31 -6
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +3 -11
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.144.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.90
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.144.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -17,7 +17,7 @@ function(
|
|
|
17
17
|
* @class
|
|
18
18
|
* @extends sap.ui.rta.command.FlexCommand
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.144.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @class
|
|
17
17
|
* @extends sap.ui.rta.command.FlexCommand
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.144.0
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.144.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.42
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.144.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @class
|
|
17
17
|
* @extends sap.ui.rta.command.FlexCommand
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.144.0
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.101
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.144.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.44
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.144.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.44
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
* @class
|
|
15
15
|
* @extends sap.ui.rta.command.FlexCommand
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.144.0
|
|
18
18
|
* @constructor
|
|
19
19
|
* @private
|
|
20
20
|
* @since 1.46
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -84,7 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
* @class
|
|
85
85
|
* @extends sap.ui.base.ManagedObject
|
|
86
86
|
* @author SAP SE
|
|
87
|
-
* @version 1.
|
|
87
|
+
* @version 1.144.0
|
|
88
88
|
* @constructor
|
|
89
89
|
* @private
|
|
90
90
|
* @since 1.34
|
|
@@ -219,8 +219,11 @@ sap.ui.define([
|
|
|
219
219
|
return oRemovedCommand;
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
-
Stack.prototype.removeAllCommands = function(bSuppressInvalidate) {
|
|
222
|
+
Stack.prototype.removeAllCommands = function(bSuppressInvalidate, bRemoveChangesFromPersistence) {
|
|
223
223
|
const aCommands = this.removeAllAggregation("commands", bSuppressInvalidate);
|
|
224
|
+
if (bRemoveChangesFromPersistence) {
|
|
225
|
+
removeCommandChangesFromPersistence.call(this, aCommands);
|
|
226
|
+
}
|
|
224
227
|
this._toBeExecuted = -1;
|
|
225
228
|
this.fireModified();
|
|
226
229
|
return aCommands;
|
|
@@ -265,21 +268,23 @@ sap.ui.define([
|
|
|
265
268
|
}
|
|
266
269
|
}
|
|
267
270
|
|
|
268
|
-
function removeCommandChangesFromPersistence(
|
|
271
|
+
function removeCommandChangesFromPersistence(aCommands) {
|
|
269
272
|
let oAppComponent;
|
|
270
273
|
const aFlexObjects = [];
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|| oSubCommand
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
274
|
+
aCommands.forEach((oCommand) => {
|
|
275
|
+
const aSubCommands = this.getSubCommands(oCommand);
|
|
276
|
+
aSubCommands.forEach((oSubCommand) => {
|
|
277
|
+
// for revertable changes which don't belong to LREP (variantSwitch) or runtime only changes
|
|
278
|
+
if (!(oSubCommand instanceof FlexCommand || oSubCommand instanceof ManifestCommand)
|
|
279
|
+
|| oSubCommand.getRuntimeOnly()) {
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
const oChange = oSubCommand.getPreparedChange();
|
|
283
|
+
oAppComponent = oSubCommand.getAppComponent();
|
|
284
|
+
if (oAppComponent) {
|
|
285
|
+
aFlexObjects.push(oChange);
|
|
286
|
+
}
|
|
287
|
+
});
|
|
283
288
|
});
|
|
284
289
|
if (oAppComponent) {
|
|
285
290
|
PersistenceWriteAPI.remove({
|
|
@@ -313,7 +318,7 @@ sap.ui.define([
|
|
|
313
318
|
oError.command = this.removeCommand(this._toBeExecuted); // remove failing command
|
|
314
319
|
this._toBeExecuted--;
|
|
315
320
|
// Remove Flex Changes for failed command from persistence
|
|
316
|
-
removeCommandChangesFromPersistence.call(this, oError.command);
|
|
321
|
+
removeCommandChangesFromPersistence.call(this, [oError.command]);
|
|
317
322
|
const oRtaResourceBundle = Lib.getResourceBundleFor("sap.ui.rta");
|
|
318
323
|
// AddXMLAtExtensionPoint errors explain to the user what they did wrong, so they shouldn't open an incident
|
|
319
324
|
const sErrorMessage = oCommand.isA("sap.ui.rta.command.AddXMLAtExtensionPoint") ?
|
|
@@ -346,7 +351,7 @@ sap.ui.define([
|
|
|
346
351
|
const aDiscardedChanges = oCommand.getDiscardedChanges?.();
|
|
347
352
|
if (oCommand) {
|
|
348
353
|
await oCommand.undo();
|
|
349
|
-
removeCommandChangesFromPersistence.call(this, oCommand);
|
|
354
|
+
removeCommandChangesFromPersistence.call(this, [oCommand]);
|
|
350
355
|
if (aDiscardedChanges) {
|
|
351
356
|
handleDiscardedChanges.call(this, aDiscardedChanges, true);
|
|
352
357
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.144.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.102
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.144.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.87
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* @class
|
|
19
19
|
* @extends sap.ui.rta.command.BaseCommand
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.144.0
|
|
22
22
|
* @constructor
|
|
23
23
|
* @private
|
|
24
24
|
* @since 1.87
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @class
|
|
23
23
|
* @extends sap.ui.rta.command.BaseCommand
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.144.0
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @since 1.87
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.ui.rta.command.ManifestCommand
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.144.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* global QUnit */
|
|
2
2
|
/*!
|
|
3
3
|
* OpenUI5
|
|
4
|
-
* (c) Copyright
|
|
4
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* E.g. <code>elementActionTest.only("Remove");</code>
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.144.0
|
|
69
69
|
*
|
|
70
70
|
* @static
|
|
71
71
|
* @since 1.42
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* @param {string} sMsg - Name of QUnit test - e.g. Checking the move action for a VerticalLayout control
|
|
75
75
|
* @param {object} mOptions - Configuration for this elementActionTest
|
|
76
76
|
* @param {string} [mOptions.layer] - Flex layer used during testing, use it in case actions are enabled for other layers then CUSTOMER
|
|
77
|
-
* @param {string|object} mOptions.xmlView - XML view content or all settings available to sap.ui.
|
|
77
|
+
* @param {string|object} mOptions.xmlView - XML view content or all settings available to sap.ui.xmlview, to have a view to apply the action
|
|
78
78
|
* @param {sap.ui.model.Model} [mOptions.model] - Any model to be assigned on the view
|
|
79
79
|
* @param {string} [mOptions.placeAt="qunit-fixture"] - Id of tag to place view at runtime
|
|
80
80
|
* @param {boolean} [mOptions.jsOnly] - Set to true, if change handler cannot work on xml view
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -22,14 +22,14 @@ sap.ui.define([
|
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.rta
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.144.0
|
|
26
26
|
* @since 1.50
|
|
27
27
|
* @private
|
|
28
28
|
*/
|
|
29
29
|
var thisLib = Lib.init({
|
|
30
30
|
name: "sap.ui.rta",
|
|
31
31
|
apiVersion: 2,
|
|
32
|
-
version: "1.
|
|
32
|
+
version: "1.144.0",
|
|
33
33
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
34
34
|
types: [],
|
|
35
35
|
interfaces: [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @class
|
|
50
50
|
* @extends sap.ui.rta.plugin.Plugin
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.144.0
|
|
53
53
|
* @constructor
|
|
54
54
|
* @private
|
|
55
55
|
* @since 1.78
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @class
|
|
38
38
|
* @extends sap.ui.rta.plugin.Plugin
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.144.0
|
|
41
41
|
* @constructor
|
|
42
42
|
* @private
|
|
43
43
|
* @since 1.134
|
|
@@ -59,7 +59,8 @@ sap.ui.define([
|
|
|
59
59
|
const FLEX_CHANGE_TYPE = "addXML";
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Check if the given overlay
|
|
62
|
+
* Check if the given overlay should be editable. This action is available by default,
|
|
63
|
+
* disabling it requires explicitly setting it to null in the designtime metadata.
|
|
63
64
|
*
|
|
64
65
|
* @param {sap.ui.dt.ElementOverlay} oOverlay - Overlay to be checked for editable
|
|
65
66
|
* @returns {Promise<boolean>} <code>true</code> when editable wrapped in a promise
|
|
@@ -68,9 +69,7 @@ sap.ui.define([
|
|
|
68
69
|
AddXML.prototype._isEditable = async function(oOverlay) {
|
|
69
70
|
// Action should be available by default
|
|
70
71
|
const oAddXMLAction = this.getAction(oOverlay);
|
|
71
|
-
if (
|
|
72
|
-
oAddXMLAction === null
|
|
73
|
-
) {
|
|
72
|
+
if (oAddXMLAction === null) {
|
|
74
73
|
return Promise.resolve(false);
|
|
75
74
|
}
|
|
76
75
|
const bHasChangeHandler = await this.hasChangeHandler(FLEX_CHANGE_TYPE, oOverlay.getElement());
|
|
@@ -184,6 +183,9 @@ sap.ui.define([
|
|
|
184
183
|
*/
|
|
185
184
|
AddXML.prototype.getAction = function(oOverlay) {
|
|
186
185
|
const oAction = Plugin.prototype.getAction.apply(this, [oOverlay]);
|
|
186
|
+
if (oAction === null) {
|
|
187
|
+
return null;
|
|
188
|
+
}
|
|
187
189
|
return oAction || { changeType: FLEX_CHANGE_TYPE };
|
|
188
190
|
};
|
|
189
191
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class The BaseCreate allows trigger BaseCreate operations on the overlay.
|
|
26
26
|
* @extends sap.ui.rta.plugin.Plugin
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.144.0
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.75
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class
|
|
26
26
|
* @extends sap.ui.rta.plugin.Plugin
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.144.0
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.46
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @class The ControlVariant allows propagation of variantManagement key
|
|
52
52
|
* @extends sap.ui.rta.plugin.Plugin
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.144.0
|
|
55
55
|
* @constructor
|
|
56
56
|
* @private
|
|
57
57
|
* @since 1.50
|
|
@@ -528,7 +528,6 @@ sap.ui.define([
|
|
|
528
528
|
|
|
529
529
|
return VariantManager.manageVariants(
|
|
530
530
|
oVariantManagementControl,
|
|
531
|
-
sVariantManagementReference,
|
|
532
531
|
mFlexSettings.layer,
|
|
533
532
|
Utils.getRtaStyleClassName(),
|
|
534
533
|
ContextSharingAPI.createComponent(mComponentPropertyBag)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @class The CreateContainer allows trigger CreateContainer operations on the overlay
|
|
30
30
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.144.0
|
|
33
33
|
* @constructor
|
|
34
34
|
* @private
|
|
35
35
|
* @since 1.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.dt.plugin.CutPaste
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.144.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,7 @@ function(
|
|
|
33
33
|
* @extends sap.ui.dt.plugin.ControlDragDrop
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.144.0
|
|
37
37
|
*
|
|
38
38
|
* @constructor
|
|
39
39
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class
|
|
33
33
|
* @extends sap.ui.rta.plugin.Plugin
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.144.0
|
|
36
36
|
* @constructor
|
|
37
37
|
* @private
|
|
38
38
|
* @since 1.134
|
|
@@ -60,13 +60,19 @@ sap.ui.define([
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Check if the given overlay should be editable.
|
|
63
|
+
* Check if the given overlay should be editable. This action is available by default,
|
|
64
|
+
* disabling it requires explicitly setting it to null in the designtime metadata.
|
|
64
65
|
*
|
|
65
66
|
* @param {sap.ui.dt.ElementOverlay} oOverlay - Overlay to be checked for editable
|
|
66
67
|
* @returns {Promise<boolean>} <code>true</code> when editable wrapped in a promise
|
|
67
68
|
* @private
|
|
68
69
|
*/
|
|
69
|
-
ExtendControllerPlugin.prototype._isEditable = function() {
|
|
70
|
+
ExtendControllerPlugin.prototype._isEditable = function(oOverlay) {
|
|
71
|
+
// Action should be available by default
|
|
72
|
+
const oAction = this.getAction(oOverlay);
|
|
73
|
+
if (oAction === null) {
|
|
74
|
+
return Promise.resolve(false);
|
|
75
|
+
}
|
|
70
76
|
return Promise.resolve(true);
|
|
71
77
|
};
|
|
72
78
|
|
|
@@ -181,6 +187,9 @@ sap.ui.define([
|
|
|
181
187
|
*/
|
|
182
188
|
ExtendControllerPlugin.prototype.getAction = function(oOverlay) {
|
|
183
189
|
const oAction = Plugin.prototype.getAction.apply(this, [oOverlay]);
|
|
190
|
+
if (oAction === null) {
|
|
191
|
+
return null;
|
|
192
|
+
}
|
|
184
193
|
return oAction || { changeType: FLEX_CHANGE_TYPE };
|
|
185
194
|
};
|
|
186
195
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @class
|
|
36
36
|
* @extends sap.ui.rta.plugin.Plugin
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.144.0
|
|
39
39
|
* @constructor
|
|
40
40
|
* @private
|
|
41
41
|
* @since 1.90
|