@openui5/sap.ui.documentation 1.108.2 → 1.110.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 (166) hide show
  1. package/.reuse/dep5 +16 -16
  2. package/THIRDPARTY.txt +2 -2
  3. package/package.json +7 -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 +4 -2
  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 +6 -2
  18. package/src/sap/ui/documentation/messagebundle_ar.properties +4 -2
  19. package/src/sap/ui/documentation/messagebundle_bg.properties +4 -2
  20. package/src/sap/ui/documentation/messagebundle_ca.properties +4 -2
  21. package/src/sap/ui/documentation/messagebundle_cs.properties +4 -2
  22. package/src/sap/ui/documentation/messagebundle_cy.properties +4 -2
  23. package/src/sap/ui/documentation/messagebundle_da.properties +4 -2
  24. package/src/sap/ui/documentation/messagebundle_de.properties +4 -2
  25. package/src/sap/ui/documentation/messagebundle_el.properties +4 -2
  26. package/src/sap/ui/documentation/messagebundle_en.properties +4 -2
  27. package/src/sap/ui/documentation/messagebundle_en_GB.properties +4 -2
  28. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +4 -2
  29. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +4 -2
  30. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +4 -2
  31. package/src/sap/ui/documentation/messagebundle_es.properties +4 -2
  32. package/src/sap/ui/documentation/messagebundle_es_MX.properties +4 -2
  33. package/src/sap/ui/documentation/messagebundle_et.properties +4 -2
  34. package/src/sap/ui/documentation/messagebundle_fi.properties +4 -2
  35. package/src/sap/ui/documentation/messagebundle_fr.properties +4 -2
  36. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +4 -2
  37. package/src/sap/ui/documentation/messagebundle_hi.properties +4 -2
  38. package/src/sap/ui/documentation/messagebundle_hr.properties +4 -2
  39. package/src/sap/ui/documentation/messagebundle_hu.properties +4 -2
  40. package/src/sap/ui/documentation/messagebundle_id.properties +4 -2
  41. package/src/sap/ui/documentation/messagebundle_it.properties +4 -2
  42. package/src/sap/ui/documentation/messagebundle_iw.properties +4 -2
  43. package/src/sap/ui/documentation/messagebundle_ja.properties +7 -5
  44. package/src/sap/ui/documentation/messagebundle_kk.properties +4 -2
  45. package/src/sap/ui/documentation/messagebundle_ko.properties +4 -2
  46. package/src/sap/ui/documentation/messagebundle_lt.properties +4 -2
  47. package/src/sap/ui/documentation/messagebundle_lv.properties +4 -2
  48. package/src/sap/ui/documentation/messagebundle_ms.properties +4 -2
  49. package/src/sap/ui/documentation/messagebundle_nl.properties +4 -2
  50. package/src/sap/ui/documentation/messagebundle_no.properties +4 -2
  51. package/src/sap/ui/documentation/messagebundle_pl.properties +4 -2
  52. package/src/sap/ui/documentation/messagebundle_pt.properties +4 -2
  53. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +4 -2
  54. package/src/sap/ui/documentation/messagebundle_ro.properties +4 -2
  55. package/src/sap/ui/documentation/messagebundle_ru.properties +4 -2
  56. package/src/sap/ui/documentation/messagebundle_sh.properties +4 -2
  57. package/src/sap/ui/documentation/messagebundle_sk.properties +4 -2
  58. package/src/sap/ui/documentation/messagebundle_sl.properties +4 -2
  59. package/src/sap/ui/documentation/messagebundle_sv.properties +4 -2
  60. package/src/sap/ui/documentation/messagebundle_th.properties +6 -4
  61. package/src/sap/ui/documentation/messagebundle_tr.properties +4 -2
  62. package/src/sap/ui/documentation/messagebundle_uk.properties +4 -2
  63. package/src/sap/ui/documentation/messagebundle_vi.properties +4 -2
  64. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +4 -2
  65. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +4 -2
  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 +29 -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 +13 -18
  73. package/src/sap/ui/documentation/sdk/controller/BPSupport.controller.js +1 -1
  74. package/src/sap/ui/documentation/sdk/controller/BaseController.js +1 -1
  75. package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -1
  76. package/src/sap/ui/documentation/sdk/controller/Controls.controller.js +1 -1
  77. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +3 -179
  78. package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +13 -12
  79. package/src/sap/ui/documentation/sdk/controller/Downloads.controller.js +1 -1
  80. package/src/sap/ui/documentation/sdk/controller/Entity.controller.js +1 -1
  81. package/src/sap/ui/documentation/sdk/controller/ErrorHandler.js +1 -1
  82. package/src/sap/ui/documentation/sdk/controller/Group.controller.js +1 -1
  83. package/src/sap/ui/documentation/sdk/controller/License.controller.js +1 -1
  84. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +1 -1
  85. package/src/sap/ui/documentation/sdk/controller/MasterTreeBaseController.js +1 -1
  86. package/src/sap/ui/documentation/sdk/controller/News.controller.js +1 -1
  87. package/src/sap/ui/documentation/sdk/controller/NotFound.controller.js +1 -1
  88. package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +1 -1
  89. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +2 -2
  90. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +1 -1
  91. package/src/sap/ui/documentation/sdk/controller/SampleNotFound.controller.js +1 -1
  92. package/src/sap/ui/documentation/sdk/controller/SearchPage.controller.js +1 -1
  93. package/src/sap/ui/documentation/sdk/controller/Sitemap.controller.js +1 -1
  94. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +2 -2
  95. package/src/sap/ui/documentation/sdk/controller/TermsOfUse.controller.js +1 -1
  96. package/src/sap/ui/documentation/sdk/controller/Tools.controller.js +1 -1
  97. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +1 -1
  98. package/src/sap/ui/documentation/sdk/controller/TopicDetailInitial.controller.js +1 -1
  99. package/src/sap/ui/documentation/sdk/controller/TopicMaster.controller.js +1 -1
  100. package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +1 -1
  101. package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +1 -1
  102. package/src/sap/ui/documentation/sdk/controller/config/datatable.js +1 -1
  103. package/src/sap/ui/documentation/sdk/controller/config/sampleForwardingConfig.js +1 -1
  104. package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +1 -1
  105. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +1 -1
  106. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +1 -1
  107. package/src/sap/ui/documentation/sdk/controller/util/DataTable.js +1 -1
  108. package/src/sap/ui/documentation/sdk/controller/util/DataTableHelper.js +1 -1
  109. package/src/sap/ui/documentation/sdk/controller/util/DataTableUtil.js +1 -1
  110. package/src/sap/ui/documentation/sdk/controller/util/DocuInfo.js +1 -1
  111. package/src/sap/ui/documentation/sdk/controller/util/EntityInfo.js +42 -33
  112. package/src/sap/ui/documentation/sdk/controller/util/Highlighter.js +47 -27
  113. package/src/sap/ui/documentation/sdk/controller/util/IndexWorker.js +1 -1
  114. package/src/sap/ui/documentation/sdk/controller/util/JSDocUtil.js +1 -1
  115. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +1 -1
  116. package/src/sap/ui/documentation/sdk/controller/util/ResourceDownloadUtil.js +1 -1
  117. package/src/sap/ui/documentation/sdk/controller/util/ResponsiveImageMap.js +1 -1
  118. package/src/sap/ui/documentation/sdk/controller/util/SearchUtil.js +1 -1
  119. package/src/sap/ui/documentation/sdk/controller/util/SidyBySideImageMap.js +1 -1
  120. package/src/sap/ui/documentation/sdk/controller/util/ToolsInfo.js +1 -1
  121. package/src/sap/ui/documentation/sdk/controller/util/Tooltip.js +1 -1
  122. package/src/sap/ui/documentation/sdk/controller/util/TreeUtil.js +1 -1
  123. package/src/sap/ui/documentation/sdk/controller/util/URLUtil.js +1 -1
  124. package/src/sap/ui/documentation/sdk/controller/util/XML2JSONUtils.js +1 -1
  125. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDown.js +1 -1
  126. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDownRenderer.js +1 -1
  127. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRange.js +1 -1
  128. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRangeRenderer.js +1 -1
  129. package/src/sap/ui/documentation/sdk/controller/util/overlay/Overlay.js +1 -1
  130. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Circle.js +1 -1
  131. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Polygon.js +1 -1
  132. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Rect.js +1 -1
  133. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Shape.js +1 -1
  134. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/ShapeFactory.js +1 -1
  135. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/Component.js +1 -1
  136. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -1
  137. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/manifest.json +4 -1
  138. package/src/sap/ui/documentation/sdk/css/style.css +1 -1
  139. package/src/sap/ui/documentation/sdk/index.js +1 -1
  140. package/src/sap/ui/documentation/sdk/model/formatter.js +1 -1
  141. package/src/sap/ui/documentation/sdk/model/libraryData.js +1 -1
  142. package/src/sap/ui/documentation/sdk/model/models.js +1 -1
  143. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +1 -1
  144. package/src/sap/ui/documentation/sdk/util/LiveEditorOutput.js +1 -1
  145. package/src/sap/ui/documentation/sdk/util/Resources.js +2 -2
  146. package/src/sap/ui/documentation/sdk/util/ToggleFullScreenHandler.js +1 -1
  147. package/src/sap/ui/documentation/sdk/view/App.view.xml +5 -10
  148. package/src/sap/ui/documentation/sdk/view/ControlsMaster.view.xml +0 -1
  149. package/src/sap/ui/documentation/sdk/view/License.view.xml +0 -1
  150. package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +3 -0
  151. package/src/sap/ui/documentation/sdk/view/TermsOfUse.view.xml +0 -1
  152. package/src/sap/ui/documentation/sdk/view/TopicDetail.view.xml +0 -1
  153. package/src/sap/ui/documentation/sdk/view/VersionInfo.view.xml +0 -1
  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/src/sap/ui/documentation/themes/sap_horizon_dark/library.source.less +1 -1
  165. package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +1 -1
  166. package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -15,12 +15,9 @@ sap.ui.define([
15
15
  "sap/ui/model/FilterOperator",
16
16
  "sap/ui/model/Sorter",
17
17
  "sap/base/util/Version",
18
- "sap/base/util/UriParameters",
19
18
  "sap/ui/util/Storage",
20
19
  "sap/ui/core/Core",
21
- "sap/ui/documentation/sdk/controller/util/Highlighter",
22
- "sap/ui/documentation/sdk/util/Resources",
23
- "sap/m/BusyDialog"
20
+ "sap/ui/documentation/sdk/controller/util/Highlighter"
24
21
  ], function(
25
22
  jQuery,
26
23
  Device,
@@ -32,12 +29,9 @@ sap.ui.define([
32
29
  FilterOperator,
33
30
  Sorter,
34
31
  Version,
35
- UriParameters,
36
32
  Storage,
37
33
  Core,
38
- Highlighter,
39
- ResourcesUtil,
40
- BusyDialog
34
+ Highlighter
41
35
  ) {
42
36
  "use strict";
43
37
 
@@ -197,19 +191,6 @@ sap.ui.define([
197
191
  this._oDefaultSettings.themeActive = oData.sThemeActive;
198
192
  },
199
193
 
200
- _viewSettingsResetOnNavigation: function (oEvent) {
201
- var sRouteName = oEvent.getParameter("name");
202
- if (["group", "entity", "sample", "code", "code_file", "controls", "controlsMaster", "listFilter"].indexOf(sRouteName) === -1) {
203
- // Reset view settings
204
- this._applyAppConfiguration(this._oDefaultSettings.themeActive,
205
- this._oDefaultSettings.densityMode,
206
- this._oDefaultSettings.rtl);
207
-
208
- // When we restore the default settings we don't need the event any more
209
- this.getRouter().detachBeforeRouteMatched(this._viewSettingsResetOnNavigation, this);
210
- }
211
- },
212
-
213
194
  /**
214
195
  * Initialize the list settings. At first local storage is checked. If this is empty defaults are used.
215
196
  * @private
@@ -221,97 +202,6 @@ sap.ui.define([
221
202
  }
222
203
  },
223
204
 
224
- /**
225
- * Toggles content density classes in the provided html body
226
- * @param {object} oBody the html body to set the correct class on
227
- * @param {string} sDensityMode content density mode
228
- * @private
229
- */
230
- _toggleContentDensityClasses: function(oBody, sDensityMode){
231
- switch (sDensityMode) {
232
- case COMPACT:
233
- oBody.toggleClass("sapUiSizeCompact", true).toggleClass("sapUiSizeCozy", false).toggleClass("sapUiSizeCondensed", false);
234
- break;
235
- case CONDENSED:
236
- oBody.toggleClass("sapUiSizeCondensed", true).toggleClass("sapUiSizeCozy", false).toggleClass("sapUiSizeCompact", true);
237
- break;
238
- default:
239
- oBody.toggleClass("sapUiSizeCozy", true).toggleClass("sapUiSizeCondensed", false).toggleClass("sapUiSizeCompact", false);
240
- }
241
- },
242
-
243
- /**
244
- * Apply content configuration
245
- * @param {string} sThemeActive name of the theme
246
- * @param {string} sDensityMode content density mode
247
- * @param {boolean} bRTL right to left mode
248
- * @private
249
- */
250
- _applyAppConfiguration: function(sThemeActive, sDensityMode, bRTL){
251
- var oSampleFrameContent,
252
- oSampleFrameCore,
253
- $SampleFrame,
254
- bRTLChanged,
255
- bThemeChanged,
256
- bContentDensityChanged;
257
-
258
- // Handle content density change
259
- if (this._oViewSettings.densityMode !== sDensityMode) {
260
- this._toggleContentDensityClasses(jQuery(document.body), sDensityMode);
261
- this._oViewSettings.densityMode = sDensityMode;
262
- bContentDensityChanged = true;
263
- }
264
-
265
- // Handle RTL mode change
266
- if (this._oViewSettings.rtl !== bRTL) {
267
- this._oCore.getConfiguration().setRTL(bRTL);
268
-
269
- this._oViewSettings.rtl = bRTL;
270
- bRTLChanged = true;
271
- }
272
-
273
- // Handle theme change
274
- if (this._oCore.getConfiguration().getTheme() !== sThemeActive) {
275
- this._oCore.applyTheme(sThemeActive);
276
-
277
- bThemeChanged = true;
278
- } else if (bContentDensityChanged) {
279
- // NOTE: We notify for content density change only if no theme change is applied because both
280
- // methods fire the same event which may lead to unpredictable result.
281
- this._oCore.notifyContentDensityChanged();
282
- }
283
-
284
- // Apply theme and compact mode also to iframe samples if there is actually a change
285
- if ((bRTLChanged || bContentDensityChanged || bThemeChanged) && !ResourcesUtil.getHasProxy()) {
286
-
287
- $SampleFrame = jQuery("#sampleFrame");
288
- if ($SampleFrame.length > 0) {
289
- oSampleFrameContent = $SampleFrame[0].contentWindow;
290
- if (oSampleFrameContent) {
291
- oSampleFrameCore = oSampleFrameContent.sap.ui.getCore();
292
-
293
- if (bContentDensityChanged) {
294
- this._toggleContentDensityClasses(oSampleFrameContent.jQuery('body'), sDensityMode);
295
- }
296
-
297
- if (bRTLChanged) {
298
- oSampleFrameCore.getConfiguration().setRTL(bRTL);
299
- }
300
-
301
- if (bThemeChanged) {
302
- oSampleFrameCore.applyTheme(sThemeActive);
303
- } else if (bContentDensityChanged) {
304
- // Notify Core for content density change only if no theme change happened
305
- oSampleFrameCore.notifyContentDensityChanged();
306
- }
307
-
308
- }
309
- }
310
-
311
- }
312
-
313
- },
314
-
315
205
  _onGroupMatched: function (event) {
316
206
  this._onMatched('#/group/', event);
317
207
  },
@@ -672,72 +562,6 @@ sap.ui.define([
672
562
  } else {
673
563
  this._vsFilterBar.setVisible(false);
674
564
  }
675
- },
676
-
677
- /**
678
- * Opens the View settings dialog
679
- * @public
680
- */
681
- handleSettings: function () {
682
- if (!this._oSettingsDialog) {
683
- this._oSettingsDialog = new sap.ui.xmlfragment("sap.ui.documentation.sdk.view.appSettingsDialog", this);
684
- this._oView.addDependent(this._oSettingsDialog);
685
- }
686
-
687
- setTimeout(function () {
688
- var oAppSettings = this._oCore.getConfiguration(),
689
- oThemeSelect = this._oCore.byId("ThemeSelect"),
690
- sUriParamTheme = UriParameters.fromQuery(window.location.search).get("sap-theme"),
691
- bDensityMode = this._oViewSettings.densityMode;
692
-
693
- // Theme select
694
- oThemeSelect.setSelectedKey(sUriParamTheme ? sUriParamTheme : oAppSettings.getTheme());
695
-
696
- // RTL
697
- this._oCore.byId("RTLSwitch").setState(oAppSettings.getRTL());
698
-
699
- // Density mode select
700
- this._oCore.byId("DensityModeSwitch").setSelectedKey(bDensityMode);
701
- this._oSettingsDialog.open();
702
- }.bind(this), 0);
703
- },
704
-
705
- /**
706
- * Closes the View settings dialog
707
- * @public
708
- */
709
- handleCloseAppSettings: function () {
710
- this._oSettingsDialog.close();
711
- },
712
-
713
- /**
714
- * Saves settings from the view settings dialog
715
- * @public
716
- */
717
- handleSaveAppSettings: function () {
718
- var sDensityMode = this._oCore.byId('DensityModeSwitch').getSelectedKey(),
719
- sTheme = this._oCore.byId('ThemeSelect').getSelectedKey(),
720
- bRTL = this._oCore.byId('RTLSwitch').getState();
721
-
722
- this._oSettingsDialog.close();
723
-
724
- // Lazy loading of busy dialog
725
- if (!this._oBusyDialog) {
726
- this._oBusyDialog = new BusyDialog();
727
- this.getView().addDependent(this._oBusyDialog);
728
- }
729
-
730
- // Handle busy dialog
731
- this._oBusyDialog.open();
732
- setTimeout(function () {
733
- this._oBusyDialog.close();
734
- }.bind(this), 1000);
735
-
736
- // handle settings change
737
- this._applyAppConfiguration(sTheme, sDensityMode, bRTL);
738
-
739
- // If we are navigating outside the Explored App section: view settings should be reset
740
- this.getRouter().attachBeforeRouteMatched(this._viewSettingsResetOnNavigation, this);
741
565
  }
742
566
  });
743
567
  }
@@ -1,25 +1,26 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/thirdparty/jquery",
9
- "sap/ui/documentation/sdk/controller/BaseController",
10
- "sap/ui/model/resource/ResourceModel",
8
+ "sap/base/Log",
9
+ "sap/m/MessageBox",
10
+ "sap/m/MessageToast",
11
11
  "sap/ui/Device",
12
- "sap/ui/model/json/JSONModel",
12
+ "sap/ui/VersionInfo",
13
+ "sap/ui/documentation/sdk/controller/BaseController",
13
14
  "sap/ui/documentation/sdk/controller/util/ResourceDownloadUtil",
14
15
  "sap/ui/documentation/sdk/model/formatter",
15
- "sap/m/MessageBox",
16
- "sap/m/MessageToast",
16
+ 'sap/ui/documentation/sdk/model/libraryData',
17
17
  "sap/ui/model/Filter",
18
18
  "sap/ui/model/FilterOperator",
19
- 'sap/ui/documentation/sdk/model/libraryData',
20
- "sap/base/Log"
21
- ], function(jQuery, BaseController, ResourceModel, Device, JSONModel, ResourceDownloadUtil, formatter, MessageBox,
22
- MessageToast, Filter, FilterOperator, libraryData, Log) {
19
+ "sap/ui/model/json/JSONModel",
20
+ "sap/ui/model/resource/ResourceModel",
21
+ "sap/ui/thirdparty/jquery"
22
+ ], function(Log, MessageBox, MessageToast, Device, VersionInfo, BaseController, ResourceDownloadUtil,
23
+ formatter, libraryData, Filter, FilterOperator, JSONModel, ResourceModel, jQuery) {
23
24
  "use strict";
24
25
 
25
26
  return BaseController.extend("sap.ui.documentation.sdk.controller.DemoApps", {
@@ -49,7 +50,7 @@ sap.ui.define([
49
50
 
50
51
  this.getRouter().getRoute("demoapps").attachPatternMatched(this._onMatched, this);
51
52
 
52
- sap.ui.getVersionInfo({async: true}).then(function (oVersionInfo) {
53
+ VersionInfo.load().then(function (oVersionInfo) {
53
54
  var oViewModel = new JSONModel({
54
55
  isOpenUI5: oVersionInfo && oVersionInfo.gav && /openui5/i.test(oVersionInfo.gav)
55
56
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -195,7 +195,7 @@ sap.ui.define([
195
195
  }
196
196
  }
197
197
  // Sets the current iframe URL or restores it to "undefined"
198
- oModelData.iframe = oSampleConfig.iframe;
198
+ oModelData.iframe = oSampleConfig.iframe || null;
199
199
  oPage.setProperty("enableScrolling", !!oSampleConfig.stretch, true);
200
200
  }
201
201
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -619,7 +619,7 @@ sap.ui.define([
619
619
  {creator: "_getDocumentationBlock", exists: oControlData.docuLink !== undefined},
620
620
  {creator: "_getControlGithub", exists: bIsOpenUI5 && oControlData.resource && oEntityData.lib},
621
621
  {creator: "_getUXGuidelinesBlock", exists: oControlData.uxGuidelinesLink !== undefined},
622
- {creator: "_getExtendsBlock", exists: oControlData.isClass},
622
+ {creator: "_getExtendsBlock", exists: oControlData.isClass || oControlData.isTypedef && oControlData.isDerived},
623
623
  {creator: "_getSubclassesBlock", exists: aSubClasses.length > 0},
624
624
  {creator: "_getImplementsBlock", exists: oControlData.hasImplementsData},
625
625
  {creator: "_getModuleBlock", exists: true},
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6