@openui5/sap.ui.rta 1.96.17 → 1.96.18
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/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 +33 -20
- 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/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/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 +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/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/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 +1 -1
- 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 +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.rta",
|
|
3
|
-
"version": "1.96.
|
|
3
|
+
"version": "1.96.18",
|
|
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.96.
|
|
18
|
-
"@openui5/sap.ui.core": "1.96.
|
|
19
|
-
"@openui5/sap.ui.dt": "1.96.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.96.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.96.
|
|
17
|
+
"@openui5/sap.m": "1.96.18",
|
|
18
|
+
"@openui5/sap.ui.core": "1.96.18",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.96.18",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.96.18",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.96.18"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.96.
|
|
9
|
+
<version>1.96.18</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -107,7 +107,7 @@ function(
|
|
|
107
107
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
108
108
|
* @extends sap.ui.base.ManagedObject
|
|
109
109
|
* @author SAP SE
|
|
110
|
-
* @version 1.96.
|
|
110
|
+
* @version 1.96.18
|
|
111
111
|
* @constructor
|
|
112
112
|
* @private
|
|
113
113
|
* @since 1.30
|
|
@@ -501,6 +501,7 @@ function(
|
|
|
501
501
|
// Register function for checking unsaved before leaving RTA
|
|
502
502
|
this._oldUnloadHandler = window.onbeforeunload;
|
|
503
503
|
window.onbeforeunload = this._onUnload.bind(this);
|
|
504
|
+
return undefined;
|
|
504
505
|
}.bind(this))
|
|
505
506
|
.then(function () {
|
|
506
507
|
if (this.getShowToolbars()) {
|
|
@@ -508,6 +509,7 @@ function(
|
|
|
508
509
|
return this._getToolbarButtonsVisibility()
|
|
509
510
|
.then(this._createToolsMenu.bind(this));
|
|
510
511
|
}
|
|
512
|
+
return undefined;
|
|
511
513
|
}.bind(this))
|
|
512
514
|
// this is needed to initially check if undo is available, e.g. when the stack gets initialized with changes
|
|
513
515
|
.then(this._onStackModified.bind(this))
|
|
@@ -526,6 +528,7 @@ function(
|
|
|
526
528
|
// the show() method of the toolbar relies on this RTA instance being set on the PopupManager
|
|
527
529
|
return this.getToolbar().show();
|
|
528
530
|
}
|
|
531
|
+
return undefined;
|
|
529
532
|
}.bind(this))
|
|
530
533
|
.then(function () {
|
|
531
534
|
if (Device.browser.name === "ff") {
|
|
@@ -556,8 +559,10 @@ function(
|
|
|
556
559
|
this.destroy();
|
|
557
560
|
return Promise.reject(vError);
|
|
558
561
|
}
|
|
562
|
+
return undefined;
|
|
559
563
|
}.bind(this));
|
|
560
564
|
}
|
|
565
|
+
return undefined;
|
|
561
566
|
};
|
|
562
567
|
|
|
563
568
|
function _ffContextMenuHandler() {
|
|
@@ -712,6 +717,7 @@ function(
|
|
|
712
717
|
if (this.getShowToolbars() && this.getToolbar && this.getToolbar()) {
|
|
713
718
|
return this.getToolbar()[sName](vValue);
|
|
714
719
|
}
|
|
720
|
+
return undefined;
|
|
715
721
|
};
|
|
716
722
|
|
|
717
723
|
/**
|
|
@@ -748,6 +754,7 @@ function(
|
|
|
748
754
|
oReloadInfo.triggerHardReload = (oReloadInfo.reloadMethod === this._RELOAD.RELOAD_PAGE); // StandAlone or AppDescriptorChanges case
|
|
749
755
|
return this._handleUrlParameterOnExit(oReloadInfo);
|
|
750
756
|
}
|
|
757
|
+
return undefined;
|
|
751
758
|
}.bind(this));
|
|
752
759
|
}.bind(this))
|
|
753
760
|
.catch(fnShowTechnicalError)
|
|
@@ -840,6 +847,7 @@ function(
|
|
|
840
847
|
return this._getTextResources().getText("MSG_UNSAVED_CHANGES");
|
|
841
848
|
}
|
|
842
849
|
window.onbeforeunload = this._oldUnloadHandler;
|
|
850
|
+
return undefined;
|
|
843
851
|
};
|
|
844
852
|
|
|
845
853
|
RuntimeAuthoring.prototype._serializeAndSave = function() {
|
|
@@ -1218,7 +1226,8 @@ function(
|
|
|
1218
1226
|
|
|
1219
1227
|
/**
|
|
1220
1228
|
* Shows a message toast.
|
|
1221
|
-
* @param {string} sMessageKey The text key for the message
|
|
1229
|
+
* @param {string} sMessageKey - The text key for the message
|
|
1230
|
+
* @param {object} mOptions - Options for message toast
|
|
1222
1231
|
* @private
|
|
1223
1232
|
*/
|
|
1224
1233
|
RuntimeAuthoring.prototype._showMessageToast = function(sMessageKey, mOptions) {
|
|
@@ -1513,6 +1522,7 @@ function(
|
|
|
1513
1522
|
if (oReloadInfo.triggerHardReload) {
|
|
1514
1523
|
this._reloadPage();
|
|
1515
1524
|
}
|
|
1525
|
+
return undefined;
|
|
1516
1526
|
};
|
|
1517
1527
|
|
|
1518
1528
|
/**
|
|
@@ -1588,6 +1598,7 @@ function(
|
|
|
1588
1598
|
if (oReloadInfo.allContexts) {
|
|
1589
1599
|
return "MSG_RELOAD_WITHOUT_ALL_CONTEXT";
|
|
1590
1600
|
}
|
|
1601
|
+
return undefined;
|
|
1591
1602
|
};
|
|
1592
1603
|
|
|
1593
1604
|
/**
|
|
@@ -1628,24 +1639,25 @@ function(
|
|
|
1628
1639
|
if (!sReason) {
|
|
1629
1640
|
return Promise.resolve();
|
|
1630
1641
|
}
|
|
1631
|
-
|
|
1632
|
-
.
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1642
|
+
// showing messages in visual editor is leading to blocked screen. In this case we should reload without message
|
|
1643
|
+
return (this.getFlexSettings().developerMode ? Promise.resolve() : Utils.showMessageBox("information", sReason))
|
|
1644
|
+
.then(function() {
|
|
1645
|
+
RuntimeAuthoring.enableRestart(oReloadInfo.layer, this.getRootControlInstance());
|
|
1646
|
+
// allContexts do not change the url parameter to trigger a reload
|
|
1647
|
+
if (
|
|
1648
|
+
oReloadInfo.allContexts &&
|
|
1649
|
+
!oReloadInfo.hasHigherLayerChanges &&
|
|
1650
|
+
this._getUShellService("AppLifeCycle")
|
|
1651
|
+
) {
|
|
1652
|
+
this._getUShellService("AppLifeCycle").reloadCurrentApp();
|
|
1653
|
+
}
|
|
1654
|
+
if (FlexUtils.getUshellContainer()) {
|
|
1655
|
+
// clears FlexState and triggers reloading of the flex data without blocking
|
|
1656
|
+
var oParsedHash = ReloadInfoAPI.handleParametersOnStart(oReloadInfo);
|
|
1657
|
+
return this._triggerCrossAppNavigation(oParsedHash);
|
|
1658
|
+
}
|
|
1659
|
+
return this._triggerHardReload(oReloadInfo);
|
|
1660
|
+
}.bind(this));
|
|
1649
1661
|
};
|
|
1650
1662
|
|
|
1651
1663
|
/**
|
|
@@ -1792,6 +1804,7 @@ function(
|
|
|
1792
1804
|
if (ServicesIndex.hasOwnProperty(sName)) {
|
|
1793
1805
|
return ServicesIndex[sName].replace(/\./g, "/");
|
|
1794
1806
|
}
|
|
1807
|
+
return undefined;
|
|
1795
1808
|
}
|
|
1796
1809
|
|
|
1797
1810
|
/**
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -23,7 +23,7 @@ function() {
|
|
|
23
23
|
* @namespace
|
|
24
24
|
* @name sap.ui.rta
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.96.
|
|
26
|
+
* @version 1.96.18
|
|
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.96.
|
|
36
|
+
version: "1.96.18",
|
|
37
37
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
38
38
|
types: [],
|
|
39
39
|
interfaces: [],
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class The CreateContainer allows trigger CreateContainer operations on the overlay
|
|
28
28
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.96.
|
|
30
|
+
* @version 1.96.18
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @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.96.
|
|
28
|
+
* @version 1.96.18
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.48
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @class The EasyRemove Plugin adds an Icon to an Overlay, which allows to trigger remove operations directly
|
|
24
24
|
* @extends sap.ui.rta.plugin.Remove
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.96.
|
|
26
|
+
* @version 1.96.18
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @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.96.
|
|
37
|
+
* @version 1.96.18
|
|
38
38
|
* @constructor
|
|
39
39
|
* @private
|
|
40
40
|
* @since 1.34
|
|
@@ -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.96.
|
|
35
|
+
* @version 1.96.18
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.94
|
|
38
38
|
* @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
* @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
|
|
76
76
|
* @extends sap.ui.rta.plugin.Plugin
|
|
77
77
|
* @author SAP SE
|
|
78
|
-
* @version 1.96.
|
|
78
|
+
* @version 1.96.18
|
|
79
79
|
* @constructor
|
|
80
80
|
* @private
|
|
81
81
|
* @since 1.44
|
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
* Helper object containing methods for the AdditionalElements plugin
|
|
16
16
|
*
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.96.
|
|
18
|
+
* @version 1.96.18
|
|
19
19
|
* @private
|
|
20
20
|
* @since 1.94
|
|
21
21
|
* @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -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.96.
|
|
28
|
+
* @version 1.96.18
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.94
|
|
31
31
|
* @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -110,7 +110,7 @@ sap.ui.define([
|
|
|
110
110
|
* @class The AddIFrame allows trigger AddIFrame operations on the overlay.
|
|
111
111
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
112
112
|
* @author SAP SE
|
|
113
|
-
* @version 1.96.
|
|
113
|
+
* @version 1.96.18
|
|
114
114
|
* @constructor
|
|
115
115
|
* @private
|
|
116
116
|
* @since 1.75
|