@openui5/sap.ui.rta 1.99.0 → 1.100.1
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 +2 -2
- 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 +6 -7
- package/src/sap/ui/rta/Utils.js +3 -5
- 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 +3 -2
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +3 -2
- 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 +3 -2
- package/src/sap/ui/rta/command/Combine.js +1 -1
- package/src/sap/ui/rta/command/CommandFactory.js +3 -3
- 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/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 +8 -7
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.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/plugin/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
- package/src/sap/ui/rta/plugin/Combine.js +2 -2
- 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 +21 -8
- 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/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/themes/base/ChangeVisualization.less +5 -11
- 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/translation/Translation.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +1 -1
- package/src/sap/ui/rta/util/PopupManager.js +33 -12
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- 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 +4 -6
package/THIRDPARTY.txt
CHANGED
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.10
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -450,7 +450,7 @@ License: Apache-2.0
|
|
|
450
450
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
451
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
452
452
|
|
|
453
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
453
|
+
Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
|
|
454
454
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
455
455
|
License: Apache-2.0
|
|
456
456
|
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.
|
|
3
|
+
"version": "1.100.1",
|
|
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.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.dt": "1.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.m": "1.100.1",
|
|
18
|
+
"@openui5/sap.ui.core": "1.100.1",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.100.1",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.100.1",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.100.1"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.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.100.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -114,7 +114,7 @@ sap.ui.define([
|
|
|
114
114
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
115
115
|
* @extends sap.ui.base.ManagedObject
|
|
116
116
|
* @author SAP SE
|
|
117
|
-
* @version 1.
|
|
117
|
+
* @version 1.100.1
|
|
118
118
|
* @constructor
|
|
119
119
|
* @private
|
|
120
120
|
* @since 1.30
|
|
@@ -330,7 +330,7 @@ sap.ui.define([
|
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* Getter method for plugins.
|
|
333
|
-
* @returns {
|
|
333
|
+
* @returns {Object<string, sap.ui.rta.plugin.Plugin>} map with plugins
|
|
334
334
|
*/
|
|
335
335
|
RuntimeAuthoring.prototype.getPlugins = function () {
|
|
336
336
|
return this.getPluginManager
|
|
@@ -1237,6 +1237,8 @@ sap.ui.define([
|
|
|
1237
1237
|
selector: oSelector,
|
|
1238
1238
|
layer: sLayer
|
|
1239
1239
|
}).then(function () {
|
|
1240
|
+
// avoids the data loss popup; a reload is triggered later and will destroy RTA & the command stack
|
|
1241
|
+
this.getCommandStack().removeAllCommands(true);
|
|
1240
1242
|
ReloadInfoAPI.removeInfoSessionStorage(oSelector);
|
|
1241
1243
|
var oReloadInfo = {
|
|
1242
1244
|
isDraftAvailable: ReloadInfoAPI.hasVersionParameterWithValue({value: sLayer}, this._getUShellService("URLParsing")),
|
|
@@ -1337,10 +1339,7 @@ sap.ui.define([
|
|
|
1337
1339
|
}).then(function(sAction) {
|
|
1338
1340
|
if (sAction === MessageBox.Action.OK) {
|
|
1339
1341
|
RuntimeAuthoring.enableRestart(sLayer, this.getRootControlInstance());
|
|
1340
|
-
return this._deleteChanges()
|
|
1341
|
-
.then(function () {
|
|
1342
|
-
this.getCommandStack().removeAllCommands();
|
|
1343
|
-
}.bind(this));
|
|
1342
|
+
return this._deleteChanges();
|
|
1344
1343
|
}
|
|
1345
1344
|
return undefined;
|
|
1346
1345
|
}.bind(this));
|
|
@@ -1660,7 +1659,7 @@ sap.ui.define([
|
|
|
1660
1659
|
};
|
|
1661
1660
|
|
|
1662
1661
|
RuntimeAuthoring.prototype._triggerReloadOnStart = function(oReloadInfo) {
|
|
1663
|
-
if (this._getUShellService("CrossApplicationNavigation")) {
|
|
1662
|
+
if (this._getUShellService("CrossApplicationNavigation") && this._oVersionsModel.getProperty("/versioningEnabled")) {
|
|
1664
1663
|
if (oReloadInfo.isDraftAvailable) {
|
|
1665
1664
|
// clears FlexState and triggers reloading of the flex data without blocking
|
|
1666
1665
|
VersionsAPI.loadDraftForApplication({
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -41,15 +41,13 @@ function(
|
|
|
41
41
|
"use strict";
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* @class Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
|
|
44
|
+
* Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
|
|
47
45
|
*
|
|
46
|
+
* @namespace
|
|
48
47
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
48
|
+
* @version 1.100.1
|
|
50
49
|
*
|
|
51
50
|
* @private
|
|
52
|
-
* @static
|
|
53
51
|
* @since 1.30
|
|
54
52
|
* @alias sap.ui.rta.Utils
|
|
55
53
|
* @experimental Since 1.30. This class is experimental and provides only limited functionality.
|
|
@@ -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.100.1
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.54
|
|
@@ -55,7 +55,8 @@ sap.ui.define([
|
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Overridden to suppress the {} being recognized as binding strings.
|
|
59
|
+
* @override
|
|
59
60
|
*/
|
|
60
61
|
AddXML.prototype.bindProperty = function(sName, oBindingInfo) {
|
|
61
62
|
if (sName === "fragment") {
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* @extends sap.ui.rta.command.FlexCommand
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.100.1
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.76
|
|
@@ -55,7 +55,8 @@ sap.ui.define([
|
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Overridden to suppress the {} being recognized as binding strings.
|
|
59
|
+
* @override
|
|
59
60
|
*/
|
|
60
61
|
AddXMLAtExtensionPoint.prototype.bindProperty = function(sName, oBindingInfo) {
|
|
61
62
|
if (sName === "fragment") {
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @class
|
|
27
27
|
* @extends sap.ui.rta.command.FlexCommand
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.100.1
|
|
30
30
|
* @constructor
|
|
31
31
|
* @private
|
|
32
32
|
* @since 1.38
|
|
@@ -55,7 +55,8 @@ sap.ui.define([
|
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Overridden to suppress the binding strings to be used as binding.
|
|
59
|
+
* @override
|
|
59
60
|
*/
|
|
60
61
|
BindProperty.prototype.bindProperty = function(sName, oBindingInfo) {
|
|
61
62
|
if (sName === "newBinding") {
|
|
@@ -93,8 +93,8 @@ sap.ui.define([
|
|
|
93
93
|
oCommand.setJsOnly(bJsOnly);
|
|
94
94
|
if (oCommand.setVariantIndependent) {
|
|
95
95
|
oCommand.setVariantIndependent(bVariantIndependent);
|
|
96
|
-
} else {
|
|
97
|
-
Log.error("the variant independent Flag is not available for the action
|
|
96
|
+
} else if (bVariantIndependent) {
|
|
97
|
+
Log.error("the variant independent Flag is not available for the action", sChangeType);
|
|
98
98
|
}
|
|
99
99
|
return true;
|
|
100
100
|
}
|
|
@@ -479,7 +479,7 @@ sap.ui.define([
|
|
|
479
479
|
* @extends sap.ui.base.ManagedObject
|
|
480
480
|
*
|
|
481
481
|
* @author SAP SE
|
|
482
|
-
* @version 1.
|
|
482
|
+
* @version 1.100.1
|
|
483
483
|
*
|
|
484
484
|
* @constructor
|
|
485
485
|
* @private
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
* @class
|
|
56
56
|
* @extends sap.ui.base.ManagedObject
|
|
57
57
|
* @author SAP SE
|
|
58
|
-
* @version 1.
|
|
58
|
+
* @version 1.100.1
|
|
59
59
|
* @constructor
|
|
60
60
|
* @private
|
|
61
61
|
* @since 1.34
|
|
@@ -207,17 +207,18 @@ sap.ui.define([
|
|
|
207
207
|
}).then(function() {
|
|
208
208
|
var oCommand = this._getCommandToBeExecuted();
|
|
209
209
|
if (oCommand) {
|
|
210
|
+
var mParam = {
|
|
211
|
+
command: oCommand,
|
|
212
|
+
undo: false
|
|
213
|
+
};
|
|
210
214
|
return oCommand.execute()
|
|
211
215
|
|
|
216
|
+
.then(this._waitForCommandExecutionHandler.bind(this, mParam))
|
|
217
|
+
|
|
212
218
|
.then(function() {
|
|
213
219
|
this._toBeExecuted--;
|
|
214
|
-
var mParam = {
|
|
215
|
-
command: oCommand,
|
|
216
|
-
undo: false
|
|
217
|
-
};
|
|
218
220
|
this.fireCommandExecuted(mParam);
|
|
219
221
|
this.fireModified();
|
|
220
|
-
return this._waitForCommandExecutionHandler(mParam);
|
|
221
222
|
}.bind(this))
|
|
222
223
|
|
|
223
224
|
.catch(function(oError) {
|
|
@@ -314,4 +315,4 @@ sap.ui.define([
|
|
|
314
315
|
};
|
|
315
316
|
|
|
316
317
|
return Stack;
|
|
317
|
-
});
|
|
318
|
+
});
|
|
@@ -23,7 +23,7 @@ function() {
|
|
|
23
23
|
* @namespace
|
|
24
24
|
* @name sap.ui.rta
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.100.1
|
|
27
27
|
* @since 1.50
|
|
28
28
|
* @private
|
|
29
29
|
* @experimental This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -33,7 +33,7 @@ function() {
|
|
|
33
33
|
// delegate further initialization of this library to the Core
|
|
34
34
|
sap.ui.getCore().initLibrary({
|
|
35
35
|
name: "sap.ui.rta",
|
|
36
|
-
version: "1.
|
|
36
|
+
version: "1.100.1",
|
|
37
37
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
38
38
|
types: [],
|
|
39
39
|
interfaces: [],
|
|
@@ -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.100.1
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.46
|
|
@@ -159,7 +159,7 @@ sap.ui.define([
|
|
|
159
159
|
/**
|
|
160
160
|
* @param {sap.ui.dt.ElementOverlay[]} aElementOverlays - specified overlays
|
|
161
161
|
* @param {sap.ui.core.Element} oCombineElement - element where the combine was triggered
|
|
162
|
-
* @returns {
|
|
162
|
+
* @returns {Promise} Promise
|
|
163
163
|
*/
|
|
164
164
|
Combine.prototype.handleCombine = function(aElementOverlays, oCombineElement) {
|
|
165
165
|
var oCombineElementOverlay;
|
|
@@ -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.
|
|
28
|
+
* @version 1.100.1
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.48
|