@openui5/sap.ui.documentation 1.99.0 → 1.100.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 (41) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +6 -6
  3. package/src/sap/ui/documentation/.library +1 -1
  4. package/src/sap/ui/documentation/TitleLink.js +1 -2
  5. package/src/sap/ui/documentation/library.js +4 -5
  6. package/src/sap/ui/documentation/sdk/Component.js +1 -5
  7. package/src/sap/ui/documentation/sdk/controller/ApiDetail.controller.js +7 -13
  8. package/src/sap/ui/documentation/sdk/controller/ApiDetailIndexDeprecatedExperimental.controller.js +1 -3
  9. package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +0 -2
  10. package/src/sap/ui/documentation/sdk/controller/App.controller.js +0 -2
  11. package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -2
  12. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +11 -15
  13. package/src/sap/ui/documentation/sdk/controller/Entity.controller.js +1 -2
  14. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +1 -2
  15. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +173 -308
  16. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +2 -3
  17. package/src/sap/ui/documentation/sdk/controller/SearchPage.controller.js +4 -5
  18. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +8 -9
  19. package/src/sap/ui/documentation/sdk/controller/TermsOfUse.controller.js +3 -2
  20. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +17 -19
  21. package/src/sap/ui/documentation/sdk/controller/TopicDetailInitial.controller.js +2 -2
  22. package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +2 -0
  23. package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +3 -3
  24. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +3 -4
  25. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +7 -6
  26. package/src/sap/ui/documentation/sdk/controller/util/DataTable.js +1 -1
  27. package/src/sap/ui/documentation/sdk/controller/util/DataTableHelper.js +1 -1
  28. package/src/sap/ui/documentation/sdk/controller/util/IndexWorker.js +1 -1
  29. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDown.js +0 -2
  30. package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRange.js +2 -4
  31. package/src/sap/ui/documentation/sdk/controller/util/overlay/Overlay.js +1 -1
  32. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -2
  33. package/src/sap/ui/documentation/sdk/index.html +133 -25
  34. package/src/sap/ui/documentation/sdk/model/formatter.js +1 -1
  35. package/src/sap/ui/documentation/sdk/model/libraryData.js +9 -4
  36. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +8 -4
  37. package/src/sap/ui/documentation/sdk/util/Resources.js +5 -2
  38. package/src/sap/ui/documentation/sdk/view/Sample.view.xml +2 -2
  39. package/src/sap/ui/documentation/themes/sap_horizon_dark/library.source.less +9 -0
  40. package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +9 -0
  41. package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +9 -0
package/THIRDPARTY.txt CHANGED
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.7
200
+ Component: URI.js, version: 1.19.10
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.34
453
+ Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.documentation",
3
- "version": "1.99.0",
3
+ "version": "1.100.0",
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.99.0",
18
- "@openui5/sap.ui.core": "1.99.0",
19
- "@openui5/sap.ui.layout": "1.99.0",
20
- "@openui5/themelib_sap_belize": "1.99.0",
21
- "@openui5/themelib_sap_fiori_3": "1.99.0"
17
+ "@openui5/sap.m": "1.100.0",
18
+ "@openui5/sap.ui.core": "1.100.0",
19
+ "@openui5/sap.ui.layout": "1.100.0",
20
+ "@openui5/themelib_sap_belize": "1.100.0",
21
+ "@openui5/themelib_sap_fiori_3": "1.100.0"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
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.99.0</version>
9
+ <version>1.100.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library for the Demokit 2.0.</documentation>
12
12
 
@@ -8,9 +8,8 @@ sap.ui.define([
8
8
  "sap/ui/core/Renderer",
9
9
  "sap/ui/util/defaultLinkTypes",
10
10
  'sap/ui/Device',
11
- 'sap/m/Toolbar',
12
11
  'sap/m/Title'
13
- ], function(coreLibrary, Renderer, defaultLinkTypes, Device, Toolbar, Title) {
12
+ ], function(coreLibrary, Renderer, defaultLinkTypes, Device, Title) {
14
13
  "use strict";
15
14
 
16
15
  // shortcut for sap.ui.core.TitleLevel
@@ -12,18 +12,17 @@ sap.ui.define([
12
12
  'sap/ui/core/util/LibraryInfo',
13
13
  "sap/base/Log",
14
14
  "sap/ui/documentation/sdk/util/Resources",
15
- "sap/base/util/Version",
16
15
  'sap/ui/core/library',
17
16
  'sap/m/library'
18
17
  ], // library dependency
19
- function(jQuery, LibraryInfo, Log, ResourcesUtil, Version) {
18
+ function(jQuery, LibraryInfo, Log, ResourcesUtil) {
20
19
 
21
20
  'use strict';
22
21
 
23
22
  // delegate further initialization of this library to the Core
24
23
  sap.ui.getCore().initLibrary({
25
24
  name : 'sap.ui.documentation',
26
- version: '1.99.0',
25
+ version: '1.100.0',
27
26
  dependencies : ['sap.ui.core','sap.m'],
28
27
  types: [],
29
28
  interfaces: [],
@@ -49,7 +48,7 @@ sap.ui.define([
49
48
  * @namespace
50
49
  * @name sap.ui.documentation
51
50
  * @author SAP SE
52
- * @version 1.99.0
51
+ * @version 1.100.0
53
52
  * @since 1.48
54
53
  * @public
55
54
  */
@@ -75,7 +74,7 @@ sap.ui.define([
75
74
  };
76
75
 
77
76
  thisLibrary._getAppInfo = function(fnCallback) {
78
- var sUrl = sap.ui.resource("", "sap-ui-version.json");
77
+ var sUrl = sap.ui.require.toUrl("sap-ui-version.json");
79
78
  sUrl = ResourcesUtil.getResourceOriginPath(sUrl);
80
79
 
81
80
  jQuery.ajax({
@@ -7,7 +7,6 @@
7
7
  sap.ui.define([
8
8
  "sap/ui/thirdparty/jquery",
9
9
  "sap/ui/core/UIComponent",
10
- "sap/ui/VersionInfo",
11
10
  "sap/ui/Device",
12
11
  "sap/ui/documentation/sdk/model/models",
13
12
  "sap/ui/documentation/sdk/controller/ErrorHandler",
@@ -15,7 +14,6 @@ sap.ui.define([
15
14
  "sap/ui/documentation/sdk/controller/util/ConfigUtil",
16
15
  "sap/base/util/Version",
17
16
  "sap/ui/documentation/sdk/util/Resources",
18
- "sap/base/Log",
19
17
  // used via manifest.json
20
18
  "sap/ui/documentation/sdk/util/DocumentationRouter",
21
19
  // implements sap.m.TablePopin
@@ -23,15 +21,13 @@ sap.ui.define([
23
21
  ], function(
24
22
  jQuery,
25
23
  UIComponent,
26
- VersionInfo,
27
24
  Device,
28
25
  models,
29
26
  ErrorHandler,
30
27
  JSONModel,
31
28
  ConfigUtil,
32
29
  Version,
33
- ResourcesUtil,
34
- Log /*, DocumentationRouter, ColumnListItem*/
30
+ ResourcesUtil /*, DocumentationRouter, ColumnListItem*/
35
31
  ) {
36
32
  "use strict";
37
33
 
@@ -5,26 +5,20 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/documentation/sdk/controller/BaseController",
9
- "sap/ui/model/json/JSONModel",
10
- "sap/ui/core/CustomData",
11
- "sap/ui/documentation/sdk/controller/util/ControlsInfo",
12
- "sap/ui/documentation/sdk/util/ToggleFullScreenHandler",
13
- "sap/ui/documentation/sdk/controller/util/APIInfo",
14
- "sap/ui/documentation/sdk/model/formatter",
15
- "sap/ui/core/mvc/XMLView",
16
- "sap/ui/core/library",
17
- "sap/base/Log"
8
+ "sap/ui/documentation/sdk/controller/BaseController",
9
+ "sap/ui/model/json/JSONModel",
10
+ "sap/ui/core/CustomData",
11
+ "sap/ui/documentation/sdk/controller/util/APIInfo",
12
+ "sap/ui/documentation/sdk/model/formatter",
13
+ "sap/ui/core/mvc/XMLView",
14
+ "sap/base/Log"
18
15
  ], function(
19
16
  BaseController,
20
17
  JSONModel,
21
18
  CustomData,
22
- ControlsInfo,
23
- ToggleFullScreenHandler,
24
19
  APIInfo,
25
20
  formatter,
26
21
  XMLView,
27
- CoreLibrary,
28
22
  Log
29
23
  ) {
30
24
  "use strict";
@@ -5,13 +5,11 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/thirdparty/jquery",
9
8
  "sap/ui/documentation/sdk/controller/BaseController",
10
9
  "sap/ui/model/json/JSONModel",
11
- "sap/ui/documentation/sdk/controller/util/JSDocUtil",
12
10
  "sap/ui/documentation/sdk/controller/util/APIInfo",
13
11
  "sap/ui/documentation/sdk/model/formatter"
14
- ], function (jQuery, BaseController, JSONModel, JSDocUtil, APIInfo, globalFormatter) {
12
+ ], function (BaseController, JSONModel, APIInfo, globalFormatter) {
15
13
  "use strict";
16
14
 
17
15
  return BaseController.extend("sap.ui.documentation.sdk.controller.ApiDetailIndexDeprecatedExperimental", {
@@ -8,7 +8,6 @@ sap.ui.define([
8
8
  "sap/ui/Device",
9
9
  "sap/ui/documentation/sdk/controller/MasterTreeBaseController",
10
10
  "sap/m/library",
11
- "sap/base/Log",
12
11
  "sap/ui/model/Filter",
13
12
  "sap/ui/model/FilterOperator",
14
13
  "sap/ui/documentation/sdk/controller/util/APIInfo",
@@ -18,7 +17,6 @@ sap.ui.define([
18
17
  Device,
19
18
  MasterTreeBaseController,
20
19
  mobileLibrary,
21
- Log,
22
20
  Filter,
23
21
  FilterOperator,
24
22
  APIInfo,
@@ -10,7 +10,6 @@ sap.ui.define([
10
10
  "sap/ui/documentation/sdk/controller/BaseController",
11
11
  "sap/ui/documentation/sdk/controller/util/NewsInfo",
12
12
  "sap/ui/documentation/sdk/controller/util/SearchUtil",
13
- "sap/ui/core/mvc/Controller",
14
13
  "sap/ui/model/Filter",
15
14
  "sap/ui/model/FilterOperator",
16
15
  "sap/ui/model/json/JSONModel",
@@ -39,7 +38,6 @@ sap.ui.define([
39
38
  BaseController,
40
39
  NewsInfo,
41
40
  SearchUtil,
42
- Controller,
43
41
  Filter,
44
42
  FilterOperator,
45
43
  JSONModel,
@@ -5,7 +5,6 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/thirdparty/jquery",
9
8
  "sap/ui/documentation/sdk/controller/SampleBaseController",
10
9
  "sap/ui/documentation/sdk/controller/util/ControlsInfo",
11
10
  "sap/ui/documentation/sdk/model/formatter",
@@ -13,7 +12,7 @@ sap.ui.define([
13
12
  "sap/base/util/merge",
14
13
  "sap/ui/core/Component",
15
14
  "sap/ui/core/Core"
16
- ], function(jQuery, SampleBaseController, ControlsInfo, formatter, JSONModel, merge, Component, Core) {
15
+ ], function(SampleBaseController, ControlsInfo, formatter, JSONModel, merge, Component, Core) {
17
16
  "use strict";
18
17
 
19
18
  return SampleBaseController.extend("sap.ui.documentation.sdk.controller.Code", {
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "jquery.sap.global",
8
+ "sap/ui/thirdparty/jquery",
9
9
  "sap/ui/Device",
10
10
  "sap/ui/documentation/sdk/controller/BaseController",
11
11
  "sap/ui/model/json/JSONModel",
@@ -15,12 +15,12 @@ sap.ui.define([
15
15
  "sap/ui/model/FilterOperator",
16
16
  "sap/ui/model/Sorter",
17
17
  "sap/base/util/Version",
18
- "sap/ui/thirdparty/jquery",
19
18
  "sap/base/util/UriParameters",
20
19
  "sap/ui/util/Storage",
21
20
  "sap/ui/core/Core",
22
21
  "sap/ui/documentation/sdk/controller/util/Highlighter",
23
- "sap/ui/documentation/sdk/util/Resources"
22
+ "sap/ui/documentation/sdk/util/Resources",
23
+ "sap/m/BusyDialog"
24
24
  ], function(
25
25
  jQuery,
26
26
  Device,
@@ -32,12 +32,12 @@ sap.ui.define([
32
32
  FilterOperator,
33
33
  Sorter,
34
34
  Version,
35
- jQueryDOM,
36
35
  UriParameters,
37
36
  Storage,
38
37
  Core,
39
38
  Highlighter,
40
- ResourcesUtil
39
+ ResourcesUtil,
40
+ BusyDialog
41
41
  ) {
42
42
  "use strict";
43
43
 
@@ -257,7 +257,7 @@ sap.ui.define([
257
257
 
258
258
  // Handle content density change
259
259
  if (this._oViewSettings.densityMode !== sDensityMode) {
260
- this._toggleContentDensityClasses(jQueryDOM(document.body), sDensityMode);
260
+ this._toggleContentDensityClasses(jQuery(document.body), sDensityMode);
261
261
  this._oViewSettings.densityMode = sDensityMode;
262
262
  bContentDensityChanged = true;
263
263
  }
@@ -284,7 +284,7 @@ sap.ui.define([
284
284
  // Apply theme and compact mode also to iframe samples if there is actually a change
285
285
  if ((bRTLChanged || bContentDensityChanged || bThemeChanged) && !ResourcesUtil.getHasProxy()) {
286
286
 
287
- $SampleFrame = jQueryDOM("#sampleFrame");
287
+ $SampleFrame = jQuery("#sampleFrame");
288
288
  if ($SampleFrame.length > 0) {
289
289
  oSampleFrameContent = $SampleFrame[0].contentWindow;
290
290
  if (oSampleFrameContent) {
@@ -603,10 +603,10 @@ sap.ui.define([
603
603
  aFilters.push(new Filter("searchTags", FilterOperator.Contains, this._sFilterValue));
604
604
 
605
605
  // add filters for view settings
606
- jQueryDOM.each(this._oListSettings.filter, function (sProperty, oValues) {
606
+ jQuery.each(this._oListSettings.filter, function (sProperty, oValues) {
607
607
  var aPropertyFilters = [];
608
608
 
609
- jQueryDOM.each(oValues, function (sKey, bValue) {
609
+ jQuery.each(oValues, function (sKey, bValue) {
610
610
  var sOperator = (sProperty === "formFactors") ? FilterOperator.Contains : FilterOperator.EQ;
611
611
  aPropertyFilters.push(new Filter(sProperty, sOperator, sKey));
612
612
  });
@@ -662,7 +662,7 @@ sap.ui.define([
662
662
  // calculate text
663
663
  var aFilterTexts = [];
664
664
 
665
- jQueryDOM.each(this._oListSettings.filter, function (sProperty, oValues) {
665
+ jQuery.each(this._oListSettings.filter, function (sProperty, oValues) {
666
666
  aFilterTexts = aFilterTexts.concat(Object.keys(oValues));
667
667
  });
668
668
 
@@ -715,8 +715,7 @@ sap.ui.define([
715
715
  * @public
716
716
  */
717
717
  handleSaveAppSettings: function () {
718
- var BusyDialog,
719
- sDensityMode = this._oCore.byId('DensityModeSwitch').getSelectedKey(),
718
+ var sDensityMode = this._oCore.byId('DensityModeSwitch').getSelectedKey(),
720
719
  sTheme = this._oCore.byId('ThemeSelect').getSelectedKey(),
721
720
  bRTL = this._oCore.byId('RTLSwitch').getState();
722
721
 
@@ -724,9 +723,6 @@ sap.ui.define([
724
723
 
725
724
  // Lazy loading of busy dialog
726
725
  if (!this._oBusyDialog) {
727
- //TODO: global jquery call found
728
- jQuery.sap.require("sap.m.BusyDialog");
729
- BusyDialog = sap.ui.require("sap/m/BusyDialog");
730
726
  this._oBusyDialog = new BusyDialog();
731
727
  this.getView().addDependent(this._oBusyDialog);
732
728
  }
@@ -9,7 +9,6 @@ sap.ui.define([
9
9
  "sap/ui/documentation/sdk/controller/BaseController",
10
10
  "sap/ui/documentation/sdk/controller/util/ControlsInfo",
11
11
  "sap/ui/documentation/sdk/controller/util/EntityInfo",
12
- "sap/ui/documentation/sdk/controller/util/APIInfo",
13
12
  "sap/ui/documentation/sdk/util/ToggleFullScreenHandler",
14
13
  "sap/ui/documentation/sdk/controller/util/JSDocUtil",
15
14
  "sap/m/Label",
@@ -17,7 +16,7 @@ sap.ui.define([
17
16
  "sap/m/Text",
18
17
  "sap/m/HBox",
19
18
  "sap/m/ObjectAttribute"
20
- ], function (JSONModel, BaseController, ControlsInfo, EntityInfo, APIInfo, ToggleFullScreenHandler,
19
+ ], function (JSONModel, BaseController, ControlsInfo, EntityInfo, ToggleFullScreenHandler,
21
20
  JSDocUtil, Label, Link, Text, HBox, ObjectAttribute) {
22
21
  "use strict";
23
22
 
@@ -6,11 +6,10 @@
6
6
 
7
7
  sap.ui.define([
8
8
  "sap/ui/documentation/sdk/controller/BaseController",
9
- "sap/m/library",
10
9
  "sap/ui/model/json/JSONModel",
11
10
  "sap/ui/thirdparty/URI",
12
11
  "sap/uxap/ThrottledTaskHelper"
13
- ], function (BaseController, mobileLibrary, JSONModel, URI, ThrottledTask) {
12
+ ], function (BaseController, JSONModel, URI, ThrottledTask) {
14
13
  "use strict";
15
14
 
16
15
  var SRC_FILE_NAMES = {