@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.
Files changed (64) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +0 -4
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +425 -13
  8. package/types/sap.f.d.ts +108 -573
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +153 -25
  11. package/types/sap.fe.macros.d.ts +1 -1
  12. package/types/sap.fe.navigation.d.ts +1 -1
  13. package/types/sap.fe.templates.d.ts +5 -1
  14. package/types/sap.fe.test.d.ts +9 -3
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +49 -1
  17. package/types/sap.landvisz.d.ts +49 -1
  18. package/types/sap.m.d.ts +2648 -268
  19. package/types/sap.makit.d.ts +1 -1
  20. package/types/sap.me.d.ts +1 -1
  21. package/types/sap.ndc.d.ts +38 -3
  22. package/types/sap.ovp.d.ts +1 -1
  23. package/types/sap.rules.ui.d.ts +1 -1
  24. package/types/sap.sac.grid.d.ts +3 -1
  25. package/types/sap.suite.ui.commons.d.ts +1 -1
  26. package/types/sap.suite.ui.generic.template.d.ts +29 -7
  27. package/types/sap.suite.ui.microchart.d.ts +1 -1
  28. package/types/sap.tnt.d.ts +31 -1
  29. package/types/sap.ui.codeeditor.d.ts +1 -1
  30. package/types/sap.ui.commons.d.ts +1 -1
  31. package/types/sap.ui.comp.d.ts +67 -9
  32. package/types/sap.ui.core.d.ts +819 -199
  33. package/types/sap.ui.dt.d.ts +1 -1
  34. package/types/sap.ui.export.d.ts +3 -3
  35. package/types/sap.ui.fl.d.ts +7 -1
  36. package/types/sap.ui.generic.app.d.ts +1 -1
  37. package/types/sap.ui.generic.template.d.ts +1 -1
  38. package/types/sap.ui.integration.d.ts +21 -3
  39. package/types/sap.ui.layout.d.ts +4 -4
  40. package/types/sap.ui.mdc.d.ts +12 -6
  41. package/types/sap.ui.richtexteditor.d.ts +7 -1
  42. package/types/sap.ui.rta.d.ts +1 -1
  43. package/types/sap.ui.suite.d.ts +1 -1
  44. package/types/sap.ui.support.d.ts +6 -6
  45. package/types/sap.ui.table.d.ts +30 -1
  46. package/types/sap.ui.testrecorder.d.ts +1 -1
  47. package/types/sap.ui.unified.d.ts +1 -1
  48. package/types/sap.ui.ux3.d.ts +1 -1
  49. package/types/sap.ui.vbm.d.ts +1 -3
  50. package/types/sap.ui.vk.d.ts +24 -20
  51. package/types/sap.ui.vtm.d.ts +1 -1
  52. package/types/sap.uiext.inbox.d.ts +1 -1
  53. package/types/sap.ushell.d.ts +54 -75
  54. package/types/sap.ushell_abap.d.ts +1 -1
  55. package/types/sap.uxap.d.ts +1 -1
  56. package/types/sap.viz.d.ts +1 -1
  57. package/types/sap.webanalytics.core.d.ts +1 -1
  58. package/types/sap.zen.commons.d.ts +1 -1
  59. package/types/sap.zen.crosstab.d.ts +1 -1
  60. package/types/sap.zen.dsh.d.ts +1 -5
  61. package/types/sap.fe.placeholder.d.ts +0 -3
  62. package/types/sap.fe.plugins.d.ts +0 -3
  63. package/types/sap.fe.semantics.d.ts +0 -3
  64. package/types/sap.fe.tools.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.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 container for the given platform. This method must be called exactly once
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
- * For convenience, platform-specific bootstrap code is available and can be easily included (**before**
31
- * the SAPUI5 bootstrap) by a corporate shell as follows:
32
- * ```javascript
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
- * <script src="/sap/public/bc/ui5_ui5/resources/sap/ushell_abap/evo/bootstrap/abap.js"></script>
35
- * <script id="sap-ui-bootstrap" src=".../sap-ui-core.js"></script>
36
- * ```
37
- * This bootstrap code will automatically defer the initialization of SAPUI5 until the container is available.
38
- * This is the preferred way of bootstrapping the Unified Shell.
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
- * Note: For SAPUI5 application projects the recommended way is to add a dependency to the "sap.ushell_abap"
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
- * <script src=".../resources/sap/ushell_abap/bootstrap/evo/abap.js"></script>
46
- * <script id="sap-ui-bootstrap" src=".../sap-ui-core.js"></script>
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 "local" (Note: there is no fixed enumeration of possible platforms)
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
- * ```javascript
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.0) - use getLinks
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 string which can be put into the DOM (e.g. in a link tag) given an application specific hash
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: `hrefForAppSpecificHash("View1/details/0/")` returns `#SemanticObject-action&/View1/details/0/`
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 string which can be put into the DOM (e.g. in a link tag)
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
- * ```javascript
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
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.1
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.1
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.1
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.0
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.0
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.0
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.0
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
  */
@@ -1,3 +0,0 @@
1
- // For Library Version: 1.97.0
2
-
3
- declare namespace sap {}
@@ -1,3 +0,0 @@
1
- // For Library Version: 1.97.0
2
-
3
- declare namespace sap {}
@@ -1,3 +0,0 @@
1
- // For Library Version: 1.97.0
2
-
3
- declare namespace sap {}
@@ -1,3 +0,0 @@
1
- // For Library Version: 1.97.0
2
-
3
- declare namespace sap {}