@openui5/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.
@@ -280,7 +280,7 @@ declare namespace sap {
280
280
  }
281
281
  }
282
282
 
283
- // For Library Version: 1.116.0
283
+ // For Library Version: 1.117.1
284
284
 
285
285
  declare module "sap/base/assert" {
286
286
  /**
@@ -3137,7 +3137,8 @@ declare module "sap/ui/core/date/UI5Date" {
3137
3137
  */
3138
3138
  setYear(
3139
3139
  /**
3140
- * The year which is to be set for this date plus 1900
3140
+ * The year which is to be set for this date. If iYear is a number between 0 and 99 (inclusive), then the
3141
+ * year for this date is set to 1900 + iYear. Otherwise, the year for this date is set to iYear.
3141
3142
  */
3142
3143
  iYear: int
3143
3144
  ): int;
@@ -5473,12 +5474,12 @@ declare module "sap/ui/base/DataType" {
5473
5474
  }
5474
5475
 
5475
5476
  declare module "sap/ui/base/Event" {
5477
+ import EventProvider from "sap/ui/base/EventProvider";
5478
+
5476
5479
  import BaseObject from "sap/ui/base/Object";
5477
5480
 
5478
5481
  import { Poolable } from "sap/ui/base/ObjectPool";
5479
5482
 
5480
- import EventProvider from "sap/ui/base/EventProvider";
5481
-
5482
5483
  import Metadata from "sap/ui/base/Metadata";
5483
5484
 
5484
5485
  /**
@@ -5486,7 +5487,10 @@ declare module "sap/ui/base/Event" {
5486
5487
  * and therefore an event object in the event handler will be reset by {@link sap.ui.base.ObjectPool} after
5487
5488
  * the event handler is done.
5488
5489
  */
5489
- export default class Event<ParamsType extends Record<string, any> = object>
5490
+ export default class Event<
5491
+ ParamsType extends Record<string, any> = object,
5492
+ SourceType extends EventProvider = EventProvider
5493
+ >
5490
5494
  extends BaseObject
5491
5495
  implements Poolable {
5492
5496
  __implements__sap_ui_base_Poolable: boolean;
@@ -5501,7 +5505,7 @@ declare module "sap/ui/base/Event" {
5501
5505
  /**
5502
5506
  * Source of the event
5503
5507
  */
5504
- oSource: EventProvider,
5508
+ oSource: SourceType,
5505
5509
  /**
5506
5510
  * Parameters for this event
5507
5511
  */
@@ -5571,7 +5575,7 @@ declare module "sap/ui/base/Event" {
5571
5575
  *
5572
5576
  * @returns The source of the event
5573
5577
  */
5574
- getSource(): EventProvider;
5578
+ getSource<T extends SourceType>(): T;
5575
5579
  /**
5576
5580
  * @ui5-protected Do not call from applications (only from related classes in the framework)
5577
5581
  *
@@ -5591,7 +5595,7 @@ declare module "sap/ui/base/Event" {
5591
5595
  /**
5592
5596
  * Source of the event
5593
5597
  */
5594
- oSource: EventProvider,
5598
+ oSource: SourceType,
5595
5599
  /**
5596
5600
  * The event parameters
5597
5601
  */
@@ -8502,11 +8506,17 @@ declare module "sap/ui/base/ManagedObject" {
8502
8506
  oldValue?: any;
8503
8507
  }
8504
8508
 
8505
- export type ManagedObject$FormatErrorEvent = Event<ManagedObject$FormatErrorEventParameters>;
8509
+ export type ManagedObject$FormatErrorEvent = Event<
8510
+ ManagedObject$FormatErrorEventParameters,
8511
+ ManagedObject
8512
+ >;
8506
8513
 
8507
8514
  export interface ManagedObject$ModelContextChangeEventParameters {}
8508
8515
 
8509
- export type ManagedObject$ModelContextChangeEvent = Event<ManagedObject$ModelContextChangeEventParameters>;
8516
+ export type ManagedObject$ModelContextChangeEvent = Event<
8517
+ ManagedObject$ModelContextChangeEventParameters,
8518
+ ManagedObject
8519
+ >;
8510
8520
 
8511
8521
  export interface ManagedObject$ParseErrorEventParameters {
8512
8522
  /**
@@ -8540,7 +8550,10 @@ declare module "sap/ui/base/ManagedObject" {
8540
8550
  message?: string;
8541
8551
  }
8542
8552
 
8543
- export type ManagedObject$ParseErrorEvent = Event<ManagedObject$ParseErrorEventParameters>;
8553
+ export type ManagedObject$ParseErrorEvent = Event<
8554
+ ManagedObject$ParseErrorEventParameters,
8555
+ ManagedObject
8556
+ >;
8544
8557
 
8545
8558
  export interface ManagedObject$ValidationErrorEventParameters {
8546
8559
  /**
@@ -8574,7 +8587,10 @@ declare module "sap/ui/base/ManagedObject" {
8574
8587
  message?: string;
8575
8588
  }
8576
8589
 
8577
- export type ManagedObject$ValidationErrorEvent = Event<ManagedObject$ValidationErrorEventParameters>;
8590
+ export type ManagedObject$ValidationErrorEvent = Event<
8591
+ ManagedObject$ValidationErrorEventParameters,
8592
+ ManagedObject
8593
+ >;
8578
8594
 
8579
8595
  export interface ManagedObject$ValidationSuccessEventParameters {
8580
8596
  /**
@@ -8606,7 +8622,10 @@ declare module "sap/ui/base/ManagedObject" {
8606
8622
  oldValue?: any;
8607
8623
  }
8608
8624
 
8609
- export type ManagedObject$ValidationSuccessEvent = Event<ManagedObject$ValidationSuccessEventParameters>;
8625
+ export type ManagedObject$ValidationSuccessEvent = Event<
8626
+ ManagedObject$ValidationSuccessEventParameters,
8627
+ ManagedObject
8628
+ >;
8610
8629
 
8611
8630
  export namespace MetadataOptions {
8612
8631
  /**
@@ -10939,7 +10958,6 @@ declare module "sap/ui/core/library" {
10939
10958
 
10940
10959
  /**
10941
10960
  * @since 1.86.0
10942
- * @experimental (since 1.86)
10943
10961
  *
10944
10962
  * Marker interface for controls that can be used as content of `sap.ui.layout.form.SemanticFormElement`.
10945
10963
  *
@@ -10954,7 +10972,6 @@ declare module "sap/ui/core/library" {
10954
10972
 
10955
10973
  /**
10956
10974
  * @since 1.86.0
10957
- * @experimental (since 1.86)
10958
10975
  *
10959
10976
  * Returns the formatted value of a control used in a `SemanticFormElement`.
10960
10977
  *
@@ -10969,9 +10986,36 @@ declare module "sap/ui/core/library" {
10969
10986
  * @returns Formatted value or a `Promise` returning the formatted value if resolved
10970
10987
  */
10971
10988
  getFormFormattedValue?(): string | Promise<string>;
10989
+ /**
10990
+ * @since 1.117.0
10991
+ *
10992
+ * Returns the names of the properties of a control that might update the rendering in a `SemanticFormElement`.
10993
+ *
10994
+ * In the `SemanticFormElement` element, the assigned fields are rendered in edit mode. In display mode,
10995
+ * depending on `getFormRenderAsControl`, either a text is rendered, which concatenates the values of all
10996
+ * assigned fields, or the control is rendered. So if a property of the control changes that might lead
10997
+ * to a different rendering (some controls have a special rendering in display mode), the `SemanticFormElement`
10998
+ * needs to check the rendering.
10999
+ *
11000
+ * This is an optional method. If not defined, no check for updates (only for property defined in `getFormValueProperty`)
11001
+ * is done once the control has been assigned.
11002
+ *
11003
+ * @returns Name of the properties
11004
+ */
11005
+ getFormObservingProperties?(): string[];
11006
+ /**
11007
+ * @since 1.117.0
11008
+ *
11009
+ * If set to `true`, the `SemanticFormElement` also renders the control in display mode, if the used `FormLayout`
11010
+ * supports this.
11011
+ *
11012
+ * This is an optional method. If not defined, just the text is rendered.
11013
+ *
11014
+ * @returns Name of the value-holding property
11015
+ */
11016
+ getFormRenderAsControl?(): string;
10972
11017
  /**
10973
11018
  * @since 1.86.0
10974
- * @experimental (since 1.86)
10975
11019
  *
10976
11020
  * Returns the name of the value-holding property of a control used in a `SemanticFormElement`.
10977
11021
  *
@@ -12023,7 +12067,10 @@ declare module "sap/ui/core/CommandExecution" {
12023
12067
 
12024
12068
  export interface CommandExecution$ExecuteEventParameters {}
12025
12069
 
12026
- export type CommandExecution$ExecuteEvent = Event<CommandExecution$ExecuteEventParameters>;
12070
+ export type CommandExecution$ExecuteEvent = Event<
12071
+ CommandExecution$ExecuteEventParameters,
12072
+ CommandExecution
12073
+ >;
12027
12074
  }
12028
12075
 
12029
12076
  declare module "sap/ui/core/Component" {
@@ -13637,7 +13684,10 @@ declare module "sap/ui/core/ComponentContainer" {
13637
13684
  component?: UIComponent;
13638
13685
  }
13639
13686
 
13640
- export type ComponentContainer$ComponentCreatedEvent = Event<ComponentContainer$ComponentCreatedEventParameters>;
13687
+ export type ComponentContainer$ComponentCreatedEvent = Event<
13688
+ ComponentContainer$ComponentCreatedEventParameters,
13689
+ ComponentContainer
13690
+ >;
13641
13691
 
13642
13692
  export interface ComponentContainer$ComponentFailedEventParameters {
13643
13693
  /**
@@ -13646,7 +13696,10 @@ declare module "sap/ui/core/ComponentContainer" {
13646
13696
  reason?: object;
13647
13697
  }
13648
13698
 
13649
- export type ComponentContainer$ComponentFailedEvent = Event<ComponentContainer$ComponentFailedEventParameters>;
13699
+ export type ComponentContainer$ComponentFailedEvent = Event<
13700
+ ComponentContainer$ComponentFailedEventParameters,
13701
+ ComponentContainer
13702
+ >;
13650
13703
  }
13651
13704
 
13652
13705
  declare module "sap/ui/core/ComponentMetadata" {
@@ -14575,7 +14628,7 @@ declare module "sap/ui/core/Configuration" {
14575
14628
  /**
14576
14629
  * The date style (short, medium, long or full)
14577
14630
  */
14578
- sStyle: string
14631
+ sStyle: "short" | "medium" | "long" | "full"
14579
14632
  ): string;
14580
14633
  /**
14581
14634
  * Returns the locale to be used for formatting.
@@ -14652,7 +14705,7 @@ declare module "sap/ui/core/Configuration" {
14652
14705
  /**
14653
14706
  * The time style (short, medium, long or full)
14654
14707
  */
14655
- sStyle: string
14708
+ sStyle: "short" | "medium" | "long" | "full"
14656
14709
  ): string;
14657
14710
  /**
14658
14711
  * @since 1.75.0
@@ -15770,7 +15823,10 @@ declare module "sap/ui/core/Control" {
15770
15823
  fieldGroupIds?: string[];
15771
15824
  }
15772
15825
 
15773
- export type Control$ValidateFieldGroupEvent = Event<Control$ValidateFieldGroupEventParameters>;
15826
+ export type Control$ValidateFieldGroupEvent = Event<
15827
+ Control$ValidateFieldGroupEventParameters,
15828
+ Control
15829
+ >;
15774
15830
  }
15775
15831
 
15776
15832
  declare module "sap/ui/core/ElementMetadata" {
@@ -15918,26 +15974,6 @@ declare module "sap/ui/core/Core" {
15918
15974
  * ```
15919
15975
  */
15920
15976
  interface Core {
15921
- /**
15922
- * Returns true, if the styles of the current theme are already applied, false otherwise.
15923
- *
15924
- * This function must not be used before the init event of the Core. If the styles are not yet applied a
15925
- * theme changed event will follow when the styles will be applied.
15926
- */
15927
- isThemeApplied: undefined;
15928
-
15929
- /**
15930
- * Triggers a realignment of controls
15931
- *
15932
- * This method should be called after changing the cozy/compact CSS class of a DOM element at runtime, for
15933
- * example at the `<body>` tag. Controls can listen to the themeChanged event to realign their appearance
15934
- * after changing the theme. Changing the cozy/compact CSS class should then also be handled as a theme
15935
- * change. In more simple scenarios where the cozy/compact CSS class is added to a DOM element which contains
15936
- * only a few controls it might not be necessary to trigger the realigment of all controls placed in the
15937
- * DOM, for example changing the cozy/compact CSS class at a single control
15938
- */
15939
- notifyContentDensityChanged: undefined;
15940
-
15941
15977
  /**
15942
15978
  * Creates a new subclass of class sap.ui.core.Core with name `sClassName` and enriches it with the information
15943
15979
  * contained in `oClassInfo`.
@@ -17031,6 +17067,15 @@ declare module "sap/ui/core/Core" {
17031
17067
  */
17032
17068
  oDomRef: Element
17033
17069
  ): boolean;
17070
+ /**
17071
+ * Returns true, if the styles of the current theme are already applied, false otherwise.
17072
+ *
17073
+ * This function must not be used before the init event of the Core. If the styles are not yet applied a
17074
+ * theme changed event will follow when the styles will be applied.
17075
+ *
17076
+ * @returns whether the styles of the current theme are already applied
17077
+ */
17078
+ isThemeApplied(): boolean;
17034
17079
  /**
17035
17080
  * Loads the given library and its dependencies and makes its content available to the application.
17036
17081
  *
@@ -17129,6 +17174,17 @@ declare module "sap/ui/core/Core" {
17129
17174
  * be the case for asynchronous UI behavior
17130
17175
  */
17131
17176
  lock(): void;
17177
+ /**
17178
+ * Triggers a realignment of controls
17179
+ *
17180
+ * This method should be called after changing the cozy/compact CSS class of a DOM element at runtime, for
17181
+ * example at the `<body>` tag. Controls can listen to the themeChanged event to realign their appearance
17182
+ * after changing the theme. Changing the cozy/compact CSS class should then also be handled as a theme
17183
+ * change. In more simple scenarios where the cozy/compact CSS class is added to a DOM element which contains
17184
+ * only a few controls it might not be necessary to trigger the realigment of all controls placed in the
17185
+ * DOM, for example changing the cozy/compact CSS class at a single control
17186
+ */
17187
+ notifyContentDensityChanged(): void;
17132
17188
  /**
17133
17189
  * @deprecated (since 1.73) - Plugins never have been meant as a public offering, but were intended for
17134
17190
  * internal usage only. They unfortunately allow access to all internals of the Core and therefore break
@@ -17962,23 +18018,38 @@ declare module "sap/ui/core/delegate/ItemNavigation" {
17962
18018
 
17963
18019
  export interface ItemNavigation$AfterFocusEventParameters {}
17964
18020
 
17965
- export type ItemNavigation$AfterFocusEvent = Event<ItemNavigation$AfterFocusEventParameters>;
18021
+ export type ItemNavigation$AfterFocusEvent = Event<
18022
+ ItemNavigation$AfterFocusEventParameters,
18023
+ ItemNavigation
18024
+ >;
17966
18025
 
17967
18026
  export interface ItemNavigation$BeforeFocusEventParameters {}
17968
18027
 
17969
- export type ItemNavigation$BeforeFocusEvent = Event<ItemNavigation$BeforeFocusEventParameters>;
18028
+ export type ItemNavigation$BeforeFocusEvent = Event<
18029
+ ItemNavigation$BeforeFocusEventParameters,
18030
+ ItemNavigation
18031
+ >;
17970
18032
 
17971
18033
  export interface ItemNavigation$BorderReachedEventParameters {}
17972
18034
 
17973
- export type ItemNavigation$BorderReachedEvent = Event<ItemNavigation$BorderReachedEventParameters>;
18035
+ export type ItemNavigation$BorderReachedEvent = Event<
18036
+ ItemNavigation$BorderReachedEventParameters,
18037
+ ItemNavigation
18038
+ >;
17974
18039
 
17975
18040
  export interface ItemNavigation$FocusAgainEventParameters {}
17976
18041
 
17977
- export type ItemNavigation$FocusAgainEvent = Event<ItemNavigation$FocusAgainEventParameters>;
18042
+ export type ItemNavigation$FocusAgainEvent = Event<
18043
+ ItemNavigation$FocusAgainEventParameters,
18044
+ ItemNavigation
18045
+ >;
17978
18046
 
17979
18047
  export interface ItemNavigation$FocusLeaveEventParameters {}
17980
18048
 
17981
- export type ItemNavigation$FocusLeaveEvent = Event<ItemNavigation$FocusLeaveEventParameters>;
18049
+ export type ItemNavigation$FocusLeaveEvent = Event<
18050
+ ItemNavigation$FocusLeaveEventParameters,
18051
+ ItemNavigation
18052
+ >;
17982
18053
  }
17983
18054
 
17984
18055
  declare module "sap/ui/core/delegate/ScrollEnablement" {
@@ -18769,7 +18840,10 @@ declare module "sap/ui/core/dnd/DragDropInfo" {
18769
18840
 
18770
18841
  export interface DragDropInfo$DragEndEventParameters {}
18771
18842
 
18772
- export type DragDropInfo$DragEndEvent = Event<DragDropInfo$DragEndEventParameters>;
18843
+ export type DragDropInfo$DragEndEvent = Event<
18844
+ DragDropInfo$DragEndEventParameters,
18845
+ DragDropInfo
18846
+ >;
18773
18847
 
18774
18848
  export interface DragDropInfo$DragStartEventParameters {
18775
18849
  /**
@@ -18788,7 +18862,10 @@ declare module "sap/ui/core/dnd/DragDropInfo" {
18788
18862
  browserEvent?: Event;
18789
18863
  }
18790
18864
 
18791
- export type DragDropInfo$DragStartEvent = Event<DragDropInfo$DragStartEventParameters>;
18865
+ export type DragDropInfo$DragStartEvent = Event<
18866
+ DragDropInfo$DragStartEventParameters,
18867
+ DragDropInfo
18868
+ >;
18792
18869
  }
18793
18870
 
18794
18871
  declare module "sap/ui/core/dnd/DragInfo" {
@@ -19103,7 +19180,10 @@ declare module "sap/ui/core/dnd/DragInfo" {
19103
19180
  browserEvent?: Event;
19104
19181
  }
19105
19182
 
19106
- export type DragInfo$DragEndEvent = Event<DragInfo$DragEndEventParameters>;
19183
+ export type DragInfo$DragEndEvent = Event<
19184
+ DragInfo$DragEndEventParameters,
19185
+ DragInfo
19186
+ >;
19107
19187
 
19108
19188
  export interface DragInfo$DragStartEventParameters {
19109
19189
  /**
@@ -19122,7 +19202,10 @@ declare module "sap/ui/core/dnd/DragInfo" {
19122
19202
  browserEvent?: Event;
19123
19203
  }
19124
19204
 
19125
- export type DragInfo$DragStartEvent = Event<DragInfo$DragStartEventParameters>;
19205
+ export type DragInfo$DragStartEvent = Event<
19206
+ DragInfo$DragStartEventParameters,
19207
+ DragInfo
19208
+ >;
19126
19209
  }
19127
19210
 
19128
19211
  declare module "sap/ui/core/dnd/DragAndDrop" {
@@ -19773,7 +19856,10 @@ declare module "sap/ui/core/dnd/DropInfo" {
19773
19856
  browserEvent?: Event;
19774
19857
  }
19775
19858
 
19776
- export type DropInfo$DragEnterEvent = Event<DropInfo$DragEnterEventParameters>;
19859
+ export type DropInfo$DragEnterEvent = Event<
19860
+ DropInfo$DragEnterEventParameters,
19861
+ DropInfo
19862
+ >;
19777
19863
 
19778
19864
  export interface DropInfo$DragOverEventParameters {
19779
19865
  /**
@@ -19799,7 +19885,10 @@ declare module "sap/ui/core/dnd/DropInfo" {
19799
19885
  browserEvent?: Event;
19800
19886
  }
19801
19887
 
19802
- export type DropInfo$DragOverEvent = Event<DropInfo$DragOverEventParameters>;
19888
+ export type DropInfo$DragOverEvent = Event<
19889
+ DropInfo$DragOverEventParameters,
19890
+ DropInfo
19891
+ >;
19803
19892
 
19804
19893
  export interface DropInfo$DropEventParameters {
19805
19894
  /**
@@ -19830,7 +19919,10 @@ declare module "sap/ui/core/dnd/DropInfo" {
19830
19919
  browserEvent?: Event;
19831
19920
  }
19832
19921
 
19833
- export type DropInfo$DropEvent = Event<DropInfo$DropEventParameters>;
19922
+ export type DropInfo$DropEvent = Event<
19923
+ DropInfo$DropEventParameters,
19924
+ DropInfo
19925
+ >;
19834
19926
  }
19835
19927
 
19836
19928
  declare module "sap/ui/core/Element" {
@@ -23937,7 +24029,10 @@ declare module "sap/ui/core/HTML" {
23937
24029
  isPreservedDOM?: boolean;
23938
24030
  }
23939
24031
 
23940
- export type HTML$AfterRenderingEvent = Event<HTML$AfterRenderingEventParameters>;
24032
+ export type HTML$AfterRenderingEvent = Event<
24033
+ HTML$AfterRenderingEventParameters,
24034
+ HTML
24035
+ >;
23941
24036
  }
23942
24037
 
23943
24038
  declare module "sap/ui/core/hyphenation/Hyphenation" {
@@ -24212,7 +24307,10 @@ declare module "sap/ui/core/hyphenation/Hyphenation" {
24212
24307
  sErrorMessage?: string;
24213
24308
  }
24214
24309
 
24215
- export type Hyphenation$ErrorEvent = Event<Hyphenation$ErrorEventParameters>;
24310
+ export type Hyphenation$ErrorEvent = Event<
24311
+ Hyphenation$ErrorEventParameters,
24312
+ Hyphenation
24313
+ >;
24216
24314
  }
24217
24315
 
24218
24316
  declare module "sap/ui/core/Icon" {
@@ -24948,7 +25046,7 @@ declare module "sap/ui/core/Icon" {
24948
25046
 
24949
25047
  export interface Icon$PressEventParameters {}
24950
25048
 
24951
- export type Icon$PressEvent = Event<Icon$PressEventParameters>;
25049
+ export type Icon$PressEvent = Event<Icon$PressEventParameters, Icon>;
24952
25050
  }
24953
25051
 
24954
25052
  declare module "sap/ui/core/IconPool" {
@@ -28715,7 +28813,10 @@ declare module "sap/ui/core/message/MessageProcessor" {
28715
28813
  newMessages?: Message;
28716
28814
  }
28717
28815
 
28718
- export type MessageProcessor$MessageChangeEvent = Event<MessageProcessor$MessageChangeEventParameters>;
28816
+ export type MessageProcessor$MessageChangeEvent = Event<
28817
+ MessageProcessor$MessageChangeEventParameters,
28818
+ MessageProcessor
28819
+ >;
28719
28820
  }
28720
28821
 
28721
28822
  declare module "sap/ui/core/mvc/Controller" {
@@ -30737,19 +30838,28 @@ declare module "sap/ui/core/mvc/View" {
30737
30838
 
30738
30839
  export interface View$AfterInitEventParameters {}
30739
30840
 
30740
- export type View$AfterInitEvent = Event<View$AfterInitEventParameters>;
30841
+ export type View$AfterInitEvent = Event<View$AfterInitEventParameters, View>;
30741
30842
 
30742
30843
  export interface View$AfterRenderingEventParameters {}
30743
30844
 
30744
- export type View$AfterRenderingEvent = Event<View$AfterRenderingEventParameters>;
30845
+ export type View$AfterRenderingEvent = Event<
30846
+ View$AfterRenderingEventParameters,
30847
+ View
30848
+ >;
30745
30849
 
30746
30850
  export interface View$BeforeExitEventParameters {}
30747
30851
 
30748
- export type View$BeforeExitEvent = Event<View$BeforeExitEventParameters>;
30852
+ export type View$BeforeExitEvent = Event<
30853
+ View$BeforeExitEventParameters,
30854
+ View
30855
+ >;
30749
30856
 
30750
30857
  export interface View$BeforeRenderingEventParameters {}
30751
30858
 
30752
- export type View$BeforeRenderingEvent = Event<View$BeforeRenderingEventParameters>;
30859
+ export type View$BeforeRenderingEvent = Event<
30860
+ View$BeforeRenderingEventParameters,
30861
+ View
30862
+ >;
30753
30863
 
30754
30864
  export namespace Preprocessor {
30755
30865
  /**
@@ -31162,22 +31272,6 @@ declare module "sap/ui/core/Popup" {
31162
31272
  * or `modal` is enabled. E.g. the `RichTextEditor` with running TinyMCE uses this method to be able to
31163
31273
  * focus the popups of the TinyMCE if the `RichTextEditor` runs within a `Popup`/`Dialog` etc.
31164
31274
  *
31165
- * To provide an additional DOM element that can get the focus the following should be done:
31166
- * ```javascript
31167
- *
31168
- * // create an object with the corresponding DOM-ID
31169
- * var oObject = {
31170
- * id : "this_is_the_most_valuable_id_of_the_DOM_element"
31171
- * };
31172
- *
31173
- * // add the event prefix for adding an element to the ID of the corresponding Popup
31174
- * var sEventId = "sap.ui.core.Popup.addFocusableContent-" + oPopup.getId();
31175
- *
31176
- * // fire the event with the created event-ID and the object with the DOM-ID
31177
- * sap.ui.getCore().getEventBus().publish("sap.ui", sEventId, oObject);
31178
- * ```
31179
- *
31180
- *
31181
31275
  * **Since 1.75**, DOM elements which have the attribute `data-sap-ui-integration-popup-content` are considered
31182
31276
  * to be part of all opened popups. Those DOM elements can get the focus without causing the autoclose popup
31183
31277
  * to be closed or the modal popup to take the focus back to itself. Additionally, a further DOM query selector
@@ -31998,15 +32092,18 @@ declare module "sap/ui/core/Popup" {
31998
32092
  zIndex?: number;
31999
32093
  }
32000
32094
 
32001
- export type Popup$BlockLayerStateChangeEvent = Event<Popup$BlockLayerStateChangeEventParameters>;
32095
+ export type Popup$BlockLayerStateChangeEvent = Event<
32096
+ Popup$BlockLayerStateChangeEventParameters,
32097
+ Popup
32098
+ >;
32002
32099
 
32003
32100
  export interface Popup$ClosedEventParameters {}
32004
32101
 
32005
- export type Popup$ClosedEvent = Event<Popup$ClosedEventParameters>;
32102
+ export type Popup$ClosedEvent = Event<Popup$ClosedEventParameters, Popup>;
32006
32103
 
32007
32104
  export interface Popup$OpenedEventParameters {}
32008
32105
 
32009
- export type Popup$OpenedEvent = Event<Popup$OpenedEventParameters>;
32106
+ export type Popup$OpenedEvent = Event<Popup$OpenedEventParameters, Popup>;
32010
32107
  }
32011
32108
 
32012
32109
  declare module "sap/ui/core/Renderer" {
@@ -33789,7 +33886,10 @@ declare module "sap/ui/core/routing/Route" {
33789
33886
  nestedRoute?: Route;
33790
33887
  }
33791
33888
 
33792
- export type Route$BeforeMatchedEvent = Event<Route$BeforeMatchedEventParameters>;
33889
+ export type Route$BeforeMatchedEvent = Event<
33890
+ Route$BeforeMatchedEventParameters,
33891
+ Route
33892
+ >;
33793
33893
 
33794
33894
  export interface Route$MatchedEventParameters {
33795
33895
  /**
@@ -33839,7 +33939,7 @@ declare module "sap/ui/core/routing/Route" {
33839
33939
  targetControls?: Control[];
33840
33940
  }
33841
33941
 
33842
- export type Route$MatchedEvent = Event<Route$MatchedEventParameters>;
33942
+ export type Route$MatchedEvent = Event<Route$MatchedEventParameters, Route>;
33843
33943
 
33844
33944
  export interface Route$PatternMatchedEventParameters {
33845
33945
  /**
@@ -33881,7 +33981,10 @@ declare module "sap/ui/core/routing/Route" {
33881
33981
  targetControls?: Control[];
33882
33982
  }
33883
33983
 
33884
- export type Route$PatternMatchedEvent = Event<Route$PatternMatchedEventParameters>;
33984
+ export type Route$PatternMatchedEvent = Event<
33985
+ Route$PatternMatchedEventParameters,
33986
+ Route
33987
+ >;
33885
33988
 
33886
33989
  export interface Route$SwitchedEventParameters {
33887
33990
  /**
@@ -33901,7 +34004,7 @@ declare module "sap/ui/core/routing/Route" {
33901
34004
  config?: object;
33902
34005
  }
33903
34006
 
33904
- export type Route$SwitchedEvent = Event<Route$SwitchedEventParameters>;
34007
+ export type Route$SwitchedEvent = Event<Route$SwitchedEventParameters, Route>;
33905
34008
  }
33906
34009
 
33907
34010
  declare module "sap/ui/core/routing/Target" {
@@ -34347,7 +34450,10 @@ declare module "sap/ui/core/routing/Target" {
34347
34450
  routeRelevant?: object;
34348
34451
  }
34349
34452
 
34350
- export type Target$DisplayEvent = Event<Target$DisplayEventParameters>;
34453
+ export type Target$DisplayEvent = Event<
34454
+ Target$DisplayEventParameters,
34455
+ Target
34456
+ >;
34351
34457
  }
34352
34458
 
34353
34459
  declare module "sap/ui/core/routing/HashChanger" {
@@ -34546,7 +34652,10 @@ declare module "sap/ui/core/routing/HashChanger" {
34546
34652
  hash?: string;
34547
34653
  }
34548
34654
 
34549
- export type HashChanger$HashSetEvent = Event<HashChanger$HashSetEventParameters>;
34655
+ export type HashChanger$HashSetEvent = Event<
34656
+ HashChanger$HashSetEventParameters,
34657
+ HashChanger
34658
+ >;
34550
34659
  }
34551
34660
 
34552
34661
  declare module "sap/ui/core/routing/HashChangerBase" {
@@ -34658,7 +34767,10 @@ declare module "sap/ui/core/routing/HashChangerBase" {
34658
34767
  fullHash?: string;
34659
34768
  }
34660
34769
 
34661
- export type HashChangerBase$HashChangedEvent = Event<HashChangerBase$HashChangedEventParameters>;
34770
+ export type HashChangerBase$HashChangedEvent = Event<
34771
+ HashChangerBase$HashChangedEventParameters,
34772
+ HashChangerBase
34773
+ >;
34662
34774
 
34663
34775
  export interface HashChangerBase$HashReplacedEventParameters {
34664
34776
  /**
@@ -34667,7 +34779,10 @@ declare module "sap/ui/core/routing/HashChangerBase" {
34667
34779
  hash?: string;
34668
34780
  }
34669
34781
 
34670
- export type HashChangerBase$HashReplacedEvent = Event<HashChangerBase$HashReplacedEventParameters>;
34782
+ export type HashChangerBase$HashReplacedEvent = Event<
34783
+ HashChangerBase$HashReplacedEventParameters,
34784
+ HashChangerBase
34785
+ >;
34671
34786
  }
34672
34787
 
34673
34788
  declare module "sap/ui/core/routing/History" {
@@ -35873,7 +35988,10 @@ declare module "sap/ui/core/routing/Router" {
35873
35988
  nestedRoute?: Route;
35874
35989
  }
35875
35990
 
35876
- export type Router$BeforeRouteMatchedEvent = Event<Router$BeforeRouteMatchedEventParameters>;
35991
+ export type Router$BeforeRouteMatchedEvent = Event<
35992
+ Router$BeforeRouteMatchedEventParameters,
35993
+ Router
35994
+ >;
35877
35995
 
35878
35996
  export interface Router$BypassedEventParameters {
35879
35997
  /**
@@ -35882,7 +36000,10 @@ declare module "sap/ui/core/routing/Router" {
35882
36000
  hash?: string;
35883
36001
  }
35884
36002
 
35885
- export type Router$BypassedEvent = Event<Router$BypassedEventParameters>;
36003
+ export type Router$BypassedEvent = Event<
36004
+ Router$BypassedEventParameters,
36005
+ Router
36006
+ >;
35886
36007
 
35887
36008
  export interface Router$RouteMatchedEventParameters {
35888
36009
  /**
@@ -35932,7 +36053,10 @@ declare module "sap/ui/core/routing/Router" {
35932
36053
  targetControls?: Control[];
35933
36054
  }
35934
36055
 
35935
- export type Router$RouteMatchedEvent = Event<Router$RouteMatchedEventParameters>;
36056
+ export type Router$RouteMatchedEvent = Event<
36057
+ Router$RouteMatchedEventParameters,
36058
+ Router
36059
+ >;
35936
36060
 
35937
36061
  export interface Router$RoutePatternMatchedEventParameters {
35938
36062
  /**
@@ -35974,7 +36098,10 @@ declare module "sap/ui/core/routing/Router" {
35974
36098
  targetControls?: Control[];
35975
36099
  }
35976
36100
 
35977
- export type Router$RoutePatternMatchedEvent = Event<Router$RoutePatternMatchedEventParameters>;
36101
+ export type Router$RoutePatternMatchedEvent = Event<
36102
+ Router$RoutePatternMatchedEventParameters,
36103
+ Router
36104
+ >;
35978
36105
 
35979
36106
  export interface Router$TitleChangedEventParameters {
35980
36107
  /**
@@ -36002,7 +36129,10 @@ declare module "sap/ui/core/routing/Router" {
36002
36129
  propagated?: boolean;
36003
36130
  }
36004
36131
 
36005
- export type Router$TitleChangedEvent = Event<Router$TitleChangedEventParameters>;
36132
+ export type Router$TitleChangedEvent = Event<
36133
+ Router$TitleChangedEventParameters,
36134
+ Router
36135
+ >;
36006
36136
  }
36007
36137
 
36008
36138
  declare module "sap/ui/core/routing/RouterHashChanger" {
@@ -36590,7 +36720,10 @@ declare module "sap/ui/core/routing/Targets" {
36590
36720
  routeRelevant?: object;
36591
36721
  }
36592
36722
 
36593
- export type Targets$DisplayEvent = Event<Targets$DisplayEventParameters>;
36723
+ export type Targets$DisplayEvent = Event<
36724
+ Targets$DisplayEventParameters,
36725
+ Targets
36726
+ >;
36594
36727
 
36595
36728
  export interface Targets$TitleChangedEventParameters {
36596
36729
  /**
@@ -36604,7 +36737,10 @@ declare module "sap/ui/core/routing/Targets" {
36604
36737
  name?: string;
36605
36738
  }
36606
36739
 
36607
- export type Targets$TitleChangedEvent = Event<Targets$TitleChangedEventParameters>;
36740
+ export type Targets$TitleChangedEvent = Event<
36741
+ Targets$TitleChangedEventParameters,
36742
+ Targets
36743
+ >;
36608
36744
  }
36609
36745
 
36610
36746
  declare module "sap/ui/core/routing/Views" {
@@ -36740,7 +36876,7 @@ declare module "sap/ui/core/routing/Views" {
36740
36876
  viewOptions?: object;
36741
36877
  }
36742
36878
 
36743
- export type Views$CreatedEvent = Event<Views$CreatedEventParameters>;
36879
+ export type Views$CreatedEvent = Event<Views$CreatedEventParameters, Views>;
36744
36880
  }
36745
36881
 
36746
36882
  declare module "sap/ui/core/ScrollBar" {
@@ -37099,7 +37235,10 @@ declare module "sap/ui/core/ScrollBar" {
37099
37235
  oldScrollPos?: int;
37100
37236
  }
37101
37237
 
37102
- export type ScrollBar$ScrollEvent = Event<ScrollBar$ScrollEventParameters>;
37238
+ export type ScrollBar$ScrollEvent = Event<
37239
+ ScrollBar$ScrollEventParameters,
37240
+ ScrollBar
37241
+ >;
37103
37242
  }
37104
37243
 
37105
37244
  declare module "sap/ui/core/search/OpenSearchProvider" {
@@ -39225,11 +39364,17 @@ declare module "sap/ui/core/tmpl/TemplateControl" {
39225
39364
 
39226
39365
  export interface TemplateControl$AfterRenderingEventParameters {}
39227
39366
 
39228
- export type TemplateControl$AfterRenderingEvent = Event<TemplateControl$AfterRenderingEventParameters>;
39367
+ export type TemplateControl$AfterRenderingEvent = Event<
39368
+ TemplateControl$AfterRenderingEventParameters,
39369
+ TemplateControl
39370
+ >;
39229
39371
 
39230
39372
  export interface TemplateControl$BeforeRenderingEventParameters {}
39231
39373
 
39232
- export type TemplateControl$BeforeRenderingEvent = Event<TemplateControl$BeforeRenderingEventParameters>;
39374
+ export type TemplateControl$BeforeRenderingEvent = Event<
39375
+ TemplateControl$BeforeRenderingEventParameters,
39376
+ TemplateControl
39377
+ >;
39233
39378
  }
39234
39379
 
39235
39380
  declare module "sap/ui/core/TooltipBase" {
@@ -39697,7 +39842,10 @@ declare module "sap/ui/core/TooltipBase" {
39697
39842
 
39698
39843
  export interface TooltipBase$ClosedEventParameters {}
39699
39844
 
39700
- export type TooltipBase$ClosedEvent = Event<TooltipBase$ClosedEventParameters>;
39845
+ export type TooltipBase$ClosedEvent = Event<
39846
+ TooltipBase$ClosedEventParameters,
39847
+ TooltipBase
39848
+ >;
39701
39849
  }
39702
39850
 
39703
39851
  declare module "sap/ui/core/UIArea" {
@@ -42919,7 +43067,10 @@ declare module "sap/ui/core/ws/SapPcpWebSocket" {
42919
43067
  pcpFields?: string;
42920
43068
  }
42921
43069
 
42922
- export type SapPcpWebSocket$MessageEvent = Event<SapPcpWebSocket$MessageEventParameters>;
43070
+ export type SapPcpWebSocket$MessageEvent = Event<
43071
+ SapPcpWebSocket$MessageEventParameters,
43072
+ SapPcpWebSocket
43073
+ >;
42923
43074
  }
42924
43075
 
42925
43076
  declare module "sap/ui/core/ws/WebSocket" {
@@ -43342,11 +43493,17 @@ declare module "sap/ui/core/ws/WebSocket" {
43342
43493
  wasClean?: string;
43343
43494
  }
43344
43495
 
43345
- export type WebSocket$CloseEvent = Event<WebSocket$CloseEventParameters>;
43496
+ export type WebSocket$CloseEvent = Event<
43497
+ WebSocket$CloseEventParameters,
43498
+ WebSocket
43499
+ >;
43346
43500
 
43347
43501
  export interface WebSocket$ErrorEventParameters {}
43348
43502
 
43349
- export type WebSocket$ErrorEvent = Event<WebSocket$ErrorEventParameters>;
43503
+ export type WebSocket$ErrorEvent = Event<
43504
+ WebSocket$ErrorEventParameters,
43505
+ WebSocket
43506
+ >;
43350
43507
 
43351
43508
  export interface WebSocket$MessageEventParameters {
43352
43509
  /**
@@ -43355,11 +43512,17 @@ declare module "sap/ui/core/ws/WebSocket" {
43355
43512
  data?: string;
43356
43513
  }
43357
43514
 
43358
- export type WebSocket$MessageEvent = Event<WebSocket$MessageEventParameters>;
43515
+ export type WebSocket$MessageEvent = Event<
43516
+ WebSocket$MessageEventParameters,
43517
+ WebSocket
43518
+ >;
43359
43519
 
43360
43520
  export interface WebSocket$OpenEventParameters {}
43361
43521
 
43362
- export type WebSocket$OpenEvent = Event<WebSocket$OpenEventParameters>;
43522
+ export type WebSocket$OpenEvent = Event<
43523
+ WebSocket$OpenEventParameters,
43524
+ WebSocket
43525
+ >;
43363
43526
  }
43364
43527
 
43365
43528
  declare module "sap/ui/core/XMLComposite" {
@@ -44511,7 +44674,7 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
44511
44674
  */
44512
44675
  aFilters?: any[],
44513
44676
  /**
44514
- * A map containing additional binding parameters
44677
+ * A map containing additional binding parameters; for the `AnalyticalBinding` this parameter is mandatory
44515
44678
  */
44516
44679
  mParameters?: {
44517
44680
  /**
@@ -45160,6 +45323,14 @@ declare module "sap/ui/model/analytics/BatchResponseCollector" {
45160
45323
  * may change during the process of a pending request. Typically changed via a call to AnalyticalBinding#updateAnalyticalInfo.
45161
45324
  */
45162
45325
  lastAnalyticalInfoVersion: int;
45326
+ /**
45327
+ * a success handler function, which is called after all requests in mParams.executedRequests have returned.
45328
+ */
45329
+ success: Function;
45330
+ /**
45331
+ * an error handler function, which is called if one or more requests have returned with an error
45332
+ */
45333
+ error: Function;
45163
45334
  }
45164
45335
  ): void;
45165
45336
  /**
@@ -47587,7 +47758,10 @@ declare module "sap/ui/model/Binding" {
47587
47758
  dataState?: DataState;
47588
47759
  }
47589
47760
 
47590
- export type Binding$AggregatedDataStateChangeEvent = Event<Binding$AggregatedDataStateChangeEventParameters>;
47761
+ export type Binding$AggregatedDataStateChangeEvent = Event<
47762
+ Binding$AggregatedDataStateChangeEventParameters,
47763
+ Binding
47764
+ >;
47591
47765
 
47592
47766
  export interface Binding$ChangeEventParameters {
47593
47767
  /**
@@ -47597,7 +47771,10 @@ declare module "sap/ui/model/Binding" {
47597
47771
  reason?: string;
47598
47772
  }
47599
47773
 
47600
- export type Binding$ChangeEvent = Event<Binding$ChangeEventParameters>;
47774
+ export type Binding$ChangeEvent = Event<
47775
+ Binding$ChangeEventParameters,
47776
+ Binding
47777
+ >;
47601
47778
 
47602
47779
  export interface Binding$DataReceivedEventParameters {
47603
47780
  /**
@@ -47606,11 +47783,17 @@ declare module "sap/ui/model/Binding" {
47606
47783
  data?: string;
47607
47784
  }
47608
47785
 
47609
- export type Binding$DataReceivedEvent = Event<Binding$DataReceivedEventParameters>;
47786
+ export type Binding$DataReceivedEvent = Event<
47787
+ Binding$DataReceivedEventParameters,
47788
+ Binding
47789
+ >;
47610
47790
 
47611
47791
  export interface Binding$DataRequestedEventParameters {}
47612
47792
 
47613
- export type Binding$DataRequestedEvent = Event<Binding$DataRequestedEventParameters>;
47793
+ export type Binding$DataRequestedEvent = Event<
47794
+ Binding$DataRequestedEventParameters,
47795
+ Binding
47796
+ >;
47614
47797
 
47615
47798
  export interface Binding$DataStateChangeEventParameters {
47616
47799
  /**
@@ -47619,7 +47802,10 @@ declare module "sap/ui/model/Binding" {
47619
47802
  dataState?: DataState;
47620
47803
  }
47621
47804
 
47622
- export type Binding$DataStateChangeEvent = Event<Binding$DataStateChangeEventParameters>;
47805
+ export type Binding$DataStateChangeEvent = Event<
47806
+ Binding$DataStateChangeEventParameters,
47807
+ Binding
47808
+ >;
47623
47809
  }
47624
47810
 
47625
47811
  declare module "sap/ui/model/BindingMode" {
@@ -49871,6 +50057,9 @@ declare module "sap/ui/model/json/JSONModel" {
49871
50057
  * Model implementation for the JSON format.
49872
50058
  *
49873
50059
  * This model is not prepared to be inherited from.
50060
+ *
50061
+ * The model does not support {@link sap.ui.model.json.JSONModel#bindList binding lists} in case the bound
50062
+ * data contains circular structures and the bound control uses {@link https://ui5.sap.com/#/topic/7cdff73f308b4b10bdf7d83b7aba72e7 extended change detection}.
49874
50063
  */
49875
50064
  export default class JSONModel extends ClientModel {
49876
50065
  /**
@@ -50604,11 +50793,17 @@ declare module "sap/ui/model/ListBinding" {
50604
50793
 
50605
50794
  export interface ListBinding$FilterEventParameters {}
50606
50795
 
50607
- export type ListBinding$FilterEvent = Event<ListBinding$FilterEventParameters>;
50796
+ export type ListBinding$FilterEvent = Event<
50797
+ ListBinding$FilterEventParameters,
50798
+ ListBinding
50799
+ >;
50608
50800
 
50609
50801
  export interface ListBinding$SortEventParameters {}
50610
50802
 
50611
- export type ListBinding$SortEvent = Event<ListBinding$SortEventParameters>;
50803
+ export type ListBinding$SortEvent = Event<
50804
+ ListBinding$SortEventParameters,
50805
+ ListBinding
50806
+ >;
50612
50807
  }
50613
50808
 
50614
50809
  declare module "sap/ui/model/message/MessageModel" {
@@ -51522,7 +51717,10 @@ declare module "sap/ui/model/Model" {
51522
51717
  filepos?: int;
51523
51718
  }
51524
51719
 
51525
- export type Model$ParseErrorEvent = Event<Model$ParseErrorEventParameters>;
51720
+ export type Model$ParseErrorEvent = Event<
51721
+ Model$ParseErrorEventParameters,
51722
+ Model
51723
+ >;
51526
51724
 
51527
51725
  export interface Model$PropertyChangeEventParameters {
51528
51726
  /**
@@ -51546,7 +51744,10 @@ declare module "sap/ui/model/Model" {
51546
51744
  value?: any;
51547
51745
  }
51548
51746
 
51549
- export type Model$PropertyChangeEvent = Event<Model$PropertyChangeEventParameters>;
51747
+ export type Model$PropertyChangeEvent = Event<
51748
+ Model$PropertyChangeEventParameters,
51749
+ Model
51750
+ >;
51550
51751
 
51551
51752
  export interface Model$RequestCompletedEventParameters {
51552
51753
  /**
@@ -51586,7 +51787,10 @@ declare module "sap/ui/model/Model" {
51586
51787
  infoObject?: object;
51587
51788
  }
51588
51789
 
51589
- export type Model$RequestCompletedEvent = Event<Model$RequestCompletedEventParameters>;
51790
+ export type Model$RequestCompletedEvent = Event<
51791
+ Model$RequestCompletedEventParameters,
51792
+ Model
51793
+ >;
51590
51794
 
51591
51795
  export interface Model$RequestFailedEventParameters {
51592
51796
  /**
@@ -51610,7 +51814,10 @@ declare module "sap/ui/model/Model" {
51610
51814
  responseText?: string;
51611
51815
  }
51612
51816
 
51613
- export type Model$RequestFailedEvent = Event<Model$RequestFailedEventParameters>;
51817
+ export type Model$RequestFailedEvent = Event<
51818
+ Model$RequestFailedEventParameters,
51819
+ Model
51820
+ >;
51614
51821
 
51615
51822
  export interface Model$RequestSentEventParameters {
51616
51823
  /**
@@ -51639,7 +51846,10 @@ declare module "sap/ui/model/Model" {
51639
51846
  infoObject?: object;
51640
51847
  }
51641
51848
 
51642
- export type Model$RequestSentEvent = Event<Model$RequestSentEventParameters>;
51849
+ export type Model$RequestSentEvent = Event<
51850
+ Model$RequestSentEventParameters,
51851
+ Model
51852
+ >;
51643
51853
  }
51644
51854
 
51645
51855
  declare module "sap/ui/model/odata/ODataTreeBindingAdapter" {
@@ -52441,11 +52651,17 @@ declare module "sap/ui/model/odata/ODataAnnotations" {
52441
52651
 
52442
52652
  export interface ODataAnnotations$FailedEventParameters {}
52443
52653
 
52444
- export type ODataAnnotations$FailedEvent = Event<ODataAnnotations$FailedEventParameters>;
52654
+ export type ODataAnnotations$FailedEvent = Event<
52655
+ ODataAnnotations$FailedEventParameters,
52656
+ ODataAnnotations
52657
+ >;
52445
52658
 
52446
52659
  export interface ODataAnnotations$LoadedEventParameters {}
52447
52660
 
52448
- export type ODataAnnotations$LoadedEvent = Event<ODataAnnotations$LoadedEventParameters>;
52661
+ export type ODataAnnotations$LoadedEvent = Event<
52662
+ ODataAnnotations$LoadedEventParameters,
52663
+ ODataAnnotations
52664
+ >;
52449
52665
  }
52450
52666
 
52451
52667
  declare module "sap/ui/model/odata/ODataContextBinding" {
@@ -52833,9 +53049,9 @@ declare module "sap/ui/model/odata/ODataMetadata" {
52833
53049
  */
52834
53050
  sMetadataURI: string,
52835
53051
  /**
52836
- * optional map of parameters.
53052
+ * map of parameters.
52837
53053
  */
52838
- mParams?: {
53054
+ mParams: {
52839
53055
  /**
52840
53056
  * request is per default async
52841
53057
  */
@@ -52857,6 +53073,11 @@ declare module "sap/ui/model/odata/ODataMetadata" {
52857
53073
  * (optional) A valid cache key
52858
53074
  */
52859
53075
  cacheKey?: string;
53076
+ /**
53077
+ * The metadata XML as string as provided in a back-end response; the `sMetadataURI` parameter is ignored
53078
+ * if this parameter is set, and there is no request for the metadata.
53079
+ */
53080
+ metadata?: string;
52860
53081
  }
52861
53082
  );
52862
53083
 
@@ -53097,11 +53318,17 @@ declare module "sap/ui/model/odata/ODataMetadata" {
53097
53318
 
53098
53319
  export interface ODataMetadata$FailedEventParameters {}
53099
53320
 
53100
- export type ODataMetadata$FailedEvent = Event<ODataMetadata$FailedEventParameters>;
53321
+ export type ODataMetadata$FailedEvent = Event<
53322
+ ODataMetadata$FailedEventParameters,
53323
+ ODataMetadata
53324
+ >;
53101
53325
 
53102
53326
  export interface ODataMetadata$LoadedEventParameters {}
53103
53327
 
53104
- export type ODataMetadata$LoadedEvent = Event<ODataMetadata$LoadedEventParameters>;
53328
+ export type ODataMetadata$LoadedEvent = Event<
53329
+ ODataMetadata$LoadedEventParameters,
53330
+ ODataMetadata
53331
+ >;
53105
53332
  }
53106
53333
 
53107
53334
  declare module "sap/ui/model/odata/ODataMetaModel" {
@@ -53485,15 +53712,15 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
53485
53712
  * 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`
53486
53713
  * annotations.
53487
53714
  *
53488
- * @returns a Promise that gets resolved as soon as the value lists as well as the required model elements
53489
- * have been loaded
53715
+ * @returns A Promise that gets resolved into the value lists for the given context, as soon as the value
53716
+ * lists as well as the required model elements have been loaded
53490
53717
  */
53491
53718
  getODataValueLists(
53492
53719
  /**
53493
- * a model context for a structural property of an entity type or a complex type, as returned by {@link #getMetaContext getMetaContext}
53720
+ * A model context for a structural property of an entity type or a complex type, as returned by {@link #getMetaContext getMetaContext}
53494
53721
  */
53495
53722
  oPropertyContext: Context
53496
- ): Promise<any>;
53723
+ ): Promise<Record<string, ValueListType>>;
53497
53724
  /**
53498
53725
  * Returns a promise which is fulfilled once the meta model data is loaded and can be used.
53499
53726
  *
@@ -53689,6 +53916,16 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
53689
53916
  type: "Edm.Boolean";
53690
53917
  };
53691
53918
 
53919
+ /**
53920
+ * An object representing a Boolean value.
53921
+ */
53922
+ export type BoolExpression = {
53923
+ /**
53924
+ * The Boolean value
53925
+ */
53926
+ Bool: "true" | "false";
53927
+ };
53928
+
53692
53929
  /**
53693
53930
  * A property of type `Edm.Byte`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Byte}.
53694
53931
  */
@@ -54028,6 +54265,16 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
54028
54265
  | StringProperty
54029
54266
  | TimeProperty;
54030
54267
 
54268
+ /**
54269
+ * An object representing a `PropertyPathExpression` with its corresponding value.
54270
+ */
54271
+ export type PropertyPathExpression = {
54272
+ /**
54273
+ * The value of the `PropertyPathExpression`
54274
+ */
54275
+ PropertyPath: string;
54276
+ };
54277
+
54031
54278
  /**
54032
54279
  * An object representing an OData property reference.
54033
54280
  */
@@ -54048,6 +54295,16 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
54048
54295
  type: "Edm.SByte";
54049
54296
  };
54050
54297
 
54298
+ /**
54299
+ * An object representing an {@link https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#SimpleIdentifier OData SimpleIdentifier}
54300
+ */
54301
+ export type SimpleIdentifier = {
54302
+ /**
54303
+ * The simple identifier string
54304
+ */
54305
+ String: string;
54306
+ };
54307
+
54051
54308
  /**
54052
54309
  * A property of type `Edm.Single`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Single}.
54053
54310
  */
@@ -54076,6 +54333,16 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
54076
54333
  maxLength?: string;
54077
54334
  };
54078
54335
 
54336
+ /**
54337
+ * An object representing a string value.
54338
+ */
54339
+ export type StringExpression = {
54340
+ /**
54341
+ * The string value
54342
+ */
54343
+ String: string;
54344
+ };
54345
+
54079
54346
  /**
54080
54347
  * A property of type `Edm.String`, see the corresponding UI5 type {@link sap.ui.model.odata.type.String}.
54081
54348
  */
@@ -54111,6 +54378,155 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
54111
54378
  */
54112
54379
  precision?: string;
54113
54380
  };
54381
+
54382
+ /**
54383
+ * The alias type for the OData {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameter ValueListParameter};
54384
+ * this alias comprises all supported value list parameter types.
54385
+ */
54386
+ export type ValueListParameter =
54387
+ | ValueListParameterIn
54388
+ | ValueListParameterConstant
54389
+ | ValueListParameterInOut
54390
+ | ValueListParameterOut
54391
+ | ValueListParameterDisplayOnly;
54392
+
54393
+ /**
54394
+ * An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterConstant ValueListParameterConstant}.
54395
+ */
54396
+ export type ValueListParameterConstant = {
54397
+ /**
54398
+ * An object containing the path to the property in the value list
54399
+ */
54400
+ ValueListProperty: ValueListProperty;
54401
+ /**
54402
+ * A string representing a constant value that is used to filter the value list with an `eq` comparison,
54403
+ * using the same representation as property default values
54404
+ */
54405
+ Constant: string;
54406
+ /**
54407
+ * Fully qualified name of the value list parameter type `ValueListParameterConstant`
54408
+ */
54409
+ RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterConstant";
54410
+ };
54411
+
54412
+ /**
54413
+ * An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterDisplayOnly ValueListParameterDisplayOnly}.
54414
+ */
54415
+ export type ValueListParameterDisplayOnly = {
54416
+ /**
54417
+ * An object containing the path to the property in the value list
54418
+ */
54419
+ ValueListProperty: ValueListProperty;
54420
+ /**
54421
+ * Fully qualified name of the value list parameter type `ValueListParameterDisplayOnly`
54422
+ */
54423
+ RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterDisplayOnly";
54424
+ };
54425
+
54426
+ /**
54427
+ * An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterIn ValueListParameterIn}.
54428
+ */
54429
+ export type ValueListParameterIn = {
54430
+ /**
54431
+ * An object containing the property path that is used to filter the value list with an `eq` comparison
54432
+ */
54433
+ LocalDataProperty: PropertyPathExpression;
54434
+ /**
54435
+ * An object containing the path to the property in the value list
54436
+ */
54437
+ ValueListProperty: ValueListProperty;
54438
+ /**
54439
+ * Fully qualified name of the value list parameter type `ValueListParameterIn`
54440
+ */
54441
+ RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterIn";
54442
+ };
54443
+
54444
+ /**
54445
+ * An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterInOut ValueListParameterInOut}.
54446
+ */
54447
+ export type ValueListParameterInOut = {
54448
+ /**
54449
+ * An object containing the property path that is used to filter the value list with an `startswith` comparison
54450
+ * and filled from the picked value list item
54451
+ */
54452
+ LocalDataProperty: PropertyPathExpression;
54453
+ /**
54454
+ * An object containing the path to the property in the value list
54455
+ */
54456
+ ValueListProperty: ValueListProperty;
54457
+ /**
54458
+ * Fully qualified name of the value list parameter type `ValueListParameterInOut`
54459
+ */
54460
+ RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterInOut";
54461
+ };
54462
+
54463
+ /**
54464
+ * An object representing the value list parameter type {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameterOut ValueListParameterOut}.
54465
+ */
54466
+ export type ValueListParameterOut = {
54467
+ /**
54468
+ * An object containing the path to the property that is filled from the response
54469
+ */
54470
+ LocalDataProperty: PropertyPathExpression;
54471
+ /**
54472
+ * An object containing the path to the property in the value list
54473
+ */
54474
+ ValueListProperty: ValueListProperty;
54475
+ /**
54476
+ * Fully qualified name of the value list parameter type `ValueListParameterOut`
54477
+ */
54478
+ RecordType: "com.sap.vocabularies.Common.v1.ValueListParameterOut";
54479
+ };
54480
+
54481
+ /**
54482
+ * An object representing a `ValueListProperty` of a {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameter ValueListParameter}.
54483
+ */
54484
+ export type ValueListProperty = {
54485
+ /**
54486
+ * The value of the `ValueListProperty`
54487
+ */
54488
+ String: string;
54489
+ };
54490
+
54491
+ /**
54492
+ * An object describing the {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListType ValueListType}.
54493
+ */
54494
+ export type ValueListType = {
54495
+ /**
54496
+ * A `StringExpression` object representing the `Label` property
54497
+ */
54498
+ Label?: StringExpression;
54499
+ /**
54500
+ * A `StringExpression` object representing the `CollectionPath` property
54501
+ */
54502
+ CollectionPath: StringExpression;
54503
+ /**
54504
+ * A `StringExpression` object representing the `CollectionRoot` property
54505
+ */
54506
+ CollectionRoot?: StringExpression;
54507
+ /**
54508
+ * A `BoolExpression` object representing the `DistinctValuesSupported` property
54509
+ */
54510
+ DistinctValuesSupported: BoolExpression;
54511
+ /**
54512
+ * A `BoolExpression` object representing the `SearchSupported` property
54513
+ */
54514
+ SearchSupported: BoolExpression;
54515
+ /**
54516
+ * The `PresentationVariantQualifier` property defines the identifier for an alternative representation
54517
+ * of the value help, e.g. as a bar chart
54518
+ */
54519
+ PresentationVariantQualifier?: SimpleIdentifier;
54520
+ /**
54521
+ * The `SelectionVariantQualifier` property contains a combination of parameters and filters to query the
54522
+ * value help entity set
54523
+ */
54524
+ SelectionVariantQualifier?: SimpleIdentifier;
54525
+ /**
54526
+ * An array of parameters used to construct the value list request and consume the response properties
54527
+ */
54528
+ Parameters: ValueListParameter[];
54529
+ };
54114
54530
  }
54115
54531
 
54116
54532
  declare module "sap/ui/model/odata/ODataModel" {
@@ -55419,19 +55835,31 @@ declare module "sap/ui/model/odata/ODataModel" {
55419
55835
 
55420
55836
  export interface ODataModel$AnnotationsFailedEventParameters {}
55421
55837
 
55422
- export type ODataModel$AnnotationsFailedEvent = Event<ODataModel$AnnotationsFailedEventParameters>;
55838
+ export type ODataModel$AnnotationsFailedEvent = Event<
55839
+ ODataModel$AnnotationsFailedEventParameters,
55840
+ ODataModel
55841
+ >;
55423
55842
 
55424
55843
  export interface ODataModel$AnnotationsLoadedEventParameters {}
55425
55844
 
55426
- export type ODataModel$AnnotationsLoadedEvent = Event<ODataModel$AnnotationsLoadedEventParameters>;
55845
+ export type ODataModel$AnnotationsLoadedEvent = Event<
55846
+ ODataModel$AnnotationsLoadedEventParameters,
55847
+ ODataModel
55848
+ >;
55427
55849
 
55428
55850
  export interface ODataModel$MetadataFailedEventParameters {}
55429
55851
 
55430
- export type ODataModel$MetadataFailedEvent = Event<ODataModel$MetadataFailedEventParameters>;
55852
+ export type ODataModel$MetadataFailedEvent = Event<
55853
+ ODataModel$MetadataFailedEventParameters,
55854
+ ODataModel
55855
+ >;
55431
55856
 
55432
55857
  export interface ODataModel$MetadataLoadedEventParameters {}
55433
55858
 
55434
- export type ODataModel$MetadataLoadedEvent = Event<ODataModel$MetadataLoadedEventParameters>;
55859
+ export type ODataModel$MetadataLoadedEvent = Event<
55860
+ ODataModel$MetadataLoadedEventParameters,
55861
+ ODataModel
55862
+ >;
55435
55863
  }
55436
55864
 
55437
55865
  declare module "sap/ui/model/odata/ODataPropertyBinding" {
@@ -60194,7 +60622,10 @@ declare module "sap/ui/model/odata/v2/ODataListBinding" {
60194
60622
 
60195
60623
  export interface ODataListBinding$CreateActivateEventParameters {}
60196
60624
 
60197
- export type ODataListBinding$CreateActivateEvent = Event<ODataListBinding$CreateActivateEventParameters>;
60625
+ export type ODataListBinding$CreateActivateEvent = Event<
60626
+ ODataListBinding$CreateActivateEventParameters,
60627
+ ODataListBinding
60628
+ >;
60198
60629
  }
60199
60630
 
60200
60631
  declare module "sap/ui/model/odata/v2/ODataModel" {
@@ -62777,7 +63208,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62777
63208
  result?: Error[];
62778
63209
  }
62779
63210
 
62780
- export type ODataModel$AnnotationsFailedEvent = Event<ODataModel$AnnotationsFailedEventParameters>;
63211
+ export type ODataModel$AnnotationsFailedEvent = Event<
63212
+ ODataModel$AnnotationsFailedEventParameters,
63213
+ ODataModel
63214
+ >;
62781
63215
 
62782
63216
  export interface ODataModel$AnnotationsLoadedEventParameters {
62783
63217
  /**
@@ -62787,7 +63221,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62787
63221
  result?: Source[];
62788
63222
  }
62789
63223
 
62790
- export type ODataModel$AnnotationsLoadedEvent = Event<ODataModel$AnnotationsLoadedEventParameters>;
63224
+ export type ODataModel$AnnotationsLoadedEvent = Event<
63225
+ ODataModel$AnnotationsLoadedEventParameters,
63226
+ ODataModel
63227
+ >;
62791
63228
 
62792
63229
  export interface ODataModel$BatchRequestCompletedEventParameters {
62793
63230
  /**
@@ -62833,7 +63270,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62833
63270
  response?: object;
62834
63271
  }
62835
63272
 
62836
- export type ODataModel$BatchRequestCompletedEvent = Event<ODataModel$BatchRequestCompletedEventParameters>;
63273
+ export type ODataModel$BatchRequestCompletedEvent = Event<
63274
+ ODataModel$BatchRequestCompletedEventParameters,
63275
+ ODataModel
63276
+ >;
62837
63277
 
62838
63278
  export interface ODataModel$BatchRequestFailedEventParameters {
62839
63279
  /**
@@ -62879,7 +63319,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62879
63319
  requests?: any[];
62880
63320
  }
62881
63321
 
62882
- export type ODataModel$BatchRequestFailedEvent = Event<ODataModel$BatchRequestFailedEventParameters>;
63322
+ export type ODataModel$BatchRequestFailedEvent = Event<
63323
+ ODataModel$BatchRequestFailedEventParameters,
63324
+ ODataModel
63325
+ >;
62883
63326
 
62884
63327
  export interface ODataModel$BatchRequestSentEventParameters {
62885
63328
  /**
@@ -62904,7 +63347,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62904
63347
  requests?: any[];
62905
63348
  }
62906
63349
 
62907
- export type ODataModel$BatchRequestSentEvent = Event<ODataModel$BatchRequestSentEventParameters>;
63350
+ export type ODataModel$BatchRequestSentEvent = Event<
63351
+ ODataModel$BatchRequestSentEventParameters,
63352
+ ODataModel
63353
+ >;
62908
63354
 
62909
63355
  export interface ODataModel$MetadataFailedEventParameters {
62910
63356
  /**
@@ -62938,7 +63384,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62938
63384
  response?: object;
62939
63385
  }
62940
63386
 
62941
- export type ODataModel$MetadataFailedEvent = Event<ODataModel$MetadataFailedEventParameters>;
63387
+ export type ODataModel$MetadataFailedEvent = Event<
63388
+ ODataModel$MetadataFailedEventParameters,
63389
+ ODataModel
63390
+ >;
62942
63391
 
62943
63392
  export interface ODataModel$MetadataLoadedEventParameters {
62944
63393
  /**
@@ -62947,7 +63396,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62947
63396
  metadata?: string;
62948
63397
  }
62949
63398
 
62950
- export type ODataModel$MetadataLoadedEvent = Event<ODataModel$MetadataLoadedEventParameters>;
63399
+ export type ODataModel$MetadataLoadedEvent = Event<
63400
+ ODataModel$MetadataLoadedEventParameters,
63401
+ ODataModel
63402
+ >;
62951
63403
 
62952
63404
  export interface ODataModel$RequestCompletedEventParameters
62953
63405
  extends Model$RequestCompletedEventParameters {
@@ -62973,7 +63425,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
62973
63425
  response?: object;
62974
63426
  }
62975
63427
 
62976
- export type ODataModel$RequestCompletedEvent = Event<ODataModel$RequestCompletedEventParameters>;
63428
+ export type ODataModel$RequestCompletedEvent = Event<
63429
+ ODataModel$RequestCompletedEventParameters,
63430
+ ODataModel
63431
+ >;
62977
63432
 
62978
63433
  export interface ODataModel$RequestFailedEventParameters
62979
63434
  extends Model$RequestFailedEventParameters {
@@ -63014,7 +63469,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
63014
63469
  response?: object;
63015
63470
  }
63016
63471
 
63017
- export type ODataModel$RequestFailedEvent = Event<ODataModel$RequestFailedEventParameters>;
63472
+ export type ODataModel$RequestFailedEvent = Event<
63473
+ ODataModel$RequestFailedEventParameters,
63474
+ ODataModel
63475
+ >;
63018
63476
 
63019
63477
  export interface ODataModel$RequestSentEventParameters
63020
63478
  extends Model$RequestSentEventParameters {
@@ -63034,7 +63492,10 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
63034
63492
  headers?: Record<string, string>;
63035
63493
  }
63036
63494
 
63037
- export type ODataModel$RequestSentEvent = Event<ODataModel$RequestSentEventParameters>;
63495
+ export type ODataModel$RequestSentEvent = Event<
63496
+ ODataModel$RequestSentEventParameters,
63497
+ ODataModel
63498
+ >;
63038
63499
  }
63039
63500
 
63040
63501
  declare module "sap/ui/model/odata/v2/ODataTreeBinding" {
@@ -63530,7 +63991,7 @@ declare module "sap/ui/model/odata/v4/AnnotationHelper" {
63530
63991
  */
63531
63992
  overload?: object;
63532
63993
  }
63533
- ): string | Promise<any>;
63994
+ ): string | Promise<string>;
63534
63995
  /**
63535
63996
  * @since 1.43.0
63536
63997
  *
@@ -63596,7 +64057,9 @@ declare module "sap/ui/model/odata/v4/AnnotationHelper" {
63596
64057
  */
63597
64058
  schemaChildName: string;
63598
64059
  }
63599
- ): (ValueListType | keyof typeof ValueListType) | Promise<any>;
64060
+ ):
64061
+ | (ValueListType | keyof typeof ValueListType)
64062
+ | Promise<ValueListType | keyof typeof ValueListType>;
63600
64063
  /**
63601
64064
  * @since 1.43.0
63602
64065
  *
@@ -63641,7 +64104,7 @@ declare module "sap/ui/model/odata/v4/AnnotationHelper" {
63641
64104
  */
63642
64105
  schemaChildName: string;
63643
64106
  }
63644
- ): boolean | Promise<any>;
64107
+ ): boolean | Promise<boolean>;
63645
64108
  /**
63646
64109
  * @since 1.49.0
63647
64110
  *
@@ -63678,7 +64141,7 @@ declare module "sap/ui/model/odata/v4/AnnotationHelper" {
63678
64141
  */
63679
64142
  context: Context;
63680
64143
  }
63681
- ): string | Promise<any> | undefined;
64144
+ ): string | Promise<string | undefined> | undefined;
63682
64145
  /**
63683
64146
  * @since 1.63.0
63684
64147
  *
@@ -63936,9 +64399,9 @@ declare module "sap/ui/model/odata/v4/Context" {
63936
64399
  * Note that the promise of a nested context within a deep create is always rejected, even if the deep create
63937
64400
  * succeeds. See {@link sap.ui.model.odata.v4.ODataListBinding#create} for more details.
63938
64401
  *
63939
- * @returns A promise that is resolved without data when the entity represented by this context has been
63940
- * created in the back end. It is rejected with an `Error` instance where `oError.canceled === true` if
63941
- * the transient entity is deleted before it is created in the back end, for example via {@link sap.ui.model.odata.v4.Context#delete},
64402
+ * @returns A promise which is resolved without a defined result when the entity represented by this context
64403
+ * has been created in the back end. It is rejected with an `Error` instance where `oError.canceled ===
64404
+ * 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},
63942
64405
  * {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges} or {@link sap.ui.model.odata.v4.ODataModel#resetChanges},
63943
64406
  * and for all nested contexts within a deep create. It is rejected with an `Error` instance without `oError.canceled`
63944
64407
  * if loading of $metadata fails. Returns `undefined` if the context has not been created using {@link sap.ui.model.odata.v4.ODataListBinding#create}.
@@ -63976,8 +64439,8 @@ declare module "sap/ui/model/odata/v4/Context" {
63976
64439
  * sap.ui.model.odata.v4.ODataListBinding#resetChanges
63977
64440
  * sap.ui.model.odata.v4.ODataModel#resetChanges
63978
64441
  *
63979
- * @returns A promise which is resolved without a result in case of success, or rejected with an instance
63980
- * of `Error` in case of failure, for example if:
64442
+ * @returns A promise which is resolved without a defined result in case of success, or rejected with an
64443
+ * instance of `Error` in case of failure, for example if:
63981
64444
  * the given context does not point to an entity, the deletion on the server fails, the deletion
63982
64445
  * is canceled via `resetChanges` (in this case the error instance has the property `canceled` with value
63983
64446
  * `true`). The error instance has the property `isConcurrentModification` with value `true` in case
@@ -64001,7 +64464,7 @@ declare module "sap/ui/model/odata/v4/Context" {
64001
64464
  * ID is used.
64002
64465
  */
64003
64466
  bDoNotRequestCount?: boolean
64004
- ): Promise<any>;
64467
+ ): Promise<void>;
64005
64468
  /**
64006
64469
  * @since 1.41.0
64007
64470
  *
@@ -64267,7 +64730,7 @@ declare module "sap/ui/model/odata/v4/Context" {
64267
64730
  * case of success, or rejected with an instance of `Error` in case of failure, e.g. if the given context
64268
64731
  * does not point to an entity
64269
64732
  */
64270
- requestCanonicalPath(): Promise<any>;
64733
+ requestCanonicalPath(): Promise<string>;
64271
64734
  /**
64272
64735
  * @since 1.39.0
64273
64736
  *
@@ -64320,8 +64783,8 @@ declare module "sap/ui/model/odata/v4/Context" {
64320
64783
  * Refreshes the single entity represented by this context and returns a promise to wait for it. See {@link #refresh }
64321
64784
  * for details. Use {@link #refresh} if you do not need the promise.
64322
64785
  *
64323
- * @returns A promise which resolves without a defined result when the refresh is finished and rejects with
64324
- * an instance of `Error` if the refresh failed
64786
+ * @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
64787
+ * with an error if the refresh failed
64325
64788
  */
64326
64789
  requestRefresh(
64327
64790
  /**
@@ -64332,7 +64795,7 @@ declare module "sap/ui/model/odata/v4/Context" {
64332
64795
  * Allows to remove the context
64333
64796
  */
64334
64797
  bAllowRemoval?: boolean
64335
- ): Promise<any>;
64798
+ ): Promise<void>;
64336
64799
  /**
64337
64800
  * @since 1.61.0
64338
64801
  *
@@ -64373,10 +64836,10 @@ declare module "sap/ui/model/odata/v4/Context" {
64373
64836
  * sap.ui.model.odata.v4.ODataListBinding#getHeaderContext
64374
64837
  * sap.ui.model.odata.v4.ODataModel#bindContext
64375
64838
  *
64376
- * @returns Promise resolved with `undefined`, or rejected with an error if loading of side effects fails.
64377
- * Use it to set fields affected by side effects to read-only before {@link #requestSideEffects} and make
64378
- * them editable again when the promise resolves; in the error handler, you can repeat the loading of side
64379
- * effects.
64839
+ * @returns A promise which is resolved without a defined result, or rejected with an error if loading of
64840
+ * side effects fails. Use it to set fields affected by side effects to read-only before {@link #requestSideEffects }
64841
+ * and make them editable again when the promise resolves; in the error handler, you can repeat the loading
64842
+ * of side effects.
64380
64843
  * The promise is rejected if the call wants to refresh a whole list binding (via header context or an
64381
64844
  * absolute path), but the deletion of a row context (see {@link #delete}) is pending with a different group
64382
64845
  * ID.
@@ -64410,7 +64873,7 @@ declare module "sap/ui/model/odata/v4/Context" {
64410
64873
  * are no pending changes for the affected properties.
64411
64874
  */
64412
64875
  sGroupId?: string
64413
- ): Promise<undefined>;
64876
+ ): Promise<void>;
64414
64877
  /**
64415
64878
  * @since 1.113.0
64416
64879
  *
@@ -64425,7 +64888,7 @@ declare module "sap/ui/model/odata/v4/Context" {
64425
64888
  * @returns A promise which is resolved without a defined result as soon as all changes in the context and
64426
64889
  * its current dependent bindings are canceled
64427
64890
  */
64428
- resetChanges(): Promise<any>;
64891
+ resetChanges(): Promise<void>;
64429
64892
  /**
64430
64893
  * @since 1.81.0
64431
64894
  *
@@ -64474,11 +64937,11 @@ declare module "sap/ui/model/odata/v4/Context" {
64474
64937
  * sap.ui.model.odata.v4.ODataListBinding#event:patchSent
64475
64938
  * sap.ui.model.odata.v4.ODataListBinding#event:patchCompleted
64476
64939
  *
64477
- * @returns A promise which is resolved without a result in case of success, or rejected with an instance
64478
- * of `Error` in case of failure, for example if the annotation belongs to the read-only namespace "@$ui5.*".
64479
- * With `bRetry` it is only rejected with an `Error` instance where `oError.canceled === true` when the
64480
- * entity has been deleted while the request was pending or the property has been reset via the methods
64481
- *
64940
+ * @returns A promise which is resolved without a defined result in case of success, or rejected with an
64941
+ * instance of `Error` in case of failure, for example if the annotation belongs to the read-only namespace
64942
+ * "@$ui5.*". With `bRetry` it is only rejected with an `Error` instance where `oError.canceled === true`
64943
+ * when the entity has been deleted while the request was pending or the property has been reset via the
64944
+ * methods
64482
64945
  * {@link sap.ui.model.odata.v4.ODataModel#resetChanges} {@link sap.ui.model.odata.v4.ODataContextBinding#resetChanges }
64483
64946
  * or {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges}.
64484
64947
  */
@@ -64512,7 +64975,7 @@ declare module "sap/ui/model/odata/v4/Context" {
64512
64975
  * 'success' is fired.
64513
64976
  */
64514
64977
  bRetry?: boolean
64515
- ): Promise<any>;
64978
+ ): Promise<void>;
64516
64979
  /**
64517
64980
  * @experimental (since 1.111.0)
64518
64981
  *
@@ -64725,7 +65188,7 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
64725
65188
  /**
64726
65189
  * The function to call when the event occurs
64727
65190
  */
64728
- fnFunction: Function,
65191
+ fnFunction: (evt: ODataContextBinding$PatchCompletedEvent) => void,
64729
65192
  /**
64730
65193
  * Object on which to call the given function
64731
65194
  */
@@ -64819,7 +65282,7 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
64819
65282
  * binding parameter is set to `true`. Since 1.97.0.
64820
65283
  */
64821
65284
  bReplaceWithRVC?: boolean
64822
- ): Promise<any>;
65285
+ ): Promise<Context | undefined>;
64823
65286
  /**
64824
65287
  * @since 1.39.0
64825
65288
  *
@@ -64978,15 +65441,15 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
64978
65441
  * Refreshes the binding and returns a promise to wait for it. See {@link #refresh} for details. Use {@link #refresh }
64979
65442
  * if you do not need the promise.
64980
65443
  *
64981
- * @returns A promise which resolves without a defined result when the refresh is finished and rejects with
64982
- * an instance of `Error` if the refresh failed
65444
+ * @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
65445
+ * with an error if the refresh failed
64983
65446
  */
64984
65447
  requestRefresh(
64985
65448
  /**
64986
65449
  * The group ID to be used
64987
65450
  */
64988
65451
  sGroupId?: string
64989
- ): Promise<any>;
65452
+ ): Promise<void>;
64990
65453
  /**
64991
65454
  * @since 1.40.1
64992
65455
  *
@@ -64996,7 +65459,7 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
64996
65459
  * @returns A promise which is resolved without a defined result as soon as all changes in the binding itself
64997
65460
  * and all dependent bindings are canceled (since 1.72.0)
64998
65461
  */
64999
- resetChanges(): Promise<any>;
65462
+ resetChanges(): Promise<void>;
65000
65463
  /**
65001
65464
  * @since 1.37.0
65002
65465
  *
@@ -65056,25 +65519,51 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
65056
65519
  export interface ODataContextBinding$ChangeEventParameters
65057
65520
  extends Binding$ChangeEventParameters {}
65058
65521
 
65059
- export type ODataContextBinding$ChangeEvent = Event<ODataContextBinding$ChangeEventParameters>;
65522
+ export type ODataContextBinding$ChangeEvent = Event<
65523
+ ODataContextBinding$ChangeEventParameters,
65524
+ ODataContextBinding
65525
+ >;
65060
65526
 
65061
65527
  export interface ODataContextBinding$DataReceivedEventParameters
65062
- extends Binding$DataReceivedEventParameters {}
65528
+ extends Binding$DataReceivedEventParameters {
65529
+ /**
65530
+ * The error object if a back-end request failed. If there are multiple failed back-end requests, the error
65531
+ * of the first one is provided.
65532
+ */
65533
+ error?: Error;
65534
+ }
65063
65535
 
65064
- export type ODataContextBinding$DataReceivedEvent = Event<ODataContextBinding$DataReceivedEventParameters>;
65536
+ export type ODataContextBinding$DataReceivedEvent = Event<
65537
+ ODataContextBinding$DataReceivedEventParameters,
65538
+ ODataContextBinding
65539
+ >;
65065
65540
 
65066
65541
  export interface ODataContextBinding$DataRequestedEventParameters
65067
65542
  extends Binding$DataRequestedEventParameters {}
65068
65543
 
65069
- export type ODataContextBinding$DataRequestedEvent = Event<ODataContextBinding$DataRequestedEventParameters>;
65544
+ export type ODataContextBinding$DataRequestedEvent = Event<
65545
+ ODataContextBinding$DataRequestedEventParameters,
65546
+ ODataContextBinding
65547
+ >;
65070
65548
 
65071
- export interface ODataContextBinding$PatchCompletedEventParameters {}
65549
+ export interface ODataContextBinding$PatchCompletedEventParameters {
65550
+ /**
65551
+ * Whether all PATCHes are successfully processed
65552
+ */
65553
+ success?: boolean;
65554
+ }
65072
65555
 
65073
- export type ODataContextBinding$PatchCompletedEvent = Event<ODataContextBinding$PatchCompletedEventParameters>;
65556
+ export type ODataContextBinding$PatchCompletedEvent = Event<
65557
+ ODataContextBinding$PatchCompletedEventParameters,
65558
+ ODataContextBinding
65559
+ >;
65074
65560
 
65075
65561
  export interface ODataContextBinding$PatchSentEventParameters {}
65076
65562
 
65077
- export type ODataContextBinding$PatchSentEvent = Event<ODataContextBinding$PatchSentEventParameters>;
65563
+ export type ODataContextBinding$PatchSentEvent = Event<
65564
+ ODataContextBinding$PatchSentEventParameters,
65565
+ ODataContextBinding
65566
+ >;
65078
65567
  }
65079
65568
 
65080
65569
  declare module "sap/ui/model/odata/v4/ODataListBinding" {
@@ -65104,6 +65593,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65104
65593
 
65105
65594
  import Event from "sap/ui/base/Event";
65106
65595
 
65596
+ import ChangeReason from "sap/ui/model/ChangeReason";
65597
+
65107
65598
  /**
65108
65599
  * @since 1.37.0
65109
65600
  *
@@ -65314,12 +65805,18 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65314
65805
  * parent's navigation property, which is sent with the payload of the parent entity. Such a nested context
65315
65806
  * cannot be inactive.
65316
65807
  *
65317
- * **Beware:** After a succesful creation of the main entity the context returned for a nested entity is
65318
- * no longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such
65319
- * a context! New contexts are created for the nested collection because it is not possible to reliably
65320
- * assign the response entities to those of the request, especially if the count differs. For this reason,
65321
- * the `created` promises of all nested contexts are always rejected with an instance of `Error`, even if
65322
- * the deep create succeeds. This error always has the property `canceled` with the value `true`.
65808
+ * **Note:** After a succesful creation of the main entity the context returned for a nested entity is no
65809
+ * longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such a
65810
+ * context! New contexts are created for the nested collection because it is not possible to reliably assign
65811
+ * the response entities to those of the request, especially if the count differs. For this reason, the
65812
+ * `created` promises of all nested contexts are always rejected with an instance of `Error`, even if the
65813
+ * deep create succeeds. This error always has the property `canceled` with the value `true`.
65814
+ *
65815
+ * Since 1.117.0 deep create also supports single-valued navigation properties; no API call is required
65816
+ * in this case. Simply bind properties of the related entity relative to a transient context. An update
65817
+ * to the property adds it to the POST request of the parent entity, and by this the create becomes deep.
65818
+ *
65819
+ * **Note**: Deep create for single-valued navigation properties is **experimental**.
65323
65820
  *
65324
65821
  * Deep create requires the `autoExpandSelect` parameter at the {@link sap.ui.model.odata.v4.ODataModel#constructor model}.
65325
65822
  * The refresh after a deep create is optimized. Only the (navigation) properties missing from the POST
@@ -65331,6 +65828,14 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65331
65828
  * has been read or if the system query option `$count` is `true` and the binding has processed at least
65332
65829
  * one request.
65333
65830
  *
65831
+ * Creating a new child beneath an existing and visible parent node (which must either be a leaf or expanded,
65832
+ * but not collapsed) is supported (@experimental as of version 1.117.0) in case of a recursive hierarchy
65833
+ * (see {@link #setAggregation}). The parent node must be identified via a {@link sap.ui.model.odata.v4.Context }
65834
+ * instance given as `oInitialData["@$ui5.node.parent"]`. `oAggregation.expandTo` (see {@link #setAggregation})
65835
+ * must be one, `bSkipRefresh` must be set, but both `bAtEnd` and `bInactive` must not be set. No other
65836
+ * creation must be pending, and no other modification (including collapse of some ancestor node) must happen
65837
+ * while this creation is pending!
65838
+ *
65334
65839
  * @returns The context object for the created entity; its method {@link sap.ui.model.odata.v4.Context#created }
65335
65840
  * returns a promise that is resolved when the creation is finished
65336
65841
  */
@@ -65340,8 +65845,11 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65340
65845
  */
65341
65846
  oInitialData?: object,
65342
65847
  /**
65343
- * Whether an automatic refresh of the created entity will be skipped; ignored within a deep create (when
65344
- * the binding's parent context is transient)
65848
+ * Whether an automatic refresh of the created entity will be skipped.
65849
+ * **Note:** Do not use this parameter for a deep create. It leads to multiple single row requests if the
65850
+ * POST response did not supply all properties of the nested list. If it is not set, the model checks whether
65851
+ * all required properties and child entities are available on the client and requests only data that is
65852
+ * missing.
65345
65853
  */
65346
65854
  bSkipRefresh?: boolean,
65347
65855
  /**
@@ -65396,7 +65904,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65396
65904
  /**
65397
65905
  * The function to call when the event occurs
65398
65906
  */
65399
- fnFunction: Function,
65907
+ fnFunction: (evt: ODataListBinding$CreateCompletedEvent) => void,
65400
65908
  /**
65401
65909
  * Object on which to call the given function
65402
65910
  */
@@ -65413,7 +65921,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65413
65921
  /**
65414
65922
  * The function to call when the event occurs
65415
65923
  */
65416
- fnFunction: Function,
65924
+ fnFunction: (evt: ODataListBinding$CreateSentEvent) => void,
65417
65925
  /**
65418
65926
  * Object on which to call the given function
65419
65927
  */
@@ -65430,7 +65938,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65430
65938
  /**
65431
65939
  * The function to call when the event occurs
65432
65940
  */
65433
- fnFunction: Function,
65941
+ fnFunction: (evt: ODataListBinding$PatchCompletedEvent) => void,
65434
65942
  /**
65435
65943
  * Object on which to call the given function
65436
65944
  */
@@ -65631,8 +66139,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65631
66139
  *
65632
66140
  * Additionally, you must be aware of server-driven paging and be ready to send a follow-up request if the
65633
66141
  * response contains `@odata.nextlink`.
65634
- * See:
65635
- * #requestDownloadUrl
66142
+ *
66143
+ * The URL cannot be determined synchronously in all cases; use {@link #requestDownloadUrl} to allow for
66144
+ * asynchronous determination then.
65636
66145
  *
65637
66146
  * @returns The download URL
65638
66147
  */
@@ -65913,15 +66422,15 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65913
66422
  * Refreshes the binding and returns a promise to wait for it. See {@link #refresh} for details. Use {@link #refresh }
65914
66423
  * if you do not need the promise.
65915
66424
  *
65916
- * @returns A promise which resolves without a defined result when the refresh is finished and rejects with
65917
- * an instance of `Error` if the refresh failed
66425
+ * @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
66426
+ * with an error if the refresh failed
65918
66427
  */
65919
66428
  requestRefresh(
65920
66429
  /**
65921
66430
  * The group ID to be used
65922
66431
  */
65923
66432
  sGroupId?: string
65924
- ): Promise<any>;
66433
+ ): Promise<void>;
65925
66434
  /**
65926
66435
  * @since 1.40.1
65927
66436
  *
@@ -65931,7 +66440,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65931
66440
  * @returns A promise which is resolved without a defined result as soon as all changes in the binding itself
65932
66441
  * and all dependent bindings are canceled (since 1.72.0)
65933
66442
  */
65934
- resetChanges(): Promise<any>;
66443
+ resetChanges(): Promise<void>;
65935
66444
  /**
65936
66445
  * @since 1.37.0
65937
66446
  *
@@ -65961,7 +66470,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65961
66470
  * compatible with this approach, and it cannot be combined with group levels.
65962
66471
  * Since 1.105.0, either a recursive hierarchy or pure data aggregation is supported, but no mix; `hierarchyQualifier`
65963
66472
  * is the leading property that decides between those two use cases - this is an **experimental API** and
65964
- * is only supported if the model uses the `autoExpandSelect` parameter!
66473
+ * is only supported if the model uses the `autoExpandSelect` parameter! Since 1.117.0, it is available
66474
+ * for read-only hierarchies.
65965
66475
  */
65966
66476
  oAggregation?: {
65967
66477
  /**
@@ -65983,8 +66493,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
65983
66493
  aggregate?: object;
65984
66494
  /**
65985
66495
  * The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
65986
- * (@experimental as of version 1.105.0), supported only if a `hierarchyQualifier` is given. Root nodes
65987
- * are on the first level. By default, only root nodes are available; they are not yet expanded.
66496
+ * (@experimental as of version 1.105.0; available for read-only hierarchies since 1.117.0), supported only
66497
+ * if a `hierarchyQualifier` is given. Root nodes are on the first level. By default, only root nodes are
66498
+ * available; they are not yet expanded.
65988
66499
  */
65989
66500
  expandTo?: number;
65990
66501
  /**
@@ -66009,9 +66520,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
66009
66520
  groupLevels?: string[];
66010
66521
  /**
66011
66522
  * The qualifier for the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy" and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy"
66012
- * annotations at this binding's entity type (@experimental as of version 1.105.0). If present, a recursive
66013
- * hierarchy without data aggregation is defined, and the only other supported properties are `expandTo`
66014
- * and `search`. A recursive hierarchy cannot be combined with:
66523
+ * annotations at this binding's entity type (@experimental as of version 1.105.0; available for read-only
66524
+ * hierarchies since 1.117.0). If present, a recursive hierarchy without data aggregation is defined, and
66525
+ * the only other supported properties are `expandTo` and `search`. A recursive hierarchy cannot be combined
66526
+ * with:
66015
66527
  * "$search", the `vGroup` parameter of {@link sap.ui.model.Sorter} (since 1.107.0), shared
66016
66528
  * requests (since 1.108.0).
66017
66529
  */
@@ -66164,43 +66676,119 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
66164
66676
  }
66165
66677
 
66166
66678
  export interface ODataListBinding$ChangeEventParameters
66167
- extends Binding$ChangeEventParameters {}
66679
+ extends Binding$ChangeEventParameters {
66680
+ /**
66681
+ * During automatic determination of $expand and $select, a "virtual" context is first added with detailed
66682
+ * reason "AddVirtualContext" and then removed with detailed reason "RemoveVirtualContext" (since 1.69.0);
66683
+ * `undefined` is used in all other cases
66684
+ */
66685
+ detailedReason?: string;
66686
+ }
66168
66687
 
66169
- export type ODataListBinding$ChangeEvent = Event<ODataListBinding$ChangeEventParameters>;
66688
+ export type ODataListBinding$ChangeEvent = Event<
66689
+ ODataListBinding$ChangeEventParameters,
66690
+ ODataListBinding
66691
+ >;
66170
66692
 
66171
66693
  export interface ODataListBinding$CreateActivateEventParameters {}
66172
66694
 
66173
- export type ODataListBinding$CreateActivateEvent = Event<ODataListBinding$CreateActivateEventParameters>;
66695
+ export type ODataListBinding$CreateActivateEvent = Event<
66696
+ ODataListBinding$CreateActivateEventParameters,
66697
+ ODataListBinding
66698
+ >;
66174
66699
 
66175
- export interface ODataListBinding$CreateCompletedEventParameters {}
66700
+ export interface ODataListBinding$CreateCompletedEventParameters {
66701
+ /**
66702
+ * The context for the created entity
66703
+ */
66704
+ context?: Context;
66176
66705
 
66177
- export type ODataListBinding$CreateCompletedEvent = Event<ODataListBinding$CreateCompletedEventParameters>;
66706
+ /**
66707
+ * Whether the POST was successfully processed; in case of an error, the error is already reported to the
66708
+ * {@link sap.ui.core.message.MessageManager}
66709
+ */
66710
+ success?: boolean;
66711
+ }
66178
66712
 
66179
- export interface ODataListBinding$CreateSentEventParameters {}
66713
+ export type ODataListBinding$CreateCompletedEvent = Event<
66714
+ ODataListBinding$CreateCompletedEventParameters,
66715
+ ODataListBinding
66716
+ >;
66717
+
66718
+ export interface ODataListBinding$CreateSentEventParameters {
66719
+ /**
66720
+ * The context for the created entity
66721
+ */
66722
+ context?: Context;
66723
+ }
66180
66724
 
66181
- export type ODataListBinding$CreateSentEvent = Event<ODataListBinding$CreateSentEventParameters>;
66725
+ export type ODataListBinding$CreateSentEvent = Event<
66726
+ ODataListBinding$CreateSentEventParameters,
66727
+ ODataListBinding
66728
+ >;
66182
66729
 
66183
66730
  export interface ODataListBinding$DataReceivedEventParameters
66184
- extends Binding$DataReceivedEventParameters {}
66731
+ extends Binding$DataReceivedEventParameters {
66732
+ /**
66733
+ * The error object if a back-end request failed. If there are multiple failed back-end requests, the error
66734
+ * of the first one is provided.
66735
+ */
66736
+ error?: Error;
66737
+ }
66185
66738
 
66186
- export type ODataListBinding$DataReceivedEvent = Event<ODataListBinding$DataReceivedEventParameters>;
66739
+ export type ODataListBinding$DataReceivedEvent = Event<
66740
+ ODataListBinding$DataReceivedEventParameters,
66741
+ ODataListBinding
66742
+ >;
66187
66743
 
66188
66744
  export interface ODataListBinding$DataRequestedEventParameters
66189
66745
  extends Binding$DataRequestedEventParameters {}
66190
66746
 
66191
- export type ODataListBinding$DataRequestedEvent = Event<ODataListBinding$DataRequestedEventParameters>;
66747
+ export type ODataListBinding$DataRequestedEvent = Event<
66748
+ ODataListBinding$DataRequestedEventParameters,
66749
+ ODataListBinding
66750
+ >;
66192
66751
 
66193
- export interface ODataListBinding$PatchCompletedEventParameters {}
66752
+ export interface ODataListBinding$PatchCompletedEventParameters {
66753
+ /**
66754
+ * Whether all PATCHes are successfully processed
66755
+ */
66756
+ success?: boolean;
66757
+ }
66194
66758
 
66195
- export type ODataListBinding$PatchCompletedEvent = Event<ODataListBinding$PatchCompletedEventParameters>;
66759
+ export type ODataListBinding$PatchCompletedEvent = Event<
66760
+ ODataListBinding$PatchCompletedEventParameters,
66761
+ ODataListBinding
66762
+ >;
66196
66763
 
66197
66764
  export interface ODataListBinding$PatchSentEventParameters {}
66198
66765
 
66199
- export type ODataListBinding$PatchSentEvent = Event<ODataListBinding$PatchSentEventParameters>;
66200
-
66201
- export interface ODataListBinding$RefreshEventParameters {}
66766
+ export type ODataListBinding$PatchSentEvent = Event<
66767
+ ODataListBinding$PatchSentEventParameters,
66768
+ ODataListBinding
66769
+ >;
66770
+
66771
+ export interface ODataListBinding$RefreshEventParameters {
66772
+ /**
66773
+ * The reason for the 'refresh' event could be
66774
+ * {@link sap.ui.model.ChangeReason.Context Context} when the binding's parent context is changed,
66775
+ * {@link sap.ui.model.ChangeReason.Filter Filter} on {@link #filter} and {@link #setAggregation},
66776
+ * {@link sap.ui.model.ChangeReason.Refresh Refresh} on {@link #refresh}, or when the binding is initialized,
66777
+ * {@link sap.ui.model.ChangeReason.Sort Sort} on {@link #sort}. {@link #changeParameters} leads
66778
+ * to {@link sap.ui.model.ChangeReason.Filter Filter} if one of the parameters '$filter' and '$search' is
66779
+ * changed, otherwise it leads to {@link sap.ui.model.ChangeReason.Sort Sort} if the parameter '$orderby'
66780
+ * is changed; in other cases, it leads to {@link sap.ui.model.ChangeReason.Change Change}.
66781
+ * If APIs that would normally fire change events have been called while the binding is suspended, {@link #resume }
66782
+ * leads to the "strongest" change reason in the order {@link sap.ui.model.ChangeReason.Filter Filter},
66783
+ * {@link sap.ui.model.ChangeReason.Sort Sort}, {@link sap.ui.model.ChangeReason.Refresh Refresh}, {@link sap.ui.model.ChangeReason.Change Change}.
66784
+ */
66785
+ reason?: ChangeReason;
66786
+ }
66202
66787
 
66203
- export type ODataListBinding$RefreshEvent = Event<ODataListBinding$RefreshEventParameters>;
66788
+ export type ODataListBinding$RefreshEvent = Event<
66789
+ ODataListBinding$RefreshEventParameters,
66790
+ ODataListBinding
66791
+ >;
66204
66792
  }
66205
66793
 
66206
66794
  declare module "sap/ui/model/odata/v4/ODataMetaModel" {
@@ -66610,7 +67198,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
66610
67198
  *
66611
67199
  * @returns A promise which is resolved with the OData metadata as a "JSON" object as soon as it is available.
66612
67200
  */
66613
- requestData(): Promise<any>;
67201
+ requestData(): Promise<object>;
66614
67202
  /**
66615
67203
  * @since 1.37.0
66616
67204
  *
@@ -66837,7 +67425,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
66837
67425
  * are passed "as is".
66838
67426
  */
66839
67427
  mFormatOptions?: object
66840
- ): Promise<any>;
67428
+ ): Promise<ODataType>;
66841
67429
  /**
66842
67430
  * @since 1.63.0
66843
67431
  *
@@ -66932,7 +67520,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
66932
67520
  * annotation. Supported since 1.84.0
66933
67521
  */
66934
67522
  oContext?: Context1
66935
- ): Promise<any>;
67523
+ ): Promise<Record<string, object>>;
66936
67524
  /**
66937
67525
  * @since 1.47.0
66938
67526
  *
@@ -66948,7 +67536,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
66948
67536
  * An absolute path to an OData property within the OData data model
66949
67537
  */
66950
67538
  sPropertyPath: string
66951
- ): Promise<any>;
67539
+ ): Promise<ValueListType | keyof typeof ValueListType>;
66952
67540
  /**
66953
67541
  * @since 1.37.0
66954
67542
  *
@@ -67127,7 +67715,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
67127
67715
  /**
67128
67716
  * (Controls synchronization between different bindings which refer to the same data for the case data changes
67129
67717
  * in one binding. Must be set to 'None' which means bindings are not synchronized at all; all other values
67130
- * are not supported and lead to an error.) **deprecated:** As of version 1.110.0, this parameter is optional;
67718
+ * are not supported and lead to an error.) **deprecated:** As of Version 1.110.0, this parameter is optional;
67131
67719
  * see also {@link https://ui5.sap.com/#/topic/648e360fa22d46248ca783dc6eb44531 Data Reuse}
67132
67720
  */
67133
67721
  synchronizationMode?: string;
@@ -67136,6 +67724,11 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
67136
67724
  * is used. Valid update group IDs are `undefined`, '$auto', '$direct' or an application group ID.
67137
67725
  */
67138
67726
  updateGroupId?: string;
67727
+ /**
67728
+ * Whether the XMLHttpRequest is called with `withCredentials`, so that user credentials are included in
67729
+ * cross-origin requests by the browser (@experimental as of Version 1.117.0)
67730
+ */
67731
+ withCredentials?: boolean;
67139
67732
  }
67140
67733
  );
67141
67734
 
@@ -67647,8 +68240,9 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
67647
68240
  * key is omitted, for collection-valued navigation properties, all keys are present, the key-value
67648
68241
  * pairs are encoded via encodeURIComponent.
67649
68242
  *
67650
- * @returns A promise resolving when the delete succeeded, and rejecting with an instance of Error otherwise.
67651
- * In the latter case the HTTP status code of the response is given in the error's property `status`.
68243
+ * @returns A promise which is resolved without a defined result when the delete succeeded, or rejected
68244
+ * with an instance of Error otherwise. In the latter case the HTTP status code of the response is given
68245
+ * in the error's property `status`.
67652
68246
  */
67653
68247
  delete(
67654
68248
  /**
@@ -67668,7 +68262,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
67668
68262
  * *` header); otherwise we assume that it has already been deleted by someone else and report success
67669
68263
  */
67670
68264
  bRejectIfNotFound?: boolean
67671
- ): Promise<any>;
68265
+ ): Promise<void>;
67672
68266
  /**
67673
68267
  * @since 1.38.0
67674
68268
  *
@@ -67694,7 +68288,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
67694
68288
  /**
67695
68289
  * The function to call when the event occurs
67696
68290
  */
67697
- fnFunction: Function,
68291
+ fnFunction: (evt: ODataModel$DataReceivedEvent) => void,
67698
68292
  /**
67699
68293
  * Object on which to call the given function
67700
68294
  */
@@ -67711,7 +68305,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
67711
68305
  /**
67712
68306
  * The function to call when the event occurs
67713
68307
  */
67714
- fnFunction: Function,
68308
+ fnFunction: (evt: ODataModel$DataRequestedEvent) => void,
67715
68309
  /**
67716
68310
  * Object on which to call the given function
67717
68311
  */
@@ -67976,7 +68570,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
67976
68570
  * A context in this model which must point to a non-contained OData entity
67977
68571
  */
67978
68572
  oEntityContext: Context
67979
- ): Promise<any>;
68573
+ ): Promise<string>;
67980
68574
  /**
67981
68575
  * @since 1.107.0
67982
68576
  *
@@ -68036,15 +68630,15 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
68036
68630
  * {@link #resetChanges} can be used to reset all pending changes instead. After that, or when the promise
68037
68631
  * returned by this method is fulfilled, {@link #hasPendingChanges} will not report pending changes anymore.
68038
68632
  *
68039
- * @returns A promise on the outcome of the HTTP request resolving with `undefined`; it is rejected with
68040
- * an error if the batch request itself fails
68633
+ * @returns A promise which is resolved without a defined result on the outcome of the HTTP request, or
68634
+ * rejected with an error if the batch request itself fails
68041
68635
  */
68042
68636
  submitBatch(
68043
68637
  /**
68044
68638
  * A valid group ID as specified in {@link sap.ui.model.odata.v4.ODataModel}.
68045
68639
  */
68046
68640
  sGroupId: string
68047
- ): Promise<undefined>;
68641
+ ): Promise<void>;
68048
68642
  /**
68049
68643
  * @since 1.37.0
68050
68644
  *
@@ -68055,42 +68649,99 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
68055
68649
  toString(): string;
68056
68650
  }
68057
68651
 
68058
- export interface ODataModel$DataReceivedEventParameters {}
68652
+ export interface ODataModel$DataReceivedEventParameters {
68653
+ /**
68654
+ * An empty data object if a back-end request succeeds
68655
+ */
68656
+ data?: object;
68657
+
68658
+ /**
68659
+ * The error object if a back-end request failed.
68660
+ */
68661
+ error?: Error;
68662
+
68663
+ /**
68664
+ * The absolute path to the entity which caused the event. The path is only provided for additional property
68665
+ * requests; for other requests it is `undefined`.
68666
+ */
68667
+ path?: string;
68668
+ }
68059
68669
 
68060
- export type ODataModel$DataReceivedEvent = Event<ODataModel$DataReceivedEventParameters>;
68670
+ export type ODataModel$DataReceivedEvent = Event<
68671
+ ODataModel$DataReceivedEventParameters,
68672
+ ODataModel
68673
+ >;
68061
68674
 
68062
- export interface ODataModel$DataRequestedEventParameters {}
68675
+ export interface ODataModel$DataRequestedEventParameters {
68676
+ /**
68677
+ * The absolute path to the entity which caused the event. The path is only provided for additional property
68678
+ * requests; for other requests it is `undefined`.
68679
+ */
68680
+ path?: string;
68681
+ }
68063
68682
 
68064
- export type ODataModel$DataRequestedEvent = Event<ODataModel$DataRequestedEventParameters>;
68683
+ export type ODataModel$DataRequestedEvent = Event<
68684
+ ODataModel$DataRequestedEventParameters,
68685
+ ODataModel
68686
+ >;
68065
68687
 
68066
68688
  export interface ODataModel$ParseErrorEventParameters
68067
68689
  extends Model$ParseErrorEventParameters {}
68068
68690
 
68069
- export type ODataModel$ParseErrorEvent = Event<ODataModel$ParseErrorEventParameters>;
68691
+ export type ODataModel$ParseErrorEvent = Event<
68692
+ ODataModel$ParseErrorEventParameters,
68693
+ ODataModel
68694
+ >;
68070
68695
 
68071
68696
  export interface ODataModel$PropertyChangeEventParameters
68072
- extends Model$PropertyChangeEventParameters {}
68697
+ extends Model$PropertyChangeEventParameters {
68698
+ /**
68699
+ * A promise on the outcome of the PATCH request, much like {@link sap.ui.model.odata.v4.Context#setProperty }
68700
+ * provides it for `bRetry === true`; missing in case there is no PATCH
68701
+ */
68702
+ promise?: Promise<void>;
68073
68703
 
68074
- export type ODataModel$PropertyChangeEvent = Event<ODataModel$PropertyChangeEventParameters>;
68704
+ /**
68705
+ * The property binding's {@link sap.ui.model.Binding#getResolvedPath resolved path}
68706
+ */
68707
+ resolvedPath?: string;
68708
+ }
68709
+
68710
+ export type ODataModel$PropertyChangeEvent = Event<
68711
+ ODataModel$PropertyChangeEventParameters,
68712
+ ODataModel
68713
+ >;
68075
68714
 
68076
68715
  export interface ODataModel$RequestCompletedEventParameters
68077
68716
  extends Model$RequestCompletedEventParameters {}
68078
68717
 
68079
- export type ODataModel$RequestCompletedEvent = Event<ODataModel$RequestCompletedEventParameters>;
68718
+ export type ODataModel$RequestCompletedEvent = Event<
68719
+ ODataModel$RequestCompletedEventParameters,
68720
+ ODataModel
68721
+ >;
68080
68722
 
68081
68723
  export interface ODataModel$RequestFailedEventParameters
68082
68724
  extends Model$RequestFailedEventParameters {}
68083
68725
 
68084
- export type ODataModel$RequestFailedEvent = Event<ODataModel$RequestFailedEventParameters>;
68726
+ export type ODataModel$RequestFailedEvent = Event<
68727
+ ODataModel$RequestFailedEventParameters,
68728
+ ODataModel
68729
+ >;
68085
68730
 
68086
68731
  export interface ODataModel$RequestSentEventParameters
68087
68732
  extends Model$RequestSentEventParameters {}
68088
68733
 
68089
- export type ODataModel$RequestSentEvent = Event<ODataModel$RequestSentEventParameters>;
68734
+ export type ODataModel$RequestSentEvent = Event<
68735
+ ODataModel$RequestSentEventParameters,
68736
+ ODataModel
68737
+ >;
68090
68738
 
68091
68739
  export interface ODataModel$SessionTimeoutEventParameters {}
68092
68740
 
68093
- export type ODataModel$SessionTimeoutEvent = Event<ODataModel$SessionTimeoutEventParameters>;
68741
+ export type ODataModel$SessionTimeoutEvent = Event<
68742
+ ODataModel$SessionTimeoutEventParameters,
68743
+ ODataModel
68744
+ >;
68094
68745
  }
68095
68746
 
68096
68747
  declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
@@ -68312,22 +68963,22 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
68312
68963
  * Refreshes the binding and returns a promise to wait for it. See {@link #refresh} for details. Use {@link #refresh }
68313
68964
  * if you do not need the promise.
68314
68965
  *
68315
- * @returns A promise which resolves without a defined result when the refresh is finished and rejects with
68316
- * an instance of `Error` if the refresh failed
68966
+ * @returns A promise which is resolved without a defined result when the refresh is finished, or rejected
68967
+ * with an error if the refresh failed
68317
68968
  */
68318
68969
  requestRefresh(
68319
68970
  /**
68320
68971
  * The group ID to be used
68321
68972
  */
68322
68973
  sGroupId?: string
68323
- ): Promise<any>;
68974
+ ): Promise<void>;
68324
68975
  /**
68325
68976
  * @since 1.69
68326
68977
  *
68327
68978
  * Requests the value of the property binding.
68328
68979
  *
68329
- * @returns A promise resolving with the resulting value or `undefined` if it could not be determined, or
68330
- * rejecting in case of an error
68980
+ * @returns A promise resolved with the resulting value or `undefined` if it could not be determined, or
68981
+ * rejected in case of an error
68331
68982
  */
68332
68983
  requestValue(): Promise<any | undefined>;
68333
68984
  /**
@@ -68343,7 +68994,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
68343
68994
  * list model is this binding's model, this flag has no effect. Supported since 1.68.0
68344
68995
  */
68345
68996
  bAutoExpandSelect?: boolean
68346
- ): Promise<any>;
68997
+ ): Promise<Record<string, object>>;
68347
68998
  /**
68348
68999
  * @since 1.47.0
68349
69000
  *
@@ -68352,7 +69003,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
68352
69003
  * @returns A promise that is resolved with the type of the value list. It is rejected if the property cannot
68353
69004
  * be found in the metadata.
68354
69005
  */
68355
- requestValueListType(): Promise<any>;
69006
+ requestValueListType(): Promise<ValueListType | keyof typeof ValueListType>;
68356
69007
  /**
68357
69008
  * @since 1.40.1
68358
69009
  *
@@ -68362,7 +69013,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
68362
69013
  * @returns A promise which is resolved without a defined result as soon as all changes in the binding itself
68363
69014
  * and all dependent bindings are canceled (since 1.72.0)
68364
69015
  */
68365
- resetChanges(): Promise<any>;
69016
+ resetChanges(): Promise<void>;
68366
69017
  /**
68367
69018
  * @since 1.37.0
68368
69019
  *
@@ -68445,17 +69096,32 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
68445
69096
  export interface ODataPropertyBinding$ChangeEventParameters
68446
69097
  extends Binding$ChangeEventParameters {}
68447
69098
 
68448
- export type ODataPropertyBinding$ChangeEvent = Event<ODataPropertyBinding$ChangeEventParameters>;
69099
+ export type ODataPropertyBinding$ChangeEvent = Event<
69100
+ ODataPropertyBinding$ChangeEventParameters,
69101
+ ODataPropertyBinding
69102
+ >;
68449
69103
 
68450
69104
  export interface ODataPropertyBinding$DataReceivedEventParameters
68451
- extends Binding$DataReceivedEventParameters {}
69105
+ extends Binding$DataReceivedEventParameters {
69106
+ /**
69107
+ * The error object if a back-end request failed. If there are multiple failed back-end requests, the error
69108
+ * of the first one is provided.
69109
+ */
69110
+ error?: Error;
69111
+ }
68452
69112
 
68453
- export type ODataPropertyBinding$DataReceivedEvent = Event<ODataPropertyBinding$DataReceivedEventParameters>;
69113
+ export type ODataPropertyBinding$DataReceivedEvent = Event<
69114
+ ODataPropertyBinding$DataReceivedEventParameters,
69115
+ ODataPropertyBinding
69116
+ >;
68454
69117
 
68455
69118
  export interface ODataPropertyBinding$DataRequestedEventParameters
68456
69119
  extends Binding$DataRequestedEventParameters {}
68457
69120
 
68458
- export type ODataPropertyBinding$DataRequestedEvent = Event<ODataPropertyBinding$DataRequestedEventParameters>;
69121
+ export type ODataPropertyBinding$DataRequestedEvent = Event<
69122
+ ODataPropertyBinding$DataRequestedEventParameters,
69123
+ ODataPropertyBinding
69124
+ >;
68459
69125
  }
68460
69126
 
68461
69127
  declare module "sap/ui/model/odata/v4/ODataUtils" {
@@ -80769,6 +81435,8 @@ declare namespace sap {
80769
81435
 
80770
81436
  "sap/ui/core/LayoutData": undefined;
80771
81437
 
81438
+ "sap/ui/core/Lib": undefined;
81439
+
80772
81440
  "sap/ui/core/library": undefined;
80773
81441
 
80774
81442
  "sap/ui/core/ListItem": undefined;
@@ -80877,6 +81545,8 @@ declare namespace sap {
80877
81545
 
80878
81546
  "sap/ui/core/theming/ThemeHelper": undefined;
80879
81547
 
81548
+ "sap/ui/core/theming/ThemeManager": undefined;
81549
+
80880
81550
  "sap/ui/core/Title": undefined;
80881
81551
 
80882
81552
  "sap/ui/core/tmpl/DOMAttribute": undefined;