@openui5/types 1.144.0 → 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.
- package/package.json +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.m.d.ts +29 -12
- package/types/sap.tnt.d.ts +19 -11
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +140 -99
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +5 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +378 -50
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +7 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +39 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +18 -8
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.145.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -6787,7 +6787,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6787
6787
|
*/
|
|
6788
6788
|
adjustDeepPath?: Function;
|
|
6789
6789
|
/**
|
|
6790
|
-
* ID of the
|
|
6790
|
+
* ID of the change set that this request belongs to
|
|
6791
6791
|
*/
|
|
6792
6792
|
changeSetId?: string;
|
|
6793
6793
|
/**
|
|
@@ -6810,7 +6810,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6810
6810
|
* - the HTTP method used for the function import is "POST",
|
|
6811
6811
|
* - the function import returns a single entity,
|
|
6812
6812
|
* - the back-end service must support the "Content-ID" header,
|
|
6813
|
-
* - the back end must allow GET requests relative to this content ID outside the
|
|
6813
|
+
* - the back end must allow GET requests relative to this content ID outside the change set within the
|
|
6814
6814
|
* `$batch` request. The success and error callback functions are called only once, even if there
|
|
6815
6815
|
* are two requests in the `$batch` related to a single call of {@link #callFunction}.
|
|
6816
6816
|
* - If both requests succeed, the success callback is called with the merged data of the POST and the
|
|
@@ -6929,7 +6929,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6929
6929
|
*/
|
|
6930
6930
|
groupId?: string;
|
|
6931
6931
|
/**
|
|
6932
|
-
* ID of the
|
|
6932
|
+
* ID of the change set that this request should belong to
|
|
6933
6933
|
*/
|
|
6934
6934
|
changeSetId?: string;
|
|
6935
6935
|
/**
|
|
@@ -7021,7 +7021,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7021
7021
|
* The parameter `expand` is supported since 1.78.0. If this parameter is set, the given navigation properties
|
|
7022
7022
|
* are expanded automatically with the same $batch request in which the POST request for the creation is
|
|
7023
7023
|
* contained. Ensure that the batch mode is used and the back-end service supports GET requests relative
|
|
7024
|
-
* to a content ID outside the
|
|
7024
|
+
* to a content ID outside the change set. The success and error callback functions are called only once,
|
|
7025
7025
|
* even if there are two requests in the `$batch` related to a single call of {@link #createEntry}:
|
|
7026
7026
|
*
|
|
7027
7027
|
* - a POST request for creating an entity,
|
|
@@ -7067,7 +7067,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7067
7067
|
*/
|
|
7068
7068
|
batchGroupId?: string;
|
|
7069
7069
|
/**
|
|
7070
|
-
* The ID of the
|
|
7070
|
+
* The ID of the change set that this request should belong to
|
|
7071
7071
|
*/
|
|
7072
7072
|
changeSetId?: string;
|
|
7073
7073
|
/**
|
|
@@ -7090,7 +7090,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7090
7090
|
* GET request. **Note:** The following prerequisites must be fulfilled:
|
|
7091
7091
|
* - batch mode must be enabled; see constructor parameter `useBatch`,
|
|
7092
7092
|
* - the back-end service must support the "Content-ID" header,
|
|
7093
|
-
* - the back end must allow GET requests relative to this content ID outside the
|
|
7093
|
+
* - the back end must allow GET requests relative to this content ID outside the change set within the
|
|
7094
7094
|
* `$batch` request.
|
|
7095
7095
|
*/
|
|
7096
7096
|
expand?: string;
|
|
@@ -8053,7 +8053,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8053
8053
|
*/
|
|
8054
8054
|
groupId?: string;
|
|
8055
8055
|
/**
|
|
8056
|
-
* ID of the
|
|
8056
|
+
* ID of the change set that this request should belong to
|
|
8057
8057
|
*/
|
|
8058
8058
|
changeSetId?: string;
|
|
8059
8059
|
/**
|
|
@@ -8416,7 +8416,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8416
8416
|
*/
|
|
8417
8417
|
groupId?: string;
|
|
8418
8418
|
/**
|
|
8419
|
-
* ID of the
|
|
8419
|
+
* ID of the change set that this request should belong to
|
|
8420
8420
|
*/
|
|
8421
8421
|
changeSetId?: string;
|
|
8422
8422
|
/**
|
|
@@ -10234,14 +10234,15 @@ declare module "sap/ui/test/starter/config" {
|
|
|
10234
10234
|
*/
|
|
10235
10235
|
export type CoverageConfiguration = {
|
|
10236
10236
|
/**
|
|
10237
|
-
*
|
|
10238
|
-
* 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
|
|
10239
10239
|
*/
|
|
10240
|
-
only?: string[];
|
|
10240
|
+
only?: string | string[];
|
|
10241
10241
|
/**
|
|
10242
|
-
*
|
|
10242
|
+
* A single module or package name, or a list of such names, that never should be instrumented. Default
|
|
10243
|
+
* is null
|
|
10243
10244
|
*/
|
|
10244
|
-
never?: string[];
|
|
10245
|
+
never?: string | string[];
|
|
10245
10246
|
|
|
10246
10247
|
branchTracking?: boolean;
|
|
10247
10248
|
/**
|
|
@@ -20616,7 +20617,7 @@ declare module "sap/ui/core/ComponentMetadata" {
|
|
|
20616
20617
|
*
|
|
20617
20618
|
* The configuration above can be accessed via `sample.Component.getMetadata().getCustomEntry("my.custom.config")`.
|
|
20618
20619
|
*
|
|
20619
|
-
* @deprecated As of version 1.27.1.
|
|
20620
|
+
* @deprecated As of version 1.27.1. without replacement.
|
|
20620
20621
|
*
|
|
20621
20622
|
* @returns custom Component configuration with the specified key.
|
|
20622
20623
|
*/
|
|
@@ -27772,7 +27773,7 @@ declare module "sap/ui/core/Element" {
|
|
|
27772
27773
|
/**
|
|
27773
27774
|
* The dependent to add; if empty, nothing is inserted
|
|
27774
27775
|
*/
|
|
27775
|
-
oDependent:
|
|
27776
|
+
oDependent: ManagedObject
|
|
27776
27777
|
): this;
|
|
27777
27778
|
/**
|
|
27778
27779
|
* Adds some dragDropConfig to the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
@@ -28156,11 +28157,11 @@ declare module "sap/ui/core/Element" {
|
|
|
28156
28157
|
* Gets content of aggregation {@link #getDependents dependents}.
|
|
28157
28158
|
*
|
|
28158
28159
|
* Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
|
|
28159
|
-
*
|
|
28160
|
+
* ManagedObject.
|
|
28160
28161
|
*
|
|
28161
28162
|
* @since 1.19
|
|
28162
28163
|
*/
|
|
28163
|
-
getDependents():
|
|
28164
|
+
getDependents(): ManagedObject[];
|
|
28164
28165
|
/**
|
|
28165
28166
|
* Returns the best suitable DOM Element that represents this UI5 Element. By default the DOM Element with
|
|
28166
28167
|
* the same ID as this Element is returned. Subclasses should override this method if the lookup via id
|
|
@@ -28333,8 +28334,8 @@ declare module "sap/ui/core/Element" {
|
|
|
28333
28334
|
oCustomData: CustomData
|
|
28334
28335
|
): int;
|
|
28335
28336
|
/**
|
|
28336
|
-
* Checks for the provided `sap.ui.
|
|
28337
|
-
* 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.
|
|
28338
28339
|
*
|
|
28339
28340
|
* @since 1.19
|
|
28340
28341
|
*
|
|
@@ -28344,7 +28345,7 @@ declare module "sap/ui/core/Element" {
|
|
|
28344
28345
|
/**
|
|
28345
28346
|
* The dependent whose index is looked for
|
|
28346
28347
|
*/
|
|
28347
|
-
oDependent:
|
|
28348
|
+
oDependent: ManagedObject
|
|
28348
28349
|
): int;
|
|
28349
28350
|
/**
|
|
28350
28351
|
* Checks for the provided `sap.ui.core.dnd.DragDropBase` in the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
@@ -28408,7 +28409,7 @@ declare module "sap/ui/core/Element" {
|
|
|
28408
28409
|
/**
|
|
28409
28410
|
* The dependent to insert; if empty, nothing is inserted
|
|
28410
28411
|
*/
|
|
28411
|
-
oDependent:
|
|
28412
|
+
oDependent: ManagedObject,
|
|
28412
28413
|
/**
|
|
28413
28414
|
* The `0`-based index the dependent should be inserted at; for a negative value of `iIndex`, the dependent
|
|
28414
28415
|
* is inserted at position 0; for a value greater than the current size of the aggregation, the dependent
|
|
@@ -28547,7 +28548,7 @@ declare module "sap/ui/core/Element" {
|
|
|
28547
28548
|
*
|
|
28548
28549
|
* @returns An array of the removed elements (might be empty)
|
|
28549
28550
|
*/
|
|
28550
|
-
removeAllDependents():
|
|
28551
|
+
removeAllDependents(): ManagedObject[];
|
|
28551
28552
|
/**
|
|
28552
28553
|
* Removes all the controls from the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
28553
28554
|
*
|
|
@@ -28581,8 +28582,8 @@ declare module "sap/ui/core/Element" {
|
|
|
28581
28582
|
/**
|
|
28582
28583
|
* The dependent to remove or its index or id
|
|
28583
28584
|
*/
|
|
28584
|
-
vDependent: int | string |
|
|
28585
|
-
):
|
|
28585
|
+
vDependent: int | string | ManagedObject
|
|
28586
|
+
): ManagedObject | null;
|
|
28586
28587
|
/**
|
|
28587
28588
|
* Removes a dragDropConfig from the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
28588
28589
|
*
|
|
@@ -28885,13 +28886,13 @@ declare module "sap/ui/core/Element" {
|
|
|
28885
28886
|
|
|
28886
28887
|
/**
|
|
28887
28888
|
* Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
|
|
28888
|
-
*
|
|
28889
|
+
* ManagedObject.
|
|
28889
28890
|
*
|
|
28890
28891
|
* @since 1.19
|
|
28891
28892
|
*/
|
|
28892
28893
|
dependents?:
|
|
28893
|
-
|
|
|
28894
|
-
|
|
|
28894
|
+
| ManagedObject[]
|
|
28895
|
+
| ManagedObject
|
|
28895
28896
|
| AggregationBindingInfo
|
|
28896
28897
|
| `{${string}}`;
|
|
28897
28898
|
|
|
@@ -38701,15 +38702,15 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
38701
38702
|
*/
|
|
38702
38703
|
sViewType: string,
|
|
38703
38704
|
/**
|
|
38704
|
-
*
|
|
38705
|
-
*
|
|
38706
|
-
*
|
|
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.
|
|
38707
38709
|
*/
|
|
38708
38710
|
bSyncSupport: boolean,
|
|
38709
38711
|
/**
|
|
38710
38712
|
* on-demand preprocessor which enables developers to quickly activate the preprocessor for a view, by setting
|
|
38711
|
-
* `preprocessors : { xml }`, for example.
|
|
38712
|
-
* 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.
|
|
38713
38714
|
*/
|
|
38714
38715
|
bOnDemand?: boolean,
|
|
38715
38716
|
/**
|
|
@@ -39962,9 +39963,10 @@ declare module "sap/ui/core/mvc/XMLView" {
|
|
|
39962
39963
|
*/
|
|
39963
39964
|
sViewType: string,
|
|
39964
39965
|
/**
|
|
39965
|
-
*
|
|
39966
|
-
*
|
|
39967
|
-
*
|
|
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.
|
|
39968
39970
|
*/
|
|
39969
39971
|
bSyncSupport: boolean,
|
|
39970
39972
|
/**
|
|
@@ -40007,9 +40009,10 @@ declare module "sap/ui/core/mvc/XMLView" {
|
|
|
40007
40009
|
| string
|
|
40008
40010
|
| ((p1: Object, p2: Preprocessor.ViewInfo, p3: object) => void),
|
|
40009
40011
|
/**
|
|
40010
|
-
*
|
|
40011
|
-
*
|
|
40012
|
-
*
|
|
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.
|
|
40013
40016
|
*/
|
|
40014
40017
|
bSyncSupport: boolean,
|
|
40015
40018
|
/**
|
|
@@ -46924,8 +46927,6 @@ declare module "sap/ui/core/support/RuleEngineOpaExtension" {
|
|
|
46924
46927
|
}
|
|
46925
46928
|
|
|
46926
46929
|
declare module "sap/ui/core/theming/Parameters" {
|
|
46927
|
-
import UI5Element from "sap/ui/core/Element";
|
|
46928
|
-
|
|
46929
46930
|
/**
|
|
46930
46931
|
* A helper used for (read-only) access to CSS parameters at runtime.
|
|
46931
46932
|
*/
|
|
@@ -46962,7 +46963,7 @@ declare module "sap/ui/core/theming/Parameters" {
|
|
|
46962
46963
|
get(
|
|
46963
46964
|
/**
|
|
46964
46965
|
* the (array with) CSS parameter name(s) or an object containing the (array with) CSS parameter name(s),
|
|
46965
|
-
*
|
|
46966
|
+
* and a callback for async retrieval of parameters.
|
|
46966
46967
|
*/
|
|
46967
46968
|
vName:
|
|
46968
46969
|
| string
|
|
@@ -46972,22 +46973,12 @@ declare module "sap/ui/core/theming/Parameters" {
|
|
|
46972
46973
|
* the (array with) CSS parameter name(s)
|
|
46973
46974
|
*/
|
|
46974
46975
|
name: string | string[];
|
|
46975
|
-
/**
|
|
46976
|
-
* Element / control instance to take into account when looking for a parameter value. This can make a difference
|
|
46977
|
-
* when a parameter value is overridden in a theme scope set via a CSS class.
|
|
46978
|
-
*/
|
|
46979
|
-
scopeElement?: UI5Element;
|
|
46980
46976
|
/**
|
|
46981
46977
|
* If given, the callback is only executed in case there are still parameters pending and one or more of
|
|
46982
46978
|
* the requested parameters is missing.
|
|
46983
46979
|
*/
|
|
46984
46980
|
callback?: (p1: Value) => void;
|
|
46985
|
-
}
|
|
46986
|
-
/**
|
|
46987
|
-
* Element / control instance to take into account when looking for a parameter value. This can make a difference
|
|
46988
|
-
* when a parameter value is overridden in a theme scope set via a CSS class.
|
|
46989
|
-
*/
|
|
46990
|
-
oElement?: UI5Element
|
|
46981
|
+
}
|
|
46991
46982
|
): Value;
|
|
46992
46983
|
/**
|
|
46993
46984
|
* Resets the CSS parameters which finally will reload the parameters the next time they are queried via
|
|
@@ -60398,6 +60389,44 @@ declare module "sap/ui/model/json/JSONModel" {
|
|
|
60398
60389
|
* @returns Metadata object describing this class
|
|
60399
60390
|
*/
|
|
60400
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;
|
|
60401
60430
|
/**
|
|
60402
60431
|
* Returns a Promise of the current data-loading state. Every currently running {@link sap.ui.model.json.JSONModel#loadData }
|
|
60403
60432
|
* call is respected by the returned Promise. This also includes a potential loadData call from the JSONModel's
|
|
@@ -60417,7 +60446,7 @@ declare module "sap/ui/model/json/JSONModel" {
|
|
|
60417
60446
|
*/
|
|
60418
60447
|
getJSON(): string;
|
|
60419
60448
|
/**
|
|
60420
|
-
* Returns the value for the
|
|
60449
|
+
* Returns the value for the given `sPath` and `oContext`.
|
|
60421
60450
|
*
|
|
60422
60451
|
*
|
|
60423
60452
|
* @returns The value of the property. If the property is not found, `null` or `undefined` is returned.
|
|
@@ -62224,16 +62253,19 @@ declare module "sap/ui/model/Model" {
|
|
|
62224
62253
|
*/
|
|
62225
62254
|
getMetaModel(): MetaModel | undefined;
|
|
62226
62255
|
/**
|
|
62256
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
62257
|
+
*
|
|
62227
62258
|
*
|
|
62228
|
-
* @returns The value for the given path/context or `undefined` if data could not be
|
|
62259
|
+
* @returns The the value of the property for the given path/context or `undefined` if data could not be
|
|
62260
|
+
* found
|
|
62229
62261
|
*/
|
|
62230
62262
|
getObject(
|
|
62231
62263
|
/**
|
|
62232
|
-
*
|
|
62264
|
+
* The path to the object you want to read
|
|
62233
62265
|
*/
|
|
62234
62266
|
sPath: string,
|
|
62235
62267
|
/**
|
|
62236
|
-
*
|
|
62268
|
+
* The context that resolves the path
|
|
62237
62269
|
*/
|
|
62238
62270
|
oContext?: Context,
|
|
62239
62271
|
/**
|
|
@@ -62247,29 +62279,31 @@ declare module "sap/ui/model/Model" {
|
|
|
62247
62279
|
* The original value is the value that was last responded by a server if using a server model implementation.
|
|
62248
62280
|
*
|
|
62249
62281
|
*
|
|
62250
|
-
* @returns
|
|
62282
|
+
* @returns The value of the property
|
|
62251
62283
|
*/
|
|
62252
62284
|
getOriginalProperty(
|
|
62253
62285
|
/**
|
|
62254
|
-
*
|
|
62286
|
+
* The path/name of the property
|
|
62255
62287
|
*/
|
|
62256
62288
|
sPath: string,
|
|
62257
62289
|
/**
|
|
62258
|
-
* Context
|
|
62290
|
+
* Context for accessing the property value
|
|
62259
62291
|
*/
|
|
62260
62292
|
oContext?: Context
|
|
62261
62293
|
): any;
|
|
62262
62294
|
/**
|
|
62295
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
62296
|
+
*
|
|
62263
62297
|
*
|
|
62264
|
-
* @returns
|
|
62298
|
+
* @returns The value of the addressed property
|
|
62265
62299
|
*/
|
|
62266
62300
|
getProperty(
|
|
62267
62301
|
/**
|
|
62268
|
-
* The path to
|
|
62302
|
+
* The path to the attribute value you want to read
|
|
62269
62303
|
*/
|
|
62270
62304
|
sPath: string,
|
|
62271
62305
|
/**
|
|
62272
|
-
* The context
|
|
62306
|
+
* The context that resolves the path
|
|
62273
62307
|
*/
|
|
62274
62308
|
oContext?: Context
|
|
62275
62309
|
): any;
|
|
@@ -65580,7 +65614,7 @@ declare module "sap/ui/model/odata/ODataModel" {
|
|
|
65580
65614
|
/**
|
|
65581
65615
|
* Appends the change batch operations to the end of the batch stack. Only `PUTPOST` or `DELETE`
|
|
65582
65616
|
* batch operations should be included in the specified array. The operations in the array will be included
|
|
65583
|
-
* in a single
|
|
65617
|
+
* in a single change set. To embed change operations in different change sets call this method with the
|
|
65584
65618
|
* corresponding change operations again. If an illegal batch operation is added to the change set nothing
|
|
65585
65619
|
* will be performed and false will be returned.
|
|
65586
65620
|
*
|
|
@@ -70500,8 +70534,8 @@ declare module "sap/ui/model/odata/v2/Context" {
|
|
|
70500
70534
|
*/
|
|
70501
70535
|
groupId?: string;
|
|
70502
70536
|
/**
|
|
70503
|
-
* ID of the
|
|
70504
|
-
*
|
|
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.
|
|
70505
70539
|
*/
|
|
70506
70540
|
changeSetId?: string;
|
|
70507
70541
|
/**
|
|
@@ -71578,7 +71612,7 @@ declare module "sap/ui/model/odata/v2/ODataListBinding" {
|
|
|
71578
71612
|
*/
|
|
71579
71613
|
mParameters?: {
|
|
71580
71614
|
/**
|
|
71581
|
-
* The ID of the
|
|
71615
|
+
* The ID of the change set that this request should belong to
|
|
71582
71616
|
*/
|
|
71583
71617
|
changeSetId?: string;
|
|
71584
71618
|
/**
|
|
@@ -72861,12 +72895,15 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
72861
72895
|
bDoNotRequestCount?: boolean
|
|
72862
72896
|
): Promise<void>;
|
|
72863
72897
|
/**
|
|
72898
|
+
* Note: You may want to call {@link #delete} instead in order to delete the OData entity on the server
|
|
72899
|
+
* side.
|
|
72900
|
+
*
|
|
72864
72901
|
* Destroys this context, that is, it removes this context from all dependent bindings and drops references
|
|
72865
72902
|
* to {@link #getBinding binding} and {@link #getModel model}, so that the context cannot be used anymore;
|
|
72866
72903
|
* it keeps path and index for debugging purposes. A destroyed context can be recognized by calling {@link #getBinding},
|
|
72867
72904
|
* which returns `undefined`.
|
|
72868
72905
|
*
|
|
72869
|
-
* **BEWARE
|
|
72906
|
+
* **BEWARE: Do not call this function!** The lifetime of an OData V4 context is completely controlled by
|
|
72870
72907
|
* its binding.
|
|
72871
72908
|
* See:
|
|
72872
72909
|
* sap.ui.base.Object#destroy
|
|
@@ -73200,6 +73237,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73200
73237
|
* Refreshes the single entity represented by this context. Use {@link #requestRefresh} if you want to wait
|
|
73201
73238
|
* for the refresh.
|
|
73202
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
|
+
*
|
|
73203
73244
|
* @since 1.53.0
|
|
73204
73245
|
*/
|
|
73205
73246
|
refresh(
|
|
@@ -73333,7 +73374,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73333
73374
|
*/
|
|
73334
73375
|
sGroupId?: string,
|
|
73335
73376
|
/**
|
|
73336
|
-
* Allows to remove the context
|
|
73377
|
+
* Allows to remove the context, see {@link #refresh} for details
|
|
73337
73378
|
*/
|
|
73338
73379
|
bAllowRemoval?: boolean
|
|
73339
73380
|
): Promise<void>;
|
|
@@ -73399,7 +73440,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73399
73440
|
* Since 1.82.0, absolute paths are supported. Absolute paths must start with the entity container (example
|
|
73400
73441
|
* "/com.sap.gateway.default.iwbep.tea_busi.v0001.Container/TEAMS") of the service. All (navigation) properties
|
|
73401
73442
|
* in the complete model matching such an absolute path are updated. Since 1.85.0, "14.3.11 Expression edm:String"
|
|
73402
|
-
* 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.
|
|
73403
73445
|
*
|
|
73404
73446
|
* Since 1.108.8, a property path matching the "com.sap.vocabularies.Common.v1.Messages" annotation of a
|
|
73405
73447
|
* list binding's entity type is treated specially for a row context of a list binding: It is loaded even
|
|
@@ -73448,9 +73490,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73448
73490
|
* Note: This can be used for single entities in a data aggregation scenario (@experimental as of version
|
|
73449
73491
|
* 1.144.0), see {@link #isAggregated}. Such a kept-alive context
|
|
73450
73492
|
* can be used as a binding context, can be used for updating data (see {@link #setProperty}),
|
|
73451
|
-
*
|
|
73452
|
-
*
|
|
73453
|
-
* Other APIs are not
|
|
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.
|
|
73454
73497
|
* See:
|
|
73455
73498
|
* #isKeepAlive
|
|
73456
73499
|
*
|
|
@@ -73997,6 +74040,7 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
|
|
|
73997
74040
|
* Method not supported
|
|
73998
74041
|
*
|
|
73999
74042
|
* @since 1.37.0
|
|
74043
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
74000
74044
|
*/
|
|
74001
74045
|
isInitial(): boolean;
|
|
74002
74046
|
/**
|
|
@@ -74869,8 +74913,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74869
74913
|
* sap.ui.model.ListBinding#getDistinctValues
|
|
74870
74914
|
*
|
|
74871
74915
|
* @since 1.37.0
|
|
74916
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
74872
74917
|
*/
|
|
74873
|
-
getDistinctValues(
|
|
74918
|
+
getDistinctValues(): any[];
|
|
74874
74919
|
/**
|
|
74875
74920
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
74876
74921
|
* delivers all entities considering the binding's query options (such as filters or sorters). Returns `null`
|
|
@@ -75053,6 +75098,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
75053
75098
|
* Method not supported
|
|
75054
75099
|
*
|
|
75055
75100
|
* @since 1.37.0
|
|
75101
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
75056
75102
|
*/
|
|
75057
75103
|
isInitial(): boolean;
|
|
75058
75104
|
/**
|
|
@@ -75857,18 +75903,9 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
75857
75903
|
* sap.ui.model.Model#bindTree
|
|
75858
75904
|
*
|
|
75859
75905
|
* @since 1.37.0
|
|
75906
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
75860
75907
|
*/
|
|
75861
|
-
bindTree(
|
|
75862
|
-
_sPath: string,
|
|
75863
|
-
|
|
75864
|
-
_oContext?: Context,
|
|
75865
|
-
|
|
75866
|
-
_aFilters?: Filter[],
|
|
75867
|
-
|
|
75868
|
-
_mParameters?: object,
|
|
75869
|
-
|
|
75870
|
-
_aSorters?: Sorter[]
|
|
75871
|
-
): TreeBinding;
|
|
75908
|
+
bindTree(): TreeBinding;
|
|
75872
75909
|
/**
|
|
75873
75910
|
* Returns a snapshot of each $metadata or annotation file loaded so far, combined into a single "JSON"
|
|
75874
75911
|
* object according to the streamlined OData V4 Metadata JSON Format.
|
|
@@ -75968,6 +76005,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
75968
76005
|
* Method not supported
|
|
75969
76006
|
*
|
|
75970
76007
|
* @since 1.37.0
|
|
76008
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
75971
76009
|
*/
|
|
75972
76010
|
getOriginalProperty(): void;
|
|
75973
76011
|
/**
|
|
@@ -76035,6 +76073,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76035
76073
|
* sap.ui.model.Model#refresh
|
|
76036
76074
|
*
|
|
76037
76075
|
* @since 1.37.0
|
|
76076
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
76038
76077
|
*/
|
|
76039
76078
|
refresh(): void;
|
|
76040
76079
|
/**
|
|
@@ -76079,7 +76118,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76079
76118
|
|
|
76080
76119
|
Text: string;
|
|
76081
76120
|
|
|
76082
|
-
UnitSpecificScale:
|
|
76121
|
+
UnitSpecificScale: number;
|
|
76083
76122
|
}
|
|
76084
76123
|
> | null>;
|
|
76085
76124
|
/**
|
|
@@ -76383,7 +76422,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76383
76422
|
|
|
76384
76423
|
Text: string;
|
|
76385
76424
|
|
|
76386
|
-
UnitSpecificScale:
|
|
76425
|
+
UnitSpecificScale: number;
|
|
76387
76426
|
}
|
|
76388
76427
|
> | null>;
|
|
76389
76428
|
/**
|
|
@@ -76459,6 +76498,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76459
76498
|
* Method not supported
|
|
76460
76499
|
*
|
|
76461
76500
|
* @since 1.37.0
|
|
76501
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
76462
76502
|
*/
|
|
76463
76503
|
setLegacySyntax(): void;
|
|
76464
76504
|
/**
|
|
@@ -77083,18 +77123,9 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77083
77123
|
* sap.ui.model.Model#bindTree
|
|
77084
77124
|
*
|
|
77085
77125
|
* @since 1.37.0
|
|
77126
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77086
77127
|
*/
|
|
77087
|
-
bindTree(
|
|
77088
|
-
_sPath: string,
|
|
77089
|
-
|
|
77090
|
-
_oContext?: Context1,
|
|
77091
|
-
|
|
77092
|
-
_aFilters?: Filter[],
|
|
77093
|
-
|
|
77094
|
-
_mParameters?: object,
|
|
77095
|
-
|
|
77096
|
-
_aSorters?: Sorter[]
|
|
77097
|
-
): TreeBinding;
|
|
77128
|
+
bindTree(): TreeBinding;
|
|
77098
77129
|
/**
|
|
77099
77130
|
* Changes the HTTP headers used for data and metadata requests sent by this model.
|
|
77100
77131
|
*
|
|
@@ -77211,6 +77242,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77211
77242
|
* Method not supported
|
|
77212
77243
|
*
|
|
77213
77244
|
* @since 1.37.0
|
|
77245
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77214
77246
|
*/
|
|
77215
77247
|
destroyBindingContext(): void;
|
|
77216
77248
|
/**
|
|
@@ -77400,6 +77432,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77400
77432
|
* Method not supported
|
|
77401
77433
|
*
|
|
77402
77434
|
* @since 1.37.0
|
|
77435
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77403
77436
|
*/
|
|
77404
77437
|
getObject(): void;
|
|
77405
77438
|
/**
|
|
@@ -77414,6 +77447,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77414
77447
|
* Method not supported
|
|
77415
77448
|
*
|
|
77416
77449
|
* @since 1.37.0
|
|
77450
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77417
77451
|
*/
|
|
77418
77452
|
getOriginalProperty(): void;
|
|
77419
77453
|
/**
|
|
@@ -77422,6 +77456,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77422
77456
|
* sap.ui.model.Model#getProperty
|
|
77423
77457
|
*
|
|
77424
77458
|
* @since 1.37.0
|
|
77459
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77425
77460
|
*/
|
|
77426
77461
|
getProperty(): void;
|
|
77427
77462
|
/**
|
|
@@ -77575,6 +77610,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77575
77610
|
* Method not supported
|
|
77576
77611
|
*
|
|
77577
77612
|
* @since 1.37.0
|
|
77613
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77578
77614
|
*/
|
|
77579
77615
|
setLegacySyntax(): void;
|
|
77580
77616
|
/**
|
|
@@ -77594,7 +77630,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77594
77630
|
/**
|
|
77595
77631
|
* A "Retry-After" handler
|
|
77596
77632
|
*/
|
|
77597
|
-
fnRetryAfter: (p1: Error) => Promise<
|
|
77633
|
+
fnRetryAfter: (p1: Error) => Promise<void>
|
|
77598
77634
|
): void;
|
|
77599
77635
|
/**
|
|
77600
77636
|
* Submits the requests associated with the given group ID in one batch request. Requests from subsequent
|
|
@@ -77950,6 +77986,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
|
|
|
77950
77986
|
* Method not supported
|
|
77951
77987
|
*
|
|
77952
77988
|
* @since 1.37.0
|
|
77989
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77953
77990
|
*/
|
|
77954
77991
|
isInitial(): boolean;
|
|
77955
77992
|
/**
|
|
@@ -78052,6 +78089,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
|
|
|
78052
78089
|
* sap.ui.model.Binding#resume
|
|
78053
78090
|
*
|
|
78054
78091
|
* @since 1.37.0
|
|
78092
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
78055
78093
|
*/
|
|
78056
78094
|
resume(): void;
|
|
78057
78095
|
/**
|
|
@@ -78116,6 +78154,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
|
|
|
78116
78154
|
* sap.ui.model.Binding#suspend
|
|
78117
78155
|
*
|
|
78118
78156
|
* @since 1.37.0
|
|
78157
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
78119
78158
|
*/
|
|
78120
78159
|
suspend(): void;
|
|
78121
78160
|
/**
|
|
@@ -89857,6 +89896,8 @@ declare namespace sap {
|
|
|
89857
89896
|
|
|
89858
89897
|
"sap/ui/dom/denormalizeScrollLeftRTL": undefined;
|
|
89859
89898
|
|
|
89899
|
+
"sap/ui/dom/detectTextSelection": undefined;
|
|
89900
|
+
|
|
89860
89901
|
"sap/ui/dom/getOwnerWindow": undefined;
|
|
89861
89902
|
|
|
89862
89903
|
"sap/ui/dom/getScrollbarSize": undefined;
|