@openui5/ts-types 1.144.0 → 1.145.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.f.d.ts +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 -97
- 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 +356 -49
- 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 +5 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +42 -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.1
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -7206,14 +7206,15 @@ declare module "sap/ui/test/starter/config" {
|
|
|
7206
7206
|
*/
|
|
7207
7207
|
export type CoverageConfiguration = {
|
|
7208
7208
|
/**
|
|
7209
|
-
*
|
|
7210
|
-
* Default is null
|
|
7209
|
+
* A single module or package name, or a list of such names, that should be instrumented. If not given,
|
|
7210
|
+
* all modules are instrumented. Default is null
|
|
7211
7211
|
*/
|
|
7212
|
-
only?: string[];
|
|
7212
|
+
only?: string | string[];
|
|
7213
7213
|
/**
|
|
7214
|
-
*
|
|
7214
|
+
* A single module or package name, or a list of such names, that never should be instrumented. Default
|
|
7215
|
+
* is null
|
|
7215
7216
|
*/
|
|
7216
|
-
never?: string[];
|
|
7217
|
+
never?: string | string[];
|
|
7217
7218
|
|
|
7218
7219
|
branchTracking?: boolean;
|
|
7219
7220
|
/**
|
|
@@ -22519,15 +22520,15 @@ declare namespace sap {
|
|
|
22519
22520
|
*/
|
|
22520
22521
|
sViewType: string,
|
|
22521
22522
|
/**
|
|
22522
|
-
*
|
|
22523
|
-
*
|
|
22524
|
-
*
|
|
22523
|
+
* Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
|
|
22524
|
+
* used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
|
|
22525
|
+
* executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
|
|
22526
|
+
* etc) may break the view initialization and lead to unexpected results.
|
|
22525
22527
|
*/
|
|
22526
22528
|
bSyncSupport: boolean,
|
|
22527
22529
|
/**
|
|
22528
22530
|
* on-demand preprocessor which enables developers to quickly activate the preprocessor for a view, by setting
|
|
22529
|
-
* `preprocessors : { xml }`, for example.
|
|
22530
|
-
* only be one on-demand preprocessor per content type.
|
|
22531
|
+
* `preprocessors : { xml }`, for example. There can only be one on-demand preprocessor per content type.
|
|
22531
22532
|
*/
|
|
22532
22533
|
bOnDemand?: boolean,
|
|
22533
22534
|
/**
|
|
@@ -23458,9 +23459,10 @@ declare namespace sap {
|
|
|
23458
23459
|
*/
|
|
23459
23460
|
sViewType: string,
|
|
23460
23461
|
/**
|
|
23461
|
-
*
|
|
23462
|
-
*
|
|
23463
|
-
*
|
|
23462
|
+
* Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
|
|
23463
|
+
* used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
|
|
23464
|
+
* executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
|
|
23465
|
+
* etc) may break the view initialization and lead to unexpected results.
|
|
23464
23466
|
*/
|
|
23465
23467
|
bSyncSupport: boolean,
|
|
23466
23468
|
/**
|
|
@@ -23507,9 +23509,10 @@ declare namespace sap {
|
|
|
23507
23509
|
p3: object
|
|
23508
23510
|
) => void),
|
|
23509
23511
|
/**
|
|
23510
|
-
*
|
|
23511
|
-
*
|
|
23512
|
-
*
|
|
23512
|
+
* Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
|
|
23513
|
+
* used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
|
|
23514
|
+
* executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
|
|
23515
|
+
* etc) may break the view initialization and lead to unexpected results.
|
|
23513
23516
|
*/
|
|
23514
23517
|
bSyncSupport: boolean,
|
|
23515
23518
|
/**
|
|
@@ -28916,7 +28919,7 @@ declare namespace sap {
|
|
|
28916
28919
|
get(
|
|
28917
28920
|
/**
|
|
28918
28921
|
* the (array with) CSS parameter name(s) or an object containing the (array with) CSS parameter name(s),
|
|
28919
|
-
*
|
|
28922
|
+
* and a callback for async retrieval of parameters.
|
|
28920
28923
|
*/
|
|
28921
28924
|
vName:
|
|
28922
28925
|
| string
|
|
@@ -28926,22 +28929,12 @@ declare namespace sap {
|
|
|
28926
28929
|
* the (array with) CSS parameter name(s)
|
|
28927
28930
|
*/
|
|
28928
28931
|
name: string | string[];
|
|
28929
|
-
/**
|
|
28930
|
-
* Element / control instance to take into account when looking for a parameter value. This can make a difference
|
|
28931
|
-
* when a parameter value is overridden in a theme scope set via a CSS class.
|
|
28932
|
-
*/
|
|
28933
|
-
scopeElement?: sap.ui.core.Element;
|
|
28934
28932
|
/**
|
|
28935
28933
|
* If given, the callback is only executed in case there are still parameters pending and one or more of
|
|
28936
28934
|
* the requested parameters is missing.
|
|
28937
28935
|
*/
|
|
28938
28936
|
callback?: (p1: sap.ui.core.theming.Parameters.Value) => void;
|
|
28939
|
-
}
|
|
28940
|
-
/**
|
|
28941
|
-
* Element / control instance to take into account when looking for a parameter value. This can make a difference
|
|
28942
|
-
* when a parameter value is overridden in a theme scope set via a CSS class.
|
|
28943
|
-
*/
|
|
28944
|
-
oElement?: sap.ui.core.Element
|
|
28937
|
+
}
|
|
28945
28938
|
): sap.ui.core.theming.Parameters.Value;
|
|
28946
28939
|
/**
|
|
28947
28940
|
* Resets the CSS parameters which finally will reload the parameters the next time they are queried via
|
|
@@ -34183,13 +34176,13 @@ declare namespace sap {
|
|
|
34183
34176
|
|
|
34184
34177
|
/**
|
|
34185
34178
|
* Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
|
|
34186
|
-
*
|
|
34179
|
+
* ManagedObject.
|
|
34187
34180
|
*
|
|
34188
34181
|
* @since 1.19
|
|
34189
34182
|
*/
|
|
34190
34183
|
dependents?:
|
|
34191
|
-
| sap.ui.
|
|
34192
|
-
| sap.ui.
|
|
34184
|
+
| sap.ui.base.ManagedObject[]
|
|
34185
|
+
| sap.ui.base.ManagedObject
|
|
34193
34186
|
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
34194
34187
|
| `{${string}}`;
|
|
34195
34188
|
|
|
@@ -39808,7 +39801,7 @@ declare namespace sap {
|
|
|
39808
39801
|
*
|
|
39809
39802
|
* The configuration above can be accessed via `sample.Component.getMetadata().getCustomEntry("my.custom.config")`.
|
|
39810
39803
|
*
|
|
39811
|
-
* @deprecated As of version 1.27.1.
|
|
39804
|
+
* @deprecated As of version 1.27.1. without replacement.
|
|
39812
39805
|
*
|
|
39813
39806
|
* @returns custom Component configuration with the specified key.
|
|
39814
39807
|
*/
|
|
@@ -41334,7 +41327,7 @@ declare namespace sap {
|
|
|
41334
41327
|
/**
|
|
41335
41328
|
* The dependent to add; if empty, nothing is inserted
|
|
41336
41329
|
*/
|
|
41337
|
-
oDependent: sap.ui.
|
|
41330
|
+
oDependent: sap.ui.base.ManagedObject
|
|
41338
41331
|
): this;
|
|
41339
41332
|
/**
|
|
41340
41333
|
* Adds some dragDropConfig to the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
@@ -41718,11 +41711,11 @@ declare namespace sap {
|
|
|
41718
41711
|
* Gets content of aggregation {@link #getDependents dependents}.
|
|
41719
41712
|
*
|
|
41720
41713
|
* Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
|
|
41721
|
-
*
|
|
41714
|
+
* ManagedObject.
|
|
41722
41715
|
*
|
|
41723
41716
|
* @since 1.19
|
|
41724
41717
|
*/
|
|
41725
|
-
getDependents(): sap.ui.
|
|
41718
|
+
getDependents(): sap.ui.base.ManagedObject[];
|
|
41726
41719
|
/**
|
|
41727
41720
|
* Returns the best suitable DOM Element that represents this UI5 Element. By default the DOM Element with
|
|
41728
41721
|
* the same ID as this Element is returned. Subclasses should override this method if the lookup via id
|
|
@@ -41895,8 +41888,8 @@ declare namespace sap {
|
|
|
41895
41888
|
oCustomData: sap.ui.core.CustomData
|
|
41896
41889
|
): int;
|
|
41897
41890
|
/**
|
|
41898
|
-
* Checks for the provided `sap.ui.
|
|
41899
|
-
* returns its index if found or -1 otherwise.
|
|
41891
|
+
* Checks for the provided `sap.ui.base.ManagedObject` in the aggregation {@link #getDependents dependents}.
|
|
41892
|
+
* and returns its index if found or -1 otherwise.
|
|
41900
41893
|
*
|
|
41901
41894
|
* @since 1.19
|
|
41902
41895
|
*
|
|
@@ -41906,7 +41899,7 @@ declare namespace sap {
|
|
|
41906
41899
|
/**
|
|
41907
41900
|
* The dependent whose index is looked for
|
|
41908
41901
|
*/
|
|
41909
|
-
oDependent: sap.ui.
|
|
41902
|
+
oDependent: sap.ui.base.ManagedObject
|
|
41910
41903
|
): int;
|
|
41911
41904
|
/**
|
|
41912
41905
|
* Checks for the provided `sap.ui.core.dnd.DragDropBase` in the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
@@ -41970,7 +41963,7 @@ declare namespace sap {
|
|
|
41970
41963
|
/**
|
|
41971
41964
|
* The dependent to insert; if empty, nothing is inserted
|
|
41972
41965
|
*/
|
|
41973
|
-
oDependent: sap.ui.
|
|
41966
|
+
oDependent: sap.ui.base.ManagedObject,
|
|
41974
41967
|
/**
|
|
41975
41968
|
* The `0`-based index the dependent should be inserted at; for a negative value of `iIndex`, the dependent
|
|
41976
41969
|
* is inserted at position 0; for a value greater than the current size of the aggregation, the dependent
|
|
@@ -42109,7 +42102,7 @@ declare namespace sap {
|
|
|
42109
42102
|
*
|
|
42110
42103
|
* @returns An array of the removed elements (might be empty)
|
|
42111
42104
|
*/
|
|
42112
|
-
removeAllDependents(): sap.ui.
|
|
42105
|
+
removeAllDependents(): sap.ui.base.ManagedObject[];
|
|
42113
42106
|
/**
|
|
42114
42107
|
* Removes all the controls from the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
42115
42108
|
*
|
|
@@ -42143,8 +42136,8 @@ declare namespace sap {
|
|
|
42143
42136
|
/**
|
|
42144
42137
|
* The dependent to remove or its index or id
|
|
42145
42138
|
*/
|
|
42146
|
-
vDependent: int | string | sap.ui.
|
|
42147
|
-
): sap.ui.
|
|
42139
|
+
vDependent: int | string | sap.ui.base.ManagedObject
|
|
42140
|
+
): sap.ui.base.ManagedObject | null;
|
|
42148
42141
|
/**
|
|
42149
42142
|
* Removes a dragDropConfig from the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
42150
42143
|
*
|
|
@@ -55504,6 +55497,44 @@ declare namespace sap {
|
|
|
55504
55497
|
* @returns Metadata object describing this class
|
|
55505
55498
|
*/
|
|
55506
55499
|
static getMetadata(): sap.ui.base.Metadata;
|
|
55500
|
+
/**
|
|
55501
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
55502
|
+
*
|
|
55503
|
+
* @deprecated As of version 1.145.0. use {@link #getProperty} instead
|
|
55504
|
+
*
|
|
55505
|
+
* @returns The value for the given `sPath` and `oContext`. If the property path derived from the given
|
|
55506
|
+
* `sPath` and `oContext` is absolute (starts with a "/") but does not lead to a property in the data structure,
|
|
55507
|
+
* `undefined` is returned. If the property `sPath` is not absolute, `null` is returned.
|
|
55508
|
+
*/
|
|
55509
|
+
static getObject(
|
|
55510
|
+
/**
|
|
55511
|
+
* The path to the object you want to read
|
|
55512
|
+
*/
|
|
55513
|
+
sPath: string,
|
|
55514
|
+
/**
|
|
55515
|
+
* The context that resolves the path
|
|
55516
|
+
*/
|
|
55517
|
+
oContext?: sap.ui.model.Context
|
|
55518
|
+
): any | null | undefined;
|
|
55519
|
+
/**
|
|
55520
|
+
* Returns the original value for the property with the given `sPath` and `oContext`.
|
|
55521
|
+
*
|
|
55522
|
+
* @deprecated As of version 1.145.0. use {@link #getProperty} instead
|
|
55523
|
+
*
|
|
55524
|
+
* @returns The value of the property for the given `sPath` and `oContext`. If the property path derived
|
|
55525
|
+
* from the given `sPath` and `oContext` is absolute (starts with a "/") but does not lead to a property
|
|
55526
|
+
* in the data structure, `undefined` is returned. If the property `sPath` is not absolute, `null` is returned.
|
|
55527
|
+
*/
|
|
55528
|
+
static getOriginalProperty(
|
|
55529
|
+
/**
|
|
55530
|
+
* The path/name of the property
|
|
55531
|
+
*/
|
|
55532
|
+
sPath: string,
|
|
55533
|
+
/**
|
|
55534
|
+
* Context for accessing the property value
|
|
55535
|
+
*/
|
|
55536
|
+
oContext?: sap.ui.model.Context
|
|
55537
|
+
): any | null | undefined;
|
|
55507
55538
|
/**
|
|
55508
55539
|
* Returns a Promise of the current data-loading state. Every currently running {@link sap.ui.model.json.JSONModel#loadData }
|
|
55509
55540
|
* call is respected by the returned Promise. This also includes a potential loadData call from the JSONModel's
|
|
@@ -55523,7 +55554,7 @@ declare namespace sap {
|
|
|
55523
55554
|
*/
|
|
55524
55555
|
getJSON(): string;
|
|
55525
55556
|
/**
|
|
55526
|
-
* Returns the value for the
|
|
55557
|
+
* Returns the value for the given `sPath` and `oContext`.
|
|
55527
55558
|
*
|
|
55528
55559
|
*
|
|
55529
55560
|
* @returns The value of the property. If the property is not found, `null` or `undefined` is returned.
|
|
@@ -59472,8 +59503,8 @@ declare namespace sap {
|
|
|
59472
59503
|
*/
|
|
59473
59504
|
groupId?: string;
|
|
59474
59505
|
/**
|
|
59475
|
-
* ID of the
|
|
59476
|
-
*
|
|
59506
|
+
* ID of the change set that this request should belong to. If not provided, the `changeSetId` defined for
|
|
59507
|
+
* the type of the entity to be deleted is used.
|
|
59477
59508
|
*/
|
|
59478
59509
|
changeSetId?: string;
|
|
59479
59510
|
/**
|
|
@@ -60391,7 +60422,7 @@ declare namespace sap {
|
|
|
60391
60422
|
*/
|
|
60392
60423
|
mParameters?: {
|
|
60393
60424
|
/**
|
|
60394
|
-
* The ID of the
|
|
60425
|
+
* The ID of the change set that this request should belong to
|
|
60395
60426
|
*/
|
|
60396
60427
|
changeSetId?: string;
|
|
60397
60428
|
/**
|
|
@@ -61550,7 +61581,7 @@ declare namespace sap {
|
|
|
61550
61581
|
*/
|
|
61551
61582
|
adjustDeepPath?: Function;
|
|
61552
61583
|
/**
|
|
61553
|
-
* ID of the
|
|
61584
|
+
* ID of the change set that this request belongs to
|
|
61554
61585
|
*/
|
|
61555
61586
|
changeSetId?: string;
|
|
61556
61587
|
/**
|
|
@@ -61573,7 +61604,7 @@ declare namespace sap {
|
|
|
61573
61604
|
* - the HTTP method used for the function import is "POST",
|
|
61574
61605
|
* - the function import returns a single entity,
|
|
61575
61606
|
* - the back-end service must support the "Content-ID" header,
|
|
61576
|
-
* - the back end must allow GET requests relative to this content ID outside the
|
|
61607
|
+
* - the back end must allow GET requests relative to this content ID outside the change set within the
|
|
61577
61608
|
* `$batch` request. The success and error callback functions are called only once, even if there
|
|
61578
61609
|
* are two requests in the `$batch` related to a single call of {@link #callFunction}.
|
|
61579
61610
|
* - If both requests succeed, the success callback is called with the merged data of the POST and the
|
|
@@ -61692,7 +61723,7 @@ declare namespace sap {
|
|
|
61692
61723
|
*/
|
|
61693
61724
|
groupId?: string;
|
|
61694
61725
|
/**
|
|
61695
|
-
* ID of the
|
|
61726
|
+
* ID of the change set that this request should belong to
|
|
61696
61727
|
*/
|
|
61697
61728
|
changeSetId?: string;
|
|
61698
61729
|
/**
|
|
@@ -61784,7 +61815,7 @@ declare namespace sap {
|
|
|
61784
61815
|
* The parameter `expand` is supported since 1.78.0. If this parameter is set, the given navigation properties
|
|
61785
61816
|
* are expanded automatically with the same $batch request in which the POST request for the creation is
|
|
61786
61817
|
* contained. Ensure that the batch mode is used and the back-end service supports GET requests relative
|
|
61787
|
-
* to a content ID outside the
|
|
61818
|
+
* to a content ID outside the change set. The success and error callback functions are called only once,
|
|
61788
61819
|
* even if there are two requests in the `$batch` related to a single call of {@link #createEntry}:
|
|
61789
61820
|
*
|
|
61790
61821
|
* - a POST request for creating an entity,
|
|
@@ -61830,7 +61861,7 @@ declare namespace sap {
|
|
|
61830
61861
|
*/
|
|
61831
61862
|
batchGroupId?: string;
|
|
61832
61863
|
/**
|
|
61833
|
-
* The ID of the
|
|
61864
|
+
* The ID of the change set that this request should belong to
|
|
61834
61865
|
*/
|
|
61835
61866
|
changeSetId?: string;
|
|
61836
61867
|
/**
|
|
@@ -61853,7 +61884,7 @@ declare namespace sap {
|
|
|
61853
61884
|
* GET request. **Note:** The following prerequisites must be fulfilled:
|
|
61854
61885
|
* - batch mode must be enabled; see constructor parameter `useBatch`,
|
|
61855
61886
|
* - the back-end service must support the "Content-ID" header,
|
|
61856
|
-
* - the back end must allow GET requests relative to this content ID outside the
|
|
61887
|
+
* - the back end must allow GET requests relative to this content ID outside the change set within the
|
|
61857
61888
|
* `$batch` request.
|
|
61858
61889
|
*/
|
|
61859
61890
|
expand?: string;
|
|
@@ -62822,7 +62853,7 @@ declare namespace sap {
|
|
|
62822
62853
|
*/
|
|
62823
62854
|
groupId?: string;
|
|
62824
62855
|
/**
|
|
62825
|
-
* ID of the
|
|
62856
|
+
* ID of the change set that this request should belong to
|
|
62826
62857
|
*/
|
|
62827
62858
|
changeSetId?: string;
|
|
62828
62859
|
/**
|
|
@@ -63193,7 +63224,7 @@ declare namespace sap {
|
|
|
63193
63224
|
*/
|
|
63194
63225
|
groupId?: string;
|
|
63195
63226
|
/**
|
|
63196
|
-
* ID of the
|
|
63227
|
+
* ID of the change set that this request should belong to
|
|
63197
63228
|
*/
|
|
63198
63229
|
changeSetId?: string;
|
|
63199
63230
|
/**
|
|
@@ -64735,12 +64766,15 @@ declare namespace sap {
|
|
|
64735
64766
|
bDoNotRequestCount?: boolean
|
|
64736
64767
|
): Promise<void>;
|
|
64737
64768
|
/**
|
|
64769
|
+
* Note: You may want to call {@link #delete} instead in order to delete the OData entity on the server
|
|
64770
|
+
* side.
|
|
64771
|
+
*
|
|
64738
64772
|
* Destroys this context, that is, it removes this context from all dependent bindings and drops references
|
|
64739
64773
|
* to {@link #getBinding binding} and {@link #getModel model}, so that the context cannot be used anymore;
|
|
64740
64774
|
* it keeps path and index for debugging purposes. A destroyed context can be recognized by calling {@link #getBinding},
|
|
64741
64775
|
* which returns `undefined`.
|
|
64742
64776
|
*
|
|
64743
|
-
* **BEWARE
|
|
64777
|
+
* **BEWARE: Do not call this function!** The lifetime of an OData V4 context is completely controlled by
|
|
64744
64778
|
* its binding.
|
|
64745
64779
|
* See:
|
|
64746
64780
|
* sap.ui.base.Object#destroy
|
|
@@ -65076,6 +65110,10 @@ declare namespace sap {
|
|
|
65076
65110
|
* Refreshes the single entity represented by this context. Use {@link #requestRefresh} if you want to wait
|
|
65077
65111
|
* for the refresh.
|
|
65078
65112
|
*
|
|
65113
|
+
* When using data aggregation without `groupLevels` and without `"grandTotal like 1.84"` (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}),
|
|
65114
|
+
* single entities (see {@link #isAggregated}) can be refreshed and the grand total is updated accordingly
|
|
65115
|
+
* (@experimental as of version 1.145.0).
|
|
65116
|
+
*
|
|
65079
65117
|
* @since 1.53.0
|
|
65080
65118
|
*/
|
|
65081
65119
|
refresh(
|
|
@@ -65209,7 +65247,7 @@ declare namespace sap {
|
|
|
65209
65247
|
*/
|
|
65210
65248
|
sGroupId?: string,
|
|
65211
65249
|
/**
|
|
65212
|
-
* Allows to remove the context
|
|
65250
|
+
* Allows to remove the context, see {@link #refresh} for details
|
|
65213
65251
|
*/
|
|
65214
65252
|
bAllowRemoval?: boolean
|
|
65215
65253
|
): Promise<void>;
|
|
@@ -65275,7 +65313,8 @@ declare namespace sap {
|
|
|
65275
65313
|
* Since 1.82.0, absolute paths are supported. Absolute paths must start with the entity container (example
|
|
65276
65314
|
* "/com.sap.gateway.default.iwbep.tea_busi.v0001.Container/TEAMS") of the service. All (navigation) properties
|
|
65277
65315
|
* in the complete model matching such an absolute path are updated. Since 1.85.0, "14.3.11 Expression edm:String"
|
|
65278
|
-
* is accepted as well.
|
|
65316
|
+
* is accepted as well. Since 1.145.0, you can use `null` values (and `{$Null : null}`) as synonyms for
|
|
65317
|
+
* empty navigation property paths.
|
|
65279
65318
|
*
|
|
65280
65319
|
* Since 1.108.8, a property path matching the "com.sap.vocabularies.Common.v1.Messages" annotation of a
|
|
65281
65320
|
* list binding's entity type is treated specially for a row context of a list binding: It is loaded even
|
|
@@ -65326,9 +65365,10 @@ declare namespace sap {
|
|
|
65326
65365
|
* Note: This can be used for single entities in a data aggregation scenario (@experimental as of version
|
|
65327
65366
|
* 1.144.0), see {@link #isAggregated}. Such a kept-alive context
|
|
65328
65367
|
* can be used as a binding context, can be used for updating data (see {@link #setProperty}),
|
|
65329
|
-
*
|
|
65330
|
-
*
|
|
65331
|
-
* Other APIs are not
|
|
65368
|
+
* can be refreshed (see {@link #refresh} and {@link #requestRefresh}), is refreshed when its list
|
|
65369
|
+
* binding's {@link sap.ui.model.odata.v4.ODataListBinding#refresh}) is called, and is refreshed when
|
|
65370
|
+
* {@link #requestSideEffects}) is called on its list binding's header context. Other APIs are not
|
|
65371
|
+
* supported.
|
|
65332
65372
|
* See:
|
|
65333
65373
|
* #isKeepAlive
|
|
65334
65374
|
*
|
|
@@ -65863,6 +65903,7 @@ declare namespace sap {
|
|
|
65863
65903
|
* Method not supported
|
|
65864
65904
|
*
|
|
65865
65905
|
* @since 1.37.0
|
|
65906
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
65866
65907
|
*/
|
|
65867
65908
|
isInitial(): boolean;
|
|
65868
65909
|
/**
|
|
@@ -66630,8 +66671,9 @@ declare namespace sap {
|
|
|
66630
66671
|
* sap.ui.model.ListBinding#getDistinctValues
|
|
66631
66672
|
*
|
|
66632
66673
|
* @since 1.37.0
|
|
66674
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
66633
66675
|
*/
|
|
66634
|
-
getDistinctValues(
|
|
66676
|
+
getDistinctValues(): any[];
|
|
66635
66677
|
/**
|
|
66636
66678
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
66637
66679
|
* delivers all entities considering the binding's query options (such as filters or sorters). Returns `null`
|
|
@@ -66814,6 +66856,7 @@ declare namespace sap {
|
|
|
66814
66856
|
* Method not supported
|
|
66815
66857
|
*
|
|
66816
66858
|
* @since 1.37.0
|
|
66859
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
66817
66860
|
*/
|
|
66818
66861
|
isInitial(): boolean;
|
|
66819
66862
|
/**
|
|
@@ -67385,18 +67428,9 @@ declare namespace sap {
|
|
|
67385
67428
|
* sap.ui.model.Model#bindTree
|
|
67386
67429
|
*
|
|
67387
67430
|
* @since 1.37.0
|
|
67431
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
67388
67432
|
*/
|
|
67389
|
-
bindTree(
|
|
67390
|
-
_sPath: string,
|
|
67391
|
-
|
|
67392
|
-
_oContext?: sap.ui.model.Context,
|
|
67393
|
-
|
|
67394
|
-
_aFilters?: sap.ui.model.Filter[],
|
|
67395
|
-
|
|
67396
|
-
_mParameters?: object,
|
|
67397
|
-
|
|
67398
|
-
_aSorters?: sap.ui.model.Sorter[]
|
|
67399
|
-
): sap.ui.model.TreeBinding;
|
|
67433
|
+
bindTree(): sap.ui.model.TreeBinding;
|
|
67400
67434
|
/**
|
|
67401
67435
|
* Returns a snapshot of each $metadata or annotation file loaded so far, combined into a single "JSON"
|
|
67402
67436
|
* object according to the streamlined OData V4 Metadata JSON Format.
|
|
@@ -67496,6 +67530,7 @@ declare namespace sap {
|
|
|
67496
67530
|
* Method not supported
|
|
67497
67531
|
*
|
|
67498
67532
|
* @since 1.37.0
|
|
67533
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
67499
67534
|
*/
|
|
67500
67535
|
getOriginalProperty(): void;
|
|
67501
67536
|
/**
|
|
@@ -67563,6 +67598,7 @@ declare namespace sap {
|
|
|
67563
67598
|
* sap.ui.model.Model#refresh
|
|
67564
67599
|
*
|
|
67565
67600
|
* @since 1.37.0
|
|
67601
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
67566
67602
|
*/
|
|
67567
67603
|
refresh(): void;
|
|
67568
67604
|
/**
|
|
@@ -67607,7 +67643,7 @@ declare namespace sap {
|
|
|
67607
67643
|
|
|
67608
67644
|
Text: string;
|
|
67609
67645
|
|
|
67610
|
-
UnitSpecificScale:
|
|
67646
|
+
UnitSpecificScale: number;
|
|
67611
67647
|
}
|
|
67612
67648
|
> | null>;
|
|
67613
67649
|
/**
|
|
@@ -67911,7 +67947,7 @@ declare namespace sap {
|
|
|
67911
67947
|
|
|
67912
67948
|
Text: string;
|
|
67913
67949
|
|
|
67914
|
-
UnitSpecificScale:
|
|
67950
|
+
UnitSpecificScale: number;
|
|
67915
67951
|
}
|
|
67916
67952
|
> | null>;
|
|
67917
67953
|
/**
|
|
@@ -67987,6 +68023,7 @@ declare namespace sap {
|
|
|
67987
68023
|
* Method not supported
|
|
67988
68024
|
*
|
|
67989
68025
|
* @since 1.37.0
|
|
68026
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
67990
68027
|
*/
|
|
67991
68028
|
setLegacySyntax(): void;
|
|
67992
68029
|
/**
|
|
@@ -68571,18 +68608,9 @@ declare namespace sap {
|
|
|
68571
68608
|
* sap.ui.model.Model#bindTree
|
|
68572
68609
|
*
|
|
68573
68610
|
* @since 1.37.0
|
|
68611
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
68574
68612
|
*/
|
|
68575
|
-
bindTree(
|
|
68576
|
-
_sPath: string,
|
|
68577
|
-
|
|
68578
|
-
_oContext?: sap.ui.model.Context,
|
|
68579
|
-
|
|
68580
|
-
_aFilters?: sap.ui.model.Filter[],
|
|
68581
|
-
|
|
68582
|
-
_mParameters?: object,
|
|
68583
|
-
|
|
68584
|
-
_aSorters?: sap.ui.model.Sorter[]
|
|
68585
|
-
): sap.ui.model.TreeBinding;
|
|
68613
|
+
bindTree(): sap.ui.model.TreeBinding;
|
|
68586
68614
|
/**
|
|
68587
68615
|
* Changes the HTTP headers used for data and metadata requests sent by this model.
|
|
68588
68616
|
*
|
|
@@ -68699,6 +68727,7 @@ declare namespace sap {
|
|
|
68699
68727
|
* Method not supported
|
|
68700
68728
|
*
|
|
68701
68729
|
* @since 1.37.0
|
|
68730
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
68702
68731
|
*/
|
|
68703
68732
|
destroyBindingContext(): void;
|
|
68704
68733
|
/**
|
|
@@ -68888,6 +68917,7 @@ declare namespace sap {
|
|
|
68888
68917
|
* Method not supported
|
|
68889
68918
|
*
|
|
68890
68919
|
* @since 1.37.0
|
|
68920
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
68891
68921
|
*/
|
|
68892
68922
|
getObject(): void;
|
|
68893
68923
|
/**
|
|
@@ -68902,6 +68932,7 @@ declare namespace sap {
|
|
|
68902
68932
|
* Method not supported
|
|
68903
68933
|
*
|
|
68904
68934
|
* @since 1.37.0
|
|
68935
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
68905
68936
|
*/
|
|
68906
68937
|
getOriginalProperty(): void;
|
|
68907
68938
|
/**
|
|
@@ -68910,6 +68941,7 @@ declare namespace sap {
|
|
|
68910
68941
|
* sap.ui.model.Model#getProperty
|
|
68911
68942
|
*
|
|
68912
68943
|
* @since 1.37.0
|
|
68944
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
68913
68945
|
*/
|
|
68914
68946
|
getProperty(): void;
|
|
68915
68947
|
/**
|
|
@@ -69063,6 +69095,7 @@ declare namespace sap {
|
|
|
69063
69095
|
* Method not supported
|
|
69064
69096
|
*
|
|
69065
69097
|
* @since 1.37.0
|
|
69098
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
69066
69099
|
*/
|
|
69067
69100
|
setLegacySyntax(): void;
|
|
69068
69101
|
/**
|
|
@@ -69082,7 +69115,7 @@ declare namespace sap {
|
|
|
69082
69115
|
/**
|
|
69083
69116
|
* A "Retry-After" handler
|
|
69084
69117
|
*/
|
|
69085
|
-
fnRetryAfter: (p1: Error) => Promise<
|
|
69118
|
+
fnRetryAfter: (p1: Error) => Promise<void>
|
|
69086
69119
|
): void;
|
|
69087
69120
|
/**
|
|
69088
69121
|
* Submits the requests associated with the given group ID in one batch request. Requests from subsequent
|
|
@@ -69277,6 +69310,7 @@ declare namespace sap {
|
|
|
69277
69310
|
* Method not supported
|
|
69278
69311
|
*
|
|
69279
69312
|
* @since 1.37.0
|
|
69313
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
69280
69314
|
*/
|
|
69281
69315
|
isInitial(): boolean;
|
|
69282
69316
|
/**
|
|
@@ -69379,6 +69413,7 @@ declare namespace sap {
|
|
|
69379
69413
|
* sap.ui.model.Binding#resume
|
|
69380
69414
|
*
|
|
69381
69415
|
* @since 1.37.0
|
|
69416
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
69382
69417
|
*/
|
|
69383
69418
|
resume(): void;
|
|
69384
69419
|
/**
|
|
@@ -69443,6 +69478,7 @@ declare namespace sap {
|
|
|
69443
69478
|
* sap.ui.model.Binding#suspend
|
|
69444
69479
|
*
|
|
69445
69480
|
* @since 1.37.0
|
|
69481
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
69446
69482
|
*/
|
|
69447
69483
|
suspend(): void;
|
|
69448
69484
|
/**
|
|
@@ -72732,7 +72768,7 @@ declare namespace sap {
|
|
|
72732
72768
|
/**
|
|
72733
72769
|
* Appends the change batch operations to the end of the batch stack. Only `PUTPOST` or `DELETE`
|
|
72734
72770
|
* batch operations should be included in the specified array. The operations in the array will be included
|
|
72735
|
-
* in a single
|
|
72771
|
+
* in a single change set. To embed change operations in different change sets call this method with the
|
|
72736
72772
|
* corresponding change operations again. If an illegal batch operation is added to the change set nothing
|
|
72737
72773
|
* will be performed and false will be returned.
|
|
72738
72774
|
*
|
|
@@ -79658,16 +79694,19 @@ declare namespace sap {
|
|
|
79658
79694
|
*/
|
|
79659
79695
|
getMetaModel(): sap.ui.model.MetaModel | undefined;
|
|
79660
79696
|
/**
|
|
79697
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
79698
|
+
*
|
|
79661
79699
|
*
|
|
79662
|
-
* @returns The value for the given path/context or `undefined` if data could not be
|
|
79700
|
+
* @returns The the value of the property for the given path/context or `undefined` if data could not be
|
|
79701
|
+
* found
|
|
79663
79702
|
*/
|
|
79664
79703
|
getObject(
|
|
79665
79704
|
/**
|
|
79666
|
-
*
|
|
79705
|
+
* The path to the object you want to read
|
|
79667
79706
|
*/
|
|
79668
79707
|
sPath: string,
|
|
79669
79708
|
/**
|
|
79670
|
-
*
|
|
79709
|
+
* The context that resolves the path
|
|
79671
79710
|
*/
|
|
79672
79711
|
oContext?: sap.ui.model.Context,
|
|
79673
79712
|
/**
|
|
@@ -79681,29 +79720,31 @@ declare namespace sap {
|
|
|
79681
79720
|
* The original value is the value that was last responded by a server if using a server model implementation.
|
|
79682
79721
|
*
|
|
79683
79722
|
*
|
|
79684
|
-
* @returns
|
|
79723
|
+
* @returns The value of the property
|
|
79685
79724
|
*/
|
|
79686
79725
|
getOriginalProperty(
|
|
79687
79726
|
/**
|
|
79688
|
-
*
|
|
79727
|
+
* The path/name of the property
|
|
79689
79728
|
*/
|
|
79690
79729
|
sPath: string,
|
|
79691
79730
|
/**
|
|
79692
|
-
* Context
|
|
79731
|
+
* Context for accessing the property value
|
|
79693
79732
|
*/
|
|
79694
79733
|
oContext?: sap.ui.model.Context
|
|
79695
79734
|
): any;
|
|
79696
79735
|
/**
|
|
79736
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
79697
79737
|
*
|
|
79698
|
-
*
|
|
79738
|
+
*
|
|
79739
|
+
* @returns The value of the addressed property
|
|
79699
79740
|
*/
|
|
79700
79741
|
getProperty(
|
|
79701
79742
|
/**
|
|
79702
|
-
* The path to
|
|
79743
|
+
* The path to the attribute value you want to read
|
|
79703
79744
|
*/
|
|
79704
79745
|
sPath: string,
|
|
79705
79746
|
/**
|
|
79706
|
-
* The context
|
|
79747
|
+
* The context that resolves the path
|
|
79707
79748
|
*/
|
|
79708
79749
|
oContext?: sap.ui.model.Context
|
|
79709
79750
|
): any;
|
|
@@ -87595,6 +87636,8 @@ declare namespace sap {
|
|
|
87595
87636
|
|
|
87596
87637
|
"sap/ui/dom/denormalizeScrollLeftRTL": undefined;
|
|
87597
87638
|
|
|
87639
|
+
"sap/ui/dom/detectTextSelection": undefined;
|
|
87640
|
+
|
|
87598
87641
|
"sap/ui/dom/getOwnerWindow": undefined;
|
|
87599
87642
|
|
|
87600
87643
|
"sap/ui/dom/getScrollbarSize": undefined;
|