@openui5/sap.ui.rta 1.138.0 → 1.139.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/README.md +1 -1
- package/REUSE.toml +8 -1
- package/THIRDPARTY.txt +72 -66
- package/package.json +7 -7
- package/src/sap/ui/rta/.library +1 -1
- package/src/sap/ui/rta/Client.js +1 -1
- package/src/sap/ui/rta/RuntimeAuthoring.js +75 -122
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantDialog.js +5 -4
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
- package/src/sap/ui/rta/command/AddIFrame.js +12 -5
- package/src/sap/ui/rta/command/AddProperty.js +1 -1
- package/src/sap/ui/rta/command/AddXML.js +1 -1
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/command/AnnotationCommand.js +1 -1
- package/src/sap/ui/rta/command/BaseCommand.js +1 -1
- package/src/sap/ui/rta/command/BindProperty.js +1 -1
- package/src/sap/ui/rta/command/Combine.js +1 -1
- package/src/sap/ui/rta/command/CommandFactory.js +1 -1
- package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/CreateContainer.js +1 -1
- package/src/sap/ui/rta/command/CustomAdd.js +1 -1
- package/src/sap/ui/rta/command/ExtendControllerCommand.js +1 -1
- package/src/sap/ui/rta/command/FlexCommand.js +1 -1
- package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
- package/src/sap/ui/rta/command/LocalReset.js +1 -1
- package/src/sap/ui/rta/command/ManifestCommand.js +1 -1
- package/src/sap/ui/rta/command/Move.js +1 -1
- package/src/sap/ui/rta/command/Property.js +1 -1
- package/src/sap/ui/rta/command/Remove.js +1 -1
- package/src/sap/ui/rta/command/Rename.js +1 -1
- package/src/sap/ui/rta/command/Resize.js +1 -1
- package/src/sap/ui/rta/command/Reveal.js +1 -1
- package/src/sap/ui/rta/command/Settings.js +1 -1
- package/src/sap/ui/rta/command/Split.js +1 -1
- package/src/sap/ui/rta/command/Stack.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
- package/src/sap/ui/rta/command/manifest/AddLibrary.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +50 -20
- package/src/sap/ui/rta/messagebundle_ar.properties +2 -1
- package/src/sap/ui/rta/messagebundle_bg.properties +2 -1
- package/src/sap/ui/rta/messagebundle_ca.properties +2 -1
- package/src/sap/ui/rta/messagebundle_cnr.properties +1 -0
- package/src/sap/ui/rta/messagebundle_cs.properties +2 -1
- package/src/sap/ui/rta/messagebundle_cy.properties +1 -0
- package/src/sap/ui/rta/messagebundle_da.properties +2 -1
- package/src/sap/ui/rta/messagebundle_de.properties +2 -1
- package/src/sap/ui/rta/messagebundle_el.properties +2 -1
- package/src/sap/ui/rta/messagebundle_en.properties +2 -1
- package/src/sap/ui/rta/messagebundle_en_GB.properties +2 -1
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +23 -18
- package/src/sap/ui/rta/messagebundle_es.properties +2 -1
- package/src/sap/ui/rta/messagebundle_es_MX.properties +1 -0
- package/src/sap/ui/rta/messagebundle_et.properties +2 -1
- package/src/sap/ui/rta/messagebundle_fi.properties +2 -1
- package/src/sap/ui/rta/messagebundle_fr.properties +2 -1
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +2 -1
- package/src/sap/ui/rta/messagebundle_hi.properties +1 -0
- package/src/sap/ui/rta/messagebundle_hr.properties +2 -1
- package/src/sap/ui/rta/messagebundle_hu.properties +2 -1
- package/src/sap/ui/rta/messagebundle_id.properties +4 -3
- package/src/sap/ui/rta/messagebundle_it.properties +2 -1
- package/src/sap/ui/rta/messagebundle_iw.properties +3 -2
- package/src/sap/ui/rta/messagebundle_ja.properties +2 -1
- package/src/sap/ui/rta/messagebundle_kk.properties +2 -1
- package/src/sap/ui/rta/messagebundle_ko.properties +2 -1
- package/src/sap/ui/rta/messagebundle_lt.properties +1 -0
- package/src/sap/ui/rta/messagebundle_lv.properties +2 -1
- package/src/sap/ui/rta/messagebundle_mk.properties +2 -1
- package/src/sap/ui/rta/messagebundle_ms.properties +1 -0
- package/src/sap/ui/rta/messagebundle_nl.properties +1 -0
- package/src/sap/ui/rta/messagebundle_no.properties +2 -1
- package/src/sap/ui/rta/messagebundle_pl.properties +2 -1
- package/src/sap/ui/rta/messagebundle_pt.properties +2 -1
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +2 -1
- package/src/sap/ui/rta/messagebundle_ro.properties +1 -0
- package/src/sap/ui/rta/messagebundle_ru.properties +2 -1
- package/src/sap/ui/rta/messagebundle_sh.properties +1 -0
- package/src/sap/ui/rta/messagebundle_sk.properties +2 -1
- package/src/sap/ui/rta/messagebundle_sl.properties +1 -0
- package/src/sap/ui/rta/messagebundle_sr.properties +1 -0
- package/src/sap/ui/rta/messagebundle_sv.properties +2 -1
- package/src/sap/ui/rta/messagebundle_th.properties +4 -3
- package/src/sap/ui/rta/messagebundle_tr.properties +2 -1
- package/src/sap/ui/rta/messagebundle_uk.properties +2 -1
- package/src/sap/ui/rta/messagebundle_vi.properties +3 -2
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +2 -1
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +1 -0
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/plugin/AddXMLPlugin.js +3 -2
- package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
- package/src/sap/ui/rta/plugin/Combine.js +1 -1
- package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
- package/src/sap/ui/rta/plugin/CreateContainer.js +57 -35
- package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
- package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
- package/src/sap/ui/rta/plugin/ExtendControllerPlugin.js +3 -2
- package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +1 -1
- package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
- package/src/sap/ui/rta/plugin/Remove.js +1 -1
- package/src/sap/ui/rta/plugin/Resize.js +1 -1
- package/src/sap/ui/rta/plugin/Selection.js +1 -1
- package/src/sap/ui/rta/plugin/Settings.js +1 -1
- package/src/sap/ui/rta/plugin/Split.js +1 -1
- package/src/sap/ui/rta/plugin/Stretch.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +1 -1
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +1 -1
- package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +254 -201
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +28 -75
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +49 -11
- package/src/sap/ui/rta/plugin/rename/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/rename/RenameDialog.fragment.xml +2 -2
- package/src/sap/ui/rta/plugin/rename/RenameDialog.js +41 -23
- package/src/sap/ui/rta/service/Action.js +1 -1
- package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
- package/src/sap/ui/rta/service/Outline.js +1 -1
- package/src/sap/ui/rta/service/Property.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +1 -1
- package/src/sap/ui/rta/service/SupportTools.js +1 -1
- package/src/sap/ui/rta/themes/base/AddIFrame.less +23 -33
- package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +1 -1
- package/src/sap/ui/rta/toolbar/Adaptation.js +4 -3
- package/src/sap/ui/rta/toolbar/Base.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +2 -7
- package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +1 -1
- package/src/sap/ui/rta/util/PopupManager.js +1 -1
- package/src/sap/ui/rta/util/ReloadManager.js +1 -1
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/ServiceManager.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +5 -4
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +13 -25
- package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +22 -5
- package/src/sap/ui/rta/util/guidedTour/TourMarker.fragment.xml +1 -1
- package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +2 -3
|
@@ -34,7 +34,7 @@ function(
|
|
|
34
34
|
* @extends sap.ui.rta.toolbar.Adaptation
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.139.0
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
|
40
40
|
* @private
|
|
@@ -71,13 +71,9 @@ function(
|
|
|
71
71
|
const sLogoPath = this.getUshellApi().getLogo();
|
|
72
72
|
|
|
73
73
|
if (sLogoPath) {
|
|
74
|
-
|
|
75
|
-
const aHeaderImages = this._oFioriHeader.getDomRef().querySelectorAll("img");
|
|
76
|
-
// check if one of the images is the logo
|
|
77
|
-
const oLogo = Array.from(aHeaderImages).find((oImage) => oImage.src.includes(sLogoPath));
|
|
74
|
+
const oLogo = this.getUshellApi().getLogoDomRef();
|
|
78
75
|
let iWidth;
|
|
79
76
|
let iHeight;
|
|
80
|
-
|
|
81
77
|
if (oLogo) {
|
|
82
78
|
iWidth = oLogo.getBoundingClientRect().width;
|
|
83
79
|
iHeight = oLogo.getBoundingClientRect().height;
|
|
@@ -87,7 +83,6 @@ function(
|
|
|
87
83
|
this.getControl("iconSpacer").setWidth("8px");
|
|
88
84
|
this._iLogoWidth = iWidth + 8;
|
|
89
85
|
|
|
90
|
-
// first control is the left HBox
|
|
91
86
|
this.getControl("iconBox").addItem(
|
|
92
87
|
new Image(`${this.getId()}_fragment--sapUiRta_icon`, {
|
|
93
88
|
src: sLogoPath,
|
|
@@ -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.139.0
|
|
50
50
|
* @private
|
|
51
51
|
*/
|
|
52
52
|
const ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
|
|
@@ -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.139.0
|
|
41
41
|
* @private
|
|
42
42
|
*/
|
|
43
43
|
const ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
|
|
@@ -293,10 +293,11 @@ sap.ui.define([
|
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* Waits for the registered indicators to be rendered.
|
|
296
|
-
* @returns {Promise} Resolves when all
|
|
296
|
+
* @returns {Promise} Resolves when all visible indicators are rendered.
|
|
297
297
|
*/
|
|
298
298
|
ChangeIndicatorRegistry.prototype.waitForIndicatorRendering = function() {
|
|
299
|
-
|
|
299
|
+
const aVisibleIndicators = this.getChangeIndicators().filter((oIndicator) => oIndicator.getVisible());
|
|
300
|
+
return Promise.all(aVisibleIndicators.map((oIndicator) => oIndicator.waitForRendering()));
|
|
300
301
|
};
|
|
301
302
|
|
|
302
303
|
/**
|
|
@@ -348,4 +349,4 @@ sap.ui.define([
|
|
|
348
349
|
};
|
|
349
350
|
|
|
350
351
|
return ChangeIndicatorRegistry;
|
|
351
|
-
});
|
|
352
|
+
});
|
|
@@ -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.139.0
|
|
88
88
|
* @private
|
|
89
89
|
*/
|
|
90
90
|
const ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
|
|
@@ -133,7 +133,6 @@ sap.ui.define([
|
|
|
133
133
|
});
|
|
134
134
|
this._oChangeVisualizationModel.setDefaultBindingMode("TwoWay");
|
|
135
135
|
this._sSelectedChangeCategory = ChangeCategories.ALL;
|
|
136
|
-
this._bSetModeChanged = false;
|
|
137
136
|
|
|
138
137
|
// For the event handlers to work, the function instance has to remain stable
|
|
139
138
|
this._fnOnClickHandler = _onClick.bind(this);
|
|
@@ -266,10 +265,7 @@ sap.ui.define([
|
|
|
266
265
|
|
|
267
266
|
// Filter allRegisteredChanges for independent changes and get the ids
|
|
268
267
|
const aRegisteredIndependentChanges = aAllRegisteredChanges.filter(function(oChange) {
|
|
269
|
-
|
|
270
|
-
return true;
|
|
271
|
-
}
|
|
272
|
-
return false;
|
|
268
|
+
return !oChange.dependent;
|
|
273
269
|
});
|
|
274
270
|
|
|
275
271
|
const oSortedChanges = this._determineChangeVisibility(
|
|
@@ -336,29 +332,21 @@ sap.ui.define([
|
|
|
336
332
|
return `${sBaseText} (${sStateText})`;
|
|
337
333
|
};
|
|
338
334
|
|
|
339
|
-
ChangeVisualization.prototype.openChangeCategorySelectionPopover = function(oEvent) {
|
|
335
|
+
ChangeVisualization.prototype.openChangeCategorySelectionPopover = async function(oEvent) {
|
|
340
336
|
// Event bubbled through the toolbar, get original source
|
|
341
|
-
this._oToolbarButton ||= Element.getElementById(oEvent
|
|
342
|
-
const oPopover = this.getPopover();
|
|
337
|
+
this._oToolbarButton ||= Element.getElementById(oEvent?.getParameter("id"));
|
|
338
|
+
const oPopover = this.getPopover?.();
|
|
343
339
|
|
|
344
340
|
if (!oPopover) {
|
|
345
|
-
Fragment.load({
|
|
341
|
+
const oPopover = await Fragment.load({
|
|
346
342
|
name: "sap.ui.rta.util.changeVisualization.ChangeIndicatorCategorySelection",
|
|
347
343
|
id: `${this._oToolbarButton.sId}--ChangeIndicatorCategorySelection`,
|
|
348
344
|
controller: this
|
|
349
|
-
})
|
|
350
|
-
.
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
this.setPopover(oPopover);
|
|
355
|
-
// Currently required because of an binding issue from the control
|
|
356
|
-
// At the first opening of the popover the controls don't get updated when the bound
|
|
357
|
-
// model changes. With the reopening this Problem gets fixed
|
|
358
|
-
// TODO Remove once control owners have fixed the issue
|
|
359
|
-
oPopover.close();
|
|
360
|
-
oPopover.openBy(this._oToolbarButton);
|
|
361
|
-
}.bind(this));
|
|
345
|
+
});
|
|
346
|
+
this._oToolbarButton.addDependent(oPopover);
|
|
347
|
+
oPopover.setModel(this._oChangeVisualizationModel, "visualizationModel");
|
|
348
|
+
oPopover.openBy(this._oToolbarButton);
|
|
349
|
+
this.setPopover(oPopover);
|
|
362
350
|
return;
|
|
363
351
|
}
|
|
364
352
|
|
|
@@ -633,7 +621,7 @@ sap.ui.define([
|
|
|
633
621
|
// Set the tabindex according the sorting
|
|
634
622
|
// Focus the first visible indicator
|
|
635
623
|
await this._oChangeIndicatorRegistry.waitForIndicatorRendering();
|
|
636
|
-
|
|
624
|
+
|
|
637
625
|
this._oChangeIndicatorRegistry.getChangeIndicators().forEach((oIndicator) => {
|
|
638
626
|
const oOverlay = OverlayRegistry.getOverlay(oIndicator.getOverlayId());
|
|
639
627
|
// As setting the focus happens asynchronously after rendering,
|
|
@@ -643,12 +631,12 @@ sap.ui.define([
|
|
|
643
631
|
}
|
|
644
632
|
if (oIndicator.getVisible()) {
|
|
645
633
|
oOverlay.setFocusable(true);
|
|
646
|
-
aVisibleIndicators.push(oIndicator);
|
|
647
634
|
} else {
|
|
648
635
|
oOverlay.setFocusable(false);
|
|
649
636
|
}
|
|
650
637
|
});
|
|
651
638
|
|
|
639
|
+
const aVisibleIndicators = this._oChangeIndicatorRegistry.getChangeIndicators().filter((oIndicator) => oIndicator.getVisible());
|
|
652
640
|
if (aVisibleIndicators.length > 0) {
|
|
653
641
|
aVisibleIndicators.sort(function(oIndicator1, oIndicator2) {
|
|
654
642
|
const iDeltaY = oIndicator1.getPosY() - oIndicator2.getPosY();
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class Constructor for a new sap.ui.rta.util.guidedTour.GuidedTour
|
|
28
28
|
* @extends sap.ui.base.ManagedObject
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.139.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @since 1.136
|
|
33
33
|
* @private
|
|
@@ -99,6 +99,13 @@ sap.ui.define([
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
function restorePopoverModality() {
|
|
103
|
+
// If the affected control was a Popover, we need to restore the modal state
|
|
104
|
+
if (this._oAffectedControl?.isA("sap.m.Popover")) {
|
|
105
|
+
this._oAffectedControl.setModal(this._oAffectedControlOriginalModalState);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
102
109
|
GuidedTour.prototype.autoStart = async function(oTourContent) {
|
|
103
110
|
const sResponse = await Utils.showMessageBox(
|
|
104
111
|
"information",
|
|
@@ -152,16 +159,23 @@ sap.ui.define([
|
|
|
152
159
|
try {
|
|
153
160
|
for (const sActionSelector of aActionSelectors) {
|
|
154
161
|
const oActionControl = await waitForElementVisibility.call(this, sActionSelector);
|
|
155
|
-
oActionControl.firePress();
|
|
162
|
+
await oActionControl.firePress();
|
|
156
163
|
}
|
|
157
164
|
|
|
158
|
-
|
|
165
|
+
this._oAffectedControl = oStepConfig.waitForElement
|
|
159
166
|
? await waitForElementVisibility.call(this, sSelector)
|
|
160
167
|
: Element.getElementById(sSelector);
|
|
161
168
|
|
|
162
169
|
// Open the popover if the element is visible
|
|
163
|
-
if (
|
|
164
|
-
|
|
170
|
+
if (this._oAffectedControl && this._oAffectedControl.getVisible()) {
|
|
171
|
+
// If the affected control is a Popover, we need to open it modal
|
|
172
|
+
// because if the affected control is not modal, it could be closed
|
|
173
|
+
// this would also close the Guided Tour Popover
|
|
174
|
+
if (this._oAffectedControl.isA("sap.m.Popover")) {
|
|
175
|
+
this._oAffectedControlOriginalModalState = this._oAffectedControl.getModal();
|
|
176
|
+
this._oAffectedControl.setModal(true);
|
|
177
|
+
}
|
|
178
|
+
this._oPopover.openBy(this._oAffectedControl);
|
|
165
179
|
} else {
|
|
166
180
|
skipStep.call(this);
|
|
167
181
|
}
|
|
@@ -184,6 +198,7 @@ sap.ui.define([
|
|
|
184
198
|
};
|
|
185
199
|
|
|
186
200
|
GuidedTour.prototype.onNextPress = function() {
|
|
201
|
+
restorePopoverModality.call(this);
|
|
187
202
|
this.setProperty("forwardDirection", true);
|
|
188
203
|
this._oPopover.close();
|
|
189
204
|
const nCurrentStep = this.getCurrentStep();
|
|
@@ -200,6 +215,7 @@ sap.ui.define([
|
|
|
200
215
|
};
|
|
201
216
|
|
|
202
217
|
GuidedTour.prototype.onPreviousPress = function() {
|
|
218
|
+
restorePopoverModality.call(this);
|
|
203
219
|
this.setProperty("forwardDirection", false);
|
|
204
220
|
this._oPopover.close();
|
|
205
221
|
const nCurrentStep = this.getCurrentStep();
|
|
@@ -225,6 +241,7 @@ sap.ui.define([
|
|
|
225
241
|
};
|
|
226
242
|
|
|
227
243
|
GuidedTour.prototype.onClosePress = async function() {
|
|
244
|
+
restorePopoverModality.call(this);
|
|
228
245
|
this._oPopover.close();
|
|
229
246
|
this.fireTourClosed();
|
|
230
247
|
this.destroy();
|
|
@@ -129,7 +129,7 @@ sap.ui.define([
|
|
|
129
129
|
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_VERSIONS_DROPDOWN_TITLE"),
|
|
130
130
|
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_VERSIONS_DROPDOWN_DESCRIPTION"),
|
|
131
131
|
listContent: [],
|
|
132
|
-
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_versionHistoryDialog--
|
|
132
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_versionHistoryDialog--popover",
|
|
133
133
|
waitForElement: true,
|
|
134
134
|
actionSelectors: ["sapUIRta_toolbar_fragment--sapUiRta_versionButton"]
|
|
135
135
|
},
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @class Constructor for a new sap.ui.rta.util.whatsNew.WhatsNew
|
|
32
32
|
* @extends sap.ui.base.ManagedObject
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.139.0
|
|
35
35
|
* @constructor
|
|
36
36
|
* @since 1.129
|
|
37
37
|
* @private
|
|
@@ -73,8 +73,7 @@ sap.ui.define([
|
|
|
73
73
|
this.aUnseenFeatures = await WhatsNewUtils.getFilteredFeatures(aDontShowAgainFeatureIds, this.getLayer());
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
WhatsNew.prototype.initializeWhatsNewDialog = async function(aExcludeFeatureIds = []) {
|
|
77
|
-
const aDontShowAgainFeatureIds = await FeaturesAPI.getSeenFeatureIds({ layer: this.getLayer() });
|
|
76
|
+
WhatsNew.prototype.initializeWhatsNewDialog = async function(aDontShowAgainFeatureIds, aExcludeFeatureIds = []) {
|
|
78
77
|
await this.setDontShowAgainFeatureIds(aDontShowAgainFeatureIds);
|
|
79
78
|
if (this.aUnseenFeatures.length === 0 || this.getLayer() !== "CUSTOMER") {
|
|
80
79
|
return;
|