@sapui5/sap.ushell_abap 1.97.1 → 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 (97) 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 +16 -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 +65 -15
  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 +1577 -36
  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 +13 -10
  23. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.backend.config.requestor.js +198 -0
  24. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.bootstrap.utils.js +6 -4
  25. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +2 -2
  26. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.constants.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.startup.js +1 -1
  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 +1 -1
  33. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.xhr.handler.js +1 -1
  34. package/src/main/js/sap/ushell_abap/bootstrap/evo/boottask.js +10 -16
  35. package/src/main/js/sap/ushell_abap/library.js +3 -3
  36. package/src/main/js/sap/ushell_abap/pbServices/ui2/AllCatalogs.js +1 -1
  37. package/src/main/js/sap/ushell_abap/pbServices/ui2/Bag.js +1 -6
  38. package/src/main/js/sap/ushell_abap/pbServices/ui2/Catalog.js +1 -1
  39. package/src/main/js/sap/ushell_abap/pbServices/ui2/Chip.js +172 -17
  40. package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipDefinition.js +1 -1
  41. package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipInstance.js +14 -6
  42. package/src/main/js/sap/ushell_abap/pbServices/ui2/Error.js +1 -1
  43. package/src/main/js/sap/ushell_abap/pbServices/ui2/Factory.js +1 -1
  44. package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataService.js +1 -1
  45. package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataWrapper.js +1 -1
  46. package/src/main/js/sap/ushell_abap/pbServices/ui2/Page.js +1 -8
  47. package/src/main/js/sap/ushell_abap/pbServices/ui2/PageBuildingService.js +1 -1
  48. package/src/main/js/sap/ushell_abap/pbServices/ui2/PageSet.js +1 -1
  49. package/src/main/js/sap/ushell_abap/pbServices/ui2/RemoteCatalogService.js +1 -1
  50. package/src/main/js/sap/ushell_abap/pbServices/ui2/Utils.js +1 -8
  51. package/src/main/js/sap/ushell_abap/pbServices/ui2/chipdefinition.xsd +0 -1
  52. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/actions.js +1 -1
  53. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/bag.js +1 -1
  54. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configuration.js +1 -1
  55. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configurationUi.js +48 -6
  56. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/fullscreen.js +1 -1
  57. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/preview.js +1 -1
  58. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/refresh.js +1 -1
  59. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/search.js +1 -1
  60. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/types.js +1 -1
  61. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/url.js +1 -1
  62. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/visible.js +1 -1
  63. package/src/main/js/sap/ushell_abap/support/plugins/app-infra/AppInfraOnSapNetWeaverSupportPlugin.js +1 -1
  64. package/src/main/js/sap/ushell_abap/ui5appruntime/AppInfoAdapter.js +1 -1
  65. package/ui5.yaml +379 -32
  66. package/src/main/js/sap/ui2/srvc/ODataService.js +0 -267
  67. package/src/main/js/sap/ui2/srvc/ODataWrapper.js +0 -1283
  68. package/src/main/js/sap/ui2/srvc/PageBuildingService.js +0 -1508
  69. package/src/main/js/sap/ui2/srvc/RemoteCatalogService.js +0 -49
  70. package/src/main/js/sap/ui2/srvc/allcatalogs.js +0 -197
  71. package/src/main/js/sap/ui2/srvc/bag.js +0 -711
  72. package/src/main/js/sap/ui2/srvc/catalog.js +0 -946
  73. package/src/main/js/sap/ui2/srvc/chip.js +0 -1035
  74. package/src/main/js/sap/ui2/srvc/chipdefinition.js +0 -228
  75. package/src/main/js/sap/ui2/srvc/chipinstance.js +0 -944
  76. package/src/main/js/sap/ui2/srvc/contracts/actions.js +0 -239
  77. package/src/main/js/sap/ui2/srvc/contracts/bag.js +0 -145
  78. package/src/main/js/sap/ui2/srvc/contracts/configuration.js +0 -161
  79. package/src/main/js/sap/ui2/srvc/contracts/configurationUi.js +0 -326
  80. package/src/main/js/sap/ui2/srvc/contracts/fullscreen.js +0 -69
  81. package/src/main/js/sap/ui2/srvc/contracts/navigation.js +0 -48
  82. package/src/main/js/sap/ui2/srvc/contracts/preview.js +0 -289
  83. package/src/main/js/sap/ui2/srvc/contracts/refresh.js +0 -42
  84. package/src/main/js/sap/ui2/srvc/contracts/search.js +0 -109
  85. package/src/main/js/sap/ui2/srvc/contracts/searchProvider.js +0 -46
  86. package/src/main/js/sap/ui2/srvc/contracts/types.js +0 -9
  87. package/src/main/js/sap/ui2/srvc/contracts/url.js +0 -104
  88. package/src/main/js/sap/ui2/srvc/contracts/visible.js +0 -122
  89. package/src/main/js/sap/ui2/srvc/error.js +0 -54
  90. package/src/main/js/sap/ui2/srvc/factory.js +0 -656
  91. package/src/main/js/sap/ui2/srvc/page.js +0 -934
  92. package/src/main/js/sap/ui2/srvc/pageset.js +0 -466
  93. package/src/main/js/sap/ui2/srvc/utils.js +0 -923
  94. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.get.server.config.Urls.js +0 -108
  95. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.server.config.js +0 -69
  96. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.validate.Url.js +0 -54
  97. package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/navigation.js +0 -50
@@ -1,122 +0,0 @@
1
- // Copyright (c) 2009-2020 SAP SE, All Rights Reserved
2
-
3
- /**
4
- * @fileOverview The <code>visible</code> contract.
5
- */
6
- (function () {
7
- "use strict";
8
-
9
- // Note: jQuery might not yet be available!
10
- if (typeof jQuery === "function" && jQuery.sap) {
11
- jQuery.sap.declare("sap.ui2.srvc.contracts.visible");
12
- jQuery.sap.require("sap.ui2.srvc.chip");
13
- }
14
-
15
- /**
16
- * @namespace The namespace for the CHIP API's <code>visible</code> contract regarding the
17
- * CHIP's current visibility within the page.
18
- * @name chip.visible
19
- * @since 1.17.1
20
- */
21
-
22
- sap.ui2.srvc.Chip.addContract("visible", function (oChipInstance) {
23
- var bVisible = true,
24
- fnOnVisible;
25
-
26
- /**
27
- * Calls fnOnVisible with bVisible as parameter. Adds some some error handling ensuring that exceptions will
28
- * not affect the page builder.
29
- *
30
- * @private
31
- */
32
- function callOnVisible () {
33
- try {
34
- fnOnVisible(bVisible);
35
- } catch (e) {
36
- jQuery.sap.log.error(oChipInstance + ": call to visible handler failed: "
37
- + (e.message || e.toString()), null, "chip.visible");
38
- }
39
- }
40
-
41
- /**
42
- * Attaches the given event handler to the "visible" event which is fired whenever the CHIP's
43
- * visibility has been changed. The event handler takes a boolean as parameter, representing
44
- * the new visible state.
45
- * (Since 1.42) fnEventHandler is called once initially with the current visibility making it
46
- * unnecessary to check {#isVisible} when the CHIP is initialized. Attaching the same handler
47
- * multiple times will only result in one call to it.
48
- *
49
- * @name chip.visible.attachVisible
50
- * @function
51
- * @since 1.17.0
52
- * @param {function (boolean)} fnEventHandler
53
- * event handler for visibility changes
54
- */
55
- this.attachVisible = function (fnEventHandler) {
56
- if (typeof fnEventHandler !== "function") {
57
- throw new sap.ui2.srvc.Error("Not a function: " + fnEventHandler,
58
- "chip.visible");
59
- }
60
-
61
- // attaching the same handler multiple time should not end in multiple calls (see below)
62
- if (fnOnVisible === fnEventHandler) {
63
- return;
64
- }
65
- fnOnVisible = fnEventHandler;
66
-
67
- // call the handler directly to stay compatible with previous behavior in the FLP.
68
- // There the tiles where notified directly after instantiation (multiple tiles) so they
69
- // did not need to check via isVisible() if they are visible or not.
70
- callOnVisible();
71
- };
72
-
73
- /**
74
- * Returns the CHIP's visibility within the page builder's page. The visibility is
75
- * <code>true</code> initially.
76
- *
77
- * @name chip.visible.isVisible
78
- * @function
79
- * @since 1.17.0
80
- * @returns {boolean}
81
- * the CHIP's visibility within the page builder's page.
82
- * @see contract.visible.setVisible
83
- */
84
- this.isVisible = function () {
85
- return bVisible;
86
- };
87
-
88
- /**
89
- * @namespace The namespace for the contract interface (to be used by a page builder) for
90
- * the <code>visible</code> contract. This contract interface allows the pagebuilder to
91
- * notify the CHIP when the CHIP's visibility has been changed.
92
- *
93
- * @name contract.visible
94
- * @since 1.17.0
95
- */
96
- return {
97
- /**
98
- * Notifies the CHIP about its new visibility. The CHIP is only informed, if the
99
- * visibility is different then before.
100
- *
101
- * @param {boolean} bNewVisible
102
- * the CHIP visibility
103
- * @name contract.visible.setVisible
104
- * @function
105
- * @since 1.17.0
106
- * @see chip.visible.isVisible
107
- * @see chip.visible.attachVisible
108
- */
109
- setVisible: function (bNewVisible) {
110
- if (bVisible === bNewVisible) {
111
- // nothing changed so do nothing
112
- return;
113
- }
114
-
115
- bVisible = bNewVisible;
116
- if (fnOnVisible) {
117
- callOnVisible();
118
- }
119
- }
120
- };
121
- });
122
- }());
@@ -1,54 +0,0 @@
1
- // Copyright (c) 2009-2020 SAP SE, All Rights Reserved
2
-
3
- /**
4
- * @fileOverview An error object which logs the error message immediately.
5
- */
6
-
7
- this.sap = this.sap || {};
8
-
9
- (function () {
10
- "use strict";
11
-
12
- // namespace "sap.ui2.srvc" **************************************************
13
- sap.ui2 = sap.ui2 || {};
14
- sap.ui2.srvc = sap.ui2.srvc || {};
15
-
16
- // Only declare the module if jQuery.sap exists. Otherwise we do not even try to require assuming
17
- // that the script has been loaded manually (before SAPUI5).
18
- if (typeof jQuery === "function" && jQuery.sap) {
19
- jQuery.sap.declare("sap.ui2.srvc.error");
20
- jQuery.sap.require("sap.ui2.srvc.utils");
21
- }
22
-
23
- /**
24
- * Creates an <code>Error</code> object and logs the error message immediately.
25
- *
26
- * @param {string} sMessage
27
- * the error message
28
- * @param {string} [sComponent]
29
- * the error component to log
30
- * @param {boolean} [bLogError=true]
31
- * defines if the error is logged directly in the constructor; In case the error is going to be catched,
32
- * the logging may be misleading
33
- *
34
- * @class
35
- * @constructor
36
- * @since 1.2.0
37
- */
38
- sap.ui2.srvc.Error = function (sMessage, sComponent, bLogError) {
39
- // see also redundant declaration in utils.js which has to be in sync
40
- var oError = new Error(sMessage); // reuse Error constructor to benefit from it (e.g. stack)
41
-
42
- // by default the error should be logged (as always in this project)
43
- bLogError = bLogError === undefined ? true : bLogError;
44
-
45
- oError.name = "sap.ui2.srvc.Error";
46
- if (bLogError === true) {
47
- sap.ui2.srvc.log.error(sMessage, null, sComponent);
48
- }
49
- return oError;
50
- };
51
- // to avoid (new Error()) instanceof sap.ui2.srvc.Error === true we do not set the prototype,
52
- // we also tolerate that (new sap.ui2.srvc.Error()) instanceof sap.ui2.srvc.Error === false now
53
- // sap.ui2.srvc.Error.prototype = Error.prototype;
54
- }());