@openui5/sap.ui.documentation 1.96.2 → 1.98.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 (164) hide show
  1. package/.reuse/dep5 +26 -31
  2. package/THIRDPARTY.txt +15 -21
  3. package/package.json +6 -6
  4. package/src/sap/ui/documentation/.library +2 -2
  5. package/src/sap/ui/documentation/BorrowedList.js +1 -1
  6. package/src/sap/ui/documentation/DemokitTreeItem.js +1 -1
  7. package/src/sap/ui/documentation/DemokitTreeItemRenderer.js +1 -1
  8. package/src/sap/ui/documentation/JSDocText.js +1 -1
  9. package/src/sap/ui/documentation/LightTable.js +1 -1
  10. package/src/sap/ui/documentation/ObjectPageSubSection.js +1 -1
  11. package/src/sap/ui/documentation/ParamText.js +1 -1
  12. package/src/sap/ui/documentation/Row.js +1 -1
  13. package/src/sap/ui/documentation/Search.js +1 -1
  14. package/src/sap/ui/documentation/TitleLink.js +1 -1
  15. package/src/sap/ui/documentation/WebPageTitleUtil.js +1 -1
  16. package/src/sap/ui/documentation/library.js +3 -3
  17. package/src/sap/ui/documentation/messagebundle.properties +56 -10
  18. package/src/sap/ui/documentation/messagebundle_ar.properties +32 -6
  19. package/src/sap/ui/documentation/messagebundle_bg.properties +31 -5
  20. package/src/sap/ui/documentation/messagebundle_ca.properties +32 -6
  21. package/src/sap/ui/documentation/messagebundle_cs.properties +32 -6
  22. package/src/sap/ui/documentation/messagebundle_cy.properties +32 -6
  23. package/src/sap/ui/documentation/messagebundle_da.properties +32 -6
  24. package/src/sap/ui/documentation/messagebundle_de.properties +32 -6
  25. package/src/sap/ui/documentation/messagebundle_el.properties +31 -5
  26. package/src/sap/ui/documentation/messagebundle_en.properties +32 -6
  27. package/src/sap/ui/documentation/messagebundle_en_GB.properties +32 -6
  28. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +35 -9
  29. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +4 -9
  30. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +35 -9
  31. package/src/sap/ui/documentation/messagebundle_es.properties +32 -6
  32. package/src/sap/ui/documentation/messagebundle_es_MX.properties +34 -8
  33. package/src/sap/ui/documentation/messagebundle_et.properties +32 -6
  34. package/src/sap/ui/documentation/messagebundle_fi.properties +33 -7
  35. package/src/sap/ui/documentation/messagebundle_fr.properties +32 -6
  36. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +32 -6
  37. package/src/sap/ui/documentation/messagebundle_hi.properties +32 -6
  38. package/src/sap/ui/documentation/messagebundle_hr.properties +32 -6
  39. package/src/sap/ui/documentation/messagebundle_hu.properties +31 -5
  40. package/src/sap/ui/documentation/messagebundle_id.properties +33 -7
  41. package/src/sap/ui/documentation/messagebundle_it.properties +32 -6
  42. package/src/sap/ui/documentation/messagebundle_iw.properties +32 -6
  43. package/src/sap/ui/documentation/messagebundle_ja.properties +32 -6
  44. package/src/sap/ui/documentation/messagebundle_kk.properties +32 -6
  45. package/src/sap/ui/documentation/messagebundle_ko.properties +32 -6
  46. package/src/sap/ui/documentation/messagebundle_lt.properties +32 -6
  47. package/src/sap/ui/documentation/messagebundle_lv.properties +31 -5
  48. package/src/sap/ui/documentation/messagebundle_ms.properties +32 -6
  49. package/src/sap/ui/documentation/messagebundle_nl.properties +32 -6
  50. package/src/sap/ui/documentation/messagebundle_no.properties +33 -7
  51. package/src/sap/ui/documentation/messagebundle_pl.properties +31 -5
  52. package/src/sap/ui/documentation/messagebundle_pt.properties +32 -6
  53. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +32 -6
  54. package/src/sap/ui/documentation/messagebundle_ro.properties +32 -6
  55. package/src/sap/ui/documentation/messagebundle_ru.properties +32 -6
  56. package/src/sap/ui/documentation/messagebundle_sh.properties +33 -7
  57. package/src/sap/ui/documentation/messagebundle_sk.properties +32 -6
  58. package/src/sap/ui/documentation/messagebundle_sl.properties +32 -6
  59. package/src/sap/ui/documentation/messagebundle_sv.properties +32 -6
  60. package/src/sap/ui/documentation/messagebundle_th.properties +32 -6
  61. package/src/sap/ui/documentation/messagebundle_tr.properties +32 -6
  62. package/src/sap/ui/documentation/messagebundle_uk.properties +47 -21
  63. package/src/sap/ui/documentation/messagebundle_vi.properties +32 -6
  64. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +32 -6
  65. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +32 -6
  66. package/src/sap/ui/documentation/sdk/Component.js +1 -1
  67. package/src/sap/ui/documentation/sdk/blocks/IndexEntry.js +1 -1
  68. package/src/sap/ui/documentation/sdk/controller/ApiDetail.controller.js +3 -3
  69. package/src/sap/ui/documentation/sdk/controller/ApiDetailIndexDeprecatedExperimental.controller.js +1 -1
  70. package/src/sap/ui/documentation/sdk/controller/ApiDetailInitial.controller.js +1 -1
  71. package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +1 -1
  72. package/src/sap/ui/documentation/sdk/controller/App.controller.js +78 -2
  73. package/src/sap/ui/documentation/sdk/controller/BaseController.js +1 -1
  74. package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -1
  75. package/src/sap/ui/documentation/sdk/controller/Controls.controller.js +1 -1
  76. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +7 -6
  77. package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +1 -1
  78. package/src/sap/ui/documentation/sdk/controller/Downloads.controller.js +1 -1
  79. package/src/sap/ui/documentation/sdk/controller/Entity.controller.js +1 -1
  80. package/src/sap/ui/documentation/sdk/controller/ErrorHandler.js +1 -1
  81. package/src/sap/ui/documentation/sdk/controller/Group.controller.js +1 -1
  82. package/src/sap/ui/documentation/sdk/controller/License.controller.js +1 -1
  83. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +1 -1
  84. package/src/sap/ui/documentation/sdk/controller/MasterTreeBaseController.js +1 -1
  85. package/src/sap/ui/documentation/sdk/controller/News.controller.js +77 -0
  86. package/src/sap/ui/documentation/sdk/controller/NotFound.controller.js +1 -1
  87. package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +1 -1
  88. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +233 -23
  89. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +1 -1
  90. package/src/sap/ui/documentation/sdk/controller/SampleNotFound.controller.js +1 -1
  91. package/src/sap/ui/documentation/sdk/controller/SearchPage.controller.js +1 -1
  92. package/src/sap/ui/documentation/sdk/controller/Sitemap.controller.js +1 -1
  93. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +1 -1
  94. package/src/sap/ui/documentation/sdk/controller/TermsOfUse.controller.js +1 -1
  95. package/src/sap/ui/documentation/sdk/controller/Tools.controller.js +1 -1
  96. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +1 -1
  97. package/src/sap/ui/documentation/sdk/controller/TopicDetailInitial.controller.js +1 -1
  98. package/src/sap/ui/documentation/sdk/controller/TopicMaster.controller.js +1 -1
  99. package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +106 -0
  100. package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +1 -1
  101. package/src/sap/ui/documentation/sdk/controller/config/datatable.js +1 -1
  102. package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +1 -1
  103. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +17 -1
  104. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +1 -1
  105. package/src/sap/ui/documentation/sdk/controller/util/DataTable.js +1 -1
  106. package/src/sap/ui/documentation/sdk/controller/util/DataTableHelper.js +1 -1
  107. package/src/sap/ui/documentation/sdk/controller/util/DataTableUtil.js +1 -1
  108. package/src/sap/ui/documentation/sdk/controller/util/DocuInfo.js +1 -1
  109. package/src/sap/ui/documentation/sdk/controller/util/EntityInfo.js +1 -1
  110. package/src/sap/ui/documentation/sdk/controller/util/Highlighter.js +1 -1
  111. package/src/sap/ui/documentation/sdk/controller/util/IndexWorker.js +1 -1
  112. package/src/sap/ui/documentation/sdk/controller/util/JSDocUtil.js +1 -1
  113. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +188 -0
  114. package/src/sap/ui/documentation/sdk/controller/util/ResourceDownloadUtil.js +1 -1
  115. package/src/sap/ui/documentation/sdk/controller/util/ResponsiveImageMap.js +1 -1
  116. package/src/sap/ui/documentation/sdk/controller/util/SearchUtil.js +1 -1
  117. package/src/sap/ui/documentation/sdk/controller/util/SidyBySideImageMap.js +1 -1
  118. package/src/sap/ui/documentation/sdk/controller/util/ToolsInfo.js +8 -2
  119. package/src/sap/ui/documentation/sdk/controller/util/Tooltip.js +1 -1
  120. package/src/sap/ui/documentation/sdk/controller/util/TreeUtil.js +1 -1
  121. package/src/sap/ui/documentation/sdk/controller/util/XML2JSONUtils.js +1 -1
  122. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDown.js +1 -1
  123. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDownRenderer.js +8 -2
  124. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRange.js +1 -1
  125. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRangeRenderer.js +1 -1
  126. package/src/sap/ui/documentation/sdk/controller/util/overlay/Overlay.js +1 -1
  127. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Circle.js +1 -1
  128. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Polygon.js +1 -1
  129. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Rect.js +1 -1
  130. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Shape.js +1 -1
  131. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/ShapeFactory.js +1 -1
  132. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/Component.js +1 -1
  133. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -1
  134. package/src/sap/ui/documentation/sdk/css/style.css +42 -2
  135. package/src/sap/ui/documentation/sdk/images/tools/FlexibleProgrammingModelExplorer.jpg +0 -0
  136. package/src/sap/ui/documentation/sdk/manifest.json +16 -0
  137. package/src/sap/ui/documentation/sdk/model/formatter.js +1 -1
  138. package/src/sap/ui/documentation/sdk/model/libraryData.js +1 -1
  139. package/src/sap/ui/documentation/sdk/model/models.js +1 -1
  140. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +4 -2
  141. package/src/sap/ui/documentation/sdk/util/LiveEditorOutput.js +1 -1
  142. package/src/sap/ui/documentation/sdk/util/Resources.js +1 -1
  143. package/src/sap/ui/documentation/sdk/util/ToggleFullScreenHandler.js +1 -1
  144. package/src/sap/ui/documentation/sdk/view/App.view.xml +18 -0
  145. package/src/sap/ui/documentation/sdk/view/ChangeVersionDialog.fragment.xml +1 -2
  146. package/src/sap/ui/documentation/sdk/view/News.view.xml +68 -0
  147. package/src/sap/ui/documentation/sdk/view/NewsPopover.fragment.xml +51 -0
  148. package/src/sap/ui/documentation/sdk/view/Sample.view.xml +5 -1
  149. package/src/sap/ui/documentation/sdk/view/Tools.view.xml +23 -25
  150. package/src/sap/ui/documentation/sdk/view/VersionNotFound.view.xml +44 -0
  151. package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +90 -8
  152. package/src/sap/ui/documentation/sdk/view/appSettingsDialog.fragment.xml +1 -0
  153. package/src/sap/ui/documentation/themes/base/Documentation.less +1 -7
  154. package/src/sap/ui/documentation/themes/base/library.source.less +1 -1
  155. package/src/sap/ui/documentation/themes/sap_belize/library.source.less +1 -1
  156. package/src/sap/ui/documentation/themes/sap_belize_hcb/library.source.less +1 -1
  157. package/src/sap/ui/documentation/themes/sap_belize_hcw/library.source.less +1 -1
  158. package/src/sap/ui/documentation/themes/sap_belize_plus/library.source.less +1 -1
  159. package/src/sap/ui/documentation/themes/sap_fiori_3/library.source.less +1 -1
  160. package/src/sap/ui/documentation/themes/sap_fiori_3_dark/library.source.less +1 -1
  161. package/src/sap/ui/documentation/themes/sap_fiori_3_hcb/library.source.less +1 -1
  162. package/src/sap/ui/documentation/themes/sap_fiori_3_hcw/library.source.less +1 -1
  163. package/src/sap/ui/documentation/themes/sap_horizon/library.source.less +1 -1
  164. package/ui5.yaml +4 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  /* global fetch */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -0,0 +1,188 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ // Provides reuse functionality for reading news from news RSS files
8
+ sap.ui.define([
9
+ "sap/ui/core/Core",
10
+ "sap/ui/thirdparty/jquery",
11
+ "sap/ui/documentation/sdk/util/Resources",
12
+ "sap/base/Log"
13
+ ],
14
+ function(Core, jQuery, ResourcesUtil, Log) {
15
+ "use strict";
16
+
17
+ var _oNewsDataCache = {},
18
+ _aNewNews = [],
19
+ _aOldNews = [],
20
+ _sPreparationFailureMessage = null,
21
+ _bInitiallySplit = false,
22
+ _sOldNewsLocalStorageKey = 'OLD_NEWS_IDS',
23
+ _sLocalStorageNewsName,
24
+ _oConfigUtilInstance;
25
+
26
+ function prepareNewsData(oConfigUtilInstance) {
27
+
28
+ if (_oNewsDataCache["newsRSS"]) {
29
+ return Promise.resolve(_oNewsDataCache["newsRSS"]);
30
+ }
31
+
32
+ _oConfigUtilInstance = oConfigUtilInstance;
33
+ _sLocalStorageNewsName = _oConfigUtilInstance.LOCAL_STORAGE_NAMES[_sOldNewsLocalStorageKey];
34
+
35
+ return _requireConfigJSON()
36
+ .then(_requireFeedXML)
37
+ .then(_parseDateToLocaleString)
38
+ .then(_splitNewAndOldItems)
39
+ .catch(function (vReason) {
40
+ _sPreparationFailureMessage = vReason.message;
41
+ Log.error(_sPreparationFailureMessage);
42
+ })
43
+ .finally(_publishNewsChangedEvent);
44
+ }
45
+
46
+ function _splitNewAndOldItems() {
47
+
48
+ if (_bInitiallySplit) {
49
+ return Promise.resolve();
50
+ }
51
+
52
+ var aLocalStorageCachedIDs = _oConfigUtilInstance.getLocalStorageItem(_sLocalStorageNewsName);
53
+
54
+ return new Promise(function (resolve) {
55
+
56
+ var aItems = _oNewsDataCache["newsRSS"].items,
57
+ oCurrItem;
58
+
59
+ if (Array.isArray(aLocalStorageCachedIDs)) {
60
+ for (var i = 0; i < aItems.length; i++) {
61
+ oCurrItem = aItems[i];
62
+ if (aLocalStorageCachedIDs.indexOf(oCurrItem.id) !== -1) {
63
+ _aOldNews.push(oCurrItem);
64
+ } else {
65
+ _aNewNews.push(oCurrItem);
66
+ }
67
+ }
68
+ } else {
69
+ _aNewNews = aItems.slice();
70
+ }
71
+ _bInitiallySplit = true;
72
+ resolve();
73
+ });
74
+ }
75
+
76
+ function getPreparationFailureMessage() {
77
+ return _sPreparationFailureMessage;
78
+ }
79
+
80
+ function getNewNewsArray() {
81
+ return _aNewNews;
82
+ }
83
+
84
+ function getOldNewsArray() {
85
+ return _aOldNews;
86
+ }
87
+
88
+ function moveNewItemToOld(oItem) {
89
+ var iIndexInNewArr = _aNewNews.indexOf(oItem),
90
+ aLocalStorageIDs = _oConfigUtilInstance.getLocalStorageItem(_sLocalStorageNewsName) || [];
91
+
92
+ if (iIndexInNewArr > -1) {
93
+ _aNewNews.splice(iIndexInNewArr, 1);
94
+ }
95
+
96
+ _aOldNews.push(oItem);
97
+ aLocalStorageIDs.push(oItem.id);
98
+
99
+ _oConfigUtilInstance.setLocalStorageItem(_sLocalStorageNewsName, aLocalStorageIDs);
100
+ _publishNewsChangedEvent();
101
+ }
102
+
103
+ function moveAllNewItemsToOld() {
104
+ var aLocalStorageIDs = _oConfigUtilInstance.getLocalStorageItem(_sLocalStorageNewsName) || [],
105
+ oCurrItem;
106
+
107
+ for (var i = 0; i < _aNewNews.length; i++) {
108
+ oCurrItem = _aNewNews[i];
109
+ _aOldNews.push(oCurrItem);
110
+ aLocalStorageIDs.push(oCurrItem.id);
111
+ }
112
+
113
+ _aNewNews = [];
114
+ _oConfigUtilInstance.setLocalStorageItem(_sLocalStorageNewsName, aLocalStorageIDs);
115
+
116
+ _publishNewsChangedEvent();
117
+ }
118
+
119
+ function _parseDateToLocaleString() {
120
+ var aItems = _oNewsDataCache["newsRSS"].items;
121
+
122
+ aItems.forEach(function(oItem) {
123
+ oItem.updated = new Date(oItem.updated).toLocaleString();
124
+ });
125
+ }
126
+
127
+ function _publishNewsChangedEvent() {
128
+ Core.getEventBus().publish("newsChanged", "onDemoKitNewsChanged");
129
+ }
130
+
131
+ function _requireConfigJSON() {
132
+ return new Promise(function (resolve) {
133
+ jQuery.ajax(ResourcesUtil.getResourceOriginPath("/news-config.json"), {
134
+ type: "GET",
135
+ dataType: "JSON",
136
+ success : function(oResult) {
137
+ resolve(oResult);
138
+ },
139
+ error : function () {
140
+ Log.error("failed to load news-config.json");
141
+ resolve();
142
+ }
143
+ });
144
+ });
145
+ }
146
+
147
+ function _requireFeedXML(oJSON) {
148
+ return new Promise(function (resolve) {
149
+ jQuery.ajax(ResourcesUtil.getResourceOriginPath(oJSON.feedPath), {
150
+ type: "GET",
151
+ dataType: "xml",
152
+ success : function(oResult) {
153
+
154
+ var items = [];
155
+ jQuery('item', oResult).each( function() {
156
+ var item = {};
157
+ item.title = jQuery(this).find('title').eq(0).text();
158
+ item.link = jQuery(this).find('link').eq(0).text();
159
+ item.description = jQuery(this).find('description').eq(0).text();
160
+ item.updated = jQuery(this).find('pubDate').eq(0).text();
161
+ item.id = jQuery(this).find('guid').eq(0).text();
162
+ items.push(item);
163
+ });
164
+
165
+ _oNewsDataCache["newsRSS"] = {"items" : items};
166
+ resolve(
167
+ _oNewsDataCache["newsRSS"]
168
+ );
169
+ },
170
+ error : function () {
171
+ Log.error("failed to load news rss");
172
+ _oNewsDataCache["newsRSS"] = null;
173
+ resolve();
174
+ }
175
+ });
176
+ });
177
+ }
178
+
179
+ return {
180
+ moveAllNewItemsToOld: moveAllNewItemsToOld,
181
+ moveNewItemToOld: moveNewItemToOld,
182
+ prepareNewsData: prepareNewsData,
183
+ getPreparationFailureMessage: getPreparationFailureMessage,
184
+ getNewNewsArray: getNewNewsArray,
185
+ getOldNewsArray: getOldNewsArray
186
+ };
187
+
188
+ });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -12,7 +12,8 @@ sap.ui.define([],
12
12
  var aTools = [
13
13
  {
14
14
  "id": "uiThemeDesigner",
15
- "text": "UI Theme Designer"
15
+ "text": "UI Theme Designer",
16
+ "href": "https://www.sap.com/community/topics/ui-theme-designer.html"
16
17
  },
17
18
  {
18
19
  "id": "businessApplicationStudio",
@@ -63,6 +64,11 @@ sap.ui.define([],
63
64
  "id": "fioriTools",
64
65
  "text": "SAP Fiori Tools",
65
66
  "href": "https://help.sap.com/viewer/product/SAP_FIORI_tools/Latest/en-US"
67
+ },
68
+ {
69
+ "id": "flexibleProgrammingModelExplorer",
70
+ "text": "Flexible Programming Model Explorer",
71
+ "href": "https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/overview/introduction"
66
72
  }
67
73
  ];
68
74
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -34,6 +34,7 @@ sap.ui.define([],
34
34
  oRm.text('Filter');
35
35
  oRm.close('a');
36
36
  oRm.openStart("ul", oControl.getId() + "-optionsList");
37
+ oRm.attr("tabindex", 0);
37
38
  if (!oControl.getProperty("expanded")){
38
39
  oRm.style("display", "none");
39
40
  }
@@ -56,9 +57,14 @@ sap.ui.define([],
56
57
  oRm.attr("checked", "true");
57
58
  }
58
59
  oRm.attr("type", "checkbox");
60
+ oRm.attr("id", "dropDownFilterOption" + index);
59
61
  oRm.attr("index", index);
60
62
  oRm.voidEnd();
61
- oRm.text(sOption);
63
+ oRm.openStart("label");
64
+ oRm.attr("for", "dropDownFilterOption" + index);
65
+ oRm.openEnd("label");
66
+ oRm.text(sOption);
67
+ oRm.close("label");
62
68
  oRm.close("li");
63
69
  });
64
70
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -11,6 +11,22 @@
11
11
  vertical-align: bottom;
12
12
  }
13
13
 
14
+ .newsButton.sapMBtn .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
15
+ position: absolute;
16
+ top: 0;
17
+ right: 0;
18
+ padding: 0;
19
+ }
20
+
21
+ .sapUiSizeCompact .newsButton.sapMBtn .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
22
+ top: -0.25rem;
23
+ right: -0.125rem;
24
+ }
25
+
26
+ .sapUiDemokitCustomNLI.sapMNLI {
27
+ cursor: default;
28
+ }
29
+
14
30
  .aboutDialog .sapMMsgStrip .sapMFT {
15
31
  word-break: break-word;
16
32
  }
@@ -1089,6 +1105,21 @@ html:not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_belize_hcb):not(.sapUiT
1089
1105
  }
1090
1106
  }
1091
1107
 
1108
+ .sapUiDemokit .videoWrapper {
1109
+ position: relative;
1110
+ padding-bottom: 56.25%;
1111
+ height: 0;
1112
+ }
1113
+
1114
+ .sapUiDemokit .videoWrapper iframe {
1115
+ position: absolute;
1116
+ top: 0;
1117
+ left: 0;
1118
+ width: 100%;
1119
+ height: 100%;
1120
+ border: none;
1121
+ }
1122
+
1092
1123
  /* ==========================================================================
1093
1124
  Documentation Page Header styles
1094
1125
  ========================================================================== */
@@ -1785,12 +1816,21 @@ html[dir="rtl"] .sapUiDemoKitTreeItemIcon {
1785
1816
  .sapUiTheme-sap_fiori_3 .sapTntToolHeader .sapMSlt.menuSelect.sapUiDocumentationSelect .sapMSltLabel:after {
1786
1817
  content: "";
1787
1818
  position: absolute;
1788
- bottom: 0;
1819
+ bottom: 0.188rem;
1789
1820
  left: 0.5rem;
1790
1821
  right: 2.5rem;
1791
1822
  padding-right: 1rem;
1792
1823
  border-bottom: 0.188rem solid #d1e8ff;
1793
- border-radius: 0.125rem 0.125rem 0 0;
1824
+ border-radius: 0.125rem;
1825
+ }
1826
+
1827
+ .sapUiTheme-sap_fiori_3.sapUiMedia-Std-Phone .sapTntToolHeader .sapMSlt.sapUiDocumentationSelect,
1828
+ .sap-phone .sapTntToolHeader .sapMSlt.sapUiDocumentationSelect {
1829
+ height: 2.75rem;
1830
+ }
1831
+
1832
+ .sapUiTheme-sap_fiori_3 .sapTntToolHeader .sapMSlt.menuSelect.sapUiDocumentationSelect .sapMSltLabel {
1833
+ border: none;
1794
1834
  }
1795
1835
 
1796
1836
  /* SAP Quartz Light theme - end */
@@ -297,6 +297,13 @@
297
297
  "tools"
298
298
  ]
299
299
  },
300
+ {
301
+ "pattern": "news",
302
+ "name": "news",
303
+ "target": [
304
+ "news"
305
+ ]
306
+ },
300
307
  {
301
308
  "pattern": "search/{searchParam}:?options:",
302
309
  "name": "search",
@@ -422,6 +429,11 @@
422
429
  "viewLevel": 2,
423
430
  "viewId": "tools"
424
431
  },
432
+ "news": {
433
+ "viewName": "News",
434
+ "viewLevel": 2,
435
+ "viewId": "news"
436
+ },
425
437
  "apiDetailInitial": {
426
438
  "viewName": "ApiDetailInitial",
427
439
  "viewId": "apiDetailInitial",
@@ -477,6 +489,10 @@
477
489
  "viewName": "NotFound",
478
490
  "viewId": "notFound"
479
491
  },
492
+ "versionNotFound": {
493
+ "viewName": "VersionNotFound",
494
+ "viewId": "versionNotFound"
495
+ },
480
496
  "sitemap": {
481
497
  "viewName": "Sitemap",
482
498
  "viewId": "sitemap"
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,7 +1,7 @@
1
1
  /* global hasher */
2
2
  /*!
3
3
  * OpenUI5
4
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
5
5
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
6
6
  */
7
7
  // Provides a customized router class for the 'documentation' app.
@@ -255,7 +255,9 @@ sap.ui.define([
255
255
  bParsed = /^blob:/.test(sTarget)
256
256
  || /^https?:\/\//.test(sTarget)
257
257
  || /^test-resources\//.test(sTarget)
258
- || /^resources\//.test(sTarget);
258
+ || /^resources\//.test(sTarget)
259
+ || /^tel:/.test(sTarget)
260
+ || /^mailto:/.test(sTarget);
259
261
 
260
262
  // If we have no target by here we give up
261
263
  if (sTarget && !bParsed) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  // Applies the html of a live-edited code-sample
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -97,6 +97,24 @@
97
97
  </layoutData>
98
98
  </Button>
99
99
 
100
+ <Button
101
+ visible="{=!${news>/newsPreparationFailureMessage}}"
102
+ id="notificationsButton"
103
+ tooltip="{i18n>APP_NEWS_BTN_TOOLTIP}"
104
+ press="handleNewsPress"
105
+ icon="sap-icon://bell"
106
+ type="Transparent"
107
+ class="newsButton">
108
+ <customData>
109
+ <BadgeCustomData
110
+ key="badge"
111
+ value="{news>/newsCount}"/>
112
+ </customData>
113
+ <layoutData>
114
+ <OverflowToolbarLayoutData priority="NeverOverflow" />
115
+ </layoutData>
116
+ </Button>
117
+
100
118
  <MenuButton tooltip="{i18n>APP_INFORMATION_BTN_TOOLTIP}" id="aboutMenuButton" icon="sap-icon://action-settings" type="Transparent" visible="{=!${appView>/bSearchMode}}">
101
119
  <layoutData>
102
120
  <OverflowToolbarLayoutData priority="NeverOverflow" />
@@ -47,8 +47,7 @@
47
47
  }]
48
48
  }">
49
49
  <StandardTreeItem
50
- title="{path: 'version'}{= ${path: 'version'} === ${versionData>/latestVersion} ? ' (Latest)' : ''}"
51
- type="{= ${path: 'path'} ? 'Active' : 'Inactive'}">
50
+ title="{path: 'version'}{= ${path: 'version'} === ${versionData>/latestVersion} ? ' (Latest)' : ''}">
52
51
  <customData>
53
52
  <core:CustomData key="path" value="{path: 'path'}" />
54
53
  </customData>