@openui5/types 1.126.1 → 1.127.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/types",
3
- "version": "1.126.1",
3
+ "version": "1.127.1",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.1
1
+ // For Library Version: 1.127.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -1030,8 +1030,6 @@ declare module "sap/f/AvatarGroupItem" {
1030
1030
  * rendering each `AvatarGroupItem` instance in the {@link sap.f.AvatarGroup} control.
1031
1031
  *
1032
1032
  * @since 1.73
1033
- * @experimental (since 1.73) - This class is experimental and provides only limited functionality. Also
1034
- * the API might be changed in future.
1035
1033
  */
1036
1034
  export default class AvatarGroupItem extends Control {
1037
1035
  /**
@@ -1189,9 +1187,6 @@ declare module "sap/f/AvatarGroupItem" {
1189
1187
  }
1190
1188
  /**
1191
1189
  * Describes the settings that can be provided to the AvatarGroupItem constructor.
1192
- *
1193
- * @experimental (since 1.73) - This class is experimental and provides only limited functionality. Also
1194
- * the API might be changed in future.
1195
1190
  */
1196
1191
  export interface $AvatarGroupItemSettings extends $ControlSettings {
1197
1192
  /**
@@ -12863,8 +12858,6 @@ declare module "sap/f/ProductSwitch" {
12863
12858
  * A layout control that provides specific configuration about how the items should be displayed.
12864
12859
  *
12865
12860
  * @since 1.72
12866
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
12867
- * the API might be changed in future.
12868
12861
  */
12869
12862
  export default class ProductSwitch extends Control {
12870
12863
  /**
@@ -13106,9 +13099,6 @@ declare module "sap/f/ProductSwitch" {
13106
13099
  }
13107
13100
  /**
13108
13101
  * Describes the settings that can be provided to the ProductSwitch constructor.
13109
- *
13110
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
13111
- * the API might be changed in future.
13112
13102
  */
13113
13103
  export interface $ProductSwitchSettings extends $ControlSettings {
13114
13104
  /**
@@ -13165,8 +13155,6 @@ declare module "sap/f/ProductSwitchItem" {
13165
13155
  * **Note:** `ProductSwitchItem` is not supported when used outside of `ProductSwitch`.
13166
13156
  *
13167
13157
  * @since 1.72
13168
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
13169
- * the API might be changed in future.
13170
13158
  */
13171
13159
  export default class ProductSwitchItem extends Control {
13172
13160
  /**
@@ -13373,9 +13361,6 @@ declare module "sap/f/ProductSwitchItem" {
13373
13361
  }
13374
13362
  /**
13375
13363
  * Describes the settings that can be provided to the ProductSwitchItem constructor.
13376
- *
13377
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
13378
- * the API might be changed in future.
13379
13364
  */
13380
13365
  export interface $ProductSwitchItemSettings extends $ControlSettings {
13381
13366
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.1
1
+ // For Library Version: 1.127.1
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -1300,6 +1300,15 @@ declare module "sap/m/library" {
1300
1300
  */
1301
1301
  InlineSvg = "InlineSvg",
1302
1302
  }
1303
+ /**
1304
+ * Interface for controls which are suitable to be added as items of sap.m.Menu.
1305
+ *
1306
+ * @since 1.127.0
1307
+ */
1308
+ export interface IMenuItem {
1309
+ __implements__sap_m_IMenuItem: boolean;
1310
+ }
1311
+
1303
1312
  /**
1304
1313
  * The object contains accessibility state for a control.
1305
1314
  *
@@ -1975,9 +1984,12 @@ declare module "sap/m/library" {
1975
1984
  */
1976
1985
  export type OverflowToolbarConfig = {
1977
1986
  /**
1978
- * A boolean that tells whether the control can move to the overflow menu or not. **Note:** Even if `canOverflow`
1979
- * is set to `false`, the `propsUnrelatedToSize` field is taken into account, allowing to optimize the behavior
1980
- * of controls that do not need to overflow, but are used in an `sap.m.OverflowToolbar` regardless.
1987
+ * A boolean that tells whether the control can move to the overflow menu or not. **Notes:**
1988
+ * - Even if `canOverflow` is set to `false`, the `propsUnrelatedToSize` field is taken into account,
1989
+ * allowing to optimize the behavior of controls that do not need to overflow, but are used in an `sap.m.OverflowToolbar`
1990
+ * regardless.
1991
+ * - If `canOverflow` is not provided, its default value is `false`. In this case, the control is shown
1992
+ * in the content of the `sap.m.OverflowToolbar` but it's not possible to enter the overflow area.
1981
1993
  */
1982
1994
  canOverflow?: boolean;
1983
1995
  /**
@@ -9006,7 +9018,6 @@ declare module "sap/m/Breadcrumbs" {
9006
9018
  * Determines the text of current/last element in the Breadcrumbs path.
9007
9019
  *
9008
9020
  * @since 1.34
9009
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
9010
9021
  *
9011
9022
  * @returns Value of property `currentLocationText`
9012
9023
  */
@@ -9133,7 +9144,6 @@ declare module "sap/m/Breadcrumbs" {
9133
9144
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
9134
9145
  *
9135
9146
  * @since 1.34
9136
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
9137
9147
  *
9138
9148
  * @returns Reference to `this` in order to allow method chaining
9139
9149
  */
@@ -9164,7 +9174,6 @@ declare module "sap/m/Breadcrumbs" {
9164
9174
  * Determines the text of current/last element in the Breadcrumbs path.
9165
9175
  *
9166
9176
  * @since 1.34
9167
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
9168
9177
  */
9169
9178
  currentLocationText?: string | PropertyBindingInfo;
9170
9179
 
@@ -44104,6 +44113,11 @@ declare module "sap/m/Input" {
44104
44113
  * been pressed.
44105
44114
  */
44106
44115
  fromSuggestions?: boolean;
44116
+
44117
+ /**
44118
+ * The event parameter is set to true, when the event is fired after keyboard interaction, otherwise false.
44119
+ */
44120
+ fromKeyboard?: boolean;
44107
44121
  }
44108
44122
 
44109
44123
  /**
@@ -53288,7 +53302,7 @@ declare module "sap/m/Menu" {
53288
53302
 
53289
53303
  import { IContextMenu, Dock } from "sap/ui/core/library";
53290
53304
 
53291
- import MenuItem from "sap/m/MenuItem";
53305
+ import { IMenuItem } from "sap/m/library";
53292
53306
 
53293
53307
  import Event from "sap/ui/base/Event";
53294
53308
 
@@ -53301,6 +53315,8 @@ declare module "sap/m/Menu" {
53301
53315
 
53302
53316
  import UI5Element from "sap/ui/core/Element";
53303
53317
 
53318
+ import MenuItem from "sap/m/MenuItem";
53319
+
53304
53320
  /**
53305
53321
  * The `sap.m.Menu` control represents a hierarchical menu. When opened on mobile devices it occupies the
53306
53322
  * whole screen.
@@ -53384,7 +53400,7 @@ declare module "sap/m/Menu" {
53384
53400
  /**
53385
53401
  * The item to add; if empty, nothing is inserted
53386
53402
  */
53387
- oItem: MenuItem
53403
+ oItem: IMenuItem
53388
53404
  ): this;
53389
53405
  /**
53390
53406
  * Attaches event handler `fnFunction` to the {@link #event:closed closed} event of this `sap.m.Menu`.
@@ -53573,7 +53589,17 @@ declare module "sap/m/Menu" {
53573
53589
  *
53574
53590
  * Defines the items contained within this control.
53575
53591
  */
53576
- getItems(): MenuItem[];
53592
+ getItems(): IMenuItem[];
53593
+ /**
53594
+ * Returns an array containing the selected menu items. **Note:** Only items with `selected` property set
53595
+ * that are members of `MenuItemGroup` with `ItemSelectionMode` property set to {@link sap.ui.core.ItemSelectionMode.SingleSelect }
53596
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}> are taken into account.
53597
+ *
53598
+ * @since 1.127.0
53599
+ *
53600
+ * @returns Array of all selected items
53601
+ */
53602
+ getSelectedItems(): any[];
53577
53603
  /**
53578
53604
  * Gets current value of property {@link #getTitle title}.
53579
53605
  *
@@ -53584,7 +53610,7 @@ declare module "sap/m/Menu" {
53584
53610
  */
53585
53611
  getTitle(): string;
53586
53612
  /**
53587
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
53613
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
53588
53614
  * index if found or -1 otherwise.
53589
53615
  *
53590
53616
  *
@@ -53594,7 +53620,7 @@ declare module "sap/m/Menu" {
53594
53620
  /**
53595
53621
  * The item whose index is looked for
53596
53622
  */
53597
- oItem: MenuItem
53623
+ oItem: IMenuItem
53598
53624
  ): int;
53599
53625
  /**
53600
53626
  * Initializes the control.
@@ -53610,7 +53636,7 @@ declare module "sap/m/Menu" {
53610
53636
  /**
53611
53637
  * The item to insert; if empty, nothing is inserted
53612
53638
  */
53613
- oItem: MenuItem,
53639
+ oItem: IMenuItem,
53614
53640
  /**
53615
53641
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
53616
53642
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -53674,7 +53700,7 @@ declare module "sap/m/Menu" {
53674
53700
  *
53675
53701
  * @returns An array of the removed elements (might be empty)
53676
53702
  */
53677
- removeAllItems(): MenuItem[];
53703
+ removeAllItems(): IMenuItem[];
53678
53704
  /**
53679
53705
  * Removes a item from the aggregation {@link #getItems items}.
53680
53706
  *
@@ -53685,8 +53711,8 @@ declare module "sap/m/Menu" {
53685
53711
  /**
53686
53712
  * The item to remove or its index or id
53687
53713
  */
53688
- vItem: int | string | MenuItem
53689
- ): MenuItem | null;
53714
+ vItem: int | string | IMenuItem
53715
+ ): IMenuItem | null;
53690
53716
  /**
53691
53717
  * Sets the title of the `Menu`.
53692
53718
  *
@@ -53719,7 +53745,7 @@ declare module "sap/m/Menu" {
53719
53745
  /**
53720
53746
  * Defines the items contained within this control.
53721
53747
  */
53722
- items?: MenuItem[] | MenuItem | AggregationBindingInfo | `{${string}}`;
53748
+ items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
53723
53749
 
53724
53750
  /**
53725
53751
  * Fired when a `MenuItem` is selected.
@@ -54636,6 +54662,8 @@ declare module "sap/m/MenuButton" {
54636
54662
  declare module "sap/m/MenuItem" {
54637
54663
  import { default as Item, $ItemSettings } from "sap/ui/core/Item";
54638
54664
 
54665
+ import { IMenuItem } from "sap/m/library";
54666
+
54639
54667
  import Event from "sap/ui/base/Event";
54640
54668
 
54641
54669
  import {
@@ -54650,7 +54678,8 @@ declare module "sap/m/MenuItem" {
54650
54678
  *
54651
54679
  * @since 1.38
54652
54680
  */
54653
- export default class MenuItem extends Item {
54681
+ export default class MenuItem extends Item implements IMenuItem {
54682
+ __implements__sap_m_IMenuItem: boolean;
54654
54683
  /**
54655
54684
  * Constructor for a new `MenuItem`.
54656
54685
  *
@@ -54723,7 +54752,7 @@ declare module "sap/m/MenuItem" {
54723
54752
  /**
54724
54753
  * The item to add; if empty, nothing is inserted
54725
54754
  */
54726
- oItem: MenuItem
54755
+ oItem: IMenuItem
54727
54756
  ): this;
54728
54757
  /**
54729
54758
  * Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
@@ -55001,14 +55030,26 @@ declare module "sap/m/MenuItem" {
55001
55030
  *
55002
55031
  * Defines the sub-items contained within this element.
55003
55032
  */
55004
- getItems(): MenuItem[];
55033
+ getItems(): IMenuItem[];
55034
+ /**
55035
+ * Gets current value of property {@link #getSelected selected}.
55036
+ *
55037
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
55038
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
55039
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
55040
+ *
55041
+ * Default value is `false`.
55042
+ *
55043
+ * @since 1.127.0
55044
+ *
55045
+ * @returns Value of property `selected`
55046
+ */
55047
+ getSelected(): boolean;
55005
55048
  /**
55006
55049
  * Gets current value of property {@link #getShortcutText shortcutText}.
55007
55050
  *
55008
55051
  * Defines the shortcut text that should be displayed on the menu item on non-mobile devices. **Note:**
55009
- * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute. There is no built-in
55010
- * functionality that selects the item when the corresponding shortcut is pressed. This should be implemented
55011
- * by the application developer.
55052
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
55012
55053
  *
55013
55054
  * Default value is `empty string`.
55014
55055
  *
@@ -55041,7 +55082,7 @@ declare module "sap/m/MenuItem" {
55041
55082
  */
55042
55083
  getVisible(): boolean;
55043
55084
  /**
55044
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
55085
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
55045
55086
  * index if found or -1 otherwise.
55046
55087
  *
55047
55088
  *
@@ -55051,7 +55092,7 @@ declare module "sap/m/MenuItem" {
55051
55092
  /**
55052
55093
  * The item whose index is looked for
55053
55094
  */
55054
- oItem: MenuItem
55095
+ oItem: IMenuItem
55055
55096
  ): int;
55056
55097
  /**
55057
55098
  * Inserts a item into the aggregation {@link #getItems items}.
@@ -55063,7 +55104,7 @@ declare module "sap/m/MenuItem" {
55063
55104
  /**
55064
55105
  * The item to insert; if empty, nothing is inserted
55065
55106
  */
55066
- oItem: MenuItem,
55107
+ oItem: IMenuItem,
55067
55108
  /**
55068
55109
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
55069
55110
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -55079,7 +55120,7 @@ declare module "sap/m/MenuItem" {
55079
55120
  *
55080
55121
  * @returns An array of the removed elements (might be empty)
55081
55122
  */
55082
- removeAllItems(): MenuItem[];
55123
+ removeAllItems(): IMenuItem[];
55083
55124
  /**
55084
55125
  * Removes a item from the aggregation {@link #getItems items}.
55085
55126
  *
@@ -55090,8 +55131,8 @@ declare module "sap/m/MenuItem" {
55090
55131
  /**
55091
55132
  * The item to remove or its index or id
55092
55133
  */
55093
- vItem: int | string | MenuItem
55094
- ): MenuItem | null;
55134
+ vItem: int | string | IMenuItem
55135
+ ): IMenuItem | null;
55095
55136
  /**
55096
55137
  * Sets a new value for property {@link #getIcon icon}.
55097
55138
  *
@@ -55112,9 +55153,7 @@ declare module "sap/m/MenuItem" {
55112
55153
  * Sets a new value for property {@link #getShortcutText shortcutText}.
55113
55154
  *
55114
55155
  * Defines the shortcut text that should be displayed on the menu item on non-mobile devices. **Note:**
55115
- * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute. There is no built-in
55116
- * functionality that selects the item when the corresponding shortcut is pressed. This should be implemented
55117
- * by the application developer.
55156
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
55118
55157
  *
55119
55158
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
55120
55159
  *
@@ -55190,11 +55229,18 @@ declare module "sap/m/MenuItem" {
55190
55229
  */
55191
55230
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
55192
55231
 
55232
+ /**
55233
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
55234
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
55235
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
55236
+ *
55237
+ * @since 1.127.0
55238
+ */
55239
+ selected?: boolean | PropertyBindingInfo | `{${string}}`;
55240
+
55193
55241
  /**
55194
55242
  * Defines the shortcut text that should be displayed on the menu item on non-mobile devices. **Note:**
55195
- * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute. There is no built-in
55196
- * functionality that selects the item when the corresponding shortcut is pressed. This should be implemented
55197
- * by the application developer.
55243
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
55198
55244
  */
55199
55245
  shortcutText?: string | PropertyBindingInfo;
55200
55246
 
@@ -55207,7 +55253,7 @@ declare module "sap/m/MenuItem" {
55207
55253
  /**
55208
55254
  * Defines the sub-items contained within this element.
55209
55255
  */
55210
- items?: MenuItem[] | MenuItem | AggregationBindingInfo | `{${string}}`;
55256
+ items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
55211
55257
 
55212
55258
  /**
55213
55259
  * Fired after the item has been pressed.
@@ -55290,6 +55336,232 @@ declare module "sap/m/MenuItem" {
55290
55336
  >;
55291
55337
  }
55292
55338
 
55339
+ declare module "sap/m/MenuItemGroup" {
55340
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
55341
+
55342
+ import { IMenuItem } from "sap/m/library";
55343
+
55344
+ import { ItemSelectionMode } from "sap/ui/core/library";
55345
+
55346
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
55347
+
55348
+ import {
55349
+ PropertyBindingInfo,
55350
+ AggregationBindingInfo,
55351
+ } from "sap/ui/base/ManagedObject";
55352
+
55353
+ /**
55354
+ * Group item to be used inside a menu. Represents a collection of menu items that can have the same selection
55355
+ * mode (e.g. {@link sap.ui.core.ItemSelectionMode.None}, {@link sap.ui.core.ItemSelectionMode.SingleSelect},
55356
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}).
55357
+ *
55358
+ * @since 1.127.0
55359
+ */
55360
+ export default class MenuItemGroup extends UI5Element implements IMenuItem {
55361
+ __implements__sap_m_IMenuItem: boolean;
55362
+ /**
55363
+ * Constructor for a new MenuItemGroup element.
55364
+ *
55365
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
55366
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
55367
+ * of the syntax of the settings object.
55368
+ */
55369
+ constructor(
55370
+ /**
55371
+ * Initial settings for the new control
55372
+ */
55373
+ mSettings?: $MenuItemGroupSettings
55374
+ );
55375
+ /**
55376
+ * Constructor for a new MenuItemGroup element.
55377
+ *
55378
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
55379
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
55380
+ * of the syntax of the settings object.
55381
+ */
55382
+ constructor(
55383
+ /**
55384
+ * ID for the new control, generated automatically if no ID is given
55385
+ */
55386
+ sId?: string,
55387
+ /**
55388
+ * Initial settings for the new control
55389
+ */
55390
+ mSettings?: $MenuItemGroupSettings
55391
+ );
55392
+
55393
+ /**
55394
+ * Creates a new subclass of class sap.m.MenuItemGroup with name `sClassName` and enriches it with the information
55395
+ * contained in `oClassInfo`.
55396
+ *
55397
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
55398
+ *
55399
+ *
55400
+ * @returns Created class / constructor function
55401
+ */
55402
+ static extend<T extends Record<string, unknown>>(
55403
+ /**
55404
+ * Name of the class being created
55405
+ */
55406
+ sClassName: string,
55407
+ /**
55408
+ * Object literal with information about the class
55409
+ */
55410
+ oClassInfo?: sap.ClassInfo<T, MenuItemGroup>,
55411
+ /**
55412
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
55413
+ * used by this class
55414
+ */
55415
+ FNMetaImpl?: Function
55416
+ ): Function;
55417
+ /**
55418
+ * Returns a metadata object for class sap.m.MenuItemGroup.
55419
+ *
55420
+ *
55421
+ * @returns Metadata object describing this class
55422
+ */
55423
+ static getMetadata(): ElementMetadata;
55424
+ /**
55425
+ * Adds an item to `items` aggregation.
55426
+ *
55427
+ *
55428
+ * @returns `this` to allow method chaining
55429
+ */
55430
+ addItem(
55431
+ /**
55432
+ * Menu item to be added
55433
+ */
55434
+ oItem: IMenuItem,
55435
+ /**
55436
+ * Whether to suppress the invalidation of the control
55437
+ */
55438
+ bSuppressInvalidate: boolean
55439
+ ): this;
55440
+ /**
55441
+ * Destroys all items from `items` aggregation.
55442
+ *
55443
+ *
55444
+ * @returns `this` to allow method chaining
55445
+ */
55446
+ destroyItems(
55447
+ /**
55448
+ * Whether to suppress the invalidation of the control
55449
+ */
55450
+ bSuppressInvalidate: boolean
55451
+ ): this;
55452
+ /**
55453
+ * Gets content of aggregation {@link #getItems items}.
55454
+ *
55455
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
55456
+ * supported.
55457
+ */
55458
+ getItems(): IMenuItem[];
55459
+ /**
55460
+ * Gets current value of property {@link #getItemSelectionMode itemSelectionMode}.
55461
+ *
55462
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
55463
+ *
55464
+ * Default value is `None`.
55465
+ *
55466
+ *
55467
+ * @returns Value of property `itemSelectionMode`
55468
+ */
55469
+ getItemSelectionMode(): ItemSelectionMode;
55470
+ /**
55471
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
55472
+ * index if found or -1 otherwise.
55473
+ *
55474
+ *
55475
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
55476
+ */
55477
+ indexOfItem(
55478
+ /**
55479
+ * The item whose index is looked for
55480
+ */
55481
+ oItem: IMenuItem
55482
+ ): int;
55483
+ /**
55484
+ * Inserts an item to the specified position in `items` aggregation.
55485
+ *
55486
+ *
55487
+ * @returns `this` to allow method chaining
55488
+ */
55489
+ insertItem(
55490
+ /**
55491
+ * Menu item to be added
55492
+ */
55493
+ oItem: IMenuItem,
55494
+ /**
55495
+ * Index at which the item should be inserted
55496
+ */
55497
+ iIndex: int,
55498
+ /**
55499
+ * Whether to suppress the invalidation of the control
55500
+ */
55501
+ bSuppressInvalidate: boolean
55502
+ ): this;
55503
+ /**
55504
+ * Removes all items from `items` aggregation.
55505
+ *
55506
+ *
55507
+ * @returns array containing the removed items, or `null` if there are no items to remove
55508
+ */
55509
+ removeAllItems(
55510
+ /**
55511
+ * Whether to suppress the invalidation of the control
55512
+ */
55513
+ bSuppressInvalidate: boolean
55514
+ ): any[] | null;
55515
+ /**
55516
+ * Removes an item from `items` aggregation.
55517
+ *
55518
+ *
55519
+ * @returns the removed object, or `null` if there are no items to remove
55520
+ */
55521
+ removeItem(
55522
+ /**
55523
+ * Menu item to be removed (as index, ID or object)
55524
+ */
55525
+ vItem: int | string | IMenuItem,
55526
+ /**
55527
+ * Whether to suppress the invalidation of the control
55528
+ */
55529
+ bSuppressInvalidate: boolean
55530
+ ): IMenuItem | null;
55531
+ /**
55532
+ * Override of the default setter that also ensures single selection if necessary.
55533
+ *
55534
+ *
55535
+ * @returns `this` to allow method chaining
55536
+ */
55537
+ setItemSelectionMode(
55538
+ /**
55539
+ * item selection mode to be set
55540
+ */
55541
+ sSelectionMode: string,
55542
+ /**
55543
+ * Whether to suppress the invalidation of the control
55544
+ */
55545
+ bSuppressInvalidate: boolean
55546
+ ): this;
55547
+ }
55548
+ /**
55549
+ * Describes the settings that can be provided to the MenuItemGroup constructor.
55550
+ */
55551
+ export interface $MenuItemGroupSettings extends $ElementSettings {
55552
+ /**
55553
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
55554
+ */
55555
+ itemSelectionMode?: ItemSelectionMode | PropertyBindingInfo | `{${string}}`;
55556
+
55557
+ /**
55558
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
55559
+ * supported.
55560
+ */
55561
+ items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
55562
+ }
55563
+ }
55564
+
55293
55565
  declare module "sap/m/MessageBox" {
55294
55566
  import { TextDirection, CSSSize } from "sap/ui/core/library";
55295
55567
 
@@ -157854,7 +158126,7 @@ declare module "sap/m/upload/UploadSet" {
157854
158126
  * Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
157855
158127
  * supported by Internet Explorer 9.
157856
158128
  */
157857
- readyState?: string;
158129
+ readyState?: int;
157858
158130
 
157859
158131
  /**
157860
158132
  * Status of the XHR request.
@@ -157862,7 +158134,7 @@ declare module "sap/m/upload/UploadSet" {
157862
158134
  * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
157863
158135
  * by Internet Explorer 9.
157864
158136
  */
157865
- status?: string;
158137
+ status?: int;
157866
158138
 
157867
158139
  /**
157868
158140
  * Http-Response which comes from the server.
@@ -171051,6 +171323,8 @@ declare namespace sap {
171051
171323
 
171052
171324
  "sap/m/MenuItem": undefined;
171053
171325
 
171326
+ "sap/m/MenuItemGroup": undefined;
171327
+
171054
171328
  "sap/m/MessageBox": undefined;
171055
171329
 
171056
171330
  "sap/m/MessageItem": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.1
1
+ // For Library Version: 1.127.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**