@openui5/sap.ui.rta 1.118.0 → 1.119.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 +40 -63
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/manifest.json +1 -1
- package/src/sap/ui/rta/command/AddIFrame.js +6 -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 +2 -2
- 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 +6 -0
- package/src/sap/ui/rta/messagebundle_bg.properties +13 -13
- package/src/sap/ui/rta/messagebundle_cs.properties +2 -2
- package/src/sap/ui/rta/messagebundle_de.properties +1 -1
- package/src/sap/ui/rta/messagebundle_en.properties +3 -0
- package/src/sap/ui/rta/messagebundle_es_MX.properties +5 -5
- package/src/sap/ui/rta/messagebundle_fi.properties +1 -1
- package/src/sap/ui/rta/messagebundle_fr.properties +1 -1
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +2 -2
- package/src/sap/ui/rta/messagebundle_hi.properties +5 -5
- package/src/sap/ui/rta/messagebundle_hr.properties +1 -1
- package/src/sap/ui/rta/messagebundle_hu.properties +2 -2
- package/src/sap/ui/rta/messagebundle_id.properties +2 -2
- package/src/sap/ui/rta/messagebundle_it.properties +1 -1
- package/src/sap/ui/rta/messagebundle_ja.properties +13 -13
- package/src/sap/ui/rta/messagebundle_kk.properties +1 -1
- package/src/sap/ui/rta/messagebundle_ms.properties +3 -3
- package/src/sap/ui/rta/messagebundle_no.properties +1 -1
- package/src/sap/ui/rta/messagebundle_pl.properties +2 -2
- package/src/sap/ui/rta/messagebundle_pt.properties +1 -1
- package/src/sap/ui/rta/messagebundle_ro.properties +1 -1
- package/src/sap/ui/rta/messagebundle_sk.properties +1 -1
- package/src/sap/ui/rta/messagebundle_sl.properties +1 -1
- package/src/sap/ui/rta/messagebundle_th.properties +6 -6
- package/src/sap/ui/rta/messagebundle_uk.properties +2 -2
- package/src/sap/ui/rta/messagebundle_zh_CN.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 +3 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +45 -3
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +18 -19
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +30 -3
- package/src/sap/ui/rta/service/Action.js +3 -3
- 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/Receiver.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/themes/base/AddIFrame.less +6 -1
- package/src/sap/ui/rta/toolbar/Adaptation.js +2 -2
- 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 +2 -2
- 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/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +4 -4
- package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +2 -2
- package/src/sap/ui/rta/util/validateStableIds.js +1 -1
package/THIRDPARTY.txt
CHANGED
|
@@ -401,7 +401,7 @@ License: MIT
|
|
|
401
401
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
402
402
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
403
403
|
|
|
404
|
-
Component: Markdown-it, version: 12.2
|
|
404
|
+
Component: Markdown-it, version: 12.3.2
|
|
405
405
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
406
406
|
License: MIT
|
|
407
407
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -466,7 +466,7 @@ License: Apache-2.0
|
|
|
466
466
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
467
467
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
468
468
|
|
|
469
|
-
Component: SAP Theming Base Content, version: 11.
|
|
469
|
+
Component: SAP Theming Base Content, version: 11.6.8
|
|
470
470
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
471
471
|
License: Apache-2.0
|
|
472
472
|
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.119.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.119.1",
|
|
18
|
+
"@openui5/sap.ui.core": "1.119.1",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.119.1",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.119.1",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.119.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-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.
|
|
9
|
+
<version>1.119.1</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.
|
|
123
|
+
* @version 1.119.1
|
|
124
124
|
* @constructor
|
|
125
125
|
* @private
|
|
126
126
|
* @since 1.30
|
|
@@ -324,7 +324,7 @@ sap.ui.define([
|
|
|
324
324
|
} else {
|
|
325
325
|
throw DtUtil.createError(
|
|
326
326
|
"RuntimeAuthoring#addDependent",
|
|
327
|
-
|
|
327
|
+
`Can't add dependency with same key '${sName}'`,
|
|
328
328
|
"sap.ui.rta"
|
|
329
329
|
);
|
|
330
330
|
}
|
|
@@ -1066,7 +1066,7 @@ sap.ui.define([
|
|
|
1066
1066
|
var oTextResources = sap.ui.getCore().getLibraryResourceBundle("sap.ui.rta");
|
|
1067
1067
|
Log.error("Failed to transfer changes", sErrorMessage);
|
|
1068
1068
|
var sMsg = `${oTextResources.getText("MSG_LREP_TRANSFER_ERROR")}
|
|
1069
|
-
${oTextResources.getText("MSG_ERROR_REASON", sErrorMessage)}`;
|
|
1069
|
+
${oTextResources.getText("MSG_ERROR_REASON", [sErrorMessage])}`;
|
|
1070
1070
|
MessageBox.error(sMsg, {
|
|
1071
1071
|
styleClass: Utils.getRtaStyleClassName()
|
|
1072
1072
|
});
|
|
@@ -1076,55 +1076,34 @@ sap.ui.define([
|
|
|
1076
1076
|
* Adapt the enablement of undo/redo/reset button
|
|
1077
1077
|
*/
|
|
1078
1078
|
function onStackModified() {
|
|
1079
|
-
var oCommandStack = this.getCommandStack();
|
|
1080
|
-
var bCanUndo = oCommandStack.canUndo();
|
|
1081
|
-
|
|
1082
|
-
// FIXME Missing check whether action is saveable e.g. switching a view should not trigger this
|
|
1083
|
-
// bCanUndo and _bUserDiscardedDraft seem to be redundant logic,
|
|
1084
|
-
// because displayedVersion would be draft already
|
|
1085
|
-
if (
|
|
1086
|
-
!this.getShowToolbars() ||
|
|
1087
|
-
!bCanUndo ||
|
|
1088
|
-
this._bUserDiscardedDraft
|
|
1089
|
-
) {
|
|
1090
|
-
modifyStack.call(this);
|
|
1091
|
-
return;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
1079
|
// warn the user: the existing draft would be discarded in case the user saves
|
|
1095
1080
|
Utils.checkDraftOverwrite(this._oVersionsModel)
|
|
1096
|
-
.then(
|
|
1097
|
-
if (
|
|
1098
|
-
|
|
1081
|
+
.then(() => {
|
|
1082
|
+
if (this.getShowToolbars()) {
|
|
1083
|
+
var oCommandStack = this.getCommandStack();
|
|
1084
|
+
var bCanUndo = oCommandStack.canUndo();
|
|
1085
|
+
var bCanRedo = oCommandStack.canRedo();
|
|
1086
|
+
var bCanSave = oCommandStack.canSave();
|
|
1087
|
+
var bWasSaved = oCommandStack.getSaved();
|
|
1088
|
+
var bTranslationRelevantDirtyChange = this._oToolbarControlsModel.getProperty("/translation/visible") &&
|
|
1089
|
+
TranslationAPI.hasTranslationRelevantDirtyChanges({layer: Layer.CUSTOMER, selector: this.getRootControlInstance()});
|
|
1090
|
+
|
|
1091
|
+
// TODO: move to the setter to the ChangesState
|
|
1092
|
+
this._oVersionsModel.setDirtyChanges(PersistenceWriteAPI.hasDirtyChanges({selector: this.getRootControlInstance()}));
|
|
1093
|
+
this._oToolbarControlsModel.setProperty("/undo/enabled", bCanUndo);
|
|
1094
|
+
this._oToolbarControlsModel.setProperty("/redo/enabled", bCanRedo);
|
|
1095
|
+
this._oToolbarControlsModel.setProperty("/save/enabled", bCanSave);
|
|
1096
|
+
this._oToolbarControlsModel.setProperty("/restore/enabled", this.bInitialResetEnabled || bCanSave || bWasSaved);
|
|
1097
|
+
this._oToolbarControlsModel.setProperty(
|
|
1098
|
+
"/translation/enabled",
|
|
1099
|
+
this.bPersistedDataTranslatable || bTranslationRelevantDirtyChange
|
|
1100
|
+
);
|
|
1099
1101
|
}
|
|
1100
|
-
|
|
1101
|
-
}
|
|
1102
|
+
this.fireUndoRedoStackModified();
|
|
1103
|
+
})
|
|
1104
|
+
.catch(() => {
|
|
1102
1105
|
this.undo();
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
function modifyStack() {
|
|
1107
|
-
if (this.getShowToolbars()) {
|
|
1108
|
-
var oCommandStack = this.getCommandStack();
|
|
1109
|
-
var bCanUndo = oCommandStack.canUndo();
|
|
1110
|
-
var bCanRedo = oCommandStack.canRedo();
|
|
1111
|
-
var bCanSave = oCommandStack.canSave();
|
|
1112
|
-
var bWasSaved = oCommandStack.getSaved();
|
|
1113
|
-
var bTranslationRelevantDirtyChange = this._oToolbarControlsModel.getProperty("/translation/visible") &&
|
|
1114
|
-
TranslationAPI.hasTranslationRelevantDirtyChanges({layer: Layer.CUSTOMER, selector: this.getRootControlInstance()});
|
|
1115
|
-
|
|
1116
|
-
// TODO: move to the setter to the ChangesState
|
|
1117
|
-
this._oVersionsModel.setDirtyChanges(PersistenceWriteAPI.hasDirtyChanges({selector: this.getRootControlInstance()}));
|
|
1118
|
-
this._oToolbarControlsModel.setProperty("/undo/enabled", bCanUndo);
|
|
1119
|
-
this._oToolbarControlsModel.setProperty("/redo/enabled", bCanRedo);
|
|
1120
|
-
this._oToolbarControlsModel.setProperty("/save/enabled", bCanSave);
|
|
1121
|
-
this._oToolbarControlsModel.setProperty("/restore/enabled", this.bInitialResetEnabled || bCanSave || bWasSaved);
|
|
1122
|
-
this._oToolbarControlsModel.setProperty(
|
|
1123
|
-
"/translation/enabled",
|
|
1124
|
-
this.bPersistedDataTranslatable || bTranslationRelevantDirtyChange
|
|
1125
|
-
);
|
|
1126
|
-
}
|
|
1127
|
-
this.fireUndoRedoStackModified();
|
|
1106
|
+
});
|
|
1128
1107
|
}
|
|
1129
1108
|
|
|
1130
1109
|
function checkToolbarAndExecuteFunction(sName, vValue) {
|
|
@@ -1301,7 +1280,8 @@ sap.ui.define([
|
|
|
1301
1280
|
var sLayer = this.getLayer();
|
|
1302
1281
|
var oReloadInfo = {
|
|
1303
1282
|
layer: sLayer,
|
|
1304
|
-
removeDraft: true
|
|
1283
|
+
removeDraft: true,
|
|
1284
|
+
selector: this.getRootControlInstance()
|
|
1305
1285
|
};
|
|
1306
1286
|
RuntimeAuthoring.enableRestart(sLayer, this.getRootControlInstance());
|
|
1307
1287
|
this.getCommandStack().removeAllCommands();
|
|
@@ -1438,10 +1418,11 @@ sap.ui.define([
|
|
|
1438
1418
|
}).then(function() {
|
|
1439
1419
|
var oReloadInfo = {
|
|
1440
1420
|
versionSwitch: true,
|
|
1441
|
-
version: sVersion
|
|
1421
|
+
version: sVersion,
|
|
1422
|
+
selector: this.getRootControlInstance()
|
|
1442
1423
|
};
|
|
1443
1424
|
ReloadManager.triggerReload(oReloadInfo);
|
|
1444
|
-
});
|
|
1425
|
+
}.bind(this));
|
|
1445
1426
|
}
|
|
1446
1427
|
|
|
1447
1428
|
function onPublishVersion() {
|
|
@@ -1849,7 +1830,7 @@ sap.ui.define([
|
|
|
1849
1830
|
return Promise.reject(
|
|
1850
1831
|
DtUtil.createError(
|
|
1851
1832
|
"RuntimeAuthoring#startService",
|
|
1852
|
-
|
|
1833
|
+
`Can't start the service '${sName}' because RTA startup failed`,
|
|
1853
1834
|
"sap.ui.rta"
|
|
1854
1835
|
)
|
|
1855
1836
|
);
|
|
@@ -1864,7 +1845,7 @@ sap.ui.define([
|
|
|
1864
1845
|
return Promise.reject(
|
|
1865
1846
|
DtUtil.createError(
|
|
1866
1847
|
"RuntimeAuthoring#startService",
|
|
1867
|
-
|
|
1848
|
+
`Unknown service. Can't find any registered service by name '${sName}'`,
|
|
1868
1849
|
"sap.ui.rta"
|
|
1869
1850
|
)
|
|
1870
1851
|
);
|
|
@@ -1886,7 +1867,7 @@ sap.ui.define([
|
|
|
1886
1867
|
return Promise.reject(
|
|
1887
1868
|
DtUtil.createError(
|
|
1888
1869
|
"RuntimeAuthoring#startService",
|
|
1889
|
-
|
|
1870
|
+
`Unknown service status. Service name = '${sName}'`,
|
|
1890
1871
|
"sap.ui.rta"
|
|
1891
1872
|
)
|
|
1892
1873
|
);
|
|
@@ -1912,18 +1893,14 @@ sap.ui.define([
|
|
|
1912
1893
|
if (this.bIsDestroyed) {
|
|
1913
1894
|
throw DtUtil.createError(
|
|
1914
1895
|
"RuntimeAuthoring#startService",
|
|
1915
|
-
|
|
1896
|
+
`RuntimeAuthoring instance is destroyed while initializing the service '${sName}'`,
|
|
1916
1897
|
"sap.ui.rta"
|
|
1917
1898
|
);
|
|
1918
1899
|
}
|
|
1919
1900
|
if (!isPlainObject(oService)) {
|
|
1920
1901
|
throw DtUtil.createError(
|
|
1921
1902
|
"RuntimeAuthoring#startService",
|
|
1922
|
-
|
|
1923
|
-
"Invalid service format. "
|
|
1924
|
-
+ "Service should return simple javascript object after initialization. Service name = '{0}'",
|
|
1925
|
-
sName
|
|
1926
|
-
),
|
|
1903
|
+
`Invalid service format. Service should return simple javascript object after initialization. Service name = '${sName}'`,
|
|
1927
1904
|
"sap.ui.rta"
|
|
1928
1905
|
);
|
|
1929
1906
|
}
|
|
@@ -1964,7 +1941,7 @@ sap.ui.define([
|
|
|
1964
1941
|
DtUtil.propagateError(
|
|
1965
1942
|
vError,
|
|
1966
1943
|
"RuntimeAuthoring#startService",
|
|
1967
|
-
|
|
1944
|
+
`Can't load service '${sName}' by its name: ${sServiceLocation}`,
|
|
1968
1945
|
"sap.ui.rta"
|
|
1969
1946
|
)
|
|
1970
1947
|
);
|
|
@@ -1977,7 +1954,7 @@ sap.ui.define([
|
|
|
1977
1954
|
DtUtil.propagateError(
|
|
1978
1955
|
vError,
|
|
1979
1956
|
"RuntimeAuthoring#startService",
|
|
1980
|
-
|
|
1957
|
+
`Error initializing service '${sName}'`,
|
|
1981
1958
|
"sap.ui.rta"
|
|
1982
1959
|
)
|
|
1983
1960
|
);
|
|
@@ -2004,7 +1981,7 @@ sap.ui.define([
|
|
|
2004
1981
|
} else {
|
|
2005
1982
|
throw DtUtil.createError(
|
|
2006
1983
|
"RuntimeAuthoring#stopService",
|
|
2007
|
-
|
|
1984
|
+
`Can't destroy service: unable to find service with name '${sName}'`,
|
|
2008
1985
|
"sap.ui.rta"
|
|
2009
1986
|
);
|
|
2010
1987
|
}
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -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.119.1
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.75
|
|
@@ -54,6 +54,11 @@ sap.ui.define([
|
|
|
54
54
|
type: "string",
|
|
55
55
|
group: "content"
|
|
56
56
|
},
|
|
57
|
+
useLegacyNavigation: {
|
|
58
|
+
type: "boolean",
|
|
59
|
+
defaultValue: false,
|
|
60
|
+
group: "content"
|
|
61
|
+
},
|
|
57
62
|
changeType: {
|
|
58
63
|
type: "string",
|
|
59
64
|
defaultValue: "addIFrame"
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @class
|
|
60
60
|
* @extends sap.ui.base.ManagedObject
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.119.1
|
|
63
63
|
* @constructor
|
|
64
64
|
* @private
|
|
65
65
|
* @since 1.34
|
|
@@ -247,7 +247,7 @@ sap.ui.define([
|
|
|
247
247
|
this._toBeExecuted--;
|
|
248
248
|
var oRtaResourceBundle = Core.getLibraryResourceBundle("sap.ui.rta");
|
|
249
249
|
showMessageBox(
|
|
250
|
-
oRtaResourceBundle.getText("MSG_GENERIC_ERROR_MESSAGE", oError.message),
|
|
250
|
+
oRtaResourceBundle.getText("MSG_GENERIC_ERROR_MESSAGE", [oError.message]),
|
|
251
251
|
{title: oRtaResourceBundle.getText("HEADER_ERROR")},
|
|
252
252
|
"error"
|
|
253
253
|
);
|