@openui5/ts-types 1.120.10 → 1.121.1
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 +124 -45
- package/types/sap.m.d.ts +2023 -300
- package/types/sap.tnt.d.ts +601 -116
- package/types/sap.ui.codeeditor.d.ts +10 -6
- package/types/sap.ui.commons.d.ts +86 -8
- package/types/sap.ui.core.d.ts +471 -186
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +91 -68
- package/types/sap.ui.integration.d.ts +51 -4
- package/types/sap.ui.layout.d.ts +221 -26
- package/types/sap.ui.mdc.d.ts +1517 -788
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +3 -1
- package/types/sap.ui.support.d.ts +28 -4
- package/types/sap.ui.table.d.ts +57 -7
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +157 -54
- package/types/sap.ui.ux3.d.ts +30 -12
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +49 -1
- package/types/sap.ui.webc.main.d.ts +144 -9
- package/types/sap.uxap.d.ts +55 -5
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -280,7 +280,7 @@ declare namespace sap {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// For Library Version: 1.
|
|
283
|
+
// For Library Version: 1.121.1
|
|
284
284
|
|
|
285
285
|
declare module "sap/base/assert" {
|
|
286
286
|
/**
|
|
@@ -1128,7 +1128,7 @@ declare module "sap/base/i18n/Localization" {
|
|
|
1128
1128
|
* ```
|
|
1129
1129
|
*
|
|
1130
1130
|
*
|
|
1131
|
-
* Call {@link
|
|
1131
|
+
* Call {@link module:sap/base/i18n/Localization.getLanguageTag getLanguageTag} to get a {@link module:sap/base/i18n/LanguageTag LanguageTag }
|
|
1132
1132
|
* object matching the language. For a normalized BCP47 tag, call {@link module:sap/base/i18n/LanguageTag.toString toString() }
|
|
1133
1133
|
* on the returned `LanguageTag`
|
|
1134
1134
|
*
|
|
@@ -1140,7 +1140,7 @@ declare module "sap/base/i18n/Localization" {
|
|
|
1140
1140
|
/**
|
|
1141
1141
|
* Returns a LanguageTag object for the current language.
|
|
1142
1142
|
*
|
|
1143
|
-
* The LanguageTag is derived from {@link
|
|
1143
|
+
* The LanguageTag is derived from {@link module:sap/base/i18n/Localization.getLanguage Localization.getLanguage}.
|
|
1144
1144
|
*
|
|
1145
1145
|
* @since 1.120.0
|
|
1146
1146
|
*
|
|
@@ -1346,7 +1346,10 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1346
1346
|
* @since 1.58
|
|
1347
1347
|
*/
|
|
1348
1348
|
export default class ResourceBundle {
|
|
1349
|
-
|
|
1349
|
+
/**
|
|
1350
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1351
|
+
*/
|
|
1352
|
+
protected constructor();
|
|
1350
1353
|
|
|
1351
1354
|
/**
|
|
1352
1355
|
* Creates and returns a new instance of {@link module:sap/base/i18n/ResourceBundle} using the given URL
|
|
@@ -1626,6 +1629,8 @@ declare module "sap/base/Log" {
|
|
|
1626
1629
|
*
|
|
1627
1630
|
* Only if the current LogLevel is higher than the level {@link module:sap/base/Log.Level} of the currently
|
|
1628
1631
|
* added log entry, then this very entry is permanently added to the log. Otherwise it is ignored.
|
|
1632
|
+
*
|
|
1633
|
+
* This enum is part of the 'sap/base/Log' module export and must be accessed by the property 'Level'.
|
|
1629
1634
|
*/
|
|
1630
1635
|
Level: typeof Level;
|
|
1631
1636
|
|
|
@@ -1931,6 +1936,8 @@ declare module "sap/base/Log" {
|
|
|
1931
1936
|
*
|
|
1932
1937
|
* Only if the current LogLevel is higher than the level {@link module:sap/base/Log.Level} of the currently
|
|
1933
1938
|
* added log entry, then this very entry is permanently added to the log. Otherwise it is ignored.
|
|
1939
|
+
*
|
|
1940
|
+
* This enum is part of the 'sap/base/Log' module export and must be accessed by the property 'Level'.
|
|
1934
1941
|
*/
|
|
1935
1942
|
enum Level {
|
|
1936
1943
|
/**
|
|
@@ -3026,15 +3033,14 @@ declare module "sap/base/util/merge" {
|
|
|
3026
3033
|
|
|
3027
3034
|
declare module "sap/base/util/now" {
|
|
3028
3035
|
/**
|
|
3029
|
-
* Returns a high resolution timestamp in microseconds
|
|
3030
|
-
*
|
|
3031
|
-
*
|
|
3032
|
-
*
|
|
3033
|
-
* function(now){new Date(now());}`
|
|
3036
|
+
* Returns a high resolution timestamp in microseconds. The timestamp is based on 01/01/1970 00:00:00 (UNIX
|
|
3037
|
+
* epoch) as float with microsecond precision. The fractional part of the timestamp represents fractions
|
|
3038
|
+
* of a millisecond. Converting to a `Date` is possible by using `require(["sap/base/util/now"], function(now){new
|
|
3039
|
+
* Date(now());}`
|
|
3034
3040
|
*
|
|
3035
3041
|
* @since 1.58
|
|
3036
3042
|
*
|
|
3037
|
-
* @returns timestamp in microseconds
|
|
3043
|
+
* @returns timestamp in microseconds
|
|
3038
3044
|
*/
|
|
3039
3045
|
export default function now(): float;
|
|
3040
3046
|
}
|
|
@@ -3129,7 +3135,10 @@ declare module "sap/base/util/Properties" {
|
|
|
3129
3135
|
* @since 1.58
|
|
3130
3136
|
*/
|
|
3131
3137
|
export default class Properties {
|
|
3132
|
-
|
|
3138
|
+
/**
|
|
3139
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3140
|
+
*/
|
|
3141
|
+
protected constructor();
|
|
3133
3142
|
|
|
3134
3143
|
/**
|
|
3135
3144
|
* Creates and returns a new instance of {@link module:sap/base/util/Properties}.
|
|
@@ -3787,6 +3796,15 @@ declare module "sap/ui/core/ComponentSupport" {
|
|
|
3787
3796
|
* on the respective HTML tags. Each data attribute will be interpreted as a setting and parsed considering
|
|
3788
3797
|
* the data type of the matching property in the `ComponentContainer`.
|
|
3789
3798
|
*
|
|
3799
|
+
* **NOTE:** The following `data` attributes for registering event handlers have been deprecated since UI5
|
|
3800
|
+
* version 1.120 and won't work in the next major version because of the removal of accessing the global
|
|
3801
|
+
* namespace:
|
|
3802
|
+
* - `data-component-created`
|
|
3803
|
+
* - `data-component-failed`
|
|
3804
|
+
*
|
|
3805
|
+
* Alternatively, you can provide your own module in the bootstrap via `oninit`, in which you create an
|
|
3806
|
+
* instance of the {@link sap.ui.core.ComponentContainer ComponentContainer} in the JavaScript code.
|
|
3807
|
+
*
|
|
3790
3808
|
* As HTML is case-insensitive, in order to define a property with upper-case characters, you have to "escape"
|
|
3791
3809
|
* them with a dash character, similar to CSS attributes. The following code gives an example:
|
|
3792
3810
|
*
|
|
@@ -3893,14 +3911,14 @@ declare module "sap/ui/core/date/CalendarUtils" {
|
|
|
3893
3911
|
*/
|
|
3894
3912
|
getWeekConfigurationValues(
|
|
3895
3913
|
/**
|
|
3896
|
-
* The calendar week numbering; if omitted, the calendar week numbering of the
|
|
3897
|
-
* {@link sap.
|
|
3898
|
-
* week configuration is derived from the given `oLocale`.
|
|
3914
|
+
* The calendar week numbering; if omitted, the calendar week numbering of the configuration is used; see
|
|
3915
|
+
* {@link module:sap/base/i18n/Formatting.getCalendarWeekNumbering Formatting.getCalendarWeekNumbering}.
|
|
3916
|
+
* If this value is `Default` the returned calendar week configuration is derived from the given `oLocale`.
|
|
3899
3917
|
*/
|
|
3900
3918
|
sCalendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering,
|
|
3901
3919
|
/**
|
|
3902
|
-
* The locale to use; if
|
|
3903
|
-
* {@link sap.
|
|
3920
|
+
* The locale to use; if no locale is given, a locale for the currently configured language is used; see
|
|
3921
|
+
* {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}. Is only used when `sCalendarWeekNumbering`
|
|
3904
3922
|
* is set to `Default`.
|
|
3905
3923
|
*/
|
|
3906
3924
|
oLocale?: sap.ui.core.Locale
|
|
@@ -3920,19 +3938,22 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
3920
3938
|
/**
|
|
3921
3939
|
* A date implementation considering the configured time zone
|
|
3922
3940
|
*
|
|
3923
|
-
* A subclass of JavaScript `Date` that considers the configured time zone, see {@link sap.
|
|
3941
|
+
* A subclass of JavaScript `Date` that considers the configured time zone, see {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}.
|
|
3924
3942
|
* All JavaScript `Date` functions that use the local browser time zone, like `getDate`, `setDate`, and
|
|
3925
3943
|
* `toString`, are overwritten and use the configured time zone to compute the values.
|
|
3926
3944
|
*
|
|
3927
3945
|
* Use {@link module:sap/ui/core/date/UI5Date.getInstance} to create new date instances.
|
|
3928
3946
|
*
|
|
3929
3947
|
* **Note:** Adjusting the time zone in a running application can lead to unexpected data inconsistencies.
|
|
3930
|
-
* For more information, see {@link sap.
|
|
3948
|
+
* For more information, see {@link module:sap/base/i18n/Localization.setTimezone Localization.setTimezone}.
|
|
3931
3949
|
*
|
|
3932
3950
|
* @since 1.111.0
|
|
3933
3951
|
*/
|
|
3934
3952
|
export default class UI5Date extends Date {
|
|
3935
|
-
|
|
3953
|
+
/**
|
|
3954
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3955
|
+
*/
|
|
3956
|
+
protected constructor();
|
|
3936
3957
|
|
|
3937
3958
|
/**
|
|
3938
3959
|
* Creates a date instance (either JavaScript Date or `UI5Date`) which considers the configured time zone
|
|
@@ -3940,9 +3961,9 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
3940
3961
|
* The supported parameters are the same as the ones supported by the JavaScript Date constructor.
|
|
3941
3962
|
*
|
|
3942
3963
|
* **Note:** Adjusting the time zone in a running application can lead to unexpected data inconsistencies.
|
|
3943
|
-
* For more information, see {@link sap.
|
|
3964
|
+
* For more information, see {@link module:sap/base/i18n/Localization.setTimezone Localization.setTimezone}.
|
|
3944
3965
|
* See:
|
|
3945
|
-
* sap.
|
|
3966
|
+
* module:sap/base/i18n/Localization.getTimezone
|
|
3946
3967
|
*
|
|
3947
3968
|
*
|
|
3948
3969
|
* @returns The date instance that considers the configured time zone in all local getters and setters.
|
|
@@ -4454,7 +4475,7 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4454
4475
|
*/
|
|
4455
4476
|
toLocaleDateString(
|
|
4456
4477
|
/**
|
|
4457
|
-
* The locale used for formatting; the
|
|
4478
|
+
* The locale used for formatting; by default, the string representation of {@link module:sap/base/i18n/Localization.getLanguageTag Localization.getLanguageTag}
|
|
4458
4479
|
*/
|
|
4459
4480
|
sLocale?: string,
|
|
4460
4481
|
/**
|
|
@@ -4463,7 +4484,7 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4463
4484
|
*/
|
|
4464
4485
|
oOptions?: {
|
|
4465
4486
|
/**
|
|
4466
|
-
* The IANA time zone ID;
|
|
4487
|
+
* The IANA time zone ID; by default {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}
|
|
4467
4488
|
*/
|
|
4468
4489
|
timeZone?: string;
|
|
4469
4490
|
}
|
|
@@ -4477,7 +4498,7 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4477
4498
|
*/
|
|
4478
4499
|
toLocaleString(
|
|
4479
4500
|
/**
|
|
4480
|
-
* The locale used for formatting; the
|
|
4501
|
+
* The locale used for formatting; by default, the string representation of {@link module:sap/base/i18n/Localization.getLanguageTag Localization.getLanguageTag}
|
|
4481
4502
|
*/
|
|
4482
4503
|
sLocale?: string,
|
|
4483
4504
|
/**
|
|
@@ -4486,7 +4507,7 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4486
4507
|
*/
|
|
4487
4508
|
oOptions?: {
|
|
4488
4509
|
/**
|
|
4489
|
-
* The IANA time zone ID;
|
|
4510
|
+
* The IANA time zone ID; by default {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}
|
|
4490
4511
|
*/
|
|
4491
4512
|
timeZone?: string;
|
|
4492
4513
|
}
|
|
@@ -4500,7 +4521,7 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4500
4521
|
*/
|
|
4501
4522
|
toLocaleTimeString(
|
|
4502
4523
|
/**
|
|
4503
|
-
* The locale used for formatting; the
|
|
4524
|
+
* The locale used for formatting; by default, the string representation of {@link module:sap/base/i18n/Localization.getLanguageTag Localization.getLanguageTag}
|
|
4504
4525
|
*/
|
|
4505
4526
|
sLocale?: string,
|
|
4506
4527
|
/**
|
|
@@ -4509,7 +4530,7 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4509
4530
|
*/
|
|
4510
4531
|
oOptions?: {
|
|
4511
4532
|
/**
|
|
4512
|
-
* The IANA time zone ID;
|
|
4533
|
+
* The IANA time zone ID; by default {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}
|
|
4513
4534
|
*/
|
|
4514
4535
|
timeZone?: string;
|
|
4515
4536
|
}
|
|
@@ -5016,7 +5037,7 @@ declare module "sap/ui/core/Theming" {
|
|
|
5016
5037
|
*/
|
|
5017
5038
|
export type Theming$AppliedEvent = {
|
|
5018
5039
|
/**
|
|
5019
|
-
* The newly set
|
|
5040
|
+
* The newly set theme.
|
|
5020
5041
|
*/
|
|
5021
5042
|
theme: string;
|
|
5022
5043
|
};
|
|
@@ -6489,6 +6510,8 @@ declare module "sap/ui/util/Storage" {
|
|
|
6489
6510
|
);
|
|
6490
6511
|
/**
|
|
6491
6512
|
* Enumeration of the storage types supported by {@link module:sap/ui/util/Storage}.
|
|
6513
|
+
*
|
|
6514
|
+
* This enum is part of the 'sap/ui/util/Storage' module export and must be accessed by the property 'Type'.
|
|
6492
6515
|
*/
|
|
6493
6516
|
static Type: typeof Type;
|
|
6494
6517
|
|
|
@@ -6659,6 +6682,8 @@ declare module "sap/ui/util/Storage" {
|
|
|
6659
6682
|
}
|
|
6660
6683
|
/**
|
|
6661
6684
|
* Enumeration of the storage types supported by {@link module:sap/ui/util/Storage}.
|
|
6685
|
+
*
|
|
6686
|
+
* This enum is part of the 'sap/ui/util/Storage' module export and must be accessed by the property 'Type'.
|
|
6662
6687
|
*/
|
|
6663
6688
|
enum Type {
|
|
6664
6689
|
/**
|
|
@@ -9891,7 +9916,7 @@ declare namespace sap {
|
|
|
9891
9916
|
* calls {@link #indexOfAggregation}
|
|
9892
9917
|
* - removeItem(v) - removes an object from the aggregation 'items'. Internally calls {@link #removeAggregation }
|
|
9893
9918
|
*
|
|
9894
|
-
* -
|
|
9919
|
+
* - removeAllItems() - removes all objects from the aggregation 'items'. Internally calls {@link #removeAllAggregation }
|
|
9895
9920
|
*
|
|
9896
9921
|
* - destroyItems() - destroy all currently aggregated objects in aggregation 'items' and clears the aggregation.
|
|
9897
9922
|
* Internally calls {@link #destroyAggregation}
|
|
@@ -10182,7 +10207,7 @@ declare namespace sap {
|
|
|
10182
10207
|
/**
|
|
10183
10208
|
* Unique ID of this instance. If not given, a so called autoID will be generated by the framework. AutoIDs
|
|
10184
10209
|
* use a unique prefix that must not be used for Ids that the application (or other code) creates. It can
|
|
10185
|
-
* be configured option 'autoIDPrefix', see {@link sap.
|
|
10210
|
+
* be configured option 'autoIDPrefix', see {@link https://ui5.sap.com/#/topic/91f2d03b6f4d1014b6dd926db0e91070 Configuration Options and URL Parameters}.
|
|
10186
10211
|
*/
|
|
10187
10212
|
id?: sap.ui.core.ID;
|
|
10188
10213
|
|
|
@@ -10383,7 +10408,10 @@ declare namespace sap {
|
|
|
10383
10408
|
* @since 0.9.0
|
|
10384
10409
|
*/
|
|
10385
10410
|
class DataType {
|
|
10386
|
-
|
|
10411
|
+
/**
|
|
10412
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10413
|
+
*/
|
|
10414
|
+
protected constructor();
|
|
10387
10415
|
|
|
10388
10416
|
/**
|
|
10389
10417
|
* Derives a new type from a given base type.
|
|
@@ -15834,7 +15862,7 @@ declare namespace sap {
|
|
|
15834
15862
|
* ID of the element which is the current target of the association {@link #getTargetElement targetElement},
|
|
15835
15863
|
* or `null`.
|
|
15836
15864
|
*/
|
|
15837
|
-
getTargetElement(): sap.ui.core.ID;
|
|
15865
|
+
getTargetElement(): sap.ui.core.ID | null;
|
|
15838
15866
|
/**
|
|
15839
15867
|
* Sets a new value for property {@link #getSourceAggregation sourceAggregation}.
|
|
15840
15868
|
*
|
|
@@ -16566,6 +16594,8 @@ declare namespace sap {
|
|
|
16566
16594
|
/**
|
|
16567
16595
|
* Configuration options for visual drop effects that are given during a drag and drop operation.
|
|
16568
16596
|
*
|
|
16597
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'dnd.DropEffect'.
|
|
16598
|
+
*
|
|
16569
16599
|
* @since 1.52.0
|
|
16570
16600
|
*/
|
|
16571
16601
|
enum DropEffect {
|
|
@@ -16589,6 +16619,8 @@ declare namespace sap {
|
|
|
16589
16619
|
/**
|
|
16590
16620
|
* Configuration options for the layout of the droppable controls.
|
|
16591
16621
|
*
|
|
16622
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'dnd.DropLayout'.
|
|
16623
|
+
*
|
|
16592
16624
|
* @since 1.52.0
|
|
16593
16625
|
*/
|
|
16594
16626
|
enum DropLayout {
|
|
@@ -16608,6 +16640,8 @@ declare namespace sap {
|
|
|
16608
16640
|
/**
|
|
16609
16641
|
* Configuration options for drop positions.
|
|
16610
16642
|
*
|
|
16643
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'dnd.DropPosition'.
|
|
16644
|
+
*
|
|
16611
16645
|
* @since 1.52.0
|
|
16612
16646
|
*/
|
|
16613
16647
|
enum DropPosition {
|
|
@@ -16627,6 +16661,8 @@ declare namespace sap {
|
|
|
16627
16661
|
/**
|
|
16628
16662
|
* Drop positions relative to a dropped element.
|
|
16629
16663
|
*
|
|
16664
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'dnd.RelativeDropPosition'.
|
|
16665
|
+
*
|
|
16630
16666
|
* @since 1.100.0
|
|
16631
16667
|
*/
|
|
16632
16668
|
enum RelativeDropPosition {
|
|
@@ -16710,8 +16746,8 @@ declare namespace sap {
|
|
|
16710
16746
|
oJSDate: Date,
|
|
16711
16747
|
/**
|
|
16712
16748
|
* The IANA timezone ID in which the date will be calculated and formatted e.g. "America/New_York". If the
|
|
16713
|
-
* parameter is omitted, `null` or an empty string, the timezone will be taken from {@link sap.
|
|
16714
|
-
* For an invalid IANA
|
|
16749
|
+
* parameter is omitted, `null` or an empty string, the timezone will be taken from {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}.
|
|
16750
|
+
* For an invalid IANA time zone ID, an empty string will be returned.
|
|
16715
16751
|
*/
|
|
16716
16752
|
sTimezone?: string
|
|
16717
16753
|
): string;
|
|
@@ -16736,7 +16772,7 @@ declare namespace sap {
|
|
|
16736
16772
|
sValue: string,
|
|
16737
16773
|
/**
|
|
16738
16774
|
* The IANA timezone ID which should be used to convert the date e.g. "America/New_York". If the parameter
|
|
16739
|
-
* is omitted, `null` or an empty string, the timezone will be taken from {@link sap.
|
|
16775
|
+
* is omitted, `null` or an empty string, the timezone will be taken from {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}.
|
|
16740
16776
|
* For an invalid IANA timezone ID, `null` will be returned.
|
|
16741
16777
|
*/
|
|
16742
16778
|
sTimezone?: string,
|
|
@@ -16759,6 +16795,9 @@ declare namespace sap {
|
|
|
16759
16795
|
/**
|
|
16760
16796
|
* Specifies a rounding behavior for numerical operations capable of discarding precision. Each rounding
|
|
16761
16797
|
* mode in this object indicates how the least significant returned digits of rounded result is to be calculated.
|
|
16798
|
+
*
|
|
16799
|
+
* This enum is part of the 'sap/ui/core/format/NumberFormat' module export and must be accessed by the
|
|
16800
|
+
* property 'RoundingMode'.
|
|
16762
16801
|
*/
|
|
16763
16802
|
enum RoundingMode {
|
|
16764
16803
|
/**
|
|
@@ -16804,7 +16843,7 @@ declare namespace sap {
|
|
|
16804
16843
|
* The DateFormat is a static class for formatting and parsing single date and time values or date and time
|
|
16805
16844
|
* intervals according to a set of format options.
|
|
16806
16845
|
*
|
|
16807
|
-
* Important: Every Date is converted with the timezone taken from {@link sap.
|
|
16846
|
+
* Important: Every Date is converted with the timezone taken from {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}.
|
|
16808
16847
|
* The timezone falls back to the browser's local timezone.
|
|
16809
16848
|
*
|
|
16810
16849
|
* Supported format options are pattern based on Unicode LDML Date Format notation. Please note that only
|
|
@@ -16816,7 +16855,10 @@ declare namespace sap {
|
|
|
16816
16855
|
* - {@link http://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table}
|
|
16817
16856
|
*/
|
|
16818
16857
|
class DateFormat {
|
|
16819
|
-
|
|
16858
|
+
/**
|
|
16859
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
16860
|
+
*/
|
|
16861
|
+
protected constructor();
|
|
16820
16862
|
|
|
16821
16863
|
/**
|
|
16822
16864
|
* Get a date instance of the DateFormat, which can be used for formatting.
|
|
@@ -17272,8 +17314,8 @@ declare namespace sap {
|
|
|
17272
17314
|
/**
|
|
17273
17315
|
* Format a date according to the given format options.
|
|
17274
17316
|
*
|
|
17275
|
-
* Uses the timezone from {@link sap.
|
|
17276
|
-
* local timezone to convert the given date.
|
|
17317
|
+
* Uses the timezone from {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone},
|
|
17318
|
+
* which falls back to the browser's local timezone to convert the given date.
|
|
17277
17319
|
*
|
|
17278
17320
|
* When using instances from getDateTimeWithTimezoneInstance, please see the corresponding documentation:
|
|
17279
17321
|
* {@link sap.ui.core.format.DateFormat.DateTimeWithTimezone#format}.
|
|
@@ -17294,8 +17336,8 @@ declare namespace sap {
|
|
|
17294
17336
|
/**
|
|
17295
17337
|
* Parse a string which is formatted according to the given format options.
|
|
17296
17338
|
*
|
|
17297
|
-
* Uses the timezone from {@link sap.
|
|
17298
|
-
* local timezone to convert the given date.
|
|
17339
|
+
* Uses the timezone from {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone},
|
|
17340
|
+
* which falls back to the browser's local timezone to convert the given date.
|
|
17299
17341
|
*
|
|
17300
17342
|
* When using instances from getDateTimeWithTimezoneInstance, please see the corresponding documentation:
|
|
17301
17343
|
* {@link sap.ui.core.format.DateFormat.DateTimeWithTimezone#parse}.
|
|
@@ -17335,7 +17377,10 @@ declare namespace sap {
|
|
|
17335
17377
|
* 1 Kilobyte = 1000 Byte
|
|
17336
17378
|
*/
|
|
17337
17379
|
class FileSizeFormat extends sap.ui.base.Object {
|
|
17338
|
-
|
|
17380
|
+
/**
|
|
17381
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
17382
|
+
*/
|
|
17383
|
+
protected constructor();
|
|
17339
17384
|
|
|
17340
17385
|
/**
|
|
17341
17386
|
* Creates a new subclass of class sap.ui.core.format.FileSizeFormat with name `sClassName` and enriches
|
|
@@ -17364,9 +17409,6 @@ declare namespace sap {
|
|
|
17364
17409
|
/**
|
|
17365
17410
|
* Get an instance of the FileSizeFormat, which can be used for formatting.
|
|
17366
17411
|
*
|
|
17367
|
-
* If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale }
|
|
17368
|
-
* will be used.
|
|
17369
|
-
*
|
|
17370
17412
|
*
|
|
17371
17413
|
* @returns instance of the FileSizeFormat
|
|
17372
17414
|
*/
|
|
@@ -17381,22 +17423,21 @@ declare namespace sap {
|
|
|
17381
17423
|
binaryFilesize?: boolean;
|
|
17382
17424
|
},
|
|
17383
17425
|
/**
|
|
17384
|
-
* The locale to get the formatter for
|
|
17426
|
+
* The locale to get the formatter for; if no locale is given, a locale for the currently configured language
|
|
17427
|
+
* is used; see {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}
|
|
17385
17428
|
*/
|
|
17386
17429
|
oLocale?: sap.ui.core.Locale
|
|
17387
17430
|
): sap.ui.core.format.FileSizeFormat;
|
|
17388
17431
|
/**
|
|
17389
17432
|
* Get an instance of the FileSizeFormat, which can be used for formatting.
|
|
17390
17433
|
*
|
|
17391
|
-
* If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale }
|
|
17392
|
-
* will be used.
|
|
17393
|
-
*
|
|
17394
17434
|
*
|
|
17395
17435
|
* @returns instance of the FileSizeFormat
|
|
17396
17436
|
*/
|
|
17397
17437
|
static getInstance(
|
|
17398
17438
|
/**
|
|
17399
|
-
* The locale to get the formatter for
|
|
17439
|
+
* The locale to get the formatter for; if no locale is given, a locale for the currently configured language
|
|
17440
|
+
* is used; see {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}
|
|
17400
17441
|
*/
|
|
17401
17442
|
oLocale?: sap.ui.core.Locale
|
|
17402
17443
|
): sap.ui.core.format.FileSizeFormat;
|
|
@@ -17437,7 +17478,10 @@ declare namespace sap {
|
|
|
17437
17478
|
* manner according to a set of format options.
|
|
17438
17479
|
*/
|
|
17439
17480
|
class ListFormat {
|
|
17440
|
-
|
|
17481
|
+
/**
|
|
17482
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
17483
|
+
*/
|
|
17484
|
+
protected constructor();
|
|
17441
17485
|
|
|
17442
17486
|
/**
|
|
17443
17487
|
* Get an instance of the ListFormat which can be used for formatting.
|
|
@@ -17497,7 +17541,10 @@ declare namespace sap {
|
|
|
17497
17541
|
* options.
|
|
17498
17542
|
*/
|
|
17499
17543
|
class NumberFormat extends sap.ui.base.Object {
|
|
17500
|
-
|
|
17544
|
+
/**
|
|
17545
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
17546
|
+
*/
|
|
17547
|
+
protected constructor();
|
|
17501
17548
|
|
|
17502
17549
|
/**
|
|
17503
17550
|
* Creates a new subclass of class sap.ui.core.format.NumberFormat with name `sClassName` and enriches it
|
|
@@ -17526,9 +17573,6 @@ declare namespace sap {
|
|
|
17526
17573
|
/**
|
|
17527
17574
|
* Get a currency instance of the NumberFormat, which can be used for formatting.
|
|
17528
17575
|
*
|
|
17529
|
-
* If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale }
|
|
17530
|
-
* will be used.
|
|
17531
|
-
*
|
|
17532
17576
|
* This instance has HALF_AWAY_FROM_ZERO set as default rounding mode. Please set the roundingMode property
|
|
17533
17577
|
* in oFormatOptions to change the default value.
|
|
17534
17578
|
*
|
|
@@ -17552,8 +17596,8 @@ declare namespace sap {
|
|
|
17552
17596
|
*
|
|
17553
17597
|
* As an alternative to using a fixed `symbol` for your custom currencies, you can also provide an ISO-Code.
|
|
17554
17598
|
* The provided ISO-Code will be used to look up the currency symbol in the global configuration, either
|
|
17555
|
-
* defined in the CLDR or custom defined on the Format Settings (see {@link sap.
|
|
17556
|
-
* {@link sap.
|
|
17599
|
+
* defined in the CLDR or custom defined on the Format Settings (see {@link module:sap/base/i18n/Formatting.setCustomCurrencies Formatting.setCustomCurrencies},
|
|
17600
|
+
* {@link module:sap/base/i18n/Formatting.addCustomCurrencies Formatting.addCustomCurrencies}).
|
|
17557
17601
|
*
|
|
17558
17602
|
* If no symbol is given at all, the custom currency key is used for formatting.
|
|
17559
17603
|
*
|
|
@@ -17604,8 +17648,8 @@ declare namespace sap {
|
|
|
17604
17648
|
* defines a set of custom currencies exclusive to this NumberFormat instance. Custom currencies must not
|
|
17605
17649
|
* only consist of digits. If custom currencies are defined on the instance, no other currencies can be
|
|
17606
17650
|
* formatted and parsed by this instance. Globally available custom currencies can be added via the global
|
|
17607
|
-
* configuration. See the above examples. See also {@link sap.
|
|
17608
|
-
* and {@link sap.
|
|
17651
|
+
* configuration. See the above examples. See also {@link module:sap/base/i18n/Formatting.setCustomCurrencies Formatting.setCustomCurrencies }
|
|
17652
|
+
* and {@link module:sap/base/i18n/Formatting.addCustomCurrencies Formatting.addCustomCurrencies}.
|
|
17609
17653
|
*/
|
|
17610
17654
|
customCurrencies?: Record<string, object>;
|
|
17611
17655
|
/**
|
|
@@ -17683,12 +17727,12 @@ declare namespace sap {
|
|
|
17683
17727
|
*/
|
|
17684
17728
|
preserveDecimals?: boolean;
|
|
17685
17729
|
/**
|
|
17686
|
-
*
|
|
17687
|
-
* maxFractionDigits
|
|
17688
|
-
* assigned
|
|
17730
|
+
* Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
|
|
17731
|
+
* `maxFractionDigits`. This can be assigned
|
|
17689
17732
|
* - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
|
|
17690
17733
|
* - via a function that is used for rounding the number and takes two parameters: the number itself,
|
|
17691
|
-
* and the number of decimal digits that should be reserved.
|
|
17734
|
+
* and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.121.0**;
|
|
17735
|
+
* string based numbers are not rounded via this custom function.
|
|
17692
17736
|
*/
|
|
17693
17737
|
roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
|
|
17694
17738
|
/**
|
|
@@ -17736,23 +17780,21 @@ declare namespace sap {
|
|
|
17736
17780
|
*/
|
|
17737
17781
|
style?: string;
|
|
17738
17782
|
/**
|
|
17739
|
-
* overrides the global configuration value {@link sap.
|
|
17783
|
+
* overrides the global configuration value {@link module:sap/base/i18n/Formatting.getTrailingCurrencyCode Formatting.getTrailingCurrencyCode},
|
|
17740
17784
|
* which has a default value of `true</>. This is ignored if oFormatOptions.currencyCode` is set to
|
|
17741
17785
|
* `false`, or if `oFormatOptions.pattern` is supplied.
|
|
17742
17786
|
*/
|
|
17743
17787
|
trailingCurrencyCode?: boolean;
|
|
17744
17788
|
},
|
|
17745
17789
|
/**
|
|
17746
|
-
*
|
|
17790
|
+
* The locale to get the formatter for; if no locale is given, a locale for the currently configured language
|
|
17791
|
+
* is used; see {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}
|
|
17747
17792
|
*/
|
|
17748
17793
|
oLocale?: sap.ui.core.Locale
|
|
17749
17794
|
): sap.ui.core.format.NumberFormat;
|
|
17750
17795
|
/**
|
|
17751
17796
|
* Get a float instance of the NumberFormat, which can be used for formatting.
|
|
17752
17797
|
*
|
|
17753
|
-
* If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale }
|
|
17754
|
-
* will be used.
|
|
17755
|
-
*
|
|
17756
17798
|
* This instance has HALF_AWAY_FROM_ZERO set as default rounding mode. Please set the roundingMode property
|
|
17757
17799
|
* in oFormatOptions to change the default value.
|
|
17758
17800
|
*
|
|
@@ -17858,12 +17900,12 @@ declare namespace sap {
|
|
|
17858
17900
|
*/
|
|
17859
17901
|
preserveDecimals?: boolean;
|
|
17860
17902
|
/**
|
|
17861
|
-
*
|
|
17862
|
-
* maxFractionDigits
|
|
17863
|
-
* assigned
|
|
17903
|
+
* Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
|
|
17904
|
+
* `maxFractionDigits`. This can be assigned
|
|
17864
17905
|
* - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
|
|
17865
17906
|
* - via a function that is used for rounding the number and takes two parameters: the number itself,
|
|
17866
|
-
* and the number of decimal digits that should be reserved.
|
|
17907
|
+
* and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.121.0**;
|
|
17908
|
+
* string based numbers are not rounded via this custom function.
|
|
17867
17909
|
*/
|
|
17868
17910
|
roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
|
|
17869
17911
|
/**
|
|
@@ -17901,16 +17943,14 @@ declare namespace sap {
|
|
|
17901
17943
|
style?: string;
|
|
17902
17944
|
},
|
|
17903
17945
|
/**
|
|
17904
|
-
*
|
|
17946
|
+
* The locale to get the formatter for; if no locale is given, a locale for the currently configured language
|
|
17947
|
+
* is used; see {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}
|
|
17905
17948
|
*/
|
|
17906
17949
|
oLocale?: sap.ui.core.Locale
|
|
17907
17950
|
): sap.ui.core.format.NumberFormat;
|
|
17908
17951
|
/**
|
|
17909
17952
|
* Get an integer instance of the NumberFormat, which can be used for formatting.
|
|
17910
17953
|
*
|
|
17911
|
-
* If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale }
|
|
17912
|
-
* will be used.
|
|
17913
|
-
*
|
|
17914
17954
|
* This instance has TOWARDS_ZERO set as default rounding mode. Please set the roundingMode property
|
|
17915
17955
|
* in oFormatOptions to change the default value.
|
|
17916
17956
|
*
|
|
@@ -18015,12 +18055,12 @@ declare namespace sap {
|
|
|
18015
18055
|
*/
|
|
18016
18056
|
preserveDecimals?: boolean;
|
|
18017
18057
|
/**
|
|
18018
|
-
*
|
|
18019
|
-
* maxFractionDigits
|
|
18020
|
-
* assigned
|
|
18058
|
+
* Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
|
|
18059
|
+
* `maxFractionDigits`. This can be assigned
|
|
18021
18060
|
* - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
|
|
18022
18061
|
* - via a function that is used for rounding the number and takes two parameters: the number itself,
|
|
18023
|
-
* and the number of decimal digits that should be reserved.
|
|
18062
|
+
* and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.121.0**;
|
|
18063
|
+
* string based numbers are not rounded via this custom function.
|
|
18024
18064
|
*/
|
|
18025
18065
|
roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
|
|
18026
18066
|
/**
|
|
@@ -18058,7 +18098,8 @@ declare namespace sap {
|
|
|
18058
18098
|
style?: string;
|
|
18059
18099
|
},
|
|
18060
18100
|
/**
|
|
18061
|
-
*
|
|
18101
|
+
* The locale to get the formatter for; if no locale is given, a locale for the currently configured language
|
|
18102
|
+
* is used; see {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}
|
|
18062
18103
|
*/
|
|
18063
18104
|
oLocale?: sap.ui.core.Locale
|
|
18064
18105
|
): sap.ui.core.format.NumberFormat;
|
|
@@ -18072,9 +18113,6 @@ declare namespace sap {
|
|
|
18072
18113
|
/**
|
|
18073
18114
|
* Get a percent instance of the NumberFormat, which can be used for formatting.
|
|
18074
18115
|
*
|
|
18075
|
-
* If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale }
|
|
18076
|
-
* will be used.
|
|
18077
|
-
*
|
|
18078
18116
|
* This instance has HALF_AWAY_FROM_ZERO set as default rounding mode. Please set the roundingMode property
|
|
18079
18117
|
* in oFormatOptions to change the default value.
|
|
18080
18118
|
*
|
|
@@ -18170,12 +18208,12 @@ declare namespace sap {
|
|
|
18170
18208
|
*/
|
|
18171
18209
|
preserveDecimals?: boolean;
|
|
18172
18210
|
/**
|
|
18173
|
-
*
|
|
18174
|
-
* maxFractionDigits
|
|
18175
|
-
* assigned
|
|
18211
|
+
* Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
|
|
18212
|
+
* `maxFractionDigits`. This can be assigned
|
|
18176
18213
|
* - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
|
|
18177
18214
|
* - via a function that is used for rounding the number and takes two parameters: the number itself,
|
|
18178
|
-
* and the number of decimal digits that should be reserved.
|
|
18215
|
+
* and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.121.0**;
|
|
18216
|
+
* string based numbers are not rounded via this custom function.
|
|
18179
18217
|
*/
|
|
18180
18218
|
roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
|
|
18181
18219
|
/**
|
|
@@ -18213,16 +18251,14 @@ declare namespace sap {
|
|
|
18213
18251
|
style?: string;
|
|
18214
18252
|
},
|
|
18215
18253
|
/**
|
|
18216
|
-
*
|
|
18254
|
+
* The locale to get the formatter for; if no locale is given, a locale for the currently configured language
|
|
18255
|
+
* is used; see {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}
|
|
18217
18256
|
*/
|
|
18218
18257
|
oLocale?: sap.ui.core.Locale
|
|
18219
18258
|
): sap.ui.core.format.NumberFormat;
|
|
18220
18259
|
/**
|
|
18221
18260
|
* Get a unit instance of the NumberFormat, which can be used for formatting units.
|
|
18222
18261
|
*
|
|
18223
|
-
* If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale }
|
|
18224
|
-
* will be used.
|
|
18225
|
-
*
|
|
18226
18262
|
* This instance has HALF_AWAY_FROM_ZERO set as default rounding mode. Please set the roundingMode property
|
|
18227
18263
|
* in oFormatOptions to change the default value.
|
|
18228
18264
|
*
|
|
@@ -18324,12 +18360,12 @@ declare namespace sap {
|
|
|
18324
18360
|
*/
|
|
18325
18361
|
preserveDecimals?: boolean;
|
|
18326
18362
|
/**
|
|
18327
|
-
*
|
|
18328
|
-
* maxFractionDigits
|
|
18329
|
-
* assigned
|
|
18363
|
+
* Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
|
|
18364
|
+
* `maxFractionDigits`. This can be assigned
|
|
18330
18365
|
* - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
|
|
18331
18366
|
* - via a function that is used for rounding the number and takes two parameters: the number itself,
|
|
18332
|
-
* and the number of decimal digits that should be reserved.
|
|
18367
|
+
* and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.121.0**;
|
|
18368
|
+
* string based numbers are not rounded via this custom function.
|
|
18333
18369
|
*/
|
|
18334
18370
|
roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
|
|
18335
18371
|
/**
|
|
@@ -18380,7 +18416,8 @@ declare namespace sap {
|
|
|
18380
18416
|
style?: string;
|
|
18381
18417
|
},
|
|
18382
18418
|
/**
|
|
18383
|
-
*
|
|
18419
|
+
* The locale to get the formatter for; if no locale is given, a locale for the currently configured language
|
|
18420
|
+
* is used; see {@link module:sap/base/i18n/Formatting.getLanguageTag Formatting.getLanguageTag}
|
|
18384
18421
|
*/
|
|
18385
18422
|
oLocale?: sap.ui.core.Locale
|
|
18386
18423
|
): sap.ui.core.format.NumberFormat;
|
|
@@ -19341,6 +19378,9 @@ declare namespace sap {
|
|
|
19341
19378
|
namespace XMLView {
|
|
19342
19379
|
/**
|
|
19343
19380
|
* Specifies the available preprocessor types for XMLViews
|
|
19381
|
+
*
|
|
19382
|
+
* This enum is part of the 'sap/ui/core/mvc/XMLView' module export and must be accessed by the property
|
|
19383
|
+
* 'PreprocessorType'.
|
|
19344
19384
|
* See:
|
|
19345
19385
|
* sap.ui.core.mvc.XMLView
|
|
19346
19386
|
* sap.ui.core.mvc.View.Preprocessor
|
|
@@ -19851,7 +19891,10 @@ declare namespace sap {
|
|
|
19851
19891
|
* in the documentation.
|
|
19852
19892
|
*/
|
|
19853
19893
|
class ControllerExtension extends sap.ui.base.Object {
|
|
19854
|
-
|
|
19894
|
+
/**
|
|
19895
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
19896
|
+
*/
|
|
19897
|
+
protected constructor();
|
|
19855
19898
|
|
|
19856
19899
|
/**
|
|
19857
19900
|
* Creates a new subclass of class sap.ui.core.mvc.ControllerExtension with name `sClassName` and enriches
|
|
@@ -20935,7 +20978,12 @@ declare namespace sap {
|
|
|
20935
20978
|
* @returns A control or array of controls representing the view user interface or a Promise resolving with
|
|
20936
20979
|
* a control or an array of controls.
|
|
20937
20980
|
*/
|
|
20938
|
-
createContent(
|
|
20981
|
+
createContent(
|
|
20982
|
+
/**
|
|
20983
|
+
* The controller of the view
|
|
20984
|
+
*/
|
|
20985
|
+
oController: sap.ui.core.mvc.Controller
|
|
20986
|
+
):
|
|
20939
20987
|
| sap.ui.core.Control
|
|
20940
20988
|
| sap.ui.core.Control[]
|
|
20941
20989
|
| Promise<sap.ui.core.Control | sap.ui.core.Control[]>;
|
|
@@ -21743,6 +21791,8 @@ declare namespace sap {
|
|
|
21743
21791
|
* Types of popups to set as aria-haspopup attribute. Most of the values (except "None") of the enumeration
|
|
21744
21792
|
* are taken from the ARIA specification: https://www.w3.org/TR/wai-aria/#aria-haspopup
|
|
21745
21793
|
*
|
|
21794
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'aria.HasPopup'.
|
|
21795
|
+
*
|
|
21746
21796
|
* @since 1.84
|
|
21747
21797
|
*/
|
|
21748
21798
|
enum HasPopup {
|
|
@@ -22311,6 +22361,9 @@ declare namespace sap {
|
|
|
22311
22361
|
* scenarios or levels. The implementation of the Control (JavaScript or CSS) has to be done differently
|
|
22312
22362
|
* for each animation mode.
|
|
22313
22363
|
*
|
|
22364
|
+
* This enum is part of the 'sap/ui/core/Configuration' module export and must be accessed by the property
|
|
22365
|
+
* 'AnimationMode'.
|
|
22366
|
+
*
|
|
22314
22367
|
* @since 1.50.0
|
|
22315
22368
|
* @deprecated (since 1.120) - Please use module {@link module:sap/ui/core/AnimationMode AnimationMode }
|
|
22316
22369
|
* instead.
|
|
@@ -22575,7 +22628,10 @@ declare namespace sap {
|
|
|
22575
22628
|
* @since 1.60
|
|
22576
22629
|
*/
|
|
22577
22630
|
class Hyphenation extends sap.ui.base.ManagedObject {
|
|
22578
|
-
|
|
22631
|
+
/**
|
|
22632
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22633
|
+
*/
|
|
22634
|
+
protected constructor();
|
|
22579
22635
|
|
|
22580
22636
|
/**
|
|
22581
22637
|
* Creates a new subclass of class sap.ui.core.hyphenation.Hyphenation with name `sClassName` and enriches
|
|
@@ -22839,6 +22895,8 @@ declare namespace sap {
|
|
|
22839
22895
|
*
|
|
22840
22896
|
* "Right" and "Left" will stay the same in RTL mode, but "Begin" and "End" will flip to the other side
|
|
22841
22897
|
* ("Begin" is "Right" in RTL).
|
|
22898
|
+
*
|
|
22899
|
+
* This enum is part of the 'sap/ui/core/Popup' module export and must be accessed by the property 'Dock'.
|
|
22842
22900
|
*/
|
|
22843
22901
|
enum Dock {
|
|
22844
22902
|
BeginBottom = "begin bottom",
|
|
@@ -23283,7 +23341,11 @@ declare namespace sap {
|
|
|
23283
23341
|
}
|
|
23284
23342
|
|
|
23285
23343
|
/**
|
|
23286
|
-
* Class for manipulating and receiving changes of the browser hash with
|
|
23344
|
+
* Class for manipulating and receiving changes of the browser hash with `hasher` framework.
|
|
23345
|
+
*
|
|
23346
|
+
* **IMPORTANT:** To set or replace the current browser hash, use {@link #setHash} or {@link #replaceHash }
|
|
23347
|
+
* and do NOT interact with the `hasher` framework directly in order to have the navigation direction calculated
|
|
23348
|
+
* as accurate as possible.
|
|
23287
23349
|
*
|
|
23288
23350
|
* Fires a `hashChanged` event if the browser hash changes.
|
|
23289
23351
|
*/
|
|
@@ -23350,7 +23412,7 @@ declare namespace sap {
|
|
|
23350
23412
|
*/
|
|
23351
23413
|
destroy(): void;
|
|
23352
23414
|
/**
|
|
23353
|
-
* Fires the
|
|
23415
|
+
* Fires the `hashChanged` event, may be extended to modify the hash before firing the event
|
|
23354
23416
|
*
|
|
23355
23417
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23356
23418
|
*/
|
|
@@ -23380,8 +23442,7 @@ declare namespace sap {
|
|
|
23380
23442
|
*/
|
|
23381
23443
|
getRelevantEventsInfo(): sap.ui.core.routing.HashChangerEventInfo[];
|
|
23382
23444
|
/**
|
|
23383
|
-
* Will start listening to
|
|
23384
|
-
* with the initial hash.
|
|
23445
|
+
* Will start listening to hash changes. This will also fire a `hashChanged` event with the initial hash.
|
|
23385
23446
|
*
|
|
23386
23447
|
*
|
|
23387
23448
|
* @returns false if it was initialized before, true if it was initialized the first time
|
|
@@ -23390,12 +23451,21 @@ declare namespace sap {
|
|
|
23390
23451
|
/**
|
|
23391
23452
|
* Replaces the hash with a certain value. When using the replace function, no browser history entry is
|
|
23392
23453
|
* written. If you want to have an entry in the browser history, please use the {@link #setHash} function.
|
|
23454
|
+
*
|
|
23455
|
+
* The `sDirection` parameter can be used to provide direction information on the navigation which leads
|
|
23456
|
+
* to this hash replacement. This is typically used when synchronizing the hashes between multiple frames
|
|
23457
|
+
* to provide information to the frame where the hash is replaced with the navigation direction in the other
|
|
23458
|
+
* frame where the navigation occurs.
|
|
23393
23459
|
*/
|
|
23394
23460
|
replaceHash(
|
|
23395
23461
|
/**
|
|
23396
23462
|
* New hash
|
|
23397
23463
|
*/
|
|
23398
|
-
sHash: string
|
|
23464
|
+
sHash: string,
|
|
23465
|
+
/**
|
|
23466
|
+
* The direction information for this hash replacement
|
|
23467
|
+
*/
|
|
23468
|
+
sDirection: sap.ui.core.routing.HistoryDirection
|
|
23399
23469
|
): void;
|
|
23400
23470
|
/**
|
|
23401
23471
|
* Sets the hash to a certain value. When using this function, a browser history entry is written. If you
|
|
@@ -25775,6 +25845,8 @@ declare namespace sap {
|
|
|
25775
25845
|
}
|
|
25776
25846
|
/**
|
|
25777
25847
|
* Enumeration for different HistoryDirections.
|
|
25848
|
+
*
|
|
25849
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'routing.HistoryDirection'.
|
|
25778
25850
|
*/
|
|
25779
25851
|
enum HistoryDirection {
|
|
25780
25852
|
/**
|
|
@@ -28073,7 +28145,7 @@ declare namespace sap {
|
|
|
28073
28145
|
/**
|
|
28074
28146
|
* ID of the element which is the current target of the association {@link #getTemplate template}, or `null`.
|
|
28075
28147
|
*/
|
|
28076
|
-
getTemplate(): sap.ui.core.ID;
|
|
28148
|
+
getTemplate(): sap.ui.core.ID | null;
|
|
28077
28149
|
/**
|
|
28078
28150
|
* Returns the instance specific renderer for an anonymous template control.
|
|
28079
28151
|
*
|
|
@@ -28516,6 +28588,9 @@ declare namespace sap {
|
|
|
28516
28588
|
|
|
28517
28589
|
/**
|
|
28518
28590
|
* Enum for the method.
|
|
28591
|
+
*
|
|
28592
|
+
* This enum is part of the 'sap/ui/core/util/MockServer' module export and must be accessed by the property
|
|
28593
|
+
* 'HTTPMETHOD'.
|
|
28519
28594
|
*/
|
|
28520
28595
|
enum HTTPMETHOD {
|
|
28521
28596
|
DELETE = "DELETE",
|
|
@@ -30594,6 +30669,9 @@ declare namespace sap {
|
|
|
30594
30669
|
*
|
|
30595
30670
|
* One (or more) of these have to be selected to create an SapPcpWebSocket connection (or no protocol at
|
|
30596
30671
|
* all).
|
|
30672
|
+
*
|
|
30673
|
+
* This enum is part of the 'sap/ui/core/ws/SapPcpWebSocket' module export and must be accessed by the property
|
|
30674
|
+
* 'SUPPORTED_PROTOCOLS'.
|
|
30597
30675
|
*/
|
|
30598
30676
|
enum SUPPORTED_PROTOCOLS {
|
|
30599
30677
|
v10 = "v10.pcp.sap.com",
|
|
@@ -31874,6 +31952,9 @@ declare namespace sap {
|
|
|
31874
31952
|
* - the content must be enclosed in tags, pure text is not supported.
|
|
31875
31953
|
* - if the content contains script tags, they will be executed but they will not appear in the resulting
|
|
31876
31954
|
* DOM tree. When the contained code tries to find the corresponding script tag, it will fail.
|
|
31955
|
+
* - if the control is used in an {@link sap/ui/core/mvc/XMLView XMLView}, ensure proper escaping as described
|
|
31956
|
+
* in {@link https://ui5.sap.com/#/topic/5ee3be4727864bb08b991414e0428e38 Control Properties and Associations in XML Views }
|
|
31957
|
+
*
|
|
31877
31958
|
*
|
|
31878
31959
|
* Please consider to consult the jQuery documentation as well.
|
|
31879
31960
|
*
|
|
@@ -34229,8 +34310,8 @@ declare namespace sap {
|
|
|
34229
34310
|
* Retrieves a resource bundle for the given library and locale.
|
|
34230
34311
|
*
|
|
34231
34312
|
* If only one argument is given, it is assumed to be the libraryName. The locale then falls back to the
|
|
34232
|
-
* current {@link sap.
|
|
34233
|
-
* also falls back to a default: "sap.ui.core".
|
|
34313
|
+
* current {@link module:sap/base/i18n/Localization.getLanguage session locale}. If no argument is given,
|
|
34314
|
+
* the library also falls back to a default: "sap.ui.core".
|
|
34234
34315
|
*
|
|
34235
34316
|
* Configuration via App Descriptor: When the App Descriptor for the library is available without further
|
|
34236
34317
|
* request (manifest.json has been preloaded) and when the App Descriptor is at least of version 1.9.0 or
|
|
@@ -34282,8 +34363,8 @@ declare namespace sap {
|
|
|
34282
34363
|
* Retrieves a resource bundle for the given library and locale.
|
|
34283
34364
|
*
|
|
34284
34365
|
* If only one argument is given, it is assumed to be the libraryName. The locale then falls back to the
|
|
34285
|
-
* current {@link sap.
|
|
34286
|
-
* also falls back to a default: "sap.ui.core".
|
|
34366
|
+
* current {@link module:sap/base/i18n/Localization.getLanguage session locale}. If no argument is given,
|
|
34367
|
+
* the library also falls back to a default: "sap.ui.core".
|
|
34287
34368
|
*
|
|
34288
34369
|
* Configuration via App Descriptor: When the App Descriptor for the library is available without further
|
|
34289
34370
|
* request (manifest.json has been preloaded) and when the App Descriptor is at least of version 1.9.0 or
|
|
@@ -34488,7 +34569,7 @@ declare namespace sap {
|
|
|
34488
34569
|
*
|
|
34489
34570
|
* - With the `noLibraryCSS` property, the library can be marked as 'theming-free'. Otherwise, the framework
|
|
34490
34571
|
* will add a <link> tag to the page's head, pointing to the library's theme-specific stylesheet.
|
|
34491
|
-
* The creation of such a <link> tag can be suppressed with the {@link sap.
|
|
34572
|
+
* The creation of such a <link> tag can be suppressed with the {@link https://ui5.sap.com/#/topic/91f2d03b6f4d1014b6dd926db0e91070 global configuration option }
|
|
34492
34573
|
* `preloadLibCss`. It can contain a list of library names for which no stylesheet should be included. This
|
|
34493
34574
|
* is e.g. useful when an application merges the CSS for multiple libraries and already loaded the resulting
|
|
34494
34575
|
* stylesheet.
|
|
@@ -36812,7 +36893,7 @@ declare namespace sap {
|
|
|
36812
36893
|
* ID of the element which is the current target of the association {@link #getComponent component}, or
|
|
36813
36894
|
* `null`.
|
|
36814
36895
|
*/
|
|
36815
|
-
getComponent(): sap.ui.core.ID;
|
|
36896
|
+
getComponent(): sap.ui.core.ID | null;
|
|
36816
36897
|
/**
|
|
36817
36898
|
* Gets current value of property {@link #getHandleValidation handleValidation}.
|
|
36818
36899
|
*
|
|
@@ -36984,7 +37065,7 @@ declare namespace sap {
|
|
|
36984
37065
|
* ID of an element which becomes the new target of this component association. Alternatively, an element
|
|
36985
37066
|
* instance may be given.
|
|
36986
37067
|
*/
|
|
36987
|
-
vComponent:
|
|
37068
|
+
vComponent: sap.ui.core.ID | sap.ui.core.UIComponent
|
|
36988
37069
|
): this;
|
|
36989
37070
|
/**
|
|
36990
37071
|
* Sets a new value for property {@link #getHandleValidation handleValidation}.
|
|
@@ -37830,17 +37911,13 @@ declare namespace sap {
|
|
|
37830
37911
|
*/
|
|
37831
37912
|
getAccessibilityInfo(): sap.ui.core.AccessibilityInfo;
|
|
37832
37913
|
/**
|
|
37833
|
-
* Gets current value of property
|
|
37834
|
-
*
|
|
37835
|
-
* Whether the control is currently in blocked state.
|
|
37836
|
-
*
|
|
37837
|
-
* Default value is `false`.
|
|
37914
|
+
* Gets current value of property blocked.
|
|
37838
37915
|
*
|
|
37839
|
-
* @deprecated (since 1.69) -
|
|
37916
|
+
* @deprecated (since 1.69) - the blocked property is deprecated. There is no accessibility support for
|
|
37840
37917
|
* this property. Blocked controls should not be used inside Controls, which rely on keyboard navigation,
|
|
37841
37918
|
* e.g. List controls.
|
|
37842
37919
|
*
|
|
37843
|
-
* @returns
|
|
37920
|
+
* @returns Whether the control is currently in blocked state. Default is 'false'.
|
|
37844
37921
|
*/
|
|
37845
37922
|
getBlocked(): boolean;
|
|
37846
37923
|
/**
|
|
@@ -39873,11 +39950,53 @@ declare namespace sap {
|
|
|
39873
39950
|
* no representation in HTML. By default, in contrast to declarative Views, they do not do anything to guarantee
|
|
39874
39951
|
* ID uniqueness.
|
|
39875
39952
|
*
|
|
39876
|
-
* But like Views they can be defined in several Formats (XML
|
|
39877
|
-
*
|
|
39878
|
-
*
|
|
39879
|
-
*
|
|
39880
|
-
*
|
|
39953
|
+
* But like Views they can be defined in several Formats (XML and JavaScript; support for other types can
|
|
39954
|
+
* be plugged in), the declaration syntax is the same as in declarative Views and the name and location
|
|
39955
|
+
* of the Fragment files is similar to Views. Controller methods can also be referenced in the declarations,
|
|
39956
|
+
* but as Fragments do not have their own controllers, this requires the Fragments to be used within a View
|
|
39957
|
+
* which does have a controller. That controller is used, then.
|
|
39958
|
+
*
|
|
39959
|
+
* A JS Fragment can be defined in a dedicated module named "*.fragment.js". This module must return an
|
|
39960
|
+
* object with a `createContent` method which has to return a control. JS Fragments are also capable of
|
|
39961
|
+
* asynchronously creating content. To do so, the `createContent` function must return a Promise resolving
|
|
39962
|
+
* with the content controls.
|
|
39963
|
+
*
|
|
39964
|
+
* **Example:** Defining a JS Fragment
|
|
39965
|
+
* ```javascript
|
|
39966
|
+
*
|
|
39967
|
+
* // e.g. module "my/sample/Button.fragment.js"
|
|
39968
|
+
* sap.ui.define(["sap/m/Button"], function(Button) {
|
|
39969
|
+
* return {
|
|
39970
|
+
* createContent: (oController) => {
|
|
39971
|
+
* const oButton = new Button({
|
|
39972
|
+
* text: "Hello World" ,
|
|
39973
|
+
* press: oController.doSomething
|
|
39974
|
+
* });
|
|
39975
|
+
* return oButton;
|
|
39976
|
+
* }
|
|
39977
|
+
* };
|
|
39978
|
+
* });
|
|
39979
|
+
* ```
|
|
39980
|
+
*
|
|
39981
|
+
*
|
|
39982
|
+
* **Example:** Defining a JS Fragment with a async 'createContent' method
|
|
39983
|
+
* ```javascript
|
|
39984
|
+
*
|
|
39985
|
+
* // e.g. module "my/sample/AsyncButton.fragment.js"
|
|
39986
|
+
* sap.ui.define(["sap/m/Button", "sap/base/i18n/ResourceBundle"], function(Button, ResourceBundle) {
|
|
39987
|
+
* return {
|
|
39988
|
+
* createContent: async (oController) => {
|
|
39989
|
+
* // loading a resource bundle async to retrieve button text
|
|
39990
|
+
* const myBundle = await ResourceBundle.create({ bundleName: "...", async: true });
|
|
39991
|
+
* return new Button({ text: myBundle.getText("...") });
|
|
39992
|
+
* }
|
|
39993
|
+
* };
|
|
39994
|
+
* });
|
|
39995
|
+
* ```
|
|
39996
|
+
*
|
|
39997
|
+
*
|
|
39998
|
+
* Fragments can be instantiated with {@link sap.ui.core.Fragment.load Fragment.load} or the {@link sap.ui.core.mvc.Controller.loadFragment loadFragment }
|
|
39999
|
+
* function from a controller.
|
|
39881
40000
|
*
|
|
39882
40001
|
* Do not call the Fragment constructor directly!
|
|
39883
40002
|
*
|
|
@@ -39961,8 +40080,8 @@ declare namespace sap {
|
|
|
39961
40080
|
*
|
|
39962
40081
|
* The Fragment object itself is not an entity with significance beyond this factory.
|
|
39963
40082
|
*
|
|
39964
|
-
* The Fragment types "XML", "JS" and "HTML" are available by default; additional
|
|
39965
|
-
* added using the sap.ui.core.Fragment.registerType() function.
|
|
40083
|
+
* The Fragment types "XML", "JS" and "HTML" (type "HTML" is deprecated) are available by default; additional
|
|
40084
|
+
* Fragment types can be added using the sap.ui.core.Fragment.registerType() function.
|
|
39966
40085
|
*
|
|
39967
40086
|
* Further properties may be supported by future or custom Fragment types. Any given properties will be
|
|
39968
40087
|
* forwarded to the Fragment implementation.
|
|
@@ -39988,7 +40107,7 @@ declare namespace sap {
|
|
|
39988
40107
|
*/
|
|
39989
40108
|
name?: string;
|
|
39990
40109
|
/**
|
|
39991
|
-
* the Fragment type, e.g. "XML", "JS", or "HTML" (
|
|
40110
|
+
* the Fragment type, e.g. "XML", "JS", or "HTML" (type "HTML" is deprecated). Default is "XML"
|
|
39992
40111
|
*/
|
|
39993
40112
|
type?: string;
|
|
39994
40113
|
/**
|
|
@@ -40295,6 +40414,9 @@ declare namespace sap {
|
|
|
40295
40414
|
* - the content must be enclosed in tags, pure text is not supported.
|
|
40296
40415
|
* - if the content contains script tags, they will be executed but they will not appear in the resulting
|
|
40297
40416
|
* DOM tree. When the contained code tries to find the corresponding script tag, it will fail.
|
|
40417
|
+
* - if the control is used in an {@link sap/ui/core/mvc/XMLView XMLView}, ensure proper escaping as described
|
|
40418
|
+
* in {@link https://ui5.sap.com/#/topic/5ee3be4727864bb08b991414e0428e38 Control Properties and Associations in XML Views }
|
|
40419
|
+
*
|
|
40298
40420
|
*
|
|
40299
40421
|
* Please consider to consult the jQuery documentation as well.
|
|
40300
40422
|
*
|
|
@@ -40378,6 +40500,9 @@ declare namespace sap {
|
|
|
40378
40500
|
* - the content must be enclosed in tags, pure text is not supported.
|
|
40379
40501
|
* - if the content contains script tags, they will be executed but they will not appear in the resulting
|
|
40380
40502
|
* DOM tree. When the contained code tries to find the corresponding script tag, it will fail.
|
|
40503
|
+
* - if the control is used in an {@link sap/ui/core/mvc/XMLView XMLView}, ensure proper escaping as described
|
|
40504
|
+
* in {@link https://ui5.sap.com/#/topic/5ee3be4727864bb08b991414e0428e38 Control Properties and Associations in XML Views }
|
|
40505
|
+
*
|
|
40381
40506
|
*
|
|
40382
40507
|
* Please consider to consult the jQuery documentation as well.
|
|
40383
40508
|
*
|
|
@@ -41236,16 +41361,22 @@ declare namespace sap {
|
|
|
41236
41361
|
*
|
|
41237
41362
|
* Overview: This class is a singleton. The class instance can be retrieved via the static method {@link sap.ui.core.InvisibleMessage.getInstance}.
|
|
41238
41363
|
*
|
|
41239
|
-
* **Note:**
|
|
41240
|
-
*
|
|
41241
|
-
* as early as possible in the application logic
|
|
41242
|
-
*
|
|
41243
|
-
* to be announced by the screen reader and the live region’s mode
|
|
41364
|
+
* **Note:** According to the ARIA standard, live regions should be presented and should be empty. To enhance
|
|
41365
|
+
* accessibility, it is recommended to instantiate `InvisibleMessage` via `sap.ui.core.InvisibleMessage.getInstance()`
|
|
41366
|
+
* as early as possible in the application logic. For example, during Component initialization, main Controller
|
|
41367
|
+
* initialization, after Core initialization, etc. Once instantiated, use the `announce` method to specify
|
|
41368
|
+
* the text that has to be announced by the screen reader and set the live region’s mode.
|
|
41369
|
+
*
|
|
41370
|
+
* **Note:** Ensure that the `announce` method is called after the DOM is ready, to guarantee its intended
|
|
41371
|
+
* effect. Calling it before the DOM is ready may result in no announcement being made.
|
|
41244
41372
|
*
|
|
41245
41373
|
* @since 1.78
|
|
41246
41374
|
*/
|
|
41247
41375
|
class InvisibleMessage extends sap.ui.base.ManagedObject {
|
|
41248
|
-
|
|
41376
|
+
/**
|
|
41377
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
41378
|
+
*/
|
|
41379
|
+
protected constructor();
|
|
41249
41380
|
|
|
41250
41381
|
/**
|
|
41251
41382
|
* Creates a new subclass of class sap.ui.core.InvisibleMessage with name `sClassName` and enriches it with
|
|
@@ -41725,7 +41856,10 @@ declare namespace sap {
|
|
|
41725
41856
|
* @since 1.118
|
|
41726
41857
|
*/
|
|
41727
41858
|
class Lib extends sap.ui.base.Object {
|
|
41728
|
-
|
|
41859
|
+
/**
|
|
41860
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
41861
|
+
*/
|
|
41862
|
+
protected constructor();
|
|
41729
41863
|
|
|
41730
41864
|
/**
|
|
41731
41865
|
* Creates a new subclass of class sap.ui.core.Lib with name `sClassName` and enriches it with the information
|
|
@@ -41765,7 +41899,7 @@ declare namespace sap {
|
|
|
41765
41899
|
* loaded yet, synchronous request will be used to load the resource bundle.
|
|
41766
41900
|
*
|
|
41767
41901
|
* If only one argument is given, it is assumed to be the library name. The locale then falls back to the
|
|
41768
|
-
* current {@link sap.
|
|
41902
|
+
* current {@link module:sap/base/i18n/Localization.getLanguage session locale}.
|
|
41769
41903
|
*
|
|
41770
41904
|
* Configuration via App Descriptor: When the App Descriptor for the library is available without further
|
|
41771
41905
|
* request (manifest.json has been preloaded) and when the App Descriptor is at least of version 1.9.0 or
|
|
@@ -41822,7 +41956,7 @@ declare namespace sap {
|
|
|
41822
41956
|
*
|
|
41823
41957
|
* - With the `noLibraryCSS` property, the library can be marked as 'theming-free'. Otherwise, the framework
|
|
41824
41958
|
* will add a <link> tag to the page's head, pointing to the library's theme-specific stylesheet.
|
|
41825
|
-
* The creation of such a <link> tag can be suppressed with the {@link sap.
|
|
41959
|
+
* The creation of such a <link> tag can be suppressed with the {@link https://ui5.sap.com/#/topic/91f2d03b6f4d1014b6dd926db0e91070 global configuration option }
|
|
41826
41960
|
* `preloadLibCss`. It can contain a list of library names for which no stylesheet should be included. This
|
|
41827
41961
|
* is e.g. useful when an application merges the CSS for multiple libraries and already loaded the resulting
|
|
41828
41962
|
* stylesheet.
|
|
@@ -42380,8 +42514,8 @@ declare namespace sap {
|
|
|
42380
42514
|
* of SAP languages. This method has no knowledge about the concrete languages of any given backend system.
|
|
42381
42515
|
*
|
|
42382
42516
|
* @since 1.17.0
|
|
42383
|
-
* @deprecated (since 1.44) - use {@link sap.
|
|
42384
|
-
* class allows to configure an SAP Logon language.
|
|
42517
|
+
* @deprecated (since 1.44) - use {@link module:sap/base/i18n/Localization.getSAPLogonLanguage} instead
|
|
42518
|
+
* as that class allows to configure an SAP Logon language.
|
|
42385
42519
|
*
|
|
42386
42520
|
* @returns a language code that should
|
|
42387
42521
|
*/
|
|
@@ -44843,7 +44977,10 @@ declare namespace sap {
|
|
|
44843
44977
|
* rendering optimization.
|
|
44844
44978
|
*/
|
|
44845
44979
|
class RenderManager extends Object {
|
|
44846
|
-
|
|
44980
|
+
/**
|
|
44981
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
44982
|
+
*/
|
|
44983
|
+
protected constructor();
|
|
44847
44984
|
|
|
44848
44985
|
/**
|
|
44849
44986
|
* Creates the ID to be used for the invisible Placeholder DOM element. This method can be used to get direct
|
|
@@ -45744,7 +45881,10 @@ declare namespace sap {
|
|
|
45744
45881
|
* create instances, do not call inherited methods).
|
|
45745
45882
|
*/
|
|
45746
45883
|
class ResizeHandler extends sap.ui.base.Object {
|
|
45747
|
-
|
|
45884
|
+
/**
|
|
45885
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
45886
|
+
*/
|
|
45887
|
+
protected constructor();
|
|
45748
45888
|
|
|
45749
45889
|
/**
|
|
45750
45890
|
* Deregisters a previously registered handler for resize events with the given registration ID.
|
|
@@ -46841,7 +46981,10 @@ declare namespace sap {
|
|
|
46841
46981
|
* normal control tree, but nevertheless should receive model or binding context updates.
|
|
46842
46982
|
*/
|
|
46843
46983
|
class UIArea extends sap.ui.base.ManagedObject {
|
|
46844
|
-
|
|
46984
|
+
/**
|
|
46985
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
46986
|
+
*/
|
|
46987
|
+
protected constructor();
|
|
46845
46988
|
|
|
46846
46989
|
/**
|
|
46847
46990
|
* Enabled or disables logging of certain event types.
|
|
@@ -47937,6 +48080,8 @@ declare namespace sap {
|
|
|
47937
48080
|
* Defines the accessible landmark roles for ARIA support. This enumeration is used with the AccessibleRole
|
|
47938
48081
|
* control property. For more information, go to "Roles for Accessible Rich Internet Applications (WAI-ARIA
|
|
47939
48082
|
* Roles)" at the www.w3.org homepage.
|
|
48083
|
+
*
|
|
48084
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'AccessibleLandmarkRole'.
|
|
47940
48085
|
*/
|
|
47941
48086
|
enum AccessibleLandmarkRole {
|
|
47942
48087
|
/**
|
|
@@ -48002,6 +48147,8 @@ declare namespace sap {
|
|
|
48002
48147
|
* Defines the accessible roles for ARIA support. This enumeration is used with the AccessibleRole control
|
|
48003
48148
|
* property. For more information, goto "Roles for Accessible Rich Internet Applications (WAI-ARIA Roles)"
|
|
48004
48149
|
* at the www.w3.org homepage.
|
|
48150
|
+
*
|
|
48151
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'AccessibleRole'.
|
|
48005
48152
|
*/
|
|
48006
48153
|
enum AccessibleRole {
|
|
48007
48154
|
/**
|
|
@@ -48253,6 +48400,8 @@ declare namespace sap {
|
|
|
48253
48400
|
}
|
|
48254
48401
|
/**
|
|
48255
48402
|
* Configuration options for the colors of a progress bar.
|
|
48403
|
+
*
|
|
48404
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'BarColor'.
|
|
48256
48405
|
*/
|
|
48257
48406
|
enum BarColor {
|
|
48258
48407
|
/**
|
|
@@ -48274,6 +48423,8 @@ declare namespace sap {
|
|
|
48274
48423
|
}
|
|
48275
48424
|
/**
|
|
48276
48425
|
* Configuration options for the `BusyIndicator` size.
|
|
48426
|
+
*
|
|
48427
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'BusyIndicatorSize'.
|
|
48277
48428
|
*/
|
|
48278
48429
|
enum BusyIndicatorSize {
|
|
48279
48430
|
/**
|
|
@@ -48326,6 +48477,8 @@ declare namespace sap {
|
|
|
48326
48477
|
}
|
|
48327
48478
|
/**
|
|
48328
48479
|
* Enumeration for different lifecycle behaviors of components created by the `ComponentContainer`.
|
|
48480
|
+
*
|
|
48481
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'ComponentLifecycle'.
|
|
48329
48482
|
*/
|
|
48330
48483
|
enum ComponentLifecycle {
|
|
48331
48484
|
/**
|
|
@@ -48348,6 +48501,8 @@ declare namespace sap {
|
|
|
48348
48501
|
}
|
|
48349
48502
|
/**
|
|
48350
48503
|
* Font design for texts.
|
|
48504
|
+
*
|
|
48505
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'Design'.
|
|
48351
48506
|
*/
|
|
48352
48507
|
enum Design {
|
|
48353
48508
|
/**
|
|
@@ -48361,6 +48516,8 @@ declare namespace sap {
|
|
|
48361
48516
|
}
|
|
48362
48517
|
/**
|
|
48363
48518
|
* Configuration options for horizontal alignments of controls.
|
|
48519
|
+
*
|
|
48520
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'HorizontalAlign'.
|
|
48364
48521
|
*/
|
|
48365
48522
|
enum HorizontalAlign {
|
|
48366
48523
|
/**
|
|
@@ -48386,6 +48543,8 @@ declare namespace sap {
|
|
|
48386
48543
|
}
|
|
48387
48544
|
/**
|
|
48388
48545
|
* Semantic Colors of an icon.
|
|
48546
|
+
*
|
|
48547
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'IconColor'.
|
|
48389
48548
|
*/
|
|
48390
48549
|
enum IconColor {
|
|
48391
48550
|
/**
|
|
@@ -48435,6 +48594,8 @@ declare namespace sap {
|
|
|
48435
48594
|
* State of the Input Method Editor (IME) for the control.
|
|
48436
48595
|
*
|
|
48437
48596
|
* Depending on its value, it allows users to enter and edit for example Chinese characters.
|
|
48597
|
+
*
|
|
48598
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'ImeMode'.
|
|
48438
48599
|
*/
|
|
48439
48600
|
enum ImeMode {
|
|
48440
48601
|
/**
|
|
@@ -48458,6 +48619,8 @@ declare namespace sap {
|
|
|
48458
48619
|
* Colors to highlight certain UI elements.
|
|
48459
48620
|
*
|
|
48460
48621
|
* In contrast to the `ValueState`, the semantic meaning must be defined by the application.
|
|
48622
|
+
*
|
|
48623
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'IndicationColor'.
|
|
48461
48624
|
* See:
|
|
48462
48625
|
* {@link fiori:/how-to-use-semantic-colors/ Semantic Colors}
|
|
48463
48626
|
*
|
|
@@ -48578,8 +48741,9 @@ declare namespace sap {
|
|
|
48578
48741
|
/**
|
|
48579
48742
|
* Enumeration for different mode behaviors of the `InvisibleMessage`.
|
|
48580
48743
|
*
|
|
48744
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'InvisibleMessageMode'.
|
|
48745
|
+
*
|
|
48581
48746
|
* @since 1.78
|
|
48582
|
-
* @experimental (since 1.73)
|
|
48583
48747
|
*/
|
|
48584
48748
|
enum InvisibleMessageMode {
|
|
48585
48749
|
/**
|
|
@@ -48595,6 +48759,8 @@ declare namespace sap {
|
|
|
48595
48759
|
/**
|
|
48596
48760
|
* Specifies possible message types.
|
|
48597
48761
|
*
|
|
48762
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'MessageType'.
|
|
48763
|
+
*
|
|
48598
48764
|
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.MessageType} instead.
|
|
48599
48765
|
*/
|
|
48600
48766
|
enum MessageType {
|
|
@@ -48622,6 +48788,8 @@ declare namespace sap {
|
|
|
48622
48788
|
/**
|
|
48623
48789
|
* Defines the different possible states of an element that can be open or closed and does not only toggle
|
|
48624
48790
|
* between these states, but also spends some time in between (e.g. because of an animation).
|
|
48791
|
+
*
|
|
48792
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'OpenState'.
|
|
48625
48793
|
*/
|
|
48626
48794
|
enum OpenState {
|
|
48627
48795
|
/**
|
|
@@ -48644,6 +48812,8 @@ declare namespace sap {
|
|
|
48644
48812
|
/**
|
|
48645
48813
|
* Orientation of a UI element.
|
|
48646
48814
|
*
|
|
48815
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'Orientation'.
|
|
48816
|
+
*
|
|
48647
48817
|
* @since 1.22
|
|
48648
48818
|
*/
|
|
48649
48819
|
enum Orientation {
|
|
@@ -48658,6 +48828,8 @@ declare namespace sap {
|
|
|
48658
48828
|
}
|
|
48659
48829
|
/**
|
|
48660
48830
|
* Priorities for general use.
|
|
48831
|
+
*
|
|
48832
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'Priority'.
|
|
48661
48833
|
*/
|
|
48662
48834
|
enum Priority {
|
|
48663
48835
|
/**
|
|
@@ -48679,6 +48851,8 @@ declare namespace sap {
|
|
|
48679
48851
|
}
|
|
48680
48852
|
/**
|
|
48681
48853
|
* Actions are: Click on track, button, drag of thumb, or mouse wheel click.
|
|
48854
|
+
*
|
|
48855
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'ScrollBarAction'.
|
|
48682
48856
|
*/
|
|
48683
48857
|
enum ScrollBarAction {
|
|
48684
48858
|
/**
|
|
@@ -48700,6 +48874,8 @@ declare namespace sap {
|
|
|
48700
48874
|
}
|
|
48701
48875
|
/**
|
|
48702
48876
|
* Defines the possible values for horizontal and vertical scrolling behavior.
|
|
48877
|
+
*
|
|
48878
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'Scrolling'.
|
|
48703
48879
|
*/
|
|
48704
48880
|
enum Scrolling {
|
|
48705
48881
|
/**
|
|
@@ -48722,6 +48898,8 @@ declare namespace sap {
|
|
|
48722
48898
|
/**
|
|
48723
48899
|
* Sort order of a column.
|
|
48724
48900
|
*
|
|
48901
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'SortOrder'.
|
|
48902
|
+
*
|
|
48725
48903
|
* @since 1.61.0
|
|
48726
48904
|
*/
|
|
48727
48905
|
enum SortOrder {
|
|
@@ -48740,6 +48918,8 @@ declare namespace sap {
|
|
|
48740
48918
|
}
|
|
48741
48919
|
/**
|
|
48742
48920
|
* Configuration options for text alignments.
|
|
48921
|
+
*
|
|
48922
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'TextAlign'.
|
|
48743
48923
|
*/
|
|
48744
48924
|
enum TextAlign {
|
|
48745
48925
|
/**
|
|
@@ -48771,6 +48951,8 @@ declare namespace sap {
|
|
|
48771
48951
|
}
|
|
48772
48952
|
/**
|
|
48773
48953
|
* Configuration options for the direction of texts.
|
|
48954
|
+
*
|
|
48955
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'TextDirection'.
|
|
48774
48956
|
*/
|
|
48775
48957
|
enum TextDirection {
|
|
48776
48958
|
/**
|
|
@@ -48789,6 +48971,8 @@ declare namespace sap {
|
|
|
48789
48971
|
/**
|
|
48790
48972
|
* Level of a title.
|
|
48791
48973
|
*
|
|
48974
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'TitleLevel'.
|
|
48975
|
+
*
|
|
48792
48976
|
* @since 1.9.1
|
|
48793
48977
|
*/
|
|
48794
48978
|
enum TitleLevel {
|
|
@@ -48823,6 +49007,8 @@ declare namespace sap {
|
|
|
48823
49007
|
}
|
|
48824
49008
|
/**
|
|
48825
49009
|
* Marker for the correctness of the current value.
|
|
49010
|
+
*
|
|
49011
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'ValueState'.
|
|
48826
49012
|
* See:
|
|
48827
49013
|
* {@link fiori:/how-to-use-semantic-colors/ Semantic Colors}
|
|
48828
49014
|
*
|
|
@@ -48854,6 +49040,8 @@ declare namespace sap {
|
|
|
48854
49040
|
}
|
|
48855
49041
|
/**
|
|
48856
49042
|
* Configuration options for vertical alignments, for example of a layout cell content within the borders.
|
|
49043
|
+
*
|
|
49044
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'VerticalAlign'.
|
|
48857
49045
|
*/
|
|
48858
49046
|
enum VerticalAlign {
|
|
48859
49047
|
/**
|
|
@@ -48875,6 +49063,8 @@ declare namespace sap {
|
|
|
48875
49063
|
}
|
|
48876
49064
|
/**
|
|
48877
49065
|
* Configuration options for text wrapping.
|
|
49066
|
+
*
|
|
49067
|
+
* This enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'Wrapping'.
|
|
48878
49068
|
*/
|
|
48879
49069
|
enum Wrapping {
|
|
48880
49070
|
/**
|
|
@@ -51379,6 +51569,9 @@ declare namespace sap {
|
|
|
51379
51569
|
}
|
|
51380
51570
|
/**
|
|
51381
51571
|
* Sort order of a property.
|
|
51572
|
+
*
|
|
51573
|
+
* This enum is part of the 'sap/ui/model/analytics/odata4analytics' module export and must be accessed
|
|
51574
|
+
* by the property 'SortOrder'.
|
|
51382
51575
|
*/
|
|
51383
51576
|
enum SortOrder {
|
|
51384
51577
|
/**
|
|
@@ -52720,8 +52913,9 @@ declare namespace sap {
|
|
|
52720
52913
|
bValue: boolean,
|
|
52721
52914
|
/**
|
|
52722
52915
|
* the target type; may be "any", "boolean", "string", or a type with one of these types as its {@link sap.ui.base.DataType#getPrimitiveType primitive type}.
|
|
52723
|
-
* If the target type (or its primitive type) is "string", the result is "Yes" or "No" in the current
|
|
52724
|
-
* See {@link sap.ui.model.odata.type}
|
|
52916
|
+
* If the target type (or its primitive type) is "string", the result is "Yes" or "No" in the current language;
|
|
52917
|
+
* see {@link module:sap/base/i18n/Localization.getLanguage Localization.getLanguage}. See {@link sap.ui.model.odata.type }
|
|
52918
|
+
* for more information.
|
|
52725
52919
|
*/
|
|
52726
52920
|
sTargetType: string
|
|
52727
52921
|
): boolean | string;
|
|
@@ -53218,7 +53412,7 @@ declare namespace sap {
|
|
|
53218
53412
|
* which represents a timestamp in the configured time zone. Validates the resulting value against the constraints
|
|
53219
53413
|
* of this type instance.
|
|
53220
53414
|
* See:
|
|
53221
|
-
* {@link sap.
|
|
53415
|
+
* {@link module:sap/base/i18n/Localization.getTimezone Localization.getTimezone}
|
|
53222
53416
|
*
|
|
53223
53417
|
* @since 1.111.0
|
|
53224
53418
|
*
|
|
@@ -55952,7 +56146,10 @@ declare namespace sap {
|
|
|
55952
56146
|
* @since 1.93.0
|
|
55953
56147
|
*/
|
|
55954
56148
|
class Context extends sap.ui.model.Context {
|
|
55955
|
-
|
|
56149
|
+
/**
|
|
56150
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
56151
|
+
*/
|
|
56152
|
+
protected constructor();
|
|
55956
56153
|
|
|
55957
56154
|
/**
|
|
55958
56155
|
* Creates a new subclass of class sap.ui.model.odata.v2.Context with name `sClassName` and enriches it
|
|
@@ -57284,10 +57481,9 @@ declare namespace sap {
|
|
|
57284
57481
|
*/
|
|
57285
57482
|
headers?: Record<string, string>;
|
|
57286
57483
|
/**
|
|
57287
|
-
*
|
|
57288
|
-
*
|
|
57289
|
-
*
|
|
57290
|
-
* see the `annotationURI` parameter.
|
|
57484
|
+
* Whether to ignore all annotations from service metadata, so that they are not available as V4 annotations
|
|
57485
|
+
* in this model's metamodel; see {@link #getMetaModel}. Only annotations from annotation files are loaded;
|
|
57486
|
+
* see the `annotationURI` parameter. Supported since 1.121.0
|
|
57291
57487
|
*/
|
|
57292
57488
|
ignoreAnnotationsFromMetadata?: boolean;
|
|
57293
57489
|
/**
|
|
@@ -59787,7 +59983,10 @@ declare namespace sap {
|
|
|
59787
59983
|
* for creating an instance.
|
|
59788
59984
|
*/
|
|
59789
59985
|
class ODataTreeBinding extends sap.ui.model.TreeBinding {
|
|
59790
|
-
|
|
59986
|
+
/**
|
|
59987
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
59988
|
+
*/
|
|
59989
|
+
protected constructor();
|
|
59791
59990
|
|
|
59792
59991
|
/**
|
|
59793
59992
|
* Creates a new subclass of class sap.ui.model.odata.v2.ODataTreeBinding with name `sClassName` and enriches
|
|
@@ -60203,7 +60402,7 @@ declare namespace sap {
|
|
|
60203
60402
|
context?: sap.ui.model.odata.v4.Context;
|
|
60204
60403
|
|
|
60205
60404
|
/**
|
|
60206
|
-
* Whether the POST was successfully processed; in case of an error, the error is already reported to {@link sap
|
|
60405
|
+
* Whether the POST was successfully processed; in case of an error, the error is already reported to {@link module:sap/ui/core/Messaging}
|
|
60207
60406
|
*/
|
|
60208
60407
|
success?: boolean;
|
|
60209
60408
|
}
|
|
@@ -60990,7 +61189,10 @@ declare namespace sap {
|
|
|
60990
61189
|
* @since 1.39.0
|
|
60991
61190
|
*/
|
|
60992
61191
|
class Context extends sap.ui.model.Context {
|
|
60993
|
-
|
|
61192
|
+
/**
|
|
61193
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
61194
|
+
*/
|
|
61195
|
+
protected constructor();
|
|
60994
61196
|
|
|
60995
61197
|
/**
|
|
60996
61198
|
* Creates a new subclass of class sap.ui.model.odata.v4.Context with name `sClassName` and enriches it
|
|
@@ -61109,7 +61311,9 @@ declare namespace sap {
|
|
|
61109
61311
|
* no group ID needs to be specified. Since 1.98.0, you can use `null` to prevent the DELETE request in
|
|
61110
61312
|
* case of a kept-alive context that is not in the collection and of which you know that it does not exist
|
|
61111
61313
|
* on the server anymore (for example, a draft after activation). Since 1.108.0 the usage of a group ID
|
|
61112
|
-
* with {@link sap.ui.model.odata.v4.SubmitMode.API} is possible.
|
|
61314
|
+
* with {@link sap.ui.model.odata.v4.SubmitMode.API} is possible. Since 1.121.0, you can use the '$single'
|
|
61315
|
+
* group ID to send a DELETE request as fast as possible; it will be wrapped in a batch request as for a
|
|
61316
|
+
* '$auto' group.
|
|
61113
61317
|
*/
|
|
61114
61318
|
sGroupId?: string,
|
|
61115
61319
|
/**
|
|
@@ -61365,8 +61569,8 @@ declare namespace sap {
|
|
|
61365
61569
|
* ancestor node) must happen while this move is pending! Omitting a new parent turns this node into a root
|
|
61366
61570
|
* node (since 1.121.0).
|
|
61367
61571
|
*
|
|
61368
|
-
* This context's {@link #getIndex index} may change and
|
|
61369
|
-
* returning `false` etc.
|
|
61572
|
+
* This context's {@link #getIndex index} may change and, in case of `oAggregation.expandTo : 1`, it becomes
|
|
61573
|
+
* "created persisted", with {@link #isTransient} returning `false` etc.
|
|
61370
61574
|
*
|
|
61371
61575
|
* @experimental (since 1.119.0)
|
|
61372
61576
|
*
|
|
@@ -61444,7 +61648,13 @@ declare namespace sap {
|
|
|
61444
61648
|
*
|
|
61445
61649
|
* The header context of a list binding only delivers `$count` (wrapped in an object if `sPath` is "").
|
|
61446
61650
|
*
|
|
61447
|
-
*
|
|
61651
|
+
* In case of a {@link sap.ui.model.odata.v4.ODataContextBinding#getBoundContext context binding's bound context }
|
|
61652
|
+
* that hasn't requested its data yet, this method causes an initial back-end request using the binding's
|
|
61653
|
+
* $expand and $select. Once any binding has requested its data, this method does **not** cause requests
|
|
61654
|
+
* anymore. If you want to read fresh data, call {@link #refresh} first. In contrast to {@link #requestProperty},
|
|
61655
|
+
* it is **not** possible to cause additional property requests. Access is only to the data the context
|
|
61656
|
+
* points to (or any part thereof), as defined by the binding's $expand and $select (unless this is a header
|
|
61657
|
+
* context, see above).
|
|
61448
61658
|
* See:
|
|
61449
61659
|
* #getBinding
|
|
61450
61660
|
* sap.ui.model.odata.v4.ODataContextBinding#refresh
|
|
@@ -61772,7 +61982,10 @@ declare namespace sap {
|
|
|
61772
61982
|
* @since 1.37.0
|
|
61773
61983
|
*/
|
|
61774
61984
|
class ODataContextBinding extends sap.ui.model.ContextBinding {
|
|
61775
|
-
|
|
61985
|
+
/**
|
|
61986
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
61987
|
+
*/
|
|
61988
|
+
protected constructor();
|
|
61776
61989
|
|
|
61777
61990
|
/**
|
|
61778
61991
|
* Creates a new subclass of class sap.ui.model.odata.v4.ODataContextBinding with name `sClassName` and
|
|
@@ -61976,7 +62189,9 @@ declare namespace sap {
|
|
|
61976
62189
|
* The group ID to be used for the request; if not specified, the group ID for this binding is used, see
|
|
61977
62190
|
* {@link sap.ui.model.odata.v4.ODataContextBinding#constructor} and {@link #getGroupId}. To use the update
|
|
61978
62191
|
* group ID, see {@link #getUpdateGroupId}, it needs to be specified explicitly. Valid values are `undefined`,
|
|
61979
|
-
* '$auto', '$auto.*', '$direct' or application group IDs as specified in {@link sap.ui.model.odata.v4.ODataModel}.
|
|
62192
|
+
* '$auto', '$auto.*', '$direct', '$single', or application group IDs as specified in {@link sap.ui.model.odata.v4.ODataModel}.
|
|
62193
|
+
* If '$single' is used, the request will be sent as fast as '$direct', but wrapped in a batch request like
|
|
62194
|
+
* '$auto' (since 1.121.0).
|
|
61980
62195
|
*/
|
|
61981
62196
|
sGroupId?: string,
|
|
61982
62197
|
/**
|
|
@@ -62250,7 +62465,10 @@ declare namespace sap {
|
|
|
62250
62465
|
* @since 1.37.0
|
|
62251
62466
|
*/
|
|
62252
62467
|
class ODataListBinding extends sap.ui.model.ListBinding {
|
|
62253
|
-
|
|
62468
|
+
/**
|
|
62469
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
62470
|
+
*/
|
|
62471
|
+
protected constructor();
|
|
62254
62472
|
|
|
62255
62473
|
/**
|
|
62256
62474
|
* Creates a new subclass of class sap.ui.model.odata.v4.ODataListBinding with name `sClassName` and enriches
|
|
@@ -62645,9 +62863,10 @@ declare namespace sap {
|
|
|
62645
62863
|
*/
|
|
62646
62864
|
filter(
|
|
62647
62865
|
/**
|
|
62648
|
-
* The dynamic filters to be used;
|
|
62649
|
-
*
|
|
62650
|
-
*
|
|
62866
|
+
* The dynamic filters to be used; in case of type {@link sap.ui.model.FilterType.Application} this replaces
|
|
62867
|
+
* the dynamic filters given in {@link sap.ui.model.odata.v4.ODataModel#bindList}. A nullish or missing
|
|
62868
|
+
* value is treated as an empty array and thus removes all dynamic filters of the specified type. The filter
|
|
62869
|
+
* executed on the list is created from the following parts, which are combined with a logical 'and':
|
|
62651
62870
|
* Dynamic filters of type {@link sap.ui.model.FilterType.Application} Dynamic filters of type {@link sap.ui.model.FilterType.Control }
|
|
62652
62871
|
* The static filters, as defined in the '$filter' binding parameter
|
|
62653
62872
|
*/
|
|
@@ -63224,8 +63443,8 @@ declare namespace sap {
|
|
|
63224
63443
|
sort(
|
|
63225
63444
|
/**
|
|
63226
63445
|
* The dynamic sorters to be used; they replace the dynamic sorters given in {@link sap.ui.model.odata.v4.ODataModel#bindList}.
|
|
63227
|
-
*
|
|
63228
|
-
* sorters.
|
|
63446
|
+
* A nullish or missing value is treated as an empty array and thus removes all dynamic sorters. Static
|
|
63447
|
+
* sorters, as defined in the '$orderby' binding parameter, are always executed after the dynamic sorters.
|
|
63229
63448
|
*/
|
|
63230
63449
|
vSorters?: sap.ui.model.Sorter | sap.ui.model.Sorter[]
|
|
63231
63450
|
): this;
|
|
@@ -63354,7 +63573,10 @@ declare namespace sap {
|
|
|
63354
63573
|
* @since 1.37.0
|
|
63355
63574
|
*/
|
|
63356
63575
|
class ODataMetaModel extends sap.ui.model.MetaModel {
|
|
63357
|
-
|
|
63576
|
+
/**
|
|
63577
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
63578
|
+
*/
|
|
63579
|
+
protected constructor();
|
|
63358
63580
|
|
|
63359
63581
|
/**
|
|
63360
63582
|
* Creates a new subclass of class sap.ui.model.odata.v4.ODataMetaModel with name `sClassName` and enriches
|
|
@@ -63929,10 +64151,12 @@ declare namespace sap {
|
|
|
63929
64151
|
*/
|
|
63930
64152
|
mParameters?: {
|
|
63931
64153
|
/**
|
|
63932
|
-
* Scope for lookup of aliases for computed annotations (since 1.43.0)
|
|
63933
|
-
*
|
|
64154
|
+
* Scope for lookup of aliases for computed annotations (since 1.43.0) as a map from alias to a module (like
|
|
64155
|
+
* `{AH : AnnotationHelper}`) or function (like `{format : AnnotationHelper.format}`); the alias must not
|
|
64156
|
+
* contain a dot. Since 1.120.3 looking up a computed annotation via its global name is deprecated; always
|
|
64157
|
+
* use this scope instead.
|
|
63934
64158
|
*/
|
|
63935
|
-
scope?: object
|
|
64159
|
+
scope?: Record<string, object | Function>;
|
|
63936
64160
|
}
|
|
63937
64161
|
): Promise<any>;
|
|
63938
64162
|
/**
|
|
@@ -64165,7 +64389,7 @@ declare namespace sap {
|
|
|
64165
64389
|
/**
|
|
64166
64390
|
* Whether to ignore all annotations from service metadata and "cross-service references"; only the value
|
|
64167
64391
|
* `true` is allowed. Only annotations from annotation files (see parameter "annotationURI") are loaded.
|
|
64168
|
-
* This parameter is not inherited by value list models.
|
|
64392
|
+
* This parameter is not inherited by value list models. Supported since 1.121.0
|
|
64169
64393
|
*/
|
|
64170
64394
|
ignoreAnnotationsFromMetadata?: boolean;
|
|
64171
64395
|
/**
|
|
@@ -64209,7 +64433,7 @@ declare namespace sap {
|
|
|
64209
64433
|
/**
|
|
64210
64434
|
* (Controls synchronization between different bindings which refer to the same data for the case data changes
|
|
64211
64435
|
* in one binding. Must be set to 'None' which means bindings are not synchronized at all; all other values
|
|
64212
|
-
* are not supported and lead to an error.) **deprecated:** As of Version 1.110.0, this parameter is
|
|
64436
|
+
* are not supported and lead to an error.) **deprecated:** As of Version 1.110.0, this parameter is obsolete;
|
|
64213
64437
|
* see also {@link https://ui5.sap.com/#/topic/648e360fa22d46248ca783dc6eb44531 Data Reuse}
|
|
64214
64438
|
*/
|
|
64215
64439
|
synchronizationMode?: string;
|
|
@@ -64436,9 +64660,10 @@ declare namespace sap {
|
|
|
64436
64660
|
*/
|
|
64437
64661
|
vSorters?: sap.ui.model.Sorter | sap.ui.model.Sorter[],
|
|
64438
64662
|
/**
|
|
64439
|
-
* The dynamic application filters to be used initially. Call
|
|
64440
|
-
* to replace them. Static filters, as defined in
|
|
64441
|
-
* the dynamic filters using a logical `AND`.
|
|
64663
|
+
* The dynamic {@link sap.ui.model.FilterType.Application application} filters to be used initially. Call
|
|
64664
|
+
* {@link sap.ui.model.odata.v4.ODataListBinding#filter} to replace them. Static filters, as defined in
|
|
64665
|
+
* the '$filter' binding parameter, are always combined with the dynamic filters using a logical `AND`.
|
|
64666
|
+
* Supported since 1.39.0.
|
|
64442
64667
|
*/
|
|
64443
64668
|
vFilters?: sap.ui.model.Filter | sap.ui.model.Filter[],
|
|
64444
64669
|
/**
|
|
@@ -64637,6 +64862,11 @@ declare namespace sap {
|
|
|
64637
64862
|
* is allowed.
|
|
64638
64863
|
*/
|
|
64639
64864
|
$$noPatch?: boolean;
|
|
64865
|
+
/**
|
|
64866
|
+
* The scope for {@link sap.ui.model.odata.v4.ODataMetaModel#requestObject} if it is an object; a custom
|
|
64867
|
+
* query option otherwise
|
|
64868
|
+
*/
|
|
64869
|
+
scope?: any;
|
|
64640
64870
|
}
|
|
64641
64871
|
): sap.ui.model.odata.v4.ODataPropertyBinding;
|
|
64642
64872
|
/**
|
|
@@ -64750,7 +64980,9 @@ declare namespace sap {
|
|
|
64750
64980
|
vCanonicalPath: string | sap.ui.model.odata.v4.Context,
|
|
64751
64981
|
/**
|
|
64752
64982
|
* The group ID that is used for the DELETE request; if not specified, the model's {@link #getUpdateGroupId update group ID }
|
|
64753
|
-
* is used; the resulting group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}
|
|
64983
|
+
* is used; the resulting group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}. You can use
|
|
64984
|
+
* the '$single' group ID to send a DELETE request as fast as possible; it will be wrapped in a batch request
|
|
64985
|
+
* as for a '$auto' group (since 1.121.0).
|
|
64754
64986
|
*/
|
|
64755
64987
|
sGroupId?: string,
|
|
64756
64988
|
/**
|
|
@@ -65152,7 +65384,10 @@ declare namespace sap {
|
|
|
65152
65384
|
* @since 1.37.0
|
|
65153
65385
|
*/
|
|
65154
65386
|
class ODataPropertyBinding extends sap.ui.model.PropertyBinding {
|
|
65155
|
-
|
|
65387
|
+
/**
|
|
65388
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
65389
|
+
*/
|
|
65390
|
+
protected constructor();
|
|
65156
65391
|
|
|
65157
65392
|
/**
|
|
65158
65393
|
* Creates a new subclass of class sap.ui.model.odata.v4.ODataPropertyBinding with name `sClassName` and
|
|
@@ -66446,19 +66681,20 @@ declare namespace sap {
|
|
|
66446
66681
|
* oSupplierContext = oMetaModel.getMetaContext("/ProductSet('HT-1021')/ToSupplier");
|
|
66447
66682
|
* oValueContext = oMetaModel.createBindingContext("com.sap.vocabularies.UI.v1.DataPoint/Value", oSupplierContext);
|
|
66448
66683
|
*
|
|
66449
|
-
* vPropertySetting =
|
|
66450
|
-
*
|
|
66451
|
-
* "{path : 'meta>Value', formatter : '
|
|
66684
|
+
* vPropertySetting = AnnotationHelper.createPropertySetting([
|
|
66685
|
+
* AnnotationHelper.format(oValueContext),
|
|
66686
|
+
* "{path : 'meta>Value', formatter : 'AH.simplePath'}",
|
|
66452
66687
|
* "{:= 'Mr. ' + ${/FirstName} + ' ' + ${/LastName}}",
|
|
66453
66688
|
* "hello, world!",
|
|
66454
66689
|
* 42
|
|
66455
|
-
* ], myRootFormatter);
|
|
66690
|
+
* ], myRootFormatter, {AH : AnnotationHelper});
|
|
66456
66691
|
*
|
|
66457
66692
|
* oControl.applySettings({"someProperty" : vPropertySetting});
|
|
66458
66693
|
* ```
|
|
66459
66694
|
*
|
|
66460
66695
|
*
|
|
66461
66696
|
* @since 1.31.0
|
|
66697
|
+
* @deprecated (since 1.121.0)
|
|
66462
66698
|
*
|
|
66463
66699
|
* @returns constant value or binding info object for a property as expected by {@link sap.ui.base.ManagedObject#applySettings applySettings}
|
|
66464
66700
|
*/
|
|
@@ -66471,7 +66707,12 @@ declare namespace sap {
|
|
|
66471
66707
|
* root formatter function; default: `Array.prototype.join(., " ")` in case of multiple parts, just like
|
|
66472
66708
|
* {@link sap.ui.model.CompositeBinding#getExternalValue getExternalValue}
|
|
66473
66709
|
*/
|
|
66474
|
-
fnRootFormatter?: Function
|
|
66710
|
+
fnRootFormatter?: Function,
|
|
66711
|
+
/**
|
|
66712
|
+
* Maps an alias to a module (like `{AH : AnnotationHelper}`) or a function (like `{format : AnnotationHelper.format}`);
|
|
66713
|
+
* the alias must not contain a dot. Since 1.121.0 global names are deprecated; always use this scope instead.
|
|
66714
|
+
*/
|
|
66715
|
+
oScope?: Record<string, object | Function>
|
|
66475
66716
|
): any | object;
|
|
66476
66717
|
/**
|
|
66477
66718
|
* A formatter function to be used in a complex binding inside an XML template view in order to interpret
|
|
@@ -72093,8 +72334,8 @@ declare namespace sap {
|
|
|
72093
72334
|
oListener?: object
|
|
72094
72335
|
): void;
|
|
72095
72336
|
/**
|
|
72096
|
-
* Removes all control messages for this binding from {@link sap
|
|
72097
|
-
* clean-up tasks.
|
|
72337
|
+
* Removes all control messages for this binding from {@link module:sap/ui/core/Messaging} in addition to
|
|
72338
|
+
* the standard clean-up tasks.
|
|
72098
72339
|
* See:
|
|
72099
72340
|
* sap.ui.base.EventProvider#destroy
|
|
72100
72341
|
*/
|
|
@@ -82045,6 +82286,9 @@ declare namespace sap {
|
|
|
82045
82286
|
* Interaction types.
|
|
82046
82287
|
*
|
|
82047
82288
|
* Values correspond to OPA5 built-in actions {@link sap.ui.test.actions}.
|
|
82289
|
+
*
|
|
82290
|
+
* This enum is part of the 'sap/ui/test/RecordReplay' module export and must be accessed by the property
|
|
82291
|
+
* 'InteractionType'.
|
|
82048
82292
|
*/
|
|
82049
82293
|
enum InteractionType {
|
|
82050
82294
|
EnterText = "ENTER_TEXT",
|
|
@@ -83519,6 +83763,29 @@ declare namespace sap {
|
|
|
83519
83763
|
*/
|
|
83520
83764
|
FNMetaImpl?: Function
|
|
83521
83765
|
): Function;
|
|
83766
|
+
/**
|
|
83767
|
+
* Returns the registered element with the given ID, if any. Internally forwards to {@link sap.ui.core.Element#getElementById }
|
|
83768
|
+
* or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
|
|
83769
|
+
* uses a lower UI5 version.
|
|
83770
|
+
*
|
|
83771
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
83772
|
+
*
|
|
83773
|
+
* @returns Element with the given ID or `undefined`
|
|
83774
|
+
*/
|
|
83775
|
+
static getElementById(
|
|
83776
|
+
/**
|
|
83777
|
+
* ID of the element to search for
|
|
83778
|
+
*/
|
|
83779
|
+
sId: sap.ui.core.ID | null | undefined
|
|
83780
|
+
): sap.ui.core.Element | undefined;
|
|
83781
|
+
/**
|
|
83782
|
+
* Retrieves a resource bundle for the given library and locale. Internally forwards to {@link sap.ui.core.Lib#getResourceBundleFor }
|
|
83783
|
+
* or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
|
|
83784
|
+
* uses a lower UI5 version.
|
|
83785
|
+
*
|
|
83786
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
83787
|
+
*/
|
|
83788
|
+
static getLibraryResourceBundle(sLibraryName: string): void;
|
|
83522
83789
|
/**
|
|
83523
83790
|
* Returns a metadata object for class sap.ui.test.OpaPlugin.
|
|
83524
83791
|
*
|
|
@@ -83526,6 +83793,26 @@ declare namespace sap {
|
|
|
83526
83793
|
* @returns Metadata object describing this class
|
|
83527
83794
|
*/
|
|
83528
83795
|
static getMetadata(): sap.ui.base.Metadata;
|
|
83796
|
+
/**
|
|
83797
|
+
* Returns the root element of the static, hidden area. Internally forwards to {@link sap.ui.core.StaticArea#getDomRef }
|
|
83798
|
+
* or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
|
|
83799
|
+
* uses a lower UI5 version.
|
|
83800
|
+
*
|
|
83801
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
83802
|
+
*
|
|
83803
|
+
* @returns the root DOM element of the static, hidden area
|
|
83804
|
+
*/
|
|
83805
|
+
static getStaticAreaDomRef(): Element;
|
|
83806
|
+
/**
|
|
83807
|
+
* Returns `true` if there are any pending rendering tasks or when such rendering tasks are currently being
|
|
83808
|
+
* executed. Internally forwards to {@link sap.ui.core.Rendering#isPending} or the corresponsing legacy
|
|
83809
|
+
* API. The legacy API is used when the tested app is loaded in an iframe that uses a lower UI5 version.
|
|
83810
|
+
*
|
|
83811
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
83812
|
+
*
|
|
83813
|
+
* @returns true if there are pending (or executing) rendering tasks.
|
|
83814
|
+
*/
|
|
83815
|
+
static isUIDirty(): boolean;
|
|
83529
83816
|
/**
|
|
83530
83817
|
* Gets all the controls or elements of a certain type that are currently instantiated. If the type is omitted,
|
|
83531
83818
|
* all controls and elements are returned.
|
|
@@ -84043,8 +84330,6 @@ declare namespace sap {
|
|
|
84043
84330
|
|
|
84044
84331
|
"sap/base/i18n/date/CalendarWeekNumbering": undefined;
|
|
84045
84332
|
|
|
84046
|
-
"sap/base/i18n/date/TimezoneUtils": undefined;
|
|
84047
|
-
|
|
84048
84333
|
"sap/base/i18n/Formatting": undefined;
|
|
84049
84334
|
|
|
84050
84335
|
"sap/base/i18n/LanguageTag": undefined;
|