@openui5/sap.ui.rta 1.131.1 → 1.132.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/.eslintrc.json +1 -2
- package/THIRDPARTY.txt +1 -1
- 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 +26 -10
- package/src/sap/ui/rta/Utils.js +2 -2
- 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 +1 -1
- 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/i18n/i18n_en_US_saptrc.properties +27 -27
- package/src/sap/ui/rta/appVariant/manageApps/webapp/index.html +3 -3
- 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/AnnotationCommand.js +79 -0
- 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 +6 -8
- package/src/sap/ui/rta/command/Combine.js +2 -2
- package/src/sap/ui/rta/command/CommandFactory.js +3 -3
- package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +9 -5
- package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +8 -6
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +14 -11
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +6 -4
- 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 +2 -2
- 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 +2 -2
- 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 +14 -2
- package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +15 -16
- package/src/sap/ui/rta/library.js +3 -3
- package/src/sap/ui/rta/messagebundle.properties +18 -0
- package/src/sap/ui/rta/messagebundle_ar.properties +10 -0
- package/src/sap/ui/rta/messagebundle_bg.properties +13 -3
- package/src/sap/ui/rta/messagebundle_ca.properties +10 -0
- package/src/sap/ui/rta/messagebundle_cnr.properties +10 -0
- package/src/sap/ui/rta/messagebundle_cs.properties +10 -0
- package/src/sap/ui/rta/messagebundle_cy.properties +10 -0
- package/src/sap/ui/rta/messagebundle_da.properties +10 -0
- package/src/sap/ui/rta/messagebundle_de.properties +10 -0
- package/src/sap/ui/rta/messagebundle_el.properties +10 -0
- package/src/sap/ui/rta/messagebundle_en.properties +10 -0
- package/src/sap/ui/rta/messagebundle_en_GB.properties +10 -0
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +10 -0
- package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +347 -325
- package/src/sap/ui/rta/messagebundle_es.properties +10 -0
- package/src/sap/ui/rta/messagebundle_es_MX.properties +18 -8
- package/src/sap/ui/rta/messagebundle_et.properties +10 -0
- package/src/sap/ui/rta/messagebundle_fi.properties +10 -0
- package/src/sap/ui/rta/messagebundle_fr.properties +10 -0
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +10 -0
- package/src/sap/ui/rta/messagebundle_hi.properties +10 -0
- package/src/sap/ui/rta/messagebundle_hr.properties +10 -0
- package/src/sap/ui/rta/messagebundle_hu.properties +10 -0
- package/src/sap/ui/rta/messagebundle_id.properties +10 -0
- package/src/sap/ui/rta/messagebundle_it.properties +10 -0
- package/src/sap/ui/rta/messagebundle_iw.properties +10 -0
- package/src/sap/ui/rta/messagebundle_ja.properties +10 -0
- package/src/sap/ui/rta/messagebundle_kk.properties +10 -0
- package/src/sap/ui/rta/messagebundle_ko.properties +10 -0
- package/src/sap/ui/rta/messagebundle_lt.properties +10 -0
- package/src/sap/ui/rta/messagebundle_lv.properties +10 -0
- package/src/sap/ui/rta/messagebundle_mk.properties +10 -0
- package/src/sap/ui/rta/messagebundle_ms.properties +14 -4
- package/src/sap/ui/rta/messagebundle_nl.properties +10 -0
- package/src/sap/ui/rta/messagebundle_no.properties +10 -0
- package/src/sap/ui/rta/messagebundle_pl.properties +10 -0
- package/src/sap/ui/rta/messagebundle_pt.properties +10 -0
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +10 -0
- package/src/sap/ui/rta/messagebundle_ro.properties +10 -0
- package/src/sap/ui/rta/messagebundle_ru.properties +10 -0
- package/src/sap/ui/rta/messagebundle_sh.properties +10 -0
- package/src/sap/ui/rta/messagebundle_sk.properties +10 -0
- package/src/sap/ui/rta/messagebundle_sl.properties +10 -0
- package/src/sap/ui/rta/messagebundle_sr.properties +10 -0
- package/src/sap/ui/rta/messagebundle_sv.properties +10 -0
- package/src/sap/ui/rta/messagebundle_th.properties +10 -0
- package/src/sap/ui/rta/messagebundle_tr.properties +10 -0
- package/src/sap/ui/rta/messagebundle_uk.properties +11 -1
- package/src/sap/ui/rta/messagebundle_vi.properties +10 -0
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +10 -0
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +10 -0
- 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 -2
- package/src/sap/ui/rta/plugin/ControlVariant.js +5 -23
- package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
- package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
- package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
- package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
- package/src/sap/ui/rta/plugin/Plugin.js +15 -13
- package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
- package/src/sap/ui/rta/plugin/Remove.js +2 -2
- package/src/sap/ui/rta/plugin/Rename.js +3 -3
- package/src/sap/ui/rta/plugin/RenameHandler.js +5 -9
- package/src/sap/ui/rta/plugin/Resize.js +3 -3
- package/src/sap/ui/rta/plugin/Selection.js +2 -2
- package/src/sap/ui/rta/plugin/Settings.js +2 -21
- package/src/sap/ui/rta/plugin/Split.js +2 -2
- package/src/sap/ui/rta/plugin/Stretch.js +7 -5
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +94 -126
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +28 -31
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +141 -172
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +108 -137
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +96 -141
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +112 -0
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +183 -0
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +109 -0
- package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +239 -0
- package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +15 -0
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +3 -3
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -1
- 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/WhatsNew.less +5 -0
- 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/Adaptation.js +2 -2
- package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Base.js +2 -2
- package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +3 -4
- 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/Standalone.js +2 -2
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
- package/src/sap/ui/rta/toolbar/translation/Translation.js +3 -3
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
- package/src/sap/ui/rta/util/Animation.js +1 -1
- package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +16 -10
- package/src/sap/ui/rta/util/PopupManager.js +3 -3
- package/src/sap/ui/rta/util/ReloadManager.js +9 -9
- package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
- package/src/sap/ui/rta/util/ServiceManager.js +2 -2
- package/src/sap/ui/rta/util/adaptationStarter.js +17 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +5 -3
- 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/util/validateText.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +2 -2
- package/src/sap/ui/rta/util/whatsNew/WhatsNewDialog.fragment.xml +5 -4
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverviewDialog.fragment.xml +8 -2
- package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +1 -1
- package/src/sap/ui/rta/command/Annotation.js +0 -45
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 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,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @extends sap.m.OverflowToolbarButton
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.132.1
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ function(
|
|
|
20
20
|
* @extends sap.ui.rta.toolbar.Adaptation
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.132.1
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* @class
|
|
46
46
|
*
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.132.1
|
|
49
49
|
*
|
|
50
50
|
* @constructor
|
|
51
51
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
* @class
|
|
54
54
|
*
|
|
55
55
|
* @author SAP SE
|
|
56
|
-
* @version 1.
|
|
56
|
+
* @version 1.132.1
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @private
|
|
@@ -79,7 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
var oModel = oEvent.getSource().getModel("translation");
|
|
80
80
|
var sSourceLanguage = oModel.getProperty("/sourceLanguage");
|
|
81
81
|
var sTargetLanguage = oModel.getProperty("/targetLanguage");
|
|
82
|
-
var sFileName = `${sSourceLanguage}_${sTargetLanguage}
|
|
82
|
+
var sFileName = `${sSourceLanguage}_${sTargetLanguage}_TranslationXLIFF`;
|
|
83
83
|
|
|
84
84
|
var mPropertyBag = {
|
|
85
85
|
layer: Layer.CUSTOMER,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.132.1
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 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([
|
|
@@ -9,10 +9,11 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/base/ManagedObject",
|
|
10
10
|
"sap/ui/dt/plugin/ContextMenu",
|
|
11
11
|
"sap/ui/dt/plugin/ToolHooks",
|
|
12
|
-
"sap/ui/fl/Layer",
|
|
13
12
|
"sap/ui/fl/registry/Settings",
|
|
13
|
+
"sap/ui/fl/Layer",
|
|
14
14
|
"sap/ui/rta/command/CommandFactory",
|
|
15
15
|
"sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin",
|
|
16
|
+
"sap/ui/rta/plugin/annotations/AnnotationPlugin",
|
|
16
17
|
"sap/ui/rta/plugin/iframe/AddIFrame",
|
|
17
18
|
"sap/ui/rta/plugin/Combine",
|
|
18
19
|
"sap/ui/rta/plugin/CompVariant",
|
|
@@ -20,25 +21,26 @@ sap.ui.define([
|
|
|
20
21
|
"sap/ui/rta/plugin/CreateContainer",
|
|
21
22
|
"sap/ui/rta/plugin/CutPaste",
|
|
22
23
|
"sap/ui/rta/plugin/DragDrop",
|
|
24
|
+
"sap/ui/rta/plugin/LocalReset",
|
|
23
25
|
"sap/ui/rta/plugin/Remove",
|
|
24
26
|
"sap/ui/rta/plugin/Rename",
|
|
27
|
+
"sap/ui/rta/plugin/Resize",
|
|
25
28
|
"sap/ui/rta/plugin/RTAElementMover",
|
|
26
29
|
"sap/ui/rta/plugin/Selection",
|
|
27
30
|
"sap/ui/rta/plugin/Settings",
|
|
28
31
|
"sap/ui/rta/plugin/Split",
|
|
29
|
-
"sap/ui/rta/plugin/Stretch"
|
|
30
|
-
"sap/ui/rta/plugin/LocalReset",
|
|
31
|
-
"sap/ui/rta/plugin/Resize"
|
|
32
|
+
"sap/ui/rta/plugin/Stretch"
|
|
32
33
|
], function(
|
|
33
34
|
isEmptyObject,
|
|
34
35
|
values,
|
|
35
36
|
ManagedObject,
|
|
36
37
|
ContextMenuPlugin,
|
|
37
38
|
ToolHooksPlugin,
|
|
38
|
-
Layer,
|
|
39
39
|
Settings,
|
|
40
|
+
Layer,
|
|
40
41
|
CommandFactory,
|
|
41
42
|
AdditionalElementsPlugin,
|
|
43
|
+
AnnotationPlugin,
|
|
42
44
|
AddIFramePlugin,
|
|
43
45
|
CombinePlugin,
|
|
44
46
|
CompVariantPlugin,
|
|
@@ -46,15 +48,15 @@ sap.ui.define([
|
|
|
46
48
|
CreateContainerPlugin,
|
|
47
49
|
CutPastePlugin,
|
|
48
50
|
RTADragDropPlugin,
|
|
51
|
+
LocalResetPlugin,
|
|
49
52
|
RemovePlugin,
|
|
50
53
|
RTARenamePlugin,
|
|
54
|
+
ResizePlugin,
|
|
51
55
|
RTAElementMover,
|
|
52
56
|
SelectionPlugin,
|
|
53
57
|
SettingsPlugin,
|
|
54
58
|
SplitPlugin,
|
|
55
|
-
StretchPlugin
|
|
56
|
-
LocalResetPlugin,
|
|
57
|
-
ResizePlugin
|
|
59
|
+
StretchPlugin
|
|
58
60
|
) {
|
|
59
61
|
"use strict";
|
|
60
62
|
|
|
@@ -62,7 +64,7 @@ sap.ui.define([
|
|
|
62
64
|
* Constructor for a new sap.ui.rta.util.PluginManager
|
|
63
65
|
* @extends sap.ui.base.ManagedObject
|
|
64
66
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
67
|
+
* @version 1.132.1
|
|
66
68
|
* @constructor
|
|
67
69
|
* @private
|
|
68
70
|
* @since 1.86
|
|
@@ -209,6 +211,10 @@ sap.ui.define([
|
|
|
209
211
|
commandFactory: this._oCommandFactory
|
|
210
212
|
});
|
|
211
213
|
}
|
|
214
|
+
|
|
215
|
+
this._mDefaultPlugins.annotation = new AnnotationPlugin({
|
|
216
|
+
commandFactory: this._oCommandFactory
|
|
217
|
+
});
|
|
212
218
|
}
|
|
213
219
|
|
|
214
220
|
return { ...this._mDefaultPlugins };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* Constructor for a new sap.ui.rta.util.PopupManager
|
|
43
43
|
* @extends sap.ui.base.ManagedObject
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.132.1
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
48
48
|
* @since 1.48
|
|
@@ -396,7 +396,7 @@ sap.ui.define([
|
|
|
396
396
|
var {oPopup} = oPopupElement;
|
|
397
397
|
var aAutoCloseAreas = [
|
|
398
398
|
oPopup.oContent.getDomRef(),
|
|
399
|
-
oOverlayContainer
|
|
399
|
+
oOverlayContainer
|
|
400
400
|
].concat(
|
|
401
401
|
this.getAutoCloseAreas()
|
|
402
402
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @namespace sap.ui.rta.util.ReloadManager
|
|
31
31
|
* @alias sap.ui.rta.util.ReloadManager
|
|
32
32
|
* @since 1.104
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.132.1
|
|
34
34
|
* @private
|
|
35
35
|
* @ui5-restricted
|
|
36
36
|
*/
|
|
@@ -80,6 +80,10 @@ sap.ui.define([
|
|
|
80
80
|
return "MSG_RELOAD_WITH_PERSONALIZATION_AND_VIEWS";
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
if (oReloadInfo.changesNeedReload) {
|
|
84
|
+
return "MSG_RELOAD_NEEDED";
|
|
85
|
+
}
|
|
86
|
+
|
|
83
87
|
if (oReloadInfo.initialDraftGotActivated || oReloadInfo.activeVersionNotSelected) {
|
|
84
88
|
return "MSG_RELOAD_ACTIVATED_DRAFT";
|
|
85
89
|
}
|
|
@@ -88,10 +92,6 @@ sap.ui.define([
|
|
|
88
92
|
return "MSG_RELOAD_WITHOUT_DRAFT";
|
|
89
93
|
}
|
|
90
94
|
|
|
91
|
-
if (oReloadInfo.changesNeedReload) {
|
|
92
|
-
return "MSG_RELOAD_NEEDED";
|
|
93
|
-
}
|
|
94
|
-
|
|
95
95
|
if (oReloadInfo.allContexts) {
|
|
96
96
|
return "MSG_RELOAD_WITHOUT_ALL_CONTEXT";
|
|
97
97
|
}
|
|
@@ -185,7 +185,7 @@ sap.ui.define([
|
|
|
185
185
|
* Sets a flag in sessionStorage to indicate that the "What's New" dialog should not be shown after rta reload.
|
|
186
186
|
*/
|
|
187
187
|
ReloadManager.setDontShowWhatsNewAfterReload = () => {
|
|
188
|
-
window.sessionStorage.setItem(
|
|
188
|
+
window.sessionStorage.setItem("sap.ui.rta.whatsNew", true);
|
|
189
189
|
};
|
|
190
190
|
|
|
191
191
|
/**
|
|
@@ -194,14 +194,14 @@ sap.ui.define([
|
|
|
194
194
|
* @returns {boolean} Returns true if the "What's New" dialog should be shown, false otherwise.
|
|
195
195
|
*/
|
|
196
196
|
ReloadManager.getDontShowWhatsNewAfterReload = () => {
|
|
197
|
-
return window.sessionStorage.getItem(
|
|
197
|
+
return window.sessionStorage.getItem("sap.ui.rta.whatsNew");
|
|
198
198
|
};
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* Removes the flag from sessionStorage that indicates the "What's New" dialog should not be shown after reload.
|
|
202
202
|
*/
|
|
203
203
|
ReloadManager.removeDontShowWhatsNewAfterReload = () => {
|
|
204
|
-
window.sessionStorage.removeItem(
|
|
204
|
+
window.sessionStorage.removeItem("sap.ui.rta.whatsNew");
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ function(
|
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ui.core.EventBus
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.132.1
|
|
23
23
|
* @private
|
|
24
24
|
* @since 1.56.0
|
|
25
25
|
* @alias sap.ui.rta.util.ServiceEventBus
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 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
|
*
|
|
28
28
|
* @extends sap.ui.base.ManagedObject
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.132.1
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @since 1.121
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 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([
|
|
@@ -58,6 +58,20 @@ sap.ui.define([
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
function checkPseudoAppVariant(oAppComponent) {
|
|
62
|
+
// pseudo app variants are not supported
|
|
63
|
+
const oComponentData = oAppComponent.getComponentData?.();
|
|
64
|
+
if (oComponentData?.startupParameters && Array.isArray(oComponentData.startupParameters["sap-app-id"])) {
|
|
65
|
+
const oManifest = oAppComponent.getManifest();
|
|
66
|
+
const sACHComponent = oManifest["sap.app"]?.ach;
|
|
67
|
+
const oRtaResourceBundle = Lib.getResourceBundleFor("sap.ui.rta");
|
|
68
|
+
const sErrorMessage = oRtaResourceBundle.getText("MSG_PSEUDO_APP_VARIANT_ERROR_MESSAGE", [sACHComponent]);
|
|
69
|
+
const oError = Error(sErrorMessage);
|
|
70
|
+
oError.reason = "pseudoAppVariant";
|
|
71
|
+
throw oError;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
61
75
|
/**
|
|
62
76
|
* Starter util for UI adaptation.
|
|
63
77
|
* With this API you are also able to modify the UI adaptation plugins list and or add some event handler functions
|
|
@@ -89,6 +103,7 @@ sap.ui.define([
|
|
|
89
103
|
.then(function() {
|
|
90
104
|
return checkFlexEnabled(mOptions.rootControl);
|
|
91
105
|
})
|
|
106
|
+
.then(checkPseudoAppVariant.bind(undefined, mOptions.rootControl))
|
|
92
107
|
.then(function() {
|
|
93
108
|
oRta = new RuntimeAuthoring(mOptions);
|
|
94
109
|
|
|
@@ -153,7 +168,7 @@ sap.ui.define([
|
|
|
153
168
|
&& !(FlexUtils.getUshellContainer() && vError.reason === "flexEnabled") // FLP Plugin already handles this error
|
|
154
169
|
) {
|
|
155
170
|
var oRtaResourceBundle = Lib.getResourceBundleFor("sap.ui.rta");
|
|
156
|
-
if (vError.reason === "isKeyUser") {
|
|
171
|
+
if (vError.reason === "isKeyUser" || vError.reason === "pseudoAppVariant") {
|
|
157
172
|
showMessageBox(
|
|
158
173
|
vError.message,
|
|
159
174
|
{title: oRtaResourceBundle.getText("MSG_ADAPTATION_COULD_NOT_START")},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
|
|
47
47
|
* @author SAP SE
|
|
48
48
|
* @since 1.84.0
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.132.1
|
|
50
50
|
* @private
|
|
51
51
|
*/
|
|
52
52
|
const ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
|
|
38
38
|
* @author SAP SE
|
|
39
39
|
* @since 1.86.0
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.132.1
|
|
41
41
|
* @private
|
|
42
42
|
*/
|
|
43
43
|
const ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -84,7 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
* @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
|
|
85
85
|
* @author SAP SE
|
|
86
86
|
* @since 1.84.0
|
|
87
|
-
* @version 1.
|
|
87
|
+
* @version 1.132.1
|
|
88
88
|
* @private
|
|
89
89
|
*/
|
|
90
90
|
const ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
|
|
@@ -112,6 +112,8 @@ sap.ui.define([
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
|
+
renderer: null,
|
|
116
|
+
|
|
115
117
|
// eslint-disable-next-line object-shorthand
|
|
116
118
|
constructor: function(...aArgs) {
|
|
117
119
|
this._oChangeIndicatorRegistry = new ChangeIndicatorRegistry({
|
|
@@ -759,4 +761,4 @@ sap.ui.define([
|
|
|
759
761
|
};
|
|
760
762
|
|
|
761
763
|
return ChangeVisualization;
|
|
762
|
-
});
|
|
764
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @class Constructor for a new sap.ui.rta.util.whatsNew.WhatsNew
|
|
34
34
|
* @extends sap.ui.base.ManagedObject
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.132.1
|
|
37
37
|
* @constructor
|
|
38
38
|
* @since 1.129
|
|
39
39
|
* @private
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
xmlns:util="sap.ui.fl.util">
|
|
7
7
|
<Dialog
|
|
8
8
|
id="sapUiRtaWhatsNewDialog"
|
|
9
|
+
class="sapUiRtaWhatsNewDialog"
|
|
9
10
|
title="{i18n>TIT_WHATS_NEW_DIALOG}"
|
|
10
11
|
contentWidth="50rem"
|
|
11
12
|
contentHeight="33rem"
|
|
@@ -20,10 +21,10 @@
|
|
|
20
21
|
<pages>
|
|
21
22
|
<Page enableScrolling="true" showHeader="false">
|
|
22
23
|
<VBox height="100%" width="100%">
|
|
23
|
-
<Title text="{whatsNewModel>title}" class="sapUiMediumMarginTop
|
|
24
|
-
<f:Card width="
|
|
24
|
+
<Title text="{whatsNewModel>title}" class="sapUiMediumMarginTop sapUiSmallMarginBegin sapUiTinyMarginBottom" level="H3"/>
|
|
25
|
+
<f:Card width="100%" height="24rem" class="sapUiSmallMarginBottom">
|
|
25
26
|
<f:content>
|
|
26
|
-
<Page showHeader="false" backgroundDesign="Transparent">
|
|
27
|
+
<Page width="100%" showHeader="false" backgroundDesign="Transparent">
|
|
27
28
|
<VBox items="{path: 'whatsNewModel>information', templateShareable: false}" class="sapUiSmallMargin">
|
|
28
29
|
<HBox alignItems="Center" class="sapUiTinyMargin">
|
|
29
30
|
<FormattedText
|
|
@@ -78,4 +79,4 @@
|
|
|
78
79
|
</Toolbar>
|
|
79
80
|
</footer>
|
|
80
81
|
</Dialog>
|
|
81
|
-
</core:FragmentDefinition>
|
|
82
|
+
</core:FragmentDefinition>
|
|
@@ -11,7 +11,13 @@
|
|
|
11
11
|
contentHeight="33rem"
|
|
12
12
|
horizontalScrolling="false">
|
|
13
13
|
<List id="whatsNewOverview" items="{path: 'whatsNewModel>/featureCollection'}" visible="{whatsNewModel>overviewActive}">
|
|
14
|
-
<StandardListItem
|
|
14
|
+
<StandardListItem
|
|
15
|
+
description="{whatsNewModel>description}"
|
|
16
|
+
title="{whatsNewModel>title}"
|
|
17
|
+
press=".onSelectListItem"
|
|
18
|
+
wrapping="true"
|
|
19
|
+
wrapCharLimit="10000"
|
|
20
|
+
type="Active"/>
|
|
15
21
|
</List>
|
|
16
22
|
<VBox id="whatsNewItemPage" visible="{= ${whatsNewModel>overviewActive} === false}">
|
|
17
23
|
<VBox height="100%" width="100%" >
|
|
@@ -72,4 +78,4 @@
|
|
|
72
78
|
</Toolbar>
|
|
73
79
|
</footer>
|
|
74
80
|
</Dialog>
|
|
75
|
-
</core:FragmentDefinition>
|
|
81
|
+
</core:FragmentDefinition>
|