@openui5/ts-types 1.116.0 → 1.117.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 +160 -63
- package/types/sap.m.d.ts +2259 -806
- package/types/sap.tnt.d.ts +13 -4
- package/types/sap.ui.codeeditor.d.ts +9 -3
- package/types/sap.ui.commons.d.ts +297 -116
- package/types/sap.ui.core.d.ts +971 -281
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +25 -10
- package/types/sap.ui.integration.d.ts +90 -23
- package/types/sap.ui.layout.d.ts +93 -30
- package/types/sap.ui.mdc.d.ts +6507 -6291
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +9 -3
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +149 -43
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +265 -103
- package/types/sap.ui.ux3.d.ts +300 -120
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +170 -68
- package/types/sap.ui.webc.main.d.ts +495 -198
- package/types/sap.uxap.d.ts +51 -21
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.117.1
|
|
284
284
|
|
|
285
285
|
declare module "sap/base/assert" {
|
|
286
286
|
/**
|
|
@@ -3131,7 +3131,8 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
3131
3131
|
*/
|
|
3132
3132
|
setYear(
|
|
3133
3133
|
/**
|
|
3134
|
-
* The year which is to be set for this date
|
|
3134
|
+
* The year which is to be set for this date. If iYear is a number between 0 and 99 (inclusive), then the
|
|
3135
|
+
* year for this date is set to 1900 + iYear. Otherwise, the year for this date is set to iYear.
|
|
3135
3136
|
*/
|
|
3136
3137
|
iYear: int
|
|
3137
3138
|
): int;
|
|
@@ -8801,7 +8802,10 @@ declare namespace sap {
|
|
|
8801
8802
|
* and therefore an event object in the event handler will be reset by {@link sap.ui.base.ObjectPool} after
|
|
8802
8803
|
* the event handler is done.
|
|
8803
8804
|
*/
|
|
8804
|
-
class Event<
|
|
8805
|
+
class Event<
|
|
8806
|
+
ParamsType extends Record<string, any> = object,
|
|
8807
|
+
SourceType extends sap.ui.base.EventProvider = sap.ui.base.EventProvider
|
|
8808
|
+
>
|
|
8805
8809
|
extends sap.ui.base.Object
|
|
8806
8810
|
implements sap.ui.base.Poolable {
|
|
8807
8811
|
__implements__sap_ui_base_Poolable: boolean;
|
|
@@ -8816,7 +8820,7 @@ declare namespace sap {
|
|
|
8816
8820
|
/**
|
|
8817
8821
|
* Source of the event
|
|
8818
8822
|
*/
|
|
8819
|
-
oSource:
|
|
8823
|
+
oSource: SourceType,
|
|
8820
8824
|
/**
|
|
8821
8825
|
* Parameters for this event
|
|
8822
8826
|
*/
|
|
@@ -8886,7 +8890,7 @@ declare namespace sap {
|
|
|
8886
8890
|
*
|
|
8887
8891
|
* @returns The source of the event
|
|
8888
8892
|
*/
|
|
8889
|
-
getSource():
|
|
8893
|
+
getSource<T extends SourceType>(): T;
|
|
8890
8894
|
/**
|
|
8891
8895
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8892
8896
|
*
|
|
@@ -8906,7 +8910,7 @@ declare namespace sap {
|
|
|
8906
8910
|
/**
|
|
8907
8911
|
* Source of the event
|
|
8908
8912
|
*/
|
|
8909
|
-
oSource:
|
|
8913
|
+
oSource: SourceType,
|
|
8910
8914
|
/**
|
|
8911
8915
|
* The event parameters
|
|
8912
8916
|
*/
|
|
@@ -12358,15 +12362,30 @@ declare namespace sap {
|
|
|
12358
12362
|
): void;
|
|
12359
12363
|
}
|
|
12360
12364
|
|
|
12361
|
-
type ManagedObject$FormatErrorEvent = sap.ui.base.Event<
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12365
|
+
type ManagedObject$FormatErrorEvent = sap.ui.base.Event<
|
|
12366
|
+
ManagedObject$FormatErrorEventParameters,
|
|
12367
|
+
ManagedObject
|
|
12368
|
+
>;
|
|
12369
|
+
|
|
12370
|
+
type ManagedObject$ModelContextChangeEvent = sap.ui.base.Event<
|
|
12371
|
+
ManagedObject$ModelContextChangeEventParameters,
|
|
12372
|
+
ManagedObject
|
|
12373
|
+
>;
|
|
12374
|
+
|
|
12375
|
+
type ManagedObject$ParseErrorEvent = sap.ui.base.Event<
|
|
12376
|
+
ManagedObject$ParseErrorEventParameters,
|
|
12377
|
+
ManagedObject
|
|
12378
|
+
>;
|
|
12379
|
+
|
|
12380
|
+
type ManagedObject$ValidationErrorEvent = sap.ui.base.Event<
|
|
12381
|
+
ManagedObject$ValidationErrorEventParameters,
|
|
12382
|
+
ManagedObject
|
|
12383
|
+
>;
|
|
12384
|
+
|
|
12385
|
+
type ManagedObject$ValidationSuccessEvent = sap.ui.base.Event<
|
|
12386
|
+
ManagedObject$ValidationSuccessEventParameters,
|
|
12387
|
+
ManagedObject
|
|
12388
|
+
>;
|
|
12370
12389
|
}
|
|
12371
12390
|
/**
|
|
12372
12391
|
* @since 0.8
|
|
@@ -12998,15 +13017,30 @@ declare namespace sap {
|
|
|
12998
13017
|
): void;
|
|
12999
13018
|
}
|
|
13000
13019
|
|
|
13001
|
-
type ItemNavigation$AfterFocusEvent = sap.ui.base.Event<
|
|
13020
|
+
type ItemNavigation$AfterFocusEvent = sap.ui.base.Event<
|
|
13021
|
+
ItemNavigation$AfterFocusEventParameters,
|
|
13022
|
+
ItemNavigation
|
|
13023
|
+
>;
|
|
13002
13024
|
|
|
13003
|
-
type ItemNavigation$BeforeFocusEvent = sap.ui.base.Event<
|
|
13025
|
+
type ItemNavigation$BeforeFocusEvent = sap.ui.base.Event<
|
|
13026
|
+
ItemNavigation$BeforeFocusEventParameters,
|
|
13027
|
+
ItemNavigation
|
|
13028
|
+
>;
|
|
13004
13029
|
|
|
13005
|
-
type ItemNavigation$BorderReachedEvent = sap.ui.base.Event<
|
|
13030
|
+
type ItemNavigation$BorderReachedEvent = sap.ui.base.Event<
|
|
13031
|
+
ItemNavigation$BorderReachedEventParameters,
|
|
13032
|
+
ItemNavigation
|
|
13033
|
+
>;
|
|
13006
13034
|
|
|
13007
|
-
type ItemNavigation$FocusAgainEvent = sap.ui.base.Event<
|
|
13035
|
+
type ItemNavigation$FocusAgainEvent = sap.ui.base.Event<
|
|
13036
|
+
ItemNavigation$FocusAgainEventParameters,
|
|
13037
|
+
ItemNavigation
|
|
13038
|
+
>;
|
|
13008
13039
|
|
|
13009
|
-
type ItemNavigation$FocusLeaveEvent = sap.ui.base.Event<
|
|
13040
|
+
type ItemNavigation$FocusLeaveEvent = sap.ui.base.Event<
|
|
13041
|
+
ItemNavigation$FocusLeaveEventParameters,
|
|
13042
|
+
ItemNavigation
|
|
13043
|
+
>;
|
|
13010
13044
|
}
|
|
13011
13045
|
/**
|
|
13012
13046
|
* @since 1.52
|
|
@@ -14581,19 +14615,40 @@ declare namespace sap {
|
|
|
14581
14615
|
On = "On",
|
|
14582
14616
|
}
|
|
14583
14617
|
|
|
14584
|
-
type DragDropInfo$DragEndEvent = sap.ui.base.Event<
|
|
14618
|
+
type DragDropInfo$DragEndEvent = sap.ui.base.Event<
|
|
14619
|
+
DragDropInfo$DragEndEventParameters,
|
|
14620
|
+
DragDropInfo
|
|
14621
|
+
>;
|
|
14585
14622
|
|
|
14586
|
-
type DragDropInfo$DragStartEvent = sap.ui.base.Event<
|
|
14623
|
+
type DragDropInfo$DragStartEvent = sap.ui.base.Event<
|
|
14624
|
+
DragDropInfo$DragStartEventParameters,
|
|
14625
|
+
DragDropInfo
|
|
14626
|
+
>;
|
|
14587
14627
|
|
|
14588
|
-
type DragInfo$DragEndEvent = sap.ui.base.Event<
|
|
14628
|
+
type DragInfo$DragEndEvent = sap.ui.base.Event<
|
|
14629
|
+
DragInfo$DragEndEventParameters,
|
|
14630
|
+
DragInfo
|
|
14631
|
+
>;
|
|
14589
14632
|
|
|
14590
|
-
type DragInfo$DragStartEvent = sap.ui.base.Event<
|
|
14633
|
+
type DragInfo$DragStartEvent = sap.ui.base.Event<
|
|
14634
|
+
DragInfo$DragStartEventParameters,
|
|
14635
|
+
DragInfo
|
|
14636
|
+
>;
|
|
14591
14637
|
|
|
14592
|
-
type DropInfo$DragEnterEvent = sap.ui.base.Event<
|
|
14638
|
+
type DropInfo$DragEnterEvent = sap.ui.base.Event<
|
|
14639
|
+
DropInfo$DragEnterEventParameters,
|
|
14640
|
+
DropInfo
|
|
14641
|
+
>;
|
|
14593
14642
|
|
|
14594
|
-
type DropInfo$DragOverEvent = sap.ui.base.Event<
|
|
14643
|
+
type DropInfo$DragOverEvent = sap.ui.base.Event<
|
|
14644
|
+
DropInfo$DragOverEventParameters,
|
|
14645
|
+
DropInfo
|
|
14646
|
+
>;
|
|
14595
14647
|
|
|
14596
|
-
type DropInfo$DropEvent = sap.ui.base.Event<
|
|
14648
|
+
type DropInfo$DropEvent = sap.ui.base.Event<
|
|
14649
|
+
DropInfo$DropEventParameters,
|
|
14650
|
+
DropInfo
|
|
14651
|
+
>;
|
|
14597
14652
|
}
|
|
14598
14653
|
/**
|
|
14599
14654
|
* Format classes
|
|
@@ -17101,7 +17156,10 @@ declare namespace sap {
|
|
|
17101
17156
|
): void;
|
|
17102
17157
|
}
|
|
17103
17158
|
|
|
17104
|
-
type MessageProcessor$MessageChangeEvent = sap.ui.base.Event<
|
|
17159
|
+
type MessageProcessor$MessageChangeEvent = sap.ui.base.Event<
|
|
17160
|
+
MessageProcessor$MessageChangeEventParameters,
|
|
17161
|
+
MessageProcessor
|
|
17162
|
+
>;
|
|
17105
17163
|
}
|
|
17106
17164
|
|
|
17107
17165
|
namespace mvc {
|
|
@@ -19436,13 +19494,25 @@ declare namespace sap {
|
|
|
19436
19494
|
XML = "XML",
|
|
19437
19495
|
}
|
|
19438
19496
|
|
|
19439
|
-
type View$AfterInitEvent = sap.ui.base.Event<
|
|
19497
|
+
type View$AfterInitEvent = sap.ui.base.Event<
|
|
19498
|
+
View$AfterInitEventParameters,
|
|
19499
|
+
View
|
|
19500
|
+
>;
|
|
19440
19501
|
|
|
19441
|
-
type View$AfterRenderingEvent = sap.ui.base.Event<
|
|
19502
|
+
type View$AfterRenderingEvent = sap.ui.base.Event<
|
|
19503
|
+
View$AfterRenderingEventParameters,
|
|
19504
|
+
View
|
|
19505
|
+
>;
|
|
19442
19506
|
|
|
19443
|
-
type View$BeforeExitEvent = sap.ui.base.Event<
|
|
19507
|
+
type View$BeforeExitEvent = sap.ui.base.Event<
|
|
19508
|
+
View$BeforeExitEventParameters,
|
|
19509
|
+
View
|
|
19510
|
+
>;
|
|
19444
19511
|
|
|
19445
|
-
type View$BeforeRenderingEvent = sap.ui.base.Event<
|
|
19512
|
+
type View$BeforeRenderingEvent = sap.ui.base.Event<
|
|
19513
|
+
View$BeforeRenderingEventParameters,
|
|
19514
|
+
View
|
|
19515
|
+
>;
|
|
19446
19516
|
}
|
|
19447
19517
|
|
|
19448
19518
|
namespace theming {
|
|
@@ -19756,7 +19826,7 @@ declare namespace sap {
|
|
|
19756
19826
|
/**
|
|
19757
19827
|
* The date style (short, medium, long or full)
|
|
19758
19828
|
*/
|
|
19759
|
-
sStyle:
|
|
19829
|
+
sStyle: "short" | "medium" | "long" | "full"
|
|
19760
19830
|
): string;
|
|
19761
19831
|
/**
|
|
19762
19832
|
* Returns the locale to be used for formatting.
|
|
@@ -19833,7 +19903,7 @@ declare namespace sap {
|
|
|
19833
19903
|
/**
|
|
19834
19904
|
* The time style (short, medium, long or full)
|
|
19835
19905
|
*/
|
|
19836
|
-
sStyle:
|
|
19906
|
+
sStyle: "short" | "medium" | "long" | "full"
|
|
19837
19907
|
): string;
|
|
19838
19908
|
/**
|
|
19839
19909
|
* @since 1.75.0
|
|
@@ -20549,7 +20619,10 @@ declare namespace sap {
|
|
|
20549
20619
|
): boolean;
|
|
20550
20620
|
}
|
|
20551
20621
|
|
|
20552
|
-
type Hyphenation$ErrorEvent = sap.ui.base.Event<
|
|
20622
|
+
type Hyphenation$ErrorEvent = sap.ui.base.Event<
|
|
20623
|
+
Hyphenation$ErrorEventParameters,
|
|
20624
|
+
Hyphenation
|
|
20625
|
+
>;
|
|
20553
20626
|
}
|
|
20554
20627
|
|
|
20555
20628
|
namespace IconPool {
|
|
@@ -23904,37 +23977,85 @@ declare namespace sap {
|
|
|
23904
23977
|
ignoreInitialHash?: boolean;
|
|
23905
23978
|
};
|
|
23906
23979
|
|
|
23907
|
-
type HashChanger$HashSetEvent = sap.ui.base.Event<
|
|
23980
|
+
type HashChanger$HashSetEvent = sap.ui.base.Event<
|
|
23981
|
+
HashChanger$HashSetEventParameters,
|
|
23982
|
+
HashChanger
|
|
23983
|
+
>;
|
|
23908
23984
|
|
|
23909
|
-
type HashChangerBase$HashChangedEvent = sap.ui.base.Event<
|
|
23985
|
+
type HashChangerBase$HashChangedEvent = sap.ui.base.Event<
|
|
23986
|
+
HashChangerBase$HashChangedEventParameters,
|
|
23987
|
+
HashChangerBase
|
|
23988
|
+
>;
|
|
23910
23989
|
|
|
23911
|
-
type HashChangerBase$HashReplacedEvent = sap.ui.base.Event<
|
|
23990
|
+
type HashChangerBase$HashReplacedEvent = sap.ui.base.Event<
|
|
23991
|
+
HashChangerBase$HashReplacedEventParameters,
|
|
23992
|
+
HashChangerBase
|
|
23993
|
+
>;
|
|
23912
23994
|
|
|
23913
|
-
type Route$BeforeMatchedEvent = sap.ui.base.Event<
|
|
23995
|
+
type Route$BeforeMatchedEvent = sap.ui.base.Event<
|
|
23996
|
+
Route$BeforeMatchedEventParameters,
|
|
23997
|
+
Route
|
|
23998
|
+
>;
|
|
23914
23999
|
|
|
23915
|
-
type Route$MatchedEvent = sap.ui.base.Event<
|
|
24000
|
+
type Route$MatchedEvent = sap.ui.base.Event<
|
|
24001
|
+
Route$MatchedEventParameters,
|
|
24002
|
+
Route
|
|
24003
|
+
>;
|
|
23916
24004
|
|
|
23917
|
-
type Route$PatternMatchedEvent = sap.ui.base.Event<
|
|
24005
|
+
type Route$PatternMatchedEvent = sap.ui.base.Event<
|
|
24006
|
+
Route$PatternMatchedEventParameters,
|
|
24007
|
+
Route
|
|
24008
|
+
>;
|
|
23918
24009
|
|
|
23919
|
-
type Route$SwitchedEvent = sap.ui.base.Event<
|
|
24010
|
+
type Route$SwitchedEvent = sap.ui.base.Event<
|
|
24011
|
+
Route$SwitchedEventParameters,
|
|
24012
|
+
Route
|
|
24013
|
+
>;
|
|
23920
24014
|
|
|
23921
|
-
type Router$BeforeRouteMatchedEvent = sap.ui.base.Event<
|
|
24015
|
+
type Router$BeforeRouteMatchedEvent = sap.ui.base.Event<
|
|
24016
|
+
Router$BeforeRouteMatchedEventParameters,
|
|
24017
|
+
Router
|
|
24018
|
+
>;
|
|
23922
24019
|
|
|
23923
|
-
type Router$BypassedEvent = sap.ui.base.Event<
|
|
24020
|
+
type Router$BypassedEvent = sap.ui.base.Event<
|
|
24021
|
+
Router$BypassedEventParameters,
|
|
24022
|
+
Router
|
|
24023
|
+
>;
|
|
23924
24024
|
|
|
23925
|
-
type Router$RouteMatchedEvent = sap.ui.base.Event<
|
|
24025
|
+
type Router$RouteMatchedEvent = sap.ui.base.Event<
|
|
24026
|
+
Router$RouteMatchedEventParameters,
|
|
24027
|
+
Router
|
|
24028
|
+
>;
|
|
23926
24029
|
|
|
23927
|
-
type Router$RoutePatternMatchedEvent = sap.ui.base.Event<
|
|
24030
|
+
type Router$RoutePatternMatchedEvent = sap.ui.base.Event<
|
|
24031
|
+
Router$RoutePatternMatchedEventParameters,
|
|
24032
|
+
Router
|
|
24033
|
+
>;
|
|
23928
24034
|
|
|
23929
|
-
type Router$TitleChangedEvent = sap.ui.base.Event<
|
|
24035
|
+
type Router$TitleChangedEvent = sap.ui.base.Event<
|
|
24036
|
+
Router$TitleChangedEventParameters,
|
|
24037
|
+
Router
|
|
24038
|
+
>;
|
|
23930
24039
|
|
|
23931
|
-
type Target$DisplayEvent = sap.ui.base.Event<
|
|
24040
|
+
type Target$DisplayEvent = sap.ui.base.Event<
|
|
24041
|
+
Target$DisplayEventParameters,
|
|
24042
|
+
Target
|
|
24043
|
+
>;
|
|
23932
24044
|
|
|
23933
|
-
type Targets$DisplayEvent = sap.ui.base.Event<
|
|
24045
|
+
type Targets$DisplayEvent = sap.ui.base.Event<
|
|
24046
|
+
Targets$DisplayEventParameters,
|
|
24047
|
+
Targets
|
|
24048
|
+
>;
|
|
23934
24049
|
|
|
23935
|
-
type Targets$TitleChangedEvent = sap.ui.base.Event<
|
|
24050
|
+
type Targets$TitleChangedEvent = sap.ui.base.Event<
|
|
24051
|
+
Targets$TitleChangedEventParameters,
|
|
24052
|
+
Targets
|
|
24053
|
+
>;
|
|
23936
24054
|
|
|
23937
|
-
type Views$CreatedEvent = sap.ui.base.Event<
|
|
24055
|
+
type Views$CreatedEvent = sap.ui.base.Event<
|
|
24056
|
+
Views$CreatedEventParameters,
|
|
24057
|
+
Views
|
|
24058
|
+
>;
|
|
23938
24059
|
}
|
|
23939
24060
|
|
|
23940
24061
|
namespace search {
|
|
@@ -25626,9 +25747,15 @@ declare namespace sap {
|
|
|
25626
25747
|
): this;
|
|
25627
25748
|
}
|
|
25628
25749
|
|
|
25629
|
-
type TemplateControl$AfterRenderingEvent = sap.ui.base.Event<
|
|
25750
|
+
type TemplateControl$AfterRenderingEvent = sap.ui.base.Event<
|
|
25751
|
+
TemplateControl$AfterRenderingEventParameters,
|
|
25752
|
+
TemplateControl
|
|
25753
|
+
>;
|
|
25630
25754
|
|
|
25631
|
-
type TemplateControl$BeforeRenderingEvent = sap.ui.base.Event<
|
|
25755
|
+
type TemplateControl$BeforeRenderingEvent = sap.ui.base.Event<
|
|
25756
|
+
TemplateControl$BeforeRenderingEventParameters,
|
|
25757
|
+
TemplateControl
|
|
25758
|
+
>;
|
|
25632
25759
|
}
|
|
25633
25760
|
|
|
25634
25761
|
namespace UIArea {
|
|
@@ -28238,15 +28365,30 @@ declare namespace sap {
|
|
|
28238
28365
|
OPEN = "1",
|
|
28239
28366
|
}
|
|
28240
28367
|
|
|
28241
|
-
type SapPcpWebSocket$MessageEvent = sap.ui.base.Event<
|
|
28368
|
+
type SapPcpWebSocket$MessageEvent = sap.ui.base.Event<
|
|
28369
|
+
SapPcpWebSocket$MessageEventParameters,
|
|
28370
|
+
SapPcpWebSocket
|
|
28371
|
+
>;
|
|
28242
28372
|
|
|
28243
|
-
type WebSocket$CloseEvent = sap.ui.base.Event<
|
|
28373
|
+
type WebSocket$CloseEvent = sap.ui.base.Event<
|
|
28374
|
+
WebSocket$CloseEventParameters,
|
|
28375
|
+
WebSocket
|
|
28376
|
+
>;
|
|
28244
28377
|
|
|
28245
|
-
type WebSocket$ErrorEvent = sap.ui.base.Event<
|
|
28378
|
+
type WebSocket$ErrorEvent = sap.ui.base.Event<
|
|
28379
|
+
WebSocket$ErrorEventParameters,
|
|
28380
|
+
WebSocket
|
|
28381
|
+
>;
|
|
28246
28382
|
|
|
28247
|
-
type WebSocket$MessageEvent = sap.ui.base.Event<
|
|
28383
|
+
type WebSocket$MessageEvent = sap.ui.base.Event<
|
|
28384
|
+
WebSocket$MessageEventParameters,
|
|
28385
|
+
WebSocket
|
|
28386
|
+
>;
|
|
28248
28387
|
|
|
28249
|
-
type WebSocket$OpenEvent = sap.ui.base.Event<
|
|
28388
|
+
type WebSocket$OpenEvent = sap.ui.base.Event<
|
|
28389
|
+
WebSocket$OpenEventParameters,
|
|
28390
|
+
WebSocket
|
|
28391
|
+
>;
|
|
28250
28392
|
}
|
|
28251
28393
|
/**
|
|
28252
28394
|
* @since 1.104
|
|
@@ -28419,7 +28561,6 @@ declare namespace sap {
|
|
|
28419
28561
|
|
|
28420
28562
|
/**
|
|
28421
28563
|
* @since 1.86.0
|
|
28422
|
-
* @experimental (since 1.86)
|
|
28423
28564
|
*
|
|
28424
28565
|
* Marker interface for controls that can be used as content of `sap.ui.layout.form.SemanticFormElement`.
|
|
28425
28566
|
*
|
|
@@ -28434,7 +28575,6 @@ declare namespace sap {
|
|
|
28434
28575
|
|
|
28435
28576
|
/**
|
|
28436
28577
|
* @since 1.86.0
|
|
28437
|
-
* @experimental (since 1.86)
|
|
28438
28578
|
*
|
|
28439
28579
|
* Returns the formatted value of a control used in a `SemanticFormElement`.
|
|
28440
28580
|
*
|
|
@@ -28449,9 +28589,36 @@ declare namespace sap {
|
|
|
28449
28589
|
* @returns Formatted value or a `Promise` returning the formatted value if resolved
|
|
28450
28590
|
*/
|
|
28451
28591
|
getFormFormattedValue?(): string | Promise<string>;
|
|
28592
|
+
/**
|
|
28593
|
+
* @since 1.117.0
|
|
28594
|
+
*
|
|
28595
|
+
* Returns the names of the properties of a control that might update the rendering in a `SemanticFormElement`.
|
|
28596
|
+
*
|
|
28597
|
+
* In the `SemanticFormElement` element, the assigned fields are rendered in edit mode. In display mode,
|
|
28598
|
+
* depending on `getFormRenderAsControl`, either a text is rendered, which concatenates the values of all
|
|
28599
|
+
* assigned fields, or the control is rendered. So if a property of the control changes that might lead
|
|
28600
|
+
* to a different rendering (some controls have a special rendering in display mode), the `SemanticFormElement`
|
|
28601
|
+
* needs to check the rendering.
|
|
28602
|
+
*
|
|
28603
|
+
* This is an optional method. If not defined, no check for updates (only for property defined in `getFormValueProperty`)
|
|
28604
|
+
* is done once the control has been assigned.
|
|
28605
|
+
*
|
|
28606
|
+
* @returns Name of the properties
|
|
28607
|
+
*/
|
|
28608
|
+
getFormObservingProperties?(): string[];
|
|
28609
|
+
/**
|
|
28610
|
+
* @since 1.117.0
|
|
28611
|
+
*
|
|
28612
|
+
* If set to `true`, the `SemanticFormElement` also renders the control in display mode, if the used `FormLayout`
|
|
28613
|
+
* supports this.
|
|
28614
|
+
*
|
|
28615
|
+
* This is an optional method. If not defined, just the text is rendered.
|
|
28616
|
+
*
|
|
28617
|
+
* @returns Name of the value-holding property
|
|
28618
|
+
*/
|
|
28619
|
+
getFormRenderAsControl?(): string;
|
|
28452
28620
|
/**
|
|
28453
28621
|
* @since 1.86.0
|
|
28454
|
-
* @experimental (since 1.86)
|
|
28455
28622
|
*
|
|
28456
28623
|
* Returns the name of the value-holding property of a control used in a `SemanticFormElement`.
|
|
28457
28624
|
*
|
|
@@ -30292,26 +30459,6 @@ declare namespace sap {
|
|
|
30292
30459
|
* ```
|
|
30293
30460
|
*/
|
|
30294
30461
|
interface Core {
|
|
30295
|
-
/**
|
|
30296
|
-
* Returns true, if the styles of the current theme are already applied, false otherwise.
|
|
30297
|
-
*
|
|
30298
|
-
* This function must not be used before the init event of the Core. If the styles are not yet applied a
|
|
30299
|
-
* theme changed event will follow when the styles will be applied.
|
|
30300
|
-
*/
|
|
30301
|
-
isThemeApplied: undefined;
|
|
30302
|
-
|
|
30303
|
-
/**
|
|
30304
|
-
* Triggers a realignment of controls
|
|
30305
|
-
*
|
|
30306
|
-
* This method should be called after changing the cozy/compact CSS class of a DOM element at runtime, for
|
|
30307
|
-
* example at the `<body>` tag. Controls can listen to the themeChanged event to realign their appearance
|
|
30308
|
-
* after changing the theme. Changing the cozy/compact CSS class should then also be handled as a theme
|
|
30309
|
-
* change. In more simple scenarios where the cozy/compact CSS class is added to a DOM element which contains
|
|
30310
|
-
* only a few controls it might not be necessary to trigger the realigment of all controls placed in the
|
|
30311
|
-
* DOM, for example changing the cozy/compact CSS class at a single control
|
|
30312
|
-
*/
|
|
30313
|
-
notifyContentDensityChanged: undefined;
|
|
30314
|
-
|
|
30315
30462
|
/**
|
|
30316
30463
|
* Creates a new subclass of class sap.ui.core.Core with name `sClassName` and enriches it with the information
|
|
30317
30464
|
* contained in `oClassInfo`.
|
|
@@ -31411,6 +31558,15 @@ declare namespace sap {
|
|
|
31411
31558
|
*/
|
|
31412
31559
|
oDomRef: /* was Element */ global_Element
|
|
31413
31560
|
): boolean;
|
|
31561
|
+
/**
|
|
31562
|
+
* Returns true, if the styles of the current theme are already applied, false otherwise.
|
|
31563
|
+
*
|
|
31564
|
+
* This function must not be used before the init event of the Core. If the styles are not yet applied a
|
|
31565
|
+
* theme changed event will follow when the styles will be applied.
|
|
31566
|
+
*
|
|
31567
|
+
* @returns whether the styles of the current theme are already applied
|
|
31568
|
+
*/
|
|
31569
|
+
isThemeApplied(): boolean;
|
|
31414
31570
|
/**
|
|
31415
31571
|
* Loads the given library and its dependencies and makes its content available to the application.
|
|
31416
31572
|
*
|
|
@@ -31509,6 +31665,17 @@ declare namespace sap {
|
|
|
31509
31665
|
* be the case for asynchronous UI behavior
|
|
31510
31666
|
*/
|
|
31511
31667
|
lock(): void;
|
|
31668
|
+
/**
|
|
31669
|
+
* Triggers a realignment of controls
|
|
31670
|
+
*
|
|
31671
|
+
* This method should be called after changing the cozy/compact CSS class of a DOM element at runtime, for
|
|
31672
|
+
* example at the `<body>` tag. Controls can listen to the themeChanged event to realign their appearance
|
|
31673
|
+
* after changing the theme. Changing the cozy/compact CSS class should then also be handled as a theme
|
|
31674
|
+
* change. In more simple scenarios where the cozy/compact CSS class is added to a DOM element which contains
|
|
31675
|
+
* only a few controls it might not be necessary to trigger the realigment of all controls placed in the
|
|
31676
|
+
* DOM, for example changing the cozy/compact CSS class at a single control
|
|
31677
|
+
*/
|
|
31678
|
+
notifyContentDensityChanged(): void;
|
|
31512
31679
|
/**
|
|
31513
31680
|
* @deprecated (since 1.73) - Plugins never have been meant as a public offering, but were intended for
|
|
31514
31681
|
* internal usage only. They unfortunately allow access to all internals of the Core and therefore break
|
|
@@ -40018,22 +40185,6 @@ declare namespace sap {
|
|
|
40018
40185
|
* or `modal` is enabled. E.g. the `RichTextEditor` with running TinyMCE uses this method to be able to
|
|
40019
40186
|
* focus the popups of the TinyMCE if the `RichTextEditor` runs within a `Popup`/`Dialog` etc.
|
|
40020
40187
|
*
|
|
40021
|
-
* To provide an additional DOM element that can get the focus the following should be done:
|
|
40022
|
-
* ```javascript
|
|
40023
|
-
*
|
|
40024
|
-
* // create an object with the corresponding DOM-ID
|
|
40025
|
-
* var oObject = {
|
|
40026
|
-
* id : "this_is_the_most_valuable_id_of_the_DOM_element"
|
|
40027
|
-
* };
|
|
40028
|
-
*
|
|
40029
|
-
* // add the event prefix for adding an element to the ID of the corresponding Popup
|
|
40030
|
-
* var sEventId = "sap.ui.core.Popup.addFocusableContent-" + oPopup.getId();
|
|
40031
|
-
*
|
|
40032
|
-
* // fire the event with the created event-ID and the object with the DOM-ID
|
|
40033
|
-
* sap.ui.getCore().getEventBus().publish("sap.ui", sEventId, oObject);
|
|
40034
|
-
* ```
|
|
40035
|
-
*
|
|
40036
|
-
*
|
|
40037
40188
|
* **Since 1.75**, DOM elements which have the attribute `data-sap-ui-integration-popup-content` are considered
|
|
40038
40189
|
* to be part of all opened popups. Those DOM elements can get the focus without causing the autoclose popup
|
|
40039
40190
|
* to be closed or the modal popup to take the focus back to itself. Additionally, a further DOM query selector
|
|
@@ -45179,27 +45330,57 @@ declare namespace sap {
|
|
|
45179
45330
|
*/
|
|
45180
45331
|
type URI = string;
|
|
45181
45332
|
|
|
45182
|
-
type CommandExecution$ExecuteEvent = sap.ui.base.Event<
|
|
45183
|
-
|
|
45184
|
-
|
|
45185
|
-
|
|
45186
|
-
|
|
45187
|
-
|
|
45188
|
-
|
|
45189
|
-
|
|
45190
|
-
|
|
45191
|
-
|
|
45192
|
-
type
|
|
45193
|
-
|
|
45194
|
-
|
|
45195
|
-
|
|
45196
|
-
|
|
45197
|
-
|
|
45198
|
-
|
|
45199
|
-
|
|
45200
|
-
|
|
45201
|
-
|
|
45202
|
-
type
|
|
45333
|
+
type CommandExecution$ExecuteEvent = sap.ui.base.Event<
|
|
45334
|
+
CommandExecution$ExecuteEventParameters,
|
|
45335
|
+
CommandExecution
|
|
45336
|
+
>;
|
|
45337
|
+
|
|
45338
|
+
type ComponentContainer$ComponentCreatedEvent = sap.ui.base.Event<
|
|
45339
|
+
ComponentContainer$ComponentCreatedEventParameters,
|
|
45340
|
+
ComponentContainer
|
|
45341
|
+
>;
|
|
45342
|
+
|
|
45343
|
+
type ComponentContainer$ComponentFailedEvent = sap.ui.base.Event<
|
|
45344
|
+
ComponentContainer$ComponentFailedEventParameters,
|
|
45345
|
+
ComponentContainer
|
|
45346
|
+
>;
|
|
45347
|
+
|
|
45348
|
+
type Control$ValidateFieldGroupEvent = sap.ui.base.Event<
|
|
45349
|
+
Control$ValidateFieldGroupEventParameters,
|
|
45350
|
+
Control
|
|
45351
|
+
>;
|
|
45352
|
+
|
|
45353
|
+
type HTML$AfterRenderingEvent = sap.ui.base.Event<
|
|
45354
|
+
HTML$AfterRenderingEventParameters,
|
|
45355
|
+
HTML
|
|
45356
|
+
>;
|
|
45357
|
+
|
|
45358
|
+
type Icon$PressEvent = sap.ui.base.Event<Icon$PressEventParameters, Icon>;
|
|
45359
|
+
|
|
45360
|
+
type Popup$BlockLayerStateChangeEvent = sap.ui.base.Event<
|
|
45361
|
+
Popup$BlockLayerStateChangeEventParameters,
|
|
45362
|
+
Popup
|
|
45363
|
+
>;
|
|
45364
|
+
|
|
45365
|
+
type Popup$ClosedEvent = sap.ui.base.Event<
|
|
45366
|
+
Popup$ClosedEventParameters,
|
|
45367
|
+
Popup
|
|
45368
|
+
>;
|
|
45369
|
+
|
|
45370
|
+
type Popup$OpenedEvent = sap.ui.base.Event<
|
|
45371
|
+
Popup$OpenedEventParameters,
|
|
45372
|
+
Popup
|
|
45373
|
+
>;
|
|
45374
|
+
|
|
45375
|
+
type ScrollBar$ScrollEvent = sap.ui.base.Event<
|
|
45376
|
+
ScrollBar$ScrollEventParameters,
|
|
45377
|
+
ScrollBar
|
|
45378
|
+
>;
|
|
45379
|
+
|
|
45380
|
+
type TooltipBase$ClosedEvent = sap.ui.base.Event<
|
|
45381
|
+
TooltipBase$ClosedEventParameters,
|
|
45382
|
+
TooltipBase
|
|
45383
|
+
>;
|
|
45203
45384
|
}
|
|
45204
45385
|
/**
|
|
45205
45386
|
* Provides access to UI5 loader configuration.
|
|
@@ -47296,7 +47477,7 @@ declare namespace sap {
|
|
|
47296
47477
|
*/
|
|
47297
47478
|
aFilters?: any[],
|
|
47298
47479
|
/**
|
|
47299
|
-
* A map containing additional binding parameters
|
|
47480
|
+
* A map containing additional binding parameters; for the `AnalyticalBinding` this parameter is mandatory
|
|
47300
47481
|
*/
|
|
47301
47482
|
mParameters?: {
|
|
47302
47483
|
/**
|
|
@@ -47943,6 +48124,14 @@ declare namespace sap {
|
|
|
47943
48124
|
* may change during the process of a pending request. Typically changed via a call to AnalyticalBinding#updateAnalyticalInfo.
|
|
47944
48125
|
*/
|
|
47945
48126
|
lastAnalyticalInfoVersion: int;
|
|
48127
|
+
/**
|
|
48128
|
+
* a success handler function, which is called after all requests in mParams.executedRequests have returned.
|
|
48129
|
+
*/
|
|
48130
|
+
success: Function;
|
|
48131
|
+
/**
|
|
48132
|
+
* an error handler function, which is called if one or more requests have returned with an error
|
|
48133
|
+
*/
|
|
48134
|
+
error: Function;
|
|
47946
48135
|
}
|
|
47947
48136
|
): void;
|
|
47948
48137
|
/**
|
|
@@ -48008,6 +48197,9 @@ declare namespace sap {
|
|
|
48008
48197
|
* Model implementation for the JSON format.
|
|
48009
48198
|
*
|
|
48010
48199
|
* This model is not prepared to be inherited from.
|
|
48200
|
+
*
|
|
48201
|
+
* The model does not support {@link sap.ui.model.json.JSONModel#bindList binding lists} in case the bound
|
|
48202
|
+
* data contains circular structures and the bound control uses {@link https://ui5.sap.com/#/topic/7cdff73f308b4b10bdf7d83b7aba72e7 extended change detection}.
|
|
48011
48203
|
*/
|
|
48012
48204
|
class JSONModel extends sap.ui.model.ClientModel {
|
|
48013
48205
|
/**
|
|
@@ -55653,27 +55845,60 @@ declare namespace sap {
|
|
|
55653
55845
|
None = "None",
|
|
55654
55846
|
}
|
|
55655
55847
|
|
|
55656
|
-
type ODataListBinding$CreateActivateEvent = sap.ui.base.Event<
|
|
55848
|
+
type ODataListBinding$CreateActivateEvent = sap.ui.base.Event<
|
|
55849
|
+
ODataListBinding$CreateActivateEventParameters,
|
|
55850
|
+
ODataListBinding
|
|
55851
|
+
>;
|
|
55657
55852
|
|
|
55658
|
-
type ODataModel$AnnotationsFailedEvent = sap.ui.base.Event<
|
|
55853
|
+
type ODataModel$AnnotationsFailedEvent = sap.ui.base.Event<
|
|
55854
|
+
ODataModel$AnnotationsFailedEventParameters,
|
|
55855
|
+
ODataModel
|
|
55856
|
+
>;
|
|
55659
55857
|
|
|
55660
|
-
type ODataModel$AnnotationsLoadedEvent = sap.ui.base.Event<
|
|
55858
|
+
type ODataModel$AnnotationsLoadedEvent = sap.ui.base.Event<
|
|
55859
|
+
ODataModel$AnnotationsLoadedEventParameters,
|
|
55860
|
+
ODataModel
|
|
55861
|
+
>;
|
|
55661
55862
|
|
|
55662
|
-
type ODataModel$BatchRequestCompletedEvent = sap.ui.base.Event<
|
|
55863
|
+
type ODataModel$BatchRequestCompletedEvent = sap.ui.base.Event<
|
|
55864
|
+
ODataModel$BatchRequestCompletedEventParameters,
|
|
55865
|
+
ODataModel
|
|
55866
|
+
>;
|
|
55663
55867
|
|
|
55664
|
-
type ODataModel$BatchRequestFailedEvent = sap.ui.base.Event<
|
|
55868
|
+
type ODataModel$BatchRequestFailedEvent = sap.ui.base.Event<
|
|
55869
|
+
ODataModel$BatchRequestFailedEventParameters,
|
|
55870
|
+
ODataModel
|
|
55871
|
+
>;
|
|
55665
55872
|
|
|
55666
|
-
type ODataModel$BatchRequestSentEvent = sap.ui.base.Event<
|
|
55873
|
+
type ODataModel$BatchRequestSentEvent = sap.ui.base.Event<
|
|
55874
|
+
ODataModel$BatchRequestSentEventParameters,
|
|
55875
|
+
ODataModel
|
|
55876
|
+
>;
|
|
55667
55877
|
|
|
55668
|
-
type ODataModel$MetadataFailedEvent = sap.ui.base.Event<
|
|
55878
|
+
type ODataModel$MetadataFailedEvent = sap.ui.base.Event<
|
|
55879
|
+
ODataModel$MetadataFailedEventParameters,
|
|
55880
|
+
ODataModel
|
|
55881
|
+
>;
|
|
55669
55882
|
|
|
55670
|
-
type ODataModel$MetadataLoadedEvent = sap.ui.base.Event<
|
|
55883
|
+
type ODataModel$MetadataLoadedEvent = sap.ui.base.Event<
|
|
55884
|
+
ODataModel$MetadataLoadedEventParameters,
|
|
55885
|
+
ODataModel
|
|
55886
|
+
>;
|
|
55671
55887
|
|
|
55672
|
-
type ODataModel$RequestCompletedEvent = sap.ui.base.Event<
|
|
55888
|
+
type ODataModel$RequestCompletedEvent = sap.ui.base.Event<
|
|
55889
|
+
ODataModel$RequestCompletedEventParameters,
|
|
55890
|
+
ODataModel
|
|
55891
|
+
>;
|
|
55673
55892
|
|
|
55674
|
-
type ODataModel$RequestFailedEvent = sap.ui.base.Event<
|
|
55893
|
+
type ODataModel$RequestFailedEvent = sap.ui.base.Event<
|
|
55894
|
+
ODataModel$RequestFailedEventParameters,
|
|
55895
|
+
ODataModel
|
|
55896
|
+
>;
|
|
55675
55897
|
|
|
55676
|
-
type ODataModel$RequestSentEvent = sap.ui.base.Event<
|
|
55898
|
+
type ODataModel$RequestSentEvent = sap.ui.base.Event<
|
|
55899
|
+
ODataModel$RequestSentEventParameters,
|
|
55900
|
+
ODataModel
|
|
55901
|
+
>;
|
|
55677
55902
|
}
|
|
55678
55903
|
/**
|
|
55679
55904
|
* @since 1.37.0
|
|
@@ -55690,45 +55915,138 @@ declare namespace sap {
|
|
|
55690
55915
|
extends sap.ui.model.Binding$ChangeEventParameters {}
|
|
55691
55916
|
|
|
55692
55917
|
interface ODataContextBinding$DataReceivedEventParameters
|
|
55693
|
-
extends sap.ui.model.Binding$DataReceivedEventParameters {
|
|
55918
|
+
extends sap.ui.model.Binding$DataReceivedEventParameters {
|
|
55919
|
+
/**
|
|
55920
|
+
* The error object if a back-end request failed. If there are multiple failed back-end requests, the error
|
|
55921
|
+
* of the first one is provided.
|
|
55922
|
+
*/
|
|
55923
|
+
error?: Error;
|
|
55924
|
+
}
|
|
55694
55925
|
|
|
55695
55926
|
interface ODataContextBinding$DataRequestedEventParameters
|
|
55696
55927
|
extends sap.ui.model.Binding$DataRequestedEventParameters {}
|
|
55697
55928
|
|
|
55698
|
-
interface ODataContextBinding$PatchCompletedEventParameters {
|
|
55929
|
+
interface ODataContextBinding$PatchCompletedEventParameters {
|
|
55930
|
+
/**
|
|
55931
|
+
* Whether all PATCHes are successfully processed
|
|
55932
|
+
*/
|
|
55933
|
+
success?: boolean;
|
|
55934
|
+
}
|
|
55699
55935
|
|
|
55700
55936
|
interface ODataContextBinding$PatchSentEventParameters {}
|
|
55701
55937
|
|
|
55702
55938
|
interface ODataListBinding$ChangeEventParameters
|
|
55703
|
-
extends sap.ui.model.Binding$ChangeEventParameters {
|
|
55939
|
+
extends sap.ui.model.Binding$ChangeEventParameters {
|
|
55940
|
+
/**
|
|
55941
|
+
* During automatic determination of $expand and $select, a "virtual" context is first added with detailed
|
|
55942
|
+
* reason "AddVirtualContext" and then removed with detailed reason "RemoveVirtualContext" (since 1.69.0);
|
|
55943
|
+
* `undefined` is used in all other cases
|
|
55944
|
+
*/
|
|
55945
|
+
detailedReason?: string;
|
|
55946
|
+
}
|
|
55704
55947
|
|
|
55705
55948
|
interface ODataListBinding$CreateActivateEventParameters {}
|
|
55706
55949
|
|
|
55707
|
-
interface ODataListBinding$CreateCompletedEventParameters {
|
|
55950
|
+
interface ODataListBinding$CreateCompletedEventParameters {
|
|
55951
|
+
/**
|
|
55952
|
+
* The context for the created entity
|
|
55953
|
+
*/
|
|
55954
|
+
context?: sap.ui.model.odata.v4.Context;
|
|
55708
55955
|
|
|
55709
|
-
|
|
55956
|
+
/**
|
|
55957
|
+
* Whether the POST was successfully processed; in case of an error, the error is already reported to the
|
|
55958
|
+
* {@link sap.ui.core.message.MessageManager}
|
|
55959
|
+
*/
|
|
55960
|
+
success?: boolean;
|
|
55961
|
+
}
|
|
55962
|
+
|
|
55963
|
+
interface ODataListBinding$CreateSentEventParameters {
|
|
55964
|
+
/**
|
|
55965
|
+
* The context for the created entity
|
|
55966
|
+
*/
|
|
55967
|
+
context?: sap.ui.model.odata.v4.Context;
|
|
55968
|
+
}
|
|
55710
55969
|
|
|
55711
55970
|
interface ODataListBinding$DataReceivedEventParameters
|
|
55712
|
-
extends sap.ui.model.Binding$DataReceivedEventParameters {
|
|
55971
|
+
extends sap.ui.model.Binding$DataReceivedEventParameters {
|
|
55972
|
+
/**
|
|
55973
|
+
* The error object if a back-end request failed. If there are multiple failed back-end requests, the error
|
|
55974
|
+
* of the first one is provided.
|
|
55975
|
+
*/
|
|
55976
|
+
error?: Error;
|
|
55977
|
+
}
|
|
55713
55978
|
|
|
55714
55979
|
interface ODataListBinding$DataRequestedEventParameters
|
|
55715
55980
|
extends sap.ui.model.Binding$DataRequestedEventParameters {}
|
|
55716
55981
|
|
|
55717
|
-
interface ODataListBinding$PatchCompletedEventParameters {
|
|
55982
|
+
interface ODataListBinding$PatchCompletedEventParameters {
|
|
55983
|
+
/**
|
|
55984
|
+
* Whether all PATCHes are successfully processed
|
|
55985
|
+
*/
|
|
55986
|
+
success?: boolean;
|
|
55987
|
+
}
|
|
55718
55988
|
|
|
55719
55989
|
interface ODataListBinding$PatchSentEventParameters {}
|
|
55720
55990
|
|
|
55721
|
-
interface ODataListBinding$RefreshEventParameters {
|
|
55991
|
+
interface ODataListBinding$RefreshEventParameters {
|
|
55992
|
+
/**
|
|
55993
|
+
* The reason for the 'refresh' event could be
|
|
55994
|
+
* {@link sap.ui.model.ChangeReason.Context Context} when the binding's parent context is changed,
|
|
55995
|
+
* {@link sap.ui.model.ChangeReason.Filter Filter} on {@link #filter} and {@link #setAggregation},
|
|
55996
|
+
* {@link sap.ui.model.ChangeReason.Refresh Refresh} on {@link #refresh}, or when the binding is initialized,
|
|
55997
|
+
* {@link sap.ui.model.ChangeReason.Sort Sort} on {@link #sort}. {@link #changeParameters} leads
|
|
55998
|
+
* to {@link sap.ui.model.ChangeReason.Filter Filter} if one of the parameters '$filter' and '$search' is
|
|
55999
|
+
* changed, otherwise it leads to {@link sap.ui.model.ChangeReason.Sort Sort} if the parameter '$orderby'
|
|
56000
|
+
* is changed; in other cases, it leads to {@link sap.ui.model.ChangeReason.Change Change}.
|
|
56001
|
+
* If APIs that would normally fire change events have been called while the binding is suspended, {@link #resume }
|
|
56002
|
+
* leads to the "strongest" change reason in the order {@link sap.ui.model.ChangeReason.Filter Filter},
|
|
56003
|
+
* {@link sap.ui.model.ChangeReason.Sort Sort}, {@link sap.ui.model.ChangeReason.Refresh Refresh}, {@link sap.ui.model.ChangeReason.Change Change}.
|
|
56004
|
+
*/
|
|
56005
|
+
reason?: sap.ui.model.ChangeReason;
|
|
56006
|
+
}
|
|
55722
56007
|
|
|
55723
|
-
interface ODataModel$DataReceivedEventParameters {
|
|
56008
|
+
interface ODataModel$DataReceivedEventParameters {
|
|
56009
|
+
/**
|
|
56010
|
+
* An empty data object if a back-end request succeeds
|
|
56011
|
+
*/
|
|
56012
|
+
data?: object;
|
|
55724
56013
|
|
|
55725
|
-
|
|
56014
|
+
/**
|
|
56015
|
+
* The error object if a back-end request failed.
|
|
56016
|
+
*/
|
|
56017
|
+
error?: Error;
|
|
56018
|
+
|
|
56019
|
+
/**
|
|
56020
|
+
* The absolute path to the entity which caused the event. The path is only provided for additional property
|
|
56021
|
+
* requests; for other requests it is `undefined`.
|
|
56022
|
+
*/
|
|
56023
|
+
path?: string;
|
|
56024
|
+
}
|
|
56025
|
+
|
|
56026
|
+
interface ODataModel$DataRequestedEventParameters {
|
|
56027
|
+
/**
|
|
56028
|
+
* The absolute path to the entity which caused the event. The path is only provided for additional property
|
|
56029
|
+
* requests; for other requests it is `undefined`.
|
|
56030
|
+
*/
|
|
56031
|
+
path?: string;
|
|
56032
|
+
}
|
|
55726
56033
|
|
|
55727
56034
|
interface ODataModel$ParseErrorEventParameters
|
|
55728
56035
|
extends sap.ui.model.Model$ParseErrorEventParameters {}
|
|
55729
56036
|
|
|
55730
56037
|
interface ODataModel$PropertyChangeEventParameters
|
|
55731
|
-
extends sap.ui.model.Model$PropertyChangeEventParameters {
|
|
56038
|
+
extends sap.ui.model.Model$PropertyChangeEventParameters {
|
|
56039
|
+
/**
|
|
56040
|
+
* A promise on the outcome of the PATCH request, much like {@link sap.ui.model.odata.v4.Context#setProperty }
|
|
56041
|
+
* provides it for `bRetry === true`; missing in case there is no PATCH
|
|
56042
|
+
*/
|
|
56043
|
+
promise?: Promise<void>;
|
|
56044
|
+
|
|
56045
|
+
/**
|
|
56046
|
+
* The property binding's {@link sap.ui.model.Binding#getResolvedPath resolved path}
|
|
56047
|
+
*/
|
|
56048
|
+
resolvedPath?: string;
|
|
56049
|
+
}
|
|
55732
56050
|
|
|
55733
56051
|
interface ODataModel$RequestCompletedEventParameters
|
|
55734
56052
|
extends sap.ui.model.Model$RequestCompletedEventParameters {}
|
|
@@ -55745,7 +56063,13 @@ declare namespace sap {
|
|
|
55745
56063
|
extends sap.ui.model.Binding$ChangeEventParameters {}
|
|
55746
56064
|
|
|
55747
56065
|
interface ODataPropertyBinding$DataReceivedEventParameters
|
|
55748
|
-
extends sap.ui.model.Binding$DataReceivedEventParameters {
|
|
56066
|
+
extends sap.ui.model.Binding$DataReceivedEventParameters {
|
|
56067
|
+
/**
|
|
56068
|
+
* The error object if a back-end request failed. If there are multiple failed back-end requests, the error
|
|
56069
|
+
* of the first one is provided.
|
|
56070
|
+
*/
|
|
56071
|
+
error?: Error;
|
|
56072
|
+
}
|
|
55749
56073
|
|
|
55750
56074
|
interface ODataPropertyBinding$DataRequestedEventParameters
|
|
55751
56075
|
extends sap.ui.model.Binding$DataRequestedEventParameters {}
|
|
@@ -55979,7 +56303,7 @@ declare namespace sap {
|
|
|
55979
56303
|
*/
|
|
55980
56304
|
overload?: object;
|
|
55981
56305
|
}
|
|
55982
|
-
): string | Promise<
|
|
56306
|
+
): string | Promise<string>;
|
|
55983
56307
|
/**
|
|
55984
56308
|
* @since 1.43.0
|
|
55985
56309
|
*
|
|
@@ -56045,7 +56369,9 @@ declare namespace sap {
|
|
|
56045
56369
|
*/
|
|
56046
56370
|
schemaChildName: string;
|
|
56047
56371
|
}
|
|
56048
|
-
):
|
|
56372
|
+
):
|
|
56373
|
+
| sap.ui.model.odata.v4.ValueListType
|
|
56374
|
+
| Promise<sap.ui.model.odata.v4.ValueListType>;
|
|
56049
56375
|
/**
|
|
56050
56376
|
* @since 1.43.0
|
|
56051
56377
|
*
|
|
@@ -56090,7 +56416,7 @@ declare namespace sap {
|
|
|
56090
56416
|
*/
|
|
56091
56417
|
schemaChildName: string;
|
|
56092
56418
|
}
|
|
56093
|
-
): boolean | Promise<
|
|
56419
|
+
): boolean | Promise<boolean>;
|
|
56094
56420
|
/**
|
|
56095
56421
|
* @since 1.49.0
|
|
56096
56422
|
*
|
|
@@ -56127,7 +56453,7 @@ declare namespace sap {
|
|
|
56127
56453
|
*/
|
|
56128
56454
|
context: sap.ui.model.Context;
|
|
56129
56455
|
}
|
|
56130
|
-
): string | Promise<
|
|
56456
|
+
): string | Promise<string | undefined> | undefined;
|
|
56131
56457
|
/**
|
|
56132
56458
|
* @since 1.63.0
|
|
56133
56459
|
*
|
|
@@ -56465,9 +56791,9 @@ declare namespace sap {
|
|
|
56465
56791
|
* Note that the promise of a nested context within a deep create is always rejected, even if the deep create
|
|
56466
56792
|
* succeeds. See {@link sap.ui.model.odata.v4.ODataListBinding#create} for more details.
|
|
56467
56793
|
*
|
|
56468
|
-
* @returns A promise
|
|
56469
|
-
* created in the back end. It is rejected with an `Error` instance where `oError.canceled ===
|
|
56470
|
-
* the transient entity is deleted before it is created in the back end, for example via {@link sap.ui.model.odata.v4.Context#delete},
|
|
56794
|
+
* @returns A promise which is resolved without a defined result when the entity represented by this context
|
|
56795
|
+
* has been created in the back end. It is rejected with an `Error` instance where `oError.canceled ===
|
|
56796
|
+
* true` if the transient entity is deleted before it is created in the back end, for example via {@link sap.ui.model.odata.v4.Context#delete},
|
|
56471
56797
|
* {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges} or {@link sap.ui.model.odata.v4.ODataModel#resetChanges},
|
|
56472
56798
|
* and for all nested contexts within a deep create. It is rejected with an `Error` instance without `oError.canceled`
|
|
56473
56799
|
* if loading of $metadata fails. Returns `undefined` if the context has not been created using {@link sap.ui.model.odata.v4.ODataListBinding#create}.
|
|
@@ -56505,8 +56831,8 @@ declare namespace sap {
|
|
|
56505
56831
|
* sap.ui.model.odata.v4.ODataListBinding#resetChanges
|
|
56506
56832
|
* sap.ui.model.odata.v4.ODataModel#resetChanges
|
|
56507
56833
|
*
|
|
56508
|
-
* @returns A promise which is resolved without a result in case of success, or rejected with an
|
|
56509
|
-
* of `Error` in case of failure, for example if:
|
|
56834
|
+
* @returns A promise which is resolved without a defined result in case of success, or rejected with an
|
|
56835
|
+
* instance of `Error` in case of failure, for example if:
|
|
56510
56836
|
* the given context does not point to an entity, the deletion on the server fails, the deletion
|
|
56511
56837
|
* is canceled via `resetChanges` (in this case the error instance has the property `canceled` with value
|
|
56512
56838
|
* `true`). The error instance has the property `isConcurrentModification` with value `true` in case
|
|
@@ -56530,7 +56856,7 @@ declare namespace sap {
|
|
|
56530
56856
|
* ID is used.
|
|
56531
56857
|
*/
|
|
56532
56858
|
bDoNotRequestCount?: boolean
|
|
56533
|
-
): Promise<
|
|
56859
|
+
): Promise<void>;
|
|
56534
56860
|
/**
|
|
56535
56861
|
* @since 1.41.0
|
|
56536
56862
|
*
|
|
@@ -56798,7 +57124,7 @@ declare namespace sap {
|
|
|
56798
57124
|
* case of success, or rejected with an instance of `Error` in case of failure, e.g. if the given context
|
|
56799
57125
|
* does not point to an entity
|
|
56800
57126
|
*/
|
|
56801
|
-
requestCanonicalPath(): Promise<
|
|
57127
|
+
requestCanonicalPath(): Promise<string>;
|
|
56802
57128
|
/**
|
|
56803
57129
|
* @since 1.39.0
|
|
56804
57130
|
*
|
|
@@ -56851,8 +57177,8 @@ declare namespace sap {
|
|
|
56851
57177
|
* Refreshes the single entity represented by this context and returns a promise to wait for it. See {@link #refresh }
|
|
56852
57178
|
* for details. Use {@link #refresh} if you do not need the promise.
|
|
56853
57179
|
*
|
|
56854
|
-
* @returns A promise which
|
|
56855
|
-
* an
|
|
57180
|
+
* @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
|
|
57181
|
+
* with an error if the refresh failed
|
|
56856
57182
|
*/
|
|
56857
57183
|
requestRefresh(
|
|
56858
57184
|
/**
|
|
@@ -56863,7 +57189,7 @@ declare namespace sap {
|
|
|
56863
57189
|
* Allows to remove the context
|
|
56864
57190
|
*/
|
|
56865
57191
|
bAllowRemoval?: boolean
|
|
56866
|
-
): Promise<
|
|
57192
|
+
): Promise<void>;
|
|
56867
57193
|
/**
|
|
56868
57194
|
* @since 1.61.0
|
|
56869
57195
|
*
|
|
@@ -56904,10 +57230,10 @@ declare namespace sap {
|
|
|
56904
57230
|
* sap.ui.model.odata.v4.ODataListBinding#getHeaderContext
|
|
56905
57231
|
* sap.ui.model.odata.v4.ODataModel#bindContext
|
|
56906
57232
|
*
|
|
56907
|
-
* @returns
|
|
56908
|
-
* Use it to set fields affected by side effects to read-only before {@link #requestSideEffects}
|
|
56909
|
-
* them editable again when the promise resolves; in the error handler, you can repeat the loading
|
|
56910
|
-
* effects.
|
|
57233
|
+
* @returns A promise which is resolved without a defined result, or rejected with an error if loading of
|
|
57234
|
+
* side effects fails. Use it to set fields affected by side effects to read-only before {@link #requestSideEffects }
|
|
57235
|
+
* and make them editable again when the promise resolves; in the error handler, you can repeat the loading
|
|
57236
|
+
* of side effects.
|
|
56911
57237
|
* The promise is rejected if the call wants to refresh a whole list binding (via header context or an
|
|
56912
57238
|
* absolute path), but the deletion of a row context (see {@link #delete}) is pending with a different group
|
|
56913
57239
|
* ID.
|
|
@@ -56941,7 +57267,7 @@ declare namespace sap {
|
|
|
56941
57267
|
* are no pending changes for the affected properties.
|
|
56942
57268
|
*/
|
|
56943
57269
|
sGroupId?: string
|
|
56944
|
-
): Promise<
|
|
57270
|
+
): Promise<void>;
|
|
56945
57271
|
/**
|
|
56946
57272
|
* @since 1.113.0
|
|
56947
57273
|
*
|
|
@@ -56956,7 +57282,7 @@ declare namespace sap {
|
|
|
56956
57282
|
* @returns A promise which is resolved without a defined result as soon as all changes in the context and
|
|
56957
57283
|
* its current dependent bindings are canceled
|
|
56958
57284
|
*/
|
|
56959
|
-
resetChanges(): Promise<
|
|
57285
|
+
resetChanges(): Promise<void>;
|
|
56960
57286
|
/**
|
|
56961
57287
|
* @since 1.81.0
|
|
56962
57288
|
*
|
|
@@ -57005,11 +57331,11 @@ declare namespace sap {
|
|
|
57005
57331
|
* sap.ui.model.odata.v4.ODataListBinding#event:patchSent
|
|
57006
57332
|
* sap.ui.model.odata.v4.ODataListBinding#event:patchCompleted
|
|
57007
57333
|
*
|
|
57008
|
-
* @returns A promise which is resolved without a result in case of success, or rejected with an
|
|
57009
|
-
* of `Error` in case of failure, for example if the annotation belongs to the read-only namespace
|
|
57010
|
-
* With `bRetry` it is only rejected with an `Error` instance where `oError.canceled === true`
|
|
57011
|
-
* entity has been deleted while the request was pending or the property has been reset via the
|
|
57012
|
-
*
|
|
57334
|
+
* @returns A promise which is resolved without a defined result in case of success, or rejected with an
|
|
57335
|
+
* instance of `Error` in case of failure, for example if the annotation belongs to the read-only namespace
|
|
57336
|
+
* "@$ui5.*". With `bRetry` it is only rejected with an `Error` instance where `oError.canceled === true`
|
|
57337
|
+
* when the entity has been deleted while the request was pending or the property has been reset via the
|
|
57338
|
+
* methods
|
|
57013
57339
|
* {@link sap.ui.model.odata.v4.ODataModel#resetChanges} {@link sap.ui.model.odata.v4.ODataContextBinding#resetChanges }
|
|
57014
57340
|
* or {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges}.
|
|
57015
57341
|
*/
|
|
@@ -57043,7 +57369,7 @@ declare namespace sap {
|
|
|
57043
57369
|
* 'success' is fired.
|
|
57044
57370
|
*/
|
|
57045
57371
|
bRetry?: boolean
|
|
57046
|
-
): Promise<
|
|
57372
|
+
): Promise<void>;
|
|
57047
57373
|
/**
|
|
57048
57374
|
* @experimental (since 1.111.0)
|
|
57049
57375
|
*
|
|
@@ -57238,7 +57564,9 @@ declare namespace sap {
|
|
|
57238
57564
|
/**
|
|
57239
57565
|
* The function to call when the event occurs
|
|
57240
57566
|
*/
|
|
57241
|
-
fnFunction:
|
|
57567
|
+
fnFunction: (
|
|
57568
|
+
evt: ODataContextBinding$PatchCompletedEvent
|
|
57569
|
+
) => void,
|
|
57242
57570
|
/**
|
|
57243
57571
|
* Object on which to call the given function
|
|
57244
57572
|
*/
|
|
@@ -57332,7 +57660,7 @@ declare namespace sap {
|
|
|
57332
57660
|
* binding parameter is set to `true`. Since 1.97.0.
|
|
57333
57661
|
*/
|
|
57334
57662
|
bReplaceWithRVC?: boolean
|
|
57335
|
-
): Promise<
|
|
57663
|
+
): Promise<sap.ui.model.odata.v4.Context | undefined>;
|
|
57336
57664
|
/**
|
|
57337
57665
|
* @since 1.39.0
|
|
57338
57666
|
*
|
|
@@ -57491,15 +57819,15 @@ declare namespace sap {
|
|
|
57491
57819
|
* Refreshes the binding and returns a promise to wait for it. See {@link #refresh} for details. Use {@link #refresh }
|
|
57492
57820
|
* if you do not need the promise.
|
|
57493
57821
|
*
|
|
57494
|
-
* @returns A promise which
|
|
57495
|
-
* an
|
|
57822
|
+
* @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
|
|
57823
|
+
* with an error if the refresh failed
|
|
57496
57824
|
*/
|
|
57497
57825
|
requestRefresh(
|
|
57498
57826
|
/**
|
|
57499
57827
|
* The group ID to be used
|
|
57500
57828
|
*/
|
|
57501
57829
|
sGroupId?: string
|
|
57502
|
-
): Promise<
|
|
57830
|
+
): Promise<void>;
|
|
57503
57831
|
/**
|
|
57504
57832
|
* @since 1.40.1
|
|
57505
57833
|
*
|
|
@@ -57509,7 +57837,7 @@ declare namespace sap {
|
|
|
57509
57837
|
* @returns A promise which is resolved without a defined result as soon as all changes in the binding itself
|
|
57510
57838
|
* and all dependent bindings are canceled (since 1.72.0)
|
|
57511
57839
|
*/
|
|
57512
|
-
resetChanges(): Promise<
|
|
57840
|
+
resetChanges(): Promise<void>;
|
|
57513
57841
|
/**
|
|
57514
57842
|
* @since 1.37.0
|
|
57515
57843
|
*
|
|
@@ -57778,12 +58106,18 @@ declare namespace sap {
|
|
|
57778
58106
|
* parent's navigation property, which is sent with the payload of the parent entity. Such a nested context
|
|
57779
58107
|
* cannot be inactive.
|
|
57780
58108
|
*
|
|
57781
|
-
* **
|
|
57782
|
-
*
|
|
57783
|
-
*
|
|
57784
|
-
*
|
|
57785
|
-
*
|
|
57786
|
-
*
|
|
58109
|
+
* **Note:** After a succesful creation of the main entity the context returned for a nested entity is no
|
|
58110
|
+
* longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such a
|
|
58111
|
+
* context! New contexts are created for the nested collection because it is not possible to reliably assign
|
|
58112
|
+
* the response entities to those of the request, especially if the count differs. For this reason, the
|
|
58113
|
+
* `created` promises of all nested contexts are always rejected with an instance of `Error`, even if the
|
|
58114
|
+
* deep create succeeds. This error always has the property `canceled` with the value `true`.
|
|
58115
|
+
*
|
|
58116
|
+
* Since 1.117.0 deep create also supports single-valued navigation properties; no API call is required
|
|
58117
|
+
* in this case. Simply bind properties of the related entity relative to a transient context. An update
|
|
58118
|
+
* to the property adds it to the POST request of the parent entity, and by this the create becomes deep.
|
|
58119
|
+
*
|
|
58120
|
+
* **Note**: Deep create for single-valued navigation properties is **experimental**.
|
|
57787
58121
|
*
|
|
57788
58122
|
* Deep create requires the `autoExpandSelect` parameter at the {@link sap.ui.model.odata.v4.ODataModel#constructor model}.
|
|
57789
58123
|
* The refresh after a deep create is optimized. Only the (navigation) properties missing from the POST
|
|
@@ -57795,6 +58129,14 @@ declare namespace sap {
|
|
|
57795
58129
|
* has been read or if the system query option `$count` is `true` and the binding has processed at least
|
|
57796
58130
|
* one request.
|
|
57797
58131
|
*
|
|
58132
|
+
* Creating a new child beneath an existing and visible parent node (which must either be a leaf or expanded,
|
|
58133
|
+
* but not collapsed) is supported (@experimental as of version 1.117.0) in case of a recursive hierarchy
|
|
58134
|
+
* (see {@link #setAggregation}). The parent node must be identified via a {@link sap.ui.model.odata.v4.Context }
|
|
58135
|
+
* instance given as `oInitialData["@$ui5.node.parent"]`. `oAggregation.expandTo` (see {@link #setAggregation})
|
|
58136
|
+
* must be one, `bSkipRefresh` must be set, but both `bAtEnd` and `bInactive` must not be set. No other
|
|
58137
|
+
* creation must be pending, and no other modification (including collapse of some ancestor node) must happen
|
|
58138
|
+
* while this creation is pending!
|
|
58139
|
+
*
|
|
57798
58140
|
* @returns The context object for the created entity; its method {@link sap.ui.model.odata.v4.Context#created }
|
|
57799
58141
|
* returns a promise that is resolved when the creation is finished
|
|
57800
58142
|
*/
|
|
@@ -57804,8 +58146,11 @@ declare namespace sap {
|
|
|
57804
58146
|
*/
|
|
57805
58147
|
oInitialData?: object,
|
|
57806
58148
|
/**
|
|
57807
|
-
* Whether an automatic refresh of the created entity will be skipped
|
|
57808
|
-
*
|
|
58149
|
+
* Whether an automatic refresh of the created entity will be skipped.
|
|
58150
|
+
* **Note:** Do not use this parameter for a deep create. It leads to multiple single row requests if the
|
|
58151
|
+
* POST response did not supply all properties of the nested list. If it is not set, the model checks whether
|
|
58152
|
+
* all required properties and child entities are available on the client and requests only data that is
|
|
58153
|
+
* missing.
|
|
57809
58154
|
*/
|
|
57810
58155
|
bSkipRefresh?: boolean,
|
|
57811
58156
|
/**
|
|
@@ -57860,7 +58205,7 @@ declare namespace sap {
|
|
|
57860
58205
|
/**
|
|
57861
58206
|
* The function to call when the event occurs
|
|
57862
58207
|
*/
|
|
57863
|
-
fnFunction:
|
|
58208
|
+
fnFunction: (evt: ODataListBinding$CreateCompletedEvent) => void,
|
|
57864
58209
|
/**
|
|
57865
58210
|
* Object on which to call the given function
|
|
57866
58211
|
*/
|
|
@@ -57877,7 +58222,7 @@ declare namespace sap {
|
|
|
57877
58222
|
/**
|
|
57878
58223
|
* The function to call when the event occurs
|
|
57879
58224
|
*/
|
|
57880
|
-
fnFunction:
|
|
58225
|
+
fnFunction: (evt: ODataListBinding$CreateSentEvent) => void,
|
|
57881
58226
|
/**
|
|
57882
58227
|
* Object on which to call the given function
|
|
57883
58228
|
*/
|
|
@@ -57894,7 +58239,7 @@ declare namespace sap {
|
|
|
57894
58239
|
/**
|
|
57895
58240
|
* The function to call when the event occurs
|
|
57896
58241
|
*/
|
|
57897
|
-
fnFunction:
|
|
58242
|
+
fnFunction: (evt: ODataListBinding$PatchCompletedEvent) => void,
|
|
57898
58243
|
/**
|
|
57899
58244
|
* Object on which to call the given function
|
|
57900
58245
|
*/
|
|
@@ -58095,8 +58440,9 @@ declare namespace sap {
|
|
|
58095
58440
|
*
|
|
58096
58441
|
* Additionally, you must be aware of server-driven paging and be ready to send a follow-up request if the
|
|
58097
58442
|
* response contains `@odata.nextlink`.
|
|
58098
|
-
*
|
|
58099
|
-
*
|
|
58443
|
+
*
|
|
58444
|
+
* The URL cannot be determined synchronously in all cases; use {@link #requestDownloadUrl} to allow for
|
|
58445
|
+
* asynchronous determination then.
|
|
58100
58446
|
*
|
|
58101
58447
|
* @returns The download URL
|
|
58102
58448
|
*/
|
|
@@ -58377,15 +58723,15 @@ declare namespace sap {
|
|
|
58377
58723
|
* Refreshes the binding and returns a promise to wait for it. See {@link #refresh} for details. Use {@link #refresh }
|
|
58378
58724
|
* if you do not need the promise.
|
|
58379
58725
|
*
|
|
58380
|
-
* @returns A promise which
|
|
58381
|
-
* an
|
|
58726
|
+
* @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
|
|
58727
|
+
* with an error if the refresh failed
|
|
58382
58728
|
*/
|
|
58383
58729
|
requestRefresh(
|
|
58384
58730
|
/**
|
|
58385
58731
|
* The group ID to be used
|
|
58386
58732
|
*/
|
|
58387
58733
|
sGroupId?: string
|
|
58388
|
-
): Promise<
|
|
58734
|
+
): Promise<void>;
|
|
58389
58735
|
/**
|
|
58390
58736
|
* @since 1.40.1
|
|
58391
58737
|
*
|
|
@@ -58395,7 +58741,7 @@ declare namespace sap {
|
|
|
58395
58741
|
* @returns A promise which is resolved without a defined result as soon as all changes in the binding itself
|
|
58396
58742
|
* and all dependent bindings are canceled (since 1.72.0)
|
|
58397
58743
|
*/
|
|
58398
|
-
resetChanges(): Promise<
|
|
58744
|
+
resetChanges(): Promise<void>;
|
|
58399
58745
|
/**
|
|
58400
58746
|
* @since 1.37.0
|
|
58401
58747
|
*
|
|
@@ -58425,7 +58771,8 @@ declare namespace sap {
|
|
|
58425
58771
|
* compatible with this approach, and it cannot be combined with group levels.
|
|
58426
58772
|
* Since 1.105.0, either a recursive hierarchy or pure data aggregation is supported, but no mix; `hierarchyQualifier`
|
|
58427
58773
|
* is the leading property that decides between those two use cases - this is an **experimental API** and
|
|
58428
|
-
* is only supported if the model uses the `autoExpandSelect` parameter!
|
|
58774
|
+
* is only supported if the model uses the `autoExpandSelect` parameter! Since 1.117.0, it is available
|
|
58775
|
+
* for read-only hierarchies.
|
|
58429
58776
|
*/
|
|
58430
58777
|
oAggregation?: {
|
|
58431
58778
|
/**
|
|
@@ -58447,8 +58794,9 @@ declare namespace sap {
|
|
|
58447
58794
|
aggregate?: object;
|
|
58448
58795
|
/**
|
|
58449
58796
|
* The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
|
|
58450
|
-
* (@experimental as of version 1.105.0
|
|
58451
|
-
* are on the first level. By default, only root nodes are
|
|
58797
|
+
* (@experimental as of version 1.105.0; available for read-only hierarchies since 1.117.0), supported only
|
|
58798
|
+
* if a `hierarchyQualifier` is given. Root nodes are on the first level. By default, only root nodes are
|
|
58799
|
+
* available; they are not yet expanded.
|
|
58452
58800
|
*/
|
|
58453
58801
|
expandTo?: number;
|
|
58454
58802
|
/**
|
|
@@ -58473,9 +58821,10 @@ declare namespace sap {
|
|
|
58473
58821
|
groupLevels?: string[];
|
|
58474
58822
|
/**
|
|
58475
58823
|
* The qualifier for the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy" and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy"
|
|
58476
|
-
* annotations at this binding's entity type (@experimental as of version 1.105.0
|
|
58477
|
-
* hierarchy without data aggregation is defined, and
|
|
58478
|
-
* and `search`. A recursive hierarchy cannot be combined
|
|
58824
|
+
* annotations at this binding's entity type (@experimental as of version 1.105.0; available for read-only
|
|
58825
|
+
* hierarchies since 1.117.0). If present, a recursive hierarchy without data aggregation is defined, and
|
|
58826
|
+
* the only other supported properties are `expandTo` and `search`. A recursive hierarchy cannot be combined
|
|
58827
|
+
* with:
|
|
58479
58828
|
* "$search", the `vGroup` parameter of {@link sap.ui.model.Sorter} (since 1.107.0), shared
|
|
58480
58829
|
* requests (since 1.108.0).
|
|
58481
58830
|
*/
|
|
@@ -59011,7 +59360,7 @@ declare namespace sap {
|
|
|
59011
59360
|
*
|
|
59012
59361
|
* @returns A promise which is resolved with the OData metadata as a "JSON" object as soon as it is available.
|
|
59013
59362
|
*/
|
|
59014
|
-
requestData(): Promise<
|
|
59363
|
+
requestData(): Promise<object>;
|
|
59015
59364
|
/**
|
|
59016
59365
|
* @since 1.37.0
|
|
59017
59366
|
*
|
|
@@ -59238,7 +59587,7 @@ declare namespace sap {
|
|
|
59238
59587
|
* are passed "as is".
|
|
59239
59588
|
*/
|
|
59240
59589
|
mFormatOptions?: object
|
|
59241
|
-
): Promise<
|
|
59590
|
+
): Promise<sap.ui.model.odata.type.ODataType>;
|
|
59242
59591
|
/**
|
|
59243
59592
|
* @since 1.63.0
|
|
59244
59593
|
*
|
|
@@ -59333,7 +59682,7 @@ declare namespace sap {
|
|
|
59333
59682
|
* annotation. Supported since 1.84.0
|
|
59334
59683
|
*/
|
|
59335
59684
|
oContext?: sap.ui.model.odata.v4.Context
|
|
59336
|
-
): Promise<
|
|
59685
|
+
): Promise<Record<string, object>>;
|
|
59337
59686
|
/**
|
|
59338
59687
|
* @since 1.47.0
|
|
59339
59688
|
*
|
|
@@ -59349,7 +59698,7 @@ declare namespace sap {
|
|
|
59349
59698
|
* An absolute path to an OData property within the OData data model
|
|
59350
59699
|
*/
|
|
59351
59700
|
sPropertyPath: string
|
|
59352
|
-
): Promise<
|
|
59701
|
+
): Promise<sap.ui.model.odata.v4.ValueListType>;
|
|
59353
59702
|
/**
|
|
59354
59703
|
* @since 1.37.0
|
|
59355
59704
|
*
|
|
@@ -59488,7 +59837,7 @@ declare namespace sap {
|
|
|
59488
59837
|
/**
|
|
59489
59838
|
* (Controls synchronization between different bindings which refer to the same data for the case data changes
|
|
59490
59839
|
* in one binding. Must be set to 'None' which means bindings are not synchronized at all; all other values
|
|
59491
|
-
* are not supported and lead to an error.) **deprecated:** As of
|
|
59840
|
+
* are not supported and lead to an error.) **deprecated:** As of Version 1.110.0, this parameter is optional;
|
|
59492
59841
|
* see also {@link https://ui5.sap.com/#/topic/648e360fa22d46248ca783dc6eb44531 Data Reuse}
|
|
59493
59842
|
*/
|
|
59494
59843
|
synchronizationMode?: string;
|
|
@@ -59497,6 +59846,11 @@ declare namespace sap {
|
|
|
59497
59846
|
* is used. Valid update group IDs are `undefined`, '$auto', '$direct' or an application group ID.
|
|
59498
59847
|
*/
|
|
59499
59848
|
updateGroupId?: string;
|
|
59849
|
+
/**
|
|
59850
|
+
* Whether the XMLHttpRequest is called with `withCredentials`, so that user credentials are included in
|
|
59851
|
+
* cross-origin requests by the browser (@experimental as of Version 1.117.0)
|
|
59852
|
+
*/
|
|
59853
|
+
withCredentials?: boolean;
|
|
59500
59854
|
}
|
|
59501
59855
|
);
|
|
59502
59856
|
|
|
@@ -60008,8 +60362,9 @@ declare namespace sap {
|
|
|
60008
60362
|
* key is omitted, for collection-valued navigation properties, all keys are present, the key-value
|
|
60009
60363
|
* pairs are encoded via encodeURIComponent.
|
|
60010
60364
|
*
|
|
60011
|
-
* @returns A promise
|
|
60012
|
-
* In the latter case the HTTP status code of the response is given
|
|
60365
|
+
* @returns A promise which is resolved without a defined result when the delete succeeded, or rejected
|
|
60366
|
+
* with an instance of Error otherwise. In the latter case the HTTP status code of the response is given
|
|
60367
|
+
* in the error's property `status`.
|
|
60013
60368
|
*/
|
|
60014
60369
|
delete(
|
|
60015
60370
|
/**
|
|
@@ -60029,7 +60384,7 @@ declare namespace sap {
|
|
|
60029
60384
|
* *` header); otherwise we assume that it has already been deleted by someone else and report success
|
|
60030
60385
|
*/
|
|
60031
60386
|
bRejectIfNotFound?: boolean
|
|
60032
|
-
): Promise<
|
|
60387
|
+
): Promise<void>;
|
|
60033
60388
|
/**
|
|
60034
60389
|
* @since 1.38.0
|
|
60035
60390
|
*
|
|
@@ -60055,7 +60410,7 @@ declare namespace sap {
|
|
|
60055
60410
|
/**
|
|
60056
60411
|
* The function to call when the event occurs
|
|
60057
60412
|
*/
|
|
60058
|
-
fnFunction:
|
|
60413
|
+
fnFunction: (evt: ODataModel$DataReceivedEvent) => void,
|
|
60059
60414
|
/**
|
|
60060
60415
|
* Object on which to call the given function
|
|
60061
60416
|
*/
|
|
@@ -60072,7 +60427,7 @@ declare namespace sap {
|
|
|
60072
60427
|
/**
|
|
60073
60428
|
* The function to call when the event occurs
|
|
60074
60429
|
*/
|
|
60075
|
-
fnFunction:
|
|
60430
|
+
fnFunction: (evt: ODataModel$DataRequestedEvent) => void,
|
|
60076
60431
|
/**
|
|
60077
60432
|
* Object on which to call the given function
|
|
60078
60433
|
*/
|
|
@@ -60337,7 +60692,7 @@ declare namespace sap {
|
|
|
60337
60692
|
* A context in this model which must point to a non-contained OData entity
|
|
60338
60693
|
*/
|
|
60339
60694
|
oEntityContext: sap.ui.model.odata.v4.Context
|
|
60340
|
-
): Promise<
|
|
60695
|
+
): Promise<string>;
|
|
60341
60696
|
/**
|
|
60342
60697
|
* @since 1.107.0
|
|
60343
60698
|
*
|
|
@@ -60397,15 +60752,15 @@ declare namespace sap {
|
|
|
60397
60752
|
* {@link #resetChanges} can be used to reset all pending changes instead. After that, or when the promise
|
|
60398
60753
|
* returned by this method is fulfilled, {@link #hasPendingChanges} will not report pending changes anymore.
|
|
60399
60754
|
*
|
|
60400
|
-
* @returns A promise on the outcome of the HTTP request
|
|
60401
|
-
* an error if the batch request itself fails
|
|
60755
|
+
* @returns A promise which is resolved without a defined result on the outcome of the HTTP request, or
|
|
60756
|
+
* rejected with an error if the batch request itself fails
|
|
60402
60757
|
*/
|
|
60403
60758
|
submitBatch(
|
|
60404
60759
|
/**
|
|
60405
60760
|
* A valid group ID as specified in {@link sap.ui.model.odata.v4.ODataModel}.
|
|
60406
60761
|
*/
|
|
60407
60762
|
sGroupId: string
|
|
60408
|
-
): Promise<
|
|
60763
|
+
): Promise<void>;
|
|
60409
60764
|
/**
|
|
60410
60765
|
* @since 1.37.0
|
|
60411
60766
|
*
|
|
@@ -60616,22 +60971,22 @@ declare namespace sap {
|
|
|
60616
60971
|
* Refreshes the binding and returns a promise to wait for it. See {@link #refresh} for details. Use {@link #refresh }
|
|
60617
60972
|
* if you do not need the promise.
|
|
60618
60973
|
*
|
|
60619
|
-
* @returns A promise which
|
|
60620
|
-
* an
|
|
60974
|
+
* @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
|
|
60975
|
+
* with an error if the refresh failed
|
|
60621
60976
|
*/
|
|
60622
60977
|
requestRefresh(
|
|
60623
60978
|
/**
|
|
60624
60979
|
* The group ID to be used
|
|
60625
60980
|
*/
|
|
60626
60981
|
sGroupId?: string
|
|
60627
|
-
): Promise<
|
|
60982
|
+
): Promise<void>;
|
|
60628
60983
|
/**
|
|
60629
60984
|
* @since 1.69
|
|
60630
60985
|
*
|
|
60631
60986
|
* Requests the value of the property binding.
|
|
60632
60987
|
*
|
|
60633
|
-
* @returns A promise
|
|
60634
|
-
*
|
|
60988
|
+
* @returns A promise resolved with the resulting value or `undefined` if it could not be determined, or
|
|
60989
|
+
* rejected in case of an error
|
|
60635
60990
|
*/
|
|
60636
60991
|
requestValue(): Promise<any | undefined>;
|
|
60637
60992
|
/**
|
|
@@ -60647,7 +61002,7 @@ declare namespace sap {
|
|
|
60647
61002
|
* list model is this binding's model, this flag has no effect. Supported since 1.68.0
|
|
60648
61003
|
*/
|
|
60649
61004
|
bAutoExpandSelect?: boolean
|
|
60650
|
-
): Promise<
|
|
61005
|
+
): Promise<Record<string, object>>;
|
|
60651
61006
|
/**
|
|
60652
61007
|
* @since 1.47.0
|
|
60653
61008
|
*
|
|
@@ -60656,7 +61011,7 @@ declare namespace sap {
|
|
|
60656
61011
|
* @returns A promise that is resolved with the type of the value list. It is rejected if the property cannot
|
|
60657
61012
|
* be found in the metadata.
|
|
60658
61013
|
*/
|
|
60659
|
-
requestValueListType(): Promise<
|
|
61014
|
+
requestValueListType(): Promise<sap.ui.model.odata.v4.ValueListType>;
|
|
60660
61015
|
/**
|
|
60661
61016
|
* @since 1.40.1
|
|
60662
61017
|
*
|
|
@@ -60666,7 +61021,7 @@ declare namespace sap {
|
|
|
60666
61021
|
* @returns A promise which is resolved without a defined result as soon as all changes in the binding itself
|
|
60667
61022
|
* and all dependent bindings are canceled (since 1.72.0)
|
|
60668
61023
|
*/
|
|
60669
|
-
resetChanges(): Promise<
|
|
61024
|
+
resetChanges(): Promise<void>;
|
|
60670
61025
|
/**
|
|
60671
61026
|
* @since 1.37.0
|
|
60672
61027
|
*
|
|
@@ -60791,55 +61146,130 @@ declare namespace sap {
|
|
|
60791
61146
|
Standard = "Standard",
|
|
60792
61147
|
}
|
|
60793
61148
|
|
|
60794
|
-
type ODataContextBinding$ChangeEvent = sap.ui.base.Event<
|
|
61149
|
+
type ODataContextBinding$ChangeEvent = sap.ui.base.Event<
|
|
61150
|
+
ODataContextBinding$ChangeEventParameters,
|
|
61151
|
+
ODataContextBinding
|
|
61152
|
+
>;
|
|
60795
61153
|
|
|
60796
|
-
type ODataContextBinding$DataReceivedEvent = sap.ui.base.Event<
|
|
61154
|
+
type ODataContextBinding$DataReceivedEvent = sap.ui.base.Event<
|
|
61155
|
+
ODataContextBinding$DataReceivedEventParameters,
|
|
61156
|
+
ODataContextBinding
|
|
61157
|
+
>;
|
|
60797
61158
|
|
|
60798
|
-
type ODataContextBinding$DataRequestedEvent = sap.ui.base.Event<
|
|
61159
|
+
type ODataContextBinding$DataRequestedEvent = sap.ui.base.Event<
|
|
61160
|
+
ODataContextBinding$DataRequestedEventParameters,
|
|
61161
|
+
ODataContextBinding
|
|
61162
|
+
>;
|
|
60799
61163
|
|
|
60800
|
-
type ODataContextBinding$PatchCompletedEvent = sap.ui.base.Event<
|
|
61164
|
+
type ODataContextBinding$PatchCompletedEvent = sap.ui.base.Event<
|
|
61165
|
+
ODataContextBinding$PatchCompletedEventParameters,
|
|
61166
|
+
ODataContextBinding
|
|
61167
|
+
>;
|
|
60801
61168
|
|
|
60802
|
-
type ODataContextBinding$PatchSentEvent = sap.ui.base.Event<
|
|
61169
|
+
type ODataContextBinding$PatchSentEvent = sap.ui.base.Event<
|
|
61170
|
+
ODataContextBinding$PatchSentEventParameters,
|
|
61171
|
+
ODataContextBinding
|
|
61172
|
+
>;
|
|
60803
61173
|
|
|
60804
|
-
type ODataListBinding$ChangeEvent = sap.ui.base.Event<
|
|
61174
|
+
type ODataListBinding$ChangeEvent = sap.ui.base.Event<
|
|
61175
|
+
ODataListBinding$ChangeEventParameters,
|
|
61176
|
+
ODataListBinding
|
|
61177
|
+
>;
|
|
60805
61178
|
|
|
60806
|
-
type ODataListBinding$CreateActivateEvent = sap.ui.base.Event<
|
|
61179
|
+
type ODataListBinding$CreateActivateEvent = sap.ui.base.Event<
|
|
61180
|
+
ODataListBinding$CreateActivateEventParameters,
|
|
61181
|
+
ODataListBinding
|
|
61182
|
+
>;
|
|
60807
61183
|
|
|
60808
|
-
type ODataListBinding$CreateCompletedEvent = sap.ui.base.Event<
|
|
61184
|
+
type ODataListBinding$CreateCompletedEvent = sap.ui.base.Event<
|
|
61185
|
+
ODataListBinding$CreateCompletedEventParameters,
|
|
61186
|
+
ODataListBinding
|
|
61187
|
+
>;
|
|
60809
61188
|
|
|
60810
|
-
type ODataListBinding$CreateSentEvent = sap.ui.base.Event<
|
|
61189
|
+
type ODataListBinding$CreateSentEvent = sap.ui.base.Event<
|
|
61190
|
+
ODataListBinding$CreateSentEventParameters,
|
|
61191
|
+
ODataListBinding
|
|
61192
|
+
>;
|
|
60811
61193
|
|
|
60812
|
-
type ODataListBinding$DataReceivedEvent = sap.ui.base.Event<
|
|
61194
|
+
type ODataListBinding$DataReceivedEvent = sap.ui.base.Event<
|
|
61195
|
+
ODataListBinding$DataReceivedEventParameters,
|
|
61196
|
+
ODataListBinding
|
|
61197
|
+
>;
|
|
60813
61198
|
|
|
60814
|
-
type ODataListBinding$DataRequestedEvent = sap.ui.base.Event<
|
|
61199
|
+
type ODataListBinding$DataRequestedEvent = sap.ui.base.Event<
|
|
61200
|
+
ODataListBinding$DataRequestedEventParameters,
|
|
61201
|
+
ODataListBinding
|
|
61202
|
+
>;
|
|
60815
61203
|
|
|
60816
|
-
type ODataListBinding$PatchCompletedEvent = sap.ui.base.Event<
|
|
61204
|
+
type ODataListBinding$PatchCompletedEvent = sap.ui.base.Event<
|
|
61205
|
+
ODataListBinding$PatchCompletedEventParameters,
|
|
61206
|
+
ODataListBinding
|
|
61207
|
+
>;
|
|
60817
61208
|
|
|
60818
|
-
type ODataListBinding$PatchSentEvent = sap.ui.base.Event<
|
|
61209
|
+
type ODataListBinding$PatchSentEvent = sap.ui.base.Event<
|
|
61210
|
+
ODataListBinding$PatchSentEventParameters,
|
|
61211
|
+
ODataListBinding
|
|
61212
|
+
>;
|
|
60819
61213
|
|
|
60820
|
-
type ODataListBinding$RefreshEvent = sap.ui.base.Event<
|
|
61214
|
+
type ODataListBinding$RefreshEvent = sap.ui.base.Event<
|
|
61215
|
+
ODataListBinding$RefreshEventParameters,
|
|
61216
|
+
ODataListBinding
|
|
61217
|
+
>;
|
|
60821
61218
|
|
|
60822
|
-
type ODataModel$DataReceivedEvent = sap.ui.base.Event<
|
|
61219
|
+
type ODataModel$DataReceivedEvent = sap.ui.base.Event<
|
|
61220
|
+
ODataModel$DataReceivedEventParameters,
|
|
61221
|
+
ODataModel
|
|
61222
|
+
>;
|
|
60823
61223
|
|
|
60824
|
-
type ODataModel$DataRequestedEvent = sap.ui.base.Event<
|
|
61224
|
+
type ODataModel$DataRequestedEvent = sap.ui.base.Event<
|
|
61225
|
+
ODataModel$DataRequestedEventParameters,
|
|
61226
|
+
ODataModel
|
|
61227
|
+
>;
|
|
60825
61228
|
|
|
60826
|
-
type ODataModel$ParseErrorEvent = sap.ui.base.Event<
|
|
61229
|
+
type ODataModel$ParseErrorEvent = sap.ui.base.Event<
|
|
61230
|
+
ODataModel$ParseErrorEventParameters,
|
|
61231
|
+
ODataModel
|
|
61232
|
+
>;
|
|
60827
61233
|
|
|
60828
|
-
type ODataModel$PropertyChangeEvent = sap.ui.base.Event<
|
|
61234
|
+
type ODataModel$PropertyChangeEvent = sap.ui.base.Event<
|
|
61235
|
+
ODataModel$PropertyChangeEventParameters,
|
|
61236
|
+
ODataModel
|
|
61237
|
+
>;
|
|
60829
61238
|
|
|
60830
|
-
type ODataModel$RequestCompletedEvent = sap.ui.base.Event<
|
|
61239
|
+
type ODataModel$RequestCompletedEvent = sap.ui.base.Event<
|
|
61240
|
+
ODataModel$RequestCompletedEventParameters,
|
|
61241
|
+
ODataModel
|
|
61242
|
+
>;
|
|
60831
61243
|
|
|
60832
|
-
type ODataModel$RequestFailedEvent = sap.ui.base.Event<
|
|
61244
|
+
type ODataModel$RequestFailedEvent = sap.ui.base.Event<
|
|
61245
|
+
ODataModel$RequestFailedEventParameters,
|
|
61246
|
+
ODataModel
|
|
61247
|
+
>;
|
|
60833
61248
|
|
|
60834
|
-
type ODataModel$RequestSentEvent = sap.ui.base.Event<
|
|
61249
|
+
type ODataModel$RequestSentEvent = sap.ui.base.Event<
|
|
61250
|
+
ODataModel$RequestSentEventParameters,
|
|
61251
|
+
ODataModel
|
|
61252
|
+
>;
|
|
60835
61253
|
|
|
60836
|
-
type ODataModel$SessionTimeoutEvent = sap.ui.base.Event<
|
|
61254
|
+
type ODataModel$SessionTimeoutEvent = sap.ui.base.Event<
|
|
61255
|
+
ODataModel$SessionTimeoutEventParameters,
|
|
61256
|
+
ODataModel
|
|
61257
|
+
>;
|
|
60837
61258
|
|
|
60838
|
-
type ODataPropertyBinding$ChangeEvent = sap.ui.base.Event<
|
|
61259
|
+
type ODataPropertyBinding$ChangeEvent = sap.ui.base.Event<
|
|
61260
|
+
ODataPropertyBinding$ChangeEventParameters,
|
|
61261
|
+
ODataPropertyBinding
|
|
61262
|
+
>;
|
|
60839
61263
|
|
|
60840
|
-
type ODataPropertyBinding$DataReceivedEvent = sap.ui.base.Event<
|
|
61264
|
+
type ODataPropertyBinding$DataReceivedEvent = sap.ui.base.Event<
|
|
61265
|
+
ODataPropertyBinding$DataReceivedEventParameters,
|
|
61266
|
+
ODataPropertyBinding
|
|
61267
|
+
>;
|
|
60841
61268
|
|
|
60842
|
-
type ODataPropertyBinding$DataRequestedEvent = sap.ui.base.Event<
|
|
61269
|
+
type ODataPropertyBinding$DataRequestedEvent = sap.ui.base.Event<
|
|
61270
|
+
ODataPropertyBinding$DataRequestedEventParameters,
|
|
61271
|
+
ODataPropertyBinding
|
|
61272
|
+
>;
|
|
60843
61273
|
}
|
|
60844
61274
|
|
|
60845
61275
|
namespace ODataMetaModel {
|
|
@@ -60958,6 +61388,16 @@ declare namespace sap {
|
|
|
60958
61388
|
type: "Edm.Boolean";
|
|
60959
61389
|
};
|
|
60960
61390
|
|
|
61391
|
+
/**
|
|
61392
|
+
* An object representing a Boolean value.
|
|
61393
|
+
*/
|
|
61394
|
+
type BoolExpression = {
|
|
61395
|
+
/**
|
|
61396
|
+
* The Boolean value
|
|
61397
|
+
*/
|
|
61398
|
+
Bool: "true" | "false";
|
|
61399
|
+
};
|
|
61400
|
+
|
|
60961
61401
|
/**
|
|
60962
61402
|
* A property of type `Edm.Byte`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Byte}.
|
|
60963
61403
|
*/
|
|
@@ -61297,6 +61737,16 @@ declare namespace sap {
|
|
|
61297
61737
|
| sap.ui.model.odata.ODataMetaModel.StringProperty
|
|
61298
61738
|
| sap.ui.model.odata.ODataMetaModel.TimeProperty;
|
|
61299
61739
|
|
|
61740
|
+
/**
|
|
61741
|
+
* An object representing a `PropertyPathExpression` with its corresponding value.
|
|
61742
|
+
*/
|
|
61743
|
+
type PropertyPathExpression = {
|
|
61744
|
+
/**
|
|
61745
|
+
* The value of the `PropertyPathExpression`
|
|
61746
|
+
*/
|
|
61747
|
+
PropertyPath: string;
|
|
61748
|
+
};
|
|
61749
|
+
|
|
61300
61750
|
/**
|
|
61301
61751
|
* An object representing an OData property reference.
|
|
61302
61752
|
*/
|
|
@@ -61317,6 +61767,16 @@ declare namespace sap {
|
|
|
61317
61767
|
type: "Edm.SByte";
|
|
61318
61768
|
};
|
|
61319
61769
|
|
|
61770
|
+
/**
|
|
61771
|
+
* An object representing an {@link https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#SimpleIdentifier OData SimpleIdentifier}
|
|
61772
|
+
*/
|
|
61773
|
+
type SimpleIdentifier = {
|
|
61774
|
+
/**
|
|
61775
|
+
* The simple identifier string
|
|
61776
|
+
*/
|
|
61777
|
+
String: string;
|
|
61778
|
+
};
|
|
61779
|
+
|
|
61320
61780
|
/**
|
|
61321
61781
|
* A property of type `Edm.Single`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Single}.
|
|
61322
61782
|
*/
|
|
@@ -61345,6 +61805,16 @@ declare namespace sap {
|
|
|
61345
61805
|
maxLength?: string;
|
|
61346
61806
|
};
|
|
61347
61807
|
|
|
61808
|
+
/**
|
|
61809
|
+
* An object representing a string value.
|
|
61810
|
+
*/
|
|
61811
|
+
type StringExpression = {
|
|
61812
|
+
/**
|
|
61813
|
+
* The string value
|
|
61814
|
+
*/
|
|
61815
|
+
String: string;
|
|
61816
|
+
};
|
|
61817
|
+
|
|
61348
61818
|
/**
|
|
61349
61819
|
* A property of type `Edm.String`, see the corresponding UI5 type {@link sap.ui.model.odata.type.String}.
|
|
61350
61820
|
*/
|
|
@@ -61380,6 +61850,155 @@ declare namespace sap {
|
|
|
61380
61850
|
*/
|
|
61381
61851
|
precision?: string;
|
|
61382
61852
|
};
|
|
61853
|
+
|
|
61854
|
+
/**
|
|
61855
|
+
* The alias type for the OData {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameter ValueListParameter};
|
|
61856
|
+
* this alias comprises all supported value list parameter types.
|
|
61857
|
+
*/
|
|
61858
|
+
type ValueListParameter =
|
|
61859
|
+
| sap.ui.model.odata.ODataMetaModel.ValueListParameterIn
|
|
61860
|
+
| sap.ui.model.odata.ODataMetaModel.ValueListParameterConstant
|
|
61861
|
+
| sap.ui.model.odata.ODataMetaModel.ValueListParameterInOut
|
|
61862
|
+
| sap.ui.model.odata.ODataMetaModel.ValueListParameterOut
|
|
61863
|
+
| sap.ui.model.odata.ODataMetaModel.ValueListParameterDisplayOnly;
|
|
61864
|
+
|
|
61865
|
+
/**
|
|
61866
|
+
* An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterConstant ValueListParameterConstant}.
|
|
61867
|
+
*/
|
|
61868
|
+
type ValueListParameterConstant = {
|
|
61869
|
+
/**
|
|
61870
|
+
* An object containing the path to the property in the value list
|
|
61871
|
+
*/
|
|
61872
|
+
ValueListProperty: sap.ui.model.odata.ODataMetaModel.ValueListProperty;
|
|
61873
|
+
/**
|
|
61874
|
+
* A string representing a constant value that is used to filter the value list with an `eq` comparison,
|
|
61875
|
+
* using the same representation as property default values
|
|
61876
|
+
*/
|
|
61877
|
+
Constant: string;
|
|
61878
|
+
/**
|
|
61879
|
+
* Fully qualified name of the value list parameter type `ValueListParameterConstant`
|
|
61880
|
+
*/
|
|
61881
|
+
RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterConstant";
|
|
61882
|
+
};
|
|
61883
|
+
|
|
61884
|
+
/**
|
|
61885
|
+
* An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterDisplayOnly ValueListParameterDisplayOnly}.
|
|
61886
|
+
*/
|
|
61887
|
+
type ValueListParameterDisplayOnly = {
|
|
61888
|
+
/**
|
|
61889
|
+
* An object containing the path to the property in the value list
|
|
61890
|
+
*/
|
|
61891
|
+
ValueListProperty: sap.ui.model.odata.ODataMetaModel.ValueListProperty;
|
|
61892
|
+
/**
|
|
61893
|
+
* Fully qualified name of the value list parameter type `ValueListParameterDisplayOnly`
|
|
61894
|
+
*/
|
|
61895
|
+
RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterDisplayOnly";
|
|
61896
|
+
};
|
|
61897
|
+
|
|
61898
|
+
/**
|
|
61899
|
+
* An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterIn ValueListParameterIn}.
|
|
61900
|
+
*/
|
|
61901
|
+
type ValueListParameterIn = {
|
|
61902
|
+
/**
|
|
61903
|
+
* An object containing the property path that is used to filter the value list with an `eq` comparison
|
|
61904
|
+
*/
|
|
61905
|
+
LocalDataProperty: sap.ui.model.odata.ODataMetaModel.PropertyPathExpression;
|
|
61906
|
+
/**
|
|
61907
|
+
* An object containing the path to the property in the value list
|
|
61908
|
+
*/
|
|
61909
|
+
ValueListProperty: sap.ui.model.odata.ODataMetaModel.ValueListProperty;
|
|
61910
|
+
/**
|
|
61911
|
+
* Fully qualified name of the value list parameter type `ValueListParameterIn`
|
|
61912
|
+
*/
|
|
61913
|
+
RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterIn";
|
|
61914
|
+
};
|
|
61915
|
+
|
|
61916
|
+
/**
|
|
61917
|
+
* An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterInOut ValueListParameterInOut}.
|
|
61918
|
+
*/
|
|
61919
|
+
type ValueListParameterInOut = {
|
|
61920
|
+
/**
|
|
61921
|
+
* An object containing the property path that is used to filter the value list with an `startswith` comparison
|
|
61922
|
+
* and filled from the picked value list item
|
|
61923
|
+
*/
|
|
61924
|
+
LocalDataProperty: sap.ui.model.odata.ODataMetaModel.PropertyPathExpression;
|
|
61925
|
+
/**
|
|
61926
|
+
* An object containing the path to the property in the value list
|
|
61927
|
+
*/
|
|
61928
|
+
ValueListProperty: sap.ui.model.odata.ODataMetaModel.ValueListProperty;
|
|
61929
|
+
/**
|
|
61930
|
+
* Fully qualified name of the value list parameter type `ValueListParameterInOut`
|
|
61931
|
+
*/
|
|
61932
|
+
RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterInOut";
|
|
61933
|
+
};
|
|
61934
|
+
|
|
61935
|
+
/**
|
|
61936
|
+
* An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterOut ValueListParameterOut}.
|
|
61937
|
+
*/
|
|
61938
|
+
type ValueListParameterOut = {
|
|
61939
|
+
/**
|
|
61940
|
+
* An object containing the path to the property that is filled from the response
|
|
61941
|
+
*/
|
|
61942
|
+
LocalDataProperty: sap.ui.model.odata.ODataMetaModel.PropertyPathExpression;
|
|
61943
|
+
/**
|
|
61944
|
+
* An object containing the path to the property in the value list
|
|
61945
|
+
*/
|
|
61946
|
+
ValueListProperty: sap.ui.model.odata.ODataMetaModel.ValueListProperty;
|
|
61947
|
+
/**
|
|
61948
|
+
* Fully qualified name of the value list parameter type `ValueListParameterOut`
|
|
61949
|
+
*/
|
|
61950
|
+
RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterOut";
|
|
61951
|
+
};
|
|
61952
|
+
|
|
61953
|
+
/**
|
|
61954
|
+
* An object representing a `ValueListProperty` of a {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameter ValueListParameter}.
|
|
61955
|
+
*/
|
|
61956
|
+
type ValueListProperty = {
|
|
61957
|
+
/**
|
|
61958
|
+
* The value of the `ValueListProperty`
|
|
61959
|
+
*/
|
|
61960
|
+
String: string;
|
|
61961
|
+
};
|
|
61962
|
+
|
|
61963
|
+
/**
|
|
61964
|
+
* An object describing the {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListType ValueListType}.
|
|
61965
|
+
*/
|
|
61966
|
+
type ValueListType = {
|
|
61967
|
+
/**
|
|
61968
|
+
* A `StringExpression` object representing the `Label` property
|
|
61969
|
+
*/
|
|
61970
|
+
Label?: sap.ui.model.odata.ODataMetaModel.StringExpression;
|
|
61971
|
+
/**
|
|
61972
|
+
* A `StringExpression` object representing the `CollectionPath` property
|
|
61973
|
+
*/
|
|
61974
|
+
CollectionPath: sap.ui.model.odata.ODataMetaModel.StringExpression;
|
|
61975
|
+
/**
|
|
61976
|
+
* A `StringExpression` object representing the `CollectionRoot` property
|
|
61977
|
+
*/
|
|
61978
|
+
CollectionRoot?: sap.ui.model.odata.ODataMetaModel.StringExpression;
|
|
61979
|
+
/**
|
|
61980
|
+
* A `BoolExpression` object representing the `DistinctValuesSupported` property
|
|
61981
|
+
*/
|
|
61982
|
+
DistinctValuesSupported: sap.ui.model.odata.ODataMetaModel.BoolExpression;
|
|
61983
|
+
/**
|
|
61984
|
+
* A `BoolExpression` object representing the `SearchSupported` property
|
|
61985
|
+
*/
|
|
61986
|
+
SearchSupported: sap.ui.model.odata.ODataMetaModel.BoolExpression;
|
|
61987
|
+
/**
|
|
61988
|
+
* The `PresentationVariantQualifier` property defines the identifier for an alternative representation
|
|
61989
|
+
* of the value help, e.g. as a bar chart
|
|
61990
|
+
*/
|
|
61991
|
+
PresentationVariantQualifier?: sap.ui.model.odata.ODataMetaModel.SimpleIdentifier;
|
|
61992
|
+
/**
|
|
61993
|
+
* The `SelectionVariantQualifier` property contains a combination of parameters and filters to query the
|
|
61994
|
+
* value help entity set
|
|
61995
|
+
*/
|
|
61996
|
+
SelectionVariantQualifier?: sap.ui.model.odata.ODataMetaModel.SimpleIdentifier;
|
|
61997
|
+
/**
|
|
61998
|
+
* An array of parameters used to construct the value list request and consume the response properties
|
|
61999
|
+
*/
|
|
62000
|
+
Parameters: sap.ui.model.odata.ODataMetaModel.ValueListParameter[];
|
|
62001
|
+
};
|
|
61383
62002
|
}
|
|
61384
62003
|
|
|
61385
62004
|
interface ODataAnnotations$FailedEventParameters {}
|
|
@@ -62550,9 +63169,9 @@ declare namespace sap {
|
|
|
62550
63169
|
*/
|
|
62551
63170
|
sMetadataURI: string,
|
|
62552
63171
|
/**
|
|
62553
|
-
*
|
|
63172
|
+
* map of parameters.
|
|
62554
63173
|
*/
|
|
62555
|
-
mParams
|
|
63174
|
+
mParams: {
|
|
62556
63175
|
/**
|
|
62557
63176
|
* request is per default async
|
|
62558
63177
|
*/
|
|
@@ -62574,6 +63193,11 @@ declare namespace sap {
|
|
|
62574
63193
|
* (optional) A valid cache key
|
|
62575
63194
|
*/
|
|
62576
63195
|
cacheKey?: string;
|
|
63196
|
+
/**
|
|
63197
|
+
* The metadata XML as string as provided in a back-end response; the `sMetadataURI` parameter is ignored
|
|
63198
|
+
* if this parameter is set, and there is no request for the metadata.
|
|
63199
|
+
*/
|
|
63200
|
+
metadata?: string;
|
|
62577
63201
|
}
|
|
62578
63202
|
);
|
|
62579
63203
|
|
|
@@ -63205,15 +63829,17 @@ declare namespace sap {
|
|
|
63205
63829
|
* in the map is the JSON object for the annotation. The map is empty if the property has no `com.sap.vocabularies.Common.v1.ValueList`
|
|
63206
63830
|
* annotations.
|
|
63207
63831
|
*
|
|
63208
|
-
* @returns
|
|
63209
|
-
* have been loaded
|
|
63832
|
+
* @returns A Promise that gets resolved into the value lists for the given context, as soon as the value
|
|
63833
|
+
* lists as well as the required model elements have been loaded
|
|
63210
63834
|
*/
|
|
63211
63835
|
getODataValueLists(
|
|
63212
63836
|
/**
|
|
63213
|
-
*
|
|
63837
|
+
* A model context for a structural property of an entity type or a complex type, as returned by {@link #getMetaContext getMetaContext}
|
|
63214
63838
|
*/
|
|
63215
63839
|
oPropertyContext: sap.ui.model.Context
|
|
63216
|
-
): Promise<
|
|
63840
|
+
): Promise<
|
|
63841
|
+
Record<string, sap.ui.model.odata.ODataMetaModel.ValueListType>
|
|
63842
|
+
>;
|
|
63217
63843
|
/**
|
|
63218
63844
|
* Returns a promise which is fulfilled once the meta model data is loaded and can be used.
|
|
63219
63845
|
*
|
|
@@ -64777,21 +65403,45 @@ declare namespace sap {
|
|
|
64777
65403
|
Put = "PUT",
|
|
64778
65404
|
}
|
|
64779
65405
|
|
|
64780
|
-
type ODataAnnotations$FailedEvent = sap.ui.base.Event<
|
|
65406
|
+
type ODataAnnotations$FailedEvent = sap.ui.base.Event<
|
|
65407
|
+
ODataAnnotations$FailedEventParameters,
|
|
65408
|
+
ODataAnnotations
|
|
65409
|
+
>;
|
|
64781
65410
|
|
|
64782
|
-
type ODataAnnotations$LoadedEvent = sap.ui.base.Event<
|
|
65411
|
+
type ODataAnnotations$LoadedEvent = sap.ui.base.Event<
|
|
65412
|
+
ODataAnnotations$LoadedEventParameters,
|
|
65413
|
+
ODataAnnotations
|
|
65414
|
+
>;
|
|
64783
65415
|
|
|
64784
|
-
type ODataMetadata$FailedEvent = sap.ui.base.Event<
|
|
65416
|
+
type ODataMetadata$FailedEvent = sap.ui.base.Event<
|
|
65417
|
+
ODataMetadata$FailedEventParameters,
|
|
65418
|
+
ODataMetadata
|
|
65419
|
+
>;
|
|
64785
65420
|
|
|
64786
|
-
type ODataMetadata$LoadedEvent = sap.ui.base.Event<
|
|
65421
|
+
type ODataMetadata$LoadedEvent = sap.ui.base.Event<
|
|
65422
|
+
ODataMetadata$LoadedEventParameters,
|
|
65423
|
+
ODataMetadata
|
|
65424
|
+
>;
|
|
64787
65425
|
|
|
64788
|
-
type ODataModel$AnnotationsFailedEvent = sap.ui.base.Event<
|
|
65426
|
+
type ODataModel$AnnotationsFailedEvent = sap.ui.base.Event<
|
|
65427
|
+
ODataModel$AnnotationsFailedEventParameters,
|
|
65428
|
+
ODataModel
|
|
65429
|
+
>;
|
|
64789
65430
|
|
|
64790
|
-
type ODataModel$AnnotationsLoadedEvent = sap.ui.base.Event<
|
|
65431
|
+
type ODataModel$AnnotationsLoadedEvent = sap.ui.base.Event<
|
|
65432
|
+
ODataModel$AnnotationsLoadedEventParameters,
|
|
65433
|
+
ODataModel
|
|
65434
|
+
>;
|
|
64791
65435
|
|
|
64792
|
-
type ODataModel$MetadataFailedEvent = sap.ui.base.Event<
|
|
65436
|
+
type ODataModel$MetadataFailedEvent = sap.ui.base.Event<
|
|
65437
|
+
ODataModel$MetadataFailedEventParameters,
|
|
65438
|
+
ODataModel
|
|
65439
|
+
>;
|
|
64793
65440
|
|
|
64794
|
-
type ODataModel$MetadataLoadedEvent = sap.ui.base.Event<
|
|
65441
|
+
type ODataModel$MetadataLoadedEvent = sap.ui.base.Event<
|
|
65442
|
+
ODataModel$MetadataLoadedEventParameters,
|
|
65443
|
+
ODataModel
|
|
65444
|
+
>;
|
|
64795
65445
|
}
|
|
64796
65446
|
/**
|
|
64797
65447
|
* ResourceBundle-based DataBinding
|
|
@@ -71645,29 +72295,65 @@ declare namespace sap {
|
|
|
71645
72295
|
Sequential = "Sequential",
|
|
71646
72296
|
}
|
|
71647
72297
|
|
|
71648
|
-
type Binding$AggregatedDataStateChangeEvent = sap.ui.base.Event<
|
|
71649
|
-
|
|
71650
|
-
|
|
71651
|
-
|
|
71652
|
-
|
|
71653
|
-
|
|
71654
|
-
|
|
71655
|
-
|
|
71656
|
-
|
|
71657
|
-
|
|
71658
|
-
type
|
|
71659
|
-
|
|
71660
|
-
|
|
71661
|
-
|
|
71662
|
-
|
|
71663
|
-
|
|
71664
|
-
|
|
71665
|
-
|
|
71666
|
-
|
|
71667
|
-
|
|
71668
|
-
type
|
|
71669
|
-
|
|
71670
|
-
|
|
72298
|
+
type Binding$AggregatedDataStateChangeEvent = sap.ui.base.Event<
|
|
72299
|
+
Binding$AggregatedDataStateChangeEventParameters,
|
|
72300
|
+
Binding
|
|
72301
|
+
>;
|
|
72302
|
+
|
|
72303
|
+
type Binding$ChangeEvent = sap.ui.base.Event<
|
|
72304
|
+
Binding$ChangeEventParameters,
|
|
72305
|
+
Binding
|
|
72306
|
+
>;
|
|
72307
|
+
|
|
72308
|
+
type Binding$DataReceivedEvent = sap.ui.base.Event<
|
|
72309
|
+
Binding$DataReceivedEventParameters,
|
|
72310
|
+
Binding
|
|
72311
|
+
>;
|
|
72312
|
+
|
|
72313
|
+
type Binding$DataRequestedEvent = sap.ui.base.Event<
|
|
72314
|
+
Binding$DataRequestedEventParameters,
|
|
72315
|
+
Binding
|
|
72316
|
+
>;
|
|
72317
|
+
|
|
72318
|
+
type Binding$DataStateChangeEvent = sap.ui.base.Event<
|
|
72319
|
+
Binding$DataStateChangeEventParameters,
|
|
72320
|
+
Binding
|
|
72321
|
+
>;
|
|
72322
|
+
|
|
72323
|
+
type ListBinding$FilterEvent = sap.ui.base.Event<
|
|
72324
|
+
ListBinding$FilterEventParameters,
|
|
72325
|
+
ListBinding
|
|
72326
|
+
>;
|
|
72327
|
+
|
|
72328
|
+
type ListBinding$SortEvent = sap.ui.base.Event<
|
|
72329
|
+
ListBinding$SortEventParameters,
|
|
72330
|
+
ListBinding
|
|
72331
|
+
>;
|
|
72332
|
+
|
|
72333
|
+
type Model$ParseErrorEvent = sap.ui.base.Event<
|
|
72334
|
+
Model$ParseErrorEventParameters,
|
|
72335
|
+
Model
|
|
72336
|
+
>;
|
|
72337
|
+
|
|
72338
|
+
type Model$PropertyChangeEvent = sap.ui.base.Event<
|
|
72339
|
+
Model$PropertyChangeEventParameters,
|
|
72340
|
+
Model
|
|
72341
|
+
>;
|
|
72342
|
+
|
|
72343
|
+
type Model$RequestCompletedEvent = sap.ui.base.Event<
|
|
72344
|
+
Model$RequestCompletedEventParameters,
|
|
72345
|
+
Model
|
|
72346
|
+
>;
|
|
72347
|
+
|
|
72348
|
+
type Model$RequestFailedEvent = sap.ui.base.Event<
|
|
72349
|
+
Model$RequestFailedEventParameters,
|
|
72350
|
+
Model
|
|
72351
|
+
>;
|
|
72352
|
+
|
|
72353
|
+
type Model$RequestSentEvent = sap.ui.base.Event<
|
|
72354
|
+
Model$RequestSentEventParameters,
|
|
72355
|
+
Model
|
|
72356
|
+
>;
|
|
71671
72357
|
}
|
|
71672
72358
|
|
|
71673
72359
|
namespace component {
|
|
@@ -78612,6 +79298,8 @@ declare namespace sap {
|
|
|
78612
79298
|
|
|
78613
79299
|
"sap/ui/core/LayoutData": undefined;
|
|
78614
79300
|
|
|
79301
|
+
"sap/ui/core/Lib": undefined;
|
|
79302
|
+
|
|
78615
79303
|
"sap/ui/core/library": undefined;
|
|
78616
79304
|
|
|
78617
79305
|
"sap/ui/core/ListItem": undefined;
|
|
@@ -78720,6 +79408,8 @@ declare namespace sap {
|
|
|
78720
79408
|
|
|
78721
79409
|
"sap/ui/core/theming/ThemeHelper": undefined;
|
|
78722
79410
|
|
|
79411
|
+
"sap/ui/core/theming/ThemeManager": undefined;
|
|
79412
|
+
|
|
78723
79413
|
"sap/ui/core/Title": undefined;
|
|
78724
79414
|
|
|
78725
79415
|
"sap/ui/core/tmpl/DOMAttribute": undefined;
|