@openui5/ts-types 1.124.8 → 1.124.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types",
3
- "version": "1.124.8",
3
+ "version": "1.124.9",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
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.8
282
+ // For Library Version: 1.124.9
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -53577,10 +53577,10 @@ declare namespace sap {
53577
53577
  */
53578
53578
  oContext: sap.ui.model.Context,
53579
53579
  /**
53580
- * Parameters, specifying the aggregation level for which contexts shall be fetched or (legacy signature
53581
- * variant) index of first child entry to return from the parent context (zero-based)
53580
+ * Parameters, specifying the aggregation level for which contexts shall be fetched or the index of the
53581
+ * first child entry to return from the parent contexts
53582
53582
  */
53583
- mParameters:
53583
+ mParameters?:
53584
53584
  | {
53585
53585
  /**
53586
53586
  * Level number for oContext, because it might occur at multiple levels; context with group ID `"/"` has
@@ -53692,7 +53692,7 @@ declare namespace sap {
53692
53692
  * value can be set to define the parameter `startIndex` as described in this parameter list. In this case,
53693
53693
  * the function parameters `iLength`, `iNumberOfExpandedLevels` and `iThreshold` become mandatory.
53694
53694
  */
53695
- mParameters:
53695
+ mParameters?:
53696
53696
  | {
53697
53697
  /**
53698
53698
  * Number of entries to return at and after the given start index; defaults to the model's size limit, see
@@ -75252,11 +75252,11 @@ declare namespace sap {
75252
75252
  */
75253
75253
  getCount(): number | undefined;
75254
75254
  /**
75255
- * Return node contexts for the tree
75255
+ * Return node contexts for the tree.
75256
75256
  *
75257
75257
  * @ui5-protected Do not call from applications (only from related classes in the framework)
75258
75258
  *
75259
- * @returns the contexts array
75259
+ * @returns the context's array
75260
75260
  */
75261
75261
  getNodeContexts(
75262
75262
  /**
@@ -75264,42 +75264,44 @@ declare namespace sap {
75264
75264
  */
75265
75265
  oContext: sap.ui.model.Context,
75266
75266
  /**
75267
- * the startIndex where to start the retrieval of contexts
75267
+ * the index from which to start the retrieval of contexts
75268
75268
  */
75269
- iStartIndex: int,
75269
+ iStartIndex?: int,
75270
75270
  /**
75271
- * determines how many contexts to retrieve beginning from the start index.
75271
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
75272
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
75272
75273
  */
75273
- iLength: int
75274
+ iLength?: int
75274
75275
  ): sap.ui.model.Context[];
75275
75276
  /**
75276
- * Return root contexts for the tree
75277
+ * Return root contexts for the tree.
75277
75278
  *
75278
75279
  * @ui5-protected Do not call from applications (only from related classes in the framework)
75279
75280
  *
75280
- * @returns the contexts array
75281
+ * @returns the context's array
75281
75282
  */
75282
75283
  getRootContexts(
75283
75284
  /**
75284
- * the startIndex where to start the retrieval of contexts
75285
+ * the index from which to start the retrieval of contexts
75285
75286
  */
75286
- iStartIndex: int,
75287
+ iStartIndex?: int,
75287
75288
  /**
75288
- * determines how many contexts to retrieve beginning from the start index.
75289
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
75290
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
75289
75291
  */
75290
- iLength: int
75291
- ): object[];
75292
+ iLength?: int
75293
+ ): sap.ui.model.Context[];
75292
75294
  /**
75293
75295
  * Returns if the node has child nodes.
75294
75296
  *
75295
75297
  *
75296
- * @returns true if node has children
75298
+ * @returns `true` if the node has children
75297
75299
  */
75298
75300
  hasChildren(
75299
75301
  /**
75300
75302
  * the context element of the node
75301
75303
  */
75302
- oContext: object
75304
+ oContext: sap.ui.model.Context
75303
75305
  ): boolean;
75304
75306
  /**
75305
75307
  * Sorts the contexts of this ClientTreeBinding. The tree will be sorted level by level. So the nodes are
@@ -78759,7 +78761,7 @@ declare namespace sap {
78759
78761
  /**
78760
78762
  * Context object for this binding (optional)
78761
78763
  */
78762
- oContext?: object,
78764
+ oContext?: sap.ui.model.Context,
78763
78765
  /**
78764
78766
  * The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter }
78765
78767
  * to replace them
@@ -78768,7 +78770,7 @@ declare namespace sap {
78768
78770
  /**
78769
78771
  * Additional model specific parameters (optional)
78770
78772
  */
78771
- mParameters?: string,
78773
+ mParameters?: object,
78772
78774
  /**
78773
78775
  * The sorters used initially; call {@link #sort} to replace them
78774
78776
  */
@@ -78860,7 +78862,7 @@ declare namespace sap {
78860
78862
  sFilterType?: sap.ui.model.FilterType
78861
78863
  ): void;
78862
78864
  /**
78863
- * Returns the number of child nodes of a specific context
78865
+ * Returns the number of child nodes of a specific context.
78864
78866
  *
78865
78867
  *
78866
78868
  * @returns the number of children
@@ -78869,7 +78871,7 @@ declare namespace sap {
78869
78871
  /**
78870
78872
  * the context element of the node
78871
78873
  */
78872
- oContext: Object
78874
+ oContext: sap.ui.model.Context
78873
78875
  ): int;
78874
78876
  /**
78875
78877
  * Returns the count of entries in the tree, or `undefined` if it is unknown. If the tree is filtered, the
@@ -78885,7 +78887,7 @@ declare namespace sap {
78885
78887
  */
78886
78888
  getCount(): number | undefined;
78887
78889
  /**
78888
- * Returns the current value of the bound target
78890
+ * Returns the current value of the bound target.
78889
78891
  *
78890
78892
  *
78891
78893
  * @returns the array of child contexts for the given node
@@ -78896,41 +78898,43 @@ declare namespace sap {
78896
78898
  */
78897
78899
  oContext: sap.ui.model.Context,
78898
78900
  /**
78899
- * the startIndex where to start the retrieval of contexts
78901
+ * the index from which to start the retrieval of contexts
78900
78902
  */
78901
- iStartIndex: int,
78903
+ iStartIndex?: int,
78902
78904
  /**
78903
- * determines how many contexts to retrieve beginning from the start index.
78905
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
78906
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
78904
78907
  */
78905
- iLength: int
78908
+ iLength?: int
78906
78909
  ): sap.ui.model.Context[];
78907
78910
  /**
78908
- * Returns the current value of the bound target
78911
+ * Returns the current value of the bound target.
78909
78912
  *
78910
78913
  *
78911
78914
  * @returns the array of child contexts for the root node
78912
78915
  */
78913
78916
  getRootContexts(
78914
78917
  /**
78915
- * the startIndex where to start the retrieval of contexts
78918
+ * the index from which to start the retrieval of contexts
78916
78919
  */
78917
- iStartIndex: int,
78920
+ iStartIndex?: int,
78918
78921
  /**
78919
- * determines how many contexts to retrieve beginning from the start index.
78922
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
78923
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
78920
78924
  */
78921
- iLength: int
78922
- ): any[];
78925
+ iLength?: int
78926
+ ): sap.ui.model.Context[];
78923
78927
  /**
78924
- * Returns if the node has child nodes
78928
+ * Returns `true` if the node has child nodes.
78925
78929
  *
78926
78930
  *
78927
- * @returns true if node has children
78931
+ * @returns `true` if the node has children
78928
78932
  */
78929
78933
  hasChildren(
78930
78934
  /**
78931
78935
  * the context element of the node
78932
78936
  */
78933
- oContext: Object
78937
+ oContext: sap.ui.model.Context
78934
78938
  ): boolean;
78935
78939
  /**
78936
78940
  * Sorts the tree according to the sorter definitions.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -623,7 +623,9 @@ declare module "sap/ui/mdc/DefaultTypeMap" {
623
623
  /**
624
624
  * Generic {@link module:sap/ui/mdc/util/TypeMap TypeMap} configuration for simple use cases.
625
625
  *
626
- * **Note:** This {@link module:sap/ui/mdc/util/TypeMap TypeMap} implementation contains the following types:
626
+ * **Note:** The modules of all data types registered in a `TypeMap` must be loaded in advance.
627
+ * **Note:** This {@link module:sap/ui/mdc/util/TypeMap TypeMap} implementation contains the following
628
+ * types:
627
629
  *
628
630
  *
629
631
  * - {@link sap.ui.model.type.Boolean} (alias `Boolean`)
@@ -1569,7 +1571,8 @@ declare module "sap/ui/mdc/odata/TypeMap" {
1569
1571
  /**
1570
1572
  * OData-specific {@link module:sap/ui/mdc/util/TypeMap TypeMap} configuration.
1571
1573
  *
1572
- * **Note:** This `TypeMap` implementation contains the following types:
1574
+ * **Note:** The modules of all data types registered in a `TypeMap` must be loaded in advance.
1575
+ * **Note:** This `TypeMap` implementation contains the following types:
1573
1576
  *
1574
1577
  *
1575
1578
  * - {@link sap.ui.model.type.Boolean} (alias `Boolean`)
@@ -1755,7 +1758,8 @@ declare module "sap/ui/mdc/odata/v4/TypeMap" {
1755
1758
  /**
1756
1759
  * ODataV4-specific {@link module:sap/ui/mdc/util/TypeMap TypeMap} configuration.
1757
1760
  *
1758
- * **Note:** This `TypeMap` implementation contains the following types including ODataV4-specific configuration:
1761
+ * **Note:** The modules of all data types registered in a `TypeMap` must be loaded in advance.
1762
+ * **Note:** This `TypeMap` implementation contains the following types including ODataV4-specific configuration:
1759
1763
  *
1760
1764
  *
1761
1765
  * - {@link sap.ui.model.type.Boolean} (alias `Boolean`)
@@ -2065,6 +2069,8 @@ declare module "sap/ui/mdc/util/TypeMap" {
2065
2069
  * Configuration class for type handling in delegates. Allows mapping of model types to {@link sap.ui.mdc.enums.BaseType }
2066
2070
  * and enables model-specific type configuration.
2067
2071
  *
2072
+ * **Note:** The modules of all data types registered in a `TypeMap` must be loaded in advance.
2073
+ *
2068
2074
  * @since 1.114.0
2069
2075
  */
2070
2076
  interface TypeMap {
@@ -2148,8 +2154,6 @@ declare module "sap/ui/mdc/util/TypeMap" {
2148
2154
  /**
2149
2155
  * Gets a data type class based on a given name.
2150
2156
  *
2151
- * **Note:** The module of the data type needs to be loaded before.
2152
- *
2153
2157
  *
2154
2158
  * @returns Corresponding data type class
2155
2159
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.8
1
+ // For Library Version: 1.124.9
2
2
 
3
3
  declare namespace sap {
4
4
  /**