@openui5/types 1.143.1 → 1.145.0

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.
@@ -279,7 +279,7 @@ declare namespace sap {
279
279
  "sap/ui/thirdparty/qunit-2": undefined;
280
280
  }
281
281
  }
282
- // For Library Version: 1.143.1
282
+ // For Library Version: 1.145.0
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -1471,8 +1471,8 @@ declare module "sap/base/i18n/ResourceBundle" {
1471
1471
  bundleName?: string;
1472
1472
  /**
1473
1473
  * Optional locale (aka 'language tag') to load the texts for. Can either be a BCP47 language tag or a JDK
1474
- * compatible locale string (e.g. "en-GB", "en_GB" or "en"). Defaults to the current session locale if `sap.ui.getCore`
1475
- * is available, otherwise to the provided `fallbackLocale`
1474
+ * compatible locale string (e.g. "en-GB", "en_GB" or "en"). Defaults to the current session locale ({@link module:sap/base/i18n/Localization.getLanguage Localization.getLanguage})
1475
+ * if available, otherwise to the provided `fallbackLocale`
1476
1476
  */
1477
1477
  locale?: string;
1478
1478
  /**
@@ -4971,7 +4971,7 @@ declare module "sap/ui/core/Messaging" {
4971
4971
  import ManagedObject from "sap/ui/base/ManagedObject";
4972
4972
 
4973
4973
  /**
4974
- * Messaging provides a central place for managing `sap.ui.core.message.Messages`.
4974
+ * Messaging provides a central place for managing `sap.ui.core.message.Message`s.
4975
4975
  *
4976
4976
  * @since 1.118.0
4977
4977
  */
@@ -4981,7 +4981,7 @@ declare module "sap/ui/core/Messaging" {
4981
4981
  */
4982
4982
  addMessages(
4983
4983
  /**
4984
- * Array of sap.ui.core.message.Message or single sap.ui.core.message.Message
4984
+ * Array of `Message` or single `Message`
4985
4985
  */
4986
4986
  vMessages: Message | Message[]
4987
4987
  ): void;
@@ -5840,6 +5840,8 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
5840
5840
 
5841
5841
  import UpdateMethod from "sap/ui/model/odata/UpdateMethod";
5842
5842
 
5843
+ import { Source } from "sap/ui/model/odata/v2/ODataAnnotations";
5844
+
5843
5845
  import Context from "sap/ui/model/Context";
5844
5846
 
5845
5847
  import ODataContextBinding from "sap/ui/model/odata/v2/ODataContextBinding";
@@ -5864,8 +5866,6 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
5864
5866
 
5865
5867
  import Event from "sap/ui/base/Event";
5866
5868
 
5867
- import { Source } from "sap/ui/model/odata/v2/ODataAnnotations";
5868
-
5869
5869
  /**
5870
5870
  * The error object passed to the retry after callback.
5871
5871
  *
@@ -6097,7 +6097,16 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6097
6097
  *
6098
6098
  * @returns A promise that resolves with an array containing information about the initially loaded annotations
6099
6099
  */
6100
- annotationsLoaded(): Promise<any>;
6100
+ annotationsLoaded(): Promise<
6101
+ Array<
6102
+ | {
6103
+ source: Source;
6104
+
6105
+ data: any;
6106
+ }
6107
+ | Error
6108
+ >
6109
+ >;
6101
6110
  /**
6102
6111
  * Attaches event handler `fnFunction` to the `annotationsFailed` event of this `sap.ui.model.odata.v2.ODataModel`.
6103
6112
  *
@@ -6529,7 +6538,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6529
6538
  /**
6530
6539
  * A context object for the new binding
6531
6540
  */
6532
- oContext?: object,
6541
+ oContext?: Context,
6533
6542
  /**
6534
6543
  * Map of optional parameters for the binding
6535
6544
  */
@@ -6778,7 +6787,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6778
6787
  */
6779
6788
  adjustDeepPath?: Function;
6780
6789
  /**
6781
- * ID of the `ChangeSet` that this request belongs to
6790
+ * ID of the change set that this request belongs to
6782
6791
  */
6783
6792
  changeSetId?: string;
6784
6793
  /**
@@ -6801,7 +6810,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6801
6810
  * - the HTTP method used for the function import is "POST",
6802
6811
  * - the function import returns a single entity,
6803
6812
  * - the back-end service must support the "Content-ID" header,
6804
- * - the back end must allow GET requests relative to this content ID outside the changeset within the
6813
+ * - the back end must allow GET requests relative to this content ID outside the change set within the
6805
6814
  * `$batch` request. The success and error callback functions are called only once, even if there
6806
6815
  * are two requests in the `$batch` related to a single call of {@link #callFunction}.
6807
6816
  * - If both requests succeed, the success callback is called with the merged data of the POST and the
@@ -6847,7 +6856,13 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6847
6856
  */
6848
6857
  batchGroupId?: string;
6849
6858
  }
6850
- ): object;
6859
+ ):
6860
+ | {
6861
+ contextCreated: () => Promise<Context>;
6862
+
6863
+ abort: () => void;
6864
+ }
6865
+ | undefined;
6851
6866
  /**
6852
6867
  * Whether the canonical requests calculation is switched on, see the `canonicalRequests` parameter of the
6853
6868
  * model constructor.
@@ -6914,7 +6929,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6914
6929
  */
6915
6930
  groupId?: string;
6916
6931
  /**
6917
- * ID of the `ChangeSet` that this request should belong to
6932
+ * ID of the change set that this request should belong to
6918
6933
  */
6919
6934
  changeSetId?: string;
6920
6935
  /**
@@ -6923,7 +6938,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6923
6938
  */
6924
6939
  refreshAfterChange?: boolean;
6925
6940
  }
6926
- ): object;
6941
+ ): {
6942
+ abort: () => void;
6943
+ };
6927
6944
  /**
6928
6945
  * Creates a binding context for the given path.
6929
6946
  *
@@ -6948,7 +6965,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6948
6965
  /**
6949
6966
  * Binding context
6950
6967
  */
6951
- oContext?: object,
6968
+ oContext?: Context,
6952
6969
  /**
6953
6970
  * Map which contains additional parameters for the binding
6954
6971
  */
@@ -6975,7 +6992,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
6975
6992
  * The function to be called when the context has been created. The parameter of the callback function is
6976
6993
  * the newly created binding context, an instance of {@link sap.ui.model.odata.v2.Context}.
6977
6994
  */
6978
- fnCallBack?: Function,
6995
+ fnCallBack?: (p1: Context) => void,
6979
6996
  /**
6980
6997
  * Whether to reload data
6981
6998
  */
@@ -7004,7 +7021,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7004
7021
  * The parameter `expand` is supported since 1.78.0. If this parameter is set, the given navigation properties
7005
7022
  * are expanded automatically with the same $batch request in which the POST request for the creation is
7006
7023
  * contained. Ensure that the batch mode is used and the back-end service supports GET requests relative
7007
- * to a content ID outside the changeset. The success and error callback functions are called only once,
7024
+ * to a content ID outside the change set. The success and error callback functions are called only once,
7008
7025
  * even if there are two requests in the `$batch` related to a single call of {@link #createEntry}:
7009
7026
  *
7010
7027
  * - a POST request for creating an entity,
@@ -7050,7 +7067,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7050
7067
  */
7051
7068
  batchGroupId?: string;
7052
7069
  /**
7053
- * The ID of the `ChangeSet` that this request should belong to
7070
+ * The ID of the change set that this request should belong to
7054
7071
  */
7055
7072
  changeSetId?: string;
7056
7073
  /**
@@ -7073,7 +7090,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7073
7090
  * GET request. **Note:** The following prerequisites must be fulfilled:
7074
7091
  * - batch mode must be enabled; see constructor parameter `useBatch`,
7075
7092
  * - the back-end service must support the "Content-ID" header,
7076
- * - the back end must allow GET requests relative to this content ID outside the changeset within the
7093
+ * - the back end must allow GET requests relative to this content ID outside the change set within the
7077
7094
  * `$batch` request.
7078
7095
  */
7079
7096
  expand?: string;
@@ -7127,7 +7144,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7127
7144
  /**
7128
7145
  * Object containing at least all the key properties of the entity type
7129
7146
  */
7130
- oKeyProperties: object
7147
+ oKeyProperties: Record<string, string>
7131
7148
  ): string;
7132
7149
  /**
7133
7150
  * Deletes a created entry from the request queue and from the model.
@@ -7409,7 +7426,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7409
7426
  /**
7410
7427
  * The optional context which is used with the `sPath` to retrieve the requested data.
7411
7428
  */
7412
- oContext?: object,
7429
+ oContext?: Context,
7413
7430
  /**
7414
7431
  * This parameter should be set when a URI or custom parameter with a `$expand` system query option was
7415
7432
  * used to retrieve associated entries embedded. If set to `true` then the `getProperty` function returns
@@ -7469,7 +7486,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7469
7486
  *
7470
7487
  * @returns The header map
7471
7488
  */
7472
- getHeaders(): object;
7489
+ getHeaders(): Record<string, any>;
7473
7490
  /**
7474
7491
  * Returns the key part for the given the canonical entry URI, model context or data object or `undefined`
7475
7492
  * when the `vValue` can't be interpreted.
@@ -7633,7 +7650,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7633
7650
  /**
7634
7651
  * The context if available to access the property value
7635
7652
  */
7636
- oContext?: object
7653
+ oContext?: Context
7637
7654
  ): any;
7638
7655
  /**
7639
7656
  * Returns the pending changes in this model.
@@ -7671,7 +7688,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7671
7688
  /**
7672
7689
  * Context if available to access the property value
7673
7690
  */
7674
- oContext?: object,
7691
+ oContext?: Context,
7675
7692
  /**
7676
7693
  * **Deprecated as of version 1.41.0**, use {@link #getObject} function with 'select' and 'expand' parameters
7677
7694
  * instead. Whether entities for navigation properties of this property which have been read via `$expand`
@@ -7771,7 +7788,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7771
7788
  * A function which can be used to restrict invalidation to specific entries, gets the entity key and object
7772
7789
  * as parameters and should return true for entities to invalidate.
7773
7790
  */
7774
- fnCheckEntry?: Function
7791
+ fnCheckEntry?: (p1: string, p2: object) => boolean
7775
7792
  ): void;
7776
7793
  /**
7777
7794
  * Invalidate all entries of the given entity type in the model data.
@@ -7825,7 +7842,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7825
7842
  * @returns A promise resolving with `true` if the OData V2 annotation "message-scope-supported" on the
7826
7843
  * `EntityContainer` is set to `true`
7827
7844
  */
7828
- messageScopeSupported(): Promise<any>;
7845
+ messageScopeSupported(): Promise<boolean>;
7829
7846
  /**
7830
7847
  * Returns a promise for the loaded state of the metadata.
7831
7848
  *
@@ -7863,7 +7880,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7863
7880
  * loading the annotations fails.
7864
7881
  */
7865
7882
  bRejectOnFailure?: boolean
7866
- ): Promise<any>;
7883
+ ): Promise<void>;
7867
7884
  /**
7868
7885
  * Trigger a `GET` request to the OData service that was specified in the model constructor.
7869
7886
  *
@@ -7885,7 +7902,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7885
7902
  /**
7886
7903
  * If specified, `sPath` has to be relative to the path given with the context.
7887
7904
  */
7888
- context?: object;
7905
+ context?: Context;
7889
7906
  /**
7890
7907
  * A map containing the parameters that will be passed as query strings
7891
7908
  */
@@ -7925,7 +7942,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7925
7942
  */
7926
7943
  updateAggregatedMessages?: boolean;
7927
7944
  }
7928
- ): object;
7945
+ ): {
7946
+ abort: () => void;
7947
+ };
7929
7948
  /**
7930
7949
  * Refresh the model.
7931
7950
  *
@@ -7969,17 +7988,19 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7969
7988
  /**
7970
7989
  * Callback function which is called when the data has been successfully retrieved.
7971
7990
  */
7972
- fnSuccess?: Function,
7991
+ fnSuccess?: (p1: object, p2: object) => void,
7973
7992
  /**
7974
7993
  * Callback function which is called when the request failed. The handler can have the parameter: oError
7975
7994
  * which contains additional error information.
7976
7995
  */
7977
- fnError?: Function,
7996
+ fnError?: (p1: object) => void,
7978
7997
  /**
7979
7998
  * Whether the request should be sent asynchronously
7980
7999
  */
7981
8000
  bAsync?: boolean
7982
- ): object;
8001
+ ): {
8002
+ abort: () => void;
8003
+ };
7983
8004
  /**
7984
8005
  * Trigger a `DELETE` request to the OData service that was specified in the model constructor.
7985
8006
  *
@@ -7999,7 +8020,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
7999
8020
  /**
8000
8021
  * If specified, `sPath` has to be relative to the path given with the context.
8001
8022
  */
8002
- context?: object;
8023
+ context?: Context;
8003
8024
  /**
8004
8025
  * A callback function which is called when the data has been successfully retrieved. The handler can have
8005
8026
  * the following parameters: `oData` and `response`.
@@ -8032,7 +8053,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
8032
8053
  */
8033
8054
  groupId?: string;
8034
8055
  /**
8035
- * ID of the `ChangeSet` that this request should belong to
8056
+ * ID of the change set that this request should belong to
8036
8057
  */
8037
8058
  changeSetId?: string;
8038
8059
  /**
@@ -8041,7 +8062,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
8041
8062
  */
8042
8063
  refreshAfterChange?: boolean;
8043
8064
  }
8044
- ): object;
8065
+ ): {
8066
+ abort: () => void;
8067
+ };
8045
8068
  /**
8046
8069
  * Resets pending changes and aborts corresponding requests.
8047
8070
  *
@@ -8077,14 +8100,14 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
8077
8100
  * Whether to delete the entities created via {@link #createEntry} or {@link #callFunction}; since 1.95.0
8078
8101
  */
8079
8102
  bDeleteCreatedEntities?: boolean
8080
- ): Promise<any>;
8103
+ ): Promise<void>;
8081
8104
  /**
8082
8105
  * Returns a promise, which will resolve with the security token as soon as it is available.
8083
8106
  *
8084
8107
  *
8085
8108
  * @returns A promise on the security token
8086
8109
  */
8087
- securityTokenAvailable(): Promise<any>;
8110
+ securityTokenAvailable(): Promise<string>;
8088
8111
  /**
8089
8112
  * Definition of batch groups per entity type for two-way binding changes.
8090
8113
  *
@@ -8170,7 +8193,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
8170
8193
  /**
8171
8194
  * The header name/value map.
8172
8195
  */
8173
- mHeaders: object
8196
+ mHeaders: Record<string, string>
8174
8197
  ): void;
8175
8198
  /**
8176
8199
  * Sets this model's message scope.
@@ -8328,7 +8351,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
8328
8351
  */
8329
8352
  merge?: boolean;
8330
8353
  }
8331
- ): object;
8354
+ ): {
8355
+ abort: () => void;
8356
+ };
8332
8357
  /**
8333
8358
  * Trigger a `PUT/MERGE` request to the OData service that was specified in the model constructor.
8334
8359
  *
@@ -8391,7 +8416,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
8391
8416
  */
8392
8417
  groupId?: string;
8393
8418
  /**
8394
- * ID of the `ChangeSet` that this request should belong to
8419
+ * ID of the change set that this request should belong to
8395
8420
  */
8396
8421
  changeSetId?: string;
8397
8422
  /**
@@ -8400,7 +8425,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
8400
8425
  */
8401
8426
  refreshAfterChange?: boolean;
8402
8427
  }
8403
- ): object;
8428
+ ): {
8429
+ abort: () => void;
8430
+ };
8404
8431
  /**
8405
8432
  * Update all bindings.
8406
8433
  */
@@ -10207,14 +10234,15 @@ declare module "sap/ui/test/starter/config" {
10207
10234
  */
10208
10235
  export type CoverageConfiguration = {
10209
10236
  /**
10210
- * List of modules or packages that should be instrumented. If not given, all modules are instrumented.
10211
- * Default is null
10237
+ * A single module or package name, or a list of such names, that should be instrumented. If not given,
10238
+ * all modules are instrumented. Default is null
10212
10239
  */
10213
- only?: string[];
10240
+ only?: string | string[];
10214
10241
  /**
10215
- * List of modules or packages that never should be instrumented. Default is null
10242
+ * A single module or package name, or a list of such names, that never should be instrumented. Default
10243
+ * is null
10216
10244
  */
10217
- never?: string[];
10245
+ never?: string | string[];
10218
10246
 
10219
10247
  branchTracking?: boolean;
10220
10248
  /**
@@ -11437,6 +11465,8 @@ declare module "sap/ui/app/MockServer" {
11437
11465
  }
11438
11466
 
11439
11467
  declare module "sap/ui/base/DataType" {
11468
+ import { MetadataOptions } from "sap/ui/base/ManagedObject";
11469
+
11440
11470
  /**
11441
11471
  * Represents the type of properties in a `ManagedObject` class.
11442
11472
  *
@@ -11565,7 +11595,7 @@ declare module "sap/ui/base/DataType" {
11565
11595
  /**
11566
11596
  * Metadata of the property
11567
11597
  */
11568
- oProperty?: /* was: sap.ui.base.ManagedObject.MetaOptions.Property */ any
11598
+ oProperty?: MetadataOptions.Property
11569
11599
  ): DataType | undefined;
11570
11600
  /**
11571
11601
  * Registers an enum under the given name. With version 2.0, registering an enum becomes mandatory when
@@ -17692,6 +17722,18 @@ declare module "sap/ui/core/library" {
17692
17722
  */
17693
17723
  SingleSelect = "undefined",
17694
17724
  }
17725
+ /**
17726
+ * Interface for controls that represent a title.
17727
+ *
17728
+ * This marker interface can be implemented by controls that are semantically suitable to act as a title
17729
+ * or heading inside a toolbar.
17730
+ *
17731
+ * @since 1.144
17732
+ */
17733
+ export interface ITitle {
17734
+ __implements__sap_ui_core_ITitle: boolean;
17735
+ }
17736
+
17695
17737
  /**
17696
17738
  * Marker interface for controls that can be used in `content` aggregation of the `sap.m.Title` control.
17697
17739
  *
@@ -20575,7 +20617,7 @@ declare module "sap/ui/core/ComponentMetadata" {
20575
20617
  *
20576
20618
  * The configuration above can be accessed via `sample.Component.getMetadata().getCustomEntry("my.custom.config")`.
20577
20619
  *
20578
- * @deprecated As of version 1.27.1. Please use the sap.ui.core.ComponentMetadata#getManifestEntry
20620
+ * @deprecated As of version 1.27.1. without replacement.
20579
20621
  *
20580
20622
  * @returns custom Component configuration with the specified key.
20581
20623
  */
@@ -23870,7 +23912,7 @@ declare module "sap/ui/core/Core" {
23870
23912
  /**
23871
23913
  * Returns the registered element for the given ID, if any.
23872
23914
  *
23873
- * @deprecated As of version 1.1. use `sap.ui.core.Core.byId` instead!
23915
+ * @deprecated As of version 1.1. use `sap.ui.core.Core.prototype.byId` instead!
23874
23916
  *
23875
23917
  * @returns Element for the given ID or `undefined`
23876
23918
  */
@@ -27731,7 +27773,7 @@ declare module "sap/ui/core/Element" {
27731
27773
  /**
27732
27774
  * The dependent to add; if empty, nothing is inserted
27733
27775
  */
27734
- oDependent: UI5Element
27776
+ oDependent: ManagedObject
27735
27777
  ): this;
27736
27778
  /**
27737
27779
  * Adds some dragDropConfig to the aggregation {@link #getDragDropConfig dragDropConfig}.
@@ -28115,11 +28157,11 @@ declare module "sap/ui/core/Element" {
28115
28157
  * Gets content of aggregation {@link #getDependents dependents}.
28116
28158
  *
28117
28159
  * Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
28118
- * Element.
28160
+ * ManagedObject.
28119
28161
  *
28120
28162
  * @since 1.19
28121
28163
  */
28122
- getDependents(): UI5Element[];
28164
+ getDependents(): ManagedObject[];
28123
28165
  /**
28124
28166
  * Returns the best suitable DOM Element that represents this UI5 Element. By default the DOM Element with
28125
28167
  * the same ID as this Element is returned. Subclasses should override this method if the lookup via id
@@ -28292,8 +28334,8 @@ declare module "sap/ui/core/Element" {
28292
28334
  oCustomData: CustomData
28293
28335
  ): int;
28294
28336
  /**
28295
- * Checks for the provided `sap.ui.core.Element` in the aggregation {@link #getDependents dependents}. and
28296
- * returns its index if found or -1 otherwise.
28337
+ * Checks for the provided `sap.ui.base.ManagedObject` in the aggregation {@link #getDependents dependents}.
28338
+ * and returns its index if found or -1 otherwise.
28297
28339
  *
28298
28340
  * @since 1.19
28299
28341
  *
@@ -28303,7 +28345,7 @@ declare module "sap/ui/core/Element" {
28303
28345
  /**
28304
28346
  * The dependent whose index is looked for
28305
28347
  */
28306
- oDependent: UI5Element
28348
+ oDependent: ManagedObject
28307
28349
  ): int;
28308
28350
  /**
28309
28351
  * Checks for the provided `sap.ui.core.dnd.DragDropBase` in the aggregation {@link #getDragDropConfig dragDropConfig}.
@@ -28367,7 +28409,7 @@ declare module "sap/ui/core/Element" {
28367
28409
  /**
28368
28410
  * The dependent to insert; if empty, nothing is inserted
28369
28411
  */
28370
- oDependent: UI5Element,
28412
+ oDependent: ManagedObject,
28371
28413
  /**
28372
28414
  * The `0`-based index the dependent should be inserted at; for a negative value of `iIndex`, the dependent
28373
28415
  * is inserted at position 0; for a value greater than the current size of the aggregation, the dependent
@@ -28506,7 +28548,7 @@ declare module "sap/ui/core/Element" {
28506
28548
  *
28507
28549
  * @returns An array of the removed elements (might be empty)
28508
28550
  */
28509
- removeAllDependents(): UI5Element[];
28551
+ removeAllDependents(): ManagedObject[];
28510
28552
  /**
28511
28553
  * Removes all the controls from the aggregation {@link #getDragDropConfig dragDropConfig}.
28512
28554
  *
@@ -28540,8 +28582,8 @@ declare module "sap/ui/core/Element" {
28540
28582
  /**
28541
28583
  * The dependent to remove or its index or id
28542
28584
  */
28543
- vDependent: int | string | UI5Element
28544
- ): UI5Element | null;
28585
+ vDependent: int | string | ManagedObject
28586
+ ): ManagedObject | null;
28545
28587
  /**
28546
28588
  * Removes a dragDropConfig from the aggregation {@link #getDragDropConfig dragDropConfig}.
28547
28589
  *
@@ -28844,13 +28886,13 @@ declare module "sap/ui/core/Element" {
28844
28886
 
28845
28887
  /**
28846
28888
  * Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
28847
- * Element.
28889
+ * ManagedObject.
28848
28890
  *
28849
28891
  * @since 1.19
28850
28892
  */
28851
28893
  dependents?:
28852
- | UI5Element[]
28853
- | UI5Element
28894
+ | ManagedObject[]
28895
+ | ManagedObject
28854
28896
  | AggregationBindingInfo
28855
28897
  | `{${string}}`;
28856
28898
 
@@ -29311,7 +29353,7 @@ declare module "sap/ui/core/format/DateFormat" {
29311
29353
  * since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
29312
29354
  * in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
29313
29355
  * is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
29314
- * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link http://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems}
29356
+ * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
29315
29357
  */
29316
29358
  format?: string;
29317
29359
  /**
@@ -29426,7 +29468,7 @@ declare module "sap/ui/core/format/DateFormat" {
29426
29468
  * since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
29427
29469
  * in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
29428
29470
  * is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
29429
- * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See http://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems
29471
+ * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
29430
29472
  */
29431
29473
  format?: string;
29432
29474
  /**
@@ -29545,7 +29587,7 @@ declare module "sap/ui/core/format/DateFormat" {
29545
29587
  * A string containing pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into a pattern for
29546
29588
  * the used locale that matches the wanted symbols best. The symbols must be in canonical order, that is:
29547
29589
  * Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
29548
- * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See http://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems
29590
+ * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
29549
29591
  */
29550
29592
  format?: string;
29551
29593
  /**
@@ -29655,7 +29697,7 @@ declare module "sap/ui/core/format/DateFormat" {
29655
29697
  * since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
29656
29698
  * in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
29657
29699
  * is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
29658
- * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See http://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems
29700
+ * Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
29659
29701
  */
29660
29702
  format?: string;
29661
29703
  /**
@@ -31166,9 +31208,9 @@ declare module "sap/ui/core/Fragment" {
31166
31208
  * which returns the UI control tree defined inside the Fragments. When used within declarative Views, the
31167
31209
  * Fragment content is imported and seamlessly integrated into the View.
31168
31210
  *
31169
- * Fragments are used similar as sap.ui.core.mvc.Views, but Fragments do not have a Controller on their
31170
- * own (they may know one, though), they are not a Control, they are not part of the UI tree and they have
31171
- * no representation in HTML. By default, in contrast to declarative Views, they do not do anything to guarantee
31211
+ * Fragments are used similar as sap.ui.core.mvc.View, but Fragments do not have a Controller on their own
31212
+ * (they may know one, though), they are not a Control, they are not part of the UI tree and they have no
31213
+ * representation in HTML. By default, in contrast to declarative Views, they do not do anything to guarantee
31172
31214
  * ID uniqueness.
31173
31215
  *
31174
31216
  * But like Views they can be defined in several Formats (XML and JavaScript; support for other types can
@@ -35165,7 +35207,7 @@ declare module "sap/ui/core/LocaleData" {
35165
35207
  * that is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w/W), Day-Of-Week (E/e/c), Day (d/D),
35166
35208
  * Hour (h/H/k/K/), Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x)
35167
35209
  *
35168
- * See https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems
35210
+ * See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode - Available Formats}
35169
35211
  *
35170
35212
  * @since 1.46
35171
35213
  *
@@ -35179,11 +35221,12 @@ declare module "sap/ui/core/LocaleData" {
35179
35221
  sSkeleton: string,
35180
35222
  /**
35181
35223
  * is either a string which represents the symbol matching the greatest difference in the two dates to format
35182
- * or an object which contains key-value pairs. The value is always true. The key is one of the date field
35183
- * symbol groups whose value are different between the two dates. The key can only be set with 'Year', 'Quarter',
35184
- * 'Month', 'Week', 'Day', 'DayPeriod', 'Hour', 'Minute', or 'Second'.
35224
+ * or an object which contains key-value pairs. The value is always `true`. The key is one of the date field
35225
+ * symbol groups whose value are different between the two dates. The key can only be set with: `'Era',
35226
+ * 'Year', 'Quarter', 'Month', 'Week', 'Day', 'DayPeriod', 'Hour','Minute', 'Second'`. For more information,
35227
+ * see {@link https://unicode.org/reports/tr35/tr35-dates.html#element-intervalformats Unicode - Element intervalFormats}.
35185
35228
  */
35186
- vGreatestDiff: object | string,
35229
+ vGreatestDiff: DateFieldGroupsDifference | string,
35187
35230
  /**
35188
35231
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
35189
35232
  * or calculated from locale.
@@ -35960,6 +36003,54 @@ declare module "sap/ui/core/LocaleData" {
35960
36003
  */
35961
36004
  getWeekendStart(): int;
35962
36005
  }
36006
+ /**
36007
+ * Type which describes the difference in the date field groups of the two dates of an date time interval.
36008
+ * The keys are the names of the date field symbol groups. If one of them is set, the value should be set
36009
+ * to `true`.
36010
+ */
36011
+ export type DateFieldGroupsDifference = {
36012
+ /**
36013
+ * The era date field symbol group
36014
+ */
36015
+ Era?: boolean;
36016
+ /**
36017
+ * The year date field symbol group
36018
+ */
36019
+ Year?: boolean;
36020
+ /**
36021
+ * The quarter date field symbol group
36022
+ */
36023
+ Quarter?: boolean;
36024
+ /**
36025
+ * The month date field symbol group
36026
+ */
36027
+ Month?: boolean;
36028
+ /**
36029
+ * The week date field symbol group
36030
+ */
36031
+ Week?: boolean;
36032
+ /**
36033
+ * The day date field symbol group
36034
+ */
36035
+ Day?: boolean;
36036
+ /**
36037
+ * The day period date field symbol group
36038
+ */
36039
+ DayPeriod?: boolean;
36040
+ /**
36041
+ * The hour date field symbol group
36042
+ */
36043
+ Hour?: boolean;
36044
+ /**
36045
+ * The minute date field symbol group
36046
+ */
36047
+ Minute?: boolean;
36048
+ /**
36049
+ * The second date field symbol group
36050
+ */
36051
+ Second?: boolean;
36052
+ };
36053
+
35963
36054
  /**
35964
36055
  * A relative time pattern.
35965
36056
  */
@@ -36934,15 +37025,6 @@ declare module "sap/ui/core/message/MessageManager" {
36934
37025
  */
36935
37026
  constructor();
36936
37027
 
36937
- /**
36938
- * Add messages to Messaging
36939
- */
36940
- static addMessages(
36941
- /**
36942
- * Array of sap.ui.core.message.Message or single sap.ui.core.message.Message
36943
- */
36944
- vMessages: Message | Message[]
36945
- ): void;
36946
37028
  /**
36947
37029
  * Creates a new subclass of class sap.ui.core.message.MessageManager with name `sClassName` and enriches
36948
37030
  * it with the information contained in `oClassInfo`.
@@ -36968,23 +37050,32 @@ declare module "sap/ui/core/message/MessageManager" {
36968
37050
  FNMetaImpl?: Function
36969
37051
  ): Function;
36970
37052
  /**
36971
- * Get the MessageModel
37053
+ * Returns a metadata object for class sap.ui.core.message.MessageManager.
36972
37054
  *
36973
37055
  *
36974
- * @returns oMessageModel The Message Model
37056
+ * @returns Metadata object describing this class
36975
37057
  */
36976
- static getMessageModel(): MessageModel;
37058
+ static getMetadata(): Metadata;
36977
37059
  /**
36978
- * Returns a metadata object for class sap.ui.core.message.MessageManager.
37060
+ * Add messages to Messaging
37061
+ */
37062
+ addMessages(
37063
+ /**
37064
+ * Array of `Message` or single `Message`
37065
+ */
37066
+ vMessages: Message | Message[]
37067
+ ): void;
37068
+ /**
37069
+ * Get the MessageModel
36979
37070
  *
36980
37071
  *
36981
- * @returns Metadata object describing this class
37072
+ * @returns oMessageModel The Message Model
36982
37073
  */
36983
- static getMetadata(): Metadata;
37074
+ getMessageModel(): MessageModel;
36984
37075
  /**
36985
37076
  * Register MessageProcessor
36986
37077
  */
36987
- static registerMessageProcessor(
37078
+ registerMessageProcessor(
36988
37079
  /**
36989
37080
  * The MessageProcessor
36990
37081
  */
@@ -36996,7 +37087,7 @@ declare module "sap/ui/core/message/MessageManager" {
36996
37087
  * ManagedObjects, the Messaging attaches to these events and creates a `sap.ui.core.message.Message` (bHandleValidation=true)
36997
37088
  * for each of these errors and cancels the event bubbling.
36998
37089
  */
36999
- static registerObject(
37090
+ registerObject(
37000
37091
  /**
37001
37092
  * The sap.ui.base.ManagedObject
37002
37093
  */
@@ -37010,11 +37101,11 @@ declare module "sap/ui/core/message/MessageManager" {
37010
37101
  /**
37011
37102
  * Remove all messages
37012
37103
  */
37013
- static removeAllMessages(): void;
37104
+ removeAllMessages(): void;
37014
37105
  /**
37015
37106
  * Remove given Messages
37016
37107
  */
37017
- static removeMessages(
37108
+ removeMessages(
37018
37109
  /**
37019
37110
  * The message(s) to be removed.
37020
37111
  */
@@ -37023,7 +37114,7 @@ declare module "sap/ui/core/message/MessageManager" {
37023
37114
  /**
37024
37115
  * Deregister MessageProcessor
37025
37116
  */
37026
- static unregisterMessageProcessor(
37117
+ unregisterMessageProcessor(
37027
37118
  /**
37028
37119
  * The MessageProcessor
37029
37120
  */
@@ -37032,7 +37123,7 @@ declare module "sap/ui/core/message/MessageManager" {
37032
37123
  /**
37033
37124
  * Unregister ManagedObject
37034
37125
  */
37035
- static unregisterObject(
37126
+ unregisterObject(
37036
37127
  /**
37037
37128
  * The sap.ui.base.ManagedObject
37038
37129
  */
@@ -37043,7 +37134,7 @@ declare module "sap/ui/core/message/MessageManager" {
37043
37134
  *
37044
37135
  * The old ones will be removed, the new ones will be added.
37045
37136
  */
37046
- static updateMessages(
37137
+ updateMessages(
37047
37138
  /**
37048
37139
  * Array of old messages to be removed
37049
37140
  */
@@ -38611,15 +38702,15 @@ declare module "sap/ui/core/mvc/View" {
38611
38702
  */
38612
38703
  sViewType: string,
38613
38704
  /**
38614
- * declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be executed
38615
- * also for sync views. Please be aware that any kind of async processing (like Promises, XHR, etc) may
38616
- * break the view initialization and lead to unexpected results.
38705
+ * Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
38706
+ * used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
38707
+ * executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
38708
+ * etc) may break the view initialization and lead to unexpected results.
38617
38709
  */
38618
38710
  bSyncSupport: boolean,
38619
38711
  /**
38620
38712
  * on-demand preprocessor which enables developers to quickly activate the preprocessor for a view, by setting
38621
- * `preprocessors : { xml }`, for example. This should be false except for very special cases. There can
38622
- * only be one on-demand preprocessor per content type.
38713
+ * `preprocessors : { xml }`, for example. There can only be one on-demand preprocessor per content type.
38623
38714
  */
38624
38715
  bOnDemand?: boolean,
38625
38716
  /**
@@ -39872,9 +39963,10 @@ declare module "sap/ui/core/mvc/XMLView" {
39872
39963
  */
39873
39964
  sViewType: string,
39874
39965
  /**
39875
- * declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be executed
39876
- * also for sync views. Please be aware that any kind of async processing (like Promises, XHR, etc) may
39877
- * break the view initialization and lead to unexpected results.
39966
+ * Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
39967
+ * used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
39968
+ * executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
39969
+ * etc) may break the view initialization and lead to unexpected results.
39878
39970
  */
39879
39971
  bSyncSupport: boolean,
39880
39972
  /**
@@ -39917,9 +40009,10 @@ declare module "sap/ui/core/mvc/XMLView" {
39917
40009
  | string
39918
40010
  | ((p1: Object, p2: Preprocessor.ViewInfo, p3: object) => void),
39919
40011
  /**
39920
- * declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be executed
39921
- * also for sync views. Please be aware that any kind of async processing (like Promises, XHR, etc) may
39922
- * break the view initialization and lead to unexpected results.
40012
+ * Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
40013
+ * used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
40014
+ * executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
40015
+ * etc) may break the view initialization and lead to unexpected results.
39923
40016
  */
39924
40017
  bSyncSupport: boolean,
39925
40018
  /**
@@ -41067,7 +41160,8 @@ declare module "sap/ui/core/RenderManager" {
41067
41160
  /**
41068
41161
  * A class that handles the rendering of controls.
41069
41162
  *
41070
- * For the default rendering task of UI5, a shared RenderManager is created and owned by `sap.ui.core.Core`.
41163
+ * For the default rendering task of UI5, a shared RenderManager is created and owned by the framework.
41164
+ *
41071
41165
  * Controls or other code that want to render controls outside the default rendering task can create a private
41072
41166
  * instance of RenderManager by calling the {@link sap.ui.core.Core#createRenderManager sap.ui.getCore().createRenderManager() }
41073
41167
  * method. When such a private instance is no longer needed, it should be {@link #destroy destroyed}.
@@ -46833,8 +46927,6 @@ declare module "sap/ui/core/support/RuleEngineOpaExtension" {
46833
46927
  }
46834
46928
 
46835
46929
  declare module "sap/ui/core/theming/Parameters" {
46836
- import UI5Element from "sap/ui/core/Element";
46837
-
46838
46930
  /**
46839
46931
  * A helper used for (read-only) access to CSS parameters at runtime.
46840
46932
  */
@@ -46871,7 +46963,7 @@ declare module "sap/ui/core/theming/Parameters" {
46871
46963
  get(
46872
46964
  /**
46873
46965
  * the (array with) CSS parameter name(s) or an object containing the (array with) CSS parameter name(s),
46874
- * the scopeElement and a callback for async retrieval of parameters.
46966
+ * and a callback for async retrieval of parameters.
46875
46967
  */
46876
46968
  vName:
46877
46969
  | string
@@ -46881,22 +46973,12 @@ declare module "sap/ui/core/theming/Parameters" {
46881
46973
  * the (array with) CSS parameter name(s)
46882
46974
  */
46883
46975
  name: string | string[];
46884
- /**
46885
- * Element / control instance to take into account when looking for a parameter value. This can make a difference
46886
- * when a parameter value is overridden in a theme scope set via a CSS class.
46887
- */
46888
- scopeElement?: UI5Element;
46889
46976
  /**
46890
46977
  * If given, the callback is only executed in case there are still parameters pending and one or more of
46891
46978
  * the requested parameters is missing.
46892
46979
  */
46893
46980
  callback?: (p1: Value) => void;
46894
- },
46895
- /**
46896
- * Element / control instance to take into account when looking for a parameter value. This can make a difference
46897
- * when a parameter value is overridden in a theme scope set via a CSS class.
46898
- */
46899
- oElement?: UI5Element
46981
+ }
46900
46982
  ): Value;
46901
46983
  /**
46902
46984
  * Resets the CSS parameters which finally will reload the parameters the next time they are queried via
@@ -49963,7 +50045,7 @@ declare module "sap/ui/core/UIComponent" {
49963
50045
  * "controlId": "App",
49964
50046
  * "controlAggregation": "pages",
49965
50047
  * "viewNamespace": "myApplication.namespace",
49966
- * // If you are using the mobile library, you have to use an sap.m.Router, to get support for
50048
+ * // If you are using the mobile library, you have to use an sap.m.routing.Router, to get support for
49967
50049
  * // the controls sap.m.App, sap.m.SplitApp, sap.m.NavContainer and sap.m.SplitContainer.
49968
50050
  * "routerClass": "sap.m.routing.Router",
49969
50051
  * // What happens if no route matches the hash?
@@ -53417,7 +53499,144 @@ declare module "sap/ui/core/XMLComposite" {
53417
53499
  * sap.ui.core.Fragment
53418
53500
  * {@link https://ui5.sap.com/#/topic/b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
53419
53501
  */
53420
- constructor();
53502
+ constructor(
53503
+ /**
53504
+ * Initial settings for the new control
53505
+ */
53506
+ mSettings?: $XMLCompositeSettings
53507
+ );
53508
+ /**
53509
+ * XMLComposite is the base class for composite controls that use a XML fragment representation for their
53510
+ * visual parts. From a user perspective such controls appear as any other control, but internally the rendering
53511
+ * part is added as a fragment. The fragment that is used should appear in the same folder as the control's
53512
+ * JS implementation with the file extension `.control.xml`. The fragment's content can access the interface
53513
+ * data from the XMLComposite control via bindings. Currently only aggregations and properties can be used
53514
+ * with bindings inside a fragment. The exposed model that is used for internal bindings in the fragment
53515
+ * has the default name `$this`. The name will always start with an `$`. The metadata of the derived control
53516
+ * can define the alias with its metadata. A code example can be found below.
53517
+ *
53518
+ * As XMLComposites compose other controls, they are only invalidated and re-rendered if explicitly defined.
53519
+ * Additional metadata for invalidation can be given for properties and aggregation. The default invalidation
53520
+ * is `"none"`. Setting invalidate to `true` for properties and aggregations sets the complete XMLComposite
53521
+ * to invalidate and rerender.
53522
+ *
53523
+ * Example:
53524
+ * ```javascript
53525
+ *
53526
+ * XMLComposite.extend("sap.mylib.MyXMLComposite", {
53527
+ * metadata : {
53528
+ * library: "sap.mylib",
53529
+ * properties : {
53530
+ * text: { //changing this property will not re-render the XMLComposite
53531
+ * type: "string",
53532
+ * defaultValue: ""
53533
+ * },
53534
+ * title: { //changing this property will re-render the XMLComposite as it defines invalidate: true
53535
+ * type: "string",
53536
+ * defaultValue: "",
53537
+ * invalidate: true
53538
+ * },
53539
+ * value: { //changing this property will re-render the XMLComposite as it defines invalidate: true
53540
+ * type: "string",
53541
+ * defaultValue: "",
53542
+ * invalidate: true
53543
+ * }
53544
+ * },
53545
+ * defaultProperty : "text",
53546
+ * aggregations : {
53547
+ * items : {
53548
+ * type: "sap.ui.core.Control",
53549
+ * invalidate: true
53550
+ * },
53551
+ * header : {
53552
+ * type: "sap.mylib.FancyHeader",
53553
+ * multiple : false
53554
+ * }
53555
+ * },
53556
+ * defaultAggregation : "items"
53557
+ * events: {
53558
+ * outerEvent : {
53559
+ * parameters : {
53560
+ * opener : "sap.ui.core.Control"
53561
+ * }
53562
+ * }
53563
+ * }
53564
+ * },
53565
+ * //alias defaults to "this"
53566
+ * alias: "mycontrolroot" //inner bindings will use model name $mycontrolroot
53567
+ * //fragment defaults to {control name}.control.xml in this case sap.mylib.MyXMLComposite.control.xml
53568
+ * fragment: "sap.mylib.MyXMLCompositeOther.control.xml" //the name of the fragment
53569
+ * });
53570
+ * ```
53571
+ *
53572
+ *
53573
+ * Internally the XMLComposite instantiates and initializes the given fragment and stores the resulting
53574
+ * control in a hidden aggregation named `_content`. The fragment should only include one root element.
53575
+ *
53576
+ * Bindings of inner controls to the interface of the XMLComposite can be done with normal binding syntax.
53577
+ * Here properties are used as property bindings and aggregations are used as list bindings. Currently it
53578
+ * is not possible to bind associations in a fragment.
53579
+ *
53580
+ * Example:
53581
+ * ```javascript
53582
+ *
53583
+ * <core:FragmentDefinition xmlns:m="sap.m" xmlns:core="sap.ui.core">
53584
+ * <m:Text text="{$this>text}" visible="{= ${$this>text} !== ""}" />
53585
+ * </core:FragmentDefinition>
53586
+ * ```
53587
+ *
53588
+ * ```javascript
53589
+ *
53590
+ * <core:FragmentDefinition xmlns:m="sap.m" xmlns:core="sap.ui.core">
53591
+ * <m:VBox items="{path:"$this>texts", filters:{path:"text", operator:"Contains", value1:"Text"}, sorter:{path:"text", descending:true}}">
53592
+ * <m:Text text="{$this>text}" />
53593
+ * </m:VBox>
53594
+ * </core:FragmentDefinition>
53595
+ * ```
53596
+ *
53597
+ * ```javascript
53598
+ *
53599
+ * <core:FragmentDefinition xmlns:m="sap.m" xmlns:core="sap.ui.core">
53600
+ * <m:Button text="Press Me" press="handlePress"/>
53601
+ * </core:FragmentDefinition>
53602
+ * ```
53603
+ *
53604
+ *
53605
+ * All events handled within the fragment will be dispatched to the XMLComposite control. It is recommended
53606
+ * to follow this paradigm to allow reuse of a XMLComposite without any dependency to controller code of
53607
+ * the current embedding view.
53608
+ *
53609
+ *
53610
+ * ```javascript
53611
+ *
53612
+ * MyXMLComposite.prototype.handlePress = function() {
53613
+ * this.fireOuterEvent(); // passing on the event to the outer view
53614
+ * }
53615
+ * ```
53616
+ *
53617
+ *
53618
+ * **Note:** {@link https://ui5.sap.com/#/topic/b11d853a8e784db6b2d210ef57b0f7d7 Requiring modules in XML }
53619
+ * will result in side effects that might cause the XMLComposite to not work properly. We suggest you require
53620
+ * the needed modules inside the JavaScript coding of the class extending the XMLComposite.
53621
+ *
53622
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
53623
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
53624
+ * of the syntax of the settings object.
53625
+ * See:
53626
+ * sap.ui.core.Control
53627
+ * sap.ui.core.Fragment
53628
+ * {@link https://ui5.sap.com/#/topic/b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
53629
+ */
53630
+ constructor(
53631
+ /**
53632
+ * ID for the new control, generated automatically if no ID is given
53633
+ */
53634
+ sId?: string,
53635
+ /**
53636
+ * Initial settings for the new control
53637
+ */
53638
+ mSettings?: $XMLCompositeSettings
53639
+ );
53421
53640
 
53422
53641
  /**
53423
53642
  * Creates a new subclass of class sap.ui.core.XMLComposite with name `sClassName` and enriches it with
@@ -54909,6 +55128,13 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
54909
55128
  * @returns true if and only one or more properties are measure properties.
54910
55129
  */
54911
55130
  hasMeasures(): boolean;
55131
+ /**
55132
+ * Initialize binding. Fires a change if data is already available ($expand) or a refresh. If metadata is
55133
+ * not yet available, do nothing, method will be called again when metadata is loaded.
55134
+ *
55135
+ * The ODataModel will call this on all bindings as soon as the metadata was loaded
55136
+ */
55137
+ initialize(): void;
54912
55138
  /**
54913
55139
  * Determines if a given name refers to a measure property
54914
55140
  *
@@ -55066,6 +55292,8 @@ declare module "sap/ui/model/analytics/BatchResponseCollector" {
55066
55292
  *
55067
55293
  * Also handles clean-up after all responses (either success or error) have been collected. Instantiated
55068
55294
  * in AnalyticalBinding.prototype._executeBatchRequest()
55295
+ *
55296
+ * @deprecated As of version 1.144.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
55069
55297
  */
55070
55298
  export default class BatchResponseCollector {
55071
55299
  /**
@@ -57578,7 +57806,7 @@ declare module "sap/ui/model/Binding" {
57578
57806
  /**
57579
57807
  * The model instance to compare against
57580
57808
  */
57581
- oModel: object
57809
+ oModel: Model
57582
57810
  ): boolean;
57583
57811
  }
57584
57812
  /**
@@ -57989,6 +58217,8 @@ declare module "sap/ui/model/ClientListBinding" {
57989
58217
  declare module "sap/ui/model/ClientModel" {
57990
58218
  import Model from "sap/ui/model/Model";
57991
58219
 
58220
+ import Context from "sap/ui/model/Context";
58221
+
57992
58222
  import PropertyBinding from "sap/ui/model/PropertyBinding";
57993
58223
 
57994
58224
  import Metadata from "sap/ui/base/Metadata";
@@ -58056,7 +58286,7 @@ declare module "sap/ui/model/ClientModel" {
58056
58286
  /**
58057
58287
  * A context object for the new binding
58058
58288
  */
58059
- oContext?: object,
58289
+ oContext?: Context,
58060
58290
  /**
58061
58291
  * Map of optional parameters for the binding
58062
58292
  */
@@ -59182,22 +59412,23 @@ declare module "sap/ui/model/Context" {
59182
59412
  */
59183
59413
  getModel(): Model;
59184
59414
  /**
59185
- * Gets the (model dependent) object the context points to or the object with the given relative binding
59186
- * path
59415
+ * Gets the (model-dependent) object the context points to, or the object with the given relative binding
59416
+ * path.
59187
59417
  *
59188
59418
  *
59189
59419
  * @returns the context object
59190
59420
  */
59191
59421
  getObject(
59192
59422
  /**
59193
- * the binding path
59423
+ * the binding path as a string, or if an object is provided, it is treated as additional parameters (same
59424
+ * as `mParameters`)
59194
59425
  */
59195
- sPath?: string,
59426
+ vPath?: string | object,
59196
59427
  /**
59197
- * additional model specific parameters (optional)
59428
+ * additional model-specific parameters
59198
59429
  */
59199
59430
  mParameters?: object
59200
- ): object;
59431
+ ): any;
59201
59432
  /**
59202
59433
  * Getter for path of the context itself or a subpath
59203
59434
  *
@@ -59250,7 +59481,7 @@ declare module "sap/ui/model/ContextBinding" {
59250
59481
 
59251
59482
  mParameters?: object,
59252
59483
  /**
59253
- * object defining event handlers
59484
+ * **Deprecated as of version 1.144.0** - unused
59254
59485
  */
59255
59486
  oEvents?: object
59256
59487
  );
@@ -59408,9 +59639,18 @@ declare module "sap/ui/model/DataState" {
59408
59639
  * map only contains the changed properties.
59409
59640
  *
59410
59641
  *
59411
- * @returns The changed properties of the data state
59642
+ * @returns The changed properties and messages of the data state. Changed messages are located in the `messages`
59643
+ * property. They share the same object structure as the changed properties, but the values in this structure
59644
+ * are of type {@link sap.ui.core.message.Message}.
59412
59645
  */
59413
- getChanges(): object;
59646
+ getChanges(): Record<
59647
+ string,
59648
+ {
59649
+ oldValue: any;
59650
+
59651
+ value: any;
59652
+ }
59653
+ >;
59414
59654
  /**
59415
59655
  * Returns the array of this data state's current control messages.
59416
59656
  *
@@ -60149,17 +60389,55 @@ declare module "sap/ui/model/json/JSONModel" {
60149
60389
  * @returns Metadata object describing this class
60150
60390
  */
60151
60391
  static getMetadata(): Metadata;
60392
+ /**
60393
+ * Returns the value of the property for the given `sPath` and `oContext`.
60394
+ *
60395
+ * @deprecated As of version 1.145.0. use {@link #getProperty} instead
60396
+ *
60397
+ * @returns The value for the given `sPath` and `oContext`. If the property path derived from the given
60398
+ * `sPath` and `oContext` is absolute (starts with a "/") but does not lead to a property in the data structure,
60399
+ * `undefined` is returned. If the property `sPath` is not absolute, `null` is returned.
60400
+ */
60401
+ static getObject(
60402
+ /**
60403
+ * The path to the object you want to read
60404
+ */
60405
+ sPath: string,
60406
+ /**
60407
+ * The context that resolves the path
60408
+ */
60409
+ oContext?: Context
60410
+ ): any | null | undefined;
60411
+ /**
60412
+ * Returns the original value for the property with the given `sPath` and `oContext`.
60413
+ *
60414
+ * @deprecated As of version 1.145.0. use {@link #getProperty} instead
60415
+ *
60416
+ * @returns The value of the property for the given `sPath` and `oContext`. If the property path derived
60417
+ * from the given `sPath` and `oContext` is absolute (starts with a "/") but does not lead to a property
60418
+ * in the data structure, `undefined` is returned. If the property `sPath` is not absolute, `null` is returned.
60419
+ */
60420
+ static getOriginalProperty(
60421
+ /**
60422
+ * The path/name of the property
60423
+ */
60424
+ sPath: string,
60425
+ /**
60426
+ * Context for accessing the property value
60427
+ */
60428
+ oContext?: Context
60429
+ ): any | null | undefined;
60152
60430
  /**
60153
60431
  * Returns a Promise of the current data-loading state. Every currently running {@link sap.ui.model.json.JSONModel#loadData }
60154
60432
  * call is respected by the returned Promise. This also includes a potential loadData call from the JSONModel's
60155
60433
  * constructor in case a URL was given. The data-loaded Promise will resolve once all running requests have
60156
- * finished. Only request, which have been queued up to the point of calling this function will be respected
60434
+ * finished. Only requests, which have been queued up to the point of calling this function will be respected
60157
60435
  * by the returned Promise.
60158
60436
  *
60159
60437
  *
60160
60438
  * @returns a Promise, which resolves if all pending data-loading requests have finished
60161
60439
  */
60162
- dataLoaded(): Promise<any>;
60440
+ dataLoaded(): Promise<undefined>;
60163
60441
  /**
60164
60442
  * Serializes the current JSON data of the model into a string.
60165
60443
  *
@@ -60168,7 +60446,7 @@ declare module "sap/ui/model/json/JSONModel" {
60168
60446
  */
60169
60447
  getJSON(): string;
60170
60448
  /**
60171
- * Returns the value for the property with the given path and context.
60449
+ * Returns the value for the given `sPath` and `oContext`.
60172
60450
  *
60173
60451
  *
60174
60452
  * @returns The value of the property. If the property is not found, `null` or `undefined` is returned.
@@ -61648,9 +61926,9 @@ declare module "sap/ui/model/Model" {
61648
61926
  */
61649
61927
  mParameters?: object,
61650
61928
  /**
61651
- * Event handlers can be passed to the binding ({change:myHandler})
61929
+ * **Deprecated as of version 1.144.0** - unused
61652
61930
  */
61653
- oEvents?: object
61931
+ oEvents?: Record<string, Function>
61654
61932
  ): ContextBinding;
61655
61933
  /**
61656
61934
  *
@@ -61975,16 +62253,19 @@ declare module "sap/ui/model/Model" {
61975
62253
  */
61976
62254
  getMetaModel(): MetaModel | undefined;
61977
62255
  /**
62256
+ * Returns the value of the property for the given `sPath` and `oContext`.
61978
62257
  *
61979
- * @returns The value for the given path/context or `undefined` if data could not be found
62258
+ *
62259
+ * @returns The the value of the property for the given path/context or `undefined` if data could not be
62260
+ * found
61980
62261
  */
61981
62262
  getObject(
61982
62263
  /**
61983
- * Path to where to read the object
62264
+ * The path to the object you want to read
61984
62265
  */
61985
62266
  sPath: string,
61986
62267
  /**
61987
- * Context with which the path should be resolved
62268
+ * The context that resolves the path
61988
62269
  */
61989
62270
  oContext?: Context,
61990
62271
  /**
@@ -61998,29 +62279,31 @@ declare module "sap/ui/model/Model" {
61998
62279
  * The original value is the value that was last responded by a server if using a server model implementation.
61999
62280
  *
62000
62281
  *
62001
- * @returns vValue The value of the property
62282
+ * @returns The value of the property
62002
62283
  */
62003
62284
  getOriginalProperty(
62004
62285
  /**
62005
- * Path/name of the property
62286
+ * The path/name of the property
62006
62287
  */
62007
62288
  sPath: string,
62008
62289
  /**
62009
- * Context if available to access the property value
62290
+ * Context for accessing the property value
62010
62291
  */
62011
62292
  oContext?: Context
62012
62293
  ): any;
62013
62294
  /**
62295
+ * Returns the value of the property for the given `sPath` and `oContext`.
62296
+ *
62014
62297
  *
62015
- * @returns Value of the addressed property
62298
+ * @returns The value of the addressed property
62016
62299
  */
62017
62300
  getProperty(
62018
62301
  /**
62019
- * The path to where to read the attribute value
62302
+ * The path to the attribute value you want to read
62020
62303
  */
62021
62304
  sPath: string,
62022
62305
  /**
62023
- * The context with which the path should be resolved
62306
+ * The context that resolves the path
62024
62307
  */
62025
62308
  oContext?: Context
62026
62309
  ): any;
@@ -62688,10 +62971,10 @@ declare module "sap/ui/model/odata/CountMode" {
62688
62971
  /**
62689
62972
  * Different modes for retrieving the count of collections.
62690
62973
  * See:
62691
- * sap.ui.model.ODataModel#bindList
62692
- * sap.ui.model.ODataModel#constructor
62693
- * sap.ui.model.v2.ODataModel#bindList
62694
- * sap.ui.model.v2.ODataModel#constructor
62974
+ * sap.ui.model.odata.ODataModel#bindList
62975
+ * sap.ui.model.odata.ODataModel#constructor
62976
+ * sap.ui.model.odata.v2.ODataModel#bindList
62977
+ * sap.ui.model.odata.v2.ODataModel#constructor
62695
62978
  */
62696
62979
  enum CountMode {
62697
62980
  /**
@@ -62804,7 +63087,7 @@ declare module "sap/ui/model/odata/MessageScope" {
62804
63087
  /**
62805
63088
  * Different scopes for retrieving messages from a service consumed via a {@link sap.ui.model.odata.v2.ODataModel}.
62806
63089
  * See:
62807
- * sap.ui.model.ODataModel#constructor
63090
+ * sap.ui.model.odata.v2.ODataModel#constructor
62808
63091
  */
62809
63092
  enum MessageScope {
62810
63093
  /**
@@ -63502,19 +63785,25 @@ declare module "sap/ui/model/odata/ODataMessageParser" {
63502
63785
  /**
63503
63786
  * The response from the server containing body and headers
63504
63787
  */
63505
- oResponse: object,
63788
+ oResponse: {
63789
+ statusCode: number;
63790
+
63791
+ headers: Record<string, string>;
63792
+
63793
+ body: string;
63794
+ },
63506
63795
  /**
63507
63796
  * The original request that lead to this response
63508
63797
  */
63509
- oRequest: object,
63798
+ oRequest: Request,
63510
63799
  /**
63511
- * A map with the keys of the entities requested from the back-end mapped to true
63800
+ * A map with the keys of the entities requested from the back end mapped to true
63512
63801
  */
63513
- mGetEntities?: object,
63802
+ mGetEntities?: Record<string, true>,
63514
63803
  /**
63515
- * A map with the keys of the entities changed in the back-end mapped to true
63804
+ * A map with the keys of the entities changed in the back end mapped to true
63516
63805
  */
63517
- mChangeEntities?: object,
63806
+ mChangeEntities?: Record<string, true>,
63518
63807
  /**
63519
63808
  * Whether the used OData service supports the message scope {@link sap.ui.model.odata.MessageScope.BusinessObject}
63520
63809
  */
@@ -63533,6 +63822,45 @@ declare module "sap/ui/model/odata/ODataMessageParser" {
63533
63822
  sFieldName: string
63534
63823
  ): this;
63535
63824
  }
63825
+
63826
+ export type Request = {
63827
+ /**
63828
+ * The HTTP method used for this request
63829
+ */
63830
+ method: string;
63831
+ /**
63832
+ * The request URI of this request
63833
+ */
63834
+ requestUri: string;
63835
+ /**
63836
+ * The headers of this request
63837
+ */
63838
+ headers: Record<string, string>;
63839
+ /**
63840
+ * Entity key for created entities
63841
+ */
63842
+ key?: string;
63843
+ /**
63844
+ * Flag indicating if an entity was created
63845
+ */
63846
+ created?: boolean;
63847
+ /**
63848
+ * Deep path for nested entities
63849
+ */
63850
+ deepPath?: string;
63851
+ /**
63852
+ * Metadata for function imports
63853
+ */
63854
+ functionMetadata?: object;
63855
+ /**
63856
+ * Target for function imports
63857
+ */
63858
+ functionTarget?: string;
63859
+ /**
63860
+ * Flag for updating aggregated messages
63861
+ */
63862
+ updateAggregatedMessages?: boolean;
63863
+ };
63536
63864
  }
63537
63865
 
63538
63866
  declare module "sap/ui/model/odata/ODataMetadata" {
@@ -64050,8 +64378,8 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
64050
64378
  static getMetadata(): Metadata;
64051
64379
  /**
64052
64380
  * Gets the metadata context for the given function import and parameter name. The result can be used with
64053
- * {@link sap.ui.model.ODataMetaModel#getODataValueLists} to request the metadata for the value lists for
64054
- * that function import parameter.
64381
+ * {@link sap.ui.model.odata.ODataMetaModel#getODataValueLists} to request the metadata for the value lists
64382
+ * for that function import parameter.
64055
64383
  *
64056
64384
  * @since 1.129.0
64057
64385
  *
@@ -64290,7 +64618,7 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
64290
64618
  *
64291
64619
  * @returns a Promise
64292
64620
  */
64293
- loaded(): Promise<any>;
64621
+ loaded(): Promise<void>;
64294
64622
  /**
64295
64623
  * Refresh not supported by OData meta model!
64296
64624
  */
@@ -65286,7 +65614,7 @@ declare module "sap/ui/model/odata/ODataModel" {
65286
65614
  /**
65287
65615
  * Appends the change batch operations to the end of the batch stack. Only `PUTPOST` or `DELETE`
65288
65616
  * batch operations should be included in the specified array. The operations in the array will be included
65289
- * in a single changeset. To embed change operations in different change sets call this method with the
65617
+ * in a single change set. To embed change operations in different change sets call this method with the
65290
65618
  * corresponding change operations again. If an illegal batch operation is added to the change set nothing
65291
65619
  * will be performed and false will be returned.
65292
65620
  *
@@ -66635,7 +66963,7 @@ declare module "sap/ui/model/odata/ODataUtils" {
66635
66963
  * the EDM type
66636
66964
  */
66637
66965
  sEdmType: string
66638
- ): Function;
66966
+ ): (p1: any, p2: any) => int;
66639
66967
  /**
66640
66968
  * Adds an origin to the given service URL. If an origin is already present, it will only be replaced if
66641
66969
  * the parameters object contains the flag "force: true". In case the URL already contains URL parameters,
@@ -66848,7 +67176,7 @@ declare module "sap/ui/model/odata/type/Boolean" {
66848
67176
  *
66849
67177
  * @returns the type's name
66850
67178
  */
66851
- getName(): string;
67179
+ getName(): "sap.ui.model.odata.type.Boolean";
66852
67180
  /**
66853
67181
  * Parses the given value from the given type to a boolean.
66854
67182
  *
@@ -66958,7 +67286,7 @@ declare module "sap/ui/model/odata/type/Byte" {
66958
67286
  *
66959
67287
  * @returns the type's name
66960
67288
  */
66961
- getName(): string;
67289
+ getName(): "sap.ui.model.odata.type.Byte";
66962
67290
  /**
66963
67291
  * Returns the type's supported range as object with properties `minimum` and `maximum`.
66964
67292
  *
@@ -66966,7 +67294,11 @@ declare module "sap/ui/model/odata/type/Byte" {
66966
67294
  *
66967
67295
  * @returns the range
66968
67296
  */
66969
- getRange(): object;
67297
+ getRange(): {
67298
+ minimum: number;
67299
+
67300
+ maximum: number;
67301
+ };
66970
67302
  }
66971
67303
  }
66972
67304
 
@@ -67119,7 +67451,7 @@ declare module "sap/ui/model/odata/type/Currency" {
67119
67451
  *
67120
67452
  * @returns The type's name
67121
67453
  */
67122
- getName(): string;
67454
+ getName(): "sap.ui.model.odata.type.Currency";
67123
67455
  /**
67124
67456
  * Parses the given string value to an array containing amount and currency.
67125
67457
  * See:
@@ -67277,7 +67609,7 @@ declare module "sap/ui/model/odata/type/Date" {
67277
67609
  *
67278
67610
  * @returns the type's name
67279
67611
  */
67280
- getName(): string;
67612
+ getName(): "sap.ui.model.odata.type.Date";
67281
67613
  /**
67282
67614
  * Parses the given value to a date.
67283
67615
  *
@@ -67414,7 +67746,7 @@ declare module "sap/ui/model/odata/type/DateTime" {
67414
67746
  *
67415
67747
  * @returns the type's name
67416
67748
  */
67417
- getName(): string;
67749
+ getName(): "sap.ui.model.odata.type.DateTime";
67418
67750
  }
67419
67751
  }
67420
67752
 
@@ -67693,7 +68025,7 @@ declare module "sap/ui/model/odata/type/DateTimeOffset" {
67693
68025
  *
67694
68026
  * @returns The type's name
67695
68027
  */
67696
- getName(): string;
68028
+ getName(): "sap.ui.model.odata.type.DateTimeOffset";
67697
68029
  /**
67698
68030
  * Parses the given value to a `Date` instance (OData V2) or a string like "1970-12-31T23:59:58Z" (OData
67699
68031
  * V4), depending on the model's OData version.
@@ -67827,7 +68159,7 @@ declare module "sap/ui/model/odata/type/DateTimeWithTimezone" {
67827
68159
  *
67828
68160
  * @returns The type's name
67829
68161
  */
67830
- getName(): string;
68162
+ getName(): "sap.ui.model.odata.type.DateTimeWithTimezone";
67831
68163
  /**
67832
68164
  * Gets an array of indices that determine which parts of this type shall not propagate their model messages
67833
68165
  * to the attached control. Prerequisite is that the corresponding binding supports this feature, see {@link sap.ui.model.Binding#supportsIgnoreMessages}.
@@ -68045,7 +68377,7 @@ declare module "sap/ui/model/odata/type/Decimal" {
68045
68377
  *
68046
68378
  * @returns the type's name
68047
68379
  */
68048
- getName(): string;
68380
+ getName(): "sap.ui.model.odata.type.Decimal";
68049
68381
  /**
68050
68382
  * Parses the given value, which is expected to be of the given type, to a decimal in `string` representation.
68051
68383
  *
@@ -68187,7 +68519,7 @@ declare module "sap/ui/model/odata/type/Double" {
68187
68519
  *
68188
68520
  * @returns the type's name
68189
68521
  */
68190
- getName(): string;
68522
+ getName(): "sap.ui.model.odata.type.Double";
68191
68523
  /**
68192
68524
  * Parses the given value, which is expected to be of the given type, to an Edm.Double in `number` representation.
68193
68525
  *
@@ -68320,7 +68652,7 @@ declare module "sap/ui/model/odata/type/Guid" {
68320
68652
  *
68321
68653
  * @returns the type's name
68322
68654
  */
68323
- getName(): string;
68655
+ getName(): "sap.ui.model.odata.type.Guid";
68324
68656
  /**
68325
68657
  * Parses the given value to a GUID.
68326
68658
  *
@@ -68557,7 +68889,7 @@ declare module "sap/ui/model/odata/type/Int16" {
68557
68889
  *
68558
68890
  * @returns the type's name
68559
68891
  */
68560
- getName(): string;
68892
+ getName(): "sap.ui.model.odata.type.Int16";
68561
68893
  /**
68562
68894
  * Returns the type's supported range as object with properties `minimum` and `maximum`.
68563
68895
  *
@@ -68565,7 +68897,11 @@ declare module "sap/ui/model/odata/type/Int16" {
68565
68897
  *
68566
68898
  * @returns the range
68567
68899
  */
68568
- getRange(): object;
68900
+ getRange(): {
68901
+ minimum: number;
68902
+
68903
+ maximum: number;
68904
+ };
68569
68905
  }
68570
68906
  }
68571
68907
 
@@ -68649,7 +68985,7 @@ declare module "sap/ui/model/odata/type/Int32" {
68649
68985
  *
68650
68986
  * @returns the type's name
68651
68987
  */
68652
- getName(): string;
68988
+ getName(): "sap.ui.model.odata.type.Int32";
68653
68989
  /**
68654
68990
  * Returns the type's supported range as object with properties `minimum` and `maximum`.
68655
68991
  *
@@ -68657,7 +68993,11 @@ declare module "sap/ui/model/odata/type/Int32" {
68657
68993
  *
68658
68994
  * @returns the range
68659
68995
  */
68660
- getRange(): object;
68996
+ getRange(): {
68997
+ minimum: number;
68998
+
68999
+ maximum: number;
69000
+ };
68661
69001
  }
68662
69002
  }
68663
69003
 
@@ -68777,7 +69117,7 @@ declare module "sap/ui/model/odata/type/Int64" {
68777
69117
  *
68778
69118
  * @returns the type's name
68779
69119
  */
68780
- getName(): string;
69120
+ getName(): "sap.ui.model.odata.type.Int64";
68781
69121
  /**
68782
69122
  * Parses the given value, which is expected to be of the given type, to an Int64 in `string` representation.
68783
69123
  *
@@ -68985,7 +69325,7 @@ declare module "sap/ui/model/odata/type/Raw" {
68985
69325
  *
68986
69326
  * @returns The type's name
68987
69327
  */
68988
- getName(): string;
69328
+ getName(): "sap.ui.model.odata.type.Raw";
68989
69329
  /**
68990
69330
  * Method not supported
68991
69331
  * See:
@@ -69084,7 +69424,7 @@ declare module "sap/ui/model/odata/type/SByte" {
69084
69424
  *
69085
69425
  * @returns the type's name
69086
69426
  */
69087
- getName(): string;
69427
+ getName(): "sap.ui.model.odata.type.SByte";
69088
69428
  /**
69089
69429
  * Returns the type's supported range as object with properties `minimum` and `maximum`.
69090
69430
  *
@@ -69092,7 +69432,11 @@ declare module "sap/ui/model/odata/type/SByte" {
69092
69432
  *
69093
69433
  * @returns the range
69094
69434
  */
69095
- getRange(): object;
69435
+ getRange(): {
69436
+ minimum: number;
69437
+
69438
+ maximum: number;
69439
+ };
69096
69440
  }
69097
69441
  }
69098
69442
 
@@ -69203,7 +69547,7 @@ declare module "sap/ui/model/odata/type/Single" {
69203
69547
  *
69204
69548
  * @returns the type's name
69205
69549
  */
69206
- getName(): string;
69550
+ getName(): "sap.ui.model.odata.type.Single";
69207
69551
  /**
69208
69552
  * Parses the given value, which is expected to be of the given type, to an Edm.Single in `number` representation.
69209
69553
  *
@@ -69340,7 +69684,7 @@ declare module "sap/ui/model/odata/type/Stream" {
69340
69684
  *
69341
69685
  * @returns The type's name
69342
69686
  */
69343
- getName(): string;
69687
+ getName(): "sap.ui.model.odata.type.Stream";
69344
69688
  /**
69345
69689
  * Method not supported
69346
69690
  * See:
@@ -69485,7 +69829,7 @@ declare module "sap/ui/model/odata/type/String" {
69485
69829
  *
69486
69830
  * @returns the type's name
69487
69831
  */
69488
- getName(): string;
69832
+ getName(): "sap.ui.model.odata.type.String";
69489
69833
  /**
69490
69834
  * Parses the given value which is expected to be of the given type to a string. If `isDigitSequence` constraint
69491
69835
  * of this type is set to `true` and the parsed string is a sequence of digits, then the parsed string is
@@ -69635,7 +69979,7 @@ declare module "sap/ui/model/odata/type/Time" {
69635
69979
  */
69636
69980
  oDate: Date | UI5Date | null
69637
69981
  ): {
69638
- __edmType: string;
69982
+ __edmType: "Edm.Time";
69639
69983
 
69640
69984
  ms: int;
69641
69985
  } | null;
@@ -69645,7 +69989,7 @@ declare module "sap/ui/model/odata/type/Time" {
69645
69989
  *
69646
69990
  * @returns the type's name
69647
69991
  */
69648
- getName(): string;
69992
+ getName(): "sap.ui.model.odata.type.Time";
69649
69993
  /**
69650
69994
  * Parses the given value, which is expected to be of the given type, to a time object.
69651
69995
  *
@@ -69662,7 +70006,11 @@ declare module "sap/ui/model/odata/type/Time" {
69662
70006
  * See {@link sap.ui.model.odata.type} for more information.
69663
70007
  */
69664
70008
  sSourceType: string
69665
- ): object;
70009
+ ): {
70010
+ __edmType: "Edm.Time";
70011
+
70012
+ ms: int;
70013
+ };
69666
70014
  /**
69667
70015
  * Validates whether the given value in model representation is valid and meets the defined constraints.
69668
70016
  */
@@ -69670,7 +70018,11 @@ declare module "sap/ui/model/odata/type/Time" {
69670
70018
  /**
69671
70019
  * the value to be validated
69672
70020
  */
69673
- oValue: object
70021
+ oValue: {
70022
+ __edmType: "Edm.Time";
70023
+
70024
+ ms: int;
70025
+ }
69674
70026
  ): void;
69675
70027
  }
69676
70028
  }
@@ -69790,7 +70142,7 @@ declare module "sap/ui/model/odata/type/TimeOfDay" {
69790
70142
  *
69791
70143
  * @returns The type's name
69792
70144
  */
69793
- getName(): string;
70145
+ getName(): "sap.ui.model.odata.type.TimeOfDay";
69794
70146
  /**
69795
70147
  * Parses the given value, which is expected to be of the given type, to a string with an OData V4 Edm.TimeOfDay
69796
70148
  * value.
@@ -69979,7 +70331,7 @@ declare module "sap/ui/model/odata/type/Unit" {
69979
70331
  *
69980
70332
  * @returns The type's name
69981
70333
  */
69982
- getName(): string;
70334
+ getName(): "sap.ui.model.odata.type.Unit";
69983
70335
  /**
69984
70336
  * Parses the given string value to an array containing measure and unit.
69985
70337
  * See:
@@ -70182,8 +70534,8 @@ declare module "sap/ui/model/odata/v2/Context" {
70182
70534
  */
70183
70535
  groupId?: string;
70184
70536
  /**
70185
- * ID of the `ChangeSet` that this request should belong to. If not provided, the `changeSetId` defined
70186
- * for the type of the entity to be deleted is used.
70537
+ * ID of the change set that this request should belong to. If not provided, the `changeSetId` defined for
70538
+ * the type of the entity to be deleted is used.
70187
70539
  */
70188
70540
  changeSetId?: string;
70189
70541
  /**
@@ -70235,6 +70587,8 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
70235
70587
 
70236
70588
  import Metadata from "sap/ui/base/Metadata";
70237
70589
 
70590
+ import Event from "sap/ui/base/Event";
70591
+
70238
70592
  /**
70239
70593
  * Annotation loader for OData V2 services
70240
70594
  *
@@ -70333,7 +70687,16 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
70333
70687
  * containing a URL or an object of type {@link sap.ui.model.odata.v2.ODataAnnotations.Source}.
70334
70688
  */
70335
70689
  vSource: string | string[] | Source | Source[]
70336
- ): Promise<any>;
70690
+ ): Promise<
70691
+ Array<
70692
+ | {
70693
+ source: Source;
70694
+
70695
+ data: any;
70696
+ }
70697
+ | Error
70698
+ >
70699
+ >;
70337
70700
  /**
70338
70701
  * Attaches the given callback to the `allFailed` event.
70339
70702
  *
@@ -70776,7 +71139,7 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
70776
71139
  *
70777
71140
  * @returns A promise that resolves after the last added sources have been processed
70778
71141
  */
70779
- loaded(): Promise<any>;
71142
+ loaded(): Promise<void>;
70780
71143
  /**
70781
71144
  * Set custom headers which are provided in a key/value map. These headers are used for all requests. The
70782
71145
  * "Accept-Language" header cannot be modified and is set using the core's language setting.
@@ -70808,8 +71171,8 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
70808
71171
  */
70809
71172
  export type failedParameters = {
70810
71173
  /**
70811
- * An array of Errors, see {@link sap.ui.model.v2.ODataAnnotations#error} that occurred while loading a
70812
- * group of annotations
71174
+ * An array of Errors, see {@link sap.ui.model.odata.v2.ODataAnnotations#error} that occurred while loading
71175
+ * a group of annotations
70813
71176
  */
70814
71177
  result: Error[];
70815
71178
  };
@@ -70819,7 +71182,7 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
70819
71182
  */
70820
71183
  export type loadedParameters = {
70821
71184
  /**
70822
- * An array of results and Errors (see {@link sap.ui.model.v2.ODataAnnotations#success} and {@link sap.ui.model.v2.ODataAnnotations#error})
71185
+ * An array of results and Errors (see {@link sap.ui.model.odata.v2.ODataAnnotations#success} and {@link sap.ui.model.odata.v2.ODataAnnotations#error})
70823
71186
  * that occurred while loading a group of annotations
70824
71187
  */
70825
71188
  result: Source[] | Error[] | any;
@@ -70861,6 +71224,58 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
70861
71224
  */
70862
71225
  result: Source;
70863
71226
  };
71227
+
71228
+ /**
71229
+ * Parameters of the ODataAnnotations#error event.
71230
+ */
71231
+ export interface ODataAnnotations$ErrorEventParameters {}
71232
+
71233
+ /**
71234
+ * Event object of the ODataAnnotations#error event.
71235
+ */
71236
+ export type ODataAnnotations$ErrorEvent = Event<
71237
+ ODataAnnotations$ErrorEventParameters,
71238
+ ODataAnnotations
71239
+ >;
71240
+
71241
+ /**
71242
+ * Parameters of the ODataAnnotations#failed event.
71243
+ */
71244
+ export interface ODataAnnotations$FailedEventParameters {}
71245
+
71246
+ /**
71247
+ * Event object of the ODataAnnotations#failed event.
71248
+ */
71249
+ export type ODataAnnotations$FailedEvent = Event<
71250
+ ODataAnnotations$FailedEventParameters,
71251
+ ODataAnnotations
71252
+ >;
71253
+
71254
+ /**
71255
+ * Parameters of the ODataAnnotations#loaded event.
71256
+ */
71257
+ export interface ODataAnnotations$LoadedEventParameters {}
71258
+
71259
+ /**
71260
+ * Event object of the ODataAnnotations#loaded event.
71261
+ */
71262
+ export type ODataAnnotations$LoadedEvent = Event<
71263
+ ODataAnnotations$LoadedEventParameters,
71264
+ ODataAnnotations
71265
+ >;
71266
+
71267
+ /**
71268
+ * Parameters of the ODataAnnotations#success event.
71269
+ */
71270
+ export interface ODataAnnotations$SuccessEventParameters {}
71271
+
71272
+ /**
71273
+ * Event object of the ODataAnnotations#success event.
71274
+ */
71275
+ export type ODataAnnotations$SuccessEvent = Event<
71276
+ ODataAnnotations$SuccessEventParameters,
71277
+ ODataAnnotations
71278
+ >;
70864
71279
  }
70865
71280
 
70866
71281
  declare module "sap/ui/model/odata/v2/ODataContextBinding" {
@@ -71197,7 +71612,7 @@ declare module "sap/ui/model/odata/v2/ODataListBinding" {
71197
71612
  */
71198
71613
  mParameters?: {
71199
71614
  /**
71200
- * The ID of the `ChangeSet` that this request should belong to
71615
+ * The ID of the change set that this request should belong to
71201
71616
  */
71202
71617
  changeSetId?: string;
71203
71618
  /**
@@ -71472,10 +71887,10 @@ declare module "sap/ui/model/odata/v2/ODataTreeBinding" {
71472
71887
 
71473
71888
  import FilterType from "sap/ui/model/FilterType";
71474
71889
 
71475
- import Metadata from "sap/ui/base/Metadata";
71476
-
71477
71890
  import Context from "sap/ui/model/Context";
71478
71891
 
71892
+ import Metadata from "sap/ui/base/Metadata";
71893
+
71479
71894
  import Context1 from "sap/ui/model/odata/v2/Context";
71480
71895
 
71481
71896
  import Sorter from "sap/ui/model/Sorter";
@@ -71544,7 +71959,7 @@ declare module "sap/ui/model/odata/v2/ODataTreeBinding" {
71544
71959
  * If set to true, no change event will be fired
71545
71960
  */
71546
71961
  bSuppressChange: boolean
71547
- ): Promise<any>;
71962
+ ): Promise<void>;
71548
71963
  /**
71549
71964
  * Applies the given filters to the ODataTreeBinding.
71550
71965
  *
@@ -71594,7 +72009,7 @@ declare module "sap/ui/model/odata/v2/ODataTreeBinding" {
71594
72009
  /**
71595
72010
  * the context element of the node
71596
72011
  */
71597
- oContext: Object
72012
+ oContext: Context
71598
72013
  ): int;
71599
72014
  /**
71600
72015
  * Get a download URL with the specified format considering the sort/filter/custom parameters.
@@ -72436,6 +72851,9 @@ declare module "sap/ui/model/odata/v4/Context" {
72436
72851
  * is supported. As a precondition, the context must not be both {@link #setKeepAlive kept alive} and hidden
72437
72852
  * (for example due to a filter), and the group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}.
72438
72853
  * Such a deletion is not a pending change.
72854
+ *
72855
+ * When using data aggregation without group levels, single entities can be deleted (@experimental as of
72856
+ * version 1.144.0, see {@link #isAggregated}). The same restrictions as for a recursive hierarchy apply.
72439
72857
  * See:
72440
72858
  * #hasPendingChanges
72441
72859
  * #resetChanges
@@ -72477,12 +72895,15 @@ declare module "sap/ui/model/odata/v4/Context" {
72477
72895
  bDoNotRequestCount?: boolean
72478
72896
  ): Promise<void>;
72479
72897
  /**
72898
+ * Note: You may want to call {@link #delete} instead in order to delete the OData entity on the server
72899
+ * side.
72900
+ *
72480
72901
  * Destroys this context, that is, it removes this context from all dependent bindings and drops references
72481
72902
  * to {@link #getBinding binding} and {@link #getModel model}, so that the context cannot be used anymore;
72482
72903
  * it keeps path and index for debugging purposes. A destroyed context can be recognized by calling {@link #getBinding},
72483
72904
  * which returns `undefined`.
72484
72905
  *
72485
- * **BEWARE:** Do not call this function! The lifetime of an OData V4 context is completely controlled by
72906
+ * **BEWARE: Do not call this function!** The lifetime of an OData V4 context is completely controlled by
72486
72907
  * its binding.
72487
72908
  * See:
72488
72909
  * sap.ui.base.Object#destroy
@@ -72644,6 +73065,20 @@ declare module "sap/ui/model/odata/v4/Context" {
72644
73065
  * @returns Whether there are pending changes
72645
73066
  */
72646
73067
  hasPendingChanges(): boolean;
73068
+ /**
73069
+ * Indicates whether this context represents aggregated data rather than a single entity instance. This
73070
+ * method returns `true` only in case of data aggregation (but not for a recursive hierarchy) and not for
73071
+ * non-expandable nodes (so-called leaves; see {@link #isExpanded}) if all of the entity type's key properties
73072
+ * are available as groups. For a list binding's {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context},
73073
+ * the returned value matches that of every leaf.
73074
+ * See:
73075
+ * sap.ui.model.odata.v4.ODataListBinding#setAggregation
73076
+ *
73077
+ * @since 1.144.0
73078
+ *
73079
+ * @returns Whether this context represents aggregated data
73080
+ */
73081
+ isAggregated(): boolean;
72647
73082
  /**
72648
73083
  * Tells whether this node is an ancestor of (or the same as) the given node (in case of a recursive hierarchy,
72649
73084
  * see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
@@ -72802,6 +73237,10 @@ declare module "sap/ui/model/odata/v4/Context" {
72802
73237
  * Refreshes the single entity represented by this context. Use {@link #requestRefresh} if you want to wait
72803
73238
  * for the refresh.
72804
73239
  *
73240
+ * When using data aggregation without `groupLevels` and without `"grandTotal like 1.84"` (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}),
73241
+ * single entities (see {@link #isAggregated}) can be refreshed and the grand total is updated accordingly
73242
+ * (@experimental as of version 1.145.0).
73243
+ *
72805
73244
  * @since 1.53.0
72806
73245
  */
72807
73246
  refresh(
@@ -72935,7 +73374,7 @@ declare module "sap/ui/model/odata/v4/Context" {
72935
73374
  */
72936
73375
  sGroupId?: string,
72937
73376
  /**
72938
- * Allows to remove the context
73377
+ * Allows to remove the context, see {@link #refresh} for details
72939
73378
  */
72940
73379
  bAllowRemoval?: boolean
72941
73380
  ): Promise<void>;
@@ -73001,7 +73440,8 @@ declare module "sap/ui/model/odata/v4/Context" {
73001
73440
  * Since 1.82.0, absolute paths are supported. Absolute paths must start with the entity container (example
73002
73441
  * "/com.sap.gateway.default.iwbep.tea_busi.v0001.Container/TEAMS") of the service. All (navigation) properties
73003
73442
  * in the complete model matching such an absolute path are updated. Since 1.85.0, "14.3.11 Expression edm:String"
73004
- * is accepted as well.
73443
+ * is accepted as well. Since 1.145.0, you can use `null` values (and `{$Null : null}`) as synonyms for
73444
+ * empty navigation property paths.
73005
73445
  *
73006
73446
  * Since 1.108.8, a property path matching the "com.sap.vocabularies.Common.v1.Messages" annotation of a
73007
73447
  * list binding's entity type is treated specially for a row context of a list binding: It is loaded even
@@ -73046,6 +73486,14 @@ declare module "sap/ui/model/odata/v4/Context" {
73046
73486
  * the context if it is no longer needed.
73047
73487
  *
73048
73488
  * Note: This is only supported if the model uses the `autoExpandSelect` parameter.
73489
+ *
73490
+ * Note: This can be used for single entities in a data aggregation scenario (@experimental as of version
73491
+ * 1.144.0), see {@link #isAggregated}. Such a kept-alive context
73492
+ * can be used as a binding context, can be used for updating data (see {@link #setProperty}),
73493
+ * can be refreshed (see {@link #refresh} and {@link #requestRefresh}), is refreshed when its list
73494
+ * binding's {@link sap.ui.model.odata.v4.ODataListBinding#refresh}) is called, and is refreshed when
73495
+ * {@link #requestSideEffects}) is called on its list binding's header context. Other APIs are not
73496
+ * supported.
73049
73497
  * See:
73050
73498
  * #isKeepAlive
73051
73499
  *
@@ -73059,9 +73507,9 @@ declare module "sap/ui/model/odata/v4/Context" {
73059
73507
  /**
73060
73508
  * Callback function that is called once for a kept-alive context without any argument just before the context
73061
73509
  * is destroyed; see {@link #destroy}. If a context has been replaced in a list binding (see {@link #replaceWith }
73062
- * and {@link sap.ui.odata.v4.ODataContextBinding#invoke}), the callback will later also be called just
73063
- * before the replacing context is destroyed, but with that context as the only argument. Supported since
73064
- * 1.84.0
73510
+ * and {@link sap.ui.model.odata.v4.ODataContextBinding#invoke}), the callback will later also be called
73511
+ * just before the replacing context is destroyed, but with that context as the only argument. Supported
73512
+ * since 1.84.0
73065
73513
  */
73066
73514
  fnOnBeforeDestroy?: (p1: Context | undefined) => void,
73067
73515
  /**
@@ -73592,6 +74040,7 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
73592
74040
  * Method not supported
73593
74041
  *
73594
74042
  * @since 1.37.0
74043
+ * @deprecated As of version 1.37.0. calling this method is not supported
73595
74044
  */
73596
74045
  isInitial(): boolean;
73597
74046
  /**
@@ -74419,7 +74868,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
74419
74868
  *
74420
74869
  * If known, the value represents the sum of the element count of the collection on the server and the number
74421
74870
  * of {@link sap.ui.model.odata.v4.Context#isInactive active} {@link sap.ui.model.odata.v4.Context#isTransient transient }
74422
- * entities created on the client, minus the {@link #sap.ui.model.data.v4.Context#delete deleted} entities.
74871
+ * entities created on the client, minus the {@link #sap.ui.model.odata.v4.Context#delete deleted} entities.
74423
74872
  * Otherwise, it is `undefined`. The value is a number of type `Edm.Int64`. Since 1.91.0, in case of data
74424
74873
  * aggregation with group levels, the count is the leaf count on the server; it is only determined if the
74425
74874
  * `$count` system query option is given. Since 1.110.0, in case of a recursive hierarchy, the count is
@@ -74464,12 +74913,13 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
74464
74913
  * sap.ui.model.ListBinding#getDistinctValues
74465
74914
  *
74466
74915
  * @since 1.37.0
74916
+ * @deprecated As of version 1.37.0. calling this method is not supported
74467
74917
  */
74468
- getDistinctValues(_sPath?: string): any[];
74918
+ getDistinctValues(): any[];
74469
74919
  /**
74470
74920
  * Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
74471
74921
  * delivers all entities considering the binding's query options (such as filters or sorters). Returns `null`
74472
- * if the binding's filter is {@link sap.ui.filter.Filter.NONE}. The returned URL does not specify `$skip`
74922
+ * if the binding's filter is {@link sap.ui.model.Filter.NONE}. The returned URL does not specify `$skip`
74473
74923
  * and `$top` and leaves it up to the server how many rows it delivers. Many servers tend to choose a small
74474
74924
  * limit without `$skip` and `$top`, so it might be wise to add an appropriate value for `$top` at least.
74475
74925
  *
@@ -74648,6 +75098,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
74648
75098
  * Method not supported
74649
75099
  *
74650
75100
  * @since 1.37.0
75101
+ * @deprecated As of version 1.37.0. calling this method is not supported
74651
75102
  */
74652
75103
  isInitial(): boolean;
74653
75104
  /**
@@ -74728,7 +75179,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
74728
75179
  /**
74729
75180
  * Resolves with a URL by which the complete content of the list can be downloaded in JSON format. The request
74730
75181
  * delivers all entities considering the binding's query options (such as filters or sorters). Resolves
74731
- * with `null` if the binding's filter is {@link sap.ui.filter.Filter.NONE}.
75182
+ * with `null` if the binding's filter is {@link sap.ui.model.Filter.NONE}.
74732
75183
  *
74733
75184
  * The returned URL does not specify `$skip` and `$top` and leaves it up to the server how many rows it
74734
75185
  * delivers. Many servers tend to choose a small limit without `$skip` and `$top`, so it might be wise to
@@ -75452,18 +75903,9 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
75452
75903
  * sap.ui.model.Model#bindTree
75453
75904
  *
75454
75905
  * @since 1.37.0
75906
+ * @deprecated As of version 1.37.0. calling this method is not supported
75455
75907
  */
75456
- bindTree(
75457
- _sPath: string,
75458
-
75459
- _oContext?: Context,
75460
-
75461
- _aFilters?: Filter[],
75462
-
75463
- _mParameters?: object,
75464
-
75465
- _aSorters?: Sorter[]
75466
- ): TreeBinding;
75908
+ bindTree(): TreeBinding;
75467
75909
  /**
75468
75910
  * Returns a snapshot of each $metadata or annotation file loaded so far, combined into a single "JSON"
75469
75911
  * object according to the streamlined OData V4 Metadata JSON Format.
@@ -75563,6 +76005,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
75563
76005
  * Method not supported
75564
76006
  *
75565
76007
  * @since 1.37.0
76008
+ * @deprecated As of version 1.37.0. calling this method is not supported
75566
76009
  */
75567
76010
  getOriginalProperty(): void;
75568
76011
  /**
@@ -75630,6 +76073,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
75630
76073
  * sap.ui.model.Model#refresh
75631
76074
  *
75632
76075
  * @since 1.37.0
76076
+ * @deprecated As of version 1.37.0. calling this method is not supported
75633
76077
  */
75634
76078
  refresh(): void;
75635
76079
  /**
@@ -75674,7 +76118,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
75674
76118
 
75675
76119
  Text: string;
75676
76120
 
75677
- UnitSpecificScale: string;
76121
+ UnitSpecificScale: number;
75678
76122
  }
75679
76123
  > | null>;
75680
76124
  /**
@@ -75819,9 +76263,9 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
75819
76263
  * of type "Edm.Int64". Otherwise, it is invalid.
75820
76264
  *
75821
76265
  * A segment which represents an OData simple identifier (or the special names "$ReturnType", since 1.71.0,
75822
- * or "$Parameter", since 1.73.0) needs special preparations. The same applies to the empty segment after
75823
- * a trailing slash. If the current object has a "$Action", "$Function" or "$Type" property, it
75824
- * is used for scope lookup first. This way, "/EMPLOYEES/ENTRYDATE" addresses the same object as "/EMPLOYEES/$Type/ENTRYDATE",
76266
+ * or "$Parameter", since 1.73.0) needs special preparations. The same applies to the empty segment (typically
76267
+ * after a trailing slash). If the current object has a "$Action", "$Function" or "$Type" property,
76268
+ * it is used for scope lookup first. This way, "/EMPLOYEES/ENTRYDATE" addresses the same object as "/EMPLOYEES/$Type/ENTRYDATE",
75825
76269
  * namely the "ENTRYDATE" child of the entity type corresponding to the "EMPLOYEES" child of the entity
75826
76270
  * container. The other cases jump from an operation import to the corresponding operation overloads.
75827
76271
  * Else if the segment is the first one within its path, the last schema child addressed via scope lookup
@@ -75842,6 +76286,8 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
75842
76286
  *
75843
76287
  * Operation overloads are then filtered by binding parameter; multiple overloads after filtering are invalid
75844
76288
  * except if addressing all overloads via the segment "@$ui5.overload", for example "/acme.NewAction/@$ui5.overload".
76289
+ * Since 1.144.0, multiple overloads for an unbound function are tolerated when addressing the return type
76290
+ * (which is the same for all of them).
75845
76291
  *
75846
76292
  * Once a single overload has been determined, its parameters can be immediately addressed, for example
75847
76293
  * "/TEAMS/acme.NewAction/Team_ID", or the special name "$Parameter" can be used (since 1.73.0), for example
@@ -75976,7 +76422,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
75976
76422
 
75977
76423
  Text: string;
75978
76424
 
75979
- UnitSpecificScale: string;
76425
+ UnitSpecificScale: number;
75980
76426
  }
75981
76427
  > | null>;
75982
76428
  /**
@@ -76052,6 +76498,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
76052
76498
  * Method not supported
76053
76499
  *
76054
76500
  * @since 1.37.0
76501
+ * @deprecated As of version 1.37.0. calling this method is not supported
76055
76502
  */
76056
76503
  setLegacySyntax(): void;
76057
76504
  /**
@@ -76676,18 +77123,9 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
76676
77123
  * sap.ui.model.Model#bindTree
76677
77124
  *
76678
77125
  * @since 1.37.0
77126
+ * @deprecated As of version 1.37.0. calling this method is not supported
76679
77127
  */
76680
- bindTree(
76681
- _sPath: string,
76682
-
76683
- _oContext?: Context1,
76684
-
76685
- _aFilters?: Filter[],
76686
-
76687
- _mParameters?: object,
76688
-
76689
- _aSorters?: Sorter[]
76690
- ): TreeBinding;
77128
+ bindTree(): TreeBinding;
76691
77129
  /**
76692
77130
  * Changes the HTTP headers used for data and metadata requests sent by this model.
76693
77131
  *
@@ -76804,6 +77242,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
76804
77242
  * Method not supported
76805
77243
  *
76806
77244
  * @since 1.37.0
77245
+ * @deprecated As of version 1.37.0. calling this method is not supported
76807
77246
  */
76808
77247
  destroyBindingContext(): void;
76809
77248
  /**
@@ -76993,6 +77432,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
76993
77432
  * Method not supported
76994
77433
  *
76995
77434
  * @since 1.37.0
77435
+ * @deprecated As of version 1.37.0. calling this method is not supported
76996
77436
  */
76997
77437
  getObject(): void;
76998
77438
  /**
@@ -77007,6 +77447,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
77007
77447
  * Method not supported
77008
77448
  *
77009
77449
  * @since 1.37.0
77450
+ * @deprecated As of version 1.37.0. calling this method is not supported
77010
77451
  */
77011
77452
  getOriginalProperty(): void;
77012
77453
  /**
@@ -77015,6 +77456,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
77015
77456
  * sap.ui.model.Model#getProperty
77016
77457
  *
77017
77458
  * @since 1.37.0
77459
+ * @deprecated As of version 1.37.0. calling this method is not supported
77018
77460
  */
77019
77461
  getProperty(): void;
77020
77462
  /**
@@ -77168,6 +77610,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
77168
77610
  * Method not supported
77169
77611
  *
77170
77612
  * @since 1.37.0
77613
+ * @deprecated As of version 1.37.0. calling this method is not supported
77171
77614
  */
77172
77615
  setLegacySyntax(): void;
77173
77616
  /**
@@ -77187,7 +77630,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
77187
77630
  /**
77188
77631
  * A "Retry-After" handler
77189
77632
  */
77190
- fnRetryAfter: (p1: Error) => Promise<undefined>
77633
+ fnRetryAfter: (p1: Error) => Promise<void>
77191
77634
  ): void;
77192
77635
  /**
77193
77636
  * Submits the requests associated with the given group ID in one batch request. Requests from subsequent
@@ -77543,6 +77986,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
77543
77986
  * Method not supported
77544
77987
  *
77545
77988
  * @since 1.37.0
77989
+ * @deprecated As of version 1.37.0. calling this method is not supported
77546
77990
  */
77547
77991
  isInitial(): boolean;
77548
77992
  /**
@@ -77645,6 +78089,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
77645
78089
  * sap.ui.model.Binding#resume
77646
78090
  *
77647
78091
  * @since 1.37.0
78092
+ * @deprecated As of version 1.37.0. calling this method is not supported
77648
78093
  */
77649
78094
  resume(): void;
77650
78095
  /**
@@ -77709,6 +78154,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
77709
78154
  * sap.ui.model.Binding#suspend
77710
78155
  *
77711
78156
  * @since 1.37.0
78157
+ * @deprecated As of version 1.37.0. calling this method is not supported
77712
78158
  */
77713
78159
  suspend(): void;
77714
78160
  /**
@@ -79396,12 +79842,24 @@ declare module "sap/ui/model/TreeBindingUtils" {
79396
79842
  /**
79397
79843
  * the sections into which oNewSection will be merged
79398
79844
  */
79399
- aSections: object[],
79845
+ aSections: Array<{
79846
+ startIndex: number;
79847
+
79848
+ length: number;
79849
+ }>,
79400
79850
  /**
79401
79851
  * the section which should be merged into aNewSections
79402
79852
  */
79403
- oNewSection: object
79404
- ): object[];
79853
+ oNewSection: {
79854
+ startIndex: number;
79855
+
79856
+ length: number;
79857
+ }
79858
+ ): Array<{
79859
+ startIndex: number;
79860
+
79861
+ length: number;
79862
+ }>;
79405
79863
  }
79406
79864
  const TreeBindingUtils: TreeBindingUtils;
79407
79865
  export default TreeBindingUtils;
@@ -80808,6 +81266,8 @@ declare module "sap/ui/model/xml/XMLModel" {
80808
81266
 
80809
81267
  import Metadata from "sap/ui/base/Metadata";
80810
81268
 
81269
+ import Context from "sap/ui/model/Context";
81270
+
80811
81271
  /**
80812
81272
  * Model implementation for the XML format.
80813
81273
  *
@@ -80859,7 +81319,12 @@ declare module "sap/ui/model/xml/XMLModel" {
80859
81319
  * Returns the object for the given path and context.
80860
81320
  *
80861
81321
  *
80862
- * @returns The object
81322
+ * @returns The object at the specified path:
81323
+ * - An XML DOM Element node object when the path resolves to an element.
81324
+ * - A string value when the path points to an attribute (using the @attribute syntax) or text content.
81325
+ *
81326
+ * - `null` when the document has no root element or the path cannot be resolved.
81327
+ * - `undefined` when the path resolution returns an empty result.
80863
81328
  */
80864
81329
  getObject(
80865
81330
  /**
@@ -80869,8 +81334,8 @@ declare module "sap/ui/model/xml/XMLModel" {
80869
81334
  /**
80870
81335
  * The context which will be used to retrieve the object
80871
81336
  */
80872
- oContext?: object
80873
- ): object;
81337
+ oContext?: Context
81338
+ ): Element | string | null | undefined;
80874
81339
  /**
80875
81340
  * Returns the value for the property with the given `sPropertyName`.
80876
81341
  *
@@ -80885,7 +81350,7 @@ declare module "sap/ui/model/xml/XMLModel" {
80885
81350
  /**
80886
81351
  * The context which will be used to retrieve the property
80887
81352
  */
80888
- oContext?: object
81353
+ oContext?: Context
80889
81354
  ): string;
80890
81355
  /**
80891
81356
  * Serializes the current XML data of the model into a string.
@@ -80926,7 +81391,7 @@ declare module "sap/ui/model/xml/XMLModel" {
80926
81391
  /**
80927
81392
  * An object of additional header key/value pairs to send along with the request
80928
81393
  */
80929
- mHeaders?: object
81394
+ mHeaders?: Record<string, string>
80930
81395
  ): void;
80931
81396
  /**
80932
81397
  * Sets the provided XML encoded data object to the model
@@ -80969,7 +81434,7 @@ declare module "sap/ui/model/xml/XMLModel" {
80969
81434
  /**
80970
81435
  * The context which will be used to set the property
80971
81436
  */
80972
- oContext?: object,
81437
+ oContext?: Context,
80973
81438
  /**
80974
81439
  * Whether to update other bindings dependent on this property asynchronously
80975
81440
  */
@@ -81138,6 +81603,25 @@ declare module "sap/ui/test/actions/Action" {
81138
81603
  * @returns Metadata object describing this class
81139
81604
  */
81140
81605
  static getMetadata(): ManagedObjectMetadata;
81606
+ /**
81607
+ * Finds the most suitable jQuery element to execute an action on. A control may have many elements in its
81608
+ * DOM representation. The most suitable one is chosen by priority:
81609
+ * - If the user provided an idSuffix, return the element that matches it, or null
81610
+ * - If there is a control adapter for the action - return the element that matches it. See `controlAdapters`
81611
+ * at {@link sap.ui.test.Press} for an example
81612
+ * - If there is no control adapter, or it matches no elements, return the focusDomRef of the control.
81613
+ * Note that some controls may not have a focusDomRef.
81614
+ *
81615
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
81616
+ *
81617
+ * @returns the jQuery element which is most suitable for the action
81618
+ */
81619
+ $(
81620
+ /**
81621
+ * the control to execute an action on
81622
+ */
81623
+ oControl: object
81624
+ ): jQuery;
81141
81625
  /**
81142
81626
  * Checks if the matcher is matching - will get an instance of sap.ui.core.Control as parameter Should be
81143
81627
  * overwritten by subclasses
@@ -81164,6 +81648,14 @@ declare module "sap/ui/test/actions/Action" {
81164
81648
  * @returns Value of property `idSuffix`
81165
81649
  */
81166
81650
  getIdSuffix(): string;
81651
+ /**
81652
+ * Returns the QUnitUtils
81653
+ *
81654
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
81655
+ *
81656
+ * @returns QUnit utils of the current window or the OPA frame
81657
+ */
81658
+ getUtils(): /* was: sap.ui.test.qunit.QUnitUtils */ any;
81167
81659
  /**
81168
81660
  * Sets a new value for property {@link #getIdSuffix idSuffix}.
81169
81661
  *
@@ -85287,7 +85779,7 @@ declare module "sap/ui/test/Opa5" {
85287
85779
  * viewName: "my.View"
85288
85780
  * controlType: "sap.m.Input",
85289
85781
  * success: function (aInputs) {
85290
- * // aInputs are all sap.m.Inputs inside of a view called 'my.View'
85782
+ * // aInputs are all sap.m.Input controls inside of a view called 'my.View'
85291
85783
  * }
85292
85784
  * });
85293
85785
  * ```
@@ -85622,7 +86114,7 @@ declare module "sap/ui/test/OpaPlugin" {
85622
86114
  FNMetaImpl?: Function
85623
86115
  ): Function;
85624
86116
  /**
85625
- * Returns the registered element with the given ID, if any. Internally forwards to {@link sap.ui.core.Element#getElementById }
86117
+ * Returns the registered element with the given ID, if any. Internally forwards to {@link sap.ui.core.Element.getElementById }
85626
86118
  * or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
85627
86119
  * uses a lower UI5 version.
85628
86120
  *
@@ -85637,7 +86129,7 @@ declare module "sap/ui/test/OpaPlugin" {
85637
86129
  sId: ID | null | undefined
85638
86130
  ): UI5Element | undefined;
85639
86131
  /**
85640
- * Retrieves a resource bundle for the given library and locale. Internally forwards to {@link sap.ui.core.Lib#getResourceBundleFor }
86132
+ * Retrieves a resource bundle for the given library and locale. Internally forwards to {@link sap.ui.core.Lib.getResourceBundleFor }
85641
86133
  * or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
85642
86134
  * uses a lower UI5 version.
85643
86135
  *
@@ -85652,8 +86144,8 @@ declare module "sap/ui/test/OpaPlugin" {
85652
86144
  */
85653
86145
  static getMetadata(): Metadata;
85654
86146
  /**
85655
- * Returns the root element of the static, hidden area. Internally forwards to {@link sap.ui.core.StaticArea#getDomRef }
85656
- * or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
86147
+ * Returns the root element of the static, hidden area. Internally forwards to {@link module:sap/ui/core/StaticArea.getDomRef }
86148
+ * or the corresponding legacy API. The legacy API is used when the tested app is loaded in an iframe that
85657
86149
  * uses a lower UI5 version.
85658
86150
  *
85659
86151
  * @ui5-protected Do not call from applications (only from related classes in the framework)
@@ -85663,8 +86155,8 @@ declare module "sap/ui/test/OpaPlugin" {
85663
86155
  static getStaticAreaDomRef(): Element;
85664
86156
  /**
85665
86157
  * Returns `true` if there are any pending rendering tasks or when such rendering tasks are currently being
85666
- * executed. Internally forwards to {@link sap.ui.core.Rendering#isPending} or the corresponsing legacy
85667
- * API. The legacy API is used when the tested app is loaded in an iframe that uses a lower UI5 version.
86158
+ * executed. Internally forwards to {@link module:sap/ui/core/Rendering.isPending} or the corresponsing
86159
+ * legacy API. The legacy API is used when the tested app is loaded in an iframe that uses a lower UI5 version.
85668
86160
  *
85669
86161
  * @ui5-protected Do not call from applications (only from related classes in the framework)
85670
86162
  *
@@ -85833,7 +86325,7 @@ declare module "sap/ui/test/OpaPlugin" {
85833
86325
  *
85834
86326
  * // control type is often combined with viewName - only controls that are inside of the view
85835
86327
  * // and have the correct type will be returned
85836
- * // here all sap.m.Inputs inside of a view called 'my.View' will be returned
86328
+ * // here all sap.m.Input controls inside of a view called 'my.View' will be returned
85837
86329
  * new OpaPlugin().getMatchingControls({
85838
86330
  * viewName: "my.View"
85839
86331
  * controlType: "sap.m.Input"
@@ -86057,7 +86549,7 @@ declare module "sap/ui/test/RecordReplay" {
86057
86549
  /**
86058
86550
  * Clear existing text before interaction
86059
86551
  */
86060
- clearTextFirst?: string;
86552
+ clearTextFirst?: boolean;
86061
86553
  /**
86062
86554
  * If ENTER key will be entered after the text
86063
86555
  */
@@ -88990,6 +89482,8 @@ declare namespace sap {
88990
89482
 
88991
89483
  "sap/base/util/array/uniqueSort": undefined;
88992
89484
 
89485
+ "sap/base/util/clamp": undefined;
89486
+
88993
89487
  "sap/base/util/deepClone": undefined;
88994
89488
 
88995
89489
  "sap/base/util/deepEqual": undefined;
@@ -89402,6 +89896,8 @@ declare namespace sap {
89402
89896
 
89403
89897
  "sap/ui/dom/denormalizeScrollLeftRTL": undefined;
89404
89898
 
89899
+ "sap/ui/dom/detectTextSelection": undefined;
89900
+
89405
89901
  "sap/ui/dom/getOwnerWindow": undefined;
89406
89902
 
89407
89903
  "sap/ui/dom/getScrollbarSize": undefined;