@openui5/sap.ui.rta 1.120.23 → 1.120.24
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 +1 -1
- package/src/sap/ui/rta/Client.js +1 -1
- package/src/sap/ui/rta/RuntimeAuthoring.js +1 -1
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
- package/src/sap/ui/rta/command/AddIFrame.js +1 -1
- package/src/sap/ui/rta/command/AddProperty.js +1 -1
- package/src/sap/ui/rta/command/AddXML.js +1 -1
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
- package/src/sap/ui/rta/command/BaseCommand.js +1 -1
- package/src/sap/ui/rta/command/BindProperty.js +1 -1
- package/src/sap/ui/rta/command/Combine.js +1 -1
- package/src/sap/ui/rta/command/CommandFactory.js +1 -1
- package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/CreateContainer.js +1 -1
- package/src/sap/ui/rta/command/CustomAdd.js +1 -1
- package/src/sap/ui/rta/command/FlexCommand.js +1 -1
- package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
- package/src/sap/ui/rta/command/LocalReset.js +1 -1
- package/src/sap/ui/rta/command/Move.js +1 -1
- package/src/sap/ui/rta/command/Property.js +1 -1
- package/src/sap/ui/rta/command/Remove.js +1 -1
- package/src/sap/ui/rta/command/Rename.js +1 -1
- package/src/sap/ui/rta/command/Resize.js +1 -1
- package/src/sap/ui/rta/command/Reveal.js +1 -1
- package/src/sap/ui/rta/command/Settings.js +1 -1
- package/src/sap/ui/rta/command/Split.js +1 -1
- package/src/sap/ui/rta/command/Stack.js +1 -1
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +3 -0
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
- package/src/sap/ui/rta/plugin/Combine.js +1 -1
- package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
- package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
- package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
- package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
- package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
- package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
- package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +1 -1
- package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
- package/src/sap/ui/rta/plugin/Remove.js +1 -1
- package/src/sap/ui/rta/plugin/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/RenameHandler.js +1 -1
- package/src/sap/ui/rta/plugin/Resize.js +1 -1
- package/src/sap/ui/rta/plugin/Selection.js +1 -1
- package/src/sap/ui/rta/plugin/Settings.js +1 -1
- package/src/sap/ui/rta/plugin/Split.js +1 -1
- package/src/sap/ui/rta/plugin/Stretch.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
- package/src/sap/ui/rta/service/Action.js +1 -1
- package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
- package/src/sap/ui/rta/service/Outline.js +1 -1
- package/src/sap/ui/rta/service/Property.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +1 -1
- package/src/sap/ui/rta/service/SupportTools.js +1 -1
- package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
- package/src/sap/ui/rta/toolbar/Base.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
- package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
- package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +1 -1
- package/src/sap/ui/rta/util/PopupManager.js +1 -1
- package/src/sap/ui/rta/util/ReloadManager.js +1 -1
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/adaptationStarter.js +28 -5
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
package/THIRDPARTY.txt
CHANGED
|
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.m:
|
|
8
8
|
|
|
9
|
-
Component: purify.js, version:
|
|
9
|
+
Component: purify.js, version: 3.1.7
|
|
10
10
|
Copyright: Mario Heiderich
|
|
11
11
|
License: Apache-2.0
|
|
12
12
|
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.rta",
|
|
3
|
-
"version": "1.120.
|
|
3
|
+
"version": "1.120.24",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.rta",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.120.
|
|
18
|
-
"@openui5/sap.ui.core": "1.120.
|
|
19
|
-
"@openui5/sap.ui.dt": "1.120.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.120.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.120.
|
|
17
|
+
"@openui5/sap.m": "1.120.24",
|
|
18
|
+
"@openui5/sap.ui.core": "1.120.24",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.120.24",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.120.24",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.120.24"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.120.
|
|
9
|
+
<version>1.120.24</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -120,7 +120,7 @@ sap.ui.define([
|
|
|
120
120
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
121
121
|
* @extends sap.ui.base.ManagedObject
|
|
122
122
|
* @author SAP SE
|
|
123
|
-
* @version 1.120.
|
|
123
|
+
* @version 1.120.24
|
|
124
124
|
* @constructor
|
|
125
125
|
* @private
|
|
126
126
|
* @since 1.30
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -22,13 +22,13 @@ sap.ui.define([
|
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.rta
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.120.
|
|
25
|
+
* @version 1.120.24
|
|
26
26
|
* @since 1.50
|
|
27
27
|
* @private
|
|
28
28
|
*/
|
|
29
29
|
var thisLib = Lib.init({
|
|
30
30
|
name: "sap.ui.rta",
|
|
31
|
-
version: "1.120.
|
|
31
|
+
version: "1.120.24",
|
|
32
32
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
33
33
|
types: [],
|
|
34
34
|
interfaces: [],
|
|
@@ -564,6 +564,9 @@ MSG_ADAPTATION_COULD_NOT_START=Error starting UI adaptation
|
|
|
564
564
|
#XMSG: No Key User rights Error Message
|
|
565
565
|
MSG_NO_KEY_USER_RIGHTS_ERROR_MESSAGE=You do not have key user permissions. Please contact your administrator.
|
|
566
566
|
|
|
567
|
+
#XMSG: Pseudo app variants not supported Error Message
|
|
568
|
+
MSG_PSEUDO_APP_VARIANT_ERROR_MESSAGE=This application emulates app variants by using the navigation parameter sap-app-id, which is no longer supported. Please open a ticket for the application component {0}.
|
|
569
|
+
|
|
567
570
|
#XBTN: Tooltip for button to move list item up
|
|
568
571
|
BTN_TOOLTIP_MOVE_UP=Move up
|
|
569
572
|
#XBTN: Tooltip for button to move list item down
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class The CreateContainer allows trigger CreateContainer operations on the overlay
|
|
26
26
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.120.
|
|
28
|
+
* @version 1.120.24
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.34
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class The EasyAdd Plugin adds an Icon to an Overlay, which allows to trigger add operations directly
|
|
26
26
|
* @extends sap.ui.rta.plugin.additionalElements.AdditionalElementsPlugin
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.120.
|
|
28
|
+
* @version 1.120.24
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.48
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class The EasyRemove Plugin adds an Icon to an Overlay, which allows to trigger remove operations directly
|
|
26
26
|
* @extends sap.ui.rta.plugin.Remove
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.120.
|
|
28
|
+
* @version 1.120.24
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.48
|
|
@@ -34,7 +34,7 @@ function(
|
|
|
34
34
|
* @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
|
|
35
35
|
* @extends sap.ui.rta.plugin.Plugin
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.120.
|
|
37
|
+
* @version 1.120.24
|
|
38
38
|
* @constructor
|
|
39
39
|
* @private
|
|
40
40
|
* @since 1.34
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
|
|
78
78
|
* @extends sap.ui.rta.plugin.Plugin
|
|
79
79
|
* @author SAP SE
|
|
80
|
-
* @version 1.120.
|
|
80
|
+
* @version 1.120.24
|
|
81
81
|
* @constructor
|
|
82
82
|
* @private
|
|
83
83
|
* @since 1.44
|
|
@@ -120,7 +120,7 @@ sap.ui.define([
|
|
|
120
120
|
* @class The AddIFrame allows trigger AddIFrame operations on the overlay.
|
|
121
121
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
122
122
|
* @author SAP SE
|
|
123
|
-
* @version 1.120.
|
|
123
|
+
* @version 1.120.24
|
|
124
124
|
* @constructor
|
|
125
125
|
* @private
|
|
126
126
|
* @since 1.75
|
|
@@ -58,6 +58,20 @@ sap.ui.define([
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
function checkPseudoAppVariant(oAppComponent) {
|
|
62
|
+
// pseudo app variants are not supported
|
|
63
|
+
const oComponentData = oAppComponent.getComponentData?.();
|
|
64
|
+
if (oComponentData?.startupParameters && Array.isArray(oComponentData.startupParameters["sap-app-id"])) {
|
|
65
|
+
const oManifest = oAppComponent.getManifest();
|
|
66
|
+
const sACHComponent = oManifest["sap.app"]?.ach;
|
|
67
|
+
const oRtaResourceBundle = Lib.getResourceBundleFor("sap.ui.rta");
|
|
68
|
+
const sErrorMessage = oRtaResourceBundle.getText("MSG_PSEUDO_APP_VARIANT_ERROR_MESSAGE", [sACHComponent]);
|
|
69
|
+
const oError = Error(sErrorMessage);
|
|
70
|
+
oError.reason = "pseudoAppVariant";
|
|
71
|
+
throw oError;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
61
75
|
/**
|
|
62
76
|
* Starter util for UI adaptation.
|
|
63
77
|
* With this API you are also able to modify the UI adaptation plugins list and or add some event handler functions to be called on start, failed and stop events.
|
|
@@ -88,6 +102,7 @@ sap.ui.define([
|
|
|
88
102
|
.then(function() {
|
|
89
103
|
return checkFlexEnabled(mOptions.rootControl);
|
|
90
104
|
})
|
|
105
|
+
.then(checkPseudoAppVariant.bind(undefined, mOptions.rootControl))
|
|
91
106
|
.then(function() {
|
|
92
107
|
oRta = new RuntimeAuthoring(mOptions);
|
|
93
108
|
|
|
@@ -152,11 +167,19 @@ sap.ui.define([
|
|
|
152
167
|
&& !(FlexUtils.getUshellContainer() && vError.reason === "flexEnabled") // FLP Plugin already handles this error
|
|
153
168
|
) {
|
|
154
169
|
var oRtaResourceBundle = Lib.getResourceBundleFor("sap.ui.rta");
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
170
|
+
if (vError.reason === "pseudoAppVariant") {
|
|
171
|
+
showMessageBox(
|
|
172
|
+
vError.message,
|
|
173
|
+
{title: oRtaResourceBundle.getText("MSG_ADAPTATION_COULD_NOT_START")},
|
|
174
|
+
"error"
|
|
175
|
+
);
|
|
176
|
+
} else {
|
|
177
|
+
showMessageBox(
|
|
178
|
+
oRtaResourceBundle.getText("MSG_GENERIC_ERROR_MESSAGE", [vError.message]),
|
|
179
|
+
{title: oRtaResourceBundle.getText("MSG_ADAPTATION_COULD_NOT_START")},
|
|
180
|
+
"error"
|
|
181
|
+
);
|
|
182
|
+
}
|
|
160
183
|
Log.error("UI Adaptation could not be started", vError.message);
|
|
161
184
|
}
|
|
162
185
|
throw vError;
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
|
|
45
45
|
* @author SAP SE
|
|
46
46
|
* @since 1.84.0
|
|
47
|
-
* @version 1.120.
|
|
47
|
+
* @version 1.120.24
|
|
48
48
|
* @private
|
|
49
49
|
*/
|
|
50
50
|
var ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
|
|
40
40
|
* @author SAP SE
|
|
41
41
|
* @since 1.86.0
|
|
42
|
-
* @version 1.120.
|
|
42
|
+
* @version 1.120.24
|
|
43
43
|
* @private
|
|
44
44
|
*/
|
|
45
45
|
var ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
|
|
@@ -86,7 +86,7 @@ sap.ui.define([
|
|
|
86
86
|
* @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
|
|
87
87
|
* @author SAP SE
|
|
88
88
|
* @since 1.84.0
|
|
89
|
-
* @version 1.120.
|
|
89
|
+
* @version 1.120.24
|
|
90
90
|
* @private
|
|
91
91
|
*/
|
|
92
92
|
var ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
|