@sapui5/ts-types 1.136.2 → 1.138.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.
Files changed (70) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +2 -1
  3. package/types/sap.apf.d.ts +30 -3
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.cux.home.d.ts +263 -63
  8. package/types/sap.esh.search.ui.d.ts +71 -1
  9. package/types/sap.f.d.ts +1 -1
  10. package/types/sap.fe.ariba.d.ts +3 -0
  11. package/types/sap.fe.base.d.ts +1 -1
  12. package/types/sap.fe.controls.d.ts +1 -1
  13. package/types/sap.fe.core.d.ts +46 -6
  14. package/types/sap.fe.ina.d.ts +1 -1
  15. package/types/sap.fe.macros.d.ts +222 -65
  16. package/types/sap.fe.navigation.d.ts +1 -1
  17. package/types/sap.fe.placeholder.d.ts +1 -1
  18. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  19. package/types/sap.fe.templates.d.ts +1 -1
  20. package/types/sap.fe.test.d.ts +4 -3
  21. package/types/sap.fe.tools.d.ts +1 -1
  22. package/types/sap.feedback.ui.d.ts +1 -1
  23. package/types/sap.gantt.d.ts +1 -1
  24. package/types/sap.insights.d.ts +1 -1
  25. package/types/sap.m.d.ts +1216 -543
  26. package/types/sap.makit.d.ts +1 -1
  27. package/types/sap.me.d.ts +1 -1
  28. package/types/sap.ndc.d.ts +1 -1
  29. package/types/sap.ovp.d.ts +1 -1
  30. package/types/sap.rules.ui.d.ts +1 -1
  31. package/types/sap.sac.df.d.ts +34 -1
  32. package/types/sap.suite.ui.commons.d.ts +2 -2
  33. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  34. package/types/sap.suite.ui.microchart.d.ts +1 -1
  35. package/types/sap.tnt.d.ts +103 -16
  36. package/types/sap.ui.codeeditor.d.ts +1 -1
  37. package/types/sap.ui.commons.d.ts +1 -1
  38. package/types/sap.ui.comp.d.ts +70 -9
  39. package/types/sap.ui.core.d.ts +59 -50
  40. package/types/sap.ui.dt.d.ts +1 -1
  41. package/types/sap.ui.export.d.ts +216 -167
  42. package/types/sap.ui.fl.d.ts +3 -7
  43. package/types/sap.ui.generic.app.d.ts +1 -1
  44. package/types/sap.ui.generic.template.d.ts +1 -1
  45. package/types/sap.ui.integration.d.ts +44 -24
  46. package/types/sap.ui.layout.d.ts +1 -1
  47. package/types/{mdc-1.136.0-d.ts → sap.ui.mdc.d.ts} +597 -293
  48. package/types/sap.ui.richtexteditor.d.ts +21 -17
  49. package/types/sap.ui.rta.d.ts +1 -1
  50. package/types/sap.ui.suite.d.ts +1 -1
  51. package/types/sap.ui.support.d.ts +1 -1
  52. package/types/sap.ui.table.d.ts +1 -1
  53. package/types/sap.ui.testrecorder.d.ts +1 -1
  54. package/types/sap.ui.unified.d.ts +9 -1
  55. package/types/sap.ui.ux3.d.ts +1 -1
  56. package/types/sap.ui.vbm.d.ts +65 -29
  57. package/types/sap.ui.vk.d.ts +387 -100
  58. package/types/sap.ui.vtm.d.ts +7 -4
  59. package/types/sap.ui.webc.common.d.ts +1 -1
  60. package/types/sap.ui.webc.fiori.d.ts +1 -1
  61. package/types/sap.ui.webc.main.d.ts +1 -1
  62. package/types/sap.uiext.inbox.d.ts +1 -1
  63. package/types/sap.ushell.d.ts +55 -30
  64. package/types/sap.ushell_abap.d.ts +1 -1
  65. package/types/sap.uxap.d.ts +1 -1
  66. package/types/sap.viz.d.ts +1 -1
  67. package/types/sap.webanalytics.core.d.ts +1 -1
  68. package/types/sap.zen.commons.d.ts +1 -1
  69. package/types/sap.zen.crosstab.d.ts +1 -1
  70. package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.1
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -745,7 +745,11 @@ declare namespace sap {
745
745
  /**
746
746
  * The handler function to call when the event occurs
747
747
  */
748
- fnStateEventHandler: (p1: sap.ui.base.Event) => void
748
+ fnStateEventHandler: (p1: sap.ui.base.Event) => void,
749
+ /**
750
+ * The context object to call the event handler with (value of `this` in the event handler function).
751
+ */
752
+ oListener?: object
749
753
  ): this;
750
754
  /**
751
755
  * Unregisters a registered control. By unregistering a control the control is removed from the `Engine`
@@ -768,7 +772,11 @@ declare namespace sap {
768
772
  /**
769
773
  * The handler function to detach from the event
770
774
  */
771
- fnStateEventHandler: (p1: sap.ui.base.Event) => void
775
+ fnStateEventHandler: (p1: sap.ui.base.Event) => void,
776
+ /**
777
+ * The context object to call the event handler with (value of `this` in the event handler function).
778
+ */
779
+ oListener?: object
772
780
  ): this;
773
781
 
774
782
  register(
@@ -2481,7 +2489,16 @@ declare namespace sap {
2481
2489
  /**
2482
2490
  * Escape handler for sap.m.Dialog control.
2483
2491
  */
2484
- type EscapeHandler = (oHandlers: object) => void;
2492
+ type EscapeHandler = (oHandlers: {
2493
+ /**
2494
+ * Call this function if the dialog should be closed.
2495
+ */
2496
+ resolve: () => void;
2497
+ /**
2498
+ * Call this function if the dialog should not be closed.
2499
+ */
2500
+ reject: () => void;
2501
+ }) => void;
2485
2502
  }
2486
2503
 
2487
2504
  namespace MessageBox {
@@ -2540,27 +2557,27 @@ declare namespace sap {
2540
2557
  /**
2541
2558
  * Shows the error icon in the message box.
2542
2559
  */
2543
- ERROR = "undefined",
2560
+ ERROR = "ERROR",
2544
2561
  /**
2545
2562
  * Shows the information icon in the message box.
2546
2563
  */
2547
- INFORMATION = "undefined",
2564
+ INFORMATION = "INFORMATION",
2548
2565
  /**
2549
2566
  * Shows no icon in the message box.
2550
2567
  */
2551
- NONE = "undefined",
2568
+ NONE = "NONE",
2552
2569
  /**
2553
2570
  * Shows the question icon in the message box.
2554
2571
  */
2555
- QUESTION = "undefined",
2572
+ QUESTION = "QUESTION",
2556
2573
  /**
2557
2574
  * Shows the success icon in the message box.
2558
2575
  */
2559
- SUCCESS = "undefined",
2576
+ SUCCESS = "SUCCESS",
2560
2577
  /**
2561
2578
  * Shows the warning icon in the message box.
2562
2579
  */
2563
- WARNING = "undefined",
2580
+ WARNING = "WARNING",
2564
2581
  }
2565
2582
  }
2566
2583
 
@@ -14257,6 +14274,22 @@ declare namespace sap {
14257
14274
  >;
14258
14275
  }
14259
14276
 
14277
+ namespace SinglePlanningCalendar {
14278
+ /**
14279
+ * Object which contains the start and end dates in the currently visible range.
14280
+ */
14281
+ type VisibleDates = {
14282
+ /**
14283
+ * The start date in the currently visible range.
14284
+ */
14285
+ oStartDate?: Date | import("sap/ui/core/date/UI5Date").default;
14286
+ /**
14287
+ * The end date in the currently visible range.
14288
+ */
14289
+ oEndDate?: Date | import("sap/ui/core/date/UI5Date").default;
14290
+ };
14291
+ }
14292
+
14260
14293
  namespace table {
14261
14294
  namespace columnmenu {
14262
14295
  /**
@@ -14527,6 +14560,28 @@ declare namespace sap {
14527
14560
  | `{${string}}`;
14528
14561
  }
14529
14562
 
14563
+ /**
14564
+ * Describes the settings that can be provided to the QuickResize constructor.
14565
+ */
14566
+ interface $QuickResizeSettings
14567
+ extends sap.m.table.columnmenu.$QuickActionBaseSettings {
14568
+ /**
14569
+ * The width of the column.
14570
+ *
14571
+ * **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
14572
+ * have a built-in mechanism to automatically determine the value from the actual column width.
14573
+ */
14574
+ width?:
14575
+ | int
14576
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
14577
+ | `{${string}}`;
14578
+
14579
+ /**
14580
+ * Fires the change event.
14581
+ */
14582
+ change?: (oEvent: QuickResize$ChangeEvent) => void;
14583
+ }
14584
+
14530
14585
  /**
14531
14586
  * Describes the settings that can be provided to the QuickSort constructor.
14532
14587
  */
@@ -14651,6 +14706,16 @@ declare namespace sap {
14651
14706
  grouped?: boolean;
14652
14707
  }
14653
14708
 
14709
+ /**
14710
+ * Parameters of the QuickResize#change event.
14711
+ */
14712
+ interface QuickResize$ChangeEventParameters {
14713
+ /**
14714
+ * The new width.
14715
+ */
14716
+ width?: int;
14717
+ }
14718
+
14654
14719
  /**
14655
14720
  * Parameters of the QuickSort#change event.
14656
14721
  */
@@ -17062,6 +17127,191 @@ declare namespace sap {
17062
17127
  bGrouped?: boolean
17063
17128
  ): this;
17064
17129
  }
17130
+ /**
17131
+ * The `QuickResize` class is used for quick resizing of columns via the `sap.m.table.columnmenu.Menu`.
17132
+ * It can be used to specify quick actions for accessible column resizing.
17133
+ *
17134
+ * @since 1.137
17135
+ */
17136
+ class QuickResize extends sap.m.table.columnmenu.QuickActionBase {
17137
+ /**
17138
+ * Constructor for a new `QuickResize`.
17139
+ *
17140
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
17141
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
17142
+ * of the syntax of the settings object.
17143
+ */
17144
+ constructor(
17145
+ /**
17146
+ * Initial settings for the new `QuickResize`
17147
+ */
17148
+ mSettings?: sap.m.table.columnmenu.$QuickResizeSettings
17149
+ );
17150
+ /**
17151
+ * Constructor for a new `QuickResize`.
17152
+ *
17153
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
17154
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
17155
+ * of the syntax of the settings object.
17156
+ */
17157
+ constructor(
17158
+ /**
17159
+ * ID for the new `QuickResize`, generated automatically if no ID is given
17160
+ */
17161
+ sId?: string,
17162
+ /**
17163
+ * Initial settings for the new `QuickResize`
17164
+ */
17165
+ mSettings?: sap.m.table.columnmenu.$QuickResizeSettings
17166
+ );
17167
+
17168
+ /**
17169
+ * Creates a new subclass of class sap.m.table.columnmenu.QuickResize with name `sClassName` and enriches
17170
+ * it with the information contained in `oClassInfo`.
17171
+ *
17172
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.m.table.columnmenu.QuickActionBase.extend}.
17173
+ *
17174
+ *
17175
+ * @returns Created class / constructor function
17176
+ */
17177
+ static extend<T extends Record<string, unknown>>(
17178
+ /**
17179
+ * Name of the class being created
17180
+ */
17181
+ sClassName: string,
17182
+ /**
17183
+ * Object literal with information about the class
17184
+ */
17185
+ oClassInfo?: sap.ClassInfo<T, sap.m.table.columnmenu.QuickResize>,
17186
+ /**
17187
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
17188
+ * used by this class
17189
+ */
17190
+ FNMetaImpl?: Function
17191
+ ): Function;
17192
+ /**
17193
+ * Returns a metadata object for class sap.m.table.columnmenu.QuickResize.
17194
+ *
17195
+ *
17196
+ * @returns Metadata object describing this class
17197
+ */
17198
+ static getMetadata(): sap.ui.core.ElementMetadata;
17199
+ /**
17200
+ * Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
17201
+ *
17202
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
17203
+ * otherwise it will be bound to this `sap.m.table.columnmenu.QuickResize` itself.
17204
+ *
17205
+ * Fires the change event.
17206
+ *
17207
+ *
17208
+ * @returns Reference to `this` in order to allow method chaining
17209
+ */
17210
+ attachChange(
17211
+ /**
17212
+ * An application-specific payload object that will be passed to the event handler along with the event
17213
+ * object when firing the event
17214
+ */
17215
+ oData: object,
17216
+ /**
17217
+ * The function to be called when the event occurs
17218
+ */
17219
+ fnFunction: (p1: QuickResize$ChangeEvent) => void,
17220
+ /**
17221
+ * Context object to call the event handler with. Defaults to this `sap.m.table.columnmenu.QuickResize`
17222
+ * itself
17223
+ */
17224
+ oListener?: object
17225
+ ): this;
17226
+ /**
17227
+ * Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
17228
+ *
17229
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
17230
+ * otherwise it will be bound to this `sap.m.table.columnmenu.QuickResize` itself.
17231
+ *
17232
+ * Fires the change event.
17233
+ *
17234
+ *
17235
+ * @returns Reference to `this` in order to allow method chaining
17236
+ */
17237
+ attachChange(
17238
+ /**
17239
+ * The function to be called when the event occurs
17240
+ */
17241
+ fnFunction: (p1: QuickResize$ChangeEvent) => void,
17242
+ /**
17243
+ * Context object to call the event handler with. Defaults to this `sap.m.table.columnmenu.QuickResize`
17244
+ * itself
17245
+ */
17246
+ oListener?: object
17247
+ ): this;
17248
+ /**
17249
+ * Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
17250
+ *
17251
+ * The passed function and listener object must match the ones used for event registration.
17252
+ *
17253
+ *
17254
+ * @returns Reference to `this` in order to allow method chaining
17255
+ */
17256
+ detachChange(
17257
+ /**
17258
+ * The function to be called, when the event occurs
17259
+ */
17260
+ fnFunction: (p1: QuickResize$ChangeEvent) => void,
17261
+ /**
17262
+ * Context object on which the given function had to be called
17263
+ */
17264
+ oListener?: object
17265
+ ): this;
17266
+ /**
17267
+ * Fires event {@link #event:change change} to attached listeners.
17268
+ *
17269
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
17270
+ *
17271
+ * @returns Reference to `this` in order to allow method chaining
17272
+ */
17273
+ fireChange(
17274
+ /**
17275
+ * Parameters to pass along with the event
17276
+ */
17277
+ mParameters?: sap.m.table.columnmenu.QuickResize$ChangeEventParameters
17278
+ ): this;
17279
+ /**
17280
+ * Gets current value of property {@link #getWidth width}.
17281
+ *
17282
+ * The width of the column.
17283
+ *
17284
+ * **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
17285
+ * have a built-in mechanism to automatically determine the value from the actual column width.
17286
+ *
17287
+ * Default value is `200`.
17288
+ *
17289
+ *
17290
+ * @returns Value of property `width`
17291
+ */
17292
+ getWidth(): int;
17293
+ /**
17294
+ * Sets a new value for property {@link #getWidth width}.
17295
+ *
17296
+ * The width of the column.
17297
+ *
17298
+ * **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
17299
+ * have a built-in mechanism to automatically determine the value from the actual column width.
17300
+ *
17301
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
17302
+ *
17303
+ * Default value is `200`.
17304
+ *
17305
+ *
17306
+ * @returns Reference to `this` in order to allow method chaining
17307
+ */
17308
+ setWidth(
17309
+ /**
17310
+ * New value for property `width`
17311
+ */
17312
+ iWidth?: int
17313
+ ): this;
17314
+ }
17065
17315
  /**
17066
17316
  * The `QuickSort` class is used for quick sorting for the `sap.m.table.columnmenu.Menu`. It can be used
17067
17317
  * to specify control- and application-specific quick actions for sorting.
@@ -17824,6 +18074,14 @@ declare namespace sap {
17824
18074
  QuickGroup
17825
18075
  >;
17826
18076
 
18077
+ /**
18078
+ * Event object of the QuickResize#change event.
18079
+ */
18080
+ type QuickResize$ChangeEvent = sap.ui.base.Event<
18081
+ QuickResize$ChangeEventParameters,
18082
+ QuickResize
18083
+ >;
18084
+
17827
18085
  /**
17828
18086
  * Event object of the QuickSort#change event.
17829
18087
  */
@@ -25637,11 +25895,11 @@ declare namespace sap {
25637
25895
  /**
25638
25896
  * HTTP request POST method.
25639
25897
  */
25640
- Post = "POST",
25898
+ Post = "Post",
25641
25899
  /**
25642
25900
  * HTTP request PUT method.
25643
25901
  */
25644
- Put = "PUT",
25902
+ Put = "Put",
25645
25903
  }
25646
25904
  /**
25647
25905
  * Event object of the Uploader#uploadAborted event.
@@ -25920,7 +26178,7 @@ declare namespace sap {
25920
26178
  }
25921
26179
 
25922
26180
  /**
25923
- * Interface for controls which are suitable to be added as items of sap.m.Menu.
26181
+ * Interface definition for controls suitable to be used as items of `sap.m.Menu`.
25924
26182
  *
25925
26183
  * @since 1.127.0
25926
26184
  */
@@ -25928,6 +26186,41 @@ declare namespace sap {
25928
26186
  __implements__sap_m_IMenuItem: boolean;
25929
26187
  }
25930
26188
 
26189
+ /**
26190
+ * Interface definition for controls suitable to be used as items of `sap.m.Menu`. This interface is used
26191
+ * to define the behavior of the menu item.
26192
+ *
26193
+ * @since 1.137.0
26194
+ */
26195
+ interface IMenuItemBehavior {
26196
+ __implements__sap_m_IMenuItemBehavior: boolean;
26197
+
26198
+ /**
26199
+ * Returns whether the item can be counted in total items count. **Note:** This method can be overridden
26200
+ * by subclasses to implement custom behavior.
26201
+ *
26202
+ *
26203
+ * @returns Whether the item is counted in total items count
26204
+ */
26205
+ isCountable(): boolean;
26206
+ /**
26207
+ * Returns whether the item can be focused. **Note:** This method can be overridden by subclasses to implement
26208
+ * custom behavior.
26209
+ *
26210
+ *
26211
+ * @returns Whether the item is enabled for focus
26212
+ */
26213
+ isFocusable(): boolean;
26214
+ /**
26215
+ * Returns whether the firing of `press` event is allowed. **Note:** This method can be overridden by subclasses
26216
+ * to implement custom behavior.
26217
+ *
26218
+ *
26219
+ * @returns Whether the item is enabled for click/press
26220
+ */
26221
+ isInteractive(): boolean;
26222
+ }
26223
+
25931
26224
  /**
25932
26225
  * Interface for controls which can have special behavior inside `sap.m.OverflowToolbar`. Controls that
25933
26226
  * implement this interface must provide a `getOverflowToolbarConfig` method that accepts no arguments and
@@ -29810,17 +30103,6 @@ declare namespace sap {
29810
30103
  | sap.ui.base.ManagedObject.PropertyBindingInfo
29811
30104
  | `{${string}}`;
29812
30105
 
29813
- /**
29814
- * Contains {@link sap.m.FeedListItemAction elements} that are displayed in the action sheet.
29815
- *
29816
- * @since 1.52.0
29817
- */
29818
- actions?:
29819
- | sap.m.FeedListItemAction[]
29820
- | sap.m.FeedListItemAction
29821
- | sap.ui.base.ManagedObject.AggregationBindingInfo
29822
- | `{${string}}`;
29823
-
29824
30106
  /**
29825
30107
  * Event is fired when name of the sender is pressed.
29826
30108
  */
@@ -29835,33 +30117,13 @@ declare namespace sap {
29835
30117
  /**
29836
30118
  * Describes the settings that can be provided to the FeedListItemAction constructor.
29837
30119
  */
29838
- interface $FeedListItemActionSettings extends sap.ui.core.$ElementSettings {
29839
- /**
29840
- * The icon of the action.
29841
- */
29842
- icon?:
29843
- | sap.ui.core.URI
29844
- | sap.ui.base.ManagedObject.PropertyBindingInfo
29845
- | `{${string}}`;
29846
-
29847
- /**
29848
- * The text of the item. It is used as a tooltip and for accessibility reasons.
29849
- */
29850
- text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
29851
-
30120
+ interface $FeedListItemActionSettings
30121
+ extends sap.m.$ListItemActionBaseSettings {
29852
30122
  /**
29853
30123
  * The key of the item.
29854
30124
  */
29855
30125
  key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
29856
30126
 
29857
- /**
29858
- * Hides or shows a button on the UI.
29859
- */
29860
- visible?:
29861
- | boolean
29862
- | sap.ui.base.ManagedObject.PropertyBindingInfo
29863
- | `{${string}}`;
29864
-
29865
30127
  /**
29866
30128
  * Enables or disables a button on the UI. All buttons are enabled by default. Disabled buttons are colored
29867
30129
  * differently as per the theme of the UI.
@@ -31473,6 +31735,19 @@ declare namespace sap {
31473
31735
  | sap.ui.base.ManagedObject.PropertyBindingInfo
31474
31736
  | `{${string}}`;
31475
31737
 
31738
+ /**
31739
+ * Defines whether the illustration is decorative.
31740
+ *
31741
+ * When set to true, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG
31742
+ * element.
31743
+ *
31744
+ * @experimental As of version 1.138.
31745
+ */
31746
+ decorative?:
31747
+ | boolean
31748
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
31749
+ | `{${string}}`;
31750
+
31476
31751
  /**
31477
31752
  * Defines the controls placed below the description as additional content.
31478
31753
  *
@@ -31526,6 +31801,16 @@ declare namespace sap {
31526
31801
  */
31527
31802
  type?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
31528
31803
 
31804
+ /**
31805
+ * Defines whether the illustration is decorative.
31806
+ *
31807
+ * @experimental As of version 1.138.
31808
+ */
31809
+ decorative?:
31810
+ | boolean
31811
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
31812
+ | `{${string}}`;
31813
+
31529
31814
  /**
31530
31815
  * Association to controls / IDs which label those controls (see WAI-ARIA attribute aria-labelledBy).
31531
31816
  *
@@ -33048,6 +33333,23 @@ declare namespace sap {
33048
33333
  | sap.ui.base.ManagedObject.PropertyBindingInfo
33049
33334
  | `{${string}}`;
33050
33335
 
33336
+ /**
33337
+ * Defines the maximum number of item actions.
33338
+ *
33339
+ * If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
33340
+ * providing access to the additional actions.
33341
+ *
33342
+ * **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
33343
+ * {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
33344
+ * Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
33345
+ *
33346
+ * @since 1.137
33347
+ */
33348
+ itemActionCount?:
33349
+ | int
33350
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
33351
+ | `{${string}}`;
33352
+
33051
33353
  /**
33052
33354
  * Defines the items contained within this control.
33053
33355
  */
@@ -33184,6 +33486,39 @@ declare namespace sap {
33184
33486
  beforeOpenContextMenu?: (
33185
33487
  oEvent: ListBase$BeforeOpenContextMenuEvent
33186
33488
  ) => void;
33489
+
33490
+ /**
33491
+ * Fired when an item action is pressed.
33492
+ *
33493
+ * @since 1.137
33494
+ */
33495
+ itemActionPress?: (oEvent: ListBase$ItemActionPressEvent) => void;
33496
+ }
33497
+
33498
+ /**
33499
+ * Describes the settings that can be provided to the ListItemActionBase constructor.
33500
+ */
33501
+ interface $ListItemActionBaseSettings extends sap.ui.core.$ElementSettings {
33502
+ /**
33503
+ * Defines the icon of the action.
33504
+ */
33505
+ icon?:
33506
+ | sap.ui.core.URI
33507
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
33508
+ | `{${string}}`;
33509
+
33510
+ /**
33511
+ * Defines the text of the action.
33512
+ */
33513
+ text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
33514
+
33515
+ /**
33516
+ * Defines the visibility of the action.
33517
+ */
33518
+ visible?:
33519
+ | boolean
33520
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
33521
+ | `{${string}}`;
33187
33522
  }
33188
33523
 
33189
33524
  /**
@@ -33271,6 +33606,17 @@ declare namespace sap {
33271
33606
  | sap.ui.base.ManagedObject.PropertyBindingInfo
33272
33607
  | `{${string}}`;
33273
33608
 
33609
+ /**
33610
+ * Defines the actions contained within this control.
33611
+ *
33612
+ * @since 1.137
33613
+ */
33614
+ actions?:
33615
+ | sap.m.ListItemActionBase[]
33616
+ | sap.m.ListItemActionBase
33617
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
33618
+ | `{${string}}`;
33619
+
33274
33620
  /**
33275
33621
  * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
33276
33622
  *
@@ -33421,7 +33767,7 @@ declare namespace sap {
33421
33767
  *
33422
33768
  * @since 1.131
33423
33769
  */
33424
- beforeClose?: (oEvent: sap.ui.base.Event) => void;
33770
+ beforeClose?: (oEvent: Menu$BeforeCloseEvent) => void;
33425
33771
  }
33426
33772
 
33427
33773
  /**
@@ -33569,12 +33915,25 @@ declare namespace sap {
33569
33915
  /**
33570
33916
  * Describes the settings that can be provided to the MenuItem constructor.
33571
33917
  */
33572
- interface $MenuItemSettings extends sap.ui.core.$ItemSettings {
33918
+ interface $MenuItemSettings extends sap.ui.core.$ControlSettings {
33919
+ /**
33920
+ * The text to be displayed for the item.
33921
+ */
33922
+ text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
33923
+
33573
33924
  /**
33574
33925
  * Defines the icon, which belongs to the item. This can be a URI to an image or an icon font URI.
33575
33926
  */
33576
33927
  icon?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
33577
33928
 
33929
+ /**
33930
+ * Enabled items can be selected.
33931
+ */
33932
+ enabled?:
33933
+ | boolean
33934
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
33935
+ | `{${string}}`;
33936
+
33578
33937
  /**
33579
33938
  * Defines whether the item should be visible on the screen. If set to `false`, a placeholder is rendered
33580
33939
  * instead of the real item.
@@ -33612,7 +33971,20 @@ declare namespace sap {
33612
33971
  | `{${string}}`;
33613
33972
 
33614
33973
  /**
33615
- * Defines the sub-items contained within this element.
33974
+ * Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
33975
+ */
33976
+ textDirection?:
33977
+ | sap.ui.core.TextDirection
33978
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
33979
+ | `{${string}}`;
33980
+
33981
+ /**
33982
+ * Can be used as input for subsequent actions.
33983
+ */
33984
+ key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
33985
+
33986
+ /**
33987
+ * Defines the subitems contained within this element.
33616
33988
  */
33617
33989
  items?:
33618
33990
  | sap.m.IMenuItem[]
@@ -33624,6 +33996,10 @@ declare namespace sap {
33624
33996
  * Defines the content that is displayed at the end of a menu item. This aggregation allows for the addition
33625
33997
  * of custom elements, such as icons and buttons.
33626
33998
  *
33999
+ * **Note:** Application developers are responsible for ensuring that interactive `endContent` controls
34000
+ * have the correct accessibility behaviour, including their enabled or disabled states. The Menu
34001
+ * does not manage these aspects when the menu item state changes.
34002
+ *
33627
34003
  * @since 1.131
33628
34004
  */
33629
34005
  endContent?:
@@ -33636,16 +34012,6 @@ declare namespace sap {
33636
34012
  * Fired after the item has been pressed.
33637
34013
  */
33638
34014
  press?: (oEvent: sap.ui.base.Event) => void;
33639
-
33640
- /**
33641
- * Fired when a property of the item changes.
33642
- */
33643
- propertyChanged?: (oEvent: MenuItem$PropertyChangedEvent) => void;
33644
-
33645
- /**
33646
- * Fired when aggregation of the item changes.
33647
- */
33648
- aggregationChanged?: (oEvent: MenuItem$AggregationChangedEvent) => void;
33649
34015
  }
33650
34016
 
33651
34017
  /**
@@ -46426,6 +46792,21 @@ declare namespace sap {
46426
46792
  total?: int;
46427
46793
  }
46428
46794
 
46795
+ /**
46796
+ * Parameters of the ListBase#itemActionPress event.
46797
+ */
46798
+ interface ListBase$ItemActionPressEventParameters {
46799
+ /**
46800
+ * The list item action that fired the event
46801
+ */
46802
+ itemAction?: sap.m.ListItemAction;
46803
+
46804
+ /**
46805
+ * The list item in which the action was performed
46806
+ */
46807
+ listItem?: sap.m.ListItemBase;
46808
+ }
46809
+
46429
46810
  /**
46430
46811
  * Parameters of the ListBase#itemPress event.
46431
46812
  */
@@ -46598,7 +46979,12 @@ declare namespace sap {
46598
46979
  /**
46599
46980
  * Parameters of the Menu#beforeClose event.
46600
46981
  */
46601
- interface Menu$BeforeCloseEventParameters {}
46982
+ interface Menu$BeforeCloseEventParameters {
46983
+ /**
46984
+ * The `MenuItem` which was selected (if any).
46985
+ */
46986
+ item?: sap.m.IMenuItem;
46987
+ }
46602
46988
 
46603
46989
  /**
46604
46990
  * Parameters of the Menu#closed event.
@@ -46612,7 +46998,7 @@ declare namespace sap {
46612
46998
  /**
46613
46999
  * The `MenuItem` which was selected.
46614
47000
  */
46615
- item?: sap.m.MenuItem;
47001
+ item?: sap.m.IMenuItem;
46616
47002
  }
46617
47003
 
46618
47004
  /**
@@ -46625,46 +47011,11 @@ declare namespace sap {
46625
47011
  */
46626
47012
  interface MenuButton$DefaultActionEventParameters {}
46627
47013
 
46628
- /**
46629
- * Parameters of the MenuItem#aggregationChanged event.
46630
- */
46631
- interface MenuItem$AggregationChangedEventParameters {
46632
- /**
46633
- * The aggregation name of the changed aggregation.
46634
- */
46635
- aggregationName?: string;
46636
-
46637
- /**
46638
- * Which method changed the aggregation.
46639
- */
46640
- methodName?: string;
46641
-
46642
- /**
46643
- * What parameters were used to change the aggregation.
46644
- */
46645
- methodParams?: object;
46646
- }
46647
-
46648
47014
  /**
46649
47015
  * Parameters of the MenuItem#press event.
46650
47016
  */
46651
47017
  interface MenuItem$PressEventParameters {}
46652
47018
 
46653
- /**
46654
- * Parameters of the MenuItem#propertyChanged event.
46655
- */
46656
- interface MenuItem$PropertyChangedEventParameters {
46657
- /**
46658
- * The property name to be changed.
46659
- */
46660
- propertyKey?: string;
46661
-
46662
- /**
46663
- * The new property value.
46664
- */
46665
- propertyValue?: any;
46666
- }
46667
-
46668
47019
  /**
46669
47020
  * Parameters of the MessagePage#navButtonPress event.
46670
47021
  */
@@ -51733,8 +52084,8 @@ declare namespace sap {
51733
52084
  * sap.m.MessageToast.show("This message should appear in the message toast", {
51734
52085
  * duration: 3000, // default
51735
52086
  * width: "15em", // default
51736
- * my: "center bottom", // default
51737
- * at: "center bottom", // default
52087
+ * my: "CenterBottom", // default
52088
+ * at: "CenterBottom", // default
51738
52089
  * of: window, // default
51739
52090
  * offset: "0 0", // default
51740
52091
  * collision: "fit fit", // default
@@ -51754,7 +52105,8 @@ declare namespace sap {
51754
52105
  * - You want to make sure that users read the message before they leave the page.
51755
52106
  * - You want users to be able to copy some part of the message text. (In this case, show a success {@link sap.m.Dialog Message Dialog}.)
51756
52107
  * Responsive Behavior: The message toast has the same behavior on all devices. However, you can adjust
51757
- * the width of the control, for example, for use on a desktop device.
52108
+ * the width of the control depending on the device you're using, for example desktop. Note that the width
52109
+ * can be customized up to a maximum of 15rem.
51758
52110
  * See:
51759
52111
  * {@link fiori:https://experience.sap.com/fiori-design-web/message-toast/ Message Toast}
51760
52112
  *
@@ -72296,7 +72648,9 @@ declare namespace sap {
72296
72648
  /**
72297
72649
  * The control provides a set of properties for text, sender information, time stamp. Beginning with release
72298
72650
  * 1.23 the new feature expand / collapse was introduced, which uses the property maxCharacters. Beginning
72299
- * with release 1.44, sap.m.FormattedText was introduced which allows html formatted text to be displayed
72651
+ * with release 1.44, sap.m.FormattedText was introduced which allows html formatted text to be displayed.
72652
+ * The `actions` aggregation must contain instances of {@link sap.m.FeedListItemAction} in order to display
72653
+ * them in the action sheet.
72300
72654
  *
72301
72655
  * @since 1.12
72302
72656
  */
@@ -72363,19 +72717,6 @@ declare namespace sap {
72363
72717
  * @returns Metadata object describing this class
72364
72718
  */
72365
72719
  static getMetadata(): sap.ui.core.ElementMetadata;
72366
- /**
72367
- * Adds some action to the aggregation {@link #getActions actions}.
72368
- *
72369
- * @since 1.52.0
72370
- *
72371
- * @returns Reference to `this` in order to allow method chaining
72372
- */
72373
- addAction(
72374
- /**
72375
- * The action to add; if empty, nothing is inserted
72376
- */
72377
- oAction: sap.m.FeedListItemAction
72378
- ): this;
72379
72720
  /**
72380
72721
  * Attaches event handler `fnFunction` to the {@link #event:iconPress iconPress} event of this `sap.m.FeedListItem`.
72381
72722
  *
@@ -72470,14 +72811,6 @@ declare namespace sap {
72470
72811
  */
72471
72812
  oListener?: object
72472
72813
  ): this;
72473
- /**
72474
- * Destroys all the actions in the aggregation {@link #getActions actions}.
72475
- *
72476
- * @since 1.52.0
72477
- *
72478
- * @returns Reference to `this` in order to allow method chaining
72479
- */
72480
- destroyActions(): this;
72481
72814
  /**
72482
72815
  * Detaches event handler `fnFunction` from the {@link #event:iconPress iconPress} event of this `sap.m.FeedListItem`.
72483
72816
  *
@@ -72540,14 +72873,6 @@ declare namespace sap {
72540
72873
  */
72541
72874
  mParameters?: sap.m.FeedListItem$SenderPressEventParameters
72542
72875
  ): this;
72543
- /**
72544
- * Gets content of aggregation {@link #getActions actions}.
72545
- *
72546
- * Contains {@link sap.m.FeedListItemAction elements} that are displayed in the action sheet.
72547
- *
72548
- * @since 1.52.0
72549
- */
72550
- getActions(): sap.m.FeedListItemAction[];
72551
72876
  /**
72552
72877
  * Gets current value of property {@link #getActiveIcon activeIcon}.
72553
72878
  *
@@ -72764,62 +73089,6 @@ declare namespace sap {
72764
73089
  * @returns Value of property `timestamp`
72765
73090
  */
72766
73091
  getTimestamp(): string;
72767
- /**
72768
- * Checks for the provided `sap.m.FeedListItemAction` in the aggregation {@link #getActions actions}. and
72769
- * returns its index if found or -1 otherwise.
72770
- *
72771
- * @since 1.52.0
72772
- *
72773
- * @returns The index of the provided control in the aggregation if found, or -1 otherwise
72774
- */
72775
- indexOfAction(
72776
- /**
72777
- * The action whose index is looked for
72778
- */
72779
- oAction: sap.m.FeedListItemAction
72780
- ): int;
72781
- /**
72782
- * Inserts a action into the aggregation {@link #getActions actions}.
72783
- *
72784
- * @since 1.52.0
72785
- *
72786
- * @returns Reference to `this` in order to allow method chaining
72787
- */
72788
- insertAction(
72789
- /**
72790
- * The action to insert; if empty, nothing is inserted
72791
- */
72792
- oAction: sap.m.FeedListItemAction,
72793
- /**
72794
- * The `0`-based index the action should be inserted at; for a negative value of `iIndex`, the action is
72795
- * inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted
72796
- * at the last position
72797
- */
72798
- iIndex: int
72799
- ): this;
72800
- /**
72801
- * Removes a action from the aggregation {@link #getActions actions}.
72802
- *
72803
- * @since 1.52.0
72804
- *
72805
- * @returns The removed action or `null`
72806
- */
72807
- removeAction(
72808
- /**
72809
- * The action to remove or its index or id
72810
- */
72811
- vAction: int | string | sap.m.FeedListItemAction
72812
- ): sap.m.FeedListItemAction | null;
72813
- /**
72814
- * Removes all the controls from the aggregation {@link #getActions actions}.
72815
- *
72816
- * Additionally, it unregisters them from the hosting UIArea.
72817
- *
72818
- * @since 1.52.0
72819
- *
72820
- * @returns An array of the removed elements (might be empty)
72821
- */
72822
- removeAllActions(): sap.m.FeedListItemAction[];
72823
73092
  /**
72824
73093
  * Sets a new value for property {@link #getActiveIcon activeIcon}.
72825
73094
  *
@@ -73188,7 +73457,7 @@ declare namespace sap {
73188
73457
  *
73189
73458
  * @since 1.52.0
73190
73459
  */
73191
- class FeedListItemAction extends sap.ui.core.Element {
73460
+ class FeedListItemAction extends sap.m.ListItemActionBase {
73192
73461
  /**
73193
73462
  * Constructor for a new FeedListItemAction.
73194
73463
  *
@@ -73224,7 +73493,7 @@ declare namespace sap {
73224
73493
  * Creates a new subclass of class sap.m.FeedListItemAction with name `sClassName` and enriches it with
73225
73494
  * the information contained in `oClassInfo`.
73226
73495
  *
73227
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
73496
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.m.ListItemActionBase.extend}.
73228
73497
  *
73229
73498
  *
73230
73499
  * @returns Created class / constructor function
@@ -73341,15 +73610,6 @@ declare namespace sap {
73341
73610
  * @returns Value of property `enabled`
73342
73611
  */
73343
73612
  getEnabled(): boolean;
73344
- /**
73345
- * Gets current value of property {@link #getIcon icon}.
73346
- *
73347
- * The icon of the action.
73348
- *
73349
- *
73350
- * @returns Value of property `icon`
73351
- */
73352
- getIcon(): sap.ui.core.URI;
73353
73613
  /**
73354
73614
  * Gets current value of property {@link #getKey key}.
73355
73615
  *
@@ -73361,28 +73621,6 @@ declare namespace sap {
73361
73621
  * @returns Value of property `key`
73362
73622
  */
73363
73623
  getKey(): string;
73364
- /**
73365
- * Gets current value of property {@link #getText text}.
73366
- *
73367
- * The text of the item. It is used as a tooltip and for accessibility reasons.
73368
- *
73369
- * Default value is `empty string`.
73370
- *
73371
- *
73372
- * @returns Value of property `text`
73373
- */
73374
- getText(): string;
73375
- /**
73376
- * Gets current value of property {@link #getVisible visible}.
73377
- *
73378
- * Hides or shows a button on the UI.
73379
- *
73380
- * Default value is `true`.
73381
- *
73382
- *
73383
- * @returns Value of property `visible`
73384
- */
73385
- getVisible(): boolean;
73386
73624
  /**
73387
73625
  * Sets a new value for property {@link #getEnabled enabled}.
73388
73626
  *
@@ -73402,22 +73640,6 @@ declare namespace sap {
73402
73640
  */
73403
73641
  bEnabled?: boolean
73404
73642
  ): this;
73405
- /**
73406
- * Sets a new value for property {@link #getIcon icon}.
73407
- *
73408
- * The icon of the action.
73409
- *
73410
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
73411
- *
73412
- *
73413
- * @returns Reference to `this` in order to allow method chaining
73414
- */
73415
- setIcon(
73416
- /**
73417
- * New value for property `icon`
73418
- */
73419
- sIcon?: sap.ui.core.URI
73420
- ): this;
73421
73643
  /**
73422
73644
  * Sets a new value for property {@link #getKey key}.
73423
73645
  *
@@ -73436,42 +73658,6 @@ declare namespace sap {
73436
73658
  */
73437
73659
  sKey?: string
73438
73660
  ): this;
73439
- /**
73440
- * Sets a new value for property {@link #getText text}.
73441
- *
73442
- * The text of the item. It is used as a tooltip and for accessibility reasons.
73443
- *
73444
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
73445
- *
73446
- * Default value is `empty string`.
73447
- *
73448
- *
73449
- * @returns Reference to `this` in order to allow method chaining
73450
- */
73451
- setText(
73452
- /**
73453
- * New value for property `text`
73454
- */
73455
- sText?: string
73456
- ): this;
73457
- /**
73458
- * Sets a new value for property {@link #getVisible visible}.
73459
- *
73460
- * Hides or shows a button on the UI.
73461
- *
73462
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
73463
- *
73464
- * Default value is `true`.
73465
- *
73466
- *
73467
- * @returns Reference to `this` in order to allow method chaining
73468
- */
73469
- setVisible(
73470
- /**
73471
- * New value for property `visible`
73472
- */
73473
- bVisible?: boolean
73474
- ): this;
73475
73661
  }
73476
73662
  /**
73477
73663
  * The `sap.m.FlexBox` control builds the container for a flexible box layout.
@@ -76620,8 +76806,8 @@ declare namespace sap {
76620
76806
  }
76621
76807
  /**
76622
76808
  * `sap.m.GroupHeaderListItem` is used to display the title of a group and act as separator between groups
76623
- * in `sap.m.List` and `sap.m.Table`. **Note:** The inherited properties `unread`, `selected`, `counter`
76624
- * and `press` event from `sap.m.ListItemBase` are not supported.
76809
+ * in `sap.m.List` and `sap.m.Table`. **Note:** The inherited properties `unread`, `selected`, `counter`,
76810
+ * the `press` event, and the `actions` aggregation from `sap.m.ListItemBase` are not supported.
76625
76811
  *
76626
76812
  * There are the following known restrictions:
76627
76813
  * - When a list is manually populated with items and groups without using data binding, changes to the
@@ -80185,6 +80371,21 @@ declare namespace sap {
80185
80371
  * @returns Value of property `ariaTitleLevel`
80186
80372
  */
80187
80373
  getAriaTitleLevel(): sap.ui.core.TitleLevel;
80374
+ /**
80375
+ * Gets current value of property {@link #getDecorative decorative}.
80376
+ *
80377
+ * Defines whether the illustration is decorative.
80378
+ *
80379
+ * When set to true, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG
80380
+ * element.
80381
+ *
80382
+ * Default value is `false`.
80383
+ *
80384
+ * @experimental As of version 1.138.
80385
+ *
80386
+ * @returns Value of property `decorative`
80387
+ */
80388
+ getDecorative(): boolean;
80188
80389
  /**
80189
80390
  * Gets current value of property {@link #getDescription description}.
80190
80391
  *
@@ -80737,6 +80938,18 @@ declare namespace sap {
80737
80938
  * @since 1.106.0
80738
80939
  */
80739
80940
  getAriaLabelledBy(): sap.ui.core.ID[];
80941
+ /**
80942
+ * Gets current value of property {@link #getDecorative decorative}.
80943
+ *
80944
+ * Defines whether the illustration is decorative.
80945
+ *
80946
+ * Default value is `false`.
80947
+ *
80948
+ * @experimental As of version 1.138.
80949
+ *
80950
+ * @returns Value of property `decorative`
80951
+ */
80952
+ getDecorative(): boolean;
80740
80953
  /**
80741
80954
  * Gets current value of property {@link #getMedia media}.
80742
80955
  *
@@ -80809,6 +81022,25 @@ declare namespace sap {
80809
81022
  */
80810
81023
  vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
80811
81024
  ): sap.ui.core.ID | null;
81025
+ /**
81026
+ * Sets a new value for property {@link #getDecorative decorative}.
81027
+ *
81028
+ * Defines whether the illustration is decorative.
81029
+ *
81030
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
81031
+ *
81032
+ * Default value is `false`.
81033
+ *
81034
+ * @experimental As of version 1.138.
81035
+ *
81036
+ * @returns Reference to `this` in order to allow method chaining
81037
+ */
81038
+ setDecorative(
81039
+ /**
81040
+ * New value for property `decorative`
81041
+ */
81042
+ bDecorative?: boolean
81043
+ ): this;
80812
81044
  /**
80813
81045
  * Sets a new value for property {@link #getMedia media}.
80814
81046
  *
@@ -87887,6 +88119,57 @@ declare namespace sap {
87887
88119
  */
87888
88120
  oListener?: object
87889
88121
  ): this;
88122
+ /**
88123
+ * Attaches event handler `fnFunction` to the {@link #event:itemActionPress itemActionPress} event of this
88124
+ * `sap.m.ListBase`.
88125
+ *
88126
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
88127
+ * otherwise it will be bound to this `sap.m.ListBase` itself.
88128
+ *
88129
+ * Fired when an item action is pressed.
88130
+ *
88131
+ * @since 1.137
88132
+ *
88133
+ * @returns Reference to `this` in order to allow method chaining
88134
+ */
88135
+ attachItemActionPress(
88136
+ /**
88137
+ * An application-specific payload object that will be passed to the event handler along with the event
88138
+ * object when firing the event
88139
+ */
88140
+ oData: object,
88141
+ /**
88142
+ * The function to be called when the event occurs
88143
+ */
88144
+ fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
88145
+ /**
88146
+ * Context object to call the event handler with. Defaults to this `sap.m.ListBase` itself
88147
+ */
88148
+ oListener?: object
88149
+ ): this;
88150
+ /**
88151
+ * Attaches event handler `fnFunction` to the {@link #event:itemActionPress itemActionPress} event of this
88152
+ * `sap.m.ListBase`.
88153
+ *
88154
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
88155
+ * otherwise it will be bound to this `sap.m.ListBase` itself.
88156
+ *
88157
+ * Fired when an item action is pressed.
88158
+ *
88159
+ * @since 1.137
88160
+ *
88161
+ * @returns Reference to `this` in order to allow method chaining
88162
+ */
88163
+ attachItemActionPress(
88164
+ /**
88165
+ * The function to be called when the event occurs
88166
+ */
88167
+ fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
88168
+ /**
88169
+ * Context object to call the event handler with. Defaults to this `sap.m.ListBase` itself
88170
+ */
88171
+ oListener?: object
88172
+ ): this;
87890
88173
  /**
87891
88174
  * Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.m.ListBase`.
87892
88175
  *
@@ -88340,6 +88623,26 @@ declare namespace sap {
88340
88623
  */
88341
88624
  oListener?: object
88342
88625
  ): this;
88626
+ /**
88627
+ * Detaches event handler `fnFunction` from the {@link #event:itemActionPress itemActionPress} event of
88628
+ * this `sap.m.ListBase`.
88629
+ *
88630
+ * The passed function and listener object must match the ones used for event registration.
88631
+ *
88632
+ * @since 1.137
88633
+ *
88634
+ * @returns Reference to `this` in order to allow method chaining
88635
+ */
88636
+ detachItemActionPress(
88637
+ /**
88638
+ * The function to be called, when the event occurs
88639
+ */
88640
+ fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
88641
+ /**
88642
+ * Context object on which the given function had to be called
88643
+ */
88644
+ oListener?: object
88645
+ ): this;
88343
88646
  /**
88344
88647
  * Detaches event handler `fnFunction` from the {@link #event:itemPress itemPress} event of this `sap.m.ListBase`.
88345
88648
  *
@@ -88516,6 +88819,20 @@ declare namespace sap {
88516
88819
  */
88517
88820
  mParameters?: sap.m.ListBase$GrowingStartedEventParameters
88518
88821
  ): this;
88822
+ /**
88823
+ * Fires event {@link #event:itemActionPress itemActionPress} to attached listeners.
88824
+ *
88825
+ * @since 1.137
88826
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
88827
+ *
88828
+ * @returns Reference to `this` in order to allow method chaining
88829
+ */
88830
+ fireItemActionPress(
88831
+ /**
88832
+ * Parameters to pass along with the event
88833
+ */
88834
+ mParameters?: sap.m.ListBase$ItemActionPressEventParameters
88835
+ ): this;
88519
88836
  /**
88520
88837
  * Fires event {@link #event:itemPress itemPress} to attached listeners.
88521
88838
  *
@@ -88801,6 +89118,25 @@ declare namespace sap {
88801
89118
  * @returns Value of property `inset`
88802
89119
  */
88803
89120
  getInset(): boolean;
89121
+ /**
89122
+ * Gets current value of property {@link #getItemActionCount itemActionCount}.
89123
+ *
89124
+ * Defines the maximum number of item actions.
89125
+ *
89126
+ * If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
89127
+ * providing access to the additional actions.
89128
+ *
89129
+ * **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
89130
+ * {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
89131
+ * Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
89132
+ *
89133
+ * Default value is `-1`.
89134
+ *
89135
+ * @since 1.137
89136
+ *
89137
+ * @returns Value of property `itemActionCount`
89138
+ */
89139
+ getItemActionCount(): int;
88804
89140
  /**
88805
89141
  * Returns the ItemNavigation delegate of the list
88806
89142
  *
@@ -89458,6 +89794,32 @@ declare namespace sap {
89458
89794
  */
89459
89795
  bInset?: boolean
89460
89796
  ): this;
89797
+ /**
89798
+ * Sets a new value for property {@link #getItemActionCount itemActionCount}.
89799
+ *
89800
+ * Defines the maximum number of item actions.
89801
+ *
89802
+ * If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
89803
+ * providing access to the additional actions.
89804
+ *
89805
+ * **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
89806
+ * {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
89807
+ * Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
89808
+ *
89809
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
89810
+ *
89811
+ * Default value is `-1`.
89812
+ *
89813
+ * @since 1.137
89814
+ *
89815
+ * @returns Reference to `this` in order to allow method chaining
89816
+ */
89817
+ setItemActionCount(
89818
+ /**
89819
+ * New value for property `itemActionCount`
89820
+ */
89821
+ iItemActionCount?: int
89822
+ ): this;
89461
89823
  /**
89462
89824
  * Sets a new value for property {@link #getKeyboardMode keyboardMode}.
89463
89825
  *
@@ -89789,6 +90151,249 @@ declare namespace sap {
89789
90151
  */
89790
90152
  unbindItems(): this;
89791
90153
  }
90154
+ /**
90155
+ * The `sap.m.ListItemAction` control provides the option to define actions directly related to list items.
90156
+ *
90157
+ * @since 1.137
90158
+ */
90159
+ class ListItemAction
90160
+ extends /* was: sap.ui.core.ListItemActionBase */ Object
90161
+ {
90162
+ /**
90163
+ * Constructor for a new action for list items.
90164
+ *
90165
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
90166
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
90167
+ * of the syntax of the settings object.
90168
+ */
90169
+ constructor(
90170
+ /**
90171
+ * id for the new control, generated automatically if no id is given
90172
+ */
90173
+ sId?: string,
90174
+ /**
90175
+ * Initial settings for the new control
90176
+ */
90177
+ mSettings?: object
90178
+ );
90179
+
90180
+ /**
90181
+ * Creates a new subclass of class sap.m.ListItemAction with name `sClassName` and enriches it with the
90182
+ * information contained in `oClassInfo`.
90183
+ *
90184
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.ListItemActionBase.extend}.
90185
+ *
90186
+ *
90187
+ * @returns Created class / constructor function
90188
+ */
90189
+ static extend<T extends Record<string, unknown>>(
90190
+ /**
90191
+ * Name of the class being created
90192
+ */
90193
+ sClassName: string,
90194
+ /**
90195
+ * Object literal with information about the class
90196
+ */
90197
+ oClassInfo?: sap.ClassInfo<T, sap.m.ListItemAction>,
90198
+ /**
90199
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
90200
+ * used by this class
90201
+ */
90202
+ FNMetaImpl?: Function
90203
+ ): Function;
90204
+ /**
90205
+ * Returns a metadata object for class sap.m.ListItemAction.
90206
+ *
90207
+ *
90208
+ * @returns Metadata object describing this class
90209
+ */
90210
+ static getMetadata(): sap.ui.base.Metadata;
90211
+ /**
90212
+ * Gets current value of property {@link #getType type}.
90213
+ *
90214
+ * Defines the type of the action.
90215
+ *
90216
+ * Default value is `Custom`.
90217
+ *
90218
+ *
90219
+ * @returns Value of property `type`
90220
+ */
90221
+ getType(): sap.m.ListItemActionType;
90222
+ /**
90223
+ * Sets a new value for property {@link #getType type}.
90224
+ *
90225
+ * Defines the type of the action.
90226
+ *
90227
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
90228
+ *
90229
+ * Default value is `Custom`.
90230
+ *
90231
+ *
90232
+ * @returns Reference to `this` in order to allow method chaining
90233
+ */
90234
+ setType(
90235
+ /**
90236
+ * New value for property `type`
90237
+ */
90238
+ sType?: sap.m.ListItemActionType
90239
+ ): this;
90240
+ }
90241
+ /**
90242
+ * The `sap.m.ListItemActionBase` class serves as a foundation for list item actions.
90243
+ *
90244
+ * @since 1.137
90245
+ */
90246
+ abstract class ListItemActionBase extends sap.ui.core.Element {
90247
+ /**
90248
+ * Constructor for a new action for list items.
90249
+ *
90250
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
90251
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
90252
+ * of the syntax of the settings object.
90253
+ */
90254
+ constructor(
90255
+ /**
90256
+ * Initial settings for the new action
90257
+ */
90258
+ mSettings?: sap.m.$ListItemActionBaseSettings
90259
+ );
90260
+ /**
90261
+ * Constructor for a new action for list items.
90262
+ *
90263
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
90264
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
90265
+ * of the syntax of the settings object.
90266
+ */
90267
+ constructor(
90268
+ /**
90269
+ * id for the new control, generated automatically if no id is given
90270
+ */
90271
+ sId?: string,
90272
+ /**
90273
+ * Initial settings for the new action
90274
+ */
90275
+ mSettings?: sap.m.$ListItemActionBaseSettings
90276
+ );
90277
+
90278
+ /**
90279
+ * Creates a new subclass of class sap.m.ListItemActionBase with name `sClassName` and enriches it with
90280
+ * the information contained in `oClassInfo`.
90281
+ *
90282
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
90283
+ *
90284
+ *
90285
+ * @returns Created class / constructor function
90286
+ */
90287
+ static extend<T extends Record<string, unknown>>(
90288
+ /**
90289
+ * Name of the class being created
90290
+ */
90291
+ sClassName: string,
90292
+ /**
90293
+ * Object literal with information about the class
90294
+ */
90295
+ oClassInfo?: sap.ClassInfo<T, sap.m.ListItemActionBase>,
90296
+ /**
90297
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
90298
+ * used by this class
90299
+ */
90300
+ FNMetaImpl?: Function
90301
+ ): Function;
90302
+ /**
90303
+ * Returns a metadata object for class sap.m.ListItemActionBase.
90304
+ *
90305
+ *
90306
+ * @returns Metadata object describing this class
90307
+ */
90308
+ static getMetadata(): sap.ui.core.ElementMetadata;
90309
+ /**
90310
+ * Gets current value of property {@link #getIcon icon}.
90311
+ *
90312
+ * Defines the icon of the action.
90313
+ *
90314
+ * Default value is `empty string`.
90315
+ *
90316
+ *
90317
+ * @returns Value of property `icon`
90318
+ */
90319
+ getIcon(): sap.ui.core.URI;
90320
+ /**
90321
+ * Gets current value of property {@link #getText text}.
90322
+ *
90323
+ * Defines the text of the action.
90324
+ *
90325
+ * Default value is `empty string`.
90326
+ *
90327
+ *
90328
+ * @returns Value of property `text`
90329
+ */
90330
+ getText(): string;
90331
+ /**
90332
+ * Gets current value of property {@link #getVisible visible}.
90333
+ *
90334
+ * Defines the visibility of the action.
90335
+ *
90336
+ * Default value is `true`.
90337
+ *
90338
+ *
90339
+ * @returns Value of property `visible`
90340
+ */
90341
+ getVisible(): boolean;
90342
+ /**
90343
+ * Sets a new value for property {@link #getIcon icon}.
90344
+ *
90345
+ * Defines the icon of the action.
90346
+ *
90347
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
90348
+ *
90349
+ * Default value is `empty string`.
90350
+ *
90351
+ *
90352
+ * @returns Reference to `this` in order to allow method chaining
90353
+ */
90354
+ setIcon(
90355
+ /**
90356
+ * New value for property `icon`
90357
+ */
90358
+ sIcon?: sap.ui.core.URI
90359
+ ): this;
90360
+ /**
90361
+ * Sets a new value for property {@link #getText text}.
90362
+ *
90363
+ * Defines the text of the action.
90364
+ *
90365
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
90366
+ *
90367
+ * Default value is `empty string`.
90368
+ *
90369
+ *
90370
+ * @returns Reference to `this` in order to allow method chaining
90371
+ */
90372
+ setText(
90373
+ /**
90374
+ * New value for property `text`
90375
+ */
90376
+ sText?: string
90377
+ ): this;
90378
+ /**
90379
+ * Sets a new value for property {@link #getVisible visible}.
90380
+ *
90381
+ * Defines the visibility of the action.
90382
+ *
90383
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
90384
+ *
90385
+ * Default value is `true`.
90386
+ *
90387
+ *
90388
+ * @returns Reference to `this` in order to allow method chaining
90389
+ */
90390
+ setVisible(
90391
+ /**
90392
+ * New value for property `visible`
90393
+ */
90394
+ bVisible?: boolean
90395
+ ): this;
90396
+ }
89792
90397
  /**
89793
90398
  * ListItemBase contains the base features of all specific list items. **Note:** If not mentioned otherwise
89794
90399
  * in the individual subclasses, list items must only be used in the `items` aggregation of `sap.m.ListBase`
@@ -89857,6 +90462,19 @@ declare namespace sap {
89857
90462
  * @returns Metadata object describing this class
89858
90463
  */
89859
90464
  static getMetadata(): sap.ui.core.ElementMetadata;
90465
+ /**
90466
+ * Adds some action to the aggregation {@link #getActions actions}.
90467
+ *
90468
+ * @since 1.137
90469
+ *
90470
+ * @returns Reference to `this` in order to allow method chaining
90471
+ */
90472
+ addAction(
90473
+ /**
90474
+ * The action to add; if empty, nothing is inserted
90475
+ */
90476
+ oAction: sap.m.ListItemActionBase
90477
+ ): this;
89860
90478
  /**
89861
90479
  * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
89862
90480
  *
@@ -90068,6 +90686,14 @@ declare namespace sap {
90068
90686
  */
90069
90687
  oListener?: object
90070
90688
  ): this;
90689
+ /**
90690
+ * Destroys all the actions in the aggregation {@link #getActions actions}.
90691
+ *
90692
+ * @since 1.137
90693
+ *
90694
+ * @returns Reference to `this` in order to allow method chaining
90695
+ */
90696
+ destroyActions(): this;
90071
90697
  /**
90072
90698
  * Detaches event handler `fnFunction` from the {@link #event:detailPress detailPress} event of this `sap.m.ListItemBase`.
90073
90699
  *
@@ -90196,6 +90822,14 @@ declare namespace sap {
90196
90822
  */
90197
90823
  mParameters?: object
90198
90824
  ): this;
90825
+ /**
90826
+ * Gets content of aggregation {@link #getActions actions}.
90827
+ *
90828
+ * Defines the actions contained within this control.
90829
+ *
90830
+ * @since 1.137
90831
+ */
90832
+ getActions(): sap.m.ListItemActionBase[];
90199
90833
  /**
90200
90834
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
90201
90835
  *
@@ -90330,6 +90964,39 @@ declare namespace sap {
90330
90964
  * @returns Value of property `visible`
90331
90965
  */
90332
90966
  getVisible(): boolean;
90967
+ /**
90968
+ * Checks for the provided `sap.m.ListItemActionBase` in the aggregation {@link #getActions actions}. and
90969
+ * returns its index if found or -1 otherwise.
90970
+ *
90971
+ * @since 1.137
90972
+ *
90973
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
90974
+ */
90975
+ indexOfAction(
90976
+ /**
90977
+ * The action whose index is looked for
90978
+ */
90979
+ oAction: sap.m.ListItemActionBase
90980
+ ): int;
90981
+ /**
90982
+ * Inserts a action into the aggregation {@link #getActions actions}.
90983
+ *
90984
+ * @since 1.137
90985
+ *
90986
+ * @returns Reference to `this` in order to allow method chaining
90987
+ */
90988
+ insertAction(
90989
+ /**
90990
+ * The action to insert; if empty, nothing is inserted
90991
+ */
90992
+ oAction: sap.m.ListItemActionBase,
90993
+ /**
90994
+ * The `0`-based index the action should be inserted at; for a negative value of `iIndex`, the action is
90995
+ * inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted
90996
+ * at the last position
90997
+ */
90998
+ iIndex: int
90999
+ ): this;
90333
91000
  /**
90334
91001
  * Returns the state of the item selection as a boolean
90335
91002
  *
@@ -90337,6 +91004,29 @@ declare namespace sap {
90337
91004
  * method instead.
90338
91005
  */
90339
91006
  isSelected(): boolean;
91007
+ /**
91008
+ * Removes a action from the aggregation {@link #getActions actions}.
91009
+ *
91010
+ * @since 1.137
91011
+ *
91012
+ * @returns The removed action or `null`
91013
+ */
91014
+ removeAction(
91015
+ /**
91016
+ * The action to remove or its index or id
91017
+ */
91018
+ vAction: int | string | sap.m.ListItemActionBase
91019
+ ): sap.m.ListItemActionBase | null;
91020
+ /**
91021
+ * Removes all the controls from the aggregation {@link #getActions actions}.
91022
+ *
91023
+ * Additionally, it unregisters them from the hosting UIArea.
91024
+ *
91025
+ * @since 1.137
91026
+ *
91027
+ * @returns An array of the removed elements (might be empty)
91028
+ */
91029
+ removeAllActions(): sap.m.ListItemActionBase[];
90340
91030
  /**
90341
91031
  * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
90342
91032
  *
@@ -91094,11 +91784,6 @@ declare namespace sap {
91094
91784
  /**
91095
91785
  * The `sap.m.Menu` control represents a hierarchical menu. When opened on mobile devices it occupies the
91096
91786
  * whole screen.
91097
- *
91098
- * **Note:** The application developer should add dependency to `sap.ui.unified` library on application
91099
- * level to ensure that the library is loaded before the module dependencies will be required. If the `sap.ui.unified`
91100
- * library is not loaded in advance, this could lead to CSP compliance issues and adds an additional waiting
91101
- * time. To prevent this, ensure that the `sap.ui.unified` library is loaded in advance.
91102
91787
  */
91103
91788
  class Menu extends sap.ui.core.Control implements sap.ui.core.IContextMenu {
91104
91789
  __implements__sap_ui_core_IContextMenu: boolean;
@@ -91198,7 +91883,7 @@ declare namespace sap {
91198
91883
  /**
91199
91884
  * The function to be called when the event occurs
91200
91885
  */
91201
- fnFunction: (p1: sap.ui.base.Event) => void,
91886
+ fnFunction: (p1: Menu$BeforeCloseEvent) => void,
91202
91887
  /**
91203
91888
  * Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
91204
91889
  */
@@ -91221,7 +91906,7 @@ declare namespace sap {
91221
91906
  /**
91222
91907
  * The function to be called when the event occurs
91223
91908
  */
91224
- fnFunction: (p1: sap.ui.base.Event) => void,
91909
+ fnFunction: (p1: Menu$BeforeCloseEvent) => void,
91225
91910
  /**
91226
91911
  * Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
91227
91912
  */
@@ -91337,9 +92022,17 @@ declare namespace sap {
91337
92022
  oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
91338
92023
  ): this;
91339
92024
  /**
91340
- * Closes the `Menu`.
92025
+ * Closes the `Menu` if the `beforeClose` event isn`t prevented.
92026
+ *
92027
+ *
92028
+ * @returns `this` to allow method chaining
91341
92029
  */
91342
- close(): void;
92030
+ close(
92031
+ /**
92032
+ * closePopover event
92033
+ */
92034
+ oEvent: sap.ui.base.Event
92035
+ ): this;
91343
92036
  /**
91344
92037
  * Destroys all the items in the aggregation {@link #getItems items}.
91345
92038
  *
@@ -91360,7 +92053,7 @@ declare namespace sap {
91360
92053
  /**
91361
92054
  * The function to be called, when the event occurs
91362
92055
  */
91363
- fnFunction: (p1: sap.ui.base.Event) => void,
92056
+ fnFunction: (p1: Menu$BeforeCloseEvent) => void,
91364
92057
  /**
91365
92058
  * Context object on which the given function had to be called
91366
92059
  */
@@ -91417,7 +92110,7 @@ declare namespace sap {
91417
92110
  /**
91418
92111
  * Parameters to pass along with the event
91419
92112
  */
91420
- mParameters?: object
92113
+ mParameters?: sap.m.Menu$BeforeCloseEventParameters
91421
92114
  ): boolean;
91422
92115
  /**
91423
92116
  * Fires event {@link #event:closed closed} to attached listeners.
@@ -91517,7 +92210,7 @@ declare namespace sap {
91517
92210
  */
91518
92211
  openAsContextMenu(
91519
92212
  /**
91520
- * The event object or an object containing offsetX, offsetY values and left, top values of the element's
92213
+ * The event object or an object containing offsetX, offsetY values and left, top values for the element's
91521
92214
  * position
91522
92215
  */
91523
92216
  oEvent: jQuery.Event | object,
@@ -91528,31 +92221,16 @@ declare namespace sap {
91528
92221
  ): void;
91529
92222
  /**
91530
92223
  * Opens the `Menu` next to the given control.
92224
+ *
92225
+ *
92226
+ * @returns `this` to allow method chaining
91531
92227
  */
91532
92228
  openBy(
91533
92229
  /**
91534
92230
  * The control that defines the position for the menu
91535
92231
  */
91536
- oControl: sap.ui.core.Control,
91537
- /**
91538
- * Whether the menu is opened with a shortcut or not
91539
- */
91540
- bWithKeyboard: boolean,
91541
- /**
91542
- * The reference docking location of the `Menu` for positioning the menu on the screen
91543
- */
91544
- sDockMy?: sap.ui.core.Popup.Dock,
91545
- /**
91546
- * The `oControl` reference docking location for positioning the menu on the screen
91547
- */
91548
- sDockAt?: sap.ui.core.Popup.Dock,
91549
- /**
91550
- * The offset relative to the docking point, specified as a string with space-separated pixel values (e.g.
91551
- * "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" is RTL-sensitive
91552
- * ("begin" or "end"), this offset is automatically mirrored in the RTL case as well.
91553
- */
91554
- sOffset?: string
91555
- ): void;
92232
+ oControl: sap.ui.core.Control
92233
+ ): this;
91556
92234
  /**
91557
92235
  * Removes all the controls from the aggregation {@link #getItems items}.
91558
92236
  *
@@ -91575,7 +92253,7 @@ declare namespace sap {
91575
92253
  vItem: int | string | sap.m.IMenuItem
91576
92254
  ): sap.m.IMenuItem | null;
91577
92255
  /**
91578
- * Sets the title of the `Menu`.
92256
+ * Sets the title of the `Menu` in mobile view.
91579
92257
  *
91580
92258
  *
91581
92259
  * @returns `this` to allow method chaining
@@ -92300,12 +92978,16 @@ declare namespace sap {
92300
92978
  ): this;
92301
92979
  }
92302
92980
  /**
92303
- * The `MenuItem` control is used for creating items for the `sap.m.Menu`. It is derived from a core `sap.ui.core.Item`.
92981
+ * The `MenuItem` control is used for creating items for the `sap.m.Menu`. It is derived from a core `sap.ui.core.Control`.
92304
92982
  *
92305
92983
  * @since 1.38
92306
92984
  */
92307
- class MenuItem extends sap.ui.core.Item implements sap.m.IMenuItem {
92985
+ class MenuItem
92986
+ extends sap.ui.core.Control
92987
+ implements sap.m.IMenuItem, sap.m.IMenuItemBehavior
92988
+ {
92308
92989
  __implements__sap_m_IMenuItem: boolean;
92990
+ __implements__sap_m_IMenuItemBehavior: boolean;
92309
92991
  /**
92310
92992
  * Constructor for a new `MenuItem`.
92311
92993
  *
@@ -92341,7 +93023,7 @@ declare namespace sap {
92341
93023
  * Creates a new subclass of class sap.m.MenuItem with name `sClassName` and enriches it with the information
92342
93024
  * contained in `oClassInfo`.
92343
93025
  *
92344
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
93026
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
92345
93027
  *
92346
93028
  *
92347
93029
  * @returns Created class / constructor function
@@ -92393,55 +93075,6 @@ declare namespace sap {
92393
93075
  */
92394
93076
  oItem: sap.m.IMenuItem
92395
93077
  ): this;
92396
- /**
92397
- * Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
92398
- * of this `sap.m.MenuItem`.
92399
- *
92400
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
92401
- * otherwise it will be bound to this `sap.m.MenuItem` itself.
92402
- *
92403
- * Fired when aggregation of the item changes.
92404
- *
92405
- *
92406
- * @returns Reference to `this` in order to allow method chaining
92407
- */
92408
- attachAggregationChanged(
92409
- /**
92410
- * An application-specific payload object that will be passed to the event handler along with the event
92411
- * object when firing the event
92412
- */
92413
- oData: object,
92414
- /**
92415
- * The function to be called when the event occurs
92416
- */
92417
- fnFunction: (p1: MenuItem$AggregationChangedEvent) => void,
92418
- /**
92419
- * Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
92420
- */
92421
- oListener?: object
92422
- ): this;
92423
- /**
92424
- * Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
92425
- * of this `sap.m.MenuItem`.
92426
- *
92427
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
92428
- * otherwise it will be bound to this `sap.m.MenuItem` itself.
92429
- *
92430
- * Fired when aggregation of the item changes.
92431
- *
92432
- *
92433
- * @returns Reference to `this` in order to allow method chaining
92434
- */
92435
- attachAggregationChanged(
92436
- /**
92437
- * The function to be called when the event occurs
92438
- */
92439
- fnFunction: (p1: MenuItem$AggregationChangedEvent) => void,
92440
- /**
92441
- * Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
92442
- */
92443
- oListener?: object
92444
- ): this;
92445
93078
  /**
92446
93079
  * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.MenuItem`.
92447
93080
  *
@@ -92489,55 +93122,6 @@ declare namespace sap {
92489
93122
  */
92490
93123
  oListener?: object
92491
93124
  ): this;
92492
- /**
92493
- * Attaches event handler `fnFunction` to the {@link #event:propertyChanged propertyChanged} event of this
92494
- * `sap.m.MenuItem`.
92495
- *
92496
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
92497
- * otherwise it will be bound to this `sap.m.MenuItem` itself.
92498
- *
92499
- * Fired when a property of the item changes.
92500
- *
92501
- *
92502
- * @returns Reference to `this` in order to allow method chaining
92503
- */
92504
- attachPropertyChanged(
92505
- /**
92506
- * An application-specific payload object that will be passed to the event handler along with the event
92507
- * object when firing the event
92508
- */
92509
- oData: object,
92510
- /**
92511
- * The function to be called when the event occurs
92512
- */
92513
- fnFunction: (p1: MenuItem$PropertyChangedEvent) => void,
92514
- /**
92515
- * Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
92516
- */
92517
- oListener?: object
92518
- ): this;
92519
- /**
92520
- * Attaches event handler `fnFunction` to the {@link #event:propertyChanged propertyChanged} event of this
92521
- * `sap.m.MenuItem`.
92522
- *
92523
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
92524
- * otherwise it will be bound to this `sap.m.MenuItem` itself.
92525
- *
92526
- * Fired when a property of the item changes.
92527
- *
92528
- *
92529
- * @returns Reference to `this` in order to allow method chaining
92530
- */
92531
- attachPropertyChanged(
92532
- /**
92533
- * The function to be called when the event occurs
92534
- */
92535
- fnFunction: (p1: MenuItem$PropertyChangedEvent) => void,
92536
- /**
92537
- * Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
92538
- */
92539
- oListener?: object
92540
- ): this;
92541
93125
  /**
92542
93126
  * Binds aggregation {@link #getItems items} to model data.
92543
93127
  *
@@ -92568,25 +93152,6 @@ declare namespace sap {
92568
93152
  * @returns Reference to `this` in order to allow method chaining
92569
93153
  */
92570
93154
  destroyItems(): this;
92571
- /**
92572
- * Detaches event handler `fnFunction` from the {@link #event:aggregationChanged aggregationChanged} event
92573
- * of this `sap.m.MenuItem`.
92574
- *
92575
- * The passed function and listener object must match the ones used for event registration.
92576
- *
92577
- *
92578
- * @returns Reference to `this` in order to allow method chaining
92579
- */
92580
- detachAggregationChanged(
92581
- /**
92582
- * The function to be called, when the event occurs
92583
- */
92584
- fnFunction: (p1: MenuItem$AggregationChangedEvent) => void,
92585
- /**
92586
- * Context object on which the given function had to be called
92587
- */
92588
- oListener?: object
92589
- ): this;
92590
93155
  /**
92591
93156
  * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.m.MenuItem`.
92592
93157
  *
@@ -92605,38 +93170,6 @@ declare namespace sap {
92605
93170
  */
92606
93171
  oListener?: object
92607
93172
  ): this;
92608
- /**
92609
- * Detaches event handler `fnFunction` from the {@link #event:propertyChanged propertyChanged} event of
92610
- * this `sap.m.MenuItem`.
92611
- *
92612
- * The passed function and listener object must match the ones used for event registration.
92613
- *
92614
- *
92615
- * @returns Reference to `this` in order to allow method chaining
92616
- */
92617
- detachPropertyChanged(
92618
- /**
92619
- * The function to be called, when the event occurs
92620
- */
92621
- fnFunction: (p1: MenuItem$PropertyChangedEvent) => void,
92622
- /**
92623
- * Context object on which the given function had to be called
92624
- */
92625
- oListener?: object
92626
- ): this;
92627
- /**
92628
- * Fires event {@link #event:aggregationChanged aggregationChanged} to attached listeners.
92629
- *
92630
- * @ui5-protected Do not call from applications (only from related classes in the framework)
92631
- *
92632
- * @returns Reference to `this` in order to allow method chaining
92633
- */
92634
- fireAggregationChanged(
92635
- /**
92636
- * Parameters to pass along with the event
92637
- */
92638
- mParameters?: sap.m.MenuItem$AggregationChangedEventParameters
92639
- ): this;
92640
93173
  /**
92641
93174
  * Fires event {@link #event:press press} to attached listeners.
92642
93175
  *
@@ -92651,24 +93184,26 @@ declare namespace sap {
92651
93184
  mParameters?: object
92652
93185
  ): this;
92653
93186
  /**
92654
- * Fires event {@link #event:propertyChanged propertyChanged} to attached listeners.
93187
+ * Gets current value of property {@link #getEnabled enabled}.
92655
93188
  *
92656
- * @ui5-protected Do not call from applications (only from related classes in the framework)
93189
+ * Enabled items can be selected.
92657
93190
  *
92658
- * @returns Reference to `this` in order to allow method chaining
93191
+ * Default value is `true`.
93192
+ *
93193
+ *
93194
+ * @returns Value of property `enabled`
92659
93195
  */
92660
- firePropertyChanged(
92661
- /**
92662
- * Parameters to pass along with the event
92663
- */
92664
- mParameters?: sap.m.MenuItem$PropertyChangedEventParameters
92665
- ): this;
93196
+ getEnabled(): boolean;
92666
93197
  /**
92667
93198
  * Gets content of aggregation {@link #getEndContent endContent}.
92668
93199
  *
92669
93200
  * Defines the content that is displayed at the end of a menu item. This aggregation allows for the addition
92670
93201
  * of custom elements, such as icons and buttons.
92671
93202
  *
93203
+ * **Note:** Application developers are responsible for ensuring that interactive `endContent` controls
93204
+ * have the correct accessibility behaviour, including their enabled or disabled states. The Menu
93205
+ * does not manage these aspects when the menu item state changes.
93206
+ *
92672
93207
  * @since 1.131
92673
93208
  */
92674
93209
  getEndContent(): sap.ui.core.Control[];
@@ -92684,9 +93219,18 @@ declare namespace sap {
92684
93219
  /**
92685
93220
  * Gets content of aggregation {@link #getItems items}.
92686
93221
  *
92687
- * Defines the sub-items contained within this element.
93222
+ * Defines the subitems contained within this element.
92688
93223
  */
92689
93224
  getItems(): sap.m.IMenuItem[];
93225
+ /**
93226
+ * Gets current value of property {@link #getKey key}.
93227
+ *
93228
+ * Can be used as input for subsequent actions.
93229
+ *
93230
+ *
93231
+ * @returns Value of property `key`
93232
+ */
93233
+ getKey(): string;
92690
93234
  /**
92691
93235
  * Gets current value of property {@link #getSelected selected}.
92692
93236
  *
@@ -92725,6 +93269,28 @@ declare namespace sap {
92725
93269
  * @returns Value of property `startsSection`
92726
93270
  */
92727
93271
  getStartsSection(): boolean;
93272
+ /**
93273
+ * Gets current value of property {@link #getText text}.
93274
+ *
93275
+ * The text to be displayed for the item.
93276
+ *
93277
+ * Default value is `empty string`.
93278
+ *
93279
+ *
93280
+ * @returns Value of property `text`
93281
+ */
93282
+ getText(): string;
93283
+ /**
93284
+ * Gets current value of property {@link #getTextDirection textDirection}.
93285
+ *
93286
+ * Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
93287
+ *
93288
+ * Default value is `Inherit`.
93289
+ *
93290
+ *
93291
+ * @returns Value of property `textDirection`
93292
+ */
93293
+ getTextDirection(): sap.ui.core.TextDirection;
92728
93294
  /**
92729
93295
  * Gets current value of property {@link #getVisible visible}.
92730
93296
  *
@@ -92801,6 +93367,30 @@ declare namespace sap {
92801
93367
  */
92802
93368
  iIndex: int
92803
93369
  ): this;
93370
+ /**
93371
+ * Returns whether the item can be counted in total items count. **Note:** This method can be overridden
93372
+ * by subclasses to implement custom behavior.
93373
+ *
93374
+ *
93375
+ * @returns Whether the item is counted in total items count
93376
+ */
93377
+ isCountable(): boolean;
93378
+ /**
93379
+ * Returns whether the item can be focused. **Note:** This method can be overridden by subclasses to implement
93380
+ * custom behavior.
93381
+ *
93382
+ *
93383
+ * @returns Whether the item is enabled for focus
93384
+ */
93385
+ isFocusable(): boolean;
93386
+ /**
93387
+ * Returns whether the firing of press event is allowed. **Note:** This method can be overridden by subclasses
93388
+ * to implement custom behavior.
93389
+ *
93390
+ *
93391
+ * @returns Whether the item is enabled for click/press
93392
+ */
93393
+ isInteractive(): boolean;
92804
93394
  /**
92805
93395
  * Removes all the controls from the aggregation {@link #getEndContent endContent}.
92806
93396
  *
@@ -92845,6 +93435,24 @@ declare namespace sap {
92845
93435
  */
92846
93436
  vItem: int | string | sap.m.IMenuItem
92847
93437
  ): sap.m.IMenuItem | null;
93438
+ /**
93439
+ * Sets a new value for property {@link #getEnabled enabled}.
93440
+ *
93441
+ * Enabled items can be selected.
93442
+ *
93443
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
93444
+ *
93445
+ * Default value is `true`.
93446
+ *
93447
+ *
93448
+ * @returns Reference to `this` in order to allow method chaining
93449
+ */
93450
+ setEnabled(
93451
+ /**
93452
+ * New value for property `enabled`
93453
+ */
93454
+ bEnabled?: boolean
93455
+ ): this;
92848
93456
  /**
92849
93457
  * Sets a new value for property {@link #getIcon icon}.
92850
93458
  *
@@ -92861,6 +93469,22 @@ declare namespace sap {
92861
93469
  */
92862
93470
  sIcon?: string
92863
93471
  ): this;
93472
+ /**
93473
+ * Sets a new value for property {@link #getKey key}.
93474
+ *
93475
+ * Can be used as input for subsequent actions.
93476
+ *
93477
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
93478
+ *
93479
+ *
93480
+ * @returns Reference to `this` in order to allow method chaining
93481
+ */
93482
+ setKey(
93483
+ /**
93484
+ * New value for property `key`
93485
+ */
93486
+ sKey?: string
93487
+ ): this;
92864
93488
  /**
92865
93489
  * Sets a new value for property {@link #getShortcutText shortcutText}.
92866
93490
  *
@@ -92899,6 +93523,42 @@ declare namespace sap {
92899
93523
  */
92900
93524
  bStartsSection?: boolean
92901
93525
  ): this;
93526
+ /**
93527
+ * Sets a new value for property {@link #getText text}.
93528
+ *
93529
+ * The text to be displayed for the item.
93530
+ *
93531
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
93532
+ *
93533
+ * Default value is `empty string`.
93534
+ *
93535
+ *
93536
+ * @returns Reference to `this` in order to allow method chaining
93537
+ */
93538
+ setText(
93539
+ /**
93540
+ * New value for property `text`
93541
+ */
93542
+ sText?: string
93543
+ ): this;
93544
+ /**
93545
+ * Sets a new value for property {@link #getTextDirection textDirection}.
93546
+ *
93547
+ * Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
93548
+ *
93549
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
93550
+ *
93551
+ * Default value is `Inherit`.
93552
+ *
93553
+ *
93554
+ * @returns Reference to `this` in order to allow method chaining
93555
+ */
93556
+ setTextDirection(
93557
+ /**
93558
+ * New value for property `textDirection`
93559
+ */
93560
+ sTextDirection?: sap.ui.core.TextDirection
93561
+ ): this;
92902
93562
  /**
92903
93563
  * Sets a new value for property {@link #getVisible visible}.
92904
93564
  *
@@ -92929,7 +93589,7 @@ declare namespace sap {
92929
93589
  /**
92930
93590
  * Group item to be used inside a menu. Represents a collection of menu items that can have the same selection
92931
93591
  * mode (e.g. {@link sap.ui.core.ItemSelectionMode.None}, {@link sap.ui.core.ItemSelectionMode.SingleSelect},
92932
- * or {@link sap.ui.unified.ItemSelectionMode.MultiSelect}).
93592
+ * or {@link sap.ui.core.ItemSelectionMode.MultiSelect}).
92933
93593
  *
92934
93594
  * @since 1.127.0
92935
93595
  */
@@ -92998,33 +93658,24 @@ declare namespace sap {
92998
93658
  */
92999
93659
  static getMetadata(): sap.ui.core.ElementMetadata;
93000
93660
  /**
93001
- * Adds an item to `items` aggregation.
93661
+ * Adds some item to the aggregation {@link #getItems items}.
93002
93662
  *
93003
93663
  *
93004
- * @returns `this` to allow method chaining
93664
+ * @returns Reference to `this` in order to allow method chaining
93005
93665
  */
93006
93666
  addItem(
93007
93667
  /**
93008
- * Menu item to be added
93009
- */
93010
- oItem: sap.m.IMenuItem,
93011
- /**
93012
- * Whether to suppress the invalidation of the control
93668
+ * The item to add; if empty, nothing is inserted
93013
93669
  */
93014
- bSuppressInvalidate: boolean
93670
+ oItem: sap.m.IMenuItem
93015
93671
  ): this;
93016
93672
  /**
93017
- * Destroys all items from `items` aggregation.
93673
+ * Destroys all the items in the aggregation {@link #getItems items}.
93018
93674
  *
93019
93675
  *
93020
- * @returns `this` to allow method chaining
93676
+ * @returns Reference to `this` in order to allow method chaining
93021
93677
  */
93022
- destroyItems(
93023
- /**
93024
- * Whether to suppress the invalidation of the control
93025
- */
93026
- bSuppressInvalidate: boolean
93027
- ): this;
93678
+ destroyItems(): this;
93028
93679
  /**
93029
93680
  * Gets content of aggregation {@link #getItems items}.
93030
93681
  *
@@ -93057,68 +93708,61 @@ declare namespace sap {
93057
93708
  oItem: sap.m.IMenuItem
93058
93709
  ): int;
93059
93710
  /**
93060
- * Inserts an item to the specified position in `items` aggregation.
93711
+ * Inserts a item into the aggregation {@link #getItems items}.
93061
93712
  *
93062
93713
  *
93063
- * @returns `this` to allow method chaining
93714
+ * @returns Reference to `this` in order to allow method chaining
93064
93715
  */
93065
93716
  insertItem(
93066
93717
  /**
93067
- * Menu item to be added
93718
+ * The item to insert; if empty, nothing is inserted
93068
93719
  */
93069
93720
  oItem: sap.m.IMenuItem,
93070
93721
  /**
93071
- * Index at which the item should be inserted
93072
- */
93073
- iIndex: int,
93074
- /**
93075
- * Whether to suppress the invalidation of the control
93722
+ * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
93723
+ * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
93724
+ * the last position
93076
93725
  */
93077
- bSuppressInvalidate: boolean
93726
+ iIndex: int
93078
93727
  ): this;
93079
93728
  /**
93080
- * Removes all items from `items` aggregation.
93729
+ * Removes all the controls from the aggregation {@link #getItems items}.
93081
93730
  *
93731
+ * Additionally, it unregisters them from the hosting UIArea.
93082
93732
  *
93083
- * @returns array containing the removed items, or `null` if there are no items to remove
93733
+ *
93734
+ * @returns An array of the removed elements (might be empty)
93084
93735
  */
93085
- removeAllItems(
93086
- /**
93087
- * Whether to suppress the invalidation of the control
93088
- */
93089
- bSuppressInvalidate: boolean
93090
- ): any[] | null;
93736
+ removeAllItems(): sap.m.IMenuItem[];
93091
93737
  /**
93092
- * Removes an item from `items` aggregation.
93738
+ * Removes a item from the aggregation {@link #getItems items}.
93093
93739
  *
93094
93740
  *
93095
- * @returns the removed object, or `null` if there are no items to remove
93741
+ * @returns The removed item or `null`
93096
93742
  */
93097
93743
  removeItem(
93098
93744
  /**
93099
- * Menu item to be removed (as index, ID or object)
93100
- */
93101
- vItem: int | string | sap.m.IMenuItem,
93102
- /**
93103
- * Whether to suppress the invalidation of the control
93745
+ * The item to remove or its index or id
93104
93746
  */
93105
- bSuppressInvalidate: boolean
93747
+ vItem: int | string | sap.m.IMenuItem
93106
93748
  ): sap.m.IMenuItem | null;
93107
93749
  /**
93108
- * Override of the default setter that also ensures single selection if necessary.
93750
+ * Sets a new value for property {@link #getItemSelectionMode itemSelectionMode}.
93109
93751
  *
93752
+ * Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
93110
93753
  *
93111
- * @returns `this` to allow method chaining
93754
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
93755
+ *
93756
+ * Default value is `None`.
93757
+ *
93758
+ *
93759
+ * @returns Reference to `this` in order to allow method chaining
93112
93760
  */
93113
93761
  setItemSelectionMode(
93114
93762
  /**
93115
- * item selection mode to be set
93763
+ * New value for property `itemSelectionMode`
93116
93764
  */
93117
- sSelectionMode: string,
93118
- /**
93119
- * Whether to suppress the invalidation of the control
93120
- */
93121
- bSuppressInvalidate: boolean
93765
+ sItemSelectionMode?: sap.ui.core.ItemSelectionMode
93122
93766
  ): this;
93123
93767
  }
93124
93768
  /**
@@ -97177,7 +97821,10 @@ declare namespace sap {
97177
97821
  * - Provide meaningful labels for all input fields. Do not use the placeholder as a replacement for
97178
97822
  * the label.
97179
97823
  * - The `showValueHelp` property is overwritten and after initialization of the control, its value becomes
97180
- * `truthy`. Usage: When to use::
97824
+ * `truthy`.
97825
+ * - A mix of read-only and deletable tokens isn't supported.
97826
+ * - The read-only state of tokens should be controlled using the `editable` property of the MultiInput
97827
+ * control. Usage: When to use::
97181
97828
  * - You need to provide the value help option to help users select or search multiple business objects.
97182
97829
  *
97183
97830
  * - The dataset to choose from is expected to increase over time (for example, to more than 200 values).
@@ -136053,13 +136700,13 @@ declare namespace sap {
136053
136700
  */
136054
136701
  getEndHour(): int;
136055
136702
  /**
136056
- * Finds the start and end dates in the visible range.
136703
+ * Returns an object containing the start and end dates in the currently visible range.
136057
136704
  *
136058
136705
  * @since 1.133
136059
136706
  *
136060
- * @returns returns an object that stores both the start and end date within the currently visible range.
136707
+ * @returns An object containing the start and end date in the currently visible range.
136061
136708
  */
136062
- getFirstAndLastVisibleDates(): Object;
136709
+ getFirstAndLastVisibleDates(): sap.m.SinglePlanningCalendar.VisibleDates;
136063
136710
  /**
136064
136711
  * Gets current value of property {@link #getFirstDayOfWeek firstDayOfWeek}.
136065
136712
  *
@@ -138878,8 +139525,12 @@ declare namespace sap {
138878
139525
  * header tags to the HTML page which are considered useful for mobile applications and allows the configuration
138879
139526
  * of the application's home icon via the `homeIcon` property.
138880
139527
  *
138881
- * Usage: SplitApp should take the full width of the page and be used as the root of the application, not
138882
- * as child of another container.
139528
+ * Usage:
139529
+ * - Use SplitApp as the root control of your application. It should not be nested inside or alongside
139530
+ * other controls.
139531
+ * - SplitApp requires its parent elements (including `body` and `html`) to have a height set to 100%
139532
+ * for proper layout. If this is not set, `SplitApp` will attempt to set the height itself. SplitApp
139533
+ * requires 100% of the page width for proper layout.
138883
139534
  */
138884
139535
  class SplitApp extends sap.m.SplitContainer {
138885
139536
  /**
@@ -164110,11 +164761,11 @@ declare namespace sap {
164110
164761
  /**
164111
164762
  * Represents the ARIA role `alertdialog`.
164112
164763
  */
164113
- AlertDialog = "alertdialog",
164764
+ AlertDialog = "AlertDialog",
164114
164765
  /**
164115
164766
  * Represents the ARIA role `dialog`.
164116
164767
  */
164117
- Dialog = "dialog",
164768
+ Dialog = "Dialog",
164118
164769
  }
164119
164770
  /**
164120
164771
  * Enum for the type of {@link sap.m.Dialog} control.
@@ -165482,6 +166133,30 @@ declare namespace sap {
165482
166133
  */
165483
166134
  Standard = "Standard",
165484
166135
  }
166136
+ /**
166137
+ * Defines the action types available for list items.
166138
+ *
166139
+ * This enum is part of the 'sap/m/library' module export and must be accessed by the property 'ListItemActionType'.
166140
+ *
166141
+ * @since 1.137
166142
+ */
166143
+ enum ListItemActionType {
166144
+ /**
166145
+ * Defines a custom action for a list item. **Note:** The `icon` and `text` properties in the `sap.m.ListItemAction`
166146
+ * are required for this action type.
166147
+ */
166148
+ Custom = "Custom",
166149
+ /**
166150
+ * Indicates that the list item is deletable. **Note:** The `icon` and `text` properties must not be set
166151
+ * in `sap.m.ListItemAction` for this action type.
166152
+ */
166153
+ Delete = "Delete",
166154
+ /**
166155
+ * Indicates that the list item is editable. **Note:** The `icon` and `text` properties must not be set
166156
+ * in `sap.m.ListItemAction` for this action type.
166157
+ */
166158
+ Edit = "Edit",
166159
+ }
165485
166160
  /**
165486
166161
  * Defines the keyboard handling behavior of the `sap.m.List` or `sap.m.Table`.
165487
166162
  *
@@ -166417,11 +167092,11 @@ declare namespace sap {
166417
167092
  /**
166418
167093
  * Private mode of the `VariantItem`.
166419
167094
  */
166420
- Private = "private",
167095
+ Private = "Private",
166421
167096
  /**
166422
167097
  * Public mode of the `VariantItem`.
166423
167098
  */
166424
- Public = "public",
167099
+ Public = "Public",
166425
167100
  }
166426
167101
  /**
166427
167102
  * Available selection modes for the {@link sap.m.SinglePlanningCalendar}
@@ -168177,6 +168852,14 @@ declare namespace sap {
168177
168852
  ListBase
168178
168853
  >;
168179
168854
 
168855
+ /**
168856
+ * Event object of the ListBase#itemActionPress event.
168857
+ */
168858
+ type ListBase$ItemActionPressEvent = sap.ui.base.Event<
168859
+ ListBase$ItemActionPressEventParameters,
168860
+ ListBase
168861
+ >;
168862
+
168180
168863
  /**
168181
168864
  * Event object of the ListBase#itemPress event.
168182
168865
  */
@@ -168316,14 +168999,6 @@ declare namespace sap {
168316
168999
  MenuButton
168317
169000
  >;
168318
169001
 
168319
- /**
168320
- * Event object of the MenuItem#aggregationChanged event.
168321
- */
168322
- type MenuItem$AggregationChangedEvent = sap.ui.base.Event<
168323
- MenuItem$AggregationChangedEventParameters,
168324
- MenuItem
168325
- >;
168326
-
168327
169002
  /**
168328
169003
  * Event object of the MenuItem#press event.
168329
169004
  */
@@ -168332,14 +169007,6 @@ declare namespace sap {
168332
169007
  MenuItem
168333
169008
  >;
168334
169009
 
168335
- /**
168336
- * Event object of the MenuItem#propertyChanged event.
168337
- */
168338
- type MenuItem$PropertyChangedEvent = sap.ui.base.Event<
168339
- MenuItem$PropertyChangedEventParameters,
168340
- MenuItem
168341
- >;
168342
-
168343
169010
  /**
168344
169011
  * Event object of the MessagePage#navButtonPress event.
168345
169012
  */
@@ -170260,6 +170927,10 @@ declare namespace sap {
170260
170927
 
170261
170928
  "sap/m/ListBase": undefined;
170262
170929
 
170930
+ "sap/m/ListItemAction": undefined;
170931
+
170932
+ "sap/m/ListItemActionBase": undefined;
170933
+
170263
170934
  "sap/m/ListItemBase": undefined;
170264
170935
 
170265
170936
  "sap/m/MaskInput": undefined;
@@ -170634,6 +171305,8 @@ declare namespace sap {
170634
171305
 
170635
171306
  "sap/m/table/columnmenu/QuickGroupItem": undefined;
170636
171307
 
171308
+ "sap/m/table/columnmenu/QuickResize": undefined;
171309
+
170637
171310
  "sap/m/table/columnmenu/QuickSort": undefined;
170638
171311
 
170639
171312
  "sap/m/table/columnmenu/QuickSortItem": undefined;