@openui5/sap.ui.rta 1.102.0 → 1.102.4
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 +6 -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 +4 -5
- package/src/sap/ui/rta/appVariant/Feature.js +3 -11
- 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 +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/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 +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/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 +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/enablement/elementActionTest.js +1 -1
- package/src/sap/ui/rta/library.js +2 -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/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/themes/base/Toolbar.adaptation.less +19 -4
- package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
- 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/Personalization.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.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/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/adaptationStarter.js +12 -6
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
package/THIRDPARTY.txt
CHANGED
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.11
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.rta",
|
|
3
|
-
"version": "1.102.
|
|
3
|
+
"version": "1.102.4",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.rta",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.102.
|
|
18
|
-
"@openui5/sap.ui.core": "1.102.
|
|
19
|
-
"@openui5/sap.ui.dt": "1.102.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.102.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.102.
|
|
17
|
+
"@openui5/sap.m": "1.102.4",
|
|
18
|
+
"@openui5/sap.ui.core": "1.102.4",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.102.4",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.102.4",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.102.4"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.102.
|
|
9
|
+
<version>1.102.4</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -116,7 +116,7 @@ sap.ui.define([
|
|
|
116
116
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
117
117
|
* @extends sap.ui.base.ManagedObject
|
|
118
118
|
* @author SAP SE
|
|
119
|
-
* @version 1.102.
|
|
119
|
+
* @version 1.102.4
|
|
120
120
|
* @constructor
|
|
121
121
|
* @private
|
|
122
122
|
* @since 1.30
|
|
@@ -939,12 +939,14 @@ sap.ui.define([
|
|
|
939
939
|
RuntimeAuthoring.prototype._activate = function(sVersionTitle) {
|
|
940
940
|
var sLayer = this.getLayer();
|
|
941
941
|
var oSelector = this.getRootControlInstance();
|
|
942
|
+
var sDisplayedVersion = this._oVersionsModel.getProperty("/displayedVersion");
|
|
942
943
|
return this._serializeAndSave()
|
|
943
944
|
.then(function () {
|
|
944
945
|
return VersionsAPI.activate({
|
|
945
946
|
layer: sLayer,
|
|
946
947
|
control: oSelector,
|
|
947
|
-
title: sVersionTitle
|
|
948
|
+
title: sVersionTitle,
|
|
949
|
+
displayedVersion: sDisplayedVersion
|
|
948
950
|
});
|
|
949
951
|
}).then(function () {
|
|
950
952
|
this._showMessageToast("MSG_DRAFT_ACTIVATION_SUCCESS");
|
|
@@ -1714,7 +1716,8 @@ sap.ui.define([
|
|
|
1714
1716
|
// clears FlexState and triggers reloading of the flex data without blocking
|
|
1715
1717
|
VersionsAPI.loadDraftForApplication({
|
|
1716
1718
|
control: oReloadInfo.selector,
|
|
1717
|
-
layer: oReloadInfo.layer
|
|
1719
|
+
layer: oReloadInfo.layer,
|
|
1720
|
+
allContexts: oReloadInfo.allContexts
|
|
1718
1721
|
});
|
|
1719
1722
|
} else {
|
|
1720
1723
|
VersionsAPI.loadVersionForApplication({
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -43,11 +43,12 @@ sap.ui.define([
|
|
|
43
43
|
|
|
44
44
|
xhr.onload = function() {
|
|
45
45
|
if (xhr.status >= 200 && xhr.status < 400) {
|
|
46
|
-
resolve(xhr.response);
|
|
46
|
+
resolve(xhr.response === "true");
|
|
47
47
|
} else {
|
|
48
48
|
var oError = new Error(xhr.statusText);
|
|
49
49
|
oError.status = xhr.status;
|
|
50
|
-
|
|
50
|
+
Log.error("Response status code is: " + oError.status, "Stacktrace: " + oError.stack);
|
|
51
|
+
reject(false);
|
|
51
52
|
}
|
|
52
53
|
};
|
|
53
54
|
});
|
|
@@ -593,9 +594,7 @@ sap.ui.define([
|
|
|
593
594
|
};
|
|
594
595
|
|
|
595
596
|
AppVariantUtils.handleBeforeUnloadEvent = function () {
|
|
596
|
-
|
|
597
|
-
var sMessage = AppVariantUtils.getText("MSG_DO_NOT_CLOSE_BROWSER");
|
|
598
|
-
return sMessage;
|
|
597
|
+
return AppVariantUtils.getText("MSG_DO_NOT_CLOSE_BROWSER");
|
|
599
598
|
};
|
|
600
599
|
|
|
601
600
|
AppVariantUtils.showMessage = function(sMessageKey) {
|
|
@@ -12,8 +12,7 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/fl/registry/Settings",
|
|
13
13
|
"sap/ui/fl/write/_internal/appVariant/AppVariantFactory",
|
|
14
14
|
"sap/ui/fl/write/api/FeaturesAPI",
|
|
15
|
-
"sap/base/util/merge"
|
|
16
|
-
"sap/base/Log"
|
|
15
|
+
"sap/base/util/merge"
|
|
17
16
|
], function(
|
|
18
17
|
FlexUtils,
|
|
19
18
|
AppVariantUtils,
|
|
@@ -22,8 +21,7 @@ sap.ui.define([
|
|
|
22
21
|
Settings,
|
|
23
22
|
AppVariantFactory,
|
|
24
23
|
FeaturesAPI,
|
|
25
|
-
merge
|
|
26
|
-
Log
|
|
24
|
+
merge
|
|
27
25
|
) {
|
|
28
26
|
"use strict";
|
|
29
27
|
|
|
@@ -156,13 +154,7 @@ sap.ui.define([
|
|
|
156
154
|
},
|
|
157
155
|
isManifestSupported: function() {
|
|
158
156
|
var oDescriptor = fnGetDescriptor();
|
|
159
|
-
|
|
160
|
-
return AppVariantUtils.getManifirstSupport(oDescriptor["sap.app"].id).then(function(oResult) {
|
|
161
|
-
return oResult.response;
|
|
162
|
-
}).catch(function(oError) {
|
|
163
|
-
Log.error("Response status code is: " + oError.status, "Stacktrace: " + oError.stack);
|
|
164
|
-
return false;
|
|
165
|
-
});
|
|
157
|
+
return AppVariantUtils.getManifirstSupport(oDescriptor["sap.app"].id);
|
|
166
158
|
},
|
|
167
159
|
/**
|
|
168
160
|
* @param {object} oRootControl - Root control of an app (variant)
|
|
@@ -23,14 +23,14 @@ function() {
|
|
|
23
23
|
* @namespace
|
|
24
24
|
* @alias sap.ui.rta
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.102.
|
|
26
|
+
* @version 1.102.4
|
|
27
27
|
* @since 1.50
|
|
28
28
|
* @private
|
|
29
29
|
* @experimental This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
30
30
|
*/
|
|
31
31
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
32
32
|
name: "sap.ui.rta",
|
|
33
|
-
version: "1.102.
|
|
33
|
+
version: "1.102.4",
|
|
34
34
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
35
35
|
types: [],
|
|
36
36
|
interfaces: [],
|
|
@@ -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.102.
|
|
28
|
+
* @version 1.102.4
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.34
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class The EasyAdd Plugin adds an Icon to an Overlay, which allows to trigger add operations directly
|
|
26
26
|
* @extends sap.ui.rta.plugin.additionalElements.AdditionalElementsPlugin
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.102.
|
|
28
|
+
* @version 1.102.4
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.48
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @class The EasyRemove Plugin adds an Icon to an Overlay, which allows to trigger remove operations directly
|
|
24
24
|
* @extends sap.ui.rta.plugin.Remove
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.102.
|
|
26
|
+
* @version 1.102.4
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @since 1.48
|
|
@@ -30,7 +30,7 @@ function (
|
|
|
30
30
|
* @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
|
|
31
31
|
* @extends sap.ui.rta.plugin.Plugin
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.102.
|
|
33
|
+
* @version 1.102.4
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
36
36
|
* @since 1.34
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* handled by the AdditionalElements Plugin (Reveal, Add Via Delegate, Add Custom)
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.102.
|
|
35
|
+
* @version 1.102.4
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.94
|
|
38
38
|
* @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
* @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
|
|
76
76
|
* @extends sap.ui.rta.plugin.Plugin
|
|
77
77
|
* @author SAP SE
|
|
78
|
-
* @version 1.102.
|
|
78
|
+
* @version 1.102.4
|
|
79
79
|
* @constructor
|
|
80
80
|
* @private
|
|
81
81
|
* @since 1.44
|
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
* Helper object containing methods for the AdditionalElements plugin
|
|
16
16
|
*
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.102.
|
|
18
|
+
* @version 1.102.4
|
|
19
19
|
* @private
|
|
20
20
|
* @since 1.94
|
|
21
21
|
* @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* Helper object to build the RTA commands resulting from the AdditionalElements Plugin
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.102.
|
|
28
|
+
* @version 1.102.4
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.94
|
|
31
31
|
* @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -110,7 +110,7 @@ sap.ui.define([
|
|
|
110
110
|
* @class The AddIFrame allows trigger AddIFrame operations on the overlay.
|
|
111
111
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
112
112
|
* @author SAP SE
|
|
113
|
-
* @version 1.102.
|
|
113
|
+
* @version 1.102.4
|
|
114
114
|
* @constructor
|
|
115
115
|
* @private
|
|
116
116
|
* @since 1.75
|
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
@_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorder: @sapUiTextInverted; //#fff
|
|
7
7
|
@_sap_ui_rta_Toolbar_Adaptation_BtnHoverBG: @sapUiSegmentedButtonHoverBackground; //#ec8b46
|
|
8
8
|
@_sap_ui_rta_Toolbar_Adaptation_BorderColor: @sapUiLightBorder; //#808080
|
|
9
|
-
@_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor: @
|
|
10
|
-
@_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor: @
|
|
9
|
+
@_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor: lighten(@sapUiActive, 20%); //#f5c5a3
|
|
10
|
+
@_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor: lighten(@sapUiContentHelpColor, 66%); //#b7ffb7
|
|
11
11
|
@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor: @sapUiDarkShadowTint; // #000
|
|
12
12
|
@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor: @sapUiLightShadowTint; // #fff
|
|
13
13
|
@_sap_ui_rta_Toolbar_Adaptation_BtnHoverText: @sapUiTextInverted; //#fff
|
|
14
14
|
@_sap_ui_rta_Toolbar_Adaptation_SegBBtnHoverTextColor: @sapUiTextInverted; //#fff
|
|
15
15
|
@_sap_ui_rta_Toolbar_Adaptation_FocusOutlineCol: @sapUiTextInverted; //#fff
|
|
16
|
+
@_sap_ui_rta_Toolbar_Adaptation_VersionHistoryHover: darken(@_sap_ui_rta_Toolbar_Adaptation_BaseColor, 5%);
|
|
16
17
|
|
|
17
18
|
.sapUiRtaMode {
|
|
18
19
|
|
|
@@ -192,6 +193,9 @@
|
|
|
192
193
|
|
|
193
194
|
.sapUiRtaVersionsList {
|
|
194
195
|
border-bottom: 0.05rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
|
|
196
|
+
ul > li:first-child.sapMLIBFocusable:focus {
|
|
197
|
+
outline: none;
|
|
198
|
+
}
|
|
195
199
|
}
|
|
196
200
|
|
|
197
201
|
.sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemTextString {
|
|
@@ -200,17 +204,19 @@
|
|
|
200
204
|
|
|
201
205
|
.sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemInfoText,
|
|
202
206
|
.sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemTimestampText {
|
|
203
|
-
color:
|
|
207
|
+
color: @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor;
|
|
204
208
|
}
|
|
205
209
|
|
|
206
210
|
.sapMFeedListItemTextString {
|
|
207
211
|
color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
|
|
212
|
+
cursor: pointer;
|
|
208
213
|
}
|
|
209
214
|
|
|
210
215
|
.sapMFeedListItemFooter,
|
|
211
216
|
.sapMFeedListItemTimestampText,
|
|
212
217
|
.sapMFeedListItemInfoText {
|
|
213
|
-
color:
|
|
218
|
+
color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
|
|
219
|
+
cursor: pointer;
|
|
214
220
|
}
|
|
215
221
|
|
|
216
222
|
.sapMPopoverArr:after,
|
|
@@ -220,6 +226,15 @@
|
|
|
220
226
|
background-color: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
|
|
221
227
|
border: 0;
|
|
222
228
|
}
|
|
229
|
+
|
|
230
|
+
.sapMLIBFocusable:focus {
|
|
231
|
+
outline: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_TextColor;
|
|
232
|
+
outline-offset: calc(-0.0625rem - 0.0625rem);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.sapMLIBHoverable:hover {
|
|
236
|
+
background: @_sap_ui_rta_Toolbar_Adaptation_VersionHistoryHover;
|
|
237
|
+
}
|
|
223
238
|
}
|
|
224
239
|
}
|
|
225
240
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
|
+
"sap/base/util/UriParameters",
|
|
7
8
|
"sap/base/Log",
|
|
8
9
|
"sap/ui/core/Control",
|
|
9
10
|
"sap/ui/core/UIComponent",
|
|
@@ -14,6 +15,7 @@ sap.ui.define([
|
|
|
14
15
|
"sap/ui/rta/util/showMessageBox",
|
|
15
16
|
"sap/ui/rta/RuntimeAuthoring"
|
|
16
17
|
], function(
|
|
18
|
+
UriParameters,
|
|
17
19
|
Log,
|
|
18
20
|
Control,
|
|
19
21
|
UIComponent,
|
|
@@ -41,13 +43,17 @@ sap.ui.define([
|
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
function checkFlexEnabled(oAppComponent) {
|
|
44
|
-
|
|
45
|
-
var
|
|
46
|
+
// fiori tools is always a developer scenario where the flexEnabled flag should not be evaluated
|
|
47
|
+
var sFioriToolsMode = UriParameters.fromQuery(window.location.search).get("fiori-tools-rta-mode");
|
|
48
|
+
if (!sFioriToolsMode || sFioriToolsMode === "false") {
|
|
49
|
+
var oManifest = oAppComponent.getManifest() || {};
|
|
50
|
+
var vFlexEnabled = oManifest["sap.ui5"] && oManifest["sap.ui5"].flexEnabled;
|
|
46
51
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
if (vFlexEnabled === false) {
|
|
53
|
+
var oError = Error("This app is not enabled for key user adaptation");
|
|
54
|
+
oError.reason = "flexEnabled";
|
|
55
|
+
throw oError;
|
|
56
|
+
}
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
59
|
|
|
@@ -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.102.
|
|
51
|
+
* @version 1.102.4
|
|
52
52
|
* @private
|
|
53
53
|
*/
|
|
54
54
|
var ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
|
|
@@ -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.102.
|
|
28
|
+
* @version 1.102.4
|
|
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.102.
|
|
96
|
+
* @version 1.102.4
|
|
97
97
|
* @private
|
|
98
98
|
*/
|
|
99
99
|
var ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
|