@sapui5/sap.zen.dsh 1.108.18 → 1.108.20
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
CHANGED
package/src/sap/zen/dsh/.library
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<vendor>SAP SE</vendor>
|
|
8
8
|
<copyright>SAPUI5
|
|
9
9
|
(c) Copyright 2009-2021 SAP SE. All rights reserved</copyright>
|
|
10
|
-
<version>1.108.
|
|
10
|
+
<version>1.108.20</version>
|
|
11
11
|
<documentation>Design Studio Runtime Library. Intended only to be used within S/4 HANA Fiori applications.</documentation>
|
|
12
12
|
<appData>
|
|
13
13
|
<jsdoc xmlns="http://www.sap.com/ui5/buildext/jsdoc" >
|
|
@@ -103,9 +103,11 @@ sap.ui.define(
|
|
|
103
103
|
sap.zen.dsh.doReplaceDots = true;
|
|
104
104
|
AnalyticGrid.prototype.init = function() {
|
|
105
105
|
this.parameters = {};
|
|
106
|
-
|
|
106
|
+
|
|
107
|
+
this.dshBaseUrl = URI(sap.ui.resource("sap.zen.dsh", "rt/")).absoluteTo(document.baseURI).toString();
|
|
108
|
+
this.repositoryUrl = URI(sap.ui.resource("sap.zen.dsh", "applications/")).absoluteTo(document.baseURI).toString();
|
|
109
|
+
|
|
107
110
|
sap.zen.dsh.sapbi_page.staticMimeUrlPrefix = this.dshBaseUrl;
|
|
108
|
-
this.repositoryUrl = URI(sap.ui.resource("sap.zen.dsh","applications/")).absoluteTo(window.location.pathname).toString();
|
|
109
111
|
};
|
|
110
112
|
AnalyticGrid.prototype._initializeInternal = function() {
|
|
111
113
|
if(this.initialized) {
|
package/src/sap/zen/dsh/Dsh.js
CHANGED
|
@@ -196,8 +196,9 @@ sap.ui.define( "sap/zen/dsh/Dsh",
|
|
|
196
196
|
this.initial = true;
|
|
197
197
|
this.rendered = false;
|
|
198
198
|
this.parameters = {};
|
|
199
|
-
|
|
199
|
+
|
|
200
200
|
this.dshBaseAppUrlBW = "/sap/bw/Mime";
|
|
201
|
+
this.dshBaseUrl = URI(sap.ui.resource("sap.zen.dsh", "widgets/")).absoluteTo(document.baseURI).toString();
|
|
201
202
|
};
|
|
202
203
|
|
|
203
204
|
/**
|
|
@@ -213,7 +214,7 @@ sap.ui.define( "sap/zen/dsh/Dsh",
|
|
|
213
214
|
Dsh.prototype.doInit = function() {
|
|
214
215
|
//0ANALYSIS will always come from our library for now. This will be cleaned up later.
|
|
215
216
|
if (this.getDshAppName() === "0ANALYSIS" || this.getDshAppName() === "0ANALYTIC_GRID") {
|
|
216
|
-
this.setRepoPath(URI(sap.ui.resource("sap.zen.dsh","applications/")).absoluteTo(
|
|
217
|
+
this.setRepoPath(URI(sap.ui.resource("sap.zen.dsh", "applications/")).absoluteTo(document.baseURI).toString());
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
if (this.getRepoPath() !== "") {
|
|
@@ -8096,7 +8096,7 @@ sap.zen.TemplateLoader.prototype.getContentAsString = function()
|
|
|
8096
8096
|
loRequest.setAcceptContentType(oFF.ContentType.APPLICATION_XML);
|
|
8097
8097
|
loRequest.setTextContentEncoding("UTF-8");
|
|
8098
8098
|
var loResponse = loHttpClient.processHttpRequest(oFF.SyncType.BLOCKING, null, null);
|
|
8099
|
-
if (loResponse.isValid() && loResponse.getData() !== null)
|
|
8099
|
+
if (loResponse.isValid() && loResponse.getData() !== null && loResponse.getData().getStatusCode() < 400)
|
|
8100
8100
|
{
|
|
8101
8101
|
return loResponse.getData().getString();
|
|
8102
8102
|
}
|
|
@@ -31,7 +31,7 @@ sap.ui.define(
|
|
|
31
31
|
* @alias sap.zen.dsh
|
|
32
32
|
* @public
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.108.
|
|
34
|
+
* @version 1.108.20
|
|
35
35
|
*/
|
|
36
36
|
var thisLib = sap.ui.getCore().initLibrary(
|
|
37
37
|
{
|
|
@@ -56,7 +56,7 @@ sap.ui.define(
|
|
|
56
56
|
],
|
|
57
57
|
elements: [],
|
|
58
58
|
noLibraryCSS: true,
|
|
59
|
-
version: "1.108.
|
|
59
|
+
version: "1.108.20"
|
|
60
60
|
}
|
|
61
61
|
);
|
|
62
62
|
|