@openui5/sap.ui.rta 1.127.1 → 1.129.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/THIRDPARTY.txt +1 -1
- package/package.json +6 -6
- package/src/sap/ui/rta/.library +1 -1
- package/src/sap/ui/rta/Client.js +1 -1
- package/src/sap/ui/rta/RuntimeAuthoring.js +21 -3
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
- package/src/sap/ui/rta/appVariant/Feature.js +2 -2
- package/src/sap/ui/rta/appVariant/Utils.js +3 -3
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_sappsd.properties +2 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saptrc.properties +27 -27
- package/src/sap/ui/rta/command/AddIFrame.js +1 -1
- 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 +2 -2
- package/src/sap/ui/rta/command/Annotation.js +46 -0
- package/src/sap/ui/rta/command/AppDescriptorCommand.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 +14 -8
- 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 +14 -15
- 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/FlexCommand.js +8 -5
- 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/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 +5 -2
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +6 -4
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +7 -5
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +5 -3
- package/src/sap/ui/rta/enablement/TestDelegate.js +4 -3
- package/src/sap/ui/rta/enablement/elementActionTest.js +9 -6
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +47 -3
- package/src/sap/ui/rta/messagebundle_ar.properties +24 -2
- package/src/sap/ui/rta/messagebundle_bg.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ca.properties +24 -2
- package/src/sap/ui/rta/messagebundle_cnr.properties +25 -3
- package/src/sap/ui/rta/messagebundle_cs.properties +24 -2
- package/src/sap/ui/rta/messagebundle_cy.properties +25 -3
- package/src/sap/ui/rta/messagebundle_da.properties +25 -3
- package/src/sap/ui/rta/messagebundle_de.properties +24 -2
- package/src/sap/ui/rta/messagebundle_el.properties +24 -2
- package/src/sap/ui/rta/messagebundle_en.properties +24 -2
- package/src/sap/ui/rta/messagebundle_en_GB.properties +24 -2
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +24 -2
- package/src/sap/ui/rta/messagebundle_es.properties +24 -2
- package/src/sap/ui/rta/messagebundle_es_MX.properties +24 -2
- package/src/sap/ui/rta/messagebundle_et.properties +24 -2
- package/src/sap/ui/rta/messagebundle_fi.properties +24 -2
- package/src/sap/ui/rta/messagebundle_fr.properties +24 -2
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +25 -3
- package/src/sap/ui/rta/messagebundle_hi.properties +24 -2
- package/src/sap/ui/rta/messagebundle_hr.properties +24 -2
- package/src/sap/ui/rta/messagebundle_hu.properties +25 -3
- package/src/sap/ui/rta/messagebundle_id.properties +25 -3
- package/src/sap/ui/rta/messagebundle_it.properties +24 -2
- package/src/sap/ui/rta/messagebundle_iw.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ja.properties +24 -2
- package/src/sap/ui/rta/messagebundle_kk.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ko.properties +25 -3
- package/src/sap/ui/rta/messagebundle_lt.properties +24 -2
- package/src/sap/ui/rta/messagebundle_lv.properties +24 -2
- package/src/sap/ui/rta/messagebundle_mk.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ms.properties +24 -2
- package/src/sap/ui/rta/messagebundle_nl.properties +24 -2
- package/src/sap/ui/rta/messagebundle_no.properties +24 -2
- package/src/sap/ui/rta/messagebundle_pl.properties +24 -2
- package/src/sap/ui/rta/messagebundle_pt.properties +24 -2
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ro.properties +25 -3
- package/src/sap/ui/rta/messagebundle_ru.properties +24 -2
- package/src/sap/ui/rta/messagebundle_sh.properties +25 -3
- package/src/sap/ui/rta/messagebundle_sk.properties +24 -2
- package/src/sap/ui/rta/messagebundle_sl.properties +24 -2
- package/src/sap/ui/rta/messagebundle_sr.properties +25 -3
- package/src/sap/ui/rta/messagebundle_sv.properties +24 -2
- package/src/sap/ui/rta/messagebundle_th.properties +24 -2
- package/src/sap/ui/rta/messagebundle_tr.properties +24 -2
- package/src/sap/ui/rta/messagebundle_uk.properties +26 -4
- package/src/sap/ui/rta/messagebundle_vi.properties +25 -3
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +24 -2
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +24 -2
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
- 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 +1 -1
- 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/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +2 -3
- 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/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/RenameHandler.js +5 -2
- 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 +34 -10
- 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.fragment.xml +0 -1
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +70 -69
- 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/iframe/AddIFrame.js +9 -7
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +22 -7
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +7 -4
- package/src/sap/ui/rta/service/Action.js +4 -3
- package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
- package/src/sap/ui/rta/service/Outline.js +5 -9
- package/src/sap/ui/rta/service/Property.js +10 -11
- 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 +8 -10
- package/src/sap/ui/rta/themes/base/ChangeVisualization.less +2 -3
- package/src/sap/ui/rta/themes/base/ContextMenu.less +13 -13
- package/src/sap/ui/rta/themes/base/Dialogs.less +2 -2
- package/src/sap/ui/rta/themes/base/FieldRepository.less +5 -10
- package/src/sap/ui/rta/themes/base/FlexSupportExtension.less +9 -4
- package/src/sap/ui/rta/themes/base/Overlay.less +27 -180
- package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +1 -1
- package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +18 -76
- package/src/sap/ui/rta/themes/base/Toolbar.base.less +18 -18
- package/src/sap/ui/rta/themes/base/WhatsNew.less +7 -0
- package/src/sap/ui/rta/themes/base/library.source.less +10 -11
- package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +8 -0
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +8 -1
- package/src/sap/ui/rta/toolbar/Adaptation.js +9 -2
- package/src/sap/ui/rta/toolbar/Base.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
- 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/ManageAdaptations.js +20 -18
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptationsDialog.fragment.xml +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +3 -3
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +2 -2
- 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 +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +10 -10
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +11 -13
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +60 -25
- package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +110 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewDialog.fragment.xml +81 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +82 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverviewDialog.fragment.xml +75 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +73 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +138 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/AdvancedSettingsImage.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/FullIframe.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/MiniMenu.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/WhatsNewOverview.png +0 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 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/Lib"
|
|
9
|
+
], function(
|
|
10
|
+
Lib
|
|
11
|
+
) {
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
const WhatsNewFeatures = {};
|
|
15
|
+
|
|
16
|
+
const oTextResources = Lib.getResourceBundleFor("sap.ui.rta");
|
|
17
|
+
|
|
18
|
+
function getImagePath(sFileName) {
|
|
19
|
+
const _sAppModulePath = "sap/ui/rta/util/";
|
|
20
|
+
return `${sap.ui.require.toUrl(_sAppModulePath)}whatsNew/whatsNewContent/whatsNewImages/${sFileName}`;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Callback filter function to determine if the feature should be displayed in the dialog
|
|
25
|
+
* @typedef {function} sap.ui.rta.util.whatsNew.whatsNewContent.WhatsNewFeatures.isFeatureApplicable
|
|
26
|
+
* @param {sap.ui.fl.registry.Settings} oFlexSettings - Flex settings
|
|
27
|
+
* @returns {boolean} <code>false</code> if the feature shouldn't be displayed in the dialog
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The `aWhatsNewFeaturesContent` array defines the features that will be displayed inside the "What's New" dialog.
|
|
32
|
+
* To add a new feature, add a new object to this array. Each feature object should have the following structure:
|
|
33
|
+
*
|
|
34
|
+
* {
|
|
35
|
+
* featureId: <Unique identifier for the feature, saved in the backend>,
|
|
36
|
+
* title: <Title of the new feature>,
|
|
37
|
+
* description: <Description of the new feature>,
|
|
38
|
+
* documentationUrls: {
|
|
39
|
+
* btpUrl: <Url to the btp documentation of the feature>
|
|
40
|
+
* s4HanaCloudUrl: <Url to the s4HanaCloud documentation of the feature>
|
|
41
|
+
* s4HanaOnPremUrl: <Url to the ABAP on-Premise documentation of the feature>
|
|
42
|
+
* }
|
|
43
|
+
* information: [
|
|
44
|
+
* to display content inside the dialog there are three options:
|
|
45
|
+
* option 1: text and image to the left
|
|
46
|
+
* {
|
|
47
|
+
* text: <Text description of the feature>,
|
|
48
|
+
* image: <URL or path to an image representing the feature>
|
|
49
|
+
* }
|
|
50
|
+
* option 2: text only
|
|
51
|
+
* {
|
|
52
|
+
* text: <Text description of the feature>,
|
|
53
|
+
* image: null (the null is mandatory for spacing to work properly)
|
|
54
|
+
* }
|
|
55
|
+
* option 3: image only
|
|
56
|
+
* {
|
|
57
|
+
* text: null (the null is mandatory for spacing to work properly),
|
|
58
|
+
* image: <URL or path to an image representing the feature>
|
|
59
|
+
* }]
|
|
60
|
+
* isFeatureApplicable: <Filter function that returns a boolean value to determine
|
|
61
|
+
* if the feature should be displayed in the dialog> (optional)
|
|
62
|
+
* <code>{@link sap.ui.rta.util.whatsNew.whatsNewContent.WhatsNewFeatures.isFeatureApplicable isFeatureApplicable}</code>
|
|
63
|
+
* }
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
const aWhatsNewFeaturesContent =
|
|
67
|
+
[
|
|
68
|
+
{
|
|
69
|
+
featureId: "WhatsNewFeature",
|
|
70
|
+
title: oTextResources.getText("TIT_WHATS_NEW_DIALOG_WHATS_NEW_FEATURE_TITLE"),
|
|
71
|
+
description: oTextResources.getText("TXT_WHATS_NEW_DIALOG_WHATS_NEW_FEATURE_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_WHATS_NEW_FEATURE_TEXT"),
|
|
80
|
+
image: null
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_WHATS_NEW_OVERVIEW_TEXT"),
|
|
84
|
+
image: getImagePath("WhatsNewOverview.png")
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
featureId: "IFrameSandboxProperties",
|
|
90
|
+
description: oTextResources.getText("TXT_WHATS_NEW_DIALOG_IFRAME_SANDBOX_DESCRIPTION"),
|
|
91
|
+
documentationUrls: {
|
|
92
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/embedding-content",
|
|
93
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/8db25610e91342919fcf63d4e5868ae9.html",
|
|
94
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/8db25610e91342919fcf63d4e5868ae9.html"
|
|
95
|
+
},
|
|
96
|
+
title: oTextResources.getText("TIT_WHATS_NEW_DIALOG_IFRAME_SANDBOX_TITLE"),
|
|
97
|
+
information: [
|
|
98
|
+
{
|
|
99
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_IFRAME_SANDBOX_TEXT"),
|
|
100
|
+
image: null
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_IFRAME_SANDBOX_TEXT_2"),
|
|
104
|
+
image: getImagePath("FullIframe.png")
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_IFRAME_SANDBOX_TEXT_3"),
|
|
108
|
+
image: getImagePath("AdvancedSettingsImage.png")
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
featureId: "MinimenuRemoval",
|
|
114
|
+
title: oTextResources.getText("TIT_WHATS_NEW_DIALOG_MINIMENU_REMOVAL_TITLE"),
|
|
115
|
+
description: oTextResources.getText("TXT_WHATS_NEW_DIALOG_MINIMENU_REMOVAL_DESCRIPTION"),
|
|
116
|
+
documentationUrls: {
|
|
117
|
+
btpUrl: "https://help.sap.com/docs/ui5-flexibility-for-key-users/ui5-flexibility-for-key-users/adapting-ui",
|
|
118
|
+
s4HanaCloudUrl: "https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/d868950a1e8c4b0f9b9453176939a19b.html",
|
|
119
|
+
s4HanaOnPremUrl: "https://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/d868950a1e8c4b0f9b9453176939a19b.html"
|
|
120
|
+
},
|
|
121
|
+
information: [
|
|
122
|
+
{
|
|
123
|
+
text: oTextResources.getText("TXT_WHATS_NEW_DIALOG_MINIMENU_REMOVAL_TEXT"),
|
|
124
|
+
image: getImagePath("MiniMenu.png")
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
];
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @returns {object[]} All What's New features
|
|
132
|
+
*/
|
|
133
|
+
WhatsNewFeatures.getAllFeatures = function() {
|
|
134
|
+
return aWhatsNewFeaturesContent;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
return WhatsNewFeatures;
|
|
138
|
+
});
|
|
Binary file
|
|
Binary file
|