@openui5/sap.ui.rta 1.134.0 → 1.136.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.toml +649 -0
- package/THIRDPARTY.txt +23 -23
- 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 +124 -28
- package/src/sap/ui/rta/Utils.js +19 -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 +26 -26
- 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 +72 -72
- package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
- package/src/sap/ui/rta/appVariant/Utils.js +27 -36
- package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +54 -68
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr_CA.properties +2 -2
- 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 +66 -6
- 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 +72 -48
- package/src/sap/ui/rta/command/CompositeCommand.js +13 -13
- 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 +2 -2
- 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/ExtendControllerCommand.js +93 -0
- package/src/sap/ui/rta/command/FlexCommand.js +55 -44
- package/src/sap/ui/rta/command/LREPSerializer.js +24 -24
- package/src/sap/ui/rta/command/LocalReset.js +2 -2
- package/src/sap/ui/rta/command/ManifestCommand.js +112 -0
- 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 +20 -5
- 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/command/{appDescriptor → manifest}/AddLibrary.js +11 -11
- 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 +181 -9
- package/src/sap/ui/rta/messagebundle_ar.properties +105 -6
- package/src/sap/ui/rta/messagebundle_bg.properties +105 -6
- package/src/sap/ui/rta/messagebundle_ca.properties +108 -9
- package/src/sap/ui/rta/messagebundle_cnr.properties +106 -7
- package/src/sap/ui/rta/messagebundle_cs.properties +103 -4
- package/src/sap/ui/rta/messagebundle_cy.properties +105 -6
- package/src/sap/ui/rta/messagebundle_da.properties +104 -5
- package/src/sap/ui/rta/messagebundle_de.properties +114 -15
- package/src/sap/ui/rta/messagebundle_el.properties +102 -3
- package/src/sap/ui/rta/messagebundle_en.properties +105 -6
- package/src/sap/ui/rta/messagebundle_en_GB.properties +105 -6
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +9 -1
- package/src/sap/ui/rta/messagebundle_es.properties +109 -10
- package/src/sap/ui/rta/messagebundle_es_MX.properties +113 -14
- package/src/sap/ui/rta/messagebundle_et.properties +103 -4
- package/src/sap/ui/rta/messagebundle_fi.properties +107 -8
- package/src/sap/ui/rta/messagebundle_fr.properties +123 -24
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +110 -11
- package/src/sap/ui/rta/messagebundle_hi.properties +105 -6
- package/src/sap/ui/rta/messagebundle_hr.properties +145 -46
- package/src/sap/ui/rta/messagebundle_hu.properties +104 -5
- package/src/sap/ui/rta/messagebundle_id.properties +113 -14
- package/src/sap/ui/rta/messagebundle_it.properties +146 -47
- package/src/sap/ui/rta/messagebundle_iw.properties +105 -6
- package/src/sap/ui/rta/messagebundle_ja.properties +117 -18
- package/src/sap/ui/rta/messagebundle_kk.properties +104 -5
- package/src/sap/ui/rta/messagebundle_ko.properties +105 -6
- package/src/sap/ui/rta/messagebundle_lt.properties +105 -6
- package/src/sap/ui/rta/messagebundle_lv.properties +104 -5
- package/src/sap/ui/rta/messagebundle_mk.properties +108 -9
- package/src/sap/ui/rta/messagebundle_ms.properties +115 -16
- package/src/sap/ui/rta/messagebundle_nl.properties +104 -5
- package/src/sap/ui/rta/messagebundle_no.properties +108 -9
- package/src/sap/ui/rta/messagebundle_pl.properties +104 -5
- package/src/sap/ui/rta/messagebundle_pt.properties +103 -4
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +103 -4
- package/src/sap/ui/rta/messagebundle_ro.properties +103 -4
- package/src/sap/ui/rta/messagebundle_ru.properties +107 -8
- package/src/sap/ui/rta/messagebundle_sh.properties +106 -7
- package/src/sap/ui/rta/messagebundle_sk.properties +103 -4
- package/src/sap/ui/rta/messagebundle_sl.properties +103 -4
- package/src/sap/ui/rta/messagebundle_sr.properties +106 -7
- package/src/sap/ui/rta/messagebundle_sv.properties +104 -5
- package/src/sap/ui/rta/messagebundle_th.properties +104 -5
- package/src/sap/ui/rta/messagebundle_tr.properties +103 -4
- package/src/sap/ui/rta/messagebundle_uk.properties +105 -6
- package/src/sap/ui/rta/messagebundle_vi.properties +105 -6
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +104 -5
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +105 -6
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +34 -34
- package/src/sap/ui/rta/plugin/AddXMLPlugin.js +54 -32
- 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 +114 -114
- package/src/sap/ui/rta/plugin/ControlVariant.js +37 -54
- 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/ExtendControllerPlugin.js +172 -0
- package/src/sap/ui/rta/plugin/LocalReset.js +4 -3
- package/src/sap/ui/rta/plugin/Plugin.js +31 -11
- 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/Resize.js +2 -2
- package/src/sap/ui/rta/plugin/Selection.js +2 -2
- package/src/sap/ui/rta/plugin/Settings.js +75 -62
- package/src/sap/ui/rta/plugin/Split.js +2 -2
- package/src/sap/ui/rta/plugin/Stretch.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
- 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/annotations/AnnotationChangeDialog.fragment.xml +13 -9
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +75 -13
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +38 -32
- package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +61 -21
- package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +8 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
- 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/plugin/{Rename.js → rename/Rename.js} +29 -67
- package/src/sap/ui/rta/plugin/rename/RenameDialog.fragment.xml +63 -0
- package/src/sap/ui/rta/plugin/rename/RenameDialog.js +140 -0
- package/src/sap/ui/rta/service/Action.js +2 -2
- package/src/sap/ui/rta/service/ControllerExtension.js +11 -5
- 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/Toolbar.adaptation.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/ActionsMenu.fragment.xml +6 -0
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +22 -9
- package/src/sap/ui/rta/toolbar/Adaptation.js +44 -9
- 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 +19 -10
- package/src/sap/ui/rta/toolbar/FioriLike.js +7 -5
- 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 +2 -2
- 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 +8 -6
- 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/ServiceManager.js +2 -2
- 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 +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 +4 -4
- 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/guidedTour/GuidedTour.js +242 -0
- package/src/sap/ui/rta/util/guidedTour/TourMarker.fragment.xml +50 -0
- package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +205 -0
- package/src/sap/ui/rta/util/hasStableId.js +1 -1
- package/src/sap/ui/rta/util/isReuseComponent.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 +8 -4
- package/src/sap/ui/rta/util/whatsNew/WhatsNewDialog.fragment.xml +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +85 -1
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ChangeLabelsAction.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/DisplayBehavior.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ExtendedActions.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/GuidedTour.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ReloadButtonToolbar.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/RenameDialog.png +0 -0
- package/ui5.yaml +1 -1
- package/.reuse/dep5 +0 -471
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +0 -114
- package/src/sap/ui/rta/plugin/RenameHandler.js +0 -477
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/ui/core/Element",
|
|
9
|
+
"sap/ui/core/Lib"
|
|
10
|
+
], function(
|
|
11
|
+
Element,
|
|
12
|
+
Lib
|
|
13
|
+
) {
|
|
14
|
+
"use strict";
|
|
15
|
+
|
|
16
|
+
const GeneralTour = {};
|
|
17
|
+
|
|
18
|
+
const oTextResources = Lib.getResourceBundleFor("sap.ui.rta");
|
|
19
|
+
|
|
20
|
+
function filterAvailableBurgerMenuActions(oGeneralTour) {
|
|
21
|
+
const oControlsModelData = Element.getElementById("sapUIRta_toolbar").getModel("controls").getData();
|
|
22
|
+
const aAvailableBurgerMenuActions = {
|
|
23
|
+
newFeaturesOverview: oControlsModelData.newFeaturesOverview.visible,
|
|
24
|
+
translation: oControlsModelData.translation.visible,
|
|
25
|
+
generalTour: true,
|
|
26
|
+
appVariantMenu: oControlsModelData.appVariantMenu.visible,
|
|
27
|
+
restore: oControlsModelData.restore.visible
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// Find the index of the burger menu step
|
|
31
|
+
const nBurgerMenuStepIndex = oGeneralTour.steps.findIndex((oStep) =>
|
|
32
|
+
oStep.title === oTextResources.getText("TIT_TOUR_GENERAL_STEP_BURGER_MENU_TITLE")
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
// Set the available actions
|
|
36
|
+
oGeneralTour.steps[nBurgerMenuStepIndex].listContent = oGeneralTour.steps[nBurgerMenuStepIndex].listContent.filter((oItem) =>
|
|
37
|
+
aAvailableBurgerMenuActions[oItem.id]
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
return oGeneralTour;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The `oGeneralTourContent` object defines the steps for the Guided Tour in the RTA toolbar.
|
|
45
|
+
* Each step provides information about a specific feature or functionality.
|
|
46
|
+
*
|
|
47
|
+
* To add a new step, include an object in the `steps` array with the following structure:
|
|
48
|
+
*
|
|
49
|
+
* {
|
|
50
|
+
* title: <Title of the step>,
|
|
51
|
+
* description: <Description of the step>,
|
|
52
|
+
* listContent: [
|
|
53
|
+
* {
|
|
54
|
+
* id: <id of the action>,
|
|
55
|
+
* title: <Title of the action>,
|
|
56
|
+
* description: <Description of the action>,
|
|
57
|
+
* icon: <Icon representing the action>
|
|
58
|
+
* }
|
|
59
|
+
* ],
|
|
60
|
+
* markerSelector: <Selector for the UI element to highlight during the step>,
|
|
61
|
+
* actionSelectors: [<Selectors for elements to trigger actions on during the steps>],
|
|
62
|
+
* waitForElement: <Boolean indicating whether to wait for the element to become visible>
|
|
63
|
+
* }
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
const oGeneralTourContent = {
|
|
67
|
+
initialStateSelectors: ["sapUIRta_toolbar_fragment--sapUiRta_adaptationSwitcherButton-button"],
|
|
68
|
+
steps: [
|
|
69
|
+
{
|
|
70
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_UI_ADAPTATION_BUTTON_TITLE"),
|
|
71
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_UI_ADAPTATION_BUTTON_DESCRIPTION"),
|
|
72
|
+
listContent: [],
|
|
73
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_adaptationSwitcherButton-button",
|
|
74
|
+
actionSelectors: ["sapUIRta_toolbar_fragment--sapUiRta_adaptationSwitcherButton-button"]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_NAVIGATION_BUTTON_TITLE"),
|
|
78
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_NAVIGATION_BUTTON_DESCRIPTION"),
|
|
79
|
+
listContent: [],
|
|
80
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_navigationSwitcherButton-button",
|
|
81
|
+
actionSelectors: ["sapUIRta_toolbar_fragment--sapUiRta_navigationSwitcherButton-button"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_VISUALIZATION_BUTTON_TITLE"),
|
|
85
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_VISUALIZATION_BUTTON_DESCRIPTION"),
|
|
86
|
+
listContent: [],
|
|
87
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_visualizationSwitcherButton-button",
|
|
88
|
+
actionSelectors: ["sapUIRta_toolbar_fragment--sapUiRta_visualizationSwitcherButton-button"]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_CHANGE_LIST_DROPDOWN_TITLE"),
|
|
92
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_CHANGE_LIST_DROPDOWN_DESCRIPTION"),
|
|
93
|
+
listContent: [],
|
|
94
|
+
markerSelector:
|
|
95
|
+
"sapUIRta_toolbar_fragment--sapUiRta_toggleChangeVisualizationMenuButton--ChangeIndicatorCategorySelection--popover",
|
|
96
|
+
waitForElement: true,
|
|
97
|
+
actionSelectors: [
|
|
98
|
+
"sapUIRta_toolbar_fragment--sapUiRta_visualizationSwitcherButton-button",
|
|
99
|
+
"sapUIRta_toolbar_fragment--sapUiRta_toggleChangeVisualizationMenuButton"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_SAVE_BUTTON_TITLE"),
|
|
104
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_SAVE_BUTTON_DESCRIPTION"),
|
|
105
|
+
listContent: [],
|
|
106
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_save",
|
|
107
|
+
waitForElement: true,
|
|
108
|
+
actionSelectors: ["sapUIRta_toolbar_fragment--sapUiRta_adaptationSwitcherButton-button"]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_UNDO_BUTTON_TITLE"),
|
|
112
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_UNDO_BUTTON_DESCRIPTION"),
|
|
113
|
+
listContent: [],
|
|
114
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_undo"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_REDO_BUTTON_TITLE"),
|
|
118
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_REDO_BUTTON_DESCRIPTION"),
|
|
119
|
+
listContent: [],
|
|
120
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_redo"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_ACTIVATE_VERSION_BUTTON_TITLE"),
|
|
124
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_ACTIVATE_VERSION_BUTTON_DESCRIPTION"),
|
|
125
|
+
listContent: [],
|
|
126
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_activate"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_VERSIONS_DROPDOWN_TITLE"),
|
|
130
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_VERSIONS_DROPDOWN_DESCRIPTION"),
|
|
131
|
+
listContent: [],
|
|
132
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_versionHistoryDialog--originalVersionList",
|
|
133
|
+
waitForElement: true,
|
|
134
|
+
actionSelectors: ["sapUIRta_toolbar_fragment--sapUiRta_versionButton"]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_PUBLISH_BUTTON_TITLE"),
|
|
138
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_PUBLISH_BUTTON_DESCRIPTION"),
|
|
139
|
+
listContent: [],
|
|
140
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_publishVersion"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_BURGER_MENU_TITLE"),
|
|
144
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_BURGER_MENU_DESCRIPTION"),
|
|
145
|
+
listContent: [
|
|
146
|
+
{
|
|
147
|
+
id: "translation",
|
|
148
|
+
title: oTextResources.getText("BTN_TRANSLATE"),
|
|
149
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_BURGER_MENU_TRANSLATIONS"),
|
|
150
|
+
icon: "sap-icon://translate"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
id: "appVariantMenu",
|
|
154
|
+
title: oTextResources.getText("BTN_MANAGE_APPS_TXT"),
|
|
155
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_BURGER_MENU_APP_VARIANTS"),
|
|
156
|
+
icon: "sap-icon://BusinessSuiteInAppSymbols/icon-variant-configuration"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "restore",
|
|
160
|
+
title: oTextResources.getText("BTN_RESTORE"),
|
|
161
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_BURGER_MENU_RESTORE"),
|
|
162
|
+
icon: "sap-icon://reset"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: "newFeaturesOverview",
|
|
166
|
+
title: oTextResources.getText("BTN_WHATS_NEW_DIALOG_OVERVIEW"),
|
|
167
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_BURGER_MENU_NEW_FEATURES"),
|
|
168
|
+
icon: "sap-icon://newspaper"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: "generalTour",
|
|
172
|
+
title: oTextResources.getText("BTN_GUIDED_TOUR_START"),
|
|
173
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_BURGER_MENU_GENERAL_TOUR"),
|
|
174
|
+
icon: "sap-icon://map-3"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_actionsMenu"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_CONTEXT_BASED_ADAPTATIONS_TITLE"),
|
|
181
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_CONTEXT_BASED_ADAPTATIONS_DESCRIPTION"),
|
|
182
|
+
listContent: [],
|
|
183
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_contextBasedAdaptationsButton"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_FEEDBACK_BUTTON_TITLE"),
|
|
187
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_FEEDBACK_BUTTON_DESCRIPTION"),
|
|
188
|
+
listContent: [],
|
|
189
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_feedback"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
title: oTextResources.getText("TIT_TOUR_GENERAL_STEP_EXIT_BUTTON_TITLE"),
|
|
193
|
+
description: oTextResources.getText("TXT_TOUR_GENERAL_STEP_EXIT_BUTTON_DESCRIPTION"),
|
|
194
|
+
listContent: [],
|
|
195
|
+
markerSelector: "sapUIRta_toolbar_fragment--sapUiRta_exit"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
GeneralTour.getTourContent = function() {
|
|
201
|
+
return filterAvailableBurgerMenuActions(oGeneralTourContent);
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
return GeneralTour;
|
|
205
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 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.136.0
|
|
37
37
|
* @constructor
|
|
38
38
|
* @since 1.129
|
|
39
39
|
* @private
|
|
@@ -56,14 +56,18 @@ sap.ui.define([
|
|
|
56
56
|
this.aUnseenFeatures = await WhatsNewUtils.getFilteredFeatures(aDontShowAgainFeatureIds, this.getLayer());
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
WhatsNew.prototype.initializeWhatsNewDialog = async function() {
|
|
59
|
+
WhatsNew.prototype.initializeWhatsNewDialog = async function(aExcludeFeatureIds = []) {
|
|
60
60
|
const aDontShowAgainFeatureIds = await FeaturesAPI.getSeenFeatureIds({ layer: this.getLayer() });
|
|
61
61
|
await this.setDontShowAgainFeatureIds(aDontShowAgainFeatureIds);
|
|
62
62
|
if (this.aUnseenFeatures.length === 0 || this.getLayer() !== "CUSTOMER") {
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
65
|
const oWhatsNewDialogModel = new JSONModel();
|
|
66
|
-
|
|
66
|
+
const aVisibleFeatures = this.aUnseenFeatures.filter((oFeature) => !aExcludeFeatureIds.includes(oFeature.featureId));
|
|
67
|
+
if (aVisibleFeatures.length === 0) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
oWhatsNewDialogModel.setData({ featureCollection: aVisibleFeatures });
|
|
67
71
|
if (!this.oWhatsNewDialog) {
|
|
68
72
|
await this.createWhatsNewDialog(oWhatsNewDialogModel);
|
|
69
73
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<Title text="{whatsNewModel>title}" class="sapUiMediumMarginTop sapUiSmallMarginBegin sapUiTinyMarginBottom" level="H3"/>
|
|
25
25
|
<f:Card width="100%" height="24rem" class="sapUiSmallMarginBottom">
|
|
26
26
|
<f:content>
|
|
27
|
-
<Page
|
|
27
|
+
<Page showHeader="false" backgroundDesign="Transparent">
|
|
28
28
|
<VBox items="{path: 'whatsNewModel>information', templateShareable: false}" class="sapUiSmallMargin">
|
|
29
29
|
<HBox alignItems="Center" class="sapUiTinyMargin">
|
|
30
30
|
<FormattedText
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 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
|
|
|
@@ -65,6 +65,90 @@ sap.ui.define([
|
|
|
65
65
|
*/
|
|
66
66
|
const aWhatsNewFeaturesContent =
|
|
67
67
|
[
|
|
68
|
+
{
|
|
69
|
+
featureId: "GuidedTour",
|
|
70
|
+
title: oTextResources.getText("TIT_WHATS_NEW_RTA_TOUR_TITLE"),
|
|
71
|
+
description: oTextResources.getText("TXT_WHATS_NEW_DIALOG_RTA_TOUR_DESCRIPTION"),
|
|
72
|
+
documentationUrls: {
|
|
73
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/adapting-ui",
|
|
74
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/d868950a1e8c4b0f9b9453176939a19b.html",
|
|
75
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/d868950a1e8c4b0f9b9453176939a19b.html"
|
|
76
|
+
},
|
|
77
|
+
information: [
|
|
78
|
+
{
|
|
79
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_RTA_TOUR_TEXT"),
|
|
80
|
+
image: getImagePath("GuidedTour.png")
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
featureId: "RenameRework",
|
|
86
|
+
title: oTextResources.getText("TIT_WHATS_NEW_RENAME_REWORK_TITLE"),
|
|
87
|
+
description: oTextResources.getText("TXT_WHATS_NEW_DIALOG_RENAME_REWORK_DESCRIPTION"),
|
|
88
|
+
documentationUrls: {
|
|
89
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/making-ui-changes#renaming-a-ui-element",
|
|
90
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/54270a390b194c3e97be2424592c3352.html#renaming-a-ui-element",
|
|
91
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/54270a390b194c3e97be2424592c3352.html#renaming-a-ui-element"
|
|
92
|
+
},
|
|
93
|
+
information: [
|
|
94
|
+
{
|
|
95
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_RENAME_REWORK_TEXT_1"),
|
|
96
|
+
image: getImagePath("RenameDialog.png")
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_RENAME_REWORK_TEXT_2"),
|
|
100
|
+
image: getImagePath("ChangeLabelsAction.png")
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_RENAME_REWORK_TEXT_3"),
|
|
104
|
+
image: getImagePath("ReloadButtonToolbar.png")
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
featureId: "TextArrangement",
|
|
110
|
+
title: oTextResources.getText("TIT_WHATS_NEW_TEXT_ARRANGEMENT_TITLE"),
|
|
111
|
+
description: oTextResources.getText("TXT_WHATS_NEW_DIALOG_TEXT_ARRANGEMENT_DESCRIPTION"),
|
|
112
|
+
documentationUrls: {
|
|
113
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/making-ui-changes#text-arrangement",
|
|
114
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/54270a390b194c3e97be2424592c3352.html#text-arrangement",
|
|
115
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/54270a390b194c3e97be2424592c3352.html#text-arrangement"
|
|
116
|
+
},
|
|
117
|
+
information: [
|
|
118
|
+
{
|
|
119
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_TEXT_ARRANGEMENT_TEXT_1"),
|
|
120
|
+
image: getImagePath("DisplayBehavior.png")
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_TEXT_ARRANGEMENT_TEXT_2"),
|
|
124
|
+
image: null
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_TEXT_ARRANGEMENT_TEXT_3"),
|
|
128
|
+
image: getImagePath("ReloadButtonToolbar.png")
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
featureId: "ExtendedActions",
|
|
134
|
+
title: oTextResources.getText("TIT_WHATS_NEW_EXTENDED_ACTIONS_TITLE"),
|
|
135
|
+
description: oTextResources.getText("TXT_WHATS_NEW_DIALOG_EXTENDED_ACTIONS_DESCRIPTION"),
|
|
136
|
+
documentationUrls: {
|
|
137
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/adapting-ui",
|
|
138
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/d868950a1e8c4b0f9b9453176939a19b.html",
|
|
139
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/d868950a1e8c4b0f9b9453176939a19b.html"
|
|
140
|
+
},
|
|
141
|
+
information: [
|
|
142
|
+
{
|
|
143
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_EXTENDED_ACTIONS_TEXT_1"),
|
|
144
|
+
image: null
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_EXTENDED_ACTIONS_TEXT_2"),
|
|
148
|
+
image: getImagePath("ExtendedActions.png")
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
68
152
|
{
|
|
69
153
|
featureId: "WhatsNewFeature",
|
|
70
154
|
title: oTextResources.getText("TIT_WHATS_NEW_DIALOG_WHATS_NEW_FEATURE_TITLE"),
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ui5.yaml
CHANGED
|
@@ -5,7 +5,7 @@ metadata:
|
|
|
5
5
|
name: sap.ui.rta
|
|
6
6
|
copyright: |-
|
|
7
7
|
OpenUI5
|
|
8
|
-
* (c) Copyright
|
|
8
|
+
* (c) Copyright ${currentYear} SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
10
10
|
resources:
|
|
11
11
|
configuration:
|