@openui5/sap.ui.documentation 1.113.0 → 1.114.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/THIRDPARTY.txt +1 -1
- 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.properties +6 -0
- package/src/sap/ui/documentation/messagebundle_ar.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_bg.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_ca.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_cs.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_cy.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_da.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_de.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_el.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_es.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_et.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_fi.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_fr.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_hi.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_hr.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_hu.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_id.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_it.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_iw.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_ja.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_kk.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_ko.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_lt.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_lv.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_ms.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_nl.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_no.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_pl.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_pt.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_ro.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_ru.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_sh.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_sk.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_sl.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_sv.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_th.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_tr.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_uk.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_vi.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/documentation/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/documentation/sdk/Component.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +3 -6
- package/src/sap/ui/documentation/sdk/controller/BaseController.js +25 -1
- package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +27 -2
- package/src/sap/ui/documentation/sdk/controller/Tools.controller.js +2 -2
- package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +12 -14
- package/src/sap/ui/documentation/sdk/controller/util/Highlighter.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/util/ToolsInfo.js +6 -0
- package/src/sap/ui/documentation/sdk/css/style.css +22 -11
- package/src/sap/ui/documentation/sdk/images/tools/UI5TestRecorder.png +0 -0
- package/src/sap/ui/documentation/sdk/tmpl/package.json.tmpl +1 -1
- package/src/sap/ui/documentation/sdk/tmpl/ui5.yaml.tmpl +1 -1
- package/src/sap/ui/documentation/sdk/view/ApiDetailInitial.view.xml +1 -4
- package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +23 -14
- package/src/sap/ui/documentation/sdk/view/Controls.view.xml +2 -5
- package/src/sap/ui/documentation/sdk/view/ControlsMaster.view.xml +39 -30
- package/src/sap/ui/documentation/sdk/view/DemoApps.view.xml +3 -7
- package/src/sap/ui/documentation/sdk/view/Footer.fragment.xml +5 -8
- package/src/sap/ui/documentation/sdk/view/FooterMaster.fragment.xml +11 -0
- package/src/sap/ui/documentation/sdk/view/Tools.view.xml +27 -5
- package/src/sap/ui/documentation/sdk/view/TopicDetailInitial.view.xml +1 -5
- package/src/sap/ui/documentation/sdk/view/TopicMaster.view.xml +21 -14
- package/src/sap/ui/documentation/sdk/view/VersionNotFound.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +1 -5
- package/src/sap/ui/documentation/themes/base/Documentation.less +4 -0
|
@@ -388,6 +388,8 @@ TOOLS_CARD_14_TEXT=\u7075\u6D3B\u7684\u7F16\u7A0B\u6A21\u578B\u4FBF\u4E8E\u60A8\
|
|
|
388
388
|
TOOLS_CARD_14_IMG_ALT=\u56FE\u7247\u663E\u793A\u4E86\u7075\u6D3B\u7F16\u7A0B\u6A21\u578B\u6D4F\u89C8\u5668
|
|
389
389
|
TOOLS_CARD_15_TEXT=\u8F85\u52A9\u529F\u80FD\u6307\u5357\u63D0\u4F9B\u4E86\u6709\u5173 web \u8F85\u52A9\u529F\u80FD\u7684\u6DF1\u5165\u4FE1\u606F\u53CA\u793A\u4F8B\uFF0C\u65E0\u8BBA\u60A8\u662F\u63A7\u4EF6\u6216\u5E94\u7528\u7A0B\u5E8F\u5F00\u53D1\u4EBA\u5458\u8FD8\u662F\u4E1A\u52A1\u7528\u6237\uFF0C\u90FD\u53EF\u4EE5\u901A\u8FC7\u641C\u7D22\u4E86\u89E3\u6709\u5173 SAPUI5 \u8303\u56F4\u5185 web \u8F85\u52A9\u529F\u80FD\u7684\u66F4\u591A\u4FE1\u606F\u3002
|
|
390
390
|
TOOLS_CARD_15_IMG_ALT=\u56FE\u7247\u663E\u793A\u4E86\u8F85\u52A9\u529F\u80FD\u6307\u5357
|
|
391
|
+
TOOLS_CARD_16_TEXT=\u501F\u52A9 UI5 \u6D4B\u8BD5\u5F55\u5236\u5668\u8FD9\u4E00\u5DE5\u5177\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5728\u6D4F\u89C8\u5668\u4E2D\u5F55\u5236\u64CD\u4F5C\u6765\u521B\u5EFA UI5 \u96C6\u6210\u6D4B\u8BD5\u3002
|
|
392
|
+
TOOLS_CARD_16_IMG_ALT=\u56FE\u7247\u663E\u793A\u4E86 UI5 \u6D4B\u8BD5\u5F55\u5236\u5668
|
|
391
393
|
API_MASTER_PLACEHOLDER=\u8FC7\u6EE4\u5668
|
|
392
394
|
API_MASTER_EXPAND_BTN_TOOLTIP=\u5168\u90E8\u5C55\u5F00
|
|
393
395
|
API_MASTER_COLLAPSE_BTN_TOOLTIP=\u5168\u90E8\u6298\u53E0
|
|
@@ -388,6 +388,8 @@ TOOLS_CARD_14_TEXT=\u4F7F\u7528 SAP Fiori \u5143\u7D20 (\u9069\u7528\u65BC OData
|
|
|
388
388
|
TOOLS_CARD_14_IMG_ALT=\u7528\u65BC\u986F\u793A\u5F48\u6027\u7A0B\u5F0F\u8A2D\u8A08\u6A21\u578B\u700F\u89BD\u5668\u7684\u5716\u7247
|
|
389
389
|
TOOLS_CARD_15_TEXT=\u7121\u8AD6\u60A8\u662F\u63A7\u5236\u4EBA\u54E1\u3001\u61C9\u7528\u7A0B\u5F0F\u958B\u767C\u4EBA\u54E1\uFF0C\u6216\u662F\u5728 SAPUI5 \u5340\u57DF\u4E2D\u641C\u5C0B\u4EE5\u77AD\u89E3\u7DB2\u8DEF\u53EF\u5B58\u53D6\u6027\u76F8\u95DC\u8CC7\u8A0A\u7684\u4F01\u696D\u4F7F\u7528\u8005\uFF0C\u6B64\u300C\u53EF\u5B58\u53D6\u6027\u6307\u5357\u300D\u6703\u63D0\u4F9B\u6709\u95DC\u7DB2\u8DEF\u53EF\u5B58\u53D6\u6027\u7BC4\u4F8B\u7684\u6DF1\u5165\u8CC7\u8A0A\u3002
|
|
390
390
|
TOOLS_CARD_15_IMG_ALT=\u7528\u65BC\u986F\u793A\u53EF\u5B58\u53D6\u6027\u6307\u5357\u7684\u5716\u7247
|
|
391
|
+
TOOLS_CARD_16_TEXT=UI5 \u6E2C\u8A66\u8A18\u9304\u5668\u5DE5\u5177\u6703\u900F\u904E\u5728\u700F\u89BD\u5668\u4E2D\u8A18\u9304\u60A8\u7684\u52D5\u4F5C\uFF0C\u4EE5\u5354\u52A9\u60A8\u5EFA\u7ACB UI5 \u6574\u5408\u6E2C\u8A66\u3002
|
|
392
|
+
TOOLS_CARD_16_IMG_ALT=\u7528\u65BC\u986F\u793A UI5 \u6E2C\u8A66\u8A18\u9304\u5668\u7684\u5716\u7247
|
|
391
393
|
API_MASTER_PLACEHOLDER=\u7BE9\u9078
|
|
392
394
|
API_MASTER_EXPAND_BTN_TOOLTIP=\u5168\u90E8\u5C55\u958B
|
|
393
395
|
API_MASTER_COLLAPSE_BTN_TOOLTIP=\u5168\u90E8\u6536\u7E2E
|
|
@@ -201,7 +201,7 @@ sap.ui.define([
|
|
|
201
201
|
versionName: oVersionInfo.name,
|
|
202
202
|
version: [oVersion.getMajor(), oVersion.getMinor(), oVersion.getPatch()].join("."),
|
|
203
203
|
fullVersion: oVersionInfo.version,
|
|
204
|
-
openUi5Version: sVersionPrefixPath ||
|
|
204
|
+
openUi5Version: sVersionPrefixPath || oVersionInfo.version,
|
|
205
205
|
isOpenUI5: bOpenUI5,
|
|
206
206
|
isSnapshotVersion: bSnapshot,
|
|
207
207
|
isDevVersion: bSnapshot,
|
|
@@ -163,20 +163,17 @@ sap.ui.define([
|
|
|
163
163
|
ThemePicker.init(oController);
|
|
164
164
|
|
|
165
165
|
this.MENU_LINKS_MAP = {
|
|
166
|
-
"legal": "https://www.sap.com/corporate/en/legal/impressum.html",
|
|
167
|
-
"privacy": "https://www.sap.com/corporate/en/legal/privacy.html",
|
|
168
|
-
"terms_of_use": "https://www.sap.com/corporate/en/legal/terms-of-use.html",
|
|
169
166
|
"copyright": "https://www.sap.com/corporate/en/legal/copyright.html",
|
|
170
167
|
"trademark": "https://www.sap.com/corporate/en/legal/trademark.html",
|
|
171
168
|
"disclaimer": "https://help.sap.com/viewer/disclaimer",
|
|
172
|
-
"sitemap": "sitemap"
|
|
173
|
-
"license": "LICENSE.txt"
|
|
169
|
+
"sitemap": "sitemap"
|
|
174
170
|
};
|
|
175
171
|
|
|
172
|
+
jQuery.extend(this.MENU_LINKS_MAP, BaseController.LEGAL_LINKS);
|
|
173
|
+
|
|
176
174
|
this.getOwnerComponent().loadVersionInfo().then(function () {
|
|
177
175
|
var sProduct;
|
|
178
176
|
if (this.getModel("versionData").getProperty("/isOpenUI5")) {
|
|
179
|
-
this.MENU_LINKS_MAP["Terms of Use"] = "TermsOfUse.txt";
|
|
180
177
|
sProduct = "OPENUI5";
|
|
181
178
|
} else {
|
|
182
179
|
sProduct = "SAPUI5";
|
|
@@ -23,11 +23,13 @@ sap.ui.define([
|
|
|
23
23
|
// shortcut for sap.m.SplitAppMode
|
|
24
24
|
var SplitAppMode = mobileLibrary.SplitAppMode;
|
|
25
25
|
|
|
26
|
+
var URLHelper = mobileLibrary.URLHelper;
|
|
27
|
+
|
|
26
28
|
var _oWebPageTitleUtil = new WebPageTitleUtil();
|
|
27
29
|
|
|
28
30
|
var _oPageTitle = [];
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
var BaseController = Controller.extend("sap.ui.documentation.sdk.controller.BaseController", {
|
|
31
33
|
|
|
32
34
|
// Prerequisites
|
|
33
35
|
_oCore: sap.ui.getCore(),
|
|
@@ -233,6 +235,16 @@ sap.ui.define([
|
|
|
233
235
|
handleLandingImageLoad: function () {
|
|
234
236
|
this.getView().byId("landingImageHeadline").setVisible(true);
|
|
235
237
|
},
|
|
238
|
+
/**
|
|
239
|
+
* Handles the click on an item of the Footer Master (the footer placed
|
|
240
|
+
* at the bottom of any MasterPage (left side of the SplitApp)).
|
|
241
|
+
* @param {object} oEvent the Event object from which we are going to get the correct item key.
|
|
242
|
+
*/
|
|
243
|
+
handleFooterMasterItemPress: function(oEvent) {
|
|
244
|
+
var sTargetText = oEvent.getParameter("item").getKey(),
|
|
245
|
+
sTarget = BaseController.LEGAL_LINKS[sTargetText];
|
|
246
|
+
URLHelper.redirect(sTarget, true);
|
|
247
|
+
},
|
|
236
248
|
/**
|
|
237
249
|
* Checks if a control has API Reference
|
|
238
250
|
* @param {string} sControlName
|
|
@@ -261,5 +273,17 @@ sap.ui.define([
|
|
|
261
273
|
return;
|
|
262
274
|
}
|
|
263
275
|
});
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* STATIC MEMBERS
|
|
279
|
+
*/
|
|
280
|
+
BaseController.LEGAL_LINKS = {
|
|
281
|
+
"legal": "https://www.sap.com/corporate/en/legal/impressum.html",
|
|
282
|
+
"privacy": "https://www.sap.com/corporate/en/legal/privacy.html",
|
|
283
|
+
"terms_of_use": "https://www.sap.com/corporate/en/legal/terms-of-use.html",
|
|
284
|
+
"license": "LICENSE.txt"
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
return BaseController;
|
|
264
288
|
}
|
|
265
289
|
);
|
|
@@ -196,9 +196,34 @@ sap.ui.define([
|
|
|
196
196
|
});
|
|
197
197
|
},
|
|
198
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Formats the name in NPM style string:
|
|
201
|
+
*
|
|
202
|
+
* A package.json file must contain "name" and "version" fields.
|
|
203
|
+
* The "name" field contains your package's name, and must be lowercase and one word,
|
|
204
|
+
* and may contain hyphens and underscores.
|
|
205
|
+
*
|
|
206
|
+
* @param {string} name The name to format
|
|
207
|
+
* @returns {string} Formatted name
|
|
208
|
+
*/
|
|
209
|
+
_formatNameToNpmSpec: function (name) {
|
|
210
|
+
var result;
|
|
211
|
+
var testValidChars = /[^\w_\-\.]+/gi; // Only "words", "-", "_" and "."
|
|
212
|
+
|
|
213
|
+
name = name
|
|
214
|
+
.replace(testValidChars, "") // Cleanup invalid characters
|
|
215
|
+
.replaceAll(".", "-"); // Replace the dots with dashes
|
|
216
|
+
|
|
217
|
+
result = name.split(/(?=[A-Z])/); // Split on Capital letters
|
|
218
|
+
|
|
219
|
+
return result
|
|
220
|
+
.map(function (chunk) { return chunk.toLowerCase(); })
|
|
221
|
+
.join("-");
|
|
222
|
+
},
|
|
223
|
+
|
|
199
224
|
_formatPackageJson: function (sPackageFile, sManifestFile, oData) {
|
|
200
225
|
var sFormattedPackageFile = sPackageFile.replace(/{{TITLE}}/g, oData.title)
|
|
201
|
-
.replace(/{{SAMPLE_ID}}/g, oData.id),
|
|
226
|
+
.replace(/{{SAMPLE_ID}}/g, this._formatNameToNpmSpec(oData.id)),
|
|
202
227
|
oPackageFile = JSON.parse(sFormattedPackageFile),
|
|
203
228
|
oPackageDependencies = oPackageFile.dependencies,
|
|
204
229
|
oManifestFile,
|
|
@@ -226,7 +251,7 @@ sap.ui.define([
|
|
|
226
251
|
},
|
|
227
252
|
|
|
228
253
|
_formatYamlFile: function(sFile, oData) {
|
|
229
|
-
return sFile.replace(/{{SAMPLE_ID}}/g, oData.id);
|
|
254
|
+
return sFile.replace(/{{SAMPLE_ID}}/g, this._formatNameToNpmSpec(oData.id));
|
|
230
255
|
},
|
|
231
256
|
|
|
232
257
|
_formatManifestJsFile: function (sRawManifestFileJs) {
|
|
@@ -60,8 +60,8 @@ sap.ui.define([
|
|
|
60
60
|
this.setModel(new JSONModel({
|
|
61
61
|
inspectorHomeLink: "topic/b24e72443eb34d0fb7bf6940f2d697eb",
|
|
62
62
|
supportAssistantHomeLink: oData.supportAssistant.href,
|
|
63
|
-
iconExplorerHomeLink: "topic/21ea0ea94614480d9a910b2e93431291"
|
|
64
|
-
|
|
63
|
+
iconExplorerHomeLink: "topic/21ea0ea94614480d9a910b2e93431291",
|
|
64
|
+
ui5TestRecorderHomeLink: oData.ui5TestRecorder.href
|
|
65
65
|
}), "newWindowLinks");
|
|
66
66
|
},
|
|
67
67
|
|
|
@@ -47,13 +47,13 @@ sap.ui.define([
|
|
|
47
47
|
sUrl = document.location.href,
|
|
48
48
|
sRedirectUrl,
|
|
49
49
|
sVersion = DemokitURLUtil.parseVersion(sUrl),
|
|
50
|
-
|
|
50
|
+
oPatchInfo = this._getPatchInfo(oVersionInfo, sVersion),
|
|
51
|
+
isRemoved = oPatchInfo && oPatchInfo.removed,
|
|
52
|
+
isRuntimeOnly = oPatchInfo && oPatchInfo.runtimeOnly;
|
|
51
53
|
|
|
52
54
|
oMessagePage.setBusy(false);
|
|
53
55
|
|
|
54
|
-
isRemoved
|
|
55
|
-
|
|
56
|
-
if (isRemoved && DemokitURLUtil.requestsDemokitView(sUrl)) {
|
|
56
|
+
if ((isRemoved || isRuntimeOnly) && DemokitURLUtil.requestsDemokitView(sUrl)) {
|
|
57
57
|
// redirect to the latest (version-less) URL
|
|
58
58
|
sRedirectUrl = DemokitURLUtil.removeVersion(sUrl);
|
|
59
59
|
mLib.URLHelper.redirect(sRedirectUrl);
|
|
@@ -72,6 +72,10 @@ sap.ui.define([
|
|
|
72
72
|
// show removed message
|
|
73
73
|
oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_REMOVED_TEXT"));
|
|
74
74
|
oReadMoreBtn.setVisible(true);
|
|
75
|
+
} else if (isRuntimeOnly) {
|
|
76
|
+
// show removed message
|
|
77
|
+
oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_DK_REMOVED_TEXT"));
|
|
78
|
+
oReadMoreBtn.setVisible(true);
|
|
75
79
|
} else {
|
|
76
80
|
// show unavailable message
|
|
77
81
|
oReadMoreBtn.setVisible(false);
|
|
@@ -79,17 +83,11 @@ sap.ui.define([
|
|
|
79
83
|
}
|
|
80
84
|
},
|
|
81
85
|
|
|
82
|
-
|
|
83
|
-
var aPatches = oVersionInfo.patches
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
iVersionIndex = aPatches.findIndex(function (oData) {
|
|
88
|
-
reVersion = new RegExp(oData.version);
|
|
89
|
-
return oData.removed && reVersion.test(sVersion);
|
|
86
|
+
_getPatchInfo: function (oVersionInfo, sVersion) {
|
|
87
|
+
var aPatches = oVersionInfo.patches;
|
|
88
|
+
return aPatches.find(function (oData) {
|
|
89
|
+
return sVersion === oData.version;
|
|
90
90
|
});
|
|
91
|
-
|
|
92
|
-
return iVersionIndex > -1;
|
|
93
91
|
},
|
|
94
92
|
|
|
95
93
|
_getLibraryResourceBundle: function () {
|
|
@@ -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 a > b;},
|
|
233
|
+
fnSort = function(a, b) {return parseInt(a) > parseInt(b);},
|
|
234
234
|
aIndices = Object.keys(oTokensToHighlight).sort(fnSort),
|
|
235
235
|
iIndex,
|
|
236
236
|
iStartIndex = 0;
|
|
@@ -78,6 +78,12 @@ sap.ui.define([],
|
|
|
78
78
|
"text": "Accessibility Guide",
|
|
79
79
|
"href": "test-resources/sap/m/demokit/accessibilityGuide/webapp/index.html",
|
|
80
80
|
"hideOnPhone": true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "ui5TestRecorder",
|
|
84
|
+
"text": "UI5 Test Recorder",
|
|
85
|
+
"href": "topic/2535ef9272064cb6bd6b44e5402d531d",
|
|
86
|
+
"hideOnPhone": true
|
|
81
87
|
}
|
|
82
88
|
];
|
|
83
89
|
|
|
@@ -87,15 +87,14 @@ pre.sapUiDocumentationAPICode,
|
|
|
87
87
|
margin-left: 0;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
height:
|
|
90
|
+
.sapMTB.sapUiDocumentationFooter {
|
|
91
|
+
height: auto;
|
|
92
|
+
padding: .5rem 1rem 0.25rem 1rem;
|
|
92
93
|
}
|
|
93
94
|
|
|
94
|
-
.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
padding-top: 0.25rem;
|
|
98
|
-
padding-bottom: 0.25rem;
|
|
95
|
+
.sap-phone .sapMTB.sapUiDocumentationFooter {
|
|
96
|
+
padding: 1rem;
|
|
97
|
+
padding-top: 1.25rem;
|
|
99
98
|
}
|
|
100
99
|
|
|
101
100
|
/* 'index by version' entry item */
|
|
@@ -898,6 +897,22 @@ html.sapUiTheme-sap_belize_plus .sapUiDemokit .sapUiDocumentationSplitApp > .sap
|
|
|
898
897
|
border-right: 1px solid #4f667a;
|
|
899
898
|
}
|
|
900
899
|
|
|
900
|
+
.sapUiDemokit .sapUiDocumentationMasterPage .sapUiFixFlex .sapUiFixFlexFlexible .sapUiFixFlexFlexibleContainer {
|
|
901
|
+
overflow-y: auto;
|
|
902
|
+
margin-bottom: .5625rem;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.sapUiDemokit .sapUiDocumentationMasterPage .sapUiFixFlex .sapUiFixFlexFlexible:after {
|
|
906
|
+
content: "";
|
|
907
|
+
display: block;
|
|
908
|
+
width: calc(100% - 2rem);
|
|
909
|
+
height: .0625rem;
|
|
910
|
+
margin: .3125rem 1rem 0 1rem;
|
|
911
|
+
background: var(--sapUiDemoKitAccentColor6);
|
|
912
|
+
position: absolute;
|
|
913
|
+
bottom: .25rem;
|
|
914
|
+
}
|
|
915
|
+
|
|
901
916
|
html.sapUiTheme-sap_fiori_3_hcb .sapUiDemokit .sapMSplitContainerMaster,
|
|
902
917
|
html.sapUiTheme-sap_fiori_3_hcw .sapUiDemokit .sapMSplitContainerMaster,
|
|
903
918
|
html.sapUiTheme-sap_belize_hcb .sapUiDemokit .sapMSplitContainerMaster,
|
|
@@ -935,10 +950,6 @@ html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiT
|
|
|
935
950
|
background-color: #d5e2ef;
|
|
936
951
|
}
|
|
937
952
|
|
|
938
|
-
html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_fiori_3_hcb):not(.sapUiTheme-sap_fiori_3_hcw) .sapUiBlockLayout .sapUiBlockLayoutRow.sapUiBlockHorizontalCellsRow .sapUiBlockLayoutCell.demokitInitialPagesColorPatternFContrast {
|
|
939
|
-
background-color: #354a5f;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
953
|
html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_fiori_3_hcb):not(.sapUiTheme-sap_fiori_3_hcw) .demokitInitialPagesWhiteText {
|
|
943
954
|
color: #fff;
|
|
944
955
|
text-shadow: none;
|
|
Binary file
|
|
@@ -278,10 +278,7 @@
|
|
|
278
278
|
</l:BlockLayout>
|
|
279
279
|
</Panel>
|
|
280
280
|
|
|
281
|
-
<l:BlockLayout>
|
|
282
|
-
<l:BlockLayoutRow>
|
|
283
281
|
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
284
|
-
|
|
285
|
-
</l:BlockLayout>
|
|
282
|
+
|
|
286
283
|
</Page>
|
|
287
284
|
</mvc:View>
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
controllerName="sap.ui.documentation.sdk.controller.ApiMaster"
|
|
3
3
|
xmlns:mvc="sap.ui.core.mvc"
|
|
4
4
|
xmlns="sap.m"
|
|
5
|
+
xmlns:l="sap.ui.layout"
|
|
6
|
+
xmlns:core="sap.ui.core"
|
|
5
7
|
xmlns:custom="sap.ui.documentation"
|
|
6
8
|
class="sapContrast sapContrastPlus">
|
|
7
9
|
|
|
@@ -28,20 +30,27 @@
|
|
|
28
30
|
|
|
29
31
|
<content>
|
|
30
32
|
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
33
|
+
<l:FixFlex fixFirst="false">
|
|
34
|
+
<l:flexContent>
|
|
35
|
+
<Tree
|
|
36
|
+
id="tree"
|
|
37
|
+
mode="SingleSelectMaster"
|
|
38
|
+
noDataText="{i18n>API_MASTER_NO_DATA_TEXT}"
|
|
39
|
+
selectionChange="onNodeSelect"
|
|
40
|
+
items="{treeData>/}">
|
|
41
|
+
<custom:DemokitTreeItem
|
|
42
|
+
title="{treeData>displayName}"
|
|
43
|
+
target="{treeData>name}"
|
|
44
|
+
entityType="{treeData>kind}"
|
|
45
|
+
section="api"
|
|
46
|
+
class="sapDemokitTreeItem"
|
|
47
|
+
deprecated="{treeData>deprecated}"/>
|
|
48
|
+
</Tree>
|
|
49
|
+
</l:flexContent>
|
|
50
|
+
<l:fixContent>
|
|
51
|
+
<core:Fragment fragmentName="sap.ui.documentation.sdk.view.FooterMaster" type="XML" />
|
|
52
|
+
</l:fixContent>
|
|
53
|
+
</l:FixFlex>
|
|
45
54
|
|
|
46
55
|
</content>
|
|
47
56
|
|
|
@@ -406,10 +406,7 @@
|
|
|
406
406
|
</l:BlockLayout>
|
|
407
407
|
</Panel>
|
|
408
408
|
|
|
409
|
-
<
|
|
410
|
-
|
|
411
|
-
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
412
|
-
</l:BlockLayoutRow>
|
|
413
|
-
</l:BlockLayout>
|
|
409
|
+
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
410
|
+
|
|
414
411
|
</Page>
|
|
415
412
|
</mvc:View>
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
<mvc:View
|
|
2
2
|
controllerName="sap.ui.documentation.sdk.controller.ControlsMaster"
|
|
3
3
|
xmlns:mvc="sap.ui.core.mvc"
|
|
4
|
+
xmlns:l="sap.ui.layout"
|
|
5
|
+
xmlns:core="sap.ui.core"
|
|
4
6
|
xmlns="sap.m"
|
|
5
7
|
class="sapContrast sapContrastPlus">
|
|
6
8
|
<Page
|
|
@@ -20,36 +22,43 @@
|
|
|
20
22
|
|
|
21
23
|
<!-- Navigation List -->
|
|
22
24
|
<content>
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
25
|
+
<l:FixFlex fixFirst="false">
|
|
26
|
+
<l:flexContent>
|
|
27
|
+
<List id="exploredMasterList"
|
|
28
|
+
mode="{viewModel>/listMode}"
|
|
29
|
+
selectionChange="onNavToEntity"
|
|
30
|
+
noDataText="{i18n>CONTROLS_MASTER_NO_DATA_TEXT}"
|
|
31
|
+
items="{path: '/entities',
|
|
32
|
+
groupHeaderFactory: '.getGroupHeader',
|
|
33
|
+
sorter: [{
|
|
34
|
+
path: 'category',
|
|
35
|
+
descending: false,
|
|
36
|
+
group: true
|
|
37
|
+
},{
|
|
38
|
+
path: 'name',
|
|
39
|
+
descending: false
|
|
40
|
+
}]}">
|
|
41
|
+
<infoToolbar>
|
|
42
|
+
<Toolbar id="vsFilterBar"
|
|
43
|
+
active="true"
|
|
44
|
+
visible="false"
|
|
45
|
+
press="handleListSettings">
|
|
46
|
+
<Label id="vsFilterLabel" />
|
|
47
|
+
</Toolbar>
|
|
48
|
+
</infoToolbar>
|
|
49
|
+
<items>
|
|
50
|
+
<StandardListItem
|
|
51
|
+
title="{name}"
|
|
52
|
+
counter="{sampleCount}"
|
|
53
|
+
type="{viewModel>/listItemType}"
|
|
54
|
+
press="onNavToEntity" />
|
|
55
|
+
</items>
|
|
56
|
+
</List>
|
|
57
|
+
</l:flexContent>
|
|
58
|
+
<l:fixContent>
|
|
59
|
+
<core:Fragment fragmentName="sap.ui.documentation.sdk.view.FooterMaster" type="XML" />
|
|
60
|
+
</l:fixContent>
|
|
61
|
+
</l:FixFlex>
|
|
53
62
|
</content>
|
|
54
63
|
</Page>
|
|
55
64
|
</mvc:View>
|
|
@@ -107,13 +107,9 @@
|
|
|
107
107
|
</l:BlockLayout>
|
|
108
108
|
</Panel>
|
|
109
109
|
</l:VerticalLayout>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
<l:BlockLayoutRow>
|
|
114
|
-
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
115
|
-
</l:BlockLayoutRow>
|
|
116
|
-
</l:BlockLayout>
|
|
110
|
+
|
|
111
|
+
<core:Fragment id="demoAppsFooter" visible="{/bFooterVisible}" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
112
|
+
|
|
117
113
|
</ScrollContainer>
|
|
118
114
|
</content>
|
|
119
115
|
<dependents>
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<core:FragmentDefinition
|
|
2
2
|
xmlns="sap.m"
|
|
3
|
-
xmlns:l="sap.ui.layout"
|
|
4
3
|
xmlns:core="sap.ui.core">
|
|
5
|
-
<
|
|
4
|
+
<Toolbar style="Clear" class="sapUiDocumentationFooter">
|
|
6
5
|
<FlexBox
|
|
7
6
|
alignItems="{= ${device>/system/phone} ? 'Start' : 'Center' }"
|
|
8
7
|
justifyContent="SpaceBetween"
|
|
@@ -20,29 +19,27 @@
|
|
|
20
19
|
class="sapUiTinyMarginTop">
|
|
21
20
|
<items>
|
|
22
21
|
<Link
|
|
23
|
-
class="
|
|
22
|
+
class="sapUiLargeMarginEnd sapUiTinyMarginBottom"
|
|
24
23
|
text="{i18n>FOOTER_LEGAL_DISCOLURE}"
|
|
25
24
|
href="https://www.sap.com/corporate/en/legal/impressum.html"
|
|
26
25
|
target="_blank"/>
|
|
27
26
|
<Link
|
|
28
|
-
class="
|
|
27
|
+
class="sapUiLargeMarginEnd sapUiTinyMarginBottom"
|
|
29
28
|
text="{i18n>FOOTER_PRIVACY}"
|
|
30
29
|
href="https://www.sap.com/corporate/en/legal/privacy.html"
|
|
31
30
|
target="_blank"/>
|
|
32
31
|
<Link
|
|
33
|
-
class="demokitInitialPagesBrightLink"
|
|
34
32
|
text="{i18n>FOOTER_TERMS}"
|
|
35
33
|
href="https://www.sap.com/corporate/en/legal/terms-of-use.html"
|
|
36
34
|
visible="{=!${versionData>/isOpenUI5}}"
|
|
37
35
|
target="_blank"/>
|
|
38
36
|
<Link
|
|
39
|
-
class="
|
|
37
|
+
class="sapUiTinyMarginBottom sapUiLargeMarginEnd"
|
|
40
38
|
text="{i18n>FOOTER_LICENSE}"
|
|
41
39
|
href="LICENSE.txt"
|
|
42
40
|
visible="{versionData>/isOpenUI5}"
|
|
43
41
|
target="_blank"/>
|
|
44
42
|
<Link
|
|
45
|
-
class="demokitInitialPagesBrightLink"
|
|
46
43
|
text="{i18n>FOOTER_TERMS}"
|
|
47
44
|
href="TermsOfUse.txt"
|
|
48
45
|
visible="{versionData>/isOpenUI5}"
|
|
@@ -51,5 +48,5 @@
|
|
|
51
48
|
</FlexBox>
|
|
52
49
|
</items>
|
|
53
50
|
</FlexBox>
|
|
54
|
-
</
|
|
51
|
+
</Toolbar>
|
|
55
52
|
</core:FragmentDefinition>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<core:FragmentDefinition
|
|
2
|
+
xmlns="sap.m"
|
|
3
|
+
xmlns:tnt="sap.tnt"
|
|
4
|
+
xmlns:core="sap.ui.core">
|
|
5
|
+
<tnt:NavigationList itemSelect="handleFooterMasterItemPress">
|
|
6
|
+
<tnt:NavigationListItem icon="sap-icon://compare" key="legal" text="{i18n>APP_INFORMATION_BTN_LEGAL}" />
|
|
7
|
+
<tnt:NavigationListItem icon="sap-icon://locked" key="privacy" text="{i18n>APP_INFORMATION_BTN_PRIVACY}" />
|
|
8
|
+
<tnt:NavigationListItem icon="sap-icon://permission" text="{i18n>APP_INFORMATION_BTN_LICENSE}" key="license" visible="{versionData>/isOpenUI5}" />
|
|
9
|
+
<tnt:NavigationListItem icon="sap-icon://document-text" key="terms_of_use" text="{i18n>APP_INFORMATION_BTN_TERMS_OF_USE}" visible="{=!${versionData>/isOpenUI5}}" />
|
|
10
|
+
</tnt:NavigationList>
|
|
11
|
+
</core:FragmentDefinition>
|
|
@@ -443,11 +443,33 @@
|
|
|
443
443
|
</VBox>
|
|
444
444
|
</f:content>
|
|
445
445
|
</f:Card>
|
|
446
|
+
<!-- UI5 Test Recorder -->
|
|
447
|
+
<f:Card class="threeColumnLayoutCard"
|
|
448
|
+
visible="{
|
|
449
|
+
path: '/ui5TestRecorder',
|
|
450
|
+
formatter: '.formatter.formatToolCardVisibility'}">
|
|
451
|
+
<f:content>
|
|
452
|
+
<VBox justifyContent="SpaceBetween">
|
|
453
|
+
<VBox class="sapUiSmallMargin toolspageCardInfo">
|
|
454
|
+
<custom:TitleLink
|
|
455
|
+
level="H1"
|
|
456
|
+
titleStyle="H1"
|
|
457
|
+
text="{/ui5TestRecorder/text}"
|
|
458
|
+
class="sapUiSmallMarginBottom"
|
|
459
|
+
href="{newWindowLinks>/ui5TestRecorderHomeLink}"
|
|
460
|
+
target="_blank"/>
|
|
461
|
+
<Text class="sapUiSmallMarginBottom" text="{i18n>TOOLS_CARD_16_TEXT}" />
|
|
462
|
+
<HBox wrap="Wrap">
|
|
463
|
+
<Link text="{i18n>TOOLS_VIEW_DOC}"
|
|
464
|
+
target="_blank"
|
|
465
|
+
href="{newWindowLinks>/ui5TestRecorderHomeLink}"/>
|
|
466
|
+
</HBox>
|
|
467
|
+
</VBox>
|
|
468
|
+
<Image src="./resources/sap/ui/documentation/sdk/images/tools/UI5TestRecorder.png" class="toolsPageImage" alt="{i18n>TOOLS_CARD_16_IMG_ALT}"/>
|
|
469
|
+
</VBox>
|
|
470
|
+
</f:content>
|
|
471
|
+
</f:Card>
|
|
446
472
|
</l:Grid>
|
|
447
|
-
<
|
|
448
|
-
<l:BlockLayoutRow>
|
|
449
|
-
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
450
|
-
</l:BlockLayoutRow>
|
|
451
|
-
</l:BlockLayout>
|
|
473
|
+
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
452
474
|
</Page>
|
|
453
475
|
</mvc:View>
|
|
@@ -236,10 +236,6 @@
|
|
|
236
236
|
</l:BlockLayout>
|
|
237
237
|
</Panel>
|
|
238
238
|
|
|
239
|
-
<
|
|
240
|
-
<l:BlockLayoutRow>
|
|
241
|
-
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
242
|
-
</l:BlockLayoutRow>
|
|
243
|
-
</l:BlockLayout>
|
|
239
|
+
<core:Fragment id="footerFragment" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
244
240
|
</Page>
|
|
245
241
|
</mvc:View>
|