@sapui5/ts-types-esm 1.129.2 → 1.130.2
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.ui.core.d.ts → core-1.130.0-esm-d.ts} +119 -110
- package/types/index.d.ts +4 -3
- package/types/{sap.ui.mdc.d.ts → mdc-1.130.0-esm-d.ts} +273 -234
- package/types/{sap.m.d.ts → mobile-1.130.0-esm-d.ts} +1002 -3360
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +41 -40
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +87 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +3 -0
- package/types/sap.fe.core.d.ts +42 -6
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +462 -200
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +5 -2
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +724 -204
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +108 -16
- package/types/sap.suite.ui.commons.d.ts +264 -125
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +309 -79
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +37 -25
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +5 -2
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +22 -5
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +6 -11
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/package.json
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.130.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -6173,13 +6173,15 @@ declare module "sap/ui/performance/trace/Interaction" {
|
|
|
6173
6173
|
* Enables the interaction tracking.
|
|
6174
6174
|
*
|
|
6175
6175
|
* @since 1.76
|
|
6176
|
+
*
|
|
6177
|
+
* @returns Resolves when FESR is active
|
|
6176
6178
|
*/
|
|
6177
6179
|
setActive(
|
|
6178
6180
|
/**
|
|
6179
6181
|
* State of the interaction detection
|
|
6180
6182
|
*/
|
|
6181
6183
|
bActive: boolean
|
|
6182
|
-
):
|
|
6184
|
+
): Promise<any>;
|
|
6183
6185
|
}
|
|
6184
6186
|
const Interaction: Interaction;
|
|
6185
6187
|
export default Interaction;
|
|
@@ -13825,6 +13827,24 @@ declare module "sap/ui/core/library" {
|
|
|
13825
13827
|
getFormDoNotAdjustWidth?(): boolean;
|
|
13826
13828
|
}
|
|
13827
13829
|
|
|
13830
|
+
/**
|
|
13831
|
+
* Defines a control, which can specify if it can be bound to a label
|
|
13832
|
+
*
|
|
13833
|
+
* @since 1.121.0
|
|
13834
|
+
*/
|
|
13835
|
+
export interface ILabelable {
|
|
13836
|
+
__implements__sap_ui_core_ILabelable: boolean;
|
|
13837
|
+
|
|
13838
|
+
/**
|
|
13839
|
+
* Returns if the control can be bound to a label
|
|
13840
|
+
*
|
|
13841
|
+
* @since 1.121.0
|
|
13842
|
+
*
|
|
13843
|
+
* @returns `true` if the control can be bound to a label
|
|
13844
|
+
*/
|
|
13845
|
+
hasLabelableHTMLElement(): boolean;
|
|
13846
|
+
}
|
|
13847
|
+
|
|
13828
13848
|
/**
|
|
13829
13849
|
* State of the Input Method Editor (IME) for the control.
|
|
13830
13850
|
*
|
|
@@ -26595,7 +26615,8 @@ declare module "sap/ui/core/format/NumberFormat" {
|
|
|
26595
26615
|
*/
|
|
26596
26616
|
maxIntegerDigits?: int;
|
|
26597
26617
|
/**
|
|
26598
|
-
*
|
|
26618
|
+
* Deprecated as of 1.130; this format option does not have an effect on currency formats since decimals
|
|
26619
|
+
* can always be determined, either through the given format options, custom currencies or the CLDR
|
|
26599
26620
|
*/
|
|
26600
26621
|
minFractionDigits?: int;
|
|
26601
26622
|
/**
|
|
@@ -31124,7 +31145,7 @@ declare module "sap/ui/core/Locale" {
|
|
|
31124
31145
|
declare module "sap/ui/core/LocaleData" {
|
|
31125
31146
|
import BaseObject from "sap/ui/base/Object";
|
|
31126
31147
|
|
|
31127
|
-
import CalendarType from "sap/
|
|
31148
|
+
import CalendarType from "sap/base/i18n/date/CalendarType";
|
|
31128
31149
|
|
|
31129
31150
|
import Locale from "sap/ui/core/Locale";
|
|
31130
31151
|
|
|
@@ -31194,21 +31215,23 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31194
31215
|
*/
|
|
31195
31216
|
firstDayStartsFirstWeek(): boolean;
|
|
31196
31217
|
/**
|
|
31197
|
-
* Returns the pattern for representing the calendar week number in the given style.
|
|
31218
|
+
* Returns the pattern for representing the calendar week number in the given style. If `iWeekNumber` is
|
|
31219
|
+
* given, the week number placeholder will be replaced by it.
|
|
31198
31220
|
*
|
|
31199
31221
|
* @since 1.32.0
|
|
31200
31222
|
*
|
|
31201
|
-
* @returns the week number
|
|
31223
|
+
* @returns The calendar week with the week number placeholder or the week number e.g. "Calendar Week {0}"
|
|
31224
|
+
* or "CW 01"
|
|
31202
31225
|
*/
|
|
31203
31226
|
getCalendarWeek(
|
|
31204
31227
|
/**
|
|
31205
|
-
*
|
|
31228
|
+
* The style of the pattern
|
|
31206
31229
|
*/
|
|
31207
31230
|
sStyle: "narrow" | "wide",
|
|
31208
31231
|
/**
|
|
31209
|
-
*
|
|
31232
|
+
* The week number, e.g. "01" or "42"
|
|
31210
31233
|
*/
|
|
31211
|
-
|
|
31234
|
+
sWeekNumber?: string
|
|
31212
31235
|
): string;
|
|
31213
31236
|
/**
|
|
31214
31237
|
* Get combined datetime pattern with given date and time style. The combined datetime pattern is the datetime
|
|
@@ -31231,7 +31254,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31231
31254
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31232
31255
|
* or calculated from locale.
|
|
31233
31256
|
*/
|
|
31234
|
-
sCalendarType?: CalendarType
|
|
31257
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31235
31258
|
): string;
|
|
31236
31259
|
/**
|
|
31237
31260
|
* Get combined interval pattern using a given pattern and the fallback interval pattern.
|
|
@@ -31252,7 +31275,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31252
31275
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31253
31276
|
* or calculated from locale.
|
|
31254
31277
|
*/
|
|
31255
|
-
sCalendarType?: CalendarType
|
|
31278
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31256
31279
|
): string;
|
|
31257
31280
|
/**
|
|
31258
31281
|
* Returns the currency code which is corresponded with the given currency symbol.
|
|
@@ -31366,7 +31389,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31366
31389
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31367
31390
|
* or calculated from locale.
|
|
31368
31391
|
*/
|
|
31369
|
-
sCalendarType?: CalendarType
|
|
31392
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31370
31393
|
): string;
|
|
31371
31394
|
/**
|
|
31372
31395
|
* Get interval pattern for a given skeleton format.
|
|
@@ -31399,7 +31422,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31399
31422
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31400
31423
|
* or calculated from locale.
|
|
31401
31424
|
*/
|
|
31402
|
-
sCalendarType?: CalendarType
|
|
31425
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31403
31426
|
): string | string[];
|
|
31404
31427
|
/**
|
|
31405
31428
|
* Get date pattern in the given style.
|
|
@@ -31416,7 +31439,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31416
31439
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31417
31440
|
* or calculated from locale.
|
|
31418
31441
|
*/
|
|
31419
|
-
sCalendarType?: CalendarType
|
|
31442
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31420
31443
|
): string;
|
|
31421
31444
|
/**
|
|
31422
31445
|
* Get datetime pattern in the given style.
|
|
@@ -31433,7 +31456,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31433
31456
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31434
31457
|
* or calculated from locale.
|
|
31435
31458
|
*/
|
|
31436
|
-
sCalendarType?: CalendarType
|
|
31459
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31437
31460
|
): string;
|
|
31438
31461
|
/**
|
|
31439
31462
|
* Get day periods in the given width.
|
|
@@ -31450,7 +31473,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31450
31473
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31451
31474
|
* or calculated from locale.
|
|
31452
31475
|
*/
|
|
31453
|
-
sCalendarType?: CalendarType
|
|
31476
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31454
31477
|
): string[];
|
|
31455
31478
|
/**
|
|
31456
31479
|
* Get standalone day periods in the given width.
|
|
@@ -31467,7 +31490,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31467
31490
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31468
31491
|
* or calculated from locale.
|
|
31469
31492
|
*/
|
|
31470
|
-
sCalendarType?: CalendarType
|
|
31493
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31471
31494
|
): string[];
|
|
31472
31495
|
/**
|
|
31473
31496
|
* Get day names in the given width.
|
|
@@ -31484,7 +31507,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31484
31507
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31485
31508
|
* or calculated from locale.
|
|
31486
31509
|
*/
|
|
31487
|
-
sCalendarType?: CalendarType
|
|
31510
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31488
31511
|
): string[];
|
|
31489
31512
|
/**
|
|
31490
31513
|
* Get standalone day names in the given width.
|
|
@@ -31501,7 +31524,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31501
31524
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31502
31525
|
* or calculated from locale.
|
|
31503
31526
|
*/
|
|
31504
|
-
sCalendarType?: CalendarType
|
|
31527
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31505
31528
|
): string[];
|
|
31506
31529
|
/**
|
|
31507
31530
|
* Returns the short decimal format (like 1K, 1M....) of the given number in the given style and plural
|
|
@@ -31569,9 +31592,11 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31569
31592
|
*/
|
|
31570
31593
|
getEraDates(
|
|
31571
31594
|
/**
|
|
31572
|
-
*
|
|
31595
|
+
* The type of calendar; defaults to the calendar type either set via the "calendar-type" formatting configuration
|
|
31596
|
+
* option, see {@link https://ui5.sap.com/#/topic/91f2d03b6f4d1014b6dd926db0e91070 Configuration Options and URL Parameters},
|
|
31597
|
+
* or determined from the current locale
|
|
31573
31598
|
*/
|
|
31574
|
-
sCalendarType?: CalendarType
|
|
31599
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31575
31600
|
): object[];
|
|
31576
31601
|
/**
|
|
31577
31602
|
* Returns array of eras in the given width.
|
|
@@ -31589,7 +31614,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31589
31614
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
31590
31615
|
* locale
|
|
31591
31616
|
*/
|
|
31592
|
-
sCalendarType?: CalendarType
|
|
31617
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31593
31618
|
): string[];
|
|
31594
31619
|
/**
|
|
31595
31620
|
* Returns the day that usually is regarded as the first day of a week in the current locale.
|
|
@@ -31623,7 +31648,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31623
31648
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31624
31649
|
* or calculated from locale.
|
|
31625
31650
|
*/
|
|
31626
|
-
sCalendarType?: CalendarType
|
|
31651
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31627
31652
|
): string;
|
|
31628
31653
|
/**
|
|
31629
31654
|
* Gets the locale-specific language name for the given language tag.
|
|
@@ -31706,7 +31731,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31706
31731
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
31707
31732
|
* locale
|
|
31708
31733
|
*/
|
|
31709
|
-
sCalendarType?: CalendarType
|
|
31734
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31710
31735
|
): string[];
|
|
31711
31736
|
/**
|
|
31712
31737
|
* Get standalone month names in the given width.
|
|
@@ -31723,7 +31748,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31723
31748
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
31724
31749
|
* locale
|
|
31725
31750
|
*/
|
|
31726
|
-
sCalendarType?: CalendarType
|
|
31751
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31727
31752
|
): string[];
|
|
31728
31753
|
/**
|
|
31729
31754
|
* Get number symbol for the given type.
|
|
@@ -31784,13 +31809,13 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31784
31809
|
vNumber: string | number
|
|
31785
31810
|
): string;
|
|
31786
31811
|
/**
|
|
31787
|
-
* Returns the preferred calendar type for the current locale which exists in {@link sap
|
|
31812
|
+
* Returns the preferred calendar type for the current locale which exists in {@link module:sap/base/i18n/date/CalendarType}
|
|
31788
31813
|
*
|
|
31789
31814
|
* @since 1.28.6
|
|
31790
31815
|
*
|
|
31791
31816
|
* @returns the preferred calendar type
|
|
31792
31817
|
*/
|
|
31793
|
-
getPreferredCalendarType(): CalendarType;
|
|
31818
|
+
getPreferredCalendarType(): CalendarType | keyof typeof CalendarType;
|
|
31794
31819
|
/**
|
|
31795
31820
|
* Returns the preferred hour pattern symbol ("h" for 12, "H" for 24 hours) for the current locale.
|
|
31796
31821
|
*
|
|
@@ -31814,7 +31839,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31814
31839
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31815
31840
|
* or calculated from locale.
|
|
31816
31841
|
*/
|
|
31817
|
-
sCalendarType?: CalendarType
|
|
31842
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31818
31843
|
): string[];
|
|
31819
31844
|
/**
|
|
31820
31845
|
* Get standalone quarter names in the given width.
|
|
@@ -31831,7 +31856,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
31831
31856
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
31832
31857
|
* or calculated from locale.
|
|
31833
31858
|
*/
|
|
31834
|
-
sCalendarType?: CalendarType
|
|
31859
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
31835
31860
|
): string[];
|
|
31836
31861
|
/**
|
|
31837
31862
|
* Returns the relative day resource pattern (like "Today", "Yesterday", "{0} days ago") based on the given
|
|
@@ -32080,7 +32105,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
32080
32105
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
32081
32106
|
* or calculated from locale.
|
|
32082
32107
|
*/
|
|
32083
|
-
sCalendarType?: CalendarType
|
|
32108
|
+
sCalendarType?: CalendarType | keyof typeof CalendarType
|
|
32084
32109
|
): string;
|
|
32085
32110
|
/**
|
|
32086
32111
|
* Retrieves the localized display name of a unit by sUnit, e.g. "duration-hour".
|
|
@@ -55342,7 +55367,7 @@ declare module "sap/ui/model/Context" {
|
|
|
55342
55367
|
*
|
|
55343
55368
|
* For more information on the concept of data binding and binding contexts, see {@link https://ui5.sap.com/#/topic/e2e6f4127fe4450ab3cf1339c42ee832 documentation on binding syntax}.
|
|
55344
55369
|
*/
|
|
55345
|
-
export default
|
|
55370
|
+
export default class Context extends BaseObject {
|
|
55346
55371
|
/**
|
|
55347
55372
|
* Constructor for Context class. The constructor must only be called by model-internal methods.
|
|
55348
55373
|
*/
|
|
@@ -67563,30 +67588,6 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
67563
67588
|
}
|
|
67564
67589
|
);
|
|
67565
67590
|
|
|
67566
|
-
/**
|
|
67567
|
-
* Creates a new subclass of class sap.ui.model.odata.v2.ODataModel with name `sClassName` and enriches
|
|
67568
|
-
* it with the information contained in `oClassInfo`.
|
|
67569
|
-
*
|
|
67570
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.model.Model.extend}.
|
|
67571
|
-
*
|
|
67572
|
-
*
|
|
67573
|
-
* @returns Created class / constructor function
|
|
67574
|
-
*/
|
|
67575
|
-
static extend<T extends Record<string, unknown>>(
|
|
67576
|
-
/**
|
|
67577
|
-
* Name of the class being created
|
|
67578
|
-
*/
|
|
67579
|
-
sClassName: string,
|
|
67580
|
-
/**
|
|
67581
|
-
* Object literal with information about the class
|
|
67582
|
-
*/
|
|
67583
|
-
oClassInfo?: sap.ClassInfo<T, ODataModel>,
|
|
67584
|
-
/**
|
|
67585
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
67586
|
-
* used by this class
|
|
67587
|
-
*/
|
|
67588
|
-
FNMetaImpl?: Function
|
|
67589
|
-
): Function;
|
|
67590
67591
|
/**
|
|
67591
67592
|
* Returns a metadata object for class sap.ui.model.odata.v2.ODataModel.
|
|
67592
67593
|
*
|
|
@@ -69223,6 +69224,15 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
69223
69224
|
* @returns Metadata object
|
|
69224
69225
|
*/
|
|
69225
69226
|
getServiceMetadata(): Object | undefined;
|
|
69227
|
+
/**
|
|
69228
|
+
* Returns this model's base URI of the data service (as defined by the "serviceUrl" model parameter; see
|
|
69229
|
+
* {@link #constructor}), without query options.
|
|
69230
|
+
*
|
|
69231
|
+
* @since 1.130.0
|
|
69232
|
+
*
|
|
69233
|
+
* @returns The service's base URI without query options
|
|
69234
|
+
*/
|
|
69235
|
+
getServiceUrl(): string;
|
|
69226
69236
|
/**
|
|
69227
69237
|
* Checks if there exist pending changes in the model.
|
|
69228
69238
|
*
|
|
@@ -71095,6 +71105,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71095
71105
|
|
|
71096
71106
|
import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
|
|
71097
71107
|
|
|
71108
|
+
import Filter from "sap/ui/model/Filter";
|
|
71109
|
+
|
|
71098
71110
|
import Metadata from "sap/ui/base/Metadata";
|
|
71099
71111
|
|
|
71100
71112
|
import {
|
|
@@ -71203,8 +71215,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71203
71215
|
* {@link #hasPendingChanges}, {@link #resetChanges}, or {@link #isSelected} (returns `false` since 1.114.0).
|
|
71204
71216
|
*
|
|
71205
71217
|
* Since 1.105 such a pending deletion is a pending change. It causes `hasPendingChanges` to return `true`
|
|
71206
|
-
* for the context, the binding containing it, and the model. The `resetChanges` method called on the context
|
|
71207
|
-
*
|
|
71218
|
+
* for the context, the binding containing it, and the model. The `resetChanges` method called on the context,
|
|
71219
|
+
* the binding, or the model cancels the deletion and restores the context.
|
|
71208
71220
|
*
|
|
71209
71221
|
* If the DELETE request succeeds, the context is destroyed and must not be used anymore. If it fails or
|
|
71210
71222
|
* is canceled, the context is restored, reinserted into the list, and fully functional again.
|
|
@@ -71281,6 +71293,9 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71281
71293
|
* #isExpanded
|
|
71282
71294
|
*
|
|
71283
71295
|
* @since 1.77.0
|
|
71296
|
+
*
|
|
71297
|
+
* @returns A promise which is resolved without a defined result when the expand is successful, or rejected
|
|
71298
|
+
* in case of an error
|
|
71284
71299
|
*/
|
|
71285
71300
|
expand(
|
|
71286
71301
|
/**
|
|
@@ -71289,7 +71304,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71289
71304
|
* is not changed.
|
|
71290
71305
|
*/
|
|
71291
71306
|
iLevels?: number
|
|
71292
|
-
): void
|
|
71307
|
+
): Promise<void>;
|
|
71293
71308
|
/**
|
|
71294
71309
|
* Returns the binding this context belongs to.
|
|
71295
71310
|
*
|
|
@@ -71312,6 +71327,17 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71312
71327
|
* @returns The canonical path (e.g. "/SalesOrderList('0500000000')")
|
|
71313
71328
|
*/
|
|
71314
71329
|
getCanonicalPath(): string;
|
|
71330
|
+
/**
|
|
71331
|
+
* Returns a filter object corresponding to this context. For an ordinary row context of a list binding,
|
|
71332
|
+
* the filter matches exactly the entity's key properties. For a subtotal row (see {@link sap.ui.model.odata.v4.ODataListBinding.setAggregation}),
|
|
71333
|
+
* the filter matches exactly the groupable properties corresponding to this context. For a grand total,
|
|
71334
|
+
* `null` is returned.
|
|
71335
|
+
*
|
|
71336
|
+
* @since 1.130.0
|
|
71337
|
+
*
|
|
71338
|
+
* @returns A filter object corresponding to this context
|
|
71339
|
+
*/
|
|
71340
|
+
getFilter(): Filter | null;
|
|
71315
71341
|
/**
|
|
71316
71342
|
* Returns the group ID of the context's binding that is used for read requests. See {@link sap.ui.model.odata.v4.ODataListBinding#getGroupId }
|
|
71317
71343
|
* and {@link sap.ui.model.odata.v4.ODataContextBinding#getGroupId}.
|
|
@@ -71483,13 +71509,14 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71483
71509
|
*/
|
|
71484
71510
|
isKeepAlive(): boolean;
|
|
71485
71511
|
/**
|
|
71486
|
-
* Tells whether this context is currently selected, but not {@link #delete deleted} on the client.
|
|
71487
|
-
* 1.122.0 the selection state can also be accessed via instance
|
|
71488
|
-
* the entity. Note that the annotation does not take the deletion
|
|
71512
|
+
* Tells whether this context is currently selected, but not {@link #delete deleted} on the client. Selection
|
|
71513
|
+
* was experimental as of version 1.111.0. Since 1.122.0, the selection state can also be accessed via instance
|
|
71514
|
+
* annotation "@$ui5.context.isSelected" at the entity. Note that the annotation does not take the deletion
|
|
71515
|
+
* state into account.
|
|
71489
71516
|
* See:
|
|
71490
71517
|
* #setSelected
|
|
71491
71518
|
*
|
|
71492
|
-
* @
|
|
71519
|
+
* @since 1.130.0
|
|
71493
71520
|
*
|
|
71494
71521
|
* @returns Whether this context is currently selected
|
|
71495
71522
|
*/
|
|
@@ -71890,8 +71917,9 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71890
71917
|
* Sets whether this context is currently selected. If the selection state changes, a {@link sap.ui.model.odata.v4.ODataListBinding#event:selectionChanged 'selectionChanged' }
|
|
71891
71918
|
* event is fired on the list binding which this context belongs to. While a context is currently {@link #delete deleted }
|
|
71892
71919
|
* on the client, it does not appear as {@link #isSelected selected}. If the preconditions of {@link #setKeepAlive }
|
|
71893
|
-
* hold, a best effort is made to implicitly keep a selected context alive in order to preserve the
|
|
71894
|
-
* state
|
|
71920
|
+
* hold, a best effort is made to implicitly keep a (de-)selected context alive in order to preserve the
|
|
71921
|
+
* selection state of every exception to the "select all" state defined by the list binding's {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context}.
|
|
71922
|
+
* Once the selection is no longer needed, for example because you perform an operation on this context
|
|
71895
71923
|
* which logically removes it from its list, you need to reset the selection.
|
|
71896
71924
|
*
|
|
71897
71925
|
* If this context is a header context of a list binding, the new selection state is propagated to all row
|
|
@@ -71902,11 +71930,13 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71902
71930
|
* of any row context changes in this way, then a {@link sap.ui.model.odata.v4.ODataListBinding#event:selectionChanged 'selectionChanged' }
|
|
71903
71931
|
* event is nevertheless fired for this header context, but not for the row context.
|
|
71904
71932
|
*
|
|
71933
|
+
* Selection was experimental as of version 1.111.0.
|
|
71934
|
+
*
|
|
71905
71935
|
* **Note:** It is unsafe to keep a reference to a context instance which is not {@link #isKeepAlive kept alive}.
|
|
71906
71936
|
* See:
|
|
71907
71937
|
* #isSelected
|
|
71908
71938
|
*
|
|
71909
|
-
* @
|
|
71939
|
+
* @since 1.130.0
|
|
71910
71940
|
*/
|
|
71911
71941
|
setSelected(
|
|
71912
71942
|
/**
|
|
@@ -72836,11 +72866,11 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
72836
72866
|
* creation or {@link sap.ui.model.odata.v4.Context#move move} must be pending, and no other modification
|
|
72837
72867
|
* (including collapse of some ancestor node) must happen while this creation is pending!
|
|
72838
72868
|
*
|
|
72839
|
-
* When using the `createInPlace` parameter (see {@link #setAggregation},
|
|
72840
|
-
*
|
|
72841
|
-
*
|
|
72842
|
-
*
|
|
72843
|
-
*
|
|
72869
|
+
* When using the `createInPlace` parameter (see {@link #setAggregation}, since 1.130.0), the new {@link sap.ui.model.odata.v4.Context#isTransient transient }
|
|
72870
|
+
* child is hidden until its {@link sap.ui.model.odata.v4.Context#created created promise} resolves, and
|
|
72871
|
+
* then it is shown at a position determined by the back end and the current sort order. Note that the returned
|
|
72872
|
+
* context is not always part of this list binding's collection and can only be used for the following scenarios:
|
|
72873
|
+
*
|
|
72844
72874
|
* The position of the new child can be retrieved by using its {@link sap.ui.model.odata.v4.Context#getIndex index}.
|
|
72845
72875
|
* If the created child does not become part of the hierarchy due to the search or filter criteria, the
|
|
72846
72876
|
* context will be {@link sap.ui.model.odata.v4.Context#destroy destroyed} and its {@link sap.ui.model.odata.v4.Context#getIndex index }
|
|
@@ -73068,7 +73098,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73068
73098
|
* @since 1.37.0
|
|
73069
73099
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
73070
73100
|
*
|
|
73071
|
-
* @returns The array of already created contexts with the first entry containing the context for `iStart
|
|
73101
|
+
* @returns The array of already created contexts with the first entry containing the context for `iStart`.
|
|
73102
|
+
* Since 1.130.0, the array has an additional property `bExpectMore`, which is `true` if the response is
|
|
73103
|
+
* not complete, a {@link #event:change 'change'} event will follow, and a busy indicator should be switched
|
|
73104
|
+
* on.
|
|
73072
73105
|
*/
|
|
73073
73106
|
getContexts(
|
|
73074
73107
|
/**
|
|
@@ -73515,10 +73548,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73515
73548
|
*/
|
|
73516
73549
|
aggregate?: object;
|
|
73517
73550
|
/**
|
|
73518
|
-
* Whether created nodes are shown in place at the position specified by the service (
|
|
73519
|
-
*
|
|
73520
|
-
*
|
|
73521
|
-
*
|
|
73551
|
+
* Whether created nodes are shown in place at the position specified by the service (since 1.130.0); only
|
|
73552
|
+
* the value `true` is allowed. Otherwise, created nodes are displayed out of place as the first children
|
|
73553
|
+
* of their parent or as the first roots, but not in their usual position as defined by the service and
|
|
73554
|
+
* the current sort order.
|
|
73522
73555
|
*/
|
|
73523
73556
|
createInPlace?: boolean;
|
|
73524
73557
|
/**
|
|
@@ -73537,8 +73570,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73537
73570
|
* A map from groupable property names to objects containing the following details:
|
|
73538
73571
|
* `additionally`: An optional list of strings that provides the paths to properties (like texts or attributes)
|
|
73539
73572
|
* related to this groupable property in a 1:1 relation (since 1.87.0). They are requested additionally
|
|
73540
|
-
* via `groupby and must not change the actual grouping; a unit` for an aggregatable property
|
|
73541
|
-
*
|
|
73573
|
+
* via `groupby` and must not change the actual grouping; a `unit` for an aggregatable property must not
|
|
73574
|
+
* be repeated here.
|
|
73542
73575
|
*/
|
|
73543
73576
|
group?: object;
|
|
73544
73577
|
/**
|
|
@@ -73878,8 +73911,6 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73878
73911
|
|
|
73879
73912
|
/**
|
|
73880
73913
|
* Parameters of the ODataListBinding#selectionChanged event.
|
|
73881
|
-
*
|
|
73882
|
-
* @experimental (since 1.126.0)
|
|
73883
73914
|
*/
|
|
73884
73915
|
export interface ODataListBinding$SelectionChangedEventParameters {
|
|
73885
73916
|
/**
|
|
@@ -73890,8 +73921,6 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73890
73921
|
|
|
73891
73922
|
/**
|
|
73892
73923
|
* Event object of the ODataListBinding#selectionChanged event.
|
|
73893
|
-
*
|
|
73894
|
-
* @experimental (since 1.126.0)
|
|
73895
73924
|
*/
|
|
73896
73925
|
export type ODataListBinding$SelectionChangedEvent = Event<
|
|
73897
73926
|
ODataListBinding$SelectionChangedEventParameters,
|
|
@@ -74855,30 +74884,6 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
74855
74884
|
}
|
|
74856
74885
|
);
|
|
74857
74886
|
|
|
74858
|
-
/**
|
|
74859
|
-
* Creates a new subclass of class sap.ui.model.odata.v4.ODataModel with name `sClassName` and enriches
|
|
74860
|
-
* it with the information contained in `oClassInfo`.
|
|
74861
|
-
*
|
|
74862
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.model.Model.extend}.
|
|
74863
|
-
*
|
|
74864
|
-
*
|
|
74865
|
-
* @returns Created class / constructor function
|
|
74866
|
-
*/
|
|
74867
|
-
static extend<T extends Record<string, unknown>>(
|
|
74868
|
-
/**
|
|
74869
|
-
* Name of the class being created
|
|
74870
|
-
*/
|
|
74871
|
-
sClassName: string,
|
|
74872
|
-
/**
|
|
74873
|
-
* Object literal with information about the class
|
|
74874
|
-
*/
|
|
74875
|
-
oClassInfo?: sap.ClassInfo<T, ODataModel>,
|
|
74876
|
-
/**
|
|
74877
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
74878
|
-
* used by this class
|
|
74879
|
-
*/
|
|
74880
|
-
FNMetaImpl?: Function
|
|
74881
|
-
): Function;
|
|
74882
74887
|
/**
|
|
74883
74888
|
* Returns a metadata object for class sap.ui.model.odata.v4.ODataModel.
|
|
74884
74889
|
*
|
|
@@ -75170,9 +75175,9 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
75170
75175
|
* An array of navigation property names which are omitted from the main list request and loaded in a separate
|
|
75171
75176
|
* request instead (@experimental as of version 1.129.0). This results in the main list becoming available
|
|
75172
75177
|
* faster, while the separate properties are merged as soon as the data is received. Note that the separate
|
|
75173
|
-
* properties must be part of the '$expand' system query option, either automatically
|
|
75174
|
-
* model parameter (see {@link sap.ui.model.odata.v4.ODataModel#constructor})
|
|
75175
|
-
* parameter must not be combined with `$$aggregation`.
|
|
75178
|
+
* properties must be single valued and part of the '$expand' system query option, either automatically
|
|
75179
|
+
* via the "autoExpandSelect" model parameter (see {@link sap.ui.model.odata.v4.ODataModel#constructor})
|
|
75180
|
+
* or manually. The `$$separate` parameter must not be combined with `$$aggregation`.
|
|
75176
75181
|
*/
|
|
75177
75182
|
$$separate?: string[];
|
|
75178
75183
|
/**
|
|
@@ -75217,8 +75222,8 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
75217
75222
|
* If the target type specified in the corresponding control property's binding info is "any" and the binding
|
|
75218
75223
|
* is relative or points to metadata, the binding may have an object value; in this case and unless the
|
|
75219
75224
|
* binding refers to an action advertisement the binding's mode must be {@link sap.ui.model.BindingMode.OneTime}.
|
|
75220
|
-
* {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (
|
|
75221
|
-
*
|
|
75225
|
+
* {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (since 1.130.0) for complex types and
|
|
75226
|
+
* collections thereof; for entity types, use {@link #bindContext} instead.
|
|
75222
75227
|
* See:
|
|
75223
75228
|
* sap.ui.base.ManagedObject#bindProperty
|
|
75224
75229
|
* sap.ui.model.Model#bindProperty
|
|
@@ -87638,6 +87643,8 @@ declare namespace sap {
|
|
|
87638
87643
|
|
|
87639
87644
|
"sap/ui/core/ComponentContainer": undefined;
|
|
87640
87645
|
|
|
87646
|
+
"sap/ui/core/ComponentHooks": undefined;
|
|
87647
|
+
|
|
87641
87648
|
"sap/ui/core/ComponentMetadata": undefined;
|
|
87642
87649
|
|
|
87643
87650
|
"sap/ui/core/ComponentRegistry": undefined;
|
|
@@ -87694,6 +87701,8 @@ declare namespace sap {
|
|
|
87694
87701
|
|
|
87695
87702
|
"sap/ui/core/fieldhelp/FieldHelp": undefined;
|
|
87696
87703
|
|
|
87704
|
+
"sap/ui/core/fieldhelp/FieldHelpCustomData": undefined;
|
|
87705
|
+
|
|
87697
87706
|
"sap/ui/core/fieldhelp/FieldHelpUtil": undefined;
|
|
87698
87707
|
|
|
87699
87708
|
"sap/ui/core/format/DateFormat": undefined;
|
package/types/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/// <reference path="./sap.sac.df.d.ts"/>
|
|
20
20
|
/// <reference path="./sap.ui.commons.d.ts"/>
|
|
21
21
|
/// <reference path="./sap.ui.comp.d.ts"/>
|
|
22
|
-
/// <reference path="./
|
|
22
|
+
/// <reference path="./core-1.130.0-esm-d.ts"/>
|
|
23
23
|
/// <reference path="./sap.ui.dt.d.ts"/>
|
|
24
24
|
/// <reference path="./sap.ui.export.d.ts"/>
|
|
25
25
|
/// <reference path="./sap.f.d.ts"/>
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
/// <reference path="./sap.ui.integration.d.ts"/>
|
|
33
33
|
/// <reference path="./sap.ui.layout.d.ts"/>
|
|
34
34
|
/// <reference path="./sap.makit.d.ts"/>
|
|
35
|
-
/// <reference path="./
|
|
36
|
-
/// <reference path="./
|
|
35
|
+
/// <reference path="./mdc-1.130.0-esm-d.ts"/>
|
|
36
|
+
/// <reference path="./mobile-1.130.0-esm-d.ts"/>
|
|
37
37
|
/// <reference path="./sap.me.d.ts"/>
|
|
38
38
|
/// <reference path="./sap.ndc.d.ts"/>
|
|
39
39
|
/// <reference path="./sap.ovp.d.ts"/>
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
/// <reference path="./sap.cux.home.d.ts"/>
|
|
46
46
|
/// <reference path="./sap.esh.search.ui.d.ts"/>
|
|
47
47
|
/// <reference path="./sap.fe.base.d.ts"/>
|
|
48
|
+
/// <reference path="./sap.fe.controls.d.ts"/>
|
|
48
49
|
/// <reference path="./sap.fe.core.d.ts"/>
|
|
49
50
|
/// <reference path="./sap.fe.ina.d.ts"/>
|
|
50
51
|
/// <reference path="./sap.fe.macros.d.ts"/>
|