@openui5/ts-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 namespace sap {
4
4
  /**
@@ -3413,8 +3413,6 @@ declare namespace sap {
3413
3413
  * - Drag for rows is active
3414
3414
  * - If used in combination with {@link sap.ui.table.Table#cellClick} or {@link sap.m.Table#itemPress }
3415
3415
  *
3416
- * - If the `sap.ui.table.SelectionBehavior.RowOnly` or `sap.ui.table.SelectionBehavior.Row` selection
3417
- * behavior is used in the `sap.ui.table.Table`
3418
3416
  * - If the `sap.m.ListType.SingleSelectMaster` mode is used in the `sap.m.Table`
3419
3417
  *
3420
3418
  * When the `CellSelector` is used in combination with the {@link sap.ui.mdc.Table}, modifying the following
@@ -18896,6 +18894,12 @@ declare namespace sap {
18896
18894
  * The file that fails to meet the file size restriction specified in the `maxFileSize` property.
18897
18895
  */
18898
18896
  item?: sap.m.upload.UploadSetItem;
18897
+
18898
+ /**
18899
+ * The size of a file in MB, that fails to meet the file size restriction specified in the `maxFileSize`
18900
+ * property.
18901
+ */
18902
+ fileSize?: float;
18899
18903
  }
18900
18904
 
18901
18905
  /**
@@ -18962,7 +18966,7 @@ declare namespace sap {
18962
18966
  * Required for receiving a `readyState` is to set the property `sendXHR` to true. This property is not
18963
18967
  * supported by Internet Explorer 9.
18964
18968
  */
18965
- readyState?: string;
18969
+ readyState?: int;
18966
18970
 
18967
18971
  /**
18968
18972
  * Status of the XHR request.
@@ -18970,7 +18974,7 @@ declare namespace sap {
18970
18974
  * Required for receiving a `status` is to set the property `sendXHR` to true. This property is not supported
18971
18975
  * by Internet Explorer 9.
18972
18976
  */
18973
- status?: string;
18977
+ status?: int;
18974
18978
 
18975
18979
  /**
18976
18980
  * Http-Response which comes from the server.
@@ -27576,6 +27580,15 @@ declare namespace sap {
27576
27580
  __implements__sap_m_IconTab: boolean;
27577
27581
  }
27578
27582
 
27583
+ /**
27584
+ * Interface for controls which are suitable to be added as items of sap.m.Menu.
27585
+ *
27586
+ * @since 1.127.0
27587
+ */
27588
+ interface IMenuItem {
27589
+ __implements__sap_m_IMenuItem: boolean;
27590
+ }
27591
+
27579
27592
  /**
27580
27593
  * Interface for controls which can have special behavior inside `sap.m.OverflowToolbar`. Controls that
27581
27594
  * implement this interface must provide a `getOverflowToolbarConfig` method that accepts no arguments and
@@ -28355,7 +28368,6 @@ declare namespace sap {
28355
28368
  * Determines the text of current/last element in the Breadcrumbs path.
28356
28369
  *
28357
28370
  * @since 1.34
28358
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
28359
28371
  */
28360
28372
  currentLocationText?:
28361
28373
  | string
@@ -34024,6 +34036,32 @@ declare namespace sap {
34024
34036
  */
34025
34037
  text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
34026
34038
 
34039
+ /**
34040
+ * Defines the icon to be displayed as graphical element in the beginning of the `Link`. It can be an icon
34041
+ * from the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
34042
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
34043
+ * Using an image instead of icon is not supported.
34044
+ *
34045
+ * @since 1.128.0
34046
+ */
34047
+ icon?:
34048
+ | sap.ui.core.URI
34049
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
34050
+ | `{${string}}`;
34051
+
34052
+ /**
34053
+ * Defines the icon to be displayed as graphical element in the end of the `Link`. It can be an icon from
34054
+ * the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
34055
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
34056
+ * Using an image instead of icon is not supported.
34057
+ *
34058
+ * @since 1.128.0
34059
+ */
34060
+ endIcon?:
34061
+ | sap.ui.core.URI
34062
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
34063
+ | `{${string}}`;
34064
+
34027
34065
  /**
34028
34066
  * Determines whether the link can be triggered by the user.
34029
34067
  */
@@ -34459,7 +34497,8 @@ declare namespace sap {
34459
34497
  * corresponding binding context when the OData V4 model is used. Therefore, all binding-relevant limitations
34460
34498
  * apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
34461
34499
  * the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
34462
- * API documentation. Do not enable this feature when `$$SharedRequests` is active.
34500
+ * API documentation. Do not enable this feature when `$$SharedRequests` or `$$clearSelectionOnFilter` is
34501
+ * active.
34463
34502
  *
34464
34503
  * @since 1.16.6
34465
34504
  */
@@ -34860,8 +34899,8 @@ declare namespace sap {
34860
34899
  * Defines the items contained within this control.
34861
34900
  */
34862
34901
  items?:
34863
- | sap.m.MenuItem[]
34864
- | sap.m.MenuItem
34902
+ | sap.m.IMenuItem[]
34903
+ | sap.m.IMenuItem
34865
34904
  | sap.ui.base.ManagedObject.AggregationBindingInfo
34866
34905
  | `{${string}}`;
34867
34906
 
@@ -35036,11 +35075,21 @@ declare namespace sap {
35036
35075
  | sap.ui.base.ManagedObject.PropertyBindingInfo
35037
35076
  | `{${string}}`;
35038
35077
 
35078
+ /**
35079
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
35080
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
35081
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
35082
+ *
35083
+ * @since 1.127.0
35084
+ */
35085
+ selected?:
35086
+ | boolean
35087
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
35088
+ | `{${string}}`;
35089
+
35039
35090
  /**
35040
35091
  * 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.
35092
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
35044
35093
  */
35045
35094
  shortcutText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
35046
35095
 
@@ -35057,8 +35106,8 @@ declare namespace sap {
35057
35106
  * Defines the sub-items contained within this element.
35058
35107
  */
35059
35108
  items?:
35060
- | sap.m.MenuItem[]
35061
- | sap.m.MenuItem
35109
+ | sap.m.IMenuItem[]
35110
+ | sap.m.IMenuItem
35062
35111
  | sap.ui.base.ManagedObject.AggregationBindingInfo
35063
35112
  | `{${string}}`;
35064
35113
 
@@ -35078,6 +35127,29 @@ declare namespace sap {
35078
35127
  aggregationChanged?: (oEvent: MenuItem$AggregationChangedEvent) => void;
35079
35128
  }
35080
35129
 
35130
+ /**
35131
+ * Describes the settings that can be provided to the MenuItemGroup constructor.
35132
+ */
35133
+ interface $MenuItemGroupSettings extends sap.ui.core.$ElementSettings {
35134
+ /**
35135
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
35136
+ */
35137
+ itemSelectionMode?:
35138
+ | sap.ui.core.ItemSelectionMode
35139
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
35140
+ | `{${string}}`;
35141
+
35142
+ /**
35143
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
35144
+ * supported.
35145
+ */
35146
+ items?:
35147
+ | sap.m.IMenuItem[]
35148
+ | sap.m.IMenuItem
35149
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
35150
+ | `{${string}}`;
35151
+ }
35152
+
35081
35153
  /**
35082
35154
  * Describes the settings that can be provided to the MessageItem constructor.
35083
35155
  */
@@ -39384,13 +39456,13 @@ declare namespace sap {
39384
39456
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
39385
39457
  *
39386
39458
  * Hours:
39387
- * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
39459
+ * For views where the displayed intervals are hours, the placeholder snaps on every interval of 15 minutes.
39388
39460
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
39389
39461
  * containing the new start and end UI5Date or JavaScript Date objects.
39390
39462
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
39391
39463
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
39392
- * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
39393
- * 30 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
39464
+ * date has time that is either "hh:00:00" or "hh:15:00" because of the placeholder that can snap on every
39465
+ * 15 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
39394
39466
  * "hh:27:30" or "hh:57:30".
39395
39467
  *
39396
39468
  * Days:
@@ -39451,7 +39523,7 @@ declare namespace sap {
39451
39523
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
39452
39524
  *
39453
39525
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
39454
- * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
39526
+ * 15 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
39455
39527
  * is fired, containing the new start and end UI5Date or JavaScript Date objects.
39456
39528
  *
39457
39529
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
@@ -39518,6 +39590,17 @@ declare namespace sap {
39518
39590
  | sap.ui.base.ManagedObject.AggregationBindingInfo
39519
39591
  | `{${string}}`;
39520
39592
 
39593
+ /**
39594
+ * Sets the provided period to be displayed as a non-working.
39595
+ *
39596
+ * @since 1.128
39597
+ */
39598
+ nonWorkingPeriods?:
39599
+ | sap.ui.unified.NonWorkingPeriod[]
39600
+ | sap.ui.unified.NonWorkingPeriod
39601
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
39602
+ | `{${string}}`;
39603
+
39521
39604
  /**
39522
39605
  * The appointments to be displayed at the top of the intervals (for example, for public holidays). Appointments
39523
39606
  * outside the visible time frame are not rendered.
@@ -42469,6 +42552,19 @@ declare namespace sap {
42469
42552
  | sap.ui.base.ManagedObject.AggregationBindingInfo
42470
42553
  | `{${string}}`;
42471
42554
 
42555
+ /**
42556
+ * Sets the provided period to be displayed as a non-working.
42557
+ *
42558
+ * **Note:** The visualization of non-working periods is present in all views that include hours representation.
42559
+ *
42560
+ * @since 1.128
42561
+ */
42562
+ nonWorkingPeriods?:
42563
+ | sap.ui.unified.NonWorkingPeriod[]
42564
+ | sap.ui.unified.NonWorkingPeriod
42565
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
42566
+ | `{${string}}`;
42567
+
42472
42568
  /**
42473
42569
  * Views of the `SinglePlanningCalendar`.
42474
42570
  *
@@ -47546,6 +47642,11 @@ declare namespace sap {
47546
47642
  * been pressed.
47547
47643
  */
47548
47644
  fromSuggestions?: boolean;
47645
+
47646
+ /**
47647
+ * The event parameter is set to true, when the event is fired after keyboard interaction, otherwise false.
47648
+ */
47649
+ fromKeyboard?: boolean;
47549
47650
  }
47550
47651
 
47551
47652
  /**
@@ -57027,7 +57128,6 @@ declare namespace sap {
57027
57128
  * Determines the text of current/last element in the Breadcrumbs path.
57028
57129
  *
57029
57130
  * @since 1.34
57030
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
57031
57131
  *
57032
57132
  * @returns Value of property `currentLocationText`
57033
57133
  */
@@ -57152,7 +57252,6 @@ declare namespace sap {
57152
57252
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
57153
57253
  *
57154
57254
  * @since 1.34
57155
- * @deprecated (since 1.123) - Use the **currentLocation** aggregation instead.
57156
57255
  *
57157
57256
  * @returns Reference to `this` in order to allow method chaining
57158
57257
  */
@@ -82987,12 +83086,9 @@ declare namespace sap {
82987
83086
  */
82988
83087
  class Input
82989
83088
  extends sap.m.InputBase
82990
- implements
82991
- sap.ui.core.IAccessKeySupport,
82992
- /* was: sap.m.IToolbarInteractiveControl */ Object
83089
+ implements sap.ui.core.IAccessKeySupport
82993
83090
  {
82994
83091
  __implements__sap_ui_core_IAccessKeySupport: boolean;
82995
- __implements__sap_m_IToolbarInteractiveControl: boolean;
82996
83092
  /**
82997
83093
  * Constructor for a new `Input`.
82998
83094
  *
@@ -84950,10 +85046,14 @@ declare namespace sap {
84950
85046
  */
84951
85047
  class InputBase
84952
85048
  extends sap.ui.core.Control
84953
- implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
85049
+ implements
85050
+ sap.ui.core.IFormContent,
85051
+ sap.ui.core.ISemanticFormContent,
85052
+ /* was: sap.m.IToolbarInteractiveControl */ Object
84954
85053
  {
84955
85054
  __implements__sap_ui_core_IFormContent: boolean;
84956
85055
  __implements__sap_ui_core_ISemanticFormContent: boolean;
85056
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
84957
85057
  /**
84958
85058
  * Constructor for a new `sap.m.InputBase`.
84959
85059
  *
@@ -87300,6 +87400,21 @@ declare namespace sap {
87300
87400
  * @returns Value of property `enabled`
87301
87401
  */
87302
87402
  getEnabled(): boolean;
87403
+ /**
87404
+ * Gets current value of property {@link #getEndIcon endIcon}.
87405
+ *
87406
+ * Defines the icon to be displayed as graphical element in the end of the `Link`. It can be an icon from
87407
+ * the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
87408
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
87409
+ * Using an image instead of icon is not supported.
87410
+ *
87411
+ * Default value is `empty string`.
87412
+ *
87413
+ * @since 1.128.0
87414
+ *
87415
+ * @returns Value of property `endIcon`
87416
+ */
87417
+ getEndIcon(): sap.ui.core.URI;
87303
87418
  /**
87304
87419
  * Gets current value of property {@link #getHref href}.
87305
87420
  *
@@ -87311,6 +87426,21 @@ declare namespace sap {
87311
87426
  * @returns Value of property `href`
87312
87427
  */
87313
87428
  getHref(): sap.ui.core.URI;
87429
+ /**
87430
+ * Gets current value of property {@link #getIcon icon}.
87431
+ *
87432
+ * Defines the icon to be displayed as graphical element in the beginning of the `Link`. It can be an icon
87433
+ * from the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
87434
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
87435
+ * Using an image instead of icon is not supported.
87436
+ *
87437
+ * Default value is `empty string`.
87438
+ *
87439
+ * @since 1.128.0
87440
+ *
87441
+ * @returns Value of property `icon`
87442
+ */
87443
+ getIcon(): sap.ui.core.URI;
87314
87444
  /**
87315
87445
  * Gets current value of property {@link #getRel rel}.
87316
87446
  *
@@ -87570,6 +87700,28 @@ declare namespace sap {
87570
87700
  */
87571
87701
  bEnabled?: boolean
87572
87702
  ): this;
87703
+ /**
87704
+ * Sets a new value for property {@link #getEndIcon endIcon}.
87705
+ *
87706
+ * Defines the icon to be displayed as graphical element in the end of the `Link`. It can be an icon from
87707
+ * the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
87708
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
87709
+ * Using an image instead of icon is not supported.
87710
+ *
87711
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
87712
+ *
87713
+ * Default value is `empty string`.
87714
+ *
87715
+ * @since 1.128.0
87716
+ *
87717
+ * @returns Reference to `this` in order to allow method chaining
87718
+ */
87719
+ setEndIcon(
87720
+ /**
87721
+ * New value for property `endIcon`
87722
+ */
87723
+ sEndIcon?: sap.ui.core.URI
87724
+ ): this;
87573
87725
  /**
87574
87726
  * Sets a new value for property {@link #getHref href}.
87575
87727
  *
@@ -87588,6 +87740,28 @@ declare namespace sap {
87588
87740
  */
87589
87741
  sHref?: sap.ui.core.URI
87590
87742
  ): this;
87743
+ /**
87744
+ * Sets a new value for property {@link #getIcon icon}.
87745
+ *
87746
+ * Defines the icon to be displayed as graphical element in the beginning of the `Link`. It can be an icon
87747
+ * from the icon font. **Note:** Usage of icon-only link is not supported, the link must always have a text.
87748
+ * **Note:** We recommend using аn icon in the beginning or the end only, and always with text. **Note:**
87749
+ * Using an image instead of icon is not supported.
87750
+ *
87751
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
87752
+ *
87753
+ * Default value is `empty string`.
87754
+ *
87755
+ * @since 1.128.0
87756
+ *
87757
+ * @returns Reference to `this` in order to allow method chaining
87758
+ */
87759
+ setIcon(
87760
+ /**
87761
+ * New value for property `icon`
87762
+ */
87763
+ sIcon?: sap.ui.core.URI
87764
+ ): this;
87591
87765
  /**
87592
87766
  * Sets a new value for property {@link #getRel rel}.
87593
87767
  *
@@ -89465,7 +89639,8 @@ declare namespace sap {
89465
89639
  * corresponding binding context when the OData V4 model is used. Therefore, all binding-relevant limitations
89466
89640
  * apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
89467
89641
  * the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
89468
- * API documentation. Do not enable this feature when `$$SharedRequests` is active.
89642
+ * API documentation. Do not enable this feature when `$$SharedRequests` or `$$clearSelectionOnFilter` is
89643
+ * active.
89469
89644
  *
89470
89645
  * Default value is `true`.
89471
89646
  *
@@ -90138,7 +90313,8 @@ declare namespace sap {
90138
90313
  * corresponding binding context when the OData V4 model is used. Therefore, all binding-relevant limitations
90139
90314
  * apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
90140
90315
  * the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
90141
- * API documentation. Do not enable this feature when `$$SharedRequests` is active.
90316
+ * API documentation. Do not enable this feature when `$$SharedRequests` or `$$clearSelectionOnFilter` is
90317
+ * active.
90142
90318
  *
90143
90319
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
90144
90320
  *
@@ -91629,7 +91805,7 @@ declare namespace sap {
91629
91805
  /**
91630
91806
  * The item to add; if empty, nothing is inserted
91631
91807
  */
91632
- oItem: sap.m.MenuItem
91808
+ oItem: sap.m.IMenuItem
91633
91809
  ): this;
91634
91810
  /**
91635
91811
  * Attaches event handler `fnFunction` to the {@link #event:closed closed} event of this `sap.m.Menu`.
@@ -91818,7 +91994,17 @@ declare namespace sap {
91818
91994
  *
91819
91995
  * Defines the items contained within this control.
91820
91996
  */
91821
- getItems(): sap.m.MenuItem[];
91997
+ getItems(): sap.m.IMenuItem[];
91998
+ /**
91999
+ * Returns an array containing the selected menu items. **Note:** Only items with `selected` property set
92000
+ * that are members of `MenuItemGroup` with `ItemSelectionMode` property set to {@link sap.ui.core.ItemSelectionMode.SingleSelect }
92001
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}> are taken into account.
92002
+ *
92003
+ * @since 1.127.0
92004
+ *
92005
+ * @returns Array of all selected items
92006
+ */
92007
+ getSelectedItems(): any[];
91822
92008
  /**
91823
92009
  * Gets current value of property {@link #getTitle title}.
91824
92010
  *
@@ -91829,7 +92015,7 @@ declare namespace sap {
91829
92015
  */
91830
92016
  getTitle(): string;
91831
92017
  /**
91832
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
92018
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
91833
92019
  * index if found or -1 otherwise.
91834
92020
  *
91835
92021
  *
@@ -91839,7 +92025,7 @@ declare namespace sap {
91839
92025
  /**
91840
92026
  * The item whose index is looked for
91841
92027
  */
91842
- oItem: sap.m.MenuItem
92028
+ oItem: sap.m.IMenuItem
91843
92029
  ): int;
91844
92030
  /**
91845
92031
  * Initializes the control.
@@ -91855,7 +92041,7 @@ declare namespace sap {
91855
92041
  /**
91856
92042
  * The item to insert; if empty, nothing is inserted
91857
92043
  */
91858
- oItem: sap.m.MenuItem,
92044
+ oItem: sap.m.IMenuItem,
91859
92045
  /**
91860
92046
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
91861
92047
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -91919,7 +92105,7 @@ declare namespace sap {
91919
92105
  *
91920
92106
  * @returns An array of the removed elements (might be empty)
91921
92107
  */
91922
- removeAllItems(): sap.m.MenuItem[];
92108
+ removeAllItems(): sap.m.IMenuItem[];
91923
92109
  /**
91924
92110
  * Removes a item from the aggregation {@link #getItems items}.
91925
92111
  *
@@ -91930,8 +92116,8 @@ declare namespace sap {
91930
92116
  /**
91931
92117
  * The item to remove or its index or id
91932
92118
  */
91933
- vItem: int | string | sap.m.MenuItem
91934
- ): sap.m.MenuItem | null;
92119
+ vItem: int | string | sap.m.IMenuItem
92120
+ ): sap.m.IMenuItem | null;
91935
92121
  /**
91936
92122
  * Sets the title of the `Menu`.
91937
92123
  *
@@ -92662,7 +92848,8 @@ declare namespace sap {
92662
92848
  *
92663
92849
  * @since 1.38
92664
92850
  */
92665
- class MenuItem extends sap.ui.core.Item {
92851
+ class MenuItem extends sap.ui.core.Item implements sap.m.IMenuItem {
92852
+ __implements__sap_m_IMenuItem: boolean;
92666
92853
  /**
92667
92854
  * Constructor for a new `MenuItem`.
92668
92855
  *
@@ -92735,7 +92922,7 @@ declare namespace sap {
92735
92922
  /**
92736
92923
  * The item to add; if empty, nothing is inserted
92737
92924
  */
92738
- oItem: sap.m.MenuItem
92925
+ oItem: sap.m.IMenuItem
92739
92926
  ): this;
92740
92927
  /**
92741
92928
  * Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
@@ -93013,14 +93200,26 @@ declare namespace sap {
93013
93200
  *
93014
93201
  * Defines the sub-items contained within this element.
93015
93202
  */
93016
- getItems(): sap.m.MenuItem[];
93203
+ getItems(): sap.m.IMenuItem[];
93204
+ /**
93205
+ * Gets current value of property {@link #getSelected selected}.
93206
+ *
93207
+ * Determines whether the `MenuItem` is selected. A selected `MenuItem` has a check mark rendered at its
93208
+ * end. **Note: ** selection functionality works only if the menu item is a member of `MenuItemGroup` with
93209
+ * `itemSelectionMode` set to {@link sap.ui.core.ItemSelectionMode.SingleSelect} or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}.
93210
+ *
93211
+ * Default value is `false`.
93212
+ *
93213
+ * @since 1.127.0
93214
+ *
93215
+ * @returns Value of property `selected`
93216
+ */
93217
+ getSelected(): boolean;
93017
93218
  /**
93018
93219
  * Gets current value of property {@link #getShortcutText shortcutText}.
93019
93220
  *
93020
93221
  * 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.
93222
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
93024
93223
  *
93025
93224
  * Default value is `empty string`.
93026
93225
  *
@@ -93053,7 +93252,7 @@ declare namespace sap {
93053
93252
  */
93054
93253
  getVisible(): boolean;
93055
93254
  /**
93056
- * Checks for the provided `sap.m.MenuItem` in the aggregation {@link #getItems items}. and returns its
93255
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
93057
93256
  * index if found or -1 otherwise.
93058
93257
  *
93059
93258
  *
@@ -93063,7 +93262,7 @@ declare namespace sap {
93063
93262
  /**
93064
93263
  * The item whose index is looked for
93065
93264
  */
93066
- oItem: sap.m.MenuItem
93265
+ oItem: sap.m.IMenuItem
93067
93266
  ): int;
93068
93267
  /**
93069
93268
  * Inserts a item into the aggregation {@link #getItems items}.
@@ -93075,7 +93274,7 @@ declare namespace sap {
93075
93274
  /**
93076
93275
  * The item to insert; if empty, nothing is inserted
93077
93276
  */
93078
- oItem: sap.m.MenuItem,
93277
+ oItem: sap.m.IMenuItem,
93079
93278
  /**
93080
93279
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
93081
93280
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -93091,7 +93290,7 @@ declare namespace sap {
93091
93290
  *
93092
93291
  * @returns An array of the removed elements (might be empty)
93093
93292
  */
93094
- removeAllItems(): sap.m.MenuItem[];
93293
+ removeAllItems(): sap.m.IMenuItem[];
93095
93294
  /**
93096
93295
  * Removes a item from the aggregation {@link #getItems items}.
93097
93296
  *
@@ -93102,8 +93301,8 @@ declare namespace sap {
93102
93301
  /**
93103
93302
  * The item to remove or its index or id
93104
93303
  */
93105
- vItem: int | string | sap.m.MenuItem
93106
- ): sap.m.MenuItem | null;
93304
+ vItem: int | string | sap.m.IMenuItem
93305
+ ): sap.m.IMenuItem | null;
93107
93306
  /**
93108
93307
  * Sets a new value for property {@link #getIcon icon}.
93109
93308
  *
@@ -93124,9 +93323,7 @@ declare namespace sap {
93124
93323
  * Sets a new value for property {@link #getShortcutText shortcutText}.
93125
93324
  *
93126
93325
  * 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.
93326
+ * The text is only displayed and set as а value of the `aria-keyshortcuts` attribute.
93130
93327
  *
93131
93328
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
93132
93329
  *
@@ -93187,6 +93384,201 @@ declare namespace sap {
93187
93384
  */
93188
93385
  unbindItems(): this;
93189
93386
  }
93387
+ /**
93388
+ * Group item to be used inside a menu. Represents a collection of menu items that can have the same selection
93389
+ * mode (e.g. {@link sap.ui.core.ItemSelectionMode.None}, {@link sap.ui.core.ItemSelectionMode.SingleSelect},
93390
+ * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}).
93391
+ *
93392
+ * @since 1.127.0
93393
+ */
93394
+ class MenuItemGroup extends sap.ui.core.Element implements sap.m.IMenuItem {
93395
+ __implements__sap_m_IMenuItem: boolean;
93396
+ /**
93397
+ * Constructor for a new MenuItemGroup element.
93398
+ *
93399
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
93400
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
93401
+ * of the syntax of the settings object.
93402
+ */
93403
+ constructor(
93404
+ /**
93405
+ * Initial settings for the new control
93406
+ */
93407
+ mSettings?: sap.m.$MenuItemGroupSettings
93408
+ );
93409
+ /**
93410
+ * Constructor for a new MenuItemGroup element.
93411
+ *
93412
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
93413
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
93414
+ * of the syntax of the settings object.
93415
+ */
93416
+ constructor(
93417
+ /**
93418
+ * ID for the new control, generated automatically if no ID is given
93419
+ */
93420
+ sId?: string,
93421
+ /**
93422
+ * Initial settings for the new control
93423
+ */
93424
+ mSettings?: sap.m.$MenuItemGroupSettings
93425
+ );
93426
+
93427
+ /**
93428
+ * Creates a new subclass of class sap.m.MenuItemGroup with name `sClassName` and enriches it with the information
93429
+ * contained in `oClassInfo`.
93430
+ *
93431
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
93432
+ *
93433
+ *
93434
+ * @returns Created class / constructor function
93435
+ */
93436
+ static extend<T extends Record<string, unknown>>(
93437
+ /**
93438
+ * Name of the class being created
93439
+ */
93440
+ sClassName: string,
93441
+ /**
93442
+ * Object literal with information about the class
93443
+ */
93444
+ oClassInfo?: sap.ClassInfo<T, sap.m.MenuItemGroup>,
93445
+ /**
93446
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
93447
+ * used by this class
93448
+ */
93449
+ FNMetaImpl?: Function
93450
+ ): Function;
93451
+ /**
93452
+ * Returns a metadata object for class sap.m.MenuItemGroup.
93453
+ *
93454
+ *
93455
+ * @returns Metadata object describing this class
93456
+ */
93457
+ static getMetadata(): sap.ui.core.ElementMetadata;
93458
+ /**
93459
+ * Adds an item to `items` aggregation.
93460
+ *
93461
+ *
93462
+ * @returns `this` to allow method chaining
93463
+ */
93464
+ addItem(
93465
+ /**
93466
+ * Menu item to be added
93467
+ */
93468
+ oItem: sap.m.IMenuItem,
93469
+ /**
93470
+ * Whether to suppress the invalidation of the control
93471
+ */
93472
+ bSuppressInvalidate: boolean
93473
+ ): this;
93474
+ /**
93475
+ * Destroys all items from `items` aggregation.
93476
+ *
93477
+ *
93478
+ * @returns `this` to allow method chaining
93479
+ */
93480
+ destroyItems(
93481
+ /**
93482
+ * Whether to suppress the invalidation of the control
93483
+ */
93484
+ bSuppressInvalidate: boolean
93485
+ ): this;
93486
+ /**
93487
+ * Gets content of aggregation {@link #getItems items}.
93488
+ *
93489
+ * The available items of the menu. **Note:** Adding MenuItemGroup as an item to the MenuItemGroup is not
93490
+ * supported.
93491
+ */
93492
+ getItems(): sap.m.IMenuItem[];
93493
+ /**
93494
+ * Gets current value of property {@link #getItemSelectionMode itemSelectionMode}.
93495
+ *
93496
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
93497
+ *
93498
+ * Default value is `None`.
93499
+ *
93500
+ *
93501
+ * @returns Value of property `itemSelectionMode`
93502
+ */
93503
+ getItemSelectionMode(): sap.ui.core.ItemSelectionMode;
93504
+ /**
93505
+ * Checks for the provided `sap.m.IMenuItem` in the aggregation {@link #getItems items}. and returns its
93506
+ * index if found or -1 otherwise.
93507
+ *
93508
+ *
93509
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
93510
+ */
93511
+ indexOfItem(
93512
+ /**
93513
+ * The item whose index is looked for
93514
+ */
93515
+ oItem: sap.m.IMenuItem
93516
+ ): int;
93517
+ /**
93518
+ * Inserts an item to the specified position in `items` aggregation.
93519
+ *
93520
+ *
93521
+ * @returns `this` to allow method chaining
93522
+ */
93523
+ insertItem(
93524
+ /**
93525
+ * Menu item to be added
93526
+ */
93527
+ oItem: sap.m.IMenuItem,
93528
+ /**
93529
+ * Index at which the item should be inserted
93530
+ */
93531
+ iIndex: int,
93532
+ /**
93533
+ * Whether to suppress the invalidation of the control
93534
+ */
93535
+ bSuppressInvalidate: boolean
93536
+ ): this;
93537
+ /**
93538
+ * Removes all items from `items` aggregation.
93539
+ *
93540
+ *
93541
+ * @returns array containing the removed items, or `null` if there are no items to remove
93542
+ */
93543
+ removeAllItems(
93544
+ /**
93545
+ * Whether to suppress the invalidation of the control
93546
+ */
93547
+ bSuppressInvalidate: boolean
93548
+ ): any[] | null;
93549
+ /**
93550
+ * Removes an item from `items` aggregation.
93551
+ *
93552
+ *
93553
+ * @returns the removed object, or `null` if there are no items to remove
93554
+ */
93555
+ removeItem(
93556
+ /**
93557
+ * Menu item to be removed (as index, ID or object)
93558
+ */
93559
+ vItem: int | string | sap.m.IMenuItem,
93560
+ /**
93561
+ * Whether to suppress the invalidation of the control
93562
+ */
93563
+ bSuppressInvalidate: boolean
93564
+ ): sap.m.IMenuItem | null;
93565
+ /**
93566
+ * Override of the default setter that also ensures single selection if necessary.
93567
+ *
93568
+ *
93569
+ * @returns `this` to allow method chaining
93570
+ */
93571
+ setItemSelectionMode(
93572
+ /**
93573
+ * item selection mode to be set
93574
+ */
93575
+ sSelectionMode: string,
93576
+ /**
93577
+ * Whether to suppress the invalidation of the control
93578
+ */
93579
+ bSuppressInvalidate: boolean
93580
+ ): this;
93581
+ }
93190
93582
  /**
93191
93583
  * A wrapper control used to hold different types of system messages. Structure: The message item holds
93192
93584
  * the basic set of properties for a system message:
@@ -117543,6 +117935,19 @@ declare namespace sap {
117543
117935
  */
117544
117936
  oIntervalHeader: sap.ui.unified.CalendarAppointment
117545
117937
  ): this;
117938
+ /**
117939
+ * Adds some nonWorkingPeriod to the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
117940
+ *
117941
+ * @since 1.128
117942
+ *
117943
+ * @returns Reference to `this` in order to allow method chaining
117944
+ */
117945
+ addNonWorkingPeriod(
117946
+ /**
117947
+ * The nonWorkingPeriod to add; if empty, nothing is inserted
117948
+ */
117949
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod
117950
+ ): this;
117546
117951
  /**
117547
117952
  * Adds some specialDate to the aggregation {@link #getSpecialDates specialDates}.
117548
117953
  *
@@ -117796,6 +118201,14 @@ declare namespace sap {
117796
118201
  * @returns Reference to `this` in order to allow method chaining
117797
118202
  */
117798
118203
  destroyIntervalHeaders(): this;
118204
+ /**
118205
+ * Destroys all the nonWorkingPeriods in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
118206
+ *
118207
+ * @since 1.128
118208
+ *
118209
+ * @returns Reference to `this` in order to allow method chaining
118210
+ */
118211
+ destroyNonWorkingPeriods(): this;
117799
118212
  /**
117800
118213
  * Destroys all the specialDates in the aggregation {@link #getSpecialDates specialDates}.
117801
118214
  *
@@ -117984,13 +118397,13 @@ declare namespace sap {
117984
118397
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
117985
118398
  *
117986
118399
  * Hours:
117987
- * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
118400
+ * For views where the displayed intervals are hours, the placeholder snaps on every interval of 15 minutes.
117988
118401
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
117989
118402
  * containing the new start and end UI5Date or JavaScript Date objects.
117990
118403
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
117991
118404
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
117992
- * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
117993
- * 30 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
118405
+ * date has time that is either "hh:00:00" or "hh:15:00" because of the placeholder that can snap on every
118406
+ * 15 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
117994
118407
  * "hh:27:30" or "hh:57:30".
117995
118408
  *
117996
118409
  * Days:
@@ -118053,7 +118466,7 @@ declare namespace sap {
118053
118466
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
118054
118467
  *
118055
118468
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
118056
- * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
118469
+ * 15 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
118057
118470
  * is fired, containing the new start and end UI5Date or JavaScript Date objects.
118058
118471
  *
118059
118472
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
@@ -118159,6 +118572,14 @@ declare namespace sap {
118159
118572
  * @returns Value of property `nonWorkingHours`
118160
118573
  */
118161
118574
  getNonWorkingHours(): int[];
118575
+ /**
118576
+ * Gets content of aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
118577
+ *
118578
+ * Sets the provided period to be displayed as a non-working.
118579
+ *
118580
+ * @since 1.128
118581
+ */
118582
+ getNonWorkingPeriods(): sap.ui.unified.NonWorkingPeriod[];
118162
118583
  /**
118163
118584
  * Gets current value of property {@link #getRowHeaderDescription rowHeaderDescription}.
118164
118585
  *
@@ -118254,6 +118675,20 @@ declare namespace sap {
118254
118675
  */
118255
118676
  oIntervalHeader: sap.ui.unified.CalendarAppointment
118256
118677
  ): int;
118678
+ /**
118679
+ * Checks for the provided `sap.ui.unified.NonWorkingPeriod` in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
118680
+ * and returns its index if found or -1 otherwise.
118681
+ *
118682
+ * @since 1.128
118683
+ *
118684
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
118685
+ */
118686
+ indexOfNonWorkingPeriod(
118687
+ /**
118688
+ * The nonWorkingPeriod whose index is looked for
118689
+ */
118690
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod
118691
+ ): int;
118257
118692
  /**
118258
118693
  * Checks for the provided `sap.ui.unified.DateTypeRange` in the aggregation {@link #getSpecialDates specialDates}.
118259
118694
  * and returns its index if found or -1 otherwise.
@@ -118323,6 +118758,25 @@ declare namespace sap {
118323
118758
  */
118324
118759
  iIndex: int
118325
118760
  ): this;
118761
+ /**
118762
+ * Inserts a nonWorkingPeriod into the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
118763
+ *
118764
+ * @since 1.128
118765
+ *
118766
+ * @returns Reference to `this` in order to allow method chaining
118767
+ */
118768
+ insertNonWorkingPeriod(
118769
+ /**
118770
+ * The nonWorkingPeriod to insert; if empty, nothing is inserted
118771
+ */
118772
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod,
118773
+ /**
118774
+ * The `0`-based index the nonWorkingPeriod should be inserted at; for a negative value of `iIndex`, the
118775
+ * nonWorkingPeriod is inserted at position 0; for a value greater than the current size of the aggregation,
118776
+ * the nonWorkingPeriod is inserted at the last position
118777
+ */
118778
+ iIndex: int
118779
+ ): this;
118326
118780
  /**
118327
118781
  * Inserts a specialDate into the aggregation {@link #getSpecialDates specialDates}.
118328
118782
  *
@@ -118370,6 +118824,16 @@ declare namespace sap {
118370
118824
  * @returns An array of the removed elements (might be empty)
118371
118825
  */
118372
118826
  removeAllIntervalHeaders(): sap.ui.unified.CalendarAppointment[];
118827
+ /**
118828
+ * Removes all the controls from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
118829
+ *
118830
+ * Additionally, it unregisters them from the hosting UIArea.
118831
+ *
118832
+ * @since 1.128
118833
+ *
118834
+ * @returns An array of the removed elements (might be empty)
118835
+ */
118836
+ removeAllNonWorkingPeriods(): sap.ui.unified.NonWorkingPeriod[];
118373
118837
  /**
118374
118838
  * Removes all the controls from the aggregation {@link #getSpecialDates specialDates}.
118375
118839
  *
@@ -118417,6 +118881,19 @@ declare namespace sap {
118417
118881
  */
118418
118882
  vIntervalHeader: int | string | sap.ui.unified.CalendarAppointment
118419
118883
  ): sap.ui.unified.CalendarAppointment | null;
118884
+ /**
118885
+ * Removes a nonWorkingPeriod from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
118886
+ *
118887
+ * @since 1.128
118888
+ *
118889
+ * @returns The removed nonWorkingPeriod or `null`
118890
+ */
118891
+ removeNonWorkingPeriod(
118892
+ /**
118893
+ * The nonWorkingPeriod to remove or its index or id
118894
+ */
118895
+ vNonWorkingPeriod: int | string | sap.ui.unified.NonWorkingPeriod
118896
+ ): sap.ui.unified.NonWorkingPeriod | null;
118420
118897
  /**
118421
118898
  * Removes a specialDate from the aggregation {@link #getSpecialDates specialDates}.
118422
118899
  *
@@ -118469,13 +118946,13 @@ declare namespace sap {
118469
118946
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
118470
118947
  *
118471
118948
  * Hours:
118472
- * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
118949
+ * For views where the displayed intervals are hours, the placeholder snaps on every interval of 15 minutes.
118473
118950
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
118474
118951
  * containing the new start and end UI5Date or JavaScript Date objects.
118475
118952
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
118476
118953
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
118477
- * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
118478
- * 30 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
118954
+ * date has time that is either "hh:00:00" or "hh:15:00" because of the placeholder that can snap on every
118955
+ * 15 minutes. The new end date is calculated to be 27 minutes and 30 seconds later and would be either
118479
118956
  * "hh:27:30" or "hh:57:30".
118480
118957
  *
118481
118958
  * Days:
@@ -118545,7 +119022,7 @@ declare namespace sap {
118545
119022
  * Specifics based on the intervals (hours, days or months) displayed in the `PlanningCalendar` views:
118546
119023
  *
118547
119024
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
118548
- * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
119025
+ * 15 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
118549
119026
  * is fired, containing the new start and end UI5Date or JavaScript Date objects.
118550
119027
  *
118551
119028
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
@@ -134432,6 +134909,19 @@ declare namespace sap {
134432
134909
  */
134433
134910
  oAppointment: sap.ui.unified.CalendarAppointment
134434
134911
  ): this;
134912
+ /**
134913
+ * Adds some nonWorkingPeriod to the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
134914
+ *
134915
+ * @since 1.128
134916
+ *
134917
+ * @returns Reference to `this` in order to allow method chaining
134918
+ */
134919
+ addNonWorkingPeriod(
134920
+ /**
134921
+ * The nonWorkingPeriod to add; if empty, nothing is inserted
134922
+ */
134923
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod
134924
+ ): this;
134435
134925
  /**
134436
134926
  * Adds a selected date to the grid.
134437
134927
  *
@@ -135048,6 +135538,14 @@ declare namespace sap {
135048
135538
  * @returns Reference to `this` in order to allow method chaining
135049
135539
  */
135050
135540
  destroyAppointments(): this;
135541
+ /**
135542
+ * Destroys all the nonWorkingPeriods in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
135543
+ *
135544
+ * @since 1.128
135545
+ *
135546
+ * @returns Reference to `this` in order to allow method chaining
135547
+ */
135548
+ destroyNonWorkingPeriods(): this;
135051
135549
  /**
135052
135550
  * Destroys all the selectedDates in the aggregation {@link #getSelectedDates selectedDates}.
135053
135551
  *
@@ -135597,6 +136095,16 @@ declare namespace sap {
135597
136095
  * @since 1.65.0
135598
136096
  */
135599
136097
  getLegend(): sap.ui.core.ID | null;
136098
+ /**
136099
+ * Gets content of aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
136100
+ *
136101
+ * Sets the provided period to be displayed as a non-working.
136102
+ *
136103
+ * **Note:** The visualization of non-working periods is present in all views that include hours representation.
136104
+ *
136105
+ * @since 1.128
136106
+ */
136107
+ getNonWorkingPeriods(): sap.ui.unified.NonWorkingPeriod[];
135600
136108
  /**
135601
136109
  * Gets current value of property {@link #getScaleFactor scaleFactor}.
135602
136110
  *
@@ -135768,6 +136276,20 @@ declare namespace sap {
135768
136276
  */
135769
136277
  oAppointment: sap.ui.unified.CalendarAppointment
135770
136278
  ): int;
136279
+ /**
136280
+ * Checks for the provided `sap.ui.unified.NonWorkingPeriod` in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
136281
+ * and returns its index if found or -1 otherwise.
136282
+ *
136283
+ * @since 1.128
136284
+ *
136285
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
136286
+ */
136287
+ indexOfNonWorkingPeriod(
136288
+ /**
136289
+ * The nonWorkingPeriod whose index is looked for
136290
+ */
136291
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod
136292
+ ): int;
135771
136293
  /**
135772
136294
  * Checks for the provided `sap.ui.unified.DateRange` in the aggregation {@link #getSelectedDates selectedDates}.
135773
136295
  * and returns its index if found or -1 otherwise.
@@ -135844,6 +136366,25 @@ declare namespace sap {
135844
136366
  */
135845
136367
  iIndex: int
135846
136368
  ): this;
136369
+ /**
136370
+ * Inserts a nonWorkingPeriod into the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
136371
+ *
136372
+ * @since 1.128
136373
+ *
136374
+ * @returns Reference to `this` in order to allow method chaining
136375
+ */
136376
+ insertNonWorkingPeriod(
136377
+ /**
136378
+ * The nonWorkingPeriod to insert; if empty, nothing is inserted
136379
+ */
136380
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod,
136381
+ /**
136382
+ * The `0`-based index the nonWorkingPeriod should be inserted at; for a negative value of `iIndex`, the
136383
+ * nonWorkingPeriod is inserted at position 0; for a value greater than the current size of the aggregation,
136384
+ * the nonWorkingPeriod is inserted at the last position
136385
+ */
136386
+ iIndex: int
136387
+ ): this;
135847
136388
  /**
135848
136389
  * Inserts a selectedDate into the aggregation {@link #getSelectedDates selectedDates}.
135849
136390
  *
@@ -135929,6 +136470,16 @@ declare namespace sap {
135929
136470
  * @returns An array of the removed elements (might be empty)
135930
136471
  */
135931
136472
  removeAllAppointments(): sap.ui.unified.CalendarAppointment[];
136473
+ /**
136474
+ * Removes all the controls from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
136475
+ *
136476
+ * Additionally, it unregisters them from the hosting UIArea.
136477
+ *
136478
+ * @since 1.128
136479
+ *
136480
+ * @returns An array of the removed elements (might be empty)
136481
+ */
136482
+ removeAllNonWorkingPeriods(): sap.ui.unified.NonWorkingPeriod[];
135932
136483
  /**
135933
136484
  * Removes the selected dates of the grid.
135934
136485
  *
@@ -135967,6 +136518,19 @@ declare namespace sap {
135967
136518
  */
135968
136519
  vAppointment: int | string | sap.ui.unified.CalendarAppointment
135969
136520
  ): sap.ui.unified.CalendarAppointment | null;
136521
+ /**
136522
+ * Removes a nonWorkingPeriod from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
136523
+ *
136524
+ * @since 1.128
136525
+ *
136526
+ * @returns The removed nonWorkingPeriod or `null`
136527
+ */
136528
+ removeNonWorkingPeriod(
136529
+ /**
136530
+ * The nonWorkingPeriod to remove or its index or id
136531
+ */
136532
+ vNonWorkingPeriod: int | string | sap.ui.unified.NonWorkingPeriod
136533
+ ): sap.ui.unified.NonWorkingPeriod | null;
135970
136534
  /**
135971
136535
  * Removes a selectedDate from the aggregation {@link #getSelectedDates selectedDates}.
135972
136536
  *
@@ -166361,9 +166925,12 @@ declare namespace sap {
166361
166925
  */
166362
166926
  type OverflowToolbarConfig = {
166363
166927
  /**
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.
166928
+ * A boolean that tells whether the control can move to the overflow menu or not. **Notes:**
166929
+ * - Even if `canOverflow` is set to `false`, the `propsUnrelatedToSize` field is taken into account,
166930
+ * allowing to optimize the behavior of controls that do not need to overflow, but are used in an `sap.m.OverflowToolbar`
166931
+ * regardless.
166932
+ * - If `canOverflow` is not provided, its default value is `false`. In this case, the control is shown
166933
+ * in the content of the `sap.m.OverflowToolbar` but it's not possible to enter the overflow area.
166367
166934
  */
166368
166935
  canOverflow?: boolean;
166369
166936
  /**
@@ -169088,6 +169655,8 @@ declare namespace sap {
169088
169655
 
169089
169656
  "sap/m/MenuItem": undefined;
169090
169657
 
169658
+ "sap/m/MenuItemGroup": undefined;
169659
+
169091
169660
  "sap/m/MessageBox": undefined;
169092
169661
 
169093
169662
  "sap/m/MessageItem": undefined;
@@ -169168,6 +169737,8 @@ declare namespace sap {
169168
169737
 
169169
169738
  "sap/m/p13n/GroupPanel": undefined;
169170
169739
 
169740
+ "sap/m/p13n/MessageStrip": undefined;
169741
+
169171
169742
  "sap/m/p13n/MetadataHelper": undefined;
169172
169743
 
169173
169744
  "sap/m/p13n/modules/AdaptationProvider": undefined;