@openui5/sap.ui.documentation 1.97.0 → 1.97.1

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 (102) hide show
  1. package/package.json +6 -6
  2. package/src/sap/ui/documentation/.library +2 -2
  3. package/src/sap/ui/documentation/BorrowedList.js +1 -1
  4. package/src/sap/ui/documentation/DemokitTreeItem.js +1 -1
  5. package/src/sap/ui/documentation/DemokitTreeItemRenderer.js +1 -1
  6. package/src/sap/ui/documentation/JSDocText.js +1 -1
  7. package/src/sap/ui/documentation/LightTable.js +1 -1
  8. package/src/sap/ui/documentation/ObjectPageSubSection.js +1 -1
  9. package/src/sap/ui/documentation/ParamText.js +1 -1
  10. package/src/sap/ui/documentation/Row.js +1 -1
  11. package/src/sap/ui/documentation/Search.js +1 -1
  12. package/src/sap/ui/documentation/TitleLink.js +1 -1
  13. package/src/sap/ui/documentation/WebPageTitleUtil.js +1 -1
  14. package/src/sap/ui/documentation/library.js +3 -3
  15. package/src/sap/ui/documentation/messagebundle.properties +8 -0
  16. package/src/sap/ui/documentation/sdk/Component.js +1 -1
  17. package/src/sap/ui/documentation/sdk/blocks/IndexEntry.js +1 -1
  18. package/src/sap/ui/documentation/sdk/controller/ApiDetail.controller.js +1 -1
  19. package/src/sap/ui/documentation/sdk/controller/ApiDetailIndexDeprecatedExperimental.controller.js +1 -1
  20. package/src/sap/ui/documentation/sdk/controller/ApiDetailInitial.controller.js +1 -1
  21. package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +1 -1
  22. package/src/sap/ui/documentation/sdk/controller/App.controller.js +1 -1
  23. package/src/sap/ui/documentation/sdk/controller/BaseController.js +1 -1
  24. package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -1
  25. package/src/sap/ui/documentation/sdk/controller/Controls.controller.js +1 -1
  26. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +1 -1
  27. package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +1 -1
  28. package/src/sap/ui/documentation/sdk/controller/Downloads.controller.js +1 -1
  29. package/src/sap/ui/documentation/sdk/controller/Entity.controller.js +1 -1
  30. package/src/sap/ui/documentation/sdk/controller/ErrorHandler.js +1 -1
  31. package/src/sap/ui/documentation/sdk/controller/Group.controller.js +1 -1
  32. package/src/sap/ui/documentation/sdk/controller/License.controller.js +1 -1
  33. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +1 -1
  34. package/src/sap/ui/documentation/sdk/controller/MasterTreeBaseController.js +1 -1
  35. package/src/sap/ui/documentation/sdk/controller/News.controller.js +1 -1
  36. package/src/sap/ui/documentation/sdk/controller/NotFound.controller.js +1 -1
  37. package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +1 -1
  38. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +1 -1
  39. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +1 -1
  40. package/src/sap/ui/documentation/sdk/controller/SampleNotFound.controller.js +1 -1
  41. package/src/sap/ui/documentation/sdk/controller/SearchPage.controller.js +1 -1
  42. package/src/sap/ui/documentation/sdk/controller/Sitemap.controller.js +1 -1
  43. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +1 -1
  44. package/src/sap/ui/documentation/sdk/controller/TermsOfUse.controller.js +1 -1
  45. package/src/sap/ui/documentation/sdk/controller/Tools.controller.js +1 -1
  46. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +1 -1
  47. package/src/sap/ui/documentation/sdk/controller/TopicDetailInitial.controller.js +1 -1
  48. package/src/sap/ui/documentation/sdk/controller/TopicMaster.controller.js +1 -1
  49. package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +106 -0
  50. package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +1 -1
  51. package/src/sap/ui/documentation/sdk/controller/config/datatable.js +1 -1
  52. package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +1 -1
  53. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +1 -1
  54. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +1 -1
  55. package/src/sap/ui/documentation/sdk/controller/util/DataTable.js +1 -1
  56. package/src/sap/ui/documentation/sdk/controller/util/DataTableHelper.js +1 -1
  57. package/src/sap/ui/documentation/sdk/controller/util/DataTableUtil.js +1 -1
  58. package/src/sap/ui/documentation/sdk/controller/util/DocuInfo.js +1 -1
  59. package/src/sap/ui/documentation/sdk/controller/util/EntityInfo.js +1 -1
  60. package/src/sap/ui/documentation/sdk/controller/util/Highlighter.js +1 -1
  61. package/src/sap/ui/documentation/sdk/controller/util/IndexWorker.js +1 -1
  62. package/src/sap/ui/documentation/sdk/controller/util/JSDocUtil.js +1 -1
  63. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +1 -1
  64. package/src/sap/ui/documentation/sdk/controller/util/ResourceDownloadUtil.js +1 -1
  65. package/src/sap/ui/documentation/sdk/controller/util/ResponsiveImageMap.js +1 -1
  66. package/src/sap/ui/documentation/sdk/controller/util/SearchUtil.js +1 -1
  67. package/src/sap/ui/documentation/sdk/controller/util/SidyBySideImageMap.js +1 -1
  68. package/src/sap/ui/documentation/sdk/controller/util/ToolsInfo.js +1 -1
  69. package/src/sap/ui/documentation/sdk/controller/util/Tooltip.js +1 -1
  70. package/src/sap/ui/documentation/sdk/controller/util/TreeUtil.js +1 -1
  71. package/src/sap/ui/documentation/sdk/controller/util/XML2JSONUtils.js +1 -1
  72. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDown.js +1 -1
  73. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDownRenderer.js +1 -1
  74. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRange.js +1 -1
  75. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRangeRenderer.js +1 -1
  76. package/src/sap/ui/documentation/sdk/controller/util/overlay/Overlay.js +1 -1
  77. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Circle.js +1 -1
  78. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Polygon.js +1 -1
  79. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Rect.js +1 -1
  80. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/Shape.js +1 -1
  81. package/src/sap/ui/documentation/sdk/controller/util/overlay/shapes/ShapeFactory.js +1 -1
  82. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/Component.js +1 -1
  83. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -1
  84. package/src/sap/ui/documentation/sdk/manifest.json +4 -0
  85. package/src/sap/ui/documentation/sdk/model/formatter.js +1 -1
  86. package/src/sap/ui/documentation/sdk/model/libraryData.js +1 -1
  87. package/src/sap/ui/documentation/sdk/model/models.js +1 -1
  88. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +1 -1
  89. package/src/sap/ui/documentation/sdk/util/LiveEditorOutput.js +1 -1
  90. package/src/sap/ui/documentation/sdk/util/Resources.js +1 -1
  91. package/src/sap/ui/documentation/sdk/util/ToggleFullScreenHandler.js +1 -1
  92. package/src/sap/ui/documentation/sdk/view/VersionNotFound.view.xml +44 -0
  93. package/src/sap/ui/documentation/themes/base/library.source.less +1 -1
  94. package/src/sap/ui/documentation/themes/sap_belize/library.source.less +1 -1
  95. package/src/sap/ui/documentation/themes/sap_belize_hcb/library.source.less +1 -1
  96. package/src/sap/ui/documentation/themes/sap_belize_hcw/library.source.less +1 -1
  97. package/src/sap/ui/documentation/themes/sap_belize_plus/library.source.less +1 -1
  98. package/src/sap/ui/documentation/themes/sap_fiori_3/library.source.less +1 -1
  99. package/src/sap/ui/documentation/themes/sap_fiori_3_dark/library.source.less +1 -1
  100. package/src/sap/ui/documentation/themes/sap_fiori_3_hcb/library.source.less +1 -1
  101. package/src/sap/ui/documentation/themes/sap_fiori_3_hcw/library.source.less +1 -1
  102. package/src/sap/ui/documentation/themes/sap_horizon/library.source.less +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.documentation",
3
- "version": "1.97.0",
3
+ "version": "1.97.1",
4
4
  "description": "OpenUI5 UI Library sap.ui.documentation",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,10 +14,10 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.97.0",
18
- "@openui5/sap.ui.core": "1.97.0",
19
- "@openui5/sap.ui.layout": "1.97.0",
20
- "@openui5/themelib_sap_belize": "1.97.0",
21
- "@openui5/themelib_sap_fiori_3": "1.97.0"
17
+ "@openui5/sap.m": "1.97.1",
18
+ "@openui5/sap.ui.core": "1.97.1",
19
+ "@openui5/sap.ui.layout": "1.97.1",
20
+ "@openui5/themelib_sap_belize": "1.97.1",
21
+ "@openui5/themelib_sap_fiori_3": "1.97.1"
22
22
  }
23
23
  }
@@ -4,9 +4,9 @@
4
4
  <name>sap.ui.documentation</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>OpenUI5
7
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.97.0</version>
9
+ <version>1.97.1</version>
10
10
 
11
11
  <documentation>SAPUI5 library for the Demokit 2.0.</documentation>
12
12
 
@@ -1,7 +1,7 @@
1
1
 
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
  sap.ui.define([
@@ -1,7 +1,7 @@
1
1
 
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
  sap.ui.define([
@@ -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
  sap.ui.define(['sap/m/TreeItemBaseRenderer','sap/ui/core/Core', 'sap/ui/core/Renderer'],
@@ -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
  sap.ui.define([
@@ -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
  sap.ui.define(['sap/ui/core/Control'],
@@ -1,7 +1,7 @@
1
1
 
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
  sap.ui.define([
@@ -1,7 +1,7 @@
1
1
 
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
  sap.ui.define([
@@ -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
  sap.ui.define(['sap/ui/core/Element'],
@@ -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
  sap.ui.define([
@@ -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
  sap.ui.define([
@@ -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
  sap.ui.define(['sap/ui/core/Element'],
@@ -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
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  // delegate further initialization of this library to the Core
24
24
  sap.ui.getCore().initLibrary({
25
25
  name : 'sap.ui.documentation',
26
- version: '1.97.0',
26
+ version: '1.97.1',
27
27
  dependencies : ['sap.ui.core','sap.m'],
28
28
  types: [],
29
29
  interfaces: [],
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @namespace
50
50
  * @name sap.ui.documentation
51
51
  * @author SAP SE
52
- * @version 1.97.0
52
+ * @version 1.97.1
53
53
  * @since 1.48
54
54
  * @public
55
55
  */
@@ -608,6 +608,14 @@ NOT_FOUND_TITLE = Not Found
608
608
  #XTXX: Text for the 'not found' page
609
609
  NOT_FOULD_TEXT = The requested resource was not found
610
610
 
611
+ #XTXX: Text for the 'not found' page when resource is removed
612
+ NOT_FOUND_REMOVED_TEXT=The requested UI5 version is outdated and has been removed.
613
+ #XTXX: Text for the 'not found' page when resource is not available
614
+ NOT_FOUND_UNAVAILABLE_TEXT=The requested resource is not available.
615
+ #XTXX: Text for the 'read more' button for the version not found page
616
+ VERSION_NOT_FOUND_READ_MORE=Read more
617
+ VERSION_NOT_FOUND_HOME_PAGE_BUTTON=Home Page
618
+
611
619
  NOT_FOUND_SAMPLE_TITLE = Sample Not Found
612
620
  NOT_FOUND_SAMPLE_TEXT = The requested sample does not exist for the selected UI5 version. Check the available samples here
613
621
 
@@ -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
  sap.ui.define(['sap/uxap/BlockBase', "sap/ui/documentation/sdk/model/formatter"],
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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,106 @@
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
+ sap.ui.define([
8
+ "./BaseController",
9
+ "sap/ui/thirdparty/URI",
10
+ "sap/m/library"
11
+ ], function (
12
+ BaseController,
13
+ URI,
14
+ mLib
15
+ ) {
16
+ "use strict";
17
+
18
+ return BaseController.extend("sap.ui.documentation.sdk.controller.VersionNotFound", {
19
+ onInit: function () {
20
+ // Load VersionInfo model promise
21
+ this._loadVersionInfo()
22
+ .then(this._onVersionInfo.bind(this))
23
+ .catch(this._onError.bind(this));
24
+ },
25
+
26
+ onReadMore: function () {
27
+ mLib.URLHelper.redirect("https://blogs.sap.com/2021/01/26/removing-outdated-ui5-versions-from-ui5-cdn/");
28
+ },
29
+
30
+ onHomePress: function () {
31
+ // initialize the UI component
32
+ mLib.URLHelper.redirect("/");
33
+ },
34
+
35
+ _onError: function () {
36
+ var oMessagePage = this.getView().byId("page");
37
+
38
+ oMessagePage.setBusy(false);
39
+ oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_UNAVAILABLE_TEXT"));
40
+ },
41
+
42
+ _onVersionInfo: function (oVersionInfo) {
43
+ var oMessagePage = this.getView().byId("page"),
44
+ oReadMoreBtn = this.getView().byId("readMoreButton"),
45
+ reVersion = new RegExp("^([0-9]+)(?:\\.([0-9]+)(?:\\.([0-9]+))?)?(.+)?"),
46
+ oURI = new URI(document.location.href),
47
+ aSegments = oURI.segment(),
48
+ sVersion,
49
+ isRemoved = false;
50
+
51
+ oMessagePage.setBusy(false);
52
+
53
+ for (var i = 0, l = aSegments.length; i < l; i++) {
54
+ if (reVersion.test(aSegments[i])) {
55
+ sVersion = aSegments[i];
56
+ break;
57
+ }
58
+ }
59
+
60
+ isRemoved = this._isVersionRemoved(oVersionInfo, sVersion);
61
+
62
+ if (isRemoved) {
63
+ // show removed message
64
+ oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_REMOVED_TEXT"));
65
+ oReadMoreBtn.setVisible(true);
66
+ } else {
67
+ // show unavailable message
68
+ oReadMoreBtn.setVisible(false);
69
+ oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_UNAVAILABLE_TEXT"));
70
+ }
71
+ },
72
+
73
+ _isVersionRemoved: function (oVersionInfo, sVersion) {
74
+ var aPatches = oVersionInfo.patches,
75
+ iVersionIndex,
76
+ reVersion;
77
+
78
+ iVersionIndex = aPatches.findIndex(function (oData) {
79
+ reVersion = new RegExp(oData.version);
80
+ return oData.removed && reVersion.test(sVersion);
81
+ });
82
+
83
+ return iVersionIndex > -1;
84
+ },
85
+
86
+ _getLibraryResourceBundle: function () {
87
+ return sap.ui.getCore().getLibraryResourceBundle("sap.ui.documentation");
88
+ },
89
+
90
+ _loadVersionInfo: function () {
91
+ return new Promise(function (resolve, reject) {
92
+ jQuery.ajax({
93
+ async: true,
94
+ url: "/versionoverview.json",
95
+ dataType: 'json',
96
+ success: function (oResponse) {
97
+ resolve(oResponse);
98
+ },
99
+ error: function (err) {
100
+ reject(err);
101
+ }
102
+ });
103
+ });
104
+ }
105
+ });
106
+ });
@@ -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