@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
|
|
|
@@ -114,7 +114,7 @@ sap.ui.define([
|
|
|
114
114
|
* @extends sap.ui.dt.Plugin
|
|
115
115
|
*
|
|
116
116
|
* @author SAP SE
|
|
117
|
-
* @version 1.
|
|
117
|
+
* @version 1.144.0
|
|
118
118
|
*
|
|
119
119
|
* @constructor
|
|
120
120
|
* @private
|
|
@@ -122,7 +122,7 @@ sap.ui.define([
|
|
|
122
122
|
* @alias sap.ui.rta.plugin.Plugin
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
|
-
var BasePlugin = Plugin.extend("sap.ui.rta.plugin.Plugin", /** @lends sap.ui.
|
|
125
|
+
var BasePlugin = Plugin.extend("sap.ui.rta.plugin.Plugin", /** @lends sap.ui.rta.plugin.Plugin.prototype */ {
|
|
126
126
|
metadata: {
|
|
127
127
|
"abstract": true,
|
|
128
128
|
library: "sap.ui.rta",
|
|
@@ -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 @@ function(
|
|
|
35
35
|
* The RTAElementMover is responsible for the RTA specific adaptation of element movements.
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.144.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @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
|
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @class The Remove allows trigger remove operations on the overlay
|
|
30
30
|
* @extends sap.ui.rta.plugin.Plugin
|
|
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
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* @extends sap.ui.rta.plugin.Plugin
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.144.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @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
|
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
|
|
32
32
|
* @extends sap.ui.rta.plugin.Plugin
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.144.0
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
37
37
|
* @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
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @class The Settings allows trigger change of settings operations on the overlay
|
|
31
31
|
* @extends sap.ui.rta.plugin.Plugin
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.144.0
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
36
36
|
* @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
|
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @class
|
|
24
24
|
* @extends sap.ui.rta.plugin.Plugin
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.144.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @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
|
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.rta.plugin.Plugin
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.144.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @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
|
* handled by the AdditionalElements Plugin (Reveal, Add Via Delegate, Add Custom)
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.144.0
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.94
|
|
38
38
|
*/
|
|
@@ -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([
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class Context - Dialog for available Fields in Runtime Authoring
|
|
33
33
|
* @extends sap.ui.base.ManagedObject
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.144.0
|
|
36
36
|
* @constructor
|
|
37
37
|
* @private
|
|
38
38
|
* @since 1.44
|
|
@@ -238,10 +238,8 @@ sap.ui.define([
|
|
|
238
238
|
};
|
|
239
239
|
|
|
240
240
|
AddElementsDialog.prototype.setTitle = function(sTitle) {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
this._oDialog.setTitle(sTitle);
|
|
244
|
-
}
|
|
241
|
+
this.setProperty("title", sTitle, true);
|
|
242
|
+
this._oDialogModel.setProperty("/dialogTitle", sTitle);
|
|
245
243
|
};
|
|
246
244
|
|
|
247
245
|
/**
|
|
@@ -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
|
|
|
@@ -119,7 +119,7 @@ sap.ui.define([
|
|
|
119
119
|
* @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
|
|
120
120
|
* @extends sap.ui.rta.plugin.Plugin
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.144.0
|
|
123
123
|
* @constructor
|
|
124
124
|
* @private
|
|
125
125
|
* @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
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* Helper object containing methods for the AdditionalElements plugin
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.144.0
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.94
|
|
23
23
|
*/
|
|
@@ -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
|
* Helper object to build the RTA commands resulting from the AdditionalElements Plugin
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.144.0
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.94
|
|
31
31
|
*/
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<link>
|
|
25
25
|
<Link text="{i18n>ANNOTATION_CHANGE_DIALOG_WARNING_MORE_INFO}"
|
|
26
26
|
target="_blank"
|
|
27
|
-
href="
|
|
27
|
+
href="{path: '/', formatter: '.formatDocumentationUrl'}"/>
|
|
28
28
|
</link>
|
|
29
29
|
</MessageStrip>
|
|
30
30
|
<Label
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
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
|
sap.ui.define([
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @class Constructor for a new sap.ui.rta.plugin.annotations.AnnotationChangeDialog.
|
|
30
30
|
* @extends sap.ui.base.ManagedObject
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.144.0
|
|
33
33
|
* @constructor
|
|
34
34
|
* @since 1.132
|
|
35
35
|
* @private
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
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
|
sap.ui.define([
|
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/layout/form/FormElement",
|
|
16
16
|
"sap/ui/model/Filter",
|
|
17
17
|
"sap/ui/model/FilterOperator",
|
|
18
|
-
"sap/ui/rta/plugin/annotations/AnnotationTypes"
|
|
18
|
+
"sap/ui/rta/plugin/annotations/AnnotationTypes",
|
|
19
|
+
"sap/ui/rta/Utils"
|
|
19
20
|
], function(
|
|
20
21
|
Input,
|
|
21
22
|
Label,
|
|
@@ -27,7 +28,8 @@ sap.ui.define([
|
|
|
27
28
|
FormElement,
|
|
28
29
|
Filter,
|
|
29
30
|
FilterOperator,
|
|
30
|
-
AnnotationTypes
|
|
31
|
+
AnnotationTypes,
|
|
32
|
+
RtaUtils
|
|
31
33
|
) {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
@@ -35,7 +37,7 @@ sap.ui.define([
|
|
|
35
37
|
* @class Controller for the AnnotationChangeDialog.
|
|
36
38
|
* @extends sap.ui.core.mvc.Controller
|
|
37
39
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
40
|
+
* @version 1.144.0
|
|
39
41
|
* @constructor
|
|
40
42
|
* @since 1.132
|
|
41
43
|
* @private
|
|
@@ -49,6 +51,16 @@ sap.ui.define([
|
|
|
49
51
|
});
|
|
50
52
|
};
|
|
51
53
|
|
|
54
|
+
AnnotationChangeDialogController.prototype.formatDocumentationUrl = function() {
|
|
55
|
+
const oDocumentationUrls = {
|
|
56
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/making-ui-changes",
|
|
57
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/54270a390b194c3e97be2424592c3352.html",
|
|
58
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/54270a390b194c3e97be2424592c3352.html"
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
return RtaUtils.getSystemSpecificDocumentationUrl(oDocumentationUrls);
|
|
62
|
+
};
|
|
63
|
+
|
|
52
64
|
AnnotationChangeDialogController.prototype.filterProperties = function(sQuery, bEquals) {
|
|
53
65
|
const aFilters = [];
|
|
54
66
|
if (sQuery && sQuery.length > 0) {
|
|
@@ -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
|
|
|
@@ -105,7 +105,7 @@ sap.ui.define([
|
|
|
105
105
|
* @class
|
|
106
106
|
* @extends sap.ui.rta.plugin.Plugin
|
|
107
107
|
* @author SAP SE
|
|
108
|
-
* @version 1.
|
|
108
|
+
* @version 1.144.0
|
|
109
109
|
* @constructor
|
|
110
110
|
* @private
|
|
111
111
|
* @since 1.132
|
|
@@ -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
|
|
|
@@ -119,7 +119,7 @@ sap.ui.define([
|
|
|
119
119
|
* @class The AddIFrame allows trigger AddIFrame operations on the overlay.
|
|
120
120
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.144.0
|
|
123
123
|
* @constructor
|
|
124
124
|
* @private
|
|
125
125
|
* @since 1.75
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
validationError="onValidationError"
|
|
16
16
|
parseError="onValidationError"
|
|
17
17
|
contentWidth="50rem"
|
|
18
|
-
contentHeight="44rem"
|
|
19
18
|
core:require="{ FloatType: 'sap/ui/model/type/Float' }"
|
|
20
19
|
beforeOpen="onBeforeOpen"
|
|
21
20
|
>
|
|
@@ -91,8 +90,13 @@
|
|
|
91
90
|
renderType="Bare"
|
|
92
91
|
>
|
|
93
92
|
<HBox id="sapUiRtaAddIFrameDialog_ParametersHeader" class="sapUiRtaAddIFrameParametersHeader" justifyContent="SpaceBetween" alignContent="Center">
|
|
94
|
-
<Label
|
|
95
|
-
|
|
93
|
+
<Label
|
|
94
|
+
id="sapUiRtaAddIFrameDialog_ParametersLabel"
|
|
95
|
+
text="{i18n>IFRAME_ADDIFRAME_DIALOG_PARAMETERS_LABEL}"
|
|
96
|
+
labelFor="sapUiRtaAddIFrameDialog_ParameterTable"
|
|
97
|
+
class="sapUiRtaAddIFrameDialogParametersLabel"
|
|
98
|
+
tooltip="{i18n>IFRAME_ADDIFRAME_DIALOG_PARAMETERS_LABEL}"
|
|
99
|
+
design="Bold"/>
|
|
96
100
|
<Button
|
|
97
101
|
id="sapUiRtaAddIFrameDialog_HideParametersButton"
|
|
98
102
|
icon="sap-icon://decline"
|
|
@@ -157,7 +161,7 @@
|
|
|
157
161
|
</VBox>
|
|
158
162
|
</VBox>
|
|
159
163
|
</layout:Grid>
|
|
160
|
-
<VBox id="sapUiRtaAddIFrameDialog_UrlWarningVBox" class="sapUiSmallMarginBegin" displayInline="true">
|
|
164
|
+
<VBox id="sapUiRtaAddIFrameDialog_UrlWarningVBox" class="sapUiSmallMarginBegin sapUiRtaAddIFrameDialogUrlWarningVBox" displayInline="true">
|
|
161
165
|
<MessageStrip
|
|
162
166
|
id="sapUiRtaAddIFrameDialog_UrlInfoMessageStrip"
|
|
163
167
|
text="{i18n>IFRAME_ADDIFRAME_DIALOG_URL_INFO_TEXT}"
|
|
@@ -167,7 +171,7 @@
|
|
|
167
171
|
<link>
|
|
168
172
|
<Link text="{i18n>IFRAME_ADDIFRAME_DIALOG_URL_INFO_LINKTEXT}"
|
|
169
173
|
target="_blank"
|
|
170
|
-
href="
|
|
174
|
+
href="{dialogInfo>/documentationUrl/value}"/>
|
|
171
175
|
</link>
|
|
172
176
|
</MessageStrip>
|
|
173
177
|
</VBox>
|
|
@@ -489,4 +493,4 @@
|
|
|
489
493
|
/>
|
|
490
494
|
</endButton>
|
|
491
495
|
</Dialog>
|
|
492
|
-
</core:FragmentDefinition>
|
|
496
|
+
</core:FragmentDefinition>
|
|
@@ -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([
|
|
@@ -39,10 +39,19 @@ sap.ui.define([
|
|
|
39
39
|
? _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_SELECT_ADDITIONAL_TEXT_PERCENT_SECTION")
|
|
40
40
|
: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_SELECT_ADDITIONAL_TEXT_PERCENT_HEADER");
|
|
41
41
|
|
|
42
|
+
const mDocumentationUrls = {
|
|
43
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/embedding-content",
|
|
44
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/8db25610e91342919fcf63d4e5868ae9.html",
|
|
45
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/8db25610e91342919fcf63d4e5868ae9.html"
|
|
46
|
+
};
|
|
47
|
+
|
|
42
48
|
return new JSONModel({
|
|
43
49
|
dialogTitle: bSetUpdateTitle ?
|
|
44
50
|
_oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_UPDATE_TITLE") :
|
|
45
51
|
_oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_TITLE"),
|
|
52
|
+
documentationUrl: {
|
|
53
|
+
value: RtaUtils.getSystemSpecificDocumentationUrl(mDocumentationUrls)
|
|
54
|
+
},
|
|
46
55
|
asContainer: {
|
|
47
56
|
value: bAsContainer
|
|
48
57
|
},
|
|
@@ -123,7 +132,7 @@ sap.ui.define([
|
|
|
123
132
|
* @class Context - Dialog for IFrame settings in Runtime Authoring
|
|
124
133
|
* @extends sap.ui.base.ManagedObject
|
|
125
134
|
* @author SAP SE
|
|
126
|
-
* @version 1.
|
|
135
|
+
* @version 1.144.0
|
|
127
136
|
* @constructor
|
|
128
137
|
* @private
|
|
129
138
|
* @since 1.78
|
|
@@ -1,32 +1,34 @@
|
|
|
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([
|
|
7
7
|
"sap/base/Log",
|
|
8
8
|
"sap/m/Token",
|
|
9
|
+
"sap/ui/base/BindingParser",
|
|
9
10
|
"sap/ui/core/mvc/Controller",
|
|
10
11
|
"sap/ui/core/Element",
|
|
11
12
|
"sap/ui/core/Lib",
|
|
12
13
|
"sap/ui/core/library",
|
|
13
|
-
"sap/ui/rta/util/validateText",
|
|
14
14
|
"sap/ui/fl/util/IFrame",
|
|
15
15
|
"sap/ui/model/Filter",
|
|
16
16
|
"sap/ui/model/FilterOperator",
|
|
17
|
-
"sap/ui/rta/plugin/iframe/urlCleaner"
|
|
17
|
+
"sap/ui/rta/plugin/iframe/urlCleaner",
|
|
18
|
+
"sap/ui/rta/util/validateText"
|
|
18
19
|
], function(
|
|
19
20
|
Log,
|
|
20
21
|
Token,
|
|
22
|
+
BindingParser,
|
|
21
23
|
Controller,
|
|
22
24
|
Element,
|
|
23
25
|
Lib,
|
|
24
26
|
coreLibrary,
|
|
25
|
-
validateText,
|
|
26
27
|
IFrame,
|
|
27
28
|
Filter,
|
|
28
29
|
FilterOperator,
|
|
29
|
-
urlCleaner
|
|
30
|
+
urlCleaner,
|
|
31
|
+
validateText
|
|
30
32
|
) {
|
|
31
33
|
"use strict";
|
|
32
34
|
|
|
@@ -235,6 +237,16 @@ sap.ui.define([
|
|
|
235
237
|
const sUrl = this._buildReturnedURL();
|
|
236
238
|
const oResolver = Element.getElementById("sapUiRtaAddIFrameDialog_PreviewLinkResolver");
|
|
237
239
|
try {
|
|
240
|
+
// Whenever a URL contains a binding string, all old bindings are cleaned up
|
|
241
|
+
// and a new binding is created for the text property
|
|
242
|
+
// However this doesn't happen if there was a binding previously and the new url
|
|
243
|
+
// value is a plain string, which can then lead to problems with two-way bindings
|
|
244
|
+
// where the new plain value would leak back into the model
|
|
245
|
+
// In this case the old binding has to be cleaned up explicitly
|
|
246
|
+
if (!BindingParser.complexParser(sUrl)) {
|
|
247
|
+
oResolver.unbindProperty("text");
|
|
248
|
+
}
|
|
249
|
+
|
|
238
250
|
oResolver.applySettings({
|
|
239
251
|
text: sUrl
|
|
240
252
|
});
|
|
@@ -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
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.rta.plugin.Plugin
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.144.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @private
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
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
|
sap.ui.define([
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class Constructor for a new sap.ui.rta.plugin.rename.RenameDialog.
|
|
28
28
|
* @extends sap.ui.base.ManagedObject
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.144.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @since 1.136
|
|
33
33
|
* @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
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @name sap.ui.rta.service.Action
|
|
25
25
|
* @author SAP SE
|
|
26
26
|
* @since 1.58
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.144.0
|
|
28
28
|
* @private
|
|
29
29
|
* @ui5-restricted
|
|
30
30
|
*
|
|
@@ -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
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @name sap.ui.rta.service.ControllerExtension
|
|
31
31
|
* @author SAP SE
|
|
32
32
|
* @since 1.58
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.144.0
|
|
34
34
|
* @private
|
|
35
35
|
* @ui5-restricted
|
|
36
36
|
*/
|
|
@@ -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
|
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @name sap.ui.rta.service.Outline
|
|
44
44
|
* @author SAP SE
|
|
45
45
|
* @since 1.56
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.144.0
|
|
47
47
|
* @private
|
|
48
48
|
* @ui5-restricted
|
|
49
49
|
*/
|
|
@@ -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
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @name sap.ui.rta.service.Property
|
|
28
28
|
* @author SAP SE
|
|
29
29
|
* @since 1.58
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.144.0
|
|
31
31
|
* @private
|
|
32
32
|
* @ui5-restricted
|
|
33
33
|
*/
|