@openui5/sap.ui.rta 1.102.1 → 1.103.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/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 +15 -11
- 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/Feature.js +1 -1
- 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 +1 -1
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
- 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/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/Move.js +1 -1
- package/src/sap/ui/rta/command/Property.js +2 -2
- 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 +2 -2
- 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/appDescriptor/AddLibrary.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +7 -7
- 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/enablement/elementActionTest.js +1 -1
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +13 -11
- 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/CompVariant.js +3 -3
- 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/EasyAdd.js +1 -1
- package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
- 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/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/RenameHandler.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/iframe/AddIFrame.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
- 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/toolbar/Adaptation.js +31 -259
- package/src/sap/ui/rta/toolbar/Base.js +5 -15
- 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/Personalization.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
- package/src/sap/ui/rta/toolbar/{VersionHistory.fragment.xml → versioning/VersionHistory.fragment.xml} +4 -3
- package/src/sap/ui/rta/toolbar/{VersionTitleDialog.fragment.xml → versioning/VersionTitleDialog.fragment.xml} +3 -2
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +271 -0
- 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/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -2
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 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/m/GroupHeaderListItem",
|
|
9
|
+
"sap/ui/base/ManagedObject",
|
|
10
|
+
"sap/ui/core/format/DateFormat",
|
|
11
|
+
"sap/ui/core/Fragment",
|
|
12
|
+
"sap/ui/core/library",
|
|
13
|
+
"sap/ui/fl/write/api/Version",
|
|
14
|
+
"sap/ui/model/Sorter",
|
|
15
|
+
"sap/ui/rta/Utils"
|
|
16
|
+
], function(
|
|
17
|
+
GroupHeaderListItem,
|
|
18
|
+
ManagedObject,
|
|
19
|
+
DateFormat,
|
|
20
|
+
Fragment,
|
|
21
|
+
coreLibrary,
|
|
22
|
+
Version,
|
|
23
|
+
Sorter,
|
|
24
|
+
Utils
|
|
25
|
+
) {
|
|
26
|
+
"use strict";
|
|
27
|
+
|
|
28
|
+
var MessageType = coreLibrary.MessageType;
|
|
29
|
+
var DRAFT_ACCENT_COLOR = "sapUiRtaDraftVersionAccent";
|
|
30
|
+
var ACTIVE_ACCENT_COLOR = "sapUiRtaActiveVersionAccent";
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Controller for the <code>sap.ui.rta.toolbar.versioning.Versioning</code> controls.
|
|
34
|
+
* Contains implementation of versioning functionality.
|
|
35
|
+
*
|
|
36
|
+
* @class
|
|
37
|
+
*
|
|
38
|
+
* @author SAP SE
|
|
39
|
+
* @version 1.103.1
|
|
40
|
+
*
|
|
41
|
+
* @constructor
|
|
42
|
+
* @private
|
|
43
|
+
* @since 1.103
|
|
44
|
+
* @alias sap.ui.rta.toolbar.versioning.Versioning
|
|
45
|
+
*/
|
|
46
|
+
var Versioning = ManagedObject.extend("sap.ui.rta.toolbar.versioning.Versioning", {
|
|
47
|
+
metadata: {
|
|
48
|
+
properties: {
|
|
49
|
+
toolbar: {
|
|
50
|
+
type: "any" // "sap.ui.rta.toolbar.Base"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
constructor: function() {
|
|
55
|
+
ManagedObject.prototype.constructor.apply(this, arguments);
|
|
56
|
+
this.oTextResources = this.getToolbar().getTextResources();
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
function versionSelected(oEvent) {
|
|
61
|
+
var oVersionsBindingContext = oEvent.getSource().getBindingContext("versions");
|
|
62
|
+
var sVersion = Version.Number.Original;
|
|
63
|
+
|
|
64
|
+
if (oVersionsBindingContext) {
|
|
65
|
+
// the original Version does not have a version binding Context
|
|
66
|
+
sVersion = oVersionsBindingContext.getProperty("version");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
this.getToolbar().fireEvent("switchVersion", {version: sVersion});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function doesActiveVersionExists (aVersions) {
|
|
73
|
+
return aVersions.some(function (oVersion) {
|
|
74
|
+
return oVersion.type === Version.Type.Active;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// ------ formatting ------
|
|
79
|
+
function formatOriginalAppHighlight(aVersions) {
|
|
80
|
+
return doesActiveVersionExists(aVersions) ? MessageType.None : MessageType.Success;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function formatOriginalAppHighlightText(aVersions) {
|
|
84
|
+
return doesActiveVersionExists(aVersions) ? this.oTextResources.getText("LBL_INACTIVE") : this.oTextResources.getText("LBL_ACTIVE");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function formatHighlight(sType) {
|
|
88
|
+
switch (sType) {
|
|
89
|
+
case Version.Type.Draft:
|
|
90
|
+
return MessageType.Warning;
|
|
91
|
+
case Version.Type.Active:
|
|
92
|
+
return MessageType.Success;
|
|
93
|
+
default:
|
|
94
|
+
return MessageType.None;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function formatHighlightText(sType) {
|
|
99
|
+
switch (sType) {
|
|
100
|
+
case Version.Type.Draft:
|
|
101
|
+
return this.oTextResources.getText("TIT_DRAFT");
|
|
102
|
+
case Version.Type.Active:
|
|
103
|
+
return this.oTextResources.getText("LBL_ACTIVE");
|
|
104
|
+
default:
|
|
105
|
+
return this.oTextResources.getText("LBL_INACTIVE");
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function formatVersionTitle(sTitle, sType) {
|
|
110
|
+
if (sType === Version.Type.Draft) {
|
|
111
|
+
return this.oTextResources.getText("TIT_DRAFT");
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return sTitle || this.oTextResources.getText("TIT_VERSION_1");
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function formatVersionTimeStamp(sActivatedAtTimeStamp, sImportedAtTimeStamp) {
|
|
118
|
+
var sTimeStamp = sImportedAtTimeStamp || sActivatedAtTimeStamp;
|
|
119
|
+
|
|
120
|
+
if (!sTimeStamp) {
|
|
121
|
+
// in case of "Original App" and "Draft" no timestamp is set
|
|
122
|
+
return "";
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
return DateFormat.getInstance({
|
|
126
|
+
format: "yMMMdjm"
|
|
127
|
+
}).format(new Date(sTimeStamp));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function getGroupHeaderFactory(oGroup) {
|
|
131
|
+
return new GroupHeaderListItem({
|
|
132
|
+
title: oGroup.key ? this.oTextResources.getText("TIT_VERSION_HISTORY_PUBLISHED") : this.oTextResources.getText("TIT_VERSION_HISTORY_UNPUBLISHED"),
|
|
133
|
+
upperCase: false,
|
|
134
|
+
visible: this.getToolbar().getModel("controls").getProperty("/publishVisible")
|
|
135
|
+
}).addStyleClass("sapUiRtaVersionHistoryGrouping").addStyleClass("sapUiRtaVersionHistory");
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
function setVersionButtonAccentColor(oVersionButton, sType) {
|
|
139
|
+
switch (sType) {
|
|
140
|
+
case Version.Type.Draft:
|
|
141
|
+
oVersionButton.addStyleClass(DRAFT_ACCENT_COLOR);
|
|
142
|
+
oVersionButton.removeStyleClass(ACTIVE_ACCENT_COLOR);
|
|
143
|
+
break;
|
|
144
|
+
case Version.Type.Active:
|
|
145
|
+
oVersionButton.addStyleClass(ACTIVE_ACCENT_COLOR);
|
|
146
|
+
oVersionButton.removeStyleClass(DRAFT_ACCENT_COLOR);
|
|
147
|
+
break;
|
|
148
|
+
default:
|
|
149
|
+
oVersionButton.removeStyleClass(ACTIVE_ACCENT_COLOR);
|
|
150
|
+
oVersionButton.removeStyleClass(DRAFT_ACCENT_COLOR);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
Versioning.prototype.formatVersionButtonText = function(aVersions, sDisplayedVersion) {
|
|
155
|
+
var sText = "";
|
|
156
|
+
var sType = "Active";
|
|
157
|
+
aVersions = aVersions || [];
|
|
158
|
+
|
|
159
|
+
if (sDisplayedVersion === undefined || sDisplayedVersion === Version.Number.Original) {
|
|
160
|
+
sText = this.oTextResources.getText("TIT_ORIGINAL_APP");
|
|
161
|
+
sType = Version.Type.Inactive;
|
|
162
|
+
if (aVersions.length === 0 || (aVersions.length === 1 && aVersions[0].type === Version.Type.Draft)) {
|
|
163
|
+
sType = Version.Type.Active;
|
|
164
|
+
}
|
|
165
|
+
} else {
|
|
166
|
+
var oDisplayedVersion = aVersions.find(function (oVersion) {
|
|
167
|
+
return oVersion.version === sDisplayedVersion;
|
|
168
|
+
});
|
|
169
|
+
if (oDisplayedVersion) {
|
|
170
|
+
sType = oDisplayedVersion.type;
|
|
171
|
+
if (sDisplayedVersion === Version.Number.Draft) {
|
|
172
|
+
sText = this.oTextResources.getText("TIT_DRAFT");
|
|
173
|
+
} else {
|
|
174
|
+
sText = oDisplayedVersion.title || this.oTextResources.getText("TIT_VERSION_1");
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
setVersionButtonAccentColor(this.getToolbar().getControl("versionButton"), sType);
|
|
179
|
+
return sText;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
Versioning.prototype.formatPublishVersionVisibility = function(bPublishVisible, bVersioningEnabled, sDisplayedVersion, sModeSwitcher) {
|
|
183
|
+
return bPublishVisible && bVersioningEnabled && sDisplayedVersion !== Version.Number.Draft && sModeSwitcher === "adaptation";
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
Versioning.prototype.formatDiscardDraftVisible = function(sDisplayedVersion, bVersioningEnabled, sModeSwitcher) {
|
|
187
|
+
return sDisplayedVersion === Version.Number.Draft && bVersioningEnabled && sModeSwitcher === "adaptation";
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
// ------ Dialog handling ------
|
|
191
|
+
Versioning.prototype.showVersionHistory = function(oEvent) {
|
|
192
|
+
var oVersionButton = oEvent.getSource();
|
|
193
|
+
|
|
194
|
+
if (!this._oVersionHistoryDialogPromise) {
|
|
195
|
+
this._oVersionHistoryDialogPromise = Fragment.load({
|
|
196
|
+
name: "sap.ui.rta.toolbar.versioning.VersionHistory",
|
|
197
|
+
id: this.getToolbar().getId() + "_fragment--sapUiRta_versionHistoryDialog",
|
|
198
|
+
controller: {
|
|
199
|
+
formatVersionTitle: formatVersionTitle.bind(this),
|
|
200
|
+
formatVersionTimeStamp: formatVersionTimeStamp,
|
|
201
|
+
formatHighlight: formatHighlight,
|
|
202
|
+
formatHighlightText: formatHighlightText.bind(this),
|
|
203
|
+
formatOriginalAppHighlight: formatOriginalAppHighlight,
|
|
204
|
+
formatOriginalAppHighlightText: formatOriginalAppHighlightText.bind(this),
|
|
205
|
+
versionSelected: versionSelected.bind(this),
|
|
206
|
+
getGroupHeaderFactory: getGroupHeaderFactory.bind(this)
|
|
207
|
+
}
|
|
208
|
+
}).then(function(oDialog) {
|
|
209
|
+
this.getToolbar().addDependent(oDialog);
|
|
210
|
+
return oDialog;
|
|
211
|
+
}.bind(this));
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
return this._oVersionHistoryDialogPromise.then(function(oVersionsDialog) {
|
|
215
|
+
if (!oVersionsDialog.isOpen()) {
|
|
216
|
+
oVersionsDialog.openBy(oVersionButton);
|
|
217
|
+
if (this.getToolbar().getModel("controls").getProperty("/publishVisible")) {
|
|
218
|
+
var oList = this.getToolbar().getControl("versionHistoryDialog--versionList");
|
|
219
|
+
var oSorter = new Sorter({
|
|
220
|
+
path: "isPublished",
|
|
221
|
+
group: true
|
|
222
|
+
});
|
|
223
|
+
oList.getBinding("items").sort(oSorter);
|
|
224
|
+
}
|
|
225
|
+
} else {
|
|
226
|
+
oVersionsDialog.close();
|
|
227
|
+
}
|
|
228
|
+
}.bind(this));
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
Versioning.prototype.openActivateVersionDialog = function(sDisplayedVersion) {
|
|
232
|
+
if (!this._oActivateVersionDialogPromise) {
|
|
233
|
+
this._oActivateVersionDialogPromise = Fragment.load({
|
|
234
|
+
name: "sap.ui.rta.toolbar.versioning.VersionTitleDialog",
|
|
235
|
+
id: this.getToolbar().getId() + "_fragment--sapUiRta_activateVersionDialog",
|
|
236
|
+
controller: {
|
|
237
|
+
onConfirmVersioningDialog: function () {
|
|
238
|
+
var sVersionTitle = this.getToolbar().getControl("activateVersionDialog--versionTitleInput").getValue();
|
|
239
|
+
this.getToolbar().fireEvent("activate", {versionTitle: sVersionTitle});
|
|
240
|
+
this._oActivateVersionDialog.close();
|
|
241
|
+
}.bind(this),
|
|
242
|
+
onCancelVersioningDialog: function () {
|
|
243
|
+
this._oActivateVersionDialog.close();
|
|
244
|
+
}.bind(this),
|
|
245
|
+
onVersionTitleLiveChange: function (oEvent) {
|
|
246
|
+
var sValue = oEvent.getParameter("value");
|
|
247
|
+
this.getToolbar().getControl("activateVersionDialog--confirmVersionTitleButton").setEnabled(!!sValue);
|
|
248
|
+
}.bind(this)
|
|
249
|
+
}
|
|
250
|
+
}).then(function (oDialog) {
|
|
251
|
+
this._oActivateVersionDialog = oDialog;
|
|
252
|
+
oDialog.addStyleClass(Utils.getRtaStyleClassName());
|
|
253
|
+
this.getToolbar().addDependent(this._oActivateVersionDialog);
|
|
254
|
+
}.bind(this));
|
|
255
|
+
} else {
|
|
256
|
+
this.getToolbar().getControl("activateVersionDialog--versionTitleInput").setValue("");
|
|
257
|
+
this.getToolbar().getControl("activateVersionDialog--confirmVersionTitleButton").setEnabled(false);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
return this._oActivateVersionDialogPromise.then(function () {
|
|
261
|
+
var sTitle = this.oTextResources.getText("TIT_VERSION_TITLE_DIALOG");
|
|
262
|
+
if (sDisplayedVersion !== Version.Number.Draft) {
|
|
263
|
+
sTitle = this.oTextResources.getText("TIT_REACTIVATE_VERSION_TITLE_DIALOG");
|
|
264
|
+
}
|
|
265
|
+
this._oActivateVersionDialog.setTitle(sTitle);
|
|
266
|
+
return this._oActivateVersionDialog.open();
|
|
267
|
+
}.bind(this));
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
return Versioning;
|
|
271
|
+
});
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
|
|
49
49
|
* @author SAP SE
|
|
50
50
|
* @since 1.84.0
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.103.1
|
|
52
52
|
* @private
|
|
53
53
|
*/
|
|
54
54
|
var ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
|
package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<link>
|
|
14
14
|
<Link text="{i18n>BUT_CHANGEVISUALIZATION_LEARNMORE}"
|
|
15
15
|
target="_blank"
|
|
16
|
-
href="https://ui5.sap.com
|
|
16
|
+
href="https://ui5.sap.com/#/topic/35274280504f42cd87cc4fd3d403ca91.html#loio35274280504f42cd87cc4fd3d403ca91/visualization"/>
|
|
17
17
|
</link>
|
|
18
18
|
</MessageStrip>
|
|
19
19
|
<List
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
|
|
26
26
|
* @author SAP SE
|
|
27
27
|
* @since 1.86.0
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.103.1
|
|
29
29
|
* @private
|
|
30
30
|
*/
|
|
31
31
|
var ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
|
|
@@ -93,7 +93,7 @@ sap.ui.define([
|
|
|
93
93
|
* @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
|
|
94
94
|
* @author SAP SE
|
|
95
95
|
* @since 1.84.0
|
|
96
|
-
* @version 1.
|
|
96
|
+
* @version 1.103.1
|
|
97
97
|
* @private
|
|
98
98
|
*/
|
|
99
99
|
var ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
|
|
@@ -608,7 +608,7 @@ sap.ui.define([
|
|
|
608
608
|
* Triggers the mode switch (on/off).
|
|
609
609
|
*
|
|
610
610
|
* @param {sap.ui.base.ManagedObject} oRootControl - Root control of the overlays
|
|
611
|
-
* @param {sap.ui.
|
|
611
|
+
* @param {sap.ui.rta.toolbar.Adaptation} oToolbar - Toolbar of RTA
|
|
612
612
|
*/
|
|
613
613
|
ChangeVisualization.prototype.triggerModeChange = function(oRootControl, oToolbar) {
|
|
614
614
|
this.oMenuButton = oToolbar.getControl("toggleChangeVisualizationMenuButton");
|