@sapui5/ts-types 1.124.2 → 1.124.5

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 (57) hide show
  1. package/package.json +1 -1
  2. package/types/{sap.ui.commons.d.ts → commons-1.124.3-d.ts} +1 -1
  3. package/types/{core-1.124.0-d.ts → core-1.124.3-d.ts} +96 -34
  4. package/types/{sap.ui.dt.d.ts → dt-1.124.3-d.ts} +1 -1
  5. package/types/index.d.ts +7 -7
  6. package/types/{mobile-1.124.0-d.ts → mobile-1.124.3-d.ts} +176 -27
  7. package/types/sap.chart.d.ts +1 -1
  8. package/types/sap.esh.search.ui.d.ts +1 -1
  9. package/types/sap.f.d.ts +46 -1
  10. package/types/sap.fe.core.d.ts +3 -3
  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.placeholder.d.ts +1 -1
  14. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  15. package/types/sap.fe.templates.d.ts +1 -1
  16. package/types/sap.fe.test.d.ts +1 -1
  17. package/types/sap.fe.tools.d.ts +1 -1
  18. package/types/sap.gantt.d.ts +47 -7
  19. package/types/sap.insights.d.ts +1 -1
  20. package/types/sap.makit.d.ts +1 -1
  21. package/types/sap.me.d.ts +1 -1
  22. package/types/sap.ndc.d.ts +1 -1
  23. package/types/sap.ovp.d.ts +41 -24
  24. package/types/sap.sac.df.d.ts +1 -1
  25. package/types/sap.suite.ui.commons.d.ts +1 -1
  26. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  27. package/types/sap.suite.ui.microchart.d.ts +1 -1
  28. package/types/{tnt-1.124.1-d.ts → sap.tnt.d.ts} +1 -1
  29. package/types/sap.ui.codeeditor.d.ts +1 -1
  30. package/types/sap.ui.comp.d.ts +1 -1
  31. package/types/sap.ui.export.d.ts +1 -1
  32. package/types/sap.ui.fl.d.ts +1 -1
  33. package/types/sap.ui.generic.app.d.ts +1 -1
  34. package/types/sap.ui.generic.template.d.ts +1 -1
  35. package/types/sap.ui.integration.d.ts +1 -1
  36. package/types/sap.ui.layout.d.ts +1 -1
  37. package/types/{mdc-1.124.1-d.ts → sap.ui.mdc.d.ts} +23 -1
  38. package/types/sap.ui.richtexteditor.d.ts +1 -1
  39. package/types/sap.ui.rta.d.ts +1 -1
  40. package/types/sap.ui.suite.d.ts +1 -1
  41. package/types/sap.ui.support.d.ts +1 -1
  42. package/types/sap.ui.table.d.ts +1 -1
  43. package/types/sap.ui.testrecorder.d.ts +1 -1
  44. package/types/sap.ui.unified.d.ts +1 -1
  45. package/types/sap.ui.vk.d.ts +1 -1
  46. package/types/sap.ui.webc.common.d.ts +1 -1
  47. package/types/sap.ui.webc.fiori.d.ts +1 -1
  48. package/types/sap.ui.webc.main.d.ts +1 -1
  49. package/types/sap.uiext.inbox.d.ts +1 -1
  50. package/types/sap.ushell.d.ts +14 -2
  51. package/types/sap.ushell_abap.d.ts +1 -1
  52. package/types/sap.uxap.d.ts +46 -1
  53. package/types/sap.viz.d.ts +1 -1
  54. package/types/sap.zen.commons.d.ts +1 -1
  55. package/types/sap.zen.crosstab.d.ts +1 -1
  56. package/types/sap.zen.dsh.d.ts +1 -1
  57. package/types/{sap.ui.ux3.d.ts → ux3-1.124.3-d.ts} +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types",
3
- "version": "1.124.2",
3
+ "version": "1.124.5",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -279,7 +279,7 @@ declare namespace sap {
279
279
  "sap/ui/thirdparty/qunit-2": undefined;
280
280
  }
281
281
  }
282
- // For Library Version: 1.124.0
282
+ // For Library Version: 1.124.3
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -20980,14 +20980,64 @@ declare namespace sap {
20980
20980
  * **Note:** This static method is automatically propagated to subclasses of `ControllerExtension`.
20981
20981
  *
20982
20982
  *
20983
- * @returns A controller extension class
20983
+ * @returns The adapted controller extension class
20984
20984
  */
20985
- static override(
20985
+ static override<
20986
+ TheExtension extends new () => ControllerExtension,
20987
+ AddtlProps extends object,
20988
+ >(
20989
+ this: TheExtension,
20986
20990
  /**
20987
20991
  * The custom extension definition
20988
20992
  */
20989
- oExtension: Record<string, Function>
20990
- ): Function;
20993
+ customExtension: AddtlProps
20994
+ ): new () => InstanceType<TheExtension> & AddtlProps;
20995
+ /**
20996
+ * A marker method for applying controller extensions to controller class members in TypeScript code.
20997
+ * This method is only used to make TypeScript usage compatible to the UI5 runtime behavior, where an extension
20998
+ * *class* is assigned when the controller is defined, but each controller instance gets an *instance* of
20999
+ * this extension. This method call is removed in the class transformer when the ES class is transformed
21000
+ * to the traditional UI5 class definition syntax.
21001
+ *
21002
+ * To allow for proper removal, it may only be called directly on the base class `ControllerExtension`,
21003
+ * at the place where a controller extension is assigned to a member property of the new controller class.
21004
+ * The class transformation then removes this call. If it is not removed because it is used in any other
21005
+ * way, then it throws an error at runtime.
21006
+ *
21007
+ * Usage example:
21008
+ * ```javascript
21009
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
21010
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
21011
+ * ...
21012
+ * export default class App extends Controller {
21013
+ * routing = ControllerExtension.use(Routing);
21014
+ * ```
21015
+ *
21016
+ * Usage example with overriding extension callbacks:
21017
+ * ```javascript
21018
+ * import Routing from "sap/fe/core/controllerextensions/Routing";
21019
+ * import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
21020
+ * ...
21021
+ * export default class App extends Controller {
21022
+ * routing = ControllerExtension.use(Routing.override({
21023
+ * ...
21024
+ * }));
21025
+ * ```
21026
+ *
21027
+ *
21028
+ *
21029
+ * @returns An instance of the given `ControllerExtension`. **NOTE:** this is only a dummy return type for
21030
+ * proper usage in TypeScript. This method does not actually return an instance of `ControllerExtension`,
21031
+ * but only throws an error at runtime. The sole purpose of this method is to mimic the actual runtime behavior
21032
+ * where a *class* is given when a controller is defined, but an *instance* is present in each controller
21033
+ * instance.
21034
+ */
21035
+ static use<TheExtension extends sap.ui.core.mvc.ControllerExtension>(
21036
+ /**
21037
+ * The ControllerExtension to use
21038
+ */
21039
+ extensionClass: new () => TheExtension
21040
+ ): TheExtension;
20991
21041
  /**
20992
21042
  * Returns an Element of the connected view with the given local ID.
20993
21043
  *
@@ -27581,7 +27631,7 @@ declare namespace sap {
27581
27631
  /**
27582
27632
  * Describes the settings that can be provided to the OpenSearchProvider constructor.
27583
27633
  *
27584
- * @deprecated (since 1.120)
27634
+ * @deprecated (since 1.120) - There is no API replacement.
27585
27635
  */
27586
27636
  interface $OpenSearchProviderSettings
27587
27637
  extends sap.ui.core.search.$SearchProviderSettings {
@@ -27603,7 +27653,7 @@ declare namespace sap {
27603
27653
  /**
27604
27654
  * Describes the settings that can be provided to the SearchProvider constructor.
27605
27655
  *
27606
- * @deprecated (since 1.120)
27656
+ * @deprecated (since 1.120) - There is no API replacement.
27607
27657
  */
27608
27658
  interface $SearchProviderSettings extends sap.ui.core.$ElementSettings {
27609
27659
  /**
@@ -27615,7 +27665,7 @@ declare namespace sap {
27615
27665
  /**
27616
27666
  * A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
27617
27667
  *
27618
- * @deprecated (since 1.120)
27668
+ * @deprecated (since 1.120) - There is no API replacement.
27619
27669
  */
27620
27670
  class OpenSearchProvider extends sap.ui.core.search.SearchProvider {
27621
27671
  /**
@@ -27760,7 +27810,7 @@ declare namespace sap {
27760
27810
  *
27761
27811
  * Do not create instances of this class, but use a concrete subclass instead.
27762
27812
  *
27763
- * @deprecated (since 1.120)
27813
+ * @deprecated (since 1.120) - There is no API replacement.
27764
27814
  */
27765
27815
  abstract class SearchProvider extends sap.ui.core.Element {
27766
27816
  /**
@@ -28148,7 +28198,8 @@ declare namespace sap {
28148
28198
  /**
28149
28199
  * Describes the settings that can be provided to the DOMAttribute constructor.
28150
28200
  *
28151
- * @deprecated (since 1.56)
28201
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
28202
+ * instead.
28152
28203
  */
28153
28204
  interface $DOMAttributeSettings extends sap.ui.core.$ElementSettings {
28154
28205
  /**
@@ -28165,7 +28216,8 @@ declare namespace sap {
28165
28216
  /**
28166
28217
  * Describes the settings that can be provided to the DOMElement constructor.
28167
28218
  *
28168
- * @deprecated (since 1.56)
28219
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
28220
+ * instead.
28169
28221
  */
28170
28222
  interface $DOMElementSettings extends sap.ui.core.$ControlSettings {
28171
28223
  /**
@@ -28200,7 +28252,8 @@ declare namespace sap {
28200
28252
  /**
28201
28253
  * Describes the settings that can be provided to the HandlebarsTemplate constructor.
28202
28254
  *
28203
- * @deprecated (since 1.56)
28255
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
28256
+ * instead.
28204
28257
  */
28205
28258
  interface $HandlebarsTemplateSettings
28206
28259
  extends sap.ui.core.tmpl.$TemplateSettings {}
@@ -28221,7 +28274,8 @@ declare namespace sap {
28221
28274
  /**
28222
28275
  * Describes the settings that can be provided to the TemplateControl constructor.
28223
28276
  *
28224
- * @deprecated (since 1.56)
28277
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
28278
+ * instead.
28225
28279
  */
28226
28280
  interface $TemplateControlSettings
28227
28281
  extends sap.ui.core.$ControlSettings {
@@ -28265,7 +28319,8 @@ declare namespace sap {
28265
28319
  * Represents a DOM attribute of a DOM element.
28266
28320
  *
28267
28321
  * @since 1.15
28268
- * @deprecated (since 1.56)
28322
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
28323
+ * instead.
28269
28324
  */
28270
28325
  class DOMAttribute extends sap.ui.core.Element {
28271
28326
  /**
@@ -28385,7 +28440,8 @@ declare namespace sap {
28385
28440
  * Represents a DOM element. It allows to use databinding for the properties and nested DOM attributes.
28386
28441
  *
28387
28442
  * @since 1.15
28388
- * @deprecated (since 1.56)
28443
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
28444
+ * instead.
28389
28445
  */
28390
28446
  class DOMElement extends sap.ui.core.Control {
28391
28447
  /**
@@ -28693,7 +28749,8 @@ declare namespace sap {
28693
28749
  * The class for Handlebars Templates.
28694
28750
  *
28695
28751
  * @since 1.15
28696
- * @deprecated (since 1.56)
28752
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
28753
+ * instead.
28697
28754
  */
28698
28755
  abstract class HandlebarsTemplate extends sap.ui.core.tmpl.Template {
28699
28756
  /**
@@ -29032,7 +29089,8 @@ declare namespace sap {
29032
29089
  * This is the base class for all template controls. Template controls are declared based on templates.
29033
29090
  *
29034
29091
  * @since 1.15
29035
- * @deprecated (since 1.56)
29092
+ * @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
29093
+ * instead.
29036
29094
  */
29037
29095
  class TemplateControl extends sap.ui.core.Control {
29038
29096
  /**
@@ -29484,7 +29542,7 @@ declare namespace sap {
29484
29542
  *
29485
29543
  * @since 1.107
29486
29544
  * @deprecated (since 1.120) - without a replacement. Applications should not be interested in the set of
29487
- * all `UIArea`s. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
29545
+ * `UIArea`s. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
29488
29546
  * or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
29489
29547
  */
29490
29548
  interface registry {
@@ -29492,7 +29550,7 @@ declare namespace sap {
29492
29550
  * Number of existing UIAreas.
29493
29551
  *
29494
29552
  * @deprecated (since 1.120) - without a replacement. Applications should not be interested in the set of
29495
- * all `UIArea`s. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
29553
+ * `UIArea`s. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
29496
29554
  * or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
29497
29555
  */
29498
29556
  size: int;
@@ -29596,8 +29654,8 @@ declare namespace sap {
29596
29654
  * When the ID is `null` or `undefined` or when there's no UIArea with the given ID, then `undefined` is
29597
29655
  * returned.
29598
29656
  *
29599
- * @deprecated (since 1.120) - without a replacement. Applications should not be interested in the set of
29600
- * all `UIArea`s. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
29657
+ * @deprecated (since 1.120) - without a replacement. Applications should not be interested in a certain
29658
+ * `UIArea`. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
29601
29659
  * or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
29602
29660
  *
29603
29661
  * @returns UIArea with the given ID or `undefined`
@@ -31321,7 +31379,7 @@ declare namespace sap {
31321
31379
  /**
31322
31380
  * Class to mock http requests made to a remote server supporting the OData V2 REST protocol.
31323
31381
  */
31324
- abstract class MockServer extends sap.ui.base.ManagedObject {
31382
+ class MockServer extends sap.ui.base.ManagedObject {
31325
31383
  /**
31326
31384
  * Creates a mocked server. This helps to mock some back-end calls, e.g. for OData V2/JSON Models or simple
31327
31385
  * XHR calls, without changing the application code. This class can also be used for qunit tests.
@@ -48871,7 +48929,7 @@ declare namespace sap {
48871
48929
  * The node must have an ID that will be used as ID for this instance of `UIArea`.
48872
48930
  *
48873
48931
  * @deprecated (since 1.107) - without a replacement. Applications should not create or modify `UIArea`s
48874
- * programmatically. THey should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
48932
+ * programmatically. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
48875
48933
  * or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
48876
48934
  */
48877
48935
  setRootNode(
@@ -54098,9 +54156,13 @@ declare namespace sap {
54098
54156
  oContext?: sap.ui.model.Context
54099
54157
  ): any | null | undefined;
54100
54158
  /**
54101
- * Load JSON-encoded data from the server using a GET HTTP request and store the resulting JSON data in
54102
- * the model. Note: Due to browser security restrictions, most "Ajax" requests are subject to the same origin
54103
- * policy, the request can not successfully retrieve data from a different domain, subdomain, or protocol.
54159
+ * Loads JSON-encoded data from the server and stores the resulting JSON data in the model. Note: Due to
54160
+ * browser security restrictions, most "Ajax" requests are subject to the same origin policy, the request
54161
+ * can not successfully retrieve data from a different domain, subdomain, or protocol.
54162
+ *
54163
+ * Note: To send a JSON object in the body of a "POST" request to load the model data, `oParameters` has
54164
+ * to be the JSON-stringified value of the object to be sent, and `mHeaders` has to contain a `"Content-Type"`
54165
+ * property with the value `"application/json;charset=utf-8"`.
54104
54166
  *
54105
54167
  *
54106
54168
  * @returns in case bAsync is set to true a Promise is returned; this promise resolves/rejects based on
@@ -54108,15 +54170,16 @@ declare namespace sap {
54108
54170
  */
54109
54171
  loadData(
54110
54172
  /**
54111
- * A string containing the URL to which the request is sent.
54173
+ * A string containing the URL to which the request is sent
54112
54174
  */
54113
54175
  sURL: string,
54114
54176
  /**
54115
- * A map or string that is sent to the server with the request. If the value of this parameter is a string,
54116
- * it must already be url-encoded. If the value of this parameter is an object (map), it is converted to
54117
- * a string and then url-encoded. The resulting string is appended to the URL if the HTTP request method
54118
- * cannot have a request body, e.g. for a GET request. Otherwise, the resulting string is added to the request
54119
- * body.
54177
+ * The data to be sent to the server with the data-loading request. If `oParameters` is a string, it has
54178
+ * to be encoded based on the used content type. The default encoding is `'application/x-www-form-urlencoded;
54179
+ * charset=UTF-8'` but it may be overwritten via the `"Content-Type"` property given in `mHeaders`. If `oParameters`
54180
+ * is an object, a string is generated and the keys and values are URL-encoded. The resulting string is
54181
+ * appended to the URL if the HTTP request method cannot have a request body, e.g. for a "GET" request.
54182
+ * Otherwise, the resulting string is added to the request body.
54120
54183
  */
54121
54184
  oParameters?: object | string,
54122
54185
  /**
@@ -54126,8 +54189,7 @@ declare namespace sap {
54126
54189
  */
54127
54190
  bAsync?: boolean,
54128
54191
  /**
54129
- * The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such
54130
- * as PUT and DELETE, can also be used here, but they are not supported by all browsers.
54192
+ * The HTTP verb to use for the request ("GET" or "POST")
54131
54193
  */
54132
54194
  sType?: string,
54133
54195
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.2
1
+ // For Library Version: 1.124.3
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
package/types/index.d.ts CHANGED
@@ -17,10 +17,10 @@
17
17
  /// <reference path="./sap.zen.dsh.d.ts"/>
18
18
  /// <reference path="./sap.zen.commons.d.ts"/>
19
19
  /// <reference path="./sap.sac.df.d.ts"/>
20
- /// <reference path="./sap.ui.commons.d.ts"/>
20
+ /// <reference path="./commons-1.124.3-d.ts"/>
21
21
  /// <reference path="./sap.ui.comp.d.ts"/>
22
- /// <reference path="./core-1.124.0-d.ts"/>
23
- /// <reference path="./sap.ui.dt.d.ts"/>
22
+ /// <reference path="./core-1.124.3-d.ts"/>
23
+ /// <reference path="./dt-1.124.3-d.ts"/>
24
24
  /// <reference path="./sap.ui.export.d.ts"/>
25
25
  /// <reference path="./sap.f.d.ts"/>
26
26
  /// <reference path="./sap.ui.fl.d.ts"/>
@@ -32,8 +32,8 @@
32
32
  /// <reference path="./sap.ui.integration.d.ts"/>
33
33
  /// <reference path="./sap.ui.layout.d.ts"/>
34
34
  /// <reference path="./sap.makit.d.ts"/>
35
- /// <reference path="./mdc-1.124.1-d.ts"/>
36
- /// <reference path="./mobile-1.124.0-d.ts"/>
35
+ /// <reference path="./sap.ui.mdc.d.ts"/>
36
+ /// <reference path="./mobile-1.124.3-d.ts"/>
37
37
  /// <reference path="./sap.me.d.ts"/>
38
38
  /// <reference path="./sap.ndc.d.ts"/>
39
39
  /// <reference path="./sap.ovp.d.ts"/>
@@ -60,12 +60,12 @@
60
60
  /// <reference path="./sap.ui.support.d.ts"/>
61
61
  /// <reference path="./sap.ui.table.d.ts"/>
62
62
  /// <reference path="./sap.ui.testrecorder.d.ts"/>
63
- /// <reference path="./tnt-1.124.1-d.ts"/>
63
+ /// <reference path="./sap.tnt.d.ts"/>
64
64
  /// <reference path="./sap.ca.ui.d.ts"/>
65
65
  /// <reference path="./sap.ui.unified.d.ts"/>
66
66
  /// <reference path="./sap.ushell.d.ts"/>
67
67
  /// <reference path="./sap.ushell_abap.d.ts"/>
68
- /// <reference path="./sap.ui.ux3.d.ts"/>
68
+ /// <reference path="./ux3-1.124.3-d.ts"/>
69
69
  /// <reference path="./sap.uxap.d.ts"/>
70
70
  /// <reference path="./sap.ui.vbm.d.ts"/>
71
71
  /// <reference path="./sap.viz.d.ts"/>