@openui5/ts-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/ts-types",
3
- "version": "1.126.1",
3
+ "version": "1.127.1",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
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 namespace sap {
4
4
  /**
@@ -8099,9 +8099,6 @@ declare namespace sap {
8099
8099
 
8100
8100
  /**
8101
8101
  * Describes the settings that can be provided to the AvatarGroupItem constructor.
8102
- *
8103
- * @experimental (since 1.73) - This class is experimental and provides only limited functionality. Also
8104
- * the API might be changed in future.
8105
8102
  */
8106
8103
  interface $AvatarGroupItemSettings extends sap.ui.core.$ControlSettings {
8107
8104
  /**
@@ -9248,9 +9245,6 @@ declare namespace sap {
9248
9245
 
9249
9246
  /**
9250
9247
  * Describes the settings that can be provided to the ProductSwitch constructor.
9251
- *
9252
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
9253
- * the API might be changed in future.
9254
9248
  */
9255
9249
  interface $ProductSwitchSettings extends sap.ui.core.$ControlSettings {
9256
9250
  /**
@@ -9275,9 +9269,6 @@ declare namespace sap {
9275
9269
 
9276
9270
  /**
9277
9271
  * Describes the settings that can be provided to the ProductSwitchItem constructor.
9278
- *
9279
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
9280
- * the API might be changed in future.
9281
9272
  */
9282
9273
  interface $ProductSwitchItemSettings extends sap.ui.core.$ControlSettings {
9283
9274
  /**
@@ -10856,8 +10847,6 @@ declare namespace sap {
10856
10847
  * rendering each `AvatarGroupItem` instance in the {@link sap.f.AvatarGroup} control.
10857
10848
  *
10858
10849
  * @since 1.73
10859
- * @experimental (since 1.73) - This class is experimental and provides only limited functionality. Also
10860
- * the API might be changed in future.
10861
10850
  */
10862
10851
  class AvatarGroupItem extends sap.ui.core.Control {
10863
10852
  /**
@@ -17895,8 +17884,6 @@ declare namespace sap {
17895
17884
  * A layout control that provides specific configuration about how the items should be displayed.
17896
17885
  *
17897
17886
  * @since 1.72
17898
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
17899
- * the API might be changed in future.
17900
17887
  */
17901
17888
  class ProductSwitch extends sap.ui.core.Control {
17902
17889
  /**
@@ -18142,8 +18129,6 @@ declare namespace sap {
18142
18129
  * **Note:** `ProductSwitchItem` is not supported when used outside of `ProductSwitch`.
18143
18130
  *
18144
18131
  * @since 1.72
18145
- * @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
18146
- * the API might be changed in future.
18147
18132
  */
18148
18133
  class ProductSwitchItem extends sap.ui.core.Control {
18149
18134
  /**
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 namespace sap {
4
4
  /**
@@ -18962,7 +18962,7 @@ declare namespace sap {
18962
18962
  * Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
18963
18963
  * supported by Internet Explorer 9.
18964
18964
  */
18965
- readyState?: string;
18965
+ readyState?: int;
18966
18966
 
18967
18967
  /**
18968
18968
  * Status of the XHR request.
@@ -18970,7 +18970,7 @@ declare namespace sap {
18970
18970
  * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
18971
18971
  * by Internet Explorer 9.
18972
18972
  */
18973
- status?: string;
18973
+ status?: int;
18974
18974
 
18975
18975
  /**
18976
18976
  * Http-Response which comes from the server.
@@ -27576,6 +27576,15 @@ declare namespace sap {
27576
27576
  __implements__sap_m_IconTab: boolean;
27577
27577
  }
27578
27578
 
27579
+ /**
27580
+ * Interface for controls which are suitable to be added as items of sap.m.Menu.
27581
+ *
27582
+ * @since 1.127.0
27583
+ */
27584
+ interface IMenuItem {
27585
+ __implements__sap_m_IMenuItem: boolean;
27586
+ }
27587
+
27579
27588
  /**
27580
27589
  * Interface for controls which can have special behavior inside `sap.m.OverflowToolbar`. Controls that
27581
27590
  * implement this interface must provide a `getOverflowToolbarConfig` method that accepts no arguments and
@@ -28355,7 +28364,6 @@ declare namespace sap {
28355
28364
  * Determines the text of current/last element in the Breadcrumbs path.
28356
28365
  *
28357
28366
  * @since 1.34
28358
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
28359
28367
  */
28360
28368
  currentLocationText?:
28361
28369
  | string
@@ -34860,8 +34868,8 @@ declare namespace sap {
34860
34868
  * Defines the items contained within this control.
34861
34869
  */
34862
34870
  items?:
34863
- | sap.m.MenuItem[]
34864
- | sap.m.MenuItem
34871
+ | sap.m.IMenuItem[]
34872
+ | sap.m.IMenuItem
34865
34873
  | sap.ui.base.ManagedObject.AggregationBindingInfo
34866
34874
  | `{${string}}`;
34867
34875
 
@@ -35036,11 +35044,21 @@ declare namespace sap {
35036
35044
  | sap.ui.base.ManagedObject.PropertyBindingInfo
35037
35045
  | `{${string}}`;
35038
35046
 
35047
+ /**
35048
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
35049
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
35050
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
35051
+ *
35052
+ * @since 1.127.0
35053
+ */
35054
+ selected?:
35055
+ | boolean
35056
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
35057
+ | `{${string}}`;
35058
+
35039
35059
  /**
35040
35060
  * Defines the shortcut text that should be displayed on the menu item on non-mobile devices. **Note:**
35041
- * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute. There is no built-in
35042
- * functionality that selects the item when the corresponding shortcut is pressed. This should be implemented
35043
- * by the application developer.
35061
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
35044
35062
  */
35045
35063
  shortcutText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
35046
35064
 
@@ -35057,8 +35075,8 @@ declare namespace sap {
35057
35075
  * Defines the sub-items contained within this element.
35058
35076
  */
35059
35077
  items?:
35060
- | sap.m.MenuItem[]
35061
- | sap.m.MenuItem
35078
+ | sap.m.IMenuItem[]
35079
+ | sap.m.IMenuItem
35062
35080
  | sap.ui.base.ManagedObject.AggregationBindingInfo
35063
35081
  | `{${string}}`;
35064
35082
 
@@ -35078,6 +35096,29 @@ declare namespace sap {
35078
35096
  aggregationChanged?: (oEvent: MenuItem$AggregationChangedEvent) => void;
35079
35097
  }
35080
35098
 
35099
+ /**
35100
+ * Describes the settings that can be provided to the MenuItemGroup constructor.
35101
+ */
35102
+ interface $MenuItemGroupSettings extends sap.ui.core.$ElementSettings {
35103
+ /**
35104
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
35105
+ */
35106
+ itemSelectionMode?:
35107
+ | sap.ui.core.ItemSelectionMode
35108
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
35109
+ | `{${string}}`;
35110
+
35111
+ /**
35112
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
35113
+ * supported.
35114
+ */
35115
+ items?:
35116
+ | sap.m.IMenuItem[]
35117
+ | sap.m.IMenuItem
35118
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
35119
+ | `{${string}}`;
35120
+ }
35121
+
35081
35122
  /**
35082
35123
  * Describes the settings that can be provided to the MessageItem constructor.
35083
35124
  */
@@ -47546,6 +47587,11 @@ declare namespace sap {
47546
47587
  * been pressed.
47547
47588
  */
47548
47589
  fromSuggestions?: boolean;
47590
+
47591
+ /**
47592
+ * The event parameter is set to true, when the event is fired after keyboard interaction, otherwise false.
47593
+ */
47594
+ fromKeyboard?: boolean;
47549
47595
  }
47550
47596
 
47551
47597
  /**
@@ -57027,7 +57073,6 @@ declare namespace sap {
57027
57073
  * Determines the text of current/last element in the Breadcrumbs path.
57028
57074
  *
57029
57075
  * @since 1.34
57030
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
57031
57076
  *
57032
57077
  * @returns Value of property `currentLocationText`
57033
57078
  */
@@ -57152,7 +57197,6 @@ declare namespace sap {
57152
57197
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
57153
57198
  *
57154
57199
  * @since 1.34
57155
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
57156
57200
  *
57157
57201
  * @returns Reference to `this` in order to allow method chaining
57158
57202
  */
@@ -91629,7 +91673,7 @@ declare namespace sap {
91629
91673
  /**
91630
91674
  * The item to add; if empty, nothing is inserted
91631
91675
  */
91632
- oItem: sap.m.MenuItem
91676
+ oItem: sap.m.IMenuItem
91633
91677
  ): this;
91634
91678
  /**
91635
91679
  * Attaches event handler `fnFunction` to the {@link #event:closed closed} event of this `sap.m.Menu`.
@@ -91818,7 +91862,17 @@ declare namespace sap {
91818
91862
  *
91819
91863
  * Defines the items contained within this control.
91820
91864
  */
91821
- getItems(): sap.m.MenuItem[];
91865
+ getItems(): sap.m.IMenuItem[];
91866
+ /**
91867
+ * Returns an array containing the selected menu items. **Note:** Only items with `selected` property set
91868
+ * that are members of `MenuItemGroup` with `ItemSelectionMode` property set to {@link sap.ui.core.ItemSelectionMode.SingleSelect }
91869
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}> are taken into account.
91870
+ *
91871
+ * @since 1.127.0
91872
+ *
91873
+ * @returns Array of all selected items
91874
+ */
91875
+ getSelectedItems(): any[];
91822
91876
  /**
91823
91877
  * Gets current value of property {@link #getTitle title}.
91824
91878
  *
@@ -91829,7 +91883,7 @@ declare namespace sap {
91829
91883
  */
91830
91884
  getTitle(): string;
91831
91885
  /**
91832
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
91886
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
91833
91887
  * index if found or -1 otherwise.
91834
91888
  *
91835
91889
  *
@@ -91839,7 +91893,7 @@ declare namespace sap {
91839
91893
  /**
91840
91894
  * The item whose index is looked for
91841
91895
  */
91842
- oItem: sap.m.MenuItem
91896
+ oItem: sap.m.IMenuItem
91843
91897
  ): int;
91844
91898
  /**
91845
91899
  * Initializes the control.
@@ -91855,7 +91909,7 @@ declare namespace sap {
91855
91909
  /**
91856
91910
  * The item to insert; if empty, nothing is inserted
91857
91911
  */
91858
- oItem: sap.m.MenuItem,
91912
+ oItem: sap.m.IMenuItem,
91859
91913
  /**
91860
91914
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
91861
91915
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -91919,7 +91973,7 @@ declare namespace sap {
91919
91973
  *
91920
91974
  * @returns An array of the removed elements (might be empty)
91921
91975
  */
91922
- removeAllItems(): sap.m.MenuItem[];
91976
+ removeAllItems(): sap.m.IMenuItem[];
91923
91977
  /**
91924
91978
  * Removes a item from the aggregation {@link #getItems items}.
91925
91979
  *
@@ -91930,8 +91984,8 @@ declare namespace sap {
91930
91984
  /**
91931
91985
  * The item to remove or its index or id
91932
91986
  */
91933
- vItem: int | string | sap.m.MenuItem
91934
- ): sap.m.MenuItem | null;
91987
+ vItem: int | string | sap.m.IMenuItem
91988
+ ): sap.m.IMenuItem | null;
91935
91989
  /**
91936
91990
  * Sets the title of the `Menu`.
91937
91991
  *
@@ -92662,7 +92716,8 @@ declare namespace sap {
92662
92716
  *
92663
92717
  * @since 1.38
92664
92718
  */
92665
- class MenuItem extends sap.ui.core.Item {
92719
+ class MenuItem extends sap.ui.core.Item implements sap.m.IMenuItem {
92720
+ __implements__sap_m_IMenuItem: boolean;
92666
92721
  /**
92667
92722
  * Constructor for a new `MenuItem`.
92668
92723
  *
@@ -92735,7 +92790,7 @@ declare namespace sap {
92735
92790
  /**
92736
92791
  * The item to add; if empty, nothing is inserted
92737
92792
  */
92738
- oItem: sap.m.MenuItem
92793
+ oItem: sap.m.IMenuItem
92739
92794
  ): this;
92740
92795
  /**
92741
92796
  * Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
@@ -93013,14 +93068,26 @@ declare namespace sap {
93013
93068
  *
93014
93069
  * Defines the sub-items contained within this element.
93015
93070
  */
93016
- getItems(): sap.m.MenuItem[];
93071
+ getItems(): sap.m.IMenuItem[];
93072
+ /**
93073
+ * Gets current value of property {@link #getSelected selected}.
93074
+ *
93075
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
93076
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
93077
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
93078
+ *
93079
+ * Default value is `false`.
93080
+ *
93081
+ * @since 1.127.0
93082
+ *
93083
+ * @returns Value of property `selected`
93084
+ */
93085
+ getSelected(): boolean;
93017
93086
  /**
93018
93087
  * Gets current value of property {@link #getShortcutText shortcutText}.
93019
93088
  *
93020
93089
  * Defines the shortcut text that should be displayed on the menu item on non-mobile devices. **Note:**
93021
- * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute. There is no built-in
93022
- * functionality that selects the item when the corresponding shortcut is pressed. This should be implemented
93023
- * by the application developer.
93090
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
93024
93091
  *
93025
93092
  * Default value is `empty string`.
93026
93093
  *
@@ -93053,7 +93120,7 @@ declare namespace sap {
93053
93120
  */
93054
93121
  getVisible(): boolean;
93055
93122
  /**
93056
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
93123
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
93057
93124
  * index if found or -1 otherwise.
93058
93125
  *
93059
93126
  *
@@ -93063,7 +93130,7 @@ declare namespace sap {
93063
93130
  /**
93064
93131
  * The item whose index is looked for
93065
93132
  */
93066
- oItem: sap.m.MenuItem
93133
+ oItem: sap.m.IMenuItem
93067
93134
  ): int;
93068
93135
  /**
93069
93136
  * Inserts a item into the aggregation {@link #getItems items}.
@@ -93075,7 +93142,7 @@ declare namespace sap {
93075
93142
  /**
93076
93143
  * The item to insert; if empty, nothing is inserted
93077
93144
  */
93078
- oItem: sap.m.MenuItem,
93145
+ oItem: sap.m.IMenuItem,
93079
93146
  /**
93080
93147
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
93081
93148
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -93091,7 +93158,7 @@ declare namespace sap {
93091
93158
  *
93092
93159
  * @returns An array of the removed elements (might be empty)
93093
93160
  */
93094
- removeAllItems(): sap.m.MenuItem[];
93161
+ removeAllItems(): sap.m.IMenuItem[];
93095
93162
  /**
93096
93163
  * Removes a item from the aggregation {@link #getItems items}.
93097
93164
  *
@@ -93102,8 +93169,8 @@ declare namespace sap {
93102
93169
  /**
93103
93170
  * The item to remove or its index or id
93104
93171
  */
93105
- vItem: int | string | sap.m.MenuItem
93106
- ): sap.m.MenuItem | null;
93172
+ vItem: int | string | sap.m.IMenuItem
93173
+ ): sap.m.IMenuItem | null;
93107
93174
  /**
93108
93175
  * Sets a new value for property {@link #getIcon icon}.
93109
93176
  *
@@ -93124,9 +93191,7 @@ declare namespace sap {
93124
93191
  * Sets a new value for property {@link #getShortcutText shortcutText}.
93125
93192
  *
93126
93193
  * Defines the shortcut text that should be displayed on the menu item on non-mobile devices. **Note:**
93127
- * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute. There is no built-in
93128
- * functionality that selects the item when the corresponding shortcut is pressed. This should be implemented
93129
- * by the application developer.
93194
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
93130
93195
  *
93131
93196
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
93132
93197
  *
@@ -93187,6 +93252,201 @@ declare namespace sap {
93187
93252
  */
93188
93253
  unbindItems(): this;
93189
93254
  }
93255
+ /**
93256
+ * Group item to be used inside a menu. Represents a collection of menu items that can have the same selection
93257
+ * mode (e.g. {@link sap.ui.core.ItemSelectionMode.None}, {@link sap.ui.core.ItemSelectionMode.SingleSelect},
93258
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}).
93259
+ *
93260
+ * @since 1.127.0
93261
+ */
93262
+ class MenuItemGroup extends sap.ui.core.Element implements sap.m.IMenuItem {
93263
+ __implements__sap_m_IMenuItem: boolean;
93264
+ /**
93265
+ * Constructor for a new MenuItemGroup element.
93266
+ *
93267
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
93268
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
93269
+ * of the syntax of the settings object.
93270
+ */
93271
+ constructor(
93272
+ /**
93273
+ * Initial settings for the new control
93274
+ */
93275
+ mSettings?: sap.m.$MenuItemGroupSettings
93276
+ );
93277
+ /**
93278
+ * Constructor for a new MenuItemGroup element.
93279
+ *
93280
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
93281
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
93282
+ * of the syntax of the settings object.
93283
+ */
93284
+ constructor(
93285
+ /**
93286
+ * ID for the new control, generated automatically if no ID is given
93287
+ */
93288
+ sId?: string,
93289
+ /**
93290
+ * Initial settings for the new control
93291
+ */
93292
+ mSettings?: sap.m.$MenuItemGroupSettings
93293
+ );
93294
+
93295
+ /**
93296
+ * Creates a new subclass of class sap.m.MenuItemGroup with name `sClassName` and enriches it with the information
93297
+ * contained in `oClassInfo`.
93298
+ *
93299
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
93300
+ *
93301
+ *
93302
+ * @returns Created class / constructor function
93303
+ */
93304
+ static extend<T extends Record<string, unknown>>(
93305
+ /**
93306
+ * Name of the class being created
93307
+ */
93308
+ sClassName: string,
93309
+ /**
93310
+ * Object literal with information about the class
93311
+ */
93312
+ oClassInfo?: sap.ClassInfo<T, sap.m.MenuItemGroup>,
93313
+ /**
93314
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
93315
+ * used by this class
93316
+ */
93317
+ FNMetaImpl?: Function
93318
+ ): Function;
93319
+ /**
93320
+ * Returns a metadata object for class sap.m.MenuItemGroup.
93321
+ *
93322
+ *
93323
+ * @returns Metadata object describing this class
93324
+ */
93325
+ static getMetadata(): sap.ui.core.ElementMetadata;
93326
+ /**
93327
+ * Adds an item to `items` aggregation.
93328
+ *
93329
+ *
93330
+ * @returns `this` to allow method chaining
93331
+ */
93332
+ addItem(
93333
+ /**
93334
+ * Menu item to be added
93335
+ */
93336
+ oItem: sap.m.IMenuItem,
93337
+ /**
93338
+ * Whether to suppress the invalidation of the control
93339
+ */
93340
+ bSuppressInvalidate: boolean
93341
+ ): this;
93342
+ /**
93343
+ * Destroys all items from `items` aggregation.
93344
+ *
93345
+ *
93346
+ * @returns `this` to allow method chaining
93347
+ */
93348
+ destroyItems(
93349
+ /**
93350
+ * Whether to suppress the invalidation of the control
93351
+ */
93352
+ bSuppressInvalidate: boolean
93353
+ ): this;
93354
+ /**
93355
+ * Gets content of aggregation {@link #getItems items}.
93356
+ *
93357
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
93358
+ * supported.
93359
+ */
93360
+ getItems(): sap.m.IMenuItem[];
93361
+ /**
93362
+ * Gets current value of property {@link #getItemSelectionMode itemSelectionMode}.
93363
+ *
93364
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
93365
+ *
93366
+ * Default value is `None`.
93367
+ *
93368
+ *
93369
+ * @returns Value of property `itemSelectionMode`
93370
+ */
93371
+ getItemSelectionMode(): sap.ui.core.ItemSelectionMode;
93372
+ /**
93373
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
93374
+ * index if found or -1 otherwise.
93375
+ *
93376
+ *
93377
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
93378
+ */
93379
+ indexOfItem(
93380
+ /**
93381
+ * The item whose index is looked for
93382
+ */
93383
+ oItem: sap.m.IMenuItem
93384
+ ): int;
93385
+ /**
93386
+ * Inserts an item to the specified position in `items` aggregation.
93387
+ *
93388
+ *
93389
+ * @returns `this` to allow method chaining
93390
+ */
93391
+ insertItem(
93392
+ /**
93393
+ * Menu item to be added
93394
+ */
93395
+ oItem: sap.m.IMenuItem,
93396
+ /**
93397
+ * Index at which the item should be inserted
93398
+ */
93399
+ iIndex: int,
93400
+ /**
93401
+ * Whether to suppress the invalidation of the control
93402
+ */
93403
+ bSuppressInvalidate: boolean
93404
+ ): this;
93405
+ /**
93406
+ * Removes all items from `items` aggregation.
93407
+ *
93408
+ *
93409
+ * @returns array containing the removed items, or `null` if there are no items to remove
93410
+ */
93411
+ removeAllItems(
93412
+ /**
93413
+ * Whether to suppress the invalidation of the control
93414
+ */
93415
+ bSuppressInvalidate: boolean
93416
+ ): any[] | null;
93417
+ /**
93418
+ * Removes an item from `items` aggregation.
93419
+ *
93420
+ *
93421
+ * @returns the removed object, or `null` if there are no items to remove
93422
+ */
93423
+ removeItem(
93424
+ /**
93425
+ * Menu item to be removed (as index, ID or object)
93426
+ */
93427
+ vItem: int | string | sap.m.IMenuItem,
93428
+ /**
93429
+ * Whether to suppress the invalidation of the control
93430
+ */
93431
+ bSuppressInvalidate: boolean
93432
+ ): sap.m.IMenuItem | null;
93433
+ /**
93434
+ * Override of the default setter that also ensures single selection if necessary.
93435
+ *
93436
+ *
93437
+ * @returns `this` to allow method chaining
93438
+ */
93439
+ setItemSelectionMode(
93440
+ /**
93441
+ * item selection mode to be set
93442
+ */
93443
+ sSelectionMode: string,
93444
+ /**
93445
+ * Whether to suppress the invalidation of the control
93446
+ */
93447
+ bSuppressInvalidate: boolean
93448
+ ): this;
93449
+ }
93190
93450
  /**
93191
93451
  * A wrapper control used to hold different types of system messages. Structure: The message item holds
93192
93452
  * the basic set of properties for a system message:
@@ -166361,9 +166621,12 @@ declare namespace sap {
166361
166621
  */
166362
166622
  type OverflowToolbarConfig = {
166363
166623
  /**
166364
- * A boolean that tells whether the control can move to the overflow menu or not. **Note:** Even if `canOverflow`
166365
- * is set to `false`, the `propsUnrelatedToSize` field is taken into account, allowing to optimize the behavior
166366
- * of controls that do not need to overflow, but are used in an `sap.m.OverflowToolbar` regardless.
166624
+ * A boolean that tells whether the control can move to the overflow menu or not. **Notes:**
166625
+ * - Even if `canOverflow` is set to `false`, the `propsUnrelatedToSize` field is taken into account,
166626
+ * allowing to optimize the behavior of controls that do not need to overflow, but are used in an `sap.m.OverflowToolbar`
166627
+ * regardless.
166628
+ * - If `canOverflow` is not provided, its default value is `false`. In this case, the control is shown
166629
+ * in the content of the `sap.m.OverflowToolbar` but it's not possible to enter the overflow area.
166367
166630
  */
166368
166631
  canOverflow?: boolean;
166369
166632
  /**
@@ -169088,6 +169351,8 @@ declare namespace sap {
169088
169351
 
169089
169352
  "sap/m/MenuItem": undefined;
169090
169353
 
169354
+ "sap/m/MenuItemGroup": undefined;
169355
+
169091
169356
  "sap/m/MessageBox": undefined;
169092
169357
 
169093
169358
  "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 namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.1
1
+ // For Library Version: 1.127.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -90,11 +90,14 @@ declare namespace sap {
90
90
  | `{${string}}`;
91
91
 
92
92
  /**
93
- * Sets the editor color theme. Possible values are: default, hcb, hcb_bright, hcb_blue, theme-ambiance,
94
- * chaos, chrome, clouds, clouds_midnight, cobalt, crimson_editor, dawn, dreamweaver, eclipse, github, gob,
95
- * gruvbox, idle_fingers, iplastic, katzenmilch, kr_theme, kuroir, merbivore, merbivore_soft, mono_industrial,
96
- * monokai, pastel_on_dark, solarized_dark, solarized_light, sqlserver, terminal, textmate, tomorrow, tomorrow_night,
97
- * tomorrow_night_blue, tomorrow_night_bright, tomorrow_night_eighties, twilight, dracula vibrant_ink, xcode
93
+ * Sets the editor color theme. Possible values are:
94
+ * - default: best fitting to the current UI5 theme
95
+ * - any light theme from the list: chrome, clouds, crimson_editor, dawn, dreamweaver, eclipse, github,
96
+ * iplastic, solarized_light, textmate, tomorrow, xcode, kuroir, katzenmilch, sqlserver
97
+ * - any dark theme from the list: hcb, hcb_bright, hcb_blue, ambiance, chaos, clouds_midnight, dracula,
98
+ * cobalt, gruvbox, gob, idle_fingers, kr_theme, merbivore, merbivore_soft, mono_industrial, monokai, nord_dark,
99
+ * one_dark, pastel_on_dark, solarized_dark, terminal, tomorrow_night, tomorrow_night_blue, tomorrow_night_bright,
100
+ * tomorrow_night_eighties, twilight, vibrant_ink, github_dark
98
101
  */
99
102
  colorTheme?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
100
103
 
@@ -402,11 +405,14 @@ declare namespace sap {
402
405
  /**
403
406
  * Gets current value of property {@link #getColorTheme colorTheme}.
404
407
  *
405
- * Sets the editor color theme. Possible values are: default, hcb, hcb_bright, hcb_blue, theme-ambiance,
406
- * chaos, chrome, clouds, clouds_midnight, cobalt, crimson_editor, dawn, dreamweaver, eclipse, github, gob,
407
- * gruvbox, idle_fingers, iplastic, katzenmilch, kr_theme, kuroir, merbivore, merbivore_soft, mono_industrial,
408
- * monokai, pastel_on_dark, solarized_dark, solarized_light, sqlserver, terminal, textmate, tomorrow, tomorrow_night,
409
- * tomorrow_night_blue, tomorrow_night_bright, tomorrow_night_eighties, twilight, dracula vibrant_ink, xcode
408
+ * Sets the editor color theme. Possible values are:
409
+ * - default: best fitting to the current UI5 theme
410
+ * - any light theme from the list: chrome, clouds, crimson_editor, dawn, dreamweaver, eclipse, github,
411
+ * iplastic, solarized_light, textmate, tomorrow, xcode, kuroir, katzenmilch, sqlserver
412
+ * - any dark theme from the list: hcb, hcb_bright, hcb_blue, ambiance, chaos, clouds_midnight, dracula,
413
+ * cobalt, gruvbox, gob, idle_fingers, kr_theme, merbivore, merbivore_soft, mono_industrial, monokai, nord_dark,
414
+ * one_dark, pastel_on_dark, solarized_dark, terminal, tomorrow_night, tomorrow_night_blue, tomorrow_night_bright,
415
+ * tomorrow_night_eighties, twilight, vibrant_ink, github_dark
410
416
  *
411
417
  * Default value is `"default"`.
412
418
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.1
1
+ // For Library Version: 1.127.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {