@openui5/ts-types 1.123.0 → 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.
@@ -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.0
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: int,
3529
+ iMinor?: int,
3531
3530
  /**
3532
3531
  * the patch part of the version number
3533
3532
  */
3534
- iPatch: int,
3533
+ iPatch?: int,
3535
3534
  /**
3536
3535
  * the suffix part of the version number
3537
3536
  */
3538
- sSuffix: string
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.compareto("1.4.5")`). Or major, minor, patch and suffix values can be given as separate
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(): int;
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
  *
@@ -11507,10 +11524,12 @@ declare namespace sap {
11507
11524
  */
11508
11525
  class Event<
11509
11526
  ParamsType extends Record<string, any> = object,
11510
- SourceType extends sap.ui.base.EventProvider = sap.ui.base.EventProvider
11527
+ SourceType extends
11528
+ sap.ui.base.EventProvider = sap.ui.base.EventProvider,
11511
11529
  >
11512
11530
  extends sap.ui.base.Object
11513
- implements sap.ui.base.Poolable {
11531
+ implements sap.ui.base.Poolable
11532
+ {
11514
11533
  __implements__sap_ui_base_Poolable: boolean;
11515
11534
  /**
11516
11535
  * Creates an event with the given `sId`, linked to the provided `oSource` and enriched with the `mParameters`.
@@ -11645,7 +11664,7 @@ declare namespace sap {
11645
11664
  * Provides eventing capabilities for objects like attaching or detaching event handlers for events which
11646
11665
  * are notified when events are fired.
11647
11666
  */
11648
- abstract class EventProvider extends sap.ui.base.Object {
11667
+ class EventProvider extends sap.ui.base.Object {
11649
11668
  /**
11650
11669
  * Creates an instance of EventProvider.
11651
11670
  */
@@ -16525,7 +16544,8 @@ declare namespace sap {
16525
16544
  */
16526
16545
  class DragDropInfo
16527
16546
  extends sap.ui.core.dnd.DropInfo
16528
- implements sap.ui.core.dnd.IDragInfo, sap.ui.core.dnd.IDropInfo {
16547
+ implements sap.ui.core.dnd.IDragInfo, sap.ui.core.dnd.IDropInfo
16548
+ {
16529
16549
  __implements__sap_ui_core_dnd_IDragInfo: boolean;
16530
16550
  __implements__sap_ui_core_dnd_IDropInfo: boolean;
16531
16551
  /**
@@ -16809,7 +16829,8 @@ declare namespace sap {
16809
16829
  */
16810
16830
  class DragInfo
16811
16831
  extends sap.ui.core.dnd.DragDropBase
16812
- implements sap.ui.core.dnd.IDragInfo {
16832
+ implements sap.ui.core.dnd.IDragInfo
16833
+ {
16813
16834
  __implements__sap_ui_core_dnd_IDragInfo: boolean;
16814
16835
  /**
16815
16836
  * Constructor for a new DragInfo.
@@ -17072,7 +17093,8 @@ declare namespace sap {
17072
17093
  */
17073
17094
  class DropInfo
17074
17095
  extends sap.ui.core.dnd.DragDropBase
17075
- implements sap.ui.core.dnd.IDropInfo {
17096
+ implements sap.ui.core.dnd.IDropInfo
17097
+ {
17076
17098
  __implements__sap_ui_core_dnd_IDropInfo: boolean;
17077
17099
  /**
17078
17100
  * Constructor for a new DropInfo.
@@ -17710,7 +17732,7 @@ declare namespace sap {
17710
17732
  ):
17711
17733
  | [
17712
17734
  Date | import("sap/ui/core/date/UI5Date").default | undefined,
17713
- string | undefined
17735
+ string | undefined,
17714
17736
  ]
17715
17737
  | null;
17716
17738
  }
@@ -18709,8 +18731,8 @@ declare namespace sap {
18709
18731
  strictGroupingValidation?: boolean;
18710
18732
  /**
18711
18733
  * defines the style of format. Valid values are 'short, 'long' or 'standard' (based on the CLDR decimalFormat).
18712
- * When set to 'short' or 'long', numbers are formatted into compact forms. When this option is set, the
18713
- * default value of the 'precision' option is set to 2. This can be changed by setting either min/maxFractionDigits,
18734
+ * When set to 'short' or 'long', numbers are formatted into the 'short' form only. When this option is
18735
+ * set, the default value of the 'precision' option is set to 2. This can be changed by setting either min/maxFractionDigits,
18714
18736
  * decimals, shortDecimals, or the 'precision' option itself.
18715
18737
  */
18716
18738
  style?: string;
@@ -20529,17 +20551,6 @@ declare namespace sap {
20529
20551
  * Configuration for the XMLView caching.
20530
20552
  */
20531
20553
  cache?: Object;
20532
-
20533
- /**
20534
- * legacy-relevant:
20535
- *
20536
- * A map containing references to modules loaded via a 'core:require' statement in an XMLView.
20537
- *
20538
- * Only used for HTML embedded in an XMLView. This kind of HTML is processed synchronously only and needs
20539
- * access to 'core:require' modules from outside. Normally 'core:require' modules are NOT passed into nested
20540
- * Views and Fragments.
20541
- */
20542
- requireContext?: Object;
20543
20554
  }
20544
20555
 
20545
20556
  /**
@@ -22330,7 +22341,6 @@ declare namespace sap {
22330
22341
  * Synchronously loading views get wrapped in an immediately resolving Promise.
22331
22342
  *
22332
22343
  * @since 1.30
22333
- * @deprecated (since 1.66) - Use {@link sap.ui.core.mvc.View.create View.create} instead
22334
22344
  *
22335
22345
  * @returns resolves with the complete view instance, rejects with any thrown error
22336
22346
  */
@@ -31710,47 +31720,50 @@ declare namespace sap {
31710
31720
  * An object literal describing a property of a class derived from `sap.ui.core.webc.WebComponent`. See
31711
31721
  * {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions} for details on its usage.
31712
31722
  */
31713
- type Aggregation = sap.ui.base.ManagedObject.MetadataOptions.Aggregation & {
31714
- /**
31715
- * Flag that marks the property as deprecated (defaults to false). May lead to an additional warning log
31716
- * message at runtime when the property is still used. For the documentation, also add a `@deprecated` tag
31717
- * in the JSDoc, describing since when it is deprecated and what any alternatives are.
31718
- */
31719
- slot?: string;
31720
- };
31723
+ type Aggregation =
31724
+ sap.ui.base.ManagedObject.MetadataOptions.Aggregation & {
31725
+ /**
31726
+ * Flag that marks the property as deprecated (defaults to false). May lead to an additional warning log
31727
+ * message at runtime when the property is still used. For the documentation, also add a `@deprecated` tag
31728
+ * in the JSDoc, describing since when it is deprecated and what any alternatives are.
31729
+ */
31730
+ slot?: string;
31731
+ };
31721
31732
 
31722
31733
  /**
31723
31734
  * An object literal describing an association of a class derived from `sap.ui.core.webc.WebComponent`.
31724
31735
  * See {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions} for details on its usage.
31725
31736
  */
31726
- type Association = sap.ui.base.ManagedObject.MetadataOptions.Association & {
31727
- /**
31728
- * Defines the mapping of the association which defaults to "property". Associations are forwarded to the
31729
- * corresponding mutator of the Web Component.
31730
- */
31731
- mapping?:
31732
- | "property"
31733
- | sap.ui.core.webc.WebComponent.MetadataOptionsAssociationMapping;
31734
- };
31737
+ type Association =
31738
+ sap.ui.base.ManagedObject.MetadataOptions.Association & {
31739
+ /**
31740
+ * Defines the mapping of the association which defaults to "property". Associations are forwarded to the
31741
+ * corresponding mutator of the Web Component.
31742
+ */
31743
+ mapping?:
31744
+ | "property"
31745
+ | sap.ui.core.webc.WebComponent.MetadataOptionsAssociationMapping;
31746
+ };
31735
31747
 
31736
31748
  /**
31737
31749
  * An object literal describing a property of a class derived from `sap.ui.core.webc.WebComponent`. See
31738
31750
  * {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions} for details on its usage.
31739
31751
  */
31740
- type Property = sap.ui.base.ManagedObject.MetadataOptions.Property & {
31741
- /**
31742
- * Defines the mapping of the property to be either "property", "style", "textContent", "slot", or "none".
31743
- * The default mapping of a property is "property" which either renders the value of the property into an
31744
- * attribute of the custom tag or forwards object properties to the mutator in the onAfterRendering phase.
31745
- */
31746
- mapping?:
31747
- | "property"
31748
- | "style"
31749
- | "textContent"
31750
- | "slot"
31751
- | "none"
31752
- | sap.ui.core.webc.WebComponent.MetadataOptionsPropertyMapping;
31753
- };
31752
+ type Property =
31753
+ sap.ui.base.ManagedObject.MetadataOptions.Property & {
31754
+ /**
31755
+ * Defines the mapping of the property to be either "property", "style", "textContent", "slot", or "none".
31756
+ * The default mapping of a property is "property" which either renders the value of the property into an
31757
+ * attribute of the custom tag or forwards object properties to the mutator in the onAfterRendering phase.
31758
+ */
31759
+ mapping?:
31760
+ | "property"
31761
+ | "style"
31762
+ | "textContent"
31763
+ | "slot"
31764
+ | "none"
31765
+ | sap.ui.core.webc.WebComponent.MetadataOptionsPropertyMapping;
31766
+ };
31754
31767
  }
31755
31768
 
31756
31769
  /**
@@ -31799,12 +31812,14 @@ declare namespace sap {
31799
31812
  /**
31800
31813
  * HACK! This mapping omits the `no-unnecessary-qualifier` error or we need to extend the `tslint.json`!
31801
31814
  */
31802
- type MetadataOptionsAssociationMapping = sap.ui.core.webc.WebComponent.MetadataOptions.Association.Mapping;
31815
+ type MetadataOptionsAssociationMapping =
31816
+ sap.ui.core.webc.WebComponent.MetadataOptions.Association.Mapping;
31803
31817
 
31804
31818
  /**
31805
31819
  * HACK! This mapping omits the `no-unnecessary-qualifier` error or we need to extend the `tslint.json`!
31806
31820
  */
31807
- type MetadataOptionsPropertyMapping = sap.ui.core.webc.WebComponent.MetadataOptions.Property.Mapping;
31821
+ type MetadataOptionsPropertyMapping =
31822
+ sap.ui.core.webc.WebComponent.MetadataOptions.Property.Mapping;
31808
31823
  }
31809
31824
  /**
31810
31825
  * Describes the settings that can be provided to the WebComponent constructor.
@@ -38136,7 +38151,8 @@ declare namespace sap {
38136
38151
  */
38137
38152
  class ComponentContainer
38138
38153
  extends sap.ui.core.Control
38139
- implements sap.ui.core.IPlaceholderSupport {
38154
+ implements sap.ui.core.IPlaceholderSupport
38155
+ {
38140
38156
  __implements__sap_ui_core_IPlaceholderSupport: boolean;
38141
38157
  /**
38142
38158
  * Constructor for a new ComponentContainer.
@@ -42166,7 +42182,8 @@ declare namespace sap {
42166
42182
  */
42167
42183
  class Icon
42168
42184
  extends sap.ui.core.Control
42169
- implements sap.ui.core.IFormContent {
42185
+ implements sap.ui.core.IFormContent
42186
+ {
42170
42187
  __implements__sap_ui_core_IFormContent: boolean;
42171
42188
  /**
42172
42189
  * Constructor for a new Icon.
@@ -54738,6 +54755,20 @@ declare namespace sap {
54738
54755
  /**
54739
54756
  * Formats the given values of the parts of the `Currency` composite type to the given target type.
54740
54757
  *
54758
+ * If CLDR or custom currencies are used and the `preserveDecimals` format option is set to `false`, the
54759
+ * maximal number of decimal places for the numeric part of the {@link sap.ui.model.odata.type.Currency }
54760
+ * type depends on:
54761
+ * The `DecimalPlaces` property of the current currency code. The `maxFractionDigits` format option
54762
+ * of the {@link sap.ui.model.odata.type.Currency} type. The `scale` constraint of the {@link sap.ui.model.odata.type.Decimal }
54763
+ * type for the quantity part. The maximal number of decimal places is determined as follows:
54764
+ * If `maxFractionDigits` is provided and is less than the current currency code's `DecimalPlaces`, the
54765
+ * `maxFractionDigits` is used to determine the number of decimal places. Conversely, if `DecimalPlaces`
54766
+ * is less than `maxFractionDigits`, `DecimalPlaces` wins. If `maxFractionDigits` is not provided, the
54767
+ * `DecimalPlaces` of the current currency code is applied, unless it is greater than the `scale` of the
54768
+ * {@link sap.ui.model.odata.type.Decimal} type for the numeric part, in which case `scale` wins. A
54769
+ * `scale='variable'` is treated as being always greater than the `DecimalPlaces` of the current currency
54770
+ * code. In this case, the `DecimalPlaces` of the current currency code is applied.
54771
+ *
54741
54772
  * @since 1.63.0
54742
54773
  *
54743
54774
  * @returns The formatted output value; `null`, if `aValues` is `undefined` or `null` or if the amount,
@@ -57319,6 +57350,20 @@ declare namespace sap {
57319
57350
  /**
57320
57351
  * Formats the given values of the parts of the `Unit` composite type to the given target type.
57321
57352
  *
57353
+ * If CLDR or custom units are used and the `preserveDecimals` format option is set to `false`, the maximal
57354
+ * number of decimal places for the numeric part of the {@link sap.ui.model.odata.type.Unit} type depends
57355
+ * on:
57356
+ * The `DecimalPlaces` property of the current unit code. The `maxFractionDigits` format option of
57357
+ * the {@link sap.ui.model.odata.type.Unit} type. The `scale` constraint of the {@link sap.ui.model.odata.type.Decimal }
57358
+ * type for the quantity part. The maximal number of decimal places is determined as follows:
57359
+ * If `maxFractionDigits` is provided and is less than the current unit code's `DecimalPlaces`, the `maxFractionDigits`
57360
+ * is used to determine the number of decimal places. Conversely, if `DecimalPlaces` is less than `maxFractionDigits`,
57361
+ * `DecimalPlaces` wins. If `maxFractionDigits` is not provided, the `DecimalPlaces` of the current
57362
+ * unit code is applied, unless it is greater than the `scale` of the {@link sap.ui.model.odata.type.Decimal }
57363
+ * type for the numeric part, in which case `scale` wins. A `scale='variable'` is treated as being always
57364
+ * greater than the `DecimalPlaces` of the current unit code. In this case, the `DecimalPlaces` of the current
57365
+ * unit code is applied.
57366
+ *
57322
57367
  * @since 1.63.0
57323
57368
  *
57324
57369
  * @returns The formatted output value; `null`, if `aValues` is `undefined` or `null` or if the measure,
@@ -59893,12 +59938,11 @@ declare namespace sap {
59893
59938
  * A tree state handle can be given to the `ODataTreeBinding` when two conditions are met:
59894
59939
  * - The binding is running in {@link sap.ui.model.odata.OperationMode.Client OperationMode.Client}, and
59895
59940
  *
59896
- * - the {@link sap.ui.table.TreeTable} is used. The feature is only available when using the `ODataTreeBindingAdapter`,
59897
- * which is automatically applied when using the `sap.ui.table.TreeTable`. The tree state handle will contain
59898
- * all necessary information to expand the tree to the given state.
59941
+ * - the {@link sap.ui.table.TreeTable} is used. The feature is only available when using the {@link sap.ui.table.TreeTable}.
59942
+ * The tree state handle will contain all necessary information to expand the tree to the given state.
59899
59943
  *
59900
59944
  * This feature is not supported if {@link sap.ui.model.odata.OperationMode.Server OperationMode.Server }
59901
- * or {@link sap.ui.model.odata.OperationMode.Auto OperationMode.Auto} is used. See also {@link sap.ui.model.odata.ODataTreeBindingAdapter#getCurrentTreeState}
59945
+ * or {@link sap.ui.model.odata.OperationMode.Auto OperationMode.Auto} is used.
59902
59946
  */
59903
59947
  treeState?: any;
59904
59948
  /**
@@ -63277,6 +63321,7 @@ declare namespace sap {
63277
63321
  * can also be accessed via instance annotation "@$ui5.context.isTransient" at the entity.
63278
63322
  * See:
63279
63323
  * #isInactive
63324
+ * #move
63280
63325
  *
63281
63326
  * @since 1.43.0
63282
63327
  *
@@ -63285,16 +63330,31 @@ declare namespace sap {
63285
63330
  */
63286
63331
  isTransient(): boolean | undefined;
63287
63332
  /**
63288
- * Moves this node to the given parent (in case of a recursive hierarchy, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation},
63289
- * where `oAggregation.expandTo` must be either one or at least `Number.MAX_SAFE_INTEGER`). No other {@link sap.ui.model.odata.v4.ODataListBinding#create creation},
63290
- * {@link #delete deletion}, or move must be pending, and no other modification (including collapse of some
63291
- * ancestor node) must happen while this move is pending! Omitting a new parent turns this node into a root
63292
- * node (since 1.121.0).
63293
- *
63294
- * This context's {@link #getIndex index} may change and, in case of `oAggregation.expandTo : 1`, it becomes
63295
- * "created persisted", with {@link #isTransient} returning `false` etc. In case of `oAggregation.expandTo
63296
- * >= Number.MAX_SAFE_INTEGER`, a created node becomes simply "persisted", with {@link #isTransient} returning
63297
- * `undefined` etc.
63333
+ * In a {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation recursive hierarchy}, this method moves
63334
+ * a node to the given new parent, just before the given next sibling. No other {@link sap.ui.model.odata.v4.ODataListBinding#create creation},
63335
+ * {@link #delete deletion}, or move must be pending, and no other modification (including the collapse
63336
+ * of an ancestor node) must happen while this move is pending!
63337
+ *
63338
+ * The move potentially changes the {@link #getIndex index} of this context, of all of its descendants,
63339
+ * and of all other nodes affected by the move. Any index change can, however, only be observed reliably
63340
+ * for this context itself.
63341
+ *
63342
+ * The move changes the {@link https://ui5.sap.com/#/topic/c9723f8265f644af91c0ed941e114d46/section_CST context states }
63343
+ * of the nodes as follows:
63344
+ * If the moved node is in the "created" state, it becomes simply "persisted", with {@link #isTransient }
63345
+ * returning `undefined`. In this case, any descendants of this node are themselves in the "created" state
63346
+ * and also become "persisted"; otherwise, their states remain unaffected by the move. If the moved
63347
+ * node's new parent node is in the "created" state, the parent's lowest-level {@link getParent ancestor }
63348
+ * is determined that is also in the "created" state (if no ancestor nodes are in "created" state, this
63349
+ * will be the new parent itself). Any descendants of that node are then themselves in the "created" state
63350
+ * and also become "persisted"; otherwise, their states remain unaffected by the move.
63351
+ *
63352
+ * Note that a node in the "created" state is not shown in its usual position as defined by the service
63353
+ * and the current sort order, but out of place as the first child of its parent. It is even shown if it
63354
+ * doesn't match current search or filter criteria! Once it becomes simply "persisted" due to the move (as
63355
+ * described above), this special handling ends. The node is then shown in place again, or it might even
63356
+ * not be shown anymore due to the search or filter criteria. If the latter happens to this context, its
63357
+ * {@link #getIndex index} becomes `undefined`.
63298
63358
  *
63299
63359
  * @experimental (since 1.119.0)
63300
63360
  *
@@ -63305,11 +63365,16 @@ declare namespace sap {
63305
63365
  /**
63306
63366
  * A parameter object
63307
63367
  */
63308
- oParameters?: {
63368
+ oParameters: {
63369
+ /**
63370
+ * The next sibling's context, or `null` to turn this node into the last sibling (since 1.124.0). Omitting
63371
+ * the sibling moves this node to a position determined by the server.
63372
+ */
63373
+ nextSibling?: sap.ui.model.odata.v4.Context | null;
63309
63374
  /**
63310
- * The new parent's context
63375
+ * The new parent's context, or (since 1.121.0) `null` to turn this node into a root node
63311
63376
  */
63312
- parent?: sap.ui.model.odata.v4.Context;
63377
+ parent: sap.ui.model.odata.v4.Context | null;
63313
63378
  }
63314
63379
  ): Promise<void>;
63315
63380
  /**
@@ -63646,8 +63711,12 @@ declare namespace sap {
63646
63711
  * on the client, it does not appear as {@link #isSelected selected}. If the preconditions of {@link #setKeepAlive }
63647
63712
  * hold, a best effort is made to implicitly keep a selected context alive in order to preserve the selection
63648
63713
  * state. Once the selection is no longer needed, for example because you perform an operation on this context
63649
- * which logically removes it from its list, you need to reset the selection. If this context is a header
63650
- * context of a list binding, the new selection state is propagated to all row contexts.
63714
+ * which logically removes it from its list, you need to reset the selection.
63715
+ *
63716
+ * If this context is a header context of a list binding, the new selection state is propagated to all row
63717
+ * contexts. This method can be called repeatedly with the same value to again select all row contexts.
63718
+ * For example, if a row context was deselected explicitly, it is selected again by selecting the header
63719
+ * context (even if the header context is already selected).
63651
63720
  *
63652
63721
  * **Note:** It is unsafe to keep a reference to a context instance which is not {@link #isKeepAlive kept alive}.
63653
63722
  * See:
@@ -63806,7 +63875,8 @@ declare namespace sap {
63806
63875
  ): this;
63807
63876
  /**
63808
63877
  * Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
63809
- * is deselected.
63878
+ * is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
63879
+ * the '$filter' or '$search' parameter is changed.
63810
63880
  *
63811
63881
  * If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
63812
63882
  * to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
@@ -64373,7 +64443,8 @@ declare namespace sap {
64373
64443
  ): this;
64374
64444
  /**
64375
64445
  * Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
64376
- * is deselected.
64446
+ * is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
64447
+ * the '$filter' or '$search' parameter is changed.
64377
64448
  *
64378
64449
  * If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
64379
64450
  * to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
@@ -64592,7 +64663,8 @@ declare namespace sap {
64592
64663
  ): this;
64593
64664
  /**
64594
64665
  * Filters the list with the given filters. Since 1.97.0, if filters are unchanged, no request is sent,
64595
- * regardless of pending changes. Since 1.111.0, the header context is deselected.
64666
+ * regardless of pending changes. Since 1.111.0, all contexts (incl. the header context) are deselected,
64667
+ * but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set.
64596
64668
  *
64597
64669
  * If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
64598
64670
  * to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
@@ -65171,7 +65243,9 @@ declare namespace sap {
65171
65243
  * certain content will break the syntax of the system query option `$apply` and result in an invalid request.
65172
65244
  * If the OData service supports the proposal ODATA-1452,
65173
65245
  * then `ODataUtils.formatLiteral(sSearch, "Edm.String");` should be used to encapsulate the whole search
65174
- * string beforehand (see {@link sap.ui.model.odata.v4.ODataUtils.formatLiteral}).
65246
+ * string beforehand (see {@link sap.ui.model.odata.v4.ODataUtils.formatLiteral}). Since 1.120.13, all contexts,
65247
+ * including the header context are deselected if the '$$clearSelectionOnFilter' binding parameter is set
65248
+ * and the search parameter is changed.
65175
65249
  */
65176
65250
  search?: string;
65177
65251
  /**
@@ -66488,6 +66562,11 @@ declare namespace sap {
66488
66562
  * from its context's path for data service requests; only the value `true` is allowed.
66489
66563
  */
66490
66564
  $$canonicalPath?: boolean;
66565
+ /**
66566
+ * Whether the selection state of the list binding is cleared when a filter is changed; this includes dynamic
66567
+ * filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13.
66568
+ */
66569
+ $$clearSelectionOnFilter?: boolean;
66491
66570
  /**
66492
66571
  * Whether this binding is considered for a match when {@link #getKeepAliveContext} is called; only the
66493
66572
  * value `true` is allowed. Must not be combined with `$apply`, `$$aggregation`, `$$canonicalPath`, or `$$sharedRequest`.
@@ -67731,24 +67810,25 @@ declare namespace sap {
67731
67810
  /**
67732
67811
  * The abstraction of an OData property.
67733
67812
  */
67734
- type AbstractProperty = sap.ui.model.odata.ODataMetaModel.Annotatable & {
67735
- /**
67736
- * The name of the property
67737
- */
67738
- name: string;
67739
- /**
67740
- * The default value of the property
67741
- */
67742
- default?: string;
67743
- /**
67744
- * Whether this property can be `null`
67745
- */
67746
- nullable?: "false" | "true";
67747
- /**
67748
- * Whether this property is read-only
67749
- */
67750
- readOnly?: "false" | "true";
67751
- };
67813
+ type AbstractProperty =
67814
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
67815
+ /**
67816
+ * The name of the property
67817
+ */
67818
+ name: string;
67819
+ /**
67820
+ * The default value of the property
67821
+ */
67822
+ default?: string;
67823
+ /**
67824
+ * Whether this property can be `null`
67825
+ */
67826
+ nullable?: "false" | "true";
67827
+ /**
67828
+ * Whether this property is read-only
67829
+ */
67830
+ readOnly?: "false" | "true";
67831
+ };
67752
67832
 
67753
67833
  /**
67754
67834
  * An OData metadata element which can be annotated. For annotations from SAP or OData vocabularies, it
@@ -67767,81 +67847,86 @@ declare namespace sap {
67767
67847
  /**
67768
67848
  * An object representing one end of an OData association.
67769
67849
  */
67770
- type AssociationEnd = sap.ui.model.odata.ODataMetaModel.Annotatable & {
67771
- /**
67772
- * The qualified name of the entity type at the end of the association
67773
- */
67774
- type: string;
67775
- /**
67776
- * The multiplicity of the association end
67777
- */
67778
- multiplicity: "0" | "0..1" | "*";
67779
- /**
67780
- * The name of the association role
67781
- */
67782
- role: string;
67783
- };
67850
+ type AssociationEnd =
67851
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
67852
+ /**
67853
+ * The qualified name of the entity type at the end of the association
67854
+ */
67855
+ type: string;
67856
+ /**
67857
+ * The multiplicity of the association end
67858
+ */
67859
+ multiplicity: "0" | "0..1" | "*";
67860
+ /**
67861
+ * The name of the association role
67862
+ */
67863
+ role: string;
67864
+ };
67784
67865
 
67785
67866
  /**
67786
67867
  * An object representing an OData association set.
67787
67868
  */
67788
- type AssociationSet = sap.ui.model.odata.ODataMetaModel.Annotatable & {
67789
- /**
67790
- * The qualified name of the association set's association; the value is identical to the corresponding
67791
- * XML attribute value in the service metadata document.
67792
- */
67793
- association: string;
67794
- /**
67795
- * The two ends of the association set
67796
- */
67797
- end: sap.ui.model.odata.ODataMetaModel.AssociationSetEnd[];
67798
- /**
67799
- * The association set's name
67800
- */
67801
- name: string;
67802
- };
67869
+ type AssociationSet =
67870
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
67871
+ /**
67872
+ * The qualified name of the association set's association; the value is identical to the corresponding
67873
+ * XML attribute value in the service metadata document.
67874
+ */
67875
+ association: string;
67876
+ /**
67877
+ * The two ends of the association set
67878
+ */
67879
+ end: sap.ui.model.odata.ODataMetaModel.AssociationSetEnd[];
67880
+ /**
67881
+ * The association set's name
67882
+ */
67883
+ name: string;
67884
+ };
67803
67885
 
67804
67886
  /**
67805
67887
  * An object representing one end of an OData association set.
67806
67888
  */
67807
- type AssociationSetEnd = sap.ui.model.odata.ODataMetaModel.Annotatable & {
67808
- /**
67809
- * The entity set's name at the end of the association
67810
- */
67811
- entitySet: string;
67812
- /**
67813
- * The name of the association role
67814
- */
67815
- role: string;
67816
- };
67889
+ type AssociationSetEnd =
67890
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
67891
+ /**
67892
+ * The entity set's name at the end of the association
67893
+ */
67894
+ entitySet: string;
67895
+ /**
67896
+ * The name of the association role
67897
+ */
67898
+ role: string;
67899
+ };
67817
67900
 
67818
67901
  /**
67819
67902
  * A property of type `Edm.Binary`, see `Edm.Binary`.
67820
67903
  */
67821
- type BinaryProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67822
- /**
67823
- * The type name
67824
- */
67825
- type: "Edm.Binary";
67826
- /**
67827
- * The maximum size of the binary data
67828
- */
67829
- maxLength?: string;
67830
- /**
67831
- * Whether the length can vary
67832
- */
67833
- fixedLength?: "false" | "true";
67834
- };
67904
+ type BinaryProperty =
67905
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67906
+ /**
67907
+ * The type name
67908
+ */
67909
+ type: "Edm.Binary";
67910
+ /**
67911
+ * The maximum size of the binary data
67912
+ */
67913
+ maxLength?: string;
67914
+ /**
67915
+ * Whether the length can vary
67916
+ */
67917
+ fixedLength?: "false" | "true";
67918
+ };
67835
67919
 
67836
67920
  /**
67837
67921
  * A property of type `Edm.Boolean`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Boolean}.
67838
67922
  */
67839
- type BooleanProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67840
- /**
67841
- * The type name
67842
- */
67843
- type: "Edm.Boolean";
67844
- };
67923
+ type BooleanProperty =
67924
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67925
+ /**
67926
+ * The type name
67927
+ */
67928
+ type: "Edm.Boolean";
67929
+ };
67845
67930
 
67846
67931
  /**
67847
67932
  * An object representing a Boolean value.
@@ -67856,12 +67941,13 @@ declare namespace sap {
67856
67941
  /**
67857
67942
  * A property of type `Edm.Byte`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Byte}.
67858
67943
  */
67859
- type ByteProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67860
- /**
67861
- * The type name
67862
- */
67863
- type: "Edm.Byte";
67864
- };
67944
+ type ByteProperty =
67945
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67946
+ /**
67947
+ * The type name
67948
+ */
67949
+ type: "Edm.Byte";
67950
+ };
67865
67951
 
67866
67952
  /**
67867
67953
  * An object representing an OData complex type.
@@ -67888,92 +67974,97 @@ declare namespace sap {
67888
67974
  /**
67889
67975
  * A property of type `Edm.DateTimeOffset`, see the corresponding UI5 type {@link sap.ui.model.odata.type.DateTimeOffset}.
67890
67976
  */
67891
- type DateTimeOffsetProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67892
- /**
67893
- * The type name
67894
- */
67895
- type: "Edm.DateTimeOffset";
67896
- /**
67897
- * The maximum number of fractional seconds
67898
- */
67899
- precision?: string;
67900
- };
67977
+ type DateTimeOffsetProperty =
67978
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67979
+ /**
67980
+ * The type name
67981
+ */
67982
+ type: "Edm.DateTimeOffset";
67983
+ /**
67984
+ * The maximum number of fractional seconds
67985
+ */
67986
+ precision?: string;
67987
+ };
67901
67988
 
67902
67989
  /**
67903
67990
  * A property of type `Edm.DateTime`, see the corresponding UI5 type {@link sap.ui.model.odata.type.DateTime}.
67904
67991
  */
67905
- type DateTimeProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67906
- /**
67907
- * The type name
67908
- */
67909
- type: "Edm.DateTime";
67910
- /**
67911
- * The maximum number of fractional seconds
67912
- */
67913
- precision?: string;
67914
- };
67992
+ type DateTimeProperty =
67993
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67994
+ /**
67995
+ * The type name
67996
+ */
67997
+ type: "Edm.DateTime";
67998
+ /**
67999
+ * The maximum number of fractional seconds
68000
+ */
68001
+ precision?: string;
68002
+ };
67915
68003
 
67916
68004
  /**
67917
68005
  * A property of type `Edm.Decimal`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Decimal}.
67918
68006
  */
67919
- type DecimalProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67920
- /**
67921
- * The type name
67922
- */
67923
- type: "Edm.Decimal";
67924
- /**
67925
- * The maximum number of decimal digits
67926
- */
67927
- precision?: string;
67928
- /**
67929
- * The maximum number of decimal digits to the right of the decimal point
67930
- */
67931
- scale?: string;
67932
- };
68007
+ type DecimalProperty =
68008
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68009
+ /**
68010
+ * The type name
68011
+ */
68012
+ type: "Edm.Decimal";
68013
+ /**
68014
+ * The maximum number of decimal digits
68015
+ */
68016
+ precision?: string;
68017
+ /**
68018
+ * The maximum number of decimal digits to the right of the decimal point
68019
+ */
68020
+ scale?: string;
68021
+ };
67933
68022
 
67934
68023
  /**
67935
68024
  * A property of type `Edm.Double`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Double}.
67936
68025
  */
67937
- type DoubleProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
67938
- /**
67939
- * The type name
67940
- */
67941
- type: "Edm.Double";
67942
- };
68026
+ type DoubleProperty =
68027
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68028
+ /**
68029
+ * The type name
68030
+ */
68031
+ type: "Edm.Double";
68032
+ };
67943
68033
 
67944
68034
  /**
67945
68035
  * An object representing an OData entity container.
67946
68036
  */
67947
- type EntityContainer = sap.ui.model.odata.ODataMetaModel.Annotatable & {
67948
- /**
67949
- * The path to the entity container
67950
- */
67951
- $path: string;
67952
- /**
67953
- * The entity container's name
67954
- */
67955
- name: string;
67956
- /**
67957
- * The entity container's namespace
67958
- */
67959
- namespace: string;
67960
- /**
67961
- * The association sets in the entity container
67962
- */
67963
- associationSet?: sap.ui.model.odata.ODataMetaModel.AssociationSet[];
67964
- /**
67965
- * The entity sets in the entity container
67966
- */
67967
- entitySet?: sap.ui.model.odata.ODataMetaModel.EntitySet[];
67968
- /**
67969
- * The function imports in the entity container
67970
- */
67971
- functionImport?: sap.ui.model.odata.ODataMetaModel.FunctionImport[];
67972
- /**
67973
- * Whether this is the default entity container
67974
- */
67975
- isDefaultEntityContainer?: "false" | "true";
67976
- };
68037
+ type EntityContainer =
68038
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
68039
+ /**
68040
+ * The path to the entity container
68041
+ */
68042
+ $path: string;
68043
+ /**
68044
+ * The entity container's name
68045
+ */
68046
+ name: string;
68047
+ /**
68048
+ * The entity container's namespace
68049
+ */
68050
+ namespace: string;
68051
+ /**
68052
+ * The association sets in the entity container
68053
+ */
68054
+ associationSet?: sap.ui.model.odata.ODataMetaModel.AssociationSet[];
68055
+ /**
68056
+ * The entity sets in the entity container
68057
+ */
68058
+ entitySet?: sap.ui.model.odata.ODataMetaModel.EntitySet[];
68059
+ /**
68060
+ * The function imports in the entity container
68061
+ */
68062
+ functionImport?: sap.ui.model.odata.ODataMetaModel.FunctionImport[];
68063
+ /**
68064
+ * Whether this is the default entity container
68065
+ */
68066
+ isDefaultEntityContainer?: "false" | "true";
68067
+ };
67977
68068
 
67978
68069
  /**
67979
68070
  * An object representing an OData entity type's key.
@@ -68050,126 +68141,133 @@ declare namespace sap {
68050
68141
  /**
68051
68142
  * An object representing an OData function import.
68052
68143
  */
68053
- type FunctionImport = sap.ui.model.odata.ODataMetaModel.Annotatable & {
68054
- /**
68055
- * The entity set of the function import's return value
68056
- */
68057
- entitySet?: string;
68058
- /**
68059
- * The http method to execute the function import
68060
- */
68061
- httpMethod?: "GET" | "POST";
68062
- /**
68063
- * The function import's name
68064
- */
68065
- name: string;
68066
- /**
68067
- * The function import parameters
68068
- */
68069
- parameter?: sap.ui.model.odata.ODataMetaModel.FunctionImportParameter[];
68070
- /**
68071
- * The qualified name of the function import's return type; the value is identical to the corresponding
68072
- * XML attribute value in the service metadata document.
68073
- */
68074
- returnType?: string;
68075
- };
68144
+ type FunctionImport =
68145
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
68146
+ /**
68147
+ * The entity set of the function import's return value
68148
+ */
68149
+ entitySet?: string;
68150
+ /**
68151
+ * The http method to execute the function import
68152
+ */
68153
+ httpMethod?: "GET" | "POST";
68154
+ /**
68155
+ * The function import's name
68156
+ */
68157
+ name: string;
68158
+ /**
68159
+ * The function import parameters
68160
+ */
68161
+ parameter?: sap.ui.model.odata.ODataMetaModel.FunctionImportParameter[];
68162
+ /**
68163
+ * The qualified name of the function import's return type; the value is identical to the corresponding
68164
+ * XML attribute value in the service metadata document.
68165
+ */
68166
+ returnType?: string;
68167
+ };
68076
68168
 
68077
68169
  /**
68078
68170
  * An object representing an OData function import parameter.
68079
68171
  */
68080
- type FunctionImportParameter = sap.ui.model.odata.ODataMetaModel.Annotatable & {
68081
- /**
68082
- * The function import parameter's name
68083
- */
68084
- name: string;
68085
- /**
68086
- * The function import parameter's type; the value is identical to the corresponding XML attribute value
68087
- * in the service metadata document.
68088
- */
68089
- type: string;
68090
- /**
68091
- * The fixedLength constraint if supported by the function import parameter's type
68092
- */
68093
- fixedLength?: "false" | "true";
68094
- /**
68095
- * The maxLength constraint if supported by the function import parameter's type
68096
- */
68097
- maxLength?: string;
68098
- /**
68099
- * The function import parameter's mode
68100
- */
68101
- mode?: "In" | "InOut" | "Out";
68102
- /**
68103
- * The precision constraint if supported by the function import parameter's type
68104
- */
68105
- precision?: string;
68106
- /**
68107
- * The scale constraint if supported by the function import parameter's type
68108
- */
68109
- scale?: string;
68110
- };
68172
+ type FunctionImportParameter =
68173
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
68174
+ /**
68175
+ * The function import parameter's name
68176
+ */
68177
+ name: string;
68178
+ /**
68179
+ * The function import parameter's type; the value is identical to the corresponding XML attribute value
68180
+ * in the service metadata document.
68181
+ */
68182
+ type: string;
68183
+ /**
68184
+ * The fixedLength constraint if supported by the function import parameter's type
68185
+ */
68186
+ fixedLength?: "false" | "true";
68187
+ /**
68188
+ * The maxLength constraint if supported by the function import parameter's type
68189
+ */
68190
+ maxLength?: string;
68191
+ /**
68192
+ * The function import parameter's mode
68193
+ */
68194
+ mode?: "In" | "InOut" | "Out";
68195
+ /**
68196
+ * The precision constraint if supported by the function import parameter's type
68197
+ */
68198
+ precision?: string;
68199
+ /**
68200
+ * The scale constraint if supported by the function import parameter's type
68201
+ */
68202
+ scale?: string;
68203
+ };
68111
68204
 
68112
68205
  /**
68113
68206
  * A property of type `Edm.Guid`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Guid}.
68114
68207
  */
68115
- type GuidProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68116
- /**
68117
- * The type name
68118
- */
68119
- type: "Edm.Guid";
68120
- };
68208
+ type GuidProperty =
68209
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68210
+ /**
68211
+ * The type name
68212
+ */
68213
+ type: "Edm.Guid";
68214
+ };
68121
68215
 
68122
68216
  /**
68123
68217
  * A property of type `Edm.Int16`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Int16}.
68124
68218
  */
68125
- type Int16Property = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68126
- /**
68127
- * The type name
68128
- */
68129
- type: "Edm.Int16";
68130
- };
68219
+ type Int16Property =
68220
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68221
+ /**
68222
+ * The type name
68223
+ */
68224
+ type: "Edm.Int16";
68225
+ };
68131
68226
 
68132
68227
  /**
68133
68228
  * A property of type `Edm.Int32`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Int32}.
68134
68229
  */
68135
- type Int32Property = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68136
- /**
68137
- * The type name
68138
- */
68139
- type: "Edm.Int32";
68140
- };
68230
+ type Int32Property =
68231
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68232
+ /**
68233
+ * The type name
68234
+ */
68235
+ type: "Edm.Int32";
68236
+ };
68141
68237
 
68142
68238
  /**
68143
68239
  * A property of type `Edm.Int64`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Int64}.
68144
68240
  */
68145
- type Int64Property = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68146
- /**
68147
- * The type name
68148
- */
68149
- type: "Edm.Int64";
68150
- };
68241
+ type Int64Property =
68242
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68243
+ /**
68244
+ * The type name
68245
+ */
68246
+ type: "Edm.Int64";
68247
+ };
68151
68248
 
68152
68249
  /**
68153
68250
  * An OData navigation property of an entity type.
68154
68251
  */
68155
- type NavigationProperty = sap.ui.model.odata.ODataMetaModel.Annotatable & {
68156
- /**
68157
- * The name of the navigation property
68158
- */
68159
- name: string;
68160
- /**
68161
- * The name of the starting point for the navigation; refers to a role defined in the association
68162
- */
68163
- fromRole: string;
68164
- /**
68165
- * The qualified name of the navigation property's association
68166
- */
68167
- relationship: string;
68168
- /**
68169
- * The name of the other end of the relationship; refers to a role defined in the association
68170
- */
68171
- toRole: string;
68172
- };
68252
+ type NavigationProperty =
68253
+ sap.ui.model.odata.ODataMetaModel.Annotatable & {
68254
+ /**
68255
+ * The name of the navigation property
68256
+ */
68257
+ name: string;
68258
+ /**
68259
+ * The name of the starting point for the navigation; refers to a role defined in the association
68260
+ */
68261
+ fromRole: string;
68262
+ /**
68263
+ * The qualified name of the navigation property's association
68264
+ */
68265
+ relationship: string;
68266
+ /**
68267
+ * The name of the other end of the relationship; refers to a role defined in the association
68268
+ */
68269
+ toRole: string;
68270
+ };
68173
68271
 
68174
68272
  /**
68175
68273
  * The alias type for an OData property of an entity type; the alias comprises all supported OData EDM types.
@@ -68215,12 +68313,13 @@ declare namespace sap {
68215
68313
  /**
68216
68314
  * A property of type `Edm.SByte`, see the corresponding UI5 type {@link sap.ui.model.odata.type.SByte}.
68217
68315
  */
68218
- type SByteProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68219
- /**
68220
- * The type name
68221
- */
68222
- type: "Edm.SByte";
68223
- };
68316
+ type SByteProperty =
68317
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68318
+ /**
68319
+ * The type name
68320
+ */
68321
+ type: "Edm.SByte";
68322
+ };
68224
68323
 
68225
68324
  /**
68226
68325
  * An object representing an {@link https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#SimpleIdentifier OData SimpleIdentifier}
@@ -68235,30 +68334,32 @@ declare namespace sap {
68235
68334
  /**
68236
68335
  * A property of type `Edm.Single`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Single}.
68237
68336
  */
68238
- type SingleProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68239
- /**
68240
- * The type name
68241
- */
68242
- type: "Edm.Single";
68243
- };
68337
+ type SingleProperty =
68338
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68339
+ /**
68340
+ * The type name
68341
+ */
68342
+ type: "Edm.Single";
68343
+ };
68244
68344
 
68245
68345
  /**
68246
68346
  * A property of type `Edm.Stream`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Stream}.
68247
68347
  */
68248
- type StreamProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68249
- /**
68250
- * The type name
68251
- */
68252
- type: "Edm.Stream";
68253
- /**
68254
- * Whether the stream requires a fixed length
68255
- */
68256
- fixedLength?: "false" | "true";
68257
- /**
68258
- * The maximal length of the stream
68259
- */
68260
- maxLength?: string;
68261
- };
68348
+ type StreamProperty =
68349
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68350
+ /**
68351
+ * The type name
68352
+ */
68353
+ type: "Edm.Stream";
68354
+ /**
68355
+ * Whether the stream requires a fixed length
68356
+ */
68357
+ fixedLength?: "false" | "true";
68358
+ /**
68359
+ * The maximal length of the stream
68360
+ */
68361
+ maxLength?: string;
68362
+ };
68262
68363
 
68263
68364
  /**
68264
68365
  * An object representing a string value.
@@ -68273,38 +68374,40 @@ declare namespace sap {
68273
68374
  /**
68274
68375
  * A property of type `Edm.String`, see the corresponding UI5 type {@link sap.ui.model.odata.type.String}.
68275
68376
  */
68276
- type StringProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68277
- /**
68278
- * The type name
68279
- */
68280
- type: "Edm.String";
68281
- /**
68282
- * Whether the string requires a fixed length
68283
- */
68284
- fixedLength?: "false" | "true";
68285
- /**
68286
- * The maximal length of the string
68287
- */
68288
- maxLength?: string;
68289
- /**
68290
- * Whether Unicode characters are used instead of ASCII characters
68291
- */
68292
- unicode?: "false" | "true";
68293
- };
68377
+ type StringProperty =
68378
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68379
+ /**
68380
+ * The type name
68381
+ */
68382
+ type: "Edm.String";
68383
+ /**
68384
+ * Whether the string requires a fixed length
68385
+ */
68386
+ fixedLength?: "false" | "true";
68387
+ /**
68388
+ * The maximal length of the string
68389
+ */
68390
+ maxLength?: string;
68391
+ /**
68392
+ * Whether Unicode characters are used instead of ASCII characters
68393
+ */
68394
+ unicode?: "false" | "true";
68395
+ };
68294
68396
 
68295
68397
  /**
68296
68398
  * A property of type `Edm.Time`, see the corresponding UI5 type {@link sap.ui.model.odata.type.Time}.
68297
68399
  */
68298
- type TimeProperty = sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68299
- /**
68300
- * The type name
68301
- */
68302
- type: "Edm.Time";
68303
- /**
68304
- * The maximum number of fractional seconds
68305
- */
68306
- precision?: string;
68307
- };
68400
+ type TimeProperty =
68401
+ sap.ui.model.odata.ODataMetaModel.AbstractProperty & {
68402
+ /**
68403
+ * The type name
68404
+ */
68405
+ type: "Edm.Time";
68406
+ /**
68407
+ * The maximum number of fractional seconds
68408
+ */
68409
+ precision?: string;
68410
+ };
68308
68411
 
68309
68412
  /**
68310
68413
  * The alias type for the OData {@link https://sap.github.io/odata-vocabularies/vocabularies/Common.html#ValueListParameter ValueListParameter};
@@ -75144,16 +75247,6 @@ declare namespace sap {
75144
75247
  aSorters?: sap.ui.model.Sorter[] | sap.ui.model.Sorter
75145
75248
  ): this;
75146
75249
  }
75147
-
75148
- class ClientTreeBindingAdapter {
75149
- /**
75150
- * Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
75151
- * controls.
75152
- *
75153
- * @ui5-protected Do not call from applications (only from related classes in the framework)
75154
- */
75155
- protected constructor();
75156
- }
75157
75250
  /**
75158
75251
  * Combines multiple property bindings (called 'parts') into a single one.
75159
75252
  *
@@ -77916,7 +78009,7 @@ declare namespace sap {
77916
78009
  * set to the model.
77917
78010
  *
77918
78011
  *
77919
- * @returns A promise to set the value; `undefined` if the binding has no type
78012
+ * @returns A promise in case of asynchronous type validation
77920
78013
  */
77921
78014
  setInternalValue(
77922
78015
  /**
@@ -77929,7 +78022,7 @@ declare namespace sap {
77929
78022
  * case a type is defined on the binding.
77930
78023
  *
77931
78024
  *
77932
- * @returns A promise to set the value; `undefined` if the binding has no type
78025
+ * @returns A promise in case of asynchronous type validation
77933
78026
  */
77934
78027
  setRawValue(
77935
78028
  /**
@@ -78781,163 +78874,6 @@ declare namespace sap {
78781
78874
  aSorters?: sap.ui.model.Sorter[]
78782
78875
  ): void;
78783
78876
  }
78784
-
78785
- class TreeBindingAdapter {
78786
- /**
78787
- * Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
78788
- * controls.
78789
- *
78790
- * @ui5-protected Do not call from applications (only from related classes in the framework)
78791
- */
78792
- protected constructor();
78793
-
78794
- /**
78795
- * Attaches event handler `fnFunction` to the {@link #event:selectionChanged selectionChanged} event of
78796
- * this `sap.ui.model.TreeBindingAdapter`.
78797
- *
78798
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
78799
- * otherwise it will be bound to this `sap.ui.model.TreeBindingAdapter` itself.
78800
- *
78801
- * Event is fired if the selection of tree nodes is changed in any way.
78802
- *
78803
- *
78804
- * @returns Reference to `this` in order to allow method chaining
78805
- */
78806
- attachSelectionChanged(
78807
- /**
78808
- * An application-specific payload object that will be passed to the event handler along with the event
78809
- * object when firing the event
78810
- */
78811
- oData: object,
78812
- /**
78813
- * The function to be called, when the event occurs
78814
- */
78815
- fnFunction: Function,
78816
- /**
78817
- * Context object to call the event handler with. Defaults to this `TreeBindingAdapter` itself
78818
- */
78819
- oListener?: object
78820
- ): this;
78821
- /**
78822
- * Attaches event handler `fnFunction` to the {@link #event:selectionChanged selectionChanged} event of
78823
- * this `sap.ui.model.TreeBindingAdapter`.
78824
- *
78825
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
78826
- * otherwise it will be bound to this `sap.ui.model.TreeBindingAdapter` itself.
78827
- *
78828
- * Event is fired if the selection of tree nodes is changed in any way.
78829
- *
78830
- *
78831
- * @returns Reference to `this` in order to allow method chaining
78832
- */
78833
- attachSelectionChanged(
78834
- /**
78835
- * The function to be called, when the event occurs
78836
- */
78837
- fnFunction: Function,
78838
- /**
78839
- * Context object to call the event handler with. Defaults to this `TreeBindingAdapter` itself
78840
- */
78841
- oListener?: object
78842
- ): this;
78843
- /**
78844
- * Detaches event handler `fnFunction` from the {@link #event:selectionChanged selectionChanged} event of
78845
- * this `sap.ui.model.TreeBindingAdapter`.
78846
- *
78847
- * The passed function and listener object must match the ones used for event registration.
78848
- *
78849
- *
78850
- * @returns Reference to `this` in order to allow method chaining
78851
- */
78852
- detachSelectionChanged(
78853
- /**
78854
- * The function to be called, when the event occurs
78855
- */
78856
- fnFunction: Function,
78857
- /**
78858
- * Context object on which the given function had to be called
78859
- */
78860
- oListener?: object
78861
- ): this;
78862
- /**
78863
- * Fires event {@link #event:selectionChanged selectionChanged} to attached listeners.
78864
- *
78865
- * Expects following event parameters:
78866
- * - 'leadIndex' of type `int` Lead selection index.
78867
- * - 'rowIndices' of type `int[]` Other selected indices (if available)
78868
- *
78869
- * @ui5-protected Do not call from applications (only from related classes in the framework)
78870
- *
78871
- * @returns Reference to `this` in order to allow method chaining
78872
- */
78873
- fireSelectionChanged(
78874
- /**
78875
- * Parameters to pass along with the event.
78876
- */
78877
- oParameters: {
78878
- /**
78879
- * Lead selection index
78880
- */
78881
- leadIndex: int;
78882
- /**
78883
- * Other selected indices (if available)
78884
- */
78885
- rowIndices?: int[];
78886
- }
78887
- ): this;
78888
- /**
78889
- * Gets an array of contexts for the requested part of the tree.
78890
- *
78891
- * @ui5-protected Do not call from applications (only from related classes in the framework)
78892
- *
78893
- * @returns The requested tree contexts
78894
- */
78895
- getContexts(
78896
- /**
78897
- * The index of the first requested context
78898
- */
78899
- iStartIndex?: number,
78900
- /**
78901
- * The maximum number of returned contexts; if not given the model's size limit is used; see {@link sap.ui.model.Model#setSizeLimit}
78902
- */
78903
- iLength?: number,
78904
- /**
78905
- * The maximum number of contexts to read to read additionally as buffer
78906
- */
78907
- iThreshold?: number
78908
- ): sap.ui.model.Context[];
78909
- /**
78910
- * Returns the number of entries in the tree.
78911
- *
78912
- *
78913
- * @returns Returns the number of entries in the tree
78914
- */
78915
- getLength(): number;
78916
- }
78917
- /**
78918
- * @deprecated (since 1.96.0) - use {@link sap.ui.model.TreeBindingAdapter} instead
78919
- * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
78920
- */
78921
- class TreeBindingCompatibilityAdapter {
78922
- /**
78923
- * Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
78924
- * controls.
78925
- *
78926
- * This module is only for experimental and internal use!
78927
- *
78928
- * @ui5-protected Do not call from applications (only from related classes in the framework)
78929
- */
78930
- protected constructor(
78931
- /**
78932
- * The binding to add ListBinding functionality to
78933
- */
78934
- oBinding: sap.ui.model.TreeBinding,
78935
- /**
78936
- * The tree or tree table control using the given binding; the control is used for selection handling
78937
- */
78938
- oControl: object
78939
- );
78940
- }
78941
78877
  /**
78942
78878
  * This is an abstract base class for type objects.
78943
78879
  */
@@ -85352,6 +85288,8 @@ declare namespace sap {
85352
85288
 
85353
85289
  "sap/ui/core/format/NumberFormat": undefined;
85354
85290
 
85291
+ "sap/ui/core/format/TimezoneUtil": undefined;
85292
+
85355
85293
  "sap/ui/core/Fragment": undefined;
85356
85294
 
85357
85295
  "sap/ui/core/getCompatibilityVersion": undefined;