@openui5/sap.ui.documentation 1.84.16 → 1.84.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/LICENSE.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.documentation",
|
|
3
|
-
"version": "1.84.
|
|
3
|
+
"version": "1.84.20",
|
|
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,10 +14,10 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.84.
|
|
18
|
-
"@openui5/sap.ui.core": "1.84.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.84.
|
|
20
|
-
"@openui5/themelib_sap_belize": "1.84.
|
|
21
|
-
"@openui5/themelib_sap_fiori_3": "1.84.
|
|
17
|
+
"@openui5/sap.m": "1.84.20",
|
|
18
|
+
"@openui5/sap.ui.core": "1.84.20",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.84.20",
|
|
20
|
+
"@openui5/themelib_sap_belize": "1.84.20",
|
|
21
|
+
"@openui5/themelib_sap_fiori_3": "1.84.20"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.84.
|
|
9
|
+
<version>1.84.20</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library for the Demokit 2.0.</documentation>
|
|
12
12
|
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
// delegate further initialization of this library to the Core
|
|
22
22
|
sap.ui.getCore().initLibrary({
|
|
23
23
|
name : 'sap.ui.documentation',
|
|
24
|
-
version: '1.84.
|
|
24
|
+
version: '1.84.20',
|
|
25
25
|
dependencies : ['sap.ui.core','sap.m'],
|
|
26
26
|
types: [],
|
|
27
27
|
interfaces: [],
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @namespace
|
|
48
48
|
* @name sap.ui.documentation
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.84.
|
|
50
|
+
* @version 1.84.20
|
|
51
51
|
* @public
|
|
52
52
|
*/
|
|
53
53
|
var thisLibrary = sap.ui.documentation;
|
|
@@ -75,6 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
sVersionOverviewJsonPath = "/versionoverview.json", /* Load versionoverview.json always from root URL */
|
|
76
76
|
ABOUT_TEXT = "about",
|
|
77
77
|
FEEDBACK_TEXT = "feedback",
|
|
78
|
+
FEEDBACK_URL = "https://demokit-feedback-proxy.cfapps.eu12.hana.ondemand.com/issue",
|
|
78
79
|
CHANGE_VERSION_TEXT = "change_version",
|
|
79
80
|
CHANGE_SETTINGS_TEXT = "settings",
|
|
80
81
|
CHANGE_COOKIE_PREFERENCES_TEXT = "cookie_preferences",
|
|
@@ -141,8 +142,6 @@ sap.ui.define([
|
|
|
141
142
|
}
|
|
142
143
|
}.bind(this));
|
|
143
144
|
|
|
144
|
-
this.FEEDBACK_SERVICE_URL = "https://feedback-sapuisofiaprod.hana.ondemand.com:443/api/v2/apps/5bb7d7ff-bab9-477a-a4c7-309fa84dc652/posts";
|
|
145
|
-
|
|
146
145
|
// Cache view reference
|
|
147
146
|
this._oSupportedLangModel = new JSONModel({
|
|
148
147
|
"langs": this._prepareSupportedLangModelData()
|
|
@@ -795,37 +794,27 @@ sap.ui.define([
|
|
|
795
794
|
* Event handler for the send feedback button
|
|
796
795
|
*/
|
|
797
796
|
onFeedbackDialogSend: function() {
|
|
798
|
-
var
|
|
797
|
+
var oVersionInfo = Version(sap.ui.version),
|
|
798
|
+
data = {
|
|
799
|
+
"text": this._oFeedbackDialog.textInput.getValue(),
|
|
800
|
+
"rating": this._oFeedbackDialog.ratingStatus.value,
|
|
801
|
+
"major": oVersionInfo.getMajor(),
|
|
802
|
+
"minor": oVersionInfo.getMinor(),
|
|
803
|
+
"patch": oVersionInfo.getPatch(),
|
|
804
|
+
"distribution": this._getUI5Distribution(),
|
|
805
|
+
"snapshot": oVersionInfo.getSuffix().indexOf("SNAPSHOT") > -1,
|
|
806
|
+
"url": this._getCurrentURL(),
|
|
807
|
+
"page": this._getCurrentPageRelativeURL(),
|
|
808
|
+
"pageContext": this._oFeedbackDialog.contextCheckBox.getSelected()
|
|
809
|
+
},
|
|
799
810
|
oResourceBundle = this.getModel("i18n").getResourceBundle();
|
|
800
811
|
|
|
801
|
-
if (this._oFeedbackDialog.contextCheckBox.getSelected()) {
|
|
802
|
-
data = {
|
|
803
|
-
"texts": {
|
|
804
|
-
"t1": this._oFeedbackDialog.textInput.getValue()
|
|
805
|
-
},
|
|
806
|
-
"ratings":{
|
|
807
|
-
"r1": {"value" : this._oFeedbackDialog.ratingStatus.value}
|
|
808
|
-
},
|
|
809
|
-
"context": {"page": this._getCurrentPageRelativeURL(), "attr1": this._getUI5Distribution() + ":" + sap.ui.version}
|
|
810
|
-
};
|
|
811
|
-
} else {
|
|
812
|
-
data = {
|
|
813
|
-
"texts": {
|
|
814
|
-
"t1": this._oFeedbackDialog.textInput.getValue()
|
|
815
|
-
},
|
|
816
|
-
"ratings":{
|
|
817
|
-
"r1": {"value" : this._oFeedbackDialog.ratingStatus.value}
|
|
818
|
-
},
|
|
819
|
-
"context": {"attr1": this._getUI5Distribution() + ":" + sap.ui.version}
|
|
820
|
-
};
|
|
821
|
-
}
|
|
822
|
-
|
|
823
812
|
// send feedback
|
|
824
813
|
this._oFeedbackDialog.setBusyIndicatorDelay(0);
|
|
825
814
|
this._oFeedbackDialog.setBusy(true);
|
|
826
815
|
|
|
827
816
|
jQuery.ajax({
|
|
828
|
-
url:
|
|
817
|
+
url: FEEDBACK_URL,
|
|
829
818
|
type: "POST",
|
|
830
819
|
contentType: "application/json",
|
|
831
820
|
data: JSON.stringify(data)
|
|
@@ -1121,8 +1110,13 @@ sap.ui.define([
|
|
|
1121
1110
|
},
|
|
1122
1111
|
|
|
1123
1112
|
_getCurrentPageRelativeURL: function () {
|
|
1124
|
-
var
|
|
1125
|
-
return
|
|
1113
|
+
var currentLocation = window.location;
|
|
1114
|
+
return currentLocation.pathname + currentLocation.hash + currentLocation.search;
|
|
1115
|
+
},
|
|
1116
|
+
|
|
1117
|
+
_getCurrentURL: function () {
|
|
1118
|
+
var currentLocation = window.location;
|
|
1119
|
+
return currentLocation.href;
|
|
1126
1120
|
},
|
|
1127
1121
|
|
|
1128
1122
|
_setHeaderSelectedKey: function(sKey) {
|