@sapui5/sap.ushell_abap 1.96.1 → 1.98.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 (67) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell_abap/.library +3 -3
  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 +178 -65
  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 +6 -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 +1 -1
  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 +4 -8
  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 +15 -1
  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 +13 -1
  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 +19 -1
  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 -1
  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 -1
  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/navigation.js +1 -1
  59. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/preview.js +1 -1
  60. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/refresh.js +1 -1
  61. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/search.js +1 -1
  62. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/types.js +1 -1
  63. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/url.js +1 -1
  64. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/visible.js +1 -1
  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 +378 -17
@@ -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.96.1
5
+ * @version 1.98.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.96.1
10
+ * @version 1.98.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.96.1
5
+ * @version 1.98.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.96.1
5
+ * @version 1.98.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.96.1
5
+ * @version 1.98.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.96.1
6
+ * @version 1.98.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,6 @@
1
+ // Copyright (c) 2009-2022 SAP SE. All rights reserved.
2
+ if (document.getElementById("sap-ui-bootstrap").async) {
3
+ sap.ui.require(["sap/ushell_abap/bootstrap/evo/abap-def"]);
4
+ } else {
5
+ sap.ui.requireSync("sap/ushell_abap/bootstrap/evo/abap-def");
6
+ }
@@ -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.96.1
17
+ * @version 1.98.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,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/base/util/UriParameters",
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
  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",
@@ -855,12 +855,6 @@ function (
855
855
  function bootstrap (oStartupCallResult, aServerConfig, fnCallback) {
856
856
  var sShellHash = getShellHash();
857
857
 
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
858
  // Note: processStartup creates window["sap-ushell-config"]
865
859
  processStartup(oStartupCallResult);
866
860
 
@@ -991,10 +985,12 @@ function (
991
985
 
992
986
  oXhrHandler.initXhrLogon(window["sap-ushell-config"]);
993
987
 
988
+ // initialize UI5 performance tracing (FESR) before first request is sent, so that this is also instrumented
989
+ initTraces();
990
+
994
991
  //TODO: this may move before TargetMappings & pageset firing (in case of contention of network connections)
995
992
  //fire start-up request if direct start also indicates suppression of pageset request
996
993
  //must be kept before success handler of requestStartUp
997
-
998
994
  oStartupPromise = oStartupHandler.requestStartupConfig().then(function (oStartupResult) {
999
995
  var sHash = getShellHash();
1000
996
  (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.96.1
16
+ * @version 1.98.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.96.1",
22
+ version: "1.98.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.
@@ -689,6 +689,20 @@ sap.ui.define([
689
689
  fillPropertyMap(oBagData);
690
690
  };
691
691
 
692
+ // for test purposes -------------------------------------------------------
693
+
694
+ this._getChangeHandler = function () {
695
+ return fnChangeListener;
696
+ };
697
+
698
+ this._getRawBagData = function () {
699
+ return oAlterEgo;
700
+ };
701
+
702
+ this._getParentBag = function () {
703
+ return oParentBag;
704
+ };
705
+
692
706
  // constructor code -------------------------------------------------------
693
707
 
694
708
  fillPropertyMap(oAlterEgo);
@@ -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.
@@ -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 <code>sap.ushell_abap.pbServices.ui2.Chip</code> object with related functions.
@@ -502,6 +502,18 @@ sap.ui.define([
502
502
  return oAlterEgo.id;
503
503
  };
504
504
 
505
+ /**
506
+ * Returns this CHIP's reference ID also known as the stable ID
507
+ *
508
+ * @returns {string}
509
+ * this CHIP's reference ID
510
+ * @since 1.98.0
511
+ * @private
512
+ */
513
+ this.getReferenceChipId = function () {
514
+ return oAlterEgo.referenceChipId;
515
+ };
516
+
505
517
  /**
506
518
  * Returns this CHIP instance's implementation of type SAPUI5 as a control. This control
507
519
  * represents the root of this CHIP instance's UI from a page builder point of view. Can only
@@ -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 <code>sap.ushell_abap.pbServices.ui2.ChipDefinition</code> object, representing an XML document
@@ -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 <code>sap.ushell_abap.pbServices.ui2.ChipInstance</code> object with related functions.
@@ -467,6 +467,24 @@ sap.ui.define([
467
467
  return oChip.getImplementationAsSapui5(oApi);
468
468
  };
469
469
 
470
+ /**
471
+ * Returns this CHIP instance's implementation of type SAPUI5 as a control. This control
472
+ * represents the root of this CHIP instance's UI from a page builder point of view. Can only
473
+ * be called if the CHIP instance is not a stub anymore.
474
+ *
475
+ * @returns {Promise<sap.ui.core.Control>}
476
+ * resolves this CHIP instance's SAPUI5 implementation as a control
477
+ * @since 1.97.0
478
+ *
479
+ * @see #isStub()
480
+ */
481
+ this.getImplementationAsSapui5Async = function () {
482
+ return new Promise(function (resolve, reject) {
483
+ checkStub();
484
+ resolve(oChip.getImplementationAsSapui5(oApi));
485
+ });
486
+ };
487
+
470
488
  /**
471
489
  * Returns this CHIP instance's layout data as defined by the page building service.
472
490
  *
@@ -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 An error object which logs the error message immediately.
@@ -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 factory for wrapper objects corresponding to the four
@@ -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 facade to any OData service, providing CSRF token handling and a default
@@ -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 around <code>OData</code>, providing CSRF token handling, caching and
@@ -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 loaded from the page building service.
@@ -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 facade to the page building service, providing all needed
@@ -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 set loaded from the page building service.
@@ -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 catalog service which is able to read CHIPs from a remote 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
 
3
3
  /* eslint-disable no-console */
4
4
 
@@ -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 <code>actions</code> contract.
@@ -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 <code>bag</code> contract.
@@ -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 <code>configuration</code> contract.
@@ -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 <code>configurationUi</code> contract.
@@ -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 <code>fullscreen</code> contract.
@@ -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 <code>navigation</code> contract.
@@ -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 <code>preview</code> contract.
@@ -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 <code>refresh</code> contract.
@@ -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 <code>search</code> contract.
@@ -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 Dummy file, The <code>types</code> contract is in the file contracts/actions.js !
@@ -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 <code>url</code> contract.
@@ -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 <code>visible</code> contract.
@@ -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
  /* eslint-disable no-console */
4
4