@openui5/sap.ui.documentation 1.111.6 → 1.112.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 +7 -7
- package/src/sap/ui/documentation/.library +1 -1
- package/src/sap/ui/documentation/library.js +2 -2
- package/src/sap/ui/documentation/messagebundle_ko.properties +1 -1
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +2 -2
- package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +4 -3
- package/src/sap/ui/documentation/sdk/controller/util/Highlighter.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDownRenderer.js +3 -3
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/Component.js +2 -2
- package/src/sap/ui/documentation/sdk/model/formatter.js +1 -1
- package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.documentation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.112.1",
|
|
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.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.
|
|
20
|
-
"@openui5/themelib_sap_belize": "1.
|
|
21
|
-
"@openui5/themelib_sap_fiori_3": "1.
|
|
22
|
-
"@openui5/themelib_sap_horizon": "1.
|
|
17
|
+
"@openui5/sap.m": "1.112.1",
|
|
18
|
+
"@openui5/sap.ui.core": "1.112.1",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.112.1",
|
|
20
|
+
"@openui5/themelib_sap_belize": "1.112.1",
|
|
21
|
+
"@openui5/themelib_sap_fiori_3": "1.112.1",
|
|
22
|
+
"@openui5/themelib_sap_horizon": "1.112.1"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.112.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library for the Demokit 2.0.</documentation>
|
|
12
12
|
|
|
@@ -25,13 +25,13 @@ sap.ui.define([
|
|
|
25
25
|
* @namespace
|
|
26
26
|
* @alias sap.ui.documentation
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.112.1
|
|
29
29
|
* @since 1.48
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
32
|
var thisLibrary = sap.ui.getCore().initLibrary({
|
|
33
33
|
name : 'sap.ui.documentation',
|
|
34
|
-
version: '1.
|
|
34
|
+
version: '1.112.1',
|
|
35
35
|
dependencies : ['sap.ui.core','sap.m'],
|
|
36
36
|
types: [],
|
|
37
37
|
interfaces: [],
|
|
@@ -134,7 +134,7 @@ WELCOME_VIDEO_BLOCK_TEXT_2=\uC774 110\uCD08\uC758 \uC601\uC0C1\uC744 \uD1B5\uD57
|
|
|
134
134
|
|
|
135
135
|
TOPIC_DETAIL_INIT_DOCUMENTATION=\uBB38\uC11C
|
|
136
136
|
TOPIC_DETAIL_INIT_DOWNLOAD_BTN=\uB2E4\uC6B4\uB85C\uB4DC
|
|
137
|
-
TOPIC_DETAIL_INIT_BLOCK_1_TITLE=\
|
|
137
|
+
TOPIC_DETAIL_INIT_BLOCK_1_TITLE=\uC0C8\uB85C\uC6B4 \uAE30\uB2A5
|
|
138
138
|
TOPIC_DETAIL_INIT_BLOCK_1_TEXT=\uCD5C\uC2E0 UI5 \uBC84\uC804\uC758 \uC0C8\uB85C\uC6B4 \uAE30\uB2A5\uC5D0 \uB300\uD574 \uC54C\uC544\uBD05\uB2C8\uB2E4.
|
|
139
139
|
TOPIC_DETAIL_INIT_BLOCK_2_TITLE=\uBA3C\uC800 \uC77D\uAE30
|
|
140
140
|
TOPIC_DETAIL_INIT_BLOCK_2_TEXT=UI5\uB97C \uC0DD\uC0B0\uC801\uC73C\uB85C \uC0AC\uC6A9\uD558\uAE30 \uC804\uC5D0 \uC911\uC694\uD55C \uC815\uBCF4\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4.
|
|
@@ -1264,7 +1264,7 @@ sap.ui.define([
|
|
|
1264
1264
|
},
|
|
1265
1265
|
|
|
1266
1266
|
shortSurveyRedirect: function () {
|
|
1267
|
-
var sQueryParams = "?product=SAPUI5&product_filter=UI5&cluster=BTP&page=" +
|
|
1267
|
+
var sQueryParams = "?product=SAPUI5%2FOpenUI5&product_filter=UI5&cluster=BTP&page=" + encodeURIComponent(document.location.href),
|
|
1268
1268
|
sProdURL = "https://sapinsights.eu.qualtrics.com/jfe/form/SV_2gcfdw3EYYOIz5A" + sQueryParams,
|
|
1269
1269
|
sDevURL = "https://sapinsights.eu.qualtrics.com/jfe/form/SV_d3UPNymSgUHAb9Y" + sQueryParams,
|
|
1270
1270
|
bProd = !this.getModel("versionData").getProperty("/isDevEnv");
|
|
@@ -1276,7 +1276,7 @@ sap.ui.define([
|
|
|
1276
1276
|
|
|
1277
1277
|
longSurveyRedirect: function () {
|
|
1278
1278
|
var sBaseURL = "https://sapinsights.eu.qualtrics.com/jfe/form/SV_7X5P63Zg5zXC5zE",
|
|
1279
|
-
sBaseQueryParams = "?product=SAPUI5&product_filter=UI5&cluster=BTP&page=" +
|
|
1279
|
+
sBaseQueryParams = "?product=SAPUI5%2FOpenUI5&product_filter=UI5&cluster=BTP&page=" + encodeURIComponent(document.location.href),
|
|
1280
1280
|
sProdURL = sBaseURL + sBaseQueryParams,
|
|
1281
1281
|
sDevURL = sBaseURL + sBaseQueryParams + "&Q_CHL=preview&Q_SurveyVersionID=current",
|
|
1282
1282
|
bProd = !this.getModel("versionData").getProperty("/isDevEnv");
|
|
@@ -346,7 +346,7 @@ sap.ui.define([
|
|
|
346
346
|
},
|
|
347
347
|
|
|
348
348
|
_saveLocalSettings: function(sTheme, sDensityMode, bRTL) {
|
|
349
|
-
|
|
349
|
+
sDensityMode = this._presetDensity(sDensityMode);
|
|
350
350
|
this.oModel.setData({
|
|
351
351
|
theme: sTheme,
|
|
352
352
|
rtl: bRTL,
|
|
@@ -367,8 +367,9 @@ sap.ui.define([
|
|
|
367
367
|
* @private
|
|
368
368
|
*/
|
|
369
369
|
_applyAppConfiguration: function(sThemeActive, sDensityMode, bRTL){
|
|
370
|
-
var oIframe = this._oHtmlControl.getDomRef()
|
|
371
|
-
|
|
370
|
+
var oIframe = this._oHtmlControl.getDomRef();
|
|
371
|
+
|
|
372
|
+
sDensityMode = this._presetDensity(sDensityMode);
|
|
372
373
|
oIframe.contentWindow.postMessage({
|
|
373
374
|
type: "SETTINGS",
|
|
374
375
|
reason: "set",
|
|
@@ -230,7 +230,7 @@ function() {
|
|
|
230
230
|
Highlighter.prototype._createHighlightedNode = function (oTokensToHighlight, sText) {
|
|
231
231
|
var oRootNode = document.createElement("span"),
|
|
232
232
|
aAllTokens = [],
|
|
233
|
-
fnSort = function(a, b) {return
|
|
233
|
+
fnSort = function(a, b) {return a > b;},
|
|
234
234
|
aIndices = Object.keys(oTokensToHighlight).sort(fnSort),
|
|
235
235
|
iIndex,
|
|
236
236
|
iStartIndex = 0;
|
|
@@ -51,7 +51,7 @@ sap.ui.define([],
|
|
|
51
51
|
|
|
52
52
|
aOptions.forEach(function (sOption, index) {
|
|
53
53
|
oRm.openStart("li");
|
|
54
|
-
oRm.openEnd(
|
|
54
|
+
oRm.openEnd();
|
|
55
55
|
oRm.voidStart("input");
|
|
56
56
|
if (aChecked[index].value) {
|
|
57
57
|
oRm.attr("checked", "true");
|
|
@@ -62,7 +62,7 @@ sap.ui.define([],
|
|
|
62
62
|
oRm.voidEnd();
|
|
63
63
|
oRm.openStart("label");
|
|
64
64
|
oRm.attr("for", "dropDownFilterOption" + index);
|
|
65
|
-
oRm.openEnd(
|
|
65
|
+
oRm.openEnd();
|
|
66
66
|
oRm.text(sOption);
|
|
67
67
|
oRm.close("label");
|
|
68
68
|
oRm.close("li");
|
|
@@ -73,7 +73,7 @@ sap.ui.define([],
|
|
|
73
73
|
DataTableFilterDropDownRenderer.renderDefaultOptions = function (oRm, oControl) {
|
|
74
74
|
oControl.getDefaultOptions().forEach(function (oOption) {
|
|
75
75
|
oRm.openStart("li");
|
|
76
|
-
oRm.openEnd(
|
|
76
|
+
oRm.openEnd();
|
|
77
77
|
oRm.openStart("a");
|
|
78
78
|
oRm.attr("tabindex", 0);
|
|
79
79
|
oRm.class(oOption.key);
|
|
@@ -10,10 +10,10 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/VersionInfo",
|
|
11
11
|
"sap/base/util/merge",
|
|
12
12
|
"sap/base/util/UriParameters"
|
|
13
|
-
], function(
|
|
13
|
+
], function(CoreComponent, Controller, VersionInfo, merge, UriParameters) {
|
|
14
14
|
"use strict";
|
|
15
15
|
|
|
16
|
-
var Component =
|
|
16
|
+
var Component = CoreComponent.extend("sap.ui.documentation.sdk.cookieSettingsDialog.Component", {
|
|
17
17
|
|
|
18
18
|
"COOKIE_NAMES": {
|
|
19
19
|
"APPROVAL_REQUESTED": "dk_approval_requested",
|
|
@@ -280,6 +280,9 @@ sap.ui.define([
|
|
|
280
280
|
sPath = sPath.replace("#", "%23");
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
+
// remove non-standard URL encoding
|
|
284
|
+
sPath = sPath.replace(/[\[\]']+/g,''); // removing unwanted brackets from URL BCP: 2380008679
|
|
285
|
+
|
|
283
286
|
this.parse(sPath);
|
|
284
287
|
|
|
285
288
|
// Add new URL history and update URL
|