@openui5/sap.ui.documentation 1.133.1 → 1.135.0
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/.reuse/dep5 +0 -7
- package/THIRDPARTY.txt +2 -23
- 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_fr.properties +6 -6
- package/src/sap/ui/documentation/messagebundle_sl.properties +6 -6
- package/src/sap/ui/documentation/sdk/blocks/IndexEntry.js +1 -0
- package/src/sap/ui/documentation/sdk/controller/ApiDetail.controller.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +5 -6
- package/src/sap/ui/documentation/sdk/controller/BaseController.js +7 -0
- package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +25 -1
- package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +2 -5
- package/src/sap/ui/documentation/sdk/controller/config/datatable.js +6 -0
- package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +13 -3
- package/src/sap/ui/documentation/sdk/controller/util/CookiesConsentManager.js +1 -0
- package/src/sap/ui/documentation/sdk/controller/util/DataTable.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +5 -7
- package/src/sap/ui/documentation/sdk/controls/FileEditor.js +1 -0
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_de.properties +3 -0
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_en.properties +3 -0
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_fr.properties +4 -1
- package/src/sap/ui/documentation/sdk/index.js +0 -3
- package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
- package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +32 -12
- package/src/sap/ui/documentation/themes/base/Documentation.less +5 -0
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +0 -5
package/.reuse/dep5
CHANGED
|
@@ -364,13 +364,6 @@ Copyright:
|
|
|
364
364
|
License: Apache-2.0 and ISC
|
|
365
365
|
Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
|
|
366
366
|
|
|
367
|
-
Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
368
|
-
Copyright:
|
|
369
|
-
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
370
|
-
Arthur David Olson, Paul Eggert and other contributors
|
|
371
|
-
License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
|
|
372
|
-
Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
|
|
373
|
-
|
|
374
367
|
|
|
375
368
|
# Library: sap.ui.documentation:
|
|
376
369
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -22,7 +22,7 @@ Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
|
|
|
22
22
|
|
|
23
23
|
Library: sap.ui.codeeditor:
|
|
24
24
|
|
|
25
|
-
Component: Ace (Ajax.org Cloud9 Editor), version: 1.
|
|
25
|
+
Component: Ace (Ajax.org Cloud9 Editor), version: 1.36.5
|
|
26
26
|
Copyright: 2010, Ajax.org B.V.
|
|
27
27
|
License: BSD-3-Clause
|
|
28
28
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -342,12 +342,6 @@ License: ISC
|
|
|
342
342
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
|
|
343
343
|
Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
344
344
|
|
|
345
|
-
Component: Time Zone Database, version: 2024b
|
|
346
|
-
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
347
|
-
License: LicenseRef-tzdata-PublicDomain
|
|
348
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
349
|
-
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
350
|
-
|
|
351
345
|
|
|
352
346
|
Library: sap.ui.documentation:
|
|
353
347
|
|
|
@@ -468,7 +462,7 @@ License: Apache-2.0
|
|
|
468
462
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
463
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
470
464
|
|
|
471
|
-
Component: SAP Theming Base Content, version: 11.
|
|
465
|
+
Component: SAP Theming Base Content, version: 11.28.2
|
|
472
466
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
473
467
|
License: Apache-2.0
|
|
474
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -1015,21 +1009,6 @@ END of license: LicenseRef-Unicode-3.0
|
|
|
1015
1009
|
=================================
|
|
1016
1010
|
|
|
1017
1011
|
|
|
1018
|
-
=================================
|
|
1019
|
-
BEGIN of license: LicenseRef-tzdata-PublicDomain
|
|
1020
|
-
=================================
|
|
1021
|
-
|
|
1022
|
-
Unless specified below, all files in the tz code and data (including
|
|
1023
|
-
this LICENSE file) are in the public domain.
|
|
1024
|
-
|
|
1025
|
-
If the files date.c, newstrftime.3, and strftime.c are present, they
|
|
1026
|
-
contain material derived from BSD and use the BSD 3-clause license.
|
|
1027
|
-
|
|
1028
|
-
=================================
|
|
1029
|
-
END of license: LicenseRef-tzdata-PublicDomain
|
|
1030
|
-
=================================
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
1012
|
=================================
|
|
1034
1013
|
BEGIN of license: MIT
|
|
1035
1014
|
=================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.documentation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.135.0",
|
|
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.135.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.135.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.135.0",
|
|
20
|
+
"@openui5/themelib_sap_belize": "1.135.0",
|
|
21
|
+
"@openui5/themelib_sap_fiori_3": "1.135.0",
|
|
22
|
+
"@openui5/themelib_sap_horizon": "1.135.0"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2025 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.135.0</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.
|
|
28
|
+
* @version 1.135.0
|
|
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.
|
|
35
|
+
version: '1.135.0',
|
|
36
36
|
dependencies : ['sap.ui.core','sap.m'],
|
|
37
37
|
types: [],
|
|
38
38
|
interfaces: [],
|
|
@@ -62,9 +62,9 @@ FEEDBACK_DIALOG_RELATED=Le feedback concerne la page actuelle.
|
|
|
62
62
|
FEEDBACK_DIALOG_SHOW_DATA=Afficher donn\u00E9es de contexte
|
|
63
63
|
FEEDBACK_DIALOG_DISCLAIMER=Votre feedback est anonyme, nous ne collectons aucune donn\u00E9e personnelle.
|
|
64
64
|
FEEDBACK_DIALOG_BTN_SEND=Envoyer
|
|
65
|
-
FEEDBACK_DIALOG_BTN_CANCEL=
|
|
65
|
+
FEEDBACK_DIALOG_BTN_CANCEL=Annuler
|
|
66
66
|
FEEDBACK_DIALOG_STATUS_EXCELLENT=Excellente
|
|
67
|
-
FEEDBACK_DIALOG_STATUS_GOOD=
|
|
67
|
+
FEEDBACK_DIALOG_STATUS_GOOD=Satisfaisante
|
|
68
68
|
FEEDBACK_DIALOG_STATUS_AVERAGE=Moyenne
|
|
69
69
|
FEEDBACK_DIALOG_STATUS_POOR=Mauvaise
|
|
70
70
|
FEEDBACK_DIALOG_STATUS_VERY_POOR=Tr\u00E8s mauvaise
|
|
@@ -235,21 +235,21 @@ APP_SETTINGS_DIALOG_DENSITY=Densit\u00E9 du contenu \:
|
|
|
235
235
|
APP_SETTINGS_DIALOG_READ_MORE=Pour en savoir plus sur les densit\u00E9s de contenu.
|
|
236
236
|
APP_SETTINGS_DIALOG_RTL=Mode RTL
|
|
237
237
|
APP_SETTINGS_DIALOG_OK_BTN=OK
|
|
238
|
-
APP_SETTINGS_DIALOG_CANCEL_BTN=
|
|
238
|
+
APP_SETTINGS_DIALOG_CANCEL_BTN=Annuler
|
|
239
239
|
|
|
240
240
|
COOKIE_SETTINGS_DIALOG_TITLE=Options de vos cookies
|
|
241
241
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=Cookies obligatoires
|
|
242
242
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=Ces cookies sont requis pour activer les fonctions centrales du site.
|
|
243
243
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=Nous utilisons des cookies pour am\u00E9liorer votre exp\u00E9rience sur notre site. En poursuivant votre visite, vous consentez \u00E0 l'utilisation de nos cookies.
|
|
244
244
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TITLE=Cookies fonctionnels
|
|
245
|
-
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=Ces cookies
|
|
246
|
-
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TEXT=
|
|
245
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=Ces cookies sont utilis\u00E9s pour conserver vos pr\u00E9f\u00E9rences concernant l'aspect visuel du site et la langue d'affichage.
|
|
246
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TEXT=Pour am\u00E9liorer votre exp\u00E9rience de navigation, nous utilisons des cookies pour nous rappeler vos pr\u00E9f\u00E9rences concernant l'aspect visuel du site (th\u00E8me clair ou sombre) et la langue d'affichage. Ces cookies garantissent que les options que vous avez s\u00E9lectionn\u00E9es sont appliqu\u00E9es chaque fois que vous consultez le site ou que vous actualisez la page, vous offrant ainsi une exp\u00E9rience coh\u00E9rente et personnalis\u00E9e.
|
|
247
247
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=Plus d'informations
|
|
248
248
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=Accepter tout
|
|
249
249
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=Refuser tout
|
|
250
250
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SET_PREFERENCES=D\u00E9finir les pr\u00E9f\u00E9rences
|
|
251
251
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SAVE_PREFERENCES=Sauvegarder les pr\u00E9f\u00E9rences
|
|
252
|
-
COOKIE_SETTINGS_DIALOG_CANCEL_BTN=
|
|
252
|
+
COOKIE_SETTINGS_DIALOG_CANCEL_BTN=Annuler
|
|
253
253
|
|
|
254
254
|
EMPTY_TEXT=Vide
|
|
255
255
|
|
|
@@ -172,7 +172,7 @@ TOPIC_DETAIL_EDIT_GITHUB=Uredite na GitHubu
|
|
|
172
172
|
TOPIC_DETAIL_EDIT_GITHUB_TOOLTIP=Uredite to stran na GitHubu
|
|
173
173
|
TOPIC_DETAIL_FULLSCREEN_TOOLTIP=Prika\u017Ei ta dokument v celozaslonskem na\u010Dinu
|
|
174
174
|
|
|
175
|
-
TOPIC_MASTER_FILTER_PLACEHOLDER=
|
|
175
|
+
TOPIC_MASTER_FILTER_PLACEHOLDER=Filtriranje
|
|
176
176
|
TOPIC_MASTER_EXPAND_TOOLTIP=Raz\u0161iri vse
|
|
177
177
|
TOPIC_MASTER_COLAPSE_TOOLTIP=Skr\u010Di vse
|
|
178
178
|
TOPIC_MASTER_NO_DATA_TEXT=Ni podatkov, poskusite z globalnim iskanjem
|
|
@@ -214,8 +214,8 @@ CONTROLS_TEXT_14=Stran z naslovom, glavo in podro\u010Djem vsebine
|
|
|
214
214
|
CONTROLS_TEXT_15=Stran z do 3 stolpci
|
|
215
215
|
CONTROLS_TEXT_16=Izgled z dvema stolpcema
|
|
216
216
|
|
|
217
|
-
CONTROLS_MASTER_FILTER_PLACERHOLDER=
|
|
218
|
-
CONTROLS_MASTER_FILTER_BTN_TOOLTIP=
|
|
217
|
+
CONTROLS_MASTER_FILTER_PLACERHOLDER=Filtriranje
|
|
218
|
+
CONTROLS_MASTER_FILTER_BTN_TOOLTIP=Grupiranje/filtriranje
|
|
219
219
|
CONTROLS_MASTER_NO_DATA_TEXT=Ni podatkov, poskusite z globalnim iskanjem.
|
|
220
220
|
|
|
221
221
|
CODE_BACK_BTN_TOOLTIP=Nazaj na vzorec
|
|
@@ -242,8 +242,8 @@ COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=Obvezni pi\u0161kotki
|
|
|
242
242
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=Ti pi\u0161kotki zagotavljajo osnovno funkcionalnost spletne strani.
|
|
243
243
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=Pi\u0161kotke uporabljamo za izbolj\u0161anje va\u0161e izku\u0161nje na na\u0161i spletni strani. Z nadaljevanjem uporabe te strani sogla\u0161ate z uporabo pi\u0161kotkov.
|
|
244
244
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TITLE=Funkcionalni pi\u0161kotki
|
|
245
|
-
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=Ti pi\u0161kotki se uporabljajo za
|
|
246
|
-
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TEXT=
|
|
245
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=Ti pi\u0161kotki se uporabljajo za ohranjanje va\u0161ih nastavitev glede videza spletnega mesta in jezika prikaza.
|
|
246
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TEXT=Za izbolj\u0161anje va\u0161e izku\u0161nje pri brskanju uporabljamo pi\u0161kotke, s katerimi si zapomnimo va\u0161e nastavitve glede videza spletnega mesta (svetla ali temna tema) in jezika prikaza. Ti pi\u0161kotki zagotavljajo, da se izbrane nastavitve uporabijo ob vsakem obisku ali osve\u017Eitvi strani, kar zagotavlja dosledno in prilagojeno izku\u0161njo.
|
|
247
247
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=Druge informacije
|
|
248
248
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=Sprejmi vse
|
|
249
249
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=Zavrni vse
|
|
@@ -372,7 +372,7 @@ LIVE_EDITOR_RESULT=Rezultat
|
|
|
372
372
|
LIVE_EDITOR_PREVIEW_BTN=Predogled
|
|
373
373
|
LIVE_EDITOR_LIVE_PREVIEW_TEXT=Avtomati\u010Dni predogled
|
|
374
374
|
|
|
375
|
-
API_MASTER_PLACEHOLDER=
|
|
375
|
+
API_MASTER_PLACEHOLDER=Filtriranje
|
|
376
376
|
API_MASTER_EXPAND_BTN_TOOLTIP=Raz\u0161iri vse
|
|
377
377
|
API_MASTER_COLLAPSE_BTN_TOOLTIP=Skr\u010Di vse
|
|
378
378
|
API_MASTER_DEPRECATED_CB=Vklju\u010Di zastarele
|
|
@@ -317,7 +317,6 @@ sap.ui.define([
|
|
|
317
317
|
*/
|
|
318
318
|
_processApiIndexAndLoadApiJson: function (aData) {
|
|
319
319
|
var oEntityData,
|
|
320
|
-
oMasterController,
|
|
321
320
|
sTopicId = this._sTopicid;
|
|
322
321
|
|
|
323
322
|
// Cache api-index data
|
|
@@ -344,8 +343,9 @@ sap.ui.define([
|
|
|
344
343
|
|
|
345
344
|
// If target symbol is deprecated - all deprecated records should be shown in the tree
|
|
346
345
|
if (oEntityData.deprecated || oEntityData.bAllContentDeprecated) {
|
|
347
|
-
|
|
348
|
-
|
|
346
|
+
this.getOwnerComponent().getConfigUtil().getMasterView("apiId").then(function(oMasterView) {
|
|
347
|
+
oMasterView.getController().selectDeprecatedSymbol(this._sTopicid);
|
|
348
|
+
}.bind(this));
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
oEntityData.nodes = this._filterEntityByVisibilityInApiJsonData(oEntityData.nodes);
|
|
@@ -303,9 +303,7 @@ sap.ui.define([
|
|
|
303
303
|
return;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
var
|
|
307
|
-
sMasterViewId,
|
|
308
|
-
bPhone = Device.system.phone,
|
|
306
|
+
var bPhone = Device.system.phone,
|
|
309
307
|
sRouteName = oEvent.getParameter("name"),
|
|
310
308
|
sTabId = this.oRouter.getRoute(sRouteName)._oConfig.target[0] + "Tab",
|
|
311
309
|
oTabToSelect = this._oView.byId(sTabId),
|
|
@@ -319,9 +317,10 @@ sap.ui.define([
|
|
|
319
317
|
oViewModel.setProperty("/bHasMaster", bHasMaster);
|
|
320
318
|
|
|
321
319
|
if (bPhone && bHasMaster) { // on phone we need the id of the master view (for navigation)
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
320
|
+
this.getOwnerComponent().getConfigUtil().getMasterView(sRouteName).then(function(oMasterView) {
|
|
321
|
+
var sMasterViewId = oMasterView?.getId();
|
|
322
|
+
oViewModel.setProperty("/sMasterViewId", sMasterViewId);
|
|
323
|
+
});
|
|
325
324
|
}
|
|
326
325
|
|
|
327
326
|
// hide master on route change
|
|
@@ -56,6 +56,8 @@ sap.ui.define([
|
|
|
56
56
|
bundleName: "sap.ui.documentation.messagebundle"
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
+
this._oConfigUtil = this.getOwnerComponent().getConfigUtil();
|
|
60
|
+
|
|
59
61
|
this.setModel(oMessageBundle, "i18n");
|
|
60
62
|
// Load <code>versionInfo</code> to ensure the <code>versionData</code> model is loaded.
|
|
61
63
|
if (Device.system.phone || Device.system.tablet) {
|
|
@@ -305,6 +307,11 @@ sap.ui.define([
|
|
|
305
307
|
oTracker.stop();
|
|
306
308
|
}
|
|
307
309
|
}.bind(this));
|
|
310
|
+
oConsentManager.checkUserAcceptsToPersistDisplaySettings(function(bAccepts) {
|
|
311
|
+
if (!bAccepts) {
|
|
312
|
+
this._oConfigUtil.unsetCookie(this._oConfigUtil.COOKIE_NAMES.CONFIGURATION_APPEARANCE);
|
|
313
|
+
}
|
|
314
|
+
}.bind(this));
|
|
308
315
|
}.bind(this));
|
|
309
316
|
},
|
|
310
317
|
|
|
@@ -211,7 +211,7 @@ sap.ui.define(
|
|
|
211
211
|
return {
|
|
212
212
|
key: sFile,
|
|
213
213
|
name: sFile,
|
|
214
|
-
editable: !!(sFile.endsWith(".xml") || sFile.endsWith(".js")
|
|
214
|
+
editable: !!(sFile.endsWith(".xml") || sFile.endsWith(".js") || sFile === "manifest.json"
|
|
215
215
|
|| (aAdditionalEditableFiles && aAdditionalEditableFiles.indexOf(sFile) > -1)),
|
|
216
216
|
url: sap.ui.require.toUrl((oSample.id).replace(/\./g, "/")) + "/" + sFile
|
|
217
217
|
};
|
|
@@ -531,7 +531,31 @@ sap.ui.define([
|
|
|
531
531
|
}, true).addStyleClass("sapUiDocumentationCommaList");
|
|
532
532
|
},
|
|
533
533
|
_getModuleBlock: function (oControlData, oEntityData) {
|
|
534
|
-
|
|
534
|
+
const versionData = this.getModel("versionData").getData();
|
|
535
|
+
const isModuleAvailable = oControlData.module !== this.NOT_AVAILABLE;
|
|
536
|
+
const library = versionData?.libraries?.find((lib) => lib.name === oEntityData.lib);
|
|
537
|
+
|
|
538
|
+
if (!isModuleAvailable || !library?.version) {
|
|
539
|
+
return _getObjectAttributeBlock("Module", oControlData.module);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
const sGitHubUrl = `https://github.com/SAP/openui5/blob/${library.version}/src/${oEntityData.lib}/src/${oControlData.module}.js`;
|
|
543
|
+
|
|
544
|
+
return _getHBox({
|
|
545
|
+
items: [
|
|
546
|
+
_getLabel({text: "Module:"}),
|
|
547
|
+
_getLink({
|
|
548
|
+
emphasized: true,
|
|
549
|
+
text: oControlData.module,
|
|
550
|
+
href: sGitHubUrl
|
|
551
|
+
}),
|
|
552
|
+
new Image({
|
|
553
|
+
src: "./resources/sap/ui/documentation/sdk/images/link-external.png",
|
|
554
|
+
tooltip: "{i18n>LEGAL_DISCLAIMER_EXTERNAL_TOOLTIP}",
|
|
555
|
+
press: BaseController.prototype.onDisclaimerLinkPress.bind(this._oContainerController)
|
|
556
|
+
})
|
|
557
|
+
]
|
|
558
|
+
}, true);
|
|
535
559
|
},
|
|
536
560
|
_getLibraryBlock: function (oControlData, oEntityData) {
|
|
537
561
|
return _getObjectAttributeBlock("Library", oEntityData.lib);
|
|
@@ -422,14 +422,11 @@ sap.ui.define([
|
|
|
422
422
|
|
|
423
423
|
_enableDataTable: function (oTable) {
|
|
424
424
|
var sTableId = oTable.id,
|
|
425
|
-
oConfig = Object.assign(this._getDataTableConfig(sTableId),
|
|
426
|
-
topStart: {
|
|
427
|
-
buttons: ['colvis', 'pageLength']
|
|
428
|
-
}}}),
|
|
425
|
+
oConfig = Object.assign(this._getDataTableConfig(sTableId)),
|
|
429
426
|
oDataTable;
|
|
430
427
|
|
|
431
428
|
if (oConfig) {
|
|
432
|
-
oDataTable =
|
|
429
|
+
oDataTable = new DataTable().init(sTableId, oTable, oConfig);
|
|
433
430
|
this._getDataTableHelper().addDatatable(oDataTable);
|
|
434
431
|
}
|
|
435
432
|
|
|
@@ -24,7 +24,8 @@ sap.ui.define([
|
|
|
24
24
|
|
|
25
25
|
"COOKIE_NAMES": {
|
|
26
26
|
"APPROVAL_REQUESTED": "dk_approval_requested",
|
|
27
|
-
"ALLOW_FUNCTIONAL_COOKIES": "dk_allow_functional_cookies"
|
|
27
|
+
"ALLOW_FUNCTIONAL_COOKIES": "dk_allow_functional_cookies",
|
|
28
|
+
"CONFIGURATION_APPEARANCE": "appearance"
|
|
28
29
|
},
|
|
29
30
|
|
|
30
31
|
"LOCAL_STORAGE_NAMES": {
|
|
@@ -41,14 +42,19 @@ sap.ui.define([
|
|
|
41
42
|
return !!bIsSplitView;
|
|
42
43
|
},
|
|
43
44
|
|
|
45
|
+
/**
|
|
46
|
+
* Obtains the master view
|
|
47
|
+
* @param {string} sRouteName
|
|
48
|
+
* @returns {Promise<sap.ui.core.mvc.View>} The master view
|
|
49
|
+
*/
|
|
44
50
|
getMasterView: function(sRouteName) {
|
|
45
51
|
var sMasterTargetName = this._getMasterTargetName(sRouteName),
|
|
46
52
|
sTargetConfig = this._getTargetConfig(sMasterTargetName),
|
|
47
53
|
sViewName = sTargetConfig.viewName;
|
|
48
54
|
|
|
49
|
-
|
|
55
|
+
sViewName = "sap.ui.documentation.sdk.view." + capitalize(sViewName, 0);
|
|
50
56
|
|
|
51
|
-
|
|
57
|
+
return this._oComponent.getRouter().getViews().getView({viewName: sViewName, type: "XML"});
|
|
52
58
|
},
|
|
53
59
|
|
|
54
60
|
setCookie: function (sCookieName, sValue) {
|
|
@@ -90,6 +96,10 @@ sap.ui.define([
|
|
|
90
96
|
window.localStorage.removeItem(sItem);
|
|
91
97
|
},
|
|
92
98
|
|
|
99
|
+
unsetCookie: function (sCookieName) {
|
|
100
|
+
document.cookie = `${sCookieName}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`;
|
|
101
|
+
},
|
|
102
|
+
|
|
93
103
|
_getMasterTargetName: function(sRouteName) {
|
|
94
104
|
var oRouteConfig = this._getRouteConfig(sRouteName),
|
|
95
105
|
bIsSplitView = oRouteConfig && oRouteConfig.target.length === 2,
|
|
@@ -22,6 +22,7 @@ sap.ui.define(
|
|
|
22
22
|
"use strict";
|
|
23
23
|
|
|
24
24
|
const TRUST_ARC = {
|
|
25
|
+
CONSENT_PREFERENCES_ORIGIN: "https://consent-pref.trustarc.com",
|
|
25
26
|
BASE_URL: "https://consent.trustarc.com/notice",
|
|
26
27
|
URL_QUERY: "?domain=ui5.sap.com&c=teconsent>m=1&pcookie&js=nj¬iceType=bb&pn=1-0&privacypolicylink=https%3A%2F%2Fwww.sap.com%2Fabout%2Flegal%2Fprivacy.html&text=true>m=1",
|
|
27
28
|
get COMPLETE_URL() {
|
|
@@ -58,13 +58,11 @@ sap.ui.define([
|
|
|
58
58
|
(window.matchMedia('(prefers-color-scheme: dark)').matches ||
|
|
59
59
|
window.matchMedia('(prefers-color-scheme: light)').matches));
|
|
60
60
|
|
|
61
|
-
this.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
}.bind(this));
|
|
61
|
+
if (this._oConfigUtil.getCookieValue(CONFIGURATION_APPEARANCE)) {
|
|
62
|
+
ThemePicker._applyCookiesConfiguration(this._aConfiguration);
|
|
63
|
+
} else {
|
|
64
|
+
ThemePicker._applyDefaultConfiguration(this._aConfiguration);
|
|
65
|
+
}
|
|
68
66
|
|
|
69
67
|
};
|
|
70
68
|
|
|
@@ -18,6 +18,7 @@ sap.ui.define(
|
|
|
18
18
|
"use strict";
|
|
19
19
|
var FileEditor = Control.extend("sap.ui.documentation.sdk.controls.FileEditor", {
|
|
20
20
|
metadata: {
|
|
21
|
+
library: "sap.ui.documentation",
|
|
21
22
|
properties: {
|
|
22
23
|
/**
|
|
23
24
|
* Array containing list of objects which have property name and link
|
|
@@ -3,6 +3,9 @@ COOKIE_SETTINGS_DIALOG_TITLE=Ihre Cookie-Einstellungen
|
|
|
3
3
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=Erforderliche Cookies
|
|
4
4
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=Diese Cookies sind f\u00FCr die Kernfunktionalit\u00E4t der Website erforderlich.
|
|
5
5
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=Wir verwenden Cookies, um Ihr Erlebnis auf unserer Website zu verbessern. Wenn Sie mit der Nutzung dieser Website fortfahren, stimmen Sie der Verwendung unserer Cookies zu.
|
|
6
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TITLE=Funktionale Cookies
|
|
7
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=Diese Cookies werden zum Beibehalten Ihrer Einstellungen f\u00FCr das Erscheinungsbild und die Anzeigesprache der Site verwendet.
|
|
8
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TEXT=Zur Verbesserung Ihrer Erfahrung auf dieser Website verwenden wir Cookies, die sich Ihre Einstellungen f\u00FCr das Erscheinungsbild (helles oder dunkles Theme) und die Anzeigesprache merken. Mit diesen Cookies stellen wir sicher, dass die Einstellungen, die Sie gew\u00E4hlt haben, bei jedem Besuch und jeder Aktualisierung der Seite angewandt werden, wodurch Sie eine konsistente und personalisierte Erfahrung haben.
|
|
6
9
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=Weitere Informationen
|
|
7
10
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=Alle akzeptieren
|
|
8
11
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=Alle ablehnen
|
|
@@ -3,6 +3,9 @@ COOKIE_SETTINGS_DIALOG_TITLE=Your Cookie Settings
|
|
|
3
3
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=Required Cookies
|
|
4
4
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=These cookies are required to enable core site functionality.
|
|
5
5
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=We use cookies to improve your experience on our site. By continuing to use this site, you consent to use our cookies.
|
|
6
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TITLE=Functional Cookies
|
|
7
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=These cookies are used to keep your preferences for site appearance and display language.
|
|
8
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TEXT=To enhance your browsing experience, we use cookies to remember your preferences for the site's appearance (light or dark theme) and display language. These cookies ensure that your chosen settings are applied every time you visit or refresh the page, providing a consistent and personalized experience.
|
|
6
9
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=More Info
|
|
7
10
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=Accept All
|
|
8
11
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=Reject All
|
|
@@ -3,9 +3,12 @@ COOKIE_SETTINGS_DIALOG_TITLE=Options de vos cookies
|
|
|
3
3
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=Cookies obligatoires
|
|
4
4
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=Ces cookies sont requis pour activer les fonctions centrales du site.
|
|
5
5
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=Nous utilisons des cookies pour am\u00E9liorer votre exp\u00E9rience sur notre site. En poursuivant votre visite, vous consentez \u00E0 l'utilisation de nos cookies.
|
|
6
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TITLE=Cookies fonctionnels
|
|
7
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=Ces cookies sont utilis\u00E9s pour conserver vos pr\u00E9f\u00E9rences concernant l'aspect visuel du site et la langue d'affichage.
|
|
8
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TEXT=Pour am\u00E9liorer votre exp\u00E9rience de navigation, nous utilisons des cookies pour nous rappeler vos pr\u00E9f\u00E9rences concernant l'aspect visuel du site (th\u00E8me clair ou sombre) et la langue d'affichage. Ces cookies garantissent que les options que vous avez s\u00E9lectionn\u00E9es sont appliqu\u00E9es chaque fois que vous consultez le site ou que vous actualisez la page, vous offrant ainsi une exp\u00E9rience coh\u00E9rente et personnalis\u00E9e.
|
|
6
9
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=Plus d'informations
|
|
7
10
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=Accepter tout
|
|
8
11
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=Refuser tout
|
|
9
12
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SET_PREFERENCES=D\u00E9finir les pr\u00E9f\u00E9rences
|
|
10
13
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SAVE_PREFERENCES=Sauvegarder les pr\u00E9f\u00E9rences
|
|
11
|
-
COOKIE_SETTINGS_DIALOG_CANCEL_BTN=
|
|
14
|
+
COOKIE_SETTINGS_DIALOG_CANCEL_BTN=Annuler
|
|
@@ -998,10 +998,10 @@ var hljs = (function () {
|
|
|
998
998
|
* @param {string} message
|
|
999
999
|
*/
|
|
1000
1000
|
const deprecated = (version, message) => {
|
|
1001
|
-
if (seenDeprecations[`1.
|
|
1001
|
+
if (seenDeprecations[`1.135.0/${message}`]) return;
|
|
1002
1002
|
|
|
1003
|
-
console.log(`Deprecated as of 1.
|
|
1004
|
-
seenDeprecations[`1.
|
|
1003
|
+
console.log(`Deprecated as of 1.135.0. ${message}`);
|
|
1004
|
+
seenDeprecations[`1.135.0/${message}`] = true;
|
|
1005
1005
|
};
|
|
1006
1006
|
|
|
1007
1007
|
/* eslint-disable no-throw-literal */
|
|
@@ -209,9 +209,14 @@
|
|
|
209
209
|
<m:ObjectStatus text="Visibility: {parts : [{path : 'visibility'}, {path : 'allowedFor'}], formatter : '.formatter.formatVisibility'}"
|
|
210
210
|
state="{= ${visibility} === 'public' ? 'Success' : 'Warning'}"/>
|
|
211
211
|
<m:ObjectStatus visible="{=${since} !== undefined}" text="Since: {since}" />
|
|
212
|
-
<m:
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
<m:HBox visible="{=${borrowedFrom} !== undefined}">
|
|
213
|
+
<m:items>
|
|
214
|
+
<m:Text text="Borrowed from: " renderWhitespace="true"></m:Text>
|
|
215
|
+
<m:Link
|
|
216
|
+
text="{borrowedFrom}" style='vertical-align:initial' target='_self' href='api/{borrowedFrom}'>
|
|
217
|
+
</m:Link>
|
|
218
|
+
</m:items>
|
|
219
|
+
</m:HBox>
|
|
215
220
|
</layout:VerticalLayout>
|
|
216
221
|
</custom:Row>
|
|
217
222
|
</custom:LightTable>
|
|
@@ -318,9 +323,14 @@
|
|
|
318
323
|
enableFormattedText="true"
|
|
319
324
|
class="sapUiTinyMarginBottom sapUiTinyMarginTop">
|
|
320
325
|
</m:MessageStrip>
|
|
321
|
-
<m:
|
|
322
|
-
|
|
323
|
-
|
|
326
|
+
<m:HBox visible="{=${borrowedFrom} !== undefined}">
|
|
327
|
+
<m:items>
|
|
328
|
+
<m:Text text="Borrowed from: " renderWhitespace="true"></m:Text>
|
|
329
|
+
<m:Link
|
|
330
|
+
text="{borrowedFrom}" style='vertical-align:initial' target='_self' href='api/{borrowedFrom}'>
|
|
331
|
+
</m:Link>
|
|
332
|
+
</m:items>
|
|
333
|
+
</m:HBox>
|
|
324
334
|
</layout:VerticalLayout>
|
|
325
335
|
</custom:Row>
|
|
326
336
|
</custom:LightTable>
|
|
@@ -387,9 +397,14 @@
|
|
|
387
397
|
showCloseButton="false"
|
|
388
398
|
class="sapUiSmallMarginBottom sapUiSmallMarginTop">
|
|
389
399
|
</m:MessageStrip>
|
|
390
|
-
<m:
|
|
391
|
-
|
|
392
|
-
|
|
400
|
+
<m:HBox visible="{=${borrowedFrom} !== undefined}">
|
|
401
|
+
<m:items>
|
|
402
|
+
<m:Text text="Borrowed from: " renderWhitespace="true"></m:Text>
|
|
403
|
+
<m:Link
|
|
404
|
+
text="{borrowedFrom}" style='vertical-align:initial' target='_self' href='api/{borrowedFrom}'>
|
|
405
|
+
</m:Link>
|
|
406
|
+
</m:items>
|
|
407
|
+
</m:HBox>
|
|
393
408
|
</layout:VerticalLayout>
|
|
394
409
|
</custom:Row>
|
|
395
410
|
</custom:LightTable>
|
|
@@ -437,9 +452,14 @@
|
|
|
437
452
|
enableFormattedText="true"
|
|
438
453
|
class="sapUiTinyMarginBottom sapUiTinyMarginTop">
|
|
439
454
|
</m:MessageStrip>
|
|
440
|
-
<m:
|
|
441
|
-
|
|
442
|
-
|
|
455
|
+
<m:HBox visible="{=${borrowedFrom} !== undefined}">
|
|
456
|
+
<m:items>
|
|
457
|
+
<m:Text text="Borrowed from: " renderWhitespace="true"></m:Text>
|
|
458
|
+
<m:Link
|
|
459
|
+
text="{borrowedFrom}" style='vertical-align:initial' target='_self' href='api/{borrowedFrom}'>
|
|
460
|
+
</m:Link>
|
|
461
|
+
</m:items>
|
|
462
|
+
</m:HBox>
|
|
443
463
|
</layout:VerticalLayout>
|
|
444
464
|
</custom:Row>
|
|
445
465
|
</custom:LightTable>
|
|
@@ -113,6 +113,7 @@ html.sap-tablet:not(.sap-desktop) {
|
|
|
113
113
|
.itemgroup, div.disclaimer-page-block li, div.disclaimer-page-block li p {
|
|
114
114
|
margin-top: 1.5em;
|
|
115
115
|
margin-bottom: 1.5em;
|
|
116
|
+
word-wrap: break-word;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
.collapsible.expanded {
|
|
@@ -581,6 +582,10 @@ html.sap-tablet:not(.sap-desktop) {
|
|
|
581
582
|
overflow-x: auto;
|
|
582
583
|
}
|
|
583
584
|
|
|
585
|
+
.tableWrapper.datatable{
|
|
586
|
+
overflow-x: visible;
|
|
587
|
+
}
|
|
588
|
+
|
|
584
589
|
table {
|
|
585
590
|
border: 0;
|
|
586
591
|
border-color: darken(@sapUiListTableGroupHeaderBorderColor, 10);
|