@openui5/sap.ui.documentation 1.134.0 → 1.136.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 (186) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  3. package/package.json +7 -7
  4. package/src/sap/ui/documentation/.library +5 -5
  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/DivContainer.js +1 -1
  9. package/src/sap/ui/documentation/JSDocText.js +1 -1
  10. package/src/sap/ui/documentation/JSDocType.js +1 -1
  11. package/src/sap/ui/documentation/LightTable.js +1 -1
  12. package/src/sap/ui/documentation/ObjectPageSubSection.js +1 -1
  13. package/src/sap/ui/documentation/ParamText.js +1 -1
  14. package/src/sap/ui/documentation/Row.js +1 -1
  15. package/src/sap/ui/documentation/Search.js +1 -1
  16. package/src/sap/ui/documentation/TitleLink.js +1 -1
  17. package/src/sap/ui/documentation/WebPageTitleUtil.js +1 -1
  18. package/src/sap/ui/documentation/library.js +3 -3
  19. package/src/sap/ui/documentation/messagebundle.properties +2 -2
  20. package/src/sap/ui/documentation/messagebundle_ar.properties +4 -4
  21. package/src/sap/ui/documentation/messagebundle_bg.properties +4 -4
  22. package/src/sap/ui/documentation/messagebundle_ca.properties +4 -4
  23. package/src/sap/ui/documentation/messagebundle_cnr.properties +4 -4
  24. package/src/sap/ui/documentation/messagebundle_cs.properties +4 -4
  25. package/src/sap/ui/documentation/messagebundle_cy.properties +4 -4
  26. package/src/sap/ui/documentation/messagebundle_da.properties +4 -4
  27. package/src/sap/ui/documentation/messagebundle_de.properties +2 -2
  28. package/src/sap/ui/documentation/messagebundle_el.properties +4 -4
  29. package/src/sap/ui/documentation/messagebundle_en.properties +2 -2
  30. package/src/sap/ui/documentation/messagebundle_en_GB.properties +4 -4
  31. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +2 -2
  32. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +2 -2
  33. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +2 -2
  34. package/src/sap/ui/documentation/messagebundle_es.properties +4 -4
  35. package/src/sap/ui/documentation/messagebundle_es_MX.properties +4 -4
  36. package/src/sap/ui/documentation/messagebundle_et.properties +4 -4
  37. package/src/sap/ui/documentation/messagebundle_fi.properties +4 -4
  38. package/src/sap/ui/documentation/messagebundle_fr.properties +8 -8
  39. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +4 -4
  40. package/src/sap/ui/documentation/messagebundle_hi.properties +4 -4
  41. package/src/sap/ui/documentation/messagebundle_hr.properties +4 -4
  42. package/src/sap/ui/documentation/messagebundle_hu.properties +6 -6
  43. package/src/sap/ui/documentation/messagebundle_id.properties +4 -4
  44. package/src/sap/ui/documentation/messagebundle_it.properties +4 -4
  45. package/src/sap/ui/documentation/messagebundle_iw.properties +4 -4
  46. package/src/sap/ui/documentation/messagebundle_ja.properties +6 -6
  47. package/src/sap/ui/documentation/messagebundle_kk.properties +6 -6
  48. package/src/sap/ui/documentation/messagebundle_ko.properties +4 -4
  49. package/src/sap/ui/documentation/messagebundle_lt.properties +4 -4
  50. package/src/sap/ui/documentation/messagebundle_lv.properties +4 -4
  51. package/src/sap/ui/documentation/messagebundle_mk.properties +5 -5
  52. package/src/sap/ui/documentation/messagebundle_ms.properties +4 -4
  53. package/src/sap/ui/documentation/messagebundle_nl.properties +4 -4
  54. package/src/sap/ui/documentation/messagebundle_no.properties +4 -4
  55. package/src/sap/ui/documentation/messagebundle_pl.properties +4 -4
  56. package/src/sap/ui/documentation/messagebundle_pt.properties +4 -4
  57. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +4 -4
  58. package/src/sap/ui/documentation/messagebundle_ro.properties +4 -4
  59. package/src/sap/ui/documentation/messagebundle_ru.properties +4 -4
  60. package/src/sap/ui/documentation/messagebundle_sh.properties +4 -4
  61. package/src/sap/ui/documentation/messagebundle_sk.properties +4 -4
  62. package/src/sap/ui/documentation/messagebundle_sl.properties +8 -8
  63. package/src/sap/ui/documentation/messagebundle_sr.properties +4 -4
  64. package/src/sap/ui/documentation/messagebundle_sv.properties +4 -4
  65. package/src/sap/ui/documentation/messagebundle_th.properties +5 -5
  66. package/src/sap/ui/documentation/messagebundle_tr.properties +4 -4
  67. package/src/sap/ui/documentation/messagebundle_uk.properties +5 -5
  68. package/src/sap/ui/documentation/messagebundle_vi.properties +4 -4
  69. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +4 -4
  70. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +4 -4
  71. package/src/sap/ui/documentation/sdk/Component.js +1 -1
  72. package/src/sap/ui/documentation/sdk/blocks/IndexEntry.js +1 -1
  73. package/src/sap/ui/documentation/sdk/blocks/IndexEntryController.controller.js +1 -1
  74. package/src/sap/ui/documentation/sdk/controller/ApiDetail.controller.js +4 -4
  75. package/src/sap/ui/documentation/sdk/controller/ApiDetailIndexDeprecatedExperimental.controller.js +1 -1
  76. package/src/sap/ui/documentation/sdk/controller/ApiDetailInitial.controller.js +1 -1
  77. package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +1 -1
  78. package/src/sap/ui/documentation/sdk/controller/App.controller.js +10 -11
  79. package/src/sap/ui/documentation/sdk/controller/BPSupport.controller.js +1 -1
  80. package/src/sap/ui/documentation/sdk/controller/BaseController.js +10 -2
  81. package/src/sap/ui/documentation/sdk/controller/Code.controller.js +2 -2
  82. package/src/sap/ui/documentation/sdk/controller/Controls.controller.js +1 -1
  83. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +1 -1
  84. package/src/sap/ui/documentation/sdk/controller/CookieStatement.controller.js +1 -1
  85. package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +1 -1
  86. package/src/sap/ui/documentation/sdk/controller/Downloads.controller.js +1 -1
  87. package/src/sap/ui/documentation/sdk/controller/Entity.controller.js +34 -35
  88. package/src/sap/ui/documentation/sdk/controller/ErrorHandler.js +1 -1
  89. package/src/sap/ui/documentation/sdk/controller/Group.controller.js +1 -1
  90. package/src/sap/ui/documentation/sdk/controller/License.controller.js +1 -1
  91. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +1 -1
  92. package/src/sap/ui/documentation/sdk/controller/MasterTreeBaseController.js +1 -1
  93. package/src/sap/ui/documentation/sdk/controller/News.controller.js +1 -1
  94. package/src/sap/ui/documentation/sdk/controller/NotFound.controller.js +1 -1
  95. package/src/sap/ui/documentation/sdk/controller/PrivacyStatement.controller.js +1 -1
  96. package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +1 -1
  97. package/src/sap/ui/documentation/sdk/controller/Resources.controller.js +1 -1
  98. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +1 -1
  99. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +1 -1
  100. package/src/sap/ui/documentation/sdk/controller/SampleNotFound.controller.js +1 -1
  101. package/src/sap/ui/documentation/sdk/controller/SearchPage.controller.js +3 -3
  102. package/src/sap/ui/documentation/sdk/controller/Sitemap.controller.js +1 -1
  103. package/src/sap/ui/documentation/sdk/controller/StaticResourceBaseController.js +1 -1
  104. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +1 -1
  105. package/src/sap/ui/documentation/sdk/controller/TermsOfUse.controller.js +1 -1
  106. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +24 -6
  107. package/src/sap/ui/documentation/sdk/controller/TopicDetailInitial.controller.js +1 -1
  108. package/src/sap/ui/documentation/sdk/controller/TopicMaster.controller.js +1 -1
  109. package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +1 -1
  110. package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +1 -1
  111. package/src/sap/ui/documentation/sdk/controller/config/datatable.js +7 -1
  112. package/src/sap/ui/documentation/sdk/controller/config/sampleForwardingConfig.js +1 -1
  113. package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +1 -1
  114. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +14 -4
  115. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +1 -1
  116. package/src/sap/ui/documentation/sdk/controller/util/CookiesConsentManager.js +18 -4
  117. package/src/sap/ui/documentation/sdk/controller/util/DataTable.js +2 -2
  118. package/src/sap/ui/documentation/sdk/controller/util/DataTableHelper.js +1 -1
  119. package/src/sap/ui/documentation/sdk/controller/util/DataTableUtil.js +1 -1
  120. package/src/sap/ui/documentation/sdk/controller/util/DocuInfo.js +1 -1
  121. package/src/sap/ui/documentation/sdk/controller/util/DocumentationLoader.js +1 -1
  122. package/src/sap/ui/documentation/sdk/controller/util/EntityInfo.js +1 -1
  123. package/src/sap/ui/documentation/sdk/controller/util/Highlighter.js +2 -2
  124. package/src/sap/ui/documentation/sdk/controller/util/IndexWorker.js +1 -1
  125. package/src/sap/ui/documentation/sdk/controller/util/JSDocUtil.js +1 -1
  126. package/src/sap/ui/documentation/sdk/controller/util/LocaleHelper.js +1 -1
  127. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +1 -1
  128. package/src/sap/ui/documentation/sdk/controller/util/ResourceDownloadUtil.js +1 -1
  129. package/src/sap/ui/documentation/sdk/controller/util/ResourcesInfo.js +4 -7
  130. package/src/sap/ui/documentation/sdk/controller/util/ResponsiveImageMap.js +1 -1
  131. package/src/sap/ui/documentation/sdk/controller/util/SearchUtil.js +1 -1
  132. package/src/sap/ui/documentation/sdk/controller/util/SidyBySideImageMap.js +1 -1
  133. package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +6 -8
  134. package/src/sap/ui/documentation/sdk/controller/util/Tooltip.js +1 -1
  135. package/src/sap/ui/documentation/sdk/controller/util/TreeUtil.js +1 -1
  136. package/src/sap/ui/documentation/sdk/controller/util/URLUtil.js +1 -1
  137. package/src/sap/ui/documentation/sdk/controller/util/UsageTracker.js +1 -1
  138. package/src/sap/ui/documentation/sdk/controller/util/XML2JSONUtils.js +1 -1
  139. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDown.js +1 -1
  140. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDownRenderer.js +1 -1
  141. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRange.js +1 -1
  142. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRangeRenderer.js +1 -1
  143. package/src/sap/ui/documentation/sdk/controller/util/overlay/Overlay.js +1 -1
  144. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Circle.js +1 -1
  145. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Polygon.js +1 -1
  146. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Rect.js +1 -1
  147. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Shape.js +1 -1
  148. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/ShapeFactory.js +1 -1
  149. package/src/sap/ui/documentation/sdk/controls/FileEditor.js +1 -1
  150. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/Component.js +1 -1
  151. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -1
  152. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_cnr.properties +3 -0
  153. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_en.properties +0 -15
  154. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_fr.properties +4 -1
  155. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_sh.properties +3 -0
  156. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_sr.properties +3 -0
  157. package/src/sap/ui/documentation/sdk/index.js +1 -1
  158. package/src/sap/ui/documentation/sdk/model/ExploreSettingsModel.js +1 -1
  159. package/src/sap/ui/documentation/sdk/model/formatter.js +8 -7
  160. package/src/sap/ui/documentation/sdk/model/libraryData.js +1 -1
  161. package/src/sap/ui/documentation/sdk/model/models.js +1 -1
  162. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
  163. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +1 -1
  164. package/src/sap/ui/documentation/sdk/util/FileUtils.js +1 -1
  165. package/src/sap/ui/documentation/sdk/util/LiveEditorOutput.js +1 -1
  166. package/src/sap/ui/documentation/sdk/util/Resources.js +1 -1
  167. package/src/sap/ui/documentation/sdk/util/ToggleFullScreenHandler.js +1 -1
  168. package/src/sap/ui/documentation/themes/base/DemoApps.less +1 -1
  169. package/src/sap/ui/documentation/themes/base/Documentation.less +5 -0
  170. package/src/sap/ui/documentation/themes/base/Resources.less +1 -1
  171. package/src/sap/ui/documentation/themes/base/library.source.less +1 -1
  172. package/src/sap/ui/documentation/themes/sap_belize/library.source.less +1 -1
  173. package/src/sap/ui/documentation/themes/sap_belize_base/library.source.less +1 -1
  174. package/src/sap/ui/documentation/themes/sap_belize_hcb/library.source.less +1 -1
  175. package/src/sap/ui/documentation/themes/sap_belize_hcw/library.source.less +1 -1
  176. package/src/sap/ui/documentation/themes/sap_belize_plus/library.source.less +1 -1
  177. package/src/sap/ui/documentation/themes/sap_fiori_3/library.source.less +1 -1
  178. package/src/sap/ui/documentation/themes/sap_fiori_3_dark/library.source.less +1 -1
  179. package/src/sap/ui/documentation/themes/sap_fiori_3_hcb/library.source.less +1 -1
  180. package/src/sap/ui/documentation/themes/sap_fiori_3_hcw/library.source.less +1 -1
  181. package/src/sap/ui/documentation/themes/sap_horizon/library.source.less +1 -1
  182. package/src/sap/ui/documentation/themes/sap_horizon_dark/library.source.less +1 -1
  183. package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +1 -1
  184. package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +1 -1
  185. package/ui5.yaml +1 -1
  186. package/.reuse/dep5 +0 -471
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -127,7 +127,7 @@ sap.ui.define([
127
127
 
128
128
  _TAB_KEYS: ["samples", "about"],
129
129
 
130
- _loadSample: function (oControlsData) {
130
+ _loadSample: async function (oControlsData) {
131
131
 
132
132
  var sNewId = this._sNewId;
133
133
 
@@ -157,36 +157,38 @@ sap.ui.define([
157
157
  // set data model
158
158
  var oData,
159
159
  oView = this.getView();
160
+
160
161
  if (this._sId !== sNewId) {
161
162
 
163
+ this._oResourceBundle = await oView.getModel("i18n").getResourceBundle();
164
+
162
165
  // retrieve entity docu from server
163
- EntityInfo.getEntityDocuAsync(sNewId, oEntity && oEntity.library).then(function (oDoc) {
166
+ var oDoc = await EntityInfo.getEntityDocuAsync(sNewId, oEntity && oEntity.library);
164
167
 
165
- // route to not found page IF there is NO index entry AND NO docu from server
166
- if (!oEntity && !oDoc) {
167
- this.onRouteNotFound();
168
- return;
169
- }
170
- // get view data
171
- oData = this._getViewData(sNewId, oDoc, oEntity, oControlsData);
168
+ // route to not found page IF there is NO index entry AND NO docu from server
169
+ if (!oEntity && !oDoc) {
170
+ this.onRouteNotFound();
171
+ return;
172
+ }
172
173
 
173
- this.getAPIReferenceCheckPromise(oData.name).then(function (bHasAPIReference) {
174
- oData.bHasAPIReference = bHasAPIReference;
174
+ // get view data
175
+ oData = this._getViewData(sNewId, oDoc, oEntity, oControlsData);
175
176
 
176
- // build header layout 3x3 matrix
177
- this._buildHeaderLayout(oData);
178
- }.bind(this));
177
+ this.getAPIReferenceCheckPromise(oData.name).then(function (bHasAPIReference) {
178
+ oData.bHasAPIReference = bHasAPIReference;
179
179
 
180
- // set view model
181
- oView.getModel().setData(oData, false /* no merge with previous data */);
180
+ // build header layout 3x3 matrix
181
+ this._buildHeaderLayout(oData);
182
+ }.bind(this));
182
183
 
183
- // done, we can now switch the id
184
- this._sId = sNewId;
184
+ // set view model
185
+ oView.getModel().setData(oData, false /* no merge with previous data */);
185
186
 
186
- updateTabs.call(this);
187
- this.appendPageTitle(this.getModel().getProperty("/name"));
187
+ // done, we can now switch the id
188
+ this._sId = sNewId;
188
189
 
189
- }.bind(this));
190
+ updateTabs.call(this);
191
+ this.appendPageTitle(this.getModel().getProperty("/name"));
190
192
 
191
193
  } else {
192
194
  // get existing data model
@@ -216,7 +218,7 @@ sap.ui.define([
216
218
  },
217
219
 
218
220
  // ========= internal ===========================================================================
219
- _getViewData: function (sId, oDoc, oEntity, oControlsData) {
221
+ _getViewData: function (sId, oDoc, oEntity, oControlsData, oResourceBundle) {
220
222
 
221
223
  // convert docu
222
224
  var oData = this._convertEntityInfo(sId, oDoc, oControlsData),
@@ -353,8 +355,7 @@ sap.ui.define([
353
355
  * Converts the deprecated boolean to a human readable text
354
356
  */
355
357
  _createDeprecatedMark: function (sDeprecated) {
356
- var oResourceBundle = this.getModel("i18n").getResourceBundle();
357
- return (sDeprecated) ? oResourceBundle.getText("ENTITY_DEPRECATED") : "";
358
+ return (sDeprecated) ? this._oResourceBundle.getText("ENTITY_DEPRECATED") : "";
358
359
  },
359
360
 
360
361
  _switchPageTab: function () {
@@ -371,7 +372,6 @@ sap.ui.define([
371
372
  },
372
373
 
373
374
  _getHeaderLayoutUtil: function () {
374
- var oResourceBundle;
375
375
 
376
376
  if (!this._oHeaderLayoutUtil) {
377
377
  var _getObjectAttributeBlock = function (sTitle, sText) {
@@ -399,14 +399,13 @@ sap.ui.define([
399
399
  return oHBox;
400
400
  };
401
401
 
402
- oResourceBundle = this.getModel("i18n").getResourceBundle();
403
402
 
404
403
  this._oHeaderLayoutUtil = {
405
404
 
406
405
  _getApiReferenceBlock: function (oData) {
407
406
  return _getHBox({
408
407
  items: [
409
- _getLabel({design: "Bold", text: oResourceBundle.getText("ENITITY_API")}),
408
+ _getLabel({design: "Bold", text: this._oResourceBundle.getText("ENITITY_API")}),
410
409
  _getLink({
411
410
  emphasized: true,
412
411
  text: oData.name,
@@ -418,7 +417,7 @@ sap.ui.define([
418
417
  _getDocumentationBlock: function (oData) {
419
418
  return _getHBox({
420
419
  items: [
421
- _getLabel({design: "Bold", text: oResourceBundle.getText("ENTITY_DOCUMENTATION")}),
420
+ _getLabel({design: "Bold", text: this._oResourceBundle.getText("ENTITY_DOCUMENTATION")}),
422
421
  _getLink({
423
422
  emphasized: true,
424
423
  text: oData.docuLinkText,
@@ -430,7 +429,7 @@ sap.ui.define([
430
429
  _getUXGuidelinesBlock: function (oData) {
431
430
  return _getHBox({
432
431
  items: [
433
- _getLabel({design: "Bold", text: oResourceBundle.getText("ENTITY_UX")}),
432
+ _getLabel({design: "Bold", text: this._oResourceBundle.getText("ENTITY_UX")}),
434
433
  _getLink({
435
434
  emphasized: true,
436
435
  text: oData.uxGuidelinesLinkText,
@@ -443,7 +442,7 @@ sap.ui.define([
443
442
  _getExtendsBlock: function (oData) {
444
443
  return _getHBox({
445
444
  items: [
446
- _getLabel({text: oResourceBundle.getText("ENTITY_EXTENDS")}),
445
+ _getLabel({text: this._oResourceBundle.getText("ENTITY_EXTENDS")}),
447
446
  _getLink({
448
447
  text: oData.baseTypeText,
449
448
  href: "entity/" + oData.baseType,
@@ -454,16 +453,16 @@ sap.ui.define([
454
453
  }, true);
455
454
  },
456
455
  _getApplicationComponentBlock: function (oData) {
457
- return _getObjectAttributeBlock(oResourceBundle.getText("ENTITY_COMPONENT"), oData.appComponent);
456
+ return _getObjectAttributeBlock(this._oResourceBundle.getText("ENTITY_COMPONENT"), oData.appComponent);
458
457
  },
459
458
  _getAvailableSinceBlock: function (oData) {
460
- return _getObjectAttributeBlock(oResourceBundle.getText("ENTITY_SINCE"), oData.entity.since);
459
+ return _getObjectAttributeBlock(this._oResourceBundle.getText("ENTITY_SINCE"), oData.entity.since);
461
460
  },
462
461
  _getCategoryBlock: function (oData) {
463
- return _getObjectAttributeBlock(oResourceBundle.getText("ENTITY_CATEGORY"), oData.entity.category);
462
+ return _getObjectAttributeBlock(this._oResourceBundle.getText("ENTITY_CATEGORY"), oData.entity.category);
464
463
  },
465
464
  _getContentDensityBlock: function (oData) {
466
- return _getObjectAttributeBlock(oResourceBundle.getText("ENTITY_DENSITY"), oData.entity.formFactors);
465
+ return _getObjectAttributeBlock(this._oResourceBundle.getText("ENTITY_DENSITY"), oData.entity.formFactors);
467
466
  }
468
467
  };
469
468
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @param {sap.ui.base.Event} event pattern match event in route 'topicId'
52
52
  * @private
53
53
  */
54
- _onTopicMatched: function (event) {
54
+ _onTopicMatched: async function (event) {
55
55
  var sQuery = decodeURIComponent(event.getParameter("arguments").searchParam),
56
56
  oOptions = event.getParameter("arguments")["?options"],
57
57
  sCategory = oOptions && oOptions.category,
@@ -90,7 +90,7 @@ sap.ui.define([
90
90
  this.highlighter.highlight(sQuery);
91
91
  }
92
92
 
93
- sPageTitle = this.getModel("i18n").getResourceBundle().getText("SEARCH_PAGE_TITLE", [sQuery]);
93
+ sPageTitle = (await this.getModel("i18n").getResourceBundle()).getText("SEARCH_PAGE_TITLE", [sQuery]);
94
94
  this.appendPageTitle(sPageTitle);
95
95
  },
96
96
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -317,6 +317,27 @@ sap.ui.define([
317
317
  if (this.sSubTopicId) {
318
318
  oSection = document.getElementById(this.sSubTopicId);
319
319
  if (oSection) {
320
+ if (aImgs.length) {
321
+ var aPromises = [];
322
+
323
+ aImgs.each(function (index, image) {
324
+ var oPromise = new Promise(function (resolve) {
325
+ image.onload = function () {
326
+ resolve();
327
+ };
328
+ image.onerror = function () {
329
+ resolve();
330
+ };
331
+ });
332
+
333
+ aPromises.push(oPromise);
334
+ });
335
+
336
+ Promise.all(aPromises).then(function () {
337
+ oSection.scrollIntoView(true);
338
+ });
339
+ }
340
+
320
341
  oSection.scrollIntoView(true);
321
342
  }
322
343
  }
@@ -422,14 +443,11 @@ sap.ui.define([
422
443
 
423
444
  _enableDataTable: function (oTable) {
424
445
  var sTableId = oTable.id,
425
- oConfig = Object.assign(this._getDataTableConfig(sTableId), { responsive: true, layout: {
426
- topStart: {
427
- buttons: ['colvis', 'pageLength']
428
- }}}),
446
+ oConfig = Object.assign(this._getDataTableConfig(sTableId)),
429
447
  oDataTable;
430
448
 
431
449
  if (oConfig) {
432
- oDataTable = jQuery('#' + sTableId).DataTable(oConfig);
450
+ oDataTable = new DataTable().init(sTableId, oTable, oConfig);
433
451
  this._getDataTableHelper().addDatatable(oDataTable);
434
452
  }
435
453
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -18,6 +18,12 @@ sap.ui.define([], function () {
18
18
  "buttons": {
19
19
  "colvis": "Show/hide columns"
20
20
  }
21
+ },
22
+ "responsive": true,
23
+ "layout": {
24
+ "topStart": {
25
+ "buttons": ['colvis', 'pageLength']
26
+ }
21
27
  }
22
28
  };
23
29
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -24,7 +24,8 @@ sap.ui.define([
24
24
 
25
25
  "COOKIE_NAMES": {
26
26
  "APPROVAL_REQUESTED": "dk_approval_requested",
27
- "ALLOW_FUNCTIONAL_COOKIES": "dk_allow_functional_cookies"
27
+ "ALLOW_FUNCTIONAL_COOKIES": "dk_allow_functional_cookies",
28
+ "CONFIGURATION_APPEARANCE": "appearance"
28
29
  },
29
30
 
30
31
  "LOCAL_STORAGE_NAMES": {
@@ -41,14 +42,19 @@ sap.ui.define([
41
42
  return !!bIsSplitView;
42
43
  },
43
44
 
45
+ /**
46
+ * Obtains the master view
47
+ * @param {string} sRouteName
48
+ * @returns {Promise<sap.ui.core.mvc.View>} The master view
49
+ */
44
50
  getMasterView: function(sRouteName) {
45
51
  var sMasterTargetName = this._getMasterTargetName(sRouteName),
46
52
  sTargetConfig = this._getTargetConfig(sMasterTargetName),
47
53
  sViewName = sTargetConfig.viewName;
48
54
 
49
- sViewName = "sap.ui.documentation.sdk.view." + capitalize(sViewName, 0);
55
+ sViewName = "sap.ui.documentation.sdk.view." + capitalize(sViewName, 0);
50
56
 
51
- return this._oComponent.getRouter().getView(sViewName, "XML");
57
+ return this._oComponent.getRouter().getViews().getView({viewName: sViewName, type: "XML"});
52
58
  },
53
59
 
54
60
  setCookie: function (sCookieName, sValue) {
@@ -90,6 +96,10 @@ sap.ui.define([
90
96
  window.localStorage.removeItem(sItem);
91
97
  },
92
98
 
99
+ unsetCookie: function (sCookieName) {
100
+ document.cookie = `${sCookieName}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`;
101
+ },
102
+
93
103
  _getMasterTargetName: function(sRouteName) {
94
104
  var oRouteConfig = this._getRouteConfig(sRouteName),
95
105
  bIsSplitView = oRouteConfig && oRouteConfig.target.length === 2,
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -246,12 +246,13 @@ sap.ui.define(
246
246
  if (!TRUST_ARC.CONSENT_PREFERENCES_ORIGIN_WHITELIST.includes(oEvent.origin)) {
247
247
  return;
248
248
  }
249
- var oData = JSON.parse(oEvent.data);
250
- if (oData.source === "preference_manager" && oData.message === "submit_preferences") {
249
+
250
+ var oData = this._convertResponseToObject(oEvent.data);
251
+ if (oData && oData.source === "preference_manager" && oData.message === "submit_preferences") {
251
252
  resolve();
252
253
  window.removeEventListener("message", fnListener);
253
254
  }
254
- };
255
+ }.bind(this);
255
256
  window.addEventListener("message", fnListener, false);
256
257
  }.bind(this));
257
258
  },
@@ -265,6 +266,19 @@ sap.ui.define(
265
266
  };
266
267
  return JSON.stringify(apiObject);
267
268
  },
269
+ _convertResponseToObject: function(oResponse) {
270
+ if (oResponse && typeof oResponse === "object") {
271
+ return oResponse;
272
+ }
273
+ if (oResponse && typeof oResponse === "string") {
274
+ try {
275
+ return JSON.parse(oResponse);
276
+ } catch (e) {
277
+ Log.warning("Unknown message format: ", e);
278
+ return null;
279
+ }
280
+ }
281
+ },
268
282
  // override
269
283
  _load: function() {
270
284
  return new Promise(function(resolve, reject) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -86,7 +86,7 @@ sap.ui.define([
86
86
  this.oDomTable = oTable;
87
87
  this.oConfig = this.getConfig(sId, oConfig);
88
88
  // create datatable
89
- var API = $(oTable)
89
+ var API = $("#" + sId)
90
90
  .DataTable(
91
91
  Object.assign(
92
92
  this.oConfig,
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6