@sapui5/ts-types 1.97.2 → 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.
- package/package.json +1 -1
- package/types/index.d.ts +0 -4
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +425 -13
- package/types/sap.f.d.ts +108 -573
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +153 -25
- package/types/sap.fe.macros.d.ts +1 -1
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +5 -1
- package/types/sap.fe.test.d.ts +9 -3
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +49 -1
- package/types/sap.landvisz.d.ts +49 -1
- package/types/sap.m.d.ts +2648 -268
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +38 -3
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.grid.d.ts +3 -1
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +29 -7
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +31 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +67 -9
- package/types/sap.ui.core.d.ts +819 -199
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +3 -3
- package/types/sap.ui.fl.d.ts +7 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +21 -3
- package/types/sap.ui.layout.d.ts +4 -4
- package/types/sap.ui.mdc.d.ts +12 -6
- package/types/sap.ui.richtexteditor.d.ts +7 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +6 -6
- package/types/sap.ui.table.d.ts +30 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -3
- package/types/sap.ui.vk.d.ts +24 -20
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +54 -75
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -5
- package/types/sap.fe.placeholder.d.ts +0 -3
- package/types/sap.fe.plugins.d.ts +0 -3
- package/types/sap.fe.semantics.d.ts +0 -3
- package/types/sap.fe.tools.d.ts +0 -3
package/types/sap.ushell.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.98.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -23,42 +23,51 @@ declare namespace sap {
|
|
|
23
23
|
/**
|
|
24
24
|
* @SINCE 1.15.0
|
|
25
25
|
*
|
|
26
|
-
* Initializes the Unified Shell
|
|
27
|
-
* in the very beginning by platform-specific code in order to bootstrap the container. As soon as the returned
|
|
28
|
-
* promise has been resolved, the container will be available as a singleton object `sap.ushell.Container`.
|
|
26
|
+
* Initializes the Unified Shell Container.
|
|
29
27
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
28
|
+
* This platform-specific method must be called exactly once in the very beginning to resolve all necessary
|
|
29
|
+
* depdencies and prepare Unified Shell's global infrastructure. As soon as the returned promise has been
|
|
30
|
+
* resolved, the container will be available as a singleton object in namespace `sap.ushell.Container`.
|
|
33
31
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
32
|
+
* **Note:** `sap.ushell.bootstrap` is used internally by the Fiori Launchpad. Developers that build apps
|
|
33
|
+
* or plugins for the Fiori Launchpad must not use `sap.ushell.bootstrap` in their code. However, there
|
|
34
|
+
* are special use cases where a customized bootstrap of Unified Shell makes sense, e.g. when Unified Shell
|
|
35
|
+
* UI services need to be accessed without having loaded the Unified Shell's UI. In such cases, additional
|
|
36
|
+
* depdencides need to be required to allow proper usage of Unified Shell's functionality.
|
|
39
37
|
*
|
|
40
|
-
*
|
|
41
|
-
* library (`<groupId>com.sap.ushell</groupId> <artifactId>ushell_abap</artifactId>`)
|
|
42
|
-
* and load the bootstrap code via the application's resources folder:
|
|
38
|
+
* **Example:**
|
|
43
39
|
* ```javascript
|
|
44
40
|
*
|
|
45
|
-
*
|
|
46
|
-
* <script id="sap-ui-bootstrap"
|
|
47
|
-
*
|
|
41
|
+
* <!--...-->
|
|
42
|
+
* <script id="sap-ui-bootstrap"
|
|
43
|
+
* src=".../sap-ui-core.js"
|
|
44
|
+
* data-sap-ui-libs="sap.ushell,sap.m">
|
|
45
|
+
* </script>
|
|
46
|
+
* <!--...-->
|
|
47
|
+
* <script>
|
|
48
|
+
* sap.ui.getCore().attachInit(function () {
|
|
49
|
+
* sap.ui.require([\/* ... *\/], function (\/* ... *\/) {
|
|
50
|
+
* window["sap-ushell-config"] = {\/* config *\/};
|
|
48
51
|
*
|
|
52
|
+
* sap.ushell.bootstrap("abap", {
|
|
53
|
+
* abap: "sap.ushell_abap.adapters.abap"
|
|
54
|
+
* }).then(function () {
|
|
55
|
+
* sap.ushell.Container.getServiceAsync(\/* Service *\/).then(function (serviceInstance) {
|
|
56
|
+
* \/* ... *\/
|
|
57
|
+
* });
|
|
58
|
+
* });
|
|
59
|
+
* });
|
|
60
|
+
* });
|
|
61
|
+
* </script>
|
|
62
|
+
* <!--...-->
|
|
63
|
+
* ```
|
|
49
64
|
*
|
|
50
|
-
* Since 1.15.0 you can provide the function `window['sap.ushell.bootstrap.callback']` for calling back
|
|
51
|
-
* from this method asynchronously. SAPUI5's bootstrap is ongoing then. The same restrictions apply as for
|
|
52
|
-
* the function `window['sap-ui-config']['xx-bootTask']`) when the Unified Shell container has not yet finished
|
|
53
|
-
* its bootstrap. You cannot delay the bootstrap of SAPUI5 or the Unified Shell container; any errors are
|
|
54
|
-
* ignored. This callback is useful for sending asynchronous back-end requests at the earliest opportunity
|
|
55
|
-
* without delaying the core bootstrap of SAPUI5 and the Unified Shell container.
|
|
56
65
|
* See:
|
|
57
66
|
* sap.ushell.Container
|
|
58
67
|
*/
|
|
59
68
|
function bootstrap(
|
|
60
69
|
/**
|
|
61
|
-
* the target platform, such as "abap" or "
|
|
70
|
+
* the target platform, such as "abap" or "cdm".
|
|
62
71
|
*/
|
|
63
72
|
sPlatform: string,
|
|
64
73
|
/**
|
|
@@ -2624,24 +2633,11 @@ declare namespace sap {
|
|
|
2624
2633
|
*
|
|
2625
2634
|
* This interface is for usage by applications or shell renderers/containers.
|
|
2626
2635
|
*
|
|
2627
|
-
* Usage:
|
|
2628
|
-
*
|
|
2629
|
-
*
|
|
2630
|
-
* sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then( function (oService) {
|
|
2631
|
-
*
|
|
2632
|
-
* var sHref = oService.hrefForExternal({
|
|
2633
|
-
* target : {
|
|
2634
|
-
* semanticObject : "Product",
|
|
2635
|
-
* action : "display" },
|
|
2636
|
-
* params : {
|
|
2637
|
-
* "ProductID" : "102343333"
|
|
2638
|
-
* }
|
|
2639
|
-
* }) || "";
|
|
2640
|
-
*
|
|
2641
|
-
* // do something with sHref
|
|
2642
|
-
* });
|
|
2643
|
-
* ```
|
|
2636
|
+
* Usage: sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then( function (oService)
|
|
2637
|
+
* {
|
|
2644
2638
|
*
|
|
2639
|
+
* oService.hrefForExternalAsync({ target : { semanticObject : "Product", action : "display" }, params :
|
|
2640
|
+
* { "ProductID" : "102343333" } }).then( function(sHref) { // do something with sHref }); });
|
|
2645
2641
|
*
|
|
2646
2642
|
* Parameter names and values are case sensitive.
|
|
2647
2643
|
*
|
|
@@ -2832,7 +2828,7 @@ declare namespace sap {
|
|
|
2832
2828
|
): jQuery.Deferred;
|
|
2833
2829
|
/**
|
|
2834
2830
|
* @SINCE 1.19.0
|
|
2835
|
-
* @deprecated (since 1.38
|
|
2831
|
+
* @deprecated (since 1.38) - use getLinks() instead.
|
|
2836
2832
|
*
|
|
2837
2833
|
* Resolves a given semantic object and business parameters to a list of links, taking into account the
|
|
2838
2834
|
* form factor of the current device.
|
|
@@ -2901,10 +2897,10 @@ declare namespace sap {
|
|
|
2901
2897
|
/**
|
|
2902
2898
|
* @SINCE 1.94.0
|
|
2903
2899
|
*
|
|
2904
|
-
* Returns a
|
|
2905
|
-
* suffix
|
|
2900
|
+
* Returns a Promise which resolves a string that can be put into the DOM (e.g. in a link tag) given an
|
|
2901
|
+
* application specific hash suffix
|
|
2906
2902
|
*
|
|
2907
|
-
* Example: `
|
|
2903
|
+
* Example: `hrefForAppSpecificHashAsync("View1/details/0/")` returns a Promise that resolves: `#SemanticObject-action&/View1/details/0/`
|
|
2908
2904
|
* if the current application runs in the shell and was started using "SemanticObject-action" as shell navigation
|
|
2909
2905
|
* hash
|
|
2910
2906
|
*/
|
|
@@ -2917,6 +2913,8 @@ declare namespace sap {
|
|
|
2917
2913
|
): Promise<string>;
|
|
2918
2914
|
/**
|
|
2919
2915
|
* @SINCE 1.15.0
|
|
2916
|
+
* @deprecated (since 1.98) - Use {@link sap.ushell.services.CrossApplicationNavigation#hrefForExternalAsync}
|
|
2917
|
+
* instead.
|
|
2920
2918
|
*
|
|
2921
2919
|
* Returns a string which can be put into the DOM (e.g. in a link tag)
|
|
2922
2920
|
*/
|
|
@@ -2958,9 +2956,11 @@ declare namespace sap {
|
|
|
2958
2956
|
* after all compaction requests have been sent. `bAsync=false` is deprecated since 1.94.
|
|
2959
2957
|
*/
|
|
2960
2958
|
bAsync: boolean
|
|
2961
|
-
): string
|
|
2959
|
+
): string | Promise<string>;
|
|
2962
2960
|
/**
|
|
2963
2961
|
* @SINCE 1.15.0
|
|
2962
|
+
* @deprecated (since 1.98) - Use {@link sap.ushell.services.CrossApplicationNavigation#hrefForExternalAsync}
|
|
2963
|
+
* instead.
|
|
2964
2964
|
*
|
|
2965
2965
|
* Returns a string which can be put into the DOM (e.g. in a link tag)
|
|
2966
2966
|
*/
|
|
@@ -2998,39 +2998,18 @@ declare namespace sap {
|
|
|
2998
2998
|
* after all compaction requests have been sent. `bAsync=false` is deprecated since 1.94.
|
|
2999
2999
|
*/
|
|
3000
3000
|
bAsync: boolean
|
|
3001
|
-
): string
|
|
3001
|
+
): string | Promise<string>;
|
|
3002
3002
|
/**
|
|
3003
3003
|
* @SINCE 1.94.0
|
|
3004
3004
|
*
|
|
3005
|
-
* Returns a
|
|
3005
|
+
* Returns a Promise which resolves a string. That string can be put into the DOM (e.g. in a link tag)
|
|
3006
3006
|
*/
|
|
3007
3007
|
hrefForExternalAsync(
|
|
3008
3008
|
/**
|
|
3009
|
-
* object encoding a semantic object and action, e.g.
|
|
3010
|
-
*
|
|
3011
|
-
*
|
|
3012
|
-
*
|
|
3013
|
-
* target : { semanticObject : "AnObject", action: "action" },
|
|
3014
|
-
* params : { A : "B" }
|
|
3015
|
-
* }
|
|
3016
|
-
* ```
|
|
3017
|
-
* or e.g.
|
|
3018
|
-
* ```javascript
|
|
3019
|
-
*
|
|
3020
|
-
* {
|
|
3021
|
-
* target : {
|
|
3022
|
-
* semanticObject : "AnObject",
|
|
3023
|
-
* action: "action", context : "AB7F3C"
|
|
3024
|
-
* },
|
|
3025
|
-
* params : {
|
|
3026
|
-
* A : "B",
|
|
3027
|
-
* c : "e"
|
|
3028
|
-
* }
|
|
3029
|
-
* }
|
|
3030
|
-
* ```
|
|
3031
|
-
* or
|
|
3032
|
-
* ```javascript
|
|
3033
|
-
* { target : { shellHash : "SO-36?jumper=postman" } }```
|
|
3009
|
+
* object encoding a semantic object and action, e.g. ` { target : { semanticObject : "AnObject", action:
|
|
3010
|
+
* "action" }, params : { A : "B" } } ` or e.g. ` { target : { semanticObject : "AnObject", action: "action",
|
|
3011
|
+
* context : "AB7F3C" }, params : { A : "B", c : "e" } } ` or `{ target : { shellHash : "SO-36?jumper=postman"
|
|
3012
|
+
* } }`
|
|
3034
3013
|
*/
|
|
3035
3014
|
oArgs: object,
|
|
3036
3015
|
/**
|
|
@@ -3040,7 +3019,7 @@ declare namespace sap {
|
|
|
3040
3019
|
): Promise<string>;
|
|
3041
3020
|
/**
|
|
3042
3021
|
* @SINCE 1.36.0
|
|
3043
|
-
* @deprecated (since 1.94) - Use `isInitialNavigationAsync` instead
|
|
3022
|
+
* @deprecated (since 1.94) - Use `isInitialNavigationAsync` instead.
|
|
3044
3023
|
*
|
|
3045
3024
|
* Checks whether the FLP has performed the first navigation. This method can be used to detect whether
|
|
3046
3025
|
* the current app was started directly, that is, without a previous navigation to another app, to the FLP
|
package/types/sap.uxap.d.ts
CHANGED
package/types/sap.viz.d.ts
CHANGED
package/types/sap.zen.dsh.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.98.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace zen {
|
|
@@ -496,10 +496,6 @@ declare namespace sap {
|
|
|
496
496
|
*/
|
|
497
497
|
sDim: string
|
|
498
498
|
): this;
|
|
499
|
-
/**
|
|
500
|
-
* Resets this data provider to the state after the metadata import
|
|
501
|
-
*/
|
|
502
|
-
resetToDefault(): void;
|
|
503
499
|
/**
|
|
504
500
|
* Distribute the dimension among the rows and columns
|
|
505
501
|
*/
|
package/types/sap.fe.tools.d.ts
DELETED