@openui5/types 1.126.1 → 1.128.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.126.1
1
+ // For Library Version: 1.128.0
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
 
@@ -41718,14 +41727,8 @@ declare module "sap/m/Input" {
41718
41727
  * - If a `selectedKey` is bound and the user types before the data is loaded, the user's input will
41719
41728
  * be overwritten by the binding update.
41720
41729
  */
41721
- export default class Input
41722
- extends InputBase
41723
- implements
41724
- IAccessKeySupport,
41725
- /* was: sap.m.IToolbarInteractiveControl */ Object
41726
- {
41730
+ export default class Input extends InputBase implements IAccessKeySupport {
41727
41731
  __implements__sap_ui_core_IAccessKeySupport: boolean;
41728
- __implements__sap_m_IToolbarInteractiveControl: boolean;
41729
41732
  /**
41730
41733
  * Constructor for a new `Input`.
41731
41734
  *
@@ -44104,6 +44107,11 @@ declare module "sap/m/Input" {
44104
44107
  * been pressed.
44105
44108
  */
44106
44109
  fromSuggestions?: boolean;
44110
+
44111
+ /**
44112
+ * The event parameter is set to true, when the event is fired after keyboard interaction, otherwise false.
44113
+ */
44114
+ fromKeyboard?: boolean;
44107
44115
  }
44108
44116
 
44109
44117
  /**
@@ -44149,10 +44157,14 @@ declare module "sap/m/InputBase" {
44149
44157
  */
44150
44158
  export default class InputBase
44151
44159
  extends Control
44152
- implements IFormContent, ISemanticFormContent
44160
+ implements
44161
+ IFormContent,
44162
+ ISemanticFormContent,
44163
+ /* was: sap.m.IToolbarInteractiveControl */ Object
44153
44164
  {
44154
44165
  __implements__sap_ui_core_IFormContent: boolean;
44155
44166
  __implements__sap_ui_core_ISemanticFormContent: boolean;
44167
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
44156
44168
  /**
44157
44169
  * Constructor for a new `sap.m.InputBase`.
44158
44170
  *
@@ -47802,6 +47814,21 @@ declare module "sap/m/Link" {
47802
47814
  * @returns Value of property `enabled`
47803
47815
  */
47804
47816
  getEnabled(): boolean;
47817
+ /**
47818
+ * Gets current value of property {@link #getEndIcon endIcon}.
47819
+ *
47820
+ * Defines the icon to be displayed as graphical element in the end of the `Link`. It can be an icon from
47821
+ * the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
47822
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
47823
+ * Using an image instead of icon is not supported.
47824
+ *
47825
+ * Default value is `empty string`.
47826
+ *
47827
+ * @since 1.128.0
47828
+ *
47829
+ * @returns Value of property `endIcon`
47830
+ */
47831
+ getEndIcon(): URI;
47805
47832
  /**
47806
47833
  * Gets current value of property {@link #getHref href}.
47807
47834
  *
@@ -47813,6 +47840,21 @@ declare module "sap/m/Link" {
47813
47840
  * @returns Value of property `href`
47814
47841
  */
47815
47842
  getHref(): URI;
47843
+ /**
47844
+ * Gets current value of property {@link #getIcon icon}.
47845
+ *
47846
+ * Defines the icon to be displayed as graphical element in the beginning of the `Link`. It can be an icon
47847
+ * from the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
47848
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
47849
+ * Using an image instead of icon is not supported.
47850
+ *
47851
+ * Default value is `empty string`.
47852
+ *
47853
+ * @since 1.128.0
47854
+ *
47855
+ * @returns Value of property `icon`
47856
+ */
47857
+ getIcon(): URI;
47816
47858
  /**
47817
47859
  * Gets current value of property {@link #getRel rel}.
47818
47860
  *
@@ -48072,6 +48114,28 @@ declare module "sap/m/Link" {
48072
48114
  */
48073
48115
  bEnabled?: boolean
48074
48116
  ): this;
48117
+ /**
48118
+ * Sets a new value for property {@link #getEndIcon endIcon}.
48119
+ *
48120
+ * Defines the icon to be displayed as graphical element in the end of the `Link`. It can be an icon from
48121
+ * the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
48122
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
48123
+ * Using an image instead of icon is not supported.
48124
+ *
48125
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
48126
+ *
48127
+ * Default value is `empty string`.
48128
+ *
48129
+ * @since 1.128.0
48130
+ *
48131
+ * @returns Reference to `this` in order to allow method chaining
48132
+ */
48133
+ setEndIcon(
48134
+ /**
48135
+ * New value for property `endIcon`
48136
+ */
48137
+ sEndIcon?: URI
48138
+ ): this;
48075
48139
  /**
48076
48140
  * Sets a new value for property {@link #getHref href}.
48077
48141
  *
@@ -48090,6 +48154,28 @@ declare module "sap/m/Link" {
48090
48154
  */
48091
48155
  sHref?: URI
48092
48156
  ): this;
48157
+ /**
48158
+ * Sets a new value for property {@link #getIcon icon}.
48159
+ *
48160
+ * Defines the icon to be displayed as graphical element in the beginning of the `Link`. It can be an icon
48161
+ * from the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
48162
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
48163
+ * Using an image instead of icon is not supported.
48164
+ *
48165
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
48166
+ *
48167
+ * Default value is `empty string`.
48168
+ *
48169
+ * @since 1.128.0
48170
+ *
48171
+ * @returns Reference to `this` in order to allow method chaining
48172
+ */
48173
+ setIcon(
48174
+ /**
48175
+ * New value for property `icon`
48176
+ */
48177
+ sIcon?: URI
48178
+ ): this;
48093
48179
  /**
48094
48180
  * Sets a new value for property {@link #getRel rel}.
48095
48181
  *
@@ -48277,6 +48363,26 @@ declare module "sap/m/Link" {
48277
48363
  */
48278
48364
  text?: string | PropertyBindingInfo;
48279
48365
 
48366
+ /**
48367
+ * Defines the icon to be displayed as graphical element in the beginning of the `Link`. It can be an icon
48368
+ * from the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
48369
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
48370
+ * Using an image instead of icon is not supported.
48371
+ *
48372
+ * @since 1.128.0
48373
+ */
48374
+ icon?: URI | PropertyBindingInfo | `{${string}}`;
48375
+
48376
+ /**
48377
+ * Defines the icon to be displayed as graphical element in the end of the `Link`. It can be an icon from
48378
+ * the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
48379
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
48380
+ * Using an image instead of icon is not supported.
48381
+ *
48382
+ * @since 1.128.0
48383
+ */
48384
+ endIcon?: URI | PropertyBindingInfo | `{${string}}`;
48385
+
48280
48386
  /**
48281
48387
  * Determines whether the link can be triggered by the user.
48282
48388
  */
@@ -50284,7 +50390,8 @@ declare module "sap/m/ListBase" {
50284
50390
  * corresponding binding context when the OData V4 model is used. Therefore, all binding-relevant limitations
50285
50391
  * apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
50286
50392
  * the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
50287
- * API documentation. Do not enable this feature when `$$SharedRequests` is active.
50393
+ * API documentation. Do not enable this feature when `$$SharedRequests` or `$$clearSelectionOnFilter` is
50394
+ * active.
50288
50395
  *
50289
50396
  * Default value is `true`.
50290
50397
  *
@@ -50959,7 +51066,8 @@ declare module "sap/m/ListBase" {
50959
51066
  * corresponding binding context when the OData V4 model is used. Therefore, all binding-relevant limitations
50960
51067
  * apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
50961
51068
  * the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
50962
- * API documentation. Do not enable this feature when `$$SharedRequests` is active.
51069
+ * API documentation. Do not enable this feature when `$$SharedRequests` or `$$clearSelectionOnFilter` is
51070
+ * active.
50963
51071
  *
50964
51072
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
50965
51073
  *
@@ -51334,7 +51442,8 @@ declare module "sap/m/ListBase" {
51334
51442
  * corresponding binding context when the OData V4 model is used. Therefore, all binding-relevant limitations
51335
51443
  * apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
51336
51444
  * the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
51337
- * API documentation. Do not enable this feature when `$$SharedRequests` is active.
51445
+ * API documentation. Do not enable this feature when `$$SharedRequests` or `$$clearSelectionOnFilter` is
51446
+ * active.
51338
51447
  *
51339
51448
  * @since 1.16.6
51340
51449
  */
@@ -53288,7 +53397,7 @@ declare module "sap/m/Menu" {
53288
53397
 
53289
53398
  import { IContextMenu, Dock } from "sap/ui/core/library";
53290
53399
 
53291
- import MenuItem from "sap/m/MenuItem";
53400
+ import { IMenuItem } from "sap/m/library";
53292
53401
 
53293
53402
  import Event from "sap/ui/base/Event";
53294
53403
 
@@ -53301,6 +53410,8 @@ declare module "sap/m/Menu" {
53301
53410
 
53302
53411
  import UI5Element from "sap/ui/core/Element";
53303
53412
 
53413
+ import MenuItem from "sap/m/MenuItem";
53414
+
53304
53415
  /**
53305
53416
  * The `sap.m.Menu` control represents a hierarchical menu. When opened on mobile devices it occupies the
53306
53417
  * whole screen.
@@ -53384,7 +53495,7 @@ declare module "sap/m/Menu" {
53384
53495
  /**
53385
53496
  * The item to add; if empty, nothing is inserted
53386
53497
  */
53387
- oItem: MenuItem
53498
+ oItem: IMenuItem
53388
53499
  ): this;
53389
53500
  /**
53390
53501
  * Attaches event handler `fnFunction` to the {@link #event:closed closed} event of this `sap.m.Menu`.
@@ -53573,7 +53684,17 @@ declare module "sap/m/Menu" {
53573
53684
  *
53574
53685
  * Defines the items contained within this control.
53575
53686
  */
53576
- getItems(): MenuItem[];
53687
+ getItems(): IMenuItem[];
53688
+ /**
53689
+ * Returns an array containing the selected menu items. **Note:** Only items with `selected` property set
53690
+ * that are members of `MenuItemGroup` with `ItemSelectionMode` property set to {@link sap.ui.core.ItemSelectionMode.SingleSelect }
53691
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}> are taken into account.
53692
+ *
53693
+ * @since 1.127.0
53694
+ *
53695
+ * @returns Array of all selected items
53696
+ */
53697
+ getSelectedItems(): any[];
53577
53698
  /**
53578
53699
  * Gets current value of property {@link #getTitle title}.
53579
53700
  *
@@ -53584,7 +53705,7 @@ declare module "sap/m/Menu" {
53584
53705
  */
53585
53706
  getTitle(): string;
53586
53707
  /**
53587
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
53708
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
53588
53709
  * index if found or -1 otherwise.
53589
53710
  *
53590
53711
  *
@@ -53594,7 +53715,7 @@ declare module "sap/m/Menu" {
53594
53715
  /**
53595
53716
  * The item whose index is looked for
53596
53717
  */
53597
- oItem: MenuItem
53718
+ oItem: IMenuItem
53598
53719
  ): int;
53599
53720
  /**
53600
53721
  * Initializes the control.
@@ -53610,7 +53731,7 @@ declare module "sap/m/Menu" {
53610
53731
  /**
53611
53732
  * The item to insert; if empty, nothing is inserted
53612
53733
  */
53613
- oItem: MenuItem,
53734
+ oItem: IMenuItem,
53614
53735
  /**
53615
53736
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
53616
53737
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -53674,7 +53795,7 @@ declare module "sap/m/Menu" {
53674
53795
  *
53675
53796
  * @returns An array of the removed elements (might be empty)
53676
53797
  */
53677
- removeAllItems(): MenuItem[];
53798
+ removeAllItems(): IMenuItem[];
53678
53799
  /**
53679
53800
  * Removes a item from the aggregation {@link #getItems items}.
53680
53801
  *
@@ -53685,8 +53806,8 @@ declare module "sap/m/Menu" {
53685
53806
  /**
53686
53807
  * The item to remove or its index or id
53687
53808
  */
53688
- vItem: int | string | MenuItem
53689
- ): MenuItem | null;
53809
+ vItem: int | string | IMenuItem
53810
+ ): IMenuItem | null;
53690
53811
  /**
53691
53812
  * Sets the title of the `Menu`.
53692
53813
  *
@@ -53719,7 +53840,7 @@ declare module "sap/m/Menu" {
53719
53840
  /**
53720
53841
  * Defines the items contained within this control.
53721
53842
  */
53722
- items?: MenuItem[] | MenuItem | AggregationBindingInfo | `{${string}}`;
53843
+ items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
53723
53844
 
53724
53845
  /**
53725
53846
  * Fired when a `MenuItem` is selected.
@@ -54636,6 +54757,8 @@ declare module "sap/m/MenuButton" {
54636
54757
  declare module "sap/m/MenuItem" {
54637
54758
  import { default as Item, $ItemSettings } from "sap/ui/core/Item";
54638
54759
 
54760
+ import { IMenuItem } from "sap/m/library";
54761
+
54639
54762
  import Event from "sap/ui/base/Event";
54640
54763
 
54641
54764
  import {
@@ -54650,7 +54773,8 @@ declare module "sap/m/MenuItem" {
54650
54773
  *
54651
54774
  * @since 1.38
54652
54775
  */
54653
- export default class MenuItem extends Item {
54776
+ export default class MenuItem extends Item implements IMenuItem {
54777
+ __implements__sap_m_IMenuItem: boolean;
54654
54778
  /**
54655
54779
  * Constructor for a new `MenuItem`.
54656
54780
  *
@@ -54723,7 +54847,7 @@ declare module "sap/m/MenuItem" {
54723
54847
  /**
54724
54848
  * The item to add; if empty, nothing is inserted
54725
54849
  */
54726
- oItem: MenuItem
54850
+ oItem: IMenuItem
54727
54851
  ): this;
54728
54852
  /**
54729
54853
  * Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
@@ -55001,14 +55125,26 @@ declare module "sap/m/MenuItem" {
55001
55125
  *
55002
55126
  * Defines the sub-items contained within this element.
55003
55127
  */
55004
- getItems(): MenuItem[];
55128
+ getItems(): IMenuItem[];
55129
+ /**
55130
+ * Gets current value of property {@link #getSelected selected}.
55131
+ *
55132
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
55133
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
55134
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
55135
+ *
55136
+ * Default value is `false`.
55137
+ *
55138
+ * @since 1.127.0
55139
+ *
55140
+ * @returns Value of property `selected`
55141
+ */
55142
+ getSelected(): boolean;
55005
55143
  /**
55006
55144
  * Gets current value of property {@link #getShortcutText shortcutText}.
55007
55145
  *
55008
55146
  * 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.
55147
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
55012
55148
  *
55013
55149
  * Default value is `empty string`.
55014
55150
  *
@@ -55041,7 +55177,7 @@ declare module "sap/m/MenuItem" {
55041
55177
  */
55042
55178
  getVisible(): boolean;
55043
55179
  /**
55044
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
55180
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
55045
55181
  * index if found or -1 otherwise.
55046
55182
  *
55047
55183
  *
@@ -55051,7 +55187,7 @@ declare module "sap/m/MenuItem" {
55051
55187
  /**
55052
55188
  * The item whose index is looked for
55053
55189
  */
55054
- oItem: MenuItem
55190
+ oItem: IMenuItem
55055
55191
  ): int;
55056
55192
  /**
55057
55193
  * Inserts a item into the aggregation {@link #getItems items}.
@@ -55063,7 +55199,7 @@ declare module "sap/m/MenuItem" {
55063
55199
  /**
55064
55200
  * The item to insert; if empty, nothing is inserted
55065
55201
  */
55066
- oItem: MenuItem,
55202
+ oItem: IMenuItem,
55067
55203
  /**
55068
55204
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
55069
55205
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -55079,7 +55215,7 @@ declare module "sap/m/MenuItem" {
55079
55215
  *
55080
55216
  * @returns An array of the removed elements (might be empty)
55081
55217
  */
55082
- removeAllItems(): MenuItem[];
55218
+ removeAllItems(): IMenuItem[];
55083
55219
  /**
55084
55220
  * Removes a item from the aggregation {@link #getItems items}.
55085
55221
  *
@@ -55090,8 +55226,8 @@ declare module "sap/m/MenuItem" {
55090
55226
  /**
55091
55227
  * The item to remove or its index or id
55092
55228
  */
55093
- vItem: int | string | MenuItem
55094
- ): MenuItem | null;
55229
+ vItem: int | string | IMenuItem
55230
+ ): IMenuItem | null;
55095
55231
  /**
55096
55232
  * Sets a new value for property {@link #getIcon icon}.
55097
55233
  *
@@ -55112,9 +55248,7 @@ declare module "sap/m/MenuItem" {
55112
55248
  * Sets a new value for property {@link #getShortcutText shortcutText}.
55113
55249
  *
55114
55250
  * 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.
55251
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
55118
55252
  *
55119
55253
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
55120
55254
  *
@@ -55190,11 +55324,18 @@ declare module "sap/m/MenuItem" {
55190
55324
  */
55191
55325
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
55192
55326
 
55327
+ /**
55328
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
55329
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
55330
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
55331
+ *
55332
+ * @since 1.127.0
55333
+ */
55334
+ selected?: boolean | PropertyBindingInfo | `{${string}}`;
55335
+
55193
55336
  /**
55194
55337
  * 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.
55338
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
55198
55339
  */
55199
55340
  shortcutText?: string | PropertyBindingInfo;
55200
55341
 
@@ -55207,7 +55348,7 @@ declare module "sap/m/MenuItem" {
55207
55348
  /**
55208
55349
  * Defines the sub-items contained within this element.
55209
55350
  */
55210
- items?: MenuItem[] | MenuItem | AggregationBindingInfo | `{${string}}`;
55351
+ items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
55211
55352
 
55212
55353
  /**
55213
55354
  * Fired after the item has been pressed.
@@ -55290,6 +55431,232 @@ declare module "sap/m/MenuItem" {
55290
55431
  >;
55291
55432
  }
55292
55433
 
55434
+ declare module "sap/m/MenuItemGroup" {
55435
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
55436
+
55437
+ import { IMenuItem } from "sap/m/library";
55438
+
55439
+ import { ItemSelectionMode } from "sap/ui/core/library";
55440
+
55441
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
55442
+
55443
+ import {
55444
+ PropertyBindingInfo,
55445
+ AggregationBindingInfo,
55446
+ } from "sap/ui/base/ManagedObject";
55447
+
55448
+ /**
55449
+ * Group item to be used inside a menu. Represents a collection of menu items that can have the same selection
55450
+ * mode (e.g. {@link sap.ui.core.ItemSelectionMode.None}, {@link sap.ui.core.ItemSelectionMode.SingleSelect},
55451
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}).
55452
+ *
55453
+ * @since 1.127.0
55454
+ */
55455
+ export default class MenuItemGroup extends UI5Element implements IMenuItem {
55456
+ __implements__sap_m_IMenuItem: boolean;
55457
+ /**
55458
+ * Constructor for a new MenuItemGroup element.
55459
+ *
55460
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
55461
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
55462
+ * of the syntax of the settings object.
55463
+ */
55464
+ constructor(
55465
+ /**
55466
+ * Initial settings for the new control
55467
+ */
55468
+ mSettings?: $MenuItemGroupSettings
55469
+ );
55470
+ /**
55471
+ * Constructor for a new MenuItemGroup element.
55472
+ *
55473
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
55474
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
55475
+ * of the syntax of the settings object.
55476
+ */
55477
+ constructor(
55478
+ /**
55479
+ * ID for the new control, generated automatically if no ID is given
55480
+ */
55481
+ sId?: string,
55482
+ /**
55483
+ * Initial settings for the new control
55484
+ */
55485
+ mSettings?: $MenuItemGroupSettings
55486
+ );
55487
+
55488
+ /**
55489
+ * Creates a new subclass of class sap.m.MenuItemGroup with name `sClassName` and enriches it with the information
55490
+ * contained in `oClassInfo`.
55491
+ *
55492
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
55493
+ *
55494
+ *
55495
+ * @returns Created class / constructor function
55496
+ */
55497
+ static extend<T extends Record<string, unknown>>(
55498
+ /**
55499
+ * Name of the class being created
55500
+ */
55501
+ sClassName: string,
55502
+ /**
55503
+ * Object literal with information about the class
55504
+ */
55505
+ oClassInfo?: sap.ClassInfo<T, MenuItemGroup>,
55506
+ /**
55507
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
55508
+ * used by this class
55509
+ */
55510
+ FNMetaImpl?: Function
55511
+ ): Function;
55512
+ /**
55513
+ * Returns a metadata object for class sap.m.MenuItemGroup.
55514
+ *
55515
+ *
55516
+ * @returns Metadata object describing this class
55517
+ */
55518
+ static getMetadata(): ElementMetadata;
55519
+ /**
55520
+ * Adds an item to `items` aggregation.
55521
+ *
55522
+ *
55523
+ * @returns `this` to allow method chaining
55524
+ */
55525
+ addItem(
55526
+ /**
55527
+ * Menu item to be added
55528
+ */
55529
+ oItem: IMenuItem,
55530
+ /**
55531
+ * Whether to suppress the invalidation of the control
55532
+ */
55533
+ bSuppressInvalidate: boolean
55534
+ ): this;
55535
+ /**
55536
+ * Destroys all items from `items` aggregation.
55537
+ *
55538
+ *
55539
+ * @returns `this` to allow method chaining
55540
+ */
55541
+ destroyItems(
55542
+ /**
55543
+ * Whether to suppress the invalidation of the control
55544
+ */
55545
+ bSuppressInvalidate: boolean
55546
+ ): this;
55547
+ /**
55548
+ * Gets content of aggregation {@link #getItems items}.
55549
+ *
55550
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
55551
+ * supported.
55552
+ */
55553
+ getItems(): IMenuItem[];
55554
+ /**
55555
+ * Gets current value of property {@link #getItemSelectionMode itemSelectionMode}.
55556
+ *
55557
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
55558
+ *
55559
+ * Default value is `None`.
55560
+ *
55561
+ *
55562
+ * @returns Value of property `itemSelectionMode`
55563
+ */
55564
+ getItemSelectionMode(): ItemSelectionMode;
55565
+ /**
55566
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
55567
+ * index if found or -1 otherwise.
55568
+ *
55569
+ *
55570
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
55571
+ */
55572
+ indexOfItem(
55573
+ /**
55574
+ * The item whose index is looked for
55575
+ */
55576
+ oItem: IMenuItem
55577
+ ): int;
55578
+ /**
55579
+ * Inserts an item to the specified position in `items` aggregation.
55580
+ *
55581
+ *
55582
+ * @returns `this` to allow method chaining
55583
+ */
55584
+ insertItem(
55585
+ /**
55586
+ * Menu item to be added
55587
+ */
55588
+ oItem: IMenuItem,
55589
+ /**
55590
+ * Index at which the item should be inserted
55591
+ */
55592
+ iIndex: int,
55593
+ /**
55594
+ * Whether to suppress the invalidation of the control
55595
+ */
55596
+ bSuppressInvalidate: boolean
55597
+ ): this;
55598
+ /**
55599
+ * Removes all items from `items` aggregation.
55600
+ *
55601
+ *
55602
+ * @returns array containing the removed items, or `null` if there are no items to remove
55603
+ */
55604
+ removeAllItems(
55605
+ /**
55606
+ * Whether to suppress the invalidation of the control
55607
+ */
55608
+ bSuppressInvalidate: boolean
55609
+ ): any[] | null;
55610
+ /**
55611
+ * Removes an item from `items` aggregation.
55612
+ *
55613
+ *
55614
+ * @returns the removed object, or `null` if there are no items to remove
55615
+ */
55616
+ removeItem(
55617
+ /**
55618
+ * Menu item to be removed (as index, ID or object)
55619
+ */
55620
+ vItem: int | string | IMenuItem,
55621
+ /**
55622
+ * Whether to suppress the invalidation of the control
55623
+ */
55624
+ bSuppressInvalidate: boolean
55625
+ ): IMenuItem | null;
55626
+ /**
55627
+ * Override of the default setter that also ensures single selection if necessary.
55628
+ *
55629
+ *
55630
+ * @returns `this` to allow method chaining
55631
+ */
55632
+ setItemSelectionMode(
55633
+ /**
55634
+ * item selection mode to be set
55635
+ */
55636
+ sSelectionMode: string,
55637
+ /**
55638
+ * Whether to suppress the invalidation of the control
55639
+ */
55640
+ bSuppressInvalidate: boolean
55641
+ ): this;
55642
+ }
55643
+ /**
55644
+ * Describes the settings that can be provided to the MenuItemGroup constructor.
55645
+ */
55646
+ export interface $MenuItemGroupSettings extends $ElementSettings {
55647
+ /**
55648
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
55649
+ */
55650
+ itemSelectionMode?: ItemSelectionMode | PropertyBindingInfo | `{${string}}`;
55651
+
55652
+ /**
55653
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
55654
+ * supported.
55655
+ */
55656
+ items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
55657
+ }
55658
+ }
55659
+
55293
55660
  declare module "sap/m/MessageBox" {
55294
55661
  import { TextDirection, CSSSize } from "sap/ui/core/library";
55295
55662
 
@@ -88995,6 +89362,8 @@ declare module "sap/m/PlanningCalendarRow" {
88995
89362
 
88996
89363
  import Control from "sap/ui/core/Control";
88997
89364
 
89365
+ import NonWorkingPeriod from "sap/ui/unified/NonWorkingPeriod";
89366
+
88998
89367
  import DateTypeRange from "sap/ui/unified/DateTypeRange";
88999
89368
 
89000
89369
  import { URI } from "sap/ui/core/library";
@@ -89117,6 +89486,19 @@ declare module "sap/m/PlanningCalendarRow" {
89117
89486
  */
89118
89487
  oIntervalHeader: CalendarAppointment
89119
89488
  ): this;
89489
+ /**
89490
+ * Adds some nonWorkingPeriod to the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
89491
+ *
89492
+ * @since 1.128
89493
+ *
89494
+ * @returns Reference to `this` in order to allow method chaining
89495
+ */
89496
+ addNonWorkingPeriod(
89497
+ /**
89498
+ * The nonWorkingPeriod to add; if empty, nothing is inserted
89499
+ */
89500
+ oNonWorkingPeriod: NonWorkingPeriod
89501
+ ): this;
89120
89502
  /**
89121
89503
  * Adds some specialDate to the aggregation {@link #getSpecialDates specialDates}.
89122
89504
  *
@@ -89370,6 +89752,14 @@ declare module "sap/m/PlanningCalendarRow" {
89370
89752
  * @returns Reference to `this` in order to allow method chaining
89371
89753
  */
89372
89754
  destroyIntervalHeaders(): this;
89755
+ /**
89756
+ * Destroys all the nonWorkingPeriods in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
89757
+ *
89758
+ * @since 1.128
89759
+ *
89760
+ * @returns Reference to `this` in order to allow method chaining
89761
+ */
89762
+ destroyNonWorkingPeriods(): this;
89373
89763
  /**
89374
89764
  * Destroys all the specialDates in the aggregation {@link #getSpecialDates specialDates}.
89375
89765
  *
@@ -89558,13 +89948,13 @@ declare module "sap/m/PlanningCalendarRow" {
89558
89948
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
89559
89949
  *
89560
89950
  * Hours:
89561
- * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
89951
+ * For views where the displayed intervals are hours, the placeholder snaps on every interval of 15 minutes.
89562
89952
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
89563
89953
  * containing the new start and end UI5Date or JavaScript Date objects.
89564
89954
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
89565
89955
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
89566
- * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
89567
- * 30 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
89956
+ * date has time that is either "hh:00:00" or "hh:15:00" because of the placeholder that can snap on every
89957
+ * 15 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
89568
89958
  * "hh:27:30" or "hh:57:30".
89569
89959
  *
89570
89960
  * Days:
@@ -89627,7 +90017,7 @@ declare module "sap/m/PlanningCalendarRow" {
89627
90017
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
89628
90018
  *
89629
90019
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
89630
- * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
90020
+ * 15 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
89631
90021
  * is fired, containing the new start and end UI5Date or JavaScript Date objects.
89632
90022
  *
89633
90023
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
@@ -89733,6 +90123,14 @@ declare module "sap/m/PlanningCalendarRow" {
89733
90123
  * @returns Value of property `nonWorkingHours`
89734
90124
  */
89735
90125
  getNonWorkingHours(): int[];
90126
+ /**
90127
+ * Gets content of aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
90128
+ *
90129
+ * Sets the provided period to be displayed as a non-working.
90130
+ *
90131
+ * @since 1.128
90132
+ */
90133
+ getNonWorkingPeriods(): NonWorkingPeriod[];
89736
90134
  /**
89737
90135
  * Gets current value of property {@link #getRowHeaderDescription rowHeaderDescription}.
89738
90136
  *
@@ -89828,6 +90226,20 @@ declare module "sap/m/PlanningCalendarRow" {
89828
90226
  */
89829
90227
  oIntervalHeader: CalendarAppointment
89830
90228
  ): int;
90229
+ /**
90230
+ * Checks for the provided `sap.ui.unified.NonWorkingPeriod` in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
90231
+ * and returns its index if found or -1 otherwise.
90232
+ *
90233
+ * @since 1.128
90234
+ *
90235
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
90236
+ */
90237
+ indexOfNonWorkingPeriod(
90238
+ /**
90239
+ * The nonWorkingPeriod whose index is looked for
90240
+ */
90241
+ oNonWorkingPeriod: NonWorkingPeriod
90242
+ ): int;
89831
90243
  /**
89832
90244
  * Checks for the provided `sap.ui.unified.DateTypeRange` in the aggregation {@link #getSpecialDates specialDates}.
89833
90245
  * and returns its index if found or -1 otherwise.
@@ -89897,6 +90309,25 @@ declare module "sap/m/PlanningCalendarRow" {
89897
90309
  */
89898
90310
  iIndex: int
89899
90311
  ): this;
90312
+ /**
90313
+ * Inserts a nonWorkingPeriod into the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
90314
+ *
90315
+ * @since 1.128
90316
+ *
90317
+ * @returns Reference to `this` in order to allow method chaining
90318
+ */
90319
+ insertNonWorkingPeriod(
90320
+ /**
90321
+ * The nonWorkingPeriod to insert; if empty, nothing is inserted
90322
+ */
90323
+ oNonWorkingPeriod: NonWorkingPeriod,
90324
+ /**
90325
+ * The `0`-based index the nonWorkingPeriod should be inserted at; for a negative value of `iIndex`, the
90326
+ * nonWorkingPeriod is inserted at position 0; for a value greater than the current size of the aggregation,
90327
+ * the nonWorkingPeriod is inserted at the last position
90328
+ */
90329
+ iIndex: int
90330
+ ): this;
89900
90331
  /**
89901
90332
  * Inserts a specialDate into the aggregation {@link #getSpecialDates specialDates}.
89902
90333
  *
@@ -89944,6 +90375,16 @@ declare module "sap/m/PlanningCalendarRow" {
89944
90375
  * @returns An array of the removed elements (might be empty)
89945
90376
  */
89946
90377
  removeAllIntervalHeaders(): CalendarAppointment[];
90378
+ /**
90379
+ * Removes all the controls from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
90380
+ *
90381
+ * Additionally, it unregisters them from the hosting UIArea.
90382
+ *
90383
+ * @since 1.128
90384
+ *
90385
+ * @returns An array of the removed elements (might be empty)
90386
+ */
90387
+ removeAllNonWorkingPeriods(): NonWorkingPeriod[];
89947
90388
  /**
89948
90389
  * Removes all the controls from the aggregation {@link #getSpecialDates specialDates}.
89949
90390
  *
@@ -89991,6 +90432,19 @@ declare module "sap/m/PlanningCalendarRow" {
89991
90432
  */
89992
90433
  vIntervalHeader: int | string | CalendarAppointment
89993
90434
  ): CalendarAppointment | null;
90435
+ /**
90436
+ * Removes a nonWorkingPeriod from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
90437
+ *
90438
+ * @since 1.128
90439
+ *
90440
+ * @returns The removed nonWorkingPeriod or `null`
90441
+ */
90442
+ removeNonWorkingPeriod(
90443
+ /**
90444
+ * The nonWorkingPeriod to remove or its index or id
90445
+ */
90446
+ vNonWorkingPeriod: int | string | NonWorkingPeriod
90447
+ ): NonWorkingPeriod | null;
89994
90448
  /**
89995
90449
  * Removes a specialDate from the aggregation {@link #getSpecialDates specialDates}.
89996
90450
  *
@@ -90043,13 +90497,13 @@ declare module "sap/m/PlanningCalendarRow" {
90043
90497
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
90044
90498
  *
90045
90499
  * Hours:
90046
- * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
90500
+ * For views where the displayed intervals are hours, the placeholder snaps on every interval of 15 minutes.
90047
90501
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
90048
90502
  * containing the new start and end UI5Date or JavaScript Date objects.
90049
90503
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
90050
90504
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
90051
- * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
90052
- * 30 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
90505
+ * date has time that is either "hh:00:00" or "hh:15:00" because of the placeholder that can snap on every
90506
+ * 15 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
90053
90507
  * "hh:27:30" or "hh:57:30".
90054
90508
  *
90055
90509
  * Days:
@@ -90119,7 +90573,7 @@ declare module "sap/m/PlanningCalendarRow" {
90119
90573
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
90120
90574
  *
90121
90575
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
90122
- * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
90576
+ * 15 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
90123
90577
  * is fired, containing the new start and end UI5Date or JavaScript Date objects.
90124
90578
  *
90125
90579
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
@@ -90375,13 +90829,13 @@ declare module "sap/m/PlanningCalendarRow" {
90375
90829
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
90376
90830
  *
90377
90831
  * Hours:
90378
- * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
90832
+ * For views where the displayed intervals are hours, the placeholder snaps on every interval of 15 minutes.
90379
90833
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
90380
90834
  * containing the new start and end UI5Date or JavaScript Date objects.
90381
90835
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
90382
90836
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
90383
- * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
90384
- * 30 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
90837
+ * date has time that is either "hh:00:00" or "hh:15:00" because of the placeholder that can snap on every
90838
+ * 15 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
90385
90839
  * "hh:27:30" or "hh:57:30".
90386
90840
  *
90387
90841
  * Days:
@@ -90442,7 +90896,7 @@ declare module "sap/m/PlanningCalendarRow" {
90442
90896
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
90443
90897
  *
90444
90898
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
90445
- * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
90899
+ * 15 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
90446
90900
  * is fired, containing the new start and end UI5Date or JavaScript Date objects.
90447
90901
  *
90448
90902
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
@@ -90499,6 +90953,17 @@ declare module "sap/m/PlanningCalendarRow" {
90499
90953
  | AggregationBindingInfo
90500
90954
  | `{${string}}`;
90501
90955
 
90956
+ /**
90957
+ * Sets the provided period to be displayed as a non-working.
90958
+ *
90959
+ * @since 1.128
90960
+ */
90961
+ nonWorkingPeriods?:
90962
+ | NonWorkingPeriod[]
90963
+ | NonWorkingPeriod
90964
+ | AggregationBindingInfo
90965
+ | `{${string}}`;
90966
+
90502
90967
  /**
90503
90968
  * The appointments to be displayed at the top of the intervals (for example, for public holidays). Appointments
90504
90969
  * outside the visible time frame are not rendered.
@@ -91251,8 +91716,6 @@ declare module "sap/m/plugins/CellSelector" {
91251
91716
  * - Drag for rows is active
91252
91717
  * - If used in combination with {@link sap.ui.table.Table#cellClick} or {@link sap.m.Table#itemPress }
91253
91718
  *
91254
- * - If the `sap.ui.table.SelectionBehavior.RowOnly` or `sap.ui.table.SelectionBehavior.Row` selection
91255
- * behavior is used in the `sap.ui.table.Table`
91256
91719
  * - If the `sap.m.ListType.SingleSelectMaster` mode is used in the `sap.m.Table`
91257
91720
  *
91258
91721
  * When the `CellSelector` is used in combination with the {@link sap.ui.mdc.Table}, modifying the following
@@ -123394,6 +123857,8 @@ declare module "sap/m/SinglePlanningCalendar" {
123394
123857
 
123395
123858
  import CalendarAppointment from "sap/ui/unified/CalendarAppointment";
123396
123859
 
123860
+ import NonWorkingPeriod from "sap/ui/unified/NonWorkingPeriod";
123861
+
123397
123862
  import DateRange from "sap/ui/unified/DateRange";
123398
123863
 
123399
123864
  import DateTypeRange from "sap/ui/unified/DateTypeRange";
@@ -123547,6 +124012,19 @@ declare module "sap/m/SinglePlanningCalendar" {
123547
124012
  */
123548
124013
  oAppointment: CalendarAppointment
123549
124014
  ): this;
124015
+ /**
124016
+ * Adds some nonWorkingPeriod to the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
124017
+ *
124018
+ * @since 1.128
124019
+ *
124020
+ * @returns Reference to `this` in order to allow method chaining
124021
+ */
124022
+ addNonWorkingPeriod(
124023
+ /**
124024
+ * The nonWorkingPeriod to add; if empty, nothing is inserted
124025
+ */
124026
+ oNonWorkingPeriod: NonWorkingPeriod
124027
+ ): this;
123550
124028
  /**
123551
124029
  * Adds a selected date to the grid.
123552
124030
  *
@@ -124159,6 +124637,14 @@ declare module "sap/m/SinglePlanningCalendar" {
124159
124637
  * @returns Reference to `this` in order to allow method chaining
124160
124638
  */
124161
124639
  destroyAppointments(): this;
124640
+ /**
124641
+ * Destroys all the nonWorkingPeriods in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
124642
+ *
124643
+ * @since 1.128
124644
+ *
124645
+ * @returns Reference to `this` in order to allow method chaining
124646
+ */
124647
+ destroyNonWorkingPeriods(): this;
124162
124648
  /**
124163
124649
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
124164
124650
  *
@@ -124708,6 +125194,16 @@ declare module "sap/m/SinglePlanningCalendar" {
124708
125194
  * @since 1.65.0
124709
125195
  */
124710
125196
  getLegend(): ID | null;
125197
+ /**
125198
+ * Gets content of aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
125199
+ *
125200
+ * Sets the provided period to be displayed as a non-working.
125201
+ *
125202
+ * **Note:** The visualization of non-working periods is present in all views that include hours representation.
125203
+ *
125204
+ * @since 1.128
125205
+ */
125206
+ getNonWorkingPeriods(): NonWorkingPeriod[];
124711
125207
  /**
124712
125208
  * Gets current value of property {@link #getScaleFactor scaleFactor}.
124713
125209
  *
@@ -124881,6 +125377,20 @@ declare module "sap/m/SinglePlanningCalendar" {
124881
125377
  */
124882
125378
  oAppointment: CalendarAppointment
124883
125379
  ): int;
125380
+ /**
125381
+ * Checks for the provided `sap.ui.unified.NonWorkingPeriod` in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
125382
+ * and returns its index if found or -1 otherwise.
125383
+ *
125384
+ * @since 1.128
125385
+ *
125386
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
125387
+ */
125388
+ indexOfNonWorkingPeriod(
125389
+ /**
125390
+ * The nonWorkingPeriod whose index is looked for
125391
+ */
125392
+ oNonWorkingPeriod: NonWorkingPeriod
125393
+ ): int;
124884
125394
  /**
124885
125395
  * Checks for the provided `sap.ui.unified.DateRange` in the aggregation {@link #getSelectedDates selectedDates}.
124886
125396
  * and returns its index if found or -1 otherwise.
@@ -124957,6 +125467,25 @@ declare module "sap/m/SinglePlanningCalendar" {
124957
125467
  */
124958
125468
  iIndex: int
124959
125469
  ): this;
125470
+ /**
125471
+ * Inserts a nonWorkingPeriod into the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
125472
+ *
125473
+ * @since 1.128
125474
+ *
125475
+ * @returns Reference to `this` in order to allow method chaining
125476
+ */
125477
+ insertNonWorkingPeriod(
125478
+ /**
125479
+ * The nonWorkingPeriod to insert; if empty, nothing is inserted
125480
+ */
125481
+ oNonWorkingPeriod: NonWorkingPeriod,
125482
+ /**
125483
+ * The `0`-based index the nonWorkingPeriod should be inserted at; for a negative value of `iIndex`, the
125484
+ * nonWorkingPeriod is inserted at position 0; for a value greater than the current size of the aggregation,
125485
+ * the nonWorkingPeriod is inserted at the last position
125486
+ */
125487
+ iIndex: int
125488
+ ): this;
124960
125489
  /**
124961
125490
  * Inserts a selectedDate into the aggregation {@link #getSelectedDates selectedDates}.
124962
125491
  *
@@ -125042,6 +125571,16 @@ declare module "sap/m/SinglePlanningCalendar" {
125042
125571
  * @returns An array of the removed elements (might be empty)
125043
125572
  */
125044
125573
  removeAllAppointments(): CalendarAppointment[];
125574
+ /**
125575
+ * Removes all the controls from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
125576
+ *
125577
+ * Additionally, it unregisters them from the hosting UIArea.
125578
+ *
125579
+ * @since 1.128
125580
+ *
125581
+ * @returns An array of the removed elements (might be empty)
125582
+ */
125583
+ removeAllNonWorkingPeriods(): NonWorkingPeriod[];
125045
125584
  /**
125046
125585
  * Removes the selected dates of the grid.
125047
125586
  *
@@ -125080,6 +125619,19 @@ declare module "sap/m/SinglePlanningCalendar" {
125080
125619
  */
125081
125620
  vAppointment: int | string | CalendarAppointment
125082
125621
  ): CalendarAppointment | null;
125622
+ /**
125623
+ * Removes a nonWorkingPeriod from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
125624
+ *
125625
+ * @since 1.128
125626
+ *
125627
+ * @returns The removed nonWorkingPeriod or `null`
125628
+ */
125629
+ removeNonWorkingPeriod(
125630
+ /**
125631
+ * The nonWorkingPeriod to remove or its index or id
125632
+ */
125633
+ vNonWorkingPeriod: int | string | NonWorkingPeriod
125634
+ ): NonWorkingPeriod | null;
125083
125635
  /**
125084
125636
  * Removes a selectedDate from the aggregation {@link #getSelectedDates selectedDates}.
125085
125637
  *
@@ -125606,6 +126158,19 @@ declare module "sap/m/SinglePlanningCalendar" {
125606
126158
  | AggregationBindingInfo
125607
126159
  | `{${string}}`;
125608
126160
 
126161
+ /**
126162
+ * Sets the provided period to be displayed as a non-working.
126163
+ *
126164
+ * **Note:** The visualization of non-working periods is present in all views that include hours representation.
126165
+ *
126166
+ * @since 1.128
126167
+ */
126168
+ nonWorkingPeriods?:
126169
+ | NonWorkingPeriod[]
126170
+ | NonWorkingPeriod
126171
+ | AggregationBindingInfo
126172
+ | `{${string}}`;
126173
+
125609
126174
  /**
125610
126175
  * Views of the `SinglePlanningCalendar`.
125611
126176
  *
@@ -157740,6 +158305,12 @@ declare module "sap/m/upload/UploadSet" {
157740
158305
  * The file that fails to meet the file size restriction specified in the `maxFileSize` property.
157741
158306
  */
157742
158307
  item?: UploadSetItem;
158308
+
158309
+ /**
158310
+ * The size of a file in MB, that fails to meet the file size restriction specified in the `maxFileSize`
158311
+ * property.
158312
+ */
158313
+ fileSize?: float;
157743
158314
  }
157744
158315
 
157745
158316
  /**
@@ -157854,7 +158425,7 @@ declare module "sap/m/upload/UploadSet" {
157854
158425
  * Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
157855
158426
  * supported by Internet Explorer 9.
157856
158427
  */
157857
- readyState?: string;
158428
+ readyState?: int;
157858
158429
 
157859
158430
  /**
157860
158431
  * Status of the XHR request.
@@ -157862,7 +158433,7 @@ declare module "sap/m/upload/UploadSet" {
157862
158433
  * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
157863
158434
  * by Internet Explorer 9.
157864
158435
  */
157865
- status?: string;
158436
+ status?: int;
157866
158437
 
157867
158438
  /**
157868
158439
  * Http-Response which comes from the server.
@@ -171051,6 +171622,8 @@ declare namespace sap {
171051
171622
 
171052
171623
  "sap/m/MenuItem": undefined;
171053
171624
 
171625
+ "sap/m/MenuItemGroup": undefined;
171626
+
171054
171627
  "sap/m/MessageBox": undefined;
171055
171628
 
171056
171629
  "sap/m/MessageItem": undefined;
@@ -171131,6 +171704,8 @@ declare namespace sap {
171131
171704
 
171132
171705
  "sap/m/p13n/GroupPanel": undefined;
171133
171706
 
171707
+ "sap/m/p13n/MessageStrip": undefined;
171708
+
171134
171709
  "sap/m/p13n/MetadataHelper": undefined;
171135
171710
 
171136
171711
  "sap/m/p13n/modules/AdaptationProvider": undefined;