@sapui5/sap.ushell_abap 1.90.5 → 1.90.6
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 +1 -1
- package/src/main/js/sap/ui2/srvc/ODataWrapper.js +1297 -1274
- package/src/main/js/sap/ushell_abap/.library +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/EndUserFeedbackAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/hana/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.catalog.js +6 -8
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.pageset.js +10 -9
- package/src/main/js/sap/ushell_abap/library.js +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd">
|
|
3
3
|
<name>sap.ushell_abap</name>
|
|
4
4
|
<vendor>SAP SE</vendor>
|
|
5
|
-
<version>1.90.
|
|
5
|
+
<version>1.90.6</version>
|
|
6
6
|
<copyright>Copyright (c) 2009-2021 SAP SE. All rights reserved.</copyright>
|
|
7
7
|
<documentation>SAP library: sap.ushell_abap</documentation>
|
|
8
8
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Copyright (c) 2009-2021 SAP SE. All rights reserved.
|
|
2
|
+
|
|
2
3
|
sap.ui.define([
|
|
3
4
|
"./abap.bootstrap.utils",
|
|
4
5
|
"sap/ui2/srvc/allcatalogs"
|
|
5
|
-
|
|
6
|
-
],
|
|
7
|
-
function (oAbapUtils) {
|
|
6
|
+
], function (oAbapUtils) {
|
|
8
7
|
"use strict";
|
|
8
|
+
|
|
9
9
|
/* global OData */
|
|
10
10
|
|
|
11
11
|
var oCatalogHandler = {},
|
|
@@ -74,7 +74,6 @@ function (oAbapUtils) {
|
|
|
74
74
|
* @since 1.70.0
|
|
75
75
|
*/
|
|
76
76
|
function _getAllCatalogsUrl (oStartupResult, sServicePropertyName, sPageId) {
|
|
77
|
-
|
|
78
77
|
var S_DEFAULT_SORTING_CONDITION = "title",
|
|
79
78
|
S_DEFAULT_FILTERING_CONDITION = "type eq 'CATALOG_PAGE' or type eq 'H' or type eq 'SM_CATALOG' or type eq 'REMOTE'",
|
|
80
79
|
S_DEFAULT_PAGE_ID = "/UI2/FLPNoActionChip",
|
|
@@ -84,12 +83,11 @@ function (oAbapUtils) {
|
|
|
84
83
|
sUI2CacheDisable = oAbapUtils.getUrlParameterValue("sap-ui2-cache-disable");
|
|
85
84
|
|
|
86
85
|
sServiceUrl = oServiceData.baseUrl + "/Pages('" + encodeURIComponent(sPageId || S_DEFAULT_PAGE_ID) +
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
"')/allCatalogs?$expand=Chips/ChipBags/ChipProperties&" +
|
|
87
|
+
"$orderby=" + S_DEFAULT_SORTING_CONDITION;
|
|
89
88
|
|
|
90
89
|
sServiceUrl = sServiceUrl + "&$filter=" + encodeURIComponent(S_DEFAULT_FILTERING_CONDITION);
|
|
91
90
|
|
|
92
|
-
|
|
93
91
|
if (sUI2CacheDisable) {
|
|
94
92
|
sServiceUrl += (sServiceUrl.indexOf("?") < 0 ? "?" : "&") + "sap-ui2-cache-disable=" + oServiceData["sap-ui2-cache-disable"];
|
|
95
93
|
}
|
|
@@ -156,4 +154,4 @@ function (oAbapUtils) {
|
|
|
156
154
|
}; //Only for testing
|
|
157
155
|
|
|
158
156
|
return oCatalogHandler;
|
|
159
|
-
});
|
|
157
|
+
});
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
// Copyright (c) 2009-2021 SAP SE. All rights reserved.
|
|
2
|
+
|
|
2
3
|
sap.ui.define([
|
|
3
4
|
"./abap.bootstrap.utils",
|
|
4
5
|
"sap/ui/thirdparty/jquery",
|
|
5
|
-
"sap/base/util/UriParameters"
|
|
6
|
-
|
|
6
|
+
"sap/base/util/UriParameters",
|
|
7
|
+
"sap/base/Log"
|
|
8
|
+
], function (oAbapUtils, jQuery, URI, Log) {
|
|
7
9
|
"use strict";
|
|
10
|
+
|
|
8
11
|
/*global OData */
|
|
9
12
|
|
|
10
13
|
var oPagesetHandler = {},
|
|
@@ -52,10 +55,9 @@ sap.ui.define([
|
|
|
52
55
|
* Determines the URL for the PageSets OData service from the startup service result. If the URL is not set
|
|
53
56
|
* a hard-coded fallback URL is returned and set in the startupResult.
|
|
54
57
|
*/
|
|
55
|
-
function getAndAdjustServiceURL (oStartupCallResult, sServicePropertyName, sFallbackBaseUrl,
|
|
56
|
-
sFallbackRelativeUrl, sFallbackExpand) {
|
|
58
|
+
function getAndAdjustServiceURL (oStartupCallResult, sServicePropertyName, sFallbackBaseUrl, sFallbackRelativeUrl, sFallbackExpand) {
|
|
57
59
|
var sServiceUrl,
|
|
58
|
-
oServiceData, // shortcut for oStartupCallResult.services[
|
|
60
|
+
oServiceData, // shortcut for oStartupCallResult.services[sServicePropertyName]
|
|
59
61
|
bFallbackApplied = false;
|
|
60
62
|
|
|
61
63
|
if (oStartupCallResult.services) {
|
|
@@ -80,7 +82,7 @@ sap.ui.define([
|
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
if (bFallbackApplied) {
|
|
83
|
-
|
|
85
|
+
Log.warning(
|
|
84
86
|
"URL for " + sServicePropertyName + " service not found in startup service result; fallback to default; cache invalidation might fail",
|
|
85
87
|
null,
|
|
86
88
|
"sap.ushell_abap.bootstrap"
|
|
@@ -166,7 +168,6 @@ sap.ui.define([
|
|
|
166
168
|
function requestOData (sUrl, oStartupResult, fnCallback) {
|
|
167
169
|
var oXHR;
|
|
168
170
|
oXHR = oAbapUtils.createAndOpenXHR(sUrl, oStartupResult);
|
|
169
|
-
oXHR.setRequestHeader("X-CSRF-Token", "fetch");
|
|
170
171
|
// set sap-statistics header, see
|
|
171
172
|
// http://help.sap.com/saphelp_nw74/helpdata/de/40/93b81292194d6a926e105c10d5048d/content.htm
|
|
172
173
|
if (bSapStatistics) {
|
|
@@ -176,7 +177,7 @@ sap.ui.define([
|
|
|
176
177
|
if (this.readyState !== /*DONE*/4) {
|
|
177
178
|
return; // not yet DONE
|
|
178
179
|
}
|
|
179
|
-
fnCallback(oXHR.status,
|
|
180
|
+
fnCallback(oXHR.status, undefined /* csrf token */, oXHR.responseText);
|
|
180
181
|
};
|
|
181
182
|
oXHR.send();
|
|
182
183
|
}
|
|
@@ -191,4 +192,4 @@ sap.ui.define([
|
|
|
191
192
|
return oPagesetHandler;
|
|
192
193
|
|
|
193
194
|
|
|
194
|
-
});
|
|
195
|
+
});
|
|
@@ -16,14 +16,14 @@ sap.ui.define([
|
|
|
16
16
|
* @namespace
|
|
17
17
|
* @name sap.ushell_abap
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.90.
|
|
19
|
+
* @version 1.90.6
|
|
20
20
|
* @private
|
|
21
21
|
* @ui5-restricted
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
24
|
sap.ui.getCore().initLibrary({
|
|
25
25
|
name:"sap.ushell_abap",
|
|
26
|
-
version:"1.90.
|
|
26
|
+
version:"1.90.6",
|
|
27
27
|
dependencies:["sap.ui.core","sap.m"],
|
|
28
28
|
noLibraryCSS: true,
|
|
29
29
|
extensions: {
|