@openui5/sap.ui.documentation 1.120.7 → 1.121.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.
Files changed (103) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +7 -7
  4. package/src/sap/ui/documentation/.library +3 -9
  5. package/src/sap/ui/documentation/DemoAppsCardHeader.js +62 -0
  6. package/src/sap/ui/documentation/DemokitTreeItem.js +1 -0
  7. package/src/sap/ui/documentation/DemokitTreeItemRenderer.js +20 -13
  8. package/src/sap/ui/documentation/ParamText.js +2 -1
  9. package/src/sap/ui/documentation/library.js +23 -10
  10. package/src/sap/ui/documentation/messagebundle.properties +20 -20
  11. package/src/sap/ui/documentation/messagebundle_ar.properties +10 -10
  12. package/src/sap/ui/documentation/messagebundle_bg.properties +10 -10
  13. package/src/sap/ui/documentation/messagebundle_ca.properties +10 -10
  14. package/src/sap/ui/documentation/messagebundle_cnr.properties +10 -10
  15. package/src/sap/ui/documentation/messagebundle_cs.properties +10 -10
  16. package/src/sap/ui/documentation/messagebundle_cy.properties +10 -10
  17. package/src/sap/ui/documentation/messagebundle_da.properties +12 -12
  18. package/src/sap/ui/documentation/messagebundle_de.properties +16 -16
  19. package/src/sap/ui/documentation/messagebundle_el.properties +10 -10
  20. package/src/sap/ui/documentation/messagebundle_en.properties +398 -10
  21. package/src/sap/ui/documentation/messagebundle_en_GB.properties +10 -10
  22. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +2 -2
  23. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +10 -10
  24. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +2 -2
  25. package/src/sap/ui/documentation/messagebundle_es.properties +11 -11
  26. package/src/sap/ui/documentation/messagebundle_es_MX.properties +10 -10
  27. package/src/sap/ui/documentation/messagebundle_et.properties +10 -10
  28. package/src/sap/ui/documentation/messagebundle_fi.properties +10 -10
  29. package/src/sap/ui/documentation/messagebundle_fr.properties +10 -10
  30. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +10 -10
  31. package/src/sap/ui/documentation/messagebundle_hi.properties +10 -10
  32. package/src/sap/ui/documentation/messagebundle_hr.properties +11 -11
  33. package/src/sap/ui/documentation/messagebundle_hu.properties +10 -10
  34. package/src/sap/ui/documentation/messagebundle_id.properties +10 -10
  35. package/src/sap/ui/documentation/messagebundle_it.properties +11 -11
  36. package/src/sap/ui/documentation/messagebundle_iw.properties +10 -10
  37. package/src/sap/ui/documentation/messagebundle_ja.properties +10 -10
  38. package/src/sap/ui/documentation/messagebundle_kk.properties +10 -10
  39. package/src/sap/ui/documentation/messagebundle_ko.properties +11 -11
  40. package/src/sap/ui/documentation/messagebundle_lt.properties +10 -10
  41. package/src/sap/ui/documentation/messagebundle_lv.properties +10 -10
  42. package/src/sap/ui/documentation/messagebundle_mk.properties +15 -15
  43. package/src/sap/ui/documentation/messagebundle_ms.properties +10 -10
  44. package/src/sap/ui/documentation/messagebundle_nl.properties +10 -10
  45. package/src/sap/ui/documentation/messagebundle_no.properties +10 -10
  46. package/src/sap/ui/documentation/messagebundle_pl.properties +10 -10
  47. package/src/sap/ui/documentation/messagebundle_pt.properties +10 -10
  48. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +10 -10
  49. package/src/sap/ui/documentation/messagebundle_ro.properties +10 -10
  50. package/src/sap/ui/documentation/messagebundle_ru.properties +12 -12
  51. package/src/sap/ui/documentation/messagebundle_sh.properties +10 -10
  52. package/src/sap/ui/documentation/messagebundle_sk.properties +10 -10
  53. package/src/sap/ui/documentation/messagebundle_sl.properties +10 -10
  54. package/src/sap/ui/documentation/messagebundle_sr.properties +10 -10
  55. package/src/sap/ui/documentation/messagebundle_sv.properties +10 -10
  56. package/src/sap/ui/documentation/messagebundle_th.properties +10 -10
  57. package/src/sap/ui/documentation/messagebundle_tr.properties +10 -10
  58. package/src/sap/ui/documentation/messagebundle_uk.properties +10 -10
  59. package/src/sap/ui/documentation/messagebundle_vi.properties +10 -10
  60. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +10 -10
  61. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +10 -10
  62. package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +40 -30
  63. package/src/sap/ui/documentation/sdk/controller/App.controller.js +20 -12
  64. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +3 -3
  65. package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +208 -459
  66. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +9 -8
  67. package/src/sap/ui/documentation/sdk/controller/News.controller.js +3 -3
  68. package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +13 -12
  69. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +24 -18
  70. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +18 -1
  71. package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +3 -1
  72. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +2 -1
  73. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +3 -3
  74. package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +5 -3
  75. package/src/sap/ui/documentation/sdk/controller/util/URLUtil.js +16 -16
  76. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +8 -8
  77. package/src/sap/ui/documentation/sdk/images/DemoApps_intro_card.svg +8 -0
  78. package/src/sap/ui/documentation/sdk/index.js +1 -1
  79. package/src/sap/ui/documentation/sdk/model/formatter.js +323 -291
  80. package/src/sap/ui/documentation/sdk/model/libraryData.js +9 -26
  81. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +14905 -8737
  82. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +6 -3
  83. package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +1 -1
  84. package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +31 -28
  85. package/src/sap/ui/documentation/sdk/view/App.view.xml +5 -4
  86. package/src/sap/ui/documentation/sdk/view/DemoApps.view.xml +189 -141
  87. package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +34 -30
  88. package/src/sap/ui/documentation/sdk/view/Tools.view.xml +2 -2
  89. package/src/sap/ui/documentation/themes/base/DemoApps.less +180 -0
  90. package/src/sap/ui/documentation/themes/base/DemokitTreeItem.less +20 -0
  91. package/src/sap/ui/documentation/themes/base/Documentation.less +6 -8
  92. package/src/sap/ui/documentation/themes/base/Search.less +1 -1
  93. package/src/sap/ui/documentation/themes/base/library.source.less +3 -2
  94. package/src/sap/ui/documentation/themes/sap_horizon_hcb/DemoApps.less +11 -0
  95. package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +3 -1
  96. package/src/sap/ui/documentation/themes/sap_horizon_hcw/DemoApps.less +30 -0
  97. package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +3 -1
  98. package/LICENSES/BSD-2-Clause.txt +0 -22
  99. package/src/sap/ui/documentation/sdk/images/DemoApps_M_and_L_cropped.jpg +0 -0
  100. package/src/sap/ui/documentation/sdk/images/DemoApps_S_cropped.jpg +0 -0
  101. package/src/sap/ui/documentation/sdk/thirdparty/esprima.js +0 -3756
  102. package/src/sap/ui/documentation/sdk/view/BlockLayoutCell.fragment.xml +0 -56
  103. package/src/sap/ui/documentation/sdk/view/BlockLayoutTeaserCell.fragment.xml +0 -60
package/.reuse/dep5 CHANGED
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
28
28
  # OpenUI5 code
29
29
 
30
30
  Files: *
31
- Copyright: 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
31
+ Copyright: 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
32
32
  License: Apache-2.0
33
33
 
34
34
 
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
68
68
 
69
69
  Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
70
70
  Copyright:
71
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
71
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
72
72
  Spencer Tipping
73
73
  License: Apache-2.0 and MIT
74
74
  Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
83
83
 
84
84
  Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
85
85
  Copyright:
86
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
86
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
87
87
  OpenJS Foundation and other contributors
88
88
  License: Apache-2.0 and MIT
89
89
  Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
90
90
 
91
91
  Files: src/sap.ui.core/src/sap/base/util/_merge.js
92
92
  Copyright:
93
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
93
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
94
94
  OpenJS Foundation and other contributors
95
95
  License: Apache-2.0 and MIT
96
96
  Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
97
97
 
98
98
  Files: src/sap.ui.core/src/jquery.sap.script.js
99
99
  Copyright:
100
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
100
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
101
101
  OpenJS Foundation and other contributors
102
102
  License: Apache-2.0 and MIT
103
103
  Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
104
104
 
105
105
  Files: src/sap.ui.core/src/sap/ui/Device.js
106
106
  Copyright:
107
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
107
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
108
108
  2011, John Resig
109
109
  License: Apache-2.0 and MIT
110
110
  Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
111
111
 
112
112
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
113
113
  Copyright:
114
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
114
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
115
115
  2014 jQuery Foundation and other contributors
116
116
  License: Apache-2.0 and MIT
117
117
  Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
123
123
 
124
124
  Files: src/sap.ui.core/src/jquery.sap.dom.js
125
125
  Copyright:
126
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
126
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
127
127
  2014 jQuery Foundation and other contributors
128
128
  License: Apache-2.0 and MIT
129
129
  Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
130
130
 
131
131
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
132
132
  Copyright:
133
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
133
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
134
134
  2014 jQuery Foundation and other contributors
135
135
  License: Apache-2.0 and MIT
136
136
  Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
162
162
 
163
163
  Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
164
164
  Copyright:
165
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
165
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
166
166
  2012 Wei-Ko Kao
167
167
  License: Apache-2.0 and MIT
168
168
  Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
@@ -177,6 +177,13 @@ Copyright: jQuery Foundation and other contributors
177
177
  License: MIT
178
178
  Comment: these files belong to: JUnit Reporter for QUnit
179
179
 
180
+ Files: src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
181
+ Copyright:
182
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
183
+ jQuery Foundation and other contributors
184
+ License: Apache-2.0 and MIT
185
+ Comment: these files contain content from SAP and JUnit Reporter for QUnit: qunit-junit.js is overall written by SAP, but contains a modified copy of JUnit Reporter for QUnit (qunit-reporter-junit)
186
+
180
187
  Files: src/sap.ui.core/src/sap/ui/thirdparty/iscroll.js
181
188
  Copyright: 2012 Matteo Spinelli
182
189
  License: MIT
@@ -294,14 +301,14 @@ Comment: these files belong to: blanket.js
294
301
 
295
302
  Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
296
303
  Copyright:
297
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
304
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
298
305
  Douglas Crockford
299
306
  License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
300
307
  Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
301
308
 
302
309
  Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
303
310
  Copyright:
304
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
311
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
305
312
  2010 Douglas Crockford
306
313
  License: Apache-2.0
307
314
  Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
@@ -335,7 +342,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
335
342
 
336
343
  Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
337
344
  Copyright:
338
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
345
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
339
346
  Behrang Norouzinia
340
347
  License: Apache-2.0 and MIT
341
348
  Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
@@ -347,14 +354,14 @@ Comment: these files belong to: vkBeautify
347
354
 
348
355
  Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
349
356
  Copyright:
350
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
357
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
351
358
  Isaac Z. Schlueter and Contributors
352
359
  License: Apache-2.0 and ISC
353
360
  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.
354
361
 
355
362
  Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
356
363
  Copyright:
357
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
364
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
358
365
  Arthur David Olson, Paul Eggert and other contributors
359
366
  License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
360
367
  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
@@ -362,11 +369,6 @@ Comment: these files contain content from SAP and Time Zone Database: _timezones
362
369
 
363
370
  # Library: sap.ui.documentation:
364
371
 
365
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
366
- Copyright: 2013 Ariya Hidayat and other contributors
367
- License: BSD-2-Clause
368
- Comment: these files belong to: Esprima
369
-
370
372
  Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
371
373
  Copyright: 2006-2020, Ivan Sagalaev
372
374
  License: BSD-3-Clause
@@ -459,7 +461,7 @@ Comment: these files belong to: UI5 Web Components
459
461
 
460
462
  Files: lib/jsdoc/ui5/plugin.js
461
463
  Copyright:
462
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
464
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
463
465
  2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
464
466
  License: Apache-2.0
465
467
  Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
package/THIRDPARTY.txt CHANGED
@@ -15,7 +15,7 @@ Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
15
15
 
16
16
  Library: sap.ui.codeeditor:
17
17
 
18
- Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
18
+ Component: Ace (Ajax.org Cloud9 Editor), version: 1.31.1
19
19
  Copyright: 2010, Ajax.org B.V.
20
20
  License: BSD-3-Clause
21
21
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -124,6 +124,7 @@ Copyright: jQuery Foundation and other contributors
124
124
  License: MIT
125
125
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
126
126
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-reporter-junit.js
127
+ src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
127
128
 
128
129
  Component: cubiq.org - iScroll, version: 4.2.5
129
130
  Copyright: 2012 Matteo Spinelli
@@ -179,7 +180,7 @@ License: Apache-2.0
179
180
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
180
181
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
181
182
 
182
- Component: Unicode Common Locale Data Repository, version: 43
183
+ Component: Unicode Common Locale Data Repository, version: 44
183
184
  Copyright: 1991-2023 Unicode, Inc.
184
185
  License: Unicode-DFS-2015
185
186
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
@@ -334,7 +335,7 @@ License: ISC
334
335
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
335
336
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
336
337
 
337
- Component: Time Zone Database, version: 2023c
338
+ Component: Time Zone Database, version: 2023d
338
339
  Copyright: Arthur David Olson, Paul Eggert and other contributors
339
340
  License: LicenseRef-tzdata-PublicDomain
340
341
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
@@ -343,13 +344,7 @@ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
343
344
 
344
345
  Library: sap.ui.documentation:
345
346
 
346
- Component: Esprima, version: 1.2.2
347
- Copyright: 2013 Ariya Hidayat and other contributors
348
- License: BSD-2-Clause
349
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
350
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
351
-
352
- Component: highlight.js, version: 10.4.1
347
+ Component: highlight.js, version: 11.9.0
353
348
  Copyright: 2006-2020, Ivan Sagalaev
354
349
  License: BSD-3-Clause
355
350
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -466,7 +461,7 @@ License: Apache-2.0
466
461
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
467
462
  Contained in: lib/jsdoc/ui5/plugin.js
468
463
 
469
- Component: SAP Theming Base Content, version: 11.6.8
464
+ Component: SAP Theming Base Content, version: 11.10.0
470
465
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
471
466
  License: Apache-2.0
472
467
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -663,38 +658,6 @@ END of license: Apache-2.0
663
658
  =================================
664
659
 
665
660
 
666
- =================================
667
- BEGIN of license: BSD-2-Clause
668
- =================================
669
-
670
- Copyright (c) <year> <owner>. All rights reserved.
671
-
672
- Redistribution and use in source and binary forms, with or without modification,
673
- are permitted provided that the following conditions are met:
674
-
675
- 1. Redistributions of source code must retain the above copyright notice,
676
- this list of conditions and the following disclaimer.
677
-
678
- 2. Redistributions in binary form must reproduce the above copyright notice,
679
- this list of conditions and the following disclaimer in the documentation
680
- and/or other materials provided with the distribution.
681
-
682
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
683
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
684
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
685
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
686
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
687
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
688
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
689
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
690
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
691
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
692
-
693
- =================================
694
- END of license: BSD-2-Clause
695
- =================================
696
-
697
-
698
661
  =================================
699
662
  BEGIN of license: BSD-3-Clause
700
663
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.documentation",
3
- "version": "1.120.7",
3
+ "version": "1.121.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.120.7",
18
- "@openui5/sap.ui.core": "1.120.7",
19
- "@openui5/sap.ui.layout": "1.120.7",
20
- "@openui5/themelib_sap_belize": "1.120.7",
21
- "@openui5/themelib_sap_fiori_3": "1.120.7",
22
- "@openui5/themelib_sap_horizon": "1.120.7"
17
+ "@openui5/sap.m": "1.121.0",
18
+ "@openui5/sap.ui.core": "1.121.0",
19
+ "@openui5/sap.ui.layout": "1.121.0",
20
+ "@openui5/themelib_sap_belize": "1.121.0",
21
+ "@openui5/themelib_sap_fiori_3": "1.121.0",
22
+ "@openui5/themelib_sap_horizon": "1.121.0"
23
23
  }
24
24
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.120.7</version>
9
+ <version>1.121.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library for the Demokit 2.0.</documentation>
12
12
 
@@ -32,7 +32,6 @@
32
32
  </jscoverage>
33
33
  <packaging xmlns="http://www.sap.com/ui5/buildext/packaging" version="2.0" >
34
34
  <module-infos>
35
- <raw-module name="sap/ui/documentation/sdk/thirdparty/esprima.js" />
36
35
  <raw-module name="sap/ui/documentation/sdk/thirdparty/elasticlunr.js" />
37
36
  <raw-module name="sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js" requiresTopLevelScope="false" />
38
37
  </module-infos>
@@ -42,13 +41,8 @@
42
41
  </packaging>
43
42
  <!-- Thirdparty references -->
44
43
  <thirdparty xmlns="http://www.sap.com/ui5/buildext/thirdparty" >
45
- <lib name="esprima" displayName="Esprima" npmName="esprima" version="1.2.2" hash="86db44deddd075b5e8e718500ffddeb8" homepage="http://esprima.org" id="73554900106100003281">
46
- <license url="http://esprima.org/doc/index.html#license" type="BSD-2-Clause" />
47
- <copyright>2013 Ariya Hidayat and other contributors</copyright>
48
- <pattern>sap/ui/documentation/sdk/thirdparty/esprima.js</pattern>
49
- </lib>
50
- <lib name="highlight.js" displayName="highlight.js" npmName="highlight.js" hash="b447d2220863c232801f6acfa58b22c0" version="10.4.1" homepage="https://highlightjs.org/" id="73555000106100051976">
51
- <license url="https://github.com/highlightjs/highlight.js/blob/10.4.1/LICENSE" type="BSD-3-Clause" />
44
+ <lib name="highlight.js" displayName="highlight.js" npmName="highlight.js" hash="96a6c881e38caa1b71ffeb11fe783b80" version="11.9.0" homepage="https://highlightjs.org/" id="73555000106100051976">
45
+ <license url="https://github.com/highlightjs/highlight.js/blob/11.9.0/LICENSE" type="BSD-3-Clause" />
52
46
  <copyright>2006-2020, Ivan Sagalaev</copyright>
53
47
  <pattern>sap/ui/documentation/sdk/thirdparty/highlight.js/*</pattern>
54
48
  </lib>
@@ -0,0 +1,62 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ "sap/f/cards/Header",
9
+ "sap/m/Link"
10
+ ], function (Header, Link) {
11
+ "use strict";
12
+
13
+ var DemoAppsCardHeader = Header.extend("sap.ui.documentation.DemoAppsCardHeader", {
14
+ metadata: {
15
+ properties: {
16
+ href: { type: "sap.ui.core.URI", defaultValue: null },
17
+ hrefText: { type: "string", defaultValue: null }
18
+ }
19
+ },
20
+ renderer: {
21
+ apiVersion: 2
22
+ }
23
+ });
24
+
25
+ DemoAppsCardHeader.prototype.init = function () {
26
+ if (Header.prototype.init) {
27
+ Header.prototype.init.call(this);
28
+ }
29
+
30
+ this._oLink = new Link({
31
+ target: "_blank",
32
+ wrapping: true
33
+ }).addStyleClass("sapUiDemoKitDemoAppsCardHeaderLink");
34
+ };
35
+
36
+ DemoAppsCardHeader.prototype.exit = function () {
37
+ if (Header.prototype.exit) {
38
+ Header.prototype.exit.call(this);
39
+ }
40
+
41
+ this._oLink.destroy();
42
+ this._oLink = null;
43
+ };
44
+
45
+ DemoAppsCardHeader.prototype.onAfterRendering = function () {
46
+ if (Header.prototype.onAfterRendering) {
47
+ Header.prototype.onAfterRendering.call(this);
48
+ }
49
+
50
+ if (this.getHref() && this.getHrefText()) {
51
+ this._oLink.setText(this.getHrefText());
52
+ this._oLink.setHref(this.getHref());
53
+
54
+ var $headerText = this.$().find('.sapFCardHeaderText');
55
+ if ($headerText.length && !$headerText.html()) {
56
+ this._oLink.placeAt($headerText[0]);
57
+ }
58
+ }
59
+ };
60
+
61
+ return DemoAppsCardHeader;
62
+ });
@@ -19,6 +19,7 @@ sap.ui.define([
19
19
  properties: {
20
20
  title : {type : "string", defaultValue : ""},
21
21
  deprecated: {type : "boolean", defaultValue : false},
22
+ experimental: {type : "boolean", defaultValue : false},
22
23
  target: {type: "string", defaultValue: ""},
23
24
  encodeTarget: {type: "boolean", defaultValue: false},
24
25
  section: {type: "string", defaultValue: "#"},
@@ -37,7 +37,16 @@ function(TreeItemBaseRenderer, Core, Renderer) {
37
37
  };
38
38
 
39
39
  DemokitTreeItemRender.renderLIContent = function (oRm, oControl) {
40
- var oResourceBundle;
40
+ var renderSpanWithText = function (oRm, textKey) {
41
+ var oResourceBundle = Core.getLibraryResourceBundle("sap.ui.documentation"),
42
+ sText = oResourceBundle.getText(textKey);
43
+
44
+ oRm.openStart('span')
45
+ .class("sapDemokitTreeItemLabel")
46
+ .openEnd()
47
+ .text(sText)
48
+ .close('span');
49
+ };
41
50
 
42
51
  this.renderEntityType(oRm, oControl);
43
52
 
@@ -45,23 +54,21 @@ function(TreeItemBaseRenderer, Core, Renderer) {
45
54
  .attr("href", oControl.getHref())
46
55
  .openEnd();
47
56
 
48
- oRm.openStart('span')
49
- .class("sapDemokitTreeItemTitle")
50
- .class("sapUiTinyMarginEnd")
51
- .openEnd()
52
- .text(oControl.getTitle())
53
- .close('span');
57
+ oRm.openStart('span')
58
+ .class("sapDemokitTreeItemTitle")
59
+ .class("sapUiTinyMarginEnd")
60
+ .openEnd()
61
+ .text(oControl.getTitle())
62
+ .close('span');
54
63
 
55
64
  oRm.close('a');
56
65
 
57
66
  if (oControl.getDeprecated()) {
58
- oResourceBundle = Core.getLibraryResourceBundle("sap.ui.documentation");
67
+ renderSpanWithText(oRm, "API_MASTER_DEPRECATED");
68
+ }
59
69
 
60
- oRm.openStart('span')
61
- .class("sapDemokitTreeItemLabel")
62
- .openEnd()
63
- .text(oResourceBundle.getText("API_MASTER_DEPRECATED"))
64
- .close('span');
70
+ if (oControl.getExperimental()) {
71
+ renderSpanWithText(oRm, "API_MASTER_EXPERIMENTAL");
65
72
  }
66
73
  };
67
74
 
@@ -6,7 +6,8 @@
6
6
  */
7
7
  sap.ui.define([
8
8
  'sap/ui/core/Control',
9
- 'sap/ui/Device'
9
+ 'sap/ui/Device',
10
+ "sap/ui/core/IconPool" // side effect: required when calling RenderManager.icon
10
11
  ], function(Control, Device) {
11
12
  "use strict";
12
13
 
@@ -9,13 +9,13 @@
9
9
  */
10
10
  sap.ui.define([
11
11
  "sap/base/Log",
12
- "sap/ui/core/Core",
12
+ "sap/ui/core/Lib",
13
13
  "sap/ui/thirdparty/jquery",
14
14
  'sap/ui/core/util/LibraryInfo',
15
15
  "sap/ui/documentation/sdk/util/Resources",
16
16
  'sap/ui/core/library',
17
17
  'sap/m/library'
18
- ], function(Log, Core, jQuery, LibraryInfo, ResourcesUtil) {
18
+ ], function(Log, Lib, jQuery, LibraryInfo, ResourcesUtil) {
19
19
 
20
20
  'use strict';
21
21
 
@@ -25,13 +25,14 @@ sap.ui.define([
25
25
  * @namespace
26
26
  * @alias sap.ui.documentation
27
27
  * @author SAP SE
28
- * @version 1.120.7
28
+ * @version 1.121.0
29
29
  * @since 1.48
30
30
  * @public
31
31
  */
32
- var thisLibrary = Core.initLibrary({
32
+ var thisLibrary = Lib.init({
33
+ apiVersion: 2,
33
34
  name : 'sap.ui.documentation',
34
- version: '1.120.7',
35
+ version: '1.121.0',
35
36
  dependencies : ['sap.ui.core','sap.m'],
36
37
  types: [],
37
38
  interfaces: [],
@@ -43,7 +44,8 @@ sap.ui.define([
43
44
  "sap.ui.documentation.ObjectPageSubSection",
44
45
  "sap.ui.documentation.ParamText",
45
46
  "sap.ui.documentation.Search",
46
- "sap.ui.documentation.TitleLink"
47
+ "sap.ui.documentation.TitleLink",
48
+ "sap.ui.documentation.DemoAppsCardHeader"
47
49
  ],
48
50
  elements: [
49
51
  "sap.ui.documentation.Row",
@@ -70,9 +72,13 @@ sap.ui.define([
70
72
  });
71
73
  };
72
74
 
73
- thisLibrary._getAppInfo = function(fnCallback) {
74
- var sUrl = sap.ui.require.toUrl("sap-ui-version.json");
75
- sUrl = ResourcesUtil.getResourceOriginPath(sUrl);
75
+ thisLibrary._getAppInfo = function(fnCallback, sReqVersion) {
76
+ var sUrl;
77
+ if (sReqVersion){
78
+ sUrl = ResourcesUtil.getResourceOriginPath(`${sReqVersion}/resources/sap-ui-version.json`);
79
+ } else {
80
+ sUrl = ResourcesUtil.getResourceOriginPath("resources/sap-ui-version.json");
81
+ }
76
82
 
77
83
  jQuery.ajax({
78
84
  url: sUrl,
@@ -117,6 +123,7 @@ sap.ui.define([
117
123
  }
118
124
 
119
125
  var libInfo = thisLibrary._getLibraryInfoSingleton();
126
+ var sReqVersionFull;
120
127
 
121
128
  // special case: fetching library info and release notes in one cycle
122
129
  // this will use the _getLibraryInfo functionality and
@@ -125,6 +132,12 @@ sap.ui.define([
125
132
  sInfoType = "_getLibraryInfo";
126
133
  }
127
134
 
135
+ if (!sReqVersion || (sReqVersion.match(/\./g) || []).length == 2) {
136
+ sReqVersionFull = sReqVersion;
137
+
138
+ } else {
139
+ sReqVersionFull = sReqVersion + ".0";
140
+ }
128
141
  thisLibrary._getAppInfo(function(oAppInfo) {
129
142
  if (!(oAppInfo && oAppInfo.libraries)) {
130
143
  fnCallback(null, null);
@@ -172,7 +185,7 @@ sap.ui.define([
172
185
  });
173
186
  /*eslint-enable no-loop-func */
174
187
  }
175
- });
188
+ }, sReqVersionFull);
176
189
  };
177
190
 
178
191
  return thisLibrary;
@@ -334,7 +334,7 @@ TOPIC_DETAIL_EDIT_GITHUB_TOOLTIP = Edit this page on GitHub
334
334
  #XTOL: Tooltip for the fullscreen button
335
335
  TOPIC_DETAIL_FULLSCREEN_TOOLTIP = Show this document in full screen mode
336
336
 
337
- #XXLF: Placeholder for the filter field
337
+ #XTXT: Placeholder for the filter field
338
338
  TOPIC_MASTER_FILTER_PLACEHOLDER = Search
339
339
  #XTOL: Tooltip for button that expands a list of items
340
340
  TOPIC_MASTER_EXPAND_TOOLTIP = Expand All
@@ -416,7 +416,7 @@ CONTROLS_TEXT_15 = Page with up to 3 columns
416
416
  #XTXT: Block description
417
417
  CONTROLS_TEXT_16 = Two-column layout
418
418
 
419
- #XXLF: The placeholder for the filter field
419
+ #XTXT: The placeholder for the filter field
420
420
  CONTROLS_MASTER_FILTER_PLACERHOLDER = Search
421
421
  #XTOL: Tooltip for the group and filter button
422
422
  CONTROLS_MASTER_FILTER_BTN_TOOLTIP = Group / Filter
@@ -493,27 +493,23 @@ EMPTY_TEXT = Empty
493
493
  DOWNLOADS_TEXT = Downloads
494
494
 
495
495
  #XHED: The 'Demo Apps' page title
496
- DEMO_APPS_TEXT = Demo Apps
497
- #XBUT: Text for download button
498
- DEMO_APPS_DOWNLOAD_BTN = Download
496
+ DEMO_APPS_TITLE = Demo Apps
497
+ #XTXT: Subtitle for the 'Demo Apps' page (OpenUI5 version)
498
+ DEMO_APPS_SUBTITLE_OPENUI5 = Lists the demo apps that show you how you can use the various features and controls of OpenUI5.
499
+ #XTXT: Subtitle for the 'Demo Apps' page (SAPUI5 version)
500
+ DEMO_APPS_SUBTITLE_SAPUI5 = Lists the demo apps that show you how you can use the various features and controls of SAPUI5.
499
501
  #XBUT: Text for read more button
500
502
  DEMO_APPS_READ_MORE_BTN = Read More
501
- #XALT: Text for image alternative text
502
- DEMO_APPS_IMAGE_PHONE = Background image for phones
503
- #XALT: Text for image alternative text
504
- DEMO_APPS_IMAGE_DESKTOP = Background image for computers
505
- #XHED: The download dialog title
506
- DEMO_APPS_DOWNLOAD_DIALOG_TITLE = Download Demo Apps
507
- #XBUT: Text for close button of dialog
508
- DEMO_APPS_DOWNLOAD_DIALOG_CANCEL_BTN = Cancel
509
503
  #XHED: Group title
510
- DEMO_APPS_CATEGORY_TUTORIAL = Demo Apps with Tutorials
504
+ DEMO_APPS_DOWNLOAD_OVERVIEW = Downloads Overview
511
505
  #XHED: Group title
512
- DEMO_APPS_CATEGORY_SHOWCASE = Showcase Apps
506
+ DEMO_APPS_CATEGORY_SHOWCASE = UI5 Concepts in Real-Life Scenarios
513
507
  #XHED: Group title
514
- DEMO_APPS_CATEGORY_MISC = Miscellaneous Demo Apps
508
+ DEMO_APPS_CATEGORY_TUTORIAL = Demo Apps with Tutorials
515
509
  #XHED: Group title
516
510
  DEMO_APPS_CATEGORY_RTA = SAPUI5 Flexibility Demo Apps
511
+ #XHED: Group title
512
+ DEMO_APPS_CATEGORY_MISC = Miscellaneous Demo Apps
517
513
  #XTXT: Text for application library
518
514
  DEMO_APPS_LIBRARY=Control Library:
519
515
 
@@ -628,9 +624,9 @@ ABOUT_DIALOG_TITLE = About
628
624
  #XTXT: The About dialog heading
629
625
  ABOUT_DIALOG_TEXT_1 = UI5 Demo Kit - UI Development Toolkit for HTML5
630
626
  #XTXT: Text for copyrights
631
- ABOUT_DIALOG_TEXT_2 = \u00a9 Copyright 2009-2023 SAP SE. All rights reserved.
627
+ ABOUT_DIALOG_TEXT_2 = \u00a9 Copyright 2009-2024 SAP SE. All rights reserved.
632
628
  #XTXT: Text for copyrights
633
- ABOUT_DIALOG_TEXT_3 = \u00a9 2009-2023 SAP SE or an SAP affiliate company.
629
+ ABOUT_DIALOG_TEXT_3 = \u00a9 2009-2024 SAP SE or an SAP affiliate company.
634
630
  #XTXT: Text for distrubution and its current version
635
631
  ABOUT_DIALOG_TEXT_4 = {0} Version {1}
636
632
  #XTXT: Text for OpenUI5 version
@@ -779,7 +775,7 @@ TOOLS_CARD_15_IMG_ALT = Picture showing Accessibility Guide
779
775
  TOOLS_CARD_16_TEXT = The Test Recorder is a tool that helps you to create UI5 integration tests by recording your actions in the browser.
780
776
  #XALT: Alternative text for image that shows Test Recorder
781
777
  TOOLS_CARD_16_IMG_ALT = Picture showing Test Recorder
782
- #XXLF: Placeholder for filter field
778
+ #XTXT: Placeholder for filter field
783
779
  API_MASTER_PLACEHOLDER = Search
784
780
  #XTOL: Tooltip for the button that expands a list of items
785
781
  API_MASTER_EXPAND_BTN_TOOLTIP = Expand All
@@ -787,10 +783,14 @@ API_MASTER_EXPAND_BTN_TOOLTIP = Expand All
787
783
  API_MASTER_COLLAPSE_BTN_TOOLTIP = Collapse All
788
784
  #XCKL: The checkbox that includes deprecated entities to a list of items
789
785
  API_MASTER_DEPRECATED_CB = Include deprecated
786
+ #XCKL: The checkbox that includes experimental entities to a list of items
787
+ API_MASTER_EXPERIMENTAL_CB = Include experimental
790
788
  #XTXT: Text that is displayed when there are no results from the search
791
789
  API_MASTER_NO_DATA_TEXT = No data, please try with the global search
792
- #XXLF: Text for deprecated items
790
+ #XTXT: Text for deprecated items
793
791
  API_MASTER_DEPRECATED = Deprecated
792
+ #XTXT: Text for experimental items
793
+ API_MASTER_EXPERIMENTAL = Experimental
794
794
  #XMIT: The list item that navigates to page with deprecated APIs
795
795
  API_MASTER_DEPRECATED_APIS = Deprecated APIs
796
796
  #XMIT: The list item that navigates to page with experimental APIs