@sapui5/ts-types 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-d.ts} +116 -109
- package/types/index.d.ts +4 -3
- package/types/{sap.ui.mdc.d.ts → mdc-1.130.0-d.ts} +269 -234
- package/types/{sap.m.d.ts → mobile-1.130.0-d.ts} +1291 -3674
- 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 +42 -41
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +83 -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 +45 -6
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +508 -233
- 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 +727 -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 +99 -16
- package/types/sap.suite.ui.commons.d.ts +232 -123
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +251 -70
- 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 +40 -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 +3 -1
- 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
|
/**
|
|
@@ -6137,13 +6137,15 @@ declare module "sap/ui/performance/trace/Interaction" {
|
|
|
6137
6137
|
* Enables the interaction tracking.
|
|
6138
6138
|
*
|
|
6139
6139
|
* @since 1.76
|
|
6140
|
+
*
|
|
6141
|
+
* @returns Resolves when FESR is active
|
|
6140
6142
|
*/
|
|
6141
6143
|
setActive(
|
|
6142
6144
|
/**
|
|
6143
6145
|
* State of the interaction detection
|
|
6144
6146
|
*/
|
|
6145
6147
|
bActive: boolean
|
|
6146
|
-
):
|
|
6148
|
+
): Promise<any>;
|
|
6147
6149
|
}
|
|
6148
6150
|
const Interaction: Interaction;
|
|
6149
6151
|
export default Interaction;
|
|
@@ -18784,7 +18786,8 @@ declare namespace sap {
|
|
|
18784
18786
|
*/
|
|
18785
18787
|
maxIntegerDigits?: int;
|
|
18786
18788
|
/**
|
|
18787
|
-
*
|
|
18789
|
+
* Deprecated as of 1.130; this format option does not have an effect on currency formats since decimals
|
|
18790
|
+
* can always be determined, either through the given format options, custom currencies or the CLDR
|
|
18788
18791
|
*/
|
|
18789
18792
|
minFractionDigits?: int;
|
|
18790
18793
|
/**
|
|
@@ -32898,6 +32901,24 @@ declare namespace sap {
|
|
|
32898
32901
|
getFormDoNotAdjustWidth?(): boolean;
|
|
32899
32902
|
}
|
|
32900
32903
|
|
|
32904
|
+
/**
|
|
32905
|
+
* Defines a control, which can specify if it can be bound to a label
|
|
32906
|
+
*
|
|
32907
|
+
* @since 1.121.0
|
|
32908
|
+
*/
|
|
32909
|
+
interface ILabelable {
|
|
32910
|
+
__implements__sap_ui_core_ILabelable: boolean;
|
|
32911
|
+
|
|
32912
|
+
/**
|
|
32913
|
+
* Returns if the control can be bound to a label
|
|
32914
|
+
*
|
|
32915
|
+
* @since 1.121.0
|
|
32916
|
+
*
|
|
32917
|
+
* @returns `true` if the control can be bound to a label
|
|
32918
|
+
*/
|
|
32919
|
+
hasLabelableHTMLElement(): boolean;
|
|
32920
|
+
}
|
|
32921
|
+
|
|
32901
32922
|
/**
|
|
32902
32923
|
* Marker interface for container controls.
|
|
32903
32924
|
*
|
|
@@ -44408,21 +44429,23 @@ declare namespace sap {
|
|
|
44408
44429
|
*/
|
|
44409
44430
|
firstDayStartsFirstWeek(): boolean;
|
|
44410
44431
|
/**
|
|
44411
|
-
* Returns the pattern for representing the calendar week number in the given style.
|
|
44432
|
+
* Returns the pattern for representing the calendar week number in the given style. If `iWeekNumber` is
|
|
44433
|
+
* given, the week number placeholder will be replaced by it.
|
|
44412
44434
|
*
|
|
44413
44435
|
* @since 1.32.0
|
|
44414
44436
|
*
|
|
44415
|
-
* @returns the week number
|
|
44437
|
+
* @returns The calendar week with the week number placeholder or the week number e.g. "Calendar Week {0}"
|
|
44438
|
+
* or "CW 01"
|
|
44416
44439
|
*/
|
|
44417
44440
|
getCalendarWeek(
|
|
44418
44441
|
/**
|
|
44419
|
-
*
|
|
44442
|
+
* The style of the pattern
|
|
44420
44443
|
*/
|
|
44421
44444
|
sStyle: "narrow" | "wide",
|
|
44422
44445
|
/**
|
|
44423
|
-
*
|
|
44446
|
+
* The week number, e.g. "01" or "42"
|
|
44424
44447
|
*/
|
|
44425
|
-
|
|
44448
|
+
sWeekNumber?: string
|
|
44426
44449
|
): string;
|
|
44427
44450
|
/**
|
|
44428
44451
|
* Get combined datetime pattern with given date and time style. The combined datetime pattern is the datetime
|
|
@@ -44445,7 +44468,7 @@ declare namespace sap {
|
|
|
44445
44468
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44446
44469
|
* or calculated from locale.
|
|
44447
44470
|
*/
|
|
44448
|
-
sCalendarType?: sap.
|
|
44471
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44449
44472
|
): string;
|
|
44450
44473
|
/**
|
|
44451
44474
|
* Get combined interval pattern using a given pattern and the fallback interval pattern.
|
|
@@ -44466,7 +44489,7 @@ declare namespace sap {
|
|
|
44466
44489
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44467
44490
|
* or calculated from locale.
|
|
44468
44491
|
*/
|
|
44469
|
-
sCalendarType?: sap.
|
|
44492
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44470
44493
|
): string;
|
|
44471
44494
|
/**
|
|
44472
44495
|
* Returns the currency code which is corresponded with the given currency symbol.
|
|
@@ -44580,7 +44603,7 @@ declare namespace sap {
|
|
|
44580
44603
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44581
44604
|
* or calculated from locale.
|
|
44582
44605
|
*/
|
|
44583
|
-
sCalendarType?: sap.
|
|
44606
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44584
44607
|
): string;
|
|
44585
44608
|
/**
|
|
44586
44609
|
* Get interval pattern for a given skeleton format.
|
|
@@ -44613,7 +44636,7 @@ declare namespace sap {
|
|
|
44613
44636
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44614
44637
|
* or calculated from locale.
|
|
44615
44638
|
*/
|
|
44616
|
-
sCalendarType?: sap.
|
|
44639
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44617
44640
|
): string | string[];
|
|
44618
44641
|
/**
|
|
44619
44642
|
* Get date pattern in the given style.
|
|
@@ -44630,7 +44653,7 @@ declare namespace sap {
|
|
|
44630
44653
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44631
44654
|
* or calculated from locale.
|
|
44632
44655
|
*/
|
|
44633
|
-
sCalendarType?: sap.
|
|
44656
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44634
44657
|
): string;
|
|
44635
44658
|
/**
|
|
44636
44659
|
* Get datetime pattern in the given style.
|
|
@@ -44647,7 +44670,7 @@ declare namespace sap {
|
|
|
44647
44670
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44648
44671
|
* or calculated from locale.
|
|
44649
44672
|
*/
|
|
44650
|
-
sCalendarType?: sap.
|
|
44673
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44651
44674
|
): string;
|
|
44652
44675
|
/**
|
|
44653
44676
|
* Get day periods in the given width.
|
|
@@ -44664,7 +44687,7 @@ declare namespace sap {
|
|
|
44664
44687
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44665
44688
|
* or calculated from locale.
|
|
44666
44689
|
*/
|
|
44667
|
-
sCalendarType?: sap.
|
|
44690
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44668
44691
|
): string[];
|
|
44669
44692
|
/**
|
|
44670
44693
|
* Get standalone day periods in the given width.
|
|
@@ -44681,7 +44704,7 @@ declare namespace sap {
|
|
|
44681
44704
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44682
44705
|
* or calculated from locale.
|
|
44683
44706
|
*/
|
|
44684
|
-
sCalendarType?: sap.
|
|
44707
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44685
44708
|
): string[];
|
|
44686
44709
|
/**
|
|
44687
44710
|
* Get day names in the given width.
|
|
@@ -44698,7 +44721,7 @@ declare namespace sap {
|
|
|
44698
44721
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44699
44722
|
* or calculated from locale.
|
|
44700
44723
|
*/
|
|
44701
|
-
sCalendarType?: sap.
|
|
44724
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44702
44725
|
): string[];
|
|
44703
44726
|
/**
|
|
44704
44727
|
* Get standalone day names in the given width.
|
|
@@ -44715,7 +44738,7 @@ declare namespace sap {
|
|
|
44715
44738
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44716
44739
|
* or calculated from locale.
|
|
44717
44740
|
*/
|
|
44718
|
-
sCalendarType?: sap.
|
|
44741
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44719
44742
|
): string[];
|
|
44720
44743
|
/**
|
|
44721
44744
|
* Returns the short decimal format (like 1K, 1M....) of the given number in the given style and plural
|
|
@@ -44783,9 +44806,11 @@ declare namespace sap {
|
|
|
44783
44806
|
*/
|
|
44784
44807
|
getEraDates(
|
|
44785
44808
|
/**
|
|
44786
|
-
*
|
|
44809
|
+
* The type of calendar; defaults to the calendar type either set via the "calendar-type" formatting configuration
|
|
44810
|
+
* option, see {@link https://ui5.sap.com/#/topic/91f2d03b6f4d1014b6dd926db0e91070 Configuration Options and URL Parameters},
|
|
44811
|
+
* or determined from the current locale
|
|
44787
44812
|
*/
|
|
44788
|
-
sCalendarType?: sap.
|
|
44813
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44789
44814
|
): object[];
|
|
44790
44815
|
/**
|
|
44791
44816
|
* Returns array of eras in the given width.
|
|
@@ -44803,7 +44828,7 @@ declare namespace sap {
|
|
|
44803
44828
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
44804
44829
|
* locale
|
|
44805
44830
|
*/
|
|
44806
|
-
sCalendarType?: sap.
|
|
44831
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44807
44832
|
): string[];
|
|
44808
44833
|
/**
|
|
44809
44834
|
* Returns the day that usually is regarded as the first day of a week in the current locale.
|
|
@@ -44837,7 +44862,7 @@ declare namespace sap {
|
|
|
44837
44862
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
44838
44863
|
* or calculated from locale.
|
|
44839
44864
|
*/
|
|
44840
|
-
sCalendarType?: sap.
|
|
44865
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44841
44866
|
): string;
|
|
44842
44867
|
/**
|
|
44843
44868
|
* Gets the locale-specific language name for the given language tag.
|
|
@@ -44920,7 +44945,7 @@ declare namespace sap {
|
|
|
44920
44945
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
44921
44946
|
* locale
|
|
44922
44947
|
*/
|
|
44923
|
-
sCalendarType?: sap.
|
|
44948
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44924
44949
|
): string[];
|
|
44925
44950
|
/**
|
|
44926
44951
|
* Get standalone month names in the given width.
|
|
@@ -44937,7 +44962,7 @@ declare namespace sap {
|
|
|
44937
44962
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
44938
44963
|
* locale
|
|
44939
44964
|
*/
|
|
44940
|
-
sCalendarType?: sap.
|
|
44965
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
44941
44966
|
): string[];
|
|
44942
44967
|
/**
|
|
44943
44968
|
* Get number symbol for the given type.
|
|
@@ -44998,13 +45023,13 @@ declare namespace sap {
|
|
|
44998
45023
|
vNumber: string | number
|
|
44999
45024
|
): string;
|
|
45000
45025
|
/**
|
|
45001
|
-
* Returns the preferred calendar type for the current locale which exists in {@link sap
|
|
45026
|
+
* Returns the preferred calendar type for the current locale which exists in {@link module:sap/base/i18n/date/CalendarType}
|
|
45002
45027
|
*
|
|
45003
45028
|
* @since 1.28.6
|
|
45004
45029
|
*
|
|
45005
45030
|
* @returns the preferred calendar type
|
|
45006
45031
|
*/
|
|
45007
|
-
getPreferredCalendarType(): sap.
|
|
45032
|
+
getPreferredCalendarType(): import("sap/base/i18n/date/CalendarType").default;
|
|
45008
45033
|
/**
|
|
45009
45034
|
* Returns the preferred hour pattern symbol ("h" for 12, "H" for 24 hours) for the current locale.
|
|
45010
45035
|
*
|
|
@@ -45028,7 +45053,7 @@ declare namespace sap {
|
|
|
45028
45053
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
45029
45054
|
* or calculated from locale.
|
|
45030
45055
|
*/
|
|
45031
|
-
sCalendarType?: sap.
|
|
45056
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
45032
45057
|
): string[];
|
|
45033
45058
|
/**
|
|
45034
45059
|
* Get standalone quarter names in the given width.
|
|
@@ -45045,7 +45070,7 @@ declare namespace sap {
|
|
|
45045
45070
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
45046
45071
|
* or calculated from locale.
|
|
45047
45072
|
*/
|
|
45048
|
-
sCalendarType?: sap.
|
|
45073
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
45049
45074
|
): string[];
|
|
45050
45075
|
/**
|
|
45051
45076
|
* Returns the relative day resource pattern (like "Today", "Yesterday", "{0} days ago") based on the given
|
|
@@ -45301,7 +45326,7 @@ declare namespace sap {
|
|
|
45301
45326
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
45302
45327
|
* or calculated from locale.
|
|
45303
45328
|
*/
|
|
45304
|
-
sCalendarType?: sap.
|
|
45329
|
+
sCalendarType?: import("sap/base/i18n/date/CalendarType").default
|
|
45305
45330
|
): string;
|
|
45306
45331
|
/**
|
|
45307
45332
|
* Retrieves the localized display name of a unit by sUnit, e.g. "duration-hour".
|
|
@@ -59563,30 +59588,6 @@ declare namespace sap {
|
|
|
59563
59588
|
}
|
|
59564
59589
|
);
|
|
59565
59590
|
|
|
59566
|
-
/**
|
|
59567
|
-
* Creates a new subclass of class sap.ui.model.odata.v2.ODataModel with name `sClassName` and enriches
|
|
59568
|
-
* it with the information contained in `oClassInfo`.
|
|
59569
|
-
*
|
|
59570
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.model.Model.extend}.
|
|
59571
|
-
*
|
|
59572
|
-
*
|
|
59573
|
-
* @returns Created class / constructor function
|
|
59574
|
-
*/
|
|
59575
|
-
static extend<T extends Record<string, unknown>>(
|
|
59576
|
-
/**
|
|
59577
|
-
* Name of the class being created
|
|
59578
|
-
*/
|
|
59579
|
-
sClassName: string,
|
|
59580
|
-
/**
|
|
59581
|
-
* Object literal with information about the class
|
|
59582
|
-
*/
|
|
59583
|
-
oClassInfo?: sap.ClassInfo<T, sap.ui.model.odata.v2.ODataModel>,
|
|
59584
|
-
/**
|
|
59585
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
59586
|
-
* used by this class
|
|
59587
|
-
*/
|
|
59588
|
-
FNMetaImpl?: Function
|
|
59589
|
-
): Function;
|
|
59590
59591
|
/**
|
|
59591
59592
|
* Returns a metadata object for class sap.ui.model.odata.v2.ODataModel.
|
|
59592
59593
|
*
|
|
@@ -61229,6 +61230,15 @@ declare namespace sap {
|
|
|
61229
61230
|
* @returns Metadata object
|
|
61230
61231
|
*/
|
|
61231
61232
|
getServiceMetadata(): Object | undefined;
|
|
61233
|
+
/**
|
|
61234
|
+
* Returns this model's base URI of the data service (as defined by the "serviceUrl" model parameter; see
|
|
61235
|
+
* {@link #constructor}), without query options.
|
|
61236
|
+
*
|
|
61237
|
+
* @since 1.130.0
|
|
61238
|
+
*
|
|
61239
|
+
* @returns The service's base URI without query options
|
|
61240
|
+
*/
|
|
61241
|
+
getServiceUrl(): string;
|
|
61232
61242
|
/**
|
|
61233
61243
|
* Checks if there exist pending changes in the model.
|
|
61234
61244
|
*
|
|
@@ -62428,8 +62438,6 @@ declare namespace sap {
|
|
|
62428
62438
|
|
|
62429
62439
|
/**
|
|
62430
62440
|
* Parameters of the ODataListBinding#selectionChanged event.
|
|
62431
|
-
*
|
|
62432
|
-
* @experimental (since 1.126.0)
|
|
62433
62441
|
*/
|
|
62434
62442
|
interface ODataListBinding$SelectionChangedEventParameters {
|
|
62435
62443
|
/**
|
|
@@ -63292,8 +63300,8 @@ declare namespace sap {
|
|
|
63292
63300
|
* {@link #hasPendingChanges}, {@link #resetChanges}, or {@link #isSelected} (returns `false` since 1.114.0).
|
|
63293
63301
|
*
|
|
63294
63302
|
* Since 1.105 such a pending deletion is a pending change. It causes `hasPendingChanges` to return `true`
|
|
63295
|
-
* for the context, the binding containing it, and the model. The `resetChanges` method called on the context
|
|
63296
|
-
*
|
|
63303
|
+
* for the context, the binding containing it, and the model. The `resetChanges` method called on the context,
|
|
63304
|
+
* the binding, or the model cancels the deletion and restores the context.
|
|
63297
63305
|
*
|
|
63298
63306
|
* If the DELETE request succeeds, the context is destroyed and must not be used anymore. If it fails or
|
|
63299
63307
|
* is canceled, the context is restored, reinserted into the list, and fully functional again.
|
|
@@ -63370,6 +63378,9 @@ declare namespace sap {
|
|
|
63370
63378
|
* #isExpanded
|
|
63371
63379
|
*
|
|
63372
63380
|
* @since 1.77.0
|
|
63381
|
+
*
|
|
63382
|
+
* @returns A promise which is resolved without a defined result when the expand is successful, or rejected
|
|
63383
|
+
* in case of an error
|
|
63373
63384
|
*/
|
|
63374
63385
|
expand(
|
|
63375
63386
|
/**
|
|
@@ -63378,7 +63389,7 @@ declare namespace sap {
|
|
|
63378
63389
|
* is not changed.
|
|
63379
63390
|
*/
|
|
63380
63391
|
iLevels?: number
|
|
63381
|
-
): void
|
|
63392
|
+
): Promise<void>;
|
|
63382
63393
|
/**
|
|
63383
63394
|
* Returns the binding this context belongs to.
|
|
63384
63395
|
*
|
|
@@ -63403,6 +63414,17 @@ declare namespace sap {
|
|
|
63403
63414
|
* @returns The canonical path (e.g. "/SalesOrderList('0500000000')")
|
|
63404
63415
|
*/
|
|
63405
63416
|
getCanonicalPath(): string;
|
|
63417
|
+
/**
|
|
63418
|
+
* Returns a filter object corresponding to this context. For an ordinary row context of a list binding,
|
|
63419
|
+
* the filter matches exactly the entity's key properties. For a subtotal row (see {@link sap.ui.model.odata.v4.ODataListBinding.setAggregation}),
|
|
63420
|
+
* the filter matches exactly the groupable properties corresponding to this context. For a grand total,
|
|
63421
|
+
* `null` is returned.
|
|
63422
|
+
*
|
|
63423
|
+
* @since 1.130.0
|
|
63424
|
+
*
|
|
63425
|
+
* @returns A filter object corresponding to this context
|
|
63426
|
+
*/
|
|
63427
|
+
getFilter(): sap.ui.model.Filter | null;
|
|
63406
63428
|
/**
|
|
63407
63429
|
* Returns the group ID of the context's binding that is used for read requests. See {@link sap.ui.model.odata.v4.ODataListBinding#getGroupId }
|
|
63408
63430
|
* and {@link sap.ui.model.odata.v4.ODataContextBinding#getGroupId}.
|
|
@@ -63574,13 +63596,14 @@ declare namespace sap {
|
|
|
63574
63596
|
*/
|
|
63575
63597
|
isKeepAlive(): boolean;
|
|
63576
63598
|
/**
|
|
63577
|
-
* Tells whether this context is currently selected, but not {@link #delete deleted} on the client.
|
|
63578
|
-
* 1.122.0 the selection state can also be accessed via instance
|
|
63579
|
-
* the entity. Note that the annotation does not take the deletion
|
|
63599
|
+
* Tells whether this context is currently selected, but not {@link #delete deleted} on the client. Selection
|
|
63600
|
+
* was experimental as of version 1.111.0. Since 1.122.0, the selection state can also be accessed via instance
|
|
63601
|
+
* annotation "@$ui5.context.isSelected" at the entity. Note that the annotation does not take the deletion
|
|
63602
|
+
* state into account.
|
|
63580
63603
|
* See:
|
|
63581
63604
|
* #setSelected
|
|
63582
63605
|
*
|
|
63583
|
-
* @
|
|
63606
|
+
* @since 1.130.0
|
|
63584
63607
|
*
|
|
63585
63608
|
* @returns Whether this context is currently selected
|
|
63586
63609
|
*/
|
|
@@ -63985,8 +64008,9 @@ declare namespace sap {
|
|
|
63985
64008
|
* Sets whether this context is currently selected. If the selection state changes, a {@link sap.ui.model.odata.v4.ODataListBinding#event:selectionChanged 'selectionChanged' }
|
|
63986
64009
|
* event is fired on the list binding which this context belongs to. While a context is currently {@link #delete deleted }
|
|
63987
64010
|
* on the client, it does not appear as {@link #isSelected selected}. If the preconditions of {@link #setKeepAlive }
|
|
63988
|
-
* hold, a best effort is made to implicitly keep a selected context alive in order to preserve the
|
|
63989
|
-
* state
|
|
64011
|
+
* hold, a best effort is made to implicitly keep a (de-)selected context alive in order to preserve the
|
|
64012
|
+
* 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}.
|
|
64013
|
+
* Once the selection is no longer needed, for example because you perform an operation on this context
|
|
63990
64014
|
* which logically removes it from its list, you need to reset the selection.
|
|
63991
64015
|
*
|
|
63992
64016
|
* If this context is a header context of a list binding, the new selection state is propagated to all row
|
|
@@ -63997,11 +64021,13 @@ declare namespace sap {
|
|
|
63997
64021
|
* of any row context changes in this way, then a {@link sap.ui.model.odata.v4.ODataListBinding#event:selectionChanged 'selectionChanged' }
|
|
63998
64022
|
* event is nevertheless fired for this header context, but not for the row context.
|
|
63999
64023
|
*
|
|
64024
|
+
* Selection was experimental as of version 1.111.0.
|
|
64025
|
+
*
|
|
64000
64026
|
* **Note:** It is unsafe to keep a reference to a context instance which is not {@link #isKeepAlive kept alive}.
|
|
64001
64027
|
* See:
|
|
64002
64028
|
* #isSelected
|
|
64003
64029
|
*
|
|
64004
|
-
* @
|
|
64030
|
+
* @since 1.130.0
|
|
64005
64031
|
*/
|
|
64006
64032
|
setSelected(
|
|
64007
64033
|
/**
|
|
@@ -64812,11 +64838,11 @@ declare namespace sap {
|
|
|
64812
64838
|
* creation or {@link sap.ui.model.odata.v4.Context#move move} must be pending, and no other modification
|
|
64813
64839
|
* (including collapse of some ancestor node) must happen while this creation is pending!
|
|
64814
64840
|
*
|
|
64815
|
-
* When using the `createInPlace` parameter (see {@link #setAggregation},
|
|
64816
|
-
*
|
|
64817
|
-
*
|
|
64818
|
-
*
|
|
64819
|
-
*
|
|
64841
|
+
* When using the `createInPlace` parameter (see {@link #setAggregation}, since 1.130.0), the new {@link sap.ui.model.odata.v4.Context#isTransient transient }
|
|
64842
|
+
* child is hidden until its {@link sap.ui.model.odata.v4.Context#created created promise} resolves, and
|
|
64843
|
+
* then it is shown at a position determined by the back end and the current sort order. Note that the returned
|
|
64844
|
+
* context is not always part of this list binding's collection and can only be used for the following scenarios:
|
|
64845
|
+
*
|
|
64820
64846
|
* The position of the new child can be retrieved by using its {@link sap.ui.model.odata.v4.Context#getIndex index}.
|
|
64821
64847
|
* If the created child does not become part of the hierarchy due to the search or filter criteria, the
|
|
64822
64848
|
* context will be {@link sap.ui.model.odata.v4.Context#destroy destroyed} and its {@link sap.ui.model.odata.v4.Context#getIndex index }
|
|
@@ -65044,7 +65070,10 @@ declare namespace sap {
|
|
|
65044
65070
|
* @since 1.37.0
|
|
65045
65071
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
65046
65072
|
*
|
|
65047
|
-
* @returns The array of already created contexts with the first entry containing the context for `iStart
|
|
65073
|
+
* @returns The array of already created contexts with the first entry containing the context for `iStart`.
|
|
65074
|
+
* Since 1.130.0, the array has an additional property `bExpectMore`, which is `true` if the response is
|
|
65075
|
+
* not complete, a {@link #event:change 'change'} event will follow, and a busy indicator should be switched
|
|
65076
|
+
* on.
|
|
65048
65077
|
*/
|
|
65049
65078
|
getContexts(
|
|
65050
65079
|
/**
|
|
@@ -65491,10 +65520,10 @@ declare namespace sap {
|
|
|
65491
65520
|
*/
|
|
65492
65521
|
aggregate?: object;
|
|
65493
65522
|
/**
|
|
65494
|
-
* Whether created nodes are shown in place at the position specified by the service (
|
|
65495
|
-
*
|
|
65496
|
-
*
|
|
65497
|
-
*
|
|
65523
|
+
* Whether created nodes are shown in place at the position specified by the service (since 1.130.0); only
|
|
65524
|
+
* the value `true` is allowed. Otherwise, created nodes are displayed out of place as the first children
|
|
65525
|
+
* of their parent or as the first roots, but not in their usual position as defined by the service and
|
|
65526
|
+
* the current sort order.
|
|
65498
65527
|
*/
|
|
65499
65528
|
createInPlace?: boolean;
|
|
65500
65529
|
/**
|
|
@@ -65513,8 +65542,8 @@ declare namespace sap {
|
|
|
65513
65542
|
* A map from groupable property names to objects containing the following details:
|
|
65514
65543
|
* `additionally`: An optional list of strings that provides the paths to properties (like texts or attributes)
|
|
65515
65544
|
* related to this groupable property in a 1:1 relation (since 1.87.0). They are requested additionally
|
|
65516
|
-
* via `groupby and must not change the actual grouping; a unit` for an aggregatable property
|
|
65517
|
-
*
|
|
65545
|
+
* via `groupby` and must not change the actual grouping; a `unit` for an aggregatable property must not
|
|
65546
|
+
* be repeated here.
|
|
65518
65547
|
*/
|
|
65519
65548
|
group?: object;
|
|
65520
65549
|
/**
|
|
@@ -66587,30 +66616,6 @@ declare namespace sap {
|
|
|
66587
66616
|
}
|
|
66588
66617
|
);
|
|
66589
66618
|
|
|
66590
|
-
/**
|
|
66591
|
-
* Creates a new subclass of class sap.ui.model.odata.v4.ODataModel with name `sClassName` and enriches
|
|
66592
|
-
* it with the information contained in `oClassInfo`.
|
|
66593
|
-
*
|
|
66594
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.model.Model.extend}.
|
|
66595
|
-
*
|
|
66596
|
-
*
|
|
66597
|
-
* @returns Created class / constructor function
|
|
66598
|
-
*/
|
|
66599
|
-
static extend<T extends Record<string, unknown>>(
|
|
66600
|
-
/**
|
|
66601
|
-
* Name of the class being created
|
|
66602
|
-
*/
|
|
66603
|
-
sClassName: string,
|
|
66604
|
-
/**
|
|
66605
|
-
* Object literal with information about the class
|
|
66606
|
-
*/
|
|
66607
|
-
oClassInfo?: sap.ClassInfo<T, sap.ui.model.odata.v4.ODataModel>,
|
|
66608
|
-
/**
|
|
66609
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
66610
|
-
* used by this class
|
|
66611
|
-
*/
|
|
66612
|
-
FNMetaImpl?: Function
|
|
66613
|
-
): Function;
|
|
66614
66619
|
/**
|
|
66615
66620
|
* Returns a metadata object for class sap.ui.model.odata.v4.ODataModel.
|
|
66616
66621
|
*
|
|
@@ -66902,9 +66907,9 @@ declare namespace sap {
|
|
|
66902
66907
|
* An array of navigation property names which are omitted from the main list request and loaded in a separate
|
|
66903
66908
|
* request instead (@experimental as of version 1.129.0). This results in the main list becoming available
|
|
66904
66909
|
* faster, while the separate properties are merged as soon as the data is received. Note that the separate
|
|
66905
|
-
* properties must be part of the '$expand' system query option, either automatically
|
|
66906
|
-
* model parameter (see {@link sap.ui.model.odata.v4.ODataModel#constructor})
|
|
66907
|
-
* parameter must not be combined with `$$aggregation`.
|
|
66910
|
+
* properties must be single valued and part of the '$expand' system query option, either automatically
|
|
66911
|
+
* via the "autoExpandSelect" model parameter (see {@link sap.ui.model.odata.v4.ODataModel#constructor})
|
|
66912
|
+
* or manually. The `$$separate` parameter must not be combined with `$$aggregation`.
|
|
66908
66913
|
*/
|
|
66909
66914
|
$$separate?: string[];
|
|
66910
66915
|
/**
|
|
@@ -66949,8 +66954,8 @@ declare namespace sap {
|
|
|
66949
66954
|
* If the target type specified in the corresponding control property's binding info is "any" and the binding
|
|
66950
66955
|
* is relative or points to metadata, the binding may have an object value; in this case and unless the
|
|
66951
66956
|
* binding refers to an action advertisement the binding's mode must be {@link sap.ui.model.BindingMode.OneTime}.
|
|
66952
|
-
* {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (
|
|
66953
|
-
*
|
|
66957
|
+
* {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (since 1.130.0) for complex types and
|
|
66958
|
+
* collections thereof; for entity types, use {@link #bindContext} instead.
|
|
66954
66959
|
* See:
|
|
66955
66960
|
* sap.ui.base.ManagedObject#bindProperty
|
|
66956
66961
|
* sap.ui.model.Model#bindProperty
|
|
@@ -68030,8 +68035,6 @@ declare namespace sap {
|
|
|
68030
68035
|
|
|
68031
68036
|
/**
|
|
68032
68037
|
* Event object of the ODataListBinding#selectionChanged event.
|
|
68033
|
-
*
|
|
68034
|
-
* @experimental (since 1.126.0)
|
|
68035
68038
|
*/
|
|
68036
68039
|
type ODataListBinding$SelectionChangedEvent = sap.ui.base.Event<
|
|
68037
68040
|
ODataListBinding$SelectionChangedEventParameters,
|
|
@@ -76224,7 +76227,7 @@ declare namespace sap {
|
|
|
76224
76227
|
*
|
|
76225
76228
|
* For more information on the concept of data binding and binding contexts, see {@link https://ui5.sap.com/#/topic/e2e6f4127fe4450ab3cf1339c42ee832 documentation on binding syntax}.
|
|
76226
76229
|
*/
|
|
76227
|
-
|
|
76230
|
+
class Context extends sap.ui.base.Object {
|
|
76228
76231
|
/**
|
|
76229
76232
|
* Constructor for Context class. The constructor must only be called by model-internal methods.
|
|
76230
76233
|
*/
|
|
@@ -85559,6 +85562,8 @@ declare namespace sap {
|
|
|
85559
85562
|
|
|
85560
85563
|
"sap/ui/core/ComponentContainer": undefined;
|
|
85561
85564
|
|
|
85565
|
+
"sap/ui/core/ComponentHooks": undefined;
|
|
85566
|
+
|
|
85562
85567
|
"sap/ui/core/ComponentMetadata": undefined;
|
|
85563
85568
|
|
|
85564
85569
|
"sap/ui/core/ComponentRegistry": undefined;
|
|
@@ -85615,6 +85620,8 @@ declare namespace sap {
|
|
|
85615
85620
|
|
|
85616
85621
|
"sap/ui/core/fieldhelp/FieldHelp": undefined;
|
|
85617
85622
|
|
|
85623
|
+
"sap/ui/core/fieldhelp/FieldHelpCustomData": undefined;
|
|
85624
|
+
|
|
85618
85625
|
"sap/ui/core/fieldhelp/FieldHelpUtil": undefined;
|
|
85619
85626
|
|
|
85620
85627
|
"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-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-d.ts"/>
|
|
36
|
+
/// <reference path="./mobile-1.130.0-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"/>
|