@openui5/types 1.136.3 → 1.139.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/README.md +3 -3
- package/package.json +2 -2
- package/types/sap.f.d.ts +5 -5
- package/types/sap.m.d.ts +1738 -583
- 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.core.d.ts +108 -68
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -7
- package/types/sap.ui.integration.d.ts +88 -31
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +614 -298
- 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.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.uxap.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.139.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
|
*
|
|
@@ -2125,6 +2184,30 @@ declare module "sap/m/library" {
|
|
|
2125
2184
|
*/
|
|
2126
2185
|
NeverOverflow = "NeverOverflow",
|
|
2127
2186
|
}
|
|
2187
|
+
/**
|
|
2188
|
+
* Types of `sap.m.OverflowToolbarTokenizerRenderMode` responsive modes
|
|
2189
|
+
*
|
|
2190
|
+
* This enum is part of the 'sap/m/library' module export and must be accessed by the property 'OverflowToolbarTokenizerRenderMode'.
|
|
2191
|
+
*
|
|
2192
|
+
* @since 1.139
|
|
2193
|
+
*/
|
|
2194
|
+
export enum OverflowToolbarTokenizerRenderMode {
|
|
2195
|
+
/**
|
|
2196
|
+
* In `Loose` mode, `sap.m.OverflowToolbarTokenizer` shows all its tokens, even if it requires scrolling.
|
|
2197
|
+
*/
|
|
2198
|
+
Loose = "Loose",
|
|
2199
|
+
/**
|
|
2200
|
+
* In `Narrow` mode, `sap.m.OverflowToolbarTokenizer` shows as many tokens as its width allows and an n-More
|
|
2201
|
+
* indicator with the count of the hidden tokens. The rest of the tokens remain hidden.
|
|
2202
|
+
*/
|
|
2203
|
+
Narrow = "Narrow",
|
|
2204
|
+
/**
|
|
2205
|
+
* In `Overflow` mode, `sap.m.OverflowToolbarTokenizer` shows only a `sap.m.Button` as an n-More indicator
|
|
2206
|
+
* without visible tokens. This mode is used when `sap.m.OverflowToolbarTokenizer` is within the `sap.m.OverflowToolbar`
|
|
2207
|
+
* overflow area.
|
|
2208
|
+
*/
|
|
2209
|
+
Overflow = "Overflow",
|
|
2210
|
+
}
|
|
2128
2211
|
/**
|
|
2129
2212
|
* undefined
|
|
2130
2213
|
*
|
|
@@ -2812,11 +2895,11 @@ declare module "sap/m/library" {
|
|
|
2812
2895
|
/**
|
|
2813
2896
|
* Private mode of the `VariantItem`.
|
|
2814
2897
|
*/
|
|
2815
|
-
Private = "
|
|
2898
|
+
Private = "Private",
|
|
2816
2899
|
/**
|
|
2817
2900
|
* Public mode of the `VariantItem`.
|
|
2818
2901
|
*/
|
|
2819
|
-
Public = "
|
|
2902
|
+
Public = "Public",
|
|
2820
2903
|
}
|
|
2821
2904
|
/**
|
|
2822
2905
|
* Available selection modes for the {@link sap.m.SinglePlanningCalendar}
|
|
@@ -23508,7 +23591,16 @@ declare module "sap/m/Dialog" {
|
|
|
23508
23591
|
/**
|
|
23509
23592
|
* Escape handler for sap.m.Dialog control.
|
|
23510
23593
|
*/
|
|
23511
|
-
export type EscapeHandler = (oHandlers:
|
|
23594
|
+
export type EscapeHandler = (oHandlers: {
|
|
23595
|
+
/**
|
|
23596
|
+
* Call this function if the dialog should be closed.
|
|
23597
|
+
*/
|
|
23598
|
+
resolve: () => void;
|
|
23599
|
+
/**
|
|
23600
|
+
* Call this function if the dialog should not be closed.
|
|
23601
|
+
*/
|
|
23602
|
+
reject: () => void;
|
|
23603
|
+
}) => void;
|
|
23512
23604
|
|
|
23513
23605
|
/**
|
|
23514
23606
|
* Describes the settings that can be provided to the Dialog constructor.
|
|
@@ -28803,7 +28895,10 @@ declare module "sap/m/FeedInput" {
|
|
|
28803
28895
|
|
|
28804
28896
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
28805
28897
|
|
|
28806
|
-
import {
|
|
28898
|
+
import {
|
|
28899
|
+
PropertyBindingInfo,
|
|
28900
|
+
AggregationBindingInfo,
|
|
28901
|
+
} from "sap/ui/base/ManagedObject";
|
|
28807
28902
|
|
|
28808
28903
|
import Event from "sap/ui/base/Event";
|
|
28809
28904
|
|
|
@@ -28875,6 +28970,19 @@ declare module "sap/m/FeedInput" {
|
|
|
28875
28970
|
* @returns Metadata object describing this class
|
|
28876
28971
|
*/
|
|
28877
28972
|
static getMetadata(): ElementMetadata;
|
|
28973
|
+
/**
|
|
28974
|
+
* Adds some action to the aggregation {@link #getActions actions}.
|
|
28975
|
+
*
|
|
28976
|
+
* @since 1.139
|
|
28977
|
+
*
|
|
28978
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
28979
|
+
*/
|
|
28980
|
+
addAction(
|
|
28981
|
+
/**
|
|
28982
|
+
* The action to add; if empty, nothing is inserted
|
|
28983
|
+
*/
|
|
28984
|
+
oAction: Control
|
|
28985
|
+
): this;
|
|
28878
28986
|
/**
|
|
28879
28987
|
* Attaches event handler `fnFunction` to the {@link #event:post post} event of this `sap.m.FeedInput`.
|
|
28880
28988
|
*
|
|
@@ -28924,6 +29032,14 @@ declare module "sap/m/FeedInput" {
|
|
|
28924
29032
|
*/
|
|
28925
29033
|
oListener?: object
|
|
28926
29034
|
): this;
|
|
29035
|
+
/**
|
|
29036
|
+
* Destroys all the actions in the aggregation {@link #getActions actions}.
|
|
29037
|
+
*
|
|
29038
|
+
* @since 1.139
|
|
29039
|
+
*
|
|
29040
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
29041
|
+
*/
|
|
29042
|
+
destroyActions(): this;
|
|
28927
29043
|
/**
|
|
28928
29044
|
* Detaches event handler `fnFunction` from the {@link #event:post post} event of this `sap.m.FeedInput`.
|
|
28929
29045
|
*
|
|
@@ -28955,6 +29071,17 @@ declare module "sap/m/FeedInput" {
|
|
|
28955
29071
|
*/
|
|
28956
29072
|
mParameters?: FeedInput$PostEventParameters
|
|
28957
29073
|
): this;
|
|
29074
|
+
/**
|
|
29075
|
+
* Gets content of aggregation {@link #getActions actions}.
|
|
29076
|
+
*
|
|
29077
|
+
* Defines the actions that are displayed next to the text area. These buttons can be used to trigger actions,
|
|
29078
|
+
* such as attaching a file. This is a {@link sap.m.Button} If the actions are not set, the post button
|
|
29079
|
+
* is displayed as the last control in the feed input. **Note:** Only `sap.m.Button` is supported for this
|
|
29080
|
+
* aggregation. If another control is provided, an error is logged and actions are ignored.
|
|
29081
|
+
*
|
|
29082
|
+
* @since 1.139
|
|
29083
|
+
*/
|
|
29084
|
+
getActions(): Control[];
|
|
28958
29085
|
/**
|
|
28959
29086
|
* Gets current value of property {@link #getAriaLabelForPicture ariaLabelForPicture}.
|
|
28960
29087
|
*
|
|
@@ -29153,6 +29280,62 @@ declare module "sap/m/FeedInput" {
|
|
|
29153
29280
|
* @returns Value of property `value`
|
|
29154
29281
|
*/
|
|
29155
29282
|
getValue(): string;
|
|
29283
|
+
/**
|
|
29284
|
+
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getActions actions}. and returns
|
|
29285
|
+
* its index if found or -1 otherwise.
|
|
29286
|
+
*
|
|
29287
|
+
* @since 1.139
|
|
29288
|
+
*
|
|
29289
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
29290
|
+
*/
|
|
29291
|
+
indexOfAction(
|
|
29292
|
+
/**
|
|
29293
|
+
* The action whose index is looked for
|
|
29294
|
+
*/
|
|
29295
|
+
oAction: Control
|
|
29296
|
+
): int;
|
|
29297
|
+
/**
|
|
29298
|
+
* Inserts a action into the aggregation {@link #getActions actions}.
|
|
29299
|
+
*
|
|
29300
|
+
* @since 1.139
|
|
29301
|
+
*
|
|
29302
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
29303
|
+
*/
|
|
29304
|
+
insertAction(
|
|
29305
|
+
/**
|
|
29306
|
+
* The action to insert; if empty, nothing is inserted
|
|
29307
|
+
*/
|
|
29308
|
+
oAction: Control,
|
|
29309
|
+
/**
|
|
29310
|
+
* The `0`-based index the action should be inserted at; for a negative value of `iIndex`, the action is
|
|
29311
|
+
* inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted
|
|
29312
|
+
* at the last position
|
|
29313
|
+
*/
|
|
29314
|
+
iIndex: int
|
|
29315
|
+
): this;
|
|
29316
|
+
/**
|
|
29317
|
+
* Removes a action from the aggregation {@link #getActions actions}.
|
|
29318
|
+
*
|
|
29319
|
+
* @since 1.139
|
|
29320
|
+
*
|
|
29321
|
+
* @returns The removed action or `null`
|
|
29322
|
+
*/
|
|
29323
|
+
removeAction(
|
|
29324
|
+
/**
|
|
29325
|
+
* The action to remove or its index or id
|
|
29326
|
+
*/
|
|
29327
|
+
vAction: int | string | Control
|
|
29328
|
+
): Control | null;
|
|
29329
|
+
/**
|
|
29330
|
+
* Removes all the controls from the aggregation {@link #getActions actions}.
|
|
29331
|
+
*
|
|
29332
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
29333
|
+
*
|
|
29334
|
+
* @since 1.139
|
|
29335
|
+
*
|
|
29336
|
+
* @returns An array of the removed elements (might be empty)
|
|
29337
|
+
*/
|
|
29338
|
+
removeAllActions(): Control[];
|
|
29156
29339
|
/**
|
|
29157
29340
|
* Sets a new value for property {@link #getAriaLabelForPicture ariaLabelForPicture}.
|
|
29158
29341
|
*
|
|
@@ -29588,6 +29771,16 @@ declare module "sap/m/FeedInput" {
|
|
|
29588
29771
|
*/
|
|
29589
29772
|
ariaLabelForPicture?: string | PropertyBindingInfo;
|
|
29590
29773
|
|
|
29774
|
+
/**
|
|
29775
|
+
* Defines the actions that are displayed next to the text area. These buttons can be used to trigger actions,
|
|
29776
|
+
* such as attaching a file. This is a {@link sap.m.Button} If the actions are not set, the post button
|
|
29777
|
+
* is displayed as the last control in the feed input. **Note:** Only `sap.m.Button` is supported for this
|
|
29778
|
+
* aggregation. If another control is provided, an error is logged and actions are ignored.
|
|
29779
|
+
*
|
|
29780
|
+
* @since 1.139
|
|
29781
|
+
*/
|
|
29782
|
+
actions?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
|
|
29783
|
+
|
|
29591
29784
|
/**
|
|
29592
29785
|
* The Post event is triggered when the user has entered a value and pressed the post button. After firing
|
|
29593
29786
|
* this event, the value is reset.
|
|
@@ -29620,8 +29813,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29620
29813
|
$ListItemBaseSettings,
|
|
29621
29814
|
} from "sap/m/ListItemBase";
|
|
29622
29815
|
|
|
29623
|
-
import FeedListItemAction from "sap/m/FeedListItemAction";
|
|
29624
|
-
|
|
29625
29816
|
import { URI } from "sap/ui/core/library";
|
|
29626
29817
|
|
|
29627
29818
|
import { LinkConversion, ListType } from "sap/m/library";
|
|
@@ -29632,17 +29823,16 @@ declare module "sap/m/FeedListItem" {
|
|
|
29632
29823
|
|
|
29633
29824
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
29634
29825
|
|
|
29635
|
-
import {
|
|
29636
|
-
PropertyBindingInfo,
|
|
29637
|
-
AggregationBindingInfo,
|
|
29638
|
-
} from "sap/ui/base/ManagedObject";
|
|
29826
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
29639
29827
|
|
|
29640
29828
|
import Event from "sap/ui/base/Event";
|
|
29641
29829
|
|
|
29642
29830
|
/**
|
|
29643
29831
|
* The control provides a set of properties for text, sender information, time stamp. Beginning with release
|
|
29644
29832
|
* 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
|
|
29833
|
+
* with release 1.44, sap.m.FormattedText was introduced which allows html formatted text to be displayed.
|
|
29834
|
+
* The `actions` aggregation must contain instances of {@link sap.m.FeedListItemAction} in order to display
|
|
29835
|
+
* them in the action sheet.
|
|
29646
29836
|
*
|
|
29647
29837
|
* @since 1.12
|
|
29648
29838
|
*/
|
|
@@ -29709,19 +29899,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29709
29899
|
* @returns Metadata object describing this class
|
|
29710
29900
|
*/
|
|
29711
29901
|
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
29902
|
/**
|
|
29726
29903
|
* Attaches event handler `fnFunction` to the {@link #event:iconPress iconPress} event of this `sap.m.FeedListItem`.
|
|
29727
29904
|
*
|
|
@@ -29816,14 +29993,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29816
29993
|
*/
|
|
29817
29994
|
oListener?: object
|
|
29818
29995
|
): 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
29996
|
/**
|
|
29828
29997
|
* Detaches event handler `fnFunction` from the {@link #event:iconPress iconPress} event of this `sap.m.FeedListItem`.
|
|
29829
29998
|
*
|
|
@@ -29886,14 +30055,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
29886
30055
|
*/
|
|
29887
30056
|
mParameters?: FeedListItem$SenderPressEventParameters
|
|
29888
30057
|
): 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
30058
|
/**
|
|
29898
30059
|
* Gets current value of property {@link #getActiveIcon activeIcon}.
|
|
29899
30060
|
*
|
|
@@ -30110,62 +30271,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
30110
30271
|
* @returns Value of property `timestamp`
|
|
30111
30272
|
*/
|
|
30112
30273
|
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
30274
|
/**
|
|
30170
30275
|
* Sets a new value for property {@link #getActiveIcon activeIcon}.
|
|
30171
30276
|
*
|
|
@@ -30670,17 +30775,6 @@ declare module "sap/m/FeedListItem" {
|
|
|
30670
30775
|
*/
|
|
30671
30776
|
disableStyleAttribute?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
30672
30777
|
|
|
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
30778
|
/**
|
|
30685
30779
|
* Event is fired when name of the sender is pressed.
|
|
30686
30780
|
*/
|
|
@@ -30742,12 +30836,13 @@ declare module "sap/m/FeedListItem" {
|
|
|
30742
30836
|
}
|
|
30743
30837
|
|
|
30744
30838
|
declare module "sap/m/FeedListItemAction" {
|
|
30745
|
-
import {
|
|
30839
|
+
import {
|
|
30840
|
+
default as ListItemActionBase,
|
|
30841
|
+
$ListItemActionBaseSettings,
|
|
30842
|
+
} from "sap/m/ListItemActionBase";
|
|
30746
30843
|
|
|
30747
30844
|
import Event from "sap/ui/base/Event";
|
|
30748
30845
|
|
|
30749
|
-
import { URI } from "sap/ui/core/library";
|
|
30750
|
-
|
|
30751
30846
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
30752
30847
|
|
|
30753
30848
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -30757,7 +30852,7 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30757
30852
|
*
|
|
30758
30853
|
* @since 1.52.0
|
|
30759
30854
|
*/
|
|
30760
|
-
export default class FeedListItemAction extends
|
|
30855
|
+
export default class FeedListItemAction extends ListItemActionBase {
|
|
30761
30856
|
/**
|
|
30762
30857
|
* Constructor for a new FeedListItemAction.
|
|
30763
30858
|
*
|
|
@@ -30793,7 +30888,7 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30793
30888
|
* Creates a new subclass of class sap.m.FeedListItemAction with name `sClassName` and enriches it with
|
|
30794
30889
|
* the information contained in `oClassInfo`.
|
|
30795
30890
|
*
|
|
30796
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.
|
|
30891
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.m.ListItemActionBase.extend}.
|
|
30797
30892
|
*
|
|
30798
30893
|
*
|
|
30799
30894
|
* @returns Created class / constructor function
|
|
@@ -30910,15 +31005,6 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30910
31005
|
* @returns Value of property `enabled`
|
|
30911
31006
|
*/
|
|
30912
31007
|
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
31008
|
/**
|
|
30923
31009
|
* Gets current value of property {@link #getKey key}.
|
|
30924
31010
|
*
|
|
@@ -30930,28 +31016,6 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30930
31016
|
* @returns Value of property `key`
|
|
30931
31017
|
*/
|
|
30932
31018
|
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
31019
|
/**
|
|
30956
31020
|
* Sets a new value for property {@link #getEnabled enabled}.
|
|
30957
31021
|
*
|
|
@@ -30971,22 +31035,6 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
30971
31035
|
*/
|
|
30972
31036
|
bEnabled?: boolean
|
|
30973
31037
|
): 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
31038
|
/**
|
|
30991
31039
|
* Sets a new value for property {@link #getKey key}.
|
|
30992
31040
|
*
|
|
@@ -31005,67 +31053,17 @@ declare module "sap/m/FeedListItemAction" {
|
|
|
31005
31053
|
*/
|
|
31006
31054
|
sKey?: string
|
|
31007
31055
|
): 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
31056
|
}
|
|
31045
31057
|
/**
|
|
31046
31058
|
* Describes the settings that can be provided to the FeedListItemAction constructor.
|
|
31047
31059
|
*/
|
|
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
|
-
|
|
31060
|
+
export interface $FeedListItemActionSettings
|
|
31061
|
+
extends $ListItemActionBaseSettings {
|
|
31059
31062
|
/**
|
|
31060
31063
|
* The key of the item.
|
|
31061
31064
|
*/
|
|
31062
31065
|
key?: string | PropertyBindingInfo;
|
|
31063
31066
|
|
|
31064
|
-
/**
|
|
31065
|
-
* Hides or shows a button on the UI.
|
|
31066
|
-
*/
|
|
31067
|
-
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
31068
|
-
|
|
31069
31067
|
/**
|
|
31070
31068
|
* Enables or disables a button on the UI. All buttons are enabled by default. Disabled buttons are colored
|
|
31071
31069
|
* differently as per the theme of the UI.
|
|
@@ -35065,8 +35063,8 @@ declare module "sap/m/GroupHeaderListItem" {
|
|
|
35065
35063
|
|
|
35066
35064
|
/**
|
|
35067
35065
|
* `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
|
-
*
|
|
35066
|
+
* in `sap.m.List` and `sap.m.Table`. **Note:** The inherited properties `unread`, `selected`, `counter`,
|
|
35067
|
+
* the `press` event, and the `actions` aggregation from `sap.m.ListItemBase` are not supported.
|
|
35070
35068
|
*
|
|
35071
35069
|
* There are the following known restrictions:
|
|
35072
35070
|
* - When a list is manually populated with items and groups without using data binding, changes to the
|
|
@@ -39472,6 +39470,21 @@ declare module "sap/m/IllustratedMessage" {
|
|
|
39472
39470
|
* @returns Value of property `ariaTitleLevel`
|
|
39473
39471
|
*/
|
|
39474
39472
|
getAriaTitleLevel(): TitleLevel;
|
|
39473
|
+
/**
|
|
39474
|
+
* Gets current value of property {@link #getDecorative decorative}.
|
|
39475
|
+
*
|
|
39476
|
+
* Defines whether the illustration is decorative.
|
|
39477
|
+
*
|
|
39478
|
+
* When set to true, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG
|
|
39479
|
+
* element.
|
|
39480
|
+
*
|
|
39481
|
+
* Default value is `false`.
|
|
39482
|
+
*
|
|
39483
|
+
* @experimental As of version 1.138.
|
|
39484
|
+
*
|
|
39485
|
+
* @returns Value of property `decorative`
|
|
39486
|
+
*/
|
|
39487
|
+
getDecorative(): boolean;
|
|
39475
39488
|
/**
|
|
39476
39489
|
* Gets current value of property {@link #getDescription description}.
|
|
39477
39490
|
*
|
|
@@ -40031,6 +40044,16 @@ declare module "sap/m/IllustratedMessage" {
|
|
|
40031
40044
|
| PropertyBindingInfo
|
|
40032
40045
|
| `{${string}}`;
|
|
40033
40046
|
|
|
40047
|
+
/**
|
|
40048
|
+
* Defines whether the illustration is decorative.
|
|
40049
|
+
*
|
|
40050
|
+
* When set to true, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG
|
|
40051
|
+
* element.
|
|
40052
|
+
*
|
|
40053
|
+
* @experimental As of version 1.138.
|
|
40054
|
+
*/
|
|
40055
|
+
decorative?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
40056
|
+
|
|
40034
40057
|
/**
|
|
40035
40058
|
* Defines the controls placed below the description as additional content.
|
|
40036
40059
|
*
|
|
@@ -40630,6 +40653,18 @@ declare module "sap/m/Illustration" {
|
|
|
40630
40653
|
* @since 1.106.0
|
|
40631
40654
|
*/
|
|
40632
40655
|
getAriaLabelledBy(): ID[];
|
|
40656
|
+
/**
|
|
40657
|
+
* Gets current value of property {@link #getDecorative decorative}.
|
|
40658
|
+
*
|
|
40659
|
+
* Defines whether the illustration is decorative.
|
|
40660
|
+
*
|
|
40661
|
+
* Default value is `false`.
|
|
40662
|
+
*
|
|
40663
|
+
* @experimental As of version 1.138.
|
|
40664
|
+
*
|
|
40665
|
+
* @returns Value of property `decorative`
|
|
40666
|
+
*/
|
|
40667
|
+
getDecorative(): boolean;
|
|
40633
40668
|
/**
|
|
40634
40669
|
* Gets current value of property {@link #getMedia media}.
|
|
40635
40670
|
*
|
|
@@ -40702,6 +40737,25 @@ declare module "sap/m/Illustration" {
|
|
|
40702
40737
|
*/
|
|
40703
40738
|
vAriaLabelledBy: int | ID | Control
|
|
40704
40739
|
): ID | null;
|
|
40740
|
+
/**
|
|
40741
|
+
* Sets a new value for property {@link #getDecorative decorative}.
|
|
40742
|
+
*
|
|
40743
|
+
* Defines whether the illustration is decorative.
|
|
40744
|
+
*
|
|
40745
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
40746
|
+
*
|
|
40747
|
+
* Default value is `false`.
|
|
40748
|
+
*
|
|
40749
|
+
* @experimental As of version 1.138.
|
|
40750
|
+
*
|
|
40751
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
40752
|
+
*/
|
|
40753
|
+
setDecorative(
|
|
40754
|
+
/**
|
|
40755
|
+
* New value for property `decorative`
|
|
40756
|
+
*/
|
|
40757
|
+
bDecorative?: boolean
|
|
40758
|
+
): this;
|
|
40705
40759
|
/**
|
|
40706
40760
|
* Sets a new value for property {@link #getMedia media}.
|
|
40707
40761
|
*
|
|
@@ -40779,6 +40833,13 @@ declare module "sap/m/Illustration" {
|
|
|
40779
40833
|
*/
|
|
40780
40834
|
type?: string | PropertyBindingInfo;
|
|
40781
40835
|
|
|
40836
|
+
/**
|
|
40837
|
+
* Defines whether the illustration is decorative.
|
|
40838
|
+
*
|
|
40839
|
+
* @experimental As of version 1.138.
|
|
40840
|
+
*/
|
|
40841
|
+
decorative?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
40842
|
+
|
|
40782
40843
|
/**
|
|
40783
40844
|
* Association to controls / IDs which label those controls (see WAI-ARIA attribute aria-labelledBy).
|
|
40784
40845
|
*
|
|
@@ -50092,6 +50153,8 @@ declare module "sap/m/ListBase" {
|
|
|
50092
50153
|
|
|
50093
50154
|
import Event from "sap/ui/base/Event";
|
|
50094
50155
|
|
|
50156
|
+
import ListItemAction from "sap/m/ListItemAction";
|
|
50157
|
+
|
|
50095
50158
|
/**
|
|
50096
50159
|
* The `sap.m.ListBase` control provides a base functionality of the `sap.m.List` and `sap.m.Table` controls.
|
|
50097
50160
|
* Selection, deletion, unread states and inset style are also maintained in `sap.m.ListBase`.
|
|
@@ -50402,6 +50465,57 @@ declare module "sap/m/ListBase" {
|
|
|
50402
50465
|
*/
|
|
50403
50466
|
oListener?: object
|
|
50404
50467
|
): this;
|
|
50468
|
+
/**
|
|
50469
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemActionPress itemActionPress} event of this
|
|
50470
|
+
* `sap.m.ListBase`.
|
|
50471
|
+
*
|
|
50472
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
50473
|
+
* otherwise it will be bound to this `sap.m.ListBase` itself.
|
|
50474
|
+
*
|
|
50475
|
+
* Fired when an item action is pressed.
|
|
50476
|
+
*
|
|
50477
|
+
* @since 1.137
|
|
50478
|
+
*
|
|
50479
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
50480
|
+
*/
|
|
50481
|
+
attachItemActionPress(
|
|
50482
|
+
/**
|
|
50483
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
50484
|
+
* object when firing the event
|
|
50485
|
+
*/
|
|
50486
|
+
oData: object,
|
|
50487
|
+
/**
|
|
50488
|
+
* The function to be called when the event occurs
|
|
50489
|
+
*/
|
|
50490
|
+
fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
|
|
50491
|
+
/**
|
|
50492
|
+
* Context object to call the event handler with. Defaults to this `sap.m.ListBase` itself
|
|
50493
|
+
*/
|
|
50494
|
+
oListener?: object
|
|
50495
|
+
): this;
|
|
50496
|
+
/**
|
|
50497
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemActionPress itemActionPress} event of this
|
|
50498
|
+
* `sap.m.ListBase`.
|
|
50499
|
+
*
|
|
50500
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
50501
|
+
* otherwise it will be bound to this `sap.m.ListBase` itself.
|
|
50502
|
+
*
|
|
50503
|
+
* Fired when an item action is pressed.
|
|
50504
|
+
*
|
|
50505
|
+
* @since 1.137
|
|
50506
|
+
*
|
|
50507
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
50508
|
+
*/
|
|
50509
|
+
attachItemActionPress(
|
|
50510
|
+
/**
|
|
50511
|
+
* The function to be called when the event occurs
|
|
50512
|
+
*/
|
|
50513
|
+
fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
|
|
50514
|
+
/**
|
|
50515
|
+
* Context object to call the event handler with. Defaults to this `sap.m.ListBase` itself
|
|
50516
|
+
*/
|
|
50517
|
+
oListener?: object
|
|
50518
|
+
): this;
|
|
50405
50519
|
/**
|
|
50406
50520
|
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.m.ListBase`.
|
|
50407
50521
|
*
|
|
@@ -50855,6 +50969,26 @@ declare module "sap/m/ListBase" {
|
|
|
50855
50969
|
*/
|
|
50856
50970
|
oListener?: object
|
|
50857
50971
|
): this;
|
|
50972
|
+
/**
|
|
50973
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemActionPress itemActionPress} event of
|
|
50974
|
+
* this `sap.m.ListBase`.
|
|
50975
|
+
*
|
|
50976
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
50977
|
+
*
|
|
50978
|
+
* @since 1.137
|
|
50979
|
+
*
|
|
50980
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
50981
|
+
*/
|
|
50982
|
+
detachItemActionPress(
|
|
50983
|
+
/**
|
|
50984
|
+
* The function to be called, when the event occurs
|
|
50985
|
+
*/
|
|
50986
|
+
fnFunction: (p1: ListBase$ItemActionPressEvent) => void,
|
|
50987
|
+
/**
|
|
50988
|
+
* Context object on which the given function had to be called
|
|
50989
|
+
*/
|
|
50990
|
+
oListener?: object
|
|
50991
|
+
): this;
|
|
50858
50992
|
/**
|
|
50859
50993
|
* Detaches event handler `fnFunction` from the {@link #event:itemPress itemPress} event of this `sap.m.ListBase`.
|
|
50860
50994
|
*
|
|
@@ -51031,6 +51165,20 @@ declare module "sap/m/ListBase" {
|
|
|
51031
51165
|
*/
|
|
51032
51166
|
mParameters?: ListBase$GrowingStartedEventParameters
|
|
51033
51167
|
): this;
|
|
51168
|
+
/**
|
|
51169
|
+
* Fires event {@link #event:itemActionPress itemActionPress} to attached listeners.
|
|
51170
|
+
*
|
|
51171
|
+
* @since 1.137
|
|
51172
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
51173
|
+
*
|
|
51174
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
51175
|
+
*/
|
|
51176
|
+
fireItemActionPress(
|
|
51177
|
+
/**
|
|
51178
|
+
* Parameters to pass along with the event
|
|
51179
|
+
*/
|
|
51180
|
+
mParameters?: ListBase$ItemActionPressEventParameters
|
|
51181
|
+
): this;
|
|
51034
51182
|
/**
|
|
51035
51183
|
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
51036
51184
|
*
|
|
@@ -51316,6 +51464,25 @@ declare module "sap/m/ListBase" {
|
|
|
51316
51464
|
* @returns Value of property `inset`
|
|
51317
51465
|
*/
|
|
51318
51466
|
getInset(): boolean;
|
|
51467
|
+
/**
|
|
51468
|
+
* Gets current value of property {@link #getItemActionCount itemActionCount}.
|
|
51469
|
+
*
|
|
51470
|
+
* Defines the maximum number of item actions.
|
|
51471
|
+
*
|
|
51472
|
+
* If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
|
|
51473
|
+
* providing access to the additional actions.
|
|
51474
|
+
*
|
|
51475
|
+
* **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
|
|
51476
|
+
* {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
|
|
51477
|
+
* Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
|
|
51478
|
+
*
|
|
51479
|
+
* Default value is `-1`.
|
|
51480
|
+
*
|
|
51481
|
+
* @since 1.137
|
|
51482
|
+
*
|
|
51483
|
+
* @returns Value of property `itemActionCount`
|
|
51484
|
+
*/
|
|
51485
|
+
getItemActionCount(): int;
|
|
51319
51486
|
/**
|
|
51320
51487
|
* Returns the ItemNavigation delegate of the list
|
|
51321
51488
|
*
|
|
@@ -51975,6 +52142,32 @@ declare module "sap/m/ListBase" {
|
|
|
51975
52142
|
*/
|
|
51976
52143
|
bInset?: boolean
|
|
51977
52144
|
): this;
|
|
52145
|
+
/**
|
|
52146
|
+
* Sets a new value for property {@link #getItemActionCount itemActionCount}.
|
|
52147
|
+
*
|
|
52148
|
+
* Defines the maximum number of item actions.
|
|
52149
|
+
*
|
|
52150
|
+
* If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
|
|
52151
|
+
* providing access to the additional actions.
|
|
52152
|
+
*
|
|
52153
|
+
* **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
|
|
52154
|
+
* {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
|
|
52155
|
+
* Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
|
|
52156
|
+
*
|
|
52157
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
52158
|
+
*
|
|
52159
|
+
* Default value is `-1`.
|
|
52160
|
+
*
|
|
52161
|
+
* @since 1.137
|
|
52162
|
+
*
|
|
52163
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
52164
|
+
*/
|
|
52165
|
+
setItemActionCount(
|
|
52166
|
+
/**
|
|
52167
|
+
* New value for property `itemActionCount`
|
|
52168
|
+
*/
|
|
52169
|
+
iItemActionCount?: int
|
|
52170
|
+
): this;
|
|
51978
52171
|
/**
|
|
51979
52172
|
* Sets a new value for property {@link #getKeyboardMode keyboardMode}.
|
|
51980
52173
|
*
|
|
@@ -52541,6 +52734,20 @@ declare module "sap/m/ListBase" {
|
|
|
52541
52734
|
| PropertyBindingInfo
|
|
52542
52735
|
| `{${string}}`;
|
|
52543
52736
|
|
|
52737
|
+
/**
|
|
52738
|
+
* Defines the maximum number of item actions.
|
|
52739
|
+
*
|
|
52740
|
+
* If the number of item actions exceeds the `itemActionCount` property value, an overflow button will appear,
|
|
52741
|
+
* providing access to the additional actions.
|
|
52742
|
+
*
|
|
52743
|
+
* **Note:** Only values between `0-2` enables the use of the new `actions` aggregation. When enabled, the
|
|
52744
|
+
* {@link sap.m.ListMode Delete} mode and the {@link sap.m.ListType Detail} list item type have no effect.
|
|
52745
|
+
* Instead, dedicated actions of {@link sap.m.ListItemActionType type} `Delete` or `Edit` should be used.
|
|
52746
|
+
*
|
|
52747
|
+
* @since 1.137
|
|
52748
|
+
*/
|
|
52749
|
+
itemActionCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
52750
|
+
|
|
52544
52751
|
/**
|
|
52545
52752
|
* Defines the items contained within this control.
|
|
52546
52753
|
*/
|
|
@@ -52674,6 +52881,13 @@ declare module "sap/m/ListBase" {
|
|
|
52674
52881
|
beforeOpenContextMenu?: (
|
|
52675
52882
|
oEvent: ListBase$BeforeOpenContextMenuEvent
|
|
52676
52883
|
) => void;
|
|
52884
|
+
|
|
52885
|
+
/**
|
|
52886
|
+
* Fired when an item action is pressed.
|
|
52887
|
+
*
|
|
52888
|
+
* @since 1.137
|
|
52889
|
+
*/
|
|
52890
|
+
itemActionPress?: (oEvent: ListBase$ItemActionPressEvent) => void;
|
|
52677
52891
|
}
|
|
52678
52892
|
|
|
52679
52893
|
/**
|
|
@@ -52766,6 +52980,29 @@ declare module "sap/m/ListBase" {
|
|
|
52766
52980
|
ListBase
|
|
52767
52981
|
>;
|
|
52768
52982
|
|
|
52983
|
+
/**
|
|
52984
|
+
* Parameters of the ListBase#itemActionPress event.
|
|
52985
|
+
*/
|
|
52986
|
+
export interface ListBase$ItemActionPressEventParameters {
|
|
52987
|
+
/**
|
|
52988
|
+
* The list item action that fired the event
|
|
52989
|
+
*/
|
|
52990
|
+
itemAction?: ListItemAction;
|
|
52991
|
+
|
|
52992
|
+
/**
|
|
52993
|
+
* The list item in which the action was performed
|
|
52994
|
+
*/
|
|
52995
|
+
listItem?: ListItemBase;
|
|
52996
|
+
}
|
|
52997
|
+
|
|
52998
|
+
/**
|
|
52999
|
+
* Event object of the ListBase#itemActionPress event.
|
|
53000
|
+
*/
|
|
53001
|
+
export type ListBase$ItemActionPressEvent = Event<
|
|
53002
|
+
ListBase$ItemActionPressEventParameters,
|
|
53003
|
+
ListBase
|
|
53004
|
+
>;
|
|
53005
|
+
|
|
52769
53006
|
/**
|
|
52770
53007
|
* Parameters of the ListBase#itemPress event.
|
|
52771
53008
|
*/
|
|
@@ -52937,9 +53174,291 @@ declare module "sap/m/ListBase" {
|
|
|
52937
53174
|
>;
|
|
52938
53175
|
}
|
|
52939
53176
|
|
|
53177
|
+
declare module "sap/m/ListItemAction" {
|
|
53178
|
+
import Metadata from "sap/ui/base/Metadata";
|
|
53179
|
+
|
|
53180
|
+
import { ListItemActionType } from "sap/m/library";
|
|
53181
|
+
|
|
53182
|
+
/**
|
|
53183
|
+
* The `sap.m.ListItemAction` control provides the option to define actions directly related to list items.
|
|
53184
|
+
*
|
|
53185
|
+
* @since 1.137
|
|
53186
|
+
*/
|
|
53187
|
+
export default class ListItemAction
|
|
53188
|
+
extends /* was: sap.ui.core.ListItemActionBase */ Object
|
|
53189
|
+
{
|
|
53190
|
+
/**
|
|
53191
|
+
* Constructor for a new action for list items.
|
|
53192
|
+
*
|
|
53193
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
53194
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53195
|
+
* of the syntax of the settings object.
|
|
53196
|
+
*/
|
|
53197
|
+
constructor(
|
|
53198
|
+
/**
|
|
53199
|
+
* id for the new control, generated automatically if no id is given
|
|
53200
|
+
*/
|
|
53201
|
+
sId?: string,
|
|
53202
|
+
/**
|
|
53203
|
+
* Initial settings for the new control
|
|
53204
|
+
*/
|
|
53205
|
+
mSettings?: object
|
|
53206
|
+
);
|
|
53207
|
+
|
|
53208
|
+
/**
|
|
53209
|
+
* Creates a new subclass of class sap.m.ListItemAction with name `sClassName` and enriches it with the
|
|
53210
|
+
* information contained in `oClassInfo`.
|
|
53211
|
+
*
|
|
53212
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.ListItemActionBase.extend}.
|
|
53213
|
+
*
|
|
53214
|
+
*
|
|
53215
|
+
* @returns Created class / constructor function
|
|
53216
|
+
*/
|
|
53217
|
+
static extend<T extends Record<string, unknown>>(
|
|
53218
|
+
/**
|
|
53219
|
+
* Name of the class being created
|
|
53220
|
+
*/
|
|
53221
|
+
sClassName: string,
|
|
53222
|
+
/**
|
|
53223
|
+
* Object literal with information about the class
|
|
53224
|
+
*/
|
|
53225
|
+
oClassInfo?: sap.ClassInfo<T, ListItemAction>,
|
|
53226
|
+
/**
|
|
53227
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
53228
|
+
* used by this class
|
|
53229
|
+
*/
|
|
53230
|
+
FNMetaImpl?: Function
|
|
53231
|
+
): Function;
|
|
53232
|
+
/**
|
|
53233
|
+
* Returns a metadata object for class sap.m.ListItemAction.
|
|
53234
|
+
*
|
|
53235
|
+
*
|
|
53236
|
+
* @returns Metadata object describing this class
|
|
53237
|
+
*/
|
|
53238
|
+
static getMetadata(): Metadata;
|
|
53239
|
+
/**
|
|
53240
|
+
* Gets current value of property {@link #getType type}.
|
|
53241
|
+
*
|
|
53242
|
+
* Defines the type of the action.
|
|
53243
|
+
*
|
|
53244
|
+
* Default value is `Custom`.
|
|
53245
|
+
*
|
|
53246
|
+
*
|
|
53247
|
+
* @returns Value of property `type`
|
|
53248
|
+
*/
|
|
53249
|
+
getType(): ListItemActionType;
|
|
53250
|
+
/**
|
|
53251
|
+
* Sets a new value for property {@link #getType type}.
|
|
53252
|
+
*
|
|
53253
|
+
* Defines the type of the action.
|
|
53254
|
+
*
|
|
53255
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53256
|
+
*
|
|
53257
|
+
* Default value is `Custom`.
|
|
53258
|
+
*
|
|
53259
|
+
*
|
|
53260
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53261
|
+
*/
|
|
53262
|
+
setType(
|
|
53263
|
+
/**
|
|
53264
|
+
* New value for property `type`
|
|
53265
|
+
*/
|
|
53266
|
+
sType?: ListItemActionType | keyof typeof ListItemActionType
|
|
53267
|
+
): this;
|
|
53268
|
+
}
|
|
53269
|
+
}
|
|
53270
|
+
|
|
53271
|
+
declare module "sap/m/ListItemActionBase" {
|
|
53272
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
53273
|
+
|
|
53274
|
+
import { URI } from "sap/ui/core/library";
|
|
53275
|
+
|
|
53276
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
53277
|
+
|
|
53278
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
53279
|
+
|
|
53280
|
+
/**
|
|
53281
|
+
* The `sap.m.ListItemActionBase` class serves as a foundation for list item actions.
|
|
53282
|
+
*
|
|
53283
|
+
* @since 1.137
|
|
53284
|
+
*/
|
|
53285
|
+
export default abstract class ListItemActionBase extends UI5Element {
|
|
53286
|
+
/**
|
|
53287
|
+
* Constructor for a new action for list items.
|
|
53288
|
+
*
|
|
53289
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
53290
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53291
|
+
* of the syntax of the settings object.
|
|
53292
|
+
*/
|
|
53293
|
+
constructor(
|
|
53294
|
+
/**
|
|
53295
|
+
* Initial settings for the new action
|
|
53296
|
+
*/
|
|
53297
|
+
mSettings?: $ListItemActionBaseSettings
|
|
53298
|
+
);
|
|
53299
|
+
/**
|
|
53300
|
+
* Constructor for a new action for list items.
|
|
53301
|
+
*
|
|
53302
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
53303
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53304
|
+
* of the syntax of the settings object.
|
|
53305
|
+
*/
|
|
53306
|
+
constructor(
|
|
53307
|
+
/**
|
|
53308
|
+
* id for the new control, generated automatically if no id is given
|
|
53309
|
+
*/
|
|
53310
|
+
sId?: string,
|
|
53311
|
+
/**
|
|
53312
|
+
* Initial settings for the new action
|
|
53313
|
+
*/
|
|
53314
|
+
mSettings?: $ListItemActionBaseSettings
|
|
53315
|
+
);
|
|
53316
|
+
|
|
53317
|
+
/**
|
|
53318
|
+
* Creates a new subclass of class sap.m.ListItemActionBase with name `sClassName` and enriches it with
|
|
53319
|
+
* the information contained in `oClassInfo`.
|
|
53320
|
+
*
|
|
53321
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
53322
|
+
*
|
|
53323
|
+
*
|
|
53324
|
+
* @returns Created class / constructor function
|
|
53325
|
+
*/
|
|
53326
|
+
static extend<T extends Record<string, unknown>>(
|
|
53327
|
+
/**
|
|
53328
|
+
* Name of the class being created
|
|
53329
|
+
*/
|
|
53330
|
+
sClassName: string,
|
|
53331
|
+
/**
|
|
53332
|
+
* Object literal with information about the class
|
|
53333
|
+
*/
|
|
53334
|
+
oClassInfo?: sap.ClassInfo<T, ListItemActionBase>,
|
|
53335
|
+
/**
|
|
53336
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
53337
|
+
* used by this class
|
|
53338
|
+
*/
|
|
53339
|
+
FNMetaImpl?: Function
|
|
53340
|
+
): Function;
|
|
53341
|
+
/**
|
|
53342
|
+
* Returns a metadata object for class sap.m.ListItemActionBase.
|
|
53343
|
+
*
|
|
53344
|
+
*
|
|
53345
|
+
* @returns Metadata object describing this class
|
|
53346
|
+
*/
|
|
53347
|
+
static getMetadata(): ElementMetadata;
|
|
53348
|
+
/**
|
|
53349
|
+
* Gets current value of property {@link #getIcon icon}.
|
|
53350
|
+
*
|
|
53351
|
+
* Defines the icon of the action.
|
|
53352
|
+
*
|
|
53353
|
+
* Default value is `empty string`.
|
|
53354
|
+
*
|
|
53355
|
+
*
|
|
53356
|
+
* @returns Value of property `icon`
|
|
53357
|
+
*/
|
|
53358
|
+
getIcon(): URI;
|
|
53359
|
+
/**
|
|
53360
|
+
* Gets current value of property {@link #getText text}.
|
|
53361
|
+
*
|
|
53362
|
+
* Defines the text of the action.
|
|
53363
|
+
*
|
|
53364
|
+
* Default value is `empty string`.
|
|
53365
|
+
*
|
|
53366
|
+
*
|
|
53367
|
+
* @returns Value of property `text`
|
|
53368
|
+
*/
|
|
53369
|
+
getText(): string;
|
|
53370
|
+
/**
|
|
53371
|
+
* Gets current value of property {@link #getVisible visible}.
|
|
53372
|
+
*
|
|
53373
|
+
* Defines the visibility of the action.
|
|
53374
|
+
*
|
|
53375
|
+
* Default value is `true`.
|
|
53376
|
+
*
|
|
53377
|
+
*
|
|
53378
|
+
* @returns Value of property `visible`
|
|
53379
|
+
*/
|
|
53380
|
+
getVisible(): boolean;
|
|
53381
|
+
/**
|
|
53382
|
+
* Sets a new value for property {@link #getIcon icon}.
|
|
53383
|
+
*
|
|
53384
|
+
* Defines the icon of the action.
|
|
53385
|
+
*
|
|
53386
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53387
|
+
*
|
|
53388
|
+
* Default value is `empty string`.
|
|
53389
|
+
*
|
|
53390
|
+
*
|
|
53391
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53392
|
+
*/
|
|
53393
|
+
setIcon(
|
|
53394
|
+
/**
|
|
53395
|
+
* New value for property `icon`
|
|
53396
|
+
*/
|
|
53397
|
+
sIcon?: URI
|
|
53398
|
+
): this;
|
|
53399
|
+
/**
|
|
53400
|
+
* Sets a new value for property {@link #getText text}.
|
|
53401
|
+
*
|
|
53402
|
+
* Defines the text of the action.
|
|
53403
|
+
*
|
|
53404
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53405
|
+
*
|
|
53406
|
+
* Default value is `empty string`.
|
|
53407
|
+
*
|
|
53408
|
+
*
|
|
53409
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53410
|
+
*/
|
|
53411
|
+
setText(
|
|
53412
|
+
/**
|
|
53413
|
+
* New value for property `text`
|
|
53414
|
+
*/
|
|
53415
|
+
sText?: string
|
|
53416
|
+
): this;
|
|
53417
|
+
/**
|
|
53418
|
+
* Sets a new value for property {@link #getVisible visible}.
|
|
53419
|
+
*
|
|
53420
|
+
* Defines the visibility of the action.
|
|
53421
|
+
*
|
|
53422
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
53423
|
+
*
|
|
53424
|
+
* Default value is `true`.
|
|
53425
|
+
*
|
|
53426
|
+
*
|
|
53427
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53428
|
+
*/
|
|
53429
|
+
setVisible(
|
|
53430
|
+
/**
|
|
53431
|
+
* New value for property `visible`
|
|
53432
|
+
*/
|
|
53433
|
+
bVisible?: boolean
|
|
53434
|
+
): this;
|
|
53435
|
+
}
|
|
53436
|
+
/**
|
|
53437
|
+
* Describes the settings that can be provided to the ListItemActionBase constructor.
|
|
53438
|
+
*/
|
|
53439
|
+
export interface $ListItemActionBaseSettings extends $ElementSettings {
|
|
53440
|
+
/**
|
|
53441
|
+
* Defines the icon of the action.
|
|
53442
|
+
*/
|
|
53443
|
+
icon?: URI | PropertyBindingInfo | `{${string}}`;
|
|
53444
|
+
|
|
53445
|
+
/**
|
|
53446
|
+
* Defines the text of the action.
|
|
53447
|
+
*/
|
|
53448
|
+
text?: string | PropertyBindingInfo;
|
|
53449
|
+
|
|
53450
|
+
/**
|
|
53451
|
+
* Defines the visibility of the action.
|
|
53452
|
+
*/
|
|
53453
|
+
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
53454
|
+
}
|
|
53455
|
+
}
|
|
53456
|
+
|
|
52940
53457
|
declare module "sap/m/ListItemBase" {
|
|
52941
53458
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
52942
53459
|
|
|
53460
|
+
import ListItemActionBase from "sap/m/ListItemActionBase";
|
|
53461
|
+
|
|
52943
53462
|
import { ID } from "sap/ui/core/library";
|
|
52944
53463
|
|
|
52945
53464
|
import Event from "sap/ui/base/Event";
|
|
@@ -52948,7 +53467,10 @@ declare module "sap/m/ListItemBase" {
|
|
|
52948
53467
|
|
|
52949
53468
|
import { ListType } from "sap/m/library";
|
|
52950
53469
|
|
|
52951
|
-
import {
|
|
53470
|
+
import {
|
|
53471
|
+
PropertyBindingInfo,
|
|
53472
|
+
AggregationBindingInfo,
|
|
53473
|
+
} from "sap/ui/base/ManagedObject";
|
|
52952
53474
|
|
|
52953
53475
|
/**
|
|
52954
53476
|
* ListItemBase contains the base features of all specific list items. **Note:** If not mentioned otherwise
|
|
@@ -53018,6 +53540,19 @@ declare module "sap/m/ListItemBase" {
|
|
|
53018
53540
|
* @returns Metadata object describing this class
|
|
53019
53541
|
*/
|
|
53020
53542
|
static getMetadata(): ElementMetadata;
|
|
53543
|
+
/**
|
|
53544
|
+
* Adds some action to the aggregation {@link #getActions actions}.
|
|
53545
|
+
*
|
|
53546
|
+
* @since 1.137
|
|
53547
|
+
*
|
|
53548
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53549
|
+
*/
|
|
53550
|
+
addAction(
|
|
53551
|
+
/**
|
|
53552
|
+
* The action to add; if empty, nothing is inserted
|
|
53553
|
+
*/
|
|
53554
|
+
oAction: ListItemActionBase
|
|
53555
|
+
): this;
|
|
53021
53556
|
/**
|
|
53022
53557
|
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
53023
53558
|
*
|
|
@@ -53229,6 +53764,14 @@ declare module "sap/m/ListItemBase" {
|
|
|
53229
53764
|
*/
|
|
53230
53765
|
oListener?: object
|
|
53231
53766
|
): this;
|
|
53767
|
+
/**
|
|
53768
|
+
* Destroys all the actions in the aggregation {@link #getActions actions}.
|
|
53769
|
+
*
|
|
53770
|
+
* @since 1.137
|
|
53771
|
+
*
|
|
53772
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
53773
|
+
*/
|
|
53774
|
+
destroyActions(): this;
|
|
53232
53775
|
/**
|
|
53233
53776
|
* Detaches event handler `fnFunction` from the {@link #event:detailPress detailPress} event of this `sap.m.ListItemBase`.
|
|
53234
53777
|
*
|
|
@@ -53357,6 +53900,14 @@ declare module "sap/m/ListItemBase" {
|
|
|
53357
53900
|
*/
|
|
53358
53901
|
mParameters?: object
|
|
53359
53902
|
): this;
|
|
53903
|
+
/**
|
|
53904
|
+
* Gets content of aggregation {@link #getActions actions}.
|
|
53905
|
+
*
|
|
53906
|
+
* Defines the actions contained within this control.
|
|
53907
|
+
*
|
|
53908
|
+
* @since 1.137
|
|
53909
|
+
*/
|
|
53910
|
+
getActions(): ListItemActionBase[];
|
|
53360
53911
|
/**
|
|
53361
53912
|
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
53362
53913
|
*
|
|
@@ -53491,6 +54042,39 @@ declare module "sap/m/ListItemBase" {
|
|
|
53491
54042
|
* @returns Value of property `visible`
|
|
53492
54043
|
*/
|
|
53493
54044
|
getVisible(): boolean;
|
|
54045
|
+
/**
|
|
54046
|
+
* Checks for the provided `sap.m.ListItemActionBase` in the aggregation {@link #getActions actions}. and
|
|
54047
|
+
* returns its index if found or -1 otherwise.
|
|
54048
|
+
*
|
|
54049
|
+
* @since 1.137
|
|
54050
|
+
*
|
|
54051
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
54052
|
+
*/
|
|
54053
|
+
indexOfAction(
|
|
54054
|
+
/**
|
|
54055
|
+
* The action whose index is looked for
|
|
54056
|
+
*/
|
|
54057
|
+
oAction: ListItemActionBase
|
|
54058
|
+
): int;
|
|
54059
|
+
/**
|
|
54060
|
+
* Inserts a action into the aggregation {@link #getActions actions}.
|
|
54061
|
+
*
|
|
54062
|
+
* @since 1.137
|
|
54063
|
+
*
|
|
54064
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
54065
|
+
*/
|
|
54066
|
+
insertAction(
|
|
54067
|
+
/**
|
|
54068
|
+
* The action to insert; if empty, nothing is inserted
|
|
54069
|
+
*/
|
|
54070
|
+
oAction: ListItemActionBase,
|
|
54071
|
+
/**
|
|
54072
|
+
* The `0`-based index the action should be inserted at; for a negative value of `iIndex`, the action is
|
|
54073
|
+
* inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted
|
|
54074
|
+
* at the last position
|
|
54075
|
+
*/
|
|
54076
|
+
iIndex: int
|
|
54077
|
+
): this;
|
|
53494
54078
|
/**
|
|
53495
54079
|
* Returns the state of the item selection as a boolean
|
|
53496
54080
|
*
|
|
@@ -53498,6 +54082,29 @@ declare module "sap/m/ListItemBase" {
|
|
|
53498
54082
|
* method instead.
|
|
53499
54083
|
*/
|
|
53500
54084
|
isSelected(): boolean;
|
|
54085
|
+
/**
|
|
54086
|
+
* Removes a action from the aggregation {@link #getActions actions}.
|
|
54087
|
+
*
|
|
54088
|
+
* @since 1.137
|
|
54089
|
+
*
|
|
54090
|
+
* @returns The removed action or `null`
|
|
54091
|
+
*/
|
|
54092
|
+
removeAction(
|
|
54093
|
+
/**
|
|
54094
|
+
* The action to remove or its index or id
|
|
54095
|
+
*/
|
|
54096
|
+
vAction: int | string | ListItemActionBase
|
|
54097
|
+
): ListItemActionBase | null;
|
|
54098
|
+
/**
|
|
54099
|
+
* Removes all the controls from the aggregation {@link #getActions actions}.
|
|
54100
|
+
*
|
|
54101
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
54102
|
+
*
|
|
54103
|
+
* @since 1.137
|
|
54104
|
+
*
|
|
54105
|
+
* @returns An array of the removed elements (might be empty)
|
|
54106
|
+
*/
|
|
54107
|
+
removeAllActions(): ListItemActionBase[];
|
|
53501
54108
|
/**
|
|
53502
54109
|
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
53503
54110
|
*
|
|
@@ -53752,6 +54359,17 @@ declare module "sap/m/ListItemBase" {
|
|
|
53752
54359
|
*/
|
|
53753
54360
|
navigated?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
53754
54361
|
|
|
54362
|
+
/**
|
|
54363
|
+
* Defines the actions contained within this control.
|
|
54364
|
+
*
|
|
54365
|
+
* @since 1.137
|
|
54366
|
+
*/
|
|
54367
|
+
actions?:
|
|
54368
|
+
| ListItemActionBase[]
|
|
54369
|
+
| ListItemActionBase
|
|
54370
|
+
| AggregationBindingInfo
|
|
54371
|
+
| `{${string}}`;
|
|
54372
|
+
|
|
53755
54373
|
/**
|
|
53756
54374
|
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
53757
54375
|
*
|
|
@@ -54576,18 +55194,9 @@ declare module "sap/m/Menu" {
|
|
|
54576
55194
|
|
|
54577
55195
|
import UI5Element from "sap/ui/core/Element";
|
|
54578
55196
|
|
|
54579
|
-
import Popup from "sap/ui/core/Popup";
|
|
54580
|
-
|
|
54581
|
-
import MenuItem from "sap/m/MenuItem";
|
|
54582
|
-
|
|
54583
55197
|
/**
|
|
54584
55198
|
* The `sap.m.Menu` control represents a hierarchical menu. When opened on mobile devices it occupies the
|
|
54585
55199
|
* 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
55200
|
*/
|
|
54592
55201
|
export default class Menu extends Control implements IContextMenu {
|
|
54593
55202
|
__implements__sap_ui_core_IContextMenu: boolean;
|
|
@@ -54687,7 +55296,7 @@ declare module "sap/m/Menu" {
|
|
|
54687
55296
|
/**
|
|
54688
55297
|
* The function to be called when the event occurs
|
|
54689
55298
|
*/
|
|
54690
|
-
fnFunction: (p1:
|
|
55299
|
+
fnFunction: (p1: Menu$BeforeCloseEvent) => void,
|
|
54691
55300
|
/**
|
|
54692
55301
|
* Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
|
|
54693
55302
|
*/
|
|
@@ -54710,7 +55319,7 @@ declare module "sap/m/Menu" {
|
|
|
54710
55319
|
/**
|
|
54711
55320
|
* The function to be called when the event occurs
|
|
54712
55321
|
*/
|
|
54713
|
-
fnFunction: (p1:
|
|
55322
|
+
fnFunction: (p1: Menu$BeforeCloseEvent) => void,
|
|
54714
55323
|
/**
|
|
54715
55324
|
* Context object to call the event handler with. Defaults to this `sap.m.Menu` itself
|
|
54716
55325
|
*/
|
|
@@ -54826,9 +55435,17 @@ declare module "sap/m/Menu" {
|
|
|
54826
55435
|
oBindingInfo: AggregationBindingInfo
|
|
54827
55436
|
): this;
|
|
54828
55437
|
/**
|
|
54829
|
-
* Closes the `Menu
|
|
55438
|
+
* Closes the `Menu` if the `beforeClose` event isn`t prevented.
|
|
55439
|
+
*
|
|
55440
|
+
*
|
|
55441
|
+
* @returns `this` to allow method chaining
|
|
54830
55442
|
*/
|
|
54831
|
-
close(
|
|
55443
|
+
close(
|
|
55444
|
+
/**
|
|
55445
|
+
* closePopover event
|
|
55446
|
+
*/
|
|
55447
|
+
oEvent: Event
|
|
55448
|
+
): this;
|
|
54832
55449
|
/**
|
|
54833
55450
|
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
54834
55451
|
*
|
|
@@ -54849,7 +55466,7 @@ declare module "sap/m/Menu" {
|
|
|
54849
55466
|
/**
|
|
54850
55467
|
* The function to be called, when the event occurs
|
|
54851
55468
|
*/
|
|
54852
|
-
fnFunction: (p1:
|
|
55469
|
+
fnFunction: (p1: Menu$BeforeCloseEvent) => void,
|
|
54853
55470
|
/**
|
|
54854
55471
|
* Context object on which the given function had to be called
|
|
54855
55472
|
*/
|
|
@@ -54906,7 +55523,7 @@ declare module "sap/m/Menu" {
|
|
|
54906
55523
|
/**
|
|
54907
55524
|
* Parameters to pass along with the event
|
|
54908
55525
|
*/
|
|
54909
|
-
mParameters?:
|
|
55526
|
+
mParameters?: Menu$BeforeCloseEventParameters
|
|
54910
55527
|
): boolean;
|
|
54911
55528
|
/**
|
|
54912
55529
|
* Fires event {@link #event:closed closed} to attached listeners.
|
|
@@ -55006,7 +55623,7 @@ declare module "sap/m/Menu" {
|
|
|
55006
55623
|
*/
|
|
55007
55624
|
openAsContextMenu(
|
|
55008
55625
|
/**
|
|
55009
|
-
* The event object or an object containing offsetX, offsetY values and left, top values
|
|
55626
|
+
* The event object or an object containing offsetX, offsetY values and left, top values for the element's
|
|
55010
55627
|
* position
|
|
55011
55628
|
*/
|
|
55012
55629
|
oEvent: jQuery.Event | object,
|
|
@@ -55017,31 +55634,16 @@ declare module "sap/m/Menu" {
|
|
|
55017
55634
|
): void;
|
|
55018
55635
|
/**
|
|
55019
55636
|
* Opens the `Menu` next to the given control.
|
|
55637
|
+
*
|
|
55638
|
+
*
|
|
55639
|
+
* @returns `this` to allow method chaining
|
|
55020
55640
|
*/
|
|
55021
55641
|
openBy(
|
|
55022
55642
|
/**
|
|
55023
55643
|
* The control that defines the position for the menu
|
|
55024
55644
|
*/
|
|
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;
|
|
55645
|
+
oControl: Control
|
|
55646
|
+
): this;
|
|
55045
55647
|
/**
|
|
55046
55648
|
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
55047
55649
|
*
|
|
@@ -55064,7 +55666,7 @@ declare module "sap/m/Menu" {
|
|
|
55064
55666
|
vItem: int | string | IMenuItem
|
|
55065
55667
|
): IMenuItem | null;
|
|
55066
55668
|
/**
|
|
55067
|
-
* Sets the title of the `Menu
|
|
55669
|
+
* Sets the title of the `Menu` in mobile view.
|
|
55068
55670
|
*
|
|
55069
55671
|
*
|
|
55070
55672
|
* @returns `this` to allow method chaining
|
|
@@ -55113,13 +55715,18 @@ declare module "sap/m/Menu" {
|
|
|
55113
55715
|
*
|
|
55114
55716
|
* @since 1.131
|
|
55115
55717
|
*/
|
|
55116
|
-
beforeClose?: (oEvent:
|
|
55718
|
+
beforeClose?: (oEvent: Menu$BeforeCloseEvent) => void;
|
|
55117
55719
|
}
|
|
55118
55720
|
|
|
55119
55721
|
/**
|
|
55120
55722
|
* Parameters of the Menu#beforeClose event.
|
|
55121
55723
|
*/
|
|
55122
|
-
export interface Menu$BeforeCloseEventParameters {
|
|
55724
|
+
export interface Menu$BeforeCloseEventParameters {
|
|
55725
|
+
/**
|
|
55726
|
+
* The `MenuItem` which was selected (if any).
|
|
55727
|
+
*/
|
|
55728
|
+
item?: IMenuItem;
|
|
55729
|
+
}
|
|
55123
55730
|
|
|
55124
55731
|
/**
|
|
55125
55732
|
* Event object of the Menu#beforeClose event.
|
|
@@ -55146,7 +55753,7 @@ declare module "sap/m/Menu" {
|
|
|
55146
55753
|
/**
|
|
55147
55754
|
* The `MenuItem` which was selected.
|
|
55148
55755
|
*/
|
|
55149
|
-
item?:
|
|
55756
|
+
item?: IMenuItem;
|
|
55150
55757
|
}
|
|
55151
55758
|
|
|
55152
55759
|
/**
|
|
@@ -56038,11 +56645,9 @@ declare module "sap/m/MenuButton" {
|
|
|
56038
56645
|
}
|
|
56039
56646
|
|
|
56040
56647
|
declare module "sap/m/MenuItem" {
|
|
56041
|
-
import { default as
|
|
56042
|
-
|
|
56043
|
-
import { IMenuItem } from "sap/m/library";
|
|
56648
|
+
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
56044
56649
|
|
|
56045
|
-
import
|
|
56650
|
+
import { IMenuItem, IMenuItemBehavior } from "sap/m/library";
|
|
56046
56651
|
|
|
56047
56652
|
import Event from "sap/ui/base/Event";
|
|
56048
56653
|
|
|
@@ -56053,13 +56658,19 @@ declare module "sap/m/MenuItem" {
|
|
|
56053
56658
|
|
|
56054
56659
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
56055
56660
|
|
|
56661
|
+
import { TextDirection } from "sap/ui/core/library";
|
|
56662
|
+
|
|
56056
56663
|
/**
|
|
56057
|
-
* The `MenuItem` control is used for creating items for the `sap.m.Menu`. It is derived from a core `sap.ui.core.
|
|
56664
|
+
* The `MenuItem` control is used for creating items for the `sap.m.Menu`. It is derived from a core `sap.ui.core.Control`.
|
|
56058
56665
|
*
|
|
56059
56666
|
* @since 1.38
|
|
56060
56667
|
*/
|
|
56061
|
-
export default class MenuItem
|
|
56668
|
+
export default class MenuItem
|
|
56669
|
+
extends Control
|
|
56670
|
+
implements IMenuItem, IMenuItemBehavior
|
|
56671
|
+
{
|
|
56062
56672
|
__implements__sap_m_IMenuItem: boolean;
|
|
56673
|
+
__implements__sap_m_IMenuItemBehavior: boolean;
|
|
56063
56674
|
/**
|
|
56064
56675
|
* Constructor for a new `MenuItem`.
|
|
56065
56676
|
*
|
|
@@ -56095,7 +56706,7 @@ declare module "sap/m/MenuItem" {
|
|
|
56095
56706
|
* Creates a new subclass of class sap.m.MenuItem with name `sClassName` and enriches it with the information
|
|
56096
56707
|
* contained in `oClassInfo`.
|
|
56097
56708
|
*
|
|
56098
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.
|
|
56709
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
|
|
56099
56710
|
*
|
|
56100
56711
|
*
|
|
56101
56712
|
* @returns Created class / constructor function
|
|
@@ -56147,55 +56758,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56147
56758
|
*/
|
|
56148
56759
|
oItem: IMenuItem
|
|
56149
56760
|
): 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
56761
|
/**
|
|
56200
56762
|
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.MenuItem`.
|
|
56201
56763
|
*
|
|
@@ -56243,55 +56805,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56243
56805
|
*/
|
|
56244
56806
|
oListener?: object
|
|
56245
56807
|
): 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
56808
|
/**
|
|
56296
56809
|
* Binds aggregation {@link #getItems items} to model data.
|
|
56297
56810
|
*
|
|
@@ -56322,25 +56835,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56322
56835
|
* @returns Reference to `this` in order to allow method chaining
|
|
56323
56836
|
*/
|
|
56324
56837
|
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
56838
|
/**
|
|
56345
56839
|
* Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.m.MenuItem`.
|
|
56346
56840
|
*
|
|
@@ -56359,38 +56853,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56359
56853
|
*/
|
|
56360
56854
|
oListener?: object
|
|
56361
56855
|
): 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
56856
|
/**
|
|
56395
56857
|
* Fires event {@link #event:press press} to attached listeners.
|
|
56396
56858
|
*
|
|
@@ -56405,24 +56867,26 @@ declare module "sap/m/MenuItem" {
|
|
|
56405
56867
|
mParameters?: object
|
|
56406
56868
|
): this;
|
|
56407
56869
|
/**
|
|
56408
|
-
*
|
|
56870
|
+
* Gets current value of property {@link #getEnabled enabled}.
|
|
56409
56871
|
*
|
|
56410
|
-
*
|
|
56872
|
+
* Enabled items can be selected.
|
|
56411
56873
|
*
|
|
56412
|
-
*
|
|
56874
|
+
* Default value is `true`.
|
|
56875
|
+
*
|
|
56876
|
+
*
|
|
56877
|
+
* @returns Value of property `enabled`
|
|
56413
56878
|
*/
|
|
56414
|
-
|
|
56415
|
-
/**
|
|
56416
|
-
* Parameters to pass along with the event
|
|
56417
|
-
*/
|
|
56418
|
-
mParameters?: MenuItem$PropertyChangedEventParameters
|
|
56419
|
-
): this;
|
|
56879
|
+
getEnabled(): boolean;
|
|
56420
56880
|
/**
|
|
56421
56881
|
* Gets content of aggregation {@link #getEndContent endContent}.
|
|
56422
56882
|
*
|
|
56423
56883
|
* Defines the content that is displayed at the end of a menu item. This aggregation allows for the addition
|
|
56424
56884
|
* of custom elements, such as icons and buttons.
|
|
56425
56885
|
*
|
|
56886
|
+
* **Note:** Application developers are responsible for ensuring that interactive `endContent` controls
|
|
56887
|
+
* have the correct accessibility behaviour, including their enabled or disabled states. The Menu
|
|
56888
|
+
* does not manage these aspects when the menu item state changes.
|
|
56889
|
+
*
|
|
56426
56890
|
* @since 1.131
|
|
56427
56891
|
*/
|
|
56428
56892
|
getEndContent(): Control[];
|
|
@@ -56438,9 +56902,18 @@ declare module "sap/m/MenuItem" {
|
|
|
56438
56902
|
/**
|
|
56439
56903
|
* Gets content of aggregation {@link #getItems items}.
|
|
56440
56904
|
*
|
|
56441
|
-
* Defines the
|
|
56905
|
+
* Defines the subitems contained within this element.
|
|
56442
56906
|
*/
|
|
56443
56907
|
getItems(): IMenuItem[];
|
|
56908
|
+
/**
|
|
56909
|
+
* Gets current value of property {@link #getKey key}.
|
|
56910
|
+
*
|
|
56911
|
+
* Can be used as input for subsequent actions.
|
|
56912
|
+
*
|
|
56913
|
+
*
|
|
56914
|
+
* @returns Value of property `key`
|
|
56915
|
+
*/
|
|
56916
|
+
getKey(): string;
|
|
56444
56917
|
/**
|
|
56445
56918
|
* Gets current value of property {@link #getSelected selected}.
|
|
56446
56919
|
*
|
|
@@ -56479,6 +56952,28 @@ declare module "sap/m/MenuItem" {
|
|
|
56479
56952
|
* @returns Value of property `startsSection`
|
|
56480
56953
|
*/
|
|
56481
56954
|
getStartsSection(): boolean;
|
|
56955
|
+
/**
|
|
56956
|
+
* Gets current value of property {@link #getText text}.
|
|
56957
|
+
*
|
|
56958
|
+
* The text to be displayed for the item.
|
|
56959
|
+
*
|
|
56960
|
+
* Default value is `empty string`.
|
|
56961
|
+
*
|
|
56962
|
+
*
|
|
56963
|
+
* @returns Value of property `text`
|
|
56964
|
+
*/
|
|
56965
|
+
getText(): string;
|
|
56966
|
+
/**
|
|
56967
|
+
* Gets current value of property {@link #getTextDirection textDirection}.
|
|
56968
|
+
*
|
|
56969
|
+
* Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
|
|
56970
|
+
*
|
|
56971
|
+
* Default value is `Inherit`.
|
|
56972
|
+
*
|
|
56973
|
+
*
|
|
56974
|
+
* @returns Value of property `textDirection`
|
|
56975
|
+
*/
|
|
56976
|
+
getTextDirection(): TextDirection;
|
|
56482
56977
|
/**
|
|
56483
56978
|
* Gets current value of property {@link #getVisible visible}.
|
|
56484
56979
|
*
|
|
@@ -56555,6 +57050,30 @@ declare module "sap/m/MenuItem" {
|
|
|
56555
57050
|
*/
|
|
56556
57051
|
iIndex: int
|
|
56557
57052
|
): this;
|
|
57053
|
+
/**
|
|
57054
|
+
* Returns whether the item can be counted in total items count. **Note:** This method can be overridden
|
|
57055
|
+
* by subclasses to implement custom behavior.
|
|
57056
|
+
*
|
|
57057
|
+
*
|
|
57058
|
+
* @returns Whether the item is counted in total items count
|
|
57059
|
+
*/
|
|
57060
|
+
isCountable(): boolean;
|
|
57061
|
+
/**
|
|
57062
|
+
* Returns whether the item can be focused. **Note:** This method can be overridden by subclasses to implement
|
|
57063
|
+
* custom behavior.
|
|
57064
|
+
*
|
|
57065
|
+
*
|
|
57066
|
+
* @returns Whether the item is enabled for focus
|
|
57067
|
+
*/
|
|
57068
|
+
isFocusable(): boolean;
|
|
57069
|
+
/**
|
|
57070
|
+
* Returns whether the firing of press event is allowed. **Note:** This method can be overridden by subclasses
|
|
57071
|
+
* to implement custom behavior.
|
|
57072
|
+
*
|
|
57073
|
+
*
|
|
57074
|
+
* @returns Whether the item is enabled for click/press
|
|
57075
|
+
*/
|
|
57076
|
+
isInteractive(): boolean;
|
|
56558
57077
|
/**
|
|
56559
57078
|
* Removes all the controls from the aggregation {@link #getEndContent endContent}.
|
|
56560
57079
|
*
|
|
@@ -56599,6 +57118,24 @@ declare module "sap/m/MenuItem" {
|
|
|
56599
57118
|
*/
|
|
56600
57119
|
vItem: int | string | IMenuItem
|
|
56601
57120
|
): IMenuItem | null;
|
|
57121
|
+
/**
|
|
57122
|
+
* Sets a new value for property {@link #getEnabled enabled}.
|
|
57123
|
+
*
|
|
57124
|
+
* Enabled items can be selected.
|
|
57125
|
+
*
|
|
57126
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57127
|
+
*
|
|
57128
|
+
* Default value is `true`.
|
|
57129
|
+
*
|
|
57130
|
+
*
|
|
57131
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57132
|
+
*/
|
|
57133
|
+
setEnabled(
|
|
57134
|
+
/**
|
|
57135
|
+
* New value for property `enabled`
|
|
57136
|
+
*/
|
|
57137
|
+
bEnabled?: boolean
|
|
57138
|
+
): this;
|
|
56602
57139
|
/**
|
|
56603
57140
|
* Sets a new value for property {@link #getIcon icon}.
|
|
56604
57141
|
*
|
|
@@ -56615,6 +57152,22 @@ declare module "sap/m/MenuItem" {
|
|
|
56615
57152
|
*/
|
|
56616
57153
|
sIcon?: string
|
|
56617
57154
|
): this;
|
|
57155
|
+
/**
|
|
57156
|
+
* Sets a new value for property {@link #getKey key}.
|
|
57157
|
+
*
|
|
57158
|
+
* Can be used as input for subsequent actions.
|
|
57159
|
+
*
|
|
57160
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57161
|
+
*
|
|
57162
|
+
*
|
|
57163
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57164
|
+
*/
|
|
57165
|
+
setKey(
|
|
57166
|
+
/**
|
|
57167
|
+
* New value for property `key`
|
|
57168
|
+
*/
|
|
57169
|
+
sKey?: string
|
|
57170
|
+
): this;
|
|
56618
57171
|
/**
|
|
56619
57172
|
* Sets a new value for property {@link #getShortcutText shortcutText}.
|
|
56620
57173
|
*
|
|
@@ -56653,6 +57206,42 @@ declare module "sap/m/MenuItem" {
|
|
|
56653
57206
|
*/
|
|
56654
57207
|
bStartsSection?: boolean
|
|
56655
57208
|
): this;
|
|
57209
|
+
/**
|
|
57210
|
+
* Sets a new value for property {@link #getText text}.
|
|
57211
|
+
*
|
|
57212
|
+
* The text to be displayed for the item.
|
|
57213
|
+
*
|
|
57214
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57215
|
+
*
|
|
57216
|
+
* Default value is `empty string`.
|
|
57217
|
+
*
|
|
57218
|
+
*
|
|
57219
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57220
|
+
*/
|
|
57221
|
+
setText(
|
|
57222
|
+
/**
|
|
57223
|
+
* New value for property `text`
|
|
57224
|
+
*/
|
|
57225
|
+
sText?: string
|
|
57226
|
+
): this;
|
|
57227
|
+
/**
|
|
57228
|
+
* Sets a new value for property {@link #getTextDirection textDirection}.
|
|
57229
|
+
*
|
|
57230
|
+
* Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
|
|
57231
|
+
*
|
|
57232
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57233
|
+
*
|
|
57234
|
+
* Default value is `Inherit`.
|
|
57235
|
+
*
|
|
57236
|
+
*
|
|
57237
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57238
|
+
*/
|
|
57239
|
+
setTextDirection(
|
|
57240
|
+
/**
|
|
57241
|
+
* New value for property `textDirection`
|
|
57242
|
+
*/
|
|
57243
|
+
sTextDirection?: TextDirection | keyof typeof TextDirection
|
|
57244
|
+
): this;
|
|
56656
57245
|
/**
|
|
56657
57246
|
* Sets a new value for property {@link #getVisible visible}.
|
|
56658
57247
|
*
|
|
@@ -56683,12 +57272,22 @@ declare module "sap/m/MenuItem" {
|
|
|
56683
57272
|
/**
|
|
56684
57273
|
* Describes the settings that can be provided to the MenuItem constructor.
|
|
56685
57274
|
*/
|
|
56686
|
-
export interface $MenuItemSettings extends $
|
|
57275
|
+
export interface $MenuItemSettings extends $ControlSettings {
|
|
57276
|
+
/**
|
|
57277
|
+
* The text to be displayed for the item.
|
|
57278
|
+
*/
|
|
57279
|
+
text?: string | PropertyBindingInfo;
|
|
57280
|
+
|
|
56687
57281
|
/**
|
|
56688
57282
|
* Defines the icon, which belongs to the item. This can be a URI to an image or an icon font URI.
|
|
56689
57283
|
*/
|
|
56690
57284
|
icon?: string | PropertyBindingInfo;
|
|
56691
57285
|
|
|
57286
|
+
/**
|
|
57287
|
+
* Enabled items can be selected.
|
|
57288
|
+
*/
|
|
57289
|
+
enabled?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
57290
|
+
|
|
56692
57291
|
/**
|
|
56693
57292
|
* Defines whether the item should be visible on the screen. If set to `false`, a placeholder is rendered
|
|
56694
57293
|
* instead of the real item.
|
|
@@ -56717,7 +57316,20 @@ declare module "sap/m/MenuItem" {
|
|
|
56717
57316
|
startsSection?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
56718
57317
|
|
|
56719
57318
|
/**
|
|
56720
|
-
*
|
|
57319
|
+
* Options are RTL and LTR. Alternatively, an item can inherit its text direction from its parent control.
|
|
57320
|
+
*/
|
|
57321
|
+
textDirection?:
|
|
57322
|
+
| (TextDirection | keyof typeof TextDirection)
|
|
57323
|
+
| PropertyBindingInfo
|
|
57324
|
+
| `{${string}}`;
|
|
57325
|
+
|
|
57326
|
+
/**
|
|
57327
|
+
* Can be used as input for subsequent actions.
|
|
57328
|
+
*/
|
|
57329
|
+
key?: string | PropertyBindingInfo;
|
|
57330
|
+
|
|
57331
|
+
/**
|
|
57332
|
+
* Defines the subitems contained within this element.
|
|
56721
57333
|
*/
|
|
56722
57334
|
items?: IMenuItem[] | IMenuItem | AggregationBindingInfo | `{${string}}`;
|
|
56723
57335
|
|
|
@@ -56725,6 +57337,10 @@ declare module "sap/m/MenuItem" {
|
|
|
56725
57337
|
* Defines the content that is displayed at the end of a menu item. This aggregation allows for the addition
|
|
56726
57338
|
* of custom elements, such as icons and buttons.
|
|
56727
57339
|
*
|
|
57340
|
+
* **Note:** Application developers are responsible for ensuring that interactive `endContent` controls
|
|
57341
|
+
* have the correct accessibility behaviour, including their enabled or disabled states. The Menu
|
|
57342
|
+
* does not manage these aspects when the menu item state changes.
|
|
57343
|
+
*
|
|
56728
57344
|
* @since 1.131
|
|
56729
57345
|
*/
|
|
56730
57346
|
endContent?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
|
|
@@ -56733,46 +57349,8 @@ declare module "sap/m/MenuItem" {
|
|
|
56733
57349
|
* Fired after the item has been pressed.
|
|
56734
57350
|
*/
|
|
56735
57351
|
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
57352
|
}
|
|
56747
57353
|
|
|
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
57354
|
/**
|
|
56777
57355
|
* Parameters of the MenuItem#press event.
|
|
56778
57356
|
*/
|
|
@@ -56785,29 +57363,6 @@ declare module "sap/m/MenuItem" {
|
|
|
56785
57363
|
MenuItem$PressEventParameters,
|
|
56786
57364
|
MenuItem
|
|
56787
57365
|
>;
|
|
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
57366
|
}
|
|
56812
57367
|
|
|
56813
57368
|
declare module "sap/m/MenuItemGroup" {
|
|
@@ -56827,7 +57382,7 @@ declare module "sap/m/MenuItemGroup" {
|
|
|
56827
57382
|
/**
|
|
56828
57383
|
* Group item to be used inside a menu. Represents a collection of menu items that can have the same selection
|
|
56829
57384
|
* mode (e.g. {@link sap.ui.core.ItemSelectionMode.None}, {@link sap.ui.core.ItemSelectionMode.SingleSelect},
|
|
56830
|
-
* or {@link sap.ui.
|
|
57385
|
+
* or {@link sap.ui.core.ItemSelectionMode.MultiSelect}).
|
|
56831
57386
|
*
|
|
56832
57387
|
* @since 1.127.0
|
|
56833
57388
|
*/
|
|
@@ -56896,33 +57451,24 @@ declare module "sap/m/MenuItemGroup" {
|
|
|
56896
57451
|
*/
|
|
56897
57452
|
static getMetadata(): ElementMetadata;
|
|
56898
57453
|
/**
|
|
56899
|
-
* Adds
|
|
57454
|
+
* Adds some item to the aggregation {@link #getItems items}.
|
|
56900
57455
|
*
|
|
56901
57456
|
*
|
|
56902
|
-
* @returns `this` to allow method chaining
|
|
57457
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
56903
57458
|
*/
|
|
56904
57459
|
addItem(
|
|
56905
57460
|
/**
|
|
56906
|
-
*
|
|
56907
|
-
*/
|
|
56908
|
-
oItem: IMenuItem,
|
|
56909
|
-
/**
|
|
56910
|
-
* Whether to suppress the invalidation of the control
|
|
57461
|
+
* The item to add; if empty, nothing is inserted
|
|
56911
57462
|
*/
|
|
56912
|
-
|
|
57463
|
+
oItem: IMenuItem
|
|
56913
57464
|
): this;
|
|
56914
57465
|
/**
|
|
56915
|
-
* Destroys all items
|
|
57466
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
56916
57467
|
*
|
|
56917
57468
|
*
|
|
56918
|
-
* @returns `this` to allow method chaining
|
|
57469
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
56919
57470
|
*/
|
|
56920
|
-
destroyItems(
|
|
56921
|
-
/**
|
|
56922
|
-
* Whether to suppress the invalidation of the control
|
|
56923
|
-
*/
|
|
56924
|
-
bSuppressInvalidate: boolean
|
|
56925
|
-
): this;
|
|
57471
|
+
destroyItems(): this;
|
|
56926
57472
|
/**
|
|
56927
57473
|
* Gets content of aggregation {@link #getItems items}.
|
|
56928
57474
|
*
|
|
@@ -56955,68 +57501,61 @@ declare module "sap/m/MenuItemGroup" {
|
|
|
56955
57501
|
oItem: IMenuItem
|
|
56956
57502
|
): int;
|
|
56957
57503
|
/**
|
|
56958
|
-
* Inserts
|
|
57504
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
56959
57505
|
*
|
|
56960
57506
|
*
|
|
56961
|
-
* @returns `this` to allow method chaining
|
|
57507
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
56962
57508
|
*/
|
|
56963
57509
|
insertItem(
|
|
56964
57510
|
/**
|
|
56965
|
-
*
|
|
57511
|
+
* The item to insert; if empty, nothing is inserted
|
|
56966
57512
|
*/
|
|
56967
57513
|
oItem: IMenuItem,
|
|
56968
57514
|
/**
|
|
56969
|
-
*
|
|
56970
|
-
|
|
56971
|
-
|
|
56972
|
-
/**
|
|
56973
|
-
* Whether to suppress the invalidation of the control
|
|
57515
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
57516
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
57517
|
+
* the last position
|
|
56974
57518
|
*/
|
|
56975
|
-
|
|
57519
|
+
iIndex: int
|
|
56976
57520
|
): this;
|
|
56977
57521
|
/**
|
|
56978
|
-
* Removes all
|
|
57522
|
+
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
57523
|
+
*
|
|
57524
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
56979
57525
|
*
|
|
56980
57526
|
*
|
|
56981
|
-
* @returns array
|
|
57527
|
+
* @returns An array of the removed elements (might be empty)
|
|
56982
57528
|
*/
|
|
56983
|
-
removeAllItems(
|
|
56984
|
-
/**
|
|
56985
|
-
* Whether to suppress the invalidation of the control
|
|
56986
|
-
*/
|
|
56987
|
-
bSuppressInvalidate: boolean
|
|
56988
|
-
): any[] | null;
|
|
57529
|
+
removeAllItems(): IMenuItem[];
|
|
56989
57530
|
/**
|
|
56990
|
-
* Removes
|
|
57531
|
+
* Removes a item from the aggregation {@link #getItems items}.
|
|
56991
57532
|
*
|
|
56992
57533
|
*
|
|
56993
|
-
* @returns
|
|
57534
|
+
* @returns The removed item or `null`
|
|
56994
57535
|
*/
|
|
56995
57536
|
removeItem(
|
|
56996
57537
|
/**
|
|
56997
|
-
*
|
|
56998
|
-
*/
|
|
56999
|
-
vItem: int | string | IMenuItem,
|
|
57000
|
-
/**
|
|
57001
|
-
* Whether to suppress the invalidation of the control
|
|
57538
|
+
* The item to remove or its index or id
|
|
57002
57539
|
*/
|
|
57003
|
-
|
|
57540
|
+
vItem: int | string | IMenuItem
|
|
57004
57541
|
): IMenuItem | null;
|
|
57005
57542
|
/**
|
|
57006
|
-
*
|
|
57543
|
+
* Sets a new value for property {@link #getItemSelectionMode itemSelectionMode}.
|
|
57007
57544
|
*
|
|
57545
|
+
* Defines the selection mode of the child items (e.g. `None`, `SingleSelect`, `MultiSelect`)
|
|
57008
57546
|
*
|
|
57009
|
-
*
|
|
57547
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
57548
|
+
*
|
|
57549
|
+
* Default value is `None`.
|
|
57550
|
+
*
|
|
57551
|
+
*
|
|
57552
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
57010
57553
|
*/
|
|
57011
57554
|
setItemSelectionMode(
|
|
57012
57555
|
/**
|
|
57013
|
-
*
|
|
57014
|
-
*/
|
|
57015
|
-
sSelectionMode: string,
|
|
57016
|
-
/**
|
|
57017
|
-
* Whether to suppress the invalidation of the control
|
|
57556
|
+
* New value for property `itemSelectionMode`
|
|
57018
57557
|
*/
|
|
57019
|
-
|
|
57558
|
+
sItemSelectionMode?: ItemSelectionMode
|
|
57020
57559
|
): this;
|
|
57021
57560
|
}
|
|
57022
57561
|
/**
|
|
@@ -57657,7 +58196,7 @@ declare module "sap/m/MessageBox" {
|
|
|
57657
58196
|
/**
|
|
57658
58197
|
* The icon to be displayed.
|
|
57659
58198
|
*/
|
|
57660
|
-
icon?: Icon;
|
|
58199
|
+
icon?: Icon | keyof typeof Icon;
|
|
57661
58200
|
/**
|
|
57662
58201
|
* The title of the message box.
|
|
57663
58202
|
*/
|
|
@@ -58044,27 +58583,27 @@ declare module "sap/m/MessageBox" {
|
|
|
58044
58583
|
/**
|
|
58045
58584
|
* Shows the error icon in the message box.
|
|
58046
58585
|
*/
|
|
58047
|
-
ERROR = "
|
|
58586
|
+
ERROR = "ERROR",
|
|
58048
58587
|
/**
|
|
58049
58588
|
* Shows the information icon in the message box.
|
|
58050
58589
|
*/
|
|
58051
|
-
INFORMATION = "
|
|
58590
|
+
INFORMATION = "INFORMATION",
|
|
58052
58591
|
/**
|
|
58053
58592
|
* Shows no icon in the message box.
|
|
58054
58593
|
*/
|
|
58055
|
-
NONE = "
|
|
58594
|
+
NONE = "NONE",
|
|
58056
58595
|
/**
|
|
58057
58596
|
* Shows the question icon in the message box.
|
|
58058
58597
|
*/
|
|
58059
|
-
QUESTION = "
|
|
58598
|
+
QUESTION = "QUESTION",
|
|
58060
58599
|
/**
|
|
58061
58600
|
* Shows the success icon in the message box.
|
|
58062
58601
|
*/
|
|
58063
|
-
SUCCESS = "
|
|
58602
|
+
SUCCESS = "SUCCESS",
|
|
58064
58603
|
/**
|
|
58065
58604
|
* Shows the warning icon in the message box.
|
|
58066
58605
|
*/
|
|
58067
|
-
WARNING = "
|
|
58606
|
+
WARNING = "WARNING",
|
|
58068
58607
|
}
|
|
58069
58608
|
}
|
|
58070
58609
|
|
|
@@ -61430,8 +61969,8 @@ declare module "sap/m/MessageToast" {
|
|
|
61430
61969
|
* sap.m.MessageToast.show("This message should appear in the message toast", {
|
|
61431
61970
|
* duration: 3000, // default
|
|
61432
61971
|
* width: "15em", // default
|
|
61433
|
-
* my: "
|
|
61434
|
-
* at: "
|
|
61972
|
+
* my: "CenterBottom", // default
|
|
61973
|
+
* at: "CenterBottom", // default
|
|
61435
61974
|
* of: window, // default
|
|
61436
61975
|
* offset: "0 0", // default
|
|
61437
61976
|
* collision: "fit fit", // default
|
|
@@ -61451,7 +61990,8 @@ declare module "sap/m/MessageToast" {
|
|
|
61451
61990
|
* - You want to make sure that users read the message before they leave the page.
|
|
61452
61991
|
* - 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
61992
|
* Responsive Behavior: The message toast has the same behavior on all devices. However, you can adjust
|
|
61454
|
-
* the width of the control, for example
|
|
61993
|
+
* the width of the control depending on the device you're using, for example desktop. Note that the width
|
|
61994
|
+
* can be customized up to a maximum of 15rem.
|
|
61455
61995
|
* See:
|
|
61456
61996
|
* {@link fiori:https://experience.sap.com/fiori-design-web/message-toast/ Message Toast}
|
|
61457
61997
|
*
|
|
@@ -63200,7 +63740,10 @@ declare module "sap/m/MultiInput" {
|
|
|
63200
63740
|
* - Provide meaningful labels for all input fields. Do not use the placeholder as a replacement for
|
|
63201
63741
|
* the label.
|
|
63202
63742
|
* - The `showValueHelp` property is overwritten and after initialization of the control, its value becomes
|
|
63203
|
-
* `truthy`.
|
|
63743
|
+
* `truthy`.
|
|
63744
|
+
* - A mix of read-only and deletable tokens isn't supported.
|
|
63745
|
+
* - The read-only state of tokens should be controlled using the `editable` property of the MultiInput
|
|
63746
|
+
* control. Usage: When to use::
|
|
63204
63747
|
* - You need to provide the value help option to help users select or search multiple business objects.
|
|
63205
63748
|
*
|
|
63206
63749
|
* - The dataset to choose from is expected to increase over time (for example, to more than 200 values).
|
|
@@ -74313,6 +74856,7 @@ declare module "sap/m/OverflowToolbar" {
|
|
|
74313
74856
|
* - {@link sap.m.SegmentedButton}
|
|
74314
74857
|
* - {@link sap.m.Select}
|
|
74315
74858
|
* - {@link sap.m.TimePicker}
|
|
74859
|
+
* - {@link sap.m.OverflowToolbarTokenizer}
|
|
74316
74860
|
* - {@link sap.m.ToggleButton}
|
|
74317
74861
|
* - {@link sap.m.ToolbarSeparator}
|
|
74318
74862
|
* - {@link sap.ui.comp.smartfield.SmartField}
|
|
@@ -75022,6 +75566,208 @@ declare module "sap/m/OverflowToolbarToggleButton" {
|
|
|
75022
75566
|
extends $ToggleButtonSettings {}
|
|
75023
75567
|
}
|
|
75024
75568
|
|
|
75569
|
+
declare module "sap/m/OverflowToolbarTokenizer" {
|
|
75570
|
+
import { default as Button, $ButtonSettings } from "sap/m/Button";
|
|
75571
|
+
|
|
75572
|
+
import {
|
|
75573
|
+
IOverflowToolbarContent,
|
|
75574
|
+
IToolbarInteractiveControl,
|
|
75575
|
+
} from "sap/m/library";
|
|
75576
|
+
|
|
75577
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
75578
|
+
|
|
75579
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
75580
|
+
|
|
75581
|
+
/**
|
|
75582
|
+
* Represents an {@link sap.m.Button} that shows its text only when in the overflow area of an {@link sap.m.OverflowToolbar}.
|
|
75583
|
+
*
|
|
75584
|
+
* **Note:** This control is intended to be used exclusively in the context of `sap.m.Toolbar` and `sap.m.OverflowToolbar`.
|
|
75585
|
+
* Using more than one tokenizer in the same toolbar is not recomended, as it may lead to unexpected behavior.
|
|
75586
|
+
* Do not use tokenizers within a toolbar if its active property is set to `true`.
|
|
75587
|
+
*
|
|
75588
|
+
* @since 1.139
|
|
75589
|
+
* @experimental As of version 1.139.
|
|
75590
|
+
*/
|
|
75591
|
+
export default class OverflowToolbarTokenizer
|
|
75592
|
+
extends Button
|
|
75593
|
+
implements IOverflowToolbarContent, IToolbarInteractiveControl
|
|
75594
|
+
{
|
|
75595
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
75596
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
75597
|
+
/**
|
|
75598
|
+
* Constructor for a new `OverflowToolbarTokenizer`.
|
|
75599
|
+
*
|
|
75600
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
75601
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
75602
|
+
* of the syntax of the settings object.
|
|
75603
|
+
*/
|
|
75604
|
+
constructor(
|
|
75605
|
+
/**
|
|
75606
|
+
* Initial settings for the new control
|
|
75607
|
+
*/
|
|
75608
|
+
mSettings?: $OverflowToolbarTokenizerSettings
|
|
75609
|
+
);
|
|
75610
|
+
/**
|
|
75611
|
+
* Constructor for a new `OverflowToolbarTokenizer`.
|
|
75612
|
+
*
|
|
75613
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
75614
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
75615
|
+
* of the syntax of the settings object.
|
|
75616
|
+
*/
|
|
75617
|
+
constructor(
|
|
75618
|
+
/**
|
|
75619
|
+
* ID for the new control, generated automatically if no ID is given
|
|
75620
|
+
*/
|
|
75621
|
+
sId?: string,
|
|
75622
|
+
/**
|
|
75623
|
+
* Initial settings for the new control
|
|
75624
|
+
*/
|
|
75625
|
+
mSettings?: $OverflowToolbarTokenizerSettings
|
|
75626
|
+
);
|
|
75627
|
+
|
|
75628
|
+
/**
|
|
75629
|
+
* Creates a new subclass of class sap.m.OverflowToolbarTokenizer with name `sClassName` and enriches it
|
|
75630
|
+
* with the information contained in `oClassInfo`.
|
|
75631
|
+
*
|
|
75632
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.m.Button.extend}.
|
|
75633
|
+
*
|
|
75634
|
+
*
|
|
75635
|
+
* @returns Created class / constructor function
|
|
75636
|
+
*/
|
|
75637
|
+
static extend<T extends Record<string, unknown>>(
|
|
75638
|
+
/**
|
|
75639
|
+
* Name of the class being created
|
|
75640
|
+
*/
|
|
75641
|
+
sClassName: string,
|
|
75642
|
+
/**
|
|
75643
|
+
* Object literal with information about the class
|
|
75644
|
+
*/
|
|
75645
|
+
oClassInfo?: sap.ClassInfo<T, OverflowToolbarTokenizer>,
|
|
75646
|
+
/**
|
|
75647
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
75648
|
+
* used by this class
|
|
75649
|
+
*/
|
|
75650
|
+
FNMetaImpl?: Function
|
|
75651
|
+
): Function;
|
|
75652
|
+
/**
|
|
75653
|
+
* Returns a metadata object for class sap.m.OverflowToolbarTokenizer.
|
|
75654
|
+
*
|
|
75655
|
+
*
|
|
75656
|
+
* @returns Metadata object describing this class
|
|
75657
|
+
*/
|
|
75658
|
+
static getMetadata(): ElementMetadata;
|
|
75659
|
+
/**
|
|
75660
|
+
* Gets current value of property {@link #getLabelText labelText}.
|
|
75661
|
+
*
|
|
75662
|
+
* Property for the text of a sap.m.Label displayed with sap.m.OverflowToolbarTokenizer. It is also displayed
|
|
75663
|
+
* as an n-More button text when used inside a `sap.m.OverflowToolbar`.
|
|
75664
|
+
*
|
|
75665
|
+
*
|
|
75666
|
+
* @returns Value of property `labelText`
|
|
75667
|
+
*/
|
|
75668
|
+
getLabelText(): string;
|
|
75669
|
+
/**
|
|
75670
|
+
* Gets current value of property {@link #getRenderMode renderMode}.
|
|
75671
|
+
*
|
|
75672
|
+
* Defines the mode that the OverflowToolbarTokenizer will use:
|
|
75673
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Loose` mode shows all tokens, no matter the width of the
|
|
75674
|
+
* Tokenizer
|
|
75675
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Narrow` mode restricts the tokenizer to display only the
|
|
75676
|
+
* maximum number of tokens that fit within its width, adding an n-More indicator for the remaining tokens
|
|
75677
|
+
*
|
|
75678
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Overflow` mode forces the tokenizer to show only `sap.m.Button`
|
|
75679
|
+
* as an n-More indicator without visible tokens. It is used when `sap.m.OverflowToolbarTokenizer` is within
|
|
75680
|
+
* the `sap.m.OverflowToolbar` overflow area
|
|
75681
|
+
*
|
|
75682
|
+
* **Note**: Have in mind that the `renderMode` property is used internally by the OverflowToolbarTokenizer
|
|
75683
|
+
* and controls that use the OverflowToolbarTokenizer. Therefore, modifying this property may alter the
|
|
75684
|
+
* expected behavior of the control.
|
|
75685
|
+
*
|
|
75686
|
+
* Default value is `RenderMode.Narrow`.
|
|
75687
|
+
*
|
|
75688
|
+
*
|
|
75689
|
+
* @returns Value of property `renderMode`
|
|
75690
|
+
*/
|
|
75691
|
+
getRenderMode(): string;
|
|
75692
|
+
/**
|
|
75693
|
+
* Sets a new value for property {@link #getLabelText labelText}.
|
|
75694
|
+
*
|
|
75695
|
+
* Property for the text of a sap.m.Label displayed with sap.m.OverflowToolbarTokenizer. It is also displayed
|
|
75696
|
+
* as an n-More button text when used inside a `sap.m.OverflowToolbar`.
|
|
75697
|
+
*
|
|
75698
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
75699
|
+
*
|
|
75700
|
+
*
|
|
75701
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
75702
|
+
*/
|
|
75703
|
+
setLabelText(
|
|
75704
|
+
/**
|
|
75705
|
+
* New value for property `labelText`
|
|
75706
|
+
*/
|
|
75707
|
+
sLabelText?: string
|
|
75708
|
+
): this;
|
|
75709
|
+
/**
|
|
75710
|
+
* Sets a new value for property {@link #getRenderMode renderMode}.
|
|
75711
|
+
*
|
|
75712
|
+
* Defines the mode that the OverflowToolbarTokenizer will use:
|
|
75713
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Loose` mode shows all tokens, no matter the width of the
|
|
75714
|
+
* Tokenizer
|
|
75715
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Narrow` mode restricts the tokenizer to display only the
|
|
75716
|
+
* maximum number of tokens that fit within its width, adding an n-More indicator for the remaining tokens
|
|
75717
|
+
*
|
|
75718
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Overflow` mode forces the tokenizer to show only `sap.m.Button`
|
|
75719
|
+
* as an n-More indicator without visible tokens. It is used when `sap.m.OverflowToolbarTokenizer` is within
|
|
75720
|
+
* the `sap.m.OverflowToolbar` overflow area
|
|
75721
|
+
*
|
|
75722
|
+
* **Note**: Have in mind that the `renderMode` property is used internally by the OverflowToolbarTokenizer
|
|
75723
|
+
* and controls that use the OverflowToolbarTokenizer. Therefore, modifying this property may alter the
|
|
75724
|
+
* expected behavior of the control.
|
|
75725
|
+
*
|
|
75726
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
75727
|
+
*
|
|
75728
|
+
* Default value is `RenderMode.Narrow`.
|
|
75729
|
+
*
|
|
75730
|
+
*
|
|
75731
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
75732
|
+
*/
|
|
75733
|
+
setRenderMode(
|
|
75734
|
+
/**
|
|
75735
|
+
* New value for property `renderMode`
|
|
75736
|
+
*/
|
|
75737
|
+
sRenderMode?: string
|
|
75738
|
+
): this;
|
|
75739
|
+
}
|
|
75740
|
+
/**
|
|
75741
|
+
* Describes the settings that can be provided to the OverflowToolbarTokenizer constructor.
|
|
75742
|
+
*
|
|
75743
|
+
* @experimental As of version 1.139.
|
|
75744
|
+
*/
|
|
75745
|
+
export interface $OverflowToolbarTokenizerSettings extends $ButtonSettings {
|
|
75746
|
+
/**
|
|
75747
|
+
* Property for the text of a sap.m.Label displayed with sap.m.OverflowToolbarTokenizer. It is also displayed
|
|
75748
|
+
* as an n-More button text when used inside a `sap.m.OverflowToolbar`.
|
|
75749
|
+
*/
|
|
75750
|
+
labelText?: string | PropertyBindingInfo;
|
|
75751
|
+
|
|
75752
|
+
/**
|
|
75753
|
+
* Defines the mode that the OverflowToolbarTokenizer will use:
|
|
75754
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Loose` mode shows all tokens, no matter the width of the
|
|
75755
|
+
* Tokenizer
|
|
75756
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Narrow` mode restricts the tokenizer to display only the
|
|
75757
|
+
* maximum number of tokens that fit within its width, adding an n-More indicator for the remaining tokens
|
|
75758
|
+
*
|
|
75759
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Overflow` mode forces the tokenizer to show only `sap.m.Button`
|
|
75760
|
+
* as an n-More indicator without visible tokens. It is used when `sap.m.OverflowToolbarTokenizer` is within
|
|
75761
|
+
* the `sap.m.OverflowToolbar` overflow area
|
|
75762
|
+
*
|
|
75763
|
+
* **Note**: Have in mind that the `renderMode` property is used internally by the OverflowToolbarTokenizer
|
|
75764
|
+
* and controls that use the OverflowToolbarTokenizer. Therefore, modifying this property may alter the
|
|
75765
|
+
* expected behavior of the control.
|
|
75766
|
+
*/
|
|
75767
|
+
renderMode?: string | PropertyBindingInfo;
|
|
75768
|
+
}
|
|
75769
|
+
}
|
|
75770
|
+
|
|
75025
75771
|
declare module "sap/m/p13n/BasePanel" {
|
|
75026
75772
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
75027
75773
|
|
|
@@ -89896,17 +90642,27 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
89896
90642
|
| keyof typeof CalendarAppointmentRoundWidth
|
|
89897
90643
|
): this;
|
|
89898
90644
|
/**
|
|
89899
|
-
*
|
|
90645
|
+
* Sets a new value for property {@link #getAppointmentsReducedHeight appointmentsReducedHeight}.
|
|
90646
|
+
*
|
|
90647
|
+
* Determines whether the appointments that have only title without text are rendered with smaller height.
|
|
89900
90648
|
*
|
|
90649
|
+
* **Note:** On phone devices this property is ignored, appointments are always rendered in full height
|
|
90650
|
+
* to facilitate touching.
|
|
90651
|
+
*
|
|
90652
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
90653
|
+
*
|
|
90654
|
+
* Default value is `false`.
|
|
90655
|
+
*
|
|
90656
|
+
* @since 1.38.0
|
|
89901
90657
|
* @deprecated As of version 1.119. Please use the `appointmentHeight` with value "Automatic" property instead.
|
|
89902
90658
|
*
|
|
89903
|
-
* @returns Reference to `this`
|
|
90659
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
89904
90660
|
*/
|
|
89905
90661
|
setAppointmentsReducedHeight(
|
|
89906
90662
|
/**
|
|
89907
|
-
*
|
|
90663
|
+
* New value for property `appointmentsReducedHeight`
|
|
89908
90664
|
*/
|
|
89909
|
-
bAppointmentsReducedHeight
|
|
90665
|
+
bAppointmentsReducedHeight?: boolean
|
|
89910
90666
|
): this;
|
|
89911
90667
|
/**
|
|
89912
90668
|
* Sets a new value for property {@link #getAppointmentsVisualization appointmentsVisualization}.
|
|
@@ -90162,26 +90918,39 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
90162
90918
|
sNoDataText?: string
|
|
90163
90919
|
): this;
|
|
90164
90920
|
/**
|
|
90165
|
-
* Sets
|
|
90921
|
+
* Sets a new value for property {@link #getPrimaryCalendarType primaryCalendarType}.
|
|
90922
|
+
*
|
|
90923
|
+
* If set, the calendar type is used for display. If not set, the calendar type of the global configuration
|
|
90924
|
+
* is used.
|
|
90166
90925
|
*
|
|
90926
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
90167
90927
|
*
|
|
90168
|
-
* @
|
|
90928
|
+
* @since 1.108.0
|
|
90929
|
+
*
|
|
90930
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
90169
90931
|
*/
|
|
90170
90932
|
setPrimaryCalendarType(
|
|
90171
90933
|
/**
|
|
90172
|
-
*
|
|
90934
|
+
* New value for property `primaryCalendarType`
|
|
90173
90935
|
*/
|
|
90174
90936
|
sPrimaryCalendarType: CalendarType | keyof typeof CalendarType
|
|
90175
90937
|
): this;
|
|
90176
90938
|
/**
|
|
90177
|
-
* Sets
|
|
90939
|
+
* Sets a new value for property {@link #getSecondaryCalendarType secondaryCalendarType}.
|
|
90178
90940
|
*
|
|
90941
|
+
* If set, the days are also represented in this calendar type. If not set, the dates are only represented
|
|
90942
|
+
* in the primary calendar type. Note: The second calendar type won't be represented in the DOM when this
|
|
90943
|
+
* property is not set explicitly.
|
|
90179
90944
|
*
|
|
90180
|
-
*
|
|
90945
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
90946
|
+
*
|
|
90947
|
+
* @since 1.109.0
|
|
90948
|
+
*
|
|
90949
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
90181
90950
|
*/
|
|
90182
90951
|
setSecondaryCalendarType(
|
|
90183
90952
|
/**
|
|
90184
|
-
*
|
|
90953
|
+
* New value for property `secondaryCalendarType`
|
|
90185
90954
|
*/
|
|
90186
90955
|
sSecondaryCalendarType: CalendarType | keyof typeof CalendarType
|
|
90187
90956
|
): this;
|
|
@@ -90322,16 +91091,42 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
90322
91091
|
oDate: Date
|
|
90323
91092
|
): this;
|
|
90324
91093
|
/**
|
|
90325
|
-
* Sets
|
|
91094
|
+
* Sets a new value for property {@link #getStickyHeader stickyHeader}.
|
|
90326
91095
|
*
|
|
91096
|
+
* Determines whether the header area will remain visible (fixed on top) when the rest of the content is
|
|
91097
|
+
* scrolled out of view.
|
|
90327
91098
|
*
|
|
90328
|
-
*
|
|
91099
|
+
* The sticky header behavior is automatically disabled on phones in landscape mode for better visibility
|
|
91100
|
+
* of the content.
|
|
91101
|
+
*
|
|
91102
|
+
* **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
|
|
91103
|
+
* support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
|
|
91104
|
+
*
|
|
91105
|
+
* There are also some known issues with respect to the scrolling behavior and focus handling. A few are
|
|
91106
|
+
* given below:
|
|
91107
|
+
*
|
|
91108
|
+
* When the PlanningCalendar is placed in certain layout containers, for example the `GridLayout` control,
|
|
91109
|
+
* the column headers do not fix at the top of the viewport. Similar behavior is also observed with the
|
|
91110
|
+
* `ObjectPage` control.
|
|
91111
|
+
*
|
|
91112
|
+
* This API should not be used in production environment.
|
|
91113
|
+
*
|
|
91114
|
+
* **Note:** The `stickyHeader` of the `PlanningCalendar` uses the `sticky` property of `sap.m.Table`. Therefore,
|
|
91115
|
+
* all features and restrictions of the property in `sap.m.Table` apply to the `PlanningCalendar` as well.
|
|
91116
|
+
*
|
|
91117
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
91118
|
+
*
|
|
91119
|
+
* Default value is `false`.
|
|
91120
|
+
*
|
|
91121
|
+
* @since 1.54
|
|
91122
|
+
*
|
|
91123
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
90329
91124
|
*/
|
|
90330
91125
|
setStickyHeader(
|
|
90331
91126
|
/**
|
|
90332
|
-
*
|
|
91127
|
+
* New value for property `stickyHeader`
|
|
90333
91128
|
*/
|
|
90334
|
-
|
|
91129
|
+
bStickyHeader?: boolean
|
|
90335
91130
|
): this;
|
|
90336
91131
|
/**
|
|
90337
91132
|
* Sets a new value for property {@link #getViewKey viewKey}.
|
|
@@ -90355,16 +91150,20 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
90355
91150
|
sViewKey?: string
|
|
90356
91151
|
): this;
|
|
90357
91152
|
/**
|
|
90358
|
-
* Sets
|
|
91153
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
91154
|
+
*
|
|
91155
|
+
* Specifies the width of the `PlanningCalendar`.
|
|
91156
|
+
*
|
|
91157
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
90359
91158
|
*
|
|
90360
91159
|
*
|
|
90361
|
-
* @returns this
|
|
91160
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
90362
91161
|
*/
|
|
90363
91162
|
setWidth(
|
|
90364
91163
|
/**
|
|
90365
|
-
*
|
|
91164
|
+
* New value for property `width`
|
|
90366
91165
|
*/
|
|
90367
|
-
sWidth
|
|
91166
|
+
sWidth?: CSSSize
|
|
90368
91167
|
): this;
|
|
90369
91168
|
}
|
|
90370
91169
|
/**
|
|
@@ -96021,6 +96820,7 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
96021
96820
|
* - {@link sap.ui.mdc.Table MDC Table}
|
|
96022
96821
|
* - {@link sap.m.Table Responsive Table}
|
|
96023
96822
|
* - {@link sap.m.GridTable Grid Table}
|
|
96823
|
+
* - {@link sap.ui.table.TreeTable Tree Table}
|
|
96024
96824
|
*
|
|
96025
96825
|
* Consider the following before using the plugin:
|
|
96026
96826
|
* - It gets activated when it is added as a dependent to the table control. It gets deactivated when
|
|
@@ -96029,6 +96829,9 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
96029
96829
|
*
|
|
96030
96830
|
* - Configuring the rowConfiguration aggregation (type {@link sap.m.upload.UploadItemConfiguration UploadItemConfiguration})
|
|
96031
96831
|
* of this plugin is mandatory to use the features such as file preview, download etc.
|
|
96832
|
+
* - For the plugin to work with the tree table control, the isDirectoryPath property of the rowConfiguration
|
|
96833
|
+
* aggregation must be set. This indicates if the context of the row is a directory or a file. It helps
|
|
96834
|
+
* the plugin with the file preview feature.
|
|
96032
96835
|
* - It works only with the table control when the table is bound to the model to perform the operations
|
|
96033
96836
|
* such as rename, download etc.
|
|
96034
96837
|
*
|
|
@@ -97501,7 +98304,9 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
97501
98304
|
/**
|
|
97502
98305
|
* New value for property `httpRequestMethod`
|
|
97503
98306
|
*/
|
|
97504
|
-
sHttpRequestMethod?:
|
|
98307
|
+
sHttpRequestMethod?:
|
|
98308
|
+
| UploaderHttpRequestMethod
|
|
98309
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
97505
98310
|
): this;
|
|
97506
98311
|
/**
|
|
97507
98312
|
* Sets a new value for property {@link #getItemValidationHandler itemValidationHandler}.
|
|
@@ -97830,7 +98635,7 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
97830
98635
|
* HTTP request method chosen for file upload.
|
|
97831
98636
|
*/
|
|
97832
98637
|
httpRequestMethod?:
|
|
97833
|
-
| UploaderHttpRequestMethod
|
|
98638
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
97834
98639
|
| PropertyBindingInfo
|
|
97835
98640
|
| `{${string}}`;
|
|
97836
98641
|
|
|
@@ -127645,13 +128450,13 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
127645
128450
|
*/
|
|
127646
128451
|
getEndHour(): int;
|
|
127647
128452
|
/**
|
|
127648
|
-
*
|
|
128453
|
+
* Returns an object containing the start and end dates in the currently visible range.
|
|
127649
128454
|
*
|
|
127650
128455
|
* @since 1.133
|
|
127651
128456
|
*
|
|
127652
|
-
* @returns
|
|
128457
|
+
* @returns An object containing the start and end date in the currently visible range.
|
|
127653
128458
|
*/
|
|
127654
|
-
getFirstAndLastVisibleDates():
|
|
128459
|
+
getFirstAndLastVisibleDates(): VisibleDates;
|
|
127655
128460
|
/**
|
|
127656
128461
|
* Gets current value of property {@link #getFirstDayOfWeek firstDayOfWeek}.
|
|
127657
128462
|
*
|
|
@@ -128480,6 +129285,20 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
128480
129285
|
sTitle?: string
|
|
128481
129286
|
): this;
|
|
128482
129287
|
}
|
|
129288
|
+
/**
|
|
129289
|
+
* Object which contains the start and end dates in the currently visible range.
|
|
129290
|
+
*/
|
|
129291
|
+
export type VisibleDates = {
|
|
129292
|
+
/**
|
|
129293
|
+
* The start date in the currently visible range.
|
|
129294
|
+
*/
|
|
129295
|
+
oStartDate?: Date | UI5Date;
|
|
129296
|
+
/**
|
|
129297
|
+
* The end date in the currently visible range.
|
|
129298
|
+
*/
|
|
129299
|
+
oEndDate?: Date | UI5Date;
|
|
129300
|
+
};
|
|
129301
|
+
|
|
128483
129302
|
/**
|
|
128484
129303
|
* Describes the settings that can be provided to the SinglePlanningCalendar constructor.
|
|
128485
129304
|
*/
|
|
@@ -131497,8 +132316,12 @@ declare module "sap/m/SplitApp" {
|
|
|
131497
132316
|
* header tags to the HTML page which are considered useful for mobile applications and allows the configuration
|
|
131498
132317
|
* of the application's home icon via the `homeIcon` property.
|
|
131499
132318
|
*
|
|
131500
|
-
* Usage:
|
|
131501
|
-
* as
|
|
132319
|
+
* Usage:
|
|
132320
|
+
* - Use SplitApp as the root control of your application. It should not be nested inside or alongside
|
|
132321
|
+
* other controls.
|
|
132322
|
+
* - SplitApp requires its parent elements (including `body` and `html`) to have a height set to 100%
|
|
132323
|
+
* for proper layout. If this is not set, `SplitApp` will attempt to set the height itself. SplitApp
|
|
132324
|
+
* requires 100% of the page width for proper layout.
|
|
131502
132325
|
*/
|
|
131503
132326
|
export default class SplitApp extends SplitContainer {
|
|
131504
132327
|
/**
|
|
@@ -142110,6 +142933,240 @@ declare module "sap/m/table/columnmenu/QuickGroupItem" {
|
|
|
142110
142933
|
}
|
|
142111
142934
|
}
|
|
142112
142935
|
|
|
142936
|
+
declare module "sap/m/table/columnmenu/QuickResize" {
|
|
142937
|
+
import {
|
|
142938
|
+
default as QuickActionBase,
|
|
142939
|
+
$QuickActionBaseSettings,
|
|
142940
|
+
} from "sap/m/table/columnmenu/QuickActionBase";
|
|
142941
|
+
|
|
142942
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
142943
|
+
|
|
142944
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
142945
|
+
|
|
142946
|
+
import Event from "sap/ui/base/Event";
|
|
142947
|
+
|
|
142948
|
+
/**
|
|
142949
|
+
* The `QuickResize` class is used for quick resizing of columns via the `sap.m.table.columnmenu.Menu`.
|
|
142950
|
+
* It can be used to specify quick actions for accessible column resizing.
|
|
142951
|
+
*
|
|
142952
|
+
* @since 1.137
|
|
142953
|
+
*/
|
|
142954
|
+
export default class QuickResize extends QuickActionBase {
|
|
142955
|
+
/**
|
|
142956
|
+
* Constructor for a new `QuickResize`.
|
|
142957
|
+
*
|
|
142958
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
142959
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
142960
|
+
* of the syntax of the settings object.
|
|
142961
|
+
*/
|
|
142962
|
+
constructor(
|
|
142963
|
+
/**
|
|
142964
|
+
* Initial settings for the new `QuickResize`
|
|
142965
|
+
*/
|
|
142966
|
+
mSettings?: $QuickResizeSettings
|
|
142967
|
+
);
|
|
142968
|
+
/**
|
|
142969
|
+
* Constructor for a new `QuickResize`.
|
|
142970
|
+
*
|
|
142971
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
142972
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
142973
|
+
* of the syntax of the settings object.
|
|
142974
|
+
*/
|
|
142975
|
+
constructor(
|
|
142976
|
+
/**
|
|
142977
|
+
* ID for the new `QuickResize`, generated automatically if no ID is given
|
|
142978
|
+
*/
|
|
142979
|
+
sId?: string,
|
|
142980
|
+
/**
|
|
142981
|
+
* Initial settings for the new `QuickResize`
|
|
142982
|
+
*/
|
|
142983
|
+
mSettings?: $QuickResizeSettings
|
|
142984
|
+
);
|
|
142985
|
+
|
|
142986
|
+
/**
|
|
142987
|
+
* Creates a new subclass of class sap.m.table.columnmenu.QuickResize with name `sClassName` and enriches
|
|
142988
|
+
* it with the information contained in `oClassInfo`.
|
|
142989
|
+
*
|
|
142990
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.m.table.columnmenu.QuickActionBase.extend}.
|
|
142991
|
+
*
|
|
142992
|
+
*
|
|
142993
|
+
* @returns Created class / constructor function
|
|
142994
|
+
*/
|
|
142995
|
+
static extend<T extends Record<string, unknown>>(
|
|
142996
|
+
/**
|
|
142997
|
+
* Name of the class being created
|
|
142998
|
+
*/
|
|
142999
|
+
sClassName: string,
|
|
143000
|
+
/**
|
|
143001
|
+
* Object literal with information about the class
|
|
143002
|
+
*/
|
|
143003
|
+
oClassInfo?: sap.ClassInfo<T, QuickResize>,
|
|
143004
|
+
/**
|
|
143005
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
143006
|
+
* used by this class
|
|
143007
|
+
*/
|
|
143008
|
+
FNMetaImpl?: Function
|
|
143009
|
+
): Function;
|
|
143010
|
+
/**
|
|
143011
|
+
* Returns a metadata object for class sap.m.table.columnmenu.QuickResize.
|
|
143012
|
+
*
|
|
143013
|
+
*
|
|
143014
|
+
* @returns Metadata object describing this class
|
|
143015
|
+
*/
|
|
143016
|
+
static getMetadata(): ElementMetadata;
|
|
143017
|
+
/**
|
|
143018
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
|
|
143019
|
+
*
|
|
143020
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
143021
|
+
* otherwise it will be bound to this `sap.m.table.columnmenu.QuickResize` itself.
|
|
143022
|
+
*
|
|
143023
|
+
* Fires the change event.
|
|
143024
|
+
*
|
|
143025
|
+
*
|
|
143026
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
143027
|
+
*/
|
|
143028
|
+
attachChange(
|
|
143029
|
+
/**
|
|
143030
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
143031
|
+
* object when firing the event
|
|
143032
|
+
*/
|
|
143033
|
+
oData: object,
|
|
143034
|
+
/**
|
|
143035
|
+
* The function to be called when the event occurs
|
|
143036
|
+
*/
|
|
143037
|
+
fnFunction: (p1: QuickResize$ChangeEvent) => void,
|
|
143038
|
+
/**
|
|
143039
|
+
* Context object to call the event handler with. Defaults to this `sap.m.table.columnmenu.QuickResize`
|
|
143040
|
+
* itself
|
|
143041
|
+
*/
|
|
143042
|
+
oListener?: object
|
|
143043
|
+
): this;
|
|
143044
|
+
/**
|
|
143045
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
|
|
143046
|
+
*
|
|
143047
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
143048
|
+
* otherwise it will be bound to this `sap.m.table.columnmenu.QuickResize` itself.
|
|
143049
|
+
*
|
|
143050
|
+
* Fires the change event.
|
|
143051
|
+
*
|
|
143052
|
+
*
|
|
143053
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
143054
|
+
*/
|
|
143055
|
+
attachChange(
|
|
143056
|
+
/**
|
|
143057
|
+
* The function to be called when the event occurs
|
|
143058
|
+
*/
|
|
143059
|
+
fnFunction: (p1: QuickResize$ChangeEvent) => void,
|
|
143060
|
+
/**
|
|
143061
|
+
* Context object to call the event handler with. Defaults to this `sap.m.table.columnmenu.QuickResize`
|
|
143062
|
+
* itself
|
|
143063
|
+
*/
|
|
143064
|
+
oListener?: object
|
|
143065
|
+
): this;
|
|
143066
|
+
/**
|
|
143067
|
+
* Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.m.table.columnmenu.QuickResize`.
|
|
143068
|
+
*
|
|
143069
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
143070
|
+
*
|
|
143071
|
+
*
|
|
143072
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
143073
|
+
*/
|
|
143074
|
+
detachChange(
|
|
143075
|
+
/**
|
|
143076
|
+
* The function to be called, when the event occurs
|
|
143077
|
+
*/
|
|
143078
|
+
fnFunction: (p1: QuickResize$ChangeEvent) => void,
|
|
143079
|
+
/**
|
|
143080
|
+
* Context object on which the given function had to be called
|
|
143081
|
+
*/
|
|
143082
|
+
oListener?: object
|
|
143083
|
+
): this;
|
|
143084
|
+
/**
|
|
143085
|
+
* Fires event {@link #event:change change} to attached listeners.
|
|
143086
|
+
*
|
|
143087
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
143088
|
+
*
|
|
143089
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
143090
|
+
*/
|
|
143091
|
+
fireChange(
|
|
143092
|
+
/**
|
|
143093
|
+
* Parameters to pass along with the event
|
|
143094
|
+
*/
|
|
143095
|
+
mParameters?: QuickResize$ChangeEventParameters
|
|
143096
|
+
): this;
|
|
143097
|
+
/**
|
|
143098
|
+
* Gets current value of property {@link #getWidth width}.
|
|
143099
|
+
*
|
|
143100
|
+
* The width of the column.
|
|
143101
|
+
*
|
|
143102
|
+
* **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
|
|
143103
|
+
* have a built-in mechanism to automatically determine the value from the actual column width.
|
|
143104
|
+
*
|
|
143105
|
+
* Default value is `200`.
|
|
143106
|
+
*
|
|
143107
|
+
*
|
|
143108
|
+
* @returns Value of property `width`
|
|
143109
|
+
*/
|
|
143110
|
+
getWidth(): int;
|
|
143111
|
+
/**
|
|
143112
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
143113
|
+
*
|
|
143114
|
+
* The width of the column.
|
|
143115
|
+
*
|
|
143116
|
+
* **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
|
|
143117
|
+
* have a built-in mechanism to automatically determine the value from the actual column width.
|
|
143118
|
+
*
|
|
143119
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
143120
|
+
*
|
|
143121
|
+
* Default value is `200`.
|
|
143122
|
+
*
|
|
143123
|
+
*
|
|
143124
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
143125
|
+
*/
|
|
143126
|
+
setWidth(
|
|
143127
|
+
/**
|
|
143128
|
+
* New value for property `width`
|
|
143129
|
+
*/
|
|
143130
|
+
iWidth?: int
|
|
143131
|
+
): this;
|
|
143132
|
+
}
|
|
143133
|
+
/**
|
|
143134
|
+
* Describes the settings that can be provided to the QuickResize constructor.
|
|
143135
|
+
*/
|
|
143136
|
+
export interface $QuickResizeSettings extends $QuickActionBaseSettings {
|
|
143137
|
+
/**
|
|
143138
|
+
* The width of the column.
|
|
143139
|
+
*
|
|
143140
|
+
* **Note**: This property is used to set the initial value of the input control. The `QuickResize` doesn't
|
|
143141
|
+
* have a built-in mechanism to automatically determine the value from the actual column width.
|
|
143142
|
+
*/
|
|
143143
|
+
width?: int | PropertyBindingInfo | `{${string}}`;
|
|
143144
|
+
|
|
143145
|
+
/**
|
|
143146
|
+
* Fires the change event.
|
|
143147
|
+
*/
|
|
143148
|
+
change?: (oEvent: QuickResize$ChangeEvent) => void;
|
|
143149
|
+
}
|
|
143150
|
+
|
|
143151
|
+
/**
|
|
143152
|
+
* Parameters of the QuickResize#change event.
|
|
143153
|
+
*/
|
|
143154
|
+
export interface QuickResize$ChangeEventParameters {
|
|
143155
|
+
/**
|
|
143156
|
+
* The new width.
|
|
143157
|
+
*/
|
|
143158
|
+
width?: int;
|
|
143159
|
+
}
|
|
143160
|
+
|
|
143161
|
+
/**
|
|
143162
|
+
* Event object of the QuickResize#change event.
|
|
143163
|
+
*/
|
|
143164
|
+
export type QuickResize$ChangeEvent = Event<
|
|
143165
|
+
QuickResize$ChangeEventParameters,
|
|
143166
|
+
QuickResize
|
|
143167
|
+
>;
|
|
143168
|
+
}
|
|
143169
|
+
|
|
142113
143170
|
declare module "sap/m/table/columnmenu/QuickSort" {
|
|
142114
143171
|
import {
|
|
142115
143172
|
default as QuickActionBase,
|
|
@@ -156313,7 +157370,9 @@ declare module "sap/m/upload/Uploader" {
|
|
|
156313
157370
|
/**
|
|
156314
157371
|
* New value for property `httpRequestMethod`
|
|
156315
157372
|
*/
|
|
156316
|
-
sHttpRequestMethod?:
|
|
157373
|
+
sHttpRequestMethod?:
|
|
157374
|
+
| UploaderHttpRequestMethod
|
|
157375
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
156317
157376
|
): this;
|
|
156318
157377
|
/**
|
|
156319
157378
|
* Sets a new value for property {@link #getUploadUrl uploadUrl}.
|
|
@@ -156396,7 +157455,7 @@ declare module "sap/m/upload/Uploader" {
|
|
|
156396
157455
|
* @since 1.90
|
|
156397
157456
|
*/
|
|
156398
157457
|
httpRequestMethod?:
|
|
156399
|
-
| UploaderHttpRequestMethod
|
|
157458
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
156400
157459
|
| PropertyBindingInfo
|
|
156401
157460
|
| `{${string}}`;
|
|
156402
157461
|
|
|
@@ -156540,11 +157599,11 @@ declare module "sap/m/upload/UploaderHttpRequestMethod" {
|
|
|
156540
157599
|
/**
|
|
156541
157600
|
* HTTP request POST method.
|
|
156542
157601
|
*/
|
|
156543
|
-
Post = "
|
|
157602
|
+
Post = "Post",
|
|
156544
157603
|
/**
|
|
156545
157604
|
* HTTP request PUT method.
|
|
156546
157605
|
*/
|
|
156547
|
-
Put = "
|
|
157606
|
+
Put = "Put",
|
|
156548
157607
|
}
|
|
156549
157608
|
export default UploaderHttpRequestMethod;
|
|
156550
157609
|
}
|
|
@@ -157048,7 +158107,9 @@ declare module "sap/m/upload/UploaderTableItem" {
|
|
|
157048
158107
|
/**
|
|
157049
158108
|
* New value for property `httpRequestMethod`
|
|
157050
158109
|
*/
|
|
157051
|
-
sHttpRequestMethod?:
|
|
158110
|
+
sHttpRequestMethod?:
|
|
158111
|
+
| UploaderHttpRequestMethod
|
|
158112
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
157052
158113
|
): this;
|
|
157053
158114
|
/**
|
|
157054
158115
|
* Sets a new value for property {@link #getUploadUrl uploadUrl}.
|
|
@@ -157126,7 +158187,7 @@ declare module "sap/m/upload/UploaderTableItem" {
|
|
|
157126
158187
|
* HTTP request method chosen for file upload.
|
|
157127
158188
|
*/
|
|
157128
158189
|
httpRequestMethod?:
|
|
157129
|
-
| UploaderHttpRequestMethod
|
|
158190
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
157130
158191
|
| PropertyBindingInfo
|
|
157131
158192
|
| `{${string}}`;
|
|
157132
158193
|
|
|
@@ -157582,6 +158643,18 @@ declare module "sap/m/upload/UploadItem" {
|
|
|
157582
158643
|
* Header fields to be included in the header section of an XMLHttpRequest (XHR) request
|
|
157583
158644
|
*/
|
|
157584
158645
|
getHeaderFields(): Item[];
|
|
158646
|
+
/**
|
|
158647
|
+
* Gets current value of property {@link #getIsDirectory isDirectory}.
|
|
158648
|
+
*
|
|
158649
|
+
* Specifies whether the item is a file or a directory. Used mainly for plugin with the tree table structure.
|
|
158650
|
+
*
|
|
158651
|
+
* Default value is `false`.
|
|
158652
|
+
*
|
|
158653
|
+
* @since 1.139
|
|
158654
|
+
*
|
|
158655
|
+
* @returns Value of property `isDirectory`
|
|
158656
|
+
*/
|
|
158657
|
+
getIsDirectory(): boolean;
|
|
157585
158658
|
/**
|
|
157586
158659
|
* Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
|
|
157587
158660
|
*
|
|
@@ -157737,6 +158810,25 @@ declare module "sap/m/upload/UploadItem" {
|
|
|
157737
158810
|
*/
|
|
157738
158811
|
fFileSize?: float
|
|
157739
158812
|
): this;
|
|
158813
|
+
/**
|
|
158814
|
+
* Sets a new value for property {@link #getIsDirectory isDirectory}.
|
|
158815
|
+
*
|
|
158816
|
+
* Specifies whether the item is a file or a directory. Used mainly for plugin with the tree table structure.
|
|
158817
|
+
*
|
|
158818
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
158819
|
+
*
|
|
158820
|
+
* Default value is `false`.
|
|
158821
|
+
*
|
|
158822
|
+
* @since 1.139
|
|
158823
|
+
*
|
|
158824
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
158825
|
+
*/
|
|
158826
|
+
setIsDirectory(
|
|
158827
|
+
/**
|
|
158828
|
+
* New value for property `isDirectory`
|
|
158829
|
+
*/
|
|
158830
|
+
bIsDirectory?: boolean
|
|
158831
|
+
): this;
|
|
157740
158832
|
/**
|
|
157741
158833
|
* Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
|
|
157742
158834
|
*
|
|
@@ -157900,6 +158992,13 @@ declare module "sap/m/upload/UploadItem" {
|
|
|
157900
158992
|
*/
|
|
157901
158993
|
isTrustedSource?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
157902
158994
|
|
|
158995
|
+
/**
|
|
158996
|
+
* Specifies whether the item is a file or a directory. Used mainly for plugin with the tree table structure.
|
|
158997
|
+
*
|
|
158998
|
+
* @since 1.139
|
|
158999
|
+
*/
|
|
159000
|
+
isDirectory?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
159001
|
+
|
|
157903
159002
|
/**
|
|
157904
159003
|
* Header fields to be included in the header section of an XMLHttpRequest (XHR) request
|
|
157905
159004
|
*/
|
|
@@ -158061,6 +159160,19 @@ declare module "sap/m/upload/UploadItemConfiguration" {
|
|
|
158061
159160
|
* @returns Value of property `fileSizePath`
|
|
158062
159161
|
*/
|
|
158063
159162
|
getFileSizePath(): string;
|
|
159163
|
+
/**
|
|
159164
|
+
* Gets current value of property {@link #getIsDirectoryPath isDirectoryPath}.
|
|
159165
|
+
*
|
|
159166
|
+
* Specifies the path in the model to confirm if it is a file or a directory. This is used to determine
|
|
159167
|
+
* if the context is file or a directory. If it is a directory, it cannot be previewed. Set this property
|
|
159168
|
+
* to the path in the model to determine if it is a file or a directory. The value of this path evaluated
|
|
159169
|
+
* should be boolean.
|
|
159170
|
+
*
|
|
159171
|
+
* @since 1.139
|
|
159172
|
+
*
|
|
159173
|
+
* @returns Value of property `isDirectoryPath`
|
|
159174
|
+
*/
|
|
159175
|
+
getIsDirectoryPath(): string;
|
|
158064
159176
|
/**
|
|
158065
159177
|
* Gets current value of property {@link #getIsTrustedSourcePath isTrustedSourcePath}.
|
|
158066
159178
|
*
|
|
@@ -158142,6 +159254,26 @@ declare module "sap/m/upload/UploadItemConfiguration" {
|
|
|
158142
159254
|
*/
|
|
158143
159255
|
sFileSizePath?: string
|
|
158144
159256
|
): this;
|
|
159257
|
+
/**
|
|
159258
|
+
* Sets a new value for property {@link #getIsDirectoryPath isDirectoryPath}.
|
|
159259
|
+
*
|
|
159260
|
+
* Specifies the path in the model to confirm if it is a file or a directory. This is used to determine
|
|
159261
|
+
* if the context is file or a directory. If it is a directory, it cannot be previewed. Set this property
|
|
159262
|
+
* to the path in the model to determine if it is a file or a directory. The value of this path evaluated
|
|
159263
|
+
* should be boolean.
|
|
159264
|
+
*
|
|
159265
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
159266
|
+
*
|
|
159267
|
+
* @since 1.139
|
|
159268
|
+
*
|
|
159269
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
159270
|
+
*/
|
|
159271
|
+
setIsDirectoryPath(
|
|
159272
|
+
/**
|
|
159273
|
+
* New value for property `isDirectoryPath`
|
|
159274
|
+
*/
|
|
159275
|
+
sIsDirectoryPath?: string
|
|
159276
|
+
): this;
|
|
158145
159277
|
/**
|
|
158146
159278
|
* Sets a new value for property {@link #getIsTrustedSourcePath isTrustedSourcePath}.
|
|
158147
159279
|
*
|
|
@@ -158270,6 +159402,16 @@ declare module "sap/m/upload/UploadItemConfiguration" {
|
|
|
158270
159402
|
* @since 1.125
|
|
158271
159403
|
*/
|
|
158272
159404
|
isTrustedSourcePath?: string | PropertyBindingInfo;
|
|
159405
|
+
|
|
159406
|
+
/**
|
|
159407
|
+
* Specifies the path in the model to confirm if it is a file or a directory. This is used to determine
|
|
159408
|
+
* if the context is file or a directory. If it is a directory, it cannot be previewed. Set this property
|
|
159409
|
+
* to the path in the model to determine if it is a file or a directory. The value of this path evaluated
|
|
159410
|
+
* should be boolean.
|
|
159411
|
+
*
|
|
159412
|
+
* @since 1.139
|
|
159413
|
+
*/
|
|
159414
|
+
isDirectoryPath?: string | PropertyBindingInfo;
|
|
158273
159415
|
}
|
|
158274
159416
|
}
|
|
158275
159417
|
|
|
@@ -160652,7 +161794,9 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
160652
161794
|
/**
|
|
160653
161795
|
* New value for property `httpRequestMethod`
|
|
160654
161796
|
*/
|
|
160655
|
-
sHttpRequestMethod?:
|
|
161797
|
+
sHttpRequestMethod?:
|
|
161798
|
+
| UploaderHttpRequestMethod
|
|
161799
|
+
| keyof typeof UploaderHttpRequestMethod
|
|
160656
161800
|
): this;
|
|
160657
161801
|
/**
|
|
160658
161802
|
* Sets the aggregated {@link #getIllustratedMessage illustratedMessage}.
|
|
@@ -161133,7 +162277,7 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
161133
162277
|
* @since 1.90
|
|
161134
162278
|
*/
|
|
161135
162279
|
httpRequestMethod?:
|
|
161136
|
-
| UploaderHttpRequestMethod
|
|
162280
|
+
| (UploaderHttpRequestMethod | keyof typeof UploaderHttpRequestMethod)
|
|
161137
162281
|
| PropertyBindingInfo
|
|
161138
162282
|
| `{${string}}`;
|
|
161139
162283
|
|
|
@@ -167138,7 +168282,7 @@ declare module "sap/m/VariantItem" {
|
|
|
167138
168282
|
/**
|
|
167139
168283
|
* New value for property `sharing`
|
|
167140
168284
|
*/
|
|
167141
|
-
sSharing?: SharingMode
|
|
168285
|
+
sSharing?: SharingMode | keyof typeof SharingMode
|
|
167142
168286
|
): this;
|
|
167143
168287
|
/**
|
|
167144
168288
|
* Sets a new value for property {@link #getTitle title}.
|
|
@@ -167187,7 +168331,10 @@ declare module "sap/m/VariantItem" {
|
|
|
167187
168331
|
/**
|
|
167188
168332
|
* Contains the information is the item is public or private.
|
|
167189
168333
|
*/
|
|
167190
|
-
sharing?:
|
|
168334
|
+
sharing?:
|
|
168335
|
+
| (SharingMode | keyof typeof SharingMode)
|
|
168336
|
+
| PropertyBindingInfo
|
|
168337
|
+
| `{${string}}`;
|
|
167191
168338
|
|
|
167192
168339
|
/**
|
|
167193
168340
|
* Indicates if the item is removable.
|
|
@@ -172231,6 +173378,10 @@ declare namespace sap {
|
|
|
172231
173378
|
|
|
172232
173379
|
"sap/m/ListBase": undefined;
|
|
172233
173380
|
|
|
173381
|
+
"sap/m/ListItemAction": undefined;
|
|
173382
|
+
|
|
173383
|
+
"sap/m/ListItemActionBase": undefined;
|
|
173384
|
+
|
|
172234
173385
|
"sap/m/ListItemBase": undefined;
|
|
172235
173386
|
|
|
172236
173387
|
"sap/m/MaskInput": undefined;
|
|
@@ -172305,6 +173456,8 @@ declare namespace sap {
|
|
|
172305
173456
|
|
|
172306
173457
|
"sap/m/OverflowToolbarToggleButton": undefined;
|
|
172307
173458
|
|
|
173459
|
+
"sap/m/OverflowToolbarTokenizer": undefined;
|
|
173460
|
+
|
|
172308
173461
|
"sap/m/p13n/AbstractContainer": undefined;
|
|
172309
173462
|
|
|
172310
173463
|
"sap/m/p13n/AbstractContainerItem": undefined;
|
|
@@ -172605,6 +173758,8 @@ declare namespace sap {
|
|
|
172605
173758
|
|
|
172606
173759
|
"sap/m/table/columnmenu/QuickGroupItem": undefined;
|
|
172607
173760
|
|
|
173761
|
+
"sap/m/table/columnmenu/QuickResize": undefined;
|
|
173762
|
+
|
|
172608
173763
|
"sap/m/table/columnmenu/QuickSort": undefined;
|
|
172609
173764
|
|
|
172610
173765
|
"sap/m/table/columnmenu/QuickSortItem": undefined;
|