@sapui5/ts-types-esm 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.
- package/package.json +1 -1
- package/types/index.d.ts +2 -1
- package/types/sap.apf.d.ts +30 -3
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +315 -65
- package/types/sap.esh.search.ui.d.ts +71 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +3 -0
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +50 -8
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +192 -66
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +4 -3
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +1261 -566
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +34 -1
- package/types/sap.suite.ui.commons.d.ts +4 -2
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +103 -16
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +67 -9
- package/types/sap.ui.core.d.ts +62 -49
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +221 -167
- package/types/sap.ui.fl.d.ts +3 -7
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +44 -24
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.136.0-esm-d.ts → sap.ui.mdc.d.ts} +599 -297
- package/types/sap.ui.richtexteditor.d.ts +21 -17
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +9 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +75 -30
- package/types/sap.ui.vk.d.ts +364 -102
- package/types/sap.ui.vtm.d.ts +3 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +58 -31
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- 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.
|
|
1
|
+
// For Library Version: 1.138.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/f/library" {
|
|
4
4
|
export interface IShellBar {
|
|
@@ -554,11 +554,11 @@ declare module "sap/m/library" {
|
|
|
554
554
|
/**
|
|
555
555
|
* Represents the ARIA role `alertdialog`.
|
|
556
556
|
*/
|
|
557
|
-
AlertDialog = "
|
|
557
|
+
AlertDialog = "AlertDialog",
|
|
558
558
|
/**
|
|
559
559
|
* Represents the ARIA role `dialog`.
|
|
560
560
|
*/
|
|
561
|
-
Dialog = "
|
|
561
|
+
Dialog = "Dialog",
|
|
562
562
|
}
|
|
563
563
|
/**
|
|
564
564
|
* Enum for the type of {@link sap.m.Dialog} control.
|
|
@@ -1317,7 +1317,7 @@ declare module "sap/m/library" {
|
|
|
1317
1317
|
InlineSvg = "InlineSvg",
|
|
1318
1318
|
}
|
|
1319
1319
|
/**
|
|
1320
|
-
* Interface for controls
|
|
1320
|
+
* Interface definition for controls suitable to be used as items of `sap.m.Menu`.
|
|
1321
1321
|
*
|
|
1322
1322
|
* @since 1.127.0
|
|
1323
1323
|
*/
|
|
@@ -1325,6 +1325,41 @@ declare module "sap/m/library" {
|
|
|
1325
1325
|
__implements__sap_m_IMenuItem: boolean;
|
|
1326
1326
|
}
|
|
1327
1327
|
|
|
1328
|
+
/**
|
|
1329
|
+
* Interface definition for controls suitable to be used as items of `sap.m.Menu`. This interface is used
|
|
1330
|
+
* to define the behavior of the menu item.
|
|
1331
|
+
*
|
|
1332
|
+
* @since 1.137.0
|
|
1333
|
+
*/
|
|
1334
|
+
export interface IMenuItemBehavior {
|
|
1335
|
+
__implements__sap_m_IMenuItemBehavior: boolean;
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* Returns whether the item can be counted in total items count. **Note:** This method can be overridden
|
|
1339
|
+
* by subclasses to implement custom behavior.
|
|
1340
|
+
*
|
|
1341
|
+
*
|
|
1342
|
+
* @returns Whether the item is counted in total items count
|
|
1343
|
+
*/
|
|
1344
|
+
isCountable(): boolean;
|
|
1345
|
+
/**
|
|
1346
|
+
* Returns whether the item can be focused. **Note:** This method can be overridden by subclasses to implement
|
|
1347
|
+
* custom behavior.
|
|
1348
|
+
*
|
|
1349
|
+
*
|
|
1350
|
+
* @returns Whether the item is enabled for focus
|
|
1351
|
+
*/
|
|
1352
|
+
isFocusable(): boolean;
|
|
1353
|
+
/**
|
|
1354
|
+
* Returns whether the firing of `press` event is allowed. **Note:** This method can be overridden by subclasses
|
|
1355
|
+
* to implement custom behavior.
|
|
1356
|
+
*
|
|
1357
|
+
*
|
|
1358
|
+
* @returns Whether the item is enabled for click/press
|
|
1359
|
+
*/
|
|
1360
|
+
isInteractive(): boolean;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1328
1363
|
/**
|
|
1329
1364
|
* The object contains accessibility state for a control.
|
|
1330
1365
|
*
|
|
@@ -1773,6 +1808,30 @@ declare module "sap/m/library" {
|
|
|
1773
1808
|
*/
|
|
1774
1809
|
Standard = "Standard",
|
|
1775
1810
|
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Defines the action types available for list items.
|
|
1813
|
+
*
|
|
1814
|
+
* This enum is part of the 'sap/m/library' module export and must be accessed by the property 'ListItemActionType'.
|
|
1815
|
+
*
|
|
1816
|
+
* @since 1.137
|
|
1817
|
+
*/
|
|
1818
|
+
export enum ListItemActionType {
|
|
1819
|
+
/**
|
|
1820
|
+
* Defines a custom action for a list item. **Note:** The `icon` and `text` properties in the `sap.m.ListItemAction`
|
|
1821
|
+
* are required for this action type.
|
|
1822
|
+
*/
|
|
1823
|
+
Custom = "Custom",
|
|
1824
|
+
/**
|
|
1825
|
+
* Indicates that the list item is deletable. **Note:** The `icon` and `text` properties must not be set
|
|
1826
|
+
* in `sap.m.ListItemAction` for this action type.
|
|
1827
|
+
*/
|
|
1828
|
+
Delete = "Delete",
|
|
1829
|
+
/**
|
|
1830
|
+
* Indicates that the list item is editable. **Note:** The `icon` and `text` properties must not be set
|
|
1831
|
+
* in `sap.m.ListItemAction` for this action type.
|
|
1832
|
+
*/
|
|
1833
|
+
Edit = "Edit",
|
|
1834
|
+
}
|
|
1776
1835
|
/**
|
|
1777
1836
|
* Defines the keyboard handling behavior of the `sap.m.List` or `sap.m.Table`.
|
|
1778
1837
|
*
|
|
@@ -2812,11 +2871,11 @@ declare module "sap/m/library" {
|
|
|
2812
2871
|
/**
|
|
2813
2872
|
* Private mode of the `VariantItem`.
|
|
2814
2873
|
*/
|
|
2815
|
-
Private = "
|
|
2874
|
+
Private = "Private",
|
|
2816
2875
|
/**
|
|
2817
2876
|
* Public mode of the `VariantItem`.
|
|
2818
2877
|
*/
|
|
2819
|
-
Public = "
|
|
2878
|
+
Public = "Public",
|
|
2820
2879
|
}
|
|
2821
2880
|
/**
|
|
2822
2881
|
* Available selection modes for the {@link sap.m.SinglePlanningCalendar}
|
|
@@ -23508,7 +23567,16 @@ declare module "sap/m/Dialog" {
|
|
|
23508
23567
|
/**
|
|
23509
23568
|
* Escape handler for sap.m.Dialog control.
|
|
23510
23569
|
*/
|
|
23511
|
-
export type EscapeHandler = (oHandlers:
|
|
23570
|
+
export type EscapeHandler = (oHandlers: {
|
|
23571
|
+
/**
|
|
23572
|
+
* Call this function if the dialog should be closed.
|
|
23573
|
+
*/
|
|
23574
|
+
resolve: () => void;
|
|
23575
|
+
/**
|
|
23576
|
+
* Call this function if the dialog should not be closed.
|
|
23577
|
+
*/
|
|
23578
|
+
reject: () => void;
|
|
23579
|
+
}) => void;
|
|
23512
23580
|
|
|
23513
23581
|
/**
|
|
23514
23582
|
* Describes the settings that can be provided to the Dialog constructor.
|
|
@@ -29620,8 +29688,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29620
29688
|
$ListItemBaseSettings,
|
|
29621
29689
|
} from "sap/m/ListItemBase";
|
|
29622
29690
|
|
|
29623
|
-
import FeedListItemAction from "sap/m/FeedListItemAction";
|
|
29624
|
-
|
|
29625
29691
|
import { URI } from "sap/ui/core/library";
|
|
29626
29692
|
|
|
29627
29693
|
import { LinkConversion, ListType } from "sap/m/library";
|
|
@@ -29632,17 +29698,16 @@ declare module "sap/m/FeedListItem" {
|
|
|
29632
29698
|
|
|
29633
29699
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
29634
29700
|
|
|
29635
|
-
import {
|
|
29636
|
-
PropertyBindingInfo,
|
|
29637
|
-
AggregationBindingInfo,
|
|
29638
|
-
} from "sap/ui/base/ManagedObject";
|
|
29701
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
29639
29702
|
|
|
29640
29703
|
import Event from "sap/ui/base/Event";
|
|
29641
29704
|
|
|
29642
29705
|
/**
|
|
29643
29706
|
* The control provides a set of properties for text, sender information, time stamp. Beginning with release
|
|
29644
29707
|
* 1.23 the new feature expand / collapse was introduced, which uses the property maxCharacters. Beginning
|
|
29645
|
-
* with release 1.44, sap.m.FormattedText was introduced which allows html formatted text to be displayed
|
|
29708
|
+
* with release 1.44, sap.m.FormattedText was introduced which allows html formatted text to be displayed.
|
|
29709
|
+
* The `actions` aggregation must contain instances of {@link sap.m.FeedListItemAction} in order to display
|
|
29710
|
+
* them in the action sheet.
|
|
29646
29711
|
*
|
|
29647
29712
|
* @since 1.12
|
|
29648
29713
|
*/
|
|
@@ -29709,19 +29774,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29709
29774
|
* @returns Metadata object describing this class
|
|
29710
29775
|
*/
|
|
29711
29776
|
static getMetadata(): ElementMetadata;
|
|
29712
|
-
/**
|
|
29713
|
-
* Adds some action to the aggregation {@link #getActions actions}.
|
|
29714
|
-
*
|
|
29715
|
-
* @since 1.52.0
|
|
29716
|
-
*
|
|
29717
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
29718
|
-
*/
|
|
29719
|
-
addAction(
|
|
29720
|
-
/**
|
|
29721
|
-
* The action to add; if empty, nothing is inserted
|
|
29722
|
-
*/
|
|
29723
|
-
oAction: FeedListItemAction
|
|
29724
|
-
): this;
|
|
29725
29777
|
/**
|
|
29726
29778
|
* Attaches event handler `fnFunction` to the {@link #event:iconPress iconPress} event of this `sap.m.FeedListItem`.
|
|
29727
29779
|
*
|
|
@@ -29816,14 +29868,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29816
29868
|
*/
|
|
29817
29869
|
oListener?: object
|
|
29818
29870
|
): this;
|
|
29819
|
-
/**
|
|
29820
|
-
* Destroys all the actions in the aggregation {@link #getActions actions}.
|
|
29821
|
-
*
|
|
29822
|
-
* @since 1.52.0
|
|
29823
|
-
*
|
|
29824
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
29825
|
-
*/
|
|
29826
|
-
destroyActions(): this;
|
|
29827
29871
|
/**
|
|
29828
29872
|
* Detaches event handler `fnFunction` from the {@link #event:iconPress iconPress} event of this `sap.m.FeedListItem`.
|
|
29829
29873
|
*
|
|
@@ -29886,14 +29930,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29886
29930
|
*/
|
|
29887
29931
|
mParameters?: FeedListItem$SenderPressEventParameters
|
|
29888
29932
|
): this;
|
|
29889
|
-
/**
|
|
29890
|
-
* Gets content of aggregation {@link #getActions actions}.
|
|
29891
|
-
*
|
|
29892
|
-
* Contains {@link sap.m.FeedListItemAction elements} that are displayed in the action sheet.
|
|
29893
|
-
*
|
|
29894
|
-
* @since 1.52.0
|
|
29895
|
-
*/
|
|
29896
|
-
getActions(): FeedListItemAction[];
|
|
29897
29933
|
/**
|
|
29898
29934
|
* Gets current value of property {@link #getActiveIcon activeIcon}.
|
|
29899
29935
|
*
|
|
@@ -30110,62 +30146,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
30110
30146
|
* @returns Value of property `timestamp`
|
|
30111
30147
|
*/
|
|
30112
30148
|
getTimestamp(): string;
|
|
30113
|
-
/**
|
|
30114
|
-
* Checks for the provided `sap.m.FeedListItemAction` in the aggregation {@link #getActions actions}. and
|
|
30115
|
-
* returns its index if found or -1 otherwise.
|
|
30116
|
-
*
|
|
30117
|
-
* @since 1.52.0
|
|
30118
|
-
*
|
|
30119
|
-
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
30120
|
-
*/
|
|
30121
|
-
indexOfAction(
|
|
30122
|
-
/**
|
|
30123
|
-
* The action whose index is looked for
|
|
30124
|
-
*/
|
|
30125
|
-
oAction: FeedListItemAction
|
|
30126
|
-
): int;
|
|
30127
|
-
/**
|
|
30128
|
-
* Inserts a action into the aggregation {@link #getActions actions}.
|
|
30129
|
-
*
|
|
30130
|
-
* @since 1.52.0
|
|
30131
|
-
*
|
|
30132
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
30133
|
-
*/
|
|
30134
|
-
insertAction(
|
|
30135
|
-
/**
|
|
30136
|
-
* The action to insert; if empty, nothing is inserted
|
|
30137
|
-
*/
|
|
30138
|
-
oAction: FeedListItemAction,
|
|
30139
|
-
/**
|
|
30140
|
-
* The `0`-based index the action should be inserted at; for a negative value of `iIndex`, the action is
|
|
30141
|
-
* inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted
|
|
30142
|
-
* at the last position
|
|
30143
|
-
*/
|
|
30144
|
-
iIndex: int
|
|
30145
|
-
): this;
|
|
30146
|
-
/**
|
|
30147
|
-
* Removes a action from the aggregation {@link #getActions actions}.
|
|
30148
|
-
*
|
|
30149
|
-
* @since 1.52.0
|
|
30150
|
-
*
|
|
30151
|
-
* @returns The removed action or `null`
|
|
30152
|
-
*/
|
|
30153
|
-
removeAction(
|
|
30154
|
-
/**
|
|
30155
|
-
* The action to remove or its index or id
|
|
30156
|
-
*/
|
|
30157
|
-
vAction: int | string | FeedListItemAction
|
|
30158
|
-
): FeedListItemAction | null;
|
|
30159
|
-
/**
|
|
30160
|
-
* Removes all the controls from the aggregation {@link #getActions actions}.
|
|
30161
|
-
*
|
|
30162
|
-
* Additionally, it unregisters them from the hosting UIArea.
|
|
30163
|
-
*
|
|
30164
|
-
* @since 1.52.0
|
|
30165
|
-
*
|
|
30166
|
-
* @returns An array of the removed elements (might be empty)
|
|
30167
|
-
*/
|
|
30168
|
-
removeAllActions(): FeedListItemAction[];
|
|
30169
30149
|
/**
|
|
30170
30150
|
* Sets a new value for property {@link #getActiveIcon activeIcon}.
|
|
30171
30151
|
*
|
|
@@ -30670,17 +30650,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
30670
30650
|
*/
|
|
30671
30651
|
disableStyleAttribute?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
30672
30652
|
|
|
30673
|
-
/**
|
|
30674
|
-
* Contains {@link sap.m.FeedListItemAction elements} that are displayed in the action sheet.
|
|
30675
|
-
*
|
|
30676
|
-
* @since 1.52.0
|
|
30677
|
-
*/
|
|
30678
|
-
actions?:
|
|
30679
|
-
| FeedListItemAction[]
|
|
30680
|
-
| FeedListItemAction
|
|
30681
|
-
| AggregationBindingInfo
|
|
30682
|
-
| `{${string}}`;
|
|
30683
|
-
|
|
30684
30653
|
/**
|
|
30685
30654
|
* Event is fired when name of the sender is pressed.
|
|
30686
30655
|
*/
|
|
@@ -30742,12 +30711,13 @@ declare module "sap/m/FeedListItem" {
|
|
|
30742
30711
|
}
|
|
30743
30712
|
|
|
30744
30713
|
declare module "sap/m/FeedListItemAction" {
|
|
30745
|
-
import {
|
|
30714
|
+
import {
|
|
30715
|
+
default as ListItemActionBase,
|
|
30716
|
+
$ListItemActionBaseSettings,
|
|
30717
|
+
} from "sap/m/ListItemActionBase";
|
|
30746
30718
|
|
|
30747
30719
|
import Event from "sap/ui/base/Event";
|
|
30748
30720
|
|
|
30749
|
-
import { URI } from "sap/ui/core/library";
|
|
30750
|
-
|
|
30751
30721
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
30752
30722
|
|
|
30753
30723
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -30757,7 +30727,7 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30757
30727
|
*
|
|
30758
30728
|
* @since 1.52.0
|
|
30759
30729
|
*/
|
|
30760
|
-
export default class FeedListItemAction extends
|
|
30730
|
+
export default class FeedListItemAction extends ListItemActionBase {
|
|
30761
30731
|
/**
|
|
30762
30732
|
* Constructor for a new FeedListItemAction.
|
|
30763
30733
|
*
|
|
@@ -30793,7 +30763,7 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30793
30763
|
* Creates a new subclass of class sap.m.FeedListItemAction with name `sClassName` and enriches it with
|
|
30794
30764
|
* the information contained in `oClassInfo`.
|
|
30795
30765
|
*
|
|
30796
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.
|
|
30766
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.m.ListItemActionBase.extend}.
|
|
30797
30767
|
*
|
|
30798
30768
|
*
|
|
30799
30769
|
* @returns Created class / constructor function
|
|
@@ -30910,15 +30880,6 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30910
30880
|
* @returns Value of property `enabled`
|
|
30911
30881
|
*/
|
|
30912
30882
|
getEnabled(): boolean;
|
|
30913
|
-
/**
|
|
30914
|
-
* Gets current value of property {@link #getIcon icon}.
|
|
30915
|
-
*
|
|
30916
|
-
* The icon of the action.
|
|
30917
|
-
*
|
|
30918
|
-
*
|
|
30919
|
-
* @returns Value of property `icon`
|
|
30920
|
-
*/
|
|
30921
|
-
getIcon(): URI;
|
|
30922
30883
|
/**
|
|
30923
30884
|
* Gets current value of property {@link #getKey key}.
|
|
30924
30885
|
*
|
|
@@ -30930,28 +30891,6 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30930
30891
|
* @returns Value of property `key`
|
|
30931
30892
|
*/
|
|
30932
30893
|
getKey(): string;
|
|
30933
|
-
/**
|
|
30934
|
-
* Gets current value of property {@link #getText text}.
|
|
30935
|
-
*
|
|
30936
|
-
* The text of the item. It is used as a tooltip and for accessibility reasons.
|
|
30937
|
-
*
|
|
30938
|
-
* Default value is `empty string`.
|
|
30939
|
-
*
|
|
30940
|
-
*
|
|
30941
|
-
* @returns Value of property `text`
|
|
30942
|
-
*/
|
|
30943
|
-
getText(): string;
|
|
30944
|
-
/**
|
|
30945
|
-
* Gets current value of property {@link #getVisible visible}.
|
|
30946
|
-
*
|
|
30947
|
-
* Hides or shows a button on the UI.
|
|
30948
|
-
*
|
|
30949
|
-
* Default value is `true`.
|
|
30950
|
-
*
|
|
30951
|
-
*
|
|
30952
|
-
* @returns Value of property `visible`
|
|
30953
|
-
*/
|
|
30954
|
-
getVisible(): boolean;
|
|
30955
30894
|
/**
|
|
30956
30895
|
* Sets a new value for property {@link #getEnabled enabled}.
|
|
30957
30896
|
*
|
|
@@ -30971,22 +30910,6 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30971
30910
|
*/
|
|
30972
30911
|
bEnabled?: boolean
|
|
30973
30912
|
): this;
|
|
30974
|
-
/**
|
|
30975
|
-
* Sets a new value for property {@link #getIcon icon}.
|
|
30976
|
-
*
|
|
30977
|
-
* The icon of the action.
|
|
30978
|
-
*
|
|
30979
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
30980
|
-
*
|
|
30981
|
-
*
|
|
30982
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
30983
|
-
*/
|
|
30984
|
-
setIcon(
|
|
30985
|
-
/**
|
|
30986
|
-
* New value for property `icon`
|
|
30987
|
-
*/
|
|
30988
|
-
sIcon?: URI
|
|
30989
|
-
): this;
|
|
30990
30913
|
/**
|
|
30991
30914
|
* Sets a new value for property {@link #getKey key}.
|
|
30992
30915
|
*
|
|
@@ -31005,67 +30928,17 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
31005
30928
|
*/
|
|
31006
30929
|
sKey?: string
|
|
31007
30930
|
): this;
|
|
31008
|
-
/**
|
|
31009
|
-
* Sets a new value for property {@link #getText text}.
|
|
31010
|
-
*
|
|
31011
|
-
* The text of the item. It is used as a tooltip and for accessibility reasons.
|
|
31012
|
-
*
|
|
31013
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
31014
|
-
*
|
|
31015
|
-
* Default value is `empty string`.
|
|
31016
|
-
*
|
|
31017
|
-
*
|
|
31018
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
31019
|
-
*/
|
|
31020
|
-
setText(
|
|
31021
|
-
/**
|
|
31022
|
-
* New value for property `text`
|
|
31023
|
-
*/
|
|
31024
|
-
sText?: string
|
|
31025
|
-
): this;
|
|
31026
|
-
/**
|
|
31027
|
-
* Sets a new value for property {@link #getVisible visible}.
|
|
31028
|
-
*
|
|
31029
|
-
* Hides or shows a button on the UI.
|
|
31030
|
-
*
|
|
31031
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
31032
|
-
*
|
|
31033
|
-
* Default value is `true`.
|
|
31034
|
-
*
|
|
31035
|
-
*
|
|
31036
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
31037
|
-
*/
|
|
31038
|
-
setVisible(
|
|
31039
|
-
/**
|
|
31040
|
-
* New value for property `visible`
|
|
31041
|
-
*/
|
|
31042
|
-
bVisible?: boolean
|
|
31043
|
-
): this;
|
|
31044
30931
|
}
|
|
31045
30932
|
/**
|
|
31046
30933
|
* Describes the settings that can be provided to the FeedListItemAction constructor.
|
|
31047
30934
|
*/
|
|
31048
|
-
export interface $FeedListItemActionSettings
|
|
31049
|
-
|
|
31050
|
-
* The icon of the action.
|
|
31051
|
-
*/
|
|
31052
|
-
icon?: URI | PropertyBindingInfo | `{${string}}`;
|
|
31053
|
-
|
|
31054
|
-
/**
|
|
31055
|
-
* The text of the item. It is used as a tooltip and for accessibility reasons.
|
|
31056
|
-
*/
|
|
31057
|
-
text?: string | PropertyBindingInfo;
|
|
31058
|
-
|
|
30935
|
+
export interface $FeedListItemActionSettings
|
|
30936
|
+
extends $ListItemActionBaseSettings {
|
|
31059
30937
|
/**
|
|
31060
30938
|
* The key of the item.
|
|
31061
30939
|
*/
|
|
31062
30940
|
key?: string | PropertyBindingInfo;
|
|
31063
30941
|
|
|
31064
|
-
/**
|
|
31065
|
-
* Hides or shows a button on the UI.
|
|
31066
|
-
*/
|
|
31067
|
-
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
31068
|
-
|
|
31069
30942
|
/**
|
|
31070
30943
|
* Enables or disables a button on the UI. All buttons are enabled by default. Disabled buttons are colored
|
|
31071
30944
|
* differently as per the theme of the UI.
|
|
@@ -35065,8 +34938,8 @@ declare module "sap/m/GroupHeaderListItem" {
|
|
|
35065
34938
|
|
|
35066
34939
|
/**
|
|
35067
34940
|
* `sap.m.GroupHeaderListItem` is used to display the title of a group and act as separator between groups
|
|
35068
|
-
* in `sap.m.List` and `sap.m.Table`. **Note:** The inherited properties `unread`, `selected`, `counter
|
|
35069
|
-
*
|
|
34941
|
+
* in `sap.m.List` and `sap.m.Table`. **Note:** The inherited properties `unread`, `selected`, `counter`,
|
|
34942
|
+
* the `press` event, and the `actions` aggregation from `sap.m.ListItemBase` are not supported.
|
|
35070
34943
|
*
|
|
35071
34944
|
* There are the following known restrictions:
|
|
35072
34945
|
* - When a list is manually populated with items and groups without using data binding, changes to the
|
|
@@ -39472,6 +39345,21 @@ declare module "sap/m/IllustratedMessage" {
|
|
|
39472
39345
|
* @returns Value of property `ariaTitleLevel`
|
|
39473
39346
|
*/
|
|
39474
39347
|
getAriaTitleLevel(): TitleLevel;
|
|
39348
|
+
/**
|
|
39349
|
+
* Gets current value of property {@link #getDecorative decorative}.
|
|
39350
|
+
*
|
|
39351
|
+
* Defines whether the illustration is decorative.
|
|
39352
|
+
*
|
|
39353
|
+
* When set to true, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG
|
|
39354
|
+
* element.
|
|
39355
|
+
*
|
|
39356
|
+
* Default value is `false`.
|
|
39357
|
+
*
|
|
39358
|
+
* @experimental As of version 1.138.
|
|
39359
|
+
*
|
|
39360
|
+
* @returns Value of property `decorative`
|
|
39361
|
+
*/
|
|
39362
|
+
getDecorative(): boolean;
|
|
39475
39363
|
/**
|
|
39476
39364
|
* Gets current value of property {@link #getDescription description}.
|
|
39477
39365
|
*
|
|
@@ -40031,6 +39919,16 @@ declare module "sap/m/IllustratedMessage" {
|
|
|
40031
39919
|
| PropertyBindingInfo
|
|
40032
39920
|
| `{${string}}`;
|
|
40033
39921
|
|
|
39922
|
+
/**
|
|
39923
|
+
* Defines whether the illustration is decorative.
|
|
39924
|
+
*
|
|
39925
|
+
* When set to true, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG
|
|
39926
|
+
* element.
|
|
39927
|
+
*
|
|
39928
|
+
* @experimental As of version 1.138.
|
|
39929
|
+
*/
|
|
39930
|
+
decorative?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
39931
|
+
|
|
40034
39932
|
/**
|
|
40035
39933
|
* Defines the controls placed below the description as additional content.
|
|
40036
39934
|
*
|
|
@@ -40630,6 +40528,18 @@ declare module "sap/m/Illustration" {
|
|
|
40630
40528
|
* @since 1.106.0
|
|
40631
40529
|
*/
|
|
40632
40530
|
getAriaLabelledBy(): ID[];
|
|
40531
|
+
/**
|
|
40532
|
+
* Gets current value of property {@link #getDecorative decorative}.
|
|
40533
|
+
*
|
|
40534
|
+
* Defines whether the illustration is decorative.
|
|
40535
|
+
*
|
|
40536
|
+
* Default value is `false`.
|
|
40537
|
+
*
|
|
40538
|
+
* @experimental As of version 1.138.
|
|
40539
|
+
*
|
|
40540
|
+
* @returns Value of property `decorative`
|
|
40541
|
+
*/
|
|
40542
|
+
getDecorative(): boolean;
|
|
40633
40543
|
/**
|
|
40634
40544
|
* Gets current value of property {@link #getMedia media}.
|
|
40635
40545
|
*
|
|
@@ -40702,6 +40612,25 @@ declare module "sap/m/Illustration" {
|
|
|
40702
40612
|
*/
|
|
40703
40613
|
vAriaLabelledBy: int | ID | Control
|
|
40704
40614
|
): ID | null;
|
|
40615
|
+
/**
|
|
40616
|
+
* Sets a new value for property {@link #getDecorative decorative}.
|
|
40617
|
+
*
|
|
40618
|
+
* Defines whether the illustration is decorative.
|
|
40619
|
+
*
|
|
40620
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
40621
|
+
*
|
|
40622
|
+
* Default value is `false`.
|
|
40623
|
+
*
|
|
40624
|
+
* @experimental As of version 1.138.
|
|
40625
|
+
*
|
|
40626
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
40627
|
+
*/
|
|
40628
|
+
setDecorative(
|
|
40629
|
+
/**
|
|
40630
|
+
* New value for property `decorative`
|
|
40631
|
+
*/
|
|
40632
|
+
bDecorative?: boolean
|
|
40633
|
+
): this;
|
|
40705
40634
|
/**
|
|
40706
40635
|
* Sets a new value for property {@link #getMedia media}.
|
|
40707
40636
|
*
|
|
@@ -40779,6 +40708,13 @@ declare module "sap/m/Illustration" {
|
|
|
40779
40708
|
*/
|
|
40780
40709
|
type?: string | PropertyBindingInfo;
|
|
40781
40710
|
|
|
40711
|
+
/**
|
|
40712
|
+
* Defines whether the illustration is decorative.
|
|
40713
|
+
*
|
|
40714
|
+
* @experimental As of version 1.138.
|
|
40715
|
+
*/
|
|
40716
|
+
decorative?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
40717
|
+
|
|
40782
40718
|
/**
|
|
40783
40719
|
* Association to controls / IDs which label those controls (see WAI-ARIA attribute aria-labelledBy).
|
|
40784
40720
|
*
|
|
@@ -50092,6 +50028,8 @@ declare module "sap/m/ListBase" {
|
|
|
50092
50028
|
|
|
50093
50029
|
import Event from "sap/ui/base/Event";
|
|
50094
50030
|
|
|
50031
|
+
import ListItemAction from "sap/m/ListItemAction";
|
|
50032
|
+
|
|
50095
50033
|
/**
|
|
50096
50034
|
* The `sap.m.ListBase` control provides a base functionality of the `sap.m.List` and `sap.m.Table` controls.
|
|
50097
50035
|
* Selection, deletion, unread states and inset style are also maintained in `sap.m.ListBase`.
|
|
@@ -50402,6 +50340,57 @@ declare module "sap/m/ListBase" {
|
|
|
50402
50340
|
*/
|
|
50403
50341
|
oListener?: object
|
|
50404
50342
|
): this;
|
|
50343
|
+
/**
|
|
50344
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemActionPress itemActionPress} event of this
|
|
50345
|
+
* `sap.m.ListBase`.
|
|
50346
|
+
*
|
|
50347
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
50348
|
+
* otherwise it will be bound to this `sap.m.ListBase` itself.
|
|
50349
|
+
*
|
|
50350
|
+
* Fired when an item action is pressed.
|
|
50351
|
+
*
|
|
50352
|
+
* @since 1.137
|
|
50353
|
+
*
|
|
50354
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
50355
|
+
*/
|
|
50356
|
+
attachItemActionPress(
|
|
50357
|
+
/**
|
|
50358
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
50359
|
+
* object when firing the event
|
|
50360
|
+
*/
|
|
50361
|
+
oData: object,
|
|
50362
|
+
/**
|
|
50363
|
+
* The function to be called when the event occurs
|
|
50364
|
+
*/
|
|
50365
|
+
fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
|
|
50366
|
+
/**
|
|
50367
|
+
* Context object to call the event handler with. Defaults to this `sap.m.ListBase` itself
|
|
50368
|
+
*/
|
|
50369
|
+
oListener?: object
|
|
50370
|
+
): this;
|
|
50371
|
+
/**
|
|
50372
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemActionPress itemActionPress} event of this
|
|
50373
|
+
* `sap.m.ListBase`.
|
|
50374
|
+
*
|
|
50375
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
50376
|
+
* otherwise it will be bound to this `sap.m.ListBase` itself.
|
|
50377
|
+
*
|
|
50378
|
+
* Fired when an item action is pressed.
|
|
50379
|
+
*
|
|
50380
|
+
* @since 1.137
|
|
50381
|
+
*
|
|
50382
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
50383
|
+
*/
|
|
50384
|
+
attachItemActionPress(
|
|
50385
|
+
/**
|
|
50386
|
+
* The function to be called when the event occurs
|
|
50387
|
+
*/
|
|
50388
|
+
fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
|
|
50389
|
+
/**
|
|
50390
|
+
* Context object to call the event handler with. Defaults to this `sap.m.ListBase` itself
|
|
50391
|
+
*/
|
|
50392
|
+
oListener?: object
|
|
50393
|
+
): this;
|
|
50405
50394
|
/**
|
|
50406
50395
|
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.m.ListBase`.
|
|
50407
50396
|
*
|
|
@@ -50855,6 +50844,26 @@ declare module "sap/m/ListBase" {
|
|
|
50855
50844
|
*/
|
|
50856
50845
|
oListener?: object
|
|
50857
50846
|
): this;
|
|
50847
|
+
/**
|
|
50848
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemActionPress itemActionPress} event of
|
|
50849
|
+
* this `sap.m.ListBase`.
|
|
50850
|
+
*
|
|
50851
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
50852
|
+
*
|
|
50853
|
+
* @since 1.137
|
|
50854
|
+
*
|
|
50855
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
50856
|
+
*/
|
|
50857
|
+
detachItemActionPress(
|
|
50858
|
+
/**
|
|
50859
|
+
* The function to be called, when the event occurs
|
|
50860
|
+
*/
|
|
50861
|
+
fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
|
|
50862
|
+
/**
|
|
50863
|
+
* Context object on which the given function had to be called
|
|
50864
|
+
*/
|
|
50865
|
+
oListener?: object
|
|
50866
|
+
): this;
|
|
50858
50867
|
/**
|
|
50859
50868
|
* Detaches event handler `fnFunction` from the {@link #event:itemPress itemPress} event of this `sap.m.ListBase`.
|
|
50860
50869
|
*
|
|
@@ -51031,6 +51040,20 @@ declare module "sap/m/ListBase" {
|
|
|
51031
51040
|
*/
|
|
51032
51041
|
mParameters?: ListBase$GrowingStartedEventParameters
|
|
51033
51042
|
): this;
|
|
51043
|
+
/**
|
|
51044
|
+
* Fires event {@link #event:itemActionPress itemActionPress} to attached listeners.
|
|
51045
|
+
*
|
|
51046
|
+
* @since 1.137
|
|
51047
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
51048
|
+
*
|
|
51049
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
51050
|
+
*/
|
|
51051
|
+
fireItemActionPress(
|
|
51052
|
+
/**
|
|
51053
|
+
* Parameters to pass along with the event
|
|
51054
|
+
*/
|
|
51055
|
+
mParameters?: ListBase$ItemActionPressEventParameters
|
|
51056
|
+
): this;
|
|
51034
51057
|
/**
|
|
51035
51058
|
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
51036
51059
|
*
|
|
@@ -51316,6 +51339,25 @@ declare module "sap/m/ListBase" {
|
|
|
51316
51339
|
* @returns Value of property `inset`
|
|
51317
51340
|
*/
|
|
51318
51341
|
getInset(): boolean;
|
|
51342
|
+
/**
|
|
51343
|
+
* Gets current value of property {@link #getItemActionCount itemActionCount}.
|
|
51344
|
+
*
|
|
51345
|
+
* Defines the maximum number of item actions.
|
|
51346
|
+
*
|
|
51347
|
+
* If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
|
|
51348
|
+
* providing access to the additional actions.
|
|
51349
|
+
*
|
|
51350
|
+
* **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
|
|
51351
|
+
* {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
|
|
51352
|
+
* Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
|
|
51353
|
+
*
|
|
51354
|
+
* Default value is `-1`.
|
|
51355
|
+
*
|
|
51356
|
+
* @since 1.137
|
|
51357
|
+
*
|
|
51358
|
+
* @returns Value of property `itemActionCount`
|
|
51359
|
+
*/
|
|
51360
|
+
getItemActionCount(): int;
|
|
51319
51361
|
/**
|
|
51320
51362
|
* Returns the ItemNavigation delegate of the list
|
|
51321
51363
|
*
|
|
@@ -51975,6 +52017,32 @@ declare module "sap/m/ListBase" {
|
|
|
51975
52017
|
*/
|
|
51976
52018
|
bInset?: boolean
|
|
51977
52019
|
): this;
|
|
52020
|
+
/**
|
|
52021
|
+
* Sets a new value for property {@link #getItemActionCount itemActionCount}.
|
|
52022
|
+
*
|
|
52023
|
+
* Defines the maximum number of item actions.
|
|
52024
|
+
*
|
|
52025
|
+
* If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
|
|
52026
|
+
* providing access to the additional actions.
|
|
52027
|
+
*
|
|
52028
|
+
* **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
|
|
52029
|
+
* {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
|
|
52030
|
+
* Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
|
|
52031
|
+
*
|
|
52032
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
52033
|
+
*
|
|
52034
|
+
* Default value is `-1`.
|
|
52035
|
+
*
|
|
52036
|
+
* @since 1.137
|
|
52037
|
+
*
|
|
52038
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
52039
|
+
*/
|
|
52040
|
+
setItemActionCount(
|
|
52041
|
+
/**
|
|
52042
|
+
* New value for property `itemActionCount`
|
|
52043
|
+
*/
|
|
52044
|
+
iItemActionCount?: int
|
|
52045
|
+
): this;
|
|
51978
52046
|
/**
|
|
51979
52047
|
* Sets a new value for property {@link #getKeyboardMode keyboardMode}.
|
|
51980
52048
|
*
|
|
@@ -52541,6 +52609,20 @@ declare module "sap/m/ListBase" {
|
|
|
52541
52609
|
| PropertyBindingInfo
|
|
52542
52610
|
| `{${string}}`;
|
|
52543
52611
|
|
|
52612
|
+
/**
|
|
52613
|
+
* Defines the maximum number of item actions.
|
|
52614
|
+
*
|
|
52615
|
+
* If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
|
|
52616
|
+
* providing access to the additional actions.
|
|
52617
|
+
*
|
|
52618
|
+
* **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
|
|
52619
|
+
* {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
|
|
52620
|
+
* Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
|
|
52621
|
+
*
|
|
52622
|
+
* @since 1.137
|
|
52623
|
+
*/
|
|
52624
|
+
itemActionCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
52625
|
+
|
|
52544
52626
|
/**
|
|
52545
52627
|
* Defines the items contained within this control.
|
|
52546
52628
|
*/
|
|
@@ -52674,6 +52756,13 @@ declare module "sap/m/ListBase" {
|
|
|
52674
52756
|
beforeOpenContextMenu?: (
|
|
52675
52757
|
oEvent: ListBase$BeforeOpenContextMenuEvent
|
|
52676
52758
|
) => void;
|
|
52759
|
+
|
|
52760
|
+
/**
|
|
52761
|
+
* Fired when an item action is pressed.
|
|
52762
|
+
*
|
|
52763
|
+
* @since 1.137
|
|
52764
|
+
*/
|
|
52765
|
+
itemActionPress?: (oEvent: ListBase$ItemActionPressEvent) => void;
|
|
52677
52766
|
}
|
|
52678
52767
|
|
|
52679
52768
|
/**
|
|
@@ -52766,6 +52855,29 @@ declare module "sap/m/ListBase" {
|
|
|
52766
52855
|
ListBase
|
|
52767
52856
|
>;
|
|
52768
52857
|
|
|
52858
|
+
/**
|
|
52859
|
+
* Parameters of the ListBase#itemActionPress event.
|
|
52860
|
+
*/
|
|
52861
|
+
export interface ListBase$ItemActionPressEventParameters {
|
|
52862
|
+
/**
|
|
52863
|
+
* The list item action that fired the event
|
|
52864
|
+
*/
|
|
52865
|
+
itemAction?: ListItemAction;
|
|
52866
|
+
|
|
52867
|
+
/**
|
|
52868
|
+
* The list item in which the action was performed
|
|
52869
|
+
*/
|
|
52870
|
+
listItem?: ListItemBase;
|
|
52871
|
+
}
|
|
52872
|
+
|
|
52873
|
+
/**
|
|
52874
|
+
* Event object of the ListBase#itemActionPress event.
|
|
52875
|
+
*/
|
|
52876
|
+
export type ListBase$ItemActionPressEvent = Event<
|
|
52877
|
+
ListBase$ItemActionPressEventParameters,
|
|
52878
|
+
ListBase
|
|
52879
|
+
>;
|
|
52880
|
+
|
|
52769
52881
|
/**
|
|
52770
52882
|
* Parameters of the ListBase#itemPress event.
|
|
52771
52883
|
*/
|
|
@@ -52937,9 +53049,291 @@ declare module "sap/m/ListBase" {
|
|
|
52937
53049
|
>;
|
|
52938
53050
|
}
|
|
52939
53051
|
|
|
53052
|
+
declare module "sap/m/ListItemAction" {
|
|
53053
|
+
import Metadata from "sap/ui/base/Metadata";
|
|
53054
|
+
|
|
53055
|
+
import { ListItemActionType } from "sap/m/library";
|
|
53056
|
+
|
|
53057
|
+
/**
|
|
53058
|
+
* The `sap.m.ListItemAction` control provides the option to define actions directly related to list items.
|
|
53059
|
+
*
|
|
53060
|
+
* @since 1.137
|
|
53061
|
+
*/
|
|
53062
|
+
export default class ListItemAction
|
|
53063
|
+
extends /* was: sap.ui.core.ListItemActionBase */ Object
|
|
53064
|
+
{
|
|
53065
|
+
/**
|
|
53066
|
+
* Constructor for a new action for list items.
|
|
53067
|
+
*
|
|
53068
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
53069
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53070
|
+
* of the syntax of the settings object.
|
|
53071
|
+
*/
|
|
53072
|
+
constructor(
|
|
53073
|
+
/**
|
|
53074
|
+
* id for the new control, generated automatically if no id is given
|
|
53075
|
+
*/
|
|
53076
|
+
sId?: string,
|
|
53077
|
+
/**
|
|
53078
|
+
* Initial settings for the new control
|
|
53079
|
+
*/
|
|
53080
|
+
mSettings?: object
|
|
53081
|
+
);
|
|
53082
|
+
|
|
53083
|
+
/**
|
|
53084
|
+
* Creates a new subclass of class sap.m.ListItemAction with name `sClassName` and enriches it with the
|
|
53085
|
+
* information contained in `oClassInfo`.
|
|
53086
|
+
*
|
|
53087
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.ListItemActionBase.extend}.
|
|
53088
|
+
*
|
|
53089
|
+
*
|
|
53090
|
+
* @returns Created class / constructor function
|
|
53091
|
+
*/
|
|
53092
|
+
static extend<T extends Record<string, unknown>>(
|
|
53093
|
+
/**
|
|
53094
|
+
* Name of the class being created
|
|
53095
|
+
*/
|
|
53096
|
+
sClassName: string,
|
|
53097
|
+
/**
|
|
53098
|
+
* Object literal with information about the class
|
|
53099
|
+
*/
|
|
53100
|
+
oClassInfo?: sap.ClassInfo<T, ListItemAction>,
|
|
53101
|
+
/**
|
|
53102
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
53103
|
+
* used by this class
|
|
53104
|
+
*/
|
|
53105
|
+
FNMetaImpl?: Function
|
|
53106
|
+
): Function;
|
|
53107
|
+
/**
|
|
53108
|
+
* Returns a metadata object for class sap.m.ListItemAction.
|
|
53109
|
+
*
|
|
53110
|
+
*
|
|
53111
|
+
* @returns Metadata object describing this class
|
|
53112
|
+
*/
|
|
53113
|
+
static getMetadata(): Metadata;
|
|
53114
|
+
/**
|
|
53115
|
+
* Gets current value of property {@link #getType type}.
|
|
53116
|
+
*
|
|
53117
|
+
* Defines the type of the action.
|
|
53118
|
+
*
|
|
53119
|
+
* Default value is `Custom`.
|
|
53120
|
+
*
|
|
53121
|
+
*
|
|
53122
|
+
* @returns Value of property `type`
|
|
53123
|
+
*/
|
|
53124
|
+
getType(): ListItemActionType;
|
|
53125
|
+
/**
|
|
53126
|
+
* Sets a new value for property {@link #getType type}.
|
|
53127
|
+
*
|
|
53128
|
+
* Defines the type of the action.
|
|
53129
|
+
*
|
|
53130
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53131
|
+
*
|
|
53132
|
+
* Default value is `Custom`.
|
|
53133
|
+
*
|
|
53134
|
+
*
|
|
53135
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53136
|
+
*/
|
|
53137
|
+
setType(
|
|
53138
|
+
/**
|
|
53139
|
+
* New value for property `type`
|
|
53140
|
+
*/
|
|
53141
|
+
sType?: ListItemActionType | keyof typeof ListItemActionType
|
|
53142
|
+
): this;
|
|
53143
|
+
}
|
|
53144
|
+
}
|
|
53145
|
+
|
|
53146
|
+
declare module "sap/m/ListItemActionBase" {
|
|
53147
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
53148
|
+
|
|
53149
|
+
import { URI } from "sap/ui/core/library";
|
|
53150
|
+
|
|
53151
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
53152
|
+
|
|
53153
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
53154
|
+
|
|
53155
|
+
/**
|
|
53156
|
+
* The `sap.m.ListItemActionBase` class serves as a foundation for list item actions.
|
|
53157
|
+
*
|
|
53158
|
+
* @since 1.137
|
|
53159
|
+
*/
|
|
53160
|
+
export default abstract class ListItemActionBase extends UI5Element {
|
|
53161
|
+
/**
|
|
53162
|
+
* Constructor for a new action for list items.
|
|
53163
|
+
*
|
|
53164
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
53165
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53166
|
+
* of the syntax of the settings object.
|
|
53167
|
+
*/
|
|
53168
|
+
constructor(
|
|
53169
|
+
/**
|
|
53170
|
+
* Initial settings for the new action
|
|
53171
|
+
*/
|
|
53172
|
+
mSettings?: $ListItemActionBaseSettings
|
|
53173
|
+
);
|
|
53174
|
+
/**
|
|
53175
|
+
* Constructor for a new action for list items.
|
|
53176
|
+
*
|
|
53177
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
53178
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53179
|
+
* of the syntax of the settings object.
|
|
53180
|
+
*/
|
|
53181
|
+
constructor(
|
|
53182
|
+
/**
|
|
53183
|
+
* id for the new control, generated automatically if no id is given
|
|
53184
|
+
*/
|
|
53185
|
+
sId?: string,
|
|
53186
|
+
/**
|
|
53187
|
+
* Initial settings for the new action
|
|
53188
|
+
*/
|
|
53189
|
+
mSettings?: $ListItemActionBaseSettings
|
|
53190
|
+
);
|
|
53191
|
+
|
|
53192
|
+
/**
|
|
53193
|
+
* Creates a new subclass of class sap.m.ListItemActionBase with name `sClassName` and enriches it with
|
|
53194
|
+
* the information contained in `oClassInfo`.
|
|
53195
|
+
*
|
|
53196
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
53197
|
+
*
|
|
53198
|
+
*
|
|
53199
|
+
* @returns Created class / constructor function
|
|
53200
|
+
*/
|
|
53201
|
+
static extend<T extends Record<string, unknown>>(
|
|
53202
|
+
/**
|
|
53203
|
+
* Name of the class being created
|
|
53204
|
+
*/
|
|
53205
|
+
sClassName: string,
|
|
53206
|
+
/**
|
|
53207
|
+
* Object literal with information about the class
|
|
53208
|
+
*/
|
|
53209
|
+
oClassInfo?: sap.ClassInfo<T, ListItemActionBase>,
|
|
53210
|
+
/**
|
|
53211
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
53212
|
+
* used by this class
|
|
53213
|
+
*/
|
|
53214
|
+
FNMetaImpl?: Function
|
|
53215
|
+
): Function;
|
|
53216
|
+
/**
|
|
53217
|
+
* Returns a metadata object for class sap.m.ListItemActionBase.
|
|
53218
|
+
*
|
|
53219
|
+
*
|
|
53220
|
+
* @returns Metadata object describing this class
|
|
53221
|
+
*/
|
|
53222
|
+
static getMetadata(): ElementMetadata;
|
|
53223
|
+
/**
|
|
53224
|
+
* Gets current value of property {@link #getIcon icon}.
|
|
53225
|
+
*
|
|
53226
|
+
* Defines the icon of the action.
|
|
53227
|
+
*
|
|
53228
|
+
* Default value is `empty string`.
|
|
53229
|
+
*
|
|
53230
|
+
*
|
|
53231
|
+
* @returns Value of property `icon`
|
|
53232
|
+
*/
|
|
53233
|
+
getIcon(): URI;
|
|
53234
|
+
/**
|
|
53235
|
+
* Gets current value of property {@link #getText text}.
|
|
53236
|
+
*
|
|
53237
|
+
* Defines the text of the action.
|
|
53238
|
+
*
|
|
53239
|
+
* Default value is `empty string`.
|
|
53240
|
+
*
|
|
53241
|
+
*
|
|
53242
|
+
* @returns Value of property `text`
|
|
53243
|
+
*/
|
|
53244
|
+
getText(): string;
|
|
53245
|
+
/**
|
|
53246
|
+
* Gets current value of property {@link #getVisible visible}.
|
|
53247
|
+
*
|
|
53248
|
+
* Defines the visibility of the action.
|
|
53249
|
+
*
|
|
53250
|
+
* Default value is `true`.
|
|
53251
|
+
*
|
|
53252
|
+
*
|
|
53253
|
+
* @returns Value of property `visible`
|
|
53254
|
+
*/
|
|
53255
|
+
getVisible(): boolean;
|
|
53256
|
+
/**
|
|
53257
|
+
* Sets a new value for property {@link #getIcon icon}.
|
|
53258
|
+
*
|
|
53259
|
+
* Defines the icon of the action.
|
|
53260
|
+
*
|
|
53261
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53262
|
+
*
|
|
53263
|
+
* Default value is `empty string`.
|
|
53264
|
+
*
|
|
53265
|
+
*
|
|
53266
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53267
|
+
*/
|
|
53268
|
+
setIcon(
|
|
53269
|
+
/**
|
|
53270
|
+
* New value for property `icon`
|
|
53271
|
+
*/
|
|
53272
|
+
sIcon?: URI
|
|
53273
|
+
): this;
|
|
53274
|
+
/**
|
|
53275
|
+
* Sets a new value for property {@link #getText text}.
|
|
53276
|
+
*
|
|
53277
|
+
* Defines the text of the action.
|
|
53278
|
+
*
|
|
53279
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53280
|
+
*
|
|
53281
|
+
* Default value is `empty string`.
|
|
53282
|
+
*
|
|
53283
|
+
*
|
|
53284
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53285
|
+
*/
|
|
53286
|
+
setText(
|
|
53287
|
+
/**
|
|
53288
|
+
* New value for property `text`
|
|
53289
|
+
*/
|
|
53290
|
+
sText?: string
|
|
53291
|
+
): this;
|
|
53292
|
+
/**
|
|
53293
|
+
* Sets a new value for property {@link #getVisible visible}.
|
|
53294
|
+
*
|
|
53295
|
+
* Defines the visibility of the action.
|
|
53296
|
+
*
|
|
53297
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53298
|
+
*
|
|
53299
|
+
* Default value is `true`.
|
|
53300
|
+
*
|
|
53301
|
+
*
|
|
53302
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53303
|
+
*/
|
|
53304
|
+
setVisible(
|
|
53305
|
+
/**
|
|
53306
|
+
* New value for property `visible`
|
|
53307
|
+
*/
|
|
53308
|
+
bVisible?: boolean
|
|
53309
|
+
): this;
|
|
53310
|
+
}
|
|
53311
|
+
/**
|
|
53312
|
+
* Describes the settings that can be provided to the ListItemActionBase constructor.
|
|
53313
|
+
*/
|
|
53314
|
+
export interface $ListItemActionBaseSettings extends $ElementSettings {
|
|
53315
|
+
/**
|
|
53316
|
+
* Defines the icon of the action.
|
|
53317
|
+
*/
|
|
53318
|
+
icon?: URI | PropertyBindingInfo | `{${string}}`;
|
|
53319
|
+
|
|
53320
|
+
/**
|
|
53321
|
+
* Defines the text of the action.
|
|
53322
|
+
*/
|
|
53323
|
+
text?: string | PropertyBindingInfo;
|
|
53324
|
+
|
|
53325
|
+
/**
|
|
53326
|
+
* Defines the visibility of the action.
|
|
53327
|
+
*/
|
|
53328
|
+
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
53329
|
+
}
|
|
53330
|
+
}
|
|
53331
|
+
|
|
52940
53332
|
declare module "sap/m/ListItemBase" {
|
|
52941
53333
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
52942
53334
|
|
|
53335
|
+
import ListItemActionBase from "sap/m/ListItemActionBase";
|
|
53336
|
+
|
|
52943
53337
|
import { ID } from "sap/ui/core/library";
|
|
52944
53338
|
|
|
52945
53339
|
import Event from "sap/ui/base/Event";
|
|
@@ -52948,7 +53342,10 @@ declare module "sap/m/ListItemBase" {
|
|
|
52948
53342
|
|
|
52949
53343
|
import { ListType } from "sap/m/library";
|
|
52950
53344
|
|
|
52951
|
-
import {
|
|
53345
|
+
import {
|
|
53346
|
+
PropertyBindingInfo,
|
|
53347
|
+
AggregationBindingInfo,
|
|
53348
|
+
} from "sap/ui/base/ManagedObject";
|
|
52952
53349
|
|
|
52953
53350
|
/**
|
|
52954
53351
|
* ListItemBase contains the base features of all specific list items. **Note:** If not mentioned otherwise
|
|
@@ -53018,6 +53415,19 @@ declare module "sap/m/ListItemBase" {
|
|
|
53018
53415
|
* @returns Metadata object describing this class
|
|
53019
53416
|
*/
|
|
53020
53417
|
static getMetadata(): ElementMetadata;
|
|
53418
|
+
/**
|
|
53419
|
+
* Adds some action to the aggregation {@link #getActions actions}.
|
|
53420
|
+
*
|
|
53421
|
+
* @since 1.137
|
|
53422
|
+
*
|
|
53423
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53424
|
+
*/
|
|
53425
|
+
addAction(
|
|
53426
|
+
/**
|
|
53427
|
+
* The action to add; if empty, nothing is inserted
|
|
53428
|
+
*/
|
|
53429
|
+
oAction: ListItemActionBase
|
|
53430
|
+
): this;
|
|
53021
53431
|
/**
|
|
53022
53432
|
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
53023
53433
|
*
|
|
@@ -53229,6 +53639,14 @@ declare module "sap/m/ListItemBase" {
|
|
|
53229
53639
|
*/
|
|
53230
53640
|
oListener?: object
|
|
53231
53641
|
): this;
|
|
53642
|
+
/**
|
|
53643
|
+
* Destroys all the actions in the aggregation {@link #getActions actions}.
|
|
53644
|
+
*
|
|
53645
|
+
* @since 1.137
|
|
53646
|
+
*
|
|
53647
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53648
|
+
*/
|
|
53649
|
+
destroyActions(): this;
|
|
53232
53650
|
/**
|
|
53233
53651
|
* Detaches event handler `fnFunction` from the {@link #event:detailPress detailPress} event of this `sap.m.ListItemBase`.
|
|
53234
53652
|
*
|
|
@@ -53357,6 +53775,14 @@ declare module "sap/m/ListItemBase" {
|
|
|
53357
53775
|
*/
|
|
53358
53776
|
mParameters?: object
|
|
53359
53777
|
): this;
|
|
53778
|
+
/**
|
|
53779
|
+
* Gets content of aggregation {@link #getActions actions}.
|
|
53780
|
+
*
|
|
53781
|
+
* Defines the actions contained within this control.
|
|
53782
|
+
*
|
|
53783
|
+
* @since 1.137
|
|
53784
|
+
*/
|
|
53785
|
+
getActions(): ListItemActionBase[];
|
|
53360
53786
|
/**
|
|
53361
53787
|
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
53362
53788
|
*
|
|
@@ -53491,6 +53917,39 @@ declare module "sap/m/ListItemBase" {
|
|
|
53491
53917
|
* @returns Value of property `visible`
|
|
53492
53918
|
*/
|
|
53493
53919
|
getVisible(): boolean;
|
|
53920
|
+
/**
|
|
53921
|
+
* Checks for the provided `sap.m.ListItemActionBase` in the aggregation {@link #getActions actions}. and
|
|
53922
|
+
* returns its index if found or -1 otherwise.
|
|
53923
|
+
*
|
|
53924
|
+
* @since 1.137
|
|
53925
|
+
*
|
|
53926
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
53927
|
+
*/
|
|
53928
|
+
indexOfAction(
|
|
53929
|
+
/**
|
|
53930
|
+
* The action whose index is looked for
|
|
53931
|
+
*/
|
|
53932
|
+
oAction: ListItemActionBase
|
|
53933
|
+
): int;
|
|
53934
|
+
/**
|
|
53935
|
+
* Inserts a action into the aggregation {@link #getActions actions}.
|
|
53936
|
+
*
|
|
53937
|
+
* @since 1.137
|
|
53938
|
+
*
|
|
53939
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53940
|
+
*/
|
|
53941
|
+
insertAction(
|
|
53942
|
+
/**
|
|
53943
|
+
* The action to insert; if empty, nothing is inserted
|
|
53944
|
+
*/
|
|
53945
|
+
oAction: ListItemActionBase,
|
|
53946
|
+
/**
|
|
53947
|
+
* The `0`-based index the action should be inserted at; for a negative value of `iIndex`, the action is
|
|
53948
|
+
* inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted
|
|
53949
|
+
* at the last position
|
|
53950
|
+
*/
|
|
53951
|
+
iIndex: int
|
|
53952
|
+
): this;
|
|
53494
53953
|
/**
|
|
53495
53954
|
* Returns the state of the item selection as a boolean
|
|
53496
53955
|
*
|
|
@@ -53498,6 +53957,29 @@ declare module "sap/m/ListItemBase" {
|
|
|
53498
53957
|
* method instead.
|
|
53499
53958
|
*/
|
|
53500
53959
|
isSelected(): boolean;
|
|
53960
|
+
/**
|
|
53961
|
+
* Removes a action from the aggregation {@link #getActions actions}.
|
|
53962
|
+
*
|
|
53963
|
+
* @since 1.137
|
|
53964
|
+
*
|
|
53965
|
+
* @returns The removed action or `null`
|
|
53966
|
+
*/
|
|
53967
|
+
removeAction(
|
|
53968
|
+
/**
|
|
53969
|
+
* The action to remove or its index or id
|
|
53970
|
+
*/
|
|
53971
|
+
vAction: int | string | ListItemActionBase
|
|
53972
|
+
): ListItemActionBase | null;
|
|
53973
|
+
/**
|
|
53974
|
+
* Removes all the controls from the aggregation {@link #getActions actions}.
|
|
53975
|
+
*
|
|
53976
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
53977
|
+
*
|
|
53978
|
+
* @since 1.137
|
|
53979
|
+
*
|
|
53980
|
+
* @returns An array of the removed elements (might be empty)
|
|
53981
|
+
*/
|
|
53982
|
+
removeAllActions(): ListItemActionBase[];
|
|
53501
53983
|
/**
|
|
53502
53984
|
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
53503
53985
|
*
|
|
@@ -53752,6 +54234,17 @@ declare module "sap/m/ListItemBase" {
|
|
|
53752
54234
|
*/
|
|
53753
54235
|
navigated?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
53754
54236
|
|
|
54237
|
+
/**
|
|
54238
|
+
* Defines the actions contained within this control.
|
|
54239
|
+
*
|
|
54240
|
+
* @since 1.137
|
|
54241
|
+
*/
|
|
54242
|
+
actions?:
|
|
54243
|
+
| ListItemActionBase[]
|
|
54244
|
+
| ListItemActionBase
|
|
54245
|
+
| AggregationBindingInfo
|
|
54246
|
+
| `{${string}}`;
|
|
54247
|
+
|
|
53755
54248
|
/**
|
|
53756
54249
|
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
53757
54250
|
*
|
|
@@ -54576,18 +55069,9 @@ declare module "sap/m/Menu" {
|
|
|
54576
55069
|
|
|
54577
55070
|
import UI5Element from "sap/ui/core/Element";
|
|
54578
55071
|
|
|
54579
|
-
import Popup from "sap/ui/core/Popup";
|
|
54580
|
-
|
|
54581
|
-
import MenuItem from "sap/m/MenuItem";
|
|
54582
|
-
|
|
54583
55072
|
/**
|
|
54584
55073
|
* The `sap.m.Menu` control represents a hierarchical menu. When opened on mobile devices it occupies the
|
|
54585
55074
|
* whole screen.
|
|
54586
|
-
*
|
|
54587
|
-
* **Note:** The application developer should add dependency to `sap.ui.unified` library on application
|
|
54588
|
-
* level to ensure that the library is loaded before the module dependencies will be required. If the `sap.ui.unified`
|
|
54589
|
-
* library is not loaded in advance, this could lead to CSP compliance issues and adds an additional waiting
|
|
54590
|
-
* time. To prevent this, ensure that the `sap.ui.unified` library is loaded in advance.
|
|
54591
55075
|
*/
|
|
54592
55076
|
export default class Menu extends Control implements IContextMenu {
|
|
54593
55077
|
__implements__sap_ui_core_IContextMenu: boolean;
|
|
@@ -54687,7 +55171,7 @@ declare module "sap/m/Menu" {
|
|
|
54687
55171
|
/**
|
|
54688
55172
|
* The function to be called when the event occurs
|
|
54689
55173
|
*/
|
|
54690
|
-
fnFunction: (p1:
|
|
55174
|
+
fnFunction: (p1: Menu$BeforeCloseEvent) => void,
|
|
54691
55175
|
/**
|
|
54692
55176
|
* Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
|
|
54693
55177
|
*/
|
|
@@ -54710,7 +55194,7 @@ declare module "sap/m/Menu" {
|
|
|
54710
55194
|
/**
|
|
54711
55195
|
* The function to be called when the event occurs
|
|
54712
55196
|
*/
|
|
54713
|
-
fnFunction: (p1:
|
|
55197
|
+
fnFunction: (p1: Menu$BeforeCloseEvent) => void,
|
|
54714
55198
|
/**
|
|
54715
55199
|
* Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
|
|
54716
55200
|
*/
|
|
@@ -54826,9 +55310,17 @@ declare module "sap/m/Menu" {
|
|
|
54826
55310
|
oBindingInfo: AggregationBindingInfo
|
|
54827
55311
|
): this;
|
|
54828
55312
|
/**
|
|
54829
|
-
* Closes the `Menu
|
|
55313
|
+
* Closes the `Menu` if the `beforeClose` event isn`t prevented.
|
|
55314
|
+
*
|
|
55315
|
+
*
|
|
55316
|
+
* @returns `this` to allow method chaining
|
|
54830
55317
|
*/
|
|
54831
|
-
close(
|
|
55318
|
+
close(
|
|
55319
|
+
/**
|
|
55320
|
+
* closePopover event
|
|
55321
|
+
*/
|
|
55322
|
+
oEvent: Event
|
|
55323
|
+
): this;
|
|
54832
55324
|
/**
|
|
54833
55325
|
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
54834
55326
|
*
|
|
@@ -54849,7 +55341,7 @@ declare module "sap/m/Menu" {
|
|
|
54849
55341
|
/**
|
|
54850
55342
|
* The function to be called, when the event occurs
|
|
54851
55343
|
*/
|
|
54852
|
-
fnFunction: (p1:
|
|
55344
|
+
fnFunction: (p1: Menu$BeforeCloseEvent) => void,
|
|
54853
55345
|
/**
|
|
54854
55346
|
* Context object on which the given function had to be called
|
|
54855
55347
|
*/
|
|
@@ -54906,7 +55398,7 @@ declare module "sap/m/Menu" {
|
|
|
54906
55398
|
/**
|
|
54907
55399
|
* Parameters to pass along with the event
|
|
54908
55400
|
*/
|
|
54909
|
-
mParameters?:
|
|
55401
|
+
mParameters?: Menu$BeforeCloseEventParameters
|
|
54910
55402
|
): boolean;
|
|
54911
55403
|
/**
|
|
54912
55404
|
* Fires event {@link #event:closed closed} to attached listeners.
|
|
@@ -55006,7 +55498,7 @@ declare module "sap/m/Menu" {
|
|
|
55006
55498
|
*/
|
|
55007
55499
|
openAsContextMenu(
|
|
55008
55500
|
/**
|
|
55009
|
-
* The event object or an object containing offsetX, offsetY values and left, top values
|
|
55501
|
+
* The event object or an object containing offsetX, offsetY values and left, top values for the element's
|
|
55010
55502
|
* position
|
|
55011
55503
|
*/
|
|
55012
55504
|
oEvent: jQuery.Event | object,
|
|
@@ -55017,31 +55509,16 @@ declare module "sap/m/Menu" {
|
|
|
55017
55509
|
): void;
|
|
55018
55510
|
/**
|
|
55019
55511
|
* Opens the `Menu` next to the given control.
|
|
55512
|
+
*
|
|
55513
|
+
*
|
|
55514
|
+
* @returns `this` to allow method chaining
|
|
55020
55515
|
*/
|
|
55021
55516
|
openBy(
|
|
55022
55517
|
/**
|
|
55023
55518
|
* The control that defines the position for the menu
|
|
55024
55519
|
*/
|
|
55025
|
-
oControl: Control
|
|
55026
|
-
|
|
55027
|
-
* Whether the menu is opened with a shortcut or not
|
|
55028
|
-
*/
|
|
55029
|
-
bWithKeyboard: boolean,
|
|
55030
|
-
/**
|
|
55031
|
-
* The reference docking location of the `Menu` for positioning the menu on the screen
|
|
55032
|
-
*/
|
|
55033
|
-
sDockMy?: typeof Popup.Dock | keyof typeof Popup.Dock,
|
|
55034
|
-
/**
|
|
55035
|
-
* The `oControl` reference docking location for positioning the menu on the screen
|
|
55036
|
-
*/
|
|
55037
|
-
sDockAt?: typeof Popup.Dock | keyof typeof Popup.Dock,
|
|
55038
|
-
/**
|
|
55039
|
-
* The offset relative to the docking point, specified as a string with space-separated pixel values (e.g.
|
|
55040
|
-
* "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" is RTL-sensitive
|
|
55041
|
-
* ("begin" or "end"), this offset is automatically mirrored in the RTL case as well.
|
|
55042
|
-
*/
|
|
55043
|
-
sOffset?: string
|
|
55044
|
-
): void;
|
|
55520
|
+
oControl: Control
|
|
55521
|
+
): this;
|
|
55045
55522
|
/**
|
|
55046
55523
|
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
55047
55524
|
*
|
|
@@ -55064,7 +55541,7 @@ declare module "sap/m/Menu" {
|
|
|
55064
55541
|
vItem: int | string | IMenuItem
|
|
55065
55542
|
): IMenuItem | null;
|
|
55066
55543
|
/**
|
|
55067
|
-
* Sets the title of the `Menu
|
|
55544
|
+
* Sets the title of the `Menu` in mobile view.
|
|
55068
55545
|
*
|
|
55069
55546
|
*
|
|
55070
55547
|
* @returns `this` to allow method chaining
|
|
@@ -55113,13 +55590,18 @@ declare module "sap/m/Menu" {
|
|
|
55113
55590
|
*
|
|
55114
55591
|
* @since 1.131
|
|
55115
55592
|
*/
|
|
55116
|
-
beforeClose?: (oEvent:
|
|
55593
|
+
beforeClose?: (oEvent: Menu$BeforeCloseEvent) => void;
|
|
55117
55594
|
}
|
|
55118
55595
|
|
|
55119
55596
|
/**
|
|
55120
55597
|
* Parameters of the Menu#beforeClose event.
|
|
55121
55598
|
*/
|
|
55122
|
-
export interface Menu$BeforeCloseEventParameters {
|
|
55599
|
+
export interface Menu$BeforeCloseEventParameters {
|
|
55600
|
+
/**
|
|
55601
|
+
* The `MenuItem` which was selected (if any).
|
|
55602
|
+
*/
|
|
55603
|
+
item?: IMenuItem;
|
|
55604
|
+
}
|
|
55123
55605
|
|
|
55124
55606
|
/**
|
|
55125
55607
|
* Event object of the Menu#beforeClose event.
|
|
@@ -55146,7 +55628,7 @@ declare module "sap/m/Menu" {
|
|
|
55146
55628
|
/**
|
|
55147
55629
|
* The `MenuItem` which was selected.
|
|
55148
55630
|
*/
|
|
55149
|
-
item?:
|
|
55631
|
+
item?: IMenuItem;
|
|
55150
55632
|
}
|
|
55151
55633
|
|
|
55152
55634
|
/**
|
|
@@ -56038,11 +56520,9 @@ declare module "sap/m/MenuButton" {
|
|
|
56038
56520
|
}
|
|
56039
56521
|
|
|
56040
56522
|
declare module "sap/m/MenuItem" {
|
|
56041
|
-
import { default as
|
|
56042
|
-
|
|
56043
|
-
import { IMenuItem } from "sap/m/library";
|
|
56523
|
+
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
56044
56524
|
|
|
56045
|
-
import
|
|
56525
|
+
import { IMenuItem, IMenuItemBehavior } from "sap/m/library";
|
|
56046
56526
|
|
|
56047
56527
|
import Event from "sap/ui/base/Event";
|
|
56048
56528
|
|
|
@@ -56053,13 +56533,19 @@ declare module "sap/m/MenuItem" {
|
|
|
56053
56533
|
|
|
56054
56534
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
56055
56535
|
|
|
56536
|
+
import { TextDirection } from "sap/ui/core/library";
|
|
56537
|
+
|
|
56056
56538
|
/**
|
|
56057
|
-
* The `MenuItem` control is used for creating items for the `sap.m.Menu`. It is derived from a core `sap.ui.core.
|
|
56539
|
+
* The `MenuItem` control is used for creating items for the `sap.m.Menu`. It is derived from a core `sap.ui.core.Control`.
|
|
56058
56540
|
*
|
|
56059
56541
|
* @since 1.38
|
|
56060
56542
|
*/
|
|
56061
|
-
export default class MenuItem
|
|
56543
|
+
export default class MenuItem
|
|
56544
|
+
extends Control
|
|
56545
|
+
implements IMenuItem, IMenuItemBehavior
|
|
56546
|
+
{
|
|
56062
56547
|
__implements__sap_m_IMenuItem: boolean;
|
|
56548
|
+
__implements__sap_m_IMenuItemBehavior: boolean;
|
|
56063
56549
|
/**
|
|
56064
56550
|
* Constructor for a new `MenuItem`.
|
|
56065
56551
|
*
|
|
@@ -56095,7 +56581,7 @@ declare module "sap/m/MenuItem" {
|
|
|
56095
56581
|
* Creates a new subclass of class sap.m.MenuItem with name `sClassName` and enriches it with the information
|
|
56096
56582
|
* contained in `oClassInfo`.
|
|
56097
56583
|
*
|
|
56098
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.
|
|
56584
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
|
|
56099
56585
|
*
|
|
56100
56586
|
*
|
|
56101
56587
|
* @returns Created class / constructor function
|
|
@@ -56147,55 +56633,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56147
56633
|
*/
|
|
56148
56634
|
oItem: IMenuItem
|
|
56149
56635
|
): this;
|
|
56150
|
-
/**
|
|
56151
|
-
* Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
|
|
56152
|
-
* of this `sap.m.MenuItem`.
|
|
56153
|
-
*
|
|
56154
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
56155
|
-
* otherwise it will be bound to this `sap.m.MenuItem` itself.
|
|
56156
|
-
*
|
|
56157
|
-
* Fired when aggregation of the item changes.
|
|
56158
|
-
*
|
|
56159
|
-
*
|
|
56160
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
56161
|
-
*/
|
|
56162
|
-
attachAggregationChanged(
|
|
56163
|
-
/**
|
|
56164
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
56165
|
-
* object when firing the event
|
|
56166
|
-
*/
|
|
56167
|
-
oData: object,
|
|
56168
|
-
/**
|
|
56169
|
-
* The function to be called when the event occurs
|
|
56170
|
-
*/
|
|
56171
|
-
fnFunction: (p1: MenuItem$AggregationChangedEvent) => void,
|
|
56172
|
-
/**
|
|
56173
|
-
* Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
|
|
56174
|
-
*/
|
|
56175
|
-
oListener?: object
|
|
56176
|
-
): this;
|
|
56177
|
-
/**
|
|
56178
|
-
* Attaches event handler `fnFunction` to the {@link #event:aggregationChanged aggregationChanged} event
|
|
56179
|
-
* of this `sap.m.MenuItem`.
|
|
56180
|
-
*
|
|
56181
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
56182
|
-
* otherwise it will be bound to this `sap.m.MenuItem` itself.
|
|
56183
|
-
*
|
|
56184
|
-
* Fired when aggregation of the item changes.
|
|
56185
|
-
*
|
|
56186
|
-
*
|
|
56187
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
56188
|
-
*/
|
|
56189
|
-
attachAggregationChanged(
|
|
56190
|
-
/**
|
|
56191
|
-
* The function to be called when the event occurs
|
|
56192
|
-
*/
|
|
56193
|
-
fnFunction: (p1: MenuItem$AggregationChangedEvent) => void,
|
|
56194
|
-
/**
|
|
56195
|
-
* Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
|
|
56196
|
-
*/
|
|
56197
|
-
oListener?: object
|
|
56198
|
-
): this;
|
|
56199
56636
|
/**
|
|
56200
56637
|
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.MenuItem`.
|
|
56201
56638
|
*
|
|
@@ -56243,55 +56680,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56243
56680
|
*/
|
|
56244
56681
|
oListener?: object
|
|
56245
56682
|
): this;
|
|
56246
|
-
/**
|
|
56247
|
-
* Attaches event handler `fnFunction` to the {@link #event:propertyChanged propertyChanged} event of this
|
|
56248
|
-
* `sap.m.MenuItem`.
|
|
56249
|
-
*
|
|
56250
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
56251
|
-
* otherwise it will be bound to this `sap.m.MenuItem` itself.
|
|
56252
|
-
*
|
|
56253
|
-
* Fired when a property of the item changes.
|
|
56254
|
-
*
|
|
56255
|
-
*
|
|
56256
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
56257
|
-
*/
|
|
56258
|
-
attachPropertyChanged(
|
|
56259
|
-
/**
|
|
56260
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
56261
|
-
* object when firing the event
|
|
56262
|
-
*/
|
|
56263
|
-
oData: object,
|
|
56264
|
-
/**
|
|
56265
|
-
* The function to be called when the event occurs
|
|
56266
|
-
*/
|
|
56267
|
-
fnFunction: (p1: MenuItem$PropertyChangedEvent) => void,
|
|
56268
|
-
/**
|
|
56269
|
-
* Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
|
|
56270
|
-
*/
|
|
56271
|
-
oListener?: object
|
|
56272
|
-
): this;
|
|
56273
|
-
/**
|
|
56274
|
-
* Attaches event handler `fnFunction` to the {@link #event:propertyChanged propertyChanged} event of this
|
|
56275
|
-
* `sap.m.MenuItem`.
|
|
56276
|
-
*
|
|
56277
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
56278
|
-
* otherwise it will be bound to this `sap.m.MenuItem` itself.
|
|
56279
|
-
*
|
|
56280
|
-
* Fired when a property of the item changes.
|
|
56281
|
-
*
|
|
56282
|
-
*
|
|
56283
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
56284
|
-
*/
|
|
56285
|
-
attachPropertyChanged(
|
|
56286
|
-
/**
|
|
56287
|
-
* The function to be called when the event occurs
|
|
56288
|
-
*/
|
|
56289
|
-
fnFunction: (p1: MenuItem$PropertyChangedEvent) => void,
|
|
56290
|
-
/**
|
|
56291
|
-
* Context object to call the event handler with. Defaults to this `sap.m.MenuItem` itself
|
|
56292
|
-
*/
|
|
56293
|
-
oListener?: object
|
|
56294
|
-
): this;
|
|
56295
56683
|
/**
|
|
56296
56684
|
* Binds aggregation {@link #getItems items} to model data.
|
|
56297
56685
|
*
|
|
@@ -56322,25 +56710,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56322
56710
|
* @returns Reference to `this` in order to allow method chaining
|
|
56323
56711
|
*/
|
|
56324
56712
|
destroyItems(): this;
|
|
56325
|
-
/**
|
|
56326
|
-
* Detaches event handler `fnFunction` from the {@link #event:aggregationChanged aggregationChanged} event
|
|
56327
|
-
* of this `sap.m.MenuItem`.
|
|
56328
|
-
*
|
|
56329
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
56330
|
-
*
|
|
56331
|
-
*
|
|
56332
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
56333
|
-
*/
|
|
56334
|
-
detachAggregationChanged(
|
|
56335
|
-
/**
|
|
56336
|
-
* The function to be called, when the event occurs
|
|
56337
|
-
*/
|
|
56338
|
-
fnFunction: (p1: MenuItem$AggregationChangedEvent) => void,
|
|
56339
|
-
/**
|
|
56340
|
-
* Context object on which the given function had to be called
|
|
56341
|
-
*/
|
|
56342
|
-
oListener?: object
|
|
56343
|
-
): this;
|
|
56344
56713
|
/**
|
|
56345
56714
|
* Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.m.MenuItem`.
|
|
56346
56715
|
*
|
|
@@ -56359,38 +56728,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56359
56728
|
*/
|
|
56360
56729
|
oListener?: object
|
|
56361
56730
|
): this;
|
|
56362
|
-
/**
|
|
56363
|
-
* Detaches event handler `fnFunction` from the {@link #event:propertyChanged propertyChanged} event of
|
|
56364
|
-
* this `sap.m.MenuItem`.
|
|
56365
|
-
*
|
|
56366
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
56367
|
-
*
|
|
56368
|
-
*
|
|
56369
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
56370
|
-
*/
|
|
56371
|
-
detachPropertyChanged(
|
|
56372
|
-
/**
|
|
56373
|
-
* The function to be called, when the event occurs
|
|
56374
|
-
*/
|
|
56375
|
-
fnFunction: (p1: MenuItem$PropertyChangedEvent) => void,
|
|
56376
|
-
/**
|
|
56377
|
-
* Context object on which the given function had to be called
|
|
56378
|
-
*/
|
|
56379
|
-
oListener?: object
|
|
56380
|
-
): this;
|
|
56381
|
-
/**
|
|
56382
|
-
* Fires event {@link #event:aggregationChanged aggregationChanged} to attached listeners.
|
|
56383
|
-
*
|
|
56384
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
56385
|
-
*
|
|
56386
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
56387
|
-
*/
|
|
56388
|
-
fireAggregationChanged(
|
|
56389
|
-
/**
|
|
56390
|
-
* Parameters to pass along with the event
|
|
56391
|
-
*/
|
|
56392
|
-
mParameters?: MenuItem$AggregationChangedEventParameters
|
|
56393
|
-
): this;
|
|
56394
56731
|
/**
|
|
56395
56732
|
* Fires event {@link #event:press press} to attached listeners.
|
|
56396
56733
|
*
|
|
@@ -56405,24 +56742,26 @@ declare module "sap/m/MenuItem" {
|
|
|
56405
56742
|
mParameters?: object
|
|
56406
56743
|
): this;
|
|
56407
56744
|
/**
|
|
56408
|
-
*
|
|
56745
|
+
* Gets current value of property {@link #getEnabled enabled}.
|
|
56409
56746
|
*
|
|
56410
|
-
*
|
|
56747
|
+
* Enabled items can be selected.
|
|
56411
56748
|
*
|
|
56412
|
-
*
|
|
56749
|
+
* Default value is `true`.
|
|
56750
|
+
*
|
|
56751
|
+
*
|
|
56752
|
+
* @returns Value of property `enabled`
|
|
56413
56753
|
*/
|
|
56414
|
-
|
|
56415
|
-
/**
|
|
56416
|
-
* Parameters to pass along with the event
|
|
56417
|
-
*/
|
|
56418
|
-
mParameters?: MenuItem$PropertyChangedEventParameters
|
|
56419
|
-
): this;
|
|
56754
|
+
getEnabled(): boolean;
|
|
56420
56755
|
/**
|
|
56421
56756
|
* Gets content of aggregation {@link #getEndContent endContent}.
|
|
56422
56757
|
*
|
|
56423
56758
|
* Defines the content that is displayed at the end of a menu item. This aggregation allows for the addition
|
|
56424
56759
|
* of custom elements, such as icons and buttons.
|
|
56425
56760
|
*
|
|
56761
|
+
* **Note:** Application developers are responsible for ensuring that interactive `endContent` controls
|
|
56762
|
+
* have the correct accessibility behaviour, including their enabled or disabled states. The Menu
|
|
56763
|
+
* does not manage these aspects when the menu item state changes.
|
|
56764
|
+
*
|
|
56426
56765
|
* @since 1.131
|
|
56427
56766
|
*/
|
|
56428
56767
|
getEndContent(): Control[];
|
|
@@ -56438,9 +56777,18 @@ declare module "sap/m/MenuItem" {
|
|
|
56438
56777
|
/**
|
|
56439
56778
|
* Gets content of aggregation {@link #getItems items}.
|
|
56440
56779
|
*
|
|
56441
|
-
* Defines the
|
|
56780
|
+
* Defines the subitems contained within this element.
|
|
56442
56781
|
*/
|
|
56443
56782
|
getItems(): IMenuItem[];
|
|
56783
|
+
/**
|
|
56784
|
+
* Gets current value of property {@link #getKey key}.
|
|
56785
|
+
*
|
|
56786
|
+
* Can be used as input for subsequent actions.
|
|
56787
|
+
*
|
|
56788
|
+
*
|
|
56789
|
+
* @returns Value of property `key`
|
|
56790
|
+
*/
|
|
56791
|
+
getKey(): string;
|
|
56444
56792
|
/**
|
|
56445
56793
|
* Gets current value of property {@link #getSelected selected}.
|
|
56446
56794
|
*
|
|
@@ -56479,6 +56827,28 @@ declare module "sap/m/MenuItem" {
|
|
|
56479
56827
|
* @returns Value of property `startsSection`
|
|
56480
56828
|
*/
|
|
56481
56829
|
getStartsSection(): boolean;
|
|
56830
|
+
/**
|
|
56831
|
+
* Gets current value of property {@link #getText text}.
|
|
56832
|
+
*
|
|
56833
|
+
* The text to be displayed for the item.
|
|
56834
|
+
*
|
|
56835
|
+
* Default value is `empty string`.
|
|
56836
|
+
*
|
|
56837
|
+
*
|
|
56838
|
+
* @returns Value of property `text`
|
|
56839
|
+
*/
|
|
56840
|
+
getText(): string;
|
|
56841
|
+
/**
|
|
56842
|
+
* Gets current value of property {@link #getTextDirection textDirection}.
|
|
56843
|
+
*
|
|
56844
|
+
* Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
|
|
56845
|
+
*
|
|
56846
|
+
* Default value is `Inherit`.
|
|
56847
|
+
*
|
|
56848
|
+
*
|
|
56849
|
+
* @returns Value of property `textDirection`
|
|
56850
|
+
*/
|
|
56851
|
+
getTextDirection(): TextDirection;
|
|
56482
56852
|
/**
|
|
56483
56853
|
* Gets current value of property {@link #getVisible visible}.
|
|
56484
56854
|
*
|
|
@@ -56555,6 +56925,30 @@ declare module "sap/m/MenuItem" {
|
|
|
56555
56925
|
*/
|
|
56556
56926
|
iIndex: int
|
|
56557
56927
|
): this;
|
|
56928
|
+
/**
|
|
56929
|
+
* Returns whether the item can be counted in total items count. **Note:** This method can be overridden
|
|
56930
|
+
* by subclasses to implement custom behavior.
|
|
56931
|
+
*
|
|
56932
|
+
*
|
|
56933
|
+
* @returns Whether the item is counted in total items count
|
|
56934
|
+
*/
|
|
56935
|
+
isCountable(): boolean;
|
|
56936
|
+
/**
|
|
56937
|
+
* Returns whether the item can be focused. **Note:** This method can be overridden by subclasses to implement
|
|
56938
|
+
* custom behavior.
|
|
56939
|
+
*
|
|
56940
|
+
*
|
|
56941
|
+
* @returns Whether the item is enabled for focus
|
|
56942
|
+
*/
|
|
56943
|
+
isFocusable(): boolean;
|
|
56944
|
+
/**
|
|
56945
|
+
* Returns whether the firing of press event is allowed. **Note:** This method can be overridden by subclasses
|
|
56946
|
+
* to implement custom behavior.
|
|
56947
|
+
*
|
|
56948
|
+
*
|
|
56949
|
+
* @returns Whether the item is enabled for click/press
|
|
56950
|
+
*/
|
|
56951
|
+
isInteractive(): boolean;
|
|
56558
56952
|
/**
|
|
56559
56953
|
* Removes all the controls from the aggregation {@link #getEndContent endContent}.
|
|
56560
56954
|
*
|
|
@@ -56599,6 +56993,24 @@ declare module "sap/m/MenuItem" {
|
|
|
56599
56993
|
*/
|
|
56600
56994
|
vItem: int | string | IMenuItem
|
|
56601
56995
|
): IMenuItem | null;
|
|
56996
|
+
/**
|
|
56997
|
+
* Sets a new value for property {@link #getEnabled enabled}.
|
|
56998
|
+
*
|
|
56999
|
+
* Enabled items can be selected.
|
|
57000
|
+
*
|
|
57001
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57002
|
+
*
|
|
57003
|
+
* Default value is `true`.
|
|
57004
|
+
*
|
|
57005
|
+
*
|
|
57006
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57007
|
+
*/
|
|
57008
|
+
setEnabled(
|
|
57009
|
+
/**
|
|
57010
|
+
* New value for property `enabled`
|
|
57011
|
+
*/
|
|
57012
|
+
bEnabled?: boolean
|
|
57013
|
+
): this;
|
|
56602
57014
|
/**
|
|
56603
57015
|
* Sets a new value for property {@link #getIcon icon}.
|
|
56604
57016
|
*
|
|
@@ -56615,6 +57027,22 @@ declare module "sap/m/MenuItem" {
|
|
|
56615
57027
|
*/
|
|
56616
57028
|
sIcon?: string
|
|
56617
57029
|
): this;
|
|
57030
|
+
/**
|
|
57031
|
+
* Sets a new value for property {@link #getKey key}.
|
|
57032
|
+
*
|
|
57033
|
+
* Can be used as input for subsequent actions.
|
|
57034
|
+
*
|
|
57035
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57036
|
+
*
|
|
57037
|
+
*
|
|
57038
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57039
|
+
*/
|
|
57040
|
+
setKey(
|
|
57041
|
+
/**
|
|
57042
|
+
* New value for property `key`
|
|
57043
|
+
*/
|
|
57044
|
+
sKey?: string
|
|
57045
|
+
): this;
|
|
56618
57046
|
/**
|
|
56619
57047
|
* Sets a new value for property {@link #getShortcutText shortcutText}.
|
|
56620
57048
|
*
|
|
@@ -56653,6 +57081,42 @@ declare module "sap/m/MenuItem" {
|
|
|
56653
57081
|
*/
|
|
56654
57082
|
bStartsSection?: boolean
|
|
56655
57083
|
): this;
|
|
57084
|
+
/**
|
|
57085
|
+
* Sets a new value for property {@link #getText text}.
|
|
57086
|
+
*
|
|
57087
|
+
* The text to be displayed for the item.
|
|
57088
|
+
*
|
|
57089
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57090
|
+
*
|
|
57091
|
+
* Default value is `empty string`.
|
|
57092
|
+
*
|
|
57093
|
+
*
|
|
57094
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57095
|
+
*/
|
|
57096
|
+
setText(
|
|
57097
|
+
/**
|
|
57098
|
+
* New value for property `text`
|
|
57099
|
+
*/
|
|
57100
|
+
sText?: string
|
|
57101
|
+
): this;
|
|
57102
|
+
/**
|
|
57103
|
+
* Sets a new value for property {@link #getTextDirection textDirection}.
|
|
57104
|
+
*
|
|
57105
|
+
* Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
|
|
57106
|
+
*
|
|
57107
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57108
|
+
*
|
|
57109
|
+
* Default value is `Inherit`.
|
|
57110
|
+
*
|
|
57111
|
+
*
|
|
57112
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57113
|
+
*/
|
|
57114
|
+
setTextDirection(
|
|
57115
|
+
/**
|
|
57116
|
+
* New value for property `textDirection`
|
|
57117
|
+
*/
|
|
57118
|
+
sTextDirection?: TextDirection | keyof typeof TextDirection
|
|
57119
|
+
): this;
|
|
56656
57120
|
/**
|
|
56657
57121
|
* Sets a new value for property {@link #getVisible visible}.
|
|
56658
57122
|
*
|
|
@@ -56683,12 +57147,22 @@ declare module "sap/m/MenuItem" {
|
|
|
56683
57147
|
/**
|
|
56684
57148
|
* Describes the settings that can be provided to the MenuItem constructor.
|
|
56685
57149
|
*/
|
|
56686
|
-
export interface $MenuItemSettings extends $
|
|
57150
|
+
export interface $MenuItemSettings extends $ControlSettings {
|
|
57151
|
+
/**
|
|
57152
|
+
* The text to be displayed for the item.
|
|
57153
|
+
*/
|
|
57154
|
+
text?: string | PropertyBindingInfo;
|
|
57155
|
+
|
|
56687
57156
|
/**
|
|
56688
57157
|
* Defines the icon, which belongs to the item. This can be a URI to an image or an icon font URI.
|
|
56689
57158
|
*/
|
|
56690
57159
|
icon?: string | PropertyBindingInfo;
|
|
56691
57160
|
|
|
57161
|
+
/**
|
|
57162
|
+
* Enabled items can be selected.
|
|
57163
|
+
*/
|
|
57164
|
+
enabled?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
57165
|
+
|
|
56692
57166
|
/**
|
|
56693
57167
|
* Defines whether the item should be visible on the screen. If set to `false`, a placeholder is rendered
|
|
56694
57168
|
* instead of the real item.
|
|
@@ -56717,7 +57191,20 @@ declare module "sap/m/MenuItem" {
|
|
|
56717
57191
|
startsSection?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
56718
57192
|
|
|
56719
57193
|
/**
|
|
56720
|
-
*
|
|
57194
|
+
* Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
|
|
57195
|
+
*/
|
|
57196
|
+
textDirection?:
|
|
57197
|
+
| (TextDirection | keyof typeof TextDirection)
|
|
57198
|
+
| PropertyBindingInfo
|
|
57199
|
+
| `{${string}}`;
|
|
57200
|
+
|
|
57201
|
+
/**
|
|
57202
|
+
* Can be used as input for subsequent actions.
|
|
57203
|
+
*/
|
|
57204
|
+
key?: string | PropertyBindingInfo;
|
|
57205
|
+
|
|
57206
|
+
/**
|
|
57207
|
+
* Defines the subitems contained within this element.
|
|
56721
57208
|
*/
|
|
56722
57209
|
items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
|
|
56723
57210
|
|
|
@@ -56725,6 +57212,10 @@ declare module "sap/m/MenuItem" {
|
|
|
56725
57212
|
* Defines the content that is displayed at the end of a menu item. This aggregation allows for the addition
|
|
56726
57213
|
* of custom elements, such as icons and buttons.
|
|
56727
57214
|
*
|
|
57215
|
+
* **Note:** Application developers are responsible for ensuring that interactive `endContent` controls
|
|
57216
|
+
* have the correct accessibility behaviour, including their enabled or disabled states. The Menu
|
|
57217
|
+
* does not manage these aspects when the menu item state changes.
|
|
57218
|
+
*
|
|
56728
57219
|
* @since 1.131
|
|
56729
57220
|
*/
|
|
56730
57221
|
endContent?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
|
|
@@ -56733,46 +57224,8 @@ declare module "sap/m/MenuItem" {
|
|
|
56733
57224
|
* Fired after the item has been pressed.
|
|
56734
57225
|
*/
|
|
56735
57226
|
press?: (oEvent: Event) => void;
|
|
56736
|
-
|
|
56737
|
-
/**
|
|
56738
|
-
* Fired when a property of the item changes.
|
|
56739
|
-
*/
|
|
56740
|
-
propertyChanged?: (oEvent: MenuItem$PropertyChangedEvent) => void;
|
|
56741
|
-
|
|
56742
|
-
/**
|
|
56743
|
-
* Fired when aggregation of the item changes.
|
|
56744
|
-
*/
|
|
56745
|
-
aggregationChanged?: (oEvent: MenuItem$AggregationChangedEvent) => void;
|
|
56746
57227
|
}
|
|
56747
57228
|
|
|
56748
|
-
/**
|
|
56749
|
-
* Parameters of the MenuItem#aggregationChanged event.
|
|
56750
|
-
*/
|
|
56751
|
-
export interface MenuItem$AggregationChangedEventParameters {
|
|
56752
|
-
/**
|
|
56753
|
-
* The aggregation name of the changed aggregation.
|
|
56754
|
-
*/
|
|
56755
|
-
aggregationName?: string;
|
|
56756
|
-
|
|
56757
|
-
/**
|
|
56758
|
-
* Which method changed the aggregation.
|
|
56759
|
-
*/
|
|
56760
|
-
methodName?: string;
|
|
56761
|
-
|
|
56762
|
-
/**
|
|
56763
|
-
* What parameters were used to change the aggregation.
|
|
56764
|
-
*/
|
|
56765
|
-
methodParams?: object;
|
|
56766
|
-
}
|
|
56767
|
-
|
|
56768
|
-
/**
|
|
56769
|
-
* Event object of the MenuItem#aggregationChanged event.
|
|
56770
|
-
*/
|
|
56771
|
-
export type MenuItem$AggregationChangedEvent = Event<
|
|
56772
|
-
MenuItem$AggregationChangedEventParameters,
|
|
56773
|
-
MenuItem
|
|
56774
|
-
>;
|
|
56775
|
-
|
|
56776
57229
|
/**
|
|
56777
57230
|
* Parameters of the MenuItem#press event.
|
|
56778
57231
|
*/
|
|
@@ -56785,29 +57238,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56785
57238
|
MenuItem$PressEventParameters,
|
|
56786
57239
|
MenuItem
|
|
56787
57240
|
>;
|
|
56788
|
-
|
|
56789
|
-
/**
|
|
56790
|
-
* Parameters of the MenuItem#propertyChanged event.
|
|
56791
|
-
*/
|
|
56792
|
-
export interface MenuItem$PropertyChangedEventParameters {
|
|
56793
|
-
/**
|
|
56794
|
-
* The property name to be changed.
|
|
56795
|
-
*/
|
|
56796
|
-
propertyKey?: string;
|
|
56797
|
-
|
|
56798
|
-
/**
|
|
56799
|
-
* The new property value.
|
|
56800
|
-
*/
|
|
56801
|
-
propertyValue?: any;
|
|
56802
|
-
}
|
|
56803
|
-
|
|
56804
|
-
/**
|
|
56805
|
-
* Event object of the MenuItem#propertyChanged event.
|
|
56806
|
-
*/
|
|
56807
|
-
export type MenuItem$PropertyChangedEvent = Event<
|
|
56808
|
-
MenuItem$PropertyChangedEventParameters,
|
|
56809
|
-
MenuItem
|
|
56810
|
-
>;
|
|
56811
57241
|
}
|
|
56812
57242
|
|
|
56813
57243
|
declare module "sap/m/MenuItemGroup" {
|
|
@@ -56827,7 +57257,7 @@ declare module "sap/m/MenuItemGroup" {
|
|
|
56827
57257
|
/**
|
|
56828
57258
|
* Group item to be used inside a menu. Represents a collection of menu items that can have the same selection
|
|
56829
57259
|
* mode (e.g. {@link sap.ui.core.ItemSelectionMode.None}, {@link sap.ui.core.ItemSelectionMode.SingleSelect},
|
|
56830
|
-
* or {@link sap.ui.
|
|
57260
|
+
* or {@link sap.ui.core.ItemSelectionMode.MultiSelect}).
|
|
56831
57261
|
*
|
|
56832
57262
|
* @since 1.127.0
|
|
56833
57263
|
*/
|
|
@@ -56896,33 +57326,24 @@ declare module "sap/m/MenuItemGroup" {
|
|
|
56896
57326
|
*/
|
|
56897
57327
|
static getMetadata(): ElementMetadata;
|
|
56898
57328
|
/**
|
|
56899
|
-
* Adds
|
|
57329
|
+
* Adds some item to the aggregation {@link #getItems items}.
|
|
56900
57330
|
*
|
|
56901
57331
|
*
|
|
56902
|
-
* @returns `this` to allow method chaining
|
|
57332
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
56903
57333
|
*/
|
|
56904
57334
|
addItem(
|
|
56905
57335
|
/**
|
|
56906
|
-
*
|
|
56907
|
-
*/
|
|
56908
|
-
oItem: IMenuItem,
|
|
56909
|
-
/**
|
|
56910
|
-
* Whether to suppress the invalidation of the control
|
|
57336
|
+
* The item to add; if empty, nothing is inserted
|
|
56911
57337
|
*/
|
|
56912
|
-
|
|
57338
|
+
oItem: IMenuItem
|
|
56913
57339
|
): this;
|
|
56914
57340
|
/**
|
|
56915
|
-
* Destroys all items
|
|
57341
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
56916
57342
|
*
|
|
56917
57343
|
*
|
|
56918
|
-
* @returns `this` to allow method chaining
|
|
57344
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
56919
57345
|
*/
|
|
56920
|
-
destroyItems(
|
|
56921
|
-
/**
|
|
56922
|
-
* Whether to suppress the invalidation of the control
|
|
56923
|
-
*/
|
|
56924
|
-
bSuppressInvalidate: boolean
|
|
56925
|
-
): this;
|
|
57346
|
+
destroyItems(): this;
|
|
56926
57347
|
/**
|
|
56927
57348
|
* Gets content of aggregation {@link #getItems items}.
|
|
56928
57349
|
*
|
|
@@ -56955,68 +57376,61 @@ declare module "sap/m/MenuItemGroup" {
|
|
|
56955
57376
|
oItem: IMenuItem
|
|
56956
57377
|
): int;
|
|
56957
57378
|
/**
|
|
56958
|
-
* Inserts
|
|
57379
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
56959
57380
|
*
|
|
56960
57381
|
*
|
|
56961
|
-
* @returns `this` to allow method chaining
|
|
57382
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
56962
57383
|
*/
|
|
56963
57384
|
insertItem(
|
|
56964
57385
|
/**
|
|
56965
|
-
*
|
|
57386
|
+
* The item to insert; if empty, nothing is inserted
|
|
56966
57387
|
*/
|
|
56967
57388
|
oItem: IMenuItem,
|
|
56968
57389
|
/**
|
|
56969
|
-
*
|
|
56970
|
-
|
|
56971
|
-
|
|
56972
|
-
/**
|
|
56973
|
-
* Whether to suppress the invalidation of the control
|
|
57390
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
57391
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
57392
|
+
* the last position
|
|
56974
57393
|
*/
|
|
56975
|
-
|
|
57394
|
+
iIndex: int
|
|
56976
57395
|
): this;
|
|
56977
57396
|
/**
|
|
56978
|
-
* Removes all
|
|
57397
|
+
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
57398
|
+
*
|
|
57399
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
56979
57400
|
*
|
|
56980
57401
|
*
|
|
56981
|
-
* @returns array
|
|
57402
|
+
* @returns An array of the removed elements (might be empty)
|
|
56982
57403
|
*/
|
|
56983
|
-
removeAllItems(
|
|
56984
|
-
/**
|
|
56985
|
-
* Whether to suppress the invalidation of the control
|
|
56986
|
-
*/
|
|
56987
|
-
bSuppressInvalidate: boolean
|
|
56988
|
-
): any[] | null;
|
|
57404
|
+
removeAllItems(): IMenuItem[];
|
|
56989
57405
|
/**
|
|
56990
|
-
* Removes
|
|
57406
|
+
* Removes a item from the aggregation {@link #getItems items}.
|
|
56991
57407
|
*
|
|
56992
57408
|
*
|
|
56993
|
-
* @returns
|
|
57409
|
+
* @returns The removed item or `null`
|
|
56994
57410
|
*/
|
|
56995
57411
|
removeItem(
|
|
56996
57412
|
/**
|
|
56997
|
-
*
|
|
56998
|
-
*/
|
|
56999
|
-
vItem: int | string | IMenuItem,
|
|
57000
|
-
/**
|
|
57001
|
-
* Whether to suppress the invalidation of the control
|
|
57413
|
+
* The item to remove or its index or id
|
|
57002
57414
|
*/
|
|
57003
|
-
|
|
57415
|
+
vItem: int | string | IMenuItem
|
|
57004
57416
|
): IMenuItem | null;
|
|
57005
57417
|
/**
|
|
57006
|
-
*
|
|
57418
|
+
* Sets a new value for property {@link #getItemSelectionMode itemSelectionMode}.
|
|
57007
57419
|
*
|
|
57420
|
+
* Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
|
|
57008
57421
|
*
|
|
57009
|
-
*
|
|
57422
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57423
|
+
*
|
|
57424
|
+
* Default value is `None`.
|
|
57425
|
+
*
|
|
57426
|
+
*
|
|
57427
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57010
57428
|
*/
|
|
57011
57429
|
setItemSelectionMode(
|
|
57012
57430
|
/**
|
|
57013
|
-
*
|
|
57014
|
-
*/
|
|
57015
|
-
sSelectionMode: string,
|
|
57016
|
-
/**
|
|
57017
|
-
* Whether to suppress the invalidation of the control
|
|
57431
|
+
* New value for property `itemSelectionMode`
|
|
57018
57432
|
*/
|
|
57019
|
-
|
|
57433
|
+
sItemSelectionMode?: ItemSelectionMode
|
|
57020
57434
|
): this;
|
|
57021
57435
|
}
|
|
57022
57436
|
/**
|
|
@@ -57657,7 +58071,7 @@ declare module "sap/m/MessageBox" {
|
|
|
57657
58071
|
/**
|
|
57658
58072
|
* The icon to be displayed.
|
|
57659
58073
|
*/
|
|
57660
|
-
icon?: Icon;
|
|
58074
|
+
icon?: Icon | keyof typeof Icon;
|
|
57661
58075
|
/**
|
|
57662
58076
|
* The title of the message box.
|
|
57663
58077
|
*/
|
|
@@ -58044,27 +58458,27 @@ declare module "sap/m/MessageBox" {
|
|
|
58044
58458
|
/**
|
|
58045
58459
|
* Shows the error icon in the message box.
|
|
58046
58460
|
*/
|
|
58047
|
-
ERROR = "
|
|
58461
|
+
ERROR = "ERROR",
|
|
58048
58462
|
/**
|
|
58049
58463
|
* Shows the information icon in the message box.
|
|
58050
58464
|
*/
|
|
58051
|
-
INFORMATION = "
|
|
58465
|
+
INFORMATION = "INFORMATION",
|
|
58052
58466
|
/**
|
|
58053
58467
|
* Shows no icon in the message box.
|
|
58054
58468
|
*/
|
|
58055
|
-
NONE = "
|
|
58469
|
+
NONE = "NONE",
|
|
58056
58470
|
/**
|
|
58057
58471
|
* Shows the question icon in the message box.
|
|
58058
58472
|
*/
|
|
58059
|
-
QUESTION = "
|
|
58473
|
+
QUESTION = "QUESTION",
|
|
58060
58474
|
/**
|
|
58061
58475
|
* Shows the success icon in the message box.
|
|
58062
58476
|
*/
|
|
58063
|
-
SUCCESS = "
|
|
58477
|
+
SUCCESS = "SUCCESS",
|
|
58064
58478
|
/**
|
|
58065
58479
|
* Shows the warning icon in the message box.
|
|
58066
58480
|
*/
|
|
58067
|
-
WARNING = "
|
|
58481
|
+
WARNING = "WARNING",
|
|
58068
58482
|
}
|
|
58069
58483
|
}
|
|
58070
58484
|
|
|
@@ -61430,8 +61844,8 @@ declare module "sap/m/MessageToast" {
|
|
|
61430
61844
|
* sap.m.MessageToast.show("This message should appear in the message toast", {
|
|
61431
61845
|
* duration: 3000, // default
|
|
61432
61846
|
* width: "15em", // default
|
|
61433
|
-
* my: "
|
|
61434
|
-
* at: "
|
|
61847
|
+
* my: "CenterBottom", // default
|
|
61848
|
+
* at: "CenterBottom", // default
|
|
61435
61849
|
* of: window, // default
|
|
61436
61850
|
* offset: "0 0", // default
|
|
61437
61851
|
* collision: "fit fit", // default
|
|
@@ -61451,7 +61865,8 @@ declare module "sap/m/MessageToast" {
|
|
|
61451
61865
|
* - You want to make sure that users read the message before they leave the page.
|
|
61452
61866
|
* - 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}.)
|
|
61453
61867
|
* Responsive Behavior: The message toast has the same behavior on all devices. However, you can adjust
|
|
61454
|
-
* the width of the control, for example
|
|
61868
|
+
* the width of the control depending on the device you're using, for example desktop. Note that the width
|
|
61869
|
+
* can be customized up to a maximum of 15rem.
|
|
61455
61870
|
* See:
|
|
61456
61871
|
* {@link fiori:https://experience.sap.com/fiori-design-web/message-toast/ Message Toast}
|
|
61457
61872
|
*
|
|
@@ -63200,7 +63615,10 @@ declare module "sap/m/MultiInput" {
|
|
|
63200
63615
|
* - Provide meaningful labels for all input fields. Do not use the placeholder as a replacement for
|
|
63201
63616
|
* the label.
|
|
63202
63617
|
* - The `showValueHelp` property is overwritten and after initialization of the control, its value becomes
|
|
63203
|
-
* `truthy`.
|
|
63618
|
+
* `truthy`.
|
|
63619
|
+
* - A mix of read-only and deletable tokens isn't supported.
|
|
63620
|
+
* - The read-only state of tokens should be controlled using the `editable` property of the MultiInput
|
|
63621
|
+
* control. Usage: When to use::
|
|
63204
63622
|
* - You need to provide the value help option to help users select or search multiple business objects.
|
|
63205
63623
|
*
|
|
63206
63624
|
* - The dataset to choose from is expected to increase over time (for example, to more than 200 values).
|
|
@@ -75480,7 +75898,11 @@ declare module "sap/m/p13n/Engine" {
|
|
|
75480
75898
|
/**
|
|
75481
75899
|
* The handler function to call when the event occurs
|
|
75482
75900
|
*/
|
|
75483
|
-
fnStateEventHandler: (p1: Event) => void
|
|
75901
|
+
fnStateEventHandler: (p1: Event) => void,
|
|
75902
|
+
/**
|
|
75903
|
+
* The context object to call the event handler with (value of `this` in the event handler function).
|
|
75904
|
+
*/
|
|
75905
|
+
oListener?: object
|
|
75484
75906
|
): this;
|
|
75485
75907
|
/**
|
|
75486
75908
|
* Unregisters a registered control. By unregistering a control the control is removed from the `Engine`
|
|
@@ -75503,7 +75925,11 @@ declare module "sap/m/p13n/Engine" {
|
|
|
75503
75925
|
/**
|
|
75504
75926
|
* The handler function to detach from the event
|
|
75505
75927
|
*/
|
|
75506
|
-
fnStateEventHandler: (p1: Event) => void
|
|
75928
|
+
fnStateEventHandler: (p1: Event) => void,
|
|
75929
|
+
/**
|
|
75930
|
+
* The context object to call the event handler with (value of `this` in the event handler function).
|
|
75931
|
+
*/
|
|
75932
|
+
oListener?: object
|
|
75507
75933
|
): this;
|
|
75508
75934
|
|
|
75509
75935
|
register(
|
|
@@ -97493,7 +97919,9 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
97493
97919
|
/**
|
|
97494
97920
|
* New value for property `httpRequestMethod`
|
|
97495
97921
|
*/
|
|
97496
|
-
sHttpRequestMethod?:
|
|
97922
|
+
sHttpRequestMethod?:
|
|
97923
|
+
| UploaderHttpRequestMethod
|
|
97924
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
97497
97925
|
): this;
|
|
97498
97926
|
/**
|
|
97499
97927
|
* Sets a new value for property {@link #getItemValidationHandler itemValidationHandler}.
|
|
@@ -97822,7 +98250,7 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
97822
98250
|
* HTTP request method chosen for file upload.
|
|
97823
98251
|
*/
|
|
97824
98252
|
httpRequestMethod?:
|
|
97825
|
-
| UploaderHttpRequestMethod
|
|
98253
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
97826
98254
|
| PropertyBindingInfo
|
|
97827
98255
|
| `{${string}}`;
|
|
97828
98256
|
|
|
@@ -127637,13 +128065,13 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
127637
128065
|
*/
|
|
127638
128066
|
getEndHour(): int;
|
|
127639
128067
|
/**
|
|
127640
|
-
*
|
|
128068
|
+
* Returns an object containing the start and end dates in the currently visible range.
|
|
127641
128069
|
*
|
|
127642
128070
|
* @since 1.133
|
|
127643
128071
|
*
|
|
127644
|
-
* @returns
|
|
128072
|
+
* @returns An object containing the start and end date in the currently visible range.
|
|
127645
128073
|
*/
|
|
127646
|
-
getFirstAndLastVisibleDates():
|
|
128074
|
+
getFirstAndLastVisibleDates(): VisibleDates;
|
|
127647
128075
|
/**
|
|
127648
128076
|
* Gets current value of property {@link #getFirstDayOfWeek firstDayOfWeek}.
|
|
127649
128077
|
*
|
|
@@ -128472,6 +128900,20 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
128472
128900
|
sTitle?: string
|
|
128473
128901
|
): this;
|
|
128474
128902
|
}
|
|
128903
|
+
/**
|
|
128904
|
+
* Object which contains the start and end dates in the currently visible range.
|
|
128905
|
+
*/
|
|
128906
|
+
export type VisibleDates = {
|
|
128907
|
+
/**
|
|
128908
|
+
* The start date in the currently visible range.
|
|
128909
|
+
*/
|
|
128910
|
+
oStartDate?: Date | UI5Date;
|
|
128911
|
+
/**
|
|
128912
|
+
* The end date in the currently visible range.
|
|
128913
|
+
*/
|
|
128914
|
+
oEndDate?: Date | UI5Date;
|
|
128915
|
+
};
|
|
128916
|
+
|
|
128475
128917
|
/**
|
|
128476
128918
|
* Describes the settings that can be provided to the SinglePlanningCalendar constructor.
|
|
128477
128919
|
*/
|
|
@@ -131489,8 +131931,12 @@ declare module "sap/m/SplitApp" {
|
|
|
131489
131931
|
* header tags to the HTML page which are considered useful for mobile applications and allows the configuration
|
|
131490
131932
|
* of the application's home icon via the `homeIcon` property.
|
|
131491
131933
|
*
|
|
131492
|
-
* Usage:
|
|
131493
|
-
* as
|
|
131934
|
+
* Usage:
|
|
131935
|
+
* - Use SplitApp as the root control of your application. It should not be nested inside or alongside
|
|
131936
|
+
* other controls.
|
|
131937
|
+
* - SplitApp requires its parent elements (including `body` and `html`) to have a height set to 100%
|
|
131938
|
+
* for proper layout. If this is not set, `SplitApp` will attempt to set the height itself. SplitApp
|
|
131939
|
+
* requires 100% of the page width for proper layout.
|
|
131494
131940
|
*/
|
|
131495
131941
|
export default class SplitApp extends SplitContainer {
|
|
131496
131942
|
/**
|
|
@@ -142102,6 +142548,240 @@ declare module "sap/m/table/columnmenu/QuickGroupItem" {
|
|
|
142102
142548
|
}
|
|
142103
142549
|
}
|
|
142104
142550
|
|
|
142551
|
+
declare module "sap/m/table/columnmenu/QuickResize" {
|
|
142552
|
+
import {
|
|
142553
|
+
default as QuickActionBase,
|
|
142554
|
+
$QuickActionBaseSettings,
|
|
142555
|
+
} from "sap/m/table/columnmenu/QuickActionBase";
|
|
142556
|
+
|
|
142557
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
142558
|
+
|
|
142559
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
142560
|
+
|
|
142561
|
+
import Event from "sap/ui/base/Event";
|
|
142562
|
+
|
|
142563
|
+
/**
|
|
142564
|
+
* The `QuickResize` class is used for quick resizing of columns via the `sap.m.table.columnmenu.Menu`.
|
|
142565
|
+
* It can be used to specify quick actions for accessible column resizing.
|
|
142566
|
+
*
|
|
142567
|
+
* @since 1.137
|
|
142568
|
+
*/
|
|
142569
|
+
export default class QuickResize extends QuickActionBase {
|
|
142570
|
+
/**
|
|
142571
|
+
* Constructor for a new `QuickResize`.
|
|
142572
|
+
*
|
|
142573
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
142574
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
142575
|
+
* of the syntax of the settings object.
|
|
142576
|
+
*/
|
|
142577
|
+
constructor(
|
|
142578
|
+
/**
|
|
142579
|
+
* Initial settings for the new `QuickResize`
|
|
142580
|
+
*/
|
|
142581
|
+
mSettings?: $QuickResizeSettings
|
|
142582
|
+
);
|
|
142583
|
+
/**
|
|
142584
|
+
* Constructor for a new `QuickResize`.
|
|
142585
|
+
*
|
|
142586
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
142587
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
142588
|
+
* of the syntax of the settings object.
|
|
142589
|
+
*/
|
|
142590
|
+
constructor(
|
|
142591
|
+
/**
|
|
142592
|
+
* ID for the new `QuickResize`, generated automatically if no ID is given
|
|
142593
|
+
*/
|
|
142594
|
+
sId?: string,
|
|
142595
|
+
/**
|
|
142596
|
+
* Initial settings for the new `QuickResize`
|
|
142597
|
+
*/
|
|
142598
|
+
mSettings?: $QuickResizeSettings
|
|
142599
|
+
);
|
|
142600
|
+
|
|
142601
|
+
/**
|
|
142602
|
+
* Creates a new subclass of class sap.m.table.columnmenu.QuickResize with name `sClassName` and enriches
|
|
142603
|
+
* it with the information contained in `oClassInfo`.
|
|
142604
|
+
*
|
|
142605
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.m.table.columnmenu.QuickActionBase.extend}.
|
|
142606
|
+
*
|
|
142607
|
+
*
|
|
142608
|
+
* @returns Created class / constructor function
|
|
142609
|
+
*/
|
|
142610
|
+
static extend<T extends Record<string, unknown>>(
|
|
142611
|
+
/**
|
|
142612
|
+
* Name of the class being created
|
|
142613
|
+
*/
|
|
142614
|
+
sClassName: string,
|
|
142615
|
+
/**
|
|
142616
|
+
* Object literal with information about the class
|
|
142617
|
+
*/
|
|
142618
|
+
oClassInfo?: sap.ClassInfo<T, QuickResize>,
|
|
142619
|
+
/**
|
|
142620
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
142621
|
+
* used by this class
|
|
142622
|
+
*/
|
|
142623
|
+
FNMetaImpl?: Function
|
|
142624
|
+
): Function;
|
|
142625
|
+
/**
|
|
142626
|
+
* Returns a metadata object for class sap.m.table.columnmenu.QuickResize.
|
|
142627
|
+
*
|
|
142628
|
+
*
|
|
142629
|
+
* @returns Metadata object describing this class
|
|
142630
|
+
*/
|
|
142631
|
+
static getMetadata(): ElementMetadata;
|
|
142632
|
+
/**
|
|
142633
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
|
|
142634
|
+
*
|
|
142635
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
142636
|
+
* otherwise it will be bound to this `sap.m.table.columnmenu.QuickResize` itself.
|
|
142637
|
+
*
|
|
142638
|
+
* Fires the change event.
|
|
142639
|
+
*
|
|
142640
|
+
*
|
|
142641
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
142642
|
+
*/
|
|
142643
|
+
attachChange(
|
|
142644
|
+
/**
|
|
142645
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
142646
|
+
* object when firing the event
|
|
142647
|
+
*/
|
|
142648
|
+
oData: object,
|
|
142649
|
+
/**
|
|
142650
|
+
* The function to be called when the event occurs
|
|
142651
|
+
*/
|
|
142652
|
+
fnFunction: (p1: QuickResize$ChangeEvent) => void,
|
|
142653
|
+
/**
|
|
142654
|
+
* Context object to call the event handler with. Defaults to this `sap.m.table.columnmenu.QuickResize`
|
|
142655
|
+
* itself
|
|
142656
|
+
*/
|
|
142657
|
+
oListener?: object
|
|
142658
|
+
): this;
|
|
142659
|
+
/**
|
|
142660
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
|
|
142661
|
+
*
|
|
142662
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
142663
|
+
* otherwise it will be bound to this `sap.m.table.columnmenu.QuickResize` itself.
|
|
142664
|
+
*
|
|
142665
|
+
* Fires the change event.
|
|
142666
|
+
*
|
|
142667
|
+
*
|
|
142668
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
142669
|
+
*/
|
|
142670
|
+
attachChange(
|
|
142671
|
+
/**
|
|
142672
|
+
* The function to be called when the event occurs
|
|
142673
|
+
*/
|
|
142674
|
+
fnFunction: (p1: QuickResize$ChangeEvent) => void,
|
|
142675
|
+
/**
|
|
142676
|
+
* Context object to call the event handler with. Defaults to this `sap.m.table.columnmenu.QuickResize`
|
|
142677
|
+
* itself
|
|
142678
|
+
*/
|
|
142679
|
+
oListener?: object
|
|
142680
|
+
): this;
|
|
142681
|
+
/**
|
|
142682
|
+
* Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
|
|
142683
|
+
*
|
|
142684
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
142685
|
+
*
|
|
142686
|
+
*
|
|
142687
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
142688
|
+
*/
|
|
142689
|
+
detachChange(
|
|
142690
|
+
/**
|
|
142691
|
+
* The function to be called, when the event occurs
|
|
142692
|
+
*/
|
|
142693
|
+
fnFunction: (p1: QuickResize$ChangeEvent) => void,
|
|
142694
|
+
/**
|
|
142695
|
+
* Context object on which the given function had to be called
|
|
142696
|
+
*/
|
|
142697
|
+
oListener?: object
|
|
142698
|
+
): this;
|
|
142699
|
+
/**
|
|
142700
|
+
* Fires event {@link #event:change change} to attached listeners.
|
|
142701
|
+
*
|
|
142702
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
142703
|
+
*
|
|
142704
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
142705
|
+
*/
|
|
142706
|
+
fireChange(
|
|
142707
|
+
/**
|
|
142708
|
+
* Parameters to pass along with the event
|
|
142709
|
+
*/
|
|
142710
|
+
mParameters?: QuickResize$ChangeEventParameters
|
|
142711
|
+
): this;
|
|
142712
|
+
/**
|
|
142713
|
+
* Gets current value of property {@link #getWidth width}.
|
|
142714
|
+
*
|
|
142715
|
+
* The width of the column.
|
|
142716
|
+
*
|
|
142717
|
+
* **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
|
|
142718
|
+
* have a built-in mechanism to automatically determine the value from the actual column width.
|
|
142719
|
+
*
|
|
142720
|
+
* Default value is `200`.
|
|
142721
|
+
*
|
|
142722
|
+
*
|
|
142723
|
+
* @returns Value of property `width`
|
|
142724
|
+
*/
|
|
142725
|
+
getWidth(): int;
|
|
142726
|
+
/**
|
|
142727
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
142728
|
+
*
|
|
142729
|
+
* The width of the column.
|
|
142730
|
+
*
|
|
142731
|
+
* **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
|
|
142732
|
+
* have a built-in mechanism to automatically determine the value from the actual column width.
|
|
142733
|
+
*
|
|
142734
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
142735
|
+
*
|
|
142736
|
+
* Default value is `200`.
|
|
142737
|
+
*
|
|
142738
|
+
*
|
|
142739
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
142740
|
+
*/
|
|
142741
|
+
setWidth(
|
|
142742
|
+
/**
|
|
142743
|
+
* New value for property `width`
|
|
142744
|
+
*/
|
|
142745
|
+
iWidth?: int
|
|
142746
|
+
): this;
|
|
142747
|
+
}
|
|
142748
|
+
/**
|
|
142749
|
+
* Describes the settings that can be provided to the QuickResize constructor.
|
|
142750
|
+
*/
|
|
142751
|
+
export interface $QuickResizeSettings extends $QuickActionBaseSettings {
|
|
142752
|
+
/**
|
|
142753
|
+
* The width of the column.
|
|
142754
|
+
*
|
|
142755
|
+
* **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
|
|
142756
|
+
* have a built-in mechanism to automatically determine the value from the actual column width.
|
|
142757
|
+
*/
|
|
142758
|
+
width?: int | PropertyBindingInfo | `{${string}}`;
|
|
142759
|
+
|
|
142760
|
+
/**
|
|
142761
|
+
* Fires the change event.
|
|
142762
|
+
*/
|
|
142763
|
+
change?: (oEvent: QuickResize$ChangeEvent) => void;
|
|
142764
|
+
}
|
|
142765
|
+
|
|
142766
|
+
/**
|
|
142767
|
+
* Parameters of the QuickResize#change event.
|
|
142768
|
+
*/
|
|
142769
|
+
export interface QuickResize$ChangeEventParameters {
|
|
142770
|
+
/**
|
|
142771
|
+
* The new width.
|
|
142772
|
+
*/
|
|
142773
|
+
width?: int;
|
|
142774
|
+
}
|
|
142775
|
+
|
|
142776
|
+
/**
|
|
142777
|
+
* Event object of the QuickResize#change event.
|
|
142778
|
+
*/
|
|
142779
|
+
export type QuickResize$ChangeEvent = Event<
|
|
142780
|
+
QuickResize$ChangeEventParameters,
|
|
142781
|
+
QuickResize
|
|
142782
|
+
>;
|
|
142783
|
+
}
|
|
142784
|
+
|
|
142105
142785
|
declare module "sap/m/table/columnmenu/QuickSort" {
|
|
142106
142786
|
import {
|
|
142107
142787
|
default as QuickActionBase,
|
|
@@ -156305,7 +156985,9 @@ declare module "sap/m/upload/Uploader" {
|
|
|
156305
156985
|
/**
|
|
156306
156986
|
* New value for property `httpRequestMethod`
|
|
156307
156987
|
*/
|
|
156308
|
-
sHttpRequestMethod?:
|
|
156988
|
+
sHttpRequestMethod?:
|
|
156989
|
+
| UploaderHttpRequestMethod
|
|
156990
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
156309
156991
|
): this;
|
|
156310
156992
|
/**
|
|
156311
156993
|
* Sets a new value for property {@link #getUploadUrl uploadUrl}.
|
|
@@ -156388,7 +157070,7 @@ declare module "sap/m/upload/Uploader" {
|
|
|
156388
157070
|
* @since 1.90
|
|
156389
157071
|
*/
|
|
156390
157072
|
httpRequestMethod?:
|
|
156391
|
-
| UploaderHttpRequestMethod
|
|
157073
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
156392
157074
|
| PropertyBindingInfo
|
|
156393
157075
|
| `{${string}}`;
|
|
156394
157076
|
|
|
@@ -156532,11 +157214,11 @@ declare module "sap/m/upload/UploaderHttpRequestMethod" {
|
|
|
156532
157214
|
/**
|
|
156533
157215
|
* HTTP request POST method.
|
|
156534
157216
|
*/
|
|
156535
|
-
Post = "
|
|
157217
|
+
Post = "Post",
|
|
156536
157218
|
/**
|
|
156537
157219
|
* HTTP request PUT method.
|
|
156538
157220
|
*/
|
|
156539
|
-
Put = "
|
|
157221
|
+
Put = "Put",
|
|
156540
157222
|
}
|
|
156541
157223
|
export default UploaderHttpRequestMethod;
|
|
156542
157224
|
}
|
|
@@ -157040,7 +157722,9 @@ declare module "sap/m/upload/UploaderTableItem" {
|
|
|
157040
157722
|
/**
|
|
157041
157723
|
* New value for property `httpRequestMethod`
|
|
157042
157724
|
*/
|
|
157043
|
-
sHttpRequestMethod?:
|
|
157725
|
+
sHttpRequestMethod?:
|
|
157726
|
+
| UploaderHttpRequestMethod
|
|
157727
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
157044
157728
|
): this;
|
|
157045
157729
|
/**
|
|
157046
157730
|
* Sets a new value for property {@link #getUploadUrl uploadUrl}.
|
|
@@ -157118,7 +157802,7 @@ declare module "sap/m/upload/UploaderTableItem" {
|
|
|
157118
157802
|
* HTTP request method chosen for file upload.
|
|
157119
157803
|
*/
|
|
157120
157804
|
httpRequestMethod?:
|
|
157121
|
-
| UploaderHttpRequestMethod
|
|
157805
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
157122
157806
|
| PropertyBindingInfo
|
|
157123
157807
|
| `{${string}}`;
|
|
157124
157808
|
|
|
@@ -160644,7 +161328,9 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
160644
161328
|
/**
|
|
160645
161329
|
* New value for property `httpRequestMethod`
|
|
160646
161330
|
*/
|
|
160647
|
-
sHttpRequestMethod?:
|
|
161331
|
+
sHttpRequestMethod?:
|
|
161332
|
+
| UploaderHttpRequestMethod
|
|
161333
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
160648
161334
|
): this;
|
|
160649
161335
|
/**
|
|
160650
161336
|
* Sets the aggregated {@link #getIllustratedMessage illustratedMessage}.
|
|
@@ -161125,7 +161811,7 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
161125
161811
|
* @since 1.90
|
|
161126
161812
|
*/
|
|
161127
161813
|
httpRequestMethod?:
|
|
161128
|
-
| UploaderHttpRequestMethod
|
|
161814
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
161129
161815
|
| PropertyBindingInfo
|
|
161130
161816
|
| `{${string}}`;
|
|
161131
161817
|
|
|
@@ -167130,7 +167816,7 @@ declare module "sap/m/VariantItem" {
|
|
|
167130
167816
|
/**
|
|
167131
167817
|
* New value for property `sharing`
|
|
167132
167818
|
*/
|
|
167133
|
-
sSharing?: SharingMode
|
|
167819
|
+
sSharing?: SharingMode | keyof typeof SharingMode
|
|
167134
167820
|
): this;
|
|
167135
167821
|
/**
|
|
167136
167822
|
* Sets a new value for property {@link #getTitle title}.
|
|
@@ -167179,7 +167865,10 @@ declare module "sap/m/VariantItem" {
|
|
|
167179
167865
|
/**
|
|
167180
167866
|
* Contains the information is the item is public or private.
|
|
167181
167867
|
*/
|
|
167182
|
-
sharing?:
|
|
167868
|
+
sharing?:
|
|
167869
|
+
| (SharingMode | keyof typeof SharingMode)
|
|
167870
|
+
| PropertyBindingInfo
|
|
167871
|
+
| `{${string}}`;
|
|
167183
167872
|
|
|
167184
167873
|
/**
|
|
167185
167874
|
* Indicates if the item is removable.
|
|
@@ -172223,6 +172912,10 @@ declare namespace sap {
|
|
|
172223
172912
|
|
|
172224
172913
|
"sap/m/ListBase": undefined;
|
|
172225
172914
|
|
|
172915
|
+
"sap/m/ListItemAction": undefined;
|
|
172916
|
+
|
|
172917
|
+
"sap/m/ListItemActionBase": undefined;
|
|
172918
|
+
|
|
172226
172919
|
"sap/m/ListItemBase": undefined;
|
|
172227
172920
|
|
|
172228
172921
|
"sap/m/MaskInput": undefined;
|
|
@@ -172597,6 +173290,8 @@ declare namespace sap {
|
|
|
172597
173290
|
|
|
172598
173291
|
"sap/m/table/columnmenu/QuickGroupItem": undefined;
|
|
172599
173292
|
|
|
173293
|
+
"sap/m/table/columnmenu/QuickResize": undefined;
|
|
173294
|
+
|
|
172600
173295
|
"sap/m/table/columnmenu/QuickSort": undefined;
|
|
172601
173296
|
|
|
172602
173297
|
"sap/m/table/columnmenu/QuickSortItem": undefined;
|