@openui5/sap.ui.rta 1.109.0 → 1.111.0
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/.reuse/dep5 +16 -16
- package/THIRDPARTY.txt +2 -2
- package/package.json +6 -6
- package/src/sap/ui/rta/.library +2 -2
- package/src/sap/ui/rta/Client.js +2 -2
- package/src/sap/ui/rta/RuntimeAuthoring.js +251 -151
- package/src/sap/ui/rta/Utils.js +40 -19
- package/src/sap/ui/rta/api/startAdaptation.js +1 -1
- package/src/sap/ui/rta/api/startKeyUserAdaptation.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +2 -2
- package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
- package/src/sap/ui/rta/appVariant/Feature.js +2 -8
- package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
- package/src/sap/ui/rta/appVariant/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
- package/src/sap/ui/rta/command/AddIFrame.js +2 -2
- package/src/sap/ui/rta/command/AddProperty.js +2 -2
- package/src/sap/ui/rta/command/AddXML.js +2 -2
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
- package/src/sap/ui/rta/command/BaseCommand.js +2 -2
- package/src/sap/ui/rta/command/BindProperty.js +2 -2
- package/src/sap/ui/rta/command/Combine.js +2 -2
- package/src/sap/ui/rta/command/CommandFactory.js +2 -2
- package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +15 -13
- package/src/sap/ui/rta/command/CreateContainer.js +2 -2
- package/src/sap/ui/rta/command/CustomAdd.js +2 -2
- package/src/sap/ui/rta/command/FlexCommand.js +2 -2
- package/src/sap/ui/rta/command/LREPSerializer.js +27 -12
- package/src/sap/ui/rta/command/LocalReset.js +2 -2
- package/src/sap/ui/rta/command/Move.js +2 -2
- package/src/sap/ui/rta/command/Property.js +2 -2
- package/src/sap/ui/rta/command/Remove.js +2 -2
- package/src/sap/ui/rta/command/Rename.js +2 -2
- package/src/sap/ui/rta/command/Resize.js +2 -2
- package/src/sap/ui/rta/command/Reveal.js +2 -2
- package/src/sap/ui/rta/command/Settings.js +2 -2
- package/src/sap/ui/rta/command/Split.js +2 -2
- package/src/sap/ui/rta/command/Stack.js +11 -3
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
- package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +2 -2
- package/src/sap/ui/rta/library.js +3 -3
- package/src/sap/ui/rta/messagebundle.properties +65 -13
- package/src/sap/ui/rta/messagebundle_ar.properties +35 -11
- package/src/sap/ui/rta/messagebundle_bg.properties +35 -11
- package/src/sap/ui/rta/messagebundle_ca.properties +35 -11
- package/src/sap/ui/rta/messagebundle_cs.properties +35 -11
- package/src/sap/ui/rta/messagebundle_cy.properties +34 -10
- package/src/sap/ui/rta/messagebundle_da.properties +34 -10
- package/src/sap/ui/rta/messagebundle_de.properties +37 -13
- package/src/sap/ui/rta/messagebundle_el.properties +34 -10
- package/src/sap/ui/rta/messagebundle_en.properties +33 -9
- package/src/sap/ui/rta/messagebundle_en_GB.properties +33 -9
- package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +31 -5
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +37 -5
- package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +31 -7
- package/src/sap/ui/rta/messagebundle_es.properties +34 -10
- package/src/sap/ui/rta/messagebundle_es_MX.properties +34 -10
- package/src/sap/ui/rta/messagebundle_et.properties +34 -10
- package/src/sap/ui/rta/messagebundle_fi.properties +34 -10
- package/src/sap/ui/rta/messagebundle_fr.properties +34 -10
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +35 -11
- package/src/sap/ui/rta/messagebundle_hi.properties +35 -11
- package/src/sap/ui/rta/messagebundle_hr.properties +35 -11
- package/src/sap/ui/rta/messagebundle_hu.properties +34 -10
- package/src/sap/ui/rta/messagebundle_id.properties +35 -11
- package/src/sap/ui/rta/messagebundle_it.properties +35 -11
- package/src/sap/ui/rta/messagebundle_iw.properties +34 -10
- package/src/sap/ui/rta/messagebundle_ja.properties +35 -11
- package/src/sap/ui/rta/messagebundle_kk.properties +34 -10
- package/src/sap/ui/rta/messagebundle_ko.properties +34 -10
- package/src/sap/ui/rta/messagebundle_lt.properties +34 -10
- package/src/sap/ui/rta/messagebundle_lv.properties +35 -11
- package/src/sap/ui/rta/messagebundle_ms.properties +35 -11
- package/src/sap/ui/rta/messagebundle_nl.properties +34 -10
- package/src/sap/ui/rta/messagebundle_no.properties +35 -11
- package/src/sap/ui/rta/messagebundle_pl.properties +35 -11
- package/src/sap/ui/rta/messagebundle_pt.properties +35 -11
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +34 -10
- package/src/sap/ui/rta/messagebundle_ro.properties +35 -11
- package/src/sap/ui/rta/messagebundle_ru.properties +35 -11
- package/src/sap/ui/rta/messagebundle_sh.properties +34 -10
- package/src/sap/ui/rta/messagebundle_sk.properties +34 -10
- package/src/sap/ui/rta/messagebundle_sl.properties +34 -10
- package/src/sap/ui/rta/messagebundle_sv.properties +35 -11
- package/src/sap/ui/rta/messagebundle_th.properties +36 -12
- package/src/sap/ui/rta/messagebundle_tr.properties +34 -10
- package/src/sap/ui/rta/messagebundle_uk.properties +34 -10
- package/src/sap/ui/rta/messagebundle_vi.properties +35 -11
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +35 -11
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +35 -11
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
- package/src/sap/ui/rta/plugin/Combine.js +2 -2
- package/src/sap/ui/rta/plugin/CompVariant.js +4 -6
- package/src/sap/ui/rta/plugin/ControlVariant.js +2 -2
- package/src/sap/ui/rta/plugin/CreateContainer.js +3 -3
- package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
- package/src/sap/ui/rta/plugin/DragDrop.js +4 -4
- package/src/sap/ui/rta/plugin/EasyAdd.js +30 -21
- package/src/sap/ui/rta/plugin/EasyRemove.js +13 -11
- package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
- package/src/sap/ui/rta/plugin/Plugin.js +57 -13
- package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
- package/src/sap/ui/rta/plugin/Remove.js +3 -3
- package/src/sap/ui/rta/plugin/Rename.js +2 -2
- package/src/sap/ui/rta/plugin/RenameHandler.js +30 -19
- package/src/sap/ui/rta/plugin/Resize.js +2 -2
- package/src/sap/ui/rta/plugin/Selection.js +8 -15
- package/src/sap/ui/rta/plugin/Settings.js +2 -2
- package/src/sap/ui/rta/plugin/Split.js +2 -2
- package/src/sap/ui/rta/plugin/Stretch.js +17 -16
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +28 -7
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.fragment.xml +1 -0
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +4 -2
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +5 -5
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +7 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +4 -4
- package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
- package/src/sap/ui/rta/service/Action.js +2 -2
- package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
- package/src/sap/ui/rta/service/Outline.js +2 -2
- package/src/sap/ui/rta/service/Property.js +2 -2
- package/src/sap/ui/rta/service/Receiver.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +2 -2
- package/src/sap/ui/rta/service/SupportTools.js +2 -2
- package/src/sap/ui/rta/service/index.js +1 -1
- package/src/sap/ui/rta/themes/base/AddIFrame.less +1 -1
- package/src/sap/ui/rta/themes/base/Dialogs.less +1 -1
- package/src/sap/ui/rta/themes/base/FieldRepository.less +1 -1
- package/src/sap/ui/rta/themes/base/library.source.less +1 -1
- package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +82 -0
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +35 -79
- package/src/sap/ui/rta/toolbar/Adaptation.js +83 -25
- package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Base.js +4 -4
- package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +15 -11
- package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
- package/src/sap/ui/rta/toolbar/Personalization.js +2 -2
- package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +340 -0
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptationsDialog.fragment.xml +152 -0
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +225 -0
- package/src/sap/ui/rta/toolbar/contextBased/{SaveAsContextBasedAdaptationDialog.fragment.xml → SaveAsAdaptationDialog.fragment.xml} +19 -15
- package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +4 -4
- package/src/sap/ui/rta/util/Animation.js +5 -9
- package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +2 -2
- package/src/sap/ui/rta/util/PopupManager.js +2 -2
- package/src/sap/ui/rta/util/ReloadManager.js +2 -2
- package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
- package/src/sap/ui/rta/util/StylesLoader.js +1 -1
- package/src/sap/ui/rta/util/UrlParser.js +1 -1
- package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +4 -6
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +27 -3
- package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +127 -71
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
- package/src/sap/ui/rta/util/hasStableId.js +1 -1
- package/src/sap/ui/rta/util/showMessageBox.js +1 -1
- package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
- package/src/sap/ui/rta/util/validateStableIds.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsContextBasedAdaptation.js +0 -124
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* @extends sap.ui.base.ManagedObject
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.111.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @since 1.42
|
|
@@ -177,23 +177,33 @@ sap.ui.define([
|
|
|
177
177
|
}.bind(this))
|
|
178
178
|
.then(function() {
|
|
179
179
|
Log.info("UI adaptation successfully transfered changes to layered repository");
|
|
180
|
+
this.getCommandStack().setSaved(true);
|
|
180
181
|
this.getCommandStack().removeAllCommands();
|
|
181
182
|
}.bind(this));
|
|
182
183
|
|
|
183
184
|
return this._lastPromise;
|
|
184
185
|
};
|
|
185
186
|
|
|
186
|
-
LREPSerializer.prototype._triggerUndoChanges = function() {
|
|
187
|
+
LREPSerializer.prototype._triggerUndoChanges = function(bRemoveChanges) {
|
|
187
188
|
var oCommandStack = this.getCommandStack();
|
|
188
189
|
var aPromises = [];
|
|
189
190
|
|
|
190
191
|
var aCommands = oCommandStack.getAllExecutedCommands();
|
|
191
|
-
aCommands.forEach(function(oCommand) {
|
|
192
|
-
aPromises.push(oCommand.undo.bind(oCommand));
|
|
193
|
-
});
|
|
194
192
|
|
|
195
|
-
|
|
196
|
-
|
|
193
|
+
if (bRemoveChanges) {
|
|
194
|
+
// Calling "undo" from the stack, the serializer is also informed of the
|
|
195
|
+
// command execution and clears the dirty changes from the persistence
|
|
196
|
+
aCommands.forEach(function() {
|
|
197
|
+
// Undo on the stack already starts from the last command
|
|
198
|
+
aPromises.push(oCommandStack.undo.bind(oCommandStack));
|
|
199
|
+
});
|
|
200
|
+
} else {
|
|
201
|
+
aCommands.forEach(function(oCommand) {
|
|
202
|
+
aPromises.push(oCommand.undo.bind(oCommand));
|
|
203
|
+
});
|
|
204
|
+
// The last command has to be undone first, therefore reversing is required
|
|
205
|
+
aPromises = aPromises.reverse();
|
|
206
|
+
}
|
|
197
207
|
|
|
198
208
|
return FlUtils.execPromiseQueueSequentially(aPromises, false, true);
|
|
199
209
|
};
|
|
@@ -203,18 +213,23 @@ sap.ui.define([
|
|
|
203
213
|
* At this point command stack is not aware if the changes have been already booked for the new app variant.
|
|
204
214
|
* Therefore if there shall be some UI changes present in command stack, we undo all the changes till the beginning.
|
|
205
215
|
* In the last when user presses 'Save and Exit', there will be no change registered for the current app.
|
|
216
|
+
* @param {boolean} bRemoveChanges if LREPSerializer should clear the dirty changes in the persistence
|
|
206
217
|
* @returns {Promise} returns a promise with true or false
|
|
207
218
|
*/
|
|
208
|
-
LREPSerializer.prototype.clearCommandStack = function() {
|
|
219
|
+
LREPSerializer.prototype.clearCommandStack = function(bRemoveChanges) {
|
|
209
220
|
var oCommandStack = this.getCommandStack();
|
|
210
221
|
|
|
211
222
|
// Detach the event 'commandExecuted' here to stop the communication of LREPSerializer with Flex
|
|
212
|
-
|
|
213
|
-
|
|
223
|
+
if (!bRemoveChanges) {
|
|
224
|
+
oCommandStack.detachCommandExecuted(this.handleCommandExecuted.bind(this));
|
|
225
|
+
}
|
|
226
|
+
return this._triggerUndoChanges(bRemoveChanges)
|
|
214
227
|
.then(function() {
|
|
215
228
|
oCommandStack.removeAllCommands();
|
|
216
229
|
// Attach the event 'commandExecuted' here to start the communication of LREPSerializer with Flex
|
|
217
|
-
|
|
230
|
+
if (!bRemoveChanges) {
|
|
231
|
+
oCommandStack.attachCommandExecuted(this.handleCommandExecuted.bind(this));
|
|
232
|
+
}
|
|
218
233
|
return true;
|
|
219
234
|
}.bind(this));
|
|
220
235
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.111.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.90
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -17,7 +17,7 @@ function(
|
|
|
17
17
|
* @class
|
|
18
18
|
* @extends sap.ui.rta.command.FlexCommand
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.111.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.111.0
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.111.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.42
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.111.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.34
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.111.0
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.101
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.111.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.44
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
|
|
|
12
12
|
* @class
|
|
13
13
|
* @extends sap.ui.rta.command.FlexCommand
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.111.0
|
|
16
16
|
* @constructor
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.44
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
* @class
|
|
15
15
|
* @extends sap.ui.rta.command.FlexCommand
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.111.0
|
|
18
18
|
* @constructor
|
|
19
19
|
* @private
|
|
20
20
|
* @since 1.46
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.111.0
|
|
63
63
|
* @constructor
|
|
64
64
|
* @private
|
|
65
65
|
* @since 1.34
|
|
@@ -70,7 +70,15 @@ sap.ui.define([
|
|
|
70
70
|
var Stack = ManagedObject.extend("sap.ui.rta.command.Stack", {
|
|
71
71
|
metadata: {
|
|
72
72
|
library: "sap.ui.rta",
|
|
73
|
-
properties: {
|
|
73
|
+
properties: {
|
|
74
|
+
/**
|
|
75
|
+
* If the stack was saved at least once
|
|
76
|
+
*/
|
|
77
|
+
saved: {
|
|
78
|
+
type: "boolean",
|
|
79
|
+
defaultValue: false
|
|
80
|
+
}
|
|
81
|
+
},
|
|
74
82
|
aggregations: {
|
|
75
83
|
commands: {
|
|
76
84
|
type: "sap.ui.rta.command.BaseCommand",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @extends sap.ui.rta.command.AppDescriptorCommand
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.111.0
|
|
21
21
|
*
|
|
22
22
|
* @constructor
|
|
23
23
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.111.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.102
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.111.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.87
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* @class
|
|
19
19
|
* @extends sap.ui.rta.command.BaseCommand
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.111.0
|
|
22
22
|
* @constructor
|
|
23
23
|
* @private
|
|
24
24
|
* @since 1.87
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @class
|
|
23
23
|
* @extends sap.ui.rta.command.BaseCommand
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.111.0
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @since 1.87
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* global QUnit */
|
|
2
2
|
/*!
|
|
3
3
|
* OpenUI5
|
|
4
|
-
* (c) Copyright 2009-
|
|
4
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
* E.g. <code>elementActionTest.only("Remove");</code>
|
|
54
54
|
*
|
|
55
55
|
* @author SAP SE
|
|
56
|
-
* @version 1.
|
|
56
|
+
* @version 1.111.0
|
|
57
57
|
*
|
|
58
58
|
* @static
|
|
59
59
|
* @since 1.42
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -23,14 +23,14 @@ function() {
|
|
|
23
23
|
* @namespace
|
|
24
24
|
* @alias sap.ui.rta
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.111.0
|
|
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.
|
|
33
|
+
version: "1.111.0",
|
|
34
34
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
35
35
|
types: [],
|
|
36
36
|
interfaces: [],
|
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
#XTIT: Service name for general use (e.g. confirmation dialogs, titles, etc.)
|
|
5
5
|
SERVICE_NAME=UI Adaptation
|
|
6
|
-
#XBUT: Button 'Save
|
|
7
|
-
|
|
6
|
+
#XBUT: Button 'Save' on the Toolbar
|
|
7
|
+
BTN_SAVE=Save
|
|
8
|
+
#XBUT: Button 'Exit' on the Toolbar
|
|
9
|
+
BTN_EXIT=Exit
|
|
8
10
|
#XBUT: Button 'Done' of the Toolbar
|
|
9
11
|
BTN_DONE=Done
|
|
10
12
|
#XMIT: Context Menu Entry 'Remove'
|
|
11
13
|
CTX_REMOVE=Remove
|
|
12
14
|
#XMIT: Remove Confirm Dialog Title
|
|
13
15
|
CTX_REMOVE_TITLE=Remove
|
|
14
|
-
#XMIT: Context Menu Entry for local reset of
|
|
16
|
+
#XMIT: Context Menu Entry for local reset of containers
|
|
15
17
|
CTX_LOCAL_RESET=Reset Container
|
|
16
18
|
#XMIT: Context Menu Entry 'Add <control type, e.g. Field, Section, ...>'
|
|
17
19
|
CTX_ADD_ELEMENTS=Add\: {0}
|
|
@@ -69,8 +71,10 @@ LBL_FREP=was {0}
|
|
|
69
71
|
HEADER_ADDITIONAL_ELEMENTS=Available Content\: {0}
|
|
70
72
|
#XHED: Header for dialog showing additional elements with placeholder specifying the aggregation name
|
|
71
73
|
HEADER_ADDITIONAL_ELEMENTS_WITH_AGGREGATION=Available Content for\: {0}
|
|
72
|
-
#XBUT: Tooltip for
|
|
73
|
-
BTN_MANAGE_APPS_TXT=
|
|
74
|
+
#XBUT: Tooltip for Apps Variant menu in RTA Toolbar
|
|
75
|
+
BTN_MANAGE_APPS_TXT=App Variants
|
|
76
|
+
#XBUT: Tooltip for Manage Apps Variant submenu item in RTA Toolbar
|
|
77
|
+
BTN_MANAGE_APPS_ITEM=Manage
|
|
74
78
|
#XBUT: Button 'Save As' of the Toolbar
|
|
75
79
|
BTN_SAVE_AS=Save As
|
|
76
80
|
#XTOL: Tooltip for Button 'Save As' of the Toolbar
|
|
@@ -79,6 +83,8 @@ TOOLTIP_SAVE_AS=Create New App Variant
|
|
|
79
83
|
BTN_UNDO=Undo
|
|
80
84
|
#XBUT: Button 'Redo' of the Toolbar
|
|
81
85
|
BTN_REDO=Redo
|
|
86
|
+
#BUT: Button 'More Actions' of the Toolbar
|
|
87
|
+
BTN_MENU=More Actions
|
|
82
88
|
#XBUT: Button 'Reset' of the Toolbar
|
|
83
89
|
BTN_RESTORE=Reset
|
|
84
90
|
#XBUT: Button 'UI Adaptation' of the Toolbar
|
|
@@ -177,6 +183,14 @@ FORM_PERS_RESET_MESSAGE_PERSONALIZATION=Do you want to discard all your personal
|
|
|
177
183
|
MSG_LREP_TRANSFER_ERROR=Sorry, a technical error occurred. Please try again later, or contact your administrator.
|
|
178
184
|
#XMSG: Error message showing the reason (technical info)
|
|
179
185
|
MSG_ERROR_REASON=Reason\:\n{0}
|
|
186
|
+
#XTIT: undo unsaved changes on close ui adaptation confirmation dialog title
|
|
187
|
+
TIT_UNSAVED_CHANGES_ON_CLOSE=Exit
|
|
188
|
+
#XMSG: undo unsaved changes on close ui adaptation confirmation dialog message
|
|
189
|
+
MSG_UNSAVED_CHANGES_ON_CLOSE=Save your changes?
|
|
190
|
+
#XBUT: Button 'Save' on the Dialog
|
|
191
|
+
BTN_UNSAVED_CHANGES_ON_CLOSE_SAVE=Save
|
|
192
|
+
#XBUT: Button 'Discard' on the Dialog
|
|
193
|
+
BTN_UNSAVED_CHANGES_ON_CLOSE_DONT_SAVE=Discard
|
|
180
194
|
#XMSG: Message when leaving RTA without saving
|
|
181
195
|
MSG_UNSAVED_CHANGES=If you confirm, all your UI changes will be lost. To save them, close this dialog box, and exit UI Adaptation.
|
|
182
196
|
#XMSG: Message when no fields are available in the add-field-dialog
|
|
@@ -185,8 +199,8 @@ MSG_NO_FIELDS=No more content available
|
|
|
185
199
|
HEADER_PERSONALIZATION_EXISTS=Information
|
|
186
200
|
#XMSG: Dialog message for personalization exists
|
|
187
201
|
MSG_PERSONALIZATION_OR_PUBLIC_VIEWS_EXISTS=You have personalized the app or there are public views. The app will now reload without these changes. Any recently made changes may remain active.
|
|
188
|
-
#XMSG: MessageToast to warn users that changes made in navigation mode will be discarded after
|
|
189
|
-
MSG_NAVIGATION_MODE_CHANGES_WARNING=Changes made to the UI in navigation mode will be discarded after you
|
|
202
|
+
#XMSG: MessageToast to warn users that changes made in navigation mode will be discarded after exit
|
|
203
|
+
MSG_NAVIGATION_MODE_CHANGES_WARNING=Changes made to the UI in navigation mode will be discarded after you exit UI Adaptation.
|
|
190
204
|
#XMSG: Dialog message for draft changes exists
|
|
191
205
|
MSG_DRAFT_EXISTS=Draft changes are available for this app. In UI adaptation mode, the draft changes will be loaded.
|
|
192
206
|
#XMSG: Dialog message when user discards a draft
|
|
@@ -496,22 +510,60 @@ MSG_ADAPTATION_COULD_NOT_START=Error starting UI adaptation
|
|
|
496
510
|
#XMSG: No Key User rights Error Message
|
|
497
511
|
MSG_NO_KEY_USER_RIGHTS_ERROR_MESSAGE=You do not have key user permissions. Please contact your administrator.
|
|
498
512
|
|
|
499
|
-
#XTIT:
|
|
500
|
-
APP_CONTEXTS_OVERVIEW_DIALOG_TITLE=Overview of App Contexts
|
|
501
|
-
|
|
502
|
-
#XTIT: App contexts Edit Dialog title
|
|
513
|
+
#XTIT: Context-Based Adaptation Edit Dialog title
|
|
503
514
|
EAC_DIALOG_HEADER=Edit Adaptation
|
|
504
|
-
#XTIT:
|
|
515
|
+
#XTIT: Context-Based Adaptation Save Dialog title
|
|
505
516
|
SAC_DIALOG_HEADER=Save as New Adaptation
|
|
517
|
+
#XTITT: Context-Based Adaptation Manage Dialog title
|
|
518
|
+
MANAGE_ADAPTATIONS_DIALOG_HEADER=Manage Adaptations
|
|
506
519
|
#XTIT: Text for Manage Adaptations Button in RTA toolbar
|
|
507
520
|
BTN_MANAGE_APP_CTX=Manage Adaptations
|
|
508
521
|
#XBUT: Tooltip for Manage Adaptations Button in RTA Toolbar
|
|
509
522
|
TXT_MANAGE_APP_CTX=View, edit or delete adaptations
|
|
510
523
|
#XFLD: column header for column on the far left
|
|
511
524
|
CLM_HEADER_PRIORITY=Priority
|
|
525
|
+
#XFLD: column header for table who created table row and when
|
|
526
|
+
CLM_HEADER_CREATED=Created
|
|
527
|
+
#XFLD: column header for table who last changed table row and when
|
|
528
|
+
CLM_HEADER_CHANGED=Last Changed
|
|
529
|
+
#XFLD: actions that can be performed on new artefact
|
|
530
|
+
CLM_HEADER_ADAPTATIONS_ACTIONS=Actions
|
|
531
|
+
#XFLD: column header for column on the far left
|
|
532
|
+
CLM_HEADER_CONTEXT=Context
|
|
533
|
+
#XFLD: title of a new artefact
|
|
534
|
+
CLM_HEADER_ADAPTATIONS_TITLE=Title
|
|
535
|
+
#XFLD: description of a new artefact
|
|
536
|
+
MAA_DIALOG_DESCRIPTION=Description
|
|
537
|
+
#XBTN: save as new artefact
|
|
538
|
+
MAA_DIALOG_SAVE_AS_APP=Save as
|
|
539
|
+
#XBTN: button to adapt the UI
|
|
540
|
+
MAA_DIALOG_ADAPT_UI=Adapt UI
|
|
541
|
+
#XFLD: menu bar item for available actions
|
|
542
|
+
MENU_BTN_SHARE=Share
|
|
543
|
+
#XFLD: menu bar item for available actions
|
|
544
|
+
MENU_BTN_EDIT=Edit
|
|
545
|
+
#XFLD: delete context-based adaptation button
|
|
546
|
+
MAA_DIALOG_DELETE=Delete
|
|
512
547
|
#XTXT: priority dropdown selection for first position
|
|
513
548
|
TXT_SELECT_FIRST_PRIO=Insert before all (Priority '1')
|
|
514
549
|
#XTXT: priority dropdown selection for all other positions
|
|
515
550
|
TXT_SELECT_PRIO=Insert after ''{0}'' (Priority ''{1}'')
|
|
516
551
|
#XTXT: placeholder text to enter into description input field
|
|
517
|
-
SAVE_AS_DIALOG_PLACEHOLDER_DESCRIPTION_TEXT=Enter description
|
|
552
|
+
SAVE_AS_DIALOG_PLACEHOLDER_DESCRIPTION_TEXT=Enter description
|
|
553
|
+
#XFLD: postfix for context table cell
|
|
554
|
+
TXT_TABLE_CONTEXT_CELL_ROLE=role
|
|
555
|
+
#XFLD: postfix for context table cell
|
|
556
|
+
TXT_TABLE_CONTEXT_CELL_ROLES=roles
|
|
557
|
+
#XTXT: title of adaptation without contexts
|
|
558
|
+
TXT_DEFAULT_APP=Default App
|
|
559
|
+
#XBUT: Context-Based Adaptation predefined text for Save button
|
|
560
|
+
APP_CTX_DIALOG_SAVE=Save
|
|
561
|
+
#XBUT: Context-Based Adaptation predefined text for Cancel button
|
|
562
|
+
APP_CTX_DIALOG_CANCEL=Cancel
|
|
563
|
+
TOOLTIP_APP_CTX_DIALOG_SAVE=Context-based adaptation has not been changed.
|
|
564
|
+
#TXT: Context-Based Adaptation duplicate title error message
|
|
565
|
+
TXT_CTX_ERROR_DUPLICATE_TITLE=The adaptation title already exists. Please enter a different title.
|
|
566
|
+
#XTIT: Context-Based Adaptation predefined title for Error Message max length
|
|
567
|
+
TXT_CTX_ERROR_MAX_LEN=Adaptation titles are restricted to {0} characters
|
|
568
|
+
#TXT: Context-Based Adaptation empty title error message
|
|
569
|
+
TXT_CTX_ERROR_EMPTY_TITLE=Please enter a title.
|