@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
|
|
|
@@ -16,6 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
"sap/ui/dt/Util",
|
|
17
17
|
"sap/ui/fl/apply/api/ControlVariantApplyAPI",
|
|
18
18
|
"sap/ui/fl/variants/VariantManagement",
|
|
19
|
+
"sap/ui/fl/variants/VariantManager",
|
|
19
20
|
"sap/ui/fl/write/api/ContextSharingAPI",
|
|
20
21
|
"sap/ui/fl/Layer",
|
|
21
22
|
"sap/ui/fl/Utils",
|
|
@@ -34,6 +35,7 @@ sap.ui.define([
|
|
|
34
35
|
DtUtil,
|
|
35
36
|
ControlVariantApplyAPI,
|
|
36
37
|
VariantManagement,
|
|
38
|
+
VariantManager,
|
|
37
39
|
ContextSharingAPI,
|
|
38
40
|
Layer,
|
|
39
41
|
flUtils,
|
|
@@ -51,7 +53,7 @@ sap.ui.define([
|
|
|
51
53
|
* @class The ControlVariant allows propagation of variantManagement key
|
|
52
54
|
* @extends sap.ui.rta.plugin.Plugin
|
|
53
55
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
56
|
+
* @version 1.132.1
|
|
55
57
|
* @constructor
|
|
56
58
|
* @private
|
|
57
59
|
* @since 1.50
|
|
@@ -553,25 +555,6 @@ sap.ui.define([
|
|
|
553
555
|
});
|
|
554
556
|
};
|
|
555
557
|
|
|
556
|
-
/**
|
|
557
|
-
* Prepares overlay for showing a value state message.
|
|
558
|
-
* @param {object} oOverlay Overlay which needs be prepared
|
|
559
|
-
* @param {string} sValueStateText value state text that needs to be set
|
|
560
|
-
* @private
|
|
561
|
-
*/
|
|
562
|
-
ControlVariant.prototype._prepareOverlayForValueState = function(oOverlay, sValueStateText) {
|
|
563
|
-
// Prepare VariantManagement control overlay for valueStateMessage
|
|
564
|
-
oOverlay.getValueState = function() {
|
|
565
|
-
return "Error";
|
|
566
|
-
};
|
|
567
|
-
oOverlay.getValueStateText = function() {
|
|
568
|
-
return sValueStateText;
|
|
569
|
-
};
|
|
570
|
-
oOverlay.getDomRefForValueStateMessage = function() {
|
|
571
|
-
return this.$();
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
|
|
575
558
|
/**
|
|
576
559
|
* Opens a dialog for Variant configuration.
|
|
577
560
|
* @param {sap.ui.dt.ElementOverlay[]} aElementOverlays - Target overlays
|
|
@@ -582,13 +565,12 @@ sap.ui.define([
|
|
|
582
565
|
var oElementOverlay = aElementOverlays[0];
|
|
583
566
|
var oVariantManagementControl = oElementOverlay.getElement();
|
|
584
567
|
var sVariantManagementReference = oElementOverlay.getVariantManagement();
|
|
585
|
-
var oModel = this._getVariantModel(oVariantManagementControl);
|
|
586
568
|
var oDesignTimeMetadata = oElementOverlay.getDesignTimeMetadata();
|
|
587
569
|
var mFlexSettings = this.getCommandFactory().getFlexSettings();
|
|
588
570
|
var mComponentPropertyBag = mFlexSettings;
|
|
589
571
|
mComponentPropertyBag.variantManagementControl = oVariantManagementControl;
|
|
590
572
|
|
|
591
|
-
return
|
|
573
|
+
return VariantManager.manageVariants(
|
|
592
574
|
oVariantManagementControl,
|
|
593
575
|
sVariantManagementReference,
|
|
594
576
|
mFlexSettings.layer,
|
|
@@ -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
|
|
|
@@ -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.
|
|
28
|
+
* @version 1.132.1
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.34
|
|
@@ -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
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.dt.plugin.CutPaste
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.132.1
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @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
|
|
|
@@ -33,7 +33,7 @@ function(
|
|
|
33
33
|
* @extends sap.ui.dt.plugin.ControlDragDrop
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.132.1
|
|
37
37
|
*
|
|
38
38
|
* @constructor
|
|
39
39
|
* @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
|
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @class
|
|
42
42
|
* @extends sap.ui.rta.plugin.Plugin
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.132.1
|
|
45
45
|
* @constructor
|
|
46
46
|
* @private
|
|
47
47
|
* @since 1.90
|
|
@@ -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
|
|
|
@@ -43,18 +43,20 @@ sap.ui.define([
|
|
|
43
43
|
CTX_SETTINGS: 110,
|
|
44
44
|
// IFrame ranks go up 1 by 1 for each possible child target
|
|
45
45
|
CTX_CREATE_SIBLING_IFRAME: 130,
|
|
46
|
+
// Annotation ranks go up 1 by 1 for each action
|
|
47
|
+
CTX_ANNOTATION: 140,
|
|
46
48
|
// Variant types are mutually exclusive
|
|
47
|
-
CTX_VARIANT_SET_TITLE:
|
|
48
|
-
CTX_COMP_VARIANT_RENAME:
|
|
49
|
-
CTX_VARIANT_SAVE:
|
|
50
|
-
CTX_COMP_VARIANT_SAVE:
|
|
51
|
-
CTX_VARIANT_SAVEAS:
|
|
52
|
-
CTX_COMP_VARIANT_SAVE_AS:
|
|
53
|
-
CTX_VARIANT_MANAGE:
|
|
54
|
-
CTX_COMP_VARIANT_MANAGE:
|
|
55
|
-
CTX_VARIANT_SWITCH_SUBMENU:
|
|
56
|
-
CTX_COMP_VARIANT_SWITCH:
|
|
57
|
-
CTX_COMP_VARIANT_CONTENT:
|
|
49
|
+
CTX_VARIANT_SET_TITLE: 200,
|
|
50
|
+
CTX_COMP_VARIANT_RENAME: 200,
|
|
51
|
+
CTX_VARIANT_SAVE: 210,
|
|
52
|
+
CTX_COMP_VARIANT_SAVE: 210,
|
|
53
|
+
CTX_VARIANT_SAVEAS: 220,
|
|
54
|
+
CTX_COMP_VARIANT_SAVE_AS: 220,
|
|
55
|
+
CTX_VARIANT_MANAGE: 230,
|
|
56
|
+
CTX_COMP_VARIANT_MANAGE: 230,
|
|
57
|
+
CTX_VARIANT_SWITCH_SUBMENU: 240,
|
|
58
|
+
CTX_COMP_VARIANT_SWITCH: 240,
|
|
59
|
+
CTX_COMP_VARIANT_CONTENT: 250
|
|
58
60
|
};
|
|
59
61
|
|
|
60
62
|
function _handleEditableByPlugin(mPropertyBag, aPromises, oSourceElementOverlay) {
|
|
@@ -103,7 +105,7 @@ sap.ui.define([
|
|
|
103
105
|
* @extends sap.ui.dt.Plugin
|
|
104
106
|
*
|
|
105
107
|
* @author SAP SE
|
|
106
|
-
* @version 1.
|
|
108
|
+
* @version 1.132.1
|
|
107
109
|
*
|
|
108
110
|
* @constructor
|
|
109
111
|
* @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
|
|
|
@@ -35,7 +35,7 @@ function(
|
|
|
35
35
|
* The RTAElementMover is responsible for the RTA specific adaptation of element movements.
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.132.1
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @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
|
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @class The Remove allows trigger remove operations on the overlay
|
|
30
30
|
* @extends sap.ui.rta.plugin.Plugin
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.132.1
|
|
33
33
|
* @constructor
|
|
34
34
|
* @private
|
|
35
35
|
* @since 1.34
|
|
@@ -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
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.rta.plugin.Plugin
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.132.1
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @private
|
|
@@ -137,7 +137,7 @@ sap.ui.define([
|
|
|
137
137
|
if (bIsEnabled) {
|
|
138
138
|
var oDesignTimeMetadata = oTargetOverlay.getDesignTimeMetadata();
|
|
139
139
|
var oAssociatedDomRef = oDesignTimeMetadata.getAssociatedDomRef(oTargetOverlay.getElement(), oTargetOverlayAction.domRef);
|
|
140
|
-
if (!
|
|
140
|
+
if (!oAssociatedDomRef) {
|
|
141
141
|
bIsEnabled = false;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -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
|
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* Provides Rename handling functionality
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.132.1
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
@@ -111,10 +111,10 @@ sap.ui.define([
|
|
|
111
111
|
|
|
112
112
|
// if the Control is currently not visible on the screen, we have to scroll it into view
|
|
113
113
|
if (!DOMUtil.isElementInViewport(oEditableControlDomRef)) {
|
|
114
|
-
oEditableControlDomRef.
|
|
114
|
+
oEditableControlDomRef.scrollIntoView();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
this._oEditableControlDomRef = oEditableControlDomRef
|
|
117
|
+
this._oEditableControlDomRef = oEditableControlDomRef; /* Text Control */
|
|
118
118
|
var mMutators = typeof mPropertyBag.getTextMutators === "function"
|
|
119
119
|
? mPropertyBag.getTextMutators(oElement)
|
|
120
120
|
: {
|
|
@@ -130,11 +130,7 @@ sap.ui.define([
|
|
|
130
130
|
var iWidthDifference = 0;
|
|
131
131
|
|
|
132
132
|
// case where the editable control has it's own overlay
|
|
133
|
-
var oOverlayForWrapper = OverlayRegistry.getOverlay(
|
|
134
|
-
oEditableControlDomRef.jquery
|
|
135
|
-
? oEditableControlDomRef.get(0).id
|
|
136
|
-
: oEditableControlDomRef.id
|
|
137
|
-
);
|
|
133
|
+
var oOverlayForWrapper = OverlayRegistry.getOverlay(oEditableControlDomRef.id);
|
|
138
134
|
|
|
139
135
|
// if the editable control overlay could not be found, then the passed overlay should be considered
|
|
140
136
|
// for this purpose the width of the editable control should be adjusted
|
|
@@ -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
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* @extends sap.ui.rta.plugin.Plugin
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.132.1
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @since 1.101
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
this._oFullScreenDiv = document.createElement("div");
|
|
66
66
|
this._oFullScreenDiv.className = FULL_SCREEN_DIV_CLASS_NAME;
|
|
67
67
|
this._oFullScreenDiv.style["z-index"] = ZIndexManager.getNextZIndex();
|
|
68
|
-
var oOverlayContainer = Overlay.getOverlayContainer()
|
|
68
|
+
var oOverlayContainer = Overlay.getOverlayContainer();
|
|
69
69
|
oOverlayContainer.append(this._oFullScreenDiv);
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -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
|
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
|
|
32
32
|
* @extends sap.ui.rta.plugin.Plugin
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.132.1
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.34
|
|
@@ -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
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @class The Settings allows trigger change of settings operations on the overlay
|
|
29
29
|
* @extends sap.ui.rta.plugin.Plugin
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.132.1
|
|
32
32
|
* @constructor
|
|
33
33
|
* @private
|
|
34
34
|
* @since 1.44
|
|
@@ -164,22 +164,6 @@ sap.ui.define([
|
|
|
164
164
|
});
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
Settings.prototype._handleAnnotationChangeCommand = function(mChange, oElement, oCompositeCommand) {
|
|
168
|
-
var mChangeSpecificData = mChange.changeSpecificData;
|
|
169
|
-
|
|
170
|
-
return this.getCommandFactory().getCommandFor(
|
|
171
|
-
oElement,
|
|
172
|
-
"annotation",
|
|
173
|
-
{
|
|
174
|
-
content: mChangeSpecificData.content,
|
|
175
|
-
changeType: mChangeSpecificData.annotationChangeType
|
|
176
|
-
}
|
|
177
|
-
)
|
|
178
|
-
.then(function(oAnnotationCommand) {
|
|
179
|
-
return oCompositeCommand.addCommand(oAnnotationCommand);
|
|
180
|
-
});
|
|
181
|
-
};
|
|
182
|
-
|
|
183
167
|
Settings.prototype._handleCompositeCommand = function(aElementOverlays, oElement, aChanges, oSettingsAction) {
|
|
184
168
|
var oCompositeCommand;
|
|
185
169
|
|
|
@@ -198,9 +182,6 @@ sap.ui.define([
|
|
|
198
182
|
// App Descriptor Change
|
|
199
183
|
} else if (mChangeSpecificData.appDescriptorChangeType) {
|
|
200
184
|
return () => this._handleAppDescriptorChangeCommand(mChange, oElement, oCompositeCommand);
|
|
201
|
-
// Annotation Change
|
|
202
|
-
} else if (mChangeSpecificData.annotationChangeType) {
|
|
203
|
-
return () => this._handleAnnotationChangeCommand(mChange, oElement, oCompositeCommand);
|
|
204
185
|
}
|
|
205
186
|
return undefined;
|
|
206
187
|
}, this);
|
|
@@ -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
|
* @class
|
|
24
24
|
* @extends sap.ui.rta.plugin.Plugin
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.132.1
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @since 1.46
|
|
@@ -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
|
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.rta.plugin.Plugin
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.132.1
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
oElement.removeStyleClass(Stretch.STRETCHSTYLECLASS);
|
|
73
73
|
}
|
|
74
74
|
} else {
|
|
75
|
-
var oElementDomRef = oOverlay.getAssociatedDomRef()
|
|
75
|
+
var oElementDomRef = oOverlay.getAssociatedDomRef();
|
|
76
76
|
if (oElementDomRef) {
|
|
77
77
|
if (bAddClass) {
|
|
78
78
|
oElementDomRef.classList.add(Stretch.STRETCHSTYLECLASS);
|
|
@@ -381,7 +381,9 @@ sap.ui.define([
|
|
|
381
381
|
|
|
382
382
|
Stretch.prototype._reevaluateStretching = function(oOverlay) {
|
|
383
383
|
if (!oOverlay.bIsDestroyed) {
|
|
384
|
-
var oElementDomRef =
|
|
384
|
+
var oElementDomRef = Array.isArray(oOverlay.getAssociatedDomRef())
|
|
385
|
+
? oOverlay.getAssociatedDomRef()[0]
|
|
386
|
+
: oOverlay.getAssociatedDomRef();
|
|
385
387
|
if (oElementDomRef) {
|
|
386
388
|
var bIsStretched = oElementDomRef.classList.contains(Stretch.STRETCHSTYLECLASS);
|
|
387
389
|
var bShouldBeStretched = childrenAreSameSize(oOverlay, undefined, bIsStretched);
|
|
@@ -398,7 +400,7 @@ sap.ui.define([
|
|
|
398
400
|
|
|
399
401
|
Stretch.prototype._checkParentAndAddToStretchCandidates = function(oOverlay) {
|
|
400
402
|
var oParentOverlay = oOverlay.getParentElementOverlay();
|
|
401
|
-
var oParentElementDOM = oParentOverlay
|
|
403
|
+
var oParentElementDOM = oParentOverlay?.getAssociatedDomRef();
|
|
402
404
|
if (oParentElementDOM) {
|
|
403
405
|
if (startAtSamePosition(oParentOverlay, oOverlay)) {
|
|
404
406
|
if (childrenAreSameSize(oParentOverlay)) {
|