@openui5/types 1.123.1 → 1.124.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 +49 -12
- package/types/sap.m.d.ts +4149 -474
- package/types/sap.tnt.d.ts +3 -2
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +17 -9
- package/types/sap.ui.core.d.ts +130 -231
- package/types/sap.ui.dt.d.ts +6 -2
- package/types/sap.ui.fl.d.ts +3 -2
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +7 -4
- package/types/sap.ui.mdc.d.ts +482 -755
- 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 +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +4 -3
- package/types/sap.ui.ux3.d.ts +3 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +23 -12
- package/types/sap.ui.webc.main.d.ts +65 -33
- package/types/sap.uxap.d.ts +11 -6
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,8 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
|
|
283
|
-
// For Library Version: 1.123.1
|
|
282
|
+
// For Library Version: 1.124.0
|
|
284
283
|
|
|
285
284
|
declare module "sap/base/assert" {
|
|
286
285
|
/**
|
|
@@ -3527,29 +3526,47 @@ declare module "sap/base/util/Version" {
|
|
|
3527
3526
|
/**
|
|
3528
3527
|
* the minor part of the version number
|
|
3529
3528
|
*/
|
|
3530
|
-
iMinor
|
|
3529
|
+
iMinor?: int,
|
|
3531
3530
|
/**
|
|
3532
3531
|
* the patch part of the version number
|
|
3533
3532
|
*/
|
|
3534
|
-
iPatch
|
|
3533
|
+
iPatch?: int,
|
|
3535
3534
|
/**
|
|
3536
3535
|
* the suffix part of the version number
|
|
3537
3536
|
*/
|
|
3538
|
-
sSuffix
|
|
3537
|
+
sSuffix?: string
|
|
3539
3538
|
);
|
|
3540
3539
|
|
|
3541
3540
|
/**
|
|
3542
3541
|
* Compares this version with a given one.
|
|
3543
3542
|
*
|
|
3544
3543
|
* The version with which this version should be compared can be given as a `sap/base/util/Version` instance,
|
|
3545
|
-
* as a string (e.g. `v.
|
|
3544
|
+
* as a string (e.g. `v.compareTo("1.4.5")`). Or major, minor, patch and suffix values can be given as separate
|
|
3546
3545
|
* parameters (e.g. `v.compareTo(1, 4, 5)`) or in an array (e.g. `v.compareTo([1, 4, 5])`).
|
|
3547
3546
|
*
|
|
3548
3547
|
*
|
|
3549
3548
|
* @returns 0, if the given version is equal to this version, a negative value if the given other version
|
|
3550
3549
|
* is greater and a positive value otherwise
|
|
3551
3550
|
*/
|
|
3552
|
-
compareTo(
|
|
3551
|
+
compareTo(
|
|
3552
|
+
/**
|
|
3553
|
+
* The major part (an integer) of the version to compare to or the full version in any of the single parameter
|
|
3554
|
+
* variants, as documented for the {@link module:sap/base/util/Version constructor}.
|
|
3555
|
+
*/
|
|
3556
|
+
vOtherMajor: int | string | any[] | Version,
|
|
3557
|
+
/**
|
|
3558
|
+
* A minor version to compare to (only valid when `vOther` is a single integer)
|
|
3559
|
+
*/
|
|
3560
|
+
iOtherMinor?: int,
|
|
3561
|
+
/**
|
|
3562
|
+
* A patch version to compare to (only valid when `vOther` is a single integer)
|
|
3563
|
+
*/
|
|
3564
|
+
iOtherPatch?: int,
|
|
3565
|
+
/**
|
|
3566
|
+
* A version suffix like "-SNAPSHOT" to compare to (only valid when `vOther` is an integer)
|
|
3567
|
+
*/
|
|
3568
|
+
sOtherSuffix?: string
|
|
3569
|
+
): int;
|
|
3553
3570
|
/**
|
|
3554
3571
|
* Returns the major version part of this version.
|
|
3555
3572
|
*
|
|
@@ -8164,10 +8181,11 @@ declare module "sap/ui/base/Event" {
|
|
|
8164
8181
|
*/
|
|
8165
8182
|
export default class Event<
|
|
8166
8183
|
ParamsType extends Record<string, any> = object,
|
|
8167
|
-
SourceType extends EventProvider = EventProvider
|
|
8184
|
+
SourceType extends EventProvider = EventProvider,
|
|
8168
8185
|
>
|
|
8169
8186
|
extends BaseObject
|
|
8170
|
-
implements Poolable
|
|
8187
|
+
implements Poolable
|
|
8188
|
+
{
|
|
8171
8189
|
__implements__sap_ui_base_Poolable: boolean;
|
|
8172
8190
|
/**
|
|
8173
8191
|
* Creates an event with the given `sId`, linked to the provided `oSource` and enriched with the `mParameters`.
|
|
@@ -8309,7 +8327,7 @@ declare module "sap/ui/base/EventProvider" {
|
|
|
8309
8327
|
* Provides eventing capabilities for objects like attaching or detaching event handlers for events which
|
|
8310
8328
|
* are notified when events are fired.
|
|
8311
8329
|
*/
|
|
8312
|
-
export default
|
|
8330
|
+
export default class EventProvider extends BaseObject {
|
|
8313
8331
|
/**
|
|
8314
8332
|
* Creates an instance of EventProvider.
|
|
8315
8333
|
*/
|
|
@@ -16065,7 +16083,8 @@ declare module "sap/ui/core/ComponentContainer" {
|
|
|
16065
16083
|
*/
|
|
16066
16084
|
export default class ComponentContainer
|
|
16067
16085
|
extends Control
|
|
16068
|
-
implements IPlaceholderSupport
|
|
16086
|
+
implements IPlaceholderSupport
|
|
16087
|
+
{
|
|
16069
16088
|
__implements__sap_ui_core_IPlaceholderSupport: boolean;
|
|
16070
16089
|
/**
|
|
16071
16090
|
* Constructor for a new ComponentContainer.
|
|
@@ -22162,7 +22181,8 @@ declare module "sap/ui/core/dnd/DragDropInfo" {
|
|
|
22162
22181
|
*/
|
|
22163
22182
|
export default class DragDropInfo
|
|
22164
22183
|
extends DropInfo
|
|
22165
|
-
implements dnd.IDragInfo, dnd.IDropInfo
|
|
22184
|
+
implements dnd.IDragInfo, dnd.IDropInfo
|
|
22185
|
+
{
|
|
22166
22186
|
__implements__sap_ui_core_dnd_IDragInfo: boolean;
|
|
22167
22187
|
__implements__sap_ui_core_dnd_IDropInfo: boolean;
|
|
22168
22188
|
/**
|
|
@@ -25935,7 +25955,7 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
25935
25955
|
):
|
|
25936
25956
|
| [
|
|
25937
25957
|
Date | import("sap/ui/core/date/UI5Date").default | undefined,
|
|
25938
|
-
string | undefined
|
|
25958
|
+
string | undefined,
|
|
25939
25959
|
]
|
|
25940
25960
|
| null;
|
|
25941
25961
|
}
|
|
@@ -26405,8 +26425,8 @@ declare module "sap/ui/core/format/NumberFormat" {
|
|
|
26405
26425
|
strictGroupingValidation?: boolean;
|
|
26406
26426
|
/**
|
|
26407
26427
|
* defines the style of format. Valid values are 'short, 'long' or 'standard' (based on the CLDR decimalFormat).
|
|
26408
|
-
* When set to 'short' or 'long', numbers are formatted into
|
|
26409
|
-
* default value of the 'precision' option is set to 2. This can be changed by setting either min/maxFractionDigits,
|
|
26428
|
+
* When set to 'short' or 'long', numbers are formatted into the 'short' form only. When this option is
|
|
26429
|
+
* set, the default value of the 'precision' option is set to 2. This can be changed by setting either min/maxFractionDigits,
|
|
26410
26430
|
* decimals, shortDecimals, or the 'precision' option itself.
|
|
26411
26431
|
*/
|
|
26412
26432
|
style?: string;
|
|
@@ -35189,7 +35209,6 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
35189
35209
|
* Synchronously loading views get wrapped in an immediately resolving Promise.
|
|
35190
35210
|
*
|
|
35191
35211
|
* @since 1.30
|
|
35192
|
-
* @deprecated (since 1.66) - Use {@link sap.ui.core.mvc.View.create View.create} instead
|
|
35193
35212
|
*
|
|
35194
35213
|
* @returns resolves with the complete view instance, rejects with any thrown error
|
|
35195
35214
|
*/
|
|
@@ -35938,17 +35957,6 @@ declare module "sap/ui/core/mvc/XMLView" {
|
|
|
35938
35957
|
* Configuration for the XMLView caching.
|
|
35939
35958
|
*/
|
|
35940
35959
|
cache?: Object;
|
|
35941
|
-
|
|
35942
|
-
/**
|
|
35943
|
-
* legacy-relevant:
|
|
35944
|
-
*
|
|
35945
|
-
* A map containing references to modules loaded via a 'core:require' statement in an XMLView.
|
|
35946
|
-
*
|
|
35947
|
-
* Only used for HTML embedded in an XMLView. This kind of HTML is processed synchronously only and needs
|
|
35948
|
-
* access to 'core:require' modules from outside. Normally 'core:require' modules are NOT passed into nested
|
|
35949
|
-
* Views and Fragments.
|
|
35950
|
-
*/
|
|
35951
|
-
requireContext?: Object;
|
|
35952
35960
|
}
|
|
35953
35961
|
}
|
|
35954
35962
|
|
|
@@ -48367,7 +48375,8 @@ declare module "sap/ui/core/webc/WebComponent" {
|
|
|
48367
48375
|
/**
|
|
48368
48376
|
* HACK! This mapping omits the `no-unnecessary-qualifier` error or we need to extend the `tslint.json`!
|
|
48369
48377
|
*/
|
|
48370
|
-
export type MetadataOptionsAssociationMapping =
|
|
48378
|
+
export type MetadataOptionsAssociationMapping =
|
|
48379
|
+
MetadataOptions.Association.Mapping;
|
|
48371
48380
|
|
|
48372
48381
|
/**
|
|
48373
48382
|
* HACK! This mapping omits the `no-unnecessary-qualifier` error or we need to extend the `tslint.json`!
|
|
@@ -54375,18 +54384,6 @@ declare module "sap/ui/model/ClientTreeBinding" {
|
|
|
54375
54384
|
}
|
|
54376
54385
|
}
|
|
54377
54386
|
|
|
54378
|
-
declare module "sap/ui/model/ClientTreeBindingAdapter" {
|
|
54379
|
-
export default class ClientTreeBindingAdapter {
|
|
54380
|
-
/**
|
|
54381
|
-
* Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
|
|
54382
|
-
* controls.
|
|
54383
|
-
*
|
|
54384
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
54385
|
-
*/
|
|
54386
|
-
protected constructor();
|
|
54387
|
-
}
|
|
54388
|
-
}
|
|
54389
|
-
|
|
54390
54387
|
declare module "sap/ui/model/CompositeBinding" {
|
|
54391
54388
|
import PropertyBinding from "sap/ui/model/PropertyBinding";
|
|
54392
54389
|
|
|
@@ -62701,6 +62698,20 @@ declare module "sap/ui/model/odata/type/Currency" {
|
|
|
62701
62698
|
/**
|
|
62702
62699
|
* Formats the given values of the parts of the `Currency` composite type to the given target type.
|
|
62703
62700
|
*
|
|
62701
|
+
* If CLDR or custom currencies are used and the `preserveDecimals` format option is set to `false`, the
|
|
62702
|
+
* maximal number of decimal places for the numeric part of the {@link sap.ui.model.odata.type.Currency }
|
|
62703
|
+
* type depends on:
|
|
62704
|
+
* The `DecimalPlaces` property of the current currency code. The `maxFractionDigits` format option
|
|
62705
|
+
* of the {@link sap.ui.model.odata.type.Currency} type. The `scale` constraint of the {@link sap.ui.model.odata.type.Decimal }
|
|
62706
|
+
* type for the quantity part. The maximal number of decimal places is determined as follows:
|
|
62707
|
+
* If `maxFractionDigits` is provided and is less than the current currency code's `DecimalPlaces`, the
|
|
62708
|
+
* `maxFractionDigits` is used to determine the number of decimal places. Conversely, if `DecimalPlaces`
|
|
62709
|
+
* is less than `maxFractionDigits`, `DecimalPlaces` wins. If `maxFractionDigits` is not provided, the
|
|
62710
|
+
* `DecimalPlaces` of the current currency code is applied, unless it is greater than the `scale` of the
|
|
62711
|
+
* {@link sap.ui.model.odata.type.Decimal} type for the numeric part, in which case `scale` wins. A
|
|
62712
|
+
* `scale='variable'` is treated as being always greater than the `DecimalPlaces` of the current currency
|
|
62713
|
+
* code. In this case, the `DecimalPlaces` of the current currency code is applied.
|
|
62714
|
+
*
|
|
62704
62715
|
* @since 1.63.0
|
|
62705
62716
|
*
|
|
62706
62717
|
* @returns The formatted output value; `null`, if `aValues` is `undefined` or `null` or if the amount,
|
|
@@ -65523,6 +65534,20 @@ declare module "sap/ui/model/odata/type/Unit" {
|
|
|
65523
65534
|
/**
|
|
65524
65535
|
* Formats the given values of the parts of the `Unit` composite type to the given target type.
|
|
65525
65536
|
*
|
|
65537
|
+
* If CLDR or custom units are used and the `preserveDecimals` format option is set to `false`, the maximal
|
|
65538
|
+
* number of decimal places for the numeric part of the {@link sap.ui.model.odata.type.Unit} type depends
|
|
65539
|
+
* on:
|
|
65540
|
+
* The `DecimalPlaces` property of the current unit code. The `maxFractionDigits` format option of
|
|
65541
|
+
* the {@link sap.ui.model.odata.type.Unit} type. The `scale` constraint of the {@link sap.ui.model.odata.type.Decimal }
|
|
65542
|
+
* type for the quantity part. The maximal number of decimal places is determined as follows:
|
|
65543
|
+
* If `maxFractionDigits` is provided and is less than the current unit code's `DecimalPlaces`, the `maxFractionDigits`
|
|
65544
|
+
* is used to determine the number of decimal places. Conversely, if `DecimalPlaces` is less than `maxFractionDigits`,
|
|
65545
|
+
* `DecimalPlaces` wins. If `maxFractionDigits` is not provided, the `DecimalPlaces` of the current
|
|
65546
|
+
* unit code is applied, unless it is greater than the `scale` of the {@link sap.ui.model.odata.type.Decimal }
|
|
65547
|
+
* type for the numeric part, in which case `scale` wins. A `scale='variable'` is treated as being always
|
|
65548
|
+
* greater than the `DecimalPlaces` of the current unit code. In this case, the `DecimalPlaces` of the current
|
|
65549
|
+
* unit code is applied.
|
|
65550
|
+
*
|
|
65526
65551
|
* @since 1.63.0
|
|
65527
65552
|
*
|
|
65528
65553
|
* @returns The formatted output value; `null`, if `aValues` is `undefined` or `null` or if the measure,
|
|
@@ -67923,12 +67948,11 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
67923
67948
|
* A tree state handle can be given to the `ODataTreeBinding` when two conditions are met:
|
|
67924
67949
|
* - The binding is running in {@link sap.ui.model.odata.OperationMode.Client OperationMode.Client}, and
|
|
67925
67950
|
*
|
|
67926
|
-
* - the {@link sap.ui.table.TreeTable} is used. The feature is only available when using the
|
|
67927
|
-
*
|
|
67928
|
-
* all necessary information to expand the tree to the given state.
|
|
67951
|
+
* - the {@link sap.ui.table.TreeTable} is used. The feature is only available when using the {@link sap.ui.table.TreeTable}.
|
|
67952
|
+
* The tree state handle will contain all necessary information to expand the tree to the given state.
|
|
67929
67953
|
*
|
|
67930
67954
|
* This feature is not supported if {@link sap.ui.model.odata.OperationMode.Server OperationMode.Server }
|
|
67931
|
-
* or {@link sap.ui.model.odata.OperationMode.Auto OperationMode.Auto} is used.
|
|
67955
|
+
* or {@link sap.ui.model.odata.OperationMode.Auto OperationMode.Auto} is used.
|
|
67932
67956
|
*/
|
|
67933
67957
|
treeState?: any;
|
|
67934
67958
|
/**
|
|
@@ -71214,6 +71238,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71214
71238
|
* can also be accessed via instance annotation "@$ui5.context.isTransient" at the entity.
|
|
71215
71239
|
* See:
|
|
71216
71240
|
* #isInactive
|
|
71241
|
+
* #move
|
|
71217
71242
|
*
|
|
71218
71243
|
* @since 1.43.0
|
|
71219
71244
|
*
|
|
@@ -71222,16 +71247,31 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71222
71247
|
*/
|
|
71223
71248
|
isTransient(): boolean | undefined;
|
|
71224
71249
|
/**
|
|
71225
|
-
*
|
|
71226
|
-
*
|
|
71227
|
-
* {@link #delete deletion}, or move must be pending, and no other modification (including collapse
|
|
71228
|
-
* ancestor node) must happen while this move is pending!
|
|
71229
|
-
*
|
|
71230
|
-
*
|
|
71231
|
-
*
|
|
71232
|
-
*
|
|
71233
|
-
*
|
|
71234
|
-
*
|
|
71250
|
+
* In a {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation recursive hierarchy}, this method moves
|
|
71251
|
+
* a node to the given new parent, just before the given next sibling. No other {@link sap.ui.model.odata.v4.ODataListBinding#create creation},
|
|
71252
|
+
* {@link #delete deletion}, or move must be pending, and no other modification (including the collapse
|
|
71253
|
+
* of an ancestor node) must happen while this move is pending!
|
|
71254
|
+
*
|
|
71255
|
+
* The move potentially changes the {@link #getIndex index} of this context, of all of its descendants,
|
|
71256
|
+
* and of all other nodes affected by the move. Any index change can, however, only be observed reliably
|
|
71257
|
+
* for this context itself.
|
|
71258
|
+
*
|
|
71259
|
+
* The move changes the {@link https://ui5.sap.com/#/topic/c9723f8265f644af91c0ed941e114d46/section_CST context states }
|
|
71260
|
+
* of the nodes as follows:
|
|
71261
|
+
* If the moved node is in the "created" state, it becomes simply "persisted", with {@link #isTransient }
|
|
71262
|
+
* returning `undefined`. In this case, any descendants of this node are themselves in the "created" state
|
|
71263
|
+
* and also become "persisted"; otherwise, their states remain unaffected by the move. If the moved
|
|
71264
|
+
* node's new parent node is in the "created" state, the parent's lowest-level {@link getParent ancestor }
|
|
71265
|
+
* is determined that is also in the "created" state (if no ancestor nodes are in "created" state, this
|
|
71266
|
+
* will be the new parent itself). Any descendants of that node are then themselves in the "created" state
|
|
71267
|
+
* and also become "persisted"; otherwise, their states remain unaffected by the move.
|
|
71268
|
+
*
|
|
71269
|
+
* Note that a node in the "created" state is not shown in its usual position as defined by the service
|
|
71270
|
+
* and the current sort order, but out of place as the first child of its parent. It is even shown if it
|
|
71271
|
+
* doesn't match current search or filter criteria! Once it becomes simply "persisted" due to the move (as
|
|
71272
|
+
* described above), this special handling ends. The node is then shown in place again, or it might even
|
|
71273
|
+
* not be shown anymore due to the search or filter criteria. If the latter happens to this context, its
|
|
71274
|
+
* {@link #getIndex index} becomes `undefined`.
|
|
71235
71275
|
*
|
|
71236
71276
|
* @experimental (since 1.119.0)
|
|
71237
71277
|
*
|
|
@@ -71242,11 +71282,16 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71242
71282
|
/**
|
|
71243
71283
|
* A parameter object
|
|
71244
71284
|
*/
|
|
71245
|
-
oParameters
|
|
71285
|
+
oParameters: {
|
|
71286
|
+
/**
|
|
71287
|
+
* The next sibling's context, or `null` to turn this node into the last sibling (since 1.124.0). Omitting
|
|
71288
|
+
* the sibling moves this node to a position determined by the server.
|
|
71289
|
+
*/
|
|
71290
|
+
nextSibling?: Context | null;
|
|
71246
71291
|
/**
|
|
71247
|
-
* The new parent's context
|
|
71292
|
+
* The new parent's context, or (since 1.121.0) `null` to turn this node into a root node
|
|
71248
71293
|
*/
|
|
71249
|
-
parent
|
|
71294
|
+
parent: Context | null;
|
|
71250
71295
|
}
|
|
71251
71296
|
): Promise<void>;
|
|
71252
71297
|
/**
|
|
@@ -71579,8 +71624,12 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71579
71624
|
* on the client, it does not appear as {@link #isSelected selected}. If the preconditions of {@link #setKeepAlive }
|
|
71580
71625
|
* hold, a best effort is made to implicitly keep a selected context alive in order to preserve the selection
|
|
71581
71626
|
* state. Once the selection is no longer needed, for example because you perform an operation on this context
|
|
71582
|
-
* which logically removes it from its list, you need to reset the selection.
|
|
71583
|
-
*
|
|
71627
|
+
* which logically removes it from its list, you need to reset the selection.
|
|
71628
|
+
*
|
|
71629
|
+
* If this context is a header context of a list binding, the new selection state is propagated to all row
|
|
71630
|
+
* contexts. This method can be called repeatedly with the same value to again select all row contexts.
|
|
71631
|
+
* For example, if a row context was deselected explicitly, it is selected again by selecting the header
|
|
71632
|
+
* context (even if the header context is already selected).
|
|
71584
71633
|
*
|
|
71585
71634
|
* **Note:** It is unsafe to keep a reference to a context instance which is not {@link #isKeepAlive kept alive}.
|
|
71586
71635
|
* See:
|
|
@@ -71759,7 +71808,8 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
|
|
|
71759
71808
|
): this;
|
|
71760
71809
|
/**
|
|
71761
71810
|
* Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
|
|
71762
|
-
* is deselected.
|
|
71811
|
+
* is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
|
|
71812
|
+
* the '$filter' or '$search' parameter is changed.
|
|
71763
71813
|
*
|
|
71764
71814
|
* If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
|
|
71765
71815
|
* to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
|
|
@@ -72426,7 +72476,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
72426
72476
|
): this;
|
|
72427
72477
|
/**
|
|
72428
72478
|
* Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
|
|
72429
|
-
* is deselected.
|
|
72479
|
+
* is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
|
|
72480
|
+
* the '$filter' or '$search' parameter is changed.
|
|
72430
72481
|
*
|
|
72431
72482
|
* If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
|
|
72432
72483
|
* to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
|
|
@@ -72645,7 +72696,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
72645
72696
|
): this;
|
|
72646
72697
|
/**
|
|
72647
72698
|
* Filters the list with the given filters. Since 1.97.0, if filters are unchanged, no request is sent,
|
|
72648
|
-
* regardless of pending changes. Since 1.111.0, the header context
|
|
72699
|
+
* regardless of pending changes. Since 1.111.0, all contexts (incl. the header context) are deselected,
|
|
72700
|
+
* but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set.
|
|
72649
72701
|
*
|
|
72650
72702
|
* If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
|
|
72651
72703
|
* to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
|
|
@@ -73224,7 +73276,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73224
73276
|
* certain content will break the syntax of the system query option `$apply` and result in an invalid request.
|
|
73225
73277
|
* If the OData service supports the proposal ODATA-1452,
|
|
73226
73278
|
* then `ODataUtils.formatLiteral(sSearch, "Edm.String");` should be used to encapsulate the whole search
|
|
73227
|
-
* string beforehand (see {@link sap.ui.model.odata.v4.ODataUtils.formatLiteral}).
|
|
73279
|
+
* string beforehand (see {@link sap.ui.model.odata.v4.ODataUtils.formatLiteral}). Since 1.120.13, all contexts,
|
|
73280
|
+
* including the header context are deselected if the '$$clearSelectionOnFilter' binding parameter is set
|
|
73281
|
+
* and the search parameter is changed.
|
|
73228
73282
|
*/
|
|
73229
73283
|
search?: string;
|
|
73230
73284
|
/**
|
|
@@ -74777,6 +74831,11 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
74777
74831
|
* from its context's path for data service requests; only the value `true` is allowed.
|
|
74778
74832
|
*/
|
|
74779
74833
|
$$canonicalPath?: boolean;
|
|
74834
|
+
/**
|
|
74835
|
+
* Whether the selection state of the list binding is cleared when a filter is changed; this includes dynamic
|
|
74836
|
+
* filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13.
|
|
74837
|
+
*/
|
|
74838
|
+
$$clearSelectionOnFilter?: boolean;
|
|
74780
74839
|
/**
|
|
74781
74840
|
* Whether this binding is considered for a match when {@link #getKeepAliveContext} is called; only the
|
|
74782
74841
|
* value `true` is allowed. Must not be combined with `$apply`, `$$aggregation`, `$$canonicalPath`, or `$$sharedRequest`.
|
|
@@ -76205,6 +76264,10 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
76205
76264
|
|
|
76206
76265
|
import Type from "sap/ui/model/Type";
|
|
76207
76266
|
|
|
76267
|
+
import ParseException from "sap/ui/model/ParseException";
|
|
76268
|
+
|
|
76269
|
+
import ValidateException from "sap/ui/model/ValidateException";
|
|
76270
|
+
|
|
76208
76271
|
/**
|
|
76209
76272
|
* The PropertyBinding is used to access single data values in the data model.
|
|
76210
76273
|
*/
|
|
@@ -76359,7 +76422,7 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
76359
76422
|
* set to the model.
|
|
76360
76423
|
*
|
|
76361
76424
|
*
|
|
76362
|
-
* @returns A promise
|
|
76425
|
+
* @returns A promise in case of asynchronous type validation
|
|
76363
76426
|
*/
|
|
76364
76427
|
setInternalValue(
|
|
76365
76428
|
/**
|
|
@@ -76372,7 +76435,7 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
76372
76435
|
* case a type is defined on the binding.
|
|
76373
76436
|
*
|
|
76374
76437
|
*
|
|
76375
|
-
* @returns A promise
|
|
76438
|
+
* @returns A promise in case of asynchronous type validation
|
|
76376
76439
|
*/
|
|
76377
76440
|
setRawValue(
|
|
76378
76441
|
/**
|
|
@@ -77551,172 +77614,6 @@ declare module "sap/ui/model/TreeBinding" {
|
|
|
77551
77614
|
}
|
|
77552
77615
|
}
|
|
77553
77616
|
|
|
77554
|
-
declare module "sap/ui/model/TreeBindingAdapter" {
|
|
77555
|
-
import Context from "sap/ui/model/Context";
|
|
77556
|
-
|
|
77557
|
-
export default class TreeBindingAdapter {
|
|
77558
|
-
/**
|
|
77559
|
-
* Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
|
|
77560
|
-
* controls.
|
|
77561
|
-
*
|
|
77562
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
77563
|
-
*/
|
|
77564
|
-
protected constructor();
|
|
77565
|
-
|
|
77566
|
-
/**
|
|
77567
|
-
* Attaches event handler `fnFunction` to the {@link #event:selectionChanged selectionChanged} event of
|
|
77568
|
-
* this `sap.ui.model.TreeBindingAdapter`.
|
|
77569
|
-
*
|
|
77570
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
77571
|
-
* otherwise it will be bound to this `sap.ui.model.TreeBindingAdapter` itself.
|
|
77572
|
-
*
|
|
77573
|
-
* Event is fired if the selection of tree nodes is changed in any way.
|
|
77574
|
-
*
|
|
77575
|
-
*
|
|
77576
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
77577
|
-
*/
|
|
77578
|
-
attachSelectionChanged(
|
|
77579
|
-
/**
|
|
77580
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
77581
|
-
* object when firing the event
|
|
77582
|
-
*/
|
|
77583
|
-
oData: object,
|
|
77584
|
-
/**
|
|
77585
|
-
* The function to be called, when the event occurs
|
|
77586
|
-
*/
|
|
77587
|
-
fnFunction: Function,
|
|
77588
|
-
/**
|
|
77589
|
-
* Context object to call the event handler with. Defaults to this `TreeBindingAdapter` itself
|
|
77590
|
-
*/
|
|
77591
|
-
oListener?: object
|
|
77592
|
-
): this;
|
|
77593
|
-
/**
|
|
77594
|
-
* Attaches event handler `fnFunction` to the {@link #event:selectionChanged selectionChanged} event of
|
|
77595
|
-
* this `sap.ui.model.TreeBindingAdapter`.
|
|
77596
|
-
*
|
|
77597
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
77598
|
-
* otherwise it will be bound to this `sap.ui.model.TreeBindingAdapter` itself.
|
|
77599
|
-
*
|
|
77600
|
-
* Event is fired if the selection of tree nodes is changed in any way.
|
|
77601
|
-
*
|
|
77602
|
-
*
|
|
77603
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
77604
|
-
*/
|
|
77605
|
-
attachSelectionChanged(
|
|
77606
|
-
/**
|
|
77607
|
-
* The function to be called, when the event occurs
|
|
77608
|
-
*/
|
|
77609
|
-
fnFunction: Function,
|
|
77610
|
-
/**
|
|
77611
|
-
* Context object to call the event handler with. Defaults to this `TreeBindingAdapter` itself
|
|
77612
|
-
*/
|
|
77613
|
-
oListener?: object
|
|
77614
|
-
): this;
|
|
77615
|
-
/**
|
|
77616
|
-
* Detaches event handler `fnFunction` from the {@link #event:selectionChanged selectionChanged} event of
|
|
77617
|
-
* this `sap.ui.model.TreeBindingAdapter`.
|
|
77618
|
-
*
|
|
77619
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
77620
|
-
*
|
|
77621
|
-
*
|
|
77622
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
77623
|
-
*/
|
|
77624
|
-
detachSelectionChanged(
|
|
77625
|
-
/**
|
|
77626
|
-
* The function to be called, when the event occurs
|
|
77627
|
-
*/
|
|
77628
|
-
fnFunction: Function,
|
|
77629
|
-
/**
|
|
77630
|
-
* Context object on which the given function had to be called
|
|
77631
|
-
*/
|
|
77632
|
-
oListener?: object
|
|
77633
|
-
): this;
|
|
77634
|
-
/**
|
|
77635
|
-
* Fires event {@link #event:selectionChanged selectionChanged} to attached listeners.
|
|
77636
|
-
*
|
|
77637
|
-
* Expects following event parameters:
|
|
77638
|
-
* - 'leadIndex' of type `int` Lead selection index.
|
|
77639
|
-
* - 'rowIndices' of type `int[]` Other selected indices (if available)
|
|
77640
|
-
*
|
|
77641
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
77642
|
-
*
|
|
77643
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
77644
|
-
*/
|
|
77645
|
-
fireSelectionChanged(
|
|
77646
|
-
/**
|
|
77647
|
-
* Parameters to pass along with the event.
|
|
77648
|
-
*/
|
|
77649
|
-
oParameters: {
|
|
77650
|
-
/**
|
|
77651
|
-
* Lead selection index
|
|
77652
|
-
*/
|
|
77653
|
-
leadIndex: int;
|
|
77654
|
-
/**
|
|
77655
|
-
* Other selected indices (if available)
|
|
77656
|
-
*/
|
|
77657
|
-
rowIndices?: int[];
|
|
77658
|
-
}
|
|
77659
|
-
): this;
|
|
77660
|
-
/**
|
|
77661
|
-
* Gets an array of contexts for the requested part of the tree.
|
|
77662
|
-
*
|
|
77663
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
77664
|
-
*
|
|
77665
|
-
* @returns The requested tree contexts
|
|
77666
|
-
*/
|
|
77667
|
-
getContexts(
|
|
77668
|
-
/**
|
|
77669
|
-
* The index of the first requested context
|
|
77670
|
-
*/
|
|
77671
|
-
iStartIndex?: number,
|
|
77672
|
-
/**
|
|
77673
|
-
* The maximum number of returned contexts; if not given the model's size limit is used; see {@link sap.ui.model.Model#setSizeLimit}
|
|
77674
|
-
*/
|
|
77675
|
-
iLength?: number,
|
|
77676
|
-
/**
|
|
77677
|
-
* The maximum number of contexts to read to read additionally as buffer
|
|
77678
|
-
*/
|
|
77679
|
-
iThreshold?: number
|
|
77680
|
-
): Context[];
|
|
77681
|
-
/**
|
|
77682
|
-
* Returns the number of entries in the tree.
|
|
77683
|
-
*
|
|
77684
|
-
*
|
|
77685
|
-
* @returns Returns the number of entries in the tree
|
|
77686
|
-
*/
|
|
77687
|
-
getLength(): number;
|
|
77688
|
-
}
|
|
77689
|
-
}
|
|
77690
|
-
|
|
77691
|
-
declare module "sap/ui/model/TreeBindingCompatibilityAdapter" {
|
|
77692
|
-
import TreeBinding from "sap/ui/model/TreeBinding";
|
|
77693
|
-
|
|
77694
|
-
/**
|
|
77695
|
-
* @deprecated (since 1.96.0) - use {@link sap.ui.model.TreeBindingAdapter} instead
|
|
77696
|
-
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
77697
|
-
*/
|
|
77698
|
-
export default class TreeBindingCompatibilityAdapter {
|
|
77699
|
-
/**
|
|
77700
|
-
* Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
|
|
77701
|
-
* controls.
|
|
77702
|
-
*
|
|
77703
|
-
* This module is only for experimental and internal use!
|
|
77704
|
-
*
|
|
77705
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
77706
|
-
*/
|
|
77707
|
-
protected constructor(
|
|
77708
|
-
/**
|
|
77709
|
-
* The binding to add ListBinding functionality to
|
|
77710
|
-
*/
|
|
77711
|
-
oBinding: TreeBinding,
|
|
77712
|
-
/**
|
|
77713
|
-
* The tree or tree table control using the given binding; the control is used for selection handling
|
|
77714
|
-
*/
|
|
77715
|
-
oControl: object
|
|
77716
|
-
);
|
|
77717
|
-
}
|
|
77718
|
-
}
|
|
77719
|
-
|
|
77720
77617
|
declare module "sap/ui/model/TreeBindingUtils" {
|
|
77721
77618
|
interface TreeBindingUtils {
|
|
77722
77619
|
/**
|
|
@@ -87489,6 +87386,8 @@ declare namespace sap {
|
|
|
87489
87386
|
|
|
87490
87387
|
"sap/ui/core/format/NumberFormat": undefined;
|
|
87491
87388
|
|
|
87389
|
+
"sap/ui/core/format/TimezoneUtil": undefined;
|
|
87390
|
+
|
|
87492
87391
|
"sap/ui/core/Fragment": undefined;
|
|
87493
87392
|
|
|
87494
87393
|
"sap/ui/core/getCompatibilityVersion": undefined;
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.124.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/fl/library" {}
|
|
4
4
|
|
|
@@ -220,7 +220,8 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
220
220
|
implements
|
|
221
221
|
IShrinkable,
|
|
222
222
|
IOverflowToolbarContent,
|
|
223
|
-
/* was: sap.m.IToolbarInteractiveControl */ Object
|
|
223
|
+
/* was: sap.m.IToolbarInteractiveControl */ Object
|
|
224
|
+
{
|
|
224
225
|
__implements__sap_ui_core_IShrinkable: boolean;
|
|
225
226
|
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
226
227
|
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
package/types/sap.ui.layout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.124.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/layout/library" {
|
|
4
4
|
import Control from "sap/ui/core/Control";
|
|
@@ -1855,7 +1855,8 @@ declare module "sap/ui/layout/cssgrid/CSSGrid" {
|
|
|
1855
1855
|
*/
|
|
1856
1856
|
export default class CSSGrid
|
|
1857
1857
|
extends Control
|
|
1858
|
-
implements cssgrid.IGridConfigurable
|
|
1858
|
+
implements cssgrid.IGridConfigurable
|
|
1859
|
+
{
|
|
1859
1860
|
__implements__sap_ui_layout_cssgrid_IGridConfigurable: boolean;
|
|
1860
1861
|
/**
|
|
1861
1862
|
* Constructor for a new CSSGrid.
|
|
@@ -2994,7 +2995,8 @@ declare module "sap/ui/layout/cssgrid/GridItemLayoutData" {
|
|
|
2994
2995
|
*/
|
|
2995
2996
|
export default class GridItemLayoutData
|
|
2996
2997
|
extends LayoutData
|
|
2997
|
-
implements cssgrid.IGridItemLayoutData
|
|
2998
|
+
implements cssgrid.IGridItemLayoutData
|
|
2999
|
+
{
|
|
2998
3000
|
__implements__sap_ui_layout_cssgrid_IGridItemLayoutData: boolean;
|
|
2999
3001
|
/**
|
|
3000
3002
|
* Constructor for a new `sap.ui.layout.cssgrid.GridItemLayoutData`.
|
|
@@ -4214,7 +4216,8 @@ declare module "sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData" {
|
|
|
4214
4216
|
*/
|
|
4215
4217
|
export default class ResponsiveColumnItemLayoutData
|
|
4216
4218
|
extends LayoutData
|
|
4217
|
-
implements cssgrid.IGridItemLayoutData
|
|
4219
|
+
implements cssgrid.IGridItemLayoutData
|
|
4220
|
+
{
|
|
4218
4221
|
__implements__sap_ui_layout_cssgrid_IGridItemLayoutData: boolean;
|
|
4219
4222
|
/**
|
|
4220
4223
|
* Constructor for a new `sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData`.
|