@openui5/sap.ui.documentation 1.133.0 → 1.134.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 +1 -22
- 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/sdk/blocks/IndexEntry.js +1 -0
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +25 -1
- package/src/sap/ui/documentation/sdk/controller/util/CookiesConsentManager.js +1 -0
- 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 +18 -0
- 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/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
|
|
|
@@ -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.134.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.134.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.134.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.134.0",
|
|
20
|
+
"@openui5/themelib_sap_belize": "1.134.0",
|
|
21
|
+
"@openui5/themelib_sap_fiori_3": "1.134.0",
|
|
22
|
+
"@openui5/themelib_sap_horizon": "1.134.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.134.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.134.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.134.0',
|
|
36
36
|
dependencies : ['sap.ui.core','sap.m'],
|
|
37
37
|
types: [],
|
|
38
38
|
interfaces: [],
|
|
@@ -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);
|
|
@@ -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() {
|
|
@@ -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
|
|
@@ -1,11 +1,29 @@
|
|
|
1
|
+
#This is the resource bundle for the SAPUI5 sap.ui.documentation library
|
|
2
|
+
#
|
|
1
3
|
|
|
4
|
+
#XHED: The title of the dialog for configuring the cookie settings
|
|
2
5
|
COOKIE_SETTINGS_DIALOG_TITLE=Your Cookie Settings
|
|
6
|
+
#XTXT: Title of the section about the required cookies used in the application
|
|
3
7
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=Required Cookies
|
|
8
|
+
#XTXT: Summary note that explains what are the required cookies in the application
|
|
4
9
|
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=These cookies are required to enable core site functionality.
|
|
10
|
+
#XTXT: Detailed note that explains why we use the required cookies in the application
|
|
5
11
|
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.
|
|
12
|
+
#XTXT: Title of the panel that contains more detailed information
|
|
13
|
+
#XTXT: Title of the section about the functional cookies used in the application
|
|
14
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_TITLE=Functional Cookies
|
|
15
|
+
#XTXT: Summary note that explains what are the functional cookies in the application
|
|
16
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SUMMARY=These cookies are used to keep your preferences for site appearance and display language.
|
|
17
|
+
#XTXT: Detailed note that explains why we use the functional cookies in the application
|
|
18
|
+
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
19
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=More Info
|
|
20
|
+
#XTXT: Title of the button to accept all cookies
|
|
7
21
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=Accept All
|
|
22
|
+
#XTXT: Title of the button to reject all cookies
|
|
8
23
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=Reject All
|
|
24
|
+
#XTXT: Title of the button to open the edit panel to edit cookie preferences
|
|
9
25
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SET_PREFERENCES=Set Preferences
|
|
26
|
+
#XTXT: Title of the button to save the edited cookie preferences
|
|
10
27
|
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SAVE_PREFERENCES=Save Preferences
|
|
28
|
+
#XTXT: Title of the button to discard the edited cookie preferences
|
|
11
29
|
COOKIE_SETTINGS_DIALOG_CANCEL_BTN=Cancel
|
|
@@ -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.134.0/${message}`]) return;
|
|
1002
1002
|
|
|
1003
|
-
console.log(`Deprecated as of 1.
|
|
1004
|
-
seenDeprecations[`1.
|
|
1003
|
+
console.log(`Deprecated as of 1.134.0. ${message}`);
|
|
1004
|
+
seenDeprecations[`1.134.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>
|