@openui5/sap.ui.documentation 1.127.2 → 1.127.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.documentation",
3
- "version": "1.127.2",
3
+ "version": "1.127.3",
4
4
  "description": "OpenUI5 UI Library sap.ui.documentation",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,11 +14,11 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.127.2",
18
- "@openui5/sap.ui.core": "1.127.2",
19
- "@openui5/sap.ui.layout": "1.127.2",
20
- "@openui5/themelib_sap_belize": "1.127.2",
21
- "@openui5/themelib_sap_fiori_3": "1.127.2",
22
- "@openui5/themelib_sap_horizon": "1.127.2"
17
+ "@openui5/sap.m": "1.127.3",
18
+ "@openui5/sap.ui.core": "1.127.3",
19
+ "@openui5/sap.ui.layout": "1.127.3",
20
+ "@openui5/themelib_sap_belize": "1.127.3",
21
+ "@openui5/themelib_sap_fiori_3": "1.127.3",
22
+ "@openui5/themelib_sap_horizon": "1.127.3"
23
23
  }
24
24
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.127.2</version>
9
+ <version>1.127.3</version>
10
10
 
11
11
  <documentation>SAPUI5 library for the Demokit 2.0.</documentation>
12
12
 
@@ -25,14 +25,14 @@ sap.ui.define([
25
25
  * @namespace
26
26
  * @alias sap.ui.documentation
27
27
  * @author SAP SE
28
- * @version 1.127.2
28
+ * @version 1.127.3
29
29
  * @since 1.48
30
30
  * @public
31
31
  */
32
32
  var thisLibrary = Lib.init({
33
33
  apiVersion: 2,
34
34
  name : 'sap.ui.documentation',
35
- version: '1.127.2',
35
+ version: '1.127.3',
36
36
  dependencies : ['sap.ui.core','sap.m'],
37
37
  types: [],
38
38
  interfaces: [],
@@ -4,7 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval';"/>
7
- <script type="text/javascript" src="index.js"></script>
7
+ <base href="../../../../../">
8
+ <script type="text/javascript" src="resources/sap/ui/documentation/sdk/index.js"></script>
8
9
  <title>SAPUI5 Navigation</title>
9
10
  </head>
10
11
  <body class="sapUiBody sapUiSizeCompact" id="content">
@@ -11,7 +11,6 @@
11
11
  },
12
12
 
13
13
  sSampleId = getUrlParam('sap-ui-xx-sample-id'),
14
- sOrigin = getUrlParam('sap-ui-xx-sample-origin'),
15
14
  sLib = getUrlParam('sap-ui-xx-sample-lib'),
16
15
  sPresetTheme = getUrlParam('sap-ui-theme') || 'sap_horizon',
17
16
  sPresetRTL = getUrlParam('sap-ui-rtl') || false,
@@ -225,24 +224,11 @@
225
224
  });
226
225
  };
227
226
 
228
- if (sOrigin === "" || sOrigin === ".") {
229
- var sHref = document.location.href;
230
- sOrigin = sHref.substring(0, sHref.lastIndexOf('resources/sap/ui/documentation/sdk/') - 1);
231
- } else {
232
- sOrigin = new URL(sOrigin, document.baseURI).pathname;
233
- }
234
-
235
- var sOriginEncoded = encodeURI(sOrigin);
236
-
237
- oPath["sap/ui/demo/mock"] = sOriginEncoded + "/test-resources/sap/ui/documentation/sdk";
227
+ oPath["sap/ui/demo/mock"] = "test-resources/sap/ui/documentation/sdk";
238
228
  oPath["test-resources/sap/ui/documentation/sdk"] = ".";
239
229
 
240
- var oBaseTag = document.createElement("base");
241
- oBaseTag.setAttribute("href", sOriginEncoded + "/");
242
- document.head.appendChild(oBaseTag);
243
-
244
230
  var oScriptTag = document.createElement("script");
245
- oScriptTag.setAttribute("src", sOriginEncoded + "/resources/sap-ui-core.js");
231
+ oScriptTag.setAttribute("src", "resources/sap-ui-core.js");
246
232
  oScriptTag.setAttribute("id", "sap-ui-bootstrap");
247
233
  oScriptTag.dataset.sapUiLibs = "sap.m";
248
234
  oScriptTag.dataset.sapUiAsync = true;
@@ -998,10 +998,10 @@ var hljs = (function () {
998
998
  * @param {string} message
999
999
  */
1000
1000
  const deprecated = (version, message) => {
1001
- if (seenDeprecations[`1.127.2/${message}`]) return;
1001
+ if (seenDeprecations[`1.127.3/${message}`]) return;
1002
1002
 
1003
- console.log(`Deprecated as of 1.127.2. ${message}`);
1004
- seenDeprecations[`1.127.2/${message}`] = true;
1003
+ console.log(`Deprecated as of 1.127.3. ${message}`);
1004
+ seenDeprecations[`1.127.3/${message}`] = true;
1005
1005
  };
1006
1006
 
1007
1007
  /* eslint-disable no-throw-literal */