@openui5/types 1.129.0 → 1.130.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -279,7 +279,7 @@ declare namespace sap {
279
279
  "sap/ui/thirdparty/qunit-2": undefined;
280
280
  }
281
281
  }
282
- // For Library Version: 1.129.0
282
+ // For Library Version: 1.130.1
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -6173,13 +6173,15 @@ declare module "sap/ui/performance/trace/Interaction" {
6173
6173
  * Enables the interaction tracking.
6174
6174
  *
6175
6175
  * @since 1.76
6176
+ *
6177
+ * @returns Resolves when FESR is active
6176
6178
  */
6177
6179
  setActive(
6178
6180
  /**
6179
6181
  * State of the interaction detection
6180
6182
  */
6181
6183
  bActive: boolean
6182
- ): void;
6184
+ ): Promise<any>;
6183
6185
  }
6184
6186
  const Interaction: Interaction;
6185
6187
  export default Interaction;
@@ -13825,6 +13827,24 @@ declare module "sap/ui/core/library" {
13825
13827
  getFormDoNotAdjustWidth?(): boolean;
13826
13828
  }
13827
13829
 
13830
+ /**
13831
+ * Defines a control, which can specify if it can be bound to a label
13832
+ *
13833
+ * @since 1.121.0
13834
+ */
13835
+ export interface ILabelable {
13836
+ __implements__sap_ui_core_ILabelable: boolean;
13837
+
13838
+ /**
13839
+ * Returns if the control can be bound to a label
13840
+ *
13841
+ * @since 1.121.0
13842
+ *
13843
+ * @returns `true` if the control can be bound to a label
13844
+ */
13845
+ hasLabelableHTMLElement(): boolean;
13846
+ }
13847
+
13828
13848
  /**
13829
13849
  * State of the Input Method Editor (IME) for the control.
13830
13850
  *
@@ -26595,7 +26615,8 @@ declare module "sap/ui/core/format/NumberFormat" {
26595
26615
  */
26596
26616
  maxIntegerDigits?: int;
26597
26617
  /**
26598
- * defines the minimal number of decimal digits
26618
+ * Deprecated as of 1.130; this format option does not have an effect on currency formats since decimals
26619
+ * can always be determined, either through the given format options, custom currencies or the CLDR
26599
26620
  */
26600
26621
  minFractionDigits?: int;
26601
26622
  /**
@@ -31124,7 +31145,7 @@ declare module "sap/ui/core/Locale" {
31124
31145
  declare module "sap/ui/core/LocaleData" {
31125
31146
  import BaseObject from "sap/ui/base/Object";
31126
31147
 
31127
- import CalendarType from "sap/ui/core/CalendarType";
31148
+ import CalendarType from "sap/base/i18n/date/CalendarType";
31128
31149
 
31129
31150
  import Locale from "sap/ui/core/Locale";
31130
31151
 
@@ -31194,21 +31215,23 @@ declare module "sap/ui/core/LocaleData" {
31194
31215
  */
31195
31216
  firstDayStartsFirstWeek(): boolean;
31196
31217
  /**
31197
- * Returns the pattern for representing the calendar week number in the given style.
31218
+ * Returns the pattern for representing the calendar week number in the given style. If `iWeekNumber` is
31219
+ * given, the week number placeholder will be replaced by it.
31198
31220
  *
31199
31221
  * @since 1.32.0
31200
31222
  *
31201
- * @returns the week number string
31223
+ * @returns The calendar week with the week number placeholder or the week number e.g. "Calendar Week {0}"
31224
+ * or "CW 01"
31202
31225
  */
31203
31226
  getCalendarWeek(
31204
31227
  /**
31205
- * the style of the pattern
31228
+ * The style of the pattern
31206
31229
  */
31207
31230
  sStyle: "narrow" | "wide",
31208
31231
  /**
31209
- * the week number
31232
+ * The week number, e.g. "01" or "42"
31210
31233
  */
31211
- iWeekNumber: int
31234
+ sWeekNumber?: string
31212
31235
  ): string;
31213
31236
  /**
31214
31237
  * Get combined datetime pattern with given date and time style. The combined datetime pattern is the datetime
@@ -31231,7 +31254,7 @@ declare module "sap/ui/core/LocaleData" {
31231
31254
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31232
31255
  * or calculated from locale.
31233
31256
  */
31234
- sCalendarType?: CalendarType
31257
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31235
31258
  ): string;
31236
31259
  /**
31237
31260
  * Get combined interval pattern using a given pattern and the fallback interval pattern.
@@ -31252,7 +31275,7 @@ declare module "sap/ui/core/LocaleData" {
31252
31275
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31253
31276
  * or calculated from locale.
31254
31277
  */
31255
- sCalendarType?: CalendarType
31278
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31256
31279
  ): string;
31257
31280
  /**
31258
31281
  * Returns the currency code which is corresponded with the given currency symbol.
@@ -31366,7 +31389,7 @@ declare module "sap/ui/core/LocaleData" {
31366
31389
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31367
31390
  * or calculated from locale.
31368
31391
  */
31369
- sCalendarType?: CalendarType
31392
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31370
31393
  ): string;
31371
31394
  /**
31372
31395
  * Get interval pattern for a given skeleton format.
@@ -31399,7 +31422,7 @@ declare module "sap/ui/core/LocaleData" {
31399
31422
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31400
31423
  * or calculated from locale.
31401
31424
  */
31402
- sCalendarType?: CalendarType
31425
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31403
31426
  ): string | string[];
31404
31427
  /**
31405
31428
  * Get date pattern in the given style.
@@ -31416,7 +31439,7 @@ declare module "sap/ui/core/LocaleData" {
31416
31439
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31417
31440
  * or calculated from locale.
31418
31441
  */
31419
- sCalendarType?: CalendarType
31442
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31420
31443
  ): string;
31421
31444
  /**
31422
31445
  * Get datetime pattern in the given style.
@@ -31433,7 +31456,7 @@ declare module "sap/ui/core/LocaleData" {
31433
31456
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31434
31457
  * or calculated from locale.
31435
31458
  */
31436
- sCalendarType?: CalendarType
31459
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31437
31460
  ): string;
31438
31461
  /**
31439
31462
  * Get day periods in the given width.
@@ -31450,7 +31473,7 @@ declare module "sap/ui/core/LocaleData" {
31450
31473
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31451
31474
  * or calculated from locale.
31452
31475
  */
31453
- sCalendarType?: CalendarType
31476
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31454
31477
  ): string[];
31455
31478
  /**
31456
31479
  * Get standalone day periods in the given width.
@@ -31467,7 +31490,7 @@ declare module "sap/ui/core/LocaleData" {
31467
31490
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31468
31491
  * or calculated from locale.
31469
31492
  */
31470
- sCalendarType?: CalendarType
31493
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31471
31494
  ): string[];
31472
31495
  /**
31473
31496
  * Get day names in the given width.
@@ -31484,7 +31507,7 @@ declare module "sap/ui/core/LocaleData" {
31484
31507
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31485
31508
  * or calculated from locale.
31486
31509
  */
31487
- sCalendarType?: CalendarType
31510
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31488
31511
  ): string[];
31489
31512
  /**
31490
31513
  * Get standalone day names in the given width.
@@ -31501,7 +31524,7 @@ declare module "sap/ui/core/LocaleData" {
31501
31524
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31502
31525
  * or calculated from locale.
31503
31526
  */
31504
- sCalendarType?: CalendarType
31527
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31505
31528
  ): string[];
31506
31529
  /**
31507
31530
  * Returns the short decimal format (like 1K, 1M....) of the given number in the given style and plural
@@ -31569,9 +31592,11 @@ declare module "sap/ui/core/LocaleData" {
31569
31592
  */
31570
31593
  getEraDates(
31571
31594
  /**
31572
- * the type of calendar
31595
+ * The type of calendar; defaults to the calendar type either set via the "calendar-type" formatting configuration
31596
+ * option, see {@link https://ui5.sap.com/#/topic/91f2d03b6f4d1014b6dd926db0e91070 Configuration Options and URL Parameters},
31597
+ * or determined from the current locale
31573
31598
  */
31574
- sCalendarType?: CalendarType
31599
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31575
31600
  ): object[];
31576
31601
  /**
31577
31602
  * Returns array of eras in the given width.
@@ -31589,7 +31614,7 @@ declare module "sap/ui/core/LocaleData" {
31589
31614
  * The type of calendar; defaults to the calendar type either set in configuration or calculated from the
31590
31615
  * locale
31591
31616
  */
31592
- sCalendarType?: CalendarType
31617
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31593
31618
  ): string[];
31594
31619
  /**
31595
31620
  * Returns the day that usually is regarded as the first day of a week in the current locale.
@@ -31623,7 +31648,7 @@ declare module "sap/ui/core/LocaleData" {
31623
31648
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31624
31649
  * or calculated from locale.
31625
31650
  */
31626
- sCalendarType?: CalendarType
31651
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31627
31652
  ): string;
31628
31653
  /**
31629
31654
  * Gets the locale-specific language name for the given language tag.
@@ -31706,7 +31731,7 @@ declare module "sap/ui/core/LocaleData" {
31706
31731
  * The type of calendar; defaults to the calendar type either set in configuration or calculated from the
31707
31732
  * locale
31708
31733
  */
31709
- sCalendarType?: CalendarType
31734
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31710
31735
  ): string[];
31711
31736
  /**
31712
31737
  * Get standalone month names in the given width.
@@ -31723,7 +31748,7 @@ declare module "sap/ui/core/LocaleData" {
31723
31748
  * The type of calendar; defaults to the calendar type either set in configuration or calculated from the
31724
31749
  * locale
31725
31750
  */
31726
- sCalendarType?: CalendarType
31751
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31727
31752
  ): string[];
31728
31753
  /**
31729
31754
  * Get number symbol for the given type.
@@ -31784,13 +31809,13 @@ declare module "sap/ui/core/LocaleData" {
31784
31809
  vNumber: string | number
31785
31810
  ): string;
31786
31811
  /**
31787
- * Returns the preferred calendar type for the current locale which exists in {@link sap.ui.core.CalendarType}
31812
+ * Returns the preferred calendar type for the current locale which exists in {@link module:sap/base/i18n/date/CalendarType}
31788
31813
  *
31789
31814
  * @since 1.28.6
31790
31815
  *
31791
31816
  * @returns the preferred calendar type
31792
31817
  */
31793
- getPreferredCalendarType(): CalendarType;
31818
+ getPreferredCalendarType(): CalendarType | keyof typeof CalendarType;
31794
31819
  /**
31795
31820
  * Returns the preferred hour pattern symbol ("h" for 12, "H" for 24 hours) for the current locale.
31796
31821
  *
@@ -31814,7 +31839,7 @@ declare module "sap/ui/core/LocaleData" {
31814
31839
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31815
31840
  * or calculated from locale.
31816
31841
  */
31817
- sCalendarType?: CalendarType
31842
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31818
31843
  ): string[];
31819
31844
  /**
31820
31845
  * Get standalone quarter names in the given width.
@@ -31831,7 +31856,7 @@ declare module "sap/ui/core/LocaleData" {
31831
31856
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
31832
31857
  * or calculated from locale.
31833
31858
  */
31834
- sCalendarType?: CalendarType
31859
+ sCalendarType?: CalendarType | keyof typeof CalendarType
31835
31860
  ): string[];
31836
31861
  /**
31837
31862
  * Returns the relative day resource pattern (like "Today", "Yesterday", "{0} days ago") based on the given
@@ -32080,7 +32105,7 @@ declare module "sap/ui/core/LocaleData" {
32080
32105
  * the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
32081
32106
  * or calculated from locale.
32082
32107
  */
32083
- sCalendarType?: CalendarType
32108
+ sCalendarType?: CalendarType | keyof typeof CalendarType
32084
32109
  ): string;
32085
32110
  /**
32086
32111
  * Retrieves the localized display name of a unit by sUnit, e.g. "duration-hour".
@@ -50862,10 +50887,10 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
50862
50887
  */
50863
50888
  oContext: Context,
50864
50889
  /**
50865
- * Parameters, specifying the aggregation level for which contexts shall be fetched or (legacy signature
50866
- * variant) index of first child entry to return from the parent context (zero-based)
50890
+ * Parameters, specifying the aggregation level for which contexts shall be fetched or the index of the
50891
+ * first child entry to return from the parent contexts
50867
50892
  */
50868
- mParameters:
50893
+ mParameters?:
50869
50894
  | {
50870
50895
  /**
50871
50896
  * Level number for oContext, because it might occur at multiple levels; context with group ID `"/"` has
@@ -50977,7 +51002,7 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
50977
51002
  * value can be set to define the parameter `startIndex` as described in this parameter list. In this case,
50978
51003
  * the function parameters `iLength`, `iNumberOfExpandedLevels` and `iThreshold` become mandatory.
50979
51004
  */
50980
- mParameters:
51005
+ mParameters?:
50981
51006
  | {
50982
51007
  /**
50983
51008
  * Number of entries to return at and after the given start index; defaults to the model's size limit, see
@@ -54577,11 +54602,11 @@ declare module "sap/ui/model/ClientTreeBinding" {
54577
54602
  */
54578
54603
  getCount(): number | undefined;
54579
54604
  /**
54580
- * Return node contexts for the tree
54605
+ * Return node contexts for the tree.
54581
54606
  *
54582
54607
  * @ui5-protected Do not call from applications (only from related classes in the framework)
54583
54608
  *
54584
- * @returns the contexts array
54609
+ * @returns the context's array
54585
54610
  */
54586
54611
  getNodeContexts(
54587
54612
  /**
@@ -54589,42 +54614,44 @@ declare module "sap/ui/model/ClientTreeBinding" {
54589
54614
  */
54590
54615
  oContext: Context,
54591
54616
  /**
54592
- * the startIndex where to start the retrieval of contexts
54617
+ * the index from which to start the retrieval of contexts
54593
54618
  */
54594
- iStartIndex: int,
54619
+ iStartIndex?: int,
54595
54620
  /**
54596
- * determines how many contexts to retrieve beginning from the start index.
54621
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
54622
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
54597
54623
  */
54598
- iLength: int
54624
+ iLength?: int
54599
54625
  ): Context[];
54600
54626
  /**
54601
- * Return root contexts for the tree
54627
+ * Return root contexts for the tree.
54602
54628
  *
54603
54629
  * @ui5-protected Do not call from applications (only from related classes in the framework)
54604
54630
  *
54605
- * @returns the contexts array
54631
+ * @returns the context's array
54606
54632
  */
54607
54633
  getRootContexts(
54608
54634
  /**
54609
- * the startIndex where to start the retrieval of contexts
54635
+ * the index from which to start the retrieval of contexts
54610
54636
  */
54611
- iStartIndex: int,
54637
+ iStartIndex?: int,
54612
54638
  /**
54613
- * determines how many contexts to retrieve beginning from the start index.
54639
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
54640
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
54614
54641
  */
54615
- iLength: int
54616
- ): object[];
54642
+ iLength?: int
54643
+ ): Context[];
54617
54644
  /**
54618
54645
  * Returns if the node has child nodes.
54619
54646
  *
54620
54647
  *
54621
- * @returns true if node has children
54648
+ * @returns `true` if the node has children
54622
54649
  */
54623
54650
  hasChildren(
54624
54651
  /**
54625
54652
  * the context element of the node
54626
54653
  */
54627
- oContext: object
54654
+ oContext: Context
54628
54655
  ): boolean;
54629
54656
  /**
54630
54657
  * Sorts the contexts of this ClientTreeBinding. The tree will be sorted level by level. So the nodes are
@@ -55342,7 +55369,7 @@ declare module "sap/ui/model/Context" {
55342
55369
  *
55343
55370
  * For more information on the concept of data binding and binding contexts, see {@link https://ui5.sap.com/#/topic/e2e6f4127fe4450ab3cf1339c42ee832 documentation on binding syntax}.
55344
55371
  */
55345
- export default abstract class Context extends BaseObject {
55372
+ export default class Context extends BaseObject {
55346
55373
  /**
55347
55374
  * Constructor for Context class. The constructor must only be called by model-internal methods.
55348
55375
  */
@@ -67563,30 +67590,6 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
67563
67590
  }
67564
67591
  );
67565
67592
 
67566
- /**
67567
- * Creates a new subclass of class sap.ui.model.odata.v2.ODataModel with name `sClassName` and enriches
67568
- * it with the information contained in `oClassInfo`.
67569
- *
67570
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.model.Model.extend}.
67571
- *
67572
- *
67573
- * @returns Created class / constructor function
67574
- */
67575
- static extend<T extends Record<string, unknown>>(
67576
- /**
67577
- * Name of the class being created
67578
- */
67579
- sClassName: string,
67580
- /**
67581
- * Object literal with information about the class
67582
- */
67583
- oClassInfo?: sap.ClassInfo<T, ODataModel>,
67584
- /**
67585
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
67586
- * used by this class
67587
- */
67588
- FNMetaImpl?: Function
67589
- ): Function;
67590
67593
  /**
67591
67594
  * Returns a metadata object for class sap.ui.model.odata.v2.ODataModel.
67592
67595
  *
@@ -69223,6 +69226,15 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
69223
69226
  * @returns Metadata object
69224
69227
  */
69225
69228
  getServiceMetadata(): Object | undefined;
69229
+ /**
69230
+ * Returns this model's base URI of the data service (as defined by the "serviceUrl" model parameter; see
69231
+ * {@link #constructor}), without query options.
69232
+ *
69233
+ * @since 1.130.0
69234
+ *
69235
+ * @returns The service's base URI without query options
69236
+ */
69237
+ getServiceUrl(): string;
69226
69238
  /**
69227
69239
  * Checks if there exist pending changes in the model.
69228
69240
  *
@@ -71095,6 +71107,8 @@ declare module "sap/ui/model/odata/v4/Context" {
71095
71107
 
71096
71108
  import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
71097
71109
 
71110
+ import Filter from "sap/ui/model/Filter";
71111
+
71098
71112
  import Metadata from "sap/ui/base/Metadata";
71099
71113
 
71100
71114
  import {
@@ -71203,8 +71217,8 @@ declare module "sap/ui/model/odata/v4/Context" {
71203
71217
  * {@link #hasPendingChanges}, {@link #resetChanges}, or {@link #isSelected} (returns `false` since 1.114.0).
71204
71218
  *
71205
71219
  * Since 1.105 such a pending deletion is a pending change. It causes `hasPendingChanges` to return `true`
71206
- * for the context, the binding containing it, and the model. The `resetChanges` method called on the context
71207
- * (since 1.109.0), the binding, or the model cancels the deletion and restores the context.
71220
+ * for the context, the binding containing it, and the model. The `resetChanges` method called on the context,
71221
+ * the binding, or the model cancels the deletion and restores the context.
71208
71222
  *
71209
71223
  * If the DELETE request succeeds, the context is destroyed and must not be used anymore. If it fails or
71210
71224
  * is canceled, the context is restored, reinserted into the list, and fully functional again.
@@ -71281,6 +71295,9 @@ declare module "sap/ui/model/odata/v4/Context" {
71281
71295
  * #isExpanded
71282
71296
  *
71283
71297
  * @since 1.77.0
71298
+ *
71299
+ * @returns A promise which is resolved without a defined result when the expand is successful, or rejected
71300
+ * in case of an error
71284
71301
  */
71285
71302
  expand(
71286
71303
  /**
@@ -71289,7 +71306,7 @@ declare module "sap/ui/model/odata/v4/Context" {
71289
71306
  * is not changed.
71290
71307
  */
71291
71308
  iLevels?: number
71292
- ): void;
71309
+ ): Promise<void>;
71293
71310
  /**
71294
71311
  * Returns the binding this context belongs to.
71295
71312
  *
@@ -71312,6 +71329,17 @@ declare module "sap/ui/model/odata/v4/Context" {
71312
71329
  * @returns The canonical path (e.g. "/SalesOrderList('0500000000')")
71313
71330
  */
71314
71331
  getCanonicalPath(): string;
71332
+ /**
71333
+ * Returns a filter object corresponding to this context. For an ordinary row context of a list binding,
71334
+ * the filter matches exactly the entity's key properties. For a subtotal row (see {@link sap.ui.model.odata.v4.ODataListBinding.setAggregation}),
71335
+ * the filter matches exactly the groupable properties corresponding to this context. For a grand total,
71336
+ * `null` is returned.
71337
+ *
71338
+ * @since 1.130.0
71339
+ *
71340
+ * @returns A filter object corresponding to this context
71341
+ */
71342
+ getFilter(): Filter | null;
71315
71343
  /**
71316
71344
  * Returns the group ID of the context's binding that is used for read requests. See {@link sap.ui.model.odata.v4.ODataListBinding#getGroupId }
71317
71345
  * and {@link sap.ui.model.odata.v4.ODataContextBinding#getGroupId}.
@@ -71483,13 +71511,14 @@ declare module "sap/ui/model/odata/v4/Context" {
71483
71511
  */
71484
71512
  isKeepAlive(): boolean;
71485
71513
  /**
71486
- * Tells whether this context is currently selected, but not {@link #delete deleted} on the client. Since
71487
- * 1.122.0 the selection state can also be accessed via instance annotation "@$ui5.context.isSelected" at
71488
- * the entity. Note that the annotation does not take the deletion state into account.
71514
+ * Tells whether this context is currently selected, but not {@link #delete deleted} on the client. Selection
71515
+ * was experimental as of version 1.111.0. Since 1.122.0, the selection state can also be accessed via instance
71516
+ * annotation "@$ui5.context.isSelected" at the entity. Note that the annotation does not take the deletion
71517
+ * state into account.
71489
71518
  * See:
71490
71519
  * #setSelected
71491
71520
  *
71492
- * @experimental (since 1.111.0)
71521
+ * @since 1.130.0
71493
71522
  *
71494
71523
  * @returns Whether this context is currently selected
71495
71524
  */
@@ -71890,8 +71919,9 @@ declare module "sap/ui/model/odata/v4/Context" {
71890
71919
  * Sets whether this context is currently selected. If the selection state changes, a {@link sap.ui.model.odata.v4.ODataListBinding#event:selectionChanged 'selectionChanged' }
71891
71920
  * event is fired on the list binding which this context belongs to. While a context is currently {@link #delete deleted }
71892
71921
  * on the client, it does not appear as {@link #isSelected selected}. If the preconditions of {@link #setKeepAlive }
71893
- * hold, a best effort is made to implicitly keep a selected context alive in order to preserve the selection
71894
- * state. Once the selection is no longer needed, for example because you perform an operation on this context
71922
+ * hold, a best effort is made to implicitly keep a (de-)selected context alive in order to preserve the
71923
+ * selection state of every exception to the "select all" state defined by the list binding's {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context}.
71924
+ * Once the selection is no longer needed, for example because you perform an operation on this context
71895
71925
  * which logically removes it from its list, you need to reset the selection.
71896
71926
  *
71897
71927
  * If this context is a header context of a list binding, the new selection state is propagated to all row
@@ -71902,11 +71932,13 @@ declare module "sap/ui/model/odata/v4/Context" {
71902
71932
  * of any row context changes in this way, then a {@link sap.ui.model.odata.v4.ODataListBinding#event:selectionChanged 'selectionChanged' }
71903
71933
  * event is nevertheless fired for this header context, but not for the row context.
71904
71934
  *
71935
+ * Selection was experimental as of version 1.111.0.
71936
+ *
71905
71937
  * **Note:** It is unsafe to keep a reference to a context instance which is not {@link #isKeepAlive kept alive}.
71906
71938
  * See:
71907
71939
  * #isSelected
71908
71940
  *
71909
- * @experimental (since 1.111.0)
71941
+ * @since 1.130.0
71910
71942
  */
71911
71943
  setSelected(
71912
71944
  /**
@@ -72836,11 +72868,11 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
72836
72868
  * creation or {@link sap.ui.model.odata.v4.Context#move move} must be pending, and no other modification
72837
72869
  * (including collapse of some ancestor node) must happen while this creation is pending!
72838
72870
  *
72839
- * When using the `createInPlace` parameter (see {@link #setAggregation}, @experimental as of version 1.125.0),
72840
- * the new {@link sap.ui.model.odata.v4.Context#isTransient transient} child is hidden until its {@link sap.ui.model.odata.v4.Context#created created promise }
72841
- * resolves, and then it is shown at a position determined by the back end and the current sort order. Note
72842
- * that the returned context is not always part of this list binding's collection and can only be used for
72843
- * the following scenarios:
72871
+ * When using the `createInPlace` parameter (see {@link #setAggregation}, since 1.130.0), the new {@link sap.ui.model.odata.v4.Context#isTransient transient }
72872
+ * child is hidden until its {@link sap.ui.model.odata.v4.Context#created created promise} resolves, and
72873
+ * then it is shown at a position determined by the back end and the current sort order. Note that the returned
72874
+ * context is not always part of this list binding's collection and can only be used for the following scenarios:
72875
+ *
72844
72876
  * The position of the new child can be retrieved by using its {@link sap.ui.model.odata.v4.Context#getIndex index}.
72845
72877
  * If the created child does not become part of the hierarchy due to the search or filter criteria, the
72846
72878
  * context will be {@link sap.ui.model.odata.v4.Context#destroy destroyed} and its {@link sap.ui.model.odata.v4.Context#getIndex index }
@@ -73068,7 +73100,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
73068
73100
  * @since 1.37.0
73069
73101
  * @ui5-protected Do not call from applications (only from related classes in the framework)
73070
73102
  *
73071
- * @returns The array of already created contexts with the first entry containing the context for `iStart`
73103
+ * @returns The array of already created contexts with the first entry containing the context for `iStart`.
73104
+ * Since 1.130.0, the array has an additional property `bExpectMore`, which is `true` if the response is
73105
+ * not complete, a {@link #event:change 'change'} event will follow, and a busy indicator should be switched
73106
+ * on.
73072
73107
  */
73073
73108
  getContexts(
73074
73109
  /**
@@ -73515,10 +73550,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
73515
73550
  */
73516
73551
  aggregate?: object;
73517
73552
  /**
73518
- * Whether created nodes are shown in place at the position specified by the service (@experimental as of
73519
- * version 1.125.0); only the value `true` is allowed. Otherwise, created nodes are displayed out of place
73520
- * as the first children of their parent or as the first roots, but not in their usual position as defined
73521
- * by the service and the current sort order.
73553
+ * Whether created nodes are shown in place at the position specified by the service (since 1.130.0); only
73554
+ * the value `true` is allowed. Otherwise, created nodes are displayed out of place as the first children
73555
+ * of their parent or as the first roots, but not in their usual position as defined by the service and
73556
+ * the current sort order.
73522
73557
  */
73523
73558
  createInPlace?: boolean;
73524
73559
  /**
@@ -73537,8 +73572,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
73537
73572
  * A map from groupable property names to objects containing the following details:
73538
73573
  * `additionally`: An optional list of strings that provides the paths to properties (like texts or attributes)
73539
73574
  * related to this groupable property in a 1:1 relation (since 1.87.0). They are requested additionally
73540
- * via `groupby and must not change the actual grouping; a unit` for an aggregatable property
73541
- * must not be repeated here.
73575
+ * via `groupby` and must not change the actual grouping; a `unit` for an aggregatable property must not
73576
+ * be repeated here.
73542
73577
  */
73543
73578
  group?: object;
73544
73579
  /**
@@ -73878,8 +73913,6 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
73878
73913
 
73879
73914
  /**
73880
73915
  * Parameters of the ODataListBinding#selectionChanged event.
73881
- *
73882
- * @experimental (since 1.126.0)
73883
73916
  */
73884
73917
  export interface ODataListBinding$SelectionChangedEventParameters {
73885
73918
  /**
@@ -73890,8 +73923,6 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
73890
73923
 
73891
73924
  /**
73892
73925
  * Event object of the ODataListBinding#selectionChanged event.
73893
- *
73894
- * @experimental (since 1.126.0)
73895
73926
  */
73896
73927
  export type ODataListBinding$SelectionChangedEvent = Event<
73897
73928
  ODataListBinding$SelectionChangedEventParameters,
@@ -74855,30 +74886,6 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
74855
74886
  }
74856
74887
  );
74857
74888
 
74858
- /**
74859
- * Creates a new subclass of class sap.ui.model.odata.v4.ODataModel with name `sClassName` and enriches
74860
- * it with the information contained in `oClassInfo`.
74861
- *
74862
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.model.Model.extend}.
74863
- *
74864
- *
74865
- * @returns Created class / constructor function
74866
- */
74867
- static extend<T extends Record<string, unknown>>(
74868
- /**
74869
- * Name of the class being created
74870
- */
74871
- sClassName: string,
74872
- /**
74873
- * Object literal with information about the class
74874
- */
74875
- oClassInfo?: sap.ClassInfo<T, ODataModel>,
74876
- /**
74877
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
74878
- * used by this class
74879
- */
74880
- FNMetaImpl?: Function
74881
- ): Function;
74882
74889
  /**
74883
74890
  * Returns a metadata object for class sap.ui.model.odata.v4.ODataModel.
74884
74891
  *
@@ -75170,9 +75177,9 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
75170
75177
  * An array of navigation property names which are omitted from the main list request and loaded in a separate
75171
75178
  * request instead (@experimental as of version 1.129.0). This results in the main list becoming available
75172
75179
  * faster, while the separate properties are merged as soon as the data is received. Note that the separate
75173
- * properties must be part of the '$expand' system query option, either automatically via the "autoExpandSelect"
75174
- * model parameter (see {@link sap.ui.model.odata.v4.ODataModel#constructor}) or manually. The `$$separate`
75175
- * parameter must not be combined with `$$aggregation`.
75180
+ * properties must be single valued and part of the '$expand' system query option, either automatically
75181
+ * via the "autoExpandSelect" model parameter (see {@link sap.ui.model.odata.v4.ODataModel#constructor})
75182
+ * or manually. The `$$separate` parameter must not be combined with `$$aggregation`.
75176
75183
  */
75177
75184
  $$separate?: string[];
75178
75185
  /**
@@ -75217,8 +75224,8 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
75217
75224
  * If the target type specified in the corresponding control property's binding info is "any" and the binding
75218
75225
  * is relative or points to metadata, the binding may have an object value; in this case and unless the
75219
75226
  * binding refers to an action advertisement the binding's mode must be {@link sap.ui.model.BindingMode.OneTime}.
75220
- * {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (@experimental as of version 1.126.0)
75221
- * for complex types and collections thereof; for entity types, use {@link #bindContext} instead.
75227
+ * {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (since 1.130.0) for complex types and
75228
+ * collections thereof; for entity types, use {@link #bindContext} instead.
75222
75229
  * See:
75223
75230
  * sap.ui.base.ManagedObject#bindProperty
75224
75231
  * sap.ui.model.Model#bindProperty
@@ -77705,6 +77712,8 @@ declare module "sap/ui/model/TreeBinding" {
77705
77712
 
77706
77713
  import Model from "sap/ui/model/Model";
77707
77714
 
77715
+ import Context from "sap/ui/model/Context";
77716
+
77708
77717
  import Filter from "sap/ui/model/Filter";
77709
77718
 
77710
77719
  import Sorter from "sap/ui/model/Sorter";
@@ -77713,8 +77722,6 @@ declare module "sap/ui/model/TreeBinding" {
77713
77722
 
77714
77723
  import Metadata from "sap/ui/base/Metadata";
77715
77724
 
77716
- import Context from "sap/ui/model/Context";
77717
-
77718
77725
  /**
77719
77726
  * The TreeBinding is a specific binding for trees in the model, which can be used to populate Trees.
77720
77727
  */
@@ -77738,7 +77745,7 @@ declare module "sap/ui/model/TreeBinding" {
77738
77745
  /**
77739
77746
  * Context object for this binding (optional)
77740
77747
  */
77741
- oContext?: object,
77748
+ oContext?: Context,
77742
77749
  /**
77743
77750
  * The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter }
77744
77751
  * to replace them
@@ -77747,7 +77754,7 @@ declare module "sap/ui/model/TreeBinding" {
77747
77754
  /**
77748
77755
  * Additional model specific parameters (optional)
77749
77756
  */
77750
- mParameters?: string,
77757
+ mParameters?: object,
77751
77758
  /**
77752
77759
  * The sorters used initially; call {@link #sort} to replace them
77753
77760
  */
@@ -77839,7 +77846,7 @@ declare module "sap/ui/model/TreeBinding" {
77839
77846
  sFilterType?: FilterType | keyof typeof FilterType
77840
77847
  ): void;
77841
77848
  /**
77842
- * Returns the number of child nodes of a specific context
77849
+ * Returns the number of child nodes of a specific context.
77843
77850
  *
77844
77851
  *
77845
77852
  * @returns the number of children
@@ -77848,7 +77855,7 @@ declare module "sap/ui/model/TreeBinding" {
77848
77855
  /**
77849
77856
  * the context element of the node
77850
77857
  */
77851
- oContext: Object
77858
+ oContext: Context
77852
77859
  ): int;
77853
77860
  /**
77854
77861
  * Returns the count of entries in the tree, or `undefined` if it is unknown. If the tree is filtered, the
@@ -77864,7 +77871,7 @@ declare module "sap/ui/model/TreeBinding" {
77864
77871
  */
77865
77872
  getCount(): number | undefined;
77866
77873
  /**
77867
- * Returns the current value of the bound target
77874
+ * Returns the current value of the bound target.
77868
77875
  *
77869
77876
  *
77870
77877
  * @returns the array of child contexts for the given node
@@ -77875,41 +77882,43 @@ declare module "sap/ui/model/TreeBinding" {
77875
77882
  */
77876
77883
  oContext: Context,
77877
77884
  /**
77878
- * the startIndex where to start the retrieval of contexts
77885
+ * the index from which to start the retrieval of contexts
77879
77886
  */
77880
- iStartIndex: int,
77887
+ iStartIndex?: int,
77881
77888
  /**
77882
- * determines how many contexts to retrieve beginning from the start index.
77889
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
77890
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
77883
77891
  */
77884
- iLength: int
77892
+ iLength?: int
77885
77893
  ): Context[];
77886
77894
  /**
77887
- * Returns the current value of the bound target
77895
+ * Returns the current value of the bound target.
77888
77896
  *
77889
77897
  *
77890
77898
  * @returns the array of child contexts for the root node
77891
77899
  */
77892
77900
  getRootContexts(
77893
77901
  /**
77894
- * the startIndex where to start the retrieval of contexts
77902
+ * the index from which to start the retrieval of contexts
77895
77903
  */
77896
- iStartIndex: int,
77904
+ iStartIndex?: int,
77897
77905
  /**
77898
- * determines how many contexts to retrieve beginning from the start index.
77906
+ * determines how many contexts to retrieve, beginning from the start index. Defaults to the model's size
77907
+ * limit; see {@link sap.ui.model.Model#setSizeLimit}.
77899
77908
  */
77900
- iLength: int
77901
- ): any[];
77909
+ iLength?: int
77910
+ ): Context[];
77902
77911
  /**
77903
- * Returns if the node has child nodes
77912
+ * Returns `true` if the node has child nodes.
77904
77913
  *
77905
77914
  *
77906
- * @returns true if node has children
77915
+ * @returns `true` if the node has children
77907
77916
  */
77908
77917
  hasChildren(
77909
77918
  /**
77910
77919
  * the context element of the node
77911
77920
  */
77912
- oContext: Object
77921
+ oContext: Context
77913
77922
  ): boolean;
77914
77923
  /**
77915
77924
  * Sorts the tree according to the sorter definitions.
@@ -87638,6 +87647,8 @@ declare namespace sap {
87638
87647
 
87639
87648
  "sap/ui/core/ComponentContainer": undefined;
87640
87649
 
87650
+ "sap/ui/core/ComponentHooks": undefined;
87651
+
87641
87652
  "sap/ui/core/ComponentMetadata": undefined;
87642
87653
 
87643
87654
  "sap/ui/core/ComponentRegistry": undefined;
@@ -87694,6 +87705,8 @@ declare namespace sap {
87694
87705
 
87695
87706
  "sap/ui/core/fieldhelp/FieldHelp": undefined;
87696
87707
 
87708
+ "sap/ui/core/fieldhelp/FieldHelpCustomData": undefined;
87709
+
87697
87710
  "sap/ui/core/fieldhelp/FieldHelpUtil": undefined;
87698
87711
 
87699
87712
  "sap/ui/core/format/DateFormat": undefined;