@openui5/sap.ui.documentation 1.95.0 → 1.96.3

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 (27) hide show
  1. package/.reuse/dep5 +10 -5
  2. package/THIRDPARTY.txt +17 -8
  3. package/package.json +6 -6
  4. package/src/sap/ui/documentation/.library +1 -1
  5. package/src/sap/ui/documentation/library.js +2 -2
  6. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +7 -2
  7. package/src/sap/ui/documentation/messagebundle_uk.properties +3 -3
  8. package/src/sap/ui/documentation/sdk/Component.js +1 -2
  9. package/src/sap/ui/documentation/sdk/controller/App.controller.js +6 -11
  10. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +20 -30
  11. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +6 -4
  12. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +1 -1
  13. package/src/sap/ui/documentation/sdk/index.html +55 -0
  14. package/src/sap/ui/documentation/sdk/manifest.json +7 -0
  15. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +6 -4
  16. package/src/sap/ui/documentation/sdk/util/Resources.js +12 -6
  17. package/src/sap/ui/documentation/themes/base/Documentation.less +6 -3
  18. package/src/sap/ui/documentation/themes/sap_belize/library.source.less +3 -1
  19. package/src/sap/ui/documentation/themes/sap_belize_hcb/library.source.less +3 -1
  20. package/src/sap/ui/documentation/themes/sap_belize_hcw/library.source.less +3 -1
  21. package/src/sap/ui/documentation/themes/sap_belize_plus/library.source.less +3 -1
  22. package/src/sap/ui/documentation/themes/sap_fiori_3/library.source.less +3 -10
  23. package/src/sap/ui/documentation/themes/sap_fiori_3_dark/library.source.less +4 -11
  24. package/src/sap/ui/documentation/themes/sap_fiori_3_hcb/library.source.less +3 -1
  25. package/src/sap/ui/documentation/themes/sap_fiori_3_hcw/library.source.less +3 -1
  26. package/src/sap/ui/documentation/themes/sap_horizon/library.source.less +9 -0
  27. package/ui5.yaml +5 -2
package/.reuse/dep5 CHANGED
@@ -400,6 +400,11 @@ Copyright: 2014 Vitaly Puzrin, Alex Kocharin
400
400
  License: MIT
401
401
  Comment: these files belong to: Markdown-it
402
402
 
403
+ Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
404
+ Copyright: 2015-2017 Evgeny Poberezkin
405
+ License: MIT
406
+ Comment: these files belong to: ajv
407
+
403
408
 
404
409
  # Library: sap.ui.mdc:
405
410
 
@@ -447,11 +452,6 @@ Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
447
452
  License: Apache-2.0
448
453
  Comment: these files belong to: LESS
449
454
 
450
- Files: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
451
- Copyright: 2015-2017 Evgeny Poberezkin
452
- License: MIT
453
- Comment: these files belong to: ajv
454
-
455
455
  Files: lib/jsdoc/ui5/plugin.js
456
456
  Copyright:
457
457
  2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
@@ -459,3 +459,8 @@ Copyright:
459
459
  License: Apache-2.0
460
460
  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)
461
461
 
462
+ Files: src/sap.ui.core/src/sap/ui/core/themes/base/base.less src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
463
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
464
+ License: Apache-2.0
465
+ Comment: these files belong to: SAP Theming Base Content
466
+
package/THIRDPARTY.txt CHANGED
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
6
6
 
7
7
  Library: sap.ui.codeeditor:
8
8
 
9
- Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.12
9
+ Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
10
10
  Copyright: 2010, Ajax.org B.V.
11
11
  License: BSD-3-Clause
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.6
200
+ Component: URI.js, version: 1.19.7
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -389,6 +389,12 @@ License: MIT
389
389
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
390
390
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
391
391
 
392
+ Component: ajv, version: 6.12.3
393
+ Copyright: 2015-2017 Evgeny Poberezkin
394
+ License: MIT
395
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
396
+ Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
397
+
392
398
 
393
399
  Library: sap.ui.mdc:
394
400
 
@@ -444,18 +450,21 @@ License: Apache-2.0
444
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
445
451
  Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
446
452
 
447
- Component: ajv, version: 6.12.3
448
- Copyright: 2015-2017 Evgeny Poberezkin
449
- License: MIT
450
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
451
- Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
452
-
453
453
  Component: JSDoc 3, version: 3.6.7
454
454
  Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
457
457
  Contained in: lib/jsdoc/ui5/plugin.js
458
458
 
459
+ Component: SAP Theming Base Content, version: 11.1.34
460
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
461
+ License: Apache-2.0
462
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
463
+ Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
464
+ src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
465
+ src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
466
+ src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
467
+
459
468
 
460
469
  ALL LICENSE TEXTS:
461
470
  ==================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.documentation",
3
- "version": "1.95.0",
3
+ "version": "1.96.3",
4
4
  "description": "OpenUI5 UI Library sap.ui.documentation",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,10 +14,10 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.95.0",
18
- "@openui5/sap.ui.core": "1.95.0",
19
- "@openui5/sap.ui.layout": "1.95.0",
20
- "@openui5/themelib_sap_belize": "1.95.0",
21
- "@openui5/themelib_sap_fiori_3": "1.95.0"
17
+ "@openui5/sap.m": "1.96.3",
18
+ "@openui5/sap.ui.core": "1.96.3",
19
+ "@openui5/sap.ui.layout": "1.96.3",
20
+ "@openui5/themelib_sap_belize": "1.96.3",
21
+ "@openui5/themelib_sap_fiori_3": "1.96.3"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.95.0</version>
9
+ <version>1.96.3</version>
10
10
 
11
11
  <documentation>SAPUI5 library for the Demokit 2.0.</documentation>
12
12
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  // delegate further initialization of this library to the Core
24
24
  sap.ui.getCore().initLibrary({
25
25
  name : 'sap.ui.documentation',
26
- version: '1.95.0',
26
+ version: '1.96.3',
27
27
  dependencies : ['sap.ui.core','sap.m'],
28
28
  types: [],
29
29
  interfaces: [],
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @namespace
50
50
  * @name sap.ui.documentation
51
51
  * @author SAP SE
52
- * @version 1.95.0
52
+ * @version 1.96.3
53
53
  * @since 1.48
54
54
  * @public
55
55
  */
@@ -176,7 +176,8 @@ CODE_DOWNLOAD_BTN=\u206A\u206A\u206A\u200C\u200C\u200D\u200D\u200D\u200B\u200C\u
176
176
 
177
177
  CHANGE_VERSION_DIALOG_TITLE=\u206A\u206A\u206A\u200D\u200D\u200D\u200B\u200D\u200C\u200C\u200D\u200D\u200B\u200C\u200D\u200B\u200C\u200C\u200D\u200D\u200B\u200B\u200C\u200C\u200D\u200B\u200D\u200B\u200B\u200D\u200C\u200B\u200B\u200C\u200D\u200B\u200B\u200D\u200B\u200C\u200D\u200B\u200B\u206AChange version\u206A\u206A
178
178
  CHANGE_VERSION_DIALOG_CLOSE_BTN=\u206A\u206A\u206A\u200C\u200B\u200B\u200D\u200B\u200B\u200D\u200C\u200B\u200C\u200D\u200C\u200B\u200C\u200C\u200B\u200C\u200C\u200D\u200C\u200D\u200D\u200C\u200C\u200B\u200D\u200C\u200C\u200D\u200B\u200B\u200C\u200D\u200C\u200B\u200D\u200B\u200C\u200B\u206AClose\u206A\u206A
179
-
179
+ CHANGE_VERSION_DIALOG_APPLY_BTN=\u206A\u206A\u206A\u200C\u200B\u200D\u200C\u200B\u200C\u200D\u200C\u200D\u200B\u200B\u200C\u200D\u200D\u200C\u200C\u200B\u200C\u200C\u200C\u200B\u200D\u200C\u200C\u200C\u200D\u200B\u200B\u200D\u200C\u200D\u200C\u200C\u200B\u200C\u200D\u200B\u200D\u200C\u200C\u200B\u206AApply\u206A\u206A
180
+ CHANGE_VERSION_DIALOG_LATEST_BTN=\u206A\u206A\u206A\u200C\u200B\u200C\u200D\u200D\u200C\u200B\u200B\u200C\u200B\u200D\u200D\u200C\u200D\u200B\u200B\u200C\u200B\u200C\u200C\u200B\u200D\u200B\u200B\u200D\u200C\u200B\u200D\u200D\u200D\u200B\u200D\u200C\u200C\u200D\u200D\u200C\u200D\u200B\u206ALatest\u206A\u206A
180
181
  APP_SETTINGS_DIALOG_TITLE=\u206A\u206A\u206A\u200D\u200B\u200B\u200D\u200C\u200B\u200C\u200D\u200C\u200C\u200C\u200B\u200D\u200C\u200B\u200D\u200C\u200B\u200D\u200D\u200D\u200B\u200D\u200C\u200B\u200D\u200D\u200C\u200B\u200B\u200D\u200C\u200C\u200C\u200B\u200C\u200C\u200C\u200B\u206ASettings\u206A\u206A
181
182
  APP_SETTINGS_DIALOG_THEME=\u206A\u206A\u206A\u200C\u200B\u200D\u200C\u200D\u200D\u200B\u200D\u200C\u200C\u200B\u200B\u200D\u200D\u200B\u200D\u200C\u200D\u200B\u200B\u200B\u200D\u200B\u200C\u200B\u200C\u200B\u200C\u200B\u200C\u200C\u200C\u200C\u200D\u200C\u200C\u200C\u200B\u200D\u200B\u206ATheme\:\u206A\u206A
182
183
  APP_SETTINGS_DIALOG_LANGUAGE=\u206A\u206A\u206A\u200D\u200C\u200B\u200D\u200D\u200B\u200B\u200B\u200B\u200D\u200C\u200C\u200B\u200C\u200C\u200C\u200C\u200B\u200D\u200D\u200C\u200B\u200D\u200C\u200D\u200B\u200C\u200B\u200D\u200D\u200C\u200D\u200B\u200C\u200D\u200C\u200D\u200B\u200C\u206ALanguage\u206A\u206A
@@ -301,6 +302,9 @@ FOOTER_LICENSE=\u206A\u206A\u206A\u200D\u200B\u200C\u200B\u200B\u200D\u200B\u200
301
302
  NOT_FOUND_TITLE=\u206A\u206A\u206A\u200C\u200B\u200D\u200B\u200D\u200B\u200C\u200B\u200C\u200C\u200D\u200C\u200C\u200B\u200D\u200C\u200D\u200B\u200B\u200D\u200B\u200C\u200D\u200C\u200D\u200C\u200C\u200B\u200D\u200B\u200B\u200C\u200C\u200D\u200D\u200B\u200B\u200B\u200D\u200B\u200B\u206ANot Found\u206A\u206A
302
303
  NOT_FOULD_TEXT=\u206A\u206A\u206A\u200C\u200B\u200D\u200B\u200D\u200D\u200D\u200D\u200B\u200B\u200B\u200D\u200B\u200C\u200C\u200B\u200D\u200D\u200B\u200D\u200D\u200B\u200B\u200B\u200B\u200D\u200B\u200D\u200B\u200B\u200C\u200B\u200B\u200B\u200B\u200B\u200D\u200D\u200B\u200B\u200D\u206AThe requested resource was not found\u206A\u206A
303
304
 
305
+ NOT_FOUND_SAMPLE_TITLE=\u206A\u206A\u206A\u200C\u200C\u200B\u200B\u200D\u200C\u200C\u200B\u200C\u200D\u200B\u200D\u200B\u200D\u200C\u200D\u200B\u200B\u200C\u200C\u200D\u200D\u200B\u200B\u200C\u200C\u200B\u200B\u200B\u200D\u200D\u200B\u200B\u200D\u200B\u200D\u200B\u200D\u200B\u200B\u200D\u206ASample Not Found\u206A\u206A
306
+ NOT_FOUND_SAMPLE_TEXT=\u206A\u206A\u206A\u200C\u200B\u200C\u200C\u200D\u200C\u200D\u200D\u200B\u200B\u200C\u200D\u200D\u200D\u200D\u200D\u200B\u200B\u200B\u200D\u200D\u200C\u200C\u200C\u200B\u200C\u200B\u200C\u200C\u200B\u200C\u200C\u200D\u200B\u200B\u200B\u200C\u200B\u200C\u200B\u200D\u206AThe requested sample does not exist for the selected UI5 version. Check the available samples here\u206A\u206A
307
+
304
308
  SITEMAP_TITLE=\u206A\u206A\u206A\u200C\u200D\u200D\u200B\u200D\u200D\u200C\u200C\u200B\u200B\u200C\u200C\u200B\u200B\u200D\u200C\u200D\u200C\u200B\u200C\u200B\u200D\u200D\u200C\u200C\u200B\u200C\u200D\u200B\u200D\u200D\u200D\u200C\u200C\u200D\u200D\u200D\u200C\u200D\u206ASitemap\u206A\u206A
305
309
 
306
310
  LIVE_EDITOR_TITLE=\u206A\u206A\u206A\u200C\u200B\u200D\u200D\u200D\u200C\u200D\u200D\u200C\u200B\u200B\u200D\u200C\u200D\u200C\u200D\u200C\u200B\u200C\u200C\u200B\u200B\u200C\u200C\u200C\u200D\u200C\u200D\u200D\u200D\u200C\u200B\u200D\u200D\u200D\u200B\u200B\u200C\u200C\u200B\u200C\u206ALive Editor\u206A\u206A
@@ -341,7 +345,8 @@ TOOLS_CARD_10_LINK_2=\u206A\u206A\u206A\u200C\u200C\u200C\u200B\u200C\u200B\u200
341
345
  TOOLS_CARD_11_TEXT=\u206A\u206A\u206A\u200C\u200B\u200D\u200D\u200B\u200D\u200D\u200C\u200D\u200B\u200B\u200D\u200D\u200B\u200B\u200C\u200B\u200B\u200D\u200C\u200B\u200C\u200B\u200B\u200B\u200C\u200D\u200B\u200D\u200C\u200B\u200B\u200D\u200D\u200B\u200D\u200C\u200B\u200D\u200D\u200C\u206AGain the knowledge you need for Accessibility\u206A\u206A
342
346
  TOOLS_CARD_12_IMG_ALT=\u206A\u206A\u206A\u200C\u200C\u200B\u200B\u200B\u200D\u200C\u200D\u200C\u200B\u200B\u200D\u200D\u200B\u200D\u200D\u200C\u200D\u200D\u200C\u200B\u200D\u200C\u200B\u200C\u200B\u200D\u200D\u200D\u200B\u200B\u200B\u200B\u200B\u200B\u200D\u200D\u200B\u200B\u200B\u200C\u206APicture showing SAP Fiori Tools\u206A\u206A
343
347
  TOOLS_CARD_12_TEXT=\u206A\u206A\u206A\u200C\u200C\u200B\u200C\u200C\u200D\u200B\u200C\u200B\u200C\u200B\u200D\u200B\u200D\u200D\u200B\u200C\u200D\u200C\u200B\u200B\u200C\u200C\u200C\u200C\u200D\u200C\u200B\u200B\u200D\u200D\u200B\u200C\u200B\u200C\u200D\u200C\u200C\u200D\u200C\u206ASAP Fiori tools simplifies the creation of SAP Fiori elements applications by providing extensions for your SAP Business Application Studio and Visual Studio Code development environments.\u206A\u206A
344
-
348
+ TOOLS_CARD_13_TEXT=\u206A\u206A\u206A\u200D\u200C\u200B\u200B\u200D\u200D\u200D\u200B\u200C\u200C\u200D\u200C\u200C\u200B\u200C\u200B\u200D\u200C\u200C\u200D\u200C\u200C\u200B\u200D\u200D\u200D\u200D\u200C\u200C\u200B\u200C\u200C\u200C\u200B\u200C\u200C\u200B\u200D\u200B\u200C\u206AWith Live Editor you can try out the APIs directly in your browser.\u206A\u206A
349
+ TOOLS_CARD_13_IMG_ALT=\u206A\u206A\u206A\u200D\u200D\u200D\u200D\u200B\u200D\u200D\u200C\u200D\u200C\u200C\u200B\u200C\u200D\u200C\u200C\u200B\u200B\u200C\u200C\u200C\u200D\u200D\u200C\u200D\u200B\u200C\u200C\u200C\u200B\u200B\u200C\u200C\u200D\u200D\u200B\u200B\u200C\u200B\u200C\u206APicture showing Live Editor\u206A\u206A
345
350
  API_MASTER_PLACEHOLDER=\u206A\u206A\u206A\u200C\u200B\u200B\u200B\u200C\u200C\u200C\u200C\u200D\u200C\u200B\u200C\u200C\u200D\u200B\u200C\u200D\u200C\u200B\u200D\u200C\u200C\u200B\u200C\u200D\u200D\u200C\u200C\u200B\u200C\u200D\u200C\u200B\u200B\u200C\u200B\u200D\u200C\u200D\u200D\u200D\u206AFilter\u206A\u206A
346
351
  API_MASTER_EXPAND_BTN_TOOLTIP=\u206A\u206A\u206A\u200D\u200D\u200D\u200C\u200B\u200B\u200C\u200D\u200C\u200C\u200C\u200D\u200D\u200C\u200D\u200B\u200C\u200D\u200B\u200C\u200B\u200C\u200C\u200D\u200B\u200D\u200C\u200C\u200D\u200C\u200C\u200D\u200B\u200D\u200B\u200B\u200B\u200B\u200C\u200D\u206AExpand All\u206A\u206A
347
352
  API_MASTER_COLLAPSE_BTN_TOOLTIP=\u206A\u206A\u206A\u200C\u200B\u200C\u200C\u200C\u200B\u200B\u200B\u200B\u200B\u200D\u200D\u200C\u200D\u200B\u200D\u200D\u200C\u200C\u200D\u200D\u200D\u200C\u200B\u200B\u200D\u200C\u200B\u200C\u200B\u200B\u200B\u200C\u200C\u200D\u200B\u200D\u200B\u200C\u200D\u200B\u206ACollapse All\u206A\u206A
@@ -83,7 +83,7 @@ WELCOME_BLOCK_8_TITLE=SAPUI5 \u043D\u0430 SAP BTP
83
83
  WELCOME_BLOCK_8_TEXT_1=\u041F\u0456\u0434\u043F\u0438\u0448\u0456\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u0440\u043E\u0431\u043D\u0438\u0439 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 SAP BTP, \u0449\u043E\u0431 \u043F\u0440\u043E\u0442\u0435\u0441\u0442\u0443\u0432\u0430\u0442\u0438 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0443 \u0456 \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0438 UI5 \u043D\u0430 \u0431\u0430\u0437\u0456 \u0445\u043C\u0430\u0440\u0438.
84
84
  WELCOME_BLOCK_8_TEXT_2=\u041B\u0435\u0433\u043A\u0435 \u0443 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u0456 \u0441\u0435\u0440\u0435\u0434\u043E\u0432\u0438\u0449\u0435 \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438 \u0437 SAP Business Application Studio
85
85
  WELCOME_BLOCK_8_TEXT_3=\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u0435 \u043F\u0440\u043E\u0431\u043D\u0435 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438
86
- WELCOME_BLOCK_9_TITLE=SAPUI5 (On-Premise)
86
+ WELCOME_BLOCK_9_TITLE=SAPUI5 (\u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439)
87
87
  WELCOME_BLOCK_9_TEXT_1=SAPUI5 \u2013 \u0446\u0435 \u0447\u0430\u0441\u0442\u0438\u043D\u0430 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0456\u0439 \u0456\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0443 \u0441\u0438\u0441\u0442\u0435\u043C\u0430\u0445 SAP HANA, NetWeaver ABAP \u0456 Java.
88
88
  WELCOME_BLOCK_9_TEXT_2=\u0413\u043E\u0442\u043E\u0432\u043E \u0434\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043B\u0456\u0454\u043D\u0442\u0456\u0432 SAP
89
89
  WELCOME_BLOCK_9_TEXT_3=\u0406\u043D\u0442\u0435\u0433\u0440\u0443\u0454\u0442\u044C\u0441\u044F \u0437 \u0456\u0441\u043D\u0443\u044E\u0447\u0438\u043C\u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0438\u043C\u0438 \u043B\u0430\u043D\u0434\u0448\u0430\u0444\u0442\u0430\u043C\u0438
@@ -94,7 +94,7 @@ WELCOME_BLOCK_10_TEXT_3=\u041E\u0431\u0441\u043B\u0443\u0433\u043E\u0432\u0443\u
94
94
  WELCOME_BLOCK_11_TITLE=UI5 \u043D\u0430 Content Delivery Network
95
95
  WELCOME_BLOCK_11_TEXT_1=\u0420\u043E\u0437\u0440\u043E\u0431\u043B\u044F\u0439\u0442\u0435 \u0456 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0439\u0442\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0438 \u0437 \u0433\u043D\u0443\u0447\u043A\u0456\u0441\u0442\u044E \u0441\u0442\u0456\u0439\u043A\u043E\u0433\u043E CDN. \u0414\u043B\u044F \u043E\u043F\u0442\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0457 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u0456 \u0444\u0430\u0439\u043B\u0438 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0443\u044E\u0442\u044C\u0441\u044F \u0437 \u043D\u0430\u0439\u0431\u043B\u0438\u0436\u0447\u043E\u0433\u043E \u0434\u043E \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043C\u0456\u0441\u0446\u044F.
96
96
  WELCOME_BLOCK_11_TEXT_2=\u0411\u0430\u0433\u0430\u0442\u043E\u0432\u0435\u0440\u0441\u0456\u0439\u043D\u0438\u0439 CDN \u0434\u043B\u044F \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u043A\u0438 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u043E\u0433\u043E \u0436\u0438\u0442\u0442\u0454\u0432\u043E\u0433\u043E \u0446\u0438\u043A\u043B\u0443
97
- WELCOME_BLOCK_11_TEXT_3=\u0414\u043B\u044F \u0431\u0443\u0434\u044C-\u044F\u043A\u043E\u0433\u043E \u0445\u043C\u0430\u0440\u043D\u043E\u0433\u043E \u0456 \u043D\u0435\u0445\u043C\u0430\u0440\u043D\u043E\u0433\u043E \u0441\u0446\u0435\u043D\u0430\u0440\u0456\u044E \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438
97
+ WELCOME_BLOCK_11_TEXT_3=\u0414\u043B\u044F \u0431\u0443\u0434\u044C-\u044F\u043A\u043E\u0433\u043E \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0456 \u0445\u043C\u0430\u0440\u043D\u043E\u0433\u043E \u0441\u0446\u0435\u043D\u0430\u0440\u0456\u044E \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438
98
98
  WELCOME_BLOCK_12_TITLE=SAP Community
99
99
 
100
100
  TOPIC_DETAIL_INIT_DOCUMENTATION=\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0456\u044F
@@ -152,7 +152,7 @@ CONTROLS_LAYOUT_PAGES=\u0424\u043E\u0440\u043C\u0430\u0442 \u0456 \u0441\u0442\u
152
152
  CONTROLS_TEXT_1=\u0412\u0437\u0430\u0454\u043C\u043E\u0434\u0456\u044F \u0437 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u043C
153
153
  CONTROLS_TEXT_2=\u0420\u0456\u0437\u043D\u0456 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0438 \u0441\u043F\u0438\u0441\u043A\u0456\u0432
154
154
  CONTROLS_TEXT_3=\u041F\u0440\u043E\u0441\u0442\u0456 \u0430\u0431\u043E \u0431\u0456\u043B\u044C\u0448 \u043F\u043E\u0442\u0443\u0436\u043D\u0456 \u0442\u0430\u0431\u043B\u0438\u0446\u0456
155
- CONTROLS_TEXT_4=\u0414\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0456 \u0456 \u0432\u0438\u0440\u0438\u043D\u0430\u044E\u0447\u0456 \u0432\u0456\u043A\u043D\u0430
155
+ CONTROLS_TEXT_4=\u0414\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0456 \u0442\u0430 \u0432\u0438\u0440\u0438\u043D\u0430\u044E\u0447\u0456 \u0432\u0456\u043A\u043D\u0430
156
156
  CONTROLS_TEXT_5=\u041F\u043B\u0438\u0442\u043A\u0438 \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0456\u0432, \u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u044C \u0430\u0431\u043E \u0434\u0456\u0430\u0433\u0440\u0430\u043C, \u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434
157
157
  CONTROLS_TEXT_6=\u0421\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430
158
158
  CONTROLS_TEXT_7=\u041F\u0430\u043D\u0435\u043B\u0456 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0456\u0432 \u0456 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438
@@ -181,8 +181,7 @@ sap.ui.define([
181
181
  sVersionSuffix,
182
182
  bIsInternal,
183
183
  bSupportsSWA,
184
- bUseUnifiedResourceOrigin = new window.URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null,
185
- sVersionPrefixPath = bUseUnifiedResourceOrigin && window.sessionStorage.getItem("versionPrefixPath");
184
+ sVersionPrefixPath = ResourcesUtil.getResourcesVersion();
186
185
 
187
186
  this.aAllowedMembers = ["public", "protected"];
188
187
 
@@ -4,8 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- /* global URLSearchParams */
8
-
9
7
  sap.ui.define([
10
8
  "sap/ui/events/KeyCodes",
11
9
  "sap/ui/thirdparty/jquery",
@@ -80,14 +78,13 @@ sap.ui.define([
80
78
 
81
79
  function getResourcePath(sResource) {
82
80
 
83
- return bUseUnifiedResourceOrigin && !self['sap-ui-documentation-config'] ?
81
+ return ResourcesUtil.getResourcesVersion() && !self['sap-ui-documentation-config'] ?
84
82
  window.origin + sResource :
85
83
  ResourcesUtil.getResourceOriginPath(sResource);
86
84
 
87
85
  }
88
86
  // shortcut for sap.m.URLHelper
89
- var bUseUnifiedResourceOrigin = new URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null,
90
- URLHelper = mobileLibrary.URLHelper,
87
+ var URLHelper = mobileLibrary.URLHelper,
91
88
  sNeoAppJsonPath = getResourcePath("/neo-app.json"), /* Load neo-app.json always from root URL */
92
89
  sVersionOverviewJsonPath = getResourcePath("/versionoverview.json"), /* Load versionoverview.json always from root URL */
93
90
  ABOUT_TEXT = "about",
@@ -1039,8 +1036,7 @@ sap.ui.define([
1039
1036
  },
1040
1037
 
1041
1038
  onLatestVersionItemPress: function() {
1042
- var bUseUnifiedResourceOrigin = new URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null;
1043
- if (bUseUnifiedResourceOrigin) {
1039
+ if (ResourcesUtil.getResourcesVersion()) {
1044
1040
  window.sessionStorage.removeItem("versionPrefixPath");
1045
1041
  window.location.reload();
1046
1042
  } else {
@@ -1050,12 +1046,11 @@ sap.ui.define([
1050
1046
 
1051
1047
  onVersionItemPress: function (oEvent) {
1052
1048
  var oSelectedItem = sap.ui.getCore().byId("versionList").getSelectedItem(),
1053
- oCustomData = oSelectedItem.getCustomData()[0],
1054
- bUseUnifiedResourceOrigin = new URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null;
1049
+ oCustomData = oSelectedItem.getCustomData()[0];
1055
1050
 
1056
1051
  if (oCustomData && oCustomData.getKey() === "path") {
1057
1052
 
1058
- if (bUseUnifiedResourceOrigin) {
1053
+ if (ResourcesUtil.getHasProxy()) {
1059
1054
  window.sessionStorage.setItem("versionPrefixPath", oCustomData.getValue());
1060
1055
  window.location.reload();
1061
1056
  } else {
@@ -1540,7 +1535,7 @@ sap.ui.define([
1540
1535
  },
1541
1536
 
1542
1537
  _getUI5Version: function () {
1543
- return bUseUnifiedResourceOrigin && window.sessionStorage.getItem("versionPrefixPath") ?
1538
+ return ResourcesUtil.getResourcesVersion() ?
1544
1539
  window.sessionStorage.getItem("versionPrefixPath") : this.getModel("versionData").getProperty("/version");
1545
1540
  },
1546
1541
 
@@ -4,7 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- /*global URLSearchParams*/
8
7
 
9
8
  sap.ui.define([
10
9
  "sap/ui/thirdparty/jquery",
@@ -56,11 +55,6 @@ sap.ui.define([
56
55
  rtaLoaded: false
57
56
  });
58
57
 
59
- this._sSampleVersion = window.sessionStorage.getItem("versionPrefixPath");
60
-
61
- this._sDefaultSampleTheme = (this._sSampleVersion && parseInt(this._sSampleVersion.slice(3,5)) < 68) ?
62
- "sap_belize" : sap.ui.getCore().getConfiguration().getTheme();
63
-
64
58
  this._sId = null; // Used to hold sample ID
65
59
  this._sEntityId = null; // Used to hold entity ID for the sample currently shown
66
60
 
@@ -72,8 +66,6 @@ sap.ui.define([
72
66
 
73
67
  this.getView().setModel(this.oModel);
74
68
 
75
- this.bUseUnifiedResourceOrigin = new URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null;
76
-
77
69
  this.bus = sap.ui.getCore().getEventBus();
78
70
  this.setDefaultSampleTheme();
79
71
  this.bus.subscribe("themeChanged", "onDemoKitThemeChanged", this.onDemoKitThemeChanged, this);
@@ -153,7 +145,7 @@ sap.ui.define([
153
145
  var oSampleConfig = oConfig && oConfig.sample || {};
154
146
 
155
147
  // only have the option to run standalone if there is an iframe
156
- oModelData.showNewTab = !!oSampleConfig.iframe || this.bUseUnifiedResourceOrigin;
148
+ oModelData.showNewTab = !!oSampleConfig.iframe || ResourcesUtil.getHasProxy();
157
149
  oModelData.id = oSample.id;
158
150
  oModelData.name = oSample.name;
159
151
  oModelData.details = oSample.details;
@@ -177,7 +169,7 @@ sap.ui.define([
177
169
  }
178
170
  }
179
171
 
180
- if (oSampleConfig.iframe || this.bUseUnifiedResourceOrigin) {
172
+ if (oSampleConfig.iframe || ResourcesUtil.getHasProxy()) {
181
173
  oComponentContainer = this._createIframe(oComponentContainer, oSampleConfig.iframe);
182
174
  } else {
183
175
  this.sIFrameUrl = null;
@@ -185,7 +177,7 @@ sap.ui.define([
185
177
  }
186
178
 
187
179
  // Sets the current iframe URL or restores it to "undefined"
188
- oModelData.iframe = oSampleConfig.iframe || this.bUseUnifiedResourceOrigin;
180
+ oModelData.iframe = oSampleConfig.iframe || ResourcesUtil.getHasProxy();
189
181
 
190
182
  // handle stretch content
191
183
  var bStretch = !!oSampleConfig.stretch;
@@ -316,13 +308,13 @@ sap.ui.define([
316
308
 
317
309
  // combine namespace with the file name again
318
310
  this.sIFrameUrl = sap.ui.require.toUrl((sIframePath + "/" + sIframeWithoutUI5Ending).replace(/\./g, "/")) + sFileEnding || ".html";
319
- } else if (this.bUseUnifiedResourceOrigin) {
311
+ } else if (ResourcesUtil.getHasProxy()) {
320
312
  var sSamplePath = ResourcesUtil.getResourceOriginPath(sap.ui.require.toUrl(this._sId.replace(/\./g, "/"))),
321
313
  sSampleOrigin = (window['sap-ui-documentation-config'] && window['sap-ui-documentation-config'].demoKitResourceOrigin) || "",
322
- sSampleVersion = this._sSampleVersion || "";
314
+ sSampleVersion = ResourcesUtil.getResourcesVersion();
323
315
 
324
- this.sIFrameUrl = sap.ui.require.toUrl(
325
- "sap/ui/demo/mock/index.html") +
316
+ this.sIFrameUrl =
317
+ "resources/sap/ui/documentation/sdk/index.html" +
326
318
  "?sap-ui-xx-sample-id=" + sSampleId
327
319
  + "&&sap-ui-xx-sample-path=" + sSamplePath
328
320
  + "&&sap-ui-xx-sample-origin=" + sSampleOrigin
@@ -349,7 +341,7 @@ sap.ui.define([
349
341
  oSampleFrame.sap.ui.getCore().attachInit(function () {
350
342
  var bCompact = jQuery(document.body).hasClass("sapUiSizeCompact");
351
343
 
352
- oSampleFrameCore.applyTheme(this.bUseUnifiedResourceOrigin ? this._sDefaultSampleTheme : this._oCore.getConfiguration().getTheme());
344
+ oSampleFrameCore.applyTheme(ResourcesUtil.getHasProxy() ? this._sDefaultSampleTheme : this._oCore.getConfiguration().getTheme());
353
345
  oSampleFrameCore.getConfiguration().setRTL(this._oCore.getConfiguration().getRTL());
354
346
  oSampleFrame.jQuery('body')
355
347
  .toggleClass("sapUiSizeCompact", bCompact)
@@ -397,7 +389,8 @@ sap.ui.define([
397
389
  },
398
390
 
399
391
  setDefaultSampleTheme: function() {
400
- this._sDefaultSampleTheme = (this._sSampleVersion && parseInt(this._sSampleVersion.slice(3,5)) < 68) ?
392
+ var sSampleVersion = ResourcesUtil.getResourcesVersion();
393
+ this._sDefaultSampleTheme = sSampleVersion && parseInt(sSampleVersion.slice(3,5)) < 68 ?
401
394
  "sap_belize" : sap.ui.getCore().getConfiguration().getTheme();
402
395
  },
403
396
 
@@ -481,23 +474,20 @@ sap.ui.define([
481
474
 
482
475
  onToggleAdaptationMode : function (oEvt) {
483
476
  sap.ui.require([
484
- "sap/ui/rta/RuntimeAuthoring"
477
+ "sap/ui/rta/api/startKeyUserAdaptation"
485
478
  ], function (
486
- RuntimeAuthoring
479
+ startKeyUserAdaptation
487
480
  ) {
488
481
  if (!this._oRTA) {
489
- // default developerMode for CUSTOMER-layer is 'true'
490
- this._oRTA = new RuntimeAuthoring({
491
- rootControl : this.byId("page").getContent()[0],
492
- flexSettings: {
493
- developerMode: false
494
- }
495
- });
496
- this._oRTA.attachStop(function () {
497
- this._oRTA.destroy();
498
- delete this._oRTA;
482
+ startKeyUserAdaptation({
483
+ rootControl : this.byId("page").getContent()[0].getComponentInstance()
484
+ }).then(function(oRta) {
485
+ this._oRTA = oRta;
486
+ this._oRTA.attachStop(function () {
487
+ this._oRTA.destroy();
488
+ delete this._oRTA;
489
+ }.bind(this));
499
490
  }.bind(this));
500
- this._oRTA.start();
501
491
  }
502
492
  }.bind(this));
503
493
  },
@@ -8,8 +8,10 @@ sap.ui.define([
8
8
  "sap/ui/documentation/sdk/controller/BaseController",
9
9
  "sap/ui/thirdparty/URI",
10
10
  "sap/base/Log",
11
- "sap/ui/documentation/sdk/controller/util/ResourceDownloadUtil"
12
- ], function (BaseController, URI, Log, ResourceDownloadUtil) {
11
+ "sap/ui/documentation/sdk/controller/util/ResourceDownloadUtil",
12
+ "sap/ui/documentation/sdk/util/Resources"
13
+
14
+ ], function (BaseController, URI, Log, ResourceDownloadUtil, ResourcesUtil) {
13
15
  "use strict";
14
16
 
15
17
  var TMPL_REF = sap.ui.require.toUrl("sap/ui/documentation/sdk/tmpl"),
@@ -40,7 +42,7 @@ sap.ui.define([
40
42
  "sap/ui/core/util/File"
41
43
  ], function (JSZip, File) {
42
44
  var oZipFile = new JSZip(),
43
- sRef = sap.ui.require.toUrl((this._sId).replace(/\./g, "/")),
45
+ sRef = ResourcesUtil.getResourceOriginPath(sap.ui.require.toUrl((this._sId).replace(/\./g, "/"))),
44
46
  oData = this.oModel.getData(),
45
47
  aExtraFiles = oData.includeInDownload || [],
46
48
  oManifestFile,
@@ -88,7 +90,7 @@ sap.ui.define([
88
90
  }
89
91
 
90
92
  // iframe examples have a separate index file and a component file to describe it
91
- if (!oData.iframe) {
93
+ if (!oData.iframe || ResourcesUtil.getHasProxy()) {
92
94
  bHasManifest = oData.files.some(function (oFile) {
93
95
  return oFile.name === "manifest.json";
94
96
  });
@@ -283,7 +283,7 @@ sap.ui.define([
283
283
  sTopicId = aUrlParts[0],
284
284
  sSubTopicId = aUrlParts[1];
285
285
 
286
- this.sTopicId = sTopicId;
286
+ this.sTopicId = sTopicId.replace(".html", "");
287
287
  this.sSubTopicId = sSubTopicId;
288
288
  this.sTopicURL = ResourcesUtil.getResourceOriginPath(this._oConfig.docuPath + sTopicId + (sTopicId.match(/\.html/) ? "" : ".html"));
289
289
  this.sSubTopicId = event.getParameter("arguments").subId || sSubTopicId;
@@ -0,0 +1,55 @@
1
+ <!DOCTYPE html>
2
+ <html style="height: 100%;">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>SAPUI5 Navigation</title>
7
+ <script>
8
+
9
+ var sSampleId = new window.URLSearchParams(window.location.search).get('sap-ui-xx-sample-id'),
10
+ sSamplePath = new window.URLSearchParams(window.location.search).get('sap-ui-xx-sample-path'),
11
+ sOrigin = new window.URLSearchParams(window.location.search).get('sap-ui-xx-sample-origin'),
12
+ sVersion = new window.URLSearchParams(window.location.search).get('sap-ui-xx-sample-version'),
13
+
14
+ oPath = {};
15
+ if (!sOrigin || sOrigin == ".") {
16
+ sOrigin = window.location.origin + (window.location.pathname.includes("testsuite") ? "/testsuite" : "");
17
+ } else {
18
+ sOrigin = sOrigin + sVersion;
19
+ }
20
+
21
+ oPath[sSampleId.replace(/\./g, "/")] = sSamplePath;
22
+ oPath["sap/ui/demo/mock"] = sOrigin + "/test-resources/sap/ui/documentation/sdk";
23
+ oPath["test-resources/sap/ui/documentation/sdk"] = ".";
24
+ oPath["sap/uxap/sample"] = sOrigin + "/test-resources/sap/uxap/demokit/sample";
25
+
26
+
27
+
28
+ document.write("<script src=" + sOrigin + '/resources/sap-ui-core.js' + " id='sap-ui-bootstrap' " +
29
+ "data-sap-ui-libs='sap.m' data-sap-ui-bindingSyntax='complex' data-sap-ui-compatVersion='edge'></scr" + "ipt>");
30
+ document.write("<base href=" + sOrigin + "/>");
31
+
32
+ </script>
33
+ </head>
34
+ <body class="sapUiBody sapUiSizeCompact" id="content">
35
+ <script>
36
+ sap.ui.getCore().attachInit(function () {
37
+ sap.ui.require([
38
+ "sap/ui/core/ComponentContainer"
39
+ ], function (ComponentContainer) {
40
+
41
+ sap.ui.loader.config({
42
+ paths: oPath
43
+ });
44
+
45
+ var oContainer = new ComponentContainer({
46
+ name : sSampleId,
47
+ height : "100%",
48
+ manifest: false
49
+ }).placeAt('content');
50
+
51
+ });
52
+ });
53
+ </script>
54
+ </body>
55
+ </html>
@@ -32,6 +32,13 @@
32
32
  "async": true,
33
33
  "id": "app"
34
34
  },
35
+ "resources": {
36
+ "css": [
37
+ {
38
+ "uri": "css/style.css"
39
+ }
40
+ ]
41
+ },
35
42
  "dependencies": {
36
43
  "minUI5Version": "1.46.0",
37
44
  "libs": {
@@ -9,8 +9,9 @@ sap.ui.define([
9
9
  'sap/m/routing/Router',
10
10
  'sap/ui/core/routing/History',
11
11
  'sap/ui/thirdparty/hasher',
12
- "sap/ui/documentation/sdk/controller/util/ControlsInfo"
13
- ], function(Router, History, Hasher, ControlsInfo) {
12
+ "sap/ui/documentation/sdk/controller/util/ControlsInfo",
13
+ "sap/ui/thirdparty/URI"
14
+ ], function(Router, History, Hasher, ControlsInfo, URI) {
14
15
  "use strict";
15
16
 
16
17
  // We need to set the global hasher instance to not encode URL's. This is specific for the SDK
@@ -294,7 +295,8 @@ sap.ui.define([
294
295
  oAnchorElement = getClosestParentLink(oTarget),
295
296
  bCtrlHold = oEvent.ctrlKey || oEvent.metaKey,
296
297
  sTargetHref,
297
- bNewWindow;
298
+ bNewWindow,
299
+ oUri;
298
300
 
299
301
  if (oAnchorElement) {
300
302
  // The links from the static documentation are already preprocessed at build-time
@@ -307,7 +309,7 @@ sap.ui.define([
307
309
  }
308
310
 
309
311
  // Do not change href if it's already changed or if it's a stand-alone HTML page
310
- if (!sTargetHref || /^https?:\/\//.test(sTargetHref) || /[.]html(#[\w\d]*)?(\?[\w\d-_=&]+)?$/.test(sTargetHref)) {
312
+ if (!sTargetHref || (oUri = URI(sTargetHref)).is("absolute") || oUri.suffix() === "html") {
311
313
  return;
312
314
  }
313
315
 
@@ -22,21 +22,27 @@
22
22
  *
23
23
  * @param {string} sPath Relative path to resources
24
24
  */
25
+
25
26
  getResourceOriginPath: function (sPath) {
26
- var oConfig, sOrigin,
27
+ var sOrigin,
27
28
  oUri = URI(sPath),
28
- bUseUnifiedResourceOrigin = new window.URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null,
29
- sVersionPrefixPath = bUseUnifiedResourceOrigin && window.sessionStorage.getItem("versionPrefixPath") || "";
29
+ sVersionPrefixPath = this.getResourcesVersion();
30
30
  if (oUri && oUri.is("absolute")) {
31
31
  return sPath;
32
32
  }
33
- oConfig = self['sap-ui-documentation-config'];
34
- sOrigin = (oConfig && oConfig.demoKitResourceOrigin) || '.';
33
+ sOrigin = this.getConfig() || '.';
35
34
 
36
35
  return sOrigin + sVersionPrefixPath + this._formatPath(sPath);
37
36
  },
38
37
  getHasProxy: function () {
39
- return new window.URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null;
38
+ return new window.URLSearchParams(window.location.search).get('sap-ui-xx-unifiedResources') != null ||
39
+ window["sap-ui-unified-resources"];
40
+ },
41
+ getResourcesVersion: function() {
42
+ return this.getHasProxy() && window.sessionStorage.getItem("versionPrefixPath") || "";
43
+ },
44
+ getConfig: function() {
45
+ return self['sap-ui-documentation-config'] && self['sap-ui-documentation-config'].demoKitResourceOrigin;
40
46
  },
41
47
  _formatPath: function(sPath) {
42
48
  sPath = sPath.replace(/^\.\//, '/');
@@ -104,7 +104,7 @@ html.sap-tablet:not(.sap-desktop) {
104
104
  }
105
105
 
106
106
  .collapsible.expanded {
107
- > .collapsible-icon::before {
107
+ > .collapsible-icon:before {
108
108
  content: '\E1EF';
109
109
  }
110
110
  }
@@ -114,7 +114,7 @@ html.sap-tablet:not(.sap-desktop) {
114
114
  display: none;
115
115
  }
116
116
 
117
- > .collapsible-icon::before {
117
+ > .collapsible-icon:before {
118
118
  content: '\e0e3';
119
119
  }
120
120
  }
@@ -127,6 +127,7 @@ html.sap-tablet:not(.sap-desktop) {
127
127
  margin-right: 1rem;
128
128
  font-family: sap-icons;
129
129
  font-size: 1rem;
130
+ float: left;
130
131
  }
131
132
 
132
133
  &:hover {
@@ -135,7 +136,8 @@ html.sap-tablet:not(.sap-desktop) {
135
136
 
136
137
  h2, h3, .title, strong {
137
138
  cursor: pointer;
138
- display: inline-block;
139
+ display: block;
140
+ float: none;
139
141
  margin: 0.25rem 0.25rem 0.25rem;
140
142
  pointer-events: none;
141
143
  }
@@ -378,6 +380,7 @@ html.sap-tablet:not(.sap-desktop) {
378
380
  .restriction .title:before,
379
381
  .caution .title:before {
380
382
  margin-right: .5em;
383
+ float: left;
381
384
  }
382
385
 
383
386
  .note .title:before {
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcb/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcb/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcw/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcw/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../sap_belize/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize_plus/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize_plus/global.less";
@@ -3,14 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- @import "../../../../../sap/ui/core/themes/sap_fiori_3/base.less";
7
- @import "../../../../../sap/ui/core/themes/sap_fiori_3/global.less";
8
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.theme.css");
9
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.button.css");
10
6
 
11
- @import "../base/DataTableFilterDropDown.less";
12
- @import "../base/Documentation.less";
13
- @import "../base/DemokitTreeItem.less";
14
- @import "../base/LightTable.less";
15
- @import "../base/Search.less";
16
- @import "../base/TitleLink.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3/global.less";
@@ -3,16 +3,9 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/base.less";
7
- @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/global.less";
8
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.theme.css");
9
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.button.css");
10
6
 
11
- @import "../base/DataTableFilterDropDown.less";
12
- @import "../base/Documentation.less";
13
- @import "../base/DemokitTreeItem.less";
14
- @import "../base/LightTable.less";
15
- @import "../base/Search.less";
16
- @import "../base/TitleLink.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/global.less";
17
10
 
18
- @import "./Documentation.less";
11
+ @import "./Documentation.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcb/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcb/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcw/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcw/global.less";
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_horizon/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_horizon/global.less";
package/ui5.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- specVersion: "1.1"
2
+ specVersion: "2.0"
3
3
  type: library
4
4
  metadata:
5
5
  name: sap.ui.documentation
@@ -7,7 +7,10 @@ metadata:
7
7
  OpenUI5
8
8
  * (c) Copyright 2009-${currentYear} SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
10
+ resources:
11
+ configuration:
12
+ propertiesFileSourceEncoding: ISO-8859-1
10
13
  builder:
11
14
  jsdoc:
12
15
  excludes:
13
- - "sap/ui/documentation/sdk/thirdparty/**"
16
+ - "sap/ui/documentation/sdk/thirdparty/**"