@sapui5/sap.ushell_abap 1.95.0 → 1.96.3

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 (67) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell_abap/.library +5 -2
  3. package/src/main/js/sap/ushell_abap/adapters/abap/AdapterContainer.js +13 -6
  4. package/src/main/js/sap/ushell_abap/adapters/abap/AppStateAdapter.js +12 -8
  5. package/src/main/js/sap/ushell_abap/adapters/abap/ClientSideTargetResolutionAdapter.js +13 -11
  6. package/src/main/js/sap/ushell_abap/adapters/abap/ConfigurationDefaultsAdapter.js +2 -2
  7. package/src/main/js/sap/ushell_abap/adapters/abap/ContainerAdapter.js +16 -7
  8. package/src/main/js/sap/ushell_abap/adapters/abap/LaunchPageAdapter.js +96 -90
  9. package/src/main/js/sap/ushell_abap/adapters/abap/MenuAdapter.js +1 -1
  10. package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionAdapter.js +2 -2
  11. package/src/main/js/sap/ushell_abap/adapters/abap/PageBuildingAdapter.js +19 -15
  12. package/src/main/js/sap/ushell_abap/adapters/abap/PagePersistenceAdapter.js +4 -3
  13. package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationAdapter.js +17 -8
  14. package/src/main/js/sap/ushell_abap/adapters/abap/SearchAdapter.js +2 -2
  15. package/src/main/js/sap/ushell_abap/adapters/abap/SupportTicketAdapter.js +9 -9
  16. package/src/main/js/sap/ushell_abap/adapters/abap/Ui5ComponentLoaderAdapter.js +2 -2
  17. package/src/main/js/sap/ushell_abap/adapters/abap/UserInfoAdapter.js +12 -5
  18. package/src/main/js/sap/ushell_abap/adapters/hana/ContainerAdapter.js +10 -4
  19. package/src/main/js/sap/ushell_abap/bootstrap/evo/XhrLogonEventHandler.js +11 -6
  20. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def-dev.js +2 -2
  21. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def.js +2 -2
  22. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.bootstrap.utils.js +8 -4
  23. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +2 -2
  24. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.constants.js +10 -1
  25. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.get.server.config.Urls.js +13 -6
  26. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.js +1 -1
  27. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.load.launchpad.js +22 -23
  28. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.pageset.js +9 -3
  29. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.server.config.js +7 -4
  30. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.startup.js +11 -6
  31. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.theme.handler.js +1 -1
  32. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.ui5.boot.handler.js +8 -5
  33. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.validate.Url.js +1 -1
  34. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.xhr.handler.js +11 -4
  35. package/src/main/js/sap/ushell_abap/bootstrap/evo/boottask.js +22 -17
  36. package/src/main/js/sap/ushell_abap/library.js +3 -3
  37. package/src/main/js/sap/ushell_abap/pbServices/ui2/AllCatalogs.js +186 -0
  38. package/src/main/js/sap/ushell_abap/pbServices/ui2/Bag.js +704 -0
  39. package/src/main/js/sap/ushell_abap/pbServices/ui2/Catalog.js +930 -0
  40. package/src/main/js/sap/ushell_abap/pbServices/ui2/Chip.js +1027 -0
  41. package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipDefinition.js +216 -0
  42. package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipInstance.js +933 -0
  43. package/src/main/js/sap/ushell_abap/pbServices/ui2/Error.js +45 -0
  44. package/src/main/js/sap/ushell_abap/pbServices/ui2/Factory.js +647 -0
  45. package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataService.js +251 -0
  46. package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataWrapper.js +1262 -0
  47. package/src/main/js/sap/ushell_abap/pbServices/ui2/Page.js +920 -0
  48. package/src/main/js/sap/ushell_abap/pbServices/ui2/PageBuildingService.js +1498 -0
  49. package/src/main/js/sap/ushell_abap/pbServices/ui2/PageSet.js +466 -0
  50. package/src/main/js/sap/ushell_abap/pbServices/ui2/RemoteCatalogService.js +52 -0
  51. package/src/main/js/sap/ushell_abap/pbServices/ui2/Utils.js +767 -0
  52. package/src/main/js/sap/ushell_abap/pbServices/ui2/chipdefinition.xsd +139 -0
  53. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/actions.js +244 -0
  54. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/bag.js +150 -0
  55. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configuration.js +165 -0
  56. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configurationUi.js +330 -0
  57. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/fullscreen.js +70 -0
  58. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/navigation.js +50 -0
  59. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/preview.js +289 -0
  60. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/refresh.js +43 -0
  61. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/search.js +115 -0
  62. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/types.js +9 -0
  63. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/url.js +105 -0
  64. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/visible.js +128 -0
  65. package/src/main/js/sap/ushell_abap/support/plugins/app-infra/AppInfraOnSapNetWeaverSupportPlugin.js +1 -1
  66. package/src/main/js/sap/ushell_abap/ui5appruntime/AppInfoAdapter.js +1 -1
  67. package/ui5.yaml +30 -0
@@ -1,21 +1,21 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's page building adapter for the ABAP platform.
5
- * @version 1.95.0
5
+ * @version 1.96.3
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
9
9
  "sap/base/Log",
10
- "sap/ui2/srvc/factory",
11
- "sap/ui2/srvc/PageBuildingService",
12
- "sap/ui2/srvc/RemoteCatalogService",
13
- "sap/ui2/srvc/pageset",
10
+ "sap/ushell_abap/pbServices/ui2/Factory",
11
+ "sap/ushell_abap/pbServices/ui2/PageBuildingService",
12
+ "sap/ushell_abap/pbServices/ui2/RemoteCatalogService",
13
+ "sap/ushell_abap/pbServices/ui2/PageSet",
14
14
  "sap/ushell/System"
15
15
  ], function (
16
16
  ObjectPath,
17
- Log
18
- // factory
17
+ Log,
18
+ Factory
19
19
  // PageBuildingService
20
20
  // RemoteCatalogService
21
21
  // pageset
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * contain a map of remote catalog base URLs to corresponding remote catalog services.
32
32
  * Each such service is assumed to be a no-args constructor function.
33
33
  * First the module is required and then the constructor is called, passing the result to
34
- * {@link sap.ui2.srvc.Factory#addRemoteCatalogService}.
34
+ * {@link sap.ushell_abap.pbServices.ui2.Factory#addRemoteCatalogService}.
35
35
  * <p>
36
36
  * <b>Example:</b>
37
37
  * <pre>
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * adapter: {
41
41
  * config: {
42
42
  * remoteCatalogServices: {
43
- * "/sap/opu/odata/UI2/PAGE_BUILDER_PERS/": "sap.ui2.srvc.RemoteCatalogService",
43
+ * "/sap/opu/odata/UI2/PAGE_BUILDER_PERS/": "sap.ushell_abap.pbServices.ui2.RemoteCatalogService",
44
44
  * "/foo": "acme.BarService"
45
45
  * }
46
46
  * }
@@ -49,10 +49,10 @@ sap.ui.define([
49
49
  * }
50
50
  * </pre>
51
51
  * With the given configuration the adapter registers remote catalog services for two base URLs
52
- * using <code>sap.ui2.srvc.RemoteCatalogService</code> and <code>acme.BarService</code> resp.
52
+ * using <code>sap.ushell_abap.pbServices.ui2.RemoteCatalogService</code> and <code>acme.BarService</code> resp.
53
53
  * as remote catalog service constructor functions.
54
54
  * <p>
55
- * If not specified otherwise, <code>sap.ui2.srvc.RemoteCatalogService</code> is registered as
55
+ * If not specified otherwise, <code>sap.ushell_abap.pbServices.ui2.RemoteCatalogService</code> is registered as
56
56
  * a remote catalog service for the following base URLs:
57
57
  * <ul>
58
58
  * <li> "/sap/hba/apps/kpi/s/odata/hana_chip_catalog.xsodata/" (legacy HANA catalogs)</li>
@@ -81,7 +81,7 @@ sap.ui.define([
81
81
 
82
82
  /**
83
83
  * Returns the UI2 page building factory.
84
- * @returns {sap.ui2.srvc.Factory} the page building factory
84
+ * @returns {sap.ushell_abap.pbServices.ui2.Factory} the page building factory
85
85
  */
86
86
  this.getFactory = function () {
87
87
  return oFactory;
@@ -103,7 +103,7 @@ sap.ui.define([
103
103
  sPageBuilderServiceUrl = sConfigBaseUrl;
104
104
  }
105
105
 
106
- oFactory = sap.ui2.srvc.createFactory(
106
+ oFactory = Factory.createFactory(
107
107
  sPageBuilderServiceUrl,
108
108
  undefined,
109
109
  sScope === "PERS"
@@ -115,11 +115,15 @@ sap.ui.define([
115
115
  "/sap/opu/odata/sap/SM_CATALOG_SRV/"
116
116
  ].forEach(function (sBaseUrl) {
117
117
  if (!Object.prototype.hasOwnProperty.call(mRemoteCatalogServices, sBaseUrl)) {
118
- mRemoteCatalogServices[sBaseUrl] = "sap.ui2.srvc.RemoteCatalogService";
118
+ mRemoteCatalogServices[sBaseUrl] = "sap.ushell_abap.pbServices.ui2.RemoteCatalogService";
119
119
  }
120
120
  });
121
121
  Object.keys(mRemoteCatalogServices).forEach(function (sBaseUrl) {
122
122
  var sRemoteCatalogService = mRemoteCatalogServices[sBaseUrl];
123
+ // Convert to new "home" of RemoteCatalogService
124
+ if (sRemoteCatalogService === "sap.ui2.srvc.RemoteCatalogService") {
125
+ sRemoteCatalogService = "sap.ushell_abap.pbServices.ui2.RemoteCatalogService";
126
+ }
123
127
  var sModulePath = (sRemoteCatalogService || "").replace(/\./g, "/");
124
128
  if (!sap.ui.require(sModulePath)) {
125
129
  Log.error("FLP PageBuildingAdapter: remote catalog service " + sModulePath + " must be loaded before use.");
@@ -1,8 +1,8 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview PagePersistenceAdapter for the ABAP platform.
5
- * @version 1.95.0
5
+ * @version 1.96.3
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -2636,6 +2636,7 @@ sap.ui.define([
2636
2636
  subTitle: oViz.subTitle,
2637
2637
  icon: oViz.iconUrl,
2638
2638
  info: chipsUtils.getInfoFromSimplifiedChip(oSimplifiedChip),
2639
+ keywords: chipsUtils.getKeywordsFromSimplifiedChip(oSimplifiedChip),
2639
2640
  size: chipsUtils.getTileSizeFromSimplifiedChip(oSimplifiedChip),
2640
2641
  indicatorDataSource: chipsUtils.getIndicatorDataSourceFromSimplifiedChip(oSimplifiedChip),
2641
2642
  url: chipsUtils.getTargetUrlFromSimplifiedChip(oSimplifiedChip, URLParsing),
@@ -2678,7 +2679,7 @@ sap.ui.define([
2678
2679
  *
2679
2680
  * @param {object} oVisualization The visualization to create the chip from
2680
2681
  * @returns {object}
2681
- * A simplified version of the sap.ui2.srvc.ChipInstance.
2682
+ * A simplified version of the sap.ushell_abap.pbServices.ui2.ChipInstance.
2682
2683
  * The object structure of the simplified chip model can be viewed in the "simplifiedChipModel.md" document in the FLP core-concepts GitHub repository.
2683
2684
  *
2684
2685
  * @since 1.90.0
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
  /**
3
3
  * @fileOverview The Unified Shell's personalization adapter for the ABAP
4
4
  * platform.
@@ -7,16 +7,25 @@
7
7
  * Container header properties transported via pseudo-items are mapped to the
8
8
  * respective header properties in setItem/getItem/delItem
9
9
  *
10
- * @version 1.95.0
10
+ * @version 1.96.3
11
11
  */
12
12
  sap.ui.define([
13
13
  "sap/ushell_abap/adapters/abap/AdapterContainer",
14
14
  "sap/ushell/services/Personalization",
15
15
  "sap/ushell/services/_Personalization/constants",
16
- "sap/ui2/srvc/ODataWrapper",
17
- "sap/ui2/srvc/ODataService",
16
+ "sap/ushell_abap/pbServices/ui2/ODataWrapper",
17
+ "sap/ushell_abap/pbServices/ui2/ODataService",
18
+ "sap/ushell_abap/pbServices/ui2/Error",
18
19
  "sap/base/util/ObjectPath"
19
- ], function (AdapterContainer, Personalization, constants, ODataWrapper, ODataService, ObjectPath) {
20
+ ], function (
21
+ AdapterContainer,
22
+ Personalization,
23
+ constants,
24
+ ODataWrapper,
25
+ ODataService,
26
+ SrvcError,
27
+ ObjectPath
28
+ ) {
20
29
  "use strict";
21
30
 
22
31
  // --- Adapter ---
@@ -43,11 +52,11 @@ sap.ui.define([
43
52
  "sap-language": sap.ushell.Container.getUser().getLanguage(),
44
53
  "sap-client": sap.ushell.Container.getLogonSystem().getClient()
45
54
  };
46
- this._oWrapper = sap.ui2.srvc.createODataWrapper(oODataWrapperSettings);
55
+ this._oWrapper = ODataWrapper.createODataWrapper(oODataWrapperSettings);
47
56
  function fnDefaultFailure (oMessage) {
48
- sap.ui2.srvc.Error(oMessage, "sap.ushell_abap.adapters.abap.PersonalizationAdapter");
57
+ throw new SrvcError(oMessage, "sap.ushell_abap.adapters.abap.PersonalizationAdapter");
49
58
  }
50
- sap.ui2.srvc.ODataService.call(this, this._oWrapper, fnDefaultFailure);
59
+ ODataService.call(this, this._oWrapper, fnDefaultFailure);
51
60
  };
52
61
 
53
62
  // historically, the service always called getAdapterContainer and then load
@@ -1,8 +1,8 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview The Search adapter for the ABAP platform.
5
- * @version 1.95.0
5
+ * @version 1.96.3
6
6
  */
7
7
  sap.ui.define([], function () {
8
8
  "use strict";
@@ -1,8 +1,8 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview The SupportTicket adapter for the ABAP platform.
5
- * @version 1.95.0
5
+ * @version 1.96.3
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/isEmptyObject",
@@ -10,16 +10,16 @@ sap.ui.define([
10
10
  "sap/ui/thirdparty/jquery",
11
11
  "sap/ushell/utils",
12
12
  "sap/ushell/resources",
13
- "sap/ui2/srvc/ODataWrapper",
14
- "sap/ui2/srvc/ODataService"
13
+ "sap/ushell_abap/pbServices/ui2/ODataWrapper",
14
+ "sap/ushell_abap/pbServices/ui2/ODataService"
15
15
  ], function (
16
16
  isEmptyObject,
17
17
  ObjectPath,
18
18
  jQuery,
19
19
  utils,
20
- resources
21
- // ODataWrapper
22
- // ODataService
20
+ resources,
21
+ ODataWrapper,
22
+ ODataService
23
23
  ) {
24
24
  "use strict";
25
25
 
@@ -92,8 +92,8 @@ sap.ui.define([
92
92
  "sap-language": oContainer.getUser().getLanguage(),
93
93
  "sap-client": oContainer.getLogonSystem().getClient()
94
94
  };
95
- oDataWrapper = new sap.ui2.srvc.createODataWrapper(oODataWrapperSettings);
96
- sap.ui2.srvc.ODataService.call(this, oDataWrapper, function () {
95
+ oDataWrapper = new ODataWrapper.createODataWrapper(oODataWrapperSettings);
96
+ ODataService.call(this, oDataWrapper, function () {
97
97
  return false;
98
98
  });
99
99
 
@@ -1,8 +1,8 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
  /**
3
3
  * @fileOverview The Unified Shell's Ui5ComponentLoaderAdapter for the ABAP platform
4
4
  *
5
- * @version 1.95.0
5
+ * @version 1.96.3
6
6
  */
7
7
  sap.ui.define([
8
8
  ], function () {
@@ -1,13 +1,20 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  sap.ui.define([
4
- "sap/ui2/srvc/ODataWrapper",
5
- "sap/ui2/srvc/ODataService",
4
+ "sap/ushell_abap/pbServices/ui2/ODataWrapper",
5
+ "sap/ushell_abap/pbServices/ui2/ODataService",
6
6
  "sap/ui/thirdparty/datajs",
7
7
  "sap/ui/thirdparty/jquery",
8
8
  "sap/base/Log",
9
9
  "sap/ushell/resources"
10
- ], function (ODataWrapper, ODataService, OData, jQuery, Log, resources) {
10
+ ], function (
11
+ ODataWrapper,
12
+ ODataService,
13
+ OData,
14
+ jQuery,
15
+ Log,
16
+ resources
17
+ ) {
11
18
  "use strict";
12
19
 
13
20
  /**
@@ -182,7 +189,7 @@ sap.ui.define([
182
189
  };
183
190
 
184
191
  this._createWrapper = function (sBaseUrl) {
185
- return sap.ui2.srvc.createODataWrapper(sBaseUrl, false, function (sError) { /*default error handler*/ });
192
+ return ODataWrapper.createODataWrapper(sBaseUrl, false, function (sError) { /*default error handler*/ });
186
193
  };
187
194
 
188
195
  /**
@@ -1,9 +1,9 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's container adapter for the HANA platform.
5
5
  *
6
- * @version 1.95.0
6
+ * @version 1.96.3
7
7
  */
8
8
  /**
9
9
  * @namespace Default namespace for Unified Shell adapters for the HANA platform. They can usually
@@ -16,12 +16,18 @@
16
16
  * @private
17
17
  */
18
18
  sap.ui.define([
19
- "sap/ui2/srvc/utils",
19
+ "sap/ushell_abap/pbServices/ui2/Utils",
20
20
  "sap/ushell/System",
21
21
  "sap/ushell/User",
22
22
  "sap/ui/thirdparty/jquery",
23
23
  "sap/base/Log"
24
- ], function (utils, System, User, jQuery, Log) {
24
+ ], function (
25
+ Utils,
26
+ System,
27
+ User,
28
+ jQuery,
29
+ Log
30
+ ) {
25
31
  "use strict";
26
32
 
27
33
  /**
@@ -1,9 +1,14 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  sap.ui.define([
4
4
  "./abap.bootstrap.utils",
5
- "sap/base/util/ObjectPath"
6
- ], function (oAbapUtils, ObjectPath) {
5
+ "sap/base/util/ObjectPath",
6
+ "sap/base/Log"
7
+ ], function (
8
+ oAbapUtils,
9
+ ObjectPath,
10
+ Log
11
+ ) {
7
12
  "use strict";
8
13
 
9
14
  /* global URI */
@@ -46,7 +51,7 @@ sap.ui.define([
46
51
  );
47
52
  }
48
53
  } else {
49
- sap.ui2.srvc.log.error("Cannot handle event with type: " + oEvent.type,
54
+ Log.error("Cannot handle event with type: " + oEvent.type,
50
55
  null, "sap.ushell_abap.bootstrap.evo.XhrLogonEventHandler");
51
56
  }
52
57
 
@@ -151,7 +156,7 @@ sap.ui.define([
151
156
  if (!this._isPageReloaded()) {
152
157
  // not in reload case, try reload once
153
158
  // no translation in fallback case
154
- sap.ui2.srvc.log.error(
159
+ Log.error(
155
160
  "Illegal state: XHR authentication (mode=reload) requested before SAPUI5 is initialized. "
156
161
  + "This should not happen if the FioriLaunchpad.html page is loaded from the server. Trying to reload page once.",
157
162
  null, "sap.ushell_abap.bootstrap.evo.XhrLogonEventHandler"
@@ -163,7 +168,7 @@ sap.ui.define([
163
168
  fnReload.call(this);
164
169
  } else {
165
170
  // reload already triggered at least once, giving up
166
- sap.ui2.srvc.log.error(
171
+ Log.error(
167
172
  "Illegal state: XHR authentication (mode=reload) requested before SAPUI5 is initialized and page reload has been triggered once."
168
173
  + " Stopping reload to avoid endless loop. This state cannot be overcome. Please ensure that the FioriLaunchpad.html"
169
174
  + " page is not cached, but always loaded from the server.",
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
  sap.ui.define([
3
3
  "./abap.configure.ushell",
4
4
  "./abap.ui5.boot.handler",
@@ -9,7 +9,7 @@ sap.ui.define([
9
9
  "sap/ushell/bootstrap/common/common.configure.ui5.extractLibs",
10
10
  "sap/ushell/bootstrap/common/common.debug.mode",
11
11
  "sap/ushell/bootstrap/common/common.load.bootstrapExtension",
12
- "sap/ui2/srvc/chip"
12
+ "sap/ushell_abap/pbServices/ui2/Chip"
13
13
  ], function (
14
14
  fnConfigureUshell,
15
15
  oUi5BootHandler,
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
  sap.ui.define([
3
3
  "./abap.configure.ushell",
4
4
  "./abap.ui5.boot.handler",
@@ -11,7 +11,7 @@ sap.ui.define([
11
11
  "sap/ushell/bootstrap/common/common.debug.mode",
12
12
  "sap/ushell/bootstrap/common/common.load.core-min",
13
13
  "sap/ushell/bootstrap/common/common.preload.module",
14
- "sap/ui2/srvc/chip"
14
+ "sap/ushell_abap/pbServices/ui2/Chip"
15
15
  ], function (
16
16
  fnConfigureUshell,
17
17
  oUi5BootHandler,
@@ -1,10 +1,14 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
  //TODO should be replaced by sap/ushell/utils
3
3
  sap.ui.define([
4
4
  "sap/ushell/utils",
5
5
  "sap/base/util/ObjectPath",
6
- "sap/ui2/srvc/utils"
7
- ], function (oUshellUtils, ObjectPath/*, oUi2Utils*/) {
6
+ "sap/ushell_abap/pbServices/ui2/Utils"
7
+ ], function (
8
+ oUshellUtils,
9
+ ObjectPath,
10
+ Utils
11
+ ) {
8
12
  "use strict";
9
13
 
10
14
  var utils = {};
@@ -19,7 +23,7 @@ sap.ui.define([
19
23
  * @private
20
24
  */
21
25
  utils.getUrlParameterValue = function (sValue, mMap) {
22
- var mParameterMap = mMap || sap.ui2.srvc.getParameterMap();
26
+ var mParameterMap = mMap || Utils.getParameterMap();
23
27
  return mParameterMap[sValue] && mParameterMap[sValue][0];
24
28
  };
25
29
 
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview
@@ -14,7 +14,7 @@
14
14
  * It furthermore calculates if FLP pages get activated and if needed sets up
15
15
  * the configuration environment to run these.
16
16
  *
17
- * @version 1.95.0
17
+ * @version 1.96.3
18
18
  */
19
19
  sap.ui.define([
20
20
  "./abap.constants",
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
  sap.ui.define([
3
3
 
4
4
  ], function () {
@@ -161,6 +161,15 @@ sap.ui.define([
161
161
  "sap.m": true,
162
162
  "sap.ushell": true
163
163
  }
164
+ },
165
+ // default for the UI5_PLACEHOLDER_SCREEN parameter is evaluated from "Manage Launchpad Settings"
166
+ // app via ConfigurationDefaults service and has therefore be defined in client constants
167
+ // (was false in 2111)
168
+ // this setting is only evaluated by Fiori Elements framework and shall be removed in a future release
169
+ apps: {
170
+ placeholder: {
171
+ enabled: true
172
+ }
164
173
  }
165
174
  }
166
175
  };
@@ -1,12 +1,19 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview a Getter to return an array of valid configuration URL
5
5
  */
6
6
  sap.ui.define([
7
7
  "./abap.validate.Url",
8
- "sap/base/util/ObjectPath"
9
- ], function (fnValidateUrl, ObjectPath) {
8
+ "sap/base/util/ObjectPath",
9
+ "sap/ushell_abap/pbServices/ui2/Utils",
10
+ "sap/base/Log"
11
+ ], function (
12
+ fnValidateUrl,
13
+ ObjectPath,
14
+ Utils,
15
+ Log
16
+ ) {
10
17
  "use strict";
11
18
 
12
19
  return getServerConfigUrls;
@@ -64,7 +71,7 @@ sap.ui.define([
64
71
 
65
72
  // try url parameter if no hardcoded url
66
73
  sHardcodedUrlOrParameterUrl = sHardcodedUrlOrParameterUrl || (
67
- sap.ui2.srvc.getParameterMap()["sap-ushell-config-url"] && sap.ui2.srvc.getParameterMap()["sap-ushell-config-url"][0]
74
+ Utils.getParameterMap()["sap-ushell-config-url"] && Utils.getParameterMap()["sap-ushell-config-url"][0]
68
75
  );
69
76
 
70
77
  if (typeof sHardcodedUrlOrParameterUrl !== "undefined") {
@@ -74,7 +81,7 @@ sap.ui.define([
74
81
 
75
82
  sValidationFailReason = fnValidateUrl(sHardcodedUrlOrParameterUrl, oAllowlist);
76
83
  if (typeof sValidationFailReason !== "undefined") {
77
- sap.ui2.srvc.log.error(sValidationFailReason, null, "sap.ushell_abap.bootstrap");
84
+ Log.error(sValidationFailReason, null, "sap.ushell_abap.bootstrap");
78
85
  } else {
79
86
  aRequestUrls.push(sHardcodedUrlOrParameterUrl);
80
87
  }
@@ -91,7 +98,7 @@ sap.ui.define([
91
98
  }
92
99
  });
93
100
  if (aDuplicateUrls.length > 0) {
94
- sap.ui2.srvc.log.error([
101
+ Log.error([
95
102
  "Duplicate Urls found in server configuration:", aDuplicateUrls.join(", ")
96
103
  ].join(" "), null, "sap.ushell_abap.bootstrap");
97
104
  }
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /*
4
4
  * ABAP Bootstrap script for EVO scenario for LOCAL TESTING only.
@@ -1,27 +1,28 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
  sap.ui.define([
3
3
  "sap/base/util/UriParameters",
4
4
  "sap/base/Log",
5
- "sap/ui2/srvc/chip",
6
- "sap/ui2/srvc/bag",
7
- "sap/ui2/srvc/contracts/bag",
8
- "sap/ui2/srvc/contracts/configuration",
9
- "sap/ui2/srvc/contracts/configurationUi",
10
- "sap/ui2/srvc/contracts/fullscreen",
11
- "sap/ui2/srvc/contracts/preview",
12
- "sap/ui2/srvc/contracts/visible",
13
- "sap/ui2/srvc/contracts/refresh",
14
- "sap/ui2/srvc/contracts/searchProvider",
15
- "sap/ui2/srvc/contracts/search",
16
- "sap/ui2/srvc/contracts/url",
17
- "sap/ui2/srvc/contracts/actions",
18
- "sap/ui2/srvc/contracts/types",
19
- "sap/ui2/srvc/error"
5
+ "sap/ushell_abap/pbServices/ui2/Chip",
6
+ "sap/ushell_abap/pbServices/ui2/Error",
7
+ "sap/ushell_abap/pbServices/ui2/Bag",
8
+ "sap/ushell_abap/pbServices/ui2/contracts/bag",
9
+ "sap/ushell_abap/pbServices/ui2/contracts/configuration",
10
+ "sap/ushell_abap/pbServices/ui2/contracts/configurationUi",
11
+ "sap/ushell_abap/pbServices/ui2/contracts/fullscreen",
12
+ "sap/ushell_abap/pbServices/ui2/contracts/preview",
13
+ "sap/ushell_abap/pbServices/ui2/contracts/visible",
14
+ "sap/ushell_abap/pbServices/ui2/contracts/refresh",
15
+ "sap/ushell_abap/pbServices/ui2/contracts/search",
16
+ "sap/ushell_abap/pbServices/ui2/contracts/url",
17
+ "sap/ushell_abap/pbServices/ui2/contracts/actions",
18
+ "sap/ushell_abap/pbServices/ui2/contracts/types"
20
19
  ], function (
21
20
  UriParameters,
22
- Log
21
+
22
+ Log,
23
+ Chip,
24
+ SrvcError
23
25
  /*
24
- ui2Chip,
25
26
  ui2Bag,
26
27
  ui2ContractsBag,
27
28
  ui2Configuration,
@@ -30,12 +31,10 @@ sap.ui.define([
30
31
  ui2Preview,
31
32
  ui2Visible,
32
33
  ui2Refresh,
33
- ui2SearchProvider,
34
34
  ui2Search,
35
35
  ui2Url,
36
36
  ui2Actions,
37
- ui2Types,
38
- ui2Error
37
+ ui2Types
39
38
  */
40
39
  ) {
41
40
  "use strict";
@@ -77,9 +76,9 @@ sap.ui.define([
77
76
  }
78
77
 
79
78
  //TODO inserted to support chips requesting this contract unecessarily
80
- sap.ui2.srvc.Chip.addContract("navigation", function (oChipInstance) {
79
+ Chip.addContract("navigation", function (oChipInstance) {
81
80
  this.navigateToUrl = function (sUrl, oSettings) {
82
- throw new sap.ui2.srvc.Error("'navigation' contract not implemented!",
81
+ throw new SrvcError("'navigation' contract not implemented!",
83
82
  "sap.ushell.adapters.abap.LaunchPageAdapter");
84
83
  };
85
84
  });
@@ -1,10 +1,16 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  sap.ui.define([
4
4
  "./abap.bootstrap.utils",
5
5
  "sap/ui/thirdparty/jquery",
6
+ "sap/ushell_abap/pbServices/ui2/Utils",
6
7
  "sap/base/Log"
7
- ], function (oAbapUtils, jQuery, Log) {
8
+ ], function (
9
+ oAbapUtils,
10
+ jQuery,
11
+ Utils,
12
+ Log
13
+ ) {
8
14
  "use strict";
9
15
 
10
16
  /* global OData */
@@ -149,7 +155,7 @@ sap.ui.define([
149
155
  // the responses from the "cache", even if UI5 bootstrap is faster than the
150
156
  // OData requests
151
157
  sap.ui.require(["sap/ui/thirdparty/datajs"], function (datajs) {
152
- OData.read.$cache = OData.read.$cache || new sap.ui2.srvc.Map();
158
+ OData.read.$cache = OData.read.$cache || new Utils.Map();
153
159
  OData.read.$cache.put(sUrl, oDeferred.promise());
154
160
  });
155
161
  return oDeferred;
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2009-2021 SAP SE. All rights reserved.
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
2
 
3
3
  /**
4
4
  * @fileOverview Requests and parses the configuration associated to one or more server
@@ -6,8 +6,11 @@
6
6
  */
7
7
  sap.ui.define([
8
8
  "./abap.get.server.config.Urls",
9
- "sap/ui2/srvc/utils"
10
- ], function (fnGetServerConfigUrls /*, oUtil */) {
9
+ "sap/ushell_abap/pbServices/ui2/Utils"
10
+ ], function (
11
+ fnGetServerConfigUrls,
12
+ Utils
13
+ ) {
11
14
  "use strict";
12
15
 
13
16
  return requestServerConfig;
@@ -43,7 +46,7 @@ sap.ui.define([
43
46
 
44
47
  aRequestedPromise = aConfigUrls.map(function (sUrl, iIdx) {
45
48
  return new Promise(function (resolve, reject) {
46
- sap.ui2.srvc.get(
49
+ Utils.get(
47
50
  sUrl,
48
51
  false, /*xml=*/
49
52
  function (sResponseText) {