@openui5/sap.ui.rta 1.114.3 → 1.114.4
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 +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 +1 -1
- 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 +36 -29
- 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/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.114.
|
|
3
|
+
"version": "1.114.4",
|
|
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.114.
|
|
18
|
-
"@openui5/sap.ui.core": "1.114.
|
|
19
|
-
"@openui5/sap.ui.dt": "1.114.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.114.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.114.
|
|
17
|
+
"@openui5/sap.m": "1.114.4",
|
|
18
|
+
"@openui5/sap.ui.core": "1.114.4",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.114.4",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.114.4",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.114.4"
|
|
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.114.
|
|
9
|
+
<version>1.114.4</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.114.
|
|
123
|
+
* @version 1.114.4
|
|
124
124
|
* @constructor
|
|
125
125
|
* @private
|
|
126
126
|
* @since 1.30
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -23,14 +23,14 @@ function() {
|
|
|
23
23
|
* @namespace
|
|
24
24
|
* @alias sap.ui.rta
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.114.
|
|
26
|
+
* @version 1.114.4
|
|
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.
|
|
30
30
|
*/
|
|
31
31
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
32
32
|
name: "sap.ui.rta",
|
|
33
|
-
version: "1.114.
|
|
33
|
+
version: "1.114.4",
|
|
34
34
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
35
35
|
types: [],
|
|
36
36
|
interfaces: [],
|
|
@@ -575,7 +575,7 @@ DAC_DIALOG_MIGRATION_HEADER=Migrate Views
|
|
|
575
575
|
#XMSG: Context-Based Adaptation Migration Dialog description
|
|
576
576
|
DAC_DIALOG_MIGRATION_DESCRIPTION=We noticed that you've already assigned roles to views in this application. If you want to create an adaptation, you need to migrate these views to adaptations.\n After the migration, every view that was assigned to a role will be included in an adaptation.
|
|
577
577
|
#XMSG: Context-Based Adaptation Migration Dialog description
|
|
578
|
-
DAC_DIALOG_MIGRATION_DIRTY_DESCRIPTION=We noticed that you've already assigned roles to views in this application. If you want to create an adaptation, you need to migrate these views to adaptations.\n After the migration, every view that was assigned to a role will be included in an adaptation.\n\n You have unsaved UI changes. These
|
|
578
|
+
DAC_DIALOG_MIGRATION_DIRTY_DESCRIPTION=We noticed that you've already assigned roles to views in this application. If you want to create an adaptation, you need to migrate these views to adaptations.\n After the migration, every view that was assigned to a role will be included in an adaptation.\n\n You have unsaved UI changes. These are saved before migration.
|
|
579
579
|
#XMSG: Context-Based Adaptation Migration Successful Dialog description
|
|
580
580
|
DAC_DIALOG_MIGRATION_SUCCESSFULL_DESCRIPTION=Views have been successfully migrated.\n You can now switch to the created adaptations and verify them.
|
|
581
581
|
#XMSG: Context-Based Adaptation Migration Error Dialog description
|
|
@@ -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.114.
|
|
28
|
+
* @version 1.114.4
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.34
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @class The EasyAdd Plugin adds an Icon to an Overlay, which allows to trigger add operations directly
|
|
24
24
|
* @extends sap.ui.rta.plugin.additionalElements.AdditionalElementsPlugin
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.114.
|
|
26
|
+
* @version 1.114.4
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @since 1.48
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @class The EasyRemove Plugin adds an Icon to an Overlay, which allows to trigger remove operations directly
|
|
22
22
|
* @extends sap.ui.rta.plugin.Remove
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.114.
|
|
24
|
+
* @version 1.114.4
|
|
25
25
|
* @constructor
|
|
26
26
|
* @private
|
|
27
27
|
* @since 1.48
|
|
@@ -30,7 +30,7 @@ function (
|
|
|
30
30
|
* @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
|
|
31
31
|
* @extends sap.ui.rta.plugin.Plugin
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.114.
|
|
33
|
+
* @version 1.114.4
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
36
36
|
* @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.114.
|
|
35
|
+
* @version 1.114.4
|
|
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.114.
|
|
78
|
+
* @version 1.114.4
|
|
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.114.
|
|
18
|
+
* @version 1.114.4
|
|
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.114.
|
|
28
|
+
* @version 1.114.4
|
|
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.
|
|
@@ -117,7 +117,7 @@ sap.ui.define([
|
|
|
117
117
|
* @class The AddIFrame allows trigger AddIFrame operations on the overlay.
|
|
118
118
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
119
119
|
* @author SAP SE
|
|
120
|
-
* @version 1.114.
|
|
120
|
+
* @version 1.114.4
|
|
121
121
|
* @constructor
|
|
122
122
|
* @private
|
|
123
123
|
* @since 1.75
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @extends sap.ui.rta.toolbar.Base
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.114.
|
|
54
|
+
* @version 1.114.4
|
|
55
55
|
*
|
|
56
56
|
* @constructor
|
|
57
57
|
* @private
|
|
@@ -352,47 +352,54 @@ sap.ui.define([
|
|
|
352
352
|
function confirmMigration(oRtaInformation) {
|
|
353
353
|
var bDirty = oRtaInformation.commandStack.canSave();
|
|
354
354
|
|
|
355
|
-
Utils.showMessageBox("confirm", (bDirty) ? "DAC_DIALOG_MIGRATION_DIRTY_DESCRIPTION" : "DAC_DIALOG_MIGRATION_DESCRIPTION", {
|
|
355
|
+
return Utils.showMessageBox("confirm", (bDirty) ? "DAC_DIALOG_MIGRATION_DIRTY_DESCRIPTION" : "DAC_DIALOG_MIGRATION_DESCRIPTION", {
|
|
356
356
|
titleKey: "DAC_DIALOG_MIGRATION_HEADER",
|
|
357
357
|
actionKeys: ["DAC_DIALOG_MIGRATION_HEADER"],
|
|
358
358
|
showCancel: true
|
|
359
359
|
})
|
|
360
360
|
.then(function(sAction) {
|
|
361
361
|
if (sAction !== MessageBox.Action.CANCEL) {
|
|
362
|
-
BusyIndicator.show();
|
|
363
|
-
|
|
364
362
|
if (bDirty) {
|
|
365
|
-
oRtaInformation.commandStack.removeAllCommands(true);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
ContextBasedAdaptationsAPI.migrate({
|
|
369
|
-
control: oRtaInformation.rootControl,
|
|
370
|
-
layer: oRtaInformation.flexSettings.layer
|
|
371
|
-
})
|
|
372
|
-
.finally(function() {
|
|
373
|
-
BusyIndicator.hide();
|
|
374
|
-
})
|
|
375
|
-
.then(Utils.showMessageBox.bind(undefined, "information", "DAC_DIALOG_MIGRATION_SUCCESSFULL_DESCRIPTION", {
|
|
376
|
-
titleKey: "DAC_DIALOG_MIGRATION_HEADER"
|
|
377
|
-
}))
|
|
378
|
-
.then(function() {
|
|
379
363
|
return new Promise(function(resolve) {
|
|
380
|
-
this.fireEvent("
|
|
364
|
+
this.fireEvent("save", {callback: resolve});
|
|
365
|
+
}.bind(this))
|
|
366
|
+
.then(function() {
|
|
367
|
+
return performMigration.call(this, oRtaInformation);
|
|
381
368
|
}.bind(this));
|
|
382
|
-
}
|
|
383
|
-
.
|
|
384
|
-
Log.error(oError.stack || oError);
|
|
385
|
-
var sMessage = "DAC_DIALOG_MIGRATION_ERROR_DESCRIPTION";
|
|
386
|
-
var oOptions = {
|
|
387
|
-
titleKey: "DAC_DIALOG_MIGRATION_HEADER",
|
|
388
|
-
details: oError.userMessage || oError
|
|
389
|
-
};
|
|
390
|
-
Utils.showMessageBox("error", sMessage, oOptions);
|
|
391
|
-
});
|
|
369
|
+
}
|
|
370
|
+
return performMigration.call(this, oRtaInformation);
|
|
392
371
|
}
|
|
393
372
|
}.bind(this));
|
|
394
373
|
}
|
|
395
374
|
|
|
375
|
+
function performMigration(oRtaInformation) {
|
|
376
|
+
BusyIndicator.show();
|
|
377
|
+
return ContextBasedAdaptationsAPI.migrate({
|
|
378
|
+
control: oRtaInformation.rootControl,
|
|
379
|
+
layer: oRtaInformation.flexSettings.layer
|
|
380
|
+
})
|
|
381
|
+
.finally(function() {
|
|
382
|
+
BusyIndicator.hide();
|
|
383
|
+
})
|
|
384
|
+
.then(Utils.showMessageBox.bind(undefined, "information", "DAC_DIALOG_MIGRATION_SUCCESSFULL_DESCRIPTION", {
|
|
385
|
+
titleKey: "DAC_DIALOG_MIGRATION_HEADER"
|
|
386
|
+
}))
|
|
387
|
+
.then(function() {
|
|
388
|
+
return new Promise(function(resolve) {
|
|
389
|
+
this.fireEvent("switchAdaptation", {adaptationId: "DEFAULT", callback: resolve});
|
|
390
|
+
}.bind(this));
|
|
391
|
+
}.bind(this))
|
|
392
|
+
.catch(function(oError) {
|
|
393
|
+
Log.error(oError.stack || oError);
|
|
394
|
+
var sMessage = "DAC_DIALOG_MIGRATION_ERROR_DESCRIPTION";
|
|
395
|
+
var oOptions = {
|
|
396
|
+
titleKey: "DAC_DIALOG_MIGRATION_HEADER",
|
|
397
|
+
details: oError.userMessage || oError
|
|
398
|
+
};
|
|
399
|
+
Utils.showMessageBox("error", sMessage, oOptions);
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
|
|
396
403
|
function onSaveAsAdaptation() {
|
|
397
404
|
var oRtaInformation = this.getRtaInformation();
|
|
398
405
|
Utils.checkDraftOverwrite(this.getModel("versions")).then(function() {
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
|
|
41
41
|
* @author SAP SE
|
|
42
42
|
* @since 1.84.0
|
|
43
|
-
* @version 1.114.
|
|
43
|
+
* @version 1.114.4
|
|
44
44
|
* @private
|
|
45
45
|
*/
|
|
46
46
|
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.114.
|
|
42
|
+
* @version 1.114.4
|
|
43
43
|
* @private
|
|
44
44
|
*/
|
|
45
45
|
var ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
|
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
|
|
68
68
|
* @author SAP SE
|
|
69
69
|
* @since 1.84.0
|
|
70
|
-
* @version 1.114.
|
|
70
|
+
* @version 1.114.4
|
|
71
71
|
* @private
|
|
72
72
|
*/
|
|
73
73
|
var ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
|