@openui5/ts-types 1.138.0 → 1.139.1
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 +1 -1
- package/package.json +1 -1
- package/types/sap.f.d.ts +5 -5
- package/types/sap.m.d.ts +480 -19
- package/types/sap.tnt.d.ts +1 -1
- 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 +113 -31
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +57 -20
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +16 -2
- 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 +1 -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.1
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -5412,6 +5412,7 @@ declare namespace sap {
|
|
|
5412
5412
|
* - {@link sap.ui.mdc.Table MDC Table}
|
|
5413
5413
|
* - {@link sap.m.Table Responsive Table}
|
|
5414
5414
|
* - {@link sap.m.GridTable Grid Table}
|
|
5415
|
+
* - {@link sap.ui.table.TreeTable Tree Table}
|
|
5415
5416
|
*
|
|
5416
5417
|
* Consider the following before using the plugin:
|
|
5417
5418
|
* - It gets activated when it is added as a dependent to the table control. It gets deactivated when
|
|
@@ -5420,6 +5421,9 @@ declare namespace sap {
|
|
|
5420
5421
|
*
|
|
5421
5422
|
* - Configuring the rowConfiguration aggregation (type {@link sap.m.upload.UploadItemConfiguration UploadItemConfiguration})
|
|
5422
5423
|
* of this plugin is mandatory to use the features such as file preview, download etc.
|
|
5424
|
+
* - For the plugin to work with the tree table control, the isDirectoryPath property of the rowConfiguration
|
|
5425
|
+
* aggregation must be set. This indicates if the context of the row is a directory or a file. It helps
|
|
5426
|
+
* the plugin with the file preview feature.
|
|
5423
5427
|
* - It works only with the table control when the table is bound to the model to perform the operations
|
|
5424
5428
|
* such as rename, download etc.
|
|
5425
5429
|
*
|
|
@@ -18480,6 +18484,16 @@ declare namespace sap {
|
|
|
18480
18484
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
18481
18485
|
| `{${string}}`;
|
|
18482
18486
|
|
|
18487
|
+
/**
|
|
18488
|
+
* Specifies whether the item is a file or a directory. Used mainly for plugin with the tree table structure.
|
|
18489
|
+
*
|
|
18490
|
+
* @since 1.139
|
|
18491
|
+
*/
|
|
18492
|
+
isDirectory?:
|
|
18493
|
+
| boolean
|
|
18494
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
18495
|
+
| `{${string}}`;
|
|
18496
|
+
|
|
18483
18497
|
/**
|
|
18484
18498
|
* Header fields to be included in the header section of an XMLHttpRequest (XHR) request
|
|
18485
18499
|
*/
|
|
@@ -18548,6 +18562,18 @@ declare namespace sap {
|
|
|
18548
18562
|
isTrustedSourcePath?:
|
|
18549
18563
|
| string
|
|
18550
18564
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
18565
|
+
|
|
18566
|
+
/**
|
|
18567
|
+
* Specifies the path in the model to confirm if it is a file or a directory. This is used to determine
|
|
18568
|
+
* if the context is file or a directory. If it is a directory, it cannot be previewed. Set this property
|
|
18569
|
+
* to the path in the model to determine if it is a file or a directory. The value of this path evaluated
|
|
18570
|
+
* should be boolean.
|
|
18571
|
+
*
|
|
18572
|
+
* @since 1.139
|
|
18573
|
+
*/
|
|
18574
|
+
isDirectoryPath?:
|
|
18575
|
+
| string
|
|
18576
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
18551
18577
|
}
|
|
18552
18578
|
|
|
18553
18579
|
/**
|
|
@@ -21564,6 +21590,18 @@ declare namespace sap {
|
|
|
21564
21590
|
* Header fields to be included in the header section of an XMLHttpRequest (XHR) request
|
|
21565
21591
|
*/
|
|
21566
21592
|
getHeaderFields(): sap.ui.core.Item[];
|
|
21593
|
+
/**
|
|
21594
|
+
* Gets current value of property {@link #getIsDirectory isDirectory}.
|
|
21595
|
+
*
|
|
21596
|
+
* Specifies whether the item is a file or a directory. Used mainly for plugin with the tree table structure.
|
|
21597
|
+
*
|
|
21598
|
+
* Default value is `false`.
|
|
21599
|
+
*
|
|
21600
|
+
* @since 1.139
|
|
21601
|
+
*
|
|
21602
|
+
* @returns Value of property `isDirectory`
|
|
21603
|
+
*/
|
|
21604
|
+
getIsDirectory(): boolean;
|
|
21567
21605
|
/**
|
|
21568
21606
|
* Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
|
|
21569
21607
|
*
|
|
@@ -21719,6 +21757,25 @@ declare namespace sap {
|
|
|
21719
21757
|
*/
|
|
21720
21758
|
fFileSize?: float
|
|
21721
21759
|
): this;
|
|
21760
|
+
/**
|
|
21761
|
+
* Sets a new value for property {@link #getIsDirectory isDirectory}.
|
|
21762
|
+
*
|
|
21763
|
+
* Specifies whether the item is a file or a directory. Used mainly for plugin with the tree table structure.
|
|
21764
|
+
*
|
|
21765
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21766
|
+
*
|
|
21767
|
+
* Default value is `false`.
|
|
21768
|
+
*
|
|
21769
|
+
* @since 1.139
|
|
21770
|
+
*
|
|
21771
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21772
|
+
*/
|
|
21773
|
+
setIsDirectory(
|
|
21774
|
+
/**
|
|
21775
|
+
* New value for property `isDirectory`
|
|
21776
|
+
*/
|
|
21777
|
+
bIsDirectory?: boolean
|
|
21778
|
+
): this;
|
|
21722
21779
|
/**
|
|
21723
21780
|
* Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
|
|
21724
21781
|
*
|
|
@@ -21925,6 +21982,19 @@ declare namespace sap {
|
|
|
21925
21982
|
* @returns Value of property `fileSizePath`
|
|
21926
21983
|
*/
|
|
21927
21984
|
getFileSizePath(): string;
|
|
21985
|
+
/**
|
|
21986
|
+
* Gets current value of property {@link #getIsDirectoryPath isDirectoryPath}.
|
|
21987
|
+
*
|
|
21988
|
+
* Specifies the path in the model to confirm if it is a file or a directory. This is used to determine
|
|
21989
|
+
* if the context is file or a directory. If it is a directory, it cannot be previewed. Set this property
|
|
21990
|
+
* to the path in the model to determine if it is a file or a directory. The value of this path evaluated
|
|
21991
|
+
* should be boolean.
|
|
21992
|
+
*
|
|
21993
|
+
* @since 1.139
|
|
21994
|
+
*
|
|
21995
|
+
* @returns Value of property `isDirectoryPath`
|
|
21996
|
+
*/
|
|
21997
|
+
getIsDirectoryPath(): string;
|
|
21928
21998
|
/**
|
|
21929
21999
|
* Gets current value of property {@link #getIsTrustedSourcePath isTrustedSourcePath}.
|
|
21930
22000
|
*
|
|
@@ -22006,6 +22076,26 @@ declare namespace sap {
|
|
|
22006
22076
|
*/
|
|
22007
22077
|
sFileSizePath?: string
|
|
22008
22078
|
): this;
|
|
22079
|
+
/**
|
|
22080
|
+
* Sets a new value for property {@link #getIsDirectoryPath isDirectoryPath}.
|
|
22081
|
+
*
|
|
22082
|
+
* Specifies the path in the model to confirm if it is a file or a directory. This is used to determine
|
|
22083
|
+
* if the context is file or a directory. If it is a directory, it cannot be previewed. Set this property
|
|
22084
|
+
* to the path in the model to determine if it is a file or a directory. The value of this path evaluated
|
|
22085
|
+
* should be boolean.
|
|
22086
|
+
*
|
|
22087
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22088
|
+
*
|
|
22089
|
+
* @since 1.139
|
|
22090
|
+
*
|
|
22091
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22092
|
+
*/
|
|
22093
|
+
setIsDirectoryPath(
|
|
22094
|
+
/**
|
|
22095
|
+
* New value for property `isDirectoryPath`
|
|
22096
|
+
*/
|
|
22097
|
+
sIsDirectoryPath?: string
|
|
22098
|
+
): this;
|
|
22009
22099
|
/**
|
|
22010
22100
|
* Sets a new value for property {@link #getIsTrustedSourcePath isTrustedSourcePath}.
|
|
22011
22101
|
*
|
|
@@ -29929,6 +30019,20 @@ declare namespace sap {
|
|
|
29929
30019
|
| string
|
|
29930
30020
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
29931
30021
|
|
|
30022
|
+
/**
|
|
30023
|
+
* Defines the actions that are displayed next to the text area. These buttons can be used to trigger actions,
|
|
30024
|
+
* such as attaching a file. This is a {@link sap.m.Button} If the actions are not set, the post button
|
|
30025
|
+
* is displayed as the last control in the feed input. **Note:** Only `sap.m.Button` is supported for this
|
|
30026
|
+
* aggregation. If another control is provided, an error is logged and actions are ignored.
|
|
30027
|
+
*
|
|
30028
|
+
* @since 1.139
|
|
30029
|
+
*/
|
|
30030
|
+
actions?:
|
|
30031
|
+
| sap.ui.core.Control[]
|
|
30032
|
+
| sap.ui.core.Control
|
|
30033
|
+
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
30034
|
+
| `{${string}}`;
|
|
30035
|
+
|
|
29932
30036
|
/**
|
|
29933
30037
|
* The Post event is triggered when the user has entered a value and pressed the post button. After firing
|
|
29934
30038
|
* this event, the value is reset.
|
|
@@ -36408,6 +36512,36 @@ declare namespace sap {
|
|
|
36408
36512
|
interface $OverflowToolbarToggleButtonSettings
|
|
36409
36513
|
extends sap.m.$ToggleButtonSettings {}
|
|
36410
36514
|
|
|
36515
|
+
/**
|
|
36516
|
+
* Describes the settings that can be provided to the OverflowToolbarTokenizer constructor.
|
|
36517
|
+
*
|
|
36518
|
+
* @experimental As of version 1.139.
|
|
36519
|
+
*/
|
|
36520
|
+
interface $OverflowToolbarTokenizerSettings extends sap.m.$ButtonSettings {
|
|
36521
|
+
/**
|
|
36522
|
+
* Property for the text of a sap.m.Label displayed with sap.m.OverflowToolbarTokenizer. It is also displayed
|
|
36523
|
+
* as an n-More button text when used inside a `sap.m.OverflowToolbar`.
|
|
36524
|
+
*/
|
|
36525
|
+
labelText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
36526
|
+
|
|
36527
|
+
/**
|
|
36528
|
+
* Defines the mode that the OverflowToolbarTokenizer will use:
|
|
36529
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Loose` mode shows all tokens, no matter the width of the
|
|
36530
|
+
* Tokenizer
|
|
36531
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Narrow` mode restricts the tokenizer to display only the
|
|
36532
|
+
* maximum number of tokens that fit within its width, adding an n-More indicator for the remaining tokens
|
|
36533
|
+
*
|
|
36534
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Overflow` mode forces the tokenizer to show only `sap.m.Button`
|
|
36535
|
+
* as an n-More indicator without visible tokens. It is used when `sap.m.OverflowToolbarTokenizer` is within
|
|
36536
|
+
* the `sap.m.OverflowToolbar` overflow area
|
|
36537
|
+
*
|
|
36538
|
+
* **Note**: Have in mind that the `renderMode` property is used internally by the OverflowToolbarTokenizer
|
|
36539
|
+
* and controls that use the OverflowToolbarTokenizer. Therefore, modifying this property may alter the
|
|
36540
|
+
* expected behavior of the control.
|
|
36541
|
+
*/
|
|
36542
|
+
renderMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
36543
|
+
}
|
|
36544
|
+
|
|
36411
36545
|
/**
|
|
36412
36546
|
* Describes the settings that can be provided to the P13nColumnsItem constructor.
|
|
36413
36547
|
*
|
|
@@ -72056,6 +72190,19 @@ declare namespace sap {
|
|
|
72056
72190
|
* @returns Metadata object describing this class
|
|
72057
72191
|
*/
|
|
72058
72192
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
72193
|
+
/**
|
|
72194
|
+
* Adds some action to the aggregation {@link #getActions actions}.
|
|
72195
|
+
*
|
|
72196
|
+
* @since 1.139
|
|
72197
|
+
*
|
|
72198
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
72199
|
+
*/
|
|
72200
|
+
addAction(
|
|
72201
|
+
/**
|
|
72202
|
+
* The action to add; if empty, nothing is inserted
|
|
72203
|
+
*/
|
|
72204
|
+
oAction: sap.ui.core.Control
|
|
72205
|
+
): this;
|
|
72059
72206
|
/**
|
|
72060
72207
|
* Attaches event handler `fnFunction` to the {@link #event:post post} event of this `sap.m.FeedInput`.
|
|
72061
72208
|
*
|
|
@@ -72105,6 +72252,14 @@ declare namespace sap {
|
|
|
72105
72252
|
*/
|
|
72106
72253
|
oListener?: object
|
|
72107
72254
|
): this;
|
|
72255
|
+
/**
|
|
72256
|
+
* Destroys all the actions in the aggregation {@link #getActions actions}.
|
|
72257
|
+
*
|
|
72258
|
+
* @since 1.139
|
|
72259
|
+
*
|
|
72260
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
72261
|
+
*/
|
|
72262
|
+
destroyActions(): this;
|
|
72108
72263
|
/**
|
|
72109
72264
|
* Detaches event handler `fnFunction` from the {@link #event:post post} event of this `sap.m.FeedInput`.
|
|
72110
72265
|
*
|
|
@@ -72136,6 +72291,17 @@ declare namespace sap {
|
|
|
72136
72291
|
*/
|
|
72137
72292
|
mParameters?: sap.m.FeedInput$PostEventParameters
|
|
72138
72293
|
): this;
|
|
72294
|
+
/**
|
|
72295
|
+
* Gets content of aggregation {@link #getActions actions}.
|
|
72296
|
+
*
|
|
72297
|
+
* Defines the actions that are displayed next to the text area. These buttons can be used to trigger actions,
|
|
72298
|
+
* such as attaching a file. This is a {@link sap.m.Button} If the actions are not set, the post button
|
|
72299
|
+
* is displayed as the last control in the feed input. **Note:** Only `sap.m.Button` is supported for this
|
|
72300
|
+
* aggregation. If another control is provided, an error is logged and actions are ignored.
|
|
72301
|
+
*
|
|
72302
|
+
* @since 1.139
|
|
72303
|
+
*/
|
|
72304
|
+
getActions(): sap.ui.core.Control[];
|
|
72139
72305
|
/**
|
|
72140
72306
|
* Gets current value of property {@link #getAriaLabelForPicture ariaLabelForPicture}.
|
|
72141
72307
|
*
|
|
@@ -72334,6 +72500,62 @@ declare namespace sap {
|
|
|
72334
72500
|
* @returns Value of property `value`
|
|
72335
72501
|
*/
|
|
72336
72502
|
getValue(): string;
|
|
72503
|
+
/**
|
|
72504
|
+
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getActions actions}. and returns
|
|
72505
|
+
* its index if found or -1 otherwise.
|
|
72506
|
+
*
|
|
72507
|
+
* @since 1.139
|
|
72508
|
+
*
|
|
72509
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
72510
|
+
*/
|
|
72511
|
+
indexOfAction(
|
|
72512
|
+
/**
|
|
72513
|
+
* The action whose index is looked for
|
|
72514
|
+
*/
|
|
72515
|
+
oAction: sap.ui.core.Control
|
|
72516
|
+
): int;
|
|
72517
|
+
/**
|
|
72518
|
+
* Inserts a action into the aggregation {@link #getActions actions}.
|
|
72519
|
+
*
|
|
72520
|
+
* @since 1.139
|
|
72521
|
+
*
|
|
72522
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
72523
|
+
*/
|
|
72524
|
+
insertAction(
|
|
72525
|
+
/**
|
|
72526
|
+
* The action to insert; if empty, nothing is inserted
|
|
72527
|
+
*/
|
|
72528
|
+
oAction: sap.ui.core.Control,
|
|
72529
|
+
/**
|
|
72530
|
+
* The `0`-based index the action should be inserted at; for a negative value of `iIndex`, the action is
|
|
72531
|
+
* inserted at position 0; for a value greater than the current size of the aggregation, the action is inserted
|
|
72532
|
+
* at the last position
|
|
72533
|
+
*/
|
|
72534
|
+
iIndex: int
|
|
72535
|
+
): this;
|
|
72536
|
+
/**
|
|
72537
|
+
* Removes a action from the aggregation {@link #getActions actions}.
|
|
72538
|
+
*
|
|
72539
|
+
* @since 1.139
|
|
72540
|
+
*
|
|
72541
|
+
* @returns The removed action or `null`
|
|
72542
|
+
*/
|
|
72543
|
+
removeAction(
|
|
72544
|
+
/**
|
|
72545
|
+
* The action to remove or its index or id
|
|
72546
|
+
*/
|
|
72547
|
+
vAction: int | string | sap.ui.core.Control
|
|
72548
|
+
): sap.ui.core.Control | null;
|
|
72549
|
+
/**
|
|
72550
|
+
* Removes all the controls from the aggregation {@link #getActions actions}.
|
|
72551
|
+
*
|
|
72552
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
72553
|
+
*
|
|
72554
|
+
* @since 1.139
|
|
72555
|
+
*
|
|
72556
|
+
* @returns An array of the removed elements (might be empty)
|
|
72557
|
+
*/
|
|
72558
|
+
removeAllActions(): sap.ui.core.Control[];
|
|
72337
72559
|
/**
|
|
72338
72560
|
* Sets a new value for property {@link #getAriaLabelForPicture ariaLabelForPicture}.
|
|
72339
72561
|
*
|
|
@@ -106650,6 +106872,7 @@ declare namespace sap {
|
|
|
106650
106872
|
* - {@link sap.m.SegmentedButton}
|
|
106651
106873
|
* - {@link sap.m.Select}
|
|
106652
106874
|
* - {@link sap.m.TimePicker}
|
|
106875
|
+
* - {@link sap.m.OverflowToolbarTokenizer}
|
|
106653
106876
|
* - {@link sap.m.ToggleButton}
|
|
106654
106877
|
* - {@link sap.m.ToolbarSeparator}
|
|
106655
106878
|
* - {@link sap.ui.comp.smartfield.SmartField}
|
|
@@ -107239,6 +107462,165 @@ declare namespace sap {
|
|
|
107239
107462
|
*/
|
|
107240
107463
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
107241
107464
|
}
|
|
107465
|
+
/**
|
|
107466
|
+
* Represents an {@link sap.m.Button} that shows its text only when in the overflow area of an {@link sap.m.OverflowToolbar}.
|
|
107467
|
+
*
|
|
107468
|
+
* **Note:** This control is intended to be used exclusively in the context of `sap.m.Toolbar` and `sap.m.OverflowToolbar`.
|
|
107469
|
+
* Using more than one tokenizer in the same toolbar is not recomended, as it may lead to unexpected behavior.
|
|
107470
|
+
* Do not use tokenizers within a toolbar if its active property is set to `true`.
|
|
107471
|
+
*
|
|
107472
|
+
* @since 1.139
|
|
107473
|
+
* @experimental As of version 1.139.
|
|
107474
|
+
*/
|
|
107475
|
+
class OverflowToolbarTokenizer
|
|
107476
|
+
extends sap.m.Button
|
|
107477
|
+
implements sap.m.IOverflowToolbarContent, sap.m.IToolbarInteractiveControl
|
|
107478
|
+
{
|
|
107479
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
107480
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
107481
|
+
/**
|
|
107482
|
+
* Constructor for a new `OverflowToolbarTokenizer`.
|
|
107483
|
+
*
|
|
107484
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
107485
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
107486
|
+
* of the syntax of the settings object.
|
|
107487
|
+
*/
|
|
107488
|
+
constructor(
|
|
107489
|
+
/**
|
|
107490
|
+
* Initial settings for the new control
|
|
107491
|
+
*/
|
|
107492
|
+
mSettings?: sap.m.$OverflowToolbarTokenizerSettings
|
|
107493
|
+
);
|
|
107494
|
+
/**
|
|
107495
|
+
* Constructor for a new `OverflowToolbarTokenizer`.
|
|
107496
|
+
*
|
|
107497
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
107498
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
107499
|
+
* of the syntax of the settings object.
|
|
107500
|
+
*/
|
|
107501
|
+
constructor(
|
|
107502
|
+
/**
|
|
107503
|
+
* ID for the new control, generated automatically if no ID is given
|
|
107504
|
+
*/
|
|
107505
|
+
sId?: string,
|
|
107506
|
+
/**
|
|
107507
|
+
* Initial settings for the new control
|
|
107508
|
+
*/
|
|
107509
|
+
mSettings?: sap.m.$OverflowToolbarTokenizerSettings
|
|
107510
|
+
);
|
|
107511
|
+
|
|
107512
|
+
/**
|
|
107513
|
+
* Creates a new subclass of class sap.m.OverflowToolbarTokenizer with name `sClassName` and enriches it
|
|
107514
|
+
* with the information contained in `oClassInfo`.
|
|
107515
|
+
*
|
|
107516
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.m.Button.extend}.
|
|
107517
|
+
*
|
|
107518
|
+
*
|
|
107519
|
+
* @returns Created class / constructor function
|
|
107520
|
+
*/
|
|
107521
|
+
static extend<T extends Record<string, unknown>>(
|
|
107522
|
+
/**
|
|
107523
|
+
* Name of the class being created
|
|
107524
|
+
*/
|
|
107525
|
+
sClassName: string,
|
|
107526
|
+
/**
|
|
107527
|
+
* Object literal with information about the class
|
|
107528
|
+
*/
|
|
107529
|
+
oClassInfo?: sap.ClassInfo<T, sap.m.OverflowToolbarTokenizer>,
|
|
107530
|
+
/**
|
|
107531
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
107532
|
+
* used by this class
|
|
107533
|
+
*/
|
|
107534
|
+
FNMetaImpl?: Function
|
|
107535
|
+
): Function;
|
|
107536
|
+
/**
|
|
107537
|
+
* Returns a metadata object for class sap.m.OverflowToolbarTokenizer.
|
|
107538
|
+
*
|
|
107539
|
+
*
|
|
107540
|
+
* @returns Metadata object describing this class
|
|
107541
|
+
*/
|
|
107542
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
107543
|
+
/**
|
|
107544
|
+
* Gets current value of property {@link #getLabelText labelText}.
|
|
107545
|
+
*
|
|
107546
|
+
* Property for the text of a sap.m.Label displayed with sap.m.OverflowToolbarTokenizer. It is also displayed
|
|
107547
|
+
* as an n-More button text when used inside a `sap.m.OverflowToolbar`.
|
|
107548
|
+
*
|
|
107549
|
+
*
|
|
107550
|
+
* @returns Value of property `labelText`
|
|
107551
|
+
*/
|
|
107552
|
+
getLabelText(): string;
|
|
107553
|
+
/**
|
|
107554
|
+
* Gets current value of property {@link #getRenderMode renderMode}.
|
|
107555
|
+
*
|
|
107556
|
+
* Defines the mode that the OverflowToolbarTokenizer will use:
|
|
107557
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Loose` mode shows all tokens, no matter the width of the
|
|
107558
|
+
* Tokenizer
|
|
107559
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Narrow` mode restricts the tokenizer to display only the
|
|
107560
|
+
* maximum number of tokens that fit within its width, adding an n-More indicator for the remaining tokens
|
|
107561
|
+
*
|
|
107562
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Overflow` mode forces the tokenizer to show only `sap.m.Button`
|
|
107563
|
+
* as an n-More indicator without visible tokens. It is used when `sap.m.OverflowToolbarTokenizer` is within
|
|
107564
|
+
* the `sap.m.OverflowToolbar` overflow area
|
|
107565
|
+
*
|
|
107566
|
+
* **Note**: Have in mind that the `renderMode` property is used internally by the OverflowToolbarTokenizer
|
|
107567
|
+
* and controls that use the OverflowToolbarTokenizer. Therefore, modifying this property may alter the
|
|
107568
|
+
* expected behavior of the control.
|
|
107569
|
+
*
|
|
107570
|
+
* Default value is `RenderMode.Narrow`.
|
|
107571
|
+
*
|
|
107572
|
+
*
|
|
107573
|
+
* @returns Value of property `renderMode`
|
|
107574
|
+
*/
|
|
107575
|
+
getRenderMode(): string;
|
|
107576
|
+
/**
|
|
107577
|
+
* Sets a new value for property {@link #getLabelText labelText}.
|
|
107578
|
+
*
|
|
107579
|
+
* Property for the text of a sap.m.Label displayed with sap.m.OverflowToolbarTokenizer. It is also displayed
|
|
107580
|
+
* as an n-More button text when used inside a `sap.m.OverflowToolbar`.
|
|
107581
|
+
*
|
|
107582
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
107583
|
+
*
|
|
107584
|
+
*
|
|
107585
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
107586
|
+
*/
|
|
107587
|
+
setLabelText(
|
|
107588
|
+
/**
|
|
107589
|
+
* New value for property `labelText`
|
|
107590
|
+
*/
|
|
107591
|
+
sLabelText?: string
|
|
107592
|
+
): this;
|
|
107593
|
+
/**
|
|
107594
|
+
* Sets a new value for property {@link #getRenderMode renderMode}.
|
|
107595
|
+
*
|
|
107596
|
+
* Defines the mode that the OverflowToolbarTokenizer will use:
|
|
107597
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Loose` mode shows all tokens, no matter the width of the
|
|
107598
|
+
* Tokenizer
|
|
107599
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Narrow` mode restricts the tokenizer to display only the
|
|
107600
|
+
* maximum number of tokens that fit within its width, adding an n-More indicator for the remaining tokens
|
|
107601
|
+
*
|
|
107602
|
+
* - `sap.m.OverflowToolbarTokenizerRenderMode.Overflow` mode forces the tokenizer to show only `sap.m.Button`
|
|
107603
|
+
* as an n-More indicator without visible tokens. It is used when `sap.m.OverflowToolbarTokenizer` is within
|
|
107604
|
+
* the `sap.m.OverflowToolbar` overflow area
|
|
107605
|
+
*
|
|
107606
|
+
* **Note**: Have in mind that the `renderMode` property is used internally by the OverflowToolbarTokenizer
|
|
107607
|
+
* and controls that use the OverflowToolbarTokenizer. Therefore, modifying this property may alter the
|
|
107608
|
+
* expected behavior of the control.
|
|
107609
|
+
*
|
|
107610
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
107611
|
+
*
|
|
107612
|
+
* Default value is `RenderMode.Narrow`.
|
|
107613
|
+
*
|
|
107614
|
+
*
|
|
107615
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
107616
|
+
*/
|
|
107617
|
+
setRenderMode(
|
|
107618
|
+
/**
|
|
107619
|
+
* New value for property `renderMode`
|
|
107620
|
+
*/
|
|
107621
|
+
sRenderMode?: string
|
|
107622
|
+
): this;
|
|
107623
|
+
}
|
|
107242
107624
|
/**
|
|
107243
107625
|
* Type for `columnsItems` aggregation in `P13nColumnsPanel` control.
|
|
107244
107626
|
*
|
|
@@ -117680,17 +118062,27 @@ declare namespace sap {
|
|
|
117680
118062
|
sAppointmentRoundWidth?: sap.ui.unified.CalendarAppointmentRoundWidth
|
|
117681
118063
|
): this;
|
|
117682
118064
|
/**
|
|
117683
|
-
*
|
|
118065
|
+
* Sets a new value for property {@link #getAppointmentsReducedHeight appointmentsReducedHeight}.
|
|
118066
|
+
*
|
|
118067
|
+
* Determines whether the appointments that have only title without text are rendered with smaller height.
|
|
118068
|
+
*
|
|
118069
|
+
* **Note:** On phone devices this property is ignored, appointments are always rendered in full height
|
|
118070
|
+
* to facilitate touching.
|
|
118071
|
+
*
|
|
118072
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
118073
|
+
*
|
|
118074
|
+
* Default value is `false`.
|
|
117684
118075
|
*
|
|
118076
|
+
* @since 1.38.0
|
|
117685
118077
|
* @deprecated As of version 1.119. Please use the `appointmentHeight` with value "Automatic" property instead.
|
|
117686
118078
|
*
|
|
117687
|
-
* @returns Reference to `this`
|
|
118079
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
117688
118080
|
*/
|
|
117689
118081
|
setAppointmentsReducedHeight(
|
|
117690
118082
|
/**
|
|
117691
|
-
*
|
|
118083
|
+
* New value for property `appointmentsReducedHeight`
|
|
117692
118084
|
*/
|
|
117693
|
-
bAppointmentsReducedHeight
|
|
118085
|
+
bAppointmentsReducedHeight?: boolean
|
|
117694
118086
|
): this;
|
|
117695
118087
|
/**
|
|
117696
118088
|
* Sets a new value for property {@link #getAppointmentsVisualization appointmentsVisualization}.
|
|
@@ -117940,26 +118332,39 @@ declare namespace sap {
|
|
|
117940
118332
|
sNoDataText?: string
|
|
117941
118333
|
): this;
|
|
117942
118334
|
/**
|
|
117943
|
-
* Sets
|
|
118335
|
+
* Sets a new value for property {@link #getPrimaryCalendarType primaryCalendarType}.
|
|
117944
118336
|
*
|
|
118337
|
+
* If set, the calendar type is used for display. If not set, the calendar type of the global configuration
|
|
118338
|
+
* is used.
|
|
117945
118339
|
*
|
|
117946
|
-
*
|
|
118340
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
118341
|
+
*
|
|
118342
|
+
* @since 1.108.0
|
|
118343
|
+
*
|
|
118344
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
117947
118345
|
*/
|
|
117948
118346
|
setPrimaryCalendarType(
|
|
117949
118347
|
/**
|
|
117950
|
-
*
|
|
118348
|
+
* New value for property `primaryCalendarType`
|
|
117951
118349
|
*/
|
|
117952
118350
|
sPrimaryCalendarType: import("sap/base/i18n/date/CalendarType").default
|
|
117953
118351
|
): this;
|
|
117954
118352
|
/**
|
|
117955
|
-
* Sets
|
|
118353
|
+
* Sets a new value for property {@link #getSecondaryCalendarType secondaryCalendarType}.
|
|
117956
118354
|
*
|
|
118355
|
+
* If set, the days are also represented in this calendar type. If not set, the dates are only represented
|
|
118356
|
+
* in the primary calendar type. Note: The second calendar type won't be represented in the DOM when this
|
|
118357
|
+
* property is not set explicitly.
|
|
117957
118358
|
*
|
|
117958
|
-
*
|
|
118359
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
118360
|
+
*
|
|
118361
|
+
* @since 1.109.0
|
|
118362
|
+
*
|
|
118363
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
117959
118364
|
*/
|
|
117960
118365
|
setSecondaryCalendarType(
|
|
117961
118366
|
/**
|
|
117962
|
-
*
|
|
118367
|
+
* New value for property `secondaryCalendarType`
|
|
117963
118368
|
*/
|
|
117964
118369
|
sSecondaryCalendarType: import("sap/base/i18n/date/CalendarType").default
|
|
117965
118370
|
): this;
|
|
@@ -118100,16 +118505,42 @@ declare namespace sap {
|
|
|
118100
118505
|
oDate: Date
|
|
118101
118506
|
): this;
|
|
118102
118507
|
/**
|
|
118103
|
-
* Sets
|
|
118508
|
+
* Sets a new value for property {@link #getStickyHeader stickyHeader}.
|
|
118104
118509
|
*
|
|
118510
|
+
* Determines whether the header area will remain visible (fixed on top) when the rest of the content is
|
|
118511
|
+
* scrolled out of view.
|
|
118105
118512
|
*
|
|
118106
|
-
*
|
|
118513
|
+
* The sticky header behavior is automatically disabled on phones in landscape mode for better visibility
|
|
118514
|
+
* of the content.
|
|
118515
|
+
*
|
|
118516
|
+
* **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
|
|
118517
|
+
* support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
|
|
118518
|
+
*
|
|
118519
|
+
* There are also some known issues with respect to the scrolling behavior and focus handling. A few are
|
|
118520
|
+
* given below:
|
|
118521
|
+
*
|
|
118522
|
+
* When the PlanningCalendar is placed in certain layout containers, for example the `GridLayout` control,
|
|
118523
|
+
* the column headers do not fix at the top of the viewport. Similar behavior is also observed with the
|
|
118524
|
+
* `ObjectPage` control.
|
|
118525
|
+
*
|
|
118526
|
+
* This API should not be used in production environment.
|
|
118527
|
+
*
|
|
118528
|
+
* **Note:** The `stickyHeader` of the `PlanningCalendar` uses the `sticky` property of `sap.m.Table`. Therefore,
|
|
118529
|
+
* all features and restrictions of the property in `sap.m.Table` apply to the `PlanningCalendar` as well.
|
|
118530
|
+
*
|
|
118531
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
118532
|
+
*
|
|
118533
|
+
* Default value is `false`.
|
|
118534
|
+
*
|
|
118535
|
+
* @since 1.54
|
|
118536
|
+
*
|
|
118537
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
118107
118538
|
*/
|
|
118108
118539
|
setStickyHeader(
|
|
118109
118540
|
/**
|
|
118110
|
-
*
|
|
118541
|
+
* New value for property `stickyHeader`
|
|
118111
118542
|
*/
|
|
118112
|
-
|
|
118543
|
+
bStickyHeader?: boolean
|
|
118113
118544
|
): this;
|
|
118114
118545
|
/**
|
|
118115
118546
|
* Sets a new value for property {@link #getViewKey viewKey}.
|
|
@@ -118133,16 +118564,20 @@ declare namespace sap {
|
|
|
118133
118564
|
sViewKey?: string
|
|
118134
118565
|
): this;
|
|
118135
118566
|
/**
|
|
118136
|
-
* Sets
|
|
118567
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
118137
118568
|
*
|
|
118569
|
+
* Specifies the width of the `PlanningCalendar`.
|
|
118570
|
+
*
|
|
118571
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
118138
118572
|
*
|
|
118139
|
-
*
|
|
118573
|
+
*
|
|
118574
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
118140
118575
|
*/
|
|
118141
118576
|
setWidth(
|
|
118142
118577
|
/**
|
|
118143
|
-
*
|
|
118578
|
+
* New value for property `width`
|
|
118144
118579
|
*/
|
|
118145
|
-
sWidth
|
|
118580
|
+
sWidth?: sap.ui.core.CSSSize
|
|
118146
118581
|
): this;
|
|
118147
118582
|
}
|
|
118148
118583
|
/**
|
|
@@ -166442,6 +166877,30 @@ declare namespace sap {
|
|
|
166442
166877
|
*/
|
|
166443
166878
|
NeverOverflow = "NeverOverflow",
|
|
166444
166879
|
}
|
|
166880
|
+
/**
|
|
166881
|
+
* Types of `sap.m.OverflowToolbarTokenizerRenderMode` responsive modes
|
|
166882
|
+
*
|
|
166883
|
+
* This enum is part of the 'sap/m/library' module export and must be accessed by the property 'OverflowToolbarTokenizerRenderMode'.
|
|
166884
|
+
*
|
|
166885
|
+
* @since 1.139
|
|
166886
|
+
*/
|
|
166887
|
+
enum OverflowToolbarTokenizerRenderMode {
|
|
166888
|
+
/**
|
|
166889
|
+
* In `Loose` mode, `sap.m.OverflowToolbarTokenizer` shows all its tokens, even if it requires scrolling.
|
|
166890
|
+
*/
|
|
166891
|
+
Loose = "Loose",
|
|
166892
|
+
/**
|
|
166893
|
+
* In `Narrow` mode, `sap.m.OverflowToolbarTokenizer` shows as many tokens as its width allows and an n-More
|
|
166894
|
+
* indicator with the count of the hidden tokens. The rest of the tokens remain hidden.
|
|
166895
|
+
*/
|
|
166896
|
+
Narrow = "Narrow",
|
|
166897
|
+
/**
|
|
166898
|
+
* In `Overflow` mode, `sap.m.OverflowToolbarTokenizer` shows only a `sap.m.Button` as an n-More indicator
|
|
166899
|
+
* without visible tokens. This mode is used when `sap.m.OverflowToolbarTokenizer` is within the `sap.m.OverflowToolbar`
|
|
166900
|
+
* overflow area.
|
|
166901
|
+
*/
|
|
166902
|
+
Overflow = "Overflow",
|
|
166903
|
+
}
|
|
166445
166904
|
/**
|
|
166446
166905
|
* undefined
|
|
166447
166906
|
*
|
|
@@ -171005,6 +171464,8 @@ declare namespace sap {
|
|
|
171005
171464
|
|
|
171006
171465
|
"sap/m/OverflowToolbarToggleButton": undefined;
|
|
171007
171466
|
|
|
171467
|
+
"sap/m/OverflowToolbarTokenizer": undefined;
|
|
171468
|
+
|
|
171008
171469
|
"sap/m/p13n/AbstractContainer": undefined;
|
|
171009
171470
|
|
|
171010
171471
|
"sap/m/p13n/AbstractContainerItem": undefined;
|
package/types/sap.tnt.d.ts
CHANGED