@sapui5/sap.ushell_abap 1.97.0 → 1.99.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 (95) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell_abap/.library +2 -2
  3. package/src/main/js/sap/ushell_abap/adapters/abap/AdapterContainer.js +1 -1
  4. package/src/main/js/sap/ushell_abap/adapters/abap/AppStateAdapter.js +2 -2
  5. package/src/main/js/sap/ushell_abap/adapters/abap/ClientSideTargetResolutionAdapter.js +2 -2
  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 +2 -2
  8. package/src/main/js/sap/ushell_abap/adapters/abap/LaunchPageAdapter.js +37 -4
  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 +2 -2
  12. package/src/main/js/sap/ushell_abap/adapters/abap/PagePersistenceAdapter.js +35 -15
  13. package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationAdapter.js +2 -2
  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 +2 -2
  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 +1 -1
  18. package/src/main/js/sap/ushell_abap/adapters/hana/ContainerAdapter.js +2 -2
  19. package/src/main/js/sap/ushell_abap/bootstrap/evo/XhrLogonEventHandler.js +1 -1
  20. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def-dev.js +1 -1
  21. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def-loader.js +7 -0
  22. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def.js +1 -1
  23. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.bootstrap.utils.js +1 -1
  24. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +2 -2
  25. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.constants.js +1 -1
  26. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.get.server.config.Urls.js +1 -1
  27. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.js +1 -1
  28. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.load.launchpad.js +2 -17
  29. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.pageset.js +1 -1
  30. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.server.config.js +1 -1
  31. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.startup.js +1 -1
  32. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.theme.handler.js +1 -1
  33. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.ui5.boot.handler.js +1 -1
  34. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.validate.Url.js +1 -1
  35. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.xhr.handler.js +1 -1
  36. package/src/main/js/sap/ushell_abap/bootstrap/evo/boottask.js +6 -12
  37. package/src/main/js/sap/ushell_abap/library.js +3 -3
  38. package/src/main/js/sap/ushell_abap/pbServices/ui2/AllCatalogs.js +1 -1
  39. package/src/main/js/sap/ushell_abap/pbServices/ui2/Bag.js +1 -6
  40. package/src/main/js/sap/ushell_abap/pbServices/ui2/Catalog.js +1 -1
  41. package/src/main/js/sap/ushell_abap/pbServices/ui2/Chip.js +127 -15
  42. package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipDefinition.js +1 -1
  43. package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipInstance.js +14 -6
  44. package/src/main/js/sap/ushell_abap/pbServices/ui2/Error.js +1 -1
  45. package/src/main/js/sap/ushell_abap/pbServices/ui2/Factory.js +1 -1
  46. package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataService.js +1 -1
  47. package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataWrapper.js +1 -1
  48. package/src/main/js/sap/ushell_abap/pbServices/ui2/Page.js +1 -8
  49. package/src/main/js/sap/ushell_abap/pbServices/ui2/PageBuildingService.js +1 -1
  50. package/src/main/js/sap/ushell_abap/pbServices/ui2/PageSet.js +1 -1
  51. package/src/main/js/sap/ushell_abap/pbServices/ui2/RemoteCatalogService.js +1 -1
  52. package/src/main/js/sap/ushell_abap/pbServices/ui2/Utils.js +1 -8
  53. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/actions.js +1 -1
  54. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/bag.js +1 -1
  55. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configuration.js +1 -1
  56. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configurationUi.js +1 -1
  57. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/fullscreen.js +1 -1
  58. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/preview.js +1 -1
  59. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/refresh.js +1 -1
  60. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/search.js +1 -1
  61. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/types.js +1 -1
  62. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/url.js +1 -1
  63. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/visible.js +1 -1
  64. package/src/main/js/sap/ushell_abap/support/plugins/app-infra/AppInfraOnSapNetWeaverSupportPlugin.js +1 -1
  65. package/src/main/js/sap/ushell_abap/ui5appruntime/AppInfoAdapter.js +1 -1
  66. package/ui5.yaml +376 -30
  67. package/src/main/js/sap/ui2/srvc/ODataService.js +0 -267
  68. package/src/main/js/sap/ui2/srvc/ODataWrapper.js +0 -1283
  69. package/src/main/js/sap/ui2/srvc/PageBuildingService.js +0 -1508
  70. package/src/main/js/sap/ui2/srvc/RemoteCatalogService.js +0 -49
  71. package/src/main/js/sap/ui2/srvc/allcatalogs.js +0 -197
  72. package/src/main/js/sap/ui2/srvc/bag.js +0 -711
  73. package/src/main/js/sap/ui2/srvc/catalog.js +0 -946
  74. package/src/main/js/sap/ui2/srvc/chip.js +0 -1035
  75. package/src/main/js/sap/ui2/srvc/chipdefinition.js +0 -228
  76. package/src/main/js/sap/ui2/srvc/chipinstance.js +0 -944
  77. package/src/main/js/sap/ui2/srvc/contracts/actions.js +0 -239
  78. package/src/main/js/sap/ui2/srvc/contracts/bag.js +0 -145
  79. package/src/main/js/sap/ui2/srvc/contracts/configuration.js +0 -161
  80. package/src/main/js/sap/ui2/srvc/contracts/configurationUi.js +0 -326
  81. package/src/main/js/sap/ui2/srvc/contracts/fullscreen.js +0 -69
  82. package/src/main/js/sap/ui2/srvc/contracts/navigation.js +0 -48
  83. package/src/main/js/sap/ui2/srvc/contracts/preview.js +0 -289
  84. package/src/main/js/sap/ui2/srvc/contracts/refresh.js +0 -42
  85. package/src/main/js/sap/ui2/srvc/contracts/search.js +0 -109
  86. package/src/main/js/sap/ui2/srvc/contracts/searchProvider.js +0 -46
  87. package/src/main/js/sap/ui2/srvc/contracts/types.js +0 -9
  88. package/src/main/js/sap/ui2/srvc/contracts/url.js +0 -104
  89. package/src/main/js/sap/ui2/srvc/contracts/visible.js +0 -122
  90. package/src/main/js/sap/ui2/srvc/error.js +0 -54
  91. package/src/main/js/sap/ui2/srvc/factory.js +0 -656
  92. package/src/main/js/sap/ui2/srvc/page.js +0 -934
  93. package/src/main/js/sap/ui2/srvc/pageset.js +0 -466
  94. package/src/main/js/sap/ui2/srvc/utils.js +0 -923
  95. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/navigation.js +0 -50
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ushell_abap",
3
- "version": "1.97.0",
3
+ "version": "1.99.0",
4
4
  "description": "SAPUI5 Library sap.ushell_abap",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "keywords": [
@@ -2,8 +2,8 @@
2
2
  <library xmlns="http://www.sap.com/sap.ui.library.xsd">
3
3
  <name>sap.ushell_abap</name>
4
4
  <vendor>SAP SE</vendor>
5
- <version>1.97.0</version>
6
- <copyright>Copyright (c) 2009-2021 SAP SE. All rights reserved.</copyright>
5
+ <version>1.99.0</version>
6
+ <copyright>Copyright (c) 2009-2022 SAP SE, All Rights Reserved</copyright>
7
7
  <documentation>SAP library: sap.ushell_abap</documentation>
8
8
 
9
9
  <dependencies>
@@ -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
  sap.ui.define([
4
4
  "sap/base/util/ObjectPath",
@@ -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 Unified Shell's AppStateAdapter for the ABAP platform.
5
- * @version 1.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -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 ClientSideTargetResolutionAdapter for the abap platform.
@@ -9,7 +9,7 @@
9
9
  * <li>provide the resolveHashFragmentFallback function, a fallback method called by ClientSideTargetResolution service.</li>
10
10
  * </ul>
11
11
  *
12
- * @version 1.97.0
12
+ * @version 1.99.0
13
13
  */
14
14
  sap.ui.define([
15
15
  "sap/ui/thirdparty/jquery",
@@ -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 ConfigurationDefaults adapter for the ABAP platform.
5
- * @version 1.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell_abap/bootstrap/evo/abap.constants",
@@ -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 container adapter for the ABAP platform.
4
4
  *
5
- * @version 1.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/thirdparty/jquery",
@@ -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 Unified Shell's page building adapter for the ABAP platform.
5
- * @version 1.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/thirdparty/URI",
@@ -2594,6 +2594,31 @@ sap.ui.define([
2594
2594
  return sId;
2595
2595
  };
2596
2596
 
2597
+ /**
2598
+ * Returns the stable id of the catalog tile.
2599
+ * Note: If no stable id can be retrieved (For example for technical catalog tiles) or the reference is broken
2600
+ * a fallback to the normal id is in place.
2601
+ *
2602
+ * @param {sap.ui2.ChipInstance} oTile the tile or the catalog tile
2603
+ * @returns {string} the stable id
2604
+ * @private
2605
+ * @since 1.98.0
2606
+ */
2607
+ this.getStableCatalogTileId = function (oTile) {
2608
+ var oChip = oTile.getChip();
2609
+ var sStableId = oChip.getReferenceChipId();
2610
+
2611
+ if (sStableId === "O") {
2612
+ // The reference is broken. We do not want to return the value indicating that
2613
+ sStableId = null;
2614
+ }
2615
+ if (!sStableId) {
2616
+ sStableId = this.getCatalogTileId(oTile);
2617
+ }
2618
+
2619
+ return sStableId;
2620
+ };
2621
+
2597
2622
  /**
2598
2623
  * Returns the catalog tile's title. May be called for a catalog tile or (since 1.32.0) for a group tile.
2599
2624
  *
@@ -3665,8 +3690,16 @@ sap.ui.define([
3665
3690
 
3666
3691
  oResponse.results.forEach(function (oCatalog) {
3667
3692
  oCatalog.Chips.results.forEach(function (oChip) {
3668
- if (!oCatalogTileIndex[oChip.id]) {
3669
- oCatalogTileIndex[oChip.id] = oChip;
3693
+ var sChipId;
3694
+
3695
+ if (Config.last("/core/stableIDs/enabled") && oChip.referenceChipId) {
3696
+ sChipId = oChip.referenceChipId;
3697
+ } else {
3698
+ sChipId = oChip.id;
3699
+ }
3700
+
3701
+ if (!oCatalogTileIndex[sChipId]) {
3702
+ oCatalogTileIndex[sChipId] = oChip;
3670
3703
  }
3671
3704
  });
3672
3705
  });
@@ -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 MenuAdapter for the ABAP platform.
@@ -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 The NavTargetResolution adapter for the ABAP platform.
@@ -8,7 +8,7 @@
8
8
  * service now calls the ClientSideTargetResolution service in the abap
9
9
  * platform.
10
10
  *
11
- * @version 1.97.0
11
+ * @version 1.99.0
12
12
  */
13
13
  sap.ui.define([], function () {
14
14
  "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 Unified Shell's page building adapter for the ABAP platform.
5
- * @version 1.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -1,16 +1,17 @@
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.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
9
9
  "sap/ui/model/odata/v2/ODataModel",
10
10
  "sap/ui/model/odata/ODataMetadata",
11
11
  "sap/ushell/resources",
12
- "sap/ushell/utils/chipsUtils"
13
- ], function (ObjectPath, ODataModel, ODataMetadata, resources, chipsUtils) {
12
+ "sap/ushell/utils/chipsUtils",
13
+ "sap/ushell/Config"
14
+ ], function (ObjectPath, ODataModel, ODataMetadata, resources, chipsUtils, Config) {
14
15
 
15
16
  "use strict";
16
17
 
@@ -2437,7 +2438,7 @@ sap.ui.define([
2437
2438
  },
2438
2439
  defaultCountMode: "None",
2439
2440
  skipMetadataAnnotationParsing: true,
2440
- useBatch: false
2441
+ useBatch: true
2441
2442
  });
2442
2443
 
2443
2444
  // If we have the metdata cache backe in action, we will need to revert to the previous implementation
@@ -2594,6 +2595,8 @@ sap.ui.define([
2594
2595
  * @private
2595
2596
  */
2596
2597
  PagePersistenceAdapter.prototype._convertODataToReferenceData = function (page, URLParsing) {
2598
+ var oUnstableVisualizations = {};
2599
+ var bStableIDsEnabled = Config.last("/core/stableIDs/enabled");
2597
2600
  var oData = {
2598
2601
  page: {
2599
2602
  id: page.id,
@@ -2614,9 +2617,8 @@ sap.ui.define([
2614
2617
  id: oViz.id,
2615
2618
  itemIndex: oViz.itemIndex,
2616
2619
  targetMappingId: oViz.targetMappingId,
2617
- // rename both when our frontend names match backend names
2618
- vizId: oViz.catalogTileId, // our "vizId" should be renamed to "catalogTileId"
2619
- inboundPermanentKey: oViz.targetMappingId, // our "inboundPermanentKey" should be renamed to "targetMappingId"
2620
+ vizId: bStableIDsEnabled ? oViz.catalogTileIdStable : oViz.catalogTileId,
2621
+ inboundPermanentKey: bStableIDsEnabled ? oViz.targetMappingIdStable : oViz.targetMappingId,
2620
2622
  displayFormatHint: oViz.displayFormatHint
2621
2623
  };
2622
2624
  }).sort(function (firstViz, secondViz) {
@@ -2628,13 +2630,13 @@ sap.ui.define([
2628
2630
  })
2629
2631
  },
2630
2632
  // mapping from vizReference to visualization
2631
- visualizations: page.vizReferences.results.reduce(function (oVisualizations, oViz) {
2632
- var oSimplifiedChip = this._getSimplifiedChip(oViz);
2633
- oVisualizations[oViz.id] = {
2634
- vizType: oViz.tileType,
2635
- title: oViz.title,
2636
- subTitle: oViz.subTitle,
2637
- icon: oViz.iconUrl,
2633
+ visualizations: page.vizReferences.results.reduce(function (oVisualizations, oVisualizationData) {
2634
+ var oSimplifiedChip = this._getSimplifiedChip(oVisualizationData);
2635
+ var oVisualization = {
2636
+ vizType: oVisualizationData.tileType,
2637
+ title: oVisualizationData.title,
2638
+ subTitle: oVisualizationData.subTitle,
2639
+ icon: oVisualizationData.iconUrl,
2638
2640
  info: chipsUtils.getInfoFromSimplifiedChip(oSimplifiedChip),
2639
2641
  keywords: chipsUtils.getKeywordsFromSimplifiedChip(oSimplifiedChip),
2640
2642
  size: chipsUtils.getTileSizeFromSimplifiedChip(oSimplifiedChip),
@@ -2648,6 +2650,20 @@ sap.ui.define([
2648
2650
  chip: oSimplifiedChip
2649
2651
  }
2650
2652
  };
2653
+
2654
+ if (bStableIDsEnabled) {
2655
+ // TO DO: Move this line to the object declaration after the FeatureSwitch is removed!
2656
+ oVisualization.vizId = oVisualizationData.catalogTileIdStable;
2657
+
2658
+ oVisualizations[oVisualizationData.catalogTileIdStable] = oVisualization;
2659
+
2660
+ if (oVisualizationData.fromPersonalization && oVisualizationData.id !== oVisualizationData.catalogTileIdStable) {
2661
+ oUnstableVisualizations[oVisualizationData.id] = oVisualization;
2662
+ }
2663
+ } else {
2664
+ oVisualizations[oVisualizationData.id] = oVisualization;
2665
+ }
2666
+
2651
2667
  return oVisualizations;
2652
2668
  }.bind(this), {}),
2653
2669
  // mapping from tileTypes to vizTypes
@@ -2671,6 +2687,10 @@ sap.ui.define([
2671
2687
  }, {})
2672
2688
  };
2673
2689
 
2690
+ if (bStableIDsEnabled) {
2691
+ oData.unstableVisualizations = Object.keys(oUnstableVisualizations).length > 0 ? oUnstableVisualizations : null;
2692
+ }
2693
+
2674
2694
  return oData;
2675
2695
  };
2676
2696
 
@@ -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,7 +7,7 @@
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.97.0
10
+ * @version 1.99.0
11
11
  */
12
12
  sap.ui.define([
13
13
  "sap/ushell_abap/adapters/abap/AdapterContainer",
@@ -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.97.0
5
+ * @version 1.99.0
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.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/isEmptyObject",
@@ -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.97.0
5
+ * @version 1.99.0
6
6
  */
7
7
  sap.ui.define([
8
8
  ], function () {
@@ -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
  sap.ui.define([
4
4
  "sap/ushell_abap/pbServices/ui2/ODataWrapper",
@@ -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.97.0
6
+ * @version 1.99.0
7
7
  */
8
8
  /**
9
9
  * @namespace Default namespace for Unified Shell adapters for the HANA platform. They can usually
@@ -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
  sap.ui.define([
4
4
  "./abap.bootstrap.utils",
@@ -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",
@@ -0,0 +1,7 @@
1
+ // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
+ var sAsyncLoader = document.getElementById("sap-ui-bootstrap").getAttribute("data-sap-ui-async");
3
+ if (sAsyncLoader && sAsyncLoader.toLowerCase() === "true") {
4
+ sap.ui.require(["sap/ushell_abap/bootstrap/evo/abap-def"]);
5
+ } else {
6
+ sap.ui.requireSync("sap/ushell_abap/bootstrap/evo/abap-def");
7
+ }
@@ -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",
@@ -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
  //TODO should be replaced by sap/ushell/utils
3
3
  sap.ui.define([
4
4
  "sap/ushell/utils",
@@ -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.97.0
17
+ * @version 1.99.0
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 () {
@@ -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 a Getter to return an array of valid configuration URL
@@ -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,9 +1,7 @@
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/ushell_abap/pbServices/ui2/Chip",
6
- "sap/ushell_abap/pbServices/ui2/Error",
7
5
  "sap/ushell_abap/pbServices/ui2/Bag",
8
6
  "sap/ushell_abap/pbServices/ui2/contracts/bag",
9
7
  "sap/ushell_abap/pbServices/ui2/contracts/configuration",
@@ -18,10 +16,7 @@ sap.ui.define([
18
16
  "sap/ushell_abap/pbServices/ui2/contracts/types"
19
17
  ], function (
20
18
  UriParameters,
21
-
22
- Log,
23
- Chip,
24
- SrvcError
19
+ Log
25
20
  /*
26
21
  ui2Bag,
27
22
  ui2ContractsBag,
@@ -75,15 +70,6 @@ sap.ui.define([
75
70
  return;
76
71
  }
77
72
 
78
- //TODO inserted to support chips requesting this contract unecessarily
79
- Chip.addContract("navigation", function (oChipInstance) {
80
- this.navigateToUrl = function (sUrl, oSettings) {
81
- throw new SrvcError("'navigation' contract not implemented!",
82
- "sap.ushell.adapters.abap.LaunchPageAdapter");
83
- };
84
- });
85
-
86
-
87
73
  sap.ui.require(["sap/ushell/iconfonts"], function (IconFonts) {
88
74
  window.sap.ushell.Container.createRenderer("fiori2", true).then(
89
75
  function (oContent) {
@@ -94,5 +80,4 @@ sap.ui.define([
94
80
  });
95
81
 
96
82
  }
97
-
98
83
  });
@@ -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
  sap.ui.define([
4
4
  "./abap.bootstrap.utils",
@@ -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
@@ -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.bootstrap.utils",
4
4
  "sap/base/util/ObjectPath",
@@ -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
@@ -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
  sap.ui.define([
4
4
  "sap/base/Log",
@@ -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 Validates a given Url
@@ -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
  "sap/ushell/bootstrap/common/common.load.xhrlogon",
4
4
  "sap/ushell/bootstrap/common/common.configure.xhrlogon",
@@ -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
  sap.ui.define([
4
4
  "sap/ushell/bootstrap/common/common.load.xhrlogon",
@@ -15,8 +15,7 @@ sap.ui.define([
15
15
  "sap/base/Log",
16
16
  "sap/ushell/services/Container",
17
17
  "sap/ui/Device",
18
- "sap/ushell_abap/pbServices/ui2/Utils",
19
- "sap/ushell_abap/pbServices/ui2/Chip" // TODO remove when FLPD is adapted (needs to be loaded early in FLPD scenario)
18
+ "sap/ushell_abap/pbServices/ui2/Utils"
20
19
  ],
21
20
  function (
22
21
  oXhrLogonLib,
@@ -33,8 +32,7 @@ function (
33
32
  Log,
34
33
  Container,
35
34
  Device,
36
- Utils,
37
- Chip
35
+ Utils
38
36
  ) {
39
37
  "use strict";
40
38
 
@@ -855,12 +853,6 @@ function (
855
853
  function bootstrap (oStartupCallResult, aServerConfig, fnCallback) {
856
854
  var sShellHash = getShellHash();
857
855
 
858
- // UI5 has to be informed that our bootstrap has started.
859
- // otherwise:
860
- // It assumes - in case of a slow startup request, that the page has been rendered already.
861
- // So it calls the FESR enhancement hook and we have no statistical record to report.
862
- initTraces();
863
-
864
856
  // Note: processStartup creates window["sap-ushell-config"]
865
857
  processStartup(oStartupCallResult);
866
858
 
@@ -991,10 +983,12 @@ function (
991
983
 
992
984
  oXhrHandler.initXhrLogon(window["sap-ushell-config"]);
993
985
 
986
+ // initialize UI5 performance tracing (FESR) before first request is sent, so that this is also instrumented
987
+ initTraces();
988
+
994
989
  //TODO: this may move before TargetMappings & pageset firing (in case of contention of network connections)
995
990
  //fire start-up request if direct start also indicates suppression of pageset request
996
991
  //must be kept before success handler of requestStartUp
997
-
998
992
  oStartupPromise = oStartupHandler.requestStartupConfig().then(function (oStartupResult) {
999
993
  var sHash = getShellHash();
1000
994
  (ObjectPath.get("sap-ushell-config.services.Container.adapter") || ObjectPath.create("sap-ushell-config.services.Container.adapter")).config = oStartupResult;
@@ -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
  sap.ui.define([
4
4
  "sap/ui/core/library",
@@ -13,13 +13,13 @@ sap.ui.define([
13
13
  * @namespace
14
14
  * @name sap.ushell_abap
15
15
  * @author SAP SE
16
- * @version 1.97.0
16
+ * @version 1.99.0
17
17
  * @private
18
18
  * @ui5-restricted
19
19
  */
20
20
  sap.ui.getCore().initLibrary({
21
21
  name: "sap.ushell_abap",
22
- version: "1.97.0",
22
+ version: "1.99.0",
23
23
  dependencies: ["sap.ui.core", "sap.m"],
24
24
  noLibraryCSS: true,
25
25
  extensions: {
@@ -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 A wrapper for a page's <code>allCatalogs</code> collection loaded from the page
@@ -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 A wrapper for a property bag loaded from the page building service.
@@ -709,10 +709,5 @@ sap.ui.define([
709
709
  Log.debug("Created: " + this, null, "sap.ushell_abap.pbServices.ui2.Bag");
710
710
  };
711
711
 
712
- // TODO remove when FLPD is adapted (uses this function in global namespace)
713
- sap.ui2 = sap.ui2 || {};
714
- sap.ui2.srvc = sap.ui2.srvc || {};
715
- sap.ui2.srvc.bag = Bag;
716
-
717
712
  return Bag;
718
713
  }, true);
@@ -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 A wrapper for a catalog loaded from the page building service.