@openui5/ts-types-esm 1.102.2 → 1.104.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/sap.f.d.ts +318 -24
- package/types/sap.m.d.ts +2471 -364
- package/types/sap.tnt.d.ts +5 -5
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +36 -36
- package/types/sap.ui.core.d.ts +390 -113
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +107 -66
- package/types/sap.ui.integration.d.ts +48 -67
- package/types/sap.ui.layout.d.ts +33 -41
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +3 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +9 -9
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +115 -35
- package/types/sap.ui.ux3.d.ts +43 -43
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +30 -30
- package/types/sap.ui.webc.main.d.ts +49 -49
- package/types/sap.uxap.d.ts +13 -13
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
264
264
|
): jQuery;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
// For Library Version: 1.
|
|
267
|
+
// For Library Version: 1.104.0
|
|
268
268
|
|
|
269
269
|
declare module "sap/base/assert" {
|
|
270
270
|
/**
|
|
@@ -3831,7 +3831,7 @@ declare module "sap/ui/util/Storage" {
|
|
|
3831
3831
|
/**
|
|
3832
3832
|
* Retrieves data item for a specific key.
|
|
3833
3833
|
*
|
|
3834
|
-
* @returns
|
|
3834
|
+
* @returns key's value or `null`
|
|
3835
3835
|
*/
|
|
3836
3836
|
get(
|
|
3837
3837
|
/**
|
|
@@ -6437,7 +6437,7 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
6437
6437
|
* Applications or frameworks must not use this method to generically read the content of an aggregation.
|
|
6438
6438
|
* Use the concrete method getXYZ for aggregation 'XYZ' instead.
|
|
6439
6439
|
*
|
|
6440
|
-
* @returns Aggregation array in case of 0..n-aggregations or the managed object or null in case of 0..1-aggregations
|
|
6440
|
+
* @returns Aggregation array in case of 0..n-aggregations or the managed object or `null` in case of 0..1-aggregations
|
|
6441
6441
|
*/
|
|
6442
6442
|
getAggregation(
|
|
6443
6443
|
/**
|
|
@@ -6446,7 +6446,7 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
6446
6446
|
sAggregationName: string,
|
|
6447
6447
|
/**
|
|
6448
6448
|
* Object that is used in case the current aggregation is empty. If provided, it must be null for 0..1 aggregations
|
|
6449
|
-
* or an empty array for 0..n aggregations. If not provided, null is used.
|
|
6449
|
+
* or an empty array for 0..n aggregations. If not provided, `null` is used.
|
|
6450
6450
|
*
|
|
6451
6451
|
* **Note:** When an empty array is given and used because the aggregation was not set before, then this
|
|
6452
6452
|
* array will be used for the aggregation from thereon. Sharing the same empty array between different calls
|
|
@@ -6622,14 +6622,16 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
6622
6622
|
* information is not active by default and must be activated by configuration. Even then, it might not
|
|
6623
6623
|
* be present for all properties and their values depending on where the value came form.
|
|
6624
6624
|
*
|
|
6625
|
-
*
|
|
6625
|
+
* If no origin info is available, `null` will be returned.
|
|
6626
|
+
*
|
|
6627
|
+
* @returns An object describing the origin of this property's value or `null`
|
|
6626
6628
|
*/
|
|
6627
6629
|
getOriginInfo(
|
|
6628
6630
|
/**
|
|
6629
|
-
*
|
|
6631
|
+
* Name of the property
|
|
6630
6632
|
*/
|
|
6631
6633
|
sPropertyName: string
|
|
6632
|
-
): object;
|
|
6634
|
+
): object | null;
|
|
6633
6635
|
/**
|
|
6634
6636
|
* @SINCE 1.88.0
|
|
6635
6637
|
*
|
|
@@ -6887,7 +6889,7 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
6887
6889
|
*
|
|
6888
6890
|
* If the given object is found in the aggregation, it is removed, it's parent relationship is unset and
|
|
6889
6891
|
* this ManagedObject is marked as changed. The removed object is returned as result of this method. If
|
|
6890
|
-
* the object could not be found, `
|
|
6892
|
+
* the object could not be found, `null` is returned.
|
|
6891
6893
|
*
|
|
6892
6894
|
* This method must only be called for aggregations of cardinality 0..n. The only way to remove objects
|
|
6893
6895
|
* from a 0..1 aggregation is to set a `null` value for them.
|
|
@@ -6896,7 +6898,7 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
6896
6898
|
* Applications or frameworks must not use this method to generically remove an object from an aggregation.
|
|
6897
6899
|
* Use the concrete method removeXYZ for aggregation 'XYZ' instead.
|
|
6898
6900
|
*
|
|
6899
|
-
* @returns the removed object or null
|
|
6901
|
+
* @returns the removed object or `null`
|
|
6900
6902
|
*/
|
|
6901
6903
|
removeAggregation(
|
|
6902
6904
|
/**
|
|
@@ -6913,7 +6915,7 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
6913
6915
|
* if true, this ManagedObject is not marked as changed
|
|
6914
6916
|
*/
|
|
6915
6917
|
bSuppressInvalidate?: boolean
|
|
6916
|
-
): ManagedObject;
|
|
6918
|
+
): ManagedObject | null;
|
|
6917
6919
|
/**
|
|
6918
6920
|
* Removes all objects from the 0..n-aggregation named `sAggregationName`.
|
|
6919
6921
|
*
|
|
@@ -7943,14 +7945,14 @@ declare module "sap/ui/base/ManagedObjectMetadata" {
|
|
|
7943
7945
|
* not part of the API. See the {@link #constructor Notes about Info objects} in the constructor documentation
|
|
7944
7946
|
* of this class.
|
|
7945
7947
|
*
|
|
7946
|
-
* @returns aggregation info object or undefined
|
|
7948
|
+
* @returns aggregation info object or `undefined`
|
|
7947
7949
|
*/
|
|
7948
7950
|
getManagedAggregation(
|
|
7949
7951
|
/**
|
|
7950
7952
|
* name of the aggregation to be retrieved or empty
|
|
7951
7953
|
*/
|
|
7952
7954
|
sAggregationName: string
|
|
7953
|
-
): object;
|
|
7955
|
+
): object | undefined;
|
|
7954
7956
|
/**
|
|
7955
7957
|
* Returns the info object for the named public or private association declared by the described class or
|
|
7956
7958
|
* by any of its ancestors.
|
|
@@ -7959,14 +7961,14 @@ declare module "sap/ui/base/ManagedObjectMetadata" {
|
|
|
7959
7961
|
* not part of the API. See the {@link #constructor Notes about Info objects} in the constructor documentation
|
|
7960
7962
|
* of this class.
|
|
7961
7963
|
*
|
|
7962
|
-
* @returns association info object or undefined
|
|
7964
|
+
* @returns association info object or `undefined`
|
|
7963
7965
|
*/
|
|
7964
7966
|
getManagedAssociation(
|
|
7965
7967
|
/**
|
|
7966
7968
|
* name of the association to be retrieved
|
|
7967
7969
|
*/
|
|
7968
7970
|
sName: string
|
|
7969
|
-
): object;
|
|
7971
|
+
): object | undefined;
|
|
7970
7972
|
/**
|
|
7971
7973
|
* Returns the info object for the named public or private property declared by the described class or by
|
|
7972
7974
|
* any of its ancestors.
|
|
@@ -7978,14 +7980,14 @@ declare module "sap/ui/base/ManagedObjectMetadata" {
|
|
|
7978
7980
|
* not part of the API. See the {@link #constructor Notes about Info objects} in the constructor documentation
|
|
7979
7981
|
* of this class.
|
|
7980
7982
|
*
|
|
7981
|
-
* @returns property info object or undefined
|
|
7983
|
+
* @returns property info object or `undefined`
|
|
7982
7984
|
*/
|
|
7983
7985
|
getManagedProperty(
|
|
7984
7986
|
/**
|
|
7985
7987
|
* name of the property to be retrieved or empty
|
|
7986
7988
|
*/
|
|
7987
7989
|
sName: string
|
|
7988
|
-
): object;
|
|
7990
|
+
): object | undefined;
|
|
7989
7991
|
/**
|
|
7990
7992
|
* Returns a map of info objects for the public properties of the described class. Properties declared by
|
|
7991
7993
|
* ancestor classes are not included.
|
|
@@ -12878,13 +12880,15 @@ declare module "sap/ui/core/Configuration" {
|
|
|
12878
12880
|
* } `
|
|
12879
12881
|
* See:
|
|
12880
12882
|
* sap.ui.core.Configuration.FormatSettings#setCustomCurrencies
|
|
12883
|
+
*
|
|
12884
|
+
* @returns Returns `this` to allow method chaining
|
|
12881
12885
|
*/
|
|
12882
12886
|
addCustomCurrencies(
|
|
12883
12887
|
/**
|
|
12884
12888
|
* adds to the currency map
|
|
12885
12889
|
*/
|
|
12886
12890
|
mCurrencies: object
|
|
12887
|
-
):
|
|
12891
|
+
): this;
|
|
12888
12892
|
/**
|
|
12889
12893
|
* Retrieves the custom currencies. E.g. ` { "KWD": {"digits": 3}, "TND" : {"digits": 3} } `
|
|
12890
12894
|
*
|
|
@@ -12917,20 +12921,51 @@ declare module "sap/ui/core/Configuration" {
|
|
|
12917
12921
|
getLegacyDateCalendarCustomizing(): object[];
|
|
12918
12922
|
/**
|
|
12919
12923
|
* Returns the currently set legacy ABAP date format (its id) or undefined if none has been set.
|
|
12920
|
-
|
|
12921
|
-
|
|
12924
|
+
*
|
|
12925
|
+
* @returns ID of the ABAP date format, if not set or set to `""`, `undefined` will be returned
|
|
12926
|
+
*/
|
|
12927
|
+
getLegacyDateFormat():
|
|
12928
|
+
| "1"
|
|
12929
|
+
| "2"
|
|
12930
|
+
| "3"
|
|
12931
|
+
| "4"
|
|
12932
|
+
| "5"
|
|
12933
|
+
| "6"
|
|
12934
|
+
| "7"
|
|
12935
|
+
| "8"
|
|
12936
|
+
| "9"
|
|
12937
|
+
| "A"
|
|
12938
|
+
| "B"
|
|
12939
|
+
| "C"
|
|
12940
|
+
| undefined;
|
|
12922
12941
|
/**
|
|
12923
12942
|
* Returns the currently set legacy ABAP number format (its id) or undefined if none has been set.
|
|
12943
|
+
*
|
|
12944
|
+
* @returns ID of the ABAP number format, if not set or set to `""`, `undefined` will be returned
|
|
12924
12945
|
*/
|
|
12925
|
-
getLegacyNumberFormat():
|
|
12946
|
+
getLegacyNumberFormat(): " " | "X" | "Y" | undefined;
|
|
12926
12947
|
/**
|
|
12927
12948
|
* Returns the currently set legacy ABAP time format (its id) or undefined if none has been set.
|
|
12949
|
+
*
|
|
12950
|
+
* @returns ID of the ABAP date format, if not set or set to `""`, `undefined` will be returned
|
|
12928
12951
|
*/
|
|
12929
|
-
getLegacyTimeFormat():
|
|
12952
|
+
getLegacyTimeFormat(): "0" | "1" | "2" | "3" | "4" | undefined;
|
|
12930
12953
|
/**
|
|
12931
12954
|
* Returns the currently set number symbol of the given type or undefined if no symbol has been defined.
|
|
12955
|
+
*
|
|
12956
|
+
* @returns A non-numerical symbol used as part of a number for the given type, e.g. for locale de_DE:
|
|
12957
|
+
*
|
|
12958
|
+
* - "group": "." (grouping separator)
|
|
12959
|
+
* - "decimal": "," (decimal separator)
|
|
12960
|
+
* - "plusSign": "+" (plus sign)
|
|
12961
|
+
* - "minusSign": "-" (minus sign)
|
|
12932
12962
|
*/
|
|
12933
|
-
getNumberSymbol(
|
|
12963
|
+
getNumberSymbol(
|
|
12964
|
+
/**
|
|
12965
|
+
* the type of symbol
|
|
12966
|
+
*/
|
|
12967
|
+
sType: "group" | "decimal" | "plusSign" | "minusSign"
|
|
12968
|
+
): string;
|
|
12934
12969
|
/**
|
|
12935
12970
|
* Returns the currently set time pattern or undefined if no pattern has been defined.
|
|
12936
12971
|
*/
|
|
@@ -12959,13 +12994,15 @@ declare module "sap/ui/core/Configuration" {
|
|
|
12959
12994
|
* Note: To unset the custom currencies: call with `undefined` Custom currencies must not only consist of
|
|
12960
12995
|
* digits but contain at least one non-digit character, e.g. "a", so that the measure part can be distinguished
|
|
12961
12996
|
* from the number part.
|
|
12997
|
+
*
|
|
12998
|
+
* @returns Returns `this` to allow method chaining
|
|
12962
12999
|
*/
|
|
12963
13000
|
setCustomCurrencies(
|
|
12964
13001
|
/**
|
|
12965
13002
|
* currency map which is set
|
|
12966
13003
|
*/
|
|
12967
13004
|
mCurrencies: object
|
|
12968
|
-
):
|
|
13005
|
+
): this;
|
|
12969
13006
|
/**
|
|
12970
13007
|
* Defines the preferred format pattern for the given date format style.
|
|
12971
13008
|
*
|
|
@@ -13049,9 +13086,23 @@ declare module "sap/ui/core/Configuration" {
|
|
|
13049
13086
|
*/
|
|
13050
13087
|
setLegacyDateFormat(
|
|
13051
13088
|
/**
|
|
13052
|
-
*
|
|
13053
|
-
|
|
13054
|
-
|
|
13089
|
+
* ID of the ABAP date format, `""` will reset the date patterns for 'short' and 'medium' style to the locale-specific
|
|
13090
|
+
* ones.
|
|
13091
|
+
*/
|
|
13092
|
+
sFormatId?:
|
|
13093
|
+
| ""
|
|
13094
|
+
| "1"
|
|
13095
|
+
| "2"
|
|
13096
|
+
| "3"
|
|
13097
|
+
| "4"
|
|
13098
|
+
| "5"
|
|
13099
|
+
| "6"
|
|
13100
|
+
| "7"
|
|
13101
|
+
| "8"
|
|
13102
|
+
| "9"
|
|
13103
|
+
| "A"
|
|
13104
|
+
| "B"
|
|
13105
|
+
| "C"
|
|
13055
13106
|
): this;
|
|
13056
13107
|
/**
|
|
13057
13108
|
* Allows to specify one of the legacy ABAP number format.
|
|
@@ -13066,9 +13117,10 @@ declare module "sap/ui/core/Configuration" {
|
|
|
13066
13117
|
*/
|
|
13067
13118
|
setLegacyNumberFormat(
|
|
13068
13119
|
/**
|
|
13069
|
-
*
|
|
13120
|
+
* ID of the ABAP number format set, `""` will reset the 'group' and 'decimal' symbols to the locale-specific
|
|
13121
|
+
* ones.
|
|
13070
13122
|
*/
|
|
13071
|
-
sFormatId
|
|
13123
|
+
sFormatId?: "" | " " | "X" | "Y"
|
|
13072
13124
|
): this;
|
|
13073
13125
|
/**
|
|
13074
13126
|
* Allows to specify one of the legacy ABAP time formats.
|
|
@@ -13084,9 +13136,10 @@ declare module "sap/ui/core/Configuration" {
|
|
|
13084
13136
|
*/
|
|
13085
13137
|
setLegacyTimeFormat(
|
|
13086
13138
|
/**
|
|
13087
|
-
*
|
|
13139
|
+
* ID of the ABAP time format, `""` will reset the time patterns for 'short' and 'medium' style and the
|
|
13140
|
+
* day period texts to the locale-specific ones.
|
|
13088
13141
|
*/
|
|
13089
|
-
sFormatId
|
|
13142
|
+
sFormatId?: "" | "0" | "1" | "2" | "3" | "4"
|
|
13090
13143
|
): this;
|
|
13091
13144
|
/**
|
|
13092
13145
|
* Defines the string to be used for the given number symbol.
|
|
@@ -13105,9 +13158,9 @@ declare module "sap/ui/core/Configuration" {
|
|
|
13105
13158
|
*/
|
|
13106
13159
|
setNumberSymbol(
|
|
13107
13160
|
/**
|
|
13108
|
-
*
|
|
13161
|
+
* the type of symbol
|
|
13109
13162
|
*/
|
|
13110
|
-
sType:
|
|
13163
|
+
sType: "group" | "decimal" | "plusSign" | "minusSign",
|
|
13111
13164
|
/**
|
|
13112
13165
|
* will be used to represent the given symbol type
|
|
13113
13166
|
*/
|
|
@@ -17102,7 +17155,7 @@ declare module "sap/ui/core/dnd/DragAndDrop" {
|
|
|
17102
17155
|
* The key of the data
|
|
17103
17156
|
*/
|
|
17104
17157
|
sKey: string
|
|
17105
|
-
): any;
|
|
17158
|
+
): any | undefined;
|
|
17106
17159
|
/**
|
|
17107
17160
|
* Returns the data that has been set via `setData` method.
|
|
17108
17161
|
*
|
|
@@ -18331,14 +18384,14 @@ declare module "sap/ui/core/Element" {
|
|
|
18331
18384
|
* dash) and the DOM node with that compound ID will be returned. This matches the UI5 naming convention
|
|
18332
18385
|
* for named inner DOM nodes of a control.
|
|
18333
18386
|
*
|
|
18334
|
-
* @returns The Element's DOM Element sub DOM Element or null
|
|
18387
|
+
* @returns The Element's DOM Element, sub DOM Element or `null`
|
|
18335
18388
|
*/
|
|
18336
18389
|
getDomRef(
|
|
18337
18390
|
/**
|
|
18338
18391
|
* ID suffix to get the DOMRef for
|
|
18339
18392
|
*/
|
|
18340
18393
|
sSuffix?: string
|
|
18341
|
-
): Element;
|
|
18394
|
+
): Element | null;
|
|
18342
18395
|
/**
|
|
18343
18396
|
* @SINCE 1.56
|
|
18344
18397
|
*
|
|
@@ -18367,13 +18420,13 @@ declare module "sap/ui/core/Element" {
|
|
|
18367
18420
|
sModelName?: string
|
|
18368
18421
|
): ContextBinding;
|
|
18369
18422
|
/**
|
|
18370
|
-
* Returns the DOM Element that should get the focus.
|
|
18423
|
+
* Returns the DOM Element that should get the focus or `null` if there's no such element currently.
|
|
18371
18424
|
*
|
|
18372
18425
|
* To be overwritten by the specific control method.
|
|
18373
18426
|
*
|
|
18374
|
-
* @returns Returns the DOM Element that should get the focus
|
|
18427
|
+
* @returns Returns the DOM Element that should get the focus or `null`
|
|
18375
18428
|
*/
|
|
18376
|
-
getFocusDomRef(): Element;
|
|
18429
|
+
getFocusDomRef(): Element | null;
|
|
18377
18430
|
/**
|
|
18378
18431
|
* Returns an object representing the serialized focus information.
|
|
18379
18432
|
*
|
|
@@ -18420,20 +18473,20 @@ declare module "sap/ui/core/Element" {
|
|
|
18420
18473
|
*/
|
|
18421
18474
|
getTooltip(): string | TooltipBase;
|
|
18422
18475
|
/**
|
|
18423
|
-
* Returns the tooltip for this element but only if it is a simple string. Otherwise
|
|
18424
|
-
* is returned.
|
|
18476
|
+
* Returns the tooltip for this element but only if it is a simple string. Otherwise, `undefined` is returned.
|
|
18425
18477
|
*
|
|
18426
|
-
* @returns string tooltip or undefined
|
|
18478
|
+
* @returns string tooltip or `undefined`
|
|
18427
18479
|
*/
|
|
18428
|
-
getTooltip_AsString(): string;
|
|
18480
|
+
getTooltip_AsString(): string | undefined;
|
|
18429
18481
|
/**
|
|
18430
|
-
* Returns the main text for the current tooltip or undefined if there is no such text.
|
|
18431
|
-
*
|
|
18432
|
-
* the object
|
|
18482
|
+
* Returns the main text for the current tooltip or `undefined` if there is no such text.
|
|
18483
|
+
*
|
|
18484
|
+
* If the tooltip is an object derived from `sap.ui.core.TooltipBase`, then the text property of that object
|
|
18485
|
+
* is returned. Otherwise the object itself is returned (either a string or `undefined` or `null`).
|
|
18433
18486
|
*
|
|
18434
|
-
* @returns
|
|
18487
|
+
* @returns Text of the current tooltip or `undefined` or `null`
|
|
18435
18488
|
*/
|
|
18436
|
-
getTooltip_Text(): string;
|
|
18489
|
+
getTooltip_Text(): string | undefined;
|
|
18437
18490
|
/**
|
|
18438
18491
|
* Checks for the provided `sap.ui.core.CustomData` in the aggregation {@link #getCustomData customData}.
|
|
18439
18492
|
* and returns its index if found or -1 otherwise.
|
|
@@ -18596,7 +18649,7 @@ declare module "sap/ui/core/Element" {
|
|
|
18596
18649
|
* The customData to remove or its index or id
|
|
18597
18650
|
*/
|
|
18598
18651
|
vCustomData: int | string | CustomData
|
|
18599
|
-
): CustomData;
|
|
18652
|
+
): CustomData | null;
|
|
18600
18653
|
/**
|
|
18601
18654
|
* @SINCE 1.19
|
|
18602
18655
|
*
|
|
@@ -18609,7 +18662,7 @@ declare module "sap/ui/core/Element" {
|
|
|
18609
18662
|
* The dependent to remove or its index or id
|
|
18610
18663
|
*/
|
|
18611
18664
|
vDependent: int | string | UI5Element
|
|
18612
|
-
): UI5Element;
|
|
18665
|
+
): UI5Element | null;
|
|
18613
18666
|
/**
|
|
18614
18667
|
* @SINCE 1.56
|
|
18615
18668
|
*
|
|
@@ -18622,7 +18675,7 @@ declare module "sap/ui/core/Element" {
|
|
|
18622
18675
|
* The dragDropConfig to remove or its index or id
|
|
18623
18676
|
*/
|
|
18624
18677
|
vDragDropConfig: int | string | DragDropBase
|
|
18625
|
-
): DragDropBase;
|
|
18678
|
+
): DragDropBase | null;
|
|
18626
18679
|
/**
|
|
18627
18680
|
* @SINCE 1.9.0
|
|
18628
18681
|
*
|
|
@@ -20159,12 +20212,135 @@ declare module "sap/ui/core/format/NumberFormat" {
|
|
|
20159
20212
|
* ```
|
|
20160
20213
|
*
|
|
20161
20214
|
*
|
|
20162
|
-
* # * @param {object} [oFormatOptions] The option object, which supports the following parameters. If no
|
|
20163
|
-
* options are given, default values according to the type and locale settings are used.
|
|
20164
|
-
*
|
|
20165
20215
|
* @returns float instance of the NumberFormat
|
|
20166
20216
|
*/
|
|
20167
20217
|
static getFloatInstance(
|
|
20218
|
+
/**
|
|
20219
|
+
* The option object, which supports the following parameters. If no options are given, default values according
|
|
20220
|
+
* to the type and locale settings are used.
|
|
20221
|
+
*/
|
|
20222
|
+
oFormatOptions?: {
|
|
20223
|
+
/**
|
|
20224
|
+
* defines the number of decimal digits
|
|
20225
|
+
*/
|
|
20226
|
+
decimals?: int;
|
|
20227
|
+
/**
|
|
20228
|
+
* defines the character used as decimal separator. Note: `decimalSeparator` must always be different from
|
|
20229
|
+
* `groupingSeparator`.
|
|
20230
|
+
*/
|
|
20231
|
+
decimalSeparator?: string;
|
|
20232
|
+
/**
|
|
20233
|
+
* @since 1.30.0 defines what an empty string is parsed as, and what is formatted as an empty string. The
|
|
20234
|
+
* allowed values are "" (empty string), NaN, `null`, or 0. The 'format' and 'parse' functions are done
|
|
20235
|
+
* in a symmetric way. For example, when this parameter is set to NaN, an empty string is parsed as NaN,
|
|
20236
|
+
* and NaN is formatted as an empty string.
|
|
20237
|
+
*/
|
|
20238
|
+
emptyString?: number;
|
|
20239
|
+
/**
|
|
20240
|
+
* defines the grouping base size in digits if it is different from the grouping size (e.g. Indian grouping)
|
|
20241
|
+
*/
|
|
20242
|
+
groupingBaseSize?: int;
|
|
20243
|
+
/**
|
|
20244
|
+
* defines whether grouping is enabled (grouping separators are shown)
|
|
20245
|
+
*/
|
|
20246
|
+
groupingEnabled?: boolean;
|
|
20247
|
+
/**
|
|
20248
|
+
* defines the character used as grouping separator. Note: `groupingSeparator` must always be different
|
|
20249
|
+
* from `decimalSeparator`.
|
|
20250
|
+
*/
|
|
20251
|
+
groupingSeparator?: string;
|
|
20252
|
+
/**
|
|
20253
|
+
* defines the grouping size in digits; the default is `3`. It must be a positive number.
|
|
20254
|
+
*/
|
|
20255
|
+
groupingSize?: int;
|
|
20256
|
+
/**
|
|
20257
|
+
* defines the maximum number of decimal digits
|
|
20258
|
+
*/
|
|
20259
|
+
maxFractionDigits?: int;
|
|
20260
|
+
/**
|
|
20261
|
+
* defines the maximum number of non-decimal digits. If the number exceeds this maximum, e.g. 1e+120, "?"
|
|
20262
|
+
* characters are shown instead of digits.
|
|
20263
|
+
*/
|
|
20264
|
+
maxIntegerDigits?: int;
|
|
20265
|
+
/**
|
|
20266
|
+
* defines the minimal number of decimal digits
|
|
20267
|
+
*/
|
|
20268
|
+
minFractionDigits?: int;
|
|
20269
|
+
/**
|
|
20270
|
+
* defines the minimal number of non-decimal digits
|
|
20271
|
+
*/
|
|
20272
|
+
minIntegerDigits?: int;
|
|
20273
|
+
/**
|
|
20274
|
+
* defines the used minus symbol
|
|
20275
|
+
*/
|
|
20276
|
+
minusSign?: string;
|
|
20277
|
+
/**
|
|
20278
|
+
* @since 1.28.2 defines whether to output the string from the parse function in order to keep the precision
|
|
20279
|
+
* for big numbers. Numbers in scientific notation are parsed back to standard notation. For example, "5e-3"
|
|
20280
|
+
* is parsed to "0.005".
|
|
20281
|
+
*/
|
|
20282
|
+
parseAsString?: boolean;
|
|
20283
|
+
/**
|
|
20284
|
+
* CLDR number pattern which is used to format the number
|
|
20285
|
+
*/
|
|
20286
|
+
pattern?: string;
|
|
20287
|
+
/**
|
|
20288
|
+
* defines the used plus symbol
|
|
20289
|
+
*/
|
|
20290
|
+
plusSign?: string;
|
|
20291
|
+
/**
|
|
20292
|
+
* defines the numerical precision; the number of decimals is calculated dependent on the integer digits
|
|
20293
|
+
*/
|
|
20294
|
+
precision?: int;
|
|
20295
|
+
/**
|
|
20296
|
+
* Whether {@link #format} preserves decimal digits except trailing zeros in case there are more decimals
|
|
20297
|
+
* than the `maxFractionDigits` format option allows. If decimals are not preserved, the formatted number
|
|
20298
|
+
* is rounded to `maxFractionDigits`.
|
|
20299
|
+
*/
|
|
20300
|
+
preserveDecimals?: boolean;
|
|
20301
|
+
/**
|
|
20302
|
+
* specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
|
|
20303
|
+
* maxFractionDigits. Rounding will only be applied if the passed value is of type `number`. This can be
|
|
20304
|
+
* assigned
|
|
20305
|
+
* - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
|
|
20306
|
+
* - via a function that is used for rounding the number and takes two parameters: the number itself,
|
|
20307
|
+
* and the number of decimal digits that should be reserved.
|
|
20308
|
+
*/
|
|
20309
|
+
roundingMode?: RoundingMode | keyof typeof RoundingMode;
|
|
20310
|
+
/**
|
|
20311
|
+
* defines the number of decimal in the shortened format string. If this isn't specified, the 'decimals'
|
|
20312
|
+
* options is used
|
|
20313
|
+
*/
|
|
20314
|
+
shortDecimals?: int;
|
|
20315
|
+
/**
|
|
20316
|
+
* only use short number formatting for values above this limit
|
|
20317
|
+
*/
|
|
20318
|
+
shortLimit?: int;
|
|
20319
|
+
/**
|
|
20320
|
+
* @since 1.40 specifies a number from which the scale factor for 'short' or 'long' style format is generated.
|
|
20321
|
+
* The generated scale factor is used for all numbers which are formatted with this format instance. This
|
|
20322
|
+
* option has effect only when the option 'style' is set to 'short' or 'long'. This option is by default
|
|
20323
|
+
* set with `undefined` which means the scale factor is selected automatically for each number being formatted.
|
|
20324
|
+
*/
|
|
20325
|
+
shortRefNumber?: int;
|
|
20326
|
+
/**
|
|
20327
|
+
* @since 1.40 specifies whether the scale factor is shown in the formatted number. This option takes effect
|
|
20328
|
+
* only when the 'style' options is set to either 'short' or 'long'.
|
|
20329
|
+
*/
|
|
20330
|
+
showScale?: boolean;
|
|
20331
|
+
/**
|
|
20332
|
+
* whether the positions of grouping separators are validated. Space characters used as grouping separators
|
|
20333
|
+
* are not validated.
|
|
20334
|
+
*/
|
|
20335
|
+
strictGroupingValidation?: boolean;
|
|
20336
|
+
/**
|
|
20337
|
+
* defines the style of format. Valid values are 'short, 'long' or 'standard' (based on the CLDR decimalFormat).
|
|
20338
|
+
* When set to 'short' or 'long', numbers are formatted into compact forms. When this option is set, the
|
|
20339
|
+
* default value of the 'precision' option is set to 2. This can be changed by setting either min/maxFractionDigits,
|
|
20340
|
+
* decimals, shortDecimals, or the 'precision' option itself.
|
|
20341
|
+
*/
|
|
20342
|
+
style?: string;
|
|
20343
|
+
},
|
|
20168
20344
|
/**
|
|
20169
20345
|
* Locale to get the formatter for
|
|
20170
20346
|
*/
|
|
@@ -21211,14 +21387,14 @@ declare module "sap/ui/core/HTML" {
|
|
|
21211
21387
|
getContent(): string;
|
|
21212
21388
|
/**
|
|
21213
21389
|
*
|
|
21214
|
-
* @returns The element's DOM reference or null
|
|
21390
|
+
* @returns The element's DOM reference or `null`
|
|
21215
21391
|
*/
|
|
21216
21392
|
getDomRef(
|
|
21217
21393
|
/**
|
|
21218
21394
|
* Suffix of the Element to be retrieved or empty
|
|
21219
21395
|
*/
|
|
21220
21396
|
sSuffix?: string
|
|
21221
|
-
): Element;
|
|
21397
|
+
): Element | null;
|
|
21222
21398
|
/**
|
|
21223
21399
|
* Gets current value of property {@link #getPreferDOM preferDOM}.
|
|
21224
21400
|
*
|
|
@@ -23850,9 +24026,9 @@ declare module "sap/ui/core/Locale" {
|
|
|
23850
24026
|
*
|
|
23851
24027
|
* Use {@link #getExtensions} to get the individual extension tokens as an array.
|
|
23852
24028
|
*
|
|
23853
|
-
* @returns the extension
|
|
24029
|
+
* @returns the extension or `null`
|
|
23854
24030
|
*/
|
|
23855
|
-
getExtension(): string;
|
|
24031
|
+
getExtension(): string | null;
|
|
23856
24032
|
/**
|
|
23857
24033
|
* Get the locale extensions as an array of tokens.
|
|
23858
24034
|
*
|
|
@@ -23923,17 +24099,17 @@ declare module "sap/ui/core/Locale" {
|
|
|
23923
24099
|
* Note that the case might differ from the original language tag (Upper case first letter and lower case
|
|
23924
24100
|
* reminder enforced as recommended by BCP47/ISO15924)
|
|
23925
24101
|
*
|
|
23926
|
-
* @returns the script code or null
|
|
24102
|
+
* @returns the script code or `null`
|
|
23927
24103
|
*/
|
|
23928
|
-
getScript(): string;
|
|
24104
|
+
getScript(): string | null;
|
|
23929
24105
|
/**
|
|
23930
24106
|
* Get the locale variants as a single string or `null`.
|
|
23931
24107
|
*
|
|
23932
24108
|
* Multiple variants are separated by a dash '-'.
|
|
23933
24109
|
*
|
|
23934
|
-
* @returns the variant or null
|
|
24110
|
+
* @returns the variant or `null`
|
|
23935
24111
|
*/
|
|
23936
|
-
getVariant(): string;
|
|
24112
|
+
getVariant(): string | null;
|
|
23937
24113
|
/**
|
|
23938
24114
|
* Get the locale variants as an array of individual variants.
|
|
23939
24115
|
*
|
|
@@ -25951,9 +26127,9 @@ declare module "sap/ui/core/message/MessageParser" {
|
|
|
25951
26127
|
/**
|
|
25952
26128
|
* Returns the registered processor on which the events for message handling can be fired
|
|
25953
26129
|
*
|
|
25954
|
-
* @returns The currently set MessageProcessor or null if none is set
|
|
26130
|
+
* @returns The currently set MessageProcessor or `null` if none is set
|
|
25955
26131
|
*/
|
|
25956
|
-
getProcessor(): MessageProcessor;
|
|
26132
|
+
getProcessor(): MessageProcessor | null;
|
|
25957
26133
|
/**
|
|
25958
26134
|
* Abstract parse method must be implemented in the inheriting class.
|
|
25959
26135
|
*/
|
|
@@ -27904,7 +28080,7 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
27904
28080
|
* The content to remove or its index or id
|
|
27905
28081
|
*/
|
|
27906
28082
|
vContent: int | string | Control
|
|
27907
|
-
): Control;
|
|
28083
|
+
): Control | null;
|
|
27908
28084
|
/**
|
|
27909
28085
|
* Executes preprocessors for a type of source
|
|
27910
28086
|
*
|
|
@@ -30373,6 +30549,9 @@ declare module "sap/ui/core/ResizeHandler" {
|
|
|
30373
30549
|
/**
|
|
30374
30550
|
* The resize handling API provides firing of resize events on all browsers by regularly checking the width
|
|
30375
30551
|
* and height of registered DOM elements or controls and firing events accordingly.
|
|
30552
|
+
*
|
|
30553
|
+
* **Note**: The public usage of the constructor is deprecated since 1.103.0. Please use the static module
|
|
30554
|
+
* export directly.
|
|
30376
30555
|
*/
|
|
30377
30556
|
interface ResizeHandler {
|
|
30378
30557
|
/**
|
|
@@ -30728,14 +30907,16 @@ declare module "sap/ui/core/routing/History" {
|
|
|
30728
30907
|
* get Unknown because it might be backwards or forwards. For hash replacements, the history stack will
|
|
30729
30908
|
* be replaced at this position for the history.
|
|
30730
30909
|
*
|
|
30731
|
-
* @returns or undefined
|
|
30910
|
+
* @returns Direction for the given hash or `undefined`, if no navigation has taken place yet.
|
|
30732
30911
|
*/
|
|
30733
30912
|
getDirection(
|
|
30734
30913
|
/**
|
|
30735
30914
|
* optional, if this parameter is not passed the last hashChange is taken.
|
|
30736
30915
|
*/
|
|
30737
30916
|
sNewHash?: string
|
|
30738
|
-
):
|
|
30917
|
+
):
|
|
30918
|
+
| (routing.HistoryDirection | keyof typeof routing.HistoryDirection)
|
|
30919
|
+
| undefined;
|
|
30739
30920
|
/**
|
|
30740
30921
|
* @SINCE 1.70
|
|
30741
30922
|
*
|
|
@@ -30757,12 +30938,13 @@ declare module "sap/ui/core/routing/History" {
|
|
|
30757
30938
|
*/
|
|
30758
30939
|
getHistoryStateOffset(): int | undefined;
|
|
30759
30940
|
/**
|
|
30760
|
-
*
|
|
30761
|
-
* yet, undefined will be returned
|
|
30941
|
+
* Gets the previous hash in the history.
|
|
30762
30942
|
*
|
|
30763
|
-
*
|
|
30943
|
+
* If the last direction was Unknown or there was no navigation yet, `undefined` will be returned.
|
|
30944
|
+
*
|
|
30945
|
+
* @returns Previous hash in the history or `undefined`
|
|
30764
30946
|
*/
|
|
30765
|
-
getPreviousHash(): string;
|
|
30947
|
+
getPreviousHash(): string | undefined;
|
|
30766
30948
|
}
|
|
30767
30949
|
}
|
|
30768
30950
|
|
|
@@ -33139,7 +33321,7 @@ declare module "sap/ui/core/routing/Targets" {
|
|
|
33139
33321
|
* Returns a target by its name (if you pass myTarget: { view: "myView" }) in the config myTarget is the
|
|
33140
33322
|
* name.
|
|
33141
33323
|
*
|
|
33142
|
-
* @returns The target with the coresponding name or undefined. If an array
|
|
33324
|
+
* @returns The target with the coresponding name or undefined. If an array was passed as name, this will
|
|
33143
33325
|
* return an array with all found targets. Non existing targets will not be returned and an error is logged
|
|
33144
33326
|
* when `bSuppressNotFoundError` param isn't set to `true`.
|
|
33145
33327
|
*/
|
|
@@ -34819,7 +35001,7 @@ declare module "sap/ui/core/tmpl/DOMElement" {
|
|
|
34819
35001
|
* The attribute to remove or its index or id
|
|
34820
35002
|
*/
|
|
34821
35003
|
vAttribute: int | string | DOMAttribute
|
|
34822
|
-
): DOMAttribute;
|
|
35004
|
+
): DOMAttribute | null;
|
|
34823
35005
|
/**
|
|
34824
35006
|
* Removes a element from the aggregation {@link #getElements elements}.
|
|
34825
35007
|
*
|
|
@@ -34830,7 +35012,7 @@ declare module "sap/ui/core/tmpl/DOMElement" {
|
|
|
34830
35012
|
* The element to remove or its index or id
|
|
34831
35013
|
*/
|
|
34832
35014
|
vElement: int | string | DOMElement
|
|
34833
|
-
): DOMElement;
|
|
35015
|
+
): DOMElement | null;
|
|
34834
35016
|
/**
|
|
34835
35017
|
* Sets a new value for property {@link #getTag tag}.
|
|
34836
35018
|
*
|
|
@@ -35006,8 +35188,8 @@ declare module "sap/ui/core/tmpl/Template" {
|
|
|
35006
35188
|
|
|
35007
35189
|
/**
|
|
35008
35190
|
* @SINCE 1.15
|
|
35009
|
-
* @deprecated (since 1.56) - use an {@link sap.ui.core.mvc.XMLView XMLView} or {@link
|
|
35010
|
-
*
|
|
35191
|
+
* @deprecated (since 1.56) - use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0
|
|
35192
|
+
* Typed View} instead.
|
|
35011
35193
|
*
|
|
35012
35194
|
* Base Class for Template.
|
|
35013
35195
|
*/
|
|
@@ -36444,7 +36626,7 @@ declare module "sap/ui/core/UIArea" {
|
|
|
36444
36626
|
* The content to remove or its index or id
|
|
36445
36627
|
*/
|
|
36446
36628
|
vContent: int | string | Control
|
|
36447
|
-
): Control;
|
|
36629
|
+
): Control | null;
|
|
36448
36630
|
/**
|
|
36449
36631
|
* Removes a dependent from the aggregation {@link #getDependents dependents}.
|
|
36450
36632
|
*
|
|
@@ -36455,7 +36637,7 @@ declare module "sap/ui/core/UIArea" {
|
|
|
36455
36637
|
* The dependent to remove or its index or id
|
|
36456
36638
|
*/
|
|
36457
36639
|
vDependent: int | string | Control
|
|
36458
|
-
): Control;
|
|
36640
|
+
): Control | null;
|
|
36459
36641
|
/**
|
|
36460
36642
|
* @deprecated (since 1.1) - use {@link #removeAllContent} and {@link #addContent} instead
|
|
36461
36643
|
*
|
|
@@ -37205,7 +37387,7 @@ declare module "sap/ui/core/util/Export" {
|
|
|
37205
37387
|
* The column to remove or its index or id
|
|
37206
37388
|
*/
|
|
37207
37389
|
vColumn: int | string | ExportColumn
|
|
37208
|
-
): ExportColumn;
|
|
37390
|
+
): ExportColumn | null;
|
|
37209
37391
|
/**
|
|
37210
37392
|
* Removes a row from the aggregation {@link #getRows rows}.
|
|
37211
37393
|
*
|
|
@@ -37216,7 +37398,7 @@ declare module "sap/ui/core/util/Export" {
|
|
|
37216
37398
|
* The row to remove or its index or id
|
|
37217
37399
|
*/
|
|
37218
37400
|
vRow: int | string | ExportRow
|
|
37219
|
-
): ExportRow;
|
|
37401
|
+
): ExportRow | null;
|
|
37220
37402
|
/**
|
|
37221
37403
|
* Generates the file content, triggers a download / save action and returns a Promise with the instance
|
|
37222
37404
|
* as context (this).
|
|
@@ -37677,7 +37859,7 @@ declare module "sap/ui/core/util/ExportRow" {
|
|
|
37677
37859
|
* The cell to remove or its index or id
|
|
37678
37860
|
*/
|
|
37679
37861
|
vCell: int | string | ExportCell
|
|
37680
|
-
): ExportCell;
|
|
37862
|
+
): ExportCell | null;
|
|
37681
37863
|
}
|
|
37682
37864
|
|
|
37683
37865
|
export interface $ExportRowSettings extends $ManagedObjectSettings {
|
|
@@ -39017,7 +39199,7 @@ declare module "sap/ui/core/VariantLayoutData" {
|
|
|
39017
39199
|
* The multipleLayoutData to remove or its index or id
|
|
39018
39200
|
*/
|
|
39019
39201
|
vMultipleLayoutData: int | string | LayoutData
|
|
39020
|
-
): LayoutData;
|
|
39202
|
+
): LayoutData | null;
|
|
39021
39203
|
}
|
|
39022
39204
|
|
|
39023
39205
|
export interface $VariantLayoutDataSettings extends $LayoutDataSettings {
|
|
@@ -39908,7 +40090,9 @@ declare module "sap/ui/Device" {
|
|
|
39908
40090
|
* If this flag is set to `true`, the mobile variant of the browser is used or a tablet or phone device
|
|
39909
40091
|
* is detected.
|
|
39910
40092
|
*
|
|
39911
|
-
* **Note:** This information might not be available for all browsers.
|
|
40093
|
+
* **Note:** This information might not be available for all browsers. **Note:** The flag is also set to
|
|
40094
|
+
* `true` for any touch device, including laptops with touchscreen monitor. For more information, see the
|
|
40095
|
+
* documentation for {@link sap.ui.Device.system.combi} devices.
|
|
39912
40096
|
*/
|
|
39913
40097
|
export const mobile: boolean;
|
|
39914
40098
|
|
|
@@ -40478,7 +40662,9 @@ declare module "sap/ui/Device" {
|
|
|
40478
40662
|
* If this flag is set to `true`, the used browser supports touch events.
|
|
40479
40663
|
*
|
|
40480
40664
|
* **Note:** This flag indicates whether the used browser supports touch events or not. This does not necessarily
|
|
40481
|
-
* mean that the used device has a touchable screen.
|
|
40665
|
+
* mean that the used device has a touchable screen. **Note:** This flag also affects other {@link sap.ui.Device}
|
|
40666
|
+
* properties. For more information, see the documentation for {@link sap.ui.Device.browser.mobile} and
|
|
40667
|
+
* {@link sap.ui.Device.system.combi} devices.
|
|
40482
40668
|
*/
|
|
40483
40669
|
export const touch: boolean;
|
|
40484
40670
|
|
|
@@ -59043,6 +59229,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
59043
59229
|
* It is thus unsafe to keep a reference to a context instance which is not explicitly kept alive. Once
|
|
59044
59230
|
* a context is not kept alive anymore, the implicit lifecycle management again takes control and destroys
|
|
59045
59231
|
* the context if it is no longer needed.
|
|
59232
|
+
*
|
|
59233
|
+
* Note: This is only supported if the model uses the `autoExpandSelect` parameter.
|
|
59046
59234
|
* See:
|
|
59047
59235
|
* #isKeepAlive
|
|
59048
59236
|
*/
|
|
@@ -59080,7 +59268,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
59080
59268
|
* @returns A promise which is resolved without a result in case of success, or rejected with an instance
|
|
59081
59269
|
* of `Error` in case of failure, for example if the annotation belongs to the read-only namespace "@$ui5.*".
|
|
59082
59270
|
* With `bRetry` it is only rejected with an `Error` instance where `oError.canceled === true` when the
|
|
59083
|
-
* property has been reset via the methods
|
|
59271
|
+
* entity has been deleted while the request was pending or the property has been reset via the methods
|
|
59272
|
+
*
|
|
59084
59273
|
* {@link sap.ui.model.odata.v4.ODataModel#resetChanges} {@link sap.ui.model.odata.v4.ODataContextBinding#resetChanges}
|
|
59085
59274
|
* or {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges}.
|
|
59086
59275
|
*/
|
|
@@ -61893,6 +62082,37 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
61893
62082
|
*/
|
|
61894
62083
|
oContext?: Context1
|
|
61895
62084
|
): Context1;
|
|
62085
|
+
/**
|
|
62086
|
+
* @SINCE 1.103.0
|
|
62087
|
+
*
|
|
62088
|
+
* Deletes the entity with the given canonical path on the server and in all bindings. Pending changes in
|
|
62089
|
+
* contexts for this entity or in dependents thereof are canceled.
|
|
62090
|
+
*
|
|
62091
|
+
* Deleting in the bindings is only possible if the given path is a canonical path, and all paths follow
|
|
62092
|
+
* these rules in addition to the OData 4.0 specification:
|
|
62093
|
+
* Key properties are ordered just as in the metadata, for single key properties, the name of the
|
|
62094
|
+
* key is omitted, for collection-valued navigation properties, all keys are present, the key-value
|
|
62095
|
+
* pairs are encoded via encodeURIComponent.
|
|
62096
|
+
*
|
|
62097
|
+
* @returns A promise resolving when the delete succeeded, and rejecting with an instance of Error otherwise.
|
|
62098
|
+
* In the latter case the HTTP status code of the response is given in the error's property `status`.
|
|
62099
|
+
*/
|
|
62100
|
+
delete(
|
|
62101
|
+
/**
|
|
62102
|
+
* The canonical path of the entity to delete, starting with a '/'
|
|
62103
|
+
*/
|
|
62104
|
+
sCanonicalPath: string,
|
|
62105
|
+
/**
|
|
62106
|
+
* The group ID that is used for the DELETE request; if not specified, the model's {@link #getUpdateGroupId
|
|
62107
|
+
* update group ID} is used; the resulting group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}
|
|
62108
|
+
*/
|
|
62109
|
+
sGroupId?: string,
|
|
62110
|
+
/**
|
|
62111
|
+
* If `true`, deletion fails if the entity does not exist (HTTP status code 404 or 412 due to the `If-Match:
|
|
62112
|
+
* *` header); otherwise we assume that it has already been deleted by someone else and report success
|
|
62113
|
+
*/
|
|
62114
|
+
bRejectIfNotFound?: boolean
|
|
62115
|
+
): Promise<any>;
|
|
61896
62116
|
/**
|
|
61897
62117
|
* @SINCE 1.38.0
|
|
61898
62118
|
*
|
|
@@ -64119,25 +64339,6 @@ declare module "sap/ui/model/TreeBindingAdapter" {
|
|
|
64119
64339
|
* @returns Returns the number of entries in the tree
|
|
64120
64340
|
*/
|
|
64121
64341
|
getLength(): number;
|
|
64122
|
-
/**
|
|
64123
|
-
* Gets an array of nodes for the requested part of the tree.
|
|
64124
|
-
*
|
|
64125
|
-
* @returns The requested tree nodes
|
|
64126
|
-
*/
|
|
64127
|
-
getNodes(
|
|
64128
|
-
/**
|
|
64129
|
-
* The index of the first requested node
|
|
64130
|
-
*/
|
|
64131
|
-
iStartIndex: number,
|
|
64132
|
-
/**
|
|
64133
|
-
* The maximum number of returned nodes; if not given the model's size limit is used; see {@link sap.ui.model.Model#setSizeLimit}
|
|
64134
|
-
*/
|
|
64135
|
-
iLength: number,
|
|
64136
|
-
/**
|
|
64137
|
-
* The maximum number of nodes to read additionally as buffer
|
|
64138
|
-
*/
|
|
64139
|
-
iThreshold?: number
|
|
64140
|
-
): object[];
|
|
64141
64342
|
}
|
|
64142
64343
|
}
|
|
64143
64344
|
|
|
@@ -65859,6 +66060,8 @@ declare module "sap/ui/test/actions/Drag" {
|
|
|
65859
66060
|
$ActionSettings,
|
|
65860
66061
|
} from "sap/ui/test/actions/Action";
|
|
65861
66062
|
|
|
66063
|
+
import Control from "sap/ui/core/Control";
|
|
66064
|
+
|
|
65862
66065
|
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
65863
66066
|
|
|
65864
66067
|
/**
|
|
@@ -65919,6 +66122,17 @@ declare module "sap/ui/test/actions/Drag" {
|
|
|
65919
66122
|
* @returns Metadata object describing this class
|
|
65920
66123
|
*/
|
|
65921
66124
|
static getMetadata(): ManagedObjectMetadata;
|
|
66125
|
+
/**
|
|
66126
|
+
* Starts a drag event sequence for this control. To finish the drag, and drop the control on a specified
|
|
66127
|
+
* target, trigger a {@link sap.ui.test.actions.Drop} action on the target. Logs an error if control is
|
|
66128
|
+
* not visible (i.e. has no DOM representation)
|
|
66129
|
+
*/
|
|
66130
|
+
executeOn(
|
|
66131
|
+
/**
|
|
66132
|
+
* the control on which the drag events are triggered
|
|
66133
|
+
*/
|
|
66134
|
+
oControl: Control
|
|
66135
|
+
): void;
|
|
65922
66136
|
}
|
|
65923
66137
|
|
|
65924
66138
|
export interface $DragSettings extends $ActionSettings {}
|
|
@@ -65930,6 +66144,8 @@ declare module "sap/ui/test/actions/Drop" {
|
|
|
65930
66144
|
$ActionSettings,
|
|
65931
66145
|
} from "sap/ui/test/actions/Action";
|
|
65932
66146
|
|
|
66147
|
+
import Control from "sap/ui/core/Control";
|
|
66148
|
+
|
|
65933
66149
|
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
65934
66150
|
|
|
65935
66151
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -66006,6 +66222,17 @@ declare module "sap/ui/test/actions/Drop" {
|
|
|
66006
66222
|
* @returns Metadata object describing this class
|
|
66007
66223
|
*/
|
|
66008
66224
|
static getMetadata(): ManagedObjectMetadata;
|
|
66225
|
+
/**
|
|
66226
|
+
* Starts a drop event sequence for this control, such that a predefined source will be dropped on the control.
|
|
66227
|
+
* To start a drag sequence ad define the dragged source, trigger a {@link sap.ui.test.actions.Drag} action
|
|
66228
|
+
* on the source. Logs an error if control is not visible (i.e. has no DOM representation)
|
|
66229
|
+
*/
|
|
66230
|
+
executeOn(
|
|
66231
|
+
/**
|
|
66232
|
+
* the control on which the drop events are triggered
|
|
66233
|
+
*/
|
|
66234
|
+
oControl: Control
|
|
66235
|
+
): void;
|
|
66009
66236
|
/**
|
|
66010
66237
|
* Gets current value of property {@link #getAfter after}.
|
|
66011
66238
|
*
|
|
@@ -66160,6 +66387,18 @@ declare module "sap/ui/test/actions/EnterText" {
|
|
|
66160
66387
|
*/
|
|
66161
66388
|
mSettings?: $EnterTextSettings
|
|
66162
66389
|
);
|
|
66390
|
+
/**
|
|
66391
|
+
* @SINCE 1.70
|
|
66392
|
+
*
|
|
66393
|
+
* A map of ID suffixes for controls that require a special DOM reference for `EnterText` interaction.
|
|
66394
|
+
*
|
|
66395
|
+
* You can specify an ID suffix for specific controls in this map. The enter text action will be triggered
|
|
66396
|
+
* on the DOM element with the specified suffix.
|
|
66397
|
+
*
|
|
66398
|
+
* Here is a sublist of supported controls and their `EnterText` control adapter:
|
|
66399
|
+
* - sap.m.StepInput - internal Input
|
|
66400
|
+
*/
|
|
66401
|
+
static controlAdapters: Record<string, string | ((p1: Control) => string)>;
|
|
66163
66402
|
|
|
66164
66403
|
/**
|
|
66165
66404
|
* Creates a new subclass of class sap.ui.test.actions.EnterText with name `sClassName` and enriches it
|
|
@@ -66388,6 +66627,28 @@ declare module "sap/ui/test/actions/Press" {
|
|
|
66388
66627
|
*/
|
|
66389
66628
|
mSettings?: $PressSettings
|
|
66390
66629
|
);
|
|
66630
|
+
/**
|
|
66631
|
+
* @SINCE 1.63
|
|
66632
|
+
*
|
|
66633
|
+
* A map of ID suffixes for controls that require a special DOM reference for `Press` interaction.
|
|
66634
|
+
*
|
|
66635
|
+
* You can specify an ID suffix for specific controls in this map. The press action will be triggered on
|
|
66636
|
+
* the DOM element with the specified suffix.
|
|
66637
|
+
*
|
|
66638
|
+
* Here is a sublist of supported controls and their `Press` control adapter:
|
|
66639
|
+
* - sap.m.ComboBox - Arrow button
|
|
66640
|
+
* - sap.m.SearchField - Search Button
|
|
66641
|
+
* - sap.m.Input - Value help
|
|
66642
|
+
* - sap.m.List - More Button
|
|
66643
|
+
* - sap.m.Table - More Button
|
|
66644
|
+
* - sap.m.ObjectIdentifier - Title
|
|
66645
|
+
* - sap.m.ObjectAttribute - Text
|
|
66646
|
+
* - sap.m.Page - Back Button
|
|
66647
|
+
* - sap.m.semantic.FullscreenPage - Back Button
|
|
66648
|
+
* - sap.m.semantic.DetailPage - Back Button
|
|
66649
|
+
* - sap.ui.comp.smartfilterbar.SmartFilterBar - Go Button
|
|
66650
|
+
*/
|
|
66651
|
+
static controlAdapters: Record<string, string | ((p1: Control) => string)>;
|
|
66391
66652
|
|
|
66392
66653
|
/**
|
|
66393
66654
|
* Creates a new subclass of class sap.ui.test.actions.Press with name `sClassName` and enriches it with
|
|
@@ -69169,7 +69430,7 @@ declare module "sap/ui/test/Opa5" {
|
|
|
69169
69430
|
*
|
|
69170
69431
|
* @returns The QUnit utils
|
|
69171
69432
|
*/
|
|
69172
|
-
static getUtils():
|
|
69433
|
+
static getUtils(): object;
|
|
69173
69434
|
/**
|
|
69174
69435
|
* Returns the window object in the current context. If an iframe is launched, it will return the iframe's
|
|
69175
69436
|
* window.
|
|
@@ -70576,8 +70837,8 @@ declare module "sap/ui/test/OpaBuilder" {
|
|
|
70576
70837
|
/**
|
|
70577
70838
|
* Creates a matcher function that returns an aggregation element of a control at a given index.
|
|
70578
70839
|
*
|
|
70579
|
-
* @returns the matcher function returns the item at a certain index in the aggregation or
|
|
70580
|
-
* not in range
|
|
70840
|
+
* @returns the matcher function returns the item at a certain index in the aggregation or `undefined` if
|
|
70841
|
+
* index not in range
|
|
70581
70842
|
*/
|
|
70582
70843
|
aggregationAtIndex(
|
|
70583
70844
|
/**
|
|
@@ -71055,7 +71316,7 @@ declare module "sap/ui/test/OpaPlugin" {
|
|
|
71055
71316
|
*/
|
|
71056
71317
|
controlType?: string | Function;
|
|
71057
71318
|
}
|
|
71058
|
-
): UI5Element | UI5Element[];
|
|
71319
|
+
): UI5Element | UI5Element[] | null;
|
|
71059
71320
|
/**
|
|
71060
71321
|
* Gets the constructor function of a certain controlType
|
|
71061
71322
|
*
|
|
@@ -71177,14 +71438,14 @@ declare module "sap/ui/test/OpaPlugin" {
|
|
|
71177
71438
|
* Returns the view with a specific name. The result should be a unique view. If there are multiple visible
|
|
71178
71439
|
* views with that name, none will be returned.
|
|
71179
71440
|
*
|
|
71180
|
-
* @returns or undefined
|
|
71441
|
+
* @returns Unique view or `undefined`
|
|
71181
71442
|
*/
|
|
71182
71443
|
getView(
|
|
71183
71444
|
/**
|
|
71184
|
-
*
|
|
71445
|
+
* Name of the view
|
|
71185
71446
|
*/
|
|
71186
71447
|
sViewName: string
|
|
71187
|
-
): View;
|
|
71448
|
+
): View | undefined;
|
|
71188
71449
|
}
|
|
71189
71450
|
}
|
|
71190
71451
|
|
|
@@ -73313,7 +73574,7 @@ declare namespace sap {
|
|
|
73313
73574
|
* that {@link sap.ui.define} uses: module names are specified without the implicit extension '.js'. Relative
|
|
73314
73575
|
* module names are not supported.
|
|
73315
73576
|
*
|
|
73316
|
-
* @returns A single module export value (sync probing variant) or undefined (async loading variant)
|
|
73577
|
+
* @returns A single module export value (sync probing variant) or `undefined` (async loading variant)
|
|
73317
73578
|
*/
|
|
73318
73579
|
function require(
|
|
73319
73580
|
/**
|
|
@@ -74319,7 +74580,9 @@ declare namespace sap {
|
|
|
74319
74580
|
* If this flag is set to `true`, the mobile variant of the browser is used or a tablet or phone device
|
|
74320
74581
|
* is detected.
|
|
74321
74582
|
*
|
|
74322
|
-
* **Note:** This information might not be available for all browsers.
|
|
74583
|
+
* **Note:** This information might not be available for all browsers. **Note:** The flag is also set to
|
|
74584
|
+
* `true` for any touch device, including laptops with touchscreen monitor. For more information, see the
|
|
74585
|
+
* documentation for {@link sap.ui.Device.system.combi} devices.
|
|
74323
74586
|
*/
|
|
74324
74587
|
export const mobile: boolean;
|
|
74325
74588
|
|
|
@@ -74942,7 +75205,9 @@ declare namespace sap {
|
|
|
74942
75205
|
* If this flag is set to `true`, the used browser supports touch events.
|
|
74943
75206
|
*
|
|
74944
75207
|
* **Note:** This flag indicates whether the used browser supports touch events or not. This does not necessarily
|
|
74945
|
-
* mean that the used device has a touchable screen.
|
|
75208
|
+
* mean that the used device has a touchable screen. **Note:** This flag also affects other {@link sap.ui.Device}
|
|
75209
|
+
* properties. For more information, see the documentation for {@link sap.ui.Device.browser.mobile} and
|
|
75210
|
+
* {@link sap.ui.Device.system.combi} devices.
|
|
74946
75211
|
*/
|
|
74947
75212
|
export const touch: boolean;
|
|
74948
75213
|
|
|
@@ -75091,6 +75356,8 @@ declare namespace sap {
|
|
|
75091
75356
|
|
|
75092
75357
|
"sap/base/util/extend": undefined;
|
|
75093
75358
|
|
|
75359
|
+
"sap/base/util/fetch": undefined;
|
|
75360
|
+
|
|
75094
75361
|
"sap/base/util/includes": undefined;
|
|
75095
75362
|
|
|
75096
75363
|
"sap/base/util/isEmptyObject": undefined;
|
|
@@ -75103,6 +75370,8 @@ declare namespace sap {
|
|
|
75103
75370
|
|
|
75104
75371
|
"sap/base/util/merge": undefined;
|
|
75105
75372
|
|
|
75373
|
+
"sap/base/util/mixedFetch": undefined;
|
|
75374
|
+
|
|
75106
75375
|
"sap/base/util/now": undefined;
|
|
75107
75376
|
|
|
75108
75377
|
"sap/base/util/ObjectPath": undefined;
|
|
@@ -75111,6 +75380,8 @@ declare namespace sap {
|
|
|
75111
75380
|
|
|
75112
75381
|
"sap/base/util/resolveReference": undefined;
|
|
75113
75382
|
|
|
75383
|
+
"sap/base/util/syncFetch": undefined;
|
|
75384
|
+
|
|
75114
75385
|
"sap/base/util/uid": undefined;
|
|
75115
75386
|
|
|
75116
75387
|
"sap/base/util/UriParameters": undefined;
|
|
@@ -75143,12 +75414,18 @@ declare namespace sap {
|
|
|
75143
75414
|
|
|
75144
75415
|
"sap/ui/base/ObjectPool": undefined;
|
|
75145
75416
|
|
|
75417
|
+
"sap/ui/base/SyncPromise": undefined;
|
|
75418
|
+
|
|
75146
75419
|
"sap/ui/core/AppCacheBuster": undefined;
|
|
75147
75420
|
|
|
75148
75421
|
"sap/ui/core/BusyIndicator": undefined;
|
|
75149
75422
|
|
|
75150
75423
|
"sap/ui/core/BusyIndicatorUtils": undefined;
|
|
75151
75424
|
|
|
75425
|
+
"sap/ui/core/cache/CacheManager": undefined;
|
|
75426
|
+
|
|
75427
|
+
"sap/ui/core/cache/LRUPersistentCache": undefined;
|
|
75428
|
+
|
|
75152
75429
|
"sap/ui/core/CalendarType": undefined;
|
|
75153
75430
|
|
|
75154
75431
|
"sap/ui/core/CommandExecution": undefined;
|